@sapphire-ion/framework 0.30.27 → 0.30.28

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 (469) hide show
  1. package/build.ps1 +39 -0
  2. package/ng-package.json +10 -0
  3. package/package.json +37 -41
  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 +35 -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 +58 -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 +2338 -2338
  28. package/src/lib/components/_inputs_new/classes/input-control-base.ts +85 -0
  29. package/src/lib/components/_inputs_new/classes/input-provider-factory.ts +16 -0
  30. package/src/lib/components/_inputs_new/input-string/input-string.component.html +4 -0
  31. package/src/lib/components/_inputs_new/input-string/input-string.component.ts +15 -0
  32. package/src/lib/components/_inputs_new/inputs.module.ts +16 -0
  33. package/src/lib/components/carousel/carousel-image/carousel-image.component.html +4 -0
  34. package/src/lib/components/carousel/carousel-image/carousel-image.component.ts +15 -0
  35. package/src/lib/components/carousel/carousel-item/carousel-item.component.html +3 -0
  36. package/src/lib/components/carousel/carousel-item/carousel-item.component.ts +14 -0
  37. package/src/lib/components/carousel/carousel.component.html +22 -0
  38. package/src/lib/components/carousel/carousel.component.ts +83 -0
  39. package/src/lib/components/carousel/carousel.module.ts +20 -0
  40. package/src/lib/components/carousel/i-carousel-item.component.ts +8 -0
  41. package/src/lib/components/content-block/content-block.component.html +6 -0
  42. package/src/lib/components/content-block/content-block.component.ts +25 -0
  43. package/src/lib/components/default/default-list/abstract-list.ts +56 -0
  44. package/src/lib/components/default/default-list/default-list.component.html +60 -0
  45. package/src/lib/components/default/default-list/default-list.component.ts +71 -0
  46. package/src/lib/components/default/default-list/header-list/header-list.component.html +32 -0
  47. package/src/lib/components/default/default-list/header-list/header-list.component.ts +85 -0
  48. package/src/lib/components/default/default-list/list.ts +121 -0
  49. package/src/lib/components/default/default-pagination/default-pagination.component.html +52 -0
  50. package/src/lib/components/default/default-pagination/default-pagination.component.ts +118 -0
  51. package/src/lib/components/default/default-table/default-table.component.html +105 -0
  52. package/src/lib/components/default/default-table/default-table.component.ts +197 -0
  53. package/src/lib/components/default/default-table/th-filter/th-filter.component.html +61 -0
  54. package/src/lib/components/default/default-table/th-filter/th-filter.component.ts +178 -0
  55. package/src/lib/components/default/default-view/abstract-view.ts +25 -0
  56. package/src/lib/components/default/default-view/default-view.component.html +81 -0
  57. package/src/lib/components/default/default-view/default-view.component.ts +34 -0
  58. package/src/lib/components/default/default-view/header-view/header-view.component.html +64 -0
  59. package/src/lib/components/default/default-view/header-view/header-view.component.ts +54 -0
  60. package/src/lib/components/default/default-view/view.ts +171 -0
  61. package/src/lib/components/default/default.module.ts +55 -0
  62. package/src/lib/components/default-page/default.page.html +53 -0
  63. package/src/lib/components/default-page/default.page.ts +77 -0
  64. package/src/lib/components/drag-drop-file/drag-drop-file.directive.ts +44 -0
  65. package/src/lib/components/drag-drop-file/drag-drop-file.module.ts +21 -0
  66. package/src/lib/components/drag-drop-file/drag-drop-overlay/drag-drop-overlay.component.html +5 -0
  67. package/src/lib/components/drag-drop-file/drag-drop-overlay/drag-drop-overlay.component.ts +17 -0
  68. package/src/lib/components/drawer/default-drawer-end/default-drawer-end.component.html +12 -0
  69. package/src/lib/components/drawer/default-drawer-end/default-drawer-end.component.ts +35 -0
  70. package/src/lib/components/drawer/drawer-group/drawer-group.component.html +61 -0
  71. package/src/lib/components/drawer/drawer-group/drawer-group.component.ts +44 -0
  72. package/src/lib/components/drawer/drawer.component.html +56 -0
  73. package/src/lib/components/drawer/drawer.component.ts +119 -0
  74. package/src/lib/components/drawer/menu.ts +20 -0
  75. package/src/lib/components/filter/filter.component.html +31 -0
  76. package/src/lib/components/filter/filter.component.ts +133 -0
  77. package/src/lib/components/http-responses-pages/forbidden-403/forbidden-403.component.html +35 -0
  78. package/src/lib/components/http-responses-pages/forbidden-403/forbidden-403.component.ts +19 -0
  79. package/src/lib/components/image/image.component.html +17 -0
  80. package/src/lib/components/image/image.component.ts +95 -0
  81. package/src/lib/components/info-popover/info-popover.component.html +23 -0
  82. package/src/lib/components/info-popover/info-popover.component.ts +75 -0
  83. package/src/lib/components/inputs/custom-input.ts +67 -0
  84. package/src/lib/components/inputs/custom-signal-input.ts +70 -0
  85. package/src/lib/components/inputs/input-bool/input-bool.component.html +18 -0
  86. package/src/lib/components/inputs/input-bool/input-bool.component.ts +36 -0
  87. package/src/lib/components/inputs/input-bool/input-bool.configuration.ts +14 -0
  88. package/src/lib/components/inputs/input-color/input-color.component.html +132 -0
  89. package/src/lib/components/inputs/input-color/input-color.component.ts +561 -0
  90. package/{lib/components/inputs/input-configuration.d.ts → src/lib/components/inputs/input-configuration.ts} +18 -8
  91. package/src/lib/components/inputs/input-cpf-cnpj/input-cpf-cnpj.component.html +26 -0
  92. package/src/lib/components/inputs/input-cpf-cnpj/input-cpf-cnpj.component.ts +78 -0
  93. package/src/lib/components/inputs/input-cpf-cnpj/input-cpf-cnpj.configuration.ts +4 -0
  94. package/src/lib/components/inputs/input-date/input-date.component.html +40 -0
  95. package/src/lib/components/inputs/input-date/input-date.component.ts +98 -0
  96. package/src/lib/components/inputs/input-date/input-date.configuration.ts +6 -0
  97. package/src/lib/components/inputs/input-decimal/input-decimal.component.html +24 -0
  98. package/src/lib/components/inputs/input-decimal/input-decimal.component.ts +296 -0
  99. package/src/lib/components/inputs/input-decimal/input-decimal.configuration.ts +42 -0
  100. package/src/lib/components/inputs/input-default-configurations.ts +15 -0
  101. package/src/lib/components/inputs/input-file/download-button/download-button.component.html +56 -0
  102. package/src/lib/components/inputs/input-file/download-button/download-button.component.ts +85 -0
  103. package/src/lib/components/inputs/input-file/input-file.component.html +101 -0
  104. package/src/lib/components/inputs/input-file/input-file.component.ts +120 -0
  105. package/src/lib/components/inputs/input-file/input-file.configuration.ts +8 -0
  106. package/src/lib/components/inputs/input-loading/input-loading.component.html +3 -0
  107. package/src/lib/components/inputs/input-loading/input-loading.component.ts +13 -0
  108. package/src/lib/components/inputs/input-provider-factory.ts +15 -0
  109. package/src/lib/components/inputs/input-select/ISelect.ts +26 -0
  110. package/src/lib/components/inputs/input-select/input-select-internal-option/input-select-internal-option.component.html +16 -0
  111. package/src/lib/components/inputs/input-select/input-select-internal-option/input-select-internal-option.component.ts +38 -0
  112. package/src/lib/components/inputs/input-select/input-select-option/input-select-option.component.html +15 -0
  113. package/src/lib/components/inputs/input-select/input-select-option/input-select-option.component.ts +47 -0
  114. package/src/lib/components/inputs/input-select/input-select-template.directive.ts +8 -0
  115. package/src/lib/components/inputs/input-select/input-select.component.html +66 -0
  116. package/src/lib/components/inputs/input-select/input-select.component.ts +323 -0
  117. package/src/lib/components/inputs/input-select/input.select.configuration.ts +188 -0
  118. package/src/lib/components/inputs/input-string/input-string.component.html +22 -0
  119. package/src/lib/components/inputs/input-string/input-string.component.ts +36 -0
  120. package/src/lib/components/inputs/input-string/input-string.configuration.ts +18 -0
  121. package/src/lib/components/inputs/input-textarea/input-textarea.component.html +25 -0
  122. package/src/lib/components/inputs/input-textarea/input-textarea.component.ts +35 -0
  123. package/src/lib/components/inputs/input-type.ts +16 -0
  124. package/src/lib/components/inputs/input-validators.ts +76 -0
  125. package/src/lib/components/inputs/inputs.module.ts +64 -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 +97 -0
  132. package/src/lib/components/main-content/main-content.component.html +61 -0
  133. package/src/lib/components/main-content/main-content.component.ts +55 -0
  134. package/src/lib/components/stepper/step/step.component.html +11 -0
  135. package/src/lib/components/stepper/step/step.component.ts +44 -0
  136. package/src/lib/components/stepper/stepper.component.html +3 -0
  137. package/src/lib/components/stepper/stepper.component.ts +36 -0
  138. package/src/lib/components/stepper/stepper.module.ts +15 -0
  139. package/src/lib/components/tabs/tab/tab.component.html +8 -0
  140. package/src/lib/components/tabs/tab/tab.component.scss +0 -0
  141. package/src/lib/components/tabs/tab/tab.component.ts +28 -0
  142. package/src/lib/components/tabs/tabs/tabs.component.html +14 -0
  143. package/src/lib/components/tabs/tabs/tabs.component.ts +42 -0
  144. package/src/lib/components/tabs/tabs.module.ts +15 -0
  145. package/src/lib/components/text-tooltip/text-tooltip.component.html +8 -0
  146. package/src/lib/components/text-tooltip/text-tooltip.component.scss +0 -0
  147. package/src/lib/components/text-tooltip/text-tooltip.component.ts +45 -0
  148. package/src/lib/components/tooltip/tooltip.component.html +53 -0
  149. package/src/lib/components/tooltip/tooltip.component.ts +16 -0
  150. package/src/lib/core.module.ts +26 -0
  151. package/src/lib/directives/ng-var.directive.ts +26 -0
  152. package/src/lib/guards/auth.guard.ts +19 -0
  153. package/src/lib/guards/error.interceptor.ts +107 -0
  154. package/src/lib/guards/token.interceptor.ts +28 -0
  155. package/src/lib/index.ts +175 -0
  156. package/src/lib/pipes/secure.pipe.ts +39 -0
  157. package/src/lib/services/auth.service.ts +150 -0
  158. package/src/lib/services/crypto.service.ts +164 -0
  159. package/src/lib/services/environment.service.ts +17 -0
  160. package/src/lib/services/generics.service.ts +85 -0
  161. package/src/lib/services/route/route.cache.service.ts +17 -0
  162. package/src/lib/services/route/route.provider.service.ts +49 -0
  163. package/src/lib/services/usuario.service.ts +44 -0
  164. package/src/lib/services/utils.service.ts +161 -0
  165. package/src/lib/services/web/api-url-provider.service.ts +48 -0
  166. package/src/lib/services/web/http.ativo.service.ts +52 -0
  167. package/src/lib/services/web/http.service.ts +184 -0
  168. package/src/lib/services/web/storage.service.ts +131 -0
  169. package/{themes → src/lib}/styles/core.styles.scss +4 -0
  170. package/src/public-api.ts +5 -0
  171. package/tailwind.config.js +27 -0
  172. package/tsconfig.lib.json +29 -0
  173. package/tsconfig.lib.prod.json +23 -0
  174. package/tsconfig.spec.json +27 -0
  175. package/esm2022/lib/classes/comparison/comparison-operator.mjs +0 -18
  176. package/esm2022/lib/classes/comparison/comparison-value-type.mjs +0 -25
  177. package/esm2022/lib/classes/comparison/comparison.mjs +0 -41
  178. package/esm2022/lib/classes/comparison/properties/bool-property.mjs +0 -15
  179. package/esm2022/lib/classes/comparison/properties/date-property.mjs +0 -27
  180. package/esm2022/lib/classes/comparison/properties/datetime-property.mjs +0 -27
  181. package/esm2022/lib/classes/comparison/properties/decimal-property.mjs +0 -27
  182. package/esm2022/lib/classes/comparison/properties/enum-property.mjs +0 -27
  183. package/esm2022/lib/classes/comparison/properties/implicit-property.mjs +0 -12
  184. package/esm2022/lib/classes/comparison/properties/int-property.mjs +0 -27
  185. package/esm2022/lib/classes/comparison/properties/long-property.mjs +0 -27
  186. package/esm2022/lib/classes/comparison/properties/string-property.mjs +0 -15
  187. package/esm2022/lib/classes/comparison/properties/time-property.mjs +0 -27
  188. package/esm2022/lib/classes/credentials.mjs +0 -2
  189. package/esm2022/lib/classes/environment.mjs +0 -32
  190. package/esm2022/lib/classes/filters/view-filtros.mjs +0 -18
  191. package/esm2022/lib/classes/infinite-scroll.mjs +0 -90
  192. package/esm2022/lib/classes/inputs/table-field-form-builder.mjs +0 -10
  193. package/esm2022/lib/classes/inputs/table-field.mjs +0 -69
  194. package/esm2022/lib/classes/page-option.mjs +0 -2
  195. package/esm2022/lib/classes/routes/default-routing-factory.mjs +0 -23
  196. package/esm2022/lib/classes/routes/id-preloader-configuration.mjs +0 -22
  197. package/esm2022/lib/classes/routes/route-data.mjs +0 -9
  198. package/esm2022/lib/components/carousel/carousel-image/carousel-image.component.mjs +0 -18
  199. package/esm2022/lib/components/carousel/carousel-item/carousel-item.component.mjs +0 -15
  200. package/esm2022/lib/components/carousel/carousel.component.mjs +0 -79
  201. package/esm2022/lib/components/carousel/carousel.module.mjs +0 -31
  202. package/esm2022/lib/components/carousel/i-carousel-item.component.mjs +0 -16
  203. package/esm2022/lib/components/content-block/content-block.component.mjs +0 -27
  204. package/esm2022/lib/components/default/default-list/abstract-list.mjs +0 -49
  205. package/esm2022/lib/components/default/default-list/default-list.component.mjs +0 -99
  206. package/esm2022/lib/components/default/default-list/header-list/header-list.component.mjs +0 -98
  207. package/esm2022/lib/components/default/default-list/list.mjs +0 -110
  208. package/esm2022/lib/components/default/default-pagination/default-pagination.component.mjs +0 -123
  209. package/esm2022/lib/components/default/default-table/default-table.component.mjs +0 -222
  210. package/esm2022/lib/components/default/default-table/th-filter/th-filter.component.mjs +0 -186
  211. package/esm2022/lib/components/default/default-view/abstract-view.mjs +0 -22
  212. package/esm2022/lib/components/default/default-view/default-view.component.mjs +0 -51
  213. package/esm2022/lib/components/default/default-view/header-view/header-view.component.mjs +0 -75
  214. package/esm2022/lib/components/default/default-view/view.mjs +0 -175
  215. package/esm2022/lib/components/default/default.module.mjs +0 -87
  216. package/esm2022/lib/components/default-page/default.page.mjs +0 -73
  217. package/esm2022/lib/components/drag-drop-file/drag-drop-file.directive.mjs +0 -60
  218. package/esm2022/lib/components/drag-drop-file/drag-drop-file.module.mjs +0 -31
  219. package/esm2022/lib/components/drag-drop-file/drag-drop-overlay/drag-drop-overlay.component.mjs +0 -15
  220. package/esm2022/lib/components/drawer/default-drawer-end/default-drawer-end.component.mjs +0 -34
  221. package/esm2022/lib/components/drawer/drawer-group/drawer-group.component.mjs +0 -49
  222. package/esm2022/lib/components/drawer/drawer.component.mjs +0 -117
  223. package/esm2022/lib/components/drawer/menu.mjs +0 -15
  224. package/esm2022/lib/components/filter/filter.component.mjs +0 -127
  225. package/esm2022/lib/components/http-responses-pages/forbidden-403/forbidden-403.component.mjs +0 -17
  226. package/esm2022/lib/components/image/image.component.mjs +0 -91
  227. package/esm2022/lib/components/info-popover/info-popover.component.mjs +0 -91
  228. package/esm2022/lib/components/inputs/custom-input.mjs +0 -77
  229. package/esm2022/lib/components/inputs/custom-signal-input.mjs +0 -74
  230. package/esm2022/lib/components/inputs/input-bool/input-bool.component.mjs +0 -43
  231. package/esm2022/lib/components/inputs/input-bool/input-bool.configuration.mjs +0 -16
  232. package/esm2022/lib/components/inputs/input-color/input-color.component.mjs +0 -487
  233. package/esm2022/lib/components/inputs/input-configuration.mjs +0 -2
  234. package/esm2022/lib/components/inputs/input-cpf-cnpj/input-cpf-cnpj.component.mjs +0 -93
  235. package/esm2022/lib/components/inputs/input-cpf-cnpj/input-cpf-cnpj.configuration.mjs +0 -6
  236. package/esm2022/lib/components/inputs/input-date/input-date.component.mjs +0 -122
  237. package/esm2022/lib/components/inputs/input-date/input-date.configuration.mjs +0 -8
  238. package/esm2022/lib/components/inputs/input-decimal/input-decimal.component.mjs +0 -269
  239. package/esm2022/lib/components/inputs/input-decimal/input-decimal.configuration.mjs +0 -45
  240. package/esm2022/lib/components/inputs/input-default-configurations.mjs +0 -14
  241. package/esm2022/lib/components/inputs/input-file/download-button/download-button.component.mjs +0 -94
  242. package/esm2022/lib/components/inputs/input-file/input-file.component.mjs +0 -131
  243. package/esm2022/lib/components/inputs/input-file/input-file.configuration.mjs +0 -11
  244. package/esm2022/lib/components/inputs/input-loading/input-loading.component.mjs +0 -16
  245. package/esm2022/lib/components/inputs/input-provider-factory.mjs +0 -15
  246. package/esm2022/lib/components/inputs/input-select/ISelect.mjs +0 -11
  247. package/esm2022/lib/components/inputs/input-select/input-select-internal-option/input-select-internal-option.component.mjs +0 -42
  248. package/esm2022/lib/components/inputs/input-select/input-select-option/input-select-option.component.mjs +0 -46
  249. package/esm2022/lib/components/inputs/input-select/input-select-template.directive.mjs +0 -16
  250. package/esm2022/lib/components/inputs/input-select/input-select.component.mjs +0 -322
  251. package/esm2022/lib/components/inputs/input-select/input.select.configuration.mjs +0 -164
  252. package/esm2022/lib/components/inputs/input-string/input-string.component.mjs +0 -50
  253. package/esm2022/lib/components/inputs/input-string/input-string.configuration.mjs +0 -18
  254. package/esm2022/lib/components/inputs/input-textarea/input-textarea.component.mjs +0 -47
  255. package/esm2022/lib/components/inputs/input-type.mjs +0 -18
  256. package/esm2022/lib/components/inputs/input-validators.mjs +0 -90
  257. package/esm2022/lib/components/inputs/inputs.module.mjs +0 -105
  258. package/esm2022/lib/components/loading/loading.component.mjs +0 -34
  259. package/esm2022/lib/components/login/login-admin/login-admin.component.mjs +0 -52
  260. package/esm2022/lib/components/login/login.component.mjs +0 -102
  261. package/esm2022/lib/components/main-content/main-content.component.mjs +0 -62
  262. package/esm2022/lib/components/stepper/step/step.component.mjs +0 -43
  263. package/esm2022/lib/components/stepper/stepper.component.mjs +0 -36
  264. package/esm2022/lib/components/stepper/stepper.module.mjs +0 -25
  265. package/esm2022/lib/components/tabs/tab/tab.component.mjs +0 -41
  266. package/esm2022/lib/components/tabs/tabs/tabs.component.mjs +0 -56
  267. package/esm2022/lib/components/tabs/tabs.module.mjs +0 -22
  268. package/esm2022/lib/components/text-tooltip/text-tooltip.component.mjs +0 -51
  269. package/esm2022/lib/components/tooltip/tooltip.component.mjs +0 -21
  270. package/esm2022/lib/core.module.mjs +0 -29
  271. package/esm2022/lib/directives/ng-var.directive.mjs +0 -29
  272. package/esm2022/lib/guards/auth.guard.mjs +0 -26
  273. package/esm2022/lib/guards/error.interceptor.mjs +0 -106
  274. package/esm2022/lib/guards/token.interceptor.mjs +0 -25
  275. package/esm2022/lib/index.mjs +0 -173
  276. package/esm2022/lib/pipes/secure.pipe.mjs +0 -42
  277. package/esm2022/lib/services/auth.service.mjs +0 -146
  278. package/esm2022/lib/services/environment.service.mjs +0 -26
  279. package/esm2022/lib/services/generics.service.mjs +0 -84
  280. package/esm2022/lib/services/route/route.cache.service.mjs +0 -15
  281. package/esm2022/lib/services/route/route.provider.service.mjs +0 -42
  282. package/esm2022/lib/services/usuario.service.mjs +0 -49
  283. package/esm2022/lib/services/utils.service.mjs +0 -149
  284. package/esm2022/lib/services/web/api-url-provider.service.mjs +0 -29
  285. package/esm2022/lib/services/web/http.ativo.service.mjs +0 -55
  286. package/esm2022/lib/services/web/http.service.mjs +0 -169
  287. package/esm2022/lib/services/web/storage.service.mjs +0 -128
  288. package/esm2022/public-api.mjs +0 -5
  289. package/esm2022/sapphire-ion-framework.mjs +0 -5
  290. package/fesm2022/sapphire-ion-framework.mjs +0 -6240
  291. package/fesm2022/sapphire-ion-framework.mjs.map +0 -1
  292. package/index.d.ts +0 -5
  293. package/lib/classes/comparison/comparison-operator.d.ts +0 -9
  294. package/lib/classes/comparison/comparison-value-type.d.ts +0 -23
  295. package/lib/classes/comparison/comparison.d.ts +0 -25
  296. package/lib/classes/comparison/properties/bool-property.d.ts +0 -7
  297. package/lib/classes/comparison/properties/date-property.d.ts +0 -11
  298. package/lib/classes/comparison/properties/datetime-property.d.ts +0 -11
  299. package/lib/classes/comparison/properties/decimal-property.d.ts +0 -11
  300. package/lib/classes/comparison/properties/enum-property.d.ts +0 -11
  301. package/lib/classes/comparison/properties/implicit-property.d.ts +0 -6
  302. package/lib/classes/comparison/properties/int-property.d.ts +0 -11
  303. package/lib/classes/comparison/properties/long-property.d.ts +0 -11
  304. package/lib/classes/comparison/properties/string-property.d.ts +0 -7
  305. package/lib/classes/comparison/properties/time-property.d.ts +0 -11
  306. package/lib/classes/environment.d.ts +0 -13
  307. package/lib/classes/filters/view-filtros.d.ts +0 -10
  308. package/lib/classes/infinite-scroll.d.ts +0 -26
  309. package/lib/classes/inputs/table-field-form-builder.d.ts +0 -5
  310. package/lib/classes/inputs/table-field.d.ts +0 -20
  311. package/lib/classes/page-option.d.ts +0 -7
  312. package/lib/classes/routes/default-routing-factory.d.ts +0 -8
  313. package/lib/classes/routes/id-preloader-configuration.d.ts +0 -28
  314. package/lib/classes/routes/route-data.d.ts +0 -5
  315. package/lib/components/carousel/carousel-image/carousel-image.component.d.ts +0 -10
  316. package/lib/components/carousel/carousel-item/carousel-item.component.d.ts +0 -9
  317. package/lib/components/carousel/carousel.component.d.ts +0 -32
  318. package/lib/components/carousel/carousel.module.d.ts +0 -12
  319. package/lib/components/carousel/i-carousel-item.component.d.ts +0 -9
  320. package/lib/components/content-block/content-block.component.d.ts +0 -15
  321. package/lib/components/default/default-list/abstract-list.d.ts +0 -21
  322. package/lib/components/default/default-list/default-list.component.d.ts +0 -44
  323. package/lib/components/default/default-list/header-list/header-list.component.d.ts +0 -45
  324. package/lib/components/default/default-list/list.d.ts +0 -38
  325. package/lib/components/default/default-pagination/default-pagination.component.d.ts +0 -36
  326. package/lib/components/default/default-table/default-table.component.d.ts +0 -72
  327. package/lib/components/default/default-table/th-filter/th-filter.component.d.ts +0 -20
  328. package/lib/components/default/default-view/abstract-view.d.ts +0 -18
  329. package/lib/components/default/default-view/default-view.component.d.ts +0 -26
  330. package/lib/components/default/default-view/header-view/header-view.component.d.ts +0 -26
  331. package/lib/components/default/default-view/view.d.ts +0 -56
  332. package/lib/components/default/default.module.d.ts +0 -28
  333. package/lib/components/default-page/default.page.d.ts +0 -35
  334. package/lib/components/drag-drop-file/drag-drop-file.directive.d.ts +0 -14
  335. package/lib/components/drag-drop-file/drag-drop-file.module.d.ts +0 -10
  336. package/lib/components/drag-drop-file/drag-drop-overlay/drag-drop-overlay.component.d.ts +0 -9
  337. package/lib/components/drawer/default-drawer-end/default-drawer-end.component.d.ts +0 -13
  338. package/lib/components/drawer/drawer-group/drawer-group.component.d.ts +0 -22
  339. package/lib/components/drawer/drawer.component.d.ts +0 -23
  340. package/lib/components/drawer/menu.d.ts +0 -9
  341. package/lib/components/filter/filter.component.d.ts +0 -29
  342. package/lib/components/http-responses-pages/forbidden-403/forbidden-403.component.d.ts +0 -8
  343. package/lib/components/image/image.component.d.ts +0 -23
  344. package/lib/components/info-popover/info-popover.component.d.ts +0 -15
  345. package/lib/components/inputs/custom-input.d.ts +0 -36
  346. package/lib/components/inputs/custom-signal-input.d.ts +0 -38
  347. package/lib/components/inputs/input-bool/input-bool.component.d.ts +0 -19
  348. package/lib/components/inputs/input-bool/input-bool.configuration.d.ts +0 -17
  349. package/lib/components/inputs/input-color/input-color.component.d.ts +0 -80
  350. package/lib/components/inputs/input-cpf-cnpj/input-cpf-cnpj.component.d.ts +0 -24
  351. package/lib/components/inputs/input-cpf-cnpj/input-cpf-cnpj.configuration.d.ts +0 -5
  352. package/lib/components/inputs/input-date/input-date.component.d.ts +0 -30
  353. package/lib/components/inputs/input-date/input-date.configuration.d.ts +0 -7
  354. package/lib/components/inputs/input-decimal/input-decimal.component.d.ts +0 -41
  355. package/lib/components/inputs/input-decimal/input-decimal.configuration.d.ts +0 -25
  356. package/lib/components/inputs/input-default-configurations.d.ts +0 -13
  357. package/lib/components/inputs/input-file/download-button/download-button.component.d.ts +0 -37
  358. package/lib/components/inputs/input-file/input-file.component.d.ts +0 -39
  359. package/lib/components/inputs/input-file/input-file.configuration.d.ts +0 -11
  360. package/lib/components/inputs/input-loading/input-loading.component.d.ts +0 -7
  361. package/lib/components/inputs/input-provider-factory.d.ts +0 -4
  362. package/lib/components/inputs/input-select/ISelect.d.ts +0 -21
  363. package/lib/components/inputs/input-select/input-select-internal-option/input-select-internal-option.component.d.ts +0 -18
  364. package/lib/components/inputs/input-select/input-select-option/input-select-option.component.d.ts +0 -24
  365. package/lib/components/inputs/input-select/input-select-template.directive.d.ts +0 -8
  366. package/lib/components/inputs/input-select/input-select.component.d.ts +0 -66
  367. package/lib/components/inputs/input-select/input.select.configuration.d.ts +0 -87
  368. package/lib/components/inputs/input-string/input-string.component.d.ts +0 -19
  369. package/lib/components/inputs/input-string/input-string.configuration.d.ts +0 -14
  370. package/lib/components/inputs/input-textarea/input-textarea.component.d.ts +0 -18
  371. package/lib/components/inputs/input-type.d.ts +0 -16
  372. package/lib/components/inputs/input-validators.d.ts +0 -19
  373. package/lib/components/inputs/inputs.module.d.ts +0 -29
  374. package/lib/components/loading/loading.component.d.ts +0 -18
  375. package/lib/components/login/login-admin/login-admin.component.d.ts +0 -20
  376. package/lib/components/login/login.component.d.ts +0 -29
  377. package/lib/components/main-content/main-content.component.d.ts +0 -17
  378. package/lib/components/stepper/step/step.component.d.ts +0 -15
  379. package/lib/components/stepper/stepper.component.d.ts +0 -17
  380. package/lib/components/stepper/stepper.module.d.ts +0 -10
  381. package/lib/components/tabs/tab/tab.component.d.ts +0 -19
  382. package/lib/components/tabs/tabs/tabs.component.d.ts +0 -18
  383. package/lib/components/tabs/tabs.module.d.ts +0 -12
  384. package/lib/components/text-tooltip/text-tooltip.component.d.ts +0 -16
  385. package/lib/components/tooltip/tooltip.component.d.ts +0 -7
  386. package/lib/core.module.d.ts +0 -11
  387. package/lib/directives/ng-var.directive.d.ts +0 -12
  388. package/lib/guards/auth.guard.d.ts +0 -11
  389. package/lib/guards/error.interceptor.d.ts +0 -32
  390. package/lib/guards/token.interceptor.d.ts +0 -11
  391. package/lib/index.d.ts +0 -109
  392. package/lib/pipes/secure.pipe.d.ts +0 -15
  393. package/lib/services/auth.service.d.ts +0 -47
  394. package/lib/services/environment.service.d.ts +0 -10
  395. package/lib/services/generics.service.d.ts +0 -22
  396. package/lib/services/route/route.cache.service.d.ts +0 -7
  397. package/lib/services/route/route.provider.service.d.ts +0 -13
  398. package/lib/services/usuario.service.d.ts +0 -21
  399. package/lib/services/utils.service.d.ts +0 -36
  400. package/lib/services/web/api-url-provider.service.d.ts +0 -13
  401. package/lib/services/web/http.ativo.service.d.ts +0 -31
  402. package/lib/services/web/http.service.d.ts +0 -50
  403. package/lib/services/web/storage.service.d.ts +0 -25
  404. package/public-api.d.ts +0 -1
  405. /package/{themes → src/lib}/components/_inputs_new/input-string/input-string.component.scss +0 -0
  406. /package/{themes → src/lib}/components/_inputs_new/inputs.scss +0 -0
  407. /package/{themes → src/lib}/components/carousel/carousel-image/carousel-image.component.scss +0 -0
  408. /package/{themes → src/lib}/components/carousel/carousel-item/carousel-item.component.scss +0 -0
  409. /package/{themes → src/lib}/components/carousel/carousel.component.scss +0 -0
  410. /package/{themes → src/lib}/components/content-block/content-block.component.scss +0 -0
  411. /package/{themes → src/lib}/components/default/default-list/default-list.component.scss +0 -0
  412. /package/{themes → src/lib}/components/default/default-list/header-list/header-list.component.scss +0 -0
  413. /package/{themes → src/lib}/components/default/default-pagination/default-pagination.component.scss +0 -0
  414. /package/{themes → src/lib}/components/default/default-table/default-table.component.scss +0 -0
  415. /package/{themes → src/lib}/components/default/default-table/th-filter/th-filter.component.scss +0 -0
  416. /package/{themes → src/lib}/components/default/default-view/default-view.component.scss +0 -0
  417. /package/{themes → src/lib}/components/default/default-view/header-view/header-view.component.scss +0 -0
  418. /package/{themes → src/lib}/components/default-page/default.page.scss +0 -0
  419. /package/{themes → src/lib}/components/drag-drop-file/drag-drop-overlay/drag-drop-overlay.component.scss +0 -0
  420. /package/{themes → src/lib}/components/drawer/default-drawer-end/default-drawer-end.component.scss +0 -0
  421. /package/{themes → src/lib}/components/drawer/drawer-group/drawer-group.component.scss +0 -0
  422. /package/{themes → src/lib}/components/drawer/drawer.component.scss +0 -0
  423. /package/{themes → src/lib}/components/filter/filter.component.scss +0 -0
  424. /package/{themes → src/lib}/components/http-responses-pages/forbidden-403/forbidden-403.component.scss +0 -0
  425. /package/{themes → src/lib}/components/image/image.component.scss +0 -0
  426. /package/{themes → src/lib}/components/info-popover/info-popover.component.scss +0 -0
  427. /package/{themes → src/lib}/components/inputs/input-bool/input-bool.component.scss +0 -0
  428. /package/{themes → src/lib}/components/inputs/input-color/input-color.component.scss +0 -0
  429. /package/{themes/components/inputs/input-cpf-cnpj/input-cpf-cnpj.component.scss → src/lib/components/inputs/input-color/input-color.configuration.ts} +0 -0
  430. /package/{themes/components/inputs/input-loading/input-loading.component.scss → src/lib/components/inputs/input-cpf-cnpj/input-cpf-cnpj.component.scss} +0 -0
  431. /package/{themes → src/lib}/components/inputs/input-date/input-date.component.scss +0 -0
  432. /package/{themes → src/lib}/components/inputs/input-decimal/input-decimal.component.scss +0 -0
  433. /package/{themes → src/lib}/components/inputs/input-file/download-button/download-button.component.scss +0 -0
  434. /package/{themes → src/lib}/components/inputs/input-file/input-file.component.scss +0 -0
  435. /package/{themes/components/inputs/input-select/input-select-internal-option/input-select-internal-option.component.scss → src/lib/components/inputs/input-loading/input-bool.configuration.ts} +0 -0
  436. /package/{themes/components/inputs/input-select/input-select-option/input-select-option.component.scss → src/lib/components/inputs/input-loading/input-loading.component.scss} +0 -0
  437. /package/{themes/components/inputs/input-string/input-string.component.scss → src/lib/components/inputs/input-select/input-select-internal-option/input-select-internal-option.component.scss} +0 -0
  438. /package/{themes/components/inputs/input-textarea/input-textarea.component.scss → src/lib/components/inputs/input-select/input-select-option/input-select-option.component.scss} +0 -0
  439. /package/{themes → src/lib}/components/inputs/input-select/input-select.component.scss +0 -0
  440. /package/{themes/components/loading/loading.component.scss → src/lib/components/inputs/input-string/input-string.component.scss} +0 -0
  441. /package/{themes/components/stepper/stepper.component.scss → src/lib/components/inputs/input-textarea/input-textarea.component.scss} +0 -0
  442. /package/{themes → src/lib}/components/inputs/inputs.scss +0 -0
  443. /package/{themes/components/tabs/tab/tab.component.scss → src/lib/components/loading/loading.component.scss} +0 -0
  444. /package/{themes → src/lib}/components/login/login-admin/login-admin.component.scss +0 -0
  445. /package/{themes → src/lib}/components/login/login.component.scss +0 -0
  446. /package/{themes → src/lib}/components/main-content/main-content.component.scss +0 -0
  447. /package/{themes → src/lib}/components/stepper/step/step.component.scss +0 -0
  448. /package/{themes/components/text-tooltip/text-tooltip.component.scss → src/lib/components/stepper/stepper.component.scss} +0 -0
  449. /package/{themes → src/lib}/components/tabs/tabs/tabs.component.scss +0 -0
  450. /package/{themes → src/lib}/components/tooltip/tooltip.component.scss +0 -0
  451. /package/{themes → src/lib}/styles/components.scss +0 -0
  452. /package/{themes → src/lib}/styles/ionic/ion-action-sheet.scss +0 -0
  453. /package/{themes → src/lib}/styles/ionic/ion-alert.scss +0 -0
  454. /package/{themes → src/lib}/styles/ionic/ion-button.scss +0 -0
  455. /package/{themes → src/lib}/styles/ionic/ion-card.scss +0 -0
  456. /package/{themes → src/lib}/styles/ionic/ion-content.scss +0 -0
  457. /package/{themes → src/lib}/styles/ionic/ion-datetime.scss +0 -0
  458. /package/{themes → src/lib}/styles/ionic/ion-item.scss +0 -0
  459. /package/{themes → src/lib}/styles/ionic/ion-list.scss +0 -0
  460. /package/{themes → src/lib}/styles/ionic/ion-modal.scss +0 -0
  461. /package/{themes → src/lib}/styles/ionic/ion-popover.scss +0 -0
  462. /package/{themes → src/lib}/styles/ionic/ion-progress-bar.scss +0 -0
  463. /package/{themes → src/lib}/styles/ionic/ion-searchbar.scss +0 -0
  464. /package/{themes → src/lib}/styles/ionic/ion-toast.scss +0 -0
  465. /package/{themes → src/lib}/styles/ionic.scss +0 -0
  466. /package/{themes → src/lib}/styles/login-default.scss +0 -0
  467. /package/{themes → src/lib}/styles/mixins.scss +0 -0
  468. /package/{themes → src/lib}/styles/styles.scss +0 -0
  469. /package/{themes → src/lib}/styles/translucid.scss +0 -0
@@ -1,131 +0,0 @@
1
- import { Component, ElementRef, Host, Input, Optional, SkipSelf } from '@angular/core';
2
- import { ControlContainer } from '@angular/forms';
3
- import { InputFileConfiguration } from './input-file.configuration';
4
- import { ApiUrlProviderService } from '../../../services/web/api-url-provider.service';
5
- import { InputProviderFactory } from '../input-provider-factory';
6
- import { Utils, UtilsService } from '../../../services/utils.service';
7
- import { CustomInput } from '../custom-input';
8
- import { StorageService } from '../../../services/web/storage.service';
9
- import * as i0 from "@angular/core";
10
- import * as i1 from "@angular/forms";
11
- import * as i2 from "../../../services/utils.service";
12
- import * as i3 from "../../../services/web/api-url-provider.service";
13
- import * as i4 from "../../../services/web/storage.service";
14
- import * as i5 from "@angular/common";
15
- import * as i6 from "@ionic/angular";
16
- import * as i7 from "../../../directives/ng-var.directive";
17
- import * as i8 from "../../loading/loading.component";
18
- import * as i9 from "../../image/image.component";
19
- import * as i10 from "../input-loading/input-loading.component";
20
- export class InputFileComponent extends CustomInput {
21
- constructor(controlContainer, elementRef, utilsService, apiUrlProviderService, storageService) {
22
- super();
23
- this.controlContainer = controlContainer;
24
- this.elementRef = elementRef;
25
- this.utilsService = utilsService;
26
- this.apiUrlProviderService = apiUrlProviderService;
27
- this.storageService = storageService;
28
- this.configuration = new InputFileConfiguration();
29
- this.lstFiles = [];
30
- this.lstLoading = [];
31
- }
32
- async ngOnInit() {
33
- super.ngOnInit();
34
- this.apiUrl = this.apiUrlProviderService.apiUrl;
35
- this.guid = `${this.formControlName}${this.id}${Utils.GenerateGUID()}${this.elementRef.nativeElement.tagName.toLowerCase()}`;
36
- }
37
- writeValue(value) { this.setModel(value); }
38
- get model() {
39
- if (!this._model) {
40
- return "";
41
- }
42
- if (typeof (this._model) == "string") {
43
- const t = this._model.split(';').length;
44
- return t == 1 ? StorageService.SanitizeFileName(this._model) : `${t} Arquivos Armazenados`;
45
- }
46
- else {
47
- if (this._model.length > 1) {
48
- return `${this._model.length} Arquivos Selecionados`;
49
- }
50
- else {
51
- return this._model[0].name;
52
- }
53
- }
54
- }
55
- set model(value) {
56
- this.setModel(value);
57
- this.propagateChange(this._model);
58
- }
59
- setModel(value) {
60
- this._model = value;
61
- if (typeof (this._model) == "string") {
62
- this.lstFiles = this._model.split(';');
63
- }
64
- else {
65
- this.lstFiles = [];
66
- }
67
- }
68
- Upload() {
69
- this.utilsService.SelectFile(this.configuration).then((res) => { if (res) {
70
- this.model = res;
71
- } });
72
- }
73
- Download(value) {
74
- this.storageService.StartDownload(value);
75
- }
76
- PopoverImg() {
77
- return !this.configuration.multiple && typeof (this._model) == "string" && this.ExtensionIsImage(this._model);
78
- }
79
- ExtensionIsImage(v) {
80
- try {
81
- return imageTypes.includes(v.split('.')[v.split('.').length - 1]);
82
- }
83
- catch {
84
- return false;
85
- }
86
- }
87
- get src() {
88
- return this.apiUrl + this._model;
89
- }
90
- get isCloud() {
91
- return typeof (this._model) == "string";
92
- }
93
- Sanitize(v) { return StorageService.SanitizeFileName(v); }
94
- SetLoading(path) {
95
- this.lstLoading.push(path);
96
- }
97
- SetNotLoading(path) {
98
- this.lstLoading.splice(this.lstLoading.indexOf(path), 1);
99
- }
100
- isLoading(path) {
101
- return this.lstLoading.indexOf(path) != -1;
102
- }
103
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: InputFileComponent, deps: [{ token: i1.ControlContainer, host: true, optional: true, skipSelf: true }, { token: i0.ElementRef }, { token: i2.UtilsService }, { token: i3.ApiUrlProviderService }, { token: i4.StorageService }], target: i0.ɵɵFactoryTarget.Component }); }
104
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.2.13", type: InputFileComponent, selector: "input-file", inputs: { configuration: "configuration" }, providers: InputProviderFactory.GetProvider(InputFileComponent), usesInheritance: true, ngImport: i0, template: "<div class=\"flex relative overflow-hidden\">\r\n <ion-card [disabled]=\"loading || disabled\"\r\n class=\"!border-r-0 !rounded-r-none focus-within:on-focus ion-card-input\"\r\n [ngClass]=\"{\r\n 'invalid' : invalid,\r\n 'submitted': submitted,\r\n 'disabled': disabled,\r\n }\"\r\n >\r\n <ion-card-content>\r\n <ion-item lines=\"none\">\r\n <ion-input [readonly]=\"true\" class=\"!opacity-100\" labelPlacement=\"stacked\" [(ngModel)]=\"model\">\r\n <ion-text id=\"label\" [ngClass]=\"{'required': required}\" slot=\"label\"> {{label}} </ion-text>\r\n </ion-input>\r\n </ion-item>\r\n <div class=\"absolute h-full right-2 top-0 z-50 flex items-center justify-center\">\r\n <ion-button [id]=\"guid\" [disabled]=\"!(lstFiles.length > 1)\"\r\n class=\"aspect-square default-transition opacity-0 translate-x-12\" \r\n [ngClass]=\"{'opacity-100 !translate-x-0 size-8': lstFiles.length > 1 }\" \r\n size=\"small\" fill=\"outline\" color=\"medium\"\r\n >\r\n <ion-icon name=\"ellipsis-vertical\" slot=\"icon-only\"></ion-icon>\r\n </ion-button>\r\n </div>\r\n\r\n <div class=\"absolute h-full right-12 top-0 z-50 flex items-center justify-center\" [ngClass]=\"{'!z-0': !(_model && lstFiles.length == 1 && PopoverImg)}\" >\r\n <ion-button [id]=\"guid + 'image'\" [disabled]=\"!(_model && lstFiles.length == 1 && PopoverImg)\"\r\n class=\"aspect-square default-transition opacity-0 translate-x-12\" \r\n [ngClass]=\"{'opacity-100 !translate-x-0 size-8': _model && lstFiles.length == 1 && PopoverImg }\" \r\n size=\"small\" fill=\"outline\" color=\"medium\"\r\n >\r\n <ion-icon name=\"image\" slot=\"icon-only\"></ion-icon>\r\n </ion-button>\r\n </div>\r\n\r\n <div class=\"absolute h-full right-2 top-0 z-50 flex items-center justify-center\" [ngClass]=\"{'!z-0': !(_model && lstFiles.length == 1 && PopoverImg)}\" >\r\n <ion-button (click)=\"Download(_model.toString())\" [disabled]=\"!(_model && lstFiles.length == 1)\"\r\n class=\"aspect-square default-transition opacity-0 translate-x-12\" \r\n [ngClass]=\"{'opacity-100 !translate-x-0 size-8': _model && lstFiles.length == 1 }\" \r\n size=\"small\" fill=\"outline\"\r\n >\r\n <ion-icon name=\"cloud-download\" slot=\"icon-only\"></ion-icon>\r\n </ion-button>\r\n </div>\r\n\r\n @if (model) {\r\n <ion-progress-bar *ngVar=\"storageService.GetProgress(_model.toString()) as val\" [value]=\"val\" class=\"absolute bottom-0 left-0 w-full h-1 default-transition\" [ngClass]=\"{'!h-0': !val}\"></ion-progress-bar>\r\n }\r\n </ion-card-content>\r\n </ion-card>\r\n <div class=\"w-12\"> \r\n <ion-button (click)=\"Upload()\" class=\"m-0 h-full w-full rou on-hover rounded-r-2xl\" [disabled]=\"loading || disabled\" style=\"--border-width: 1px 1px 2px 1px; --border-radius: 0rem 1rem 1rem 0rem;\" size=\"small\" color=\"secondary\" fill=\"outline\"> \r\n <ion-icon slot=\"icon-only\" name=\"cloud-upload\"></ion-icon> \r\n </ion-button>\r\n </div>\r\n <input-loading [loading]=\"loading\"></input-loading>\r\n\r\n</div>\r\n\r\n@if (PopoverImg && ExtensionIsImage(src)) {\r\n <ion-popover [trigger]=\"guid + 'image'\" [keepContentsMounted]=\"true\" triggerAction=\"click\">\r\n <ng-template>\r\n <image [src]=\"src\"></image> \r\n </ng-template>\r\n </ion-popover>\r\n}\r\n@if(configuration.multiple){\r\n <ion-popover [trigger]=\"guid\" [keepContentsMounted]=\"true\" triggerAction=\"click\">\r\n <ng-template>\r\n <ion-content class=\"p-0 bg-transparent\">\r\n <ion-list>\r\n @for (item of lstFiles; track item; let i = $index; let l = $last) {\r\n <section *ngVar=\"storageService.GetProgress(item) as val\">\r\n <ion-item style=\"--background: transparent\" lines=\"{{l ? 'none' : 'full'}}\" button [detail]=\"false\">\r\n\r\n <ion-icon name=\"download\" (click)=\"Download(item)\" slot=\"start\"></ion-icon> \r\n @if (ExtensionIsImage(item)) {\r\n <ion-icon [id]=\"guid + '-' + i + '-nested-popover'\" name=\"image\" slot=\"start\"></ion-icon> \r\n }\r\n\r\n <ion-label>{{Sanitize(item)}}</ion-label>\r\n <ion-text *ngIf=\"val != 0\" slot=\"end\" class=\"text-sm\"><b>{{val * 100 | number : '1.2-2'}}%</b></ion-text>\r\n </ion-item>\r\n <ion-progress-bar class=\"h-0 default-transition\" [ngClass]=\"{'h-1': val != 0 }\" [value]=\"val\"></ion-progress-bar>\r\n <ion-popover *ngIf=\"ExtensionIsImage(item)\" side=\"end\" alignment=\"center\" [trigger]=\"guid + '-' + i + '-nested-popover'\" [dismissOnSelect]=\"true\" triggerAction=\"click\">\r\n <ng-template>\r\n <ion-content *ngVar=\"isLoading(item) as isLoading\">\r\n @if(isLoading){\r\n <loading [loading]=\"isLoading\"></loading>\r\n }\r\n <image [hidden]=\"isLoading\" [src]=\"apiUrl + item\"></image>\r\n </ion-content>\r\n </ng-template>\r\n </ion-popover>\r\n </section>\r\n }\r\n </ion-list>\r\n </ion-content>\r\n </ng-template>\r\n </ion-popover>\r\n}\r\n", styles: ["ion-popover{--width: 30rem }\n", ".on-hover{background:color-mix(in srgb,var(--ion-color-light) 97%,transparent 3%)}.on-hover:hover{transition-property:all;transition-duration:.3s;transition-timing-function:cubic-bezier(.4,0,.2,1);background:color-mix(in srgb,var(--ion-color-dark) 15%,transparent 93%)}ion-card.ion-card-input{margin:0;display:flex;height:100%;width:100%;align-items:center;justify-content:center;overflow:hidden;border-radius:1rem;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow);transition-property:all;transition-duration:.3s;transition-timing-function:cubic-bezier(.4,0,.2,1);background:color-mix(in srgb,var(--ion-color-light) 97%,transparent 3%);border-bottom-color:var(--ion-color-medium);border-right-color:color-mix(in srgb,var(--ion-color-medium) 30%,transparent 70%);border-top-color:color-mix(in srgb,var(--ion-color-medium) 30%,transparent 70%);border-left-color:color-mix(in srgb,var(--ion-color-medium) 30%,transparent 70%);border-width:1px 1px 2px 1px;min-height:58px;max-height:58px;height:58px}ion-card.ion-card-input:hover{background:color-mix(in srgb,var(--ion-color-dark) 15%,transparent 93%)}ion-card.ion-card-input.submitted.invalid{border-color:color-mix(in srgb,var(--ion-color-danger) 75%,transparent 25%)!important}ion-card.ion-card-input.disabled{background-color:color-mix(in srgb,var(--ion-color-medium) 30%,transparent 70%)!important}ion-card.ion-card-input ion-card-content{width:100%;height:100%;background-color:transparent;padding:0}ion-item{--background: transparent}ion-text#label.required:after{content:\"*\";color:var(--ion-color-danger);vertical-align:text-bottom;font-size:small}ion-text#label:not(.required):after{content:var(--input-opcional-label, \"(Opcional)\");color:var(--ion-color-medium);vertical-align:text-bottom;font-size:small}.on-focus{border-bottom-color:var(--ion-color-primary)}.focus-within\\:on-focus:focus-within{border-bottom-color:var(--ion-color-primary)}\n"], dependencies: [{ kind: "directive", type: i5.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: i5.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { 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.IonInput, selector: "ion-input", inputs: ["autocapitalize", "autocomplete", "autocorrect", "autofocus", "clearInput", "clearInputIcon", "clearOnEdit", "color", "counter", "counterFormatter", "debounce", "disabled", "enterkeyhint", "errorText", "fill", "helperText", "inputmode", "label", "labelPlacement", "max", "maxlength", "min", "minlength", "mode", "multiple", "name", "pattern", "placeholder", "readonly", "required", "shape", "spellcheck", "step", "type", "value"] }, { 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.IonProgressBar, selector: "ion-progress-bar", inputs: ["buffer", "color", "mode", "reversed", "type", "value"] }, { kind: "component", type: i6.IonText, selector: "ion-text", inputs: ["color", "mode"] }, { kind: "component", type: i6.IonPopover, selector: "ion-popover" }, { kind: "directive", type: i6.TextValueAccessor, selector: "ion-input:not([type=number]),ion-input-otp[type=text],ion-textarea,ion-searchbar" }, { kind: "directive", type: i1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "directive", type: i7.NgVarDirective, selector: "[ngVar]", inputs: ["ngVar"] }, { kind: "component", type: i8.LoadingComponent, selector: "loading", inputs: ["text", "type", "loading"] }, { kind: "component", type: i9.ImageComponent, selector: "image", inputs: ["fill", "object", "src"] }, { kind: "component", type: i10.InputLoadingComponent, selector: "input-loading", inputs: ["loading"] }, { kind: "pipe", type: i5.DecimalPipe, name: "number" }] }); }
105
- }
106
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: InputFileComponent, decorators: [{
107
- type: Component,
108
- args: [{ selector: 'input-file', providers: InputProviderFactory.GetProvider(InputFileComponent), template: "<div class=\"flex relative overflow-hidden\">\r\n <ion-card [disabled]=\"loading || disabled\"\r\n class=\"!border-r-0 !rounded-r-none focus-within:on-focus ion-card-input\"\r\n [ngClass]=\"{\r\n 'invalid' : invalid,\r\n 'submitted': submitted,\r\n 'disabled': disabled,\r\n }\"\r\n >\r\n <ion-card-content>\r\n <ion-item lines=\"none\">\r\n <ion-input [readonly]=\"true\" class=\"!opacity-100\" labelPlacement=\"stacked\" [(ngModel)]=\"model\">\r\n <ion-text id=\"label\" [ngClass]=\"{'required': required}\" slot=\"label\"> {{label}} </ion-text>\r\n </ion-input>\r\n </ion-item>\r\n <div class=\"absolute h-full right-2 top-0 z-50 flex items-center justify-center\">\r\n <ion-button [id]=\"guid\" [disabled]=\"!(lstFiles.length > 1)\"\r\n class=\"aspect-square default-transition opacity-0 translate-x-12\" \r\n [ngClass]=\"{'opacity-100 !translate-x-0 size-8': lstFiles.length > 1 }\" \r\n size=\"small\" fill=\"outline\" color=\"medium\"\r\n >\r\n <ion-icon name=\"ellipsis-vertical\" slot=\"icon-only\"></ion-icon>\r\n </ion-button>\r\n </div>\r\n\r\n <div class=\"absolute h-full right-12 top-0 z-50 flex items-center justify-center\" [ngClass]=\"{'!z-0': !(_model && lstFiles.length == 1 && PopoverImg)}\" >\r\n <ion-button [id]=\"guid + 'image'\" [disabled]=\"!(_model && lstFiles.length == 1 && PopoverImg)\"\r\n class=\"aspect-square default-transition opacity-0 translate-x-12\" \r\n [ngClass]=\"{'opacity-100 !translate-x-0 size-8': _model && lstFiles.length == 1 && PopoverImg }\" \r\n size=\"small\" fill=\"outline\" color=\"medium\"\r\n >\r\n <ion-icon name=\"image\" slot=\"icon-only\"></ion-icon>\r\n </ion-button>\r\n </div>\r\n\r\n <div class=\"absolute h-full right-2 top-0 z-50 flex items-center justify-center\" [ngClass]=\"{'!z-0': !(_model && lstFiles.length == 1 && PopoverImg)}\" >\r\n <ion-button (click)=\"Download(_model.toString())\" [disabled]=\"!(_model && lstFiles.length == 1)\"\r\n class=\"aspect-square default-transition opacity-0 translate-x-12\" \r\n [ngClass]=\"{'opacity-100 !translate-x-0 size-8': _model && lstFiles.length == 1 }\" \r\n size=\"small\" fill=\"outline\"\r\n >\r\n <ion-icon name=\"cloud-download\" slot=\"icon-only\"></ion-icon>\r\n </ion-button>\r\n </div>\r\n\r\n @if (model) {\r\n <ion-progress-bar *ngVar=\"storageService.GetProgress(_model.toString()) as val\" [value]=\"val\" class=\"absolute bottom-0 left-0 w-full h-1 default-transition\" [ngClass]=\"{'!h-0': !val}\"></ion-progress-bar>\r\n }\r\n </ion-card-content>\r\n </ion-card>\r\n <div class=\"w-12\"> \r\n <ion-button (click)=\"Upload()\" class=\"m-0 h-full w-full rou on-hover rounded-r-2xl\" [disabled]=\"loading || disabled\" style=\"--border-width: 1px 1px 2px 1px; --border-radius: 0rem 1rem 1rem 0rem;\" size=\"small\" color=\"secondary\" fill=\"outline\"> \r\n <ion-icon slot=\"icon-only\" name=\"cloud-upload\"></ion-icon> \r\n </ion-button>\r\n </div>\r\n <input-loading [loading]=\"loading\"></input-loading>\r\n\r\n</div>\r\n\r\n@if (PopoverImg && ExtensionIsImage(src)) {\r\n <ion-popover [trigger]=\"guid + 'image'\" [keepContentsMounted]=\"true\" triggerAction=\"click\">\r\n <ng-template>\r\n <image [src]=\"src\"></image> \r\n </ng-template>\r\n </ion-popover>\r\n}\r\n@if(configuration.multiple){\r\n <ion-popover [trigger]=\"guid\" [keepContentsMounted]=\"true\" triggerAction=\"click\">\r\n <ng-template>\r\n <ion-content class=\"p-0 bg-transparent\">\r\n <ion-list>\r\n @for (item of lstFiles; track item; let i = $index; let l = $last) {\r\n <section *ngVar=\"storageService.GetProgress(item) as val\">\r\n <ion-item style=\"--background: transparent\" lines=\"{{l ? 'none' : 'full'}}\" button [detail]=\"false\">\r\n\r\n <ion-icon name=\"download\" (click)=\"Download(item)\" slot=\"start\"></ion-icon> \r\n @if (ExtensionIsImage(item)) {\r\n <ion-icon [id]=\"guid + '-' + i + '-nested-popover'\" name=\"image\" slot=\"start\"></ion-icon> \r\n }\r\n\r\n <ion-label>{{Sanitize(item)}}</ion-label>\r\n <ion-text *ngIf=\"val != 0\" slot=\"end\" class=\"text-sm\"><b>{{val * 100 | number : '1.2-2'}}%</b></ion-text>\r\n </ion-item>\r\n <ion-progress-bar class=\"h-0 default-transition\" [ngClass]=\"{'h-1': val != 0 }\" [value]=\"val\"></ion-progress-bar>\r\n <ion-popover *ngIf=\"ExtensionIsImage(item)\" side=\"end\" alignment=\"center\" [trigger]=\"guid + '-' + i + '-nested-popover'\" [dismissOnSelect]=\"true\" triggerAction=\"click\">\r\n <ng-template>\r\n <ion-content *ngVar=\"isLoading(item) as isLoading\">\r\n @if(isLoading){\r\n <loading [loading]=\"isLoading\"></loading>\r\n }\r\n <image [hidden]=\"isLoading\" [src]=\"apiUrl + item\"></image>\r\n </ion-content>\r\n </ng-template>\r\n </ion-popover>\r\n </section>\r\n }\r\n </ion-list>\r\n </ion-content>\r\n </ng-template>\r\n </ion-popover>\r\n}\r\n", styles: ["ion-popover{--width: 30rem }\n", ".on-hover{background:color-mix(in srgb,var(--ion-color-light) 97%,transparent 3%)}.on-hover:hover{transition-property:all;transition-duration:.3s;transition-timing-function:cubic-bezier(.4,0,.2,1);background:color-mix(in srgb,var(--ion-color-dark) 15%,transparent 93%)}ion-card.ion-card-input{margin:0;display:flex;height:100%;width:100%;align-items:center;justify-content:center;overflow:hidden;border-radius:1rem;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow);transition-property:all;transition-duration:.3s;transition-timing-function:cubic-bezier(.4,0,.2,1);background:color-mix(in srgb,var(--ion-color-light) 97%,transparent 3%);border-bottom-color:var(--ion-color-medium);border-right-color:color-mix(in srgb,var(--ion-color-medium) 30%,transparent 70%);border-top-color:color-mix(in srgb,var(--ion-color-medium) 30%,transparent 70%);border-left-color:color-mix(in srgb,var(--ion-color-medium) 30%,transparent 70%);border-width:1px 1px 2px 1px;min-height:58px;max-height:58px;height:58px}ion-card.ion-card-input:hover{background:color-mix(in srgb,var(--ion-color-dark) 15%,transparent 93%)}ion-card.ion-card-input.submitted.invalid{border-color:color-mix(in srgb,var(--ion-color-danger) 75%,transparent 25%)!important}ion-card.ion-card-input.disabled{background-color:color-mix(in srgb,var(--ion-color-medium) 30%,transparent 70%)!important}ion-card.ion-card-input ion-card-content{width:100%;height:100%;background-color:transparent;padding:0}ion-item{--background: transparent}ion-text#label.required:after{content:\"*\";color:var(--ion-color-danger);vertical-align:text-bottom;font-size:small}ion-text#label:not(.required):after{content:var(--input-opcional-label, \"(Opcional)\");color:var(--ion-color-medium);vertical-align:text-bottom;font-size:small}.on-focus{border-bottom-color:var(--ion-color-primary)}.focus-within\\:on-focus:focus-within{border-bottom-color:var(--ion-color-primary)}\n"] }]
109
- }], ctorParameters: () => [{ type: i1.ControlContainer, decorators: [{
110
- type: Optional
111
- }, {
112
- type: Host
113
- }, {
114
- type: SkipSelf
115
- }] }, { type: i0.ElementRef }, { type: i2.UtilsService }, { type: i3.ApiUrlProviderService }, { type: i4.StorageService }], propDecorators: { configuration: [{
116
- type: Input
117
- }] } });
118
- export const imageTypes = [
119
- 'jpe',
120
- 'jpg',
121
- 'jpeg',
122
- 'gif',
123
- 'png',
124
- 'bmp',
125
- 'ico',
126
- 'svg',
127
- 'svgz',
128
- 'tif',
129
- 'tiff',
130
- ];
131
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5wdXQtZmlsZS5jb21wb25lbnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi9zcmMvbGliL2NvbXBvbmVudHMvaW5wdXRzL2lucHV0LWZpbGUvaW5wdXQtZmlsZS5jb21wb25lbnQudHMiLCIuLi8uLi8uLi8uLi8uLi8uLi9zcmMvbGliL2NvbXBvbmVudHMvaW5wdXRzL2lucHV0LWZpbGUvaW5wdXQtZmlsZS5jb21wb25lbnQuaHRtbCJdLCJu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24tcG9wb3Zlcj5cclxuICAgICAgICAgICAgPC9zZWN0aW9uPlxyXG4gICAgICAgICAgICB9XHJcbiAgICAgICAgPC9pb24tbGlzdD5cclxuICAgICAgPC9pb24tY29udGVudD5cclxuICAgIDwvbmctdGVtcGxhdGU+XHJcbiAgPC9pb24tcG9wb3Zlcj5cclxufVxyXG4iXX0=
@@ -1,11 +0,0 @@
1
- export class InputFileConfiguration {
2
- constructor(
3
- /** Tipos de arquivos que podem ser selecionados */
4
- types = ['image/*'],
5
- /** Declara se mais do que um arquivo pode ser selecionado */
6
- multiple = false) {
7
- this.types = types;
8
- this.multiple = multiple;
9
- }
10
- }
11
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5wdXQtZmlsZS5jb25maWd1cmF0aW9uLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vc3JjL2xpYi9jb21wb25lbnRzL2lucHV0cy9pbnB1dC1maWxlL2lucHV0LWZpbGUuY29uZmlndXJhdGlvbi50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxNQUFNLE9BQU8sc0JBQXNCO0lBQ2pDO0lBQ0UsbURBQW1EO0lBQzVDLFFBQWtCLENBQUMsU0FBUyxDQUFDO0lBQ3BDLDZEQUE2RDtJQUN0RCxXQUFvQixLQUFLO1FBRnpCLFVBQUssR0FBTCxLQUFLLENBQXdCO1FBRTdCLGFBQVEsR0FBUixRQUFRLENBQWlCO0lBQ2hDLENBQUM7Q0FDSiIsInNvdXJjZXNDb250ZW50IjpbImV4cG9ydCBjbGFzcyBJbnB1dEZpbGVDb25maWd1cmF0aW9ue1xyXG4gIGNvbnN0cnVjdG9yKFxyXG4gICAgLyoqIFRpcG9zIGRlIGFycXVpdm9zIHF1ZSBwb2RlbSBzZXIgc2VsZWNpb25hZG9zICovXHJcbiAgICBwdWJsaWMgdHlwZXM6IGFueSB8IFtdID0gWydpbWFnZS8qJ10sIFxyXG4gICAgLyoqIERlY2xhcmEgc2UgbWFpcyBkbyBxdWUgdW0gYXJxdWl2byBwb2RlIHNlciBzZWxlY2lvbmFkbyAqL1xyXG4gICAgcHVibGljIG11bHRpcGxlOiBib29sZWFuID0gZmFsc2VcclxuICApe31cclxufSJdfQ==
@@ -1,16 +0,0 @@
1
- import { Component, Input } 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 InputLoadingComponent {
6
- constructor() { }
7
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: InputLoadingComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
8
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.13", type: InputLoadingComponent, selector: "input-loading", inputs: { loading: "loading" }, ngImport: i0, template: "<div id=\"spinner-wrapper\" class=\"absolute size-full flex justify-center items-center default-transition w-full left-0 top-0\" [ngClass]=\"{ '-translate-y-12 opacity-0 -z-10' : !loading }\">\r\n <ion-spinner></ion-spinner>\r\n</div>", styles: [""], dependencies: [{ kind: "directive", type: i1.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "component", type: i2.IonSpinner, selector: "ion-spinner", inputs: ["color", "duration", "name", "paused"] }] }); }
9
- }
10
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: InputLoadingComponent, decorators: [{
11
- type: Component,
12
- args: [{ selector: 'input-loading', template: "<div id=\"spinner-wrapper\" class=\"absolute size-full flex justify-center items-center default-transition w-full left-0 top-0\" [ngClass]=\"{ '-translate-y-12 opacity-0 -z-10' : !loading }\">\r\n <ion-spinner></ion-spinner>\r\n</div>" }]
13
- }], ctorParameters: () => [], propDecorators: { loading: [{
14
- type: Input
15
- }] } });
16
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9u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W5uZXItd3JhcHBlclwiIGNsYXNzPVwiYWJzb2x1dGUgc2l6ZS1mdWxsIGZsZXgganVzdGlmeS1jZW50ZXIgaXRlbXMtY2VudGVyIGRlZmF1bHQtdHJhbnNpdGlvbiB3LWZ1bGwgbGVmdC0wIHRvcC0wXCIgW25nQ2xhc3NdPVwieyAnLXRyYW5zbGF0ZS15LTEyIG9wYWNpdHktMCAtei0xMCcgOiAhbG9hZGluZyB9XCI+XHJcbiAgPGlvbi1zcGlubmVyPjwvaW9uLXNwaW5uZXI+XHJcbjwvZGl2PiJdfQ==
@@ -1,15 +0,0 @@
1
- import { forwardRef } from "@angular/core";
2
- import { NG_VALUE_ACCESSOR } from "@angular/forms";
3
- export class InputProviderFactory {
4
- static GetProvider(component, providers = []) {
5
- return [
6
- ...providers,
7
- {
8
- provide: NG_VALUE_ACCESSOR,
9
- useExisting: forwardRef(() => component),
10
- multi: true,
11
- },
12
- ];
13
- }
14
- }
15
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5wdXQtcHJvdmlkZXItZmFjdG9yeS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL3NyYy9saWIvY29tcG9uZW50cy9pbnB1dHMvaW5wdXQtcHJvdmlkZXItZmFjdG9yeS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsVUFBVSxFQUFZLE1BQU0sZUFBZSxDQUFDO0FBQ3JELE9BQU8sRUFBRSxpQkFBaUIsRUFBRSxNQUFNLGdCQUFnQixDQUFDO0FBRW5ELE1BQU0sT0FBTyxvQkFBb0I7SUFDL0IsTUFBTSxDQUFDLFdBQVcsQ0FBQyxTQUFrQixFQUFFLFlBQXdCLEVBQUU7UUFDL0QsT0FBTztZQUNMLEdBQUcsU0FBUztZQUNaO2dCQUNFLE9BQU8sRUFBRSxpQkFBaUI7Z0JBQzFCLFdBQVcsRUFBRSxVQUFVLENBQUMsR0FBRyxFQUFFLENBQUMsU0FBUyxDQUFDO2dCQUN4QyxLQUFLLEVBQUUsSUFBSTthQUNaO1NBQ0YsQ0FBQTtJQUNILENBQUM7Q0FDRiIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCB7IGZvcndhcmRSZWYsIFByb3ZpZGVyIH0gZnJvbSBcIkBhbmd1bGFyL2NvcmVcIjtcclxuaW1wb3J0IHsgTkdfVkFMVUVfQUNDRVNTT1IgfSBmcm9tIFwiQGFuZ3VsYXIvZm9ybXNcIjtcclxuXHJcbmV4cG9ydCBjbGFzcyBJbnB1dFByb3ZpZGVyRmFjdG9yeXtcclxuICBzdGF0aWMgR2V0UHJvdmlkZXIoY29tcG9uZW50OiB1bmtub3duLCBwcm92aWRlcnM6IFByb3ZpZGVyW10gPSBbXSk6IFByb3ZpZGVyW117XHJcbiAgICByZXR1cm4gWyBcclxuICAgICAgLi4ucHJvdmlkZXJzLFxyXG4gICAgICB7XHJcbiAgICAgICAgcHJvdmlkZTogTkdfVkFMVUVfQUNDRVNTT1IsXHJcbiAgICAgICAgdXNlRXhpc3Rpbmc6IGZvcndhcmRSZWYoKCkgPT4gY29tcG9uZW50KSxcclxuICAgICAgICBtdWx0aTogdHJ1ZSxcclxuICAgICAgfSxcclxuICAgIF1cclxuICB9XHJcbn0iXX0=
@@ -1,11 +0,0 @@
1
- export class ISelect {
2
- }
3
- export class ISelectOption {
4
- constructor() {
5
- this.hidden = false;
6
- this.disabled = false;
7
- this.isSelected = false;
8
- this.onFocus = false;
9
- }
10
- }
11
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiSVNlbGVjdC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL3NyYy9saWIvY29tcG9uZW50cy9pbnB1dHMvaW5wdXQtc2VsZWN0L0lTZWxlY3QudHMiXSwibmFtZXMiOltdLCJtYXBw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GVhbiA9IGZhbHNlO1xyXG4gIGRpc2FibGVkOiBib29sZWFuID0gZmFsc2U7XHJcblxyXG4gIGxhYmVsOiBNb2RlbFNpZ25hbDxzdHJpbmc+O1xyXG4gIFxyXG4gIG1vZGVsOiBhbnk7XHJcbiAgXHJcbiAgR2V0TmF0aXZlRWxlbWVudDogKCgpID0+IEhUTUxFbGVtZW50KTtcclxuXHJcbiAgaXNTZWxlY3RlZDogYm9vbGVhbiA9IGZhbHNlO1xyXG4gIG9uRm9jdXMgICA6IGJvb2xlYW4gPSBmYWxzZTtcclxufSJdfQ==
@@ -1,42 +0,0 @@
1
- import { Component, effect, ElementRef, Input, model } from '@angular/core';
2
- import { ISelect } from '../ISelect';
3
- import * as i0 from "@angular/core";
4
- import * as i1 from "../ISelect";
5
- import * as i2 from "@angular/common";
6
- import * as i3 from "@ionic/angular";
7
- export class InputSelectInternalOptionComponent {
8
- constructor(parentComponent, elementRef) {
9
- this.parentComponent = parentComponent;
10
- this.elementRef = elementRef;
11
- this.hidden = false;
12
- this.disabled = false;
13
- this.label = model();
14
- this.isSelected = false;
15
- this.onFocus = false;
16
- effect(() => {
17
- parentComponent.UpdateUseDefaultModelOptions();
18
- parentComponent.Update();
19
- }, { allowSignalWrites: true });
20
- }
21
- GetNativeElement() {
22
- return this.elementRef.nativeElement;
23
- }
24
- HandleClick() {
25
- this.parentComponent.Select(this.model, false);
26
- }
27
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: InputSelectInternalOptionComponent, deps: [{ token: i1.ISelect }, { token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Component }); }
28
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "18.2.13", type: InputSelectInternalOptionComponent, selector: "input-select-internal-option", inputs: { hidden: { classPropertyName: "hidden", publicName: "hidden", isSignal: false, isRequired: false, transformFunction: null }, disabled: { classPropertyName: "disabled", publicName: "disabled", isSignal: false, isRequired: false, transformFunction: null }, label: { classPropertyName: "label", publicName: "label", isSignal: true, isRequired: false, transformFunction: null }, model: { classPropertyName: "model", publicName: "model", isSignal: false, isRequired: false, transformFunction: null }, isSelected: { classPropertyName: "isSelected", publicName: "isSelected", isSignal: false, isRequired: false, transformFunction: null } }, outputs: { label: "labelChange" }, ngImport: i0, template: "<ion-item \r\n [disabled]=\"disabled\" \r\n [ngClass]=\"{'remove-select-padding': isSelected, 'opacity-0 !h-0' : hidden, 'bg-primary/10': onFocus}\" \r\n lines=\"full\" \r\n class=\"default-transition w-full flex items-center cursor-pointer justify-between overflow-hidden select-none hover:bg-primary/5\" \r\n (click)=\"HandleClick()\"\r\n>\r\n <ng-content select=\"[slot=start]\"></ng-content>\r\n <div class=\"size-full flex items-center justify-start\">\r\n <ng-content class=\"truncate w-full\"></ng-content>\r\n </div>\r\n <ng-content select=\"[slot=end]\"></ng-content>\r\n <div slot=\"end\" class=\"w-6 flex items-center justify-start opacity-100 default-transition\" [ngClass]=\"{'!w-0 !opacity-0': !isSelected}\">\r\n <ion-icon class=\"text-2xl\" color=\"primary\" name=\"checkmark\"></ion-icon>\r\n </div>\r\n</ion-item>", styles: ["", ".on-hover{background:color-mix(in srgb,var(--ion-color-light) 97%,transparent 3%)}.on-hover:hover{transition-property:all;transition-duration:.3s;transition-timing-function:cubic-bezier(.4,0,.2,1);background:color-mix(in srgb,var(--ion-color-dark) 15%,transparent 93%)}ion-card.ion-card-input{margin:0;display:flex;height:100%;width:100%;align-items:center;justify-content:center;overflow:hidden;border-radius:1rem;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow);transition-property:all;transition-duration:.3s;transition-timing-function:cubic-bezier(.4,0,.2,1);background:color-mix(in srgb,var(--ion-color-light) 97%,transparent 3%);border-bottom-color:var(--ion-color-medium);border-right-color:color-mix(in srgb,var(--ion-color-medium) 30%,transparent 70%);border-top-color:color-mix(in srgb,var(--ion-color-medium) 30%,transparent 70%);border-left-color:color-mix(in srgb,var(--ion-color-medium) 30%,transparent 70%);border-width:1px 1px 2px 1px;min-height:58px;max-height:58px;height:58px}ion-card.ion-card-input:hover{background:color-mix(in srgb,var(--ion-color-dark) 15%,transparent 93%)}ion-card.ion-card-input.submitted.invalid{border-color:color-mix(in srgb,var(--ion-color-danger) 75%,transparent 25%)!important}ion-card.ion-card-input.disabled{background-color:color-mix(in srgb,var(--ion-color-medium) 30%,transparent 70%)!important}ion-card.ion-card-input ion-card-content{width:100%;height:100%;background-color:transparent;padding:0}ion-item{--background: transparent}ion-text#label.required:after{content:\"*\";color:var(--ion-color-danger);vertical-align:text-bottom;font-size:small}ion-text#label:not(.required):after{content:var(--input-opcional-label, \"(Opcional)\");color:var(--ion-color-medium);vertical-align:text-bottom;font-size:small}.on-focus{border-bottom-color:var(--ion-color-primary)}.focus-within\\:on-focus:focus-within{border-bottom-color:var(--ion-color-primary)}\n"], dependencies: [{ kind: "directive", type: i2.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "component", type: i3.IonIcon, selector: "ion-icon", inputs: ["color", "flipRtl", "icon", "ios", "lazy", "md", "mode", "name", "sanitize", "size", "src"] }, { kind: "component", type: i3.IonItem, selector: "ion-item", inputs: ["button", "color", "detail", "detailIcon", "disabled", "download", "href", "lines", "mode", "rel", "routerAnimation", "routerDirection", "target", "type"] }] }); }
29
- }
30
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: InputSelectInternalOptionComponent, decorators: [{
31
- type: Component,
32
- args: [{ selector: 'input-select-internal-option', template: "<ion-item \r\n [disabled]=\"disabled\" \r\n [ngClass]=\"{'remove-select-padding': isSelected, 'opacity-0 !h-0' : hidden, 'bg-primary/10': onFocus}\" \r\n lines=\"full\" \r\n class=\"default-transition w-full flex items-center cursor-pointer justify-between overflow-hidden select-none hover:bg-primary/5\" \r\n (click)=\"HandleClick()\"\r\n>\r\n <ng-content select=\"[slot=start]\"></ng-content>\r\n <div class=\"size-full flex items-center justify-start\">\r\n <ng-content class=\"truncate w-full\"></ng-content>\r\n </div>\r\n <ng-content select=\"[slot=end]\"></ng-content>\r\n <div slot=\"end\" class=\"w-6 flex items-center justify-start opacity-100 default-transition\" [ngClass]=\"{'!w-0 !opacity-0': !isSelected}\">\r\n <ion-icon class=\"text-2xl\" color=\"primary\" name=\"checkmark\"></ion-icon>\r\n </div>\r\n</ion-item>", styles: [".on-hover{background:color-mix(in srgb,var(--ion-color-light) 97%,transparent 3%)}.on-hover:hover{transition-property:all;transition-duration:.3s;transition-timing-function:cubic-bezier(.4,0,.2,1);background:color-mix(in srgb,var(--ion-color-dark) 15%,transparent 93%)}ion-card.ion-card-input{margin:0;display:flex;height:100%;width:100%;align-items:center;justify-content:center;overflow:hidden;border-radius:1rem;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow);transition-property:all;transition-duration:.3s;transition-timing-function:cubic-bezier(.4,0,.2,1);background:color-mix(in srgb,var(--ion-color-light) 97%,transparent 3%);border-bottom-color:var(--ion-color-medium);border-right-color:color-mix(in srgb,var(--ion-color-medium) 30%,transparent 70%);border-top-color:color-mix(in srgb,var(--ion-color-medium) 30%,transparent 70%);border-left-color:color-mix(in srgb,var(--ion-color-medium) 30%,transparent 70%);border-width:1px 1px 2px 1px;min-height:58px;max-height:58px;height:58px}ion-card.ion-card-input:hover{background:color-mix(in srgb,var(--ion-color-dark) 15%,transparent 93%)}ion-card.ion-card-input.submitted.invalid{border-color:color-mix(in srgb,var(--ion-color-danger) 75%,transparent 25%)!important}ion-card.ion-card-input.disabled{background-color:color-mix(in srgb,var(--ion-color-medium) 30%,transparent 70%)!important}ion-card.ion-card-input ion-card-content{width:100%;height:100%;background-color:transparent;padding:0}ion-item{--background: transparent}ion-text#label.required:after{content:\"*\";color:var(--ion-color-danger);vertical-align:text-bottom;font-size:small}ion-text#label:not(.required):after{content:var(--input-opcional-label, \"(Opcional)\");color:var(--ion-color-medium);vertical-align:text-bottom;font-size:small}.on-focus{border-bottom-color:var(--ion-color-primary)}.focus-within\\:on-focus:focus-within{border-bottom-color:var(--ion-color-primary)}\n"] }]
33
- }], ctorParameters: () => [{ type: i1.ISelect }, { type: i0.ElementRef }], propDecorators: { hidden: [{
34
- type: Input
35
- }], disabled: [{
36
- type: Input
37
- }], model: [{
38
- type: Input
39
- }], isSelected: [{
40
- type: Input
41
- }] } });
42
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5wdXQtc2VsZWN0LWludGVybmFsLW9wdGlvbi5jb21wb25lbnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi9zcmMvbGliL2NvbXBvbmVudHMvaW5wdXRzL2lucHV0LXNlbGVjdC9pbnB1dC1zZWxlY3QtaW50ZXJuYWwtb3B0aW9uL2lucHV0LXNlbGVjdC1pbnRlcm5hbC1vcHRpb24uY29tcG9uZW50LnRzIiwiLi4vLi4vLi4vLi4vLi4vLi4vLi4vc3JjL2xpYi9jb21wb25lbnRzL2lucHV0cy9pbnB1dC1zZWxlY3QvaW5wdXQtc2VsZWN0LWludGVybmFsLW9wdGlvbi9pbnB1dC1zZWxlY3QtaW50ZXJuYWwtb3B0aW9uLmNvbXBvbmVudC5odG1sIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSxTQUFTLEVBQUUsTUFBTSxFQUFFLFVBQVUsRUFBRSxLQUFLLEVBQUUsS0FBSyxFQUFlLE1BQU0sZUFBZSxDQUFDO0FBQ3pGLE9BQU8sRUFBaUIsT0FBTyxFQUFFLE1BQU0sWUFBWSxDQUFDOzs7OztBQU9wRCxNQUFNLE9BQU8sa0NBQWtDO0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gPG5nLWNvbnRlbnQgY2xhc3M9XCJ0cnVuY2F0ZSB3LWZ1bGxcIj48L25nLWNvbnRlbnQ+XHJcbiAgPC9kaXY+XHJcbiAgPG5nLWNvbnRlbnQgc2VsZWN0PVwiW3Nsb3Q9ZW5kXVwiPjwvbmctY29udGVudD5cclxuICA8ZGl2IHNsb3Q9XCJlbmRcIiBjbGFzcz1cInctNiBmbGV4IGl0ZW1zLWNlbnRlciBqdXN0aWZ5LXN0YXJ0IG9wYWNpdHktMTAwIGRlZmF1bHQtdHJhbnNpdGlvblwiIFtuZ0NsYXNzXT1cInsnIXctMCAhb3BhY2l0eS0wJzogIWlzU2VsZWN0ZWR9XCI+XHJcbiAgICA8aW9uLWljb24gY2xhc3M9XCJ0ZXh0LTJ4bFwiIGNvbG9yPVwicHJpbWFyeVwiIG5hbWU9XCJjaGVja21hcmtcIj48L2lvbi1pY29uPlxyXG4gIDwvZGl2PlxyXG48L2lvbi1pdGVtPiJdfQ==
@@ -1,46 +0,0 @@
1
- import { Component, ElementRef, Input, computed, effect, model } from '@angular/core';
2
- import { ISelect } from '../ISelect';
3
- import * as i0 from "@angular/core";
4
- import * as i1 from "../ISelect";
5
- import * as i2 from "@angular/common";
6
- import * as i3 from "@ionic/angular";
7
- export class InputSelectOptionComponent {
8
- constructor(parentComponent, elementRef) {
9
- this.parentComponent = parentComponent;
10
- this.elementRef = elementRef;
11
- /** Atributo indicando que o navegador não deve renderizar o conteúdo do elemento. */
12
- this.hidden = false;
13
- /** Se ativo desabilita o Input */
14
- this.disabled = false;
15
- /** Representa uma legenda para um item */
16
- this.label = model();
17
- this.model = computed(() => {
18
- return { value: this.value, label: this.label() };
19
- });
20
- this.isSelected = false;
21
- this.onFocus = false;
22
- effect(() => {
23
- parentComponent.UpdateUseDefaultModelOptions();
24
- parentComponent.Update();
25
- }, { allowSignalWrites: true });
26
- }
27
- GetNativeElement() {
28
- return this.elementRef.nativeElement;
29
- }
30
- HandleClick() {
31
- this.parentComponent.Select(this.model(), true);
32
- }
33
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: InputSelectOptionComponent, deps: [{ token: i1.ISelect }, { token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Component }); }
34
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "18.2.13", type: InputSelectOptionComponent, selector: "input-select-option", inputs: { hidden: { classPropertyName: "hidden", publicName: "hidden", isSignal: false, isRequired: false, transformFunction: null }, disabled: { classPropertyName: "disabled", publicName: "disabled", isSignal: false, isRequired: false, transformFunction: null }, value: { classPropertyName: "value", publicName: "value", isSignal: false, isRequired: false, transformFunction: null }, label: { classPropertyName: "label", publicName: "label", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { label: "labelChange" }, ngImport: i0, template: "<ion-item [disabled]=\"disabled\" \r\n [ngClass]=\"{'remove-select-padding': isSelected, 'opacity-0 !h-0' : hidden, 'bg-primary/10': onFocus}\" \r\n lines=\"full\" \r\n class=\"default-transition w-full flex items-center h-fit cursor-pointer justify-between overflow-hidden select-none hover:bg-primary/5\" \r\n (click)=\"HandleClick()\"\r\n>\r\n <ng-content select=\"[slot=start]\"></ng-content>\r\n <div class=\"size-full flex items-center justify-start\">\r\n <ng-content class=\"truncate w-full\"></ng-content>\r\n </div>\r\n <ng-content select=\"[slot=end]\"></ng-content>\r\n <div slot=\"end\" class=\"w-6 flex items-center justify-start opacity-100 default-transition\" [ngClass]=\"{'!w-0 !opacity-0': !isSelected}\">\r\n <ion-icon class=\"text-2xl\" color=\"primary\" name=\"checkmark\"></ion-icon>\r\n </div>\r\n</ion-item>", styles: ["", ".on-hover{background:color-mix(in srgb,var(--ion-color-light) 97%,transparent 3%)}.on-hover:hover{transition-property:all;transition-duration:.3s;transition-timing-function:cubic-bezier(.4,0,.2,1);background:color-mix(in srgb,var(--ion-color-dark) 15%,transparent 93%)}ion-card.ion-card-input{margin:0;display:flex;height:100%;width:100%;align-items:center;justify-content:center;overflow:hidden;border-radius:1rem;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow);transition-property:all;transition-duration:.3s;transition-timing-function:cubic-bezier(.4,0,.2,1);background:color-mix(in srgb,var(--ion-color-light) 97%,transparent 3%);border-bottom-color:var(--ion-color-medium);border-right-color:color-mix(in srgb,var(--ion-color-medium) 30%,transparent 70%);border-top-color:color-mix(in srgb,var(--ion-color-medium) 30%,transparent 70%);border-left-color:color-mix(in srgb,var(--ion-color-medium) 30%,transparent 70%);border-width:1px 1px 2px 1px;min-height:58px;max-height:58px;height:58px}ion-card.ion-card-input:hover{background:color-mix(in srgb,var(--ion-color-dark) 15%,transparent 93%)}ion-card.ion-card-input.submitted.invalid{border-color:color-mix(in srgb,var(--ion-color-danger) 75%,transparent 25%)!important}ion-card.ion-card-input.disabled{background-color:color-mix(in srgb,var(--ion-color-medium) 30%,transparent 70%)!important}ion-card.ion-card-input ion-card-content{width:100%;height:100%;background-color:transparent;padding:0}ion-item{--background: transparent}ion-text#label.required:after{content:\"*\";color:var(--ion-color-danger);vertical-align:text-bottom;font-size:small}ion-text#label:not(.required):after{content:var(--input-opcional-label, \"(Opcional)\");color:var(--ion-color-medium);vertical-align:text-bottom;font-size:small}.on-focus{border-bottom-color:var(--ion-color-primary)}.focus-within\\:on-focus:focus-within{border-bottom-color:var(--ion-color-primary)}\n"], dependencies: [{ kind: "directive", type: i2.NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "component", type: i3.IonIcon, selector: "ion-icon", inputs: ["color", "flipRtl", "icon", "ios", "lazy", "md", "mode", "name", "sanitize", "size", "src"] }, { kind: "component", type: i3.IonItem, selector: "ion-item", inputs: ["button", "color", "detail", "detailIcon", "disabled", "download", "href", "lines", "mode", "rel", "routerAnimation", "routerDirection", "target", "type"] }] }); }
35
- }
36
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: InputSelectOptionComponent, decorators: [{
37
- type: Component,
38
- args: [{ selector: 'input-select-option', template: "<ion-item [disabled]=\"disabled\" \r\n [ngClass]=\"{'remove-select-padding': isSelected, 'opacity-0 !h-0' : hidden, 'bg-primary/10': onFocus}\" \r\n lines=\"full\" \r\n class=\"default-transition w-full flex items-center h-fit cursor-pointer justify-between overflow-hidden select-none hover:bg-primary/5\" \r\n (click)=\"HandleClick()\"\r\n>\r\n <ng-content select=\"[slot=start]\"></ng-content>\r\n <div class=\"size-full flex items-center justify-start\">\r\n <ng-content class=\"truncate w-full\"></ng-content>\r\n </div>\r\n <ng-content select=\"[slot=end]\"></ng-content>\r\n <div slot=\"end\" class=\"w-6 flex items-center justify-start opacity-100 default-transition\" [ngClass]=\"{'!w-0 !opacity-0': !isSelected}\">\r\n <ion-icon class=\"text-2xl\" color=\"primary\" name=\"checkmark\"></ion-icon>\r\n </div>\r\n</ion-item>", styles: [".on-hover{background:color-mix(in srgb,var(--ion-color-light) 97%,transparent 3%)}.on-hover:hover{transition-property:all;transition-duration:.3s;transition-timing-function:cubic-bezier(.4,0,.2,1);background:color-mix(in srgb,var(--ion-color-dark) 15%,transparent 93%)}ion-card.ion-card-input{margin:0;display:flex;height:100%;width:100%;align-items:center;justify-content:center;overflow:hidden;border-radius:1rem;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow);transition-property:all;transition-duration:.3s;transition-timing-function:cubic-bezier(.4,0,.2,1);background:color-mix(in srgb,var(--ion-color-light) 97%,transparent 3%);border-bottom-color:var(--ion-color-medium);border-right-color:color-mix(in srgb,var(--ion-color-medium) 30%,transparent 70%);border-top-color:color-mix(in srgb,var(--ion-color-medium) 30%,transparent 70%);border-left-color:color-mix(in srgb,var(--ion-color-medium) 30%,transparent 70%);border-width:1px 1px 2px 1px;min-height:58px;max-height:58px;height:58px}ion-card.ion-card-input:hover{background:color-mix(in srgb,var(--ion-color-dark) 15%,transparent 93%)}ion-card.ion-card-input.submitted.invalid{border-color:color-mix(in srgb,var(--ion-color-danger) 75%,transparent 25%)!important}ion-card.ion-card-input.disabled{background-color:color-mix(in srgb,var(--ion-color-medium) 30%,transparent 70%)!important}ion-card.ion-card-input ion-card-content{width:100%;height:100%;background-color:transparent;padding:0}ion-item{--background: transparent}ion-text#label.required:after{content:\"*\";color:var(--ion-color-danger);vertical-align:text-bottom;font-size:small}ion-text#label:not(.required):after{content:var(--input-opcional-label, \"(Opcional)\");color:var(--ion-color-medium);vertical-align:text-bottom;font-size:small}.on-focus{border-bottom-color:var(--ion-color-primary)}.focus-within\\:on-focus:focus-within{border-bottom-color:var(--ion-color-primary)}\n"] }]
39
- }], ctorParameters: () => [{ type: i1.ISelect }, { type: i0.ElementRef }], propDecorators: { hidden: [{
40
- type: Input
41
- }], disabled: [{
42
- type: Input
43
- }], value: [{
44
- type: Input
45
- }] } });
46
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5wdXQtc2VsZWN0LW9wdGlvbi5jb21wb25lbnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi9zcmMvbGliL2NvbXBvbmVudHMvaW5wdXRzL2lucHV0LXNlbGVjdC9pbnB1dC1zZWxlY3Qtb3B0aW9uL2lucHV0LXNlbGVjdC1vcHRpb24uY29tcG9uZW50LnRzIiwiLi4vLi4vLi4vLi4vLi4vLi4vLi4vc3JjL2xpYi9jb21wb25lbnRzL2lucHV0cy9pbnB1dC1zZWxlY3QvaW5wdXQtc2VsZWN0LW9wdGlvbi9pbnB1dC1zZWxlY3Qtb3B0aW9uLmNvbXBvbmVudC5odG1sIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBLE9BQU8sRUFBRSxTQUFTL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lxyXG4gIDxkaXYgc2xvdD1cImVuZFwiIGNsYXNzPVwidy02IGZsZXggaXRlbXMtY2VudGVyIGp1c3RpZnktc3RhcnQgb3BhY2l0eS0xMDAgZGVmYXVsdC10cmFuc2l0aW9uXCIgW25nQ2xhc3NdPVwieychdy0wICFvcGFjaXR5LTAnOiAhaXNTZWxlY3RlZH1cIj5cclxuICAgIDxpb24taWNvbiBjbGFzcz1cInRleHQtMnhsXCIgY29sb3I9XCJwcmltYXJ5XCIgbmFtZT1cImNoZWNrbWFya1wiPjwvaW9uLWljb24+XHJcbiAgPC9kaXY+XHJcbjwvaW9uLWl0ZW0+Il19
@@ -1,16 +0,0 @@
1
- import { Directive, TemplateRef } from '@angular/core';
2
- import * as i0 from "@angular/core";
3
- export class InputSelectTemplateDirective {
4
- constructor(template) {
5
- this.template = template;
6
- }
7
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: InputSelectTemplateDirective, deps: [{ token: i0.TemplateRef }], target: i0.ɵɵFactoryTarget.Directive }); }
8
- static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "18.2.13", type: InputSelectTemplateDirective, selector: "[input-select-template]", ngImport: i0 }); }
9
- }
10
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.13", ngImport: i0, type: InputSelectTemplateDirective, decorators: [{
11
- type: Directive,
12
- args: [{
13
- selector: '[input-select-template]',
14
- }]
15
- }], ctorParameters: () => [{ type: i0.TemplateRef }] });
16
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5wdXQtc2VsZWN0LXRlbXBsYXRlLmRpcmVjdGl2ZS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uL3NyYy9saWIvY29tcG9uZW50cy9pbnB1dHMvaW5wdXQtc2VsZWN0L2lucHV0LXNlbGVjdC10ZW1wbGF0ZS5kaXJlY3RpdmUudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLFNBQVMsRUFBRSxXQUFXLEVBQUUsTUFBTSxlQUFlLENBQUM7O0FBS3ZELE1BQU0sT0FBTyw0QkFBNEI7SUFDdkMsWUFBbUIsUUFBMEI7UUFBMUIsYUFBUSxHQUFSLFFBQVEsQ0FBa0I7SUFBSSxDQUFDOytHQUR2Qyw0QkFBNEI7bUdBQTVCLDRCQUE0Qjs7NEZBQTVCLDRCQUE0QjtrQkFIeEMsU0FBUzttQkFBQztvQkFDVCxRQUFRLEVBQUUseUJBQXlCO2lCQUNwQyIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCB7IERpcmVjdGl2ZSwgVGVtcGxhdGVSZWYgfSBmcm9tICdAYW5ndWxhci9jb3JlJztcclxuXHJcbkBEaXJlY3RpdmUoe1xyXG4gIHNlbGVjdG9yOiAnW2lucHV0LXNlbGVjdC10ZW1wbGF0ZV0nLFxyXG59KVxyXG5leHBvcnQgY2xhc3MgSW5wdXRTZWxlY3RUZW1wbGF0ZURpcmVjdGl2ZSB7XHJcbiAgY29uc3RydWN0b3IocHVibGljIHRlbXBsYXRlOiBUZW1wbGF0ZVJlZjxhbnk+KSB7IH1cclxufVxyXG4iXX0=