@sapphire-ion/framework 1.2.62 → 1.3.1
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/build.ps1 +39 -0
- package/ng-package.json +10 -0
- package/package.json +43 -47
- package/src/lib/classes/comparison/comparison-operator.ts +17 -0
- package/src/lib/classes/comparison/comparison-value-type.ts +34 -0
- package/src/lib/classes/comparison/comparison.ts +45 -0
- package/src/lib/classes/comparison/properties/bool-property.ts +16 -0
- package/src/lib/classes/comparison/properties/date-property.ts +28 -0
- package/src/lib/classes/comparison/properties/datetime-property.ts +28 -0
- package/src/lib/classes/comparison/properties/decimal-property.ts +28 -0
- package/src/lib/classes/comparison/properties/enum-property.ts +28 -0
- package/src/lib/classes/comparison/properties/implicit-property.ts +13 -0
- package/src/lib/classes/comparison/properties/int-property.ts +28 -0
- package/src/lib/classes/comparison/properties/long-property.ts +28 -0
- package/src/lib/classes/comparison/properties/string-property.ts +16 -0
- package/src/lib/classes/comparison/properties/time-property.ts +28 -0
- package/{lib/classes/credentials.d.ts → src/lib/classes/credentials.ts} +5 -5
- package/src/lib/classes/environment.ts +37 -0
- package/src/lib/classes/filters/view-filtros.ts +18 -0
- package/src/lib/classes/infinite-scroll.ts +112 -0
- package/src/lib/classes/inputs/table-field-form-builder.ts +12 -0
- package/src/lib/classes/inputs/table-field.ts +62 -0
- package/src/lib/classes/page-option.ts +8 -0
- package/src/lib/classes/routes/default-routing-factory.ts +24 -0
- package/src/lib/classes/routes/id-preloader-configuration.ts +21 -0
- package/src/lib/classes/routes/route-data.ts +9 -0
- package/src/lib/components/carousel/carousel-image/carousel-image.component.html +4 -0
- package/src/lib/components/carousel/carousel-image/carousel-image.component.ts +15 -0
- package/src/lib/components/carousel/carousel-item/carousel-item.component.html +3 -0
- package/src/lib/components/carousel/carousel-item/carousel-item.component.ts +14 -0
- package/src/lib/components/carousel/carousel.component.html +22 -0
- package/src/lib/components/carousel/carousel.component.ts +83 -0
- package/src/lib/components/carousel/carousel.module.ts +20 -0
- package/src/lib/components/carousel/i-carousel-item.component.ts +8 -0
- package/src/lib/components/content-block/content-block.component.html +6 -0
- package/src/lib/components/content-block/content-block.component.ts +25 -0
- package/src/lib/components/default/default-list/abstract-list.ts +56 -0
- package/src/lib/components/default/default-list/default-list.component.html +60 -0
- package/src/lib/components/default/default-list/default-list.component.ts +72 -0
- package/src/lib/components/default/default-list/header-list/header-list.component.html +32 -0
- package/src/lib/components/default/default-list/header-list/header-list.component.ts +85 -0
- package/src/lib/components/default/default-list/list.ts +127 -0
- package/src/lib/components/default/default-pagination/default-pagination.component.html +52 -0
- package/src/lib/components/default/default-pagination/default-pagination.component.ts +118 -0
- package/src/lib/components/default/default-table/default-table.component.html +104 -0
- package/src/lib/components/default/default-table/default-table.component.ts +255 -0
- package/src/lib/components/default/default-table/th-filter/th-filter.component.html +69 -0
- package/src/lib/components/default/default-table/th-filter/th-filter.component.ts +205 -0
- package/src/lib/components/default/default-view/abstract-view.ts +25 -0
- package/src/lib/components/default/default-view/default-view.component.html +111 -0
- package/src/lib/components/default/default-view/default-view.component.ts +56 -0
- package/src/lib/components/default/default-view/header-view/header-view.component.html +64 -0
- package/src/lib/components/default/default-view/header-view/header-view.component.ts +62 -0
- package/src/lib/components/default/default-view/view.ts +195 -0
- package/src/lib/components/default/default.module.ts +61 -0
- package/src/lib/components/default-page/default.page.html +63 -0
- package/src/lib/components/default-page/default.page.ts +84 -0
- package/src/lib/components/drag-drop-file/drag-drop-file.directive.ts +44 -0
- package/src/lib/components/drag-drop-file/drag-drop-file.module.ts +21 -0
- package/src/lib/components/drag-drop-file/drag-drop-overlay/drag-drop-overlay.component.html +5 -0
- package/src/lib/components/drag-drop-file/drag-drop-overlay/drag-drop-overlay.component.ts +17 -0
- package/src/lib/components/drawer/default-drawer-end/default-drawer-end.component.html +12 -0
- package/src/lib/components/drawer/default-drawer-end/default-drawer-end.component.ts +35 -0
- package/src/lib/components/drawer/drawer-group/drawer-group.component.html +79 -0
- package/src/lib/components/drawer/drawer-group/drawer-group.component.ts +49 -0
- package/src/lib/components/drawer/drawer.component.html +120 -0
- package/src/lib/components/drawer/drawer.component.ts +157 -0
- package/src/lib/components/drawer/menu.ts +20 -0
- package/src/lib/components/filter/filter.component.html +43 -0
- package/src/lib/components/filter/filter.component.ts +141 -0
- package/src/lib/components/http-responses-pages/forbidden-403/forbidden-403.component.html +35 -0
- package/src/lib/components/http-responses-pages/forbidden-403/forbidden-403.component.ts +19 -0
- package/src/lib/components/image/image.component.html +17 -0
- package/src/lib/components/image/image.component.ts +95 -0
- package/src/lib/components/info-popover/info-popover.component.html +23 -0
- package/src/lib/components/info-popover/info-popover.component.ts +75 -0
- package/src/lib/components/inputs/custom-input.ts +94 -0
- package/src/lib/components/inputs/input-bool/input-bool.component.html +26 -0
- package/src/lib/components/inputs/input-bool/input-bool.component.ts +39 -0
- package/src/lib/components/inputs/input-bool/input-bool.configuration.ts +14 -0
- package/src/lib/components/inputs/input-cep/input-cep.component.html +27 -0
- package/src/lib/components/inputs/input-cep/input-cep.component.ts +41 -0
- package/src/lib/components/inputs/input-cep/input-cep.configuration.ts +4 -0
- package/src/lib/components/inputs/input-color/input-color.component.html +79 -0
- package/src/lib/components/inputs/input-color/input-color.component.ts +544 -0
- package/{lib/components/inputs/input-configuration.d.ts → src/lib/components/inputs/input-configuration.ts} +23 -10
- package/src/lib/components/inputs/input-cpf-cnpj/input-cpf-cnpj.component.html +28 -0
- package/src/lib/components/inputs/input-cpf-cnpj/input-cpf-cnpj.component.ts +99 -0
- package/src/lib/components/inputs/input-cpf-cnpj/input-cpf-cnpj.configuration.ts +4 -0
- package/src/lib/components/inputs/input-date/input-date.component.html +89 -0
- package/src/lib/components/inputs/input-date/input-date.component.ts +269 -0
- package/src/lib/components/inputs/input-date/input-date.configuration.ts +8 -0
- package/src/lib/components/inputs/input-decimal/input-decimal.component.html +32 -0
- package/src/lib/components/inputs/input-decimal/input-decimal.component.ts +283 -0
- package/src/lib/components/inputs/input-decimal/input-decimal.configuration.ts +47 -0
- package/src/lib/components/inputs/input-default-configurations.ts +15 -0
- package/src/lib/components/inputs/input-file/download-button/download-button.component.html +56 -0
- package/src/lib/components/inputs/input-file/download-button/download-button.component.ts +91 -0
- package/src/lib/components/inputs/input-file/input-file.component.html +56 -0
- package/src/lib/components/inputs/input-file/input-file.component.ts +97 -0
- package/src/lib/components/inputs/input-file/input-file.configuration.ts +25 -0
- package/src/lib/components/inputs/input-icon/fluenticons.ts +3733 -0
- package/src/lib/components/inputs/input-icon/input-icon.component.html +8 -0
- package/src/lib/components/inputs/input-icon/input-icon.component.ts +52 -0
- package/src/lib/components/inputs/input-icon/ionicons.ts +1359 -0
- package/src/lib/components/inputs/input-provider-factory.ts +12 -0
- package/src/lib/components/inputs/input-select/directives/sion-label-template.directive.ts +19 -0
- package/src/lib/components/inputs/input-select/directives/sion-option-template.directive.ts +16 -0
- package/src/lib/components/inputs/input-select/directives/sion-placeholder-template.directive.ts +19 -0
- package/src/lib/components/inputs/input-select/input-select.component.html +176 -0
- package/src/lib/components/inputs/input-select/input-select.component.ts +366 -0
- package/src/lib/components/inputs/input-select/input.select.configuration.ts +300 -0
- package/src/lib/components/inputs/input-string/input-string.component.html +27 -0
- package/src/lib/components/inputs/input-string/input-string.component.ts +31 -0
- package/src/lib/components/inputs/input-string/input-string.configuration.ts +20 -0
- package/src/lib/components/inputs/input-telefone/input-telefone.component.html +29 -0
- package/src/lib/components/inputs/input-telefone/input-telefone.component.ts +63 -0
- package/src/lib/components/inputs/input-telefone/input-telefone.configuration.ts +8 -0
- package/src/lib/components/inputs/input-textarea/input-textarea.component.html +27 -0
- package/src/lib/components/inputs/input-textarea/input-textarea.component.ts +75 -0
- package/src/lib/components/inputs/input-textarea/input-textarea.configuration.ts +7 -0
- package/src/lib/components/inputs/input-type.ts +22 -0
- package/src/lib/components/inputs/input-validators.ts +111 -0
- package/src/lib/components/inputs/inputs.module.ts +74 -0
- package/src/lib/components/loading/loading.component.html +28 -0
- package/src/lib/components/loading/loading.component.ts +29 -0
- package/src/lib/components/login/login-admin/login-admin.component.html +28 -0
- package/src/lib/components/login/login-admin/login-admin.component.ts +51 -0
- package/src/lib/components/login/login.component.html +104 -0
- package/src/lib/components/login/login.component.ts +96 -0
- package/src/lib/components/main-content/main-content.component.html +145 -0
- package/src/lib/components/main-content/main-content.component.ts +93 -0
- package/src/lib/components/popover/sion-popover/sion-popover.component.html +21 -0
- package/src/lib/components/popover/sion-popover/sion-popover.component.ts +182 -0
- package/src/lib/components/popover/sion-popover.module.ts +12 -0
- package/src/lib/components/sion-card/sion-card.component.html +12 -0
- package/src/lib/components/sion-card/sion-card.component.ts +23 -0
- package/src/lib/components/stepper/step/step.component.html +11 -0
- package/src/lib/components/stepper/step/step.component.ts +44 -0
- package/src/lib/components/stepper/stepper.component.html +3 -0
- package/src/lib/components/stepper/stepper.component.ts +37 -0
- package/src/lib/components/stepper/stepper.module.ts +15 -0
- package/src/lib/components/tabs/tab/tab.component.html +8 -0
- package/src/lib/components/tabs/tab/tab.component.ts +28 -0
- package/src/lib/components/tabs/tabs/tabs.component.html +14 -0
- package/src/lib/components/tabs/tabs/tabs.component.ts +42 -0
- package/src/lib/components/tabs/tabs.module.ts +15 -0
- package/src/lib/components/text-tooltip/text-tooltip.component.html +8 -0
- package/src/lib/components/text-tooltip/text-tooltip.component.scss +0 -0
- package/src/lib/components/text-tooltip/text-tooltip.component.ts +45 -0
- package/src/lib/components/tooltip/tooltip.component.html +53 -0
- package/src/lib/components/tooltip/tooltip.component.ts +16 -0
- package/src/lib/core.module.ts +29 -0
- package/src/lib/directives/ng-var.directive.ts +26 -0
- package/src/lib/guards/auth.guard.ts +19 -0
- package/src/lib/guards/error.interceptor.ts +108 -0
- package/src/lib/guards/token.interceptor.ts +28 -0
- package/src/lib/index.ts +191 -0
- package/src/lib/pipes/secure.pipe.ts +39 -0
- package/src/lib/services/auth.service.ts +150 -0
- package/src/lib/services/crypto.service.ts +164 -0
- package/src/lib/services/environment.service.ts +17 -0
- package/src/lib/services/generic.service.ts +85 -0
- package/src/lib/services/modal-focus-trap.service.ts +65 -0
- package/src/lib/services/navigation-context.service.ts +121 -0
- package/src/lib/services/popover-focus-trap.service.ts +65 -0
- package/src/lib/services/route/route.cache.service.ts +17 -0
- package/src/lib/services/route/route.provider.service.ts +49 -0
- package/src/lib/services/usuario.service.ts +44 -0
- package/src/lib/services/utils.service.ts +216 -0
- package/src/lib/services/web/api-url-provider.service.ts +48 -0
- package/src/lib/services/web/http.ativo.service.ts +37 -0
- package/src/lib/services/web/http.service.ts +206 -0
- package/src/lib/services/web/storage.service.ts +210 -0
- package/src/public-api.ts +5 -0
- package/tailwind.config.js +27 -0
- package/tsconfig.lib.json +29 -0
- package/tsconfig.lib.prod.json +23 -0
- package/tsconfig.spec.json +27 -0
- package/esm2022/lib/classes/comparison/comparison-operator.mjs +0 -18
- package/esm2022/lib/classes/comparison/comparison-value-type.mjs +0 -25
- package/esm2022/lib/classes/comparison/comparison.mjs +0 -41
- package/esm2022/lib/classes/comparison/properties/bool-property.mjs +0 -15
- package/esm2022/lib/classes/comparison/properties/date-property.mjs +0 -27
- package/esm2022/lib/classes/comparison/properties/datetime-property.mjs +0 -27
- package/esm2022/lib/classes/comparison/properties/decimal-property.mjs +0 -27
- package/esm2022/lib/classes/comparison/properties/enum-property.mjs +0 -27
- package/esm2022/lib/classes/comparison/properties/implicit-property.mjs +0 -12
- package/esm2022/lib/classes/comparison/properties/int-property.mjs +0 -27
- package/esm2022/lib/classes/comparison/properties/long-property.mjs +0 -27
- package/esm2022/lib/classes/comparison/properties/string-property.mjs +0 -15
- package/esm2022/lib/classes/comparison/properties/time-property.mjs +0 -27
- package/esm2022/lib/classes/credentials.mjs +0 -2
- package/esm2022/lib/classes/environment.mjs +0 -34
- package/esm2022/lib/classes/filters/view-filtros.mjs +0 -18
- package/esm2022/lib/classes/infinite-scroll.mjs +0 -90
- package/esm2022/lib/classes/inputs/table-field-form-builder.mjs +0 -10
- package/esm2022/lib/classes/inputs/table-field.mjs +0 -79
- package/esm2022/lib/classes/page-option.mjs +0 -2
- package/esm2022/lib/classes/routes/default-routing-factory.mjs +0 -23
- package/esm2022/lib/classes/routes/id-preloader-configuration.mjs +0 -22
- package/esm2022/lib/classes/routes/route-data.mjs +0 -9
- package/esm2022/lib/components/carousel/carousel-image/carousel-image.component.mjs +0 -18
- package/esm2022/lib/components/carousel/carousel-item/carousel-item.component.mjs +0 -15
- package/esm2022/lib/components/carousel/carousel.component.mjs +0 -79
- package/esm2022/lib/components/carousel/carousel.module.mjs +0 -31
- package/esm2022/lib/components/carousel/i-carousel-item.component.mjs +0 -16
- package/esm2022/lib/components/content-block/content-block.component.mjs +0 -27
- package/esm2022/lib/components/default/default-list/abstract-list.mjs +0 -49
- package/esm2022/lib/components/default/default-list/default-list.component.mjs +0 -95
- package/esm2022/lib/components/default/default-list/header-list/header-list.component.mjs +0 -98
- package/esm2022/lib/components/default/default-list/list.mjs +0 -120
- package/esm2022/lib/components/default/default-pagination/default-pagination.component.mjs +0 -123
- package/esm2022/lib/components/default/default-table/default-table.component.mjs +0 -216
- package/esm2022/lib/components/default/default-table/th-filter/th-filter.component.mjs +0 -212
- package/esm2022/lib/components/default/default-view/abstract-view.mjs +0 -22
- package/esm2022/lib/components/default/default-view/default-view.component.mjs +0 -76
- package/esm2022/lib/components/default/default-view/header-view/header-view.component.mjs +0 -78
- package/esm2022/lib/components/default/default-view/view.mjs +0 -198
- package/esm2022/lib/components/default/default.module.mjs +0 -98
- package/esm2022/lib/components/default-page/default.page.mjs +0 -75
- package/esm2022/lib/components/drag-drop-file/drag-drop-file.directive.mjs +0 -60
- package/esm2022/lib/components/drag-drop-file/drag-drop-file.module.mjs +0 -31
- package/esm2022/lib/components/drag-drop-file/drag-drop-overlay/drag-drop-overlay.component.mjs +0 -15
- package/esm2022/lib/components/drawer/default-drawer-end/default-drawer-end.component.mjs +0 -34
- package/esm2022/lib/components/drawer/drawer-group/drawer-group.component.mjs +0 -52
- package/esm2022/lib/components/drawer/drawer.component.mjs +0 -156
- package/esm2022/lib/components/drawer/menu.mjs +0 -15
- package/esm2022/lib/components/filter/filter.component.mjs +0 -145
- package/esm2022/lib/components/http-responses-pages/forbidden-403/forbidden-403.component.mjs +0 -17
- package/esm2022/lib/components/image/image.component.mjs +0 -91
- package/esm2022/lib/components/info-popover/info-popover.component.mjs +0 -91
- package/esm2022/lib/components/inputs/custom-input.mjs +0 -85
- package/esm2022/lib/components/inputs/input-bool/input-bool.component.mjs +0 -46
- package/esm2022/lib/components/inputs/input-bool/input-bool.configuration.mjs +0 -16
- package/esm2022/lib/components/inputs/input-cep/input-cep.component.mjs +0 -50
- package/esm2022/lib/components/inputs/input-cep/input-cep.configuration.mjs +0 -4
- package/esm2022/lib/components/inputs/input-color/input-color.component.mjs +0 -481
- package/esm2022/lib/components/inputs/input-configuration.mjs +0 -2
- package/esm2022/lib/components/inputs/input-cpf-cnpj/input-cpf-cnpj.component.mjs +0 -116
- package/esm2022/lib/components/inputs/input-cpf-cnpj/input-cpf-cnpj.configuration.mjs +0 -6
- package/esm2022/lib/components/inputs/input-date/input-date.component.mjs +0 -263
- package/esm2022/lib/components/inputs/input-date/input-date.configuration.mjs +0 -11
- package/esm2022/lib/components/inputs/input-decimal/input-decimal.component.mjs +0 -276
- package/esm2022/lib/components/inputs/input-decimal/input-decimal.configuration.mjs +0 -50
- package/esm2022/lib/components/inputs/input-default-configurations.mjs +0 -14
- package/esm2022/lib/components/inputs/input-file/download-button/download-button.component.mjs +0 -102
- package/esm2022/lib/components/inputs/input-file/input-file.component.mjs +0 -100
- package/esm2022/lib/components/inputs/input-file/input-file.configuration.mjs +0 -24
- package/esm2022/lib/components/inputs/input-icon/fluenticons.mjs +0 -3734
- package/esm2022/lib/components/inputs/input-icon/input-icon.component.mjs +0 -60
- package/esm2022/lib/components/inputs/input-icon/ionicons.mjs +0 -1360
- package/esm2022/lib/components/inputs/input-provider-factory.mjs +0 -12
- package/esm2022/lib/components/inputs/input-select/directives/sion-label-template.directive.mjs +0 -16
- package/esm2022/lib/components/inputs/input-select/directives/sion-option-template.directive.mjs +0 -16
- package/esm2022/lib/components/inputs/input-select/directives/sion-placeholder-template.directive.mjs +0 -16
- package/esm2022/lib/components/inputs/input-select/input-select.component.mjs +0 -376
- package/esm2022/lib/components/inputs/input-select/input.select.configuration.mjs +0 -233
- package/esm2022/lib/components/inputs/input-string/input-string.component.mjs +0 -41
- package/esm2022/lib/components/inputs/input-string/input-string.configuration.mjs +0 -20
- package/esm2022/lib/components/inputs/input-telefone/input-telefone.component.mjs +0 -74
- package/esm2022/lib/components/inputs/input-telefone/input-telefone.configuration.mjs +0 -12
- package/esm2022/lib/components/inputs/input-textarea/input-textarea.component.mjs +0 -82
- package/esm2022/lib/components/inputs/input-textarea/input-textarea.configuration.mjs +0 -7
- package/esm2022/lib/components/inputs/input-type.mjs +0 -24
- package/esm2022/lib/components/inputs/input-validators.mjs +0 -121
- package/esm2022/lib/components/inputs/inputs.module.mjs +0 -133
- package/esm2022/lib/components/loading/loading.component.mjs +0 -34
- package/esm2022/lib/components/login/login-admin/login-admin.component.mjs +0 -52
- package/esm2022/lib/components/login/login.component.mjs +0 -99
- package/esm2022/lib/components/main-content/main-content.component.mjs +0 -100
- package/esm2022/lib/components/popover/sion-popover/sion-popover.component.mjs +0 -182
- package/esm2022/lib/components/popover/sion-popover.module.mjs +0 -21
- package/esm2022/lib/components/sion-card/sion-card.component.mjs +0 -26
- package/esm2022/lib/components/stepper/step/step.component.mjs +0 -43
- package/esm2022/lib/components/stepper/stepper.component.mjs +0 -36
- package/esm2022/lib/components/stepper/stepper.module.mjs +0 -25
- package/esm2022/lib/components/tabs/tab/tab.component.mjs +0 -41
- package/esm2022/lib/components/tabs/tabs/tabs.component.mjs +0 -56
- package/esm2022/lib/components/tabs/tabs.module.mjs +0 -22
- package/esm2022/lib/components/text-tooltip/text-tooltip.component.mjs +0 -51
- package/esm2022/lib/components/tooltip/tooltip.component.mjs +0 -21
- package/esm2022/lib/core.module.mjs +0 -38
- package/esm2022/lib/directives/ng-var.directive.mjs +0 -29
- package/esm2022/lib/guards/auth.guard.mjs +0 -26
- package/esm2022/lib/guards/error.interceptor.mjs +0 -107
- package/esm2022/lib/guards/token.interceptor.mjs +0 -25
- package/esm2022/lib/index.mjs +0 -188
- package/esm2022/lib/pipes/secure.pipe.mjs +0 -42
- package/esm2022/lib/services/auth.service.mjs +0 -146
- package/esm2022/lib/services/environment.service.mjs +0 -26
- package/esm2022/lib/services/generic.service.mjs +0 -84
- package/esm2022/lib/services/modal-focus-trap.service.mjs +0 -62
- package/esm2022/lib/services/navigation-context.service.mjs +0 -112
- package/esm2022/lib/services/popover-focus-trap.service.mjs +0 -62
- package/esm2022/lib/services/route/route.cache.service.mjs +0 -15
- package/esm2022/lib/services/route/route.provider.service.mjs +0 -42
- package/esm2022/lib/services/usuario.service.mjs +0 -49
- package/esm2022/lib/services/utils.service.mjs +0 -190
- package/esm2022/lib/services/web/api-url-provider.service.mjs +0 -29
- package/esm2022/lib/services/web/http.ativo.service.mjs +0 -37
- package/esm2022/lib/services/web/http.service.mjs +0 -183
- package/esm2022/lib/services/web/storage.service.mjs +0 -186
- package/esm2022/public-api.mjs +0 -5
- package/esm2022/sapphire-ion-framework.mjs +0 -5
- package/fesm2022/sapphire-ion-framework.mjs +0 -12488
- package/fesm2022/sapphire-ion-framework.mjs.map +0 -1
- package/index.d.ts +0 -5
- package/lib/classes/comparison/comparison-operator.d.ts +0 -9
- package/lib/classes/comparison/comparison-value-type.d.ts +0 -23
- package/lib/classes/comparison/comparison.d.ts +0 -25
- package/lib/classes/comparison/properties/bool-property.d.ts +0 -7
- package/lib/classes/comparison/properties/date-property.d.ts +0 -11
- package/lib/classes/comparison/properties/datetime-property.d.ts +0 -11
- package/lib/classes/comparison/properties/decimal-property.d.ts +0 -11
- package/lib/classes/comparison/properties/enum-property.d.ts +0 -11
- package/lib/classes/comparison/properties/implicit-property.d.ts +0 -6
- package/lib/classes/comparison/properties/int-property.d.ts +0 -11
- package/lib/classes/comparison/properties/long-property.d.ts +0 -11
- package/lib/classes/comparison/properties/string-property.d.ts +0 -7
- package/lib/classes/comparison/properties/time-property.d.ts +0 -11
- package/lib/classes/environment.d.ts +0 -14
- package/lib/classes/filters/view-filtros.d.ts +0 -10
- package/lib/classes/infinite-scroll.d.ts +0 -26
- package/lib/classes/inputs/table-field-form-builder.d.ts +0 -5
- package/lib/classes/inputs/table-field.d.ts +0 -20
- package/lib/classes/page-option.d.ts +0 -7
- package/lib/classes/routes/default-routing-factory.d.ts +0 -8
- package/lib/classes/routes/id-preloader-configuration.d.ts +0 -28
- package/lib/classes/routes/route-data.d.ts +0 -5
- package/lib/components/carousel/carousel-image/carousel-image.component.d.ts +0 -10
- package/lib/components/carousel/carousel-item/carousel-item.component.d.ts +0 -9
- package/lib/components/carousel/carousel.component.d.ts +0 -32
- package/lib/components/carousel/carousel.module.d.ts +0 -12
- package/lib/components/carousel/i-carousel-item.component.d.ts +0 -9
- package/lib/components/content-block/content-block.component.d.ts +0 -15
- package/lib/components/default/default-list/abstract-list.d.ts +0 -21
- package/lib/components/default/default-list/default-list.component.d.ts +0 -47
- package/lib/components/default/default-list/header-list/header-list.component.d.ts +0 -45
- package/lib/components/default/default-list/list.d.ts +0 -40
- package/lib/components/default/default-pagination/default-pagination.component.d.ts +0 -36
- package/lib/components/default/default-table/default-table.component.d.ts +0 -90
- package/lib/components/default/default-table/th-filter/th-filter.component.d.ts +0 -23
- package/lib/components/default/default-view/abstract-view.d.ts +0 -18
- package/lib/components/default/default-view/default-view.component.d.ts +0 -40
- package/lib/components/default/default-view/header-view/header-view.component.d.ts +0 -36
- package/lib/components/default/default-view/view.d.ts +0 -67
- package/lib/components/default/default.module.d.ts +0 -31
- package/lib/components/default-page/default.page.d.ts +0 -35
- package/lib/components/drag-drop-file/drag-drop-file.directive.d.ts +0 -14
- package/lib/components/drag-drop-file/drag-drop-file.module.d.ts +0 -10
- package/lib/components/drag-drop-file/drag-drop-overlay/drag-drop-overlay.component.d.ts +0 -9
- package/lib/components/drawer/default-drawer-end/default-drawer-end.component.d.ts +0 -13
- package/lib/components/drawer/drawer-group/drawer-group.component.d.ts +0 -22
- package/lib/components/drawer/drawer.component.d.ts +0 -31
- package/lib/components/drawer/menu.d.ts +0 -9
- package/lib/components/filter/filter.component.d.ts +0 -29
- package/lib/components/http-responses-pages/forbidden-403/forbidden-403.component.d.ts +0 -8
- package/lib/components/image/image.component.d.ts +0 -23
- package/lib/components/info-popover/info-popover.component.d.ts +0 -15
- package/lib/components/inputs/custom-input.d.ts +0 -40
- package/lib/components/inputs/input-bool/input-bool.component.d.ts +0 -16
- package/lib/components/inputs/input-bool/input-bool.configuration.d.ts +0 -17
- package/lib/components/inputs/input-cep/input-cep.component.d.ts +0 -18
- package/lib/components/inputs/input-cep/input-cep.configuration.d.ts +0 -3
- package/lib/components/inputs/input-color/input-color.component.d.ts +0 -77
- package/lib/components/inputs/input-cpf-cnpj/input-cpf-cnpj.component.d.ts +0 -19
- package/lib/components/inputs/input-cpf-cnpj/input-cpf-cnpj.configuration.d.ts +0 -5
- package/lib/components/inputs/input-date/input-date.component.d.ts +0 -61
- package/lib/components/inputs/input-date/input-date.configuration.d.ts +0 -11
- package/lib/components/inputs/input-decimal/input-decimal.component.d.ts +0 -27
- package/lib/components/inputs/input-decimal/input-decimal.configuration.d.ts +0 -28
- package/lib/components/inputs/input-default-configurations.d.ts +0 -13
- package/lib/components/inputs/input-file/download-button/download-button.component.d.ts +0 -40
- package/lib/components/inputs/input-file/input-file.component.d.ts +0 -28
- package/lib/components/inputs/input-file/input-file.configuration.d.ts +0 -8
- package/lib/components/inputs/input-icon/fluenticons.d.ts +0 -1
- package/lib/components/inputs/input-icon/input-icon.component.d.ts +0 -20
- package/lib/components/inputs/input-icon/ionicons.d.ts +0 -1
- package/lib/components/inputs/input-provider-factory.d.ts +0 -4
- package/lib/components/inputs/input-select/directives/sion-label-template.directive.d.ts +0 -18
- package/lib/components/inputs/input-select/directives/sion-option-template.directive.d.ts +0 -14
- package/lib/components/inputs/input-select/directives/sion-placeholder-template.directive.d.ts +0 -18
- package/lib/components/inputs/input-select/input-select.component.d.ts +0 -83
- package/lib/components/inputs/input-select/input.select.configuration.d.ts +0 -127
- package/lib/components/inputs/input-string/input-string.component.d.ts +0 -14
- package/lib/components/inputs/input-string/input-string.configuration.d.ts +0 -15
- package/lib/components/inputs/input-telefone/input-telefone.component.d.ts +0 -19
- package/lib/components/inputs/input-telefone/input-telefone.configuration.d.ts +0 -9
- package/lib/components/inputs/input-textarea/input-textarea.component.d.ts +0 -17
- package/lib/components/inputs/input-textarea/input-textarea.configuration.d.ts +0 -4
- package/lib/components/inputs/input-type.d.ts +0 -22
- package/lib/components/inputs/input-validators.d.ts +0 -25
- package/lib/components/inputs/inputs.module.d.ts +0 -33
- package/lib/components/loading/loading.component.d.ts +0 -18
- package/lib/components/login/login-admin/login-admin.component.d.ts +0 -20
- package/lib/components/login/login.component.d.ts +0 -29
- package/lib/components/main-content/main-content.component.d.ts +0 -27
- package/lib/components/popover/sion-popover/sion-popover.component.d.ts +0 -43
- package/lib/components/popover/sion-popover.module.d.ts +0 -9
- package/lib/components/sion-card/sion-card.component.d.ts +0 -11
- package/lib/components/stepper/step/step.component.d.ts +0 -15
- package/lib/components/stepper/stepper.component.d.ts +0 -14
- package/lib/components/stepper/stepper.module.d.ts +0 -10
- package/lib/components/tabs/tab/tab.component.d.ts +0 -19
- package/lib/components/tabs/tabs/tabs.component.d.ts +0 -18
- package/lib/components/tabs/tabs.module.d.ts +0 -12
- package/lib/components/text-tooltip/text-tooltip.component.d.ts +0 -16
- package/lib/components/tooltip/tooltip.component.d.ts +0 -7
- package/lib/core.module.d.ts +0 -16
- package/lib/directives/ng-var.directive.d.ts +0 -12
- package/lib/guards/auth.guard.d.ts +0 -11
- package/lib/guards/error.interceptor.d.ts +0 -32
- package/lib/guards/token.interceptor.d.ts +0 -11
- package/lib/index.d.ts +0 -118
- package/lib/pipes/secure.pipe.d.ts +0 -15
- package/lib/services/auth.service.d.ts +0 -47
- package/lib/services/environment.service.d.ts +0 -10
- package/lib/services/generic.service.d.ts +0 -22
- package/lib/services/modal-focus-trap.service.d.ts +0 -13
- package/lib/services/navigation-context.service.d.ts +0 -14
- package/lib/services/popover-focus-trap.service.d.ts +0 -13
- package/lib/services/route/route.cache.service.d.ts +0 -7
- package/lib/services/route/route.provider.service.d.ts +0 -13
- package/lib/services/usuario.service.d.ts +0 -21
- package/lib/services/utils.service.d.ts +0 -53
- package/lib/services/web/api-url-provider.service.d.ts +0 -13
- package/lib/services/web/http.ativo.service.d.ts +0 -20
- package/lib/services/web/http.service.d.ts +0 -59
- package/lib/services/web/storage.service.d.ts +0 -46
- package/public-api.d.ts +0 -1
- /package/{themes → src/lib}/compiled-styles.scss +0 -0
- /package/{themes → src/lib}/components/carousel/carousel-image/carousel-image.component.scss +0 -0
- /package/{themes → src/lib}/components/carousel/carousel-item/carousel-item.component.scss +0 -0
- /package/{themes → src/lib}/components/carousel/carousel.component.scss +0 -0
- /package/{themes → src/lib}/components/content-block/content-block.component.scss +0 -0
- /package/{themes → src/lib}/components/default/default-list/default-list.component.scss +0 -0
- /package/{themes → src/lib}/components/default/default-list/header-list/header-list.component.scss +0 -0
- /package/{themes → src/lib}/components/default/default-pagination/default-pagination.component.scss +0 -0
- /package/{themes → src/lib}/components/default/default-table/default-table.component.scss +0 -0
- /package/{themes → src/lib}/components/default/default-table/th-filter/th-filter.component.scss +0 -0
- /package/{themes → src/lib}/components/default/default-view/default-view.component.scss +0 -0
- /package/{themes → src/lib}/components/default/default-view/header-view/header-view.component.scss +0 -0
- /package/{themes → src/lib}/components/default-page/default.page.scss +0 -0
- /package/{themes → src/lib}/components/drag-drop-file/drag-drop-overlay/drag-drop-overlay.component.scss +0 -0
- /package/{themes → src/lib}/components/drawer/default-drawer-end/default-drawer-end.component.scss +0 -0
- /package/{themes → src/lib}/components/drawer/drawer-group/drawer-group.component.scss +0 -0
- /package/{themes → src/lib}/components/drawer/drawer.component.scss +0 -0
- /package/{themes → src/lib}/components/filter/filter.component.scss +0 -0
- /package/{themes → src/lib}/components/http-responses-pages/forbidden-403/forbidden-403.component.scss +0 -0
- /package/{themes → src/lib}/components/image/image.component.scss +0 -0
- /package/{themes → src/lib}/components/info-popover/info-popover.component.scss +0 -0
- /package/{themes → src/lib}/components/inputs/input-bool/input-bool.component.scss +0 -0
- /package/{themes → src/lib}/components/inputs/input-cep/input-cep.component.scss +0 -0
- /package/{themes → src/lib}/components/inputs/input-color/input-color.component.scss +0 -0
- /package/{themes/components/inputs/input-cpf-cnpj/input-cpf-cnpj.component.scss → src/lib/components/inputs/input-color/input-color.configuration.ts} +0 -0
- /package/{themes/components/inputs/input-icon/input-icon.component.scss → src/lib/components/inputs/input-cpf-cnpj/input-cpf-cnpj.component.scss} +0 -0
- /package/{themes → src/lib}/components/inputs/input-date/input-date.component.scss +0 -0
- /package/{themes → src/lib}/components/inputs/input-decimal/input-decimal.component.scss +0 -0
- /package/{themes → src/lib}/components/inputs/input-file/download-button/download-button.component.scss +0 -0
- /package/{themes → src/lib}/components/inputs/input-file/input-file.component.scss +0 -0
- /package/{themes/components/inputs/input-string/input-string.component.scss → src/lib/components/inputs/input-icon/input-icon.component.scss} +0 -0
- /package/{themes → src/lib}/components/inputs/input-select/input-select.component.scss +0 -0
- /package/{themes/components/inputs/input-telefone/input-telefone.component.scss → src/lib/components/inputs/input-string/input-string.component.scss} +0 -0
- /package/{themes/components/loading/loading.component.scss → src/lib/components/inputs/input-telefone/input-telefone.component.scss} +0 -0
- /package/{themes → src/lib}/components/inputs/input-textarea/input-textarea.component.scss +0 -0
- /package/{themes → src/lib}/components/inputs/inputs.scss +0 -0
- /package/{themes/components/sion-card/sion-card.component.scss → src/lib/components/loading/loading.component.scss} +0 -0
- /package/{themes → src/lib}/components/login/login-admin/login-admin.component.scss +0 -0
- /package/{themes → src/lib}/components/login/login.component.scss +0 -0
- /package/{themes → src/lib}/components/main-content/main-content.component.scss +0 -0
- /package/{themes → src/lib}/components/popover/sion-popover/sion-popover.component.scss +0 -0
- /package/{themes/components/stepper/stepper.component.scss → src/lib/components/sion-card/sion-card.component.scss} +0 -0
- /package/{themes → src/lib}/components/stepper/step/step.component.scss +0 -0
- /package/{themes/components/tabs/tab/tab.component.scss → src/lib/components/stepper/stepper.component.scss} +0 -0
- /package/{themes/components/text-tooltip/text-tooltip.component.scss → src/lib/components/tabs/tab/tab.component.scss} +0 -0
- /package/{themes → src/lib}/components/tabs/tabs/tabs.component.scss +0 -0
- /package/{themes → src/lib}/components/tooltip/tooltip.component.scss +0 -0
- /package/{themes → src/lib}/styles/components.scss +0 -0
- /package/{themes → src/lib}/styles/core.styles.scss +0 -0
- /package/{themes → src/lib}/styles/ionic/ion-action-sheet.scss +0 -0
- /package/{themes → src/lib}/styles/ionic/ion-alert.scss +0 -0
- /package/{themes → src/lib}/styles/ionic/ion-button.scss +0 -0
- /package/{themes → src/lib}/styles/ionic/ion-card.scss +0 -0
- /package/{themes → src/lib}/styles/ionic/ion-content.scss +0 -0
- /package/{themes → src/lib}/styles/ionic/ion-datetime.scss +0 -0
- /package/{themes → src/lib}/styles/ionic/ion-item.scss +0 -0
- /package/{themes → src/lib}/styles/ionic/ion-list.scss +0 -0
- /package/{themes → src/lib}/styles/ionic/ion-modal.scss +0 -0
- /package/{themes → src/lib}/styles/ionic/ion-popover.scss +0 -0
- /package/{themes → src/lib}/styles/ionic/ion-progress-bar.scss +0 -0
- /package/{themes → src/lib}/styles/ionic/ion-searchbar.scss +0 -0
- /package/{themes → src/lib}/styles/ionic/ion-toast.scss +0 -0
- /package/{themes → src/lib}/styles/ionic.scss +0 -0
- /package/{themes → src/lib}/styles/login-default.scss +0 -0
- /package/{themes → src/lib}/styles/mixins.scss +0 -0
- /package/{themes → src/lib}/styles/styles.scss +0 -0
- /package/{themes → src/lib}/styles/translucid.scss +0 -0
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import { ElementRef, InputSignal } from '@angular/core';
|
|
2
|
-
import { MaskitoOptions } from '@maskito/core';
|
|
3
|
-
import { CustomInput } from '../custom-input';
|
|
4
|
-
import { InputCepConfiguration } from './input-cep.configuration';
|
|
5
|
-
import * as i0 from "@angular/core";
|
|
6
|
-
export declare class InputCepComponent extends CustomInput<string> {
|
|
7
|
-
protected elementRef: ElementRef<HTMLInputElement>;
|
|
8
|
-
configuration: InputSignal<InputCepConfiguration>;
|
|
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
|
-
readonly mask: MaskitoOptions;
|
|
15
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<InputCepComponent, never>;
|
|
16
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<InputCepComponent, "input-cep", never, { "configuration": { "alias": "configuration"; "required": false; "isSignal": true; }; }, {}, never, never, false, never>;
|
|
17
|
-
}
|
|
18
|
-
export declare function FormatCep(value: string): string;
|
|
@@ -1,77 +0,0 @@
|
|
|
1
|
-
import { ElementRef } from '@angular/core';
|
|
2
|
-
import { CustomInput } from '../custom-input';
|
|
3
|
-
import { GenericService } from '../../../services/generic.service';
|
|
4
|
-
import { SIonPopoverComponent } from '../../popover/sion-popover/sion-popover.component';
|
|
5
|
-
import { MaskitoOptions } from '@maskito/core';
|
|
6
|
-
import * as i0 from "@angular/core";
|
|
7
|
-
type RGB = {
|
|
8
|
-
r: number;
|
|
9
|
-
g: number;
|
|
10
|
-
b: number;
|
|
11
|
-
};
|
|
12
|
-
type HSL = {
|
|
13
|
-
h: number;
|
|
14
|
-
l: number;
|
|
15
|
-
s: number;
|
|
16
|
-
};
|
|
17
|
-
export declare class InputColorComponent extends CustomInput<string> {
|
|
18
|
-
private genericService;
|
|
19
|
-
input: ElementRef<HTMLInputElement>;
|
|
20
|
-
inputContainer: ElementRef<HTMLDivElement>;
|
|
21
|
-
setFocus(event: MouseEvent | null): void;
|
|
22
|
-
constructor(genericService: GenericService);
|
|
23
|
-
popover: SIonPopoverComponent;
|
|
24
|
-
rgbColor: RGB;
|
|
25
|
-
hslColor: HSL;
|
|
26
|
-
alpha: number;
|
|
27
|
-
writeValue(obj: string): void | Promise<void>;
|
|
28
|
-
SetValue(value: string): void;
|
|
29
|
-
rendering: boolean;
|
|
30
|
-
Present(event: MouseEvent): Promise<void>;
|
|
31
|
-
indicatorX: number;
|
|
32
|
-
indicatorY: number;
|
|
33
|
-
gradient: ElementRef<HTMLCanvasElement>;
|
|
34
|
-
private isGradientDragging;
|
|
35
|
-
private gradientCtx;
|
|
36
|
-
private gradientWidth;
|
|
37
|
-
private gradientHeight;
|
|
38
|
-
InitializeGradient(): void;
|
|
39
|
-
StartGradientDrag(e: MouseEvent): void;
|
|
40
|
-
GradientDrag(e: MouseEvent): void;
|
|
41
|
-
EndGradientDrag(): void;
|
|
42
|
-
HandleGradientTouch(e: TouchEvent): void;
|
|
43
|
-
HandleColorSelection(x: number, y: number): void;
|
|
44
|
-
UpdateSelectedColor(saturation?: number | null, lightness?: number | null, emitChanges?: boolean): void;
|
|
45
|
-
hueSlider: ElementRef<HTMLCanvasElement>;
|
|
46
|
-
private isHueDragging;
|
|
47
|
-
private hueCtx;
|
|
48
|
-
private hueSliderWidth;
|
|
49
|
-
private hueSliderHeight;
|
|
50
|
-
InitializeHueSlider(): void;
|
|
51
|
-
StartHueDrag(e: MouseEvent): void;
|
|
52
|
-
HueDrag(e: MouseEvent): void;
|
|
53
|
-
EndHueDrag(): void;
|
|
54
|
-
HandleHueTouch(e: TouchEvent): void;
|
|
55
|
-
HandleHueSelection(x: number): void;
|
|
56
|
-
alphaSlider: ElementRef<HTMLCanvasElement>;
|
|
57
|
-
private isAlphaDragging;
|
|
58
|
-
private alphaCtx;
|
|
59
|
-
private alphaSliderWidth;
|
|
60
|
-
private alphaSliderHeight;
|
|
61
|
-
InitializeAlphaSlider(): void;
|
|
62
|
-
StartAlphaDrag(e: MouseEvent): void;
|
|
63
|
-
AlphaDrag(e: MouseEvent): void;
|
|
64
|
-
EndAlphaDrag(): void;
|
|
65
|
-
HandleAlphaTouch(e: TouchEvent): void;
|
|
66
|
-
HandleAlphaSelection(x: number): void;
|
|
67
|
-
SetColorFromHex(hexColor: string, updateCanvas?: boolean, emitChanges?: boolean): void;
|
|
68
|
-
DrawColorGradient(): void;
|
|
69
|
-
DrawHueSlider(): void;
|
|
70
|
-
DrawAlphaSlider(): void;
|
|
71
|
-
CopyToClipboard(): Promise<void>;
|
|
72
|
-
UpdateIndicatorPositions(): void;
|
|
73
|
-
HEXMask: MaskitoOptions;
|
|
74
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<InputColorComponent, never>;
|
|
75
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<InputColorComponent, "input-color", never, {}, {}, never, never, false, never>;
|
|
76
|
-
}
|
|
77
|
-
export {};
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
import { ElementRef, ModelSignal } from '@angular/core';
|
|
2
|
-
import { MaskitoOptions } from '@maskito/core';
|
|
3
|
-
import { CustomInput } from '../custom-input';
|
|
4
|
-
import { InputCpfCnpjConfiguration } from './input-cpf-cnpj.configuration';
|
|
5
|
-
import * as i0 from "@angular/core";
|
|
6
|
-
export declare class InputCpfCnpjComponent extends CustomInput<string> {
|
|
7
|
-
protected elementRef: ElementRef<HTMLInputElement>;
|
|
8
|
-
configuration: ModelSignal<InputCpfCnpjConfiguration>;
|
|
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<InputCpfCnpjComponent, never>;
|
|
17
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<InputCpfCnpjComponent, "input-cpf-cnpj, input-cpf, input-cnpj", never, { "configuration": { "alias": "configuration"; "required": false; "isSignal": true; }; }, { "configuration": "configurationChange"; }, never, never, false, never>;
|
|
18
|
-
}
|
|
19
|
-
export declare function FormatCpfCnpj(value: string): string;
|
|
@@ -1,61 +0,0 @@
|
|
|
1
|
-
import { ElementRef, InputSignal, Signal, WritableSignal } from '@angular/core';
|
|
2
|
-
import { MaskitoOptions } from '@maskito/core';
|
|
3
|
-
import moment from 'moment';
|
|
4
|
-
import { InputDateConfiguration } from './input-date.configuration';
|
|
5
|
-
import { CustomInput } from '../custom-input';
|
|
6
|
-
import { IonDatetime, IonModal } from '@ionic/angular';
|
|
7
|
-
import { SIonPopoverComponent } from '../../popover/sion-popover/sion-popover.component';
|
|
8
|
-
import { MatCalendar } from '@angular/material/datepicker';
|
|
9
|
-
import * as i0 from "@angular/core";
|
|
10
|
-
export declare class InputDateComponent extends CustomInput<string> {
|
|
11
|
-
elementRef: ElementRef;
|
|
12
|
-
static FormatISO: string;
|
|
13
|
-
configuration: InputSignal<InputDateConfiguration>;
|
|
14
|
-
input: ElementRef<HTMLInputElement>;
|
|
15
|
-
inputContainer: ElementRef<HTMLDivElement>;
|
|
16
|
-
setFocus(event: MouseEvent | null): void;
|
|
17
|
-
options: MaskitoOptions;
|
|
18
|
-
momentFormat: 'DD/MM/YYYY HH:mm' | 'DD/MM/YYYY' | 'HH:mm';
|
|
19
|
-
windowSize: WritableSignal<number>;
|
|
20
|
-
onResize(event: any): void;
|
|
21
|
-
interface: Signal<DateInterfaces>;
|
|
22
|
-
DateInterfaces: typeof DateInterfaces;
|
|
23
|
-
constructor(elementRef: ElementRef);
|
|
24
|
-
onKeyDown(event: KeyboardEvent): void;
|
|
25
|
-
ClearValue(event?: MouseEvent): void;
|
|
26
|
-
presentation: DatePresentation;
|
|
27
|
-
readableValue: string;
|
|
28
|
-
SetValueFromReadable(value: string): void;
|
|
29
|
-
SetValueFromMoment(value: moment.Moment | null): void;
|
|
30
|
-
calendar: MatCalendar<moment.Moment>;
|
|
31
|
-
/**
|
|
32
|
-
* @param obj String in ISO format (YYYY-MM-DDThh:mm:ss)
|
|
33
|
-
*/
|
|
34
|
-
SetValue(obj: string): void;
|
|
35
|
-
momentValue?: moment.Moment;
|
|
36
|
-
datetime: IonDatetime;
|
|
37
|
-
writeValue(obj?: string): void | Promise<void>;
|
|
38
|
-
popover: SIonPopoverComponent;
|
|
39
|
-
modal: IonModal;
|
|
40
|
-
Present(event: MouseEvent): Promise<void>;
|
|
41
|
-
Dismiss(): Promise<void>;
|
|
42
|
-
DatePresentation: typeof DatePresentation;
|
|
43
|
-
lstHours: string[];
|
|
44
|
-
lstMinutes: string[];
|
|
45
|
-
hour: string;
|
|
46
|
-
minute: string;
|
|
47
|
-
OnChangeHour(event: string): void;
|
|
48
|
-
OnChangeMinute(event: string): void;
|
|
49
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<InputDateComponent, never>;
|
|
50
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<InputDateComponent, "input-date, input-date-time, input-time", never, { "configuration": { "alias": "configuration"; "required": false; "isSignal": true; }; }, {}, never, never, false, never>;
|
|
51
|
-
}
|
|
52
|
-
declare enum DatePresentation {
|
|
53
|
-
DateTime = 1,
|
|
54
|
-
Date = 2,
|
|
55
|
-
Time = 3
|
|
56
|
-
}
|
|
57
|
-
declare enum DateInterfaces {
|
|
58
|
-
Popover = 1,
|
|
59
|
-
Modal = 2
|
|
60
|
-
}
|
|
61
|
-
export {};
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
export declare class InputDateConfiguration {
|
|
2
|
-
/** Habilita o botão de limpar os dados */
|
|
3
|
-
clearable: boolean;
|
|
4
|
-
/** Caso o Input for DateTime, pode inserir o parametro para setar hora do momento atual */
|
|
5
|
-
setHourMoment: boolean;
|
|
6
|
-
constructor(
|
|
7
|
-
/** Habilita o botão de limpar os dados */
|
|
8
|
-
clearable?: boolean,
|
|
9
|
-
/** Caso o Input for DateTime, pode inserir o parametro para setar hora do momento atual */
|
|
10
|
-
setHourMoment?: boolean);
|
|
11
|
-
}
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
import { ElementRef, ModelSignal, Signal } from '@angular/core';
|
|
2
|
-
import { InputDecimalConfiguration } from './input-decimal.configuration';
|
|
3
|
-
import { CustomInput } from '../custom-input';
|
|
4
|
-
import * as i0 from "@angular/core";
|
|
5
|
-
export declare class InputDecimalComponent extends CustomInput<number | null> {
|
|
6
|
-
elementRef: ElementRef;
|
|
7
|
-
configuration: ModelSignal<InputDecimalConfiguration>;
|
|
8
|
-
digitsInfo: Signal<string>;
|
|
9
|
-
divider: Signal<number>;
|
|
10
|
-
placeholder: Signal<string>;
|
|
11
|
-
input: ElementRef<HTMLInputElement>;
|
|
12
|
-
inputContainer: ElementRef<HTMLDivElement>;
|
|
13
|
-
setFocus(event: MouseEvent | null): void;
|
|
14
|
-
constructor(elementRef: ElementRef);
|
|
15
|
-
writeValue(obj: number | null): void;
|
|
16
|
-
SetValue(obj: number | null): void;
|
|
17
|
-
SetValueString(): void;
|
|
18
|
-
valueString: string;
|
|
19
|
-
onPaste(event: ClipboardEvent): void;
|
|
20
|
-
onKeyDown(event: KeyboardEvent): Promise<void>;
|
|
21
|
-
HandleNegative(event: KeyboardEvent, selectionStart: number, selectionEnd: number, value: string, atLeft: string, atRight: string): Promise<void>;
|
|
22
|
-
HandleNumber(event: KeyboardEvent, selectionStart: number, selectionEnd: number, value: string, atLeft: string, atRight: string): Promise<void>;
|
|
23
|
-
SanitizeValue(f: string): number;
|
|
24
|
-
HandleEspecial(event: KeyboardEvent, selectionStart: number, selectionEnd: number, value: string, atLeft: string, atRight: string): Promise<void>;
|
|
25
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<InputDecimalComponent, never>;
|
|
26
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<InputDecimalComponent, "input-decimal, input-number, input-currency, input-percentage", never, { "configuration": { "alias": "configuration"; "required": false; "isSignal": true; }; }, { "configuration": "configurationChange"; }, never, never, false, never>;
|
|
27
|
-
}
|
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
export declare class InputDecimalConfiguration {
|
|
2
|
-
/** Declara a quantidade de numeros apos o ponto */
|
|
3
|
-
precision: number;
|
|
4
|
-
/** Se = false não aplica virgulas no lugar do separador a cada 3 unidades */
|
|
5
|
-
thousandSeparator: string;
|
|
6
|
-
decimalSeparator: string;
|
|
7
|
-
prefix: string;
|
|
8
|
-
sufix: string;
|
|
9
|
-
placeholder: string;
|
|
10
|
-
constructor(
|
|
11
|
-
/** Declara a quantidade de numeros apos o ponto */
|
|
12
|
-
precision?: number,
|
|
13
|
-
/** Texto no inicio do input */
|
|
14
|
-
prefix?: string | null,
|
|
15
|
-
/** Texto no fim do input */
|
|
16
|
-
sufix?: string | null,
|
|
17
|
-
/** Se = false não aplica virgulas no lugar do separador a cada 3 unidades */
|
|
18
|
-
thousandSeparator?: string, decimalSeparator?: string);
|
|
19
|
-
}
|
|
20
|
-
export declare class InputNumberConfiguration extends InputDecimalConfiguration {
|
|
21
|
-
constructor(prefix?: string, sufix?: string, thousandSeparator?: string);
|
|
22
|
-
}
|
|
23
|
-
export declare class InputCurrencyConfiguration extends InputDecimalConfiguration {
|
|
24
|
-
constructor(prefix?: string, sufix?: string, thousandSeparator?: string);
|
|
25
|
-
}
|
|
26
|
-
export declare class InputPercentageConfiguration extends InputDecimalConfiguration {
|
|
27
|
-
constructor(prefix?: string, sufix?: string, thousandSeparator?: string);
|
|
28
|
-
}
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { InputDecimalConfiguration, InputNumberConfiguration } from "./input-decimal/input-decimal.configuration";
|
|
2
|
-
export declare class InputsDefaultConfigurations {
|
|
3
|
-
static readonly configurationDecimalPercentage: InputDecimalConfiguration;
|
|
4
|
-
static readonly configurationDecimalDegree: InputDecimalConfiguration;
|
|
5
|
-
static readonly configurationDecimalM3H: InputDecimalConfiguration;
|
|
6
|
-
static readonly configurationDecimalMeters: InputDecimalConfiguration;
|
|
7
|
-
static readonly configurationDecimalMilimeters: InputDecimalConfiguration;
|
|
8
|
-
static readonly configurationNumberPercentage: InputNumberConfiguration;
|
|
9
|
-
static readonly configurationNumberDegree: InputNumberConfiguration;
|
|
10
|
-
static readonly configurationNumberM3H: InputNumberConfiguration;
|
|
11
|
-
static readonly configurationNumberMeters: InputNumberConfiguration;
|
|
12
|
-
static readonly configurationNumberMilimeters: InputNumberConfiguration;
|
|
13
|
-
}
|
|
@@ -1,40 +0,0 @@
|
|
|
1
|
-
import { ElementRef, ModelSignal, Signal } from '@angular/core';
|
|
2
|
-
import { ControlValueAccessor } from '@angular/forms';
|
|
3
|
-
import { InputFileConfiguration } from '../input-file.configuration';
|
|
4
|
-
import { ApiUrlProviderService } from '../../../../services/web/api-url-provider.service';
|
|
5
|
-
import { StorageService } from '../../../../services/web/storage.service';
|
|
6
|
-
import * as i0 from "@angular/core";
|
|
7
|
-
export declare class DownloadButtonComponent implements ControlValueAccessor {
|
|
8
|
-
storageService: StorageService;
|
|
9
|
-
private elementRef;
|
|
10
|
-
private apiUrlProviderService;
|
|
11
|
-
expand: string;
|
|
12
|
-
value: ModelSignal<string>;
|
|
13
|
-
size: string;
|
|
14
|
-
color: string;
|
|
15
|
-
params: any;
|
|
16
|
-
disabled: boolean;
|
|
17
|
-
post: boolean;
|
|
18
|
-
configuration: InputFileConfiguration;
|
|
19
|
-
customLabel: boolean;
|
|
20
|
-
label: string;
|
|
21
|
-
fileName: string;
|
|
22
|
-
constructor(storageService: StorageService, elementRef: ElementRef, apiUrlProviderService: ApiUrlProviderService);
|
|
23
|
-
registerOnChange(fn: any): void;
|
|
24
|
-
registerOnTouched(fn: any): void;
|
|
25
|
-
setDisabledState?(isDisabled: boolean): void;
|
|
26
|
-
guid: string;
|
|
27
|
-
apiUrl: string;
|
|
28
|
-
ngOnInit(): void;
|
|
29
|
-
lstFiles: Signal<string[]>;
|
|
30
|
-
writeValue(value: string): void;
|
|
31
|
-
Download(value: string): void;
|
|
32
|
-
Sanitize(v: any): string;
|
|
33
|
-
ExtensionIsImage(v: any): boolean;
|
|
34
|
-
lstLoading: string[];
|
|
35
|
-
SetLoading(path: string): void;
|
|
36
|
-
SetNotLoading(path: string): void;
|
|
37
|
-
isLoading(path: string): boolean;
|
|
38
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<DownloadButtonComponent, never>;
|
|
39
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<DownloadButtonComponent, "download-button", never, { "expand": { "alias": "expand"; "required": false; }; "value": { "alias": "value"; "required": false; "isSignal": true; }; "size": { "alias": "size"; "required": false; }; "color": { "alias": "color"; "required": false; }; "params": { "alias": "params"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "post": { "alias": "post"; "required": false; }; "configuration": { "alias": "configuration"; "required": false; }; "customLabel": { "alias": "customLabel"; "required": false; }; "label": { "alias": "label"; "required": false; }; "fileName": { "alias": "fileName"; "required": false; }; }, { "value": "valueChange"; }, never, never, false, never>;
|
|
40
|
-
}
|
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
import { ElementRef, InputSignal } from '@angular/core';
|
|
2
|
-
import { CustomInput } from '../custom-input';
|
|
3
|
-
import { InputFileConfiguration } from './input-file.configuration';
|
|
4
|
-
import { UtilsService } from '../../../services/utils.service';
|
|
5
|
-
import { StorageService } from '../../../services/web/storage.service';
|
|
6
|
-
import * as i0 from "@angular/core";
|
|
7
|
-
export declare class InputFileComponent extends CustomInput<File | string> {
|
|
8
|
-
private utilsService;
|
|
9
|
-
storageService: StorageService;
|
|
10
|
-
configuration: InputSignal<InputFileConfiguration>;
|
|
11
|
-
inputContainer: ElementRef<HTMLDivElement>;
|
|
12
|
-
setFocus(event: MouseEvent | null): void;
|
|
13
|
-
constructor(utilsService: UtilsService, storageService: StorageService);
|
|
14
|
-
valueString: string;
|
|
15
|
-
isString: boolean;
|
|
16
|
-
isImage: boolean;
|
|
17
|
-
objectURL: string | null;
|
|
18
|
-
writeValue(obj: File | string): void | Promise<void>;
|
|
19
|
-
SetValue(value: File | string): void;
|
|
20
|
-
SetValueString(): void;
|
|
21
|
-
Upload(): Promise<void>;
|
|
22
|
-
'': any;
|
|
23
|
-
Clear(event: MouseEvent): void;
|
|
24
|
-
Download(): void;
|
|
25
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<InputFileComponent, never>;
|
|
26
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<InputFileComponent, "input-file", never, { "configuration": { "alias": "configuration"; "required": false; "isSignal": true; }; }, {}, never, never, false, never>;
|
|
27
|
-
}
|
|
28
|
-
export declare const lstImage: string[];
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const lstFluenticons: string[];
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
import { ElementRef } from '@angular/core';
|
|
2
|
-
import { CustomInput } from '../custom-input';
|
|
3
|
-
import { EnvironmentService } from '../../../services/environment.service';
|
|
4
|
-
import { InputSelectConfiguration } from '../input-select/input.select.configuration';
|
|
5
|
-
import * as i0 from "@angular/core";
|
|
6
|
-
export declare class InputIconComponent extends CustomInput<string> {
|
|
7
|
-
private environmentService;
|
|
8
|
-
lstIcons: {
|
|
9
|
-
name: string;
|
|
10
|
-
}[];
|
|
11
|
-
input: ElementRef<HTMLInputElement>;
|
|
12
|
-
inputContainer: ElementRef<HTMLDivElement>;
|
|
13
|
-
setFocus(event: MouseEvent | null): void;
|
|
14
|
-
config: InputSelectConfiguration;
|
|
15
|
-
constructor(environmentService: EnvironmentService);
|
|
16
|
-
writeValue(obj: string): void | Promise<void>;
|
|
17
|
-
SetValue(obj: string): void;
|
|
18
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<InputIconComponent, never>;
|
|
19
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<InputIconComponent, "input-icon", never, {}, {}, never, never, false, never>;
|
|
20
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const lstIconsIonicons: string[];
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import { TemplateRef } from '@angular/core';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
export declare class SIonLabelTemplateDirective<T> {
|
|
4
|
-
template: TemplateRef<LabelTemplateContext<T>>;
|
|
5
|
-
constructor(template: TemplateRef<LabelTemplateContext<T>>);
|
|
6
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<SIonLabelTemplateDirective<any>, never>;
|
|
7
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<SIonLabelTemplateDirective<any>, "[sionLabelTemplate]", never, {}, {}, never, never, false, never>;
|
|
8
|
-
}
|
|
9
|
-
export interface LabelTemplateContext<T> {
|
|
10
|
-
/**
|
|
11
|
-
* O valor do item via bindLabel que está sendo renderizado.
|
|
12
|
-
*/
|
|
13
|
-
$implicit: string;
|
|
14
|
-
/**
|
|
15
|
-
* O item selecionado no componente de input select.
|
|
16
|
-
*/
|
|
17
|
-
item: T;
|
|
18
|
-
}
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import { TemplateRef } from '@angular/core';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
export declare class SIonOptionTemplateDirective<T> {
|
|
4
|
-
template: TemplateRef<OptionTemplateContext<T>>;
|
|
5
|
-
constructor(template: TemplateRef<OptionTemplateContext<T>>);
|
|
6
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<SIonOptionTemplateDirective<any>, never>;
|
|
7
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<SIonOptionTemplateDirective<any>, "[sionOptionTemplate]", never, {}, {}, never, never, false, never>;
|
|
8
|
-
}
|
|
9
|
-
export interface OptionTemplateContext<T> {
|
|
10
|
-
/**
|
|
11
|
-
* O item naquela opção
|
|
12
|
-
*/
|
|
13
|
-
item: T;
|
|
14
|
-
}
|
package/lib/components/inputs/input-select/directives/sion-placeholder-template.directive.d.ts
DELETED
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import { TemplateRef } from '@angular/core';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
export declare class SIonPlaceholderTemplateDirective {
|
|
4
|
-
template: TemplateRef<PlaceholderTemplateContext>;
|
|
5
|
-
constructor(template: TemplateRef<PlaceholderTemplateContext>);
|
|
6
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<SIonPlaceholderTemplateDirective, never>;
|
|
7
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<SIonPlaceholderTemplateDirective, "[sionPlaceholderTemplate]", never, {}, {}, never, never, false, never>;
|
|
8
|
-
}
|
|
9
|
-
export interface PlaceholderTemplateContext {
|
|
10
|
-
/**
|
|
11
|
-
* Placeholder na configuração do componente de input select.
|
|
12
|
-
*/
|
|
13
|
-
$implicit: string;
|
|
14
|
-
/**
|
|
15
|
-
* Placeholder na configuração do componente de input select.
|
|
16
|
-
*/
|
|
17
|
-
placeholder: string;
|
|
18
|
-
}
|
|
@@ -1,83 +0,0 @@
|
|
|
1
|
-
import { AfterViewInit, ChangeDetectorRef, ElementRef, InputSignal, ModelSignal, Signal, TemplateRef, WritableSignal } from '@angular/core';
|
|
2
|
-
import { FormControl } from '@angular/forms';
|
|
3
|
-
import { ActionSheetButton, AlertButton, AlertInput, InfiniteScrollCustomEvent, IonActionSheet, IonAlert, IonContent, IonModal } from '@ionic/angular';
|
|
4
|
-
import { InputSelectConfiguration, SelectInterfaces } from './input.select.configuration';
|
|
5
|
-
import { SIonPopoverComponent } from '../../popover/sion-popover/sion-popover.component';
|
|
6
|
-
import { CustomInput } from '../custom-input';
|
|
7
|
-
import { PlaceholderTemplateContext } from './directives/sion-placeholder-template.directive';
|
|
8
|
-
import { OptionTemplateContext } from './directives/sion-option-template.directive';
|
|
9
|
-
import { LabelTemplateContext } from './directives/sion-label-template.directive';
|
|
10
|
-
import * as i0 from "@angular/core";
|
|
11
|
-
export declare class InputSelectComponent<T = any> extends CustomInput<T | T[]> implements AfterViewInit {
|
|
12
|
-
private cdr;
|
|
13
|
-
SelectInterfaces: typeof SelectInterfaces;
|
|
14
|
-
/** Items disponíveis no select */
|
|
15
|
-
items: ModelSignal<any[]>;
|
|
16
|
-
/** Configuração do select */
|
|
17
|
-
configuration: InputSignal<InputSelectConfiguration>;
|
|
18
|
-
loadingFromLoader: boolean;
|
|
19
|
-
currentLabel: string | undefined;
|
|
20
|
-
currentItems: any | ItemValue<any>[] | undefined;
|
|
21
|
-
SetCurrentItemLabel(): void;
|
|
22
|
-
lstOptionsItemValue: Signal<ItemValue<any>[]>;
|
|
23
|
-
windowSize: WritableSignal<number>;
|
|
24
|
-
onResize(event: any): void;
|
|
25
|
-
SetInterface(): void;
|
|
26
|
-
interface: WritableSignal<SelectInterfaces>;
|
|
27
|
-
lstOptions: ItemValue<any>[];
|
|
28
|
-
lstOptionsAlert: AlertInput[];
|
|
29
|
-
lstButtonsAlert: AlertButton[];
|
|
30
|
-
lstOptionsActionSheet: ActionSheetButton[];
|
|
31
|
-
infiniteScrollPage: WritableSignal<number>;
|
|
32
|
-
AddPage(event: InfiniteScrollCustomEvent): void;
|
|
33
|
-
UpdateLstOptions(search: string): void;
|
|
34
|
-
UpdateSelected(): void;
|
|
35
|
-
labelTemplate: TemplateRef<LabelTemplateContext<T>>;
|
|
36
|
-
optionTemplate: TemplateRef<OptionTemplateContext<T>>;
|
|
37
|
-
placeholderTemplate: TemplateRef<PlaceholderTemplateContext>;
|
|
38
|
-
inputContainer: ElementRef<HTMLDivElement>;
|
|
39
|
-
inputSelectLabel: ElementRef<HTMLDivElement>;
|
|
40
|
-
setFocus(event: MouseEvent | null): void;
|
|
41
|
-
constructor(cdr: ChangeDetectorRef);
|
|
42
|
-
ngOnInit(): Promise<void>;
|
|
43
|
-
hasAtivo: Signal<boolean>;
|
|
44
|
-
somenteAtivos: WritableSignal<boolean>;
|
|
45
|
-
HandleKeyboardEvent(event: KeyboardEvent): void;
|
|
46
|
-
selectedIndex: number | undefined;
|
|
47
|
-
inputSearchBar: ElementRef<HTMLInputElement>;
|
|
48
|
-
searchBarControl: FormControl;
|
|
49
|
-
searchValue: WritableSignal<string>;
|
|
50
|
-
private searchBarSubscription;
|
|
51
|
-
private destroy$;
|
|
52
|
-
destroyed: boolean;
|
|
53
|
-
ngAfterViewInit(): void;
|
|
54
|
-
ClearSearchBar(): void;
|
|
55
|
-
ngOnDestroy(): void;
|
|
56
|
-
writeValue(obj: T | T[]): void | Promise<void>;
|
|
57
|
-
SetValue(obj: T | T[]): void;
|
|
58
|
-
Clear(event: MouseEvent): void;
|
|
59
|
-
Select(itemValue: ItemValue<T>): void;
|
|
60
|
-
selectContent: ElementRef<HTMLDivElement>;
|
|
61
|
-
popover: SIonPopoverComponent;
|
|
62
|
-
modal: IonModal;
|
|
63
|
-
alert: IonAlert;
|
|
64
|
-
actionSheet: IonActionSheet;
|
|
65
|
-
floatingVisible: boolean;
|
|
66
|
-
renderInterface: boolean;
|
|
67
|
-
ionContent: IonContent;
|
|
68
|
-
Present(event: Event): Promise<void>;
|
|
69
|
-
Dismiss(): Promise<void>;
|
|
70
|
-
OnDismiss(): void;
|
|
71
|
-
OnPresent(): void;
|
|
72
|
-
isArray(obj: any): obj is any[];
|
|
73
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<InputSelectComponent<any>, never>;
|
|
74
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<InputSelectComponent<any>, "input-select", never, { "items": { "alias": "items"; "required": false; "isSignal": true; }; "configuration": { "alias": "configuration"; "required": false; "isSignal": true; }; }, { "items": "itemsChange"; }, ["labelTemplate", "optionTemplate", "placeholderTemplate"], never, false, never>;
|
|
75
|
-
}
|
|
76
|
-
declare class ItemValue<T> {
|
|
77
|
-
label: string;
|
|
78
|
-
value: T;
|
|
79
|
-
selected: boolean;
|
|
80
|
-
item: any;
|
|
81
|
-
disabled: boolean;
|
|
82
|
-
}
|
|
83
|
-
export {};
|
|
@@ -1,127 +0,0 @@
|
|
|
1
|
-
import { Observable } from "rxjs";
|
|
2
|
-
import { HttpService, ViewRetorno } from "../../../services/web/http.service";
|
|
3
|
-
import { HttpServiceAtivo } from "../../../services/web/http.ativo.service";
|
|
4
|
-
import { ViewFiltros } from "../../../classes/filters/view-filtros";
|
|
5
|
-
import { Comparison } from "../../../classes/comparison/comparison";
|
|
6
|
-
import { InputSelectComponent } from "./input-select.component";
|
|
7
|
-
import { Placement } from "@floating-ui/dom";
|
|
8
|
-
export type DefaultModelOptions = {
|
|
9
|
-
value: string;
|
|
10
|
-
label: string;
|
|
11
|
-
};
|
|
12
|
-
export declare enum SelectInterfaces {
|
|
13
|
-
/** Interface padrão do select
|
|
14
|
-
* Popover quando web, Modal quando mobile
|
|
15
|
-
*/
|
|
16
|
-
Dynamic = 0,
|
|
17
|
-
Popover = 0,
|
|
18
|
-
Modal = 1,
|
|
19
|
-
ActionSheet = 2
|
|
20
|
-
}
|
|
21
|
-
export declare class InputSelectConfiguration {
|
|
22
|
-
/** Valor que será setado no formControl */
|
|
23
|
-
bindValue: string | ((obj: any) => any);
|
|
24
|
-
/** Valor que será exibido */
|
|
25
|
-
bindLabel: string | ((obj: any) => string);
|
|
26
|
-
/** Indica se o select pode ser nulo e limpavel */
|
|
27
|
-
clearable: boolean;
|
|
28
|
-
/** Indica se o select pode ser pesquisado */
|
|
29
|
-
searcheable: boolean;
|
|
30
|
-
/**
|
|
31
|
-
* Se LoadFrom instanceof HttpService -> Os dados serão carregados do List()
|
|
32
|
-
* Se LoadFrom instanceof Observable -> Os dados serão carregados da função indicada
|
|
33
|
-
* Se LoadFrom instanceof Array -> Os dados serão o array
|
|
34
|
-
*/
|
|
35
|
-
loadFrom?: HttpService | Observable<ViewRetorno> | any[];
|
|
36
|
-
/** Se = true Os valores no form control seráo um array dos items selecionados */
|
|
37
|
-
multiple: boolean;
|
|
38
|
-
/** Desativa os items que estão de acordo com a função */
|
|
39
|
-
disableConditional: ((obj: any) => boolean) | null;
|
|
40
|
-
/** Habilita o filtro de somente ativos */
|
|
41
|
-
hasAtivo: boolean;
|
|
42
|
-
static Create(options: {
|
|
43
|
-
bindLabel: string | ((obj: any) => string);
|
|
44
|
-
bindValue: string | ((obj: any) => any);
|
|
45
|
-
clearable?: boolean;
|
|
46
|
-
searcheable?: boolean;
|
|
47
|
-
loadFrom?: HttpService | Observable<ViewRetorno> | any[];
|
|
48
|
-
multiple?: boolean;
|
|
49
|
-
vFiltros?: Partial<{
|
|
50
|
-
search: string;
|
|
51
|
-
orderByProperty: string;
|
|
52
|
-
ascending: boolean;
|
|
53
|
-
filter: Comparison[];
|
|
54
|
-
}>;
|
|
55
|
-
disableConditional?: ((obj: any) => boolean);
|
|
56
|
-
useInfiniteScroll?: boolean | undefined;
|
|
57
|
-
placeholder?: string;
|
|
58
|
-
noItensFoundText?: string;
|
|
59
|
-
interface?: SelectInterfaces;
|
|
60
|
-
hasAtivo?: boolean;
|
|
61
|
-
}): InputSelectConfiguration;
|
|
62
|
-
placeholder: string;
|
|
63
|
-
noItensFoundText: string;
|
|
64
|
-
loader: InputSelectDataLoader;
|
|
65
|
-
loadFromArray: any[];
|
|
66
|
-
loadFromService: HttpService | HttpServiceAtivo;
|
|
67
|
-
loadFromFunction: Observable<any>;
|
|
68
|
-
popoverConfiguration: {
|
|
69
|
-
flip: boolean;
|
|
70
|
-
placement: Placement;
|
|
71
|
-
};
|
|
72
|
-
vFiltros: ViewFiltros | null;
|
|
73
|
-
useInfiniteScroll?: boolean | undefined;
|
|
74
|
-
/** Interface do select */
|
|
75
|
-
interface: SelectInterfaces;
|
|
76
|
-
constructor(
|
|
77
|
-
/** Valor que será setado no formControl */
|
|
78
|
-
bindValue?: string | ((obj: any) => any),
|
|
79
|
-
/** Valor que será exibido */
|
|
80
|
-
bindLabel?: string | ((obj: any) => string),
|
|
81
|
-
/** Indica se o select pode ser nulo e limpavel */
|
|
82
|
-
clearable?: boolean,
|
|
83
|
-
/** Indica se o select pode ser pesquisado */
|
|
84
|
-
searcheable?: boolean,
|
|
85
|
-
/**
|
|
86
|
-
* Se LoadFrom instanceof HttpService -> Os dados serão carregados do List()
|
|
87
|
-
* Se LoadFrom instanceof Observable -> Os dados serão carregados da função indicada
|
|
88
|
-
* Se LoadFrom instanceof Array -> Os dados serão o array
|
|
89
|
-
*/
|
|
90
|
-
loadFrom?: HttpService | Observable<ViewRetorno> | any[],
|
|
91
|
-
/** Se = true Os valores no form control seráo um array dos items selecionados */
|
|
92
|
-
multiple?: boolean,
|
|
93
|
-
/** Aplica os filtros na pesquisa */
|
|
94
|
-
vFiltros?: Partial<{
|
|
95
|
-
/** Aplica uma pesquisa em texto */
|
|
96
|
-
search: string;
|
|
97
|
-
/** Propriedade de ordenação */
|
|
98
|
-
orderByProperty: string;
|
|
99
|
-
/** Orientação de ordenação */
|
|
100
|
-
ascending: boolean;
|
|
101
|
-
/** Filtro */
|
|
102
|
-
filter: Comparison[];
|
|
103
|
-
}> | null,
|
|
104
|
-
/** Desativa os items que estão de acordo com a função */
|
|
105
|
-
disableConditional?: ((obj: any) => boolean) | null,
|
|
106
|
-
/** Habilita o filtro de somente ativos */
|
|
107
|
-
hasAtivo?: boolean);
|
|
108
|
-
}
|
|
109
|
-
export declare class InputSelectDataLoader {
|
|
110
|
-
private lstComponents;
|
|
111
|
-
private configuration;
|
|
112
|
-
/** Valor que será setado no formControl */
|
|
113
|
-
bindValue: ((obj: any) => any) | null;
|
|
114
|
-
/** Valor que será exibido */
|
|
115
|
-
bindLabel: ((obj: any) => string) | null;
|
|
116
|
-
constructor(configuration: InputSelectConfiguration);
|
|
117
|
-
AddComponent(component: InputSelectComponent): void;
|
|
118
|
-
GetLabel(value: any): string;
|
|
119
|
-
isLoaded: boolean;
|
|
120
|
-
error: boolean;
|
|
121
|
-
Refresh(items?: any[]): Promise<void>;
|
|
122
|
-
CheckForInfiniteScroll(): void;
|
|
123
|
-
items: any[];
|
|
124
|
-
Load(): Promise<void>;
|
|
125
|
-
}
|
|
126
|
-
export declare function BindValueFactory(configuration: InputSelectConfiguration): ((obj: any) => any);
|
|
127
|
-
export declare function BindLabelFactory(configuration: InputSelectConfiguration): ((obj: any) => string);
|