@expcat/tigercat-vue 2.0.0-preview.2 → 2.0.0-preview.4
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/dist/{chunk-Z7QUWBFR.mjs → chunk-22NIOTDQ.mjs} +1 -1
- package/dist/{chunk-QD5ZCKPR.mjs → chunk-2XCXK3NQ.mjs} +1 -1
- package/dist/{chunk-KRWKO2JQ.mjs → chunk-342DH5CF.mjs} +1 -1
- package/dist/{chunk-JCGWN7WV.mjs → chunk-36TZA5BH.mjs} +1 -1
- package/dist/{chunk-NYWIBDO6.mjs → chunk-3KITFMBJ.mjs} +1 -1
- package/dist/{chunk-B47QLHVW.mjs → chunk-3NQUEQJT.mjs} +4 -4
- package/dist/{chunk-YSKG5FSX.mjs → chunk-42P6ZQ3J.mjs} +1 -1
- package/dist/{chunk-V5ZEPAWV.mjs → chunk-4BO6JNA6.mjs} +1 -1
- package/dist/{chunk-GL63FRI4.mjs → chunk-4SLYX5GK.mjs} +1 -1
- package/dist/{chunk-MJRFB6ZA.mjs → chunk-4ZZYQITT.mjs} +12 -8
- package/dist/{chunk-Z4SG7REU.mjs → chunk-5E4LINDO.mjs} +5 -3
- package/dist/{chunk-FHJ3R57L.mjs → chunk-5KPO3EDM.mjs} +5 -2
- package/dist/{chunk-CF4GX6BD.mjs → chunk-5RIHHZF6.mjs} +12 -4
- package/dist/{chunk-6FV2OMB7.mjs → chunk-6LORRRRB.mjs} +1 -1
- package/dist/{chunk-CW5TEG7N.mjs → chunk-7CPMXNLK.mjs} +1 -1
- package/dist/{chunk-EQDCFOWR.mjs → chunk-7FWNN6PO.mjs} +75 -22
- package/dist/{chunk-4IZUJJUO.mjs → chunk-7JT5ZIHC.mjs} +1 -1
- package/dist/{chunk-DBCSR4WY.mjs → chunk-7XDNHGDA.mjs} +9 -1
- package/dist/{chunk-6G5FEZLT.mjs → chunk-7XENCCN5.mjs} +3 -3
- package/dist/{chunk-2R3SOQSW.mjs → chunk-ANNYNTXR.mjs} +3 -3
- package/dist/{chunk-VFUBOKGT.mjs → chunk-AQMPCLX7.mjs} +6 -2
- package/dist/{chunk-GTFAC625.mjs → chunk-BGGHSTMP.mjs} +1 -1
- package/dist/{chunk-DOVBKVTB.mjs → chunk-CFH5T3V2.mjs} +3 -3
- package/dist/{chunk-IQNZ4UEA.mjs → chunk-D4APFWWS.mjs} +1 -1
- package/dist/{chunk-7LCUVR63.mjs → chunk-DCMRB3HR.mjs} +15 -4
- package/dist/{chunk-WYJ5WOT2.mjs → chunk-DWK5GUMB.mjs} +9 -3
- package/dist/{chunk-EVIZXEB2.mjs → chunk-E6EZHSGY.mjs} +1 -1
- package/dist/{chunk-2YPPXZ4I.mjs → chunk-EGIMTTZA.mjs} +1 -1
- package/dist/{chunk-4ZKSTL5P.mjs → chunk-EGIQPUEL.mjs} +1 -1
- package/dist/{chunk-UQK22ZMC.mjs → chunk-EWUHEW6W.mjs} +75 -22
- package/dist/{chunk-HIXWZVE5.mjs → chunk-FSJRNEZK.mjs} +23 -8
- package/dist/{chunk-Z4NJJ7NI.mjs → chunk-GWFVBG22.mjs} +5 -2
- package/dist/{chunk-GMIKUE67.mjs → chunk-H2SX7D23.mjs} +1 -1
- package/dist/{chunk-FAQL7HFW.mjs → chunk-HAUG3OP5.mjs} +1 -1
- package/dist/{chunk-ODDPVS27.mjs → chunk-IDUEWMWN.mjs} +1 -1
- package/dist/{chunk-GAEO66NY.mjs → chunk-IMFHJEUX.mjs} +1 -1
- package/dist/{chunk-GZWZP5AL.mjs → chunk-JHFM6IFO.mjs} +28 -6
- package/dist/{chunk-V5ANPH5R.mjs → chunk-JL3CN4UK.mjs} +1 -1
- package/dist/{chunk-RTZUIWCN.mjs → chunk-JQSIWPNM.mjs} +1 -1
- package/dist/{chunk-RAO7ZJWR.mjs → chunk-JVQPU4M2.mjs} +5 -2
- package/dist/{chunk-BGO2ILHM.mjs → chunk-JZCETBUV.mjs} +16 -3
- package/dist/{chunk-G7MOTNJO.mjs → chunk-KFJIZED5.mjs} +1 -1
- package/dist/{chunk-YJSWHGAR.mjs → chunk-LFENEILY.mjs} +9 -3
- package/dist/{chunk-36WSYHJU.mjs → chunk-LPZBXTJ6.mjs} +1 -1
- package/dist/{chunk-O4F75KHL.mjs → chunk-MAKOSWR6.mjs} +1 -1
- package/dist/{chunk-FDKJOVXG.mjs → chunk-MNSVJBNH.mjs} +1 -1
- package/dist/{chunk-GVLLO45Y.mjs → chunk-N7LWKAYS.mjs} +2 -2
- package/dist/{chunk-E7NE5HEC.mjs → chunk-NEEGXKJW.mjs} +1 -1
- package/dist/{chunk-JPCMI3A4.mjs → chunk-NGAA73CV.mjs} +1 -1
- package/dist/{chunk-AZXS4QWC.mjs → chunk-NNC75I7F.mjs} +1 -1
- package/dist/{chunk-6WF3336O.mjs → chunk-O6BN5R6J.mjs} +1 -1
- package/dist/{chunk-YZATP4VF.mjs → chunk-OHPXOLNB.mjs} +12 -3
- package/dist/{chunk-WBT3WSRE.mjs → chunk-OHR7IUBQ.mjs} +14 -2
- package/dist/chunk-P2LZ2MR5.mjs +6 -0
- package/dist/{chunk-7BU4TW5A.mjs → chunk-P5FDKBXG.mjs} +1 -1
- package/dist/{chunk-2QWGVJW6.mjs → chunk-PQBKN2NH.mjs} +24 -10
- package/dist/{chunk-LOX2KCML.mjs → chunk-PYRKFQ6J.mjs} +3 -3
- package/dist/{chunk-BJV62I73.mjs → chunk-QFG452MD.mjs} +2 -2
- package/dist/{chunk-E2GQSWHK.mjs → chunk-QMECRLHW.mjs} +21 -2
- package/dist/{chunk-UD4FNMJN.mjs → chunk-RANRYFUI.mjs} +23 -6
- package/dist/{chunk-FT2HWF7P.mjs → chunk-RSM6FOWX.mjs} +1 -1
- package/dist/{chunk-GHG2MCLM.mjs → chunk-SJ7W5I5H.mjs} +1 -1
- package/dist/{chunk-WLHOWOAY.mjs → chunk-SJINC5NF.mjs} +1 -1
- package/dist/{chunk-PLUABMUD.mjs → chunk-SWCK7TM7.mjs} +1 -1
- package/dist/chunk-TGXBCKOU.mjs +35 -0
- package/dist/{chunk-2JW3TOXM.mjs → chunk-TXZ7GY26.mjs} +4 -4
- package/dist/{chunk-EYR27UIE.mjs → chunk-U6OGGZBY.mjs} +25 -2
- package/dist/{chunk-DMQLA35L.mjs → chunk-U75YXWSA.mjs} +1 -1
- package/dist/{chunk-R6WFL6NI.mjs → chunk-UOJOJBEU.mjs} +18 -0
- package/dist/{chunk-IGT4QB7O.mjs → chunk-UUWTKCMY.mjs} +1 -1
- package/dist/{chunk-HLPSHCXO.mjs → chunk-V443QIJM.mjs} +5 -1
- package/dist/{chunk-TM73IWEY.mjs → chunk-XH63C62K.mjs} +1 -1
- package/dist/{chunk-DZFM7H3M.mjs → chunk-XLNK3Z2P.mjs} +26 -5
- package/dist/{chunk-4QCJUILG.mjs → chunk-ZFJNCAZX.mjs} +5 -2
- package/dist/{chunk-XZYFVOOS.mjs → chunk-ZFTRR3KW.mjs} +1 -1
- package/dist/components/ActivityFeed.d.mts +6 -6
- package/dist/components/ActivityFeed.mjs +8 -7
- package/dist/components/Alert.d.mts +3 -3
- package/dist/components/Anchor.d.mts +1 -1
- package/dist/components/AreaChart.d.mts +24 -5
- package/dist/components/AreaChart.mjs +2 -2
- package/dist/components/AutoComplete.d.mts +5 -5
- package/dist/components/AutoComplete.mjs +3 -2
- package/dist/components/Avatar.d.mts +1 -1
- package/dist/components/Avatar.mjs +4 -2
- package/dist/components/AvatarGroup.d.mts +25 -1
- package/dist/components/AvatarGroup.mjs +3 -1
- package/dist/components/BackTop.d.mts +1 -1
- package/dist/components/Badge.d.mts +4 -4
- package/dist/components/Badge.mjs +3 -2
- package/dist/components/BarChart.d.mts +23 -4
- package/dist/components/BarChart.mjs +2 -2
- package/dist/components/Breadcrumb.d.mts +3 -3
- package/dist/components/Button.d.mts +3 -3
- package/dist/components/ButtonGroup.d.mts +1 -1
- package/dist/components/Calendar.d.mts +2 -2
- package/dist/components/Calendar.mjs +3 -2
- package/dist/components/Card.d.mts +2 -2
- package/dist/components/Carousel.d.mts +21 -1
- package/dist/components/Carousel.mjs +3 -1
- package/dist/components/Cascader.d.mts +3 -3
- package/dist/components/Cascader.mjs +3 -2
- package/dist/components/ChartCanvas.d.mts +1 -1
- package/dist/components/ChartGrid.d.mts +1 -1
- package/dist/components/ChartLegend.d.mts +10 -0
- package/dist/components/ChartLegend.mjs +1 -1
- package/dist/components/ChatWindow.d.mts +4 -4
- package/dist/components/ChatWindow.mjs +8 -6
- package/dist/components/CodeEditor.d.mts +3 -3
- package/dist/components/Collapse.d.mts +1 -1
- package/dist/components/CollapsePanel.d.mts +1 -1
- package/dist/components/ColorPicker.mjs +1 -1
- package/dist/components/ColorSwatch.d.mts +2 -2
- package/dist/components/CommentThread.d.mts +2 -2
- package/dist/components/CommentThread.mjs +6 -5
- package/dist/components/ConfigProvider.d.mts +1 -1
- package/dist/components/ConfigProvider.mjs +2 -1
- package/dist/components/Container.d.mts +1 -1
- package/dist/components/Countdown.d.mts +2 -2
- package/dist/components/CronEditor.d.mts +24 -6
- package/dist/components/CronEditor.mjs +3 -1
- package/dist/components/CropUpload.d.mts +1 -1
- package/dist/components/CropUpload.mjs +5 -4
- package/dist/components/DataTableWithToolbar.d.mts +11 -11
- package/dist/components/DataTableWithToolbar.mjs +8 -6
- package/dist/components/DatePicker.d.mts +3 -3
- package/dist/components/DatePicker.mjs +3 -2
- package/dist/components/Descriptions.d.mts +2 -2
- package/dist/components/DonutChart.d.mts +3 -3
- package/dist/components/DonutChart.mjs +3 -3
- package/dist/components/Drawer.d.mts +4 -4
- package/dist/components/Drawer.mjs +3 -2
- package/dist/components/Empty.d.mts +1 -1
- package/dist/components/Empty.mjs +3 -2
- package/dist/components/FileManager.d.mts +2 -2
- package/dist/components/FileManager.mjs +3 -2
- package/dist/components/FloatButton.d.mts +4 -4
- package/dist/components/Form.d.mts +2 -2
- package/dist/components/Form.mjs +3 -2
- package/dist/components/FormItem.mjs +5 -3
- package/dist/components/FormItemContext.d.mts +11 -0
- package/dist/components/FormItemContext.mjs +6 -0
- package/dist/components/FormWizard.d.mts +5 -5
- package/dist/components/FormWizard.mjs +3 -2
- package/dist/components/FunnelChart.d.mts +3 -3
- package/dist/components/FunnelChart.mjs +2 -2
- package/dist/components/Gantt.d.mts +2 -2
- package/dist/components/GaugeChart.d.mts +2 -2
- package/dist/components/HeatmapChart.d.mts +3 -3
- package/dist/components/Icon.d.mts +20 -2
- package/dist/components/Icon.mjs +1 -1
- package/dist/components/Image.d.mts +2 -2
- package/dist/components/Image.mjs +4 -3
- package/dist/components/ImageAnnotation.d.mts +5 -5
- package/dist/components/ImageAnnotation.mjs +3 -2
- package/dist/components/ImageCropper.d.mts +1 -1
- package/dist/components/ImageCropper.mjs +3 -2
- package/dist/components/ImageGroup.mjs +4 -3
- package/dist/components/ImagePreview.mjs +3 -2
- package/dist/components/ImageViewer.d.mts +1 -1
- package/dist/components/ImageViewer.mjs +3 -2
- package/dist/components/InfiniteScroll.d.mts +3 -3
- package/dist/components/InfiniteScroll.mjs +3 -2
- package/dist/components/Input.d.mts +5 -5
- package/dist/components/Input.mjs +2 -1
- package/dist/components/InputGroup.d.mts +1 -1
- package/dist/components/InputNumber.d.mts +21 -1
- package/dist/components/InputNumber.mjs +1 -1
- package/dist/components/Kanban.d.mts +1 -1
- package/dist/components/Kanban.mjs +4 -3
- package/dist/components/LineChart.d.mts +23 -4
- package/dist/components/LineChart.mjs +2 -2
- package/dist/components/Link.d.mts +1 -1
- package/dist/components/List.d.mts +7 -7
- package/dist/components/List.mjs +3 -2
- package/dist/components/Loading.d.mts +6 -6
- package/dist/components/Loading.mjs +3 -2
- package/dist/components/MarkdownEditor.d.mts +24 -4
- package/dist/components/MarkdownEditor.mjs +3 -1
- package/dist/components/Mentions.d.mts +3 -3
- package/dist/components/Menu.d.mts +4 -4
- package/dist/components/Message.mjs +14 -1
- package/dist/components/MessageContainer.mjs +1 -1
- package/dist/components/MessageRoot.mjs +1 -1
- package/dist/components/Modal.d.mts +7 -7
- package/dist/components/Modal.mjs +3 -2
- package/dist/components/Notification.mjs +14 -1
- package/dist/components/NotificationCenter.d.mts +5 -5
- package/dist/components/NotificationCenter.mjs +6 -5
- package/dist/components/NotificationContainer.mjs +1 -1
- package/dist/components/NotificationRoot.mjs +1 -1
- package/dist/components/NumberKeyboard.d.mts +5 -5
- package/dist/components/NumberKeyboard.mjs +3 -2
- package/dist/components/OrgChart.d.mts +3 -3
- package/dist/components/Pagination.d.mts +4 -4
- package/dist/components/Pagination.mjs +3 -2
- package/dist/components/PieChart.d.mts +3 -3
- package/dist/components/PieChart.mjs +2 -2
- package/dist/components/Popconfirm.d.mts +2 -2
- package/dist/components/Popover.d.mts +1 -1
- package/dist/components/PrintLayout.mjs +1 -1
- package/dist/components/Progress.d.mts +3 -3
- package/dist/components/QRCode.d.mts +3 -3
- package/dist/components/QRCode.mjs +3 -2
- package/dist/components/RadarChart.d.mts +3 -3
- package/dist/components/RadarChart.mjs +2 -2
- package/dist/components/Rate.d.mts +19 -1
- package/dist/components/Rate.mjs +3 -1
- package/dist/components/Result.d.mts +1 -1
- package/dist/components/RichTextEditor.d.mts +23 -3
- package/dist/components/RichTextEditor.mjs +3 -1
- package/dist/components/Row.d.mts +1 -1
- package/dist/components/ScatterChart.d.mts +32 -3
- package/dist/components/ScatterChart.mjs +4 -2
- package/dist/components/ScrollSpy.d.mts +3 -3
- package/dist/components/Select.d.mts +4 -4
- package/dist/components/Select.mjs +3 -2
- package/dist/components/Signature.d.mts +5 -5
- package/dist/components/Signature.mjs +3 -2
- package/dist/components/Skeleton.d.mts +1 -1
- package/dist/components/Space.d.mts +2 -2
- package/dist/components/Splitter.d.mts +1 -1
- package/dist/components/Spotlight.d.mts +4 -4
- package/dist/components/Spotlight.mjs +3 -2
- package/dist/components/Stepper.d.mts +18 -0
- package/dist/components/Stepper.mjs +1 -1
- package/dist/components/Steps.d.mts +3 -3
- package/dist/components/SunburstChart.d.mts +2 -2
- package/dist/components/SunburstChart.mjs +2 -2
- package/dist/components/Table.d.mts +5 -5
- package/dist/components/Table.mjs +5 -4
- package/dist/components/Tabs.d.mts +22 -3
- package/dist/components/Tabs.mjs +3 -1
- package/dist/components/Tag.d.mts +2 -2
- package/dist/components/Tag.mjs +3 -2
- package/dist/components/TaskBoard.d.mts +2 -2
- package/dist/components/TaskBoard.mjs +3 -2
- package/dist/components/Text.d.mts +3 -3
- package/dist/components/Textarea.d.mts +3 -3
- package/dist/components/TimePicker.d.mts +4 -4
- package/dist/components/TimePicker.mjs +3 -2
- package/dist/components/Timeline.d.mts +4 -4
- package/dist/components/Timeline.mjs +3 -2
- package/dist/components/Tooltip.d.mts +1 -1
- package/dist/components/Tour.d.mts +2 -2
- package/dist/components/Tour.mjs +3 -2
- package/dist/components/Transfer.d.mts +18 -9
- package/dist/components/Transfer.mjs +3 -2
- package/dist/components/Tree.d.mts +4 -4
- package/dist/components/Tree.mjs +3 -2
- package/dist/components/TreeMapChart.d.mts +2 -2
- package/dist/components/TreeMapChart.mjs +2 -2
- package/dist/components/TreeSelect.d.mts +3 -3
- package/dist/components/TreeSelect.mjs +3 -2
- package/dist/components/Upload.d.mts +4 -4
- package/dist/components/Upload.mjs +3 -2
- package/dist/components/VirtualTable.d.mts +3 -3
- package/dist/components/VirtualTable.mjs +3 -2
- package/dist/components/Watermark.d.mts +1 -1
- package/dist/index.d.mts +1 -1
- package/dist/index.mjs +92 -0
- package/package.json +2 -2
- /package/dist/{chunk-4RKBXGHQ.mjs → chunk-GSB4MNEX.mjs} +0 -0
- /package/dist/{chunk-ESBUNMIG.mjs → chunk-Q3PELK37.mjs} +0 -0
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Timeline
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-JQSIWPNM.mjs";
|
|
4
4
|
import {
|
|
5
5
|
Link
|
|
6
6
|
} from "./chunk-3MO7A4GU.mjs";
|
|
7
7
|
import {
|
|
8
8
|
Loading
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-O6BN5R6J.mjs";
|
|
10
10
|
import {
|
|
11
11
|
Tag
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-342DH5CF.mjs";
|
|
13
13
|
import {
|
|
14
14
|
Text
|
|
15
15
|
} from "./chunk-NN6AINLG.mjs";
|
|
@@ -18,7 +18,7 @@ import {
|
|
|
18
18
|
} from "./chunk-TC6ZPQFT.mjs";
|
|
19
19
|
import {
|
|
20
20
|
Avatar
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-ZFTRR3KW.mjs";
|
|
22
22
|
|
|
23
23
|
// src/components/ActivityFeed.ts
|
|
24
24
|
import { defineComponent, computed, h } from "vue";
|
|
@@ -3,7 +3,7 @@ import {
|
|
|
3
3
|
} from "./chunk-2TNZ4JNT.mjs";
|
|
4
4
|
import {
|
|
5
5
|
useTigerConfig
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-UOJOJBEU.mjs";
|
|
7
7
|
|
|
8
8
|
// src/components/DatePicker.ts
|
|
9
9
|
import { defineComponent, computed, ref, nextTick, h, watch, onBeforeUnmount } from "vue";
|
|
@@ -276,9 +276,6 @@ var DatePicker = defineComponent({
|
|
|
276
276
|
if (startText && endText) return `${startText} - ${endText}`;
|
|
277
277
|
return startText ? `${startText} - ` : ` - ${endText}`;
|
|
278
278
|
});
|
|
279
|
-
const placeholderText = computed(
|
|
280
|
-
() => props.placeholder ?? (props.range ? "Select date range" : "Select date")
|
|
281
|
-
);
|
|
282
279
|
const showClearButton = computed(() => {
|
|
283
280
|
if (!props.clearable || props.disabled || props.readonly) return false;
|
|
284
281
|
if (!isRangeMode.value) return selectedDate.value !== null;
|
|
@@ -293,6 +290,9 @@ var DatePicker = defineComponent({
|
|
|
293
290
|
const previousMonthIcon = computed(() => isRtl.value ? ChevronRightIcon : ChevronLeftIcon);
|
|
294
291
|
const nextMonthIcon = computed(() => isRtl.value ? ChevronLeftIcon : ChevronRightIcon);
|
|
295
292
|
const labels = computed(() => getDatePickerLabels(mergedLocale.value, props.labels));
|
|
293
|
+
const placeholderText = computed(
|
|
294
|
+
() => props.placeholder ?? (props.range ? labels.value.rangePlaceholder : labels.value.placeholder)
|
|
295
|
+
);
|
|
296
296
|
const mobileDate = computed(() => {
|
|
297
297
|
if (!isRangeMode.value) return selectedDate.value ?? normalizeDate(/* @__PURE__ */ new Date());
|
|
298
298
|
const [start, end] = selectedRange.value;
|
|
@@ -559,7 +559,11 @@ var DatePicker = defineComponent({
|
|
|
559
559
|
return rest;
|
|
560
560
|
});
|
|
561
561
|
return () => {
|
|
562
|
-
const inputClasses = getDatePickerInputClasses(
|
|
562
|
+
const inputClasses = getDatePickerInputClasses(
|
|
563
|
+
props.size,
|
|
564
|
+
props.disabled || props.readonly,
|
|
565
|
+
showClearButton.value
|
|
566
|
+
);
|
|
563
567
|
const iconButtonClasses = getDatePickerIconButtonClasses(props.size);
|
|
564
568
|
return h(
|
|
565
569
|
"div",
|
|
@@ -656,7 +660,7 @@ var DatePicker = defineComponent({
|
|
|
656
660
|
{
|
|
657
661
|
class: datePickerMobileWheelSelectClasses,
|
|
658
662
|
value: mobileDate.value.getFullYear(),
|
|
659
|
-
"aria-label":
|
|
663
|
+
"aria-label": labels.value.year,
|
|
660
664
|
onChange: (event) => updateMobileDate("year", Number(event.target.value))
|
|
661
665
|
},
|
|
662
666
|
mobileYears.value.map((year) => h("option", { value: year }, year))
|
|
@@ -666,7 +670,7 @@ var DatePicker = defineComponent({
|
|
|
666
670
|
{
|
|
667
671
|
class: datePickerMobileWheelSelectClasses,
|
|
668
672
|
value: mobileDate.value.getMonth(),
|
|
669
|
-
"aria-label":
|
|
673
|
+
"aria-label": labels.value.month,
|
|
670
674
|
onChange: (event) => updateMobileDate("month", Number(event.target.value))
|
|
671
675
|
},
|
|
672
676
|
Array.from(
|
|
@@ -679,7 +683,7 @@ var DatePicker = defineComponent({
|
|
|
679
683
|
{
|
|
680
684
|
class: datePickerMobileWheelSelectClasses,
|
|
681
685
|
value: mobileDate.value.getDate(),
|
|
682
|
-
"aria-label":
|
|
686
|
+
"aria-label": labels.value.day,
|
|
683
687
|
onChange: (event) => updateMobileDate("day", Number(event.target.value))
|
|
684
688
|
},
|
|
685
689
|
mobileDays.value.map((day) => h("option", { value: day }, day))
|
|
@@ -21,7 +21,9 @@ var Stepper = defineComponent({
|
|
|
21
21
|
step: { type: Number, default: 1 },
|
|
22
22
|
disabled: { type: Boolean, default: false },
|
|
23
23
|
size: { type: String, default: "md" },
|
|
24
|
-
precision: { type: Number, default: void 0 }
|
|
24
|
+
precision: { type: Number, default: void 0 },
|
|
25
|
+
incrementAriaLabel: { type: String, default: "Increase" },
|
|
26
|
+
decrementAriaLabel: { type: String, default: "Decrease" }
|
|
25
27
|
},
|
|
26
28
|
emits: ["update:modelValue", "change"],
|
|
27
29
|
setup(props, { emit, attrs }) {
|
|
@@ -105,7 +107,7 @@ var Stepper = defineComponent({
|
|
|
105
107
|
type: "button",
|
|
106
108
|
class: getStepperButtonClasses(props.size, props.disabled || atMin, "left"),
|
|
107
109
|
disabled: props.disabled || atMin,
|
|
108
|
-
"aria-label":
|
|
110
|
+
"aria-label": props.decrementAriaLabel,
|
|
109
111
|
onPointerdown: startStepRepeat("down"),
|
|
110
112
|
onPointerup: stopStepRepeat,
|
|
111
113
|
onPointerleave: stopStepRepeat,
|
|
@@ -128,7 +130,7 @@ var Stepper = defineComponent({
|
|
|
128
130
|
type: "button",
|
|
129
131
|
class: getStepperButtonClasses(props.size, props.disabled || atMax, "right"),
|
|
130
132
|
disabled: props.disabled || atMax,
|
|
131
|
-
"aria-label":
|
|
133
|
+
"aria-label": props.incrementAriaLabel,
|
|
132
134
|
onPointerdown: startStepRepeat("up"),
|
|
133
135
|
onPointerup: stopStepRepeat,
|
|
134
136
|
onPointerleave: stopStepRepeat,
|
|
@@ -15,7 +15,7 @@ import {
|
|
|
15
15
|
} from "./chunk-MI6TL3CQ.mjs";
|
|
16
16
|
import {
|
|
17
17
|
ChartLegend
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-V443QIJM.mjs";
|
|
19
19
|
import {
|
|
20
20
|
ChartSeries
|
|
21
21
|
} from "./chunk-2ZUEXCVJ.mjs";
|
|
@@ -40,6 +40,7 @@ import {
|
|
|
40
40
|
barValueLabelInsideClasses,
|
|
41
41
|
barAnimatedTransition
|
|
42
42
|
} from "@expcat/tigercat-core";
|
|
43
|
+
var DEFAULT_CARTESIAN_PADDING = { top: 24, right: 24, bottom: 52, left: 52 };
|
|
43
44
|
var BarChart = defineComponent({
|
|
44
45
|
name: "TigerBarChart",
|
|
45
46
|
props: {
|
|
@@ -53,8 +54,9 @@ var BarChart = defineComponent({
|
|
|
53
54
|
},
|
|
54
55
|
padding: {
|
|
55
56
|
type: [Number, Object],
|
|
56
|
-
default:
|
|
57
|
+
default: () => DEFAULT_CARTESIAN_PADDING
|
|
57
58
|
},
|
|
59
|
+
responsive: { type: Boolean, default: false },
|
|
58
60
|
data: {
|
|
59
61
|
type: Array,
|
|
60
62
|
required: true
|
|
@@ -374,6 +376,7 @@ var BarChart = defineComponent({
|
|
|
374
376
|
width: props.width,
|
|
375
377
|
height: props.height,
|
|
376
378
|
padding: props.padding,
|
|
379
|
+
responsive: props.responsive,
|
|
377
380
|
title: props.title,
|
|
378
381
|
desc: props.desc,
|
|
379
382
|
className: classNames(props.className)
|
|
@@ -106,6 +106,14 @@ var InputNumber = defineComponent({
|
|
|
106
106
|
type: Boolean,
|
|
107
107
|
default: false
|
|
108
108
|
},
|
|
109
|
+
incrementAriaLabel: {
|
|
110
|
+
type: String,
|
|
111
|
+
default: "Increase"
|
|
112
|
+
},
|
|
113
|
+
decrementAriaLabel: {
|
|
114
|
+
type: String,
|
|
115
|
+
default: "Decrease"
|
|
116
|
+
},
|
|
109
117
|
className: {
|
|
110
118
|
type: String,
|
|
111
119
|
default: void 0
|
|
@@ -271,7 +279,7 @@ var InputNumber = defineComponent({
|
|
|
271
279
|
{
|
|
272
280
|
type: "button",
|
|
273
281
|
tabindex: -1,
|
|
274
|
-
"aria-label":
|
|
282
|
+
"aria-label": props.decrementAriaLabel,
|
|
275
283
|
class: getInputNumberSideButtonClasses("left", props.disabled || atMin.value),
|
|
276
284
|
disabled: props.disabled || atMin.value,
|
|
277
285
|
onPointerdown: startStepRepeat("down"),
|
|
@@ -326,7 +334,7 @@ var InputNumber = defineComponent({
|
|
|
326
334
|
{
|
|
327
335
|
type: "button",
|
|
328
336
|
tabindex: -1,
|
|
329
|
-
"aria-label":
|
|
337
|
+
"aria-label": props.incrementAriaLabel,
|
|
330
338
|
class: getInputNumberSideButtonClasses("right", props.disabled || atMax.value),
|
|
331
339
|
disabled: props.disabled || atMax.value,
|
|
332
340
|
onPointerdown: startStepRepeat("up"),
|
|
@@ -360,7 +368,7 @@ var InputNumber = defineComponent({
|
|
|
360
368
|
{
|
|
361
369
|
type: "button",
|
|
362
370
|
tabindex: -1,
|
|
363
|
-
"aria-label":
|
|
371
|
+
"aria-label": props.incrementAriaLabel,
|
|
364
372
|
class: getInputNumberStepButtonClasses("up", props.disabled || atMax.value),
|
|
365
373
|
disabled: props.disabled || atMax.value,
|
|
366
374
|
onPointerdown: startStepRepeat("up"),
|
|
@@ -387,7 +395,7 @@ var InputNumber = defineComponent({
|
|
|
387
395
|
{
|
|
388
396
|
type: "button",
|
|
389
397
|
tabindex: -1,
|
|
390
|
-
"aria-label":
|
|
398
|
+
"aria-label": props.decrementAriaLabel,
|
|
391
399
|
class: getInputNumberStepButtonClasses("down", props.disabled || atMin.value),
|
|
392
400
|
disabled: props.disabled || atMin.value,
|
|
393
401
|
onPointerdown: startStepRepeat("down"),
|
|
@@ -1,3 +1,7 @@
|
|
|
1
|
+
import {
|
|
2
|
+
useTigerConfig
|
|
3
|
+
} from "./chunk-UOJOJBEU.mjs";
|
|
4
|
+
|
|
1
5
|
// src/components/CronEditor.ts
|
|
2
6
|
import { computed, defineComponent, h, ref } from "vue";
|
|
3
7
|
import {
|
|
@@ -11,14 +15,15 @@ import {
|
|
|
11
15
|
cronEditorLabelClasses,
|
|
12
16
|
cronFieldMetas,
|
|
13
17
|
defaultCronExpression,
|
|
14
|
-
defaultCronPresets,
|
|
15
18
|
getCronEditorControlClasses,
|
|
19
|
+
getCronEditorLabels,
|
|
16
20
|
getCronFieldIssue,
|
|
17
21
|
getCronFieldValue,
|
|
22
|
+
mergeTigerLocale,
|
|
18
23
|
normalizeCronExpression,
|
|
19
24
|
parseCronFieldControl,
|
|
20
25
|
updateCronExpressionField,
|
|
21
|
-
|
|
26
|
+
validateCronExpressionWithLabels
|
|
22
27
|
} from "@expcat/tigercat-core";
|
|
23
28
|
var modeOptions = [
|
|
24
29
|
{ label: "Any", value: "any" },
|
|
@@ -27,6 +32,9 @@ var modeOptions = [
|
|
|
27
32
|
{ label: "Range", value: "range" },
|
|
28
33
|
{ label: "Custom", value: "custom" }
|
|
29
34
|
];
|
|
35
|
+
function formatCronControlLabel(template, field) {
|
|
36
|
+
return template.replace("{field}", field);
|
|
37
|
+
}
|
|
30
38
|
var CronEditor = defineComponent({
|
|
31
39
|
name: "TigerCronEditor",
|
|
32
40
|
props: {
|
|
@@ -35,25 +43,66 @@ var CronEditor = defineComponent({
|
|
|
35
43
|
disabled: { type: Boolean, default: false },
|
|
36
44
|
readonly: { type: Boolean, default: false },
|
|
37
45
|
size: { type: String, default: "md" },
|
|
38
|
-
presets: { type: Array, default:
|
|
39
|
-
ariaLabel: { type: String, default:
|
|
46
|
+
presets: { type: Array, default: void 0 },
|
|
47
|
+
ariaLabel: { type: String, default: void 0 },
|
|
48
|
+
locale: { type: Object, default: void 0 },
|
|
49
|
+
labels: { type: Object, default: void 0 }
|
|
40
50
|
},
|
|
41
51
|
emits: ["update:modelValue", "change", "validate"],
|
|
42
52
|
setup(props, { attrs, emit }) {
|
|
53
|
+
const config = useTigerConfig();
|
|
43
54
|
const innerValue = ref(props.defaultValue);
|
|
44
55
|
const expression = computed(() => props.modelValue ?? innerValue.value);
|
|
45
|
-
const
|
|
56
|
+
const mergedLocale = computed(() => mergeTigerLocale(config.value.locale, props.locale));
|
|
57
|
+
const labels = computed(() => getCronEditorLabels(mergedLocale.value, props.labels));
|
|
58
|
+
const fieldLabels = computed(() => ({
|
|
59
|
+
minute: labels.value.minuteLabel,
|
|
60
|
+
hour: labels.value.hourLabel,
|
|
61
|
+
dayOfMonth: labels.value.dayOfMonthLabel,
|
|
62
|
+
month: labels.value.monthLabel,
|
|
63
|
+
dayOfWeek: labels.value.dayOfWeekLabel
|
|
64
|
+
}));
|
|
65
|
+
const validation = computed(
|
|
66
|
+
() => validateCronExpressionWithLabels(expression.value, labels.value, fieldLabels.value)
|
|
67
|
+
);
|
|
46
68
|
const inactive = computed(() => props.disabled || props.readonly);
|
|
69
|
+
const localizedMetas = computed(
|
|
70
|
+
() => cronFieldMetas.map((meta) => ({ ...meta, label: fieldLabels.value[meta.key] }))
|
|
71
|
+
);
|
|
72
|
+
const resolvedPresets = computed(
|
|
73
|
+
() => props.presets ?? [
|
|
74
|
+
{ label: labels.value.everyMinutePreset, value: "* * * * *" },
|
|
75
|
+
{ label: labels.value.hourlyPreset, value: "0 * * * *" },
|
|
76
|
+
{ label: labels.value.dailyPreset, value: "0 0 * * *" },
|
|
77
|
+
{ label: labels.value.weeklyPreset, value: "0 0 * * 1" },
|
|
78
|
+
{ label: labels.value.monthlyPreset, value: "0 0 1 * *" }
|
|
79
|
+
]
|
|
80
|
+
);
|
|
81
|
+
const modeLabels = computed(() => ({
|
|
82
|
+
any: labels.value.modeAnyLabel,
|
|
83
|
+
every: labels.value.modeEveryLabel,
|
|
84
|
+
specific: labels.value.modeSpecificLabel,
|
|
85
|
+
range: labels.value.modeRangeLabel,
|
|
86
|
+
custom: labels.value.modeCustomLabel
|
|
87
|
+
}));
|
|
47
88
|
function commit(nextValue) {
|
|
48
89
|
const normalized = normalizeCronExpression(nextValue);
|
|
49
|
-
const nextValidation =
|
|
90
|
+
const nextValidation = validateCronExpressionWithLabels(
|
|
91
|
+
normalized,
|
|
92
|
+
labels.value,
|
|
93
|
+
fieldLabels.value
|
|
94
|
+
);
|
|
50
95
|
if (props.modelValue === void 0) innerValue.value = normalized;
|
|
51
96
|
emit("update:modelValue", normalized);
|
|
52
97
|
emit("change", normalized, nextValidation);
|
|
53
98
|
emit("validate", nextValidation);
|
|
54
99
|
}
|
|
55
100
|
function handleRawExpressionChange(nextValue) {
|
|
56
|
-
const nextValidation =
|
|
101
|
+
const nextValidation = validateCronExpressionWithLabels(
|
|
102
|
+
nextValue,
|
|
103
|
+
labels.value,
|
|
104
|
+
fieldLabels.value
|
|
105
|
+
);
|
|
57
106
|
if (props.modelValue === void 0) innerValue.value = nextValue;
|
|
58
107
|
emit("update:modelValue", nextValue);
|
|
59
108
|
emit("change", nextValue, nextValidation);
|
|
@@ -83,7 +132,7 @@ var CronEditor = defineComponent({
|
|
|
83
132
|
class: getCronEditorControlClasses(props.size),
|
|
84
133
|
value: control.step ?? 1,
|
|
85
134
|
disabled: inactive.value,
|
|
86
|
-
"aria-label":
|
|
135
|
+
"aria-label": formatCronControlLabel(labels.value.stepAriaLabel, meta.label),
|
|
87
136
|
onInput: (event) => handleFieldRawChange(
|
|
88
137
|
meta,
|
|
89
138
|
buildCronFieldValue(
|
|
@@ -101,7 +150,7 @@ var CronEditor = defineComponent({
|
|
|
101
150
|
class: getCronEditorControlClasses(props.size),
|
|
102
151
|
value: control.value ?? meta.min,
|
|
103
152
|
disabled: inactive.value,
|
|
104
|
-
"aria-label":
|
|
153
|
+
"aria-label": formatCronControlLabel(labels.value.valueAriaLabel, meta.label),
|
|
105
154
|
onInput: (event) => handleFieldRawChange(
|
|
106
155
|
meta,
|
|
107
156
|
buildCronFieldValue(
|
|
@@ -120,7 +169,7 @@ var CronEditor = defineComponent({
|
|
|
120
169
|
class: getCronEditorControlClasses(props.size),
|
|
121
170
|
value: control.start ?? meta.min,
|
|
122
171
|
disabled: inactive.value,
|
|
123
|
-
"aria-label":
|
|
172
|
+
"aria-label": formatCronControlLabel(labels.value.rangeStartAriaLabel, meta.label),
|
|
124
173
|
onInput: (event) => handleFieldRawChange(
|
|
125
174
|
meta,
|
|
126
175
|
buildCronFieldValue(
|
|
@@ -136,7 +185,7 @@ var CronEditor = defineComponent({
|
|
|
136
185
|
class: getCronEditorControlClasses(props.size),
|
|
137
186
|
value: control.end ?? meta.max,
|
|
138
187
|
disabled: inactive.value,
|
|
139
|
-
"aria-label":
|
|
188
|
+
"aria-label": formatCronControlLabel(labels.value.rangeEndAriaLabel, meta.label),
|
|
140
189
|
onInput: (event) => handleFieldRawChange(
|
|
141
190
|
meta,
|
|
142
191
|
buildCronFieldValue(
|
|
@@ -152,7 +201,7 @@ var CronEditor = defineComponent({
|
|
|
152
201
|
class: getCronEditorControlClasses(props.size),
|
|
153
202
|
value: control.raw,
|
|
154
203
|
disabled: inactive.value,
|
|
155
|
-
"aria-label":
|
|
204
|
+
"aria-label": formatCronControlLabel(labels.value.customValueAriaLabel, meta.label),
|
|
156
205
|
onInput: (event) => handleFieldRawChange(meta, event.target.value)
|
|
157
206
|
});
|
|
158
207
|
}
|
|
@@ -161,7 +210,7 @@ var CronEditor = defineComponent({
|
|
|
161
210
|
{
|
|
162
211
|
class: classNames(cronEditorBaseClasses, coerceClassValue(attrs.class)),
|
|
163
212
|
role: "group",
|
|
164
|
-
"aria-label": props.ariaLabel
|
|
213
|
+
"aria-label": props.ariaLabel ?? labels.value.ariaLabel
|
|
165
214
|
},
|
|
166
215
|
[
|
|
167
216
|
h("div", { class: "flex flex-col gap-2 sm:flex-row" }, [
|
|
@@ -174,24 +223,24 @@ var CronEditor = defineComponent({
|
|
|
174
223
|
value: expression.value,
|
|
175
224
|
disabled: props.disabled,
|
|
176
225
|
readonly: props.readonly,
|
|
177
|
-
"aria-label":
|
|
226
|
+
"aria-label": labels.value.expressionAriaLabel,
|
|
178
227
|
onInput: (event) => handleRawExpressionChange(event.target.value)
|
|
179
228
|
}),
|
|
180
|
-
|
|
229
|
+
resolvedPresets.value.length > 0 ? h(
|
|
181
230
|
"select",
|
|
182
231
|
{
|
|
183
232
|
class: getCronEditorControlClasses(props.size),
|
|
184
|
-
value:
|
|
233
|
+
value: resolvedPresets.value.some((preset) => preset.value === expression.value) ? expression.value : "",
|
|
185
234
|
disabled: inactive.value,
|
|
186
|
-
"aria-label":
|
|
235
|
+
"aria-label": labels.value.presetAriaLabel,
|
|
187
236
|
onChange: (event) => {
|
|
188
237
|
const nextValue = event.target.value;
|
|
189
238
|
if (nextValue) commit(nextValue);
|
|
190
239
|
}
|
|
191
240
|
},
|
|
192
241
|
[
|
|
193
|
-
h("option", { value: "" },
|
|
194
|
-
...
|
|
242
|
+
h("option", { value: "" }, labels.value.presetPlaceholder),
|
|
243
|
+
...resolvedPresets.value.map(
|
|
195
244
|
(preset) => h("option", { key: preset.value, value: preset.value }, preset.label)
|
|
196
245
|
)
|
|
197
246
|
]
|
|
@@ -203,7 +252,7 @@ var CronEditor = defineComponent({
|
|
|
203
252
|
h(
|
|
204
253
|
"div",
|
|
205
254
|
{ class: cronEditorFieldsClasses },
|
|
206
|
-
|
|
255
|
+
localizedMetas.value.map((meta) => {
|
|
207
256
|
const raw = getCronFieldValue(expression.value, meta.key);
|
|
208
257
|
const control = parseCronFieldControl(raw);
|
|
209
258
|
const issue = getCronFieldIssue(validation.value, meta.key);
|
|
@@ -215,7 +264,7 @@ var CronEditor = defineComponent({
|
|
|
215
264
|
class: getCronEditorControlClasses(props.size, !!issue),
|
|
216
265
|
value: control.mode,
|
|
217
266
|
disabled: inactive.value,
|
|
218
|
-
"aria-label":
|
|
267
|
+
"aria-label": formatCronControlLabel(labels.value.modeAriaLabel, meta.label),
|
|
219
268
|
onChange: (event) => handleModeChange(
|
|
220
269
|
meta,
|
|
221
270
|
control,
|
|
@@ -223,7 +272,11 @@ var CronEditor = defineComponent({
|
|
|
223
272
|
)
|
|
224
273
|
},
|
|
225
274
|
modeOptions.map(
|
|
226
|
-
(mode) => h(
|
|
275
|
+
(mode) => h(
|
|
276
|
+
"option",
|
|
277
|
+
{ key: mode.value, value: mode.value },
|
|
278
|
+
modeLabels.value[mode.value]
|
|
279
|
+
)
|
|
227
280
|
)
|
|
228
281
|
),
|
|
229
282
|
renderFieldControl(meta, control),
|
|
@@ -27,6 +27,14 @@ var Icon = defineComponent({
|
|
|
27
27
|
type: String,
|
|
28
28
|
default: void 0
|
|
29
29
|
},
|
|
30
|
+
/**
|
|
31
|
+
* Custom icon definition (viewBox + path data), e.g. an application logo.
|
|
32
|
+
* Takes precedence over `name`; custom SVG children take precedence over both.
|
|
33
|
+
*/
|
|
34
|
+
icon: {
|
|
35
|
+
type: Object,
|
|
36
|
+
default: void 0
|
|
37
|
+
},
|
|
30
38
|
/**
|
|
31
39
|
* Icon size
|
|
32
40
|
* @default 'md'
|
|
@@ -53,7 +61,7 @@ var Icon = defineComponent({
|
|
|
53
61
|
const defaultSlot = slots.default?.();
|
|
54
62
|
const hasSlotContent = Array.isArray(defaultSlot) && defaultSlot.length > 0;
|
|
55
63
|
const isDecorative = attrs["aria-label"] == null && attrs["aria-labelledby"] == null && attrs.role == null;
|
|
56
|
-
const definition = !hasSlotContent
|
|
64
|
+
const definition = !hasSlotContent ? props.icon ?? (props.name ? getIconDefinition(props.name) : void 0) : void 0;
|
|
57
65
|
const builtInSvg = definition ? h(
|
|
58
66
|
"svg",
|
|
59
67
|
{
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import {
|
|
2
2
|
TabPane,
|
|
3
3
|
Tabs
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-U6OGGZBY.mjs";
|
|
5
5
|
import {
|
|
6
6
|
List
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-6LORRRRB.mjs";
|
|
8
8
|
import {
|
|
9
9
|
Button
|
|
10
10
|
} from "./chunk-YZBQ6IR7.mjs";
|
|
11
11
|
import {
|
|
12
12
|
Loading
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-O6BN5R6J.mjs";
|
|
14
14
|
import {
|
|
15
15
|
Text
|
|
16
16
|
} from "./chunk-NN6AINLG.mjs";
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Select
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-N7LWKAYS.mjs";
|
|
4
4
|
import {
|
|
5
5
|
Radio
|
|
6
6
|
} from "./chunk-6BDDX2R4.mjs";
|
|
7
7
|
import {
|
|
8
8
|
Empty
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-SJINC5NF.mjs";
|
|
10
10
|
import {
|
|
11
11
|
Checkbox
|
|
12
12
|
} from "./chunk-MYKKKVGK.mjs";
|
|
13
13
|
import {
|
|
14
14
|
useTigerConfig
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-UOJOJBEU.mjs";
|
|
16
16
|
|
|
17
17
|
// src/components/Table.ts
|
|
18
18
|
import {
|
|
@@ -3,7 +3,7 @@ import {
|
|
|
3
3
|
} from "./chunk-2TNZ4JNT.mjs";
|
|
4
4
|
import {
|
|
5
5
|
useTigerConfig
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-UOJOJBEU.mjs";
|
|
7
7
|
|
|
8
8
|
// src/components/TimePicker.ts
|
|
9
9
|
import {
|
|
@@ -544,7 +544,11 @@ var TimePicker = defineComponent({
|
|
|
544
544
|
document.removeEventListener("click", handleClickOutside);
|
|
545
545
|
});
|
|
546
546
|
return () => {
|
|
547
|
-
const inputClasses = getTimePickerInputClasses(
|
|
547
|
+
const inputClasses = getTimePickerInputClasses(
|
|
548
|
+
props.size,
|
|
549
|
+
props.disabled || props.readonly,
|
|
550
|
+
showClearButton.value
|
|
551
|
+
);
|
|
548
552
|
const iconButtonClasses = getTimePickerIconButtonClasses(props.size);
|
|
549
553
|
return h("div", { ...attrs, class: rootClasses.value, style: rootStyle.value }, [
|
|
550
554
|
// Input wrapper
|
|
@@ -71,7 +71,7 @@ var MessageContainer = /* @__PURE__ */ defineComponent({
|
|
|
71
71
|
{
|
|
72
72
|
class: messageCloseButtonClasses,
|
|
73
73
|
onClick: () => props.onClose?.(message.id),
|
|
74
|
-
"aria-label": MESSAGE_CLOSE_ARIA_LABEL,
|
|
74
|
+
"aria-label": message.closeAriaLabel ?? MESSAGE_CLOSE_ARIA_LABEL,
|
|
75
75
|
type: "button"
|
|
76
76
|
},
|
|
77
77
|
createStatusIcon(messageCloseIconPath, "w-4 h-4")
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Modal
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-D4APFWWS.mjs";
|
|
4
4
|
import {
|
|
5
5
|
ImageCropper
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-7JT5ZIHC.mjs";
|
|
7
7
|
import {
|
|
8
8
|
Button
|
|
9
9
|
} from "./chunk-YZBQ6IR7.mjs";
|
|
10
10
|
import {
|
|
11
11
|
useTigerConfig
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-UOJOJBEU.mjs";
|
|
13
13
|
|
|
14
14
|
// src/components/CropUpload.ts
|
|
15
15
|
import { defineComponent, h, ref, computed } from "vue";
|