@nanahoshi/mona-ui 0.45.0 → 0.46.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/THIRD_PARTY_NOTICES.md +34 -0
- package/alert/package.json +3 -2
- package/auto-complete/package.json +3 -2
- package/avatar/package.json +3 -2
- package/badge/package.json +3 -2
- package/breadcrumb/package.json +3 -2
- package/button/package.json +3 -2
- package/button-group/package.json +3 -2
- package/calendar/package.json +3 -2
- package/card/package.json +3 -2
- package/chart/package.json +3 -2
- package/chat/package.json +3 -2
- package/check-box/package.json +3 -2
- package/chip/package.json +3 -2
- package/circular-progress-bar/package.json +3 -2
- package/collapsible/package.json +3 -2
- package/color-gradient/package.json +3 -2
- package/color-palette/package.json +3 -2
- package/color-picker/package.json +3 -2
- package/combo-box/package.json +3 -2
- package/command/package.json +3 -2
- package/common/package.json +3 -2
- package/contextmenu/package.json +3 -2
- package/date-input/package.json +3 -2
- package/date-picker/package.json +3 -2
- package/date-range-picker/package.json +3 -2
- package/datetime-picker/package.json +3 -2
- package/dialog/package.json +3 -2
- package/docs/api/index.json +1 -1
- package/docs/api/theme.json +1 -1
- package/docs/api/theme.md +14 -6
- package/docs/installation.md +1 -1
- package/docs/manifest.json +1 -1
- package/docs/theming-built-in-themes.md +25 -12
- package/docs/theming-custom-themes.md +19 -0
- package/docs/theming.md +2 -1
- package/dropdown-button/package.json +3 -2
- package/dropdown-list/package.json +3 -2
- package/dropdown-tree/package.json +3 -2
- package/dropdowns/package.json +3 -2
- package/editor/package.json +3 -2
- package/expansion-panel/package.json +3 -2
- package/fesm2022/{nanahoshi-mona-ui-grid-grid-colgroup.component-DpszxgFY.mjs → grid-colgroup.component-B4jx10Yi.mjs} +5 -5
- package/fesm2022/{nanahoshi-mona-ui-grid-grid-footer-row.component-CpvzAcX8.mjs → grid-footer-row.component-CVUltI39.mjs} +12 -12
- package/fesm2022/{nanahoshi-mona-ui-grid-grid-list.component-tRmEWiQR.mjs → grid-list.component-Cv1KB5VQ.mjs} +14 -14
- package/fesm2022/{nanahoshi-mona-ui-grid-grid-row.component-eET6dh2Q.mjs → grid-row.component-BauMmps5.mjs} +42 -42
- package/fesm2022/{nanahoshi-mona-ui-grid-grid-virtual-list.component-8h2EMexB.mjs → grid-virtual-list.component-DNjoZfHq.mjs} +10 -10
- package/fesm2022/{nanahoshi-mona-ui-grid-grid.styles-wAf6jsT9.mjs → grid.styles-BJHVTT_v.mjs} +27 -27
- package/fesm2022/nanahoshi-mona-ui-alert.mjs +9 -9
- package/fesm2022/nanahoshi-mona-ui-auto-complete.mjs +15 -15
- package/fesm2022/nanahoshi-mona-ui-avatar.mjs +7 -7
- package/fesm2022/nanahoshi-mona-ui-badge.mjs +3 -3
- package/fesm2022/nanahoshi-mona-ui-breadcrumb.mjs +15 -15
- package/fesm2022/nanahoshi-mona-ui-button-group.mjs +7 -7
- package/fesm2022/nanahoshi-mona-ui-button.mjs +9 -9
- package/fesm2022/nanahoshi-mona-ui-calendar.mjs +32 -32
- package/fesm2022/nanahoshi-mona-ui-card.mjs +25 -25
- package/fesm2022/nanahoshi-mona-ui-chart.mjs +170 -170
- package/fesm2022/nanahoshi-mona-ui-chat.mjs +19 -19
- package/fesm2022/nanahoshi-mona-ui-check-box.mjs +12 -12
- package/fesm2022/nanahoshi-mona-ui-chip.mjs +9 -9
- package/fesm2022/nanahoshi-mona-ui-circular-progress-bar.mjs +7 -7
- package/fesm2022/nanahoshi-mona-ui-collapsible.mjs +9 -9
- package/fesm2022/nanahoshi-mona-ui-color-gradient.mjs +13 -13
- package/fesm2022/nanahoshi-mona-ui-color-palette.mjs +5 -5
- package/fesm2022/nanahoshi-mona-ui-color-picker.mjs +20 -20
- package/fesm2022/nanahoshi-mona-ui-combo-box.mjs +15 -15
- package/fesm2022/nanahoshi-mona-ui-command.mjs +48 -48
- package/fesm2022/nanahoshi-mona-ui-common.mjs +12 -12
- package/fesm2022/nanahoshi-mona-ui-contextmenu.mjs +37 -37
- package/fesm2022/nanahoshi-mona-ui-date-input.mjs +14 -14
- package/fesm2022/nanahoshi-mona-ui-date-picker.mjs +16 -16
- package/fesm2022/nanahoshi-mona-ui-date-range-picker.mjs +16 -16
- package/fesm2022/nanahoshi-mona-ui-datetime-picker.mjs +20 -20
- package/fesm2022/nanahoshi-mona-ui-dialog.mjs +33 -33
- package/fesm2022/nanahoshi-mona-ui-dropdown-button.mjs +38 -38
- package/fesm2022/nanahoshi-mona-ui-dropdown-list.mjs +16 -16
- package/fesm2022/nanahoshi-mona-ui-dropdown-tree.mjs +12 -12
- package/fesm2022/nanahoshi-mona-ui-dropdowns.mjs +68 -68
- package/fesm2022/nanahoshi-mona-ui-editor.mjs +100 -100
- package/fesm2022/nanahoshi-mona-ui-expansion-panel.mjs +18 -18
- package/fesm2022/nanahoshi-mona-ui-fieldset.mjs +8 -8
- package/fesm2022/nanahoshi-mona-ui-file-upload.mjs +6 -6
- package/fesm2022/nanahoshi-mona-ui-filter.mjs +19 -19
- package/fesm2022/nanahoshi-mona-ui-form-field.mjs +14 -14
- package/fesm2022/nanahoshi-mona-ui-grid.mjs +154 -154
- package/fesm2022/nanahoshi-mona-ui-i18n.mjs +7 -7
- package/fesm2022/nanahoshi-mona-ui-internal-filter-input.mjs +6 -6
- package/fesm2022/nanahoshi-mona-ui-internal-indicator-icon.mjs +4 -4
- package/fesm2022/nanahoshi-mona-ui-internal-list.mjs +35 -35
- package/fesm2022/nanahoshi-mona-ui-internal-live-announcer.mjs +1 -1
- package/fesm2022/nanahoshi-mona-ui-internal-popup-menu.mjs +1 -1
- package/fesm2022/nanahoshi-mona-ui-internal-tree.mjs +39 -39
- package/fesm2022/nanahoshi-mona-ui-internal.mjs +4 -4
- package/fesm2022/nanahoshi-mona-ui-kanban.mjs +17 -17
- package/fesm2022/nanahoshi-mona-ui-label.mjs +8 -8
- package/fesm2022/nanahoshi-mona-ui-list-box.mjs +20 -20
- package/fesm2022/nanahoshi-mona-ui-list-view.mjs +38 -38
- package/fesm2022/nanahoshi-mona-ui-locales.mjs +1 -1
- package/fesm2022/nanahoshi-mona-ui-masked-text-box.mjs +13 -13
- package/fesm2022/nanahoshi-mona-ui-menubar.mjs +51 -51
- package/fesm2022/nanahoshi-mona-ui-multi-select-tree.mjs +9 -9
- package/fesm2022/nanahoshi-mona-ui-multi-select.mjs +26 -26
- package/fesm2022/nanahoshi-mona-ui-notification.mjs +18 -18
- package/fesm2022/nanahoshi-mona-ui-numeric-text-box.mjs +20 -20
- package/fesm2022/nanahoshi-mona-ui-otp-input.mjs +11 -11
- package/fesm2022/nanahoshi-mona-ui-pager.mjs +22 -22
- package/fesm2022/nanahoshi-mona-ui-placeholder.mjs +3 -3
- package/fesm2022/nanahoshi-mona-ui-popover.mjs +14 -14
- package/fesm2022/nanahoshi-mona-ui-popup-menu.mjs +145 -64
- package/fesm2022/nanahoshi-mona-ui-popup.mjs +19 -19
- package/fesm2022/nanahoshi-mona-ui-progress-bar.mjs +6 -6
- package/fesm2022/nanahoshi-mona-ui-qr-code.mjs +4 -4
- package/fesm2022/nanahoshi-mona-ui-query.mjs +1 -1
- package/fesm2022/nanahoshi-mona-ui-radio-button.mjs +16 -16
- package/fesm2022/nanahoshi-mona-ui-rating.mjs +14 -14
- package/fesm2022/nanahoshi-mona-ui-scroll-view.mjs +15 -15
- package/fesm2022/nanahoshi-mona-ui-segmented.mjs +8 -8
- package/fesm2022/nanahoshi-mona-ui-separator.mjs +3 -3
- package/fesm2022/nanahoshi-mona-ui-sheet.mjs +9 -9
- package/fesm2022/nanahoshi-mona-ui-sidebar.mjs +85 -85
- package/fesm2022/nanahoshi-mona-ui-skeleton.mjs +3 -3
- package/fesm2022/nanahoshi-mona-ui-slider.mjs +31 -31
- package/fesm2022/nanahoshi-mona-ui-sortable.mjs +16 -16
- package/fesm2022/nanahoshi-mona-ui-sparkline.mjs +4 -4
- package/fesm2022/nanahoshi-mona-ui-spinner.mjs +10 -10
- package/fesm2022/nanahoshi-mona-ui-split-button.mjs +44 -44
- package/fesm2022/nanahoshi-mona-ui-splitter.mjs +21 -21
- package/fesm2022/nanahoshi-mona-ui-stepper.mjs +19 -19
- package/fesm2022/nanahoshi-mona-ui-switch.mjs +17 -17
- package/fesm2022/nanahoshi-mona-ui-tabs.mjs +26 -26
- package/fesm2022/nanahoshi-mona-ui-text-area.mjs +6 -6
- package/fesm2022/nanahoshi-mona-ui-text-box.mjs +19 -19
- package/fesm2022/nanahoshi-mona-ui-theme.mjs +302 -58
- package/fesm2022/nanahoshi-mona-ui-time-picker.mjs +15 -15
- package/fesm2022/nanahoshi-mona-ui-time-selector.mjs +14 -14
- package/fesm2022/nanahoshi-mona-ui-timeline.mjs +17 -17
- package/fesm2022/nanahoshi-mona-ui-toolbar.mjs +8 -8
- package/fesm2022/nanahoshi-mona-ui-tooltip.mjs +13 -13
- package/fesm2022/nanahoshi-mona-ui-tree-view.mjs +27 -27
- package/fesm2022/nanahoshi-mona-ui-window.mjs +40 -40
- package/fesm2022/nanahoshi-mona-ui.mjs +2 -0
- package/fieldset/package.json +3 -2
- package/file-upload/package.json +3 -2
- package/filter/package.json +3 -2
- package/form-field/package.json +3 -2
- package/grid/package.json +3 -2
- package/i18n/icu/package.json +3 -2
- package/i18n/package.json +3 -2
- package/internal/filter-input/package.json +3 -2
- package/internal/indicator-icon/package.json +3 -2
- package/internal/list/package.json +3 -2
- package/internal/live-announcer/package.json +3 -2
- package/internal/package.json +3 -2
- package/internal/popup-menu/package.json +3 -2
- package/internal/tree/package.json +3 -2
- package/kanban/package.json +3 -2
- package/label/package.json +3 -2
- package/list/package.json +3 -2
- package/list-box/package.json +3 -2
- package/list-view/package.json +3 -2
- package/llms.txt +2 -2
- package/locales/ar-sa/package.json +3 -2
- package/locales/de-de/package.json +3 -2
- package/locales/es-es/package.json +3 -2
- package/locales/fr-fr/package.json +3 -2
- package/locales/id-id/package.json +3 -2
- package/locales/it-it/package.json +3 -2
- package/locales/ja-jp/package.json +3 -2
- package/locales/ko-kr/package.json +3 -2
- package/locales/package.json +3 -2
- package/locales/pl-pl/package.json +3 -2
- package/locales/pt-br/package.json +3 -2
- package/locales/ru-ru/package.json +3 -2
- package/locales/tr-tr/package.json +3 -2
- package/locales/zh-cn/package.json +3 -2
- package/locales/zh-tw/package.json +3 -2
- package/masked-text-box/package.json +3 -2
- package/menubar/package.json +3 -2
- package/multi-select/package.json +3 -2
- package/multi-select-tree/package.json +3 -2
- package/notification/package.json +3 -2
- package/numeric-text-box/package.json +3 -2
- package/otp-input/package.json +3 -2
- package/package.json +170 -169
- package/pager/package.json +3 -2
- package/placeholder/package.json +3 -2
- package/popover/package.json +3 -2
- package/popup/package.json +3 -2
- package/popup-menu/package.json +3 -2
- package/progress-bar/package.json +3 -2
- package/qr-code/package.json +3 -2
- package/query/package.json +3 -2
- package/radio-button/package.json +3 -2
- package/rating/package.json +3 -2
- package/scroll-view/package.json +3 -2
- package/segmented/package.json +3 -2
- package/separator/package.json +3 -2
- package/sheet/package.json +3 -2
- package/sidebar/package.json +3 -2
- package/skeleton/package.json +3 -2
- package/slider/package.json +3 -2
- package/sortable/package.json +3 -2
- package/sparkline/package.json +3 -2
- package/spinner/package.json +3 -2
- package/split-button/package.json +3 -2
- package/splitter/package.json +3 -2
- package/stepper/package.json +3 -2
- package/switch/package.json +3 -2
- package/tabs/package.json +3 -2
- package/text-area/package.json +3 -2
- package/text-box/package.json +3 -2
- package/theme/package.json +3 -2
- package/time-picker/package.json +3 -2
- package/time-selector/package.json +3 -2
- package/timeline/package.json +3 -2
- package/toolbar/package.json +3 -2
- package/tooltip/package.json +3 -2
- package/tree-view/package.json +3 -2
- package/types/nanahoshi-mona-ui-alert.d.ts +2 -2
- package/types/nanahoshi-mona-ui-auto-complete.d.ts +9 -9
- package/types/nanahoshi-mona-ui-badge.d.ts +7 -7
- package/types/nanahoshi-mona-ui-breadcrumb.d.ts +2 -2
- package/types/nanahoshi-mona-ui-button-group.d.ts +9 -9
- package/types/nanahoshi-mona-ui-button.d.ts +15 -15
- package/types/nanahoshi-mona-ui-calendar.d.ts +9 -9
- package/types/nanahoshi-mona-ui-card.d.ts +5 -5
- package/types/nanahoshi-mona-ui-chart.d.ts +7 -7
- package/types/nanahoshi-mona-ui-chat.d.ts +2 -2
- package/types/nanahoshi-mona-ui-check-box.d.ts +7 -7
- package/types/nanahoshi-mona-ui-chip.d.ts +9 -9
- package/types/nanahoshi-mona-ui-circular-progress-bar.d.ts +1 -1
- package/types/nanahoshi-mona-ui-collapsible.d.ts +2 -2
- package/types/nanahoshi-mona-ui-color-gradient.d.ts +7 -7
- package/types/nanahoshi-mona-ui-color-palette.d.ts +6 -6
- package/types/nanahoshi-mona-ui-color-picker.d.ts +9 -9
- package/types/nanahoshi-mona-ui-combo-box.d.ts +10 -10
- package/types/nanahoshi-mona-ui-command.d.ts +2 -2
- package/types/nanahoshi-mona-ui-contextmenu.d.ts +2 -2
- package/types/nanahoshi-mona-ui-date-input.d.ts +7 -7
- package/types/nanahoshi-mona-ui-date-picker.d.ts +12 -12
- package/types/nanahoshi-mona-ui-date-range-picker.d.ts +12 -12
- package/types/nanahoshi-mona-ui-datetime-picker.d.ts +13 -13
- package/types/nanahoshi-mona-ui-dialog.d.ts +8 -8
- package/types/nanahoshi-mona-ui-dropdown-button.d.ts +4 -4
- package/types/nanahoshi-mona-ui-dropdown-list.d.ts +9 -9
- package/types/nanahoshi-mona-ui-dropdown-tree.d.ts +9 -9
- package/types/nanahoshi-mona-ui-dropdowns.d.ts +9 -9
- package/types/nanahoshi-mona-ui-editor.d.ts +3 -3
- package/types/nanahoshi-mona-ui-expansion-panel.d.ts +4 -4
- package/types/nanahoshi-mona-ui-fieldset.d.ts +4 -4
- package/types/nanahoshi-mona-ui-file-upload.d.ts +1 -1
- package/types/nanahoshi-mona-ui-filter.d.ts +8 -8
- package/types/nanahoshi-mona-ui-grid.d.ts +50 -49
- package/types/nanahoshi-mona-ui-i18n.d.ts +2 -2
- package/types/nanahoshi-mona-ui-internal-filter-input.d.ts +1 -1
- package/types/nanahoshi-mona-ui-internal-list.d.ts +5 -5
- package/types/nanahoshi-mona-ui-internal-popup-menu.d.ts +1 -1
- package/types/nanahoshi-mona-ui-internal-tree.d.ts +2 -2
- package/types/nanahoshi-mona-ui-internal.d.ts +2 -2
- package/types/nanahoshi-mona-ui-kanban.d.ts +2 -2
- package/types/nanahoshi-mona-ui-list-box.d.ts +7 -7
- package/types/nanahoshi-mona-ui-list-view.d.ts +9 -9
- package/types/nanahoshi-mona-ui-locales.d.ts +1 -1
- package/types/nanahoshi-mona-ui-masked-text-box.d.ts +6 -6
- package/types/nanahoshi-mona-ui-menubar.d.ts +8 -8
- package/types/nanahoshi-mona-ui-multi-select-tree.d.ts +8 -8
- package/types/nanahoshi-mona-ui-multi-select.d.ts +11 -11
- package/types/nanahoshi-mona-ui-numeric-text-box.d.ts +9 -9
- package/types/nanahoshi-mona-ui-otp-input.d.ts +7 -7
- package/types/nanahoshi-mona-ui-pager.d.ts +7 -7
- package/types/nanahoshi-mona-ui-placeholder.d.ts +2 -2
- package/types/nanahoshi-mona-ui-popover.d.ts +5 -5
- package/types/nanahoshi-mona-ui-popup-menu.d.ts +9 -9
- package/types/nanahoshi-mona-ui-popup.d.ts +4 -4
- package/types/nanahoshi-mona-ui-progress-bar.d.ts +5 -5
- package/types/nanahoshi-mona-ui-qr-code.d.ts +1 -1
- package/types/nanahoshi-mona-ui-radio-button.d.ts +8 -8
- package/types/nanahoshi-mona-ui-rating.d.ts +10 -10
- package/types/nanahoshi-mona-ui-scroll-view.d.ts +6 -6
- package/types/nanahoshi-mona-ui-segmented.d.ts +9 -9
- package/types/nanahoshi-mona-ui-separator.d.ts +1 -1
- package/types/nanahoshi-mona-ui-sheet.d.ts +4 -4
- package/types/nanahoshi-mona-ui-sidebar.d.ts +5 -5
- package/types/nanahoshi-mona-ui-skeleton.d.ts +3 -3
- package/types/nanahoshi-mona-ui-slider.d.ts +8 -8
- package/types/nanahoshi-mona-ui-sortable.d.ts +2 -2
- package/types/nanahoshi-mona-ui-sparkline.d.ts +1 -1
- package/types/nanahoshi-mona-ui-spinner.d.ts +6 -6
- package/types/nanahoshi-mona-ui-split-button.d.ts +10 -10
- package/types/nanahoshi-mona-ui-splitter.d.ts +3 -3
- package/types/nanahoshi-mona-ui-stepper.d.ts +6 -6
- package/types/nanahoshi-mona-ui-switch.d.ts +7 -7
- package/types/nanahoshi-mona-ui-tabs.d.ts +13 -13
- package/types/nanahoshi-mona-ui-text-area.d.ts +4 -4
- package/types/nanahoshi-mona-ui-text-box.d.ts +9 -9
- package/types/nanahoshi-mona-ui-theme.d.ts +107 -37
- package/types/nanahoshi-mona-ui-time-picker.d.ts +12 -12
- package/types/nanahoshi-mona-ui-time-selector.d.ts +8 -8
- package/types/nanahoshi-mona-ui-toolbar.d.ts +3 -3
- package/types/nanahoshi-mona-ui-tooltip.d.ts +6 -6
- package/types/nanahoshi-mona-ui-tree-view.d.ts +2 -2
- package/types/nanahoshi-mona-ui-window.d.ts +7 -7
- package/types/nanahoshi-mona-ui.d.ts +2 -1
- package/window/package.json +3 -2
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
import * as i0 from "@angular/core";
|
|
2
|
-
import { Component, DOCUMENT, DestroyRef, Directive, ElementRef, TemplateRef, afterNextRender, computed, contentChild, contentChildren, effect, forwardRef, inject, input, isSignal, model, output, signal, untracked } from "@angular/core";
|
|
3
|
-
import { takeUntilDestroyed } from "@angular/core/rxjs-interop";
|
|
4
|
-
import { PreventableEvent, classInputToClass } from "@nanahoshi/mona-ui/common";
|
|
5
|
-
import { createElementControlId, isNavigationKey, isTypeaheadKey, rxTimeout, setupTypeahead, themeOverlaySurfaceClasses, toCssValue } from "@nanahoshi/mona-ui/internal";
|
|
6
|
-
import { PopupDataInjectionToken, PopupService } from "@nanahoshi/mona-ui/popup";
|
|
7
|
-
import { any, select, selectMany } from "@mirei/ts-collections";
|
|
8
|
-
import { Subject, filter, fromEvent, take, takeUntil, tap } from "rxjs";
|
|
9
|
-
import { PopupMenuGroupTemplateToken, PopupMenuIconTemplateToken, PopupMenuItemClickEvent, PopupMenuItemClickEvent as PopupMenuItemClickEvent$1, PopupMenuItemType, PopupMenuOrigin, PopupMenuRadioItemToken, PopupMenuShortcutTemplateToken, PopupMenuTemplateOrigin, PopupMenuTemplateType, PopupMenuTextTemplateToken, PopupMenuToken, preparePopupMenuItems } from "@nanahoshi/mona-ui/internal/popup-menu";
|
|
10
1
|
import { NgTemplateOutlet } from "@angular/common";
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
import { Component, DOCUMENT as DOCUMENT$1, DestroyRef, Directive, ElementRef, NgZone, TemplateRef, afterNextRender, computed, contentChild, contentChildren, effect, forwardRef, inject, input, isSignal, model, output, signal, untracked } from "@angular/core";
|
|
11
4
|
import { LucideCheck, LucideChevronRight } from "@lucide/angular";
|
|
5
|
+
import { PreventableEvent, classInputToClass } from "@nanahoshi/mona-ui/common";
|
|
12
6
|
import { injectComponentDirection } from "@nanahoshi/mona-ui/i18n";
|
|
13
7
|
import { twMerge } from "tailwind-merge";
|
|
14
8
|
import { cva } from "class-variance-authority";
|
|
9
|
+
import { takeUntilDestroyed } from "@angular/core/rxjs-interop";
|
|
10
|
+
import { createElementControlId, isNavigationKey, isTypeaheadKey, rxTimeout, setupTypeahead, themeOverlaySurfaceClasses, toCssValue } from "@nanahoshi/mona-ui/internal";
|
|
11
|
+
import { Subject, filter, fromEvent, take, takeUntil, tap } from "rxjs";
|
|
12
|
+
import { any, select, selectMany } from "@mirei/ts-collections";
|
|
13
|
+
import { PopupDataInjectionToken, PopupService } from "@nanahoshi/mona-ui/popup";
|
|
14
|
+
import { PopupMenuGroupTemplateToken, PopupMenuIconTemplateToken, PopupMenuItemClickEvent, PopupMenuItemClickEvent as PopupMenuItemClickEvent$1, PopupMenuItemType, PopupMenuOrigin, PopupMenuRadioItemToken, PopupMenuShortcutTemplateToken, PopupMenuTemplateOrigin, PopupMenuTemplateType, PopupMenuTextTemplateToken, PopupMenuToken, preparePopupMenuItems } from "@nanahoshi/mona-ui/internal/popup-menu";
|
|
15
15
|
var PopupMenuCloseEvent = class extends PreventableEvent {
|
|
16
16
|
constructor(originalEvent) {
|
|
17
17
|
super("popupMenuCloseEvent", originalEvent?.originalEvent);
|
|
@@ -37,6 +37,15 @@ const groupPopupMenuItems = (items) => {
|
|
|
37
37
|
};
|
|
38
38
|
});
|
|
39
39
|
};
|
|
40
|
+
const isPointInTriangle = (point, a, b, c) => {
|
|
41
|
+
const side = (from, to) => (point.x - to.x) * (from.y - to.y) - (from.x - to.x) * (point.y - to.y);
|
|
42
|
+
const sides = [
|
|
43
|
+
side(a, b),
|
|
44
|
+
side(b, c),
|
|
45
|
+
side(c, a)
|
|
46
|
+
];
|
|
47
|
+
return !(sides.some((s) => s < 0) && sides.some((s) => s > 0));
|
|
48
|
+
};
|
|
40
49
|
const isMenuOwnedCheckState = (item) => {
|
|
41
50
|
return item.checkable === true && isSignal(item.checked) && "set" in item.checked;
|
|
42
51
|
};
|
|
@@ -87,7 +96,8 @@ const popupMenuItemThemeVariants = cva(`
|
|
|
87
96
|
}
|
|
88
97
|
} });
|
|
89
98
|
const popupMenuLinkThemeVariants = cva(`flex items-center justify-center`);
|
|
90
|
-
const
|
|
99
|
+
const SUBMENU_AIM_REST_DELAY = 100;
|
|
100
|
+
const SUBMENU_AIM_TOLERANCE = 20;
|
|
91
101
|
var PopupMenuListComponent = class PopupMenuListComponent {
|
|
92
102
|
#childCloseRequest$;
|
|
93
103
|
#destroyRef;
|
|
@@ -100,14 +110,17 @@ var PopupMenuListComponent = class PopupMenuListComponent {
|
|
|
100
110
|
#popupService;
|
|
101
111
|
#submenuId;
|
|
102
112
|
#typeaheadKey$;
|
|
113
|
+
#zone;
|
|
103
114
|
#childClose$;
|
|
104
115
|
#closing;
|
|
105
116
|
#hoverTimer;
|
|
117
|
+
#pendingHover;
|
|
118
|
+
#pointerTrail;
|
|
106
119
|
constructor() {
|
|
107
120
|
this.#childCloseRequest$ = new Subject();
|
|
108
121
|
this.#destroyRef = inject(DestroyRef);
|
|
109
122
|
this.#direction = injectComponentDirection();
|
|
110
|
-
this.#document = inject(DOCUMENT);
|
|
123
|
+
this.#document = inject(DOCUMENT$1);
|
|
111
124
|
this.#host = inject(ElementRef);
|
|
112
125
|
this.#navigationItems = computed(() => {
|
|
113
126
|
const items = this.#parentConfig.items();
|
|
@@ -118,8 +131,11 @@ var PopupMenuListComponent = class PopupMenuListComponent {
|
|
|
118
131
|
this.#popupService = inject(PopupService);
|
|
119
132
|
this.#submenuId = signal(null, ...ngDevMode ? [{ debugName: "#submenuId" }] : /* istanbul ignore next */ []);
|
|
120
133
|
this.#typeaheadKey$ = new Subject();
|
|
134
|
+
this.#zone = inject(NgZone);
|
|
121
135
|
this.#childClose$ = null;
|
|
122
136
|
this.#closing = false;
|
|
137
|
+
this.#pendingHover = null;
|
|
138
|
+
this.#pointerTrail = [];
|
|
123
139
|
this.activeMenuItem = signal(null, ...ngDevMode ? [{ debugName: "activeMenuItem" }] : /* istanbul ignore next */ []);
|
|
124
140
|
this.ariaLabel = this.#parentConfig.ariaLabel || null;
|
|
125
141
|
this.baseClasses = computed(() => {
|
|
@@ -191,7 +207,6 @@ var PopupMenuListComponent = class PopupMenuListComponent {
|
|
|
191
207
|
});
|
|
192
208
|
});
|
|
193
209
|
this.#destroyRef.onDestroy(() => {
|
|
194
|
-
clearTimeout(this.#hoverTimer);
|
|
195
210
|
this.#closing = true;
|
|
196
211
|
this.closePopup();
|
|
197
212
|
});
|
|
@@ -199,6 +214,9 @@ var PopupMenuListComponent = class PopupMenuListComponent {
|
|
|
199
214
|
ngOnInit() {
|
|
200
215
|
this.setSubscriptions();
|
|
201
216
|
}
|
|
217
|
+
#itemElement(item) {
|
|
218
|
+
return this.#host.nativeElement.querySelector(`#${CSS.escape(item.uid)}`);
|
|
219
|
+
}
|
|
202
220
|
#menuElement() {
|
|
203
221
|
return this.#host.nativeElement.firstElementChild;
|
|
204
222
|
}
|
|
@@ -212,6 +230,10 @@ var PopupMenuListComponent = class PopupMenuListComponent {
|
|
|
212
230
|
onHostPointerEnter() {
|
|
213
231
|
this.#parentConfig.submenuPointerEnter?.();
|
|
214
232
|
}
|
|
233
|
+
onHostPointerLeave() {
|
|
234
|
+
this.cancelPendingHover();
|
|
235
|
+
this.#pointerTrail = [];
|
|
236
|
+
}
|
|
215
237
|
onItemClick(event, item) {
|
|
216
238
|
if (item.disabled) return;
|
|
217
239
|
if (item.items.length > 0) {
|
|
@@ -224,24 +246,37 @@ var PopupMenuListComponent = class PopupMenuListComponent {
|
|
|
224
246
|
this.#parentConfig.menuItemClick$.next(popupMenuItemClickEvent);
|
|
225
247
|
}
|
|
226
248
|
onItemPointerEnter(event, item) {
|
|
227
|
-
|
|
249
|
+
this.cancelPendingHover();
|
|
228
250
|
const open = this.#openSubmenuItem();
|
|
229
251
|
if (open === item) {
|
|
230
252
|
this.activeMenuItem.set(item);
|
|
231
253
|
return;
|
|
232
254
|
}
|
|
233
255
|
const target = event.currentTarget;
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
256
|
+
if (open && event.pointerType !== "touch" && this.isHeadingToSubmenu({
|
|
257
|
+
x: event.clientX,
|
|
258
|
+
y: event.clientY
|
|
259
|
+
})) {
|
|
260
|
+
this.#pendingHover = {
|
|
261
|
+
item,
|
|
262
|
+
target
|
|
263
|
+
};
|
|
264
|
+
this.restartRestTimer();
|
|
265
|
+
return;
|
|
266
|
+
}
|
|
267
|
+
this.hoverItem(item, target);
|
|
268
|
+
}
|
|
269
|
+
applyPendingHover() {
|
|
270
|
+
const pending = this.#pendingHover;
|
|
271
|
+
this.cancelPendingHover();
|
|
272
|
+
if (pending) this.hoverItem(pending.item, pending.target);
|
|
273
|
+
}
|
|
274
|
+
cancelPendingHover() {
|
|
275
|
+
clearTimeout(this.#hoverTimer);
|
|
276
|
+
this.#pendingHover = null;
|
|
243
277
|
}
|
|
244
278
|
closePopup() {
|
|
279
|
+
this.cancelPendingHover();
|
|
245
280
|
const ref = this.popupRef;
|
|
246
281
|
this.popupRef = null;
|
|
247
282
|
this.#openSubmenuItem.set(null);
|
|
@@ -369,7 +404,7 @@ var PopupMenuListComponent = class PopupMenuListComponent {
|
|
|
369
404
|
const activeItem = this.activeMenuItem();
|
|
370
405
|
if (activeItem?.disabled) return;
|
|
371
406
|
if (activeItem && activeItem.items.length > 0) {
|
|
372
|
-
const target = this.#
|
|
407
|
+
const target = this.#itemElement(activeItem);
|
|
373
408
|
if (target) this.createSubmenu(target, true, activeItem);
|
|
374
409
|
} else if (activeItem) {
|
|
375
410
|
const syntheticEvent = new MouseEvent("click", {
|
|
@@ -415,6 +450,30 @@ var PopupMenuListComponent = class PopupMenuListComponent {
|
|
|
415
450
|
handleTypeaheadKey(event) {
|
|
416
451
|
this.#typeaheadKey$.next(event.key);
|
|
417
452
|
}
|
|
453
|
+
hoverItem(item, target) {
|
|
454
|
+
this.closePopup();
|
|
455
|
+
if (item.items.length > 0 && !item.disabled) {
|
|
456
|
+
this.activeMenuItem.set(item);
|
|
457
|
+
this.createSubmenu(target, false, item);
|
|
458
|
+
} else this.activeMenuItem.set(null);
|
|
459
|
+
}
|
|
460
|
+
isHeadingToSubmenu(position) {
|
|
461
|
+
const origin = this.#pointerTrail[0];
|
|
462
|
+
const submenuId = this.#submenuId();
|
|
463
|
+
const submenu = submenuId ? this.#document.getElementById(submenuId) : null;
|
|
464
|
+
const menu = this.#menuElement();
|
|
465
|
+
if (!origin || !submenu || !menu || origin.x === position.x && origin.y === position.y) return false;
|
|
466
|
+
const menuRect = menu.getBoundingClientRect();
|
|
467
|
+
const submenuRect = submenu.getBoundingClientRect();
|
|
468
|
+
const edge = submenuRect.left + submenuRect.width / 2 >= menuRect.left + menuRect.width / 2 ? submenuRect.left : submenuRect.right;
|
|
469
|
+
return isPointInTriangle(position, origin, {
|
|
470
|
+
x: edge,
|
|
471
|
+
y: submenuRect.top - SUBMENU_AIM_TOLERANCE
|
|
472
|
+
}, {
|
|
473
|
+
x: edge,
|
|
474
|
+
y: submenuRect.bottom + SUBMENU_AIM_TOLERANCE
|
|
475
|
+
});
|
|
476
|
+
}
|
|
418
477
|
notifyNavigation(item, direction) {
|
|
419
478
|
this.#parentConfig.navigate$.next({
|
|
420
479
|
direction,
|
|
@@ -422,8 +481,18 @@ var PopupMenuListComponent = class PopupMenuListComponent {
|
|
|
422
481
|
level: this.#parentConfig.level
|
|
423
482
|
});
|
|
424
483
|
}
|
|
484
|
+
onPointerMove(event) {
|
|
485
|
+
const position = {
|
|
486
|
+
x: event.clientX,
|
|
487
|
+
y: event.clientY
|
|
488
|
+
};
|
|
489
|
+
this.#pointerTrail = [...this.#pointerTrail.slice(-2), position];
|
|
490
|
+
if (!this.#pendingHover) return;
|
|
491
|
+
if (this.isHeadingToSubmenu(position)) this.restartRestTimer();
|
|
492
|
+
else this.#zone.run(() => this.applyPendingHover());
|
|
493
|
+
}
|
|
425
494
|
onSubmenuPointerEnter() {
|
|
426
|
-
|
|
495
|
+
this.cancelPendingHover();
|
|
427
496
|
const open = this.#openSubmenuItem();
|
|
428
497
|
if (open) this.activeMenuItem.set(open);
|
|
429
498
|
}
|
|
@@ -433,7 +502,7 @@ var PopupMenuListComponent = class PopupMenuListComponent {
|
|
|
433
502
|
item: null,
|
|
434
503
|
hasChild: false
|
|
435
504
|
};
|
|
436
|
-
const target = this.#
|
|
505
|
+
const target = this.#itemElement(activeItem);
|
|
437
506
|
if (target && activeItem.items.length > 0) {
|
|
438
507
|
this.createSubmenu(target, true, activeItem);
|
|
439
508
|
return {
|
|
@@ -460,6 +529,10 @@ var PopupMenuListComponent = class PopupMenuListComponent {
|
|
|
460
529
|
const active = this.#document.activeElement;
|
|
461
530
|
if (active && !this.#host.nativeElement.contains(active) && active.closest("mona-popup-menu-list")) this.#menuElement()?.focus();
|
|
462
531
|
}
|
|
532
|
+
restartRestTimer() {
|
|
533
|
+
clearTimeout(this.#hoverTimer);
|
|
534
|
+
this.#hoverTimer = setTimeout(() => this.#zone.run(() => this.applyPendingHover()), SUBMENU_AIM_REST_DELAY);
|
|
535
|
+
}
|
|
463
536
|
setKeyboardEvents() {
|
|
464
537
|
const element = this.#menuElement();
|
|
465
538
|
if (!element) return;
|
|
@@ -475,6 +548,11 @@ var PopupMenuListComponent = class PopupMenuListComponent {
|
|
|
475
548
|
}
|
|
476
549
|
})).subscribe();
|
|
477
550
|
}
|
|
551
|
+
setPointerSubscription() {
|
|
552
|
+
this.#zone.runOutsideAngular(() => {
|
|
553
|
+
fromEvent(this.#host.nativeElement, "pointermove").pipe(takeUntilDestroyed(this.#destroyRef)).subscribe((event) => this.onPointerMove(event));
|
|
554
|
+
});
|
|
555
|
+
}
|
|
478
556
|
setPopupCloseSubscription() {
|
|
479
557
|
this.#parentConfig.parentClose$.pipe(takeUntilDestroyed(this.#destroyRef), tap(() => {
|
|
480
558
|
this.#closing = true;
|
|
@@ -489,6 +567,7 @@ var PopupMenuListComponent = class PopupMenuListComponent {
|
|
|
489
567
|
}
|
|
490
568
|
setSubscriptions() {
|
|
491
569
|
this.setKeyboardEvents();
|
|
570
|
+
this.setPointerSubscription();
|
|
492
571
|
this.setPopupCloseSubscription();
|
|
493
572
|
this.setTypeaheadSubscription();
|
|
494
573
|
}
|
|
@@ -498,7 +577,7 @@ var PopupMenuListComponent = class PopupMenuListComponent {
|
|
|
498
577
|
static {
|
|
499
578
|
this.ɵfac = i0.ɵɵngDeclareFactory({
|
|
500
579
|
minVersion: "12.0.0",
|
|
501
|
-
version: "22.
|
|
580
|
+
version: "22.3.0",
|
|
502
581
|
ngImport: i0,
|
|
503
582
|
type: PopupMenuListComponent,
|
|
504
583
|
deps: [],
|
|
@@ -508,14 +587,15 @@ var PopupMenuListComponent = class PopupMenuListComponent {
|
|
|
508
587
|
static {
|
|
509
588
|
this.ɵcmp = i0.ɵɵngDeclareComponent({
|
|
510
589
|
minVersion: "17.0.0",
|
|
511
|
-
version: "22.
|
|
590
|
+
version: "22.3.0",
|
|
512
591
|
type: PopupMenuListComponent,
|
|
513
592
|
isStandalone: true,
|
|
514
593
|
selector: "mona-popup-menu-list",
|
|
515
594
|
host: {
|
|
516
595
|
listeners: {
|
|
517
596
|
"focusout": "onFocusOut($event)",
|
|
518
|
-
"pointerenter": "onHostPointerEnter()"
|
|
597
|
+
"pointerenter": "onHostPointerEnter()",
|
|
598
|
+
"pointerleave": "onHostPointerLeave()"
|
|
519
599
|
},
|
|
520
600
|
properties: { "class": "baseClasses()" }
|
|
521
601
|
},
|
|
@@ -548,7 +628,7 @@ var PopupMenuListComponent = class PopupMenuListComponent {
|
|
|
548
628
|
};
|
|
549
629
|
i0.ɵɵngDeclareClassMetadata({
|
|
550
630
|
minVersion: "12.0.0",
|
|
551
|
-
version: "22.
|
|
631
|
+
version: "22.3.0",
|
|
552
632
|
ngImport: i0,
|
|
553
633
|
type: PopupMenuListComponent,
|
|
554
634
|
decorators: [{
|
|
@@ -563,7 +643,8 @@ i0.ɵɵngDeclareClassMetadata({
|
|
|
563
643
|
host: {
|
|
564
644
|
"[class]": "baseClasses()",
|
|
565
645
|
"(focusout)": "onFocusOut($event)",
|
|
566
|
-
"(pointerenter)": "onHostPointerEnter()"
|
|
646
|
+
"(pointerenter)": "onHostPointerEnter()",
|
|
647
|
+
"(pointerleave)": "onHostPointerLeave()"
|
|
567
648
|
},
|
|
568
649
|
template: "<div\n role=\"menu\"\n [attr.tabindex]=\"0\"\n [attr.aria-orientation]=\"'vertical'\"\n [attr.aria-activedescendant]=\"activeMenuItem()?.uid\"\n [attr.aria-label]=\"ariaLabel\"\n [attr.aria-labelledby]=\"labelledBy\"\n [attr.id]=\"menuId()\"\n [class]=\"containerClasses()\">\n @for (group of menuItems(); track $index) {\n @if (group.title) {\n @let groupTemplate = group.items[0]?.groupTemplate?.() ?? popupGroupTemplate() ?? null;\n <div role=\"group\" [attr.aria-labelledby]=\"group.labelId\">\n <div [id]=\"group.labelId\" role=\"presentation\" [class]=\"groupHeaderClasses()\">\n @if (groupTemplate) {\n <ng-container\n [ngTemplateOutlet]=\"groupTemplate\"\n [ngTemplateOutletContext]=\"{ $implicit: group.title }\"></ng-container>\n } @else {\n <span>{{ group.title }}</span>\n }\n </div>\n <ng-container\n [ngTemplateOutlet]=\"itemsTemplate\"\n [ngTemplateOutletContext]=\"{ $implicit: group.items }\"></ng-container>\n </div>\n } @else {\n <ng-container\n [ngTemplateOutlet]=\"itemsTemplate\"\n [ngTemplateOutletContext]=\"{ $implicit: group.items }\"></ng-container>\n }\n }\n</div>\n\n<ng-template #itemsTemplate let-items>\n @for (item of asItems(items); track $index) {\n @if (item.separator) {\n <div role=\"separator\" class=\"bg-border my-1 h-px\"></div>\n } @else {\n @let iconTemplate = item.iconTemplate?.() ?? popupIconTemplate() ?? null;\n @let shortcutTemplate = item.shortcutTemplate?.() ?? popupShortcutTemplate() ?? null;\n @let textTemplate = item.textTemplate?.() ?? popupTextTemplate() ?? null;\n <div\n [attr.role]=\"item.checkable ? 'menuitemcheckbox' : item.radio ? 'menuitemradio' : 'menuitem'\"\n [attr.aria-checked]=\"item.checkable ? !!item.checked?.() : item.radio ? !!item.selected?.() : null\"\n [id]=\"item.uid\"\n (pointerenter)=\"onItemPointerEnter($event, item)\"\n (click)=\"onItemClick($event, item)\"\n [attr.data-active]=\"item === activeMenuItem()\"\n [attr.aria-disabled]=\"item.disabled\"\n [attr.aria-expanded]=\"item.items.length > 0 ? item === openSubmenuItem() : null\"\n [attr.aria-controls]=\"item === openSubmenuItem() ? submenuId() : null\"\n [attr.aria-haspopup]=\"item.items.length > 0 ? 'menu' : null\"\n [attr.aria-label]=\"textTemplate ? null : item.label || null\"\n [attr.data-disabled]=\"item.disabled\"\n [class]=\"menuItemClasses()\">\n @if (iconAreaVisible()) {\n <div [class]=\"iconContainerClasses()\">\n @if (!item.checkable && !item.radio) {\n <ng-container\n [ngTemplateOutlet]=\"iconTemplate\"\n [ngTemplateOutletContext]=\"{ $implicit: item }\"></ng-container>\n } @else if (item.checkable) {\n @if (item.checked?.()) {\n <svg lucideCheck [size]=\"14\"></svg>\n }\n } @else if (item.radio) {\n @if (item.selected?.()) {\n <svg\n xmlns=\"http://www.w3.org/2000/svg\"\n width=\"24\"\n height=\"24\"\n viewBox=\"0 0 24 24\"\n fill=\"none\"\n stroke=\"currentColor\"\n stroke-width=\"2\"\n stroke-linecap=\"round\"\n stroke-linejoin=\"round\"\n class=\"lucide lucide-circle size-2 fill-current\">\n <circle cx=\"12\" cy=\"12\" r=\"10\"></circle>\n </svg>\n }\n }\n </div>\n }\n <div class=\"flex-1\">\n @if (textTemplate) {\n <ng-container\n [ngTemplateOutlet]=\"textTemplate\"\n [ngTemplateOutletContext]=\"{ $implicit: item }\"></ng-container>\n } @else {\n {{ item.label }}\n }\n </div>\n @if (item.items.length > 0) {\n @if (!item.checkable) {\n <div [class]=\"linkContainerClasses()\">\n <svg lucideChevronRight [size]=\"16\" class=\"rtl:rotate-180\"></svg>\n </div>\n }\n } @else if (shortcutTemplate) {\n <ng-container\n [ngTemplateOutlet]=\"shortcutTemplate\"\n [ngTemplateOutletContext]=\"{ $implicit: item }\"></ng-container>\n }\n </div>\n }\n }\n</ng-template>\n"
|
|
569
650
|
}]
|
|
@@ -584,7 +665,7 @@ var PopupMenuComponent = class PopupMenuComponent {
|
|
|
584
665
|
#triggerSubscription;
|
|
585
666
|
constructor() {
|
|
586
667
|
this.#destroyRef = inject(DestroyRef);
|
|
587
|
-
this.#document = inject(DOCUMENT);
|
|
668
|
+
this.#document = inject(DOCUMENT$1);
|
|
588
669
|
this.#menuItemClick$ = new Subject();
|
|
589
670
|
this.#navigate$ = new Subject();
|
|
590
671
|
this.#popupService = inject(PopupService);
|
|
@@ -880,7 +961,7 @@ var PopupMenuComponent = class PopupMenuComponent {
|
|
|
880
961
|
static {
|
|
881
962
|
this.ɵfac = i0.ɵɵngDeclareFactory({
|
|
882
963
|
minVersion: "12.0.0",
|
|
883
|
-
version: "22.
|
|
964
|
+
version: "22.3.0",
|
|
884
965
|
ngImport: i0,
|
|
885
966
|
type: PopupMenuComponent,
|
|
886
967
|
deps: [],
|
|
@@ -890,7 +971,7 @@ var PopupMenuComponent = class PopupMenuComponent {
|
|
|
890
971
|
static {
|
|
891
972
|
this.ɵcmp = i0.ɵɵngDeclareComponent({
|
|
892
973
|
minVersion: "17.2.0",
|
|
893
|
-
version: "22.
|
|
974
|
+
version: "22.3.0",
|
|
894
975
|
type: PopupMenuComponent,
|
|
895
976
|
isStandalone: true,
|
|
896
977
|
selector: "mona-popup-menu",
|
|
@@ -1057,7 +1138,7 @@ var PopupMenuComponent = class PopupMenuComponent {
|
|
|
1057
1138
|
};
|
|
1058
1139
|
i0.ɵɵngDeclareClassMetadata({
|
|
1059
1140
|
minVersion: "12.0.0",
|
|
1060
|
-
version: "22.
|
|
1141
|
+
version: "22.3.0",
|
|
1061
1142
|
ngImport: i0,
|
|
1062
1143
|
type: PopupMenuComponent,
|
|
1063
1144
|
decorators: [{
|
|
@@ -1307,7 +1388,7 @@ var PopupMenuCheckboxItemComponent = class PopupMenuCheckboxItemComponent {
|
|
|
1307
1388
|
static {
|
|
1308
1389
|
this.ɵfac = i0.ɵɵngDeclareFactory({
|
|
1309
1390
|
minVersion: "12.0.0",
|
|
1310
|
-
version: "22.
|
|
1391
|
+
version: "22.3.0",
|
|
1311
1392
|
ngImport: i0,
|
|
1312
1393
|
type: PopupMenuCheckboxItemComponent,
|
|
1313
1394
|
deps: [],
|
|
@@ -1317,7 +1398,7 @@ var PopupMenuCheckboxItemComponent = class PopupMenuCheckboxItemComponent {
|
|
|
1317
1398
|
static {
|
|
1318
1399
|
this.ɵcmp = i0.ɵɵngDeclareComponent({
|
|
1319
1400
|
minVersion: "17.2.0",
|
|
1320
|
-
version: "22.
|
|
1401
|
+
version: "22.3.0",
|
|
1321
1402
|
type: PopupMenuCheckboxItemComponent,
|
|
1322
1403
|
isStandalone: true,
|
|
1323
1404
|
selector: "mona-popup-menu-checkbox-item",
|
|
@@ -1378,7 +1459,7 @@ var PopupMenuCheckboxItemComponent = class PopupMenuCheckboxItemComponent {
|
|
|
1378
1459
|
};
|
|
1379
1460
|
i0.ɵɵngDeclareClassMetadata({
|
|
1380
1461
|
minVersion: "12.0.0",
|
|
1381
|
-
version: "22.
|
|
1462
|
+
version: "22.3.0",
|
|
1382
1463
|
ngImport: i0,
|
|
1383
1464
|
type: PopupMenuCheckboxItemComponent,
|
|
1384
1465
|
decorators: [{
|
|
@@ -1503,7 +1584,7 @@ var PopupMenuItemComponent = class PopupMenuItemComponent {
|
|
|
1503
1584
|
static {
|
|
1504
1585
|
this.ɵfac = i0.ɵɵngDeclareFactory({
|
|
1505
1586
|
minVersion: "12.0.0",
|
|
1506
|
-
version: "22.
|
|
1587
|
+
version: "22.3.0",
|
|
1507
1588
|
ngImport: i0,
|
|
1508
1589
|
type: PopupMenuItemComponent,
|
|
1509
1590
|
deps: [],
|
|
@@ -1513,7 +1594,7 @@ var PopupMenuItemComponent = class PopupMenuItemComponent {
|
|
|
1513
1594
|
static {
|
|
1514
1595
|
this.ɵcmp = i0.ɵɵngDeclareComponent({
|
|
1515
1596
|
minVersion: "17.2.0",
|
|
1516
|
-
version: "22.
|
|
1597
|
+
version: "22.3.0",
|
|
1517
1598
|
type: PopupMenuItemComponent,
|
|
1518
1599
|
isStandalone: true,
|
|
1519
1600
|
selector: "mona-popup-menu-item",
|
|
@@ -1578,7 +1659,7 @@ var PopupMenuItemComponent = class PopupMenuItemComponent {
|
|
|
1578
1659
|
};
|
|
1579
1660
|
i0.ɵɵngDeclareClassMetadata({
|
|
1580
1661
|
minVersion: "12.0.0",
|
|
1581
|
-
version: "22.
|
|
1662
|
+
version: "22.3.0",
|
|
1582
1663
|
ngImport: i0,
|
|
1583
1664
|
type: PopupMenuItemComponent,
|
|
1584
1665
|
decorators: [{
|
|
@@ -1679,7 +1760,7 @@ var PopupMenuGroupComponent = class PopupMenuGroupComponent {
|
|
|
1679
1760
|
static {
|
|
1680
1761
|
this.ɵfac = i0.ɵɵngDeclareFactory({
|
|
1681
1762
|
minVersion: "12.0.0",
|
|
1682
|
-
version: "22.
|
|
1763
|
+
version: "22.3.0",
|
|
1683
1764
|
ngImport: i0,
|
|
1684
1765
|
type: PopupMenuGroupComponent,
|
|
1685
1766
|
deps: [],
|
|
@@ -1689,7 +1770,7 @@ var PopupMenuGroupComponent = class PopupMenuGroupComponent {
|
|
|
1689
1770
|
static {
|
|
1690
1771
|
this.ɵcmp = i0.ɵɵngDeclareComponent({
|
|
1691
1772
|
minVersion: "17.2.0",
|
|
1692
|
-
version: "22.
|
|
1773
|
+
version: "22.3.0",
|
|
1693
1774
|
type: PopupMenuGroupComponent,
|
|
1694
1775
|
isStandalone: true,
|
|
1695
1776
|
selector: "mona-popup-menu-group",
|
|
@@ -1722,7 +1803,7 @@ var PopupMenuGroupComponent = class PopupMenuGroupComponent {
|
|
|
1722
1803
|
};
|
|
1723
1804
|
i0.ɵɵngDeclareClassMetadata({
|
|
1724
1805
|
minVersion: "12.0.0",
|
|
1725
|
-
version: "22.
|
|
1806
|
+
version: "22.3.0",
|
|
1726
1807
|
ngImport: i0,
|
|
1727
1808
|
type: PopupMenuGroupComponent,
|
|
1728
1809
|
decorators: [{
|
|
@@ -1814,7 +1895,7 @@ var PopupMenuRadioGroupComponent = class PopupMenuRadioGroupComponent {
|
|
|
1814
1895
|
static {
|
|
1815
1896
|
this.ɵfac = i0.ɵɵngDeclareFactory({
|
|
1816
1897
|
minVersion: "12.0.0",
|
|
1817
|
-
version: "22.
|
|
1898
|
+
version: "22.3.0",
|
|
1818
1899
|
ngImport: i0,
|
|
1819
1900
|
type: PopupMenuRadioGroupComponent,
|
|
1820
1901
|
deps: [],
|
|
@@ -1824,7 +1905,7 @@ var PopupMenuRadioGroupComponent = class PopupMenuRadioGroupComponent {
|
|
|
1824
1905
|
static {
|
|
1825
1906
|
this.ɵcmp = i0.ɵɵngDeclareComponent({
|
|
1826
1907
|
minVersion: "17.2.0",
|
|
1827
|
-
version: "22.
|
|
1908
|
+
version: "22.3.0",
|
|
1828
1909
|
type: PopupMenuRadioGroupComponent,
|
|
1829
1910
|
isStandalone: true,
|
|
1830
1911
|
selector: "mona-popup-menu-radio-group",
|
|
@@ -1867,7 +1948,7 @@ var PopupMenuRadioGroupComponent = class PopupMenuRadioGroupComponent {
|
|
|
1867
1948
|
};
|
|
1868
1949
|
i0.ɵɵngDeclareClassMetadata({
|
|
1869
1950
|
minVersion: "12.0.0",
|
|
1870
|
-
version: "22.
|
|
1951
|
+
version: "22.3.0",
|
|
1871
1952
|
ngImport: i0,
|
|
1872
1953
|
type: PopupMenuRadioGroupComponent,
|
|
1873
1954
|
decorators: [{
|
|
@@ -1965,7 +2046,7 @@ var PopupMenuRadioItemComponent = class PopupMenuRadioItemComponent {
|
|
|
1965
2046
|
static {
|
|
1966
2047
|
this.ɵfac = i0.ɵɵngDeclareFactory({
|
|
1967
2048
|
minVersion: "12.0.0",
|
|
1968
|
-
version: "22.
|
|
2049
|
+
version: "22.3.0",
|
|
1969
2050
|
ngImport: i0,
|
|
1970
2051
|
type: PopupMenuRadioItemComponent,
|
|
1971
2052
|
deps: [],
|
|
@@ -1975,7 +2056,7 @@ var PopupMenuRadioItemComponent = class PopupMenuRadioItemComponent {
|
|
|
1975
2056
|
static {
|
|
1976
2057
|
this.ɵcmp = i0.ɵɵngDeclareComponent({
|
|
1977
2058
|
minVersion: "17.2.0",
|
|
1978
|
-
version: "22.
|
|
2059
|
+
version: "22.3.0",
|
|
1979
2060
|
type: PopupMenuRadioItemComponent,
|
|
1980
2061
|
isStandalone: true,
|
|
1981
2062
|
selector: "mona-popup-menu-radio-item",
|
|
@@ -2029,7 +2110,7 @@ var PopupMenuRadioItemComponent = class PopupMenuRadioItemComponent {
|
|
|
2029
2110
|
};
|
|
2030
2111
|
i0.ɵɵngDeclareClassMetadata({
|
|
2031
2112
|
minVersion: "12.0.0",
|
|
2032
|
-
version: "22.
|
|
2113
|
+
version: "22.3.0",
|
|
2033
2114
|
ngImport: i0,
|
|
2034
2115
|
type: PopupMenuRadioItemComponent,
|
|
2035
2116
|
decorators: [{
|
|
@@ -2113,7 +2194,7 @@ var PopupMenuSeparatorComponent = class PopupMenuSeparatorComponent {
|
|
|
2113
2194
|
static {
|
|
2114
2195
|
this.ɵfac = i0.ɵɵngDeclareFactory({
|
|
2115
2196
|
minVersion: "12.0.0",
|
|
2116
|
-
version: "22.
|
|
2197
|
+
version: "22.3.0",
|
|
2117
2198
|
ngImport: i0,
|
|
2118
2199
|
type: PopupMenuSeparatorComponent,
|
|
2119
2200
|
deps: [],
|
|
@@ -2123,7 +2204,7 @@ var PopupMenuSeparatorComponent = class PopupMenuSeparatorComponent {
|
|
|
2123
2204
|
static {
|
|
2124
2205
|
this.ɵcmp = i0.ɵɵngDeclareComponent({
|
|
2125
2206
|
minVersion: "14.0.0",
|
|
2126
|
-
version: "22.
|
|
2207
|
+
version: "22.3.0",
|
|
2127
2208
|
type: PopupMenuSeparatorComponent,
|
|
2128
2209
|
isStandalone: true,
|
|
2129
2210
|
selector: "mona-popup-menu-separator",
|
|
@@ -2139,7 +2220,7 @@ var PopupMenuSeparatorComponent = class PopupMenuSeparatorComponent {
|
|
|
2139
2220
|
};
|
|
2140
2221
|
i0.ɵɵngDeclareClassMetadata({
|
|
2141
2222
|
minVersion: "12.0.0",
|
|
2142
|
-
version: "22.
|
|
2223
|
+
version: "22.3.0",
|
|
2143
2224
|
ngImport: i0,
|
|
2144
2225
|
type: PopupMenuSeparatorComponent,
|
|
2145
2226
|
decorators: [{
|
|
@@ -2163,7 +2244,7 @@ var PopupMenuGroupTemplateDirective = class PopupMenuGroupTemplateDirective {
|
|
|
2163
2244
|
static {
|
|
2164
2245
|
this.ɵfac = i0.ɵɵngDeclareFactory({
|
|
2165
2246
|
minVersion: "12.0.0",
|
|
2166
|
-
version: "22.
|
|
2247
|
+
version: "22.3.0",
|
|
2167
2248
|
ngImport: i0,
|
|
2168
2249
|
type: PopupMenuGroupTemplateDirective,
|
|
2169
2250
|
deps: [],
|
|
@@ -2173,7 +2254,7 @@ var PopupMenuGroupTemplateDirective = class PopupMenuGroupTemplateDirective {
|
|
|
2173
2254
|
static {
|
|
2174
2255
|
this.ɵdir = i0.ɵɵngDeclareDirective({
|
|
2175
2256
|
minVersion: "14.0.0",
|
|
2176
|
-
version: "22.
|
|
2257
|
+
version: "22.3.0",
|
|
2177
2258
|
type: PopupMenuGroupTemplateDirective,
|
|
2178
2259
|
isStandalone: true,
|
|
2179
2260
|
selector: "ng-template[monaPopupMenuGroupTemplate]",
|
|
@@ -2187,7 +2268,7 @@ var PopupMenuGroupTemplateDirective = class PopupMenuGroupTemplateDirective {
|
|
|
2187
2268
|
};
|
|
2188
2269
|
i0.ɵɵngDeclareClassMetadata({
|
|
2189
2270
|
minVersion: "12.0.0",
|
|
2190
|
-
version: "22.
|
|
2271
|
+
version: "22.3.0",
|
|
2191
2272
|
ngImport: i0,
|
|
2192
2273
|
type: PopupMenuGroupTemplateDirective,
|
|
2193
2274
|
decorators: [{
|
|
@@ -2210,7 +2291,7 @@ var PopupMenuIconTemplateDirective = class PopupMenuIconTemplateDirective {
|
|
|
2210
2291
|
static {
|
|
2211
2292
|
this.ɵfac = i0.ɵɵngDeclareFactory({
|
|
2212
2293
|
minVersion: "12.0.0",
|
|
2213
|
-
version: "22.
|
|
2294
|
+
version: "22.3.0",
|
|
2214
2295
|
ngImport: i0,
|
|
2215
2296
|
type: PopupMenuIconTemplateDirective,
|
|
2216
2297
|
deps: [],
|
|
@@ -2220,7 +2301,7 @@ var PopupMenuIconTemplateDirective = class PopupMenuIconTemplateDirective {
|
|
|
2220
2301
|
static {
|
|
2221
2302
|
this.ɵdir = i0.ɵɵngDeclareDirective({
|
|
2222
2303
|
minVersion: "14.0.0",
|
|
2223
|
-
version: "22.
|
|
2304
|
+
version: "22.3.0",
|
|
2224
2305
|
type: PopupMenuIconTemplateDirective,
|
|
2225
2306
|
isStandalone: true,
|
|
2226
2307
|
selector: "ng-template[monaPopupMenuIconTemplate]",
|
|
@@ -2234,7 +2315,7 @@ var PopupMenuIconTemplateDirective = class PopupMenuIconTemplateDirective {
|
|
|
2234
2315
|
};
|
|
2235
2316
|
i0.ɵɵngDeclareClassMetadata({
|
|
2236
2317
|
minVersion: "12.0.0",
|
|
2237
|
-
version: "22.
|
|
2318
|
+
version: "22.3.0",
|
|
2238
2319
|
ngImport: i0,
|
|
2239
2320
|
type: PopupMenuIconTemplateDirective,
|
|
2240
2321
|
decorators: [{
|
|
@@ -2257,7 +2338,7 @@ var PopupMenuShortcutTemplateDirective = class PopupMenuShortcutTemplateDirectiv
|
|
|
2257
2338
|
static {
|
|
2258
2339
|
this.ɵfac = i0.ɵɵngDeclareFactory({
|
|
2259
2340
|
minVersion: "12.0.0",
|
|
2260
|
-
version: "22.
|
|
2341
|
+
version: "22.3.0",
|
|
2261
2342
|
ngImport: i0,
|
|
2262
2343
|
type: PopupMenuShortcutTemplateDirective,
|
|
2263
2344
|
deps: [],
|
|
@@ -2267,7 +2348,7 @@ var PopupMenuShortcutTemplateDirective = class PopupMenuShortcutTemplateDirectiv
|
|
|
2267
2348
|
static {
|
|
2268
2349
|
this.ɵdir = i0.ɵɵngDeclareDirective({
|
|
2269
2350
|
minVersion: "14.0.0",
|
|
2270
|
-
version: "22.
|
|
2351
|
+
version: "22.3.0",
|
|
2271
2352
|
type: PopupMenuShortcutTemplateDirective,
|
|
2272
2353
|
isStandalone: true,
|
|
2273
2354
|
selector: "ng-template[monaPopupMenuShortcutTemplate]",
|
|
@@ -2281,7 +2362,7 @@ var PopupMenuShortcutTemplateDirective = class PopupMenuShortcutTemplateDirectiv
|
|
|
2281
2362
|
};
|
|
2282
2363
|
i0.ɵɵngDeclareClassMetadata({
|
|
2283
2364
|
minVersion: "12.0.0",
|
|
2284
|
-
version: "22.
|
|
2365
|
+
version: "22.3.0",
|
|
2285
2366
|
ngImport: i0,
|
|
2286
2367
|
type: PopupMenuShortcutTemplateDirective,
|
|
2287
2368
|
decorators: [{
|
|
@@ -2304,7 +2385,7 @@ var PopupMenuTextTemplateDirective = class PopupMenuTextTemplateDirective {
|
|
|
2304
2385
|
static {
|
|
2305
2386
|
this.ɵfac = i0.ɵɵngDeclareFactory({
|
|
2306
2387
|
minVersion: "12.0.0",
|
|
2307
|
-
version: "22.
|
|
2388
|
+
version: "22.3.0",
|
|
2308
2389
|
ngImport: i0,
|
|
2309
2390
|
type: PopupMenuTextTemplateDirective,
|
|
2310
2391
|
deps: [],
|
|
@@ -2314,7 +2395,7 @@ var PopupMenuTextTemplateDirective = class PopupMenuTextTemplateDirective {
|
|
|
2314
2395
|
static {
|
|
2315
2396
|
this.ɵdir = i0.ɵɵngDeclareDirective({
|
|
2316
2397
|
minVersion: "14.0.0",
|
|
2317
|
-
version: "22.
|
|
2398
|
+
version: "22.3.0",
|
|
2318
2399
|
type: PopupMenuTextTemplateDirective,
|
|
2319
2400
|
isStandalone: true,
|
|
2320
2401
|
selector: "ng-template[monaPopupMenuTextTemplate]",
|
|
@@ -2328,7 +2409,7 @@ var PopupMenuTextTemplateDirective = class PopupMenuTextTemplateDirective {
|
|
|
2328
2409
|
};
|
|
2329
2410
|
i0.ɵɵngDeclareClassMetadata({
|
|
2330
2411
|
minVersion: "12.0.0",
|
|
2331
|
-
version: "22.
|
|
2412
|
+
version: "22.3.0",
|
|
2332
2413
|
ngImport: i0,
|
|
2333
2414
|
type: PopupMenuTextTemplateDirective,
|
|
2334
2415
|
decorators: [{
|