@sapphire-ion/framework 1.2.43 → 1.2.44
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.
- package/esm2022/lib/classes/comparison/comparison-operator.mjs +18 -0
- package/esm2022/lib/classes/comparison/comparison-value-type.mjs +25 -0
- package/esm2022/lib/classes/comparison/comparison.mjs +41 -0
- package/esm2022/lib/classes/comparison/properties/bool-property.mjs +15 -0
- package/esm2022/lib/classes/comparison/properties/date-property.mjs +27 -0
- package/esm2022/lib/classes/comparison/properties/datetime-property.mjs +27 -0
- package/esm2022/lib/classes/comparison/properties/decimal-property.mjs +27 -0
- package/esm2022/lib/classes/comparison/properties/enum-property.mjs +27 -0
- package/esm2022/lib/classes/comparison/properties/implicit-property.mjs +12 -0
- package/esm2022/lib/classes/comparison/properties/int-property.mjs +27 -0
- package/esm2022/lib/classes/comparison/properties/long-property.mjs +27 -0
- package/esm2022/lib/classes/comparison/properties/string-property.mjs +15 -0
- package/esm2022/lib/classes/comparison/properties/time-property.mjs +27 -0
- package/esm2022/lib/classes/credentials.mjs +2 -0
- package/esm2022/lib/classes/environment.mjs +34 -0
- package/esm2022/lib/classes/filters/view-filtros.mjs +18 -0
- package/esm2022/lib/classes/infinite-scroll.mjs +90 -0
- package/esm2022/lib/classes/inputs/table-field-form-builder.mjs +10 -0
- package/esm2022/lib/classes/inputs/table-field.mjs +79 -0
- package/esm2022/lib/classes/page-option.mjs +2 -0
- package/esm2022/lib/classes/routes/default-routing-factory.mjs +23 -0
- package/esm2022/lib/classes/routes/id-preloader-configuration.mjs +22 -0
- package/esm2022/lib/classes/routes/route-data.mjs +9 -0
- package/esm2022/lib/components/carousel/carousel-image/carousel-image.component.mjs +18 -0
- package/esm2022/lib/components/carousel/carousel-item/carousel-item.component.mjs +15 -0
- package/esm2022/lib/components/carousel/carousel.component.mjs +79 -0
- package/esm2022/lib/components/carousel/carousel.module.mjs +31 -0
- package/esm2022/lib/components/carousel/i-carousel-item.component.mjs +16 -0
- package/esm2022/lib/components/content-block/content-block.component.mjs +27 -0
- package/esm2022/lib/components/default/default-list/abstract-list.mjs +49 -0
- package/esm2022/lib/components/default/default-list/default-list.component.mjs +95 -0
- package/esm2022/lib/components/default/default-list/header-list/header-list.component.mjs +98 -0
- package/esm2022/lib/components/default/default-list/list.mjs +120 -0
- package/esm2022/lib/components/default/default-pagination/default-pagination.component.mjs +123 -0
- package/esm2022/lib/components/default/default-table/default-table.component.mjs +216 -0
- package/esm2022/lib/components/default/default-table/th-filter/th-filter.component.mjs +206 -0
- package/esm2022/lib/components/default/default-view/abstract-view.mjs +22 -0
- package/esm2022/lib/components/default/default-view/default-view.component.mjs +63 -0
- package/esm2022/lib/components/default/default-view/header-view/header-view.component.mjs +78 -0
- package/esm2022/lib/components/default/default-view/view.mjs +188 -0
- package/esm2022/lib/components/default/default.module.mjs +98 -0
- package/esm2022/lib/components/default-page/default.page.mjs +75 -0
- package/esm2022/lib/components/drag-drop-file/drag-drop-file.directive.mjs +60 -0
- package/esm2022/lib/components/drag-drop-file/drag-drop-file.module.mjs +31 -0
- package/esm2022/lib/components/drag-drop-file/drag-drop-overlay/drag-drop-overlay.component.mjs +15 -0
- package/esm2022/lib/components/drawer/default-drawer-end/default-drawer-end.component.mjs +34 -0
- package/esm2022/lib/components/drawer/drawer-group/drawer-group.component.mjs +52 -0
- package/esm2022/lib/components/drawer/drawer.component.mjs +156 -0
- package/esm2022/lib/components/drawer/menu.mjs +15 -0
- package/esm2022/lib/components/filter/filter.component.mjs +145 -0
- package/esm2022/lib/components/http-responses-pages/forbidden-403/forbidden-403.component.mjs +17 -0
- package/esm2022/lib/components/image/image.component.mjs +91 -0
- package/esm2022/lib/components/info-popover/info-popover.component.mjs +91 -0
- package/esm2022/lib/components/inputs/custom-input.mjs +85 -0
- package/esm2022/lib/components/inputs/input-bool/input-bool.component.mjs +46 -0
- package/esm2022/lib/components/inputs/input-bool/input-bool.configuration.mjs +16 -0
- package/esm2022/lib/components/inputs/input-cep/input-cep.component.mjs +50 -0
- package/esm2022/lib/components/inputs/input-cep/input-cep.configuration.mjs +4 -0
- package/esm2022/lib/components/inputs/input-color/input-color.component.mjs +481 -0
- package/esm2022/lib/components/inputs/input-configuration.mjs +2 -0
- package/esm2022/lib/components/inputs/input-cpf-cnpj/input-cpf-cnpj.component.mjs +116 -0
- package/esm2022/lib/components/inputs/input-cpf-cnpj/input-cpf-cnpj.configuration.mjs +6 -0
- package/esm2022/lib/components/inputs/input-date/input-date.component.mjs +235 -0
- package/esm2022/lib/components/inputs/input-date/input-date.configuration.mjs +8 -0
- package/esm2022/lib/components/inputs/input-decimal/input-decimal.component.mjs +243 -0
- package/esm2022/lib/components/inputs/input-decimal/input-decimal.configuration.mjs +50 -0
- package/esm2022/lib/components/inputs/input-default-configurations.mjs +14 -0
- package/esm2022/lib/components/inputs/input-file/download-button/download-button.component.mjs +99 -0
- package/esm2022/lib/components/inputs/input-file/input-file.component.mjs +101 -0
- package/esm2022/lib/components/inputs/input-file/input-file.configuration.mjs +24 -0
- package/esm2022/lib/components/inputs/input-icon/fluenticons.mjs +3734 -0
- package/esm2022/lib/components/inputs/input-icon/input-icon.component.mjs +60 -0
- package/esm2022/lib/components/inputs/input-icon/ionicons.mjs +1360 -0
- package/esm2022/lib/components/inputs/input-provider-factory.mjs +12 -0
- package/esm2022/lib/components/inputs/input-select/directives/sion-label-template.directive.mjs +16 -0
- package/esm2022/lib/components/inputs/input-select/directives/sion-option-template.directive.mjs +16 -0
- package/esm2022/lib/components/inputs/input-select/directives/sion-placeholder-template.directive.mjs +16 -0
- package/esm2022/lib/components/inputs/input-select/input-select.component.mjs +373 -0
- package/esm2022/lib/components/inputs/input-select/input.select.configuration.mjs +229 -0
- package/esm2022/lib/components/inputs/input-string/input-string.component.mjs +41 -0
- package/esm2022/lib/components/inputs/input-string/input-string.configuration.mjs +18 -0
- package/esm2022/lib/components/inputs/input-telefone/input-telefone.component.mjs +74 -0
- package/esm2022/lib/components/inputs/input-telefone/input-telefone.configuration.mjs +12 -0
- package/esm2022/lib/components/inputs/input-textarea/input-textarea.component.mjs +41 -0
- package/esm2022/lib/components/inputs/input-textarea/input-textarea.configuration.mjs +7 -0
- package/esm2022/lib/components/inputs/input-type.mjs +24 -0
- package/esm2022/lib/components/inputs/input-validators.mjs +121 -0
- package/esm2022/lib/components/inputs/inputs.module.mjs +133 -0
- package/esm2022/lib/components/loading/loading.component.mjs +34 -0
- package/esm2022/lib/components/login/login-admin/login-admin.component.mjs +52 -0
- package/esm2022/lib/components/login/login.component.mjs +99 -0
- package/esm2022/lib/components/main-content/main-content.component.mjs +100 -0
- package/esm2022/lib/components/popover/sion-popover/sion-popover.component.mjs +182 -0
- package/esm2022/lib/components/popover/sion-popover.module.mjs +21 -0
- package/esm2022/lib/components/sion-card/sion-card.component.mjs +26 -0
- package/esm2022/lib/components/stepper/step/step.component.mjs +43 -0
- package/esm2022/lib/components/stepper/stepper.component.mjs +36 -0
- package/esm2022/lib/components/stepper/stepper.module.mjs +25 -0
- package/esm2022/lib/components/tabs/tab/tab.component.mjs +41 -0
- package/esm2022/lib/components/tabs/tabs/tabs.component.mjs +56 -0
- package/esm2022/lib/components/tabs/tabs.module.mjs +22 -0
- package/esm2022/lib/components/text-tooltip/text-tooltip.component.mjs +51 -0
- package/esm2022/lib/components/tooltip/tooltip.component.mjs +21 -0
- package/esm2022/lib/core.module.mjs +38 -0
- package/esm2022/lib/directives/ng-var.directive.mjs +29 -0
- package/esm2022/lib/guards/auth.guard.mjs +26 -0
- package/esm2022/lib/guards/error.interceptor.mjs +107 -0
- package/esm2022/lib/guards/token.interceptor.mjs +25 -0
- package/esm2022/lib/index.mjs +187 -0
- package/esm2022/lib/pipes/secure.pipe.mjs +42 -0
- package/esm2022/lib/services/auth.service.mjs +150 -0
- package/esm2022/lib/services/environment.service.mjs +26 -0
- package/esm2022/lib/services/generic.service.mjs +84 -0
- package/esm2022/lib/services/modal-focus-trap.service.mjs +62 -0
- package/esm2022/lib/services/popover-focus-trap.service.mjs +62 -0
- package/esm2022/lib/services/route/route.cache.service.mjs +15 -0
- package/esm2022/lib/services/route/route.provider.service.mjs +42 -0
- package/esm2022/lib/services/usuario.service.mjs +49 -0
- package/esm2022/lib/services/utils.service.mjs +190 -0
- package/esm2022/lib/services/web/api-url-provider.service.mjs +29 -0
- package/esm2022/lib/services/web/http.ativo.service.mjs +37 -0
- package/esm2022/lib/services/web/http.service.mjs +177 -0
- package/esm2022/lib/services/web/storage.service.mjs +183 -0
- package/esm2022/public-api.mjs +5 -0
- package/esm2022/sapphire-ion-framework.mjs +5 -0
- package/fesm2022/sapphire-ion-framework.mjs +12234 -0
- package/fesm2022/sapphire-ion-framework.mjs.map +1 -0
- package/index.d.ts +5 -0
- package/lib/classes/comparison/comparison-operator.d.ts +9 -0
- package/lib/classes/comparison/comparison-value-type.d.ts +23 -0
- package/lib/classes/comparison/comparison.d.ts +25 -0
- package/lib/classes/comparison/properties/bool-property.d.ts +7 -0
- package/lib/classes/comparison/properties/date-property.d.ts +11 -0
- package/lib/classes/comparison/properties/datetime-property.d.ts +11 -0
- package/lib/classes/comparison/properties/decimal-property.d.ts +11 -0
- package/lib/classes/comparison/properties/enum-property.d.ts +11 -0
- package/lib/classes/comparison/properties/implicit-property.d.ts +6 -0
- package/lib/classes/comparison/properties/int-property.d.ts +11 -0
- package/lib/classes/comparison/properties/long-property.d.ts +11 -0
- package/lib/classes/comparison/properties/string-property.d.ts +7 -0
- package/lib/classes/comparison/properties/time-property.d.ts +11 -0
- package/{src/lib/classes/credentials.ts → lib/classes/credentials.d.ts} +5 -5
- package/lib/classes/environment.d.ts +14 -0
- package/lib/classes/filters/view-filtros.d.ts +10 -0
- package/lib/classes/infinite-scroll.d.ts +26 -0
- package/lib/classes/inputs/table-field-form-builder.d.ts +5 -0
- package/lib/classes/inputs/table-field.d.ts +20 -0
- package/lib/classes/page-option.d.ts +7 -0
- package/lib/classes/routes/default-routing-factory.d.ts +8 -0
- package/lib/classes/routes/id-preloader-configuration.d.ts +28 -0
- package/lib/classes/routes/route-data.d.ts +5 -0
- package/lib/components/carousel/carousel-image/carousel-image.component.d.ts +10 -0
- package/lib/components/carousel/carousel-item/carousel-item.component.d.ts +9 -0
- package/lib/components/carousel/carousel.component.d.ts +32 -0
- package/lib/components/carousel/carousel.module.d.ts +12 -0
- package/lib/components/carousel/i-carousel-item.component.d.ts +9 -0
- package/lib/components/content-block/content-block.component.d.ts +15 -0
- package/lib/components/default/default-list/abstract-list.d.ts +21 -0
- package/lib/components/default/default-list/default-list.component.d.ts +47 -0
- package/lib/components/default/default-list/header-list/header-list.component.d.ts +45 -0
- package/lib/components/default/default-list/list.d.ts +40 -0
- package/lib/components/default/default-pagination/default-pagination.component.d.ts +36 -0
- package/lib/components/default/default-table/default-table.component.d.ts +90 -0
- package/lib/components/default/default-table/th-filter/th-filter.component.d.ts +23 -0
- package/lib/components/default/default-view/abstract-view.d.ts +18 -0
- package/lib/components/default/default-view/default-view.component.d.ts +32 -0
- package/lib/components/default/default-view/header-view/header-view.component.d.ts +29 -0
- package/lib/components/default/default-view/view.d.ts +59 -0
- package/lib/components/default/default.module.d.ts +31 -0
- package/lib/components/default-page/default.page.d.ts +35 -0
- package/lib/components/drag-drop-file/drag-drop-file.directive.d.ts +14 -0
- package/lib/components/drag-drop-file/drag-drop-file.module.d.ts +10 -0
- package/lib/components/drag-drop-file/drag-drop-overlay/drag-drop-overlay.component.d.ts +9 -0
- package/lib/components/drawer/default-drawer-end/default-drawer-end.component.d.ts +13 -0
- package/lib/components/drawer/drawer-group/drawer-group.component.d.ts +22 -0
- package/lib/components/drawer/drawer.component.d.ts +31 -0
- package/lib/components/drawer/menu.d.ts +9 -0
- package/lib/components/filter/filter.component.d.ts +29 -0
- package/lib/components/http-responses-pages/forbidden-403/forbidden-403.component.d.ts +8 -0
- package/lib/components/image/image.component.d.ts +23 -0
- package/lib/components/info-popover/info-popover.component.d.ts +15 -0
- package/lib/components/inputs/custom-input.d.ts +40 -0
- package/lib/components/inputs/input-bool/input-bool.component.d.ts +16 -0
- package/lib/components/inputs/input-bool/input-bool.configuration.d.ts +17 -0
- package/lib/components/inputs/input-cep/input-cep.component.d.ts +18 -0
- package/lib/components/inputs/input-cep/input-cep.configuration.d.ts +3 -0
- package/lib/components/inputs/input-color/input-color.component.d.ts +77 -0
- package/{src/lib/components/inputs/input-configuration.ts → lib/components/inputs/input-configuration.d.ts} +10 -23
- package/lib/components/inputs/input-cpf-cnpj/input-cpf-cnpj.component.d.ts +19 -0
- package/lib/components/inputs/input-cpf-cnpj/input-cpf-cnpj.configuration.d.ts +5 -0
- package/lib/components/inputs/input-date/input-date.component.d.ts +60 -0
- package/lib/components/inputs/input-date/input-date.configuration.d.ts +7 -0
- package/lib/components/inputs/input-decimal/input-decimal.component.d.ts +26 -0
- package/lib/components/inputs/input-decimal/input-decimal.configuration.d.ts +28 -0
- package/lib/components/inputs/input-default-configurations.d.ts +13 -0
- package/lib/components/inputs/input-file/download-button/download-button.component.d.ts +39 -0
- package/lib/components/inputs/input-file/input-file.component.d.ts +27 -0
- package/lib/components/inputs/input-file/input-file.configuration.d.ts +8 -0
- package/lib/components/inputs/input-icon/fluenticons.d.ts +1 -0
- package/lib/components/inputs/input-icon/input-icon.component.d.ts +20 -0
- package/lib/components/inputs/input-icon/ionicons.d.ts +1 -0
- package/lib/components/inputs/input-provider-factory.d.ts +4 -0
- package/lib/components/inputs/input-select/directives/sion-label-template.directive.d.ts +18 -0
- package/lib/components/inputs/input-select/directives/sion-option-template.directive.d.ts +14 -0
- package/lib/components/inputs/input-select/directives/sion-placeholder-template.directive.d.ts +18 -0
- package/lib/components/inputs/input-select/input-select.component.d.ts +83 -0
- package/lib/components/inputs/input-select/input.select.configuration.d.ts +122 -0
- package/lib/components/inputs/input-string/input-string.component.d.ts +14 -0
- package/lib/components/inputs/input-string/input-string.configuration.d.ts +14 -0
- package/lib/components/inputs/input-telefone/input-telefone.component.d.ts +19 -0
- package/lib/components/inputs/input-telefone/input-telefone.configuration.d.ts +9 -0
- package/lib/components/inputs/input-textarea/input-textarea.component.d.ts +14 -0
- package/lib/components/inputs/input-textarea/input-textarea.configuration.d.ts +4 -0
- package/lib/components/inputs/input-type.d.ts +22 -0
- package/lib/components/inputs/input-validators.d.ts +25 -0
- package/lib/components/inputs/inputs.module.d.ts +33 -0
- package/lib/components/loading/loading.component.d.ts +18 -0
- package/lib/components/login/login-admin/login-admin.component.d.ts +20 -0
- package/lib/components/login/login.component.d.ts +29 -0
- package/lib/components/main-content/main-content.component.d.ts +27 -0
- package/lib/components/popover/sion-popover/sion-popover.component.d.ts +43 -0
- package/lib/components/popover/sion-popover.module.d.ts +9 -0
- package/lib/components/sion-card/sion-card.component.d.ts +11 -0
- package/lib/components/stepper/step/step.component.d.ts +15 -0
- package/lib/components/stepper/stepper.component.d.ts +14 -0
- package/lib/components/stepper/stepper.module.d.ts +10 -0
- package/lib/components/tabs/tab/tab.component.d.ts +19 -0
- package/lib/components/tabs/tabs/tabs.component.d.ts +18 -0
- package/lib/components/tabs/tabs.module.d.ts +12 -0
- package/lib/components/text-tooltip/text-tooltip.component.d.ts +16 -0
- package/lib/components/tooltip/tooltip.component.d.ts +7 -0
- package/lib/core.module.d.ts +16 -0
- package/lib/directives/ng-var.directive.d.ts +12 -0
- package/lib/guards/auth.guard.d.ts +11 -0
- package/lib/guards/error.interceptor.d.ts +32 -0
- package/lib/guards/token.interceptor.d.ts +11 -0
- package/lib/index.d.ts +117 -0
- package/lib/pipes/secure.pipe.d.ts +15 -0
- package/lib/services/auth.service.d.ts +47 -0
- package/lib/services/environment.service.d.ts +10 -0
- package/lib/services/generic.service.d.ts +22 -0
- package/lib/services/modal-focus-trap.service.d.ts +13 -0
- package/lib/services/popover-focus-trap.service.d.ts +13 -0
- package/lib/services/route/route.cache.service.d.ts +7 -0
- package/lib/services/route/route.provider.service.d.ts +13 -0
- package/lib/services/usuario.service.d.ts +21 -0
- package/lib/services/utils.service.d.ts +53 -0
- package/lib/services/web/api-url-provider.service.d.ts +13 -0
- package/lib/services/web/http.ativo.service.d.ts +20 -0
- package/lib/services/web/http.service.d.ts +59 -0
- package/lib/services/web/storage.service.d.ts +46 -0
- package/package.json +47 -43
- package/public-api.d.ts +1 -0
- package/{src/lib → themes}/compiled-styles.scss +2551 -2551
- package/build.ps1 +0 -39
- package/ng-package.json +0 -10
- package/src/lib/classes/comparison/comparison-operator.ts +0 -17
- package/src/lib/classes/comparison/comparison-value-type.ts +0 -34
- package/src/lib/classes/comparison/comparison.ts +0 -45
- package/src/lib/classes/comparison/properties/bool-property.ts +0 -16
- package/src/lib/classes/comparison/properties/date-property.ts +0 -28
- package/src/lib/classes/comparison/properties/datetime-property.ts +0 -28
- package/src/lib/classes/comparison/properties/decimal-property.ts +0 -28
- package/src/lib/classes/comparison/properties/enum-property.ts +0 -28
- package/src/lib/classes/comparison/properties/implicit-property.ts +0 -13
- package/src/lib/classes/comparison/properties/int-property.ts +0 -28
- package/src/lib/classes/comparison/properties/long-property.ts +0 -28
- package/src/lib/classes/comparison/properties/string-property.ts +0 -16
- package/src/lib/classes/comparison/properties/time-property.ts +0 -28
- package/src/lib/classes/environment.ts +0 -37
- package/src/lib/classes/filters/view-filtros.ts +0 -18
- package/src/lib/classes/infinite-scroll.ts +0 -112
- package/src/lib/classes/inputs/table-field-form-builder.ts +0 -12
- package/src/lib/classes/inputs/table-field.ts +0 -62
- package/src/lib/classes/page-option.ts +0 -8
- package/src/lib/classes/routes/default-routing-factory.ts +0 -24
- package/src/lib/classes/routes/id-preloader-configuration.ts +0 -21
- package/src/lib/classes/routes/route-data.ts +0 -9
- package/src/lib/components/carousel/carousel-image/carousel-image.component.html +0 -4
- package/src/lib/components/carousel/carousel-image/carousel-image.component.ts +0 -15
- package/src/lib/components/carousel/carousel-item/carousel-item.component.html +0 -3
- package/src/lib/components/carousel/carousel-item/carousel-item.component.ts +0 -14
- package/src/lib/components/carousel/carousel.component.html +0 -22
- package/src/lib/components/carousel/carousel.component.ts +0 -83
- package/src/lib/components/carousel/carousel.module.ts +0 -20
- package/src/lib/components/carousel/i-carousel-item.component.ts +0 -8
- package/src/lib/components/content-block/content-block.component.html +0 -6
- package/src/lib/components/content-block/content-block.component.ts +0 -25
- package/src/lib/components/default/default-list/abstract-list.ts +0 -56
- package/src/lib/components/default/default-list/default-list.component.html +0 -60
- package/src/lib/components/default/default-list/default-list.component.ts +0 -72
- package/src/lib/components/default/default-list/header-list/header-list.component.html +0 -32
- package/src/lib/components/default/default-list/header-list/header-list.component.ts +0 -85
- package/src/lib/components/default/default-list/list.ts +0 -127
- package/src/lib/components/default/default-pagination/default-pagination.component.html +0 -52
- package/src/lib/components/default/default-pagination/default-pagination.component.ts +0 -118
- package/src/lib/components/default/default-table/default-table.component.html +0 -104
- package/src/lib/components/default/default-table/default-table.component.ts +0 -255
- package/src/lib/components/default/default-table/th-filter/th-filter.component.html +0 -69
- package/src/lib/components/default/default-table/th-filter/th-filter.component.ts +0 -183
- package/src/lib/components/default/default-view/abstract-view.ts +0 -25
- package/src/lib/components/default/default-view/default-view.component.html +0 -111
- package/src/lib/components/default/default-view/default-view.component.ts +0 -44
- package/src/lib/components/default/default-view/header-view/header-view.component.html +0 -64
- package/src/lib/components/default/default-view/header-view/header-view.component.ts +0 -57
- package/src/lib/components/default/default-view/view.ts +0 -183
- package/src/lib/components/default/default.module.ts +0 -61
- package/src/lib/components/default-page/default.page.html +0 -63
- package/src/lib/components/default-page/default.page.ts +0 -84
- package/src/lib/components/drag-drop-file/drag-drop-file.directive.ts +0 -44
- package/src/lib/components/drag-drop-file/drag-drop-file.module.ts +0 -21
- package/src/lib/components/drag-drop-file/drag-drop-overlay/drag-drop-overlay.component.html +0 -5
- package/src/lib/components/drag-drop-file/drag-drop-overlay/drag-drop-overlay.component.ts +0 -17
- package/src/lib/components/drawer/default-drawer-end/default-drawer-end.component.html +0 -12
- package/src/lib/components/drawer/default-drawer-end/default-drawer-end.component.ts +0 -35
- package/src/lib/components/drawer/drawer-group/drawer-group.component.html +0 -79
- package/src/lib/components/drawer/drawer-group/drawer-group.component.ts +0 -49
- package/src/lib/components/drawer/drawer.component.html +0 -120
- package/src/lib/components/drawer/drawer.component.ts +0 -157
- package/src/lib/components/drawer/menu.ts +0 -20
- package/src/lib/components/filter/filter.component.html +0 -43
- package/src/lib/components/filter/filter.component.ts +0 -141
- package/src/lib/components/http-responses-pages/forbidden-403/forbidden-403.component.html +0 -35
- package/src/lib/components/http-responses-pages/forbidden-403/forbidden-403.component.ts +0 -19
- package/src/lib/components/image/image.component.html +0 -17
- package/src/lib/components/image/image.component.ts +0 -95
- package/src/lib/components/info-popover/info-popover.component.html +0 -23
- package/src/lib/components/info-popover/info-popover.component.ts +0 -75
- package/src/lib/components/inputs/custom-input.ts +0 -94
- package/src/lib/components/inputs/input-bool/input-bool.component.html +0 -26
- package/src/lib/components/inputs/input-bool/input-bool.component.ts +0 -39
- package/src/lib/components/inputs/input-bool/input-bool.configuration.ts +0 -14
- package/src/lib/components/inputs/input-cep/input-cep.component.html +0 -27
- package/src/lib/components/inputs/input-cep/input-cep.component.ts +0 -41
- package/src/lib/components/inputs/input-cep/input-cep.configuration.ts +0 -4
- package/src/lib/components/inputs/input-color/input-color.component.html +0 -79
- package/src/lib/components/inputs/input-color/input-color.component.ts +0 -544
- package/src/lib/components/inputs/input-color/input-color.configuration.ts +0 -0
- package/src/lib/components/inputs/input-cpf-cnpj/input-cpf-cnpj.component.html +0 -28
- package/src/lib/components/inputs/input-cpf-cnpj/input-cpf-cnpj.component.ts +0 -99
- package/src/lib/components/inputs/input-cpf-cnpj/input-cpf-cnpj.configuration.ts +0 -4
- package/src/lib/components/inputs/input-date/input-date.component.html +0 -88
- package/src/lib/components/inputs/input-date/input-date.component.ts +0 -241
- package/src/lib/components/inputs/input-date/input-date.configuration.ts +0 -6
- package/src/lib/components/inputs/input-decimal/input-decimal.component.html +0 -31
- package/src/lib/components/inputs/input-decimal/input-decimal.component.ts +0 -249
- package/src/lib/components/inputs/input-decimal/input-decimal.configuration.ts +0 -47
- package/src/lib/components/inputs/input-default-configurations.ts +0 -15
- package/src/lib/components/inputs/input-file/download-button/download-button.component.html +0 -56
- package/src/lib/components/inputs/input-file/download-button/download-button.component.ts +0 -89
- package/src/lib/components/inputs/input-file/input-file.component.html +0 -59
- package/src/lib/components/inputs/input-file/input-file.component.ts +0 -96
- package/src/lib/components/inputs/input-file/input-file.configuration.ts +0 -25
- package/src/lib/components/inputs/input-icon/fluenticons.ts +0 -3733
- package/src/lib/components/inputs/input-icon/input-icon.component.html +0 -8
- package/src/lib/components/inputs/input-icon/input-icon.component.ts +0 -52
- package/src/lib/components/inputs/input-icon/ionicons.ts +0 -1359
- package/src/lib/components/inputs/input-provider-factory.ts +0 -12
- package/src/lib/components/inputs/input-select/directives/sion-label-template.directive.ts +0 -19
- package/src/lib/components/inputs/input-select/directives/sion-option-template.directive.ts +0 -16
- package/src/lib/components/inputs/input-select/directives/sion-placeholder-template.directive.ts +0 -19
- package/src/lib/components/inputs/input-select/input-select.component.html +0 -176
- package/src/lib/components/inputs/input-select/input-select.component.ts +0 -361
- package/src/lib/components/inputs/input-select/input.select.configuration.ts +0 -292
- package/src/lib/components/inputs/input-string/input-string.component.html +0 -27
- package/src/lib/components/inputs/input-string/input-string.component.ts +0 -31
- package/src/lib/components/inputs/input-string/input-string.configuration.ts +0 -18
- package/src/lib/components/inputs/input-telefone/input-telefone.component.html +0 -29
- package/src/lib/components/inputs/input-telefone/input-telefone.component.ts +0 -63
- package/src/lib/components/inputs/input-telefone/input-telefone.configuration.ts +0 -8
- package/src/lib/components/inputs/input-textarea/input-textarea.component.html +0 -27
- package/src/lib/components/inputs/input-textarea/input-textarea.component.ts +0 -31
- package/src/lib/components/inputs/input-textarea/input-textarea.configuration.ts +0 -7
- package/src/lib/components/inputs/input-type.ts +0 -22
- package/src/lib/components/inputs/input-validators.ts +0 -111
- package/src/lib/components/inputs/inputs.module.ts +0 -74
- package/src/lib/components/loading/loading.component.html +0 -28
- package/src/lib/components/loading/loading.component.ts +0 -29
- package/src/lib/components/login/login-admin/login-admin.component.html +0 -28
- package/src/lib/components/login/login-admin/login-admin.component.ts +0 -51
- package/src/lib/components/login/login.component.html +0 -104
- package/src/lib/components/login/login.component.ts +0 -96
- package/src/lib/components/main-content/main-content.component.html +0 -145
- package/src/lib/components/main-content/main-content.component.ts +0 -93
- package/src/lib/components/popover/sion-popover/sion-popover.component.html +0 -21
- package/src/lib/components/popover/sion-popover/sion-popover.component.ts +0 -182
- package/src/lib/components/popover/sion-popover.module.ts +0 -12
- package/src/lib/components/sion-card/sion-card.component.html +0 -12
- package/src/lib/components/sion-card/sion-card.component.ts +0 -23
- package/src/lib/components/stepper/step/step.component.html +0 -11
- package/src/lib/components/stepper/step/step.component.ts +0 -44
- package/src/lib/components/stepper/stepper.component.html +0 -3
- package/src/lib/components/stepper/stepper.component.ts +0 -37
- package/src/lib/components/stepper/stepper.module.ts +0 -15
- package/src/lib/components/tabs/tab/tab.component.html +0 -8
- package/src/lib/components/tabs/tab/tab.component.ts +0 -28
- package/src/lib/components/tabs/tabs/tabs.component.html +0 -14
- package/src/lib/components/tabs/tabs/tabs.component.ts +0 -42
- package/src/lib/components/tabs/tabs.module.ts +0 -15
- package/src/lib/components/text-tooltip/text-tooltip.component.html +0 -8
- package/src/lib/components/text-tooltip/text-tooltip.component.ts +0 -45
- package/src/lib/components/tooltip/tooltip.component.html +0 -53
- package/src/lib/components/tooltip/tooltip.component.ts +0 -16
- package/src/lib/core.module.ts +0 -29
- package/src/lib/directives/ng-var.directive.ts +0 -26
- package/src/lib/guards/auth.guard.ts +0 -19
- package/src/lib/guards/error.interceptor.ts +0 -108
- package/src/lib/guards/token.interceptor.ts +0 -28
- package/src/lib/index.ts +0 -190
- package/src/lib/pipes/secure.pipe.ts +0 -39
- package/src/lib/services/auth.service.ts +0 -153
- package/src/lib/services/crypto.service.ts +0 -164
- package/src/lib/services/environment.service.ts +0 -17
- package/src/lib/services/generic.service.ts +0 -85
- package/src/lib/services/modal-focus-trap.service.ts +0 -65
- package/src/lib/services/popover-focus-trap.service.ts +0 -65
- package/src/lib/services/route/route.cache.service.ts +0 -17
- package/src/lib/services/route/route.provider.service.ts +0 -49
- package/src/lib/services/usuario.service.ts +0 -44
- package/src/lib/services/utils.service.ts +0 -216
- package/src/lib/services/web/api-url-provider.service.ts +0 -48
- package/src/lib/services/web/http.ativo.service.ts +0 -37
- package/src/lib/services/web/http.service.ts +0 -193
- package/src/lib/services/web/storage.service.ts +0 -206
- package/src/public-api.ts +0 -5
- package/tailwind.config.js +0 -27
- package/tsconfig.lib.json +0 -29
- package/tsconfig.lib.prod.json +0 -23
- package/tsconfig.spec.json +0 -27
- /package/{src/lib → themes}/components/carousel/carousel-image/carousel-image.component.scss +0 -0
- /package/{src/lib → themes}/components/carousel/carousel-item/carousel-item.component.scss +0 -0
- /package/{src/lib → themes}/components/carousel/carousel.component.scss +0 -0
- /package/{src/lib → themes}/components/content-block/content-block.component.scss +0 -0
- /package/{src/lib → themes}/components/default/default-list/default-list.component.scss +0 -0
- /package/{src/lib → themes}/components/default/default-list/header-list/header-list.component.scss +0 -0
- /package/{src/lib → themes}/components/default/default-pagination/default-pagination.component.scss +0 -0
- /package/{src/lib → themes}/components/default/default-table/default-table.component.scss +0 -0
- /package/{src/lib → themes}/components/default/default-table/th-filter/th-filter.component.scss +0 -0
- /package/{src/lib → themes}/components/default/default-view/default-view.component.scss +0 -0
- /package/{src/lib → themes}/components/default/default-view/header-view/header-view.component.scss +0 -0
- /package/{src/lib → themes}/components/default-page/default.page.scss +0 -0
- /package/{src/lib → themes}/components/drag-drop-file/drag-drop-overlay/drag-drop-overlay.component.scss +0 -0
- /package/{src/lib → themes}/components/drawer/default-drawer-end/default-drawer-end.component.scss +0 -0
- /package/{src/lib → themes}/components/drawer/drawer-group/drawer-group.component.scss +0 -0
- /package/{src/lib → themes}/components/drawer/drawer.component.scss +0 -0
- /package/{src/lib → themes}/components/filter/filter.component.scss +0 -0
- /package/{src/lib → themes}/components/http-responses-pages/forbidden-403/forbidden-403.component.scss +0 -0
- /package/{src/lib → themes}/components/image/image.component.scss +0 -0
- /package/{src/lib → themes}/components/info-popover/info-popover.component.scss +0 -0
- /package/{src/lib → themes}/components/inputs/input-bool/input-bool.component.scss +0 -0
- /package/{src/lib → themes}/components/inputs/input-cep/input-cep.component.scss +0 -0
- /package/{src/lib → themes}/components/inputs/input-color/input-color.component.scss +0 -0
- /package/{src/lib → themes}/components/inputs/input-cpf-cnpj/input-cpf-cnpj.component.scss +0 -0
- /package/{src/lib → themes}/components/inputs/input-date/input-date.component.scss +0 -0
- /package/{src/lib → themes}/components/inputs/input-decimal/input-decimal.component.scss +0 -0
- /package/{src/lib → themes}/components/inputs/input-file/download-button/download-button.component.scss +0 -0
- /package/{src/lib → themes}/components/inputs/input-file/input-file.component.scss +0 -0
- /package/{src/lib → themes}/components/inputs/input-icon/input-icon.component.scss +0 -0
- /package/{src/lib → themes}/components/inputs/input-select/input-select.component.scss +0 -0
- /package/{src/lib → themes}/components/inputs/input-string/input-string.component.scss +0 -0
- /package/{src/lib → themes}/components/inputs/input-telefone/input-telefone.component.scss +0 -0
- /package/{src/lib → themes}/components/inputs/input-textarea/input-textarea.component.scss +0 -0
- /package/{src/lib → themes}/components/inputs/inputs.scss +0 -0
- /package/{src/lib → themes}/components/loading/loading.component.scss +0 -0
- /package/{src/lib → themes}/components/login/login-admin/login-admin.component.scss +0 -0
- /package/{src/lib → themes}/components/login/login.component.scss +0 -0
- /package/{src/lib → themes}/components/main-content/main-content.component.scss +0 -0
- /package/{src/lib → themes}/components/popover/sion-popover/sion-popover.component.scss +0 -0
- /package/{src/lib → themes}/components/sion-card/sion-card.component.scss +0 -0
- /package/{src/lib → themes}/components/stepper/step/step.component.scss +0 -0
- /package/{src/lib → themes}/components/stepper/stepper.component.scss +0 -0
- /package/{src/lib → themes}/components/tabs/tab/tab.component.scss +0 -0
- /package/{src/lib → themes}/components/tabs/tabs/tabs.component.scss +0 -0
- /package/{src/lib → themes}/components/text-tooltip/text-tooltip.component.scss +0 -0
- /package/{src/lib → themes}/components/tooltip/tooltip.component.scss +0 -0
- /package/{src/lib → themes}/styles/components.scss +0 -0
- /package/{src/lib → themes}/styles/core.styles.scss +0 -0
- /package/{src/lib → themes}/styles/ionic/ion-action-sheet.scss +0 -0
- /package/{src/lib → themes}/styles/ionic/ion-alert.scss +0 -0
- /package/{src/lib → themes}/styles/ionic/ion-button.scss +0 -0
- /package/{src/lib → themes}/styles/ionic/ion-card.scss +0 -0
- /package/{src/lib → themes}/styles/ionic/ion-content.scss +0 -0
- /package/{src/lib → themes}/styles/ionic/ion-datetime.scss +0 -0
- /package/{src/lib → themes}/styles/ionic/ion-item.scss +0 -0
- /package/{src/lib → themes}/styles/ionic/ion-list.scss +0 -0
- /package/{src/lib → themes}/styles/ionic/ion-modal.scss +0 -0
- /package/{src/lib → themes}/styles/ionic/ion-popover.scss +0 -0
- /package/{src/lib → themes}/styles/ionic/ion-progress-bar.scss +0 -0
- /package/{src/lib → themes}/styles/ionic/ion-searchbar.scss +0 -0
- /package/{src/lib → themes}/styles/ionic/ion-toast.scss +0 -0
- /package/{src/lib → themes}/styles/ionic.scss +0 -0
- /package/{src/lib → themes}/styles/login-default.scss +0 -0
- /package/{src/lib → themes}/styles/mixins.scss +0 -0
- /package/{src/lib → themes}/styles/styles.scss +0 -0
- /package/{src/lib → themes}/styles/translucid.scss +0 -0
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { ElementRef, InputSignal } from '@angular/core';
|
|
2
|
+
import { CustomInput } from '../custom-input';
|
|
3
|
+
import { InputStringConfiguration } from './input-string.configuration';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export declare class InputStringComponent extends CustomInput<string> {
|
|
6
|
+
configuration: InputSignal<InputStringConfiguration>;
|
|
7
|
+
input: ElementRef<HTMLInputElement>;
|
|
8
|
+
inputContainer: ElementRef<HTMLDivElement>;
|
|
9
|
+
setFocus(event?: MouseEvent | null): void;
|
|
10
|
+
constructor();
|
|
11
|
+
writeValue(obj: string): void | Promise<void>;
|
|
12
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<InputStringComponent, never>;
|
|
13
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<InputStringComponent, "input-string", never, { "configuration": { "alias": "configuration"; "required": false; "isSignal": true; }; }, {}, never, never, false, never>;
|
|
14
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
export declare enum InputStringType {
|
|
2
|
+
Text = "text",
|
|
3
|
+
Password = "password",
|
|
4
|
+
Email = "email",
|
|
5
|
+
Number = "number",
|
|
6
|
+
Search = "search",
|
|
7
|
+
Tel = "tel",
|
|
8
|
+
Url = "url"
|
|
9
|
+
}
|
|
10
|
+
export declare class InputStringConfiguration {
|
|
11
|
+
maxlength: number;
|
|
12
|
+
type: InputStringType;
|
|
13
|
+
constructor(type?: InputStringType, maxlength?: number);
|
|
14
|
+
}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { ElementRef, ModelSignal } from '@angular/core';
|
|
2
|
+
import { MaskitoOptions } from '@maskito/core';
|
|
3
|
+
import { InputTelefoneCelularConfiguration } from './input-telefone.configuration';
|
|
4
|
+
import { CustomInput } from '../custom-input';
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
export declare class InputTelefoneComponent extends CustomInput<string> {
|
|
7
|
+
protected elementRef: ElementRef<HTMLInputElement>;
|
|
8
|
+
configuration: ModelSignal<InputTelefoneCelularConfiguration>;
|
|
9
|
+
input: ElementRef<HTMLInputElement>;
|
|
10
|
+
inputContainer: ElementRef<HTMLDivElement>;
|
|
11
|
+
setFocus(event: MouseEvent | null): void;
|
|
12
|
+
constructor(elementRef: ElementRef<HTMLInputElement>);
|
|
13
|
+
writeValue(obj: string): void | Promise<void>;
|
|
14
|
+
SetValue(obj: string): void;
|
|
15
|
+
readonly mask: MaskitoOptions;
|
|
16
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<InputTelefoneComponent, never>;
|
|
17
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<InputTelefoneComponent, "input-telefone, input-celular, input-telefone-celular", never, { "configuration": { "alias": "configuration"; "required": false; "isSignal": true; }; }, { "configuration": "configurationChange"; }, never, never, false, never>;
|
|
18
|
+
}
|
|
19
|
+
export declare function FormatTelefoneCelular(value: string): string;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { ElementRef, InputSignal } from '@angular/core';
|
|
2
|
+
import { InputTextAreaConfiguration } from './input-textarea.configuration';
|
|
3
|
+
import { CustomInput } from '../custom-input';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export declare class InputTextareaComponent extends CustomInput<string> {
|
|
6
|
+
configuration: InputSignal<InputTextAreaConfiguration>;
|
|
7
|
+
input: ElementRef<HTMLTextAreaElement>;
|
|
8
|
+
inputContainer: ElementRef<HTMLDivElement>;
|
|
9
|
+
setFocus(event: MouseEvent | null): void;
|
|
10
|
+
constructor();
|
|
11
|
+
writeValue(obj: string): void | Promise<void>;
|
|
12
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<InputTextareaComponent, never>;
|
|
13
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<InputTextareaComponent, "input-textarea", never, { "configuration": { "alias": "configuration"; "required": false; "isSignal": true; }; }, {}, never, never, false, never>;
|
|
14
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
export declare enum InputType {
|
|
2
|
+
Bool = "Bool",
|
|
3
|
+
Cep = "Cep",
|
|
4
|
+
Color = "Color",
|
|
5
|
+
CpfCnpj = "CpfCnpj",
|
|
6
|
+
Cpf = "Cpf",
|
|
7
|
+
Cnpj = "Cnpj",
|
|
8
|
+
Date = "Date",
|
|
9
|
+
DateTime = "DateTime",
|
|
10
|
+
Time = "Time",
|
|
11
|
+
Decimal = "Decimal",
|
|
12
|
+
Currency = "Currency",
|
|
13
|
+
Number = "Number",
|
|
14
|
+
File = "File",
|
|
15
|
+
Icon = "Icon",
|
|
16
|
+
Select = "Select",
|
|
17
|
+
String = "String",
|
|
18
|
+
TelefoneCelular = "TelefoneCelular",
|
|
19
|
+
Telefone = "Telefone",
|
|
20
|
+
Celular = "Celular",
|
|
21
|
+
TextArea = "TextArea"
|
|
22
|
+
}
|
|
@@ -0,0 +1,25 @@
|
|
|
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 TelefoneError: ControlError;
|
|
14
|
+
static TelefoneValidator(control: AbstractControl): ControlError | null;
|
|
15
|
+
static readonly CelularError: ControlError;
|
|
16
|
+
static CelularValidator(control: AbstractControl): ControlError | null;
|
|
17
|
+
static readonly TelefoneCelularError: ControlError;
|
|
18
|
+
static TelefoneCelularValidator(control: AbstractControl): ControlError | null;
|
|
19
|
+
static readonly PositiveNonZeroNumberError: ControlError;
|
|
20
|
+
static PositiveNonZeroNumberValidator(fieldName: string): (control: AbstractControl) => ControlError | null;
|
|
21
|
+
static readonly PositiveNumberError: ControlError;
|
|
22
|
+
static PositiveNumberValidator(fieldName: string): (control: AbstractControl) => ControlError | null;
|
|
23
|
+
static readonly ValueBetweenError: ControlError;
|
|
24
|
+
static ValueBetweenValidator(min: number, max: number, fieldName: string, equalMin?: boolean, equalMax?: boolean): (control: AbstractControl) => ControlError | null;
|
|
25
|
+
}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "./input-bool/input-bool.component";
|
|
3
|
+
import * as i2 from "./input-cep/input-cep.component";
|
|
4
|
+
import * as i3 from "./input-color/input-color.component";
|
|
5
|
+
import * as i4 from "./input-cpf-cnpj/input-cpf-cnpj.component";
|
|
6
|
+
import * as i5 from "./input-date/input-date.component";
|
|
7
|
+
import * as i6 from "./input-decimal/input-decimal.component";
|
|
8
|
+
import * as i7 from "./input-file/input-file.component";
|
|
9
|
+
import * as i8 from "./input-icon/input-icon.component";
|
|
10
|
+
import * as i9 from "./input-select/input-select.component";
|
|
11
|
+
import * as i10 from "./input-select/directives/sion-label-template.directive";
|
|
12
|
+
import * as i11 from "./input-select/directives/sion-option-template.directive";
|
|
13
|
+
import * as i12 from "./input-select/directives/sion-placeholder-template.directive";
|
|
14
|
+
import * as i13 from "./input-string/input-string.component";
|
|
15
|
+
import * as i14 from "./input-telefone/input-telefone.component";
|
|
16
|
+
import * as i15 from "./input-textarea/input-textarea.component";
|
|
17
|
+
import * as i16 from "./input-file/download-button/download-button.component";
|
|
18
|
+
import * as i17 from "@ionic/angular";
|
|
19
|
+
import * as i18 from "@angular/common";
|
|
20
|
+
import * as i19 from "@angular/forms";
|
|
21
|
+
import * as i20 from "../image/image.component";
|
|
22
|
+
import * as i21 from "@maskito/angular";
|
|
23
|
+
import * as i22 from "../popover/sion-popover.module";
|
|
24
|
+
import * as i23 from "../loading/loading.component";
|
|
25
|
+
import * as i24 from "../../directives/ng-var.directive";
|
|
26
|
+
import * as i25 from "@angular/cdk/overlay";
|
|
27
|
+
import * as i26 from "@angular/material/datepicker";
|
|
28
|
+
import * as i27 from "@angular/material/card";
|
|
29
|
+
export declare class InputsModule {
|
|
30
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<InputsModule, never>;
|
|
31
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<InputsModule, [typeof i1.InputBoolComponent, typeof i2.InputCepComponent, typeof i3.InputColorComponent, typeof i4.InputCpfCnpjComponent, typeof i5.InputDateComponent, typeof i6.InputDecimalComponent, typeof i7.InputFileComponent, typeof i8.InputIconComponent, typeof i9.InputSelectComponent, typeof i10.SIonLabelTemplateDirective, typeof i11.SIonOptionTemplateDirective, typeof i12.SIonPlaceholderTemplateDirective, typeof i13.InputStringComponent, typeof i14.InputTelefoneComponent, typeof i15.InputTextareaComponent, typeof i16.DownloadButtonComponent], [typeof i17.IonicModule, typeof i18.CommonModule, typeof i19.ReactiveFormsModule, typeof i19.FormsModule, typeof i20.ImageComponent, typeof i21.MaskitoDirective, typeof i22.SIonPopoverModule, typeof i23.LoadingComponent, typeof i24.NgVarDirective, typeof i25.OverlayModule, typeof i26.MatDatepickerModule, typeof i27.MatCardModule], [typeof i1.InputBoolComponent, typeof i2.InputCepComponent, typeof i3.InputColorComponent, typeof i4.InputCpfCnpjComponent, typeof i5.InputDateComponent, typeof i6.InputDecimalComponent, typeof i7.InputFileComponent, typeof i8.InputIconComponent, typeof i9.InputSelectComponent, typeof i10.SIonLabelTemplateDirective, typeof i11.SIonOptionTemplateDirective, typeof i12.SIonPlaceholderTemplateDirective, typeof i13.InputStringComponent, typeof i14.InputTelefoneComponent, typeof i15.InputTextareaComponent, typeof i16.DownloadButtonComponent]>;
|
|
32
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<InputsModule>;
|
|
33
|
+
}
|
|
@@ -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,29 @@
|
|
|
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/generic.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
|
+
loginContainer: HTMLElement;
|
|
26
|
+
Login($event?: KeyboardEvent): Promise<void>;
|
|
27
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DefaultLoginComponent, never>;
|
|
28
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<DefaultLoginComponent, "login", never, {}, { "OnLogin": "OnLogin"; }, never, ["[slot=logo]", "[slot=end]"], true, never>;
|
|
29
|
+
}
|
|
@@ -0,0 +1,27 @@
|
|
|
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
|
+
backdrop: string;
|
|
8
|
+
shadowColor: string;
|
|
9
|
+
colapsed: boolean;
|
|
10
|
+
drawerComponent: DrawerComponent;
|
|
11
|
+
constructor(authService: AuthService);
|
|
12
|
+
Token: any;
|
|
13
|
+
ngOnInit(): Promise<void>;
|
|
14
|
+
Theme: Theme;
|
|
15
|
+
SetTheme(theme: Theme): Promise<void>;
|
|
16
|
+
get fullScreen(): boolean;
|
|
17
|
+
FullScreenConteiner: any;
|
|
18
|
+
FullScreen(): void;
|
|
19
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<MainContentComponent, never>;
|
|
20
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<MainContentComponent, "main-content", never, { "backdrop": { "alias": "backdrop"; "required": false; }; "shadowColor": { "alias": "shadowColor"; "required": false; }; "colapsed": { "alias": "colapsed"; "required": false; }; "drawerComponent": { "alias": "drawerComponent"; "required": false; }; }, {}, never, ["[slot=start]", "[slot=end]", "[slot=user-popover]", "*"], true, never>;
|
|
21
|
+
}
|
|
22
|
+
declare enum Theme {
|
|
23
|
+
System = 0,
|
|
24
|
+
Light = 1,
|
|
25
|
+
Dark = 2
|
|
26
|
+
}
|
|
27
|
+
export {};
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
import { AfterViewInit, ElementRef, EventEmitter, NgZone, OnDestroy, ViewRef } from '@angular/core';
|
|
2
|
+
import { ComputePositionReturn, Placement } from '@floating-ui/dom';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
type Fill = 'solid' | 'outline' | 'blur' | 'clear';
|
|
5
|
+
export declare class SIonPopoverComponent implements AfterViewInit, OnDestroy {
|
|
6
|
+
private ngZone;
|
|
7
|
+
fill: Fill;
|
|
8
|
+
arrow: boolean;
|
|
9
|
+
flip: boolean;
|
|
10
|
+
placement: Placement;
|
|
11
|
+
height: string;
|
|
12
|
+
width: string;
|
|
13
|
+
onWillPresent: EventEmitter<void>;
|
|
14
|
+
onDidPresent: EventEmitter<void>;
|
|
15
|
+
onWillDismiss: EventEmitter<void>;
|
|
16
|
+
onDidDismiss: EventEmitter<void>;
|
|
17
|
+
anchor: HTMLElement | undefined;
|
|
18
|
+
constructor(ngZone: NgZone);
|
|
19
|
+
contentContainer: ElementRef<HTMLDivElement>;
|
|
20
|
+
ngAfterViewInit(): void;
|
|
21
|
+
documentClickListener: (event: MouseEvent) => void;
|
|
22
|
+
viewRef?: ViewRef;
|
|
23
|
+
private _embeddedView?;
|
|
24
|
+
private get _instance();
|
|
25
|
+
get arrowEl(): HTMLElement | undefined;
|
|
26
|
+
private cleanupAutoUpdate?;
|
|
27
|
+
state: POPOVER_STATE;
|
|
28
|
+
present(event?: Event): Promise<void>;
|
|
29
|
+
private update;
|
|
30
|
+
dismiss(): Promise<void>;
|
|
31
|
+
HandleComputePositionReturn(computePositionReturn: ComputePositionReturn, arrowEl: HTMLElement): void;
|
|
32
|
+
ngOnDestroy(): void;
|
|
33
|
+
GetComputePositionReturn(refEl: HTMLElement, popEl: HTMLElement, arrowEl: HTMLElement): Promise<ComputePositionReturn>;
|
|
34
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SIonPopoverComponent, never>;
|
|
35
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SIonPopoverComponent, "sion-popover", never, { "fill": { "alias": "fill"; "required": false; }; "arrow": { "alias": "arrow"; "required": false; }; "flip": { "alias": "flip"; "required": false; }; "placement": { "alias": "placement"; "required": false; }; "height": { "alias": "height"; "required": false; }; "width": { "alias": "width"; "required": false; }; "anchor": { "alias": "anchor"; "required": false; }; }, { "onWillPresent": "onWillPresent"; "onDidPresent": "onDidPresent"; "onWillDismiss": "onWillDismiss"; "onDidDismiss": "onDidDismiss"; }, never, ["*"], false, never>;
|
|
36
|
+
}
|
|
37
|
+
declare enum POPOVER_STATE {
|
|
38
|
+
IDLE = 1,
|
|
39
|
+
PRESENTING = 2,
|
|
40
|
+
DISMISSING = 3,
|
|
41
|
+
VISIBLE = 4
|
|
42
|
+
}
|
|
43
|
+
export {};
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "./sion-popover/sion-popover.component";
|
|
3
|
+
import * as i2 from "@angular/common";
|
|
4
|
+
import * as i3 from "@angular/cdk/overlay";
|
|
5
|
+
export declare class SIonPopoverModule {
|
|
6
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SIonPopoverModule, never>;
|
|
7
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<SIonPopoverModule, [typeof i1.SIonPopoverComponent], [typeof i2.CommonModule, typeof i3.OverlayModule], [typeof i1.SIonPopoverComponent]>;
|
|
8
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<SIonPopoverModule>;
|
|
9
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { OnInit } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class SionCardComponent implements OnInit {
|
|
4
|
+
background: string;
|
|
5
|
+
backdrop: string;
|
|
6
|
+
justify: string;
|
|
7
|
+
constructor();
|
|
8
|
+
ngOnInit(): void;
|
|
9
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SionCardComponent, never>;
|
|
10
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SionCardComponent, "sion-card", never, { "background": { "alias": "background"; "required": false; }; "backdrop": { "alias": "backdrop"; "required": false; }; "justify": { "alias": "justify"; "required": false; }; }, {}, never, ["[slot=header]", "*"], true, never>;
|
|
11
|
+
}
|
|
@@ -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,14 @@
|
|
|
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
|
+
setFocus(event: MouseEvent): void;
|
|
7
|
+
constructor();
|
|
8
|
+
ngAfterContentInit(): void;
|
|
9
|
+
lstSteps: QueryList<StepComponent>;
|
|
10
|
+
writeValue(obj: string): void | Promise<void>;
|
|
11
|
+
SetValue(obj: any): void;
|
|
12
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<StepperComponent, never>;
|
|
13
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<StepperComponent, "stepper", never, {}, {}, ["lstSteps"], ["step"], false, never>;
|
|
14
|
+
}
|
|
@@ -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,16 @@
|
|
|
1
|
+
import { InjectionToken, ModuleWithProviders } from '@angular/core';
|
|
2
|
+
import { Environment } from './classes/environment';
|
|
3
|
+
import { ModalFocusTrapService } from './services/modal-focus-trap.service';
|
|
4
|
+
import { PopoverFocusTrapService } from './services/popover-focus-trap.service';
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
import * as i1 from "@angular/common";
|
|
7
|
+
export declare const EnvironmentInjectionToken: InjectionToken<Environment>;
|
|
8
|
+
export declare class SapphireIonFrameworkModule {
|
|
9
|
+
private mis;
|
|
10
|
+
private pos;
|
|
11
|
+
constructor(mis: ModalFocusTrapService, pos: PopoverFocusTrapService);
|
|
12
|
+
static forRoot(config: Environment): ModuleWithProviders<SapphireIonFrameworkModule>;
|
|
13
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SapphireIonFrameworkModule, never>;
|
|
14
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<SapphireIonFrameworkModule, never, [typeof i1.CommonModule], never>;
|
|
15
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<SapphireIonFrameworkModule>;
|
|
16
|
+
}
|
|
@@ -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/generic.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
|
+
}
|