@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,125 @@
|
|
|
1
|
+
import { EventEmitter, DoCheck, TemplateRef } from '@angular/core';
|
|
2
|
+
import { UiAccordionDescriptor, UiAccordionToggleEvent, UiAccordionMode } from './accordion.types';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
/**
|
|
5
|
+
* Accordion configurabile, data-driven, con supporto multi/single expand,
|
|
6
|
+
* animazioni CSS, icone Lucide e template personalizzabili.
|
|
7
|
+
*
|
|
8
|
+
* Il contenuto dei pannelli viene fornito tramite un `itemTemplate`
|
|
9
|
+
* che riceve il descriptor del pannello come contesto.
|
|
10
|
+
*
|
|
11
|
+
* @selector ui-accordion
|
|
12
|
+
*
|
|
13
|
+
* @example
|
|
14
|
+
* ```html
|
|
15
|
+
* <ui-accordion
|
|
16
|
+
* [items]="sections"
|
|
17
|
+
* [itemTemplate]="panelTpl"
|
|
18
|
+
* mode="single"
|
|
19
|
+
* >
|
|
20
|
+
* <ng-template #panelTpl let-item>
|
|
21
|
+
* @switch (item.id) {
|
|
22
|
+
* @case ('info') { <app-info-panel /> }
|
|
23
|
+
* @case ('address') { <app-address-form /> }
|
|
24
|
+
* }
|
|
25
|
+
* </ng-template>
|
|
26
|
+
* </ui-accordion>
|
|
27
|
+
* ```
|
|
28
|
+
*
|
|
29
|
+
* @example
|
|
30
|
+
* ```typescript
|
|
31
|
+
* sections: UiAccordionDescriptor[] = [
|
|
32
|
+
* { id: 'info', title: 'Informazioni', icon: 'info', expanded: true },
|
|
33
|
+
* { id: 'address', title: 'Indirizzo', icon: 'map-pin' },
|
|
34
|
+
* ];
|
|
35
|
+
* ```
|
|
36
|
+
*/
|
|
37
|
+
export declare class UiAccordionComponent implements DoCheck {
|
|
38
|
+
private readonly cdr;
|
|
39
|
+
/**
|
|
40
|
+
* Fingerprint dell'ultimo stato dei descriptor.
|
|
41
|
+
* Usato da DoCheck per rilevare mutazioni in-place sulle proprieta
|
|
42
|
+
* degli item senza richiedere un nuovo riferimento dell'array.
|
|
43
|
+
*/
|
|
44
|
+
private _lastFingerprint;
|
|
45
|
+
/**
|
|
46
|
+
* Array di descriptor dei pannelli.
|
|
47
|
+
* Pannelli con `hidden: true` vengono filtrati automaticamente.
|
|
48
|
+
*
|
|
49
|
+
* Supporta sia aggiornamenti immutabili (nuovo array) sia
|
|
50
|
+
* mutazioni in-place delle proprieta dei descriptor.
|
|
51
|
+
*/
|
|
52
|
+
items: UiAccordionDescriptor[];
|
|
53
|
+
/**
|
|
54
|
+
* Template per il contenuto di ogni pannello.
|
|
55
|
+
* Il contesto fornisce il descriptor come `$implicit`.
|
|
56
|
+
*
|
|
57
|
+
* @example
|
|
58
|
+
* ```html
|
|
59
|
+
* <ng-template #tpl let-item>
|
|
60
|
+
* <p>Contenuto per: {{ item.title }}</p>
|
|
61
|
+
* </ng-template>
|
|
62
|
+
* ```
|
|
63
|
+
*/
|
|
64
|
+
itemTemplate: TemplateRef<unknown> | null;
|
|
65
|
+
/**
|
|
66
|
+
* Template opzionale per contenuto aggiuntivo nell'header.
|
|
67
|
+
* Il contesto fornisce il descriptor come `$implicit`.
|
|
68
|
+
* Viene renderizzato all'interno del trigger, tra il titolo e il chevron.
|
|
69
|
+
*/
|
|
70
|
+
headerTemplate: TemplateRef<unknown> | null;
|
|
71
|
+
/**
|
|
72
|
+
* Template opzionale per azioni nell'header del pannello.
|
|
73
|
+
* Posizionato tra il trigger e il chevron, al di fuori del button
|
|
74
|
+
* per consentire elementi interattivi (es. pulsanti duplica/elimina).
|
|
75
|
+
* Il contesto fornisce il descriptor come `$implicit`.
|
|
76
|
+
*/
|
|
77
|
+
actionsTemplate: TemplateRef<unknown> | null;
|
|
78
|
+
/**
|
|
79
|
+
* Modalita di espansione.
|
|
80
|
+
* - `multi`: piu pannelli aperti contemporaneamente
|
|
81
|
+
* - `single`: un solo pannello aperto alla volta
|
|
82
|
+
*/
|
|
83
|
+
mode: UiAccordionMode;
|
|
84
|
+
/** Label accessibile per il gruppo accordion. */
|
|
85
|
+
ariaLabel: string;
|
|
86
|
+
/** Emesso quando un pannello viene aperto o chiuso. */
|
|
87
|
+
itemToggled: EventEmitter<UiAccordionToggleEvent>;
|
|
88
|
+
/**
|
|
89
|
+
* Rileva mutazioni in-place sulle proprieta dei descriptor.
|
|
90
|
+
* Confronta un fingerprint leggero dello stato corrente con quello
|
|
91
|
+
* precedente e, se diverso, forza un ciclo di change detection.
|
|
92
|
+
*
|
|
93
|
+
* Questo permette al consumatore di fare sia:
|
|
94
|
+
* - `items[2].hidden = true` (mutazione in-place)
|
|
95
|
+
* - `items = [...newItems]` (nuovo riferimento)
|
|
96
|
+
*/
|
|
97
|
+
ngDoCheck(): void;
|
|
98
|
+
/** Pannelli visibili (non hidden). */
|
|
99
|
+
get visibleItems(): UiAccordionDescriptor[];
|
|
100
|
+
/** Alterna l'espansione di un pannello. */
|
|
101
|
+
toggle(item: UiAccordionDescriptor): void;
|
|
102
|
+
/** Apre un pannello specifico per id. */
|
|
103
|
+
open(id: string): void;
|
|
104
|
+
/** Chiude un pannello specifico per id. */
|
|
105
|
+
close(id: string): void;
|
|
106
|
+
/** Apre tutti i pannelli (solo in modalita multi). */
|
|
107
|
+
openAll(): void;
|
|
108
|
+
/** Chiude tutti i pannelli. */
|
|
109
|
+
closeAll(): void;
|
|
110
|
+
/** @internal Classi CSS per il pannello. */
|
|
111
|
+
getPanelClasses(item: UiAccordionDescriptor): string;
|
|
112
|
+
/** @internal Sposta il focus al primo header. */
|
|
113
|
+
focusFirst(event: Event): void;
|
|
114
|
+
/** @internal Sposta il focus all'ultimo header. */
|
|
115
|
+
focusLast(event: Event): void;
|
|
116
|
+
/** @internal Recupera tutti i trigger button del DOM. */
|
|
117
|
+
private getHeaders;
|
|
118
|
+
/**
|
|
119
|
+
* @internal Calcola un fingerprint leggero basato sulle proprieta
|
|
120
|
+
* reattive dei descriptor (quelle che influenzano il rendering).
|
|
121
|
+
*/
|
|
122
|
+
private computeFingerprint;
|
|
123
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<UiAccordionComponent, never>;
|
|
124
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<UiAccordionComponent, "ui-accordion", never, { "items": { "alias": "items"; "required": false; }; "itemTemplate": { "alias": "itemTemplate"; "required": false; }; "headerTemplate": { "alias": "headerTemplate"; "required": false; }; "actionsTemplate": { "alias": "actionsTemplate"; "required": false; }; "mode": { "alias": "mode"; "required": false; }; "ariaLabel": { "alias": "ariaLabel"; "required": false; }; }, { "itemToggled": "itemToggled"; }, never, never, true, never>;
|
|
125
|
+
}
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @module ng-ui-system/accordion
|
|
3
|
+
* Tipi e interfacce per UiAccordion.
|
|
4
|
+
*/
|
|
5
|
+
import { UiIconName } from '../../core/types';
|
|
6
|
+
export { UiIconName };
|
|
7
|
+
/**
|
|
8
|
+
* Descriptor per un singolo pannello dell'accordion.
|
|
9
|
+
*
|
|
10
|
+
* Consente di definire accordion come strutture dati dichiarative,
|
|
11
|
+
* aggiornabili dinamicamente tramite manipolazione dell'array.
|
|
12
|
+
*
|
|
13
|
+
* @usageNotes
|
|
14
|
+
* ### Utilizzo base
|
|
15
|
+
* ```typescript
|
|
16
|
+
* const items: UiAccordionDescriptor[] = [
|
|
17
|
+
* { id: 'info', title: 'Informazioni generali', icon: 'info' },
|
|
18
|
+
* { id: 'address', title: 'Indirizzo', icon: 'map-pin' },
|
|
19
|
+
* { id: 'notes', title: 'Note aggiuntive', expanded: true },
|
|
20
|
+
* ];
|
|
21
|
+
* ```
|
|
22
|
+
*
|
|
23
|
+
* ### Visibilita condizionale
|
|
24
|
+
* ```typescript
|
|
25
|
+
* items[2].hidden = !this.hasNotes;
|
|
26
|
+
* items[1].disabled = this.isReadonly;
|
|
27
|
+
* ```
|
|
28
|
+
*/
|
|
29
|
+
export interface UiAccordionDescriptor {
|
|
30
|
+
/** Identificatore univoco del pannello. */
|
|
31
|
+
id: string;
|
|
32
|
+
/** Titolo visualizzato nell'header del pannello. */
|
|
33
|
+
title: string;
|
|
34
|
+
/** Icona Lucide opzionale mostrata prima del titolo. @see https://lucide.dev/icons */
|
|
35
|
+
icon?: UiIconName;
|
|
36
|
+
/** Stato iniziale di espansione. @default false */
|
|
37
|
+
expanded?: boolean;
|
|
38
|
+
/** Disabilita l'interazione con il pannello. @default false */
|
|
39
|
+
disabled?: boolean;
|
|
40
|
+
/** Nasconde il pannello dall'interfaccia. @default false */
|
|
41
|
+
hidden?: boolean;
|
|
42
|
+
/** Descrizione secondaria mostrata accanto al titolo. */
|
|
43
|
+
subtitle?: string;
|
|
44
|
+
/** Indice posizionale del pannello (utile per sezioni repeatable). */
|
|
45
|
+
index?: number;
|
|
46
|
+
}
|
|
47
|
+
/**
|
|
48
|
+
* Evento emesso quando un pannello viene aperto o chiuso.
|
|
49
|
+
*/
|
|
50
|
+
export interface UiAccordionToggleEvent {
|
|
51
|
+
/** Descriptor del pannello coinvolto. */
|
|
52
|
+
item: UiAccordionDescriptor;
|
|
53
|
+
/** `true` se il pannello e stato aperto, `false` se chiuso. */
|
|
54
|
+
expanded: boolean;
|
|
55
|
+
}
|
|
56
|
+
/**
|
|
57
|
+
* Modalita di espansione dell'accordion.
|
|
58
|
+
*
|
|
59
|
+
* | Modalita | Comportamento |
|
|
60
|
+
* |---------|------------------------------------------------|
|
|
61
|
+
* | `multi` | Piu pannelli possono essere aperti contemporaneamente |
|
|
62
|
+
* | `single`| Un solo pannello aperto alla volta (gli altri si chiudono) |
|
|
63
|
+
*/
|
|
64
|
+
export type UiAccordionMode = 'multi' | 'single';
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import type { UiBlackboxFingerprint } from './blackbox.types';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
/**
|
|
4
|
+
* Generates and caches a stable browser/device fingerprint.
|
|
5
|
+
*
|
|
6
|
+
* Uses `@fingerprintjs/fingerprintjs` (open-source, MIT) which analyses
|
|
7
|
+
* canvas rendering, WebGL, audio context, screen properties, timezone,
|
|
8
|
+
* user-agent, and other browser signals to produce a stable hash.
|
|
9
|
+
*
|
|
10
|
+
* @usageNotes
|
|
11
|
+
* ```typescript
|
|
12
|
+
* const fp = inject(UiBlackboxFingerprintService);
|
|
13
|
+
* const hash = await fp.getFingerprint();
|
|
14
|
+
* // => "a1b2c3d4e5f6..." (stable across sessions)
|
|
15
|
+
* ```
|
|
16
|
+
*/
|
|
17
|
+
export declare class UiBlackboxFingerprintService {
|
|
18
|
+
private readonly platformId;
|
|
19
|
+
private cached;
|
|
20
|
+
/**
|
|
21
|
+
* Returns the stable fingerprint for this device/browser.
|
|
22
|
+
*
|
|
23
|
+
* On first call, loads FingerprintJS dynamically, computes the hash,
|
|
24
|
+
* and caches it in both memory and `localStorage`.
|
|
25
|
+
* Subsequent calls return the cached value immediately.
|
|
26
|
+
*/
|
|
27
|
+
getFingerprint(): Promise<UiBlackboxFingerprint>;
|
|
28
|
+
/**
|
|
29
|
+
* Fallback fingerprint when FingerprintJS is unavailable.
|
|
30
|
+
* Combines basic browser signals into a hash.
|
|
31
|
+
* @internal
|
|
32
|
+
*/
|
|
33
|
+
private generateFallbackFingerprint;
|
|
34
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<UiBlackboxFingerprintService, never>;
|
|
35
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<UiBlackboxFingerprintService>;
|
|
36
|
+
}
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
import type { UiBlackboxSession } from './blackbox.types';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
/**
|
|
4
|
+
* Low-level IndexedDB adapter for reading/writing compressed BlackBox sessions.
|
|
5
|
+
*
|
|
6
|
+
* @usageNotes
|
|
7
|
+
* This service is used internally by `UiBlackboxService`.
|
|
8
|
+
* Consumers should interact with the higher-level `UiBlackboxService` API.
|
|
9
|
+
*/
|
|
10
|
+
export declare class UiBlackboxStorageService {
|
|
11
|
+
private readonly platformId;
|
|
12
|
+
private db;
|
|
13
|
+
private maxStorageMb;
|
|
14
|
+
/** Update the storage quota from the parent service config. */
|
|
15
|
+
setMaxStorageMb(mb: number): void;
|
|
16
|
+
/** Open (or create) the IndexedDB database. */
|
|
17
|
+
private openDb;
|
|
18
|
+
/** Compress a string to a gzip Uint8Array using native CompressionStream. */
|
|
19
|
+
private compress;
|
|
20
|
+
/** Decompress a gzip Uint8Array back to a string. */
|
|
21
|
+
private decompress;
|
|
22
|
+
/**
|
|
23
|
+
* Persist a session to IndexedDB (gzip-compressed).
|
|
24
|
+
* Enforces quota after saving.
|
|
25
|
+
*/
|
|
26
|
+
saveSession(session: UiBlackboxSession): Promise<void>;
|
|
27
|
+
/**
|
|
28
|
+
* Read and decompress a single session by ID.
|
|
29
|
+
*/
|
|
30
|
+
getSession(sessionId: string): Promise<UiBlackboxSession | null>;
|
|
31
|
+
/**
|
|
32
|
+
* Get all stored sessions (decompressed).
|
|
33
|
+
*/
|
|
34
|
+
getAllSessions(): Promise<UiBlackboxSession[]>;
|
|
35
|
+
/**
|
|
36
|
+
* Get all sessions for a given fingerprint.
|
|
37
|
+
*/
|
|
38
|
+
getSessionsByFingerprint(fingerprint: string): Promise<UiBlackboxSession[]>;
|
|
39
|
+
/**
|
|
40
|
+
* Generate a downloadable JSONL Blob of all sessions.
|
|
41
|
+
* Each line is one JSON-serialised session (decompressed).
|
|
42
|
+
*/
|
|
43
|
+
exportDump(): Promise<Blob>;
|
|
44
|
+
/**
|
|
45
|
+
* Delete all stored sessions.
|
|
46
|
+
*/
|
|
47
|
+
clearAll(): Promise<void>;
|
|
48
|
+
/**
|
|
49
|
+
* Prune oldest sessions until total stored size is under `maxStorageMb`.
|
|
50
|
+
* @internal
|
|
51
|
+
*/
|
|
52
|
+
enforceQuota(): Promise<void>;
|
|
53
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<UiBlackboxStorageService, never>;
|
|
54
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<UiBlackboxStorageService>;
|
|
55
|
+
}
|
|
@@ -0,0 +1,144 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @module ng-ui-system/blackbox
|
|
3
|
+
* Core BlackBox observability service — the main entry point for session
|
|
4
|
+
* recording, event buffering, and export.
|
|
5
|
+
*
|
|
6
|
+
* Architecture:
|
|
7
|
+
* - Root singleton (`providedIn: 'root'`)
|
|
8
|
+
* - On first inject: generates fingerprint, creates session, subscribes to Router events
|
|
9
|
+
* - Centralised in-memory buffer with periodic/threshold-based flush to IndexedDB
|
|
10
|
+
* - `window:beforeunload` triggers a final best-effort async flush
|
|
11
|
+
*/
|
|
12
|
+
import { OnDestroy } from '@angular/core';
|
|
13
|
+
import { UiBlackboxConfig, UiBlackboxFormTrackingConfig, UiBlackboxSession, UiBlackboxFormEvent, UiBlackboxHttpCall } from './blackbox.types';
|
|
14
|
+
import * as i0 from "@angular/core";
|
|
15
|
+
/**
|
|
16
|
+
* Central BlackBox observability service.
|
|
17
|
+
*
|
|
18
|
+
* Records navigation, UI interactions, form events, and HTTP calls
|
|
19
|
+
* into compressed sessions stored in IndexedDB.
|
|
20
|
+
*
|
|
21
|
+
* @usageNotes
|
|
22
|
+
* The service activates automatically when injected. Provide it at root level
|
|
23
|
+
* and it will start recording immediately.
|
|
24
|
+
*
|
|
25
|
+
* ```typescript
|
|
26
|
+
* // app.config.ts — just importing the service is enough
|
|
27
|
+
* import { UiBlackboxService } from '@gnggln/ng-ui-system';
|
|
28
|
+
*
|
|
29
|
+
* export const appConfig: ApplicationConfig = {
|
|
30
|
+
* providers: [
|
|
31
|
+
* // The service is providedIn: 'root', so it's auto-provided.
|
|
32
|
+
* // To force eager initialisation:
|
|
33
|
+
* { provide: APP_INITIALIZER, useFactory: () => () => inject(UiBlackboxService), multi: true },
|
|
34
|
+
* ],
|
|
35
|
+
* };
|
|
36
|
+
* ```
|
|
37
|
+
*/
|
|
38
|
+
export declare class UiBlackboxService implements OnDestroy {
|
|
39
|
+
private readonly platformId;
|
|
40
|
+
private readonly router;
|
|
41
|
+
private readonly zone;
|
|
42
|
+
private readonly fingerprint;
|
|
43
|
+
private readonly storage;
|
|
44
|
+
private readonly destroy$;
|
|
45
|
+
private config;
|
|
46
|
+
private session;
|
|
47
|
+
private currentStep;
|
|
48
|
+
private initialised;
|
|
49
|
+
private buffer;
|
|
50
|
+
private flushTimerId;
|
|
51
|
+
private beforeUnloadHandler;
|
|
52
|
+
constructor();
|
|
53
|
+
private init;
|
|
54
|
+
/**
|
|
55
|
+
* Update the BlackBox configuration.
|
|
56
|
+
* Can be called at any time; changes take effect immediately.
|
|
57
|
+
*/
|
|
58
|
+
configure(config: Partial<Omit<UiBlackboxConfig, 'formTracking'>> & {
|
|
59
|
+
formTracking?: Partial<UiBlackboxFormTrackingConfig>;
|
|
60
|
+
}): void;
|
|
61
|
+
/** Returns the current configuration (readonly snapshot). */
|
|
62
|
+
getConfig(): Readonly<UiBlackboxConfig>;
|
|
63
|
+
/**
|
|
64
|
+
* Manually track a UI action (click).
|
|
65
|
+
*
|
|
66
|
+
* Called automatically by `UiButtonAreaComponent` and the `[uiTrack]` directive.
|
|
67
|
+
* Can also be called programmatically for custom interactions.
|
|
68
|
+
*
|
|
69
|
+
* @param trackId - Identifier for the action (e.g. button id, link name).
|
|
70
|
+
* @param meta - Optional metadata: `tag`, `text`, `id` of the element.
|
|
71
|
+
*/
|
|
72
|
+
trackAction(trackId: string, meta?: {
|
|
73
|
+
tag?: string;
|
|
74
|
+
text?: string;
|
|
75
|
+
id?: string;
|
|
76
|
+
}): void;
|
|
77
|
+
/**
|
|
78
|
+
* Track a form interaction event.
|
|
79
|
+
*
|
|
80
|
+
* Called automatically by `UiFormBuilderComponent` when the BlackBox
|
|
81
|
+
* service is available.
|
|
82
|
+
*/
|
|
83
|
+
trackFormEvent(event: UiBlackboxFormEvent): void;
|
|
84
|
+
/**
|
|
85
|
+
* Track an intercepted HTTP call.
|
|
86
|
+
* Called by `UiBlackboxInterceptor`.
|
|
87
|
+
* @internal
|
|
88
|
+
*/
|
|
89
|
+
trackHttpCall(call: UiBlackboxHttpCall): void;
|
|
90
|
+
/**
|
|
91
|
+
* Returns the current in-memory session (live, not yet flushed).
|
|
92
|
+
* Useful for debugging or real-time inspection.
|
|
93
|
+
*/
|
|
94
|
+
getCurrentSession(): UiBlackboxSession;
|
|
95
|
+
/**
|
|
96
|
+
* Retrieve all sessions stored in IndexedDB (decompressed).
|
|
97
|
+
*/
|
|
98
|
+
getSessionHistory(): Promise<UiBlackboxSession[]>;
|
|
99
|
+
/**
|
|
100
|
+
* Retrieve sessions for the current device fingerprint.
|
|
101
|
+
*/
|
|
102
|
+
getSessionsForDevice(): Promise<UiBlackboxSession[]>;
|
|
103
|
+
/**
|
|
104
|
+
* Export all sessions as a downloadable JSONL Blob.
|
|
105
|
+
*
|
|
106
|
+
* @returns A Blob containing JSONL data (one session per line).
|
|
107
|
+
*
|
|
108
|
+
* @example
|
|
109
|
+
* ```typescript
|
|
110
|
+
* const blob = await blackbox.exportSessions();
|
|
111
|
+
* const url = URL.createObjectURL(blob);
|
|
112
|
+
* const a = document.createElement('a');
|
|
113
|
+
* a.href = url;
|
|
114
|
+
* a.download = 'blackbox-sessions.jsonl';
|
|
115
|
+
* a.click();
|
|
116
|
+
* ```
|
|
117
|
+
*/
|
|
118
|
+
exportSessions(): Promise<Blob>;
|
|
119
|
+
/**
|
|
120
|
+
* Explicitly end the current session.
|
|
121
|
+
* Flushes all buffered events and marks the session as ended.
|
|
122
|
+
*/
|
|
123
|
+
endSession(): Promise<void>;
|
|
124
|
+
/**
|
|
125
|
+
* Clear all stored sessions from IndexedDB.
|
|
126
|
+
*/
|
|
127
|
+
clearHistory(): Promise<void>;
|
|
128
|
+
/**
|
|
129
|
+
* Push an event into the centralised buffer.
|
|
130
|
+
* Triggers an immediate flush if the buffer exceeds the threshold.
|
|
131
|
+
* @internal
|
|
132
|
+
*/
|
|
133
|
+
private pushBufferEvent;
|
|
134
|
+
/**
|
|
135
|
+
* Flush buffered events to IndexedDB asynchronously.
|
|
136
|
+
* @internal
|
|
137
|
+
*/
|
|
138
|
+
private flush;
|
|
139
|
+
/** Generate a UUID v4. */
|
|
140
|
+
private generateUuid;
|
|
141
|
+
ngOnDestroy(): void;
|
|
142
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<UiBlackboxService, never>;
|
|
143
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<UiBlackboxService>;
|
|
144
|
+
}
|
|
@@ -0,0 +1,238 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @module ng-ui-system/blackbox
|
|
3
|
+
* Types and interfaces for the BlackBox observability service.
|
|
4
|
+
*
|
|
5
|
+
* The BlackBox service acts as a "black box recorder" for user sessions,
|
|
6
|
+
* capturing navigation, UI interactions, form events and HTTP calls
|
|
7
|
+
* in a compressed, opaque format stored in IndexedDB.
|
|
8
|
+
*/
|
|
9
|
+
/**
|
|
10
|
+
* Form tracking granularity flags.
|
|
11
|
+
*
|
|
12
|
+
* Controls which form events are captured by the BlackBox service.
|
|
13
|
+
* All flags default to `true` except `trackValues` which defaults to `false`
|
|
14
|
+
* for privacy reasons.
|
|
15
|
+
*/
|
|
16
|
+
export interface UiBlackboxFormTrackingConfig {
|
|
17
|
+
/**
|
|
18
|
+
* When `true`, the actual field values are stored in form events.
|
|
19
|
+
* When `false`, only the fact that a change occurred is recorded.
|
|
20
|
+
* @default false
|
|
21
|
+
*/
|
|
22
|
+
trackValues: boolean;
|
|
23
|
+
/** Track focus events on form fields. @default true */
|
|
24
|
+
trackFocus: boolean;
|
|
25
|
+
/** Track blur events on form fields. @default true */
|
|
26
|
+
trackBlur: boolean;
|
|
27
|
+
/** Track value change events on form fields. @default true */
|
|
28
|
+
trackValueChanges: boolean;
|
|
29
|
+
/** Track validation error events on form fields. @default true */
|
|
30
|
+
trackValidation: boolean;
|
|
31
|
+
/**
|
|
32
|
+
* Debounce interval (ms) for `valueChanges` subscriptions.
|
|
33
|
+
* Higher values reduce noise but increase latency.
|
|
34
|
+
* @default 500
|
|
35
|
+
*/
|
|
36
|
+
debounceMs: number;
|
|
37
|
+
}
|
|
38
|
+
/**
|
|
39
|
+
* Root configuration for the BlackBox service.
|
|
40
|
+
*
|
|
41
|
+
* All properties are optional — sensible defaults are applied when omitted.
|
|
42
|
+
*
|
|
43
|
+
* @example
|
|
44
|
+
* ```typescript
|
|
45
|
+
* blackboxService.configure({
|
|
46
|
+
* maxStorageMb: 30,
|
|
47
|
+
* formTracking: { trackValues: true, debounceMs: 1000 },
|
|
48
|
+
* });
|
|
49
|
+
* ```
|
|
50
|
+
*/
|
|
51
|
+
export interface UiBlackboxConfig {
|
|
52
|
+
/**
|
|
53
|
+
* Maximum IndexedDB storage quota in megabytes.
|
|
54
|
+
* Oldest sessions are pruned when the quota is exceeded.
|
|
55
|
+
* @default 50
|
|
56
|
+
*/
|
|
57
|
+
maxStorageMb: number;
|
|
58
|
+
/**
|
|
59
|
+
* Interval (ms) at which the in-memory buffer is flushed to IndexedDB.
|
|
60
|
+
* @default 5000
|
|
61
|
+
*/
|
|
62
|
+
flushIntervalMs: number;
|
|
63
|
+
/**
|
|
64
|
+
* Number of buffered events that trigger an immediate flush.
|
|
65
|
+
* @default 20
|
|
66
|
+
*/
|
|
67
|
+
flushThreshold: number;
|
|
68
|
+
/**
|
|
69
|
+
* Centralised debounce (ms) applied to the event buffer.
|
|
70
|
+
* @default 500
|
|
71
|
+
*/
|
|
72
|
+
bufferDebounceMs: number;
|
|
73
|
+
/** Per-field form tracking configuration. */
|
|
74
|
+
formTracking: UiBlackboxFormTrackingConfig;
|
|
75
|
+
}
|
|
76
|
+
/**
|
|
77
|
+
* Stable device/browser fingerprint generated by FingerprintJS (open-source).
|
|
78
|
+
* Persists across sessions and incognito mode.
|
|
79
|
+
*/
|
|
80
|
+
export type UiBlackboxFingerprint = string;
|
|
81
|
+
/**
|
|
82
|
+
* A single recording session, corresponding to one browser tab lifecycle.
|
|
83
|
+
*
|
|
84
|
+
* Sessions are associated to a stable `fingerprint` so that multiple
|
|
85
|
+
* sessions from the same device can be grouped together.
|
|
86
|
+
*/
|
|
87
|
+
export interface UiBlackboxSession {
|
|
88
|
+
/** Unique session identifier (UUID v4). */
|
|
89
|
+
sessionId: string;
|
|
90
|
+
/** Stable device/browser fingerprint. */
|
|
91
|
+
fingerprint: UiBlackboxFingerprint;
|
|
92
|
+
/** Timestamp (ms since epoch) when the session started. */
|
|
93
|
+
startedAt: number;
|
|
94
|
+
/** Timestamp (ms since epoch) when the session ended (tab closed). */
|
|
95
|
+
endedAt?: number;
|
|
96
|
+
/** Raw `navigator.userAgent` string captured at session start. */
|
|
97
|
+
userAgent: string;
|
|
98
|
+
/**
|
|
99
|
+
* Ordered list of navigation steps (route changes).
|
|
100
|
+
* Each step contains the actions performed on that page.
|
|
101
|
+
*/
|
|
102
|
+
steps: UiBlackboxStep[];
|
|
103
|
+
/**
|
|
104
|
+
* Parallel stream of form interaction events.
|
|
105
|
+
* Ordered by timestamp, correlated to routes via `route` field.
|
|
106
|
+
*/
|
|
107
|
+
formEvents: UiBlackboxFormEvent[];
|
|
108
|
+
/**
|
|
109
|
+
* Intercepted HTTP calls, ordered by timestamp.
|
|
110
|
+
* Only requests explicitly marked with the `X-Ui-Blackbox` header.
|
|
111
|
+
*/
|
|
112
|
+
calls: UiBlackboxHttpCall[];
|
|
113
|
+
}
|
|
114
|
+
/**
|
|
115
|
+
* A single navigation step created on every `NavigationEnd` event.
|
|
116
|
+
* Contains all UI actions performed during this route.
|
|
117
|
+
*/
|
|
118
|
+
export interface UiBlackboxStep {
|
|
119
|
+
/** Timestamp (ms) of the navigation event. */
|
|
120
|
+
timestamp: number;
|
|
121
|
+
/** The route URL navigated to. */
|
|
122
|
+
route: string;
|
|
123
|
+
/** The previous route URL (undefined for the first step). */
|
|
124
|
+
previousRoute?: string;
|
|
125
|
+
/**
|
|
126
|
+
* Ordered list of UI actions (clicks) performed on this page.
|
|
127
|
+
*/
|
|
128
|
+
actions: UiBlackboxAction[];
|
|
129
|
+
}
|
|
130
|
+
/**
|
|
131
|
+
* A single tracked UI action, typically a click.
|
|
132
|
+
*/
|
|
133
|
+
export interface UiBlackboxAction {
|
|
134
|
+
/** Timestamp (ms) of the action. */
|
|
135
|
+
timestamp: number;
|
|
136
|
+
/** Type discriminator. Currently only `click` is supported. */
|
|
137
|
+
type: 'click';
|
|
138
|
+
/** Information about the clicked element. */
|
|
139
|
+
target: UiBlackboxActionTarget;
|
|
140
|
+
}
|
|
141
|
+
/**
|
|
142
|
+
* Minimal information about the element that was interacted with.
|
|
143
|
+
*/
|
|
144
|
+
export interface UiBlackboxActionTarget {
|
|
145
|
+
/** HTML tag name (lowercase). */
|
|
146
|
+
tag: string;
|
|
147
|
+
/** Element `id` attribute, if present. */
|
|
148
|
+
id?: string;
|
|
149
|
+
/**
|
|
150
|
+
* Custom tracking identifier, set via `data-track-id` attribute
|
|
151
|
+
* or the `[uiTrack]` directive value.
|
|
152
|
+
*/
|
|
153
|
+
trackId?: string;
|
|
154
|
+
/** First 50 characters of `innerText` (trimmed). */
|
|
155
|
+
text?: string;
|
|
156
|
+
}
|
|
157
|
+
/** Discriminator for form event types. */
|
|
158
|
+
export type UiBlackboxFormEventType = 'focus' | 'blur' | 'valueChange' | 'validationError';
|
|
159
|
+
/**
|
|
160
|
+
* A single form interaction event from the parallel form stream.
|
|
161
|
+
*
|
|
162
|
+
* Each event is timestamped and tagged with the current route, allowing
|
|
163
|
+
* correlation with navigation steps on a shared timeline.
|
|
164
|
+
*/
|
|
165
|
+
export interface UiBlackboxFormEvent {
|
|
166
|
+
/** Timestamp (ms) of the event. */
|
|
167
|
+
timestamp: number;
|
|
168
|
+
/** Route URL where the event occurred. */
|
|
169
|
+
route: string;
|
|
170
|
+
/** Schema `id` of the `UiFormBuilderComponent` that owns the field. */
|
|
171
|
+
formId: string;
|
|
172
|
+
/** `key` of the field descriptor from the form schema. */
|
|
173
|
+
fieldKey: string;
|
|
174
|
+
/** Type of form interaction. */
|
|
175
|
+
eventType: UiBlackboxFormEventType;
|
|
176
|
+
/** Optional metadata depending on event type and config. */
|
|
177
|
+
metadata?: UiBlackboxFormEventMetadata;
|
|
178
|
+
}
|
|
179
|
+
/**
|
|
180
|
+
* Optional metadata attached to a `UiBlackboxFormEvent`.
|
|
181
|
+
*/
|
|
182
|
+
export interface UiBlackboxFormEventMetadata {
|
|
183
|
+
/** Field value (only captured when `config.formTracking.trackValues` is `true`). */
|
|
184
|
+
value?: any;
|
|
185
|
+
/** Whether the field is currently valid. */
|
|
186
|
+
valid?: boolean;
|
|
187
|
+
/** List of active validation error keys. */
|
|
188
|
+
errors?: string[];
|
|
189
|
+
/**
|
|
190
|
+
* Full form values snapshot at the moment of the event.
|
|
191
|
+
* Only captured when `config.formTracking.trackValues` is `true`.
|
|
192
|
+
*/
|
|
193
|
+
formValues?: Record<string, any>;
|
|
194
|
+
}
|
|
195
|
+
/**
|
|
196
|
+
* A single intercepted HTTP call.
|
|
197
|
+
*
|
|
198
|
+
* Only requests bearing the `X-Ui-Blackbox` header are captured.
|
|
199
|
+
*/
|
|
200
|
+
export interface UiBlackboxHttpCall {
|
|
201
|
+
/** Timestamp (ms) when the request was initiated. */
|
|
202
|
+
timestamp: number;
|
|
203
|
+
/** HTTP method (GET, POST, PUT, DELETE, …). */
|
|
204
|
+
method: string;
|
|
205
|
+
/** Request URL. */
|
|
206
|
+
url: string;
|
|
207
|
+
/** HTTP status code of the response (undefined if the request failed). */
|
|
208
|
+
status?: number;
|
|
209
|
+
/** Round-trip duration in milliseconds. */
|
|
210
|
+
durationMs?: number;
|
|
211
|
+
/** Request body payload (serialisable). */
|
|
212
|
+
requestPayload?: any;
|
|
213
|
+
/** Response headers filtered by the `X-Ui-Blackbox-Headers` regex. */
|
|
214
|
+
responseHeaders?: Record<string, string>;
|
|
215
|
+
/** The regex pattern used to filter response headers. */
|
|
216
|
+
headerFilter?: string;
|
|
217
|
+
}
|
|
218
|
+
/**
|
|
219
|
+
* Union type for all events flowing through the centralised buffer.
|
|
220
|
+
* @internal
|
|
221
|
+
*/
|
|
222
|
+
export type UiBlackboxBufferEvent = {
|
|
223
|
+
kind: 'action';
|
|
224
|
+
payload: UiBlackboxAction & {
|
|
225
|
+
route: string;
|
|
226
|
+
};
|
|
227
|
+
} | {
|
|
228
|
+
kind: 'formEvent';
|
|
229
|
+
payload: UiBlackboxFormEvent;
|
|
230
|
+
} | {
|
|
231
|
+
kind: 'httpCall';
|
|
232
|
+
payload: UiBlackboxHttpCall;
|
|
233
|
+
} | {
|
|
234
|
+
kind: 'step';
|
|
235
|
+
payload: UiBlackboxStep;
|
|
236
|
+
};
|
|
237
|
+
/** Default configuration values. */
|
|
238
|
+
export declare const UI_BLACKBOX_DEFAULTS: UiBlackboxConfig;
|