@sapphire-ion/framework 0.30.0

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 (299) hide show
  1. package/README.md +24 -0
  2. package/esm2022/lib/classes/comparison/comparison-operator.mjs +18 -0
  3. package/esm2022/lib/classes/comparison/comparison-value-type.mjs +25 -0
  4. package/esm2022/lib/classes/comparison/comparison.mjs +41 -0
  5. package/esm2022/lib/classes/comparison/properties/bool-property.mjs +15 -0
  6. package/esm2022/lib/classes/comparison/properties/date-property.mjs +27 -0
  7. package/esm2022/lib/classes/comparison/properties/datetime-property.mjs +27 -0
  8. package/esm2022/lib/classes/comparison/properties/decimal-property.mjs +27 -0
  9. package/esm2022/lib/classes/comparison/properties/enum-property.mjs +27 -0
  10. package/esm2022/lib/classes/comparison/properties/implicit-property.mjs +12 -0
  11. package/esm2022/lib/classes/comparison/properties/int-property.mjs +27 -0
  12. package/esm2022/lib/classes/comparison/properties/long-property.mjs +27 -0
  13. package/esm2022/lib/classes/comparison/properties/string-property.mjs +15 -0
  14. package/esm2022/lib/classes/comparison/properties/time-property.mjs +27 -0
  15. package/esm2022/lib/classes/credentials.mjs +2 -0
  16. package/esm2022/lib/classes/environment.mjs +32 -0
  17. package/esm2022/lib/classes/filters/view-filtros.mjs +18 -0
  18. package/esm2022/lib/classes/inputs/table-field-form-builder.mjs +10 -0
  19. package/esm2022/lib/classes/inputs/table-field.mjs +63 -0
  20. package/esm2022/lib/classes/page-option.mjs +2 -0
  21. package/esm2022/lib/classes/routes/default-routing-factory.mjs +23 -0
  22. package/esm2022/lib/classes/routes/id-preloader-configuration.mjs +22 -0
  23. package/esm2022/lib/classes/routes/route-data.mjs +9 -0
  24. package/esm2022/lib/components/carousel/carousel-image/carousel-image.component.mjs +18 -0
  25. package/esm2022/lib/components/carousel/carousel-item/carousel-item.component.mjs +15 -0
  26. package/esm2022/lib/components/carousel/carousel.component.mjs +79 -0
  27. package/esm2022/lib/components/carousel/carousel.module.mjs +31 -0
  28. package/esm2022/lib/components/carousel/i-carousel-item.component.mjs +16 -0
  29. package/esm2022/lib/components/content-block/content-block.component.mjs +27 -0
  30. package/esm2022/lib/components/default/default-list/abstract-list.mjs +49 -0
  31. package/esm2022/lib/components/default/default-list/default-list.component.mjs +94 -0
  32. package/esm2022/lib/components/default/default-list/header-list/header-list.component.mjs +98 -0
  33. package/esm2022/lib/components/default/default-list/list.mjs +110 -0
  34. package/esm2022/lib/components/default/default-pagination/default-pagination.component.mjs +123 -0
  35. package/esm2022/lib/components/default/default-table/default-table.component.mjs +206 -0
  36. package/esm2022/lib/components/default/default-table/th-filter/th-filter.component.mjs +182 -0
  37. package/esm2022/lib/components/default/default-view/abstract-view.mjs +18 -0
  38. package/esm2022/lib/components/default/default-view/default-view.component.mjs +51 -0
  39. package/esm2022/lib/components/default/default-view/header-view/header-view.component.mjs +72 -0
  40. package/esm2022/lib/components/default/default-view/view.mjs +170 -0
  41. package/esm2022/lib/components/default/default.module.mjs +87 -0
  42. package/esm2022/lib/components/default-page/default.page.mjs +73 -0
  43. package/esm2022/lib/components/drag-drop-file/drag-drop-file.directive.mjs +60 -0
  44. package/esm2022/lib/components/drag-drop-file/drag-drop-file.module.mjs +31 -0
  45. package/esm2022/lib/components/drag-drop-file/drag-drop-overlay/drag-drop-overlay.component.mjs +15 -0
  46. package/esm2022/lib/components/drawer/default-drawer-end/default-drawer-end.component.mjs +34 -0
  47. package/esm2022/lib/components/drawer/drawer-group/drawer-group.component.mjs +49 -0
  48. package/esm2022/lib/components/drawer/drawer.component.mjs +117 -0
  49. package/esm2022/lib/components/drawer/menu.mjs +15 -0
  50. package/esm2022/lib/components/filter/filter.component.mjs +124 -0
  51. package/esm2022/lib/components/http-responses-pages/forbidden-403/forbidden-403.component.mjs +17 -0
  52. package/esm2022/lib/components/image/image.component.mjs +91 -0
  53. package/esm2022/lib/components/info-popover/info-popover.component.mjs +91 -0
  54. package/esm2022/lib/components/inputs/custom-input.mjs +77 -0
  55. package/esm2022/lib/components/inputs/custom-signal-input.mjs +74 -0
  56. package/esm2022/lib/components/inputs/input-bool/input-bool.component.mjs +43 -0
  57. package/esm2022/lib/components/inputs/input-bool/input-bool.configuration.mjs +16 -0
  58. package/esm2022/lib/components/inputs/input-color/input-color.component.mjs +487 -0
  59. package/esm2022/lib/components/inputs/input-configuration.mjs +2 -0
  60. package/esm2022/lib/components/inputs/input-cpf-cnpj/input-cpf-cnpj.component.mjs +93 -0
  61. package/esm2022/lib/components/inputs/input-cpf-cnpj/input-cpf-cnpj.configuration.mjs +6 -0
  62. package/esm2022/lib/components/inputs/input-date/input-date.component.mjs +119 -0
  63. package/esm2022/lib/components/inputs/input-date/input-date.configuration.mjs +8 -0
  64. package/esm2022/lib/components/inputs/input-decimal/input-decimal.component.mjs +269 -0
  65. package/esm2022/lib/components/inputs/input-decimal/input-decimal.configuration.mjs +45 -0
  66. package/esm2022/lib/components/inputs/input-default-configurations.mjs +14 -0
  67. package/esm2022/lib/components/inputs/input-file/download-button/download-button.component.mjs +91 -0
  68. package/esm2022/lib/components/inputs/input-file/input-file.component.mjs +128 -0
  69. package/esm2022/lib/components/inputs/input-file/input-file.configuration.mjs +11 -0
  70. package/esm2022/lib/components/inputs/input-loading/input-loading.component.mjs +16 -0
  71. package/esm2022/lib/components/inputs/input-provider-factory.mjs +15 -0
  72. package/esm2022/lib/components/inputs/input-select/ISelect.mjs +11 -0
  73. package/esm2022/lib/components/inputs/input-select/input-select-internal-option/input-select-internal-option.component.mjs +42 -0
  74. package/esm2022/lib/components/inputs/input-select/input-select-option/input-select-option.component.mjs +46 -0
  75. package/esm2022/lib/components/inputs/input-select/input-select-template.directive.mjs +16 -0
  76. package/esm2022/lib/components/inputs/input-select/input-select.component.mjs +322 -0
  77. package/esm2022/lib/components/inputs/input-select/input.select.configuration.mjs +164 -0
  78. package/esm2022/lib/components/inputs/input-string/input-string.component.mjs +50 -0
  79. package/esm2022/lib/components/inputs/input-string/input-string.configuration.mjs +18 -0
  80. package/esm2022/lib/components/inputs/input-textarea/input-textarea.component.mjs +47 -0
  81. package/esm2022/lib/components/inputs/input-type.mjs +18 -0
  82. package/esm2022/lib/components/inputs/input-validators.mjs +90 -0
  83. package/esm2022/lib/components/inputs/inputs.module.mjs +101 -0
  84. package/esm2022/lib/components/loading/loading.component.mjs +34 -0
  85. package/esm2022/lib/components/login/login-admin/login-admin.component.mjs +52 -0
  86. package/esm2022/lib/components/login/login.component.mjs +93 -0
  87. package/esm2022/lib/components/main-content/main-content.component.mjs +62 -0
  88. package/esm2022/lib/components/stepper/step/step.component.mjs +43 -0
  89. package/esm2022/lib/components/stepper/stepper.component.mjs +36 -0
  90. package/esm2022/lib/components/stepper/stepper.module.mjs +25 -0
  91. package/esm2022/lib/components/tabs/tab/tab.component.mjs +41 -0
  92. package/esm2022/lib/components/tabs/tabs/tabs.component.mjs +56 -0
  93. package/esm2022/lib/components/tabs/tabs.module.mjs +22 -0
  94. package/esm2022/lib/components/text-tooltip/text-tooltip.component.mjs +51 -0
  95. package/esm2022/lib/components/tooltip/tooltip.component.mjs +21 -0
  96. package/esm2022/lib/core.module.mjs +29 -0
  97. package/esm2022/lib/directives/ng-var.directive.mjs +29 -0
  98. package/esm2022/lib/guards/auth.guard.mjs +26 -0
  99. package/esm2022/lib/guards/error.interceptor.mjs +106 -0
  100. package/esm2022/lib/guards/token.interceptor.mjs +25 -0
  101. package/esm2022/lib/index.mjs +172 -0
  102. package/esm2022/lib/pipes/secure.pipe.mjs +42 -0
  103. package/esm2022/lib/services/auth.service.mjs +149 -0
  104. package/esm2022/lib/services/environment.service.mjs +26 -0
  105. package/esm2022/lib/services/generics.service.mjs +84 -0
  106. package/esm2022/lib/services/route/route.cache.service.mjs +15 -0
  107. package/esm2022/lib/services/route/route.provider.service.mjs +42 -0
  108. package/esm2022/lib/services/usuario.service.mjs +49 -0
  109. package/esm2022/lib/services/utils.service.mjs +149 -0
  110. package/esm2022/lib/services/web/api-url-provider.service.mjs +29 -0
  111. package/esm2022/lib/services/web/http.ativo.service.mjs +55 -0
  112. package/esm2022/lib/services/web/http.service.mjs +175 -0
  113. package/esm2022/lib/services/web/storage.service.mjs +115 -0
  114. package/esm2022/public-api.mjs +5 -0
  115. package/esm2022/sapphire-ion-framework.mjs +5 -0
  116. package/fesm2022/sapphire-ion-framework.mjs +6080 -0
  117. package/fesm2022/sapphire-ion-framework.mjs.map +1 -0
  118. package/index.d.ts +5 -0
  119. package/lib/classes/comparison/comparison-operator.d.ts +9 -0
  120. package/lib/classes/comparison/comparison-value-type.d.ts +23 -0
  121. package/lib/classes/comparison/comparison.d.ts +25 -0
  122. package/lib/classes/comparison/properties/bool-property.d.ts +7 -0
  123. package/lib/classes/comparison/properties/date-property.d.ts +11 -0
  124. package/lib/classes/comparison/properties/datetime-property.d.ts +11 -0
  125. package/lib/classes/comparison/properties/decimal-property.d.ts +11 -0
  126. package/lib/classes/comparison/properties/enum-property.d.ts +11 -0
  127. package/lib/classes/comparison/properties/implicit-property.d.ts +6 -0
  128. package/lib/classes/comparison/properties/int-property.d.ts +11 -0
  129. package/lib/classes/comparison/properties/long-property.d.ts +11 -0
  130. package/lib/classes/comparison/properties/string-property.d.ts +7 -0
  131. package/lib/classes/comparison/properties/time-property.d.ts +11 -0
  132. package/lib/classes/credentials.d.ts +5 -0
  133. package/lib/classes/environment.d.ts +13 -0
  134. package/lib/classes/filters/view-filtros.d.ts +10 -0
  135. package/lib/classes/inputs/table-field-form-builder.d.ts +5 -0
  136. package/lib/classes/inputs/table-field.d.ts +19 -0
  137. package/lib/classes/page-option.d.ts +7 -0
  138. package/lib/classes/routes/default-routing-factory.d.ts +8 -0
  139. package/lib/classes/routes/id-preloader-configuration.d.ts +28 -0
  140. package/lib/classes/routes/route-data.d.ts +5 -0
  141. package/lib/components/carousel/carousel-image/carousel-image.component.d.ts +10 -0
  142. package/lib/components/carousel/carousel-item/carousel-item.component.d.ts +9 -0
  143. package/lib/components/carousel/carousel.component.d.ts +32 -0
  144. package/lib/components/carousel/carousel.module.d.ts +12 -0
  145. package/lib/components/carousel/i-carousel-item.component.d.ts +9 -0
  146. package/lib/components/content-block/content-block.component.d.ts +15 -0
  147. package/lib/components/default/default-list/abstract-list.d.ts +21 -0
  148. package/lib/components/default/default-list/default-list.component.d.ts +42 -0
  149. package/lib/components/default/default-list/header-list/header-list.component.d.ts +45 -0
  150. package/lib/components/default/default-list/list.d.ts +37 -0
  151. package/lib/components/default/default-pagination/default-pagination.component.d.ts +36 -0
  152. package/lib/components/default/default-table/default-table.component.d.ts +71 -0
  153. package/lib/components/default/default-table/th-filter/th-filter.component.d.ts +20 -0
  154. package/lib/components/default/default-view/abstract-view.d.ts +16 -0
  155. package/lib/components/default/default-view/default-view.component.d.ts +26 -0
  156. package/lib/components/default/default-view/header-view/header-view.component.d.ts +25 -0
  157. package/lib/components/default/default-view/view.d.ts +55 -0
  158. package/lib/components/default/default.module.d.ts +28 -0
  159. package/lib/components/default-page/default.page.d.ts +35 -0
  160. package/lib/components/drag-drop-file/drag-drop-file.directive.d.ts +14 -0
  161. package/lib/components/drag-drop-file/drag-drop-file.module.d.ts +10 -0
  162. package/lib/components/drag-drop-file/drag-drop-overlay/drag-drop-overlay.component.d.ts +9 -0
  163. package/lib/components/drawer/default-drawer-end/default-drawer-end.component.d.ts +13 -0
  164. package/lib/components/drawer/drawer-group/drawer-group.component.d.ts +22 -0
  165. package/lib/components/drawer/drawer.component.d.ts +23 -0
  166. package/lib/components/drawer/menu.d.ts +9 -0
  167. package/lib/components/filter/filter.component.d.ts +29 -0
  168. package/lib/components/http-responses-pages/forbidden-403/forbidden-403.component.d.ts +8 -0
  169. package/lib/components/image/image.component.d.ts +23 -0
  170. package/lib/components/info-popover/info-popover.component.d.ts +15 -0
  171. package/lib/components/inputs/custom-input.d.ts +36 -0
  172. package/lib/components/inputs/custom-signal-input.d.ts +38 -0
  173. package/lib/components/inputs/input-bool/input-bool.component.d.ts +19 -0
  174. package/lib/components/inputs/input-bool/input-bool.configuration.d.ts +17 -0
  175. package/lib/components/inputs/input-color/input-color.component.d.ts +80 -0
  176. package/lib/components/inputs/input-configuration.d.ts +8 -0
  177. package/lib/components/inputs/input-cpf-cnpj/input-cpf-cnpj.component.d.ts +24 -0
  178. package/lib/components/inputs/input-cpf-cnpj/input-cpf-cnpj.configuration.d.ts +5 -0
  179. package/lib/components/inputs/input-date/input-date.component.d.ts +30 -0
  180. package/lib/components/inputs/input-date/input-date.configuration.d.ts +7 -0
  181. package/lib/components/inputs/input-decimal/input-decimal.component.d.ts +41 -0
  182. package/lib/components/inputs/input-decimal/input-decimal.configuration.d.ts +25 -0
  183. package/lib/components/inputs/input-default-configurations.d.ts +13 -0
  184. package/lib/components/inputs/input-file/download-button/download-button.component.d.ts +36 -0
  185. package/lib/components/inputs/input-file/input-file.component.d.ts +39 -0
  186. package/lib/components/inputs/input-file/input-file.configuration.d.ts +11 -0
  187. package/lib/components/inputs/input-loading/input-loading.component.d.ts +7 -0
  188. package/lib/components/inputs/input-provider-factory.d.ts +4 -0
  189. package/lib/components/inputs/input-select/ISelect.d.ts +21 -0
  190. package/lib/components/inputs/input-select/input-select-internal-option/input-select-internal-option.component.d.ts +18 -0
  191. package/lib/components/inputs/input-select/input-select-option/input-select-option.component.d.ts +24 -0
  192. package/lib/components/inputs/input-select/input-select-template.directive.d.ts +8 -0
  193. package/lib/components/inputs/input-select/input-select.component.d.ts +66 -0
  194. package/lib/components/inputs/input-select/input.select.configuration.d.ts +87 -0
  195. package/lib/components/inputs/input-string/input-string.component.d.ts +19 -0
  196. package/lib/components/inputs/input-string/input-string.configuration.d.ts +14 -0
  197. package/lib/components/inputs/input-textarea/input-textarea.component.d.ts +18 -0
  198. package/lib/components/inputs/input-type.d.ts +16 -0
  199. package/lib/components/inputs/input-validators.d.ts +19 -0
  200. package/lib/components/inputs/inputs.module.d.ts +28 -0
  201. package/lib/components/loading/loading.component.d.ts +18 -0
  202. package/lib/components/login/login-admin/login-admin.component.d.ts +20 -0
  203. package/lib/components/login/login.component.d.ts +28 -0
  204. package/lib/components/main-content/main-content.component.d.ts +17 -0
  205. package/lib/components/stepper/step/step.component.d.ts +15 -0
  206. package/lib/components/stepper/stepper.component.d.ts +17 -0
  207. package/lib/components/stepper/stepper.module.d.ts +10 -0
  208. package/lib/components/tabs/tab/tab.component.d.ts +19 -0
  209. package/lib/components/tabs/tabs/tabs.component.d.ts +18 -0
  210. package/lib/components/tabs/tabs.module.d.ts +12 -0
  211. package/lib/components/text-tooltip/text-tooltip.component.d.ts +16 -0
  212. package/lib/components/tooltip/tooltip.component.d.ts +7 -0
  213. package/lib/core.module.d.ts +11 -0
  214. package/lib/directives/ng-var.directive.d.ts +12 -0
  215. package/lib/guards/auth.guard.d.ts +11 -0
  216. package/lib/guards/error.interceptor.d.ts +32 -0
  217. package/lib/guards/token.interceptor.d.ts +11 -0
  218. package/lib/index.d.ts +108 -0
  219. package/lib/pipes/secure.pipe.d.ts +15 -0
  220. package/lib/services/auth.service.d.ts +47 -0
  221. package/lib/services/environment.service.d.ts +10 -0
  222. package/lib/services/generics.service.d.ts +22 -0
  223. package/lib/services/route/route.cache.service.d.ts +7 -0
  224. package/lib/services/route/route.provider.service.d.ts +13 -0
  225. package/lib/services/usuario.service.d.ts +21 -0
  226. package/lib/services/utils.service.d.ts +36 -0
  227. package/lib/services/web/api-url-provider.service.d.ts +13 -0
  228. package/lib/services/web/http.ativo.service.d.ts +31 -0
  229. package/lib/services/web/http.service.d.ts +51 -0
  230. package/lib/services/web/storage.service.d.ts +25 -0
  231. package/package.json +41 -0
  232. package/public-api.d.ts +1 -0
  233. package/themes/compiled-styles.scss +2291 -0
  234. package/themes/components/_inputs_new/input-string/input-string.component.scss +0 -0
  235. package/themes/components/_inputs_new/inputs.scss +15 -0
  236. package/themes/components/carousel/carousel-image/carousel-image.component.scss +0 -0
  237. package/themes/components/carousel/carousel-item/carousel-item.component.scss +0 -0
  238. package/themes/components/carousel/carousel.component.scss +9 -0
  239. package/themes/components/content-block/content-block.component.scss +0 -0
  240. package/themes/components/default/default-list/default-list.component.scss +0 -0
  241. package/themes/components/default/default-list/header-list/header-list.component.scss +0 -0
  242. package/themes/components/default/default-pagination/default-pagination.component.scss +22 -0
  243. package/themes/components/default/default-table/default-table.component.scss +33 -0
  244. package/themes/components/default/default-table/th-filter/th-filter.component.scss +24 -0
  245. package/themes/components/default/default-view/default-view.component.scss +5 -0
  246. package/themes/components/default/default-view/header-view/header-view.component.scss +7 -0
  247. package/themes/components/default-page/default.page.scss +4 -0
  248. package/themes/components/drag-drop-file/drag-drop-overlay/drag-drop-overlay.component.scss +9 -0
  249. package/themes/components/drawer/default-drawer-end/default-drawer-end.component.scss +0 -0
  250. package/themes/components/drawer/drawer-group/drawer-group.component.scss +22 -0
  251. package/themes/components/drawer/drawer.component.scss +46 -0
  252. package/themes/components/filter/filter.component.scss +0 -0
  253. package/themes/components/http-responses-pages/forbidden-403/forbidden-403.component.scss +19 -0
  254. package/themes/components/image/image.component.scss +0 -0
  255. package/themes/components/info-popover/info-popover.component.scss +3 -0
  256. package/themes/components/inputs/input-bool/input-bool.component.scss +14 -0
  257. package/themes/components/inputs/input-color/input-color.component.scss +48 -0
  258. package/themes/components/inputs/input-cpf-cnpj/input-cpf-cnpj.component.scss +0 -0
  259. package/themes/components/inputs/input-date/input-date.component.scss +41 -0
  260. package/themes/components/inputs/input-decimal/input-decimal.component.scss +44 -0
  261. package/themes/components/inputs/input-file/download-button/download-button.component.scss +3 -0
  262. package/themes/components/inputs/input-file/input-file.component.scss +3 -0
  263. package/themes/components/inputs/input-loading/input-loading.component.scss +0 -0
  264. package/themes/components/inputs/input-select/input-select-internal-option/input-select-internal-option.component.scss +0 -0
  265. package/themes/components/inputs/input-select/input-select-option/input-select-option.component.scss +0 -0
  266. package/themes/components/inputs/input-select/input-select.component.scss +28 -0
  267. package/themes/components/inputs/input-string/input-string.component.scss +0 -0
  268. package/themes/components/inputs/input-textarea/input-textarea.component.scss +0 -0
  269. package/themes/components/inputs/inputs.scss +67 -0
  270. package/themes/components/loading/loading.component.scss +0 -0
  271. package/themes/components/login/login-admin/login-admin.component.scss +3 -0
  272. package/themes/components/login/login.component.scss +40 -0
  273. package/themes/components/main-content/main-content.component.scss +9 -0
  274. package/themes/components/stepper/step/step.component.scss +48 -0
  275. package/themes/components/stepper/stepper.component.scss +0 -0
  276. package/themes/components/tabs/tab/tab.component.scss +0 -0
  277. package/themes/components/tabs/tabs/tabs.component.scss +23 -0
  278. package/themes/components/text-tooltip/text-tooltip.component.scss +0 -0
  279. package/themes/components/tooltip/tooltip.component.scss +23 -0
  280. package/themes/styles/components.scss +52 -0
  281. package/themes/styles/core.styles.scss +409 -0
  282. package/themes/styles/ionic/ion-action-sheet.scss +8 -0
  283. package/themes/styles/ionic/ion-alert.scss +9 -0
  284. package/themes/styles/ionic/ion-button.scss +3 -0
  285. package/themes/styles/ionic/ion-card.scss +3 -0
  286. package/themes/styles/ionic/ion-content.scss +3 -0
  287. package/themes/styles/ionic/ion-datetime.scss +6 -0
  288. package/themes/styles/ionic/ion-item.scss +10 -0
  289. package/themes/styles/ionic/ion-list.scss +4 -0
  290. package/themes/styles/ionic/ion-modal.scss +8 -0
  291. package/themes/styles/ionic/ion-popover.scss +31 -0
  292. package/themes/styles/ionic/ion-progress-bar.scss +3 -0
  293. package/themes/styles/ionic/ion-searchbar.scss +4 -0
  294. package/themes/styles/ionic/ion-toast.scss +14 -0
  295. package/themes/styles/ionic.scss +13 -0
  296. package/themes/styles/login-default.scss +87 -0
  297. package/themes/styles/mixins.scss +467 -0
  298. package/themes/styles/styles.scss +1 -0
  299. package/themes/styles/translucid.scss +21 -0
@@ -0,0 +1,16 @@
1
+ export declare enum InputType {
2
+ Bool = "Bool",
3
+ Currency = "Currency",
4
+ Date = "Date",
5
+ DateTime = "DateTime",
6
+ Time = "Time",
7
+ Decimal = "Decimal",
8
+ Number = "Number",
9
+ File = "File",
10
+ String = "String",
11
+ TextArea = "TextArea",
12
+ Select = "Select",
13
+ Cpf = "Cpf",
14
+ Cpnj = "Cnpj",
15
+ CpfCnpj = "CpfCnpj"
16
+ }
@@ -0,0 +1,19 @@
1
+ import { AbstractControl } from "@angular/forms";
2
+ export declare class ControlError {
3
+ message: string;
4
+ constructor(message: string);
5
+ }
6
+ export declare class FormValidators {
7
+ static readonly CPFError: ControlError;
8
+ static readonly CnpjError: ControlError;
9
+ static readonly CPFCnpjError: ControlError;
10
+ static CPFValidator(control: AbstractControl): ControlError | null;
11
+ static CnpjValidator(control: AbstractControl): ControlError | null;
12
+ static CPFCpnjValidator(control: AbstractControl): ControlError | null;
13
+ static readonly PositiveNonZeroNumberError: ControlError;
14
+ static PositiveNonZeroNumberValidator(fieldName: string): (control: AbstractControl) => ControlError | null;
15
+ static readonly PositiveNumberError: ControlError;
16
+ static PositiveNumberValidator(fieldName: string): (control: AbstractControl) => ControlError | null;
17
+ static readonly ValueBetweenError: ControlError;
18
+ static ValueBetweenValidator(min: number, max: number, fieldName: string, equalMin?: boolean, equalMax?: boolean): (control: AbstractControl) => ControlError | null;
19
+ }
@@ -0,0 +1,28 @@
1
+ import * as i0 from "@angular/core";
2
+ import * as i1 from "./input-bool/input-bool.component";
3
+ import * as i2 from "./input-date/input-date.component";
4
+ import * as i3 from "./input-decimal/input-decimal.component";
5
+ import * as i4 from "./input-file/input-file.component";
6
+ import * as i5 from "./input-file/download-button/download-button.component";
7
+ import * as i6 from "./input-select/input-select.component";
8
+ import * as i7 from "./input-select/input-select-option/input-select-option.component";
9
+ import * as i8 from "./input-select/input-select-template.directive";
10
+ import * as i9 from "./input-string/input-string.component";
11
+ import * as i10 from "./input-textarea/input-textarea.component";
12
+ import * as i11 from "./input-loading/input-loading.component";
13
+ import * as i12 from "./input-color/input-color.component";
14
+ import * as i13 from "./input-cpf-cnpj/input-cpf-cnpj.component";
15
+ import * as i14 from "./input-select/input-select-internal-option/input-select-internal-option.component";
16
+ import * as i15 from "@angular/common";
17
+ import * as i16 from "@ionic/angular";
18
+ import * as i17 from "@angular/forms";
19
+ import * as i18 from "../../directives/ng-var.directive";
20
+ import * as i19 from "../loading/loading.component";
21
+ import * as i20 from "@maskito/angular";
22
+ import * as i21 from "@angular/cdk/scrolling";
23
+ import * as i22 from "../text-tooltip/text-tooltip.component";
24
+ export declare class InputsModule {
25
+ static ɵfac: i0.ɵɵFactoryDeclaration<InputsModule, never>;
26
+ static ɵmod: i0.ɵɵNgModuleDeclaration<InputsModule, [typeof i1.InputBoolComponent, typeof i2.InputDateComponent, typeof i3.InputDecimalComponent, typeof i4.InputFileComponent, typeof i5.DownloadButtonComponent, typeof i6.InputSelectComponent, typeof i7.InputSelectOptionComponent, typeof i8.InputSelectTemplateDirective, typeof i9.InputStringComponent, typeof i10.InputTextareaComponent, typeof i11.InputLoadingComponent, typeof i12.InputColorComponent, typeof i13.InputCpfCnpjComponent, typeof i14.InputSelectInternalOptionComponent], [typeof i15.CommonModule, typeof i16.IonicModule, typeof i17.ReactiveFormsModule, typeof i17.FormsModule, typeof i18.NgVarDirective, typeof i19.LoadingComponent, typeof i20.MaskitoDirective, typeof i21.ScrollingModule, typeof i22.TextTooltipComponent], [typeof i1.InputBoolComponent, typeof i2.InputDateComponent, typeof i3.InputDecimalComponent, typeof i4.InputFileComponent, typeof i5.DownloadButtonComponent, typeof i6.InputSelectComponent, typeof i7.InputSelectOptionComponent, typeof i8.InputSelectTemplateDirective, typeof i9.InputStringComponent, typeof i10.InputTextareaComponent, typeof i11.InputLoadingComponent, typeof i12.InputColorComponent, typeof i13.InputCpfCnpjComponent]>;
27
+ static ɵinj: i0.ɵɵInjectorDeclaration<InputsModule>;
28
+ }
@@ -0,0 +1,18 @@
1
+ import { OnInit } from '@angular/core';
2
+ import * as i0 from "@angular/core";
3
+ export declare class LoadingComponent implements OnInit {
4
+ /** Texto exibido */
5
+ text: string;
6
+ /** Tipo do loading
7
+ * 1 - Componente basico - h-16 de altura
8
+ * 2 - Componente basico - h-16 de altura
9
+ * 3 - Componente absoluto, preenche o elemento superior relativo
10
+ */
11
+ type: 1 | 2 | 3;
12
+ /** Utilizado no tipo 3, quando inativo é hidden */
13
+ loading: boolean;
14
+ constructor();
15
+ ngOnInit(): void;
16
+ static ɵfac: i0.ɵɵFactoryDeclaration<LoadingComponent, never>;
17
+ static ɵcmp: i0.ɵɵComponentDeclaration<LoadingComponent, "loading", never, { "text": { "alias": "text"; "required": false; }; "type": { "alias": "type"; "required": false; }; "loading": { "alias": "loading"; "required": false; }; }, {}, never, never, true, never>;
18
+ }
@@ -0,0 +1,20 @@
1
+ import { OnInit } from '@angular/core';
2
+ import { ApiUrlProviderService } from '../../../services/web/api-url-provider.service';
3
+ import { UsuarioService } from '../../../services/usuario.service';
4
+ import { AuthService } from '../../../services/auth.service';
5
+ import { InputSelectConfiguration } from '../../../components/inputs/input-select/input.select.configuration';
6
+ import * as i0 from "@angular/core";
7
+ export declare class LoginAdminComponent implements OnInit {
8
+ apiUrlProviderService: ApiUrlProviderService;
9
+ authService: AuthService;
10
+ private usuarioService;
11
+ constructor(apiUrlProviderService: ApiUrlProviderService, authService: AuthService, usuarioService: UsuarioService);
12
+ idUsuario: number | null;
13
+ ngOnInit(): Promise<void>;
14
+ selectUserConfiguration: InputSelectConfiguration;
15
+ SelectUser(event: number): void;
16
+ apiUrl: string;
17
+ SetApiUrl(): void;
18
+ static ɵfac: i0.ɵɵFactoryDeclaration<LoginAdminComponent, never>;
19
+ static ɵcmp: i0.ɵɵComponentDeclaration<LoginAdminComponent, "login-admin", never, {}, {}, never, never, true, never>;
20
+ }
@@ -0,0 +1,28 @@
1
+ import { FormBuilder, FormGroup } from '@angular/forms';
2
+ import { EventEmitter, OnInit } from '@angular/core';
3
+ import { NavController } from '@ionic/angular';
4
+ import { Router } from '@angular/router';
5
+ import { EnvironmentService } from '../../services/environment.service';
6
+ import { ApiUrlProviderService } from '../../services/web/api-url-provider.service';
7
+ import { GenericService } from '../../services/generics.service';
8
+ import { AuthService } from '../../services/auth.service';
9
+ import * as i0 from "@angular/core";
10
+ export declare class DefaultLoginComponent implements OnInit {
11
+ private fb;
12
+ private genericService;
13
+ private navController;
14
+ private authService;
15
+ apiUrlProviderService: ApiUrlProviderService;
16
+ coreService: EnvironmentService;
17
+ private router;
18
+ constructor(fb: FormBuilder, genericService: GenericService, navController: NavController, authService: AuthService, apiUrlProviderService: ApiUrlProviderService, coreService: EnvironmentService, router: Router);
19
+ ngOnInit(): Promise<void>;
20
+ frm: FormGroup;
21
+ CreateForm(): void;
22
+ loading: boolean;
23
+ submitted: boolean;
24
+ OnLogin: EventEmitter<any>;
25
+ Login($event?: KeyboardEvent): Promise<void>;
26
+ static ɵfac: i0.ɵɵFactoryDeclaration<DefaultLoginComponent, never>;
27
+ static ɵcmp: i0.ɵɵComponentDeclaration<DefaultLoginComponent, "login", never, {}, { "OnLogin": "OnLogin"; }, never, ["*"], true, never>;
28
+ }
@@ -0,0 +1,17 @@
1
+ import { OnInit } from '@angular/core';
2
+ import { DrawerComponent } from '../drawer/drawer.component';
3
+ import { AuthService } from '../../services/auth.service';
4
+ import * as i0 from "@angular/core";
5
+ export declare class MainContentComponent implements OnInit {
6
+ authService: AuthService;
7
+ colapsed: boolean;
8
+ drawerComponent: DrawerComponent;
9
+ constructor(authService: AuthService);
10
+ Token: any;
11
+ ngOnInit(): void;
12
+ get fullScreen(): boolean;
13
+ FullScreenConteiner: any;
14
+ FullScreen(): void;
15
+ static ɵfac: i0.ɵɵFactoryDeclaration<MainContentComponent, never>;
16
+ static ɵcmp: i0.ɵɵComponentDeclaration<MainContentComponent, "main-content", never, { "colapsed": { "alias": "colapsed"; "required": false; }; "drawerComponent": { "alias": "drawerComponent"; "required": false; }; }, {}, never, ["[slot=start]", "[slot=end]", "[slot=user-popover]", "*"], true, never>;
17
+ }
@@ -0,0 +1,15 @@
1
+ import { OnInit } from '@angular/core';
2
+ import { StepperComponent } from '../stepper.component';
3
+ import * as i0 from "@angular/core";
4
+ export declare class StepComponent implements OnInit {
5
+ label: string;
6
+ constructor();
7
+ ngOnInit(): void;
8
+ parent: StepperComponent;
9
+ get index(): number;
10
+ get fill(): boolean;
11
+ get selected(): boolean;
12
+ get _fill(): 0 | 1;
13
+ static ɵfac: i0.ɵɵFactoryDeclaration<StepComponent, never>;
14
+ static ɵcmp: i0.ɵɵComponentDeclaration<StepComponent, "step", never, { "label": { "alias": "label"; "required": false; }; }, {}, never, ["ion-icon, ion-text"], false, never>;
15
+ }
@@ -0,0 +1,17 @@
1
+ import { AfterContentInit, QueryList } from '@angular/core';
2
+ import { StepComponent } from './step/step.component';
3
+ import { CustomInput } from '../inputs/custom-input';
4
+ import * as i0 from "@angular/core";
5
+ export declare class StepperComponent extends CustomInput<any> implements AfterContentInit {
6
+ constructor();
7
+ ngAfterContentInit(): void;
8
+ ngOnInit(): Promise<void>;
9
+ lstSteps: QueryList<StepComponent>;
10
+ writeValue(value: any): void;
11
+ get model(): any;
12
+ set model(value: any);
13
+ _model: number;
14
+ setModel(value: any): void;
15
+ static ɵfac: i0.ɵɵFactoryDeclaration<StepperComponent, never>;
16
+ static ɵcmp: i0.ɵɵComponentDeclaration<StepperComponent, "stepper", never, {}, {}, ["lstSteps"], ["*"], false, never>;
17
+ }
@@ -0,0 +1,10 @@
1
+ import * as i0 from "@angular/core";
2
+ import * as i1 from "./step/step.component";
3
+ import * as i2 from "./stepper.component";
4
+ import * as i3 from "@angular/common";
5
+ import * as i4 from "@ionic/angular";
6
+ export declare class StepperModule {
7
+ static ɵfac: i0.ɵɵFactoryDeclaration<StepperModule, never>;
8
+ static ɵmod: i0.ɵɵNgModuleDeclaration<StepperModule, [typeof i1.StepComponent, typeof i2.StepperComponent], [typeof i3.CommonModule, typeof i4.IonicModule], [typeof i1.StepComponent, typeof i2.StepperComponent]>;
9
+ static ɵinj: i0.ɵɵInjectorDeclaration<StepperModule>;
10
+ }
@@ -0,0 +1,19 @@
1
+ import { ViewContainerRef } from "@angular/core";
2
+ import { RouterOutlet } from "@angular/router";
3
+ import * as i0 from "@angular/core";
4
+ export declare class TabComponent {
5
+ id: string;
6
+ label: string;
7
+ /** Icone da aba @link https://ionic.io/ionicons */
8
+ name: string;
9
+ /** Rota aba, quando náo informada irá mostrar o conteudo do componente */
10
+ route: string | null;
11
+ active: boolean;
12
+ relative: boolean;
13
+ constructor();
14
+ placeToRender: ViewContainerRef;
15
+ routerOutlet: RouterOutlet | null;
16
+ guid: string;
17
+ static ɵfac: i0.ɵɵFactoryDeclaration<TabComponent, never>;
18
+ static ɵcmp: i0.ɵɵComponentDeclaration<TabComponent, "tab", never, { "id": { "alias": "id"; "required": false; }; "label": { "alias": "label"; "required": false; }; "name": { "alias": "name"; "required": false; }; "route": { "alias": "route"; "required": false; }; "active": { "alias": "active"; "required": false; }; "relative": { "alias": "relative"; "required": false; }; }, {}, never, ["*"], false, never>;
19
+ }
@@ -0,0 +1,18 @@
1
+ import { AfterContentInit, EventEmitter, QueryList } from '@angular/core';
2
+ import { TabComponent } from '../tab/tab.component';
3
+ import { RouterOutlet } from '@angular/router';
4
+ import * as i0 from "@angular/core";
5
+ export declare class TabsComponent implements AfterContentInit {
6
+ lstTabs: QueryList<TabComponent>;
7
+ router: RouterOutlet;
8
+ /** Emitido quando a aba é trocada. Emite o ID do elemento */
9
+ changeEmitter: EventEmitter<string>;
10
+ constructor();
11
+ ngAfterContentInit(): void;
12
+ ActiveTab: TabComponent | null;
13
+ SetActiveTab(tab: TabComponent): void;
14
+ isComponent: boolean;
15
+ GetElse(): string;
16
+ static ɵfac: i0.ɵɵFactoryDeclaration<TabsComponent, never>;
17
+ static ɵcmp: i0.ɵɵComponentDeclaration<TabsComponent, "tabs", never, {}, { "changeEmitter": "change"; }, ["router", "lstTabs"], ["*"], false, never>;
18
+ }
@@ -0,0 +1,12 @@
1
+ import * as i0 from "@angular/core";
2
+ import * as i1 from "./tabs/tabs.component";
3
+ import * as i2 from "./tab/tab.component";
4
+ import * as i3 from "@angular/common";
5
+ import * as i4 from "@ionic/angular";
6
+ import * as i5 from "../../directives/ng-var.directive";
7
+ import * as i6 from "@angular/router";
8
+ export declare class TabsModule {
9
+ static ɵfac: i0.ɵɵFactoryDeclaration<TabsModule, never>;
10
+ static ɵmod: i0.ɵɵNgModuleDeclaration<TabsModule, [typeof i1.TabsComponent, typeof i2.TabComponent], [typeof i3.CommonModule, typeof i4.IonicModule, typeof i5.NgVarDirective, typeof i6.RouterLink, typeof i6.RouterModule], [typeof i1.TabsComponent, typeof i2.TabComponent]>;
11
+ static ɵinj: i0.ɵɵInjectorDeclaration<TabsModule>;
12
+ }
@@ -0,0 +1,16 @@
1
+ import { AfterContentInit, ElementRef, OnChanges, SimpleChanges } from '@angular/core';
2
+ import * as i0 from "@angular/core";
3
+ export declare class TextTooltipComponent implements OnChanges, AfterContentInit {
4
+ isOverflowing: boolean;
5
+ text: ElementRef<HTMLDivElement>;
6
+ private CheckOverflowHandler;
7
+ align: 'top' | 'bottom' | 'left' | 'right';
8
+ color: string;
9
+ constructor();
10
+ onMouseEnter(): void;
11
+ ngOnChanges(changes: SimpleChanges): void;
12
+ ngAfterContentInit(): void;
13
+ onResize(): void;
14
+ static ɵfac: i0.ɵɵFactoryDeclaration<TextTooltipComponent, never>;
15
+ static ɵcmp: i0.ɵɵComponentDeclaration<TextTooltipComponent, "text-tooltip", never, { "align": { "alias": "align"; "required": false; }; "color": { "alias": "color"; "required": false; }; }, {}, never, ["[slot=content]", "[slot=tooltip]"], true, never>;
16
+ }
@@ -0,0 +1,7 @@
1
+ import * as i0 from "@angular/core";
2
+ export declare class TooltipComponent {
3
+ align: 'top' | 'bottom' | 'left' | 'right';
4
+ color: string;
5
+ static ɵfac: i0.ɵɵFactoryDeclaration<TooltipComponent, never>;
6
+ static ɵcmp: i0.ɵɵComponentDeclaration<TooltipComponent, "tooltip", never, { "align": { "alias": "align"; "required": false; }; "color": { "alias": "color"; "required": false; }; }, {}, never, ["*"], true, never>;
7
+ }
@@ -0,0 +1,11 @@
1
+ import { InjectionToken, ModuleWithProviders } from '@angular/core';
2
+ import { Environment } from './classes/environment';
3
+ import * as i0 from "@angular/core";
4
+ import * as i1 from "@angular/common";
5
+ export declare const EnvironmentInjectionToken: InjectionToken<Environment>;
6
+ export declare class SapphireIonFrameworkModule {
7
+ static forRoot(config: Environment): ModuleWithProviders<SapphireIonFrameworkModule>;
8
+ static ɵfac: i0.ɵɵFactoryDeclaration<SapphireIonFrameworkModule, never>;
9
+ static ɵmod: i0.ɵɵNgModuleDeclaration<SapphireIonFrameworkModule, never, [typeof i1.CommonModule], never>;
10
+ static ɵinj: i0.ɵɵInjectorDeclaration<SapphireIonFrameworkModule>;
11
+ }
@@ -0,0 +1,12 @@
1
+ import { TemplateRef, ViewContainerRef } from "@angular/core";
2
+ import * as i0 from "@angular/core";
3
+ export declare class NgVarDirective {
4
+ private templateRef;
5
+ private vcRef;
6
+ set ngVar(context: unknown);
7
+ private context;
8
+ private hasView;
9
+ constructor(templateRef: TemplateRef<any>, vcRef: ViewContainerRef);
10
+ static ɵfac: i0.ɵɵFactoryDeclaration<NgVarDirective, never>;
11
+ static ɵdir: i0.ɵɵDirectiveDeclaration<NgVarDirective, "[ngVar]", never, { "ngVar": { "alias": "ngVar"; "required": false; }; }, {}, never, never, true, never>;
12
+ }
@@ -0,0 +1,11 @@
1
+ import { CanActivate, ActivatedRouteSnapshot, RouterStateSnapshot, Router } from '@angular/router';
2
+ import { AuthService } from '../services/auth.service';
3
+ import * as i0 from "@angular/core";
4
+ export declare class AuthGuard implements CanActivate {
5
+ private auth;
6
+ private router;
7
+ constructor(auth: AuthService, router: Router);
8
+ canActivate(route: ActivatedRouteSnapshot, state: RouterStateSnapshot): Promise<boolean>;
9
+ static ɵfac: i0.ɵɵFactoryDeclaration<AuthGuard, never>;
10
+ static ɵprov: i0.ɵɵInjectableDeclaration<AuthGuard>;
11
+ }
@@ -0,0 +1,32 @@
1
+ import { HttpClient, HttpEvent, HttpHandler, HttpInterceptor, HttpRequest } from "@angular/common/http";
2
+ import { Observable } from "rxjs";
3
+ import { ToastController } from "@ionic/angular";
4
+ import { ApiUrlProviderService } from "../services/web/api-url-provider.service";
5
+ import { GenericService } from "../services/generics.service";
6
+ import { AuthService } from "../services/auth.service";
7
+ import { Router } from "@angular/router";
8
+ import * as i0 from "@angular/core";
9
+ export declare class ErrorInterceptor implements HttpInterceptor {
10
+ private auth;
11
+ private http;
12
+ private genericService;
13
+ private toastController;
14
+ private apiUrlProviderService;
15
+ private router;
16
+ constructor(auth: AuthService, http: HttpClient, genericService: GenericService, toastController: ToastController, apiUrlProviderService: ApiUrlProviderService, router: Router);
17
+ intercept(req: HttpRequest<any>, next: HttpHandler): Observable<HttpEvent<any>>;
18
+ private localUserKey;
19
+ private localAdminKey;
20
+ PresentErrorToast(json: string, request: any, fullError: any): Promise<void>;
21
+ protected get fullRoute(): string;
22
+ Report(res: ApiErrorReturn): void;
23
+ GetInfo(request: any, fullError: any): Promise<string>;
24
+ static ɵfac: i0.ɵɵFactoryDeclaration<ErrorInterceptor, never>;
25
+ static ɵprov: i0.ɵɵInjectableDeclaration<ErrorInterceptor>;
26
+ }
27
+ declare class ApiErrorReturn {
28
+ Mensagem: string;
29
+ Erro: string;
30
+ _Info: string;
31
+ }
32
+ export {};
@@ -0,0 +1,11 @@
1
+ import { AuthService } from '../services/auth.service';
2
+ import { HttpRequest, HttpHandler, HttpEvent, HttpInterceptor } from '@angular/common/http';
3
+ import { Observable } from 'rxjs';
4
+ import * as i0 from "@angular/core";
5
+ export declare class TokenInterceptor implements HttpInterceptor {
6
+ private auth;
7
+ constructor(auth: AuthService);
8
+ intercept(request: HttpRequest<unknown>, next: HttpHandler): Observable<HttpEvent<unknown>>;
9
+ static ɵfac: i0.ɵɵFactoryDeclaration<TokenInterceptor, never>;
10
+ static ɵprov: i0.ɵɵInjectableDeclaration<TokenInterceptor>;
11
+ }
package/lib/index.d.ts ADDED
@@ -0,0 +1,108 @@
1
+ export * from '../lib/classes/comparison/properties/bool-property';
2
+ export * from '../lib/classes/comparison/properties/date-property';
3
+ export * from '../lib/classes/comparison/properties/datetime-property';
4
+ export * from '../lib/classes/comparison/properties/decimal-property';
5
+ export * from '../lib/classes/comparison/properties/enum-property';
6
+ export * from '../lib/classes/comparison/properties/implicit-property';
7
+ export * from '../lib/classes/comparison/properties/int-property';
8
+ export * from '../lib/classes/comparison/properties/long-property';
9
+ export * from '../lib/classes/comparison/properties/string-property';
10
+ export * from '../lib/classes/comparison/properties/time-property';
11
+ export * from '../lib/classes/comparison/properties/bool-property';
12
+ export * from '../lib/classes/comparison/comparison';
13
+ export * from '../lib/classes/comparison/comparison-operator';
14
+ export * from '../lib/classes/comparison/comparison-value-type';
15
+ export * from '../lib/classes/filters/view-filtros';
16
+ export * from '../lib/classes/inputs/table-field-form-builder';
17
+ export * from '../lib/classes/inputs/table-field';
18
+ export * from '../lib/classes/routes/default-routing-factory';
19
+ export * from '../lib/classes/routes/id-preloader-configuration';
20
+ export * from '../lib/classes/routes/route-data';
21
+ export * from '../lib/classes/credentials';
22
+ export * from '../lib/classes/environment';
23
+ export * from '../lib/classes/page-option';
24
+ export * from '../lib/components/carousel/carousel-image/carousel-image.component';
25
+ export * from '../lib/components/carousel/carousel-item/carousel-item.component';
26
+ export * from '../lib/components/carousel/carousel.component';
27
+ export * from '../lib/components/carousel/carousel.module';
28
+ export * from '../lib/components/carousel/i-carousel-item.component';
29
+ export * from '../lib/components/content-block/content-block.component';
30
+ export * from '../lib/components/default/default-list/header-list/header-list.component';
31
+ export * from '../lib/components/default/default-list/abstract-list';
32
+ export * from '../lib/components/default/default-list/default-list.component';
33
+ export * from '../lib/components/default/default-list/list';
34
+ export * from '../lib/components/default/default-pagination/default-pagination.component';
35
+ export * from '../lib/components/default/default-table/th-filter/th-filter.component';
36
+ export * from '../lib/components/default/default-table/default-table.component';
37
+ export * from '../lib/components/default/default-view/header-view/header-view.component';
38
+ export * from '../lib/components/default/default-view/abstract-view';
39
+ export * from '../lib/components/default/default-view/default-view.component';
40
+ export * from '../lib/components/default/default-view/view';
41
+ export * from '../lib/components/default/default.module';
42
+ export * from '../lib/components/default-page/default.page';
43
+ export * from '../lib/components/drag-drop-file/drag-drop-overlay/drag-drop-overlay.component';
44
+ export * from '../lib/components/drag-drop-file/drag-drop-file.directive';
45
+ export * from '../lib/components/drag-drop-file/drag-drop-file.module';
46
+ export * from '../lib/components/drawer/default-drawer-end/default-drawer-end.component';
47
+ export * from '../lib/components/drawer/drawer-group/drawer-group.component';
48
+ export * from '../lib/components/drawer/drawer.component';
49
+ export * from '../lib/components/drawer/menu';
50
+ export * from '../lib/components/filter/filter.component';
51
+ export * from '../lib/components/http-responses-pages/forbidden-403/forbidden-403.component';
52
+ export * from '../lib/components/image/image.component';
53
+ export * from '../lib/components/info-popover/info-popover.component';
54
+ export * from '../lib/components/inputs/input-bool/input-bool.component';
55
+ export * from '../lib/components/inputs/input-bool/input-bool.configuration';
56
+ export * from '../lib/components/inputs/input-color/input-color.component';
57
+ export * from '../lib/components/inputs/input-cpf-cnpj/input-cpf-cnpj.component';
58
+ export * from '../lib/components/inputs/input-cpf-cnpj/input-cpf-cnpj.configuration';
59
+ export * from '../lib/components/inputs/input-date/input-date.component';
60
+ export * from '../lib/components/inputs/input-date/input-date.configuration';
61
+ export * from '../lib/components/inputs/input-decimal/input-decimal.component';
62
+ export * from '../lib/components/inputs/input-decimal/input-decimal.configuration';
63
+ export * from '../lib/components/inputs/input-file/download-button/download-button.component';
64
+ export * from '../lib/components/inputs/input-file/input-file.component';
65
+ export * from '../lib/components/inputs/input-file/input-file.configuration';
66
+ export * from '../lib/components/inputs/input-loading/input-loading.component';
67
+ export * from '../lib/components/inputs/input-select/input-select-option/input-select-option.component';
68
+ export * from '../lib/components/inputs/input-select/input-select-template.directive';
69
+ export * from '../lib/components/inputs/input-select/input-select.component';
70
+ export * from '../lib/components/inputs/input-select/input.select.configuration';
71
+ export * from '../lib/components/inputs/input-string/input-string.component';
72
+ export * from '../lib/components/inputs/input-string/input-string.configuration';
73
+ export * from '../lib/components/inputs/input-textarea/input-textarea.component';
74
+ export * from '../lib/components/inputs/input-configuration';
75
+ export * from '../lib/components/inputs/input-default-configurations';
76
+ export * from '../lib/components/inputs/input-provider-factory';
77
+ export * from '../lib/components/inputs/input-type';
78
+ export * from '../lib/components/inputs/input-validators';
79
+ export * from '../lib/components/inputs/inputs.module';
80
+ export * from '../lib/components/loading/loading.component';
81
+ export * from '../lib/components/login/login-admin/login-admin.component';
82
+ export * from '../lib/components/login/login.component';
83
+ export * from '../lib/components/main-content/main-content.component';
84
+ export * from '../lib/components/stepper/step/step.component';
85
+ export * from '../lib/components/stepper/stepper.component';
86
+ export * from '../lib/components/stepper/stepper.module';
87
+ export * from '../lib/components/tabs/tab/tab.component';
88
+ export * from '../lib/components/tabs/tabs/tabs.component';
89
+ export * from '../lib/components/tabs/tabs.module';
90
+ export * from '../lib/components/text-tooltip/text-tooltip.component';
91
+ export * from '../lib/components/tooltip/tooltip.component';
92
+ export * from '../lib/directives/ng-var.directive';
93
+ export * from '../lib/guards/auth.guard';
94
+ export * from '../lib/guards/error.interceptor';
95
+ export * from '../lib/guards/token.interceptor';
96
+ export * from '../lib/pipes/secure.pipe';
97
+ export * from '../lib/services/route/route.provider.service';
98
+ export * from '../lib/services/route/route.cache.service';
99
+ export * from '../lib/services/web/api-url-provider.service';
100
+ export * from '../lib/services/web/http.ativo.service';
101
+ export * from '../lib/services/web/http.service';
102
+ export * from '../lib/services/web/storage.service';
103
+ export * from '../lib/services/auth.service';
104
+ export * from '../lib/services/environment.service';
105
+ export * from '../lib/services/generics.service';
106
+ export * from '../lib/services/usuario.service';
107
+ export * from '../lib/services/utils.service';
108
+ export * from '../lib/core.module';
@@ -0,0 +1,15 @@
1
+ import { HttpClient } from '@angular/common/http';
2
+ import { Observable } from 'rxjs';
3
+ import { PipeTransform } from '@angular/core';
4
+ import { ApiUrlProviderService } from '../services/web/api-url-provider.service';
5
+ import { AuthService } from '../services/auth.service';
6
+ import * as i0 from "@angular/core";
7
+ export declare class SecurePipe implements PipeTransform {
8
+ private http;
9
+ private auth;
10
+ private apiUrlProviderService;
11
+ constructor(http: HttpClient, auth: AuthService, apiUrlProviderService: ApiUrlProviderService);
12
+ transform(src: string): Observable<string> | Promise<string>;
13
+ static ɵfac: i0.ɵɵFactoryDeclaration<SecurePipe, never>;
14
+ static ɵpipe: i0.ɵɵPipeDeclaration<SecurePipe, "secure", true>;
15
+ }
@@ -0,0 +1,47 @@
1
+ import { Observable } from 'rxjs';
2
+ import { NavController } from '@ionic/angular';
3
+ import { HttpClient } from '@angular/common/http';
4
+ import { ApiUrlProviderService } from '../services/web/api-url-provider.service';
5
+ import { EnvironmentService } from './environment.service';
6
+ import * as i0 from "@angular/core";
7
+ export declare class AuthService {
8
+ private http;
9
+ private navController;
10
+ private coreService;
11
+ private apiUrlProviderService;
12
+ constructor(http: HttpClient, navController: NavController, coreService: EnvironmentService, apiUrlProviderService: ApiUrlProviderService);
13
+ private localUserKey;
14
+ private localAdminKey;
15
+ currentToken: string | null;
16
+ SetToken(): Promise<void>;
17
+ Loggout(): Promise<void>;
18
+ _isAdmin: boolean;
19
+ get isAdmin(): boolean;
20
+ Login(credentials: Authentication): Promise<any>;
21
+ BypassLogin(id: number): Promise<any>;
22
+ ApiLogin(credentials: Authentication): Observable<string>;
23
+ ApiBypassLogin(id: number): Observable<string>;
24
+ SaveToken(JWToken: string): Promise<void>;
25
+ LoadToken(): Promise<Token | null | any>;
26
+ LoadTokenAdmin(): Promise<Token | null | any>;
27
+ JWToken(): Promise<string>;
28
+ GetBearer(): Promise<string>;
29
+ isTokenValid(Token: any): boolean;
30
+ static ɵfac: i0.ɵɵFactoryDeclaration<AuthService, never>;
31
+ static ɵprov: i0.ɵɵInjectableDeclaration<AuthService>;
32
+ }
33
+ declare class Authentication {
34
+ Apelido: string;
35
+ Senha: string;
36
+ }
37
+ declare class Token {
38
+ [prop: string]: any;
39
+ Acesso: number;
40
+ Apelido: string;
41
+ Nome: string;
42
+ id: number;
43
+ idEmpresa: number;
44
+ constructor();
45
+ patch(token: Token | any): void;
46
+ }
47
+ export {};
@@ -0,0 +1,10 @@
1
+ import { Environment } from "../classes/environment";
2
+ import * as i0 from "@angular/core";
3
+ export declare class EnvironmentService {
4
+ private config;
5
+ constructor(config: Environment);
6
+ private _environment;
7
+ get environment(): Environment;
8
+ static ɵfac: i0.ɵɵFactoryDeclaration<EnvironmentService, never>;
9
+ static ɵprov: i0.ɵɵInjectableDeclaration<EnvironmentService>;
10
+ }
@@ -0,0 +1,22 @@
1
+ import { ActivatedRoute } from "@angular/router";
2
+ import { Title } from '@angular/platform-browser';
3
+ import { AlertButton, AlertController, ToastController } from "@ionic/angular";
4
+ import { EnvironmentService } from './environment.service';
5
+ import * as i0 from "@angular/core";
6
+ export declare class GenericService {
7
+ private toastController;
8
+ private alertController;
9
+ private titleController;
10
+ private coreService;
11
+ constructor(toastController: ToastController, alertController: AlertController, titleController: Title, coreService: EnvironmentService);
12
+ PresentToast(message: string, icon?: string): Promise<void>;
13
+ PresentToastSuccess(message?: string): Promise<import("@ionic/core").OverlayEventDetail<any>>;
14
+ static CancelButton: AlertButton;
15
+ static ConfirmButton: AlertButton;
16
+ static defaultAlertButtons: AlertButton[];
17
+ PresentAlert(header: string, message: string, buttons?: AlertButton[]): Promise<import("@ionic/core").OverlayEventDetail<any>>;
18
+ SetTitle(title: string): void;
19
+ GetId(activatedRoute: ActivatedRoute, depth?: number): number | null;
20
+ static ɵfac: i0.ɵɵFactoryDeclaration<GenericService, never>;
21
+ static ɵprov: i0.ɵɵInjectableDeclaration<GenericService>;
22
+ }
@@ -0,0 +1,7 @@
1
+ import { Menu } from "../../components/drawer/menu";
2
+ export declare class RouteCacheService {
3
+ private cachedData;
4
+ getCachedData(): Menu[];
5
+ setCachedData(data: Menu[]): void;
6
+ isDataCached(): boolean;
7
+ }
@@ -0,0 +1,13 @@
1
+ import { Observable } from 'rxjs';
2
+ import { Menu } from '../../components/drawer/menu';
3
+ import * as i0 from "@angular/core";
4
+ export declare class RouteProviderService {
5
+ loadFrom: Observable<Menu[]> | Menu[];
6
+ private routeCacheService;
7
+ private loading$;
8
+ constructor();
9
+ resolver: Promise<Menu[]>;
10
+ GetData(): Observable<Menu[]>;
11
+ static ɵfac: i0.ɵɵFactoryDeclaration<RouteProviderService, never>;
12
+ static ɵprov: i0.ɵɵInjectableDeclaration<RouteProviderService>;
13
+ }
@@ -0,0 +1,21 @@
1
+ import { HttpClient } from '@angular/common/http';
2
+ import { FormBuilder } from '@angular/forms';
3
+ import { NavController } from '@ionic/angular';
4
+ import { ApiUrlProviderService } from '../services/web/api-url-provider.service';
5
+ import { HttpServiceAtivo } from '../services/web/http.ativo.service';
6
+ import { GenericService } from './generics.service';
7
+ import { TableField } from '../classes/inputs/table-field';
8
+ import * as i0 from "@angular/core";
9
+ export declare class UsuarioService extends HttpServiceAtivo {
10
+ protected http: HttpClient;
11
+ protected fb: FormBuilder;
12
+ protected genericService: GenericService;
13
+ protected navController: NavController;
14
+ protected apiUrlProviderService: ApiUrlProviderService;
15
+ route: string;
16
+ title: string;
17
+ constructor(http: HttpClient, fb: FormBuilder, genericService: GenericService, navController: NavController, apiUrlProviderService: ApiUrlProviderService);
18
+ get lstTableFields(): TableField[];
19
+ static ɵfac: i0.ɵɵFactoryDeclaration<UsuarioService, never>;
20
+ static ɵprov: i0.ɵɵInjectableDeclaration<UsuarioService>;
21
+ }