@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,166 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import { OnDestroy } from "@angular/core";
|
|
3
|
+
export type ResizableSize = string | number | null | undefined;
|
|
4
|
+
export declare function clampResizableValue(value: number, min: number, max: number): number;
|
|
5
|
+
export declare function parseResizablePercent(value: ResizableSize): number | null;
|
|
6
|
+
export declare function roundResizablePercentage(value: number): number;
|
|
7
|
+
export declare function resolveInitialResizableSizes(preferred: readonly (number | null)[], minimums: readonly number[], maximums: readonly number[]): number[];
|
|
8
|
+
export declare function toResizableAriaValue(value: number | undefined): string | null;
|
|
9
|
+
export type ResizableOrientation = 'horizontal' | 'vertical';
|
|
10
|
+
interface ResizableHandleState {
|
|
11
|
+
readonly panelId: string;
|
|
12
|
+
readonly valueNow: number;
|
|
13
|
+
readonly valueMin: number;
|
|
14
|
+
readonly valueMax: number;
|
|
15
|
+
}
|
|
16
|
+
export declare abstract class ResizableGroupContextBase {
|
|
17
|
+
abstract groupOrientation(): ResizableOrientation;
|
|
18
|
+
abstract panelDirection(): 'ltr' | 'rtl';
|
|
19
|
+
abstract pairState(handle: ResizableHandleComponent): ResizableHandleState | null;
|
|
20
|
+
abstract beginPointerResize(handle: ResizableHandleComponent, event: PointerEvent): void;
|
|
21
|
+
abstract handleKeydown(handle: ResizableHandleComponent, event: KeyboardEvent): void;
|
|
22
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ResizableGroupContextBase, never>;
|
|
23
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<ResizableGroupContextBase, never, never, {}, {}, never, never, true, never>;
|
|
24
|
+
}
|
|
25
|
+
export declare class ResizablePanelComponent {
|
|
26
|
+
private readonly ctx;
|
|
27
|
+
private readonly host;
|
|
28
|
+
readonly defaultSize: import("@angular/core").InputSignal<ResizableSize>;
|
|
29
|
+
readonly minSize: import("@angular/core").InputSignal<ResizableSize>;
|
|
30
|
+
readonly maxSize: import("@angular/core").InputSignal<ResizableSize>;
|
|
31
|
+
readonly id: import("@angular/core").InputSignal<string | null>;
|
|
32
|
+
readonly class: import("@angular/core").InputSignal<string>;
|
|
33
|
+
private readonly generatedId;
|
|
34
|
+
private readonly currentSize;
|
|
35
|
+
protected readonly resolvedId: import("@angular/core").Signal<string>;
|
|
36
|
+
protected readonly classes: import("@angular/core").Signal<string>;
|
|
37
|
+
protected readonly flexStyle: import("@angular/core").Signal<string>;
|
|
38
|
+
panelId(): string;
|
|
39
|
+
preferredSizePercent(): number | null;
|
|
40
|
+
minSizePercent(): number;
|
|
41
|
+
maxSizePercent(): number;
|
|
42
|
+
size(): number;
|
|
43
|
+
setSize(size: number): void;
|
|
44
|
+
nativeElement(): HTMLElement;
|
|
45
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ResizablePanelComponent, never>;
|
|
46
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ResizablePanelComponent, "ResizablePanel", never, {
|
|
47
|
+
"defaultSize": {
|
|
48
|
+
"alias": "defaultSize";
|
|
49
|
+
"required": false;
|
|
50
|
+
"isSignal": true;
|
|
51
|
+
};
|
|
52
|
+
"minSize": {
|
|
53
|
+
"alias": "minSize";
|
|
54
|
+
"required": false;
|
|
55
|
+
"isSignal": true;
|
|
56
|
+
};
|
|
57
|
+
"maxSize": {
|
|
58
|
+
"alias": "maxSize";
|
|
59
|
+
"required": false;
|
|
60
|
+
"isSignal": true;
|
|
61
|
+
};
|
|
62
|
+
"id": {
|
|
63
|
+
"alias": "id";
|
|
64
|
+
"required": false;
|
|
65
|
+
"isSignal": true;
|
|
66
|
+
};
|
|
67
|
+
"class": {
|
|
68
|
+
"alias": "class";
|
|
69
|
+
"required": false;
|
|
70
|
+
"isSignal": true;
|
|
71
|
+
};
|
|
72
|
+
}, {}, never, ["*"], true, never>;
|
|
73
|
+
}
|
|
74
|
+
export declare class ResizableHandleComponent {
|
|
75
|
+
private readonly ctx;
|
|
76
|
+
private readonly host;
|
|
77
|
+
readonly withHandle: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
|
|
78
|
+
readonly ariaLabel: import("@angular/core").InputSignal<string | null>;
|
|
79
|
+
readonly class: import("@angular/core").InputSignal<string>;
|
|
80
|
+
private readonly lastExpandedPrimarySize;
|
|
81
|
+
protected readonly active: import("@angular/core").WritableSignal<boolean>;
|
|
82
|
+
private readonly state;
|
|
83
|
+
protected readonly classes: import("@angular/core").Signal<string>;
|
|
84
|
+
/**
|
|
85
|
+
* Whether this handle sits between two panels it can actually resize.
|
|
86
|
+
*
|
|
87
|
+
* A handle with no adjacent pair -- a lone panel, or a handle at the edge of
|
|
88
|
+
* the group -- changes nothing, so it is decorative and gives up `separator`
|
|
89
|
+
* and its tab stop. A focusable `separator` owes `aria-valuenow`, and there is
|
|
90
|
+
* no honest value to give: inventing one would satisfy axe while telling a
|
|
91
|
+
* screen reader about a slider that does not exist. Dropping the role is the
|
|
92
|
+
* truthful half of that trade, and it also stops the handle from soaking up a
|
|
93
|
+
* Tab press that leads nowhere.
|
|
94
|
+
*/
|
|
95
|
+
protected readonly resizable: import("@angular/core").Signal<boolean>;
|
|
96
|
+
protected readonly separatorOrientation: import("@angular/core").Signal<"horizontal" | "vertical">;
|
|
97
|
+
protected readonly controls: import("@angular/core").Signal<string | null>;
|
|
98
|
+
protected readonly label: import("@angular/core").Signal<string>;
|
|
99
|
+
protected readonly valueNow: import("@angular/core").Signal<string | null>;
|
|
100
|
+
protected readonly valueMin: import("@angular/core").Signal<string | null>;
|
|
101
|
+
protected readonly valueMax: import("@angular/core").Signal<string | null>;
|
|
102
|
+
protected readonly valueText: import("@angular/core").Signal<string | null>;
|
|
103
|
+
onPointerDown(event: PointerEvent): void;
|
|
104
|
+
onKeydown(event: KeyboardEvent): void;
|
|
105
|
+
setActive(active: boolean): void;
|
|
106
|
+
rememberPrimarySize(size: number): void;
|
|
107
|
+
rememberedPrimarySize(): number | null;
|
|
108
|
+
nativeElement(): HTMLElement;
|
|
109
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ResizableHandleComponent, never>;
|
|
110
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ResizableHandleComponent, "ResizableHandle", never, {
|
|
111
|
+
"withHandle": {
|
|
112
|
+
"alias": "withHandle";
|
|
113
|
+
"required": false;
|
|
114
|
+
"isSignal": true;
|
|
115
|
+
};
|
|
116
|
+
"ariaLabel": {
|
|
117
|
+
"alias": "aria-label";
|
|
118
|
+
"required": false;
|
|
119
|
+
"isSignal": true;
|
|
120
|
+
};
|
|
121
|
+
"class": {
|
|
122
|
+
"alias": "class";
|
|
123
|
+
"required": false;
|
|
124
|
+
"isSignal": true;
|
|
125
|
+
};
|
|
126
|
+
}, {}, never, never, true, never>;
|
|
127
|
+
}
|
|
128
|
+
export declare class ResizablePanelGroupComponent extends ResizableGroupContextBase implements OnDestroy {
|
|
129
|
+
private readonly host;
|
|
130
|
+
private readonly document;
|
|
131
|
+
readonly orientation: import("@angular/core").InputSignal<ResizableOrientation>;
|
|
132
|
+
readonly class: import("@angular/core").InputSignal<string>;
|
|
133
|
+
private readonly panels;
|
|
134
|
+
private readonly handles;
|
|
135
|
+
private pointerSession;
|
|
136
|
+
private removePointerListeners;
|
|
137
|
+
protected readonly classes: import("@angular/core").Signal<string>;
|
|
138
|
+
private readonly syncLayout;
|
|
139
|
+
groupOrientation(): ResizableOrientation;
|
|
140
|
+
panelDirection(): 'ltr' | 'rtl';
|
|
141
|
+
pairState(handle: ResizableHandleComponent): ResizableHandleState | null;
|
|
142
|
+
beginPointerResize(handle: ResizableHandleComponent, event: PointerEvent): void;
|
|
143
|
+
handleKeydown(handle: ResizableHandleComponent, event: KeyboardEvent): void;
|
|
144
|
+
ngOnDestroy(): void;
|
|
145
|
+
private finishPointerResize;
|
|
146
|
+
private initializeLayout;
|
|
147
|
+
private resolvePair;
|
|
148
|
+
private boundsForPair;
|
|
149
|
+
private applyPrimarySize;
|
|
150
|
+
private containerSize;
|
|
151
|
+
private coordinateFromEvent;
|
|
152
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ResizablePanelGroupComponent, never>;
|
|
153
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ResizablePanelGroupComponent, "ResizablePanelGroup", never, {
|
|
154
|
+
"orientation": {
|
|
155
|
+
"alias": "orientation";
|
|
156
|
+
"required": false;
|
|
157
|
+
"isSignal": true;
|
|
158
|
+
};
|
|
159
|
+
"class": {
|
|
160
|
+
"alias": "class";
|
|
161
|
+
"required": false;
|
|
162
|
+
"isSignal": true;
|
|
163
|
+
};
|
|
164
|
+
}, {}, ["panels", "handles"], ["*"], true, never>;
|
|
165
|
+
}
|
|
166
|
+
export {};
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
/**
|
|
3
|
+
* Lightweight scroll area using native scrollbars styled via CSS.
|
|
4
|
+
* Fully accessible — real scrolling, keyboard, wheel, momentum.
|
|
5
|
+
*/
|
|
6
|
+
export declare class ScrollAreaComponent {
|
|
7
|
+
readonly class: import("@angular/core").InputSignal<string>;
|
|
8
|
+
readonly viewportClass: import("@angular/core").InputSignal<string>;
|
|
9
|
+
readonly viewportAriaLabel: import("@angular/core").InputSignal<string | null>;
|
|
10
|
+
readonly viewportTabIndex: import("@angular/core").InputSignalWithTransform<number, unknown>;
|
|
11
|
+
protected readonly classes: import("@angular/core").Signal<string>;
|
|
12
|
+
protected readonly viewportRole: import("@angular/core").Signal<"region" | null>;
|
|
13
|
+
protected readonly viewportClasses: import("@angular/core").Signal<string>;
|
|
14
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ScrollAreaComponent, never>;
|
|
15
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ScrollAreaComponent, "ScrollArea", never, {
|
|
16
|
+
"class": {
|
|
17
|
+
"alias": "class";
|
|
18
|
+
"required": false;
|
|
19
|
+
"isSignal": true;
|
|
20
|
+
};
|
|
21
|
+
"viewportClass": {
|
|
22
|
+
"alias": "viewportClass";
|
|
23
|
+
"required": false;
|
|
24
|
+
"isSignal": true;
|
|
25
|
+
};
|
|
26
|
+
"viewportAriaLabel": {
|
|
27
|
+
"alias": "viewportAriaLabel";
|
|
28
|
+
"required": false;
|
|
29
|
+
"isSignal": true;
|
|
30
|
+
};
|
|
31
|
+
"viewportTabIndex": {
|
|
32
|
+
"alias": "viewportTabIndex";
|
|
33
|
+
"required": false;
|
|
34
|
+
"isSignal": true;
|
|
35
|
+
};
|
|
36
|
+
}, {}, never, ["*"], true, never>;
|
|
37
|
+
}
|
|
@@ -0,0 +1,102 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
export type SegmentedControlAppearance = 'text' | 'icon-text' | 'icon';
|
|
3
|
+
export type SegmentedControlSpace = 'default' | 'normal' | 'compact';
|
|
4
|
+
/** An exclusive choice rendered by `SegmentedControl`. */
|
|
5
|
+
export interface SegmentedControlOption {
|
|
6
|
+
readonly value: string;
|
|
7
|
+
/** Visible text, or the accessible fallback for an icon-only option. */
|
|
8
|
+
readonly label: string;
|
|
9
|
+
/** Lucide icon name (kebab case, registered with `provideIcons()`), used by the `icon-text` and `icon` appearances. */
|
|
10
|
+
readonly icon?: string;
|
|
11
|
+
readonly disabled?: boolean;
|
|
12
|
+
/** Overrides `label` as the accessible name for an icon-only option. */
|
|
13
|
+
readonly ariaLabel?: string;
|
|
14
|
+
}
|
|
15
|
+
/**
|
|
16
|
+
* A compact, exclusive selection control with a floating selected surface.
|
|
17
|
+
*
|
|
18
|
+
* The control uses the radio-group interaction model: arrow keys, Home, and
|
|
19
|
+
* End move focus and select the corresponding enabled option.
|
|
20
|
+
*/
|
|
21
|
+
export declare class SegmentedControlComponent {
|
|
22
|
+
readonly options: import("@angular/core").InputSignal<readonly SegmentedControlOption[]>;
|
|
23
|
+
readonly value: import("@angular/core").ModelSignal<string | null>;
|
|
24
|
+
readonly appearance: import("@angular/core").InputSignal<SegmentedControlAppearance>;
|
|
25
|
+
/**
|
|
26
|
+
* `default` inherits the active `theme-space` value. Explicit values apply
|
|
27
|
+
* the same theme-space base locally to this control and its segments.
|
|
28
|
+
*/
|
|
29
|
+
readonly space: import("@angular/core").InputSignal<SegmentedControlSpace>;
|
|
30
|
+
readonly disabled: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
|
|
31
|
+
readonly ariaLabel: import("@angular/core").InputSignal<string | null>;
|
|
32
|
+
readonly ariaLabelledby: import("@angular/core").InputSignal<string | null>;
|
|
33
|
+
readonly ariaDescribedby: import("@angular/core").InputSignal<string | null>;
|
|
34
|
+
readonly class: import("@angular/core").InputSignal<string>;
|
|
35
|
+
private readonly focusedIndex;
|
|
36
|
+
private readonly optionButtons;
|
|
37
|
+
private readonly enabledIndexes;
|
|
38
|
+
protected readonly classes: import("@angular/core").Signal<string>;
|
|
39
|
+
protected readonly spaceBase: import("@angular/core").Signal<"0.215rem" | "0.25rem" | null>;
|
|
40
|
+
protected readonly iconSize = 16;
|
|
41
|
+
protected selected(value: string): boolean;
|
|
42
|
+
protected isDisabled(option: SegmentedControlOption): boolean;
|
|
43
|
+
protected optionAriaLabel(option: SegmentedControlOption): string | null;
|
|
44
|
+
protected optionClasses(option: SegmentedControlOption): string;
|
|
45
|
+
protected tabindexFor(index: number, option: SegmentedControlOption): number;
|
|
46
|
+
protected select(index: number): void;
|
|
47
|
+
protected markFocused(index: number): void;
|
|
48
|
+
protected handleKeydown(event: KeyboardEvent, index: number): void;
|
|
49
|
+
private moveSelection;
|
|
50
|
+
private selectAndFocus;
|
|
51
|
+
private optionAppearanceClass;
|
|
52
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SegmentedControlComponent, never>;
|
|
53
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SegmentedControlComponent, "SegmentedControl", never, {
|
|
54
|
+
"options": {
|
|
55
|
+
"alias": "options";
|
|
56
|
+
"required": true;
|
|
57
|
+
"isSignal": true;
|
|
58
|
+
};
|
|
59
|
+
"value": {
|
|
60
|
+
"alias": "value";
|
|
61
|
+
"required": false;
|
|
62
|
+
"isSignal": true;
|
|
63
|
+
};
|
|
64
|
+
"appearance": {
|
|
65
|
+
"alias": "appearance";
|
|
66
|
+
"required": false;
|
|
67
|
+
"isSignal": true;
|
|
68
|
+
};
|
|
69
|
+
"space": {
|
|
70
|
+
"alias": "space";
|
|
71
|
+
"required": false;
|
|
72
|
+
"isSignal": true;
|
|
73
|
+
};
|
|
74
|
+
"disabled": {
|
|
75
|
+
"alias": "disabled";
|
|
76
|
+
"required": false;
|
|
77
|
+
"isSignal": true;
|
|
78
|
+
};
|
|
79
|
+
"ariaLabel": {
|
|
80
|
+
"alias": "aria-label";
|
|
81
|
+
"required": false;
|
|
82
|
+
"isSignal": true;
|
|
83
|
+
};
|
|
84
|
+
"ariaLabelledby": {
|
|
85
|
+
"alias": "aria-labelledby";
|
|
86
|
+
"required": false;
|
|
87
|
+
"isSignal": true;
|
|
88
|
+
};
|
|
89
|
+
"ariaDescribedby": {
|
|
90
|
+
"alias": "aria-describedby";
|
|
91
|
+
"required": false;
|
|
92
|
+
"isSignal": true;
|
|
93
|
+
};
|
|
94
|
+
"class": {
|
|
95
|
+
"alias": "class";
|
|
96
|
+
"required": false;
|
|
97
|
+
"isSignal": true;
|
|
98
|
+
};
|
|
99
|
+
}, {
|
|
100
|
+
"value": "valueChange";
|
|
101
|
+
}, never, never, true, never>;
|
|
102
|
+
}
|
|
@@ -0,0 +1,138 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import { AfterViewInit } from "@angular/core";
|
|
3
|
+
import * as i1 from "@edsis/angular/component/utils/scale";
|
|
4
|
+
import { ComponentScaleDirective } from "@edsis/angular/component/utils/scale";
|
|
5
|
+
import { ConnectedPosition } from "@angular/cdk/overlay";
|
|
6
|
+
import { MatOption } from "@angular/material/core";
|
|
7
|
+
import { MatSelect } from "@angular/material/select";
|
|
8
|
+
/**
|
|
9
|
+
* Compatibility boundary for the protected Material APIs required by the
|
|
10
|
+
* copied MatSelect template. Keep version-sensitive access in this file so a
|
|
11
|
+
* Material upgrade has one auditable failure surface.
|
|
12
|
+
*/
|
|
13
|
+
declare abstract class SelectMaterialBridge extends MatSelect {
|
|
14
|
+
protected get materialValueId(): string;
|
|
15
|
+
protected get materialOverlayPanelClass(): string | string[];
|
|
16
|
+
protected get materialScrollStrategy(): import("@angular/cdk/overlay").ScrollStrategy;
|
|
17
|
+
protected get materialPreferredOverlayOrigin(): import("@angular/cdk/overlay").CdkOverlayOrigin | import("@angular/core").ElementRef<any> | undefined;
|
|
18
|
+
protected get materialPositions(): ConnectedPosition[];
|
|
19
|
+
protected get materialOverlayWidth(): string | number;
|
|
20
|
+
protected get materialPopoverLocation(): import("@angular/cdk/overlay").FlexibleOverlayPopoverLocation | null;
|
|
21
|
+
protected get materialAnimationsDisabled(): boolean;
|
|
22
|
+
protected get materialParentFormFieldColor(): import("@angular/material/core").ThemePalette;
|
|
23
|
+
protected get materialDestroyed(): import("rxjs").Subject<void>;
|
|
24
|
+
protected configureMaterialPositions(positions: ConnectedPosition[]): void;
|
|
25
|
+
protected materialHandleOverlayKeydown(event: KeyboardEvent): void;
|
|
26
|
+
protected materialPanelAriaLabelledby(): string | null;
|
|
27
|
+
protected materialHandleKeydown(event: KeyboardEvent): void;
|
|
28
|
+
protected materialConfigureSkipPredicate(predicate: (option: MatOption) => boolean): void;
|
|
29
|
+
protected materialSetActiveItem(option: MatOption | number): void;
|
|
30
|
+
}
|
|
31
|
+
/**
|
|
32
|
+
* Custom shadcn-styled select.
|
|
33
|
+
*
|
|
34
|
+
* IMPORTANT: this MUST extend `MatSelect` (with a copied template) rather than
|
|
35
|
+
* wrap `<mat-select>` in its own view. `mat-select` projects its options through
|
|
36
|
+
* an `<ng-content>` that lives inside the deferred `cdk-connected-overlay`
|
|
37
|
+
* `<ng-template>`. A wrapper that re-projects options into mat-select via its own
|
|
38
|
+
* `<ng-content>` creates a *double* projection into that deferred slot, and the
|
|
39
|
+
* projected options are never instantiated — `@ContentChildren(MatOption)` finds
|
|
40
|
+
* zero, the trigger shows the placeholder instead of the bound value, and
|
|
41
|
+
* `_canOpen()` refuses to open the panel. By BEING the mat-select, options are
|
|
42
|
+
* direct (single-projection) content and register normally.
|
|
43
|
+
*
|
|
44
|
+
* The full MatSelect public API (`value`, `multiple`, `required`, `disabled`,
|
|
45
|
+
* `placeholder`, `aria-*`, `open()/close()/focus()`, `selectionChange`,
|
|
46
|
+
* `openedChange`, `valueChange`, and `ControlValueAccessor` for `ngModel`/reactive
|
|
47
|
+
* forms) is inherited. Only the selector, template, styles, providers, and the
|
|
48
|
+
* optional `<FormField>` bridge are declared here.
|
|
49
|
+
*/
|
|
50
|
+
export declare class SelectComponent extends SelectMaterialBridge implements AfterViewInit {
|
|
51
|
+
protected readonly componentScale: ComponentScaleDirective;
|
|
52
|
+
readonly radius: import("@angular/core").InputSignal<"inherit" | "none" | "xs" | "sm" | "md" | "xl" | "full">;
|
|
53
|
+
readonly density: import("@angular/core").InputSignal<"inherit" | "compact" | "normal" | "relaxed" | "spacious">;
|
|
54
|
+
/** Optional bridge to an enclosing edsis `<FormField>` (validation + a11y). */
|
|
55
|
+
private readonly formFieldContext;
|
|
56
|
+
/** Per-component corner-radius override; `'inherit'` follows the global axis. */
|
|
57
|
+
/** Per-component spacing-density override; `'inherit'` follows the global axis. */
|
|
58
|
+
/** Adds an opt-in search field to the overlay. */
|
|
59
|
+
readonly search: import("@angular/core").InputSignalWithTransform<boolean, unknown>;
|
|
60
|
+
/** Accessible label and visible placeholder for the optional search field. */
|
|
61
|
+
readonly searchPlaceholder: import("@angular/core").InputSignal<string>;
|
|
62
|
+
/** Message shown when the current search has no matching options. */
|
|
63
|
+
readonly searchEmptyText: import("@angular/core").InputSignal<string>;
|
|
64
|
+
protected readonly searchQuery: import("@angular/core").WritableSignal<string>;
|
|
65
|
+
protected readonly visibleOptionCount: import("@angular/core").WritableSignal<number>;
|
|
66
|
+
private readonly searchInput;
|
|
67
|
+
private readonly hiddenOptions;
|
|
68
|
+
constructor();
|
|
69
|
+
/**
|
|
70
|
+
* `aria-describedby` for the combobox, written by this host binding and nothing
|
|
71
|
+
* else. `MatSelect` publishes ids only through `setDescribedByIds()`, which is
|
|
72
|
+
* the `MatFormField` protocol: outside one — and an edsis `<FormField>` is not
|
|
73
|
+
* one — nothing ever calls it, and assigning `userAriaDescribedBy` by hand
|
|
74
|
+
* reaches the DOM through no path at all. The binding clears the attribute as
|
|
75
|
+
* well as sets it, so a resolved error never outlives itself.
|
|
76
|
+
*/
|
|
77
|
+
protected resolvedDescribedBy(): string | null;
|
|
78
|
+
ngOnInit(): void;
|
|
79
|
+
ngAfterViewInit(): void;
|
|
80
|
+
ngAfterContentInit(): void;
|
|
81
|
+
open(): void;
|
|
82
|
+
close(): void;
|
|
83
|
+
protected onSearchInput(event: Event): void;
|
|
84
|
+
protected onSearchKeydown(event: KeyboardEvent): void;
|
|
85
|
+
/** Idempotent bridge: only writes when the resolved control actually changed. */
|
|
86
|
+
private publishControl;
|
|
87
|
+
private resetSearch;
|
|
88
|
+
private focusSearchInput;
|
|
89
|
+
private applySearch;
|
|
90
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SelectComponent, never>;
|
|
91
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SelectComponent, "SelectField", ["matSelect"], {
|
|
92
|
+
"search": {
|
|
93
|
+
"alias": "search";
|
|
94
|
+
"required": false;
|
|
95
|
+
"isSignal": true;
|
|
96
|
+
};
|
|
97
|
+
"searchPlaceholder": {
|
|
98
|
+
"alias": "searchPlaceholder";
|
|
99
|
+
"required": false;
|
|
100
|
+
"isSignal": true;
|
|
101
|
+
};
|
|
102
|
+
"searchEmptyText": {
|
|
103
|
+
"alias": "searchEmptyText";
|
|
104
|
+
"required": false;
|
|
105
|
+
"isSignal": true;
|
|
106
|
+
};
|
|
107
|
+
}, {}, never, ["mat-select-trigger", "*"], true, [{
|
|
108
|
+
directive: typeof i1.ComponentScaleDirective;
|
|
109
|
+
inputs: {
|
|
110
|
+
"radius": "radius";
|
|
111
|
+
"density": "density";
|
|
112
|
+
};
|
|
113
|
+
outputs: {};
|
|
114
|
+
}]>;
|
|
115
|
+
}
|
|
116
|
+
/**
|
|
117
|
+
* Option for `<SelectField>`.
|
|
118
|
+
*
|
|
119
|
+
* IMPORTANT: this MUST extend `MatOption` rather than wrap it in a child view.
|
|
120
|
+
* `mat-select` discovers options via `@ContentChildren(MatOption, { descendants: true })`,
|
|
121
|
+
* and Angular content queries do NOT cross into a child component's view. A
|
|
122
|
+
* previous version rendered `<mat-option>` inside this component's template, so
|
|
123
|
+
* mat-select found zero options — the trigger showed its placeholder instead of
|
|
124
|
+
* the bound value and `MatSelect._canOpen()` refused to open (it returns false
|
|
125
|
+
* when `options.length === 0`). By extending `MatOption` and re-providing it,
|
|
126
|
+
* the `<SelectItem>` element IS a real option that the query matches, working
|
|
127
|
+
* both at top level and nested inside `<mat-optgroup>`.
|
|
128
|
+
*
|
|
129
|
+
* Inputs (`value`, `disabled`, `id`), outputs, host bindings, and the internal
|
|
130
|
+
* `#text` view query are inherited from `MatOption`; only the template, styles,
|
|
131
|
+
* and the self-provider below are declared here. The template/styles mirror
|
|
132
|
+
* Material's own option so rendering stays pixel-identical.
|
|
133
|
+
*/
|
|
134
|
+
export declare class OptionComponent extends MatOption {
|
|
135
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<OptionComponent, never>;
|
|
136
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<OptionComponent, "SelectItem", ["matOption"], {}, {}, never, ["mat-icon", "*"], true, never>;
|
|
137
|
+
}
|
|
138
|
+
export {};
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
export type SeparatorOrientation = 'horizontal' | 'vertical';
|
|
3
|
+
export declare class SeparatorComponent {
|
|
4
|
+
readonly orientation: import("@angular/core").InputSignal<SeparatorOrientation>;
|
|
5
|
+
readonly decorative: import("@angular/core").InputSignal<boolean>;
|
|
6
|
+
readonly class: import("@angular/core").InputSignal<string>;
|
|
7
|
+
protected readonly classes: import("@angular/core").Signal<string>;
|
|
8
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SeparatorComponent, never>;
|
|
9
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SeparatorComponent, "Separator", never, {
|
|
10
|
+
"orientation": {
|
|
11
|
+
"alias": "orientation";
|
|
12
|
+
"required": false;
|
|
13
|
+
"isSignal": true;
|
|
14
|
+
};
|
|
15
|
+
"decorative": {
|
|
16
|
+
"alias": "decorative";
|
|
17
|
+
"required": false;
|
|
18
|
+
"isSignal": true;
|
|
19
|
+
};
|
|
20
|
+
"class": {
|
|
21
|
+
"alias": "class";
|
|
22
|
+
"required": false;
|
|
23
|
+
"isSignal": true;
|
|
24
|
+
};
|
|
25
|
+
}, {}, never, never, true, never>;
|
|
26
|
+
}
|