@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,63 @@
|
|
|
1
|
+
import { AbstractControl, ValidatorFn } from '@angular/forms';
|
|
2
|
+
import { UiValidationRule } from '../types/validation.types';
|
|
3
|
+
import { UiFormConditionService } from './form-condition.service';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
/**
|
|
6
|
+
* Servizio per la creazione e gestione dei validatori Angular
|
|
7
|
+
* basati sulle regole dichiarative dello schema del form.
|
|
8
|
+
*
|
|
9
|
+
* Supporta validazioni standard, cross-field, date con offset,
|
|
10
|
+
* file e validatori condizionali.
|
|
11
|
+
*
|
|
12
|
+
* @providedIn 'root'
|
|
13
|
+
*/
|
|
14
|
+
export declare class UiFormValidationService {
|
|
15
|
+
private conditionService;
|
|
16
|
+
constructor(conditionService: UiFormConditionService);
|
|
17
|
+
/** Crea un array di validatori Angular dalle regole di validazione. */
|
|
18
|
+
createValidators(rules: UiValidationRule[]): ValidatorFn[];
|
|
19
|
+
/**
|
|
20
|
+
* Crea validatori con supporto condizionale.
|
|
21
|
+
* Le regole con `conditions` vengono applicate solo se le condizioni sono soddisfatte.
|
|
22
|
+
*/
|
|
23
|
+
createConditionalValidators(rules: UiValidationRule[], formData: Record<string, any>): ValidatorFn[];
|
|
24
|
+
/**
|
|
25
|
+
* Aggiorna i validatori di un campo in base allo stato corrente del form.
|
|
26
|
+
* Usato per ricalcolare validazioni condizionali quando i dati cambiano.
|
|
27
|
+
*/
|
|
28
|
+
updateFieldValidators(control: AbstractControl, rules: UiValidationRule[] | undefined, formData: Record<string, any>): void;
|
|
29
|
+
/** Verifica se un campo dovrebbe mostrare gli errori. */
|
|
30
|
+
shouldShowFieldErrors(control: AbstractControl): boolean;
|
|
31
|
+
/** Restituisce i campi correlati da cross-field validation. */
|
|
32
|
+
getCrossFieldRelatedFields(fieldKey: string, allRules: Record<string, UiValidationRule[]>): string[];
|
|
33
|
+
/** Verifica se un campo ha validazioni cross-field che lo referenziano. */
|
|
34
|
+
hasCrossFieldValidations(fieldKey: string, allRules: Record<string, UiValidationRule[]>): boolean;
|
|
35
|
+
/** Formatta la dimensione del file in una stringa leggibile. */
|
|
36
|
+
formatFileSize(bytes: number): string;
|
|
37
|
+
private createValidator;
|
|
38
|
+
private createCrossFieldValidator;
|
|
39
|
+
/** Confronto date con date-fns. */
|
|
40
|
+
private validateDateComparison;
|
|
41
|
+
/** Confronto numerico. */
|
|
42
|
+
private validateNumberComparison;
|
|
43
|
+
private createDateMinValidator;
|
|
44
|
+
private createDateMaxValidator;
|
|
45
|
+
/**
|
|
46
|
+
* Parsa una data di riferimento da keyword o stringa DD/MM/YYYY
|
|
47
|
+
* e applica un eventuale offset temporale.
|
|
48
|
+
*/
|
|
49
|
+
private parseReferenceDate;
|
|
50
|
+
/**
|
|
51
|
+
* Applica un offset temporale a una data.
|
|
52
|
+
*
|
|
53
|
+
* Formato: `numero + unita`
|
|
54
|
+
* - `y`/`a` = anni, `m` = mesi, `g`/`d` = giorni, `s`/`w` = settimane
|
|
55
|
+
*/
|
|
56
|
+
private applyDateOffset;
|
|
57
|
+
private formatRefDate;
|
|
58
|
+
private createFileSizeValidator;
|
|
59
|
+
private createFileTypeValidator;
|
|
60
|
+
private createFileCountValidator;
|
|
61
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<UiFormValidationService, never>;
|
|
62
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<UiFormValidationService>;
|
|
63
|
+
}
|
|
@@ -0,0 +1,83 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
/** Voce nazione nel JSON ottimizzato. */
|
|
3
|
+
export interface MinifiedNazioneOption {
|
|
4
|
+
/** Codice nazione (es. `'ITA'`). */
|
|
5
|
+
x: string;
|
|
6
|
+
/** Descrizione (es. `'Italia'`). */
|
|
7
|
+
d: string;
|
|
8
|
+
}
|
|
9
|
+
/** Voce provincia/comune nel JSON ottimizzato. */
|
|
10
|
+
export interface MinifiedSelectOption {
|
|
11
|
+
/** Codice (provincia o comune). */
|
|
12
|
+
x: string;
|
|
13
|
+
/** Descrizione. */
|
|
14
|
+
d: string;
|
|
15
|
+
/** CAP singolo o multipli. */
|
|
16
|
+
c?: string | string[];
|
|
17
|
+
}
|
|
18
|
+
/** Nazione. */
|
|
19
|
+
export interface UiNazione {
|
|
20
|
+
codStatoPk: string;
|
|
21
|
+
codiceCatastale: string;
|
|
22
|
+
descrizione: string;
|
|
23
|
+
}
|
|
24
|
+
/** Provincia. */
|
|
25
|
+
export interface UiProvincia {
|
|
26
|
+
codiceProvinciaPk: string;
|
|
27
|
+
nomeProvincia: string;
|
|
28
|
+
siglaProvincia: string;
|
|
29
|
+
visibile: boolean;
|
|
30
|
+
}
|
|
31
|
+
/** Comune. */
|
|
32
|
+
export interface UiComune {
|
|
33
|
+
codiceCatastale: string;
|
|
34
|
+
codiceComunePk: string;
|
|
35
|
+
comuneSoppresso: boolean;
|
|
36
|
+
nomeComune: string;
|
|
37
|
+
prov: UiProvincia;
|
|
38
|
+
visibile: boolean;
|
|
39
|
+
}
|
|
40
|
+
/**
|
|
41
|
+
* Servizio per la gestione dei dati geografici italiani
|
|
42
|
+
* da file JSON statici ottimizzati.
|
|
43
|
+
*
|
|
44
|
+
* Elimina la necessita di chiamate backend per nazioni,
|
|
45
|
+
* province, comuni e CAP. I dati vengono caricati in memoria
|
|
46
|
+
* al primo accesso e poi serviti dalla cache.
|
|
47
|
+
*
|
|
48
|
+
* @providedIn 'root'
|
|
49
|
+
*
|
|
50
|
+
* @example
|
|
51
|
+
* ```typescript
|
|
52
|
+
* const nazioni = await this.locationService.getNazioni();
|
|
53
|
+
* const province = await this.locationService.getProvince();
|
|
54
|
+
* const comuni = await this.locationService.getComuniByProvincia('015');
|
|
55
|
+
* const caps = await this.locationService.getCapList('015146');
|
|
56
|
+
* ```
|
|
57
|
+
*/
|
|
58
|
+
export declare class UiLocationService {
|
|
59
|
+
private readonly nazioniMap;
|
|
60
|
+
private readonly locationMap;
|
|
61
|
+
private readonly nazioniCache;
|
|
62
|
+
private readonly provinceCache;
|
|
63
|
+
private readonly comuniCache;
|
|
64
|
+
constructor();
|
|
65
|
+
/** Elenco completo delle nazioni (Italia prima). */
|
|
66
|
+
getNazioni(): Promise<{
|
|
67
|
+
data: UiNazione[];
|
|
68
|
+
}>;
|
|
69
|
+
/** Elenco completo delle province, ordinate alfabeticamente. */
|
|
70
|
+
getProvince(): Promise<{
|
|
71
|
+
content: UiProvincia[];
|
|
72
|
+
}>;
|
|
73
|
+
/** Elenco dei comuni per una specifica provincia. */
|
|
74
|
+
getComuniByProvincia(provinciaId: string): Promise<UiComune[]>;
|
|
75
|
+
/** Elenco dei CAP per un comune. */
|
|
76
|
+
getCapList(comuneId: string): Promise<string[]>;
|
|
77
|
+
/** Dati completi di una location (nazione, provincia o comune). */
|
|
78
|
+
getLocationFullData(type: 'nazione' | 'provincia' | 'comune', id: string, provinciaId?: string): Promise<UiNazione | UiProvincia | UiComune | null>;
|
|
79
|
+
private initializeCaches;
|
|
80
|
+
private sortNazioniItaliaFirst;
|
|
81
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<UiLocationService, never>;
|
|
82
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<UiLocationService>;
|
|
83
|
+
}
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import { Observable } from 'rxjs';
|
|
2
|
+
import type { UiGeocodedLocationType, UiLocationGeocodedFieldConfig } from '../types/geocoded-location.types';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
/** Risposta elementare dell'API search di Nominatim (format=json). */
|
|
5
|
+
interface NominatimSearchItem {
|
|
6
|
+
place_id: number;
|
|
7
|
+
lat: string;
|
|
8
|
+
lon: string;
|
|
9
|
+
display_name: string;
|
|
10
|
+
importance?: number;
|
|
11
|
+
boundingbox?: [string, string, string, string];
|
|
12
|
+
address?: Record<string, string>;
|
|
13
|
+
}
|
|
14
|
+
/**
|
|
15
|
+
* Integrazione con l'API pubblica Nominatim (OpenStreetMap) per la ricerca indirizzi.
|
|
16
|
+
* Mappa i risultati sul tipo {@link UiGeocodedLocationType}.
|
|
17
|
+
*
|
|
18
|
+
* In browser è consigliato usare un proxy same-origin per CORS e User-Agent;
|
|
19
|
+
* vedi {@link UiLocationGeocodedFieldConfig.nominatimBaseUrl}.
|
|
20
|
+
*
|
|
21
|
+
* @providedIn root
|
|
22
|
+
*/
|
|
23
|
+
export declare class UiNominatimGeocodingService {
|
|
24
|
+
private readonly http;
|
|
25
|
+
/**
|
|
26
|
+
* Cerca indirizzi in base alla query testuale.
|
|
27
|
+
*
|
|
28
|
+
* @param query - Testo libero inserito dall'utente
|
|
29
|
+
* @param config - Opzioni di ricerca e base URL
|
|
30
|
+
*/
|
|
31
|
+
search(query: string, config?: UiLocationGeocodedFieldConfig): Observable<UiGeocodedLocationType[]>;
|
|
32
|
+
/** Converte un risultato Nominatim in {@link UiGeocodedLocationType}. */
|
|
33
|
+
mapItem(item: NominatimSearchItem): UiGeocodedLocationType;
|
|
34
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<UiNominatimGeocodingService, never>;
|
|
35
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<UiNominatimGeocodingService>;
|
|
36
|
+
}
|
|
37
|
+
export {};
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import { EventEmitter } from '@angular/core';
|
|
2
|
+
import { UiFormErrorDetail } from '../../types/validation.types';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
/**
|
|
5
|
+
* Riepilogo stato validazione del form.
|
|
6
|
+
*
|
|
7
|
+
* Con errori: indicatore + dropdown hover/click per il dettaglio e navigazione ai campi.
|
|
8
|
+
* Senza errori: messaggio di stato positivo fisso (no dropdown), UI prevedibile.
|
|
9
|
+
*
|
|
10
|
+
* @selector ui-form-error-summary
|
|
11
|
+
*/
|
|
12
|
+
export declare class UiFormErrorSummaryComponent {
|
|
13
|
+
/** Lista di errori dettagliati per campo. */
|
|
14
|
+
errors: UiFormErrorDetail[];
|
|
15
|
+
/** Conteggio totale degli errori (somma di tutti i messaggi). */
|
|
16
|
+
totalErrorCount: number;
|
|
17
|
+
/** Testo mostrato quando non ci sono errori. */
|
|
18
|
+
validMessage: string;
|
|
19
|
+
/** Emesso quando l'utente clicca su un errore per navigare al campo. */
|
|
20
|
+
fieldClick: EventEmitter<string>;
|
|
21
|
+
/** @internal Stato del dropdown (solo con errori). */
|
|
22
|
+
showDropdown: boolean;
|
|
23
|
+
/** True se il form ha almeno un errore da mostrare nel summary. */
|
|
24
|
+
get hasErrors(): boolean;
|
|
25
|
+
/** Conteggio da visualizzare: usa totalErrorCount se fornito, altrimenti conta dai dettagli. */
|
|
26
|
+
get displayCount(): number;
|
|
27
|
+
/** @internal Gestione click su errore. */
|
|
28
|
+
onFieldClick(fieldKey: string): void;
|
|
29
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<UiFormErrorSummaryComponent, never>;
|
|
30
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<UiFormErrorSummaryComponent, "ui-form-error-summary", never, { "errors": { "alias": "errors"; "required": false; }; "totalErrorCount": { "alias": "totalErrorCount"; "required": false; }; "validMessage": { "alias": "validMessage"; "required": false; }; }, { "fieldClick": "fieldClick"; }, never, never, true, never>;
|
|
31
|
+
}
|
package/crud-table/lib/components/form-builder/sub-components/file-input/file-input.component.d.ts
ADDED
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
import { EventEmitter } from '@angular/core';
|
|
2
|
+
import { ControlValueAccessor } from '@angular/forms';
|
|
3
|
+
import { UiFileData, UiFileInputConfig } from '../../types/field.types';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
/**
|
|
6
|
+
* Componente file input standalone con drag & drop,
|
|
7
|
+
* anteprima, validazione e supporto multiplo.
|
|
8
|
+
*
|
|
9
|
+
* Implementa `ControlValueAccessor` per integrazione
|
|
10
|
+
* diretta con Angular Reactive Forms.
|
|
11
|
+
*
|
|
12
|
+
* @selector ui-file-input
|
|
13
|
+
*/
|
|
14
|
+
export declare class UiFileInputComponent implements ControlValueAccessor {
|
|
15
|
+
/** Configurazione del file input. */
|
|
16
|
+
config: UiFileInputConfig | undefined;
|
|
17
|
+
/** File rimosso dalla lista. */
|
|
18
|
+
fileRemoved: EventEmitter<UiFileData>;
|
|
19
|
+
/** Errore di validazione file. */
|
|
20
|
+
validationError: EventEmitter<string>;
|
|
21
|
+
readonly files: import("@angular/core").WritableSignal<UiFileData[]>;
|
|
22
|
+
readonly disabled: import("@angular/core").WritableSignal<boolean>;
|
|
23
|
+
readonly isDragOver: import("@angular/core").WritableSignal<boolean>;
|
|
24
|
+
private onChange;
|
|
25
|
+
private onTouched;
|
|
26
|
+
/** Stringa accept per l'input nativo. */
|
|
27
|
+
get acceptString(): string;
|
|
28
|
+
writeValue(value: UiFileData[]): void;
|
|
29
|
+
registerOnChange(fn: any): void;
|
|
30
|
+
registerOnTouched(fn: any): void;
|
|
31
|
+
setDisabledState(isDisabled: boolean): void;
|
|
32
|
+
onDragOver(event: DragEvent): void;
|
|
33
|
+
onDragLeave(): void;
|
|
34
|
+
onDrop(event: DragEvent): void;
|
|
35
|
+
onFileSelected(event: Event): void;
|
|
36
|
+
removeFile(index: number): void;
|
|
37
|
+
formatSize(bytes: number): string;
|
|
38
|
+
private processFiles;
|
|
39
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<UiFileInputComponent, never>;
|
|
40
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<UiFileInputComponent, "ui-file-input", never, { "config": { "alias": "config"; "required": false; }; }, { "fileRemoved": "fileRemoved"; "validationError": "validationError"; }, never, never, true, never>;
|
|
41
|
+
}
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import { EventEmitter } from '@angular/core';
|
|
2
|
+
import { FormControl, FormGroup } from '@angular/forms';
|
|
3
|
+
import { UiFormFieldDescriptor } from '../../types/field.types';
|
|
4
|
+
import { UiValidationRule } from '../../types/validation.types';
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
/**
|
|
7
|
+
|
|
8
|
+
* Campo atomico number / currency — stesso rendering del form-builder.
|
|
9
|
+
|
|
10
|
+
*
|
|
11
|
+
|
|
12
|
+
* @selector ui-form-number-field
|
|
13
|
+
|
|
14
|
+
*/
|
|
15
|
+
export declare class UiFormNumberFieldComponent {
|
|
16
|
+
private readonly fieldErrorService;
|
|
17
|
+
field?: UiFormFieldDescriptor;
|
|
18
|
+
formGroup?: FormGroup;
|
|
19
|
+
readonly: boolean;
|
|
20
|
+
errors: string[] | null;
|
|
21
|
+
control?: FormControl;
|
|
22
|
+
label?: string;
|
|
23
|
+
placeholder?: string;
|
|
24
|
+
validationRules?: UiValidationRule[];
|
|
25
|
+
/** Modalità valuta standalone (equivalente a `field.metadata.type === 'currency'`). */
|
|
26
|
+
currencyMode: boolean;
|
|
27
|
+
currencySymbol: string;
|
|
28
|
+
decimalPlaces: number;
|
|
29
|
+
blurred: EventEmitter<void>;
|
|
30
|
+
get effectiveLabel(): string;
|
|
31
|
+
get effectivePlaceholder(): string;
|
|
32
|
+
get isReadonly(): boolean;
|
|
33
|
+
get isCurrency(): boolean;
|
|
34
|
+
get effectiveCurrencySymbol(): string;
|
|
35
|
+
get effectiveDecimalPlaces(): number;
|
|
36
|
+
get effectiveRules(): UiValidationRule[];
|
|
37
|
+
get fieldControl(): FormControl | null;
|
|
38
|
+
resolvedErrors(control: FormControl | null): string[];
|
|
39
|
+
onBlur(): void;
|
|
40
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<UiFormNumberFieldComponent, never>;
|
|
41
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<UiFormNumberFieldComponent, "ui-form-number-field", never, { "field": { "alias": "field"; "required": false; }; "formGroup": { "alias": "formGroup"; "required": false; }; "readonly": { "alias": "readonly"; "required": false; }; "errors": { "alias": "errors"; "required": false; }; "control": { "alias": "control"; "required": false; }; "label": { "alias": "label"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "validationRules": { "alias": "validationRules"; "required": false; }; "currencyMode": { "alias": "currencyMode"; "required": false; }; "currencySymbol": { "alias": "currencySymbol"; "required": false; }; "decimalPlaces": { "alias": "decimalPlaces"; "required": false; }; }, { "blurred": "blurred"; }, never, never, true, never>;
|
|
42
|
+
}
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
import { EventEmitter } from '@angular/core';
|
|
2
|
+
import { FormControl, FormGroup } from '@angular/forms';
|
|
3
|
+
import { UiFieldErrorDisplayOptions } from '../../services/form-field-error.service';
|
|
4
|
+
import { UiFieldOption, UiFormFieldDescriptor } from '../../types/field.types';
|
|
5
|
+
import { UiValidationRule } from '../../types/validation.types';
|
|
6
|
+
import * as i0 from "@angular/core";
|
|
7
|
+
/**
|
|
8
|
+
|
|
9
|
+
* Campo atomico radio group — stesso rendering del form-builder.
|
|
10
|
+
|
|
11
|
+
*
|
|
12
|
+
|
|
13
|
+
* @selector ui-form-radio-field
|
|
14
|
+
|
|
15
|
+
*/
|
|
16
|
+
export declare class UiFormRadioFieldComponent {
|
|
17
|
+
private readonly fieldErrorService;
|
|
18
|
+
field?: UiFormFieldDescriptor;
|
|
19
|
+
formGroup?: FormGroup;
|
|
20
|
+
readonly: boolean;
|
|
21
|
+
errors: string[] | null;
|
|
22
|
+
options: UiFieldOption[];
|
|
23
|
+
/** Indica asterisco obbligatorio (builder: `isFieldRequired`). */
|
|
24
|
+
required: boolean;
|
|
25
|
+
/** Override visibilità errori; se null deriva dal controllo. */
|
|
26
|
+
showErrors: boolean | null;
|
|
27
|
+
errorDisplayOptions: UiFieldErrorDisplayOptions;
|
|
28
|
+
control?: FormControl;
|
|
29
|
+
label?: string;
|
|
30
|
+
validationRules?: UiValidationRule[];
|
|
31
|
+
color: 'primary' | 'accent' | 'warn';
|
|
32
|
+
blurred: EventEmitter<void>;
|
|
33
|
+
get effectiveLabel(): string;
|
|
34
|
+
get isDisabled(): boolean;
|
|
35
|
+
get effectiveOptions(): UiFieldOption[];
|
|
36
|
+
get effectiveColor(): 'primary' | 'accent' | 'warn';
|
|
37
|
+
get effectiveRules(): UiValidationRule[];
|
|
38
|
+
get showRequiredMarker(): boolean;
|
|
39
|
+
get fieldControl(): FormControl | null;
|
|
40
|
+
resolvedErrors(control: FormControl | null): string[];
|
|
41
|
+
shouldShowErrors(control: FormControl | null): boolean;
|
|
42
|
+
onBlur(): void;
|
|
43
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<UiFormRadioFieldComponent, never>;
|
|
44
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<UiFormRadioFieldComponent, "ui-form-radio-field", never, { "field": { "alias": "field"; "required": false; }; "formGroup": { "alias": "formGroup"; "required": false; }; "readonly": { "alias": "readonly"; "required": false; }; "errors": { "alias": "errors"; "required": false; }; "options": { "alias": "options"; "required": false; }; "required": { "alias": "required"; "required": false; }; "showErrors": { "alias": "showErrors"; "required": false; }; "errorDisplayOptions": { "alias": "errorDisplayOptions"; "required": false; }; "control": { "alias": "control"; "required": false; }; "label": { "alias": "label"; "required": false; }; "validationRules": { "alias": "validationRules"; "required": false; }; "color": { "alias": "color"; "required": false; }; }, { "blurred": "blurred"; }, never, never, true, never>;
|
|
45
|
+
}
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
import { EventEmitter } from '@angular/core';
|
|
2
|
+
import { FormControl, FormGroup } from '@angular/forms';
|
|
3
|
+
import { UiFieldOption, UiFormFieldDescriptor } from '../../types/field.types';
|
|
4
|
+
import { UiValidationRule } from '../../types/validation.types';
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
/**
|
|
7
|
+
|
|
8
|
+
* Campo atomico select (mat-select o autocomplete searchable).
|
|
9
|
+
|
|
10
|
+
*
|
|
11
|
+
|
|
12
|
+
* @selector ui-form-select-field
|
|
13
|
+
|
|
14
|
+
*/
|
|
15
|
+
export declare class UiFormSelectFieldComponent {
|
|
16
|
+
private readonly fieldErrorService;
|
|
17
|
+
field?: UiFormFieldDescriptor;
|
|
18
|
+
formGroup?: FormGroup;
|
|
19
|
+
readonly: boolean;
|
|
20
|
+
errors: string[] | null;
|
|
21
|
+
options: UiFieldOption[];
|
|
22
|
+
control?: FormControl;
|
|
23
|
+
label?: string;
|
|
24
|
+
placeholder?: string;
|
|
25
|
+
searchable: boolean;
|
|
26
|
+
hideEmptyOption: boolean;
|
|
27
|
+
validationRules?: UiValidationRule[];
|
|
28
|
+
optionsFilter: EventEmitter<string>;
|
|
29
|
+
blurred: EventEmitter<void>;
|
|
30
|
+
get effectiveLabel(): string;
|
|
31
|
+
get effectivePlaceholder(): string;
|
|
32
|
+
get isReadonly(): boolean;
|
|
33
|
+
get isSearchable(): boolean;
|
|
34
|
+
get showEmptyOption(): boolean;
|
|
35
|
+
get effectiveOptions(): UiFieldOption[];
|
|
36
|
+
get effectiveRules(): UiValidationRule[];
|
|
37
|
+
get fieldControl(): FormControl | null;
|
|
38
|
+
resolvedErrors(control: FormControl | null): string[];
|
|
39
|
+
displayWith: (value: unknown) => string;
|
|
40
|
+
onInput(query: string): void;
|
|
41
|
+
onBlur(): void;
|
|
42
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<UiFormSelectFieldComponent, never>;
|
|
43
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<UiFormSelectFieldComponent, "ui-form-select-field", never, { "field": { "alias": "field"; "required": false; }; "formGroup": { "alias": "formGroup"; "required": false; }; "readonly": { "alias": "readonly"; "required": false; }; "errors": { "alias": "errors"; "required": false; }; "options": { "alias": "options"; "required": false; }; "control": { "alias": "control"; "required": false; }; "label": { "alias": "label"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "searchable": { "alias": "searchable"; "required": false; }; "hideEmptyOption": { "alias": "hideEmptyOption"; "required": false; }; "validationRules": { "alias": "validationRules"; "required": false; }; }, { "optionsFilter": "optionsFilter"; "blurred": "blurred"; }, never, never, true, never>;
|
|
44
|
+
}
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
import { EventEmitter } from '@angular/core';
|
|
2
|
+
import { FormControl, FormGroup } from '@angular/forms';
|
|
3
|
+
import { UiFormFieldDescriptor, UiFieldOption } from '../../types/field.types';
|
|
4
|
+
import { UiValidationRule } from '../../types/validation.types';
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
/**
|
|
7
|
+
* Campo atomico text / email / password — stesso rendering del form-builder.
|
|
8
|
+
* Modalità builder: `field` + `formGroup`. Modalità standalone: `control` + `label`.
|
|
9
|
+
*
|
|
10
|
+
* @selector ui-form-text-field
|
|
11
|
+
*/
|
|
12
|
+
export declare class UiFormTextFieldComponent {
|
|
13
|
+
private readonly fieldErrorService;
|
|
14
|
+
/** Descriptor schema (modalità builder). */
|
|
15
|
+
field?: UiFormFieldDescriptor;
|
|
16
|
+
/** FormGroup dell'istanza (modalità builder). */
|
|
17
|
+
formGroup?: FormGroup;
|
|
18
|
+
/** Readonly globale dal form-builder. */
|
|
19
|
+
readonly: boolean;
|
|
20
|
+
/** Errori pre-calcolati dal builder; se null, derivati dal controllo. */
|
|
21
|
+
errors: string[] | null;
|
|
22
|
+
/** Control diretto (modalità standalone / CVA). */
|
|
23
|
+
control?: FormControl;
|
|
24
|
+
label?: string;
|
|
25
|
+
placeholder?: string;
|
|
26
|
+
maxLength?: number;
|
|
27
|
+
inputType: 'text' | 'email' | 'password';
|
|
28
|
+
validationRules?: UiValidationRule[];
|
|
29
|
+
/** Opzioni autocomplete (campo text searchable nel builder). */
|
|
30
|
+
options: UiFieldOption[];
|
|
31
|
+
optionsFilter: EventEmitter<string>;
|
|
32
|
+
blurred: EventEmitter<void>;
|
|
33
|
+
/** True se il campo schema è text searchable. */
|
|
34
|
+
get isSearchableText(): boolean;
|
|
35
|
+
/** Etichetta effettiva. */
|
|
36
|
+
get effectiveLabel(): string;
|
|
37
|
+
/** Placeholder effettivo. */
|
|
38
|
+
get effectivePlaceholder(): string;
|
|
39
|
+
/** Tipo input HTML nativo. */
|
|
40
|
+
get nativeInputType(): string;
|
|
41
|
+
/** Readonly effettivo sul campo. */
|
|
42
|
+
get isReadonly(): boolean;
|
|
43
|
+
/** Controllo risolto per modalità standalone. */
|
|
44
|
+
get resolvedControl(): FormControl | null;
|
|
45
|
+
/** Regole validation per messaggi errore. */
|
|
46
|
+
get effectiveRules(): UiValidationRule[];
|
|
47
|
+
/** Max length da regole o input. */
|
|
48
|
+
get effectiveMaxLength(): number | undefined;
|
|
49
|
+
/** Controllo del campo in modalità builder. */
|
|
50
|
+
get fieldControl(): FormControl | null;
|
|
51
|
+
/** Messaggi errore da mostrare in mat-error. */
|
|
52
|
+
resolvedErrors(control: FormControl | null): string[];
|
|
53
|
+
/** Conteggio caratteri (solo text con maxLength). */
|
|
54
|
+
charCount(control: FormControl | null): {
|
|
55
|
+
current: number;
|
|
56
|
+
max: number;
|
|
57
|
+
} | null;
|
|
58
|
+
onInput(query: string): void;
|
|
59
|
+
onBlur(): void;
|
|
60
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<UiFormTextFieldComponent, never>;
|
|
61
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<UiFormTextFieldComponent, "ui-form-text-field", never, { "field": { "alias": "field"; "required": false; }; "formGroup": { "alias": "formGroup"; "required": false; }; "readonly": { "alias": "readonly"; "required": false; }; "errors": { "alias": "errors"; "required": false; }; "control": { "alias": "control"; "required": false; }; "label": { "alias": "label"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "maxLength": { "alias": "maxLength"; "required": false; }; "inputType": { "alias": "inputType"; "required": false; }; "validationRules": { "alias": "validationRules"; "required": false; }; "options": { "alias": "options"; "required": false; }; }, { "optionsFilter": "optionsFilter"; "blurred": "blurred"; }, never, never, true, never>;
|
|
62
|
+
}
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { EventEmitter } from '@angular/core';
|
|
2
|
+
import { FormControl, FormGroup } from '@angular/forms';
|
|
3
|
+
import { UiFormFieldDescriptor } from '../../types/field.types';
|
|
4
|
+
import { UiValidationRule } from '../../types/validation.types';
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
/**
|
|
7
|
+
* Campo atomico textarea — stesso rendering del form-builder.
|
|
8
|
+
*
|
|
9
|
+
* @selector ui-form-textarea-field
|
|
10
|
+
*/
|
|
11
|
+
export declare class UiFormTextareaFieldComponent {
|
|
12
|
+
private readonly fieldErrorService;
|
|
13
|
+
field?: UiFormFieldDescriptor;
|
|
14
|
+
formGroup?: FormGroup;
|
|
15
|
+
readonly: boolean;
|
|
16
|
+
errors: string[] | null;
|
|
17
|
+
control?: FormControl;
|
|
18
|
+
label?: string;
|
|
19
|
+
placeholder?: string;
|
|
20
|
+
rows: number;
|
|
21
|
+
maxLength?: number;
|
|
22
|
+
validationRules?: UiValidationRule[];
|
|
23
|
+
blurred: EventEmitter<void>;
|
|
24
|
+
get effectiveLabel(): string;
|
|
25
|
+
get effectivePlaceholder(): string;
|
|
26
|
+
get isReadonly(): boolean;
|
|
27
|
+
get effectiveRules(): UiValidationRule[];
|
|
28
|
+
/** Controllo del campo in modalità builder. */
|
|
29
|
+
get fieldControl(): FormControl | null;
|
|
30
|
+
get effectiveMaxLength(): number | undefined;
|
|
31
|
+
resolvedErrors(control: FormControl | null): string[];
|
|
32
|
+
charCount(control: FormControl | null): {
|
|
33
|
+
current: number;
|
|
34
|
+
max: number;
|
|
35
|
+
} | null;
|
|
36
|
+
onBlur(): void;
|
|
37
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<UiFormTextareaFieldComponent, never>;
|
|
38
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<UiFormTextareaFieldComponent, "ui-form-textarea-field", never, { "field": { "alias": "field"; "required": false; }; "formGroup": { "alias": "formGroup"; "required": false; }; "readonly": { "alias": "readonly"; "required": false; }; "errors": { "alias": "errors"; "required": false; }; "control": { "alias": "control"; "required": false; }; "label": { "alias": "label"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "rows": { "alias": "rows"; "required": false; }; "maxLength": { "alias": "maxLength"; "required": false; }; "validationRules": { "alias": "validationRules"; "required": false; }; }, { "blurred": "blurred"; }, never, never, true, never>;
|
|
39
|
+
}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
export { UiFormTextFieldComponent } from './form-text-field.component';
|
|
2
|
+
export { UiFormTextareaFieldComponent } from './form-textarea-field.component';
|
|
3
|
+
export { UiFormNumberFieldComponent } from './form-number-field.component';
|
|
4
|
+
export { UiFormSelectFieldComponent } from './form-select-field.component';
|
|
5
|
+
export { UiFormRadioFieldComponent } from './form-radio-field.component';
|
|
@@ -0,0 +1,84 @@
|
|
|
1
|
+
import { OnInit } from '@angular/core';
|
|
2
|
+
import { ControlValueAccessor, FormControl } from '@angular/forms';
|
|
3
|
+
import { MatAutocompleteSelectedEvent } from '@angular/material/autocomplete';
|
|
4
|
+
import type { UiGeocodedLocationInput, UiGeocodedLocationType, UiLocationGeocodedFieldConfig } from '../../types/geocoded-location.types';
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
/** Stati UI per hint e messaggi accessibili. */
|
|
7
|
+
type UiGeocodedPanelState = 'idle' | 'loading' | 'results' | 'empty' | 'error';
|
|
8
|
+
/**
|
|
9
|
+
* Campo indirizzo con ricerca geocodificata (Nominatim) e selezione atomica da autocomplete.
|
|
10
|
+
* Implementa `ControlValueAccessor`; il valore è {@link UiGeocodedLocationType} o `null`.
|
|
11
|
+
*
|
|
12
|
+
* L'applicazione host deve fornire `provideHttpClient()` (o `HttpClient` equivalente).
|
|
13
|
+
*/
|
|
14
|
+
export declare class UiLocationGeocodedComponent implements ControlValueAccessor, OnInit {
|
|
15
|
+
private readonly nominatim;
|
|
16
|
+
private readonly cdr;
|
|
17
|
+
private readonly destroyRef;
|
|
18
|
+
private readonly document;
|
|
19
|
+
/** Configurazione ricerca (URL base, debounce, limiti). */
|
|
20
|
+
config: UiLocationGeocodedFieldConfig;
|
|
21
|
+
/** Placeholder dell'input. */
|
|
22
|
+
placeholder: string;
|
|
23
|
+
/** Etichetta accessibile dell'input (se la label visibile è esterna al componente). */
|
|
24
|
+
inputAriaLabel: string;
|
|
25
|
+
/** `id` HTML dell'input (per associare la label esterna con `for`). */
|
|
26
|
+
inputId: string;
|
|
27
|
+
/** Disabilita il campo. */
|
|
28
|
+
set disabled(v: boolean);
|
|
29
|
+
get disabled(): boolean;
|
|
30
|
+
/** Input in sola lettura (testo non modificabile). */
|
|
31
|
+
readonly: boolean;
|
|
32
|
+
/** Trigger Material: serve a non trattare il blur verso il pannello come uscita senza selezione. */
|
|
33
|
+
private autoTrigger?;
|
|
34
|
+
/** Testo digitabile e label selezionata (sempre stringa, compatibile con MatAutocomplete). */
|
|
35
|
+
readonly searchControl: FormControl<string>;
|
|
36
|
+
/** Suggerimenti correnti per il pannello autocomplete. */
|
|
37
|
+
suggestions: UiGeocodedLocationType[];
|
|
38
|
+
/** Ultima query usata per evidenziare i match nel pannello. */
|
|
39
|
+
lastQueryForHighlight: string;
|
|
40
|
+
panelState: UiGeocodedPanelState;
|
|
41
|
+
private _disabled;
|
|
42
|
+
private selected;
|
|
43
|
+
/** Evita che la selezione da autocomplete venga trattata come cancellazione del valore. */
|
|
44
|
+
private selecting;
|
|
45
|
+
/** `pointerdown` sul pannello overlay (fase capture): il blur dell'input avviene prima del click; senza questo si azzera il valore. */
|
|
46
|
+
private pointerDownOnOverlay;
|
|
47
|
+
private readonly resultCache;
|
|
48
|
+
private readonly maxCacheEntries;
|
|
49
|
+
private onChange;
|
|
50
|
+
private onTouched;
|
|
51
|
+
ngOnInit(): void;
|
|
52
|
+
private pushCache;
|
|
53
|
+
onOptionSelected(event: MatAutocompleteSelectedEvent): void;
|
|
54
|
+
/**
|
|
55
|
+
* Chiusura focus sull'input: differita così `optionSelected` può aggiornare il modello prima di eventuale reset.
|
|
56
|
+
* `pointerDownOnOverlay` copre il caso blur → click sulla lista (relatedTarget spesso null).
|
|
57
|
+
*/
|
|
58
|
+
onBlur(event: FocusEvent): void;
|
|
59
|
+
/** Imposta il flag prima del blur quando l'utente preme sul pannello (stesso gesto del click su `mat-option`). */
|
|
60
|
+
private onDocumentPointerDown;
|
|
61
|
+
/**
|
|
62
|
+
* Identità stabile per `@for` sui suggerimenti (evita `??` nel template e problemi di codegen).
|
|
63
|
+
*/
|
|
64
|
+
trackSuggestion(opt: UiGeocodedLocationType): string;
|
|
65
|
+
/** Segmenta la label per evidenziazione accessibile (match letterale case-insensitive). */
|
|
66
|
+
highlightParts(label: string): {
|
|
67
|
+
text: string;
|
|
68
|
+
highlight: boolean;
|
|
69
|
+
}[];
|
|
70
|
+
/** Messaggio per `aria-live` in base allo stato del pannello. */
|
|
71
|
+
getStatusMessage(): string;
|
|
72
|
+
writeValue(value: UiGeocodedLocationInput | null): void;
|
|
73
|
+
registerOnChange(fn: (v: UiGeocodedLocationType | null) => void): void;
|
|
74
|
+
registerOnTouched(fn: () => void): void;
|
|
75
|
+
setDisabledState(isDisabled: boolean): void;
|
|
76
|
+
private syncDisabled;
|
|
77
|
+
/**
|
|
78
|
+
* Completa `territory` e gli slice `italian` / `foreign` se assenti (payload legacy o altri provider).
|
|
79
|
+
*/
|
|
80
|
+
private ensureTerritory;
|
|
81
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<UiLocationGeocodedComponent, never>;
|
|
82
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<UiLocationGeocodedComponent, "ui-location-geocoded", never, { "config": { "alias": "config"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "inputAriaLabel": { "alias": "inputAriaLabel"; "required": false; }; "inputId": { "alias": "inputId"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "readonly": { "alias": "readonly"; "required": false; }; }, {}, never, never, true, never>;
|
|
83
|
+
}
|
|
84
|
+
export {};
|