@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
|
@@ -2,15 +2,15 @@ import { NgTemplateOutlet } from "@angular/common";
|
|
|
2
2
|
import * as i0 from "@angular/core";
|
|
3
3
|
import { Component, DestroyRef, Directive, Injector, TemplateRef, afterNextRender, booleanAttribute, computed, contentChild, effect, inject, input, model, output, signal, untracked, viewChild } from "@angular/core";
|
|
4
4
|
import { LucideArrowDown, LucideFile, LucidePaperclip, LucideSendHorizontal, LucideSquare, LucideX } from "@lucide/angular";
|
|
5
|
-
import { AvatarComponent } from "@nanahoshi/mona-ui/avatar";
|
|
6
5
|
import { ButtonDirective } from "@nanahoshi/mona-ui/button";
|
|
7
|
-
import { formatFileSize } from "@nanahoshi/mona-ui/file-upload";
|
|
8
6
|
import { MonaI18nService, formatGregorianDateToLocaleString, formatNumber } from "@nanahoshi/mona-ui/i18n";
|
|
9
7
|
import { injectLiveAnnouncer } from "@nanahoshi/mona-ui/internal/live-announcer";
|
|
10
8
|
import { twMerge } from "tailwind-merge";
|
|
11
|
-
import { themeControlSurfaceClasses } from "@nanahoshi/mona-ui/internal";
|
|
12
9
|
import { cva } from "class-variance-authority";
|
|
10
|
+
import { themeControlSurfaceClasses } from "@nanahoshi/mona-ui/internal";
|
|
13
11
|
import { DateTime } from "luxon";
|
|
12
|
+
import { AvatarComponent } from "@nanahoshi/mona-ui/avatar";
|
|
13
|
+
import { formatFileSize } from "@nanahoshi/mona-ui/file-upload";
|
|
14
14
|
var ChatAttachmentTemplateDirective = class ChatAttachmentTemplateDirective {
|
|
15
15
|
static ngTemplateContextGuard(_directive, _context) {
|
|
16
16
|
return true;
|
|
@@ -18,7 +18,7 @@ var ChatAttachmentTemplateDirective = class ChatAttachmentTemplateDirective {
|
|
|
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: ChatAttachmentTemplateDirective,
|
|
24
24
|
deps: [],
|
|
@@ -28,7 +28,7 @@ var ChatAttachmentTemplateDirective = class ChatAttachmentTemplateDirective {
|
|
|
28
28
|
static {
|
|
29
29
|
this.ɵdir = i0.ɵɵngDeclareDirective({
|
|
30
30
|
minVersion: "14.0.0",
|
|
31
|
-
version: "22.
|
|
31
|
+
version: "22.3.0",
|
|
32
32
|
type: ChatAttachmentTemplateDirective,
|
|
33
33
|
isStandalone: true,
|
|
34
34
|
selector: "ng-template[monaChatAttachmentTemplate]",
|
|
@@ -38,7 +38,7 @@ var ChatAttachmentTemplateDirective = class ChatAttachmentTemplateDirective {
|
|
|
38
38
|
};
|
|
39
39
|
i0.ɵɵngDeclareClassMetadata({
|
|
40
40
|
minVersion: "12.0.0",
|
|
41
|
-
version: "22.
|
|
41
|
+
version: "22.3.0",
|
|
42
42
|
ngImport: i0,
|
|
43
43
|
type: ChatAttachmentTemplateDirective,
|
|
44
44
|
decorators: [{
|
|
@@ -50,7 +50,7 @@ var ChatEmptyTemplateDirective = class ChatEmptyTemplateDirective {
|
|
|
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: ChatEmptyTemplateDirective,
|
|
56
56
|
deps: [],
|
|
@@ -60,7 +60,7 @@ var ChatEmptyTemplateDirective = class ChatEmptyTemplateDirective {
|
|
|
60
60
|
static {
|
|
61
61
|
this.ɵdir = i0.ɵɵngDeclareDirective({
|
|
62
62
|
minVersion: "14.0.0",
|
|
63
|
-
version: "22.
|
|
63
|
+
version: "22.3.0",
|
|
64
64
|
type: ChatEmptyTemplateDirective,
|
|
65
65
|
isStandalone: true,
|
|
66
66
|
selector: "ng-template[monaChatEmptyTemplate]",
|
|
@@ -70,7 +70,7 @@ var ChatEmptyTemplateDirective = class ChatEmptyTemplateDirective {
|
|
|
70
70
|
};
|
|
71
71
|
i0.ɵɵngDeclareClassMetadata({
|
|
72
72
|
minVersion: "12.0.0",
|
|
73
|
-
version: "22.
|
|
73
|
+
version: "22.3.0",
|
|
74
74
|
ngImport: i0,
|
|
75
75
|
type: ChatEmptyTemplateDirective,
|
|
76
76
|
decorators: [{
|
|
@@ -85,7 +85,7 @@ var ChatMessageTemplateDirective = class ChatMessageTemplateDirective {
|
|
|
85
85
|
static {
|
|
86
86
|
this.ɵfac = i0.ɵɵngDeclareFactory({
|
|
87
87
|
minVersion: "12.0.0",
|
|
88
|
-
version: "22.
|
|
88
|
+
version: "22.3.0",
|
|
89
89
|
ngImport: i0,
|
|
90
90
|
type: ChatMessageTemplateDirective,
|
|
91
91
|
deps: [],
|
|
@@ -95,7 +95,7 @@ var ChatMessageTemplateDirective = class ChatMessageTemplateDirective {
|
|
|
95
95
|
static {
|
|
96
96
|
this.ɵdir = i0.ɵɵngDeclareDirective({
|
|
97
97
|
minVersion: "14.0.0",
|
|
98
|
-
version: "22.
|
|
98
|
+
version: "22.3.0",
|
|
99
99
|
type: ChatMessageTemplateDirective,
|
|
100
100
|
isStandalone: true,
|
|
101
101
|
selector: "ng-template[monaChatMessageTemplate]",
|
|
@@ -105,7 +105,7 @@ var ChatMessageTemplateDirective = class ChatMessageTemplateDirective {
|
|
|
105
105
|
};
|
|
106
106
|
i0.ɵɵngDeclareClassMetadata({
|
|
107
107
|
minVersion: "12.0.0",
|
|
108
|
-
version: "22.
|
|
108
|
+
version: "22.3.0",
|
|
109
109
|
ngImport: i0,
|
|
110
110
|
type: ChatMessageTemplateDirective,
|
|
111
111
|
decorators: [{
|
|
@@ -225,7 +225,7 @@ const CHAT_FIELD_CLASSES = `
|
|
|
225
225
|
${themeControlSurfaceClasses}
|
|
226
226
|
border border-input-border shadow-(--shadow-control)
|
|
227
227
|
transition-[color,box-shadow,border] duration-(--mona-motion-standard) ease-in-out
|
|
228
|
-
focus-within:border-focus-indicator focus-within:ring-
|
|
228
|
+
focus-within:border-focus-indicator focus-within:ring-(length:--mona-focus-ring-width,2px) focus-within:ring-focus-indicator/(--mona-focus-ring-opacity,35%)
|
|
229
229
|
data-[disabled]:cursor-not-allowed data-[disabled]:border-disabled-border data-[disabled]:bg-disabled-background
|
|
230
230
|
data-[disabled]:shadow-none
|
|
231
231
|
`;
|
|
@@ -393,7 +393,7 @@ var ChatComposerComponent = class ChatComposerComponent {
|
|
|
393
393
|
static {
|
|
394
394
|
this.ɵfac = i0.ɵɵngDeclareFactory({
|
|
395
395
|
minVersion: "12.0.0",
|
|
396
|
-
version: "22.
|
|
396
|
+
version: "22.3.0",
|
|
397
397
|
ngImport: i0,
|
|
398
398
|
type: ChatComposerComponent,
|
|
399
399
|
deps: [],
|
|
@@ -403,7 +403,7 @@ var ChatComposerComponent = class ChatComposerComponent {
|
|
|
403
403
|
static {
|
|
404
404
|
this.ɵcmp = i0.ɵɵngDeclareComponent({
|
|
405
405
|
minVersion: "17.0.0",
|
|
406
|
-
version: "22.
|
|
406
|
+
version: "22.3.0",
|
|
407
407
|
type: ChatComposerComponent,
|
|
408
408
|
isStandalone: true,
|
|
409
409
|
selector: "mona-chat-composer",
|
|
@@ -514,7 +514,7 @@ var ChatComposerComponent = class ChatComposerComponent {
|
|
|
514
514
|
};
|
|
515
515
|
i0.ɵɵngDeclareClassMetadata({
|
|
516
516
|
minVersion: "12.0.0",
|
|
517
|
-
version: "22.
|
|
517
|
+
version: "22.3.0",
|
|
518
518
|
ngImport: i0,
|
|
519
519
|
type: ChatComposerComponent,
|
|
520
520
|
decorators: [{
|
|
@@ -820,7 +820,7 @@ var ChatComponent = class ChatComponent {
|
|
|
820
820
|
static {
|
|
821
821
|
this.ɵfac = i0.ɵɵngDeclareFactory({
|
|
822
822
|
minVersion: "12.0.0",
|
|
823
|
-
version: "22.
|
|
823
|
+
version: "22.3.0",
|
|
824
824
|
ngImport: i0,
|
|
825
825
|
type: ChatComponent,
|
|
826
826
|
deps: [],
|
|
@@ -830,7 +830,7 @@ var ChatComponent = class ChatComponent {
|
|
|
830
830
|
static {
|
|
831
831
|
this.ɵcmp = i0.ɵɵngDeclareComponent({
|
|
832
832
|
minVersion: "17.0.0",
|
|
833
|
-
version: "22.
|
|
833
|
+
version: "22.3.0",
|
|
834
834
|
type: ChatComponent,
|
|
835
835
|
isStandalone: true,
|
|
836
836
|
selector: "mona-chat",
|
|
@@ -1059,7 +1059,7 @@ var ChatComponent = class ChatComponent {
|
|
|
1059
1059
|
};
|
|
1060
1060
|
i0.ɵɵngDeclareClassMetadata({
|
|
1061
1061
|
minVersion: "12.0.0",
|
|
1062
|
-
version: "22.
|
|
1062
|
+
version: "22.3.0",
|
|
1063
1063
|
ngImport: i0,
|
|
1064
1064
|
type: ChatComponent,
|
|
1065
1065
|
decorators: [{
|
|
@@ -20,13 +20,13 @@ const checkmarkThemeVariants = cva(`
|
|
|
20
20
|
peer-indeterminate:border-(--color-selected-border) peer-indeterminate:bg-primary peer-indeterminate:text-primary-foreground
|
|
21
21
|
|
|
22
22
|
peer-focus-visible:border-focus-indicator
|
|
23
|
-
peer-focus-visible:ring-
|
|
23
|
+
peer-focus-visible:ring-(length:--mona-focus-ring-width,2px) peer-focus-visible:ring-focus-indicator/(--mona-focus-ring-opacity,35%)
|
|
24
24
|
peer-focus-visible:outline-hidden
|
|
25
25
|
|
|
26
26
|
data-[invalid='true']:border-error
|
|
27
|
-
data-[invalid='true']:ring-
|
|
27
|
+
data-[invalid='true']:ring-(length:--mona-focus-ring-width,2px) data-[invalid='true']:ring-error/(--mona-focus-ring-opacity,35%)
|
|
28
28
|
data-[invalid='true']:peer-focus-visible:border-error
|
|
29
|
-
data-[invalid='true']:peer-focus-visible:ring-error/35
|
|
29
|
+
data-[invalid='true']:peer-focus-visible:ring-error/(--mona-focus-ring-opacity,35%)
|
|
30
30
|
|
|
31
31
|
peer-indeterminate:after:absolute
|
|
32
32
|
peer-indeterminate:after:inset-0
|
|
@@ -72,7 +72,7 @@ const checkboxDirectiveThemeVariants = cva(`
|
|
|
72
72
|
indeterminate:border-(--color-selected-border) indeterminate:bg-primary indeterminate:text-primary-foreground
|
|
73
73
|
|
|
74
74
|
focus-visible:border-focus-indicator
|
|
75
|
-
focus-visible:ring-
|
|
75
|
+
focus-visible:ring-(length:--mona-focus-ring-width,2px) focus-visible:ring-focus-indicator/(--mona-focus-ring-opacity,35%)
|
|
76
76
|
|
|
77
77
|
checked:after:absolute
|
|
78
78
|
checked:after:inset-[1px_0_0_1px]
|
|
@@ -93,9 +93,9 @@ const checkboxDirectiveThemeVariants = cva(`
|
|
|
93
93
|
indeterminate:after:[mask-size:contain]
|
|
94
94
|
|
|
95
95
|
data-[invalid='true']:border-error
|
|
96
|
-
data-[invalid='true']:ring-
|
|
96
|
+
data-[invalid='true']:ring-(length:--mona-focus-ring-width,2px) data-[invalid='true']:ring-error/(--mona-focus-ring-opacity,35%)
|
|
97
97
|
data-[invalid='true']:focus-visible:border-error
|
|
98
|
-
data-[invalid='true']:focus-visible:ring-error/35
|
|
98
|
+
data-[invalid='true']:focus-visible:ring-error/(--mona-focus-ring-opacity,35%)
|
|
99
99
|
`, { variants: { rounded: {
|
|
100
100
|
full: "rounded-full",
|
|
101
101
|
large: "rounded-lg",
|
|
@@ -217,7 +217,7 @@ var CheckBoxComponent = class CheckBoxComponent {
|
|
|
217
217
|
static {
|
|
218
218
|
this.ɵfac = i0.ɵɵngDeclareFactory({
|
|
219
219
|
minVersion: "12.0.0",
|
|
220
|
-
version: "22.
|
|
220
|
+
version: "22.3.0",
|
|
221
221
|
ngImport: i0,
|
|
222
222
|
type: CheckBoxComponent,
|
|
223
223
|
deps: [],
|
|
@@ -227,7 +227,7 @@ var CheckBoxComponent = class CheckBoxComponent {
|
|
|
227
227
|
static {
|
|
228
228
|
this.ɵcmp = i0.ɵɵngDeclareComponent({
|
|
229
229
|
minVersion: "17.0.0",
|
|
230
|
-
version: "22.
|
|
230
|
+
version: "22.3.0",
|
|
231
231
|
type: CheckBoxComponent,
|
|
232
232
|
isStandalone: true,
|
|
233
233
|
selector: "mona-check-box",
|
|
@@ -401,7 +401,7 @@ var CheckBoxComponent = class CheckBoxComponent {
|
|
|
401
401
|
};
|
|
402
402
|
i0.ɵɵngDeclareClassMetadata({
|
|
403
403
|
minVersion: "12.0.0",
|
|
404
|
-
version: "22.
|
|
404
|
+
version: "22.3.0",
|
|
405
405
|
ngImport: i0,
|
|
406
406
|
type: CheckBoxComponent,
|
|
407
407
|
decorators: [{
|
|
@@ -622,7 +622,7 @@ var CheckboxDirective = class CheckboxDirective {
|
|
|
622
622
|
static {
|
|
623
623
|
this.ɵfac = i0.ɵɵngDeclareFactory({
|
|
624
624
|
minVersion: "12.0.0",
|
|
625
|
-
version: "22.
|
|
625
|
+
version: "22.3.0",
|
|
626
626
|
ngImport: i0,
|
|
627
627
|
type: CheckboxDirective,
|
|
628
628
|
deps: [],
|
|
@@ -632,7 +632,7 @@ var CheckboxDirective = class CheckboxDirective {
|
|
|
632
632
|
static {
|
|
633
633
|
this.ɵdir = i0.ɵɵngDeclareDirective({
|
|
634
634
|
minVersion: "17.1.0",
|
|
635
|
-
version: "22.
|
|
635
|
+
version: "22.3.0",
|
|
636
636
|
type: CheckboxDirective,
|
|
637
637
|
isStandalone: true,
|
|
638
638
|
selector: "input[type='checkbox'][monaCheckbox]",
|
|
@@ -677,7 +677,7 @@ var CheckboxDirective = class CheckboxDirective {
|
|
|
677
677
|
};
|
|
678
678
|
i0.ɵɵngDeclareClassMetadata({
|
|
679
679
|
minVersion: "12.0.0",
|
|
680
|
-
version: "22.
|
|
680
|
+
version: "22.3.0",
|
|
681
681
|
ngImport: i0,
|
|
682
682
|
type: CheckboxDirective,
|
|
683
683
|
decorators: [{
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import { NgTemplateOutlet } from "@angular/common";
|
|
2
2
|
import * as i0 from "@angular/core";
|
|
3
3
|
import { Component, DestroyRef, Directive, ElementRef, TemplateRef, afterNextRender, booleanAttribute, computed, contentChild, inject, input, isDevMode, model, output, viewChild } from "@angular/core";
|
|
4
|
-
import { takeUntilDestroyed } from "@angular/core/rxjs-interop";
|
|
5
|
-
import { RouterLink } from "@angular/router";
|
|
6
4
|
import { LucideCircleX } from "@lucide/angular";
|
|
7
5
|
import { ButtonDirective } from "@nanahoshi/mona-ui/button";
|
|
8
6
|
import { MonaI18nService } from "@nanahoshi/mona-ui/i18n";
|
|
9
|
-
import { fromEvent } from "rxjs";
|
|
10
7
|
import { twMerge } from "tailwind-merge";
|
|
11
8
|
import { cva } from "class-variance-authority";
|
|
9
|
+
import { takeUntilDestroyed } from "@angular/core/rxjs-interop";
|
|
12
10
|
import { themeRaisedSurfaceClasses, themeSelectionBorderClasses } from "@nanahoshi/mona-ui/internal";
|
|
11
|
+
import { fromEvent } from "rxjs";
|
|
12
|
+
import { RouterLink } from "@angular/router";
|
|
13
13
|
const CHIP_DEFAULT_MESSAGES = { removeLabel: (label) => label ? `Remove, ${label}` : "Remove, item" };
|
|
14
14
|
var ChipPrefixTemplateDirective = class ChipPrefixTemplateDirective {
|
|
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: ChipPrefixTemplateDirective,
|
|
21
21
|
deps: [],
|
|
@@ -25,7 +25,7 @@ var ChipPrefixTemplateDirective = class ChipPrefixTemplateDirective {
|
|
|
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: ChipPrefixTemplateDirective,
|
|
30
30
|
isStandalone: true,
|
|
31
31
|
selector: "ng-template[monaChipPrefixTemplate]",
|
|
@@ -35,7 +35,7 @@ var ChipPrefixTemplateDirective = class ChipPrefixTemplateDirective {
|
|
|
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: ChipPrefixTemplateDirective,
|
|
41
41
|
decorators: [{
|
|
@@ -475,7 +475,7 @@ var ChipComponent = class ChipComponent {
|
|
|
475
475
|
static {
|
|
476
476
|
this.ɵfac = i0.ɵɵngDeclareFactory({
|
|
477
477
|
minVersion: "12.0.0",
|
|
478
|
-
version: "22.
|
|
478
|
+
version: "22.3.0",
|
|
479
479
|
ngImport: i0,
|
|
480
480
|
type: ChipComponent,
|
|
481
481
|
deps: [],
|
|
@@ -485,7 +485,7 @@ var ChipComponent = class ChipComponent {
|
|
|
485
485
|
static {
|
|
486
486
|
this.ɵcmp = i0.ɵɵngDeclareComponent({
|
|
487
487
|
minVersion: "17.0.0",
|
|
488
|
-
version: "22.
|
|
488
|
+
version: "22.3.0",
|
|
489
489
|
type: ChipComponent,
|
|
490
490
|
isStandalone: true,
|
|
491
491
|
selector: "mona-chip",
|
|
@@ -662,7 +662,7 @@ var ChipComponent = class ChipComponent {
|
|
|
662
662
|
};
|
|
663
663
|
i0.ɵɵngDeclareClassMetadata({
|
|
664
664
|
minVersion: "12.0.0",
|
|
665
|
-
version: "22.
|
|
665
|
+
version: "22.3.0",
|
|
666
666
|
ngImport: i0,
|
|
667
667
|
type: ChipComponent,
|
|
668
668
|
decorators: [{
|
|
@@ -3,9 +3,9 @@ import * as i0 from "@angular/core";
|
|
|
3
3
|
import { Component, Directive, TemplateRef, computed, contentChild, effect, inject, input, isDevMode } from "@angular/core";
|
|
4
4
|
import { getPercentage, normalizeProgressRange } from "@nanahoshi/mona-ui/common";
|
|
5
5
|
import { MonaI18nService, formatNumber } from "@nanahoshi/mona-ui/i18n";
|
|
6
|
-
import { PROGRESS_BAR_DEFAULT_MESSAGES } from "@nanahoshi/mona-ui/progress-bar";
|
|
7
6
|
import { twMerge } from "tailwind-merge";
|
|
8
7
|
import { cva } from "class-variance-authority";
|
|
8
|
+
import { PROGRESS_BAR_DEFAULT_MESSAGES } from "@nanahoshi/mona-ui/progress-bar";
|
|
9
9
|
var CircularProgressBarLabelTemplateDirective = class CircularProgressBarLabelTemplateDirective {
|
|
10
10
|
constructor() {
|
|
11
11
|
this.templateRef = inject(TemplateRef);
|
|
@@ -16,7 +16,7 @@ var CircularProgressBarLabelTemplateDirective = class CircularProgressBarLabelTe
|
|
|
16
16
|
static {
|
|
17
17
|
this.ɵfac = i0.ɵɵngDeclareFactory({
|
|
18
18
|
minVersion: "12.0.0",
|
|
19
|
-
version: "22.
|
|
19
|
+
version: "22.3.0",
|
|
20
20
|
ngImport: i0,
|
|
21
21
|
type: CircularProgressBarLabelTemplateDirective,
|
|
22
22
|
deps: [],
|
|
@@ -26,7 +26,7 @@ var CircularProgressBarLabelTemplateDirective = class CircularProgressBarLabelTe
|
|
|
26
26
|
static {
|
|
27
27
|
this.ɵdir = i0.ɵɵngDeclareDirective({
|
|
28
28
|
minVersion: "14.0.0",
|
|
29
|
-
version: "22.
|
|
29
|
+
version: "22.3.0",
|
|
30
30
|
type: CircularProgressBarLabelTemplateDirective,
|
|
31
31
|
isStandalone: true,
|
|
32
32
|
selector: "ng-template[monaCircularProgressBarLabelTemplate]",
|
|
@@ -36,7 +36,7 @@ var CircularProgressBarLabelTemplateDirective = class CircularProgressBarLabelTe
|
|
|
36
36
|
};
|
|
37
37
|
i0.ɵɵngDeclareClassMetadata({
|
|
38
38
|
minVersion: "12.0.0",
|
|
39
|
-
version: "22.
|
|
39
|
+
version: "22.3.0",
|
|
40
40
|
ngImport: i0,
|
|
41
41
|
type: CircularProgressBarLabelTemplateDirective,
|
|
42
42
|
decorators: [{
|
|
@@ -152,7 +152,7 @@ var CircularProgressBarComponent = class CircularProgressBarComponent {
|
|
|
152
152
|
static {
|
|
153
153
|
this.ɵfac = i0.ɵɵngDeclareFactory({
|
|
154
154
|
minVersion: "12.0.0",
|
|
155
|
-
version: "22.
|
|
155
|
+
version: "22.3.0",
|
|
156
156
|
ngImport: i0,
|
|
157
157
|
type: CircularProgressBarComponent,
|
|
158
158
|
deps: [],
|
|
@@ -162,7 +162,7 @@ var CircularProgressBarComponent = class CircularProgressBarComponent {
|
|
|
162
162
|
static {
|
|
163
163
|
this.ɵcmp = i0.ɵɵngDeclareComponent({
|
|
164
164
|
minVersion: "17.0.0",
|
|
165
|
-
version: "22.
|
|
165
|
+
version: "22.3.0",
|
|
166
166
|
type: CircularProgressBarComponent,
|
|
167
167
|
isStandalone: true,
|
|
168
168
|
selector: "mona-circular-progress-bar",
|
|
@@ -306,7 +306,7 @@ var CircularProgressBarComponent = class CircularProgressBarComponent {
|
|
|
306
306
|
};
|
|
307
307
|
i0.ɵɵngDeclareClassMetadata({
|
|
308
308
|
minVersion: "12.0.0",
|
|
309
|
-
version: "22.
|
|
309
|
+
version: "22.3.0",
|
|
310
310
|
ngImport: i0,
|
|
311
311
|
type: CircularProgressBarComponent,
|
|
312
312
|
decorators: [{
|
|
@@ -38,7 +38,7 @@ var CollapsibleDirective = class CollapsibleDirective {
|
|
|
38
38
|
static {
|
|
39
39
|
this.ɵfac = i0.ɵɵngDeclareFactory({
|
|
40
40
|
minVersion: "12.0.0",
|
|
41
|
-
version: "22.
|
|
41
|
+
version: "22.3.0",
|
|
42
42
|
ngImport: i0,
|
|
43
43
|
type: CollapsibleDirective,
|
|
44
44
|
deps: [],
|
|
@@ -48,7 +48,7 @@ var CollapsibleDirective = class CollapsibleDirective {
|
|
|
48
48
|
static {
|
|
49
49
|
this.ɵdir = i0.ɵɵngDeclareDirective({
|
|
50
50
|
minVersion: "17.1.0",
|
|
51
|
-
version: "22.
|
|
51
|
+
version: "22.3.0",
|
|
52
52
|
type: CollapsibleDirective,
|
|
53
53
|
isStandalone: true,
|
|
54
54
|
selector: "[monaCollapsible]",
|
|
@@ -88,7 +88,7 @@ var CollapsibleDirective = class CollapsibleDirective {
|
|
|
88
88
|
};
|
|
89
89
|
i0.ɵɵngDeclareClassMetadata({
|
|
90
90
|
minVersion: "12.0.0",
|
|
91
|
-
version: "22.
|
|
91
|
+
version: "22.3.0",
|
|
92
92
|
ngImport: i0,
|
|
93
93
|
type: CollapsibleDirective,
|
|
94
94
|
decorators: [{
|
|
@@ -278,7 +278,7 @@ var CollapsibleContentDirective = class CollapsibleContentDirective {
|
|
|
278
278
|
static {
|
|
279
279
|
this.ɵfac = i0.ɵɵngDeclareFactory({
|
|
280
280
|
minVersion: "12.0.0",
|
|
281
|
-
version: "22.
|
|
281
|
+
version: "22.3.0",
|
|
282
282
|
ngImport: i0,
|
|
283
283
|
type: CollapsibleContentDirective,
|
|
284
284
|
deps: [],
|
|
@@ -288,7 +288,7 @@ var CollapsibleContentDirective = class CollapsibleContentDirective {
|
|
|
288
288
|
static {
|
|
289
289
|
this.ɵdir = i0.ɵɵngDeclareDirective({
|
|
290
290
|
minVersion: "17.1.0",
|
|
291
|
-
version: "22.
|
|
291
|
+
version: "22.3.0",
|
|
292
292
|
type: CollapsibleContentDirective,
|
|
293
293
|
isStandalone: true,
|
|
294
294
|
selector: "[monaCollapsibleContent]",
|
|
@@ -310,7 +310,7 @@ var CollapsibleContentDirective = class CollapsibleContentDirective {
|
|
|
310
310
|
};
|
|
311
311
|
i0.ɵɵngDeclareClassMetadata({
|
|
312
312
|
minVersion: "12.0.0",
|
|
313
|
-
version: "22.
|
|
313
|
+
version: "22.3.0",
|
|
314
314
|
ngImport: i0,
|
|
315
315
|
type: CollapsibleContentDirective,
|
|
316
316
|
decorators: [{
|
|
@@ -384,7 +384,7 @@ var CollapsibleTriggerDirective = class CollapsibleTriggerDirective {
|
|
|
384
384
|
static {
|
|
385
385
|
this.ɵfac = i0.ɵɵngDeclareFactory({
|
|
386
386
|
minVersion: "12.0.0",
|
|
387
|
-
version: "22.
|
|
387
|
+
version: "22.3.0",
|
|
388
388
|
ngImport: i0,
|
|
389
389
|
type: CollapsibleTriggerDirective,
|
|
390
390
|
deps: [],
|
|
@@ -394,7 +394,7 @@ var CollapsibleTriggerDirective = class CollapsibleTriggerDirective {
|
|
|
394
394
|
static {
|
|
395
395
|
this.ɵdir = i0.ɵɵngDeclareDirective({
|
|
396
396
|
minVersion: "14.0.0",
|
|
397
|
-
version: "22.
|
|
397
|
+
version: "22.3.0",
|
|
398
398
|
type: CollapsibleTriggerDirective,
|
|
399
399
|
isStandalone: true,
|
|
400
400
|
selector: "[monaCollapsibleTrigger]",
|
|
@@ -421,7 +421,7 @@ var CollapsibleTriggerDirective = class CollapsibleTriggerDirective {
|
|
|
421
421
|
};
|
|
422
422
|
i0.ɵɵngDeclareClassMetadata({
|
|
423
423
|
minVersion: "12.0.0",
|
|
424
|
-
version: "22.
|
|
424
|
+
version: "22.3.0",
|
|
425
425
|
ngImport: i0,
|
|
426
426
|
type: CollapsibleTriggerDirective,
|
|
427
427
|
decorators: [{
|
|
@@ -1,19 +1,19 @@
|
|
|
1
|
-
import { Clipboard } from "@angular/cdk/clipboard";
|
|
2
1
|
import { NgTemplateOutlet } from "@angular/common";
|
|
3
2
|
import * as i0 from "@angular/core";
|
|
4
|
-
import { Component, DOCUMENT, DestroyRef, ElementRef, afterNextRender, booleanAttribute, computed, effect, inject, input, isDevMode, model, output, signal, untracked, viewChild } from "@angular/core";
|
|
5
|
-
import { takeUntilDestroyed } from "@angular/core/rxjs-interop";
|
|
3
|
+
import { Component, DOCUMENT as DOCUMENT$1, DestroyRef, ElementRef, afterNextRender, booleanAttribute, computed, effect, inject, input, isDevMode, model, output, signal, untracked, viewChild } from "@angular/core";
|
|
6
4
|
import { LucideChevronsUpDown, LucideCopy, LucideDropletOff } from "@lucide/angular";
|
|
7
5
|
import { ButtonDirective } from "@nanahoshi/mona-ui/button";
|
|
8
|
-
import {
|
|
6
|
+
import { MonaI18nService, formatNumber } from "@nanahoshi/mona-ui/i18n";
|
|
9
7
|
import { injectLiveAnnouncer } from "@nanahoshi/mona-ui/internal/live-announcer";
|
|
8
|
+
import { cva } from "class-variance-authority";
|
|
9
|
+
import { takeUntilDestroyed } from "@angular/core/rxjs-interop";
|
|
10
|
+
import { FIELD_ASSOCIATION_BOUNDARY, formatAlpha, hex2rgba, hsva2rgba, injectEffectiveDisabled, injectLabelAssociation, isValidHex, parseColor, rgba2hex, rgba2hsla, rgba2hsva } from "@nanahoshi/mona-ui/internal";
|
|
11
|
+
import { TextBoxComponent, TextBoxPrefixTemplateDirective, TextBoxSuffixTemplateDirective } from "@nanahoshi/mona-ui/text-box";
|
|
12
|
+
import { filter, fromEvent, merge, switchMap, takeUntil, tap } from "rxjs";
|
|
13
|
+
import { Clipboard } from "@angular/cdk/clipboard";
|
|
10
14
|
import { DropdownButtonComponent, DropdownButtonItemComponent, DropdownButtonTextTemplateDirective } from "@nanahoshi/mona-ui/dropdown-button";
|
|
11
15
|
import { NumericTextBoxComponent, NumericTextBoxPrefixTemplateDirective } from "@nanahoshi/mona-ui/numeric-text-box";
|
|
12
16
|
import { SliderComponent } from "@nanahoshi/mona-ui/slider";
|
|
13
|
-
import { TextBoxComponent, TextBoxPrefixTemplateDirective, TextBoxSuffixTemplateDirective } from "@nanahoshi/mona-ui/text-box";
|
|
14
|
-
import { MonaI18nService, formatNumber } from "@nanahoshi/mona-ui/i18n";
|
|
15
|
-
import { filter, fromEvent, merge, switchMap, takeUntil, tap } from "rxjs";
|
|
16
|
-
import { cva } from "class-variance-authority";
|
|
17
17
|
function localizeNumber(value, options) {
|
|
18
18
|
return formatNumber(value, "en-US", options);
|
|
19
19
|
}
|
|
@@ -54,7 +54,7 @@ const colorGradientBaseThemeVariants = cva(`
|
|
|
54
54
|
data-[invalid='true']:border
|
|
55
55
|
data-[invalid='true']:border-error
|
|
56
56
|
data-[invalid='true']:ring-1
|
|
57
|
-
data-[invalid='true']:ring-error/35
|
|
57
|
+
data-[invalid='true']:ring-error/(--mona-focus-ring-opacity,35%)
|
|
58
58
|
`);
|
|
59
59
|
const colorGradientHsvRectangleThemeVariants = cva(`
|
|
60
60
|
relative h-40 w-full
|
|
@@ -129,7 +129,7 @@ var ColorGradientComponent = class ColorGradientComponent {
|
|
|
129
129
|
this.#announcer = injectLiveAnnouncer();
|
|
130
130
|
this.#clipboard = inject(Clipboard);
|
|
131
131
|
this.#destroyRef = inject(DestroyRef);
|
|
132
|
-
this.#document = inject(DOCUMENT);
|
|
132
|
+
this.#document = inject(DOCUMENT$1);
|
|
133
133
|
this.#hostElementRef = inject(ElementRef);
|
|
134
134
|
this.#i18n = inject(MonaI18nService);
|
|
135
135
|
this.#label = injectLabelAssociation({
|
|
@@ -704,7 +704,7 @@ var ColorGradientComponent = class ColorGradientComponent {
|
|
|
704
704
|
static {
|
|
705
705
|
this.ɵfac = i0.ɵɵngDeclareFactory({
|
|
706
706
|
minVersion: "12.0.0",
|
|
707
|
-
version: "22.
|
|
707
|
+
version: "22.3.0",
|
|
708
708
|
ngImport: i0,
|
|
709
709
|
type: ColorGradientComponent,
|
|
710
710
|
deps: [],
|
|
@@ -714,7 +714,7 @@ var ColorGradientComponent = class ColorGradientComponent {
|
|
|
714
714
|
static {
|
|
715
715
|
this.ɵcmp = i0.ɵɵngDeclareComponent({
|
|
716
716
|
minVersion: "17.0.0",
|
|
717
|
-
version: "22.
|
|
717
|
+
version: "22.3.0",
|
|
718
718
|
type: ColorGradientComponent,
|
|
719
719
|
isStandalone: true,
|
|
720
720
|
selector: "mona-color-gradient",
|
|
@@ -1018,7 +1018,7 @@ var ColorGradientComponent = class ColorGradientComponent {
|
|
|
1018
1018
|
};
|
|
1019
1019
|
i0.ɵɵngDeclareClassMetadata({
|
|
1020
1020
|
minVersion: "12.0.0",
|
|
1021
|
-
version: "22.
|
|
1021
|
+
version: "22.3.0",
|
|
1022
1022
|
ngImport: i0,
|
|
1023
1023
|
type: ColorGradientComponent,
|
|
1024
1024
|
decorators: [{
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import * as i0 from "@angular/core";
|
|
2
2
|
import { Component, DOCUMENT, ElementRef, booleanAttribute, computed, inject, input, model, output, signal } from "@angular/core";
|
|
3
3
|
import { MonaI18nService, injectComponentDirection } from "@nanahoshi/mona-ui/i18n";
|
|
4
|
-
import { colorKey, injectEffectiveDisabled, injectLabelAssociation } from "@nanahoshi/mona-ui/internal";
|
|
5
4
|
import { cva } from "class-variance-authority";
|
|
5
|
+
import { colorKey, injectEffectiveDisabled, injectLabelAssociation } from "@nanahoshi/mona-ui/internal";
|
|
6
6
|
const COLOR_PALETTE_DEFAULT_MESSAGES = {
|
|
7
7
|
color: (color) => `Color ${color}`,
|
|
8
8
|
colorPalette: "Color palette",
|
|
@@ -17,7 +17,7 @@ const colorPaletteBaseThemeVariants = cva(`
|
|
|
17
17
|
data-[invalid='true']:border
|
|
18
18
|
data-[invalid='true']:border-error
|
|
19
19
|
data-[invalid='true']:ring-1
|
|
20
|
-
data-[invalid='true']:ring-error/35
|
|
20
|
+
data-[invalid='true']:ring-error/(--mona-focus-ring-opacity,35%)
|
|
21
21
|
`);
|
|
22
22
|
const colorPaletteItemThemeVariants = cva(`
|
|
23
23
|
cursor-pointer
|
|
@@ -867,7 +867,7 @@ var ColorPaletteComponent = class ColorPaletteComponent {
|
|
|
867
867
|
static {
|
|
868
868
|
this.ɵfac = i0.ɵɵngDeclareFactory({
|
|
869
869
|
minVersion: "12.0.0",
|
|
870
|
-
version: "22.
|
|
870
|
+
version: "22.3.0",
|
|
871
871
|
ngImport: i0,
|
|
872
872
|
type: ColorPaletteComponent,
|
|
873
873
|
deps: [],
|
|
@@ -877,7 +877,7 @@ var ColorPaletteComponent = class ColorPaletteComponent {
|
|
|
877
877
|
static {
|
|
878
878
|
this.ɵcmp = i0.ɵɵngDeclareComponent({
|
|
879
879
|
minVersion: "17.0.0",
|
|
880
|
-
version: "22.
|
|
880
|
+
version: "22.3.0",
|
|
881
881
|
type: ColorPaletteComponent,
|
|
882
882
|
isStandalone: true,
|
|
883
883
|
selector: "mona-color-palette",
|
|
@@ -1013,7 +1013,7 @@ var ColorPaletteComponent = class ColorPaletteComponent {
|
|
|
1013
1013
|
};
|
|
1014
1014
|
i0.ɵɵngDeclareClassMetadata({
|
|
1015
1015
|
minVersion: "12.0.0",
|
|
1016
|
-
version: "22.
|
|
1016
|
+
version: "22.3.0",
|
|
1017
1017
|
ngImport: i0,
|
|
1018
1018
|
type: ColorPaletteComponent,
|
|
1019
1019
|
decorators: [{
|