@astryx-vue/core 0.47.0 → 0.47.1
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/AvatarGroup/index.d.ts +1 -1
- package/dist/Banner/index.d.ts +1 -1
- package/dist/ButtonGroup/index.d.ts +1 -1
- package/dist/Calendar/index.d.ts +1 -1
- package/dist/Calendar/index.js +2 -2
- package/dist/{Calendar-BGn9PQI8.js → Calendar-D4nAvj5U.js} +5 -5
- package/dist/{Calendar-DpqfOjgX.js → Calendar-DvbTMsIC.js} +5 -5
- package/dist/Carousel/index.d.ts +1 -1
- package/dist/Chat/index.d.ts +1 -1
- package/dist/CheckboxInput/index.d.ts +1 -1
- package/dist/CheckboxList/index.d.ts +1 -1
- package/dist/ClickableCard/index.d.ts +1 -1
- package/dist/ContextMenu/index.d.ts +1 -1
- package/dist/DateInput/index.d.ts +1 -1
- package/dist/DateInput/index.js +1 -1
- package/dist/{DateInput-BU_M6g1j.js → DateInput-Bg4jkwQ_.js} +9 -8
- package/dist/DateRangeInput/index.d.ts +1 -1
- package/dist/DateRangeInput/index.js +1 -1
- package/dist/{DateRangeInput-B7z6QEYg.js → DateRangeInput-BVN7ZvDc.js} +5 -5
- package/dist/DateTimeInput/index.d.ts +1 -1
- package/dist/DateTimeInput/index.js +1 -1
- package/dist/{DateTimeInput-BhZHEX1C.js → DateTimeInput-DPnBGL6l.js} +4 -4
- package/dist/Dialog/index.d.ts +1 -1
- package/dist/Drawer/index.d.ts +1 -1
- package/dist/FileInput/index.js +1 -1
- package/dist/{FileInput-cbbH72PV.js → FileInput-CQP-VdDl.js} +1 -1
- package/dist/HoverCard/index.d.ts +1 -1
- package/dist/InfoTip/index.d.ts +1 -1
- package/dist/InternationalizationProvider/index.d.ts +1 -1
- package/dist/InternationalizationProvider/index.js +3 -3
- package/dist/{InternationalizationProvider-CI124o7O.js → InternationalizationProvider-B6kMYO4h.js} +3 -3
- package/dist/Link/index.d.ts +1 -1
- package/dist/Markdown/index.d.ts +1 -1
- package/dist/Markdown/index.js +1 -1
- package/dist/{Markdown-CGT2VGto.js → Markdown-DEwHt1xG.js} +1 -1
- package/dist/MoreMenu/index.d.ts +1 -1
- package/dist/MultiSelector/index.d.ts +1 -1
- package/dist/MultiSelector/index.js +1 -1
- package/dist/{MultiSelector-DO33TcAb.js → MultiSelector-DPRe_xUK.js} +2 -2
- package/dist/NumberInput/index.d.ts +1 -1
- package/dist/OverflowList/index.d.ts +1 -1
- package/dist/Pagination/index.d.ts +1 -1
- package/dist/Popover/index.d.ts +1 -1
- package/dist/PowerSearch/index.d.ts +1 -1
- package/dist/PowerSearch/index.js +1 -1
- package/dist/{PowerSearch-BpCg9r13.js → PowerSearch-DiAS6eY3.js} +86 -81
- package/dist/ProgressBar/index.js +1 -1
- package/dist/{ProgressBar-EB4C8g83.js → ProgressBar-CDhK30fZ.js} +4 -1
- package/dist/Radio/index.d.ts +1 -1
- package/dist/RadioList/index.d.ts +1 -1
- package/dist/Resizable/index.d.ts +1 -1
- package/dist/ScrollableArea/index.d.ts +1 -1
- package/dist/SelectableCard/index.d.ts +1 -1
- package/dist/Selector/index.d.ts +1 -1
- package/dist/SideNav/index.d.ts +1 -1
- package/dist/Switch/index.d.ts +1 -1
- package/dist/Table/index.d.ts +1 -1
- package/dist/Table/index.js +1 -1
- package/dist/{Table-BFIZ9yl7.js → Table-CkWBUcAh.js} +3 -3
- package/dist/TextArea/index.d.ts +1 -1
- package/dist/TextInput/index.d.ts +1 -1
- package/dist/{TimeField-CyXcvqrc.js → TimeField-BJ8S3TXa.js} +1 -1
- package/dist/TimeInput/index.d.ts +1 -1
- package/dist/TimeInput/index.js +1 -1
- package/dist/{TimeInput-C6eMxL8g.js → TimeInput-rUkF0qJc.js} +1 -1
- package/dist/Timestamp/index.d.ts +1 -1
- package/dist/Timestamp/index.js +2 -2
- package/dist/{Timestamp-C1y_Uo2J.js → Timestamp-CFTG2jF2.js} +2 -2
- package/dist/ToggleButton/index.d.ts +1 -1
- package/dist/Token/index.d.ts +1 -1
- package/dist/Toolbar/index.d.ts +1 -1
- package/dist/Tooltip/index.d.ts +1 -1
- package/dist/TopNav/index.d.ts +1 -1
- package/dist/{calendar-C7py_wtb.js → calendar-B1G5O29s.js} +2 -1
- package/dist/{calendarFormat-DTC8AICa.js → calendarFormat-CbxpwgAe.js} +4 -3
- package/dist/{context-DPVQjlFy.js → context-DVa_OzKt.js} +1 -1
- package/dist/dateTimeFormatCache-CSsvHOhO.js +31 -0
- package/dist/direction-nWTDB0Ko.js +64 -0
- package/dist/{format-lexzIzDb.js → format--_j64_yo.js} +9 -2
- package/dist/{formatInstant-DKbYRamj.js → formatInstant-B-ukorXg.js} +1 -1
- package/dist/{index-Dw8-uyda.d.ts → index-BXr7LtAh.d.ts} +1 -1
- package/dist/{index-BLPqfpBZ.d.ts → index-Bsl8HqR9.d.ts} +2 -2
- package/dist/{index-YpwwNU0k.d.ts → index-C7uGs5Cl.d.ts} +1 -1
- package/dist/{index-4R2_PfBF.d.ts → index-CWCkAA0e.d.ts} +2 -2
- package/dist/{index-CBOv5j3c.d.ts → index-CbA8rR_b.d.ts} +1 -1
- package/dist/{index-C5HUsKnf.d.ts → index-CqX4Y4aS.d.ts} +1 -1
- package/dist/{index-CK6rHNTd.d.ts → index-DMQqZbs3.d.ts} +23 -18
- package/dist/{index-BMoR8Uoh.d.ts → index-DZMs9KqG.d.ts} +1 -1
- package/dist/{index-Otl047R1.d.ts → index-DofC9Rll.d.ts} +1 -1
- package/dist/{index-DvJSZh5M.d.ts → index-DsxkdygE.d.ts} +3 -3
- package/dist/index.d.ts +11 -11
- package/dist/index.js +20 -20
- package/dist/{inputPresentation-DES0JwkL.js → inputPresentation-Br70N2eS.js} +1 -1
- package/dist/locale/index.js +2 -2
- package/dist/{locale-BWvGrrcM.js → locale-DhcPo0et.js} +1 -1
- package/dist/{plainDate-CaTDErKr.js → plainDate-By2VjeSI.js} +2 -31
- package/dist/{useCalendarGrid-BjOvk9HI.js → useCalendarGrid-Bz7NJmA3.js} +2 -2
- package/dist/{useListFormatter-CFDqZ9jK.js → useListFormatter-kggOt7I2.js} +17 -10
- package/dist/utils/index.js +2 -2
- package/package.json +1 -1
- package/dist/direction-CNotzbN9.js +0 -44
- package/dist/{index-DKlE9Iqk.d.ts → index-CNZCQgHF.d.ts} +1 -1
|
@@ -17,29 +17,30 @@ import { t as _sfc_main$17 } from "./Heading-DHuEWiNg.js";
|
|
|
17
17
|
import { t as useScrollbars } from "./useScrollbars-Ch0xqJWO.js";
|
|
18
18
|
import { t as _sfc_main$18 } from "./Text-S8qRNR8c.js";
|
|
19
19
|
import { t as LazyBottomSheet } from "./lazyBottomSheet-1hbBBtDy.js";
|
|
20
|
-
import { r as useCalendarSystem } from "./calendar-
|
|
21
|
-
import { r as formatCalendarInstant } from "./calendarFormat-
|
|
22
|
-
import { t as _sfc_main$19 } from "./Calendar-
|
|
20
|
+
import { r as useCalendarSystem } from "./calendar-B1G5O29s.js";
|
|
21
|
+
import { r as formatCalendarInstant } from "./calendarFormat-CbxpwgAe.js";
|
|
22
|
+
import { t as _sfc_main$19 } from "./Calendar-D4nAvj5U.js";
|
|
23
23
|
import { t as _sfc_main$20 } from "./Field-BiLdRQCq.js";
|
|
24
24
|
import { t as useFieldPartStyling } from "./fieldParts-CuE5V12i.js";
|
|
25
25
|
import { n as _sfc_main$21, t as _sfc_main$22 } from "./ListItem-Ds5nLB5D.js";
|
|
26
26
|
import { n as _sfc_main$23, t as _sfc_main$24 } from "./CheckboxListItem-BItPhY6_.js";
|
|
27
|
-
import { t as _sfc_main$25 } from "./DateInput-
|
|
27
|
+
import { t as _sfc_main$25 } from "./DateInput-Bg4jkwQ_.js";
|
|
28
28
|
import { t as tokenizerMessages } from "./tokenizer-C1y-55Ft.js";
|
|
29
29
|
import { d as powerSearchSheetMessages, u as powerSearchMessages } from "./loadCatalog-DT1OyK-2.js";
|
|
30
|
-
import { t as _sfc_main$26 } from "./DateRangeInput-
|
|
31
|
-
import { t as _sfc_main$27 } from "./DateTimeInput-
|
|
30
|
+
import { t as _sfc_main$26 } from "./DateRangeInput-BVN7ZvDc.js";
|
|
31
|
+
import { t as _sfc_main$27 } from "./DateTimeInput-DPnBGL6l.js";
|
|
32
32
|
import { t as _sfc_main$28 } from "./EmptyState-Dd1opiK7.js";
|
|
33
|
+
import { r as createListFormatter } from "./useListFormatter-kggOt7I2.js";
|
|
33
34
|
import { n as tokenNamingKey, t as _sfc_main$29 } from "./Token-Dmz6vEMX.js";
|
|
34
35
|
import { n as scrollOptionIntoView, r as useAnchoredListbox } from "./stillPointerGate-BMwmHp6q.js";
|
|
35
|
-
import { t as _sfc_main$30 } from "./MultiSelector-
|
|
36
|
+
import { t as _sfc_main$30 } from "./MultiSelector-DPRe_xUK.js";
|
|
36
37
|
import { n as resolveNumberInputCommit, t as _sfc_main$31 } from "./NumberInput-DC1ALFjZ.js";
|
|
37
38
|
import { t as _sfc_main$32 } from "./Selector-ChAPYgNU.js";
|
|
38
39
|
import { o as useTypeaheadMenu } from "./useTypeaheadMenuConfig-DDxBm-a1.js";
|
|
39
40
|
import { a as _sfc_main$34, i as dismissSearchOnTouchDrag, n as useSheetPresentation, r as useTokenRemoveTap, t as _sfc_main$33 } from "./Tokenizer-YPRYXnaq.js";
|
|
40
41
|
import { t as _sfc_main$35 } from "./TextInput-9KSEUhQ8.js";
|
|
41
42
|
import { n as _sfc_main$36, t as _sfc_main$37 } from "./RadioListItem-D1N5d2ei.js";
|
|
42
|
-
import { t as _sfc_main$38 } from "./TimeInput-
|
|
43
|
+
import { t as _sfc_main$38 } from "./TimeInput-rUkF0qJc.js";
|
|
43
44
|
import { t as _sfc_main$39 } from "./Typeahead-CO_0iW0V.js";
|
|
44
45
|
import { Fragment, Teleport, computed, createBlock, createCommentVNode, createElementBlock, createElementVNode, createSlots, createTextVNode, createVNode, defineComponent, guardReactiveProps, h, mergeModels, mergeProps, nextTick, normalizeClass, normalizeProps, normalizeStyle, onMounted, openBlock, provide, reactive, ref, renderList, renderSlot, resolveComponent, resolveDynamicComponent, shallowRef, toDisplayString, toHandlers, unref, useAttrs, useId, useModel, useSlots, useTemplateRef, vShow, watch, withCtx, withDirectives, withModifiers } from "vue";
|
|
45
46
|
import "../styles/layer.css";
|
|
@@ -282,6 +283,66 @@ function absoluteRange(start, end, zone) {
|
|
|
282
283
|
};
|
|
283
284
|
}
|
|
284
285
|
//#endregion
|
|
286
|
+
//#region src/PowerSearch/relativeDates.ts
|
|
287
|
+
const RELATIVE_DATE_UNITS = [
|
|
288
|
+
{
|
|
289
|
+
unit: "day",
|
|
290
|
+
amounts: [
|
|
291
|
+
1,
|
|
292
|
+
3,
|
|
293
|
+
7,
|
|
294
|
+
14,
|
|
295
|
+
30
|
|
296
|
+
],
|
|
297
|
+
ago: "relativeDaysAgo",
|
|
298
|
+
fromNow: "relativeDaysFromNow"
|
|
299
|
+
},
|
|
300
|
+
{
|
|
301
|
+
unit: "week",
|
|
302
|
+
amounts: [
|
|
303
|
+
1,
|
|
304
|
+
2,
|
|
305
|
+
4
|
|
306
|
+
],
|
|
307
|
+
ago: "relativeWeeksAgo",
|
|
308
|
+
fromNow: "relativeWeeksFromNow"
|
|
309
|
+
},
|
|
310
|
+
{
|
|
311
|
+
unit: "month",
|
|
312
|
+
amounts: [
|
|
313
|
+
1,
|
|
314
|
+
3,
|
|
315
|
+
6,
|
|
316
|
+
12
|
|
317
|
+
],
|
|
318
|
+
ago: "relativeMonthsAgo",
|
|
319
|
+
fromNow: "relativeMonthsFromNow"
|
|
320
|
+
}
|
|
321
|
+
];
|
|
322
|
+
/**
|
|
323
|
+
* 相对日期运算符提供的选项,按显示顺序排列。桌面浮层的 Selector 和底部弹层的单选行共用这一份,
|
|
324
|
+
* 两边列出的值一样。值写成 `3d_ago`、`2w_from_now` 这种形式;`isPastAllowed` / `isFutureAllowed`
|
|
325
|
+
* 写 false 时去掉对应方向的选项。
|
|
326
|
+
*/
|
|
327
|
+
function buildRelativeDateOptions(operatorValue, messages) {
|
|
328
|
+
const options = [];
|
|
329
|
+
for (const { unit, amounts, ago, fromNow } of RELATIVE_DATE_UNITS) for (const amount of amounts) {
|
|
330
|
+
if (operatorValue.isPastAllowed !== false) options.push({
|
|
331
|
+
value: `${amount}${unit[0]}_ago`,
|
|
332
|
+
label: messages[ago](amount)
|
|
333
|
+
});
|
|
334
|
+
if (operatorValue.isFutureAllowed !== false) options.push({
|
|
335
|
+
value: `${amount}${unit[0]}_from_now`,
|
|
336
|
+
label: messages[fromNow](amount)
|
|
337
|
+
});
|
|
338
|
+
}
|
|
339
|
+
return options;
|
|
340
|
+
}
|
|
341
|
+
/** 存下的相对日期值(`3d_ago`)读作提供它的那个选项的文字(「3 天前」);没有选项提供它时原样显示。 */
|
|
342
|
+
function relativeDateLabel(operatorValue, value, messages) {
|
|
343
|
+
return buildRelativeDateOptions(operatorValue, messages).find((option) => option.value === value)?.label ?? value;
|
|
344
|
+
}
|
|
345
|
+
//#endregion
|
|
285
346
|
//#region src/PowerSearch/format.ts
|
|
286
347
|
function truncate(value, maxLength) {
|
|
287
348
|
return truncateCharacters(value, maxLength);
|
|
@@ -311,26 +372,32 @@ function formatDateAbsoluteCompact(unixSeconds, locale, timeZone, calendar = "gr
|
|
|
311
372
|
day: "numeric"
|
|
312
373
|
}, locale, timeZone || void 0);
|
|
313
374
|
}
|
|
314
|
-
|
|
375
|
+
/** 几项按 `locale` 的列表格式连起来(德语是 "a, b und c");放不下时改写成数量。 */
|
|
376
|
+
function joinOrCount(labels, maxLength, locale, countLabel) {
|
|
315
377
|
if (labels.length === 0) return "";
|
|
316
378
|
if (labels.length === 1) return truncate(labels[0] ?? "", maxLength);
|
|
317
|
-
const joined =
|
|
379
|
+
const joined = createListFormatter(locale)(labels);
|
|
318
380
|
if (characterCount(joined) <= maxLength) return joined;
|
|
319
381
|
return countLabel(labels.length);
|
|
320
382
|
}
|
|
321
|
-
|
|
383
|
+
/**
|
|
384
|
+
* 筛选标签上值的文字,按 `locale` 写:多项按这门语言的列表格式连起来,数字用它的数字格式,
|
|
385
|
+
* 相对日期读作选项上的文字(「3 天前」,不是存下的 `3d_ago`),文字由 `sheetMessages` 给出,
|
|
386
|
+
* 不传时用英文。放不下 `maxLength` 时列表改写成数量。
|
|
387
|
+
*/
|
|
388
|
+
function formatFilterValue(operatorValue, filterValue, maxLength, messages, locale, timeZone, calendar = "gregory", sheetMessages = powerSearchSheetMessages.en) {
|
|
322
389
|
switch (filterValue.type) {
|
|
323
390
|
case "empty": return "";
|
|
324
391
|
case "string": return truncate(filterValue.value, maxLength);
|
|
325
392
|
case "integer": return formatNumber(filterValue.value, locale, operatorValue.type === "integer" ? operatorValue.units : void 0);
|
|
326
393
|
case "float": return formatNumber(filterValue.value, locale, operatorValue.type === "float" ? operatorValue.units : void 0);
|
|
327
394
|
case "enum": return truncate(operatorValue.type === "enum" ? enumLabel(filterValue.value, operatorValue.values) : filterValue.value, maxLength);
|
|
328
|
-
case "string_list": return joinOrCount(filterValue.value, maxLength, messages.itemsCount);
|
|
329
|
-
case "enum_list": return joinOrCount(operatorValue.type === "enum_list" ? filterValue.value.map((value) => enumLabel(value, operatorValue.values)) : filterValue.value, maxLength, messages.itemsCount);
|
|
330
|
-
case "entity_list": return joinOrCount(filterValue.value.map((entity) => entity.label), maxLength, messages.entitiesCount);
|
|
395
|
+
case "string_list": return joinOrCount(filterValue.value, maxLength, locale, messages.itemsCount);
|
|
396
|
+
case "enum_list": return joinOrCount(operatorValue.type === "enum_list" ? filterValue.value.map((value) => enumLabel(value, operatorValue.values)) : filterValue.value, maxLength, locale, messages.itemsCount);
|
|
397
|
+
case "entity_list": return joinOrCount(filterValue.value.map((entity) => entity.label), maxLength, locale, messages.entitiesCount);
|
|
331
398
|
case "time": return filterValue.value;
|
|
332
399
|
case "date_absolute": return truncate(isDateOnlyOperator(operatorValue) ? formatDateAbsoluteCompact(filterValue.unixSeconds, locale, resolveDateZone(timeZone, true), calendar) : formatDateAbsolute(filterValue.unixSeconds, locale, timeZone, calendar), maxLength);
|
|
333
|
-
case "date_relative": return filterValue.value;
|
|
400
|
+
case "date_relative": return truncate(operatorValue.type === "date_relative" ? relativeDateLabel(operatorValue, filterValue.value, sheetMessages) : filterValue.value, maxLength);
|
|
334
401
|
case "date_range": return messages.dateRange;
|
|
335
402
|
case "custom": return truncate(operatorValue.type === "custom" ? operatorValue.getString(filterValue.value) : filterValue.value, maxLength);
|
|
336
403
|
case "nested": return messages.filtersCount(filterValue.value.length);
|
|
@@ -492,11 +559,12 @@ const _sfc_main$12 = /*@__PURE__*/ defineComponent({
|
|
|
492
559
|
const props = __props;
|
|
493
560
|
const emit = __emit;
|
|
494
561
|
const calendar = useCalendarSystem(void 0, "PowerSearch");
|
|
562
|
+
const sheetMessages = useComponentMessages({ powerSearchSheet: powerSearchSheetMessages });
|
|
495
563
|
const operatorLabel = computed(() => resolveOperatorLabel(props.operator, props.messages));
|
|
496
564
|
const tokenLabel = computed(() => formatTokenLabel(props.messages, props.fieldLabel, operatorLabel.value));
|
|
497
565
|
const valueText = computed(() => {
|
|
498
566
|
const room = Math.max(props.maxLength - characterCount(props.fieldLabel) - characterCount(operatorLabel.value), 10);
|
|
499
|
-
return formatFilterValue(props.operator.value, props.filter.value, room, props.messages, props.locale, props.timeZone, calendar.value);
|
|
567
|
+
return formatFilterValue(props.operator.value, props.filter.value, room, props.messages, props.locale, props.timeZone, calendar.value, sheetMessages.value.powerSearchSheet);
|
|
500
568
|
});
|
|
501
569
|
/** 标签的全部可见文字:字段、运算符和值。按钮、删除按钮和编辑器都按它命名,同一字段的两个条件读出来不再一样。 */
|
|
502
570
|
const visibleText = computed(() => valueText.value ? formatTokenText(props.messages, tokenLabel.value, valueText.value) : tokenLabel.value);
|
|
@@ -1051,66 +1119,10 @@ const _sfc_main$9 = /*@__PURE__*/ defineComponent({
|
|
|
1051
1119
|
}
|
|
1052
1120
|
});
|
|
1053
1121
|
//#endregion
|
|
1054
|
-
//#region src/PowerSearch/relativeDates.ts
|
|
1055
|
-
const RELATIVE_DATE_UNITS = [
|
|
1056
|
-
{
|
|
1057
|
-
unit: "day",
|
|
1058
|
-
amounts: [
|
|
1059
|
-
1,
|
|
1060
|
-
3,
|
|
1061
|
-
7,
|
|
1062
|
-
14,
|
|
1063
|
-
30
|
|
1064
|
-
],
|
|
1065
|
-
ago: "relativeDaysAgo",
|
|
1066
|
-
fromNow: "relativeDaysFromNow"
|
|
1067
|
-
},
|
|
1068
|
-
{
|
|
1069
|
-
unit: "week",
|
|
1070
|
-
amounts: [
|
|
1071
|
-
1,
|
|
1072
|
-
2,
|
|
1073
|
-
4
|
|
1074
|
-
],
|
|
1075
|
-
ago: "relativeWeeksAgo",
|
|
1076
|
-
fromNow: "relativeWeeksFromNow"
|
|
1077
|
-
},
|
|
1078
|
-
{
|
|
1079
|
-
unit: "month",
|
|
1080
|
-
amounts: [
|
|
1081
|
-
1,
|
|
1082
|
-
3,
|
|
1083
|
-
6,
|
|
1084
|
-
12
|
|
1085
|
-
],
|
|
1086
|
-
ago: "relativeMonthsAgo",
|
|
1087
|
-
fromNow: "relativeMonthsFromNow"
|
|
1088
|
-
}
|
|
1089
|
-
];
|
|
1090
|
-
/**
|
|
1091
|
-
* 相对日期运算符提供的选项,按显示顺序排列。桌面浮层的 Selector 和底部弹层的单选行共用这一份,
|
|
1092
|
-
* 两边列出的值一样。值写成 `3d_ago`、`2w_from_now` 这种形式;`isPastAllowed` / `isFutureAllowed`
|
|
1093
|
-
* 写 false 时去掉对应方向的选项。
|
|
1094
|
-
*/
|
|
1095
|
-
function buildRelativeDateOptions(operatorValue, messages) {
|
|
1096
|
-
const options = [];
|
|
1097
|
-
for (const { unit, amounts, ago, fromNow } of RELATIVE_DATE_UNITS) for (const amount of amounts) {
|
|
1098
|
-
if (operatorValue.isPastAllowed !== false) options.push({
|
|
1099
|
-
value: `${amount}${unit[0]}_ago`,
|
|
1100
|
-
label: messages[ago](amount)
|
|
1101
|
-
});
|
|
1102
|
-
if (operatorValue.isFutureAllowed !== false) options.push({
|
|
1103
|
-
value: `${amount}${unit[0]}_from_now`,
|
|
1104
|
-
label: messages[fromNow](amount)
|
|
1105
|
-
});
|
|
1106
|
-
}
|
|
1107
|
-
return options;
|
|
1108
|
-
}
|
|
1109
|
-
//#endregion
|
|
1110
1122
|
//#region src/PowerSearch/sheetFilterText.ts
|
|
1111
1123
|
/**
|
|
1112
1124
|
* 「筛选条件」一行的两部分文字。配置里已经没有的字段或运算符按原始键显示,和触发器上的标签一致。
|
|
1113
|
-
* 相对日期存的是键(`3d_ago
|
|
1125
|
+
* 相对日期存的是键(`3d_ago`),读成值那一步选项上的文字(「3 天前」),和标签上一致。
|
|
1114
1126
|
*/
|
|
1115
1127
|
function describeSheetFilterParts(filter, context) {
|
|
1116
1128
|
const field = context.lookup.getField(filter.field);
|
|
@@ -1122,16 +1134,9 @@ function describeSheetFilterParts(filter, context) {
|
|
|
1122
1134
|
label,
|
|
1123
1135
|
value: null
|
|
1124
1136
|
};
|
|
1125
|
-
if (operator.value.type === "date_relative" && filter.value.type === "date_relative") {
|
|
1126
|
-
const relative = filter.value.value;
|
|
1127
|
-
return {
|
|
1128
|
-
label,
|
|
1129
|
-
value: buildRelativeDateOptions(operator.value, context.sheet).find((option) => option.value === relative)?.label ?? relative
|
|
1130
|
-
};
|
|
1131
|
-
}
|
|
1132
1137
|
return {
|
|
1133
1138
|
label,
|
|
1134
|
-
value: formatFilterValue(operator.value, filter.value, Number.MAX_SAFE_INTEGER, context.messages, context.locale, context.timeZone, context.calendar) || null
|
|
1139
|
+
value: formatFilterValue(operator.value, filter.value, Number.MAX_SAFE_INTEGER, context.messages, context.locale, context.timeZone, context.calendar, context.sheet) || null
|
|
1135
1140
|
};
|
|
1136
1141
|
}
|
|
1137
1142
|
/** 整行读出来的文字:删除时播报用,和行上显示的一致。 */
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as _sfc_main } from "../ProgressBar-
|
|
1
|
+
import { t as _sfc_main } from "../ProgressBar-CDhK30fZ.js";
|
|
2
2
|
export { _sfc_main as ProgressBar };
|
|
@@ -2,7 +2,9 @@ import { s as formatMotionRoleValue } from "./roles-D6hLs7Rg.js";
|
|
|
2
2
|
import { o as timing } from "./linearEasing-CDsqxyiS.js";
|
|
3
3
|
import { t as useCoarsePointer } from "./useCoarsePointer-GItEMrjX.js";
|
|
4
4
|
import { t as resolveMotion } from "./resolveMotion-BHR1cz0Q.js";
|
|
5
|
+
import { a as useAstryxLocale } from "./context-B8IEFCDR.js";
|
|
5
6
|
import { t as _sfc_main$1 } from "./Tooltip-Du2qh5Oz.js";
|
|
7
|
+
import { r as formatPercent } from "./format--_j64_yo.js";
|
|
6
8
|
import { Fragment, computed, createBlock, createCommentVNode, createElementBlock, createElementVNode, defineComponent, normalizeClass, normalizeStyle, onBeforeUnmount, openBlock, ref, renderList, toDisplayString, unref, useAttrs, useId, useTemplateRef, watch, withCtx } from "vue";
|
|
7
9
|
import "../styles/visually-hidden.css";
|
|
8
10
|
import "../styles/progress-bar.css";
|
|
@@ -239,11 +241,12 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
|
|
|
239
241
|
}));
|
|
240
242
|
const pulseVars = reducedMotionPulseVars();
|
|
241
243
|
const widthStyle = computed(() => ({ width: typeof props.width === "number" ? `${props.width}px` : props.width }));
|
|
244
|
+
const locale = useAstryxLocale();
|
|
242
245
|
const showsValue = computed(() => Boolean(props.showValue || props.hasValueLabel));
|
|
243
246
|
const displayValue = computed(() => {
|
|
244
247
|
if (props.valueText != null) return props.valueText;
|
|
245
248
|
if (props.formatValueLabel) return props.formatValueLabel(clamped.value, max.value);
|
|
246
|
-
return
|
|
249
|
+
return formatPercent(Math.round(percentage.value), locale.value);
|
|
247
250
|
});
|
|
248
251
|
const labelledBy = computed(() => [labelId.value, attrs["aria-labelledby"]].filter(Boolean).join(" ") || void 0);
|
|
249
252
|
const describedBy = computed(() => [descriptionId.value, attrs["aria-describedby"]].filter(Boolean).join(" ") || void 0);
|
package/dist/Radio/index.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { $r as RadioValue, Br as _default, Hr as RadioGroupEmits, Jr as RadioProps, Kr as RadioOption, Qr as RadioStatusType, Ur as RadioGroupProps, Vr as RadioChangeEvent, Wr as RadioGroupSlots, Xr as RadioSlots, Yr as RadioSize, Zr as RadioStatus, qr as RadioOrientation, zr as _default$1 } from "../index-
|
|
1
|
+
import { $r as RadioValue, Br as _default, Hr as RadioGroupEmits, Jr as RadioProps, Kr as RadioOption, Qr as RadioStatusType, Ur as RadioGroupProps, Vr as RadioChangeEvent, Wr as RadioGroupSlots, Xr as RadioSlots, Yr as RadioSize, Zr as RadioStatus, qr as RadioOrientation, zr as _default$1 } from "../index-DMQqZbs3.js";
|
|
2
2
|
export { _default as Radio, type RadioChangeEvent, _default$1 as RadioGroup, type RadioGroupEmits, type RadioGroupProps, type RadioGroupSlots, type RadioOption, type RadioOrientation, type RadioProps, type RadioSize, type RadioSlots, type RadioStatus, type RadioStatusType, type RadioValue };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { Gr as RadioListProps, Ir as _default$1, Lr as RadioListItemProps, Rr as _default } from "../index-
|
|
1
|
+
import { Gr as RadioListProps, Ir as _default$1, Lr as RadioListItemProps, Rr as _default } from "../index-DMQqZbs3.js";
|
|
2
2
|
export { _default as RadioList, _default$1 as RadioListItem, type RadioListItemProps, type RadioListProps };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as ResizePillPlacement, i as ResizeHandleSlots, n as ResizeDirection, o as ResizePosition, r as ResizeHandleProps, t as _default } from "../index-
|
|
1
|
+
import { a as ResizePillPlacement, i as ResizeHandleSlots, n as ResizeDirection, o as ResizePosition, r as ResizeHandleProps, t as _default } from "../index-DZMs9KqG.js";
|
|
2
2
|
export { type ResizeDirection, _default as ResizeHandle, type ResizeHandleProps, type ResizeHandleSlots, type ResizePillPlacement, type ResizePosition };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { Fr as ScrollableAreaSlots, Nr as _default, Pr as ScrollableAreaProps } from "../index-
|
|
1
|
+
import { Fr as ScrollableAreaSlots, Nr as _default, Pr as ScrollableAreaProps } from "../index-DMQqZbs3.js";
|
|
2
2
|
export { _default as ScrollableArea, type ScrollableAreaProps, type ScrollableAreaSlots };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { Ar as SelectableCardEmits, Dr as SelectableCardInput, Mr as SelectableCardSlots, Or as selectableCardInputKey, jr as SelectableCardProps, kr as _default } from "../index-
|
|
1
|
+
import { Ar as SelectableCardEmits, Dr as SelectableCardInput, Mr as SelectableCardSlots, Or as selectableCardInputKey, jr as SelectableCardProps, kr as _default } from "../index-DMQqZbs3.js";
|
|
2
2
|
export { _default as SelectableCard, _default as default, type SelectableCardEmits, type SelectableCardInput, type SelectableCardProps, type SelectableCardSlots, selectableCardInputKey };
|
package/dist/Selector/index.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as SelectorOption, c as SelectorProps, d as SelectorSlots, f as SelectorStatus, h as SelectorVariant, i as SelectorIndicatorPosition, l as SelectorSection, m as SelectorStatusVariant, n as SelectorEmits, o as SelectorOptionInput, p as SelectorStatusInput, r as SelectorEntry, s as SelectorPresentation, t as _default, u as SelectorSize } from "../index-
|
|
1
|
+
import { a as SelectorOption, c as SelectorProps, d as SelectorSlots, f as SelectorStatus, h as SelectorVariant, i as SelectorIndicatorPosition, l as SelectorSection, m as SelectorStatusVariant, n as SelectorEmits, o as SelectorOptionInput, p as SelectorStatusInput, r as SelectorEntry, s as SelectorPresentation, t as _default, u as SelectorSize } from "../index-CWCkAA0e.js";
|
|
2
2
|
export { _default as Selector, type SelectorEmits, type SelectorEntry, type SelectorIndicatorPosition, type SelectorOption, type SelectorOptionInput, type SelectorPresentation, type SelectorProps, type SelectorSection, type SelectorSize, type SelectorSlots, type SelectorStatus, type SelectorStatusInput, type SelectorStatusVariant, type SelectorVariant };
|
package/dist/SideNav/index.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { Cr as SideNavResizable, Er as useSideNavCollapse, Sr as SideNavProps, Tr as SideNavCollapseContext, _r as SideNavEmits, br as SideNavItemEmits, cr as _default$3, dr as _default, fr as SideNavCollapseButtonProps, gr as SideNavControlledCollapsible, hr as SideNavCollapsible, lr as _default$2, mr as SideNavCollapseButtonSlots, pr as SideNavCollapseButtonSize, sr as _default$4, ur as _default$1, vr as SideNavHandle, wr as SideNavSectionProps, xr as SideNavItemProps, yr as SideNavHeadingProps } from "../index-
|
|
1
|
+
import { Cr as SideNavResizable, Er as useSideNavCollapse, Sr as SideNavProps, Tr as SideNavCollapseContext, _r as SideNavEmits, br as SideNavItemEmits, cr as _default$3, dr as _default, fr as SideNavCollapseButtonProps, gr as SideNavControlledCollapsible, hr as SideNavCollapsible, lr as _default$2, mr as SideNavCollapseButtonSlots, pr as SideNavCollapseButtonSize, sr as _default$4, ur as _default$1, vr as SideNavHandle, wr as SideNavSectionProps, xr as SideNavItemProps, yr as SideNavHeadingProps } from "../index-DMQqZbs3.js";
|
|
2
2
|
export { _default as SideNav, _default$1 as SideNavCollapseButton, type SideNavCollapseButtonProps, type SideNavCollapseButtonSize, type SideNavCollapseButtonSlots, type SideNavCollapseContext, type SideNavCollapsible, type SideNavControlledCollapsible, type SideNavEmits, type SideNavHandle, _default$2 as SideNavHeading, type SideNavHeadingProps, _default$3 as SideNavItem, type SideNavItemEmits, type SideNavItemProps, type SideNavProps, type SideNavResizable, _default$4 as SideNavSection, type SideNavSectionProps, useSideNavCollapse };
|
package/dist/Switch/index.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { $n as SwitchEmits, Qn as SwitchChangeEvent, Xn as _default, Zn as SwitchChangeAction, ar as SwitchStatus, er as SwitchLabelPosition, ir as SwitchSlots, nr as SwitchProps, or as SwitchStatusType, rr as SwitchSize, tr as SwitchLabelSpacing } from "../index-
|
|
1
|
+
import { $n as SwitchEmits, Qn as SwitchChangeEvent, Xn as _default, Zn as SwitchChangeAction, ar as SwitchStatus, er as SwitchLabelPosition, ir as SwitchSlots, nr as SwitchProps, or as SwitchStatusType, rr as SwitchSize, tr as SwitchLabelSpacing } from "../index-DMQqZbs3.js";
|
|
2
2
|
export { _default as Switch, type SwitchChangeAction, type SwitchChangeEvent, type SwitchEmits, type SwitchLabelPosition, type SwitchLabelSpacing, type SwitchProps, type SwitchSize, type SwitchSlots, type SwitchStatus, type SwitchStatusType };
|
package/dist/Table/index.d.ts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { $t as useTableSortableState, An as useTableColumnSettings, At as _default$5, Bn as useTableColumnResize, Bt as TableTreeRowMeta, Cn as UseTableFilteringConfig, Dn as ColumnSettingsOption, En as useTableFiltering, Fn as columnResizeDirectionSign, Ft as _default, Gn as pixel, Gt as useTableTreeState, Hn as cellText, Ht as UseTableTreeStateConfig, In as columnResizeMinWidth, It as UseTableColumnsVirtualizationConfig, Jn as resolveColumnWidths, Jt as resolveStickySide, Kn as proportional, Kt as StickySide, Ln as columnResizeStep, Lt as UseTableRowsVirtualizationConfig, Mn as ColumnResizePlan, Mt as _default$3, Nn as ColumnResizeSnapshot, Nt as _default$2, On as TableColumnSettingsState, Ot as _default$7, Pn as UseTableColumnResizeConfig, Pt as _default$1, Qt as useTableSortable, Rn as isProportionalColumnWidth, Rt as useTableColumnsVirtualization, Sn as UseTableFilterStateOptions, Tn as useTableFilterState, Un as generateColumns, Ut as flattenTree, Vn as capitalize, Vt as UseTableTreeDataConfig, Wn as paginateData, Wt as useTableTreeData, Xt as useTableStickyColumns, Yn as sortRows, Yt as stickyOffsets, Zt as UseTableSortableConfig, _n as UseTableGroupedRowsConfig, an as UseTableRowStatusConfig, bn as useTableGroupedRows, cn as useTableRowIndex, dn as TablePaginationVariant, en as TableCustomRowStatus, fn as UseTablePaginationConfig, gn as useTableInfiniteScroll, hn as UseTableInfiniteScrollConfig, in as TableSemanticRowStatus, jn as useTableColumnSettingsState, jt as _default$4, kn as UseTableColumnSettingsConfig, kt as _default$6, ln as UseTableRowExpansionConfig, mn as isInteractiveRowClick, nn as TableRowStatusColor, on as useTableRowStatus, pn as useTablePagination, qn as resolveColumnFloorWidths, qt as UseTableStickyColumnsConfig, rn as TableRowStatusName, sn as UseTableRowIndexConfig, tn as TableRowStatus, un as useTableRowExpansion, vn as buildGroupedRows, wn as applyTableFilters, xn as TableFilterStateHandle, yn as isTableGroupHeader, zn as resizeColumnWidths, zt as useTableRowsVirtualization } from "../index-
|
|
1
|
+
import { $t as useTableSortableState, An as useTableColumnSettings, At as _default$5, Bn as useTableColumnResize, Bt as TableTreeRowMeta, Cn as UseTableFilteringConfig, Dn as ColumnSettingsOption, En as useTableFiltering, Fn as columnResizeDirectionSign, Ft as _default, Gn as pixel, Gt as useTableTreeState, Hn as cellText, Ht as UseTableTreeStateConfig, In as columnResizeMinWidth, It as UseTableColumnsVirtualizationConfig, Jn as resolveColumnWidths, Jt as resolveStickySide, Kn as proportional, Kt as StickySide, Ln as columnResizeStep, Lt as UseTableRowsVirtualizationConfig, Mn as ColumnResizePlan, Mt as _default$3, Nn as ColumnResizeSnapshot, Nt as _default$2, On as TableColumnSettingsState, Ot as _default$7, Pn as UseTableColumnResizeConfig, Pt as _default$1, Qt as useTableSortable, Rn as isProportionalColumnWidth, Rt as useTableColumnsVirtualization, Sn as UseTableFilterStateOptions, Tn as useTableFilterState, Un as generateColumns, Ut as flattenTree, Vn as capitalize, Vt as UseTableTreeDataConfig, Wn as paginateData, Wt as useTableTreeData, Xt as useTableStickyColumns, Yn as sortRows, Yt as stickyOffsets, Zt as UseTableSortableConfig, _n as UseTableGroupedRowsConfig, an as UseTableRowStatusConfig, bn as useTableGroupedRows, cn as useTableRowIndex, dn as TablePaginationVariant, en as TableCustomRowStatus, fn as UseTablePaginationConfig, gn as useTableInfiniteScroll, hn as UseTableInfiniteScrollConfig, in as TableSemanticRowStatus, jn as useTableColumnSettingsState, jt as _default$4, kn as UseTableColumnSettingsConfig, kt as _default$6, ln as UseTableRowExpansionConfig, mn as isInteractiveRowClick, nn as TableRowStatusColor, on as useTableRowStatus, pn as useTablePagination, qn as resolveColumnFloorWidths, qt as UseTableStickyColumnsConfig, rn as TableRowStatusName, sn as UseTableRowIndexConfig, tn as TableRowStatus, un as useTableRowExpansion, vn as buildGroupedRows, wn as applyTableFilters, xn as TableFilterStateHandle, yn as isTableGroupHeader, zn as resizeColumnWidths, zt as useTableRowsVirtualization } from "../index-DMQqZbs3.js";
|
|
2
2
|
import { $ as useTableSelectionState, A as TableLoadingState, B as TableSelectionToolbarSlots, C as TableFilterField, D as TableFilterVariant, E as TableFilterValue, F as TableRowMenuItem, G as TableTextOverflow, H as TableSortDirection, I as TableRowModel, J as TableSelectedKeysSetter, K as TableVerticalAlign, L as TableRowPatch, M as TablePlugin, N as TableProps, O as TableGroupPatch, P as TableRowListeners, Q as useTableSelection, R as TableRowProps, S as TableDividers, T as TableFilterState, U as TableSortEntry, W as TableSortState, X as UseTableSelectionConfig, Y as TableSelectionState, Z as UseTableSelectionStateConfig, _ as TableCellProps, b as TableColumnResizeContribution, g as TableCellPatch, h as ProportionalWidth, j as TablePanelPatch, k as TableHeaderPatch, m as PixelWidth, p as ColumnWidth, q as TableVirtualizationContribution, v as TableColumn, w as TableFilterFieldType, x as TableDensity, y as TableColumnAlign, z as TableSelectionToolbarProps } from "../useResizable-if_cP4fs.js";
|
|
3
3
|
export { type ColumnResizePlan, type ColumnResizeSnapshot, type ColumnSettingsOption, type ColumnWidth, type PixelWidth, type ProportionalWidth, type StickySide, _default as Table, _default$1 as TableBody, _default$2 as TableCell, type TableCellPatch, type TableCellProps, type TableColumn, type TableColumnAlign, type TableColumnResizeContribution, type TableColumnSettingsState, type TableCustomRowStatus, type TableDensity, type TableDividers, type TableFilterField, type TableFilterFieldType, type TableFilterState, type TableFilterStateHandle, type TableFilterValue, type TableFilterVariant, _default$3 as TableFooter, type TableGroupPatch, _default$4 as TableHeader, _default$5 as TableHeaderCell, type TableHeaderPatch, type TableLoadingState, type TablePaginationVariant, type TablePanelPatch, type TablePlugin, type TableProps, _default$6 as TableRow, type TableRowListeners, type TableRowMenuItem, type TableRowModel, type TableRowPatch, type TableRowProps, type TableRowStatus, type TableRowStatusColor, type TableRowStatusName, type TableSelectedKeysSetter, type TableSelectionState, _default$7 as TableSelectionToolbar, type TableSelectionToolbarProps, type TableSelectionToolbarSlots, type TableSemanticRowStatus, type TableSortDirection, type TableSortEntry, type TableSortState, type TableTextOverflow, type TableTreeRowMeta, type TableVerticalAlign, type TableVirtualizationContribution, type UseTableColumnResizeConfig, type UseTableColumnSettingsConfig, type UseTableColumnsVirtualizationConfig, type UseTableFilterStateOptions, type UseTableFilteringConfig, type UseTableGroupedRowsConfig, type UseTableInfiniteScrollConfig, type UseTablePaginationConfig, type UseTableRowExpansionConfig, type UseTableRowIndexConfig, type UseTableRowStatusConfig, type UseTableRowsVirtualizationConfig, type UseTableSelectionConfig, type UseTableSelectionStateConfig, type UseTableSortableConfig, type UseTableStickyColumnsConfig, type UseTableTreeDataConfig, type UseTableTreeStateConfig, applyTableFilters, buildGroupedRows, capitalize, cellText, columnResizeDirectionSign, columnResizeMinWidth, columnResizeStep, flattenTree, generateColumns, isInteractiveRowClick, isProportionalColumnWidth, isTableGroupHeader, paginateData, paginateData as paginateTableData, pixel, proportional, resizeColumnWidths, resolveColumnFloorWidths, resolveColumnWidths, resolveStickySide, sortRows, stickyOffsets, useTableColumnResize, useTableColumnSettings, useTableColumnSettingsState, useTableColumnsVirtualization, useTableFilterState, useTableFiltering, useTableGroupedRows, useTableInfiniteScroll, useTablePagination, useTableRowExpansion, useTableRowIndex, useTableRowStatus, useTableRowsVirtualization, useTableSelection, useTableSelectionState, useTableSortable, useTableSortableState, useTableStickyColumns, useTableTreeData, useTableTreeState };
|
package/dist/Table/index.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { A as applyTableFilters, B as useTableColumnResize, C as useTableRowExpansion, D as buildGroupedRows, E as useTableInfiniteScroll, F as columnResizeDirectionSign, G as pixel, H as cellText, I as columnResizeMinWidth, J as resolveColumnWidths, K as proportional, L as columnResizeStep, M as useTableFiltering, N as useTableColumnSettings, O as isTableGroupHeader, P as useTableColumnSettingsState, R as isProportionalColumnWidth, S as useTableRowIndex, T as isInteractiveRowClick, U as generateColumns, V as capitalize, W as paginateData, Y as sortRows, _ as useTableSortable, a as _sfc_main$3, b as useTableSelectionState, c as _sfc_main, d as flattenTree, f as useTableTreeData, g as useTableStickyColumns, h as stickyOffsets, i as _sfc_main$4, j as useTableFilterState, k as useTableGroupedRows, l as useTableColumnsVirtualization, m as resolveStickySide, n as _sfc_main$6, o as _sfc_main$2, p as useTableTreeState, q as resolveColumnFloorWidths, r as _sfc_main$5, s as _sfc_main$1, t as _sfc_main$7, u as useTableRowsVirtualization, v as useTableSortableState, w as useTablePagination, x as useTableRowStatus, y as useTableSelection, z as resizeColumnWidths } from "../Table-
|
|
1
|
+
import { A as applyTableFilters, B as useTableColumnResize, C as useTableRowExpansion, D as buildGroupedRows, E as useTableInfiniteScroll, F as columnResizeDirectionSign, G as pixel, H as cellText, I as columnResizeMinWidth, J as resolveColumnWidths, K as proportional, L as columnResizeStep, M as useTableFiltering, N as useTableColumnSettings, O as isTableGroupHeader, P as useTableColumnSettingsState, R as isProportionalColumnWidth, S as useTableRowIndex, T as isInteractiveRowClick, U as generateColumns, V as capitalize, W as paginateData, Y as sortRows, _ as useTableSortable, a as _sfc_main$3, b as useTableSelectionState, c as _sfc_main, d as flattenTree, f as useTableTreeData, g as useTableStickyColumns, h as stickyOffsets, i as _sfc_main$4, j as useTableFilterState, k as useTableGroupedRows, l as useTableColumnsVirtualization, m as resolveStickySide, n as _sfc_main$6, o as _sfc_main$2, p as useTableTreeState, q as resolveColumnFloorWidths, r as _sfc_main$5, s as _sfc_main$1, t as _sfc_main$7, u as useTableRowsVirtualization, v as useTableSortableState, w as useTablePagination, x as useTableRowStatus, y as useTableSelection, z as resizeColumnWidths } from "../Table-CkWBUcAh.js";
|
|
2
2
|
export { _sfc_main as Table, _sfc_main$1 as TableBody, _sfc_main$2 as TableCell, _sfc_main$3 as TableFooter, _sfc_main$4 as TableHeader, _sfc_main$5 as TableHeaderCell, _sfc_main$6 as TableRow, _sfc_main$7 as TableSelectionToolbar, applyTableFilters, buildGroupedRows, capitalize, cellText, columnResizeDirectionSign, columnResizeMinWidth, columnResizeStep, flattenTree, generateColumns, isInteractiveRowClick, isProportionalColumnWidth, isTableGroupHeader, paginateData, paginateData as paginateTableData, pixel, proportional, resizeColumnWidths, resolveColumnFloorWidths, resolveColumnWidths, resolveStickySide, sortRows, stickyOffsets, useTableColumnResize, useTableColumnSettings, useTableColumnSettingsState, useTableColumnsVirtualization, useTableFilterState, useTableFiltering, useTableGroupedRows, useTableInfiniteScroll, useTablePagination, useTableRowExpansion, useTableRowIndex, useTableRowStatus, useTableRowsVirtualization, useTableSelection, useTableSelectionState, useTableSortable, useTableSortableState, useTableStickyColumns, useTableTreeData, useTableTreeState };
|
|
@@ -20,10 +20,10 @@ import { t as useAnnounceRenderedText } from "./announceRenderedText-BaV4uiLs.js
|
|
|
20
20
|
import { t as _sfc_main$21 } from "./CheckboxInput-D7uMSWmO.js";
|
|
21
21
|
import { t as _sfc_main$22 } from "./ComponentIcon-B67QcA-d.js";
|
|
22
22
|
import { t as _sfc_main$23 } from "./Popover-ChbuU4Nc.js";
|
|
23
|
-
import { t as _sfc_main$24 } from "./DateInput-
|
|
23
|
+
import { t as _sfc_main$24 } from "./DateInput-Bg4jkwQ_.js";
|
|
24
24
|
import { c as tableMessages } from "./loadCatalog-DT1OyK-2.js";
|
|
25
|
-
import { r as useCollator } from "./locale-
|
|
26
|
-
import { t as _sfc_main$25 } from "./MultiSelector-
|
|
25
|
+
import { r as useCollator } from "./locale-DhcPo0et.js";
|
|
26
|
+
import { t as _sfc_main$25 } from "./MultiSelector-DPRe_xUK.js";
|
|
27
27
|
import { t as _sfc_main$26 } from "./NumberInput-DC1ALFjZ.js";
|
|
28
28
|
import { t as _sfc_main$27 } from "./Pagination-CR64PGww.js";
|
|
29
29
|
import { t as _sfc_main$28 } from "./Selector-ChAPYgNU.js";
|
package/dist/TextArea/index.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { Ct as TextAreaSize, Dt as TextAreaWrap, Et as TextAreaStatusType, St as TextAreaResize, Tt as TextAreaStatus, _t as _default, bt as TextAreaEmits, vt as TextAreaChangeAction, wt as TextAreaSlots, xt as TextAreaProps, yt as TextAreaChangeEvent } from "../index-
|
|
1
|
+
import { Ct as TextAreaSize, Dt as TextAreaWrap, Et as TextAreaStatusType, St as TextAreaResize, Tt as TextAreaStatus, _t as _default, bt as TextAreaEmits, vt as TextAreaChangeAction, wt as TextAreaSlots, xt as TextAreaProps, yt as TextAreaChangeEvent } from "../index-DMQqZbs3.js";
|
|
2
2
|
export { _default as TextArea, type TextAreaChangeAction, type TextAreaChangeEvent, type TextAreaEmits, type TextAreaProps, type TextAreaResize, type TextAreaSize, type TextAreaSlots, type TextAreaStatus, type TextAreaStatusType, type TextAreaWrap };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { ct as TextInputChangeAction, dt as TextInputProps, ft as TextInputSize, gt as TextInputType, ht as TextInputStatusType, lt as TextInputChangeEvent, mt as TextInputStatus, pt as TextInputSlots, st as _default, ut as TextInputEmits } from "../index-
|
|
1
|
+
import { ct as TextInputChangeAction, dt as TextInputProps, ft as TextInputSize, gt as TextInputType, ht as TextInputStatusType, lt as TextInputChangeEvent, mt as TextInputStatus, pt as TextInputSlots, st as _default, ut as TextInputEmits } from "../index-DMQqZbs3.js";
|
|
2
2
|
export { _default as TextInput, type TextInputChangeAction, type TextInputChangeEvent, type TextInputEmits, type TextInputProps, type TextInputSize, type TextInputSlots, type TextInputStatus, type TextInputStatusType, type TextInputType };
|
|
@@ -20,7 +20,7 @@ import { t as dateInputMessages } from "./date-input-CRdc2H3c.js";
|
|
|
20
20
|
import { t as _sfc_main$9 } from "./PickerWheel-BN_Ad6FQ.js";
|
|
21
21
|
import { n as dateTimeInputMessages, t as timeInputMessages } from "./time-input-CKOsh84E.js";
|
|
22
22
|
import { t as useEntryErrorReport } from "./useEntryErrorReport-Wee3N8IA.js";
|
|
23
|
-
import { t as getLocaleDirection } from "./direction-
|
|
23
|
+
import { t as getLocaleDirection } from "./direction-nWTDB0Ko.js";
|
|
24
24
|
import { Fragment, Teleport, computed, createBlock, createCommentVNode, createElementBlock, createElementVNode, createTextVNode, createVNode, defineComponent, mergeModels, mergeProps, nextTick, normalizeClass, normalizeStyle, openBlock, ref, renderList, shallowRef, toDisplayString, unref, useAttrs, useId, useModel, useTemplateRef, vShow, watch, withCtx, withDirectives, withModifiers } from "vue";
|
|
25
25
|
import "../styles/layer.css";
|
|
26
26
|
import "../styles/cut-text.css";
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { at as TimeInputSize, it as TimeInputProps, nt as _default, ot as TimeInputEntryError, rt as TimeInputEmits } from "../index-
|
|
1
|
+
import { at as TimeInputSize, it as TimeInputProps, nt as _default, ot as TimeInputEntryError, rt as TimeInputEmits } from "../index-DMQqZbs3.js";
|
|
2
2
|
export { _default as TimeInput, type TimeInputEmits, type TimeInputEntryError, type TimeInputProps, type TimeInputSize };
|
package/dist/TimeInput/index.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as _sfc_main } from "../TimeInput-
|
|
1
|
+
import { t as _sfc_main } from "../TimeInput-rUkF0qJc.js";
|
|
2
2
|
export { _sfc_main as TimeInput };
|
|
@@ -3,7 +3,7 @@ import { i as useSize } from "./SizeContext-BbaF-SEx.js";
|
|
|
3
3
|
import { t as useResolvedLabelHidden } from "./useResolvedLabelHidden-B2rlWiaI.js";
|
|
4
4
|
import { t as _sfc_main$1 } from "./Field-BiLdRQCq.js";
|
|
5
5
|
import { t as useFieldPartStyling } from "./fieldParts-CuE5V12i.js";
|
|
6
|
-
import { t as _sfc_main$2 } from "./TimeField-
|
|
6
|
+
import { t as _sfc_main$2 } from "./TimeField-BJ8S3TXa.js";
|
|
7
7
|
import { computed, createBlock, createVNode, defineComponent, mergeModels, mergeProps, normalizeClass, normalizeStyle, openBlock, shallowRef, unref, useAttrs, useId, useModel, withCtx } from "vue";
|
|
8
8
|
//#region src/TimeInput/TimeInput.vue
|
|
9
9
|
const _sfc_main = /*@__PURE__*/ defineComponent({
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { $ as FormatInstantOptions, G as TimestampColor, J as TimestampTooltipEntry, K as TimestampFormat, Q as formatRelativeTime, W as _default, X as TimestampTooltipLine, Y as TimestampTooltipFormat, Z as formatTooltipLines, et as InstantFormat, q as TimestampProps, tt as formatInstant } from "../index-
|
|
1
|
+
import { $ as FormatInstantOptions, G as TimestampColor, J as TimestampTooltipEntry, K as TimestampFormat, Q as formatRelativeTime, W as _default, X as TimestampTooltipLine, Y as TimestampTooltipFormat, Z as formatTooltipLines, et as InstantFormat, q as TimestampProps, tt as formatInstant } from "../index-DMQqZbs3.js";
|
|
2
2
|
export { type FormatInstantOptions, type InstantFormat, _default as Timestamp, type TimestampColor, type TimestampFormat, type TimestampProps, type TimestampTooltipEntry, type TimestampTooltipFormat, type TimestampTooltipLine, formatInstant, formatRelativeTime, formatTooltipLines };
|
package/dist/Timestamp/index.js
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { t as formatInstant } from "../formatInstant-
|
|
2
|
-
import { n as formatTooltipLines, r as formatRelativeTime, t as _sfc_main } from "../Timestamp-
|
|
1
|
+
import { t as formatInstant } from "../formatInstant-B-ukorXg.js";
|
|
2
|
+
import { n as formatTooltipLines, r as formatRelativeTime, t as _sfc_main } from "../Timestamp-CFTG2jF2.js";
|
|
3
3
|
export { _sfc_main as Timestamp, formatInstant, formatRelativeTime, formatTooltipLines };
|
|
@@ -4,10 +4,10 @@ import { t as useAnnounce } from "./announce-GU01Oix2.js";
|
|
|
4
4
|
import { t as writeClipboardText } from "./clipboardWrite-Ds6fxmZc.js";
|
|
5
5
|
import { t as _sfc_main$2 } from "./IconButton-Bd0TmKGO.js";
|
|
6
6
|
import { t as _sfc_main$3 } from "./Text-S8qRNR8c.js";
|
|
7
|
-
import { r as useCalendarSystem } from "./calendar-
|
|
7
|
+
import { r as useCalendarSystem } from "./calendar-B1G5O29s.js";
|
|
8
8
|
import { t as _sfc_main$4 } from "./HoverCard-DWr12brr.js";
|
|
9
9
|
import { t as _sfc_main$5 } from "./ComponentIcon-B67QcA-d.js";
|
|
10
|
-
import { t as formatInstant } from "./formatInstant-
|
|
10
|
+
import { t as formatInstant } from "./formatInstant-B-ukorXg.js";
|
|
11
11
|
import { t as timestampMessages } from "./timestamp-saJUedIU.js";
|
|
12
12
|
import { Fragment, computed, createBlock, createCommentVNode, createElementBlock, createElementVNode, createVNode, defineComponent, mergeProps, normalizeClass, normalizeStyle, onBeforeUnmount, onMounted, openBlock, ref, renderList, renderSlot, toDisplayString, unref, useAttrs, useTemplateRef, watch, withCtx } from "vue";
|
|
13
13
|
import "../styles/timestamp.css";
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { A as ToggleButtonEmits, B as ToggleButtonPressedChangeHandler, D as _default, E as _default$1, F as ToggleButtonGroupProps, H as ToggleButtonSize, I as ToggleButtonGroupSingleProps, L as ToggleButtonGroupSlots, M as ToggleButtonGroupEmits, N as ToggleButtonGroupMultipleProps, O as ToggleButtonChangeAction, P as ToggleButtonGroupOrientation, R as ToggleButtonGroupType, U as ToggleButtonSlots, V as ToggleButtonProps, j as ToggleButtonGroupBaseProps, k as ToggleButtonElevation, z as ToggleButtonGroupValue } from "../index-
|
|
1
|
+
import { A as ToggleButtonEmits, B as ToggleButtonPressedChangeHandler, D as _default, E as _default$1, F as ToggleButtonGroupProps, H as ToggleButtonSize, I as ToggleButtonGroupSingleProps, L as ToggleButtonGroupSlots, M as ToggleButtonGroupEmits, N as ToggleButtonGroupMultipleProps, O as ToggleButtonChangeAction, P as ToggleButtonGroupOrientation, R as ToggleButtonGroupType, U as ToggleButtonSlots, V as ToggleButtonProps, j as ToggleButtonGroupBaseProps, k as ToggleButtonElevation, z as ToggleButtonGroupValue } from "../index-DMQqZbs3.js";
|
|
2
2
|
export { _default as ToggleButton, _default as default, type ToggleButtonChangeAction, type ToggleButtonElevation, type ToggleButtonEmits, _default$1 as ToggleButtonGroup, type ToggleButtonGroupBaseProps, type ToggleButtonGroupEmits, type ToggleButtonGroupMultipleProps, type ToggleButtonGroupOrientation, type ToggleButtonGroupProps, type ToggleButtonGroupSingleProps, type ToggleButtonGroupSlots, type ToggleButtonGroupType, type ToggleButtonGroupValue, type ToggleButtonPressedChangeHandler, type ToggleButtonProps, type ToggleButtonSize, type ToggleButtonSlots };
|
package/dist/Token/index.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as TokenProps, i as TokenEmits, n as TOKEN_COLORS, o as TokenSize, r as TokenColor, s as TokenSlots, t as _default } from "../index-
|
|
1
|
+
import { a as TokenProps, i as TokenEmits, n as TOKEN_COLORS, o as TokenSize, r as TokenColor, s as TokenSlots, t as _default } from "../index-CNZCQgHF.js";
|
|
2
2
|
export { TOKEN_COLORS, _default as Token, type TokenColor, type TokenEmits, type TokenProps, type TokenSize, type TokenSlots };
|
package/dist/Toolbar/index.d.ts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { T as _default } from "../index-
|
|
1
|
+
import { T as _default } from "../index-DMQqZbs3.js";
|
|
2
2
|
import { et as ToolbarOrientation, nt as ToolbarSize, tt as ToolbarProps } from "../useResizable-if_cP4fs.js";
|
|
3
3
|
export { _default as Toolbar, type ToolbarOrientation, type ToolbarProps, type ToolbarSize };
|
package/dist/Tooltip/index.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as TooltipAlignment, c as TooltipProps, i as _default, l as TooltipTouchTrigger, n as UseTooltipOptions, o as TooltipFocusTrigger, r as UseTooltipReturn, s as TooltipPlacement, t as useTooltip } from "../index-
|
|
1
|
+
import { a as TooltipAlignment, c as TooltipProps, i as _default, l as TooltipTouchTrigger, n as UseTooltipOptions, o as TooltipFocusTrigger, r as UseTooltipReturn, s as TooltipPlacement, t as useTooltip } from "../index-C7uGs5Cl.js";
|
|
2
2
|
export { _default as Tooltip, type TooltipAlignment, type TooltipFocusTrigger, type TooltipPlacement, type TooltipProps, type TooltipTouchTrigger, type UseTooltipOptions, type UseTooltipReturn, useTooltip };
|
package/dist/TopNav/index.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { C as TopNavMenuProps, S as TopNavMenuItem, _ as TopNavMegaMenuEmits, b as TopNavMegaMenuProps, c as _default$5, d as _default$2, f as _default$1, g as TopNavItemProps, h as TopNavItemEmits, l as _default$4, m as TopNavHeadingProps, p as _default, s as _default$6, u as _default$3, v as TopNavMegaMenuFeaturedCardProps, w as TopNavProps, x as TopNavMenuEmits, y as TopNavMegaMenuItemProps } from "../index-
|
|
1
|
+
import { C as TopNavMenuProps, S as TopNavMenuItem, _ as TopNavMegaMenuEmits, b as TopNavMegaMenuProps, c as _default$5, d as _default$2, f as _default$1, g as TopNavItemProps, h as TopNavItemEmits, l as _default$4, m as TopNavHeadingProps, p as _default, s as _default$6, u as _default$3, v as TopNavMegaMenuFeaturedCardProps, w as TopNavProps, x as TopNavMenuEmits, y as TopNavMegaMenuItemProps } from "../index-DMQqZbs3.js";
|
|
2
2
|
export { _default as TopNav, _default$1 as TopNavHeading, type TopNavHeadingProps, _default$2 as TopNavItem, type TopNavItemEmits, type TopNavItemProps, _default$3 as TopNavMegaMenu, type TopNavMegaMenuEmits, _default$4 as TopNavMegaMenuFeaturedCard, type TopNavMegaMenuFeaturedCardProps, _default$5 as TopNavMegaMenuItem, type TopNavMegaMenuItemProps, type TopNavMegaMenuProps, _default$6 as TopNavMenu, type TopNavMenuEmits, type TopNavMenuItem, type TopNavMenuProps, type TopNavProps };
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { t as devWarn } from "./useDevWarning-B2fsk2B-.js";
|
|
2
|
-
import {
|
|
2
|
+
import { n as dateTimeFormatFor } from "./dateTimeFormatCache-CSsvHOhO.js";
|
|
3
|
+
import { E as plainDateIsInRange, d as getDaysInMonth, m as plainDateAddMonths, p as plainDateAddDays } from "./plainDate-By2VjeSI.js";
|
|
3
4
|
import { computed, inject, provide, toValue } from "vue";
|
|
4
5
|
//#region src/utils/calendarSystem.ts
|
|
5
6
|
const KNOWN_CALENDARS = {
|
|
@@ -1,6 +1,7 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
1
|
+
import { n as dateTimeFormatFor } from "./dateTimeFormatCache-CSsvHOhO.js";
|
|
2
|
+
import { n as DATE_FORMAT_MONTH_ONLY, p as plainDateAddDays, v as plainDateFormat } from "./plainDate-By2VjeSI.js";
|
|
3
|
+
import { d as calendarMonthLabelDay, l as calendarMonthFromYearMonth, p as calendarMonthsInCalendarYear, y as isGregorianCalendar } from "./calendar-B1G5O29s.js";
|
|
4
|
+
import { i as formatStandaloneMonthYear } from "./format--_j64_yo.js";
|
|
4
5
|
//#region src/utils/calendarFormat.ts
|
|
5
6
|
/** `Intl` 没有 `iso8601` 的月份名,标签用月日相同的 `gregory`。 */
|
|
6
7
|
function labelCalendar(calendar) {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { a as useAstryxLocale } from "./context-B8IEFCDR.js";
|
|
2
|
-
import { t as getLocaleDirection } from "./direction-
|
|
2
|
+
import { t as getLocaleDirection } from "./direction-nWTDB0Ko.js";
|
|
3
3
|
import { computed, inject } from "vue";
|
|
4
4
|
//#region src/InternationalizationProvider/context.ts
|
|
5
5
|
/** 最近的 `InternationalizationProvider` 定下的书写方向。 */
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
//#region src/utils/dateTimeFormatCache.ts
|
|
2
|
+
/** Options that print a time of day or a zone, which a PlainDate lacks. */
|
|
3
|
+
const TIME_OF_DAY_FIELDS = [
|
|
4
|
+
"timeZoneName",
|
|
5
|
+
"hour",
|
|
6
|
+
"minute",
|
|
7
|
+
"second",
|
|
8
|
+
"fractionalSecondDigits",
|
|
9
|
+
"dayPeriod",
|
|
10
|
+
"timeStyle"
|
|
11
|
+
];
|
|
12
|
+
/**
|
|
13
|
+
* One `Intl.DateTimeFormat` per locale and options, built on first use. A
|
|
14
|
+
* calendar formats each of a month's 42 day labels with the same options on
|
|
15
|
+
* every render, and building a formatter costs far more than using one. The
|
|
16
|
+
* options are keyed in a fixed order, so the same options written in another
|
|
17
|
+
* order share a formatter.
|
|
18
|
+
*/
|
|
19
|
+
const dateTimeFormats = /* @__PURE__ */ new Map();
|
|
20
|
+
/** @internal */
|
|
21
|
+
function dateTimeFormatFor(locale, options) {
|
|
22
|
+
const key = JSON.stringify([locale, Object.entries(options).sort(([a], [b]) => a < b ? -1 : a > b ? 1 : 0)]);
|
|
23
|
+
let format = dateTimeFormats.get(key);
|
|
24
|
+
if (format == null) {
|
|
25
|
+
format = new Intl.DateTimeFormat(locale, options);
|
|
26
|
+
dateTimeFormats.set(key, format);
|
|
27
|
+
}
|
|
28
|
+
return format;
|
|
29
|
+
}
|
|
30
|
+
//#endregion
|
|
31
|
+
export { dateTimeFormatFor as n, TIME_OF_DAY_FIELDS as t };
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
//#region src/InternationalizationProvider/direction.ts
|
|
2
|
+
/**
|
|
3
|
+
* ICU 按从右往左书写的文字(script)。有的引擎(Firefox)的 `Intl.Locale` 没有文字信息,
|
|
4
|
+
* 这时按语言最可能用的文字判断,服务端和浏览器得到同一个方向。
|
|
5
|
+
*/
|
|
6
|
+
const RIGHT_TO_LEFT_SCRIPTS = /* @__PURE__ */ new Set([
|
|
7
|
+
"Adlm",
|
|
8
|
+
"Arab",
|
|
9
|
+
"Armi",
|
|
10
|
+
"Avst",
|
|
11
|
+
"Chrs",
|
|
12
|
+
"Cprt",
|
|
13
|
+
"Elym",
|
|
14
|
+
"Gara",
|
|
15
|
+
"Hatr",
|
|
16
|
+
"Hebr",
|
|
17
|
+
"Hung",
|
|
18
|
+
"Khar",
|
|
19
|
+
"Lydi",
|
|
20
|
+
"Mand",
|
|
21
|
+
"Mani",
|
|
22
|
+
"Mend",
|
|
23
|
+
"Merc",
|
|
24
|
+
"Mero",
|
|
25
|
+
"Narb",
|
|
26
|
+
"Nbat",
|
|
27
|
+
"Nkoo",
|
|
28
|
+
"Orkh",
|
|
29
|
+
"Ougr",
|
|
30
|
+
"Palm",
|
|
31
|
+
"Phli",
|
|
32
|
+
"Phlp",
|
|
33
|
+
"Phnx",
|
|
34
|
+
"Prti",
|
|
35
|
+
"Rohg",
|
|
36
|
+
"Samr",
|
|
37
|
+
"Sarb",
|
|
38
|
+
"Sidt",
|
|
39
|
+
"Sogd",
|
|
40
|
+
"Sogo",
|
|
41
|
+
"Syrc",
|
|
42
|
+
"Thaa",
|
|
43
|
+
"Yezi"
|
|
44
|
+
]);
|
|
45
|
+
/**
|
|
46
|
+
* 由语言标签推导书写方向。`ar-SA`、`he`、`pa-Arab` 这类得到 `rtl`,其余得到 `ltr`。
|
|
47
|
+
* 先读 `Intl.Locale` 的文字信息;引擎没有时,按语言最可能用的文字判断。解析不了的标签按 `ltr` 处理。
|
|
48
|
+
*/
|
|
49
|
+
function getLocaleDirection(locale) {
|
|
50
|
+
const tag = locale.trim();
|
|
51
|
+
if (tag === "") return "ltr";
|
|
52
|
+
let parsed;
|
|
53
|
+
try {
|
|
54
|
+
parsed = new Intl.Locale(tag);
|
|
55
|
+
} catch {
|
|
56
|
+
return "ltr";
|
|
57
|
+
}
|
|
58
|
+
const direction = (typeof parsed.getTextInfo === "function" ? parsed.getTextInfo() : parsed.textInfo)?.direction;
|
|
59
|
+
if (direction === "rtl" || direction === "ltr") return direction;
|
|
60
|
+
const script = parsed.maximize().script;
|
|
61
|
+
return script != null && RIGHT_TO_LEFT_SCRIPTS.has(script) ? "rtl" : "ltr";
|
|
62
|
+
}
|
|
63
|
+
//#endregion
|
|
64
|
+
export { getLocaleDirection as t };
|