@nanahoshi/mona-ui 0.24.10 → 0.25.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/README.md +9 -0
- package/chart/README.md +223 -77
- package/fesm2022/nanahoshi-mona-ui-auto-complete.mjs +11 -10
- package/fesm2022/nanahoshi-mona-ui-avatar.mjs +37 -20
- package/fesm2022/nanahoshi-mona-ui-breadcrumb.mjs +239 -47
- package/fesm2022/nanahoshi-mona-ui-button-group.mjs +184 -31
- package/fesm2022/nanahoshi-mona-ui-button.mjs +47 -11
- package/fesm2022/nanahoshi-mona-ui-calendar.mjs +17 -13
- package/fesm2022/nanahoshi-mona-ui-card.mjs +54 -30
- package/fesm2022/nanahoshi-mona-ui-chart.mjs +1909 -666
- package/fesm2022/nanahoshi-mona-ui-check-box.mjs +112 -31
- package/fesm2022/nanahoshi-mona-ui-chip.mjs +131 -89
- package/fesm2022/nanahoshi-mona-ui-circular-progress-bar.mjs +59 -19
- package/fesm2022/nanahoshi-mona-ui-collapsible.mjs +118 -41
- package/fesm2022/nanahoshi-mona-ui-color-gradient.mjs +243 -212
- package/fesm2022/nanahoshi-mona-ui-color-palette.mjs +155 -86
- package/fesm2022/nanahoshi-mona-ui-color-picker.mjs +161 -131
- package/fesm2022/nanahoshi-mona-ui-combo-box.mjs +12 -11
- package/fesm2022/nanahoshi-mona-ui-common.mjs +18 -1
- package/fesm2022/nanahoshi-mona-ui-date-picker.mjs +10 -9
- package/fesm2022/nanahoshi-mona-ui-datetime-picker.mjs +10 -9
- package/fesm2022/nanahoshi-mona-ui-dialog.mjs +2 -2
- package/fesm2022/nanahoshi-mona-ui-dropdown-button.mjs +2 -2
- package/fesm2022/nanahoshi-mona-ui-dropdown-list.mjs +10 -9
- package/fesm2022/nanahoshi-mona-ui-editor.mjs +25 -24
- package/fesm2022/nanahoshi-mona-ui-expansion-panel.mjs +202 -33
- package/fesm2022/nanahoshi-mona-ui-fieldset.mjs +31 -10
- package/fesm2022/nanahoshi-mona-ui-filter.mjs +1 -1
- package/fesm2022/{nanahoshi-mona-ui-grid-grid-footer-row.component-DhKLnW06.mjs → nanahoshi-mona-ui-grid-grid-footer-row.component-2tVhD2hK.mjs} +2 -2
- package/fesm2022/{nanahoshi-mona-ui-grid-grid-list.component-voGbKOiB.mjs → nanahoshi-mona-ui-grid-grid-list.component-BAN70Wcn.mjs} +4 -4
- package/fesm2022/{nanahoshi-mona-ui-grid-grid-row.component-HQ1Kv6R9.mjs → nanahoshi-mona-ui-grid-grid-row.component-C_kCaA5b.mjs} +7 -7
- package/fesm2022/{nanahoshi-mona-ui-grid-grid-virtual-list.component-PNLJFcuH.mjs → nanahoshi-mona-ui-grid-grid-virtual-list.component-BsNfrAHz.mjs} +4 -4
- package/fesm2022/{nanahoshi-mona-ui-grid-nanahoshi-mona-ui-grid-BO19AVwC.mjs → nanahoshi-mona-ui-grid-nanahoshi-mona-ui-grid-CEfVa7eo.mjs} +27 -29
- package/fesm2022/nanahoshi-mona-ui-grid.mjs +1 -1
- package/fesm2022/nanahoshi-mona-ui-i18n-icu.mjs +146 -5
- package/fesm2022/nanahoshi-mona-ui-internal-filter-input.mjs +2 -2
- package/fesm2022/nanahoshi-mona-ui-internal-indicator-icon.mjs +1 -1
- package/fesm2022/nanahoshi-mona-ui-internal-list.mjs +5 -5
- package/fesm2022/nanahoshi-mona-ui-internal-tree.mjs +7 -7
- package/fesm2022/nanahoshi-mona-ui-internal.mjs +183 -47
- package/fesm2022/nanahoshi-mona-ui-label.mjs +111 -15
- package/fesm2022/nanahoshi-mona-ui-list-box.mjs +1 -1
- package/fesm2022/nanahoshi-mona-ui-list-view.mjs +1 -1
- package/fesm2022/nanahoshi-mona-ui-locales-ar-sa.mjs +111 -5
- package/fesm2022/nanahoshi-mona-ui-locales-de-de.mjs +103 -5
- package/fesm2022/nanahoshi-mona-ui-locales-es-es.mjs +103 -5
- package/fesm2022/nanahoshi-mona-ui-locales-fr-fr.mjs +100 -6
- package/fesm2022/nanahoshi-mona-ui-locales-id-id.mjs +90 -5
- package/fesm2022/nanahoshi-mona-ui-locales-it-it.mjs +103 -5
- package/fesm2022/nanahoshi-mona-ui-locales-ja-jp.mjs +90 -5
- package/fesm2022/nanahoshi-mona-ui-locales-ko-kr.mjs +90 -5
- package/fesm2022/nanahoshi-mona-ui-locales-pt-br.mjs +103 -5
- package/fesm2022/nanahoshi-mona-ui-locales-ru-ru.mjs +105 -5
- package/fesm2022/nanahoshi-mona-ui-locales-tr-tr.mjs +103 -5
- package/fesm2022/nanahoshi-mona-ui-locales-zh-cn.mjs +90 -5
- package/fesm2022/nanahoshi-mona-ui-locales-zh-tw.mjs +90 -5
- package/fesm2022/nanahoshi-mona-ui-menubar.mjs +2 -2
- package/fesm2022/nanahoshi-mona-ui-multi-select.mjs +14 -13
- package/fesm2022/nanahoshi-mona-ui-notification.mjs +1 -1
- package/fesm2022/nanahoshi-mona-ui-numeric-text-box.mjs +13 -12
- package/fesm2022/nanahoshi-mona-ui-otp-input.mjs +192 -56
- package/fesm2022/nanahoshi-mona-ui-pager.mjs +1 -1
- package/fesm2022/nanahoshi-mona-ui-placeholder.mjs +3 -1
- package/fesm2022/nanahoshi-mona-ui-popup-menu.mjs +2 -2
- package/fesm2022/nanahoshi-mona-ui-progress-bar.mjs +60 -29
- package/fesm2022/nanahoshi-mona-ui-radio-button.mjs +334 -37
- package/fesm2022/nanahoshi-mona-ui-rating.mjs +84 -30
- package/fesm2022/nanahoshi-mona-ui-scroll-view.mjs +274 -108
- package/fesm2022/nanahoshi-mona-ui-segmented.mjs +127 -37
- package/fesm2022/nanahoshi-mona-ui-sheet.mjs +2 -2
- package/fesm2022/nanahoshi-mona-ui-sidebar.mjs +595 -170
- package/fesm2022/nanahoshi-mona-ui-skeleton.mjs +3 -2
- package/fesm2022/nanahoshi-mona-ui-slider.mjs +323 -166
- package/fesm2022/nanahoshi-mona-ui-spinner.mjs +167 -82
- package/fesm2022/nanahoshi-mona-ui-split-button.mjs +3 -3
- package/fesm2022/nanahoshi-mona-ui-splitter.mjs +273 -165
- package/fesm2022/nanahoshi-mona-ui-stepper.mjs +219 -132
- package/fesm2022/nanahoshi-mona-ui-switch.mjs +84 -32
- package/fesm2022/nanahoshi-mona-ui-tabs.mjs +337 -116
- package/fesm2022/nanahoshi-mona-ui-text-area.mjs +10 -12
- package/fesm2022/nanahoshi-mona-ui-text-box.mjs +21 -8
- package/fesm2022/nanahoshi-mona-ui-theme.mjs +444 -88
- package/fesm2022/nanahoshi-mona-ui-time-picker.mjs +10 -9
- package/fesm2022/nanahoshi-mona-ui-time-selector.mjs +15 -14
- package/fesm2022/nanahoshi-mona-ui-tooltip.mjs +17 -3
- package/fesm2022/nanahoshi-mona-ui-window.mjs +1 -1
- package/i18n/catalogs/en-US.messages.json +90 -5
- package/locales/ar-sa/ar-sa.messages.json +90 -5
- package/locales/de-de/de-de.messages.json +90 -5
- package/locales/es-es/es-es.messages.json +90 -5
- package/locales/fr-fr/fr-fr.messages.json +91 -6
- package/locales/id-id/id-id.messages.json +90 -5
- package/locales/it-it/it-it.messages.json +90 -5
- package/locales/ja-jp/ja-jp.messages.json +90 -5
- package/locales/ko-kr/ko-kr.messages.json +90 -5
- package/locales/pt-br/pt-br.messages.json +90 -5
- package/locales/ru-ru/ru-ru.messages.json +90 -5
- package/locales/tr-tr/tr-tr.messages.json +90 -5
- package/locales/zh-cn/zh-cn.messages.json +90 -5
- package/locales/zh-tw/zh-tw.messages.json +90 -5
- package/package.json +2 -1
- package/styles.css +156 -0
- package/types/nanahoshi-mona-ui-auto-complete.d.ts +1 -0
- package/types/nanahoshi-mona-ui-avatar.d.ts +18 -11
- package/types/nanahoshi-mona-ui-breadcrumb.d.ts +62 -14
- package/types/nanahoshi-mona-ui-button-group.d.ts +86 -16
- package/types/nanahoshi-mona-ui-button.d.ts +26 -3
- package/types/nanahoshi-mona-ui-calendar.d.ts +1 -0
- package/types/nanahoshi-mona-ui-card.d.ts +22 -6
- package/types/nanahoshi-mona-ui-chart.d.ts +519 -527
- package/types/nanahoshi-mona-ui-check-box.d.ts +54 -13
- package/types/nanahoshi-mona-ui-chip.d.ts +31 -18
- package/types/nanahoshi-mona-ui-circular-progress-bar.d.ts +21 -5
- package/types/nanahoshi-mona-ui-collapsible.d.ts +20 -11
- package/types/nanahoshi-mona-ui-color-gradient.d.ts +62 -36
- package/types/nanahoshi-mona-ui-color-palette.d.ts +65 -27
- package/types/nanahoshi-mona-ui-color-picker.d.ts +64 -23
- package/types/nanahoshi-mona-ui-combo-box.d.ts +1 -0
- package/types/nanahoshi-mona-ui-common.d.ts +28 -2
- package/types/nanahoshi-mona-ui-date-picker.d.ts +1 -0
- package/types/nanahoshi-mona-ui-datetime-picker.d.ts +1 -0
- package/types/nanahoshi-mona-ui-dropdown-list.d.ts +1 -0
- package/types/nanahoshi-mona-ui-editor.d.ts +1 -0
- package/types/nanahoshi-mona-ui-expansion-panel.d.ts +51 -7
- package/types/nanahoshi-mona-ui-fieldset.d.ts +18 -4
- package/types/nanahoshi-mona-ui-grid.d.ts +0 -1
- package/types/nanahoshi-mona-ui-i18n.d.ts +130 -3
- package/types/nanahoshi-mona-ui-internal.d.ts +95 -14
- package/types/nanahoshi-mona-ui-label.d.ts +17 -2
- package/types/nanahoshi-mona-ui-locales-ar-sa.d.ts +85 -0
- package/types/nanahoshi-mona-ui-locales-de-de.d.ts +85 -0
- package/types/nanahoshi-mona-ui-locales-es-es.d.ts +85 -0
- package/types/nanahoshi-mona-ui-locales-fr-fr.d.ts +85 -0
- package/types/nanahoshi-mona-ui-locales-id-id.d.ts +85 -0
- package/types/nanahoshi-mona-ui-locales-it-it.d.ts +85 -0
- package/types/nanahoshi-mona-ui-locales-ja-jp.d.ts +85 -0
- package/types/nanahoshi-mona-ui-locales-ko-kr.d.ts +85 -0
- package/types/nanahoshi-mona-ui-locales-pt-br.d.ts +85 -0
- package/types/nanahoshi-mona-ui-locales-ru-ru.d.ts +85 -0
- package/types/nanahoshi-mona-ui-locales-tr-tr.d.ts +85 -0
- package/types/nanahoshi-mona-ui-locales-zh-cn.d.ts +85 -0
- package/types/nanahoshi-mona-ui-locales-zh-tw.d.ts +85 -0
- package/types/nanahoshi-mona-ui-multi-select.d.ts +1 -0
- package/types/nanahoshi-mona-ui-numeric-text-box.d.ts +1 -0
- package/types/nanahoshi-mona-ui-otp-input.d.ts +49 -12
- package/types/nanahoshi-mona-ui-placeholder.d.ts +2 -1
- package/types/nanahoshi-mona-ui-progress-bar.d.ts +21 -9
- package/types/nanahoshi-mona-ui-radio-button.d.ts +165 -20
- package/types/nanahoshi-mona-ui-rating.d.ts +21 -6
- package/types/nanahoshi-mona-ui-scroll-view.d.ts +59 -27
- package/types/nanahoshi-mona-ui-segmented.d.ts +52 -24
- package/types/nanahoshi-mona-ui-sidebar.d.ts +104 -41
- package/types/nanahoshi-mona-ui-skeleton.d.ts +1 -1
- package/types/nanahoshi-mona-ui-slider.d.ts +99 -35
- package/types/nanahoshi-mona-ui-spinner.d.ts +9 -5
- package/types/nanahoshi-mona-ui-splitter.d.ts +31 -10
- package/types/nanahoshi-mona-ui-stepper.d.ts +58 -12
- package/types/nanahoshi-mona-ui-switch.d.ts +32 -10
- package/types/nanahoshi-mona-ui-tabs.d.ts +75 -20
- package/types/nanahoshi-mona-ui-text-area.d.ts +7 -7
- package/types/nanahoshi-mona-ui-text-box.d.ts +2 -0
- package/types/nanahoshi-mona-ui-theme.d.ts +392 -15
- package/types/nanahoshi-mona-ui-time-picker.d.ts +1 -0
- package/types/nanahoshi-mona-ui-time-selector.d.ts +1 -0
- package/types/nanahoshi-mona-ui-tooltip.d.ts +7 -1
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { C as CellEditEvent, y as GRID_DEFAULT_MESSAGES, z as GridAddCommandDirective, A as GridAddEvent, B as GridCancelCommandDirective, D as GridCancelEvent, E as GridCellTemplateDirective, F as GridColumnComponent, H as GridColumnTitleTemplateDirective, I as GridCommandColumnComponent, J as GridComponent, K as GridContextMenuDirective, L as GridDetailTemplateDirective, M as GridEditCommandDirective, N as GridEditEvent, O as GridEditTemplateDirective, P as GridEditableDirective, Q as GridExportDirective, R as GridFilterableDirective, S as GridFooterTemplateDirective, T as GridGroupFooterTemplateDirective, U as GridGroupableDirective, V as GridHeaderTemplateDirective, W as GridNoDataTemplateDirective, X as GridRemoveCommandDirective, Y as GridRemoveEvent, Z as GridReorderableDirective, _ as GridResizableDirective, $ as GridRowReorderableDirective, a0 as GridSaveCommandDirective, a1 as GridSaveEvent, a2 as GridSelectableDirective, a3 as GridServerBindingDirective, a4 as GridSortableDirective, a5 as GridStatePersistenceDirective, a6 as GridToolbarTemplateDirective, a7 as GridVirtualScrollDirective, a8 as RowEditEvent, a9 as RowReorderEvent } from './nanahoshi-mona-ui-grid-nanahoshi-mona-ui-grid-
|
|
1
|
+
export { C as CellEditEvent, y as GRID_DEFAULT_MESSAGES, z as GridAddCommandDirective, A as GridAddEvent, B as GridCancelCommandDirective, D as GridCancelEvent, E as GridCellTemplateDirective, F as GridColumnComponent, H as GridColumnTitleTemplateDirective, I as GridCommandColumnComponent, J as GridComponent, K as GridContextMenuDirective, L as GridDetailTemplateDirective, M as GridEditCommandDirective, N as GridEditEvent, O as GridEditTemplateDirective, P as GridEditableDirective, Q as GridExportDirective, R as GridFilterableDirective, S as GridFooterTemplateDirective, T as GridGroupFooterTemplateDirective, U as GridGroupableDirective, V as GridHeaderTemplateDirective, W as GridNoDataTemplateDirective, X as GridRemoveCommandDirective, Y as GridRemoveEvent, Z as GridReorderableDirective, _ as GridResizableDirective, $ as GridRowReorderableDirective, a0 as GridSaveCommandDirective, a1 as GridSaveEvent, a2 as GridSelectableDirective, a3 as GridServerBindingDirective, a4 as GridSortableDirective, a5 as GridStatePersistenceDirective, a6 as GridToolbarTemplateDirective, a7 as GridVirtualScrollDirective, a8 as RowEditEvent, a9 as RowReorderEvent } from './nanahoshi-mona-ui-grid-nanahoshi-mona-ui-grid-CEfVa7eo.mjs';
|
|
2
2
|
//# sourceMappingURL=nanahoshi-mona-ui-grid.mjs.map
|
|
@@ -12,7 +12,8 @@ const MONA_MESSAGE_PARAMETERS = {
|
|
|
12
12
|
clear: null
|
|
13
13
|
},
|
|
14
14
|
breadcrumb: {
|
|
15
|
-
breadcrumb: null
|
|
15
|
+
breadcrumb: null,
|
|
16
|
+
showFullPath: null
|
|
16
17
|
},
|
|
17
18
|
buttonGroup: {
|
|
18
19
|
buttonGroup: null
|
|
@@ -44,13 +45,39 @@ const MONA_MESSAGE_PARAMETERS = {
|
|
|
44
45
|
actionsLabel: null
|
|
45
46
|
},
|
|
46
47
|
chart: {
|
|
48
|
+
announcementSeparator: null,
|
|
49
|
+
brushApplied: [{ name: "count", type: "number" }],
|
|
50
|
+
brushCleared: null,
|
|
51
|
+
brushRange: [
|
|
52
|
+
{ name: "from", type: "string" },
|
|
53
|
+
{ name: "to", type: "string" }
|
|
54
|
+
],
|
|
55
|
+
category: null,
|
|
56
|
+
categoryFallbackName: [{ name: "index", type: "number" }],
|
|
57
|
+
categoryRange: [
|
|
58
|
+
{ name: "from", type: "string" },
|
|
59
|
+
{ name: "to", type: "string" }
|
|
60
|
+
],
|
|
47
61
|
change: null,
|
|
62
|
+
changeValue: [{ name: "change", type: "string" }],
|
|
48
63
|
chart: null,
|
|
49
64
|
chartLegend: null,
|
|
65
|
+
chartRoleDescription: null,
|
|
50
66
|
close: null,
|
|
51
67
|
closeAbbreviation: null,
|
|
52
68
|
colorScale: null,
|
|
53
69
|
conversion: null,
|
|
70
|
+
conversionOfPrevious: [{ name: "rate", type: "string" }],
|
|
71
|
+
dataTableTruncated: [
|
|
72
|
+
{ name: "shown", type: "number" },
|
|
73
|
+
{ name: "total", type: "number" }
|
|
74
|
+
],
|
|
75
|
+
decrease: null,
|
|
76
|
+
decreaseAnnouncement: [
|
|
77
|
+
{ name: "delta", type: "string" },
|
|
78
|
+
{ name: "from", type: "string" },
|
|
79
|
+
{ name: "to", type: "string" }
|
|
80
|
+
],
|
|
54
81
|
divergingRangeDescription: [
|
|
55
82
|
{ name: "title", type: "string" },
|
|
56
83
|
{ name: "minimum", type: "string" },
|
|
@@ -58,57 +85,154 @@ const MONA_MESSAGE_PARAMETERS = {
|
|
|
58
85
|
{ name: "maximum", type: "string" }
|
|
59
86
|
],
|
|
60
87
|
dropOff: null,
|
|
88
|
+
dropOffValue: [{ name: "value", type: "string" }],
|
|
61
89
|
falling: null,
|
|
90
|
+
gaugeRange: [
|
|
91
|
+
{ name: "minimum", type: "string" },
|
|
92
|
+
{ name: "maximum", type: "string" }
|
|
93
|
+
],
|
|
62
94
|
high: null,
|
|
63
95
|
highAbbreviation: null,
|
|
96
|
+
increase: null,
|
|
97
|
+
increaseAnnouncement: [
|
|
98
|
+
{ name: "delta", type: "string" },
|
|
99
|
+
{ name: "from", type: "string" },
|
|
100
|
+
{ name: "to", type: "string" }
|
|
101
|
+
],
|
|
102
|
+
itemDeselected: [{ name: "item", type: "string" }],
|
|
103
|
+
itemFallbackName: [{ name: "index", type: "number" }],
|
|
104
|
+
itemSelected: [{ name: "item", type: "string" }],
|
|
105
|
+
keyboardHelp: null,
|
|
64
106
|
labelValueSeparator: null,
|
|
107
|
+
labeledValue: [
|
|
108
|
+
{ name: "label", type: "string" },
|
|
109
|
+
{ name: "value", type: "string" }
|
|
110
|
+
],
|
|
65
111
|
low: null,
|
|
66
112
|
lowAbbreviation: null,
|
|
113
|
+
noChange: null,
|
|
114
|
+
noChangeAnnouncement: [{ name: "value", type: "string" }],
|
|
67
115
|
noData: null,
|
|
116
|
+
ohlcValues: [
|
|
117
|
+
{ name: "open", type: "string" },
|
|
118
|
+
{ name: "high", type: "string" },
|
|
119
|
+
{ name: "low", type: "string" },
|
|
120
|
+
{ name: "close", type: "string" }
|
|
121
|
+
],
|
|
68
122
|
open: null,
|
|
69
123
|
openAbbreviation: null,
|
|
70
124
|
overall: null,
|
|
125
|
+
overallConversion: [{ name: "rate", type: "string" }],
|
|
126
|
+
pannedDown: null,
|
|
127
|
+
pannedLeft: null,
|
|
128
|
+
pannedRight: null,
|
|
129
|
+
pannedUp: null,
|
|
130
|
+
pathSeparator: null,
|
|
131
|
+
pointPosition: [
|
|
132
|
+
{ name: "position", type: "number" },
|
|
133
|
+
{ name: "total", type: "number" }
|
|
134
|
+
],
|
|
71
135
|
range: null,
|
|
72
136
|
rangeDescription: [
|
|
73
137
|
{ name: "title", type: "string" },
|
|
74
138
|
{ name: "minimum", type: "string" },
|
|
75
139
|
{ name: "maximum", type: "string" }
|
|
76
140
|
],
|
|
141
|
+
rangeValue: [
|
|
142
|
+
{ name: "from", type: "string" },
|
|
143
|
+
{ name: "to", type: "string" }
|
|
144
|
+
],
|
|
77
145
|
rising: null,
|
|
78
146
|
runningTotal: null,
|
|
147
|
+
seriesFallbackName: [{ name: "index", type: "number" }],
|
|
148
|
+
seriesHidden: [{ name: "series", type: "string" }],
|
|
149
|
+
seriesShown: [{ name: "series", type: "string" }],
|
|
150
|
+
seriesSummary: [
|
|
151
|
+
{ name: "count", type: "number" },
|
|
152
|
+
{ name: "names", type: "string" }
|
|
153
|
+
],
|
|
154
|
+
seriesValueRange: [
|
|
155
|
+
{ name: "series", type: "string" },
|
|
156
|
+
{ name: "minimum", type: "string" },
|
|
157
|
+
{ name: "maximum", type: "string" }
|
|
158
|
+
],
|
|
159
|
+
shareOfTotal: [{ name: "share", type: "string" }],
|
|
79
160
|
size: null,
|
|
161
|
+
sizeValue: [{ name: "size", type: "string" }],
|
|
162
|
+
stackShare: [{ name: "share", type: "string" }],
|
|
163
|
+
stageFallbackName: [{ name: "index", type: "number" }],
|
|
164
|
+
stagePosition: [
|
|
165
|
+
{ name: "position", type: "number" },
|
|
166
|
+
{ name: "total", type: "number" }
|
|
167
|
+
],
|
|
168
|
+
stepFallbackName: [{ name: "index", type: "number" }],
|
|
169
|
+
stepPosition: [
|
|
170
|
+
{ name: "position", type: "number" },
|
|
171
|
+
{ name: "total", type: "number" }
|
|
172
|
+
],
|
|
173
|
+
subtotal: null,
|
|
174
|
+
subtotalAnnouncement: [{ name: "value", type: "string" }],
|
|
175
|
+
total: null,
|
|
176
|
+
totalAnnouncement: [{ name: "value", type: "string" }],
|
|
177
|
+
treemapGroup: [{ name: "count", type: "number" }],
|
|
178
|
+
treemapLeaf: null,
|
|
80
179
|
unchanged: null,
|
|
81
180
|
value: null,
|
|
82
|
-
|
|
181
|
+
valueRange: [
|
|
182
|
+
{ name: "from", type: "string" },
|
|
183
|
+
{ name: "to", type: "string" }
|
|
184
|
+
],
|
|
185
|
+
viewportResetToDefault: null,
|
|
186
|
+
viewportResetToFull: null,
|
|
187
|
+
visualIndicatorClamped: null,
|
|
188
|
+
zoomedIn: null,
|
|
189
|
+
zoomedOut: null
|
|
83
190
|
},
|
|
84
191
|
chip: {
|
|
85
192
|
removeLabel: [{ name: "label", optional: true, type: "string" }]
|
|
86
193
|
},
|
|
87
194
|
colorGradient: {
|
|
195
|
+
alpha: null,
|
|
196
|
+
alphaText: [{ name: "opacity", type: "number" }],
|
|
88
197
|
apply: null,
|
|
198
|
+
blue: null,
|
|
89
199
|
cancel: null,
|
|
90
200
|
clearColor: null,
|
|
201
|
+
colorCopied: null,
|
|
202
|
+
colorGradient: null,
|
|
91
203
|
copyAsHex: null,
|
|
92
204
|
copyAsRgb: null,
|
|
93
205
|
copyColor: null,
|
|
206
|
+
copyFailed: null,
|
|
94
207
|
currentColor: null,
|
|
208
|
+
green: null,
|
|
209
|
+
hexColor: null,
|
|
210
|
+
hue: null,
|
|
95
211
|
previousColor: null,
|
|
212
|
+
red: null,
|
|
213
|
+
saturation: null,
|
|
96
214
|
saturationAndValue: null,
|
|
97
215
|
saturationAndValueText: [
|
|
98
216
|
{ name: "saturation", type: "number" },
|
|
99
217
|
{ name: "value", type: "number" }
|
|
100
218
|
],
|
|
101
|
-
switchColorMode: null
|
|
219
|
+
switchColorMode: null,
|
|
220
|
+
value: null
|
|
102
221
|
},
|
|
103
222
|
colorPalette: {
|
|
104
223
|
color: [{ name: "color", type: "string" }],
|
|
105
|
-
colorPalette: null
|
|
224
|
+
colorPalette: null,
|
|
225
|
+
namedColor: [
|
|
226
|
+
{ name: "name", type: "string" },
|
|
227
|
+
{ name: "color", type: "string" }
|
|
228
|
+
]
|
|
106
229
|
},
|
|
107
230
|
colorPicker: {
|
|
108
231
|
clearColor: null,
|
|
109
232
|
colorGradientPicker: null,
|
|
110
233
|
colorPalettePicker: null,
|
|
111
|
-
colorPicker: null
|
|
234
|
+
colorPicker: null,
|
|
235
|
+
noColor: null
|
|
112
236
|
},
|
|
113
237
|
comboBox: {
|
|
114
238
|
clear: null
|
|
@@ -318,6 +442,9 @@ const MONA_MESSAGE_PARAMETERS = {
|
|
|
318
442
|
sortOrder: [{ name: "position", type: "number" }],
|
|
319
443
|
toolbar: null
|
|
320
444
|
},
|
|
445
|
+
label: {
|
|
446
|
+
optional: null
|
|
447
|
+
},
|
|
321
448
|
list: {
|
|
322
449
|
filterList: null,
|
|
323
450
|
loading: null,
|
|
@@ -396,6 +523,9 @@ const MONA_MESSAGE_PARAMETERS = {
|
|
|
396
523
|
{ name: "total", type: "number" }
|
|
397
524
|
]
|
|
398
525
|
},
|
|
526
|
+
progressBar: {
|
|
527
|
+
label: null
|
|
528
|
+
},
|
|
399
529
|
rating: {
|
|
400
530
|
notRated: null,
|
|
401
531
|
valueText: [
|
|
@@ -411,6 +541,7 @@ const MONA_MESSAGE_PARAMETERS = {
|
|
|
411
541
|
{ name: "current", type: "number" },
|
|
412
542
|
{ name: "total", type: "number" }
|
|
413
543
|
],
|
|
544
|
+
pages: null,
|
|
414
545
|
previousPage: null,
|
|
415
546
|
scrollPagerNext: null,
|
|
416
547
|
scrollPagerPrevious: null,
|
|
@@ -419,6 +550,10 @@ const MONA_MESSAGE_PARAMETERS = {
|
|
|
419
550
|
sheet: {
|
|
420
551
|
closeSheet: null
|
|
421
552
|
},
|
|
553
|
+
sidebar: {
|
|
554
|
+
drawerLabel: null,
|
|
555
|
+
rail: null
|
|
556
|
+
},
|
|
422
557
|
slider: {
|
|
423
558
|
maximumValue: null,
|
|
424
559
|
minimumValue: null,
|
|
@@ -441,6 +576,12 @@ const MONA_MESSAGE_PARAMETERS = {
|
|
|
441
576
|
resizer: null
|
|
442
577
|
},
|
|
443
578
|
stepper: {
|
|
579
|
+
stepCompleted: null,
|
|
580
|
+
stepInvalid: null,
|
|
581
|
+
stepPosition: [
|
|
582
|
+
{ name: "current", type: "number" },
|
|
583
|
+
{ name: "total", type: "number" }
|
|
584
|
+
],
|
|
444
585
|
stepProgress: null,
|
|
445
586
|
stepper: null
|
|
446
587
|
},
|
|
@@ -125,11 +125,11 @@ class FilterInputComponent {
|
|
|
125
125
|
});
|
|
126
126
|
}
|
|
127
127
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.6", ngImport: i0, type: FilterInputComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
128
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "22.0.6", type: FilterInputComponent, isStandalone: true, selector: "mona-filter-input", inputs: { activeDescendant: { classPropertyName: "activeDescendant", publicName: "activeDescendant", isSignal: true, isRequired: false, transformFunction: null }, ariaControls: { classPropertyName: "ariaControls", publicName: "ariaControls", isSignal: true, isRequired: false, transformFunction: null }, ariaLabel: { classPropertyName: "ariaLabel", publicName: "ariaLabel", isSignal: true, isRequired: false, transformFunction: null }, autoFocus: { classPropertyName: "autoFocus", publicName: "autoFocus", isSignal: true, isRequired: false, transformFunction: null }, controls: { classPropertyName: "controls", publicName: "controls", isSignal: true, isRequired: false, transformFunction: null }, debounce: { classPropertyName: "debounce", publicName: "debounce", isSignal: true, isRequired: false, transformFunction: null }, filter: { classPropertyName: "filter", publicName: "filter", isSignal: true, isRequired: false, transformFunction: null }, placeholder: { classPropertyName: "placeholder", publicName: "placeholder", isSignal: true, isRequired: false, transformFunction: null }, size: { classPropertyName: "size", publicName: "size", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { filterChange: "filterChange", inputBlur: "inputBlur", inputFocus: "inputFocus" }, ngImport: i0, template: "<mona-text-box\n [ngModel]=\"filterText()\"\n [clearButton]=\"true\"\n [placeholder]=\"placeholder()\"\n (inputFocus)=\"inputFocus.emit($event)\"\n (inputBlur)=\"inputBlur.emit($event)\"\n [inputAttributes]=\"inputAttributes()\"\n [size]=\"size()\"\n class=\"outline-none shadow-none focus-within:ring-1 focus-within:ring-primary/40\"\n (ngModelChange)=\"filter$.next($event)\">\n <ng-template monaTextBoxPrefixTemplate>\n <div class=\"h-full flex items-center justify-center ps-2\">\n <svg lucideSearch [size]=\"16\" aria-hidden=\"true\"></svg>\n </div>\n </ng-template>\n</mona-text-box>\n", dependencies: [{ kind: "component", type: LucideSearch, selector: "svg[lucideSearch]" }, { kind: "component", type: TextBoxComponent, selector: "mona-text-box", inputs: ["aria-describedby", "aria-label", "aria-labelledby", "clearButton", "disabled", "inputAttributes", "inputClass", "inputId", "inputStyle", "invalid", "maxLength", "minLength", "name", "placeholder", "readonly", "required", "rounded", "size", "touched", "type", "class", "value"], outputs: ["inputBlur", "inputFocus", "touch", "valueChange"] }, { kind: "ngmodule", type: FormsModule }, { kind: "directive", type: i1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "directive", type: TextBoxPrefixTemplateDirective, selector: "ng-template[monaTextBoxPrefixTemplate]" }] }); }
|
|
128
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.1.0", version: "22.0.6", type: FilterInputComponent, isStandalone: true, selector: "mona-filter-input", inputs: { activeDescendant: { classPropertyName: "activeDescendant", publicName: "activeDescendant", isSignal: true, isRequired: false, transformFunction: null }, ariaControls: { classPropertyName: "ariaControls", publicName: "ariaControls", isSignal: true, isRequired: false, transformFunction: null }, ariaLabel: { classPropertyName: "ariaLabel", publicName: "ariaLabel", isSignal: true, isRequired: false, transformFunction: null }, autoFocus: { classPropertyName: "autoFocus", publicName: "autoFocus", isSignal: true, isRequired: false, transformFunction: null }, controls: { classPropertyName: "controls", publicName: "controls", isSignal: true, isRequired: false, transformFunction: null }, debounce: { classPropertyName: "debounce", publicName: "debounce", isSignal: true, isRequired: false, transformFunction: null }, filter: { classPropertyName: "filter", publicName: "filter", isSignal: true, isRequired: false, transformFunction: null }, placeholder: { classPropertyName: "placeholder", publicName: "placeholder", isSignal: true, isRequired: false, transformFunction: null }, size: { classPropertyName: "size", publicName: "size", isSignal: true, isRequired: false, transformFunction: null } }, outputs: { filterChange: "filterChange", inputBlur: "inputBlur", inputFocus: "inputFocus" }, ngImport: i0, template: "<mona-text-box\n [ngModel]=\"filterText()\"\n [clearButton]=\"true\"\n [placeholder]=\"placeholder()\"\n (inputFocus)=\"inputFocus.emit($event)\"\n (inputBlur)=\"inputBlur.emit($event)\"\n [inputAttributes]=\"inputAttributes()\"\n [size]=\"size()\"\n class=\"outline-none focus-visible:outline-hidden shadow-none focus-within:ring-1 focus-within:ring-primary/40\"\n (ngModelChange)=\"filter$.next($event)\">\n <ng-template monaTextBoxPrefixTemplate>\n <div class=\"h-full flex items-center justify-center ps-2\">\n <svg lucideSearch [size]=\"16\" aria-hidden=\"true\"></svg>\n </div>\n </ng-template>\n</mona-text-box>\n", dependencies: [{ kind: "component", type: LucideSearch, selector: "svg[lucideSearch]" }, { kind: "component", type: TextBoxComponent, selector: "mona-text-box", inputs: ["aria-describedby", "aria-label", "aria-labelledby", "clearButton", "disabled", "inputAttributes", "inputClass", "inputId", "inputStyle", "invalid", "maxLength", "minLength", "name", "placeholder", "readonly", "required", "rounded", "size", "touched", "type", "class", "value"], outputs: ["inputBlur", "inputFocus", "touch", "valueChange"] }, { kind: "ngmodule", type: FormsModule }, { kind: "directive", type: i1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "directive", type: TextBoxPrefixTemplateDirective, selector: "ng-template[monaTextBoxPrefixTemplate]" }] }); }
|
|
129
129
|
}
|
|
130
130
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.6", ngImport: i0, type: FilterInputComponent, decorators: [{
|
|
131
131
|
type: Component,
|
|
132
|
-
args: [{ selector: "mona-filter-input", imports: [LucideSearch, TextBoxComponent, FormsModule, TextBoxPrefixTemplateDirective], template: "<mona-text-box\n [ngModel]=\"filterText()\"\n [clearButton]=\"true\"\n [placeholder]=\"placeholder()\"\n (inputFocus)=\"inputFocus.emit($event)\"\n (inputBlur)=\"inputBlur.emit($event)\"\n [inputAttributes]=\"inputAttributes()\"\n [size]=\"size()\"\n class=\"outline-none shadow-none focus-within:ring-1 focus-within:ring-primary/40\"\n (ngModelChange)=\"filter$.next($event)\">\n <ng-template monaTextBoxPrefixTemplate>\n <div class=\"h-full flex items-center justify-center ps-2\">\n <svg lucideSearch [size]=\"16\" aria-hidden=\"true\"></svg>\n </div>\n </ng-template>\n</mona-text-box>\n" }]
|
|
132
|
+
args: [{ selector: "mona-filter-input", imports: [LucideSearch, TextBoxComponent, FormsModule, TextBoxPrefixTemplateDirective], template: "<mona-text-box\n [ngModel]=\"filterText()\"\n [clearButton]=\"true\"\n [placeholder]=\"placeholder()\"\n (inputFocus)=\"inputFocus.emit($event)\"\n (inputBlur)=\"inputBlur.emit($event)\"\n [inputAttributes]=\"inputAttributes()\"\n [size]=\"size()\"\n class=\"outline-none focus-visible:outline-hidden shadow-none focus-within:ring-1 focus-within:ring-primary/40\"\n (ngModelChange)=\"filter$.next($event)\">\n <ng-template monaTextBoxPrefixTemplate>\n <div class=\"h-full flex items-center justify-center ps-2\">\n <svg lucideSearch [size]=\"16\" aria-hidden=\"true\"></svg>\n </div>\n </ng-template>\n</mona-text-box>\n" }]
|
|
133
133
|
}], ctorParameters: () => [], propDecorators: { activeDescendant: [{ type: i0.Input, args: [{ isSignal: true, alias: "activeDescendant", required: false }] }], ariaControls: [{ type: i0.Input, args: [{ isSignal: true, alias: "ariaControls", required: false }] }], ariaLabel: [{ type: i0.Input, args: [{ isSignal: true, alias: "ariaLabel", required: false }] }], autoFocus: [{ type: i0.Input, args: [{ isSignal: true, alias: "autoFocus", required: false }] }], controls: [{ type: i0.Input, args: [{ isSignal: true, alias: "controls", required: false }] }], debounce: [{ type: i0.Input, args: [{ isSignal: true, alias: "debounce", required: false }] }], filter: [{ type: i0.Input, args: [{ isSignal: true, alias: "filter", required: false }] }], filterChange: [{ type: i0.Output, args: ["filterChange"] }], inputBlur: [{ type: i0.Output, args: ["inputBlur"] }], inputFocus: [{ type: i0.Output, args: ["inputFocus"] }], placeholder: [{ type: i0.Input, args: [{ isSignal: true, alias: "placeholder", required: false }] }], size: [{ type: i0.Input, args: [{ isSignal: true, alias: "size", required: false }] }] } });
|
|
134
134
|
|
|
135
135
|
/*
|
|
@@ -10,7 +10,7 @@ const indicatorIconHostThemeVariants = cva(`h-full aspect-square flex-none inlin
|
|
|
10
10
|
true: `
|
|
11
11
|
text-muted-foreground
|
|
12
12
|
hover:text-foreground
|
|
13
|
-
focus-visible:ring-2 focus-visible:ring-focus-indicator/35 focus-visible:outline-
|
|
13
|
+
focus-visible:ring-2 focus-visible:ring-focus-indicator/35 focus-visible:outline-hidden
|
|
14
14
|
`,
|
|
15
15
|
false: ""
|
|
16
16
|
},
|
|
@@ -4,7 +4,7 @@ import * as i0 from '@angular/core';
|
|
|
4
4
|
import { Directive, computed, signal, inject, linkedSignal, Injectable, input, ElementRef, Component, DestroyRef, viewChild, contentChild, TemplateRef, booleanAttribute, output, effect, untracked, afterRenderEffect, afterNextRender, InjectionToken } from '@angular/core';
|
|
5
5
|
import { takeUntilDestroyed } from '@angular/core/rxjs-interop';
|
|
6
6
|
import { MonaI18nService } from '@nanahoshi/mona-ui/i18n';
|
|
7
|
-
import { createElementControlId, isTypeaheadKey, setupTypeahead } from '@nanahoshi/mona-ui/internal';
|
|
7
|
+
import { themeSelectionBarClasses, createElementControlId, isTypeaheadKey, setupTypeahead } from '@nanahoshi/mona-ui/internal';
|
|
8
8
|
import { FilterInputComponent } from '@nanahoshi/mona-ui/internal/filter-input';
|
|
9
9
|
import { PlaceholderComponent } from '@nanahoshi/mona-ui/placeholder';
|
|
10
10
|
import { Subject, ReplaySubject, fromEvent, asyncScheduler, filter, tap } from 'rxjs';
|
|
@@ -974,8 +974,8 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.6", ngImpor
|
|
|
974
974
|
type: Injectable
|
|
975
975
|
}] });
|
|
976
976
|
|
|
977
|
-
const listThemeVariants = cva(`flex h-full flex-col overflow-hidden outline-none`);
|
|
978
|
-
const listInnerListThemeVariants = cva(`m-0 h-full list-none overflow-x-hidden overflow-y-auto p-0 outline-none [scrollbar-color:var(--color-scrollbar-thumb)_var(--color-scrollbar-track)] [scrollbar-width:thin]`);
|
|
977
|
+
const listThemeVariants = cva(`flex h-full flex-col overflow-hidden outline-none focus-visible:outline-hidden`);
|
|
978
|
+
const listInnerListThemeVariants = cva(`m-0 h-full list-none overflow-x-hidden overflow-y-auto p-0 outline-none focus-visible:outline-hidden [scrollbar-color:var(--color-scrollbar-thumb)_var(--color-scrollbar-track)] [scrollbar-width:thin]`);
|
|
979
979
|
const listGroupHeaderThemeVariants = cva(``, {
|
|
980
980
|
variants: {
|
|
981
981
|
hasTemplate: {
|
|
@@ -991,7 +991,7 @@ const listGroupHeaderTextThemeVariants = cva(`select-none text-muted-foreground`
|
|
|
991
991
|
});
|
|
992
992
|
const listItemBaseThemeVariants = cva(`flex h-full w-full items-center gap-2`);
|
|
993
993
|
// Focus and the active option share the grid's ring: solid 2px, inset, at full strength.
|
|
994
|
-
const listItemContentThemeVariants = cva(`relative flex cursor-default select-none items-center px-3 py-1 text-foreground outline-none focus-visible:inset-ring-2 focus-visible:inset-ring-focus-indicator`, {
|
|
994
|
+
const listItemContentThemeVariants = cva(`relative flex cursor-default select-none items-center px-3 py-1 text-foreground outline-none focus-visible:outline-hidden focus-visible:inset-ring-2 focus-visible:inset-ring-focus-indicator`, {
|
|
995
995
|
variants: {
|
|
996
996
|
checkboxes: { true: "gap-2", false: "" },
|
|
997
997
|
selectable: { true: "hover:bg-hover focus:bg-hover", false: "" },
|
|
@@ -1014,7 +1014,7 @@ const listItemContentThemeVariants = cva(`relative flex cursor-default select-no
|
|
|
1014
1014
|
{
|
|
1015
1015
|
selected: true,
|
|
1016
1016
|
checkboxes: false,
|
|
1017
|
-
class:
|
|
1017
|
+
class: `bg-(--color-selected) text-(--color-selected-foreground) hover:bg-(--color-selected-hover) hover:text-(--color-selected-hover-foreground) focus:bg-(--color-selected-focus) focus:text-(--color-selected-focus-foreground) ${themeSelectionBarClasses}`
|
|
1018
1018
|
},
|
|
1019
1019
|
{
|
|
1020
1020
|
highlighted: true,
|
|
@@ -3,7 +3,7 @@ import * as i0 from '@angular/core';
|
|
|
3
3
|
import { Directive, signal, computed, inject, DestroyRef, effect, untracked, Injectable, Pipe, input, Component, DOCUMENT, NgZone, ElementRef, afterRenderEffect, Injector, contentChild, TemplateRef, afterNextRender } from '@angular/core';
|
|
4
4
|
import { toObservable, toSignal, takeUntilDestroyed } from '@angular/core/rxjs-interop';
|
|
5
5
|
import { formatNumber, MonaI18nService, injectComponentDirection } from '@nanahoshi/mona-ui/i18n';
|
|
6
|
-
import { themeOverlaySurfaceClasses, isTypeaheadKey, setupTypeahead } from '@nanahoshi/mona-ui/internal';
|
|
6
|
+
import { themeSelectionBarClasses, themeOverlaySurfaceClasses, isTypeaheadKey, setupTypeahead } from '@nanahoshi/mona-ui/internal';
|
|
7
7
|
import { Subject, BehaviorSubject, ReplaySubject, distinctUntilChanged, Observable, take, filter, tap, map, asapScheduler, fromEvent, switchMap, merge, takeWhile } from 'rxjs';
|
|
8
8
|
import { PreventableEvent } from '@nanahoshi/mona-ui/common';
|
|
9
9
|
import { ImmutableSet, List, from, sequenceEqual, EnumerableSet, forEach } from '@mirei/ts-collections';
|
|
@@ -1551,11 +1551,11 @@ const subTreeListThemeVariants = cva(`
|
|
|
1551
1551
|
flex list-none flex-col
|
|
1552
1552
|
`);
|
|
1553
1553
|
const subTreeListItemThemeVariants = cva(`
|
|
1554
|
-
relative overflow-hidden outline-none
|
|
1554
|
+
relative overflow-hidden outline-none focus-visible:outline-hidden
|
|
1555
1555
|
ps-6
|
|
1556
1556
|
`);
|
|
1557
1557
|
const treeBaseThemeVariants = cva(`
|
|
1558
|
-
relative outline-none select-none
|
|
1558
|
+
relative outline-none focus-visible:outline-hidden select-none
|
|
1559
1559
|
text-base
|
|
1560
1560
|
`, {
|
|
1561
1561
|
variants: {
|
|
@@ -1569,14 +1569,14 @@ const treeBaseThemeVariants = cva(`
|
|
|
1569
1569
|
const treeDropHintBaseThemeVariants = cva(`
|
|
1570
1570
|
fixed z-1 h-0.5 w-10
|
|
1571
1571
|
pointer-events-none
|
|
1572
|
-
bg-primary opacity-80
|
|
1572
|
+
bg-[var(--mona-indicator-color,var(--color-primary))] opacity-80
|
|
1573
1573
|
`);
|
|
1574
1574
|
const treeDropHintIconThemeVariants = cva(`
|
|
1575
1575
|
absolute flex items-center justify-center
|
|
1576
1576
|
-top-2.25 -start-3.5 text-xl rtl:rotate-180
|
|
1577
1577
|
`);
|
|
1578
1578
|
const treeNodeBaseThemeVariants = cva(`
|
|
1579
|
-
cursor-default px-2 py-1 text-foreground
|
|
1579
|
+
relative cursor-default px-2 py-1 text-foreground
|
|
1580
1580
|
`, {
|
|
1581
1581
|
variants: {
|
|
1582
1582
|
disabled: {
|
|
@@ -1588,7 +1588,7 @@ const treeNodeBaseThemeVariants = cva(`
|
|
|
1588
1588
|
false: ""
|
|
1589
1589
|
},
|
|
1590
1590
|
selected: {
|
|
1591
|
-
true:
|
|
1591
|
+
true: `bg-active text-foreground ${themeSelectionBarClasses}`,
|
|
1592
1592
|
false: ""
|
|
1593
1593
|
}
|
|
1594
1594
|
},
|
|
@@ -2034,7 +2034,7 @@ class SubTreeComponent {
|
|
|
2034
2034
|
element.focus();
|
|
2035
2035
|
}
|
|
2036
2036
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.6", ngImport: i0, type: SubTreeComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
2037
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.0.6", type: SubTreeComponent, isStandalone: true, selector: "mona-sub-tree", inputs: { depth: { classPropertyName: "depth", publicName: "depth", isSignal: true, isRequired: true, transformFunction: null }, nodes: { classPropertyName: "nodes", publicName: "nodes", isSignal: true, isRequired: true, transformFunction: null }, parent: { classPropertyName: "parent", publicName: "parent", isSignal: true, isRequired: true, transformFunction: null } }, ngImport: i0, template: "<ul\n [class]=\"listClass()\"\n [attr.role]=\"parent() ? 'group' : 'none'\"\n cdkDropList\n [cdkDropListSortingDisabled]=\"true\"\n (cdkDropListDropped)=\"onNodeDrop($event)\">\n @for (node of visibleNodes(); track node.uid) {\n <li\n [attr.id]=\"node.uid | treeNodeElementId\"\n [attr.data-uid]=\"node.uid\"\n [class]=\"listItemClass()\"\n [tabindex]=\"-1\"\n role=\"treeitem\"\n [attr.aria-level]=\"depth() + 1\"\n [attr.aria-setsize]=\"visibleNodes().length\"\n [attr.aria-posinset]=\"$index + 1\"\n [attr.aria-labelledby]=\"(node.uid | treeNodeElementId) + '-label'\"\n [attr.aria-describedby]=\"node.loadFailed() ? (node.uid | treeNodeElementId) + '-error' : null\"\n [attr.aria-expanded]=\"nodeComponent.expandable() ? nodeComponent.expanded() : null\"\n [attr.aria-busy]=\"node.loading() || null\"\n [attr.aria-selected]=\"selectionReported() ? nodeComponent.selected() : null\"\n [attr.aria-disabled]=\"nodeComponent.disabled() ? true : null\"\n [attr.aria-checked]=\"\n nodeComponent.checkable() ? (nodeComponent.indeterminate() ? 'mixed' : nodeComponent.checked()) : null\n \"\n (focus)=\"treeService.navigatedNode.set(node)\"\n cdkDrag\n [cdkDragData]=\"node\"\n [cdkDragDisabled]=\"!treeService.draggableOptions().enabled\"\n (cdkDragStarted)=\"onNodeDragStart($event)\"\n (cdkDragEnded)=\"onNodeDragEnd($event)\"\n (cdkDragMoved)=\"onNodeDragMove($event, node)\">\n <div [class]=\"nodeContainerClass()\">\n @if (treeService.expandableOptions().enabled && nodeComponent.expandable()) {\n <button\n type=\"button\"\n tabindex=\"-1\"\n [class]=\"nodeExpanderClass()\"\n [class.mona-disabled]=\"nodeComponent.disabled()\"\n [disabled]=\"nodeComponent.disabled()\"\n [attr.aria-label]=\"expanderLabel(node, nodeComponent.expanded(), nodeComponent.nodeText())\"\n (click)=\"onExpandStateChange(node)\">\n @if (node.loading()) {\n <svg lucideLoaderCircle [size]=\"16\" aria-hidden=\"true\" class=\"animate-spin\"></svg>\n } @else if (node.loadFailed()) {\n <svg lucideCircleAlert [size]=\"16\" aria-hidden=\"true\" class=\"text-error\"></svg>\n } @else if (nodeComponent.expanded()) {\n <svg lucideChevronDown [size]=\"16\" aria-hidden=\"true\"></svg>\n } @else {\n <svg lucideChevronRight [size]=\"16\" aria-hidden=\"true\" class=\"rtl:rotate-180\"></svg>\n }\n </button>\n }\n @if (nodeComponent.checkable()) {\n <mona-check-box\n aria-hidden=\"true\"\n [tabIndex]=\"-1\"\n [disabled]=\"nodeComponent.disabled()\"\n [indeterminate]=\"nodeComponent.indeterminate()\"\n [ngModel]=\"nodeComponent.checked()\"\n (click)=\"nodeComponent.checkboxClick$.next($event)\"\n (ngModelChange)=\"nodeComponent.checkboxCheck$.next($event)\"></mona-check-box>\n }\n <mona-tree-node\n [id]=\"(node.uid | treeNodeElementId) + '-label'\"\n [node]=\"node\"\n [depth]=\"depth()\"\n #nodeComponent></mona-tree-node>\n @if (node.loadFailed()) {\n <span [id]=\"(node.uid | treeNodeElementId) + '-error'\" class=\"sr-only\">{{\n messages().loadError(nodeComponent.nodeText())\n }}</span>\n }\n </div>\n @if (node.children().length > 0 && nodeComponent.expanded()) {\n <div\n class=\"grid overflow-hidden\"\n [animate.enter]=\"nodeExpandEnterClass()\"\n [animate.leave]=\"nodeExpandLeaveClass()\">\n <div class=\"min-h-0 overflow-hidden\">\n <mona-sub-tree [nodes]=\"node.children()\" [depth]=\"depth() + 1\" [parent]=\"node\"></mona-sub-tree>\n </div>\n </div>\n }\n @if (!nodeComponent.disabled()) {\n <div *cdkDragPreview [class]=\"nodeDraggingClass()\">\n <span>\n @switch (treeService.dropPositionSignal()?.position) {\n @case (\"before\") {\n @if (treeService.dropAllowed()) {\n <svg lucideArrowUp [size]=\"16\" aria-hidden=\"true\"></svg>\n } @else {\n <svg lucideBan [size]=\"16\" aria-hidden=\"true\"></svg>\n }\n }\n @case (\"after\") {\n @if (treeService.dropAllowed()) {\n <svg lucideArrowDown [size]=\"16\" aria-hidden=\"true\"></svg>\n } @else {\n <svg lucideBan [size]=\"16\" aria-hidden=\"true\"></svg>\n }\n }\n @case (\"inside\") {\n <svg lucidePlus [size]=\"16\" aria-hidden=\"true\"></svg>\n }\n @default {\n <svg lucideBan [size]=\"16\" aria-hidden=\"true\"></svg>\n }\n }\n </span>\n <span>{{ nodeComponent.nodeText() }}</span>\n </div>\n } @else {\n <div *cdkDragPreview [class]=\"nodeDraggingClass()\"></div>\n }\n </li>\n }\n</ul>\n", styles: [".mona-tree-node-expand-enter{animation:mona-tree-node-expand-in .15s ease-out}.mona-tree-node-expand-leave{animation:mona-tree-node-expand-out .15s ease-out}@keyframes mona-tree-node-expand-in{0%{grid-template-rows:0fr;opacity:0}to{grid-template-rows:1fr;opacity:1}}@keyframes mona-tree-node-expand-out{0%{grid-template-rows:1fr;opacity:1}to{grid-template-rows:0fr;opacity:0}}@media(prefers-reduced-motion:reduce){.mona-tree-node-expand-enter,.mona-tree-node-expand-leave{animation-duration:1ms}}\n"], dependencies: [{ kind: "component", type: SubTreeComponent, selector: "mona-sub-tree", inputs: ["depth", "nodes", "parent"] }, { kind: "component", type: LucideArrowDown, selector: "svg[lucideArrowDown]" }, { kind: "component", type: LucideArrowUp, selector: "svg[lucideArrowUp]" }, { kind: "component", type: LucideBan, selector: "svg[lucideBan]" }, { kind: "component", type: LucideChevronDown, selector: "svg[lucideChevronDown]" }, { kind: "component", type: LucideChevronRight, selector: "svg[lucideChevronRight]" }, { kind: "component", type: LucideCircleAlert, selector: "svg[lucideCircleAlert], svg[lucideAlertCircle]" }, { kind: "component", type: LucideLoaderCircle, selector: "svg[lucideLoaderCircle], svg[lucideLoader2]" }, { kind: "component", type: LucidePlus, selector: "svg[lucidePlus]" }, { kind: "component", type: TreeNodeComponent, selector: "mona-tree-node", inputs: ["depth", "node"] }, { kind: "ngmodule", type: FormsModule }, { kind: "directive", type: i1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "directive", type: CdkDropList, selector: "[cdkDropList], cdk-drop-list", inputs: ["cdkDropListConnectedTo", "cdkDropListData", "cdkDropListOrientation", "id", "cdkDropListLockAxis", "cdkDropListDisabled", "cdkDropListSortingDisabled", "cdkDropListEnterPredicate", "cdkDropListSortPredicate", "cdkDropListAutoScrollDisabled", "cdkDropListAutoScrollStep", "cdkDropListElementContainer", "cdkDropListHasAnchor"], outputs: ["cdkDropListDropped", "cdkDropListEntered", "cdkDropListExited", "cdkDropListSorted"], exportAs: ["cdkDropList"] }, { kind: "directive", type: CdkDrag, selector: "[cdkDrag]", inputs: ["cdkDragData", "cdkDragLockAxis", "cdkDragRootElement", "cdkDragBoundary", "cdkDragStartDelay", "cdkDragFreeDragPosition", "cdkDragDisabled", "cdkDragConstrainPosition", "cdkDragPreviewClass", "cdkDragPreviewContainer", "cdkDragScale"], outputs: ["cdkDragStarted", "cdkDragReleased", "cdkDragEnded", "cdkDragEntered", "cdkDragExited", "cdkDragDropped", "cdkDragMoved"], exportAs: ["cdkDrag"] }, { kind: "directive", type: CdkDragPreview, selector: "ng-template[cdkDragPreview]", inputs: ["data", "matchSize"] }, { kind: "component", type: CheckBoxComponent, selector: "mona-check-box", inputs: ["aria-describedby", "aria-label", "checked", "disabled", "indeterminate", "invalid", "label", "labelPosition", "labelSize", "required", "rounded", "tabIndex", "touched", "class"], outputs: ["checkedChange", "inputBlur", "inputChange", "inputFocus", "touch"] }, { kind: "pipe", type: TreeNodeElementIdPipe, name: "treeNodeElementId" }] }); }
|
|
2037
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.0.0", version: "22.0.6", type: SubTreeComponent, isStandalone: true, selector: "mona-sub-tree", inputs: { depth: { classPropertyName: "depth", publicName: "depth", isSignal: true, isRequired: true, transformFunction: null }, nodes: { classPropertyName: "nodes", publicName: "nodes", isSignal: true, isRequired: true, transformFunction: null }, parent: { classPropertyName: "parent", publicName: "parent", isSignal: true, isRequired: true, transformFunction: null } }, ngImport: i0, template: "<ul\n [class]=\"listClass()\"\n [attr.role]=\"parent() ? 'group' : 'none'\"\n cdkDropList\n [cdkDropListSortingDisabled]=\"true\"\n (cdkDropListDropped)=\"onNodeDrop($event)\">\n @for (node of visibleNodes(); track node.uid) {\n <li\n [attr.id]=\"node.uid | treeNodeElementId\"\n [attr.data-uid]=\"node.uid\"\n [class]=\"listItemClass()\"\n [tabindex]=\"-1\"\n role=\"treeitem\"\n [attr.aria-level]=\"depth() + 1\"\n [attr.aria-setsize]=\"visibleNodes().length\"\n [attr.aria-posinset]=\"$index + 1\"\n [attr.aria-labelledby]=\"(node.uid | treeNodeElementId) + '-label'\"\n [attr.aria-describedby]=\"node.loadFailed() ? (node.uid | treeNodeElementId) + '-error' : null\"\n [attr.aria-expanded]=\"nodeComponent.expandable() ? nodeComponent.expanded() : null\"\n [attr.aria-busy]=\"node.loading() || null\"\n [attr.aria-selected]=\"selectionReported() ? nodeComponent.selected() : null\"\n [attr.aria-disabled]=\"nodeComponent.disabled() ? true : null\"\n [attr.aria-checked]=\"\n nodeComponent.checkable() ? (nodeComponent.indeterminate() ? 'mixed' : nodeComponent.checked()) : null\n \"\n (focus)=\"treeService.navigatedNode.set(node)\"\n cdkDrag\n [cdkDragData]=\"node\"\n [cdkDragDisabled]=\"!treeService.draggableOptions().enabled\"\n (cdkDragStarted)=\"onNodeDragStart($event)\"\n (cdkDragEnded)=\"onNodeDragEnd($event)\"\n (cdkDragMoved)=\"onNodeDragMove($event, node)\">\n <div [class]=\"nodeContainerClass()\">\n @if (treeService.expandableOptions().enabled && nodeComponent.expandable()) {\n <button\n type=\"button\"\n tabindex=\"-1\"\n [class]=\"nodeExpanderClass()\"\n [class.mona-disabled]=\"nodeComponent.disabled()\"\n [disabled]=\"nodeComponent.disabled()\"\n [attr.aria-label]=\"expanderLabel(node, nodeComponent.expanded(), nodeComponent.nodeText())\"\n (click)=\"onExpandStateChange(node)\">\n @if (node.loading()) {\n <svg lucideLoaderCircle [size]=\"16\" aria-hidden=\"true\" class=\"animate-spin\"></svg>\n } @else if (node.loadFailed()) {\n <svg lucideCircleAlert [size]=\"16\" aria-hidden=\"true\" class=\"text-error\"></svg>\n } @else if (nodeComponent.expanded()) {\n <svg lucideChevronDown [size]=\"16\" aria-hidden=\"true\"></svg>\n } @else {\n <svg lucideChevronRight [size]=\"16\" aria-hidden=\"true\" class=\"rtl:rotate-180\"></svg>\n }\n </button>\n }\n @if (nodeComponent.checkable()) {\n <mona-check-box\n aria-hidden=\"true\"\n [tabIndex]=\"-1\"\n [disabled]=\"nodeComponent.disabled()\"\n [indeterminate]=\"nodeComponent.indeterminate()\"\n [ngModel]=\"nodeComponent.checked()\"\n (click)=\"nodeComponent.checkboxClick$.next($event)\"\n (ngModelChange)=\"nodeComponent.checkboxCheck$.next($event)\"></mona-check-box>\n }\n <mona-tree-node\n [id]=\"(node.uid | treeNodeElementId) + '-label'\"\n [node]=\"node\"\n [depth]=\"depth()\"\n #nodeComponent></mona-tree-node>\n @if (node.loadFailed()) {\n <span [id]=\"(node.uid | treeNodeElementId) + '-error'\" class=\"sr-only\">{{\n messages().loadError(nodeComponent.nodeText())\n }}</span>\n }\n </div>\n @if (node.children().length > 0 && nodeComponent.expanded()) {\n <div\n class=\"grid overflow-hidden\"\n [animate.enter]=\"nodeExpandEnterClass()\"\n [animate.leave]=\"nodeExpandLeaveClass()\">\n <div class=\"min-h-0 overflow-hidden\">\n <mona-sub-tree [nodes]=\"node.children()\" [depth]=\"depth() + 1\" [parent]=\"node\"></mona-sub-tree>\n </div>\n </div>\n }\n @if (!nodeComponent.disabled()) {\n <div *cdkDragPreview [class]=\"nodeDraggingClass()\">\n <span>\n @switch (treeService.dropPositionSignal()?.position) {\n @case (\"before\") {\n @if (treeService.dropAllowed()) {\n <svg lucideArrowUp [size]=\"16\" aria-hidden=\"true\"></svg>\n } @else {\n <svg lucideBan [size]=\"16\" aria-hidden=\"true\"></svg>\n }\n }\n @case (\"after\") {\n @if (treeService.dropAllowed()) {\n <svg lucideArrowDown [size]=\"16\" aria-hidden=\"true\"></svg>\n } @else {\n <svg lucideBan [size]=\"16\" aria-hidden=\"true\"></svg>\n }\n }\n @case (\"inside\") {\n <svg lucidePlus [size]=\"16\" aria-hidden=\"true\"></svg>\n }\n @default {\n <svg lucideBan [size]=\"16\" aria-hidden=\"true\"></svg>\n }\n }\n </span>\n <span>{{ nodeComponent.nodeText() }}</span>\n </div>\n } @else {\n <div *cdkDragPreview [class]=\"nodeDraggingClass()\"></div>\n }\n </li>\n }\n</ul>\n", styles: [".mona-tree-node-expand-enter{animation:mona-tree-node-expand-in .15s ease-out}.mona-tree-node-expand-leave{animation:mona-tree-node-expand-out .15s ease-out}@keyframes mona-tree-node-expand-in{0%{grid-template-rows:0fr;opacity:0}to{grid-template-rows:1fr;opacity:1}}@keyframes mona-tree-node-expand-out{0%{grid-template-rows:1fr;opacity:1}to{grid-template-rows:0fr;opacity:0}}@media(prefers-reduced-motion:reduce){.mona-tree-node-expand-enter,.mona-tree-node-expand-leave{animation-duration:1ms}}\n"], dependencies: [{ kind: "component", type: SubTreeComponent, selector: "mona-sub-tree", inputs: ["depth", "nodes", "parent"] }, { kind: "component", type: LucideArrowDown, selector: "svg[lucideArrowDown]" }, { kind: "component", type: LucideArrowUp, selector: "svg[lucideArrowUp]" }, { kind: "component", type: LucideBan, selector: "svg[lucideBan]" }, { kind: "component", type: LucideChevronDown, selector: "svg[lucideChevronDown]" }, { kind: "component", type: LucideChevronRight, selector: "svg[lucideChevronRight]" }, { kind: "component", type: LucideCircleAlert, selector: "svg[lucideCircleAlert], svg[lucideAlertCircle]" }, { kind: "component", type: LucideLoaderCircle, selector: "svg[lucideLoaderCircle], svg[lucideLoader2]" }, { kind: "component", type: LucidePlus, selector: "svg[lucidePlus]" }, { kind: "component", type: TreeNodeComponent, selector: "mona-tree-node", inputs: ["depth", "node"] }, { kind: "ngmodule", type: FormsModule }, { kind: "directive", type: i1.NgControlStatus, selector: "[formControlName],[ngModel],[formControl]" }, { kind: "directive", type: i1.NgModel, selector: "[ngModel]:not([formControlName]):not([formControl])", inputs: ["name", "disabled", "ngModel", "ngModelOptions"], outputs: ["ngModelChange"], exportAs: ["ngModel"] }, { kind: "directive", type: CdkDropList, selector: "[cdkDropList], cdk-drop-list", inputs: ["cdkDropListConnectedTo", "cdkDropListData", "cdkDropListOrientation", "id", "cdkDropListLockAxis", "cdkDropListDisabled", "cdkDropListSortingDisabled", "cdkDropListEnterPredicate", "cdkDropListSortPredicate", "cdkDropListAutoScrollDisabled", "cdkDropListAutoScrollStep", "cdkDropListElementContainer", "cdkDropListHasAnchor"], outputs: ["cdkDropListDropped", "cdkDropListEntered", "cdkDropListExited", "cdkDropListSorted"], exportAs: ["cdkDropList"] }, { kind: "directive", type: CdkDrag, selector: "[cdkDrag]", inputs: ["cdkDragData", "cdkDragLockAxis", "cdkDragRootElement", "cdkDragBoundary", "cdkDragStartDelay", "cdkDragFreeDragPosition", "cdkDragDisabled", "cdkDragConstrainPosition", "cdkDragPreviewClass", "cdkDragPreviewContainer", "cdkDragScale"], outputs: ["cdkDragStarted", "cdkDragReleased", "cdkDragEnded", "cdkDragEntered", "cdkDragExited", "cdkDragDropped", "cdkDragMoved"], exportAs: ["cdkDrag"] }, { kind: "directive", type: CdkDragPreview, selector: "ng-template[cdkDragPreview]", inputs: ["data", "matchSize"] }, { kind: "component", type: CheckBoxComponent, selector: "mona-check-box", inputs: ["aria-describedby", "aria-label", "aria-labelledby", "checked", "disabled", "indeterminate", "inputId", "invalid", "label", "labelPosition", "labelSize", "name", "readonly", "required", "rounded", "tabIndex", "touched", "class"], outputs: ["checkedChange", "indeterminateChange", "inputBlur", "inputChange", "inputFocus", "touch"] }, { kind: "pipe", type: TreeNodeElementIdPipe, name: "treeNodeElementId" }] }); }
|
|
2038
2038
|
}
|
|
2039
2039
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.6", ngImport: i0, type: SubTreeComponent, decorators: [{
|
|
2040
2040
|
type: Component,
|