@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,16 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* ng-ui-system — Page Header entry point.
|
|
3
|
+
*
|
|
4
|
+
* @example
|
|
5
|
+
* ```typescript
|
|
6
|
+
* import {
|
|
7
|
+
* UiPageHeaderComponent,
|
|
8
|
+
* UiBreadcrumbService,
|
|
9
|
+
* UiBreadcrumbItem,
|
|
10
|
+
* UI_BREADCRUMB_LABEL_RESOLVER,
|
|
11
|
+
* } from 'ng-ui-system';
|
|
12
|
+
* ```
|
|
13
|
+
*/
|
|
14
|
+
export { UiPageHeaderComponent } from './page-header.component';
|
|
15
|
+
export { UiBreadcrumbService } from './breadcrumb.service';
|
|
16
|
+
export { UiBreadcrumbItem, UiBreadcrumbConfig, UiLabelResolverFn, UI_BREADCRUMB_LABEL_RESOLVER, } from './page-header.types';
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
import { OnInit } from '@angular/core';
|
|
2
|
+
import { UiBreadcrumbItem } from './page-header.types';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
/**
|
|
5
|
+
* Page header component that renders a breadcrumb navigation trail
|
|
6
|
+
* and a page title. Integrates with `UiBreadcrumbService` to
|
|
7
|
+
* automatically derive breadcrumbs from Angular route configuration.
|
|
8
|
+
*
|
|
9
|
+
* The breadcrumb trail is generated from route `data` properties:
|
|
10
|
+
* - `data.id` — unique route identifier
|
|
11
|
+
* - `data.title` — display label
|
|
12
|
+
* - `data.breadcrumbs` — ordered array of parent route IDs
|
|
13
|
+
*
|
|
14
|
+
* @selector ui-page-header
|
|
15
|
+
*
|
|
16
|
+
* @example
|
|
17
|
+
* ```html
|
|
18
|
+
* <!-- Auto breadcrumbs from route data -->
|
|
19
|
+
* <ui-page-header />
|
|
20
|
+
*
|
|
21
|
+
* <!-- With explicit title override -->
|
|
22
|
+
* <ui-page-header title="Custom Title" />
|
|
23
|
+
*
|
|
24
|
+
* <!-- With document title update -->
|
|
25
|
+
* <ui-page-header [updateDocumentTitle]="true" titleSuffix=" | My App" />
|
|
26
|
+
* ```
|
|
27
|
+
*/
|
|
28
|
+
export declare class UiPageHeaderComponent implements OnInit {
|
|
29
|
+
/** Override the auto-detected page title. When empty, title is derived from the last breadcrumb. */
|
|
30
|
+
title: string;
|
|
31
|
+
/** Route path for the Home breadcrumb link. */
|
|
32
|
+
homeRoute: string;
|
|
33
|
+
/** Whether to display the Home link at the start of the trail. */
|
|
34
|
+
showHome: boolean;
|
|
35
|
+
/** When `true`, updates `document.title` on each navigation. */
|
|
36
|
+
updateDocumentTitle: boolean;
|
|
37
|
+
/** Suffix appended to `document.title` (e.g. `' | My App'`). Only used when `updateDocumentTitle` is `true`. */
|
|
38
|
+
titleSuffix: string;
|
|
39
|
+
/** @internal */
|
|
40
|
+
breadcrumbs: UiBreadcrumbItem[];
|
|
41
|
+
private readonly router;
|
|
42
|
+
private readonly activatedRoute;
|
|
43
|
+
private readonly titleService;
|
|
44
|
+
private readonly breadcrumbService;
|
|
45
|
+
private readonly destroyRef;
|
|
46
|
+
private readonly cdr;
|
|
47
|
+
/** Resolved page title: explicit `title` input wins, otherwise last breadcrumb label. */
|
|
48
|
+
get displayTitle(): string;
|
|
49
|
+
ngOnInit(): void;
|
|
50
|
+
/**
|
|
51
|
+
* Navigates to the previous breadcrumb (parent route).
|
|
52
|
+
* @param fallbackUrl - URL to navigate to when no parent exists (default: homeRoute).
|
|
53
|
+
*/
|
|
54
|
+
navigateBack(fallbackUrl?: string): void;
|
|
55
|
+
/** @internal */
|
|
56
|
+
private refresh;
|
|
57
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<UiPageHeaderComponent, never>;
|
|
58
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<UiPageHeaderComponent, "ui-page-header", never, { "title": { "alias": "title"; "required": false; }; "homeRoute": { "alias": "homeRoute"; "required": false; }; "showHome": { "alias": "showHome"; "required": false; }; "updateDocumentTitle": { "alias": "updateDocumentTitle"; "required": false; }; "titleSuffix": { "alias": "titleSuffix"; "required": false; }; }, {}, never, never, true, never>;
|
|
59
|
+
}
|
|
@@ -0,0 +1,96 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @module ng-ui-system/page-header
|
|
3
|
+
* Types and interfaces for UiPageHeader and UiBreadcrumbService.
|
|
4
|
+
*/
|
|
5
|
+
import { InjectionToken } from '@angular/core';
|
|
6
|
+
/**
|
|
7
|
+
* Single breadcrumb item rendered in the navigation trail.
|
|
8
|
+
*
|
|
9
|
+
* @usageNotes
|
|
10
|
+
* ### Structure
|
|
11
|
+
* ```typescript
|
|
12
|
+
* const item: UiBreadcrumbItem = {
|
|
13
|
+
* label: 'Dashboard',
|
|
14
|
+
* url: '/dashboard',
|
|
15
|
+
* isLast: false,
|
|
16
|
+
* };
|
|
17
|
+
* ```
|
|
18
|
+
*/
|
|
19
|
+
export interface UiBreadcrumbItem {
|
|
20
|
+
/** Display text for the breadcrumb link. */
|
|
21
|
+
label: string;
|
|
22
|
+
/** Navigation URL (Angular Router path). */
|
|
23
|
+
url: string;
|
|
24
|
+
/** Whether this is the last (current) breadcrumb in the trail. */
|
|
25
|
+
isLast: boolean;
|
|
26
|
+
}
|
|
27
|
+
/**
|
|
28
|
+
* Internal route configuration stored by UiBreadcrumbService.
|
|
29
|
+
* Built from Angular route `data` properties.
|
|
30
|
+
*
|
|
31
|
+
* @usageNotes
|
|
32
|
+
* ### Route data convention
|
|
33
|
+
* ```typescript
|
|
34
|
+
* {
|
|
35
|
+
* path: 'users/:userId',
|
|
36
|
+
* data: {
|
|
37
|
+
* id: 'user-detail',
|
|
38
|
+
* title: 'Dettaglio utente',
|
|
39
|
+
* breadcrumbs: ['users-list'],
|
|
40
|
+
* },
|
|
41
|
+
* component: UserDetailComponent,
|
|
42
|
+
* }
|
|
43
|
+
* ```
|
|
44
|
+
*/
|
|
45
|
+
export interface UiBreadcrumbConfig {
|
|
46
|
+
/** Unique route identifier (from `route.data.id`). */
|
|
47
|
+
id: string;
|
|
48
|
+
/** Resolved route path pattern (may contain `:param` placeholders). */
|
|
49
|
+
path: string;
|
|
50
|
+
/** Display label (from `route.data.title` or fallback). */
|
|
51
|
+
label: string;
|
|
52
|
+
/** Ordered array of parent route IDs for building the breadcrumb chain. */
|
|
53
|
+
parentIds: string[];
|
|
54
|
+
/** Fully resolved URL captured at navigation time. */
|
|
55
|
+
fullPath?: string;
|
|
56
|
+
/** Raw route data metadata. */
|
|
57
|
+
metadata?: Record<string, any>;
|
|
58
|
+
}
|
|
59
|
+
/**
|
|
60
|
+
* Function signature for resolving route parameter values to human-readable labels.
|
|
61
|
+
*
|
|
62
|
+
* Consumers can provide a custom implementation via `UI_BREADCRUMB_LABEL_RESOLVER`
|
|
63
|
+
* to translate cryptic parameter values (e.g. UUIDs, slugs) into user-friendly text.
|
|
64
|
+
*
|
|
65
|
+
* @param paramName - The route parameter name (e.g. `'userId'`).
|
|
66
|
+
* @param paramValue - The raw parameter value from the URL (e.g. `'abc-123'`).
|
|
67
|
+
* @returns A human-readable label, or the original value if no mapping exists.
|
|
68
|
+
*
|
|
69
|
+
* @usageNotes
|
|
70
|
+
* ### Custom resolver
|
|
71
|
+
* ```typescript
|
|
72
|
+
* const myResolver: UiLabelResolverFn = (name, value) => {
|
|
73
|
+
* if (name === 'status') {
|
|
74
|
+
* return { pending: 'In attesa', active: 'Attivo' }[value] ?? value;
|
|
75
|
+
* }
|
|
76
|
+
* return value;
|
|
77
|
+
* };
|
|
78
|
+
*
|
|
79
|
+
* providers: [
|
|
80
|
+
* { provide: UI_BREADCRUMB_LABEL_RESOLVER, useValue: myResolver },
|
|
81
|
+
* ]
|
|
82
|
+
* ```
|
|
83
|
+
*/
|
|
84
|
+
export type UiLabelResolverFn = (paramName: string, paramValue: string) => string;
|
|
85
|
+
/**
|
|
86
|
+
* Injection token for providing a custom label resolver to UiBreadcrumbService.
|
|
87
|
+
*
|
|
88
|
+
* When not provided, parameters are displayed as-is (identity function).
|
|
89
|
+
*
|
|
90
|
+
* @example
|
|
91
|
+
* ```typescript
|
|
92
|
+
* // In your app.config.ts or module providers:
|
|
93
|
+
* { provide: UI_BREADCRUMB_LABEL_RESOLVER, useValue: myLabelResolver }
|
|
94
|
+
* ```
|
|
95
|
+
*/
|
|
96
|
+
export declare const UI_BREADCRUMB_LABEL_RESOLVER: InjectionToken<UiLabelResolverFn>;
|
package/public-api.d.ts
CHANGED
|
@@ -1,15 +1,17 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* ng-ui-system -
|
|
2
|
+
* ng-ui-system - API pubblica (entry principale).
|
|
3
3
|
*
|
|
4
|
-
*
|
|
5
|
-
*
|
|
6
|
-
* import { UiButtonComponent } from 'ng-ui-system/button';
|
|
4
|
+
* Re-esporta tutti i moduli della libreria. Gli stessi simboli sono disponibili anche dai
|
|
5
|
+
* secondary entry point (es. `@gnggln/ng-ui-system/button`) per un tree-shaking più efficace.
|
|
7
6
|
*
|
|
8
|
-
*
|
|
9
|
-
*
|
|
7
|
+
* Retrocompatibilità: `import { … } from '@gnggln/ng-ui-system'` resta supportato.
|
|
8
|
+
* Per nuovi progetti o import mirati: `import { … } from '@gnggln/ng-ui-system/<modulo>'`.
|
|
9
|
+
* Elenco subpath: vedi la guida «Import e entry point» in ng-docs.
|
|
10
10
|
*/
|
|
11
|
+
export { NG_UI_SYSTEM_VERSION, ngUiSystemVersionLabel } from './lib/version/ng-ui-system-version';
|
|
11
12
|
export * from './lib/core/types/index';
|
|
12
13
|
export * from './lib/core/utils/index';
|
|
14
|
+
export * from './lib/core/logging/index';
|
|
13
15
|
export * from './lib/components/button/index';
|
|
14
16
|
export * from './lib/components/accordion/index';
|
|
15
17
|
export * from './lib/components/modal/index';
|
|
@@ -20,3 +22,6 @@ export * from './lib/components/page-header/index';
|
|
|
20
22
|
export * from './lib/components/base-layout/index';
|
|
21
23
|
export * from './lib/components/form-builder-editor/index';
|
|
22
24
|
export * from './lib/components/layout-builder/index';
|
|
25
|
+
export * from './lib/components/blackbox/index';
|
|
26
|
+
export * from './lib/components/toast/index';
|
|
27
|
+
export * from './lib/components/http/index';
|
package/table/index.d.ts
ADDED
|
@@ -0,0 +1,85 @@
|
|
|
1
|
+
import { EventEmitter, TemplateRef } from '@angular/core';
|
|
2
|
+
import { PageEvent } from '@angular/material/paginator';
|
|
3
|
+
import { UiTableColumn, UiTableSortEvent, UiTablePageEvent } from './table.types';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
/**
|
|
6
|
+
* Tabella paginata standalone con ordinamento, colonne sticky,
|
|
7
|
+
* ellipsis automatica, stato di caricamento e template personalizzabili.
|
|
8
|
+
*
|
|
9
|
+
* Progettata per paginazione server-side: emette eventi di cambio pagina
|
|
10
|
+
* e ordinamento che il componente genitore gestisce per il recupero dati.
|
|
11
|
+
*
|
|
12
|
+
* @selector ui-paginated-table
|
|
13
|
+
*
|
|
14
|
+
* @example
|
|
15
|
+
* ```html
|
|
16
|
+
* <ui-paginated-table
|
|
17
|
+
* [data]="users"
|
|
18
|
+
* [columns]="columns"
|
|
19
|
+
* [totalItems]="totalUsers"
|
|
20
|
+
* [pageSize]="10"
|
|
21
|
+
* [loading]="isLoading"
|
|
22
|
+
* (pageChange)="onPageChange($event)"
|
|
23
|
+
* (sortChange)="onSort($event)"
|
|
24
|
+
* (rowClick)="onUserClick($event)"
|
|
25
|
+
* />
|
|
26
|
+
* ```
|
|
27
|
+
*/
|
|
28
|
+
export declare class UiPaginatedTableComponent {
|
|
29
|
+
/** @internal Identificatore univoco per l'istanza. */
|
|
30
|
+
readonly tableId: string;
|
|
31
|
+
/** Array di righe da visualizzare nella pagina corrente. */
|
|
32
|
+
data: Record<string, any>[];
|
|
33
|
+
/** Definizione delle colonne della tabella. */
|
|
34
|
+
columns: UiTableColumn[];
|
|
35
|
+
/** Numero totale di elementi (per la paginazione server-side). */
|
|
36
|
+
totalItems: number;
|
|
37
|
+
/** Numero di righe per pagina. */
|
|
38
|
+
pageSize: number;
|
|
39
|
+
/** Opzioni selezionabili per il numero di righe per pagina. */
|
|
40
|
+
pageSizeOptions: number[];
|
|
41
|
+
/** Indice della pagina corrente (0-based). */
|
|
42
|
+
pageIndex: number;
|
|
43
|
+
/** Mostra il paginatore sotto la tabella. */
|
|
44
|
+
showPaginator: boolean;
|
|
45
|
+
/** Mostra l'overlay di caricamento sopra la tabella. */
|
|
46
|
+
loading: boolean;
|
|
47
|
+
/** Messaggio visualizzato quando non ci sono dati. */
|
|
48
|
+
emptyMessage: string;
|
|
49
|
+
/** Template personalizzato per lo stato vuoto. */
|
|
50
|
+
emptyTemplate: TemplateRef<unknown> | null;
|
|
51
|
+
/** Emesso quando l'utente cambia pagina o numero di righe. */
|
|
52
|
+
pageChange: EventEmitter<UiTablePageEvent>;
|
|
53
|
+
/** Emesso quando l'utente ordina una colonna. */
|
|
54
|
+
sortChange: EventEmitter<UiTableSortEvent>;
|
|
55
|
+
/** Emesso quando l'utente clicca su una riga. */
|
|
56
|
+
rowClick: EventEmitter<Record<string, any>>;
|
|
57
|
+
/** @internal Colonna attualmente ordinata. */
|
|
58
|
+
currentSortColumn: string | null;
|
|
59
|
+
/** @internal Direzione ordinamento corrente. */
|
|
60
|
+
currentSortDirection: 'asc' | 'desc' | null;
|
|
61
|
+
/** @internal Gestisce il click su un'intestazione di colonna. */
|
|
62
|
+
onHeaderClick(col: UiTableColumn): void;
|
|
63
|
+
/** @internal Indica se la colonna e attualmente ordinata. */
|
|
64
|
+
isColumnSorted(col: UiTableColumn): boolean;
|
|
65
|
+
/** @internal Attributo aria-sort per accessibilita. */
|
|
66
|
+
getAriaSort(col: UiTableColumn): string | null;
|
|
67
|
+
/** @internal Gestisce il cambio pagina dal MatPaginator. */
|
|
68
|
+
onPageChange(event: PageEvent): void;
|
|
69
|
+
/** @internal Gestisce il click su una riga. */
|
|
70
|
+
onRowClick(row: Record<string, any>): void;
|
|
71
|
+
/** @internal Track function per il loop @for sulle righe. */
|
|
72
|
+
trackRow(index: number, row: Record<string, any>): unknown;
|
|
73
|
+
/** @internal Verifica se il testo deve essere troncato. */
|
|
74
|
+
shouldTruncate(value: unknown, col: UiTableColumn): boolean;
|
|
75
|
+
/** @internal Tronca il testo con ellipsis. */
|
|
76
|
+
truncateText(value: unknown, col: UiTableColumn): string;
|
|
77
|
+
/** @internal Classi CSS per l'header di colonna. */
|
|
78
|
+
getHeaderClasses(col: UiTableColumn): string;
|
|
79
|
+
/** @internal Classi CSS per una cella. */
|
|
80
|
+
getCellClasses(col: UiTableColumn): string;
|
|
81
|
+
/** @internal Calcola la prossima direzione nel ciclo asc -> desc -> null. */
|
|
82
|
+
private nextSortDirection;
|
|
83
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<UiPaginatedTableComponent, never>;
|
|
84
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<UiPaginatedTableComponent, "ui-paginated-table", never, { "data": { "alias": "data"; "required": false; }; "columns": { "alias": "columns"; "required": false; }; "totalItems": { "alias": "totalItems"; "required": false; }; "pageSize": { "alias": "pageSize"; "required": false; }; "pageSizeOptions": { "alias": "pageSizeOptions"; "required": false; }; "pageIndex": { "alias": "pageIndex"; "required": false; }; "showPaginator": { "alias": "showPaginator"; "required": false; }; "loading": { "alias": "loading"; "required": false; }; "emptyMessage": { "alias": "emptyMessage"; "required": false; }; "emptyTemplate": { "alias": "emptyTemplate"; "required": false; }; }, { "pageChange": "pageChange"; "sortChange": "sortChange"; "rowClick": "rowClick"; }, never, never, true, never>;
|
|
85
|
+
}
|
|
@@ -0,0 +1,86 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @module ng-ui-system/table
|
|
3
|
+
* Tipi e interfacce per UiPaginatedTable.
|
|
4
|
+
*/
|
|
5
|
+
import { TemplateRef } from '@angular/core';
|
|
6
|
+
/**
|
|
7
|
+
* Definizione di una colonna della tabella.
|
|
8
|
+
*
|
|
9
|
+
* @usageNotes
|
|
10
|
+
* ### Colonna testuale semplice
|
|
11
|
+
* ```typescript
|
|
12
|
+
* const col: UiTableColumn = {
|
|
13
|
+
* property: 'name',
|
|
14
|
+
* header: 'Nome',
|
|
15
|
+
* sortable: true,
|
|
16
|
+
* };
|
|
17
|
+
* ```
|
|
18
|
+
*
|
|
19
|
+
* ### Colonna con template personalizzato
|
|
20
|
+
* ```typescript
|
|
21
|
+
* const col: UiTableColumn = {
|
|
22
|
+
* property: 'status',
|
|
23
|
+
* header: 'Stato',
|
|
24
|
+
* template: statusTemplate,
|
|
25
|
+
* };
|
|
26
|
+
* ```
|
|
27
|
+
*/
|
|
28
|
+
export interface UiTableColumn {
|
|
29
|
+
/** Chiave della proprieta nell'oggetto riga. */
|
|
30
|
+
property: string;
|
|
31
|
+
/** Testo dell'intestazione della colonna. */
|
|
32
|
+
header: string;
|
|
33
|
+
/**
|
|
34
|
+
* Template personalizzato per la cella.
|
|
35
|
+
* Il contesto fornisce `$implicit` (riga) e `column` (definizione colonna).
|
|
36
|
+
*
|
|
37
|
+
* @example
|
|
38
|
+
* ```html
|
|
39
|
+
* <ng-template #statusTpl let-row>
|
|
40
|
+
* <span [class]="'badge--' + row.status">{{ row.status }}</span>
|
|
41
|
+
* </ng-template>
|
|
42
|
+
* ```
|
|
43
|
+
*/
|
|
44
|
+
template?: TemplateRef<unknown>;
|
|
45
|
+
/**
|
|
46
|
+
* Template personalizzato per l'intestazione.
|
|
47
|
+
* Il contesto fornisce: `$implicit` (colonna) e `column` (definizione colonna).
|
|
48
|
+
*/
|
|
49
|
+
headerTemplate?: TemplateRef<unknown>;
|
|
50
|
+
/** Rende la colonna ordinabile con click sull'header. @default false */
|
|
51
|
+
sortable?: boolean;
|
|
52
|
+
/** Tipo di ordinamento per la logica client-side. @default 'text' */
|
|
53
|
+
sortType?: 'text' | 'number' | 'date';
|
|
54
|
+
/** Fissa la colonna a destra durante lo scroll orizzontale. @default false */
|
|
55
|
+
sticky?: boolean;
|
|
56
|
+
/** Tronca il testo oltre maxLength caratteri con ellipsis e tooltip. @default false */
|
|
57
|
+
ellipsis?: boolean;
|
|
58
|
+
/** Lunghezza massima del testo prima dell'ellipsis. @default 50 */
|
|
59
|
+
maxLength?: number;
|
|
60
|
+
/** Larghezza CSS personalizzata della colonna (es. '120px', '20%'). */
|
|
61
|
+
width?: string;
|
|
62
|
+
/** Allineamento del testo nella colonna. @default 'left' */
|
|
63
|
+
align?: 'left' | 'center' | 'right';
|
|
64
|
+
}
|
|
65
|
+
/**
|
|
66
|
+
* Evento di ordinamento emesso quando l'utente clicca su un'intestazione ordinabile.
|
|
67
|
+
*/
|
|
68
|
+
export interface UiTableSortEvent {
|
|
69
|
+
/** Proprieta della colonna ordinata. */
|
|
70
|
+
column: string;
|
|
71
|
+
/** Direzione dell'ordinamento. `null` indica ordinamento rimosso. */
|
|
72
|
+
direction: 'asc' | 'desc' | null;
|
|
73
|
+
/** Tipo di ordinamento della colonna. */
|
|
74
|
+
sortType: 'text' | 'number' | 'date';
|
|
75
|
+
}
|
|
76
|
+
/**
|
|
77
|
+
* Evento di cambio pagina emesso dal paginatore.
|
|
78
|
+
*/
|
|
79
|
+
export interface UiTablePageEvent {
|
|
80
|
+
/** Indice della pagina corrente (0-based). */
|
|
81
|
+
pageIndex: number;
|
|
82
|
+
/** Numero di righe per pagina. */
|
|
83
|
+
pageSize: number;
|
|
84
|
+
/** Numero totale di elementi. */
|
|
85
|
+
length: number;
|
|
86
|
+
}
|
|
@@ -0,0 +1,60 @@
|
|
|
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 declare function uiUniqueId(prefix?: string): string;
|
|
13
|
+
/**
|
|
14
|
+
* Coerces a value to a boolean.
|
|
15
|
+
* Useful for handling string boolean attributes in templates.
|
|
16
|
+
*
|
|
17
|
+
* @param value - The value to coerce.
|
|
18
|
+
* @returns The boolean representation.
|
|
19
|
+
*/
|
|
20
|
+
export declare function uiCoerceBoolean(value: unknown): boolean;
|
|
21
|
+
/**
|
|
22
|
+
* Clamps a number between a minimum and maximum value.
|
|
23
|
+
*
|
|
24
|
+
* @param value - The value to clamp.
|
|
25
|
+
* @param min - The minimum allowed value.
|
|
26
|
+
* @param max - The maximum allowed value.
|
|
27
|
+
* @returns The clamped value.
|
|
28
|
+
*/
|
|
29
|
+
export declare function uiClamp(value: number, min: number, max: number): number;
|
|
30
|
+
/**
|
|
31
|
+
* Removes all `null` and `undefined` values from an object.
|
|
32
|
+
* Returns a new object — the original is not mutated.
|
|
33
|
+
*
|
|
34
|
+
* @param obj - The source object.
|
|
35
|
+
* @returns A shallow copy with nullish entries removed.
|
|
36
|
+
*
|
|
37
|
+
* @example
|
|
38
|
+
* ```typescript
|
|
39
|
+
* uiFilterNullish({ a: 1, b: null, c: 'x', d: undefined });
|
|
40
|
+
* // → { a: 1, c: 'x' }
|
|
41
|
+
* ```
|
|
42
|
+
*/
|
|
43
|
+
export declare function uiFilterNullish<T extends Record<string, unknown>>(obj: T): Partial<T>;
|
|
44
|
+
/**
|
|
45
|
+
* Converts a key-value object into a URL query string.
|
|
46
|
+
* Nullish values are filtered out automatically.
|
|
47
|
+
*
|
|
48
|
+
* @param params - Query parameter object.
|
|
49
|
+
* @returns A query string like `?key=value&key2=value2`, or an empty string if no params.
|
|
50
|
+
*
|
|
51
|
+
* @example
|
|
52
|
+
* ```typescript
|
|
53
|
+
* uiQueryParamsToPath({ search: 'test', page: 1, active: true });
|
|
54
|
+
* // → '?search=test&page=1&active=true'
|
|
55
|
+
*
|
|
56
|
+
* uiQueryParamsToPath(undefined);
|
|
57
|
+
* // → ''
|
|
58
|
+
* ```
|
|
59
|
+
*/
|
|
60
|
+
export declare function uiQueryParamsToPath(params?: Record<string, unknown>): string;
|
package/toast/index.d.ts
ADDED
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* ng-ui-system — Toast Notifications entry point.
|
|
3
|
+
*
|
|
4
|
+
* @example
|
|
5
|
+
* ```typescript
|
|
6
|
+
* import { UiToastService, UiToastConfig } from '@gnggln/ng-ui-system';
|
|
7
|
+
*
|
|
8
|
+
* const toast = inject(UiToastService);
|
|
9
|
+
* toast.success('Salvato!');
|
|
10
|
+
* ```
|
|
11
|
+
*/
|
|
12
|
+
export { UiToastService } from './toast.service';
|
|
13
|
+
export { UiToastComponent } from './toast.component';
|
|
14
|
+
export { UiToastContainerComponent } from './toast-container.component';
|
|
15
|
+
export type { UiToastConfig, UiToastRef, UiToastData, } from './toast.types';
|
|
16
|
+
export type { UiToastPosition } from './toast.types';
|
|
17
|
+
export { UI_TOAST_DEFAULTS } from './toast.types';
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Toast container — manages stacking and positioning of active toasts.
|
|
3
|
+
*
|
|
4
|
+
* Dynamically attached to the DOM by `UiToastService` on first use.
|
|
5
|
+
* Renders one `ui-toast` per active notification.
|
|
6
|
+
*
|
|
7
|
+
* @selector ui-toast-container
|
|
8
|
+
* @internal Not intended for direct use.
|
|
9
|
+
*/
|
|
10
|
+
import { ChangeDetectorRef } from '@angular/core';
|
|
11
|
+
import type { UiToastData } from './toast.types';
|
|
12
|
+
import * as i0 from "@angular/core";
|
|
13
|
+
export declare class UiToastContainerComponent {
|
|
14
|
+
readonly cdr: ChangeDetectorRef;
|
|
15
|
+
/** Active toasts — managed by UiToastService. */
|
|
16
|
+
toasts: UiToastData[];
|
|
17
|
+
/** Called by UiToastService to add a toast. */
|
|
18
|
+
addToast(toast: UiToastData): void;
|
|
19
|
+
/** Called by UiToastService to remove a toast. */
|
|
20
|
+
removeToast(id: string): void;
|
|
21
|
+
/** Update a toast's state (e.g. entering → exiting). */
|
|
22
|
+
updateToastState(id: string, state: UiToastData['state']): void;
|
|
23
|
+
/** Dismiss handler from the toast component. */
|
|
24
|
+
onDismiss(toast: UiToastData): void;
|
|
25
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<UiToastContainerComponent, never>;
|
|
26
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<UiToastContainerComponent, "ui-toast-container", never, {}, {}, never, never, true, never>;
|
|
27
|
+
}
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Individual toast notification element.
|
|
3
|
+
*
|
|
4
|
+
* Rendered dynamically by `UiToastContainerComponent`.
|
|
5
|
+
* Handles its own enter/exit CSS animations and auto-dismiss countdown.
|
|
6
|
+
*
|
|
7
|
+
* @selector ui-toast
|
|
8
|
+
* @internal Not intended for direct use — managed by `UiToastService`.
|
|
9
|
+
*/
|
|
10
|
+
import { EventEmitter, OnInit, OnDestroy } from '@angular/core';
|
|
11
|
+
import type { UiToastType } from '../../core/types/index';
|
|
12
|
+
import * as i0 from "@angular/core";
|
|
13
|
+
export declare class UiToastComponent implements OnInit, OnDestroy {
|
|
14
|
+
/** Toast message text. */
|
|
15
|
+
message: string;
|
|
16
|
+
/** Toast type for styling. */
|
|
17
|
+
type: UiToastType;
|
|
18
|
+
/** Animation state. */
|
|
19
|
+
state: 'entering' | 'visible' | 'exiting';
|
|
20
|
+
/** Whether the close button is shown. */
|
|
21
|
+
dismissible: boolean;
|
|
22
|
+
/** Whether HTML rendering is enabled. */
|
|
23
|
+
enableHtml: boolean;
|
|
24
|
+
/** Custom Lucide icon override. */
|
|
25
|
+
icon?: string;
|
|
26
|
+
/** Additional CSS class. */
|
|
27
|
+
customClass?: string;
|
|
28
|
+
/** Emitted when the user clicks the dismiss button. */
|
|
29
|
+
dismissed: EventEmitter<void>;
|
|
30
|
+
private enterTimeout?;
|
|
31
|
+
/** Resolved icon name based on type. */
|
|
32
|
+
get resolvedIcon(): string;
|
|
33
|
+
ngOnInit(): void;
|
|
34
|
+
ngOnDestroy(): void;
|
|
35
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<UiToastComponent, never>;
|
|
36
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<UiToastComponent, "ui-toast", never, { "message": { "alias": "message"; "required": false; }; "type": { "alias": "type"; "required": false; }; "state": { "alias": "state"; "required": false; }; "dismissible": { "alias": "dismissible"; "required": false; }; "enableHtml": { "alias": "enableHtml"; "required": false; }; "icon": { "alias": "icon"; "required": false; }; "customClass": { "alias": "customClass"; "required": false; }; }, { "dismissed": "dismissed"; }, never, never, true, never>;
|
|
37
|
+
}
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import type { UiToastType } from '../../core/types/index';
|
|
2
|
+
import { UiToastConfig, UiToastRef } from './toast.types';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
/**
|
|
5
|
+
* Central toast notification service.
|
|
6
|
+
*
|
|
7
|
+
* Manages a single `UiToastContainerComponent` in the DOM and provides
|
|
8
|
+
* convenience methods for showing typed notifications.
|
|
9
|
+
*/
|
|
10
|
+
export declare class UiToastService {
|
|
11
|
+
private readonly appRef;
|
|
12
|
+
private readonly injector;
|
|
13
|
+
private readonly document;
|
|
14
|
+
/** Reference to the singleton container component. */
|
|
15
|
+
private containerRef;
|
|
16
|
+
/** Show a **success** toast. */
|
|
17
|
+
success(message: string, config?: UiToastConfig): UiToastRef;
|
|
18
|
+
/** Show an **error** toast. */
|
|
19
|
+
error(message: string, config?: UiToastConfig): UiToastRef;
|
|
20
|
+
/** Show a **warning** toast. */
|
|
21
|
+
warning(message: string, config?: UiToastConfig): UiToastRef;
|
|
22
|
+
/** Show an **info** toast. */
|
|
23
|
+
info(message: string, config?: UiToastConfig): UiToastRef;
|
|
24
|
+
/** Show a toast with explicit type. */
|
|
25
|
+
show(message: string, type?: UiToastType, config?: UiToastConfig): UiToastRef;
|
|
26
|
+
/** Dismiss a specific toast by ID. */
|
|
27
|
+
dismiss(id: string): void;
|
|
28
|
+
/** Dismiss all active toasts. */
|
|
29
|
+
dismissAll(): void;
|
|
30
|
+
/**
|
|
31
|
+
* Ensures the container component exists in the DOM.
|
|
32
|
+
* Creates it lazily on first toast call.
|
|
33
|
+
*/
|
|
34
|
+
private ensureContainer;
|
|
35
|
+
/** Apply CSS position modifier class to the container element. */
|
|
36
|
+
private applyPositionClass;
|
|
37
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<UiToastService, never>;
|
|
38
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<UiToastService>;
|
|
39
|
+
}
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @module ng-ui-system/toast
|
|
3
|
+
* Types and interfaces for the proprietary toast notification system.
|
|
4
|
+
*/
|
|
5
|
+
import type { UiToastType } from '../../core/types/index';
|
|
6
|
+
/** Position of the toast container on screen. */
|
|
7
|
+
export type UiToastPosition = 'top-right' | 'top-left' | 'bottom-right' | 'bottom-left' | 'top-center' | 'bottom-center';
|
|
8
|
+
/**
|
|
9
|
+
* Configuration options for a toast notification.
|
|
10
|
+
*
|
|
11
|
+
* @usageNotes
|
|
12
|
+
* ```typescript
|
|
13
|
+
* toastService.success('Saved!', { duration: 3000, position: 'bottom-right' });
|
|
14
|
+
* ```
|
|
15
|
+
*/
|
|
16
|
+
export interface UiToastConfig {
|
|
17
|
+
/** Toast type (overrides the method-level default). */
|
|
18
|
+
type?: UiToastType;
|
|
19
|
+
/** Auto-dismiss duration in milliseconds. `0` = persistent. Default: `5000`. */
|
|
20
|
+
duration?: number;
|
|
21
|
+
/** Screen position for this toast. Default: `'top-right'`. */
|
|
22
|
+
position?: UiToastPosition;
|
|
23
|
+
/** Whether a close button is shown. Default: `true`. */
|
|
24
|
+
dismissible?: boolean;
|
|
25
|
+
/** Allow HTML content in the message. Default: `false`. */
|
|
26
|
+
enableHtml?: boolean;
|
|
27
|
+
/** Custom Lucide icon name. Defaults to type-specific icon. */
|
|
28
|
+
icon?: string;
|
|
29
|
+
/** Additional CSS class appended to the toast element. */
|
|
30
|
+
customClass?: string;
|
|
31
|
+
}
|
|
32
|
+
/**
|
|
33
|
+
* Reference to a live toast instance.
|
|
34
|
+
* Can be used to dismiss the toast programmatically.
|
|
35
|
+
*/
|
|
36
|
+
export interface UiToastRef {
|
|
37
|
+
/** Unique identifier for this toast instance. */
|
|
38
|
+
id: string;
|
|
39
|
+
/** Dismiss this specific toast. */
|
|
40
|
+
dismiss: () => void;
|
|
41
|
+
}
|
|
42
|
+
/** @internal Data model for a toast managed by the service. */
|
|
43
|
+
export interface UiToastData {
|
|
44
|
+
id: string;
|
|
45
|
+
message: string;
|
|
46
|
+
type: UiToastType;
|
|
47
|
+
config: Required<Pick<UiToastConfig, 'duration' | 'position' | 'dismissible' | 'enableHtml'>> & UiToastConfig;
|
|
48
|
+
state: 'entering' | 'visible' | 'exiting';
|
|
49
|
+
timeoutId?: ReturnType<typeof setTimeout>;
|
|
50
|
+
}
|
|
51
|
+
/** Defaults applied to every toast unless overridden. */
|
|
52
|
+
export declare const UI_TOAST_DEFAULTS: Required<Pick<UiToastConfig, 'duration' | 'position' | 'dismissible' | 'enableHtml'>>;
|