@gnggln/ng-ui-system 1.0.0-alpha.2 → 1.0.0-alpha.21
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/accordion/entry-accordion.d.ts +4 -0
- package/accordion/index.d.ts +5 -0
- package/accordion/lib/components/accordion/accordion.component.d.ts +125 -0
- package/accordion/lib/components/accordion/accordion.types.d.ts +64 -0
- package/accordion/lib/components/accordion/index.d.ts +2 -0
- package/accordion/lib/core/types/index.d.ts +133 -0
- package/base-layout/entry-base-layout.d.ts +4 -0
- package/base-layout/index.d.ts +5 -0
- package/base-layout/lib/components/base-layout/base-layout.component.d.ts +108 -0
- package/base-layout/lib/components/base-layout/base-layout.types.d.ts +40 -0
- package/base-layout/lib/components/base-layout/index.d.ts +13 -0
- package/base-layout/lib/components/blackbox/blackbox-fingerprint.service.d.ts +36 -0
- package/base-layout/lib/components/blackbox/blackbox-storage.service.d.ts +55 -0
- package/base-layout/lib/components/blackbox/blackbox.service.d.ts +144 -0
- package/base-layout/lib/components/blackbox/blackbox.types.d.ts +238 -0
- package/base-layout/lib/components/button/button-area.component.d.ts +93 -0
- package/base-layout/lib/components/button/button.component.d.ts +61 -0
- package/base-layout/lib/components/button/button.types.d.ts +75 -0
- package/base-layout/lib/components/page-header/breadcrumb.service.d.ts +96 -0
- package/base-layout/lib/components/page-header/page-header.component.d.ts +59 -0
- package/base-layout/lib/components/page-header/page-header.types.d.ts +96 -0
- package/base-layout/lib/core/types/index.d.ts +133 -0
- package/blackbox/entry-blackbox.d.ts +4 -0
- package/blackbox/index.d.ts +5 -0
- package/blackbox/lib/components/blackbox/blackbox-debugger.component.d.ts +80 -0
- package/blackbox/lib/components/blackbox/blackbox-debugger.service.d.ts +34 -0
- package/blackbox/lib/components/blackbox/blackbox-fingerprint.service.d.ts +36 -0
- package/blackbox/lib/components/blackbox/blackbox-json-viewer.component.d.ts +18 -0
- package/blackbox/lib/components/blackbox/blackbox-storage.service.d.ts +55 -0
- package/blackbox/lib/components/blackbox/blackbox.interceptor.d.ts +38 -0
- package/blackbox/lib/components/blackbox/blackbox.service.d.ts +144 -0
- package/blackbox/lib/components/blackbox/blackbox.types.d.ts +238 -0
- package/blackbox/lib/components/blackbox/index.d.ts +23 -0
- package/blackbox/lib/components/blackbox/ui-track.directive.d.ts +20 -0
- package/blackbox/lib/components/button/button-area.component.d.ts +93 -0
- package/blackbox/lib/components/button/button.component.d.ts +61 -0
- package/blackbox/lib/components/button/button.types.d.ts +75 -0
- package/blackbox/lib/components/button/index.d.ts +15 -0
- package/blackbox/lib/components/modal/confirm-dialog.component.d.ts +46 -0
- package/blackbox/lib/components/modal/index.d.ts +4 -0
- package/blackbox/lib/components/modal/modal.component.d.ts +44 -0
- package/blackbox/lib/components/modal/modal.service.d.ts +93 -0
- package/blackbox/lib/components/modal/modal.types.d.ts +110 -0
- package/blackbox/lib/core/types/index.d.ts +133 -0
- package/button/entry-button.d.ts +4 -0
- package/button/index.d.ts +5 -0
- package/button/lib/components/blackbox/blackbox-fingerprint.service.d.ts +36 -0
- package/button/lib/components/blackbox/blackbox-storage.service.d.ts +55 -0
- package/button/lib/components/blackbox/blackbox.service.d.ts +144 -0
- package/button/lib/components/blackbox/blackbox.types.d.ts +238 -0
- package/button/lib/components/button/button-area.component.d.ts +93 -0
- package/button/lib/components/button/button.component.d.ts +61 -0
- package/button/lib/components/button/button.types.d.ts +75 -0
- package/button/lib/components/button/index.d.ts +15 -0
- package/button/lib/core/types/index.d.ts +133 -0
- package/core/entry-core.d.ts +5 -0
- package/core/index.d.ts +5 -0
- package/core/lib/core/types/index.d.ts +133 -0
- package/core/lib/core/utils/index.d.ts +60 -0
- package/crud-table/entry-crud-table.d.ts +4 -0
- package/crud-table/index.d.ts +5 -0
- package/crud-table/lib/components/accordion/accordion.component.d.ts +125 -0
- package/crud-table/lib/components/accordion/accordion.types.d.ts +64 -0
- package/crud-table/lib/components/accordion/index.d.ts +2 -0
- package/crud-table/lib/components/blackbox/blackbox-fingerprint.service.d.ts +36 -0
- package/crud-table/lib/components/blackbox/blackbox-storage.service.d.ts +55 -0
- package/crud-table/lib/components/blackbox/blackbox.service.d.ts +144 -0
- package/crud-table/lib/components/blackbox/blackbox.types.d.ts +238 -0
- package/crud-table/lib/components/button/button-area.component.d.ts +93 -0
- package/crud-table/lib/components/button/button.component.d.ts +61 -0
- package/crud-table/lib/components/button/button.types.d.ts +75 -0
- package/crud-table/lib/components/button/index.d.ts +15 -0
- package/crud-table/lib/components/crud-table/crud-table.component.d.ts +143 -0
- package/crud-table/lib/components/crud-table/crud-table.types.d.ts +207 -0
- package/crud-table/lib/components/crud-table/index.d.ts +15 -0
- package/crud-table/lib/components/form-builder/adapters/it-date-adapter.d.ts +32 -0
- package/crud-table/lib/components/form-builder/directives/currency-input.directive.d.ts +48 -0
- package/crud-table/lib/components/form-builder/form-builder.component.d.ts +279 -0
- package/crud-table/lib/components/form-builder/services/form-condition.service.d.ts +46 -0
- package/crud-table/lib/components/form-builder/services/form-error-state.matcher.d.ts +9 -0
- package/crud-table/lib/components/form-builder/services/form-field-error.service.d.ts +38 -0
- package/crud-table/lib/components/form-builder/services/form-validation.service.d.ts +63 -0
- package/crud-table/lib/components/form-builder/services/location.service.d.ts +83 -0
- package/crud-table/lib/components/form-builder/services/nominatim-geocoding.service.d.ts +37 -0
- package/crud-table/lib/components/form-builder/sub-components/error-summary/form-error-summary.component.d.ts +31 -0
- package/crud-table/lib/components/form-builder/sub-components/file-input/file-input.component.d.ts +41 -0
- package/crud-table/lib/components/form-builder/sub-components/form-fields/form-number-field.component.d.ts +42 -0
- package/crud-table/lib/components/form-builder/sub-components/form-fields/form-radio-field.component.d.ts +45 -0
- package/crud-table/lib/components/form-builder/sub-components/form-fields/form-select-field.component.d.ts +44 -0
- package/crud-table/lib/components/form-builder/sub-components/form-fields/form-text-field.component.d.ts +62 -0
- package/crud-table/lib/components/form-builder/sub-components/form-fields/form-textarea-field.component.d.ts +39 -0
- package/crud-table/lib/components/form-builder/sub-components/form-fields/index.d.ts +5 -0
- package/crud-table/lib/components/form-builder/sub-components/location-geocoded/location-geocoded.component.d.ts +84 -0
- package/crud-table/lib/components/form-builder/sub-components/specifica-territoriale/specifica-territoriale.component.d.ts +145 -0
- package/crud-table/lib/components/form-builder/sub-components/table-territoriale/table-territoriale.component.d.ts +108 -0
- package/crud-table/lib/components/form-builder/types/condition.types.d.ts +51 -0
- package/crud-table/lib/components/form-builder/types/field.types.d.ts +330 -0
- package/crud-table/lib/components/form-builder/types/geocoded-location.types.d.ts +116 -0
- package/crud-table/lib/components/form-builder/types/schema.types.d.ts +304 -0
- package/crud-table/lib/components/form-builder/types/territoriale.types.d.ts +170 -0
- package/crud-table/lib/components/form-builder/types/validation.types.d.ts +179 -0
- package/crud-table/lib/components/modal/confirm-dialog.component.d.ts +46 -0
- package/crud-table/lib/components/modal/modal.service.d.ts +93 -0
- package/crud-table/lib/components/modal/modal.types.d.ts +110 -0
- package/crud-table/lib/core/logging/logger.config.d.ts +18 -0
- package/crud-table/lib/core/logging/logger.service.d.ts +75 -0
- package/crud-table/lib/core/logging/logger.types.d.ts +70 -0
- package/crud-table/lib/core/types/index.d.ts +133 -0
- package/esm2022/accordion/entry-accordion.mjs +5 -0
- package/esm2022/accordion/gnggln-ng-ui-system-accordion.mjs +5 -0
- package/esm2022/accordion/lib/components/accordion/accordion.component.mjs +398 -0
- package/esm2022/accordion/lib/components/accordion/accordion.types.mjs +6 -0
- package/esm2022/accordion/lib/components/accordion/index.mjs +2 -0
- package/esm2022/accordion/lib/core/types/index.mjs +6 -0
- package/esm2022/base-layout/entry-base-layout.mjs +5 -0
- package/esm2022/base-layout/gnggln-ng-ui-system-base-layout.mjs +5 -0
- package/esm2022/base-layout/lib/components/base-layout/base-layout.component.mjs +272 -0
- package/esm2022/base-layout/lib/components/base-layout/base-layout.types.mjs +6 -0
- package/esm2022/base-layout/lib/components/base-layout/index.mjs +14 -0
- package/esm2022/base-layout/lib/components/blackbox/blackbox-fingerprint.service.mjs +116 -0
- package/esm2022/base-layout/lib/components/blackbox/blackbox-storage.service.mjs +286 -0
- package/esm2022/base-layout/lib/components/blackbox/blackbox.service.mjs +323 -0
- package/esm2022/base-layout/lib/components/blackbox/blackbox.types.mjs +25 -0
- package/esm2022/base-layout/lib/components/button/button-area.component.mjs +210 -0
- package/esm2022/base-layout/lib/components/button/button.component.mjs +180 -0
- package/esm2022/base-layout/lib/components/button/button.types.mjs +6 -0
- package/esm2022/base-layout/lib/components/page-header/breadcrumb.service.mjs +243 -0
- package/esm2022/base-layout/lib/components/page-header/page-header.component.mjs +243 -0
- package/esm2022/base-layout/lib/components/page-header/page-header.types.mjs +21 -0
- package/esm2022/base-layout/lib/core/types/index.mjs +6 -0
- package/esm2022/blackbox/entry-blackbox.mjs +5 -0
- package/esm2022/blackbox/gnggln-ng-ui-system-blackbox.mjs +5 -0
- package/esm2022/blackbox/lib/components/blackbox/blackbox-debugger.component.mjs +904 -0
- package/esm2022/blackbox/lib/components/blackbox/blackbox-debugger.service.mjs +51 -0
- package/esm2022/blackbox/lib/components/blackbox/blackbox-fingerprint.service.mjs +116 -0
- package/esm2022/blackbox/lib/components/blackbox/blackbox-json-viewer.component.mjs +66 -0
- package/esm2022/blackbox/lib/components/blackbox/blackbox-storage.service.mjs +286 -0
- package/esm2022/blackbox/lib/components/blackbox/blackbox.interceptor.mjs +135 -0
- package/esm2022/blackbox/lib/components/blackbox/blackbox.service.mjs +323 -0
- package/esm2022/blackbox/lib/components/blackbox/blackbox.types.mjs +25 -0
- package/esm2022/blackbox/lib/components/blackbox/index.mjs +27 -0
- package/esm2022/blackbox/lib/components/blackbox/ui-track.directive.mjs +69 -0
- package/esm2022/blackbox/lib/components/button/button-area.component.mjs +210 -0
- package/esm2022/blackbox/lib/components/button/button.component.mjs +180 -0
- package/esm2022/blackbox/lib/components/button/button.types.mjs +6 -0
- package/esm2022/blackbox/lib/components/button/index.mjs +16 -0
- package/esm2022/blackbox/lib/components/modal/confirm-dialog.component.mjs +151 -0
- package/esm2022/blackbox/lib/components/modal/index.mjs +4 -0
- package/esm2022/blackbox/lib/components/modal/modal.component.mjs +139 -0
- package/esm2022/blackbox/lib/components/modal/modal.service.mjs +197 -0
- package/esm2022/blackbox/lib/components/modal/modal.types.mjs +6 -0
- package/esm2022/blackbox/lib/core/types/index.mjs +6 -0
- package/esm2022/button/entry-button.mjs +5 -0
- package/esm2022/button/gnggln-ng-ui-system-button.mjs +5 -0
- package/esm2022/button/lib/components/blackbox/blackbox-fingerprint.service.mjs +116 -0
- package/esm2022/button/lib/components/blackbox/blackbox-storage.service.mjs +286 -0
- package/esm2022/button/lib/components/blackbox/blackbox.service.mjs +323 -0
- package/esm2022/button/lib/components/blackbox/blackbox.types.mjs +25 -0
- package/esm2022/button/lib/components/button/button-area.component.mjs +210 -0
- package/esm2022/button/lib/components/button/button.component.mjs +180 -0
- package/esm2022/button/lib/components/button/button.types.mjs +6 -0
- package/esm2022/button/lib/components/button/index.mjs +16 -0
- package/esm2022/button/lib/core/types/index.mjs +6 -0
- package/esm2022/core/entry-core.mjs +6 -0
- package/esm2022/core/gnggln-ng-ui-system-core.mjs +5 -0
- package/esm2022/core/lib/core/types/index.mjs +6 -0
- package/esm2022/core/lib/core/utils/index.mjs +102 -0
- package/esm2022/crud-table/entry-crud-table.mjs +5 -0
- package/esm2022/crud-table/gnggln-ng-ui-system-crud-table.mjs +5 -0
- package/esm2022/crud-table/lib/components/accordion/accordion.component.mjs +398 -0
- package/esm2022/crud-table/lib/components/accordion/accordion.types.mjs +6 -0
- package/esm2022/crud-table/lib/components/accordion/index.mjs +2 -0
- package/esm2022/crud-table/lib/components/blackbox/blackbox-fingerprint.service.mjs +116 -0
- package/esm2022/crud-table/lib/components/blackbox/blackbox-storage.service.mjs +286 -0
- package/esm2022/crud-table/lib/components/blackbox/blackbox.service.mjs +323 -0
- package/esm2022/crud-table/lib/components/blackbox/blackbox.types.mjs +25 -0
- package/esm2022/crud-table/lib/components/button/button-area.component.mjs +210 -0
- package/esm2022/crud-table/lib/components/button/button.component.mjs +180 -0
- package/esm2022/crud-table/lib/components/button/button.types.mjs +6 -0
- package/esm2022/crud-table/lib/components/button/index.mjs +16 -0
- package/esm2022/crud-table/lib/components/crud-table/crud-table.component.mjs +789 -0
- package/esm2022/crud-table/lib/components/crud-table/crud-table.types.mjs +6 -0
- package/esm2022/crud-table/lib/components/crud-table/index.mjs +16 -0
- package/esm2022/crud-table/lib/components/form-builder/adapters/it-date-adapter.mjs +82 -0
- package/esm2022/crud-table/lib/components/form-builder/directives/currency-input.directive.mjs +184 -0
- package/esm2022/crud-table/lib/components/form-builder/form-builder.component.mjs +1351 -0
- package/esm2022/crud-table/lib/components/form-builder/services/form-condition.service.mjs +132 -0
- package/esm2022/crud-table/lib/components/form-builder/services/form-error-state.matcher.mjs +10 -0
- package/esm2022/crud-table/lib/components/form-builder/services/form-field-error.service.mjs +103 -0
- package/esm2022/crud-table/lib/components/form-builder/services/form-validation.service.mjs +381 -0
- package/esm2022/crud-table/lib/components/form-builder/services/location.service.mjs +141 -0
- package/esm2022/crud-table/lib/components/form-builder/services/nominatim-geocoding.service.mjs +120 -0
- package/esm2022/crud-table/lib/components/form-builder/sub-components/error-summary/form-error-summary.component.mjs +190 -0
- package/esm2022/crud-table/lib/components/form-builder/sub-components/file-input/file-input.component.mjs +310 -0
- package/esm2022/crud-table/lib/components/form-builder/sub-components/form-fields/form-number-field.component.mjs +113 -0
- package/esm2022/crud-table/lib/components/form-builder/sub-components/form-fields/form-radio-field.component.mjs +105 -0
- package/esm2022/crud-table/lib/components/form-builder/sub-components/form-fields/form-select-field.component.mjs +126 -0
- package/esm2022/crud-table/lib/components/form-builder/sub-components/form-fields/form-text-field.component.mjs +147 -0
- package/esm2022/crud-table/lib/components/form-builder/sub-components/form-fields/form-textarea-field.component.mjs +99 -0
- package/esm2022/crud-table/lib/components/form-builder/sub-components/form-fields/index.mjs +6 -0
- package/esm2022/crud-table/lib/components/form-builder/sub-components/location-geocoded/location-geocoded.component.mjs +322 -0
- package/esm2022/crud-table/lib/components/form-builder/sub-components/specifica-territoriale/specifica-territoriale.component.mjs +648 -0
- package/esm2022/crud-table/lib/components/form-builder/sub-components/table-territoriale/table-territoriale.component.mjs +432 -0
- package/esm2022/crud-table/lib/components/form-builder/types/condition.types.mjs +6 -0
- package/esm2022/crud-table/lib/components/form-builder/types/field.types.mjs +6 -0
- package/esm2022/crud-table/lib/components/form-builder/types/geocoded-location.types.mjs +6 -0
- package/esm2022/crud-table/lib/components/form-builder/types/schema.types.mjs +6 -0
- package/esm2022/crud-table/lib/components/form-builder/types/territoriale.types.mjs +6 -0
- package/esm2022/crud-table/lib/components/form-builder/types/validation.types.mjs +10 -0
- package/esm2022/crud-table/lib/components/modal/confirm-dialog.component.mjs +151 -0
- package/esm2022/crud-table/lib/components/modal/modal.service.mjs +197 -0
- package/esm2022/crud-table/lib/components/modal/modal.types.mjs +6 -0
- package/esm2022/crud-table/lib/core/logging/logger.config.mjs +18 -0
- package/esm2022/crud-table/lib/core/logging/logger.service.mjs +295 -0
- package/esm2022/crud-table/lib/core/logging/logger.types.mjs +7 -0
- package/esm2022/crud-table/lib/core/types/index.mjs +6 -0
- package/esm2022/crud-table/lib/sources/location-data.opt.json +8942 -0
- package/esm2022/crud-table/lib/sources/nazioni.opt.json +215 -0
- package/esm2022/form-builder/entry-form-builder.mjs +5 -0
- package/esm2022/form-builder/gnggln-ng-ui-system-form-builder.mjs +5 -0
- package/esm2022/form-builder/lib/components/accordion/accordion.component.mjs +398 -0
- package/esm2022/form-builder/lib/components/accordion/accordion.types.mjs +6 -0
- package/esm2022/form-builder/lib/components/accordion/index.mjs +2 -0
- package/esm2022/form-builder/lib/components/blackbox/blackbox-fingerprint.service.mjs +116 -0
- package/esm2022/form-builder/lib/components/blackbox/blackbox-storage.service.mjs +286 -0
- package/esm2022/form-builder/lib/components/blackbox/blackbox.service.mjs +323 -0
- package/esm2022/form-builder/lib/components/blackbox/blackbox.types.mjs +25 -0
- package/esm2022/form-builder/lib/components/button/button-area.component.mjs +210 -0
- package/esm2022/form-builder/lib/components/button/button.component.mjs +180 -0
- package/esm2022/form-builder/lib/components/button/button.types.mjs +6 -0
- package/esm2022/form-builder/lib/components/button/index.mjs +16 -0
- package/esm2022/form-builder/lib/components/form-builder/adapters/it-date-adapter.mjs +82 -0
- package/esm2022/form-builder/lib/components/form-builder/directives/currency-input.directive.mjs +184 -0
- package/esm2022/form-builder/lib/components/form-builder/form-builder.component.mjs +1351 -0
- package/esm2022/form-builder/lib/components/form-builder/form-wizard.component.mjs +1064 -0
- package/esm2022/form-builder/lib/components/form-builder/index.mjs +24 -0
- package/esm2022/form-builder/lib/components/form-builder/services/form-condition.service.mjs +132 -0
- package/esm2022/form-builder/lib/components/form-builder/services/form-error-state.matcher.mjs +10 -0
- package/esm2022/form-builder/lib/components/form-builder/services/form-field-error.service.mjs +103 -0
- package/esm2022/form-builder/lib/components/form-builder/services/form-validation.service.mjs +381 -0
- package/esm2022/form-builder/lib/components/form-builder/services/location.service.mjs +141 -0
- package/esm2022/form-builder/lib/components/form-builder/services/nominatim-geocoding.service.mjs +120 -0
- package/esm2022/form-builder/lib/components/form-builder/services/wizard-sync.service.mjs +84 -0
- package/esm2022/form-builder/lib/components/form-builder/sub-components/error-summary/form-error-summary.component.mjs +190 -0
- package/esm2022/form-builder/lib/components/form-builder/sub-components/file-input/file-input.component.mjs +310 -0
- package/esm2022/form-builder/lib/components/form-builder/sub-components/form-fields/form-number-field.component.mjs +113 -0
- package/esm2022/form-builder/lib/components/form-builder/sub-components/form-fields/form-radio-field.component.mjs +105 -0
- package/esm2022/form-builder/lib/components/form-builder/sub-components/form-fields/form-select-field.component.mjs +126 -0
- package/esm2022/form-builder/lib/components/form-builder/sub-components/form-fields/form-text-field.component.mjs +147 -0
- package/esm2022/form-builder/lib/components/form-builder/sub-components/form-fields/form-textarea-field.component.mjs +99 -0
- package/esm2022/form-builder/lib/components/form-builder/sub-components/form-fields/index.mjs +6 -0
- package/esm2022/form-builder/lib/components/form-builder/sub-components/location-geocoded/location-geocoded.component.mjs +322 -0
- package/esm2022/form-builder/lib/components/form-builder/sub-components/specifica-territoriale/specifica-territoriale.component.mjs +648 -0
- package/esm2022/form-builder/lib/components/form-builder/sub-components/table-territoriale/table-territoriale.component.mjs +432 -0
- package/esm2022/form-builder/lib/components/form-builder/types/condition.types.mjs +6 -0
- package/esm2022/form-builder/lib/components/form-builder/types/field.types.mjs +6 -0
- package/esm2022/form-builder/lib/components/form-builder/types/geocoded-location.types.mjs +6 -0
- package/esm2022/form-builder/lib/components/form-builder/types/index.mjs +3 -0
- package/esm2022/form-builder/lib/components/form-builder/types/schema.types.mjs +6 -0
- package/esm2022/form-builder/lib/components/form-builder/types/territoriale.types.mjs +6 -0
- package/esm2022/form-builder/lib/components/form-builder/types/validation.types.mjs +10 -0
- package/esm2022/form-builder/lib/core/logging/logger.config.mjs +18 -0
- package/esm2022/form-builder/lib/core/logging/logger.service.mjs +295 -0
- package/esm2022/form-builder/lib/core/logging/logger.types.mjs +7 -0
- package/esm2022/form-builder/lib/core/types/index.mjs +6 -0
- package/esm2022/form-builder/lib/sources/location-data.opt.json +8942 -0
- package/esm2022/form-builder/lib/sources/nazioni.opt.json +215 -0
- package/esm2022/form-builder-editor/entry-form-builder-editor.mjs +5 -0
- package/esm2022/form-builder-editor/gnggln-ng-ui-system-form-builder-editor.mjs +5 -0
- package/esm2022/form-builder-editor/lib/components/accordion/accordion.component.mjs +398 -0
- package/esm2022/form-builder-editor/lib/components/accordion/accordion.types.mjs +6 -0
- package/esm2022/form-builder-editor/lib/components/accordion/index.mjs +2 -0
- package/esm2022/form-builder-editor/lib/components/blackbox/blackbox-fingerprint.service.mjs +116 -0
- package/esm2022/form-builder-editor/lib/components/blackbox/blackbox-storage.service.mjs +286 -0
- package/esm2022/form-builder-editor/lib/components/blackbox/blackbox.service.mjs +323 -0
- package/esm2022/form-builder-editor/lib/components/blackbox/blackbox.types.mjs +25 -0
- package/esm2022/form-builder-editor/lib/components/button/button-area.component.mjs +210 -0
- package/esm2022/form-builder-editor/lib/components/button/button.component.mjs +180 -0
- package/esm2022/form-builder-editor/lib/components/button/button.types.mjs +6 -0
- package/esm2022/form-builder-editor/lib/components/button/index.mjs +16 -0
- package/esm2022/form-builder-editor/lib/components/form-builder/adapters/it-date-adapter.mjs +82 -0
- package/esm2022/form-builder-editor/lib/components/form-builder/directives/currency-input.directive.mjs +184 -0
- package/esm2022/form-builder-editor/lib/components/form-builder/form-builder.component.mjs +1351 -0
- package/esm2022/form-builder-editor/lib/components/form-builder/services/form-condition.service.mjs +132 -0
- package/esm2022/form-builder-editor/lib/components/form-builder/services/form-error-state.matcher.mjs +10 -0
- package/esm2022/form-builder-editor/lib/components/form-builder/services/form-field-error.service.mjs +103 -0
- package/esm2022/form-builder-editor/lib/components/form-builder/services/form-validation.service.mjs +381 -0
- package/esm2022/form-builder-editor/lib/components/form-builder/services/location.service.mjs +141 -0
- package/esm2022/form-builder-editor/lib/components/form-builder/services/nominatim-geocoding.service.mjs +120 -0
- package/esm2022/form-builder-editor/lib/components/form-builder/sub-components/error-summary/form-error-summary.component.mjs +190 -0
- package/esm2022/form-builder-editor/lib/components/form-builder/sub-components/file-input/file-input.component.mjs +310 -0
- package/esm2022/form-builder-editor/lib/components/form-builder/sub-components/form-fields/form-number-field.component.mjs +113 -0
- package/esm2022/form-builder-editor/lib/components/form-builder/sub-components/form-fields/form-radio-field.component.mjs +105 -0
- package/esm2022/form-builder-editor/lib/components/form-builder/sub-components/form-fields/form-select-field.component.mjs +126 -0
- package/esm2022/form-builder-editor/lib/components/form-builder/sub-components/form-fields/form-text-field.component.mjs +147 -0
- package/esm2022/form-builder-editor/lib/components/form-builder/sub-components/form-fields/form-textarea-field.component.mjs +99 -0
- package/esm2022/form-builder-editor/lib/components/form-builder/sub-components/form-fields/index.mjs +6 -0
- package/esm2022/form-builder-editor/lib/components/form-builder/sub-components/location-geocoded/location-geocoded.component.mjs +322 -0
- package/esm2022/form-builder-editor/lib/components/form-builder/sub-components/specifica-territoriale/specifica-territoriale.component.mjs +648 -0
- package/esm2022/form-builder-editor/lib/components/form-builder/sub-components/table-territoriale/table-territoriale.component.mjs +432 -0
- package/esm2022/form-builder-editor/lib/components/form-builder/types/condition.types.mjs +6 -0
- package/esm2022/form-builder-editor/lib/components/form-builder/types/field.types.mjs +6 -0
- package/esm2022/form-builder-editor/lib/components/form-builder/types/geocoded-location.types.mjs +6 -0
- package/esm2022/form-builder-editor/lib/components/form-builder/types/index.mjs +3 -0
- package/esm2022/form-builder-editor/lib/components/form-builder/types/schema.types.mjs +6 -0
- package/esm2022/form-builder-editor/lib/components/form-builder/types/territoriale.types.mjs +6 -0
- package/esm2022/form-builder-editor/lib/components/form-builder/types/validation.types.mjs +10 -0
- package/esm2022/form-builder-editor/lib/components/form-builder-editor/form-builder-editor.component.mjs +730 -0
- package/esm2022/form-builder-editor/lib/components/form-builder-editor/form-builder-editor.service.mjs +56 -0
- package/esm2022/form-builder-editor/lib/components/form-builder-editor/index.mjs +23 -0
- package/esm2022/form-builder-editor/lib/components/form-builder-editor/presets/editor-presets.mjs +395 -0
- package/esm2022/form-builder-editor/lib/components/form-builder-editor/services/editor-persistence.service.mjs +190 -0
- package/esm2022/form-builder-editor/lib/components/form-builder-editor/services/editor-state.service.mjs +324 -0
- package/esm2022/form-builder-editor/lib/components/form-builder-editor/services/field-factory.service.mjs +188 -0
- package/esm2022/form-builder-editor/lib/components/form-builder-editor/sub-components/condition-editor/condition-editor.component.mjs +667 -0
- package/esm2022/form-builder-editor/lib/components/form-builder-editor/sub-components/editor-toolbar/editor-toolbar.component.mjs +317 -0
- package/esm2022/form-builder-editor/lib/components/form-builder-editor/sub-components/field-config-panel/field-config-panel.component.mjs +611 -0
- package/esm2022/form-builder-editor/lib/components/form-builder-editor/sub-components/field-palette/field-palette.component.mjs +267 -0
- package/esm2022/form-builder-editor/lib/components/form-builder-editor/sub-components/form-values-panel/form-values-panel.component.mjs +276 -0
- package/esm2022/form-builder-editor/lib/components/form-builder-editor/sub-components/options-editor/options-editor.component.mjs +323 -0
- package/esm2022/form-builder-editor/lib/components/form-builder-editor/sub-components/preview-container/preview-container.component.mjs +238 -0
- package/esm2022/form-builder-editor/lib/components/form-builder-editor/sub-components/section-editor/section-editor.component.mjs +473 -0
- package/esm2022/form-builder-editor/lib/components/form-builder-editor/sub-components/validation-editor/validation-editor.component.mjs +473 -0
- package/esm2022/form-builder-editor/lib/components/form-builder-editor/types/editor.types.mjs +6 -0
- package/esm2022/form-builder-editor/lib/components/modal/confirm-dialog.component.mjs +151 -0
- package/esm2022/form-builder-editor/lib/components/modal/index.mjs +4 -0
- package/esm2022/form-builder-editor/lib/components/modal/modal.component.mjs +139 -0
- package/esm2022/form-builder-editor/lib/components/modal/modal.service.mjs +197 -0
- package/esm2022/form-builder-editor/lib/components/modal/modal.types.mjs +6 -0
- package/esm2022/form-builder-editor/lib/core/logging/logger.config.mjs +18 -0
- package/esm2022/form-builder-editor/lib/core/logging/logger.service.mjs +295 -0
- package/esm2022/form-builder-editor/lib/core/logging/logger.types.mjs +7 -0
- package/esm2022/form-builder-editor/lib/core/types/index.mjs +6 -0
- package/esm2022/form-builder-editor/lib/sources/location-data.opt.json +8942 -0
- package/esm2022/form-builder-editor/lib/sources/nazioni.opt.json +215 -0
- package/esm2022/http/entry-http.mjs +5 -0
- package/esm2022/http/gnggln-ng-ui-system-http.mjs +5 -0
- package/esm2022/http/lib/components/blackbox/blackbox-fingerprint.service.mjs +116 -0
- package/esm2022/http/lib/components/blackbox/blackbox-storage.service.mjs +286 -0
- package/esm2022/http/lib/components/blackbox/blackbox.service.mjs +323 -0
- package/esm2022/http/lib/components/blackbox/blackbox.types.mjs +25 -0
- package/esm2022/http/lib/components/http/http-message.handler.mjs +143 -0
- package/esm2022/http/lib/components/http/http.service.mjs +228 -0
- package/esm2022/http/lib/components/http/http.tokens.mjs +29 -0
- package/esm2022/http/lib/components/http/http.types.mjs +6 -0
- package/esm2022/http/lib/components/http/index.mjs +19 -0
- package/esm2022/http/lib/components/layout-builder/layout-builder.types.mjs +9 -0
- package/esm2022/http/lib/components/layout-builder/layout.service.mjs +239 -0
- package/esm2022/http/lib/components/toast/toast-container.component.mjs +80 -0
- package/esm2022/http/lib/components/toast/toast.component.mjs +151 -0
- package/esm2022/http/lib/components/toast/toast.service.mjs +156 -0
- package/esm2022/http/lib/components/toast/toast.types.mjs +12 -0
- package/esm2022/http/lib/core/types/index.mjs +6 -0
- package/esm2022/http/lib/core/utils/index.mjs +102 -0
- package/esm2022/layout-builder/entry-layout-builder.mjs +5 -0
- package/esm2022/layout-builder/gnggln-ng-ui-system-layout-builder.mjs +5 -0
- package/esm2022/layout-builder/lib/components/layout-builder/index.mjs +18 -0
- package/esm2022/layout-builder/lib/components/layout-builder/layout-builder.component.mjs +1804 -0
- package/esm2022/layout-builder/lib/components/layout-builder/layout-builder.types.mjs +9 -0
- package/esm2022/layout-builder/lib/components/layout-builder/layout.service.mjs +239 -0
- package/esm2022/layout-builder/lib/core/types/index.mjs +6 -0
- package/esm2022/lib/components/accordion/accordion.component.mjs +106 -61
- package/esm2022/lib/components/accordion/accordion.types.mjs +1 -1
- package/esm2022/lib/components/base-layout/base-layout.component.mjs +88 -34
- package/esm2022/lib/components/base-layout/base-layout.types.mjs +1 -1
- package/esm2022/lib/components/base-layout/index.mjs +1 -1
- package/esm2022/lib/components/blackbox/blackbox-debugger.component.mjs +904 -0
- package/esm2022/lib/components/blackbox/blackbox-debugger.service.mjs +51 -0
- package/esm2022/lib/components/blackbox/blackbox-fingerprint.service.mjs +116 -0
- package/esm2022/lib/components/blackbox/blackbox-json-viewer.component.mjs +66 -0
- package/esm2022/lib/components/blackbox/blackbox-storage.service.mjs +286 -0
- package/esm2022/lib/components/blackbox/blackbox.interceptor.mjs +135 -0
- package/esm2022/lib/components/blackbox/blackbox.service.mjs +323 -0
- package/esm2022/lib/components/blackbox/blackbox.types.mjs +25 -0
- package/esm2022/lib/components/blackbox/index.mjs +27 -0
- package/esm2022/lib/components/blackbox/ui-track.directive.mjs +69 -0
- package/esm2022/lib/components/button/button-area.component.mjs +16 -2
- package/esm2022/lib/components/button/button.component.mjs +23 -7
- package/esm2022/lib/components/button/button.types.mjs +1 -1
- package/esm2022/lib/components/crud-table/crud-table.component.mjs +14 -14
- package/esm2022/lib/components/form-builder/form-builder.component.mjs +710 -183
- package/esm2022/lib/components/form-builder/form-wizard.component.mjs +789 -235
- package/esm2022/lib/components/form-builder/index.mjs +7 -2
- package/esm2022/lib/components/form-builder/services/form-error-state.matcher.mjs +10 -0
- package/esm2022/lib/components/form-builder/services/form-field-error.service.mjs +103 -0
- package/esm2022/lib/components/form-builder/services/location.service.mjs +4 -3
- package/esm2022/lib/components/form-builder/services/nominatim-geocoding.service.mjs +120 -0
- package/esm2022/lib/components/form-builder/sub-components/error-summary/form-error-summary.component.mjs +142 -113
- package/esm2022/lib/components/form-builder/sub-components/form-fields/form-number-field.component.mjs +113 -0
- package/esm2022/lib/components/form-builder/sub-components/form-fields/form-radio-field.component.mjs +105 -0
- package/esm2022/lib/components/form-builder/sub-components/form-fields/form-select-field.component.mjs +126 -0
- package/esm2022/lib/components/form-builder/sub-components/form-fields/form-text-field.component.mjs +147 -0
- package/esm2022/lib/components/form-builder/sub-components/form-fields/form-textarea-field.component.mjs +99 -0
- package/esm2022/lib/components/form-builder/sub-components/form-fields/index.mjs +6 -0
- package/esm2022/lib/components/form-builder/sub-components/location-geocoded/location-geocoded.component.mjs +322 -0
- package/esm2022/lib/components/form-builder/sub-components/table-territoriale/table-territoriale.component.mjs +3 -3
- package/esm2022/lib/components/form-builder/types/field.types.mjs +1 -1
- package/esm2022/lib/components/form-builder/types/geocoded-location.types.mjs +6 -0
- package/esm2022/lib/components/form-builder/types/index.mjs +3 -2
- package/esm2022/lib/components/form-builder/types/schema.types.mjs +1 -1
- package/esm2022/lib/components/form-builder/types/validation.types.mjs +6 -2
- package/esm2022/lib/components/form-builder-editor/form-builder-editor.component.mjs +3 -3
- package/esm2022/lib/components/form-builder-editor/index.mjs +3 -1
- package/esm2022/lib/components/form-builder-editor/presets/editor-presets.mjs +395 -0
- package/esm2022/lib/components/form-builder-editor/sub-components/preview-container/preview-container.component.mjs +2 -2
- package/esm2022/lib/components/form-builder-editor/sub-components/section-editor/section-editor.component.mjs +2 -1
- package/esm2022/lib/components/http/http-message.handler.mjs +143 -0
- package/esm2022/lib/components/http/http.service.mjs +228 -0
- package/esm2022/lib/components/http/http.tokens.mjs +29 -0
- package/esm2022/lib/components/http/http.types.mjs +6 -0
- package/esm2022/lib/components/http/index.mjs +19 -0
- package/esm2022/lib/components/layout-builder/layout-builder.component.mjs +27 -15
- package/esm2022/lib/components/modal/confirm-dialog.component.mjs +3 -3
- package/esm2022/lib/components/modal/modal.service.mjs +5 -2
- package/esm2022/lib/components/page-header/breadcrumb.service.mjs +5 -4
- package/esm2022/lib/components/table/paginated-table.component.mjs +17 -3
- package/esm2022/lib/components/table/table.types.mjs +1 -1
- package/esm2022/lib/components/toast/index.mjs +18 -0
- package/esm2022/lib/components/toast/toast-container.component.mjs +80 -0
- package/esm2022/lib/components/toast/toast.component.mjs +151 -0
- package/esm2022/lib/components/toast/toast.service.mjs +156 -0
- package/esm2022/lib/components/toast/toast.types.mjs +12 -0
- package/esm2022/lib/core/logging/index.mjs +10 -0
- package/esm2022/lib/core/logging/logger.config.mjs +18 -0
- package/esm2022/lib/core/logging/logger.service.mjs +295 -0
- package/esm2022/lib/core/logging/logger.types.mjs +7 -0
- package/esm2022/lib/core/types/index.mjs +1 -1
- package/esm2022/lib/core/utils/index.mjs +50 -1
- package/esm2022/lib/version/ng-ui-system-version.mjs +12 -0
- package/esm2022/modal/entry-modal.mjs +5 -0
- package/esm2022/modal/gnggln-ng-ui-system-modal.mjs +5 -0
- package/esm2022/modal/lib/components/button/button.component.mjs +180 -0
- package/esm2022/modal/lib/components/button/button.types.mjs +6 -0
- package/esm2022/modal/lib/components/modal/confirm-dialog.component.mjs +151 -0
- package/esm2022/modal/lib/components/modal/index.mjs +4 -0
- package/esm2022/modal/lib/components/modal/modal.component.mjs +139 -0
- package/esm2022/modal/lib/components/modal/modal.service.mjs +197 -0
- package/esm2022/modal/lib/components/modal/modal.types.mjs +6 -0
- package/esm2022/modal/lib/core/types/index.mjs +6 -0
- package/esm2022/page-header/entry-page-header.mjs +5 -0
- package/esm2022/page-header/gnggln-ng-ui-system-page-header.mjs +5 -0
- package/esm2022/page-header/lib/components/page-header/breadcrumb.service.mjs +243 -0
- package/esm2022/page-header/lib/components/page-header/index.mjs +20 -0
- package/esm2022/page-header/lib/components/page-header/page-header.component.mjs +243 -0
- package/esm2022/page-header/lib/components/page-header/page-header.types.mjs +21 -0
- package/esm2022/public-api.mjs +17 -8
- package/esm2022/table/entry-table.mjs +5 -0
- package/esm2022/table/gnggln-ng-ui-system-table.mjs +5 -0
- package/esm2022/table/lib/components/table/index.mjs +2 -0
- package/esm2022/table/lib/components/table/paginated-table.component.mjs +421 -0
- package/esm2022/table/lib/components/table/table.types.mjs +6 -0
- package/esm2022/table/lib/core/utils/index.mjs +102 -0
- package/esm2022/toast/entry-toast.mjs +5 -0
- package/esm2022/toast/gnggln-ng-ui-system-toast.mjs +5 -0
- package/esm2022/toast/lib/components/toast/index.mjs +18 -0
- package/esm2022/toast/lib/components/toast/toast-container.component.mjs +80 -0
- package/esm2022/toast/lib/components/toast/toast.component.mjs +151 -0
- package/esm2022/toast/lib/components/toast/toast.service.mjs +156 -0
- package/esm2022/toast/lib/components/toast/toast.types.mjs +12 -0
- package/esm2022/toast/lib/core/types/index.mjs +6 -0
- package/esm2022/toast/lib/core/utils/index.mjs +102 -0
- package/fesm2022/gnggln-ng-ui-system-accordion.mjs +409 -0
- package/fesm2022/gnggln-ng-ui-system-accordion.mjs.map +1 -0
- package/fesm2022/gnggln-ng-ui-system-base-layout.mjs +1905 -0
- package/fesm2022/gnggln-ng-ui-system-base-layout.mjs.map +1 -0
- package/fesm2022/gnggln-ng-ui-system-blackbox.mjs +2829 -0
- package/fesm2022/gnggln-ng-ui-system-blackbox.mjs.map +1 -0
- package/fesm2022/gnggln-ng-ui-system-button.mjs +1148 -0
- package/fesm2022/gnggln-ng-ui-system-button.mjs.map +1 -0
- package/fesm2022/gnggln-ng-ui-system-core.mjs +117 -0
- package/fesm2022/gnggln-ng-ui-system-core.mjs.map +1 -0
- package/fesm2022/gnggln-ng-ui-system-crud-table.mjs +49600 -0
- package/fesm2022/gnggln-ng-ui-system-crud-table.mjs.map +1 -0
- package/fesm2022/gnggln-ng-ui-system-form-builder-editor.mjs +54332 -0
- package/fesm2022/gnggln-ng-ui-system-form-builder-editor.mjs.map +1 -0
- package/fesm2022/gnggln-ng-ui-system-form-builder.mjs +49609 -0
- package/fesm2022/gnggln-ng-ui-system-form-builder.mjs.map +1 -0
- package/fesm2022/gnggln-ng-ui-system-http.mjs +1878 -0
- package/fesm2022/gnggln-ng-ui-system-http.mjs.map +1 -0
- package/fesm2022/gnggln-ng-ui-system-layout-builder.mjs +2064 -0
- package/fesm2022/gnggln-ng-ui-system-layout-builder.mjs.map +1 -0
- package/fesm2022/gnggln-ng-ui-system-modal.mjs +664 -0
- package/fesm2022/gnggln-ng-ui-system-modal.mjs.map +1 -0
- package/fesm2022/gnggln-ng-ui-system-page-header.mjs +526 -0
- package/fesm2022/gnggln-ng-ui-system-page-header.mjs.map +1 -0
- package/fesm2022/gnggln-ng-ui-system-table.mjs +533 -0
- package/fesm2022/gnggln-ng-ui-system-table.mjs.map +1 -0
- package/fesm2022/gnggln-ng-ui-system-toast.mjs +516 -0
- package/fesm2022/gnggln-ng-ui-system-toast.mjs.map +1 -0
- package/fesm2022/gnggln-ng-ui-system.mjs +10068 -4234
- package/fesm2022/gnggln-ng-ui-system.mjs.map +1 -1
- package/form-builder/entry-form-builder.d.ts +4 -0
- package/form-builder/index.d.ts +5 -0
- package/form-builder/lib/components/accordion/accordion.component.d.ts +125 -0
- package/form-builder/lib/components/accordion/accordion.types.d.ts +64 -0
- package/form-builder/lib/components/accordion/index.d.ts +2 -0
- package/form-builder/lib/components/blackbox/blackbox-fingerprint.service.d.ts +36 -0
- package/form-builder/lib/components/blackbox/blackbox-storage.service.d.ts +55 -0
- package/form-builder/lib/components/blackbox/blackbox.service.d.ts +144 -0
- package/form-builder/lib/components/blackbox/blackbox.types.d.ts +238 -0
- package/form-builder/lib/components/button/button-area.component.d.ts +93 -0
- package/form-builder/lib/components/button/button.component.d.ts +61 -0
- package/form-builder/lib/components/button/button.types.d.ts +75 -0
- package/form-builder/lib/components/button/index.d.ts +15 -0
- package/form-builder/lib/components/form-builder/adapters/it-date-adapter.d.ts +32 -0
- package/form-builder/lib/components/form-builder/directives/currency-input.directive.d.ts +48 -0
- package/form-builder/lib/components/form-builder/form-builder.component.d.ts +279 -0
- package/form-builder/lib/components/form-builder/form-wizard.component.d.ts +172 -0
- package/form-builder/lib/components/form-builder/index.d.ts +19 -0
- package/form-builder/lib/components/form-builder/services/form-condition.service.d.ts +46 -0
- package/form-builder/lib/components/form-builder/services/form-error-state.matcher.d.ts +9 -0
- package/form-builder/lib/components/form-builder/services/form-field-error.service.d.ts +38 -0
- package/form-builder/lib/components/form-builder/services/form-validation.service.d.ts +63 -0
- package/form-builder/lib/components/form-builder/services/location.service.d.ts +83 -0
- package/form-builder/lib/components/form-builder/services/nominatim-geocoding.service.d.ts +37 -0
- package/form-builder/lib/components/form-builder/services/wizard-sync.service.d.ts +63 -0
- package/form-builder/lib/components/form-builder/sub-components/error-summary/form-error-summary.component.d.ts +31 -0
- package/form-builder/lib/components/form-builder/sub-components/file-input/file-input.component.d.ts +41 -0
- package/form-builder/lib/components/form-builder/sub-components/form-fields/form-number-field.component.d.ts +42 -0
- package/form-builder/lib/components/form-builder/sub-components/form-fields/form-radio-field.component.d.ts +45 -0
- package/form-builder/lib/components/form-builder/sub-components/form-fields/form-select-field.component.d.ts +44 -0
- package/form-builder/lib/components/form-builder/sub-components/form-fields/form-text-field.component.d.ts +62 -0
- package/form-builder/lib/components/form-builder/sub-components/form-fields/form-textarea-field.component.d.ts +39 -0
- package/form-builder/lib/components/form-builder/sub-components/form-fields/index.d.ts +5 -0
- package/form-builder/lib/components/form-builder/sub-components/location-geocoded/location-geocoded.component.d.ts +84 -0
- package/form-builder/lib/components/form-builder/sub-components/specifica-territoriale/specifica-territoriale.component.d.ts +145 -0
- package/form-builder/lib/components/form-builder/sub-components/table-territoriale/table-territoriale.component.d.ts +108 -0
- package/form-builder/lib/components/form-builder/types/condition.types.d.ts +51 -0
- package/form-builder/lib/components/form-builder/types/field.types.d.ts +330 -0
- package/form-builder/lib/components/form-builder/types/geocoded-location.types.d.ts +116 -0
- package/form-builder/lib/components/form-builder/types/index.d.ts +6 -0
- package/form-builder/lib/components/form-builder/types/schema.types.d.ts +304 -0
- package/form-builder/lib/components/form-builder/types/territoriale.types.d.ts +170 -0
- package/form-builder/lib/components/form-builder/types/validation.types.d.ts +179 -0
- package/form-builder/lib/core/logging/logger.config.d.ts +18 -0
- package/form-builder/lib/core/logging/logger.service.d.ts +75 -0
- package/form-builder/lib/core/logging/logger.types.d.ts +70 -0
- package/form-builder/lib/core/types/index.d.ts +133 -0
- package/form-builder-editor/entry-form-builder-editor.d.ts +4 -0
- package/form-builder-editor/index.d.ts +5 -0
- package/form-builder-editor/lib/components/accordion/accordion.component.d.ts +125 -0
- package/form-builder-editor/lib/components/accordion/accordion.types.d.ts +64 -0
- package/form-builder-editor/lib/components/accordion/index.d.ts +2 -0
- package/form-builder-editor/lib/components/blackbox/blackbox-fingerprint.service.d.ts +36 -0
- package/form-builder-editor/lib/components/blackbox/blackbox-storage.service.d.ts +55 -0
- package/form-builder-editor/lib/components/blackbox/blackbox.service.d.ts +144 -0
- package/form-builder-editor/lib/components/blackbox/blackbox.types.d.ts +238 -0
- package/form-builder-editor/lib/components/button/button-area.component.d.ts +93 -0
- package/form-builder-editor/lib/components/button/button.component.d.ts +61 -0
- package/form-builder-editor/lib/components/button/button.types.d.ts +75 -0
- package/form-builder-editor/lib/components/button/index.d.ts +15 -0
- package/form-builder-editor/lib/components/form-builder/adapters/it-date-adapter.d.ts +32 -0
- package/form-builder-editor/lib/components/form-builder/directives/currency-input.directive.d.ts +48 -0
- package/form-builder-editor/lib/components/form-builder/form-builder.component.d.ts +279 -0
- package/form-builder-editor/lib/components/form-builder/services/form-condition.service.d.ts +46 -0
- package/form-builder-editor/lib/components/form-builder/services/form-error-state.matcher.d.ts +9 -0
- package/form-builder-editor/lib/components/form-builder/services/form-field-error.service.d.ts +38 -0
- package/form-builder-editor/lib/components/form-builder/services/form-validation.service.d.ts +63 -0
- package/form-builder-editor/lib/components/form-builder/services/location.service.d.ts +83 -0
- package/form-builder-editor/lib/components/form-builder/services/nominatim-geocoding.service.d.ts +37 -0
- package/form-builder-editor/lib/components/form-builder/sub-components/error-summary/form-error-summary.component.d.ts +31 -0
- package/form-builder-editor/lib/components/form-builder/sub-components/file-input/file-input.component.d.ts +41 -0
- package/form-builder-editor/lib/components/form-builder/sub-components/form-fields/form-number-field.component.d.ts +42 -0
- package/form-builder-editor/lib/components/form-builder/sub-components/form-fields/form-radio-field.component.d.ts +45 -0
- package/form-builder-editor/lib/components/form-builder/sub-components/form-fields/form-select-field.component.d.ts +44 -0
- package/form-builder-editor/lib/components/form-builder/sub-components/form-fields/form-text-field.component.d.ts +62 -0
- package/form-builder-editor/lib/components/form-builder/sub-components/form-fields/form-textarea-field.component.d.ts +39 -0
- package/form-builder-editor/lib/components/form-builder/sub-components/form-fields/index.d.ts +5 -0
- package/form-builder-editor/lib/components/form-builder/sub-components/location-geocoded/location-geocoded.component.d.ts +84 -0
- package/form-builder-editor/lib/components/form-builder/sub-components/specifica-territoriale/specifica-territoriale.component.d.ts +145 -0
- package/form-builder-editor/lib/components/form-builder/sub-components/table-territoriale/table-territoriale.component.d.ts +108 -0
- package/form-builder-editor/lib/components/form-builder/types/condition.types.d.ts +51 -0
- package/form-builder-editor/lib/components/form-builder/types/field.types.d.ts +330 -0
- package/form-builder-editor/lib/components/form-builder/types/geocoded-location.types.d.ts +116 -0
- package/form-builder-editor/lib/components/form-builder/types/index.d.ts +6 -0
- package/form-builder-editor/lib/components/form-builder/types/schema.types.d.ts +304 -0
- package/form-builder-editor/lib/components/form-builder/types/territoriale.types.d.ts +170 -0
- package/form-builder-editor/lib/components/form-builder/types/validation.types.d.ts +179 -0
- package/form-builder-editor/lib/components/form-builder-editor/form-builder-editor.component.d.ts +117 -0
- package/form-builder-editor/lib/components/form-builder-editor/form-builder-editor.service.d.ts +38 -0
- package/form-builder-editor/lib/components/form-builder-editor/index.d.ts +17 -0
- package/form-builder-editor/lib/components/form-builder-editor/presets/editor-presets.d.ts +25 -0
- package/form-builder-editor/lib/components/form-builder-editor/services/editor-persistence.service.d.ts +42 -0
- package/form-builder-editor/lib/components/form-builder-editor/services/editor-state.service.d.ts +66 -0
- package/form-builder-editor/lib/components/form-builder-editor/services/field-factory.service.d.ts +28 -0
- package/form-builder-editor/lib/components/form-builder-editor/sub-components/condition-editor/condition-editor.component.d.ts +139 -0
- package/form-builder-editor/lib/components/form-builder-editor/sub-components/editor-toolbar/editor-toolbar.component.d.ts +43 -0
- package/form-builder-editor/lib/components/form-builder-editor/sub-components/field-config-panel/field-config-panel.component.d.ts +83 -0
- package/form-builder-editor/lib/components/form-builder-editor/sub-components/field-palette/field-palette.component.d.ts +40 -0
- package/form-builder-editor/lib/components/form-builder-editor/sub-components/form-values-panel/form-values-panel.component.d.ts +51 -0
- package/form-builder-editor/lib/components/form-builder-editor/sub-components/options-editor/options-editor.component.d.ts +63 -0
- package/form-builder-editor/lib/components/form-builder-editor/sub-components/preview-container/preview-container.component.d.ts +68 -0
- package/form-builder-editor/lib/components/form-builder-editor/sub-components/section-editor/section-editor.component.d.ts +82 -0
- package/form-builder-editor/lib/components/form-builder-editor/sub-components/validation-editor/validation-editor.component.d.ts +112 -0
- package/form-builder-editor/lib/components/form-builder-editor/types/editor.types.d.ts +124 -0
- package/form-builder-editor/lib/components/modal/confirm-dialog.component.d.ts +46 -0
- package/form-builder-editor/lib/components/modal/index.d.ts +4 -0
- package/form-builder-editor/lib/components/modal/modal.component.d.ts +44 -0
- package/form-builder-editor/lib/components/modal/modal.service.d.ts +93 -0
- package/form-builder-editor/lib/components/modal/modal.types.d.ts +110 -0
- package/form-builder-editor/lib/core/logging/logger.config.d.ts +18 -0
- package/form-builder-editor/lib/core/logging/logger.service.d.ts +75 -0
- package/form-builder-editor/lib/core/logging/logger.types.d.ts +70 -0
- package/form-builder-editor/lib/core/types/index.d.ts +133 -0
- package/http/entry-http.d.ts +4 -0
- package/http/index.d.ts +5 -0
- package/http/lib/components/blackbox/blackbox-fingerprint.service.d.ts +36 -0
- package/http/lib/components/blackbox/blackbox-storage.service.d.ts +55 -0
- package/http/lib/components/blackbox/blackbox.service.d.ts +144 -0
- package/http/lib/components/blackbox/blackbox.types.d.ts +238 -0
- package/http/lib/components/http/http-message.handler.d.ts +59 -0
- package/http/lib/components/http/http.service.d.ts +98 -0
- package/http/lib/components/http/http.tokens.d.ts +29 -0
- package/http/lib/components/http/http.types.d.ts +50 -0
- package/http/lib/components/http/index.d.ts +17 -0
- package/http/lib/components/layout-builder/layout-builder.types.d.ts +436 -0
- package/http/lib/components/layout-builder/layout.service.d.ts +100 -0
- package/http/lib/components/toast/toast-container.component.d.ts +27 -0
- package/http/lib/components/toast/toast.component.d.ts +37 -0
- package/http/lib/components/toast/toast.service.d.ts +39 -0
- package/http/lib/components/toast/toast.types.d.ts +52 -0
- package/http/lib/core/types/index.d.ts +133 -0
- package/http/lib/core/utils/index.d.ts +60 -0
- package/layout-builder/entry-layout-builder.d.ts +4 -0
- package/layout-builder/index.d.ts +5 -0
- package/layout-builder/lib/components/layout-builder/index.d.ts +16 -0
- package/layout-builder/lib/components/layout-builder/layout-builder.component.d.ts +85 -0
- package/layout-builder/lib/components/layout-builder/layout-builder.types.d.ts +436 -0
- package/layout-builder/lib/components/layout-builder/layout.service.d.ts +100 -0
- package/layout-builder/lib/core/types/index.d.ts +133 -0
- package/lib/components/accordion/accordion.component.d.ts +10 -3
- package/lib/components/accordion/accordion.types.d.ts +2 -0
- package/lib/components/base-layout/base-layout.component.d.ts +36 -11
- package/lib/components/base-layout/base-layout.types.d.ts +14 -0
- package/lib/components/base-layout/index.d.ts +1 -1
- package/lib/components/blackbox/blackbox-debugger.component.d.ts +80 -0
- package/lib/components/blackbox/blackbox-debugger.service.d.ts +34 -0
- package/lib/components/blackbox/blackbox-fingerprint.service.d.ts +36 -0
- package/lib/components/blackbox/blackbox-json-viewer.component.d.ts +18 -0
- package/lib/components/blackbox/blackbox-storage.service.d.ts +55 -0
- package/lib/components/blackbox/blackbox.interceptor.d.ts +38 -0
- package/lib/components/blackbox/blackbox.service.d.ts +144 -0
- package/lib/components/blackbox/blackbox.types.d.ts +238 -0
- package/lib/components/blackbox/index.d.ts +23 -0
- package/lib/components/blackbox/ui-track.directive.d.ts +20 -0
- package/lib/components/button/button-area.component.d.ts +6 -1
- package/lib/components/button/button.component.d.ts +8 -2
- package/lib/components/button/button.types.d.ts +5 -0
- package/lib/components/form-builder/form-builder.component.d.ts +125 -29
- package/lib/components/form-builder/form-wizard.component.d.ts +89 -4
- package/lib/components/form-builder/index.d.ts +7 -1
- package/lib/components/form-builder/services/form-error-state.matcher.d.ts +9 -0
- package/lib/components/form-builder/services/form-field-error.service.d.ts +38 -0
- package/lib/components/form-builder/services/nominatim-geocoding.service.d.ts +37 -0
- package/lib/components/form-builder/sub-components/error-summary/form-error-summary.component.d.ts +9 -6
- package/lib/components/form-builder/sub-components/form-fields/form-number-field.component.d.ts +42 -0
- package/lib/components/form-builder/sub-components/form-fields/form-radio-field.component.d.ts +45 -0
- package/lib/components/form-builder/sub-components/form-fields/form-select-field.component.d.ts +44 -0
- package/lib/components/form-builder/sub-components/form-fields/form-text-field.component.d.ts +62 -0
- package/lib/components/form-builder/sub-components/form-fields/form-textarea-field.component.d.ts +39 -0
- package/lib/components/form-builder/sub-components/form-fields/index.d.ts +5 -0
- package/lib/components/form-builder/sub-components/location-geocoded/location-geocoded.component.d.ts +84 -0
- package/lib/components/form-builder/types/field.types.d.ts +48 -6
- package/lib/components/form-builder/types/geocoded-location.types.d.ts +116 -0
- package/lib/components/form-builder/types/index.d.ts +4 -3
- package/lib/components/form-builder/types/schema.types.d.ts +83 -6
- package/lib/components/form-builder/types/validation.types.d.ts +5 -0
- package/lib/components/form-builder-editor/index.d.ts +2 -0
- package/lib/components/form-builder-editor/presets/editor-presets.d.ts +25 -0
- package/lib/components/http/http-message.handler.d.ts +59 -0
- package/lib/components/http/http.service.d.ts +98 -0
- package/lib/components/http/http.tokens.d.ts +29 -0
- package/lib/components/http/http.types.d.ts +50 -0
- package/lib/components/http/index.d.ts +17 -0
- package/lib/components/page-header/breadcrumb.service.d.ts +2 -2
- package/lib/components/table/table.types.d.ts +5 -0
- package/lib/components/toast/index.d.ts +17 -0
- package/lib/components/toast/toast-container.component.d.ts +27 -0
- package/lib/components/toast/toast.component.d.ts +37 -0
- package/lib/components/toast/toast.service.d.ts +39 -0
- package/lib/components/toast/toast.types.d.ts +52 -0
- package/lib/core/logging/index.d.ts +8 -0
- package/lib/core/logging/logger.config.d.ts +18 -0
- package/lib/core/logging/logger.service.d.ts +75 -0
- package/lib/core/logging/logger.types.d.ts +70 -0
- package/lib/core/types/index.d.ts +76 -0
- package/lib/core/utils/index.d.ts +31 -0
- package/lib/version/ng-ui-system-version.d.ts +9 -0
- package/modal/entry-modal.d.ts +4 -0
- package/modal/index.d.ts +5 -0
- package/modal/lib/components/button/button.component.d.ts +61 -0
- package/modal/lib/components/button/button.types.d.ts +75 -0
- package/modal/lib/components/modal/confirm-dialog.component.d.ts +46 -0
- package/modal/lib/components/modal/index.d.ts +4 -0
- package/modal/lib/components/modal/modal.component.d.ts +44 -0
- package/modal/lib/components/modal/modal.service.d.ts +93 -0
- package/modal/lib/components/modal/modal.types.d.ts +110 -0
- package/modal/lib/core/types/index.d.ts +133 -0
- package/package.json +93 -8
- package/page-header/entry-page-header.d.ts +4 -0
- package/page-header/index.d.ts +5 -0
- package/page-header/lib/components/page-header/breadcrumb.service.d.ts +96 -0
- package/page-header/lib/components/page-header/index.d.ts +16 -0
- package/page-header/lib/components/page-header/page-header.component.d.ts +59 -0
- package/page-header/lib/components/page-header/page-header.types.d.ts +96 -0
- package/public-api.d.ts +11 -6
- package/table/entry-table.d.ts +4 -0
- package/table/index.d.ts +5 -0
- package/table/lib/components/table/index.d.ts +2 -0
- package/table/lib/components/table/paginated-table.component.d.ts +85 -0
- package/table/lib/components/table/table.types.d.ts +86 -0
- package/table/lib/core/utils/index.d.ts +60 -0
- package/toast/entry-toast.d.ts +4 -0
- package/toast/index.d.ts +5 -0
- package/toast/lib/components/toast/index.d.ts +17 -0
- package/toast/lib/components/toast/toast-container.component.d.ts +27 -0
- package/toast/lib/components/toast/toast.component.d.ts +37 -0
- package/toast/lib/components/toast/toast.service.d.ts +39 -0
- package/toast/lib/components/toast/toast.types.d.ts +52 -0
- package/toast/lib/core/types/index.d.ts +133 -0
- package/toast/lib/core/utils/index.d.ts +60 -0
|
@@ -0,0 +1,421 @@
|
|
|
1
|
+
import { Component, Input, Output, EventEmitter, ChangeDetectionStrategy, ViewEncapsulation, } from '@angular/core';
|
|
2
|
+
import { NgTemplateOutlet } from '@angular/common';
|
|
3
|
+
import { MatPaginatorModule } from '@angular/material/paginator';
|
|
4
|
+
import { MatTooltipModule } from '@angular/material/tooltip';
|
|
5
|
+
import { LucideAngularModule } from 'lucide-angular';
|
|
6
|
+
import { uiUniqueId } from '../../core/utils';
|
|
7
|
+
import * as i0 from "@angular/core";
|
|
8
|
+
import * as i1 from "@angular/material/paginator";
|
|
9
|
+
import * as i2 from "@angular/material/tooltip";
|
|
10
|
+
import * as i3 from "lucide-angular";
|
|
11
|
+
/**
|
|
12
|
+
* Tabella paginata standalone con ordinamento, colonne sticky,
|
|
13
|
+
* ellipsis automatica, stato di caricamento e template personalizzabili.
|
|
14
|
+
*
|
|
15
|
+
* Progettata per paginazione server-side: emette eventi di cambio pagina
|
|
16
|
+
* e ordinamento che il componente genitore gestisce per il recupero dati.
|
|
17
|
+
*
|
|
18
|
+
* @selector ui-paginated-table
|
|
19
|
+
*
|
|
20
|
+
* @example
|
|
21
|
+
* ```html
|
|
22
|
+
* <ui-paginated-table
|
|
23
|
+
* [data]="users"
|
|
24
|
+
* [columns]="columns"
|
|
25
|
+
* [totalItems]="totalUsers"
|
|
26
|
+
* [pageSize]="10"
|
|
27
|
+
* [loading]="isLoading"
|
|
28
|
+
* (pageChange)="onPageChange($event)"
|
|
29
|
+
* (sortChange)="onSort($event)"
|
|
30
|
+
* (rowClick)="onUserClick($event)"
|
|
31
|
+
* />
|
|
32
|
+
* ```
|
|
33
|
+
*/
|
|
34
|
+
export class UiPaginatedTableComponent {
|
|
35
|
+
constructor() {
|
|
36
|
+
/** @internal Identificatore univoco per l'istanza. */
|
|
37
|
+
this.tableId = uiUniqueId('ui-table');
|
|
38
|
+
// ── Inputs dati ──────────────────────────────────────────────
|
|
39
|
+
/** Array di righe da visualizzare nella pagina corrente. */
|
|
40
|
+
this.data = [];
|
|
41
|
+
/** Definizione delle colonne della tabella. */
|
|
42
|
+
this.columns = [];
|
|
43
|
+
/** Numero totale di elementi (per la paginazione server-side). */
|
|
44
|
+
this.totalItems = 0;
|
|
45
|
+
// ── Inputs paginazione ───────────────────────────────────────
|
|
46
|
+
/** Numero di righe per pagina. */
|
|
47
|
+
this.pageSize = 10;
|
|
48
|
+
/** Opzioni selezionabili per il numero di righe per pagina. */
|
|
49
|
+
this.pageSizeOptions = [5, 10, 25, 50];
|
|
50
|
+
/** Indice della pagina corrente (0-based). */
|
|
51
|
+
this.pageIndex = 0;
|
|
52
|
+
/** Mostra il paginatore sotto la tabella. */
|
|
53
|
+
this.showPaginator = true;
|
|
54
|
+
// ── Inputs stato ─────────────────────────────────────────────
|
|
55
|
+
/** Mostra l'overlay di caricamento sopra la tabella. */
|
|
56
|
+
this.loading = false;
|
|
57
|
+
/** Messaggio visualizzato quando non ci sono dati. */
|
|
58
|
+
this.emptyMessage = 'Nessun risultato trovato';
|
|
59
|
+
/** Template personalizzato per lo stato vuoto. */
|
|
60
|
+
this.emptyTemplate = null;
|
|
61
|
+
// ── Outputs ──────────────────────────────────────────────────
|
|
62
|
+
/** Emesso quando l'utente cambia pagina o numero di righe. */
|
|
63
|
+
this.pageChange = new EventEmitter();
|
|
64
|
+
/** Emesso quando l'utente ordina una colonna. */
|
|
65
|
+
this.sortChange = new EventEmitter();
|
|
66
|
+
/** Emesso quando l'utente clicca su una riga. */
|
|
67
|
+
this.rowClick = new EventEmitter();
|
|
68
|
+
// ── Stato ordinamento interno ────────────────────────────────
|
|
69
|
+
/** @internal Colonna attualmente ordinata. */
|
|
70
|
+
this.currentSortColumn = null;
|
|
71
|
+
/** @internal Direzione ordinamento corrente. */
|
|
72
|
+
this.currentSortDirection = null;
|
|
73
|
+
}
|
|
74
|
+
// ── Gestione header ──────────────────────────────────────────
|
|
75
|
+
/** @internal Gestisce il click su un'intestazione di colonna. */
|
|
76
|
+
onHeaderClick(col) {
|
|
77
|
+
if (!col.sortable)
|
|
78
|
+
return;
|
|
79
|
+
if (this.currentSortColumn === col.property) {
|
|
80
|
+
this.currentSortDirection = this.nextSortDirection(this.currentSortDirection);
|
|
81
|
+
if (this.currentSortDirection === null) {
|
|
82
|
+
this.currentSortColumn = null;
|
|
83
|
+
}
|
|
84
|
+
}
|
|
85
|
+
else {
|
|
86
|
+
this.currentSortColumn = col.property;
|
|
87
|
+
this.currentSortDirection = 'asc';
|
|
88
|
+
}
|
|
89
|
+
this.sortChange.emit({
|
|
90
|
+
column: col.property,
|
|
91
|
+
direction: this.currentSortDirection,
|
|
92
|
+
sortType: col.sortType || 'text',
|
|
93
|
+
});
|
|
94
|
+
}
|
|
95
|
+
/** @internal Indica se la colonna e attualmente ordinata. */
|
|
96
|
+
isColumnSorted(col) {
|
|
97
|
+
return col.sortable === true && col.property === this.currentSortColumn && this.currentSortDirection !== null;
|
|
98
|
+
}
|
|
99
|
+
/** @internal Attributo aria-sort per accessibilita. */
|
|
100
|
+
getAriaSort(col) {
|
|
101
|
+
if (!col.sortable)
|
|
102
|
+
return null;
|
|
103
|
+
if (!this.isColumnSorted(col))
|
|
104
|
+
return 'none';
|
|
105
|
+
return this.currentSortDirection === 'asc' ? 'ascending' : 'descending';
|
|
106
|
+
}
|
|
107
|
+
// ── Gestione paginazione ─────────────────────────────────────
|
|
108
|
+
/** @internal Gestisce il cambio pagina dal MatPaginator. */
|
|
109
|
+
onPageChange(event) {
|
|
110
|
+
this.pageIndex = event.pageIndex;
|
|
111
|
+
this.pageSize = event.pageSize;
|
|
112
|
+
this.pageChange.emit({
|
|
113
|
+
pageIndex: event.pageIndex,
|
|
114
|
+
pageSize: event.pageSize,
|
|
115
|
+
length: event.length,
|
|
116
|
+
});
|
|
117
|
+
}
|
|
118
|
+
// ── Gestione righe ───────────────────────────────────────────
|
|
119
|
+
/** @internal Gestisce il click su una riga. */
|
|
120
|
+
onRowClick(row) {
|
|
121
|
+
this.rowClick.emit(row);
|
|
122
|
+
}
|
|
123
|
+
/** @internal Track function per il loop @for sulle righe. */
|
|
124
|
+
trackRow(index, row) {
|
|
125
|
+
return row['id'] ?? index;
|
|
126
|
+
}
|
|
127
|
+
// ── Ellipsis ─────────────────────────────────────────────────
|
|
128
|
+
/** @internal Verifica se il testo deve essere troncato. */
|
|
129
|
+
shouldTruncate(value, col) {
|
|
130
|
+
if (value == null)
|
|
131
|
+
return false;
|
|
132
|
+
return String(value).length > (col.maxLength ?? 50);
|
|
133
|
+
}
|
|
134
|
+
/** @internal Tronca il testo con ellipsis. */
|
|
135
|
+
truncateText(value, col) {
|
|
136
|
+
if (value == null)
|
|
137
|
+
return '';
|
|
138
|
+
const str = String(value);
|
|
139
|
+
const max = col.maxLength ?? 50;
|
|
140
|
+
return str.length > max ? str.substring(0, max) + '\u2026' : str;
|
|
141
|
+
}
|
|
142
|
+
// ── Classi CSS ───────────────────────────────────────────────
|
|
143
|
+
/** @internal Classi CSS per l'header di colonna. */
|
|
144
|
+
getHeaderClasses(col) {
|
|
145
|
+
return [
|
|
146
|
+
'ui-table__th',
|
|
147
|
+
col.sortable ? 'ui-table__th--sortable' : '',
|
|
148
|
+
this.isColumnSorted(col) ? 'ui-table__th--sorted' : '',
|
|
149
|
+
col.sticky ? 'ui-table__th--sticky' : '',
|
|
150
|
+
]
|
|
151
|
+
.filter(Boolean)
|
|
152
|
+
.join(' ');
|
|
153
|
+
}
|
|
154
|
+
/** @internal Classi CSS per una cella. */
|
|
155
|
+
getCellClasses(col) {
|
|
156
|
+
return ['ui-table__td', col.sticky ? 'ui-table__td--sticky' : ''].filter(Boolean).join(' ');
|
|
157
|
+
}
|
|
158
|
+
// ── Utilita private ──────────────────────────────────────────
|
|
159
|
+
/** @internal Calcola la prossima direzione nel ciclo asc -> desc -> null. */
|
|
160
|
+
nextSortDirection(current) {
|
|
161
|
+
const cycle = ['asc', 'desc', null];
|
|
162
|
+
return cycle[(cycle.indexOf(current) + 1) % cycle.length];
|
|
163
|
+
}
|
|
164
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: UiPaginatedTableComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
165
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.2.14", type: UiPaginatedTableComponent, isStandalone: true, selector: "ui-paginated-table", inputs: { data: "data", columns: "columns", totalItems: "totalItems", pageSize: "pageSize", pageSizeOptions: "pageSizeOptions", pageIndex: "pageIndex", showPaginator: "showPaginator", loading: "loading", emptyMessage: "emptyMessage", emptyTemplate: "emptyTemplate" }, outputs: { pageChange: "pageChange", sortChange: "sortChange", rowClick: "rowClick" }, host: { classAttribute: "ui-paginated-table-host" }, ngImport: i0, template: `
|
|
166
|
+
<div class="ui-table" [attr.id]="tableId">
|
|
167
|
+
<div class="ui-table__container">
|
|
168
|
+
@if (data.length > 0) {
|
|
169
|
+
<table class="ui-table__table" role="grid" [attr.aria-busy]="loading">
|
|
170
|
+
<thead>
|
|
171
|
+
<tr>
|
|
172
|
+
@for (col of columns; track col.property) {
|
|
173
|
+
<th
|
|
174
|
+
[class]="getHeaderClasses(col)"
|
|
175
|
+
[style.width]="col.width || null"
|
|
176
|
+
[style.text-align]="col.align || 'left'"
|
|
177
|
+
[attr.aria-sort]="getAriaSort(col)"
|
|
178
|
+
[attr.role]="col.sortable ? 'columnheader button' : 'columnheader'"
|
|
179
|
+
[attr.tabindex]="col.sortable ? 0 : null"
|
|
180
|
+
(click)="onHeaderClick(col)"
|
|
181
|
+
(keydown.enter)="onHeaderClick(col)"
|
|
182
|
+
(keydown.space)="onHeaderClick(col); $event.preventDefault()"
|
|
183
|
+
>
|
|
184
|
+
<div class="ui-table__header-content">
|
|
185
|
+
@if (col.headerTemplate) {
|
|
186
|
+
<ng-container
|
|
187
|
+
[ngTemplateOutlet]="col.headerTemplate"
|
|
188
|
+
[ngTemplateOutletContext]="{ $implicit: col, column: col }"
|
|
189
|
+
/>
|
|
190
|
+
} @else {
|
|
191
|
+
<span class="ui-table__header-text">{{ col.header }}</span>
|
|
192
|
+
}
|
|
193
|
+
@if (col.sortable) {
|
|
194
|
+
<span class="ui-table__sort-icon" aria-hidden="true">
|
|
195
|
+
@if (isColumnSorted(col)) {
|
|
196
|
+
@if (currentSortDirection === 'asc') {
|
|
197
|
+
<lucide-icon name="chevron-up" [size]="14" />
|
|
198
|
+
} @else {
|
|
199
|
+
<lucide-icon name="chevron-down" [size]="14" />
|
|
200
|
+
}
|
|
201
|
+
} @else {
|
|
202
|
+
<span class="ui-table__sort-hint">
|
|
203
|
+
<lucide-icon name="chevron-up" [size]="10" />
|
|
204
|
+
<lucide-icon name="chevron-down" [size]="10" />
|
|
205
|
+
</span>
|
|
206
|
+
}
|
|
207
|
+
</span>
|
|
208
|
+
}
|
|
209
|
+
</div>
|
|
210
|
+
</th>
|
|
211
|
+
}
|
|
212
|
+
</tr>
|
|
213
|
+
</thead>
|
|
214
|
+
<tbody>
|
|
215
|
+
@for (row of data; track trackRow($index, row)) {
|
|
216
|
+
<tr
|
|
217
|
+
class="ui-table__row"
|
|
218
|
+
[class.ui-table__row--clickable]="rowClick.observed"
|
|
219
|
+
(click)="onRowClick(row)"
|
|
220
|
+
[attr.tabindex]="rowClick.observed ? 0 : null"
|
|
221
|
+
(keydown.enter)="rowClick.observed ? onRowClick(row) : null"
|
|
222
|
+
>
|
|
223
|
+
@for (col of columns; track col.property) {
|
|
224
|
+
<td
|
|
225
|
+
[class]="getCellClasses(col)"
|
|
226
|
+
[style.text-align]="col.align || 'left'"
|
|
227
|
+
>
|
|
228
|
+
@if (col.template) {
|
|
229
|
+
<ng-container
|
|
230
|
+
[ngTemplateOutlet]="col.template"
|
|
231
|
+
[ngTemplateOutletContext]="{ $implicit: row, column: col }"
|
|
232
|
+
/>
|
|
233
|
+
} @else if (col.ellipsis && shouldTruncate(row[col.property], col)) {
|
|
234
|
+
<span
|
|
235
|
+
class="ui-table__ellipsis"
|
|
236
|
+
[matTooltip]="'' + row[col.property]"
|
|
237
|
+
>{{ truncateText(row[col.property], col) }}</span>
|
|
238
|
+
} @else {
|
|
239
|
+
{{ row[col.property] }}
|
|
240
|
+
}
|
|
241
|
+
</td>
|
|
242
|
+
}
|
|
243
|
+
</tr>
|
|
244
|
+
}
|
|
245
|
+
</tbody>
|
|
246
|
+
</table>
|
|
247
|
+
} @else if (!loading) {
|
|
248
|
+
<div class="ui-table__empty" role="status">
|
|
249
|
+
@if (emptyTemplate) {
|
|
250
|
+
<ng-container [ngTemplateOutlet]="emptyTemplate" />
|
|
251
|
+
} @else {
|
|
252
|
+
<lucide-icon name="info" [size]="24" class="ui-table__empty-icon" aria-hidden="true" />
|
|
253
|
+
<p class="ui-table__empty-text">{{ emptyMessage }}</p>
|
|
254
|
+
}
|
|
255
|
+
</div>
|
|
256
|
+
}
|
|
257
|
+
|
|
258
|
+
@if (loading) {
|
|
259
|
+
<div class="ui-table__loading" aria-live="polite">
|
|
260
|
+
<span class="ui-table__spinner" aria-hidden="true"></span>
|
|
261
|
+
<span class="ui-table__sr-only">Caricamento in corso</span>
|
|
262
|
+
</div>
|
|
263
|
+
}
|
|
264
|
+
</div>
|
|
265
|
+
|
|
266
|
+
@if (showPaginator && totalItems > 0) {
|
|
267
|
+
<mat-paginator
|
|
268
|
+
[length]="totalItems"
|
|
269
|
+
[pageSize]="pageSize"
|
|
270
|
+
[pageSizeOptions]="pageSizeOptions"
|
|
271
|
+
[pageIndex]="pageIndex"
|
|
272
|
+
(page)="onPageChange($event)"
|
|
273
|
+
showFirstLastButtons
|
|
274
|
+
/>
|
|
275
|
+
}
|
|
276
|
+
</div>
|
|
277
|
+
`, isInline: true, styles: [".ui-paginated-table-host{display:block;width:100%}.ui-table{width:100%;position:relative}.ui-table__container{position:relative;overflow-x:auto;min-height:80px;border:1px solid var(--ui-color-border);border-radius:var(--ui-radius-lg);background:var(--ui-color-surface)}.ui-table__table{width:100%;border-collapse:collapse;font-family:var(--ui-font-family);font-size:var(--ui-font-size-sm)}.ui-table__th{padding:var(--ui-spacing-3) var(--ui-spacing-4);border-bottom:2px solid var(--ui-color-border);background:var(--ui-color-bg-subtle);font-weight:var(--ui-font-weight-semibold);color:var(--ui-color-text-secondary);text-align:left;white-space:nowrap;-webkit-user-select:none;user-select:none;vertical-align:middle}.ui-table__th--sortable{cursor:pointer;transition:background-color var(--ui-transition-fast),color var(--ui-transition-fast)}.ui-table__th--sortable:focus{outline:none}.ui-table__th--sortable:focus-visible{outline:var(--ui-focus-ring-width) solid var(--ui-focus-ring-color);outline-offset:var(--ui-focus-ring-offset)}.ui-table__th--sortable:hover{background:var(--ui-color-surface-hover);color:var(--ui-color-text)}.ui-table__th--sorted{color:var(--ui-color-primary);background:var(--ui-color-primary-light)}.ui-table__th--sorted:hover{background:var(--ui-color-primary-light)}.ui-table__th--sticky{position:sticky;right:0;z-index:2;box-shadow:-2px 0 5px #00000014}.ui-table__header-content{display:flex;align-items:center;gap:var(--ui-spacing-1)}.ui-table__header-text{flex:1}.ui-table__sort-icon{display:inline-flex;align-items:center;color:var(--ui-color-text-muted);transition:color var(--ui-transition-fast)}.ui-table__th--sorted .ui-table__sort-icon{color:var(--ui-color-primary)}.ui-table__sort-hint{display:flex;flex-direction:column;align-items:center;line-height:0;opacity:.4}.ui-table__th--sortable:hover .ui-table__sort-hint{opacity:.7}.ui-table__td{padding:var(--ui-spacing-3) var(--ui-spacing-4);border-bottom:1px solid var(--ui-color-border);color:var(--ui-color-text);vertical-align:middle;word-break:break-word}.ui-table__td--sticky{position:sticky;right:0;background:var(--ui-color-surface);z-index:1;box-shadow:-2px 0 5px #00000014}.ui-table__row{transition:background-color var(--ui-transition-fast)}.ui-table__row:hover{background:var(--ui-color-surface-hover)}.ui-table__row--clickable{cursor:pointer}.ui-table__row--clickable:focus-visible{outline:var(--ui-focus-ring-width) solid var(--ui-focus-ring-color);outline-offset:var(--ui-focus-ring-offset);outline-offset:-2px}.ui-table__row:last-child .ui-table__td{border-bottom:none}.ui-table__row:hover .ui-table__td--sticky{background:var(--ui-color-surface-hover)}.ui-table__ellipsis{cursor:help}.ui-table__ellipsis:hover{text-decoration:underline;text-decoration-style:dotted;text-underline-offset:2px}.ui-table__empty{display:flex;flex-direction:column;align-items:center;justify-content:center;padding:var(--ui-spacing-10) var(--ui-spacing-4);gap:var(--ui-spacing-2)}.ui-table__empty-icon{color:var(--ui-color-text-muted)}.ui-table__empty-text{margin:0;font-size:var(--ui-font-size-sm);color:var(--ui-color-text-muted)}.ui-table__loading{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;background:#ffffffb3;z-index:3;border-radius:var(--ui-radius-lg)}.ui-table__spinner{width:24px;height:24px;border:3px solid var(--ui-color-primary-light);border-top-color:var(--ui-color-primary);border-radius:50%;animation:ui-table-spin .7s linear infinite}@keyframes ui-table-spin{to{transform:rotate(360deg)}}.ui-table__sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.ui-paginated-table-host mat-paginator{margin-top:var(--ui-spacing-3);background:transparent;font-family:var(--ui-font-family);border-radius:var(--ui-radius-md)}@media (max-width: 768px){.ui-table__th,.ui-table__td{padding:var(--ui-spacing-2) var(--ui-spacing-3);font-size:var(--ui-font-size-xs)}}\n"], dependencies: [{ kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "ngmodule", type: MatPaginatorModule }, { kind: "component", type: i1.MatPaginator, selector: "mat-paginator", inputs: ["color", "pageIndex", "length", "pageSize", "pageSizeOptions", "hidePageSize", "showFirstLastButtons", "selectConfig", "disabled"], outputs: ["page"], exportAs: ["matPaginator"] }, { kind: "ngmodule", type: MatTooltipModule }, { kind: "directive", type: i2.MatTooltip, selector: "[matTooltip]", inputs: ["matTooltipPosition", "matTooltipPositionAtOrigin", "matTooltipDisabled", "matTooltipShowDelay", "matTooltipHideDelay", "matTooltipTouchGestures", "matTooltip", "matTooltipClass"], exportAs: ["matTooltip"] }, { kind: "ngmodule", type: LucideAngularModule }, { kind: "component", type: i3.LucideAngularComponent, selector: "lucide-angular, lucide-icon, i-lucide, span-lucide", inputs: ["class", "name", "img", "color", "absoluteStrokeWidth", "size", "strokeWidth"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
|
|
278
|
+
}
|
|
279
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: UiPaginatedTableComponent, decorators: [{
|
|
280
|
+
type: Component,
|
|
281
|
+
args: [{ selector: 'ui-paginated-table', standalone: true, imports: [NgTemplateOutlet, MatPaginatorModule, MatTooltipModule, LucideAngularModule], changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.None, host: { class: 'ui-paginated-table-host' }, template: `
|
|
282
|
+
<div class="ui-table" [attr.id]="tableId">
|
|
283
|
+
<div class="ui-table__container">
|
|
284
|
+
@if (data.length > 0) {
|
|
285
|
+
<table class="ui-table__table" role="grid" [attr.aria-busy]="loading">
|
|
286
|
+
<thead>
|
|
287
|
+
<tr>
|
|
288
|
+
@for (col of columns; track col.property) {
|
|
289
|
+
<th
|
|
290
|
+
[class]="getHeaderClasses(col)"
|
|
291
|
+
[style.width]="col.width || null"
|
|
292
|
+
[style.text-align]="col.align || 'left'"
|
|
293
|
+
[attr.aria-sort]="getAriaSort(col)"
|
|
294
|
+
[attr.role]="col.sortable ? 'columnheader button' : 'columnheader'"
|
|
295
|
+
[attr.tabindex]="col.sortable ? 0 : null"
|
|
296
|
+
(click)="onHeaderClick(col)"
|
|
297
|
+
(keydown.enter)="onHeaderClick(col)"
|
|
298
|
+
(keydown.space)="onHeaderClick(col); $event.preventDefault()"
|
|
299
|
+
>
|
|
300
|
+
<div class="ui-table__header-content">
|
|
301
|
+
@if (col.headerTemplate) {
|
|
302
|
+
<ng-container
|
|
303
|
+
[ngTemplateOutlet]="col.headerTemplate"
|
|
304
|
+
[ngTemplateOutletContext]="{ $implicit: col, column: col }"
|
|
305
|
+
/>
|
|
306
|
+
} @else {
|
|
307
|
+
<span class="ui-table__header-text">{{ col.header }}</span>
|
|
308
|
+
}
|
|
309
|
+
@if (col.sortable) {
|
|
310
|
+
<span class="ui-table__sort-icon" aria-hidden="true">
|
|
311
|
+
@if (isColumnSorted(col)) {
|
|
312
|
+
@if (currentSortDirection === 'asc') {
|
|
313
|
+
<lucide-icon name="chevron-up" [size]="14" />
|
|
314
|
+
} @else {
|
|
315
|
+
<lucide-icon name="chevron-down" [size]="14" />
|
|
316
|
+
}
|
|
317
|
+
} @else {
|
|
318
|
+
<span class="ui-table__sort-hint">
|
|
319
|
+
<lucide-icon name="chevron-up" [size]="10" />
|
|
320
|
+
<lucide-icon name="chevron-down" [size]="10" />
|
|
321
|
+
</span>
|
|
322
|
+
}
|
|
323
|
+
</span>
|
|
324
|
+
}
|
|
325
|
+
</div>
|
|
326
|
+
</th>
|
|
327
|
+
}
|
|
328
|
+
</tr>
|
|
329
|
+
</thead>
|
|
330
|
+
<tbody>
|
|
331
|
+
@for (row of data; track trackRow($index, row)) {
|
|
332
|
+
<tr
|
|
333
|
+
class="ui-table__row"
|
|
334
|
+
[class.ui-table__row--clickable]="rowClick.observed"
|
|
335
|
+
(click)="onRowClick(row)"
|
|
336
|
+
[attr.tabindex]="rowClick.observed ? 0 : null"
|
|
337
|
+
(keydown.enter)="rowClick.observed ? onRowClick(row) : null"
|
|
338
|
+
>
|
|
339
|
+
@for (col of columns; track col.property) {
|
|
340
|
+
<td
|
|
341
|
+
[class]="getCellClasses(col)"
|
|
342
|
+
[style.text-align]="col.align || 'left'"
|
|
343
|
+
>
|
|
344
|
+
@if (col.template) {
|
|
345
|
+
<ng-container
|
|
346
|
+
[ngTemplateOutlet]="col.template"
|
|
347
|
+
[ngTemplateOutletContext]="{ $implicit: row, column: col }"
|
|
348
|
+
/>
|
|
349
|
+
} @else if (col.ellipsis && shouldTruncate(row[col.property], col)) {
|
|
350
|
+
<span
|
|
351
|
+
class="ui-table__ellipsis"
|
|
352
|
+
[matTooltip]="'' + row[col.property]"
|
|
353
|
+
>{{ truncateText(row[col.property], col) }}</span>
|
|
354
|
+
} @else {
|
|
355
|
+
{{ row[col.property] }}
|
|
356
|
+
}
|
|
357
|
+
</td>
|
|
358
|
+
}
|
|
359
|
+
</tr>
|
|
360
|
+
}
|
|
361
|
+
</tbody>
|
|
362
|
+
</table>
|
|
363
|
+
} @else if (!loading) {
|
|
364
|
+
<div class="ui-table__empty" role="status">
|
|
365
|
+
@if (emptyTemplate) {
|
|
366
|
+
<ng-container [ngTemplateOutlet]="emptyTemplate" />
|
|
367
|
+
} @else {
|
|
368
|
+
<lucide-icon name="info" [size]="24" class="ui-table__empty-icon" aria-hidden="true" />
|
|
369
|
+
<p class="ui-table__empty-text">{{ emptyMessage }}</p>
|
|
370
|
+
}
|
|
371
|
+
</div>
|
|
372
|
+
}
|
|
373
|
+
|
|
374
|
+
@if (loading) {
|
|
375
|
+
<div class="ui-table__loading" aria-live="polite">
|
|
376
|
+
<span class="ui-table__spinner" aria-hidden="true"></span>
|
|
377
|
+
<span class="ui-table__sr-only">Caricamento in corso</span>
|
|
378
|
+
</div>
|
|
379
|
+
}
|
|
380
|
+
</div>
|
|
381
|
+
|
|
382
|
+
@if (showPaginator && totalItems > 0) {
|
|
383
|
+
<mat-paginator
|
|
384
|
+
[length]="totalItems"
|
|
385
|
+
[pageSize]="pageSize"
|
|
386
|
+
[pageSizeOptions]="pageSizeOptions"
|
|
387
|
+
[pageIndex]="pageIndex"
|
|
388
|
+
(page)="onPageChange($event)"
|
|
389
|
+
showFirstLastButtons
|
|
390
|
+
/>
|
|
391
|
+
}
|
|
392
|
+
</div>
|
|
393
|
+
`, styles: [".ui-paginated-table-host{display:block;width:100%}.ui-table{width:100%;position:relative}.ui-table__container{position:relative;overflow-x:auto;min-height:80px;border:1px solid var(--ui-color-border);border-radius:var(--ui-radius-lg);background:var(--ui-color-surface)}.ui-table__table{width:100%;border-collapse:collapse;font-family:var(--ui-font-family);font-size:var(--ui-font-size-sm)}.ui-table__th{padding:var(--ui-spacing-3) var(--ui-spacing-4);border-bottom:2px solid var(--ui-color-border);background:var(--ui-color-bg-subtle);font-weight:var(--ui-font-weight-semibold);color:var(--ui-color-text-secondary);text-align:left;white-space:nowrap;-webkit-user-select:none;user-select:none;vertical-align:middle}.ui-table__th--sortable{cursor:pointer;transition:background-color var(--ui-transition-fast),color var(--ui-transition-fast)}.ui-table__th--sortable:focus{outline:none}.ui-table__th--sortable:focus-visible{outline:var(--ui-focus-ring-width) solid var(--ui-focus-ring-color);outline-offset:var(--ui-focus-ring-offset)}.ui-table__th--sortable:hover{background:var(--ui-color-surface-hover);color:var(--ui-color-text)}.ui-table__th--sorted{color:var(--ui-color-primary);background:var(--ui-color-primary-light)}.ui-table__th--sorted:hover{background:var(--ui-color-primary-light)}.ui-table__th--sticky{position:sticky;right:0;z-index:2;box-shadow:-2px 0 5px #00000014}.ui-table__header-content{display:flex;align-items:center;gap:var(--ui-spacing-1)}.ui-table__header-text{flex:1}.ui-table__sort-icon{display:inline-flex;align-items:center;color:var(--ui-color-text-muted);transition:color var(--ui-transition-fast)}.ui-table__th--sorted .ui-table__sort-icon{color:var(--ui-color-primary)}.ui-table__sort-hint{display:flex;flex-direction:column;align-items:center;line-height:0;opacity:.4}.ui-table__th--sortable:hover .ui-table__sort-hint{opacity:.7}.ui-table__td{padding:var(--ui-spacing-3) var(--ui-spacing-4);border-bottom:1px solid var(--ui-color-border);color:var(--ui-color-text);vertical-align:middle;word-break:break-word}.ui-table__td--sticky{position:sticky;right:0;background:var(--ui-color-surface);z-index:1;box-shadow:-2px 0 5px #00000014}.ui-table__row{transition:background-color var(--ui-transition-fast)}.ui-table__row:hover{background:var(--ui-color-surface-hover)}.ui-table__row--clickable{cursor:pointer}.ui-table__row--clickable:focus-visible{outline:var(--ui-focus-ring-width) solid var(--ui-focus-ring-color);outline-offset:var(--ui-focus-ring-offset);outline-offset:-2px}.ui-table__row:last-child .ui-table__td{border-bottom:none}.ui-table__row:hover .ui-table__td--sticky{background:var(--ui-color-surface-hover)}.ui-table__ellipsis{cursor:help}.ui-table__ellipsis:hover{text-decoration:underline;text-decoration-style:dotted;text-underline-offset:2px}.ui-table__empty{display:flex;flex-direction:column;align-items:center;justify-content:center;padding:var(--ui-spacing-10) var(--ui-spacing-4);gap:var(--ui-spacing-2)}.ui-table__empty-icon{color:var(--ui-color-text-muted)}.ui-table__empty-text{margin:0;font-size:var(--ui-font-size-sm);color:var(--ui-color-text-muted)}.ui-table__loading{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;background:#ffffffb3;z-index:3;border-radius:var(--ui-radius-lg)}.ui-table__spinner{width:24px;height:24px;border:3px solid var(--ui-color-primary-light);border-top-color:var(--ui-color-primary);border-radius:50%;animation:ui-table-spin .7s linear infinite}@keyframes ui-table-spin{to{transform:rotate(360deg)}}.ui-table__sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.ui-paginated-table-host mat-paginator{margin-top:var(--ui-spacing-3);background:transparent;font-family:var(--ui-font-family);border-radius:var(--ui-radius-md)}@media (max-width: 768px){.ui-table__th,.ui-table__td{padding:var(--ui-spacing-2) var(--ui-spacing-3);font-size:var(--ui-font-size-xs)}}\n"] }]
|
|
394
|
+
}], propDecorators: { data: [{
|
|
395
|
+
type: Input
|
|
396
|
+
}], columns: [{
|
|
397
|
+
type: Input
|
|
398
|
+
}], totalItems: [{
|
|
399
|
+
type: Input
|
|
400
|
+
}], pageSize: [{
|
|
401
|
+
type: Input
|
|
402
|
+
}], pageSizeOptions: [{
|
|
403
|
+
type: Input
|
|
404
|
+
}], pageIndex: [{
|
|
405
|
+
type: Input
|
|
406
|
+
}], showPaginator: [{
|
|
407
|
+
type: Input
|
|
408
|
+
}], loading: [{
|
|
409
|
+
type: Input
|
|
410
|
+
}], emptyMessage: [{
|
|
411
|
+
type: Input
|
|
412
|
+
}], emptyTemplate: [{
|
|
413
|
+
type: Input
|
|
414
|
+
}], pageChange: [{
|
|
415
|
+
type: Output
|
|
416
|
+
}], sortChange: [{
|
|
417
|
+
type: Output
|
|
418
|
+
}], rowClick: [{
|
|
419
|
+
type: Output
|
|
420
|
+
}] } });
|
|
421
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoicGFnaW5hdGVkLXRhYmxlLmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uLy4uLy4uL3BhY2thZ2VzL25nLXVpLXN5c3RlbS9zcmMvbGliL2NvbXBvbmVudHMvdGFibGUvcGFnaW5hdGVkLXRhYmxlLmNvbXBvbmVudC50cyJdLCJuYW1lcyI6W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IFthdHRyLnJvbGVdPVwiY29sLnNvcnRhYmxlID8gJ2NvbHVtbmhlYWRlciBidXR0b24nIDogJ2NvbHVtbmhlYWRlcidcIlxyXG4gICAgICAgICAgICAgICAgICAgIFthdHRyLnRhYmluZGV4XT1cImNvbC5zb3J0YWJsZSA/IDAgOiBudWxsXCJcclxuICAgICAgICAgICAgICAgICAgICAoY2xpY2spPVwib25IZWFkZXJDbGljayhjb2wpXCJcclxuICAgICAgICAgICAgICAgICAgICAoa2V5ZG93bi5lbnRlcik9XCJvbkhlYWRlckNsaWNrKGNvbClcIlxyXG4gICAgICAgICAgICAgICAgICAgIChrZXlkb3duLnNwYWNlKT1cIm9uSGVhZGVyQ2xpY2soY29sKTsgJGV2ZW50LnByZXZlbnREZWZhdWx0KClcIlxyXG4gICAgICAgICAgICAgICAgICA+XHJcbiAgICAgICAgICAgICAgICAgICAgPGRpdiBjbGFzcz1cInVpLXRhYmxlX19oZWFkZXItY29udGVudFwiPlxyXG4gICAgICAgICAgICAgICAgICAgICAgQGlmIChjb2wuaGVhZGVyVGVtcGxhdGUpIHtcclxuICAgICAgICAgICAgICAgICAgICAgICAgPG5nLWNvbnRhaW5lclxyXG4gICAgICAgICAgICAgICAgICAgICAgICAgIFtuZ1RlbXBsYXRlT3V0bGV0XT1cImNvbC5oZWFkZXJUZW1wbGF0ZVwiXHJcbiAgICAgICAgICAgICAgICAgICAgICAgICAgW25nVGVtcGxhdGVPdXRsZXRDb250ZXh0XT1cInsgJGltcGxpY2l0OiBjb2wsIGNvbHVtbjogY29sIH1cIlxyXG4gICAgICAgICAgICAgICAgICAgICAgICAvPlxyXG4gICAgICAgICAgICAgICAgICAgICAgfSBAZWxzZSB7XHJcbiAgICAgICAgICAgICAgICAgICAgICAgIDxzcGFuIGNsYXNzPVwidWktdGFibGVfX2hlYWRlci10ZXh0XCI+e3sgY29sLmhlYWRlciB9fTwvc3Bhbj5cclxuICAgICAgICAgICAgICAgICAgICAgIH1cclxuICAgICAgICAgICAgICAgICAgICAgIEBpZiAoY29sLnNvcnRhYmxlKSB7XHJcbiAgICAgICAgICAgICAgICAgICAgICAgIDxzcGFuIGNsYXNzPVwidWktdGFibGVfX3NvcnQtaWNvblwiIGFyaWEtaGlkZGVuPVwidHJ1ZVwiPlxyXG4gICAgICAgICAgICAgICAgICAgICAgICAgIEBpZiAoaXNDb2x1bW5Tb3J0ZWQoY29sKSkge1xyXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgQGlmIChjdXJyZW50U29ydERpcmVjdGlvbiA9PT0gJ2FzYycpIHtcclxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgPGx1Y2lkZS1pY29uIG5hbWU9XCJjaGV2cm9uLXVwXCIgW3NpemVdPVwiMTRcIiAvPlxyXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgfSBAZWxzZSB7XHJcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIDxsdWNpZGUtaWNvbiBuYW1lPVwiY2hldnJvbi1kb3duXCIgW3NpemVdPVwiMTRcIiAvPlxyXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgfVxyXG4gICAgICAgICAgICAgICAgICAgICAgICAgIH0gQGVsc2Uge1xyXG4gICAgICAgICAgICAgICAgICAgICAgICAgICAgPHNwYW4gY2xhc3M9XCJ1aS10YWJsZV9fc29ydC1oaW50XCI+XHJcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIDxsdWNpZGUtaWNvbiBuYW1lPVwiY2hldnJvbi11cFwiIFtzaXplXT1cIjEwXCIgLz5cclxuICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgPGx1Y2lkZS1pY29uIG5hbWU9XCJjaGV2cm9uLWRvd25cIiBbc2l6ZV09XCIxMFwiIC8+XHJcbiAgICAgICAgICAgICAgICAgICAgICAgICAgICA8L3NwYW4+XHJcbiAgICAgICAgICAgICAgICAgICAgICAgICAgfVxyXG4gICAgICAgICAgICAgICAgICAgICAgICA8L3NwYW4+XHJcbiAgICAgICAgICAgICAgICAgICAgICB9XHJcbiAgICAgICAgICAgICAgICAgICAgPC9kaXY+XHJcbiAgICAgICAgICAgICAgICAgIDwvdGg+XHJcbiAgICAgICAgICAgICAgICB9XHJcbiAgICAgICAgICAgICAgPC90cj5cclxuICAgICAgICAgICAgPC90aGVhZD5cclxuICAgICAgICAgICAgPHRib2R5PlxyXG4gICAgICAgICAgICAgIEBmb3IgKHJvdyBvZiBkYXRhOyB0cmFjayB0cmFja1JvdygkaW5kZXgsIHJvdykpIHtcclxuICAgICAgICAgICAgICAgIDx0clxyXG4gICAgICAgICAgICAgICAgICBjbGFzcz1cInVpLXRhYmxlX19yb3dcIlxyXG4gICAgICAgICAgICAgICAgICBbY2xhc3MudWktdGFibGVfX3Jvdy0tY2xpY2thYmxlXT1cInJvd0NsaWNrLm9ic2VydmVkXCJcclxuICAgICAgICAgICAgICAgICAgKGNsaWNrKT1cIm9uUm93Q2xpY2socm93KVwiXHJcbiAgICAgICAgICAgICAgICAgIFthdHRyLnRhYmluZGV4XT1cInJvd0NsaWNrLm9ic2VydmVkID8gMCA6IG51bGxcIlxyXG4gICAgICAgICAgICAgICAgICAoa2V5ZG93bi5lbnRlcik9XCJyb3dDbGljay5vYnNlcnZlZCA/IG9uUm93Q2xpY2socm93KSA6IG51bGxcIlxyXG4gICAgICAgICAgICAgICAgPlxyXG4gICAgICAgICAgICAgICAgICBAZm9yIChjb2wgb2YgY29sdW1uczsgdHJhY2sgY29sLnByb3BlcnR5KSB7XHJcbiAgICAgICAgICAgICAgICAgICAgPHRkXHJcbiAgICAgICAgICAgICAgICAgICAgICBbY2xhc3NdPVwiZ2V0Q2VsbENsYXNzZXMoY29sKVwiXHJcbiAgICAgICAgICAgICAgICAgICAgICBbc3R5bGUudGV4dC1hbGlnbl09XCJjb2wuYWxpZ24gfHwgJ2xlZnQnXCJcclxuICAgICAgICAgICAgICAgICAgICA+XHJcbiAgICAgICAgICAgICAgICAgICAgICBAaWYgKGNvbC50ZW1wbGF0ZSkge1xyXG4gICAgICAgICAgICAgICAgICAgICAgICA8bmctY29udGFpbmVyXHJcbiAgICAgICAgICAgICAgICAgICAgICAgICAgW25nVGVtcGxhdGVPdXRsZXRdPVwiY29sLnRlbXBsYXRlXCJcclxuICAgICAgICAgICAgICAgICAgICAgICAgICBbbmdUZW1wbGF0ZU91dGxldENvbnRleHRdPVwieyAkaW1wbGljaXQ6IHJvdywgY29sdW1uOiBjb2wgfVwiXHJcbiAgICAgICAgICAgICAgICAgICAgICAgIC8+XHJcbiAgICAgICAgICAgICAgICAgICAgICB9IEBlbHNlIGlmIChjb2wuZWxsaXBzaXMgJiYgc2hvdWxkVHJ1bmNhdGUocm93W2NvbC5wcm9wZXJ0eV0sIGNvbCkpIHtcclxuICAgICAgICAgICAgICAgICAgICAgICAgPHNwYW5cclxuICAgICAgICAgICAgICAgICAgICAgICAgICBjbGFzcz1cInVpLXRhYmxlX19lbGxpcHNpc1wiXHJcbiAgICAgICAgICAgICAgICAgICAgICAgICAgW21hdFRvb2x0aXBdPVwiJycgKyByb3dbY29sLnByb3BlcnR5XVwiXHJcbiAgICAgICAgICAgICAgICAgICAgICAgID57eyB0cnVuY2F0ZVRleHQocm93W2NvbC5wcm9wZXJ0eV0sIGNvbCkgfX08L3NwYW4+XHJcbiAgICAgICAgICAgICAgICAgICAgICB9IEBlbHNlIHtcclxuICAgICAgICAgICAgICAgICAgICAgICAge3sgcm93W2NvbC5wcm9wZXJ0eV0gfX1cclxuICAgICAgICAgICAgICAgICAgICAgIH1cclxuICAgICAgICAgICAgICAgICAgICA8L3RkPlxyXG4gICAgICAgICAgICAgICAgICB9XHJcbiAgICAgICAgICAgICAgICA8L3RyPlxyXG4gICAgICAgICAgICAgIH1cclxuICAgICAgICAgICAgPC90Ym9keT5cclxuICAgICAgICAgIDwvdGFibGU+XHJcbiAgICAgICAgfSBAZWxzZSBpZiAoIWxvYWRpbmcpIHtcclxuICAgICAgICAgIDxkaXYgY2xhc3M9XCJ1aS10YWJsZV9fZW1wdHlc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VwicGFnZVNpemVcIlxyXG4gICAgICAgICAgW3BhZ2VTaXplT3B0aW9uc109XCJwYWdlU2l6ZU9wdGlvbnNcIlxyXG4gICAgICAgICAgW3BhZ2VJbmRleF09XCJwYWdlSW5kZXhcIlxyXG4gICAgICAgICAgKHBhZ2UpPVwib25QYWdlQ2hhbmdlKCRldmVudClcIlxyXG4gICAgICAgICAgc2hvd0ZpcnN0TGFzdEJ1dHRvbnNcclxuICAgICAgICAvPlxyXG4gICAgICB9XHJcbiAgICA8L2Rpdj5cclxuICBgLFxyXG4gIHN0eWxlVXJsOiAnLi9wYWdpbmF0ZWQtdGFibGUuY29tcG9uZW50LnNjc3MnLFxyXG59KVxyXG5leHBvcnQgY2xhc3MgVWlQYWdpbmF0ZWRUYWJsZUNvbXBvbmVudCB7XHJcbiAgLyoqIEBpbnRlcm5hbCBJZGVudGlmaWNhdG9yZSB1bml2b2NvIHBlciBsJ2lzdGFuemEuICovXHJcbiAgcmVhZG9ubHkgdGFibGVJZCA9IHVpVW5pcXVlSWQoJ3VpLXRhYmxlJyk7XHJcblxyXG4gIC8vIOKUgOKUgCBJbnB1dHMgZGF0aSDilIDilIDilIDilIDilIDilIDilIDilIDilIDilIDilIDilIDilIDilIDilIDilIDilIDilIDilIDilIDilIDilIDilIDilIDilIDilIDilIDilIDilIDilIDilIDilIDilIDilIDilIDilIDilIDilIDilIDilIDilIDilIDilIDilIDilIDilIBcclxuXHJcbiAgLyoqIEFycmF5IGRpIHJpZ2hlIGRhIHZpc3VhbGl6emFyZSBuZWxsYSBwYWdpbmEgY29ycmVudGUuICovXHJcbiAgQElucHV0KCkgZGF0YTogUmVjb3JkPHN0cmluZywgYW55PltdID0gW107XHJcblxyXG4gIC8qKiBEZWZpbml6aW9uZSBkZWxsZSBjb2xvbm5lIGRlbGxhIHRhYmVsbGEuICovXHJcbiAgQElucHV0KCkgY29sdW1uczogVWlUYWJsZUNvbHVtbltdID0gW107XHJcblxyXG4gIC8qKiBOdW1lcm8gdG90Y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biAgICBdXHJcbiAgICAgIC5maWx0ZXIoQm9vbGVhbilcclxuICAgICAgLmpvaW4oJyAnKTtcclxuICB9XHJcblxyXG4gIC8qKiBAaW50ZXJuYWwgQ2xhc3NpIENTUyBwZXIgdW5hIGNlbGxhLiAqL1xyXG4gIGdldENlbGxDbGFzc2VzKGNvbDogVWlUYWJsZUNvbHVtbik6IHN0cmluZyB7XHJcbiAgICByZXR1cm4gWyd1aS10YWJsZV9fdGQnLCBjb2wuc3RpY2t5ID8gJ3VpLXRhYmxlX190ZC0tc3RpY2t5JyA6ICcnXS5maWx0ZXIoQm9vbGVhbikuam9pbignICcpO1xyXG4gIH1cclxuXHJcbiAgLy8g4pSA4pSAIFV0aWxpdGEgcHJpdmF0ZSDilIDilIDilIDilIDilIDilIDilIDilIDilIDilIDilIDilIDilIDilIDilIDilIDilIDilIDilIDilIDilIDilIDilIDilIDilIDilIDilIDilIDilIDilIDilIDilIDilIDilIDilIDilIDilIDilIDilIDilIDilIDilIBcclxuXHJcbiAgLyoqIEBpbnRlcm5hbCBDYWxjb2xhIGxhIHByb3NzaW1hIGRpcmV6aW9uZSBuZWwgY2ljbG8gYXNjIC0+IGRlc2MgLT4gbnVsbC4gKi9cclxuICBwcml2YXRlIG5leHRTb3J0RGlyZWN0aW9uKGN1cnJlbnQ6ICdhc2MnIHwgJ2Rlc2MnIHwgbnVsbCk6ICdhc2MnIHwgJ2Rlc2MnIHwgbnVsbCB7XHJcbiAgICBjb25zdCBjeWNsZTogKCdhc2MnIHwgJ2Rlc2MnIHwgbnVsbClbXSA9IFsnYXNjJywgJ2Rlc2MnLCBudWxsXTtcclxuICAgIHJldHVybiBjeWNsZVsoY3ljbGUuaW5kZXhPZihjdXJyZW50KSArIDEpICUgY3ljbGUubGVuZ3RoXTtcclxuICB9XHJcbn1cclxuIl19
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @module ng-ui-system/table
|
|
3
|
+
* Tipi e interfacce per UiPaginated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mVudCB7XG4gIC8qKiBQcm9wcmlldGEgZGVsbGEgY29sb25uYSBvcmRpbmF0YS4gKi9cbiAgY29sdW1uOiBzdHJpbmc7XG5cbiAgLyoqIERpcmV6aW9uZSBkZWxsJ29yZGluYW1lbnRvLiBgbnVsbGAgaW5kaWNhIG9yZGluYW1lbnRvIHJpbW9zc28uICovXG4gIGRpcmVjdGlvbjogJ2FzYycgfCAnZGVzYycgfCBudWxsO1xuXG4gIC8qKiBUaXBvIGRpIG9yZGluYW1lbnRvIGRlbGxhIGNvbG9ubmEuICovXG4gIHNvcnRUeXBlOiAndGV4dCcgfCAnbnVtYmVyJyB8ICdkYXRlJztcbn1cblxuLyoqXG4gKiBFdmVudG8gZGkgY2FtYmlvIHBhZ2luYSBlbWVzc28gZGFsIHBhZ2luYXRvcmUuXG4gKi9cbmV4cG9ydCBpbnRlcmZhY2UgVWlUYWJsZVBhZ2VFdmVudCB7XG4gIC8qKiBJbmRpY2UgZGVsbGEgcGFnaW5hIGNvcnJlbnRlICgwLWJhc2VkKS4gKi9cbiAgcGFnZUluZGV4OiBudW1iZXI7XG5cbiAgLyoqIE51bWVybyBkaSByaWdoZSBwZXIgcGFnaW5hLiAqL1xuICBwYWdlU2l6ZTogbnVtYmVyO1xuXG4gIC8qKiBOdW1lcm8gdG90YWxlIGRpIGVsZW1lbnRpLiAqL1xuICBsZW5ndGg6IG51bWJlcjtcbn1cbiJdfQ==
|
|
@@ -0,0 +1,102 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Shared utility functions for ng-ui-system components.
|
|
3
|
+
*/
|
|
4
|
+
/**
|
|
5
|
+
* Generates a unique ID with an optional prefix.
|
|
6
|
+
* Uses crypto.randomUUID() when available for better randomness, falls back to crypto.getRandomValues().
|
|
7
|
+
* Useful for linking labels to form controls, ARIA attributes, etc.
|
|
8
|
+
*
|
|
9
|
+
* @param prefix - Optional prefix for the generated ID.
|
|
10
|
+
* @returns A unique string ID.
|
|
11
|
+
*/
|
|
12
|
+
export function uiUniqueId(prefix = 'ui') {
|
|
13
|
+
let randomPart;
|
|
14
|
+
// Try crypto.randomUUID() first (modern browsers/Node 19+)
|
|
15
|
+
if (typeof crypto !== 'undefined' && crypto.randomUUID) {
|
|
16
|
+
randomPart = crypto.randomUUID().substring(0, 8);
|
|
17
|
+
}
|
|
18
|
+
// Fallback to crypto.getRandomValues()
|
|
19
|
+
else if (typeof crypto !== 'undefined' && crypto.getRandomValues) {
|
|
20
|
+
const array = new Uint8Array(4);
|
|
21
|
+
crypto.getRandomValues(array);
|
|
22
|
+
randomPart = Array.from(array, (byte) => byte.toString(36))
|
|
23
|
+
.join('')
|
|
24
|
+
.substring(0, 8);
|
|
25
|
+
}
|
|
26
|
+
// Final fallback to Math.random() for older environments
|
|
27
|
+
else {
|
|
28
|
+
randomPart = Math.random().toString(36).substring(2, 9); // NOSONAR - Fallback for environments without crypto API
|
|
29
|
+
}
|
|
30
|
+
return `${prefix}-${randomPart}`;
|
|
31
|
+
}
|
|
32
|
+
/**
|
|
33
|
+
* Coerces a value to a boolean.
|
|
34
|
+
* Useful for handling string boolean attributes in templates.
|
|
35
|
+
*
|
|
36
|
+
* @param value - The value to coerce.
|
|
37
|
+
* @returns The boolean representation.
|
|
38
|
+
*/
|
|
39
|
+
export function uiCoerceBoolean(value) {
|
|
40
|
+
return value != null && `${value}` !== 'false';
|
|
41
|
+
}
|
|
42
|
+
/**
|
|
43
|
+
* Clamps a number between a minimum and maximum value.
|
|
44
|
+
*
|
|
45
|
+
* @param value - The value to clamp.
|
|
46
|
+
* @param min - The minimum allowed value.
|
|
47
|
+
* @param max - The maximum allowed value.
|
|
48
|
+
* @returns The clamped value.
|
|
49
|
+
*/
|
|
50
|
+
export function uiClamp(value, min, max) {
|
|
51
|
+
return Math.max(min, Math.min(max, value));
|
|
52
|
+
}
|
|
53
|
+
/**
|
|
54
|
+
* Removes all `null` and `undefined` values from an object.
|
|
55
|
+
* Returns a new object — the original is not mutated.
|
|
56
|
+
*
|
|
57
|
+
* @param obj - The source object.
|
|
58
|
+
* @returns A shallow copy with nullish entries removed.
|
|
59
|
+
*
|
|
60
|
+
* @example
|
|
61
|
+
* ```typescript
|
|
62
|
+
* uiFilterNullish({ a: 1, b: null, c: 'x', d: undefined });
|
|
63
|
+
* // → { a: 1, c: 'x' }
|
|
64
|
+
* ```
|
|
65
|
+
*/
|
|
66
|
+
export function uiFilterNullish(obj) {
|
|
67
|
+
return Object.entries(obj)
|
|
68
|
+
.filter(([, value]) => value !== null && value !== undefined)
|
|
69
|
+
.reduce((acc, [key, value]) => ({ ...acc, [key]: value }), {});
|
|
70
|
+
}
|
|
71
|
+
/**
|
|
72
|
+
* Converts a key-value object into a URL query string.
|
|
73
|
+
* Nullish values are filtered out automatically.
|
|
74
|
+
*
|
|
75
|
+
* @param params - Query parameter object.
|
|
76
|
+
* @returns A query string like `?key=value&key2=value2`, or an empty string if no params.
|
|
77
|
+
*
|
|
78
|
+
* @example
|
|
79
|
+
* ```typescript
|
|
80
|
+
* uiQueryParamsToPath({ search: 'test', page: 1, active: true });
|
|
81
|
+
* // → '?search=test&page=1&active=true'
|
|
82
|
+
*
|
|
83
|
+
* uiQueryParamsToPath(undefined);
|
|
84
|
+
* // → ''
|
|
85
|
+
* ```
|
|
86
|
+
*/
|
|
87
|
+
export function uiQueryParamsToPath(params) {
|
|
88
|
+
if (!params)
|
|
89
|
+
return '';
|
|
90
|
+
const searchParams = new URLSearchParams();
|
|
91
|
+
Object.entries(uiFilterNullish(params)).forEach(([key, value]) => {
|
|
92
|
+
if (Array.isArray(value)) {
|
|
93
|
+
value.forEach((v) => searchParams.append(key, String(v ?? '')));
|
|
94
|
+
}
|
|
95
|
+
else {
|
|
96
|
+
searchParams.append(key, String(value ?? ''));
|
|
97
|
+
}
|
|
98
|
+
});
|
|
99
|
+
const str = searchParams.toString();
|
|
100
|
+
return str ? `?${str}` : '';
|
|
101
|
+
}
|
|
102
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozL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bnN0IHNlYXJjaFBhcmFtcyA9IG5ldyBVUkxTZWFyY2hQYXJhbXMoKTtcclxuICBPYmplY3QuZW50cmllcyh1aUZpbHRlck51bGxpc2gocGFyYW1zKSkuZm9yRWFjaCgoW2tleSwgdmFsdWVdKSA9PiB7XHJcbiAgICBpZiAoQXJyYXkuaXNBcnJheSh2YWx1ZSkpIHtcclxuICAgICAgdmFsdWUuZm9yRWFjaCgodikgPT4gc2VhcmNoUGFyYW1zLmFwcGVuZChrZXksIFN0cmluZyh2ID8/ICcnKSkpO1xyXG4gICAgfSBlbHNlIHtcclxuICAgICAgc2VhcmNoUGFyYW1zLmFwcGVuZChrZXksIFN0cmluZyh2YWx1ZSA/PyAnJykpO1xyXG4gICAgfVxyXG4gIH0pO1xyXG4gIGNvbnN0IHN0ciA9IHNlYXJjaFBhcmFtcy50b1N0cmluZygpO1xyXG4gIHJldHVybiBzdHIgPyBgPyR7c3RyfWAgOiAnJztcclxufVxyXG4iXX0=
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Bootstrap del secondary entry `@gnggln/ng-ui-system/toast`. Toast / notifiche.
|
|
3
|
+
*/
|
|
4
|
+
export * from './lib/components/toast/index';
|
|
5
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZW50cnktdG9hc3QuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi9wYWNrYWdlcy9uZy11aS1zeXN0ZW0vc3JjL2VudHJ5LXRvYXN0LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBOztHQUVHO0FBQ0gsY0FBYyw4QkFBOEIsQ0FBQyIsInNvdXJjZXNDb250ZW50IjpbIi8qKlxuICogQm9vdHN0cmFwIGRlbCBzZWNvbmRhcnkgZW50cnkgYEBnbmdnbG4vbmctdWktc3lzdGVtL3RvYXN0YC4gVG9hc3QgLyBub3RpZmljaGUuXG4gKi9cbmV4cG9ydCAqIGZyb20gJy4vbGliL2NvbXBvbmVudHMvdG9hc3QvaW5kZXgnO1xuXG4iXX0=
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated bundle index. Do not edit.
|
|
3
|
+
*/
|
|
4
|
+
export * from './entry-toast';
|
|
5
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZ25nZ2xuLW5nLXVpLXN5c3RlbS10b2FzdC5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL3BhY2thZ2VzL25nLXVpLXN5c3RlbS9zcmMvZ25nZ2xuLW5nLXVpLXN5c3RlbS10b2FzdC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQTs7R0FFRztBQUVILGNBQWMsZUFBZSxDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiLyoqXG4gKiBHZW5lcmF0ZWQgYnVuZGxlIGluZGV4LiBEbyBub3QgZWRpdC5cbiAqL1xuXG5leHBvcnQgKiBmcm9tICcuL2VudHJ5LXRvYXN0JztcbiJdfQ==
|