@aeris-ui/core 22.0.0-alpha.0
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 +189 -0
- package/fesm2022/aeris-ui-core-accordion.mjs +412 -0
- package/fesm2022/aeris-ui-core-accordion.mjs.map +1 -0
- package/fesm2022/aeris-ui-core-animate-on-scroll.mjs +107 -0
- package/fesm2022/aeris-ui-core-animate-on-scroll.mjs.map +1 -0
- package/fesm2022/aeris-ui-core-auto-complete.mjs +754 -0
- package/fesm2022/aeris-ui-core-auto-complete.mjs.map +1 -0
- package/fesm2022/aeris-ui-core-auto-focus.mjs +63 -0
- package/fesm2022/aeris-ui-core-auto-focus.mjs.map +1 -0
- package/fesm2022/aeris-ui-core-avatar.mjs +133 -0
- package/fesm2022/aeris-ui-core-avatar.mjs.map +1 -0
- package/fesm2022/aeris-ui-core-badge.mjs +163 -0
- package/fesm2022/aeris-ui-core-badge.mjs.map +1 -0
- package/fesm2022/aeris-ui-core-block-ui.mjs +139 -0
- package/fesm2022/aeris-ui-core-block-ui.mjs.map +1 -0
- package/fesm2022/aeris-ui-core-breadcrumb.mjs +433 -0
- package/fesm2022/aeris-ui-core-breadcrumb.mjs.map +1 -0
- package/fesm2022/aeris-ui-core-button-group.mjs +39 -0
- package/fesm2022/aeris-ui-core-button-group.mjs.map +1 -0
- package/fesm2022/aeris-ui-core-button.mjs +246 -0
- package/fesm2022/aeris-ui-core-button.mjs.map +1 -0
- package/fesm2022/aeris-ui-core-card.mjs +134 -0
- package/fesm2022/aeris-ui-core-card.mjs.map +1 -0
- package/fesm2022/aeris-ui-core-carousel.mjs +542 -0
- package/fesm2022/aeris-ui-core-carousel.mjs.map +1 -0
- package/fesm2022/aeris-ui-core-cascade-select.mjs +673 -0
- package/fesm2022/aeris-ui-core-cascade-select.mjs.map +1 -0
- package/fesm2022/aeris-ui-core-chart.mjs +296 -0
- package/fesm2022/aeris-ui-core-chart.mjs.map +1 -0
- package/fesm2022/aeris-ui-core-checkbox.mjs +220 -0
- package/fesm2022/aeris-ui-core-checkbox.mjs.map +1 -0
- package/fesm2022/aeris-ui-core-chip.mjs +200 -0
- package/fesm2022/aeris-ui-core-chip.mjs.map +1 -0
- package/fesm2022/aeris-ui-core-class-names.mjs +67 -0
- package/fesm2022/aeris-ui-core-class-names.mjs.map +1 -0
- package/fesm2022/aeris-ui-core-color-picker.mjs +1192 -0
- package/fesm2022/aeris-ui-core-color-picker.mjs.map +1 -0
- package/fesm2022/aeris-ui-core-compare.mjs +508 -0
- package/fesm2022/aeris-ui-core-compare.mjs.map +1 -0
- package/fesm2022/aeris-ui-core-confirm-dialog.mjs +818 -0
- package/fesm2022/aeris-ui-core-confirm-dialog.mjs.map +1 -0
- package/fesm2022/aeris-ui-core-confirm-popup.mjs +1010 -0
- package/fesm2022/aeris-ui-core-confirm-popup.mjs.map +1 -0
- package/fesm2022/aeris-ui-core-context-menu.mjs +720 -0
- package/fesm2022/aeris-ui-core-context-menu.mjs.map +1 -0
- package/fesm2022/aeris-ui-core-date-picker.mjs +1471 -0
- package/fesm2022/aeris-ui-core-date-picker.mjs.map +1 -0
- package/fesm2022/aeris-ui-core-dialog.mjs +574 -0
- package/fesm2022/aeris-ui-core-dialog.mjs.map +1 -0
- package/fesm2022/aeris-ui-core-divider.mjs +51 -0
- package/fesm2022/aeris-ui-core-divider.mjs.map +1 -0
- package/fesm2022/aeris-ui-core-drawer.mjs +549 -0
- package/fesm2022/aeris-ui-core-drawer.mjs.map +1 -0
- package/fesm2022/aeris-ui-core-dynamic-dialog.mjs +333 -0
- package/fesm2022/aeris-ui-core-dynamic-dialog.mjs.map +1 -0
- package/fesm2022/aeris-ui-core-editor.mjs +1548 -0
- package/fesm2022/aeris-ui-core-editor.mjs.map +1 -0
- package/fesm2022/aeris-ui-core-file-upload.mjs +965 -0
- package/fesm2022/aeris-ui-core-file-upload.mjs.map +1 -0
- package/fesm2022/aeris-ui-core-filter-service.mjs +304 -0
- package/fesm2022/aeris-ui-core-filter-service.mjs.map +1 -0
- package/fesm2022/aeris-ui-core-fluid.mjs +23 -0
- package/fesm2022/aeris-ui-core-fluid.mjs.map +1 -0
- package/fesm2022/aeris-ui-core-focus-trap.mjs +185 -0
- package/fesm2022/aeris-ui-core-focus-trap.mjs.map +1 -0
- package/fesm2022/aeris-ui-core-galleria.mjs +1657 -0
- package/fesm2022/aeris-ui-core-galleria.mjs.map +1 -0
- package/fesm2022/aeris-ui-core-glass.mjs +35 -0
- package/fesm2022/aeris-ui-core-glass.mjs.map +1 -0
- package/fesm2022/aeris-ui-core-icon-field.mjs +113 -0
- package/fesm2022/aeris-ui-core-icon-field.mjs.map +1 -0
- package/fesm2022/aeris-ui-core-inplace.mjs +243 -0
- package/fesm2022/aeris-ui-core-inplace.mjs.map +1 -0
- package/fesm2022/aeris-ui-core-input-group.mjs +110 -0
- package/fesm2022/aeris-ui-core-input-group.mjs.map +1 -0
- package/fesm2022/aeris-ui-core-input-mask.mjs +343 -0
- package/fesm2022/aeris-ui-core-input-mask.mjs.map +1 -0
- package/fesm2022/aeris-ui-core-input-number.mjs +497 -0
- package/fesm2022/aeris-ui-core-input-number.mjs.map +1 -0
- package/fesm2022/aeris-ui-core-input-otp.mjs +361 -0
- package/fesm2022/aeris-ui-core-input-otp.mjs.map +1 -0
- package/fesm2022/aeris-ui-core-input-text.mjs +226 -0
- package/fesm2022/aeris-ui-core-input-text.mjs.map +1 -0
- package/fesm2022/aeris-ui-core-key-filter.mjs +208 -0
- package/fesm2022/aeris-ui-core-key-filter.mjs.map +1 -0
- package/fesm2022/aeris-ui-core-mega-menu.mjs +835 -0
- package/fesm2022/aeris-ui-core-mega-menu.mjs.map +1 -0
- package/fesm2022/aeris-ui-core-menu.mjs +796 -0
- package/fesm2022/aeris-ui-core-menu.mjs.map +1 -0
- package/fesm2022/aeris-ui-core-menubar.mjs +729 -0
- package/fesm2022/aeris-ui-core-menubar.mjs.map +1 -0
- package/fesm2022/aeris-ui-core-message.mjs +225 -0
- package/fesm2022/aeris-ui-core-message.mjs.map +1 -0
- package/fesm2022/aeris-ui-core-meter-group.mjs +377 -0
- package/fesm2022/aeris-ui-core-meter-group.mjs.map +1 -0
- package/fesm2022/aeris-ui-core-multi-select.mjs +1033 -0
- package/fesm2022/aeris-ui-core-multi-select.mjs.map +1 -0
- package/fesm2022/aeris-ui-core-order-list.mjs +351 -0
- package/fesm2022/aeris-ui-core-order-list.mjs.map +1 -0
- package/fesm2022/aeris-ui-core-organization-chart.mjs +382 -0
- package/fesm2022/aeris-ui-core-organization-chart.mjs.map +1 -0
- package/fesm2022/aeris-ui-core-paginator.mjs +254 -0
- package/fesm2022/aeris-ui-core-paginator.mjs.map +1 -0
- package/fesm2022/aeris-ui-core-panel.mjs +352 -0
- package/fesm2022/aeris-ui-core-panel.mjs.map +1 -0
- package/fesm2022/aeris-ui-core-password.mjs +479 -0
- package/fesm2022/aeris-ui-core-password.mjs.map +1 -0
- package/fesm2022/aeris-ui-core-pick-list.mjs +939 -0
- package/fesm2022/aeris-ui-core-pick-list.mjs.map +1 -0
- package/fesm2022/aeris-ui-core-popover.mjs +535 -0
- package/fesm2022/aeris-ui-core-popover.mjs.map +1 -0
- package/fesm2022/aeris-ui-core-progress-bar.mjs +260 -0
- package/fesm2022/aeris-ui-core-progress-bar.mjs.map +1 -0
- package/fesm2022/aeris-ui-core-progress-spinner.mjs +218 -0
- package/fesm2022/aeris-ui-core-progress-spinner.mjs.map +1 -0
- package/fesm2022/aeris-ui-core-radio-button.mjs +194 -0
- package/fesm2022/aeris-ui-core-radio-button.mjs.map +1 -0
- package/fesm2022/aeris-ui-core-rating.mjs +385 -0
- package/fesm2022/aeris-ui-core-rating.mjs.map +1 -0
- package/fesm2022/aeris-ui-core-scroll-panel.mjs +211 -0
- package/fesm2022/aeris-ui-core-scroll-panel.mjs.map +1 -0
- package/fesm2022/aeris-ui-core-scroll-top.mjs +94 -0
- package/fesm2022/aeris-ui-core-scroll-top.mjs.map +1 -0
- package/fesm2022/aeris-ui-core-select.mjs +1134 -0
- package/fesm2022/aeris-ui-core-select.mjs.map +1 -0
- package/fesm2022/aeris-ui-core-skeleton.mjs +47 -0
- package/fesm2022/aeris-ui-core-skeleton.mjs.map +1 -0
- package/fesm2022/aeris-ui-core-slider.mjs +724 -0
- package/fesm2022/aeris-ui-core-slider.mjs.map +1 -0
- package/fesm2022/aeris-ui-core-speed-dial.mjs +589 -0
- package/fesm2022/aeris-ui-core-speed-dial.mjs.map +1 -0
- package/fesm2022/aeris-ui-core-split-button.mjs +532 -0
- package/fesm2022/aeris-ui-core-split-button.mjs.map +1 -0
- package/fesm2022/aeris-ui-core-splitter.mjs +488 -0
- package/fesm2022/aeris-ui-core-splitter.mjs.map +1 -0
- package/fesm2022/aeris-ui-core-stepper.mjs +437 -0
- package/fesm2022/aeris-ui-core-stepper.mjs.map +1 -0
- package/fesm2022/aeris-ui-core-style-class.mjs +344 -0
- package/fesm2022/aeris-ui-core-style-class.mjs.map +1 -0
- package/fesm2022/aeris-ui-core-table.mjs +1580 -0
- package/fesm2022/aeris-ui-core-table.mjs.map +1 -0
- package/fesm2022/aeris-ui-core-tabs.mjs +438 -0
- package/fesm2022/aeris-ui-core-tabs.mjs.map +1 -0
- package/fesm2022/aeris-ui-core-textarea.mjs +349 -0
- package/fesm2022/aeris-ui-core-textarea.mjs.map +1 -0
- package/fesm2022/aeris-ui-core-theme-builder.mjs +1565 -0
- package/fesm2022/aeris-ui-core-theme-builder.mjs.map +1 -0
- package/fesm2022/aeris-ui-core-theming.mjs +150 -0
- package/fesm2022/aeris-ui-core-theming.mjs.map +1 -0
- package/fesm2022/aeris-ui-core-tiered-menu.mjs +718 -0
- package/fesm2022/aeris-ui-core-tiered-menu.mjs.map +1 -0
- package/fesm2022/aeris-ui-core-timeline.mjs +278 -0
- package/fesm2022/aeris-ui-core-timeline.mjs.map +1 -0
- package/fesm2022/aeris-ui-core-toast.mjs +422 -0
- package/fesm2022/aeris-ui-core-toast.mjs.map +1 -0
- package/fesm2022/aeris-ui-core-toggle-switch.mjs +202 -0
- package/fesm2022/aeris-ui-core-toggle-switch.mjs.map +1 -0
- package/fesm2022/aeris-ui-core-toolbar.mjs +136 -0
- package/fesm2022/aeris-ui-core-toolbar.mjs.map +1 -0
- package/fesm2022/aeris-ui-core-tooltip.mjs +365 -0
- package/fesm2022/aeris-ui-core-tooltip.mjs.map +1 -0
- package/fesm2022/aeris-ui-core-tree-select.mjs +995 -0
- package/fesm2022/aeris-ui-core-tree-select.mjs.map +1 -0
- package/fesm2022/aeris-ui-core-tree-table.mjs +1600 -0
- package/fesm2022/aeris-ui-core-tree-table.mjs.map +1 -0
- package/fesm2022/aeris-ui-core-tree.mjs +962 -0
- package/fesm2022/aeris-ui-core-tree.mjs.map +1 -0
- package/fesm2022/aeris-ui-core.mjs +360 -0
- package/fesm2022/aeris-ui-core.mjs.map +1 -0
- package/package.json +432 -0
- package/schematics/aeris-setup.schema.json +52 -0
- package/schematics/collection.json +10 -0
- package/schematics/ng-add/schema.json +64 -0
- package/schematics/runtime/package.json +3 -0
- package/schematics/runtime/schematics/ng-add/index.js +13 -0
- package/schematics/runtime/schematics/ng-add/index.js.map +1 -0
- package/schematics/runtime/schematics/ng-add/options.js +338 -0
- package/schematics/runtime/schematics/ng-add/options.js.map +1 -0
- package/schematics/runtime/schematics/ng-add/schema.js +3 -0
- package/schematics/runtime/schematics/ng-add/schema.js.map +1 -0
- package/schematics/runtime/schematics/ng-add/workspace.js +273 -0
- package/schematics/runtime/schematics/ng-add/workspace.js.map +1 -0
- package/schematics/runtime/theme-builder/aeris-color-derivation.js +12 -0
- package/schematics/runtime/theme-builder/aeris-color-derivation.js.map +1 -0
- package/schematics/runtime/theme-builder/aeris-color.js +263 -0
- package/schematics/runtime/theme-builder/aeris-color.js.map +1 -0
- package/schematics/runtime/theme-builder/aeris-contrast.js +245 -0
- package/schematics/runtime/theme-builder/aeris-contrast.js.map +1 -0
- package/schematics/runtime/theme-builder/aeris-foundation.js +47 -0
- package/schematics/runtime/theme-builder/aeris-foundation.js.map +1 -0
- package/schematics/runtime/theme-builder/aeris-semantic-tones.js +121 -0
- package/schematics/runtime/theme-builder/aeris-semantic-tones.js.map +1 -0
- package/schematics/runtime/theme-builder/aeris-theme-generator.js +238 -0
- package/schematics/runtime/theme-builder/aeris-theme-generator.js.map +1 -0
- package/schematics/runtime/theme-builder/aeris-theme-resolver.js +101 -0
- package/schematics/runtime/theme-builder/aeris-theme-resolver.js.map +1 -0
- package/schematics/runtime/theme-builder/aeris-theme-tokens.js +82 -0
- package/schematics/runtime/theme-builder/aeris-theme-tokens.js.map +1 -0
- package/schematics/runtime/theme-builder/aeris-theme-validation.js +183 -0
- package/schematics/runtime/theme-builder/aeris-theme-validation.js.map +1 -0
- package/schematics/runtime/theme-builder/aeris-theme.js +322 -0
- package/schematics/runtime/theme-builder/aeris-theme.js.map +1 -0
- package/schematics/runtime/theme-builder/public-api.js +17 -0
- package/schematics/runtime/theme-builder/public-api.js.map +1 -0
- package/styles/_index.scss +1 -0
- package/styles/_tokens.scss +13 -0
- package/styles/aeris.css +555 -0
- package/styles/controls.css +169 -0
- package/tools/aeris-theme.mjs +149 -0
- package/tools/aeris-theme.schema.json +143 -0
- package/types/aeris-ui-core-accordion.d.ts +101 -0
- package/types/aeris-ui-core-animate-on-scroll.d.ts +34 -0
- package/types/aeris-ui-core-auto-complete.d.ts +154 -0
- package/types/aeris-ui-core-auto-focus.d.ts +17 -0
- package/types/aeris-ui-core-avatar.d.ts +44 -0
- package/types/aeris-ui-core-badge.d.ts +48 -0
- package/types/aeris-ui-core-block-ui.d.ts +28 -0
- package/types/aeris-ui-core-breadcrumb.d.ts +104 -0
- package/types/aeris-ui-core-button-group.d.ts +17 -0
- package/types/aeris-ui-core-button.d.ts +71 -0
- package/types/aeris-ui-core-card.d.ts +43 -0
- package/types/aeris-ui-core-carousel.d.ts +126 -0
- package/types/aeris-ui-core-cascade-select.d.ts +130 -0
- package/types/aeris-ui-core-chart.d.ts +92 -0
- package/types/aeris-ui-core-checkbox.d.ts +55 -0
- package/types/aeris-ui-core-chip.d.ts +56 -0
- package/types/aeris-ui-core-class-names.d.ts +21 -0
- package/types/aeris-ui-core-color-picker.d.ts +149 -0
- package/types/aeris-ui-core-compare.d.ts +109 -0
- package/types/aeris-ui-core-confirm-dialog.d.ts +263 -0
- package/types/aeris-ui-core-confirm-popup.d.ts +281 -0
- package/types/aeris-ui-core-context-menu.d.ts +156 -0
- package/types/aeris-ui-core-date-picker.d.ts +226 -0
- package/types/aeris-ui-core-dialog.d.ts +124 -0
- package/types/aeris-ui-core-divider.d.ts +21 -0
- package/types/aeris-ui-core-drawer.d.ts +119 -0
- package/types/aeris-ui-core-dynamic-dialog.d.ts +148 -0
- package/types/aeris-ui-core-editor.d.ts +130 -0
- package/types/aeris-ui-core-file-upload.d.ts +199 -0
- package/types/aeris-ui-core-filter-service.d.ts +54 -0
- package/types/aeris-ui-core-fluid.d.ts +10 -0
- package/types/aeris-ui-core-focus-trap.d.ts +32 -0
- package/types/aeris-ui-core-galleria.d.ts +273 -0
- package/types/aeris-ui-core-glass.d.ts +17 -0
- package/types/aeris-ui-core-icon-field.d.ts +36 -0
- package/types/aeris-ui-core-inplace.d.ts +68 -0
- package/types/aeris-ui-core-input-group.d.ts +38 -0
- package/types/aeris-ui-core-input-mask.d.ts +73 -0
- package/types/aeris-ui-core-input-number.d.ts +87 -0
- package/types/aeris-ui-core-input-otp.d.ts +88 -0
- package/types/aeris-ui-core-input-text.d.ts +63 -0
- package/types/aeris-ui-core-key-filter.d.ts +41 -0
- package/types/aeris-ui-core-mega-menu.d.ts +130 -0
- package/types/aeris-ui-core-menu.d.ts +182 -0
- package/types/aeris-ui-core-menubar.d.ts +145 -0
- package/types/aeris-ui-core-message.d.ts +65 -0
- package/types/aeris-ui-core-meter-group.d.ts +100 -0
- package/types/aeris-ui-core-multi-select.d.ts +193 -0
- package/types/aeris-ui-core-order-list.d.ts +73 -0
- package/types/aeris-ui-core-organization-chart.d.ts +85 -0
- package/types/aeris-ui-core-paginator.d.ts +39 -0
- package/types/aeris-ui-core-panel.d.ts +85 -0
- package/types/aeris-ui-core-password.d.ts +110 -0
- package/types/aeris-ui-core-pick-list.d.ts +193 -0
- package/types/aeris-ui-core-popover.d.ts +112 -0
- package/types/aeris-ui-core-progress-bar.d.ts +81 -0
- package/types/aeris-ui-core-progress-spinner.d.ts +51 -0
- package/types/aeris-ui-core-radio-button.d.ts +51 -0
- package/types/aeris-ui-core-rating.d.ts +80 -0
- package/types/aeris-ui-core-scroll-panel.d.ts +66 -0
- package/types/aeris-ui-core-scroll-top.d.ts +29 -0
- package/types/aeris-ui-core-select.d.ts +223 -0
- package/types/aeris-ui-core-skeleton.d.ts +18 -0
- package/types/aeris-ui-core-slider.d.ts +117 -0
- package/types/aeris-ui-core-speed-dial.d.ts +119 -0
- package/types/aeris-ui-core-split-button.d.ts +122 -0
- package/types/aeris-ui-core-splitter.d.ts +113 -0
- package/types/aeris-ui-core-stepper.d.ts +99 -0
- package/types/aeris-ui-core-style-class.d.ts +73 -0
- package/types/aeris-ui-core-table.d.ts +333 -0
- package/types/aeris-ui-core-tabs.d.ts +82 -0
- package/types/aeris-ui-core-textarea.d.ts +80 -0
- package/types/aeris-ui-core-theme-builder.d.ts +499 -0
- package/types/aeris-ui-core-theming.d.ts +47 -0
- package/types/aeris-ui-core-tiered-menu.d.ts +152 -0
- package/types/aeris-ui-core-timeline.d.ts +80 -0
- package/types/aeris-ui-core-toast.d.ts +127 -0
- package/types/aeris-ui-core-toggle-switch.d.ts +52 -0
- package/types/aeris-ui-core-toolbar.d.ts +47 -0
- package/types/aeris-ui-core-tooltip.d.ts +92 -0
- package/types/aeris-ui-core-tree-select.d.ts +187 -0
- package/types/aeris-ui-core-tree-table.d.ts +311 -0
- package/types/aeris-ui-core-tree.d.ts +179 -0
- package/types/aeris-ui-core.d.ts +85 -0
|
@@ -0,0 +1,589 @@
|
|
|
1
|
+
import { NgTemplateOutlet } from '@angular/common';
|
|
2
|
+
import * as i0 from '@angular/core';
|
|
3
|
+
import { inject, ElementRef, viewChildren, input, model, booleanAttribute, output, contentChild, computed, linkedSignal, Component } from '@angular/core';
|
|
4
|
+
|
|
5
|
+
const AERIS_SPEED_DIAL_ITEM_LIMITS = {
|
|
6
|
+
linear: 5,
|
|
7
|
+
circle: 8,
|
|
8
|
+
'semi-circle': 7,
|
|
9
|
+
'quarter-circle': 5,
|
|
10
|
+
};
|
|
11
|
+
let speedDialId = 0;
|
|
12
|
+
class AerisSpeedDial {
|
|
13
|
+
host = inject(ElementRef);
|
|
14
|
+
generatedId = `aeris-speed-dial-${++speedDialId}`;
|
|
15
|
+
actions = viewChildren('action', /* @ts-ignore */
|
|
16
|
+
...(ngDevMode ? [{ debugName: "actions" }] : /* istanbul ignore next */ []));
|
|
17
|
+
trigger = viewChildren('trigger', /* @ts-ignore */
|
|
18
|
+
...(ngDevMode ? [{ debugName: "trigger" }] : /* istanbul ignore next */ []));
|
|
19
|
+
id = input(this.generatedId, /* @ts-ignore */
|
|
20
|
+
...(ngDevMode ? [{ debugName: "id" }] : /* istanbul ignore next */ []));
|
|
21
|
+
model = input([], /* @ts-ignore */
|
|
22
|
+
...(ngDevMode ? [{ debugName: "model" }] : /* istanbul ignore next */ []));
|
|
23
|
+
visible = model(false, /* @ts-ignore */
|
|
24
|
+
...(ngDevMode ? [{ debugName: "visible" }] : /* istanbul ignore next */ []));
|
|
25
|
+
direction = input('up', /* @ts-ignore */
|
|
26
|
+
...(ngDevMode ? [{ debugName: "direction" }] : /* istanbul ignore next */ []));
|
|
27
|
+
transitionDelay = input(30, /* @ts-ignore */
|
|
28
|
+
...(ngDevMode ? [{ debugName: "transitionDelay" }] : /* istanbul ignore next */ []));
|
|
29
|
+
type = input('linear', /* @ts-ignore */
|
|
30
|
+
...(ngDevMode ? [{ debugName: "type" }] : /* istanbul ignore next */ []));
|
|
31
|
+
maxItems = input(/* @ts-ignore */
|
|
32
|
+
...(ngDevMode ? [undefined, { debugName: "maxItems" }] : /* istanbul ignore next */ []));
|
|
33
|
+
radius = input(0, /* @ts-ignore */
|
|
34
|
+
...(ngDevMode ? [{ debugName: "radius" }] : /* istanbul ignore next */ []));
|
|
35
|
+
mask = input(false, { ...(ngDevMode ? { debugName: "mask" } : /* istanbul ignore next */ {}), transform: booleanAttribute });
|
|
36
|
+
backdropBlur = input(true, { ...(ngDevMode ? { debugName: "backdropBlur" } : /* istanbul ignore next */ {}), transform: booleanAttribute });
|
|
37
|
+
backdropBlurAmount = input('', /* @ts-ignore */
|
|
38
|
+
...(ngDevMode ? [{ debugName: "backdropBlurAmount" }] : /* istanbul ignore next */ []));
|
|
39
|
+
disabled = input(false, { ...(ngDevMode ? { debugName: "disabled" } : /* istanbul ignore next */ {}), transform: booleanAttribute });
|
|
40
|
+
hideOnClickOutside = input(true, { ...(ngDevMode ? { debugName: "hideOnClickOutside" } : /* istanbul ignore next */ {}), transform: booleanAttribute });
|
|
41
|
+
buttonClass = input('', /* @ts-ignore */
|
|
42
|
+
...(ngDevMode ? [{ debugName: "buttonClass" }] : /* istanbul ignore next */ []));
|
|
43
|
+
maskClass = input('', /* @ts-ignore */
|
|
44
|
+
...(ngDevMode ? [{ debugName: "maskClass" }] : /* istanbul ignore next */ []));
|
|
45
|
+
showIcon = input('+', /* @ts-ignore */
|
|
46
|
+
...(ngDevMode ? [{ debugName: "showIcon" }] : /* istanbul ignore next */ []));
|
|
47
|
+
hideIcon = input('', /* @ts-ignore */
|
|
48
|
+
...(ngDevMode ? [{ debugName: "hideIcon" }] : /* istanbul ignore next */ []));
|
|
49
|
+
rotateAnimation = input(true, { ...(ngDevMode ? { debugName: "rotateAnimation" } : /* istanbul ignore next */ {}), transform: booleanAttribute });
|
|
50
|
+
ariaLabel = input('Open actions', /* @ts-ignore */
|
|
51
|
+
...(ngDevMode ? [{ debugName: "ariaLabel" }] : /* istanbul ignore next */ []));
|
|
52
|
+
ariaLabelledBy = input(/* @ts-ignore */
|
|
53
|
+
...(ngDevMode ? [undefined, { debugName: "ariaLabelledBy" }] : /* istanbul ignore next */ []));
|
|
54
|
+
buttonProps = input(/* @ts-ignore */
|
|
55
|
+
...(ngDevMode ? [undefined, { debugName: "buttonProps" }] : /* istanbul ignore next */ []));
|
|
56
|
+
buttonTemplate = input(/* @ts-ignore */
|
|
57
|
+
...(ngDevMode ? [undefined, { debugName: "buttonTemplate" }] : /* istanbul ignore next */ []));
|
|
58
|
+
itemTemplate = input(/* @ts-ignore */
|
|
59
|
+
...(ngDevMode ? [undefined, { debugName: "itemTemplate" }] : /* istanbul ignore next */ []));
|
|
60
|
+
iconTemplate = input(/* @ts-ignore */
|
|
61
|
+
...(ngDevMode ? [undefined, { debugName: "iconTemplate" }] : /* istanbul ignore next */ []));
|
|
62
|
+
navigationHandler = input(/* @ts-ignore */
|
|
63
|
+
...(ngDevMode ? [undefined, { debugName: "navigationHandler" }] : /* istanbul ignore next */ []));
|
|
64
|
+
clicked = output();
|
|
65
|
+
shown = output();
|
|
66
|
+
hidden = output();
|
|
67
|
+
itemSelected = output();
|
|
68
|
+
projectedButtonTemplate = contentChild('button', /* @ts-ignore */
|
|
69
|
+
...(ngDevMode ? [{ debugName: "projectedButtonTemplate" }] : /* istanbul ignore next */ []));
|
|
70
|
+
projectedItemTemplate = contentChild('item', /* @ts-ignore */
|
|
71
|
+
...(ngDevMode ? [{ debugName: "projectedItemTemplate" }] : /* istanbul ignore next */ []));
|
|
72
|
+
projectedIconTemplate = contentChild('icon', /* @ts-ignore */
|
|
73
|
+
...(ngDevMode ? [{ debugName: "projectedIconTemplate" }] : /* istanbul ignore next */ []));
|
|
74
|
+
toggleCallback = (event) => this.toggle(event);
|
|
75
|
+
menuId = computed(() => `${this.id()}-menu`, /* @ts-ignore */
|
|
76
|
+
...(ngDevMode ? [{ debugName: "menuId" }] : /* istanbul ignore next */ []));
|
|
77
|
+
buttonContentTemplate = computed(() => this.buttonTemplate() ?? this.projectedButtonTemplate(), /* @ts-ignore */
|
|
78
|
+
...(ngDevMode ? [{ debugName: "buttonContentTemplate" }] : /* istanbul ignore next */ []));
|
|
79
|
+
itemContentTemplate = computed(() => this.itemTemplate() ?? this.projectedItemTemplate(), /* @ts-ignore */
|
|
80
|
+
...(ngDevMode ? [{ debugName: "itemContentTemplate" }] : /* istanbul ignore next */ []));
|
|
81
|
+
iconContentTemplate = computed(() => this.iconTemplate() ?? this.projectedIconTemplate(), /* @ts-ignore */
|
|
82
|
+
...(ngDevMode ? [{ debugName: "iconContentTemplate" }] : /* istanbul ignore next */ []));
|
|
83
|
+
layoutItemLimit = computed(() => {
|
|
84
|
+
const layoutLimit = AERIS_SPEED_DIAL_ITEM_LIMITS[this.type()];
|
|
85
|
+
const requestedLimit = this.maxItems();
|
|
86
|
+
if (requestedLimit === undefined || !Number.isFinite(requestedLimit)) {
|
|
87
|
+
return layoutLimit;
|
|
88
|
+
}
|
|
89
|
+
return Math.max(0, Math.min(Math.floor(requestedLimit), layoutLimit));
|
|
90
|
+
}, /* @ts-ignore */
|
|
91
|
+
...(ngDevMode ? [{ debugName: "layoutItemLimit" }] : /* istanbul ignore next */ []));
|
|
92
|
+
availableItems = computed(() => this.model().filter((item) => item.visible !== false), /* @ts-ignore */
|
|
93
|
+
...(ngDevMode ? [{ debugName: "availableItems" }] : /* istanbul ignore next */ []));
|
|
94
|
+
visibleItems = computed(() => this.availableItems().slice(0, this.layoutItemLimit()), /* @ts-ignore */
|
|
95
|
+
...(ngDevMode ? [{ debugName: "visibleItems" }] : /* istanbul ignore next */ []));
|
|
96
|
+
hasOverflowItems = computed(() => this.availableItems().length > this.layoutItemLimit(), /* @ts-ignore */
|
|
97
|
+
...(ngDevMode ? [{ debugName: "hasOverflowItems" }] : /* istanbul ignore next */ []));
|
|
98
|
+
focusedIndex = linkedSignal(() => this.visible() ? this.firstEnabledIndex() : -1, /* @ts-ignore */
|
|
99
|
+
...(ngDevMode ? [{ debugName: "focusedIndex" }] : /* istanbul ignore next */ []));
|
|
100
|
+
positionedItems = computed(() => {
|
|
101
|
+
const items = this.visibleItems();
|
|
102
|
+
return items.map((item, index) => {
|
|
103
|
+
const point = this.calculatePoint(index, items.length);
|
|
104
|
+
const delayIndex = this.visible() ? index : items.length - index - 1;
|
|
105
|
+
return {
|
|
106
|
+
item,
|
|
107
|
+
index,
|
|
108
|
+
id: item.id ?? `${this.id()}-item-${index}`,
|
|
109
|
+
delay: `${Math.max(0, delayIndex * this.transitionDelay())}ms`,
|
|
110
|
+
href: this.resolveHref(item),
|
|
111
|
+
...point,
|
|
112
|
+
};
|
|
113
|
+
});
|
|
114
|
+
}, /* @ts-ignore */
|
|
115
|
+
...(ngDevMode ? [{ debugName: "positionedItems" }] : /* istanbul ignore next */ []));
|
|
116
|
+
itemContext(positioned) {
|
|
117
|
+
return {
|
|
118
|
+
$implicit: positioned.item,
|
|
119
|
+
item: positioned.item,
|
|
120
|
+
index: positioned.index,
|
|
121
|
+
};
|
|
122
|
+
}
|
|
123
|
+
toggle(event) {
|
|
124
|
+
this.clicked.emit(event);
|
|
125
|
+
this.visible() ? this.hide(event) : this.show(event);
|
|
126
|
+
}
|
|
127
|
+
show(event) {
|
|
128
|
+
if (this.disabled() || this.visible())
|
|
129
|
+
return;
|
|
130
|
+
this.visible.set(true);
|
|
131
|
+
const index = this.firstEnabledIndex();
|
|
132
|
+
this.focusedIndex.set(index);
|
|
133
|
+
this.shown.emit(event);
|
|
134
|
+
}
|
|
135
|
+
hide(event, restoreFocus = false) {
|
|
136
|
+
if (!this.visible())
|
|
137
|
+
return;
|
|
138
|
+
this.visible.set(false);
|
|
139
|
+
this.focusedIndex.set(-1);
|
|
140
|
+
this.hidden.emit(event);
|
|
141
|
+
if (restoreFocus) {
|
|
142
|
+
queueMicrotask(() => this.trigger().at(0)?.nativeElement.focus());
|
|
143
|
+
}
|
|
144
|
+
}
|
|
145
|
+
activate(event, positioned) {
|
|
146
|
+
if (positioned.item.disabled) {
|
|
147
|
+
event.preventDefault();
|
|
148
|
+
return;
|
|
149
|
+
}
|
|
150
|
+
const commandEvent = { originalEvent: event, item: positioned.item };
|
|
151
|
+
positioned.item.command?.(commandEvent);
|
|
152
|
+
this.itemSelected.emit(commandEvent);
|
|
153
|
+
if (positioned.item.routerLink && this.navigationHandler()) {
|
|
154
|
+
event.preventDefault();
|
|
155
|
+
this.navigationHandler()?.(positioned.item.routerLink, event);
|
|
156
|
+
}
|
|
157
|
+
this.hide(event, true);
|
|
158
|
+
}
|
|
159
|
+
onTriggerKeydown(event) {
|
|
160
|
+
if (!['ArrowDown', 'ArrowUp', 'ArrowLeft', 'ArrowRight'].includes(event.key)) {
|
|
161
|
+
return;
|
|
162
|
+
}
|
|
163
|
+
event.preventDefault();
|
|
164
|
+
this.show(event);
|
|
165
|
+
const useLast = event.key === 'ArrowUp' || event.key === 'ArrowLeft';
|
|
166
|
+
this.focusedIndex.set(useLast ? this.lastEnabledIndex() : this.firstEnabledIndex());
|
|
167
|
+
this.focusActiveItem();
|
|
168
|
+
}
|
|
169
|
+
onMenuKeydown(event) {
|
|
170
|
+
switch (event.key) {
|
|
171
|
+
case 'ArrowDown':
|
|
172
|
+
case 'ArrowRight':
|
|
173
|
+
event.preventDefault();
|
|
174
|
+
this.moveFocus(1);
|
|
175
|
+
break;
|
|
176
|
+
case 'ArrowUp':
|
|
177
|
+
case 'ArrowLeft':
|
|
178
|
+
event.preventDefault();
|
|
179
|
+
this.moveFocus(-1);
|
|
180
|
+
break;
|
|
181
|
+
case 'Home':
|
|
182
|
+
event.preventDefault();
|
|
183
|
+
this.focusedIndex.set(this.firstEnabledIndex());
|
|
184
|
+
this.focusActiveItem();
|
|
185
|
+
break;
|
|
186
|
+
case 'End':
|
|
187
|
+
event.preventDefault();
|
|
188
|
+
this.focusedIndex.set(this.lastEnabledIndex());
|
|
189
|
+
this.focusActiveItem();
|
|
190
|
+
break;
|
|
191
|
+
case 'Escape':
|
|
192
|
+
event.preventDefault();
|
|
193
|
+
this.hide(event, true);
|
|
194
|
+
break;
|
|
195
|
+
}
|
|
196
|
+
}
|
|
197
|
+
onDocumentClick(event) {
|
|
198
|
+
const target = event.target;
|
|
199
|
+
const host = this.host.nativeElement;
|
|
200
|
+
if (this.visible() &&
|
|
201
|
+
this.hideOnClickOutside() &&
|
|
202
|
+
target instanceof Node &&
|
|
203
|
+
host &&
|
|
204
|
+
!host.contains(target)) {
|
|
205
|
+
this.hide(event);
|
|
206
|
+
}
|
|
207
|
+
}
|
|
208
|
+
moveFocus(step) {
|
|
209
|
+
const enabled = this.enabledIndexes();
|
|
210
|
+
if (!enabled.length)
|
|
211
|
+
return;
|
|
212
|
+
const current = enabled.indexOf(this.focusedIndex());
|
|
213
|
+
const next = current < 0
|
|
214
|
+
? (step === 1 ? 0 : enabled.length - 1)
|
|
215
|
+
: (current + step + enabled.length) % enabled.length;
|
|
216
|
+
this.focusedIndex.set(enabled[next]);
|
|
217
|
+
this.focusActiveItem();
|
|
218
|
+
}
|
|
219
|
+
focusActiveItem() {
|
|
220
|
+
queueMicrotask(() => this.actions().at(this.focusedIndex())?.nativeElement.focus());
|
|
221
|
+
}
|
|
222
|
+
enabledIndexes() {
|
|
223
|
+
return this.visibleItems().flatMap((item, index) => item.disabled ? [] : [index]);
|
|
224
|
+
}
|
|
225
|
+
firstEnabledIndex() {
|
|
226
|
+
return this.enabledIndexes().at(0) ?? -1;
|
|
227
|
+
}
|
|
228
|
+
lastEnabledIndex() {
|
|
229
|
+
return this.enabledIndexes().at(-1) ?? -1;
|
|
230
|
+
}
|
|
231
|
+
calculatePoint(index, length) {
|
|
232
|
+
if (this.type() === 'linear') {
|
|
233
|
+
const offset = `calc(
|
|
234
|
+
(var(--aeris-speed-dial-size) + var(--aeris-speed-dial-item-size)) / 2
|
|
235
|
+
+ var(--aeris-speed-dial-gap)
|
|
236
|
+
+ (var(--aeris-speed-dial-item-size) + var(--aeris-speed-dial-gap)) * ${index}
|
|
237
|
+
)`;
|
|
238
|
+
if (this.direction() === 'up') {
|
|
239
|
+
return { left: '0px', top: `calc(-1 * ${offset})`, right: null, bottom: null };
|
|
240
|
+
}
|
|
241
|
+
if (this.direction() === 'down') {
|
|
242
|
+
return { left: '0px', top: offset, right: null, bottom: null };
|
|
243
|
+
}
|
|
244
|
+
if (this.direction() === 'left') {
|
|
245
|
+
return { left: `calc(-1 * ${offset})`, top: '0px', right: null, bottom: null };
|
|
246
|
+
}
|
|
247
|
+
return { left: offset, top: '0px', right: null, bottom: null };
|
|
248
|
+
}
|
|
249
|
+
const radius = this.radius() || length * 24;
|
|
250
|
+
const safeLength = Math.max(length - 1, 1);
|
|
251
|
+
let x = 0;
|
|
252
|
+
let y = 0;
|
|
253
|
+
if (this.type() === 'circle') {
|
|
254
|
+
const angle = (2 * Math.PI * index) / Math.max(length, 1);
|
|
255
|
+
x = radius * Math.cos(angle);
|
|
256
|
+
y = radius * Math.sin(angle);
|
|
257
|
+
}
|
|
258
|
+
else if (this.type() === 'semi-circle') {
|
|
259
|
+
const angle = (Math.PI * index) / safeLength;
|
|
260
|
+
x = radius * Math.cos(angle);
|
|
261
|
+
y = radius * Math.sin(angle);
|
|
262
|
+
}
|
|
263
|
+
else {
|
|
264
|
+
const angle = (Math.PI * index) / (2 * safeLength);
|
|
265
|
+
x = radius * Math.cos(angle);
|
|
266
|
+
y = radius * Math.sin(angle);
|
|
267
|
+
}
|
|
268
|
+
return this.orientPoint(x, y);
|
|
269
|
+
}
|
|
270
|
+
resolveHref(item) {
|
|
271
|
+
if (item.url)
|
|
272
|
+
return item.url;
|
|
273
|
+
if (!item.routerLink)
|
|
274
|
+
return null;
|
|
275
|
+
if (typeof item.routerLink === 'string')
|
|
276
|
+
return item.routerLink;
|
|
277
|
+
return `/${item.routerLink
|
|
278
|
+
.map((segment) => String(segment).replace(/^\/+|\/+$/g, ''))
|
|
279
|
+
.filter(Boolean)
|
|
280
|
+
.join('/')}`;
|
|
281
|
+
}
|
|
282
|
+
orientPoint(x, y) {
|
|
283
|
+
const px = (value) => `${Math.round(value * 100) / 100}px`;
|
|
284
|
+
const direction = this.direction();
|
|
285
|
+
const point = (left, top) => ({
|
|
286
|
+
left: px(left),
|
|
287
|
+
top: px(top),
|
|
288
|
+
right: null,
|
|
289
|
+
bottom: null,
|
|
290
|
+
});
|
|
291
|
+
if (this.type() === 'circle') {
|
|
292
|
+
return point(x, y);
|
|
293
|
+
}
|
|
294
|
+
if (this.type() === 'semi-circle') {
|
|
295
|
+
if (direction === 'down')
|
|
296
|
+
return point(x, y);
|
|
297
|
+
if (direction === 'left')
|
|
298
|
+
return point(-y, x);
|
|
299
|
+
if (direction === 'right')
|
|
300
|
+
return point(y, x);
|
|
301
|
+
return point(x, -y);
|
|
302
|
+
}
|
|
303
|
+
if (direction === 'up-left')
|
|
304
|
+
return point(-x, -y);
|
|
305
|
+
if (direction === 'up-right')
|
|
306
|
+
return point(x, -y);
|
|
307
|
+
if (direction === 'down-left')
|
|
308
|
+
return point(-x, y);
|
|
309
|
+
return point(x, y);
|
|
310
|
+
}
|
|
311
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.6", ngImport: i0, type: AerisSpeedDial, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
|
312
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.0.6", type: AerisSpeedDial, isStandalone: true, selector: "aeris-speed-dial", inputs: { id: { classPropertyName: "id", publicName: "id", isSignal: true, isRequired: false, transformFunction: null }, model: { classPropertyName: "model", publicName: "model", isSignal: true, isRequired: false, transformFunction: null }, visible: { classPropertyName: "visible", publicName: "visible", isSignal: true, isRequired: false, transformFunction: null }, direction: { classPropertyName: "direction", publicName: "direction", isSignal: true, isRequired: false, transformFunction: null }, transitionDelay: { classPropertyName: "transitionDelay", publicName: "transitionDelay", isSignal: true, isRequired: false, transformFunction: null }, type: { classPropertyName: "type", publicName: "type", isSignal: true, isRequired: false, transformFunction: null }, maxItems: { classPropertyName: "maxItems", publicName: "maxItems", isSignal: true, isRequired: false, transformFunction: null }, radius: { classPropertyName: "radius", publicName: "radius", isSignal: true, isRequired: false, transformFunction: null }, mask: { classPropertyName: "mask", publicName: "mask", isSignal: true, isRequired: false, transformFunction: null }, backdropBlur: { classPropertyName: "backdropBlur", publicName: "backdropBlur", isSignal: true, isRequired: false, transformFunction: null }, backdropBlurAmount: { classPropertyName: "backdropBlurAmount", publicName: "backdropBlurAmount", isSignal: true, isRequired: false, transformFunction: null }, disabled: { classPropertyName: "disabled", publicName: "disabled", isSignal: true, isRequired: false, transformFunction: null }, hideOnClickOutside: { classPropertyName: "hideOnClickOutside", publicName: "hideOnClickOutside", isSignal: true, isRequired: false, transformFunction: null }, buttonClass: { classPropertyName: "buttonClass", publicName: "buttonClass", isSignal: true, isRequired: false, transformFunction: null }, maskClass: { classPropertyName: "maskClass", publicName: "maskClass", isSignal: true, isRequired: false, transformFunction: null }, showIcon: { classPropertyName: "showIcon", publicName: "showIcon", isSignal: true, isRequired: false, transformFunction: null }, hideIcon: { classPropertyName: "hideIcon", publicName: "hideIcon", isSignal: true, isRequired: false, transformFunction: null }, rotateAnimation: { classPropertyName: "rotateAnimation", publicName: "rotateAnimation", isSignal: true, isRequired: false, transformFunction: null }, ariaLabel: { classPropertyName: "ariaLabel", publicName: "ariaLabel", isSignal: true, isRequired: false, transformFunction: null }, ariaLabelledBy: { classPropertyName: "ariaLabelledBy", publicName: "ariaLabelledBy", isSignal: true, isRequired: false, transformFunction: null }, buttonProps: { classPropertyName: "buttonProps", publicName: "buttonProps", isSignal: true, isRequired: false, transformFunction: null }, buttonTemplate: { classPropertyName: "buttonTemplate", publicName: "buttonTemplate", isSignal: true, isRequired: false, transformFunction: null }, itemTemplate: { classPropertyName: "itemTemplate", publicName: "itemTemplate", isSignal: true, isRequired: false, transformFunction: null }, iconTemplate: { classPropertyName: "iconTemplate", publicName: "iconTemplate", isSignal: true, isRequired: false, transformFunction: null }, navigationHandler: { classPropertyName: "navigationHandler", publicName: "navigationHandler", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { visible: "visibleChange", clicked: "clicked", shown: "shown", hidden: "hidden", itemSelected: "itemSelected" }, host: { listeners: { "document:click": "onDocumentClick($event)" }, properties: { "attr.data-type": "type()", "attr.data-direction": "direction()", "attr.data-open": "visible() || null", "attr.data-disabled": "disabled() || null", "attr.data-truncated": "hasOverflowItems() || null", "style.--aeris-speed-dial-radius": "radius() + \"px\"" }, classAttribute: "aeris-speed-dial" }, queries: [{ propertyName: "projectedButtonTemplate", first: true, predicate: ["button"], descendants: true, isSignal: true }, { propertyName: "projectedItemTemplate", first: true, predicate: ["item"], descendants: true, isSignal: true }, { propertyName: "projectedIconTemplate", first: true, predicate: ["icon"], descendants: true, isSignal: true }], viewQueries: [{ propertyName: "actions", predicate: ["action"], descendants: true, isSignal: true }, { propertyName: "trigger", predicate: ["trigger"], descendants: true, isSignal: true }], ngImport: i0, template: `
|
|
313
|
+
@if (mask() && visible()) {
|
|
314
|
+
<button
|
|
315
|
+
type="button"
|
|
316
|
+
class="aeris-speed-dial__mask"
|
|
317
|
+
[class]="maskClass()"
|
|
318
|
+
[attr.data-backdrop-blur]="backdropBlur() || null"
|
|
319
|
+
[style.--aeris-speed-dial-backdrop-blur]="backdropBlurAmount() || null"
|
|
320
|
+
tabindex="-1"
|
|
321
|
+
aria-label="Close action menu"
|
|
322
|
+
(click)="hide($event)"
|
|
323
|
+
></button>
|
|
324
|
+
}
|
|
325
|
+
|
|
326
|
+
<div class="aeris-speed-dial__container">
|
|
327
|
+
<ul
|
|
328
|
+
class="aeris-speed-dial__list"
|
|
329
|
+
[id]="menuId()"
|
|
330
|
+
role="menu"
|
|
331
|
+
[attr.aria-label]="ariaLabel()"
|
|
332
|
+
[attr.aria-labelledby]="ariaLabelledBy()"
|
|
333
|
+
[attr.aria-hidden]="!visible()"
|
|
334
|
+
[attr.inert]="visible() ? null : ''"
|
|
335
|
+
(keydown)="onMenuKeydown($event)"
|
|
336
|
+
>
|
|
337
|
+
@for (positioned of positionedItems(); track positioned.id) {
|
|
338
|
+
<li
|
|
339
|
+
class="aeris-speed-dial__item"
|
|
340
|
+
[attr.data-visible]="visible() || null"
|
|
341
|
+
[style.--aeris-speed-dial-delay]="positioned.delay"
|
|
342
|
+
[style.--aeris-speed-dial-index]="positioned.index"
|
|
343
|
+
[style.left]="positioned.left"
|
|
344
|
+
[style.right]="positioned.right"
|
|
345
|
+
[style.top]="positioned.top"
|
|
346
|
+
[style.bottom]="positioned.bottom"
|
|
347
|
+
>
|
|
348
|
+
@if (positioned.item.url || positioned.item.routerLink) {
|
|
349
|
+
<a
|
|
350
|
+
#action
|
|
351
|
+
class="aeris-speed-dial__action"
|
|
352
|
+
[class.aeris-speed-dial__action--disabled]="positioned.item.disabled"
|
|
353
|
+
role="menuitem"
|
|
354
|
+
[attr.id]="positioned.id"
|
|
355
|
+
[attr.href]="positioned.item.disabled ? null : positioned.href"
|
|
356
|
+
[attr.target]="positioned.item.target"
|
|
357
|
+
[attr.rel]="positioned.item.rel || (positioned.item.target === '_blank' ? 'noopener noreferrer' : null)"
|
|
358
|
+
[attr.aria-label]="positioned.item.ariaLabel ?? positioned.item.label"
|
|
359
|
+
[attr.aria-disabled]="positioned.item.disabled || null"
|
|
360
|
+
[attr.tabindex]="visible() && focusedIndex() === positioned.index && !positioned.item.disabled ? 0 : -1"
|
|
361
|
+
(click)="activate($event, positioned)"
|
|
362
|
+
(focus)="focusedIndex.set(positioned.index)"
|
|
363
|
+
>
|
|
364
|
+
<ng-container
|
|
365
|
+
[ngTemplateOutlet]="itemContentTemplate()"
|
|
366
|
+
[ngTemplateOutletContext]="itemContext(positioned)"
|
|
367
|
+
/>
|
|
368
|
+
@if (!itemContentTemplate()) {
|
|
369
|
+
<span class="aeris-speed-dial__action-icon" aria-hidden="true">
|
|
370
|
+
{{ positioned.item.icon ?? positioned.item.label.slice(0, 1) }}
|
|
371
|
+
</span>
|
|
372
|
+
}
|
|
373
|
+
</a>
|
|
374
|
+
} @else {
|
|
375
|
+
<button
|
|
376
|
+
#action
|
|
377
|
+
type="button"
|
|
378
|
+
class="aeris-speed-dial__action"
|
|
379
|
+
role="menuitem"
|
|
380
|
+
[attr.id]="positioned.id"
|
|
381
|
+
[attr.aria-label]="positioned.item.ariaLabel ?? positioned.item.label"
|
|
382
|
+
[disabled]="positioned.item.disabled"
|
|
383
|
+
[attr.tabindex]="visible() && focusedIndex() === positioned.index && !positioned.item.disabled ? 0 : -1"
|
|
384
|
+
(click)="activate($event, positioned)"
|
|
385
|
+
(focus)="focusedIndex.set(positioned.index)"
|
|
386
|
+
>
|
|
387
|
+
<ng-container
|
|
388
|
+
[ngTemplateOutlet]="itemContentTemplate()"
|
|
389
|
+
[ngTemplateOutletContext]="itemContext(positioned)"
|
|
390
|
+
/>
|
|
391
|
+
@if (!itemContentTemplate()) {
|
|
392
|
+
<span class="aeris-speed-dial__action-icon" aria-hidden="true">
|
|
393
|
+
{{ positioned.item.icon ?? positioned.item.label.slice(0, 1) }}
|
|
394
|
+
</span>
|
|
395
|
+
}
|
|
396
|
+
</button>
|
|
397
|
+
}
|
|
398
|
+
|
|
399
|
+
</li>
|
|
400
|
+
}
|
|
401
|
+
</ul>
|
|
402
|
+
|
|
403
|
+
@if (buttonContentTemplate(); as template) {
|
|
404
|
+
<ng-container
|
|
405
|
+
[ngTemplateOutlet]="template"
|
|
406
|
+
[ngTemplateOutletContext]="{ open: visible(), toggle: toggleCallback }"
|
|
407
|
+
/>
|
|
408
|
+
} @else {
|
|
409
|
+
<button
|
|
410
|
+
#trigger
|
|
411
|
+
type="button"
|
|
412
|
+
class="aeris-speed-dial__trigger"
|
|
413
|
+
[class]="buttonClass()"
|
|
414
|
+
[attr.data-size]="buttonProps()?.size ?? 'md'"
|
|
415
|
+
[attr.title]="buttonProps()?.title"
|
|
416
|
+
[attr.aria-label]="ariaLabel()"
|
|
417
|
+
[attr.aria-labelledby]="ariaLabelledBy()"
|
|
418
|
+
[attr.aria-controls]="menuId()"
|
|
419
|
+
[attr.aria-expanded]="visible()"
|
|
420
|
+
aria-haspopup="menu"
|
|
421
|
+
[disabled]="disabled()"
|
|
422
|
+
(click)="toggle($event)"
|
|
423
|
+
(keydown)="onTriggerKeydown($event)"
|
|
424
|
+
>
|
|
425
|
+
@if (iconContentTemplate(); as template) {
|
|
426
|
+
<ng-container
|
|
427
|
+
[ngTemplateOutlet]="template"
|
|
428
|
+
[ngTemplateOutletContext]="{ open: visible(), toggle: toggleCallback }"
|
|
429
|
+
/>
|
|
430
|
+
} @else {
|
|
431
|
+
<span
|
|
432
|
+
class="aeris-speed-dial__trigger-icon"
|
|
433
|
+
[attr.data-rotate]="rotateAnimation() && !hideIcon() ? true : null"
|
|
434
|
+
aria-hidden="true"
|
|
435
|
+
>{{ visible() && hideIcon() ? hideIcon() : showIcon() }}</span>
|
|
436
|
+
}
|
|
437
|
+
</button>
|
|
438
|
+
}
|
|
439
|
+
</div>
|
|
440
|
+
`, isInline: true, styles: [":host{--aeris-speed-dial-size: 3rem;--aeris-speed-dial-item-size: 2rem;--aeris-speed-dial-gap: .375rem;position:relative;z-index:20;display:inline-block;width:var(--aeris-speed-dial-size);height:var(--aeris-speed-dial-size)}:host([data-open]){z-index:1000}.aeris-speed-dial__mask{position:fixed;z-index:1;inset:0;width:100vw;height:100vh;height:100dvh;padding:0;border:0;background:#11151070;cursor:default}.aeris-speed-dial__mask[data-backdrop-blur]{-webkit-backdrop-filter:blur(var(--aeris-speed-dial-backdrop-blur, var(--aeris-backdrop-blur, .25rem)));backdrop-filter:blur(var(--aeris-speed-dial-backdrop-blur, var(--aeris-backdrop-blur, .25rem)))}.aeris-speed-dial__container{position:relative;z-index:2;width:100%;height:100%}.aeris-speed-dial__trigger,.aeris-speed-dial__action{border:0;font:inherit}.aeris-speed-dial__trigger{position:relative;z-index:3;width:var(--aeris-speed-dial-size);height:var(--aeris-speed-dial-size);display:grid;place-items:center;border-radius:999px;background:var(--aeris-primary, #879566);box-shadow:0 .5rem 1.5rem color-mix(in srgb,var(--aeris-primary, #879566) 28%,transparent);color:var(--aeris-on-primary, #17200f);cursor:pointer;transition:transform .18s ease,background-color .18s ease,box-shadow .18s ease}.aeris-speed-dial__trigger[data-size=sm]{--aeris-speed-dial-size: 2.5rem}.aeris-speed-dial__trigger[data-size=lg]{--aeris-speed-dial-size: 3.5rem}.aeris-speed-dial__trigger:hover:not(:disabled){background:var(--aeris-primary-hover, #758154);transform:translateY(-1px)}.aeris-speed-dial__trigger:focus-visible,.aeris-speed-dial__action:focus-visible{outline:3px solid color-mix(in srgb,var(--aeris-focus, #536437) 48%,transparent);outline-offset:3px}.aeris-speed-dial__trigger:disabled{opacity:.48;cursor:not-allowed}.aeris-speed-dial__trigger-icon{display:grid;place-items:center;font-size:1.5rem;line-height:1;transition:transform .24s cubic-bezier(.2,.8,.2,1)}:host([data-open]) .aeris-speed-dial__trigger-icon[data-rotate]{transform:rotate(135deg)}.aeris-speed-dial__list{position:absolute;inset:50% auto auto 50%;z-index:2;width:0;height:0;margin:0;padding:0;list-style:none}.aeris-speed-dial__item{position:absolute;width:var(--aeris-speed-dial-item-size);height:var(--aeris-speed-dial-item-size);opacity:0;pointer-events:none;transform:translate(-50%,-50%) scale(.55);transition:opacity .18s ease var(--aeris-speed-dial-delay),transform .26s cubic-bezier(.2,.9,.2,1.18) var(--aeris-speed-dial-delay)}.aeris-speed-dial__item[data-visible]{opacity:1;pointer-events:auto;transform:translate(-50%,-50%) scale(1)}.aeris-speed-dial__action{width:100%;height:100%;display:grid;place-items:center;border:1px solid var(--aeris-border, #deddd7);border-radius:999px;background:var(--aeris-surface, #fff);box-shadow:0 .4rem 1.1rem #14181224;color:var(--aeris-text, #20231e);text-decoration:none;cursor:pointer;transition:transform .16s ease,background-color .16s ease,border-color .16s ease}.aeris-speed-dial__action:hover:not(:disabled):not(.aeris-speed-dial__action--disabled){border-color:var(--aeris-primary, #879566);background:color-mix(in srgb,var(--aeris-primary, #879566) 10%,var(--aeris-surface, #fff));transform:scale(1.08)}.aeris-speed-dial__action:disabled,.aeris-speed-dial__action--disabled{opacity:.45;cursor:not-allowed}.aeris-speed-dial__action-icon{width:var(--aeris-icon-size, 1rem);height:var(--aeris-icon-size, 1rem);display:inline-grid;place-items:center;font-size:var(--aeris-icon-size, 1rem);font-weight:700;line-height:1}@media(prefers-reduced-motion:reduce){.aeris-speed-dial__trigger,.aeris-speed-dial__trigger-icon,.aeris-speed-dial__item,.aeris-speed-dial__action{animation-duration:1ms;transition-duration:1ms;transition-delay:0ms}}\n"], dependencies: [{ kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }] });
|
|
441
|
+
}
|
|
442
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.6", ngImport: i0, type: AerisSpeedDial, decorators: [{
|
|
443
|
+
type: Component,
|
|
444
|
+
args: [{ selector: 'aeris-speed-dial', imports: [NgTemplateOutlet], template: `
|
|
445
|
+
@if (mask() && visible()) {
|
|
446
|
+
<button
|
|
447
|
+
type="button"
|
|
448
|
+
class="aeris-speed-dial__mask"
|
|
449
|
+
[class]="maskClass()"
|
|
450
|
+
[attr.data-backdrop-blur]="backdropBlur() || null"
|
|
451
|
+
[style.--aeris-speed-dial-backdrop-blur]="backdropBlurAmount() || null"
|
|
452
|
+
tabindex="-1"
|
|
453
|
+
aria-label="Close action menu"
|
|
454
|
+
(click)="hide($event)"
|
|
455
|
+
></button>
|
|
456
|
+
}
|
|
457
|
+
|
|
458
|
+
<div class="aeris-speed-dial__container">
|
|
459
|
+
<ul
|
|
460
|
+
class="aeris-speed-dial__list"
|
|
461
|
+
[id]="menuId()"
|
|
462
|
+
role="menu"
|
|
463
|
+
[attr.aria-label]="ariaLabel()"
|
|
464
|
+
[attr.aria-labelledby]="ariaLabelledBy()"
|
|
465
|
+
[attr.aria-hidden]="!visible()"
|
|
466
|
+
[attr.inert]="visible() ? null : ''"
|
|
467
|
+
(keydown)="onMenuKeydown($event)"
|
|
468
|
+
>
|
|
469
|
+
@for (positioned of positionedItems(); track positioned.id) {
|
|
470
|
+
<li
|
|
471
|
+
class="aeris-speed-dial__item"
|
|
472
|
+
[attr.data-visible]="visible() || null"
|
|
473
|
+
[style.--aeris-speed-dial-delay]="positioned.delay"
|
|
474
|
+
[style.--aeris-speed-dial-index]="positioned.index"
|
|
475
|
+
[style.left]="positioned.left"
|
|
476
|
+
[style.right]="positioned.right"
|
|
477
|
+
[style.top]="positioned.top"
|
|
478
|
+
[style.bottom]="positioned.bottom"
|
|
479
|
+
>
|
|
480
|
+
@if (positioned.item.url || positioned.item.routerLink) {
|
|
481
|
+
<a
|
|
482
|
+
#action
|
|
483
|
+
class="aeris-speed-dial__action"
|
|
484
|
+
[class.aeris-speed-dial__action--disabled]="positioned.item.disabled"
|
|
485
|
+
role="menuitem"
|
|
486
|
+
[attr.id]="positioned.id"
|
|
487
|
+
[attr.href]="positioned.item.disabled ? null : positioned.href"
|
|
488
|
+
[attr.target]="positioned.item.target"
|
|
489
|
+
[attr.rel]="positioned.item.rel || (positioned.item.target === '_blank' ? 'noopener noreferrer' : null)"
|
|
490
|
+
[attr.aria-label]="positioned.item.ariaLabel ?? positioned.item.label"
|
|
491
|
+
[attr.aria-disabled]="positioned.item.disabled || null"
|
|
492
|
+
[attr.tabindex]="visible() && focusedIndex() === positioned.index && !positioned.item.disabled ? 0 : -1"
|
|
493
|
+
(click)="activate($event, positioned)"
|
|
494
|
+
(focus)="focusedIndex.set(positioned.index)"
|
|
495
|
+
>
|
|
496
|
+
<ng-container
|
|
497
|
+
[ngTemplateOutlet]="itemContentTemplate()"
|
|
498
|
+
[ngTemplateOutletContext]="itemContext(positioned)"
|
|
499
|
+
/>
|
|
500
|
+
@if (!itemContentTemplate()) {
|
|
501
|
+
<span class="aeris-speed-dial__action-icon" aria-hidden="true">
|
|
502
|
+
{{ positioned.item.icon ?? positioned.item.label.slice(0, 1) }}
|
|
503
|
+
</span>
|
|
504
|
+
}
|
|
505
|
+
</a>
|
|
506
|
+
} @else {
|
|
507
|
+
<button
|
|
508
|
+
#action
|
|
509
|
+
type="button"
|
|
510
|
+
class="aeris-speed-dial__action"
|
|
511
|
+
role="menuitem"
|
|
512
|
+
[attr.id]="positioned.id"
|
|
513
|
+
[attr.aria-label]="positioned.item.ariaLabel ?? positioned.item.label"
|
|
514
|
+
[disabled]="positioned.item.disabled"
|
|
515
|
+
[attr.tabindex]="visible() && focusedIndex() === positioned.index && !positioned.item.disabled ? 0 : -1"
|
|
516
|
+
(click)="activate($event, positioned)"
|
|
517
|
+
(focus)="focusedIndex.set(positioned.index)"
|
|
518
|
+
>
|
|
519
|
+
<ng-container
|
|
520
|
+
[ngTemplateOutlet]="itemContentTemplate()"
|
|
521
|
+
[ngTemplateOutletContext]="itemContext(positioned)"
|
|
522
|
+
/>
|
|
523
|
+
@if (!itemContentTemplate()) {
|
|
524
|
+
<span class="aeris-speed-dial__action-icon" aria-hidden="true">
|
|
525
|
+
{{ positioned.item.icon ?? positioned.item.label.slice(0, 1) }}
|
|
526
|
+
</span>
|
|
527
|
+
}
|
|
528
|
+
</button>
|
|
529
|
+
}
|
|
530
|
+
|
|
531
|
+
</li>
|
|
532
|
+
}
|
|
533
|
+
</ul>
|
|
534
|
+
|
|
535
|
+
@if (buttonContentTemplate(); as template) {
|
|
536
|
+
<ng-container
|
|
537
|
+
[ngTemplateOutlet]="template"
|
|
538
|
+
[ngTemplateOutletContext]="{ open: visible(), toggle: toggleCallback }"
|
|
539
|
+
/>
|
|
540
|
+
} @else {
|
|
541
|
+
<button
|
|
542
|
+
#trigger
|
|
543
|
+
type="button"
|
|
544
|
+
class="aeris-speed-dial__trigger"
|
|
545
|
+
[class]="buttonClass()"
|
|
546
|
+
[attr.data-size]="buttonProps()?.size ?? 'md'"
|
|
547
|
+
[attr.title]="buttonProps()?.title"
|
|
548
|
+
[attr.aria-label]="ariaLabel()"
|
|
549
|
+
[attr.aria-labelledby]="ariaLabelledBy()"
|
|
550
|
+
[attr.aria-controls]="menuId()"
|
|
551
|
+
[attr.aria-expanded]="visible()"
|
|
552
|
+
aria-haspopup="menu"
|
|
553
|
+
[disabled]="disabled()"
|
|
554
|
+
(click)="toggle($event)"
|
|
555
|
+
(keydown)="onTriggerKeydown($event)"
|
|
556
|
+
>
|
|
557
|
+
@if (iconContentTemplate(); as template) {
|
|
558
|
+
<ng-container
|
|
559
|
+
[ngTemplateOutlet]="template"
|
|
560
|
+
[ngTemplateOutletContext]="{ open: visible(), toggle: toggleCallback }"
|
|
561
|
+
/>
|
|
562
|
+
} @else {
|
|
563
|
+
<span
|
|
564
|
+
class="aeris-speed-dial__trigger-icon"
|
|
565
|
+
[attr.data-rotate]="rotateAnimation() && !hideIcon() ? true : null"
|
|
566
|
+
aria-hidden="true"
|
|
567
|
+
>{{ visible() && hideIcon() ? hideIcon() : showIcon() }}</span>
|
|
568
|
+
}
|
|
569
|
+
</button>
|
|
570
|
+
}
|
|
571
|
+
</div>
|
|
572
|
+
`, host: {
|
|
573
|
+
class: 'aeris-speed-dial',
|
|
574
|
+
'[attr.data-type]': 'type()',
|
|
575
|
+
'[attr.data-direction]': 'direction()',
|
|
576
|
+
'[attr.data-open]': 'visible() || null',
|
|
577
|
+
'[attr.data-disabled]': 'disabled() || null',
|
|
578
|
+
'[attr.data-truncated]': 'hasOverflowItems() || null',
|
|
579
|
+
'[style.--aeris-speed-dial-radius]': 'radius() + "px"',
|
|
580
|
+
'(document:click)': 'onDocumentClick($event)',
|
|
581
|
+
}, styles: [":host{--aeris-speed-dial-size: 3rem;--aeris-speed-dial-item-size: 2rem;--aeris-speed-dial-gap: .375rem;position:relative;z-index:20;display:inline-block;width:var(--aeris-speed-dial-size);height:var(--aeris-speed-dial-size)}:host([data-open]){z-index:1000}.aeris-speed-dial__mask{position:fixed;z-index:1;inset:0;width:100vw;height:100vh;height:100dvh;padding:0;border:0;background:#11151070;cursor:default}.aeris-speed-dial__mask[data-backdrop-blur]{-webkit-backdrop-filter:blur(var(--aeris-speed-dial-backdrop-blur, var(--aeris-backdrop-blur, .25rem)));backdrop-filter:blur(var(--aeris-speed-dial-backdrop-blur, var(--aeris-backdrop-blur, .25rem)))}.aeris-speed-dial__container{position:relative;z-index:2;width:100%;height:100%}.aeris-speed-dial__trigger,.aeris-speed-dial__action{border:0;font:inherit}.aeris-speed-dial__trigger{position:relative;z-index:3;width:var(--aeris-speed-dial-size);height:var(--aeris-speed-dial-size);display:grid;place-items:center;border-radius:999px;background:var(--aeris-primary, #879566);box-shadow:0 .5rem 1.5rem color-mix(in srgb,var(--aeris-primary, #879566) 28%,transparent);color:var(--aeris-on-primary, #17200f);cursor:pointer;transition:transform .18s ease,background-color .18s ease,box-shadow .18s ease}.aeris-speed-dial__trigger[data-size=sm]{--aeris-speed-dial-size: 2.5rem}.aeris-speed-dial__trigger[data-size=lg]{--aeris-speed-dial-size: 3.5rem}.aeris-speed-dial__trigger:hover:not(:disabled){background:var(--aeris-primary-hover, #758154);transform:translateY(-1px)}.aeris-speed-dial__trigger:focus-visible,.aeris-speed-dial__action:focus-visible{outline:3px solid color-mix(in srgb,var(--aeris-focus, #536437) 48%,transparent);outline-offset:3px}.aeris-speed-dial__trigger:disabled{opacity:.48;cursor:not-allowed}.aeris-speed-dial__trigger-icon{display:grid;place-items:center;font-size:1.5rem;line-height:1;transition:transform .24s cubic-bezier(.2,.8,.2,1)}:host([data-open]) .aeris-speed-dial__trigger-icon[data-rotate]{transform:rotate(135deg)}.aeris-speed-dial__list{position:absolute;inset:50% auto auto 50%;z-index:2;width:0;height:0;margin:0;padding:0;list-style:none}.aeris-speed-dial__item{position:absolute;width:var(--aeris-speed-dial-item-size);height:var(--aeris-speed-dial-item-size);opacity:0;pointer-events:none;transform:translate(-50%,-50%) scale(.55);transition:opacity .18s ease var(--aeris-speed-dial-delay),transform .26s cubic-bezier(.2,.9,.2,1.18) var(--aeris-speed-dial-delay)}.aeris-speed-dial__item[data-visible]{opacity:1;pointer-events:auto;transform:translate(-50%,-50%) scale(1)}.aeris-speed-dial__action{width:100%;height:100%;display:grid;place-items:center;border:1px solid var(--aeris-border, #deddd7);border-radius:999px;background:var(--aeris-surface, #fff);box-shadow:0 .4rem 1.1rem #14181224;color:var(--aeris-text, #20231e);text-decoration:none;cursor:pointer;transition:transform .16s ease,background-color .16s ease,border-color .16s ease}.aeris-speed-dial__action:hover:not(:disabled):not(.aeris-speed-dial__action--disabled){border-color:var(--aeris-primary, #879566);background:color-mix(in srgb,var(--aeris-primary, #879566) 10%,var(--aeris-surface, #fff));transform:scale(1.08)}.aeris-speed-dial__action:disabled,.aeris-speed-dial__action--disabled{opacity:.45;cursor:not-allowed}.aeris-speed-dial__action-icon{width:var(--aeris-icon-size, 1rem);height:var(--aeris-icon-size, 1rem);display:inline-grid;place-items:center;font-size:var(--aeris-icon-size, 1rem);font-weight:700;line-height:1}@media(prefers-reduced-motion:reduce){.aeris-speed-dial__trigger,.aeris-speed-dial__trigger-icon,.aeris-speed-dial__item,.aeris-speed-dial__action{animation-duration:1ms;transition-duration:1ms;transition-delay:0ms}}\n"] }]
|
|
582
|
+
}], propDecorators: { actions: [{ type: i0.ViewChildren, args: ['action', { isSignal: true }] }], trigger: [{ type: i0.ViewChildren, args: ['trigger', { isSignal: true }] }], id: [{ type: i0.Input, args: [{ isSignal: true, alias: "id", required: false }] }], model: [{ type: i0.Input, args: [{ isSignal: true, alias: "model", required: false }] }], visible: [{ type: i0.Input, args: [{ isSignal: true, alias: "visible", required: false }] }, { type: i0.Output, args: ["visibleChange"] }], direction: [{ type: i0.Input, args: [{ isSignal: true, alias: "direction", required: false }] }], transitionDelay: [{ type: i0.Input, args: [{ isSignal: true, alias: "transitionDelay", required: false }] }], type: [{ type: i0.Input, args: [{ isSignal: true, alias: "type", required: false }] }], maxItems: [{ type: i0.Input, args: [{ isSignal: true, alias: "maxItems", required: false }] }], radius: [{ type: i0.Input, args: [{ isSignal: true, alias: "radius", required: false }] }], mask: [{ type: i0.Input, args: [{ isSignal: true, alias: "mask", required: false }] }], backdropBlur: [{ type: i0.Input, args: [{ isSignal: true, alias: "backdropBlur", required: false }] }], backdropBlurAmount: [{ type: i0.Input, args: [{ isSignal: true, alias: "backdropBlurAmount", required: false }] }], disabled: [{ type: i0.Input, args: [{ isSignal: true, alias: "disabled", required: false }] }], hideOnClickOutside: [{ type: i0.Input, args: [{ isSignal: true, alias: "hideOnClickOutside", required: false }] }], buttonClass: [{ type: i0.Input, args: [{ isSignal: true, alias: "buttonClass", required: false }] }], maskClass: [{ type: i0.Input, args: [{ isSignal: true, alias: "maskClass", required: false }] }], showIcon: [{ type: i0.Input, args: [{ isSignal: true, alias: "showIcon", required: false }] }], hideIcon: [{ type: i0.Input, args: [{ isSignal: true, alias: "hideIcon", required: false }] }], rotateAnimation: [{ type: i0.Input, args: [{ isSignal: true, alias: "rotateAnimation", required: false }] }], ariaLabel: [{ type: i0.Input, args: [{ isSignal: true, alias: "ariaLabel", required: false }] }], ariaLabelledBy: [{ type: i0.Input, args: [{ isSignal: true, alias: "ariaLabelledBy", required: false }] }], buttonProps: [{ type: i0.Input, args: [{ isSignal: true, alias: "buttonProps", required: false }] }], buttonTemplate: [{ type: i0.Input, args: [{ isSignal: true, alias: "buttonTemplate", required: false }] }], itemTemplate: [{ type: i0.Input, args: [{ isSignal: true, alias: "itemTemplate", required: false }] }], iconTemplate: [{ type: i0.Input, args: [{ isSignal: true, alias: "iconTemplate", required: false }] }], navigationHandler: [{ type: i0.Input, args: [{ isSignal: true, alias: "navigationHandler", required: false }] }], clicked: [{ type: i0.Output, args: ["clicked"] }], shown: [{ type: i0.Output, args: ["shown"] }], hidden: [{ type: i0.Output, args: ["hidden"] }], itemSelected: [{ type: i0.Output, args: ["itemSelected"] }], projectedButtonTemplate: [{ type: i0.ContentChild, args: ['button', { isSignal: true }] }], projectedItemTemplate: [{ type: i0.ContentChild, args: ['item', { isSignal: true }] }], projectedIconTemplate: [{ type: i0.ContentChild, args: ['icon', { isSignal: true }] }] } });
|
|
583
|
+
|
|
584
|
+
/**
|
|
585
|
+
* Generated bundle index. Do not edit.
|
|
586
|
+
*/
|
|
587
|
+
|
|
588
|
+
export { AERIS_SPEED_DIAL_ITEM_LIMITS, AerisSpeedDial };
|
|
589
|
+
//# sourceMappingURL=aeris-ui-core-speed-dial.mjs.map
|