@sdata/web-vue 3.14.0 → 3.15.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (125) hide show
  1. package/dist/sd.css +26 -3
  2. package/dist/sd.min.css +1 -1
  3. package/es/_components/resize-trigger.vue_vue_type_script_setup_true_lang.js +6 -3
  4. package/es/_components/select-view/select-view.js +3 -1
  5. package/es/alert/alert.vue_vue_type_script_setup_true_lang.js +5 -2
  6. package/es/anchor/anchor.vue_vue_type_script_setup_true_lang.js +5 -2
  7. package/es/back-top/back-top.vue_vue_type_script_setup_true_lang.js +5 -2
  8. package/es/basic-crud-table/basic-crud-modal.js +5 -0
  9. package/es/basic-crud-table/basic-crud-modal.vue.d.ts +264 -0
  10. package/es/basic-crud-table/basic-crud-modal.vue_vue_type_script_setup_true_lang.js +139 -0
  11. package/es/basic-crud-table/basic-crud-table.js +5 -0
  12. package/es/basic-crud-table/basic-crud-table.vue.d.ts +935 -0
  13. package/es/basic-crud-table/basic-crud-table.vue_vue_type_script_setup_true_lang.js +510 -0
  14. package/es/basic-crud-table/index.d.ts +2722 -0
  15. package/es/basic-crud-table/index.js +9 -0
  16. package/es/basic-crud-table/style/css.js +2 -0
  17. package/es/basic-crud-table/style/index.css +42 -0
  18. package/es/basic-crud-table/style/index.d.ts +2 -0
  19. package/es/basic-crud-table/style/index.js +2 -0
  20. package/es/basic-crud-table/style/index.scss +33 -0
  21. package/es/basic-crud-table/style/token.scss +8 -0
  22. package/es/basic-crud-table/types.d.ts +69 -0
  23. package/es/breadcrumb/breadcrumb-item.js +4 -2
  24. package/es/breadcrumb/breadcrumb.js +3 -1
  25. package/es/calendar/components/event.vue_vue_type_script_setup_true_lang.js +1 -1
  26. package/es/calendar/components/headings-bar.vue_vue_type_script_setup_true_lang.js +1 -1
  27. package/es/carousel/carousel-arrow.vue_vue_type_script_setup_true_lang.js +9 -5
  28. package/es/carousel/carousel-indicator.vue_vue_type_script_setup_true_lang.js +4 -2
  29. package/es/carousel/carousel-item.vue_vue_type_script_setup_true_lang.js +4 -2
  30. package/es/carousel/carousel.js +3 -1
  31. package/es/cascader/cascader-option.js +1 -1
  32. package/es/cascader/cascader.vue_vue_type_script_setup_true_lang.js +2 -2
  33. package/es/color-picker/panel.js +5 -3
  34. package/es/components.d.ts +1 -0
  35. package/es/copy/copy.vue_vue_type_script_setup_true_lang.js +1 -1
  36. package/es/date-picker/hooks/use-provide-datepicker-transform.js +1 -1
  37. package/es/date-picker/panels/header.vue_vue_type_script_setup_true_lang.js +1 -1
  38. package/es/date-picker/picker.vue_vue_type_script_setup_true_lang.js +3 -3
  39. package/es/date-picker/range-picker.vue_vue_type_script_setup_true_lang.js +2 -2
  40. package/es/drawer/drawer.vue_vue_type_script_setup_true_lang.js +4 -3
  41. package/es/dropdown/dropdown-button.vue_vue_type_script_setup_true_lang.js +1 -1
  42. package/es/dropdown/dropdown-panel.vue_vue_type_script_setup_true_lang.js +1 -1
  43. package/es/dropdown/dropdown-submenu.vue_vue_type_script_setup_true_lang.js +1 -1
  44. package/es/file-previewer/file-previewer.vue_vue_type_script_setup_true_lang.js +13 -9
  45. package/es/form/form-item.vue_vue_type_script_setup_true_lang.js +1 -1
  46. package/es/form/index.js +1 -1
  47. package/es/grid/grid-col.vue_vue_type_script_setup_true_lang.js +1 -1
  48. package/es/grid/grid-item.vue_vue_type_script_setup_true_lang.js +1 -1
  49. package/es/grid/grid-row.vue_vue_type_script_setup_true_lang.js +1 -1
  50. package/es/grid/grid.vue_vue_type_script_setup_true_lang.js +1 -1
  51. package/es/image/image.vue_vue_type_script_setup_true_lang.js +1 -1
  52. package/es/image/preview-arrow.vue_vue_type_script_setup_true_lang.js +1 -1
  53. package/es/image/preview.vue_vue_type_script_setup_true_lang.js +1 -1
  54. package/es/index.css +26 -3
  55. package/es/index.d.ts +2 -0
  56. package/es/index.js +55 -54
  57. package/es/index.scss +1 -0
  58. package/es/input/input.js +3 -1
  59. package/es/input-number/input-number.js +8 -6
  60. package/es/json-form/style/index.css +0 -3
  61. package/es/json-form/style/index.scss +4 -3
  62. package/es/json-form/utils.js +4 -4
  63. package/es/layout/sider.vue_vue_type_script_setup_true_lang.js +9 -7
  64. package/es/link/link.vue_vue_type_script_setup_true_lang.js +1 -1
  65. package/es/list/list.js +1 -1
  66. package/es/locale/interface.d.ts +39 -0
  67. package/es/locale/lang/ar-eg.js +38 -0
  68. package/es/locale/lang/de-de.js +38 -0
  69. package/es/locale/lang/en-us.js +38 -0
  70. package/es/locale/lang/es-es.js +38 -0
  71. package/es/locale/lang/fr-fr.js +38 -0
  72. package/es/locale/lang/id-id.js +38 -0
  73. package/es/locale/lang/it-it.js +38 -0
  74. package/es/locale/lang/ja-jp.js +38 -0
  75. package/es/locale/lang/km-kh.js +38 -0
  76. package/es/locale/lang/ko-kr.js +38 -0
  77. package/es/locale/lang/ms-my.js +38 -0
  78. package/es/locale/lang/nl-nl.js +38 -0
  79. package/es/locale/lang/pt-pt.js +38 -0
  80. package/es/locale/lang/ru-ru.js +38 -0
  81. package/es/locale/lang/th-th.js +38 -0
  82. package/es/locale/lang/vi-vn.js +38 -0
  83. package/es/locale/lang/zh-cn.js +38 -0
  84. package/es/locale/lang/zh-tw.js +38 -0
  85. package/es/menu/item.d.ts +1 -1
  86. package/es/modal/modal.vue_vue_type_script_setup_true_lang.js +4 -3
  87. package/es/overflow-list/overflow-list.js +1 -1
  88. package/es/page-header/page-header.vue_vue_type_script_setup_true_lang.js +8 -2
  89. package/es/pagination/page-item-ellipsis.vue_vue_type_script_setup_true_lang.js +5 -2
  90. package/es/pagination/page-item-step.vue_vue_type_script_setup_true_lang.js +5 -3
  91. package/es/pagination/pagination.js +1 -1
  92. package/es/popconfirm/popconfirm.vue_vue_type_script_setup_true_lang.js +1 -1
  93. package/es/qr-code/qr-code.vue_vue_type_script_setup_true_lang.js +4 -2
  94. package/es/rate/rate.js +3 -1
  95. package/es/sd-vue.js +54 -52
  96. package/es/secret/secret.vue_vue_type_script_setup_true_lang.js +3 -1
  97. package/es/select/select.js +2 -2
  98. package/es/statistic/statistic.vue_vue_type_script_setup_true_lang.js +1 -1
  99. package/es/steps/steps.vue_vue_type_script_setup_true_lang.js +6 -3
  100. package/es/table/index.d.ts +4 -4
  101. package/es/table/table-operation-td.js +3 -3
  102. package/es/table/table-operation-th.js +1 -1
  103. package/es/table/table-th.d.ts +1 -1
  104. package/es/table/table-th.js +3 -3
  105. package/es/table/table.d.ts +1 -1
  106. package/es/table/table.js +2 -2
  107. package/es/tabs/tabs-button.js +1 -1
  108. package/es/tag/tag.vue_vue_type_script_setup_true_lang.js +8 -2
  109. package/es/tag-group/tag-group.vue_vue_type_script_setup_true_lang.js +2 -2
  110. package/es/textarea/textarea.vue_vue_type_script_setup_true_lang.js +5 -2
  111. package/es/time-picker/time-picker.vue_vue_type_script_setup_true_lang.js +2 -2
  112. package/es/toolbar/index.d.ts +3 -3
  113. package/es/toolbar/toolbar.vue.d.ts +2 -2
  114. package/es/toolbar/toolbar.vue_vue_type_script_setup_true_lang.js +5 -5
  115. package/es/transfer/transfer-list-item.js +3 -1
  116. package/es/transfer/transfer.vue_vue_type_script_setup_true_lang.js +7 -5
  117. package/es/tree/base-node.vue_vue_type_script_setup_true_lang.js +1 -1
  118. package/es/tree/node-switcher.vue_vue_type_script_lang.js +1 -1
  119. package/es/typography/edit-content.vue_vue_type_script_setup_true_lang.js +8 -2
  120. package/es/upload/upload-list-item.js +1 -1
  121. package/es/upload/upload-picture-item.js +5 -3
  122. package/es/verification-code/verification-code.js +4 -2
  123. package/json/vetur-tags.json +3 -0
  124. package/json/web-types.json +7 -1
  125. package/package.json +1 -1
@@ -1,5 +1,6 @@
1
1
  import { _objectSpread2 } from "../_virtual/_@oxc-project_runtime@0.133.0/helpers/esm/objectSpread2.js";
2
2
  import { getPrefixCls } from "../_utils/global-config.js";
3
+ import { useI18n } from "../locale/index.js";
3
4
  import Tooltip from "../tooltip/index.js";
4
5
  import IconEye from "../icon/icon-eye/index.js";
5
6
  import IconEyeInvisible from "../icon/icon-eye-invisible/index.js";
@@ -24,9 +25,10 @@ var secret_vue_vue_type_script_setup_true_lang_default = /*@__PURE__*/ defineCom
24
25
  emits: ["update:visible"],
25
26
  setup(__props) {
26
27
  const visibleValue = useModel(__props, "visible");
28
+ const { t } = useI18n();
27
29
  const prefixCls = getPrefixCls("secret");
28
30
  const toggleTooltip = computed(() => visibleValue.value ? "隐藏" : "显示");
29
- const toggleAriaLabel = computed(() => visibleValue.value ? "隐藏敏感信息" : "显示敏感信息");
31
+ const toggleAriaLabel = computed(() => visibleValue.value ? t("a11y.secretHide") : t("a11y.secretShow"));
30
32
  function handleToggleVisible() {
31
33
  visibleValue.value = !visibleValue.value;
32
34
  }
@@ -12,11 +12,11 @@ import Tooltip from "../tooltip/index.js";
12
12
  import { getKeyFromValue, hasEmptyStringKey, isGroupOptionInfo, isValidOption } from "./utils.js";
13
13
  import { useSelect } from "./hooks/use-select.js";
14
14
  import select_dropdown_default from "./select-dropdown.js";
15
- import { useTrigger } from "../_hooks/use-trigger.js";
15
+ import { debounce } from "../_utils/debounce.js";
16
16
  import Checkbox from "../checkbox/index.js";
17
17
  import select_view_default from "../_components/select-view/select-view.js";
18
18
  import { useAllowSearch } from "../_hooks/use-allow-search.js";
19
- import { debounce } from "../_utils/debounce.js";
19
+ import { useTrigger } from "../_hooks/use-trigger.js";
20
20
  import { computed, createVNode, defineComponent, getCurrentInstance, isVNode, mergeProps, nextTick, ref, toRef, toRefs, watch, watchEffect } from "vue";
21
21
  //#region components/select/select.tsx
22
22
  function _isSlot(s) {
@@ -3,8 +3,8 @@ import { getPrefixCls } from "../_utils/global-config.js";
3
3
  import { isNumber, isUndefined } from "../_utils/is.js";
4
4
  import { Fragment, computed, createCommentVNode, createElementBlock, createElementVNode, createTextVNode, defineComponent, normalizeClass, normalizeStyle, onMounted, openBlock, ref, renderSlot, toDisplayString, toRefs, unref, watch } from "vue";
5
5
  import BTween from "b-tween";
6
- import dayjs from "dayjs";
7
6
  import NP from "number-precision";
7
+ import dayjs from "dayjs";
8
8
  //#region components/statistic/statistic.vue?vue&type=script&setup=true&lang.ts
9
9
  var _hoisted_1 = { key: 0 };
10
10
  var statistic_vue_vue_type_script_setup_true_lang_default = /*@__PURE__*/ defineComponent(_objectSpread2(_objectSpread2({}, { name: "Statistic" }), {}, {
@@ -1,8 +1,10 @@
1
1
  import { _objectSpread2 } from "../_virtual/_@oxc-project_runtime@0.133.0/helpers/esm/objectSpread2.js";
2
2
  import { getPrefixCls } from "../_utils/global-config.js";
3
+ import { useI18n } from "../locale/index.js";
3
4
  import { stepsInjectionKey } from "./context.js";
4
- import { computed, createElementBlock, defineComponent, normalizeClass, openBlock, provide, reactive, ref, renderSlot, toRefs, useSlots } from "vue";
5
+ import { computed, createElementBlock, defineComponent, normalizeClass, openBlock, provide, reactive, ref, renderSlot, toRefs, unref, useSlots } from "vue";
5
6
  //#region components/steps/steps.vue?vue&type=script&setup=true&lang.ts
7
+ var _hoisted_1 = ["aria-label"];
6
8
  var steps_vue_vue_type_script_setup_true_lang_default = /*@__PURE__*/ defineComponent(_objectSpread2(_objectSpread2({}, { name: "Steps" }), {}, {
7
9
  __name: "steps",
8
10
  props: {
@@ -90,6 +92,7 @@ var steps_vue_vue_type_script_setup_true_lang_default = /*@__PURE__*/ defineComp
90
92
  const emit = __emit;
91
93
  useSlots();
92
94
  const { type, lineLess } = toRefs(props);
95
+ const { t } = useI18n();
93
96
  const prefixCls = getPrefixCls("steps");
94
97
  const _current = ref(props.defaultCurrent);
95
98
  const computedCurrent = computed(() => {
@@ -150,9 +153,9 @@ var steps_vue_vue_type_script_setup_true_lang_default = /*@__PURE__*/ defineComp
150
153
  return (_ctx, _cache) => {
151
154
  return openBlock(), createElementBlock("div", {
152
155
  role: "list",
153
- "aria-label": "Steps",
156
+ "aria-label": unref(t)("a11y.steps"),
154
157
  class: normalizeClass(cls.value)
155
- }, [renderSlot(_ctx.$slots, "default")], 2);
158
+ }, [renderSlot(_ctx.$slots, "default")], 10, _hoisted_1);
156
159
  };
157
160
  }
158
161
  }));
@@ -243,12 +243,12 @@ declare const Table: {
243
243
  bordered: boolean | import("./interface").TableBorder;
244
244
  columns: import("./interface").TableColumnData[];
245
245
  hoverable: boolean;
246
- pagination: boolean | import("..").PaginationProps;
247
246
  defaultExpandAllRows: boolean;
248
247
  indentSize: number;
249
248
  filterIconAlignLeft: boolean;
250
249
  stripe: boolean;
251
250
  tableLayoutFixed: boolean;
251
+ pagination: boolean | import("..").PaginationProps;
252
252
  pagePosition: "top" | "tl" | "tr" | "bottom" | "bl" | "br";
253
253
  rowKey: string | ((record: import("./interface").TableData) => import("../_utils/types").BaseType);
254
254
  showHeader: boolean;
@@ -477,12 +477,12 @@ declare const Table: {
477
477
  bordered: boolean | import("./interface").TableBorder;
478
478
  columns: import("./interface").TableColumnData[];
479
479
  hoverable: boolean;
480
- pagination: boolean | import("..").PaginationProps;
481
480
  defaultExpandAllRows: boolean;
482
481
  indentSize: number;
483
482
  filterIconAlignLeft: boolean;
484
483
  stripe: boolean;
485
484
  tableLayoutFixed: boolean;
485
+ pagination: boolean | import("..").PaginationProps;
486
486
  pagePosition: "top" | "tl" | "tr" | "bottom" | "bl" | "br";
487
487
  rowKey: string | ((record: import("./interface").TableData) => import("../_utils/types").BaseType);
488
488
  showHeader: boolean;
@@ -731,12 +731,12 @@ declare const Table: {
731
731
  bordered: boolean | import("./interface").TableBorder;
732
732
  columns: import("./interface").TableColumnData[];
733
733
  hoverable: boolean;
734
- pagination: boolean | import("..").PaginationProps;
735
734
  defaultExpandAllRows: boolean;
736
735
  indentSize: number;
737
736
  filterIconAlignLeft: boolean;
738
737
  stripe: boolean;
739
738
  tableLayoutFixed: boolean;
739
+ pagination: boolean | import("..").PaginationProps;
740
740
  pagePosition: "top" | "tl" | "tr" | "bottom" | "bl" | "br";
741
741
  rowKey: string | ((record: import("./interface").TableData) => import("../_utils/types").BaseType);
742
742
  showHeader: boolean;
@@ -823,9 +823,9 @@ declare const Table: {
823
823
  resizable: BooleanConstructor;
824
824
  }>> & Readonly<{}>, {
825
825
  column: import("./interface").TableColumnData;
826
- resizable: boolean;
827
826
  dataColumns: import("./interface").TableColumnData[];
828
827
  operations: import("./interface").TableOperationColumn[];
828
+ resizable: boolean;
829
829
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
830
830
  Td: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
831
831
  rowIndex: NumberConstructor;
@@ -1,12 +1,12 @@
1
1
  import { _objectSpread2 } from "../_virtual/_@oxc-project_runtime@0.133.0/helpers/esm/objectSpread2.js";
2
2
  import { getPrefixCls } from "../_utils/global-config.js";
3
- import Checkbox from "../checkbox/index.js";
4
- import Radio from "../radio/index.js";
5
3
  import IconMinus from "../icon/icon-minus/index.js";
6
4
  import IconPlus from "../icon/icon-plus/index.js";
7
- import IconDragDotVertical from "../icon/icon-drag-dot-vertical/index.js";
8
5
  import { tableInjectionKey } from "./context.js";
9
6
  import { getGridSpanStyle, getLeafKeys, getOperationFixedCls, getOperationStyle, getSelectionStatus } from "./utils.js";
7
+ import Checkbox from "../checkbox/index.js";
8
+ import IconDragDotVertical from "../icon/icon-drag-dot-vertical/index.js";
9
+ import Radio from "../radio/index.js";
10
10
  import { computed, createVNode, defineComponent, inject } from "vue";
11
11
  //#region components/table/table-operation-td.tsx
12
12
  var table_operation_td_default = /* @__PURE__ */ defineComponent({
@@ -1,9 +1,9 @@
1
1
  import { _objectSpread2 } from "../_virtual/_@oxc-project_runtime@0.133.0/helpers/esm/objectSpread2.js";
2
2
  import { getPrefixCls } from "../_utils/global-config.js";
3
3
  import { isFunction } from "../_utils/is.js";
4
- import Checkbox from "../checkbox/index.js";
5
4
  import { tableInjectionKey } from "./context.js";
6
5
  import { getGridSpanStyle, getOperationFixedCls, getOperationStyle } from "./utils.js";
6
+ import Checkbox from "../checkbox/index.js";
7
7
  import { computed, createVNode, defineComponent, inject } from "vue";
8
8
  //#region components/table/table-operation-th.tsx
9
9
  var table_operation_th_default = /* @__PURE__ */ defineComponent({
@@ -32,8 +32,8 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
32
32
  resizable: BooleanConstructor;
33
33
  }>> & Readonly<{}>, {
34
34
  column: TableColumnData;
35
- resizable: boolean;
36
35
  dataColumns: TableColumnData[];
37
36
  operations: TableOperationColumn[];
37
+ resizable: boolean;
38
38
  }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
39
39
  export default _default;
@@ -5,12 +5,12 @@ import icon_hover_default from "../_components/icon-hover.js";
5
5
  import { useI18n } from "../locale/index.js";
6
6
  import Trigger from "../trigger/index.js";
7
7
  import Button from "../button/index.js";
8
- import Checkbox from "../checkbox/index.js";
9
- import Radio from "../radio/index.js";
10
- import IconCaretDown from "../icon/icon-caret-down/index.js";
11
8
  import { tableInjectionKey } from "./context.js";
12
9
  import { getFixedCls, getGridSpanStyle, getStyle } from "./utils.js";
10
+ import Checkbox from "../checkbox/index.js";
11
+ import Radio from "../radio/index.js";
13
12
  import auto_tooltip_default from "../_components/auto-tooltip/auto-tooltip.js";
13
+ import IconCaretDown from "../icon/icon-caret-down/index.js";
14
14
  import IconCaretUp from "../icon/icon-caret-up/index.js";
15
15
  import IconFilter from "../icon/icon-filter/index.js";
16
16
  import { useColumnFilter } from "./hooks/use-column-filter.js";
@@ -400,12 +400,12 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
400
400
  bordered: boolean | TableBorder;
401
401
  columns: TableColumnData[];
402
402
  hoverable: boolean;
403
- pagination: boolean | PaginationProps;
404
403
  defaultExpandAllRows: boolean;
405
404
  indentSize: number;
406
405
  filterIconAlignLeft: boolean;
407
406
  stripe: boolean;
408
407
  tableLayoutFixed: boolean;
408
+ pagination: boolean | PaginationProps;
409
409
  pagePosition: "top" | "tl" | "tr" | "bottom" | "bl" | "br";
410
410
  rowKey: string | ((record: TableData) => BaseType);
411
411
  showHeader: boolean;
package/es/table/table.js CHANGED
@@ -10,12 +10,12 @@ import { useComponentRef } from "../_hooks/use-component-ref.js";
10
10
  import { useScrollbar } from "../_hooks/use-scrollbar.js";
11
11
  import Scrollbar from "../scrollbar/index.js";
12
12
  import Spin from "../spin/index.js";
13
- import Empty from "../empty/index.js";
14
13
  import { useChildrenComponents } from "../_hooks/use-children-components.js";
15
14
  import { debounce } from "../_utils/debounce.js";
15
+ import { getValueByPath, setValueByPath } from "../_utils/get-value-by-path.js";
16
+ import Empty from "../empty/index.js";
16
17
  import IconMinus from "../icon/icon-minus/index.js";
17
18
  import IconPlus from "../icon/icon-plus/index.js";
18
- import { getValueByPath, setValueByPath } from "../_utils/get-value-by-path.js";
19
19
  import Pagination from "../pagination/index.js";
20
20
  import { tableInjectionKey } from "./context.js";
21
21
  import { useColumnResize } from "./hooks/use-column-resize.js";
@@ -1,8 +1,8 @@
1
1
  import { getPrefixCls } from "../_utils/global-config.js";
2
2
  import icon_hover_default from "../_components/icon-hover.js";
3
+ import IconLeft from "../icon/icon-left/index.js";
3
4
  import IconRight from "../icon/icon-right/index.js";
4
5
  import IconDown from "../icon/icon-down/index.js";
5
- import IconLeft from "../icon/icon-left/index.js";
6
6
  import IconUp from "../icon/icon-up/index.js";
7
7
  import { computed, createVNode, defineComponent, isVNode } from "vue";
8
8
  //#region components/tabs/tabs-button.tsx
@@ -4,6 +4,7 @@ import { getPrefixCls } from "../_utils/global-config.js";
4
4
  import icon_hover_default from "../_components/icon-hover.js";
5
5
  import { isActivationKey } from "../_utils/keyboard.js";
6
6
  import IconClose from "../icon/icon-close/index.js";
7
+ import { useI18n } from "../locale/index.js";
7
8
  import IconLoading from "../icon/icon-loading/index.js";
8
9
  import { useSize } from "../_hooks/use-size.js";
9
10
  import Ellipsis, { PerformantEllipsis } from "../ellipsis/index.js";
@@ -180,6 +181,7 @@ var tag_vue_vue_type_script_setup_true_lang_default = /*@__PURE__*/ defineCompon
180
181
  const props = __props;
181
182
  const emit = __emit;
182
183
  const slots = useSlots();
184
+ const { t } = useI18n();
183
185
  const prefixCls = getPrefixCls("tag");
184
186
  const { mergedSize: _mergedSize } = useSize(computed(() => props.size));
185
187
  const configCtx = inject(configProviderInjectionKey, void 0);
@@ -375,7 +377,7 @@ var tag_vue_vue_type_script_setup_true_lang_default = /*@__PURE__*/ defineCompon
375
377
  key: 3,
376
378
  tabindex: "0",
377
379
  role: "button",
378
- "aria-label": "Close",
380
+ "aria-label": unref(t)("a11y.close"),
379
381
  prefix: unref(prefixCls),
380
382
  class: normalizeClass(`${unref(prefixCls)}-close-btn`),
381
383
  onClick: withModifiers(handleClose, ["stop"]),
@@ -383,7 +385,11 @@ var tag_vue_vue_type_script_setup_true_lang_default = /*@__PURE__*/ defineCompon
383
385
  }, {
384
386
  default: withCtx(() => [renderSlot(_ctx.$slots, "close-icon", {}, () => [createVNode(unref(IconClose))])]),
385
387
  _: 3
386
- }, 8, ["prefix", "class"])) : createCommentVNode("", true),
388
+ }, 8, [
389
+ "aria-label",
390
+ "prefix",
391
+ "class"
392
+ ])) : createCommentVNode("", true),
387
393
  __props.loading ? (openBlock(), createElementBlock("span", {
388
394
  key: 4,
389
395
  class: normalizeClass(`${unref(prefixCls)}-loading-icon`)
@@ -6,8 +6,8 @@ import Ellipsis from "../ellipsis/index.js";
6
6
  import Tag from "../tag/index.js";
7
7
  import { Fragment, computed, createBlock, createCommentVNode, createElementBlock, createElementVNode, createTextVNode, createVNode, defineComponent, mergeProps, nextTick, normalizeClass, normalizeStyle, onMounted, openBlock, ref, renderList, renderSlot, resolveDynamicComponent, toDisplayString, unref, useSlots, watch, withCtx } from "vue";
8
8
  import { createReusableTemplate } from "@vueuse/core";
9
- import { isNumber } from "es-toolkit/compat";
10
9
  import { isFunction, isString } from "es-toolkit";
10
+ import { isNumber as isNumber$1 } from "es-toolkit/compat";
11
11
  //#region components/tag-group/tag-group.vue?vue&type=script&setup=true&lang.ts
12
12
  var OVERFLOW_COUNTER_VALUE = "__sd_tag_group_more__";
13
13
  var tag_group_vue_vue_type_script_setup_true_lang_default = /*@__PURE__*/ defineComponent(_objectSpread2(_objectSpread2({}, { name: "TagGroup" }), {}, {
@@ -42,7 +42,7 @@ var tag_group_vue_vue_type_script_setup_true_lang_default = /*@__PURE__*/ define
42
42
  }
43
43
  function normalizeOption(option, index) {
44
44
  const { label = "label", value = "value" } = props.fieldNames;
45
- if (isString(option) || isNumber(option)) return {
45
+ if (isString(option) || isNumber$1(option)) return {
46
46
  key: `${String(option)}-${index}`,
47
47
  label: option,
48
48
  value: option,
@@ -6,6 +6,7 @@ import resize_observer_default from "../_components/resize-observer.js";
6
6
  import icon_hover_default from "../_components/icon-hover.js";
7
7
  import { isActivationKey } from "../_utils/keyboard.js";
8
8
  import IconClose from "../icon/icon-close/index.js";
9
+ import { useI18n } from "../locale/index.js";
9
10
  import { useAllowClear } from "../_hooks/use-allow-clear.js";
10
11
  import { useCursor } from "../_hooks/use-cursor.js";
11
12
  import { isReadonlyModificationKey, useReadonlyTip, useReadonlyTipText } from "../_hooks/use-readonly-tip.js";
@@ -22,6 +23,7 @@ var _hoisted_1 = [
22
23
  "value",
23
24
  "placeholder"
24
25
  ];
26
+ var _hoisted_2 = ["aria-label"];
25
27
  var textarea_vue_vue_type_script_setup_true_lang_default = /*@__PURE__*/ defineComponent(_objectSpread2(_objectSpread2({}, {
26
28
  name: "Textarea",
27
29
  inheritAttrs: false
@@ -133,6 +135,7 @@ var textarea_vue_vue_type_script_setup_true_lang_default = /*@__PURE__*/ defineC
133
135
  const emit = __emit;
134
136
  const attrs = useAttrs();
135
137
  const { disabled, error, modelValue, allowClear } = toRefs(props);
138
+ const { t } = useI18n();
136
139
  const prefixCls = getPrefixCls("textarea");
137
140
  const { mergedDisabled, mergedError: _mergedError, eventHandlers, formItemCtx } = useFormItem({
138
141
  disabled,
@@ -407,13 +410,13 @@ var textarea_vue_vue_type_script_setup_true_lang_default = /*@__PURE__*/ defineC
407
410
  class: normalizeClass(`${unref(prefixCls)}-clear-btn`),
408
411
  role: "button",
409
412
  tabindex: "0",
410
- "aria-label": "Clear",
413
+ "aria-label": unref(t)("a11y.clear"),
411
414
  onClick: handleClear,
412
415
  onKeydown: handleClearKeydown
413
416
  }, [createVNode(icon_hover_default, null, {
414
417
  default: withCtx(() => [createVNode(unref(IconClose))]),
415
418
  _: 1
416
- })], 34)) : createCommentVNode("", true)
419
+ })], 42, _hoisted_2)) : createCommentVNode("", true)
417
420
  ], 16)]),
418
421
  _: 3
419
422
  }, 8, ["popup-visible", "content"]);
@@ -2,13 +2,13 @@ import { useFormItem } from "../_hooks/use-form-item.js";
2
2
  import { _objectSpread2 } from "../_virtual/_@oxc-project_runtime@0.133.0/helpers/esm/objectSpread2.js";
3
3
  import { getPrefixCls } from "../_utils/global-config.js";
4
4
  import { isArray, isUndefined } from "../_utils/is.js";
5
- import { useAllowClear } from "../_hooks/use-allow-clear.js";
6
5
  import { useI18n } from "../locale/index.js";
6
+ import { useAllowClear } from "../_hooks/use-allow-clear.js";
7
7
  import Trigger from "../trigger/index.js";
8
8
  import useState from "../_hooks/use-state.js";
9
9
  import useMergeState from "../_hooks/use-merge-state.js";
10
- import { dayjs, getDateValue, getSortedDayjsArray, isValueChange } from "../_utils/date.js";
11
10
  import input_default from "../_components/picker/input.js";
11
+ import { dayjs, getDateValue, getSortedDayjsArray, isValueChange } from "../_utils/date.js";
12
12
  import { getFormattedValue, isValidInputValue, isValidRangeValue } from "./utils/index.js";
13
13
  import useTimeFormat from "./hooks/use-time-format.js";
14
14
  import IconClockCircle from "../icon/icon-clock-circle/index.js";
@@ -10,7 +10,7 @@ declare const Toolbar: {
10
10
  "onUpdate:modelValue"?: ((value: import("./types").ToolbarModelValue) => any) | undefined;
11
11
  }>, {
12
12
  search: () => void;
13
- reset: () => void;
13
+ reset: (emitReset?: unknown) => void;
14
14
  }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
15
15
  search: (params: import("./types").ToolbarModelValue) => any;
16
16
  reset: () => any;
@@ -30,7 +30,7 @@ declare const Toolbar: {
30
30
  "onUpdate:modelValue"?: ((value: import("./types").ToolbarModelValue) => any) | undefined;
31
31
  }>, {
32
32
  search: () => void;
33
- reset: () => void;
33
+ reset: (emitReset?: unknown) => void;
34
34
  }, {}, {}, {}, {}>;
35
35
  __isFragment?: never;
36
36
  __isTeleport?: never;
@@ -43,7 +43,7 @@ declare const Toolbar: {
43
43
  "onUpdate:modelValue"?: ((value: import("./types").ToolbarModelValue) => any) | undefined;
44
44
  }>, {
45
45
  search: () => void;
46
- reset: () => void;
46
+ reset: (emitReset?: unknown) => void;
47
47
  }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
48
48
  search: (params: import("./types").ToolbarModelValue) => any;
49
49
  reset: () => any;
@@ -1,7 +1,7 @@
1
1
  import type { ToolbarModelValue, ToolbarProps } from './types';
2
2
  type __VLS_Props = ToolbarProps;
3
3
  declare function handleSearch(): void;
4
- declare function handleReset(): void;
4
+ declare function reset(emitReset?: unknown): void;
5
5
  type __VLS_ModelProps = {
6
6
  modelValue?: ToolbarModelValue;
7
7
  };
@@ -24,7 +24,7 @@ type __VLS_Slots = {} & {
24
24
  };
25
25
  declare const __VLS_base: import("vue").DefineComponent<__VLS_PublicProps, {
26
26
  search: typeof handleSearch;
27
- reset: typeof handleReset;
27
+ reset: typeof reset;
28
28
  }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
29
29
  search: (params: ToolbarModelValue) => any;
30
30
  reset: () => any;
@@ -3,8 +3,8 @@ import { getPrefixCls } from "../_utils/global-config.js";
3
3
  import { useResizeObserver } from "../_hooks/use-resize-observer.js";
4
4
  import Button from "../button/index.js";
5
5
  import Spin from "../spin/index.js";
6
- import IconDown from "../icon/icon-down/index.js";
7
6
  import Link from "../link/index.js";
7
+ import IconDown from "../icon/icon-down/index.js";
8
8
  import JsonForm from "../json-form/index.js";
9
9
  import { Fragment, computed, createBlock, createCommentVNode, createElementBlock, createElementVNode, createSlots, createTextVNode, createVNode, defineComponent, guardReactiveProps, mergeModels, normalizeClass, normalizeProps, normalizeStyle, onBeforeUnmount, onMounted, openBlock, ref, renderList, renderSlot, toDisplayString, unref, useModel, withCtx, withKeys } from "vue";
10
10
  import { cloneDeep, omit } from "es-toolkit";
@@ -115,7 +115,7 @@ var toolbar_vue_vue_type_script_setup_true_lang_default = /*@__PURE__*/ defineCo
115
115
  function handleSearch() {
116
116
  emit("search", modelValue.value);
117
117
  }
118
- function handleReset() {
118
+ function reset(emitReset = true) {
119
119
  var _formRef$value;
120
120
  const initMinusSkip = omit(initModel, __props.resetSkipKeys);
121
121
  const next = {};
@@ -123,14 +123,14 @@ var toolbar_vue_vue_type_script_setup_true_lang_default = /*@__PURE__*/ defineCo
123
123
  for (const key of Object.keys(initMinusSkip)) next[key] = initMinusSkip[key];
124
124
  modelValue.value = next;
125
125
  (_formRef$value = formRef.value) === null || _formRef$value === void 0 || _formRef$value.clearValidate();
126
- emit("reset");
126
+ if (emitReset) emit("reset");
127
127
  }
128
128
  function toggleExpand() {
129
129
  isExpand.value = !isExpand.value;
130
130
  }
131
131
  __expose({
132
132
  search: handleSearch,
133
- reset: handleReset
133
+ reset
134
134
  });
135
135
  return (_ctx, _cache) => {
136
136
  return openBlock(), createElementBlock("div", {
@@ -181,7 +181,7 @@ var toolbar_vue_vue_type_script_setup_true_lang_default = /*@__PURE__*/ defineCo
181
181
  })) : createCommentVNode("", true),
182
182
  __props.showReset ? (openBlock(), createBlock(unref(Button), {
183
183
  key: 1,
184
- onClick: handleReset
184
+ onClick: _cache[1] || (_cache[1] = ($event) => reset())
185
185
  }, {
186
186
  default: withCtx(() => [createTextVNode(toDisplayString(__props.resetText), 1)]),
187
187
  _: 1
@@ -2,6 +2,7 @@ import { getPrefixCls } from "../_utils/global-config.js";
2
2
  import icon_hover_default from "../_components/icon-hover.js";
3
3
  import { isActivationKey } from "../_utils/keyboard.js";
4
4
  import IconClose from "../icon/icon-close/index.js";
5
+ import { useI18n } from "../locale/index.js";
5
6
  import Checkbox from "../checkbox/index.js";
6
7
  import { transferInjectionKey } from "./context.js";
7
8
  import { computed, createVNode, defineComponent, inject } from "vue";
@@ -20,6 +21,7 @@ var transfer_list_item_default = /* @__PURE__ */ defineComponent({
20
21
  simple: Boolean
21
22
  },
22
23
  setup(props) {
24
+ const { t } = useI18n();
23
25
  const prefixCls = getPrefixCls("transfer-list-item");
24
26
  const transferCtx = inject(transferInjectionKey, void 0);
25
27
  const handleClick = () => {
@@ -63,7 +65,7 @@ var transfer_list_item_default = /* @__PURE__ */ defineComponent({
63
65
  "class": `${prefixCls}-remove-btn`,
64
66
  "role": "button",
65
67
  "tabindex": "0",
66
- "aria-label": "Remove",
68
+ "aria-label": t("a11y.remove"),
67
69
  "onClick": handleRemove,
68
70
  "onKeydown": handleRemoveKeydown
69
71
  }, [createVNode(icon_hover_default, null, { default: () => [createVNode(IconClose, null, null)] })])]);
@@ -1,9 +1,10 @@
1
1
  import { useFormItem } from "../_hooks/use-form-item.js";
2
2
  import { _objectSpread2 } from "../_virtual/_@oxc-project_runtime@0.133.0/helpers/esm/objectSpread2.js";
3
3
  import { getPrefixCls } from "../_utils/global-config.js";
4
+ import { useI18n } from "../locale/index.js";
4
5
  import Button from "../button/index.js";
5
- import IconRight from "../icon/icon-right/index.js";
6
6
  import IconLeft from "../icon/icon-left/index.js";
7
+ import IconRight from "../icon/icon-right/index.js";
7
8
  import { transferInjectionKey } from "./context.js";
8
9
  import transfer_view_default from "./transfer-view.js";
9
10
  import { computed, createBlock, createCommentVNode, createElementBlock, createSlots, createVNode, defineComponent, guardReactiveProps, normalizeClass, normalizeProps, openBlock, provide, reactive, ref, renderSlot, toRef, unref, useSlots, withCtx } from "vue";
@@ -190,6 +191,7 @@ var transfer_vue_vue_type_script_setup_true_lang_default = /*@__PURE__*/ defineC
190
191
  */
191
192
  const slots = useSlots();
192
193
  const { mergedDisabled, eventHandlers } = useFormItem({ disabled: toRef(props, "disabled") });
194
+ const { t } = useI18n();
193
195
  const prefixCls = getPrefixCls("transfer");
194
196
  const _target = ref(props.defaultValue);
195
197
  const computedTarget = computed(() => {
@@ -312,7 +314,7 @@ var transfer_vue_vue_type_script_setup_true_lang_default = /*@__PURE__*/ defineC
312
314
  class: normalizeClass([`${unref(prefixCls)}-operations`])
313
315
  }, [createVNode(unref(Button), {
314
316
  tabindex: "-1",
315
- "aria-label": "Move selected right",
317
+ "aria-label": unref(t)("a11y.moveSelectedRight"),
316
318
  size: "small",
317
319
  shape: "round",
318
320
  disabled: dataInfo.value.sourceInfo.validSelected.length === 0,
@@ -320,10 +322,10 @@ var transfer_vue_vue_type_script_setup_true_lang_default = /*@__PURE__*/ defineC
320
322
  }, {
321
323
  icon: withCtx(() => [renderSlot(_ctx.$slots, "to-target-icon", {}, () => [createVNode(unref(IconRight))])]),
322
324
  _: 3
323
- }, 8, ["disabled"]), !__props.oneWay ? (openBlock(), createBlock(unref(Button), {
325
+ }, 8, ["aria-label", "disabled"]), !__props.oneWay ? (openBlock(), createBlock(unref(Button), {
324
326
  key: 0,
325
327
  tabindex: "-1",
326
- "aria-label": "Move selected left",
328
+ "aria-label": unref(t)("a11y.moveSelectedLeft"),
327
329
  size: "small",
328
330
  shape: "round",
329
331
  disabled: dataInfo.value.targetInfo.validSelected.length === 0,
@@ -331,7 +333,7 @@ var transfer_vue_vue_type_script_setup_true_lang_default = /*@__PURE__*/ defineC
331
333
  }, {
332
334
  icon: withCtx(() => [renderSlot(_ctx.$slots, "to-source-icon", {}, () => [createVNode(unref(IconLeft))])]),
333
335
  _: 3
334
- }, 8, ["disabled"])) : createCommentVNode("", true)], 2)) : createCommentVNode("", true),
336
+ }, 8, ["aria-label", "disabled"])) : createCommentVNode("", true)], 2)) : createCommentVNode("", true),
335
337
  createVNode(transfer_view_default, {
336
338
  type: "target",
337
339
  class: normalizeClass(`${unref(prefixCls)}-view-target`),
@@ -3,8 +3,8 @@ import { getPrefixCls } from "../_utils/global-config.js";
3
3
  import { isFunction } from "../_utils/is.js";
4
4
  import Ellipsis, { PerformantEllipsis } from "../ellipsis/index.js";
5
5
  import Checkbox from "../checkbox/index.js";
6
- import { toArray } from "../_utils/to-array.js";
7
6
  import IconDragDotVertical from "../icon/icon-drag-dot-vertical/index.js";
7
+ import { toArray } from "../_utils/to-array.js";
8
8
  import useTreeContext from "./hooks/use-tree-context.js";
9
9
  import useDraggable$1 from "./hooks/use-draggable.js";
10
10
  import useNodeKey from "./hooks/use-node-key.js";
@@ -1,8 +1,8 @@
1
1
  import icon_hover_default from "../_components/icon-hover.js";
2
2
  import IconLoading from "../icon/icon-loading/index.js";
3
3
  import usePickSlots from "../_hooks/use-pick-slots.js";
4
- import useTreeContext from "./hooks/use-tree-context.js";
5
4
  import IconCaretDown from "../icon/icon-caret-down/index.js";
5
+ import useTreeContext from "./hooks/use-tree-context.js";
6
6
  import IconFile from "../icon/icon-file/index.js";
7
7
  import { defineComponent, h, toRefs } from "vue";
8
8
  //#region components/tree/node-switcher.vue?vue&type=script&lang.tsx
@@ -1,5 +1,6 @@
1
1
  import { _objectSpread2 } from "../_virtual/_@oxc-project_runtime@0.133.0/helpers/esm/objectSpread2.js";
2
2
  import { getPrefixCls } from "../_utils/global-config.js";
3
+ import { useI18n } from "../locale/index.js";
3
4
  import Input from "../input/index.js";
4
5
  import { createElementBlock, createVNode, defineComponent, normalizeClass, onMounted, openBlock, ref, unref, withKeys } from "vue";
5
6
  //#region components/typography/edit-content.vue?vue&type=script&setup=true&lang.ts
@@ -16,6 +17,7 @@ var edit_content_vue_vue_type_script_setup_true_lang_default = /*@__PURE__*/ def
16
17
  ],
17
18
  setup(__props, { emit: __emit }) {
18
19
  const emit = __emit;
20
+ const { t } = useI18n();
19
21
  const classNames = [`${getPrefixCls("typography")}-edit-content`];
20
22
  const rootRef = ref();
21
23
  function onChange(value) {
@@ -41,12 +43,16 @@ var edit_content_vue_vue_type_script_setup_true_lang_default = /*@__PURE__*/ def
41
43
  class: normalizeClass(classNames)
42
44
  }, [createVNode(unref(Input), {
43
45
  "auto-size": "",
44
- "input-attrs": { "aria-label": "Edit text" },
46
+ "input-attrs": { "aria-label": unref(t)("a11y.editText") },
45
47
  "model-value": __props.text,
46
48
  onBlur: unref(onBlur),
47
49
  onInput: onChange,
48
50
  onKeydown: withKeys(onEnd, ["enter"])
49
- }, null, 8, ["model-value", "onBlur"])], 512);
51
+ }, null, 8, [
52
+ "input-attrs",
53
+ "model-value",
54
+ "onBlur"
55
+ ])], 512);
50
56
  };
51
57
  }
52
58
  }));
@@ -97,7 +97,7 @@ var upload_list_item_default = /* @__PURE__ */ defineComponent({
97
97
  (uploadCtx === null || uploadCtx === void 0 ? void 0 : uploadCtx.showRemoveButton) && createVNode("span", { "class": `${itemCls}-operation` }, [createVNode("span", {
98
98
  "role": "button",
99
99
  "tabindex": "0",
100
- "aria-label": "Remove",
100
+ "aria-label": t("a11y.remove"),
101
101
  "onClick": () => {
102
102
  var _uploadCtx$onRemove;
103
103
  return uploadCtx === null || uploadCtx === void 0 || (_uploadCtx$onRemove = uploadCtx.onRemove) === null || _uploadCtx$onRemove === void 0 ? void 0 : _uploadCtx$onRemove.call(uploadCtx, props.file);
@@ -1,5 +1,6 @@
1
1
  import { getPrefixCls } from "../_utils/global-config.js";
2
2
  import { isActivationKey } from "../_utils/keyboard.js";
3
+ import { useI18n } from "../locale/index.js";
3
4
  import IconEye from "../icon/icon-eye/index.js";
4
5
  import IconImageClose from "../icon/icon-image-close/index.js";
5
6
  import IconDelete from "../icon/icon-delete/index.js";
@@ -21,6 +22,7 @@ var upload_picture_item_default = /* @__PURE__ */ defineComponent({
21
22
  }
22
23
  },
23
24
  setup(props) {
25
+ const { t } = useI18n();
24
26
  const itemCls = `${getPrefixCls("upload-list")}-picture`;
25
27
  const cls = computed(() => [itemCls, { [`${itemCls}-status-error`]: props.file.status === "error" }]);
26
28
  const uploadCtx = inject(uploadInjectionKey, void 0);
@@ -44,7 +46,7 @@ var upload_picture_item_default = /* @__PURE__ */ defineComponent({
44
46
  "class": [uploadCtx === null || uploadCtx === void 0 ? void 0 : uploadCtx.iconCls, `${uploadCtx === null || uploadCtx === void 0 ? void 0 : uploadCtx.iconCls}-preview`],
45
47
  "role": "button",
46
48
  "tabindex": "0",
47
- "aria-label": "Preview",
49
+ "aria-label": t("a11y.preview"),
48
50
  "onClick": () => uploadCtx === null || uploadCtx === void 0 ? void 0 : uploadCtx.onPreview(props.file),
49
51
  "onKeydown": onActionKeydown(() => uploadCtx === null || uploadCtx === void 0 ? void 0 : uploadCtx.onPreview(props.file))
50
52
  }, [(_ref2 = (_uploadCtx$slots$prev = uploadCtx === null || uploadCtx === void 0 || (_uploadCtx$slots3$pre = (_uploadCtx$slots3 = uploadCtx.slots)["preview-icon"]) === null || _uploadCtx$slots3$pre === void 0 ? void 0 : _uploadCtx$slots3$pre.call(_uploadCtx$slots3)) !== null && _uploadCtx$slots$prev !== void 0 ? _uploadCtx$slots$prev : uploadCtx === null || uploadCtx === void 0 || (_uploadCtx$customIcon3 = uploadCtx.customIcon) === null || _uploadCtx$customIcon3 === void 0 || (_uploadCtx$customIcon4 = _uploadCtx$customIcon3.previewIcon) === null || _uploadCtx$customIcon4 === void 0 ? void 0 : _uploadCtx$customIcon4.call(_uploadCtx$customIcon3)) !== null && _ref2 !== void 0 ? _ref2 : createVNode(IconEye, null, null)]),
@@ -52,7 +54,7 @@ var upload_picture_item_default = /* @__PURE__ */ defineComponent({
52
54
  "class": [uploadCtx === null || uploadCtx === void 0 ? void 0 : uploadCtx.iconCls, `${uploadCtx === null || uploadCtx === void 0 ? void 0 : uploadCtx.iconCls}-upload`],
53
55
  "role": "button",
54
56
  "tabindex": "0",
55
- "aria-label": "Retry upload",
57
+ "aria-label": t("a11y.retryUpload"),
56
58
  "onClick": () => uploadCtx === null || uploadCtx === void 0 ? void 0 : uploadCtx.onUpload(props.file),
57
59
  "onKeydown": onActionKeydown(() => uploadCtx === null || uploadCtx === void 0 ? void 0 : uploadCtx.onUpload(props.file))
58
60
  }, [(_ref3 = (_uploadCtx$slots$retr = uploadCtx === null || uploadCtx === void 0 || (_uploadCtx$slots4$ret = (_uploadCtx$slots4 = uploadCtx.slots)["retry-icon"]) === null || _uploadCtx$slots4$ret === void 0 ? void 0 : _uploadCtx$slots4$ret.call(_uploadCtx$slots4)) !== null && _uploadCtx$slots$retr !== void 0 ? _uploadCtx$slots$retr : uploadCtx === null || uploadCtx === void 0 || (_uploadCtx$customIcon5 = uploadCtx.customIcon) === null || _uploadCtx$customIcon5 === void 0 || (_uploadCtx$customIcon6 = _uploadCtx$customIcon5.retryIcon) === null || _uploadCtx$customIcon6 === void 0 ? void 0 : _uploadCtx$customIcon6.call(_uploadCtx$customIcon5)) !== null && _ref3 !== void 0 ? _ref3 : createVNode(IconUpload, null, null)]),
@@ -60,7 +62,7 @@ var upload_picture_item_default = /* @__PURE__ */ defineComponent({
60
62
  "class": [uploadCtx === null || uploadCtx === void 0 ? void 0 : uploadCtx.iconCls, `${uploadCtx === null || uploadCtx === void 0 ? void 0 : uploadCtx.iconCls}-remove`],
61
63
  "role": "button",
62
64
  "tabindex": "0",
63
- "aria-label": "Remove",
65
+ "aria-label": t("a11y.remove"),
64
66
  "onClick": () => uploadCtx === null || uploadCtx === void 0 ? void 0 : uploadCtx.onRemove(props.file),
65
67
  "onKeydown": onActionKeydown(() => {
66
68
  var _uploadCtx$onRemove;