@edsis/angular 22.1.6 → 22.2.10
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/LICENSE +21 -0
- package/README.md +87 -399
- package/SECURITY.md +18 -0
- package/SUPPORT.md +15 -0
- package/chart/README.md +275 -0
- package/component/README.md +89 -0
- package/component/accordion/README.md +195 -0
- package/component/alert/README.md +184 -0
- package/component/alert-dialog/README.md +255 -0
- package/component/aspect-ratio/README.md +116 -0
- package/component/avatar/README.md +182 -0
- package/component/badge/README.md +143 -0
- package/component/breadcrumb/README.md +223 -0
- package/component/button/README.md +141 -0
- package/component/button-group/README.md +214 -0
- package/component/calendar/README.md +125 -0
- package/component/card/README.md +232 -0
- package/component/carousel/README.md +276 -0
- package/component/checkbox/README.md +153 -0
- package/component/collapsible/README.md +216 -0
- package/component/combobox/README.md +202 -0
- package/component/command/README.md +287 -0
- package/component/composer/README.md +241 -0
- package/component/context-menu/README.md +268 -0
- package/component/date-picker/README.md +202 -0
- package/component/dialog/README.md +276 -0
- package/component/drawer/README.md +146 -0
- package/component/dropdown-menu/README.md +336 -0
- package/component/editor/README.md +152 -0
- package/component/empty/README.md +193 -0
- package/component/form/README.md +216 -0
- package/component/hover-card/README.md +150 -0
- package/component/icon/README.md +52 -0
- package/component/input/README.md +160 -0
- package/component/input-group/README.md +245 -0
- package/component/input-otp/README.md +331 -0
- package/component/item/README.md +254 -0
- package/component/kanban/README.md +81 -0
- package/component/kbd/README.md +141 -0
- package/component/label/README.md +137 -0
- package/component/menubar/README.md +270 -0
- package/component/native-select/README.md +176 -0
- package/component/navigation-menu/README.md +165 -0
- package/component/pagination/README.md +151 -0
- package/component/pillbox/README.md +68 -0
- package/component/popover/README.md +54 -0
- package/component/progress/README.md +160 -0
- package/component/radio/README.md +212 -0
- package/component/resizable/README.md +178 -0
- package/component/scroll-area/README.md +150 -0
- package/component/select/README.md +228 -0
- package/component/separator/README.md +175 -0
- package/component/sheet/README.md +190 -0
- package/component/skeleton/README.md +158 -0
- package/component/slider/README.md +207 -0
- package/component/spinner/README.md +160 -0
- package/component/switch/README.md +170 -0
- package/component/table/README.md +292 -0
- package/component/tabs/README.md +220 -0
- package/component/textarea/README.md +169 -0
- package/component/timeline/README.md +94 -0
- package/component/toast/README.md +173 -0
- package/component/toggle/README.md +133 -0
- package/component/toggle-group/README.md +234 -0
- package/component/tooltip/README.md +230 -0
- package/fesm2022/edsis-angular-chart-area.mjs +508 -0
- package/fesm2022/edsis-angular-chart-bar.mjs +946 -0
- package/fesm2022/edsis-angular-chart-core.mjs +1319 -0
- package/fesm2022/edsis-angular-chart-line.mjs +544 -0
- package/fesm2022/edsis-angular-chart-pie.mjs +531 -0
- package/fesm2022/edsis-angular-chart-primitives.mjs +1647 -0
- package/fesm2022/edsis-angular-chart-radar.mjs +693 -0
- package/fesm2022/edsis-angular-chart-radial.mjs +542 -0
- package/fesm2022/edsis-angular-chart-scatter.mjs +486 -0
- package/fesm2022/edsis-angular-chart.mjs +3 -0
- package/fesm2022/edsis-angular-component-accordion.mjs +513 -0
- package/fesm2022/edsis-angular-component-alert-dialog.mjs +1001 -0
- package/fesm2022/edsis-angular-component-alert.mjs +268 -0
- package/fesm2022/edsis-angular-component-aspect-ratio.mjs +80 -0
- package/fesm2022/edsis-angular-component-avatar.mjs +410 -0
- package/fesm2022/edsis-angular-component-badge.mjs +111 -0
- package/fesm2022/edsis-angular-component-breadcrumb.mjs +464 -0
- package/fesm2022/edsis-angular-component-button-group.mjs +252 -0
- package/fesm2022/edsis-angular-component-button.mjs +155 -0
- package/fesm2022/edsis-angular-component-calendar.mjs +835 -0
- package/fesm2022/edsis-angular-component-card.mjs +460 -0
- package/fesm2022/edsis-angular-component-carousel.mjs +700 -0
- package/fesm2022/edsis-angular-component-checkbox.mjs +398 -0
- package/fesm2022/edsis-angular-component-collapsible.mjs +305 -0
- package/fesm2022/edsis-angular-component-combobox.mjs +544 -0
- package/fesm2022/edsis-angular-component-command.mjs +815 -0
- package/fesm2022/edsis-angular-component-composer.mjs +840 -0
- package/fesm2022/edsis-angular-component-context-menu.mjs +197 -0
- package/fesm2022/edsis-angular-component-date-picker.mjs +798 -0
- package/fesm2022/edsis-angular-component-dialog.mjs +798 -0
- package/fesm2022/edsis-angular-component-drawer.mjs +1 -0
- package/fesm2022/edsis-angular-component-dropdown-menu.mjs +1259 -0
- package/fesm2022/edsis-angular-component-editor.mjs +1000 -0
- package/fesm2022/edsis-angular-component-empty.mjs +351 -0
- package/fesm2022/edsis-angular-component-form.mjs +821 -0
- package/fesm2022/edsis-angular-component-hover-card.mjs +486 -0
- package/fesm2022/edsis-angular-component-icon.mjs +253 -0
- package/fesm2022/edsis-angular-component-input-group.mjs +453 -0
- package/fesm2022/edsis-angular-component-input-otp.mjs +957 -0
- package/fesm2022/edsis-angular-component-input.mjs +87 -0
- package/fesm2022/edsis-angular-component-item.mjs +720 -0
- package/fesm2022/edsis-angular-component-kanban.mjs +812 -0
- package/fesm2022/edsis-angular-component-kbd.mjs +124 -0
- package/fesm2022/edsis-angular-component-label.mjs +82 -0
- package/fesm2022/edsis-angular-component-menubar.mjs +481 -0
- package/fesm2022/edsis-angular-component-native-select.mjs +168 -0
- package/fesm2022/edsis-angular-component-navigation-menu.mjs +685 -0
- package/fesm2022/edsis-angular-component-pagination.mjs +425 -0
- package/fesm2022/edsis-angular-component-pillbox.mjs +1679 -0
- package/fesm2022/edsis-angular-component-popover.mjs +292 -0
- package/fesm2022/edsis-angular-component-progress.mjs +184 -0
- package/fesm2022/edsis-angular-component-radio.mjs +491 -0
- package/fesm2022/edsis-angular-component-resizable.mjs +703 -0
- package/fesm2022/edsis-angular-component-scroll-area.mjs +133 -0
- package/fesm2022/edsis-angular-component-segmented-control.mjs +408 -0
- package/fesm2022/edsis-angular-component-select.mjs +743 -0
- package/fesm2022/edsis-angular-component-separator.mjs +102 -0
- package/fesm2022/edsis-angular-component-sheet.mjs +874 -0
- package/fesm2022/edsis-angular-component-skeleton.mjs +62 -0
- package/fesm2022/edsis-angular-component-slider.mjs +676 -0
- package/fesm2022/edsis-angular-component-spinner.mjs +157 -0
- package/fesm2022/edsis-angular-component-switch.mjs +361 -0
- package/fesm2022/edsis-angular-component-table.mjs +446 -0
- package/fesm2022/edsis-angular-component-tabs.mjs +592 -0
- package/fesm2022/edsis-angular-component-textarea.mjs +85 -0
- package/fesm2022/edsis-angular-component-timeline.mjs +619 -0
- package/fesm2022/edsis-angular-component-toast.mjs +231 -0
- package/fesm2022/edsis-angular-component-toggle-group.mjs +579 -0
- package/fesm2022/edsis-angular-component-toggle.mjs +189 -0
- package/fesm2022/edsis-angular-component-tooltip.mjs +804 -0
- package/fesm2022/edsis-angular-component-utils-core.mjs +181 -0
- package/fesm2022/edsis-angular-component-utils-overlay.mjs +54 -0
- package/fesm2022/edsis-angular-component-utils-scale.mjs +76 -0
- package/fesm2022/edsis-angular-component-utils.mjs +2 -0
- package/fesm2022/edsis-angular-component.mjs +0 -0
- package/fesm2022/edsis-angular-navigation-core.mjs +15 -0
- package/fesm2022/edsis-angular-navigation-icon.mjs +35 -0
- package/fesm2022/edsis-angular-navigation-navigation-badge-count.component-D70Ju6_f.mjs +234 -0
- package/fesm2022/edsis-angular-navigation-navigation-dockbar-menu.component-BaFnh48V.mjs +834 -0
- package/fesm2022/edsis-angular-navigation-navigation-entry-grid.component-D39W0FQZ.mjs +823 -0
- package/fesm2022/edsis-angular-navigation-navigation-flyout-menu.component-CpmsY8hb.mjs +670 -0
- package/fesm2022/edsis-angular-navigation-navigation-horizontal.component-D35IfX6r.mjs +689 -0
- package/fesm2022/edsis-angular-navigation-navigation-item.component-X6JFy-ya.mjs +1522 -0
- package/fesm2022/edsis-angular-navigation-navigation-list.component-D6Ms8H5g.mjs +346 -0
- package/fesm2022/edsis-angular-navigation-service.mjs +558 -0
- package/fesm2022/edsis-angular-navigation-types.mjs +151 -0
- package/fesm2022/edsis-angular-navigation.mjs +3338 -0
- package/fesm2022/edsis-angular-sdk.mjs +100 -0
- package/fesm2022/edsis-angular-theme-component-settings.mjs +1863 -0
- package/fesm2022/edsis-angular-theme-layout-services.mjs +252 -0
- package/fesm2022/edsis-angular-theme-layout-types.mjs +45 -0
- package/fesm2022/edsis-angular-theme-layout-wrapper.mjs +2568 -0
- package/fesm2022/edsis-angular-theme-layout.mjs +1089 -0
- package/fesm2022/edsis-angular-theme-on-fill.mjs +89 -0
- package/fesm2022/edsis-angular-theme-page-core.mjs +315 -0
- package/fesm2022/edsis-angular-theme-page-filter.mjs +409 -0
- package/fesm2022/edsis-angular-theme-page-overview.mjs +88 -0
- package/fesm2022/edsis-angular-theme-page-root.mjs +693 -0
- package/fesm2022/edsis-angular-theme-page-side.mjs +342 -0
- package/fesm2022/edsis-angular-theme-page-slots.mjs +258 -0
- package/fesm2022/edsis-angular-theme-page.mjs +7 -0
- package/fesm2022/edsis-angular-theme-shell-services.mjs +231 -0
- package/fesm2022/edsis-angular-theme-shell-types.mjs +102 -0
- package/fesm2022/edsis-angular-theme-shell.mjs +1352 -0
- package/fesm2022/edsis-angular-theme-styles.mjs +605 -0
- package/fesm2022/edsis-angular-theme.mjs +0 -0
- package/fesm2022/edsis-angular.mjs +5 -8
- package/navigation/README.md +576 -0
- package/package.json +481 -52
- package/sdk/README.md +212 -0
- package/sdk/schematics/collection.json +20 -0
- package/sdk/schematics/init/index.js +83 -0
- package/sdk/schematics/init/schema.json +19 -0
- package/sdk/schematics/ng-add/index.js +147 -0
- package/sdk/schematics/ng-add/schema.json +14 -0
- package/sdk/schematics/package.json +3 -0
- package/sdk/schematics/sdk/index.js +175 -0
- package/sdk/schematics/sdk/schema.json +19 -0
- package/sdk/sdk.config.example.json +24 -0
- package/sdk/src/config/loader.js +43 -0
- package/sdk/src/config/schema.js +59 -0
- package/sdk/src/emit/client.js +251 -0
- package/sdk/src/emit/metadata.js +310 -0
- package/sdk/src/emit/models.js +104 -0
- package/sdk/src/emit/navigation.js +56 -0
- package/sdk/src/emit/operations.js +118 -0
- package/sdk/src/emit/public-api.js +54 -0
- package/sdk/src/emit/services.js +110 -0
- package/sdk/src/engine.js +67 -0
- package/sdk/src/layout/per-domain.js +360 -0
- package/sdk/src/package.json +3 -0
- package/sdk/src/parser/bundle.js +25 -0
- package/sdk/src/parser/ir.js +429 -0
- package/sdk/src/parser/types.js +7 -0
- package/sdk/src/render/template.js +152 -0
- package/sdk/src/writer/index.js +286 -0
- package/theme/README.md +120 -0
- package/theme/component/settings/README.md +154 -0
- package/theme/layout/README.md +604 -0
- package/theme/page/README.md +505 -0
- package/theme/shell/README.md +344 -0
- package/theme/styles/README.md +251 -0
- package/theme/styles/css/base/components.css +577 -0
- package/theme/styles/css/base/index.css +14 -0
- package/theme/styles/css/base/on-fill.css +153 -0
- package/theme/styles/css/base/package.css +10 -0
- package/theme/styles/css/base/prefers-dark.css +81 -0
- package/theme/styles/css/base/print.css +62 -0
- package/theme/styles/css/base/status.css +38 -0
- package/theme/styles/css/base/tailwind.css +208 -0
- package/theme/styles/css/base/theme.css +306 -0
- package/theme/styles/css/base/tokens.css +388 -0
- package/theme/styles/css/color/amber.css +72 -0
- package/theme/styles/css/color/blue.css +72 -0
- package/theme/styles/css/color/brand.css +38 -0
- package/theme/styles/css/color/cyan.css +72 -0
- package/theme/styles/css/color/emerald.css +72 -0
- package/theme/styles/css/color/fuchsia.css +72 -0
- package/theme/styles/css/color/green.css +72 -0
- package/theme/styles/css/color/index.css +19 -0
- package/theme/styles/css/color/indigo.css +72 -0
- package/theme/styles/css/color/lime.css +72 -0
- package/theme/styles/css/color/orange.css +72 -0
- package/theme/styles/css/color/pink.css +72 -0
- package/theme/styles/css/color/purple.css +72 -0
- package/theme/styles/css/color/red.css +72 -0
- package/theme/styles/css/color/rose.css +72 -0
- package/theme/styles/css/color/sky.css +72 -0
- package/theme/styles/css/color/teal.css +72 -0
- package/theme/styles/css/color/violet.css +72 -0
- package/theme/styles/css/color/yellow.css +72 -0
- package/theme/styles/css/fonts.css +85 -0
- package/theme/styles/css/index.css +18 -0
- package/theme/styles/css/neutral/gray.css +63 -0
- package/theme/styles/css/neutral/index.css +11 -0
- package/theme/styles/css/neutral/mauve.css +63 -0
- package/theme/styles/css/neutral/mist.css +63 -0
- package/theme/styles/css/neutral/neutral.css +63 -0
- package/theme/styles/css/neutral/olive.css +63 -0
- package/theme/styles/css/neutral/slate.css +63 -0
- package/theme/styles/css/neutral/stone.css +63 -0
- package/theme/styles/css/neutral/taupe.css +63 -0
- package/theme/styles/css/neutral/zinc.css +63 -0
- package/theme/styles/css/radius/index.css +30 -0
- package/theme/styles/css/space/index.css +20 -0
- package/types/edsis-angular-chart-area.d.ts +139 -0
- package/types/edsis-angular-chart-bar.d.ts +291 -0
- package/types/edsis-angular-chart-core.d.ts +824 -0
- package/types/edsis-angular-chart-line.d.ts +148 -0
- package/types/edsis-angular-chart-pie.d.ts +207 -0
- package/types/edsis-angular-chart-primitives.d.ts +360 -0
- package/types/edsis-angular-chart-radar.d.ts +198 -0
- package/types/edsis-angular-chart-radial.d.ts +187 -0
- package/types/edsis-angular-chart-scatter.d.ts +181 -0
- package/types/edsis-angular-chart.d.ts +3 -0
- package/types/edsis-angular-component-accordion.d.ts +139 -0
- package/types/edsis-angular-component-alert-dialog.d.ts +288 -0
- package/types/edsis-angular-component-alert.d.ts +72 -0
- package/types/edsis-angular-component-aspect-ratio.d.ts +20 -0
- package/types/edsis-angular-component-avatar.d.ts +111 -0
- package/types/edsis-angular-component-badge.d.ts +36 -0
- package/types/edsis-angular-component-breadcrumb.d.ts +85 -0
- package/types/edsis-angular-component-button-group.d.ts +50 -0
- package/types/edsis-angular-component-button.d.ts +44 -0
- package/types/edsis-angular-component-calendar.d.ts +150 -0
- package/types/edsis-angular-component-card.d.ts +123 -0
- package/types/edsis-angular-component-carousel.d.ts +155 -0
- package/types/edsis-angular-component-checkbox.d.ts +100 -0
- package/types/edsis-angular-component-collapsible.d.ts +68 -0
- package/types/edsis-angular-component-combobox.d.ts +105 -0
- package/types/edsis-angular-component-command.d.ts +215 -0
- package/types/edsis-angular-component-composer.d.ts +190 -0
- package/types/edsis-angular-component-context-menu.d.ts +64 -0
- package/types/edsis-angular-component-date-picker.d.ts +199 -0
- package/types/edsis-angular-component-dialog.d.ts +231 -0
- package/types/edsis-angular-component-drawer.d.ts +2 -0
- package/types/edsis-angular-component-dropdown-menu.d.ts +370 -0
- package/types/edsis-angular-component-editor.d.ts +234 -0
- package/types/edsis-angular-component-empty.d.ts +85 -0
- package/types/edsis-angular-component-form.d.ts +223 -0
- package/types/edsis-angular-component-hover-card.d.ts +133 -0
- package/types/edsis-angular-component-icon.d.ts +90 -0
- package/types/edsis-angular-component-input-group.d.ts +98 -0
- package/types/edsis-angular-component-input-otp.d.ts +249 -0
- package/types/edsis-angular-component-input.d.ts +31 -0
- package/types/edsis-angular-component-item.d.ts +169 -0
- package/types/edsis-angular-component-kanban.d.ts +165 -0
- package/types/edsis-angular-component-kbd.d.ts +25 -0
- package/types/edsis-angular-component-label.d.ts +19 -0
- package/types/edsis-angular-component-menubar.d.ts +123 -0
- package/types/edsis-angular-component-native-select.d.ts +39 -0
- package/types/edsis-angular-component-navigation-menu.d.ts +163 -0
- package/types/edsis-angular-component-pagination.d.ts +83 -0
- package/types/edsis-angular-component-pillbox.d.ts +380 -0
- package/types/edsis-angular-component-popover.d.ts +96 -0
- package/types/edsis-angular-component-progress.d.ts +45 -0
- package/types/edsis-angular-component-radio.d.ts +137 -0
- package/types/edsis-angular-component-resizable.d.ts +166 -0
- package/types/edsis-angular-component-scroll-area.d.ts +37 -0
- package/types/edsis-angular-component-segmented-control.d.ts +102 -0
- package/types/edsis-angular-component-select.d.ts +138 -0
- package/types/edsis-angular-component-separator.d.ts +26 -0
- package/types/edsis-angular-component-sheet.d.ts +240 -0
- package/types/edsis-angular-component-skeleton.d.ts +13 -0
- package/types/edsis-angular-component-slider.d.ts +148 -0
- package/types/edsis-angular-component-spinner.d.ts +31 -0
- package/types/edsis-angular-component-switch.d.ts +101 -0
- package/types/edsis-angular-component-table.d.ts +109 -0
- package/types/edsis-angular-component-tabs.d.ts +183 -0
- package/types/edsis-angular-component-textarea.d.ts +27 -0
- package/types/edsis-angular-component-timeline.d.ts +146 -0
- package/types/edsis-angular-component-toast.d.ts +60 -0
- package/types/edsis-angular-component-toggle-group.d.ts +161 -0
- package/types/edsis-angular-component-toggle.d.ts +47 -0
- package/types/edsis-angular-component-tooltip.d.ts +233 -0
- package/types/edsis-angular-component-utils-core.d.ts +175 -0
- package/types/edsis-angular-component-utils-overlay.d.ts +17 -0
- package/types/edsis-angular-component-utils-scale.d.ts +27 -0
- package/types/edsis-angular-component-utils.d.ts +2 -0
- package/types/edsis-angular-component.d.ts +1 -0
- package/types/edsis-angular-navigation-core.d.ts +55 -0
- package/types/edsis-angular-navigation-icon.d.ts +9 -0
- package/types/edsis-angular-navigation-service.d.ts +121 -0
- package/types/edsis-angular-navigation-types.d.ts +185 -0
- package/types/edsis-angular-navigation.d.ts +862 -0
- package/types/edsis-angular-sdk.d.ts +87 -0
- package/types/edsis-angular-theme-component-settings.d.ts +205 -0
- package/types/edsis-angular-theme-layout-services.d.ts +143 -0
- package/types/edsis-angular-theme-layout-types.d.ts +36 -0
- package/types/edsis-angular-theme-layout-wrapper.d.ts +670 -0
- package/types/edsis-angular-theme-layout.d.ts +218 -0
- package/types/edsis-angular-theme-on-fill.d.ts +45 -0
- package/types/edsis-angular-theme-page-core.d.ts +151 -0
- package/types/edsis-angular-theme-page-filter.d.ts +127 -0
- package/types/edsis-angular-theme-page-overview.d.ts +28 -0
- package/types/edsis-angular-theme-page-root.d.ts +172 -0
- package/types/edsis-angular-theme-page-side.d.ts +90 -0
- package/types/edsis-angular-theme-page-slots.d.ts +61 -0
- package/types/edsis-angular-theme-page.d.ts +7 -0
- package/types/edsis-angular-theme-shell-services.d.ts +188 -0
- package/types/edsis-angular-theme-shell-types.d.ts +102 -0
- package/types/edsis-angular-theme-shell.d.ts +178 -0
- package/types/edsis-angular-theme-styles.d.ts +328 -0
- package/types/edsis-angular-theme.d.ts +1 -0
- package/types/edsis-angular.d.ts +5 -2
- package/fesm2022/edsis-angular-block-shell.mjs +0 -1329
- package/fesm2022/edsis-angular-block-shell.mjs.map +0 -1
- package/fesm2022/edsis-angular-block-themes.mjs +0 -1007
- package/fesm2022/edsis-angular-block-themes.mjs.map +0 -1
- package/fesm2022/edsis-angular-module-auth.mjs +0 -2582
- package/fesm2022/edsis-angular-module-auth.mjs.map +0 -1
- package/fesm2022/edsis-angular-platform-mfe.mjs +0 -329
- package/fesm2022/edsis-angular-platform-mfe.mjs.map +0 -1
- package/fesm2022/edsis-angular-services-runtime.mjs +0 -385
- package/fesm2022/edsis-angular-services-runtime.mjs.map +0 -1
- package/fesm2022/edsis-angular.mjs.map +0 -1
- package/types/edsis-angular-block-shell.d.ts +0 -190
- package/types/edsis-angular-block-themes.d.ts +0 -94
- package/types/edsis-angular-module-auth.d.ts +0 -533
- package/types/edsis-angular-platform-mfe.d.ts +0 -126
- package/types/edsis-angular-services-runtime.d.ts +0 -118
|
@@ -0,0 +1,670 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import { ElementRef, InjectionToken, Provider } from "@angular/core";
|
|
3
|
+
import { ThemeSettingsNavigationMode, ThemeSettingsNavigationType } from "@edsis/angular/theme/component/settings";
|
|
4
|
+
import { NavigationDockbarRouteContext } from "@edsis/angular/navigation";
|
|
5
|
+
import { NavigationDockbarRouteContext as NavigationDockbarRouteContext$1, NavigationItem, NavigationType } from "@edsis/angular/navigation/types";
|
|
6
|
+
/**
|
|
7
|
+
* The identity shape the layout wrappers consume. The library defines the structure
|
|
8
|
+
* only; the concrete brand and user values come from the consumer as inputs.
|
|
9
|
+
*/
|
|
10
|
+
export interface BrandIdentity {
|
|
11
|
+
/** Name behind the initials and the accessible name in the header slot. */
|
|
12
|
+
readonly name: string;
|
|
13
|
+
/** Lucide icon name used as the logo; `null` falls back to initials from `name`. */
|
|
14
|
+
readonly icon: string | null;
|
|
15
|
+
/** Judul brand. */
|
|
16
|
+
readonly title: string;
|
|
17
|
+
/** Subjudul brand. */
|
|
18
|
+
readonly subtitle: string;
|
|
19
|
+
/**
|
|
20
|
+
* Optional typographic mark rendered in place of the initials or icon. The
|
|
21
|
+
* accessible name stays `name`; the wordmark itself is decorative text.
|
|
22
|
+
*/
|
|
23
|
+
readonly wordmark?: string;
|
|
24
|
+
/** Optional line under the wordmark. Ignored without a `wordmark`. */
|
|
25
|
+
readonly tagline?: string;
|
|
26
|
+
}
|
|
27
|
+
export interface UserIdentity {
|
|
28
|
+
/** Nama lengkap user (inisial + judul footer). */
|
|
29
|
+
readonly name: string;
|
|
30
|
+
/** Email, or the footer's secondary line. */
|
|
31
|
+
readonly email: string;
|
|
32
|
+
}
|
|
33
|
+
/** Registry key used only while `LayoutWrapperDefault` renders its desktop nav. */
|
|
34
|
+
export declare const LAYOUT_DESKTOP_NAVIGATION_DATA_ID = "__layout-desktop-navigation";
|
|
35
|
+
/**
|
|
36
|
+
* Registry of the brand and user identity a shell publishes (`LayoutWrapperDefault`, for
|
|
37
|
+
* one). Other surfaces — the apps launcher in `Page`, say — read it so they show the same
|
|
38
|
+
* brand and user as the nav flyout without taking inputs of their own.
|
|
39
|
+
*/
|
|
40
|
+
export declare class LayoutIdentityService {
|
|
41
|
+
private readonly brandState;
|
|
42
|
+
private readonly userState;
|
|
43
|
+
readonly brand: import("@angular/core").Signal<BrandIdentity | null>;
|
|
44
|
+
readonly user: import("@angular/core").Signal<UserIdentity | null>;
|
|
45
|
+
setBrand(brand: BrandIdentity | null): void;
|
|
46
|
+
setUser(user: UserIdentity | null): void;
|
|
47
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<LayoutIdentityService, never>;
|
|
48
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<any>;
|
|
49
|
+
}
|
|
50
|
+
/**
|
|
51
|
+
* Application-wide defaults for every `<LayoutUser>` a layout wrapper renders:
|
|
52
|
+
* the sidebar and its mobile sheet, the dockbar rail and aside, the minidock
|
|
53
|
+
* rail, the navbar and the flyout panel. One provider therefore keeps the
|
|
54
|
+
* identity row and the logout control identical on every surface. A binding on
|
|
55
|
+
* an individual `<LayoutUser>` still wins over these defaults.
|
|
56
|
+
*/
|
|
57
|
+
export interface LayoutUserOptions {
|
|
58
|
+
/**
|
|
59
|
+
* Show the initials and name on every surface, the horizontal navbar and
|
|
60
|
+
* flyout footers included. Off, those two render the logout control only.
|
|
61
|
+
*/
|
|
62
|
+
readonly detailed?: boolean;
|
|
63
|
+
/** Render `user.email` under the name. Default `true`. */
|
|
64
|
+
readonly showEmail?: boolean;
|
|
65
|
+
/**
|
|
66
|
+
* Render the `ThemeSettings` shortcut beside logout. Default `true`; turn it
|
|
67
|
+
* off when the application offers the settings on a page of its own.
|
|
68
|
+
*/
|
|
69
|
+
readonly showThemeSettings?: boolean;
|
|
70
|
+
/** Accessible name of the logout control. Default `'Logout'`. */
|
|
71
|
+
readonly logoutLabel?: string;
|
|
72
|
+
/**
|
|
73
|
+
* Lucide icon name of the logout control. `'log-out'` (the default) and
|
|
74
|
+
* `'door-open'` are registered by the library; register any other name with
|
|
75
|
+
* `provideIcons()`.
|
|
76
|
+
*/
|
|
77
|
+
readonly logoutIcon?: string;
|
|
78
|
+
}
|
|
79
|
+
export declare const LAYOUT_USER_OPTIONS: InjectionToken<LayoutUserOptions>;
|
|
80
|
+
/**
|
|
81
|
+
* Provide {@link LayoutUserOptions} once, usually in the application config,
|
|
82
|
+
* so `<LayoutWrapperDefault>` and the standalone nav types all pick them up.
|
|
83
|
+
*
|
|
84
|
+
* ```ts
|
|
85
|
+
* provideLayoutUserOptions({ detailed: true, showEmail: false, logoutIcon: 'door-open' })
|
|
86
|
+
* ```
|
|
87
|
+
*/
|
|
88
|
+
export declare function provideLayoutUserOptions(options: LayoutUserOptions): Provider[];
|
|
89
|
+
/**
|
|
90
|
+
* The brand slot for `<NavigationHeader>`: initials, logo, or wordmark plus a title.
|
|
91
|
+
* Purely input-driven.
|
|
92
|
+
*
|
|
93
|
+
* `compact` (dockbar, or an icon-only rail) hides the title. `host.class = 'contents'`
|
|
94
|
+
* keeps `NavigationHeaderInitial` and `NavigationHeaderTitle` as direct flex children of
|
|
95
|
+
* the header row; the title still auto-hides on a collapsed sidebar, because
|
|
96
|
+
* `NAVIGATION_SHELL` reaches `<Navigation>` through the live injector tree.
|
|
97
|
+
*
|
|
98
|
+
* A `brand.wordmark` replaces the initials block with typographic text and an
|
|
99
|
+
* optional `brand.tagline`. The mark keeps `role="img"` and `brand.name` as its
|
|
100
|
+
* accessible name, so assistive technology announces the brand the same way in
|
|
101
|
+
* both renders. `data-layout-brand-mark`, `data-layout-brand-wordmark`,
|
|
102
|
+
* `data-layout-brand-tagline` and `data-compact` are the styling hooks: the
|
|
103
|
+
* library sets type and overflow only, the consumer owns the look.
|
|
104
|
+
*/
|
|
105
|
+
export declare class LayoutBrand {
|
|
106
|
+
/** Identitas brand (nama, ikon, judul, subjudul, wordmark opsional). */
|
|
107
|
+
readonly brand: import("@angular/core").InputSignal<BrandIdentity>;
|
|
108
|
+
/** Sembunyikan judul, sisakan inisial saja (dockbar / rail ikon-only). */
|
|
109
|
+
readonly compact: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
|
|
110
|
+
/**
|
|
111
|
+
* Rail-sized type when compact, the nav text tier otherwise. A collapsed sidebar
|
|
112
|
+
* is a rail too, but `LayoutBrand` only knows `compact`; the header it sits in
|
|
113
|
+
* carries `data-collapsed`, so the `in-data-[collapsed=true]` variant shrinks
|
|
114
|
+
* the type there without the component reaching into the navigation state.
|
|
115
|
+
*/
|
|
116
|
+
protected readonly wordmarkClasses: import("@angular/core").Signal<string>;
|
|
117
|
+
protected readonly taglineClasses: import("@angular/core").Signal<string>;
|
|
118
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<LayoutBrand, never>;
|
|
119
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<LayoutBrand, "LayoutBrand", never, {
|
|
120
|
+
"brand": {
|
|
121
|
+
"alias": "brand";
|
|
122
|
+
"required": true;
|
|
123
|
+
"isSignal": true;
|
|
124
|
+
};
|
|
125
|
+
"compact": {
|
|
126
|
+
"alias": "compact";
|
|
127
|
+
"required": false;
|
|
128
|
+
"isSignal": true;
|
|
129
|
+
};
|
|
130
|
+
}, {}, never, never, true, never>;
|
|
131
|
+
}
|
|
132
|
+
/**
|
|
133
|
+
* The user slot for `<NavigationFooter>`: an optional identity plus the logout action.
|
|
134
|
+
* Input-driven, with application defaults from {@link LAYOUT_USER_OPTIONS}.
|
|
135
|
+
*
|
|
136
|
+
* `detailed` shows initials and name (a full sidebar); without it, only the logout
|
|
137
|
+
* button. `host.class = 'contents'` makes the children direct flex children of the
|
|
138
|
+
* footer, so `ml-auto` and the auto-hide on collapse (through `NAVIGATION_SHELL`) still
|
|
139
|
+
* apply. The title takes the remaining width, capped so a horizontal bar does not
|
|
140
|
+
* grow with the name, and truncates, so a long name never pushes the actions out
|
|
141
|
+
* of the row.
|
|
142
|
+
*
|
|
143
|
+
* The logout button only emits `(logout)`. Endpoint, cookie, and redirect target differ
|
|
144
|
+
* per application, so the effect is entirely the consumer's — the library calls no
|
|
145
|
+
* endpoint and performs no navigation. A consumer that never binds `(logout)` still
|
|
146
|
+
* renders without error; the button simply does nothing, exactly as before this output
|
|
147
|
+
* existed.
|
|
148
|
+
*/
|
|
149
|
+
export declare class LayoutUser {
|
|
150
|
+
private readonly options;
|
|
151
|
+
/** Identitas user (nama + email). */
|
|
152
|
+
readonly user: import("@angular/core").InputSignal<UserIdentity>;
|
|
153
|
+
/** Show the user identity (initials and name), not only the logout button. */
|
|
154
|
+
readonly detailed: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
|
|
155
|
+
/**
|
|
156
|
+
* Render the initials block in front of the name. Off where another block already
|
|
157
|
+
* shows them, such as the dockbar aside whose rail carries the initials.
|
|
158
|
+
*/
|
|
159
|
+
readonly showInitial: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
|
|
160
|
+
/** Render the email under the name; unset falls back to the options, then `true`. */
|
|
161
|
+
readonly showEmail: import("@angular/core").InputSignalWithTransform<boolean | null, unknown>;
|
|
162
|
+
/** Render the ThemeSettings shortcut; unset falls back to the options, then `true`. */
|
|
163
|
+
readonly showThemeSettings: import("@angular/core").InputSignalWithTransform<boolean | null, unknown>;
|
|
164
|
+
/** Accessible name for the logout button; unset falls back to the options, then `Logout`. */
|
|
165
|
+
readonly logoutLabel: import("@angular/core").InputSignal<string | null>;
|
|
166
|
+
/**
|
|
167
|
+
* Lucide icon name for the logout button; unset falls back to the options, then
|
|
168
|
+
* `log-out`. `door-open` is registered too; register any other name with `provideIcons()`.
|
|
169
|
+
*/
|
|
170
|
+
readonly logoutIcon: import("@angular/core").InputSignal<string | null>;
|
|
171
|
+
/** The user pressed logout. The effect is the consumer's; the library does not navigate. */
|
|
172
|
+
readonly logout: import("@angular/core").OutputEmitterRef<void>;
|
|
173
|
+
protected readonly showsIdentity: import("@angular/core").Signal<boolean>;
|
|
174
|
+
protected readonly showsEmail: import("@angular/core").Signal<boolean>;
|
|
175
|
+
protected readonly showsThemeSettings: import("@angular/core").Signal<boolean>;
|
|
176
|
+
protected readonly resolvedLogoutLabel: import("@angular/core").Signal<string>;
|
|
177
|
+
protected readonly resolvedLogoutIcon: import("@angular/core").Signal<string>;
|
|
178
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<LayoutUser, never>;
|
|
179
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<LayoutUser, "LayoutUser", never, {
|
|
180
|
+
"user": {
|
|
181
|
+
"alias": "user";
|
|
182
|
+
"required": true;
|
|
183
|
+
"isSignal": true;
|
|
184
|
+
};
|
|
185
|
+
"detailed": {
|
|
186
|
+
"alias": "detailed";
|
|
187
|
+
"required": false;
|
|
188
|
+
"isSignal": true;
|
|
189
|
+
};
|
|
190
|
+
"showInitial": {
|
|
191
|
+
"alias": "show-initial";
|
|
192
|
+
"required": false;
|
|
193
|
+
"isSignal": true;
|
|
194
|
+
};
|
|
195
|
+
"showEmail": {
|
|
196
|
+
"alias": "show-email";
|
|
197
|
+
"required": false;
|
|
198
|
+
"isSignal": true;
|
|
199
|
+
};
|
|
200
|
+
"showThemeSettings": {
|
|
201
|
+
"alias": "show-theme-settings";
|
|
202
|
+
"required": false;
|
|
203
|
+
"isSignal": true;
|
|
204
|
+
};
|
|
205
|
+
"logoutLabel": {
|
|
206
|
+
"alias": "logoutLabel";
|
|
207
|
+
"required": false;
|
|
208
|
+
"isSignal": true;
|
|
209
|
+
};
|
|
210
|
+
"logoutIcon": {
|
|
211
|
+
"alias": "logoutIcon";
|
|
212
|
+
"required": false;
|
|
213
|
+
"isSignal": true;
|
|
214
|
+
};
|
|
215
|
+
}, {
|
|
216
|
+
"logout": "logout";
|
|
217
|
+
}, never, never, true, never>;
|
|
218
|
+
}
|
|
219
|
+
/**
|
|
220
|
+
* Nav type: a collapsible vertical sidebar (the default). Brand in the header, user
|
|
221
|
+
* identity in the footer.
|
|
222
|
+
*
|
|
223
|
+
* Horizontal dividers: the sidebar ALWAYS uses the borders `NavigationHeader`
|
|
224
|
+
* (`border-b`) and `NavigationFooter` (`border-t`) bring, `border-rail` included.
|
|
225
|
+
* Layout's inset accent rail (`top-12`/`bottom-12`) sits behind a frame that is now
|
|
226
|
+
* solid (`bg-background`) and is therefore invisible inside it; those explicit borders
|
|
227
|
+
* are what keep the header and footer lines visible and running straight into the
|
|
228
|
+
* content column (both `h-12`), consistent with {@link LayoutNavDockbar}.
|
|
229
|
+
*
|
|
230
|
+
* `host.class = 'contents'` makes `<NavigationSidebar>` an effective child of
|
|
231
|
+
* `<Navigation>` (h-full, shell classes), while `NAVIGATION_SHELL` still reaches it
|
|
232
|
+
* through the live injector tree and `<NavigationHeader>` stays a direct child for the
|
|
233
|
+
* library's content projection.
|
|
234
|
+
*/
|
|
235
|
+
export declare class LayoutNavSidebar {
|
|
236
|
+
readonly brand: import("@angular/core").InputSignal<BrandIdentity>;
|
|
237
|
+
readonly user: import("@angular/core").InputSignal<UserIdentity>;
|
|
238
|
+
/** Appearance from the shell (`[appearance]`); decides the separator border weight. */
|
|
239
|
+
readonly appearance: import("@angular/core").InputSignal<"flat" | "border-rail">;
|
|
240
|
+
readonly navTypeMode: import("@angular/core").InputSignal<ThemeSettingsNavigationMode>;
|
|
241
|
+
/** Forwarded from `<LayoutUser>`; the effect is the consumer's. */
|
|
242
|
+
readonly logout: import("@angular/core").OutputEmitterRef<void>;
|
|
243
|
+
protected readonly isBorderRail: import("@angular/core").Signal<boolean>;
|
|
244
|
+
protected readonly isCollapsed: import("@angular/core").Signal<boolean>;
|
|
245
|
+
/** Border kanan pemisah; ketebalan ikut appearance: `border-rail` = `--layout-rail-width` (selaras rail layout), `flat` 1px. */
|
|
246
|
+
protected readonly shellClass: import("@angular/core").Signal<"border-r-[length:var(--layout-rail-width)] border-border" | "border-r border-border">;
|
|
247
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<LayoutNavSidebar, never>;
|
|
248
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<LayoutNavSidebar, "LayoutNavSidebar", never, {
|
|
249
|
+
"brand": {
|
|
250
|
+
"alias": "brand";
|
|
251
|
+
"required": true;
|
|
252
|
+
"isSignal": true;
|
|
253
|
+
};
|
|
254
|
+
"user": {
|
|
255
|
+
"alias": "user";
|
|
256
|
+
"required": true;
|
|
257
|
+
"isSignal": true;
|
|
258
|
+
};
|
|
259
|
+
"appearance": {
|
|
260
|
+
"alias": "appearance";
|
|
261
|
+
"required": false;
|
|
262
|
+
"isSignal": true;
|
|
263
|
+
};
|
|
264
|
+
"navTypeMode": {
|
|
265
|
+
"alias": "nav-type-mode";
|
|
266
|
+
"required": false;
|
|
267
|
+
"isSignal": true;
|
|
268
|
+
};
|
|
269
|
+
}, {
|
|
270
|
+
"logout": "logout";
|
|
271
|
+
}, never, never, true, never>;
|
|
272
|
+
}
|
|
273
|
+
/**
|
|
274
|
+
* Nav type: a vertical icon rail (dockbar). A compact brand (initials only) in the
|
|
275
|
+
* header, the user's initials in the rail footer (title and actions auto-hide, because
|
|
276
|
+
* the rail is always collapsed), and the full identity (name, email, logout) in the
|
|
277
|
+
* aside footer — together with the rail initials they form one footer row, like an
|
|
278
|
+
* expanded sidebar. Both rows are the one `LayoutUser`; the aside copy only drops the
|
|
279
|
+
* initials the rail already shows.
|
|
280
|
+
*
|
|
281
|
+
* Horizontal dividers: unlike the sidebar, which leaves the separator to Layout's inset
|
|
282
|
+
* accent rail at `top-12`/`bottom-12` under `border-rail`, the dockbar ALWAYS uses the
|
|
283
|
+
* borders `NavigationHeader`/`NavigationFooter` bring. The dockbar aside covers the inset
|
|
284
|
+
* rail line with its own opaque background, so those explicit borders are what keep the
|
|
285
|
+
* separator running straight from rail to aside (header and footer are both `h-12`).
|
|
286
|
+
* See {@link LayoutNavSidebar} for why `host.class = 'contents'`.
|
|
287
|
+
*/
|
|
288
|
+
export declare class LayoutNavDockbar {
|
|
289
|
+
readonly brand: import("@angular/core").InputSignal<BrandIdentity>;
|
|
290
|
+
readonly user: import("@angular/core").InputSignal<UserIdentity>;
|
|
291
|
+
/** Appearance from the shell (`[appearance]`); decides the separator border weight. */
|
|
292
|
+
readonly appearance: import("@angular/core").InputSignal<"flat" | "border-rail">;
|
|
293
|
+
readonly navTypeMode: import("@angular/core").InputSignal<ThemeSettingsNavigationMode>;
|
|
294
|
+
/** Opt-in route-aware header; ketika aktif, header route menggantikan compact brand. */
|
|
295
|
+
readonly dockbarRouteContext: import("@angular/core").InputSignal<NavigationDockbarRouteContext | null>;
|
|
296
|
+
readonly badgeContext: import("@angular/core").InputSignal<Readonly<Record<string, import("@edsis/angular/navigation").NavigationBadgeSource>> | null>;
|
|
297
|
+
/** @deprecated Gunakan badge-context. The generic badge registry forwarded to `NavigationDockbar`. */
|
|
298
|
+
readonly dockbarBadgeContext: import("@angular/core").InputSignal<Readonly<Record<string, import("@edsis/angular/navigation").NavigationBadgeSource>>>;
|
|
299
|
+
/** Forwarded from the rail and aside footer logout buttons; the effect is the consumer's. */
|
|
300
|
+
readonly logout: import("@angular/core").OutputEmitterRef<void>;
|
|
301
|
+
protected readonly isBorderRail: import("@angular/core").Signal<boolean>;
|
|
302
|
+
protected readonly dockbarMode: import("@angular/core").Signal<"drawer" | "sticky">;
|
|
303
|
+
protected readonly routeContextEnabled: import("@angular/core").Signal<boolean>;
|
|
304
|
+
/** Border kanan pemisah; ketebalan ikut appearance: `border-rail` = `--layout-rail-width` (selaras rail layout), `flat` 1px. */
|
|
305
|
+
protected readonly shellClass: import("@angular/core").Signal<"border-r-[length:var(--layout-rail-width)] border-border" | "border-r border-border">;
|
|
306
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<LayoutNavDockbar, never>;
|
|
307
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<LayoutNavDockbar, "LayoutNavDockbar", never, {
|
|
308
|
+
"brand": {
|
|
309
|
+
"alias": "brand";
|
|
310
|
+
"required": true;
|
|
311
|
+
"isSignal": true;
|
|
312
|
+
};
|
|
313
|
+
"user": {
|
|
314
|
+
"alias": "user";
|
|
315
|
+
"required": true;
|
|
316
|
+
"isSignal": true;
|
|
317
|
+
};
|
|
318
|
+
"appearance": {
|
|
319
|
+
"alias": "appearance";
|
|
320
|
+
"required": false;
|
|
321
|
+
"isSignal": true;
|
|
322
|
+
};
|
|
323
|
+
"navTypeMode": {
|
|
324
|
+
"alias": "nav-type-mode";
|
|
325
|
+
"required": false;
|
|
326
|
+
"isSignal": true;
|
|
327
|
+
};
|
|
328
|
+
"dockbarRouteContext": {
|
|
329
|
+
"alias": "dockbar-route-context";
|
|
330
|
+
"required": false;
|
|
331
|
+
"isSignal": true;
|
|
332
|
+
};
|
|
333
|
+
"badgeContext": {
|
|
334
|
+
"alias": "badge-context";
|
|
335
|
+
"required": false;
|
|
336
|
+
"isSignal": true;
|
|
337
|
+
};
|
|
338
|
+
"dockbarBadgeContext": {
|
|
339
|
+
"alias": "dockbar-badge";
|
|
340
|
+
"required": false;
|
|
341
|
+
"isSignal": true;
|
|
342
|
+
};
|
|
343
|
+
}, {
|
|
344
|
+
"logout": "logout";
|
|
345
|
+
}, never, never, true, never>;
|
|
346
|
+
}
|
|
347
|
+
/**
|
|
348
|
+
* Nav type: a permanent vertical icon rail (minidock). It is composed exactly like
|
|
349
|
+
* {@link LayoutNavSidebar}, brand in the header and user identity in the footer, and
|
|
350
|
+
* renders the same way a collapsed sidebar does, but it never expands.
|
|
351
|
+
*
|
|
352
|
+
* The rail only accepts flat data, so `LayoutWrapperDefault` hands it
|
|
353
|
+
* `toMinidockItems(data())`. See {@link LayoutNavSidebar} for why
|
|
354
|
+
* `host.class = 'contents'` and for the header and footer borders.
|
|
355
|
+
*/
|
|
356
|
+
export declare class LayoutNavMinidock {
|
|
357
|
+
readonly brand: import("@angular/core").InputSignal<BrandIdentity>;
|
|
358
|
+
readonly user: import("@angular/core").InputSignal<UserIdentity>;
|
|
359
|
+
/** Appearance from the shell (`[appearance]`); decides the separator border weight. */
|
|
360
|
+
readonly appearance: import("@angular/core").InputSignal<"flat" | "border-rail">;
|
|
361
|
+
/** Forwarded from `<LayoutUser>`; the effect is the consumer's. */
|
|
362
|
+
readonly logout: import("@angular/core").OutputEmitterRef<void>;
|
|
363
|
+
protected readonly isBorderRail: import("@angular/core").Signal<boolean>;
|
|
364
|
+
/** Border kanan pemisah; ketebalan ikut appearance: `border-rail` = `--layout-rail-width` (selaras rail layout), `flat` 1px. */
|
|
365
|
+
protected readonly shellClass: import("@angular/core").Signal<"border-r-[length:var(--layout-rail-width)] border-border" | "border-r border-border">;
|
|
366
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<LayoutNavMinidock, never>;
|
|
367
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<LayoutNavMinidock, "LayoutNavMinidock", never, {
|
|
368
|
+
"brand": {
|
|
369
|
+
"alias": "brand";
|
|
370
|
+
"required": true;
|
|
371
|
+
"isSignal": true;
|
|
372
|
+
};
|
|
373
|
+
"user": {
|
|
374
|
+
"alias": "user";
|
|
375
|
+
"required": true;
|
|
376
|
+
"isSignal": true;
|
|
377
|
+
};
|
|
378
|
+
"appearance": {
|
|
379
|
+
"alias": "appearance";
|
|
380
|
+
"required": false;
|
|
381
|
+
"isSignal": true;
|
|
382
|
+
};
|
|
383
|
+
}, {
|
|
384
|
+
"logout": "logout";
|
|
385
|
+
}, never, never, true, never>;
|
|
386
|
+
}
|
|
387
|
+
/**
|
|
388
|
+
* Nav type: a top bar with inline items (navbar, horizontal). `appearance` follows the
|
|
389
|
+
* shell (`flat | border-rail`). See {@link LayoutNavSidebar} for why
|
|
390
|
+
* `host.class = 'contents'`.
|
|
391
|
+
*/
|
|
392
|
+
export declare class LayoutNavNavbar {
|
|
393
|
+
readonly brand: import("@angular/core").InputSignal<BrandIdentity>;
|
|
394
|
+
readonly user: import("@angular/core").InputSignal<UserIdentity>;
|
|
395
|
+
/** Appearance from the shell (`[nav-type-style]`). */
|
|
396
|
+
readonly appearance: import("@angular/core").InputSignal<"flat" | "border-rail">;
|
|
397
|
+
/** Forwarded from `<LayoutUser>`; the effect is the consumer's. */
|
|
398
|
+
readonly logout: import("@angular/core").OutputEmitterRef<void>;
|
|
399
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<LayoutNavNavbar, never>;
|
|
400
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<LayoutNavNavbar, "LayoutNavNavbar", never, {
|
|
401
|
+
"brand": {
|
|
402
|
+
"alias": "brand";
|
|
403
|
+
"required": true;
|
|
404
|
+
"isSignal": true;
|
|
405
|
+
};
|
|
406
|
+
"user": {
|
|
407
|
+
"alias": "user";
|
|
408
|
+
"required": true;
|
|
409
|
+
"isSignal": true;
|
|
410
|
+
};
|
|
411
|
+
"appearance": {
|
|
412
|
+
"alias": "appearance";
|
|
413
|
+
"required": false;
|
|
414
|
+
"isSignal": true;
|
|
415
|
+
};
|
|
416
|
+
}, {
|
|
417
|
+
"logout": "logout";
|
|
418
|
+
}, never, never, true, never>;
|
|
419
|
+
}
|
|
420
|
+
/**
|
|
421
|
+
* Nav type: a top bar with a flyout trigger button (horizontal). `appearance` follows the
|
|
422
|
+
* shell. See {@link LayoutNavSidebar} for why `host.class = 'contents'`.
|
|
423
|
+
*/
|
|
424
|
+
export declare class LayoutNavFlyout {
|
|
425
|
+
readonly brand: import("@angular/core").InputSignal<BrandIdentity>;
|
|
426
|
+
readonly user: import("@angular/core").InputSignal<UserIdentity>;
|
|
427
|
+
/** Appearance from the shell (`[nav-type-style]`). */
|
|
428
|
+
readonly appearance: import("@angular/core").InputSignal<"flat" | "border-rail">;
|
|
429
|
+
/** Forwarded from `<LayoutUser>`; the effect is the consumer's. */
|
|
430
|
+
readonly logout: import("@angular/core").OutputEmitterRef<void>;
|
|
431
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<LayoutNavFlyout, never>;
|
|
432
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<LayoutNavFlyout, "LayoutNavFlyout", never, {
|
|
433
|
+
"brand": {
|
|
434
|
+
"alias": "brand";
|
|
435
|
+
"required": true;
|
|
436
|
+
"isSignal": true;
|
|
437
|
+
};
|
|
438
|
+
"user": {
|
|
439
|
+
"alias": "user";
|
|
440
|
+
"required": true;
|
|
441
|
+
"isSignal": true;
|
|
442
|
+
};
|
|
443
|
+
"appearance": {
|
|
444
|
+
"alias": "appearance";
|
|
445
|
+
"required": false;
|
|
446
|
+
"isSignal": true;
|
|
447
|
+
};
|
|
448
|
+
}, {
|
|
449
|
+
"logout": "logout";
|
|
450
|
+
}, never, never, true, never>;
|
|
451
|
+
}
|
|
452
|
+
/**
|
|
453
|
+
* Nav type: a brand-only sidebar for the `empty` and `fluid` variants, where
|
|
454
|
+
* `LayoutNavigation` hides the nav — so no collapse and no footer. See
|
|
455
|
+
* {@link LayoutNavSidebar} for why `host.class = 'contents'`.
|
|
456
|
+
*/
|
|
457
|
+
export declare class LayoutNavMinimal {
|
|
458
|
+
readonly brand: import("@angular/core").InputSignal<BrandIdentity>;
|
|
459
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<LayoutNavMinimal, never>;
|
|
460
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<LayoutNavMinimal, "LayoutNavMinimal", never, {
|
|
461
|
+
"brand": {
|
|
462
|
+
"alias": "brand";
|
|
463
|
+
"required": true;
|
|
464
|
+
"isSignal": true;
|
|
465
|
+
};
|
|
466
|
+
}, {}, never, never, true, never>;
|
|
467
|
+
}
|
|
468
|
+
/** The nav type `@switch (navKind())` renders. `brand` = header-only sidebar (empty/fluid). */
|
|
469
|
+
type NavKind = NavigationType | 'brand';
|
|
470
|
+
/**
|
|
471
|
+
* A ready-made layout shell — the consumer supplies data through inputs instead of
|
|
472
|
+
* assembling `Layout > LayoutVertical/Horizontal/Empty/Fluid > LayoutNavigation >
|
|
473
|
+
* Navigation > nav type` by hand.
|
|
474
|
+
*
|
|
475
|
+
* ```html
|
|
476
|
+
* <LayoutWrapperDefault
|
|
477
|
+
* [surface]="surface" [layout-appearance]="appearance" [width]="width"
|
|
478
|
+
* [layout-type]="layoutType" [nav-type]="navType"
|
|
479
|
+
* [data]="navItems" [brand]="brand" [user]="user"
|
|
480
|
+
* (logout)="signOut()"
|
|
481
|
+
* >
|
|
482
|
+
* <router-outlet /> <!-- page content is projected into LayoutContent -->
|
|
483
|
+
* </LayoutWrapperDefault>
|
|
484
|
+
* ```
|
|
485
|
+
*
|
|
486
|
+
* The `register*` defaults (LayoutService) stay the consumer's job; this wrapper is purely
|
|
487
|
+
* presentational — two axes (`effectiveLayoutType` → wrapper, `navKind` → nav type) over one
|
|
488
|
+
* shared skeleton. Injection stays sound: `<Navigation>` provides `NAVIGATION_SHELL` inside
|
|
489
|
+
* `#body`, and each nav type is `display:contents`, so `<NavigationXxx>` is an effective child
|
|
490
|
+
* of `<Navigation>`.
|
|
491
|
+
*/
|
|
492
|
+
export declare class LayoutWrapperDefault {
|
|
493
|
+
/** Surface latar shell (mis. `grid`, `flat`). */
|
|
494
|
+
readonly surface: import("@angular/core").InputSignal<"flat" | "grid" | "grid-line" | "honeycomb" | "matrix" | "circuit" | "line-vertical" | "line-horizontal">;
|
|
495
|
+
/** Appearance shell & nav (`flat | border-rail`). */
|
|
496
|
+
readonly appearance: import("@angular/core").InputSignal<"flat" | "border-rail">;
|
|
497
|
+
/** Frame width (`full`, `container`, and so on). */
|
|
498
|
+
readonly width: import("@angular/core").InputSignal<"full" | "wide" | "container" | "fluid">;
|
|
499
|
+
/** Tipe layout dasar (`vertical | horizontal | empty | fluid`); `empty`/`fluid` override nav. */
|
|
500
|
+
readonly layoutType: import("@angular/core").InputSignal<"fluid" | "vertical" | "horizontal" | "empty">;
|
|
501
|
+
/**
|
|
502
|
+
* The shell's navigation type. `desktop` only means anything on a horizontal frame:
|
|
503
|
+
* the titlebar becomes the primary chrome and the navigation area follows the
|
|
504
|
+
* content-focused `empty` behaviour.
|
|
505
|
+
*/
|
|
506
|
+
readonly navType: import("@angular/core").InputSignal<ThemeSettingsNavigationType>;
|
|
507
|
+
/** Presentation mode for the active nav type (`collapsed` sidebar / `drawer` dockbar). */
|
|
508
|
+
readonly navTypeMode: import("@angular/core").InputSignal<ThemeSettingsNavigationMode>;
|
|
509
|
+
/** Opt-in route-aware dockbar state; ignored by other navigation types. */
|
|
510
|
+
readonly dockbarRouteContext: import("@angular/core").InputSignal<NavigationDockbarRouteContext$1 | null>;
|
|
511
|
+
/** Registry badge untuk semua jenis navigasi desktop dan sidebar mobile. */
|
|
512
|
+
readonly badgeContext: import("@angular/core").InputSignal<Readonly<Record<string, import("@edsis/angular/navigation").NavigationBadgeSource>> | null>;
|
|
513
|
+
protected readonly resolvedBadgeContext: import("@angular/core").Signal<Readonly<Record<string, import("@edsis/angular/navigation").NavigationBadgeSource>>>;
|
|
514
|
+
/** @deprecated Gunakan badge-context. */
|
|
515
|
+
readonly dockbarBadgeContext: import("@angular/core").InputSignal<Readonly<Record<string, import("@edsis/angular/navigation").NavigationBadgeSource>>>;
|
|
516
|
+
/** Item navigasi. */
|
|
517
|
+
readonly data: import("@angular/core").InputSignal<readonly NavigationItem[]>;
|
|
518
|
+
/** Identitas brand. */
|
|
519
|
+
readonly brand: import("@angular/core").InputSignal<BrandIdentity>;
|
|
520
|
+
/** Identitas user. */
|
|
521
|
+
readonly user: import("@angular/core").InputSignal<UserIdentity>;
|
|
522
|
+
/** Id landmark konten utama sekaligus target skip link. */
|
|
523
|
+
readonly contentId: import("@angular/core").InputSignal<string>;
|
|
524
|
+
/** Skip-link label; the consumer can localise it. */
|
|
525
|
+
readonly skipLinkLabel: import("@angular/core").InputSignal<string>;
|
|
526
|
+
/** Fokuskan landmark utama setelah route selesai berubah. */
|
|
527
|
+
readonly focusOnNavigation: import("@angular/core").InputSignal<boolean>;
|
|
528
|
+
/** Controlled/uncontrolled state drawer navigasi mobile. */
|
|
529
|
+
readonly mobileNavOpen: import("@angular/core").ModelSignal<boolean>;
|
|
530
|
+
readonly mobileNavLabel: import("@angular/core").InputSignal<string>;
|
|
531
|
+
readonly closeMobileNavLabel: import("@angular/core").InputSignal<string>;
|
|
532
|
+
/**
|
|
533
|
+
* The user pressed logout in the navigation footer. Forwarded from every nav type that
|
|
534
|
+
* shows the user identity (`sidebar`, `dockbar`, `minidock`, `navbar`, `flyout`), the mobile drawer
|
|
535
|
+
* included, so one binding covers all of them. The library calls no endpoint and performs
|
|
536
|
+
* no navigation; what happens next is entirely the consumer's.
|
|
537
|
+
*/
|
|
538
|
+
readonly logout: import("@angular/core").OutputEmitterRef<void>;
|
|
539
|
+
private readonly identity;
|
|
540
|
+
private readonly navigation;
|
|
541
|
+
private readonly desktopNavigationDataOwner;
|
|
542
|
+
private readonly minidockMainDataOwner;
|
|
543
|
+
private readonly document;
|
|
544
|
+
protected readonly mobileNavTriggerRef: import("@angular/core").Signal<ElementRef<HTMLElement> | undefined>;
|
|
545
|
+
constructor();
|
|
546
|
+
/**
|
|
547
|
+
* Classes for `<LayoutContent>`, chosen by the consumer (padding, say). Empty by
|
|
548
|
+
* default: the library no longer forces `p-6`; the consumer or `<Page>` decides spacing.
|
|
549
|
+
*/
|
|
550
|
+
readonly contentClassInput: import("@angular/core").InputSignal<string>;
|
|
551
|
+
/** Wrapper layout & nilai `<Layout [layout-type]>`: navbar/flyout = horizontal, sisanya vertical. */
|
|
552
|
+
protected readonly effectiveLayoutType: import("@angular/core").Signal<"fluid" | "vertical" | "horizontal" | "empty">;
|
|
553
|
+
/** Tipe nav di dalam `#body`: `empty`/`fluid` → `brand` (header-only); selain itu `nav-type`. */
|
|
554
|
+
protected readonly navKind: import("@angular/core").Signal<NavKind>;
|
|
555
|
+
/** Minidock only accepts flat data, so grouped data is flattened before it reaches the rail. */
|
|
556
|
+
private readonly minidockData;
|
|
557
|
+
/** Data id of the desktop `<Navigation>`; its state id stays `main` for persistence. */
|
|
558
|
+
protected readonly desktopDataId: import("@angular/core").Signal<"main" | "main-minidock">;
|
|
559
|
+
/** Data of the desktop `<Navigation>`: flattened for minidock, unfiltered for every other type. */
|
|
560
|
+
protected readonly desktopData: import("@angular/core").Signal<readonly NavigationItem[]>;
|
|
561
|
+
/** Lebar host `<Navigation>`: penuh-tinggi (vertical) atau penuh-lebar (horizontal). */
|
|
562
|
+
protected readonly navClass: import("@angular/core").Signal<"w-full" | "h-full">;
|
|
563
|
+
protected readonly showsMobileNavigation: import("@angular/core").Signal<boolean>;
|
|
564
|
+
/** Internal shell owns responsive placement while primitives remain composition-safe. */
|
|
565
|
+
protected readonly defaultShellClasses: import("@angular/core").Signal<string>;
|
|
566
|
+
/** Kelas `<LayoutContent>`: `fluid` membatasi lebar & memusatkan; padding diserahkan ke consumer. */
|
|
567
|
+
protected readonly contentClass: import("@angular/core").Signal<string>;
|
|
568
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<LayoutWrapperDefault, never>;
|
|
569
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<LayoutWrapperDefault, "LayoutWrapperDefault", never, {
|
|
570
|
+
"surface": {
|
|
571
|
+
"alias": "surface";
|
|
572
|
+
"required": false;
|
|
573
|
+
"isSignal": true;
|
|
574
|
+
};
|
|
575
|
+
"appearance": {
|
|
576
|
+
"alias": "layout-appearance";
|
|
577
|
+
"required": false;
|
|
578
|
+
"isSignal": true;
|
|
579
|
+
};
|
|
580
|
+
"width": {
|
|
581
|
+
"alias": "width";
|
|
582
|
+
"required": false;
|
|
583
|
+
"isSignal": true;
|
|
584
|
+
};
|
|
585
|
+
"layoutType": {
|
|
586
|
+
"alias": "layout-type";
|
|
587
|
+
"required": false;
|
|
588
|
+
"isSignal": true;
|
|
589
|
+
};
|
|
590
|
+
"navType": {
|
|
591
|
+
"alias": "nav-type";
|
|
592
|
+
"required": false;
|
|
593
|
+
"isSignal": true;
|
|
594
|
+
};
|
|
595
|
+
"navTypeMode": {
|
|
596
|
+
"alias": "nav-type-mode";
|
|
597
|
+
"required": false;
|
|
598
|
+
"isSignal": true;
|
|
599
|
+
};
|
|
600
|
+
"dockbarRouteContext": {
|
|
601
|
+
"alias": "dockbar-route-context";
|
|
602
|
+
"required": false;
|
|
603
|
+
"isSignal": true;
|
|
604
|
+
};
|
|
605
|
+
"badgeContext": {
|
|
606
|
+
"alias": "badge-context";
|
|
607
|
+
"required": false;
|
|
608
|
+
"isSignal": true;
|
|
609
|
+
};
|
|
610
|
+
"dockbarBadgeContext": {
|
|
611
|
+
"alias": "dockbar-badge";
|
|
612
|
+
"required": false;
|
|
613
|
+
"isSignal": true;
|
|
614
|
+
};
|
|
615
|
+
"data": {
|
|
616
|
+
"alias": "data";
|
|
617
|
+
"required": true;
|
|
618
|
+
"isSignal": true;
|
|
619
|
+
};
|
|
620
|
+
"brand": {
|
|
621
|
+
"alias": "brand";
|
|
622
|
+
"required": true;
|
|
623
|
+
"isSignal": true;
|
|
624
|
+
};
|
|
625
|
+
"user": {
|
|
626
|
+
"alias": "user";
|
|
627
|
+
"required": true;
|
|
628
|
+
"isSignal": true;
|
|
629
|
+
};
|
|
630
|
+
"contentId": {
|
|
631
|
+
"alias": "content-id";
|
|
632
|
+
"required": false;
|
|
633
|
+
"isSignal": true;
|
|
634
|
+
};
|
|
635
|
+
"skipLinkLabel": {
|
|
636
|
+
"alias": "skip-link-label";
|
|
637
|
+
"required": false;
|
|
638
|
+
"isSignal": true;
|
|
639
|
+
};
|
|
640
|
+
"focusOnNavigation": {
|
|
641
|
+
"alias": "focus-on-navigation";
|
|
642
|
+
"required": false;
|
|
643
|
+
"isSignal": true;
|
|
644
|
+
};
|
|
645
|
+
"mobileNavOpen": {
|
|
646
|
+
"alias": "mobile-nav-open";
|
|
647
|
+
"required": false;
|
|
648
|
+
"isSignal": true;
|
|
649
|
+
};
|
|
650
|
+
"mobileNavLabel": {
|
|
651
|
+
"alias": "mobile-nav-label";
|
|
652
|
+
"required": false;
|
|
653
|
+
"isSignal": true;
|
|
654
|
+
};
|
|
655
|
+
"closeMobileNavLabel": {
|
|
656
|
+
"alias": "close-mobile-nav-label";
|
|
657
|
+
"required": false;
|
|
658
|
+
"isSignal": true;
|
|
659
|
+
};
|
|
660
|
+
"contentClassInput": {
|
|
661
|
+
"alias": "content-class";
|
|
662
|
+
"required": false;
|
|
663
|
+
"isSignal": true;
|
|
664
|
+
};
|
|
665
|
+
}, {
|
|
666
|
+
"mobileNavOpen": "mobile-nav-openChange";
|
|
667
|
+
"logout": "logout";
|
|
668
|
+
}, never, ["*"], true, never>;
|
|
669
|
+
}
|
|
670
|
+
export {};
|