@sapphire-ion/framework 1.2.41 → 1.2.43

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (495) hide show
  1. package/build.ps1 +39 -0
  2. package/ng-package.json +10 -0
  3. package/package.json +43 -47
  4. package/src/lib/classes/comparison/comparison-operator.ts +17 -0
  5. package/src/lib/classes/comparison/comparison-value-type.ts +34 -0
  6. package/src/lib/classes/comparison/comparison.ts +45 -0
  7. package/src/lib/classes/comparison/properties/bool-property.ts +16 -0
  8. package/src/lib/classes/comparison/properties/date-property.ts +28 -0
  9. package/src/lib/classes/comparison/properties/datetime-property.ts +28 -0
  10. package/src/lib/classes/comparison/properties/decimal-property.ts +28 -0
  11. package/src/lib/classes/comparison/properties/enum-property.ts +28 -0
  12. package/src/lib/classes/comparison/properties/implicit-property.ts +13 -0
  13. package/src/lib/classes/comparison/properties/int-property.ts +28 -0
  14. package/src/lib/classes/comparison/properties/long-property.ts +28 -0
  15. package/src/lib/classes/comparison/properties/string-property.ts +16 -0
  16. package/src/lib/classes/comparison/properties/time-property.ts +28 -0
  17. package/{lib/classes/credentials.d.ts → src/lib/classes/credentials.ts} +5 -5
  18. package/src/lib/classes/environment.ts +37 -0
  19. package/src/lib/classes/filters/view-filtros.ts +18 -0
  20. package/src/lib/classes/infinite-scroll.ts +112 -0
  21. package/src/lib/classes/inputs/table-field-form-builder.ts +12 -0
  22. package/src/lib/classes/inputs/table-field.ts +62 -0
  23. package/src/lib/classes/page-option.ts +8 -0
  24. package/src/lib/classes/routes/default-routing-factory.ts +24 -0
  25. package/src/lib/classes/routes/id-preloader-configuration.ts +21 -0
  26. package/src/lib/classes/routes/route-data.ts +9 -0
  27. package/{themes → src/lib}/compiled-styles.scss +2551 -2551
  28. package/src/lib/components/carousel/carousel-image/carousel-image.component.html +4 -0
  29. package/src/lib/components/carousel/carousel-image/carousel-image.component.ts +15 -0
  30. package/src/lib/components/carousel/carousel-item/carousel-item.component.html +3 -0
  31. package/src/lib/components/carousel/carousel-item/carousel-item.component.ts +14 -0
  32. package/src/lib/components/carousel/carousel.component.html +22 -0
  33. package/src/lib/components/carousel/carousel.component.ts +83 -0
  34. package/src/lib/components/carousel/carousel.module.ts +20 -0
  35. package/src/lib/components/carousel/i-carousel-item.component.ts +8 -0
  36. package/src/lib/components/content-block/content-block.component.html +6 -0
  37. package/src/lib/components/content-block/content-block.component.ts +25 -0
  38. package/src/lib/components/default/default-list/abstract-list.ts +56 -0
  39. package/src/lib/components/default/default-list/default-list.component.html +60 -0
  40. package/src/lib/components/default/default-list/default-list.component.ts +72 -0
  41. package/src/lib/components/default/default-list/header-list/header-list.component.html +32 -0
  42. package/src/lib/components/default/default-list/header-list/header-list.component.ts +85 -0
  43. package/src/lib/components/default/default-list/list.ts +127 -0
  44. package/src/lib/components/default/default-pagination/default-pagination.component.html +52 -0
  45. package/src/lib/components/default/default-pagination/default-pagination.component.ts +118 -0
  46. package/src/lib/components/default/default-table/default-table.component.html +104 -0
  47. package/src/lib/components/default/default-table/default-table.component.ts +255 -0
  48. package/src/lib/components/default/default-table/th-filter/th-filter.component.html +69 -0
  49. package/src/lib/components/default/default-table/th-filter/th-filter.component.ts +183 -0
  50. package/src/lib/components/default/default-view/abstract-view.ts +25 -0
  51. package/src/lib/components/default/default-view/default-view.component.html +111 -0
  52. package/src/lib/components/default/default-view/default-view.component.ts +44 -0
  53. package/src/lib/components/default/default-view/header-view/header-view.component.html +64 -0
  54. package/src/lib/components/default/default-view/header-view/header-view.component.ts +57 -0
  55. package/src/lib/components/default/default-view/view.ts +183 -0
  56. package/src/lib/components/default/default.module.ts +61 -0
  57. package/src/lib/components/default-page/default.page.html +63 -0
  58. package/src/lib/components/default-page/default.page.ts +84 -0
  59. package/src/lib/components/drag-drop-file/drag-drop-file.directive.ts +44 -0
  60. package/src/lib/components/drag-drop-file/drag-drop-file.module.ts +21 -0
  61. package/src/lib/components/drag-drop-file/drag-drop-overlay/drag-drop-overlay.component.html +5 -0
  62. package/src/lib/components/drag-drop-file/drag-drop-overlay/drag-drop-overlay.component.ts +17 -0
  63. package/src/lib/components/drawer/default-drawer-end/default-drawer-end.component.html +12 -0
  64. package/src/lib/components/drawer/default-drawer-end/default-drawer-end.component.ts +35 -0
  65. package/src/lib/components/drawer/drawer-group/drawer-group.component.html +79 -0
  66. package/src/lib/components/drawer/drawer-group/drawer-group.component.ts +49 -0
  67. package/src/lib/components/drawer/drawer.component.html +120 -0
  68. package/src/lib/components/drawer/drawer.component.ts +157 -0
  69. package/src/lib/components/drawer/menu.ts +20 -0
  70. package/src/lib/components/filter/filter.component.html +43 -0
  71. package/src/lib/components/filter/filter.component.ts +141 -0
  72. package/src/lib/components/http-responses-pages/forbidden-403/forbidden-403.component.html +35 -0
  73. package/src/lib/components/http-responses-pages/forbidden-403/forbidden-403.component.ts +19 -0
  74. package/src/lib/components/image/image.component.html +17 -0
  75. package/src/lib/components/image/image.component.ts +95 -0
  76. package/src/lib/components/info-popover/info-popover.component.html +23 -0
  77. package/src/lib/components/info-popover/info-popover.component.ts +75 -0
  78. package/src/lib/components/inputs/custom-input.ts +94 -0
  79. package/src/lib/components/inputs/input-bool/input-bool.component.html +26 -0
  80. package/src/lib/components/inputs/input-bool/input-bool.component.ts +39 -0
  81. package/src/lib/components/inputs/input-bool/input-bool.configuration.ts +14 -0
  82. package/src/lib/components/inputs/input-cep/input-cep.component.html +27 -0
  83. package/src/lib/components/inputs/input-cep/input-cep.component.ts +41 -0
  84. package/src/lib/components/inputs/input-cep/input-cep.configuration.ts +4 -0
  85. package/src/lib/components/inputs/input-color/input-color.component.html +79 -0
  86. package/src/lib/components/inputs/input-color/input-color.component.ts +544 -0
  87. package/{lib/components/inputs/input-configuration.d.ts → src/lib/components/inputs/input-configuration.ts} +23 -10
  88. package/src/lib/components/inputs/input-cpf-cnpj/input-cpf-cnpj.component.html +28 -0
  89. package/src/lib/components/inputs/input-cpf-cnpj/input-cpf-cnpj.component.ts +99 -0
  90. package/src/lib/components/inputs/input-cpf-cnpj/input-cpf-cnpj.configuration.ts +4 -0
  91. package/src/lib/components/inputs/input-date/input-date.component.html +88 -0
  92. package/src/lib/components/inputs/input-date/input-date.component.ts +241 -0
  93. package/src/lib/components/inputs/input-date/input-date.configuration.ts +6 -0
  94. package/src/lib/components/inputs/input-decimal/input-decimal.component.html +31 -0
  95. package/src/lib/components/inputs/input-decimal/input-decimal.component.ts +249 -0
  96. package/src/lib/components/inputs/input-decimal/input-decimal.configuration.ts +47 -0
  97. package/src/lib/components/inputs/input-default-configurations.ts +15 -0
  98. package/src/lib/components/inputs/input-file/download-button/download-button.component.html +56 -0
  99. package/src/lib/components/inputs/input-file/download-button/download-button.component.ts +89 -0
  100. package/src/lib/components/inputs/input-file/input-file.component.html +59 -0
  101. package/src/lib/components/inputs/input-file/input-file.component.ts +96 -0
  102. package/src/lib/components/inputs/input-file/input-file.configuration.ts +25 -0
  103. package/src/lib/components/inputs/input-icon/fluenticons.ts +3733 -0
  104. package/src/lib/components/inputs/input-icon/input-icon.component.html +8 -0
  105. package/src/lib/components/inputs/input-icon/input-icon.component.ts +52 -0
  106. package/src/lib/components/inputs/input-icon/ionicons.ts +1359 -0
  107. package/src/lib/components/inputs/input-provider-factory.ts +12 -0
  108. package/src/lib/components/inputs/input-select/directives/sion-label-template.directive.ts +19 -0
  109. package/src/lib/components/inputs/input-select/directives/sion-option-template.directive.ts +16 -0
  110. package/src/lib/components/inputs/input-select/directives/sion-placeholder-template.directive.ts +19 -0
  111. package/src/lib/components/inputs/input-select/input-select.component.html +176 -0
  112. package/src/lib/components/inputs/input-select/input-select.component.ts +361 -0
  113. package/src/lib/components/inputs/input-select/input.select.configuration.ts +292 -0
  114. package/src/lib/components/inputs/input-string/input-string.component.html +27 -0
  115. package/src/lib/components/inputs/input-string/input-string.component.ts +31 -0
  116. package/src/lib/components/inputs/input-string/input-string.configuration.ts +18 -0
  117. package/src/lib/components/inputs/input-telefone/input-telefone.component.html +29 -0
  118. package/src/lib/components/inputs/input-telefone/input-telefone.component.ts +63 -0
  119. package/src/lib/components/inputs/input-telefone/input-telefone.configuration.ts +8 -0
  120. package/src/lib/components/inputs/input-textarea/input-textarea.component.html +27 -0
  121. package/src/lib/components/inputs/input-textarea/input-textarea.component.ts +31 -0
  122. package/src/lib/components/inputs/input-textarea/input-textarea.configuration.ts +7 -0
  123. package/src/lib/components/inputs/input-type.ts +22 -0
  124. package/src/lib/components/inputs/input-validators.ts +111 -0
  125. package/src/lib/components/inputs/inputs.module.ts +74 -0
  126. package/src/lib/components/loading/loading.component.html +28 -0
  127. package/src/lib/components/loading/loading.component.ts +29 -0
  128. package/src/lib/components/login/login-admin/login-admin.component.html +28 -0
  129. package/src/lib/components/login/login-admin/login-admin.component.ts +51 -0
  130. package/src/lib/components/login/login.component.html +104 -0
  131. package/src/lib/components/login/login.component.ts +96 -0
  132. package/src/lib/components/main-content/main-content.component.html +145 -0
  133. package/src/lib/components/main-content/main-content.component.ts +93 -0
  134. package/src/lib/components/popover/sion-popover/sion-popover.component.html +21 -0
  135. package/src/lib/components/popover/sion-popover/sion-popover.component.ts +182 -0
  136. package/src/lib/components/popover/sion-popover.module.ts +12 -0
  137. package/src/lib/components/sion-card/sion-card.component.html +12 -0
  138. package/src/lib/components/sion-card/sion-card.component.ts +23 -0
  139. package/src/lib/components/stepper/step/step.component.html +11 -0
  140. package/src/lib/components/stepper/step/step.component.ts +44 -0
  141. package/src/lib/components/stepper/stepper.component.html +3 -0
  142. package/src/lib/components/stepper/stepper.component.ts +37 -0
  143. package/src/lib/components/stepper/stepper.module.ts +15 -0
  144. package/src/lib/components/tabs/tab/tab.component.html +8 -0
  145. package/src/lib/components/tabs/tab/tab.component.ts +28 -0
  146. package/src/lib/components/tabs/tabs/tabs.component.html +14 -0
  147. package/src/lib/components/tabs/tabs/tabs.component.ts +42 -0
  148. package/src/lib/components/tabs/tabs.module.ts +15 -0
  149. package/src/lib/components/text-tooltip/text-tooltip.component.html +8 -0
  150. package/src/lib/components/text-tooltip/text-tooltip.component.scss +0 -0
  151. package/src/lib/components/text-tooltip/text-tooltip.component.ts +45 -0
  152. package/src/lib/components/tooltip/tooltip.component.html +53 -0
  153. package/src/lib/components/tooltip/tooltip.component.ts +16 -0
  154. package/src/lib/core.module.ts +29 -0
  155. package/src/lib/directives/ng-var.directive.ts +26 -0
  156. package/src/lib/guards/auth.guard.ts +19 -0
  157. package/src/lib/guards/error.interceptor.ts +108 -0
  158. package/src/lib/guards/token.interceptor.ts +28 -0
  159. package/src/lib/index.ts +190 -0
  160. package/src/lib/pipes/secure.pipe.ts +39 -0
  161. package/src/lib/services/auth.service.ts +153 -0
  162. package/src/lib/services/crypto.service.ts +164 -0
  163. package/src/lib/services/environment.service.ts +17 -0
  164. package/src/lib/services/generic.service.ts +85 -0
  165. package/src/lib/services/modal-focus-trap.service.ts +65 -0
  166. package/src/lib/services/popover-focus-trap.service.ts +65 -0
  167. package/src/lib/services/route/route.cache.service.ts +17 -0
  168. package/src/lib/services/route/route.provider.service.ts +49 -0
  169. package/src/lib/services/usuario.service.ts +44 -0
  170. package/src/lib/services/utils.service.ts +216 -0
  171. package/src/lib/services/web/api-url-provider.service.ts +48 -0
  172. package/src/lib/services/web/http.ativo.service.ts +37 -0
  173. package/src/lib/services/web/http.service.ts +193 -0
  174. package/src/lib/services/web/storage.service.ts +206 -0
  175. package/src/public-api.ts +5 -0
  176. package/tailwind.config.js +27 -0
  177. package/tsconfig.lib.json +29 -0
  178. package/tsconfig.lib.prod.json +23 -0
  179. package/tsconfig.spec.json +27 -0
  180. package/esm2022/lib/classes/comparison/comparison-operator.mjs +0 -18
  181. package/esm2022/lib/classes/comparison/comparison-value-type.mjs +0 -25
  182. package/esm2022/lib/classes/comparison/comparison.mjs +0 -41
  183. package/esm2022/lib/classes/comparison/properties/bool-property.mjs +0 -15
  184. package/esm2022/lib/classes/comparison/properties/date-property.mjs +0 -27
  185. package/esm2022/lib/classes/comparison/properties/datetime-property.mjs +0 -27
  186. package/esm2022/lib/classes/comparison/properties/decimal-property.mjs +0 -27
  187. package/esm2022/lib/classes/comparison/properties/enum-property.mjs +0 -27
  188. package/esm2022/lib/classes/comparison/properties/implicit-property.mjs +0 -12
  189. package/esm2022/lib/classes/comparison/properties/int-property.mjs +0 -27
  190. package/esm2022/lib/classes/comparison/properties/long-property.mjs +0 -27
  191. package/esm2022/lib/classes/comparison/properties/string-property.mjs +0 -15
  192. package/esm2022/lib/classes/comparison/properties/time-property.mjs +0 -27
  193. package/esm2022/lib/classes/credentials.mjs +0 -2
  194. package/esm2022/lib/classes/environment.mjs +0 -34
  195. package/esm2022/lib/classes/filters/view-filtros.mjs +0 -18
  196. package/esm2022/lib/classes/infinite-scroll.mjs +0 -90
  197. package/esm2022/lib/classes/inputs/table-field-form-builder.mjs +0 -10
  198. package/esm2022/lib/classes/inputs/table-field.mjs +0 -79
  199. package/esm2022/lib/classes/page-option.mjs +0 -2
  200. package/esm2022/lib/classes/routes/default-routing-factory.mjs +0 -23
  201. package/esm2022/lib/classes/routes/id-preloader-configuration.mjs +0 -22
  202. package/esm2022/lib/classes/routes/route-data.mjs +0 -9
  203. package/esm2022/lib/components/carousel/carousel-image/carousel-image.component.mjs +0 -18
  204. package/esm2022/lib/components/carousel/carousel-item/carousel-item.component.mjs +0 -15
  205. package/esm2022/lib/components/carousel/carousel.component.mjs +0 -79
  206. package/esm2022/lib/components/carousel/carousel.module.mjs +0 -31
  207. package/esm2022/lib/components/carousel/i-carousel-item.component.mjs +0 -16
  208. package/esm2022/lib/components/content-block/content-block.component.mjs +0 -27
  209. package/esm2022/lib/components/default/default-list/abstract-list.mjs +0 -49
  210. package/esm2022/lib/components/default/default-list/default-list.component.mjs +0 -95
  211. package/esm2022/lib/components/default/default-list/header-list/header-list.component.mjs +0 -98
  212. package/esm2022/lib/components/default/default-list/list.mjs +0 -120
  213. package/esm2022/lib/components/default/default-pagination/default-pagination.component.mjs +0 -123
  214. package/esm2022/lib/components/default/default-table/default-table.component.mjs +0 -216
  215. package/esm2022/lib/components/default/default-table/th-filter/th-filter.component.mjs +0 -206
  216. package/esm2022/lib/components/default/default-view/abstract-view.mjs +0 -22
  217. package/esm2022/lib/components/default/default-view/default-view.component.mjs +0 -63
  218. package/esm2022/lib/components/default/default-view/header-view/header-view.component.mjs +0 -78
  219. package/esm2022/lib/components/default/default-view/view.mjs +0 -188
  220. package/esm2022/lib/components/default/default.module.mjs +0 -98
  221. package/esm2022/lib/components/default-page/default.page.mjs +0 -75
  222. package/esm2022/lib/components/drag-drop-file/drag-drop-file.directive.mjs +0 -60
  223. package/esm2022/lib/components/drag-drop-file/drag-drop-file.module.mjs +0 -31
  224. package/esm2022/lib/components/drag-drop-file/drag-drop-overlay/drag-drop-overlay.component.mjs +0 -15
  225. package/esm2022/lib/components/drawer/default-drawer-end/default-drawer-end.component.mjs +0 -34
  226. package/esm2022/lib/components/drawer/drawer-group/drawer-group.component.mjs +0 -52
  227. package/esm2022/lib/components/drawer/drawer.component.mjs +0 -156
  228. package/esm2022/lib/components/drawer/menu.mjs +0 -15
  229. package/esm2022/lib/components/filter/filter.component.mjs +0 -145
  230. package/esm2022/lib/components/http-responses-pages/forbidden-403/forbidden-403.component.mjs +0 -17
  231. package/esm2022/lib/components/image/image.component.mjs +0 -91
  232. package/esm2022/lib/components/info-popover/info-popover.component.mjs +0 -91
  233. package/esm2022/lib/components/inputs/custom-input.mjs +0 -85
  234. package/esm2022/lib/components/inputs/input-bool/input-bool.component.mjs +0 -46
  235. package/esm2022/lib/components/inputs/input-bool/input-bool.configuration.mjs +0 -16
  236. package/esm2022/lib/components/inputs/input-cep/input-cep.component.mjs +0 -50
  237. package/esm2022/lib/components/inputs/input-cep/input-cep.configuration.mjs +0 -4
  238. package/esm2022/lib/components/inputs/input-color/input-color.component.mjs +0 -481
  239. package/esm2022/lib/components/inputs/input-configuration.mjs +0 -2
  240. package/esm2022/lib/components/inputs/input-cpf-cnpj/input-cpf-cnpj.component.mjs +0 -116
  241. package/esm2022/lib/components/inputs/input-cpf-cnpj/input-cpf-cnpj.configuration.mjs +0 -6
  242. package/esm2022/lib/components/inputs/input-date/input-date.component.mjs +0 -216
  243. package/esm2022/lib/components/inputs/input-date/input-date.configuration.mjs +0 -8
  244. package/esm2022/lib/components/inputs/input-decimal/input-decimal.component.mjs +0 -243
  245. package/esm2022/lib/components/inputs/input-decimal/input-decimal.configuration.mjs +0 -50
  246. package/esm2022/lib/components/inputs/input-default-configurations.mjs +0 -14
  247. package/esm2022/lib/components/inputs/input-file/download-button/download-button.component.mjs +0 -93
  248. package/esm2022/lib/components/inputs/input-file/input-file.component.mjs +0 -101
  249. package/esm2022/lib/components/inputs/input-file/input-file.configuration.mjs +0 -24
  250. package/esm2022/lib/components/inputs/input-icon/fluenticons.mjs +0 -3734
  251. package/esm2022/lib/components/inputs/input-icon/input-icon.component.mjs +0 -60
  252. package/esm2022/lib/components/inputs/input-icon/ionicons.mjs +0 -1360
  253. package/esm2022/lib/components/inputs/input-provider-factory.mjs +0 -12
  254. package/esm2022/lib/components/inputs/input-select/directives/sion-label-template.directive.mjs +0 -16
  255. package/esm2022/lib/components/inputs/input-select/directives/sion-option-template.directive.mjs +0 -16
  256. package/esm2022/lib/components/inputs/input-select/directives/sion-placeholder-template.directive.mjs +0 -16
  257. package/esm2022/lib/components/inputs/input-select/input-select.component.mjs +0 -373
  258. package/esm2022/lib/components/inputs/input-select/input.select.configuration.mjs +0 -229
  259. package/esm2022/lib/components/inputs/input-string/input-string.component.mjs +0 -41
  260. package/esm2022/lib/components/inputs/input-string/input-string.configuration.mjs +0 -18
  261. package/esm2022/lib/components/inputs/input-telefone/input-telefone.component.mjs +0 -74
  262. package/esm2022/lib/components/inputs/input-telefone/input-telefone.configuration.mjs +0 -12
  263. package/esm2022/lib/components/inputs/input-textarea/input-textarea.component.mjs +0 -41
  264. package/esm2022/lib/components/inputs/input-textarea/input-textarea.configuration.mjs +0 -7
  265. package/esm2022/lib/components/inputs/input-type.mjs +0 -24
  266. package/esm2022/lib/components/inputs/input-validators.mjs +0 -121
  267. package/esm2022/lib/components/inputs/inputs.module.mjs +0 -133
  268. package/esm2022/lib/components/loading/loading.component.mjs +0 -34
  269. package/esm2022/lib/components/login/login-admin/login-admin.component.mjs +0 -52
  270. package/esm2022/lib/components/login/login.component.mjs +0 -99
  271. package/esm2022/lib/components/main-content/main-content.component.mjs +0 -100
  272. package/esm2022/lib/components/popover/sion-popover/sion-popover.component.mjs +0 -182
  273. package/esm2022/lib/components/popover/sion-popover.module.mjs +0 -21
  274. package/esm2022/lib/components/sion-card/sion-card.component.mjs +0 -26
  275. package/esm2022/lib/components/stepper/step/step.component.mjs +0 -43
  276. package/esm2022/lib/components/stepper/stepper.component.mjs +0 -36
  277. package/esm2022/lib/components/stepper/stepper.module.mjs +0 -25
  278. package/esm2022/lib/components/tabs/tab/tab.component.mjs +0 -41
  279. package/esm2022/lib/components/tabs/tabs/tabs.component.mjs +0 -56
  280. package/esm2022/lib/components/tabs/tabs.module.mjs +0 -22
  281. package/esm2022/lib/components/text-tooltip/text-tooltip.component.mjs +0 -51
  282. package/esm2022/lib/components/tooltip/tooltip.component.mjs +0 -21
  283. package/esm2022/lib/core.module.mjs +0 -38
  284. package/esm2022/lib/directives/ng-var.directive.mjs +0 -29
  285. package/esm2022/lib/guards/auth.guard.mjs +0 -26
  286. package/esm2022/lib/guards/error.interceptor.mjs +0 -107
  287. package/esm2022/lib/guards/token.interceptor.mjs +0 -25
  288. package/esm2022/lib/index.mjs +0 -187
  289. package/esm2022/lib/pipes/secure.pipe.mjs +0 -42
  290. package/esm2022/lib/services/auth.service.mjs +0 -150
  291. package/esm2022/lib/services/environment.service.mjs +0 -26
  292. package/esm2022/lib/services/generic.service.mjs +0 -84
  293. package/esm2022/lib/services/modal-focus-trap.service.mjs +0 -62
  294. package/esm2022/lib/services/popover-focus-trap.service.mjs +0 -62
  295. package/esm2022/lib/services/route/route.cache.service.mjs +0 -15
  296. package/esm2022/lib/services/route/route.provider.service.mjs +0 -42
  297. package/esm2022/lib/services/usuario.service.mjs +0 -49
  298. package/esm2022/lib/services/utils.service.mjs +0 -190
  299. package/esm2022/lib/services/web/api-url-provider.service.mjs +0 -29
  300. package/esm2022/lib/services/web/http.ativo.service.mjs +0 -37
  301. package/esm2022/lib/services/web/http.service.mjs +0 -177
  302. package/esm2022/lib/services/web/storage.service.mjs +0 -183
  303. package/esm2022/public-api.mjs +0 -5
  304. package/esm2022/sapphire-ion-framework.mjs +0 -5
  305. package/fesm2022/sapphire-ion-framework.mjs +0 -12209
  306. package/fesm2022/sapphire-ion-framework.mjs.map +0 -1
  307. package/index.d.ts +0 -5
  308. package/lib/classes/comparison/comparison-operator.d.ts +0 -9
  309. package/lib/classes/comparison/comparison-value-type.d.ts +0 -23
  310. package/lib/classes/comparison/comparison.d.ts +0 -25
  311. package/lib/classes/comparison/properties/bool-property.d.ts +0 -7
  312. package/lib/classes/comparison/properties/date-property.d.ts +0 -11
  313. package/lib/classes/comparison/properties/datetime-property.d.ts +0 -11
  314. package/lib/classes/comparison/properties/decimal-property.d.ts +0 -11
  315. package/lib/classes/comparison/properties/enum-property.d.ts +0 -11
  316. package/lib/classes/comparison/properties/implicit-property.d.ts +0 -6
  317. package/lib/classes/comparison/properties/int-property.d.ts +0 -11
  318. package/lib/classes/comparison/properties/long-property.d.ts +0 -11
  319. package/lib/classes/comparison/properties/string-property.d.ts +0 -7
  320. package/lib/classes/comparison/properties/time-property.d.ts +0 -11
  321. package/lib/classes/environment.d.ts +0 -14
  322. package/lib/classes/filters/view-filtros.d.ts +0 -10
  323. package/lib/classes/infinite-scroll.d.ts +0 -26
  324. package/lib/classes/inputs/table-field-form-builder.d.ts +0 -5
  325. package/lib/classes/inputs/table-field.d.ts +0 -20
  326. package/lib/classes/page-option.d.ts +0 -7
  327. package/lib/classes/routes/default-routing-factory.d.ts +0 -8
  328. package/lib/classes/routes/id-preloader-configuration.d.ts +0 -28
  329. package/lib/classes/routes/route-data.d.ts +0 -5
  330. package/lib/components/carousel/carousel-image/carousel-image.component.d.ts +0 -10
  331. package/lib/components/carousel/carousel-item/carousel-item.component.d.ts +0 -9
  332. package/lib/components/carousel/carousel.component.d.ts +0 -32
  333. package/lib/components/carousel/carousel.module.d.ts +0 -12
  334. package/lib/components/carousel/i-carousel-item.component.d.ts +0 -9
  335. package/lib/components/content-block/content-block.component.d.ts +0 -15
  336. package/lib/components/default/default-list/abstract-list.d.ts +0 -21
  337. package/lib/components/default/default-list/default-list.component.d.ts +0 -47
  338. package/lib/components/default/default-list/header-list/header-list.component.d.ts +0 -45
  339. package/lib/components/default/default-list/list.d.ts +0 -40
  340. package/lib/components/default/default-pagination/default-pagination.component.d.ts +0 -36
  341. package/lib/components/default/default-table/default-table.component.d.ts +0 -90
  342. package/lib/components/default/default-table/th-filter/th-filter.component.d.ts +0 -23
  343. package/lib/components/default/default-view/abstract-view.d.ts +0 -18
  344. package/lib/components/default/default-view/default-view.component.d.ts +0 -32
  345. package/lib/components/default/default-view/header-view/header-view.component.d.ts +0 -29
  346. package/lib/components/default/default-view/view.d.ts +0 -59
  347. package/lib/components/default/default.module.d.ts +0 -31
  348. package/lib/components/default-page/default.page.d.ts +0 -35
  349. package/lib/components/drag-drop-file/drag-drop-file.directive.d.ts +0 -14
  350. package/lib/components/drag-drop-file/drag-drop-file.module.d.ts +0 -10
  351. package/lib/components/drag-drop-file/drag-drop-overlay/drag-drop-overlay.component.d.ts +0 -9
  352. package/lib/components/drawer/default-drawer-end/default-drawer-end.component.d.ts +0 -13
  353. package/lib/components/drawer/drawer-group/drawer-group.component.d.ts +0 -22
  354. package/lib/components/drawer/drawer.component.d.ts +0 -31
  355. package/lib/components/drawer/menu.d.ts +0 -9
  356. package/lib/components/filter/filter.component.d.ts +0 -29
  357. package/lib/components/http-responses-pages/forbidden-403/forbidden-403.component.d.ts +0 -8
  358. package/lib/components/image/image.component.d.ts +0 -23
  359. package/lib/components/info-popover/info-popover.component.d.ts +0 -15
  360. package/lib/components/inputs/custom-input.d.ts +0 -40
  361. package/lib/components/inputs/input-bool/input-bool.component.d.ts +0 -16
  362. package/lib/components/inputs/input-bool/input-bool.configuration.d.ts +0 -17
  363. package/lib/components/inputs/input-cep/input-cep.component.d.ts +0 -18
  364. package/lib/components/inputs/input-cep/input-cep.configuration.d.ts +0 -3
  365. package/lib/components/inputs/input-color/input-color.component.d.ts +0 -77
  366. package/lib/components/inputs/input-cpf-cnpj/input-cpf-cnpj.component.d.ts +0 -19
  367. package/lib/components/inputs/input-cpf-cnpj/input-cpf-cnpj.configuration.d.ts +0 -5
  368. package/lib/components/inputs/input-date/input-date.component.d.ts +0 -60
  369. package/lib/components/inputs/input-date/input-date.configuration.d.ts +0 -7
  370. package/lib/components/inputs/input-decimal/input-decimal.component.d.ts +0 -26
  371. package/lib/components/inputs/input-decimal/input-decimal.configuration.d.ts +0 -28
  372. package/lib/components/inputs/input-default-configurations.d.ts +0 -13
  373. package/lib/components/inputs/input-file/download-button/download-button.component.d.ts +0 -37
  374. package/lib/components/inputs/input-file/input-file.component.d.ts +0 -27
  375. package/lib/components/inputs/input-file/input-file.configuration.d.ts +0 -8
  376. package/lib/components/inputs/input-icon/fluenticons.d.ts +0 -1
  377. package/lib/components/inputs/input-icon/input-icon.component.d.ts +0 -20
  378. package/lib/components/inputs/input-icon/ionicons.d.ts +0 -1
  379. package/lib/components/inputs/input-provider-factory.d.ts +0 -4
  380. package/lib/components/inputs/input-select/directives/sion-label-template.directive.d.ts +0 -18
  381. package/lib/components/inputs/input-select/directives/sion-option-template.directive.d.ts +0 -14
  382. package/lib/components/inputs/input-select/directives/sion-placeholder-template.directive.d.ts +0 -18
  383. package/lib/components/inputs/input-select/input-select.component.d.ts +0 -83
  384. package/lib/components/inputs/input-select/input.select.configuration.d.ts +0 -122
  385. package/lib/components/inputs/input-string/input-string.component.d.ts +0 -14
  386. package/lib/components/inputs/input-string/input-string.configuration.d.ts +0 -14
  387. package/lib/components/inputs/input-telefone/input-telefone.component.d.ts +0 -19
  388. package/lib/components/inputs/input-telefone/input-telefone.configuration.d.ts +0 -9
  389. package/lib/components/inputs/input-textarea/input-textarea.component.d.ts +0 -14
  390. package/lib/components/inputs/input-textarea/input-textarea.configuration.d.ts +0 -4
  391. package/lib/components/inputs/input-type.d.ts +0 -22
  392. package/lib/components/inputs/input-validators.d.ts +0 -25
  393. package/lib/components/inputs/inputs.module.d.ts +0 -33
  394. package/lib/components/loading/loading.component.d.ts +0 -18
  395. package/lib/components/login/login-admin/login-admin.component.d.ts +0 -20
  396. package/lib/components/login/login.component.d.ts +0 -29
  397. package/lib/components/main-content/main-content.component.d.ts +0 -27
  398. package/lib/components/popover/sion-popover/sion-popover.component.d.ts +0 -43
  399. package/lib/components/popover/sion-popover.module.d.ts +0 -9
  400. package/lib/components/sion-card/sion-card.component.d.ts +0 -11
  401. package/lib/components/stepper/step/step.component.d.ts +0 -15
  402. package/lib/components/stepper/stepper.component.d.ts +0 -14
  403. package/lib/components/stepper/stepper.module.d.ts +0 -10
  404. package/lib/components/tabs/tab/tab.component.d.ts +0 -19
  405. package/lib/components/tabs/tabs/tabs.component.d.ts +0 -18
  406. package/lib/components/tabs/tabs.module.d.ts +0 -12
  407. package/lib/components/text-tooltip/text-tooltip.component.d.ts +0 -16
  408. package/lib/components/tooltip/tooltip.component.d.ts +0 -7
  409. package/lib/core.module.d.ts +0 -16
  410. package/lib/directives/ng-var.directive.d.ts +0 -12
  411. package/lib/guards/auth.guard.d.ts +0 -11
  412. package/lib/guards/error.interceptor.d.ts +0 -32
  413. package/lib/guards/token.interceptor.d.ts +0 -11
  414. package/lib/index.d.ts +0 -117
  415. package/lib/pipes/secure.pipe.d.ts +0 -15
  416. package/lib/services/auth.service.d.ts +0 -47
  417. package/lib/services/environment.service.d.ts +0 -10
  418. package/lib/services/generic.service.d.ts +0 -22
  419. package/lib/services/modal-focus-trap.service.d.ts +0 -13
  420. package/lib/services/popover-focus-trap.service.d.ts +0 -13
  421. package/lib/services/route/route.cache.service.d.ts +0 -7
  422. package/lib/services/route/route.provider.service.d.ts +0 -13
  423. package/lib/services/usuario.service.d.ts +0 -21
  424. package/lib/services/utils.service.d.ts +0 -53
  425. package/lib/services/web/api-url-provider.service.d.ts +0 -13
  426. package/lib/services/web/http.ativo.service.d.ts +0 -20
  427. package/lib/services/web/http.service.d.ts +0 -59
  428. package/lib/services/web/storage.service.d.ts +0 -46
  429. package/public-api.d.ts +0 -1
  430. /package/{themes → src/lib}/components/carousel/carousel-image/carousel-image.component.scss +0 -0
  431. /package/{themes → src/lib}/components/carousel/carousel-item/carousel-item.component.scss +0 -0
  432. /package/{themes → src/lib}/components/carousel/carousel.component.scss +0 -0
  433. /package/{themes → src/lib}/components/content-block/content-block.component.scss +0 -0
  434. /package/{themes → src/lib}/components/default/default-list/default-list.component.scss +0 -0
  435. /package/{themes → src/lib}/components/default/default-list/header-list/header-list.component.scss +0 -0
  436. /package/{themes → src/lib}/components/default/default-pagination/default-pagination.component.scss +0 -0
  437. /package/{themes → src/lib}/components/default/default-table/default-table.component.scss +0 -0
  438. /package/{themes → src/lib}/components/default/default-table/th-filter/th-filter.component.scss +0 -0
  439. /package/{themes → src/lib}/components/default/default-view/default-view.component.scss +0 -0
  440. /package/{themes → src/lib}/components/default/default-view/header-view/header-view.component.scss +0 -0
  441. /package/{themes → src/lib}/components/default-page/default.page.scss +0 -0
  442. /package/{themes → src/lib}/components/drag-drop-file/drag-drop-overlay/drag-drop-overlay.component.scss +0 -0
  443. /package/{themes → src/lib}/components/drawer/default-drawer-end/default-drawer-end.component.scss +0 -0
  444. /package/{themes → src/lib}/components/drawer/drawer-group/drawer-group.component.scss +0 -0
  445. /package/{themes → src/lib}/components/drawer/drawer.component.scss +0 -0
  446. /package/{themes → src/lib}/components/filter/filter.component.scss +0 -0
  447. /package/{themes → src/lib}/components/http-responses-pages/forbidden-403/forbidden-403.component.scss +0 -0
  448. /package/{themes → src/lib}/components/image/image.component.scss +0 -0
  449. /package/{themes → src/lib}/components/info-popover/info-popover.component.scss +0 -0
  450. /package/{themes → src/lib}/components/inputs/input-bool/input-bool.component.scss +0 -0
  451. /package/{themes → src/lib}/components/inputs/input-cep/input-cep.component.scss +0 -0
  452. /package/{themes → src/lib}/components/inputs/input-color/input-color.component.scss +0 -0
  453. /package/{themes/components/inputs/input-cpf-cnpj/input-cpf-cnpj.component.scss → src/lib/components/inputs/input-color/input-color.configuration.ts} +0 -0
  454. /package/{themes/components/inputs/input-icon/input-icon.component.scss → src/lib/components/inputs/input-cpf-cnpj/input-cpf-cnpj.component.scss} +0 -0
  455. /package/{themes → src/lib}/components/inputs/input-date/input-date.component.scss +0 -0
  456. /package/{themes → src/lib}/components/inputs/input-decimal/input-decimal.component.scss +0 -0
  457. /package/{themes → src/lib}/components/inputs/input-file/download-button/download-button.component.scss +0 -0
  458. /package/{themes → src/lib}/components/inputs/input-file/input-file.component.scss +0 -0
  459. /package/{themes/components/inputs/input-string/input-string.component.scss → src/lib/components/inputs/input-icon/input-icon.component.scss} +0 -0
  460. /package/{themes → src/lib}/components/inputs/input-select/input-select.component.scss +0 -0
  461. /package/{themes/components/inputs/input-telefone/input-telefone.component.scss → src/lib/components/inputs/input-string/input-string.component.scss} +0 -0
  462. /package/{themes/components/loading/loading.component.scss → src/lib/components/inputs/input-telefone/input-telefone.component.scss} +0 -0
  463. /package/{themes → src/lib}/components/inputs/input-textarea/input-textarea.component.scss +0 -0
  464. /package/{themes → src/lib}/components/inputs/inputs.scss +0 -0
  465. /package/{themes/components/sion-card/sion-card.component.scss → src/lib/components/loading/loading.component.scss} +0 -0
  466. /package/{themes → src/lib}/components/login/login-admin/login-admin.component.scss +0 -0
  467. /package/{themes → src/lib}/components/login/login.component.scss +0 -0
  468. /package/{themes → src/lib}/components/main-content/main-content.component.scss +0 -0
  469. /package/{themes → src/lib}/components/popover/sion-popover/sion-popover.component.scss +0 -0
  470. /package/{themes/components/stepper/stepper.component.scss → src/lib/components/sion-card/sion-card.component.scss} +0 -0
  471. /package/{themes → src/lib}/components/stepper/step/step.component.scss +0 -0
  472. /package/{themes/components/tabs/tab/tab.component.scss → src/lib/components/stepper/stepper.component.scss} +0 -0
  473. /package/{themes/components/text-tooltip/text-tooltip.component.scss → src/lib/components/tabs/tab/tab.component.scss} +0 -0
  474. /package/{themes → src/lib}/components/tabs/tabs/tabs.component.scss +0 -0
  475. /package/{themes → src/lib}/components/tooltip/tooltip.component.scss +0 -0
  476. /package/{themes → src/lib}/styles/components.scss +0 -0
  477. /package/{themes → src/lib}/styles/core.styles.scss +0 -0
  478. /package/{themes → src/lib}/styles/ionic/ion-action-sheet.scss +0 -0
  479. /package/{themes → src/lib}/styles/ionic/ion-alert.scss +0 -0
  480. /package/{themes → src/lib}/styles/ionic/ion-button.scss +0 -0
  481. /package/{themes → src/lib}/styles/ionic/ion-card.scss +0 -0
  482. /package/{themes → src/lib}/styles/ionic/ion-content.scss +0 -0
  483. /package/{themes → src/lib}/styles/ionic/ion-datetime.scss +0 -0
  484. /package/{themes → src/lib}/styles/ionic/ion-item.scss +0 -0
  485. /package/{themes → src/lib}/styles/ionic/ion-list.scss +0 -0
  486. /package/{themes → src/lib}/styles/ionic/ion-modal.scss +0 -0
  487. /package/{themes → src/lib}/styles/ionic/ion-popover.scss +0 -0
  488. /package/{themes → src/lib}/styles/ionic/ion-progress-bar.scss +0 -0
  489. /package/{themes → src/lib}/styles/ionic/ion-searchbar.scss +0 -0
  490. /package/{themes → src/lib}/styles/ionic/ion-toast.scss +0 -0
  491. /package/{themes → src/lib}/styles/ionic.scss +0 -0
  492. /package/{themes → src/lib}/styles/login-default.scss +0 -0
  493. /package/{themes → src/lib}/styles/mixins.scss +0 -0
  494. /package/{themes → src/lib}/styles/styles.scss +0 -0
  495. /package/{themes → src/lib}/styles/translucid.scss +0 -0
@@ -1,98 +0,0 @@
1
- import { NgModule } from '@angular/core';
2
- import { CommonModule } from '@angular/common';
3
- import { FormsModule, ReactiveFormsModule } from '@angular/forms';
4
- import { IonicModule } from '@ionic/angular';
5
- import { RouterLink, RouterLinkWithHref, RouterModule, RouterOutlet } from '@angular/router';
6
- import { NgVarDirective } from '../../directives/ng-var.directive';
7
- import { InputsModule } from '../inputs/inputs.module';
8
- import { LoadingComponent } from '../loading/loading.component';
9
- import { DefaultListComponent } from './default-list/default-list.component';
10
- import { DefaultViewComponent } from './default-view/default-view.component';
11
- import { HeaderListComponent } from './default-list/header-list/header-list.component';
12
- import { HeaderViewComponent } from './default-view/header-view/header-view.component';
13
- import { DefaultTableComponent } from './default-table/default-table.component';
14
- import { DefaultPaginationComponent } from './default-pagination/default-pagination.component';
15
- import { ThFilterComponent } from './default-table/th-filter/th-filter.component';
16
- import { SIonPopoverModule } from '../popover/sion-popover.module';
17
- import { ContentBlockComponent } from '../content-block/content-block.component';
18
- import { CdkDragPlaceholder } from "@angular/cdk/drag-drop";
19
- import * as i0 from "@angular/core";
20
- const lstComponents = [
21
- HeaderListComponent,
22
- DefaultListComponent,
23
- DefaultViewComponent,
24
- HeaderViewComponent,
25
- DefaultTableComponent,
26
- DefaultPaginationComponent,
27
- ThFilterComponent
28
- ];
29
- /** Modulo parão, inclui os seguiintes componentes:
30
- * - HeaderListComponent,
31
- - DefaultListComponent,
32
- - DefaultViewComponent,
33
- - HeaderViewComponent,
34
- - DefaultTableComponent,
35
- - DefaultPaginationComponent,
36
- */
37
- export class DefaultModule {
38
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: DefaultModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
39
- static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "18.2.14", ngImport: i0, type: DefaultModule, declarations: [HeaderListComponent,
40
- DefaultListComponent,
41
- DefaultViewComponent,
42
- HeaderViewComponent,
43
- DefaultTableComponent,
44
- DefaultPaginationComponent,
45
- ThFilterComponent], imports: [IonicModule,
46
- CommonModule,
47
- InputsModule,
48
- ReactiveFormsModule,
49
- RouterLinkWithHref,
50
- FormsModule,
51
- RouterModule,
52
- RouterOutlet,
53
- RouterLink,
54
- LoadingComponent,
55
- NgVarDirective,
56
- SIonPopoverModule,
57
- ContentBlockComponent,
58
- CdkDragPlaceholder], exports: [HeaderListComponent,
59
- DefaultListComponent,
60
- DefaultViewComponent,
61
- HeaderViewComponent,
62
- DefaultTableComponent,
63
- DefaultPaginationComponent,
64
- ThFilterComponent] }); }
65
- static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: DefaultModule, imports: [IonicModule,
66
- CommonModule,
67
- InputsModule,
68
- ReactiveFormsModule,
69
- FormsModule,
70
- RouterModule,
71
- LoadingComponent,
72
- SIonPopoverModule,
73
- ContentBlockComponent] }); }
74
- }
75
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: DefaultModule, decorators: [{
76
- type: NgModule,
77
- args: [{
78
- declarations: [...lstComponents],
79
- exports: [...lstComponents],
80
- imports: [
81
- IonicModule,
82
- CommonModule,
83
- InputsModule,
84
- ReactiveFormsModule,
85
- RouterLinkWithHref,
86
- FormsModule,
87
- RouterModule,
88
- RouterOutlet,
89
- RouterLink,
90
- LoadingComponent,
91
- NgVarDirective,
92
- SIonPopoverModule,
93
- ContentBlockComponent,
94
- CdkDragPlaceholder
95
- ]
96
- }]
97
- }] });
98
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZGVmYXVsdC5tb2R1bGUuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9zcmMvbGliL2NvbXBvbmVudHMvZGVmYXVsdC9kZWZhdWx0Lm1vZHVsZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsUUFBUSxFQUFFLE1BQU0sZUFBZSxDQUFDO0FBQ3pDLE9BQU8sRUFBRSxZQUFZLEVBQUUsTUFBTSxpQkFBaUIsQ0FBQztBQUMvQyxPQUFPLEVBQ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BvcnQgY2xhc3MgRGVmYXVsdE1vZHVsZSB7IH1cclxuIl19
@@ -1,75 +0,0 @@
1
- import { ActivatedRoute, RouterLinkWithHref } from '@angular/router';
2
- import { Component } from '@angular/core';
3
- import { TranslateModule } from '@ngx-translate/core';
4
- import { firstValueFrom } from 'rxjs';
5
- import { CommonModule } from '@angular/common';
6
- import { IonicModule } from '@ionic/angular';
7
- import { FormsModule } from '@angular/forms';
8
- import { RouteProviderService } from '../../services/route/route.provider.service';
9
- import { EnvironmentService } from '../../services/environment.service';
10
- import { LoadingComponent } from '../loading/loading.component';
11
- import { GenericService } from '../../services/generic.service';
12
- import { InputsModule } from '../inputs/inputs.module';
13
- import * as i0 from "@angular/core";
14
- import * as i1 from "@angular/router";
15
- import * as i2 from "../../services/environment.service";
16
- import * as i3 from "../../services/generic.service";
17
- import * as i4 from "../../services/route/route.provider.service";
18
- import * as i5 from "@angular/common";
19
- import * as i6 from "@ionic/angular";
20
- import * as i7 from "@ngx-translate/core";
21
- /** Pagina Default - mostra os botões de rotas horizontalmente - componente padrão */
22
- export class DefaultPage {
23
- constructor(route, coreService, genericService, routeProviderService) {
24
- this.route = route;
25
- this.coreService = coreService;
26
- this.genericService = genericService;
27
- this.routeProviderService = routeProviderService;
28
- this.useTranslation = false;
29
- this.TranslationModule = {
30
- Permissao: 'Entities.Permissao.',
31
- PermissaoGrupo: 'Entities.PermissaoGrupo.'
32
- };
33
- this.title = this.coreService.environment.applicationName;
34
- this.lstMenu = [];
35
- this.lstImage = null;
36
- }
37
- async ngOnInit() {
38
- this.loading = true;
39
- const conf = await firstValueFrom(this.route.data);
40
- this.lstImage = Array.isArray(conf.image) ? conf.image :
41
- conf.image ? [conf.image] : undefined;
42
- this.lstMenu = await firstValueFrom(this.routeProviderService.GetData());
43
- this.loading = false;
44
- }
45
- SetTitle(item) {
46
- this.genericService.SetTitle(item.title);
47
- }
48
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: DefaultPage, deps: [{ token: i1.ActivatedRoute }, { token: i2.EnvironmentService }, { token: i3.GenericService }, { token: i4.RouteProviderService }], target: i0.ɵɵFactoryTarget.Component }); }
49
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.2.14", type: DefaultPage, isStandalone: true, selector: "app-default", ngImport: i0, template: "<ion-content [fullscreen]=\"true\">\r\n <div class=\"wrapper\">\r\n <ion-breadcrumbs>\r\n <ion-breadcrumb [routerLink]=\"[null]\">\r\n <ion-icon slot=\"start\" name=\"home\"></ion-icon> Inicio\r\n </ion-breadcrumb>\r\n </ion-breadcrumbs>\r\n \r\n <ion-card>\r\n <ion-card-content class=\"flex flex-col items-center justify-center !p-6\">\r\n <div class=\"w-full shrink-0 text-center\">\r\n @if(lstImage){\r\n @for (item of lstImage; track $index) {\r\n <ion-img [class]=\"item.classes\" [src]=\"item.src\" (ion-error)=\"lstImage\"></ion-img>\r\n }\r\n }\r\n @else {\r\n <ion-text class=\"text-8xl font-poppins w-full\"> {{title}} </ion-text>\r\n }\r\n </div>\r\n\r\n <div class=\"overflow-hidden p-2 w-full relative\">\r\n <loading [type]=\"3\" [loading]=\"loading\"></loading>\r\n <div class=\"size-full flex flex-wrap portrait:!grid gap-2\">\r\n @for (item of lstMenu; track item; let i = $index) {\r\n @if(item.type == \"Menu\"){\r\n <ion-button fill=\"outline\" class=\"grow min-w-fit\" [routerLink]=\"[item.route]\">\r\n <ion-icon slot=\"start\" [name]=\"item.icon\"></ion-icon> \r\n {{useTranslation ? (TranslationModule.Permissao + item.id | translate) : item.title}}\r\n </ion-button>\r\n }\r\n @if(item.type == \"MenuGroup\"){\r\n <ion-button fill=\"outline\" class=\"grow min-w-fit\" (click)=\"popover.present($event)\">\r\n <ion-icon slot=\"start\" [name]=\"item.icon\"></ion-icon> \r\n {{useTranslation ? (TranslationModule.PermissaoGrupo + item.id | translate) : item.title}}\r\n </ion-button>\r\n\r\n <ion-popover #popover class=\"overflow-y-auto\" [dismissOnSelect]=\"true\" triggerAction=\"click\">\r\n <ng-template>\r\n <ion-list class=\"no-outer-border\">\r\n <ion-item class=\"bg-transparent\" (click)=\"SetTitle(menu)\" *ngFor=\"let menu of item.lstMenu\" [routerLink]=\"['./' + menu.route]\" lines=\"none\" detail=\"false\" routerLinkActive=\"selected\">\r\n <ion-icon [name]=\"menu.icon\" slot=\"start\"></ion-icon> \r\n <ion-label> \r\n {{useTranslation ? (TranslationModule.Permissao + menu.id | translate) : menu.title}} \r\n </ion-label>\r\n </ion-item>\r\n </ion-list>\r\n </ng-template>\r\n </ion-popover>\r\n }\r\n }\r\n </div>\r\n </div>\r\n\r\n <!-- <div class=\"!overflow-y-auto w-full portrait:grow relative\">\r\n <loading [type]=\"3\" [loading]=\"loading\"></loading>\r\n <div class=\"flex flex-wrap items-start justify-start mt-4 portrait:!grid portrait:!grid-cols-1\"> \r\n </div>\r\n </div> -->\r\n </ion-card-content>\r\n </ion-card>\r\n </div>\r\n</ion-content>", styles: ["ion-popover::part(content){overflow-y:auto}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i5.NgForOf, selector: "[ngFor][ngForOf]", inputs: ["ngForOf", "ngForTrackBy", "ngForTemplate"] }, { kind: "ngmodule", type: FormsModule }, { kind: "ngmodule", type: IonicModule }, { kind: "component", type: i6.IonBreadcrumb, selector: "ion-breadcrumb", inputs: ["active", "color", "disabled", "download", "href", "mode", "rel", "routerAnimation", "routerDirection", "separator", "target"] }, { kind: "component", type: i6.IonBreadcrumbs, selector: "ion-breadcrumbs", inputs: ["color", "itemsAfterCollapse", "itemsBeforeCollapse", "maxItems", "mode"] }, { kind: "component", type: i6.IonButton, selector: "ion-button", inputs: ["buttonType", "color", "disabled", "download", "expand", "fill", "form", "href", "mode", "rel", "routerAnimation", "routerDirection", "shape", "size", "strong", "target", "type"] }, { kind: "component", type: i6.IonCard, selector: "ion-card", inputs: ["button", "color", "disabled", "download", "href", "mode", "rel", "routerAnimation", "routerDirection", "target", "type"] }, { kind: "component", type: i6.IonCardContent, selector: "ion-card-content", inputs: ["mode"] }, { kind: "component", type: i6.IonContent, selector: "ion-content", inputs: ["color", "fixedSlotPlacement", "forceOverscroll", "fullscreen", "scrollEvents", "scrollX", "scrollY"] }, { kind: "component", type: i6.IonIcon, selector: "ion-icon", inputs: ["color", "flipRtl", "icon", "ios", "lazy", "md", "mode", "name", "sanitize", "size", "src"] }, { kind: "component", type: i6.IonImg, selector: "ion-img", inputs: ["alt", "src"] }, { kind: "component", type: i6.IonItem, selector: "ion-item", inputs: ["button", "color", "detail", "detailIcon", "disabled", "download", "href", "lines", "mode", "rel", "routerAnimation", "routerDirection", "target", "type"] }, { kind: "component", type: i6.IonLabel, selector: "ion-label", inputs: ["color", "mode", "position"] }, { kind: "component", type: i6.IonList, selector: "ion-list", inputs: ["inset", "lines", "mode"] }, { kind: "component", type: i6.IonText, selector: "ion-text", inputs: ["color", "mode"] }, { kind: "component", type: i6.IonPopover, selector: "ion-popover" }, { kind: "directive", type: i6.RouterLinkDelegate, selector: ":not(a):not(area)[routerLink]" }, { kind: "ngmodule", type: InputsModule }, { kind: "directive", type: RouterLinkWithHref, selector: "[routerLink]", inputs: ["target", "queryParams", "fragment", "queryParamsHandling", "state", "info", "relativeTo", "preserveFragment", "skipLocationChange", "replaceUrl", "routerLink"] }, { kind: "component", type: LoadingComponent, selector: "loading", inputs: ["text", "type", "loading"] }, { kind: "ngmodule", type: TranslateModule }, { kind: "pipe", type: i7.TranslatePipe, name: "translate" }] }); }
50
- }
51
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: DefaultPage, decorators: [{
52
- type: Component,
53
- args: [{ standalone: true, selector: 'app-default', imports: [
54
- CommonModule,
55
- FormsModule,
56
- IonicModule,
57
- InputsModule,
58
- RouterLinkWithHref,
59
- LoadingComponent,
60
- TranslateModule,
61
- ], template: "<ion-content [fullscreen]=\"true\">\r\n <div class=\"wrapper\">\r\n <ion-breadcrumbs>\r\n <ion-breadcrumb [routerLink]=\"[null]\">\r\n <ion-icon slot=\"start\" name=\"home\"></ion-icon> Inicio\r\n </ion-breadcrumb>\r\n </ion-breadcrumbs>\r\n \r\n <ion-card>\r\n <ion-card-content class=\"flex flex-col items-center justify-center !p-6\">\r\n <div class=\"w-full shrink-0 text-center\">\r\n @if(lstImage){\r\n @for (item of lstImage; track $index) {\r\n <ion-img [class]=\"item.classes\" [src]=\"item.src\" (ion-error)=\"lstImage\"></ion-img>\r\n }\r\n }\r\n @else {\r\n <ion-text class=\"text-8xl font-poppins w-full\"> {{title}} </ion-text>\r\n }\r\n </div>\r\n\r\n <div class=\"overflow-hidden p-2 w-full relative\">\r\n <loading [type]=\"3\" [loading]=\"loading\"></loading>\r\n <div class=\"size-full flex flex-wrap portrait:!grid gap-2\">\r\n @for (item of lstMenu; track item; let i = $index) {\r\n @if(item.type == \"Menu\"){\r\n <ion-button fill=\"outline\" class=\"grow min-w-fit\" [routerLink]=\"[item.route]\">\r\n <ion-icon slot=\"start\" [name]=\"item.icon\"></ion-icon> \r\n {{useTranslation ? (TranslationModule.Permissao + item.id | translate) : item.title}}\r\n </ion-button>\r\n }\r\n @if(item.type == \"MenuGroup\"){\r\n <ion-button fill=\"outline\" class=\"grow min-w-fit\" (click)=\"popover.present($event)\">\r\n <ion-icon slot=\"start\" [name]=\"item.icon\"></ion-icon> \r\n {{useTranslation ? (TranslationModule.PermissaoGrupo + item.id | translate) : item.title}}\r\n </ion-button>\r\n\r\n <ion-popover #popover class=\"overflow-y-auto\" [dismissOnSelect]=\"true\" triggerAction=\"click\">\r\n <ng-template>\r\n <ion-list class=\"no-outer-border\">\r\n <ion-item class=\"bg-transparent\" (click)=\"SetTitle(menu)\" *ngFor=\"let menu of item.lstMenu\" [routerLink]=\"['./' + menu.route]\" lines=\"none\" detail=\"false\" routerLinkActive=\"selected\">\r\n <ion-icon [name]=\"menu.icon\" slot=\"start\"></ion-icon> \r\n <ion-label> \r\n {{useTranslation ? (TranslationModule.Permissao + menu.id | translate) : menu.title}} \r\n </ion-label>\r\n </ion-item>\r\n </ion-list>\r\n </ng-template>\r\n </ion-popover>\r\n }\r\n }\r\n </div>\r\n </div>\r\n\r\n <!-- <div class=\"!overflow-y-auto w-full portrait:grow relative\">\r\n <loading [type]=\"3\" [loading]=\"loading\"></loading>\r\n <div class=\"flex flex-wrap items-start justify-start mt-4 portrait:!grid portrait:!grid-cols-1\"> \r\n </div>\r\n </div> -->\r\n </ion-card-content>\r\n </ion-card>\r\n </div>\r\n</ion-content>", styles: ["ion-popover::part(content){overflow-y:auto}\n"] }]
62
- }], ctorParameters: () => [{ type: i1.ActivatedRoute }, { type: i2.EnvironmentService }, { type: i3.GenericService }, { type: i4.RouteProviderService }] });
63
- export class DefaultPageConfiguration {
64
- constructor(image = null, useTranslation = false) {
65
- this.image = image;
66
- this.useTranslation = useTranslation;
67
- }
68
- }
69
- export class DefaultPageImage {
70
- constructor(src = null, classes = '') {
71
- this.src = src;
72
- this.classes = classes;
73
- }
74
- }
75
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZGVmYXVsdC5wYWdlLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vc3JjL2xpYi9jb21wb25lbnRzL2RlZmF1bHQtcGFnZS9kZWZhdWx0LnBhZ2UudHMiLCIuLi8uLi8uLi8uLi8uLi9zcmMvbGliL2NvbXBvbmVudHMvZGVmYXVsdC1wYWdlL2RlZmF1bHQucGFnZS5odG1sIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSxjQUFjLEVBQUUsa0JBQWtCLEVBQUUsTUFBTSxpQkFBaUIsQ0FBQztBQUNyRSxPQUFPLEVBQUUsU0FBUyxFQUFVLE1BQU0sZUFBZSxDQUFDO0FBQ2xELE9BQU8sRUFBRSxlQUFlLEVBQUUsTUFBTSxxQkFBc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xlfX1cclxuICAgICAgICAgICAgICAgIDwvaW9uLWJ1dHRvbj5cclxuXHJcbiAgICAgICAgICAgICAgICA8aW9uLXBvcG92ZXIgI3BvcG92ZXIgY2xhc3M9XCJvdmVyZmxvdy15LWF1dG9cIiBbZGlzbWlzc09uU2VsZWN0XT1cInRydWVcIiB0cmlnZ2VyQWN0aW9uPVwiY2xpY2tcIj5cclxuICAgICAgICAgICAgICAgICAgPG5nLXRlbXBsYXRlPlxyXG4gICAgICAgICAgICAgICAgICAgIDxpb24tbGlzdCBjbGFzcz1cIm5vLW91dGVyLWJvcmRlclwiPlxyXG4gICAgICAgICAgICAgICAgICAgICAgPGlvbi1pdGVtIGNsYXNzPVwiYmctdHJhbnNwYXJlbnRcIiAoY2xpY2spPVwiU2V0VGl0bGUobWVudSlcIiAqbmdGb3I9XCJsZXQgbWVudSBvZiBpdGVtLmxzdE1lbnVcIiBbcm91dGVyTGlua109XCJbJy4vJyArIG1lbnUucm91dGVdXCIgbGluZXM9XCJub25lXCIgZGV0YWlsPVwiZmFsc2VcIiByb3V0ZXJMaW5rQWN0aXZlPVwic2VsZWN0ZWRcIj5cclxuICAgICAgICAgICAgICAgICAgICAgICAgPGlvbi1pY29uIFtuYW1lXT1cIm1lbnUuaWNvblwiIHNsb3Q9XCJzdGFydFwiPjwvaW9uLWljb24+IFxyXG4gICAgICAgICAgICAgICAgICAgICAgICA8aW9uLWxhYmVsPiBcclxuICAgICAgICAgICAgICAgICAgICAgICAgICB7e3VzZVRyYW5zbGF0aW9uID8gKFRyYW5zbGF0aW9uTW9kdWxlLlBlcm1pc3NhbyArIG1lbnUuaWQgfCB0cmFuc2xhdGUpIDogbWVudS50aXRsZX19ICBcclxuICAgICAgICAgICAgICAgICAgICAgICAgPC9pb24tbGFiZWw+XHJcbiAgICAgICAgICAgICAgICAgICAgICA8L2lvbi1pdGVtPlxyXG4gICAgICAgICAgICAgICAgICAgIDwvaW9uLWxpc3Q+XHJcbiAgICAgICAgICAgICAgICAgIDwvbmctdGVtcGxhdGU+XHJcbiAgICAgICAgICAgICAgICA8L2lvbi1wb3BvdmVyPlxyXG4gICAgICAgICAgICAgIH1cclxuICAgICAgICAgICAgfVxyXG4gICAgICAgICAgPC9kaXY+XHJcbiAgICAgICAgPC9kaXY+XHJcblxyXG4gICAgICAgIDwhLS0gPGRpdiBjbGFzcz1cIiFvdmVyZmxvdy15LWF1dG8gdy1mdWxsIHBvcnRyYWl0Omdyb3cgcmVsYXRpdmVcIj5cclxuICAgICAgICAgIDxsb2FkaW5nIFt0eXBlXT1cIjNcIiBbbG9hZGluZ109XCJsb2FkaW5nXCI+PC9sb2FkaW5nPlxyXG4gICAgICAgICAgPGRpdiBjbGFzcz1cImZsZXggZmxleC13cmFwIGl0ZW1zLXN0YXJ0IGp1c3RpZnktc3RhcnQgbXQtNCBwb3J0cmFpdDohZ3JpZCBwb3J0cmFpdDohZ3JpZC1jb2xzLTFcIj4gXHJcbiAgICAgICAgICA8L2Rpdj5cclxuICAgICAgICA8L2Rpdj4gLS0+XHJcbiAgICAgIDwvaW9uLWNhcmQtY29udGVudD5cclxuICAgIDwvaW9uLWNhcmQ+XHJcbiAgPC9kaXY+XHJcbjwvaW9uLWNvbnRlbnQ+Il19
@@ -1,60 +0,0 @@
1
- import { ContentChild, Directive } from '@angular/core';
2
- import { Output, EventEmitter, HostBinding, HostListener } from '@angular/core';
3
- import { DragDropOverlayComponent } from './drag-drop-overlay/drag-drop-overlay.component';
4
- import * as i0 from "@angular/core";
5
- export class DragDropFileDirective {
6
- constructor() {
7
- this.fileDropped = new EventEmitter();
8
- }
9
- // Dragover listener
10
- onDragOver(evt) {
11
- evt.preventDefault();
12
- evt.stopPropagation();
13
- this.fileOver = true;
14
- this.dragDropOverlay.fileOver = true;
15
- }
16
- // Dragleave listener
17
- onDragLeave(evt) {
18
- evt.preventDefault();
19
- evt.stopPropagation();
20
- this.fileOver = false;
21
- this.dragDropOverlay.fileOver = false;
22
- }
23
- // Drop listener
24
- onDrop(evt) {
25
- evt.preventDefault();
26
- evt.stopPropagation();
27
- this.fileOver = false;
28
- this.dragDropOverlay.fileOver = false;
29
- let files = evt.dataTransfer.files;
30
- if (files.length > 0) {
31
- this.fileDropped.emit(Array.from(files));
32
- }
33
- }
34
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: DragDropFileDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
35
- static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.2.14", type: DragDropFileDirective, selector: "[DragDropFile]", outputs: { fileDropped: "fileDropped" }, host: { listeners: { "dragover": "onDragOver($event)", "dragleave": "onDragLeave($event)", "drop": "onDrop($event)" }, properties: { "class.fileOver": "this.fileOver" } }, queries: [{ propertyName: "dragDropOverlay", first: true, predicate: DragDropOverlayComponent, descendants: true }], ngImport: i0 }); }
36
- }
37
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: DragDropFileDirective, decorators: [{
38
- type: Directive,
39
- args: [{
40
- selector: '[DragDropFile]'
41
- }]
42
- }], ctorParameters: () => [], propDecorators: { fileOver: [{
43
- type: HostBinding,
44
- args: ['class.fileOver']
45
- }], fileDropped: [{
46
- type: Output
47
- }], dragDropOverlay: [{
48
- type: ContentChild,
49
- args: [DragDropOverlayComponent]
50
- }], onDragOver: [{
51
- type: HostListener,
52
- args: ['dragover', ['$event']]
53
- }], onDragLeave: [{
54
- type: HostListener,
55
- args: ['dragleave', ['$event']]
56
- }], onDrop: [{
57
- type: HostListener,
58
- args: ['drop', ['$event']]
59
- }] } });
60
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZHJhZy1kcm9wLWZpbGUuZGlyZWN0aXZlLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vc3JjL2xpYi9jb21wb25lbnRzL2RyYWctZ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cclxuICAgIGV2dC5wcmV2ZW50RGVmYXVsdCgpO1xyXG4gICAgZXZ0LnN0b3BQcm9wYWdhdGlvbigpO1xyXG4gICAgdGhpcy5maWxlT3ZlciA9IGZhbHNlO1xyXG4gICAgdGhpcy5kcmFnRHJvcE92ZXJsYXkuZmlsZU92ZXIgPSBmYWxzZTtcclxuICB9XHJcbiAgXHJcbiAgLy8gRHJvcCBsaXN0ZW5lclxyXG4gIEBIb3N0TGlzdGVuZXIoJ2Ryb3AnLCBbJyRldmVudCddKSBwdWJsaWMgb25Ecm9wKGV2dDogRHJhZ0V2ZW50KSB7XHJcbiAgICBldnQucHJldmVudERlZmF1bHQoKTtcclxuICAgIGV2dC5zdG9wUHJvcGFnYXRpb24oKTtcclxuICAgIHRoaXMuZmlsZU92ZXIgPSBmYWxzZTtcclxuICAgIHRoaXMuZHJhZ0Ryb3BPdmVybGF5LmZpbGVPdmVyID0gZmFsc2U7XHJcbiAgICBsZXQgZmlsZXMgPSBldnQuZGF0YVRyYW5zZmVyLmZpbGVzO1xyXG4gICAgaWYgKGZpbGVzLmxlbmd0aCA+IDApIHtcclxuICAgICAgdGhpcy5maWxlRHJvcHBlZC5lbWl0KEFycmF5LmZyb20oZmlsZXMpKTtcclxuICAgIH1cclxuICB9XHJcbn1cclxuIl19
@@ -1,31 +0,0 @@
1
- import { NgModule } from '@angular/core';
2
- import { CommonModule } from '@angular/common';
3
- import { DragDropFileDirective } from './drag-drop-file.directive';
4
- import { DragDropOverlayComponent } from './drag-drop-overlay/drag-drop-overlay.component';
5
- import { IonicModule } from '@ionic/angular';
6
- import * as i0 from "@angular/core";
7
- const values = [
8
- DragDropFileDirective,
9
- DragDropOverlayComponent
10
- ];
11
- export class DragDropFileModule {
12
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: DragDropFileModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
13
- static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "18.2.14", ngImport: i0, type: DragDropFileModule, declarations: [DragDropFileDirective,
14
- DragDropOverlayComponent], imports: [CommonModule,
15
- IonicModule], exports: [DragDropFileDirective,
16
- DragDropOverlayComponent] }); }
17
- static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: DragDropFileModule, imports: [CommonModule,
18
- IonicModule] }); }
19
- }
20
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: DragDropFileModule, decorators: [{
21
- type: NgModule,
22
- args: [{
23
- declarations: [...values],
24
- exports: [...values],
25
- imports: [
26
- CommonModule,
27
- IonicModule
28
- ]
29
- }]
30
- }] });
31
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZHJhZy1kcm9wLWZpbGUubW9kdWxlLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vc3JjL2xpYi9jb21wb25lbnRzL2RyYWctZHJvcC1maWxlL2RyYWctZHJvcC1maWxlLm1vZHVsZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsUUFBUSxFQUFFLE1BQU0sZUFBZSxDQUFDO0FBQ3pDLE9BQU8sRUFBRSxZQUFZLEVBQUUsTUFBTSxpQkFBaUIsQ0FBQztBQUMvQyxPQUFPLEVBQUUscUJBQXFCLEVBQUUsTUFBTSw0QkFBNEIsQ0FBQztBQUNuRSxPQUFPLEVBQUUsd0JBQXdCLEVBQUUsTUFBTSxpREFBaUQsQ0FBQztBQUMzRixPQUFPLEVBQUUsV0FBVyxFQUFFLE1BQU0sZ0JBQWdCLENBQUM7O0FBRTdDLE1BQU0sTUFBTSxHQUFHO0lBQ2IscUJBQXFCO0lBQ3JCLHdCQUF3QjtDQUN6QixDQUFBO0FBV0QsTUFBTSxPQUFPLGtCQUFrQjsrR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gaW1wb3J0czogW1xyXG4gICAgQ29tbW9uTW9kdWxlLFxyXG4gICAgSW9uaWNNb2R1bGVcclxuICBdXHJcbn0pXHJcbmV4cG9ydCBjbGFzcyBEcmFnRHJvcEZpbGVNb2R1bGUgeyB9XHJcbiJdfQ==
@@ -1,15 +0,0 @@
1
- import { Component } from '@angular/core';
2
- import * as i0 from "@angular/core";
3
- import * as i1 from "@angular/common";
4
- import * as i2 from "@ionic/angular";
5
- export class DragDropOverlayComponent {
6
- constructor() { }
7
- ngOnInit() { }
8
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: DragDropOverlayComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
9
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.14", type: DragDropOverlayComponent, selector: "drag-drop-overlay", ngImport: i0, template: "<div class=\"absolute top-0 left-0 size-full z-50 p-4 pointer-events-none\" [ngClass]=\"{'fileOver': fileOver}\">\r\n <div class=\"border-4 border-dashed border-transparent default-transition rounded-2xl size-full flex items-center justify-center\">\r\n <ion-icon class=\"text-9xl text-transparent\" name=\"cloud-upload\"></ion-icon>\r\n </div>\r\n</div>", styles: [".fileOver{top:0!important;--tw-backdrop-blur: blur(4px) !important;--tw-backdrop-grayscale: grayscale(.5) !important;-webkit-backdrop-filter:var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia)!important;backdrop-filter:var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia)!important}.fileOver div{--tw-border-opacity: 1;border-color:rgb(59 130 246 / var(--tw-border-opacity, 1))}.fileOver div ion-icon{color:var(--ion-color-dark)}\n"], dependencies: [{ kind: "directive", type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "component", type: i2.IonIcon, selector: "ion-icon", inputs: ["color", "flipRtl", "icon", "ios", "lazy", "md", "mode", "name", "sanitize", "size", "src"] }] }); }
10
- }
11
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: DragDropOverlayComponent, decorators: [{
12
- type: Component,
13
- args: [{ selector: 'drag-drop-overlay', template: "<div class=\"absolute top-0 left-0 size-full z-50 p-4 pointer-events-none\" [ngClass]=\"{'fileOver': fileOver}\">\r\n <div class=\"border-4 border-dashed border-transparent default-transition rounded-2xl size-full flex items-center justify-center\">\r\n <ion-icon class=\"text-9xl text-transparent\" name=\"cloud-upload\"></ion-icon>\r\n </div>\r\n</div>", styles: [".fileOver{top:0!important;--tw-backdrop-blur: blur(4px) !important;--tw-backdrop-grayscale: grayscale(.5) !important;-webkit-backdrop-filter:var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia)!important;backdrop-filter:var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia)!important}.fileOver div{--tw-border-opacity: 1;border-color:rgb(59 130 246 / var(--tw-border-opacity, 1))}.fileOver div ion-icon{color:var(--ion-color-dark)}\n"] }]
14
- }], ctorParameters: () => [] });
15
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZHJhZy1kcm9wLW92ZXJsYXkuY29tc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jbGFzcyBEcmFnRHJvcE92ZXJsYXlDb21wb25lbnQgIGltcGxlbWVudHMgT25Jbml0IHtcclxuXHJcbiAgY29uc3RydWN0b3IoKSB7IH1cclxuXHJcbiAgbmdPbkluaXQoKSB7fVxyXG5cclxuICBmaWxlT3ZlcjogYm9vbGVhbjtcclxufVxyXG4iLCI8ZGl2IGNsYXNzPVwiYWJzb2x1dGUgdG9wLTAgbGVmdC0wIHNpemUtZnVsbCB6LTUwIHAtNCBwb2ludGVyLWV2ZW50cy1ub25lXCIgW25nQ2xhc3NdPVwieydmaWxlT3Zlcic6IGZpbGVPdmVyfVwiPlxyXG4gIDxkaXYgY2xhc3M9XCJib3JkZXItNCBib3JkZXItZGFzaGVkIGJvcmRlci10cmFuc3BhcmVudCBkZWZhdWx0LXRyYW5zaXRpb24gcm91bmRlZC0yeGwgc2l6ZS1mdWxsIGZsZXggaXRlbXMtY2VudGVyIGp1c3RpZnktY2VudGVyXCI+XHJcbiAgICA8aW9uLWljb24gY2xhc3M9XCJ0ZXh0LTl4bCB0ZXh0LXRyYW5zcGFyZW50XCIgbmFtZT1cImNsb3VkLXVwbG9hZFwiPjwvaW9uLWljb24+XHJcbiAgPC9kaXY+XHJcbjwvZGl2PiJdfQ==
@@ -1,34 +0,0 @@
1
- import { Component, Input } from '@angular/core';
2
- import { RouterLinkWithHref } from '@angular/router';
3
- import { IonicModule } from '@ionic/angular';
4
- import { CommonModule } from '@angular/common';
5
- import { AuthService } from '../../../services/auth.service';
6
- import * as i0 from "@angular/core";
7
- import * as i1 from "../../../services/auth.service";
8
- import * as i2 from "@angular/common";
9
- import * as i3 from "@ionic/angular";
10
- export class DefaultDrawerEndComponent {
11
- constructor(authService) {
12
- this.authService = authService;
13
- this.colapsed = false;
14
- }
15
- ngOnInit() {
16
- this.authService.LoadToken().then((res) => {
17
- this.Token = res;
18
- });
19
- }
20
- Loggout() { this.authService.Loggout(); }
21
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: DefaultDrawerEndComponent, deps: [{ token: i1.AuthService }], target: i0.ɵɵFactoryTarget.Component }); }
22
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.14", type: DefaultDrawerEndComponent, isStandalone: true, selector: "default-drawer-end", inputs: { colapsed: "colapsed" }, ngImport: i0, template: "<div class=\"w-full default-transition flex\" [ngClass]=\"{'!w-16': colapsed}\">\r\n <div class=\"w-10 shrink-0 aspect-square rounded-2xl flex items-center justify-center default-transition\" style=\"background-color: var(--ion-color-primary);\">\r\n <span class=\"uppercase text-white\">{{Token ? Token.Nome[0] : ''}}</span>\r\n </div>\r\n <div class=\"grow min-w-10 p-2 justify-center items-center whitespace-nowrap text-ellipsis overflow-hidden block default-transition\" [ngClass]=\"{'opacity-0 w-0': colapsed}\">\r\n <span>{{Token ? Token.Nome : ''}}</span>\r\n </div>\r\n\r\n <ion-button (click)=\"Loggout()\" class=\"size-10 shrink-0\" size=\"small\" color=\"danger\">\r\n <ion-icon slot=\"icon-only\" name=\"exit-outline\"></ion-icon> \r\n </ion-button>\r\n</div>", styles: [""], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "directive", type: i2.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "ngmodule", type: IonicModule }, { kind: "component", type: i3.IonButton, selector: "ion-button", inputs: ["buttonType", "color", "disabled", "download", "expand", "fill", "form", "href", "mode", "rel", "routerAnimation", "routerDirection", "shape", "size", "strong", "target", "type"] }, { kind: "component", type: i3.IonIcon, selector: "ion-icon", inputs: ["color", "flipRtl", "icon", "ios", "lazy", "md", "mode", "name", "sanitize", "size", "src"] }] }); }
23
- }
24
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: DefaultDrawerEndComponent, decorators: [{
25
- type: Component,
26
- args: [{ standalone: true, imports: [
27
- CommonModule,
28
- IonicModule,
29
- RouterLinkWithHref,
30
- ], selector: 'default-drawer-end', template: "<div class=\"w-full default-transition flex\" [ngClass]=\"{'!w-16': colapsed}\">\r\n <div class=\"w-10 shrink-0 aspect-square rounded-2xl flex items-center justify-center default-transition\" style=\"background-color: var(--ion-color-primary);\">\r\n <span class=\"uppercase text-white\">{{Token ? Token.Nome[0] : ''}}</span>\r\n </div>\r\n <div class=\"grow min-w-10 p-2 justify-center items-center whitespace-nowrap text-ellipsis overflow-hidden block default-transition\" [ngClass]=\"{'opacity-0 w-0': colapsed}\">\r\n <span>{{Token ? Token.Nome : ''}}</span>\r\n </div>\r\n\r\n <ion-button (click)=\"Loggout()\" class=\"size-10 shrink-0\" size=\"small\" color=\"danger\">\r\n <ion-icon slot=\"icon-only\" name=\"exit-outline\"></ion-icon> \r\n </ion-button>\r\n</div>" }]
31
- }], ctorParameters: () => [{ type: i1.AuthService }], propDecorators: { colapsed: [{
32
- type: Input
33
- }] } });
34
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZGVmYXVsdC1kcmF3ZXItZW5kLmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL3NyYy9saWIvY29tcG9uZW50cy9kcmF3ZXIvZGVmYXVsdC1kcmF3ZXItZW5kL2RlZmF1bHQtZHJhd2VyLWVuZC5jb21wb25lbnQudHMiLCIuLi8uLi8uLi8uLi8uLi8uLi9zcmMvbGliL2NvbXBvbmVudHMvZHJhd2VyL2RlZmF1bHQtZHJhd2VyLWVuZC9kZWZhdWx0LWRyYXdlci1lbmQuY29tcG9uZW50Lmh0bWwiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLFNBQVMsRUFBRSxLQUFLLEVBQVUsTUFBTSxlQUFlLENBQUM7QUFDekQsT0FBTyxFQUFFLGtCQUFrQixFQUFFLE1BQU0saUJBQWlCLENBQUM7QUFDckQsT0FBTyxFQUFFLFdB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,52 +0,0 @@
1
- import { CommonModule } from '@angular/common';
2
- import { Component, Input, QueryList, ViewChildren } from '@angular/core';
3
- import { IonAccordionGroup, IonicModule, NavController } from '@ionic/angular';
4
- import { Menu } from '.././menu';
5
- import { Router, RouterLinkWithHref } from '@angular/router';
6
- import { GenericService } from '../../../services/generic.service';
7
- import { TranslateModule } from '@ngx-translate/core';
8
- import * as i0 from "@angular/core";
9
- import * as i1 from "@angular/router";
10
- import * as i2 from "@ionic/angular";
11
- import * as i3 from "../../../services/generic.service";
12
- import * as i4 from "@ngx-translate/core";
13
- export class DrawerGroupComponent {
14
- constructor(router, navController, genericService) {
15
- this.router = router;
16
- this.navController = navController;
17
- this.genericService = genericService;
18
- this.TranslationModule = {
19
- Permissao: 'Entities.Permissao.',
20
- PermissaoGrupo: 'Entities.PermissaoGrupo.'
21
- };
22
- }
23
- ngOnInit() { }
24
- HandleNav(item, event) {
25
- if (event.ctrlKey || event.metaKey) {
26
- window.open(window.origin + '/' + item.route, '_blank');
27
- event.preventDefault();
28
- return;
29
- }
30
- this.SetTitle(item);
31
- this.navController.navigateRoot('/' + item.route);
32
- }
33
- SetTitle(item) {
34
- this.genericService.SetTitle(item.title);
35
- }
36
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: DrawerGroupComponent, deps: [{ token: i1.Router }, { token: i2.NavController }, { token: i3.GenericService }], target: i0.ɵɵFactoryTarget.Component }); }
37
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.2.14", type: DrawerGroupComponent, isStandalone: true, selector: "drawer-group", inputs: { MenuGroup: "MenuGroup", colapsed: "colapsed", useTranslation: "useTranslation" }, viewQueries: [{ propertyName: "lstIonAcordionGroup", predicate: IonAccordionGroup, descendants: true }], ngImport: i0, template: "<div class=\"size-full flex flex-col verflow-hidden\">\r\n <div class=\"w-full text-center\">\r\n <!-- <ion-item class=\"bg-inactive bg-active\" lines=\"none\" style=\"--border-radius: 1rem\">\r\n <ion-label class=\"text-center\">\r\n <ion-icon class=\"text-2xl\" [name]=\"MenuGroup.icon\"></ion-icon> <br>\r\n <ion-text class=\"text-lg\">\r\n {{useTranslation ? (TranslationModule.PermissaoGrupo + MenuGroup.id | translate) : MenuGroup.title}} \r\n </ion-text>\r\n </ion-label>\r\n </ion-item> -->\r\n <div class=\"gradient-background header flex flex-col gap-1 p-2 text-center items-center justify-center rounded-xl\">\r\n <ion-icon class=\"text-2xl\" [name]=\"MenuGroup.icon\"></ion-icon>\r\n <ion-text class=\"text-dark\">\r\n {{useTranslation ? (TranslationModule.PermissaoGrupo + MenuGroup.id | translate) : MenuGroup.title}} \r\n </ion-text>\r\n </div>\r\n </div>\r\n <div class=\"flex flex-col gap-2 w-full pt-2 mask-y overflow-y-auto\">\r\n @for (mGroup of MenuGroup.lstMenu; track $index) {\r\n <!-- Menu -->\r\n @if(mGroup.type == \"Menu\"){\r\n <div (click)=\"HandleNav(mGroup, $event)\" \r\n class=\"bg-inactive gradient-background menu\"\r\n [class.bg-active]=\"router.isActive('/' + mGroup.route, false)\"\r\n >\r\n <div class=\"content\">\r\n <ion-icon class=\"shrink-0\" [name]=\"mGroup.icon\"></ion-icon>\r\n <ion-label class=\"shrink\">\r\n {{useTranslation ? (TranslationModule.Permissao + mGroup.id | translate) : mGroup.title}} \r\n </ion-label>\r\n </div>\r\n </div>\r\n <!-- <ion-item \r\n class=\"bg-inactive shrink-0\" lines=\"none\" \r\n (click)=\"HandleNav(mGroup)\"\r\n [ngClass]=\"{'colapsed': colapsed, 'bg-active' : router.isActive('/' + mGroup.route, false)}\">\r\n <ion-icon slot=\"start\" [name]=\"mGroup.icon\"></ion-icon>\r\n <ion-label class=\"ion-text-nowrap\">\r\n {{useTranslation ? (TranslationModule.Permissao + mGroup.id | translate) : mGroup.title}} \r\n </ion-label>\r\n </ion-item> -->\r\n } \r\n @else if (mGroup.type == \"MenuGroup\") {\r\n <!-- MenuGroup -->\r\n <!-- <div class=\"w-full overflow-hidden shrink-0\">\r\n <ion-accordion-group class=\"ion-text-nowrap w-full\">\r\n <ion-accordion class=\"bg-transparent\" [value]=\"mGroup\">\r\n <ion-item slot=\"header\" color=\"light\" class=\"ion-text-nowrap bg-inactive\" style=\"--ion-color-base: var(--background) !important\">\r\n <ion-icon slot=\"start\" [name]=\"mGroup.icon\"></ion-icon>\r\n <ion-label>\r\n {{useTranslation ? (TranslationModule.PermissaoGrupo + mGroup.id | translate) : mGroup.title}}\r\n </ion-label>\r\n </ion-item>\r\n <div slot=\"content\">\r\n <div class=\"pl-8\">\r\n <div class=\"w-full border-l-2 border-solid rounded-bl-2xl grid gap-2 pl-2 py-2\" style=\"border-color: color-mix(in srgb, var(--ion-color-primary) 30%, transparent 70%)\">\r\n @for (mMenu of mGroup.lstMenu; track $index) {\r\n @if (mMenu.type == \"Menu\") {\r\n <ion-item \r\n class=\"bg-inactive\" lines=\"none\" \r\n (click)=\"HandleNav(mMenu)\"\r\n [ngClass]=\"{'colapsed': colapsed, 'bg-active' : router.isActive('/' + mMenu.route, false)}\">\r\n <ion-icon slot=\"start\" [name]=\"mMenu.icon\"></ion-icon>\r\n <ion-label class=\"ion-text-nowrap\">\r\n {{useTranslation ? (TranslationModule.Permissao + mMenu.id | translate) : mMenu.title}}\r\n </ion-label>\r\n </ion-item>\r\n }\r\n }\r\n </div>\r\n </div>\r\n </div>\r\n </ion-accordion>\r\n </ion-accordion-group>\r\n </div> -->\r\n }\r\n }\r\n </div>\r\n</div>", styles: [".menu{display:flex;flex-shrink:0;cursor:pointer;align-items:center;justify-content:flex-start;overflow:hidden;border-radius:.75rem;padding:.375rem;transition:--color-primary,--step-1-opacity,--step-2-opacity .2s ease-in-out;--inset: var(--color-primary) 0px 1.75px 2px 0px inset;box-shadow:var(--inset)}.menu .content{display:flex;align-items:center;justify-content:flex-start;gap:.5rem}.menu.bg-active:after{content:\"\";position:absolute;top:50%;right:0;width:.375rem;height:75%;transform:translateY(-50%);border-radius:inherit;background-color:color-mix(in srgb,var(--ion-color-primary) 70%,transparent);opacity:1!important;filter:drop-shadow(color-mix(in srgb,var(--ion-color-primary) 70%,transparent) 0px 0px 3px)}.menu.bg-active:before{content:\"\";position:absolute;top:50%;right:-2.3rem;width:5rem;height:7rem;transform:translateY(-50%);border-radius:inherit;opacity:.5!important;background:radial-gradient(color-mix(in srgb,var(--ion-color-primary) 70%,transparent) 0%,transparent 66%)}.menu.bg-inactive{--color-primary: var(--ion-color-step-250);--step-1-opacity: .5;--step-2-opacity: .4;--step-3-opacity: .8;position:relative}.menu.bg-inactive:after{content:\"\";opacity:0;transition:opacity .2s ease-in-out;will-change:opacity}.menu.bg-inactive:before{content:\"\";opacity:0;transition:opacity .2s ease-in-out;will-change:opacity}.header{--color-primary: var(--ion-color-primary) !important;--step-1-opacity: .7 !important;--step-2-opacity: .3 !important}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "ngmodule", type: IonicModule }, { kind: "component", type: i2.IonIcon, selector: "ion-icon", inputs: ["color", "flipRtl", "icon", "ios", "lazy", "md", "mode", "name", "sanitize", "size", "src"] }, { kind: "component", type: i2.IonLabel, selector: "ion-label", inputs: ["color", "mode", "position"] }, { kind: "component", type: i2.IonText, selector: "ion-text", inputs: ["color", "mode"] }, { kind: "ngmodule", type: TranslateModule }, { kind: "pipe", type: i4.TranslatePipe, name: "translate" }] }); }
38
- }
39
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: DrawerGroupComponent, decorators: [{
40
- type: Component,
41
- args: [{ standalone: true, imports: [CommonModule, IonicModule, RouterLinkWithHref, TranslateModule], selector: 'drawer-group', template: "<div class=\"size-full flex flex-col verflow-hidden\">\r\n <div class=\"w-full text-center\">\r\n <!-- <ion-item class=\"bg-inactive bg-active\" lines=\"none\" style=\"--border-radius: 1rem\">\r\n <ion-label class=\"text-center\">\r\n <ion-icon class=\"text-2xl\" [name]=\"MenuGroup.icon\"></ion-icon> <br>\r\n <ion-text class=\"text-lg\">\r\n {{useTranslation ? (TranslationModule.PermissaoGrupo + MenuGroup.id | translate) : MenuGroup.title}} \r\n </ion-text>\r\n </ion-label>\r\n </ion-item> -->\r\n <div class=\"gradient-background header flex flex-col gap-1 p-2 text-center items-center justify-center rounded-xl\">\r\n <ion-icon class=\"text-2xl\" [name]=\"MenuGroup.icon\"></ion-icon>\r\n <ion-text class=\"text-dark\">\r\n {{useTranslation ? (TranslationModule.PermissaoGrupo + MenuGroup.id | translate) : MenuGroup.title}} \r\n </ion-text>\r\n </div>\r\n </div>\r\n <div class=\"flex flex-col gap-2 w-full pt-2 mask-y overflow-y-auto\">\r\n @for (mGroup of MenuGroup.lstMenu; track $index) {\r\n <!-- Menu -->\r\n @if(mGroup.type == \"Menu\"){\r\n <div (click)=\"HandleNav(mGroup, $event)\" \r\n class=\"bg-inactive gradient-background menu\"\r\n [class.bg-active]=\"router.isActive('/' + mGroup.route, false)\"\r\n >\r\n <div class=\"content\">\r\n <ion-icon class=\"shrink-0\" [name]=\"mGroup.icon\"></ion-icon>\r\n <ion-label class=\"shrink\">\r\n {{useTranslation ? (TranslationModule.Permissao + mGroup.id | translate) : mGroup.title}} \r\n </ion-label>\r\n </div>\r\n </div>\r\n <!-- <ion-item \r\n class=\"bg-inactive shrink-0\" lines=\"none\" \r\n (click)=\"HandleNav(mGroup)\"\r\n [ngClass]=\"{'colapsed': colapsed, 'bg-active' : router.isActive('/' + mGroup.route, false)}\">\r\n <ion-icon slot=\"start\" [name]=\"mGroup.icon\"></ion-icon>\r\n <ion-label class=\"ion-text-nowrap\">\r\n {{useTranslation ? (TranslationModule.Permissao + mGroup.id | translate) : mGroup.title}} \r\n </ion-label>\r\n </ion-item> -->\r\n } \r\n @else if (mGroup.type == \"MenuGroup\") {\r\n <!-- MenuGroup -->\r\n <!-- <div class=\"w-full overflow-hidden shrink-0\">\r\n <ion-accordion-group class=\"ion-text-nowrap w-full\">\r\n <ion-accordion class=\"bg-transparent\" [value]=\"mGroup\">\r\n <ion-item slot=\"header\" color=\"light\" class=\"ion-text-nowrap bg-inactive\" style=\"--ion-color-base: var(--background) !important\">\r\n <ion-icon slot=\"start\" [name]=\"mGroup.icon\"></ion-icon>\r\n <ion-label>\r\n {{useTranslation ? (TranslationModule.PermissaoGrupo + mGroup.id | translate) : mGroup.title}}\r\n </ion-label>\r\n </ion-item>\r\n <div slot=\"content\">\r\n <div class=\"pl-8\">\r\n <div class=\"w-full border-l-2 border-solid rounded-bl-2xl grid gap-2 pl-2 py-2\" style=\"border-color: color-mix(in srgb, var(--ion-color-primary) 30%, transparent 70%)\">\r\n @for (mMenu of mGroup.lstMenu; track $index) {\r\n @if (mMenu.type == \"Menu\") {\r\n <ion-item \r\n class=\"bg-inactive\" lines=\"none\" \r\n (click)=\"HandleNav(mMenu)\"\r\n [ngClass]=\"{'colapsed': colapsed, 'bg-active' : router.isActive('/' + mMenu.route, false)}\">\r\n <ion-icon slot=\"start\" [name]=\"mMenu.icon\"></ion-icon>\r\n <ion-label class=\"ion-text-nowrap\">\r\n {{useTranslation ? (TranslationModule.Permissao + mMenu.id | translate) : mMenu.title}}\r\n </ion-label>\r\n </ion-item>\r\n }\r\n }\r\n </div>\r\n </div>\r\n </div>\r\n </ion-accordion>\r\n </ion-accordion-group>\r\n </div> -->\r\n }\r\n }\r\n </div>\r\n</div>", styles: [".menu{display:flex;flex-shrink:0;cursor:pointer;align-items:center;justify-content:flex-start;overflow:hidden;border-radius:.75rem;padding:.375rem;transition:--color-primary,--step-1-opacity,--step-2-opacity .2s ease-in-out;--inset: var(--color-primary) 0px 1.75px 2px 0px inset;box-shadow:var(--inset)}.menu .content{display:flex;align-items:center;justify-content:flex-start;gap:.5rem}.menu.bg-active:after{content:\"\";position:absolute;top:50%;right:0;width:.375rem;height:75%;transform:translateY(-50%);border-radius:inherit;background-color:color-mix(in srgb,var(--ion-color-primary) 70%,transparent);opacity:1!important;filter:drop-shadow(color-mix(in srgb,var(--ion-color-primary) 70%,transparent) 0px 0px 3px)}.menu.bg-active:before{content:\"\";position:absolute;top:50%;right:-2.3rem;width:5rem;height:7rem;transform:translateY(-50%);border-radius:inherit;opacity:.5!important;background:radial-gradient(color-mix(in srgb,var(--ion-color-primary) 70%,transparent) 0%,transparent 66%)}.menu.bg-inactive{--color-primary: var(--ion-color-step-250);--step-1-opacity: .5;--step-2-opacity: .4;--step-3-opacity: .8;position:relative}.menu.bg-inactive:after{content:\"\";opacity:0;transition:opacity .2s ease-in-out;will-change:opacity}.menu.bg-inactive:before{content:\"\";opacity:0;transition:opacity .2s ease-in-out;will-change:opacity}.header{--color-primary: var(--ion-color-primary) !important;--step-1-opacity: .7 !important;--step-2-opacity: .3 !important}\n"] }]
42
- }], ctorParameters: () => [{ type: i1.Router }, { type: i2.NavController }, { type: i3.GenericService }], propDecorators: { MenuGroup: [{
43
- type: Input
44
- }], colapsed: [{
45
- type: Input
46
- }], useTranslation: [{
47
- type: Input
48
- }], lstIonAcordionGroup: [{
49
- type: ViewChildren,
50
- args: [IonAccordionGroup]
51
- }] } });
52
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZHJhd2VyLWdyb3VwLmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL3NyYy9saWIvY29tcG9uZW50cy9kcmF3ZXIvZHJhd2VyLWdyb3VwL2RyYXdlci1ncm91cC5jb21wb25lbnQudHMiLCIuLi8uLi8uLi8uLi8uLi8uLi9zcmMvbGliL2NvbXBvbmVudHMvZHJhd2VyL2RyYXdlci1ncm91cC9kcmF3ZXItZ3JvdXAuY29tcG9uZW50Lmh0bWwiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLFlBQVksRUFBRSxNQUFNLGlCQUFpQixDQUFDO0FBQy9DLE9BQU8sRUFBRSxTQUFTLEVBQUUsS0FBSyxFQUFVLFNBQVMsRUF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tbm93cmFwIGJnLWluYWN0aXZlXCIgc3R5bGU9XCItLWlvbi1jb2xvci1iYXNlOiB2YXIoLS1iYWNrZ3JvdW5kKSAhaW1wb3J0YW50XCI+XHJcbiAgICAgICAgICAgICAgICA8aW9uLWljb24gc2xvdD1cInN0YXJ0XCIgW25hbWVdPVwibUdyb3VwLmljb25cIj48L2lvbi1pY29uPlxyXG4gICAgICAgICAgICAgICAgPGlvbi1sYWJlbD5cclxuICAgICAgICAgICAgICAgICAge3t1c2VUcmFuc2xhdGlvbiA/IChUcmFuc2xhdGlvbk1vZHVsZS5QZXJtaXNzYW9HcnVwbyArIG1Hcm91cC5pZCB8IHRyYW5zbGF0ZSkgOiBtR3JvdXAudGl0bGV9fVxyXG4gICAgICAgICAgICAgICAgPC9pb24tbGFiZWw+XHJcbiAgICAgICAgICAgICAgPC9pb24taXRlbT5cclxuICAgICAgICAgICAgICA8ZGl2IHNsb3Q9XCJjb250ZW50XCI+XHJcbiAgICAgICAgICAgICAgICA8ZGl2IGNsYXNzPVwicGwtOFwiPlxyXG4gICAgICAgICAgICAgICAgICA8ZGl2IGNsYXNzPVwidy1mdWxsIGJvcmRlci1sLTIgYm9yZGVyLXNvbGlkIHJvdW5kZWQtYmwtMnhsIGdyaWQgZ2FwLTIgcGwtMiBweS0yXCIgc3R5bGU9XCJib3JkZXItY29sb3I6IGNvbG9yLW1peChpbiBzcmdiLCB2YXIoLS1pb24tY29sb3ItcHJpbWFyeSkgMzAlLCB0cmFuc3BhcmVudCA3MCUpXCI+XHJcbiAgICAgICAgICAgICAgICAgICAgQGZvciAobU1lbnUgb2YgbUdyb3VwLmxzdE1lbnU7IHRyYWNrICRpbmRleCkge1xyXG4gICAgICAgICAgICAgICAgICAgICAgQGlmIChtTWVudS50eXBlID09IFwiTWVudVwiKSB7XHJcbiAgICAgICAgICAgICAgICAgICAgICAgIDxpb24taXRlbSBcclxuICAgICAgICAgICAgICAgICAgICAgICAgICBjbGFzcz1cImJnLWluYWN0aXZlXCIgbGluZXM9XCJub25lXCIgXHJcbiAgICAgICAgICAgICAgICAgICAgICAgICAgKGNsaWNrKT1cIkhhbmRsZU5hdihtTWVudSlcIlxyXG4gICAgICAgICAgICAgICAgICAgICAgICAgIFtuZ0NsYXNzXT1cInsnY29sYXBzZWQnOiBjb2xhcHNlZCwgJ2JnLWFjdGl2ZScgOiByb3V0ZXIuaXNBY3RpdmUoJy8nICsgbU1lbnUucm91dGUsIGZhbHNlKX1cIj5cclxuICAgICAgICAgICAgICAgICAgICAgICAgICA8aW9uLWljb24gc2xvdD1cInN0YXJ0XCIgW25hbWVdPVwibU1lbnUuaWNvblwiPjwvaW9uLWljb24+XHJcbiAgICAgICAgICAgICAgICAgICAgICAgICAgPGlvbi1sYWJlbCBjbGFzcz1cImlvbi10ZXh0LW5vd3JhcFwiPlxyXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAge3t1c2VUcmFuc2xhdGlvbiA/IChUcmFuc2xhdGlvbk1vZHVsZS5QZXJtaXNzYW8gKyBtTWVudS5pZCB8IHRyYW5zbGF0ZSkgOiBtTWVudS50aXRsZX19XHJcbiAgICAgICAgICAgICAgICAgICAgICAgICAgPC9pb24tbGFiZWw+XHJcbiAgICAgICAgICAgICAgICAgICAgICAgIDwvaW9uLWl0ZW0+XHJcbiAgICAgICAgICAgICAgICAgICAgICB9XHJcbiAgICAgICAgICAgICAgICAgICAgfVxyXG4gICAgICAgICAgICAgICAgICA8L2Rpdj5cclxuICAgICAgICAgICAgICAgIDwvZGl2PlxyXG4gICAgICAgICAgICAgIDwvZGl2PlxyXG4gICAgICAgICAgICA8L2lvbi1hY2NvcmRpb24+XHJcbiAgICAgICAgICA8L2lvbi1hY2NvcmRpb24tZ3JvdXA+XHJcbiAgICAgICAgPC9kaXY+IC0tPlxyXG4gICAgICB9XHJcbiAgICB9XHJcbiAgPC9kaXY+XHJcbjwvZGl2PiJdfQ==