@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,18 +1,18 @@
|
|
|
1
|
-
import { CdkTrapFocus } from "@angular/cdk/a11y";
|
|
2
1
|
import * as i0 from "@angular/core";
|
|
3
2
|
import { Component, DestroyRef, ElementRef, afterNextRender, booleanAttribute, computed, effect, forwardRef, inject, input, model, output, untracked, viewChild } from "@angular/core";
|
|
4
|
-
import { takeUntilDestroyed } from "@angular/core/rxjs-interop";
|
|
5
3
|
import { LucideClock } from "@lucide/angular";
|
|
6
4
|
import { ButtonDirective } from "@nanahoshi/mona-ui/button";
|
|
7
|
-
import { createTypedDateInput, getLocaleHourFormat } from "@nanahoshi/mona-ui/date-input";
|
|
8
|
-
import * as i1 from "@nanahoshi/mona-ui/dropdowns";
|
|
9
|
-
import { DROPDOWN_POPUP_INPUT_TOKEN, DropdownPopupHandlerDirective, DropdownService, dropdownPopupThemeVariants, dropdownSheetPickerClasses } from "@nanahoshi/mona-ui/dropdowns";
|
|
10
5
|
import { MonaI18nService, getLocaleTimeInputFormat } from "@nanahoshi/mona-ui/i18n";
|
|
6
|
+
import { twMerge } from "tailwind-merge";
|
|
7
|
+
import { cva } from "class-variance-authority";
|
|
8
|
+
import { takeUntilDestroyed } from "@angular/core/rxjs-interop";
|
|
11
9
|
import { FIELD_ASSOCIATION_BOUNDARY, createElementControlId, injectEffectiveDisabled, injectLabelAssociation, themeControlSurfaceClasses } from "@nanahoshi/mona-ui/internal";
|
|
10
|
+
import * as i1 from "@nanahoshi/mona-ui/dropdowns";
|
|
11
|
+
import { DROPDOWN_POPUP_INPUT_TOKEN, DropdownPopupHandlerDirective, DropdownService, dropdownPopupThemeVariants, dropdownSheetPickerClasses } from "@nanahoshi/mona-ui/dropdowns";
|
|
12
12
|
import { TextBoxComponent, TextBoxSuffixTemplateDirective } from "@nanahoshi/mona-ui/text-box";
|
|
13
|
+
import { createTypedDateInput, getLocaleHourFormat } from "@nanahoshi/mona-ui/date-input";
|
|
14
|
+
import { CdkTrapFocus } from "@angular/cdk/a11y";
|
|
13
15
|
import { TimeSelectorComponent } from "@nanahoshi/mona-ui/time-selector";
|
|
14
|
-
import { twMerge } from "tailwind-merge";
|
|
15
|
-
import { cva } from "class-variance-authority";
|
|
16
16
|
const TIME_PICKER_DEFAULT_MESSAGES = {
|
|
17
17
|
openTimePicker: "Open time picker",
|
|
18
18
|
timePicker: "Time picker"
|
|
@@ -32,12 +32,12 @@ const timePickerBaseThemeVariants = cva(`
|
|
|
32
32
|
data-[readonly='true']:cursor-default
|
|
33
33
|
|
|
34
34
|
focus-within:border-focus-indicator
|
|
35
|
-
focus-within:ring-
|
|
35
|
+
focus-within:ring-(length:--mona-focus-ring-width,2px) focus-within:ring-focus-indicator/(--mona-focus-ring-opacity,35%)
|
|
36
36
|
|
|
37
37
|
data-[invalid='true']:border-error
|
|
38
|
-
data-[invalid='true']:ring-
|
|
38
|
+
data-[invalid='true']:ring-(length:--mona-focus-ring-width,2px) data-[invalid='true']:ring-error/(--mona-focus-ring-opacity,35%)
|
|
39
39
|
data-[invalid='true']:focus-within:border-error
|
|
40
|
-
data-[invalid='true']:focus-within:ring-error/35
|
|
40
|
+
data-[invalid='true']:focus-within:ring-error/(--mona-focus-ring-opacity,35%)
|
|
41
41
|
|
|
42
42
|
[&_mona-text-box]:h-full
|
|
43
43
|
[&_mona-text-box]:border-none
|
|
@@ -47,7 +47,7 @@ const timePickerBaseThemeVariants = cva(`
|
|
|
47
47
|
`, {
|
|
48
48
|
variants: {
|
|
49
49
|
focused: {
|
|
50
|
-
true: "border-focus-indicator ring-
|
|
50
|
+
true: "border-focus-indicator ring-(length:--mona-focus-ring-width,2px) ring-focus-indicator/(--mona-focus-ring-opacity,35%)",
|
|
51
51
|
false: ""
|
|
52
52
|
},
|
|
53
53
|
rounded: {
|
|
@@ -65,7 +65,7 @@ const timePickerBaseThemeVariants = cva(`
|
|
|
65
65
|
},
|
|
66
66
|
compoundVariants: [{
|
|
67
67
|
focused: true,
|
|
68
|
-
class: "data-[invalid='true']:border-error data-[invalid='true']:ring-error/35"
|
|
68
|
+
class: "data-[invalid='true']:border-error data-[invalid='true']:ring-error/(--mona-focus-ring-opacity,35%)"
|
|
69
69
|
}]
|
|
70
70
|
});
|
|
71
71
|
var TimePickerComponent = class TimePickerComponent {
|
|
@@ -299,7 +299,7 @@ var TimePickerComponent = class TimePickerComponent {
|
|
|
299
299
|
static {
|
|
300
300
|
this.ɵfac = i0.ɵɵngDeclareFactory({
|
|
301
301
|
minVersion: "12.0.0",
|
|
302
|
-
version: "22.
|
|
302
|
+
version: "22.3.0",
|
|
303
303
|
ngImport: i0,
|
|
304
304
|
type: TimePickerComponent,
|
|
305
305
|
deps: [],
|
|
@@ -309,7 +309,7 @@ var TimePickerComponent = class TimePickerComponent {
|
|
|
309
309
|
static {
|
|
310
310
|
this.ɵcmp = i0.ɵɵngDeclareComponent({
|
|
311
311
|
minVersion: "17.2.0",
|
|
312
|
-
version: "22.
|
|
312
|
+
version: "22.3.0",
|
|
313
313
|
type: TimePickerComponent,
|
|
314
314
|
isStandalone: true,
|
|
315
315
|
selector: "mona-time-picker",
|
|
@@ -667,7 +667,7 @@ var TimePickerComponent = class TimePickerComponent {
|
|
|
667
667
|
};
|
|
668
668
|
i0.ɵɵngDeclareClassMetadata({
|
|
669
669
|
minVersion: "12.0.0",
|
|
670
|
-
version: "22.
|
|
670
|
+
version: "22.3.0",
|
|
671
671
|
ngImport: i0,
|
|
672
672
|
type: TimePickerComponent,
|
|
673
673
|
decorators: [{
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import * as i0 from "@angular/core";
|
|
2
2
|
import { Component, DestroyRef, Directive, ElementRef, afterNextRender, booleanAttribute, computed, effect, inject, input, model, output, signal, untracked, viewChild } from "@angular/core";
|
|
3
|
-
import { takeUntilDestroyed } from "@angular/core/rxjs-interop";
|
|
4
3
|
import { ButtonDirective } from "@nanahoshi/mona-ui/button";
|
|
5
4
|
import { PreventableEvent } from "@nanahoshi/mona-ui/common";
|
|
6
|
-
import { TimeLimiterPipe, TimeSelectorService, generateHourSet, generateMinuteSet, generateSecondSet, getLocaleHourFormat } from "@nanahoshi/mona-ui/date-input";
|
|
7
5
|
import { MonaI18nService, formatNumber, injectComponentDirection } from "@nanahoshi/mona-ui/i18n";
|
|
6
|
+
import { cva } from "class-variance-authority";
|
|
7
|
+
import { takeUntilDestroyed } from "@angular/core/rxjs-interop";
|
|
8
8
|
import { createElementControlId, injectEffectiveDisabled, rxTimeout, themeSelectionBarClasses } from "@nanahoshi/mona-ui/internal";
|
|
9
|
-
import { DateTime } from "luxon";
|
|
10
9
|
import { filter, fromEvent } from "rxjs";
|
|
11
|
-
import {
|
|
10
|
+
import { TimeLimiterPipe, TimeSelectorService, generateHourSet, generateMinuteSet, generateSecondSet, getLocaleHourFormat } from "@nanahoshi/mona-ui/date-input";
|
|
11
|
+
import { DateTime } from "luxon";
|
|
12
12
|
const timeSelectorBaseThemeVariants = cva(`
|
|
13
13
|
flex h-full w-full flex-col overflow-hidden
|
|
14
14
|
data-[invalid='true']:border data-[invalid='true']:border-error
|
|
15
|
-
data-[invalid='true']:ring-
|
|
15
|
+
data-[invalid='true']:ring-(length:--mona-focus-ring-width,2px) data-[invalid='true']:ring-error/(--mona-focus-ring-opacity,35%)
|
|
16
16
|
`, { variants: {
|
|
17
17
|
disabled: {
|
|
18
18
|
true: "pointer-events-none cursor-not-allowed text-disabled-foreground",
|
|
@@ -111,7 +111,7 @@ var TimeSelectorItemDirective = class TimeSelectorItemDirective {
|
|
|
111
111
|
static {
|
|
112
112
|
this.ɵfac = i0.ɵɵngDeclareFactory({
|
|
113
113
|
minVersion: "12.0.0",
|
|
114
|
-
version: "22.
|
|
114
|
+
version: "22.3.0",
|
|
115
115
|
ngImport: i0,
|
|
116
116
|
type: TimeSelectorItemDirective,
|
|
117
117
|
deps: [],
|
|
@@ -121,7 +121,7 @@ var TimeSelectorItemDirective = class TimeSelectorItemDirective {
|
|
|
121
121
|
static {
|
|
122
122
|
this.ɵdir = i0.ɵɵngDeclareDirective({
|
|
123
123
|
minVersion: "17.1.0",
|
|
124
|
-
version: "22.
|
|
124
|
+
version: "22.3.0",
|
|
125
125
|
type: TimeSelectorItemDirective,
|
|
126
126
|
isStandalone: true,
|
|
127
127
|
selector: "li[monaTimeSelectorItem]",
|
|
@@ -162,7 +162,7 @@ var TimeSelectorItemDirective = class TimeSelectorItemDirective {
|
|
|
162
162
|
};
|
|
163
163
|
i0.ɵɵngDeclareClassMetadata({
|
|
164
164
|
minVersion: "12.0.0",
|
|
165
|
-
version: "22.
|
|
165
|
+
version: "22.3.0",
|
|
166
166
|
ngImport: i0,
|
|
167
167
|
type: TimeSelectorItemDirective,
|
|
168
168
|
decorators: [{
|
|
@@ -226,7 +226,7 @@ var TimeSelectorListDirective = class TimeSelectorListDirective {
|
|
|
226
226
|
static {
|
|
227
227
|
this.ɵfac = i0.ɵɵngDeclareFactory({
|
|
228
228
|
minVersion: "12.0.0",
|
|
229
|
-
version: "22.
|
|
229
|
+
version: "22.3.0",
|
|
230
230
|
ngImport: i0,
|
|
231
231
|
type: TimeSelectorListDirective,
|
|
232
232
|
deps: [],
|
|
@@ -236,7 +236,7 @@ var TimeSelectorListDirective = class TimeSelectorListDirective {
|
|
|
236
236
|
static {
|
|
237
237
|
this.ɵdir = i0.ɵɵngDeclareDirective({
|
|
238
238
|
minVersion: "17.1.0",
|
|
239
|
-
version: "22.
|
|
239
|
+
version: "22.3.0",
|
|
240
240
|
type: TimeSelectorListDirective,
|
|
241
241
|
isStandalone: true,
|
|
242
242
|
selector: "ol[monaTimeSelectorList]",
|
|
@@ -273,7 +273,7 @@ var TimeSelectorListDirective = class TimeSelectorListDirective {
|
|
|
273
273
|
};
|
|
274
274
|
i0.ɵɵngDeclareClassMetadata({
|
|
275
275
|
minVersion: "12.0.0",
|
|
276
|
-
version: "22.
|
|
276
|
+
version: "22.3.0",
|
|
277
277
|
ngImport: i0,
|
|
278
278
|
type: TimeSelectorListDirective,
|
|
279
279
|
decorators: [{
|
|
@@ -693,7 +693,7 @@ var TimeSelectorComponent = class TimeSelectorComponent {
|
|
|
693
693
|
static {
|
|
694
694
|
this.ɵfac = i0.ɵɵngDeclareFactory({
|
|
695
695
|
minVersion: "12.0.0",
|
|
696
|
-
version: "22.
|
|
696
|
+
version: "22.3.0",
|
|
697
697
|
ngImport: i0,
|
|
698
698
|
type: TimeSelectorComponent,
|
|
699
699
|
deps: [],
|
|
@@ -703,7 +703,7 @@ var TimeSelectorComponent = class TimeSelectorComponent {
|
|
|
703
703
|
static {
|
|
704
704
|
this.ɵcmp = i0.ɵɵngDeclareComponent({
|
|
705
705
|
minVersion: "17.0.0",
|
|
706
|
-
version: "22.
|
|
706
|
+
version: "22.3.0",
|
|
707
707
|
type: TimeSelectorComponent,
|
|
708
708
|
isStandalone: true,
|
|
709
709
|
selector: "mona-time-selector",
|
|
@@ -928,7 +928,7 @@ var TimeSelectorComponent = class TimeSelectorComponent {
|
|
|
928
928
|
};
|
|
929
929
|
i0.ɵɵngDeclareClassMetadata({
|
|
930
930
|
minVersion: "12.0.0",
|
|
931
|
-
version: "22.
|
|
931
|
+
version: "22.3.0",
|
|
932
932
|
ngImport: i0,
|
|
933
933
|
type: TimeSelectorComponent,
|
|
934
934
|
decorators: [{
|
|
@@ -2,12 +2,12 @@ import { NgTemplateOutlet } from "@angular/common";
|
|
|
2
2
|
import * as i0 from "@angular/core";
|
|
3
3
|
import { Component, Directive, TemplateRef, booleanAttribute, computed, contentChild, inject, input, model } from "@angular/core";
|
|
4
4
|
import { LucideChevronDown } from "@lucide/angular";
|
|
5
|
-
import { CollapsibleContentDirective, CollapsibleDirective, CollapsibleTriggerDirective } from "@nanahoshi/mona-ui/collapsible";
|
|
6
5
|
import { MonaI18nService, formatGregorianDateToLocaleString } from "@nanahoshi/mona-ui/i18n";
|
|
7
|
-
import { themeRaisedBackdropClasses, toHeadingLevel } from "@nanahoshi/mona-ui/internal";
|
|
8
6
|
import { twMerge } from "tailwind-merge";
|
|
9
7
|
import { cva } from "class-variance-authority";
|
|
8
|
+
import { themeRaisedBackdropClasses, toHeadingLevel } from "@nanahoshi/mona-ui/internal";
|
|
10
9
|
import { DateTime } from "luxon";
|
|
10
|
+
import { CollapsibleContentDirective, CollapsibleDirective, CollapsibleTriggerDirective } from "@nanahoshi/mona-ui/collapsible";
|
|
11
11
|
var TimelineBodyTemplateDirective = class TimelineBodyTemplateDirective {
|
|
12
12
|
constructor() {
|
|
13
13
|
this.monaTimelineBodyTemplateOf = input(null, ...ngDevMode ? [{ debugName: "monaTimelineBodyTemplateOf" }] : /* istanbul ignore next */ []);
|
|
@@ -18,7 +18,7 @@ var TimelineBodyTemplateDirective = class TimelineBodyTemplateDirective {
|
|
|
18
18
|
static {
|
|
19
19
|
this.ɵfac = i0.ɵɵngDeclareFactory({
|
|
20
20
|
minVersion: "12.0.0",
|
|
21
|
-
version: "22.
|
|
21
|
+
version: "22.3.0",
|
|
22
22
|
ngImport: i0,
|
|
23
23
|
type: TimelineBodyTemplateDirective,
|
|
24
24
|
deps: [],
|
|
@@ -28,7 +28,7 @@ var TimelineBodyTemplateDirective = class TimelineBodyTemplateDirective {
|
|
|
28
28
|
static {
|
|
29
29
|
this.ɵdir = i0.ɵɵngDeclareDirective({
|
|
30
30
|
minVersion: "17.1.0",
|
|
31
|
-
version: "22.
|
|
31
|
+
version: "22.3.0",
|
|
32
32
|
type: TimelineBodyTemplateDirective,
|
|
33
33
|
isStandalone: true,
|
|
34
34
|
selector: "ng-template[monaTimelineBodyTemplate]",
|
|
@@ -45,7 +45,7 @@ var TimelineBodyTemplateDirective = class TimelineBodyTemplateDirective {
|
|
|
45
45
|
};
|
|
46
46
|
i0.ɵɵngDeclareClassMetadata({
|
|
47
47
|
minVersion: "12.0.0",
|
|
48
|
-
version: "22.
|
|
48
|
+
version: "22.3.0",
|
|
49
49
|
ngImport: i0,
|
|
50
50
|
type: TimelineBodyTemplateDirective,
|
|
51
51
|
decorators: [{
|
|
@@ -71,7 +71,7 @@ var TimelineDateTemplateDirective = class TimelineDateTemplateDirective {
|
|
|
71
71
|
static {
|
|
72
72
|
this.ɵfac = i0.ɵɵngDeclareFactory({
|
|
73
73
|
minVersion: "12.0.0",
|
|
74
|
-
version: "22.
|
|
74
|
+
version: "22.3.0",
|
|
75
75
|
ngImport: i0,
|
|
76
76
|
type: TimelineDateTemplateDirective,
|
|
77
77
|
deps: [],
|
|
@@ -81,7 +81,7 @@ var TimelineDateTemplateDirective = class TimelineDateTemplateDirective {
|
|
|
81
81
|
static {
|
|
82
82
|
this.ɵdir = i0.ɵɵngDeclareDirective({
|
|
83
83
|
minVersion: "17.1.0",
|
|
84
|
-
version: "22.
|
|
84
|
+
version: "22.3.0",
|
|
85
85
|
type: TimelineDateTemplateDirective,
|
|
86
86
|
isStandalone: true,
|
|
87
87
|
selector: "ng-template[monaTimelineDateTemplate]",
|
|
@@ -98,7 +98,7 @@ var TimelineDateTemplateDirective = class TimelineDateTemplateDirective {
|
|
|
98
98
|
};
|
|
99
99
|
i0.ɵɵngDeclareClassMetadata({
|
|
100
100
|
minVersion: "12.0.0",
|
|
101
|
-
version: "22.
|
|
101
|
+
version: "22.3.0",
|
|
102
102
|
ngImport: i0,
|
|
103
103
|
type: TimelineDateTemplateDirective,
|
|
104
104
|
decorators: [{
|
|
@@ -124,7 +124,7 @@ var TimelineHeaderTemplateDirective = class TimelineHeaderTemplateDirective {
|
|
|
124
124
|
static {
|
|
125
125
|
this.ɵfac = i0.ɵɵngDeclareFactory({
|
|
126
126
|
minVersion: "12.0.0",
|
|
127
|
-
version: "22.
|
|
127
|
+
version: "22.3.0",
|
|
128
128
|
ngImport: i0,
|
|
129
129
|
type: TimelineHeaderTemplateDirective,
|
|
130
130
|
deps: [],
|
|
@@ -134,7 +134,7 @@ var TimelineHeaderTemplateDirective = class TimelineHeaderTemplateDirective {
|
|
|
134
134
|
static {
|
|
135
135
|
this.ɵdir = i0.ɵɵngDeclareDirective({
|
|
136
136
|
minVersion: "17.1.0",
|
|
137
|
-
version: "22.
|
|
137
|
+
version: "22.3.0",
|
|
138
138
|
type: TimelineHeaderTemplateDirective,
|
|
139
139
|
isStandalone: true,
|
|
140
140
|
selector: "ng-template[monaTimelineHeaderTemplate]",
|
|
@@ -151,7 +151,7 @@ var TimelineHeaderTemplateDirective = class TimelineHeaderTemplateDirective {
|
|
|
151
151
|
};
|
|
152
152
|
i0.ɵɵngDeclareClassMetadata({
|
|
153
153
|
minVersion: "12.0.0",
|
|
154
|
-
version: "22.
|
|
154
|
+
version: "22.3.0",
|
|
155
155
|
ngImport: i0,
|
|
156
156
|
type: TimelineHeaderTemplateDirective,
|
|
157
157
|
decorators: [{
|
|
@@ -177,7 +177,7 @@ var TimelineMarkerTemplateDirective = class TimelineMarkerTemplateDirective {
|
|
|
177
177
|
static {
|
|
178
178
|
this.ɵfac = i0.ɵɵngDeclareFactory({
|
|
179
179
|
minVersion: "12.0.0",
|
|
180
|
-
version: "22.
|
|
180
|
+
version: "22.3.0",
|
|
181
181
|
ngImport: i0,
|
|
182
182
|
type: TimelineMarkerTemplateDirective,
|
|
183
183
|
deps: [],
|
|
@@ -187,7 +187,7 @@ var TimelineMarkerTemplateDirective = class TimelineMarkerTemplateDirective {
|
|
|
187
187
|
static {
|
|
188
188
|
this.ɵdir = i0.ɵɵngDeclareDirective({
|
|
189
189
|
minVersion: "17.1.0",
|
|
190
|
-
version: "22.
|
|
190
|
+
version: "22.3.0",
|
|
191
191
|
type: TimelineMarkerTemplateDirective,
|
|
192
192
|
isStandalone: true,
|
|
193
193
|
selector: "ng-template[monaTimelineMarkerTemplate]",
|
|
@@ -204,7 +204,7 @@ var TimelineMarkerTemplateDirective = class TimelineMarkerTemplateDirective {
|
|
|
204
204
|
};
|
|
205
205
|
i0.ɵɵngDeclareClassMetadata({
|
|
206
206
|
minVersion: "12.0.0",
|
|
207
|
-
version: "22.
|
|
207
|
+
version: "22.3.0",
|
|
208
208
|
ngImport: i0,
|
|
209
209
|
type: TimelineMarkerTemplateDirective,
|
|
210
210
|
decorators: [{
|
|
@@ -639,7 +639,7 @@ var TimelineComponent = class TimelineComponent {
|
|
|
639
639
|
static {
|
|
640
640
|
this.ɵfac = i0.ɵɵngDeclareFactory({
|
|
641
641
|
minVersion: "12.0.0",
|
|
642
|
-
version: "22.
|
|
642
|
+
version: "22.3.0",
|
|
643
643
|
ngImport: i0,
|
|
644
644
|
type: TimelineComponent,
|
|
645
645
|
deps: [],
|
|
@@ -649,7 +649,7 @@ var TimelineComponent = class TimelineComponent {
|
|
|
649
649
|
static {
|
|
650
650
|
this.ɵcmp = i0.ɵɵngDeclareComponent({
|
|
651
651
|
minVersion: "17.0.0",
|
|
652
|
-
version: "22.
|
|
652
|
+
version: "22.3.0",
|
|
653
653
|
type: TimelineComponent,
|
|
654
654
|
isStandalone: true,
|
|
655
655
|
selector: "mona-timeline",
|
|
@@ -847,7 +847,7 @@ var TimelineComponent = class TimelineComponent {
|
|
|
847
847
|
};
|
|
848
848
|
i0.ɵɵngDeclareClassMetadata({
|
|
849
849
|
minVersion: "12.0.0",
|
|
850
|
-
version: "22.
|
|
850
|
+
version: "22.3.0",
|
|
851
851
|
ngImport: i0,
|
|
852
852
|
type: TimelineComponent,
|
|
853
853
|
decorators: [{
|
|
@@ -4,10 +4,10 @@ import { LucideEllipsis } from "@lucide/angular";
|
|
|
4
4
|
import { ButtonDirective } from "@nanahoshi/mona-ui/button";
|
|
5
5
|
import { PreventableEvent, classInputToClass } from "@nanahoshi/mona-ui/common";
|
|
6
6
|
import { MonaI18nService } from "@nanahoshi/mona-ui/i18n";
|
|
7
|
-
import { RovingToolbar, createElementControlId } from "@nanahoshi/mona-ui/internal";
|
|
8
|
-
import { PopupMenuComponent } from "@nanahoshi/mona-ui/popup-menu";
|
|
9
7
|
import { twMerge } from "tailwind-merge";
|
|
10
8
|
import { cva } from "class-variance-authority";
|
|
9
|
+
import { RovingToolbar, createElementControlId } from "@nanahoshi/mona-ui/internal";
|
|
10
|
+
import { PopupMenuComponent } from "@nanahoshi/mona-ui/popup-menu";
|
|
11
11
|
const TOOLBAR_DEFAULT_MESSAGES = { moreLabel: "More" };
|
|
12
12
|
var ToolbarItemDirective = class ToolbarItemDirective {
|
|
13
13
|
constructor() {
|
|
@@ -50,7 +50,7 @@ var ToolbarItemDirective = class ToolbarItemDirective {
|
|
|
50
50
|
static {
|
|
51
51
|
this.ɵfac = i0.ɵɵngDeclareFactory({
|
|
52
52
|
minVersion: "12.0.0",
|
|
53
|
-
version: "22.
|
|
53
|
+
version: "22.3.0",
|
|
54
54
|
ngImport: i0,
|
|
55
55
|
type: ToolbarItemDirective,
|
|
56
56
|
deps: [],
|
|
@@ -60,7 +60,7 @@ var ToolbarItemDirective = class ToolbarItemDirective {
|
|
|
60
60
|
static {
|
|
61
61
|
this.ɵdir = i0.ɵɵngDeclareDirective({
|
|
62
62
|
minVersion: "17.1.0",
|
|
63
|
-
version: "22.
|
|
63
|
+
version: "22.3.0",
|
|
64
64
|
type: ToolbarItemDirective,
|
|
65
65
|
isStandalone: true,
|
|
66
66
|
selector: "[monaToolbarItem]",
|
|
@@ -87,7 +87,7 @@ var ToolbarItemDirective = class ToolbarItemDirective {
|
|
|
87
87
|
};
|
|
88
88
|
i0.ɵɵngDeclareClassMetadata({
|
|
89
89
|
minVersion: "12.0.0",
|
|
90
|
-
version: "22.
|
|
90
|
+
version: "22.3.0",
|
|
91
91
|
ngImport: i0,
|
|
92
92
|
type: ToolbarItemDirective,
|
|
93
93
|
decorators: [{
|
|
@@ -302,7 +302,7 @@ var ToolbarComponent = class ToolbarComponent {
|
|
|
302
302
|
static {
|
|
303
303
|
this.ɵfac = i0.ɵɵngDeclareFactory({
|
|
304
304
|
minVersion: "12.0.0",
|
|
305
|
-
version: "22.
|
|
305
|
+
version: "22.3.0",
|
|
306
306
|
ngImport: i0,
|
|
307
307
|
type: ToolbarComponent,
|
|
308
308
|
deps: [],
|
|
@@ -312,7 +312,7 @@ var ToolbarComponent = class ToolbarComponent {
|
|
|
312
312
|
static {
|
|
313
313
|
this.ɵcmp = i0.ɵɵngDeclareComponent({
|
|
314
314
|
minVersion: "17.0.0",
|
|
315
|
-
version: "22.
|
|
315
|
+
version: "22.3.0",
|
|
316
316
|
type: ToolbarComponent,
|
|
317
317
|
isStandalone: true,
|
|
318
318
|
selector: "mona-toolbar",
|
|
@@ -448,7 +448,7 @@ var ToolbarComponent = class ToolbarComponent {
|
|
|
448
448
|
};
|
|
449
449
|
i0.ɵɵngDeclareClassMetadata({
|
|
450
450
|
minVersion: "12.0.0",
|
|
451
|
-
version: "22.
|
|
451
|
+
version: "22.3.0",
|
|
452
452
|
ngImport: i0,
|
|
453
453
|
type: ToolbarComponent,
|
|
454
454
|
decorators: [{
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { Directionality } from "@angular/cdk/bidi";
|
|
2
1
|
import { DOCUMENT, NgTemplateOutlet } from "@angular/common";
|
|
3
2
|
import * as i0 from "@angular/core";
|
|
4
3
|
import { Component, DestroyRef, Directive, ElementRef, EnvironmentInjector, TemplateRef, afterNextRender, computed, createComponent, effect, inject, input, output, signal, untracked, viewChild } from "@angular/core";
|
|
5
4
|
import { resolveComponentDirection } from "@nanahoshi/mona-ui/i18n";
|
|
5
|
+
import { twMerge } from "tailwind-merge";
|
|
6
|
+
import { cva } from "class-variance-authority";
|
|
6
7
|
import { HoverIntent, addAriaReference, createElementControlId, listenForHover, onDisconnect, overlaySidePositions, removeAriaReference, resolveOverlaySide, sideOfPosition, themeOverlaySurfaceClasses } from "@nanahoshi/mona-ui/internal";
|
|
7
|
-
import { PopupCloseSource, PopupService, fadePopupAnimation } from "@nanahoshi/mona-ui/popup";
|
|
8
8
|
import { take, takeUntil } from "rxjs";
|
|
9
|
-
import {
|
|
10
|
-
import {
|
|
9
|
+
import { PopupCloseSource, PopupService, fadePopupAnimation } from "@nanahoshi/mona-ui/popup";
|
|
10
|
+
import { Directionality } from "@angular/cdk/bidi";
|
|
11
11
|
const tooltipBaseThemeVariants = cva(`
|
|
12
12
|
relative z-1 flex items-center justify-center
|
|
13
13
|
${themeOverlaySurfaceClasses} text-foreground
|
|
@@ -149,7 +149,7 @@ var TooltipComponent = class TooltipComponent {
|
|
|
149
149
|
static {
|
|
150
150
|
this.ɵfac = i0.ɵɵngDeclareFactory({
|
|
151
151
|
minVersion: "12.0.0",
|
|
152
|
-
version: "22.
|
|
152
|
+
version: "22.3.0",
|
|
153
153
|
ngImport: i0,
|
|
154
154
|
type: TooltipComponent,
|
|
155
155
|
deps: [],
|
|
@@ -159,7 +159,7 @@ var TooltipComponent = class TooltipComponent {
|
|
|
159
159
|
static {
|
|
160
160
|
this.ɵcmp = i0.ɵɵngDeclareComponent({
|
|
161
161
|
minVersion: "17.2.0",
|
|
162
|
-
version: "22.
|
|
162
|
+
version: "22.3.0",
|
|
163
163
|
type: TooltipComponent,
|
|
164
164
|
isStandalone: true,
|
|
165
165
|
selector: "mona-tooltip",
|
|
@@ -226,7 +226,7 @@ var TooltipComponent = class TooltipComponent {
|
|
|
226
226
|
};
|
|
227
227
|
i0.ɵɵngDeclareClassMetadata({
|
|
228
228
|
minVersion: "12.0.0",
|
|
229
|
-
version: "22.
|
|
229
|
+
version: "22.3.0",
|
|
230
230
|
ngImport: i0,
|
|
231
231
|
type: TooltipComponent,
|
|
232
232
|
decorators: [{
|
|
@@ -455,7 +455,7 @@ var TooltipDirective = class TooltipDirective {
|
|
|
455
455
|
static {
|
|
456
456
|
this.ɵfac = i0.ɵɵngDeclareFactory({
|
|
457
457
|
minVersion: "12.0.0",
|
|
458
|
-
version: "22.
|
|
458
|
+
version: "22.3.0",
|
|
459
459
|
ngImport: i0,
|
|
460
460
|
type: TooltipDirective,
|
|
461
461
|
deps: [],
|
|
@@ -465,7 +465,7 @@ var TooltipDirective = class TooltipDirective {
|
|
|
465
465
|
static {
|
|
466
466
|
this.ɵdir = i0.ɵɵngDeclareDirective({
|
|
467
467
|
minVersion: "17.1.0",
|
|
468
|
-
version: "22.
|
|
468
|
+
version: "22.3.0",
|
|
469
469
|
type: TooltipDirective,
|
|
470
470
|
isStandalone: true,
|
|
471
471
|
selector: "[monaTooltip]",
|
|
@@ -551,7 +551,7 @@ var TooltipDirective = class TooltipDirective {
|
|
|
551
551
|
};
|
|
552
552
|
i0.ɵɵngDeclareClassMetadata({
|
|
553
553
|
minVersion: "12.0.0",
|
|
554
|
-
version: "22.
|
|
554
|
+
version: "22.3.0",
|
|
555
555
|
ngImport: i0,
|
|
556
556
|
type: TooltipDirective,
|
|
557
557
|
decorators: [{
|
|
@@ -679,7 +679,7 @@ var TooltipTemplateComponent = class TooltipTemplateComponent {
|
|
|
679
679
|
static {
|
|
680
680
|
this.ɵfac = i0.ɵɵngDeclareFactory({
|
|
681
681
|
minVersion: "12.0.0",
|
|
682
|
-
version: "22.
|
|
682
|
+
version: "22.3.0",
|
|
683
683
|
ngImport: i0,
|
|
684
684
|
type: TooltipTemplateComponent,
|
|
685
685
|
deps: [],
|
|
@@ -689,7 +689,7 @@ var TooltipTemplateComponent = class TooltipTemplateComponent {
|
|
|
689
689
|
static {
|
|
690
690
|
this.ɵcmp = i0.ɵɵngDeclareComponent({
|
|
691
691
|
minVersion: "17.0.0",
|
|
692
|
-
version: "22.
|
|
692
|
+
version: "22.3.0",
|
|
693
693
|
type: TooltipTemplateComponent,
|
|
694
694
|
isStandalone: true,
|
|
695
695
|
selector: "ng-component",
|
|
@@ -754,7 +754,7 @@ var TooltipTemplateComponent = class TooltipTemplateComponent {
|
|
|
754
754
|
};
|
|
755
755
|
i0.ɵɵngDeclareClassMetadata({
|
|
756
756
|
minVersion: "12.0.0",
|
|
757
|
-
version: "22.
|
|
757
|
+
version: "22.3.0",
|
|
758
758
|
ngImport: i0,
|
|
759
759
|
type: TooltipTemplateComponent,
|
|
760
760
|
decorators: [{
|