@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,15 +1,15 @@
|
|
|
1
|
+
import { NgTemplateOutlet } from "@angular/common";
|
|
1
2
|
import * as i0 from "@angular/core";
|
|
2
|
-
import { Component, DOCUMENT, DestroyRef, ElementRef, Injectable, InjectionToken, Injector, TemplateRef, ViewContainerRef, booleanAttribute, computed, effect, inject, input, output, signal, viewChild } from "@angular/core";
|
|
3
|
+
import { Component, DOCUMENT as DOCUMENT$1, DestroyRef, ElementRef, Injectable, InjectionToken, Injector, TemplateRef, ViewContainerRef, booleanAttribute, computed, effect, inject, input, output, signal, viewChild } from "@angular/core";
|
|
4
|
+
import { PreventableEvent } from "@nanahoshi/mona-ui/common";
|
|
5
|
+
import { MonaI18nService, observeComponentDirection, resolveComponentDirection } from "@nanahoshi/mona-ui/i18n";
|
|
3
6
|
import { takeUntilDestroyed } from "@angular/core/rxjs-interop";
|
|
7
|
+
import { createPageScrollBlockStrategy, focusCanReturn } from "@nanahoshi/mona-ui/internal";
|
|
4
8
|
import { ReplaySubject, Subject, Subscription, asapScheduler, asyncScheduler, filter, fromEvent, merge, take, takeUntil } from "rxjs";
|
|
5
|
-
import { PreventableEvent } from "@nanahoshi/mona-ui/common";
|
|
6
|
-
import { Directionality } from "@angular/cdk/bidi";
|
|
7
9
|
import { Overlay, OverlayConfig } from "@angular/cdk/overlay";
|
|
8
|
-
import {
|
|
10
|
+
import { Directionality } from "@angular/cdk/bidi";
|
|
9
11
|
import { ScrollDispatcher } from "@angular/cdk/scrolling";
|
|
10
|
-
import {
|
|
11
|
-
import { createPageScrollBlockStrategy, focusCanReturn } from "@nanahoshi/mona-ui/internal";
|
|
12
|
-
import { NgTemplateOutlet } from "@angular/common";
|
|
12
|
+
import { ComponentPortal } from "@angular/cdk/portal";
|
|
13
13
|
var PopupCloseEvent = class extends PreventableEvent {
|
|
14
14
|
#options;
|
|
15
15
|
constructor(options) {
|
|
@@ -75,7 +75,7 @@ var PopupWrapperComponent = class PopupWrapperComponent {
|
|
|
75
75
|
#leaveCompleted;
|
|
76
76
|
constructor() {
|
|
77
77
|
this.#destroyRef = inject(DestroyRef);
|
|
78
|
-
this.#document = inject(DOCUMENT);
|
|
78
|
+
this.#document = inject(DOCUMENT$1);
|
|
79
79
|
this.#popupReference = inject(POPUP_REFERENCE);
|
|
80
80
|
this.#popupSettings = inject(POPUP_SETTINGS);
|
|
81
81
|
this.#closeEvent = null;
|
|
@@ -178,7 +178,7 @@ var PopupWrapperComponent = class PopupWrapperComponent {
|
|
|
178
178
|
static {
|
|
179
179
|
this.ɵfac = i0.ɵɵngDeclareFactory({
|
|
180
180
|
minVersion: "12.0.0",
|
|
181
|
-
version: "22.
|
|
181
|
+
version: "22.3.0",
|
|
182
182
|
ngImport: i0,
|
|
183
183
|
type: PopupWrapperComponent,
|
|
184
184
|
deps: [],
|
|
@@ -188,7 +188,7 @@ var PopupWrapperComponent = class PopupWrapperComponent {
|
|
|
188
188
|
static {
|
|
189
189
|
this.ɵcmp = i0.ɵɵngDeclareComponent({
|
|
190
190
|
minVersion: "17.0.0",
|
|
191
|
-
version: "22.
|
|
191
|
+
version: "22.3.0",
|
|
192
192
|
type: PopupWrapperComponent,
|
|
193
193
|
isStandalone: true,
|
|
194
194
|
selector: "mona-popup-wrapper",
|
|
@@ -225,7 +225,7 @@ var PopupWrapperComponent = class PopupWrapperComponent {
|
|
|
225
225
|
};
|
|
226
226
|
i0.ɵɵngDeclareClassMetadata({
|
|
227
227
|
minVersion: "12.0.0",
|
|
228
|
-
version: "22.
|
|
228
|
+
version: "22.3.0",
|
|
229
229
|
ngImport: i0,
|
|
230
230
|
type: PopupWrapperComponent,
|
|
231
231
|
decorators: [{
|
|
@@ -597,7 +597,7 @@ const negate = (value) => value === 0 ? 0 : -value;
|
|
|
597
597
|
var PopupService = class PopupService {
|
|
598
598
|
#destroyRef = inject(DestroyRef);
|
|
599
599
|
#directionality = inject(Directionality, { optional: true });
|
|
600
|
-
#document = inject(DOCUMENT);
|
|
600
|
+
#document = inject(DOCUMENT$1);
|
|
601
601
|
#i18n = inject(MonaI18nService, { optional: true });
|
|
602
602
|
#injector = inject(Injector);
|
|
603
603
|
#openPopups = [];
|
|
@@ -1014,7 +1014,7 @@ var PopupService = class PopupService {
|
|
|
1014
1014
|
static {
|
|
1015
1015
|
this.ɵfac = i0.ɵɵngDeclareFactory({
|
|
1016
1016
|
minVersion: "12.0.0",
|
|
1017
|
-
version: "22.
|
|
1017
|
+
version: "22.3.0",
|
|
1018
1018
|
ngImport: i0,
|
|
1019
1019
|
type: PopupService,
|
|
1020
1020
|
deps: [],
|
|
@@ -1024,7 +1024,7 @@ var PopupService = class PopupService {
|
|
|
1024
1024
|
static {
|
|
1025
1025
|
this.ɵprov = i0.ɵɵngDeclareInjectable({
|
|
1026
1026
|
minVersion: "12.0.0",
|
|
1027
|
-
version: "22.
|
|
1027
|
+
version: "22.3.0",
|
|
1028
1028
|
ngImport: i0,
|
|
1029
1029
|
type: PopupService,
|
|
1030
1030
|
providedIn: "root"
|
|
@@ -1033,7 +1033,7 @@ var PopupService = class PopupService {
|
|
|
1033
1033
|
};
|
|
1034
1034
|
i0.ɵɵngDeclareClassMetadata({
|
|
1035
1035
|
minVersion: "12.0.0",
|
|
1036
|
-
version: "22.
|
|
1036
|
+
version: "22.3.0",
|
|
1037
1037
|
ngImport: i0,
|
|
1038
1038
|
type: PopupService,
|
|
1039
1039
|
decorators: [{
|
|
@@ -1052,7 +1052,7 @@ var PopupComponent = class PopupComponent {
|
|
|
1052
1052
|
#popupOpened;
|
|
1053
1053
|
constructor() {
|
|
1054
1054
|
this.#destroyRef = inject(DestroyRef);
|
|
1055
|
-
this.#document = inject(DOCUMENT);
|
|
1055
|
+
this.#document = inject(DOCUMENT$1);
|
|
1056
1056
|
this.#popupService = inject(PopupService);
|
|
1057
1057
|
this.#eventListenerCleanup$ = new Subject();
|
|
1058
1058
|
this.#popupOpened = false;
|
|
@@ -1204,7 +1204,7 @@ var PopupComponent = class PopupComponent {
|
|
|
1204
1204
|
static {
|
|
1205
1205
|
this.ɵfac = i0.ɵɵngDeclareFactory({
|
|
1206
1206
|
minVersion: "12.0.0",
|
|
1207
|
-
version: "22.
|
|
1207
|
+
version: "22.3.0",
|
|
1208
1208
|
ngImport: i0,
|
|
1209
1209
|
type: PopupComponent,
|
|
1210
1210
|
deps: [],
|
|
@@ -1214,7 +1214,7 @@ var PopupComponent = class PopupComponent {
|
|
|
1214
1214
|
static {
|
|
1215
1215
|
this.ɵcmp = i0.ɵɵngDeclareComponent({
|
|
1216
1216
|
minVersion: "17.2.0",
|
|
1217
|
-
version: "22.
|
|
1217
|
+
version: "22.3.0",
|
|
1218
1218
|
type: PopupComponent,
|
|
1219
1219
|
isStandalone: true,
|
|
1220
1220
|
selector: "mona-popup",
|
|
@@ -1441,7 +1441,7 @@ var PopupComponent = class PopupComponent {
|
|
|
1441
1441
|
};
|
|
1442
1442
|
i0.ɵɵngDeclareClassMetadata({
|
|
1443
1443
|
minVersion: "12.0.0",
|
|
1444
|
-
version: "22.
|
|
1444
|
+
version: "22.3.0",
|
|
1445
1445
|
ngImport: i0,
|
|
1446
1446
|
type: PopupComponent,
|
|
1447
1447
|
decorators: [{
|
|
@@ -15,7 +15,7 @@ var ProgressBarLabelTemplateDirective = class ProgressBarLabelTemplateDirective
|
|
|
15
15
|
static {
|
|
16
16
|
this.ɵfac = i0.ɵɵngDeclareFactory({
|
|
17
17
|
minVersion: "12.0.0",
|
|
18
|
-
version: "22.
|
|
18
|
+
version: "22.3.0",
|
|
19
19
|
ngImport: i0,
|
|
20
20
|
type: ProgressBarLabelTemplateDirective,
|
|
21
21
|
deps: [],
|
|
@@ -25,7 +25,7 @@ var ProgressBarLabelTemplateDirective = class ProgressBarLabelTemplateDirective
|
|
|
25
25
|
static {
|
|
26
26
|
this.ɵdir = i0.ɵɵngDeclareDirective({
|
|
27
27
|
minVersion: "14.0.0",
|
|
28
|
-
version: "22.
|
|
28
|
+
version: "22.3.0",
|
|
29
29
|
type: ProgressBarLabelTemplateDirective,
|
|
30
30
|
isStandalone: true,
|
|
31
31
|
selector: "ng-template[monaProgressBarLabelTemplate]",
|
|
@@ -35,7 +35,7 @@ var ProgressBarLabelTemplateDirective = class ProgressBarLabelTemplateDirective
|
|
|
35
35
|
};
|
|
36
36
|
i0.ɵɵngDeclareClassMetadata({
|
|
37
37
|
minVersion: "12.0.0",
|
|
38
|
-
version: "22.
|
|
38
|
+
version: "22.3.0",
|
|
39
39
|
ngImport: i0,
|
|
40
40
|
type: ProgressBarLabelTemplateDirective,
|
|
41
41
|
decorators: [{
|
|
@@ -183,7 +183,7 @@ var ProgressBarComponent = class ProgressBarComponent {
|
|
|
183
183
|
static {
|
|
184
184
|
this.ɵfac = i0.ɵɵngDeclareFactory({
|
|
185
185
|
minVersion: "12.0.0",
|
|
186
|
-
version: "22.
|
|
186
|
+
version: "22.3.0",
|
|
187
187
|
ngImport: i0,
|
|
188
188
|
type: ProgressBarComponent,
|
|
189
189
|
deps: [],
|
|
@@ -193,7 +193,7 @@ var ProgressBarComponent = class ProgressBarComponent {
|
|
|
193
193
|
static {
|
|
194
194
|
this.ɵcmp = i0.ɵɵngDeclareComponent({
|
|
195
195
|
minVersion: "17.0.0",
|
|
196
|
-
version: "22.
|
|
196
|
+
version: "22.3.0",
|
|
197
197
|
type: ProgressBarComponent,
|
|
198
198
|
isStandalone: true,
|
|
199
199
|
selector: "mona-progress-bar",
|
|
@@ -335,7 +335,7 @@ var ProgressBarComponent = class ProgressBarComponent {
|
|
|
335
335
|
};
|
|
336
336
|
i0.ɵɵngDeclareClassMetadata({
|
|
337
337
|
minVersion: "12.0.0",
|
|
338
|
-
version: "22.
|
|
338
|
+
version: "22.3.0",
|
|
339
339
|
ngImport: i0,
|
|
340
340
|
type: ProgressBarComponent,
|
|
341
341
|
decorators: [{
|
|
@@ -2,8 +2,8 @@ import { DOCUMENT, isPlatformBrowser } from "@angular/common";
|
|
|
2
2
|
import * as i0 from "@angular/core";
|
|
3
3
|
import { Component, ElementRef, PLATFORM_ID, computed, effect, inject, input, isDevMode } from "@angular/core";
|
|
4
4
|
import { MonaI18nService } from "@nanahoshi/mona-ui/i18n";
|
|
5
|
-
import { parseColor, toCssValue } from "@nanahoshi/mona-ui/internal";
|
|
6
5
|
import { twMerge } from "tailwind-merge";
|
|
6
|
+
import { parseColor, toCssValue } from "@nanahoshi/mona-ui/internal";
|
|
7
7
|
const QR_CODE_DEFAULT_MESSAGES = { label: "QR code" };
|
|
8
8
|
const BLACK = {
|
|
9
9
|
a: 255,
|
|
@@ -1465,7 +1465,7 @@ var QrCodeComponent = class QrCodeComponent {
|
|
|
1465
1465
|
static {
|
|
1466
1466
|
this.ɵfac = i0.ɵɵngDeclareFactory({
|
|
1467
1467
|
minVersion: "12.0.0",
|
|
1468
|
-
version: "22.
|
|
1468
|
+
version: "22.3.0",
|
|
1469
1469
|
ngImport: i0,
|
|
1470
1470
|
type: QrCodeComponent,
|
|
1471
1471
|
deps: [],
|
|
@@ -1475,7 +1475,7 @@ var QrCodeComponent = class QrCodeComponent {
|
|
|
1475
1475
|
static {
|
|
1476
1476
|
this.ɵcmp = i0.ɵɵngDeclareComponent({
|
|
1477
1477
|
minVersion: "17.0.0",
|
|
1478
|
-
version: "22.
|
|
1478
|
+
version: "22.3.0",
|
|
1479
1479
|
type: QrCodeComponent,
|
|
1480
1480
|
isStandalone: true,
|
|
1481
1481
|
selector: "mona-qr-code",
|
|
@@ -1565,7 +1565,7 @@ var QrCodeComponent = class QrCodeComponent {
|
|
|
1565
1565
|
};
|
|
1566
1566
|
i0.ɵɵngDeclareClassMetadata({
|
|
1567
1567
|
minVersion: "12.0.0",
|
|
1568
|
-
version: "22.
|
|
1568
|
+
version: "22.3.0",
|
|
1569
1569
|
ngImport: i0,
|
|
1570
1570
|
type: QrCodeComponent,
|
|
1571
1571
|
decorators: [{
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { DateTime } from "luxon";
|
|
2
1
|
import { Enumerator } from "@mirei/ts-collections";
|
|
2
|
+
import { DateTime } from "luxon";
|
|
3
3
|
const collatorCache = /* @__PURE__ */ new Map();
|
|
4
4
|
const localeCache = /* @__PURE__ */ new Map();
|
|
5
5
|
function compareValues(left, right, options) {
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { NgTemplateOutlet } from "@angular/common";
|
|
2
2
|
import * as i0 from "@angular/core";
|
|
3
3
|
import { Component, Directive, ElementRef, InjectionToken, afterNextRender, afterRenderEffect, booleanAttribute, computed, inject, input, isDevMode, model, output, signal, viewChild } from "@angular/core";
|
|
4
|
-
import { FormsModule } from "@angular/forms";
|
|
5
4
|
import { twMerge } from "tailwind-merge";
|
|
6
5
|
import { cva } from "class-variance-authority";
|
|
7
6
|
import { FIELD_ASSOCIATION_BOUNDARY, createElementControlId, injectEffectiveDisabled, injectLabelAssociation, themeControlSurfaceClasses } from "@nanahoshi/mona-ui/internal";
|
|
7
|
+
import { FormsModule } from "@angular/forms";
|
|
8
8
|
const radioGroupThemeVariants = cva("flex", {
|
|
9
9
|
variants: { orientation: {
|
|
10
10
|
horizontal: "flex-row flex-wrap gap-4",
|
|
@@ -26,13 +26,13 @@ const radioButtonCircleThemeVariants = cva(`
|
|
|
26
26
|
peer-disabled:border-disabled-border peer-disabled:bg-disabled-background peer-disabled:text-disabled-foreground
|
|
27
27
|
|
|
28
28
|
peer-focus-visible:border-focus-indicator
|
|
29
|
-
peer-focus-visible:ring-
|
|
29
|
+
peer-focus-visible:ring-(length:--mona-focus-ring-width,2px) peer-focus-visible:ring-focus-indicator/(--mona-focus-ring-opacity,35%)
|
|
30
30
|
peer-focus-visible:outline-hidden
|
|
31
31
|
|
|
32
32
|
data-[invalid='true']:border-error
|
|
33
|
-
data-[invalid='true']:ring-
|
|
33
|
+
data-[invalid='true']:ring-(length:--mona-focus-ring-width,2px) data-[invalid='true']:ring-error/(--mona-focus-ring-opacity,35%)
|
|
34
34
|
data-[invalid='true']:peer-focus-visible:border-error
|
|
35
|
-
data-[invalid='true']:peer-focus-visible:ring-error/35
|
|
35
|
+
data-[invalid='true']:peer-focus-visible:ring-error/(--mona-focus-ring-opacity,35%)
|
|
36
36
|
`, { variants: { rounded: {
|
|
37
37
|
full: "rounded-full",
|
|
38
38
|
large: "rounded-lg",
|
|
@@ -88,12 +88,12 @@ const radioButtonDirectiveThemeVariants = cva(`
|
|
|
88
88
|
checked:after:rounded-full
|
|
89
89
|
|
|
90
90
|
focus-visible:border-focus-indicator
|
|
91
|
-
focus-visible:ring-
|
|
91
|
+
focus-visible:ring-(length:--mona-focus-ring-width,2px) focus-visible:ring-focus-indicator/(--mona-focus-ring-opacity,35%)
|
|
92
92
|
|
|
93
93
|
data-[invalid='true']:border-error
|
|
94
|
-
data-[invalid='true']:ring-
|
|
94
|
+
data-[invalid='true']:ring-(length:--mona-focus-ring-width,2px) data-[invalid='true']:ring-error/(--mona-focus-ring-opacity,35%)
|
|
95
95
|
data-[invalid='true']:focus-visible:border-error
|
|
96
|
-
data-[invalid='true']:focus-visible:ring-error/35
|
|
96
|
+
data-[invalid='true']:focus-visible:ring-error/(--mona-focus-ring-opacity,35%)
|
|
97
97
|
`, {
|
|
98
98
|
variants: { rounded: {
|
|
99
99
|
full: "rounded-full",
|
|
@@ -254,7 +254,7 @@ var RadioButtonComponent = class RadioButtonComponent {
|
|
|
254
254
|
static {
|
|
255
255
|
this.ɵfac = i0.ɵɵngDeclareFactory({
|
|
256
256
|
minVersion: "12.0.0",
|
|
257
|
-
version: "22.
|
|
257
|
+
version: "22.3.0",
|
|
258
258
|
ngImport: i0,
|
|
259
259
|
type: RadioButtonComponent,
|
|
260
260
|
deps: [],
|
|
@@ -264,7 +264,7 @@ var RadioButtonComponent = class RadioButtonComponent {
|
|
|
264
264
|
static {
|
|
265
265
|
this.ɵcmp = i0.ɵɵngDeclareComponent({
|
|
266
266
|
minVersion: "17.0.0",
|
|
267
|
-
version: "22.
|
|
267
|
+
version: "22.3.0",
|
|
268
268
|
type: RadioButtonComponent,
|
|
269
269
|
isStandalone: true,
|
|
270
270
|
selector: "mona-radio-button",
|
|
@@ -431,7 +431,7 @@ var RadioButtonComponent = class RadioButtonComponent {
|
|
|
431
431
|
};
|
|
432
432
|
i0.ɵɵngDeclareClassMetadata({
|
|
433
433
|
minVersion: "12.0.0",
|
|
434
|
-
version: "22.
|
|
434
|
+
version: "22.3.0",
|
|
435
435
|
ngImport: i0,
|
|
436
436
|
type: RadioButtonComponent,
|
|
437
437
|
decorators: [{
|
|
@@ -708,7 +708,7 @@ var RadioGroupComponent = class RadioGroupComponent {
|
|
|
708
708
|
static {
|
|
709
709
|
this.ɵfac = i0.ɵɵngDeclareFactory({
|
|
710
710
|
minVersion: "12.0.0",
|
|
711
|
-
version: "22.
|
|
711
|
+
version: "22.3.0",
|
|
712
712
|
ngImport: i0,
|
|
713
713
|
type: RadioGroupComponent,
|
|
714
714
|
deps: [],
|
|
@@ -718,7 +718,7 @@ var RadioGroupComponent = class RadioGroupComponent {
|
|
|
718
718
|
static {
|
|
719
719
|
this.ɵcmp = i0.ɵɵngDeclareComponent({
|
|
720
720
|
minVersion: "17.1.0",
|
|
721
|
-
version: "22.
|
|
721
|
+
version: "22.3.0",
|
|
722
722
|
type: RadioGroupComponent,
|
|
723
723
|
isStandalone: true,
|
|
724
724
|
selector: "mona-radio-group",
|
|
@@ -841,7 +841,7 @@ var RadioGroupComponent = class RadioGroupComponent {
|
|
|
841
841
|
};
|
|
842
842
|
i0.ɵɵngDeclareClassMetadata({
|
|
843
843
|
minVersion: "12.0.0",
|
|
844
|
-
version: "22.
|
|
844
|
+
version: "22.3.0",
|
|
845
845
|
ngImport: i0,
|
|
846
846
|
type: RadioGroupComponent,
|
|
847
847
|
decorators: [{
|
|
@@ -997,7 +997,7 @@ var RadioButtonDirective = class RadioButtonDirective {
|
|
|
997
997
|
static {
|
|
998
998
|
this.ɵfac = i0.ɵɵngDeclareFactory({
|
|
999
999
|
minVersion: "12.0.0",
|
|
1000
|
-
version: "22.
|
|
1000
|
+
version: "22.3.0",
|
|
1001
1001
|
ngImport: i0,
|
|
1002
1002
|
type: RadioButtonDirective,
|
|
1003
1003
|
deps: [],
|
|
@@ -1007,7 +1007,7 @@ var RadioButtonDirective = class RadioButtonDirective {
|
|
|
1007
1007
|
static {
|
|
1008
1008
|
this.ɵdir = i0.ɵɵngDeclareDirective({
|
|
1009
1009
|
minVersion: "17.1.0",
|
|
1010
|
-
version: "22.
|
|
1010
|
+
version: "22.3.0",
|
|
1011
1011
|
type: RadioButtonDirective,
|
|
1012
1012
|
isStandalone: true,
|
|
1013
1013
|
selector: "input[type='radio'][monaRadioButton]",
|
|
@@ -1045,7 +1045,7 @@ var RadioButtonDirective = class RadioButtonDirective {
|
|
|
1045
1045
|
};
|
|
1046
1046
|
i0.ɵɵngDeclareClassMetadata({
|
|
1047
1047
|
minVersion: "12.0.0",
|
|
1048
|
-
version: "22.
|
|
1048
|
+
version: "22.3.0",
|
|
1049
1049
|
ngImport: i0,
|
|
1050
1050
|
type: RadioButtonDirective,
|
|
1051
1051
|
decorators: [{
|
|
@@ -2,11 +2,11 @@ import { NgTemplateOutlet } from "@angular/common";
|
|
|
2
2
|
import * as i0 from "@angular/core";
|
|
3
3
|
import { Component, DestroyRef, Directive, NgZone, TemplateRef, afterNextRender, booleanAttribute, computed, contentChild, inject, input, isDevMode, model, numberAttribute, output, signal, viewChild } from "@angular/core";
|
|
4
4
|
import { LucideCircle, LucideDiamond, LucideDynamicIcon, LucideFlame, LucideHeart, LucideStar } from "@lucide/angular";
|
|
5
|
-
import { createElementControlId, injectEffectiveDisabled, injectLabelAssociation } from "@nanahoshi/mona-ui/internal";
|
|
6
|
-
import { range } from "@mirei/ts-collections";
|
|
7
5
|
import { MonaI18nService, formatNumber, injectComponentDirection } from "@nanahoshi/mona-ui/i18n";
|
|
8
6
|
import { twMerge } from "tailwind-merge";
|
|
9
7
|
import { cva } from "class-variance-authority";
|
|
8
|
+
import { createElementControlId, injectEffectiveDisabled, injectLabelAssociation } from "@nanahoshi/mona-ui/internal";
|
|
9
|
+
import { range } from "@mirei/ts-collections";
|
|
10
10
|
function localizeNumber(value, options) {
|
|
11
11
|
return formatNumber(value, "en-US", options);
|
|
12
12
|
}
|
|
@@ -24,7 +24,7 @@ var RatingHoveredItemTemplateDirective = class RatingHoveredItemTemplateDirectiv
|
|
|
24
24
|
static {
|
|
25
25
|
this.ɵfac = i0.ɵɵngDeclareFactory({
|
|
26
26
|
minVersion: "12.0.0",
|
|
27
|
-
version: "22.
|
|
27
|
+
version: "22.3.0",
|
|
28
28
|
ngImport: i0,
|
|
29
29
|
type: RatingHoveredItemTemplateDirective,
|
|
30
30
|
deps: [],
|
|
@@ -34,7 +34,7 @@ var RatingHoveredItemTemplateDirective = class RatingHoveredItemTemplateDirectiv
|
|
|
34
34
|
static {
|
|
35
35
|
this.ɵdir = i0.ɵɵngDeclareDirective({
|
|
36
36
|
minVersion: "14.0.0",
|
|
37
|
-
version: "22.
|
|
37
|
+
version: "22.3.0",
|
|
38
38
|
type: RatingHoveredItemTemplateDirective,
|
|
39
39
|
isStandalone: true,
|
|
40
40
|
selector: "ng-template[monaRatingHoveredItemTemplate]",
|
|
@@ -44,7 +44,7 @@ var RatingHoveredItemTemplateDirective = class RatingHoveredItemTemplateDirectiv
|
|
|
44
44
|
};
|
|
45
45
|
i0.ɵɵngDeclareClassMetadata({
|
|
46
46
|
minVersion: "12.0.0",
|
|
47
|
-
version: "22.
|
|
47
|
+
version: "22.3.0",
|
|
48
48
|
ngImport: i0,
|
|
49
49
|
type: RatingHoveredItemTemplateDirective,
|
|
50
50
|
decorators: [{
|
|
@@ -62,7 +62,7 @@ var RatingItemTemplateDirective = class RatingItemTemplateDirective {
|
|
|
62
62
|
static {
|
|
63
63
|
this.ɵfac = i0.ɵɵngDeclareFactory({
|
|
64
64
|
minVersion: "12.0.0",
|
|
65
|
-
version: "22.
|
|
65
|
+
version: "22.3.0",
|
|
66
66
|
ngImport: i0,
|
|
67
67
|
type: RatingItemTemplateDirective,
|
|
68
68
|
deps: [],
|
|
@@ -72,7 +72,7 @@ var RatingItemTemplateDirective = class RatingItemTemplateDirective {
|
|
|
72
72
|
static {
|
|
73
73
|
this.ɵdir = i0.ɵɵngDeclareDirective({
|
|
74
74
|
minVersion: "14.0.0",
|
|
75
|
-
version: "22.
|
|
75
|
+
version: "22.3.0",
|
|
76
76
|
type: RatingItemTemplateDirective,
|
|
77
77
|
isStandalone: true,
|
|
78
78
|
selector: "ng-template[monaRatingItemTemplate]",
|
|
@@ -82,7 +82,7 @@ var RatingItemTemplateDirective = class RatingItemTemplateDirective {
|
|
|
82
82
|
};
|
|
83
83
|
i0.ɵɵngDeclareClassMetadata({
|
|
84
84
|
minVersion: "12.0.0",
|
|
85
|
-
version: "22.
|
|
85
|
+
version: "22.3.0",
|
|
86
86
|
ngImport: i0,
|
|
87
87
|
type: RatingItemTemplateDirective,
|
|
88
88
|
decorators: [{
|
|
@@ -100,7 +100,7 @@ var RatingSelectedItemTemplateDirective = class RatingSelectedItemTemplateDirect
|
|
|
100
100
|
static {
|
|
101
101
|
this.ɵfac = i0.ɵɵngDeclareFactory({
|
|
102
102
|
minVersion: "12.0.0",
|
|
103
|
-
version: "22.
|
|
103
|
+
version: "22.3.0",
|
|
104
104
|
ngImport: i0,
|
|
105
105
|
type: RatingSelectedItemTemplateDirective,
|
|
106
106
|
deps: [],
|
|
@@ -110,7 +110,7 @@ var RatingSelectedItemTemplateDirective = class RatingSelectedItemTemplateDirect
|
|
|
110
110
|
static {
|
|
111
111
|
this.ɵdir = i0.ɵɵngDeclareDirective({
|
|
112
112
|
minVersion: "14.0.0",
|
|
113
|
-
version: "22.
|
|
113
|
+
version: "22.3.0",
|
|
114
114
|
type: RatingSelectedItemTemplateDirective,
|
|
115
115
|
isStandalone: true,
|
|
116
116
|
selector: "ng-template[monaRatingSelectedItemTemplate]",
|
|
@@ -120,7 +120,7 @@ var RatingSelectedItemTemplateDirective = class RatingSelectedItemTemplateDirect
|
|
|
120
120
|
};
|
|
121
121
|
i0.ɵɵngDeclareClassMetadata({
|
|
122
122
|
minVersion: "12.0.0",
|
|
123
|
-
version: "22.
|
|
123
|
+
version: "22.3.0",
|
|
124
124
|
ngImport: i0,
|
|
125
125
|
type: RatingSelectedItemTemplateDirective,
|
|
126
126
|
decorators: [{
|
|
@@ -496,7 +496,7 @@ var RatingComponent = class RatingComponent {
|
|
|
496
496
|
static {
|
|
497
497
|
this.ɵfac = i0.ɵɵngDeclareFactory({
|
|
498
498
|
minVersion: "12.0.0",
|
|
499
|
-
version: "22.
|
|
499
|
+
version: "22.3.0",
|
|
500
500
|
ngImport: i0,
|
|
501
501
|
type: RatingComponent,
|
|
502
502
|
deps: [],
|
|
@@ -506,7 +506,7 @@ var RatingComponent = class RatingComponent {
|
|
|
506
506
|
static {
|
|
507
507
|
this.ɵcmp = i0.ɵɵngDeclareComponent({
|
|
508
508
|
minVersion: "17.0.0",
|
|
509
|
-
version: "22.
|
|
509
|
+
version: "22.3.0",
|
|
510
510
|
type: RatingComponent,
|
|
511
511
|
isStandalone: true,
|
|
512
512
|
selector: "mona-rating",
|
|
@@ -718,7 +718,7 @@ var RatingComponent = class RatingComponent {
|
|
|
718
718
|
};
|
|
719
719
|
i0.ɵɵngDeclareClassMetadata({
|
|
720
720
|
minVersion: "12.0.0",
|
|
721
|
-
version: "22.
|
|
721
|
+
version: "22.3.0",
|
|
722
722
|
ngImport: i0,
|
|
723
723
|
type: RatingComponent,
|
|
724
724
|
decorators: [{
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { NgTemplateOutlet, isPlatformBrowser } from "@angular/common";
|
|
2
2
|
import * as i0 from "@angular/core";
|
|
3
|
-
import { Component, DOCUMENT, DestroyRef, Directive, ElementRef, PLATFORM_ID, TemplateRef, afterNextRender, afterRenderEffect, computed, contentChild, effect, inject, input, isDevMode, model, signal, untracked, viewChild } from "@angular/core";
|
|
3
|
+
import { Component, DOCUMENT as DOCUMENT$1, DestroyRef, Directive, ElementRef, PLATFORM_ID, TemplateRef, afterNextRender, afterRenderEffect, computed, contentChild, effect, inject, input, isDevMode, model, signal, untracked, viewChild } from "@angular/core";
|
|
4
|
+
import { MonaI18nService, formatNumber, injectComponentDirection } from "@nanahoshi/mona-ui/i18n";
|
|
5
|
+
import { twMerge } from "tailwind-merge";
|
|
6
|
+
import { cva } from "class-variance-authority";
|
|
4
7
|
import { takeUntilDestroyed, toObservable, toSignal } from "@angular/core/rxjs-interop";
|
|
5
8
|
import { toCssValue } from "@nanahoshi/mona-ui/internal";
|
|
6
|
-
import { select } from "@mirei/ts-collections";
|
|
7
9
|
import { Subject, interval, map, pairwise, startWith, takeUntil } from "rxjs";
|
|
8
|
-
import {
|
|
9
|
-
import { MonaI18nService, formatNumber, injectComponentDirection } from "@nanahoshi/mona-ui/i18n";
|
|
10
|
-
import { cva } from "class-variance-authority";
|
|
10
|
+
import { select } from "@mirei/ts-collections";
|
|
11
11
|
const scrollViewBaseThemeVariants = cva(`
|
|
12
12
|
relative block h-full w-full overflow-hidden
|
|
13
13
|
bg-surface
|
|
@@ -111,7 +111,7 @@ var ScrollViewActivePageDirective = class ScrollViewActivePageDirective {
|
|
|
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: ScrollViewActivePageDirective,
|
|
117
117
|
deps: [],
|
|
@@ -121,7 +121,7 @@ var ScrollViewActivePageDirective = class ScrollViewActivePageDirective {
|
|
|
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: ScrollViewActivePageDirective,
|
|
126
126
|
isStandalone: true,
|
|
127
127
|
selector: "button[monaScrollViewActivePage]",
|
|
@@ -148,7 +148,7 @@ var ScrollViewActivePageDirective = class ScrollViewActivePageDirective {
|
|
|
148
148
|
};
|
|
149
149
|
i0.ɵɵngDeclareClassMetadata({
|
|
150
150
|
minVersion: "12.0.0",
|
|
151
|
-
version: "22.
|
|
151
|
+
version: "22.3.0",
|
|
152
152
|
ngImport: i0,
|
|
153
153
|
type: ScrollViewActivePageDirective,
|
|
154
154
|
decorators: [{
|
|
@@ -188,7 +188,7 @@ var ScrollViewSlideDirective = class ScrollViewSlideDirective {
|
|
|
188
188
|
static {
|
|
189
189
|
this.ɵfac = i0.ɵɵngDeclareFactory({
|
|
190
190
|
minVersion: "12.0.0",
|
|
191
|
-
version: "22.
|
|
191
|
+
version: "22.3.0",
|
|
192
192
|
ngImport: i0,
|
|
193
193
|
type: ScrollViewSlideDirective,
|
|
194
194
|
deps: [],
|
|
@@ -198,7 +198,7 @@ var ScrollViewSlideDirective = class ScrollViewSlideDirective {
|
|
|
198
198
|
static {
|
|
199
199
|
this.ɵdir = i0.ɵɵngDeclareDirective({
|
|
200
200
|
minVersion: "17.1.0",
|
|
201
|
-
version: "22.
|
|
201
|
+
version: "22.3.0",
|
|
202
202
|
type: ScrollViewSlideDirective,
|
|
203
203
|
isStandalone: true,
|
|
204
204
|
selector: "ng-template[monaScrollViewSlide]",
|
|
@@ -215,7 +215,7 @@ var ScrollViewSlideDirective = class ScrollViewSlideDirective {
|
|
|
215
215
|
};
|
|
216
216
|
i0.ɵɵngDeclareClassMetadata({
|
|
217
217
|
minVersion: "12.0.0",
|
|
218
|
-
version: "22.
|
|
218
|
+
version: "22.3.0",
|
|
219
219
|
ngImport: i0,
|
|
220
220
|
type: ScrollViewSlideDirective,
|
|
221
221
|
decorators: [{
|
|
@@ -282,7 +282,7 @@ var ScrollViewComponent = class ScrollViewComponent {
|
|
|
282
282
|
constructor() {
|
|
283
283
|
this.#destroyRef = inject(DestroyRef);
|
|
284
284
|
this.#direction = injectComponentDirection();
|
|
285
|
-
this.#document = inject(DOCUMENT);
|
|
285
|
+
this.#document = inject(DOCUMENT$1);
|
|
286
286
|
this.#hostElementRef = inject(ElementRef);
|
|
287
287
|
this.#i18n = inject(MonaI18nService);
|
|
288
288
|
this.#platformId = inject(PLATFORM_ID);
|
|
@@ -801,7 +801,7 @@ var ScrollViewComponent = class ScrollViewComponent {
|
|
|
801
801
|
static {
|
|
802
802
|
this.ɵfac = i0.ɵɵngDeclareFactory({
|
|
803
803
|
minVersion: "12.0.0",
|
|
804
|
-
version: "22.
|
|
804
|
+
version: "22.3.0",
|
|
805
805
|
ngImport: i0,
|
|
806
806
|
type: ScrollViewComponent,
|
|
807
807
|
deps: [],
|
|
@@ -811,7 +811,7 @@ var ScrollViewComponent = class ScrollViewComponent {
|
|
|
811
811
|
static {
|
|
812
812
|
this.ɵcmp = i0.ɵɵngDeclareComponent({
|
|
813
813
|
minVersion: "17.0.0",
|
|
814
|
-
version: "22.
|
|
814
|
+
version: "22.3.0",
|
|
815
815
|
type: ScrollViewComponent,
|
|
816
816
|
isStandalone: true,
|
|
817
817
|
selector: "mona-scroll-view",
|
|
@@ -1009,7 +1009,7 @@ var ScrollViewComponent = class ScrollViewComponent {
|
|
|
1009
1009
|
};
|
|
1010
1010
|
i0.ɵɵngDeclareClassMetadata({
|
|
1011
1011
|
minVersion: "12.0.0",
|
|
1012
|
-
version: "22.
|
|
1012
|
+
version: "22.3.0",
|
|
1013
1013
|
ngImport: i0,
|
|
1014
1014
|
type: ScrollViewComponent,
|
|
1015
1015
|
decorators: [{
|
|
@@ -2,9 +2,9 @@ import { NgTemplateOutlet } from "@angular/common";
|
|
|
2
2
|
import * as i0 from "@angular/core";
|
|
3
3
|
import { Component, DestroyRef, Directive, ElementRef, TemplateRef, afterNextRender, afterRenderEffect, booleanAttribute, computed, contentChild, inject, input, isDevMode, model, output, signal, viewChildren } from "@angular/core";
|
|
4
4
|
import { injectComponentDirection } from "@nanahoshi/mona-ui/i18n";
|
|
5
|
-
import { createElementControlId, injectEffectiveDisabled, injectLabelAssociation, themeControlSurfaceClasses } from "@nanahoshi/mona-ui/internal";
|
|
6
5
|
import { twMerge } from "tailwind-merge";
|
|
7
6
|
import { cva } from "class-variance-authority";
|
|
7
|
+
import { createElementControlId, injectEffectiveDisabled, injectLabelAssociation, themeControlSurfaceClasses } from "@nanahoshi/mona-ui/internal";
|
|
8
8
|
var SegmentedItemTemplateDirective = class SegmentedItemTemplateDirective {
|
|
9
9
|
constructor() {
|
|
10
10
|
this.options = input(void 0, {
|
|
@@ -19,7 +19,7 @@ var SegmentedItemTemplateDirective = class SegmentedItemTemplateDirective {
|
|
|
19
19
|
static {
|
|
20
20
|
this.ɵfac = i0.ɵɵngDeclareFactory({
|
|
21
21
|
minVersion: "12.0.0",
|
|
22
|
-
version: "22.
|
|
22
|
+
version: "22.3.0",
|
|
23
23
|
ngImport: i0,
|
|
24
24
|
type: SegmentedItemTemplateDirective,
|
|
25
25
|
deps: [],
|
|
@@ -29,7 +29,7 @@ var SegmentedItemTemplateDirective = class SegmentedItemTemplateDirective {
|
|
|
29
29
|
static {
|
|
30
30
|
this.ɵdir = i0.ɵɵngDeclareDirective({
|
|
31
31
|
minVersion: "17.1.0",
|
|
32
|
-
version: "22.
|
|
32
|
+
version: "22.3.0",
|
|
33
33
|
type: SegmentedItemTemplateDirective,
|
|
34
34
|
isStandalone: true,
|
|
35
35
|
selector: "ng-template[monaSegmentedItemTemplate]",
|
|
@@ -46,7 +46,7 @@ var SegmentedItemTemplateDirective = class SegmentedItemTemplateDirective {
|
|
|
46
46
|
};
|
|
47
47
|
i0.ɵɵngDeclareClassMetadata({
|
|
48
48
|
minVersion: "12.0.0",
|
|
49
|
-
version: "22.
|
|
49
|
+
version: "22.3.0",
|
|
50
50
|
ngImport: i0,
|
|
51
51
|
type: SegmentedItemTemplateDirective,
|
|
52
52
|
decorators: [{
|
|
@@ -68,7 +68,7 @@ const segmentedContainerThemeVariants = cva(`
|
|
|
68
68
|
border border-input-border
|
|
69
69
|
p-1
|
|
70
70
|
data-[invalid='true']:border-error
|
|
71
|
-
data-[invalid='true']:ring-
|
|
71
|
+
data-[invalid='true']:ring-(length:--mona-focus-ring-width,2px) data-[invalid='true']:ring-error/(--mona-focus-ring-opacity,35%)
|
|
72
72
|
data-[readonly='true']:[&_*]:cursor-default
|
|
73
73
|
transition-colors duration-(--mona-motion-fast)
|
|
74
74
|
`, {
|
|
@@ -405,7 +405,7 @@ var SegmentedComponent = class SegmentedComponent {
|
|
|
405
405
|
static {
|
|
406
406
|
this.ɵfac = i0.ɵɵngDeclareFactory({
|
|
407
407
|
minVersion: "12.0.0",
|
|
408
|
-
version: "22.
|
|
408
|
+
version: "22.3.0",
|
|
409
409
|
ngImport: i0,
|
|
410
410
|
type: SegmentedComponent,
|
|
411
411
|
deps: [],
|
|
@@ -415,7 +415,7 @@ var SegmentedComponent = class SegmentedComponent {
|
|
|
415
415
|
static {
|
|
416
416
|
this.ɵcmp = i0.ɵɵngDeclareComponent({
|
|
417
417
|
minVersion: "17.0.0",
|
|
418
|
-
version: "22.
|
|
418
|
+
version: "22.3.0",
|
|
419
419
|
type: SegmentedComponent,
|
|
420
420
|
isStandalone: true,
|
|
421
421
|
selector: "mona-segmented",
|
|
@@ -590,7 +590,7 @@ var SegmentedComponent = class SegmentedComponent {
|
|
|
590
590
|
};
|
|
591
591
|
i0.ɵɵngDeclareClassMetadata({
|
|
592
592
|
minVersion: "12.0.0",
|
|
593
|
-
version: "22.
|
|
593
|
+
version: "22.3.0",
|
|
594
594
|
ngImport: i0,
|
|
595
595
|
type: SegmentedComponent,
|
|
596
596
|
decorators: [{
|
|
@@ -54,7 +54,7 @@ var SeparatorComponent = class SeparatorComponent {
|
|
|
54
54
|
static {
|
|
55
55
|
this.ɵfac = i0.ɵɵngDeclareFactory({
|
|
56
56
|
minVersion: "12.0.0",
|
|
57
|
-
version: "22.
|
|
57
|
+
version: "22.3.0",
|
|
58
58
|
ngImport: i0,
|
|
59
59
|
type: SeparatorComponent,
|
|
60
60
|
deps: [],
|
|
@@ -64,7 +64,7 @@ var SeparatorComponent = class SeparatorComponent {
|
|
|
64
64
|
static {
|
|
65
65
|
this.ɵcmp = i0.ɵɵngDeclareComponent({
|
|
66
66
|
minVersion: "17.0.0",
|
|
67
|
-
version: "22.
|
|
67
|
+
version: "22.3.0",
|
|
68
68
|
type: SeparatorComponent,
|
|
69
69
|
isStandalone: true,
|
|
70
70
|
selector: "mona-separator",
|
|
@@ -110,7 +110,7 @@ var SeparatorComponent = class SeparatorComponent {
|
|
|
110
110
|
};
|
|
111
111
|
i0.ɵɵngDeclareClassMetadata({
|
|
112
112
|
minVersion: "12.0.0",
|
|
113
|
-
version: "22.
|
|
113
|
+
version: "22.3.0",
|
|
114
114
|
ngImport: i0,
|
|
115
115
|
type: SeparatorComponent,
|
|
116
116
|
decorators: [{
|