@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,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;
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
import type { UiEndpoint } from '../../core/types/index';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
/**
|
|
4
|
+
* Orchestrates toast notifications and loader state for HTTP requests.
|
|
5
|
+
*
|
|
6
|
+
* Features:
|
|
7
|
+
* - Debounce anti-spam (groups identical messages within 300ms)
|
|
8
|
+
* - Inline message resolution with placeholder replacements
|
|
9
|
+
* - `successMessageResolver` / `errorExtractor` for dynamic messages
|
|
10
|
+
* - Loader integration via `UiLayoutService` (optional)
|
|
11
|
+
*/
|
|
12
|
+
export declare class UiHttpMessageHandler {
|
|
13
|
+
private readonly toast;
|
|
14
|
+
private readonly layout;
|
|
15
|
+
/** Debounce time in milliseconds. */
|
|
16
|
+
private readonly DEBOUNCE_TIME;
|
|
17
|
+
/** Active debounce timeouts keyed by message content. */
|
|
18
|
+
private readonly messageTimeouts;
|
|
19
|
+
/** Show the global loader (via UiLayoutService if available). */
|
|
20
|
+
startLoading(): void;
|
|
21
|
+
/** Hide the global loader. */
|
|
22
|
+
stopLoading(): void;
|
|
23
|
+
/**
|
|
24
|
+
* Show a success toast for the given endpoint.
|
|
25
|
+
*
|
|
26
|
+
* Resolution priority:
|
|
27
|
+
* 1. `successMessageResolver()` if provided and returns non-null
|
|
28
|
+
* 2. `messages.success` with placeholder replacements
|
|
29
|
+
* 3. No toast if no message is configured
|
|
30
|
+
*/
|
|
31
|
+
showSuccess(endpoint: UiEndpoint): void;
|
|
32
|
+
/**
|
|
33
|
+
* Show an error toast for the given endpoint.
|
|
34
|
+
*
|
|
35
|
+
* Resolution priority:
|
|
36
|
+
* 1. `errorExtractor(error)` if provided and returns non-null
|
|
37
|
+
* 2. `messages.error` with placeholder replacements
|
|
38
|
+
* 3. `fallbackMessage` if everything else is empty
|
|
39
|
+
*/
|
|
40
|
+
showError(endpoint: UiEndpoint, error?: any, fallbackMessage?: string): void;
|
|
41
|
+
/** Show a custom success toast (not tied to an endpoint). */
|
|
42
|
+
showCustomSuccess(message: string): void;
|
|
43
|
+
/** Show a custom error toast (not tied to an endpoint). */
|
|
44
|
+
showCustomError(message: string): void;
|
|
45
|
+
/** Cancel all pending debounce timeouts. */
|
|
46
|
+
clearAllTimeouts(): void;
|
|
47
|
+
/**
|
|
48
|
+
* Debounce mechanism for toast messages.
|
|
49
|
+
* If the same message is requested within DEBOUNCE_TIME ms,
|
|
50
|
+
* only the last one is shown.
|
|
51
|
+
*/
|
|
52
|
+
private debounceToast;
|
|
53
|
+
/**
|
|
54
|
+
* Replace `${key}` placeholders in a message string.
|
|
55
|
+
*/
|
|
56
|
+
private applyReplacements;
|
|
57
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<UiHttpMessageHandler, never>;
|
|
58
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<UiHttpMessageHandler>;
|
|
59
|
+
}
|
|
@@ -0,0 +1,98 @@
|
|
|
1
|
+
import { HttpHeaders } from '@angular/common/http';
|
|
2
|
+
import { Observable } from 'rxjs';
|
|
3
|
+
import type { UiEndpoint } from '../../core/types/index';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
/**
|
|
6
|
+
* Central HTTP service with automatic loader, toast, and error handling.
|
|
7
|
+
*
|
|
8
|
+
* All toast flags default to `false` — enable them per-endpoint via
|
|
9
|
+
* `showSuccess: true` and/or `showError: true`.
|
|
10
|
+
*/
|
|
11
|
+
export declare class UiHttpService {
|
|
12
|
+
private readonly http;
|
|
13
|
+
private readonly messageHandler;
|
|
14
|
+
private readonly config;
|
|
15
|
+
private readonly headersProvider;
|
|
16
|
+
private readonly blackbox;
|
|
17
|
+
/** Resolved base URL from config token. */
|
|
18
|
+
private get baseUrl();
|
|
19
|
+
/** Execute a **GET** request. */
|
|
20
|
+
get<T>(endpoint: UiEndpoint, options?: {
|
|
21
|
+
headers?: HttpHeaders;
|
|
22
|
+
params?: any;
|
|
23
|
+
}): Observable<T>;
|
|
24
|
+
/** Execute a **POST** request. */
|
|
25
|
+
post<T>(endpoint: UiEndpoint, body: unknown, options?: {
|
|
26
|
+
headers?: HttpHeaders;
|
|
27
|
+
params?: any;
|
|
28
|
+
}): Observable<T>;
|
|
29
|
+
/** Execute a **PUT** request. */
|
|
30
|
+
put<T>(endpoint: UiEndpoint, body: unknown, options?: {
|
|
31
|
+
headers?: HttpHeaders;
|
|
32
|
+
params?: any;
|
|
33
|
+
}): Observable<T>;
|
|
34
|
+
/** Execute a **PATCH** request. */
|
|
35
|
+
patch<T>(endpoint: UiEndpoint, body: unknown, options?: {
|
|
36
|
+
headers?: HttpHeaders;
|
|
37
|
+
params?: any;
|
|
38
|
+
}): Observable<T>;
|
|
39
|
+
/** Execute a **DELETE** request. */
|
|
40
|
+
delete<T>(endpoint: UiEndpoint, body?: unknown, options?: {
|
|
41
|
+
headers?: HttpHeaders;
|
|
42
|
+
params?: any;
|
|
43
|
+
}): Observable<T>;
|
|
44
|
+
/**
|
|
45
|
+
* Download a **binary file** (Blob).
|
|
46
|
+
*
|
|
47
|
+
* Applies the same loader / toast pipeline as JSON requests.
|
|
48
|
+
*/
|
|
49
|
+
download(endpoint: UiEndpoint, options?: {
|
|
50
|
+
headers?: HttpHeaders;
|
|
51
|
+
params?: any;
|
|
52
|
+
}): Observable<Blob>;
|
|
53
|
+
/** Show a custom success toast (not tied to an endpoint). */
|
|
54
|
+
showCustomSuccess(message: string): void;
|
|
55
|
+
/** Show a custom error toast (not tied to an endpoint). */
|
|
56
|
+
showCustomError(message: string): void;
|
|
57
|
+
/** Manually control the loader state. */
|
|
58
|
+
setLoading(loading: boolean): void;
|
|
59
|
+
/** Show a success toast for a specific endpoint (manual trigger). */
|
|
60
|
+
showEndpointSuccess(endpoint: UiEndpoint): void;
|
|
61
|
+
/** Show an error toast for a specific endpoint (manual trigger). */
|
|
62
|
+
showEndpointError(endpoint: UiEndpoint, error?: any, fallbackMessage?: string): void;
|
|
63
|
+
/** Cancel all pending debounce timeouts. */
|
|
64
|
+
clearAllToastTimeouts(): void;
|
|
65
|
+
/**
|
|
66
|
+
* Generic JSON request handler.
|
|
67
|
+
* Builds headers, serialises body, and pipes through the common pipeline.
|
|
68
|
+
*/
|
|
69
|
+
private _request;
|
|
70
|
+
/**
|
|
71
|
+
* Common pipeline applied to every HTTP request:
|
|
72
|
+
* 1. Start loader
|
|
73
|
+
* 2. On success → show success toast
|
|
74
|
+
* 3. On error → show error toast, log, re-throw
|
|
75
|
+
* 4. Always stop loader
|
|
76
|
+
* 5. Track in BlackBox (if available and endpoint is trackable)
|
|
77
|
+
*/
|
|
78
|
+
private _handleRequest;
|
|
79
|
+
/**
|
|
80
|
+
* Build the final HttpHeaders by merging:
|
|
81
|
+
* 1. Default headers from config
|
|
82
|
+
* 2. Custom headers from UiHeadersProvider
|
|
83
|
+
* 3. Per-request headers
|
|
84
|
+
*/
|
|
85
|
+
private buildHeaders;
|
|
86
|
+
/**
|
|
87
|
+
* Centralised error handling.
|
|
88
|
+
* Logs the error and delegates toast display to the message handler.
|
|
89
|
+
*/
|
|
90
|
+
private handleErrors;
|
|
91
|
+
/**
|
|
92
|
+
* Track the HTTP call in BlackBox if the service is available
|
|
93
|
+
* and the endpoint hasn't opted out.
|
|
94
|
+
*/
|
|
95
|
+
private trackBlackbox;
|
|
96
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<UiHttpService, never>;
|
|
97
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<UiHttpService>;
|
|
98
|
+
}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @module ng-ui-system/http
|
|
3
|
+
* Injection tokens for the HTTP orchestration service.
|
|
4
|
+
*/
|
|
5
|
+
import { InjectionToken } from '@angular/core';
|
|
6
|
+
import type { UiHttpConfig, UiHeadersProvider } from './http.types';
|
|
7
|
+
/**
|
|
8
|
+
* Optional global configuration for `UiHttpService`.
|
|
9
|
+
*
|
|
10
|
+
* @usageNotes
|
|
11
|
+
* ```typescript
|
|
12
|
+
* providers: [
|
|
13
|
+
* { provide: UI_HTTP_CONFIG, useValue: { baseUrl: '/api' } },
|
|
14
|
+
* ]
|
|
15
|
+
* ```
|
|
16
|
+
*/
|
|
17
|
+
export declare const UI_HTTP_CONFIG: InjectionToken<UiHttpConfig>;
|
|
18
|
+
/**
|
|
19
|
+
* Optional headers provider for injecting custom headers (auth, correlation, etc.)
|
|
20
|
+
* into every HTTP request.
|
|
21
|
+
*
|
|
22
|
+
* @usageNotes
|
|
23
|
+
* ```typescript
|
|
24
|
+
* providers: [
|
|
25
|
+
* { provide: UI_HEADERS_PROVIDER, useClass: MyAuthHeadersProvider },
|
|
26
|
+
* ]
|
|
27
|
+
* ```
|
|
28
|
+
*/
|
|
29
|
+
export declare const UI_HEADERS_PROVIDER: InjectionToken<UiHeadersProvider>;
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @module ng-ui-system/http
|
|
3
|
+
* Types and interfaces for the HTTP orchestration service.
|
|
4
|
+
*/
|
|
5
|
+
/**
|
|
6
|
+
* Provider interface for custom HTTP headers.
|
|
7
|
+
*
|
|
8
|
+
* Implement this interface and register it with the `UI_HEADERS_PROVIDER`
|
|
9
|
+
* injection token to automatically inject custom headers (e.g. auth tokens,
|
|
10
|
+
* correlation IDs) into every request made by `UiHttpService`.
|
|
11
|
+
*
|
|
12
|
+
* @usageNotes
|
|
13
|
+
* ```typescript
|
|
14
|
+
* @Injectable()
|
|
15
|
+
* export class MyAuthHeadersProvider implements UiHeadersProvider {
|
|
16
|
+
* getHeaders(): Record<string, string> {
|
|
17
|
+
* const token = localStorage.getItem('jwt');
|
|
18
|
+
* return token ? { Authorization: `Bearer ${token}` } : {};
|
|
19
|
+
* }
|
|
20
|
+
* }
|
|
21
|
+
*
|
|
22
|
+
* // app.config.ts
|
|
23
|
+
* { provide: UI_HEADERS_PROVIDER, useClass: MyAuthHeadersProvider }
|
|
24
|
+
* ```
|
|
25
|
+
*/
|
|
26
|
+
export interface UiHeadersProvider {
|
|
27
|
+
/** Returns a plain object of header name → header value. */
|
|
28
|
+
getHeaders(): Record<string, string>;
|
|
29
|
+
}
|
|
30
|
+
/**
|
|
31
|
+
* Global configuration for `UiHttpService`.
|
|
32
|
+
*
|
|
33
|
+
* @usageNotes
|
|
34
|
+
* ```typescript
|
|
35
|
+
* // app.config.ts
|
|
36
|
+
* { provide: UI_HTTP_CONFIG, useValue: { baseUrl: '/api/v1' } }
|
|
37
|
+
* ```
|
|
38
|
+
*/
|
|
39
|
+
export interface UiHttpConfig {
|
|
40
|
+
/**
|
|
41
|
+
* Base URL prepended to every endpoint URL.
|
|
42
|
+
* Default: `''` (no prefix).
|
|
43
|
+
*/
|
|
44
|
+
baseUrl?: string;
|
|
45
|
+
/**
|
|
46
|
+
* Default headers applied to every request.
|
|
47
|
+
* Can be overridden per-request via options.
|
|
48
|
+
*/
|
|
49
|
+
defaultHeaders?: Record<string, string>;
|
|
50
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* ng-ui-system — HTTP Orchestration Service entry point.
|
|
3
|
+
*
|
|
4
|
+
* @example
|
|
5
|
+
* ```typescript
|
|
6
|
+
* import {
|
|
7
|
+
* UiHttpService,
|
|
8
|
+
* UiHttpMessageHandler,
|
|
9
|
+
* UI_HTTP_CONFIG,
|
|
10
|
+
* UI_HEADERS_PROVIDER,
|
|
11
|
+
* } from '@gnggln/ng-ui-system';
|
|
12
|
+
* ```
|
|
13
|
+
*/
|
|
14
|
+
export { UiHttpService } from './http.service';
|
|
15
|
+
export { UiHttpMessageHandler } from './http-message.handler';
|
|
16
|
+
export { UI_HTTP_CONFIG, UI_HEADERS_PROVIDER } from './http.tokens';
|
|
17
|
+
export type { UiHttpConfig, UiHeadersProvider } from './http.types';
|