@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,51 @@
|
|
|
1
|
+
import { EventEmitter } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
/**
|
|
4
|
+
* Pannello overlay in basso nell'anteprima che mostra i valori correnti
|
|
5
|
+
* del form in formato JSON modificabile.
|
|
6
|
+
*
|
|
7
|
+
* Permette di visualizzare, modificare, formattare e resettare i valori
|
|
8
|
+
* del form durante la fase di anteprima nell'editor.
|
|
9
|
+
*
|
|
10
|
+
* @selector ui-editor-form-values-panel
|
|
11
|
+
*/
|
|
12
|
+
export declare class UiEditorFormValuesPanelComponent {
|
|
13
|
+
/** Valori correnti del form da visualizzare. */
|
|
14
|
+
set formValues(value: any);
|
|
15
|
+
get formValues(): any;
|
|
16
|
+
/** Stato di apertura/chiusura del pannello. */
|
|
17
|
+
isOpen: boolean;
|
|
18
|
+
/** Emesso quando i valori vengono modificati dall'utente via JSON. */
|
|
19
|
+
valuesChange: EventEmitter<any>;
|
|
20
|
+
/** Emesso alla richiesta di aggiornamento dei valori. */
|
|
21
|
+
refreshValues: EventEmitter<void>;
|
|
22
|
+
/** Emesso alla richiesta di apertura/chiusura del pannello. */
|
|
23
|
+
toggle: EventEmitter<void>;
|
|
24
|
+
/** Testo JSON visualizzato nella textarea. */
|
|
25
|
+
jsonText: string;
|
|
26
|
+
/** Messaggio di errore per JSON non valido. */
|
|
27
|
+
jsonError: string | null;
|
|
28
|
+
/** @internal Valori interni del form. */
|
|
29
|
+
private _formValues;
|
|
30
|
+
/**
|
|
31
|
+
* Gestisce l'input dell'utente nella textarea JSON.
|
|
32
|
+
* Prova a parsare il JSON e aggiorna i valori se valido.
|
|
33
|
+
* @param text - Testo JSON inserito dall'utente
|
|
34
|
+
*/
|
|
35
|
+
onJsonInput(text: string): void;
|
|
36
|
+
/**
|
|
37
|
+
* Pulisce i valori del form resettando a oggetto vuoto.
|
|
38
|
+
*/
|
|
39
|
+
clearValues(): void;
|
|
40
|
+
/**
|
|
41
|
+
* Formatta il JSON con indentazione per una migliore leggibilita.
|
|
42
|
+
*/
|
|
43
|
+
formatJson(): void;
|
|
44
|
+
/**
|
|
45
|
+
* @internal
|
|
46
|
+
* Aggiorna il testo JSON dalla rappresentazione interna dei valori.
|
|
47
|
+
*/
|
|
48
|
+
private updateJsonText;
|
|
49
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<UiEditorFormValuesPanelComponent, never>;
|
|
50
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<UiEditorFormValuesPanelComponent, "ui-editor-form-values-panel", never, { "formValues": { "alias": "formValues"; "required": false; }; "isOpen": { "alias": "isOpen"; "required": false; }; }, { "valuesChange": "valuesChange"; "refreshValues": "refreshValues"; "toggle": "toggle"; }, never, never, true, never>;
|
|
51
|
+
}
|
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @module ng-ui-system/form-builder-editor
|
|
3
|
+
* Componente editor delle opzioni per campi di tipo select, radio e multiselect.
|
|
4
|
+
*
|
|
5
|
+
* Permette di aggiungere, modificare, riordinare e rimuovere le opzioni
|
|
6
|
+
* di un campo di scelta, con supporto per valore, etichetta e stato disabilitato.
|
|
7
|
+
*/
|
|
8
|
+
import { EventEmitter } from '@angular/core';
|
|
9
|
+
import { UiFieldOption } from '../../../form-builder/types/index';
|
|
10
|
+
import * as i0 from "@angular/core";
|
|
11
|
+
/**
|
|
12
|
+
* Editor per le opzioni di un campo di scelta (select, radio, multiselect).
|
|
13
|
+
*
|
|
14
|
+
* Mostra una lista di opzioni con:
|
|
15
|
+
* - Header con titolo e pulsante per aggiungere nuove opzioni
|
|
16
|
+
* - Per ogni opzione: input valore, input etichetta, checkbox disabilitato,
|
|
17
|
+
* frecce per spostamento su/giu, pulsante elimina
|
|
18
|
+
* - Stato vuoto quando non ci sono opzioni configurate
|
|
19
|
+
*/
|
|
20
|
+
export declare class UiOptionsEditorComponent {
|
|
21
|
+
/**
|
|
22
|
+
* Opzioni del campo da modificare.
|
|
23
|
+
* Accetta sia un array di UiFieldOption che un valore generico
|
|
24
|
+
* (per gestire campi non ancora configurati).
|
|
25
|
+
*/
|
|
26
|
+
options: UiFieldOption[] | any;
|
|
27
|
+
/** Emette l'array aggiornato delle opzioni ad ogni modifica. */
|
|
28
|
+
optionsChange: EventEmitter<UiFieldOption[]>;
|
|
29
|
+
/**
|
|
30
|
+
* Normalizza l'input per garantire che sia sempre un array valido.
|
|
31
|
+
* Gestisce il caso in cui le opzioni siano null, undefined o di tipo inatteso.
|
|
32
|
+
*/
|
|
33
|
+
get normalizedOptions(): UiFieldOption[];
|
|
34
|
+
/**
|
|
35
|
+
* Aggiunge una nuova opzione vuota alla lista e notifica il parent.
|
|
36
|
+
*/
|
|
37
|
+
addOption(): void;
|
|
38
|
+
/**
|
|
39
|
+
* Aggiorna una proprieta specifica di un'opzione.
|
|
40
|
+
* @param index - Indice dell'opzione da aggiornare.
|
|
41
|
+
* @param field - Nome della proprieta da modificare.
|
|
42
|
+
* @param value - Nuovo valore della proprieta.
|
|
43
|
+
*/
|
|
44
|
+
updateOption(index: number, field: keyof UiFieldOption, value: any): void;
|
|
45
|
+
/**
|
|
46
|
+
* Rimuove un'opzione dalla lista.
|
|
47
|
+
* @param index - Indice dell'opzione da rimuovere.
|
|
48
|
+
*/
|
|
49
|
+
removeOption(index: number): void;
|
|
50
|
+
/**
|
|
51
|
+
* Sposta un'opzione in alto o in basso nella lista.
|
|
52
|
+
* @param index - Indice corrente dell'opzione.
|
|
53
|
+
* @param direction - Direzione dello spostamento: -1 (su) o +1 (giu).
|
|
54
|
+
*/
|
|
55
|
+
moveOption(index: number, direction: -1 | 1): void;
|
|
56
|
+
/**
|
|
57
|
+
* Emette l'array aggiornato delle opzioni.
|
|
58
|
+
* @param options - Nuovo array di opzioni.
|
|
59
|
+
*/
|
|
60
|
+
private emitChange;
|
|
61
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<UiOptionsEditorComponent, never>;
|
|
62
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<UiOptionsEditorComponent, "ui-options-editor", never, { "options": { "alias": "options"; "required": false; }; }, { "optionsChange": "optionsChange"; }, never, never, true, never>;
|
|
63
|
+
}
|
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
import { EventEmitter, OnChanges, SimpleChanges } from '@angular/core';
|
|
2
|
+
import { UiFormSchema } from '../../../form-builder/types/index';
|
|
3
|
+
import { UiFormBuilderComponent } from '../../../form-builder/form-builder.component';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
/**
|
|
6
|
+
* Contenitore per l'anteprima live del form in fase di editing.
|
|
7
|
+
*
|
|
8
|
+
* Mostra una preview del form builder generato dallo schema corrente,
|
|
9
|
+
* con possibilita di aggiornamento forzato e pannello dei valori.
|
|
10
|
+
*
|
|
11
|
+
* @selector ui-editor-preview-container
|
|
12
|
+
*/
|
|
13
|
+
export declare class UiEditorPreviewContainerComponent implements OnChanges {
|
|
14
|
+
/** @internal Change detector per OnPush. */
|
|
15
|
+
private readonly cdr;
|
|
16
|
+
/** Riferimento all'istanza del form builder per leggere i valori. */
|
|
17
|
+
formBuilderRef?: UiFormBuilderComponent;
|
|
18
|
+
/** Schema del form ricevuto dal parent (cambia ad ogni modifica nell'editor). */
|
|
19
|
+
schema: UiFormSchema | null;
|
|
20
|
+
/**
|
|
21
|
+
* Chiave per forzare la ri-creazione del form builder.
|
|
22
|
+
* Viene incrementata dal componente padre per invalidare l'anteprima.
|
|
23
|
+
*/
|
|
24
|
+
key: number;
|
|
25
|
+
/** Emesso alla richiesta di aggiornamento forzato dell'anteprima. */
|
|
26
|
+
refresh: EventEmitter<void>;
|
|
27
|
+
/**
|
|
28
|
+
* Snapshot immutabile dello schema usato per il rendering.
|
|
29
|
+
* Viene aggiornato SOLO al primo caricamento, al cambio tab
|
|
30
|
+
* (quando `key` cambia) o al refresh esplicito.
|
|
31
|
+
* Questo evita che le modifiche nell'editor ricostruiscano
|
|
32
|
+
* continuamente il form, perdendo lo stato dell'utente.
|
|
33
|
+
*/
|
|
34
|
+
previewSchema: UiFormSchema | null;
|
|
35
|
+
/** Stato di apertura del pannello valori in basso. */
|
|
36
|
+
isValuesPanelOpen: boolean;
|
|
37
|
+
/** Valori correnti del form nell'anteprima. */
|
|
38
|
+
currentFormValues: any;
|
|
39
|
+
/** @internal Ultimo valore di `key` applicato allo snapshot. */
|
|
40
|
+
private lastAppliedKey;
|
|
41
|
+
ngOnChanges(changes: SimpleChanges): void;
|
|
42
|
+
/**
|
|
43
|
+
* Riceve i valori aggiornati dal form builder ad ogni interazione.
|
|
44
|
+
* @param values - Valori correnti del form (inclusi campi disabilitati)
|
|
45
|
+
*/
|
|
46
|
+
onFormBuilderValueChange(values: any): void;
|
|
47
|
+
/** Alterna la visibilita del pannello dei valori del form. */
|
|
48
|
+
toggleValuesPanel(): void;
|
|
49
|
+
/**
|
|
50
|
+
* Gestisce il cambiamento dei valori dal pannello JSON.
|
|
51
|
+
* @param values - Nuovi valori parsati dal JSON
|
|
52
|
+
*/
|
|
53
|
+
onFormValuesChange(values: any): void;
|
|
54
|
+
/**
|
|
55
|
+
* Aggiorna i valori leggendo lo stato corrente dal form builder.
|
|
56
|
+
*/
|
|
57
|
+
onRefreshValues(): void;
|
|
58
|
+
/**
|
|
59
|
+
* @internal
|
|
60
|
+
* Crea una copia profonda dello schema corrente come snapshot
|
|
61
|
+
* per il rendering dell'anteprima. L'id viene reso univoco
|
|
62
|
+
* per forzare il rebuild del form builder (che ricostruisce
|
|
63
|
+
* solo quando `schema.id` cambia).
|
|
64
|
+
*/
|
|
65
|
+
private applySchemaSnapshot;
|
|
66
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<UiEditorPreviewContainerComponent, never>;
|
|
67
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<UiEditorPreviewContainerComponent, "ui-editor-preview-container", never, { "schema": { "alias": "schema"; "required": false; }; "key": { "alias": "key"; "required": false; }; }, { "refresh": "refresh"; }, never, never, true, never>;
|
|
68
|
+
}
|
|
@@ -0,0 +1,82 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @module ng-ui-system/form-builder-editor
|
|
3
|
+
* Componente editor di sezione per il form builder.
|
|
4
|
+
*
|
|
5
|
+
* Renderizza una singola sezione del form come card, con supporto
|
|
6
|
+
* per espansione/collasso, editing inline del titolo, drag & drop
|
|
7
|
+
* dei campi e azioni CRUD su sezione e campi.
|
|
8
|
+
*/
|
|
9
|
+
import { EventEmitter } from '@angular/core';
|
|
10
|
+
import { CdkDragDrop } from '@angular/cdk/drag-drop';
|
|
11
|
+
import { UiFormSection } from '../../../form-builder/types/index';
|
|
12
|
+
import { UiFieldType } from '../../../form-builder/types/index';
|
|
13
|
+
import * as i0 from "@angular/core";
|
|
14
|
+
/**
|
|
15
|
+
* Editor visuale di una singola sezione del form.
|
|
16
|
+
*
|
|
17
|
+
* Supporta:
|
|
18
|
+
* - Header espandibile/collassabile con editing inline del titolo
|
|
19
|
+
* - Pulsanti azione: modifica titolo, duplica, elimina
|
|
20
|
+
* - Drop list CDK per ricevere campi dalla palette o da altre sezioni
|
|
21
|
+
* - Ogni campo mostra: handle di trascinamento, icona tipo, label, chiave, badge tipo, asterisco required
|
|
22
|
+
* - Azioni campo (al passaggio mouse): duplica, elimina
|
|
23
|
+
* - Stato vuoto quando non ci sono campi
|
|
24
|
+
*/
|
|
25
|
+
export declare class UiSectionEditorComponent {
|
|
26
|
+
/** Sezione del form da renderizzare. */
|
|
27
|
+
section: UiFormSection;
|
|
28
|
+
/** Indica se la sezione e attualmente selezionata. */
|
|
29
|
+
isSelected: boolean;
|
|
30
|
+
/** Chiave del campo attualmente selezionato (o null). */
|
|
31
|
+
selectedFieldKey: string | null;
|
|
32
|
+
/** Emette aggiornamenti parziali alla sezione. */
|
|
33
|
+
sectionUpdate: EventEmitter<Partial<UiFormSection>>;
|
|
34
|
+
/** Emette richiesta di eliminazione della sezione. */
|
|
35
|
+
sectionDelete: EventEmitter<void>;
|
|
36
|
+
/** Emette richiesta di duplicazione della sezione. */
|
|
37
|
+
sectionDuplicate: EventEmitter<void>;
|
|
38
|
+
/** Emette la chiave del campo selezionato. */
|
|
39
|
+
fieldSelect: EventEmitter<string>;
|
|
40
|
+
/** Emette la chiave del campo da duplicare. */
|
|
41
|
+
fieldDuplicate: EventEmitter<string>;
|
|
42
|
+
/** Emette la chiave del campo da eliminare. */
|
|
43
|
+
fieldDelete: EventEmitter<string>;
|
|
44
|
+
/** Emette l'evento di drop del CDK drag & drop. */
|
|
45
|
+
fieldDrop: EventEmitter<CdkDragDrop<any, any, any>>;
|
|
46
|
+
/** Stato di espansione della sezione. */
|
|
47
|
+
isExpanded: boolean;
|
|
48
|
+
/** Indica se il titolo e in fase di modifica inline. */
|
|
49
|
+
isEditingTitle: boolean;
|
|
50
|
+
/** Titolo temporaneo durante la modifica inline. */
|
|
51
|
+
tempTitle: string;
|
|
52
|
+
/**
|
|
53
|
+
* Alterna lo stato di espansione/collasso della sezione.
|
|
54
|
+
*/
|
|
55
|
+
toggleExpand(): void;
|
|
56
|
+
/**
|
|
57
|
+
* Avvia la modifica inline del titolo della sezione.
|
|
58
|
+
* @param event - Evento del mouse per prevenire la propagazione.
|
|
59
|
+
*/
|
|
60
|
+
startTitleEdit(event: Event): void;
|
|
61
|
+
/**
|
|
62
|
+
* Conferma la modifica del titolo ed emette l'aggiornamento.
|
|
63
|
+
*/
|
|
64
|
+
confirmTitleEdit(): void;
|
|
65
|
+
/**
|
|
66
|
+
* Annulla la modifica del titolo, ripristinando il valore originale.
|
|
67
|
+
*/
|
|
68
|
+
cancelTitleEdit(): void;
|
|
69
|
+
/**
|
|
70
|
+
* Restituisce il nome dell'icona Lucide associata al tipo di campo.
|
|
71
|
+
* @param type - Tipo di campo del form.
|
|
72
|
+
* @returns Nome dell'icona Lucide.
|
|
73
|
+
*/
|
|
74
|
+
getFieldIcon(type: UiFieldType): string;
|
|
75
|
+
/**
|
|
76
|
+
* Gestisce l'evento di drop del CDK drag & drop e lo propaga al parent.
|
|
77
|
+
* @param event - Evento CdkDragDrop.
|
|
78
|
+
*/
|
|
79
|
+
onFieldDrop(event: CdkDragDrop<any>): void;
|
|
80
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<UiSectionEditorComponent, never>;
|
|
81
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<UiSectionEditorComponent, "ui-section-editor", never, { "section": { "alias": "section"; "required": true; }; "isSelected": { "alias": "isSelected"; "required": false; }; "selectedFieldKey": { "alias": "selectedFieldKey"; "required": false; }; }, { "sectionUpdate": "sectionUpdate"; "sectionDelete": "sectionDelete"; "sectionDuplicate": "sectionDuplicate"; "fieldSelect": "fieldSelect"; "fieldDuplicate": "fieldDuplicate"; "fieldDelete": "fieldDelete"; "fieldDrop": "fieldDrop"; }, never, never, true, never>;
|
|
82
|
+
}
|
|
@@ -0,0 +1,112 @@
|
|
|
1
|
+
import { EventEmitter } from '@angular/core';
|
|
2
|
+
import { UiValidationRule, UiValidationType, UiCrossFieldOperator } from '../../../form-builder/types/index';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
/**
|
|
5
|
+
* Interfaccia per le opzioni dei tipi di validazione nella select.
|
|
6
|
+
*/
|
|
7
|
+
interface ValidationTypeOption {
|
|
8
|
+
/** Valore del tipo di validazione. */
|
|
9
|
+
value: UiValidationType;
|
|
10
|
+
/** Etichetta visualizzata nella select. */
|
|
11
|
+
label: string;
|
|
12
|
+
}
|
|
13
|
+
/**
|
|
14
|
+
* Interfaccia per le opzioni degli operatori cross-field nella select.
|
|
15
|
+
*/
|
|
16
|
+
interface CrossFieldOperatorOption {
|
|
17
|
+
/** Valore dell'operatore. */
|
|
18
|
+
value: UiCrossFieldOperator;
|
|
19
|
+
/** Etichetta visualizzata nella select. */
|
|
20
|
+
label: string;
|
|
21
|
+
}
|
|
22
|
+
/**
|
|
23
|
+
* Editor per le regole di validazione dei campi.
|
|
24
|
+
*
|
|
25
|
+
* Permette di aggiungere, modificare e rimuovere regole di validazione
|
|
26
|
+
* per un campo del form builder. Supporta validazioni standard,
|
|
27
|
+
* cross-field, date e file.
|
|
28
|
+
*
|
|
29
|
+
* @selector ui-validation-editor
|
|
30
|
+
*/
|
|
31
|
+
export declare class UiValidationEditorComponent {
|
|
32
|
+
/** Lista delle regole di validazione da editare. */
|
|
33
|
+
validations: UiValidationRule[];
|
|
34
|
+
/** Emesso quando la lista di regole viene modificata. */
|
|
35
|
+
validationsChange: EventEmitter<UiValidationRule[]>;
|
|
36
|
+
/** Opzioni disponibili per il tipo di validazione. */
|
|
37
|
+
readonly validationTypes: ValidationTypeOption[];
|
|
38
|
+
/** Opzioni per gli operatori di confronto cross-field. */
|
|
39
|
+
readonly crossFieldOperators: CrossFieldOperatorOption[];
|
|
40
|
+
/**
|
|
41
|
+
* Verifica se il tipo di validazione richiede un campo valore.
|
|
42
|
+
* @param type - Tipo di validazione da verificare
|
|
43
|
+
* @returns true se il tipo richiede un valore
|
|
44
|
+
*/
|
|
45
|
+
requiresValue(type: UiValidationType): boolean;
|
|
46
|
+
/**
|
|
47
|
+
* Restituisce il placeholder appropriato per il campo valore
|
|
48
|
+
* in base al tipo di validazione selezionato.
|
|
49
|
+
* @param type - Tipo di validazione
|
|
50
|
+
* @returns Stringa placeholder
|
|
51
|
+
*/
|
|
52
|
+
getValuePlaceholder(type: UiValidationType): string;
|
|
53
|
+
/**
|
|
54
|
+
* Aggiunge una nuova regola di validazione con valori predefiniti.
|
|
55
|
+
*/
|
|
56
|
+
addValidation(): void;
|
|
57
|
+
/**
|
|
58
|
+
* Rimuove la regola di validazione all'indice specificato.
|
|
59
|
+
* @param index - Indice della regola da rimuovere
|
|
60
|
+
*/
|
|
61
|
+
removeValidation(index: number): void;
|
|
62
|
+
/**
|
|
63
|
+
* Gestisce il cambio del tipo di validazione.
|
|
64
|
+
* Se il tipo diventa 'crossField', inizializza la configurazione cross-field.
|
|
65
|
+
* @param index - Indice della regola
|
|
66
|
+
* @param type - Nuovo tipo di validazione
|
|
67
|
+
*/
|
|
68
|
+
onTypeChange(index: number, type: UiValidationType): void;
|
|
69
|
+
/**
|
|
70
|
+
* Gestisce il cambio del valore della regola.
|
|
71
|
+
* @param index - Indice della regola
|
|
72
|
+
* @param value - Nuovo valore
|
|
73
|
+
*/
|
|
74
|
+
onValueChange(index: number, value: any): void;
|
|
75
|
+
/**
|
|
76
|
+
* Gestisce il cambio del messaggio di errore.
|
|
77
|
+
* @param index - Indice della regola
|
|
78
|
+
* @param message - Nuovo messaggio
|
|
79
|
+
*/
|
|
80
|
+
onMessageChange(index: number, message: string): void;
|
|
81
|
+
/**
|
|
82
|
+
* Gestisce il cambio del campo target nella configurazione cross-field.
|
|
83
|
+
* @param index - Indice della regola
|
|
84
|
+
* @param targetField - Nuova chiave del campo target
|
|
85
|
+
*/
|
|
86
|
+
onCrossFieldTargetChange(index: number, targetField: string): void;
|
|
87
|
+
/**
|
|
88
|
+
* Gestisce il cambio dell'operatore nella configurazione cross-field.
|
|
89
|
+
* @param index - Indice della regola
|
|
90
|
+
* @param operator - Nuovo operatore
|
|
91
|
+
*/
|
|
92
|
+
onCrossFieldOperatorChange(index: number, operator: UiCrossFieldOperator): void;
|
|
93
|
+
/**
|
|
94
|
+
* Gestisce il cambio del tipo di dato nella configurazione cross-field.
|
|
95
|
+
* @param index - Indice della regola
|
|
96
|
+
* @param dataType - Nuovo tipo di dato ('date' | 'number')
|
|
97
|
+
*/
|
|
98
|
+
onCrossFieldDataTypeChange(index: number, dataType: 'date' | 'number'): void;
|
|
99
|
+
/**
|
|
100
|
+
* Clona l'array delle validazioni per garantire immutabilita.
|
|
101
|
+
* @returns Copia superficiale dell'array di validazioni
|
|
102
|
+
*/
|
|
103
|
+
private cloneValidations;
|
|
104
|
+
/**
|
|
105
|
+
* Emette l'evento di cambio validazioni.
|
|
106
|
+
* @param validations - Nuova lista di validazioni
|
|
107
|
+
*/
|
|
108
|
+
private emitChange;
|
|
109
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<UiValidationEditorComponent, never>;
|
|
110
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<UiValidationEditorComponent, "ui-validation-editor", never, { "validations": { "alias": "validations"; "required": false; }; }, { "validationsChange": "validationsChange"; }, never, never, true, never>;
|
|
111
|
+
}
|
|
112
|
+
export {};
|
|
@@ -0,0 +1,124 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @module ng-ui-system/form-builder-editor
|
|
3
|
+
* Tipi e interfacce per l'editor visuale del form builder.
|
|
4
|
+
*/
|
|
5
|
+
import { UiFieldType, UiFormSchema } from '../../form-builder/types/index';
|
|
6
|
+
import { UiIconName } from '../../../core/types';
|
|
7
|
+
/**
|
|
8
|
+
* Stato corrente dell'editor.
|
|
9
|
+
* Gestito dal servizio UiEditorStateService tramite BehaviorSubject.
|
|
10
|
+
*/
|
|
11
|
+
export interface UiEditorState {
|
|
12
|
+
/** Schema del form in fase di editing. */
|
|
13
|
+
schema: UiFormSchema;
|
|
14
|
+
/** ID della sezione attualmente selezionata. */
|
|
15
|
+
selectedSectionId: string | null;
|
|
16
|
+
/** Chiave del campo attualmente selezionato. */
|
|
17
|
+
selectedFieldKey: string | null;
|
|
18
|
+
/** Indica se lo schema e stato modificato dall'ultimo salvataggio. */
|
|
19
|
+
isDirty: boolean;
|
|
20
|
+
/** Data dell'ultimo salvataggio. */
|
|
21
|
+
lastSaved: Date | null;
|
|
22
|
+
}
|
|
23
|
+
/**
|
|
24
|
+
* Categorie per raggruppare i tipi di campo nella palette.
|
|
25
|
+
*/
|
|
26
|
+
export type UiEditorFieldCategory = 'basic' | 'choice' | 'datetime' | 'advanced' | 'custom';
|
|
27
|
+
/**
|
|
28
|
+
* Elemento della palette dei tipi di campo.
|
|
29
|
+
* Rappresenta un tipo di campo trascinabile nella palette laterale.
|
|
30
|
+
*/
|
|
31
|
+
export interface UiEditorFieldPaletteItem {
|
|
32
|
+
/** Tipo di campo. */
|
|
33
|
+
type: UiFieldType;
|
|
34
|
+
/** Nome visualizzato nella palette. */
|
|
35
|
+
label: string;
|
|
36
|
+
/** Icona Lucide da mostrare. */
|
|
37
|
+
icon: UiIconName;
|
|
38
|
+
/** Descrizione breve del tipo di campo. */
|
|
39
|
+
description: string;
|
|
40
|
+
/** Categoria di appartenenza. */
|
|
41
|
+
category: UiEditorFieldCategory;
|
|
42
|
+
}
|
|
43
|
+
/**
|
|
44
|
+
* Campo disponibile per la selezione nelle condizioni.
|
|
45
|
+
* Versione semplificata del field descriptor per le select.
|
|
46
|
+
*/
|
|
47
|
+
export interface UiEditorAvailableField {
|
|
48
|
+
/** Chiave univoca del campo. */
|
|
49
|
+
key: string;
|
|
50
|
+
/** Label visualizzata. */
|
|
51
|
+
label: string;
|
|
52
|
+
/** Tipo di campo. */
|
|
53
|
+
type: string;
|
|
54
|
+
/** Opzioni (per campi select, radio, etc.). */
|
|
55
|
+
options?: {
|
|
56
|
+
value: any;
|
|
57
|
+
label: string;
|
|
58
|
+
}[];
|
|
59
|
+
}
|
|
60
|
+
/**
|
|
61
|
+
* Elemento del breadcrumb di navigazione dell'editor.
|
|
62
|
+
*/
|
|
63
|
+
export interface UiEditorBreadcrumbItem {
|
|
64
|
+
/** Label visualizzata. */
|
|
65
|
+
label: string;
|
|
66
|
+
/** ID dell'elemento (form, sezione o campo). */
|
|
67
|
+
id: string;
|
|
68
|
+
/** Tipo di elemento. */
|
|
69
|
+
type: 'form' | 'section' | 'field';
|
|
70
|
+
/** Se e l'elemento attualmente attivo. */
|
|
71
|
+
active: boolean;
|
|
72
|
+
}
|
|
73
|
+
/**
|
|
74
|
+
* Struttura dati per il salvataggio nel localStorage.
|
|
75
|
+
*/
|
|
76
|
+
export interface UiEditorStorageData {
|
|
77
|
+
/** Schema salvato. */
|
|
78
|
+
schema: UiFormSchema;
|
|
79
|
+
/** Timestamp del salvataggio (epoch ms). */
|
|
80
|
+
timestamp: number;
|
|
81
|
+
/** Versione dello storage per compatibilita futura. */
|
|
82
|
+
version: string;
|
|
83
|
+
}
|
|
84
|
+
/**
|
|
85
|
+
* Risultato della validazione dello schema nell'editor.
|
|
86
|
+
*/
|
|
87
|
+
export interface UiEditorSchemaValidationResult {
|
|
88
|
+
/** Se lo schema e valido. */
|
|
89
|
+
valid: boolean;
|
|
90
|
+
/** Errori di validazione. */
|
|
91
|
+
errors: UiEditorSchemaValidationError[];
|
|
92
|
+
/** Warning di validazione. */
|
|
93
|
+
warnings: UiEditorSchemaValidationWarning[];
|
|
94
|
+
}
|
|
95
|
+
/**
|
|
96
|
+
* Errore di validazione dello schema.
|
|
97
|
+
*/
|
|
98
|
+
export interface UiEditorSchemaValidationError {
|
|
99
|
+
/** Tipo di errore. */
|
|
100
|
+
type: 'duplicate_key' | 'invalid_type' | 'missing_required' | 'invalid_reference' | 'invalid_format';
|
|
101
|
+
/** Messaggio di errore. */
|
|
102
|
+
message: string;
|
|
103
|
+
/** Path dell'elemento con errore (es. `sections[0].fields[2].key`). */
|
|
104
|
+
path: string;
|
|
105
|
+
}
|
|
106
|
+
/**
|
|
107
|
+
* Warning di validazione dello schema.
|
|
108
|
+
*/
|
|
109
|
+
export interface UiEditorSchemaValidationWarning {
|
|
110
|
+
/** Tipo di warning. */
|
|
111
|
+
type: 'missing_label' | 'empty_options' | 'unused_field' | 'circular_condition';
|
|
112
|
+
/** Messaggio di warning. */
|
|
113
|
+
message: string;
|
|
114
|
+
/** Path dell'elemento con warning. */
|
|
115
|
+
path: string;
|
|
116
|
+
}
|
|
117
|
+
/**
|
|
118
|
+
* Dati passati alla modale dell'editor.
|
|
119
|
+
* Iniettabili tramite MAT_DIALOG_DATA.
|
|
120
|
+
*/
|
|
121
|
+
export interface UiEditorDialogData {
|
|
122
|
+
/** Schema iniziale da caricare nell'editor. */
|
|
123
|
+
initialSchema?: UiFormSchema;
|
|
124
|
+
}
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
import { UiConfirmDialogData, UiConfirmVariant, UiIconName, UiVariant } from './modal.types';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
/**
|
|
4
|
+
* Dialogo di conferma leggero per azioni condizionali.
|
|
5
|
+
*
|
|
6
|
+
* Non va utilizzato direttamente nel template: viene aperto
|
|
7
|
+
* programmaticamente tramite `UiModalService.confirm()` e i suoi
|
|
8
|
+
* metodi scorciatoia (`confirmDelete`, `confirmDiscard`, `confirmSave`).
|
|
9
|
+
*
|
|
10
|
+
* Supporta quattro varianti semantiche — confirm, delete, warn, info —
|
|
11
|
+
* ciascuna con icona e colore preconfigurati.
|
|
12
|
+
*
|
|
13
|
+
* @selector ui-confirm-dialog
|
|
14
|
+
*
|
|
15
|
+
* @example
|
|
16
|
+
* ```typescript
|
|
17
|
+
* // Apertura tramite servizio
|
|
18
|
+
* this.modalService.confirm({
|
|
19
|
+
* title: 'Conferma eliminazione',
|
|
20
|
+
* message: 'Questa azione non puo essere annullata.',
|
|
21
|
+
* variant: 'delete',
|
|
22
|
+
* }).subscribe(confirmed => {
|
|
23
|
+
* if (confirmed) this.deleteItem();
|
|
24
|
+
* });
|
|
25
|
+
* ```
|
|
26
|
+
*/
|
|
27
|
+
export declare class UiConfirmDialogComponent {
|
|
28
|
+
/** @internal Dati iniettati dal servizio modale. */
|
|
29
|
+
readonly data: UiConfirmDialogData;
|
|
30
|
+
/** @internal Riferimento al dialogo per la chiusura. */
|
|
31
|
+
private readonly dialogRef;
|
|
32
|
+
/** Variante semantica corrente. */
|
|
33
|
+
get variant(): UiConfirmVariant;
|
|
34
|
+
/** Nome icona Lucide da visualizzare. */
|
|
35
|
+
get iconName(): UiIconName;
|
|
36
|
+
/** Variante del pulsante di conferma. */
|
|
37
|
+
get confirmButtonVariant(): UiVariant;
|
|
38
|
+
/** Classi CSS per il contenitore icona. */
|
|
39
|
+
get iconClasses(): string;
|
|
40
|
+
/** Conferma e chiude il dialogo con `true`. */
|
|
41
|
+
confirm(): void;
|
|
42
|
+
/** Annulla e chiude il dialogo con `false`. */
|
|
43
|
+
cancel(): void;
|
|
44
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<UiConfirmDialogComponent, never>;
|
|
45
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<UiConfirmDialogComponent, "ui-confirm-dialog", never, {}, {}, never, never, true, never>;
|
|
46
|
+
}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
export { UiModalComponent } from './modal.component';
|
|
2
|
+
export { UiConfirmDialogComponent } from './confirm-dialog.component';
|
|
3
|
+
export { UiModalService } from './modal.service';
|
|
4
|
+
export { UiModalConfig, UiModalOpenConfig, UiModalSize, UiConfirmDialogData, UiConfirmVariant, } from './modal.types';
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
import { EventEmitter } from '@angular/core';
|
|
2
|
+
import { UiModalConfig } from './modal.types';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
/**
|
|
5
|
+
* Componente modale standalone con struttura header/body/footer.
|
|
6
|
+
*
|
|
7
|
+
* Da utilizzare come wrapper all'interno di componenti aperti
|
|
8
|
+
* tramite `UiModalService.open()`. Fornisce la struttura visuale
|
|
9
|
+
* e gestisce la chiusura programmatica.
|
|
10
|
+
*
|
|
11
|
+
* **Content projection:**
|
|
12
|
+
* - Contenuto di default: va nel body
|
|
13
|
+
* - `[uiModalHeader]`: sostituisce il titolo nell'header
|
|
14
|
+
* - `[uiModalFooter]`: azioni nel footer
|
|
15
|
+
*
|
|
16
|
+
* @selector ui-modal
|
|
17
|
+
*
|
|
18
|
+
* @example
|
|
19
|
+
* ```html
|
|
20
|
+
* <ui-modal [config]="{ title: 'Dettagli', size: 'md' }">
|
|
21
|
+
* <p>Contenuto del body della modale.</p>
|
|
22
|
+
* <div uiModalFooter>
|
|
23
|
+
* <ui-button label="Chiudi" variant="ghost" (click)="close()" />
|
|
24
|
+
* <ui-button label="Salva" variant="primary" (click)="save()" />
|
|
25
|
+
* </div>
|
|
26
|
+
* </ui-modal>
|
|
27
|
+
* ```
|
|
28
|
+
*/
|
|
29
|
+
export declare class UiModalComponent {
|
|
30
|
+
/** Configurazione strutturale della modale. */
|
|
31
|
+
config: UiModalConfig;
|
|
32
|
+
/**
|
|
33
|
+
* Emesso quando la modale viene chiusa.
|
|
34
|
+
* Utile se il componente e usato direttamente nel template
|
|
35
|
+
* senza UiModalService.
|
|
36
|
+
*/
|
|
37
|
+
closed: EventEmitter<unknown>;
|
|
38
|
+
/** @internal Riferimento al dialogo Material per la chiusura. */
|
|
39
|
+
private dialogRef;
|
|
40
|
+
/** Chiude la modale con un risultato opzionale. */
|
|
41
|
+
close(result?: unknown): void;
|
|
42
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<UiModalComponent, never>;
|
|
43
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<UiModalComponent, "ui-modal", never, { "config": { "alias": "config"; "required": false; }; }, { "closed": "closed"; }, never, ["[uiModalHeader]", "*", "[uiModalFooter]"], true, never>;
|
|
44
|
+
}
|