@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,145 @@
|
|
|
1
|
+
import { OnInit, OnDestroy, ChangeDetectorRef, Injector } from '@angular/core';
|
|
2
|
+
import { ControlValueAccessor, FormBuilder, FormGroup, AbstractControl, ValidationErrors, Validator, NgControl } from '@angular/forms';
|
|
3
|
+
import { UiLocationService, UiNazione, UiProvincia, UiComune } from '../../services/location.service';
|
|
4
|
+
import { UiLocationConfig, UiLocationValue } from '../../types/territoriale.types';
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
/**
|
|
7
|
+
* Interfaccia interna per i CAP nel componente.
|
|
8
|
+
*/
|
|
9
|
+
interface UiCapOption {
|
|
10
|
+
/** ID del CAP. */
|
|
11
|
+
id: string;
|
|
12
|
+
/** Codice CAP visualizzato. */
|
|
13
|
+
codice: string;
|
|
14
|
+
/** ID del comune associato. */
|
|
15
|
+
comuneId: string;
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* Componente standalone per la selezione di dati geografici italiani o esteri.
|
|
19
|
+
*
|
|
20
|
+
* Supporta due modalita:
|
|
21
|
+
* - **Italia**: selezione a cascata nazione -> provincia -> comune -> CAP
|
|
22
|
+
* - **Estero**: selezione nazione + campo testo libero per il comune
|
|
23
|
+
*
|
|
24
|
+
* Campi opzionali configurabili: indirizzo, mail, PEC, telefono.
|
|
25
|
+
*
|
|
26
|
+
* Implementa `ControlValueAccessor` e `Validator` per l'integrazione
|
|
27
|
+
* diretta con Angular Reactive Forms.
|
|
28
|
+
*
|
|
29
|
+
* Utilizza dati da JSON statici tramite `UiLocationService`
|
|
30
|
+
* (nessuna dipendenza al backend).
|
|
31
|
+
*
|
|
32
|
+
* @selector ui-specifica-territoriale
|
|
33
|
+
*
|
|
34
|
+
* @example
|
|
35
|
+
* ```html
|
|
36
|
+
* <ui-specifica-territoriale
|
|
37
|
+
* [formControl]="myControl"
|
|
38
|
+
* [config]="{ italyByDefault: true, cap: { show: true } }"
|
|
39
|
+
* />
|
|
40
|
+
* ```
|
|
41
|
+
*/
|
|
42
|
+
export declare class UiSpecificaTerritorialeComponent implements ControlValueAccessor, Validator, OnInit, OnDestroy {
|
|
43
|
+
private readonly fb;
|
|
44
|
+
private readonly injector;
|
|
45
|
+
private readonly cdr;
|
|
46
|
+
private readonly locationService;
|
|
47
|
+
/** Configurazione del componente. */
|
|
48
|
+
config: UiLocationConfig;
|
|
49
|
+
/** Stato disabilitato globale. */
|
|
50
|
+
disabled: boolean;
|
|
51
|
+
private readonly EMAIL_PATTERN;
|
|
52
|
+
private readonly PEC_PATTERN;
|
|
53
|
+
private readonly PHONE_PATTERN;
|
|
54
|
+
form: FormGroup;
|
|
55
|
+
isItalian: boolean;
|
|
56
|
+
isForeign: boolean;
|
|
57
|
+
ngControl: NgControl;
|
|
58
|
+
/** Elenco nazioni disponibili. */
|
|
59
|
+
nazioni: UiNazione[];
|
|
60
|
+
/** Elenco province disponibili. */
|
|
61
|
+
province: UiProvincia[];
|
|
62
|
+
/** Comuni filtrati per la provincia selezionata. */
|
|
63
|
+
filteredComuni: UiComune[];
|
|
64
|
+
/** CAP filtrati per il comune selezionato. */
|
|
65
|
+
filteredCaps: UiCapOption[];
|
|
66
|
+
/** Promise di inizializzazione (utile per test e table-territoriale). */
|
|
67
|
+
initializationPromise: Promise<void> | null;
|
|
68
|
+
private readonly destroy$;
|
|
69
|
+
private onChange;
|
|
70
|
+
private onTouched;
|
|
71
|
+
private onValidatorChange;
|
|
72
|
+
private subscriptionsInitialized;
|
|
73
|
+
private pendingWriteValue;
|
|
74
|
+
private isInitializing;
|
|
75
|
+
private tipologicheLoaded;
|
|
76
|
+
constructor(fb: FormBuilder, injector: Injector, cdr: ChangeDetectorRef, locationService: UiLocationService);
|
|
77
|
+
ngOnInit(): void;
|
|
78
|
+
ngOnDestroy(): void;
|
|
79
|
+
writeValue(value: UiLocationValue | null): void;
|
|
80
|
+
registerOnChange(fn: (value: UiLocationValue) => void): void;
|
|
81
|
+
registerOnTouched(fn: () => void): void;
|
|
82
|
+
registerOnValidatorChange(fn: () => void): void;
|
|
83
|
+
setDisabledState(isDisabled: boolean): void;
|
|
84
|
+
validate(_control: AbstractControl): ValidationErrors | null;
|
|
85
|
+
/** Marca tutti i controlli interni come touched. */
|
|
86
|
+
markAsTouched(): void;
|
|
87
|
+
/** Verifica se mostrare gli errori per un campo interno. */
|
|
88
|
+
shouldShowFieldErrors(fieldKey: string): boolean;
|
|
89
|
+
/** Errori di un campo interno come array di messaggi. */
|
|
90
|
+
getFieldErrors(fieldKey: string): string[];
|
|
91
|
+
/** Handler blur per propagare il touched. */
|
|
92
|
+
onBlur(): void;
|
|
93
|
+
/** Resetta lo stato del componente. */
|
|
94
|
+
resetComponentState(): void;
|
|
95
|
+
/** Labels personalizzabili con valori di default. */
|
|
96
|
+
get labels(): {
|
|
97
|
+
nazione: string;
|
|
98
|
+
provincia: string;
|
|
99
|
+
comune: string;
|
|
100
|
+
cap: string;
|
|
101
|
+
indirizzo: string;
|
|
102
|
+
comuneEstero: string;
|
|
103
|
+
mail: string;
|
|
104
|
+
pec: string;
|
|
105
|
+
telefono: string;
|
|
106
|
+
};
|
|
107
|
+
get hasValidationErrors(): boolean;
|
|
108
|
+
get validationErrors(): string[];
|
|
109
|
+
get showCAP(): boolean;
|
|
110
|
+
get showIndirizzo(): boolean;
|
|
111
|
+
get showMail(): boolean;
|
|
112
|
+
get showPEC(): boolean;
|
|
113
|
+
get showTelefono(): boolean;
|
|
114
|
+
get capColumns(): number;
|
|
115
|
+
get indirizzoColumns(): number;
|
|
116
|
+
get mailColumns(): number;
|
|
117
|
+
get pecColumns(): number;
|
|
118
|
+
get telefonoColumns(): number;
|
|
119
|
+
get isItalyByDefault(): boolean;
|
|
120
|
+
get isCapDisabled(): boolean;
|
|
121
|
+
get isNazioneDisabled(): boolean;
|
|
122
|
+
get isRequired(): boolean;
|
|
123
|
+
private initializeComponent;
|
|
124
|
+
private initializeForm;
|
|
125
|
+
private setupNgControl;
|
|
126
|
+
private loadLocationData;
|
|
127
|
+
private processWriteValue;
|
|
128
|
+
private handleItalyByDefaultValue;
|
|
129
|
+
private setupFormSubscriptions;
|
|
130
|
+
private handleTerritorialChanges;
|
|
131
|
+
private updateNationalityState;
|
|
132
|
+
private updateTerritorialData;
|
|
133
|
+
private updateFilteredComuni;
|
|
134
|
+
private updateFilteredCaps;
|
|
135
|
+
private updateComponentState;
|
|
136
|
+
private applyFieldsDisabledState;
|
|
137
|
+
private updateValidators;
|
|
138
|
+
private applyContactValidators;
|
|
139
|
+
private validateContactFields;
|
|
140
|
+
private applyInitialConfiguration;
|
|
141
|
+
private notifyValidationChange;
|
|
142
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<UiSpecificaTerritorialeComponent, never>;
|
|
143
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<UiSpecificaTerritorialeComponent, "ui-specifica-territoriale", never, { "config": { "alias": "config"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; }, {}, never, never, true, never>;
|
|
144
|
+
}
|
|
145
|
+
export {};
|
|
@@ -0,0 +1,108 @@
|
|
|
1
|
+
import { OnInit, OnDestroy, OnChanges, SimpleChanges, ChangeDetectorRef, Injector } from '@angular/core';
|
|
2
|
+
import { ControlValueAccessor, Validator, AbstractControl, ValidationErrors, NgControl } from '@angular/forms';
|
|
3
|
+
import { MatTableDataSource } from '@angular/material/table';
|
|
4
|
+
import { UiSpecificaTerritorialeComponent } from '../specifica-territoriale/specifica-territoriale.component';
|
|
5
|
+
import { UiLocationService } from '../../services/location.service';
|
|
6
|
+
import { UiButtonDescriptor } from '../../../button/index';
|
|
7
|
+
import { UiLocationTableConfig, UiLocationRow } from '../../types/territoriale.types';
|
|
8
|
+
import * as i0 from "@angular/core";
|
|
9
|
+
/**
|
|
10
|
+
* Componente standalone per la gestione tabellare di location multiple.
|
|
11
|
+
*
|
|
12
|
+
* Permette l'inserimento, la modifica e l'eliminazione di righe
|
|
13
|
+
* territoriali (italiane o estere) tramite una tabella Material
|
|
14
|
+
* con form inline basato su `UiSpecificaTerritorialeComponent`.
|
|
15
|
+
*
|
|
16
|
+
* Implementa `ControlValueAccessor` e `Validator` per l'integrazione
|
|
17
|
+
* con Angular Reactive Forms. Il valore e un array di `UiLocationRow`.
|
|
18
|
+
*
|
|
19
|
+
* @selector ui-table-territoriale
|
|
20
|
+
*
|
|
21
|
+
* @example
|
|
22
|
+
* ```html
|
|
23
|
+
* <ui-table-territoriale
|
|
24
|
+
* [formControl]="sedeControl"
|
|
25
|
+
* [config]="{
|
|
26
|
+
* tableLabel: 'Sedi operative',
|
|
27
|
+
* subFieldConfig: { italyByDefault: true, cap: { show: true } }
|
|
28
|
+
* }"
|
|
29
|
+
* />
|
|
30
|
+
* ```
|
|
31
|
+
*/
|
|
32
|
+
export declare class UiTableTerritorialeComponent implements ControlValueAccessor, Validator, OnInit, OnDestroy, OnChanges {
|
|
33
|
+
private readonly cdr;
|
|
34
|
+
private readonly injector;
|
|
35
|
+
private readonly locationService;
|
|
36
|
+
/** Configurazione della tabella. */
|
|
37
|
+
config: UiLocationTableConfig;
|
|
38
|
+
/** Stato disabilitato globale. */
|
|
39
|
+
disabled: boolean;
|
|
40
|
+
/** Righe della tabella. */
|
|
41
|
+
rows: UiLocationRow[];
|
|
42
|
+
/** DataSource Material per la tabella. */
|
|
43
|
+
dataSource: MatTableDataSource<UiLocationRow, import("@angular/material/paginator").MatPaginator>;
|
|
44
|
+
/** Modalita editing attiva. */
|
|
45
|
+
editMode: boolean;
|
|
46
|
+
/** Modalita inserimento attiva. */
|
|
47
|
+
insertMode: boolean;
|
|
48
|
+
/** Riga in modifica. */
|
|
49
|
+
editingRow: UiLocationRow | null;
|
|
50
|
+
/** Indice della riga in modifica. */
|
|
51
|
+
editingIndex: number | null;
|
|
52
|
+
/** Colonne visualizzate nella tabella. */
|
|
53
|
+
displayedColumns: string[];
|
|
54
|
+
/** Configurazione delle colonne. */
|
|
55
|
+
columnConfig: Record<string, {
|
|
56
|
+
label: string;
|
|
57
|
+
show: boolean;
|
|
58
|
+
}>;
|
|
59
|
+
/** Pulsanti per il form di inserimento/modifica. */
|
|
60
|
+
formButtons: UiButtonDescriptor[];
|
|
61
|
+
/** Pulsante per aggiungere una nuova riga. */
|
|
62
|
+
addButton: UiButtonDescriptor[];
|
|
63
|
+
/** NgControl per accedere alla validazione del form parent. */
|
|
64
|
+
ngControl: NgControl | null;
|
|
65
|
+
specificaForm: UiSpecificaTerritorialeComponent;
|
|
66
|
+
private readonly destroy$;
|
|
67
|
+
private onChange;
|
|
68
|
+
private onTouched;
|
|
69
|
+
private onValidatorChange;
|
|
70
|
+
constructor(cdr: ChangeDetectorRef, injector: Injector, locationService: UiLocationService);
|
|
71
|
+
ngOnInit(): void;
|
|
72
|
+
ngOnChanges(changes: SimpleChanges): void;
|
|
73
|
+
ngOnDestroy(): void;
|
|
74
|
+
writeValue(value: UiLocationRow[] | null): void;
|
|
75
|
+
registerOnChange(fn: (value: UiLocationRow[]) => void): void;
|
|
76
|
+
registerOnTouched(fn: () => void): void;
|
|
77
|
+
setDisabledState(isDisabled: boolean): void;
|
|
78
|
+
validate(control: AbstractControl): ValidationErrors | null;
|
|
79
|
+
get isRequired(): boolean;
|
|
80
|
+
get hasValidationErrors(): boolean;
|
|
81
|
+
get validationErrors(): string[];
|
|
82
|
+
private initializeColumns;
|
|
83
|
+
/** Attiva la modalita inserimento. */
|
|
84
|
+
activateInsertMode(): void;
|
|
85
|
+
/** Attiva la modalita modifica per una riga. */
|
|
86
|
+
editRow(row: UiLocationRow, index: number): void;
|
|
87
|
+
/** Annulla l'operazione in corso (inserimento o modifica). */
|
|
88
|
+
cancelEdit(): void;
|
|
89
|
+
/** Rimuove una riga dalla tabella. */
|
|
90
|
+
removeRow(index: number): void;
|
|
91
|
+
/** Salva la riga corrente (nuova o in modifica). */
|
|
92
|
+
saveRow(): Promise<void>;
|
|
93
|
+
/** Marca il componente come touched. */
|
|
94
|
+
markAsTouched(): void;
|
|
95
|
+
/** Resetta lo stato del componente. */
|
|
96
|
+
resetComponentState(): void;
|
|
97
|
+
/** Funzione track by per la tabella. */
|
|
98
|
+
trackByFn(_index: number, item: UiLocationRow): string;
|
|
99
|
+
private mapRowToFormValue;
|
|
100
|
+
private mapFormValueToRow;
|
|
101
|
+
private propagateChange;
|
|
102
|
+
private generateUUID;
|
|
103
|
+
private calculateActions;
|
|
104
|
+
private calculateFormButtons;
|
|
105
|
+
private calculateAddButton;
|
|
106
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<UiTableTerritorialeComponent, never>;
|
|
107
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<UiTableTerritorialeComponent, "ui-table-territoriale", never, { "config": { "alias": "config"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; }, {}, never, never, true, never>;
|
|
108
|
+
}
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @module ng-ui-system/form-builder
|
|
3
|
+
* Tipi per il sistema di condizioni (visibilita, required, disable).
|
|
4
|
+
*/
|
|
5
|
+
/**
|
|
6
|
+
* Operatori di confronto supportati dal sistema di condizioni.
|
|
7
|
+
*
|
|
8
|
+
* | Operatore | Descrizione |
|
|
9
|
+
* |------------------|--------------------------------------------|
|
|
10
|
+
* | `equals` | Uguale a `value` |
|
|
11
|
+
* | `not_equals` | Diverso da `value` |
|
|
12
|
+
* | `contains` | La stringa contiene `value` |
|
|
13
|
+
* | `not_contains` | La stringa non contiene `value` |
|
|
14
|
+
* | `greater_than` | Maggiore di `value` (numerico) |
|
|
15
|
+
* | `less_than` | Minore di `value` (numerico) |
|
|
16
|
+
* | `greater_equal` | Maggiore o uguale a `value` |
|
|
17
|
+
* | `less_equal` | Minore o uguale a `value` |
|
|
18
|
+
* | `is_empty` | Il campo e vuoto/null/undefined |
|
|
19
|
+
* | `is_not_empty` | Il campo ha un valore non vuoto |
|
|
20
|
+
* | `in_array` | Il valore e presente nell'array `value` |
|
|
21
|
+
* | `not_in_array` | Il valore non e presente nell'array `value`|
|
|
22
|
+
*/
|
|
23
|
+
export type UiConditionalOperator = 'equals' | 'not_equals' | 'contains' | 'not_contains' | 'greater_than' | 'less_than' | 'greater_equal' | 'less_equal' | 'is_empty' | 'is_not_empty' | 'in_array' | 'not_in_array';
|
|
24
|
+
/**
|
|
25
|
+
* Condizione per il rendering condizionale dei campi.
|
|
26
|
+
*
|
|
27
|
+
* Piu condizioni possono essere combinate con logica AND/OR.
|
|
28
|
+
* Default: AND (tutte le condizioni devono essere vere).
|
|
29
|
+
*
|
|
30
|
+
* @example
|
|
31
|
+
* ```typescript
|
|
32
|
+
* // Campo visibile solo se 'tipo' == 'persona-fisica'
|
|
33
|
+
* conditions: [{ field: 'tipo', operator: 'equals', value: 'persona-fisica' }]
|
|
34
|
+
*
|
|
35
|
+
* // Combinazione AND/OR
|
|
36
|
+
* conditions: [
|
|
37
|
+
* { field: 'stato', operator: 'equals', value: 'attivo', logic: 'AND' },
|
|
38
|
+
* { field: 'ruolo', operator: 'in_array', value: ['admin', 'editor'] },
|
|
39
|
+
* ]
|
|
40
|
+
* ```
|
|
41
|
+
*/
|
|
42
|
+
export interface UiFieldCondition {
|
|
43
|
+
/** Chiave del campo da valutare. Supporta dot notation (es. `'address.city'`). */
|
|
44
|
+
field: string;
|
|
45
|
+
/** Operatore di confronto. */
|
|
46
|
+
operator: UiConditionalOperator;
|
|
47
|
+
/** Valore di confronto (opzionale per `is_empty`/`is_not_empty`). */
|
|
48
|
+
value?: any;
|
|
49
|
+
/** Logica di combinazione con le altre condizioni. @default 'AND' */
|
|
50
|
+
logic?: 'AND' | 'OR';
|
|
51
|
+
}
|
|
@@ -0,0 +1,330 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @module ng-ui-system/form-builder
|
|
3
|
+
* Tipi relativi ai campi del form builder.
|
|
4
|
+
*/
|
|
5
|
+
import type { FormControl, FormGroup } from '@angular/forms';
|
|
6
|
+
import { Observable } from 'rxjs';
|
|
7
|
+
import { UiIconName } from '../../../core/types';
|
|
8
|
+
import type { UiLocationGeocodedFieldConfig } from './geocoded-location.types';
|
|
9
|
+
export { UiIconName };
|
|
10
|
+
/**
|
|
11
|
+
* Tipi di campo supportati dal form builder.
|
|
12
|
+
*
|
|
13
|
+
* | Tipo | Descrizione |
|
|
14
|
+
* |-------------------|---------------------------------------------------|
|
|
15
|
+
* | `text` | Input testuale generico |
|
|
16
|
+
* | `email` | Input email con validazione formato |
|
|
17
|
+
* | `password` | Input password con oscuramento |
|
|
18
|
+
* | `number` | Input numerico (supporta currency directive) |
|
|
19
|
+
* | `textarea` | Area di testo multi-riga |
|
|
20
|
+
* | `select` | Select singola (con autocomplete opzionale) |
|
|
21
|
+
* | `multiselect` | Select multipla con chips e autocomplete |
|
|
22
|
+
* | `freemultiselect` | Multiselect a testo libero con chips |
|
|
23
|
+
* | `checkbox` | Checkbox (puo renderizzare come switch) |
|
|
24
|
+
* | `switch` | Toggle switch (mat-slide-toggle) |
|
|
25
|
+
* | `radio` | Gruppo radio button (supporta icone) |
|
|
26
|
+
* | `date` | Date picker (supporta vista mese/anno) |
|
|
27
|
+
* | `datetime` | Date e time picker combinato |
|
|
28
|
+
* | `file` | Upload file con drag & drop e preview |
|
|
29
|
+
* | `divider` | Separatore visuale (nessun valore nel form) |
|
|
30
|
+
* | `flag` | Campo nascosto per logica interna (sempre readonly)|
|
|
31
|
+
* | `custom` | Extension point per componenti custom |
|
|
32
|
+
* | `location` | Selezione territorio (nazione/provincia/comune/CAP)|
|
|
33
|
+
* | `location-table` | Tabella CRUD di location multiple |
|
|
34
|
+
* | `location-geocoded` | Indirizzo libero con autocomplete geocodificato |
|
|
35
|
+
*/
|
|
36
|
+
export type UiFieldType = 'text' | 'email' | 'password' | 'number' | 'textarea' | 'select' | 'multiselect' | 'freemultiselect' | 'checkbox' | 'switch' | 'radio' | 'date' | 'datetime' | 'file' | 'divider' | 'flag' | 'custom' | 'location' | 'location-table' | 'location-geocoded';
|
|
37
|
+
/**
|
|
38
|
+
* Singola opzione per campi select, radio, multiselect.
|
|
39
|
+
*/
|
|
40
|
+
export interface UiFieldOption {
|
|
41
|
+
/** Valore dell'opzione (chiave logica). */
|
|
42
|
+
value: any;
|
|
43
|
+
/** Etichetta visualizzata all'utente. */
|
|
44
|
+
label: string;
|
|
45
|
+
/** Disabilita l'opzione nella lista. */
|
|
46
|
+
disabled?: boolean;
|
|
47
|
+
/** Metadati aggiuntivi associati all'opzione. */
|
|
48
|
+
metadata?: Record<string, any>;
|
|
49
|
+
/** Icona Lucide da mostrare accanto alla label. */
|
|
50
|
+
icon?: UiIconName;
|
|
51
|
+
/** Tooltip al passaggio del mouse. */
|
|
52
|
+
tooltip?: string;
|
|
53
|
+
}
|
|
54
|
+
/**
|
|
55
|
+
* Generazione dinamica di opzioni.
|
|
56
|
+
* Supporta generatori predefiniti (es. range anni) o funzioni custom.
|
|
57
|
+
*
|
|
58
|
+
* @example
|
|
59
|
+
* ```typescript
|
|
60
|
+
* // Range anni dall'anno corrente a 5 anni fa
|
|
61
|
+
* dynamicOptions: { type: 'year-range', minYear: 2020, maxYear: 2026 }
|
|
62
|
+
*
|
|
63
|
+
* // Generatore custom
|
|
64
|
+
* dynamicOptions: { type: 'custom', generator: (formData) => [...] }
|
|
65
|
+
* ```
|
|
66
|
+
*/
|
|
67
|
+
export interface UiDynamicOptionsConfig {
|
|
68
|
+
/** Tipo di generazione. */
|
|
69
|
+
type: 'year-range' | 'custom';
|
|
70
|
+
/** Anno minimo (per `year-range`). */
|
|
71
|
+
minYear?: number;
|
|
72
|
+
/** Anno massimo (per `year-range`, default: anno corrente). */
|
|
73
|
+
maxYear?: number;
|
|
74
|
+
/** Funzione custom per generare le opzioni. */
|
|
75
|
+
generator?: (formData: Record<string, any>) => UiFieldOption[];
|
|
76
|
+
}
|
|
77
|
+
/**
|
|
78
|
+
* Filtraggio opzioni basato sul valore di un altro campo.
|
|
79
|
+
*
|
|
80
|
+
* @example
|
|
81
|
+
* ```typescript
|
|
82
|
+
* // Mostra solo anni >= dell'anno selezionato in 'anno-inizio'
|
|
83
|
+
* dependentOptions: {
|
|
84
|
+
* dependsOn: 'anno-inizio',
|
|
85
|
+
* filterType: 'greater_equal',
|
|
86
|
+
* }
|
|
87
|
+
* ```
|
|
88
|
+
*/
|
|
89
|
+
export interface UiDependentOptionsConfig {
|
|
90
|
+
/** Chiave del campo da cui dipendono le opzioni. */
|
|
91
|
+
dependsOn: string;
|
|
92
|
+
/** Tipo di filtro predefinito da applicare. */
|
|
93
|
+
filterType: 'greater_than' | 'greater_equal' | 'less_than' | 'less_equal' | 'equals' | 'not_equals' | 'custom';
|
|
94
|
+
/** Funzione custom per filtrare le opzioni. */
|
|
95
|
+
filterFn?: (option: UiFieldOption, dependentValue: any, formData: Record<string, any>) => boolean;
|
|
96
|
+
/** Messaggio mostrato se nessuna opzione disponibile dopo il filtro. */
|
|
97
|
+
noOptionsMessage?: string;
|
|
98
|
+
/** Se `true`, disabilita le opzioni filtrate invece di nasconderle. */
|
|
99
|
+
disableInsteadOfHide?: boolean;
|
|
100
|
+
}
|
|
101
|
+
/**
|
|
102
|
+
* Configurazione per tooltip con icona affiancata al campo.
|
|
103
|
+
*/
|
|
104
|
+
export interface UiIconTooltip {
|
|
105
|
+
/** Testo visualizzato nel tooltip. */
|
|
106
|
+
text: string;
|
|
107
|
+
/** Icona Lucide da mostrare. @default 'info' */
|
|
108
|
+
icon?: UiIconName;
|
|
109
|
+
/** Classe CSS aggiuntiva per il tooltip. */
|
|
110
|
+
tooltipClass?: string;
|
|
111
|
+
}
|
|
112
|
+
/**
|
|
113
|
+
* Dati di un singolo file gestito dal componente file input.
|
|
114
|
+
*/
|
|
115
|
+
export interface UiFileData {
|
|
116
|
+
/** Nome del file. */
|
|
117
|
+
filename: string;
|
|
118
|
+
/** Contenuto del file come byte array. */
|
|
119
|
+
content: Uint8Array;
|
|
120
|
+
/** Tipo MIME del file. */
|
|
121
|
+
mimeType: string;
|
|
122
|
+
/** Estensione del file (es. `pdf`, `jpg`). */
|
|
123
|
+
extension: string;
|
|
124
|
+
/** Dimensione del file in bytes. */
|
|
125
|
+
size: number;
|
|
126
|
+
/** Flag che indica se il file deve essere ancora caricato. */
|
|
127
|
+
needsUpload: boolean;
|
|
128
|
+
/** ID univoco per tracciamento interno. */
|
|
129
|
+
id?: string;
|
|
130
|
+
/** URL per l'anteprima (immagini/PDF). */
|
|
131
|
+
previewUrl?: string;
|
|
132
|
+
/** Timestamp di creazione/modifica. */
|
|
133
|
+
timestamp?: Date;
|
|
134
|
+
/** ID del file sul server (per file gia caricati). */
|
|
135
|
+
serverFileId?: number;
|
|
136
|
+
/** Path del file sul server (per file gia caricati). */
|
|
137
|
+
serverPath?: string;
|
|
138
|
+
}
|
|
139
|
+
/**
|
|
140
|
+
* Configurazione per il campo file input.
|
|
141
|
+
*/
|
|
142
|
+
export interface UiFileInputConfig {
|
|
143
|
+
/** Dimensione massima per singolo file in bytes. */
|
|
144
|
+
maxFileSize?: number;
|
|
145
|
+
/** Tipi MIME accettati (es. `['application/pdf', 'image/*']`). */
|
|
146
|
+
acceptedTypes?: string[];
|
|
147
|
+
/** Numero massimo di file caricabili. */
|
|
148
|
+
maxFiles?: number;
|
|
149
|
+
/** Abilita selezione multipla. */
|
|
150
|
+
multiple?: boolean;
|
|
151
|
+
/** Mostra anteprime per immagini e PDF. */
|
|
152
|
+
showPreview?: boolean;
|
|
153
|
+
/** Abilita drag & drop. @default true */
|
|
154
|
+
enableDragDrop?: boolean;
|
|
155
|
+
/** Testo placeholder quando nessun file e selezionato. */
|
|
156
|
+
placeholder?: string;
|
|
157
|
+
/** Testo mostrato nell'area drag & drop. */
|
|
158
|
+
dragDropText?: string;
|
|
159
|
+
}
|
|
160
|
+
/**
|
|
161
|
+
* Configurazione per componenti custom iniettati nel form.
|
|
162
|
+
* Permette di estendere il form builder con componenti applicativi.
|
|
163
|
+
*
|
|
164
|
+
* @example
|
|
165
|
+
* ```typescript
|
|
166
|
+
* customConfig: {
|
|
167
|
+
* component: 'my-location-picker',
|
|
168
|
+
* config: { showMap: true, zoom: 12 },
|
|
169
|
+
* }
|
|
170
|
+
* ```
|
|
171
|
+
*/
|
|
172
|
+
export interface UiCustomComponentConfig {
|
|
173
|
+
/** Selettore logico o nome del widget (documentazione / tooling). */
|
|
174
|
+
component: string;
|
|
175
|
+
/**
|
|
176
|
+
* Chiave per risolvere il template in `customFieldTemplates` sul form builder.
|
|
177
|
+
* Se assente si usa `component`, poi la chiave del campo (`field.key`).
|
|
178
|
+
*/
|
|
179
|
+
templateKey?: string;
|
|
180
|
+
/** Input da passare al componente. */
|
|
181
|
+
inputs?: Record<string, any>;
|
|
182
|
+
/** Output da ascoltare dal componente. */
|
|
183
|
+
outputs?: Record<string, string>;
|
|
184
|
+
/** Configurazione specifica del componente. */
|
|
185
|
+
config?: Record<string, any>;
|
|
186
|
+
}
|
|
187
|
+
/**
|
|
188
|
+
* Contesto passato a `ngTemplateOutlet` per i campi `type: 'custom'`.
|
|
189
|
+
* Il componente proiettato dovrebbe collegare il valore tramite `control`
|
|
190
|
+
* (idealmente implementando `ControlValueAccessor` o `[formControl]`).
|
|
191
|
+
*/
|
|
192
|
+
export interface UiCustomFieldTemplateContext {
|
|
193
|
+
/** Stesso di `field` (valore implicito per `let-field` nel template). */
|
|
194
|
+
$implicit: UiFormFieldDescriptor;
|
|
195
|
+
/** Descrittore del campo. */
|
|
196
|
+
field: UiFormFieldDescriptor;
|
|
197
|
+
/** FormGroup del contesto (root o istanza repeatable). */
|
|
198
|
+
formGroup: FormGroup;
|
|
199
|
+
/** `FormControl` del campo (`formGroup.get(field.key)`). */
|
|
200
|
+
control: FormControl;
|
|
201
|
+
/** Configurazione da `customConfig.config`. */
|
|
202
|
+
config: Record<string, any>;
|
|
203
|
+
/**
|
|
204
|
+
* Prefisso per chiavi errore/scroll dei campi interni al CVA
|
|
205
|
+
* (es. `step9[0].sezioneRepertorioRegionale__`).
|
|
206
|
+
*/
|
|
207
|
+
nestedErrorKeyPrefix?: string;
|
|
208
|
+
/** Notifica eventi applicativi (inoltrati come `customEvent` dal form builder). */
|
|
209
|
+
emitCustomEvent: (event: string, data?: any) => void;
|
|
210
|
+
}
|
|
211
|
+
/**
|
|
212
|
+
* Interfaccia legacy per integrazione imperativa (callback).
|
|
213
|
+
* Preferire `ControlValueAccessor` sul controllo del campo e il contesto
|
|
214
|
+
* `UiCustomFieldTemplateContext` tramite template outlet.
|
|
215
|
+
*/
|
|
216
|
+
export interface UiCustomFormComponent {
|
|
217
|
+
/** Valore corrente del componente. */
|
|
218
|
+
value: any;
|
|
219
|
+
/** Stato disabilitato. */
|
|
220
|
+
disabled: boolean;
|
|
221
|
+
/** Configurazione ricevuta dal descriptor. */
|
|
222
|
+
config: Record<string, any>;
|
|
223
|
+
/** Callback per notificare cambiamenti di valore. */
|
|
224
|
+
onChange: (value: any) => void;
|
|
225
|
+
/** Callback per emettere eventi custom. */
|
|
226
|
+
onEvent: (event: string, data: any) => void;
|
|
227
|
+
}
|
|
228
|
+
/**
|
|
229
|
+
* Descrittore completo di un campo del form.
|
|
230
|
+
*
|
|
231
|
+
* Definisce tipo, label, validazione, condizioni di visibilita,
|
|
232
|
+
* opzioni per select/radio e ogni altra configurazione necessaria
|
|
233
|
+
* per il rendering e la logica del campo.
|
|
234
|
+
*
|
|
235
|
+
* @example
|
|
236
|
+
* ```typescript
|
|
237
|
+
* const field: UiFormFieldDescriptor = {
|
|
238
|
+
* key: 'email',
|
|
239
|
+
* type: 'email',
|
|
240
|
+
* label: 'Indirizzo email',
|
|
241
|
+
* placeholder: 'nome@esempio.it',
|
|
242
|
+
* required: true,
|
|
243
|
+
* validation: [
|
|
244
|
+
* { type: 'required', message: 'Campo obbligatorio' },
|
|
245
|
+
* { type: 'email', message: 'Formato email non valido' },
|
|
246
|
+
* ],
|
|
247
|
+
* };
|
|
248
|
+
* ```
|
|
249
|
+
*/
|
|
250
|
+
export interface UiFormFieldDescriptor {
|
|
251
|
+
/** Chiave univoca del campo nel FormGroup. */
|
|
252
|
+
key: string;
|
|
253
|
+
/** Tipo di campo da renderizzare. */
|
|
254
|
+
type: UiFieldType;
|
|
255
|
+
/** Etichetta visualizzata sopra/accanto al campo. */
|
|
256
|
+
label: string;
|
|
257
|
+
/** Testo placeholder. */
|
|
258
|
+
placeholder?: string;
|
|
259
|
+
/** Tooltip testuale per il campo. */
|
|
260
|
+
tooltip?: string;
|
|
261
|
+
/** Configurazione tooltip con icona. */
|
|
262
|
+
iconTooltip?: UiIconTooltip;
|
|
263
|
+
/** Valore di default. */
|
|
264
|
+
defaultValue?: any;
|
|
265
|
+
/** Se il campo e obbligatorio (shortcut per validazione `required`). */
|
|
266
|
+
required?: boolean;
|
|
267
|
+
/** Se il campo e disabilitato. */
|
|
268
|
+
disabled?: boolean;
|
|
269
|
+
/** Se il campo e in sola lettura. */
|
|
270
|
+
readonly?: boolean;
|
|
271
|
+
/** Regole di validazione. @see UiValidationRule */
|
|
272
|
+
validation?: import('./validation.types').UiValidationRule[];
|
|
273
|
+
/** Opzioni statiche o osservabili. */
|
|
274
|
+
options?: UiFieldOption[] | Observable<UiFieldOption[]>;
|
|
275
|
+
/** Nasconde l'opzione vuota iniziale nelle select. */
|
|
276
|
+
hideEmptyOption?: boolean;
|
|
277
|
+
/** Trasforma la select in autocomplete con ricerca. */
|
|
278
|
+
searchable?: boolean;
|
|
279
|
+
/** Mostra pulsante "Seleziona tutto" per multiselect. */
|
|
280
|
+
allowSelectAll?: boolean;
|
|
281
|
+
/**
|
|
282
|
+
* Con `searchable: true` su `select`/`text`, ogni `input` dell'autocomplete
|
|
283
|
+
* invoca la callback: il risultato sostituisce l'elenco opzioni mostrato.
|
|
284
|
+
*/
|
|
285
|
+
asyncOptions?: (query: string) => Promise<UiFieldOption[]>;
|
|
286
|
+
/**
|
|
287
|
+
* Contratto per risolvere opzioni da id (es. prefill da API). Il Form Builder
|
|
288
|
+
* Angular attuale non invoca questa callback; l'app può comporre le opzioni
|
|
289
|
+
* in `options` o collegarla a logica custom.
|
|
290
|
+
*/
|
|
291
|
+
recoverAsyncValues?: (ids: any[]) => Promise<UiFieldOption[]>;
|
|
292
|
+
/** Generazione dinamica di opzioni. */
|
|
293
|
+
dynamicOptions?: UiDynamicOptionsConfig;
|
|
294
|
+
/** Filtraggio opzioni dipendente da altro campo. */
|
|
295
|
+
dependentOptions?: UiDependentOptionsConfig;
|
|
296
|
+
/** Condizioni per la visibilita del campo. */
|
|
297
|
+
conditions?: import('./condition.types').UiFieldCondition[];
|
|
298
|
+
/** Condizioni per disabilitare il campo. */
|
|
299
|
+
disableConditions?: import('./condition.types').UiFieldCondition[];
|
|
300
|
+
/** Congela il valore quando il campo viene disabilitato da `disableConditions`. */
|
|
301
|
+
freezeValueOnDisable?: boolean;
|
|
302
|
+
/** Configurazione per componenti custom. */
|
|
303
|
+
customConfig?: UiCustomComponentConfig;
|
|
304
|
+
/** Configurazione per il campo file. */
|
|
305
|
+
fileConfig?: UiFileInputConfig;
|
|
306
|
+
/** Configurazione per il campo `location-geocoded` (Nominatim / proxy). */
|
|
307
|
+
locationGeocodedConfig?: UiLocationGeocodedFieldConfig;
|
|
308
|
+
/** Configurazione aspetto del campo. */
|
|
309
|
+
appearance?: {
|
|
310
|
+
/** Per checkbox: 'switch' rende il campo come mat-slide-toggle. */
|
|
311
|
+
style?: 'default' | 'switch';
|
|
312
|
+
/** Colore del componente. */
|
|
313
|
+
color?: 'primary' | 'accent' | 'warn';
|
|
314
|
+
};
|
|
315
|
+
/** Classi CSS aggiuntive sul wrapper del campo. */
|
|
316
|
+
cssClasses?: string[];
|
|
317
|
+
/** Attributi HTML aggiuntivi. */
|
|
318
|
+
attributes?: Record<string, any>;
|
|
319
|
+
/** Metadati arbitrari (chips protetti, configurazioni extra, etc.). */
|
|
320
|
+
metadata?: Record<string, any>;
|
|
321
|
+
/** Configurazione layout del campo nel grid. */
|
|
322
|
+
layout?: {
|
|
323
|
+
/** Numero di colonne che il campo occupa (default: dipende dal tipo). */
|
|
324
|
+
columns?: number;
|
|
325
|
+
/** Ordine nel grid. */
|
|
326
|
+
order?: number;
|
|
327
|
+
/** Override colonne per breakpoint (`{ md: 6, lg: 4 }`). */
|
|
328
|
+
breakpoints?: Record<string, number>;
|
|
329
|
+
};
|
|
330
|
+
}
|