@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,96 @@
|
|
|
1
|
+
import { type ActivatedRoute } from '@angular/router';
|
|
2
|
+
import { type UiBreadcrumbItem } from './page-header.types';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
/**
|
|
5
|
+
* Service that builds a nested breadcrumb trail from Angular route configuration.
|
|
6
|
+
*
|
|
7
|
+
* Routes must define `data.id`, `data.title`, and optionally `data.breadcrumbs`
|
|
8
|
+
* (an array of parent route IDs) for the chain to resolve correctly.
|
|
9
|
+
*
|
|
10
|
+
* Supports lazy-loaded routes: the internal route map is rebuilt automatically
|
|
11
|
+
* whenever new routes are loaded via `NavigationEnd`.
|
|
12
|
+
*
|
|
13
|
+
* Label resolution for route parameters (`:param`) is delegated to an injectable
|
|
14
|
+
* `UiLabelResolverFn` via the `UI_BREADCRUMB_LABEL_RESOLVER` token.
|
|
15
|
+
*
|
|
16
|
+
* @usageNotes
|
|
17
|
+
* ### Route configuration
|
|
18
|
+
* ```typescript
|
|
19
|
+
* const routes: Routes = [
|
|
20
|
+
* {
|
|
21
|
+
* path: 'users',
|
|
22
|
+
* data: { id: 'users', title: 'Utenti' },
|
|
23
|
+
* children: [
|
|
24
|
+
* {
|
|
25
|
+
* path: ':userId',
|
|
26
|
+
* data: { id: 'user-detail', title: ':userId', breadcrumbs: ['users'] },
|
|
27
|
+
* component: UserDetailComponent,
|
|
28
|
+
* },
|
|
29
|
+
* ],
|
|
30
|
+
* },
|
|
31
|
+
* ];
|
|
32
|
+
* ```
|
|
33
|
+
*
|
|
34
|
+
* ### Custom label resolver
|
|
35
|
+
* ```typescript
|
|
36
|
+
* providers: [
|
|
37
|
+
* {
|
|
38
|
+
* provide: UI_BREADCRUMB_LABEL_RESOLVER,
|
|
39
|
+
* useValue: (name: string, value: string) =>
|
|
40
|
+
* name === 'userId' ? `User #${value}` : value,
|
|
41
|
+
* },
|
|
42
|
+
* ]
|
|
43
|
+
* ```
|
|
44
|
+
*/
|
|
45
|
+
export declare class UiBreadcrumbService {
|
|
46
|
+
private readonly router;
|
|
47
|
+
private readonly labelResolver;
|
|
48
|
+
/** @internal Map of route ID → breadcrumb configuration. */
|
|
49
|
+
private breadcrumbMap;
|
|
50
|
+
/** @internal Tracks route count to detect lazy-loaded route additions. */
|
|
51
|
+
private lastRouteConfigLength;
|
|
52
|
+
/** @internal Last computed breadcrumbs for navigateBack. */
|
|
53
|
+
private lastBreadcrumbs;
|
|
54
|
+
constructor();
|
|
55
|
+
/**
|
|
56
|
+
* Computes the breadcrumb trail for the currently active route.
|
|
57
|
+
*
|
|
58
|
+
* @param route - The root `ActivatedRoute` (typically injected in the component).
|
|
59
|
+
* @returns Ordered array of breadcrumb items from root to current route.
|
|
60
|
+
*/
|
|
61
|
+
getBreadcrumbsForRoute(route: ActivatedRoute): UiBreadcrumbItem[];
|
|
62
|
+
/**
|
|
63
|
+
* Navigates to the previous breadcrumb (parent route).
|
|
64
|
+
* Falls back to `fallbackUrl` (default: `/`) when no parent exists.
|
|
65
|
+
*/
|
|
66
|
+
navigateBack(fallbackUrl?: string): void;
|
|
67
|
+
/** @internal Collects all route params from the full path (including parents). */
|
|
68
|
+
private collectParamsFromPath;
|
|
69
|
+
/** @internal Rebuilds the map only when new lazy routes appear. */
|
|
70
|
+
private rebuildRouteMapIfNeeded;
|
|
71
|
+
/** @internal Recursively counts routes including lazy-loaded children. */
|
|
72
|
+
private countRoutes;
|
|
73
|
+
/** @internal Clears and rebuilds the full route → breadcrumb map. */
|
|
74
|
+
private rebuildRouteMap;
|
|
75
|
+
/** @internal Recursively walks route tree to build the breadcrumb map. */
|
|
76
|
+
private buildRouteMap;
|
|
77
|
+
/** @internal Builds the full breadcrumb chain for a route by its ID. */
|
|
78
|
+
private buildBreadcrumbChain;
|
|
79
|
+
/** @internal Resolves parent breadcrumbs from ordered parent IDs. */
|
|
80
|
+
private getParentChain;
|
|
81
|
+
/**
|
|
82
|
+
* @internal Resolves `:param` placeholders in a label using
|
|
83
|
+
* the injected label resolver function.
|
|
84
|
+
*/
|
|
85
|
+
private resolveLabel;
|
|
86
|
+
/** @internal Resolves `:param` placeholders in a path and creates a URL. */
|
|
87
|
+
private resolveUrl;
|
|
88
|
+
/** @internal Normalizes path by collapsing double slashes and trimming trailing slash. */
|
|
89
|
+
private normalizePath;
|
|
90
|
+
/** @internal Removes query parameters from a URL. */
|
|
91
|
+
private stripQueryParams;
|
|
92
|
+
/** @internal Caches the fully resolved URL for a route ID. */
|
|
93
|
+
private saveFullPath;
|
|
94
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<UiBreadcrumbService, never>;
|
|
95
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<UiBreadcrumbService>;
|
|
96
|
+
}
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
import { OnInit } from '@angular/core';
|
|
2
|
+
import { UiBreadcrumbItem } from './page-header.types';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
/**
|
|
5
|
+
* Page header component that renders a breadcrumb navigation trail
|
|
6
|
+
* and a page title. Integrates with `UiBreadcrumbService` to
|
|
7
|
+
* automatically derive breadcrumbs from Angular route configuration.
|
|
8
|
+
*
|
|
9
|
+
* The breadcrumb trail is generated from route `data` properties:
|
|
10
|
+
* - `data.id` — unique route identifier
|
|
11
|
+
* - `data.title` — display label
|
|
12
|
+
* - `data.breadcrumbs` — ordered array of parent route IDs
|
|
13
|
+
*
|
|
14
|
+
* @selector ui-page-header
|
|
15
|
+
*
|
|
16
|
+
* @example
|
|
17
|
+
* ```html
|
|
18
|
+
* <!-- Auto breadcrumbs from route data -->
|
|
19
|
+
* <ui-page-header />
|
|
20
|
+
*
|
|
21
|
+
* <!-- With explicit title override -->
|
|
22
|
+
* <ui-page-header title="Custom Title" />
|
|
23
|
+
*
|
|
24
|
+
* <!-- With document title update -->
|
|
25
|
+
* <ui-page-header [updateDocumentTitle]="true" titleSuffix=" | My App" />
|
|
26
|
+
* ```
|
|
27
|
+
*/
|
|
28
|
+
export declare class UiPageHeaderComponent implements OnInit {
|
|
29
|
+
/** Override the auto-detected page title. When empty, title is derived from the last breadcrumb. */
|
|
30
|
+
title: string;
|
|
31
|
+
/** Route path for the Home breadcrumb link. */
|
|
32
|
+
homeRoute: string;
|
|
33
|
+
/** Whether to display the Home link at the start of the trail. */
|
|
34
|
+
showHome: boolean;
|
|
35
|
+
/** When `true`, updates `document.title` on each navigation. */
|
|
36
|
+
updateDocumentTitle: boolean;
|
|
37
|
+
/** Suffix appended to `document.title` (e.g. `' | My App'`). Only used when `updateDocumentTitle` is `true`. */
|
|
38
|
+
titleSuffix: string;
|
|
39
|
+
/** @internal */
|
|
40
|
+
breadcrumbs: UiBreadcrumbItem[];
|
|
41
|
+
private readonly router;
|
|
42
|
+
private readonly activatedRoute;
|
|
43
|
+
private readonly titleService;
|
|
44
|
+
private readonly breadcrumbService;
|
|
45
|
+
private readonly destroyRef;
|
|
46
|
+
private readonly cdr;
|
|
47
|
+
/** Resolved page title: explicit `title` input wins, otherwise last breadcrumb label. */
|
|
48
|
+
get displayTitle(): string;
|
|
49
|
+
ngOnInit(): void;
|
|
50
|
+
/**
|
|
51
|
+
* Navigates to the previous breadcrumb (parent route).
|
|
52
|
+
* @param fallbackUrl - URL to navigate to when no parent exists (default: homeRoute).
|
|
53
|
+
*/
|
|
54
|
+
navigateBack(fallbackUrl?: string): void;
|
|
55
|
+
/** @internal */
|
|
56
|
+
private refresh;
|
|
57
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<UiPageHeaderComponent, never>;
|
|
58
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<UiPageHeaderComponent, "ui-page-header", never, { "title": { "alias": "title"; "required": false; }; "homeRoute": { "alias": "homeRoute"; "required": false; }; "showHome": { "alias": "showHome"; "required": false; }; "updateDocumentTitle": { "alias": "updateDocumentTitle"; "required": false; }; "titleSuffix": { "alias": "titleSuffix"; "required": false; }; }, {}, never, never, true, never>;
|
|
59
|
+
}
|
|
@@ -0,0 +1,96 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @module ng-ui-system/page-header
|
|
3
|
+
* Types and interfaces for UiPageHeader and UiBreadcrumbService.
|
|
4
|
+
*/
|
|
5
|
+
import { InjectionToken } from '@angular/core';
|
|
6
|
+
/**
|
|
7
|
+
* Single breadcrumb item rendered in the navigation trail.
|
|
8
|
+
*
|
|
9
|
+
* @usageNotes
|
|
10
|
+
* ### Structure
|
|
11
|
+
* ```typescript
|
|
12
|
+
* const item: UiBreadcrumbItem = {
|
|
13
|
+
* label: 'Dashboard',
|
|
14
|
+
* url: '/dashboard',
|
|
15
|
+
* isLast: false,
|
|
16
|
+
* };
|
|
17
|
+
* ```
|
|
18
|
+
*/
|
|
19
|
+
export interface UiBreadcrumbItem {
|
|
20
|
+
/** Display text for the breadcrumb link. */
|
|
21
|
+
label: string;
|
|
22
|
+
/** Navigation URL (Angular Router path). */
|
|
23
|
+
url: string;
|
|
24
|
+
/** Whether this is the last (current) breadcrumb in the trail. */
|
|
25
|
+
isLast: boolean;
|
|
26
|
+
}
|
|
27
|
+
/**
|
|
28
|
+
* Internal route configuration stored by UiBreadcrumbService.
|
|
29
|
+
* Built from Angular route `data` properties.
|
|
30
|
+
*
|
|
31
|
+
* @usageNotes
|
|
32
|
+
* ### Route data convention
|
|
33
|
+
* ```typescript
|
|
34
|
+
* {
|
|
35
|
+
* path: 'users/:userId',
|
|
36
|
+
* data: {
|
|
37
|
+
* id: 'user-detail',
|
|
38
|
+
* title: 'Dettaglio utente',
|
|
39
|
+
* breadcrumbs: ['users-list'],
|
|
40
|
+
* },
|
|
41
|
+
* component: UserDetailComponent,
|
|
42
|
+
* }
|
|
43
|
+
* ```
|
|
44
|
+
*/
|
|
45
|
+
export interface UiBreadcrumbConfig {
|
|
46
|
+
/** Unique route identifier (from `route.data.id`). */
|
|
47
|
+
id: string;
|
|
48
|
+
/** Resolved route path pattern (may contain `:param` placeholders). */
|
|
49
|
+
path: string;
|
|
50
|
+
/** Display label (from `route.data.title` or fallback). */
|
|
51
|
+
label: string;
|
|
52
|
+
/** Ordered array of parent route IDs for building the breadcrumb chain. */
|
|
53
|
+
parentIds: string[];
|
|
54
|
+
/** Fully resolved URL captured at navigation time. */
|
|
55
|
+
fullPath?: string;
|
|
56
|
+
/** Raw route data metadata. */
|
|
57
|
+
metadata?: Record<string, any>;
|
|
58
|
+
}
|
|
59
|
+
/**
|
|
60
|
+
* Function signature for resolving route parameter values to human-readable labels.
|
|
61
|
+
*
|
|
62
|
+
* Consumers can provide a custom implementation via `UI_BREADCRUMB_LABEL_RESOLVER`
|
|
63
|
+
* to translate cryptic parameter values (e.g. UUIDs, slugs) into user-friendly text.
|
|
64
|
+
*
|
|
65
|
+
* @param paramName - The route parameter name (e.g. `'userId'`).
|
|
66
|
+
* @param paramValue - The raw parameter value from the URL (e.g. `'abc-123'`).
|
|
67
|
+
* @returns A human-readable label, or the original value if no mapping exists.
|
|
68
|
+
*
|
|
69
|
+
* @usageNotes
|
|
70
|
+
* ### Custom resolver
|
|
71
|
+
* ```typescript
|
|
72
|
+
* const myResolver: UiLabelResolverFn = (name, value) => {
|
|
73
|
+
* if (name === 'status') {
|
|
74
|
+
* return { pending: 'In attesa', active: 'Attivo' }[value] ?? value;
|
|
75
|
+
* }
|
|
76
|
+
* return value;
|
|
77
|
+
* };
|
|
78
|
+
*
|
|
79
|
+
* providers: [
|
|
80
|
+
* { provide: UI_BREADCRUMB_LABEL_RESOLVER, useValue: myResolver },
|
|
81
|
+
* ]
|
|
82
|
+
* ```
|
|
83
|
+
*/
|
|
84
|
+
export type UiLabelResolverFn = (paramName: string, paramValue: string) => string;
|
|
85
|
+
/**
|
|
86
|
+
* Injection token for providing a custom label resolver to UiBreadcrumbService.
|
|
87
|
+
*
|
|
88
|
+
* When not provided, parameters are displayed as-is (identity function).
|
|
89
|
+
*
|
|
90
|
+
* @example
|
|
91
|
+
* ```typescript
|
|
92
|
+
* // In your app.config.ts or module providers:
|
|
93
|
+
* { provide: UI_BREADCRUMB_LABEL_RESOLVER, useValue: myLabelResolver }
|
|
94
|
+
* ```
|
|
95
|
+
*/
|
|
96
|
+
export declare const UI_BREADCRUMB_LABEL_RESOLVER: InjectionToken<UiLabelResolverFn>;
|
|
@@ -0,0 +1,133 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Shared types for ng-ui-system components.
|
|
3
|
+
* These types are used across multiple components to ensure consistency.
|
|
4
|
+
*/
|
|
5
|
+
/** Standard size variants used across components. */
|
|
6
|
+
export type UiSize = 'xs' | 'sm' | 'md' | 'lg' | 'xl';
|
|
7
|
+
/** Visual style variants for components. */
|
|
8
|
+
export type UiVariant = 'primary' | 'accent' | 'warn' | 'neutral' | 'ghost' | 'outline';
|
|
9
|
+
/** Semantic color palette tokens. */
|
|
10
|
+
export type UiColor = 'primary' | 'accent' | 'warn' | 'success' | 'info' | 'neutral';
|
|
11
|
+
/** Layout direction. */
|
|
12
|
+
export type UiDirection = 'horizontal' | 'vertical';
|
|
13
|
+
/** Horizontal alignment. */
|
|
14
|
+
export type UiAlign = 'start' | 'center' | 'end' | 'stretch';
|
|
15
|
+
/** Component density options for compact or spacious layouts. */
|
|
16
|
+
export type UiDensity = 'compact' | 'default' | 'comfortable';
|
|
17
|
+
/**
|
|
18
|
+
* Common Lucide icon names with autocomplete support.
|
|
19
|
+
* Accepts any valid Lucide icon name as a string.
|
|
20
|
+
*
|
|
21
|
+
* Provides IntelliSense for the most frequently used enterprise icons.
|
|
22
|
+
* For the full icon catalogue, visit https://lucide.dev/icons
|
|
23
|
+
*
|
|
24
|
+
* @example
|
|
25
|
+
* ```typescript
|
|
26
|
+
* const myIcon: UiIconName = 'arrow-right'; // autocomplete ✓
|
|
27
|
+
* const custom: UiIconName = 'my-custom-icon'; // still valid
|
|
28
|
+
* ```
|
|
29
|
+
*/
|
|
30
|
+
export type UiIconName = 'arrow-right' | 'arrow-left' | 'arrow-up' | 'arrow-down' | 'chevron-right' | 'chevron-left' | 'chevron-up' | 'chevron-down' | 'external-link' | 'corner-down-left' | 'corner-down-right' | 'check' | 'x' | 'plus' | 'minus' | 'search' | 'refresh-cw' | 'download' | 'upload' | 'save' | 'trash-2' | 'pencil' | 'copy' | 'clipboard' | 'share-2' | 'send' | 'log-in' | 'log-out' | 'mail' | 'message-circle' | 'phone' | 'bell' | 'user' | 'users' | 'lock' | 'unlock' | 'key' | 'shield' | 'file' | 'file-text' | 'file-spreadsheet' | 'file-archive' | 'folder' | 'image' | 'camera' | 'paperclip' | 'info' | 'alert-triangle' | 'alert-circle' | 'check-circle' | 'x-circle' | 'help-circle' | 'loader-2' | 'menu' | 'more-horizontal' | 'more-vertical' | 'grid' | 'list' | 'filter' | 'sliders' | 'columns' | 'maximize-2' | 'minimize-2' | 'home' | 'settings' | 'star' | 'heart' | 'bookmark' | 'calendar' | 'clock' | 'map-pin' | 'eye' | 'eye-off' | 'sun' | 'moon' | 'monitor' | (string & Record<never, never>);
|
|
31
|
+
/** Status values used for feedback components (badges, alerts, indicators). */
|
|
32
|
+
export type UiStatus = 'idle' | 'loading' | 'success' | 'error' | 'warning' | 'info';
|
|
33
|
+
/**
|
|
34
|
+
* Generic key-value pair used in select options, dropdowns, etc.
|
|
35
|
+
* @template T - The type of the value.
|
|
36
|
+
*/
|
|
37
|
+
export interface UiOption<T = string> {
|
|
38
|
+
/** The display label. */
|
|
39
|
+
label: string;
|
|
40
|
+
/** The underlying value. */
|
|
41
|
+
value: T;
|
|
42
|
+
/** Whether this option is disabled. */
|
|
43
|
+
disabled?: boolean;
|
|
44
|
+
/** Optional icon name (Lucide icon). */
|
|
45
|
+
icon?: UiIconName;
|
|
46
|
+
/** Optional grouping key for grouped selects. */
|
|
47
|
+
group?: string;
|
|
48
|
+
}
|
|
49
|
+
/**
|
|
50
|
+
* Result wrapper for async operations.
|
|
51
|
+
* @template T - The type of the data payload.
|
|
52
|
+
*/
|
|
53
|
+
export interface UiAsyncState<T = unknown> {
|
|
54
|
+
status: UiStatus;
|
|
55
|
+
data: T | null;
|
|
56
|
+
error: string | null;
|
|
57
|
+
}
|
|
58
|
+
/** Toast notification type. */
|
|
59
|
+
export type UiToastType = 'success' | 'error' | 'warning' | 'info';
|
|
60
|
+
/** Messages configuration for an endpoint (inline, no label archive). */
|
|
61
|
+
export interface UiEndpointMessages {
|
|
62
|
+
/** Success toast message. Supports `${key}` placeholders replaced at runtime. */
|
|
63
|
+
success?: string;
|
|
64
|
+
/** Error toast message. Supports `${key}` placeholders replaced at runtime. */
|
|
65
|
+
error?: string;
|
|
66
|
+
}
|
|
67
|
+
/**
|
|
68
|
+
* Extracts a custom error message from the HTTP error response.
|
|
69
|
+
* Return `null` to fall back to the default message.
|
|
70
|
+
*/
|
|
71
|
+
export type UiErrorExtractor = (error: any) => string | null;
|
|
72
|
+
/**
|
|
73
|
+
* Dynamically resolves a success message at runtime.
|
|
74
|
+
* Return `null` to fall back to the default message.
|
|
75
|
+
*/
|
|
76
|
+
export type UiSuccessResolver = () => string | null;
|
|
77
|
+
/**
|
|
78
|
+
* Query parameters for URL building.
|
|
79
|
+
* Keys map to query param names; values are auto-converted to strings.
|
|
80
|
+
*/
|
|
81
|
+
export type UiQueryParameters = Record<string, string | string[] | number | number[] | boolean>;
|
|
82
|
+
/**
|
|
83
|
+
* Endpoint configuration for `UiHttpService`.
|
|
84
|
+
*
|
|
85
|
+
* Each endpoint defines its URL, optional inline messages, and
|
|
86
|
+
* toast/error behaviour. All toast flags default to `false` (opt-in).
|
|
87
|
+
*
|
|
88
|
+
* @usageNotes
|
|
89
|
+
* ### Basic endpoint factory
|
|
90
|
+
* ```typescript
|
|
91
|
+
* const SAVE_USER = (): UiEndpoint => ({
|
|
92
|
+
* url: '/api/users',
|
|
93
|
+
* id: 'user_save',
|
|
94
|
+
* showSuccess: true,
|
|
95
|
+
* messages: { success: 'Utente salvato!' },
|
|
96
|
+
* });
|
|
97
|
+
* ```
|
|
98
|
+
*
|
|
99
|
+
* ### Dynamic endpoint with replacements
|
|
100
|
+
* ```typescript
|
|
101
|
+
* const UPDATE_ITEM = (id: number): UiEndpoint => ({
|
|
102
|
+
* url: `/api/items/${id}`,
|
|
103
|
+
* id: 'item_update',
|
|
104
|
+
* showSuccess: true,
|
|
105
|
+
* showError: true,
|
|
106
|
+
* messages: {
|
|
107
|
+
* success: 'Elemento ${name} aggiornato',
|
|
108
|
+
* error: 'Errore aggiornamento elemento',
|
|
109
|
+
* },
|
|
110
|
+
* replacements: { name: 'Widget' },
|
|
111
|
+
* });
|
|
112
|
+
* ```
|
|
113
|
+
*/
|
|
114
|
+
export interface UiEndpoint {
|
|
115
|
+
/** Relative or absolute URL for the API call. */
|
|
116
|
+
url: string;
|
|
117
|
+
/** Unique identifier for the endpoint (used for debounce keying). */
|
|
118
|
+
id: string;
|
|
119
|
+
/** Whether to show a success toast on completion. Default: `false`. */
|
|
120
|
+
showSuccess?: boolean;
|
|
121
|
+
/** Whether to show an error toast on failure. Default: `false`. */
|
|
122
|
+
showError?: boolean;
|
|
123
|
+
/** Inline messages for success/error toasts. */
|
|
124
|
+
messages?: UiEndpointMessages;
|
|
125
|
+
/** Placeholder replacements for message strings (`${key}` → value). */
|
|
126
|
+
replacements?: Record<string, string | number>;
|
|
127
|
+
/** Custom error message extractor from the HTTP error response. */
|
|
128
|
+
errorExtractor?: UiErrorExtractor;
|
|
129
|
+
/** Custom success message resolver (overrides inline message). */
|
|
130
|
+
successMessageResolver?: UiSuccessResolver;
|
|
131
|
+
/** Whether this endpoint should be tracked by BlackBox. Default: `true`. */
|
|
132
|
+
trackable?: boolean;
|
|
133
|
+
}
|
|
@@ -0,0 +1,80 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @module ng-ui-system/blackbox
|
|
3
|
+
* Componente debugger BlackBox — aperto in modale fullscreen.
|
|
4
|
+
*
|
|
5
|
+
* Layout:
|
|
6
|
+
* - Header con titolo e chiusura
|
|
7
|
+
* - Tab group: Dashboard | Timeline | Form Events | HTTP Calls
|
|
8
|
+
*
|
|
9
|
+
* Funzionalita:
|
|
10
|
+
* - Timeline unificata (navigazioni + click + form events + HTTP calls)
|
|
11
|
+
* - Form events con valori del form visibili
|
|
12
|
+
* - JSON detail modal al click su dati strutturati
|
|
13
|
+
*/
|
|
14
|
+
import { OnInit, OnDestroy } from '@angular/core';
|
|
15
|
+
import { MatDialogRef } from '@angular/material/dialog';
|
|
16
|
+
import { UiBlackboxSession } from './blackbox.types';
|
|
17
|
+
import * as i0 from "@angular/core";
|
|
18
|
+
/** Discriminated union for the unified timeline. */
|
|
19
|
+
interface TimelineEntry {
|
|
20
|
+
timestamp: number;
|
|
21
|
+
kind: 'navigation' | 'click' | 'formEvent' | 'httpCall';
|
|
22
|
+
route?: string;
|
|
23
|
+
previousRoute?: string;
|
|
24
|
+
actionsCount?: number;
|
|
25
|
+
tag?: string;
|
|
26
|
+
trackId?: string;
|
|
27
|
+
text?: string;
|
|
28
|
+
formId?: string;
|
|
29
|
+
fieldKey?: string;
|
|
30
|
+
eventType?: string;
|
|
31
|
+
metadata?: any;
|
|
32
|
+
method?: string;
|
|
33
|
+
url?: string;
|
|
34
|
+
status?: number;
|
|
35
|
+
durationMs?: number;
|
|
36
|
+
requestPayload?: any;
|
|
37
|
+
responseHeaders?: Record<string, string>;
|
|
38
|
+
}
|
|
39
|
+
export declare class UiBlackboxDebuggerComponent implements OnInit, OnDestroy {
|
|
40
|
+
dialogRef: MatDialogRef<UiBlackboxDebuggerComponent>;
|
|
41
|
+
dialogData: any;
|
|
42
|
+
private readonly blackbox;
|
|
43
|
+
private readonly http;
|
|
44
|
+
private readonly modalService;
|
|
45
|
+
private readonly cdr;
|
|
46
|
+
private readonly destroy$;
|
|
47
|
+
/** Whether opened inside a dialog. */
|
|
48
|
+
isDialogMode: boolean;
|
|
49
|
+
selectedTab: number;
|
|
50
|
+
session: UiBlackboxSession | null;
|
|
51
|
+
viewingSession: UiBlackboxSession | null;
|
|
52
|
+
pastSessions: UiBlackboxSession[];
|
|
53
|
+
statsCards: {
|
|
54
|
+
icon: string;
|
|
55
|
+
value: number;
|
|
56
|
+
label: string;
|
|
57
|
+
}[];
|
|
58
|
+
/** Unified timeline entries sorted by timestamp. */
|
|
59
|
+
timelineEntries: TimelineEntry[];
|
|
60
|
+
constructor(dialogRef: MatDialogRef<UiBlackboxDebuggerComponent>, dialogData: any);
|
|
61
|
+
get sessionDuration(): string;
|
|
62
|
+
ngOnInit(): void;
|
|
63
|
+
ngOnDestroy(): void;
|
|
64
|
+
refresh(): void;
|
|
65
|
+
private updateStats;
|
|
66
|
+
/** Builds a unified timeline from all event sources. */
|
|
67
|
+
private buildTimeline;
|
|
68
|
+
viewSession(s: UiBlackboxSession): void;
|
|
69
|
+
closeDialog(): void;
|
|
70
|
+
openJsonModal(title: string, data: any): void;
|
|
71
|
+
simulateGet(): void;
|
|
72
|
+
simulatePost(): void;
|
|
73
|
+
simulateFail(): void;
|
|
74
|
+
exportSessions(): Promise<void>;
|
|
75
|
+
importJsonl(): void;
|
|
76
|
+
clearHistory(): Promise<void>;
|
|
77
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<UiBlackboxDebuggerComponent, [{ optional: true; }, { optional: true; }]>;
|
|
78
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<UiBlackboxDebuggerComponent, "ui-blackbox-debugger", never, {}, {}, never, never, true, never>;
|
|
79
|
+
}
|
|
80
|
+
export {};
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import { MatDialogRef } from '@angular/material/dialog';
|
|
2
|
+
import { UiBlackboxDebuggerComponent } from './blackbox-debugger.component';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
/**
|
|
5
|
+
* Servizio per aprire il debugger BlackBox in una modale fullscreen
|
|
6
|
+
* tramite il UiModalService.
|
|
7
|
+
*
|
|
8
|
+
* @usageNotes
|
|
9
|
+
*
|
|
10
|
+
* ### Apertura base
|
|
11
|
+
* ```typescript
|
|
12
|
+
* const ref = this.debuggerService.open();
|
|
13
|
+
* ```
|
|
14
|
+
*
|
|
15
|
+
* ### Apertura con sessioni importate (JSONL)
|
|
16
|
+
* ```typescript
|
|
17
|
+
* this.debuggerService.open({ importedSessions: mySessions });
|
|
18
|
+
* ```
|
|
19
|
+
*/
|
|
20
|
+
export declare class UiBlackboxDebuggerService {
|
|
21
|
+
/** @internal Servizio modale per l'apertura. */
|
|
22
|
+
private readonly modalService;
|
|
23
|
+
/**
|
|
24
|
+
* Apre il debugger in una modale fullscreen.
|
|
25
|
+
*
|
|
26
|
+
* @param config - Configurazione opzionale
|
|
27
|
+
* @returns Riferimento alla dialog per gestire chiusura
|
|
28
|
+
*/
|
|
29
|
+
open(config?: {
|
|
30
|
+
importedSessions?: any[];
|
|
31
|
+
}): MatDialogRef<UiBlackboxDebuggerComponent, void>;
|
|
32
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<UiBlackboxDebuggerService, never>;
|
|
33
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<UiBlackboxDebuggerService>;
|
|
34
|
+
}
|
|
@@ -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,18 @@
|
|
|
1
|
+
import { MatDialogRef } from '@angular/material/dialog';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class UiBlackboxJsonViewerComponent {
|
|
4
|
+
dialogRef: MatDialogRef<UiBlackboxJsonViewerComponent>;
|
|
5
|
+
data: {
|
|
6
|
+
title: string;
|
|
7
|
+
json: any;
|
|
8
|
+
};
|
|
9
|
+
copied: boolean;
|
|
10
|
+
formattedJson: string;
|
|
11
|
+
constructor(dialogRef: MatDialogRef<UiBlackboxJsonViewerComponent>, data: {
|
|
12
|
+
title: string;
|
|
13
|
+
json: any;
|
|
14
|
+
});
|
|
15
|
+
copyToClipboard(): void;
|
|
16
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<UiBlackboxJsonViewerComponent, [{ optional: true; }, { optional: true; }]>;
|
|
17
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<UiBlackboxJsonViewerComponent, "ui-blackbox-json-viewer", never, {}, {}, never, never, true, never>;
|
|
18
|
+
}
|
|
@@ -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,38 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @module ng-ui-system/blackbox
|
|
3
|
+
* HTTP interceptor for BlackBox — captures requests marked with
|
|
4
|
+
* the `X-Ui-Blackbox` header.
|
|
5
|
+
*
|
|
6
|
+
* @usageNotes
|
|
7
|
+
* ### Setup (functional interceptor, Angular 17+)
|
|
8
|
+
* ```typescript
|
|
9
|
+
* // app.config.ts
|
|
10
|
+
* import { provideHttpClient, withInterceptors } from '@angular/common/http';
|
|
11
|
+
* import { uiBlackboxInterceptor } from '@gnggln/ng-ui-system';
|
|
12
|
+
*
|
|
13
|
+
* export const appConfig: ApplicationConfig = {
|
|
14
|
+
* providers: [
|
|
15
|
+
* provideHttpClient(withInterceptors([uiBlackboxInterceptor])),
|
|
16
|
+
* ],
|
|
17
|
+
* };
|
|
18
|
+
* ```
|
|
19
|
+
*
|
|
20
|
+
* ### Marking a request
|
|
21
|
+
* ```typescript
|
|
22
|
+
* this.http.get('/api/data', {
|
|
23
|
+
* headers: new HttpHeaders({
|
|
24
|
+
* 'X-Ui-Blackbox': 'true',
|
|
25
|
+
* // Optional: filter response headers to capture
|
|
26
|
+
* 'X-Ui-Blackbox-Headers': 'x-request-id|x-correlation-.*',
|
|
27
|
+
* }),
|
|
28
|
+
* });
|
|
29
|
+
* ```
|
|
30
|
+
*/
|
|
31
|
+
import { HttpInterceptorFn } from '@angular/common/http';
|
|
32
|
+
/**
|
|
33
|
+
* Angular functional HTTP interceptor for BlackBox.
|
|
34
|
+
*
|
|
35
|
+
* Only processes requests that include the `X-Ui-Blackbox` header.
|
|
36
|
+
* Strips the custom headers before forwarding the request to the server.
|
|
37
|
+
*/
|
|
38
|
+
export declare const uiBlackboxInterceptor: HttpInterceptorFn;
|