MARIJuANA
— DIOS — NO — CREA — NADA — EN — VANO —
Linux instance-20230208-1745 6.8.0-1013-oracle #13~22.04.1-Ubuntu SMP Mon Sep 2 13:02:56 UTC 2024 x86_64
  SOFT : Apache/2.4.52 (Ubuntu) PHP : 8.1.2-1ubuntu2.19
/var/www/guajeru/html/painel/
10.0.0.135

 
[ NAME ] [ SIZE ] [ PERM ] [ DATE ] [ ACT ]
+FILE +DIR
assets dir drwxr-xr-x 2023-03-06 15:28 R D
1.62534cafb686d8ddfd72.js 749.671 KB -rw-r--r-- 2023-03-06 15:31 R E G D
1.960a9ce38facf3ebf6d7.js 749.671 KB -rw-rw-r-- 2023-03-06 17:40 R E G D
1.a08e66d1a5603bc34b53.js 750.417 KB -rw-rw-r-- 2024-01-10 12:11 R E G D
1.da415ece6de33d508cd9.js 711.983 KB -rw-r--r-- 2023-03-06 15:31 R E G D
3rdpartylicenses.txt 98.439 KB -rw-r--r-- 2024-01-10 12:11 R E G D
6.155aa9116f18b1baa246.js 1.23 MB -rw-rw-r-- 2023-09-21 11:54 R E G D
6.19d4f0e38116ec2d129e.js 1.22 MB -rw-rw-r-- 2023-08-01 11:37 R E G D
6.1dea7f42521d333d0a25.js 974.732 KB -rw-r--r-- 2023-03-06 15:31 R E G D
6.379ae3d08b879443064c.js 1.23 MB -rw-rw-r-- 2023-08-08 22:03 R E G D
6.3d9aa3c9fc8800e31a5a.js 1.17 MB -rw-rw-r-- 2023-05-05 12:35 R E G D
6.4ecc806ba60b8dd07350.js 974.728 KB -rw-r--r-- 2023-03-06 15:31 R E G D
6.71716e05c604a2549f63.js 1.23 MB -rw-rw-r-- 2023-08-07 17:11 R E G D
6.812cf41ba13997856159.js 1.23 MB -rw-rw-r-- 2023-09-29 09:33 R E G D
6.82a69a93b894b5fde741.js 966.603 KB -rw-r--r-- 2023-03-06 15:31 R E G D
6.8a051bb41714259f2f38.js 1.23 MB -rw-rw-r-- 2023-10-13 09:14 R E G D
6.8c47bec977c1749acd7f.js 1.19 MB -rw-rw-r-- 2023-05-29 16:25 R E G D
6.981fcb158428fe44dc1b.js 1.23 MB -rw-rw-r-- 2024-01-10 12:11 R E G D
6.a05a47894e3fc123a673.js 1.23 MB -rw-rw-r-- 2023-09-22 10:50 R E G D
6.a25684d147475fe6bd51.js 1.17 MB -rw-rw-r-- 2023-04-01 13:06 R E G D
6.b5168e518fbcaa4e6c6c.js 1.2 MB -rw-rw-r-- 2023-06-02 17:13 R E G D
6.d52f4386cc1cb8e8edff.js 976.789 KB -rw-rw-r-- 2023-03-06 17:40 R E G D
6.db4a4ecce23df16a8ab8.js 1.22 MB -rw-rw-r-- 2023-06-30 09:28 R E G D
6.dc2e24e52564ff6e8e17.js 1.23 MB -rw-rw-r-- 2023-08-22 15:19 R E G D
7.26beda7f142c0ff7afb5.js 764.825 KB -rw-rw-r-- 2023-05-30 16:20 R E G D
7.43637b98d52adefcc02d.js 785.189 KB -rw-rw-r-- 2023-07-17 12:13 R E G D
7.8f49b6d2dc17e2646ec2.js 764.825 KB -rw-rw-r-- 2023-05-05 12:35 R E G D
7.93660639dc5aa2bd0615.js 242.002 KB -rw-r--r-- 2023-03-06 15:31 R E G D
7.96cfd267659b2c3603fe.js 786.354 KB -rw-rw-r-- 2023-09-29 09:33 R E G D
7.9cea2a8587531319528b.js 800.521 KB -rw-rw-r-- 2023-10-13 09:14 R E G D
7.a7af2e8037ab94053d91.js 764.855 KB -rw-rw-r-- 2023-06-30 09:28 R E G D
7.bcfd6e0985966b30579c.js 800.521 KB -rw-rw-r-- 2024-01-10 12:11 R E G D
7.c742340df49b2b6bdf6c.js 192.382 KB -rw-r--r-- 2023-03-06 15:31 R E G D
7.ce024134a20ecdad0674.js 192.373 KB -rw-r--r-- 2023-03-06 15:31 R E G D
7.e39860336fdc8fab7e98.js 346.035 KB -rw-rw-r-- 2023-04-01 13:06 R E G D
7.eb1bce936795c0aff076.js 800.521 KB -rw-rw-r-- 2023-10-11 17:19 R E G D
7.ec34f097b5c457c2a39f.js 247.285 KB -rw-rw-r-- 2023-03-06 17:40 R E G D
7.f6aca4e7be3808435d76.js 241.976 KB -rw-r--r-- 2023-03-06 15:31 R E G D
default~layouts-admin-layout-admin-layout-module~transparencia-transparencia-module.js 111.742 KB -rw-rw-r-- 2023-08-07 16:40 R E G D
default~layouts-admin-layout-admin-layout-module~transparencia-transparencia-module.js.map 114.702 KB -rw-rw-r-- 2023-08-07 16:40 R E G D
favicon.ico 5.303 KB -rw-r--r-- 2024-01-10 12:11 R E G D
image.f11dbc75e7a09fc85e41.png 840.703 KB -rw-r--r-- 2024-01-10 12:11 R E G D
image.png 840.703 KB -rw-rw-r-- 2023-08-07 16:40 R E G D
index.html 2.569 KB -rw-r--r-- 2024-01-10 12:11 R E G D
layouts-admin-layout-admin-layout-module.js 878.396 KB -rw-rw-r-- 2023-08-07 16:40 R E G D
layouts-admin-layout-admin-layout-module.js.map 876.072 KB -rw-rw-r-- 2023-08-07 16:40 R E G D
main.07b55195782607387f4c.js 1.39 MB -rw-rw-r-- 2023-06-29 18:26 R E G D
main.18acfcaeb22d55a4c981.js 1.39 MB -rw-rw-r-- 2023-06-30 09:28 R E G D
main.1b71ad0deb07e285d2b0.js 1.38 MB -rw-rw-r-- 2023-04-26 19:19 R E G D
main.20e35dc3e3118ca952ff.js 1.38 MB -rw-rw-r-- 2023-04-01 13:06 R E G D
main.237dba32369a0d71d86d.js 1.12 MB -rw-rw-r-- 2023-03-06 17:40 R E G D
main.4942b2689fb263895f9f.js 1.38 MB -rw-rw-r-- 2023-04-26 19:22 R E G D
main.54cbbdb6803f9d2e3394.js 1.09 MB -rw-r--r-- 2023-03-06 15:31 R E G D
main.5858d96e2ea1de338ff9.js 1.39 MB -rw-rw-r-- 2023-08-01 11:37 R E G D
main.67099eeb8d40adaad454.js 1.55 MB -rw-rw-r-- 2023-10-13 09:14 R E G D
main.6cd5ead1c15cea07104c.js 1.39 MB -rw-rw-r-- 2023-08-22 15:19 R E G D
main.760c28abdec3ac68fe32.js 1.55 MB -rw-rw-r-- 2023-09-28 17:48 R E G D
main.76295aa6d48359d29873.js 1.39 MB -rw-rw-r-- 2023-08-08 11:39 R E G D
main.770c2db25a66c8d0e3c2.js 1.09 MB -rw-r--r-- 2023-03-06 15:31 R E G D
main.78cc47f5dbf63ce06a87.js 1.09 MB -rw-r--r-- 2023-03-06 15:31 R E G D
main.7a2abf4e0084f54fa752.js 1.55 MB -rw-rw-r-- 2023-10-11 19:34 R E G D
main.7e6897ee33b0044becb7.js 1.09 MB -rw-r--r-- 2023-03-06 15:31 R E G D
main.8afe9bc218f1243252b8.js 1.55 MB -rw-rw-r-- 2024-01-10 12:11 R E G D
main.93f3a6e8a49d92fdd60a.js 1.55 MB -rw-rw-r-- 2023-09-29 09:33 R E G D
main.aa8549074e00980a00a5.js 1.39 MB -rw-rw-r-- 2023-05-30 16:20 R E G D
main.b47f8d30a929ec93ccbd.js 1.39 MB -rw-rw-r-- 2023-08-08 22:03 R E G D
main.b9eccda1269072ce96ee.js 1.55 MB -rw-rw-r-- 2023-09-21 11:54 R E G D
main.d9db1193431174a160b2.js 1.39 MB -rw-rw-r-- 2023-08-07 17:11 R E G D
main.ecde60f30fe0b3ec6cd1.js 1.55 MB -rw-rw-r-- 2023-09-22 10:50 R E G D
main.efa1f4392976e158f98a.js 1.39 MB -rw-rw-r-- 2023-06-02 17:13 R E G D
main.f1db7890c01ff8056949.js 1.38 MB -rw-rw-r-- 2023-05-05 12:36 R E G D
main.f442e15663795cc12fd1.js 1.39 MB -rw-rw-r-- 2023-05-29 16:25 R E G D
main.js 834.783 KB -rw-rw-r-- 2023-08-07 16:40 R E G D
main.js.map 836.399 KB -rw-rw-r-- 2023-08-07 16:40 R E G D
polyfills-es5.8b2e24a70255d7d09ae9.js 249.737 KB -rw-rw-r-- 2024-01-10 12:11 R E G D
polyfills-es5.a5ccebd3e224f1a26aa4.js 249.687 KB -rw-r--r-- 2023-03-06 17:40 R E G D
polyfills-es5.js 1.14 MB -rw-rw-r-- 2023-08-07 16:40 R E G D
polyfills-es5.js.map 923.377 KB -rw-rw-r-- 2023-08-07 16:40 R E G D
polyfills.5313c1020e23c54079b9.js 166.701 KB -rw-r--r-- 2023-03-06 17:40 R E G D
polyfills.758faf18f4b2f92959a3.js 166.752 KB -rw-rw-r-- 2024-01-10 12:11 R E G D
polyfills.js 771.544 KB -rw-rw-r-- 2023-08-07 16:40 R E G D
polyfills.js.map 659.782 KB -rw-rw-r-- 2023-08-07 16:40 R E G D
runtime.151a3c4b23b0c096daf1.js 2.285 KB -rw-rw-r-- 2023-08-08 22:03 R E G D
runtime.15e05131a65b255d3df9.js 2.285 KB -rw-rw-r-- 2023-05-05 12:36 R E G D
runtime.178188fe78011ba42f9b.js 2.285 KB -rw-rw-r-- 2023-05-30 16:20 R E G D
runtime.23f05ccd2ce1f082692d.js 2.285 KB -rw-r--r-- 2023-03-06 15:31 R E G D
runtime.3f28dd4d986fb23ece9f.js 2.285 KB -rw-r--r-- 2023-03-06 15:31 R E G D
runtime.4bd5d0e8f4d5f0b2b272.js 2.285 KB -rw-rw-r-- 2023-08-22 15:19 R E G D
runtime.53754ade5d5becf66cf5.js 2.285 KB -rw-rw-r-- 2023-10-13 09:14 R E G D
runtime.57bbe346a9d65e0c2f14.js 2.285 KB -rw-rw-r-- 2023-09-29 09:33 R E G D
runtime.57ef4f080e8e2fda1271.js 2.285 KB -rw-rw-r-- 2023-09-21 11:54 R E G D
runtime.65f6d889b4125d11e195.js 2.285 KB -rw-r--r-- 2023-03-06 15:31 R E G D
runtime.6cb91b461276034e9ea6.js 2.285 KB -rw-rw-r-- 2023-04-01 13:06 R E G D
runtime.70f22bd855c32894a6c6.js 2.285 KB -rw-rw-r-- 2023-08-01 11:37 R E G D
runtime.7132456d1f7c1ea39d77.js 2.285 KB -rw-rw-r-- 2023-09-22 10:50 R E G D
runtime.8ac46e5dc50497425539.js 2.285 KB -rw-rw-r-- 2023-06-30 09:28 R E G D
runtime.8d7c1b24ff1115e9fd0f.js 2.285 KB -rw-rw-r-- 2023-06-02 17:13 R E G D
runtime.a06761ccf6ce754846f3.js 2.285 KB -rw-rw-r-- 2023-10-11 17:19 R E G D
runtime.a9f0b2f2ede4fefd71ef.js 2.285 KB -rw-rw-r-- 2023-08-07 17:11 R E G D
runtime.b3f34b77cba4c7ec3932.js 2.285 KB -rw-rw-r-- 2023-05-29 16:25 R E G D
runtime.ba0fa7b20ebf7b975c55.js 2.285 KB -rw-rw-r-- 2023-03-06 17:40 R E G D
runtime.ce5ac1751e0cfe116066.js 2.285 KB -rw-r--r-- 2023-03-06 15:31 R E G D
runtime.f90750ebfe17fdc0596d.js 2.285 KB -rw-rw-r-- 2023-07-17 12:13 R E G D
runtime.fa85bde788eede5d1a54.js 2.285 KB -rw-rw-r-- 2024-01-10 12:11 R E G D
runtime.js 9.29 KB -rw-rw-r-- 2023-08-07 16:40 R E G D
runtime.js.map 9.423 KB -rw-rw-r-- 2023-08-07 16:40 R E G D
scripts.23c891176a6fdb868027.js 302.444 KB -rw-r--r-- 2024-01-10 12:11 R E G D
scripts.js 805.319 KB -rw-rw-r-- 2023-08-07 16:40 R E G D
scripts.js.map 986.763 KB -rw-rw-r-- 2023-08-07 16:40 R E G D
styles.4093d4faa194d286a583.css 659.542 KB -rw-rw-r-- 2023-10-13 09:14 R E G D
styles.88803303827e21610fd2.css 659.613 KB -rw-rw-r-- 2024-01-10 12:11 R E G D
styles.959b2475488bbcef438b.css 659.451 KB -rw-rw-r-- 2023-09-29 09:33 R E G D
styles.bdcf43b971e8a82cc0ab.css 659.436 KB -rw-rw-r-- 2023-05-05 12:36 R E G D
styles.dec7bcab41b9e90bf0ad.css 659.258 KB -rw-r--r-- 2023-03-06 15:31 R E G D
styles.f32803e083c13c4d76d3.css 659.242 KB -rw-r--r-- 2023-03-06 15:31 R E G D
styles.js 3.77 MB -rw-rw-r-- 2023-08-07 16:40 R E G D
styles.js.map 3.92 MB -rw-rw-r-- 2023-08-07 16:40 R E G D
transparencia-transparencia-module.js 1.43 MB -rw-rw-r-- 2023-08-07 16:40 R E G D
transparencia-transparencia-module.js.map 1.66 MB -rw-rw-r-- 2023-08-07 16:40 R E G D
vendor.js 10.27 MB -rw-rw-r-- 2023-08-07 16:40 R E G D
vendor.js.map 10.04 MB -rw-rw-r-- 2023-08-07 16:40 R E G D
REQUEST EXIT
(window["webpackJsonp"] = window["webpackJsonp"] || []).push([["main"],{ /***/ "./node_modules/moment/locale sync recursive ^\\.\\/.*$": /*!**************************************************!*\ !*** ./node_modules/moment/locale sync ^\.\/.*$ ***! \**************************************************/ /*! no static exports found */ /***/ (function(module, exports, __webpack_require__) { var map = { "./af": "./node_modules/moment/locale/af.js", "./af.js": "./node_modules/moment/locale/af.js", "./ar": "./node_modules/moment/locale/ar.js", "./ar-dz": "./node_modules/moment/locale/ar-dz.js", "./ar-dz.js": "./node_modules/moment/locale/ar-dz.js", "./ar-kw": "./node_modules/moment/locale/ar-kw.js", "./ar-kw.js": "./node_modules/moment/locale/ar-kw.js", "./ar-ly": "./node_modules/moment/locale/ar-ly.js", "./ar-ly.js": "./node_modules/moment/locale/ar-ly.js", "./ar-ma": "./node_modules/moment/locale/ar-ma.js", "./ar-ma.js": "./node_modules/moment/locale/ar-ma.js", "./ar-sa": "./node_modules/moment/locale/ar-sa.js", "./ar-sa.js": "./node_modules/moment/locale/ar-sa.js", "./ar-tn": "./node_modules/moment/locale/ar-tn.js", "./ar-tn.js": "./node_modules/moment/locale/ar-tn.js", "./ar.js": "./node_modules/moment/locale/ar.js", "./az": "./node_modules/moment/locale/az.js", "./az.js": "./node_modules/moment/locale/az.js", "./be": "./node_modules/moment/locale/be.js", "./be.js": "./node_modules/moment/locale/be.js", "./bg": "./node_modules/moment/locale/bg.js", "./bg.js": "./node_modules/moment/locale/bg.js", "./bm": "./node_modules/moment/locale/bm.js", "./bm.js": "./node_modules/moment/locale/bm.js", "./bn": "./node_modules/moment/locale/bn.js", "./bn.js": "./node_modules/moment/locale/bn.js", "./bo": "./node_modules/moment/locale/bo.js", "./bo.js": "./node_modules/moment/locale/bo.js", "./br": "./node_modules/moment/locale/br.js", "./br.js": "./node_modules/moment/locale/br.js", "./bs": "./node_modules/moment/locale/bs.js", "./bs.js": "./node_modules/moment/locale/bs.js", "./ca": "./node_modules/moment/locale/ca.js", "./ca.js": "./node_modules/moment/locale/ca.js", "./cs": "./node_modules/moment/locale/cs.js", "./cs.js": "./node_modules/moment/locale/cs.js", "./cv": "./node_modules/moment/locale/cv.js", "./cv.js": "./node_modules/moment/locale/cv.js", "./cy": "./node_modules/moment/locale/cy.js", "./cy.js": "./node_modules/moment/locale/cy.js", "./da": "./node_modules/moment/locale/da.js", "./da.js": "./node_modules/moment/locale/da.js", "./de": "./node_modules/moment/locale/de.js", "./de-at": "./node_modules/moment/locale/de-at.js", "./de-at.js": "./node_modules/moment/locale/de-at.js", "./de-ch": "./node_modules/moment/locale/de-ch.js", "./de-ch.js": "./node_modules/moment/locale/de-ch.js", "./de.js": "./node_modules/moment/locale/de.js", "./dv": "./node_modules/moment/locale/dv.js", "./dv.js": "./node_modules/moment/locale/dv.js", "./el": "./node_modules/moment/locale/el.js", "./el.js": "./node_modules/moment/locale/el.js", "./en-SG": "./node_modules/moment/locale/en-SG.js", "./en-SG.js": "./node_modules/moment/locale/en-SG.js", "./en-au": "./node_modules/moment/locale/en-au.js", "./en-au.js": "./node_modules/moment/locale/en-au.js", "./en-ca": "./node_modules/moment/locale/en-ca.js", "./en-ca.js": "./node_modules/moment/locale/en-ca.js", "./en-gb": "./node_modules/moment/locale/en-gb.js", "./en-gb.js": "./node_modules/moment/locale/en-gb.js", "./en-ie": "./node_modules/moment/locale/en-ie.js", "./en-ie.js": "./node_modules/moment/locale/en-ie.js", "./en-il": "./node_modules/moment/locale/en-il.js", "./en-il.js": "./node_modules/moment/locale/en-il.js", "./en-nz": "./node_modules/moment/locale/en-nz.js", "./en-nz.js": "./node_modules/moment/locale/en-nz.js", "./eo": "./node_modules/moment/locale/eo.js", "./eo.js": "./node_modules/moment/locale/eo.js", "./es": "./node_modules/moment/locale/es.js", "./es-do": "./node_modules/moment/locale/es-do.js", "./es-do.js": "./node_modules/moment/locale/es-do.js", "./es-us": "./node_modules/moment/locale/es-us.js", "./es-us.js": "./node_modules/moment/locale/es-us.js", "./es.js": "./node_modules/moment/locale/es.js", "./et": "./node_modules/moment/locale/et.js", "./et.js": "./node_modules/moment/locale/et.js", "./eu": "./node_modules/moment/locale/eu.js", "./eu.js": "./node_modules/moment/locale/eu.js", "./fa": "./node_modules/moment/locale/fa.js", "./fa.js": "./node_modules/moment/locale/fa.js", "./fi": "./node_modules/moment/locale/fi.js", "./fi.js": "./node_modules/moment/locale/fi.js", "./fo": "./node_modules/moment/locale/fo.js", "./fo.js": "./node_modules/moment/locale/fo.js", "./fr": "./node_modules/moment/locale/fr.js", "./fr-ca": "./node_modules/moment/locale/fr-ca.js", "./fr-ca.js": "./node_modules/moment/locale/fr-ca.js", "./fr-ch": "./node_modules/moment/locale/fr-ch.js", "./fr-ch.js": "./node_modules/moment/locale/fr-ch.js", "./fr.js": "./node_modules/moment/locale/fr.js", "./fy": "./node_modules/moment/locale/fy.js", "./fy.js": "./node_modules/moment/locale/fy.js", "./ga": "./node_modules/moment/locale/ga.js", "./ga.js": "./node_modules/moment/locale/ga.js", "./gd": "./node_modules/moment/locale/gd.js", "./gd.js": "./node_modules/moment/locale/gd.js", "./gl": "./node_modules/moment/locale/gl.js", "./gl.js": "./node_modules/moment/locale/gl.js", "./gom-latn": "./node_modules/moment/locale/gom-latn.js", "./gom-latn.js": "./node_modules/moment/locale/gom-latn.js", "./gu": "./node_modules/moment/locale/gu.js", "./gu.js": "./node_modules/moment/locale/gu.js", "./he": "./node_modules/moment/locale/he.js", "./he.js": "./node_modules/moment/locale/he.js", "./hi": "./node_modules/moment/locale/hi.js", "./hi.js": "./node_modules/moment/locale/hi.js", "./hr": "./node_modules/moment/locale/hr.js", "./hr.js": "./node_modules/moment/locale/hr.js", "./hu": "./node_modules/moment/locale/hu.js", "./hu.js": "./node_modules/moment/locale/hu.js", "./hy-am": "./node_modules/moment/locale/hy-am.js", "./hy-am.js": "./node_modules/moment/locale/hy-am.js", "./id": "./node_modules/moment/locale/id.js", "./id.js": "./node_modules/moment/locale/id.js", "./is": "./node_modules/moment/locale/is.js", "./is.js": "./node_modules/moment/locale/is.js", "./it": "./node_modules/moment/locale/it.js", "./it-ch": "./node_modules/moment/locale/it-ch.js", "./it-ch.js": "./node_modules/moment/locale/it-ch.js", "./it.js": "./node_modules/moment/locale/it.js", "./ja": "./node_modules/moment/locale/ja.js", "./ja.js": "./node_modules/moment/locale/ja.js", "./jv": "./node_modules/moment/locale/jv.js", "./jv.js": "./node_modules/moment/locale/jv.js", "./ka": "./node_modules/moment/locale/ka.js", "./ka.js": "./node_modules/moment/locale/ka.js", "./kk": "./node_modules/moment/locale/kk.js", "./kk.js": "./node_modules/moment/locale/kk.js", "./km": "./node_modules/moment/locale/km.js", "./km.js": "./node_modules/moment/locale/km.js", "./kn": "./node_modules/moment/locale/kn.js", "./kn.js": "./node_modules/moment/locale/kn.js", "./ko": "./node_modules/moment/locale/ko.js", "./ko.js": "./node_modules/moment/locale/ko.js", "./ku": "./node_modules/moment/locale/ku.js", "./ku.js": "./node_modules/moment/locale/ku.js", "./ky": "./node_modules/moment/locale/ky.js", "./ky.js": "./node_modules/moment/locale/ky.js", "./lb": "./node_modules/moment/locale/lb.js", "./lb.js": "./node_modules/moment/locale/lb.js", "./lo": "./node_modules/moment/locale/lo.js", "./lo.js": "./node_modules/moment/locale/lo.js", "./lt": "./node_modules/moment/locale/lt.js", "./lt.js": "./node_modules/moment/locale/lt.js", "./lv": "./node_modules/moment/locale/lv.js", "./lv.js": "./node_modules/moment/locale/lv.js", "./me": "./node_modules/moment/locale/me.js", "./me.js": "./node_modules/moment/locale/me.js", "./mi": "./node_modules/moment/locale/mi.js", "./mi.js": "./node_modules/moment/locale/mi.js", "./mk": "./node_modules/moment/locale/mk.js", "./mk.js": "./node_modules/moment/locale/mk.js", "./ml": "./node_modules/moment/locale/ml.js", "./ml.js": "./node_modules/moment/locale/ml.js", "./mn": "./node_modules/moment/locale/mn.js", "./mn.js": "./node_modules/moment/locale/mn.js", "./mr": "./node_modules/moment/locale/mr.js", "./mr.js": "./node_modules/moment/locale/mr.js", "./ms": "./node_modules/moment/locale/ms.js", "./ms-my": "./node_modules/moment/locale/ms-my.js", "./ms-my.js": "./node_modules/moment/locale/ms-my.js", "./ms.js": "./node_modules/moment/locale/ms.js", "./mt": "./node_modules/moment/locale/mt.js", "./mt.js": "./node_modules/moment/locale/mt.js", "./my": "./node_modules/moment/locale/my.js", "./my.js": "./node_modules/moment/locale/my.js", "./nb": "./node_modules/moment/locale/nb.js", "./nb.js": "./node_modules/moment/locale/nb.js", "./ne": "./node_modules/moment/locale/ne.js", "./ne.js": "./node_modules/moment/locale/ne.js", "./nl": "./node_modules/moment/locale/nl.js", "./nl-be": "./node_modules/moment/locale/nl-be.js", "./nl-be.js": "./node_modules/moment/locale/nl-be.js", "./nl.js": "./node_modules/moment/locale/nl.js", "./nn": "./node_modules/moment/locale/nn.js", "./nn.js": "./node_modules/moment/locale/nn.js", "./pa-in": "./node_modules/moment/locale/pa-in.js", "./pa-in.js": "./node_modules/moment/locale/pa-in.js", "./pl": "./node_modules/moment/locale/pl.js", "./pl.js": "./node_modules/moment/locale/pl.js", "./pt": "./node_modules/moment/locale/pt.js", "./pt-br": "./node_modules/moment/locale/pt-br.js", "./pt-br.js": "./node_modules/moment/locale/pt-br.js", "./pt.js": "./node_modules/moment/locale/pt.js", "./ro": "./node_modules/moment/locale/ro.js", "./ro.js": "./node_modules/moment/locale/ro.js", "./ru": "./node_modules/moment/locale/ru.js", "./ru.js": "./node_modules/moment/locale/ru.js", "./sd": "./node_modules/moment/locale/sd.js", "./sd.js": "./node_modules/moment/locale/sd.js", "./se": "./node_modules/moment/locale/se.js", "./se.js": "./node_modules/moment/locale/se.js", "./si": "./node_modules/moment/locale/si.js", "./si.js": "./node_modules/moment/locale/si.js", "./sk": "./node_modules/moment/locale/sk.js", "./sk.js": "./node_modules/moment/locale/sk.js", "./sl": "./node_modules/moment/locale/sl.js", "./sl.js": "./node_modules/moment/locale/sl.js", "./sq": "./node_modules/moment/locale/sq.js", "./sq.js": "./node_modules/moment/locale/sq.js", "./sr": "./node_modules/moment/locale/sr.js", "./sr-cyrl": "./node_modules/moment/locale/sr-cyrl.js", "./sr-cyrl.js": "./node_modules/moment/locale/sr-cyrl.js", "./sr.js": "./node_modules/moment/locale/sr.js", "./ss": "./node_modules/moment/locale/ss.js", "./ss.js": "./node_modules/moment/locale/ss.js", "./sv": "./node_modules/moment/locale/sv.js", "./sv.js": "./node_modules/moment/locale/sv.js", "./sw": "./node_modules/moment/locale/sw.js", "./sw.js": "./node_modules/moment/locale/sw.js", "./ta": "./node_modules/moment/locale/ta.js", "./ta.js": "./node_modules/moment/locale/ta.js", "./te": "./node_modules/moment/locale/te.js", "./te.js": "./node_modules/moment/locale/te.js", "./tet": "./node_modules/moment/locale/tet.js", "./tet.js": "./node_modules/moment/locale/tet.js", "./tg": "./node_modules/moment/locale/tg.js", "./tg.js": "./node_modules/moment/locale/tg.js", "./th": "./node_modules/moment/locale/th.js", "./th.js": "./node_modules/moment/locale/th.js", "./tl-ph": "./node_modules/moment/locale/tl-ph.js", "./tl-ph.js": "./node_modules/moment/locale/tl-ph.js", "./tlh": "./node_modules/moment/locale/tlh.js", "./tlh.js": "./node_modules/moment/locale/tlh.js", "./tr": "./node_modules/moment/locale/tr.js", "./tr.js": "./node_modules/moment/locale/tr.js", "./tzl": "./node_modules/moment/locale/tzl.js", "./tzl.js": "./node_modules/moment/locale/tzl.js", "./tzm": "./node_modules/moment/locale/tzm.js", "./tzm-latn": "./node_modules/moment/locale/tzm-latn.js", "./tzm-latn.js": "./node_modules/moment/locale/tzm-latn.js", "./tzm.js": "./node_modules/moment/locale/tzm.js", "./ug-cn": "./node_modules/moment/locale/ug-cn.js", "./ug-cn.js": "./node_modules/moment/locale/ug-cn.js", "./uk": "./node_modules/moment/locale/uk.js", "./uk.js": "./node_modules/moment/locale/uk.js", "./ur": "./node_modules/moment/locale/ur.js", "./ur.js": "./node_modules/moment/locale/ur.js", "./uz": "./node_modules/moment/locale/uz.js", "./uz-latn": "./node_modules/moment/locale/uz-latn.js", "./uz-latn.js": "./node_modules/moment/locale/uz-latn.js", "./uz.js": "./node_modules/moment/locale/uz.js", "./vi": "./node_modules/moment/locale/vi.js", "./vi.js": "./node_modules/moment/locale/vi.js", "./x-pseudo": "./node_modules/moment/locale/x-pseudo.js", "./x-pseudo.js": "./node_modules/moment/locale/x-pseudo.js", "./yo": "./node_modules/moment/locale/yo.js", "./yo.js": "./node_modules/moment/locale/yo.js", "./zh-cn": "./node_modules/moment/locale/zh-cn.js", "./zh-cn.js": "./node_modules/moment/locale/zh-cn.js", "./zh-hk": "./node_modules/moment/locale/zh-hk.js", "./zh-hk.js": "./node_modules/moment/locale/zh-hk.js", "./zh-tw": "./node_modules/moment/locale/zh-tw.js", "./zh-tw.js": "./node_modules/moment/locale/zh-tw.js" }; function webpackContext(req) { var id = webpackContextResolve(req); return __webpack_require__(id); } function webpackContextResolve(req) { if(!__webpack_require__.o(map, req)) { var e = new Error("Cannot find module '" + req + "'"); e.code = 'MODULE_NOT_FOUND'; throw e; } return map[req]; } webpackContext.keys = function webpackContextKeys() { return Object.keys(map); }; webpackContext.resolve = webpackContextResolve; module.exports = webpackContext; webpackContext.id = "./node_modules/moment/locale sync recursive ^\\.\\/.*$"; /***/ }), /***/ "./node_modules/raw-loader/dist/cjs.js!./src/app/agenda/agenda.component.html": /*!************************************************************************************!*\ !*** ./node_modules/raw-loader/dist/cjs.js!./src/app/agenda/agenda.component.html ***! \************************************************************************************/ /*! exports provided: default */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony default export */ __webpack_exports__["default"] = ("
\r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n \r\n
\r\n \r\n \r\n \r\n
\r\n
\r\n
\r\n
\r\n

Nenhuma agenda cadastrada

\r\n 0\">\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n
\r\n #\r\n \r\n Titulo\r\n \r\n \r\n \r\n \r\n
\r\n {{p.id_agenda}}\r\n \r\n {{p.titulo}}\r\n \r\n \r\n \r\n
\r\n \r\n
\r\n Alterar dados\r\n Apagar\r\n
\r\n
\r\n
\r\n limit\" [maxSize]=\"5\" [boundaryLinks]=\"true\" class=\"d-flex justify-content-center\" (pageChange)=\"onPageChange($event)\"\r\n \r\n [(page)]=\"page\"\r\n [pageSize]=\"limit\"\r\n [collectionSize]=\"total\">\r\n \r\n
\r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n\r\n
\r\n \r\n
\r\n

\r\n Loading...\r\n

\r\n
\r\n
\r\n \r\n
\r\n "); /***/ }), /***/ "./node_modules/raw-loader/dist/cjs.js!./src/app/app.component.html": /*!**************************************************************************!*\ !*** ./node_modules/raw-loader/dist/cjs.js!./src/app/app.component.html ***! \**************************************************************************/ /*! exports provided: default */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony default export */ __webpack_exports__["default"] = ("\r\n\r\n"); /***/ }), /***/ "./node_modules/raw-loader/dist/cjs.js!./src/app/banners/banners.component.html": /*!**************************************************************************************!*\ !*** ./node_modules/raw-loader/dist/cjs.js!./src/app/banners/banners.component.html ***! \**************************************************************************************/ /*! exports provided: default */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony default export */ __webpack_exports__["default"] = ("
\r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n
\r\n
\r\n

Banner Principal

\r\n
\r\n
\r\n \r\n \r\n \r\n
\r\n
\r\n \r\n \r\n \r\n
\r\n
\r\n \r\n \r\n \r\n
\r\n
\r\n

Demais áreas do site

\r\n
\r\n
\r\n \r\n \r\n \r\n
\r\n
\r\n \r\n \r\n \r\n
\r\n
\r\n \r\n \r\n \r\n
\r\n
\r\n \r\n \r\n \r\n
\r\n
\r\n \r\n \r\n \r\n
\r\n
\r\n \r\n \r\n \r\n
\r\n
\r\n \r\n \r\n \r\n
\r\n\r\n
\r\n \r\n \r\n \r\n
\r\n
\r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n\r\n
\r\n \r\n
\r\n

\r\n Loading...\r\n

\r\n
\r\n
\r\n \r\n \r\n
\r\n "); /***/ }), /***/ "./node_modules/raw-loader/dist/cjs.js!./src/app/barras-laterais/barras-laterais.component.html": /*!******************************************************************************************************!*\ !*** ./node_modules/raw-loader/dist/cjs.js!./src/app/barras-laterais/barras-laterais.component.html ***! \******************************************************************************************************/ /*! exports provided: default */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony default export */ __webpack_exports__["default"] = ("
\r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n \r\n
\r\n \r\n
\r\n
\r\n
\r\n
\r\n

Nenhuma barra lateral cadastrada

\r\n 0\">\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n
\r\n #\r\n \r\n Descrição\r\n \r\n \r\n \r\n \r\n
\r\n {{p.id_barra_lateral}}\r\n \r\n {{p.descricao}}\r\n \r\n \r\n \r\n
\r\n \r\n \r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n\r\n
\r\n \r\n
\r\n

\r\n Loading...\r\n

\r\n
\r\n
\r\n \r\n \r\n
\r\n "); /***/ }), /***/ "./node_modules/raw-loader/dist/cjs.js!./src/app/categoriapublicacao/categoriapublicacao.component.html": /*!**************************************************************************************************************!*\ !*** ./node_modules/raw-loader/dist/cjs.js!./src/app/categoriapublicacao/categoriapublicacao.component.html ***! \**************************************************************************************************************/ /*! exports provided: default */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony default export */ __webpack_exports__["default"] = ("
\n
\n
\n
\n \n
\n
\n \n
\n\n\n\n
\n
\n
\n
\n

Nenhuma Categoria de Publicação cadastrada

\n 0\">\n \n \n \n\n \n\n \n \n \n \n \n \n\n \n \n \n \n
\n #\n \n Descrição\n \n Status\n \n\n
\n {{item.id_categoria_publicacao}}\n \n {{item.descricao}}\n \n \n \n
\n \n \n
\n
\n limit\" [maxSize]=\"5\" [boundaryLinks]=\"true\"\n class=\"d-flex justify-content-center\" (pageChange)=\"onPageChange($event)\"\n [(page)]=\"page\" [pageSize]=\"limit\" [collectionSize]=\"total\">\n \n
\n
\n
\n
\n\n
\n
\n
\n\n
\n \n
\n

\n Loading...\n

\n
\n
\n\n \n
"); /***/ }), /***/ "./node_modules/raw-loader/dist/cjs.js!./src/app/categorias/categorias.component.html": /*!********************************************************************************************!*\ !*** ./node_modules/raw-loader/dist/cjs.js!./src/app/categorias/categorias.component.html ***! \********************************************************************************************/ /*! exports provided: default */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony default export */ __webpack_exports__["default"] = ("
\r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n \r\n
\r\n \r\n
\r\n
\r\n
\r\n
\r\n

Nenhuma categoria cadastrada

\r\n 0\">\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n
\r\n #\r\n \r\n Nome\r\n \r\n \r\n \r\n \r\n
\r\n {{p.id_categoria}}\r\n \r\n {{p.nomecategoria}}\r\n \r\n \r\n \r\n
\r\n \r\n
\r\n Alterar dados\r\n Apagar\r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n\r\n
\r\n \r\n
\r\n

\r\n Loading...\r\n

\r\n
\r\n
\r\n \r\n \r\n
\r\n "); /***/ }), /***/ "./node_modules/raw-loader/dist/cjs.js!./src/app/components/footer/footer.component.html": /*!***********************************************************************************************!*\ !*** ./node_modules/raw-loader/dist/cjs.js!./src/app/components/footer/footer.component.html ***! \***********************************************************************************************/ /*! exports provided: default */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony default export */ __webpack_exports__["default"] = ("\r\n"); /***/ }), /***/ "./node_modules/raw-loader/dist/cjs.js!./src/app/components/navbar/navbar.component.html": /*!***********************************************************************************************!*\ !*** ./node_modules/raw-loader/dist/cjs.js!./src/app/components/navbar/navbar.component.html ***! \***********************************************************************************************/ /*! exports provided: default */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony default export */ __webpack_exports__["default"] = ("\r\n\r\n\r\n"); /***/ }), /***/ "./node_modules/raw-loader/dist/cjs.js!./src/app/components/sidebar/sidebar.component.html": /*!*************************************************************************************************!*\ !*** ./node_modules/raw-loader/dist/cjs.js!./src/app/components/sidebar/sidebar.component.html ***! \*************************************************************************************************/ /*! exports provided: default */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony default export */ __webpack_exports__["default"] = ("
\r\n \r\n \r\n \r\n \r\n
\r\n
\r\n
\r\n
\r\n \r\n
\r\n \r\n \r\n
\r\n
\r\n
\r\n \r\n
\r\n \r\n
\r\n"); /***/ }), /***/ "./node_modules/raw-loader/dist/cjs.js!./src/app/configuracoes/configuracoes.component.html": /*!**************************************************************************************************!*\ !*** ./node_modules/raw-loader/dist/cjs.js!./src/app/configuracoes/configuracoes.component.html ***! \**************************************************************************************************/ /*! exports provided: default */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony default export */ __webpack_exports__["default"] = ("
\r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n
\r\n
\r\n \r\n \r\n
\r\n
\r\n \r\n

{{items.entidade}}

\r\n
\r\n
\r\n Email:
\r\n {{items.email}}\r\n
\r\n
\r\n Telefone:
\r\n {{items.telefone}}\r\n
\r\n\r\n
\r\n Mandato:
\r\n {{items.mandato}}\r\n
\r\n
\r\n Endereço:
\r\n {{items.endereco}}\r\n
\r\n \r\n \r\n
\r\n Prefeito:
\r\n {{items.prefeito}}\r\n
\r\n
\r\n Vice Prefeito:
\r\n {{items.viceprefeito}}\r\n
\r\n
\r\n Facebook:
\r\n {{items.link_facebook}}\r\n
\r\n
\r\n Twitter:
\r\n {{items.link_twitter}}\r\n
\r\n
\r\n Google:
\r\n {{items.link_google}}\r\n
\r\n
\r\n Instagram:
\r\n {{items.link_instagram}}\r\n
\r\n \r\n
\r\n Informativo:
\r\n {{items.infopm}}\r\n
\r\n
\r\n \r\n
\r\n\r\n\r\n
\r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n\r\n
\r\n \r\n
\r\n

\r\n Loading...\r\n

\r\n
\r\n
\r\n \r\n \r\n
\r\n "); /***/ }), /***/ "./node_modules/raw-loader/dist/cjs.js!./src/app/contato/contato.component.html": /*!**************************************************************************************!*\ !*** ./node_modules/raw-loader/dist/cjs.js!./src/app/contato/contato.component.html ***! \**************************************************************************************/ /*! exports provided: default */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony default export */ __webpack_exports__["default"] = ("
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n \r\n \r\n \r\n
\r\n
\r\n
\r\n
\r\n

Nenhum item cadastrado

\r\n 0\">\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n
\r\n #\r\n \r\n Nome\r\n \r\n\r\n \r\n \r\n
\r\n {{p.id_recadastramento}}\r\n \r\n {{getNome(p)}}\r\n \r\n \r\n \r\n
\r\n \r\n
\r\n Visualizar\r\n
\r\n
\r\n
\r\n limit\" [maxSize]=\"5\" [boundaryLinks]=\"true\" class=\"d-flex justify-content-center\" (pageChange)=\"onPageChange($event)\"\r\n \r\n [(page)]=\"page\"\r\n [pageSize]=\"limit\"\r\n [collectionSize]=\"total\">\r\n \r\n
\r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n\r\n
\r\n \r\n
\r\n

\r\n Loading...\r\n

\r\n
\r\n
\r\n \r\n \r\n
\r\n "); /***/ }), /***/ "./node_modules/raw-loader/dist/cjs.js!./src/app/covid/covid.component.html": /*!**********************************************************************************!*\ !*** ./node_modules/raw-loader/dist/cjs.js!./src/app/covid/covid.component.html ***! \**********************************************************************************/ /*! exports provided: default */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony default export */ __webpack_exports__["default"] = ("
\r\n
\r\n
\r\n
\r\n
\r\n \r\n
\r\n \r\n \r\n \r\n
\r\n
\r\n
\r\n
\r\n

Nenhuma item cadastrado

\r\n 0\">\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n
\r\n #\r\n \r\n data\r\n \r\n \r\n
\r\n {{p.id_dados_covid}}\r\n \r\n {{dataFormat(p.data) | date: 'dd/MM/yyyy'}}\r\n \r\n
\r\n \r\n
\r\n Alterar dados\r\n Apagar\r\n
\r\n
\r\n
\r\n limit\" [maxSize]=\"5\" [boundaryLinks]=\"true\" class=\"d-flex justify-content-center\" (pageChange)=\"onPageChange($event)\"\r\n \r\n [(page)]=\"page\"\r\n [pageSize]=\"limit\"\r\n [collectionSize]=\"total\">\r\n \r\n
\r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n\r\n
\r\n \r\n
\r\n

\r\n Loading...\r\n

\r\n
\r\n
\r\n \r\n \r\n
\r\n "); /***/ }), /***/ "./node_modules/raw-loader/dist/cjs.js!./src/app/estrutura-organizacional/estrutura-organizacional.component.html": /*!************************************************************************************************************************!*\ !*** ./node_modules/raw-loader/dist/cjs.js!./src/app/estrutura-organizacional/estrutura-organizacional.component.html ***! \************************************************************************************************************************/ /*! exports provided: default */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony default export */ __webpack_exports__["default"] = ("
\r\n
\r\n
\r\n
\r\n \r\n
\r\n

Bem vindo

\r\n \r\n
\r\n
\r\n \r\n \r\n \r\n \r\n \r\n
\r\n
\r\n
\r\n "); /***/ }), /***/ "./node_modules/raw-loader/dist/cjs.js!./src/app/galerias/galerias.component.html": /*!****************************************************************************************!*\ !*** ./node_modules/raw-loader/dist/cjs.js!./src/app/galerias/galerias.component.html ***! \****************************************************************************************/ /*! exports provided: default */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony default export */ __webpack_exports__["default"] = ("
\r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n \r\n
\r\n \r\n \r\n \r\n
\r\n
\r\n
\r\n
\r\n

Nenhuma galeria cadastrada

\r\n 0\">\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n
\r\n #\r\n \r\n Titulo\r\n \r\n \r\n \r\n \r\n
\r\n {{p.id_galeria}}\r\n \r\n {{p.titulo}}\r\n \r\n \r\n \r\n
\r\n \r\n \r\n
\r\n
\r\n limit\" [maxSize]=\"5\" [boundaryLinks]=\"true\" class=\"d-flex justify-content-center\" (pageChange)=\"onPageChange($event)\"\r\n \r\n [(page)]=\"page\"\r\n [pageSize]=\"limit\"\r\n [collectionSize]=\"total\">\r\n \r\n
\r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n\r\n
\r\n \r\n
\r\n

\r\n Loading...\r\n

\r\n
\r\n
\r\n \r\n \r\n
\r\n "); /***/ }), /***/ "./node_modules/raw-loader/dist/cjs.js!./src/app/layouts/admin-layout/admin-layout.component.html": /*!********************************************************************************************************!*\ !*** ./node_modules/raw-loader/dist/cjs.js!./src/app/layouts/admin-layout/admin-layout.component.html ***! \********************************************************************************************************/ /*! exports provided: default */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony default export */ __webpack_exports__["default"] = ("
\r\n
\r\n \r\n
\r\n
\r\n
\r\n \r\n \r\n
\r\n \r\n
\r\n
\r\n \r\n
\r\n\r\n
\r\n
\r\n \r\n
\r\n\r\n
\r\n"); /***/ }), /***/ "./node_modules/raw-loader/dist/cjs.js!./src/app/link-embed/link-embed.component.html": /*!********************************************************************************************!*\ !*** ./node_modules/raw-loader/dist/cjs.js!./src/app/link-embed/link-embed.component.html ***! \********************************************************************************************/ /*! exports provided: default */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony default export */ __webpack_exports__["default"] = ("
\r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n \r\n
\r\n \r\n
\r\n
\r\n
\r\n
\r\n

Nenhum link cadastrado

\r\n 0\">\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n\r\n \r\n \r\n \r\n \r\n \r\n \r\n
\r\n #\r\n \r\n Descrição\r\n \r\n Link gerado\r\n \r\n \r\n
\r\n {{p.id_links}}\r\n \r\n {{p.descricao}}\r\n \r\n {{link_embed1}}{{p.id_links}}\r\n {{link_embed2}}{{p.id_links}}\r\n \r\n
\r\n \r\n
\r\n Alterar dados\r\n Apagar\r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n\r\n
\r\n \r\n
\r\n

\r\n Loading...\r\n

\r\n
\r\n
\r\n \r\n \r\n
\r\n "); /***/ }), /***/ "./node_modules/raw-loader/dist/cjs.js!./src/app/links-uteis/links-uteis.component.html": /*!**********************************************************************************************!*\ !*** ./node_modules/raw-loader/dist/cjs.js!./src/app/links-uteis/links-uteis.component.html ***! \**********************************************************************************************/ /*! exports provided: default */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony default export */ __webpack_exports__["default"] = ("
\r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n \r\n
\r\n \r\n
\r\n
\r\n
\r\n
\r\n

Nenhum link cadastrado

\r\n 0\">\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n
\r\n #\r\n \r\n Nome\r\n \r\n \r\n \r\n \r\n
\r\n {{p.id_links_uteis}}\r\n \r\n {{p.titulo}}\r\n \r\n \r\n \r\n
\r\n \r\n
\r\n Alterar dados\r\n Apagar\r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n\r\n
\r\n \r\n
\r\n

\r\n Loading...\r\n

\r\n
\r\n
\r\n \r\n \r\n
\r\n "); /***/ }), /***/ "./node_modules/raw-loader/dist/cjs.js!./src/app/login/login.component.html": /*!**********************************************************************************!*\ !*** ./node_modules/raw-loader/dist/cjs.js!./src/app/login/login.component.html ***! \**********************************************************************************/ /*! exports provided: default */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony default export */ __webpack_exports__["default"] = ("
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n \"\"\r\n \"\"\r\n
\r\n
\r\n
\r\n
\r\n\r\n
\r\n \r\n
\r\n
\r\n
\r\n
\r\n
\r\n
\r\n Escolha sua unidade\r\n
\r\n
\r\n \r\n
\r\n
\r\n \r\n
\r\n\r\n
\r\n\r\n
\r\n
\r\n Faça seu login\r\n
\r\n\r\n
\r\n
\r\n
\r\n \r\n
\r\n \r\n
\r\n
\r\n
\r\n
\r\n
\r\n \r\n
\r\n \r\n
\r\n
\r\n \r\n
\r\n\r\n \r\n \r\n
\r\n \r\n
\r\n\r\n
\r\n
\r\n
\r\n
\r\n\r\n
"); /***/ }), /***/ "./node_modules/raw-loader/dist/cjs.js!./src/app/menus/menus.component.html": /*!**********************************************************************************!*\ !*** ./node_modules/raw-loader/dist/cjs.js!./src/app/menus/menus.component.html ***! \**********************************************************************************/ /*! exports provided: default */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony default export */ __webpack_exports__["default"] = ("
\r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n \r\n
\r\n \r\n
\r\n
\r\n
\r\n
\r\n

Nenhuma menu cadastrado

\r\n 0\">\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n
\r\n #\r\n \r\n Nome\r\n \r\n \r\n \r\n \r\n
\r\n {{p.id_menu_item}}\r\n \r\n {{p.nome_menu}}\r\n \r\n \r\n \r\n
\r\n \r\n
\r\n Submenus\r\n Alterar dados\r\n Apagar\r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n\r\n
\r\n \r\n
\r\n

\r\n Loading...\r\n

\r\n
\r\n
\r\n \r\n \r\n
\r\n "); /***/ }), /***/ "./node_modules/raw-loader/dist/cjs.js!./src/app/modals/alterar-banners/alterar-banners.component.html": /*!*************************************************************************************************************!*\ !*** ./node_modules/raw-loader/dist/cjs.js!./src/app/modals/alterar-banners/alterar-banners.component.html ***! \*************************************************************************************************************/ /*! exports provided: default */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony default export */ __webpack_exports__["default"] = ("
\r\n

{{title}}

\r\n \r\n
\r\n
\r\n \r\n
\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n\r\n delete\r\n delete\r\n delete\r\n\r\n
\r\n \r\n\r\n
\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n
\r\n\r\n
\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n\r\n \r\n\r\n \r\n\r\n
\r\n\r\n\r\n
\r\n\r\n
\r\n
\r\n \r\n
"); /***/ }), /***/ "./node_modules/raw-loader/dist/cjs.js!./src/app/modals/cadastrar-agenda/cadastrar-agenda.component.html": /*!***************************************************************************************************************!*\ !*** ./node_modules/raw-loader/dist/cjs.js!./src/app/modals/cadastrar-agenda/cadastrar-agenda.component.html ***! \***************************************************************************************************************/ /*! exports provided: default */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony default export */ __webpack_exports__["default"] = ("
\r\n

{{title}}

\r\n \r\n
\r\n
\r\n\r\n\r\n
\r\n \r\n \r\n
\r\n\r\n
\r\n \r\n \r\n
\r\n\r\n \r\n
\r\n \r\n \r\n
\r\n \r\n \r\n
\r\n
\r\n \r\n
\r\n\r\n "); /***/ }), /***/ "./node_modules/raw-loader/dist/cjs.js!./src/app/modals/cadastrar-barra-lateral/cadastrar-barra-lateral.component.html": /*!*****************************************************************************************************************************!*\ !*** ./node_modules/raw-loader/dist/cjs.js!./src/app/modals/cadastrar-barra-lateral/cadastrar-barra-lateral.component.html ***! \*****************************************************************************************************************************/ /*! exports provided: default */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony default export */ __webpack_exports__["default"] = ("
\r\n

{{title}}

\r\n \r\n
\r\n
\r\n
\r\n \r\n \r\n
\r\n
\r\n \r\n \r\n
\r\n\r\n \r\n
\r\n
\r\n \r\n
"); /***/ }), /***/ "./node_modules/raw-loader/dist/cjs.js!./src/app/modals/cadastrar-categoria-publicacao/cadastrar-categoria-publicacao.component.html": /*!*******************************************************************************************************************************************!*\ !*** ./node_modules/raw-loader/dist/cjs.js!./src/app/modals/cadastrar-categoria-publicacao/cadastrar-categoria-publicacao.component.html ***! \*******************************************************************************************************************************************/ /*! exports provided: default */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony default export */ __webpack_exports__["default"] = ("
\n

{{title}}

\n \n
\n
\n
\n \n \n
\n
\n \n \n
\n\n
\n
\n \n
"); /***/ }), /***/ "./node_modules/raw-loader/dist/cjs.js!./src/app/modals/cadastrar-categorias/cadastrar-categorias.component.html": /*!***********************************************************************************************************************!*\ !*** ./node_modules/raw-loader/dist/cjs.js!./src/app/modals/cadastrar-categorias/cadastrar-categorias.component.html ***! \***********************************************************************************************************************/ /*! exports provided: default */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony default export */ __webpack_exports__["default"] = ("
\r\n

{{title}}

\r\n \r\n
\r\n
\r\n
\r\n \r\n \r\n
\r\n\r\n \r\n
\r\n
\r\n \r\n
"); /***/ }), /***/ "./node_modules/raw-loader/dist/cjs.js!./src/app/modals/cadastrar-covid2/cadastrar-covid2.component.html": /*!***************************************************************************************************************!*\ !*** ./node_modules/raw-loader/dist/cjs.js!./src/app/modals/cadastrar-covid2/cadastrar-covid2.component.html ***! \***************************************************************************************************************/ /*! exports provided: default */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony default export */ __webpack_exports__["default"] = ("
\r\n

{{title}}

\r\n \r\n
\r\n
\r\n
\r\n \r\n \r\n
\r\n\r\n
\r\n \r\n \r\n
\r\n\r\n
\r\n \r\n \r\n
\r\n\r\n
\r\n \r\n \r\n
\r\n\r\n
\r\n \r\n \r\n
\r\n\r\n
\r\n \r\n \r\n
\r\n\r\n
\r\n \r\n \r\n
\r\n\r\n
\r\n \r\n \r\n
\r\n\r\n
\r\n \r\n \r\n
\r\n\r\n
\r\n \r\n \r\n
\r\n\r\n
\r\n \r\n \r\n
\r\n\r\n
\r\n \r\n \r\n
\r\n\r\n\r\n\r\n
\r\n \r\n \r\n
\r\n\r\n
\r\n \r\n \r\n
\r\n\r\n
\r\n \r\n \r\n
\r\n\r\n
\r\n \r\n \r\n
\r\n\r\n
\r\n \r\n \r\n
\r\n\r\n \r\n \r\n\r\n \r\n
\r\n
\r\n \r\n
"); /***/ }), /***/ "./node_modules/raw-loader/dist/cjs.js!./src/app/modals/cadastrar-covid3/cadastrar-covid3.component.html": /*!***************************************************************************************************************!*\ !*** ./node_modules/raw-loader/dist/cjs.js!./src/app/modals/cadastrar-covid3/cadastrar-covid3.component.html ***! \***************************************************************************************************************/ /*! exports provided: default */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony default export */ __webpack_exports__["default"] = ("
\r\n

{{title}}

\r\n \r\n
\r\n
\r\n
\r\n \r\n \r\n
\r\n\r\n
\r\n \r\n \r\n
\r\n\r\n
\r\n \r\n \r\n
\r\n\r\n
\r\n \r\n \r\n
\r\n\r\n
\r\n \r\n \r\n
\r\n\r\n
\r\n \r\n \r\n
\r\n\r\n
\r\n \r\n \r\n
\r\n\r\n
\r\n \r\n \r\n
\r\n\r\n
\r\n \r\n \r\n
\r\n\r\n \r\n
\r\n
\r\n \r\n
"); /***/ }), /***/ "./node_modules/raw-loader/dist/cjs.js!./src/app/modals/cadastrar-galeria/cadastrar-galeria.component.html": /*!*****************************************************************************************************************!*\ !*** ./node_modules/raw-loader/dist/cjs.js!./src/app/modals/cadastrar-galeria/cadastrar-galeria.component.html ***! \*****************************************************************************************************************/ /*! exports provided: default */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony default export */ __webpack_exports__["default"] = ("
\r\n

{{title}}

\r\n \r\n
\r\n
\r\n\r\n\r\n
\r\n \r\n
\r\n \r\n
\r\n \r\n\r\n
\r\n \r\n \r\n
\r\n\r\n \r\n
\r\n \r\n \r\n
\r\n \r\n \r\n
\r\n
\r\n \r\n
\r\n\r\n "); /***/ }), /***/ "./node_modules/raw-loader/dist/cjs.js!./src/app/modals/cadastrar-itens-barra-lateral/cadastrar-itens-barra-lateral.component.html": /*!*****************************************************************************************************************************************!*\ !*** ./node_modules/raw-loader/dist/cjs.js!./src/app/modals/cadastrar-itens-barra-lateral/cadastrar-itens-barra-lateral.component.html ***! \*****************************************************************************************************************************************/ /*! exports provided: default */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony default export */ __webpack_exports__["default"] = ("
\r\n

{{title}}

\r\n \r\n
\r\n
\r\n
\r\n \r\n \r\n
\r\n
\r\n
\r\n \r\n \r\n
\r\n
\r\n \r\n \r\n
\r\n
\r\n \r\n \r\n
\r\n
\r\n \r\n \r\n
\r\n
\r\n \r\n \r\n
\r\n\r\n \r\n
\r\n
\r\n \r\n
"); /***/ }), /***/ "./node_modules/raw-loader/dist/cjs.js!./src/app/modals/cadastrar-itens-galeria/cadastrar-itens-galeria.component.html": /*!*****************************************************************************************************************************!*\ !*** ./node_modules/raw-loader/dist/cjs.js!./src/app/modals/cadastrar-itens-galeria/cadastrar-itens-galeria.component.html ***! \*****************************************************************************************************************************/ /*! exports provided: default */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony default export */ __webpack_exports__["default"] = ("
\r\n

{{title}}

\r\n \r\n
\r\n
\r\n\r\n\r\n
\r\n
\r\n \r\n\r\n
\r\n\r\n \r\n
\r\n "); /***/ }), /***/ "./node_modules/raw-loader/dist/cjs.js!./src/app/modals/cadastrar-link-embed/cadastrar-link-embed.component.html": /*!***********************************************************************************************************************!*\ !*** ./node_modules/raw-loader/dist/cjs.js!./src/app/modals/cadastrar-link-embed/cadastrar-link-embed.component.html ***! \***********************************************************************************************************************/ /*! exports provided: default */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony default export */ __webpack_exports__["default"] = ("
\r\n

{{title}}

\r\n \r\n
\r\n
\r\n
\r\n \r\n \r\n
\r\n
\r\n \r\n \r\n
\r\n
\r\n \r\n \r\n
\r\n\r\n \r\n
\r\n
\r\n \r\n
"); /***/ }), /***/ "./node_modules/raw-loader/dist/cjs.js!./src/app/modals/cadastrar-links-uteis/cadastrar-links-uteis.component.html": /*!*************************************************************************************************************************!*\ !*** ./node_modules/raw-loader/dist/cjs.js!./src/app/modals/cadastrar-links-uteis/cadastrar-links-uteis.component.html ***! \*************************************************************************************************************************/ /*! exports provided: default */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony default export */ __webpack_exports__["default"] = ("
\r\n

{{title}}

\r\n \r\n
\r\n
\r\n
\r\n \r\n \r\n
\r\n\r\n
\r\n \r\n \r\n
\r\n\r\n
\r\n \r\n \r\n
\r\n\r\n \r\n
\r\n
\r\n \r\n
"); /***/ }), /***/ "./node_modules/raw-loader/dist/cjs.js!./src/app/modals/cadastrar-menus/cadastrar-menus.component.html": /*!*************************************************************************************************************!*\ !*** ./node_modules/raw-loader/dist/cjs.js!./src/app/modals/cadastrar-menus/cadastrar-menus.component.html ***! \*************************************************************************************************************/ /*! exports provided: default */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony default export */ __webpack_exports__["default"] = ("
\r\n

{{title}}

\r\n \r\n
\r\n
\r\n
\r\n \r\n \r\n
\r\n
\r\n \r\n \r\n
\r\n
\r\n \r\n \r\n
\r\n
\r\n \r\n \r\n
\r\n\r\n \r\n
\r\n
\r\n \r\n
"); /***/ }), /***/ "./node_modules/raw-loader/dist/cjs.js!./src/app/modals/cadastrar-noticias/cadastrar-noticias.component.html": /*!*******************************************************************************************************************!*\ !*** ./node_modules/raw-loader/dist/cjs.js!./src/app/modals/cadastrar-noticias/cadastrar-noticias.component.html ***! \*******************************************************************************************************************/ /*! exports provided: default */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony default export */ __webpack_exports__["default"] = ("
\r\n

{{title}}

\r\n \r\n
\r\n
\r\n\r\n
\r\n
\r\n Noticia\r\n Noticia\r\n
\r\n
\r\n + Imagens\r\n + Imagens\r\n
\r\n
\r\n\r\n
\r\n \r\n
\r\n \r\n
\r\n \r\n
\r\n\r\n\r\n
\r\n \r\n \r\n
\r\n\r\n
\r\n \r\n \r\n
\r\n\r\n
\r\n \r\n \r\n
\r\n\r\n
\r\n \r\n \r\n
\r\n\r\n
\r\n\r\n
\r\n
\r\n\r\n
\r\n
\r\n
\r\n \r\n delete\r\n
\r\n
\r\n
\r\n\r\n\r\n\r\n
\r\n
\r\n \r\n
\r\n\r\n
\r\n
\r\n\r\n\r\n
\r\n
\r\n \r\n
\r\n\r\n"); /***/ }), /***/ "./node_modules/raw-loader/dist/cjs.js!./src/app/modals/cadastrar-obras/cadastrar-obras.component.html": /*!*************************************************************************************************************!*\ !*** ./node_modules/raw-loader/dist/cjs.js!./src/app/modals/cadastrar-obras/cadastrar-obras.component.html ***! \*************************************************************************************************************/ /*! exports provided: default */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony default export */ __webpack_exports__["default"] = ("
\n

{{title}}

\n \n
\n
\n\n
\n \n \n
\n\n\n
\n \n \n
\n\n
\n \n \n
\n\n
\n
\n \n
\n\n
\n \n \n
\n\n
\n \n \n
\n\n
\n \n \n
\n\n
\n
\n \n
\n\n\n
\n
\n \n
\n\n"); /***/ }), /***/ "./node_modules/raw-loader/dist/cjs.js!./src/app/modals/cadastrar-pauta/cadastrar-pauta.component.html": /*!*************************************************************************************************************!*\ !*** ./node_modules/raw-loader/dist/cjs.js!./src/app/modals/cadastrar-pauta/cadastrar-pauta.component.html ***! \*************************************************************************************************************/ /*! exports provided: default */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony default export */ __webpack_exports__["default"] = ("
\r\n

{{title}}

\r\n \r\n
\r\n
\r\n\r\n\r\n
\r\n \r\n \r\n
\r\n
\r\n \r\n \r\n
\r\n \r\n \r\n
\r\n
\r\n \r\n
\r\n\r\n "); /***/ }), /***/ "./node_modules/raw-loader/dist/cjs.js!./src/app/modals/cadastrar-radio/cadastrar-radio.component.html": /*!*************************************************************************************************************!*\ !*** ./node_modules/raw-loader/dist/cjs.js!./src/app/modals/cadastrar-radio/cadastrar-radio.component.html ***! \*************************************************************************************************************/ /*! exports provided: default */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony default export */ __webpack_exports__["default"] = ("
\r\n

{{title}}

\r\n \r\n
\r\n
\r\n\r\n\r\n
\r\n
\r\n \r\n
\r\n\r\n\r\n
\r\n \r\n \r\n
\r\n\r\n
\r\n \r\n \r\n
\r\n\r\n
\r\n
\r\n \r\n
\r\n\r\n"); /***/ }), /***/ "./node_modules/raw-loader/dist/cjs.js!./src/app/modals/cadastrar-secretaria/cadastrar-secretaria.component.html": /*!***********************************************************************************************************************!*\ !*** ./node_modules/raw-loader/dist/cjs.js!./src/app/modals/cadastrar-secretaria/cadastrar-secretaria.component.html ***! \***********************************************************************************************************************/ /*! exports provided: default */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony default export */ __webpack_exports__["default"] = ("
\r\n

{{title}}

\r\n \r\n
\r\n
\r\n
\r\n \r\n \r\n
\r\n
\r\n \r\n \r\n
\r\n\r\n
\r\n \r\n \r\n
\r\n \r\n
\r\n
\r\n \r\n
"); /***/ }), /***/ "./node_modules/raw-loader/dist/cjs.js!./src/app/modals/cadastrar-site-map/cadastrar-site-map.component.html": /*!*******************************************************************************************************************!*\ !*** ./node_modules/raw-loader/dist/cjs.js!./src/app/modals/cadastrar-site-map/cadastrar-site-map.component.html ***! \*******************************************************************************************************************/ /*! exports provided: default */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony default export */ __webpack_exports__["default"] = ("
\n

{{title}}

\n \n
\n
\n
\n \n \n
\n
\n \n \n
\n\n
\n
\n \n
"); /***/ }), /***/ "./node_modules/raw-loader/dist/cjs.js!./src/app/modals/cadastrar-submenus/cadastrar-submenus.component.html": /*!*******************************************************************************************************************!*\ !*** ./node_modules/raw-loader/dist/cjs.js!./src/app/modals/cadastrar-submenus/cadastrar-submenus.component.html ***! \*******************************************************************************************************************/ /*! exports provided: default */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony default export */ __webpack_exports__["default"] = ("
\r\n

{{title}}

\r\n \r\n
\r\n
\r\n
\r\n \r\n \r\n
\r\n
\r\n \r\n \r\n
\r\n
\r\n \r\n \r\n
\r\n
\r\n \r\n \r\n
\r\n\r\n \r\n
\r\n
\r\n \r\n
"); /***/ }), /***/ "./node_modules/raw-loader/dist/cjs.js!./src/app/modals/cadastrar-transmissoes/cadastrar-transmissoes.component.html": /*!***************************************************************************************************************************!*\ !*** ./node_modules/raw-loader/dist/cjs.js!./src/app/modals/cadastrar-transmissoes/cadastrar-transmissoes.component.html ***! \***************************************************************************************************************************/ /*! exports provided: default */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony default export */ __webpack_exports__["default"] = ("
\r\n

{{title}}

\r\n \r\n
\r\n
\r\n\r\n\r\n
\r\n \r\n \r\n
\r\n\r\n
\r\n \r\n \r\n
\r\n \r\n
\r\n
\r\n \r\n
\r\n\r\n "); /***/ }), /***/ "./node_modules/raw-loader/dist/cjs.js!./src/app/modals/cadastrar-vereadores/cadastrar-vereadores.component.html": /*!***********************************************************************************************************************!*\ !*** ./node_modules/raw-loader/dist/cjs.js!./src/app/modals/cadastrar-vereadores/cadastrar-vereadores.component.html ***! \***********************************************************************************************************************/ /*! exports provided: default */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony default export */ __webpack_exports__["default"] = ("
\r\n

{{title}}

\r\n \r\n
\r\n
\r\n
\r\n \r\n \r\n
\r\n
\r\n \r\n
\r\n \r\n
\r\n\r\n
\r\n \r\n \r\n
\r\n
\r\n \r\n \r\n
\r\n
\r\n \r\n \r\n
\r\n\r\n
\r\n \r\n \r\n
\r\n \r\n
\r\n
\r\n \r\n
"); /***/ }), /***/ "./node_modules/raw-loader/dist/cjs.js!./src/app/modals/cadastro-covid/cadastro-covid.component.html": /*!***********************************************************************************************************!*\ !*** ./node_modules/raw-loader/dist/cjs.js!./src/app/modals/cadastro-covid/cadastro-covid.component.html ***! \***********************************************************************************************************/ /*! exports provided: default */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony default export */ __webpack_exports__["default"] = ("
\r\n

{{title}}

\r\n \r\n
\r\n
\r\n
\r\n \r\n \r\n
\r\n\r\n
\r\n \r\n \r\n
\r\n\r\n
\r\n \r\n \r\n
\r\n
\r\n \r\n \r\n
\r\n\r\n
\r\n \r\n \r\n
\r\n\r\n
\r\n \r\n \r\n
\r\n\r\n
\r\n \r\n \r\n
\r\n\r\n
\r\n \r\n \r\n
\r\n\r\n \r\n\r\n \r\n
\r\n
\r\n \r\n
"); /***/ }), /***/ "./node_modules/raw-loader/dist/cjs.js!./src/app/modals/exclusoes/exclusoes.component.html": /*!*************************************************************************************************!*\ !*** ./node_modules/raw-loader/dist/cjs.js!./src/app/modals/exclusoes/exclusoes.component.html ***! \*************************************************************************************************/ /*! exports provided: default */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony default export */ __webpack_exports__["default"] = ("
\r\n

{{title}}

\r\n \r\n
\r\n
\r\n\r\n\r\n
\r\n \r\n \r\n\r\n \r\n
\r\n
\r\n \r\n
"); /***/ }), /***/ "./node_modules/raw-loader/dist/cjs.js!./src/app/modals/gerar-link/gerar-link.component.html": /*!***************************************************************************************************!*\ !*** ./node_modules/raw-loader/dist/cjs.js!./src/app/modals/gerar-link/gerar-link.component.html ***! \***************************************************************************************************/ /*! exports provided: default */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony default export */ __webpack_exports__["default"] = ("
\r\n

Gerar Link

\r\n \r\n
\r\n
\r\n
\r\n \r\n
\r\n\r\n
\r\n

\r\n link:
{{path+arquivo}}\r\n

\r\n
\r\n\r\n \r\n
\r\n \r\n "); /***/ }), /***/ "./node_modules/raw-loader/dist/cjs.js!./src/app/modals/itens-barra-lateral/itens-barra-lateral.component.html": /*!*********************************************************************************************************************!*\ !*** ./node_modules/raw-loader/dist/cjs.js!./src/app/modals/itens-barra-lateral/itens-barra-lateral.component.html ***! \*********************************************************************************************************************/ /*! exports provided: default */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony default export */ __webpack_exports__["default"] = ("
\r\n

{{title}}

\r\n \r\n
\r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n
\r\n
\r\n

Nenhuma item cadastrado

\r\n 0\">\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n
\r\n #\r\n \r\n Descrição\r\n \r\n \r\n \r\n \r\n
\r\n {{p.id_link_barra_lateral}}\r\n \r\n {{p.descricao_link}}\r\n \r\n \r\n \r\n \r\n \r\n
\r\n \r\n
\r\n Alterar dados\r\n Apagar\r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n
\r\n
\r\n \r\n
\r\n"); /***/ }), /***/ "./node_modules/raw-loader/dist/cjs.js!./src/app/modals/rec-senha/rec-senha.component.html": /*!*************************************************************************************************!*\ !*** ./node_modules/raw-loader/dist/cjs.js!./src/app/modals/rec-senha/rec-senha.component.html ***! \*************************************************************************************************/ /*! exports provided: default */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony default export */ __webpack_exports__["default"] = ("
\r\n

Recueprar senha

\r\n \r\n
\r\n
\r\n
\r\n \r\n \r\n
\r\n
\r\n
\r\n \r\n
\r\n\r\n
\r\n \r\n
\r\n

\r\n Loading...\r\n

\r\n
\r\n
\r\n \r\n \r\n
"); /***/ }), /***/ "./node_modules/raw-loader/dist/cjs.js!./src/app/modals/submenus/submenus.component.html": /*!***********************************************************************************************!*\ !*** ./node_modules/raw-loader/dist/cjs.js!./src/app/modals/submenus/submenus.component.html ***! \***********************************************************************************************/ /*! exports provided: default */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony default export */ __webpack_exports__["default"] = ("
\r\n \r\n
\r\n
\r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n \r\n
\r\n\r\n
\r\n
\r\n
\r\n
\r\n

Nenhuma submenu cadastrado

\r\n 0\">\r\n \r\n \r\n \r\n\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n\r\n \r\n \r\n\r\n \r\n \r\n \r\n \r\n
\r\n #\r\n \r\n Nome\r\n \r\n\r\n \r\n\r\n \r\n\r\n
\r\n {{p.id_subitens_menu}}\r\n \r\n {{p.descricao_sub}}\r\n \r\n \r\n
testar link
\r\n
\r\n
\r\n \r\n \r\n
\r\n \r\n
\r\n Alterar dados\r\n Apagar\r\n
\r\n
\r\n
\r\n\r\n
\r\n
\r\n
\r\n
\r\n\r\n
\r\n
\r\n
\r\n\r\n
\r\n \r\n
\r\n

\r\n Loading...\r\n

\r\n
\r\n
\r\n\r\n \r\n
"); /***/ }), /***/ "./node_modules/raw-loader/dist/cjs.js!./src/app/modals/update-configuracoes/update-configuracoes.component.html": /*!***********************************************************************************************************************!*\ !*** ./node_modules/raw-loader/dist/cjs.js!./src/app/modals/update-configuracoes/update-configuracoes.component.html ***! \***********************************************************************************************************************/ /*! exports provided: default */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony default export */ __webpack_exports__["default"] = ("
\r\n

{{title}}

\r\n \r\n
\r\n
\r\n
\r\n \r\n \r\n\r\n
\r\n \r\n \r\n
\r\n
\r\n \r\n \r\n
\r\n\r\n
\r\n \r\n \r\n
\r\n\r\n
\r\n \r\n \r\n
\r\n\r\n
\r\n \r\n \r\n
\r\n\r\n
\r\n \r\n \r\n
\r\n\r\n
\r\n \r\n \r\n
\r\n\r\n
\r\n \r\n \r\n
\r\n\r\n
\r\n \r\n \r\n
\r\n\r\n
\r\n \r\n \r\n
\r\n \r\n
\r\n \r\n \r\n
\r\n\r\n
\r\n \r\n \r\n
\r\n\r\n
\r\n
\r\n \r\n
"); /***/ }), /***/ "./node_modules/raw-loader/dist/cjs.js!./src/app/modals/view-contato/view-contato.component.html": /*!*******************************************************************************************************!*\ !*** ./node_modules/raw-loader/dist/cjs.js!./src/app/modals/view-contato/view-contato.component.html ***! \*******************************************************************************************************/ /*! exports provided: default */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony default export */ __webpack_exports__["default"] = ("
\r\n \r\n
\r\n
\r\n
\r\n

DADOS PESSOAIS

\r\n
\r\n
\r\n
\r\n
\r\n
\r\n \r\n \r\n
\r\n
\r\n \r\n \r\n
\r\n
\r\n
\r\n
\r\n \r\n \r\n
\r\n
\r\n
\r\n
\r\n \r\n \r\n
\r\n
\r\n \r\n
\r\n
\r\n \r\n \r\n
\r\n
\r\n \r\n \r\n
\r\n
\r\n \r\n \r\n
\r\n
\r\n \r\n
\r\n
\r\n \r\n \r\n
\r\n
\r\n \r\n \r\n
\r\n
\r\n \r\n \r\n
\r\n
\r\n \r\n
\r\n
\r\n \r\n \r\n
\r\n
\r\n \r\n \r\n
\r\n
\r\n
\r\n \r\n
\r\n

DOCUMENTOS

\r\n
\r\n
\r\n \r\n
\r\n
\r\n \r\n \r\n
\r\n
\r\n \r\n \r\n
\r\n
\r\n \r\n
\r\n
\r\n \r\n \r\n
\r\n
\r\n \r\n \r\n
\r\n
\r\n \r\n \r\n
\r\n
\r\n \r\n \r\n
\r\n
\r\n \r\n
\r\n
\r\n \r\n \r\n
\r\n
\r\n \r\n \r\n
\r\n
\r\n \r\n \r\n
\r\n
\r\n \r\n \r\n
\r\n
\r\n \r\n
\r\n \r\n
\r\n

ENDEREÇO

\r\n
\r\n \r\n
\r\n \r\n
\r\n
\r\n \r\n \r\n
\r\n
\r\n \r\n \r\n
\r\n
\r\n \r\n
\r\n
\r\n \r\n \r\n
\r\n
\r\n \r\n \r\n
\r\n
\r\n \r\n \r\n
\r\n
\r\n \r\n
\r\n
\r\n \r\n \r\n
\r\n
\r\n \r\n \r\n
\r\n
\r\n \r\n \r\n
\r\n
\r\n \r\n \r\n
\r\n
\r\n \r\n
\r\n
\r\n \r\n \r\n
\r\n
\r\n
\r\n \r\n
\r\n

DADOS FUNCIONAIS

\r\n
\r\n
\r\n \r\n
\r\n
\r\n \r\n \r\n
\r\n
\r\n \r\n \r\n
\r\n
\r\n \r\n
\r\n
\r\n \r\n \r\n
\r\n
\r\n
\r\n
\r\n \r\n
\r\n \r\n \r\n
\r\n \r\n
\r\n\r\n
\r\n
\r\n
\r\n
\r\n
\r\n \r\n \r\n
\r\n
"); /***/ }), /***/ "./node_modules/raw-loader/dist/cjs.js!./src/app/noticias/noticias.component.html": /*!****************************************************************************************!*\ !*** ./node_modules/raw-loader/dist/cjs.js!./src/app/noticias/noticias.component.html ***! \****************************************************************************************/ /*! exports provided: default */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony default export */ __webpack_exports__["default"] = ("
\r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n \r\n
\r\n \r\n \r\n \r\n
\r\n
\r\n
\r\n
\r\n

Nenhuma noticia cadastrada

\r\n 0\">\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n
\r\n #\r\n \r\n Titulo\r\n \r\n \r\n \r\n \r\n
\r\n {{p.id_noticia}}\r\n \r\n {{p.titulo}}\r\n \r\n \r\n \r\n
\r\n \r\n
\r\n Alterar dados\r\n Apagar\r\n
\r\n
\r\n
\r\n limit\" [maxSize]=\"5\" [boundaryLinks]=\"true\" class=\"d-flex justify-content-center\" (pageChange)=\"onPageChange($event)\"\r\n \r\n [(page)]=\"page\"\r\n [pageSize]=\"limit\"\r\n [collectionSize]=\"total\">\r\n \r\n
\r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n\r\n
\r\n \r\n
\r\n

\r\n Loading...\r\n

\r\n
\r\n
\r\n \r\n \r\n
\r\n "); /***/ }), /***/ "./node_modules/raw-loader/dist/cjs.js!./src/app/obras/obras.component.html": /*!**********************************************************************************!*\ !*** ./node_modules/raw-loader/dist/cjs.js!./src/app/obras/obras.component.html ***! \**********************************************************************************/ /*! exports provided: default */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony default export */ __webpack_exports__["default"] = ("
\n
\n
\n
\n \n
\n
\n \n
\n\n\n\n
\n
\n
\n
\n

Nenhuma obra cadastrada

\n 0\">\n \n \n \n\n \n\n \n\n \n\n \n\n \n\n \n \n \n \n \n \n \n \n \n \n \n \n\n \n \n \n \n
\n #\n \n Nome\n \n Descrição\n \n Percentual\n \n status_atual\n \n motivo_status\n \n valor\n \n\n \n\n
\n {{p.id_obra}}\n \n {{p.nome}}\n \n {{p.descricao}}\n
\n Ver Anexo\n
\n Ver Imagem\n
\n {{p.percentual}}\n \n {{p.status_atual}}\n \n {{p.motivo_status}}\n \n {{p.valor}}\n \n \n \n
\n \n \n
\n
\n limit\" [maxSize]=\"5\" [boundaryLinks]=\"true\"\n class=\"d-flex justify-content-center\" (pageChange)=\"onPageChange($event)\"\n [(page)]=\"page\" [pageSize]=\"limit\" [collectionSize]=\"total\">\n \n
\n
\n
\n
\n\n
\n
\n
\n\n
\n \n
\n

\n Loading...\n

\n
\n
\n\n \n
"); /***/ }), /***/ "./node_modules/raw-loader/dist/cjs.js!./src/app/pauta/pauta.component.html": /*!**********************************************************************************!*\ !*** ./node_modules/raw-loader/dist/cjs.js!./src/app/pauta/pauta.component.html ***! \**********************************************************************************/ /*! exports provided: default */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony default export */ __webpack_exports__["default"] = ("
\r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n \r\n
\r\n \r\n \r\n \r\n
\r\n
\r\n
\r\n
\r\n

Nenhuma pauta cadastrada

\r\n 0\">\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n
\r\n #\r\n \r\n Titulo\r\n \r\n \r\n \r\n \r\n
\r\n {{p.id_pauta}}\r\n \r\n {{p.titulo}}\r\n \r\n \r\n \r\n
\r\n \r\n
\r\n Alterar dados\r\n Apagar\r\n
\r\n
\r\n
\r\n limit\" [maxSize]=\"5\" [boundaryLinks]=\"true\" class=\"d-flex justify-content-center\" (pageChange)=\"onPageChange($event)\"\r\n \r\n [(page)]=\"page\"\r\n [pageSize]=\"limit\"\r\n [collectionSize]=\"total\">\r\n \r\n
\r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n\r\n
\r\n \r\n
\r\n

\r\n Loading...\r\n

\r\n
\r\n
\r\n \r\n
\r\n "); /***/ }), /***/ "./node_modules/raw-loader/dist/cjs.js!./src/app/pesquisa/pesquisa.component.html": /*!****************************************************************************************!*\ !*** ./node_modules/raw-loader/dist/cjs.js!./src/app/pesquisa/pesquisa.component.html ***! \****************************************************************************************/ /*! exports provided: default */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony default export */ __webpack_exports__["default"] = ("
\n
\n
\n
\n \n
\n
\n
\n
\n
\n

\n 0\">\n \n \n \n\n \n \n \n \n \n \n\n \n\n \n \n \n \n
\n Total\n \n Termo Pesquisado\n \n\n \n\n
\n {{p.busca_count}}\n \n {{p.texto}}\n \n \n
\n \n \n
\n
\n\n
\n
\n
\n
\n\n
\n
\n
\n
\n \n
\n

\n Loading...\n

\n
\n
\n\n \n
"); /***/ }), /***/ "./node_modules/raw-loader/dist/cjs.js!./src/app/radio/radio.component.html": /*!**********************************************************************************!*\ !*** ./node_modules/raw-loader/dist/cjs.js!./src/app/radio/radio.component.html ***! \**********************************************************************************/ /*! exports provided: default */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony default export */ __webpack_exports__["default"] = ("
\r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n \r\n
\r\n\r\n\r\n\r\n
\r\n
\r\n
\r\n
\r\n

Nenhuma radio cadastrada

\r\n 0\">\r\n \r\n \r\n \r\n\r\n \r\n\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n\r\n \r\n\r\n\r\n \r\n \r\n \r\n \r\n
\r\n #\r\n \r\n Titulo\r\n \r\n Arquivo\r\n \r\n\r\n \r\n\r\n
\r\n {{p.id_radio}}\r\n \r\n {{p.titulo}}\r\n \r\n \r\n \r\n \r\n \r\n
\r\n \r\n \r\n
\r\n
\r\n limit\" [maxSize]=\"5\" [boundaryLinks]=\"true\"\r\n class=\"d-flex justify-content-center\" (pageChange)=\"onPageChange($event)\"\r\n [(page)]=\"page\" [pageSize]=\"limit\" [collectionSize]=\"total\">\r\n \r\n
\r\n
\r\n
\r\n
\r\n\r\n
\r\n
\r\n
\r\n\r\n
\r\n \r\n
\r\n

\r\n Loading...\r\n

\r\n
\r\n
\r\n\r\n \r\n
"); /***/ }), /***/ "./node_modules/raw-loader/dist/cjs.js!./src/app/secretarias/secretarias.component.html": /*!**********************************************************************************************!*\ !*** ./node_modules/raw-loader/dist/cjs.js!./src/app/secretarias/secretarias.component.html ***! \**********************************************************************************************/ /*! exports provided: default */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony default export */ __webpack_exports__["default"] = ("
\r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n \r\n
\r\n \r\n
\r\n
\r\n
\r\n
\r\n

Nenhuma secretaria cadastrada

\r\n 0\">\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n
\r\n #\r\n \r\n Titulo\r\n \r\n Secretario\r\n \r\n \r\n \r\n \r\n
\r\n {{p.id_secretaria}}\r\n \r\n {{p.titulo}}\r\n \r\n {{p.secretario}}\r\n \r\n \r\n \r\n
\r\n \r\n
\r\n Alterar dados\r\n Apagar\r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n\r\n
\r\n \r\n
\r\n

\r\n Loading...\r\n

\r\n
\r\n
\r\n \r\n \r\n
\r\n "); /***/ }), /***/ "./node_modules/raw-loader/dist/cjs.js!./src/app/sitemap/sitemap.component.html": /*!**************************************************************************************!*\ !*** ./node_modules/raw-loader/dist/cjs.js!./src/app/sitemap/sitemap.component.html ***! \**************************************************************************************/ /*! exports provided: default */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony default export */ __webpack_exports__["default"] = ("
\n
\n
\n
\n \n
\n
\n \n
\n\n\n\n
\n
\n
\n
\n

Nenhum Link cadastrado

\n 0\">\n \n \n \n\n \n\n \n \n \n \n \n \n\n \n \n \n \n
\n #\n \n Nome\n \n Status\n \n\n
\n {{item.id_site_map}}\n \n {{item.nome_destino}}\n \n \n \n
\n \n \n
\n
\n limit\" [maxSize]=\"5\" [boundaryLinks]=\"true\"\n class=\"d-flex justify-content-center\" (pageChange)=\"onPageChange($event)\"\n [(page)]=\"page\" [pageSize]=\"limit\" [collectionSize]=\"total\">\n \n
\n
\n
\n
\n\n
\n
\n
\n\n
\n \n
\n

\n Loading...\n

\n
\n
\n\n \n
"); /***/ }), /***/ "./node_modules/raw-loader/dist/cjs.js!./src/app/transmissoes/transmissoes.component.html": /*!************************************************************************************************!*\ !*** ./node_modules/raw-loader/dist/cjs.js!./src/app/transmissoes/transmissoes.component.html ***! \************************************************************************************************/ /*! exports provided: default */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony default export */ __webpack_exports__["default"] = ("
\r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n \r\n
\r\n \r\n \r\n \r\n
\r\n
\r\n
\r\n
\r\n

Nenhuma transmissão cadastrada

\r\n 0\">\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n
\r\n #\r\n \r\n Titulo\r\n \r\n \r\n \r\n \r\n
\r\n {{p.id_transmissoes}}\r\n \r\n {{p.titulo}}\r\n \r\n \r\n \r\n
\r\n \r\n
\r\n Alterar dados\r\n Apagar\r\n
\r\n
\r\n
\r\n limit\" [maxSize]=\"5\" [boundaryLinks]=\"true\" class=\"d-flex justify-content-center\" (pageChange)=\"onPageChange($event)\"\r\n \r\n [(page)]=\"page\"\r\n [pageSize]=\"limit\"\r\n [collectionSize]=\"total\">\r\n \r\n
\r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n\r\n
\r\n \r\n
\r\n

\r\n Loading...\r\n

\r\n
\r\n
\r\n \r\n
\r\n "); /***/ }), /***/ "./node_modules/raw-loader/dist/cjs.js!./src/app/vereadores/vereadores.component.html": /*!********************************************************************************************!*\ !*** ./node_modules/raw-loader/dist/cjs.js!./src/app/vereadores/vereadores.component.html ***! \********************************************************************************************/ /*! exports provided: default */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony default export */ __webpack_exports__["default"] = ("
\r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n \r\n
\r\n \r\n
\r\n
\r\n
\r\n
\r\n

Nenhum item cadastrado

\r\n 0\">\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n
\r\n #\r\n \r\n Nome\r\n \r\n email\r\n \r\n \r\n \r\n \r\n
\r\n {{p.id_vereadores}}\r\n \r\n {{p.nome}}\r\n \r\n {{p.email}}\r\n \r\n \r\n \r\n
\r\n \r\n
\r\n Alterar dados\r\n Apagar\r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n\r\n
\r\n \r\n
\r\n

\r\n Loading...\r\n

\r\n
\r\n
\r\n \r\n \r\n
\r\n "); /***/ }), /***/ "./node_modules/raw-loader/dist/cjs.js!./src/app/view-galeria/view-galeria.component.html": /*!************************************************************************************************!*\ !*** ./node_modules/raw-loader/dist/cjs.js!./src/app/view-galeria/view-galeria.component.html ***! \************************************************************************************************/ /*! exports provided: default */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony default export */ __webpack_exports__["default"] = ("
\r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n \r\n
\r\n \r\n
\r\n
\r\n
\r\n

{{galeria.titulo}}

\r\n

Essa galeria ainda não possui itens

\r\n
\r\n
\r\n \r\n \r\n \r\n
\r\n
\r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n
\r\n\r\n
\r\n \r\n
\r\n

\r\n Loading...\r\n

\r\n
\r\n
\r\n \r\n \r\n
\r\n "); /***/ }), /***/ "./src/$$_lazy_route_resource lazy recursive": /*!**********************************************************!*\ !*** ./src/$$_lazy_route_resource lazy namespace object ***! \**********************************************************/ /*! no static exports found */ /***/ (function(module, exports, __webpack_require__) { var map = { "./layouts/admin-layout/admin-layout.module": [ "./src/app/layouts/admin-layout/admin-layout.module.ts", "default~layouts-admin-layout-admin-layout-module~transparencia-transparencia-module", "layouts-admin-layout-admin-layout-module" ], "./transparencia/transparencia.module": [ "./src/app/transparencia/transparencia.module.ts", "default~layouts-admin-layout-admin-layout-module~transparencia-transparencia-module", "transparencia-transparencia-module" ] }; function webpackAsyncContext(req) { if(!__webpack_require__.o(map, req)) { return Promise.resolve().then(function() { var e = new Error("Cannot find module '" + req + "'"); e.code = 'MODULE_NOT_FOUND'; throw e; }); } var ids = map[req], id = ids[0]; return Promise.all(ids.slice(1).map(__webpack_require__.e)).then(function() { return __webpack_require__.t(id, 7); }); } webpackAsyncContext.keys = function webpackAsyncContextKeys() { return Object.keys(map); }; webpackAsyncContext.id = "./src/$$_lazy_route_resource lazy recursive"; module.exports = webpackAsyncContext; /***/ }), /***/ "./src/app/agenda/agenda.component.css": /*!*********************************************!*\ !*** ./src/app/agenda/agenda.component.css ***! \*********************************************/ /*! exports provided: default */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony default export */ __webpack_exports__["default"] = (".switch {\r\n position: relative;\r\n display: inline-block;\r\n width: 60px;\r\n height: 34px;\r\n }\r\n \r\n /* Hide default HTML checkbox */\r\n \r\n .switch input {\r\n opacity: 0;\r\n width: 0;\r\n height: 0;\r\n }\r\n \r\n /* The slider */\r\n \r\n .slider {\r\n position: absolute;\r\n cursor: pointer;\r\n top: 0;\r\n left: 0;\r\n right: 0;\r\n bottom: 0;\r\n background-color: #ccc;\r\n -webkit-transition: .4s;\r\n transition: .4s;\r\n }\r\n \r\n .slider:before {\r\n position: absolute;\r\n content: \"\";\r\n height: 26px;\r\n width: 26px;\r\n left: 4px;\r\n bottom: 4px;\r\n background-color: white;\r\n -webkit-transition: .4s;\r\n transition: .4s;\r\n }\r\n \r\n input:checked + .slider {\r\n background-color: #6e037c;\r\n }\r\n \r\n input:focus + .slider {\r\n box-shadow: 0 0 1px #6e037c;\r\n }\r\n \r\n input:checked + .slider:before {\r\n -webkit-transform: translateX(26px);\r\n transform: translateX(26px);\r\n }\r\n \r\n /* Rounded sliders */\r\n \r\n .slider.round {\r\n border-radius: 34px;\r\n }\r\n \r\n .slider.round:before {\r\n border-radius: 50%;\r\n }\r\n \r\n .pac-container {\r\n z-index: 1051 !important;\r\n}\r\n \r\n .tt {\r\n background: #0400d4;\r\n}\r\n \r\n .tt:hover{\r\n background: #0400d4;\r\n}\r\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbInNyYy9hcHAvYWdlbmRhL2FnZW5kYS5jb21wb25lbnQuY3NzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBO0dBQ0csa0JBQWtCO0dBQ2xCLHFCQUFxQjtHQUNyQixXQUFXO0dBQ1gsWUFBWTtDQUNkOztDQUVBLCtCQUErQjs7Q0FDL0I7R0FDRSxVQUFVO0dBQ1YsUUFBUTtHQUNSLFNBQVM7Q0FDWDs7Q0FFQSxlQUFlOztDQUNmO0dBQ0Usa0JBQWtCO0dBQ2xCLGVBQWU7R0FDZixNQUFNO0dBQ04sT0FBTztHQUNQLFFBQVE7R0FDUixTQUFTO0dBQ1Qsc0JBQXNCO0dBQ3RCLHVCQUF1QjtHQUN2QixlQUFlO0NBQ2pCOztDQUVBO0dBQ0Usa0JBQWtCO0dBQ2xCLFdBQVc7R0FDWCxZQUFZO0dBQ1osV0FBVztHQUNYLFNBQVM7R0FDVCxXQUFXO0dBQ1gsdUJBQXVCO0dBQ3ZCLHVCQUF1QjtHQUN2QixlQUFlO0NBQ2pCOztDQUVBO0dBQ0UseUJBQXlCO0NBQzNCOztDQUVBO0dBQ0UsMkJBQTJCO0NBQzdCOztDQUVBO0dBQ0UsbUNBQW1DO0dBRW5DLDJCQUEyQjtDQUM3Qjs7Q0FFQSxvQkFBb0I7O0NBQ3BCO0dBQ0UsbUJBQW1CO0NBQ3JCOztDQUVBO0dBQ0Usa0JBQWtCO0NBQ3BCOztDQUVBO0dBQ0Usd0JBQXdCO0FBQzNCOztDQUVBO0NBQ0MsbUJBQW1CO0FBQ3BCOztDQUVBO0NBQ0MsbUJBQW1CO0FBQ3BCIiwiZmlsZSI6InNyYy9hcHAvYWdlbmRhL2FnZW5kYS5jb21wb25lbnQuY3NzIiwic291cmNlc0NvbnRlbnQiOlsiLnN3aXRjaCB7XHJcbiAgIHBvc2l0aW9uOiByZWxhdGl2ZTtcclxuICAgZGlzcGxheTogaW5saW5lLWJsb2NrO1xyXG4gICB3aWR0aDogNjBweDtcclxuICAgaGVpZ2h0OiAzNHB4O1xyXG4gfVxyXG4gXHJcbiAvKiBIaWRlIGRlZmF1bHQgSFRNTCBjaGVja2JveCAqL1xyXG4gLnN3aXRjaCBpbnB1dCB7XHJcbiAgIG9wYWNpdHk6IDA7XHJcbiAgIHdpZHRoOiAwO1xyXG4gICBoZWlnaHQ6IDA7XHJcbiB9XHJcbiBcclxuIC8qIFRoZSBzbGlkZXIgKi9cclxuIC5zbGlkZXIge1xyXG4gICBwb3NpdGlvbjogYWJzb2x1dGU7XHJcbiAgIGN1cnNvcjogcG9pbnRlcjtcclxuICAgdG9wOiAwO1xyXG4gICBsZWZ0OiAwO1xyXG4gICByaWdodDogMDtcclxuICAgYm90dG9tOiAwO1xyXG4gICBiYWNrZ3JvdW5kLWNvbG9yOiAjY2NjO1xyXG4gICAtd2Via2l0LXRyYW5zaXRpb246IC40cztcclxuICAgdHJhbnNpdGlvbjogLjRzO1xyXG4gfVxyXG4gXHJcbiAuc2xpZGVyOmJlZm9yZSB7XHJcbiAgIHBvc2l0aW9uOiBhYnNvbHV0ZTtcclxuICAgY29udGVudDogXCJcIjtcclxuICAgaGVpZ2h0OiAyNnB4O1xyXG4gICB3aWR0aDogMjZweDtcclxuICAgbGVmdDogNHB4O1xyXG4gICBib3R0b206IDRweDtcclxuICAgYmFja2dyb3VuZC1jb2xvcjogd2hpdGU7XHJcbiAgIC13ZWJraXQtdHJhbnNpdGlvbjogLjRzO1xyXG4gICB0cmFuc2l0aW9uOiAuNHM7XHJcbiB9XHJcbiBcclxuIGlucHV0OmNoZWNrZWQgKyAuc2xpZGVyIHtcclxuICAgYmFja2dyb3VuZC1jb2xvcjogIzZlMDM3YztcclxuIH1cclxuIFxyXG4gaW5wdXQ6Zm9jdXMgKyAuc2xpZGVyIHtcclxuICAgYm94LXNoYWRvdzogMCAwIDFweCAjNmUwMzdjO1xyXG4gfVxyXG4gXHJcbiBpbnB1dDpjaGVja2VkICsgLnNsaWRlcjpiZWZvcmUge1xyXG4gICAtd2Via2l0LXRyYW5zZm9ybTogdHJhbnNsYXRlWCgyNnB4KTtcclxuICAgLW1zLXRyYW5zZm9ybTogdHJhbnNsYXRlWCgyNnB4KTtcclxuICAgdHJhbnNmb3JtOiB0cmFuc2xhdGVYKDI2cHgpO1xyXG4gfVxyXG4gXHJcbiAvKiBSb3VuZGVkIHNsaWRlcnMgKi9cclxuIC5zbGlkZXIucm91bmQge1xyXG4gICBib3JkZXItcmFkaXVzOiAzNHB4O1xyXG4gfVxyXG4gXHJcbiAuc2xpZGVyLnJvdW5kOmJlZm9yZSB7XHJcbiAgIGJvcmRlci1yYWRpdXM6IDUwJTtcclxuIH1cclxuXHJcbiAucGFjLWNvbnRhaW5lciB7XHJcbiAgIHotaW5kZXg6IDEwNTEgIWltcG9ydGFudDtcclxufVxyXG5cclxuLnR0IHtcclxuIGJhY2tncm91bmQ6ICMwNDAwZDQ7XHJcbn1cclxuXHJcbi50dDpob3ZlcntcclxuIGJhY2tncm91bmQ6ICMwNDAwZDQ7XHJcbn0iXX0= */"); /***/ }), /***/ "./src/app/agenda/agenda.component.ts": /*!********************************************!*\ !*** ./src/app/agenda/agenda.component.ts ***! \********************************************/ /*! no static exports found */ /***/ (function(module, exports, __webpack_require__) { "use strict"; var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r; return c > 3 && r && Object.defineProperty(target, key, r), r; }; var __metadata = (this && this.__metadata) || function (k, v) { if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v); }; var __importDefault = (this && this.__importDefault) || function (mod) { return (mod && mod.__esModule) ? mod : { "default": mod }; }; Object.defineProperty(exports, "__esModule", { value: true }); var cadastrar_agenda_component_1 = __webpack_require__(/*! ./../modals/cadastrar-agenda/cadastrar-agenda.component */ "./src/app/modals/cadastrar-agenda/cadastrar-agenda.component.ts"); var core_1 = __webpack_require__(/*! @angular/core */ "./node_modules/@angular/core/__ivy_ngcc__/fesm5/core.js"); var exclusoes_component_1 = __webpack_require__(/*! app/modals/exclusoes/exclusoes.component */ "./src/app/modals/exclusoes/exclusoes.component.ts"); var ng_bootstrap_1 = __webpack_require__(/*! @ng-bootstrap/ng-bootstrap */ "./node_modules/@ng-bootstrap/ng-bootstrap/__ivy_ngcc__/fesm5/ng-bootstrap.js"); var api_service_1 = __webpack_require__(/*! app/services/api.service */ "./src/app/services/api.service.ts"); var ngx_toastr_1 = __webpack_require__(/*! ngx-toastr */ "./node_modules/ngx-toastr/__ivy_ngcc__/fesm5/ngx-toastr.js"); var AgendaComponent = /** @class */ (function () { function AgendaComponent(modalService, service, toastrService) { var _this = this; this.modalService = modalService; this.service = service; this.toastrService = toastrService; this.off = 0; this.limit = 10; this.total = 0; this.items = []; this.page = 1; this.loading = false; this.permissao = 1; this.user = {}; this.onPageChange = function (pageNumber) { _this.off = (pageNumber - 1) * _this.limit; _this.getdados(); }; this.user = this.service.getUser(); } AgendaComponent.prototype.ngOnInit = function () { this.getdados(); }; AgendaComponent.prototype.open = function () { var _this = this; var modalRef = this.modalService.open(cadastrar_agenda_component_1.CadastrarAgendaComponent, { size: 'lg' }); modalRef.componentInstance.title = 'Cadastrar agenda'; modalRef.componentInstance.tipo = 1; modalRef.componentInstance.passEntry.subscribe(function (receivedEntry) { _this.getdados(); }); }; AgendaComponent.prototype.trocar_permissao = function (ev) { this.off = 0; this.page = 1; this.permissao = ev; this.getdados(); }; AgendaComponent.prototype.getItems = function (ev) { this.off = 0; this.page = 1; this.getdados(); }; AgendaComponent.prototype.alterar = function (p) { var _this = this; var modalRef = this.modalService.open(cadastrar_agenda_component_1.CadastrarAgendaComponent, { size: 'lg' }); modalRef.componentInstance.title = 'Alterar agenda'; modalRef.componentInstance.tipo = 2; delete p.senha; modalRef.componentInstance.userData = p; modalRef.componentInstance.passEntry.subscribe(function (receivedEntry) { _this.getdados(); }); }; AgendaComponent.prototype.excluir = function (p) { var _this = this; var modalRef = this.modalService.open(exclusoes_component_1.ExclusoesComponent, { size: 'lg' }); modalRef.componentInstance.title = 'Excluir agenda'; modalRef.componentInstance.tipo = 15; modalRef.componentInstance.userData = p; modalRef.componentInstance.passEntry.subscribe(function (receivedEntry) { _this.getdados(); }); }; AgendaComponent.prototype.getdados = function () { var _this = this; this.loading = true; var dados = { permissao: this.permissao, limit: this.limit, offset: this.off, pesquisa: this.pesquisa }; this.service.getAgenda(dados).then(function (result) { _this.loading = false; _this.items = result.dados; _this.total = result.total; }); }; AgendaComponent.prototype.alterar_status = function (item) { var _this = this; if (item.status_agenda == 1) { item.status_agenda = 2; } else if (item.status_agenda != 1) { item.status_agenda = 1; } var dados = { status_agenda: item.status_agenda, id_agenda: item.id_agenda }; this.service.updateAgenda(dados).then(function (data) { if (data.mensagem == 1) { _this.toastrService.success('Status alterado com sucesso', 'Sucesso!'); } else { if (item.status_agenda == 1) { item.status_agenda = 2; } else if (item.status_agenda != 1) { item.status_agenda = 1; } _this.toastrService.error('Não foi possivel alterar o status, tente novamente mais tarde', 'Desculpe!'); } }, function (error) { }); }; AgendaComponent.ctorParameters = function () { return [ { type: ng_bootstrap_1.NgbModal }, { type: api_service_1.ApiService }, { type: ngx_toastr_1.ToastrService } ]; }; AgendaComponent = __decorate([ core_1.Component({ selector: 'app-agenda', template: __importDefault(__webpack_require__(/*! raw-loader!./agenda.component.html */ "./node_modules/raw-loader/dist/cjs.js!./src/app/agenda/agenda.component.html")).default, styles: [__importDefault(__webpack_require__(/*! ./agenda.component.css */ "./src/app/agenda/agenda.component.css")).default] }), __metadata("design:paramtypes", [ng_bootstrap_1.NgbModal, api_service_1.ApiService, ngx_toastr_1.ToastrService]) ], AgendaComponent); return AgendaComponent; }()); exports.AgendaComponent = AgendaComponent; /***/ }), /***/ "./src/app/app.component.css": /*!***********************************!*\ !*** ./src/app/app.component.css ***! \***********************************/ /*! exports provided: default */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony default export */ __webpack_exports__["default"] = (".pac-container {\r\n z-index: 1051 !important;\r\n}\r\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbInNyYy9hcHAvYXBwLmNvbXBvbmVudC5jc3MiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUE7SUFDSSx3QkFBd0I7QUFDNUIiLCJmaWxlIjoic3JjL2FwcC9hcHAuY29tcG9uZW50LmNzcyIsInNvdXJjZXNDb250ZW50IjpbIi5wYWMtY29udGFpbmVyIHtcclxuICAgIHotaW5kZXg6IDEwNTEgIWltcG9ydGFudDtcclxufSJdfQ== */"); /***/ }), /***/ "./src/app/app.component.ts": /*!**********************************!*\ !*** ./src/app/app.component.ts ***! \**********************************/ /*! no static exports found */ /***/ (function(module, exports, __webpack_require__) { "use strict"; var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r; return c > 3 && r && Object.defineProperty(target, key, r), r; }; var __importDefault = (this && this.__importDefault) || function (mod) { return (mod && mod.__esModule) ? mod : { "default": mod }; }; Object.defineProperty(exports, "__esModule", { value: true }); var core_1 = __webpack_require__(/*! @angular/core */ "./node_modules/@angular/core/__ivy_ngcc__/fesm5/core.js"); var AppComponent = /** @class */ (function () { function AppComponent() { } AppComponent = __decorate([ core_1.Component({ selector: 'app-root', template: __importDefault(__webpack_require__(/*! raw-loader!./app.component.html */ "./node_modules/raw-loader/dist/cjs.js!./src/app/app.component.html")).default, styles: [__importDefault(__webpack_require__(/*! ./app.component.css */ "./src/app/app.component.css")).default] }) ], AppComponent); return AppComponent; }()); exports.AppComponent = AppComponent; /***/ }), /***/ "./src/app/app.module.ts": /*!*******************************!*\ !*** ./src/app/app.module.ts ***! \*******************************/ /*! no static exports found */ /***/ (function(module, exports, __webpack_require__) { "use strict"; var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r; return c > 3 && r && Object.defineProperty(target, key, r), r; }; var __importDefault = (this && this.__importDefault) || function (mod) { return (mod && mod.__esModule) ? mod : { "default": mod }; }; Object.defineProperty(exports, "__esModule", { value: true }); var rec_senha_component_1 = __webpack_require__(/*! ./modals/rec-senha/rec-senha.component */ "./src/app/modals/rec-senha/rec-senha.component.ts"); var animations_1 = __webpack_require__(/*! @angular/platform-browser/animations */ "./node_modules/@angular/platform-browser/__ivy_ngcc__/fesm5/animations.js"); var core_1 = __webpack_require__(/*! @angular/core */ "./node_modules/@angular/core/__ivy_ngcc__/fesm5/core.js"); var forms_1 = __webpack_require__(/*! @angular/forms */ "./node_modules/@angular/forms/__ivy_ngcc__/fesm5/forms.js"); var router_1 = __webpack_require__(/*! @angular/router */ "./node_modules/@angular/router/__ivy_ngcc__/fesm5/router.js"); var app_routing_1 = __webpack_require__(/*! ./app.routing */ "./src/app/app.routing.ts"); var components_module_1 = __webpack_require__(/*! ./components/components.module */ "./src/app/components/components.module.ts"); var app_component_1 = __webpack_require__(/*! ./app.component */ "./src/app/app.component.ts"); var admin_layout_component_1 = __webpack_require__(/*! ./layouts/admin-layout/admin-layout.component */ "./src/app/layouts/admin-layout/admin-layout.component.ts"); var ng_bootstrap_1 = __webpack_require__(/*! @ng-bootstrap/ng-bootstrap */ "./node_modules/@ng-bootstrap/ng-bootstrap/__ivy_ngcc__/fesm5/ng-bootstrap.js"); var http_1 = __webpack_require__(/*! @angular/common/http */ "./node_modules/@angular/common/__ivy_ngcc__/fesm5/http.js"); var ngx_toastr_1 = __webpack_require__(/*! ngx-toastr */ "./node_modules/ngx-toastr/__ivy_ngcc__/fesm5/ngx-toastr.js"); var login_component_1 = __webpack_require__(/*! ./login/login.component */ "./src/app/login/login.component.ts"); var ngx_loading_1 = __webpack_require__(/*! ngx-loading */ "./node_modules/ngx-loading/__ivy_ngcc__/fesm5/ngx-loading.js"); var ngx_infinite_scroll_1 = __webpack_require__(/*! ngx-infinite-scroll */ "./node_modules/ngx-infinite-scroll/__ivy_ngcc__/modules/ngx-infinite-scroll.es5.js"); var secretarias_component_1 = __webpack_require__(/*! ./secretarias/secretarias.component */ "./src/app/secretarias/secretarias.component.ts"); var cadastrar_secretaria_component_1 = __webpack_require__(/*! ./modals/cadastrar-secretaria/cadastrar-secretaria.component */ "./src/app/modals/cadastrar-secretaria/cadastrar-secretaria.component.ts"); var noticias_component_1 = __webpack_require__(/*! ./noticias/noticias.component */ "./src/app/noticias/noticias.component.ts"); var cadastrar_noticias_component_1 = __webpack_require__(/*! ./modals/cadastrar-noticias/cadastrar-noticias.component */ "./src/app/modals/cadastrar-noticias/cadastrar-noticias.component.ts"); var ckeditor5_angular_1 = __webpack_require__(/*! @ckeditor/ckeditor5-angular */ "./node_modules/@ckeditor/ckeditor5-angular/__ivy_ngcc__/fesm2015/ckeditor-ckeditor5-angular.js"); var galerias_component_1 = __webpack_require__(/*! ./galerias/galerias.component */ "./src/app/galerias/galerias.component.ts"); var cadastrar_galeria_component_1 = __webpack_require__(/*! ./modals/cadastrar-galeria/cadastrar-galeria.component */ "./src/app/modals/cadastrar-galeria/cadastrar-galeria.component.ts"); var categorias_component_1 = __webpack_require__(/*! ./categorias/categorias.component */ "./src/app/categorias/categorias.component.ts"); var cadastrar_categorias_component_1 = __webpack_require__(/*! ./modals/cadastrar-categorias/cadastrar-categorias.component */ "./src/app/modals/cadastrar-categorias/cadastrar-categorias.component.ts"); var update_configuracoes_component_1 = __webpack_require__(/*! ./modals/update-configuracoes/update-configuracoes.component */ "./src/app/modals/update-configuracoes/update-configuracoes.component.ts"); var configuracoes_component_1 = __webpack_require__(/*! ./configuracoes/configuracoes.component */ "./src/app/configuracoes/configuracoes.component.ts"); var exclusoes_component_1 = __webpack_require__(/*! ./modals/exclusoes/exclusoes.component */ "./src/app/modals/exclusoes/exclusoes.component.ts"); var view_galeria_component_1 = __webpack_require__(/*! ./view-galeria/view-galeria.component */ "./src/app/view-galeria/view-galeria.component.ts"); var cadastrar_itens_galeria_component_1 = __webpack_require__(/*! ./modals/cadastrar-itens-galeria/cadastrar-itens-galeria.component */ "./src/app/modals/cadastrar-itens-galeria/cadastrar-itens-galeria.component.ts"); var ngx_lightbox_1 = __webpack_require__(/*! ngx-lightbox */ "./node_modules/ngx-lightbox/__ivy_ngcc__/index.js"); var banners_component_1 = __webpack_require__(/*! ./banners/banners.component */ "./src/app/banners/banners.component.ts"); var alterar_banners_component_1 = __webpack_require__(/*! ./modals/alterar-banners/alterar-banners.component */ "./src/app/modals/alterar-banners/alterar-banners.component.ts"); var barras_laterais_component_1 = __webpack_require__(/*! ./barras-laterais/barras-laterais.component */ "./src/app/barras-laterais/barras-laterais.component.ts"); var cadastrar_barra_lateral_component_1 = __webpack_require__(/*! ./modals/cadastrar-barra-lateral/cadastrar-barra-lateral.component */ "./src/app/modals/cadastrar-barra-lateral/cadastrar-barra-lateral.component.ts"); var itens_barra_lateral_component_1 = __webpack_require__(/*! ./modals/itens-barra-lateral/itens-barra-lateral.component */ "./src/app/modals/itens-barra-lateral/itens-barra-lateral.component.ts"); var cadastrar_itens_barra_lateral_component_1 = __webpack_require__(/*! ./modals/cadastrar-itens-barra-lateral/cadastrar-itens-barra-lateral.component */ "./src/app/modals/cadastrar-itens-barra-lateral/cadastrar-itens-barra-lateral.component.ts"); var menus_component_1 = __webpack_require__(/*! ./menus/menus.component */ "./src/app/menus/menus.component.ts"); var cadastrar_menus_component_1 = __webpack_require__(/*! ./modals/cadastrar-menus/cadastrar-menus.component */ "./src/app/modals/cadastrar-menus/cadastrar-menus.component.ts"); var links_uteis_component_1 = __webpack_require__(/*! ./links-uteis/links-uteis.component */ "./src/app/links-uteis/links-uteis.component.ts"); var cadastrar_links_uteis_component_1 = __webpack_require__(/*! ./modals/cadastrar-links-uteis/cadastrar-links-uteis.component */ "./src/app/modals/cadastrar-links-uteis/cadastrar-links-uteis.component.ts"); var covid_component_1 = __webpack_require__(/*! ./covid/covid.component */ "./src/app/covid/covid.component.ts"); var cadastro_covid_component_1 = __webpack_require__(/*! ./modals/cadastro-covid/cadastro-covid.component */ "./src/app/modals/cadastro-covid/cadastro-covid.component.ts"); var submenus_component_1 = __webpack_require__(/*! ./modals/submenus/submenus.component */ "./src/app/modals/submenus/submenus.component.ts"); var cadastrar_submenus_component_1 = __webpack_require__(/*! ./modals/cadastrar-submenus/cadastrar-submenus.component */ "./src/app/modals/cadastrar-submenus/cadastrar-submenus.component.ts"); var contato_component_1 = __webpack_require__(/*! ./contato/contato.component */ "./src/app/contato/contato.component.ts"); var view_contato_component_1 = __webpack_require__(/*! ./modals/view-contato/view-contato.component */ "./src/app/modals/view-contato/view-contato.component.ts"); var ngx_print_1 = __webpack_require__(/*! ngx-print */ "./node_modules/ngx-print/__ivy_ngcc__/fesm5/ngx-print.js"); var gerar_link_component_1 = __webpack_require__(/*! ./modals/gerar-link/gerar-link.component */ "./src/app/modals/gerar-link/gerar-link.component.ts"); var link_embed_component_1 = __webpack_require__(/*! ./link-embed/link-embed.component */ "./src/app/link-embed/link-embed.component.ts"); var cadastrar_link_embed_component_1 = __webpack_require__(/*! ./modals/cadastrar-link-embed/cadastrar-link-embed.component */ "./src/app/modals/cadastrar-link-embed/cadastrar-link-embed.component.ts"); var ng_select_1 = __webpack_require__(/*! @ng-select/ng-select */ "./node_modules/@ng-select/ng-select/__ivy_ngcc__/fesm5/ng-select-ng-select.js"); var vereadores_component_1 = __webpack_require__(/*! ./vereadores/vereadores.component */ "./src/app/vereadores/vereadores.component.ts"); var cadastrar_vereadores_component_1 = __webpack_require__(/*! ./modals/cadastrar-vereadores/cadastrar-vereadores.component */ "./src/app/modals/cadastrar-vereadores/cadastrar-vereadores.component.ts"); var progress_bar_1 = __webpack_require__(/*! @angular/material/progress-bar */ "./node_modules/@angular/material/__ivy_ngcc__/fesm5/progress-bar.js"); var transmissoes_component_1 = __webpack_require__(/*! ./transmissoes/transmissoes.component */ "./src/app/transmissoes/transmissoes.component.ts"); var agenda_component_1 = __webpack_require__(/*! ./agenda/agenda.component */ "./src/app/agenda/agenda.component.ts"); var pauta_component_1 = __webpack_require__(/*! ./pauta/pauta.component */ "./src/app/pauta/pauta.component.ts"); var cadastrar_pauta_component_1 = __webpack_require__(/*! ./modals/cadastrar-pauta/cadastrar-pauta.component */ "./src/app/modals/cadastrar-pauta/cadastrar-pauta.component.ts"); var cadastrar_transmissoes_component_1 = __webpack_require__(/*! ./modals/cadastrar-transmissoes/cadastrar-transmissoes.component */ "./src/app/modals/cadastrar-transmissoes/cadastrar-transmissoes.component.ts"); var cadastrar_agenda_component_1 = __webpack_require__(/*! ./modals/cadastrar-agenda/cadastrar-agenda.component */ "./src/app/modals/cadastrar-agenda/cadastrar-agenda.component.ts"); var cadastrar_covid3_component_1 = __webpack_require__(/*! ./modals/cadastrar-covid3/cadastrar-covid3.component */ "./src/app/modals/cadastrar-covid3/cadastrar-covid3.component.ts"); var ng_org_chart_1 = __webpack_require__(/*! ng-org-chart */ "./node_modules/ng-org-chart/__ivy_ngcc__/ng-org-chart.es5.js"); var estrutura_organizacional_component_1 = __webpack_require__(/*! ./estrutura-organizacional/estrutura-organizacional.component */ "./src/app/estrutura-organizacional/estrutura-organizacional.component.ts"); var radio_component_1 = __webpack_require__(/*! ./radio/radio.component */ "./src/app/radio/radio.component.ts"); var cadastrar_radio_component_1 = __webpack_require__(/*! ./modals/cadastrar-radio/cadastrar-radio.component */ "./src/app/modals/cadastrar-radio/cadastrar-radio.component.ts"); var sitemap_component_1 = __webpack_require__(/*! ./sitemap/sitemap.component */ "./src/app/sitemap/sitemap.component.ts"); var cadastrar_site_map_component_1 = __webpack_require__(/*! ./modals/cadastrar-site-map/cadastrar-site-map.component */ "./src/app/modals/cadastrar-site-map/cadastrar-site-map.component.ts"); var categoriapublicacao_component_1 = __webpack_require__(/*! ./categoriapublicacao/categoriapublicacao.component */ "./src/app/categoriapublicacao/categoriapublicacao.component.ts"); var cadastrar_categoria_publicacao_component_1 = __webpack_require__(/*! ./modals/cadastrar-categoria-publicacao/cadastrar-categoria-publicacao.component */ "./src/app/modals/cadastrar-categoria-publicacao/cadastrar-categoria-publicacao.component.ts"); var obras_component_1 = __webpack_require__(/*! ./obras/obras.component */ "./src/app/obras/obras.component.ts"); var cadastrar_obras_component_1 = __webpack_require__(/*! ./modals/cadastrar-obras/cadastrar-obras.component */ "./src/app/modals/cadastrar-obras/cadastrar-obras.component.ts"); var pesquisa_component_1 = __webpack_require__(/*! ./pesquisa/pesquisa.component */ "./src/app/pesquisa/pesquisa.component.ts"); var AppModule = /** @class */ (function () { function AppModule() { } AppModule = __decorate([ core_1.NgModule({ imports: [ ng_org_chart_1.OrgChartModule, animations_1.BrowserAnimationsModule, forms_1.ReactiveFormsModule, http_1.HttpClientModule, components_module_1.ComponentsModule, router_1.RouterModule, app_routing_1.AppRoutingModule, ng_bootstrap_1.NgbModule, ng_select_1.NgSelectModule, forms_1.FormsModule, ngx_toastr_1.ToastrModule.forRoot(), ngx_loading_1.NgxLoadingModule.forRoot({}), ngx_infinite_scroll_1.InfiniteScrollModule, ckeditor5_angular_1.CKEditorModule, ngx_lightbox_1.LightboxModule, ngx_print_1.NgxPrintModule, progress_bar_1.MatProgressBarModule ], declarations: [ app_component_1.AppComponent, admin_layout_component_1.AdminLayoutComponent, login_component_1.LoginComponent, rec_senha_component_1.RecSenhaComponent, secretarias_component_1.SecretariasComponent, cadastrar_secretaria_component_1.CadastrarSecretariaComponent, noticias_component_1.NoticiasComponent, cadastrar_noticias_component_1.CadastrarNoticiasComponent, galerias_component_1.GaleriasComponent, cadastrar_galeria_component_1.CadastrarGaleriaComponent, categorias_component_1.CategoriasComponent, cadastrar_categorias_component_1.CadastrarCategoriasComponent, update_configuracoes_component_1.UpdateConfiguracoesComponent, configuracoes_component_1.ConfiguracoesComponent, exclusoes_component_1.ExclusoesComponent, view_galeria_component_1.ViewGaleriaComponent, cadastrar_itens_galeria_component_1.CadastrarItensGaleriaComponent, banners_component_1.BannersComponent, alterar_banners_component_1.AlterarBannersComponent, barras_laterais_component_1.BarrasLateraisComponent, cadastrar_barra_lateral_component_1.CadastrarBarraLateralComponent, itens_barra_lateral_component_1.ItensBarraLateralComponent, cadastrar_itens_barra_lateral_component_1.CadastrarItensBarraLateralComponent, menus_component_1.MenusComponent, cadastrar_menus_component_1.CadastrarMenusComponent, links_uteis_component_1.LinksUteisComponent, cadastrar_links_uteis_component_1.CadastrarLinksUteisComponent, covid_component_1.CovidComponent, cadastro_covid_component_1.CadastroCovidComponent, submenus_component_1.SubmenusComponent, cadastrar_submenus_component_1.CadastrarSubmenusComponent, contato_component_1.ContatoComponent, view_contato_component_1.ViewContatoComponent, gerar_link_component_1.GerarLinkComponent, link_embed_component_1.LinkEmbedComponent, cadastrar_link_embed_component_1.CadastrarLinkEmbedComponent, vereadores_component_1.VereadoresComponent, cadastrar_vereadores_component_1.CadastrarVereadoresComponent, transmissoes_component_1.TransmissoesComponent, agenda_component_1.AgendaComponent, pauta_component_1.PautaComponent, cadastrar_pauta_component_1.CadastrarPautaComponent, cadastrar_transmissoes_component_1.CadastrarTransmissoesComponent, cadastrar_agenda_component_1.CadastrarAgendaComponent, cadastrar_covid3_component_1.CadastrarCovid3Component, estrutura_organizacional_component_1.EstruturaOrganizacionalComponent, radio_component_1.RadioComponent, cadastrar_radio_component_1.CadastrarRadioComponent, sitemap_component_1.SitemapComponent, cadastrar_site_map_component_1.CadastrarSiteMapComponent, categoriapublicacao_component_1.CategoriapublicacaoComponent, cadastrar_categoria_publicacao_component_1.CadastrarCategoriaPublicacaoComponent, obras_component_1.ObrasComponent, cadastrar_obras_component_1.CadastrarObrasComponent, pesquisa_component_1.PesquisaComponent ], providers: [], bootstrap: [app_component_1.AppComponent] }) ], AppModule); return AppModule; }()); exports.AppModule = AppModule; /***/ }), /***/ "./src/app/app.routing.ts": /*!********************************!*\ !*** ./src/app/app.routing.ts ***! \********************************/ /*! no static exports found */ /***/ (function(module, exports, __webpack_require__) { "use strict"; var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r; return c > 3 && r && Object.defineProperty(target, key, r), r; }; var __importDefault = (this && this.__importDefault) || function (mod) { return (mod && mod.__esModule) ? mod : { "default": mod }; }; Object.defineProperty(exports, "__esModule", { value: true }); var core_1 = __webpack_require__(/*! @angular/core */ "./node_modules/@angular/core/__ivy_ngcc__/fesm5/core.js"); var common_1 = __webpack_require__(/*! @angular/common */ "./node_modules/@angular/common/__ivy_ngcc__/fesm5/common.js"); var platform_browser_1 = __webpack_require__(/*! @angular/platform-browser */ "./node_modules/@angular/platform-browser/__ivy_ngcc__/fesm5/platform-browser.js"); var router_1 = __webpack_require__(/*! @angular/router */ "./node_modules/@angular/router/__ivy_ngcc__/fesm5/router.js"); var admin_layout_component_1 = __webpack_require__(/*! ./layouts/admin-layout/admin-layout.component */ "./src/app/layouts/admin-layout/admin-layout.component.ts"); var login_component_1 = __webpack_require__(/*! ./login/login.component */ "./src/app/login/login.component.ts"); var routes = [ { path: '', component: admin_layout_component_1.AdminLayoutComponent, children: [ { path: '', loadChildren: './layouts/admin-layout/admin-layout.module#AdminLayoutModule' }, { path: 'transparencia', loadChildren: './transparencia/transparencia.module#TransparenciaModule' }, ] }, { path: 'login/:id', component: login_component_1.LoginComponent }, { path: 'login', component: login_component_1.LoginComponent }, ]; var AppRoutingModule = /** @class */ (function () { function AppRoutingModule() { } AppRoutingModule = __decorate([ core_1.NgModule({ imports: [ common_1.CommonModule, platform_browser_1.BrowserModule, router_1.RouterModule.forRoot(routes, { useHash: true }) ], exports: [], }) ], AppRoutingModule); return AppRoutingModule; }()); exports.AppRoutingModule = AppRoutingModule; /***/ }), /***/ "./src/app/banners/banners.component.css": /*!***********************************************!*\ !*** ./src/app/banners/banners.component.css ***! \***********************************************/ /*! exports provided: default */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony default export */ __webpack_exports__["default"] = ("\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiIsImZpbGUiOiJzcmMvYXBwL2Jhbm5lcnMvYmFubmVycy5jb21wb25lbnQuY3NzIn0= */"); /***/ }), /***/ "./src/app/banners/banners.component.ts": /*!**********************************************!*\ !*** ./src/app/banners/banners.component.ts ***! \**********************************************/ /*! no static exports found */ /***/ (function(module, exports, __webpack_require__) { "use strict"; var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r; return c > 3 && r && Object.defineProperty(target, key, r), r; }; var __metadata = (this && this.__metadata) || function (k, v) { if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v); }; var __importDefault = (this && this.__importDefault) || function (mod) { return (mod && mod.__esModule) ? mod : { "default": mod }; }; Object.defineProperty(exports, "__esModule", { value: true }); var alterar_banners_component_1 = __webpack_require__(/*! ./../modals/alterar-banners/alterar-banners.component */ "./src/app/modals/alterar-banners/alterar-banners.component.ts"); var core_1 = __webpack_require__(/*! @angular/core */ "./node_modules/@angular/core/__ivy_ngcc__/fesm5/core.js"); var ng_bootstrap_1 = __webpack_require__(/*! @ng-bootstrap/ng-bootstrap */ "./node_modules/@ng-bootstrap/ng-bootstrap/__ivy_ngcc__/fesm5/ng-bootstrap.js"); var api_service_1 = __webpack_require__(/*! app/services/api.service */ "./src/app/services/api.service.ts"); var ngx_toastr_1 = __webpack_require__(/*! ngx-toastr */ "./node_modules/ngx-toastr/__ivy_ngcc__/fesm5/ngx-toastr.js"); var BannersComponent = /** @class */ (function () { function BannersComponent(modalService, service, toastrService) { this.modalService = modalService; this.service = service; this.toastrService = toastrService; this.items = {}; this.loading = false; this.permissao = 1; this.user = {}; this.user = this.service.getUser(); this.service.isSuperUser(); this.path = this.service.getPath(); } ; BannersComponent.prototype.ngOnInit = function () { this.getdados(); }; BannersComponent.prototype.alterar = function (p, tipo) { var _this = this; var modalRef = this.modalService.open(alterar_banners_component_1.AlterarBannersComponent, { size: 'lg' }); modalRef.componentInstance.title = 'Alterar configuracoes'; modalRef.componentInstance.tipo = tipo; modalRef.componentInstance.userData = p; modalRef.componentInstance.passEntry.subscribe(function (receivedEntry) { _this.getdados(); }); }; BannersComponent.prototype.getdados = function () { var _this = this; var dados = {}; this.service.getBanners(dados).then(function (result) { _this.items = result.mensagem; }); }; BannersComponent.ctorParameters = function () { return [ { type: ng_bootstrap_1.NgbModal }, { type: api_service_1.ApiService }, { type: ngx_toastr_1.ToastrService } ]; }; BannersComponent = __decorate([ core_1.Component({ selector: 'app-banners', template: __importDefault(__webpack_require__(/*! raw-loader!./banners.component.html */ "./node_modules/raw-loader/dist/cjs.js!./src/app/banners/banners.component.html")).default, styles: [__importDefault(__webpack_require__(/*! ./banners.component.css */ "./src/app/banners/banners.component.css")).default] }), __metadata("design:paramtypes", [ng_bootstrap_1.NgbModal, api_service_1.ApiService, ngx_toastr_1.ToastrService]) ], BannersComponent); return BannersComponent; }()); exports.BannersComponent = BannersComponent; /***/ }), /***/ "./src/app/barras-laterais/barras-laterais.component.css": /*!***************************************************************!*\ !*** ./src/app/barras-laterais/barras-laterais.component.css ***! \***************************************************************/ /*! exports provided: default */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony default export */ __webpack_exports__["default"] = (".switch {\r\n position: relative;\r\n display: inline-block;\r\n width: 60px;\r\n height: 34px;\r\n }\r\n \r\n /* Hide default HTML checkbox */\r\n \r\n .switch input {\r\n opacity: 0;\r\n width: 0;\r\n height: 0;\r\n }\r\n \r\n /* The slider */\r\n \r\n .slider {\r\n position: absolute;\r\n cursor: pointer;\r\n top: 0;\r\n left: 0;\r\n right: 0;\r\n bottom: 0;\r\n background-color: #ccc;\r\n -webkit-transition: .4s;\r\n transition: .4s;\r\n }\r\n \r\n .slider:before {\r\n position: absolute;\r\n content: \"\";\r\n height: 26px;\r\n width: 26px;\r\n left: 4px;\r\n bottom: 4px;\r\n background-color: white;\r\n -webkit-transition: .4s;\r\n transition: .4s;\r\n }\r\n \r\n input:checked + .slider {\r\n background-color: #6e037c;\r\n }\r\n \r\n input:focus + .slider {\r\n box-shadow: 0 0 1px #6e037c;\r\n }\r\n \r\n input:checked + .slider:before {\r\n -webkit-transform: translateX(26px);\r\n transform: translateX(26px);\r\n }\r\n \r\n /* Rounded sliders */\r\n \r\n .slider.round {\r\n border-radius: 34px;\r\n }\r\n \r\n .slider.round:before {\r\n border-radius: 50%;\r\n }\r\n \r\n .pac-container {\r\n z-index: 1051 !important;\r\n}\r\n \r\n .tt {\r\n background: #0400d4;\r\n}\r\n \r\n .tt:hover{\r\n background: #0400d4;\r\n}\r\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbInNyYy9hcHAvYmFycmFzLWxhdGVyYWlzL2JhcnJhcy1sYXRlcmFpcy5jb21wb25lbnQuY3NzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBO0lBQ0ksa0JBQWtCO0lBQ2xCLHFCQUFxQjtJQUNyQixXQUFXO0lBQ1gsWUFBWTtFQUNkOztFQUVBLCtCQUErQjs7RUFDL0I7SUFDRSxVQUFVO0lBQ1YsUUFBUTtJQUNSLFNBQVM7RUFDWDs7RUFFQSxlQUFlOztFQUNmO0lBQ0Usa0JBQWtCO0lBQ2xCLGVBQWU7SUFDZixNQUFNO0lBQ04sT0FBTztJQUNQLFFBQVE7SUFDUixTQUFTO0lBQ1Qsc0JBQXNCO0lBQ3RCLHVCQUF1QjtJQUN2QixlQUFlO0VBQ2pCOztFQUVBO0lBQ0Usa0JBQWtCO0lBQ2xCLFdBQVc7SUFDWCxZQUFZO0lBQ1osV0FBVztJQUNYLFNBQVM7SUFDVCxXQUFXO0lBQ1gsdUJBQXVCO0lBQ3ZCLHVCQUF1QjtJQUN2QixlQUFlO0VBQ2pCOztFQUVBO0lBQ0UseUJBQXlCO0VBQzNCOztFQUVBO0lBQ0UsMkJBQTJCO0VBQzdCOztFQUVBO0lBQ0UsbUNBQW1DO0lBRW5DLDJCQUEyQjtFQUM3Qjs7RUFFQSxvQkFBb0I7O0VBQ3BCO0lBQ0UsbUJBQW1CO0VBQ3JCOztFQUVBO0lBQ0Usa0JBQWtCO0VBQ3BCOztFQUVBO0lBQ0Usd0JBQXdCO0FBQzVCOztFQUVBO0VBQ0UsbUJBQW1CO0FBQ3JCOztFQUVBO0VBQ0UsbUJBQW1CO0FBQ3JCIiwiZmlsZSI6InNyYy9hcHAvYmFycmFzLWxhdGVyYWlzL2JhcnJhcy1sYXRlcmFpcy5jb21wb25lbnQuY3NzIiwic291cmNlc0NvbnRlbnQiOlsiLnN3aXRjaCB7XHJcbiAgICBwb3NpdGlvbjogcmVsYXRpdmU7XHJcbiAgICBkaXNwbGF5OiBpbmxpbmUtYmxvY2s7XHJcbiAgICB3aWR0aDogNjBweDtcclxuICAgIGhlaWdodDogMzRweDtcclxuICB9XHJcbiAgXHJcbiAgLyogSGlkZSBkZWZhdWx0IEhUTUwgY2hlY2tib3ggKi9cclxuICAuc3dpdGNoIGlucHV0IHtcclxuICAgIG9wYWNpdHk6IDA7XHJcbiAgICB3aWR0aDogMDtcclxuICAgIGhlaWdodDogMDtcclxuICB9XHJcbiAgXHJcbiAgLyogVGhlIHNsaWRlciAqL1xyXG4gIC5zbGlkZXIge1xyXG4gICAgcG9zaXRpb246IGFic29sdXRlO1xyXG4gICAgY3Vyc29yOiBwb2ludGVyO1xyXG4gICAgdG9wOiAwO1xyXG4gICAgbGVmdDogMDtcclxuICAgIHJpZ2h0OiAwO1xyXG4gICAgYm90dG9tOiAwO1xyXG4gICAgYmFja2dyb3VuZC1jb2xvcjogI2NjYztcclxuICAgIC13ZWJraXQtdHJhbnNpdGlvbjogLjRzO1xyXG4gICAgdHJhbnNpdGlvbjogLjRzO1xyXG4gIH1cclxuICBcclxuICAuc2xpZGVyOmJlZm9yZSB7XHJcbiAgICBwb3NpdGlvbjogYWJzb2x1dGU7XHJcbiAgICBjb250ZW50OiBcIlwiO1xyXG4gICAgaGVpZ2h0OiAyNnB4O1xyXG4gICAgd2lkdGg6IDI2cHg7XHJcbiAgICBsZWZ0OiA0cHg7XHJcbiAgICBib3R0b206IDRweDtcclxuICAgIGJhY2tncm91bmQtY29sb3I6IHdoaXRlO1xyXG4gICAgLXdlYmtpdC10cmFuc2l0aW9uOiAuNHM7XHJcbiAgICB0cmFuc2l0aW9uOiAuNHM7XHJcbiAgfVxyXG4gIFxyXG4gIGlucHV0OmNoZWNrZWQgKyAuc2xpZGVyIHtcclxuICAgIGJhY2tncm91bmQtY29sb3I6ICM2ZTAzN2M7XHJcbiAgfVxyXG4gIFxyXG4gIGlucHV0OmZvY3VzICsgLnNsaWRlciB7XHJcbiAgICBib3gtc2hhZG93OiAwIDAgMXB4ICM2ZTAzN2M7XHJcbiAgfVxyXG4gIFxyXG4gIGlucHV0OmNoZWNrZWQgKyAuc2xpZGVyOmJlZm9yZSB7XHJcbiAgICAtd2Via2l0LXRyYW5zZm9ybTogdHJhbnNsYXRlWCgyNnB4KTtcclxuICAgIC1tcy10cmFuc2Zvcm06IHRyYW5zbGF0ZVgoMjZweCk7XHJcbiAgICB0cmFuc2Zvcm06IHRyYW5zbGF0ZVgoMjZweCk7XHJcbiAgfVxyXG4gIFxyXG4gIC8qIFJvdW5kZWQgc2xpZGVycyAqL1xyXG4gIC5zbGlkZXIucm91bmQge1xyXG4gICAgYm9yZGVyLXJhZGl1czogMzRweDtcclxuICB9XHJcbiAgXHJcbiAgLnNsaWRlci5yb3VuZDpiZWZvcmUge1xyXG4gICAgYm9yZGVyLXJhZGl1czogNTAlO1xyXG4gIH1cclxuXHJcbiAgLnBhYy1jb250YWluZXIge1xyXG4gICAgei1pbmRleDogMTA1MSAhaW1wb3J0YW50O1xyXG59XHJcblxyXG4udHQge1xyXG4gIGJhY2tncm91bmQ6ICMwNDAwZDQ7XHJcbn1cclxuXHJcbi50dDpob3ZlcntcclxuICBiYWNrZ3JvdW5kOiAjMDQwMGQ0O1xyXG59Il19 */"); /***/ }), /***/ "./src/app/barras-laterais/barras-laterais.component.ts": /*!**************************************************************!*\ !*** ./src/app/barras-laterais/barras-laterais.component.ts ***! \**************************************************************/ /*! no static exports found */ /***/ (function(module, exports, __webpack_require__) { "use strict"; var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r; return c > 3 && r && Object.defineProperty(target, key, r), r; }; var __metadata = (this && this.__metadata) || function (k, v) { if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v); }; var __importDefault = (this && this.__importDefault) || function (mod) { return (mod && mod.__esModule) ? mod : { "default": mod }; }; Object.defineProperty(exports, "__esModule", { value: true }); var itens_barra_lateral_component_1 = __webpack_require__(/*! ./../modals/itens-barra-lateral/itens-barra-lateral.component */ "./src/app/modals/itens-barra-lateral/itens-barra-lateral.component.ts"); var cadastrar_barra_lateral_component_1 = __webpack_require__(/*! ./../modals/cadastrar-barra-lateral/cadastrar-barra-lateral.component */ "./src/app/modals/cadastrar-barra-lateral/cadastrar-barra-lateral.component.ts"); var core_1 = __webpack_require__(/*! @angular/core */ "./node_modules/@angular/core/__ivy_ngcc__/fesm5/core.js"); var ng_bootstrap_1 = __webpack_require__(/*! @ng-bootstrap/ng-bootstrap */ "./node_modules/@ng-bootstrap/ng-bootstrap/__ivy_ngcc__/fesm5/ng-bootstrap.js"); var exclusoes_component_1 = __webpack_require__(/*! app/modals/exclusoes/exclusoes.component */ "./src/app/modals/exclusoes/exclusoes.component.ts"); var api_service_1 = __webpack_require__(/*! app/services/api.service */ "./src/app/services/api.service.ts"); var ngx_toastr_1 = __webpack_require__(/*! ngx-toastr */ "./node_modules/ngx-toastr/__ivy_ngcc__/fesm5/ngx-toastr.js"); var BarrasLateraisComponent = /** @class */ (function () { function BarrasLateraisComponent(modalService, service, toastrService) { this.modalService = modalService; this.service = service; this.toastrService = toastrService; this.items = []; this.loading = false; this.permissao = 1; this.user = {}; this.user = this.service.getUser(); this.service.isSuperUser(); } BarrasLateraisComponent.prototype.ngOnInit = function () { this.getdados(); }; BarrasLateraisComponent.prototype.open = function () { var _this = this; var modalRef = this.modalService.open(cadastrar_barra_lateral_component_1.CadastrarBarraLateralComponent); modalRef.componentInstance.title = 'Cadastrar barra lateral'; modalRef.componentInstance.tipo = 1; modalRef.componentInstance.passEntry.subscribe(function (receivedEntry) { _this.getdados(); }); }; BarrasLateraisComponent.prototype.getItems = function (ev) { this.getdados(); }; BarrasLateraisComponent.prototype.alterar = function (p) { var _this = this; var modalRef = this.modalService.open(cadastrar_barra_lateral_component_1.CadastrarBarraLateralComponent); modalRef.componentInstance.title = 'Alterar barra lateral'; modalRef.componentInstance.tipo = 2; modalRef.componentInstance.userData = p; modalRef.componentInstance.passEntry.subscribe(function (receivedEntry) { _this.getdados(); }); }; BarrasLateraisComponent.prototype.irParaItens = function (p) { var _this = this; var modalRef = this.modalService.open(itens_barra_lateral_component_1.ItensBarraLateralComponent, { size: 'lg' }); modalRef.componentInstance.title = p.descricao; modalRef.componentInstance.userData = p; modalRef.componentInstance.passEntry.subscribe(function (receivedEntry) { _this.getdados(); }); }; BarrasLateraisComponent.prototype.excluir = function (p) { var _this = this; var modalRef = this.modalService.open(exclusoes_component_1.ExclusoesComponent); modalRef.componentInstance.title = 'Excluir barra lateral'; modalRef.componentInstance.tipo = 6; modalRef.componentInstance.userData = p; modalRef.componentInstance.passEntry.subscribe(function (receivedEntry) { _this.getdados(); }); }; BarrasLateraisComponent.prototype.getdados = function () { var _this = this; this.loading = true; var dados = { permissao: this.permissao, pesquisa: this.pesquisa }; this.service.getBarraLateral(dados).then(function (result) { _this.loading = false; _this.items = result.dados; }); }; BarrasLateraisComponent.prototype.alterar_status = function (item) { var _this = this; if (item.status_barra_lateral == 1) { item.status_barra_lateral = 2; } else if (item.status_barra_lateral != 1) { item.status_barra_lateral = 1; } this.service.updateBarraLateral(item).then(function (data) { if (data.dados == 1) { _this.toastrService.success('Status alterado com sucesso', 'Sucesso!'); } else { if (item.status_barra_lateral == 1) { item.status_barra_lateral = 2; } else if (item.status_barra_lateral != 1) { item.status_barra_lateral = 1; } _this.toastrService.error('Não foi possivel alterar o status, tente novamente mais tarde', 'Desculpe!'); } }, function (error) { }); }; BarrasLateraisComponent.ctorParameters = function () { return [ { type: ng_bootstrap_1.NgbModal }, { type: api_service_1.ApiService }, { type: ngx_toastr_1.ToastrService } ]; }; BarrasLateraisComponent = __decorate([ core_1.Component({ selector: 'app-barras-laterais', template: __importDefault(__webpack_require__(/*! raw-loader!./barras-laterais.component.html */ "./node_modules/raw-loader/dist/cjs.js!./src/app/barras-laterais/barras-laterais.component.html")).default, styles: [__importDefault(__webpack_require__(/*! ./barras-laterais.component.css */ "./src/app/barras-laterais/barras-laterais.component.css")).default] }), __metadata("design:paramtypes", [ng_bootstrap_1.NgbModal, api_service_1.ApiService, ngx_toastr_1.ToastrService]) ], BarrasLateraisComponent); return BarrasLateraisComponent; }()); exports.BarrasLateraisComponent = BarrasLateraisComponent; /***/ }), /***/ "./src/app/categoriapublicacao/categoriapublicacao.component.css": /*!***********************************************************************!*\ !*** ./src/app/categoriapublicacao/categoriapublicacao.component.css ***! \***********************************************************************/ /*! exports provided: default */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony default export */ __webpack_exports__["default"] = (".switch {\r\n position: relative;\r\n display: inline-block;\r\n width: 60px;\r\n height: 34px;\r\n}\r\n\r\n/* Hide default HTML checkbox */\r\n\r\n.switch input {\r\n opacity: 0;\r\n width: 0;\r\n height: 0;\r\n}\r\n\r\n/* The slider */\r\n\r\n.slider {\r\n position: absolute;\r\n cursor: pointer;\r\n top: 0;\r\n left: 0;\r\n right: 0;\r\n bottom: 0;\r\n background-color: #ccc;\r\n -webkit-transition: .4s;\r\n transition: .4s;\r\n}\r\n\r\n.slider:before {\r\n position: absolute;\r\n content: \"\";\r\n height: 26px;\r\n width: 26px;\r\n left: 4px;\r\n bottom: 4px;\r\n background-color: white;\r\n -webkit-transition: .4s;\r\n transition: .4s;\r\n}\r\n\r\ninput:checked+.slider {\r\n background-color: #6e037c;\r\n}\r\n\r\ninput:focus+.slider {\r\n box-shadow: 0 0 1px #6e037c;\r\n}\r\n\r\ninput:checked+.slider:before {\r\n -webkit-transform: translateX(26px);\r\n transform: translateX(26px);\r\n}\r\n\r\n/* Rounded sliders */\r\n\r\n.slider.round {\r\n border-radius: 34px;\r\n}\r\n\r\n.slider.round:before {\r\n border-radius: 50%;\r\n}\r\n\r\n.pac-container {\r\n z-index: 1051 !important;\r\n}\r\n\r\n.tt {\r\n background: #0400d4;\r\n}\r\n\r\n.tt:hover {\r\n background: #0400d4;\r\n}\r\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbInNyYy9hcHAvY2F0ZWdvcmlhcHVibGljYWNhby9jYXRlZ29yaWFwdWJsaWNhY2FvLmNvbXBvbmVudC5jc3MiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUE7SUFDSSxrQkFBa0I7SUFDbEIscUJBQXFCO0lBQ3JCLFdBQVc7SUFDWCxZQUFZO0FBQ2hCOztBQUVBLCtCQUErQjs7QUFDL0I7SUFDSSxVQUFVO0lBQ1YsUUFBUTtJQUNSLFNBQVM7QUFDYjs7QUFFQSxlQUFlOztBQUNmO0lBQ0ksa0JBQWtCO0lBQ2xCLGVBQWU7SUFDZixNQUFNO0lBQ04sT0FBTztJQUNQLFFBQVE7SUFDUixTQUFTO0lBQ1Qsc0JBQXNCO0lBQ3RCLHVCQUF1QjtJQUN2QixlQUFlO0FBQ25COztBQUVBO0lBQ0ksa0JBQWtCO0lBQ2xCLFdBQVc7SUFDWCxZQUFZO0lBQ1osV0FBVztJQUNYLFNBQVM7SUFDVCxXQUFXO0lBQ1gsdUJBQXVCO0lBQ3ZCLHVCQUF1QjtJQUN2QixlQUFlO0FBQ25COztBQUVBO0lBQ0kseUJBQXlCO0FBQzdCOztBQUVBO0lBQ0ksMkJBQTJCO0FBQy9COztBQUVBO0lBQ0ksbUNBQW1DO0lBRW5DLDJCQUEyQjtBQUMvQjs7QUFFQSxvQkFBb0I7O0FBQ3BCO0lBQ0ksbUJBQW1CO0FBQ3ZCOztBQUVBO0lBQ0ksa0JBQWtCO0FBQ3RCOztBQUVBO0lBQ0ksd0JBQXdCO0FBQzVCOztBQUVBO0lBQ0ksbUJBQW1CO0FBQ3ZCOztBQUVBO0lBQ0ksbUJBQW1CO0FBQ3ZCIiwiZmlsZSI6InNyYy9hcHAvY2F0ZWdvcmlhcHVibGljYWNhby9jYXRlZ29yaWFwdWJsaWNhY2FvLmNvbXBvbmVudC5jc3MiLCJzb3VyY2VzQ29udGVudCI6WyIuc3dpdGNoIHtcclxuICAgIHBvc2l0aW9uOiByZWxhdGl2ZTtcclxuICAgIGRpc3BsYXk6IGlubGluZS1ibG9jaztcclxuICAgIHdpZHRoOiA2MHB4O1xyXG4gICAgaGVpZ2h0OiAzNHB4O1xyXG59XHJcblxyXG4vKiBIaWRlIGRlZmF1bHQgSFRNTCBjaGVja2JveCAqL1xyXG4uc3dpdGNoIGlucHV0IHtcclxuICAgIG9wYWNpdHk6IDA7XHJcbiAgICB3aWR0aDogMDtcclxuICAgIGhlaWdodDogMDtcclxufVxyXG5cclxuLyogVGhlIHNsaWRlciAqL1xyXG4uc2xpZGVyIHtcclxuICAgIHBvc2l0aW9uOiBhYnNvbHV0ZTtcclxuICAgIGN1cnNvcjogcG9pbnRlcjtcclxuICAgIHRvcDogMDtcclxuICAgIGxlZnQ6IDA7XHJcbiAgICByaWdodDogMDtcclxuICAgIGJvdHRvbTogMDtcclxuICAgIGJhY2tncm91bmQtY29sb3I6ICNjY2M7XHJcbiAgICAtd2Via2l0LXRyYW5zaXRpb246IC40cztcclxuICAgIHRyYW5zaXRpb246IC40cztcclxufVxyXG5cclxuLnNsaWRlcjpiZWZvcmUge1xyXG4gICAgcG9zaXRpb246IGFic29sdXRlO1xyXG4gICAgY29udGVudDogXCJcIjtcclxuICAgIGhlaWdodDogMjZweDtcclxuICAgIHdpZHRoOiAyNnB4O1xyXG4gICAgbGVmdDogNHB4O1xyXG4gICAgYm90dG9tOiA0cHg7XHJcbiAgICBiYWNrZ3JvdW5kLWNvbG9yOiB3aGl0ZTtcclxuICAgIC13ZWJraXQtdHJhbnNpdGlvbjogLjRzO1xyXG4gICAgdHJhbnNpdGlvbjogLjRzO1xyXG59XHJcblxyXG5pbnB1dDpjaGVja2VkKy5zbGlkZXIge1xyXG4gICAgYmFja2dyb3VuZC1jb2xvcjogIzZlMDM3YztcclxufVxyXG5cclxuaW5wdXQ6Zm9jdXMrLnNsaWRlciB7XHJcbiAgICBib3gtc2hhZG93OiAwIDAgMXB4ICM2ZTAzN2M7XHJcbn1cclxuXHJcbmlucHV0OmNoZWNrZWQrLnNsaWRlcjpiZWZvcmUge1xyXG4gICAgLXdlYmtpdC10cmFuc2Zvcm06IHRyYW5zbGF0ZVgoMjZweCk7XHJcbiAgICAtbXMtdHJhbnNmb3JtOiB0cmFuc2xhdGVYKDI2cHgpO1xyXG4gICAgdHJhbnNmb3JtOiB0cmFuc2xhdGVYKDI2cHgpO1xyXG59XHJcblxyXG4vKiBSb3VuZGVkIHNsaWRlcnMgKi9cclxuLnNsaWRlci5yb3VuZCB7XHJcbiAgICBib3JkZXItcmFkaXVzOiAzNHB4O1xyXG59XHJcblxyXG4uc2xpZGVyLnJvdW5kOmJlZm9yZSB7XHJcbiAgICBib3JkZXItcmFkaXVzOiA1MCU7XHJcbn1cclxuXHJcbi5wYWMtY29udGFpbmVyIHtcclxuICAgIHotaW5kZXg6IDEwNTEgIWltcG9ydGFudDtcclxufVxyXG5cclxuLnR0IHtcclxuICAgIGJhY2tncm91bmQ6ICMwNDAwZDQ7XHJcbn1cclxuXHJcbi50dDpob3ZlciB7XHJcbiAgICBiYWNrZ3JvdW5kOiAjMDQwMGQ0O1xyXG59Il19 */"); /***/ }), /***/ "./src/app/categoriapublicacao/categoriapublicacao.component.ts": /*!**********************************************************************!*\ !*** ./src/app/categoriapublicacao/categoriapublicacao.component.ts ***! \**********************************************************************/ /*! no static exports found */ /***/ (function(module, exports, __webpack_require__) { "use strict"; var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r; return c > 3 && r && Object.defineProperty(target, key, r), r; }; var __metadata = (this && this.__metadata) || function (k, v) { if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v); }; var __importDefault = (this && this.__importDefault) || function (mod) { return (mod && mod.__esModule) ? mod : { "default": mod }; }; Object.defineProperty(exports, "__esModule", { value: true }); var core_1 = __webpack_require__(/*! @angular/core */ "./node_modules/@angular/core/__ivy_ngcc__/fesm5/core.js"); var ng_bootstrap_1 = __webpack_require__(/*! @ng-bootstrap/ng-bootstrap */ "./node_modules/@ng-bootstrap/ng-bootstrap/__ivy_ngcc__/fesm5/ng-bootstrap.js"); var cadastrar_categoria_publicacao_component_1 = __webpack_require__(/*! app/modals/cadastrar-categoria-publicacao/cadastrar-categoria-publicacao.component */ "./src/app/modals/cadastrar-categoria-publicacao/cadastrar-categoria-publicacao.component.ts"); var exclusoes_component_1 = __webpack_require__(/*! app/modals/exclusoes/exclusoes.component */ "./src/app/modals/exclusoes/exclusoes.component.ts"); var api_service_1 = __webpack_require__(/*! app/services/api.service */ "./src/app/services/api.service.ts"); var ngx_toastr_1 = __webpack_require__(/*! ngx-toastr */ "./node_modules/ngx-toastr/__ivy_ngcc__/fesm5/ngx-toastr.js"); var CategoriapublicacaoComponent = /** @class */ (function () { function CategoriapublicacaoComponent(modalService, service, toastrService) { var _this = this; this.modalService = modalService; this.service = service; this.toastrService = toastrService; this.off = 0; this.limit = 10; this.total = 0; this.items = []; this.page = 1; this.loading = false; this.permissao = 1; this.user = {}; this.onPageChange = function (pageNumber) { _this.off = (pageNumber - 1) * _this.limit; _this.getdados(); }; this.user = this.service.getUser(); } CategoriapublicacaoComponent.prototype.ngOnInit = function () { this.getdados(); }; CategoriapublicacaoComponent.prototype.open = function () { var _this = this; var modalRef = this.modalService.open(cadastrar_categoria_publicacao_component_1.CadastrarCategoriaPublicacaoComponent, { size: 'lg' }); modalRef.componentInstance.title = 'Cadastrar Categoria de Publicação'; modalRef.componentInstance.tipo = 1; modalRef.componentInstance.passEntry.subscribe(function (receivedEntry) { _this.getdados(); }); }; CategoriapublicacaoComponent.prototype.trocar_permissao = function (ev) { this.off = 0; this.page = 1; this.permissao = ev; this.getdados(); }; CategoriapublicacaoComponent.prototype.getItems = function (ev) { this.off = 0; this.page = 1; this.getdados(); }; CategoriapublicacaoComponent.prototype.alterar = function (p) { var _this = this; var modalRef = this.modalService.open(cadastrar_categoria_publicacao_component_1.CadastrarCategoriaPublicacaoComponent, { size: 'lg' }); modalRef.componentInstance.title = 'Alterar Item'; modalRef.componentInstance.tipo = 2; modalRef.componentInstance.userData = p; modalRef.componentInstance.passEntry.subscribe(function (receivedEntry) { _this.getdados(); }); }; CategoriapublicacaoComponent.prototype.excluir = function (p) { var _this = this; var modalRef = this.modalService.open(exclusoes_component_1.ExclusoesComponent, { size: 'lg' }); modalRef.componentInstance.title = 'Exluir Item'; modalRef.componentInstance.tipo = 20; modalRef.componentInstance.userData = p; modalRef.componentInstance.passEntry.subscribe(function (receivedEntry) { _this.getdados(); }); }; CategoriapublicacaoComponent.prototype.getdados = function () { var _this = this; this.loading = true; var dados = { limit: this.limit, offset: this.off, }; if (this.pesquisa) { dados.pesquisa = this.pesquisa; } this.service.getCategoriaPublic(dados).then(function (result) { console.log(result); _this.loading = false; _this.items = result.resposta.categoria; _this.total = result.resposta.total; }); }; CategoriapublicacaoComponent.prototype.alterar_status = function (item) { var _this = this; if (item.status_categoria_publicacao == 1) { item.status_categoria_publicacao = 2; } else if (item.status_categoria_publicacao != 1) { item.status_categoria_publicacao = 1; } this.service.updateCategoriaPublicacao(item).then(function (data) { _this.toastrService.success('Status alterado com sucesso', 'Sucesso!'); }, function (error) { if (item.status_categoria_publicacao == 1) { item.status_categoria_publicacao = 2; } else if (item.status_categoria_publicacao != 1) { item.status_categoria_publicacao = 1; } _this.toastrService.error('Não foi possivel alterar o status, tente novamente mais tarde', 'Desculpe!'); }); }; CategoriapublicacaoComponent.ctorParameters = function () { return [ { type: ng_bootstrap_1.NgbModal }, { type: api_service_1.ApiService }, { type: ngx_toastr_1.ToastrService } ]; }; CategoriapublicacaoComponent = __decorate([ core_1.Component({ selector: 'app-categoriapublicacao', template: __importDefault(__webpack_require__(/*! raw-loader!./categoriapublicacao.component.html */ "./node_modules/raw-loader/dist/cjs.js!./src/app/categoriapublicacao/categoriapublicacao.component.html")).default, styles: [__importDefault(__webpack_require__(/*! ./categoriapublicacao.component.css */ "./src/app/categoriapublicacao/categoriapublicacao.component.css")).default] }), __metadata("design:paramtypes", [ng_bootstrap_1.NgbModal, api_service_1.ApiService, ngx_toastr_1.ToastrService]) ], CategoriapublicacaoComponent); return CategoriapublicacaoComponent; }()); exports.CategoriapublicacaoComponent = CategoriapublicacaoComponent; /***/ }), /***/ "./src/app/categorias/categorias.component.css": /*!*****************************************************!*\ !*** ./src/app/categorias/categorias.component.css ***! \*****************************************************/ /*! exports provided: default */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony default export */ __webpack_exports__["default"] = (".switch {\r\n position: relative;\r\n display: inline-block;\r\n width: 60px;\r\n height: 34px;\r\n }\r\n \r\n /* Hide default HTML checkbox */\r\n \r\n .switch input {\r\n opacity: 0;\r\n width: 0;\r\n height: 0;\r\n }\r\n \r\n /* The slider */\r\n \r\n .slider {\r\n position: absolute;\r\n cursor: pointer;\r\n top: 0;\r\n left: 0;\r\n right: 0;\r\n bottom: 0;\r\n background-color: #ccc;\r\n -webkit-transition: .4s;\r\n transition: .4s;\r\n }\r\n \r\n .slider:before {\r\n position: absolute;\r\n content: \"\";\r\n height: 26px;\r\n width: 26px;\r\n left: 4px;\r\n bottom: 4px;\r\n background-color: white;\r\n -webkit-transition: .4s;\r\n transition: .4s;\r\n }\r\n \r\n input:checked + .slider {\r\n background-color: #6e037c;\r\n }\r\n \r\n input:focus + .slider {\r\n box-shadow: 0 0 1px #6e037c;\r\n }\r\n \r\n input:checked + .slider:before {\r\n -webkit-transform: translateX(26px);\r\n transform: translateX(26px);\r\n }\r\n \r\n /* Rounded sliders */\r\n \r\n .slider.round {\r\n border-radius: 34px;\r\n }\r\n \r\n .slider.round:before {\r\n border-radius: 50%;\r\n }\r\n \r\n .pac-container {\r\n z-index: 1051 !important;\r\n}\r\n \r\n .tt {\r\n background: #0400d4;\r\n}\r\n \r\n .tt:hover{\r\n background: #0400d4;\r\n}\r\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbInNyYy9hcHAvY2F0ZWdvcmlhcy9jYXRlZ29yaWFzLmNvbXBvbmVudC5jc3MiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUE7SUFDSSxrQkFBa0I7SUFDbEIscUJBQXFCO0lBQ3JCLFdBQVc7SUFDWCxZQUFZO0VBQ2Q7O0VBRUEsK0JBQStCOztFQUMvQjtJQUNFLFVBQVU7SUFDVixRQUFRO0lBQ1IsU0FBUztFQUNYOztFQUVBLGVBQWU7O0VBQ2Y7SUFDRSxrQkFBa0I7SUFDbEIsZUFBZTtJQUNmLE1BQU07SUFDTixPQUFPO0lBQ1AsUUFBUTtJQUNSLFNBQVM7SUFDVCxzQkFBc0I7SUFDdEIsdUJBQXVCO0lBQ3ZCLGVBQWU7RUFDakI7O0VBRUE7SUFDRSxrQkFBa0I7SUFDbEIsV0FBVztJQUNYLFlBQVk7SUFDWixXQUFXO0lBQ1gsU0FBUztJQUNULFdBQVc7SUFDWCx1QkFBdUI7SUFDdkIsdUJBQXVCO0lBQ3ZCLGVBQWU7RUFDakI7O0VBRUE7SUFDRSx5QkFBeUI7RUFDM0I7O0VBRUE7SUFDRSwyQkFBMkI7RUFDN0I7O0VBRUE7SUFDRSxtQ0FBbUM7SUFFbkMsMkJBQTJCO0VBQzdCOztFQUVBLG9CQUFvQjs7RUFDcEI7SUFDRSxtQkFBbUI7RUFDckI7O0VBRUE7SUFDRSxrQkFBa0I7RUFDcEI7O0VBRUE7SUFDRSx3QkFBd0I7QUFDNUI7O0VBRUE7RUFDRSxtQkFBbUI7QUFDckI7O0VBRUE7RUFDRSxtQkFBbUI7QUFDckIiLCJmaWxlIjoic3JjL2FwcC9jYXRlZ29yaWFzL2NhdGVnb3JpYXMuY29tcG9uZW50LmNzcyIsInNvdXJjZXNDb250ZW50IjpbIi5zd2l0Y2gge1xyXG4gICAgcG9zaXRpb246IHJlbGF0aXZlO1xyXG4gICAgZGlzcGxheTogaW5saW5lLWJsb2NrO1xyXG4gICAgd2lkdGg6IDYwcHg7XHJcbiAgICBoZWlnaHQ6IDM0cHg7XHJcbiAgfVxyXG4gIFxyXG4gIC8qIEhpZGUgZGVmYXVsdCBIVE1MIGNoZWNrYm94ICovXHJcbiAgLnN3aXRjaCBpbnB1dCB7XHJcbiAgICBvcGFjaXR5OiAwO1xyXG4gICAgd2lkdGg6IDA7XHJcbiAgICBoZWlnaHQ6IDA7XHJcbiAgfVxyXG4gIFxyXG4gIC8qIFRoZSBzbGlkZXIgKi9cclxuICAuc2xpZGVyIHtcclxuICAgIHBvc2l0aW9uOiBhYnNvbHV0ZTtcclxuICAgIGN1cnNvcjogcG9pbnRlcjtcclxuICAgIHRvcDogMDtcclxuICAgIGxlZnQ6IDA7XHJcbiAgICByaWdodDogMDtcclxuICAgIGJvdHRvbTogMDtcclxuICAgIGJhY2tncm91bmQtY29sb3I6ICNjY2M7XHJcbiAgICAtd2Via2l0LXRyYW5zaXRpb246IC40cztcclxuICAgIHRyYW5zaXRpb246IC40cztcclxuICB9XHJcbiAgXHJcbiAgLnNsaWRlcjpiZWZvcmUge1xyXG4gICAgcG9zaXRpb246IGFic29sdXRlO1xyXG4gICAgY29udGVudDogXCJcIjtcclxuICAgIGhlaWdodDogMjZweDtcclxuICAgIHdpZHRoOiAyNnB4O1xyXG4gICAgbGVmdDogNHB4O1xyXG4gICAgYm90dG9tOiA0cHg7XHJcbiAgICBiYWNrZ3JvdW5kLWNvbG9yOiB3aGl0ZTtcclxuICAgIC13ZWJraXQtdHJhbnNpdGlvbjogLjRzO1xyXG4gICAgdHJhbnNpdGlvbjogLjRzO1xyXG4gIH1cclxuICBcclxuICBpbnB1dDpjaGVja2VkICsgLnNsaWRlciB7XHJcbiAgICBiYWNrZ3JvdW5kLWNvbG9yOiAjNmUwMzdjO1xyXG4gIH1cclxuICBcclxuICBpbnB1dDpmb2N1cyArIC5zbGlkZXIge1xyXG4gICAgYm94LXNoYWRvdzogMCAwIDFweCAjNmUwMzdjO1xyXG4gIH1cclxuICBcclxuICBpbnB1dDpjaGVja2VkICsgLnNsaWRlcjpiZWZvcmUge1xyXG4gICAgLXdlYmtpdC10cmFuc2Zvcm06IHRyYW5zbGF0ZVgoMjZweCk7XHJcbiAgICAtbXMtdHJhbnNmb3JtOiB0cmFuc2xhdGVYKDI2cHgpO1xyXG4gICAgdHJhbnNmb3JtOiB0cmFuc2xhdGVYKDI2cHgpO1xyXG4gIH1cclxuICBcclxuICAvKiBSb3VuZGVkIHNsaWRlcnMgKi9cclxuICAuc2xpZGVyLnJvdW5kIHtcclxuICAgIGJvcmRlci1yYWRpdXM6IDM0cHg7XHJcbiAgfVxyXG4gIFxyXG4gIC5zbGlkZXIucm91bmQ6YmVmb3JlIHtcclxuICAgIGJvcmRlci1yYWRpdXM6IDUwJTtcclxuICB9XHJcblxyXG4gIC5wYWMtY29udGFpbmVyIHtcclxuICAgIHotaW5kZXg6IDEwNTEgIWltcG9ydGFudDtcclxufVxyXG5cclxuLnR0IHtcclxuICBiYWNrZ3JvdW5kOiAjMDQwMGQ0O1xyXG59XHJcblxyXG4udHQ6aG92ZXJ7XHJcbiAgYmFja2dyb3VuZDogIzA0MDBkNDtcclxufSJdfQ== */"); /***/ }), /***/ "./src/app/categorias/categorias.component.ts": /*!****************************************************!*\ !*** ./src/app/categorias/categorias.component.ts ***! \****************************************************/ /*! no static exports found */ /***/ (function(module, exports, __webpack_require__) { "use strict"; var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r; return c > 3 && r && Object.defineProperty(target, key, r), r; }; var __metadata = (this && this.__metadata) || function (k, v) { if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v); }; var __importDefault = (this && this.__importDefault) || function (mod) { return (mod && mod.__esModule) ? mod : { "default": mod }; }; Object.defineProperty(exports, "__esModule", { value: true }); var exclusoes_component_1 = __webpack_require__(/*! ./../modals/exclusoes/exclusoes.component */ "./src/app/modals/exclusoes/exclusoes.component.ts"); var cadastrar_categorias_component_1 = __webpack_require__(/*! ./../modals/cadastrar-categorias/cadastrar-categorias.component */ "./src/app/modals/cadastrar-categorias/cadastrar-categorias.component.ts"); var core_1 = __webpack_require__(/*! @angular/core */ "./node_modules/@angular/core/__ivy_ngcc__/fesm5/core.js"); var ng_bootstrap_1 = __webpack_require__(/*! @ng-bootstrap/ng-bootstrap */ "./node_modules/@ng-bootstrap/ng-bootstrap/__ivy_ngcc__/fesm5/ng-bootstrap.js"); var api_service_1 = __webpack_require__(/*! app/services/api.service */ "./src/app/services/api.service.ts"); var ngx_toastr_1 = __webpack_require__(/*! ngx-toastr */ "./node_modules/ngx-toastr/__ivy_ngcc__/fesm5/ngx-toastr.js"); var CategoriasComponent = /** @class */ (function () { function CategoriasComponent(modalService, service, toastrService) { this.modalService = modalService; this.service = service; this.toastrService = toastrService; this.items = []; this.loading = false; this.permissao = 1; this.user = {}; this.user = this.service.getUser(); } CategoriasComponent.prototype.ngOnInit = function () { this.getdados(); }; CategoriasComponent.prototype.open = function () { var _this = this; var modalRef = this.modalService.open(cadastrar_categorias_component_1.CadastrarCategoriasComponent, { size: 'lg' }); modalRef.componentInstance.title = 'Cadastrar categoria'; modalRef.componentInstance.tipo = 1; modalRef.componentInstance.passEntry.subscribe(function (receivedEntry) { _this.getdados(); }); }; CategoriasComponent.prototype.getItems = function (ev) { this.getdados(); }; CategoriasComponent.prototype.alterar = function (p) { var _this = this; var modalRef = this.modalService.open(cadastrar_categorias_component_1.CadastrarCategoriasComponent, { size: 'lg' }); modalRef.componentInstance.title = 'Alterar categoria'; modalRef.componentInstance.tipo = 2; modalRef.componentInstance.userData = p; modalRef.componentInstance.passEntry.subscribe(function (receivedEntry) { _this.getdados(); }); }; CategoriasComponent.prototype.excluir = function (p) { var _this = this; var modalRef = this.modalService.open(exclusoes_component_1.ExclusoesComponent, { size: 'lg' }); modalRef.componentInstance.title = 'Excluir categoria'; modalRef.componentInstance.tipo = 3; modalRef.componentInstance.userData = p; modalRef.componentInstance.passEntry.subscribe(function (receivedEntry) { _this.getdados(); }); }; CategoriasComponent.prototype.getdados = function () { var _this = this; this.loading = true; var dados = { permissao: this.permissao, pesquisa: this.pesquisa }; this.service.getCategorias(dados).then(function (result) { _this.loading = false; _this.items = result.mensagem; }); }; CategoriasComponent.prototype.alterar_status = function (item) { var _this = this; if (item.status_categoria == 1) { item.status_categoria = 2; } else if (item.status_categoria != 1) { item.status_categoria = 1; } this.service.updateCategorias(item).then(function (data) { if (data.mensagem == 1) { _this.toastrService.success('Status alterado com sucesso', 'Sucesso!'); } else { if (item.status_categoria == 1) { item.status_categoria = 2; } else if (item.status_categoria != 1) { item.status_categoria = 1; } _this.toastrService.error('Não foi possivel alterar o status, tente novamente mais tarde', 'Desculpe!'); } }, function (error) { }); }; CategoriasComponent.ctorParameters = function () { return [ { type: ng_bootstrap_1.NgbModal }, { type: api_service_1.ApiService }, { type: ngx_toastr_1.ToastrService } ]; }; CategoriasComponent = __decorate([ core_1.Component({ selector: 'app-categorias', template: __importDefault(__webpack_require__(/*! raw-loader!./categorias.component.html */ "./node_modules/raw-loader/dist/cjs.js!./src/app/categorias/categorias.component.html")).default, styles: [__importDefault(__webpack_require__(/*! ./categorias.component.css */ "./src/app/categorias/categorias.component.css")).default] }), __metadata("design:paramtypes", [ng_bootstrap_1.NgbModal, api_service_1.ApiService, ngx_toastr_1.ToastrService]) ], CategoriasComponent); return CategoriasComponent; }()); exports.CategoriasComponent = CategoriasComponent; /***/ }), /***/ "./src/app/components/components.module.ts": /*!*************************************************!*\ !*** ./src/app/components/components.module.ts ***! \*************************************************/ /*! no static exports found */ /***/ (function(module, exports, __webpack_require__) { "use strict"; var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r; return c > 3 && r && Object.defineProperty(target, key, r), r; }; var __importDefault = (this && this.__importDefault) || function (mod) { return (mod && mod.__esModule) ? mod : { "default": mod }; }; Object.defineProperty(exports, "__esModule", { value: true }); var core_1 = __webpack_require__(/*! @angular/core */ "./node_modules/@angular/core/__ivy_ngcc__/fesm5/core.js"); var common_1 = __webpack_require__(/*! @angular/common */ "./node_modules/@angular/common/__ivy_ngcc__/fesm5/common.js"); var router_1 = __webpack_require__(/*! @angular/router */ "./node_modules/@angular/router/__ivy_ngcc__/fesm5/router.js"); var footer_component_1 = __webpack_require__(/*! ./footer/footer.component */ "./src/app/components/footer/footer.component.ts"); var navbar_component_1 = __webpack_require__(/*! ./navbar/navbar.component */ "./src/app/components/navbar/navbar.component.ts"); var sidebar_component_1 = __webpack_require__(/*! ./sidebar/sidebar.component */ "./src/app/components/sidebar/sidebar.component.ts"); var ComponentsModule = /** @class */ (function () { function ComponentsModule() { } ComponentsModule = __decorate([ core_1.NgModule({ imports: [ common_1.CommonModule, router_1.RouterModule, ], declarations: [ footer_component_1.FooterComponent, navbar_component_1.NavbarComponent, sidebar_component_1.SidebarComponent ], exports: [ footer_component_1.FooterComponent, navbar_component_1.NavbarComponent, sidebar_component_1.SidebarComponent ] }) ], ComponentsModule); return ComponentsModule; }()); exports.ComponentsModule = ComponentsModule; /***/ }), /***/ "./src/app/components/footer/footer.component.css": /*!********************************************************!*\ !*** ./src/app/components/footer/footer.component.css ***! \********************************************************/ /*! exports provided: default */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony default export */ __webpack_exports__["default"] = ("\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiIsImZpbGUiOiJzcmMvYXBwL2NvbXBvbmVudHMvZm9vdGVyL2Zvb3Rlci5jb21wb25lbnQuY3NzIn0= */"); /***/ }), /***/ "./src/app/components/footer/footer.component.ts": /*!*******************************************************!*\ !*** ./src/app/components/footer/footer.component.ts ***! \*******************************************************/ /*! no static exports found */ /***/ (function(module, exports, __webpack_require__) { "use strict"; var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r; return c > 3 && r && Object.defineProperty(target, key, r), r; }; var __metadata = (this && this.__metadata) || function (k, v) { if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v); }; var __importDefault = (this && this.__importDefault) || function (mod) { return (mod && mod.__esModule) ? mod : { "default": mod }; }; Object.defineProperty(exports, "__esModule", { value: true }); var core_1 = __webpack_require__(/*! @angular/core */ "./node_modules/@angular/core/__ivy_ngcc__/fesm5/core.js"); var FooterComponent = /** @class */ (function () { function FooterComponent() { this.test = new Date(); } FooterComponent.prototype.ngOnInit = function () { }; FooterComponent = __decorate([ core_1.Component({ selector: 'app-footer', template: __importDefault(__webpack_require__(/*! raw-loader!./footer.component.html */ "./node_modules/raw-loader/dist/cjs.js!./src/app/components/footer/footer.component.html")).default, styles: [__importDefault(__webpack_require__(/*! ./footer.component.css */ "./src/app/components/footer/footer.component.css")).default] }), __metadata("design:paramtypes", []) ], FooterComponent); return FooterComponent; }()); exports.FooterComponent = FooterComponent; /***/ }), /***/ "./src/app/components/navbar/navbar.component.css": /*!********************************************************!*\ !*** ./src/app/components/navbar/navbar.component.css ***! \********************************************************/ /*! exports provided: default */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony default export */ __webpack_exports__["default"] = ("\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiIsImZpbGUiOiJzcmMvYXBwL2NvbXBvbmVudHMvbmF2YmFyL25hdmJhci5jb21wb25lbnQuY3NzIn0= */"); /***/ }), /***/ "./src/app/components/navbar/navbar.component.ts": /*!*******************************************************!*\ !*** ./src/app/components/navbar/navbar.component.ts ***! \*******************************************************/ /*! no static exports found */ /***/ (function(module, exports, __webpack_require__) { "use strict"; var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r; return c > 3 && r && Object.defineProperty(target, key, r), r; }; var __metadata = (this && this.__metadata) || function (k, v) { if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v); }; var __importDefault = (this && this.__importDefault) || function (mod) { return (mod && mod.__esModule) ? mod : { "default": mod }; }; Object.defineProperty(exports, "__esModule", { value: true }); var core_1 = __webpack_require__(/*! @angular/core */ "./node_modules/@angular/core/__ivy_ngcc__/fesm5/core.js"); var sidebar_component_1 = __webpack_require__(/*! ../sidebar/sidebar.component */ "./src/app/components/sidebar/sidebar.component.ts"); var common_1 = __webpack_require__(/*! @angular/common */ "./node_modules/@angular/common/__ivy_ngcc__/fesm5/common.js"); var router_1 = __webpack_require__(/*! @angular/router */ "./node_modules/@angular/router/__ivy_ngcc__/fesm5/router.js"); var NavbarComponent = /** @class */ (function () { function NavbarComponent(location, element, router) { this.element = element; this.router = router; this.mobile_menu_visible = 0; this.location = location; this.sidebarVisible = false; } NavbarComponent.prototype.ngOnInit = function () { var _this = this; this.listTitles = sidebar_component_1.ROUTES.filter(function (listTitle) { return listTitle; }); var navbar = this.element.nativeElement; this.toggleButton = navbar.getElementsByClassName('navbar-toggler')[0]; this.router.events.subscribe(function (event) { _this.sidebarClose(); var $layer = document.getElementsByClassName('close-layer')[0]; if ($layer) { $layer.remove(); _this.mobile_menu_visible = 0; } }); }; NavbarComponent.prototype.sidebarOpen = function () { var toggleButton = this.toggleButton; var body = document.getElementsByTagName('body')[0]; setTimeout(function () { toggleButton.classList.add('toggled'); }, 500); body.classList.add('nav-open'); this.sidebarVisible = true; }; ; NavbarComponent.prototype.sidebarClose = function () { var body = document.getElementsByTagName('body')[0]; this.toggleButton.classList.remove('toggled'); this.sidebarVisible = false; body.classList.remove('nav-open'); }; ; NavbarComponent.prototype.sidebarToggle = function () { // const toggleButton = this.toggleButton; // const body = document.getElementsByTagName('body')[0]; var $toggle = document.getElementsByClassName('navbar-toggler')[0]; if (this.sidebarVisible === false) { this.sidebarOpen(); } else { this.sidebarClose(); } var body = document.getElementsByTagName('body')[0]; if (this.mobile_menu_visible == 1) { // $('html').removeClass('nav-open'); body.classList.remove('nav-open'); if ($layer) { $layer.remove(); } setTimeout(function () { $toggle.classList.remove('toggled'); }, 400); this.mobile_menu_visible = 0; } else { setTimeout(function () { $toggle.classList.add('toggled'); }, 430); var $layer = document.createElement('div'); $layer.setAttribute('class', 'close-layer'); if (body.querySelectorAll('.main-panel')) { document.getElementsByClassName('main-panel')[0].appendChild($layer); } else if (body.classList.contains('off-canvas-sidebar')) { document.getElementsByClassName('wrapper-full-page')[0].appendChild($layer); } setTimeout(function () { $layer.classList.add('visible'); }, 100); $layer.onclick = function () { body.classList.remove('nav-open'); this.mobile_menu_visible = 0; $layer.classList.remove('visible'); setTimeout(function () { $layer.remove(); $toggle.classList.remove('toggled'); }, 400); }.bind(this); body.classList.add('nav-open'); this.mobile_menu_visible = 1; } }; ; NavbarComponent.prototype.getTitle = function () { var titlee = this.location.prepareExternalUrl(this.location.path()); if (titlee.charAt(0) === '#') { titlee = titlee.slice(1); } for (var item = 0; item < this.listTitles.length; item++) { if (this.listTitles[item].path === titlee) { return this.listTitles[item].title; } } return 'Dashboard'; }; NavbarComponent.prototype.sair = function () { sessionStorage.removeItem('painelM'); location.reload(); }; NavbarComponent.ctorParameters = function () { return [ { type: common_1.Location }, { type: core_1.ElementRef }, { type: router_1.Router } ]; }; NavbarComponent = __decorate([ core_1.Component({ selector: 'app-navbar', template: __importDefault(__webpack_require__(/*! raw-loader!./navbar.component.html */ "./node_modules/raw-loader/dist/cjs.js!./src/app/components/navbar/navbar.component.html")).default, styles: [__importDefault(__webpack_require__(/*! ./navbar.component.css */ "./src/app/components/navbar/navbar.component.css")).default] }), __metadata("design:paramtypes", [common_1.Location, core_1.ElementRef, router_1.Router]) ], NavbarComponent); return NavbarComponent; }()); exports.NavbarComponent = NavbarComponent; /***/ }), /***/ "./src/app/components/sidebar/sidebar.component.css": /*!**********************************************************!*\ !*** ./src/app/components/sidebar/sidebar.component.css ***! \**********************************************************/ /*! exports provided: default */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony default export */ __webpack_exports__["default"] = ("\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiIsImZpbGUiOiJzcmMvYXBwL2NvbXBvbmVudHMvc2lkZWJhci9zaWRlYmFyLmNvbXBvbmVudC5jc3MifQ== */"); /***/ }), /***/ "./src/app/components/sidebar/sidebar.component.ts": /*!*********************************************************!*\ !*** ./src/app/components/sidebar/sidebar.component.ts ***! \*********************************************************/ /*! no static exports found */ /***/ (function(module, exports, __webpack_require__) { "use strict"; var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r; return c > 3 && r && Object.defineProperty(target, key, r), r; }; var __metadata = (this && this.__metadata) || function (k, v) { if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v); }; var __importDefault = (this && this.__importDefault) || function (mod) { return (mod && mod.__esModule) ? mod : { "default": mod }; }; Object.defineProperty(exports, "__esModule", { value: true }); var api_service_1 = __webpack_require__(/*! ./../../services/api.service */ "./src/app/services/api.service.ts"); var core_1 = __webpack_require__(/*! @angular/core */ "./node_modules/@angular/core/__ivy_ngcc__/fesm5/core.js"); exports.ROUTES = [ { path: '/dashboard', title: 'Dashboard', icon: 'dashboard', class: '' }, { path: '/secretarias', title: 'Secretarias', icon: 'content_paste', class: '' }, { path: '/categorias', title: 'Categorias', icon: 'content_paste', class: '' }, { path: '/categoria-publicacao', title: 'Categoria de Publicações', icon: 'content_paste', class: '' }, { path: '/noticias', title: 'Noticias', icon: 'content_paste', class: '' }, { path: '/obras', title: 'Obras', icon: 'content_paste', class: '' }, { path: '/galerias', title: 'Galerias', icon: 'content_paste', class: '' }, { path: '/covid', title: 'Dados do covid', icon: 'content_paste', class: '' }, { path: '/usuarios', title: 'Usuarios', icon: 'person', class: '' }, { path: '/barra', title: 'Barra Lateral', icon: 'settings', class: '' }, { path: '/links', title: 'Links úteis', icon: 'settings', class: '' }, { path: '/linksembed', title: 'Embed', icon: 'settings', class: '' }, { path: '/menu', title: 'Menus', icon: 'settings', class: '' }, { path: '/banners', title: 'Banners', icon: 'settings', class: '' }, { path: '/transparencia/solicitacoes', title: 'Publicações do dia', icon: 'settings', class: '' }, { path: '/transparencia/sic', title: 'E-Sic', icon: 'settings', class: '' }, { path: '/transparencia/diario', title: 'Diario Oficial', icon: 'settings', class: '' }, { path: '/transparencia/publicacoes', title: 'Publicações', icon: 'settings', class: '' }, { path: '/transparencia/licitacoes', title: 'Licitações', icon: 'settings', class: '' }, { path: '/transparencia/licitacoes-avulsas', title: 'Licitações Avulsa', icon: 'settings', class: '' }, { path: '/transparencia/menus', title: 'Menus Transparência', icon: 'settings', class: '' }, { path: '/transparencia/legislacao', title: 'legislação', icon: 'content_paste', class: '' }, { path: '/configuracoes', title: 'Configurações', icon: 'settings', class: '' }, { path: '/sitemaps', title: 'Mapa do Site', icon: 'settings', class: '' } ]; exports.ROUTES0 = [ { path: '/dashboard', title: 'Dashboard', icon: 'dashboard', class: '' }, { path: '/vereadores', title: 'Vereadores/Comissão', icon: 'content_paste', class: '' }, { path: '/categorias', title: 'Categorias', icon: 'content_paste', class: '' }, { path: '/categoria-publicacao', title: 'Categoria de Publicações', icon: 'content_paste', class: '' }, { path: '/agenda', title: 'Agenda', icon: 'content_paste', class: '' }, { path: '/radio', title: 'Radio', icon: 'content_paste', class: '' }, { path: '/pesquisa', title: 'Pesquisa', icon: 'content_paste', class: '' }, { path: '/obras', title: 'Obras', icon: 'content_paste', class: '' }, { path: '/pauta', title: 'Pautas', icon: 'content_paste', class: '' }, { path: '/transmissoes', title: 'Transmissões', icon: 'content_paste', class: '' }, { path: '/noticias', title: 'Noticias', icon: 'content_paste', class: '' }, { path: '/galerias', title: 'Galerias', icon: 'content_paste', class: '' }, { path: '/usuarios', title: 'Usuarios', icon: 'person', class: '' }, { path: '/barra', title: 'Barra Lateral', icon: 'settings', class: '' }, { path: '/links', title: 'Links úteis', icon: 'settings', class: '' }, { path: '/linksembed', title: 'Embed', icon: 'settings', class: '' }, { path: '/menu', title: 'Menus', icon: 'settings', class: '' }, { path: '/banners', title: 'Banners', icon: 'settings', class: '' }, { path: '/transparencia/solicitacoes', title: 'Publicações do dia', icon: 'settings', class: '' }, { path: '/transparencia/sic', title: 'E-Sic', icon: 'settings', class: '' }, { path: '/transparencia/diario', title: 'Diario Oficial', icon: 'settings', class: '' }, { path: '/transparencia/publicacoes', title: 'Publicações', icon: 'settings', class: '' }, { path: '/transparencia/licitacoes', title: 'Licitações', icon: 'settings', class: '' }, { path: '/transparencia/licitacoes-avulsas', title: 'Licitações Avulsa', icon: 'settings', class: '' }, { path: '/transparencia/menus', title: 'Menus Transparência', icon: 'settings', class: '' }, { path: '/transparencia/legislacao', title: 'legislação', icon: 'content_paste', class: '' }, { path: '/configuracoes', title: 'Configurações', icon: 'settings', class: '' }, { path: '/sitemaps', title: 'Mapa do Site', icon: 'settings', class: '' } ]; exports.ROUTES1 = [ { path: '/dashboard', title: 'Dashboard', icon: 'dashboard', class: '' }, { path: '/recadastramento', title: 'Recadastramento', icon: 'dashboard', class: '' }, { path: '/secretarias', title: 'Secretarias', icon: 'content_paste', class: '' }, { path: '/categorias', title: 'Categorias', icon: 'content_paste', class: '' }, { path: '/categoria-publicacao', title: 'Categoria de Publicações', icon: 'content_paste', class: '' }, { path: '/noticias', title: 'Noticias', icon: 'content_paste', class: '' }, { path: '/obras', title: 'Obras', icon: 'content_paste', class: '' }, { path: '/galerias', title: 'Galerias', icon: 'content_paste', class: '' }, { path: '/covid', title: 'Dados do covid', icon: 'content_paste', class: '' }, { path: '/usuarios', title: 'Usuarios', icon: 'person', class: '' }, { path: '/barra', title: 'Barra Lateral', icon: 'settings', class: '' }, { path: '/links', title: 'Links úteis', icon: 'settings', class: '' }, { path: '/linksembed', title: 'Embed', icon: 'settings', class: '' }, { path: '/menu', title: 'Menus', icon: 'settings', class: '' }, { path: '/estrutura-organizacional', title: 'Estrutura org.', icon: 'settings', class: '' }, { path: '/banners', title: 'Banners', icon: 'settings', class: '' }, { path: '/transparencia/sic', title: 'E-Sic', icon: 'settings', class: '' }, { path: '/transparencia/solicitacoes', title: 'Publicações do dia', icon: 'settings', class: '' }, { path: '/transparencia/diario', title: 'Diario Oficial', icon: 'settings', class: '' }, { path: '/transparencia/publicacoes', title: 'Publicações', icon: 'settings', class: '' }, { path: '/transparencia/licitacoes', title: 'Licitações', icon: 'settings', class: '' }, { path: '/transparencia/licitacoes-avulsas', title: 'Licitações Avulsa', icon: 'settings', class: '' }, { path: '/transparencia/menus', title: 'Menus Transparência', icon: 'settings', class: '' }, { path: '/configuracoes', title: 'Configurações', icon: 'settings', class: '' }, { path: '/transparencia/legislacao', title: 'legislação', icon: 'content_paste', class: '' }, { path: '/sitemaps', title: 'Mapa do Site', icon: 'settings', class: '' } ]; exports.ROUTES2 = [ { path: '/dashboard', title: 'Dashboard', icon: 'dashboard', class: '' }, { path: '/secretarias', title: 'Secretarias', icon: 'content_paste', class: '' }, { path: '/vereadores', title: 'Vereadores/Comissão', icon: 'content_paste', class: '' }, { path: '/agenda', title: 'Agenda', icon: 'content_paste', class: '' }, { path: '/obras', title: 'Obras', icon: 'content_paste', class: '' }, { path: '/pauta', title: 'Pautas', icon: 'content_paste', class: '' }, { path: '/transmissoes', title: 'Transmissões', icon: 'content_paste', class: '' }, { path: '/categorias', title: 'Categorias', icon: 'content_paste', class: '' }, { path: '/categoria-publicacao', title: 'Categoria de Publicações', icon: 'content_paste', class: '' }, { path: '/estrutura-organizacional', title: 'Estrutura org.', icon: 'settings', class: '' }, { path: '/covid', title: 'Dados do covid', icon: 'content_paste', class: '' }, { path: '/noticias', title: 'Noticias', icon: 'content_paste', class: '' }, { path: '/galerias', title: 'Galerias', icon: 'content_paste', class: '' }, { path: '/transparencia/legislacao', title: 'legislação', icon: 'content_paste', class: '' }, { path: '/transparencia/publicacoes-diario', title: 'Publicações', icon: 'settings', class: '' }, { path: '/sitemaps', title: 'Mapa do Site', icon: 'settings', class: '' } ]; exports.ROUTES3 = [ { path: '/dashboard', title: 'Dashboard', icon: 'dashboard', class: '' }, { path: '/recadastramento', title: 'Recadastramento', icon: 'dashboard', class: '' }, { path: '/secretarias', title: 'Secretarias', icon: 'content_paste', class: '' }, { path: '/vereadores', title: 'Vereadores', icon: 'content_paste', class: '' }, { path: '/categorias', title: 'Categorias', icon: 'content_paste', class: '' }, { path: '/categoria-publicacao', title: 'Categoria de Publicações', icon: 'content_paste', class: '' }, { path: '/covid', title: 'Dados do covid', icon: 'content_paste', class: '' }, { path: '/estrutura-organizacional', title: 'Estrutura org.', icon: 'settings', class: '' }, { path: '/noticias', title: 'Noticias', icon: 'content_paste', class: '' }, { path: '/obras', title: 'Obras', icon: 'content_paste', class: '' }, { path: '/transparencia/legislacao', title: 'legislação', icon: 'content_paste', class: '' }, { path: '/transparencia/publicacoes-diario', title: 'Publicações', icon: 'settings', class: '' }, { path: '/galerias', title: 'Galerias', icon: 'content_paste', class: '' }, { path: '/transparencia/legislacao', title: 'legislação', icon: 'content_paste', class: '' }, { path: '/sitemaps', title: 'Mapa do Site', icon: 'settings', class: '' } ]; exports.ROUTES4 = [ { path: '/dashboard', title: 'Dashboard', icon: 'dashboard', class: '' }, { path: '/vereadores', title: 'Vereadores', icon: 'content_paste', class: '' }, { path: '/categorias', title: 'Categorias', icon: 'content_paste', class: '' }, { path: '/categoria-publicacao', title: 'Categoria de Publicações', icon: 'content_paste', class: '' }, { path: '/noticias', title: 'Noticias', icon: 'content_paste', class: '' }, { path: '/obras', title: 'Obras', icon: 'content_paste', class: '' }, { path: '/estrutura-organizacional', title: 'Estrutura org.', icon: 'settings', class: '' }, { path: '/galerias', title: 'Galerias', icon: 'content_paste', class: '' }, { path: '/transparencia/publicacoes', title: 'Publicações', icon: 'settings', class: '' }, { path: '/transparencia/legislacao', title: 'legislação', icon: 'content_paste', class: '' }, { path: '/transparencia/publicacoes-diario', title: 'Publicações', icon: 'settings', class: '' }, { path: '/sitemaps', title: 'Mapa do Site', icon: 'settings', class: '' } ]; exports.ROUTES5 = [ { path: '/dashboard', title: 'Dashboard', icon: 'dashboard', class: '' }, { path: '/categoria-publicacao', title: 'Categoria de Publicações', icon: 'content_paste', class: '' }, { path: '/obras', title: 'Obras', icon: 'content_paste', class: '' }, { path: '/transparencia/envioPublicacao', title: 'Envio de Publicação', icon: 'settings', class: '' }, { path: '/transparencia/licitacoes', title: 'Licitações', icon: 'settings', class: '' }, { path: '/estrutura-organizacional', title: 'Estrutura org.', icon: 'settings', class: '' }, { path: '/transparencia/legislacao', title: 'legislação', icon: 'content_paste', class: '' }, { path: '/transparencia/publicacoes-diario', title: 'Publicações', icon: 'settings', class: '' }, { path: '/sitemaps', title: 'Mapa do Site', icon: 'settings', class: '' } ]; var SidebarComponent = /** @class */ (function () { function SidebarComponent(service) { this.service = service; this.items = {}; this.user = this.service.getUser(); this.path = this.service.getPath(); this.tipo = this.service.getTipo(); } SidebarComponent.prototype.ngOnInit = function () { this.getdados(); if (this.user.permissao == 1) { if (this.tipo == 1) { this.menuItems = exports.ROUTES.filter(function (menuItem) { return menuItem; }); } if (this.tipo == 2) { this.menuItems = exports.ROUTES1.filter(function (menuItem) { return menuItem; }); } if (this.tipo == 3) { this.menuItems = exports.ROUTES0.filter(function (menuItem) { return menuItem; }); } } if (this.user.permissao == 2) { if (this.tipo == 1) { this.menuItems = exports.ROUTES2.filter(function (menuItem) { return menuItem; }); } if (this.tipo == 2) { this.menuItems = exports.ROUTES3.filter(function (menuItem) { return menuItem; }); } if (this.tipo == 3) { this.menuItems = exports.ROUTES4.filter(function (menuItem) { return menuItem; }); } } if (this.user.permissao == 3) { this.menuItems = exports.ROUTES5.filter(function (menuItem) { return menuItem; }); } this.getUserId(); }; SidebarComponent.prototype.getUserId = function () { var _this = this; var dados = { id_usuario: this.user.id_usuario }; this.service.getUserId(dados).then(function (result) { _this.user = result.dados; if (_this.user.status_usuario != 1) { sessionStorage.removeItem('painelM'); location.reload(); } }); }; SidebarComponent.prototype.getdados = function () { var _this = this; var dados = {}; this.service.getConfiguracoes(dados).then(function (result) { _this.items = result.dados; }); }; SidebarComponent.prototype.isMobileMenu = function () { if ($(window).width() > 991) { return false; } return true; }; ; SidebarComponent.ctorParameters = function () { return [ { type: api_service_1.ApiService } ]; }; SidebarComponent = __decorate([ core_1.Component({ selector: 'app-sidebar', template: __importDefault(__webpack_require__(/*! raw-loader!./sidebar.component.html */ "./node_modules/raw-loader/dist/cjs.js!./src/app/components/sidebar/sidebar.component.html")).default, styles: [__importDefault(__webpack_require__(/*! ./sidebar.component.css */ "./src/app/components/sidebar/sidebar.component.css")).default] }), __metadata("design:paramtypes", [api_service_1.ApiService]) ], SidebarComponent); return SidebarComponent; }()); exports.SidebarComponent = SidebarComponent; /***/ }), /***/ "./src/app/configuracoes/configuracoes.component.css": /*!***********************************************************!*\ !*** ./src/app/configuracoes/configuracoes.component.css ***! \***********************************************************/ /*! exports provided: default */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony default export */ __webpack_exports__["default"] = (".center {\r\n display: block;\r\n margin-left: auto;\r\n margin-right: auto;\r\n width: 50%;\r\n }\r\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbInNyYy9hcHAvY29uZmlndXJhY29lcy9jb25maWd1cmFjb2VzLmNvbXBvbmVudC5jc3MiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUE7SUFDSSxjQUFjO0lBQ2QsaUJBQWlCO0lBQ2pCLGtCQUFrQjtJQUNsQixVQUFVO0VBQ1oiLCJmaWxlIjoic3JjL2FwcC9jb25maWd1cmFjb2VzL2NvbmZpZ3VyYWNvZXMuY29tcG9uZW50LmNzcyIsInNvdXJjZXNDb250ZW50IjpbIi5jZW50ZXIge1xyXG4gICAgZGlzcGxheTogYmxvY2s7XHJcbiAgICBtYXJnaW4tbGVmdDogYXV0bztcclxuICAgIG1hcmdpbi1yaWdodDogYXV0bztcclxuICAgIHdpZHRoOiA1MCU7XHJcbiAgfSJdfQ== */"); /***/ }), /***/ "./src/app/configuracoes/configuracoes.component.ts": /*!**********************************************************!*\ !*** ./src/app/configuracoes/configuracoes.component.ts ***! \**********************************************************/ /*! no static exports found */ /***/ (function(module, exports, __webpack_require__) { "use strict"; var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r; return c > 3 && r && Object.defineProperty(target, key, r), r; }; var __metadata = (this && this.__metadata) || function (k, v) { if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v); }; var __importDefault = (this && this.__importDefault) || function (mod) { return (mod && mod.__esModule) ? mod : { "default": mod }; }; Object.defineProperty(exports, "__esModule", { value: true }); var update_configuracoes_component_1 = __webpack_require__(/*! ./../modals/update-configuracoes/update-configuracoes.component */ "./src/app/modals/update-configuracoes/update-configuracoes.component.ts"); var core_1 = __webpack_require__(/*! @angular/core */ "./node_modules/@angular/core/__ivy_ngcc__/fesm5/core.js"); var ng_bootstrap_1 = __webpack_require__(/*! @ng-bootstrap/ng-bootstrap */ "./node_modules/@ng-bootstrap/ng-bootstrap/__ivy_ngcc__/fesm5/ng-bootstrap.js"); var api_service_1 = __webpack_require__(/*! app/services/api.service */ "./src/app/services/api.service.ts"); var ngx_toastr_1 = __webpack_require__(/*! ngx-toastr */ "./node_modules/ngx-toastr/__ivy_ngcc__/fesm5/ngx-toastr.js"); var ConfiguracoesComponent = /** @class */ (function () { function ConfiguracoesComponent(modalService, service, toastrService) { this.modalService = modalService; this.service = service; this.toastrService = toastrService; this.items = {}; this.loading = false; this.permissao = 1; this.user = {}; this.user = this.service.getUser(); this.service.isSuperUser(); this.path = this.service.getPath(); } ; ConfiguracoesComponent.prototype.ngOnInit = function () { this.getdados(); }; ConfiguracoesComponent.prototype.alterar = function (p) { var _this = this; var modalRef = this.modalService.open(update_configuracoes_component_1.UpdateConfiguracoesComponent, { size: 'lg' }); modalRef.componentInstance.title = 'Alterar configuracoes'; modalRef.componentInstance.tipo = 2; modalRef.componentInstance.userData = p; modalRef.componentInstance.passEntry.subscribe(function (receivedEntry) { _this.getdados(); }); }; ConfiguracoesComponent.prototype.getdados = function () { var _this = this; var dados = {}; this.service.getConfiguracoes(dados).then(function (result) { _this.items = result.dados; }); }; ConfiguracoesComponent.ctorParameters = function () { return [ { type: ng_bootstrap_1.NgbModal }, { type: api_service_1.ApiService }, { type: ngx_toastr_1.ToastrService } ]; }; ConfiguracoesComponent = __decorate([ core_1.Component({ selector: 'app-configuracoes', template: __importDefault(__webpack_require__(/*! raw-loader!./configuracoes.component.html */ "./node_modules/raw-loader/dist/cjs.js!./src/app/configuracoes/configuracoes.component.html")).default, styles: [__importDefault(__webpack_require__(/*! ./configuracoes.component.css */ "./src/app/configuracoes/configuracoes.component.css")).default] }), __metadata("design:paramtypes", [ng_bootstrap_1.NgbModal, api_service_1.ApiService, ngx_toastr_1.ToastrService]) ], ConfiguracoesComponent); return ConfiguracoesComponent; }()); exports.ConfiguracoesComponent = ConfiguracoesComponent; /***/ }), /***/ "./src/app/contato/contato.component.css": /*!***********************************************!*\ !*** ./src/app/contato/contato.component.css ***! \***********************************************/ /*! exports provided: default */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony default export */ __webpack_exports__["default"] = (".switch {\r\n position: relative;\r\n display: inline-block;\r\n width: 60px;\r\n height: 34px;\r\n }\r\n \r\n /* Hide default HTML checkbox */\r\n \r\n .switch input {\r\n opacity: 0;\r\n width: 0;\r\n height: 0;\r\n }\r\n \r\n /* The slider */\r\n \r\n .slider {\r\n position: absolute;\r\n cursor: pointer;\r\n top: 0;\r\n left: 0;\r\n right: 0;\r\n bottom: 0;\r\n background-color: #ccc;\r\n -webkit-transition: .4s;\r\n transition: .4s;\r\n }\r\n \r\n .slider:before {\r\n position: absolute;\r\n content: \"\";\r\n height: 26px;\r\n width: 26px;\r\n left: 4px;\r\n bottom: 4px;\r\n background-color: white;\r\n -webkit-transition: .4s;\r\n transition: .4s;\r\n }\r\n \r\n input:checked + .slider {\r\n background-color: #6e037c;\r\n }\r\n \r\n input:focus + .slider {\r\n box-shadow: 0 0 1px #6e037c;\r\n }\r\n \r\n input:checked + .slider:before {\r\n -webkit-transform: translateX(26px);\r\n transform: translateX(26px);\r\n }\r\n \r\n /* Rounded sliders */\r\n \r\n .slider.round {\r\n border-radius: 34px;\r\n }\r\n \r\n .slider.round:before {\r\n border-radius: 50%;\r\n }\r\n \r\n .pac-container {\r\n z-index: 1051 !important;\r\n}\r\n \r\n .tt {\r\n background: #0400d4;\r\n}\r\n \r\n .tt:hover{\r\n background: #0400d4;\r\n}\r\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbInNyYy9hcHAvY29udGF0by9jb250YXRvLmNvbXBvbmVudC5jc3MiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUE7SUFDSSxrQkFBa0I7SUFDbEIscUJBQXFCO0lBQ3JCLFdBQVc7SUFDWCxZQUFZO0VBQ2Q7O0VBRUEsK0JBQStCOztFQUMvQjtJQUNFLFVBQVU7SUFDVixRQUFRO0lBQ1IsU0FBUztFQUNYOztFQUVBLGVBQWU7O0VBQ2Y7SUFDRSxrQkFBa0I7SUFDbEIsZUFBZTtJQUNmLE1BQU07SUFDTixPQUFPO0lBQ1AsUUFBUTtJQUNSLFNBQVM7SUFDVCxzQkFBc0I7SUFDdEIsdUJBQXVCO0lBQ3ZCLGVBQWU7RUFDakI7O0VBRUE7SUFDRSxrQkFBa0I7SUFDbEIsV0FBVztJQUNYLFlBQVk7SUFDWixXQUFXO0lBQ1gsU0FBUztJQUNULFdBQVc7SUFDWCx1QkFBdUI7SUFDdkIsdUJBQXVCO0lBQ3ZCLGVBQWU7RUFDakI7O0VBRUE7SUFDRSx5QkFBeUI7RUFDM0I7O0VBRUE7SUFDRSwyQkFBMkI7RUFDN0I7O0VBRUE7SUFDRSxtQ0FBbUM7SUFFbkMsMkJBQTJCO0VBQzdCOztFQUVBLG9CQUFvQjs7RUFDcEI7SUFDRSxtQkFBbUI7RUFDckI7O0VBRUE7SUFDRSxrQkFBa0I7RUFDcEI7O0VBRUE7SUFDRSx3QkFBd0I7QUFDNUI7O0VBRUE7RUFDRSxtQkFBbUI7QUFDckI7O0VBRUE7RUFDRSxtQkFBbUI7QUFDckIiLCJmaWxlIjoic3JjL2FwcC9jb250YXRvL2NvbnRhdG8uY29tcG9uZW50LmNzcyIsInNvdXJjZXNDb250ZW50IjpbIi5zd2l0Y2gge1xyXG4gICAgcG9zaXRpb246IHJlbGF0aXZlO1xyXG4gICAgZGlzcGxheTogaW5saW5lLWJsb2NrO1xyXG4gICAgd2lkdGg6IDYwcHg7XHJcbiAgICBoZWlnaHQ6IDM0cHg7XHJcbiAgfVxyXG4gIFxyXG4gIC8qIEhpZGUgZGVmYXVsdCBIVE1MIGNoZWNrYm94ICovXHJcbiAgLnN3aXRjaCBpbnB1dCB7XHJcbiAgICBvcGFjaXR5OiAwO1xyXG4gICAgd2lkdGg6IDA7XHJcbiAgICBoZWlnaHQ6IDA7XHJcbiAgfVxyXG4gIFxyXG4gIC8qIFRoZSBzbGlkZXIgKi9cclxuICAuc2xpZGVyIHtcclxuICAgIHBvc2l0aW9uOiBhYnNvbHV0ZTtcclxuICAgIGN1cnNvcjogcG9pbnRlcjtcclxuICAgIHRvcDogMDtcclxuICAgIGxlZnQ6IDA7XHJcbiAgICByaWdodDogMDtcclxuICAgIGJvdHRvbTogMDtcclxuICAgIGJhY2tncm91bmQtY29sb3I6ICNjY2M7XHJcbiAgICAtd2Via2l0LXRyYW5zaXRpb246IC40cztcclxuICAgIHRyYW5zaXRpb246IC40cztcclxuICB9XHJcbiAgXHJcbiAgLnNsaWRlcjpiZWZvcmUge1xyXG4gICAgcG9zaXRpb246IGFic29sdXRlO1xyXG4gICAgY29udGVudDogXCJcIjtcclxuICAgIGhlaWdodDogMjZweDtcclxuICAgIHdpZHRoOiAyNnB4O1xyXG4gICAgbGVmdDogNHB4O1xyXG4gICAgYm90dG9tOiA0cHg7XHJcbiAgICBiYWNrZ3JvdW5kLWNvbG9yOiB3aGl0ZTtcclxuICAgIC13ZWJraXQtdHJhbnNpdGlvbjogLjRzO1xyXG4gICAgdHJhbnNpdGlvbjogLjRzO1xyXG4gIH1cclxuICBcclxuICBpbnB1dDpjaGVja2VkICsgLnNsaWRlciB7XHJcbiAgICBiYWNrZ3JvdW5kLWNvbG9yOiAjNmUwMzdjO1xyXG4gIH1cclxuICBcclxuICBpbnB1dDpmb2N1cyArIC5zbGlkZXIge1xyXG4gICAgYm94LXNoYWRvdzogMCAwIDFweCAjNmUwMzdjO1xyXG4gIH1cclxuICBcclxuICBpbnB1dDpjaGVja2VkICsgLnNsaWRlcjpiZWZvcmUge1xyXG4gICAgLXdlYmtpdC10cmFuc2Zvcm06IHRyYW5zbGF0ZVgoMjZweCk7XHJcbiAgICAtbXMtdHJhbnNmb3JtOiB0cmFuc2xhdGVYKDI2cHgpO1xyXG4gICAgdHJhbnNmb3JtOiB0cmFuc2xhdGVYKDI2cHgpO1xyXG4gIH1cclxuICBcclxuICAvKiBSb3VuZGVkIHNsaWRlcnMgKi9cclxuICAuc2xpZGVyLnJvdW5kIHtcclxuICAgIGJvcmRlci1yYWRpdXM6IDM0cHg7XHJcbiAgfVxyXG4gIFxyXG4gIC5zbGlkZXIucm91bmQ6YmVmb3JlIHtcclxuICAgIGJvcmRlci1yYWRpdXM6IDUwJTtcclxuICB9XHJcblxyXG4gIC5wYWMtY29udGFpbmVyIHtcclxuICAgIHotaW5kZXg6IDEwNTEgIWltcG9ydGFudDtcclxufVxyXG5cclxuLnR0IHtcclxuICBiYWNrZ3JvdW5kOiAjMDQwMGQ0O1xyXG59XHJcblxyXG4udHQ6aG92ZXJ7XHJcbiAgYmFja2dyb3VuZDogIzA0MDBkNDtcclxufSJdfQ== */"); /***/ }), /***/ "./src/app/contato/contato.component.ts": /*!**********************************************!*\ !*** ./src/app/contato/contato.component.ts ***! \**********************************************/ /*! no static exports found */ /***/ (function(module, exports, __webpack_require__) { "use strict"; var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r; return c > 3 && r && Object.defineProperty(target, key, r), r; }; var __metadata = (this && this.__metadata) || function (k, v) { if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v); }; var __importDefault = (this && this.__importDefault) || function (mod) { return (mod && mod.__esModule) ? mod : { "default": mod }; }; Object.defineProperty(exports, "__esModule", { value: true }); var view_contato_component_1 = __webpack_require__(/*! ./../modals/view-contato/view-contato.component */ "./src/app/modals/view-contato/view-contato.component.ts"); var core_1 = __webpack_require__(/*! @angular/core */ "./node_modules/@angular/core/__ivy_ngcc__/fesm5/core.js"); var ng_bootstrap_1 = __webpack_require__(/*! @ng-bootstrap/ng-bootstrap */ "./node_modules/@ng-bootstrap/ng-bootstrap/__ivy_ngcc__/fesm5/ng-bootstrap.js"); var api_service_1 = __webpack_require__(/*! app/services/api.service */ "./src/app/services/api.service.ts"); var ngx_toastr_1 = __webpack_require__(/*! ngx-toastr */ "./node_modules/ngx-toastr/__ivy_ngcc__/fesm5/ngx-toastr.js"); var ContatoComponent = /** @class */ (function () { function ContatoComponent(modalService, service, toastrService) { var _this = this; this.modalService = modalService; this.service = service; this.toastrService = toastrService; this.off = 0; this.limit = 10; this.total = 0; this.items = []; this.page = 1; this.loading = false; this.permissao = 1; this.user = {}; this.onPageChange = function (pageNumber) { _this.off = (pageNumber - 1) * _this.limit; _this.getdados(); }; this.user = this.service.getUser(); } ContatoComponent.prototype.ngOnInit = function () { this.getdados(); }; ContatoComponent.prototype.dataFormat = function (date) { return new Date(date).toISOString().slice(0, 10); }; ContatoComponent.prototype.trocar_permissao = function (ev) { this.off = 0; this.page = 1; this.permissao = ev; this.getdados(); }; ContatoComponent.prototype.getItems = function (ev) { this.off = 0; this.page = 1; this.getdados(); }; ContatoComponent.prototype.alterar = function (p) { var _this = this; var modalRef = this.modalService.open(view_contato_component_1.ViewContatoComponent, { size: 'lg' }); modalRef.componentInstance.userData = p; modalRef.componentInstance.passEntry.subscribe(function (receivedEntry) { _this.getdados(); }); }; ContatoComponent.prototype.getdados = function () { var _this = this; this.loading = true; var dados = { limit: this.limit, offset: this.off, }; this.service.getRecadastramento(dados).then(function (result) { _this.loading = false; _this.items = result.dados; _this.total = result.total; }); }; ContatoComponent.prototype.getNome = function (item) { var user = JSON.parse(item.informacoes); return user.matricula + ' - ' + user.nome; }; ContatoComponent.prototype.alterar_status = function (item) { var _this = this; if (item.status_recadastramento == 1) { item.status_recadastramento = 2; } else if (item.status_recadastramento != 1) { item.status_recadastramento = 1; } this.service.updateRecadastramento(item).then(function (data) { if (data.mensagem == 1) { _this.toastrService.success('Status alterado com sucesso', 'Sucesso!'); } else { if (item.status_recadastramento == 1) { item.status_recadastramento = 2; } else if (item.status_recadastramento != 1) { item.status_recadastramento = 1; } _this.toastrService.error('Não foi possivel alterar o status, tente novamente mais tarde', 'Desculpe!'); } }, function (error) { }); }; ContatoComponent.ctorParameters = function () { return [ { type: ng_bootstrap_1.NgbModal }, { type: api_service_1.ApiService }, { type: ngx_toastr_1.ToastrService } ]; }; ContatoComponent = __decorate([ core_1.Component({ selector: 'app-contato', template: __importDefault(__webpack_require__(/*! raw-loader!./contato.component.html */ "./node_modules/raw-loader/dist/cjs.js!./src/app/contato/contato.component.html")).default, styles: [__importDefault(__webpack_require__(/*! ./contato.component.css */ "./src/app/contato/contato.component.css")).default] }), __metadata("design:paramtypes", [ng_bootstrap_1.NgbModal, api_service_1.ApiService, ngx_toastr_1.ToastrService]) ], ContatoComponent); return ContatoComponent; }()); exports.ContatoComponent = ContatoComponent; /***/ }), /***/ "./src/app/covid/covid.component.css": /*!*******************************************!*\ !*** ./src/app/covid/covid.component.css ***! \*******************************************/ /*! exports provided: default */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony default export */ __webpack_exports__["default"] = ("\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiIsImZpbGUiOiJzcmMvYXBwL2NvdmlkL2NvdmlkLmNvbXBvbmVudC5jc3MifQ== */"); /***/ }), /***/ "./src/app/covid/covid.component.ts": /*!******************************************!*\ !*** ./src/app/covid/covid.component.ts ***! \******************************************/ /*! no static exports found */ /***/ (function(module, exports, __webpack_require__) { "use strict"; var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r; return c > 3 && r && Object.defineProperty(target, key, r), r; }; var __metadata = (this && this.__metadata) || function (k, v) { if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v); }; var __importDefault = (this && this.__importDefault) || function (mod) { return (mod && mod.__esModule) ? mod : { "default": mod }; }; Object.defineProperty(exports, "__esModule", { value: true }); var cadastrar_covid3_component_1 = __webpack_require__(/*! ./../modals/cadastrar-covid3/cadastrar-covid3.component */ "./src/app/modals/cadastrar-covid3/cadastrar-covid3.component.ts"); var cadastrar_covid2_component_1 = __webpack_require__(/*! ./../modals/cadastrar-covid2/cadastrar-covid2.component */ "./src/app/modals/cadastrar-covid2/cadastrar-covid2.component.ts"); var cadastro_covid_component_1 = __webpack_require__(/*! ./../modals/cadastro-covid/cadastro-covid.component */ "./src/app/modals/cadastro-covid/cadastro-covid.component.ts"); var core_1 = __webpack_require__(/*! @angular/core */ "./node_modules/@angular/core/__ivy_ngcc__/fesm5/core.js"); var ng_bootstrap_1 = __webpack_require__(/*! @ng-bootstrap/ng-bootstrap */ "./node_modules/@ng-bootstrap/ng-bootstrap/__ivy_ngcc__/fesm5/ng-bootstrap.js"); var exclusoes_component_1 = __webpack_require__(/*! app/modals/exclusoes/exclusoes.component */ "./src/app/modals/exclusoes/exclusoes.component.ts"); var api_service_1 = __webpack_require__(/*! app/services/api.service */ "./src/app/services/api.service.ts"); var ngx_toastr_1 = __webpack_require__(/*! ngx-toastr */ "./node_modules/ngx-toastr/__ivy_ngcc__/fesm5/ngx-toastr.js"); var CovidComponent = /** @class */ (function () { function CovidComponent(modalService, service, toastrService) { var _this = this; this.modalService = modalService; this.service = service; this.toastrService = toastrService; this.off = 0; this.limit = 10; this.total = 0; this.items = []; this.page = 1; this.loading = false; this.permissao = 1; this.user = {}; this.onPageChange = function (pageNumber) { _this.off = (pageNumber - 1) * _this.limit; _this.getdados(); }; this.user = this.service.getUser(); this.tipo = this.service.tipo_covid; } CovidComponent.prototype.ngOnInit = function () { this.getdados(); }; CovidComponent.prototype.dataFormat = function (date) { return new Date(date).toISOString().slice(0, 10); }; CovidComponent.prototype.open = function () { var _this = this; var modalRef; if (this.tipo == 'morro') { modalRef = this.modalService.open(cadastro_covid_component_1.CadastroCovidComponent, { size: 'lg' }); } if (this.tipo == 'pocoes') { modalRef = this.modalService.open(cadastrar_covid2_component_1.CadastrarCovid2Component, { size: 'lg' }); } if (this.tipo == 'guajeru') { modalRef = this.modalService.open(cadastrar_covid3_component_1.CadastrarCovid3Component, { size: 'lg' }); } modalRef.componentInstance.title = 'Cadastrar dados covid'; modalRef.componentInstance.tipo = 1; modalRef.componentInstance.passEntry.subscribe(function (receivedEntry) { _this.getdados(); }); }; CovidComponent.prototype.trocar_permissao = function (ev) { this.off = 0; this.page = 1; this.permissao = ev; this.getdados(); }; CovidComponent.prototype.getItems = function (ev) { this.off = 0; this.page = 1; this.getdados(); }; CovidComponent.prototype.alterar = function (p) { var _this = this; var modalRef; if (this.tipo == 'morro') { modalRef = this.modalService.open(cadastro_covid_component_1.CadastroCovidComponent, { size: 'lg' }); } if (this.tipo == 'pocoes') { modalRef = this.modalService.open(cadastrar_covid2_component_1.CadastrarCovid2Component, { size: 'lg' }); } if (this.tipo == 'guajeru') { modalRef = this.modalService.open(cadastrar_covid3_component_1.CadastrarCovid3Component, { size: 'lg' }); } modalRef.componentInstance.title = 'Alterar dados covid'; modalRef.componentInstance.tipo = 2; modalRef.componentInstance.userData = p; modalRef.componentInstance.passEntry.subscribe(function (receivedEntry) { _this.getdados(); }); }; CovidComponent.prototype.excluir = function (p) { var _this = this; var modalRef = this.modalService.open(exclusoes_component_1.ExclusoesComponent, { size: 'lg' }); modalRef.componentInstance.title = 'Excluir dado covid'; modalRef.componentInstance.tipo = 10; modalRef.componentInstance.userData = p; modalRef.componentInstance.passEntry.subscribe(function (receivedEntry) { _this.getdados(); }); }; CovidComponent.prototype.getdados = function () { var _this = this; this.loading = true; var dados = { limit: this.limit, offset: this.off, }; this.service.getCovid(dados).then(function (result) { _this.loading = false; _this.items = result.dados; _this.total = result.total; }); }; CovidComponent.prototype.alterar_status = function (item) { var _this = this; if (item.status_noticia == 1) { item.status_noticia = 2; } else if (item.status_noticia != 1) { item.status_noticia = 1; } this.service.updateNoticias(item).then(function (data) { if (data.mensagem == 1) { _this.toastrService.success('Status alterado com sucesso', 'Sucesso!'); } else { if (item.status_noticia == 1) { item.status_noticia = 2; } else if (item.status_noticia != 1) { item.status_noticia = 1; } _this.toastrService.error('Não foi possivel alterar o status, tente novamente mais tarde', 'Desculpe!'); } }, function (error) { }); }; CovidComponent.ctorParameters = function () { return [ { type: ng_bootstrap_1.NgbModal }, { type: api_service_1.ApiService }, { type: ngx_toastr_1.ToastrService } ]; }; CovidComponent = __decorate([ core_1.Component({ selector: 'app-covid', template: __importDefault(__webpack_require__(/*! raw-loader!./covid.component.html */ "./node_modules/raw-loader/dist/cjs.js!./src/app/covid/covid.component.html")).default, styles: [__importDefault(__webpack_require__(/*! ./covid.component.css */ "./src/app/covid/covid.component.css")).default] }), __metadata("design:paramtypes", [ng_bootstrap_1.NgbModal, api_service_1.ApiService, ngx_toastr_1.ToastrService]) ], CovidComponent); return CovidComponent; }()); exports.CovidComponent = CovidComponent; /***/ }), /***/ "./src/app/estrutura-organizacional/estrutura-organizacional.component.css": /*!*********************************************************************************!*\ !*** ./src/app/estrutura-organizacional/estrutura-organizacional.component.css ***! \*********************************************************************************/ /*! exports provided: default */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony default export */ __webpack_exports__["default"] = ("\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiIsImZpbGUiOiJzcmMvYXBwL2VzdHJ1dHVyYS1vcmdhbml6YWNpb25hbC9lc3RydXR1cmEtb3JnYW5pemFjaW9uYWwuY29tcG9uZW50LmNzcyJ9 */"); /***/ }), /***/ "./src/app/estrutura-organizacional/estrutura-organizacional.component.ts": /*!********************************************************************************!*\ !*** ./src/app/estrutura-organizacional/estrutura-organizacional.component.ts ***! \********************************************************************************/ /*! no static exports found */ /***/ (function(module, exports, __webpack_require__) { "use strict"; var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r; return c > 3 && r && Object.defineProperty(target, key, r), r; }; var __metadata = (this && this.__metadata) || function (k, v) { if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v); }; var __importDefault = (this && this.__importDefault) || function (mod) { return (mod && mod.__esModule) ? mod : { "default": mod }; }; Object.defineProperty(exports, "__esModule", { value: true }); var gerar_link_component_1 = __webpack_require__(/*! ./../modals/gerar-link/gerar-link.component */ "./src/app/modals/gerar-link/gerar-link.component.ts"); var ng_bootstrap_1 = __webpack_require__(/*! @ng-bootstrap/ng-bootstrap */ "./node_modules/@ng-bootstrap/ng-bootstrap/__ivy_ngcc__/fesm5/ng-bootstrap.js"); var api_service_1 = __webpack_require__(/*! app/services/api.service */ "./src/app/services/api.service.ts"); var core_1 = __webpack_require__(/*! @angular/core */ "./node_modules/@angular/core/__ivy_ngcc__/fesm5/core.js"); var EstruturaOrganizacionalComponent = /** @class */ (function () { function EstruturaOrganizacionalComponent(service, modalService) { this.service = service; this.modalService = modalService; this.user = {}; this.topEmployee = { name: 'Janis Martin', designation: 'CEO', subordinates: [ { name: 'Matthew Wikes', designation: 'VP', subordinates: [ { name: 'Tina Landry', designation: 'Budget Analyst', subordinates: [] } ] }, { name: 'Patricia Lyons', designation: 'VP', subordinates: [ { name: 'Dylan Wilson', designation: 'Web Manager', subordinates: [] }, { name: 'Deb Curtis', designation: 'Art Director', subordinates: [] } ] }, { name: 'Larry Phung', designation: 'VP', subordinates: [] } ] }; this.user = this.service.getUser(); } EstruturaOrganizacionalComponent.prototype.ngOnInit = function () { }; EstruturaOrganizacionalComponent.prototype.open = function () { var modalRef = this.modalService.open(gerar_link_component_1.GerarLinkComponent, { size: 'lg' }); }; EstruturaOrganizacionalComponent.ctorParameters = function () { return [ { type: api_service_1.ApiService }, { type: ng_bootstrap_1.NgbModal } ]; }; EstruturaOrganizacionalComponent = __decorate([ core_1.Component({ selector: 'app-estrutura-organizacional', template: __importDefault(__webpack_require__(/*! raw-loader!./estrutura-organizacional.component.html */ "./node_modules/raw-loader/dist/cjs.js!./src/app/estrutura-organizacional/estrutura-organizacional.component.html")).default, styles: [__importDefault(__webpack_require__(/*! ./estrutura-organizacional.component.css */ "./src/app/estrutura-organizacional/estrutura-organizacional.component.css")).default] }), __metadata("design:paramtypes", [api_service_1.ApiService, ng_bootstrap_1.NgbModal]) ], EstruturaOrganizacionalComponent); return EstruturaOrganizacionalComponent; }()); exports.EstruturaOrganizacionalComponent = EstruturaOrganizacionalComponent; /***/ }), /***/ "./src/app/galerias/galerias.component.css": /*!*************************************************!*\ !*** ./src/app/galerias/galerias.component.css ***! \*************************************************/ /*! exports provided: default */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony default export */ __webpack_exports__["default"] = (".switch {\r\n position: relative;\r\n display: inline-block;\r\n width: 60px;\r\n height: 34px;\r\n }\r\n \r\n /* Hide default HTML checkbox */\r\n \r\n .switch input {\r\n opacity: 0;\r\n width: 0;\r\n height: 0;\r\n }\r\n \r\n /* The slider */\r\n \r\n .slider {\r\n position: absolute;\r\n cursor: pointer;\r\n top: 0;\r\n left: 0;\r\n right: 0;\r\n bottom: 0;\r\n background-color: #ccc;\r\n -webkit-transition: .4s;\r\n transition: .4s;\r\n }\r\n \r\n .slider:before {\r\n position: absolute;\r\n content: \"\";\r\n height: 26px;\r\n width: 26px;\r\n left: 4px;\r\n bottom: 4px;\r\n background-color: white;\r\n -webkit-transition: .4s;\r\n transition: .4s;\r\n }\r\n \r\n input:checked + .slider {\r\n background-color: #6e037c;\r\n }\r\n \r\n input:focus + .slider {\r\n box-shadow: 0 0 1px #6e037c;\r\n }\r\n \r\n input:checked + .slider:before {\r\n -webkit-transform: translateX(26px);\r\n transform: translateX(26px);\r\n }\r\n \r\n /* Rounded sliders */\r\n \r\n .slider.round {\r\n border-radius: 34px;\r\n }\r\n \r\n .slider.round:before {\r\n border-radius: 50%;\r\n }\r\n \r\n .pac-container {\r\n z-index: 1051 !important;\r\n}\r\n \r\n .tt {\r\n background: #0400d4;\r\n}\r\n \r\n .tt:hover{\r\n background: #0400d4;\r\n}\r\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbInNyYy9hcHAvZ2FsZXJpYXMvZ2FsZXJpYXMuY29tcG9uZW50LmNzcyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQTtJQUNJLGtCQUFrQjtJQUNsQixxQkFBcUI7SUFDckIsV0FBVztJQUNYLFlBQVk7RUFDZDs7RUFFQSwrQkFBK0I7O0VBQy9CO0lBQ0UsVUFBVTtJQUNWLFFBQVE7SUFDUixTQUFTO0VBQ1g7O0VBRUEsZUFBZTs7RUFDZjtJQUNFLGtCQUFrQjtJQUNsQixlQUFlO0lBQ2YsTUFBTTtJQUNOLE9BQU87SUFDUCxRQUFRO0lBQ1IsU0FBUztJQUNULHNCQUFzQjtJQUN0Qix1QkFBdUI7SUFDdkIsZUFBZTtFQUNqQjs7RUFFQTtJQUNFLGtCQUFrQjtJQUNsQixXQUFXO0lBQ1gsWUFBWTtJQUNaLFdBQVc7SUFDWCxTQUFTO0lBQ1QsV0FBVztJQUNYLHVCQUF1QjtJQUN2Qix1QkFBdUI7SUFDdkIsZUFBZTtFQUNqQjs7RUFFQTtJQUNFLHlCQUF5QjtFQUMzQjs7RUFFQTtJQUNFLDJCQUEyQjtFQUM3Qjs7RUFFQTtJQUNFLG1DQUFtQztJQUVuQywyQkFBMkI7RUFDN0I7O0VBRUEsb0JBQW9COztFQUNwQjtJQUNFLG1CQUFtQjtFQUNyQjs7RUFFQTtJQUNFLGtCQUFrQjtFQUNwQjs7RUFFQTtJQUNFLHdCQUF3QjtBQUM1Qjs7RUFFQTtFQUNFLG1CQUFtQjtBQUNyQjs7RUFFQTtFQUNFLG1CQUFtQjtBQUNyQiIsImZpbGUiOiJzcmMvYXBwL2dhbGVyaWFzL2dhbGVyaWFzLmNvbXBvbmVudC5jc3MiLCJzb3VyY2VzQ29udGVudCI6WyIuc3dpdGNoIHtcclxuICAgIHBvc2l0aW9uOiByZWxhdGl2ZTtcclxuICAgIGRpc3BsYXk6IGlubGluZS1ibG9jaztcclxuICAgIHdpZHRoOiA2MHB4O1xyXG4gICAgaGVpZ2h0OiAzNHB4O1xyXG4gIH1cclxuICBcclxuICAvKiBIaWRlIGRlZmF1bHQgSFRNTCBjaGVja2JveCAqL1xyXG4gIC5zd2l0Y2ggaW5wdXQge1xyXG4gICAgb3BhY2l0eTogMDtcclxuICAgIHdpZHRoOiAwO1xyXG4gICAgaGVpZ2h0OiAwO1xyXG4gIH1cclxuICBcclxuICAvKiBUaGUgc2xpZGVyICovXHJcbiAgLnNsaWRlciB7XHJcbiAgICBwb3NpdGlvbjogYWJzb2x1dGU7XHJcbiAgICBjdXJzb3I6IHBvaW50ZXI7XHJcbiAgICB0b3A6IDA7XHJcbiAgICBsZWZ0OiAwO1xyXG4gICAgcmlnaHQ6IDA7XHJcbiAgICBib3R0b206IDA7XHJcbiAgICBiYWNrZ3JvdW5kLWNvbG9yOiAjY2NjO1xyXG4gICAgLXdlYmtpdC10cmFuc2l0aW9uOiAuNHM7XHJcbiAgICB0cmFuc2l0aW9uOiAuNHM7XHJcbiAgfVxyXG4gIFxyXG4gIC5zbGlkZXI6YmVmb3JlIHtcclxuICAgIHBvc2l0aW9uOiBhYnNvbHV0ZTtcclxuICAgIGNvbnRlbnQ6IFwiXCI7XHJcbiAgICBoZWlnaHQ6IDI2cHg7XHJcbiAgICB3aWR0aDogMjZweDtcclxuICAgIGxlZnQ6IDRweDtcclxuICAgIGJvdHRvbTogNHB4O1xyXG4gICAgYmFja2dyb3VuZC1jb2xvcjogd2hpdGU7XHJcbiAgICAtd2Via2l0LXRyYW5zaXRpb246IC40cztcclxuICAgIHRyYW5zaXRpb246IC40cztcclxuICB9XHJcbiAgXHJcbiAgaW5wdXQ6Y2hlY2tlZCArIC5zbGlkZXIge1xyXG4gICAgYmFja2dyb3VuZC1jb2xvcjogIzZlMDM3YztcclxuICB9XHJcbiAgXHJcbiAgaW5wdXQ6Zm9jdXMgKyAuc2xpZGVyIHtcclxuICAgIGJveC1zaGFkb3c6IDAgMCAxcHggIzZlMDM3YztcclxuICB9XHJcbiAgXHJcbiAgaW5wdXQ6Y2hlY2tlZCArIC5zbGlkZXI6YmVmb3JlIHtcclxuICAgIC13ZWJraXQtdHJhbnNmb3JtOiB0cmFuc2xhdGVYKDI2cHgpO1xyXG4gICAgLW1zLXRyYW5zZm9ybTogdHJhbnNsYXRlWCgyNnB4KTtcclxuICAgIHRyYW5zZm9ybTogdHJhbnNsYXRlWCgyNnB4KTtcclxuICB9XHJcbiAgXHJcbiAgLyogUm91bmRlZCBzbGlkZXJzICovXHJcbiAgLnNsaWRlci5yb3VuZCB7XHJcbiAgICBib3JkZXItcmFkaXVzOiAzNHB4O1xyXG4gIH1cclxuICBcclxuICAuc2xpZGVyLnJvdW5kOmJlZm9yZSB7XHJcbiAgICBib3JkZXItcmFkaXVzOiA1MCU7XHJcbiAgfVxyXG5cclxuICAucGFjLWNvbnRhaW5lciB7XHJcbiAgICB6LWluZGV4OiAxMDUxICFpbXBvcnRhbnQ7XHJcbn1cclxuXHJcbi50dCB7XHJcbiAgYmFja2dyb3VuZDogIzA0MDBkNDtcclxufVxyXG5cclxuLnR0OmhvdmVye1xyXG4gIGJhY2tncm91bmQ6ICMwNDAwZDQ7XHJcbn0iXX0= */"); /***/ }), /***/ "./src/app/galerias/galerias.component.ts": /*!************************************************!*\ !*** ./src/app/galerias/galerias.component.ts ***! \************************************************/ /*! no static exports found */ /***/ (function(module, exports, __webpack_require__) { "use strict"; var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r; return c > 3 && r && Object.defineProperty(target, key, r), r; }; var __metadata = (this && this.__metadata) || function (k, v) { if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v); }; var __importDefault = (this && this.__importDefault) || function (mod) { return (mod && mod.__esModule) ? mod : { "default": mod }; }; Object.defineProperty(exports, "__esModule", { value: true }); var router_1 = __webpack_require__(/*! @angular/router */ "./node_modules/@angular/router/__ivy_ngcc__/fesm5/router.js"); var exclusoes_component_1 = __webpack_require__(/*! ./../modals/exclusoes/exclusoes.component */ "./src/app/modals/exclusoes/exclusoes.component.ts"); var cadastrar_galeria_component_1 = __webpack_require__(/*! ./../modals/cadastrar-galeria/cadastrar-galeria.component */ "./src/app/modals/cadastrar-galeria/cadastrar-galeria.component.ts"); var core_1 = __webpack_require__(/*! @angular/core */ "./node_modules/@angular/core/__ivy_ngcc__/fesm5/core.js"); var ng_bootstrap_1 = __webpack_require__(/*! @ng-bootstrap/ng-bootstrap */ "./node_modules/@ng-bootstrap/ng-bootstrap/__ivy_ngcc__/fesm5/ng-bootstrap.js"); var api_service_1 = __webpack_require__(/*! app/services/api.service */ "./src/app/services/api.service.ts"); var ngx_toastr_1 = __webpack_require__(/*! ngx-toastr */ "./node_modules/ngx-toastr/__ivy_ngcc__/fesm5/ngx-toastr.js"); var GaleriasComponent = /** @class */ (function () { function GaleriasComponent(modalService, service, toastrService, router) { var _this = this; this.modalService = modalService; this.service = service; this.toastrService = toastrService; this.router = router; this.off = 0; this.limit = 10; this.total = 0; this.items = []; this.page = 1; this.loading = false; this.permissao = 1; this.user = {}; this.onPageChange = function (pageNumber) { _this.off = (pageNumber - 1) * _this.limit; _this.getdados(); }; this.user = this.service.getUser(); } GaleriasComponent.prototype.ngOnInit = function () { this.getdados(); }; GaleriasComponent.prototype.open = function () { var _this = this; var modalRef = this.modalService.open(cadastrar_galeria_component_1.CadastrarGaleriaComponent, { size: 'lg' }); modalRef.componentInstance.title = 'Cadastrar galeria'; modalRef.componentInstance.tipo = 1; modalRef.componentInstance.passEntry.subscribe(function (receivedEntry) { _this.getdados(); console.log(receivedEntry); if (receivedEntry == 2) { _this.router.navigate(['viewGaleria/', _this.items[0].id_galeria]); } }); }; GaleriasComponent.prototype.trocar_permissao = function (ev) { this.off = 0; this.page = 1; this.permissao = ev; this.getdados(); }; GaleriasComponent.prototype.getItems = function (ev) { this.off = 0; this.page = 1; this.getdados(); }; GaleriasComponent.prototype.alterar = function (p) { var _this = this; var modalRef = this.modalService.open(cadastrar_galeria_component_1.CadastrarGaleriaComponent, { size: 'lg' }); modalRef.componentInstance.title = 'Alterar galeria'; modalRef.componentInstance.tipo = 2; delete p.senha; modalRef.componentInstance.userData = p; modalRef.componentInstance.passEntry.subscribe(function (receivedEntry) { _this.getdados(); }); }; GaleriasComponent.prototype.getdados = function () { var _this = this; this.loading = true; var dados = { permissao: this.permissao, limit: this.limit, offset: this.off, pesquisa: this.pesquisa }; this.service.getGalerias(dados).then(function (result) { _this.loading = false; _this.items = result.dados; _this.total = result.total; }); }; GaleriasComponent.prototype.excluir = function (p) { var _this = this; var modalRef = this.modalService.open(exclusoes_component_1.ExclusoesComponent, { size: 'lg' }); modalRef.componentInstance.title = 'Excluir galeria'; modalRef.componentInstance.tipo = 4; modalRef.componentInstance.userData = p; modalRef.componentInstance.passEntry.subscribe(function (receivedEntry) { _this.getdados(); }); }; GaleriasComponent.prototype.alterar_status = function (item) { var _this = this; if (item.status_galeria == 1) { item.status_galeria = 2; } else if (item.status_galeria != 1) { item.status_galeria = 1; } delete item.data; this.service.updateGaleria(item).then(function (data) { if (data.dados == 1) { _this.toastrService.success('Status alterado com sucesso', 'Sucesso!'); } else { if (item.status_galeria == 1) { item.status_galeria = 2; } else if (item.status_galeria != 1) { item.status_galeria = 1; } _this.toastrService.error('Não foi possivel alterar o status, tente novamente mais tarde', 'Desculpe!'); } }, function (error) { }); }; GaleriasComponent.ctorParameters = function () { return [ { type: ng_bootstrap_1.NgbModal }, { type: api_service_1.ApiService }, { type: ngx_toastr_1.ToastrService }, { type: router_1.Router } ]; }; GaleriasComponent = __decorate([ core_1.Component({ selector: 'app-galerias', template: __importDefault(__webpack_require__(/*! raw-loader!./galerias.component.html */ "./node_modules/raw-loader/dist/cjs.js!./src/app/galerias/galerias.component.html")).default, styles: [__importDefault(__webpack_require__(/*! ./galerias.component.css */ "./src/app/galerias/galerias.component.css")).default] }), __metadata("design:paramtypes", [ng_bootstrap_1.NgbModal, api_service_1.ApiService, ngx_toastr_1.ToastrService, router_1.Router]) ], GaleriasComponent); return GaleriasComponent; }()); exports.GaleriasComponent = GaleriasComponent; /***/ }), /***/ "./src/app/layouts/admin-layout/admin-layout.component.scss": /*!******************************************************************!*\ !*** ./src/app/layouts/admin-layout/admin-layout.component.scss ***! \******************************************************************/ /*! exports provided: default */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony default export */ __webpack_exports__["default"] = ("\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiIsImZpbGUiOiJzcmMvYXBwL2xheW91dHMvYWRtaW4tbGF5b3V0L2FkbWluLWxheW91dC5jb21wb25lbnQuc2NzcyJ9 */"); /***/ }), /***/ "./src/app/layouts/admin-layout/admin-layout.component.ts": /*!****************************************************************!*\ !*** ./src/app/layouts/admin-layout/admin-layout.component.ts ***! \****************************************************************/ /*! no static exports found */ /***/ (function(module, exports, __webpack_require__) { "use strict"; var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r; return c > 3 && r && Object.defineProperty(target, key, r), r; }; var __metadata = (this && this.__metadata) || function (k, v) { if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v); }; var __importDefault = (this && this.__importDefault) || function (mod) { return (mod && mod.__esModule) ? mod : { "default": mod }; }; Object.defineProperty(exports, "__esModule", { value: true }); var core_1 = __webpack_require__(/*! @angular/core */ "./node_modules/@angular/core/__ivy_ngcc__/fesm5/core.js"); var common_1 = __webpack_require__(/*! @angular/common */ "./node_modules/@angular/common/__ivy_ngcc__/fesm5/common.js"); __webpack_require__(/*! rxjs/add/operator/filter */ "./node_modules/rxjs-compat/_esm5/add/operator/filter.js"); var router_1 = __webpack_require__(/*! @angular/router */ "./node_modules/@angular/router/__ivy_ngcc__/fesm5/router.js"); var perfect_scrollbar_1 = __webpack_require__(/*! perfect-scrollbar */ "./node_modules/perfect-scrollbar/dist/perfect-scrollbar.esm.js"); var $ = __webpack_require__(/*! jquery */ "./node_modules/jquery/dist/jquery.js"); var api_service_1 = __webpack_require__(/*! app/services/api.service */ "./src/app/services/api.service.ts"); var AdminLayoutComponent = /** @class */ (function () { function AdminLayoutComponent(location, router, service) { this.location = location; this.router = router; this.service = service; this.yScrollStack = []; this.service.verificaLogin(); } AdminLayoutComponent.prototype.ngOnInit = function () { var _this = this; var isWindows = navigator.platform.indexOf('Win') > -1 ? true : false; if (isWindows && !document.getElementsByTagName('body')[0].classList.contains('sidebar-mini')) { // if we are on windows OS we activate the perfectScrollbar function document.getElementsByTagName('body')[0].classList.add('perfect-scrollbar-on'); } else { document.getElementsByTagName('body')[0].classList.remove('perfect-scrollbar-off'); } var elemMainPanel = document.querySelector('.main-panel'); var elemSidebar = document.querySelector('.sidebar .sidebar-wrapper'); this.location.subscribe(function (ev) { _this.lastPoppedUrl = ev.url; }); this.router.events.subscribe(function (event) { if (event instanceof router_1.NavigationStart) { if (event.url != _this.lastPoppedUrl) _this.yScrollStack.push(window.scrollY); } else if (event instanceof router_1.NavigationEnd) { if (event.url == _this.lastPoppedUrl) { _this.lastPoppedUrl = undefined; window.scrollTo(0, _this.yScrollStack.pop()); } else window.scrollTo(0, 0); } }); this._router = this.router.events.filter(function (event) { return event instanceof router_1.NavigationEnd; }).subscribe(function (event) { elemMainPanel.scrollTop = 0; elemSidebar.scrollTop = 0; }); if (window.matchMedia("(min-width: 960px)").matches && !this.isMac()) { var ps = new perfect_scrollbar_1.default(elemMainPanel); ps = new perfect_scrollbar_1.default(elemSidebar); } var window_width = $(window).width(); var $sidebar = $('.sidebar'); var $sidebar_responsive = $('body > .navbar-collapse'); var $sidebar_img_container = $sidebar.find('.sidebar-background'); if (window_width > 767) { if ($('.fixed-plugin .dropdown').hasClass('show-dropdown')) { $('.fixed-plugin .dropdown').addClass('open'); } } $('.fixed-plugin a').click(function (event) { // Alex if we click on switch, stop propagation of the event, so the dropdown will not be hide, otherwise we set the section active if ($(this).hasClass('switch-trigger')) { if (event.stopPropagation) { event.stopPropagation(); } else if (window.event) { window.event.cancelBubble = true; } } }); $('.fixed-plugin .badge').click(function () { var $full_page_background = $('.full-page-background'); $(this).siblings().removeClass('active'); $(this).addClass('active'); var new_color = $(this).data('color'); if ($sidebar.length !== 0) { $sidebar.attr('data-color', new_color); } if ($sidebar_responsive.length != 0) { $sidebar_responsive.attr('data-color', new_color); } }); $('.fixed-plugin .img-holder').click(function () { var $full_page_background = $('.full-page-background'); $(this).parent('li').siblings().removeClass('active'); $(this).parent('li').addClass('active'); var new_image = $(this).find("img").attr('src'); if ($sidebar_img_container.length != 0) { $sidebar_img_container.fadeOut('fast', function () { $sidebar_img_container.css('background-image', 'url("' + new_image + '")'); $sidebar_img_container.fadeIn('fast'); }); } if ($full_page_background.length != 0) { $full_page_background.fadeOut('fast', function () { $full_page_background.css('background-image', 'url("' + new_image + '")'); $full_page_background.fadeIn('fast'); }); } if ($sidebar_responsive.length != 0) { $sidebar_responsive.css('background-image', 'url("' + new_image + '")'); } }); }; AdminLayoutComponent.prototype.ngAfterViewInit = function () { this.runOnRouteChange(); }; AdminLayoutComponent.prototype.isMaps = function (path) { var titlee = this.location.prepareExternalUrl(this.location.path()); titlee = titlee.slice(1); if (path == titlee) { return false; } else { return true; } }; AdminLayoutComponent.prototype.runOnRouteChange = function () { if (window.matchMedia("(min-width: 960px)").matches && !this.isMac()) { var elemMainPanel = document.querySelector('.main-panel'); var ps = new perfect_scrollbar_1.default(elemMainPanel); ps.update(); } }; AdminLayoutComponent.prototype.isMac = function () { var bool = false; if (navigator.platform.toUpperCase().indexOf('MAC') >= 0 || navigator.platform.toUpperCase().indexOf('IPAD') >= 0) { bool = true; } return bool; }; AdminLayoutComponent.ctorParameters = function () { return [ { type: common_1.Location }, { type: router_1.Router }, { type: api_service_1.ApiService } ]; }; AdminLayoutComponent = __decorate([ core_1.Component({ selector: 'app-admin-layout', template: __importDefault(__webpack_require__(/*! raw-loader!./admin-layout.component.html */ "./node_modules/raw-loader/dist/cjs.js!./src/app/layouts/admin-layout/admin-layout.component.html")).default, styles: [__importDefault(__webpack_require__(/*! ./admin-layout.component.scss */ "./src/app/layouts/admin-layout/admin-layout.component.scss")).default] }), __metadata("design:paramtypes", [common_1.Location, router_1.Router, api_service_1.ApiService]) ], AdminLayoutComponent); return AdminLayoutComponent; }()); exports.AdminLayoutComponent = AdminLayoutComponent; /***/ }), /***/ "./src/app/link-embed/link-embed.component.css": /*!*****************************************************!*\ !*** ./src/app/link-embed/link-embed.component.css ***! \*****************************************************/ /*! exports provided: default */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony default export */ __webpack_exports__["default"] = ("\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiIsImZpbGUiOiJzcmMvYXBwL2xpbmstZW1iZWQvbGluay1lbWJlZC5jb21wb25lbnQuY3NzIn0= */"); /***/ }), /***/ "./src/app/link-embed/link-embed.component.ts": /*!****************************************************!*\ !*** ./src/app/link-embed/link-embed.component.ts ***! \****************************************************/ /*! no static exports found */ /***/ (function(module, exports, __webpack_require__) { "use strict"; var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r; return c > 3 && r && Object.defineProperty(target, key, r), r; }; var __metadata = (this && this.__metadata) || function (k, v) { if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v); }; var __importDefault = (this && this.__importDefault) || function (mod) { return (mod && mod.__esModule) ? mod : { "default": mod }; }; Object.defineProperty(exports, "__esModule", { value: true }); var cadastrar_link_embed_component_1 = __webpack_require__(/*! ./../modals/cadastrar-link-embed/cadastrar-link-embed.component */ "./src/app/modals/cadastrar-link-embed/cadastrar-link-embed.component.ts"); var core_1 = __webpack_require__(/*! @angular/core */ "./node_modules/@angular/core/__ivy_ngcc__/fesm5/core.js"); var exclusoes_component_1 = __webpack_require__(/*! app/modals/exclusoes/exclusoes.component */ "./src/app/modals/exclusoes/exclusoes.component.ts"); var ng_bootstrap_1 = __webpack_require__(/*! @ng-bootstrap/ng-bootstrap */ "./node_modules/@ng-bootstrap/ng-bootstrap/__ivy_ngcc__/fesm5/ng-bootstrap.js"); var api_service_1 = __webpack_require__(/*! app/services/api.service */ "./src/app/services/api.service.ts"); var ngx_toastr_1 = __webpack_require__(/*! ngx-toastr */ "./node_modules/ngx-toastr/__ivy_ngcc__/fesm5/ngx-toastr.js"); var LinkEmbedComponent = /** @class */ (function () { function LinkEmbedComponent(modalService, service, toastrService) { this.modalService = modalService; this.service = service; this.toastrService = toastrService; this.items = []; this.loading = false; this.permissao = 1; this.user = {}; this.user = this.service.getUser(); this.service.isSuperUser(); this.link_embed1 = this.service.getEmbed1(); this.link_embed2 = this.service.getEmbed2(); } LinkEmbedComponent.prototype.ngOnInit = function () { this.getdados(); }; LinkEmbedComponent.prototype.open = function () { var _this = this; var modalRef = this.modalService.open(cadastrar_link_embed_component_1.CadastrarLinkEmbedComponent, { size: 'lg' }); modalRef.componentInstance.title = 'Cadastrar link'; modalRef.componentInstance.tipo = 1; modalRef.componentInstance.passEntry.subscribe(function (receivedEntry) { _this.getdados(); }); }; LinkEmbedComponent.prototype.getItems = function (ev) { this.getdados(); }; LinkEmbedComponent.prototype.alterar = function (p) { var _this = this; var modalRef = this.modalService.open(cadastrar_link_embed_component_1.CadastrarLinkEmbedComponent, { size: 'lg' }); modalRef.componentInstance.title = 'Alterar link'; modalRef.componentInstance.tipo = 2; modalRef.componentInstance.userData = p; modalRef.componentInstance.passEntry.subscribe(function (receivedEntry) { _this.getdados(); }); }; LinkEmbedComponent.prototype.excluir = function (p) { var _this = this; var modalRef = this.modalService.open(exclusoes_component_1.ExclusoesComponent, { size: 'lg' }); modalRef.componentInstance.title = 'Excluir link'; modalRef.componentInstance.tipo = 13; modalRef.componentInstance.userData = p; modalRef.componentInstance.passEntry.subscribe(function (receivedEntry) { _this.getdados(); }); }; LinkEmbedComponent.prototype.getdados = function () { var _this = this; this.loading = true; var dados = { permissao: this.permissao, pesquisa: this.pesquisa }; this.service.getLinksEmbed(dados).then(function (result) { _this.loading = false; _this.items = result.dados; }); }; LinkEmbedComponent.ctorParameters = function () { return [ { type: ng_bootstrap_1.NgbModal }, { type: api_service_1.ApiService }, { type: ngx_toastr_1.ToastrService } ]; }; LinkEmbedComponent = __decorate([ core_1.Component({ selector: 'app-link-embed', template: __importDefault(__webpack_require__(/*! raw-loader!./link-embed.component.html */ "./node_modules/raw-loader/dist/cjs.js!./src/app/link-embed/link-embed.component.html")).default, styles: [__importDefault(__webpack_require__(/*! ./link-embed.component.css */ "./src/app/link-embed/link-embed.component.css")).default] }), __metadata("design:paramtypes", [ng_bootstrap_1.NgbModal, api_service_1.ApiService, ngx_toastr_1.ToastrService]) ], LinkEmbedComponent); return LinkEmbedComponent; }()); exports.LinkEmbedComponent = LinkEmbedComponent; /***/ }), /***/ "./src/app/links-uteis/links-uteis.component.css": /*!*******************************************************!*\ !*** ./src/app/links-uteis/links-uteis.component.css ***! \*******************************************************/ /*! exports provided: default */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony default export */ __webpack_exports__["default"] = (".switch {\r\n position: relative;\r\n display: inline-block;\r\n width: 60px;\r\n height: 34px;\r\n }\r\n \r\n /* Hide default HTML checkbox */\r\n \r\n .switch input {\r\n opacity: 0;\r\n width: 0;\r\n height: 0;\r\n }\r\n \r\n /* The slider */\r\n \r\n .slider {\r\n position: absolute;\r\n cursor: pointer;\r\n top: 0;\r\n left: 0;\r\n right: 0;\r\n bottom: 0;\r\n background-color: #ccc;\r\n -webkit-transition: .4s;\r\n transition: .4s;\r\n }\r\n \r\n .slider:before {\r\n position: absolute;\r\n content: \"\";\r\n height: 26px;\r\n width: 26px;\r\n left: 4px;\r\n bottom: 4px;\r\n background-color: white;\r\n -webkit-transition: .4s;\r\n transition: .4s;\r\n }\r\n \r\n input:checked + .slider {\r\n background-color: #6e037c;\r\n }\r\n \r\n input:focus + .slider {\r\n box-shadow: 0 0 1px #6e037c;\r\n }\r\n \r\n input:checked + .slider:before {\r\n -webkit-transform: translateX(26px);\r\n transform: translateX(26px);\r\n }\r\n \r\n /* Rounded sliders */\r\n \r\n .slider.round {\r\n border-radius: 34px;\r\n }\r\n \r\n .slider.round:before {\r\n border-radius: 50%;\r\n }\r\n \r\n .pac-container {\r\n z-index: 1051 !important;\r\n}\r\n \r\n .tt {\r\n background: #0400d4;\r\n}\r\n \r\n .tt:hover{\r\n background: #0400d4;\r\n}\r\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbInNyYy9hcHAvbGlua3MtdXRlaXMvbGlua3MtdXRlaXMuY29tcG9uZW50LmNzcyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQTtJQUNJLGtCQUFrQjtJQUNsQixxQkFBcUI7SUFDckIsV0FBVztJQUNYLFlBQVk7RUFDZDs7RUFFQSwrQkFBK0I7O0VBQy9CO0lBQ0UsVUFBVTtJQUNWLFFBQVE7SUFDUixTQUFTO0VBQ1g7O0VBRUEsZUFBZTs7RUFDZjtJQUNFLGtCQUFrQjtJQUNsQixlQUFlO0lBQ2YsTUFBTTtJQUNOLE9BQU87SUFDUCxRQUFRO0lBQ1IsU0FBUztJQUNULHNCQUFzQjtJQUN0Qix1QkFBdUI7SUFDdkIsZUFBZTtFQUNqQjs7RUFFQTtJQUNFLGtCQUFrQjtJQUNsQixXQUFXO0lBQ1gsWUFBWTtJQUNaLFdBQVc7SUFDWCxTQUFTO0lBQ1QsV0FBVztJQUNYLHVCQUF1QjtJQUN2Qix1QkFBdUI7SUFDdkIsZUFBZTtFQUNqQjs7RUFFQTtJQUNFLHlCQUF5QjtFQUMzQjs7RUFFQTtJQUNFLDJCQUEyQjtFQUM3Qjs7RUFFQTtJQUNFLG1DQUFtQztJQUVuQywyQkFBMkI7RUFDN0I7O0VBRUEsb0JBQW9COztFQUNwQjtJQUNFLG1CQUFtQjtFQUNyQjs7RUFFQTtJQUNFLGtCQUFrQjtFQUNwQjs7RUFFQTtJQUNFLHdCQUF3QjtBQUM1Qjs7RUFFQTtFQUNFLG1CQUFtQjtBQUNyQjs7RUFFQTtFQUNFLG1CQUFtQjtBQUNyQiIsImZpbGUiOiJzcmMvYXBwL2xpbmtzLXV0ZWlzL2xpbmtzLXV0ZWlzLmNvbXBvbmVudC5jc3MiLCJzb3VyY2VzQ29udGVudCI6WyIuc3dpdGNoIHtcclxuICAgIHBvc2l0aW9uOiByZWxhdGl2ZTtcclxuICAgIGRpc3BsYXk6IGlubGluZS1ibG9jaztcclxuICAgIHdpZHRoOiA2MHB4O1xyXG4gICAgaGVpZ2h0OiAzNHB4O1xyXG4gIH1cclxuICBcclxuICAvKiBIaWRlIGRlZmF1bHQgSFRNTCBjaGVja2JveCAqL1xyXG4gIC5zd2l0Y2ggaW5wdXQge1xyXG4gICAgb3BhY2l0eTogMDtcclxuICAgIHdpZHRoOiAwO1xyXG4gICAgaGVpZ2h0OiAwO1xyXG4gIH1cclxuICBcclxuICAvKiBUaGUgc2xpZGVyICovXHJcbiAgLnNsaWRlciB7XHJcbiAgICBwb3NpdGlvbjogYWJzb2x1dGU7XHJcbiAgICBjdXJzb3I6IHBvaW50ZXI7XHJcbiAgICB0b3A6IDA7XHJcbiAgICBsZWZ0OiAwO1xyXG4gICAgcmlnaHQ6IDA7XHJcbiAgICBib3R0b206IDA7XHJcbiAgICBiYWNrZ3JvdW5kLWNvbG9yOiAjY2NjO1xyXG4gICAgLXdlYmtpdC10cmFuc2l0aW9uOiAuNHM7XHJcbiAgICB0cmFuc2l0aW9uOiAuNHM7XHJcbiAgfVxyXG4gIFxyXG4gIC5zbGlkZXI6YmVmb3JlIHtcclxuICAgIHBvc2l0aW9uOiBhYnNvbHV0ZTtcclxuICAgIGNvbnRlbnQ6IFwiXCI7XHJcbiAgICBoZWlnaHQ6IDI2cHg7XHJcbiAgICB3aWR0aDogMjZweDtcclxuICAgIGxlZnQ6IDRweDtcclxuICAgIGJvdHRvbTogNHB4O1xyXG4gICAgYmFja2dyb3VuZC1jb2xvcjogd2hpdGU7XHJcbiAgICAtd2Via2l0LXRyYW5zaXRpb246IC40cztcclxuICAgIHRyYW5zaXRpb246IC40cztcclxuICB9XHJcbiAgXHJcbiAgaW5wdXQ6Y2hlY2tlZCArIC5zbGlkZXIge1xyXG4gICAgYmFja2dyb3VuZC1jb2xvcjogIzZlMDM3YztcclxuICB9XHJcbiAgXHJcbiAgaW5wdXQ6Zm9jdXMgKyAuc2xpZGVyIHtcclxuICAgIGJveC1zaGFkb3c6IDAgMCAxcHggIzZlMDM3YztcclxuICB9XHJcbiAgXHJcbiAgaW5wdXQ6Y2hlY2tlZCArIC5zbGlkZXI6YmVmb3JlIHtcclxuICAgIC13ZWJraXQtdHJhbnNmb3JtOiB0cmFuc2xhdGVYKDI2cHgpO1xyXG4gICAgLW1zLXRyYW5zZm9ybTogdHJhbnNsYXRlWCgyNnB4KTtcclxuICAgIHRyYW5zZm9ybTogdHJhbnNsYXRlWCgyNnB4KTtcclxuICB9XHJcbiAgXHJcbiAgLyogUm91bmRlZCBzbGlkZXJzICovXHJcbiAgLnNsaWRlci5yb3VuZCB7XHJcbiAgICBib3JkZXItcmFkaXVzOiAzNHB4O1xyXG4gIH1cclxuICBcclxuICAuc2xpZGVyLnJvdW5kOmJlZm9yZSB7XHJcbiAgICBib3JkZXItcmFkaXVzOiA1MCU7XHJcbiAgfVxyXG5cclxuICAucGFjLWNvbnRhaW5lciB7XHJcbiAgICB6LWluZGV4OiAxMDUxICFpbXBvcnRhbnQ7XHJcbn1cclxuXHJcbi50dCB7XHJcbiAgYmFja2dyb3VuZDogIzA0MDBkNDtcclxufVxyXG5cclxuLnR0OmhvdmVye1xyXG4gIGJhY2tncm91bmQ6ICMwNDAwZDQ7XHJcbn0iXX0= */"); /***/ }), /***/ "./src/app/links-uteis/links-uteis.component.ts": /*!******************************************************!*\ !*** ./src/app/links-uteis/links-uteis.component.ts ***! \******************************************************/ /*! no static exports found */ /***/ (function(module, exports, __webpack_require__) { "use strict"; var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r; return c > 3 && r && Object.defineProperty(target, key, r), r; }; var __metadata = (this && this.__metadata) || function (k, v) { if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v); }; var __importDefault = (this && this.__importDefault) || function (mod) { return (mod && mod.__esModule) ? mod : { "default": mod }; }; Object.defineProperty(exports, "__esModule", { value: true }); var cadastrar_links_uteis_component_1 = __webpack_require__(/*! ./../modals/cadastrar-links-uteis/cadastrar-links-uteis.component */ "./src/app/modals/cadastrar-links-uteis/cadastrar-links-uteis.component.ts"); var core_1 = __webpack_require__(/*! @angular/core */ "./node_modules/@angular/core/__ivy_ngcc__/fesm5/core.js"); var ng_bootstrap_1 = __webpack_require__(/*! @ng-bootstrap/ng-bootstrap */ "./node_modules/@ng-bootstrap/ng-bootstrap/__ivy_ngcc__/fesm5/ng-bootstrap.js"); var exclusoes_component_1 = __webpack_require__(/*! app/modals/exclusoes/exclusoes.component */ "./src/app/modals/exclusoes/exclusoes.component.ts"); var api_service_1 = __webpack_require__(/*! app/services/api.service */ "./src/app/services/api.service.ts"); var ngx_toastr_1 = __webpack_require__(/*! ngx-toastr */ "./node_modules/ngx-toastr/__ivy_ngcc__/fesm5/ngx-toastr.js"); var LinksUteisComponent = /** @class */ (function () { function LinksUteisComponent(modalService, service, toastrService) { this.modalService = modalService; this.service = service; this.toastrService = toastrService; this.items = []; this.loading = false; this.permissao = 1; this.user = {}; this.user = this.service.getUser(); this.service.isSuperUser(); } LinksUteisComponent.prototype.ngOnInit = function () { this.getdados(); }; LinksUteisComponent.prototype.open = function () { var _this = this; var modalRef = this.modalService.open(cadastrar_links_uteis_component_1.CadastrarLinksUteisComponent, { size: 'lg' }); modalRef.componentInstance.title = 'Cadastrar menu'; modalRef.componentInstance.tipo = 1; modalRef.componentInstance.passEntry.subscribe(function (receivedEntry) { _this.getdados(); }); }; LinksUteisComponent.prototype.getItems = function (ev) { this.getdados(); }; LinksUteisComponent.prototype.alterar = function (p) { var _this = this; var modalRef = this.modalService.open(cadastrar_links_uteis_component_1.CadastrarLinksUteisComponent, { size: 'lg' }); modalRef.componentInstance.title = 'Alterar menu'; modalRef.componentInstance.tipo = 2; modalRef.componentInstance.userData = p; modalRef.componentInstance.passEntry.subscribe(function (receivedEntry) { _this.getdados(); }); }; LinksUteisComponent.prototype.excluir = function (p) { var _this = this; var modalRef = this.modalService.open(exclusoes_component_1.ExclusoesComponent, { size: 'lg' }); modalRef.componentInstance.title = 'Excluir link'; modalRef.componentInstance.tipo = 11; modalRef.componentInstance.userData = p; modalRef.componentInstance.passEntry.subscribe(function (receivedEntry) { _this.getdados(); }); }; LinksUteisComponent.prototype.getdados = function () { var _this = this; this.loading = true; var dados = { permissao: this.permissao, pesquisa: this.pesquisa }; this.service.getLinks(dados).then(function (result) { _this.loading = false; _this.items = result.mensagem; }); }; LinksUteisComponent.prototype.alterar_status = function (item) { var _this = this; if (item.status_links_uteis == 1) { item.status_links_uteis = 2; } else if (item.status_links_uteis != 1) { item.status_links_uteis = 1; } this.service.updateLinks(item).then(function (data) { if (data.mensagem == 1) { _this.toastrService.success('Status alterado com sucesso', 'Sucesso!'); } else { if (item.status_links_uteis == 1) { item.status_links_uteis = 2; } else if (item.status_links_uteis != 1) { item.status_links_uteis = 1; } _this.toastrService.error('Não foi possivel alterar o status, tente novamente mais tarde', 'Desculpe!'); } }, function (error) { }); }; LinksUteisComponent.ctorParameters = function () { return [ { type: ng_bootstrap_1.NgbModal }, { type: api_service_1.ApiService }, { type: ngx_toastr_1.ToastrService } ]; }; LinksUteisComponent = __decorate([ core_1.Component({ selector: 'app-links-uteis', template: __importDefault(__webpack_require__(/*! raw-loader!./links-uteis.component.html */ "./node_modules/raw-loader/dist/cjs.js!./src/app/links-uteis/links-uteis.component.html")).default, styles: [__importDefault(__webpack_require__(/*! ./links-uteis.component.css */ "./src/app/links-uteis/links-uteis.component.css")).default] }), __metadata("design:paramtypes", [ng_bootstrap_1.NgbModal, api_service_1.ApiService, ngx_toastr_1.ToastrService]) ], LinksUteisComponent); return LinksUteisComponent; }()); exports.LinksUteisComponent = LinksUteisComponent; /***/ }), /***/ "./src/app/login/login.component.css": /*!*******************************************!*\ !*** ./src/app/login/login.component.css ***! \*******************************************/ /*! exports provided: default */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony default export */ __webpack_exports__["default"] = (".imgbody {\r\n height: 100%;\r\n background-image: url('image.png');\r\n background-position: center; /* Center the image */\r\n background-repeat: no-repeat; /* Do not repeat the image */\r\n background-size: cover; /* Resize the background image to cover the entire container */\r\n\r\n}\r\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbInNyYy9hcHAvbG9naW4vbG9naW4uY29tcG9uZW50LmNzcyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQTtJQUNJLFlBQVk7SUFDWixrQ0FBNkM7SUFDN0MsMkJBQTJCLEVBQUUscUJBQXFCO0lBQ2xELDRCQUE0QixFQUFFLDRCQUE0QjtJQUMxRCxzQkFBc0IsRUFBRSw4REFBOEQ7O0FBRTFGIiwiZmlsZSI6InNyYy9hcHAvbG9naW4vbG9naW4uY29tcG9uZW50LmNzcyIsInNvdXJjZXNDb250ZW50IjpbIi5pbWdib2R5IHtcclxuICAgIGhlaWdodDogMTAwJTtcclxuICAgIGJhY2tncm91bmQtaW1hZ2U6IHVybChcImFzc2V0cy9pbWcvaW1hZ2UucG5nXCIpO1xyXG4gICAgYmFja2dyb3VuZC1wb3NpdGlvbjogY2VudGVyOyAvKiBDZW50ZXIgdGhlIGltYWdlICovXHJcbiAgICBiYWNrZ3JvdW5kLXJlcGVhdDogbm8tcmVwZWF0OyAvKiBEbyBub3QgcmVwZWF0IHRoZSBpbWFnZSAqL1xyXG4gICAgYmFja2dyb3VuZC1zaXplOiBjb3ZlcjsgLyogUmVzaXplIHRoZSBiYWNrZ3JvdW5kIGltYWdlIHRvIGNvdmVyIHRoZSBlbnRpcmUgY29udGFpbmVyICovXHJcblxyXG59Il19 */"); /***/ }), /***/ "./src/app/login/login.component.ts": /*!******************************************!*\ !*** ./src/app/login/login.component.ts ***! \******************************************/ /*! no static exports found */ /***/ (function(module, exports, __webpack_require__) { "use strict"; var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r; return c > 3 && r && Object.defineProperty(target, key, r), r; }; var __metadata = (this && this.__metadata) || function (k, v) { if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v); }; var __importDefault = (this && this.__importDefault) || function (mod) { return (mod && mod.__esModule) ? mod : { "default": mod }; }; Object.defineProperty(exports, "__esModule", { value: true }); var environment_1 = __webpack_require__(/*! ./../../environments/environment */ "./src/environments/environment.ts"); var rec_senha_component_1 = __webpack_require__(/*! ./../modals/rec-senha/rec-senha.component */ "./src/app/modals/rec-senha/rec-senha.component.ts"); var core_1 = __webpack_require__(/*! @angular/core */ "./node_modules/@angular/core/__ivy_ngcc__/fesm5/core.js"); var ngx_toastr_1 = __webpack_require__(/*! ngx-toastr */ "./node_modules/ngx-toastr/__ivy_ngcc__/fesm5/ngx-toastr.js"); var router_1 = __webpack_require__(/*! @angular/router */ "./node_modules/@angular/router/__ivy_ngcc__/fesm5/router.js"); var api_service_1 = __webpack_require__(/*! app/services/api.service */ "./src/app/services/api.service.ts"); var ng_bootstrap_1 = __webpack_require__(/*! @ng-bootstrap/ng-bootstrap */ "./node_modules/@ng-bootstrap/ng-bootstrap/__ivy_ngcc__/fesm5/ng-bootstrap.js"); var CryptoTS = __webpack_require__(/*! crypto-ts */ "./node_modules/crypto-ts/__ivy_ngcc__/esm5/crypto-ts.js"); var LoginComponent = /** @class */ (function () { function LoginComponent(toastr, router, service, modalService, route) { this.toastr = toastr; this.router = router; this.service = service; this.modalService = modalService; this.route = route; this.email = ''; this.senha = ''; this.items = {}; this.opcoes = [ { cidade: 'Prefeitura Municipal de Poções', tag: 'pocoes' }, { cidade: 'Prefeitura Municipal de Guajeru', tag: 'guajeru' }, { cidade: 'Prefeitura de Morro do chapéu', tag: 'morro' }, { cidade: 'Câmara Municipal de Morro do Chapéu', tag: 'morro_camara' }, { cidade: 'Instituto MorroPrev', tag: 'morro_prev' }, { cidade: 'Prefeitura de Barra do Choça', tag: 'barra' }, { cidade: 'Câmara Municipal de Mortugaba', tag: 'camara_mortugaba' }, { cidade: 'Camara de Vereadores de Brumado', tag: 'camara_brumado' }, { cidade: 'Prefeitura Municipal de Malhada de pedras', tag: 'malhada' }, { cidade: 'dev', tag: 'dev' } ]; this.path = this.service.getPath(); this.id = this.route.snapshot.params["id"]; } LoginComponent.prototype.ngOnInit = function () { if (this.id) { this.prefeitura = this.opcoes[parseInt(this.id) - 1].tag; this.escolherCidade(); } else { this.prefeitura = null; } }; LoginComponent.prototype.ngOnDestroy = function () { }; LoginComponent.prototype.escolherCidade2 = function () { this.prefeitura = this.tagSelecionada; this.service.setPrefeitura(this.prefeitura); sessionStorage.setItem('prefeitura', this.encryptionAES(this.tagSelecionada)); this.getdados(); }; LoginComponent.prototype.escolherCidade = function () { this.service.setPrefeitura(this.prefeitura); sessionStorage.setItem('prefeitura', this.encryptionAES(this.prefeitura)); this.getdados(); }; LoginComponent.prototype.voltar = function () { this.prefeitura = null; sessionStorage.removeItem('prefeitura'); }; LoginComponent.prototype.encryptionAES = function (msg) { // Encrypt var ciphertext = CryptoTS.AES.encrypt(msg, environment_1.environment.key); return ciphertext.toString(); }; LoginComponent.prototype.getdados = function () { var _this = this; var dados = {}; this.service.getConfiguracoes(dados).then(function (result) { _this.items = result.dados; }); }; LoginComponent.prototype.login = function () { var _this = this; if (this.email && this.senha) { var dados = { email: this.email, senha: this.senha }; this.service.login(dados).then(function (result) { console.log(dados); if (result.mensagem == 1) { sessionStorage.setItem('painelM', JSON.stringify(result.usuario)); _this.router.navigate(['dashboard']); } else { _this.toastr.warning('Informações Invalidas', 'Desculpe!'); } }); } }; LoginComponent.prototype.open = function () { var modalRef = this.modalService.open(rec_senha_component_1.RecSenhaComponent); }; LoginComponent.ctorParameters = function () { return [ { type: ngx_toastr_1.ToastrService }, { type: router_1.Router }, { type: api_service_1.ApiService }, { type: ng_bootstrap_1.NgbModal }, { type: router_1.ActivatedRoute } ]; }; LoginComponent = __decorate([ core_1.Component({ selector: 'app-login', template: __importDefault(__webpack_require__(/*! raw-loader!./login.component.html */ "./node_modules/raw-loader/dist/cjs.js!./src/app/login/login.component.html")).default, styles: [__importDefault(__webpack_require__(/*! ./login.component.css */ "./src/app/login/login.component.css")).default] }), __metadata("design:paramtypes", [ngx_toastr_1.ToastrService, router_1.Router, api_service_1.ApiService, ng_bootstrap_1.NgbModal, router_1.ActivatedRoute]) ], LoginComponent); return LoginComponent; }()); exports.LoginComponent = LoginComponent; /***/ }), /***/ "./src/app/menus/menus.component.css": /*!*******************************************!*\ !*** ./src/app/menus/menus.component.css ***! \*******************************************/ /*! exports provided: default */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony default export */ __webpack_exports__["default"] = (".switch {\r\n position: relative;\r\n display: inline-block;\r\n width: 60px;\r\n height: 34px;\r\n }\r\n \r\n /* Hide default HTML checkbox */\r\n \r\n .switch input {\r\n opacity: 0;\r\n width: 0;\r\n height: 0;\r\n }\r\n \r\n /* The slider */\r\n \r\n .slider {\r\n position: absolute;\r\n cursor: pointer;\r\n top: 0;\r\n left: 0;\r\n right: 0;\r\n bottom: 0;\r\n background-color: #ccc;\r\n -webkit-transition: .4s;\r\n transition: .4s;\r\n }\r\n \r\n .slider:before {\r\n position: absolute;\r\n content: \"\";\r\n height: 26px;\r\n width: 26px;\r\n left: 4px;\r\n bottom: 4px;\r\n background-color: white;\r\n -webkit-transition: .4s;\r\n transition: .4s;\r\n }\r\n \r\n input:checked + .slider {\r\n background-color: #6e037c;\r\n }\r\n \r\n input:focus + .slider {\r\n box-shadow: 0 0 1px #6e037c;\r\n }\r\n \r\n input:checked + .slider:before {\r\n -webkit-transform: translateX(26px);\r\n transform: translateX(26px);\r\n }\r\n \r\n /* Rounded sliders */\r\n \r\n .slider.round {\r\n border-radius: 34px;\r\n }\r\n \r\n .slider.round:before {\r\n border-radius: 50%;\r\n }\r\n \r\n .pac-container {\r\n z-index: 1051 !important;\r\n}\r\n \r\n .tt {\r\n background: #0400d4;\r\n}\r\n \r\n .tt:hover{\r\n background: #0400d4;\r\n}\r\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbInNyYy9hcHAvbWVudXMvbWVudXMuY29tcG9uZW50LmNzcyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQTtJQUNJLGtCQUFrQjtJQUNsQixxQkFBcUI7SUFDckIsV0FBVztJQUNYLFlBQVk7RUFDZDs7RUFFQSwrQkFBK0I7O0VBQy9CO0lBQ0UsVUFBVTtJQUNWLFFBQVE7SUFDUixTQUFTO0VBQ1g7O0VBRUEsZUFBZTs7RUFDZjtJQUNFLGtCQUFrQjtJQUNsQixlQUFlO0lBQ2YsTUFBTTtJQUNOLE9BQU87SUFDUCxRQUFRO0lBQ1IsU0FBUztJQUNULHNCQUFzQjtJQUN0Qix1QkFBdUI7SUFDdkIsZUFBZTtFQUNqQjs7RUFFQTtJQUNFLGtCQUFrQjtJQUNsQixXQUFXO0lBQ1gsWUFBWTtJQUNaLFdBQVc7SUFDWCxTQUFTO0lBQ1QsV0FBVztJQUNYLHVCQUF1QjtJQUN2Qix1QkFBdUI7SUFDdkIsZUFBZTtFQUNqQjs7RUFFQTtJQUNFLHlCQUF5QjtFQUMzQjs7RUFFQTtJQUNFLDJCQUEyQjtFQUM3Qjs7RUFFQTtJQUNFLG1DQUFtQztJQUVuQywyQkFBMkI7RUFDN0I7O0VBRUEsb0JBQW9COztFQUNwQjtJQUNFLG1CQUFtQjtFQUNyQjs7RUFFQTtJQUNFLGtCQUFrQjtFQUNwQjs7RUFFQTtJQUNFLHdCQUF3QjtBQUM1Qjs7RUFFQTtFQUNFLG1CQUFtQjtBQUNyQjs7RUFFQTtFQUNFLG1CQUFtQjtBQUNyQiIsImZpbGUiOiJzcmMvYXBwL21lbnVzL21lbnVzLmNvbXBvbmVudC5jc3MiLCJzb3VyY2VzQ29udGVudCI6WyIuc3dpdGNoIHtcclxuICAgIHBvc2l0aW9uOiByZWxhdGl2ZTtcclxuICAgIGRpc3BsYXk6IGlubGluZS1ibG9jaztcclxuICAgIHdpZHRoOiA2MHB4O1xyXG4gICAgaGVpZ2h0OiAzNHB4O1xyXG4gIH1cclxuICBcclxuICAvKiBIaWRlIGRlZmF1bHQgSFRNTCBjaGVja2JveCAqL1xyXG4gIC5zd2l0Y2ggaW5wdXQge1xyXG4gICAgb3BhY2l0eTogMDtcclxuICAgIHdpZHRoOiAwO1xyXG4gICAgaGVpZ2h0OiAwO1xyXG4gIH1cclxuICBcclxuICAvKiBUaGUgc2xpZGVyICovXHJcbiAgLnNsaWRlciB7XHJcbiAgICBwb3NpdGlvbjogYWJzb2x1dGU7XHJcbiAgICBjdXJzb3I6IHBvaW50ZXI7XHJcbiAgICB0b3A6IDA7XHJcbiAgICBsZWZ0OiAwO1xyXG4gICAgcmlnaHQ6IDA7XHJcbiAgICBib3R0b206IDA7XHJcbiAgICBiYWNrZ3JvdW5kLWNvbG9yOiAjY2NjO1xyXG4gICAgLXdlYmtpdC10cmFuc2l0aW9uOiAuNHM7XHJcbiAgICB0cmFuc2l0aW9uOiAuNHM7XHJcbiAgfVxyXG4gIFxyXG4gIC5zbGlkZXI6YmVmb3JlIHtcclxuICAgIHBvc2l0aW9uOiBhYnNvbHV0ZTtcclxuICAgIGNvbnRlbnQ6IFwiXCI7XHJcbiAgICBoZWlnaHQ6IDI2cHg7XHJcbiAgICB3aWR0aDogMjZweDtcclxuICAgIGxlZnQ6IDRweDtcclxuICAgIGJvdHRvbTogNHB4O1xyXG4gICAgYmFja2dyb3VuZC1jb2xvcjogd2hpdGU7XHJcbiAgICAtd2Via2l0LXRyYW5zaXRpb246IC40cztcclxuICAgIHRyYW5zaXRpb246IC40cztcclxuICB9XHJcbiAgXHJcbiAgaW5wdXQ6Y2hlY2tlZCArIC5zbGlkZXIge1xyXG4gICAgYmFja2dyb3VuZC1jb2xvcjogIzZlMDM3YztcclxuICB9XHJcbiAgXHJcbiAgaW5wdXQ6Zm9jdXMgKyAuc2xpZGVyIHtcclxuICAgIGJveC1zaGFkb3c6IDAgMCAxcHggIzZlMDM3YztcclxuICB9XHJcbiAgXHJcbiAgaW5wdXQ6Y2hlY2tlZCArIC5zbGlkZXI6YmVmb3JlIHtcclxuICAgIC13ZWJraXQtdHJhbnNmb3JtOiB0cmFuc2xhdGVYKDI2cHgpO1xyXG4gICAgLW1zLXRyYW5zZm9ybTogdHJhbnNsYXRlWCgyNnB4KTtcclxuICAgIHRyYW5zZm9ybTogdHJhbnNsYXRlWCgyNnB4KTtcclxuICB9XHJcbiAgXHJcbiAgLyogUm91bmRlZCBzbGlkZXJzICovXHJcbiAgLnNsaWRlci5yb3VuZCB7XHJcbiAgICBib3JkZXItcmFkaXVzOiAzNHB4O1xyXG4gIH1cclxuICBcclxuICAuc2xpZGVyLnJvdW5kOmJlZm9yZSB7XHJcbiAgICBib3JkZXItcmFkaXVzOiA1MCU7XHJcbiAgfVxyXG5cclxuICAucGFjLWNvbnRhaW5lciB7XHJcbiAgICB6LWluZGV4OiAxMDUxICFpbXBvcnRhbnQ7XHJcbn1cclxuXHJcbi50dCB7XHJcbiAgYmFja2dyb3VuZDogIzA0MDBkNDtcclxufVxyXG5cclxuLnR0OmhvdmVye1xyXG4gIGJhY2tncm91bmQ6ICMwNDAwZDQ7XHJcbn0iXX0= */"); /***/ }), /***/ "./src/app/menus/menus.component.ts": /*!******************************************!*\ !*** ./src/app/menus/menus.component.ts ***! \******************************************/ /*! no static exports found */ /***/ (function(module, exports, __webpack_require__) { "use strict"; var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r; return c > 3 && r && Object.defineProperty(target, key, r), r; }; var __metadata = (this && this.__metadata) || function (k, v) { if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v); }; var __importDefault = (this && this.__importDefault) || function (mod) { return (mod && mod.__esModule) ? mod : { "default": mod }; }; Object.defineProperty(exports, "__esModule", { value: true }); var submenus_component_1 = __webpack_require__(/*! ./../modals/submenus/submenus.component */ "./src/app/modals/submenus/submenus.component.ts"); var cadastrar_menus_component_1 = __webpack_require__(/*! ./../modals/cadastrar-menus/cadastrar-menus.component */ "./src/app/modals/cadastrar-menus/cadastrar-menus.component.ts"); var core_1 = __webpack_require__(/*! @angular/core */ "./node_modules/@angular/core/__ivy_ngcc__/fesm5/core.js"); var exclusoes_component_1 = __webpack_require__(/*! app/modals/exclusoes/exclusoes.component */ "./src/app/modals/exclusoes/exclusoes.component.ts"); var ng_bootstrap_1 = __webpack_require__(/*! @ng-bootstrap/ng-bootstrap */ "./node_modules/@ng-bootstrap/ng-bootstrap/__ivy_ngcc__/fesm5/ng-bootstrap.js"); var api_service_1 = __webpack_require__(/*! app/services/api.service */ "./src/app/services/api.service.ts"); var ngx_toastr_1 = __webpack_require__(/*! ngx-toastr */ "./node_modules/ngx-toastr/__ivy_ngcc__/fesm5/ngx-toastr.js"); var MenusComponent = /** @class */ (function () { function MenusComponent(modalService, service, toastrService) { this.modalService = modalService; this.service = service; this.toastrService = toastrService; this.items = []; this.loading = false; this.permissao = 1; this.user = {}; this.user = this.service.getUser(); this.service.isSuperUser(); } MenusComponent.prototype.ngOnInit = function () { this.getdados(); }; MenusComponent.prototype.open = function () { var _this = this; var modalRef = this.modalService.open(cadastrar_menus_component_1.CadastrarMenusComponent, { size: 'lg' }); modalRef.componentInstance.title = 'Cadastrar menu'; modalRef.componentInstance.tipo = 1; modalRef.componentInstance.passEntry.subscribe(function (receivedEntry) { _this.getdados(); }); }; MenusComponent.prototype.getItems = function (ev) { this.getdados(); }; MenusComponent.prototype.alterar = function (p) { var _this = this; var modalRef = this.modalService.open(cadastrar_menus_component_1.CadastrarMenusComponent, { size: 'lg' }); modalRef.componentInstance.title = 'Alterar menu'; modalRef.componentInstance.tipo = 2; modalRef.componentInstance.userData = p; modalRef.componentInstance.passEntry.subscribe(function (receivedEntry) { _this.getdados(); }); }; MenusComponent.prototype.alterar2 = function (p) { var _this = this; var modalRef = this.modalService.open(submenus_component_1.SubmenusComponent, { size: 'lg' }); modalRef.componentInstance.userData = p; modalRef.componentInstance.passEntry.subscribe(function (receivedEntry) { _this.getdados(); }); }; MenusComponent.prototype.excluir = function (p) { var _this = this; var modalRef = this.modalService.open(exclusoes_component_1.ExclusoesComponent, { size: 'lg' }); modalRef.componentInstance.title = 'Excluir menu'; modalRef.componentInstance.tipo = 9; modalRef.componentInstance.userData = p; modalRef.componentInstance.passEntry.subscribe(function (receivedEntry) { _this.getdados(); }); }; MenusComponent.prototype.getdados = function () { var _this = this; this.loading = true; var dados = { permissao: this.permissao, pesquisa: this.pesquisa }; this.service.getMenus(dados).then(function (result) { _this.loading = false; _this.items = result.mensagem; }); }; MenusComponent.prototype.alterar_status = function (item) { var _this = this; if (item.status_menu_item == 1) { item.status_menu_item = 2; } else if (item.status_menu_item != 1) { item.status_menu_item = 1; } this.service.updateMenus(item).then(function (data) { if (data.mensagem == 1) { _this.toastrService.success('Status alterado com sucesso', 'Sucesso!'); } else { if (item.status_menu_item == 1) { item.status_menu_item = 2; } else if (item.status_menu_item != 1) { item.status_menu_item = 1; } _this.toastrService.error('Não foi possivel alterar o status, tente novamente mais tarde', 'Desculpe!'); } }, function (error) { }); }; MenusComponent.ctorParameters = function () { return [ { type: ng_bootstrap_1.NgbModal }, { type: api_service_1.ApiService }, { type: ngx_toastr_1.ToastrService } ]; }; MenusComponent = __decorate([ core_1.Component({ selector: 'app-menus', template: __importDefault(__webpack_require__(/*! raw-loader!./menus.component.html */ "./node_modules/raw-loader/dist/cjs.js!./src/app/menus/menus.component.html")).default, styles: [__importDefault(__webpack_require__(/*! ./menus.component.css */ "./src/app/menus/menus.component.css")).default] }), __metadata("design:paramtypes", [ng_bootstrap_1.NgbModal, api_service_1.ApiService, ngx_toastr_1.ToastrService]) ], MenusComponent); return MenusComponent; }()); exports.MenusComponent = MenusComponent; /***/ }), /***/ "./src/app/modals/alterar-banners/alterar-banners.component.css": /*!**********************************************************************!*\ !*** ./src/app/modals/alterar-banners/alterar-banners.component.css ***! \**********************************************************************/ /*! exports provided: default */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony default export */ __webpack_exports__["default"] = ("\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiIsImZpbGUiOiJzcmMvYXBwL21vZGFscy9hbHRlcmFyLWJhbm5lcnMvYWx0ZXJhci1iYW5uZXJzLmNvbXBvbmVudC5jc3MifQ== */"); /***/ }), /***/ "./src/app/modals/alterar-banners/alterar-banners.component.ts": /*!*********************************************************************!*\ !*** ./src/app/modals/alterar-banners/alterar-banners.component.ts ***! \*********************************************************************/ /*! no static exports found */ /***/ (function(module, exports, __webpack_require__) { "use strict"; var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r; return c > 3 && r && Object.defineProperty(target, key, r), r; }; var __metadata = (this && this.__metadata) || function (k, v) { if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v); }; var __importDefault = (this && this.__importDefault) || function (mod) { return (mod && mod.__esModule) ? mod : { "default": mod }; }; Object.defineProperty(exports, "__esModule", { value: true }); var http_1 = __webpack_require__(/*! @angular/common/http */ "./node_modules/@angular/common/__ivy_ngcc__/fesm5/http.js"); var core_1 = __webpack_require__(/*! @angular/core */ "./node_modules/@angular/core/__ivy_ngcc__/fesm5/core.js"); var ng_bootstrap_1 = __webpack_require__(/*! @ng-bootstrap/ng-bootstrap */ "./node_modules/@ng-bootstrap/ng-bootstrap/__ivy_ngcc__/fesm5/ng-bootstrap.js"); var api_service_1 = __webpack_require__(/*! app/services/api.service */ "./src/app/services/api.service.ts"); var ngx_toastr_1 = __webpack_require__(/*! ngx-toastr */ "./node_modules/ngx-toastr/__ivy_ngcc__/fesm5/ngx-toastr.js"); var AlterarBannersComponent = /** @class */ (function () { function AlterarBannersComponent(service, toastr, activeModal, http) { this.service = service; this.toastr = toastr; this.activeModal = activeModal; this.http = http; this.userData = {}; this.passEntry = new core_1.EventEmitter(); this.empresas = []; this.path = this.service.getPath(); } AlterarBannersComponent.prototype.ngOnInit = function () { }; AlterarBannersComponent.prototype.removerImagem = function () { if (this.tipo == 1) { this.userData.banner_1 = null; } if (this.tipo == 2) { this.userData.banner_2 = null; } if (this.tipo == 3) { this.userData.banner_3 = null; } if (this.tipo == 4) { this.userData.banner_4 = null; } if (this.tipo == 5) { this.userData.banner_5 = null; } if (this.tipo == 6) { this.userData.banner_6 = null; } if (this.tipo == 7) { this.userData.banner_7 = null; } if (this.tipo == 8) { this.userData.banner_1_item1 = null; } if (this.tipo == 9) { this.userData.banner_1_item2 = null; } if (this.tipo == 10) { this.userData.banner_8 = null; } if (this.tipo == 11) { this.userData.banner_9 = null; } }; AlterarBannersComponent.prototype.close = function () { this.activeModal.close(); this.passEntry.emit(1); }; AlterarBannersComponent.prototype.inputFileChange = function (event) { var _this = this; this.loading = true; if (event.target.files && event.target.files[0]) { this.foto = event.target.files[0]; var formData = new FormData(); formData.append('foto', this.foto); var url = this.service.getUrl() + 'upload-imagem/'; this.http.post(url, formData) .subscribe(function (resposta) { _this.loading = false; if (_this.tipo == 1) { _this.userData.banner_1 = resposta.mensagem; _this.userData.base_url_banner1 = resposta.base_url; } if (_this.tipo == 2) { _this.userData.banner_2 = resposta.mensagem; _this.userData.base_url_banner2 = resposta.base_url; } if (_this.tipo == 3) { _this.userData.banner_3 = resposta.mensagem; _this.userData.base_url_banner3 = resposta.base_url; } if (_this.tipo == 4) { _this.userData.banner_4 = resposta.mensagem; _this.userData.base_url_banner4 = resposta.base_url; } if (_this.tipo == 5) { _this.userData.banner_5 = resposta.mensagem; _this.userData.base_url_banner5 = resposta.base_url; } if (_this.tipo == 6) { _this.userData.banner_6 = resposta.mensagem; _this.userData.base_url_banner6 = resposta.base_url; } if (_this.tipo == 7) { _this.userData.banner_7 = resposta.mensagem; _this.userData.base_url_banner7 = resposta.base_url; } if (_this.tipo == 8) { _this.userData.banner_1_item1 = resposta.mensagem; _this.userData.base_url_banner1_item1 = resposta.base_url; } if (_this.tipo == 9) { _this.userData.banner_1_item2 = resposta.mensagem; _this.userData.base_url_banner1_item2 = resposta.base_url; } if (_this.tipo == 10) { _this.userData.banner_8 = resposta.mensagem; _this.userData.base_url_banner8 = resposta.base_url; } if (_this.tipo == 11) { _this.userData.banner_9 = resposta.mensagem; _this.userData.base_url_banner9 = resposta.base_url; } }); } }; AlterarBannersComponent.prototype.salvar = function () { this.updateUser(); }; AlterarBannersComponent.prototype.updateUser = function () { var _this = this; this.service.updateBanners(this.userData).then(function (result) { if (result.mensagem == 1) { _this.toastr.success('configurações alterada com sucesso', 'Sucesso!'); _this.close(); } else { _this.toastr.error('erro no servidor, tente novamente mais tarde', 'Erro!'); } }); }; AlterarBannersComponent.ctorParameters = function () { return [ { type: api_service_1.ApiService }, { type: ngx_toastr_1.ToastrService }, { type: ng_bootstrap_1.NgbActiveModal }, { type: http_1.HttpClient } ]; }; __decorate([ core_1.Input(), __metadata("design:type", Object) ], AlterarBannersComponent.prototype, "userData", void 0); __decorate([ core_1.Input(), __metadata("design:type", Object) ], AlterarBannersComponent.prototype, "title", void 0); __decorate([ core_1.Input(), __metadata("design:type", Object) ], AlterarBannersComponent.prototype, "tipo", void 0); __decorate([ core_1.Output(), __metadata("design:type", core_1.EventEmitter) ], AlterarBannersComponent.prototype, "passEntry", void 0); AlterarBannersComponent = __decorate([ core_1.Component({ selector: 'app-alterar-banners', template: __importDefault(__webpack_require__(/*! raw-loader!./alterar-banners.component.html */ "./node_modules/raw-loader/dist/cjs.js!./src/app/modals/alterar-banners/alterar-banners.component.html")).default, styles: [__importDefault(__webpack_require__(/*! ./alterar-banners.component.css */ "./src/app/modals/alterar-banners/alterar-banners.component.css")).default] }), __metadata("design:paramtypes", [api_service_1.ApiService, ngx_toastr_1.ToastrService, ng_bootstrap_1.NgbActiveModal, http_1.HttpClient]) ], AlterarBannersComponent); return AlterarBannersComponent; }()); exports.AlterarBannersComponent = AlterarBannersComponent; /***/ }), /***/ "./src/app/modals/cadastrar-agenda/cadastrar-agenda.component.css": /*!************************************************************************!*\ !*** ./src/app/modals/cadastrar-agenda/cadastrar-agenda.component.css ***! \************************************************************************/ /*! exports provided: default */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony default export */ __webpack_exports__["default"] = ("\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiIsImZpbGUiOiJzcmMvYXBwL21vZGFscy9jYWRhc3RyYXItYWdlbmRhL2NhZGFzdHJhci1hZ2VuZGEuY29tcG9uZW50LmNzcyJ9 */"); /***/ }), /***/ "./src/app/modals/cadastrar-agenda/cadastrar-agenda.component.ts": /*!***********************************************************************!*\ !*** ./src/app/modals/cadastrar-agenda/cadastrar-agenda.component.ts ***! \***********************************************************************/ /*! no static exports found */ /***/ (function(module, exports, __webpack_require__) { "use strict"; var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r; return c > 3 && r && Object.defineProperty(target, key, r), r; }; var __metadata = (this && this.__metadata) || function (k, v) { if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v); }; var __importDefault = (this && this.__importDefault) || function (mod) { return (mod && mod.__esModule) ? mod : { "default": mod }; }; Object.defineProperty(exports, "__esModule", { value: true }); var core_1 = __webpack_require__(/*! @angular/core */ "./node_modules/@angular/core/__ivy_ngcc__/fesm5/core.js"); var ng_bootstrap_1 = __webpack_require__(/*! @ng-bootstrap/ng-bootstrap */ "./node_modules/@ng-bootstrap/ng-bootstrap/__ivy_ngcc__/fesm5/ng-bootstrap.js"); var api_service_1 = __webpack_require__(/*! app/services/api.service */ "./src/app/services/api.service.ts"); var ngx_toastr_1 = __webpack_require__(/*! ngx-toastr */ "./node_modules/ngx-toastr/__ivy_ngcc__/fesm5/ngx-toastr.js"); var DecoupledEditor = __webpack_require__(/*! @ckeditor/ckeditor5-build-decoupled-document */ "./node_modules/@ckeditor/ckeditor5-build-decoupled-document/build/ckeditor.js"); var http_1 = __webpack_require__(/*! @angular/common/http */ "./node_modules/@angular/common/__ivy_ngcc__/fesm5/http.js"); var UploadAdapter = /** @class */ (function () { function UploadAdapter(loader) { this.loader = loader; } UploadAdapter.prototype.upload = function () { return this.loader.file .then(function (file) { return new Promise(function (resolve, reject) { var myReader = new FileReader(); myReader.onloadend = function (e) { resolve({ default: myReader.result }); }; myReader.readAsDataURL(file); }); }); }; ; return UploadAdapter; }()); var CadastrarAgendaComponent = /** @class */ (function () { function CadastrarAgendaComponent(service, toastr, activeModal, http) { this.service = service; this.toastr = toastr; this.activeModal = activeModal; this.http = http; this.Editor = DecoupledEditor; this.userData = { descricao: '' }; this.passEntry = new core_1.EventEmitter(); this.empresas = []; this.secretarias = []; } CadastrarAgendaComponent.prototype.ngOnInit = function () { if (this.tipo == 2) { this.userData.date = this.dataFormat(this.userData.date); } }; CadastrarAgendaComponent.prototype.dataFormat = function (date) { return new Date(date).toISOString().slice(0, 10); }; CadastrarAgendaComponent.prototype.onReady = function (eventData) { eventData.ui.getEditableElement().parentElement.insertBefore(eventData.ui.view.toolbar.element, eventData.ui.getEditableElement()); eventData.plugins.get('FileRepository').createUploadAdapter = function (loader) { console.log(btoa(loader.file)); return new UploadAdapter(loader); }; }; CadastrarAgendaComponent.prototype.close = function () { this.activeModal.close(); this.passEntry.emit(1); }; CadastrarAgendaComponent.prototype.close2 = function () { this.activeModal.close(); this.passEntry.emit(2); }; CadastrarAgendaComponent.prototype.salvar = function () { if (this.tipo == 1) { this.setUser(); } else { this.updateUser(); } }; CadastrarAgendaComponent.prototype.setUser = function () { var _this = this; if (this.userData.titulo || this.userData.date) { this.service.setAgenda(this.userData).then(function (result) { if (result.mensagem == 1) { _this.toastr.success('agenda cadastrada com sucesso', 'Sucesso!'); _this.close2(); } else { _this.toastr.error('Não foi possivel cadastrar a agenda, tente novamente mais tarde', 'Erro!'); } }); } else { this.toastr.warning('Preencha todos os campos', 'Atenção!'); } }; CadastrarAgendaComponent.prototype.updateUser = function () { var _this = this; if (this.userData.titulo || this.userData.date) { this.service.updateAgenda(this.userData).then(function (result) { if (result.mensagem == 1) { _this.toastr.success('agenda alterada com sucesso', 'Sucesso!'); _this.close(); } else { _this.toastr.error('erro no servidor, tente novamente mais tarde', 'Erro!'); } }); } else { this.toastr.warning('Preencha todos os campos', 'Atenção!'); } }; CadastrarAgendaComponent.ctorParameters = function () { return [ { type: api_service_1.ApiService }, { type: ngx_toastr_1.ToastrService }, { type: ng_bootstrap_1.NgbActiveModal }, { type: http_1.HttpClient } ]; }; __decorate([ core_1.Input(), __metadata("design:type", Object) ], CadastrarAgendaComponent.prototype, "userData", void 0); __decorate([ core_1.Input(), __metadata("design:type", Object) ], CadastrarAgendaComponent.prototype, "title", void 0); __decorate([ core_1.Input(), __metadata("design:type", Object) ], CadastrarAgendaComponent.prototype, "tipo", void 0); __decorate([ core_1.Output(), __metadata("design:type", core_1.EventEmitter) ], CadastrarAgendaComponent.prototype, "passEntry", void 0); CadastrarAgendaComponent = __decorate([ core_1.Component({ selector: 'app-cadastrar-agenda', template: __importDefault(__webpack_require__(/*! raw-loader!./cadastrar-agenda.component.html */ "./node_modules/raw-loader/dist/cjs.js!./src/app/modals/cadastrar-agenda/cadastrar-agenda.component.html")).default, styles: [__importDefault(__webpack_require__(/*! ./cadastrar-agenda.component.css */ "./src/app/modals/cadastrar-agenda/cadastrar-agenda.component.css")).default] }), __metadata("design:paramtypes", [api_service_1.ApiService, ngx_toastr_1.ToastrService, ng_bootstrap_1.NgbActiveModal, http_1.HttpClient]) ], CadastrarAgendaComponent); return CadastrarAgendaComponent; }()); exports.CadastrarAgendaComponent = CadastrarAgendaComponent; /***/ }), /***/ "./src/app/modals/cadastrar-barra-lateral/cadastrar-barra-lateral.component.css": /*!**************************************************************************************!*\ !*** ./src/app/modals/cadastrar-barra-lateral/cadastrar-barra-lateral.component.css ***! \**************************************************************************************/ /*! exports provided: default */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony default export */ __webpack_exports__["default"] = ("\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiIsImZpbGUiOiJzcmMvYXBwL21vZGFscy9jYWRhc3RyYXItYmFycmEtbGF0ZXJhbC9jYWRhc3RyYXItYmFycmEtbGF0ZXJhbC5jb21wb25lbnQuY3NzIn0= */"); /***/ }), /***/ "./src/app/modals/cadastrar-barra-lateral/cadastrar-barra-lateral.component.ts": /*!*************************************************************************************!*\ !*** ./src/app/modals/cadastrar-barra-lateral/cadastrar-barra-lateral.component.ts ***! \*************************************************************************************/ /*! no static exports found */ /***/ (function(module, exports, __webpack_require__) { "use strict"; var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r; return c > 3 && r && Object.defineProperty(target, key, r), r; }; var __metadata = (this && this.__metadata) || function (k, v) { if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v); }; var __importDefault = (this && this.__importDefault) || function (mod) { return (mod && mod.__esModule) ? mod : { "default": mod }; }; Object.defineProperty(exports, "__esModule", { value: true }); var core_1 = __webpack_require__(/*! @angular/core */ "./node_modules/@angular/core/__ivy_ngcc__/fesm5/core.js"); var ng_bootstrap_1 = __webpack_require__(/*! @ng-bootstrap/ng-bootstrap */ "./node_modules/@ng-bootstrap/ng-bootstrap/__ivy_ngcc__/fesm5/ng-bootstrap.js"); var api_service_1 = __webpack_require__(/*! app/services/api.service */ "./src/app/services/api.service.ts"); var ngx_toastr_1 = __webpack_require__(/*! ngx-toastr */ "./node_modules/ngx-toastr/__ivy_ngcc__/fesm5/ngx-toastr.js"); var CadastrarBarraLateralComponent = /** @class */ (function () { function CadastrarBarraLateralComponent(service, toastr, activeModal) { this.service = service; this.toastr = toastr; this.activeModal = activeModal; this.userData = {}; this.passEntry = new core_1.EventEmitter(); this.empresas = []; } CadastrarBarraLateralComponent.prototype.ngOnInit = function () { }; CadastrarBarraLateralComponent.prototype.close = function () { this.activeModal.close(); this.passEntry.emit(1); }; CadastrarBarraLateralComponent.prototype.salvar = function () { if (this.tipo == 1) { this.setUser(); } else { this.updateUser(); } }; CadastrarBarraLateralComponent.prototype.setUser = function () { var _this = this; if (this.userData.descricao) { this.service.setBarraLateral(this.userData).then(function (result) { if (result.dados == 1) { _this.toastr.success('dados cadastrados com sucesso', 'Sucesso!'); _this.close(); } else { _this.toastr.error('erro no servidor, tente novamente mais tarde', 'Erro!'); } }); } else { this.toastr.warning('Preencha todos os campos', 'Atenção!'); } }; CadastrarBarraLateralComponent.prototype.updateUser = function () { var _this = this; if (this.userData.descricao) { this.service.updateBarraLateral(this.userData).then(function (result) { if (result.dados == 1) { _this.toastr.success('dados alterados com sucesso', 'Sucesso!'); _this.close(); } else { _this.toastr.error('erro no servidor, tente novamente mais tarde', 'Erro!'); } }); } else { this.toastr.warning('Preencha todos os campos', 'Atenção!'); } }; CadastrarBarraLateralComponent.ctorParameters = function () { return [ { type: api_service_1.ApiService }, { type: ngx_toastr_1.ToastrService }, { type: ng_bootstrap_1.NgbActiveModal } ]; }; __decorate([ core_1.Input(), __metadata("design:type", Object) ], CadastrarBarraLateralComponent.prototype, "userData", void 0); __decorate([ core_1.Input(), __metadata("design:type", Object) ], CadastrarBarraLateralComponent.prototype, "title", void 0); __decorate([ core_1.Input(), __metadata("design:type", Object) ], CadastrarBarraLateralComponent.prototype, "tipo", void 0); __decorate([ core_1.Output(), __metadata("design:type", core_1.EventEmitter) ], CadastrarBarraLateralComponent.prototype, "passEntry", void 0); CadastrarBarraLateralComponent = __decorate([ core_1.Component({ selector: 'app-cadastrar-barra-lateral', template: __importDefault(__webpack_require__(/*! raw-loader!./cadastrar-barra-lateral.component.html */ "./node_modules/raw-loader/dist/cjs.js!./src/app/modals/cadastrar-barra-lateral/cadastrar-barra-lateral.component.html")).default, styles: [__importDefault(__webpack_require__(/*! ./cadastrar-barra-lateral.component.css */ "./src/app/modals/cadastrar-barra-lateral/cadastrar-barra-lateral.component.css")).default] }), __metadata("design:paramtypes", [api_service_1.ApiService, ngx_toastr_1.ToastrService, ng_bootstrap_1.NgbActiveModal]) ], CadastrarBarraLateralComponent); return CadastrarBarraLateralComponent; }()); exports.CadastrarBarraLateralComponent = CadastrarBarraLateralComponent; /***/ }), /***/ "./src/app/modals/cadastrar-categoria-publicacao/cadastrar-categoria-publicacao.component.css": /*!****************************************************************************************************!*\ !*** ./src/app/modals/cadastrar-categoria-publicacao/cadastrar-categoria-publicacao.component.css ***! \****************************************************************************************************/ /*! exports provided: default */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony default export */ __webpack_exports__["default"] = ("\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiIsImZpbGUiOiJzcmMvYXBwL21vZGFscy9jYWRhc3RyYXItY2F0ZWdvcmlhLXB1YmxpY2FjYW8vY2FkYXN0cmFyLWNhdGVnb3JpYS1wdWJsaWNhY2FvLmNvbXBvbmVudC5jc3MifQ== */"); /***/ }), /***/ "./src/app/modals/cadastrar-categoria-publicacao/cadastrar-categoria-publicacao.component.ts": /*!***************************************************************************************************!*\ !*** ./src/app/modals/cadastrar-categoria-publicacao/cadastrar-categoria-publicacao.component.ts ***! \***************************************************************************************************/ /*! no static exports found */ /***/ (function(module, exports, __webpack_require__) { "use strict"; var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r; return c > 3 && r && Object.defineProperty(target, key, r), r; }; var __metadata = (this && this.__metadata) || function (k, v) { if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v); }; var __importDefault = (this && this.__importDefault) || function (mod) { return (mod && mod.__esModule) ? mod : { "default": mod }; }; Object.defineProperty(exports, "__esModule", { value: true }); var core_1 = __webpack_require__(/*! @angular/core */ "./node_modules/@angular/core/__ivy_ngcc__/fesm5/core.js"); var ng_bootstrap_1 = __webpack_require__(/*! @ng-bootstrap/ng-bootstrap */ "./node_modules/@ng-bootstrap/ng-bootstrap/__ivy_ngcc__/fesm5/ng-bootstrap.js"); var api_service_1 = __webpack_require__(/*! app/services/api.service */ "./src/app/services/api.service.ts"); var ngx_toastr_1 = __webpack_require__(/*! ngx-toastr */ "./node_modules/ngx-toastr/__ivy_ngcc__/fesm5/ngx-toastr.js"); var CadastrarCategoriaPublicacaoComponent = /** @class */ (function () { function CadastrarCategoriaPublicacaoComponent(service, activeModel, toastr) { this.service = service; this.activeModel = activeModel; this.toastr = toastr; this.userData = {}; this.passEntry = new core_1.EventEmitter(); } CadastrarCategoriaPublicacaoComponent.prototype.ngOnInit = function () { }; CadastrarCategoriaPublicacaoComponent.prototype.close = function () { this.activeModel.close(); }; CadastrarCategoriaPublicacaoComponent.prototype.salvar = function () { var _this = this; if (!this.userData.nome) { this.toastr.warning('Nome é obrigatorio!'); return; } if (!this.userData.descricao) { this.toastr.warning('Descrição é obrigatorio!'); return; } if (this.userData.id_categoria_publicacao) { this.service.updateCategoriaPublicacao(this.userData).then(function (res) { console.log(res); _this.toastr.success('Item alterado com sucesso!'); _this.close(); _this.passEntry.emit(1); }).catch(function (error) { _this.toastr.error('Erro no servidor!'); console.log(error); }); } else { this.userData.status_categoria_publicacao = 1; console.log(this.userData); this.service.addCategoriaPublicacao(this.userData).then(function (res) { _this.toastr.success('Item cadastrado com sucesso!'); console.log(res); _this.close(); _this.passEntry.emit(1); }).catch(function (error) { _this.toastr.error('Erro no servidor!'); console.log(error); }); } }; CadastrarCategoriaPublicacaoComponent.ctorParameters = function () { return [ { type: api_service_1.ApiService }, { type: ng_bootstrap_1.NgbActiveModal }, { type: ngx_toastr_1.ToastrService } ]; }; __decorate([ core_1.Input(), __metadata("design:type", Object) ], CadastrarCategoriaPublicacaoComponent.prototype, "userData", void 0); __decorate([ core_1.Input(), __metadata("design:type", Object) ], CadastrarCategoriaPublicacaoComponent.prototype, "title", void 0); __decorate([ core_1.Output(), __metadata("design:type", core_1.EventEmitter) ], CadastrarCategoriaPublicacaoComponent.prototype, "passEntry", void 0); CadastrarCategoriaPublicacaoComponent = __decorate([ core_1.Component({ selector: 'app-cadastrar-categoria-publicacao', template: __importDefault(__webpack_require__(/*! raw-loader!./cadastrar-categoria-publicacao.component.html */ "./node_modules/raw-loader/dist/cjs.js!./src/app/modals/cadastrar-categoria-publicacao/cadastrar-categoria-publicacao.component.html")).default, styles: [__importDefault(__webpack_require__(/*! ./cadastrar-categoria-publicacao.component.css */ "./src/app/modals/cadastrar-categoria-publicacao/cadastrar-categoria-publicacao.component.css")).default] }), __metadata("design:paramtypes", [api_service_1.ApiService, ng_bootstrap_1.NgbActiveModal, ngx_toastr_1.ToastrService]) ], CadastrarCategoriaPublicacaoComponent); return CadastrarCategoriaPublicacaoComponent; }()); exports.CadastrarCategoriaPublicacaoComponent = CadastrarCategoriaPublicacaoComponent; /***/ }), /***/ "./src/app/modals/cadastrar-categorias/cadastrar-categorias.component.css": /*!********************************************************************************!*\ !*** ./src/app/modals/cadastrar-categorias/cadastrar-categorias.component.css ***! \********************************************************************************/ /*! exports provided: default */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony default export */ __webpack_exports__["default"] = ("\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiIsImZpbGUiOiJzcmMvYXBwL21vZGFscy9jYWRhc3RyYXItY2F0ZWdvcmlhcy9jYWRhc3RyYXItY2F0ZWdvcmlhcy5jb21wb25lbnQuY3NzIn0= */"); /***/ }), /***/ "./src/app/modals/cadastrar-categorias/cadastrar-categorias.component.ts": /*!*******************************************************************************!*\ !*** ./src/app/modals/cadastrar-categorias/cadastrar-categorias.component.ts ***! \*******************************************************************************/ /*! no static exports found */ /***/ (function(module, exports, __webpack_require__) { "use strict"; var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r; return c > 3 && r && Object.defineProperty(target, key, r), r; }; var __metadata = (this && this.__metadata) || function (k, v) { if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v); }; var __importDefault = (this && this.__importDefault) || function (mod) { return (mod && mod.__esModule) ? mod : { "default": mod }; }; Object.defineProperty(exports, "__esModule", { value: true }); var core_1 = __webpack_require__(/*! @angular/core */ "./node_modules/@angular/core/__ivy_ngcc__/fesm5/core.js"); var ng_bootstrap_1 = __webpack_require__(/*! @ng-bootstrap/ng-bootstrap */ "./node_modules/@ng-bootstrap/ng-bootstrap/__ivy_ngcc__/fesm5/ng-bootstrap.js"); var api_service_1 = __webpack_require__(/*! app/services/api.service */ "./src/app/services/api.service.ts"); var ngx_toastr_1 = __webpack_require__(/*! ngx-toastr */ "./node_modules/ngx-toastr/__ivy_ngcc__/fesm5/ngx-toastr.js"); var CadastrarCategoriasComponent = /** @class */ (function () { function CadastrarCategoriasComponent(service, toastr, activeModal) { this.service = service; this.toastr = toastr; this.activeModal = activeModal; this.userData = {}; this.passEntry = new core_1.EventEmitter(); this.empresas = []; } CadastrarCategoriasComponent.prototype.ngOnInit = function () { }; CadastrarCategoriasComponent.prototype.close = function () { this.activeModal.close(); this.passEntry.emit(1); }; CadastrarCategoriasComponent.prototype.salvar = function () { if (this.tipo == 1) { this.setUser(); } else { this.updateUser(); } }; CadastrarCategoriasComponent.prototype.setUser = function () { var _this = this; if (this.userData.nomecategoria) { this.service.setCategorias(this.userData).then(function (result) { if (result.mensagem == 1) { _this.toastr.success('categoria cadastrada com sucesso', 'Sucesso!'); _this.close(); } else { _this.toastr.error('erro no servidor, tente novamente mais tarde', 'Erro!'); } }); } else { this.toastr.warning('Preencha todos os campos', 'Atenção!'); } }; CadastrarCategoriasComponent.prototype.updateUser = function () { var _this = this; if (this.userData.nomecategoria) { this.service.updateCategorias(this.userData).then(function (result) { if (result.mensagem == 1) { _this.toastr.success('categoria alterada com sucesso', 'Sucesso!'); _this.close(); } else { _this.toastr.error('erro no servidor, tente novamente mais tarde', 'Erro!'); } }); } else { this.toastr.warning('Preencha todos os campos', 'Atenção!'); } }; CadastrarCategoriasComponent.ctorParameters = function () { return [ { type: api_service_1.ApiService }, { type: ngx_toastr_1.ToastrService }, { type: ng_bootstrap_1.NgbActiveModal } ]; }; __decorate([ core_1.Input(), __metadata("design:type", Object) ], CadastrarCategoriasComponent.prototype, "userData", void 0); __decorate([ core_1.Input(), __metadata("design:type", Object) ], CadastrarCategoriasComponent.prototype, "title", void 0); __decorate([ core_1.Input(), __metadata("design:type", Object) ], CadastrarCategoriasComponent.prototype, "tipo", void 0); __decorate([ core_1.Output(), __metadata("design:type", core_1.EventEmitter) ], CadastrarCategoriasComponent.prototype, "passEntry", void 0); CadastrarCategoriasComponent = __decorate([ core_1.Component({ selector: 'app-cadastrar-categorias', template: __importDefault(__webpack_require__(/*! raw-loader!./cadastrar-categorias.component.html */ "./node_modules/raw-loader/dist/cjs.js!./src/app/modals/cadastrar-categorias/cadastrar-categorias.component.html")).default, styles: [__importDefault(__webpack_require__(/*! ./cadastrar-categorias.component.css */ "./src/app/modals/cadastrar-categorias/cadastrar-categorias.component.css")).default] }), __metadata("design:paramtypes", [api_service_1.ApiService, ngx_toastr_1.ToastrService, ng_bootstrap_1.NgbActiveModal]) ], CadastrarCategoriasComponent); return CadastrarCategoriasComponent; }()); exports.CadastrarCategoriasComponent = CadastrarCategoriasComponent; /***/ }), /***/ "./src/app/modals/cadastrar-covid2/cadastrar-covid2.component.css": /*!************************************************************************!*\ !*** ./src/app/modals/cadastrar-covid2/cadastrar-covid2.component.css ***! \************************************************************************/ /*! exports provided: default */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony default export */ __webpack_exports__["default"] = ("\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiIsImZpbGUiOiJzcmMvYXBwL21vZGFscy9jYWRhc3RyYXItY292aWQyL2NhZGFzdHJhci1jb3ZpZDIuY29tcG9uZW50LmNzcyJ9 */"); /***/ }), /***/ "./src/app/modals/cadastrar-covid2/cadastrar-covid2.component.ts": /*!***********************************************************************!*\ !*** ./src/app/modals/cadastrar-covid2/cadastrar-covid2.component.ts ***! \***********************************************************************/ /*! no static exports found */ /***/ (function(module, exports, __webpack_require__) { "use strict"; var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r; return c > 3 && r && Object.defineProperty(target, key, r), r; }; var __metadata = (this && this.__metadata) || function (k, v) { if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v); }; var __importDefault = (this && this.__importDefault) || function (mod) { return (mod && mod.__esModule) ? mod : { "default": mod }; }; Object.defineProperty(exports, "__esModule", { value: true }); var core_1 = __webpack_require__(/*! @angular/core */ "./node_modules/@angular/core/__ivy_ngcc__/fesm5/core.js"); var ng_bootstrap_1 = __webpack_require__(/*! @ng-bootstrap/ng-bootstrap */ "./node_modules/@ng-bootstrap/ng-bootstrap/__ivy_ngcc__/fesm5/ng-bootstrap.js"); var api_service_1 = __webpack_require__(/*! app/services/api.service */ "./src/app/services/api.service.ts"); var ngx_toastr_1 = __webpack_require__(/*! ngx-toastr */ "./node_modules/ngx-toastr/__ivy_ngcc__/fesm5/ngx-toastr.js"); var date_fns_1 = __webpack_require__(/*! date-fns */ "./node_modules/date-fns/esm/index.js"); var CadastrarCovid2Component = /** @class */ (function () { function CadastrarCovid2Component(service, toastr, activeModal) { this.service = service; this.toastr = toastr; this.activeModal = activeModal; this.userData = {}; this.passEntry = new core_1.EventEmitter(); this.empresas = []; } CadastrarCovid2Component.prototype.ngOnInit = function () { if (this.tipo == 1) { this.userData.data = date_fns_1.format(new Date(), 'yyyy-MM-dd'); this.userData.horario = date_fns_1.format(new Date(), 'HH:mm'); } else { this.userData.data = this.dataFormat(this.userData.data); } }; CadastrarCovid2Component.prototype.dataFormat = function (date) { return new Date(date).toISOString().slice(0, 10); }; CadastrarCovid2Component.prototype.close = function () { this.activeModal.close(); this.passEntry.emit(1); }; CadastrarCovid2Component.prototype.salvar = function () { if (!this.userData.data) { this.toastr.warning('Preencha a data antes de continuar', 'Atençã0!'); return; } if (!this.userData.horario) { this.toastr.warning('Preencha o horario antes de continuar', 'Atençã0!'); return; } if (this.tipo == 1) { this.setUser(); } else { this.updateUser(); } }; CadastrarCovid2Component.prototype.setUser = function () { var _this = this; this.service.setCovid(this.userData).then(function (result) { if (result.dados == 1) { _this.toastr.success('categoria cadastrada com sucesso', 'Sucesso!'); _this.close(); } else { _this.toastr.error('erro no servidor, tente novamente mais tarde', 'Erro!'); } }); }; CadastrarCovid2Component.prototype.updateUser = function () { var _this = this; delete this.userData.data_att; this.service.updateCovid(this.userData).then(function (result) { if (result.dados == 1) { _this.toastr.success('categoria alterada com sucesso', 'Sucesso!'); _this.close(); } else { _this.toastr.error('erro no servidor, tente novamente mais tarde', 'Erro!'); } }); }; CadastrarCovid2Component.ctorParameters = function () { return [ { type: api_service_1.ApiService }, { type: ngx_toastr_1.ToastrService }, { type: ng_bootstrap_1.NgbActiveModal } ]; }; __decorate([ core_1.Input(), __metadata("design:type", Object) ], CadastrarCovid2Component.prototype, "userData", void 0); __decorate([ core_1.Input(), __metadata("design:type", Object) ], CadastrarCovid2Component.prototype, "title", void 0); __decorate([ core_1.Input(), __metadata("design:type", Object) ], CadastrarCovid2Component.prototype, "tipo", void 0); __decorate([ core_1.Output(), __metadata("design:type", core_1.EventEmitter) ], CadastrarCovid2Component.prototype, "passEntry", void 0); CadastrarCovid2Component = __decorate([ core_1.Component({ selector: 'app-cadastrar-covid2', template: __importDefault(__webpack_require__(/*! raw-loader!./cadastrar-covid2.component.html */ "./node_modules/raw-loader/dist/cjs.js!./src/app/modals/cadastrar-covid2/cadastrar-covid2.component.html")).default, styles: [__importDefault(__webpack_require__(/*! ./cadastrar-covid2.component.css */ "./src/app/modals/cadastrar-covid2/cadastrar-covid2.component.css")).default] }), __metadata("design:paramtypes", [api_service_1.ApiService, ngx_toastr_1.ToastrService, ng_bootstrap_1.NgbActiveModal]) ], CadastrarCovid2Component); return CadastrarCovid2Component; }()); exports.CadastrarCovid2Component = CadastrarCovid2Component; /***/ }), /***/ "./src/app/modals/cadastrar-covid3/cadastrar-covid3.component.css": /*!************************************************************************!*\ !*** ./src/app/modals/cadastrar-covid3/cadastrar-covid3.component.css ***! \************************************************************************/ /*! exports provided: default */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony default export */ __webpack_exports__["default"] = ("\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiIsImZpbGUiOiJzcmMvYXBwL21vZGFscy9jYWRhc3RyYXItY292aWQzL2NhZGFzdHJhci1jb3ZpZDMuY29tcG9uZW50LmNzcyJ9 */"); /***/ }), /***/ "./src/app/modals/cadastrar-covid3/cadastrar-covid3.component.ts": /*!***********************************************************************!*\ !*** ./src/app/modals/cadastrar-covid3/cadastrar-covid3.component.ts ***! \***********************************************************************/ /*! no static exports found */ /***/ (function(module, exports, __webpack_require__) { "use strict"; var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r; return c > 3 && r && Object.defineProperty(target, key, r), r; }; var __metadata = (this && this.__metadata) || function (k, v) { if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v); }; var __importDefault = (this && this.__importDefault) || function (mod) { return (mod && mod.__esModule) ? mod : { "default": mod }; }; Object.defineProperty(exports, "__esModule", { value: true }); var core_1 = __webpack_require__(/*! @angular/core */ "./node_modules/@angular/core/__ivy_ngcc__/fesm5/core.js"); var ng_bootstrap_1 = __webpack_require__(/*! @ng-bootstrap/ng-bootstrap */ "./node_modules/@ng-bootstrap/ng-bootstrap/__ivy_ngcc__/fesm5/ng-bootstrap.js"); var api_service_1 = __webpack_require__(/*! app/services/api.service */ "./src/app/services/api.service.ts"); var ngx_toastr_1 = __webpack_require__(/*! ngx-toastr */ "./node_modules/ngx-toastr/__ivy_ngcc__/fesm5/ngx-toastr.js"); var date_fns_1 = __webpack_require__(/*! date-fns */ "./node_modules/date-fns/esm/index.js"); var CadastrarCovid3Component = /** @class */ (function () { function CadastrarCovid3Component(service, toastr, activeModal) { this.service = service; this.toastr = toastr; this.activeModal = activeModal; this.userData = {}; this.passEntry = new core_1.EventEmitter(); this.empresas = []; } CadastrarCovid3Component.prototype.ngOnInit = function () { if (this.tipo == 1) { this.userData.data = date_fns_1.format(new Date(), 'yyyy-MM-dd'); this.userData.horario = date_fns_1.format(new Date(), 'HH:mm'); } else { this.userData.data = this.dataFormat(this.userData.data); } }; CadastrarCovid3Component.prototype.dataFormat = function (date) { return new Date(date).toISOString().slice(0, 10); }; CadastrarCovid3Component.prototype.close = function () { this.activeModal.close(); this.passEntry.emit(1); }; CadastrarCovid3Component.prototype.salvar = function () { if (!this.userData.data) { this.toastr.warning('Preencha a data antes de continuar', 'Atençã0!'); return; } if (!this.userData.horario) { this.toastr.warning('Preencha o horario antes de continuar', 'Atençã0!'); return; } if (this.tipo == 1) { this.userData.data_exibir = '"' + date_fns_1.format(new Date(), 'dd/MM/yyyy') + '"'; this.setUser(); } else { this.updateUser(); } }; CadastrarCovid3Component.prototype.setUser = function () { var _this = this; this.service.setCovid(this.userData).then(function (result) { if (result.dados == 1) { _this.toastr.success('categoria cadastrada com sucesso', 'Sucesso!'); _this.close(); } else { _this.toastr.error('erro no servidor, tente novamente mais tarde', 'Erro!'); } }); }; CadastrarCovid3Component.prototype.updateUser = function () { var _this = this; delete this.userData.data_att; this.service.updateCovid(this.userData).then(function (result) { if (result.dados == 1) { _this.toastr.success('categoria alterada com sucesso', 'Sucesso!'); _this.close(); } else { _this.toastr.error('erro no servidor, tente novamente mais tarde', 'Erro!'); } }); }; CadastrarCovid3Component.ctorParameters = function () { return [ { type: api_service_1.ApiService }, { type: ngx_toastr_1.ToastrService }, { type: ng_bootstrap_1.NgbActiveModal } ]; }; __decorate([ core_1.Input(), __metadata("design:type", Object) ], CadastrarCovid3Component.prototype, "userData", void 0); __decorate([ core_1.Input(), __metadata("design:type", Object) ], CadastrarCovid3Component.prototype, "title", void 0); __decorate([ core_1.Input(), __metadata("design:type", Object) ], CadastrarCovid3Component.prototype, "tipo", void 0); __decorate([ core_1.Output(), __metadata("design:type", core_1.EventEmitter) ], CadastrarCovid3Component.prototype, "passEntry", void 0); CadastrarCovid3Component = __decorate([ core_1.Component({ selector: 'app-cadastrar-covid3', template: __importDefault(__webpack_require__(/*! raw-loader!./cadastrar-covid3.component.html */ "./node_modules/raw-loader/dist/cjs.js!./src/app/modals/cadastrar-covid3/cadastrar-covid3.component.html")).default, styles: [__importDefault(__webpack_require__(/*! ./cadastrar-covid3.component.css */ "./src/app/modals/cadastrar-covid3/cadastrar-covid3.component.css")).default] }), __metadata("design:paramtypes", [api_service_1.ApiService, ngx_toastr_1.ToastrService, ng_bootstrap_1.NgbActiveModal]) ], CadastrarCovid3Component); return CadastrarCovid3Component; }()); exports.CadastrarCovid3Component = CadastrarCovid3Component; /***/ }), /***/ "./src/app/modals/cadastrar-galeria/cadastrar-galeria.component.css": /*!**************************************************************************!*\ !*** ./src/app/modals/cadastrar-galeria/cadastrar-galeria.component.css ***! \**************************************************************************/ /*! exports provided: default */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony default export */ __webpack_exports__["default"] = ("\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiIsImZpbGUiOiJzcmMvYXBwL21vZGFscy9jYWRhc3RyYXItZ2FsZXJpYS9jYWRhc3RyYXItZ2FsZXJpYS5jb21wb25lbnQuY3NzIn0= */"); /***/ }), /***/ "./src/app/modals/cadastrar-galeria/cadastrar-galeria.component.ts": /*!*************************************************************************!*\ !*** ./src/app/modals/cadastrar-galeria/cadastrar-galeria.component.ts ***! \*************************************************************************/ /*! no static exports found */ /***/ (function(module, exports, __webpack_require__) { "use strict"; var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r; return c > 3 && r && Object.defineProperty(target, key, r), r; }; var __metadata = (this && this.__metadata) || function (k, v) { if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v); }; var __importDefault = (this && this.__importDefault) || function (mod) { return (mod && mod.__esModule) ? mod : { "default": mod }; }; Object.defineProperty(exports, "__esModule", { value: true }); var core_1 = __webpack_require__(/*! @angular/core */ "./node_modules/@angular/core/__ivy_ngcc__/fesm5/core.js"); var ng_bootstrap_1 = __webpack_require__(/*! @ng-bootstrap/ng-bootstrap */ "./node_modules/@ng-bootstrap/ng-bootstrap/__ivy_ngcc__/fesm5/ng-bootstrap.js"); var api_service_1 = __webpack_require__(/*! app/services/api.service */ "./src/app/services/api.service.ts"); var ngx_toastr_1 = __webpack_require__(/*! ngx-toastr */ "./node_modules/ngx-toastr/__ivy_ngcc__/fesm5/ngx-toastr.js"); var DecoupledEditor = __webpack_require__(/*! @ckeditor/ckeditor5-build-decoupled-document */ "./node_modules/@ckeditor/ckeditor5-build-decoupled-document/build/ckeditor.js"); var http_1 = __webpack_require__(/*! @angular/common/http */ "./node_modules/@angular/common/__ivy_ngcc__/fesm5/http.js"); var moment = __webpack_require__(/*! moment-timezone */ "./node_modules/moment-timezone/index.js"); var UploadAdapter = /** @class */ (function () { function UploadAdapter(loader) { this.loader = loader; } UploadAdapter.prototype.upload = function () { return this.loader.file .then(function (file) { return new Promise(function (resolve, reject) { var myReader = new FileReader(); myReader.onloadend = function (e) { resolve({ default: myReader.result }); }; myReader.readAsDataURL(file); }); }); }; ; return UploadAdapter; }()); var CadastrarGaleriaComponent = /** @class */ (function () { function CadastrarGaleriaComponent(service, toastr, activeModal, http) { this.service = service; this.toastr = toastr; this.activeModal = activeModal; this.http = http; this.Editor = DecoupledEditor; this.userData = { conteudo: '' }; this.passEntry = new core_1.EventEmitter(); this.empresas = []; this.secretarias = []; this.format2 = "YYYY-MM-DD"; this.path = this.service.getPath(); } CadastrarGaleriaComponent.prototype.ngOnInit = function () { this.getdados(); }; CadastrarGaleriaComponent.prototype.inputFileChange = function (event) { var _this = this; this.loading = true; if (event.target.files && event.target.files[0]) { this.foto = event.target.files[0]; var formData = new FormData(); formData.append('foto', this.foto); var url = this.service.getUrl() + 'upload-imagem/'; this.http.post(url, formData) .subscribe(function (resposta) { _this.loading = false; _this.userData.foto = resposta.mensagem; _this.userData.base_url = resposta.base_url; }); } }; CadastrarGaleriaComponent.prototype.onReady = function (eventData) { eventData.ui.getEditableElement().parentElement.insertBefore(eventData.ui.view.toolbar.element, eventData.ui.getEditableElement()); eventData.plugins.get('FileRepository').createUploadAdapter = function (loader) { console.log(btoa(loader.file)); return new UploadAdapter(loader); }; }; CadastrarGaleriaComponent.prototype.close = function () { this.activeModal.close(); this.passEntry.emit(1); }; CadastrarGaleriaComponent.prototype.close2 = function () { this.activeModal.close(); this.passEntry.emit(2); }; CadastrarGaleriaComponent.prototype.salvar = function () { if (this.tipo == 1) { this.setUser(); } else { this.updateUser(); } }; CadastrarGaleriaComponent.prototype.getdados = function () { var _this = this; var dados = {}; this.service.getCategoriasAtivas(dados).then(function (result) { _this.secretarias = result.mensagem; }); }; CadastrarGaleriaComponent.prototype.setUser = function () { var _this = this; this.userData.data = moment().format(this.format2); if (this.userData.titulo) { this.service.setGaleria(this.userData).then(function (result) { if (result.dados == 1) { _this.toastr.success('Noticia cadastrada com sucesso', 'Sucesso!'); _this.close2(); } else { _this.toastr.error('Não foi possivel cadastrar a noticia, tente novamente mais tarde', 'Erro!'); } }); } else { this.toastr.warning('Preencha todos os campos', 'Atenção!'); } }; CadastrarGaleriaComponent.prototype.updateUser = function () { var _this = this; if (this.userData.titulo) { this.service.updateGaleria(this.userData).then(function (result) { if (result.dados == 1) { _this.toastr.success('noticia alterada com sucesso', 'Sucesso!'); _this.close(); } else { _this.toastr.error('erro no servidor, tente novamente mais tarde', 'Erro!'); } }); } else { this.toastr.warning('Preencha todos os campos', 'Atenção!'); } }; CadastrarGaleriaComponent.ctorParameters = function () { return [ { type: api_service_1.ApiService }, { type: ngx_toastr_1.ToastrService }, { type: ng_bootstrap_1.NgbActiveModal }, { type: http_1.HttpClient } ]; }; __decorate([ core_1.Input(), __metadata("design:type", Object) ], CadastrarGaleriaComponent.prototype, "userData", void 0); __decorate([ core_1.Input(), __metadata("design:type", Object) ], CadastrarGaleriaComponent.prototype, "title", void 0); __decorate([ core_1.Input(), __metadata("design:type", Object) ], CadastrarGaleriaComponent.prototype, "tipo", void 0); __decorate([ core_1.Output(), __metadata("design:type", core_1.EventEmitter) ], CadastrarGaleriaComponent.prototype, "passEntry", void 0); CadastrarGaleriaComponent = __decorate([ core_1.Component({ selector: 'app-cadastrar-galeria', template: __importDefault(__webpack_require__(/*! raw-loader!./cadastrar-galeria.component.html */ "./node_modules/raw-loader/dist/cjs.js!./src/app/modals/cadastrar-galeria/cadastrar-galeria.component.html")).default, styles: [__importDefault(__webpack_require__(/*! ./cadastrar-galeria.component.css */ "./src/app/modals/cadastrar-galeria/cadastrar-galeria.component.css")).default] }), __metadata("design:paramtypes", [api_service_1.ApiService, ngx_toastr_1.ToastrService, ng_bootstrap_1.NgbActiveModal, http_1.HttpClient]) ], CadastrarGaleriaComponent); return CadastrarGaleriaComponent; }()); exports.CadastrarGaleriaComponent = CadastrarGaleriaComponent; /***/ }), /***/ "./src/app/modals/cadastrar-itens-barra-lateral/cadastrar-itens-barra-lateral.component.css": /*!**************************************************************************************************!*\ !*** ./src/app/modals/cadastrar-itens-barra-lateral/cadastrar-itens-barra-lateral.component.css ***! \**************************************************************************************************/ /*! exports provided: default */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony default export */ __webpack_exports__["default"] = ("\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiIsImZpbGUiOiJzcmMvYXBwL21vZGFscy9jYWRhc3RyYXItaXRlbnMtYmFycmEtbGF0ZXJhbC9jYWRhc3RyYXItaXRlbnMtYmFycmEtbGF0ZXJhbC5jb21wb25lbnQuY3NzIn0= */"); /***/ }), /***/ "./src/app/modals/cadastrar-itens-barra-lateral/cadastrar-itens-barra-lateral.component.ts": /*!*************************************************************************************************!*\ !*** ./src/app/modals/cadastrar-itens-barra-lateral/cadastrar-itens-barra-lateral.component.ts ***! \*************************************************************************************************/ /*! no static exports found */ /***/ (function(module, exports, __webpack_require__) { "use strict"; var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r; return c > 3 && r && Object.defineProperty(target, key, r), r; }; var __metadata = (this && this.__metadata) || function (k, v) { if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v); }; var __importDefault = (this && this.__importDefault) || function (mod) { return (mod && mod.__esModule) ? mod : { "default": mod }; }; Object.defineProperty(exports, "__esModule", { value: true }); var http_1 = __webpack_require__(/*! @angular/common/http */ "./node_modules/@angular/common/__ivy_ngcc__/fesm5/http.js"); var core_1 = __webpack_require__(/*! @angular/core */ "./node_modules/@angular/core/__ivy_ngcc__/fesm5/core.js"); var ng_bootstrap_1 = __webpack_require__(/*! @ng-bootstrap/ng-bootstrap */ "./node_modules/@ng-bootstrap/ng-bootstrap/__ivy_ngcc__/fesm5/ng-bootstrap.js"); var api_service_1 = __webpack_require__(/*! app/services/api.service */ "./src/app/services/api.service.ts"); var ngx_toastr_1 = __webpack_require__(/*! ngx-toastr */ "./node_modules/ngx-toastr/__ivy_ngcc__/fesm5/ngx-toastr.js"); var CadastrarItensBarraLateralComponent = /** @class */ (function () { function CadastrarItensBarraLateralComponent(service, toastr, activeModal, http) { this.service = service; this.toastr = toastr; this.activeModal = activeModal; this.http = http; this.userData = {}; this.passEntry = new core_1.EventEmitter(); this.empresas = []; this.path = this.service.getPath(); } CadastrarItensBarraLateralComponent.prototype.ngOnInit = function () { }; CadastrarItensBarraLateralComponent.prototype.inputFileChange = function (event) { var _this = this; this.loading = true; if (event.target.files && event.target.files[0]) { this.foto = event.target.files[0]; var formData = new FormData(); formData.append('foto', this.foto); var url = this.service.getUrl() + 'upload-file/'; this.http.post(url, formData) .subscribe(function (resposta) { _this.loading = false; _this.userData.img_barra = resposta.mensagem; _this.userData.base_url = resposta.base_url; }); } }; CadastrarItensBarraLateralComponent.prototype.close = function () { this.activeModal.close(); this.passEntry.emit(1); }; CadastrarItensBarraLateralComponent.prototype.salvar = function () { if (!this.userData.tipo) { this.toastr.warning('Escolha o tipo', 'Atenção!'); return; } if (this.userData.tipo == 1) { if (!this.userData.img_barra) { this.toastr.warning('Escolha uma imagem', 'Atenção!'); return; } if (!this.userData.link) { this.toastr.warning('Preencha a url', 'Atenção!'); return; } } if (this.userData.tipo == 2) { if (!this.userData.descricao_link) { this.toastr.warning('Digite uma descrição', 'Atenção!'); return; } if (!this.userData.link) { this.toastr.warning('Preencha a url', 'Atenção!'); return; } } if (this.tipo == 1) { this.setUser(); } else { this.updateUser(); } }; CadastrarItensBarraLateralComponent.prototype.setUser = function () { var _this = this; this.userData.cod_barra_lateral = this.id; this.service.setBarraLateralItens(this.userData).then(function (result) { if (result.dados == 1) { _this.toastr.success('dados cadastrados com sucesso', 'Sucesso!'); _this.close(); } else { _this.toastr.error('erro no servidor, tente novamente mais tarde', 'Erro!'); } }); }; CadastrarItensBarraLateralComponent.prototype.updateUser = function () { var _this = this; this.service.updateBarraLateralItens(this.userData).then(function (result) { if (result.dados == 1) { _this.toastr.success('dados alterados com sucesso', 'Sucesso!'); _this.close(); } else { _this.toastr.error('erro no servidor, tente novamente mais tarde', 'Erro!'); } }); }; CadastrarItensBarraLateralComponent.ctorParameters = function () { return [ { type: api_service_1.ApiService }, { type: ngx_toastr_1.ToastrService }, { type: ng_bootstrap_1.NgbActiveModal }, { type: http_1.HttpClient } ]; }; __decorate([ core_1.Input(), __metadata("design:type", Object) ], CadastrarItensBarraLateralComponent.prototype, "userData", void 0); __decorate([ core_1.Input(), __metadata("design:type", Object) ], CadastrarItensBarraLateralComponent.prototype, "title", void 0); __decorate([ core_1.Input(), __metadata("design:type", Object) ], CadastrarItensBarraLateralComponent.prototype, "id", void 0); __decorate([ core_1.Input(), __metadata("design:type", Object) ], CadastrarItensBarraLateralComponent.prototype, "tipo", void 0); __decorate([ core_1.Output(), __metadata("design:type", core_1.EventEmitter) ], CadastrarItensBarraLateralComponent.prototype, "passEntry", void 0); CadastrarItensBarraLateralComponent = __decorate([ core_1.Component({ selector: 'app-cadastrar-itens-barra-lateral', template: __importDefault(__webpack_require__(/*! raw-loader!./cadastrar-itens-barra-lateral.component.html */ "./node_modules/raw-loader/dist/cjs.js!./src/app/modals/cadastrar-itens-barra-lateral/cadastrar-itens-barra-lateral.component.html")).default, styles: [__importDefault(__webpack_require__(/*! ./cadastrar-itens-barra-lateral.component.css */ "./src/app/modals/cadastrar-itens-barra-lateral/cadastrar-itens-barra-lateral.component.css")).default] }), __metadata("design:paramtypes", [api_service_1.ApiService, ngx_toastr_1.ToastrService, ng_bootstrap_1.NgbActiveModal, http_1.HttpClient]) ], CadastrarItensBarraLateralComponent); return CadastrarItensBarraLateralComponent; }()); exports.CadastrarItensBarraLateralComponent = CadastrarItensBarraLateralComponent; /***/ }), /***/ "./src/app/modals/cadastrar-itens-galeria/cadastrar-itens-galeria.component.css": /*!**************************************************************************************!*\ !*** ./src/app/modals/cadastrar-itens-galeria/cadastrar-itens-galeria.component.css ***! \**************************************************************************************/ /*! exports provided: default */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony default export */ __webpack_exports__["default"] = ("\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiIsImZpbGUiOiJzcmMvYXBwL21vZGFscy9jYWRhc3RyYXItaXRlbnMtZ2FsZXJpYS9jYWRhc3RyYXItaXRlbnMtZ2FsZXJpYS5jb21wb25lbnQuY3NzIn0= */"); /***/ }), /***/ "./src/app/modals/cadastrar-itens-galeria/cadastrar-itens-galeria.component.ts": /*!*************************************************************************************!*\ !*** ./src/app/modals/cadastrar-itens-galeria/cadastrar-itens-galeria.component.ts ***! \*************************************************************************************/ /*! no static exports found */ /***/ (function(module, exports, __webpack_require__) { "use strict"; var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r; return c > 3 && r && Object.defineProperty(target, key, r), r; }; var __metadata = (this && this.__metadata) || function (k, v) { if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v); }; var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) { function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); } return new (P || (P = Promise))(function (resolve, reject) { function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } } function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } } function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); } step((generator = generator.apply(thisArg, _arguments || [])).next()); }); }; var __generator = (this && this.__generator) || function (thisArg, body) { var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g; return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g; function verb(n) { return function (v) { return step([n, v]); }; } function step(op) { if (f) throw new TypeError("Generator is already executing."); while (_) try { if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t; if (y = 0, t) op = [op[0] & 2, t.value]; switch (op[0]) { case 0: case 1: t = op; break; case 4: _.label++; return { value: op[1], done: false }; case 5: _.label++; y = op[1]; op = [0]; continue; case 7: op = _.ops.pop(); _.trys.pop(); continue; default: if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; } if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; } if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; } if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; } if (t[2]) _.ops.pop(); _.trys.pop(); continue; } op = body.call(thisArg, _); } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; } if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true }; } }; var __importDefault = (this && this.__importDefault) || function (mod) { return (mod && mod.__esModule) ? mod : { "default": mod }; }; Object.defineProperty(exports, "__esModule", { value: true }); var http_1 = __webpack_require__(/*! @angular/common/http */ "./node_modules/@angular/common/__ivy_ngcc__/fesm5/http.js"); var core_1 = __webpack_require__(/*! @angular/core */ "./node_modules/@angular/core/__ivy_ngcc__/fesm5/core.js"); var ng_bootstrap_1 = __webpack_require__(/*! @ng-bootstrap/ng-bootstrap */ "./node_modules/@ng-bootstrap/ng-bootstrap/__ivy_ngcc__/fesm5/ng-bootstrap.js"); var api_service_1 = __webpack_require__(/*! app/services/api.service */ "./src/app/services/api.service.ts"); var ngx_toastr_1 = __webpack_require__(/*! ngx-toastr */ "./node_modules/ngx-toastr/__ivy_ngcc__/fesm5/ngx-toastr.js"); var CadastrarItensGaleriaComponent = /** @class */ (function () { function CadastrarItensGaleriaComponent(service, toastr, activeModal, http) { this.service = service; this.toastr = toastr; this.activeModal = activeModal; this.http = http; this.userData = {}; this.passEntry = new core_1.EventEmitter(); this.galeria = {}; this.dados = []; this.erro = 0; this.path = this.service.getPath(); } CadastrarItensGaleriaComponent.prototype.ngOnInit = function () { }; CadastrarItensGaleriaComponent.prototype.inputFileChange = function (event) { return __awaiter(this, void 0, void 0, function () { var i, formData; var _this = this; return __generator(this, function (_a) { this.loading = true; if (event.target.files && event.target.files[0]) { this.foto = event.target.files; for (i = 0; i < this.foto.length; i++) { formData = new FormData(); formData.append('foto', this.foto[i]); this.service.uploadImg(formData).then(function (result) { var dados = { cod_galeria: _this.galeria.id_galeria, arquivo: result.mensagem, base_url: result.base_url }; _this.salvar(dados); if (_this.foto.length == (i)) { _this.close2(); } }); } } if (this.erro == 0) { this.toastr.success('Imagens salvas', 'Sucesso!'); } else { this.toastr.warning('Uma ou mais imagens não poderam ser salvas', 'Atenção!'); } return [2 /*return*/]; }); }); }; CadastrarItensGaleriaComponent.prototype.close = function () { this.activeModal.close(); this.passEntry.emit(1); }; CadastrarItensGaleriaComponent.prototype.close2 = function () { this.activeModal.close(); this.passEntry.emit(2); }; CadastrarItensGaleriaComponent.prototype.salvar = function (dados) { var _this = this; this.service.setGaleriaItens(dados).then(function (result) { if (result.dados == 1) { } else { _this.erro++; } }); }; CadastrarItensGaleriaComponent.ctorParameters = function () { return [ { type: api_service_1.ApiService }, { type: ngx_toastr_1.ToastrService }, { type: ng_bootstrap_1.NgbActiveModal }, { type: http_1.HttpClient } ]; }; __decorate([ core_1.Input(), __metadata("design:type", Object) ], CadastrarItensGaleriaComponent.prototype, "userData", void 0); __decorate([ core_1.Input(), __metadata("design:type", Object) ], CadastrarItensGaleriaComponent.prototype, "title", void 0); __decorate([ core_1.Input(), __metadata("design:type", Object) ], CadastrarItensGaleriaComponent.prototype, "tipo", void 0); __decorate([ core_1.Output(), __metadata("design:type", core_1.EventEmitter) ], CadastrarItensGaleriaComponent.prototype, "passEntry", void 0); __decorate([ core_1.Input(), __metadata("design:type", Object) ], CadastrarItensGaleriaComponent.prototype, "galeria", void 0); CadastrarItensGaleriaComponent = __decorate([ core_1.Component({ selector: 'app-cadastrar-itens-galeria', template: __importDefault(__webpack_require__(/*! raw-loader!./cadastrar-itens-galeria.component.html */ "./node_modules/raw-loader/dist/cjs.js!./src/app/modals/cadastrar-itens-galeria/cadastrar-itens-galeria.component.html")).default, styles: [__importDefault(__webpack_require__(/*! ./cadastrar-itens-galeria.component.css */ "./src/app/modals/cadastrar-itens-galeria/cadastrar-itens-galeria.component.css")).default] }), __metadata("design:paramtypes", [api_service_1.ApiService, ngx_toastr_1.ToastrService, ng_bootstrap_1.NgbActiveModal, http_1.HttpClient]) ], CadastrarItensGaleriaComponent); return CadastrarItensGaleriaComponent; }()); exports.CadastrarItensGaleriaComponent = CadastrarItensGaleriaComponent; /***/ }), /***/ "./src/app/modals/cadastrar-link-embed/cadastrar-link-embed.component.css": /*!********************************************************************************!*\ !*** ./src/app/modals/cadastrar-link-embed/cadastrar-link-embed.component.css ***! \********************************************************************************/ /*! exports provided: default */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony default export */ __webpack_exports__["default"] = ("\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiIsImZpbGUiOiJzcmMvYXBwL21vZGFscy9jYWRhc3RyYXItbGluay1lbWJlZC9jYWRhc3RyYXItbGluay1lbWJlZC5jb21wb25lbnQuY3NzIn0= */"); /***/ }), /***/ "./src/app/modals/cadastrar-link-embed/cadastrar-link-embed.component.ts": /*!*******************************************************************************!*\ !*** ./src/app/modals/cadastrar-link-embed/cadastrar-link-embed.component.ts ***! \*******************************************************************************/ /*! no static exports found */ /***/ (function(module, exports, __webpack_require__) { "use strict"; var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r; return c > 3 && r && Object.defineProperty(target, key, r), r; }; var __metadata = (this && this.__metadata) || function (k, v) { if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v); }; var __importDefault = (this && this.__importDefault) || function (mod) { return (mod && mod.__esModule) ? mod : { "default": mod }; }; Object.defineProperty(exports, "__esModule", { value: true }); var core_1 = __webpack_require__(/*! @angular/core */ "./node_modules/@angular/core/__ivy_ngcc__/fesm5/core.js"); var ng_bootstrap_1 = __webpack_require__(/*! @ng-bootstrap/ng-bootstrap */ "./node_modules/@ng-bootstrap/ng-bootstrap/__ivy_ngcc__/fesm5/ng-bootstrap.js"); var api_service_1 = __webpack_require__(/*! app/services/api.service */ "./src/app/services/api.service.ts"); var ngx_toastr_1 = __webpack_require__(/*! ngx-toastr */ "./node_modules/ngx-toastr/__ivy_ngcc__/fesm5/ngx-toastr.js"); var CadastrarLinkEmbedComponent = /** @class */ (function () { function CadastrarLinkEmbedComponent(service, toastr, activeModal) { this.service = service; this.toastr = toastr; this.activeModal = activeModal; this.userData = {}; this.passEntry = new core_1.EventEmitter(); this.empresas = []; } CadastrarLinkEmbedComponent.prototype.ngOnInit = function () { }; CadastrarLinkEmbedComponent.prototype.close = function () { this.activeModal.close(); this.passEntry.emit(1); }; CadastrarLinkEmbedComponent.prototype.salvar = function () { if (this.tipo == 1) { this.setUser(); } else { this.updateUser(); } }; CadastrarLinkEmbedComponent.prototype.setUser = function () { var _this = this; if (this.userData.url) { this.service.setLinksEmbed(this.userData).then(function (result) { if (result.dados == 1) { _this.toastr.success('categoria cadastrada com sucesso', 'Sucesso!'); _this.close(); } else { _this.toastr.error('erro no servidor, tente novamente mais tarde', 'Erro!'); } }); } else { this.toastr.warning('Preencha todos os campos', 'Atenção!'); } }; CadastrarLinkEmbedComponent.prototype.updateUser = function () { var _this = this; if (this.userData.url) { this.service.updateLinksEmbed(this.userData).then(function (result) { if (result.dados == 1) { _this.toastr.success('categoria alterada com sucesso', 'Sucesso!'); _this.close(); } else { _this.toastr.error('erro no servidor, tente novamente mais tarde', 'Erro!'); } }); } else { this.toastr.warning('Preencha todos os campos', 'Atenção!'); } }; CadastrarLinkEmbedComponent.ctorParameters = function () { return [ { type: api_service_1.ApiService }, { type: ngx_toastr_1.ToastrService }, { type: ng_bootstrap_1.NgbActiveModal } ]; }; __decorate([ core_1.Input(), __metadata("design:type", Object) ], CadastrarLinkEmbedComponent.prototype, "userData", void 0); __decorate([ core_1.Input(), __metadata("design:type", Object) ], CadastrarLinkEmbedComponent.prototype, "title", void 0); __decorate([ core_1.Input(), __metadata("design:type", Object) ], CadastrarLinkEmbedComponent.prototype, "tipo", void 0); __decorate([ core_1.Output(), __metadata("design:type", core_1.EventEmitter) ], CadastrarLinkEmbedComponent.prototype, "passEntry", void 0); CadastrarLinkEmbedComponent = __decorate([ core_1.Component({ selector: 'app-cadastrar-link-embed', template: __importDefault(__webpack_require__(/*! raw-loader!./cadastrar-link-embed.component.html */ "./node_modules/raw-loader/dist/cjs.js!./src/app/modals/cadastrar-link-embed/cadastrar-link-embed.component.html")).default, styles: [__importDefault(__webpack_require__(/*! ./cadastrar-link-embed.component.css */ "./src/app/modals/cadastrar-link-embed/cadastrar-link-embed.component.css")).default] }), __metadata("design:paramtypes", [api_service_1.ApiService, ngx_toastr_1.ToastrService, ng_bootstrap_1.NgbActiveModal]) ], CadastrarLinkEmbedComponent); return CadastrarLinkEmbedComponent; }()); exports.CadastrarLinkEmbedComponent = CadastrarLinkEmbedComponent; /***/ }), /***/ "./src/app/modals/cadastrar-links-uteis/cadastrar-links-uteis.component.css": /*!**********************************************************************************!*\ !*** ./src/app/modals/cadastrar-links-uteis/cadastrar-links-uteis.component.css ***! \**********************************************************************************/ /*! exports provided: default */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony default export */ __webpack_exports__["default"] = ("\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiIsImZpbGUiOiJzcmMvYXBwL21vZGFscy9jYWRhc3RyYXItbGlua3MtdXRlaXMvY2FkYXN0cmFyLWxpbmtzLXV0ZWlzLmNvbXBvbmVudC5jc3MifQ== */"); /***/ }), /***/ "./src/app/modals/cadastrar-links-uteis/cadastrar-links-uteis.component.ts": /*!*********************************************************************************!*\ !*** ./src/app/modals/cadastrar-links-uteis/cadastrar-links-uteis.component.ts ***! \*********************************************************************************/ /*! no static exports found */ /***/ (function(module, exports, __webpack_require__) { "use strict"; var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r; return c > 3 && r && Object.defineProperty(target, key, r), r; }; var __metadata = (this && this.__metadata) || function (k, v) { if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v); }; var __importDefault = (this && this.__importDefault) || function (mod) { return (mod && mod.__esModule) ? mod : { "default": mod }; }; Object.defineProperty(exports, "__esModule", { value: true }); var core_1 = __webpack_require__(/*! @angular/core */ "./node_modules/@angular/core/__ivy_ngcc__/fesm5/core.js"); var ng_bootstrap_1 = __webpack_require__(/*! @ng-bootstrap/ng-bootstrap */ "./node_modules/@ng-bootstrap/ng-bootstrap/__ivy_ngcc__/fesm5/ng-bootstrap.js"); var api_service_1 = __webpack_require__(/*! app/services/api.service */ "./src/app/services/api.service.ts"); var ngx_toastr_1 = __webpack_require__(/*! ngx-toastr */ "./node_modules/ngx-toastr/__ivy_ngcc__/fesm5/ngx-toastr.js"); var CadastrarLinksUteisComponent = /** @class */ (function () { function CadastrarLinksUteisComponent(service, toastr, activeModal) { this.service = service; this.toastr = toastr; this.activeModal = activeModal; this.userData = {}; this.passEntry = new core_1.EventEmitter(); this.empresas = []; } CadastrarLinksUteisComponent.prototype.ngOnInit = function () { }; CadastrarLinksUteisComponent.prototype.close = function () { this.activeModal.close(); this.passEntry.emit(1); }; CadastrarLinksUteisComponent.prototype.salvar = function () { if (this.tipo == 1) { this.setUser(); } else { this.updateUser(); } }; CadastrarLinksUteisComponent.prototype.setUser = function () { var _this = this; if (this.userData.titulo) { this.service.setLinks(this.userData).then(function (result) { if (result.mensagem == 1) { _this.toastr.success('categoria cadastrada com sucesso', 'Sucesso!'); _this.close(); } else { _this.toastr.error('erro no servidor, tente novamente mais tarde', 'Erro!'); } }); } else { this.toastr.warning('Preencha todos os campos', 'Atenção!'); } }; CadastrarLinksUteisComponent.prototype.updateUser = function () { var _this = this; if (this.userData.titulo) { this.service.updateLinks(this.userData).then(function (result) { if (result.mensagem == 1) { _this.toastr.success('categoria alterada com sucesso', 'Sucesso!'); _this.close(); } else { _this.toastr.error('erro no servidor, tente novamente mais tarde', 'Erro!'); } }); } else { this.toastr.warning('Preencha todos os campos', 'Atenção!'); } }; CadastrarLinksUteisComponent.ctorParameters = function () { return [ { type: api_service_1.ApiService }, { type: ngx_toastr_1.ToastrService }, { type: ng_bootstrap_1.NgbActiveModal } ]; }; __decorate([ core_1.Input(), __metadata("design:type", Object) ], CadastrarLinksUteisComponent.prototype, "userData", void 0); __decorate([ core_1.Input(), __metadata("design:type", Object) ], CadastrarLinksUteisComponent.prototype, "title", void 0); __decorate([ core_1.Input(), __metadata("design:type", Object) ], CadastrarLinksUteisComponent.prototype, "tipo", void 0); __decorate([ core_1.Output(), __metadata("design:type", core_1.EventEmitter) ], CadastrarLinksUteisComponent.prototype, "passEntry", void 0); CadastrarLinksUteisComponent = __decorate([ core_1.Component({ selector: 'app-cadastrar-links-uteis', template: __importDefault(__webpack_require__(/*! raw-loader!./cadastrar-links-uteis.component.html */ "./node_modules/raw-loader/dist/cjs.js!./src/app/modals/cadastrar-links-uteis/cadastrar-links-uteis.component.html")).default, styles: [__importDefault(__webpack_require__(/*! ./cadastrar-links-uteis.component.css */ "./src/app/modals/cadastrar-links-uteis/cadastrar-links-uteis.component.css")).default] }), __metadata("design:paramtypes", [api_service_1.ApiService, ngx_toastr_1.ToastrService, ng_bootstrap_1.NgbActiveModal]) ], CadastrarLinksUteisComponent); return CadastrarLinksUteisComponent; }()); exports.CadastrarLinksUteisComponent = CadastrarLinksUteisComponent; /***/ }), /***/ "./src/app/modals/cadastrar-menus/cadastrar-menus.component.css": /*!**********************************************************************!*\ !*** ./src/app/modals/cadastrar-menus/cadastrar-menus.component.css ***! \**********************************************************************/ /*! exports provided: default */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony default export */ __webpack_exports__["default"] = ("\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiIsImZpbGUiOiJzcmMvYXBwL21vZGFscy9jYWRhc3RyYXItbWVudXMvY2FkYXN0cmFyLW1lbnVzLmNvbXBvbmVudC5jc3MifQ== */"); /***/ }), /***/ "./src/app/modals/cadastrar-menus/cadastrar-menus.component.ts": /*!*********************************************************************!*\ !*** ./src/app/modals/cadastrar-menus/cadastrar-menus.component.ts ***! \*********************************************************************/ /*! no static exports found */ /***/ (function(module, exports, __webpack_require__) { "use strict"; var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r; return c > 3 && r && Object.defineProperty(target, key, r), r; }; var __metadata = (this && this.__metadata) || function (k, v) { if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v); }; var __importDefault = (this && this.__importDefault) || function (mod) { return (mod && mod.__esModule) ? mod : { "default": mod }; }; Object.defineProperty(exports, "__esModule", { value: true }); var core_1 = __webpack_require__(/*! @angular/core */ "./node_modules/@angular/core/__ivy_ngcc__/fesm5/core.js"); var ng_bootstrap_1 = __webpack_require__(/*! @ng-bootstrap/ng-bootstrap */ "./node_modules/@ng-bootstrap/ng-bootstrap/__ivy_ngcc__/fesm5/ng-bootstrap.js"); var api_service_1 = __webpack_require__(/*! app/services/api.service */ "./src/app/services/api.service.ts"); var ngx_toastr_1 = __webpack_require__(/*! ngx-toastr */ "./node_modules/ngx-toastr/__ivy_ngcc__/fesm5/ngx-toastr.js"); var CadastrarMenusComponent = /** @class */ (function () { function CadastrarMenusComponent(service, toastr, activeModal) { this.service = service; this.toastr = toastr; this.activeModal = activeModal; this.userData = {}; this.passEntry = new core_1.EventEmitter(); this.empresas = []; } CadastrarMenusComponent.prototype.ngOnInit = function () { }; CadastrarMenusComponent.prototype.close = function () { this.activeModal.close(); this.passEntry.emit(1); }; CadastrarMenusComponent.prototype.salvar = function () { if (this.tipo == 1) { this.setUser(); } else { this.updateUser(); } }; CadastrarMenusComponent.prototype.setUser = function () { var _this = this; if (this.userData.nome_menu) { this.service.setMenus(this.userData).then(function (result) { if (result.mensagem == 1) { _this.toastr.success('menu cadastrado com sucesso', 'Sucesso!'); _this.close(); } else { _this.toastr.error('erro no servidor, tente novamente mais tarde', 'Erro!'); } }); } else { this.toastr.warning('Preencha todos os campos', 'Atenção!'); } }; CadastrarMenusComponent.prototype.updateUser = function () { var _this = this; if (this.userData.nome_menu) { this.service.updateMenus(this.userData).then(function (result) { if (result.mensagem == 1) { _this.toastr.success('menu alterado com sucesso', 'Sucesso!'); _this.close(); } else { _this.toastr.error('erro no servidor, tente novamente mais tarde', 'Erro!'); } }); } else { this.toastr.warning('Preencha todos os campos', 'Atenção!'); } }; CadastrarMenusComponent.ctorParameters = function () { return [ { type: api_service_1.ApiService }, { type: ngx_toastr_1.ToastrService }, { type: ng_bootstrap_1.NgbActiveModal } ]; }; __decorate([ core_1.Input(), __metadata("design:type", Object) ], CadastrarMenusComponent.prototype, "userData", void 0); __decorate([ core_1.Input(), __metadata("design:type", Object) ], CadastrarMenusComponent.prototype, "title", void 0); __decorate([ core_1.Input(), __metadata("design:type", Object) ], CadastrarMenusComponent.prototype, "tipo", void 0); __decorate([ core_1.Output(), __metadata("design:type", core_1.EventEmitter) ], CadastrarMenusComponent.prototype, "passEntry", void 0); CadastrarMenusComponent = __decorate([ core_1.Component({ selector: 'app-cadastrar-menus', template: __importDefault(__webpack_require__(/*! raw-loader!./cadastrar-menus.component.html */ "./node_modules/raw-loader/dist/cjs.js!./src/app/modals/cadastrar-menus/cadastrar-menus.component.html")).default, styles: [__importDefault(__webpack_require__(/*! ./cadastrar-menus.component.css */ "./src/app/modals/cadastrar-menus/cadastrar-menus.component.css")).default] }), __metadata("design:paramtypes", [api_service_1.ApiService, ngx_toastr_1.ToastrService, ng_bootstrap_1.NgbActiveModal]) ], CadastrarMenusComponent); return CadastrarMenusComponent; }()); exports.CadastrarMenusComponent = CadastrarMenusComponent; /***/ }), /***/ "./src/app/modals/cadastrar-noticias/cadastrar-noticias.component.css": /*!****************************************************************************!*\ !*** ./src/app/modals/cadastrar-noticias/cadastrar-noticias.component.css ***! \****************************************************************************/ /*! exports provided: default */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony default export */ __webpack_exports__["default"] = (":host ::ng-deep .ck-editor__editable_inline {\r\n min-height: 400px;\r\n}\r\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbInNyYy9hcHAvbW9kYWxzL2NhZGFzdHJhci1ub3RpY2lhcy9jYWRhc3RyYXItbm90aWNpYXMuY29tcG9uZW50LmNzcyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQTtJQUNJLGlCQUFpQjtBQUNyQiIsImZpbGUiOiJzcmMvYXBwL21vZGFscy9jYWRhc3RyYXItbm90aWNpYXMvY2FkYXN0cmFyLW5vdGljaWFzLmNvbXBvbmVudC5jc3MiLCJzb3VyY2VzQ29udGVudCI6WyI6aG9zdCA6Om5nLWRlZXAgLmNrLWVkaXRvcl9fZWRpdGFibGVfaW5saW5lIHtcclxuICAgIG1pbi1oZWlnaHQ6IDQwMHB4O1xyXG59Il19 */"); /***/ }), /***/ "./src/app/modals/cadastrar-noticias/cadastrar-noticias.component.ts": /*!***************************************************************************!*\ !*** ./src/app/modals/cadastrar-noticias/cadastrar-noticias.component.ts ***! \***************************************************************************/ /*! no static exports found */ /***/ (function(module, exports, __webpack_require__) { "use strict"; var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r; return c > 3 && r && Object.defineProperty(target, key, r), r; }; var __metadata = (this && this.__metadata) || function (k, v) { if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v); }; var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) { function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); } return new (P || (P = Promise))(function (resolve, reject) { function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } } function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } } function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); } step((generator = generator.apply(thisArg, _arguments || [])).next()); }); }; var __generator = (this && this.__generator) || function (thisArg, body) { var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g; return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g; function verb(n) { return function (v) { return step([n, v]); }; } function step(op) { if (f) throw new TypeError("Generator is already executing."); while (_) try { if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t; if (y = 0, t) op = [op[0] & 2, t.value]; switch (op[0]) { case 0: case 1: t = op; break; case 4: _.label++; return { value: op[1], done: false }; case 5: _.label++; y = op[1]; op = [0]; continue; case 7: op = _.ops.pop(); _.trys.pop(); continue; default: if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; } if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; } if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; } if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; } if (t[2]) _.ops.pop(); _.trys.pop(); continue; } op = body.call(thisArg, _); } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; } if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true }; } }; var __importDefault = (this && this.__importDefault) || function (mod) { return (mod && mod.__esModule) ? mod : { "default": mod }; }; Object.defineProperty(exports, "__esModule", { value: true }); var core_1 = __webpack_require__(/*! @angular/core */ "./node_modules/@angular/core/__ivy_ngcc__/fesm5/core.js"); var ng_bootstrap_1 = __webpack_require__(/*! @ng-bootstrap/ng-bootstrap */ "./node_modules/@ng-bootstrap/ng-bootstrap/__ivy_ngcc__/fesm5/ng-bootstrap.js"); var api_service_1 = __webpack_require__(/*! app/services/api.service */ "./src/app/services/api.service.ts"); var ngx_toastr_1 = __webpack_require__(/*! ngx-toastr */ "./node_modules/ngx-toastr/__ivy_ngcc__/fesm5/ngx-toastr.js"); var DecoupledEditor = __webpack_require__(/*! @ckeditor/ckeditor5-build-decoupled-document */ "./node_modules/@ckeditor/ckeditor5-build-decoupled-document/build/ckeditor.js"); var http_1 = __webpack_require__(/*! @angular/common/http */ "./node_modules/@angular/common/__ivy_ngcc__/fesm5/http.js"); var moment = __webpack_require__(/*! moment-timezone */ "./node_modules/moment-timezone/index.js"); var UploadAdapter = /** @class */ (function () { function UploadAdapter(loader) { this.loader = loader; } UploadAdapter.prototype.upload = function () { return this.loader.file .then(function (file) { return new Promise(function (resolve, reject) { var myReader = new FileReader(); myReader.onloadend = function (e) { resolve({ default: myReader.result }); }; myReader.readAsDataURL(file); }); }); }; ; return UploadAdapter; }()); var CadastrarNoticiasComponent = /** @class */ (function () { function CadastrarNoticiasComponent(service, toastr, activeModal, http) { this.service = service; this.toastr = toastr; this.activeModal = activeModal; this.http = http; this.Editor = DecoupledEditor; this.userData = { conteudo: '' }; this.passEntry = new core_1.EventEmitter(); this.empresas = []; this.secretarias = []; this.format2 = "YYYY-MM-DD"; this.arquivos = []; this.menu = 1; this.path = this.service.getPath(); } CadastrarNoticiasComponent.prototype.ngOnInit = function () { this.getdados(); if (this.tipo == 2) { this.arquivos = JSON.parse(this.userData.imagens); } }; CadastrarNoticiasComponent.prototype.trocarMenu = function (numero) { this.menu = numero; }; CadastrarNoticiasComponent.prototype.inputFileChange = function (event) { var _this = this; this.loading = true; if (event.target.files && event.target.files[0]) { this.foto = event.target.files[0]; var formData = new FormData(); formData.append('foto', this.foto); var url = this.service.getUrl() + 'upload-noticia/'; this.http.post(url, formData) .subscribe(function (resposta) { _this.loading = false; _this.userData.img = resposta.mensagem; _this.userData.base_url = resposta.base_url; }); } }; CadastrarNoticiasComponent.prototype.onReady = function (eventData) { eventData.ui.getEditableElement().parentElement.insertBefore(eventData.ui.view.toolbar.element, eventData.ui.getEditableElement()); eventData.plugins.get('FileRepository').createUploadAdapter = function (loader) { console.log(btoa(loader.file)); return new UploadAdapter(loader); }; }; CadastrarNoticiasComponent.prototype.close = function () { this.activeModal.close(); this.passEntry.emit(1); }; CadastrarNoticiasComponent.prototype.salvar = function () { if (this.tipo == 1) { this.setUser(); } else { this.updateUser(); } }; CadastrarNoticiasComponent.prototype.removerImagem = function (imagem) { var index = this.arquivos.indexOf(imagem); if (index > -1) { this.arquivos.splice(index, 1); } }; CadastrarNoticiasComponent.prototype.inputFileChange2 = function (event) { return __awaiter(this, void 0, void 0, function () { var i, formData; var _this = this; return __generator(this, function (_a) { if (event.target.files && event.target.files[0]) { this.loading = true; this.foto = event.target.files; for (i = 0; i < this.foto.length; i++) { formData = new FormData(); formData.append('foto', this.foto[i]); this.service.uploadImg(formData).then(function (result) { var dados = { arquivo: result.mensagem, base_url: result.base_url }; _this.arquivos.push(dados); }); } this.loading = false; } return [2 /*return*/]; }); }); }; CadastrarNoticiasComponent.prototype.getdados = function () { var _this = this; var dados = {}; this.service.getCategoriasAtivas(dados).then(function (result) { _this.secretarias = result.mensagem; }); }; CadastrarNoticiasComponent.prototype.setUser = function () { var _this = this; this.userData.data = moment().format(this.format2); if (this.userData.titulo && this.userData.conteudo && this.userData.cod_categoria) { this.userData.imagens = JSON.stringify(this.arquivos); this.service.setNoticias(this.userData).then(function (result) { if (result.mensagem == 1) { _this.toastr.success('Noticia cadastrada com sucesso', 'Sucesso!'); _this.close(); } else { _this.toastr.error('Não foi possivel cadastrar a noticia, tente novamente mais tarde', 'Erro!'); } }); } else { this.toastr.warning('Preencha todos os campos', 'Atenção!'); } }; CadastrarNoticiasComponent.prototype.updateUser = function () { var _this = this; if (this.userData.titulo && this.userData.conteudo && this.userData.cod_categoria) { delete this.userData.data; this.userData.imagens = JSON.stringify(this.arquivos); this.service.updateNoticias(this.userData).then(function (result) { if (result.mensagem == 1) { _this.toastr.success('noticia alterada com sucesso', 'Sucesso!'); _this.close(); } else { _this.toastr.error('erro no servidor, tente novamente mais tarde', 'Erro!'); } }); } else { this.toastr.warning('Preencha todos os campos', 'Atenção!'); } }; CadastrarNoticiasComponent.ctorParameters = function () { return [ { type: api_service_1.ApiService }, { type: ngx_toastr_1.ToastrService }, { type: ng_bootstrap_1.NgbActiveModal }, { type: http_1.HttpClient } ]; }; __decorate([ core_1.Input(), __metadata("design:type", Object) ], CadastrarNoticiasComponent.prototype, "userData", void 0); __decorate([ core_1.Input(), __metadata("design:type", Object) ], CadastrarNoticiasComponent.prototype, "title", void 0); __decorate([ core_1.Input(), __metadata("design:type", Object) ], CadastrarNoticiasComponent.prototype, "tipo", void 0); __decorate([ core_1.Output(), __metadata("design:type", core_1.EventEmitter) ], CadastrarNoticiasComponent.prototype, "passEntry", void 0); CadastrarNoticiasComponent = __decorate([ core_1.Component({ selector: 'app-cadastrar-noticias', template: __importDefault(__webpack_require__(/*! raw-loader!./cadastrar-noticias.component.html */ "./node_modules/raw-loader/dist/cjs.js!./src/app/modals/cadastrar-noticias/cadastrar-noticias.component.html")).default, styles: [__importDefault(__webpack_require__(/*! ./cadastrar-noticias.component.css */ "./src/app/modals/cadastrar-noticias/cadastrar-noticias.component.css")).default] }), __metadata("design:paramtypes", [api_service_1.ApiService, ngx_toastr_1.ToastrService, ng_bootstrap_1.NgbActiveModal, http_1.HttpClient]) ], CadastrarNoticiasComponent); return CadastrarNoticiasComponent; }()); exports.CadastrarNoticiasComponent = CadastrarNoticiasComponent; /***/ }), /***/ "./src/app/modals/cadastrar-obras/cadastrar-obras.component.css": /*!**********************************************************************!*\ !*** ./src/app/modals/cadastrar-obras/cadastrar-obras.component.css ***! \**********************************************************************/ /*! exports provided: default */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony default export */ __webpack_exports__["default"] = ("\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiIsImZpbGUiOiJzcmMvYXBwL21vZGFscy9jYWRhc3RyYXItb2JyYXMvY2FkYXN0cmFyLW9icmFzLmNvbXBvbmVudC5jc3MifQ== */"); /***/ }), /***/ "./src/app/modals/cadastrar-obras/cadastrar-obras.component.ts": /*!*********************************************************************!*\ !*** ./src/app/modals/cadastrar-obras/cadastrar-obras.component.ts ***! \*********************************************************************/ /*! no static exports found */ /***/ (function(module, exports, __webpack_require__) { "use strict"; var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r; return c > 3 && r && Object.defineProperty(target, key, r), r; }; var __metadata = (this && this.__metadata) || function (k, v) { if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v); }; var __importDefault = (this && this.__importDefault) || function (mod) { return (mod && mod.__esModule) ? mod : { "default": mod }; }; Object.defineProperty(exports, "__esModule", { value: true }); var http_1 = __webpack_require__(/*! @angular/common/http */ "./node_modules/@angular/common/__ivy_ngcc__/fesm5/http.js"); var core_1 = __webpack_require__(/*! @angular/core */ "./node_modules/@angular/core/__ivy_ngcc__/fesm5/core.js"); var ng_bootstrap_1 = __webpack_require__(/*! @ng-bootstrap/ng-bootstrap */ "./node_modules/@ng-bootstrap/ng-bootstrap/__ivy_ngcc__/fesm5/ng-bootstrap.js"); var api_service_1 = __webpack_require__(/*! app/services/api.service */ "./src/app/services/api.service.ts"); var ngx_toastr_1 = __webpack_require__(/*! ngx-toastr */ "./node_modules/ngx-toastr/__ivy_ngcc__/fesm5/ngx-toastr.js"); var CadastrarObrasComponent = /** @class */ (function () { function CadastrarObrasComponent(service, toastr, activeModal, http) { this.service = service; this.toastr = toastr; this.activeModal = activeModal; this.http = http; this.userData = {}; this.passEntry = new core_1.EventEmitter(); this.empresas = []; this.secretarias = []; this.controlador = 0; this.path = this.service.getPath(); } CadastrarObrasComponent.prototype.ngOnInit = function () { this.getdados(); }; CadastrarObrasComponent.prototype.dataFormat = function (date) { return new Date(date).toISOString().slice(0, 10); }; CadastrarObrasComponent.prototype.uploadImagemFile = function (event) { if (event.target.files && event.target.files[0]) { this.imagemFile = event.target.files[0]; console.log(this.imagemFile); } }; CadastrarObrasComponent.prototype.uploadAnexoFile = function (event) { if (event.target.files && event.target.files[0]) { this.anexoFile = event.target.files[0]; console.log(this.anexoFile); } }; CadastrarObrasComponent.prototype.close = function () { this.activeModal.close(); this.passEntry.emit(1); }; CadastrarObrasComponent.prototype.close2 = function () { this.activeModal.close(); this.passEntry.emit(2); }; CadastrarObrasComponent.prototype.salvar = function () { if (this.tipo == 1) { this.setUser(); } else if (this.tipo == 2) { this.updateUser(); } }; CadastrarObrasComponent.prototype.getdados = function () { var _this = this; var dados = {}; this.service.getObras(dados).then(function (result) { _this.secretarias = result.mensagem; }); }; CadastrarObrasComponent.prototype.setUser = function () { var _this = this; if (this.userData.nome) { this.controlador = 1; var formData = new FormData(); formData.append('nome', this.userData.nome); formData.append('descricao', this.userData.descricao); formData.append('percentual', this.userData.percentual); formData.append('imagemfile', this.imagemFile); formData.append('status_atual', this.userData.status_atual); formData.append('motivo_status', this.userData.motivo_status); formData.append('valor', this.userData.valor); formData.append('anexofile', this.anexoFile); this.loading = true; console.log(this.imagemFile); console.log(this.anexoFile); this.service.addObras(formData).then(function (result) { _this.controlador = 0; _this.loading = false; _this.toastr.success('Noticia cadastrada com sucesso', 'Sucesso!'); _this.close2(); }).catch(function () { _this.controlador = 0; _this.loading = false; _this.toastr.error('Não foi possivel cadastrar a noticia, tente novamente mais tarde', 'Erro!'); }); } else { this.toastr.warning('Preencha todos os campos', 'Atenção!'); } }; CadastrarObrasComponent.prototype.updateUser = function () { var _this = this; if (this.userData.nome) { this.controlador = 1; this.loading = true; var formData = new FormData(); formData.append('id_obra', this.userData.id_obra); formData.append('nome', this.userData.nome); formData.append('descricao', this.userData.descricao); formData.append('percentual', this.userData.percentual); formData.append('imagemfile', this.imagemFile); formData.append('status_atual', this.userData.status_atual); formData.append('motivo_status', this.userData.motivo_status); formData.append('valor', this.userData.valor); formData.append('anexofile', this.anexoFile); this.service.updateObras(formData).then(function (result) { _this.controlador = 0; _this.loading = false; _this.toastr.success('noticia alterada com sucesso', 'Sucesso!'); _this.close(); }).catch(function () { _this.controlador = 0; _this.loading = false; _this.toastr.error('erro no servidor, tente novamente mais tarde', 'Erro!'); }); } else { this.toastr.warning('Preencha todos os campos', 'Atenção!'); } }; CadastrarObrasComponent.ctorParameters = function () { return [ { type: api_service_1.ApiService }, { type: ngx_toastr_1.ToastrService }, { type: ng_bootstrap_1.NgbActiveModal }, { type: http_1.HttpClient } ]; }; __decorate([ core_1.Input(), __metadata("design:type", Object) ], CadastrarObrasComponent.prototype, "userData", void 0); __decorate([ core_1.Input(), __metadata("design:type", Object) ], CadastrarObrasComponent.prototype, "title", void 0); __decorate([ core_1.Input(), __metadata("design:type", Object) ], CadastrarObrasComponent.prototype, "tipo", void 0); __decorate([ core_1.Output(), __metadata("design:type", core_1.EventEmitter) ], CadastrarObrasComponent.prototype, "passEntry", void 0); CadastrarObrasComponent = __decorate([ core_1.Component({ selector: 'app-cadastrar-obras', template: __importDefault(__webpack_require__(/*! raw-loader!./cadastrar-obras.component.html */ "./node_modules/raw-loader/dist/cjs.js!./src/app/modals/cadastrar-obras/cadastrar-obras.component.html")).default, styles: [__importDefault(__webpack_require__(/*! ./cadastrar-obras.component.css */ "./src/app/modals/cadastrar-obras/cadastrar-obras.component.css")).default] }), __metadata("design:paramtypes", [api_service_1.ApiService, ngx_toastr_1.ToastrService, ng_bootstrap_1.NgbActiveModal, http_1.HttpClient]) ], CadastrarObrasComponent); return CadastrarObrasComponent; }()); exports.CadastrarObrasComponent = CadastrarObrasComponent; /***/ }), /***/ "./src/app/modals/cadastrar-pauta/cadastrar-pauta.component.css": /*!**********************************************************************!*\ !*** ./src/app/modals/cadastrar-pauta/cadastrar-pauta.component.css ***! \**********************************************************************/ /*! exports provided: default */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony default export */ __webpack_exports__["default"] = ("\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiIsImZpbGUiOiJzcmMvYXBwL21vZGFscy9jYWRhc3RyYXItcGF1dGEvY2FkYXN0cmFyLXBhdXRhLmNvbXBvbmVudC5jc3MifQ== */"); /***/ }), /***/ "./src/app/modals/cadastrar-pauta/cadastrar-pauta.component.ts": /*!*********************************************************************!*\ !*** ./src/app/modals/cadastrar-pauta/cadastrar-pauta.component.ts ***! \*********************************************************************/ /*! no static exports found */ /***/ (function(module, exports, __webpack_require__) { "use strict"; var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r; return c > 3 && r && Object.defineProperty(target, key, r), r; }; var __metadata = (this && this.__metadata) || function (k, v) { if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v); }; var __importDefault = (this && this.__importDefault) || function (mod) { return (mod && mod.__esModule) ? mod : { "default": mod }; }; Object.defineProperty(exports, "__esModule", { value: true }); var core_1 = __webpack_require__(/*! @angular/core */ "./node_modules/@angular/core/__ivy_ngcc__/fesm5/core.js"); var ng_bootstrap_1 = __webpack_require__(/*! @ng-bootstrap/ng-bootstrap */ "./node_modules/@ng-bootstrap/ng-bootstrap/__ivy_ngcc__/fesm5/ng-bootstrap.js"); var api_service_1 = __webpack_require__(/*! app/services/api.service */ "./src/app/services/api.service.ts"); var ngx_toastr_1 = __webpack_require__(/*! ngx-toastr */ "./node_modules/ngx-toastr/__ivy_ngcc__/fesm5/ngx-toastr.js"); var DecoupledEditor = __webpack_require__(/*! @ckeditor/ckeditor5-build-decoupled-document */ "./node_modules/@ckeditor/ckeditor5-build-decoupled-document/build/ckeditor.js"); var http_1 = __webpack_require__(/*! @angular/common/http */ "./node_modules/@angular/common/__ivy_ngcc__/fesm5/http.js"); var UploadAdapter = /** @class */ (function () { function UploadAdapter(loader) { this.loader = loader; } UploadAdapter.prototype.upload = function () { return this.loader.file .then(function (file) { return new Promise(function (resolve, reject) { var myReader = new FileReader(); myReader.onloadend = function (e) { resolve({ default: myReader.result }); }; myReader.readAsDataURL(file); }); }); }; ; return UploadAdapter; }()); var CadastrarPautaComponent = /** @class */ (function () { function CadastrarPautaComponent(service, toastr, activeModal, http) { this.service = service; this.toastr = toastr; this.activeModal = activeModal; this.http = http; this.Editor = DecoupledEditor; this.userData = { descricao: '' }; this.passEntry = new core_1.EventEmitter(); this.empresas = []; this.secretarias = []; } CadastrarPautaComponent.prototype.ngOnInit = function () { if (this.tipo == 2) { this.userData.date = this.dataFormat(this.userData.date); } }; CadastrarPautaComponent.prototype.dataFormat = function (date) { return new Date(date).toISOString().slice(0, 10); }; CadastrarPautaComponent.prototype.onReady = function (eventData) { eventData.ui.getEditableElement().parentElement.insertBefore(eventData.ui.view.toolbar.element, eventData.ui.getEditableElement()); eventData.plugins.get('FileRepository').createUploadAdapter = function (loader) { console.log(btoa(loader.file)); return new UploadAdapter(loader); }; }; CadastrarPautaComponent.prototype.close = function () { this.activeModal.close(); this.passEntry.emit(1); }; CadastrarPautaComponent.prototype.close2 = function () { this.activeModal.close(); this.passEntry.emit(2); }; CadastrarPautaComponent.prototype.salvar = function () { if (this.tipo == 1) { this.setUser(); } else { this.updateUser(); } }; CadastrarPautaComponent.prototype.setUser = function () { var _this = this; if (this.userData.titulo) { this.service.setPauta(this.userData).then(function (result) { if (result.mensagem == 1) { _this.toastr.success('pauta cadastrada com sucesso', 'Sucesso!'); _this.close2(); } else { _this.toastr.error('Não foi possivel cadastrar a pauta, tente novamente mais tarde', 'Erro!'); } }); } else { this.toastr.warning('Preencha todos os campos', 'Atenção!'); } }; CadastrarPautaComponent.prototype.updateUser = function () { var _this = this; if (this.userData.titulo) { this.service.updatePauta(this.userData).then(function (result) { if (result.mensagem == 1) { _this.toastr.success('pauta alterada com sucesso', 'Sucesso!'); _this.close(); } else { _this.toastr.error('erro no servidor, tente novamente mais tarde', 'Erro!'); } }); } else { this.toastr.warning('Preencha todos os campos', 'Atenção!'); } }; CadastrarPautaComponent.ctorParameters = function () { return [ { type: api_service_1.ApiService }, { type: ngx_toastr_1.ToastrService }, { type: ng_bootstrap_1.NgbActiveModal }, { type: http_1.HttpClient } ]; }; __decorate([ core_1.Input(), __metadata("design:type", Object) ], CadastrarPautaComponent.prototype, "userData", void 0); __decorate([ core_1.Input(), __metadata("design:type", Object) ], CadastrarPautaComponent.prototype, "title", void 0); __decorate([ core_1.Input(), __metadata("design:type", Object) ], CadastrarPautaComponent.prototype, "tipo", void 0); __decorate([ core_1.Output(), __metadata("design:type", core_1.EventEmitter) ], CadastrarPautaComponent.prototype, "passEntry", void 0); CadastrarPautaComponent = __decorate([ core_1.Component({ selector: 'app-cadastrar-pauta', template: __importDefault(__webpack_require__(/*! raw-loader!./cadastrar-pauta.component.html */ "./node_modules/raw-loader/dist/cjs.js!./src/app/modals/cadastrar-pauta/cadastrar-pauta.component.html")).default, styles: [__importDefault(__webpack_require__(/*! ./cadastrar-pauta.component.css */ "./src/app/modals/cadastrar-pauta/cadastrar-pauta.component.css")).default] }), __metadata("design:paramtypes", [api_service_1.ApiService, ngx_toastr_1.ToastrService, ng_bootstrap_1.NgbActiveModal, http_1.HttpClient]) ], CadastrarPautaComponent); return CadastrarPautaComponent; }()); exports.CadastrarPautaComponent = CadastrarPautaComponent; /***/ }), /***/ "./src/app/modals/cadastrar-radio/cadastrar-radio.component.css": /*!**********************************************************************!*\ !*** ./src/app/modals/cadastrar-radio/cadastrar-radio.component.css ***! \**********************************************************************/ /*! exports provided: default */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony default export */ __webpack_exports__["default"] = ("\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiIsImZpbGUiOiJzcmMvYXBwL21vZGFscy9jYWRhc3RyYXItcmFkaW8vY2FkYXN0cmFyLXJhZGlvLmNvbXBvbmVudC5jc3MifQ== */"); /***/ }), /***/ "./src/app/modals/cadastrar-radio/cadastrar-radio.component.ts": /*!*********************************************************************!*\ !*** ./src/app/modals/cadastrar-radio/cadastrar-radio.component.ts ***! \*********************************************************************/ /*! no static exports found */ /***/ (function(module, exports, __webpack_require__) { "use strict"; var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r; return c > 3 && r && Object.defineProperty(target, key, r), r; }; var __metadata = (this && this.__metadata) || function (k, v) { if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v); }; var __importDefault = (this && this.__importDefault) || function (mod) { return (mod && mod.__esModule) ? mod : { "default": mod }; }; Object.defineProperty(exports, "__esModule", { value: true }); var http_1 = __webpack_require__(/*! @angular/common/http */ "./node_modules/@angular/common/__ivy_ngcc__/fesm5/http.js"); var core_1 = __webpack_require__(/*! @angular/core */ "./node_modules/@angular/core/__ivy_ngcc__/fesm5/core.js"); var ng_bootstrap_1 = __webpack_require__(/*! @ng-bootstrap/ng-bootstrap */ "./node_modules/@ng-bootstrap/ng-bootstrap/__ivy_ngcc__/fesm5/ng-bootstrap.js"); var api_service_1 = __webpack_require__(/*! app/services/api.service */ "./src/app/services/api.service.ts"); var ngx_toastr_1 = __webpack_require__(/*! ngx-toastr */ "./node_modules/ngx-toastr/__ivy_ngcc__/fesm5/ngx-toastr.js"); var CadastrarRadioComponent = /** @class */ (function () { function CadastrarRadioComponent(service, toastr, activeModal, http) { this.service = service; this.toastr = toastr; this.activeModal = activeModal; this.http = http; this.userData = {}; this.passEntry = new core_1.EventEmitter(); this.empresas = []; this.secretarias = []; this.format2 = "YYYY-MM-DD"; this.controlador = 0; this.path = this.service.getPath(); } CadastrarRadioComponent.prototype.ngOnInit = function () { this.userData.data_sessao = this.dataFormat(this.userData.data_sessao); this.getdados(); }; CadastrarRadioComponent.prototype.dataFormat = function (date) { return new Date(date).toISOString().slice(0, 10); }; CadastrarRadioComponent.prototype.inputFileChange = function (event) { if (event.target.files && event.target.files[0]) { this.foto = event.target.files[0]; console.log(this.foto); } }; CadastrarRadioComponent.prototype.close = function () { this.activeModal.close(); this.passEntry.emit(1); }; CadastrarRadioComponent.prototype.close2 = function () { this.activeModal.close(); this.passEntry.emit(2); }; CadastrarRadioComponent.prototype.salvar = function () { if (this.tipo == 1) { if (this.foto.type !== 'audio/mpeg') { this.toastr.warning('Tipo de arquivo não suportado.', 'Atenção!'); return; } this.setUser(); } else if (this.tipo == 2) { this.updateUser(); } else { if (this.foto.type !== 'audio/mpeg') { this.toastr.warning('Tipo de arquivo não suportado.', 'Atenção!'); return; } this.alterarArquivo(); } }; CadastrarRadioComponent.prototype.alterarArquivo = function () { var _this = this; if (this.userData.titulo) { this.controlador = 1; var formData = new FormData(); formData.append('arquivo', this.foto); formData.append('id_radio', this.userData.id_radio); console.log(formData); this.loading = true; this.service.updateRadioArquivo(formData).then(function (result) { _this.controlador = 0; _this.toastr.success('Noticia cadastrada com sucesso', 'Sucesso!'); _this.close2(); _this.loading = false; }).catch(function () { _this.controlador = 0; _this.loading = false; _this.toastr.error('Não foi possivel cadastrar a noticia, tente novamente mais tarde', 'Erro!'); }); } else { this.toastr.warning('Preencha todos os campos', 'Atenção!'); } }; CadastrarRadioComponent.prototype.getdados = function () { var _this = this; var dados = {}; this.service.getCategoriasAtivas(dados).then(function (result) { _this.secretarias = result.mensagem; }); }; CadastrarRadioComponent.prototype.setUser = function () { var _this = this; if (this.userData.titulo) { this.controlador = 1; var formData = new FormData(); formData.append('arquivo', this.foto); formData.append('titulo', this.userData.titulo); formData.append('data_sessao', this.userData.data_sessao); this.loading = true; this.service.addRadio(formData).then(function (result) { _this.controlador = 0; _this.loading = false; _this.toastr.success('Noticia cadastrada com sucesso', 'Sucesso!'); _this.close2(); }).catch(function () { _this.controlador = 0; _this.loading = false; _this.toastr.error('Não foi possivel cadastrar a noticia, tente novamente mais tarde', 'Erro!'); }); } else { this.toastr.warning('Preencha todos os campos', 'Atenção!'); } }; CadastrarRadioComponent.prototype.updateUser = function () { var _this = this; if (this.userData.titulo) { this.controlador = 1; this.loading = true; this.service.updateRadio(this.userData).then(function (result) { _this.controlador = 0; _this.loading = false; _this.toastr.success('noticia alterada com sucesso', 'Sucesso!'); _this.close(); }).catch(function () { _this.controlador = 0; _this.loading = false; _this.toastr.error('erro no servidor, tente novamente mais tarde', 'Erro!'); }); } else { this.toastr.warning('Preencha todos os campos', 'Atenção!'); } }; CadastrarRadioComponent.ctorParameters = function () { return [ { type: api_service_1.ApiService }, { type: ngx_toastr_1.ToastrService }, { type: ng_bootstrap_1.NgbActiveModal }, { type: http_1.HttpClient } ]; }; __decorate([ core_1.Input(), __metadata("design:type", Object) ], CadastrarRadioComponent.prototype, "userData", void 0); __decorate([ core_1.Input(), __metadata("design:type", Object) ], CadastrarRadioComponent.prototype, "title", void 0); __decorate([ core_1.Input(), __metadata("design:type", Object) ], CadastrarRadioComponent.prototype, "tipo", void 0); __decorate([ core_1.Output(), __metadata("design:type", core_1.EventEmitter) ], CadastrarRadioComponent.prototype, "passEntry", void 0); CadastrarRadioComponent = __decorate([ core_1.Component({ selector: 'app-cadastrar-radio', template: __importDefault(__webpack_require__(/*! raw-loader!./cadastrar-radio.component.html */ "./node_modules/raw-loader/dist/cjs.js!./src/app/modals/cadastrar-radio/cadastrar-radio.component.html")).default, styles: [__importDefault(__webpack_require__(/*! ./cadastrar-radio.component.css */ "./src/app/modals/cadastrar-radio/cadastrar-radio.component.css")).default] }), __metadata("design:paramtypes", [api_service_1.ApiService, ngx_toastr_1.ToastrService, ng_bootstrap_1.NgbActiveModal, http_1.HttpClient]) ], CadastrarRadioComponent); return CadastrarRadioComponent; }()); exports.CadastrarRadioComponent = CadastrarRadioComponent; /***/ }), /***/ "./src/app/modals/cadastrar-secretaria/cadastrar-secretaria.component.css": /*!********************************************************************************!*\ !*** ./src/app/modals/cadastrar-secretaria/cadastrar-secretaria.component.css ***! \********************************************************************************/ /*! exports provided: default */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony default export */ __webpack_exports__["default"] = ("\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiIsImZpbGUiOiJzcmMvYXBwL21vZGFscy9jYWRhc3RyYXItc2VjcmV0YXJpYS9jYWRhc3RyYXItc2VjcmV0YXJpYS5jb21wb25lbnQuY3NzIn0= */"); /***/ }), /***/ "./src/app/modals/cadastrar-secretaria/cadastrar-secretaria.component.ts": /*!*******************************************************************************!*\ !*** ./src/app/modals/cadastrar-secretaria/cadastrar-secretaria.component.ts ***! \*******************************************************************************/ /*! no static exports found */ /***/ (function(module, exports, __webpack_require__) { "use strict"; var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r; return c > 3 && r && Object.defineProperty(target, key, r), r; }; var __metadata = (this && this.__metadata) || function (k, v) { if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v); }; var __importDefault = (this && this.__importDefault) || function (mod) { return (mod && mod.__esModule) ? mod : { "default": mod }; }; Object.defineProperty(exports, "__esModule", { value: true }); var core_1 = __webpack_require__(/*! @angular/core */ "./node_modules/@angular/core/__ivy_ngcc__/fesm5/core.js"); var ng_bootstrap_1 = __webpack_require__(/*! @ng-bootstrap/ng-bootstrap */ "./node_modules/@ng-bootstrap/ng-bootstrap/__ivy_ngcc__/fesm5/ng-bootstrap.js"); var api_service_1 = __webpack_require__(/*! app/services/api.service */ "./src/app/services/api.service.ts"); var ngx_toastr_1 = __webpack_require__(/*! ngx-toastr */ "./node_modules/ngx-toastr/__ivy_ngcc__/fesm5/ngx-toastr.js"); var DecoupledEditor = __webpack_require__(/*! @ckeditor/ckeditor5-build-decoupled-document */ "./node_modules/@ckeditor/ckeditor5-build-decoupled-document/build/ckeditor.js"); var UploadAdapter = /** @class */ (function () { function UploadAdapter(loader) { this.loader = loader; } UploadAdapter.prototype.upload = function () { return this.loader.file .then(function (file) { return new Promise(function (resolve, reject) { var myReader = new FileReader(); myReader.onloadend = function (e) { resolve({ default: myReader.result }); }; myReader.readAsDataURL(file); }); }); }; ; return UploadAdapter; }()); var CadastrarSecretariaComponent = /** @class */ (function () { function CadastrarSecretariaComponent(service, toastr, activeModal) { this.service = service; this.toastr = toastr; this.activeModal = activeModal; this.Editor = DecoupledEditor; this.userData = { descricao: '' }; this.passEntry = new core_1.EventEmitter(); this.empresas = []; } CadastrarSecretariaComponent.prototype.ngOnInit = function () { }; CadastrarSecretariaComponent.prototype.close = function () { this.activeModal.close(); this.passEntry.emit(1); }; CadastrarSecretariaComponent.prototype.onReady = function (eventData) { eventData.ui.getEditableElement().parentElement.insertBefore(eventData.ui.view.toolbar.element, eventData.ui.getEditableElement()); eventData.plugins.get('FileRepository').createUploadAdapter = function (loader) { console.log(btoa(loader.file)); return new UploadAdapter(loader); }; }; CadastrarSecretariaComponent.prototype.salvar = function () { if (this.tipo == 1) { this.setUser(); } else { this.updateUser(); } }; CadastrarSecretariaComponent.prototype.setUser = function () { var _this = this; if (this.userData.titulo) { this.service.setSecretarias(this.userData).then(function (result) { if (result.mensagem == 1) { _this.toastr.success('secretaria cadastrada com sucesso', 'Sucesso!'); _this.close(); } else { _this.toastr.error('erro no servidor, tente novamente mais tarde', 'Erro!'); } }); } else { this.toastr.warning('Preencha todos os campos', 'Atenção!'); } }; CadastrarSecretariaComponent.prototype.updateUser = function () { var _this = this; if (this.userData.titulo) { this.service.updateSecretarias(this.userData).then(function (result) { if (result.mensagem == 1) { _this.toastr.success('secretaria alterada com sucesso', 'Sucesso!'); _this.close(); } else { _this.toastr.error('erro no servidor, tente novamente mais tarde', 'Erro!'); } }); } else { this.toastr.warning('Preencha todos os campos', 'Atenção!'); } }; CadastrarSecretariaComponent.ctorParameters = function () { return [ { type: api_service_1.ApiService }, { type: ngx_toastr_1.ToastrService }, { type: ng_bootstrap_1.NgbActiveModal } ]; }; __decorate([ core_1.Input(), __metadata("design:type", Object) ], CadastrarSecretariaComponent.prototype, "userData", void 0); __decorate([ core_1.Input(), __metadata("design:type", Object) ], CadastrarSecretariaComponent.prototype, "title", void 0); __decorate([ core_1.Input(), __metadata("design:type", Object) ], CadastrarSecretariaComponent.prototype, "tipo", void 0); __decorate([ core_1.Output(), __metadata("design:type", core_1.EventEmitter) ], CadastrarSecretariaComponent.prototype, "passEntry", void 0); CadastrarSecretariaComponent = __decorate([ core_1.Component({ selector: 'app-cadastrar-secretaria', template: __importDefault(__webpack_require__(/*! raw-loader!./cadastrar-secretaria.component.html */ "./node_modules/raw-loader/dist/cjs.js!./src/app/modals/cadastrar-secretaria/cadastrar-secretaria.component.html")).default, styles: [__importDefault(__webpack_require__(/*! ./cadastrar-secretaria.component.css */ "./src/app/modals/cadastrar-secretaria/cadastrar-secretaria.component.css")).default] }), __metadata("design:paramtypes", [api_service_1.ApiService, ngx_toastr_1.ToastrService, ng_bootstrap_1.NgbActiveModal]) ], CadastrarSecretariaComponent); return CadastrarSecretariaComponent; }()); exports.CadastrarSecretariaComponent = CadastrarSecretariaComponent; /***/ }), /***/ "./src/app/modals/cadastrar-site-map/cadastrar-site-map.component.css": /*!****************************************************************************!*\ !*** ./src/app/modals/cadastrar-site-map/cadastrar-site-map.component.css ***! \****************************************************************************/ /*! exports provided: default */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony default export */ __webpack_exports__["default"] = ("\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiIsImZpbGUiOiJzcmMvYXBwL21vZGFscy9jYWRhc3RyYXItc2l0ZS1tYXAvY2FkYXN0cmFyLXNpdGUtbWFwLmNvbXBvbmVudC5jc3MifQ== */"); /***/ }), /***/ "./src/app/modals/cadastrar-site-map/cadastrar-site-map.component.ts": /*!***************************************************************************!*\ !*** ./src/app/modals/cadastrar-site-map/cadastrar-site-map.component.ts ***! \***************************************************************************/ /*! no static exports found */ /***/ (function(module, exports, __webpack_require__) { "use strict"; var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r; return c > 3 && r && Object.defineProperty(target, key, r), r; }; var __metadata = (this && this.__metadata) || function (k, v) { if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v); }; var __importDefault = (this && this.__importDefault) || function (mod) { return (mod && mod.__esModule) ? mod : { "default": mod }; }; Object.defineProperty(exports, "__esModule", { value: true }); var core_1 = __webpack_require__(/*! @angular/core */ "./node_modules/@angular/core/__ivy_ngcc__/fesm5/core.js"); var ng_bootstrap_1 = __webpack_require__(/*! @ng-bootstrap/ng-bootstrap */ "./node_modules/@ng-bootstrap/ng-bootstrap/__ivy_ngcc__/fesm5/ng-bootstrap.js"); var api_service_1 = __webpack_require__(/*! app/services/api.service */ "./src/app/services/api.service.ts"); var ngx_toastr_1 = __webpack_require__(/*! ngx-toastr */ "./node_modules/ngx-toastr/__ivy_ngcc__/fesm5/ngx-toastr.js"); var CadastrarSiteMapComponent = /** @class */ (function () { function CadastrarSiteMapComponent(service, activeModel, toastr) { this.service = service; this.activeModel = activeModel; this.toastr = toastr; this.userData = {}; this.passEntry = new core_1.EventEmitter(); } CadastrarSiteMapComponent.prototype.ngOnInit = function () { }; CadastrarSiteMapComponent.prototype.close = function () { this.activeModel.close(); }; CadastrarSiteMapComponent.prototype.salvar = function () { var _this = this; if (!this.userData.nome_destino) { this.toastr.warning('Nome é obrigatorio!'); return; } if (!this.userData.base_url) { this.toastr.warning('Url é obrigatorio!'); return; } if (this.userData.id_site_map) { this.service.updateSiteMaps(this.userData).then(function (res) { console.log(res); _this.toastr.success('Item alterado com sucesso!'); _this.close(); _this.passEntry.emit(1); }).catch(function (error) { _this.toastr.error('Erro no servidor!'); console.log(error); }); } else { this.userData.status_site_map = 1; console.log(this.userData); this.service.addSiteMaps(this.userData).then(function (res) { _this.toastr.success('Item cadastrado com sucesso!'); console.log(res); _this.close(); _this.passEntry.emit(1); }).catch(function (error) { _this.toastr.error('Erro no servidor!'); console.log(error); }); } }; CadastrarSiteMapComponent.ctorParameters = function () { return [ { type: api_service_1.ApiService }, { type: ng_bootstrap_1.NgbActiveModal }, { type: ngx_toastr_1.ToastrService } ]; }; __decorate([ core_1.Input(), __metadata("design:type", Object) ], CadastrarSiteMapComponent.prototype, "userData", void 0); __decorate([ core_1.Input(), __metadata("design:type", Object) ], CadastrarSiteMapComponent.prototype, "title", void 0); __decorate([ core_1.Output(), __metadata("design:type", core_1.EventEmitter) ], CadastrarSiteMapComponent.prototype, "passEntry", void 0); CadastrarSiteMapComponent = __decorate([ core_1.Component({ selector: 'app-cadastrar-site-map', template: __importDefault(__webpack_require__(/*! raw-loader!./cadastrar-site-map.component.html */ "./node_modules/raw-loader/dist/cjs.js!./src/app/modals/cadastrar-site-map/cadastrar-site-map.component.html")).default, styles: [__importDefault(__webpack_require__(/*! ./cadastrar-site-map.component.css */ "./src/app/modals/cadastrar-site-map/cadastrar-site-map.component.css")).default] }), __metadata("design:paramtypes", [api_service_1.ApiService, ng_bootstrap_1.NgbActiveModal, ngx_toastr_1.ToastrService]) ], CadastrarSiteMapComponent); return CadastrarSiteMapComponent; }()); exports.CadastrarSiteMapComponent = CadastrarSiteMapComponent; /***/ }), /***/ "./src/app/modals/cadastrar-submenus/cadastrar-submenus.component.css": /*!****************************************************************************!*\ !*** ./src/app/modals/cadastrar-submenus/cadastrar-submenus.component.css ***! \****************************************************************************/ /*! exports provided: default */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony default export */ __webpack_exports__["default"] = ("\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiIsImZpbGUiOiJzcmMvYXBwL21vZGFscy9jYWRhc3RyYXItc3VibWVudXMvY2FkYXN0cmFyLXN1Ym1lbnVzLmNvbXBvbmVudC5jc3MifQ== */"); /***/ }), /***/ "./src/app/modals/cadastrar-submenus/cadastrar-submenus.component.ts": /*!***************************************************************************!*\ !*** ./src/app/modals/cadastrar-submenus/cadastrar-submenus.component.ts ***! \***************************************************************************/ /*! no static exports found */ /***/ (function(module, exports, __webpack_require__) { "use strict"; var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r; return c > 3 && r && Object.defineProperty(target, key, r), r; }; var __metadata = (this && this.__metadata) || function (k, v) { if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v); }; var __importDefault = (this && this.__importDefault) || function (mod) { return (mod && mod.__esModule) ? mod : { "default": mod }; }; Object.defineProperty(exports, "__esModule", { value: true }); var core_1 = __webpack_require__(/*! @angular/core */ "./node_modules/@angular/core/__ivy_ngcc__/fesm5/core.js"); var ng_bootstrap_1 = __webpack_require__(/*! @ng-bootstrap/ng-bootstrap */ "./node_modules/@ng-bootstrap/ng-bootstrap/__ivy_ngcc__/fesm5/ng-bootstrap.js"); var api_service_1 = __webpack_require__(/*! app/services/api.service */ "./src/app/services/api.service.ts"); var ngx_toastr_1 = __webpack_require__(/*! ngx-toastr */ "./node_modules/ngx-toastr/__ivy_ngcc__/fesm5/ngx-toastr.js"); var CadastrarSubmenusComponent = /** @class */ (function () { function CadastrarSubmenusComponent(service, toastr, activeModal) { this.service = service; this.toastr = toastr; this.activeModal = activeModal; this.userData = {}; this.passEntry = new core_1.EventEmitter(); this.empresas = []; } CadastrarSubmenusComponent.prototype.ngOnInit = function () { }; CadastrarSubmenusComponent.prototype.close = function () { this.activeModal.close(); this.passEntry.emit(1); }; CadastrarSubmenusComponent.prototype.salvar = function () { if (this.tipo == 1) { this.setUser(); } else { this.updateUser(); } }; CadastrarSubmenusComponent.prototype.setUser = function () { var _this = this; this.userData.cod_menu_item = this.id; if (this.userData.descricao_sub) { this.service.setMenusSub(this.userData).then(function (result) { if (result.mensagem == 1) { _this.toastr.success('menu cadastrado com sucesso', 'Sucesso!'); _this.close(); } else { _this.toastr.error('erro no servidor, tente novamente mais tarde', 'Erro!'); } }); } else { this.toastr.warning('Preencha todos os campos', 'Atenção!'); } }; CadastrarSubmenusComponent.prototype.updateUser = function () { var _this = this; if (this.userData.descricao_sub) { this.service.updateMenusSub(this.userData).then(function (result) { if (result.mensagem == 1) { _this.toastr.success('menu alterado com sucesso', 'Sucesso!'); _this.close(); } else { _this.toastr.error('erro no servidor, tente novamente mais tarde', 'Erro!'); } }); } else { this.toastr.warning('Preencha todos os campos', 'Atenção!'); } }; CadastrarSubmenusComponent.ctorParameters = function () { return [ { type: api_service_1.ApiService }, { type: ngx_toastr_1.ToastrService }, { type: ng_bootstrap_1.NgbActiveModal } ]; }; __decorate([ core_1.Input(), __metadata("design:type", Object) ], CadastrarSubmenusComponent.prototype, "userData", void 0); __decorate([ core_1.Input(), __metadata("design:type", Object) ], CadastrarSubmenusComponent.prototype, "title", void 0); __decorate([ core_1.Input(), __metadata("design:type", Object) ], CadastrarSubmenusComponent.prototype, "tipo", void 0); __decorate([ core_1.Input(), __metadata("design:type", Object) ], CadastrarSubmenusComponent.prototype, "id", void 0); __decorate([ core_1.Output(), __metadata("design:type", core_1.EventEmitter) ], CadastrarSubmenusComponent.prototype, "passEntry", void 0); CadastrarSubmenusComponent = __decorate([ core_1.Component({ selector: 'app-cadastrar-submenus', template: __importDefault(__webpack_require__(/*! raw-loader!./cadastrar-submenus.component.html */ "./node_modules/raw-loader/dist/cjs.js!./src/app/modals/cadastrar-submenus/cadastrar-submenus.component.html")).default, styles: [__importDefault(__webpack_require__(/*! ./cadastrar-submenus.component.css */ "./src/app/modals/cadastrar-submenus/cadastrar-submenus.component.css")).default] }), __metadata("design:paramtypes", [api_service_1.ApiService, ngx_toastr_1.ToastrService, ng_bootstrap_1.NgbActiveModal]) ], CadastrarSubmenusComponent); return CadastrarSubmenusComponent; }()); exports.CadastrarSubmenusComponent = CadastrarSubmenusComponent; /***/ }), /***/ "./src/app/modals/cadastrar-transmissoes/cadastrar-transmissoes.component.css": /*!************************************************************************************!*\ !*** ./src/app/modals/cadastrar-transmissoes/cadastrar-transmissoes.component.css ***! \************************************************************************************/ /*! exports provided: default */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony default export */ __webpack_exports__["default"] = ("\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiIsImZpbGUiOiJzcmMvYXBwL21vZGFscy9jYWRhc3RyYXItdHJhbnNtaXNzb2VzL2NhZGFzdHJhci10cmFuc21pc3NvZXMuY29tcG9uZW50LmNzcyJ9 */"); /***/ }), /***/ "./src/app/modals/cadastrar-transmissoes/cadastrar-transmissoes.component.ts": /*!***********************************************************************************!*\ !*** ./src/app/modals/cadastrar-transmissoes/cadastrar-transmissoes.component.ts ***! \***********************************************************************************/ /*! no static exports found */ /***/ (function(module, exports, __webpack_require__) { "use strict"; var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r; return c > 3 && r && Object.defineProperty(target, key, r), r; }; var __metadata = (this && this.__metadata) || function (k, v) { if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v); }; var __importDefault = (this && this.__importDefault) || function (mod) { return (mod && mod.__esModule) ? mod : { "default": mod }; }; Object.defineProperty(exports, "__esModule", { value: true }); var core_1 = __webpack_require__(/*! @angular/core */ "./node_modules/@angular/core/__ivy_ngcc__/fesm5/core.js"); var ng_bootstrap_1 = __webpack_require__(/*! @ng-bootstrap/ng-bootstrap */ "./node_modules/@ng-bootstrap/ng-bootstrap/__ivy_ngcc__/fesm5/ng-bootstrap.js"); var api_service_1 = __webpack_require__(/*! app/services/api.service */ "./src/app/services/api.service.ts"); var ngx_toastr_1 = __webpack_require__(/*! ngx-toastr */ "./node_modules/ngx-toastr/__ivy_ngcc__/fesm5/ngx-toastr.js"); var DecoupledEditor = __webpack_require__(/*! @ckeditor/ckeditor5-build-decoupled-document */ "./node_modules/@ckeditor/ckeditor5-build-decoupled-document/build/ckeditor.js"); var http_1 = __webpack_require__(/*! @angular/common/http */ "./node_modules/@angular/common/__ivy_ngcc__/fesm5/http.js"); var UploadAdapter = /** @class */ (function () { function UploadAdapter(loader) { this.loader = loader; } UploadAdapter.prototype.upload = function () { return this.loader.file .then(function (file) { return new Promise(function (resolve, reject) { var myReader = new FileReader(); myReader.onloadend = function (e) { resolve({ default: myReader.result }); }; myReader.readAsDataURL(file); }); }); }; ; return UploadAdapter; }()); var CadastrarTransmissoesComponent = /** @class */ (function () { function CadastrarTransmissoesComponent(service, toastr, activeModal, http) { this.service = service; this.toastr = toastr; this.activeModal = activeModal; this.http = http; this.Editor = DecoupledEditor; this.userData = {}; this.passEntry = new core_1.EventEmitter(); this.empresas = []; this.secretarias = []; } CadastrarTransmissoesComponent.prototype.ngOnInit = function () { if (this.tipo == 2) { this.userData.date = this.dataFormat(this.userData.date); } }; CadastrarTransmissoesComponent.prototype.dataFormat = function (date) { return new Date(date).toISOString().slice(0, 10); }; CadastrarTransmissoesComponent.prototype.onReady = function (eventData) { eventData.ui.getEditableElement().parentElement.insertBefore(eventData.ui.view.toolbar.element, eventData.ui.getEditableElement()); eventData.plugins.get('FileRepository').createUploadAdapter = function (loader) { console.log(btoa(loader.file)); return new UploadAdapter(loader); }; }; CadastrarTransmissoesComponent.prototype.close = function () { this.activeModal.close(); this.passEntry.emit(1); }; CadastrarTransmissoesComponent.prototype.close2 = function () { this.activeModal.close(); this.passEntry.emit(2); }; CadastrarTransmissoesComponent.prototype.salvar = function () { if (this.tipo == 1) { this.setUser(); } else { this.updateUser(); } }; CadastrarTransmissoesComponent.prototype.setUser = function () { var _this = this; if (this.userData.titulo || this.userData.video) { this.service.setTransmissoes(this.userData).then(function (result) { if (result.mensagem == 1) { _this.toastr.success('pauta cadastrada com sucesso', 'Sucesso!'); _this.close2(); } else { _this.toastr.error('Não foi possivel cadastrar a pauta, tente novamente mais tarde', 'Erro!'); } }); } else { this.toastr.warning('Preencha todos os campos', 'Atenção!'); } }; CadastrarTransmissoesComponent.prototype.updateUser = function () { var _this = this; if (this.userData.titulo || this.userData.video) { this.service.updateTransmissoes(this.userData).then(function (result) { if (result.mensagem == 1) { _this.toastr.success('pauta alterada com sucesso', 'Sucesso!'); _this.close(); } else { _this.toastr.error('erro no servidor, tente novamente mais tarde', 'Erro!'); } }); } else { this.toastr.warning('Preencha todos os campos', 'Atenção!'); } }; CadastrarTransmissoesComponent.ctorParameters = function () { return [ { type: api_service_1.ApiService }, { type: ngx_toastr_1.ToastrService }, { type: ng_bootstrap_1.NgbActiveModal }, { type: http_1.HttpClient } ]; }; __decorate([ core_1.Input(), __metadata("design:type", Object) ], CadastrarTransmissoesComponent.prototype, "userData", void 0); __decorate([ core_1.Input(), __metadata("design:type", Object) ], CadastrarTransmissoesComponent.prototype, "title", void 0); __decorate([ core_1.Input(), __metadata("design:type", Object) ], CadastrarTransmissoesComponent.prototype, "tipo", void 0); __decorate([ core_1.Output(), __metadata("design:type", core_1.EventEmitter) ], CadastrarTransmissoesComponent.prototype, "passEntry", void 0); CadastrarTransmissoesComponent = __decorate([ core_1.Component({ selector: 'app-cadastrar-transmissoes', template: __importDefault(__webpack_require__(/*! raw-loader!./cadastrar-transmissoes.component.html */ "./node_modules/raw-loader/dist/cjs.js!./src/app/modals/cadastrar-transmissoes/cadastrar-transmissoes.component.html")).default, styles: [__importDefault(__webpack_require__(/*! ./cadastrar-transmissoes.component.css */ "./src/app/modals/cadastrar-transmissoes/cadastrar-transmissoes.component.css")).default] }), __metadata("design:paramtypes", [api_service_1.ApiService, ngx_toastr_1.ToastrService, ng_bootstrap_1.NgbActiveModal, http_1.HttpClient]) ], CadastrarTransmissoesComponent); return CadastrarTransmissoesComponent; }()); exports.CadastrarTransmissoesComponent = CadastrarTransmissoesComponent; /***/ }), /***/ "./src/app/modals/cadastrar-vereadores/cadastrar-vereadores.component.css": /*!********************************************************************************!*\ !*** ./src/app/modals/cadastrar-vereadores/cadastrar-vereadores.component.css ***! \********************************************************************************/ /*! exports provided: default */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony default export */ __webpack_exports__["default"] = ("\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiIsImZpbGUiOiJzcmMvYXBwL21vZGFscy9jYWRhc3RyYXItdmVyZWFkb3Jlcy9jYWRhc3RyYXItdmVyZWFkb3Jlcy5jb21wb25lbnQuY3NzIn0= */"); /***/ }), /***/ "./src/app/modals/cadastrar-vereadores/cadastrar-vereadores.component.ts": /*!*******************************************************************************!*\ !*** ./src/app/modals/cadastrar-vereadores/cadastrar-vereadores.component.ts ***! \*******************************************************************************/ /*! no static exports found */ /***/ (function(module, exports, __webpack_require__) { "use strict"; var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r; return c > 3 && r && Object.defineProperty(target, key, r), r; }; var __metadata = (this && this.__metadata) || function (k, v) { if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v); }; var __importDefault = (this && this.__importDefault) || function (mod) { return (mod && mod.__esModule) ? mod : { "default": mod }; }; Object.defineProperty(exports, "__esModule", { value: true }); var core_1 = __webpack_require__(/*! @angular/core */ "./node_modules/@angular/core/__ivy_ngcc__/fesm5/core.js"); var ng_bootstrap_1 = __webpack_require__(/*! @ng-bootstrap/ng-bootstrap */ "./node_modules/@ng-bootstrap/ng-bootstrap/__ivy_ngcc__/fesm5/ng-bootstrap.js"); var api_service_1 = __webpack_require__(/*! app/services/api.service */ "./src/app/services/api.service.ts"); var ngx_toastr_1 = __webpack_require__(/*! ngx-toastr */ "./node_modules/ngx-toastr/__ivy_ngcc__/fesm5/ngx-toastr.js"); var DecoupledEditor = __webpack_require__(/*! @ckeditor/ckeditor5-build-decoupled-document */ "./node_modules/@ckeditor/ckeditor5-build-decoupled-document/build/ckeditor.js"); var http_1 = __webpack_require__(/*! @angular/common/http */ "./node_modules/@angular/common/__ivy_ngcc__/fesm5/http.js"); var UploadAdapter = /** @class */ (function () { function UploadAdapter(loader) { this.loader = loader; } UploadAdapter.prototype.upload = function () { return this.loader.file .then(function (file) { return new Promise(function (resolve, reject) { var myReader = new FileReader(); myReader.onloadend = function (e) { resolve({ default: myReader.result }); }; myReader.readAsDataURL(file); }); }); }; ; return UploadAdapter; }()); var CadastrarVereadoresComponent = /** @class */ (function () { function CadastrarVereadoresComponent(service, toastr, activeModal, http) { this.service = service; this.toastr = toastr; this.activeModal = activeModal; this.http = http; this.Editor = DecoupledEditor; this.userData = { biografia: '' }; this.passEntry = new core_1.EventEmitter(); this.empresas = []; } CadastrarVereadoresComponent.prototype.ngOnInit = function () { }; CadastrarVereadoresComponent.prototype.close = function () { this.activeModal.close(); this.passEntry.emit(1); }; CadastrarVereadoresComponent.prototype.onReady = function (eventData) { eventData.ui.getEditableElement().parentElement.insertBefore(eventData.ui.view.toolbar.element, eventData.ui.getEditableElement()); eventData.plugins.get('FileRepository').createUploadAdapter = function (loader) { console.log(btoa(loader.file)); return new UploadAdapter(loader); }; }; CadastrarVereadoresComponent.prototype.salvar = function () { if (this.tipo == 1) { this.setUser(); } else { this.updateUser(); } }; CadastrarVereadoresComponent.prototype.inputFileChange = function (event) { var _this = this; this.loading = true; if (event.target.files && event.target.files[0]) { this.foto = event.target.files[0]; var formData = new FormData(); formData.append('foto', this.foto); var url = this.service.getUrl() + 'upload-imagem/'; this.http.post(url, formData) .subscribe(function (resposta) { _this.loading = false; _this.userData.img = resposta.mensagem; _this.userData.base_url = resposta.base_url; }); } }; CadastrarVereadoresComponent.prototype.setUser = function () { var _this = this; if (this.userData.nome) { this.service.setVereadores(this.userData).then(function (result) { if (result.mensagem == 1) { _this.toastr.success('vereador cadastrado com sucesso', 'Sucesso!'); _this.close(); } else { _this.toastr.error('erro no servidor, tente novamente mais tarde', 'Erro!'); } }); } else { this.toastr.warning('Preencha todos os campos', 'Atenção!'); } }; CadastrarVereadoresComponent.prototype.updateUser = function () { var _this = this; if (this.userData.nome) { this.service.updateVereadores(this.userData).then(function (result) { if (result.mensagem == 1) { _this.toastr.success('vereador alterado com sucesso', 'Sucesso!'); _this.close(); } else { _this.toastr.error('erro no servidor, tente novamente mais tarde', 'Erro!'); } }); } else { this.toastr.warning('Preencha todos os campos', 'Atenção!'); } }; CadastrarVereadoresComponent.ctorParameters = function () { return [ { type: api_service_1.ApiService }, { type: ngx_toastr_1.ToastrService }, { type: ng_bootstrap_1.NgbActiveModal }, { type: http_1.HttpClient } ]; }; __decorate([ core_1.Input(), __metadata("design:type", Object) ], CadastrarVereadoresComponent.prototype, "userData", void 0); __decorate([ core_1.Input(), __metadata("design:type", Object) ], CadastrarVereadoresComponent.prototype, "title", void 0); __decorate([ core_1.Input(), __metadata("design:type", Object) ], CadastrarVereadoresComponent.prototype, "tipo", void 0); __decorate([ core_1.Output(), __metadata("design:type", core_1.EventEmitter) ], CadastrarVereadoresComponent.prototype, "passEntry", void 0); CadastrarVereadoresComponent = __decorate([ core_1.Component({ selector: 'app-cadastrar-vereadores', template: __importDefault(__webpack_require__(/*! raw-loader!./cadastrar-vereadores.component.html */ "./node_modules/raw-loader/dist/cjs.js!./src/app/modals/cadastrar-vereadores/cadastrar-vereadores.component.html")).default, styles: [__importDefault(__webpack_require__(/*! ./cadastrar-vereadores.component.css */ "./src/app/modals/cadastrar-vereadores/cadastrar-vereadores.component.css")).default] }), __metadata("design:paramtypes", [api_service_1.ApiService, ngx_toastr_1.ToastrService, ng_bootstrap_1.NgbActiveModal, http_1.HttpClient]) ], CadastrarVereadoresComponent); return CadastrarVereadoresComponent; }()); exports.CadastrarVereadoresComponent = CadastrarVereadoresComponent; /***/ }), /***/ "./src/app/modals/cadastro-covid/cadastro-covid.component.css": /*!********************************************************************!*\ !*** ./src/app/modals/cadastro-covid/cadastro-covid.component.css ***! \********************************************************************/ /*! exports provided: default */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony default export */ __webpack_exports__["default"] = ("\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiIsImZpbGUiOiJzcmMvYXBwL21vZGFscy9jYWRhc3Ryby1jb3ZpZC9jYWRhc3Ryby1jb3ZpZC5jb21wb25lbnQuY3NzIn0= */"); /***/ }), /***/ "./src/app/modals/cadastro-covid/cadastro-covid.component.ts": /*!*******************************************************************!*\ !*** ./src/app/modals/cadastro-covid/cadastro-covid.component.ts ***! \*******************************************************************/ /*! no static exports found */ /***/ (function(module, exports, __webpack_require__) { "use strict"; var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r; return c > 3 && r && Object.defineProperty(target, key, r), r; }; var __metadata = (this && this.__metadata) || function (k, v) { if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v); }; var __importDefault = (this && this.__importDefault) || function (mod) { return (mod && mod.__esModule) ? mod : { "default": mod }; }; Object.defineProperty(exports, "__esModule", { value: true }); var core_1 = __webpack_require__(/*! @angular/core */ "./node_modules/@angular/core/__ivy_ngcc__/fesm5/core.js"); var ng_bootstrap_1 = __webpack_require__(/*! @ng-bootstrap/ng-bootstrap */ "./node_modules/@ng-bootstrap/ng-bootstrap/__ivy_ngcc__/fesm5/ng-bootstrap.js"); var api_service_1 = __webpack_require__(/*! app/services/api.service */ "./src/app/services/api.service.ts"); var ngx_toastr_1 = __webpack_require__(/*! ngx-toastr */ "./node_modules/ngx-toastr/__ivy_ngcc__/fesm5/ngx-toastr.js"); var date_fns_1 = __webpack_require__(/*! date-fns */ "./node_modules/date-fns/esm/index.js"); var CadastroCovidComponent = /** @class */ (function () { function CadastroCovidComponent(service, toastr, activeModal) { this.service = service; this.toastr = toastr; this.activeModal = activeModal; this.userData = {}; this.passEntry = new core_1.EventEmitter(); this.empresas = []; } CadastroCovidComponent.prototype.ngOnInit = function () { if (this.tipo == 1) { this.userData.data = date_fns_1.format(new Date(), 'yyyy-MM-dd'); this.userData.horario = date_fns_1.format(new Date(), 'HH:mm'); } else { this.userData.data = this.dataFormat(this.userData.data); } }; CadastroCovidComponent.prototype.dataFormat = function (date) { return new Date(date).toISOString().slice(0, 10); }; CadastroCovidComponent.prototype.close = function () { this.activeModal.close(); this.passEntry.emit(1); }; CadastroCovidComponent.prototype.salvar = function () { if (!this.userData.data) { this.toastr.warning('Preencha a data antes de continuar', 'Atençã0!'); return; } if (!this.userData.horario) { this.toastr.warning('Preencha o horario antes de continuar', 'Atençã0!'); return; } if (this.tipo == 1) { this.setUser(); } else { this.updateUser(); } }; CadastroCovidComponent.prototype.setUser = function () { var _this = this; this.service.setCovid(this.userData).then(function (result) { if (result.dados == 1) { _this.toastr.success('categoria cadastrada com sucesso', 'Sucesso!'); _this.close(); } else { _this.toastr.error('erro no servidor, tente novamente mais tarde', 'Erro!'); } }); }; CadastroCovidComponent.prototype.updateUser = function () { var _this = this; delete this.userData.data_att; this.service.updateCovid(this.userData).then(function (result) { if (result.dados == 1) { _this.toastr.success('categoria alterada com sucesso', 'Sucesso!'); _this.close(); } else { _this.toastr.error('erro no servidor, tente novamente mais tarde', 'Erro!'); } }); }; CadastroCovidComponent.ctorParameters = function () { return [ { type: api_service_1.ApiService }, { type: ngx_toastr_1.ToastrService }, { type: ng_bootstrap_1.NgbActiveModal } ]; }; __decorate([ core_1.Input(), __metadata("design:type", Object) ], CadastroCovidComponent.prototype, "userData", void 0); __decorate([ core_1.Input(), __metadata("design:type", Object) ], CadastroCovidComponent.prototype, "title", void 0); __decorate([ core_1.Input(), __metadata("design:type", Object) ], CadastroCovidComponent.prototype, "tipo", void 0); __decorate([ core_1.Output(), __metadata("design:type", core_1.EventEmitter) ], CadastroCovidComponent.prototype, "passEntry", void 0); CadastroCovidComponent = __decorate([ core_1.Component({ selector: 'app-cadastro-covid', template: __importDefault(__webpack_require__(/*! raw-loader!./cadastro-covid.component.html */ "./node_modules/raw-loader/dist/cjs.js!./src/app/modals/cadastro-covid/cadastro-covid.component.html")).default, styles: [__importDefault(__webpack_require__(/*! ./cadastro-covid.component.css */ "./src/app/modals/cadastro-covid/cadastro-covid.component.css")).default] }), __metadata("design:paramtypes", [api_service_1.ApiService, ngx_toastr_1.ToastrService, ng_bootstrap_1.NgbActiveModal]) ], CadastroCovidComponent); return CadastroCovidComponent; }()); exports.CadastroCovidComponent = CadastroCovidComponent; /***/ }), /***/ "./src/app/modals/exclusoes/exclusoes.component.css": /*!**********************************************************!*\ !*** ./src/app/modals/exclusoes/exclusoes.component.css ***! \**********************************************************/ /*! exports provided: default */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony default export */ __webpack_exports__["default"] = ("\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiIsImZpbGUiOiJzcmMvYXBwL21vZGFscy9leGNsdXNvZXMvZXhjbHVzb2VzLmNvbXBvbmVudC5jc3MifQ== */"); /***/ }), /***/ "./src/app/modals/exclusoes/exclusoes.component.ts": /*!*********************************************************!*\ !*** ./src/app/modals/exclusoes/exclusoes.component.ts ***! \*********************************************************/ /*! no static exports found */ /***/ (function(module, exports, __webpack_require__) { "use strict"; var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r; return c > 3 && r && Object.defineProperty(target, key, r), r; }; var __metadata = (this && this.__metadata) || function (k, v) { if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v); }; var __importDefault = (this && this.__importDefault) || function (mod) { return (mod && mod.__esModule) ? mod : { "default": mod }; }; Object.defineProperty(exports, "__esModule", { value: true }); var core_1 = __webpack_require__(/*! @angular/core */ "./node_modules/@angular/core/__ivy_ngcc__/fesm5/core.js"); var ng_bootstrap_1 = __webpack_require__(/*! @ng-bootstrap/ng-bootstrap */ "./node_modules/@ng-bootstrap/ng-bootstrap/__ivy_ngcc__/fesm5/ng-bootstrap.js"); var api_service_1 = __webpack_require__(/*! app/services/api.service */ "./src/app/services/api.service.ts"); var ngx_toastr_1 = __webpack_require__(/*! ngx-toastr */ "./node_modules/ngx-toastr/__ivy_ngcc__/fesm5/ngx-toastr.js"); var ExclusoesComponent = /** @class */ (function () { function ExclusoesComponent(service, toastr, activeModal) { this.service = service; this.toastr = toastr; this.activeModal = activeModal; this.userData = {}; this.passEntry = new core_1.EventEmitter(); this.empresas = []; } ExclusoesComponent.prototype.ngOnInit = function () { }; ExclusoesComponent.prototype.close = function () { this.activeModal.close(); this.passEntry.emit(1); }; ExclusoesComponent.prototype.salvar = function () { if (this.tipo == 1) { this.updateNoticia(); } if (this.tipo == 2) { this.updateSecretaria(); } if (this.tipo == 3) { this.updateCategoria(); } if (this.tipo == 4) { this.updateGaleria(); } if (this.tipo == 5) { this.updateGaleriaItens(); } if (this.tipo == 6) { this.updateBarraLateral(); } if (this.tipo == 7) { this.updateBarraLateralItens(); } if (this.tipo == 8) { this.attDados(); } if (this.tipo == 9) { this.updateMenus(); } if (this.tipo == 11) { this.updateLinks(); } if (this.tipo == 10) { this.updateCovid(); } if (this.tipo == 12) { this.updatesub(); } if (this.tipo == 13) { this.updateLinksEmbed(); } if (this.tipo == 14) { this.updateVereadores(); } if (this.tipo == 15) { this.updateAgenda(); } if (this.tipo == 16) { this.updatePauta(); } if (this.tipo == 17) { this.updateTransmissoes(); } if (this.tipo == 18) { this.deleteRadio(); } if (this.tipo == 19) { this.deleteSiteMaps(); } if (this.tipo == 20) { this.deleteCategoriaPublicacao(); } if (this.tipo == 21) { this.deleteObras(); } }; ExclusoesComponent.prototype.updateAgenda = function () { var _this = this; this.userData.status_agenda = 5; delete this.userData.date; this.service.updateAgenda(this.userData).then(function (result) { if (result.dados == 1) { _this.toastr.success('Dados excluidos com sucesso', 'Sucesso!'); _this.close(); } else { _this.toastr.error('erro no servidor, tente novamente mais tarde', 'Erro!'); } }); }; ExclusoesComponent.prototype.deleteRadio = function () { var _this = this; this.service.deleteRadio({}, this.userData.id_radio).then(function (result) { _this.toastr.success('Dados excluidos com sucesso', 'Sucesso!'); _this.close(); }).catch(function (error) { _this.toastr.error('erro no servidor, tente novamente mais tarde', 'Erro!'); }); }; ExclusoesComponent.prototype.deleteObras = function () { var _this = this; this.service.deleteObras({}, this.userData.id_obra).then(function (result) { _this.toastr.success('Dados excluidos com sucesso', 'Sucesso!'); _this.close(); }).catch(function (error) { _this.toastr.error('erro no servidor, tente novamente mais tarde', 'Erro!'); }); }; ExclusoesComponent.prototype.deleteSiteMaps = function () { var _this = this; this.service.deleteSiteMaps({}, this.userData.id_site_map).then(function (result) { _this.toastr.success('Dados excluidos com sucesso', 'Sucesso!'); _this.close(); }).catch(function (error) { _this.toastr.error('erro no servidor, tente novamente mais tarde', 'Erro!'); }); }; ExclusoesComponent.prototype.deleteCategoriaPublicacao = function () { var _this = this; this.service.deleteCategoriaPublicacao({}, this.userData.id_categoria_publicacao).then(function (result) { _this.toastr.success('Dados excluidos com sucesso', 'Sucesso!'); _this.close(); }).catch(function (error) { _this.toastr.error('erro no servidor, tente novamente mais tarde', 'Erro!'); }); }; ExclusoesComponent.prototype.updateCovid = function () { var _this = this; var item = { status_dados_covid: 5, id_dados_covid: this.userData.id_dados_covid }; this.service.updateCovid(item).then(function (result) { if (result.dados == 1) { _this.toastr.success('Dados excluidos com sucesso', 'Sucesso!'); _this.close(); } else { _this.toastr.error('erro no servidor, tente novamente mais tarde', 'Erro!'); } }, function (error) { }); }; ExclusoesComponent.prototype.updatePauta = function () { var _this = this; this.userData.status_pauta = 5; this.service.updatePauta(this.userData).then(function (result) { if (result.mensagem == 1) { _this.toastr.success('Dados excluidos com sucesso', 'Sucesso!'); _this.close(); } else { _this.toastr.error('erro no servidor, tente novamente mais tarde', 'Erro!'); } }); }; ExclusoesComponent.prototype.updateTransmissoes = function () { var _this = this; this.userData.status_transmissao = 5; this.service.updateTransmissoes(this.userData).then(function (result) { if (result.mensagem == 1) { _this.toastr.success('Dados excluidos com sucesso', 'Sucesso!'); _this.close(); } else { _this.toastr.error('erro no servidor, tente novamente mais tarde', 'Erro!'); } }); }; ExclusoesComponent.prototype.updateLinksEmbed = function () { var _this = this; this.userData.status_links = 5; delete this.userData.data; this.service.updateLinksEmbed(this.userData).then(function (result) { if (result.dados == 1) { _this.toastr.success('Dados excluidos com sucesso', 'Sucesso!'); _this.close(); } else { _this.toastr.error('erro no servidor, tente novamente mais tarde', 'Erro!'); } }); }; ExclusoesComponent.prototype.updateLinks = function () { var _this = this; this.userData.status_links_uteis = 5; delete this.userData.data; this.service.updateLinks(this.userData).then(function (result) { if (result.mensagem == 1) { _this.toastr.success('Dados excluidos com sucesso', 'Sucesso!'); _this.close(); } else { _this.toastr.error('erro no servidor, tente novamente mais tarde', 'Erro!'); } }); }; ExclusoesComponent.prototype.updateVereadores = function () { var _this = this; this.userData.status = 5; this.service.updateVereadores(this.userData).then(function (result) { if (result.mensagem == 1) { _this.toastr.success('Dados excluidos com sucesso', 'Sucesso!'); _this.close(); } else { _this.toastr.error('erro no servidor, tente novamente mais tarde', 'Erro!'); } }); }; ExclusoesComponent.prototype.updatesub = function () { var _this = this; this.userData.status_subitens_menu = 5; delete this.userData.data; this.service.updateMenusSub(this.userData).then(function (result) { if (result.mensagem == 1) { _this.toastr.success('Dados excluidos com sucesso', 'Sucesso!'); _this.close(); } else { _this.toastr.error('erro no servidor, tente novamente mais tarde', 'Erro!'); } }); }; ExclusoesComponent.prototype.updateNoticia = function () { var _this = this; this.userData.status_noticia = 5; delete this.userData.data; this.service.updateNoticias(this.userData).then(function (result) { if (result.mensagem == 1) { _this.toastr.success('Dados excluidos com sucesso', 'Sucesso!'); _this.close(); } else { _this.toastr.error('erro no servidor, tente novamente mais tarde', 'Erro!'); } }); }; ExclusoesComponent.prototype.attDados = function () { var _this = this; this.userData.status_usuario = 5; delete this.userData.data; this.service.attDados(this.userData).then(function (result) { if (result.mensagem == 1) { _this.toastr.success('Dados excluidos com sucesso', 'Sucesso!'); _this.close(); } else { _this.toastr.error('erro no servidor, tente novamente mais tarde', 'Erro!'); } }); }; ExclusoesComponent.prototype.updateCategoria = function () { var _this = this; this.userData.status_categoria = 5; this.service.updateCategorias(this.userData).then(function (result) { if (result.mensagem == 1) { _this.toastr.success('Dados excluidos com sucesso', 'Sucesso!'); _this.close(); } else { _this.toastr.error('erro no servidor, tente novamente mais tarde', 'Erro!'); } }); }; ExclusoesComponent.prototype.updateGaleriaItens = function () { var _this = this; this.userData.status = 5; delete this.userData.src; delete this.userData.caption; delete this.userData.thumb; this.service.updateGaleriaItens(this.userData).then(function (result) { if (result.dados == 1) { _this.toastr.success('Dados excluidos com sucesso', 'Sucesso!'); _this.close(); } else { _this.toastr.error('erro no servidor, tente novamente mais tarde', 'Erro!'); } }); }; ExclusoesComponent.prototype.updateBarraLateralItens = function () { var _this = this; this.userData.status_link_barra_lateral = 5; this.service.updateBarraLateralItens(this.userData).then(function (result) { if (result.dados == 1) { _this.toastr.success('Dados excluidos com sucesso', 'Sucesso!'); _this.close(); } else { _this.toastr.error('erro no servidor, tente novamente mais tarde', 'Erro!'); } }); }; ExclusoesComponent.prototype.updateBarraLateral = function () { var _this = this; this.userData.status_barra_lateral = 5; this.service.updateBarraLateral(this.userData).then(function (result) { if (result.dados == 1) { _this.toastr.success('Dados excluidos com sucesso', 'Sucesso!'); _this.close(); } else { _this.toastr.error('erro no servidor, tente novamente mais tarde', 'Erro!'); } }); }; ExclusoesComponent.prototype.updateMenus = function () { var _this = this; this.userData.status_menu_item = 5; this.service.updateMenus(this.userData).then(function (result) { if (result.mensagem == 1) { _this.toastr.success('Dados excluidos com sucesso', 'Sucesso!'); _this.close(); } else { _this.toastr.error('erro no servidor, tente novamente mais tarde', 'Erro!'); } }); }; ExclusoesComponent.prototype.updateGaleria = function () { var _this = this; delete this.userData.data; this.userData.status_galeria = 5; this.service.updateGaleria(this.userData).then(function (result) { if (result.dados == 1) { _this.toastr.success('Dados excluidos com sucesso', 'Sucesso!'); _this.close(); } else { _this.toastr.error('erro no servidor, tente novamente mais tarde', 'Erro!'); } }); }; ExclusoesComponent.prototype.updateSecretaria = function () { var _this = this; this.userData.status_secretaria = 5; this.service.updateSecretarias(this.userData).then(function (result) { if (result.mensagem == 1) { _this.toastr.success('Dados excluidos com sucesso', 'Sucesso!'); _this.close(); } else { _this.toastr.error('erro no servidor, tente novamente mais tarde', 'Erro!'); } }); }; ExclusoesComponent.ctorParameters = function () { return [ { type: api_service_1.ApiService }, { type: ngx_toastr_1.ToastrService }, { type: ng_bootstrap_1.NgbActiveModal } ]; }; __decorate([ core_1.Input(), __metadata("design:type", Object) ], ExclusoesComponent.prototype, "userData", void 0); __decorate([ core_1.Input(), __metadata("design:type", Object) ], ExclusoesComponent.prototype, "title", void 0); __decorate([ core_1.Input(), __metadata("design:type", Object) ], ExclusoesComponent.prototype, "tipo", void 0); __decorate([ core_1.Output(), __metadata("design:type", core_1.EventEmitter) ], ExclusoesComponent.prototype, "passEntry", void 0); ExclusoesComponent = __decorate([ core_1.Component({ selector: 'app-exclusoes', template: __importDefault(__webpack_require__(/*! raw-loader!./exclusoes.component.html */ "./node_modules/raw-loader/dist/cjs.js!./src/app/modals/exclusoes/exclusoes.component.html")).default, styles: [__importDefault(__webpack_require__(/*! ./exclusoes.component.css */ "./src/app/modals/exclusoes/exclusoes.component.css")).default] }), __metadata("design:paramtypes", [api_service_1.ApiService, ngx_toastr_1.ToastrService, ng_bootstrap_1.NgbActiveModal]) ], ExclusoesComponent); return ExclusoesComponent; }()); exports.ExclusoesComponent = ExclusoesComponent; /***/ }), /***/ "./src/app/modals/gerar-link/gerar-link.component.css": /*!************************************************************!*\ !*** ./src/app/modals/gerar-link/gerar-link.component.css ***! \************************************************************/ /*! exports provided: default */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony default export */ __webpack_exports__["default"] = ("\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiIsImZpbGUiOiJzcmMvYXBwL21vZGFscy9nZXJhci1saW5rL2dlcmFyLWxpbmsuY29tcG9uZW50LmNzcyJ9 */"); /***/ }), /***/ "./src/app/modals/gerar-link/gerar-link.component.ts": /*!***********************************************************!*\ !*** ./src/app/modals/gerar-link/gerar-link.component.ts ***! \***********************************************************/ /*! no static exports found */ /***/ (function(module, exports, __webpack_require__) { "use strict"; var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r; return c > 3 && r && Object.defineProperty(target, key, r), r; }; var __metadata = (this && this.__metadata) || function (k, v) { if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v); }; var __importDefault = (this && this.__importDefault) || function (mod) { return (mod && mod.__esModule) ? mod : { "default": mod }; }; Object.defineProperty(exports, "__esModule", { value: true }); var ng_bootstrap_1 = __webpack_require__(/*! @ng-bootstrap/ng-bootstrap */ "./node_modules/@ng-bootstrap/ng-bootstrap/__ivy_ngcc__/fesm5/ng-bootstrap.js"); var api_service_1 = __webpack_require__(/*! app/services/api.service */ "./src/app/services/api.service.ts"); var core_1 = __webpack_require__(/*! @angular/core */ "./node_modules/@angular/core/__ivy_ngcc__/fesm5/core.js"); var http_1 = __webpack_require__(/*! @angular/common/http */ "./node_modules/@angular/common/__ivy_ngcc__/fesm5/http.js"); var GerarLinkComponent = /** @class */ (function () { function GerarLinkComponent(service, http, activeModal) { this.service = service; this.http = http; this.activeModal = activeModal; this.path = this.service.getPathArquivo(); } GerarLinkComponent.prototype.ngOnInit = function () { }; GerarLinkComponent.prototype.close = function () { this.activeModal.close(); }; GerarLinkComponent.prototype.inputFileChange = function (event) { var _this = this; this.loading = true; if (event.target.files && event.target.files[0]) { this.foto = event.target.files[0]; var formData = new FormData(); formData.append('foto', this.foto); var url = this.service.getUrl() + 'upload-file-link/'; this.http.post(url, formData) .subscribe(function (resposta) { _this.loading = false; _this.arquivo = resposta.mensagem; _this.path = resposta.base_url; }); } }; GerarLinkComponent.ctorParameters = function () { return [ { type: api_service_1.ApiService }, { type: http_1.HttpClient }, { type: ng_bootstrap_1.NgbActiveModal } ]; }; GerarLinkComponent = __decorate([ core_1.Component({ selector: 'app-gerar-link', template: __importDefault(__webpack_require__(/*! raw-loader!./gerar-link.component.html */ "./node_modules/raw-loader/dist/cjs.js!./src/app/modals/gerar-link/gerar-link.component.html")).default, styles: [__importDefault(__webpack_require__(/*! ./gerar-link.component.css */ "./src/app/modals/gerar-link/gerar-link.component.css")).default] }), __metadata("design:paramtypes", [api_service_1.ApiService, http_1.HttpClient, ng_bootstrap_1.NgbActiveModal]) ], GerarLinkComponent); return GerarLinkComponent; }()); exports.GerarLinkComponent = GerarLinkComponent; /***/ }), /***/ "./src/app/modals/itens-barra-lateral/itens-barra-lateral.component.css": /*!******************************************************************************!*\ !*** ./src/app/modals/itens-barra-lateral/itens-barra-lateral.component.css ***! \******************************************************************************/ /*! exports provided: default */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony default export */ __webpack_exports__["default"] = (".switch {\r\n position: relative;\r\n display: inline-block;\r\n width: 60px;\r\n height: 34px;\r\n }\r\n \r\n /* Hide default HTML checkbox */\r\n \r\n .switch input {\r\n opacity: 0;\r\n width: 0;\r\n height: 0;\r\n }\r\n \r\n /* The slider */\r\n \r\n .slider {\r\n position: absolute;\r\n cursor: pointer;\r\n top: 0;\r\n left: 0;\r\n right: 0;\r\n bottom: 0;\r\n background-color: #ccc;\r\n -webkit-transition: .4s;\r\n transition: .4s;\r\n }\r\n \r\n .slider:before {\r\n position: absolute;\r\n content: \"\";\r\n height: 26px;\r\n width: 26px;\r\n left: 4px;\r\n bottom: 4px;\r\n background-color: white;\r\n -webkit-transition: .4s;\r\n transition: .4s;\r\n }\r\n \r\n input:checked + .slider {\r\n background-color: #6e037c;\r\n }\r\n \r\n input:focus + .slider {\r\n box-shadow: 0 0 1px #6e037c;\r\n }\r\n \r\n input:checked + .slider:before {\r\n -webkit-transform: translateX(26px);\r\n transform: translateX(26px);\r\n }\r\n \r\n /* Rounded sliders */\r\n \r\n .slider.round {\r\n border-radius: 34px;\r\n }\r\n \r\n .slider.round:before {\r\n border-radius: 50%;\r\n }\r\n \r\n .pac-container {\r\n z-index: 1051 !important;\r\n}\r\n \r\n .tt {\r\n background: #0400d4;\r\n}\r\n \r\n .tt:hover{\r\n background: #0400d4;\r\n}\r\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbInNyYy9hcHAvbW9kYWxzL2l0ZW5zLWJhcnJhLWxhdGVyYWwvaXRlbnMtYmFycmEtbGF0ZXJhbC5jb21wb25lbnQuY3NzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBO0lBQ0ksa0JBQWtCO0lBQ2xCLHFCQUFxQjtJQUNyQixXQUFXO0lBQ1gsWUFBWTtFQUNkOztFQUVBLCtCQUErQjs7RUFDL0I7SUFDRSxVQUFVO0lBQ1YsUUFBUTtJQUNSLFNBQVM7RUFDWDs7RUFFQSxlQUFlOztFQUNmO0lBQ0Usa0JBQWtCO0lBQ2xCLGVBQWU7SUFDZixNQUFNO0lBQ04sT0FBTztJQUNQLFFBQVE7SUFDUixTQUFTO0lBQ1Qsc0JBQXNCO0lBQ3RCLHVCQUF1QjtJQUN2QixlQUFlO0VBQ2pCOztFQUVBO0lBQ0Usa0JBQWtCO0lBQ2xCLFdBQVc7SUFDWCxZQUFZO0lBQ1osV0FBVztJQUNYLFNBQVM7SUFDVCxXQUFXO0lBQ1gsdUJBQXVCO0lBQ3ZCLHVCQUF1QjtJQUN2QixlQUFlO0VBQ2pCOztFQUVBO0lBQ0UseUJBQXlCO0VBQzNCOztFQUVBO0lBQ0UsMkJBQTJCO0VBQzdCOztFQUVBO0lBQ0UsbUNBQW1DO0lBRW5DLDJCQUEyQjtFQUM3Qjs7RUFFQSxvQkFBb0I7O0VBQ3BCO0lBQ0UsbUJBQW1CO0VBQ3JCOztFQUVBO0lBQ0Usa0JBQWtCO0VBQ3BCOztFQUVBO0lBQ0Usd0JBQXdCO0FBQzVCOztFQUVBO0VBQ0UsbUJBQW1CO0FBQ3JCOztFQUVBO0VBQ0UsbUJBQW1CO0FBQ3JCIiwiZmlsZSI6InNyYy9hcHAvbW9kYWxzL2l0ZW5zLWJhcnJhLWxhdGVyYWwvaXRlbnMtYmFycmEtbGF0ZXJhbC5jb21wb25lbnQuY3NzIiwic291cmNlc0NvbnRlbnQiOlsiLnN3aXRjaCB7XHJcbiAgICBwb3NpdGlvbjogcmVsYXRpdmU7XHJcbiAgICBkaXNwbGF5OiBpbmxpbmUtYmxvY2s7XHJcbiAgICB3aWR0aDogNjBweDtcclxuICAgIGhlaWdodDogMzRweDtcclxuICB9XHJcbiAgXHJcbiAgLyogSGlkZSBkZWZhdWx0IEhUTUwgY2hlY2tib3ggKi9cclxuICAuc3dpdGNoIGlucHV0IHtcclxuICAgIG9wYWNpdHk6IDA7XHJcbiAgICB3aWR0aDogMDtcclxuICAgIGhlaWdodDogMDtcclxuICB9XHJcbiAgXHJcbiAgLyogVGhlIHNsaWRlciAqL1xyXG4gIC5zbGlkZXIge1xyXG4gICAgcG9zaXRpb246IGFic29sdXRlO1xyXG4gICAgY3Vyc29yOiBwb2ludGVyO1xyXG4gICAgdG9wOiAwO1xyXG4gICAgbGVmdDogMDtcclxuICAgIHJpZ2h0OiAwO1xyXG4gICAgYm90dG9tOiAwO1xyXG4gICAgYmFja2dyb3VuZC1jb2xvcjogI2NjYztcclxuICAgIC13ZWJraXQtdHJhbnNpdGlvbjogLjRzO1xyXG4gICAgdHJhbnNpdGlvbjogLjRzO1xyXG4gIH1cclxuICBcclxuICAuc2xpZGVyOmJlZm9yZSB7XHJcbiAgICBwb3NpdGlvbjogYWJzb2x1dGU7XHJcbiAgICBjb250ZW50OiBcIlwiO1xyXG4gICAgaGVpZ2h0OiAyNnB4O1xyXG4gICAgd2lkdGg6IDI2cHg7XHJcbiAgICBsZWZ0OiA0cHg7XHJcbiAgICBib3R0b206IDRweDtcclxuICAgIGJhY2tncm91bmQtY29sb3I6IHdoaXRlO1xyXG4gICAgLXdlYmtpdC10cmFuc2l0aW9uOiAuNHM7XHJcbiAgICB0cmFuc2l0aW9uOiAuNHM7XHJcbiAgfVxyXG4gIFxyXG4gIGlucHV0OmNoZWNrZWQgKyAuc2xpZGVyIHtcclxuICAgIGJhY2tncm91bmQtY29sb3I6ICM2ZTAzN2M7XHJcbiAgfVxyXG4gIFxyXG4gIGlucHV0OmZvY3VzICsgLnNsaWRlciB7XHJcbiAgICBib3gtc2hhZG93OiAwIDAgMXB4ICM2ZTAzN2M7XHJcbiAgfVxyXG4gIFxyXG4gIGlucHV0OmNoZWNrZWQgKyAuc2xpZGVyOmJlZm9yZSB7XHJcbiAgICAtd2Via2l0LXRyYW5zZm9ybTogdHJhbnNsYXRlWCgyNnB4KTtcclxuICAgIC1tcy10cmFuc2Zvcm06IHRyYW5zbGF0ZVgoMjZweCk7XHJcbiAgICB0cmFuc2Zvcm06IHRyYW5zbGF0ZVgoMjZweCk7XHJcbiAgfVxyXG4gIFxyXG4gIC8qIFJvdW5kZWQgc2xpZGVycyAqL1xyXG4gIC5zbGlkZXIucm91bmQge1xyXG4gICAgYm9yZGVyLXJhZGl1czogMzRweDtcclxuICB9XHJcbiAgXHJcbiAgLnNsaWRlci5yb3VuZDpiZWZvcmUge1xyXG4gICAgYm9yZGVyLXJhZGl1czogNTAlO1xyXG4gIH1cclxuXHJcbiAgLnBhYy1jb250YWluZXIge1xyXG4gICAgei1pbmRleDogMTA1MSAhaW1wb3J0YW50O1xyXG59XHJcblxyXG4udHQge1xyXG4gIGJhY2tncm91bmQ6ICMwNDAwZDQ7XHJcbn1cclxuXHJcbi50dDpob3ZlcntcclxuICBiYWNrZ3JvdW5kOiAjMDQwMGQ0O1xyXG59Il19 */"); /***/ }), /***/ "./src/app/modals/itens-barra-lateral/itens-barra-lateral.component.ts": /*!*****************************************************************************!*\ !*** ./src/app/modals/itens-barra-lateral/itens-barra-lateral.component.ts ***! \*****************************************************************************/ /*! no static exports found */ /***/ (function(module, exports, __webpack_require__) { "use strict"; var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r; return c > 3 && r && Object.defineProperty(target, key, r), r; }; var __metadata = (this && this.__metadata) || function (k, v) { if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v); }; var __importDefault = (this && this.__importDefault) || function (mod) { return (mod && mod.__esModule) ? mod : { "default": mod }; }; Object.defineProperty(exports, "__esModule", { value: true }); var cadastrar_itens_barra_lateral_component_1 = __webpack_require__(/*! ./../cadastrar-itens-barra-lateral/cadastrar-itens-barra-lateral.component */ "./src/app/modals/cadastrar-itens-barra-lateral/cadastrar-itens-barra-lateral.component.ts"); var core_1 = __webpack_require__(/*! @angular/core */ "./node_modules/@angular/core/__ivy_ngcc__/fesm5/core.js"); var ng_bootstrap_1 = __webpack_require__(/*! @ng-bootstrap/ng-bootstrap */ "./node_modules/@ng-bootstrap/ng-bootstrap/__ivy_ngcc__/fesm5/ng-bootstrap.js"); var api_service_1 = __webpack_require__(/*! app/services/api.service */ "./src/app/services/api.service.ts"); var ngx_toastr_1 = __webpack_require__(/*! ngx-toastr */ "./node_modules/ngx-toastr/__ivy_ngcc__/fesm5/ngx-toastr.js"); var exclusoes_component_1 = __webpack_require__(/*! ../exclusoes/exclusoes.component */ "./src/app/modals/exclusoes/exclusoes.component.ts"); var ItensBarraLateralComponent = /** @class */ (function () { function ItensBarraLateralComponent(service, toastr, activeModal, modalService, toastrService) { this.service = service; this.toastr = toastr; this.activeModal = activeModal; this.modalService = modalService; this.toastrService = toastrService; this.userData = {}; this.passEntry = new core_1.EventEmitter(); this.items = []; this.path = this.service.getPath(); } ItensBarraLateralComponent.prototype.ngOnInit = function () { this.getdados(); }; ItensBarraLateralComponent.prototype.close = function () { this.activeModal.close(); this.passEntry.emit(1); }; ItensBarraLateralComponent.prototype.alterar = function (p) { var _this = this; var modalRef = this.modalService.open(cadastrar_itens_barra_lateral_component_1.CadastrarItensBarraLateralComponent); modalRef.componentInstance.title = 'Alterar item da barra lateral'; modalRef.componentInstance.tipo = 2; modalRef.componentInstance.userData = p; modalRef.componentInstance.passEntry.subscribe(function (receivedEntry) { _this.getdados(); }); }; ItensBarraLateralComponent.prototype.excluir = function (p) { var _this = this; var modalRef = this.modalService.open(exclusoes_component_1.ExclusoesComponent); modalRef.componentInstance.title = 'Excluir item da barra lateral'; modalRef.componentInstance.tipo = 7; modalRef.componentInstance.userData = p; modalRef.componentInstance.passEntry.subscribe(function (receivedEntry) { _this.getdados(); }); }; ItensBarraLateralComponent.prototype.open = function () { var _this = this; var modalRef = this.modalService.open(cadastrar_itens_barra_lateral_component_1.CadastrarItensBarraLateralComponent); modalRef.componentInstance.title = 'Cadastrar item barra lateral'; modalRef.componentInstance.tipo = 1; modalRef.componentInstance.id = this.userData.id_barra_lateral; modalRef.componentInstance.passEntry.subscribe(function (receivedEntry) { _this.getdados(); }); }; ItensBarraLateralComponent.prototype.getdados = function () { var _this = this; this.loading = true; var dados = { id_barra_lateral: this.userData.id_barra_lateral }; this.service.getBarraLateralItens(dados).then(function (result) { _this.loading = false; _this.items = result.dados; }); }; ItensBarraLateralComponent.prototype.alterar_status = function (item) { var _this = this; if (item.status_link_barra_lateral == 1) { item.status_link_barra_lateral = 2; } else if (item.status_link_barra_lateral != 1) { item.status_link_barra_lateral = 1; } this.service.updateBarraLateralItens(item).then(function (data) { if (data.dados == 1) { _this.toastrService.success('Status alterado com sucesso', 'Sucesso!'); } else { if (item.status_link_barra_lateral == 1) { item.status_link_barra_lateral = 2; } else if (item.status_link_barra_lateral != 1) { item.status_link_barra_lateral = 1; } _this.toastrService.error('Não foi possivel alterar o status, tente novamente mais tarde', 'Desculpe!'); } }, function (error) { }); }; ItensBarraLateralComponent.ctorParameters = function () { return [ { type: api_service_1.ApiService }, { type: ngx_toastr_1.ToastrService }, { type: ng_bootstrap_1.NgbActiveModal }, { type: ng_bootstrap_1.NgbModal }, { type: ngx_toastr_1.ToastrService } ]; }; __decorate([ core_1.Input(), __metadata("design:type", Object) ], ItensBarraLateralComponent.prototype, "userData", void 0); __decorate([ core_1.Input(), __metadata("design:type", Object) ], ItensBarraLateralComponent.prototype, "title", void 0); __decorate([ core_1.Input(), __metadata("design:type", Object) ], ItensBarraLateralComponent.prototype, "tipo", void 0); __decorate([ core_1.Output(), __metadata("design:type", core_1.EventEmitter) ], ItensBarraLateralComponent.prototype, "passEntry", void 0); ItensBarraLateralComponent = __decorate([ core_1.Component({ selector: 'app-itens-barra-lateral', template: __importDefault(__webpack_require__(/*! raw-loader!./itens-barra-lateral.component.html */ "./node_modules/raw-loader/dist/cjs.js!./src/app/modals/itens-barra-lateral/itens-barra-lateral.component.html")).default, styles: [__importDefault(__webpack_require__(/*! ./itens-barra-lateral.component.css */ "./src/app/modals/itens-barra-lateral/itens-barra-lateral.component.css")).default] }), __metadata("design:paramtypes", [api_service_1.ApiService, ngx_toastr_1.ToastrService, ng_bootstrap_1.NgbActiveModal, ng_bootstrap_1.NgbModal, ngx_toastr_1.ToastrService]) ], ItensBarraLateralComponent); return ItensBarraLateralComponent; }()); exports.ItensBarraLateralComponent = ItensBarraLateralComponent; /***/ }), /***/ "./src/app/modals/rec-senha/rec-senha.component.css": /*!**********************************************************!*\ !*** ./src/app/modals/rec-senha/rec-senha.component.css ***! \**********************************************************/ /*! exports provided: default */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony default export */ __webpack_exports__["default"] = ("\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiIsImZpbGUiOiJzcmMvYXBwL21vZGFscy9yZWMtc2VuaGEvcmVjLXNlbmhhLmNvbXBvbmVudC5jc3MifQ== */"); /***/ }), /***/ "./src/app/modals/rec-senha/rec-senha.component.ts": /*!*********************************************************!*\ !*** ./src/app/modals/rec-senha/rec-senha.component.ts ***! \*********************************************************/ /*! no static exports found */ /***/ (function(module, exports, __webpack_require__) { "use strict"; var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r; return c > 3 && r && Object.defineProperty(target, key, r), r; }; var __metadata = (this && this.__metadata) || function (k, v) { if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v); }; var __importDefault = (this && this.__importDefault) || function (mod) { return (mod && mod.__esModule) ? mod : { "default": mod }; }; Object.defineProperty(exports, "__esModule", { value: true }); var core_1 = __webpack_require__(/*! @angular/core */ "./node_modules/@angular/core/__ivy_ngcc__/fesm5/core.js"); var ng_bootstrap_1 = __webpack_require__(/*! @ng-bootstrap/ng-bootstrap */ "./node_modules/@ng-bootstrap/ng-bootstrap/__ivy_ngcc__/fesm5/ng-bootstrap.js"); var api_service_1 = __webpack_require__(/*! app/services/api.service */ "./src/app/services/api.service.ts"); var ngx_toastr_1 = __webpack_require__(/*! ngx-toastr */ "./node_modules/ngx-toastr/__ivy_ngcc__/fesm5/ngx-toastr.js"); var RecSenhaComponent = /** @class */ (function () { function RecSenhaComponent(activeModal, service, toastrService) { this.activeModal = activeModal; this.service = service; this.toastrService = toastrService; this.userData = {}; this.loading = false; } RecSenhaComponent.prototype.ngOnInit = function () { }; RecSenhaComponent.prototype.close = function () { this.activeModal.close(); }; RecSenhaComponent.prototype.recSenha = function () { var _this = this; this.loading = true; this.service.recSenha(this.userData).then(function (data) { _this.loading = false; var mensagem = data; if (mensagem.cod == 1) { _this.toastrService.success('Um email foi enviado com as informações de login', 'Sucesso!'); _this.close(); } else { _this.toastrService.error('Não foi possivel enviar o email, tente novamente mais tarde', 'Desculpe!'); } }, function (error) { }); }; RecSenhaComponent.ctorParameters = function () { return [ { type: ng_bootstrap_1.NgbActiveModal }, { type: api_service_1.ApiService }, { type: ngx_toastr_1.ToastrService } ]; }; RecSenhaComponent = __decorate([ core_1.Component({ selector: 'app-rec-senha', template: __importDefault(__webpack_require__(/*! raw-loader!./rec-senha.component.html */ "./node_modules/raw-loader/dist/cjs.js!./src/app/modals/rec-senha/rec-senha.component.html")).default, styles: [__importDefault(__webpack_require__(/*! ./rec-senha.component.css */ "./src/app/modals/rec-senha/rec-senha.component.css")).default] }), __metadata("design:paramtypes", [ng_bootstrap_1.NgbActiveModal, api_service_1.ApiService, ngx_toastr_1.ToastrService]) ], RecSenhaComponent); return RecSenhaComponent; }()); exports.RecSenhaComponent = RecSenhaComponent; /***/ }), /***/ "./src/app/modals/submenus/submenus.component.css": /*!********************************************************!*\ !*** ./src/app/modals/submenus/submenus.component.css ***! \********************************************************/ /*! exports provided: default */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony default export */ __webpack_exports__["default"] = (".switch {\r\n position: relative;\r\n display: inline-block;\r\n width: 60px;\r\n height: 34px;\r\n }\r\n \r\n /* Hide default HTML checkbox */\r\n \r\n .switch input {\r\n opacity: 0;\r\n width: 0;\r\n height: 0;\r\n }\r\n \r\n /* The slider */\r\n \r\n .slider {\r\n position: absolute;\r\n cursor: pointer;\r\n top: 0;\r\n left: 0;\r\n right: 0;\r\n bottom: 0;\r\n background-color: #ccc;\r\n -webkit-transition: .4s;\r\n transition: .4s;\r\n }\r\n \r\n .slider:before {\r\n position: absolute;\r\n content: \"\";\r\n height: 26px;\r\n width: 26px;\r\n left: 4px;\r\n bottom: 4px;\r\n background-color: white;\r\n -webkit-transition: .4s;\r\n transition: .4s;\r\n }\r\n \r\n input:checked + .slider {\r\n background-color: #6e037c;\r\n }\r\n \r\n input:focus + .slider {\r\n box-shadow: 0 0 1px #6e037c;\r\n }\r\n \r\n input:checked + .slider:before {\r\n -webkit-transform: translateX(26px);\r\n transform: translateX(26px);\r\n }\r\n \r\n /* Rounded sliders */\r\n \r\n .slider.round {\r\n border-radius: 34px;\r\n }\r\n \r\n .slider.round:before {\r\n border-radius: 50%;\r\n }\r\n \r\n .pac-container {\r\n z-index: 1051 !important;\r\n}\r\n \r\n .tt {\r\n background: #0400d4;\r\n}\r\n \r\n .tt:hover{\r\n background: #0400d4;\r\n}\r\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbInNyYy9hcHAvbW9kYWxzL3N1Ym1lbnVzL3N1Ym1lbnVzLmNvbXBvbmVudC5jc3MiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUE7SUFDSSxrQkFBa0I7SUFDbEIscUJBQXFCO0lBQ3JCLFdBQVc7SUFDWCxZQUFZO0VBQ2Q7O0VBRUEsK0JBQStCOztFQUMvQjtJQUNFLFVBQVU7SUFDVixRQUFRO0lBQ1IsU0FBUztFQUNYOztFQUVBLGVBQWU7O0VBQ2Y7SUFDRSxrQkFBa0I7SUFDbEIsZUFBZTtJQUNmLE1BQU07SUFDTixPQUFPO0lBQ1AsUUFBUTtJQUNSLFNBQVM7SUFDVCxzQkFBc0I7SUFDdEIsdUJBQXVCO0lBQ3ZCLGVBQWU7RUFDakI7O0VBRUE7SUFDRSxrQkFBa0I7SUFDbEIsV0FBVztJQUNYLFlBQVk7SUFDWixXQUFXO0lBQ1gsU0FBUztJQUNULFdBQVc7SUFDWCx1QkFBdUI7SUFDdkIsdUJBQXVCO0lBQ3ZCLGVBQWU7RUFDakI7O0VBRUE7SUFDRSx5QkFBeUI7RUFDM0I7O0VBRUE7SUFDRSwyQkFBMkI7RUFDN0I7O0VBRUE7SUFDRSxtQ0FBbUM7SUFFbkMsMkJBQTJCO0VBQzdCOztFQUVBLG9CQUFvQjs7RUFDcEI7SUFDRSxtQkFBbUI7RUFDckI7O0VBRUE7SUFDRSxrQkFBa0I7RUFDcEI7O0VBRUE7SUFDRSx3QkFBd0I7QUFDNUI7O0VBRUE7RUFDRSxtQkFBbUI7QUFDckI7O0VBRUE7RUFDRSxtQkFBbUI7QUFDckIiLCJmaWxlIjoic3JjL2FwcC9tb2RhbHMvc3VibWVudXMvc3VibWVudXMuY29tcG9uZW50LmNzcyIsInNvdXJjZXNDb250ZW50IjpbIi5zd2l0Y2gge1xyXG4gICAgcG9zaXRpb246IHJlbGF0aXZlO1xyXG4gICAgZGlzcGxheTogaW5saW5lLWJsb2NrO1xyXG4gICAgd2lkdGg6IDYwcHg7XHJcbiAgICBoZWlnaHQ6IDM0cHg7XHJcbiAgfVxyXG4gIFxyXG4gIC8qIEhpZGUgZGVmYXVsdCBIVE1MIGNoZWNrYm94ICovXHJcbiAgLnN3aXRjaCBpbnB1dCB7XHJcbiAgICBvcGFjaXR5OiAwO1xyXG4gICAgd2lkdGg6IDA7XHJcbiAgICBoZWlnaHQ6IDA7XHJcbiAgfVxyXG4gIFxyXG4gIC8qIFRoZSBzbGlkZXIgKi9cclxuICAuc2xpZGVyIHtcclxuICAgIHBvc2l0aW9uOiBhYnNvbHV0ZTtcclxuICAgIGN1cnNvcjogcG9pbnRlcjtcclxuICAgIHRvcDogMDtcclxuICAgIGxlZnQ6IDA7XHJcbiAgICByaWdodDogMDtcclxuICAgIGJvdHRvbTogMDtcclxuICAgIGJhY2tncm91bmQtY29sb3I6ICNjY2M7XHJcbiAgICAtd2Via2l0LXRyYW5zaXRpb246IC40cztcclxuICAgIHRyYW5zaXRpb246IC40cztcclxuICB9XHJcbiAgXHJcbiAgLnNsaWRlcjpiZWZvcmUge1xyXG4gICAgcG9zaXRpb246IGFic29sdXRlO1xyXG4gICAgY29udGVudDogXCJcIjtcclxuICAgIGhlaWdodDogMjZweDtcclxuICAgIHdpZHRoOiAyNnB4O1xyXG4gICAgbGVmdDogNHB4O1xyXG4gICAgYm90dG9tOiA0cHg7XHJcbiAgICBiYWNrZ3JvdW5kLWNvbG9yOiB3aGl0ZTtcclxuICAgIC13ZWJraXQtdHJhbnNpdGlvbjogLjRzO1xyXG4gICAgdHJhbnNpdGlvbjogLjRzO1xyXG4gIH1cclxuICBcclxuICBpbnB1dDpjaGVja2VkICsgLnNsaWRlciB7XHJcbiAgICBiYWNrZ3JvdW5kLWNvbG9yOiAjNmUwMzdjO1xyXG4gIH1cclxuICBcclxuICBpbnB1dDpmb2N1cyArIC5zbGlkZXIge1xyXG4gICAgYm94LXNoYWRvdzogMCAwIDFweCAjNmUwMzdjO1xyXG4gIH1cclxuICBcclxuICBpbnB1dDpjaGVja2VkICsgLnNsaWRlcjpiZWZvcmUge1xyXG4gICAgLXdlYmtpdC10cmFuc2Zvcm06IHRyYW5zbGF0ZVgoMjZweCk7XHJcbiAgICAtbXMtdHJhbnNmb3JtOiB0cmFuc2xhdGVYKDI2cHgpO1xyXG4gICAgdHJhbnNmb3JtOiB0cmFuc2xhdGVYKDI2cHgpO1xyXG4gIH1cclxuICBcclxuICAvKiBSb3VuZGVkIHNsaWRlcnMgKi9cclxuICAuc2xpZGVyLnJvdW5kIHtcclxuICAgIGJvcmRlci1yYWRpdXM6IDM0cHg7XHJcbiAgfVxyXG4gIFxyXG4gIC5zbGlkZXIucm91bmQ6YmVmb3JlIHtcclxuICAgIGJvcmRlci1yYWRpdXM6IDUwJTtcclxuICB9XHJcblxyXG4gIC5wYWMtY29udGFpbmVyIHtcclxuICAgIHotaW5kZXg6IDEwNTEgIWltcG9ydGFudDtcclxufVxyXG5cclxuLnR0IHtcclxuICBiYWNrZ3JvdW5kOiAjMDQwMGQ0O1xyXG59XHJcblxyXG4udHQ6aG92ZXJ7XHJcbiAgYmFja2dyb3VuZDogIzA0MDBkNDtcclxufSJdfQ== */"); /***/ }), /***/ "./src/app/modals/submenus/submenus.component.ts": /*!*******************************************************!*\ !*** ./src/app/modals/submenus/submenus.component.ts ***! \*******************************************************/ /*! no static exports found */ /***/ (function(module, exports, __webpack_require__) { "use strict"; var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r; return c > 3 && r && Object.defineProperty(target, key, r), r; }; var __metadata = (this && this.__metadata) || function (k, v) { if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v); }; var __importDefault = (this && this.__importDefault) || function (mod) { return (mod && mod.__esModule) ? mod : { "default": mod }; }; Object.defineProperty(exports, "__esModule", { value: true }); var core_1 = __webpack_require__(/*! @angular/core */ "./node_modules/@angular/core/__ivy_ngcc__/fesm5/core.js"); var ng_bootstrap_1 = __webpack_require__(/*! @ng-bootstrap/ng-bootstrap */ "./node_modules/@ng-bootstrap/ng-bootstrap/__ivy_ngcc__/fesm5/ng-bootstrap.js"); var api_service_1 = __webpack_require__(/*! app/services/api.service */ "./src/app/services/api.service.ts"); var ngx_toastr_1 = __webpack_require__(/*! ngx-toastr */ "./node_modules/ngx-toastr/__ivy_ngcc__/fesm5/ngx-toastr.js"); var cadastrar_submenus_component_1 = __webpack_require__(/*! ../cadastrar-submenus/cadastrar-submenus.component */ "./src/app/modals/cadastrar-submenus/cadastrar-submenus.component.ts"); var exclusoes_component_1 = __webpack_require__(/*! ../exclusoes/exclusoes.component */ "./src/app/modals/exclusoes/exclusoes.component.ts"); var SubmenusComponent = /** @class */ (function () { function SubmenusComponent(activeModal, modalService, service, toastrService) { this.activeModal = activeModal; this.modalService = modalService; this.service = service; this.toastrService = toastrService; this.userData = {}; this.passEntry = new core_1.EventEmitter(); this.items = []; this.loading = false; this.permissao = 1; this.user = {}; this.user = this.service.getUser(); this.service.isSuperUser(); } SubmenusComponent.prototype.ngOnInit = function () { this.getdados(); }; SubmenusComponent.prototype.open = function () { var _this = this; var modalRef = this.modalService.open(cadastrar_submenus_component_1.CadastrarSubmenusComponent, { size: 'lg' }); modalRef.componentInstance.title = 'Cadastrar Submenu'; modalRef.componentInstance.tipo = 1; modalRef.componentInstance.id = this.userData.id_menu_item; modalRef.componentInstance.passEntry.subscribe(function (receivedEntry) { _this.getdados(); }); }; SubmenusComponent.prototype.getItems = function (ev) { this.getdados(); }; SubmenusComponent.prototype.alterar = function (p) { var _this = this; var modalRef = this.modalService.open(cadastrar_submenus_component_1.CadastrarSubmenusComponent, { size: 'lg' }); modalRef.componentInstance.title = 'Alterar Submenu'; modalRef.componentInstance.tipo = 2; modalRef.componentInstance.userData = p; modalRef.componentInstance.passEntry.subscribe(function (receivedEntry) { _this.getdados(); }); }; SubmenusComponent.prototype.excluir = function (p) { var _this = this; var modalRef = this.modalService.open(exclusoes_component_1.ExclusoesComponent, { size: 'lg' }); modalRef.componentInstance.title = 'Excluir submenu'; modalRef.componentInstance.tipo = 12; modalRef.componentInstance.userData = p; modalRef.componentInstance.passEntry.subscribe(function (receivedEntry) { _this.getdados(); }); }; SubmenusComponent.prototype.close = function () { this.activeModal.close(); this.passEntry.emit(1); }; SubmenusComponent.prototype.getdados = function () { var _this = this; this.loading = true; var dados = { permissao: this.permissao, pesquisa: this.pesquisa, cod_menu_item: this.userData.id_menu_item }; this.service.getMenusSub(dados).then(function (result) { _this.loading = false; _this.items = result.mensagem; }); }; SubmenusComponent.prototype.openLink = function (url) { window.open(url, '_blank').focus(); }; SubmenusComponent.prototype.alterar_status = function (item) { var _this = this; if (item.status_subitens_menu == 1) { item.status_subitens_menu = 2; } else if (item.status_subitens_menu != 1) { item.status_subitens_menu = 1; } this.service.updateMenusSub(item).then(function (data) { if (data.mensagem == 1) { _this.toastrService.success('Status alterado com sucesso', 'Sucesso!'); } else { if (item.status_subitens_menu == 1) { item.status_subitens_menu = 2; } else if (item.status_subitens_menu != 1) { item.status_subitens_menu = 1; } _this.toastrService.error('Não foi possivel alterar o status, tente novamente mais tarde', 'Desculpe!'); } }, function (error) { }); }; SubmenusComponent.ctorParameters = function () { return [ { type: ng_bootstrap_1.NgbActiveModal }, { type: ng_bootstrap_1.NgbModal }, { type: api_service_1.ApiService }, { type: ngx_toastr_1.ToastrService } ]; }; __decorate([ core_1.Input(), __metadata("design:type", Object) ], SubmenusComponent.prototype, "userData", void 0); __decorate([ core_1.Input(), __metadata("design:type", Object) ], SubmenusComponent.prototype, "title", void 0); __decorate([ core_1.Input(), __metadata("design:type", Object) ], SubmenusComponent.prototype, "tipo", void 0); __decorate([ core_1.Output(), __metadata("design:type", core_1.EventEmitter) ], SubmenusComponent.prototype, "passEntry", void 0); SubmenusComponent = __decorate([ core_1.Component({ selector: 'app-submenus', template: __importDefault(__webpack_require__(/*! raw-loader!./submenus.component.html */ "./node_modules/raw-loader/dist/cjs.js!./src/app/modals/submenus/submenus.component.html")).default, styles: [__importDefault(__webpack_require__(/*! ./submenus.component.css */ "./src/app/modals/submenus/submenus.component.css")).default] }), __metadata("design:paramtypes", [ng_bootstrap_1.NgbActiveModal, ng_bootstrap_1.NgbModal, api_service_1.ApiService, ngx_toastr_1.ToastrService]) ], SubmenusComponent); return SubmenusComponent; }()); exports.SubmenusComponent = SubmenusComponent; /***/ }), /***/ "./src/app/modals/update-configuracoes/update-configuracoes.component.css": /*!********************************************************************************!*\ !*** ./src/app/modals/update-configuracoes/update-configuracoes.component.css ***! \********************************************************************************/ /*! exports provided: default */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony default export */ __webpack_exports__["default"] = ("\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiIsImZpbGUiOiJzcmMvYXBwL21vZGFscy91cGRhdGUtY29uZmlndXJhY29lcy91cGRhdGUtY29uZmlndXJhY29lcy5jb21wb25lbnQuY3NzIn0= */"); /***/ }), /***/ "./src/app/modals/update-configuracoes/update-configuracoes.component.ts": /*!*******************************************************************************!*\ !*** ./src/app/modals/update-configuracoes/update-configuracoes.component.ts ***! \*******************************************************************************/ /*! no static exports found */ /***/ (function(module, exports, __webpack_require__) { "use strict"; var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r; return c > 3 && r && Object.defineProperty(target, key, r), r; }; var __metadata = (this && this.__metadata) || function (k, v) { if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v); }; var __importDefault = (this && this.__importDefault) || function (mod) { return (mod && mod.__esModule) ? mod : { "default": mod }; }; Object.defineProperty(exports, "__esModule", { value: true }); var http_1 = __webpack_require__(/*! @angular/common/http */ "./node_modules/@angular/common/__ivy_ngcc__/fesm5/http.js"); var core_1 = __webpack_require__(/*! @angular/core */ "./node_modules/@angular/core/__ivy_ngcc__/fesm5/core.js"); var ng_bootstrap_1 = __webpack_require__(/*! @ng-bootstrap/ng-bootstrap */ "./node_modules/@ng-bootstrap/ng-bootstrap/__ivy_ngcc__/fesm5/ng-bootstrap.js"); var api_service_1 = __webpack_require__(/*! app/services/api.service */ "./src/app/services/api.service.ts"); var ngx_toastr_1 = __webpack_require__(/*! ngx-toastr */ "./node_modules/ngx-toastr/__ivy_ngcc__/fesm5/ngx-toastr.js"); var UpdateConfiguracoesComponent = /** @class */ (function () { function UpdateConfiguracoesComponent(service, toastr, activeModal, http) { this.service = service; this.toastr = toastr; this.activeModal = activeModal; this.http = http; this.userData = {}; this.passEntry = new core_1.EventEmitter(); this.empresas = []; this.path = this.service.getPath(); } UpdateConfiguracoesComponent.prototype.ngOnInit = function () { }; UpdateConfiguracoesComponent.prototype.close = function () { this.activeModal.close(); this.passEntry.emit(1); }; UpdateConfiguracoesComponent.prototype.inputFileChange = function (event) { var _this = this; this.loading = true; if (event.target.files && event.target.files[0]) { this.foto = event.target.files[0]; var formData = new FormData(); formData.append('foto', this.foto); var url = this.service.getUrl() + 'upload-imagem/'; this.http.post(url, formData) .subscribe(function (resposta) { _this.loading = false; _this.userData.logo = resposta.mensagem; _this.userData.base_url = resposta.base_url; }); } }; UpdateConfiguracoesComponent.prototype.salvar = function () { this.updateUser(); }; UpdateConfiguracoesComponent.prototype.updateUser = function () { var _this = this; if (this.userData.entidade && this.userData.endereco && this.userData.email && this.userData.telefone && this.userData.mandato && this.userData.prefeito && this.userData.viceprefeito) { this.service.updateConfiguracoes(this.userData).then(function (result) { if (result.mensagem == 1) { _this.toastr.success('configurações alterada com sucesso', 'Sucesso!'); _this.close(); } else { _this.toastr.error('erro no servidor, tente novamente mais tarde', 'Erro!'); } }); } else { this.toastr.warning('Preencha todos os campos', 'Atenção!'); } }; UpdateConfiguracoesComponent.ctorParameters = function () { return [ { type: api_service_1.ApiService }, { type: ngx_toastr_1.ToastrService }, { type: ng_bootstrap_1.NgbActiveModal }, { type: http_1.HttpClient } ]; }; __decorate([ core_1.Input(), __metadata("design:type", Object) ], UpdateConfiguracoesComponent.prototype, "userData", void 0); __decorate([ core_1.Input(), __metadata("design:type", Object) ], UpdateConfiguracoesComponent.prototype, "title", void 0); __decorate([ core_1.Input(), __metadata("design:type", Object) ], UpdateConfiguracoesComponent.prototype, "tipo", void 0); __decorate([ core_1.Output(), __metadata("design:type", core_1.EventEmitter) ], UpdateConfiguracoesComponent.prototype, "passEntry", void 0); UpdateConfiguracoesComponent = __decorate([ core_1.Component({ selector: 'app-update-configuracoes', template: __importDefault(__webpack_require__(/*! raw-loader!./update-configuracoes.component.html */ "./node_modules/raw-loader/dist/cjs.js!./src/app/modals/update-configuracoes/update-configuracoes.component.html")).default, styles: [__importDefault(__webpack_require__(/*! ./update-configuracoes.component.css */ "./src/app/modals/update-configuracoes/update-configuracoes.component.css")).default] }), __metadata("design:paramtypes", [api_service_1.ApiService, ngx_toastr_1.ToastrService, ng_bootstrap_1.NgbActiveModal, http_1.HttpClient]) ], UpdateConfiguracoesComponent); return UpdateConfiguracoesComponent; }()); exports.UpdateConfiguracoesComponent = UpdateConfiguracoesComponent; /***/ }), /***/ "./src/app/modals/view-contato/view-contato.component.css": /*!****************************************************************!*\ !*** ./src/app/modals/view-contato/view-contato.component.css ***! \****************************************************************/ /*! exports provided: default */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony default export */ __webpack_exports__["default"] = ("body{\r\n font-size: 3px;\r\n }\r\n #content {\r\n width: auto;\r\n height: auto;\r\n border: 1px solid grey;\r\n margin: 5px auto;\r\n }\r\n input#nomeA {\r\n border: none;\r\n }\r\n @media print {\r\n .displayNone {\r\n display: none;\r\n }\r\n }\r\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbInNyYy9hcHAvbW9kYWxzL3ZpZXctY29udGF0by92aWV3LWNvbnRhdG8uY29tcG9uZW50LmNzcyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQTtJQUNJLGNBQWM7RUFDaEI7RUFDQTtJQUNFLFdBQVc7SUFDWCxZQUFZO0lBQ1osc0JBQXNCO0lBQ3RCLGdCQUFnQjtFQUNsQjtFQUNBO0lBQ0UsWUFBWTtFQUNkO0VBRUE7SUFDRTtNQUNFLGFBQWE7SUFDZjtFQUNGIiwiZmlsZSI6InNyYy9hcHAvbW9kYWxzL3ZpZXctY29udGF0by92aWV3LWNvbnRhdG8uY29tcG9uZW50LmNzcyIsInNvdXJjZXNDb250ZW50IjpbImJvZHl7XHJcbiAgICBmb250LXNpemU6IDNweDtcclxuICB9XHJcbiAgI2NvbnRlbnQge1xyXG4gICAgd2lkdGg6IGF1dG87XHJcbiAgICBoZWlnaHQ6IGF1dG87XHJcbiAgICBib3JkZXI6IDFweCBzb2xpZCBncmV5O1xyXG4gICAgbWFyZ2luOiA1cHggYXV0bztcclxuICB9XHJcbiAgaW5wdXQjbm9tZUEge1xyXG4gICAgYm9yZGVyOiBub25lO1xyXG4gIH1cclxuICBcclxuICBAbWVkaWEgcHJpbnQge1xyXG4gICAgLmRpc3BsYXlOb25lIHtcclxuICAgICAgZGlzcGxheTogbm9uZTtcclxuICAgIH1cclxuICB9Il19 */"); /***/ }), /***/ "./src/app/modals/view-contato/view-contato.component.ts": /*!***************************************************************!*\ !*** ./src/app/modals/view-contato/view-contato.component.ts ***! \***************************************************************/ /*! no static exports found */ /***/ (function(module, exports, __webpack_require__) { "use strict"; var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r; return c > 3 && r && Object.defineProperty(target, key, r), r; }; var __metadata = (this && this.__metadata) || function (k, v) { if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v); }; var __importDefault = (this && this.__importDefault) || function (mod) { return (mod && mod.__esModule) ? mod : { "default": mod }; }; Object.defineProperty(exports, "__esModule", { value: true }); var ng_bootstrap_1 = __webpack_require__(/*! @ng-bootstrap/ng-bootstrap */ "./node_modules/@ng-bootstrap/ng-bootstrap/__ivy_ngcc__/fesm5/ng-bootstrap.js"); var core_1 = __webpack_require__(/*! @angular/core */ "./node_modules/@angular/core/__ivy_ngcc__/fesm5/core.js"); var ViewContatoComponent = /** @class */ (function () { function ViewContatoComponent(activeModal) { this.activeModal = activeModal; this.passEntry = new core_1.EventEmitter(); } ViewContatoComponent.prototype.close = function () { this.activeModal.close(); this.passEntry.emit(1); }; ViewContatoComponent.prototype.ngOnInit = function () { var obj = JSON.parse(this.userData.informacoes); this.form = obj; }; ViewContatoComponent.prototype.print = function () { window.print(); }; ViewContatoComponent.ctorParameters = function () { return [ { type: ng_bootstrap_1.NgbActiveModal } ]; }; __decorate([ core_1.Input(), __metadata("design:type", Object) ], ViewContatoComponent.prototype, "userData", void 0); __decorate([ core_1.Output(), __metadata("design:type", core_1.EventEmitter) ], ViewContatoComponent.prototype, "passEntry", void 0); ViewContatoComponent = __decorate([ core_1.Component({ selector: 'app-view-contato', template: __importDefault(__webpack_require__(/*! raw-loader!./view-contato.component.html */ "./node_modules/raw-loader/dist/cjs.js!./src/app/modals/view-contato/view-contato.component.html")).default, styles: [__importDefault(__webpack_require__(/*! ./view-contato.component.css */ "./src/app/modals/view-contato/view-contato.component.css")).default] }), __metadata("design:paramtypes", [ng_bootstrap_1.NgbActiveModal]) ], ViewContatoComponent); return ViewContatoComponent; }()); exports.ViewContatoComponent = ViewContatoComponent; /***/ }), /***/ "./src/app/noticias/noticias.component.css": /*!*************************************************!*\ !*** ./src/app/noticias/noticias.component.css ***! \*************************************************/ /*! exports provided: default */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony default export */ __webpack_exports__["default"] = (".switch {\r\n position: relative;\r\n display: inline-block;\r\n width: 60px;\r\n height: 34px;\r\n }\r\n \r\n /* Hide default HTML checkbox */\r\n \r\n .switch input {\r\n opacity: 0;\r\n width: 0;\r\n height: 0;\r\n }\r\n \r\n /* The slider */\r\n \r\n .slider {\r\n position: absolute;\r\n cursor: pointer;\r\n top: 0;\r\n left: 0;\r\n right: 0;\r\n bottom: 0;\r\n background-color: #ccc;\r\n -webkit-transition: .4s;\r\n transition: .4s;\r\n }\r\n \r\n .slider:before {\r\n position: absolute;\r\n content: \"\";\r\n height: 26px;\r\n width: 26px;\r\n left: 4px;\r\n bottom: 4px;\r\n background-color: white;\r\n -webkit-transition: .4s;\r\n transition: .4s;\r\n }\r\n \r\n input:checked + .slider {\r\n background-color: #6e037c;\r\n }\r\n \r\n input:focus + .slider {\r\n box-shadow: 0 0 1px #6e037c;\r\n }\r\n \r\n input:checked + .slider:before {\r\n -webkit-transform: translateX(26px);\r\n transform: translateX(26px);\r\n }\r\n \r\n /* Rounded sliders */\r\n \r\n .slider.round {\r\n border-radius: 34px;\r\n }\r\n \r\n .slider.round:before {\r\n border-radius: 50%;\r\n }\r\n \r\n .pac-container {\r\n z-index: 1051 !important;\r\n}\r\n \r\n .tt {\r\n background: #0400d4;\r\n}\r\n \r\n .tt:hover{\r\n background: #0400d4;\r\n}\r\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbInNyYy9hcHAvbm90aWNpYXMvbm90aWNpYXMuY29tcG9uZW50LmNzcyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQTtJQUNJLGtCQUFrQjtJQUNsQixxQkFBcUI7SUFDckIsV0FBVztJQUNYLFlBQVk7RUFDZDs7RUFFQSwrQkFBK0I7O0VBQy9CO0lBQ0UsVUFBVTtJQUNWLFFBQVE7SUFDUixTQUFTO0VBQ1g7O0VBRUEsZUFBZTs7RUFDZjtJQUNFLGtCQUFrQjtJQUNsQixlQUFlO0lBQ2YsTUFBTTtJQUNOLE9BQU87SUFDUCxRQUFRO0lBQ1IsU0FBUztJQUNULHNCQUFzQjtJQUN0Qix1QkFBdUI7SUFDdkIsZUFBZTtFQUNqQjs7RUFFQTtJQUNFLGtCQUFrQjtJQUNsQixXQUFXO0lBQ1gsWUFBWTtJQUNaLFdBQVc7SUFDWCxTQUFTO0lBQ1QsV0FBVztJQUNYLHVCQUF1QjtJQUN2Qix1QkFBdUI7SUFDdkIsZUFBZTtFQUNqQjs7RUFFQTtJQUNFLHlCQUF5QjtFQUMzQjs7RUFFQTtJQUNFLDJCQUEyQjtFQUM3Qjs7RUFFQTtJQUNFLG1DQUFtQztJQUVuQywyQkFBMkI7RUFDN0I7O0VBRUEsb0JBQW9COztFQUNwQjtJQUNFLG1CQUFtQjtFQUNyQjs7RUFFQTtJQUNFLGtCQUFrQjtFQUNwQjs7RUFFQTtJQUNFLHdCQUF3QjtBQUM1Qjs7RUFFQTtFQUNFLG1CQUFtQjtBQUNyQjs7RUFFQTtFQUNFLG1CQUFtQjtBQUNyQiIsImZpbGUiOiJzcmMvYXBwL25vdGljaWFzL25vdGljaWFzLmNvbXBvbmVudC5jc3MiLCJzb3VyY2VzQ29udGVudCI6WyIuc3dpdGNoIHtcclxuICAgIHBvc2l0aW9uOiByZWxhdGl2ZTtcclxuICAgIGRpc3BsYXk6IGlubGluZS1ibG9jaztcclxuICAgIHdpZHRoOiA2MHB4O1xyXG4gICAgaGVpZ2h0OiAzNHB4O1xyXG4gIH1cclxuICBcclxuICAvKiBIaWRlIGRlZmF1bHQgSFRNTCBjaGVja2JveCAqL1xyXG4gIC5zd2l0Y2ggaW5wdXQge1xyXG4gICAgb3BhY2l0eTogMDtcclxuICAgIHdpZHRoOiAwO1xyXG4gICAgaGVpZ2h0OiAwO1xyXG4gIH1cclxuICBcclxuICAvKiBUaGUgc2xpZGVyICovXHJcbiAgLnNsaWRlciB7XHJcbiAgICBwb3NpdGlvbjogYWJzb2x1dGU7XHJcbiAgICBjdXJzb3I6IHBvaW50ZXI7XHJcbiAgICB0b3A6IDA7XHJcbiAgICBsZWZ0OiAwO1xyXG4gICAgcmlnaHQ6IDA7XHJcbiAgICBib3R0b206IDA7XHJcbiAgICBiYWNrZ3JvdW5kLWNvbG9yOiAjY2NjO1xyXG4gICAgLXdlYmtpdC10cmFuc2l0aW9uOiAuNHM7XHJcbiAgICB0cmFuc2l0aW9uOiAuNHM7XHJcbiAgfVxyXG4gIFxyXG4gIC5zbGlkZXI6YmVmb3JlIHtcclxuICAgIHBvc2l0aW9uOiBhYnNvbHV0ZTtcclxuICAgIGNvbnRlbnQ6IFwiXCI7XHJcbiAgICBoZWlnaHQ6IDI2cHg7XHJcbiAgICB3aWR0aDogMjZweDtcclxuICAgIGxlZnQ6IDRweDtcclxuICAgIGJvdHRvbTogNHB4O1xyXG4gICAgYmFja2dyb3VuZC1jb2xvcjogd2hpdGU7XHJcbiAgICAtd2Via2l0LXRyYW5zaXRpb246IC40cztcclxuICAgIHRyYW5zaXRpb246IC40cztcclxuICB9XHJcbiAgXHJcbiAgaW5wdXQ6Y2hlY2tlZCArIC5zbGlkZXIge1xyXG4gICAgYmFja2dyb3VuZC1jb2xvcjogIzZlMDM3YztcclxuICB9XHJcbiAgXHJcbiAgaW5wdXQ6Zm9jdXMgKyAuc2xpZGVyIHtcclxuICAgIGJveC1zaGFkb3c6IDAgMCAxcHggIzZlMDM3YztcclxuICB9XHJcbiAgXHJcbiAgaW5wdXQ6Y2hlY2tlZCArIC5zbGlkZXI6YmVmb3JlIHtcclxuICAgIC13ZWJraXQtdHJhbnNmb3JtOiB0cmFuc2xhdGVYKDI2cHgpO1xyXG4gICAgLW1zLXRyYW5zZm9ybTogdHJhbnNsYXRlWCgyNnB4KTtcclxuICAgIHRyYW5zZm9ybTogdHJhbnNsYXRlWCgyNnB4KTtcclxuICB9XHJcbiAgXHJcbiAgLyogUm91bmRlZCBzbGlkZXJzICovXHJcbiAgLnNsaWRlci5yb3VuZCB7XHJcbiAgICBib3JkZXItcmFkaXVzOiAzNHB4O1xyXG4gIH1cclxuICBcclxuICAuc2xpZGVyLnJvdW5kOmJlZm9yZSB7XHJcbiAgICBib3JkZXItcmFkaXVzOiA1MCU7XHJcbiAgfVxyXG5cclxuICAucGFjLWNvbnRhaW5lciB7XHJcbiAgICB6LWluZGV4OiAxMDUxICFpbXBvcnRhbnQ7XHJcbn1cclxuXHJcbi50dCB7XHJcbiAgYmFja2dyb3VuZDogIzA0MDBkNDtcclxufVxyXG5cclxuLnR0OmhvdmVye1xyXG4gIGJhY2tncm91bmQ6ICMwNDAwZDQ7XHJcbn0iXX0= */"); /***/ }), /***/ "./src/app/noticias/noticias.component.ts": /*!************************************************!*\ !*** ./src/app/noticias/noticias.component.ts ***! \************************************************/ /*! no static exports found */ /***/ (function(module, exports, __webpack_require__) { "use strict"; var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r; return c > 3 && r && Object.defineProperty(target, key, r), r; }; var __metadata = (this && this.__metadata) || function (k, v) { if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v); }; var __importDefault = (this && this.__importDefault) || function (mod) { return (mod && mod.__esModule) ? mod : { "default": mod }; }; Object.defineProperty(exports, "__esModule", { value: true }); var exclusoes_component_1 = __webpack_require__(/*! ./../modals/exclusoes/exclusoes.component */ "./src/app/modals/exclusoes/exclusoes.component.ts"); var cadastrar_noticias_component_1 = __webpack_require__(/*! ./../modals/cadastrar-noticias/cadastrar-noticias.component */ "./src/app/modals/cadastrar-noticias/cadastrar-noticias.component.ts"); var core_1 = __webpack_require__(/*! @angular/core */ "./node_modules/@angular/core/__ivy_ngcc__/fesm5/core.js"); var ng_bootstrap_1 = __webpack_require__(/*! @ng-bootstrap/ng-bootstrap */ "./node_modules/@ng-bootstrap/ng-bootstrap/__ivy_ngcc__/fesm5/ng-bootstrap.js"); var api_service_1 = __webpack_require__(/*! app/services/api.service */ "./src/app/services/api.service.ts"); var ngx_toastr_1 = __webpack_require__(/*! ngx-toastr */ "./node_modules/ngx-toastr/__ivy_ngcc__/fesm5/ngx-toastr.js"); var NoticiasComponent = /** @class */ (function () { function NoticiasComponent(modalService, service, toastrService) { var _this = this; this.modalService = modalService; this.service = service; this.toastrService = toastrService; this.off = 0; this.limit = 10; this.total = 0; this.items = []; this.page = 1; this.loading = false; this.permissao = 1; this.user = {}; this.onPageChange = function (pageNumber) { _this.off = (pageNumber - 1) * _this.limit; _this.getdados(); }; this.user = this.service.getUser(); } NoticiasComponent.prototype.ngOnInit = function () { this.getdados(); }; NoticiasComponent.prototype.open = function () { var _this = this; var modalRef = this.modalService.open(cadastrar_noticias_component_1.CadastrarNoticiasComponent, { size: 'lg' }); modalRef.componentInstance.title = 'Cadastrar noticia'; modalRef.componentInstance.tipo = 1; modalRef.componentInstance.passEntry.subscribe(function (receivedEntry) { _this.getdados(); }); }; NoticiasComponent.prototype.trocar_permissao = function (ev) { this.off = 0; this.page = 1; this.permissao = ev; this.getdados(); }; NoticiasComponent.prototype.getItems = function (ev) { this.off = 0; this.page = 1; this.getdados(); }; NoticiasComponent.prototype.alterar = function (p) { var _this = this; var modalRef = this.modalService.open(cadastrar_noticias_component_1.CadastrarNoticiasComponent, { size: 'lg' }); modalRef.componentInstance.title = 'Alterar noticia'; modalRef.componentInstance.tipo = 2; delete p.senha; modalRef.componentInstance.userData = p; modalRef.componentInstance.passEntry.subscribe(function (receivedEntry) { _this.getdados(); }); }; NoticiasComponent.prototype.excluir = function (p) { var _this = this; var modalRef = this.modalService.open(exclusoes_component_1.ExclusoesComponent, { size: 'lg' }); modalRef.componentInstance.title = 'Exluir noticia'; modalRef.componentInstance.tipo = 1; modalRef.componentInstance.userData = p; modalRef.componentInstance.passEntry.subscribe(function (receivedEntry) { _this.getdados(); }); }; NoticiasComponent.prototype.getdados = function () { var _this = this; this.loading = true; var dados = { permissao: this.permissao, limit: this.limit, offset: this.off, pesquisa: this.pesquisa }; this.service.getNoticias(dados).then(function (result) { _this.loading = false; _this.items = result.dados; _this.total = result.total; }); }; NoticiasComponent.prototype.alterar_status = function (item) { var _this = this; if (item.status_noticia == 1) { item.status_noticia = 2; } else if (item.status_noticia != 1) { item.status_noticia = 1; } this.service.updateNoticias(item).then(function (data) { if (data.mensagem == 1) { _this.toastrService.success('Status alterado com sucesso', 'Sucesso!'); } else { if (item.status_noticia == 1) { item.status_noticia = 2; } else if (item.status_noticia != 1) { item.status_noticia = 1; } _this.toastrService.error('Não foi possivel alterar o status, tente novamente mais tarde', 'Desculpe!'); } }, function (error) { }); }; NoticiasComponent.ctorParameters = function () { return [ { type: ng_bootstrap_1.NgbModal }, { type: api_service_1.ApiService }, { type: ngx_toastr_1.ToastrService } ]; }; NoticiasComponent = __decorate([ core_1.Component({ selector: 'app-noticias', template: __importDefault(__webpack_require__(/*! raw-loader!./noticias.component.html */ "./node_modules/raw-loader/dist/cjs.js!./src/app/noticias/noticias.component.html")).default, styles: [__importDefault(__webpack_require__(/*! ./noticias.component.css */ "./src/app/noticias/noticias.component.css")).default] }), __metadata("design:paramtypes", [ng_bootstrap_1.NgbModal, api_service_1.ApiService, ngx_toastr_1.ToastrService]) ], NoticiasComponent); return NoticiasComponent; }()); exports.NoticiasComponent = NoticiasComponent; /***/ }), /***/ "./src/app/obras/obras.component.css": /*!*******************************************!*\ !*** ./src/app/obras/obras.component.css ***! \*******************************************/ /*! exports provided: default */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony default export */ __webpack_exports__["default"] = (".switch {\r\n position: relative;\r\n display: inline-block;\r\n width: 60px;\r\n height: 34px;\r\n}\r\n\r\n/* Hide default HTML checkbox */\r\n\r\n.switch input {\r\n opacity: 0;\r\n width: 0;\r\n height: 0;\r\n}\r\n\r\n/* The slider */\r\n\r\n.slider {\r\n position: absolute;\r\n cursor: pointer;\r\n top: 0;\r\n left: 0;\r\n right: 0;\r\n bottom: 0;\r\n background-color: #ccc;\r\n -webkit-transition: .4s;\r\n transition: .4s;\r\n}\r\n\r\n.slider:before {\r\n position: absolute;\r\n content: \"\";\r\n height: 26px;\r\n width: 26px;\r\n left: 4px;\r\n bottom: 4px;\r\n background-color: white;\r\n -webkit-transition: .4s;\r\n transition: .4s;\r\n}\r\n\r\ninput:checked+.slider {\r\n background-color: #6e037c;\r\n}\r\n\r\ninput:focus+.slider {\r\n box-shadow: 0 0 1px #6e037c;\r\n}\r\n\r\ninput:checked+.slider:before {\r\n -webkit-transform: translateX(26px);\r\n transform: translateX(26px);\r\n}\r\n\r\n/* Rounded sliders */\r\n\r\n.slider.round {\r\n border-radius: 34px;\r\n}\r\n\r\n.slider.round:before {\r\n border-radius: 50%;\r\n}\r\n\r\n.pac-container {\r\n z-index: 1051 !important;\r\n}\r\n\r\n.tt {\r\n background: #0400d4;\r\n}\r\n\r\n.tt:hover {\r\n background: #0400d4;\r\n}\r\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbInNyYy9hcHAvb2JyYXMvb2JyYXMuY29tcG9uZW50LmNzcyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQTtJQUNJLGtCQUFrQjtJQUNsQixxQkFBcUI7SUFDckIsV0FBVztJQUNYLFlBQVk7QUFDaEI7O0FBRUEsK0JBQStCOztBQUMvQjtJQUNJLFVBQVU7SUFDVixRQUFRO0lBQ1IsU0FBUztBQUNiOztBQUVBLGVBQWU7O0FBQ2Y7SUFDSSxrQkFBa0I7SUFDbEIsZUFBZTtJQUNmLE1BQU07SUFDTixPQUFPO0lBQ1AsUUFBUTtJQUNSLFNBQVM7SUFDVCxzQkFBc0I7SUFDdEIsdUJBQXVCO0lBQ3ZCLGVBQWU7QUFDbkI7O0FBRUE7SUFDSSxrQkFBa0I7SUFDbEIsV0FBVztJQUNYLFlBQVk7SUFDWixXQUFXO0lBQ1gsU0FBUztJQUNULFdBQVc7SUFDWCx1QkFBdUI7SUFDdkIsdUJBQXVCO0lBQ3ZCLGVBQWU7QUFDbkI7O0FBRUE7SUFDSSx5QkFBeUI7QUFDN0I7O0FBRUE7SUFDSSwyQkFBMkI7QUFDL0I7O0FBRUE7SUFDSSxtQ0FBbUM7SUFFbkMsMkJBQTJCO0FBQy9COztBQUVBLG9CQUFvQjs7QUFDcEI7SUFDSSxtQkFBbUI7QUFDdkI7O0FBRUE7SUFDSSxrQkFBa0I7QUFDdEI7O0FBRUE7SUFDSSx3QkFBd0I7QUFDNUI7O0FBRUE7SUFDSSxtQkFBbUI7QUFDdkI7O0FBRUE7SUFDSSxtQkFBbUI7QUFDdkIiLCJmaWxlIjoic3JjL2FwcC9vYnJhcy9vYnJhcy5jb21wb25lbnQuY3NzIiwic291cmNlc0NvbnRlbnQiOlsiLnN3aXRjaCB7XHJcbiAgICBwb3NpdGlvbjogcmVsYXRpdmU7XHJcbiAgICBkaXNwbGF5OiBpbmxpbmUtYmxvY2s7XHJcbiAgICB3aWR0aDogNjBweDtcclxuICAgIGhlaWdodDogMzRweDtcclxufVxyXG5cclxuLyogSGlkZSBkZWZhdWx0IEhUTUwgY2hlY2tib3ggKi9cclxuLnN3aXRjaCBpbnB1dCB7XHJcbiAgICBvcGFjaXR5OiAwO1xyXG4gICAgd2lkdGg6IDA7XHJcbiAgICBoZWlnaHQ6IDA7XHJcbn1cclxuXHJcbi8qIFRoZSBzbGlkZXIgKi9cclxuLnNsaWRlciB7XHJcbiAgICBwb3NpdGlvbjogYWJzb2x1dGU7XHJcbiAgICBjdXJzb3I6IHBvaW50ZXI7XHJcbiAgICB0b3A6IDA7XHJcbiAgICBsZWZ0OiAwO1xyXG4gICAgcmlnaHQ6IDA7XHJcbiAgICBib3R0b206IDA7XHJcbiAgICBiYWNrZ3JvdW5kLWNvbG9yOiAjY2NjO1xyXG4gICAgLXdlYmtpdC10cmFuc2l0aW9uOiAuNHM7XHJcbiAgICB0cmFuc2l0aW9uOiAuNHM7XHJcbn1cclxuXHJcbi5zbGlkZXI6YmVmb3JlIHtcclxuICAgIHBvc2l0aW9uOiBhYnNvbHV0ZTtcclxuICAgIGNvbnRlbnQ6IFwiXCI7XHJcbiAgICBoZWlnaHQ6IDI2cHg7XHJcbiAgICB3aWR0aDogMjZweDtcclxuICAgIGxlZnQ6IDRweDtcclxuICAgIGJvdHRvbTogNHB4O1xyXG4gICAgYmFja2dyb3VuZC1jb2xvcjogd2hpdGU7XHJcbiAgICAtd2Via2l0LXRyYW5zaXRpb246IC40cztcclxuICAgIHRyYW5zaXRpb246IC40cztcclxufVxyXG5cclxuaW5wdXQ6Y2hlY2tlZCsuc2xpZGVyIHtcclxuICAgIGJhY2tncm91bmQtY29sb3I6ICM2ZTAzN2M7XHJcbn1cclxuXHJcbmlucHV0OmZvY3VzKy5zbGlkZXIge1xyXG4gICAgYm94LXNoYWRvdzogMCAwIDFweCAjNmUwMzdjO1xyXG59XHJcblxyXG5pbnB1dDpjaGVja2VkKy5zbGlkZXI6YmVmb3JlIHtcclxuICAgIC13ZWJraXQtdHJhbnNmb3JtOiB0cmFuc2xhdGVYKDI2cHgpO1xyXG4gICAgLW1zLXRyYW5zZm9ybTogdHJhbnNsYXRlWCgyNnB4KTtcclxuICAgIHRyYW5zZm9ybTogdHJhbnNsYXRlWCgyNnB4KTtcclxufVxyXG5cclxuLyogUm91bmRlZCBzbGlkZXJzICovXHJcbi5zbGlkZXIucm91bmQge1xyXG4gICAgYm9yZGVyLXJhZGl1czogMzRweDtcclxufVxyXG5cclxuLnNsaWRlci5yb3VuZDpiZWZvcmUge1xyXG4gICAgYm9yZGVyLXJhZGl1czogNTAlO1xyXG59XHJcblxyXG4ucGFjLWNvbnRhaW5lciB7XHJcbiAgICB6LWluZGV4OiAxMDUxICFpbXBvcnRhbnQ7XHJcbn1cclxuXHJcbi50dCB7XHJcbiAgICBiYWNrZ3JvdW5kOiAjMDQwMGQ0O1xyXG59XHJcblxyXG4udHQ6aG92ZXIge1xyXG4gICAgYmFja2dyb3VuZDogIzA0MDBkNDtcclxufSJdfQ== */"); /***/ }), /***/ "./src/app/obras/obras.component.ts": /*!******************************************!*\ !*** ./src/app/obras/obras.component.ts ***! \******************************************/ /*! no static exports found */ /***/ (function(module, exports, __webpack_require__) { "use strict"; var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r; return c > 3 && r && Object.defineProperty(target, key, r), r; }; var __metadata = (this && this.__metadata) || function (k, v) { if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v); }; var __importDefault = (this && this.__importDefault) || function (mod) { return (mod && mod.__esModule) ? mod : { "default": mod }; }; Object.defineProperty(exports, "__esModule", { value: true }); var core_1 = __webpack_require__(/*! @angular/core */ "./node_modules/@angular/core/__ivy_ngcc__/fesm5/core.js"); var ng_bootstrap_1 = __webpack_require__(/*! @ng-bootstrap/ng-bootstrap */ "./node_modules/@ng-bootstrap/ng-bootstrap/__ivy_ngcc__/fesm5/ng-bootstrap.js"); var cadastrar_obras_component_1 = __webpack_require__(/*! app/modals/cadastrar-obras/cadastrar-obras.component */ "./src/app/modals/cadastrar-obras/cadastrar-obras.component.ts"); var exclusoes_component_1 = __webpack_require__(/*! app/modals/exclusoes/exclusoes.component */ "./src/app/modals/exclusoes/exclusoes.component.ts"); var api_service_1 = __webpack_require__(/*! app/services/api.service */ "./src/app/services/api.service.ts"); var ngx_toastr_1 = __webpack_require__(/*! ngx-toastr */ "./node_modules/ngx-toastr/__ivy_ngcc__/fesm5/ngx-toastr.js"); var ObrasComponent = /** @class */ (function () { function ObrasComponent(modalService, service, toastrService) { var _this = this; this.modalService = modalService; this.service = service; this.toastrService = toastrService; this.off = 0; this.limit = 10; this.total = 0; this.items = []; this.page = 1; this.loading = false; this.permissao = 1; this.user = {}; this.onPageChange = function (pageNumber) { _this.off = (pageNumber - 1) * _this.limit; _this.getdados(); }; this.user = this.service.getUser(); } ObrasComponent.prototype.ngOnInit = function () { this.getdados(); }; ObrasComponent.prototype.open = function () { var _this = this; var modalRef = this.modalService.open(cadastrar_obras_component_1.CadastrarObrasComponent, { size: 'lg' }); modalRef.componentInstance.title = 'Cadastrar Obra'; modalRef.componentInstance.tipo = 1; modalRef.componentInstance.passEntry.subscribe(function (receivedEntry) { _this.getdados(); }); }; ObrasComponent.prototype.trocar_permissao = function (ev) { this.off = 0; this.page = 1; this.permissao = ev; this.getdados(); }; ObrasComponent.prototype.getItems = function (ev) { this.off = 0; this.page = 1; this.getdados(); }; ObrasComponent.prototype.alterar = function (p) { var _this = this; var modalRef = this.modalService.open(cadastrar_obras_component_1.CadastrarObrasComponent, { size: 'lg' }); modalRef.componentInstance.title = 'Alterar Obra'; modalRef.componentInstance.tipo = 2; modalRef.componentInstance.userData = p; modalRef.componentInstance.passEntry.subscribe(function (receivedEntry) { _this.getdados(); }); }; ObrasComponent.prototype.excluir = function (p) { var _this = this; var modalRef = this.modalService.open(exclusoes_component_1.ExclusoesComponent, { size: 'lg' }); modalRef.componentInstance.title = 'Exluir Obra'; modalRef.componentInstance.tipo = 21; modalRef.componentInstance.userData = p; modalRef.componentInstance.passEntry.subscribe(function (receivedEntry) { _this.getdados(); }); }; ObrasComponent.prototype.getdados = function () { var _this = this; this.loading = true; var dados = { limit: this.limit, offset: this.off, }; if (this.pesquisa) { dados.pesquisa = this.pesquisa; } this.service.getObras(dados).then(function (result) { _this.loading = false; _this.items = result.resposta.obras; _this.total = result.resposta.total; console.log(result); }); }; ObrasComponent.prototype.alterar_status = function (item) { var _this = this; if (item.status_obra == 1) { item.status_obra = 2; } else if (item.status_obra != 1) { item.status_obra = 1; } this.service.updateObras(item).then(function (data) { _this.toastrService.success('Status alterado com sucesso', 'Sucesso!'); }, function (error) { if (item.status_obra == 1) { item.status_obra = 2; } else if (item.status_obra != 1) { item.status_obra = 1; } _this.toastrService.error('Não foi possivel alterar o status, tente novamente mais tarde', 'Desculpe!'); }); }; ObrasComponent.ctorParameters = function () { return [ { type: ng_bootstrap_1.NgbModal }, { type: api_service_1.ApiService }, { type: ngx_toastr_1.ToastrService } ]; }; ObrasComponent = __decorate([ core_1.Component({ selector: 'app-obras', template: __importDefault(__webpack_require__(/*! raw-loader!./obras.component.html */ "./node_modules/raw-loader/dist/cjs.js!./src/app/obras/obras.component.html")).default, styles: [__importDefault(__webpack_require__(/*! ./obras.component.css */ "./src/app/obras/obras.component.css")).default] }), __metadata("design:paramtypes", [ng_bootstrap_1.NgbModal, api_service_1.ApiService, ngx_toastr_1.ToastrService]) ], ObrasComponent); return ObrasComponent; }()); exports.ObrasComponent = ObrasComponent; /***/ }), /***/ "./src/app/pauta/pauta.component.css": /*!*******************************************!*\ !*** ./src/app/pauta/pauta.component.css ***! \*******************************************/ /*! exports provided: default */ /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony default export */ __webpack_exports__["default"] = (".switch {\r\n position: relative;\r\n display: inline-block;\r\n width: 60px;\r\n height: 34px;\r\n }\r\n \r\n /* Hide default HTML checkbox */\r\n \r\n .switch input {\r\n opacity: 0;\r\n width: 0;\r\n height: 0;\r\n }\r\n \r\n /* The slider */\r\n \r\n .slider {\r\n position: absolute;\r\n cursor: pointer;\r\n top: 0;\r\n left: 0;\r\n right: 0;\r\n bottom: 0;\r\n background-color: #ccc;\r\n -webkit-transition: .4s;\r\n transition: .4s;\r\n }\r\n \r\n .slider:before {\r\n position: absolute;\r\n content: \"\";\r\n height: 26px;\r\n width: 26px;\r\n left: 4px;\r\n bottom: 4px;\r\n background-color: white;\r\n -webkit-transition: .4s;\r\n transition: .4s;\r\n }\r\n \r\n input:checked + .slider {\r\n background-color: #6e037c;\r\n }\r\n \r\n input:focus + .slider {\r\n box-shadow: 0 0 1px #6e037c;\r\n }\r\n \r\n input:checked + .slider:before {\r\n -webkit-transform: translateX(26px);\r\n transform: translateX(26px);\r\n }\r\n \r\n /* Rounded sliders */\r\n \r\n .slider.round {\r\n border-radius: 34px;\r\n }\r\n \r\n .slider.round:before {\r\n border-radius: 50%;\r\n }\r\n \r\n .pac-container {\r\n z-index: 1051 !important;\r\n}\r\n \r\n .tt {\r\n background: #0400d4;\r\n}\r\n \r\n .tt:hover{\r\n background: #0400d4;\r\n}\r\n/*# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbInNyYy9hcHAvcGF1dGEvcGF1dGEuY29tcG9uZW50LmNzcyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQTtHQUNHLGtCQUFrQjtHQUNsQixxQkFBcUI7R0FDckIsV0FBVztHQUNYLFlBQVk7Q0FDZDs7Q0FFQSwrQkFBK0I7O0NBQy9CO0dBQ0UsVUFBVTtHQUNWLFFBQVE7R0FDUixTQUFTO0NBQ1g7O0NBRUEsZUFBZTs7Q0FDZjtHQUNFLGtCQUFrQjtHQUNsQixlQUFlO0dBQ2YsTUFBTTtHQUNOLE9BQU87R0FDUCxRQUFRO0dBQ1IsU0FBUztHQUNULHNCQUFzQjtHQUN0Qix1QkFBdUI7R0FDdkIsZUFBZTtDQUNqQjs7Q0FFQTtHQUNFLGtCQUFrQjtHQUNsQixXQUFXO0dBQ1gsWUFBWTtHQUNaLFdBQVc7R0FDWCxTQUFTO0dBQ1QsV0FBVztHQUNYLHVCQUF1QjtHQUN2Qix1QkFBdUI7R0FDdkIsZUFBZTtDQUNqQjs7Q0FFQTtHQUNFLHlCQUF5QjtDQUMzQjs7Q0FFQTtHQUNFLDJCQUEyQjtDQUM3Qjs7Q0FFQTtHQUNFLG1DQUFtQztHQUVuQywyQkFBMkI7Q0FDN0I7O0NBRUEsb0JBQW9COztDQUNwQjtHQUNFLG1CQUFtQjtDQUNyQjs7Q0FFQTtHQUNFLGtCQUFrQjtDQUNwQjs7Q0FFQTtHQUNFLHdCQUF3QjtBQUMzQjs7Q0FFQTtDQUNDLG1CQUFtQjtBQUNwQjs7Q0FFQTtDQUNDLG1CQUFtQjtBQUNwQiIsImZpbGUiOiJzcmMvYXBwL3BhdXRhL3BhdXRhLmNvbXBvbmVudC5jc3MiLCJzb3VyY2VzQ29udGVudCI6WyIuc3dpdGNoIHtcclxuICAgcG9zaXRpb246IHJlbGF0aXZlO1xyXG4gICBkaXNwbGF5OiBpbmxpbmUtYmxvY2s7XHJcbiAgIHdpZHRoOiA2MHB4O1xyXG4gICBoZWlnaHQ6IDM0cHg7XHJcbiB9XHJcbiBcclxuIC8qIEhpZGUgZGVmYXVsdCBIVE1MIGNoZWNrYm94ICovXHJcbiAuc3dpdGNoIGlucHV0IHtcclxuICAgb3BhY2l0eTogMDtcclxuICAgd2lkdGg6IDA7XHJcbiAgIGhlaWdodDogMDtcclxuIH1cclxuIFxyXG4gLyogVGhlIHNsaWRlciAqL1xyXG4gLnNsaWRlciB7XHJcbiAgIHBvc2l0aW9uOiBhYnNvbHV0ZTtcclxuICAgY3Vyc29yOiBwb2ludGVyO1xyXG4gICB0b3A6IDA7XHJcbiAgIGxlZnQ6IDA7XHJcbiAgIHJpZ2h0OiAwO1xyXG4gICBib3R0b206IDA7XHJcbiAgIGJhY2tncm91bmQtY29sb3I6ICNjY2M7XHJcbiAgIC13ZWJraXQtdHJhbnNpdGlvbjogLjRzO1xyXG4gICB0cmFuc2l0aW9uOiAuNHM7XHJcbiB9XHJcbiBcclxuIC5zbGlkZXI6YmVmb3JlIHtcclxuICAgcG9zaXRpb246IGFic29sdXRlO1xyXG4gICBjb250ZW50OiBcIlwiO1xyXG4gICBoZWlnaHQ6IDI2cHg7XHJcbiAgIHdpZHRoOiAyNnB4O1xyXG4gICBsZWZ0OiA0cHg7XHJcbiAgIGJvdHRvbTogNHB4O1xyXG4gICBiYWNrZ3JvdW5kLWNvbG9yOiB3aGl0ZTtcclxuICAgLXdlYmtpdC10cmFuc2l0aW9uOiAuNHM7XHJcbiAgIHRyYW5zaXRpb246IC40cztcclxuIH1cclxuIFxyXG4gaW5wdXQ6Y2hlY2tlZCArIC5zbGlkZXIge1xyXG4gICBiYWNrZ3JvdW5kLWNvbG9yOiAjNmUwMzdjO1xyXG4gfVxyXG4gXHJcbiBpbnB1dDpmb2N1cyArIC5zbGlkZXIge1xyXG4gICBib3gtc2hhZG93OiAwIDAgMXB4ICM2ZTAzN2M7XHJcbiB9XHJcbiBcclxuIGlucHV0OmNoZWNrZWQgKyAuc2xpZGVyOmJlZm9yZSB7XHJcbiAgIC13ZWJraXQtdHJhbnNmb3JtOiB0cmFuc2xhdGVYKDI2cHgpO1xyXG4gICAtbXMtdHJhbnNmb3JtOiB0cmFuc2xhdGVYKDI2cHgpO1xyXG4gICB0cmFuc2Zvcm06IHRyYW5zbGF0ZVgoMjZweCk7XHJcbiB9XHJcbiBcclxuIC8qIFJvdW5kZWQgc2xpZGVycyAqL1xyXG4gLnNsaWRlci5yb3VuZCB7XHJcbiAgIGJvcmRlci1yYWRpdXM6IDM0cHg7XHJcbiB9XHJcbiBcclxuIC5zbGlkZXIucm91bmQ6YmVmb3JlIHtcclxuICAgYm9yZGVyLXJhZGl1czogNTAlO1xyXG4gfVxyXG5cclxuIC5wYWMtY29udGFpbmVyIHtcclxuICAgei1pbmRleDogMTA1MSAhaW1wb3J0YW50O1xyXG59XHJcblxyXG4udHQge1xyXG4gYmFja2dyb3VuZDogIzA0MDBkNDtcclxufVxyXG5cclxuLnR0OmhvdmVye1xyXG4gYmFja2dyb3VuZDogIzA0MDBkNDtcclxufSJdfQ== */"); /***/ }), /***/ "./src/app/pauta/pauta.component.ts": /*!******************************************!*\ !*** ./src/app/pauta/pauta.component.ts ***! \******************************************/ /*! no static exports found */ /***/ (function(module, exports, __webpack_require__) { "use strict"; var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) { var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d; if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc); else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r; return c > 3 && r && Object.defineProperty(target, key, r), r; }; var __metadata = (this && this.__metadata) || function (k, v) { if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v); }; var __importDefault = (this && this.__importDefault) || function (mod) { return (mod && mod.__esModule) ? mod : { "default": mod }; }; Object.defineProperty(exports, "__esModule", { value: true }); var cadastrar_pauta_component_1 = __webpack_require__(/*! ./../modals/cadastrar-pauta/cadastrar-pauta.component */ "./src/app/modals/cadastrar-pauta/cadastrar-pauta.component.ts"); var core_1 = __webpack_require__(/*! @angular/core */ "./node_modules/@angular/core/__ivy_ngcc__/fesm5/core.js"); var ng_bootstrap_1 = __webpack_require__(/*! @ng-bootstrap/ng-bootstrap */ "./node_modules/@ng-bootstrap/ng-bootstrap/__ivy_ngcc__/fesm5/ng-bootstrap.js"); var api_service_1 = __webpack_require__(/*! app/services/api.service */ "./src/app/services/api.service.ts"); var ngx_toastr_1 = __webpack_require__(/*! ngx-toastr */ "./node_modules/ngx-toastr/__ivy_ngcc__/fesm5/ngx-toastr.js"); var exclusoes_component_1 = __webpack_require__(/*! app/modals/exclusoes/exclusoes.component */ "./src/app/modals/exclusoes/exclusoes.component.ts"); var PautaComponent = /** @class */ (function () { function PautaComponent(modalService, service, toastrService) { var _this = this; this.modalService = modalService; this.service = service; this.toastrService = toastrService; this.off = 0; this.limit = 10; this.total = 0; this.items = []; this.page = 1; this.loading = false; this.permissao = 1; this.user = {}; this.onPageChange = function (pageNumber) { _this.off = (pageNumber - 1) * _this.limit; _this.getdados(); }; this.user = this.service.getUser(); } PautaComponent.prototype.ngOnInit = function () { this.getdados(); }; PautaComponent.prototype.open = function () { var _this = this; var modalRef = this.modalService.open(cadastrar_pauta_component_1.CadastrarPautaComponent, { size: 'lg' }); modalRef.componentInstance.title = 'Cadastrar pauta'; modalRef.componentInstance.tipo = 1; modalRef.componentInstance.passEntry.subscribe(function (receivedEntry) { _this.getdados(); }); }; PautaComponent.prototype.trocar_permissao = function (ev) { this.off = 0; this.page = 1; this.permissao = ev; this.getdados(); }; PautaComponent.prototype.getItems = function (ev) { this.off = 0; this.page = 1; this.getdados(); }; PautaComponent.prototype.alterar = function (p) { var _this = this; var modalRef = this.modalService.open(cadastrar_pauta_component_1.CadastrarPautaComponent, { size: 'lg' }); modalRef.componentInstance.title = 'Alterar pauta'; modalRef.componentInstance.tipo = 2; delete p.senha; modalRef.componentInstance.userData = p; modalRef.componentInstance.passEntry.subscribe(function (receivedEntry) { _this.getdados(); }); }; PautaComponent.prototype.excluir = function (p) { var _this = this; var modalRef = this.modalService.open(exclusoes_component_1.ExclusoesComponent, { size: 'lg' }); modalRef.componentInstance.title = 'Excluir pauta'; modalRef.componentInstance.tipo = 16; modalRef.componentInstance.userData = p; modalRef.componentInstance.passEntry.subscribe(function (receivedEntry) { _this.getdados(); }); }; PautaComponent.prototype.getdados = function () { var _this = this; this.loading = true; var dados = { permissao: this.permissao, limit: this.limit, offset: this.off, pesquisa: this.pesquisa }; this.service.getPauta(dados).then(function (result) { _this.loading = false; _this.items = result.dados; _this.total = result.total; }); }; PautaComponent.prototype.alterar_status = function (item) { var _this = this; if (item.status_pauta == 1) { item.status_pauta = 2; } else if (item.status_pauta !