@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,2064 @@
|
|
|
1
|
+
import * as i0 from '@angular/core';
|
|
2
|
+
import { inject, PLATFORM_ID, Injectable, ChangeDetectorRef, Component, ChangeDetectionStrategy, ViewEncapsulation, Input, HostListener } from '@angular/core';
|
|
3
|
+
import { Router, NavigationEnd, RouterOutlet, RouterLink, RouterLinkActive } from '@angular/router';
|
|
4
|
+
import { isPlatformBrowser, NgTemplateOutlet } from '@angular/common';
|
|
5
|
+
import * as i1 from 'lucide-angular';
|
|
6
|
+
import { LucideAngularModule } from 'lucide-angular';
|
|
7
|
+
import { BehaviorSubject, filter } from 'rxjs';
|
|
8
|
+
|
|
9
|
+
/**
|
|
10
|
+
* Central service for programmatic control of the `ui-layout-builder` shell.
|
|
11
|
+
*
|
|
12
|
+
* Provides reactive state management for:
|
|
13
|
+
* - Overlay loader (with body scroll locking)
|
|
14
|
+
* - Sidebar open / collapsed state
|
|
15
|
+
* - Context-sensitive FAB actions
|
|
16
|
+
* - Navigation badge and visibility overrides
|
|
17
|
+
* - Layout mode switching (sidebar / topbar / slotted)
|
|
18
|
+
* - Content type (fluid / boxed / fullscreen)
|
|
19
|
+
* - Topbar bar visibility (notification bars show/hide)
|
|
20
|
+
*
|
|
21
|
+
* @example
|
|
22
|
+
* ```typescript
|
|
23
|
+
* export class MyPageComponent {
|
|
24
|
+
* private layout = inject(UiLayoutService);
|
|
25
|
+
*
|
|
26
|
+
* async loadData() {
|
|
27
|
+
* this.layout.showLoader();
|
|
28
|
+
* try {
|
|
29
|
+
* await this.api.fetchAll();
|
|
30
|
+
* } finally {
|
|
31
|
+
* this.layout.hideLoader();
|
|
32
|
+
* }
|
|
33
|
+
* }
|
|
34
|
+
* }
|
|
35
|
+
* ```
|
|
36
|
+
*/
|
|
37
|
+
class UiLayoutService {
|
|
38
|
+
constructor() {
|
|
39
|
+
this.platformId = inject(PLATFORM_ID);
|
|
40
|
+
// ── Loader ───────────────────────────────────────────────────────
|
|
41
|
+
this._loading$ = new BehaviorSubject(false);
|
|
42
|
+
/** Whether the overlay loader is currently visible. */
|
|
43
|
+
this.loading$ = this._loading$.asObservable();
|
|
44
|
+
// ── Layout Mode ─────────────────────────────────────────────────
|
|
45
|
+
this._layoutMode$ = new BehaviorSubject('sidebar');
|
|
46
|
+
/** Current layout mode (sidebar or topbar). */
|
|
47
|
+
this.layoutMode$ = this._layoutMode$.asObservable();
|
|
48
|
+
// ── Content Type ────────────────────────────────────────────────
|
|
49
|
+
this._contentType$ = new BehaviorSubject('fluid');
|
|
50
|
+
/** Current content type (fluid, boxed, fullscreen). */
|
|
51
|
+
this.contentType$ = this._contentType$.asObservable();
|
|
52
|
+
// ── Sidebar ──────────────────────────────────────────────────────
|
|
53
|
+
this._sidebarOpen$ = new BehaviorSubject(false);
|
|
54
|
+
/** Whether the mobile sidebar drawer is open. */
|
|
55
|
+
this.sidebarOpen$ = this._sidebarOpen$.asObservable();
|
|
56
|
+
this._sidebarCollapsed$ = new BehaviorSubject(false);
|
|
57
|
+
/** Whether the desktop sidebar is in collapsed (icon-only) mode. */
|
|
58
|
+
this.sidebarCollapsed$ = this._sidebarCollapsed$.asObservable();
|
|
59
|
+
// ── FAB (context-sensitive) ──────────────────────────────────────
|
|
60
|
+
this._defaultFabConfig = null;
|
|
61
|
+
this._fabConfig$ = new BehaviorSubject(null);
|
|
62
|
+
/** Current FAB configuration (schema default merged with page overrides). */
|
|
63
|
+
this.fabConfig$ = this._fabConfig$.asObservable();
|
|
64
|
+
// ── Navigation helpers ───────────────────────────────────────────
|
|
65
|
+
this._navBadges$ = new BehaviorSubject(new Map());
|
|
66
|
+
/** Observable map of nav-item badges keyed by item ID. */
|
|
67
|
+
this.navBadges$ = this._navBadges$.asObservable();
|
|
68
|
+
this._navVisibility$ = new BehaviorSubject(new Map());
|
|
69
|
+
/** Observable map of nav-item visibility overrides keyed by item ID. */
|
|
70
|
+
this.navVisibility$ = this._navVisibility$.asObservable();
|
|
71
|
+
// ── Bar visibility (topbar notification bars) ───────────────────
|
|
72
|
+
this._barVisibility$ = new BehaviorSubject(new Map());
|
|
73
|
+
/** Observable map of topbar bar visibility keyed by bar ID. */
|
|
74
|
+
this.barVisibility$ = this._barVisibility$.asObservable();
|
|
75
|
+
}
|
|
76
|
+
/** Show the full-screen overlay loader and block body scroll. */
|
|
77
|
+
showLoader() {
|
|
78
|
+
this._loading$.next(true);
|
|
79
|
+
this.setBodyOverflow(true);
|
|
80
|
+
}
|
|
81
|
+
/** Hide the overlay loader and restore body scroll. */
|
|
82
|
+
hideLoader() {
|
|
83
|
+
this._loading$.next(false);
|
|
84
|
+
this.setBodyOverflow(false);
|
|
85
|
+
}
|
|
86
|
+
/** Toggle the overlay loader. */
|
|
87
|
+
toggleLoader() {
|
|
88
|
+
if (this._loading$.value) {
|
|
89
|
+
this.hideLoader();
|
|
90
|
+
}
|
|
91
|
+
else {
|
|
92
|
+
this.showLoader();
|
|
93
|
+
}
|
|
94
|
+
}
|
|
95
|
+
/** Synchronous snapshot of the loading state. */
|
|
96
|
+
isLoading() {
|
|
97
|
+
return this._loading$.value;
|
|
98
|
+
}
|
|
99
|
+
/**
|
|
100
|
+
* Switch layout mode with loader masking the transition.
|
|
101
|
+
* Shows the loader, applies the mode change, then hides the loader
|
|
102
|
+
* after a short delay to prevent visible layout shift.
|
|
103
|
+
*/
|
|
104
|
+
setLayoutMode(mode, transitionMs = 300) {
|
|
105
|
+
if (this._layoutMode$.value === mode)
|
|
106
|
+
return;
|
|
107
|
+
this.showLoader();
|
|
108
|
+
this._layoutMode$.next(mode);
|
|
109
|
+
setTimeout(() => this.hideLoader(), transitionMs);
|
|
110
|
+
}
|
|
111
|
+
/** Synchronous snapshot of the current layout mode. */
|
|
112
|
+
getLayoutMode() {
|
|
113
|
+
return this._layoutMode$.value;
|
|
114
|
+
}
|
|
115
|
+
/**
|
|
116
|
+
* @internal Called by the layout-builder component to set the initial mode
|
|
117
|
+
* from the schema without triggering the loader transition.
|
|
118
|
+
*/
|
|
119
|
+
_setInitialLayoutMode(mode) {
|
|
120
|
+
this._layoutMode$.next(mode);
|
|
121
|
+
}
|
|
122
|
+
/** Set the content type per-route or globally. */
|
|
123
|
+
setContentType(type) {
|
|
124
|
+
this._contentType$.next(type);
|
|
125
|
+
}
|
|
126
|
+
/** Synchronous snapshot of the current content type. */
|
|
127
|
+
getContentType() {
|
|
128
|
+
return this._contentType$.value;
|
|
129
|
+
}
|
|
130
|
+
/** @internal */
|
|
131
|
+
_setInitialContentType(type) {
|
|
132
|
+
this._contentType$.next(type);
|
|
133
|
+
}
|
|
134
|
+
/** Toggle the desktop sidebar between expanded and collapsed. */
|
|
135
|
+
toggleSidebar() {
|
|
136
|
+
this._sidebarCollapsed$.next(!this._sidebarCollapsed$.value);
|
|
137
|
+
}
|
|
138
|
+
/** Set the desktop sidebar collapsed state explicitly. */
|
|
139
|
+
collapseSidebar(collapsed = true) {
|
|
140
|
+
this._sidebarCollapsed$.next(collapsed);
|
|
141
|
+
}
|
|
142
|
+
/** Open the mobile sidebar drawer. */
|
|
143
|
+
openMobileSidebar() {
|
|
144
|
+
this._sidebarOpen$.next(true);
|
|
145
|
+
}
|
|
146
|
+
/** Close the mobile sidebar drawer. */
|
|
147
|
+
closeMobileSidebar() {
|
|
148
|
+
this._sidebarOpen$.next(false);
|
|
149
|
+
}
|
|
150
|
+
/** Synchronous snapshot: is the mobile sidebar open? */
|
|
151
|
+
isSidebarOpen() {
|
|
152
|
+
return this._sidebarOpen$.value;
|
|
153
|
+
}
|
|
154
|
+
/** Synchronous snapshot: is the desktop sidebar collapsed? */
|
|
155
|
+
isSidebarCollapsed() {
|
|
156
|
+
return this._sidebarCollapsed$.value;
|
|
157
|
+
}
|
|
158
|
+
/**
|
|
159
|
+
* Called internally by the layout-builder component to register the
|
|
160
|
+
* schema-level default FAB config.
|
|
161
|
+
* @internal
|
|
162
|
+
*/
|
|
163
|
+
_setDefaultFabConfig(config) {
|
|
164
|
+
this._defaultFabConfig = config;
|
|
165
|
+
this._fabConfig$.next(config);
|
|
166
|
+
}
|
|
167
|
+
/** Override the FAB main action for the current page context. */
|
|
168
|
+
setMainFabAction(action) {
|
|
169
|
+
const current = this._fabConfig$.value;
|
|
170
|
+
this._fabConfig$.next({
|
|
171
|
+
mainAction: action,
|
|
172
|
+
secondaryActions: current?.secondaryActions ?? [],
|
|
173
|
+
position: current?.position ?? 'bottom-right',
|
|
174
|
+
});
|
|
175
|
+
}
|
|
176
|
+
/** Override all FAB actions for the current page context. */
|
|
177
|
+
setFabActions(main, secondary) {
|
|
178
|
+
const current = this._fabConfig$.value;
|
|
179
|
+
this._fabConfig$.next({
|
|
180
|
+
mainAction: main,
|
|
181
|
+
secondaryActions: secondary ?? [],
|
|
182
|
+
position: current?.position ?? 'bottom-right',
|
|
183
|
+
});
|
|
184
|
+
}
|
|
185
|
+
/** Reset FAB to the schema-level default configuration. */
|
|
186
|
+
clearFabActions() {
|
|
187
|
+
this._fabConfig$.next(this._defaultFabConfig);
|
|
188
|
+
}
|
|
189
|
+
/** Set or clear a badge on a navigation item. Pass `null` to remove. */
|
|
190
|
+
setNavBadge(itemId, badge) {
|
|
191
|
+
const map = new Map(this._navBadges$.value);
|
|
192
|
+
if (badge === null) {
|
|
193
|
+
map.delete(itemId);
|
|
194
|
+
}
|
|
195
|
+
else {
|
|
196
|
+
map.set(itemId, badge);
|
|
197
|
+
}
|
|
198
|
+
this._navBadges$.next(map);
|
|
199
|
+
}
|
|
200
|
+
/** Override visibility of a navigation item. */
|
|
201
|
+
setNavItemVisibility(itemId, visible) {
|
|
202
|
+
const map = new Map(this._navVisibility$.value);
|
|
203
|
+
map.set(itemId, visible);
|
|
204
|
+
this._navVisibility$.next(map);
|
|
205
|
+
}
|
|
206
|
+
/** Show a topbar bar by ID. */
|
|
207
|
+
showBar(barId) {
|
|
208
|
+
const map = new Map(this._barVisibility$.value);
|
|
209
|
+
map.set(barId, true);
|
|
210
|
+
this._barVisibility$.next(map);
|
|
211
|
+
}
|
|
212
|
+
/** Hide a topbar bar by ID. */
|
|
213
|
+
hideBar(barId) {
|
|
214
|
+
const map = new Map(this._barVisibility$.value);
|
|
215
|
+
map.set(barId, false);
|
|
216
|
+
this._barVisibility$.next(map);
|
|
217
|
+
}
|
|
218
|
+
/** Toggle visibility of a topbar bar by ID. */
|
|
219
|
+
toggleBar(barId) {
|
|
220
|
+
const map = new Map(this._barVisibility$.value);
|
|
221
|
+
const current = map.get(barId);
|
|
222
|
+
map.set(barId, current === undefined ? false : !current);
|
|
223
|
+
this._barVisibility$.next(map);
|
|
224
|
+
}
|
|
225
|
+
/** Synchronous check of bar visibility (schema `visible` fallback). */
|
|
226
|
+
isBarVisible(barId, schemaVisible = true) {
|
|
227
|
+
const override = this._barVisibility$.value.get(barId);
|
|
228
|
+
return override !== undefined ? override : schemaVisible;
|
|
229
|
+
}
|
|
230
|
+
// ── Private helpers ──────────────────────────────────────────────
|
|
231
|
+
setBodyOverflow(locked) {
|
|
232
|
+
if (isPlatformBrowser(this.platformId)) {
|
|
233
|
+
document.body.style.overflow = locked ? 'hidden' : '';
|
|
234
|
+
}
|
|
235
|
+
}
|
|
236
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: UiLayoutService, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
237
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: UiLayoutService, providedIn: 'root' }); }
|
|
238
|
+
}
|
|
239
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: UiLayoutService, decorators: [{
|
|
240
|
+
type: Injectable,
|
|
241
|
+
args: [{ providedIn: 'root' }]
|
|
242
|
+
}] });
|
|
243
|
+
|
|
244
|
+
/**
|
|
245
|
+
* Schema-driven application shell that materializes a full responsive layout
|
|
246
|
+
* from a single `UiLayoutSchema` descriptor.
|
|
247
|
+
*
|
|
248
|
+
* Features:
|
|
249
|
+
* - Two layout modes: sidebar (collapsible) and topbar (multi-bar stack)
|
|
250
|
+
* - Programmatic mode switching with loader masking
|
|
251
|
+
* - Content type: fluid, boxed, fullscreen
|
|
252
|
+
* - Speed-dial FAB with context-sensitive actions
|
|
253
|
+
* - Overlay loader with body-scroll locking
|
|
254
|
+
* - Auto-derived breadcrumbs from navigation schema
|
|
255
|
+
* - Skip-to-content link and full keyboard navigation
|
|
256
|
+
*
|
|
257
|
+
* @selector ui-layout-builder
|
|
258
|
+
*
|
|
259
|
+
* @example
|
|
260
|
+
* ```html
|
|
261
|
+
* <ui-layout-builder [schema]="layoutSchema" />
|
|
262
|
+
* ```
|
|
263
|
+
*/
|
|
264
|
+
class UiLayoutBuilderComponent {
|
|
265
|
+
constructor() {
|
|
266
|
+
this.layoutService = inject(UiLayoutService);
|
|
267
|
+
this.router = inject(Router);
|
|
268
|
+
this.cdr = inject(ChangeDetectorRef);
|
|
269
|
+
this.subs = [];
|
|
270
|
+
this.currentUrl = '';
|
|
271
|
+
this.expandedIds = new Set();
|
|
272
|
+
this.fabOpen = false;
|
|
273
|
+
this.currentFabConfig = null;
|
|
274
|
+
this.loading = false;
|
|
275
|
+
this.sidebarOpen = false;
|
|
276
|
+
this.sidebarCollapsed = false;
|
|
277
|
+
this.layoutMode = 'sidebar';
|
|
278
|
+
this.contentType = 'fluid';
|
|
279
|
+
this.contentTransitioning = false;
|
|
280
|
+
this.breadcrumbs = [];
|
|
281
|
+
this.userDropdownOpen = false;
|
|
282
|
+
this.hnavDropdownId = null;
|
|
283
|
+
this.navBadges = new Map();
|
|
284
|
+
this.navVisibility = new Map();
|
|
285
|
+
this.barVisibility = new Map();
|
|
286
|
+
}
|
|
287
|
+
/** Resolved page title from the last breadcrumb. */
|
|
288
|
+
get pageTitle() {
|
|
289
|
+
if (!this.breadcrumbs.length)
|
|
290
|
+
return '';
|
|
291
|
+
return this.breadcrumbs[this.breadcrumbs.length - 1].label;
|
|
292
|
+
}
|
|
293
|
+
/** Items flagged for the mobile bottom navigation bar (max 5). */
|
|
294
|
+
get bottomNavItems() {
|
|
295
|
+
if (!this.schema.navigation)
|
|
296
|
+
return [];
|
|
297
|
+
return this.schema.navigation.items
|
|
298
|
+
.filter((i) => i.bottomNav && !this.isItemHidden(i) && i.route)
|
|
299
|
+
.sort((a, b) => (a.bottomNavOrder ?? 99) - (b.bottomNavOrder ?? 99))
|
|
300
|
+
.slice(0, 5);
|
|
301
|
+
}
|
|
302
|
+
get mobileMode() {
|
|
303
|
+
return this.schema.navigation?.mobileMode || 'both';
|
|
304
|
+
}
|
|
305
|
+
/** Topbar bars filtered by visibility (schema default + service overrides). */
|
|
306
|
+
get visibleBars() {
|
|
307
|
+
if (!this.schema.topbar?.bars)
|
|
308
|
+
return [];
|
|
309
|
+
return this.schema.topbar.bars.filter((bar) => this.layoutService.isBarVisible(bar.id, bar.visible !== false));
|
|
310
|
+
}
|
|
311
|
+
ngOnInit() {
|
|
312
|
+
this.currentUrl = this.router.url;
|
|
313
|
+
this.autoExpandFromUrl(this.currentUrl);
|
|
314
|
+
if (this.schema.mode) {
|
|
315
|
+
this.layoutService._setInitialLayoutMode(this.schema.mode);
|
|
316
|
+
}
|
|
317
|
+
if (this.schema.contentType) {
|
|
318
|
+
this.layoutService._setInitialContentType(this.schema.contentType);
|
|
319
|
+
}
|
|
320
|
+
if (this.schema.fab) {
|
|
321
|
+
this.layoutService._setDefaultFabConfig(this.schema.fab);
|
|
322
|
+
}
|
|
323
|
+
if (this.schema.loader?.showOnInit) {
|
|
324
|
+
this.layoutService.showLoader();
|
|
325
|
+
}
|
|
326
|
+
this.breadcrumbs = this.computeBreadcrumbs(this.currentUrl);
|
|
327
|
+
this.subs.push(this.layoutService.loading$.subscribe((v) => {
|
|
328
|
+
this.loading = v;
|
|
329
|
+
this.cdr.markForCheck();
|
|
330
|
+
}), this.layoutService.sidebarOpen$.subscribe((v) => {
|
|
331
|
+
this.sidebarOpen = v;
|
|
332
|
+
this.cdr.markForCheck();
|
|
333
|
+
}), this.layoutService.sidebarCollapsed$.subscribe((v) => {
|
|
334
|
+
this.sidebarCollapsed = v;
|
|
335
|
+
this.cdr.markForCheck();
|
|
336
|
+
}), this.layoutService.fabConfig$.subscribe((config) => {
|
|
337
|
+
this.currentFabConfig = config;
|
|
338
|
+
this.cdr.markForCheck();
|
|
339
|
+
}), this.layoutService.navBadges$.subscribe((m) => {
|
|
340
|
+
this.navBadges = m;
|
|
341
|
+
this.cdr.markForCheck();
|
|
342
|
+
}), this.layoutService.navVisibility$.subscribe((m) => {
|
|
343
|
+
this.navVisibility = m;
|
|
344
|
+
this.cdr.markForCheck();
|
|
345
|
+
}), this.layoutService.layoutMode$.subscribe((mode) => {
|
|
346
|
+
this.layoutMode = mode;
|
|
347
|
+
this.cdr.markForCheck();
|
|
348
|
+
}), this.layoutService.contentType$.subscribe((type) => {
|
|
349
|
+
this.contentType = type;
|
|
350
|
+
this.cdr.markForCheck();
|
|
351
|
+
}), this.layoutService.barVisibility$.subscribe((m) => {
|
|
352
|
+
this.barVisibility = m;
|
|
353
|
+
this.cdr.markForCheck();
|
|
354
|
+
}), this.router.events
|
|
355
|
+
.pipe(filter((e) => e instanceof NavigationEnd))
|
|
356
|
+
.subscribe((e) => {
|
|
357
|
+
this.currentUrl = e.urlAfterRedirects;
|
|
358
|
+
this.autoExpandFromUrl(this.currentUrl);
|
|
359
|
+
this.layoutService.closeMobileSidebar();
|
|
360
|
+
this.breadcrumbs = this.computeBreadcrumbs(this.currentUrl);
|
|
361
|
+
this.contentTransitioning = true;
|
|
362
|
+
this.userDropdownOpen = false;
|
|
363
|
+
this.hnavDropdownId = null;
|
|
364
|
+
if (this.schema.loader?.showOnInit && this.layoutService.isLoading()) {
|
|
365
|
+
const hide = () => this.layoutService.hideLoader();
|
|
366
|
+
const minDuration = this.schema.loader.minDuration ?? 0;
|
|
367
|
+
if (minDuration > 0) {
|
|
368
|
+
setTimeout(hide, minDuration);
|
|
369
|
+
}
|
|
370
|
+
else {
|
|
371
|
+
hide();
|
|
372
|
+
}
|
|
373
|
+
}
|
|
374
|
+
this.cdr.markForCheck();
|
|
375
|
+
}));
|
|
376
|
+
}
|
|
377
|
+
ngOnDestroy() {
|
|
378
|
+
this.subs.forEach((s) => s.unsubscribe());
|
|
379
|
+
}
|
|
380
|
+
onEscape() {
|
|
381
|
+
if (this.fabOpen) {
|
|
382
|
+
this.fabOpen = false;
|
|
383
|
+
}
|
|
384
|
+
if (this.userDropdownOpen) {
|
|
385
|
+
this.userDropdownOpen = false;
|
|
386
|
+
}
|
|
387
|
+
if (this.hnavDropdownId) {
|
|
388
|
+
this.hnavDropdownId = null;
|
|
389
|
+
}
|
|
390
|
+
if (this.sidebarOpen) {
|
|
391
|
+
this.layoutService.closeMobileSidebar();
|
|
392
|
+
}
|
|
393
|
+
}
|
|
394
|
+
onDocumentClick(event) {
|
|
395
|
+
const target = event.target;
|
|
396
|
+
if (this.userDropdownOpen && !target.closest('.ui-layout__user-dropdown')) {
|
|
397
|
+
this.userDropdownOpen = false;
|
|
398
|
+
this.cdr.markForCheck();
|
|
399
|
+
}
|
|
400
|
+
if (this.hnavDropdownId && !target.closest('.ui-layout__hnav-dropdown')) {
|
|
401
|
+
this.hnavDropdownId = null;
|
|
402
|
+
this.cdr.markForCheck();
|
|
403
|
+
}
|
|
404
|
+
}
|
|
405
|
+
// ── Navigation helpers ──────────────────────────────────────────
|
|
406
|
+
getItemsForSection(section) {
|
|
407
|
+
if (!this.schema.navigation)
|
|
408
|
+
return [];
|
|
409
|
+
const idSet = new Set(section.itemIds);
|
|
410
|
+
return this.schema.navigation.items.filter((i) => idSet.has(i.id));
|
|
411
|
+
}
|
|
412
|
+
isItemHidden(item) {
|
|
413
|
+
const override = this.navVisibility.get(item.id);
|
|
414
|
+
if (override !== undefined)
|
|
415
|
+
return !override;
|
|
416
|
+
return item.hidden ?? false;
|
|
417
|
+
}
|
|
418
|
+
getItemBadge(item) {
|
|
419
|
+
return this.navBadges.get(item.id) ?? item.badge ?? null;
|
|
420
|
+
}
|
|
421
|
+
isParentActive(item) {
|
|
422
|
+
if (!item.route)
|
|
423
|
+
return false;
|
|
424
|
+
return this.currentUrl === item.route || this.currentUrl.startsWith(item.route + '/');
|
|
425
|
+
}
|
|
426
|
+
isRouteActive(item) {
|
|
427
|
+
if (!item.route)
|
|
428
|
+
return false;
|
|
429
|
+
if (item.routeActiveExact)
|
|
430
|
+
return this.currentUrl === item.route;
|
|
431
|
+
return this.currentUrl === item.route || this.currentUrl.startsWith(item.route + '/');
|
|
432
|
+
}
|
|
433
|
+
toggleExpand(item) {
|
|
434
|
+
if (this.expandedIds.has(item.id)) {
|
|
435
|
+
this.expandedIds.delete(item.id);
|
|
436
|
+
}
|
|
437
|
+
else {
|
|
438
|
+
this.expandedIds.add(item.id);
|
|
439
|
+
if (!this.isParentActive(item) && item.children?.length) {
|
|
440
|
+
const firstChild = item.children[0]?.items[0];
|
|
441
|
+
if (firstChild?.route) {
|
|
442
|
+
this.router.navigateByUrl(firstChild.route);
|
|
443
|
+
}
|
|
444
|
+
}
|
|
445
|
+
}
|
|
446
|
+
}
|
|
447
|
+
onNavClick() {
|
|
448
|
+
this.layoutService.closeMobileSidebar();
|
|
449
|
+
}
|
|
450
|
+
// ── FAB ─────────────────────────────────────────────────────────
|
|
451
|
+
onFabMainClick() {
|
|
452
|
+
if (this.currentFabConfig?.secondaryActions?.length) {
|
|
453
|
+
this.fabOpen = !this.fabOpen;
|
|
454
|
+
}
|
|
455
|
+
else {
|
|
456
|
+
this.currentFabConfig?.mainAction.action?.();
|
|
457
|
+
}
|
|
458
|
+
}
|
|
459
|
+
onFabAction(action) {
|
|
460
|
+
this.fabOpen = false;
|
|
461
|
+
action.action?.();
|
|
462
|
+
}
|
|
463
|
+
// ── Topbar helpers ──────────────────────────────────────────────
|
|
464
|
+
getTopbarNavItems(bar) {
|
|
465
|
+
return bar.navigation?.items ?? this.schema.navigation?.items ?? [];
|
|
466
|
+
}
|
|
467
|
+
toggleHnavDropdown(itemId) {
|
|
468
|
+
this.hnavDropdownId = this.hnavDropdownId === itemId ? null : itemId;
|
|
469
|
+
}
|
|
470
|
+
dismissBar(barId) {
|
|
471
|
+
this.layoutService.hideBar(barId);
|
|
472
|
+
}
|
|
473
|
+
onDropdownAction(item) {
|
|
474
|
+
this.userDropdownOpen = false;
|
|
475
|
+
item.action?.();
|
|
476
|
+
}
|
|
477
|
+
// ── Breadcrumb derivation from nav schema ───────────────────────
|
|
478
|
+
/**
|
|
479
|
+
* Derives breadcrumbs by matching the current URL against the
|
|
480
|
+
* navigation schema. Walks top-level items, sections, and children
|
|
481
|
+
* to build a trail from root to current page.
|
|
482
|
+
*/
|
|
483
|
+
computeBreadcrumbs(url) {
|
|
484
|
+
if (!this.schema.navigation)
|
|
485
|
+
return [];
|
|
486
|
+
const items = this.schema.navigation.items;
|
|
487
|
+
const sections = this.schema.navigation.sections;
|
|
488
|
+
for (const item of items) {
|
|
489
|
+
if (item.type === 'divider' || item.type === 'external')
|
|
490
|
+
continue;
|
|
491
|
+
if (item.children?.length) {
|
|
492
|
+
for (const group of item.children) {
|
|
493
|
+
for (const child of group.items) {
|
|
494
|
+
if (child.route && this.urlMatches(url, child.route, child.routeActiveExact)) {
|
|
495
|
+
const trail = [];
|
|
496
|
+
const sectionLabel = this.findSectionLabel(item.id, sections);
|
|
497
|
+
if (sectionLabel) {
|
|
498
|
+
trail.push({ label: sectionLabel, isLast: false });
|
|
499
|
+
}
|
|
500
|
+
trail.push({ label: item.label, url: item.route, isLast: false });
|
|
501
|
+
trail.push({ label: child.label, isLast: true });
|
|
502
|
+
return trail;
|
|
503
|
+
}
|
|
504
|
+
}
|
|
505
|
+
}
|
|
506
|
+
}
|
|
507
|
+
if (item.route && this.urlMatches(url, item.route, item.routeActiveExact)) {
|
|
508
|
+
const trail = [];
|
|
509
|
+
const sectionLabel = this.findSectionLabel(item.id, sections);
|
|
510
|
+
if (sectionLabel) {
|
|
511
|
+
trail.push({ label: sectionLabel, isLast: false });
|
|
512
|
+
}
|
|
513
|
+
trail.push({ label: item.label, isLast: true });
|
|
514
|
+
return trail;
|
|
515
|
+
}
|
|
516
|
+
}
|
|
517
|
+
return [];
|
|
518
|
+
}
|
|
519
|
+
urlMatches(current, route, exact) {
|
|
520
|
+
if (exact)
|
|
521
|
+
return current === route;
|
|
522
|
+
return current === route || current.startsWith(route + '/');
|
|
523
|
+
}
|
|
524
|
+
findSectionLabel(itemId, sections) {
|
|
525
|
+
if (!sections?.length)
|
|
526
|
+
return null;
|
|
527
|
+
const section = sections.find((s) => s.itemIds.includes(itemId));
|
|
528
|
+
return section?.label ?? null;
|
|
529
|
+
}
|
|
530
|
+
autoExpandFromUrl(url) {
|
|
531
|
+
if (!this.schema.navigation)
|
|
532
|
+
return;
|
|
533
|
+
for (const item of this.schema.navigation.items) {
|
|
534
|
+
if (item.children && item.route && (url === item.route || url.startsWith(item.route + '/'))) {
|
|
535
|
+
this.expandedIds.add(item.id);
|
|
536
|
+
}
|
|
537
|
+
}
|
|
538
|
+
}
|
|
539
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: UiLayoutBuilderComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
540
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "18.2.14", type: UiLayoutBuilderComponent, isStandalone: true, selector: "ui-layout-builder", inputs: { schema: "schema" }, host: { listeners: { "document:keydown.escape": "onEscape()", "document:click": "onDocumentClick($event)" }, classAttribute: "ui-layout-builder-host" }, ngImport: i0, template: `
|
|
541
|
+
<!-- Skip to content (a11y) -->
|
|
542
|
+
<a class="ui-layout__skip-link" href="#ui-layout-main">
|
|
543
|
+
Vai al contenuto principale
|
|
544
|
+
</a>
|
|
545
|
+
|
|
546
|
+
<div
|
|
547
|
+
class="ui-layout"
|
|
548
|
+
[class.ui-layout--sidebar-collapsed]="layoutMode === 'sidebar' && sidebarCollapsed"
|
|
549
|
+
[class.ui-layout--topbar]="layoutMode === 'topbar'"
|
|
550
|
+
[class.ui-layout--slotted]="layoutMode === 'slotted'"
|
|
551
|
+
>
|
|
552
|
+
<!-- ─── Overlay Loader ─────────────────────────────────────── -->
|
|
553
|
+
@if (loading) {
|
|
554
|
+
<div
|
|
555
|
+
class="ui-layout__loader-overlay"
|
|
556
|
+
role="alert"
|
|
557
|
+
aria-live="assertive"
|
|
558
|
+
aria-label="Caricamento in corso"
|
|
559
|
+
>
|
|
560
|
+
<div class="ui-layout__loader-spinner" aria-hidden="true">
|
|
561
|
+
<svg viewBox="0 0 50 50" class="ui-layout__loader-svg">
|
|
562
|
+
<circle cx="25" cy="25" r="20" fill="none" stroke-width="4" />
|
|
563
|
+
</svg>
|
|
564
|
+
</div>
|
|
565
|
+
</div>
|
|
566
|
+
}
|
|
567
|
+
|
|
568
|
+
@switch (layoutMode) {
|
|
569
|
+
<!-- ════════════════════════════════════════════════════════ -->
|
|
570
|
+
<!-- ═══ SIDEBAR MODE ═════════════════════════════════════ -->
|
|
571
|
+
<!-- ════════════════════════════════════════════════════════ -->
|
|
572
|
+
@case ('sidebar') {
|
|
573
|
+
<!-- Mobile Top Bar -->
|
|
574
|
+
<header class="ui-layout__topbar">
|
|
575
|
+
<button
|
|
576
|
+
class="ui-layout__hamburger"
|
|
577
|
+
(click)="layoutService.openMobileSidebar()"
|
|
578
|
+
aria-label="Apri navigazione"
|
|
579
|
+
>
|
|
580
|
+
<span class="ui-layout__hamburger-line"></span>
|
|
581
|
+
<span class="ui-layout__hamburger-line"></span>
|
|
582
|
+
<span class="ui-layout__hamburger-line"></span>
|
|
583
|
+
</button>
|
|
584
|
+
@if (schema.header?.logo) {
|
|
585
|
+
@if (schema.header?.logo?.src) {
|
|
586
|
+
<img
|
|
587
|
+
class="ui-layout__topbar-logo-img"
|
|
588
|
+
[src]="schema.header?.logo?.src"
|
|
589
|
+
[alt]="schema.header?.logo?.alt || schema.header?.title"
|
|
590
|
+
/>
|
|
591
|
+
} @else if (schema.header?.logo?.text) {
|
|
592
|
+
<span class="ui-layout__topbar-logo">{{ schema.header?.logo?.text }}</span>
|
|
593
|
+
}
|
|
594
|
+
}
|
|
595
|
+
<span class="ui-layout__topbar-title">{{ schema.header?.title }}</span>
|
|
596
|
+
</header>
|
|
597
|
+
|
|
598
|
+
<!-- Mobile Backdrop -->
|
|
599
|
+
@if (sidebarOpen) {
|
|
600
|
+
<div
|
|
601
|
+
class="ui-layout__backdrop"
|
|
602
|
+
(click)="layoutService.closeMobileSidebar()"
|
|
603
|
+
aria-hidden="true"
|
|
604
|
+
></div>
|
|
605
|
+
}
|
|
606
|
+
|
|
607
|
+
<!-- Body (sidebar + content) -->
|
|
608
|
+
<div class="ui-layout__body">
|
|
609
|
+
<aside
|
|
610
|
+
class="ui-layout__sidebar"
|
|
611
|
+
[class.ui-layout__sidebar--collapsed]="sidebarCollapsed"
|
|
612
|
+
[class.ui-layout__sidebar--open]="sidebarOpen"
|
|
613
|
+
role="navigation"
|
|
614
|
+
aria-label="Navigazione principale"
|
|
615
|
+
>
|
|
616
|
+
<div class="ui-layout__sidebar-header">
|
|
617
|
+
<div class="ui-layout__sidebar-brand">
|
|
618
|
+
@if (schema.header?.logo) {
|
|
619
|
+
@if (schema.header?.logo?.src) {
|
|
620
|
+
<img
|
|
621
|
+
class="ui-layout__sidebar-logo-img"
|
|
622
|
+
[src]="schema.header?.logo?.src"
|
|
623
|
+
[alt]="schema.header?.logo?.alt || schema.header?.title"
|
|
624
|
+
/>
|
|
625
|
+
} @else if (schema.header?.logo?.text) {
|
|
626
|
+
<span class="ui-layout__sidebar-logo">{{ schema.header?.logo?.text }}</span>
|
|
627
|
+
}
|
|
628
|
+
}
|
|
629
|
+
@if (!sidebarCollapsed || sidebarOpen) {
|
|
630
|
+
<span class="ui-layout__sidebar-title">{{ schema.header?.title }}</span>
|
|
631
|
+
}
|
|
632
|
+
</div>
|
|
633
|
+
|
|
634
|
+
@if (schema.navigation?.collapsible !== false) {
|
|
635
|
+
<button
|
|
636
|
+
class="ui-layout__collapse-btn ui-layout__desktop-only"
|
|
637
|
+
(click)="layoutService.toggleSidebar()"
|
|
638
|
+
[attr.aria-label]="sidebarCollapsed ? 'Espandi sidebar' : 'Comprimi sidebar'"
|
|
639
|
+
>
|
|
640
|
+
<lucide-icon
|
|
641
|
+
name="chevrons-left"
|
|
642
|
+
[size]="16"
|
|
643
|
+
class="ui-layout__collapse-icon"
|
|
644
|
+
aria-hidden="true"
|
|
645
|
+
/>
|
|
646
|
+
</button>
|
|
647
|
+
}
|
|
648
|
+
|
|
649
|
+
<button
|
|
650
|
+
class="ui-layout__close-btn ui-layout__mobile-only"
|
|
651
|
+
(click)="layoutService.closeMobileSidebar()"
|
|
652
|
+
aria-label="Chiudi navigazione"
|
|
653
|
+
>
|
|
654
|
+
<lucide-icon name="x" [size]="16" aria-hidden="true" />
|
|
655
|
+
</button>
|
|
656
|
+
</div>
|
|
657
|
+
|
|
658
|
+
@if (!sidebarCollapsed || sidebarOpen) {
|
|
659
|
+
<nav class="ui-layout__sidebar-nav">
|
|
660
|
+
@if (schema.navigation?.sections?.length) {
|
|
661
|
+
@for (section of schema.navigation?.sections || []; track section.id) {
|
|
662
|
+
<div class="ui-layout__nav-section">
|
|
663
|
+
<span class="ui-layout__nav-section-title">{{ section.label }}</span>
|
|
664
|
+
@for (item of getItemsForSection(section); track item.id) {
|
|
665
|
+
@if (!isItemHidden(item)) {
|
|
666
|
+
<ng-container
|
|
667
|
+
*ngTemplateOutlet="navItemTpl; context: { $implicit: item }"
|
|
668
|
+
/>
|
|
669
|
+
}
|
|
670
|
+
}
|
|
671
|
+
</div>
|
|
672
|
+
}
|
|
673
|
+
} @else {
|
|
674
|
+
<div class="ui-layout__nav-section">
|
|
675
|
+
@for (item of schema.navigation?.items || []; track item.id) {
|
|
676
|
+
@if (!isItemHidden(item)) {
|
|
677
|
+
<ng-container
|
|
678
|
+
*ngTemplateOutlet="navItemTpl; context: { $implicit: item }"
|
|
679
|
+
/>
|
|
680
|
+
}
|
|
681
|
+
}
|
|
682
|
+
</div>
|
|
683
|
+
}
|
|
684
|
+
</nav>
|
|
685
|
+
}
|
|
686
|
+
</aside>
|
|
687
|
+
|
|
688
|
+
<!-- Main content area -->
|
|
689
|
+
<main
|
|
690
|
+
class="ui-layout__content"
|
|
691
|
+
[class.ui-layout__content--boxed]="contentType === 'boxed'"
|
|
692
|
+
[class.ui-layout__content--fullscreen]="contentType === 'fullscreen'"
|
|
693
|
+
[class.ui-layout__content--transitioning]="contentTransitioning"
|
|
694
|
+
(animationend)="contentTransitioning = false"
|
|
695
|
+
id="ui-layout-main"
|
|
696
|
+
tabindex="-1"
|
|
697
|
+
>
|
|
698
|
+
<div class="ui-layout__content-inner" [class.ui-layout__content-inner--boxed]="contentType === 'boxed'">
|
|
699
|
+
<ng-container *ngTemplateOutlet="pageHeaderTpl" />
|
|
700
|
+
<router-outlet />
|
|
701
|
+
</div>
|
|
702
|
+
</main>
|
|
703
|
+
</div>
|
|
704
|
+
}
|
|
705
|
+
|
|
706
|
+
<!-- ════════════════════════════════════════════════════════ -->
|
|
707
|
+
<!-- ═══ TOPBAR MODE ══════════════════════════════════════ -->
|
|
708
|
+
<!-- ════════════════════════════════════════════════════════ -->
|
|
709
|
+
@case ('topbar') {
|
|
710
|
+
<!-- Bar stack -->
|
|
711
|
+
<div class="ui-layout__bar-stack">
|
|
712
|
+
@for (bar of visibleBars; track bar.id) {
|
|
713
|
+
@switch (bar.type) {
|
|
714
|
+
@case ('notification') {
|
|
715
|
+
@if (bar.notification) {
|
|
716
|
+
<div
|
|
717
|
+
class="ui-layout__bar ui-layout__bar--notification"
|
|
718
|
+
[class]="'ui-layout__bar--notification-' + (bar.notification.variant || 'primary')"
|
|
719
|
+
role="alert"
|
|
720
|
+
>
|
|
721
|
+
@if (bar.notification.icon) {
|
|
722
|
+
<lucide-icon [name]="bar.notification.icon" [size]="16" aria-hidden="true" />
|
|
723
|
+
}
|
|
724
|
+
<span class="ui-layout__bar-text">{{ bar.notification.text }}</span>
|
|
725
|
+
@if (bar.notification.dismissible !== false) {
|
|
726
|
+
<button
|
|
727
|
+
class="ui-layout__bar-dismiss"
|
|
728
|
+
(click)="dismissBar(bar.id)"
|
|
729
|
+
aria-label="Chiudi notifica"
|
|
730
|
+
>
|
|
731
|
+
<lucide-icon name="x" [size]="14" aria-hidden="true" />
|
|
732
|
+
</button>
|
|
733
|
+
}
|
|
734
|
+
</div>
|
|
735
|
+
}
|
|
736
|
+
}
|
|
737
|
+
|
|
738
|
+
@case ('brand') {
|
|
739
|
+
@if (bar.brand; as brand) {
|
|
740
|
+
<div class="ui-layout__bar ui-layout__bar--brand">
|
|
741
|
+
<div class="ui-layout__bar-brand-left">
|
|
742
|
+
<button
|
|
743
|
+
class="ui-layout__hamburger ui-layout__topbar-hamburger"
|
|
744
|
+
(click)="layoutService.openMobileSidebar()"
|
|
745
|
+
aria-label="Apri navigazione"
|
|
746
|
+
>
|
|
747
|
+
<span class="ui-layout__hamburger-line"></span>
|
|
748
|
+
<span class="ui-layout__hamburger-line"></span>
|
|
749
|
+
<span class="ui-layout__hamburger-line"></span>
|
|
750
|
+
</button>
|
|
751
|
+
@if (brand.logo; as logo) {
|
|
752
|
+
@if (logo.src) {
|
|
753
|
+
<img
|
|
754
|
+
class="ui-layout__bar-logo-img"
|
|
755
|
+
[src]="logo.src"
|
|
756
|
+
[alt]="logo.alt || brand.title || ''"
|
|
757
|
+
/>
|
|
758
|
+
} @else if (logo.text) {
|
|
759
|
+
<span class="ui-layout__bar-logo">{{ logo.text }}</span>
|
|
760
|
+
}
|
|
761
|
+
}
|
|
762
|
+
@if (brand.title; as brandTitle) {
|
|
763
|
+
<span class="ui-layout__bar-title">{{ brandTitle }}</span>
|
|
764
|
+
}
|
|
765
|
+
</div>
|
|
766
|
+
@if (brand.userDropdown; as dropdown) {
|
|
767
|
+
<div class="ui-layout__user-dropdown">
|
|
768
|
+
<button
|
|
769
|
+
class="ui-layout__user-dropdown-trigger"
|
|
770
|
+
(click)="userDropdownOpen = !userDropdownOpen"
|
|
771
|
+
[attr.aria-expanded]="userDropdownOpen"
|
|
772
|
+
aria-haspopup="true"
|
|
773
|
+
>
|
|
774
|
+
@if (dropdown.avatar?.src) {
|
|
775
|
+
<img
|
|
776
|
+
class="ui-layout__user-avatar"
|
|
777
|
+
[src]="dropdown.avatar!.src"
|
|
778
|
+
[alt]="dropdown.avatar!.alt || dropdown.label"
|
|
779
|
+
/>
|
|
780
|
+
} @else {
|
|
781
|
+
<lucide-icon
|
|
782
|
+
[name]="dropdown.icon || 'user'"
|
|
783
|
+
[size]="18"
|
|
784
|
+
aria-hidden="true"
|
|
785
|
+
/>
|
|
786
|
+
}
|
|
787
|
+
<span class="ui-layout__user-label">{{ dropdown.label }}</span>
|
|
788
|
+
<lucide-icon name="chevron-down" [size]="14" aria-hidden="true" class="ui-layout__user-chevron" />
|
|
789
|
+
</button>
|
|
790
|
+
@if (userDropdownOpen) {
|
|
791
|
+
<div class="ui-layout__user-dropdown-menu" role="menu">
|
|
792
|
+
@for (dItem of dropdown.items; track dItem.id) {
|
|
793
|
+
@if (dItem.divider) {
|
|
794
|
+
<hr class="ui-layout__user-dropdown-divider" />
|
|
795
|
+
}
|
|
796
|
+
@if (dItem.route) {
|
|
797
|
+
<a
|
|
798
|
+
class="ui-layout__user-dropdown-item"
|
|
799
|
+
[routerLink]="dItem.route"
|
|
800
|
+
role="menuitem"
|
|
801
|
+
(click)="userDropdownOpen = false"
|
|
802
|
+
>
|
|
803
|
+
@if (dItem.icon) {
|
|
804
|
+
<lucide-icon [name]="dItem.icon" [size]="16" aria-hidden="true" />
|
|
805
|
+
}
|
|
806
|
+
{{ dItem.label }}
|
|
807
|
+
</a>
|
|
808
|
+
} @else {
|
|
809
|
+
<button
|
|
810
|
+
class="ui-layout__user-dropdown-item"
|
|
811
|
+
role="menuitem"
|
|
812
|
+
(click)="onDropdownAction(dItem)"
|
|
813
|
+
>
|
|
814
|
+
@if (dItem.icon) {
|
|
815
|
+
<lucide-icon [name]="dItem.icon" [size]="16" aria-hidden="true" />
|
|
816
|
+
}
|
|
817
|
+
{{ dItem.label }}
|
|
818
|
+
</button>
|
|
819
|
+
}
|
|
820
|
+
}
|
|
821
|
+
</div>
|
|
822
|
+
}
|
|
823
|
+
</div>
|
|
824
|
+
}
|
|
825
|
+
</div>
|
|
826
|
+
}
|
|
827
|
+
}
|
|
828
|
+
|
|
829
|
+
@case ('navigation') {
|
|
830
|
+
<nav class="ui-layout__bar ui-layout__bar--navigation" role="navigation" aria-label="Navigazione principale">
|
|
831
|
+
@for (item of getTopbarNavItems(bar); track item.id) {
|
|
832
|
+
@if (!isItemHidden(item)) {
|
|
833
|
+
@if (item.children?.length) {
|
|
834
|
+
<div class="ui-layout__hnav-dropdown" [class.ui-layout__hnav-dropdown--open]="hnavDropdownId === item.id">
|
|
835
|
+
<button
|
|
836
|
+
class="ui-layout__hnav-link ui-layout__hnav-link--parent"
|
|
837
|
+
[class.ui-layout__hnav-link--active]="isParentActive(item)"
|
|
838
|
+
(click)="toggleHnavDropdown(item.id)"
|
|
839
|
+
[attr.aria-expanded]="hnavDropdownId === item.id"
|
|
840
|
+
>
|
|
841
|
+
@if (item.icon) {
|
|
842
|
+
<lucide-icon [name]="item.icon" [size]="16" aria-hidden="true" />
|
|
843
|
+
}
|
|
844
|
+
<span>{{ item.label }}</span>
|
|
845
|
+
<lucide-icon name="chevron-down" [size]="14" aria-hidden="true" class="ui-layout__hnav-chevron" />
|
|
846
|
+
</button>
|
|
847
|
+
@if (hnavDropdownId === item.id) {
|
|
848
|
+
<div class="ui-layout__hnav-dropdown-menu">
|
|
849
|
+
@for (group of item.children; track group.label) {
|
|
850
|
+
<span class="ui-layout__hnav-dropdown-label">{{ group.label }}</span>
|
|
851
|
+
@for (child of group.items; track child.id) {
|
|
852
|
+
@if (!isItemHidden(child)) {
|
|
853
|
+
<a
|
|
854
|
+
class="ui-layout__hnav-dropdown-item"
|
|
855
|
+
[routerLink]="child.route"
|
|
856
|
+
routerLinkActive="ui-layout__hnav-dropdown-item--active"
|
|
857
|
+
(click)="hnavDropdownId = null; onNavClick()"
|
|
858
|
+
>
|
|
859
|
+
{{ child.label }}
|
|
860
|
+
</a>
|
|
861
|
+
}
|
|
862
|
+
}
|
|
863
|
+
}
|
|
864
|
+
</div>
|
|
865
|
+
}
|
|
866
|
+
</div>
|
|
867
|
+
} @else if (item.type === 'external') {
|
|
868
|
+
<a
|
|
869
|
+
class="ui-layout__hnav-link"
|
|
870
|
+
[href]="item.href"
|
|
871
|
+
[target]="item.target || '_blank'"
|
|
872
|
+
[attr.rel]="item.target === '_blank' ? 'noopener noreferrer' : null"
|
|
873
|
+
>
|
|
874
|
+
@if (item.icon) {
|
|
875
|
+
<lucide-icon [name]="item.icon" [size]="16" aria-hidden="true" />
|
|
876
|
+
}
|
|
877
|
+
<span>{{ item.label }}</span>
|
|
878
|
+
<lucide-icon name="external-link" [size]="12" aria-hidden="true" />
|
|
879
|
+
</a>
|
|
880
|
+
} @else if (item.type !== 'divider') {
|
|
881
|
+
<a
|
|
882
|
+
class="ui-layout__hnav-link"
|
|
883
|
+
[routerLink]="item.route"
|
|
884
|
+
routerLinkActive="ui-layout__hnav-link--active"
|
|
885
|
+
[routerLinkActiveOptions]="{ exact: item.routeActiveExact || false }"
|
|
886
|
+
>
|
|
887
|
+
@if (item.icon) {
|
|
888
|
+
<lucide-icon [name]="item.icon" [size]="16" aria-hidden="true" />
|
|
889
|
+
}
|
|
890
|
+
<span>{{ item.label }}</span>
|
|
891
|
+
@if (getItemBadge(item)) {
|
|
892
|
+
<span class="ui-layout__badge">{{ getItemBadge(item) }}</span>
|
|
893
|
+
}
|
|
894
|
+
</a>
|
|
895
|
+
}
|
|
896
|
+
}
|
|
897
|
+
}
|
|
898
|
+
</nav>
|
|
899
|
+
}
|
|
900
|
+
|
|
901
|
+
@case ('links') {
|
|
902
|
+
@if (bar.links) {
|
|
903
|
+
<div
|
|
904
|
+
class="ui-layout__bar ui-layout__bar--links"
|
|
905
|
+
[style.justify-content]="bar.links.align === 'start' ? 'flex-start' : bar.links.align === 'center' ? 'center' : bar.links.align === 'space-between' ? 'space-between' : 'flex-end'"
|
|
906
|
+
>
|
|
907
|
+
@for (lnk of bar.links.items; track lnk.label || lnk.ariaLabel || $index) {
|
|
908
|
+
@if (lnk.route) {
|
|
909
|
+
<a class="ui-layout__bar-link" [routerLink]="lnk.route" [attr.aria-label]="lnk.ariaLabel || null">
|
|
910
|
+
@if (lnk.icon) {
|
|
911
|
+
<lucide-icon [name]="lnk.icon" [size]="14" aria-hidden="true" />
|
|
912
|
+
}
|
|
913
|
+
@if (lnk.label) {
|
|
914
|
+
<span>{{ lnk.label }}</span>
|
|
915
|
+
}
|
|
916
|
+
</a>
|
|
917
|
+
} @else if (lnk.href) {
|
|
918
|
+
<a
|
|
919
|
+
class="ui-layout__bar-link"
|
|
920
|
+
[href]="lnk.href"
|
|
921
|
+
[target]="lnk.target || '_self'"
|
|
922
|
+
[attr.rel]="lnk.target === '_blank' ? 'noopener noreferrer' : null"
|
|
923
|
+
[attr.aria-label]="lnk.ariaLabel || null"
|
|
924
|
+
>
|
|
925
|
+
@if (lnk.icon) {
|
|
926
|
+
<lucide-icon [name]="lnk.icon" [size]="14" aria-hidden="true" />
|
|
927
|
+
}
|
|
928
|
+
@if (lnk.label) {
|
|
929
|
+
<span>{{ lnk.label }}</span>
|
|
930
|
+
}
|
|
931
|
+
</a>
|
|
932
|
+
}
|
|
933
|
+
}
|
|
934
|
+
</div>
|
|
935
|
+
}
|
|
936
|
+
}
|
|
937
|
+
}
|
|
938
|
+
}
|
|
939
|
+
</div>
|
|
940
|
+
|
|
941
|
+
<!-- Mobile Backdrop (topbar mode) -->
|
|
942
|
+
@if (sidebarOpen) {
|
|
943
|
+
<div
|
|
944
|
+
class="ui-layout__backdrop ui-layout__backdrop--topbar"
|
|
945
|
+
(click)="layoutService.closeMobileSidebar()"
|
|
946
|
+
aria-hidden="true"
|
|
947
|
+
></div>
|
|
948
|
+
}
|
|
949
|
+
|
|
950
|
+
<!-- Mobile drawer (topbar mode) -->
|
|
951
|
+
<aside
|
|
952
|
+
class="ui-layout__sidebar ui-layout__sidebar--topbar-drawer"
|
|
953
|
+
[class.ui-layout__sidebar--open]="sidebarOpen"
|
|
954
|
+
role="navigation"
|
|
955
|
+
aria-label="Navigazione principale"
|
|
956
|
+
>
|
|
957
|
+
<div class="ui-layout__sidebar-header">
|
|
958
|
+
<div class="ui-layout__sidebar-brand">
|
|
959
|
+
@if (schema.header?.logo) {
|
|
960
|
+
@if (schema.header?.logo?.src) {
|
|
961
|
+
<img class="ui-layout__sidebar-logo-img" [src]="schema.header?.logo?.src" [alt]="schema.header?.logo?.alt || schema.header?.title" />
|
|
962
|
+
} @else if (schema.header?.logo?.text) {
|
|
963
|
+
<span class="ui-layout__sidebar-logo">{{ schema.header?.logo?.text }}</span>
|
|
964
|
+
}
|
|
965
|
+
}
|
|
966
|
+
<span class="ui-layout__sidebar-title">{{ schema.header?.title }}</span>
|
|
967
|
+
</div>
|
|
968
|
+
<button class="ui-layout__close-btn" (click)="layoutService.closeMobileSidebar()" aria-label="Chiudi navigazione">
|
|
969
|
+
<lucide-icon name="x" [size]="16" aria-hidden="true" />
|
|
970
|
+
</button>
|
|
971
|
+
</div>
|
|
972
|
+
<nav class="ui-layout__sidebar-nav">
|
|
973
|
+
@if (schema.navigation?.sections?.length) {
|
|
974
|
+
@for (section of schema.navigation?.sections || []; track section.id) {
|
|
975
|
+
<div class="ui-layout__nav-section">
|
|
976
|
+
<span class="ui-layout__nav-section-title">{{ section.label }}</span>
|
|
977
|
+
@for (item of getItemsForSection(section); track item.id) {
|
|
978
|
+
@if (!isItemHidden(item)) {
|
|
979
|
+
<ng-container *ngTemplateOutlet="navItemTpl; context: { $implicit: item }" />
|
|
980
|
+
}
|
|
981
|
+
}
|
|
982
|
+
</div>
|
|
983
|
+
}
|
|
984
|
+
} @else {
|
|
985
|
+
<div class="ui-layout__nav-section">
|
|
986
|
+
@for (item of schema.navigation?.items || []; track item.id) {
|
|
987
|
+
@if (!isItemHidden(item)) {
|
|
988
|
+
<ng-container *ngTemplateOutlet="navItemTpl; context: { $implicit: item }" />
|
|
989
|
+
}
|
|
990
|
+
}
|
|
991
|
+
</div>
|
|
992
|
+
}
|
|
993
|
+
</nav>
|
|
994
|
+
</aside>
|
|
995
|
+
|
|
996
|
+
<!-- Main content area (topbar mode) -->
|
|
997
|
+
<main
|
|
998
|
+
class="ui-layout__content ui-layout__content--topbar"
|
|
999
|
+
[class.ui-layout__content--boxed]="contentType === 'boxed'"
|
|
1000
|
+
[class.ui-layout__content--fullscreen]="contentType === 'fullscreen'"
|
|
1001
|
+
[class.ui-layout__content--transitioning]="contentTransitioning"
|
|
1002
|
+
(animationend)="contentTransitioning = false"
|
|
1003
|
+
id="ui-layout-main"
|
|
1004
|
+
tabindex="-1"
|
|
1005
|
+
>
|
|
1006
|
+
<div class="ui-layout__content-inner" [class.ui-layout__content-inner--boxed]="contentType === 'boxed'">
|
|
1007
|
+
<ng-container *ngTemplateOutlet="pageHeaderTpl" />
|
|
1008
|
+
<router-outlet />
|
|
1009
|
+
</div>
|
|
1010
|
+
</main>
|
|
1011
|
+
}
|
|
1012
|
+
|
|
1013
|
+
@case ('slotted') {
|
|
1014
|
+
<!-- Slotted Header -->
|
|
1015
|
+
<header class="ui-layout__slotted-header">
|
|
1016
|
+
<ng-content select="[uiLayoutHeader]" />
|
|
1017
|
+
</header>
|
|
1018
|
+
|
|
1019
|
+
<!-- Main content area (slotted mode) -->
|
|
1020
|
+
<main
|
|
1021
|
+
class="ui-layout__content ui-layout__content--slotted"
|
|
1022
|
+
[class.ui-layout__content--boxed]="contentType === 'boxed'"
|
|
1023
|
+
[class.ui-layout__content--fullscreen]="contentType === 'fullscreen'"
|
|
1024
|
+
[class.ui-layout__content--transitioning]="contentTransitioning"
|
|
1025
|
+
(animationend)="contentTransitioning = false"
|
|
1026
|
+
id="ui-layout-main"
|
|
1027
|
+
tabindex="-1"
|
|
1028
|
+
>
|
|
1029
|
+
<div class="ui-layout__content-inner" [class.ui-layout__content-inner--boxed]="contentType === 'boxed'">
|
|
1030
|
+
<ng-container *ngTemplateOutlet="pageHeaderTpl" />
|
|
1031
|
+
<router-outlet />
|
|
1032
|
+
</div>
|
|
1033
|
+
</main>
|
|
1034
|
+
|
|
1035
|
+
<!-- Slotted Footer -->
|
|
1036
|
+
<footer class="ui-layout__slotted-footer">
|
|
1037
|
+
<ng-content select="[uiLayoutFooter]" />
|
|
1038
|
+
</footer>
|
|
1039
|
+
}
|
|
1040
|
+
}
|
|
1041
|
+
|
|
1042
|
+
<!-- ─── Footer (sidebar/topbar only) ──────────────────────────── -->
|
|
1043
|
+
@if (layoutMode !== 'slotted' && schema.footer) {
|
|
1044
|
+
<footer class="ui-layout__footer">
|
|
1045
|
+
@if (schema.footer.links?.length) {
|
|
1046
|
+
<nav class="ui-layout__footer-links" aria-label="Link footer">
|
|
1047
|
+
@for (link of schema.footer.links; track link.label) {
|
|
1048
|
+
@if (link.route) {
|
|
1049
|
+
<a class="ui-layout__footer-link" [routerLink]="link.route">
|
|
1050
|
+
@if (link.icon) {
|
|
1051
|
+
<lucide-icon [name]="link.icon" [size]="14" aria-hidden="true" />
|
|
1052
|
+
}
|
|
1053
|
+
{{ link.label }}
|
|
1054
|
+
</a>
|
|
1055
|
+
} @else if (link.href) {
|
|
1056
|
+
<a
|
|
1057
|
+
class="ui-layout__footer-link"
|
|
1058
|
+
[href]="link.href"
|
|
1059
|
+
[target]="link.target || '_self'"
|
|
1060
|
+
[attr.rel]="link.target === '_blank' ? 'noopener noreferrer' : null"
|
|
1061
|
+
>
|
|
1062
|
+
@if (link.icon) {
|
|
1063
|
+
<lucide-icon [name]="link.icon" [size]="14" aria-hidden="true" />
|
|
1064
|
+
}
|
|
1065
|
+
{{ link.label }}
|
|
1066
|
+
</a>
|
|
1067
|
+
}
|
|
1068
|
+
}
|
|
1069
|
+
</nav>
|
|
1070
|
+
}
|
|
1071
|
+
@if (schema.footer.text) {
|
|
1072
|
+
<span class="ui-layout__footer-text">{{ schema.footer.text }}</span>
|
|
1073
|
+
}
|
|
1074
|
+
</footer>
|
|
1075
|
+
}
|
|
1076
|
+
|
|
1077
|
+
<!-- ─── Speed Dial FAB ─────────────────────────────────────── -->
|
|
1078
|
+
@if (currentFabConfig) {
|
|
1079
|
+
<div
|
|
1080
|
+
class="ui-layout__fab"
|
|
1081
|
+
[class.ui-layout__fab--open]="fabOpen"
|
|
1082
|
+
[class.ui-layout__fab--bottom-left]="currentFabConfig.position === 'bottom-left'"
|
|
1083
|
+
role="complementary"
|
|
1084
|
+
aria-label="Azioni rapide"
|
|
1085
|
+
>
|
|
1086
|
+
@if (fabOpen && currentFabConfig.secondaryActions?.length) {
|
|
1087
|
+
<div class="ui-layout__fab-actions">
|
|
1088
|
+
@for (action of currentFabConfig.secondaryActions; track action.id; let i = $index) {
|
|
1089
|
+
<button
|
|
1090
|
+
class="ui-layout__fab-action"
|
|
1091
|
+
[class]="'ui-layout__fab-action--' + (action.variant || 'neutral')"
|
|
1092
|
+
[attr.aria-label]="action.ariaLabel || action.label"
|
|
1093
|
+
[title]="action.label"
|
|
1094
|
+
[style.animation-delay]="(i * 50) + 'ms'"
|
|
1095
|
+
(click)="onFabAction(action)"
|
|
1096
|
+
>
|
|
1097
|
+
<lucide-icon [name]="action.icon" [size]="18" aria-hidden="true" />
|
|
1098
|
+
<span class="ui-layout__fab-action-label">{{ action.label }}</span>
|
|
1099
|
+
</button>
|
|
1100
|
+
}
|
|
1101
|
+
</div>
|
|
1102
|
+
}
|
|
1103
|
+
<button
|
|
1104
|
+
class="ui-layout__fab-main"
|
|
1105
|
+
[class]="'ui-layout__fab-main--' + (currentFabConfig.mainAction.variant || 'primary')"
|
|
1106
|
+
[attr.aria-label]="currentFabConfig.mainAction.ariaLabel || currentFabConfig.mainAction.label"
|
|
1107
|
+
[attr.aria-expanded]="currentFabConfig.secondaryActions?.length ? fabOpen : null"
|
|
1108
|
+
(click)="onFabMainClick()"
|
|
1109
|
+
>
|
|
1110
|
+
<lucide-icon
|
|
1111
|
+
[name]="currentFabConfig.mainAction.icon"
|
|
1112
|
+
[size]="24"
|
|
1113
|
+
aria-hidden="true"
|
|
1114
|
+
class="ui-layout__fab-main-icon"
|
|
1115
|
+
/>
|
|
1116
|
+
</button>
|
|
1117
|
+
</div>
|
|
1118
|
+
}
|
|
1119
|
+
|
|
1120
|
+
<!-- ─── Bottom Navigation (mobile, sidebar mode) ────────────── -->
|
|
1121
|
+
@if (layoutMode === 'sidebar' && bottomNavItems.length > 0 && mobileMode !== 'drawer') {
|
|
1122
|
+
<nav
|
|
1123
|
+
class="ui-layout__bottom-nav"
|
|
1124
|
+
role="navigation"
|
|
1125
|
+
aria-label="Navigazione rapida"
|
|
1126
|
+
>
|
|
1127
|
+
@for (item of bottomNavItems; track item.id) {
|
|
1128
|
+
<a
|
|
1129
|
+
class="ui-layout__bottom-nav-item"
|
|
1130
|
+
[routerLink]="item.route"
|
|
1131
|
+
routerLinkActive="ui-layout__bottom-nav-item--active"
|
|
1132
|
+
[routerLinkActiveOptions]="{ exact: item.routeActiveExact || false }"
|
|
1133
|
+
[attr.aria-current]="isRouteActive(item) ? 'page' : null"
|
|
1134
|
+
>
|
|
1135
|
+
@if (item.icon) {
|
|
1136
|
+
<lucide-icon [name]="item.icon" [size]="20" aria-hidden="true" />
|
|
1137
|
+
}
|
|
1138
|
+
<span class="ui-layout__bottom-nav-label">{{ item.label }}</span>
|
|
1139
|
+
@if (getItemBadge(item)) {
|
|
1140
|
+
<span class="ui-layout__badge" aria-label="Notifica">{{ getItemBadge(item) }}</span>
|
|
1141
|
+
}
|
|
1142
|
+
</a>
|
|
1143
|
+
}
|
|
1144
|
+
</nav>
|
|
1145
|
+
}
|
|
1146
|
+
</div>
|
|
1147
|
+
|
|
1148
|
+
<!-- ═══ SHARED TEMPLATES ═══════════════════════════════════════ -->
|
|
1149
|
+
|
|
1150
|
+
<!-- Page header with auto-derived breadcrumbs -->
|
|
1151
|
+
<ng-template #pageHeaderTpl>
|
|
1152
|
+
@if (schema.pageHeader?.show !== false && breadcrumbs.length > 0) {
|
|
1153
|
+
<header class="ui-layout__page-header">
|
|
1154
|
+
<nav aria-label="Breadcrumb" class="ui-layout__breadcrumb-nav">
|
|
1155
|
+
<ol class="ui-layout__breadcrumb" itemscope itemtype="https://schema.org/BreadcrumbList">
|
|
1156
|
+
@if (schema.pageHeader?.showHome !== false) {
|
|
1157
|
+
<li class="ui-layout__breadcrumb-item" itemprop="itemListElement" itemscope itemtype="https://schema.org/ListItem">
|
|
1158
|
+
<a itemprop="item" [routerLink]="schema.pageHeader?.homeRoute || '/'" class="ui-layout__breadcrumb-link" aria-label="Home">
|
|
1159
|
+
<lucide-icon name="home" [size]="14" aria-hidden="true" />
|
|
1160
|
+
<span itemprop="name" class="ui-layout__breadcrumb-text">Home</span>
|
|
1161
|
+
</a>
|
|
1162
|
+
<meta itemprop="position" content="1" />
|
|
1163
|
+
<span class="ui-layout__breadcrumb-sep" aria-hidden="true">
|
|
1164
|
+
<lucide-icon name="chevron-right" [size]="14" />
|
|
1165
|
+
</span>
|
|
1166
|
+
</li>
|
|
1167
|
+
}
|
|
1168
|
+
@for (crumb of breadcrumbs; track crumb.label; let i = $index) {
|
|
1169
|
+
<li
|
|
1170
|
+
class="ui-layout__breadcrumb-item"
|
|
1171
|
+
[class.ui-layout__breadcrumb-item--current]="crumb.isLast"
|
|
1172
|
+
itemprop="itemListElement"
|
|
1173
|
+
itemscope
|
|
1174
|
+
itemtype="https://schema.org/ListItem"
|
|
1175
|
+
>
|
|
1176
|
+
@if (!crumb.isLast && crumb.url) {
|
|
1177
|
+
<a itemprop="item" [routerLink]="crumb.url" class="ui-layout__breadcrumb-link">
|
|
1178
|
+
<span itemprop="name" class="ui-layout__breadcrumb-text">{{ crumb.label }}</span>
|
|
1179
|
+
</a>
|
|
1180
|
+
<span class="ui-layout__breadcrumb-sep" aria-hidden="true">
|
|
1181
|
+
<lucide-icon name="chevron-right" [size]="14" />
|
|
1182
|
+
</span>
|
|
1183
|
+
} @else {
|
|
1184
|
+
<span itemprop="name" class="ui-layout__breadcrumb-text ui-layout__breadcrumb-text--current" aria-current="page">
|
|
1185
|
+
{{ crumb.label }}
|
|
1186
|
+
</span>
|
|
1187
|
+
}
|
|
1188
|
+
<meta itemprop="position" [attr.content]="(schema.pageHeader?.showHome !== false) ? i + 2 : i + 1" />
|
|
1189
|
+
</li>
|
|
1190
|
+
}
|
|
1191
|
+
</ol>
|
|
1192
|
+
</nav>
|
|
1193
|
+
<h1 class="ui-layout__page-title">{{ pageTitle }}</h1>
|
|
1194
|
+
</header>
|
|
1195
|
+
}
|
|
1196
|
+
</ng-template>
|
|
1197
|
+
|
|
1198
|
+
<!-- Nav item template (sidebar, recursive-friendly) -->
|
|
1199
|
+
<ng-template #navItemTpl let-item>
|
|
1200
|
+
@if (item.type === 'divider') {
|
|
1201
|
+
<hr class="ui-layout__nav-divider" />
|
|
1202
|
+
} @else if (item.type === 'external') {
|
|
1203
|
+
<a
|
|
1204
|
+
class="ui-layout__nav-link"
|
|
1205
|
+
[href]="item.href"
|
|
1206
|
+
[target]="item.target || '_blank'"
|
|
1207
|
+
[attr.rel]="item.target === '_blank' ? 'noopener noreferrer' : null"
|
|
1208
|
+
(click)="onNavClick()"
|
|
1209
|
+
>
|
|
1210
|
+
@if (item.icon) {
|
|
1211
|
+
<lucide-icon [name]="item.icon" [size]="16" aria-hidden="true" class="ui-layout__nav-icon" />
|
|
1212
|
+
}
|
|
1213
|
+
<span class="ui-layout__nav-label">{{ item.label }}</span>
|
|
1214
|
+
<lucide-icon name="external-link" [size]="12" aria-hidden="true" class="ui-layout__nav-external" />
|
|
1215
|
+
@if (getItemBadge(item)) {
|
|
1216
|
+
<span class="ui-layout__badge">{{ getItemBadge(item) }}</span>
|
|
1217
|
+
}
|
|
1218
|
+
</a>
|
|
1219
|
+
} @else if (item.children?.length) {
|
|
1220
|
+
<button
|
|
1221
|
+
class="ui-layout__nav-link ui-layout__nav-link--parent"
|
|
1222
|
+
[class.ui-layout__nav-link--active]="isParentActive(item)"
|
|
1223
|
+
[class.ui-layout__nav-link--expanded]="expandedIds.has(item.id)"
|
|
1224
|
+
[attr.aria-expanded]="expandedIds.has(item.id)"
|
|
1225
|
+
(click)="toggleExpand(item)"
|
|
1226
|
+
>
|
|
1227
|
+
@if (item.icon) {
|
|
1228
|
+
<lucide-icon [name]="item.icon" [size]="16" aria-hidden="true" class="ui-layout__nav-icon" />
|
|
1229
|
+
}
|
|
1230
|
+
<span class="ui-layout__nav-label">{{ item.label }}</span>
|
|
1231
|
+
@if (getItemBadge(item)) {
|
|
1232
|
+
<span class="ui-layout__badge">{{ getItemBadge(item) }}</span>
|
|
1233
|
+
}
|
|
1234
|
+
<span class="ui-layout__nav-chevron" aria-hidden="true">
|
|
1235
|
+
<lucide-icon name="chevron-right" [size]="14" />
|
|
1236
|
+
</span>
|
|
1237
|
+
</button>
|
|
1238
|
+
@if (expandedIds.has(item.id)) {
|
|
1239
|
+
<div class="ui-layout__nav-children">
|
|
1240
|
+
@for (group of item.children; track group.label) {
|
|
1241
|
+
<span class="ui-layout__nav-group-label">{{ group.label }}</span>
|
|
1242
|
+
@for (child of group.items; track child.id) {
|
|
1243
|
+
@if (!isItemHidden(child)) {
|
|
1244
|
+
<a
|
|
1245
|
+
class="ui-layout__nav-link ui-layout__nav-link--child"
|
|
1246
|
+
[routerLink]="child.route"
|
|
1247
|
+
routerLinkActive="ui-layout__nav-link--active"
|
|
1248
|
+
(click)="onNavClick()"
|
|
1249
|
+
>
|
|
1250
|
+
<span class="ui-layout__nav-label">{{ child.label }}</span>
|
|
1251
|
+
@if (getItemBadge(child)) {
|
|
1252
|
+
<span class="ui-layout__badge">{{ getItemBadge(child) }}</span>
|
|
1253
|
+
}
|
|
1254
|
+
</a>
|
|
1255
|
+
}
|
|
1256
|
+
}
|
|
1257
|
+
}
|
|
1258
|
+
</div>
|
|
1259
|
+
}
|
|
1260
|
+
} @else {
|
|
1261
|
+
<a
|
|
1262
|
+
class="ui-layout__nav-link"
|
|
1263
|
+
[routerLink]="item.route"
|
|
1264
|
+
routerLinkActive="ui-layout__nav-link--active"
|
|
1265
|
+
[routerLinkActiveOptions]="{ exact: item.routeActiveExact || false }"
|
|
1266
|
+
[attr.aria-current]="isRouteActive(item) ? 'page' : null"
|
|
1267
|
+
(click)="onNavClick()"
|
|
1268
|
+
>
|
|
1269
|
+
@if (item.icon) {
|
|
1270
|
+
<lucide-icon [name]="item.icon" [size]="16" aria-hidden="true" class="ui-layout__nav-icon" />
|
|
1271
|
+
}
|
|
1272
|
+
<span class="ui-layout__nav-label">{{ item.label }}</span>
|
|
1273
|
+
@if (getItemBadge(item)) {
|
|
1274
|
+
<span class="ui-layout__badge">{{ getItemBadge(item) }}</span>
|
|
1275
|
+
}
|
|
1276
|
+
</a>
|
|
1277
|
+
}
|
|
1278
|
+
</ng-template>
|
|
1279
|
+
`, isInline: true, styles: [".ui-layout-builder-host{display:block;height:100vh;height:100dvh}.ui-layout__skip-link{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.ui-layout__skip-link:focus{position:fixed;top:var(--ui-spacing-2);left:var(--ui-spacing-2);z-index:calc(var(--ui-z-toast) + 10);width:auto;height:auto;clip:auto;padding:var(--ui-spacing-2) var(--ui-spacing-4);background:var(--ui-color-primary);color:var(--ui-color-primary-contrast);border-radius:var(--ui-radius-md);font-size:var(--ui-font-size-sm);font-weight:var(--ui-font-weight-semibold);text-decoration:none;overflow:visible;white-space:nowrap;margin:0}.ui-layout{display:flex;flex-direction:column;height:100%;overflow:hidden;font-family:var(--ui-font-family);color:var(--ui-color-text);background:var(--ui-color-bg-subtle)}.ui-layout__loader-overlay{position:fixed;inset:0;z-index:var(--ui-z-modal);display:flex;align-items:center;justify-content:center;background:var(--ui-color-bg-subtle);will-change:opacity;animation:ui-layout-fade-in var(--ui-transition-fast) ease-out}@media (prefers-reduced-motion: reduce){.ui-layout__loader-overlay{animation:none}}.ui-layout__loader-spinner{width:48px;height:48px}.ui-layout__loader-svg{width:100%;height:100%;animation:ui-layout-spin 1s linear infinite}.ui-layout__loader-svg circle{stroke:var(--ui-color-primary);stroke-linecap:round;stroke-dasharray:90,150;stroke-dashoffset:0;animation:ui-layout-dash 1.5s ease-in-out infinite}@media (prefers-reduced-motion: reduce){.ui-layout__loader-svg{animation:none}.ui-layout__loader-svg circle{animation:none;stroke-dasharray:90,150}}@keyframes ui-layout-spin{to{transform:rotate(360deg)}}@keyframes ui-layout-dash{0%{stroke-dasharray:1,150;stroke-dashoffset:0}50%{stroke-dasharray:90,150;stroke-dashoffset:-35}to{stroke-dasharray:90,150;stroke-dashoffset:-124}}@keyframes ui-layout-fade-in{0%{opacity:0}to{opacity:1}}.ui-layout__topbar{display:none;position:fixed;top:0;left:0;right:0;height:56px;background:var(--ui-color-surface);border-bottom:1px solid var(--ui-color-border);align-items:center;padding:0 var(--ui-spacing-4);gap:var(--ui-spacing-3);z-index:var(--ui-z-fixed)}.ui-layout__hamburger{display:flex;flex-direction:column;justify-content:center;align-items:center;gap:5px;width:36px;height:36px;background:none;border:1px solid var(--ui-color-border);border-radius:var(--ui-radius-sm);cursor:pointer;padding:0;transition:all var(--ui-transition-fast);color:var(--ui-color-text)}.ui-layout__hamburger:hover{background:var(--ui-color-surface-hover)}.ui-layout__hamburger:focus{outline:none}.ui-layout__hamburger:focus-visible{outline:var(--ui-focus-ring-width) solid var(--ui-focus-ring-color);outline-offset:var(--ui-focus-ring-offset)}.ui-layout__hamburger-line{display:block;width:18px;height:2px;background:currentColor;border-radius:1px}.ui-layout__topbar-logo,.ui-layout__sidebar-logo{display:flex;align-items:center;justify-content:center;width:28px;height:28px;background:var(--ui-color-primary);color:var(--ui-color-primary-contrast);border-radius:var(--ui-radius-md);font-size:var(--ui-font-size-xs);font-weight:var(--ui-font-weight-bold);flex-shrink:0}.ui-layout__topbar-logo-img,.ui-layout__sidebar-logo-img{width:28px;height:28px;border-radius:var(--ui-radius-md);object-fit:contain;flex-shrink:0}.ui-layout__topbar-title{font-size:var(--ui-font-size-sm);font-weight:var(--ui-font-weight-semibold);color:var(--ui-color-text);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.ui-layout__backdrop{display:none;position:fixed;inset:0;background:#0006;z-index:calc(var(--ui-z-modal-backdrop));animation:ui-layout-fade-in var(--ui-transition-fast) ease-out}@media (prefers-reduced-motion: reduce){.ui-layout__backdrop{animation:none}}.ui-layout__backdrop--topbar{display:none}.ui-layout__body{display:flex;flex:1;overflow:hidden}.ui-layout__sidebar{width:260px;min-width:260px;background:var(--ui-color-surface);border-right:1px solid var(--ui-color-border);display:flex;flex-direction:column;transition:width var(--ui-transition-normal),min-width var(--ui-transition-normal);overflow-y:auto;overflow-x:hidden}@media (prefers-reduced-motion: reduce){.ui-layout__sidebar{transition:none}}.ui-layout__sidebar--collapsed{width:60px;min-width:60px}.ui-layout__sidebar--topbar-drawer{display:none}.ui-layout__sidebar-header{display:flex;align-items:center;justify-content:space-between;padding:var(--ui-spacing-4);border-bottom:1px solid var(--ui-color-border);flex-shrink:0}.ui-layout__sidebar--collapsed .ui-layout__sidebar-header{flex-direction:column;align-items:center;gap:var(--ui-spacing-2);padding:var(--ui-spacing-3) var(--ui-spacing-2)}.ui-layout__sidebar-brand{display:flex;align-items:center;gap:var(--ui-spacing-2);min-width:0}.ui-layout__sidebar-title{font-size:var(--ui-font-size-sm);font-weight:var(--ui-font-weight-bold);color:var(--ui-color-text);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.ui-layout__collapse-btn{display:flex;align-items:center;justify-content:center;width:28px;height:28px;padding:0;background:var(--ui-color-surface);border:1px solid var(--ui-color-border);border-radius:var(--ui-radius-full);cursor:pointer;color:var(--ui-color-text-muted);flex-shrink:0;transition:all var(--ui-transition-fast)}.ui-layout__collapse-btn:hover{background:var(--ui-color-surface-hover);color:var(--ui-color-text);border-color:var(--ui-color-text-muted)}.ui-layout__collapse-btn:focus{outline:none}.ui-layout__collapse-btn:focus-visible{outline:var(--ui-focus-ring-width) solid var(--ui-focus-ring-color);outline-offset:var(--ui-focus-ring-offset)}.ui-layout__collapse-icon{transition:transform var(--ui-transition-normal)}.ui-layout__sidebar--collapsed .ui-layout__collapse-icon{transform:rotate(180deg)}@media (prefers-reduced-motion: reduce){.ui-layout__collapse-icon{transition:none}}.ui-layout__close-btn{display:flex;align-items:center;justify-content:center;background:none;border:1px solid var(--ui-color-border);border-radius:var(--ui-radius-sm);cursor:pointer;padding:var(--ui-spacing-1);color:var(--ui-color-text-muted);transition:all var(--ui-transition-fast)}.ui-layout__close-btn:hover{background:var(--ui-color-surface-hover);color:var(--ui-color-text)}.ui-layout__close-btn:focus{outline:none}.ui-layout__close-btn:focus-visible{outline:var(--ui-focus-ring-width) solid var(--ui-focus-ring-color);outline-offset:var(--ui-focus-ring-offset)}.ui-layout__sidebar-nav{flex:1;padding:var(--ui-spacing-3) 0;overflow-y:auto}.ui-layout__nav-section{padding:0 var(--ui-spacing-3);margin-bottom:var(--ui-spacing-4)}.ui-layout__nav-section-title{display:block;font-size:var(--ui-font-size-xs);font-weight:var(--ui-font-weight-semibold);color:var(--ui-color-text);text-transform:uppercase;letter-spacing:.05em;padding:var(--ui-spacing-1) var(--ui-spacing-3);margin-bottom:var(--ui-spacing-1)}.ui-layout__nav-link{display:flex;align-items:center;gap:var(--ui-spacing-2);padding:var(--ui-spacing-2) var(--ui-spacing-3);border-radius:var(--ui-radius-md);color:var(--ui-color-text-secondary);font-size:var(--ui-font-size-sm);font-weight:var(--ui-font-weight-medium);text-decoration:none;transition:all var(--ui-transition-fast);cursor:pointer}.ui-layout__nav-link:hover{background:var(--ui-color-surface-hover);color:var(--ui-color-text);text-decoration:none}.ui-layout__nav-link:focus{outline:none}.ui-layout__nav-link:focus-visible{outline:var(--ui-focus-ring-width) solid var(--ui-focus-ring-color);outline-offset:var(--ui-focus-ring-offset)}.ui-layout__nav-link--active{background:var(--ui-color-primary-light);color:var(--ui-color-primary);font-weight:var(--ui-font-weight-semibold)}.ui-layout__nav-link--parent{width:100%;background:none;border:none;text-align:left;font-family:inherit;justify-content:flex-start}.ui-layout__nav-link--child{font-size:.8rem;padding:.25rem var(--ui-spacing-2)}.ui-layout__nav-icon{flex-shrink:0}.ui-layout__nav-label{flex:1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.ui-layout__nav-external{flex-shrink:0;opacity:.5}.ui-layout__nav-chevron{flex-shrink:0;display:inline-flex;align-items:center;color:var(--ui-color-text-muted);transition:transform var(--ui-transition-fast)}.ui-layout__nav-link--expanded .ui-layout__nav-chevron{transform:rotate(90deg)}.ui-layout__nav-link--active .ui-layout__nav-chevron{color:var(--ui-color-primary)}@media (prefers-reduced-motion: reduce){.ui-layout__nav-chevron{transition:none}}.ui-layout__nav-children{margin-top:var(--ui-spacing-1);margin-left:calc(var(--ui-spacing-3) + 4px);padding-left:var(--ui-spacing-2);border-left:2px solid var(--ui-color-border)}.ui-layout__nav-group-label{display:block;font-size:.65rem;font-weight:600;text-transform:uppercase;letter-spacing:.05em;color:var(--ui-color-text-muted);padding:var(--ui-spacing-1) var(--ui-spacing-2);margin-top:var(--ui-spacing-2)}.ui-layout__nav-group-label:first-child{margin-top:0}.ui-layout__nav-divider{border:none;border-top:1px solid var(--ui-color-border);margin:var(--ui-spacing-2) var(--ui-spacing-3)}.ui-layout__badge{display:inline-flex;align-items:center;justify-content:center;min-width:18px;height:18px;padding:0 var(--ui-spacing-1);border-radius:var(--ui-radius-full);background:var(--ui-color-primary);color:var(--ui-color-primary-contrast);font-size:.65rem;font-weight:var(--ui-font-weight-bold);line-height:1;flex-shrink:0}.ui-layout__sidebar-footer{padding:var(--ui-spacing-3) var(--ui-spacing-4);border-top:1px solid var(--ui-color-border);flex-shrink:0;display:none}.ui-layout__version-badge{display:inline-block;padding:2px 8px;background:var(--ui-color-bg-muted);border-radius:var(--ui-radius-full);font-size:var(--ui-font-size-xs);color:var(--ui-color-text-muted);font-family:var(--ui-font-family-mono)}.ui-layout__content{flex:1;overflow-y:auto;padding:var(--ui-spacing-8);background:var(--ui-color-bg-subtle)}.ui-layout__content:focus{outline:none}.ui-layout__content--fullscreen{padding:0}.ui-layout__content--topbar{flex:1;overflow-y:auto}.ui-layout__content--transitioning{animation:ui-layout-page-enter var(--ui-transition-normal, .25s) ease-out}@media (prefers-reduced-motion: reduce){.ui-layout__content--transitioning{animation:none}}.ui-layout__content-inner{width:100%;min-width:0}.ui-layout__content-inner--boxed{max-width:var(--ui-layout-content-max-width, 1200px);margin-left:auto;margin-right:auto}@keyframes ui-layout-page-enter{0%{opacity:0;filter:blur(4px);transform:translateY(8px)}to{opacity:1;filter:blur(0);transform:translateY(0)}}.ui-layout__page-header{margin-bottom:var(--ui-spacing-5)}.ui-layout__breadcrumb-nav{margin-bottom:var(--ui-spacing-2)}.ui-layout__breadcrumb{display:flex;flex-wrap:wrap;align-items:center;list-style:none;margin:0;padding:0;font-family:var(--ui-font-family);font-size:var(--ui-font-size-sm);line-height:var(--ui-line-height-normal);gap:var(--ui-spacing-1)}.ui-layout__breadcrumb-item{display:inline-flex;align-items:center;gap:var(--ui-spacing-1)}.ui-layout__breadcrumb-link{display:inline-flex;align-items:center;gap:4px;text-decoration:none;color:var(--ui-color-primary);border-radius:var(--ui-radius-sm);padding:2px 4px;margin:-2px -4px;transition:color var(--ui-transition-fast),background-color var(--ui-transition-fast)}.ui-layout__breadcrumb-link:hover{color:var(--ui-color-primary-hover);text-decoration:underline}.ui-layout__breadcrumb-link:focus{outline:none}.ui-layout__breadcrumb-link:focus-visible{outline:var(--ui-focus-ring-width) solid var(--ui-focus-ring-color);outline-offset:var(--ui-focus-ring-offset)}.ui-layout__breadcrumb-link lucide-icon{transform:translateY(2px)}.ui-layout__breadcrumb-text{white-space:nowrap}.ui-layout__breadcrumb-text--current{font-weight:var(--ui-font-weight-medium);color:var(--ui-color-text)}.ui-layout__breadcrumb-sep{display:inline-flex;align-items:center;color:var(--ui-color-text-muted);flex-shrink:0}.ui-layout__breadcrumb-sep lucide-icon{transform:translateY(3px)}.ui-layout__page-title{margin:0;font-family:var(--ui-font-family);font-size:var(--ui-font-size-2xl);font-weight:var(--ui-font-weight-bold);color:var(--ui-color-text);line-height:var(--ui-line-height-tight)}.ui-layout__page-title:focus{outline:none}.ui-layout__footer{display:flex;align-items:center;justify-content:center;gap:var(--ui-spacing-4);padding:var(--ui-spacing-3) var(--ui-spacing-4);background:var(--ui-color-surface);border-top:1px solid var(--ui-color-border);flex-shrink:0;flex-wrap:wrap}.ui-layout__footer-links{display:flex;gap:var(--ui-spacing-3);flex-wrap:wrap}.ui-layout__footer-link{display:inline-flex;align-items:center;gap:4px;color:var(--ui-color-text-muted);font-size:var(--ui-font-size-xs);text-decoration:none;transition:color var(--ui-transition-fast)}.ui-layout__footer-link:hover{color:var(--ui-color-primary);text-decoration:underline}.ui-layout__footer-link:focus{outline:none}.ui-layout__footer-link:focus-visible{outline:var(--ui-focus-ring-width) solid var(--ui-focus-ring-color);outline-offset:var(--ui-focus-ring-offset)}.ui-layout__footer-text{font-size:var(--ui-font-size-xs);color:var(--ui-color-text);font-family:var(--ui-font-family-mono)}.ui-layout__fab{position:fixed;bottom:var(--ui-spacing-6);right:var(--ui-spacing-6);z-index:var(--ui-z-fixed);display:flex;flex-direction:column-reverse;align-items:center;gap:var(--ui-spacing-3)}.ui-layout__fab--bottom-left{right:auto;left:var(--ui-spacing-6)}.ui-layout__fab-main{width:56px;height:56px;border-radius:var(--ui-radius-full);border:none;cursor:pointer;display:flex;align-items:center;justify-content:center;box-shadow:var(--ui-shadow-lg);transition:all var(--ui-transition-fast)}.ui-layout__fab-main--primary{background:var(--ui-color-primary);color:var(--ui-color-primary-contrast)}.ui-layout__fab-main--primary:hover{filter:brightness(1.1)}.ui-layout__fab-main--accent{background:var(--ui-color-accent, var(--ui-color-primary));color:var(--ui-color-primary-contrast)}.ui-layout__fab-main--accent:hover{filter:brightness(1.1)}.ui-layout__fab-main--warn{background:var(--ui-color-warn, #ef4444);color:#fff}.ui-layout__fab-main--warn:hover{filter:brightness(1.1)}.ui-layout__fab-main--neutral{background:var(--ui-color-surface);color:var(--ui-color-text);border:1px solid var(--ui-color-border)}.ui-layout__fab-main--neutral:hover{background:var(--ui-color-surface-hover)}.ui-layout__fab-main:focus{outline:none}.ui-layout__fab-main:focus-visible{outline:var(--ui-focus-ring-width) solid var(--ui-focus-ring-color);outline-offset:var(--ui-focus-ring-offset)}.ui-layout__fab-main-icon{transition:transform var(--ui-transition-fast)}.ui-layout__fab--open .ui-layout__fab-main-icon{transform:rotate(45deg)}@media (prefers-reduced-motion: reduce){.ui-layout__fab-main-icon{transition:none}}.ui-layout__fab-actions{display:flex;flex-direction:column-reverse;align-items:center;gap:var(--ui-spacing-2)}.ui-layout__fab-action{width:44px;height:44px;border-radius:var(--ui-radius-full);border:none;cursor:pointer;display:flex;align-items:center;justify-content:center;position:relative;box-shadow:var(--ui-shadow-md);animation:ui-layout-fab-pop-in var(--ui-transition-fast) ease-out both;transition:all var(--ui-transition-fast)}.ui-layout__fab-action--primary{background:var(--ui-color-primary);color:var(--ui-color-primary-contrast)}.ui-layout__fab-action--accent{background:var(--ui-color-accent, var(--ui-color-primary));color:var(--ui-color-primary-contrast)}.ui-layout__fab-action--warn{background:var(--ui-color-warn, #ef4444);color:#fff}.ui-layout__fab-action--neutral,.ui-layout__fab-action--ghost,.ui-layout__fab-action--outline{background:var(--ui-color-surface);color:var(--ui-color-text);border:1px solid var(--ui-color-border)}.ui-layout__fab-action:hover{filter:brightness(1.1)}.ui-layout__fab-action:focus{outline:none}.ui-layout__fab-action:focus-visible{outline:var(--ui-focus-ring-width) solid var(--ui-focus-ring-color);outline-offset:var(--ui-focus-ring-offset)}@media (prefers-reduced-motion: reduce){.ui-layout__fab-action{animation:none}}.ui-layout__fab-action-label{position:absolute;right:calc(100% + var(--ui-spacing-2));white-space:nowrap;background:var(--ui-color-neutral-900);color:#fff;font-size:var(--ui-font-size-xs);padding:var(--ui-spacing-1) var(--ui-spacing-2);border-radius:var(--ui-radius-sm);pointer-events:none;box-shadow:var(--ui-shadow-sm)}.ui-layout__fab--bottom-left .ui-layout__fab-action-label{right:auto;left:calc(100% + var(--ui-spacing-2))}@keyframes ui-layout-fab-pop-in{0%{opacity:0;transform:scale(.3) translateY(10px)}to{opacity:1;transform:scale(1) translateY(0)}}.ui-layout__bottom-nav{display:none;position:fixed;bottom:0;left:0;right:0;height:56px;padding-bottom:env(safe-area-inset-bottom,0);background:var(--ui-color-surface);border-top:1px solid var(--ui-color-border);z-index:var(--ui-z-fixed);justify-content:space-around;align-items:stretch}.ui-layout__bottom-nav-item{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;flex:1;color:var(--ui-color-text-muted);text-decoration:none;font-size:.65rem;font-weight:var(--ui-font-weight-medium);padding:var(--ui-spacing-1) 0;position:relative;transition:color var(--ui-transition-fast)}.ui-layout__bottom-nav-item:hover{color:var(--ui-color-text)}.ui-layout__bottom-nav-item--active{color:var(--ui-color-primary);font-weight:var(--ui-font-weight-semibold)}.ui-layout__bottom-nav-item:focus{outline:none}.ui-layout__bottom-nav-item:focus-visible{outline:var(--ui-focus-ring-width) solid var(--ui-focus-ring-color);outline-offset:var(--ui-focus-ring-offset)}.ui-layout__bottom-nav-label{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:64px;text-align:center}.ui-layout__desktop-only{display:initial}.ui-layout__mobile-only{display:none}.ui-layout__bar-stack{display:flex;flex-direction:column;flex-shrink:0}.ui-layout__bar{display:flex;align-items:center;padding:0 var(--ui-spacing-4);font-size:var(--ui-font-size-sm)}.ui-layout__bar--notification{min-height:44px;gap:var(--ui-spacing-2);justify-content:center;font-weight:var(--ui-font-weight-medium)}.ui-layout__bar--notification-primary{background:var(--ui-color-primary);color:var(--ui-color-primary-contrast)}.ui-layout__bar--notification-accent{background:var(--ui-color-accent, var(--ui-color-primary));color:var(--ui-color-primary-contrast)}.ui-layout__bar--notification-warn{background:var(--ui-color-warn, #ef4444);color:#fff}.ui-layout__bar--notification-neutral{background:var(--ui-color-surface);color:var(--ui-color-text);border-bottom:1px solid var(--ui-color-border)}.ui-layout__bar--notification-ghost,.ui-layout__bar--notification-outline{background:var(--ui-color-bg-muted);color:var(--ui-color-text);border-bottom:1px solid var(--ui-color-border)}.ui-layout__bar--brand{min-height:56px;justify-content:space-between;background:var(--ui-color-surface);border-bottom:1px solid var(--ui-color-border);gap:var(--ui-spacing-4)}.ui-layout__bar--navigation{position:relative;min-height:44px;background:var(--ui-color-surface);border-bottom:1px solid var(--ui-color-border);gap:var(--ui-spacing-1);overflow-x:auto;overflow-y:hidden;flex-wrap:nowrap;scrollbar-width:none;-webkit-overflow-scrolling:touch;mask-image:linear-gradient(to right,transparent 0,black var(--ui-spacing-4),black calc(100% - var(--ui-spacing-4)),transparent 100%)}.ui-layout__bar--navigation::-webkit-scrollbar{display:none}.ui-layout__bar--links{min-height:36px;background:var(--ui-color-bg-muted);border-bottom:1px solid var(--ui-color-border);gap:var(--ui-spacing-3);font-size:var(--ui-font-size-xs)}.ui-layout__bar-text{flex:1;text-align:center}.ui-layout__bar-dismiss{display:flex;align-items:center;justify-content:center;background:none;border:none;cursor:pointer;padding:var(--ui-spacing-1);border-radius:var(--ui-radius-sm);color:inherit;opacity:.8;transition:opacity var(--ui-transition-fast)}.ui-layout__bar-dismiss:hover{opacity:1}.ui-layout__bar-dismiss:focus{outline:none}.ui-layout__bar-dismiss:focus-visible{outline:var(--ui-focus-ring-width) solid var(--ui-focus-ring-color);outline-offset:var(--ui-focus-ring-offset)}.ui-layout__bar-brand-left{display:flex;align-items:center;gap:var(--ui-spacing-3);min-width:0}.ui-layout__bar-logo,.ui-layout__bar-logo-img{width:32px;height:32px;border-radius:var(--ui-radius-md);flex-shrink:0}.ui-layout__bar-logo{display:flex;align-items:center;justify-content:center;background:var(--ui-color-primary);color:var(--ui-color-primary-contrast);font-size:var(--ui-font-size-xs);font-weight:var(--ui-font-weight-bold)}.ui-layout__bar-logo-img{object-fit:contain}.ui-layout__bar-title{font-size:var(--ui-font-size-base);font-weight:var(--ui-font-weight-bold);color:var(--ui-color-text);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.ui-layout__topbar-hamburger{display:none}.ui-layout__user-dropdown{position:relative}.ui-layout__user-dropdown-trigger{display:flex;align-items:center;gap:var(--ui-spacing-2);padding:var(--ui-spacing-1) var(--ui-spacing-2);background:none;border:1px solid var(--ui-color-border);border-radius:var(--ui-radius-md);cursor:pointer;font-family:inherit;font-size:var(--ui-font-size-sm);color:var(--ui-color-text);transition:all var(--ui-transition-fast)}.ui-layout__user-dropdown-trigger:hover{background:var(--ui-color-surface-hover)}.ui-layout__user-dropdown-trigger:focus{outline:none}.ui-layout__user-dropdown-trigger:focus-visible{outline:var(--ui-focus-ring-width) solid var(--ui-focus-ring-color);outline-offset:var(--ui-focus-ring-offset)}.ui-layout__user-avatar{width:28px;height:28px;border-radius:var(--ui-radius-full);object-fit:cover}.ui-layout__user-label{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:120px}.ui-layout__user-chevron{transition:transform var(--ui-transition-fast);color:var(--ui-color-text-muted)}[aria-expanded=true] .ui-layout__user-chevron{transform:rotate(180deg)}.ui-layout__user-dropdown-menu{position:absolute;top:calc(100% + var(--ui-spacing-1));right:0;min-width:180px;background:var(--ui-color-surface);border:1px solid var(--ui-color-border);border-radius:var(--ui-radius-md);box-shadow:var(--ui-shadow-md);padding:var(--ui-spacing-1) 0;z-index:var(--ui-z-dropdown);animation:ui-layout-fade-in var(--ui-transition-fast) ease-out}.ui-layout__user-dropdown-item{display:flex;align-items:center;gap:var(--ui-spacing-2);width:100%;padding:var(--ui-spacing-2) var(--ui-spacing-3);background:none;border:none;cursor:pointer;font-family:inherit;font-size:var(--ui-font-size-sm);color:var(--ui-color-text);text-decoration:none;text-align:left;transition:background var(--ui-transition-fast)}.ui-layout__user-dropdown-item:hover{background:var(--ui-color-surface-hover)}.ui-layout__user-dropdown-item:focus{outline:none}.ui-layout__user-dropdown-item:focus-visible{outline:var(--ui-focus-ring-width) solid var(--ui-focus-ring-color);outline-offset:var(--ui-focus-ring-offset)}.ui-layout__user-dropdown-divider{border:none;border-top:1px solid var(--ui-color-border);margin:var(--ui-spacing-1) 0}.ui-layout__hnav-link{display:flex;align-items:center;gap:var(--ui-spacing-2);padding:var(--ui-spacing-2) var(--ui-spacing-3);border-radius:var(--ui-radius-md);color:var(--ui-color-text-secondary);font-size:var(--ui-font-size-sm);font-weight:var(--ui-font-weight-medium);text-decoration:none;transition:all var(--ui-transition-fast);cursor:pointer;white-space:nowrap;background:none;border:none;font-family:inherit}.ui-layout__hnav-link:hover{background:var(--ui-color-surface-hover);color:var(--ui-color-text)}.ui-layout__hnav-link:focus{outline:none}.ui-layout__hnav-link:focus-visible{outline:var(--ui-focus-ring-width) solid var(--ui-focus-ring-color);outline-offset:var(--ui-focus-ring-offset)}.ui-layout__hnav-link--active{color:var(--ui-color-primary);font-weight:var(--ui-font-weight-semibold)}.ui-layout__hnav-link--parent{cursor:pointer}.ui-layout__hnav-link lucide-icon{transform:translateY(3px)}.ui-layout__hnav-chevron{transition:transform var(--ui-transition-fast)}.ui-layout__hnav-dropdown--open .ui-layout__hnav-chevron{transform:rotate(180deg)}.ui-layout__hnav-dropdown{position:relative}.ui-layout__hnav-dropdown-menu{position:absolute;top:calc(100% + var(--ui-spacing-1));left:0;min-width:200px;max-height:400px;overflow-y:auto;background:var(--ui-color-surface);border:1px solid var(--ui-color-border);border-radius:var(--ui-radius-md);box-shadow:var(--ui-shadow-md);padding:var(--ui-spacing-2);z-index:var(--ui-z-dropdown);animation:ui-layout-fade-in var(--ui-transition-fast) ease-out}.ui-layout__hnav-dropdown-label{display:block;font-size:.65rem;font-weight:600;text-transform:uppercase;letter-spacing:.05em;color:var(--ui-color-text-muted);padding:var(--ui-spacing-1) var(--ui-spacing-2);margin-top:var(--ui-spacing-2)}.ui-layout__hnav-dropdown-label:first-child{margin-top:0}.ui-layout__hnav-dropdown-item{display:block;padding:var(--ui-spacing-1) var(--ui-spacing-2);border-radius:var(--ui-radius-sm);font-size:var(--ui-font-size-sm);color:var(--ui-color-text-secondary);text-decoration:none;transition:all var(--ui-transition-fast)}.ui-layout__hnav-dropdown-item:hover{background:var(--ui-color-surface-hover);color:var(--ui-color-text)}.ui-layout__hnav-dropdown-item--active{color:var(--ui-color-primary);font-weight:var(--ui-font-weight-semibold)}.ui-layout__hnav-dropdown-item:focus{outline:none}.ui-layout__hnav-dropdown-item:focus-visible{outline:var(--ui-focus-ring-width) solid var(--ui-focus-ring-color);outline-offset:var(--ui-focus-ring-offset)}.ui-layout__bar-link{display:inline-flex;align-items:center;gap:4px;color:var(--ui-color-text-muted);text-decoration:none;transition:color var(--ui-transition-fast)}.ui-layout__bar-link:hover{color:var(--ui-color-primary)}.ui-layout__bar-link:focus{outline:none}.ui-layout__bar-link:focus-visible{outline:var(--ui-focus-ring-width) solid var(--ui-focus-ring-color);outline-offset:var(--ui-focus-ring-offset)}.ui-layout__bar-link lucide-icon{transform:translateY(3px)}@media (max-width: 767px){.ui-layout__sidebar-footer{display:block}.ui-layout__topbar{display:flex}.ui-layout:not(.ui-layout--topbar){padding-top:56px}.ui-layout__backdrop,.ui-layout__backdrop--topbar{display:block}.ui-layout__sidebar{position:fixed;top:0;left:0;bottom:0;width:300px;min-width:300px;transform:translate(-100%);transition:transform var(--ui-transition-normal);z-index:var(--ui-z-modal)}.ui-layout__sidebar--open{transform:translate(0)}.ui-layout__sidebar--collapsed{width:300px;min-width:300px}.ui-layout__sidebar--collapsed .ui-layout__sidebar-header{flex-direction:row;align-items:center;gap:0;padding:var(--ui-spacing-4)}.ui-layout__sidebar--topbar-drawer{display:flex}}@media (max-width: 767px) and (prefers-reduced-motion: reduce){.ui-layout__sidebar{transition:none}}@media (max-width: 767px){.ui-layout__desktop-only{display:none!important}.ui-layout__mobile-only{display:initial!important}.ui-layout__content{padding:var(--ui-spacing-4)}.ui-layout__content--fullscreen{padding:0}.ui-layout__bottom-nav{display:flex}.ui-layout__fab{bottom:calc(var(--ui-spacing-4) + 56px + env(safe-area-inset-bottom,0))}.ui-layout__topbar-hamburger{display:flex}.ui-layout__bar--navigation,.ui-layout__bar--links,.ui-layout__user-label{display:none}.ui-layout__page-title{font-size:var(--ui-font-size-xl)}.ui-layout__breadcrumb{font-size:var(--ui-font-size-xs)}}@media (min-width: 768px) and (max-width: 1023px){.ui-layout__sidebar:not(.ui-layout__sidebar--topbar-drawer){position:fixed;top:0;left:0;bottom:0;width:300px;min-width:300px;transform:translate(-100%);transition:transform var(--ui-transition-normal);z-index:var(--ui-z-modal)}.ui-layout__sidebar:not(.ui-layout__sidebar--topbar-drawer).ui-layout__sidebar--open{transform:translate(0)}}@media (min-width: 768px) and (max-width: 1023px) and (prefers-reduced-motion: reduce){.ui-layout__sidebar:not(.ui-layout__sidebar--topbar-drawer){transition:none}}@media (min-width: 768px) and (max-width: 1023px){.ui-layout__topbar{display:flex}.ui-layout:not(.ui-layout--topbar){padding-top:56px}.ui-layout__backdrop,.ui-layout__backdrop--topbar{display:block}.ui-layout__desktop-only{display:none!important}.ui-layout__mobile-only{display:initial!important}.ui-layout__content{padding:var(--ui-spacing-6)}.ui-layout__content--fullscreen{padding:0}.ui-layout__topbar-hamburger{display:flex}.ui-layout__sidebar--topbar-drawer{display:flex;position:fixed;top:0;left:0;bottom:0;width:300px;min-width:300px;transform:translate(-100%);transition:transform var(--ui-transition-normal);z-index:var(--ui-z-modal)}.ui-layout__sidebar--topbar-drawer.ui-layout__sidebar--open{transform:translate(0)}}@media (min-width: 768px) and (max-width: 1023px) and (prefers-reduced-motion: reduce){.ui-layout__sidebar--topbar-drawer{transition:none}}.ui-layout--slotted{display:flex;flex-direction:column;min-height:100vh;min-height:100dvh}.ui-layout__slotted-header{flex-shrink:0;width:100%}.ui-layout--slotted .ui-layout__content--slotted{flex:1}.ui-layout__slotted-footer{flex-shrink:0;width:100%}\n"], dependencies: [{ kind: "directive", type: RouterOutlet, selector: "router-outlet", inputs: ["name"], outputs: ["activate", "deactivate", "attach", "detach"], exportAs: ["outlet"] }, { kind: "directive", type: RouterLink, selector: "[routerLink]", inputs: ["target", "queryParams", "fragment", "queryParamsHandling", "state", "info", "relativeTo", "preserveFragment", "skipLocationChange", "replaceUrl", "routerLink"] }, { kind: "directive", type: RouterLinkActive, selector: "[routerLinkActive]", inputs: ["routerLinkActiveOptions", "ariaCurrentWhenActive", "routerLinkActive"], outputs: ["isActiveChange"], exportAs: ["routerLinkActive"] }, { kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }, { kind: "ngmodule", type: LucideAngularModule }, { kind: "component", type: i1.LucideAngularComponent, selector: "lucide-angular, lucide-icon, i-lucide, span-lucide", inputs: ["class", "name", "img", "color", "absoluteStrokeWidth", "size", "strokeWidth"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush, encapsulation: i0.ViewEncapsulation.None }); }
|
|
1280
|
+
}
|
|
1281
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: UiLayoutBuilderComponent, decorators: [{
|
|
1282
|
+
type: Component,
|
|
1283
|
+
args: [{ selector: 'ui-layout-builder', standalone: true, imports: [
|
|
1284
|
+
RouterOutlet,
|
|
1285
|
+
RouterLink,
|
|
1286
|
+
RouterLinkActive,
|
|
1287
|
+
NgTemplateOutlet,
|
|
1288
|
+
LucideAngularModule,
|
|
1289
|
+
], changeDetection: ChangeDetectionStrategy.OnPush, encapsulation: ViewEncapsulation.None, host: { class: 'ui-layout-builder-host' }, template: `
|
|
1290
|
+
<!-- Skip to content (a11y) -->
|
|
1291
|
+
<a class="ui-layout__skip-link" href="#ui-layout-main">
|
|
1292
|
+
Vai al contenuto principale
|
|
1293
|
+
</a>
|
|
1294
|
+
|
|
1295
|
+
<div
|
|
1296
|
+
class="ui-layout"
|
|
1297
|
+
[class.ui-layout--sidebar-collapsed]="layoutMode === 'sidebar' && sidebarCollapsed"
|
|
1298
|
+
[class.ui-layout--topbar]="layoutMode === 'topbar'"
|
|
1299
|
+
[class.ui-layout--slotted]="layoutMode === 'slotted'"
|
|
1300
|
+
>
|
|
1301
|
+
<!-- ─── Overlay Loader ─────────────────────────────────────── -->
|
|
1302
|
+
@if (loading) {
|
|
1303
|
+
<div
|
|
1304
|
+
class="ui-layout__loader-overlay"
|
|
1305
|
+
role="alert"
|
|
1306
|
+
aria-live="assertive"
|
|
1307
|
+
aria-label="Caricamento in corso"
|
|
1308
|
+
>
|
|
1309
|
+
<div class="ui-layout__loader-spinner" aria-hidden="true">
|
|
1310
|
+
<svg viewBox="0 0 50 50" class="ui-layout__loader-svg">
|
|
1311
|
+
<circle cx="25" cy="25" r="20" fill="none" stroke-width="4" />
|
|
1312
|
+
</svg>
|
|
1313
|
+
</div>
|
|
1314
|
+
</div>
|
|
1315
|
+
}
|
|
1316
|
+
|
|
1317
|
+
@switch (layoutMode) {
|
|
1318
|
+
<!-- ════════════════════════════════════════════════════════ -->
|
|
1319
|
+
<!-- ═══ SIDEBAR MODE ═════════════════════════════════════ -->
|
|
1320
|
+
<!-- ════════════════════════════════════════════════════════ -->
|
|
1321
|
+
@case ('sidebar') {
|
|
1322
|
+
<!-- Mobile Top Bar -->
|
|
1323
|
+
<header class="ui-layout__topbar">
|
|
1324
|
+
<button
|
|
1325
|
+
class="ui-layout__hamburger"
|
|
1326
|
+
(click)="layoutService.openMobileSidebar()"
|
|
1327
|
+
aria-label="Apri navigazione"
|
|
1328
|
+
>
|
|
1329
|
+
<span class="ui-layout__hamburger-line"></span>
|
|
1330
|
+
<span class="ui-layout__hamburger-line"></span>
|
|
1331
|
+
<span class="ui-layout__hamburger-line"></span>
|
|
1332
|
+
</button>
|
|
1333
|
+
@if (schema.header?.logo) {
|
|
1334
|
+
@if (schema.header?.logo?.src) {
|
|
1335
|
+
<img
|
|
1336
|
+
class="ui-layout__topbar-logo-img"
|
|
1337
|
+
[src]="schema.header?.logo?.src"
|
|
1338
|
+
[alt]="schema.header?.logo?.alt || schema.header?.title"
|
|
1339
|
+
/>
|
|
1340
|
+
} @else if (schema.header?.logo?.text) {
|
|
1341
|
+
<span class="ui-layout__topbar-logo">{{ schema.header?.logo?.text }}</span>
|
|
1342
|
+
}
|
|
1343
|
+
}
|
|
1344
|
+
<span class="ui-layout__topbar-title">{{ schema.header?.title }}</span>
|
|
1345
|
+
</header>
|
|
1346
|
+
|
|
1347
|
+
<!-- Mobile Backdrop -->
|
|
1348
|
+
@if (sidebarOpen) {
|
|
1349
|
+
<div
|
|
1350
|
+
class="ui-layout__backdrop"
|
|
1351
|
+
(click)="layoutService.closeMobileSidebar()"
|
|
1352
|
+
aria-hidden="true"
|
|
1353
|
+
></div>
|
|
1354
|
+
}
|
|
1355
|
+
|
|
1356
|
+
<!-- Body (sidebar + content) -->
|
|
1357
|
+
<div class="ui-layout__body">
|
|
1358
|
+
<aside
|
|
1359
|
+
class="ui-layout__sidebar"
|
|
1360
|
+
[class.ui-layout__sidebar--collapsed]="sidebarCollapsed"
|
|
1361
|
+
[class.ui-layout__sidebar--open]="sidebarOpen"
|
|
1362
|
+
role="navigation"
|
|
1363
|
+
aria-label="Navigazione principale"
|
|
1364
|
+
>
|
|
1365
|
+
<div class="ui-layout__sidebar-header">
|
|
1366
|
+
<div class="ui-layout__sidebar-brand">
|
|
1367
|
+
@if (schema.header?.logo) {
|
|
1368
|
+
@if (schema.header?.logo?.src) {
|
|
1369
|
+
<img
|
|
1370
|
+
class="ui-layout__sidebar-logo-img"
|
|
1371
|
+
[src]="schema.header?.logo?.src"
|
|
1372
|
+
[alt]="schema.header?.logo?.alt || schema.header?.title"
|
|
1373
|
+
/>
|
|
1374
|
+
} @else if (schema.header?.logo?.text) {
|
|
1375
|
+
<span class="ui-layout__sidebar-logo">{{ schema.header?.logo?.text }}</span>
|
|
1376
|
+
}
|
|
1377
|
+
}
|
|
1378
|
+
@if (!sidebarCollapsed || sidebarOpen) {
|
|
1379
|
+
<span class="ui-layout__sidebar-title">{{ schema.header?.title }}</span>
|
|
1380
|
+
}
|
|
1381
|
+
</div>
|
|
1382
|
+
|
|
1383
|
+
@if (schema.navigation?.collapsible !== false) {
|
|
1384
|
+
<button
|
|
1385
|
+
class="ui-layout__collapse-btn ui-layout__desktop-only"
|
|
1386
|
+
(click)="layoutService.toggleSidebar()"
|
|
1387
|
+
[attr.aria-label]="sidebarCollapsed ? 'Espandi sidebar' : 'Comprimi sidebar'"
|
|
1388
|
+
>
|
|
1389
|
+
<lucide-icon
|
|
1390
|
+
name="chevrons-left"
|
|
1391
|
+
[size]="16"
|
|
1392
|
+
class="ui-layout__collapse-icon"
|
|
1393
|
+
aria-hidden="true"
|
|
1394
|
+
/>
|
|
1395
|
+
</button>
|
|
1396
|
+
}
|
|
1397
|
+
|
|
1398
|
+
<button
|
|
1399
|
+
class="ui-layout__close-btn ui-layout__mobile-only"
|
|
1400
|
+
(click)="layoutService.closeMobileSidebar()"
|
|
1401
|
+
aria-label="Chiudi navigazione"
|
|
1402
|
+
>
|
|
1403
|
+
<lucide-icon name="x" [size]="16" aria-hidden="true" />
|
|
1404
|
+
</button>
|
|
1405
|
+
</div>
|
|
1406
|
+
|
|
1407
|
+
@if (!sidebarCollapsed || sidebarOpen) {
|
|
1408
|
+
<nav class="ui-layout__sidebar-nav">
|
|
1409
|
+
@if (schema.navigation?.sections?.length) {
|
|
1410
|
+
@for (section of schema.navigation?.sections || []; track section.id) {
|
|
1411
|
+
<div class="ui-layout__nav-section">
|
|
1412
|
+
<span class="ui-layout__nav-section-title">{{ section.label }}</span>
|
|
1413
|
+
@for (item of getItemsForSection(section); track item.id) {
|
|
1414
|
+
@if (!isItemHidden(item)) {
|
|
1415
|
+
<ng-container
|
|
1416
|
+
*ngTemplateOutlet="navItemTpl; context: { $implicit: item }"
|
|
1417
|
+
/>
|
|
1418
|
+
}
|
|
1419
|
+
}
|
|
1420
|
+
</div>
|
|
1421
|
+
}
|
|
1422
|
+
} @else {
|
|
1423
|
+
<div class="ui-layout__nav-section">
|
|
1424
|
+
@for (item of schema.navigation?.items || []; track item.id) {
|
|
1425
|
+
@if (!isItemHidden(item)) {
|
|
1426
|
+
<ng-container
|
|
1427
|
+
*ngTemplateOutlet="navItemTpl; context: { $implicit: item }"
|
|
1428
|
+
/>
|
|
1429
|
+
}
|
|
1430
|
+
}
|
|
1431
|
+
</div>
|
|
1432
|
+
}
|
|
1433
|
+
</nav>
|
|
1434
|
+
}
|
|
1435
|
+
</aside>
|
|
1436
|
+
|
|
1437
|
+
<!-- Main content area -->
|
|
1438
|
+
<main
|
|
1439
|
+
class="ui-layout__content"
|
|
1440
|
+
[class.ui-layout__content--boxed]="contentType === 'boxed'"
|
|
1441
|
+
[class.ui-layout__content--fullscreen]="contentType === 'fullscreen'"
|
|
1442
|
+
[class.ui-layout__content--transitioning]="contentTransitioning"
|
|
1443
|
+
(animationend)="contentTransitioning = false"
|
|
1444
|
+
id="ui-layout-main"
|
|
1445
|
+
tabindex="-1"
|
|
1446
|
+
>
|
|
1447
|
+
<div class="ui-layout__content-inner" [class.ui-layout__content-inner--boxed]="contentType === 'boxed'">
|
|
1448
|
+
<ng-container *ngTemplateOutlet="pageHeaderTpl" />
|
|
1449
|
+
<router-outlet />
|
|
1450
|
+
</div>
|
|
1451
|
+
</main>
|
|
1452
|
+
</div>
|
|
1453
|
+
}
|
|
1454
|
+
|
|
1455
|
+
<!-- ════════════════════════════════════════════════════════ -->
|
|
1456
|
+
<!-- ═══ TOPBAR MODE ══════════════════════════════════════ -->
|
|
1457
|
+
<!-- ════════════════════════════════════════════════════════ -->
|
|
1458
|
+
@case ('topbar') {
|
|
1459
|
+
<!-- Bar stack -->
|
|
1460
|
+
<div class="ui-layout__bar-stack">
|
|
1461
|
+
@for (bar of visibleBars; track bar.id) {
|
|
1462
|
+
@switch (bar.type) {
|
|
1463
|
+
@case ('notification') {
|
|
1464
|
+
@if (bar.notification) {
|
|
1465
|
+
<div
|
|
1466
|
+
class="ui-layout__bar ui-layout__bar--notification"
|
|
1467
|
+
[class]="'ui-layout__bar--notification-' + (bar.notification.variant || 'primary')"
|
|
1468
|
+
role="alert"
|
|
1469
|
+
>
|
|
1470
|
+
@if (bar.notification.icon) {
|
|
1471
|
+
<lucide-icon [name]="bar.notification.icon" [size]="16" aria-hidden="true" />
|
|
1472
|
+
}
|
|
1473
|
+
<span class="ui-layout__bar-text">{{ bar.notification.text }}</span>
|
|
1474
|
+
@if (bar.notification.dismissible !== false) {
|
|
1475
|
+
<button
|
|
1476
|
+
class="ui-layout__bar-dismiss"
|
|
1477
|
+
(click)="dismissBar(bar.id)"
|
|
1478
|
+
aria-label="Chiudi notifica"
|
|
1479
|
+
>
|
|
1480
|
+
<lucide-icon name="x" [size]="14" aria-hidden="true" />
|
|
1481
|
+
</button>
|
|
1482
|
+
}
|
|
1483
|
+
</div>
|
|
1484
|
+
}
|
|
1485
|
+
}
|
|
1486
|
+
|
|
1487
|
+
@case ('brand') {
|
|
1488
|
+
@if (bar.brand; as brand) {
|
|
1489
|
+
<div class="ui-layout__bar ui-layout__bar--brand">
|
|
1490
|
+
<div class="ui-layout__bar-brand-left">
|
|
1491
|
+
<button
|
|
1492
|
+
class="ui-layout__hamburger ui-layout__topbar-hamburger"
|
|
1493
|
+
(click)="layoutService.openMobileSidebar()"
|
|
1494
|
+
aria-label="Apri navigazione"
|
|
1495
|
+
>
|
|
1496
|
+
<span class="ui-layout__hamburger-line"></span>
|
|
1497
|
+
<span class="ui-layout__hamburger-line"></span>
|
|
1498
|
+
<span class="ui-layout__hamburger-line"></span>
|
|
1499
|
+
</button>
|
|
1500
|
+
@if (brand.logo; as logo) {
|
|
1501
|
+
@if (logo.src) {
|
|
1502
|
+
<img
|
|
1503
|
+
class="ui-layout__bar-logo-img"
|
|
1504
|
+
[src]="logo.src"
|
|
1505
|
+
[alt]="logo.alt || brand.title || ''"
|
|
1506
|
+
/>
|
|
1507
|
+
} @else if (logo.text) {
|
|
1508
|
+
<span class="ui-layout__bar-logo">{{ logo.text }}</span>
|
|
1509
|
+
}
|
|
1510
|
+
}
|
|
1511
|
+
@if (brand.title; as brandTitle) {
|
|
1512
|
+
<span class="ui-layout__bar-title">{{ brandTitle }}</span>
|
|
1513
|
+
}
|
|
1514
|
+
</div>
|
|
1515
|
+
@if (brand.userDropdown; as dropdown) {
|
|
1516
|
+
<div class="ui-layout__user-dropdown">
|
|
1517
|
+
<button
|
|
1518
|
+
class="ui-layout__user-dropdown-trigger"
|
|
1519
|
+
(click)="userDropdownOpen = !userDropdownOpen"
|
|
1520
|
+
[attr.aria-expanded]="userDropdownOpen"
|
|
1521
|
+
aria-haspopup="true"
|
|
1522
|
+
>
|
|
1523
|
+
@if (dropdown.avatar?.src) {
|
|
1524
|
+
<img
|
|
1525
|
+
class="ui-layout__user-avatar"
|
|
1526
|
+
[src]="dropdown.avatar!.src"
|
|
1527
|
+
[alt]="dropdown.avatar!.alt || dropdown.label"
|
|
1528
|
+
/>
|
|
1529
|
+
} @else {
|
|
1530
|
+
<lucide-icon
|
|
1531
|
+
[name]="dropdown.icon || 'user'"
|
|
1532
|
+
[size]="18"
|
|
1533
|
+
aria-hidden="true"
|
|
1534
|
+
/>
|
|
1535
|
+
}
|
|
1536
|
+
<span class="ui-layout__user-label">{{ dropdown.label }}</span>
|
|
1537
|
+
<lucide-icon name="chevron-down" [size]="14" aria-hidden="true" class="ui-layout__user-chevron" />
|
|
1538
|
+
</button>
|
|
1539
|
+
@if (userDropdownOpen) {
|
|
1540
|
+
<div class="ui-layout__user-dropdown-menu" role="menu">
|
|
1541
|
+
@for (dItem of dropdown.items; track dItem.id) {
|
|
1542
|
+
@if (dItem.divider) {
|
|
1543
|
+
<hr class="ui-layout__user-dropdown-divider" />
|
|
1544
|
+
}
|
|
1545
|
+
@if (dItem.route) {
|
|
1546
|
+
<a
|
|
1547
|
+
class="ui-layout__user-dropdown-item"
|
|
1548
|
+
[routerLink]="dItem.route"
|
|
1549
|
+
role="menuitem"
|
|
1550
|
+
(click)="userDropdownOpen = false"
|
|
1551
|
+
>
|
|
1552
|
+
@if (dItem.icon) {
|
|
1553
|
+
<lucide-icon [name]="dItem.icon" [size]="16" aria-hidden="true" />
|
|
1554
|
+
}
|
|
1555
|
+
{{ dItem.label }}
|
|
1556
|
+
</a>
|
|
1557
|
+
} @else {
|
|
1558
|
+
<button
|
|
1559
|
+
class="ui-layout__user-dropdown-item"
|
|
1560
|
+
role="menuitem"
|
|
1561
|
+
(click)="onDropdownAction(dItem)"
|
|
1562
|
+
>
|
|
1563
|
+
@if (dItem.icon) {
|
|
1564
|
+
<lucide-icon [name]="dItem.icon" [size]="16" aria-hidden="true" />
|
|
1565
|
+
}
|
|
1566
|
+
{{ dItem.label }}
|
|
1567
|
+
</button>
|
|
1568
|
+
}
|
|
1569
|
+
}
|
|
1570
|
+
</div>
|
|
1571
|
+
}
|
|
1572
|
+
</div>
|
|
1573
|
+
}
|
|
1574
|
+
</div>
|
|
1575
|
+
}
|
|
1576
|
+
}
|
|
1577
|
+
|
|
1578
|
+
@case ('navigation') {
|
|
1579
|
+
<nav class="ui-layout__bar ui-layout__bar--navigation" role="navigation" aria-label="Navigazione principale">
|
|
1580
|
+
@for (item of getTopbarNavItems(bar); track item.id) {
|
|
1581
|
+
@if (!isItemHidden(item)) {
|
|
1582
|
+
@if (item.children?.length) {
|
|
1583
|
+
<div class="ui-layout__hnav-dropdown" [class.ui-layout__hnav-dropdown--open]="hnavDropdownId === item.id">
|
|
1584
|
+
<button
|
|
1585
|
+
class="ui-layout__hnav-link ui-layout__hnav-link--parent"
|
|
1586
|
+
[class.ui-layout__hnav-link--active]="isParentActive(item)"
|
|
1587
|
+
(click)="toggleHnavDropdown(item.id)"
|
|
1588
|
+
[attr.aria-expanded]="hnavDropdownId === item.id"
|
|
1589
|
+
>
|
|
1590
|
+
@if (item.icon) {
|
|
1591
|
+
<lucide-icon [name]="item.icon" [size]="16" aria-hidden="true" />
|
|
1592
|
+
}
|
|
1593
|
+
<span>{{ item.label }}</span>
|
|
1594
|
+
<lucide-icon name="chevron-down" [size]="14" aria-hidden="true" class="ui-layout__hnav-chevron" />
|
|
1595
|
+
</button>
|
|
1596
|
+
@if (hnavDropdownId === item.id) {
|
|
1597
|
+
<div class="ui-layout__hnav-dropdown-menu">
|
|
1598
|
+
@for (group of item.children; track group.label) {
|
|
1599
|
+
<span class="ui-layout__hnav-dropdown-label">{{ group.label }}</span>
|
|
1600
|
+
@for (child of group.items; track child.id) {
|
|
1601
|
+
@if (!isItemHidden(child)) {
|
|
1602
|
+
<a
|
|
1603
|
+
class="ui-layout__hnav-dropdown-item"
|
|
1604
|
+
[routerLink]="child.route"
|
|
1605
|
+
routerLinkActive="ui-layout__hnav-dropdown-item--active"
|
|
1606
|
+
(click)="hnavDropdownId = null; onNavClick()"
|
|
1607
|
+
>
|
|
1608
|
+
{{ child.label }}
|
|
1609
|
+
</a>
|
|
1610
|
+
}
|
|
1611
|
+
}
|
|
1612
|
+
}
|
|
1613
|
+
</div>
|
|
1614
|
+
}
|
|
1615
|
+
</div>
|
|
1616
|
+
} @else if (item.type === 'external') {
|
|
1617
|
+
<a
|
|
1618
|
+
class="ui-layout__hnav-link"
|
|
1619
|
+
[href]="item.href"
|
|
1620
|
+
[target]="item.target || '_blank'"
|
|
1621
|
+
[attr.rel]="item.target === '_blank' ? 'noopener noreferrer' : null"
|
|
1622
|
+
>
|
|
1623
|
+
@if (item.icon) {
|
|
1624
|
+
<lucide-icon [name]="item.icon" [size]="16" aria-hidden="true" />
|
|
1625
|
+
}
|
|
1626
|
+
<span>{{ item.label }}</span>
|
|
1627
|
+
<lucide-icon name="external-link" [size]="12" aria-hidden="true" />
|
|
1628
|
+
</a>
|
|
1629
|
+
} @else if (item.type !== 'divider') {
|
|
1630
|
+
<a
|
|
1631
|
+
class="ui-layout__hnav-link"
|
|
1632
|
+
[routerLink]="item.route"
|
|
1633
|
+
routerLinkActive="ui-layout__hnav-link--active"
|
|
1634
|
+
[routerLinkActiveOptions]="{ exact: item.routeActiveExact || false }"
|
|
1635
|
+
>
|
|
1636
|
+
@if (item.icon) {
|
|
1637
|
+
<lucide-icon [name]="item.icon" [size]="16" aria-hidden="true" />
|
|
1638
|
+
}
|
|
1639
|
+
<span>{{ item.label }}</span>
|
|
1640
|
+
@if (getItemBadge(item)) {
|
|
1641
|
+
<span class="ui-layout__badge">{{ getItemBadge(item) }}</span>
|
|
1642
|
+
}
|
|
1643
|
+
</a>
|
|
1644
|
+
}
|
|
1645
|
+
}
|
|
1646
|
+
}
|
|
1647
|
+
</nav>
|
|
1648
|
+
}
|
|
1649
|
+
|
|
1650
|
+
@case ('links') {
|
|
1651
|
+
@if (bar.links) {
|
|
1652
|
+
<div
|
|
1653
|
+
class="ui-layout__bar ui-layout__bar--links"
|
|
1654
|
+
[style.justify-content]="bar.links.align === 'start' ? 'flex-start' : bar.links.align === 'center' ? 'center' : bar.links.align === 'space-between' ? 'space-between' : 'flex-end'"
|
|
1655
|
+
>
|
|
1656
|
+
@for (lnk of bar.links.items; track lnk.label || lnk.ariaLabel || $index) {
|
|
1657
|
+
@if (lnk.route) {
|
|
1658
|
+
<a class="ui-layout__bar-link" [routerLink]="lnk.route" [attr.aria-label]="lnk.ariaLabel || null">
|
|
1659
|
+
@if (lnk.icon) {
|
|
1660
|
+
<lucide-icon [name]="lnk.icon" [size]="14" aria-hidden="true" />
|
|
1661
|
+
}
|
|
1662
|
+
@if (lnk.label) {
|
|
1663
|
+
<span>{{ lnk.label }}</span>
|
|
1664
|
+
}
|
|
1665
|
+
</a>
|
|
1666
|
+
} @else if (lnk.href) {
|
|
1667
|
+
<a
|
|
1668
|
+
class="ui-layout__bar-link"
|
|
1669
|
+
[href]="lnk.href"
|
|
1670
|
+
[target]="lnk.target || '_self'"
|
|
1671
|
+
[attr.rel]="lnk.target === '_blank' ? 'noopener noreferrer' : null"
|
|
1672
|
+
[attr.aria-label]="lnk.ariaLabel || null"
|
|
1673
|
+
>
|
|
1674
|
+
@if (lnk.icon) {
|
|
1675
|
+
<lucide-icon [name]="lnk.icon" [size]="14" aria-hidden="true" />
|
|
1676
|
+
}
|
|
1677
|
+
@if (lnk.label) {
|
|
1678
|
+
<span>{{ lnk.label }}</span>
|
|
1679
|
+
}
|
|
1680
|
+
</a>
|
|
1681
|
+
}
|
|
1682
|
+
}
|
|
1683
|
+
</div>
|
|
1684
|
+
}
|
|
1685
|
+
}
|
|
1686
|
+
}
|
|
1687
|
+
}
|
|
1688
|
+
</div>
|
|
1689
|
+
|
|
1690
|
+
<!-- Mobile Backdrop (topbar mode) -->
|
|
1691
|
+
@if (sidebarOpen) {
|
|
1692
|
+
<div
|
|
1693
|
+
class="ui-layout__backdrop ui-layout__backdrop--topbar"
|
|
1694
|
+
(click)="layoutService.closeMobileSidebar()"
|
|
1695
|
+
aria-hidden="true"
|
|
1696
|
+
></div>
|
|
1697
|
+
}
|
|
1698
|
+
|
|
1699
|
+
<!-- Mobile drawer (topbar mode) -->
|
|
1700
|
+
<aside
|
|
1701
|
+
class="ui-layout__sidebar ui-layout__sidebar--topbar-drawer"
|
|
1702
|
+
[class.ui-layout__sidebar--open]="sidebarOpen"
|
|
1703
|
+
role="navigation"
|
|
1704
|
+
aria-label="Navigazione principale"
|
|
1705
|
+
>
|
|
1706
|
+
<div class="ui-layout__sidebar-header">
|
|
1707
|
+
<div class="ui-layout__sidebar-brand">
|
|
1708
|
+
@if (schema.header?.logo) {
|
|
1709
|
+
@if (schema.header?.logo?.src) {
|
|
1710
|
+
<img class="ui-layout__sidebar-logo-img" [src]="schema.header?.logo?.src" [alt]="schema.header?.logo?.alt || schema.header?.title" />
|
|
1711
|
+
} @else if (schema.header?.logo?.text) {
|
|
1712
|
+
<span class="ui-layout__sidebar-logo">{{ schema.header?.logo?.text }}</span>
|
|
1713
|
+
}
|
|
1714
|
+
}
|
|
1715
|
+
<span class="ui-layout__sidebar-title">{{ schema.header?.title }}</span>
|
|
1716
|
+
</div>
|
|
1717
|
+
<button class="ui-layout__close-btn" (click)="layoutService.closeMobileSidebar()" aria-label="Chiudi navigazione">
|
|
1718
|
+
<lucide-icon name="x" [size]="16" aria-hidden="true" />
|
|
1719
|
+
</button>
|
|
1720
|
+
</div>
|
|
1721
|
+
<nav class="ui-layout__sidebar-nav">
|
|
1722
|
+
@if (schema.navigation?.sections?.length) {
|
|
1723
|
+
@for (section of schema.navigation?.sections || []; track section.id) {
|
|
1724
|
+
<div class="ui-layout__nav-section">
|
|
1725
|
+
<span class="ui-layout__nav-section-title">{{ section.label }}</span>
|
|
1726
|
+
@for (item of getItemsForSection(section); track item.id) {
|
|
1727
|
+
@if (!isItemHidden(item)) {
|
|
1728
|
+
<ng-container *ngTemplateOutlet="navItemTpl; context: { $implicit: item }" />
|
|
1729
|
+
}
|
|
1730
|
+
}
|
|
1731
|
+
</div>
|
|
1732
|
+
}
|
|
1733
|
+
} @else {
|
|
1734
|
+
<div class="ui-layout__nav-section">
|
|
1735
|
+
@for (item of schema.navigation?.items || []; track item.id) {
|
|
1736
|
+
@if (!isItemHidden(item)) {
|
|
1737
|
+
<ng-container *ngTemplateOutlet="navItemTpl; context: { $implicit: item }" />
|
|
1738
|
+
}
|
|
1739
|
+
}
|
|
1740
|
+
</div>
|
|
1741
|
+
}
|
|
1742
|
+
</nav>
|
|
1743
|
+
</aside>
|
|
1744
|
+
|
|
1745
|
+
<!-- Main content area (topbar mode) -->
|
|
1746
|
+
<main
|
|
1747
|
+
class="ui-layout__content ui-layout__content--topbar"
|
|
1748
|
+
[class.ui-layout__content--boxed]="contentType === 'boxed'"
|
|
1749
|
+
[class.ui-layout__content--fullscreen]="contentType === 'fullscreen'"
|
|
1750
|
+
[class.ui-layout__content--transitioning]="contentTransitioning"
|
|
1751
|
+
(animationend)="contentTransitioning = false"
|
|
1752
|
+
id="ui-layout-main"
|
|
1753
|
+
tabindex="-1"
|
|
1754
|
+
>
|
|
1755
|
+
<div class="ui-layout__content-inner" [class.ui-layout__content-inner--boxed]="contentType === 'boxed'">
|
|
1756
|
+
<ng-container *ngTemplateOutlet="pageHeaderTpl" />
|
|
1757
|
+
<router-outlet />
|
|
1758
|
+
</div>
|
|
1759
|
+
</main>
|
|
1760
|
+
}
|
|
1761
|
+
|
|
1762
|
+
@case ('slotted') {
|
|
1763
|
+
<!-- Slotted Header -->
|
|
1764
|
+
<header class="ui-layout__slotted-header">
|
|
1765
|
+
<ng-content select="[uiLayoutHeader]" />
|
|
1766
|
+
</header>
|
|
1767
|
+
|
|
1768
|
+
<!-- Main content area (slotted mode) -->
|
|
1769
|
+
<main
|
|
1770
|
+
class="ui-layout__content ui-layout__content--slotted"
|
|
1771
|
+
[class.ui-layout__content--boxed]="contentType === 'boxed'"
|
|
1772
|
+
[class.ui-layout__content--fullscreen]="contentType === 'fullscreen'"
|
|
1773
|
+
[class.ui-layout__content--transitioning]="contentTransitioning"
|
|
1774
|
+
(animationend)="contentTransitioning = false"
|
|
1775
|
+
id="ui-layout-main"
|
|
1776
|
+
tabindex="-1"
|
|
1777
|
+
>
|
|
1778
|
+
<div class="ui-layout__content-inner" [class.ui-layout__content-inner--boxed]="contentType === 'boxed'">
|
|
1779
|
+
<ng-container *ngTemplateOutlet="pageHeaderTpl" />
|
|
1780
|
+
<router-outlet />
|
|
1781
|
+
</div>
|
|
1782
|
+
</main>
|
|
1783
|
+
|
|
1784
|
+
<!-- Slotted Footer -->
|
|
1785
|
+
<footer class="ui-layout__slotted-footer">
|
|
1786
|
+
<ng-content select="[uiLayoutFooter]" />
|
|
1787
|
+
</footer>
|
|
1788
|
+
}
|
|
1789
|
+
}
|
|
1790
|
+
|
|
1791
|
+
<!-- ─── Footer (sidebar/topbar only) ──────────────────────────── -->
|
|
1792
|
+
@if (layoutMode !== 'slotted' && schema.footer) {
|
|
1793
|
+
<footer class="ui-layout__footer">
|
|
1794
|
+
@if (schema.footer.links?.length) {
|
|
1795
|
+
<nav class="ui-layout__footer-links" aria-label="Link footer">
|
|
1796
|
+
@for (link of schema.footer.links; track link.label) {
|
|
1797
|
+
@if (link.route) {
|
|
1798
|
+
<a class="ui-layout__footer-link" [routerLink]="link.route">
|
|
1799
|
+
@if (link.icon) {
|
|
1800
|
+
<lucide-icon [name]="link.icon" [size]="14" aria-hidden="true" />
|
|
1801
|
+
}
|
|
1802
|
+
{{ link.label }}
|
|
1803
|
+
</a>
|
|
1804
|
+
} @else if (link.href) {
|
|
1805
|
+
<a
|
|
1806
|
+
class="ui-layout__footer-link"
|
|
1807
|
+
[href]="link.href"
|
|
1808
|
+
[target]="link.target || '_self'"
|
|
1809
|
+
[attr.rel]="link.target === '_blank' ? 'noopener noreferrer' : null"
|
|
1810
|
+
>
|
|
1811
|
+
@if (link.icon) {
|
|
1812
|
+
<lucide-icon [name]="link.icon" [size]="14" aria-hidden="true" />
|
|
1813
|
+
}
|
|
1814
|
+
{{ link.label }}
|
|
1815
|
+
</a>
|
|
1816
|
+
}
|
|
1817
|
+
}
|
|
1818
|
+
</nav>
|
|
1819
|
+
}
|
|
1820
|
+
@if (schema.footer.text) {
|
|
1821
|
+
<span class="ui-layout__footer-text">{{ schema.footer.text }}</span>
|
|
1822
|
+
}
|
|
1823
|
+
</footer>
|
|
1824
|
+
}
|
|
1825
|
+
|
|
1826
|
+
<!-- ─── Speed Dial FAB ─────────────────────────────────────── -->
|
|
1827
|
+
@if (currentFabConfig) {
|
|
1828
|
+
<div
|
|
1829
|
+
class="ui-layout__fab"
|
|
1830
|
+
[class.ui-layout__fab--open]="fabOpen"
|
|
1831
|
+
[class.ui-layout__fab--bottom-left]="currentFabConfig.position === 'bottom-left'"
|
|
1832
|
+
role="complementary"
|
|
1833
|
+
aria-label="Azioni rapide"
|
|
1834
|
+
>
|
|
1835
|
+
@if (fabOpen && currentFabConfig.secondaryActions?.length) {
|
|
1836
|
+
<div class="ui-layout__fab-actions">
|
|
1837
|
+
@for (action of currentFabConfig.secondaryActions; track action.id; let i = $index) {
|
|
1838
|
+
<button
|
|
1839
|
+
class="ui-layout__fab-action"
|
|
1840
|
+
[class]="'ui-layout__fab-action--' + (action.variant || 'neutral')"
|
|
1841
|
+
[attr.aria-label]="action.ariaLabel || action.label"
|
|
1842
|
+
[title]="action.label"
|
|
1843
|
+
[style.animation-delay]="(i * 50) + 'ms'"
|
|
1844
|
+
(click)="onFabAction(action)"
|
|
1845
|
+
>
|
|
1846
|
+
<lucide-icon [name]="action.icon" [size]="18" aria-hidden="true" />
|
|
1847
|
+
<span class="ui-layout__fab-action-label">{{ action.label }}</span>
|
|
1848
|
+
</button>
|
|
1849
|
+
}
|
|
1850
|
+
</div>
|
|
1851
|
+
}
|
|
1852
|
+
<button
|
|
1853
|
+
class="ui-layout__fab-main"
|
|
1854
|
+
[class]="'ui-layout__fab-main--' + (currentFabConfig.mainAction.variant || 'primary')"
|
|
1855
|
+
[attr.aria-label]="currentFabConfig.mainAction.ariaLabel || currentFabConfig.mainAction.label"
|
|
1856
|
+
[attr.aria-expanded]="currentFabConfig.secondaryActions?.length ? fabOpen : null"
|
|
1857
|
+
(click)="onFabMainClick()"
|
|
1858
|
+
>
|
|
1859
|
+
<lucide-icon
|
|
1860
|
+
[name]="currentFabConfig.mainAction.icon"
|
|
1861
|
+
[size]="24"
|
|
1862
|
+
aria-hidden="true"
|
|
1863
|
+
class="ui-layout__fab-main-icon"
|
|
1864
|
+
/>
|
|
1865
|
+
</button>
|
|
1866
|
+
</div>
|
|
1867
|
+
}
|
|
1868
|
+
|
|
1869
|
+
<!-- ─── Bottom Navigation (mobile, sidebar mode) ────────────── -->
|
|
1870
|
+
@if (layoutMode === 'sidebar' && bottomNavItems.length > 0 && mobileMode !== 'drawer') {
|
|
1871
|
+
<nav
|
|
1872
|
+
class="ui-layout__bottom-nav"
|
|
1873
|
+
role="navigation"
|
|
1874
|
+
aria-label="Navigazione rapida"
|
|
1875
|
+
>
|
|
1876
|
+
@for (item of bottomNavItems; track item.id) {
|
|
1877
|
+
<a
|
|
1878
|
+
class="ui-layout__bottom-nav-item"
|
|
1879
|
+
[routerLink]="item.route"
|
|
1880
|
+
routerLinkActive="ui-layout__bottom-nav-item--active"
|
|
1881
|
+
[routerLinkActiveOptions]="{ exact: item.routeActiveExact || false }"
|
|
1882
|
+
[attr.aria-current]="isRouteActive(item) ? 'page' : null"
|
|
1883
|
+
>
|
|
1884
|
+
@if (item.icon) {
|
|
1885
|
+
<lucide-icon [name]="item.icon" [size]="20" aria-hidden="true" />
|
|
1886
|
+
}
|
|
1887
|
+
<span class="ui-layout__bottom-nav-label">{{ item.label }}</span>
|
|
1888
|
+
@if (getItemBadge(item)) {
|
|
1889
|
+
<span class="ui-layout__badge" aria-label="Notifica">{{ getItemBadge(item) }}</span>
|
|
1890
|
+
}
|
|
1891
|
+
</a>
|
|
1892
|
+
}
|
|
1893
|
+
</nav>
|
|
1894
|
+
}
|
|
1895
|
+
</div>
|
|
1896
|
+
|
|
1897
|
+
<!-- ═══ SHARED TEMPLATES ═══════════════════════════════════════ -->
|
|
1898
|
+
|
|
1899
|
+
<!-- Page header with auto-derived breadcrumbs -->
|
|
1900
|
+
<ng-template #pageHeaderTpl>
|
|
1901
|
+
@if (schema.pageHeader?.show !== false && breadcrumbs.length > 0) {
|
|
1902
|
+
<header class="ui-layout__page-header">
|
|
1903
|
+
<nav aria-label="Breadcrumb" class="ui-layout__breadcrumb-nav">
|
|
1904
|
+
<ol class="ui-layout__breadcrumb" itemscope itemtype="https://schema.org/BreadcrumbList">
|
|
1905
|
+
@if (schema.pageHeader?.showHome !== false) {
|
|
1906
|
+
<li class="ui-layout__breadcrumb-item" itemprop="itemListElement" itemscope itemtype="https://schema.org/ListItem">
|
|
1907
|
+
<a itemprop="item" [routerLink]="schema.pageHeader?.homeRoute || '/'" class="ui-layout__breadcrumb-link" aria-label="Home">
|
|
1908
|
+
<lucide-icon name="home" [size]="14" aria-hidden="true" />
|
|
1909
|
+
<span itemprop="name" class="ui-layout__breadcrumb-text">Home</span>
|
|
1910
|
+
</a>
|
|
1911
|
+
<meta itemprop="position" content="1" />
|
|
1912
|
+
<span class="ui-layout__breadcrumb-sep" aria-hidden="true">
|
|
1913
|
+
<lucide-icon name="chevron-right" [size]="14" />
|
|
1914
|
+
</span>
|
|
1915
|
+
</li>
|
|
1916
|
+
}
|
|
1917
|
+
@for (crumb of breadcrumbs; track crumb.label; let i = $index) {
|
|
1918
|
+
<li
|
|
1919
|
+
class="ui-layout__breadcrumb-item"
|
|
1920
|
+
[class.ui-layout__breadcrumb-item--current]="crumb.isLast"
|
|
1921
|
+
itemprop="itemListElement"
|
|
1922
|
+
itemscope
|
|
1923
|
+
itemtype="https://schema.org/ListItem"
|
|
1924
|
+
>
|
|
1925
|
+
@if (!crumb.isLast && crumb.url) {
|
|
1926
|
+
<a itemprop="item" [routerLink]="crumb.url" class="ui-layout__breadcrumb-link">
|
|
1927
|
+
<span itemprop="name" class="ui-layout__breadcrumb-text">{{ crumb.label }}</span>
|
|
1928
|
+
</a>
|
|
1929
|
+
<span class="ui-layout__breadcrumb-sep" aria-hidden="true">
|
|
1930
|
+
<lucide-icon name="chevron-right" [size]="14" />
|
|
1931
|
+
</span>
|
|
1932
|
+
} @else {
|
|
1933
|
+
<span itemprop="name" class="ui-layout__breadcrumb-text ui-layout__breadcrumb-text--current" aria-current="page">
|
|
1934
|
+
{{ crumb.label }}
|
|
1935
|
+
</span>
|
|
1936
|
+
}
|
|
1937
|
+
<meta itemprop="position" [attr.content]="(schema.pageHeader?.showHome !== false) ? i + 2 : i + 1" />
|
|
1938
|
+
</li>
|
|
1939
|
+
}
|
|
1940
|
+
</ol>
|
|
1941
|
+
</nav>
|
|
1942
|
+
<h1 class="ui-layout__page-title">{{ pageTitle }}</h1>
|
|
1943
|
+
</header>
|
|
1944
|
+
}
|
|
1945
|
+
</ng-template>
|
|
1946
|
+
|
|
1947
|
+
<!-- Nav item template (sidebar, recursive-friendly) -->
|
|
1948
|
+
<ng-template #navItemTpl let-item>
|
|
1949
|
+
@if (item.type === 'divider') {
|
|
1950
|
+
<hr class="ui-layout__nav-divider" />
|
|
1951
|
+
} @else if (item.type === 'external') {
|
|
1952
|
+
<a
|
|
1953
|
+
class="ui-layout__nav-link"
|
|
1954
|
+
[href]="item.href"
|
|
1955
|
+
[target]="item.target || '_blank'"
|
|
1956
|
+
[attr.rel]="item.target === '_blank' ? 'noopener noreferrer' : null"
|
|
1957
|
+
(click)="onNavClick()"
|
|
1958
|
+
>
|
|
1959
|
+
@if (item.icon) {
|
|
1960
|
+
<lucide-icon [name]="item.icon" [size]="16" aria-hidden="true" class="ui-layout__nav-icon" />
|
|
1961
|
+
}
|
|
1962
|
+
<span class="ui-layout__nav-label">{{ item.label }}</span>
|
|
1963
|
+
<lucide-icon name="external-link" [size]="12" aria-hidden="true" class="ui-layout__nav-external" />
|
|
1964
|
+
@if (getItemBadge(item)) {
|
|
1965
|
+
<span class="ui-layout__badge">{{ getItemBadge(item) }}</span>
|
|
1966
|
+
}
|
|
1967
|
+
</a>
|
|
1968
|
+
} @else if (item.children?.length) {
|
|
1969
|
+
<button
|
|
1970
|
+
class="ui-layout__nav-link ui-layout__nav-link--parent"
|
|
1971
|
+
[class.ui-layout__nav-link--active]="isParentActive(item)"
|
|
1972
|
+
[class.ui-layout__nav-link--expanded]="expandedIds.has(item.id)"
|
|
1973
|
+
[attr.aria-expanded]="expandedIds.has(item.id)"
|
|
1974
|
+
(click)="toggleExpand(item)"
|
|
1975
|
+
>
|
|
1976
|
+
@if (item.icon) {
|
|
1977
|
+
<lucide-icon [name]="item.icon" [size]="16" aria-hidden="true" class="ui-layout__nav-icon" />
|
|
1978
|
+
}
|
|
1979
|
+
<span class="ui-layout__nav-label">{{ item.label }}</span>
|
|
1980
|
+
@if (getItemBadge(item)) {
|
|
1981
|
+
<span class="ui-layout__badge">{{ getItemBadge(item) }}</span>
|
|
1982
|
+
}
|
|
1983
|
+
<span class="ui-layout__nav-chevron" aria-hidden="true">
|
|
1984
|
+
<lucide-icon name="chevron-right" [size]="14" />
|
|
1985
|
+
</span>
|
|
1986
|
+
</button>
|
|
1987
|
+
@if (expandedIds.has(item.id)) {
|
|
1988
|
+
<div class="ui-layout__nav-children">
|
|
1989
|
+
@for (group of item.children; track group.label) {
|
|
1990
|
+
<span class="ui-layout__nav-group-label">{{ group.label }}</span>
|
|
1991
|
+
@for (child of group.items; track child.id) {
|
|
1992
|
+
@if (!isItemHidden(child)) {
|
|
1993
|
+
<a
|
|
1994
|
+
class="ui-layout__nav-link ui-layout__nav-link--child"
|
|
1995
|
+
[routerLink]="child.route"
|
|
1996
|
+
routerLinkActive="ui-layout__nav-link--active"
|
|
1997
|
+
(click)="onNavClick()"
|
|
1998
|
+
>
|
|
1999
|
+
<span class="ui-layout__nav-label">{{ child.label }}</span>
|
|
2000
|
+
@if (getItemBadge(child)) {
|
|
2001
|
+
<span class="ui-layout__badge">{{ getItemBadge(child) }}</span>
|
|
2002
|
+
}
|
|
2003
|
+
</a>
|
|
2004
|
+
}
|
|
2005
|
+
}
|
|
2006
|
+
}
|
|
2007
|
+
</div>
|
|
2008
|
+
}
|
|
2009
|
+
} @else {
|
|
2010
|
+
<a
|
|
2011
|
+
class="ui-layout__nav-link"
|
|
2012
|
+
[routerLink]="item.route"
|
|
2013
|
+
routerLinkActive="ui-layout__nav-link--active"
|
|
2014
|
+
[routerLinkActiveOptions]="{ exact: item.routeActiveExact || false }"
|
|
2015
|
+
[attr.aria-current]="isRouteActive(item) ? 'page' : null"
|
|
2016
|
+
(click)="onNavClick()"
|
|
2017
|
+
>
|
|
2018
|
+
@if (item.icon) {
|
|
2019
|
+
<lucide-icon [name]="item.icon" [size]="16" aria-hidden="true" class="ui-layout__nav-icon" />
|
|
2020
|
+
}
|
|
2021
|
+
<span class="ui-layout__nav-label">{{ item.label }}</span>
|
|
2022
|
+
@if (getItemBadge(item)) {
|
|
2023
|
+
<span class="ui-layout__badge">{{ getItemBadge(item) }}</span>
|
|
2024
|
+
}
|
|
2025
|
+
</a>
|
|
2026
|
+
}
|
|
2027
|
+
</ng-template>
|
|
2028
|
+
`, styles: [".ui-layout-builder-host{display:block;height:100vh;height:100dvh}.ui-layout__skip-link{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.ui-layout__skip-link:focus{position:fixed;top:var(--ui-spacing-2);left:var(--ui-spacing-2);z-index:calc(var(--ui-z-toast) + 10);width:auto;height:auto;clip:auto;padding:var(--ui-spacing-2) var(--ui-spacing-4);background:var(--ui-color-primary);color:var(--ui-color-primary-contrast);border-radius:var(--ui-radius-md);font-size:var(--ui-font-size-sm);font-weight:var(--ui-font-weight-semibold);text-decoration:none;overflow:visible;white-space:nowrap;margin:0}.ui-layout{display:flex;flex-direction:column;height:100%;overflow:hidden;font-family:var(--ui-font-family);color:var(--ui-color-text);background:var(--ui-color-bg-subtle)}.ui-layout__loader-overlay{position:fixed;inset:0;z-index:var(--ui-z-modal);display:flex;align-items:center;justify-content:center;background:var(--ui-color-bg-subtle);will-change:opacity;animation:ui-layout-fade-in var(--ui-transition-fast) ease-out}@media (prefers-reduced-motion: reduce){.ui-layout__loader-overlay{animation:none}}.ui-layout__loader-spinner{width:48px;height:48px}.ui-layout__loader-svg{width:100%;height:100%;animation:ui-layout-spin 1s linear infinite}.ui-layout__loader-svg circle{stroke:var(--ui-color-primary);stroke-linecap:round;stroke-dasharray:90,150;stroke-dashoffset:0;animation:ui-layout-dash 1.5s ease-in-out infinite}@media (prefers-reduced-motion: reduce){.ui-layout__loader-svg{animation:none}.ui-layout__loader-svg circle{animation:none;stroke-dasharray:90,150}}@keyframes ui-layout-spin{to{transform:rotate(360deg)}}@keyframes ui-layout-dash{0%{stroke-dasharray:1,150;stroke-dashoffset:0}50%{stroke-dasharray:90,150;stroke-dashoffset:-35}to{stroke-dasharray:90,150;stroke-dashoffset:-124}}@keyframes ui-layout-fade-in{0%{opacity:0}to{opacity:1}}.ui-layout__topbar{display:none;position:fixed;top:0;left:0;right:0;height:56px;background:var(--ui-color-surface);border-bottom:1px solid var(--ui-color-border);align-items:center;padding:0 var(--ui-spacing-4);gap:var(--ui-spacing-3);z-index:var(--ui-z-fixed)}.ui-layout__hamburger{display:flex;flex-direction:column;justify-content:center;align-items:center;gap:5px;width:36px;height:36px;background:none;border:1px solid var(--ui-color-border);border-radius:var(--ui-radius-sm);cursor:pointer;padding:0;transition:all var(--ui-transition-fast);color:var(--ui-color-text)}.ui-layout__hamburger:hover{background:var(--ui-color-surface-hover)}.ui-layout__hamburger:focus{outline:none}.ui-layout__hamburger:focus-visible{outline:var(--ui-focus-ring-width) solid var(--ui-focus-ring-color);outline-offset:var(--ui-focus-ring-offset)}.ui-layout__hamburger-line{display:block;width:18px;height:2px;background:currentColor;border-radius:1px}.ui-layout__topbar-logo,.ui-layout__sidebar-logo{display:flex;align-items:center;justify-content:center;width:28px;height:28px;background:var(--ui-color-primary);color:var(--ui-color-primary-contrast);border-radius:var(--ui-radius-md);font-size:var(--ui-font-size-xs);font-weight:var(--ui-font-weight-bold);flex-shrink:0}.ui-layout__topbar-logo-img,.ui-layout__sidebar-logo-img{width:28px;height:28px;border-radius:var(--ui-radius-md);object-fit:contain;flex-shrink:0}.ui-layout__topbar-title{font-size:var(--ui-font-size-sm);font-weight:var(--ui-font-weight-semibold);color:var(--ui-color-text);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.ui-layout__backdrop{display:none;position:fixed;inset:0;background:#0006;z-index:calc(var(--ui-z-modal-backdrop));animation:ui-layout-fade-in var(--ui-transition-fast) ease-out}@media (prefers-reduced-motion: reduce){.ui-layout__backdrop{animation:none}}.ui-layout__backdrop--topbar{display:none}.ui-layout__body{display:flex;flex:1;overflow:hidden}.ui-layout__sidebar{width:260px;min-width:260px;background:var(--ui-color-surface);border-right:1px solid var(--ui-color-border);display:flex;flex-direction:column;transition:width var(--ui-transition-normal),min-width var(--ui-transition-normal);overflow-y:auto;overflow-x:hidden}@media (prefers-reduced-motion: reduce){.ui-layout__sidebar{transition:none}}.ui-layout__sidebar--collapsed{width:60px;min-width:60px}.ui-layout__sidebar--topbar-drawer{display:none}.ui-layout__sidebar-header{display:flex;align-items:center;justify-content:space-between;padding:var(--ui-spacing-4);border-bottom:1px solid var(--ui-color-border);flex-shrink:0}.ui-layout__sidebar--collapsed .ui-layout__sidebar-header{flex-direction:column;align-items:center;gap:var(--ui-spacing-2);padding:var(--ui-spacing-3) var(--ui-spacing-2)}.ui-layout__sidebar-brand{display:flex;align-items:center;gap:var(--ui-spacing-2);min-width:0}.ui-layout__sidebar-title{font-size:var(--ui-font-size-sm);font-weight:var(--ui-font-weight-bold);color:var(--ui-color-text);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.ui-layout__collapse-btn{display:flex;align-items:center;justify-content:center;width:28px;height:28px;padding:0;background:var(--ui-color-surface);border:1px solid var(--ui-color-border);border-radius:var(--ui-radius-full);cursor:pointer;color:var(--ui-color-text-muted);flex-shrink:0;transition:all var(--ui-transition-fast)}.ui-layout__collapse-btn:hover{background:var(--ui-color-surface-hover);color:var(--ui-color-text);border-color:var(--ui-color-text-muted)}.ui-layout__collapse-btn:focus{outline:none}.ui-layout__collapse-btn:focus-visible{outline:var(--ui-focus-ring-width) solid var(--ui-focus-ring-color);outline-offset:var(--ui-focus-ring-offset)}.ui-layout__collapse-icon{transition:transform var(--ui-transition-normal)}.ui-layout__sidebar--collapsed .ui-layout__collapse-icon{transform:rotate(180deg)}@media (prefers-reduced-motion: reduce){.ui-layout__collapse-icon{transition:none}}.ui-layout__close-btn{display:flex;align-items:center;justify-content:center;background:none;border:1px solid var(--ui-color-border);border-radius:var(--ui-radius-sm);cursor:pointer;padding:var(--ui-spacing-1);color:var(--ui-color-text-muted);transition:all var(--ui-transition-fast)}.ui-layout__close-btn:hover{background:var(--ui-color-surface-hover);color:var(--ui-color-text)}.ui-layout__close-btn:focus{outline:none}.ui-layout__close-btn:focus-visible{outline:var(--ui-focus-ring-width) solid var(--ui-focus-ring-color);outline-offset:var(--ui-focus-ring-offset)}.ui-layout__sidebar-nav{flex:1;padding:var(--ui-spacing-3) 0;overflow-y:auto}.ui-layout__nav-section{padding:0 var(--ui-spacing-3);margin-bottom:var(--ui-spacing-4)}.ui-layout__nav-section-title{display:block;font-size:var(--ui-font-size-xs);font-weight:var(--ui-font-weight-semibold);color:var(--ui-color-text);text-transform:uppercase;letter-spacing:.05em;padding:var(--ui-spacing-1) var(--ui-spacing-3);margin-bottom:var(--ui-spacing-1)}.ui-layout__nav-link{display:flex;align-items:center;gap:var(--ui-spacing-2);padding:var(--ui-spacing-2) var(--ui-spacing-3);border-radius:var(--ui-radius-md);color:var(--ui-color-text-secondary);font-size:var(--ui-font-size-sm);font-weight:var(--ui-font-weight-medium);text-decoration:none;transition:all var(--ui-transition-fast);cursor:pointer}.ui-layout__nav-link:hover{background:var(--ui-color-surface-hover);color:var(--ui-color-text);text-decoration:none}.ui-layout__nav-link:focus{outline:none}.ui-layout__nav-link:focus-visible{outline:var(--ui-focus-ring-width) solid var(--ui-focus-ring-color);outline-offset:var(--ui-focus-ring-offset)}.ui-layout__nav-link--active{background:var(--ui-color-primary-light);color:var(--ui-color-primary);font-weight:var(--ui-font-weight-semibold)}.ui-layout__nav-link--parent{width:100%;background:none;border:none;text-align:left;font-family:inherit;justify-content:flex-start}.ui-layout__nav-link--child{font-size:.8rem;padding:.25rem var(--ui-spacing-2)}.ui-layout__nav-icon{flex-shrink:0}.ui-layout__nav-label{flex:1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.ui-layout__nav-external{flex-shrink:0;opacity:.5}.ui-layout__nav-chevron{flex-shrink:0;display:inline-flex;align-items:center;color:var(--ui-color-text-muted);transition:transform var(--ui-transition-fast)}.ui-layout__nav-link--expanded .ui-layout__nav-chevron{transform:rotate(90deg)}.ui-layout__nav-link--active .ui-layout__nav-chevron{color:var(--ui-color-primary)}@media (prefers-reduced-motion: reduce){.ui-layout__nav-chevron{transition:none}}.ui-layout__nav-children{margin-top:var(--ui-spacing-1);margin-left:calc(var(--ui-spacing-3) + 4px);padding-left:var(--ui-spacing-2);border-left:2px solid var(--ui-color-border)}.ui-layout__nav-group-label{display:block;font-size:.65rem;font-weight:600;text-transform:uppercase;letter-spacing:.05em;color:var(--ui-color-text-muted);padding:var(--ui-spacing-1) var(--ui-spacing-2);margin-top:var(--ui-spacing-2)}.ui-layout__nav-group-label:first-child{margin-top:0}.ui-layout__nav-divider{border:none;border-top:1px solid var(--ui-color-border);margin:var(--ui-spacing-2) var(--ui-spacing-3)}.ui-layout__badge{display:inline-flex;align-items:center;justify-content:center;min-width:18px;height:18px;padding:0 var(--ui-spacing-1);border-radius:var(--ui-radius-full);background:var(--ui-color-primary);color:var(--ui-color-primary-contrast);font-size:.65rem;font-weight:var(--ui-font-weight-bold);line-height:1;flex-shrink:0}.ui-layout__sidebar-footer{padding:var(--ui-spacing-3) var(--ui-spacing-4);border-top:1px solid var(--ui-color-border);flex-shrink:0;display:none}.ui-layout__version-badge{display:inline-block;padding:2px 8px;background:var(--ui-color-bg-muted);border-radius:var(--ui-radius-full);font-size:var(--ui-font-size-xs);color:var(--ui-color-text-muted);font-family:var(--ui-font-family-mono)}.ui-layout__content{flex:1;overflow-y:auto;padding:var(--ui-spacing-8);background:var(--ui-color-bg-subtle)}.ui-layout__content:focus{outline:none}.ui-layout__content--fullscreen{padding:0}.ui-layout__content--topbar{flex:1;overflow-y:auto}.ui-layout__content--transitioning{animation:ui-layout-page-enter var(--ui-transition-normal, .25s) ease-out}@media (prefers-reduced-motion: reduce){.ui-layout__content--transitioning{animation:none}}.ui-layout__content-inner{width:100%;min-width:0}.ui-layout__content-inner--boxed{max-width:var(--ui-layout-content-max-width, 1200px);margin-left:auto;margin-right:auto}@keyframes ui-layout-page-enter{0%{opacity:0;filter:blur(4px);transform:translateY(8px)}to{opacity:1;filter:blur(0);transform:translateY(0)}}.ui-layout__page-header{margin-bottom:var(--ui-spacing-5)}.ui-layout__breadcrumb-nav{margin-bottom:var(--ui-spacing-2)}.ui-layout__breadcrumb{display:flex;flex-wrap:wrap;align-items:center;list-style:none;margin:0;padding:0;font-family:var(--ui-font-family);font-size:var(--ui-font-size-sm);line-height:var(--ui-line-height-normal);gap:var(--ui-spacing-1)}.ui-layout__breadcrumb-item{display:inline-flex;align-items:center;gap:var(--ui-spacing-1)}.ui-layout__breadcrumb-link{display:inline-flex;align-items:center;gap:4px;text-decoration:none;color:var(--ui-color-primary);border-radius:var(--ui-radius-sm);padding:2px 4px;margin:-2px -4px;transition:color var(--ui-transition-fast),background-color var(--ui-transition-fast)}.ui-layout__breadcrumb-link:hover{color:var(--ui-color-primary-hover);text-decoration:underline}.ui-layout__breadcrumb-link:focus{outline:none}.ui-layout__breadcrumb-link:focus-visible{outline:var(--ui-focus-ring-width) solid var(--ui-focus-ring-color);outline-offset:var(--ui-focus-ring-offset)}.ui-layout__breadcrumb-link lucide-icon{transform:translateY(2px)}.ui-layout__breadcrumb-text{white-space:nowrap}.ui-layout__breadcrumb-text--current{font-weight:var(--ui-font-weight-medium);color:var(--ui-color-text)}.ui-layout__breadcrumb-sep{display:inline-flex;align-items:center;color:var(--ui-color-text-muted);flex-shrink:0}.ui-layout__breadcrumb-sep lucide-icon{transform:translateY(3px)}.ui-layout__page-title{margin:0;font-family:var(--ui-font-family);font-size:var(--ui-font-size-2xl);font-weight:var(--ui-font-weight-bold);color:var(--ui-color-text);line-height:var(--ui-line-height-tight)}.ui-layout__page-title:focus{outline:none}.ui-layout__footer{display:flex;align-items:center;justify-content:center;gap:var(--ui-spacing-4);padding:var(--ui-spacing-3) var(--ui-spacing-4);background:var(--ui-color-surface);border-top:1px solid var(--ui-color-border);flex-shrink:0;flex-wrap:wrap}.ui-layout__footer-links{display:flex;gap:var(--ui-spacing-3);flex-wrap:wrap}.ui-layout__footer-link{display:inline-flex;align-items:center;gap:4px;color:var(--ui-color-text-muted);font-size:var(--ui-font-size-xs);text-decoration:none;transition:color var(--ui-transition-fast)}.ui-layout__footer-link:hover{color:var(--ui-color-primary);text-decoration:underline}.ui-layout__footer-link:focus{outline:none}.ui-layout__footer-link:focus-visible{outline:var(--ui-focus-ring-width) solid var(--ui-focus-ring-color);outline-offset:var(--ui-focus-ring-offset)}.ui-layout__footer-text{font-size:var(--ui-font-size-xs);color:var(--ui-color-text);font-family:var(--ui-font-family-mono)}.ui-layout__fab{position:fixed;bottom:var(--ui-spacing-6);right:var(--ui-spacing-6);z-index:var(--ui-z-fixed);display:flex;flex-direction:column-reverse;align-items:center;gap:var(--ui-spacing-3)}.ui-layout__fab--bottom-left{right:auto;left:var(--ui-spacing-6)}.ui-layout__fab-main{width:56px;height:56px;border-radius:var(--ui-radius-full);border:none;cursor:pointer;display:flex;align-items:center;justify-content:center;box-shadow:var(--ui-shadow-lg);transition:all var(--ui-transition-fast)}.ui-layout__fab-main--primary{background:var(--ui-color-primary);color:var(--ui-color-primary-contrast)}.ui-layout__fab-main--primary:hover{filter:brightness(1.1)}.ui-layout__fab-main--accent{background:var(--ui-color-accent, var(--ui-color-primary));color:var(--ui-color-primary-contrast)}.ui-layout__fab-main--accent:hover{filter:brightness(1.1)}.ui-layout__fab-main--warn{background:var(--ui-color-warn, #ef4444);color:#fff}.ui-layout__fab-main--warn:hover{filter:brightness(1.1)}.ui-layout__fab-main--neutral{background:var(--ui-color-surface);color:var(--ui-color-text);border:1px solid var(--ui-color-border)}.ui-layout__fab-main--neutral:hover{background:var(--ui-color-surface-hover)}.ui-layout__fab-main:focus{outline:none}.ui-layout__fab-main:focus-visible{outline:var(--ui-focus-ring-width) solid var(--ui-focus-ring-color);outline-offset:var(--ui-focus-ring-offset)}.ui-layout__fab-main-icon{transition:transform var(--ui-transition-fast)}.ui-layout__fab--open .ui-layout__fab-main-icon{transform:rotate(45deg)}@media (prefers-reduced-motion: reduce){.ui-layout__fab-main-icon{transition:none}}.ui-layout__fab-actions{display:flex;flex-direction:column-reverse;align-items:center;gap:var(--ui-spacing-2)}.ui-layout__fab-action{width:44px;height:44px;border-radius:var(--ui-radius-full);border:none;cursor:pointer;display:flex;align-items:center;justify-content:center;position:relative;box-shadow:var(--ui-shadow-md);animation:ui-layout-fab-pop-in var(--ui-transition-fast) ease-out both;transition:all var(--ui-transition-fast)}.ui-layout__fab-action--primary{background:var(--ui-color-primary);color:var(--ui-color-primary-contrast)}.ui-layout__fab-action--accent{background:var(--ui-color-accent, var(--ui-color-primary));color:var(--ui-color-primary-contrast)}.ui-layout__fab-action--warn{background:var(--ui-color-warn, #ef4444);color:#fff}.ui-layout__fab-action--neutral,.ui-layout__fab-action--ghost,.ui-layout__fab-action--outline{background:var(--ui-color-surface);color:var(--ui-color-text);border:1px solid var(--ui-color-border)}.ui-layout__fab-action:hover{filter:brightness(1.1)}.ui-layout__fab-action:focus{outline:none}.ui-layout__fab-action:focus-visible{outline:var(--ui-focus-ring-width) solid var(--ui-focus-ring-color);outline-offset:var(--ui-focus-ring-offset)}@media (prefers-reduced-motion: reduce){.ui-layout__fab-action{animation:none}}.ui-layout__fab-action-label{position:absolute;right:calc(100% + var(--ui-spacing-2));white-space:nowrap;background:var(--ui-color-neutral-900);color:#fff;font-size:var(--ui-font-size-xs);padding:var(--ui-spacing-1) var(--ui-spacing-2);border-radius:var(--ui-radius-sm);pointer-events:none;box-shadow:var(--ui-shadow-sm)}.ui-layout__fab--bottom-left .ui-layout__fab-action-label{right:auto;left:calc(100% + var(--ui-spacing-2))}@keyframes ui-layout-fab-pop-in{0%{opacity:0;transform:scale(.3) translateY(10px)}to{opacity:1;transform:scale(1) translateY(0)}}.ui-layout__bottom-nav{display:none;position:fixed;bottom:0;left:0;right:0;height:56px;padding-bottom:env(safe-area-inset-bottom,0);background:var(--ui-color-surface);border-top:1px solid var(--ui-color-border);z-index:var(--ui-z-fixed);justify-content:space-around;align-items:stretch}.ui-layout__bottom-nav-item{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;flex:1;color:var(--ui-color-text-muted);text-decoration:none;font-size:.65rem;font-weight:var(--ui-font-weight-medium);padding:var(--ui-spacing-1) 0;position:relative;transition:color var(--ui-transition-fast)}.ui-layout__bottom-nav-item:hover{color:var(--ui-color-text)}.ui-layout__bottom-nav-item--active{color:var(--ui-color-primary);font-weight:var(--ui-font-weight-semibold)}.ui-layout__bottom-nav-item:focus{outline:none}.ui-layout__bottom-nav-item:focus-visible{outline:var(--ui-focus-ring-width) solid var(--ui-focus-ring-color);outline-offset:var(--ui-focus-ring-offset)}.ui-layout__bottom-nav-label{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:64px;text-align:center}.ui-layout__desktop-only{display:initial}.ui-layout__mobile-only{display:none}.ui-layout__bar-stack{display:flex;flex-direction:column;flex-shrink:0}.ui-layout__bar{display:flex;align-items:center;padding:0 var(--ui-spacing-4);font-size:var(--ui-font-size-sm)}.ui-layout__bar--notification{min-height:44px;gap:var(--ui-spacing-2);justify-content:center;font-weight:var(--ui-font-weight-medium)}.ui-layout__bar--notification-primary{background:var(--ui-color-primary);color:var(--ui-color-primary-contrast)}.ui-layout__bar--notification-accent{background:var(--ui-color-accent, var(--ui-color-primary));color:var(--ui-color-primary-contrast)}.ui-layout__bar--notification-warn{background:var(--ui-color-warn, #ef4444);color:#fff}.ui-layout__bar--notification-neutral{background:var(--ui-color-surface);color:var(--ui-color-text);border-bottom:1px solid var(--ui-color-border)}.ui-layout__bar--notification-ghost,.ui-layout__bar--notification-outline{background:var(--ui-color-bg-muted);color:var(--ui-color-text);border-bottom:1px solid var(--ui-color-border)}.ui-layout__bar--brand{min-height:56px;justify-content:space-between;background:var(--ui-color-surface);border-bottom:1px solid var(--ui-color-border);gap:var(--ui-spacing-4)}.ui-layout__bar--navigation{position:relative;min-height:44px;background:var(--ui-color-surface);border-bottom:1px solid var(--ui-color-border);gap:var(--ui-spacing-1);overflow-x:auto;overflow-y:hidden;flex-wrap:nowrap;scrollbar-width:none;-webkit-overflow-scrolling:touch;mask-image:linear-gradient(to right,transparent 0,black var(--ui-spacing-4),black calc(100% - var(--ui-spacing-4)),transparent 100%)}.ui-layout__bar--navigation::-webkit-scrollbar{display:none}.ui-layout__bar--links{min-height:36px;background:var(--ui-color-bg-muted);border-bottom:1px solid var(--ui-color-border);gap:var(--ui-spacing-3);font-size:var(--ui-font-size-xs)}.ui-layout__bar-text{flex:1;text-align:center}.ui-layout__bar-dismiss{display:flex;align-items:center;justify-content:center;background:none;border:none;cursor:pointer;padding:var(--ui-spacing-1);border-radius:var(--ui-radius-sm);color:inherit;opacity:.8;transition:opacity var(--ui-transition-fast)}.ui-layout__bar-dismiss:hover{opacity:1}.ui-layout__bar-dismiss:focus{outline:none}.ui-layout__bar-dismiss:focus-visible{outline:var(--ui-focus-ring-width) solid var(--ui-focus-ring-color);outline-offset:var(--ui-focus-ring-offset)}.ui-layout__bar-brand-left{display:flex;align-items:center;gap:var(--ui-spacing-3);min-width:0}.ui-layout__bar-logo,.ui-layout__bar-logo-img{width:32px;height:32px;border-radius:var(--ui-radius-md);flex-shrink:0}.ui-layout__bar-logo{display:flex;align-items:center;justify-content:center;background:var(--ui-color-primary);color:var(--ui-color-primary-contrast);font-size:var(--ui-font-size-xs);font-weight:var(--ui-font-weight-bold)}.ui-layout__bar-logo-img{object-fit:contain}.ui-layout__bar-title{font-size:var(--ui-font-size-base);font-weight:var(--ui-font-weight-bold);color:var(--ui-color-text);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.ui-layout__topbar-hamburger{display:none}.ui-layout__user-dropdown{position:relative}.ui-layout__user-dropdown-trigger{display:flex;align-items:center;gap:var(--ui-spacing-2);padding:var(--ui-spacing-1) var(--ui-spacing-2);background:none;border:1px solid var(--ui-color-border);border-radius:var(--ui-radius-md);cursor:pointer;font-family:inherit;font-size:var(--ui-font-size-sm);color:var(--ui-color-text);transition:all var(--ui-transition-fast)}.ui-layout__user-dropdown-trigger:hover{background:var(--ui-color-surface-hover)}.ui-layout__user-dropdown-trigger:focus{outline:none}.ui-layout__user-dropdown-trigger:focus-visible{outline:var(--ui-focus-ring-width) solid var(--ui-focus-ring-color);outline-offset:var(--ui-focus-ring-offset)}.ui-layout__user-avatar{width:28px;height:28px;border-radius:var(--ui-radius-full);object-fit:cover}.ui-layout__user-label{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:120px}.ui-layout__user-chevron{transition:transform var(--ui-transition-fast);color:var(--ui-color-text-muted)}[aria-expanded=true] .ui-layout__user-chevron{transform:rotate(180deg)}.ui-layout__user-dropdown-menu{position:absolute;top:calc(100% + var(--ui-spacing-1));right:0;min-width:180px;background:var(--ui-color-surface);border:1px solid var(--ui-color-border);border-radius:var(--ui-radius-md);box-shadow:var(--ui-shadow-md);padding:var(--ui-spacing-1) 0;z-index:var(--ui-z-dropdown);animation:ui-layout-fade-in var(--ui-transition-fast) ease-out}.ui-layout__user-dropdown-item{display:flex;align-items:center;gap:var(--ui-spacing-2);width:100%;padding:var(--ui-spacing-2) var(--ui-spacing-3);background:none;border:none;cursor:pointer;font-family:inherit;font-size:var(--ui-font-size-sm);color:var(--ui-color-text);text-decoration:none;text-align:left;transition:background var(--ui-transition-fast)}.ui-layout__user-dropdown-item:hover{background:var(--ui-color-surface-hover)}.ui-layout__user-dropdown-item:focus{outline:none}.ui-layout__user-dropdown-item:focus-visible{outline:var(--ui-focus-ring-width) solid var(--ui-focus-ring-color);outline-offset:var(--ui-focus-ring-offset)}.ui-layout__user-dropdown-divider{border:none;border-top:1px solid var(--ui-color-border);margin:var(--ui-spacing-1) 0}.ui-layout__hnav-link{display:flex;align-items:center;gap:var(--ui-spacing-2);padding:var(--ui-spacing-2) var(--ui-spacing-3);border-radius:var(--ui-radius-md);color:var(--ui-color-text-secondary);font-size:var(--ui-font-size-sm);font-weight:var(--ui-font-weight-medium);text-decoration:none;transition:all var(--ui-transition-fast);cursor:pointer;white-space:nowrap;background:none;border:none;font-family:inherit}.ui-layout__hnav-link:hover{background:var(--ui-color-surface-hover);color:var(--ui-color-text)}.ui-layout__hnav-link:focus{outline:none}.ui-layout__hnav-link:focus-visible{outline:var(--ui-focus-ring-width) solid var(--ui-focus-ring-color);outline-offset:var(--ui-focus-ring-offset)}.ui-layout__hnav-link--active{color:var(--ui-color-primary);font-weight:var(--ui-font-weight-semibold)}.ui-layout__hnav-link--parent{cursor:pointer}.ui-layout__hnav-link lucide-icon{transform:translateY(3px)}.ui-layout__hnav-chevron{transition:transform var(--ui-transition-fast)}.ui-layout__hnav-dropdown--open .ui-layout__hnav-chevron{transform:rotate(180deg)}.ui-layout__hnav-dropdown{position:relative}.ui-layout__hnav-dropdown-menu{position:absolute;top:calc(100% + var(--ui-spacing-1));left:0;min-width:200px;max-height:400px;overflow-y:auto;background:var(--ui-color-surface);border:1px solid var(--ui-color-border);border-radius:var(--ui-radius-md);box-shadow:var(--ui-shadow-md);padding:var(--ui-spacing-2);z-index:var(--ui-z-dropdown);animation:ui-layout-fade-in var(--ui-transition-fast) ease-out}.ui-layout__hnav-dropdown-label{display:block;font-size:.65rem;font-weight:600;text-transform:uppercase;letter-spacing:.05em;color:var(--ui-color-text-muted);padding:var(--ui-spacing-1) var(--ui-spacing-2);margin-top:var(--ui-spacing-2)}.ui-layout__hnav-dropdown-label:first-child{margin-top:0}.ui-layout__hnav-dropdown-item{display:block;padding:var(--ui-spacing-1) var(--ui-spacing-2);border-radius:var(--ui-radius-sm);font-size:var(--ui-font-size-sm);color:var(--ui-color-text-secondary);text-decoration:none;transition:all var(--ui-transition-fast)}.ui-layout__hnav-dropdown-item:hover{background:var(--ui-color-surface-hover);color:var(--ui-color-text)}.ui-layout__hnav-dropdown-item--active{color:var(--ui-color-primary);font-weight:var(--ui-font-weight-semibold)}.ui-layout__hnav-dropdown-item:focus{outline:none}.ui-layout__hnav-dropdown-item:focus-visible{outline:var(--ui-focus-ring-width) solid var(--ui-focus-ring-color);outline-offset:var(--ui-focus-ring-offset)}.ui-layout__bar-link{display:inline-flex;align-items:center;gap:4px;color:var(--ui-color-text-muted);text-decoration:none;transition:color var(--ui-transition-fast)}.ui-layout__bar-link:hover{color:var(--ui-color-primary)}.ui-layout__bar-link:focus{outline:none}.ui-layout__bar-link:focus-visible{outline:var(--ui-focus-ring-width) solid var(--ui-focus-ring-color);outline-offset:var(--ui-focus-ring-offset)}.ui-layout__bar-link lucide-icon{transform:translateY(3px)}@media (max-width: 767px){.ui-layout__sidebar-footer{display:block}.ui-layout__topbar{display:flex}.ui-layout:not(.ui-layout--topbar){padding-top:56px}.ui-layout__backdrop,.ui-layout__backdrop--topbar{display:block}.ui-layout__sidebar{position:fixed;top:0;left:0;bottom:0;width:300px;min-width:300px;transform:translate(-100%);transition:transform var(--ui-transition-normal);z-index:var(--ui-z-modal)}.ui-layout__sidebar--open{transform:translate(0)}.ui-layout__sidebar--collapsed{width:300px;min-width:300px}.ui-layout__sidebar--collapsed .ui-layout__sidebar-header{flex-direction:row;align-items:center;gap:0;padding:var(--ui-spacing-4)}.ui-layout__sidebar--topbar-drawer{display:flex}}@media (max-width: 767px) and (prefers-reduced-motion: reduce){.ui-layout__sidebar{transition:none}}@media (max-width: 767px){.ui-layout__desktop-only{display:none!important}.ui-layout__mobile-only{display:initial!important}.ui-layout__content{padding:var(--ui-spacing-4)}.ui-layout__content--fullscreen{padding:0}.ui-layout__bottom-nav{display:flex}.ui-layout__fab{bottom:calc(var(--ui-spacing-4) + 56px + env(safe-area-inset-bottom,0))}.ui-layout__topbar-hamburger{display:flex}.ui-layout__bar--navigation,.ui-layout__bar--links,.ui-layout__user-label{display:none}.ui-layout__page-title{font-size:var(--ui-font-size-xl)}.ui-layout__breadcrumb{font-size:var(--ui-font-size-xs)}}@media (min-width: 768px) and (max-width: 1023px){.ui-layout__sidebar:not(.ui-layout__sidebar--topbar-drawer){position:fixed;top:0;left:0;bottom:0;width:300px;min-width:300px;transform:translate(-100%);transition:transform var(--ui-transition-normal);z-index:var(--ui-z-modal)}.ui-layout__sidebar:not(.ui-layout__sidebar--topbar-drawer).ui-layout__sidebar--open{transform:translate(0)}}@media (min-width: 768px) and (max-width: 1023px) and (prefers-reduced-motion: reduce){.ui-layout__sidebar:not(.ui-layout__sidebar--topbar-drawer){transition:none}}@media (min-width: 768px) and (max-width: 1023px){.ui-layout__topbar{display:flex}.ui-layout:not(.ui-layout--topbar){padding-top:56px}.ui-layout__backdrop,.ui-layout__backdrop--topbar{display:block}.ui-layout__desktop-only{display:none!important}.ui-layout__mobile-only{display:initial!important}.ui-layout__content{padding:var(--ui-spacing-6)}.ui-layout__content--fullscreen{padding:0}.ui-layout__topbar-hamburger{display:flex}.ui-layout__sidebar--topbar-drawer{display:flex;position:fixed;top:0;left:0;bottom:0;width:300px;min-width:300px;transform:translate(-100%);transition:transform var(--ui-transition-normal);z-index:var(--ui-z-modal)}.ui-layout__sidebar--topbar-drawer.ui-layout__sidebar--open{transform:translate(0)}}@media (min-width: 768px) and (max-width: 1023px) and (prefers-reduced-motion: reduce){.ui-layout__sidebar--topbar-drawer{transition:none}}.ui-layout--slotted{display:flex;flex-direction:column;min-height:100vh;min-height:100dvh}.ui-layout__slotted-header{flex-shrink:0;width:100%}.ui-layout--slotted .ui-layout__content--slotted{flex:1}.ui-layout__slotted-footer{flex-shrink:0;width:100%}\n"] }]
|
|
2029
|
+
}], propDecorators: { schema: [{
|
|
2030
|
+
type: Input,
|
|
2031
|
+
args: [{ required: true }]
|
|
2032
|
+
}], onEscape: [{
|
|
2033
|
+
type: HostListener,
|
|
2034
|
+
args: ['document:keydown.escape']
|
|
2035
|
+
}], onDocumentClick: [{
|
|
2036
|
+
type: HostListener,
|
|
2037
|
+
args: ['document:click', ['$event']]
|
|
2038
|
+
}] } });
|
|
2039
|
+
|
|
2040
|
+
/**
|
|
2041
|
+
* ng-ui-system — Layout Builder entry point.
|
|
2042
|
+
*
|
|
2043
|
+
* @example
|
|
2044
|
+
* ```typescript
|
|
2045
|
+
* import {
|
|
2046
|
+
* UiLayoutBuilderComponent,
|
|
2047
|
+
* UiLayoutService,
|
|
2048
|
+
* UiLayoutSchema,
|
|
2049
|
+
* UiNavItem,
|
|
2050
|
+
* } from 'ng-ui-system';
|
|
2051
|
+
* ```
|
|
2052
|
+
*/
|
|
2053
|
+
// Components
|
|
2054
|
+
|
|
2055
|
+
/**
|
|
2056
|
+
* Bootstrap del secondary entry `@gnggln/ng-ui-system/layout-builder`. Layout Builder.
|
|
2057
|
+
*/
|
|
2058
|
+
|
|
2059
|
+
/**
|
|
2060
|
+
* Generated bundle index. Do not edit.
|
|
2061
|
+
*/
|
|
2062
|
+
|
|
2063
|
+
export { UiLayoutBuilderComponent, UiLayoutService };
|
|
2064
|
+
//# sourceMappingURL=gnggln-ng-ui-system-layout-builder.mjs.map
|