@sdata/web-vue 3.14.0 → 3.16.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/sd.css +44 -3
- package/dist/sd.min.css +1 -1
- package/es/_components/resize-trigger.vue_vue_type_script_setup_true_lang.js +6 -3
- package/es/_components/select-view/select-view.js +3 -1
- package/es/alert/alert.vue_vue_type_script_setup_true_lang.js +5 -2
- package/es/anchor/anchor.vue_vue_type_script_setup_true_lang.js +5 -2
- package/es/back-top/back-top.vue_vue_type_script_setup_true_lang.js +5 -2
- package/es/basic-crud-table/basic-crud-modal.js +5 -0
- package/es/basic-crud-table/basic-crud-modal.vue.d.ts +264 -0
- package/es/basic-crud-table/basic-crud-modal.vue_vue_type_script_setup_true_lang.js +139 -0
- package/es/basic-crud-table/basic-crud-table.js +5 -0
- package/es/basic-crud-table/basic-crud-table.vue.d.ts +935 -0
- package/es/basic-crud-table/basic-crud-table.vue_vue_type_script_setup_true_lang.js +520 -0
- package/es/basic-crud-table/index.d.ts +2722 -0
- package/es/basic-crud-table/index.js +9 -0
- package/es/basic-crud-table/style/css.js +2 -0
- package/es/basic-crud-table/style/index.css +60 -0
- package/es/basic-crud-table/style/index.d.ts +2 -0
- package/es/basic-crud-table/style/index.js +2 -0
- package/es/basic-crud-table/style/index.scss +54 -0
- package/es/basic-crud-table/style/token.scss +8 -0
- package/es/basic-crud-table/types.d.ts +70 -0
- package/es/breadcrumb/breadcrumb-item.js +4 -2
- package/es/breadcrumb/breadcrumb.js +3 -1
- package/es/calendar/components/event.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/calendar/components/headings-bar.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/card/card.d.ts +1 -1
- package/es/card/index.d.ts +3 -3
- package/es/carousel/carousel-arrow.vue_vue_type_script_setup_true_lang.js +9 -5
- package/es/carousel/carousel-indicator.vue_vue_type_script_setup_true_lang.js +4 -2
- package/es/carousel/carousel-item.vue_vue_type_script_setup_true_lang.js +4 -2
- package/es/carousel/carousel.js +3 -1
- package/es/cascader/cascader-option.js +1 -1
- package/es/cascader/cascader.vue_vue_type_script_setup_true_lang.js +3 -3
- package/es/color-picker/color-picker.js +6 -5
- package/es/color-picker/panel.d.ts +2 -2
- package/es/color-picker/panel.js +5 -4
- package/es/components.d.ts +1 -0
- package/es/config-provider/config-provider.vue.d.ts +7 -1
- package/es/config-provider/config-provider.vue_vue_type_script_setup_true_lang.js +7 -1
- package/es/config-provider/context.d.ts +4 -0
- package/es/config-provider/index.d.ts +25 -15
- package/es/copy/copy.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/date-picker/hooks/use-provide-datepicker-transform.js +1 -1
- package/es/date-picker/panels/header.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/date-picker/picker.vue_vue_type_script_setup_true_lang.js +3 -3
- package/es/date-picker/range-picker.vue_vue_type_script_setup_true_lang.js +2 -2
- package/es/drawer/drawer.vue_vue_type_script_setup_true_lang.js +4 -3
- package/es/dropdown/dropdown-button.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/dropdown/dropdown-panel.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/dropdown/dropdown-submenu.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/file-previewer/file-previewer.vue_vue_type_script_setup_true_lang.js +13 -9
- package/es/form/form-item.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/form/index.js +1 -1
- package/es/grid/grid-col.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/grid/grid-item.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/grid/grid-row.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/grid/grid.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/image/image.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/image/preview-arrow.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/image/preview.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/index.css +44 -3
- package/es/index.d.ts +2 -0
- package/es/index.js +55 -54
- package/es/index.scss +1 -0
- package/es/input/input.js +3 -1
- package/es/input-number/input-number.js +8 -6
- package/es/json-form/style/index.css +0 -3
- package/es/json-form/style/index.scss +4 -3
- package/es/json-form/utils.js +5 -5
- package/es/layout/sider.vue_vue_type_script_setup_true_lang.js +9 -7
- package/es/link/link.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/list/list.js +1 -1
- package/es/locale/interface.d.ts +39 -0
- package/es/locale/lang/ar-eg.js +38 -0
- package/es/locale/lang/de-de.js +38 -0
- package/es/locale/lang/en-us.js +38 -0
- package/es/locale/lang/es-es.js +38 -0
- package/es/locale/lang/fr-fr.js +38 -0
- package/es/locale/lang/id-id.js +38 -0
- package/es/locale/lang/it-it.js +38 -0
- package/es/locale/lang/ja-jp.js +38 -0
- package/es/locale/lang/km-kh.js +38 -0
- package/es/locale/lang/ko-kr.js +38 -0
- package/es/locale/lang/ms-my.js +38 -0
- package/es/locale/lang/nl-nl.js +38 -0
- package/es/locale/lang/pt-pt.js +38 -0
- package/es/locale/lang/ru-ru.js +38 -0
- package/es/locale/lang/th-th.js +38 -0
- package/es/locale/lang/vi-vn.js +38 -0
- package/es/locale/lang/zh-cn.js +38 -0
- package/es/locale/lang/zh-tw.js +38 -0
- package/es/menu/item.d.ts +1 -1
- package/es/modal/modal.vue_vue_type_script_setup_true_lang.js +4 -3
- package/es/page-header/page-header.vue_vue_type_script_setup_true_lang.js +8 -2
- package/es/pagination/page-item-ellipsis.vue_vue_type_script_setup_true_lang.js +5 -2
- package/es/pagination/page-item-step.vue_vue_type_script_setup_true_lang.js +5 -3
- package/es/pagination/page-options.vue_vue_type_script_setup_true_lang.js +3 -3
- package/es/pagination/pagination.js +1 -1
- package/es/popconfirm/popconfirm.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/qr-code/qr-code.vue_vue_type_script_setup_true_lang.js +4 -2
- package/es/rate/rate.js +3 -1
- package/es/sd-vue.js +54 -52
- package/es/secret/secret.vue_vue_type_script_setup_true_lang.js +3 -1
- package/es/select/select.js +3 -3
- package/es/statistic/statistic.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/steps/steps.vue_vue_type_script_setup_true_lang.js +6 -3
- package/es/table/index.d.ts +4 -4
- package/es/table/table-operation-td.js +3 -3
- package/es/table/table-th.d.ts +1 -1
- package/es/table/table-th.js +2 -2
- package/es/table/table.d.ts +1 -1
- package/es/table/table.js +2 -2
- package/es/tabs/tabs-button.js +1 -1
- package/es/tag/tag.vue_vue_type_script_setup_true_lang.js +8 -2
- package/es/tag-group/tag-group.vue_vue_type_script_setup_true_lang.js +2 -2
- package/es/textarea/textarea.vue_vue_type_script_setup_true_lang.js +5 -2
- package/es/time-picker/time-picker.vue_vue_type_script_setup_true_lang.js +2 -2
- package/es/toolbar/index.d.ts +3 -3
- package/es/toolbar/toolbar.vue.d.ts +2 -2
- package/es/toolbar/toolbar.vue_vue_type_script_setup_true_lang.js +5 -5
- package/es/transfer/transfer-list-item.js +3 -1
- package/es/transfer/transfer.vue_vue_type_script_setup_true_lang.js +7 -5
- package/es/tree/base-node.vue_vue_type_script_setup_true_lang.js +1 -1
- package/es/tree/node-switcher.vue_vue_type_script_lang.js +1 -1
- package/es/typography/edit-content.vue_vue_type_script_setup_true_lang.js +8 -2
- package/es/upload/upload-list-item.js +1 -1
- package/es/upload/upload-picture-item.js +5 -3
- package/es/verification-code/verification-code.js +4 -2
- package/json/vetur-attributes.json +3 -0
- package/json/vetur-tags.json +4 -0
- package/json/web-types.json +15 -1
- package/package.json +1 -1
- package/es/color-picker/colors.d.ts +0 -1
- package/es/color-picker/colors.js +0 -27
package/es/menu/item.d.ts
CHANGED
|
@@ -4,7 +4,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
4
4
|
default: boolean;
|
|
5
5
|
};
|
|
6
6
|
}>, {
|
|
7
|
-
menuContext: Partial<Readonly<Pick<import("./interface.ts").InternalMenuProps, "triggerProps" | "ellipsis" | "mode" | "
|
|
7
|
+
menuContext: Partial<Readonly<Pick<import("./interface.ts").InternalMenuProps, "triggerProps" | "ellipsis" | "mode" | "tooltipProps" | "theme" | "popupMaxHeight" | "levelIndent" | "autoScrollIntoView" | "scrollConfig" | "inTrigger" | "ellipsisProps"> & {
|
|
8
8
|
selectedKeys: string[];
|
|
9
9
|
openKeys: string[];
|
|
10
10
|
prefixCls: string;
|
|
@@ -9,8 +9,8 @@ import IconClose from "../icon/icon-close/index.js";
|
|
|
9
9
|
import IconCloseCircleFill from "../icon/icon-close-circle-fill/index.js";
|
|
10
10
|
import IconExclamationCircleFill from "../icon/icon-exclamation-circle-fill/index.js";
|
|
11
11
|
import IconInfoCircleFill from "../icon/icon-info-circle-fill/index.js";
|
|
12
|
-
import { _asyncToGenerator } from "../_virtual/_@oxc-project_runtime@0.133.0/helpers/esm/asyncToGenerator.js";
|
|
13
12
|
import { useI18n } from "../locale/index.js";
|
|
13
|
+
import { _asyncToGenerator } from "../_virtual/_@oxc-project_runtime@0.133.0/helpers/esm/asyncToGenerator.js";
|
|
14
14
|
import client_only_default from "../_components/client-only.js";
|
|
15
15
|
import usePopupManager from "../_hooks/use-popup-manager.js";
|
|
16
16
|
import { useTeleportContainer } from "../_hooks/use-teleport-container.js";
|
|
@@ -23,6 +23,7 @@ import { useDraggable } from "./hooks/use-draggable.js";
|
|
|
23
23
|
import { Teleport, Transition, computed, createBlock, createCommentVNode, createElementBlock, createElementVNode, createTextVNode, createVNode, defineComponent, getCurrentInstance, mergeProps, nextTick, normalizeClass, normalizeStyle, onBeforeUnmount, onMounted, openBlock, ref, renderSlot, toDisplayString, toRefs, unref, useSlots, vShow, watch, withCtx, withDirectives, withModifiers } from "vue";
|
|
24
24
|
//#region components/modal/modal.vue?vue&type=script&setup=true&lang.tsx
|
|
25
25
|
var _hoisted_1 = ["aria-labelledby"];
|
|
26
|
+
var _hoisted_2 = ["aria-label"];
|
|
26
27
|
var modal_vue_vue_type_script_setup_true_lang_default = /*@__PURE__*/ defineComponent(_objectSpread2(_objectSpread2({}, {
|
|
27
28
|
name: "Modal",
|
|
28
29
|
inheritAttrs: false
|
|
@@ -679,14 +680,14 @@ var modal_vue_vue_type_script_setup_true_lang_default = /*@__PURE__*/ defineComp
|
|
|
679
680
|
key: 1,
|
|
680
681
|
tabindex: "0",
|
|
681
682
|
role: "button",
|
|
682
|
-
"aria-label": "
|
|
683
|
+
"aria-label": unref(t)("a11y.close"),
|
|
683
684
|
class: normalizeClass(`${unref(prefixCls)}-close-btn`),
|
|
684
685
|
onClick: handleCancel,
|
|
685
686
|
onKeydown: _cache[0] || (_cache[0] = ($event) => unref(onActivate)(handleCancel))
|
|
686
687
|
}, [createVNode(icon_hover_default, null, {
|
|
687
688
|
default: withCtx(() => [createVNode(unref(IconClose))]),
|
|
688
689
|
_: 1
|
|
689
|
-
})],
|
|
690
|
+
})], 42, _hoisted_2)) : createCommentVNode("", true)], 34)) : createCommentVNode("", true),
|
|
690
691
|
createElementVNode("div", {
|
|
691
692
|
id: bodyId,
|
|
692
693
|
class: normalizeClass([`${unref(prefixCls)}-body`, __props.bodyClass]),
|
|
@@ -2,6 +2,7 @@ import { _objectSpread2 } from "../_virtual/_@oxc-project_runtime@0.133.0/helper
|
|
|
2
2
|
import { getPrefixCls } from "../_utils/global-config.js";
|
|
3
3
|
import icon_hover_default from "../_components/icon-hover.js";
|
|
4
4
|
import { isActivationKey } from "../_utils/keyboard.js";
|
|
5
|
+
import { useI18n } from "../locale/index.js";
|
|
5
6
|
import IconLeft from "../icon/icon-left/index.js";
|
|
6
7
|
import { computed, createBlock, createCommentVNode, createElementBlock, createElementVNode, createTextVNode, createVNode, defineComponent, normalizeClass, openBlock, renderSlot, toDisplayString, unref, useSlots, withCtx } from "vue";
|
|
7
8
|
//#region components/page-header/page-header.vue?vue&type=script&setup=true&lang.ts
|
|
@@ -62,6 +63,7 @@ var page_header_vue_vue_type_script_setup_true_lang_default = /*@__PURE__*/ defi
|
|
|
62
63
|
* @slot extra
|
|
63
64
|
*/
|
|
64
65
|
const slots = useSlots();
|
|
66
|
+
const { t } = useI18n();
|
|
65
67
|
const prefixCls = getPrefixCls("page-header");
|
|
66
68
|
const handleBack = (e) => {
|
|
67
69
|
emit("back", e);
|
|
@@ -87,13 +89,17 @@ var page_header_vue_vue_type_script_setup_true_lang_default = /*@__PURE__*/ defi
|
|
|
87
89
|
prefix: unref(prefixCls),
|
|
88
90
|
role: "button",
|
|
89
91
|
tabindex: "0",
|
|
90
|
-
"aria-label": "
|
|
92
|
+
"aria-label": unref(t)("a11y.back"),
|
|
91
93
|
onClick: handleBack,
|
|
92
94
|
onKeydown: handleBackKeydown
|
|
93
95
|
}, {
|
|
94
96
|
default: withCtx(() => [renderSlot(_ctx.$slots, "back-icon", {}, () => [createVNode(unref(IconLeft))])]),
|
|
95
97
|
_: 3
|
|
96
|
-
}, 8, [
|
|
98
|
+
}, 8, [
|
|
99
|
+
"class",
|
|
100
|
+
"prefix",
|
|
101
|
+
"aria-label"
|
|
102
|
+
])) : createCommentVNode("", true),
|
|
97
103
|
createElementVNode("span", { class: normalizeClass(`${unref(prefixCls)}-title`) }, [renderSlot(_ctx.$slots, "title", {}, () => [createTextVNode(toDisplayString(__props.title), 1)])], 2),
|
|
98
104
|
_ctx.$slots.subtitle || __props.subtitle ? (openBlock(), createElementBlock("span", {
|
|
99
105
|
key: 1,
|
|
@@ -1,10 +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
3
|
import { isActivationKey } from "../_utils/keyboard.js";
|
|
4
|
+
import { useI18n } from "../locale/index.js";
|
|
4
5
|
import IconMore from "../icon/icon-more/index.js";
|
|
5
6
|
import { getLegalPage } from "./utils.js";
|
|
6
7
|
import { computed, createElementBlock, createVNode, defineComponent, normalizeClass, openBlock, renderSlot, unref } from "vue";
|
|
7
8
|
//#region components/pagination/page-item-ellipsis.vue?vue&type=script&setup=true&lang.ts
|
|
9
|
+
var _hoisted_1 = ["aria-label"];
|
|
8
10
|
var page_item_ellipsis_vue_vue_type_script_setup_true_lang_default = /*@__PURE__*/ defineComponent(_objectSpread2(_objectSpread2({}, { name: "EllipsisPager" }), {}, {
|
|
9
11
|
__name: "page-item-ellipsis",
|
|
10
12
|
props: {
|
|
@@ -25,6 +27,7 @@ var page_item_ellipsis_vue_vue_type_script_setup_true_lang_default = /*@__PURE__
|
|
|
25
27
|
setup(__props, { emit: __emit }) {
|
|
26
28
|
const props = __props;
|
|
27
29
|
const emit = __emit;
|
|
30
|
+
const { t } = useI18n();
|
|
28
31
|
const prefixCls = getPrefixCls("pagination-item");
|
|
29
32
|
const nextPage = computed(() => getLegalPage(props.current + props.step, {
|
|
30
33
|
min: 1,
|
|
@@ -44,10 +47,10 @@ var page_item_ellipsis_vue_vue_type_script_setup_true_lang_default = /*@__PURE__
|
|
|
44
47
|
return openBlock(), createElementBlock("li", {
|
|
45
48
|
class: normalizeClass(cls.value),
|
|
46
49
|
tabindex: "0",
|
|
47
|
-
"aria-label": "
|
|
50
|
+
"aria-label": unref(t)("a11y.morePages"),
|
|
48
51
|
onClick: handleClick,
|
|
49
52
|
onKeydown: handleKeydown
|
|
50
|
-
}, [renderSlot(_ctx.$slots, "default", {}, () => [createVNode(unref(IconMore))])],
|
|
53
|
+
}, [renderSlot(_ctx.$slots, "default", {}, () => [createVNode(unref(IconMore))])], 42, _hoisted_1);
|
|
51
54
|
};
|
|
52
55
|
}
|
|
53
56
|
}));
|
|
@@ -1,9 +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
3
|
import { isActivationKey } from "../_utils/keyboard.js";
|
|
4
|
-
import
|
|
5
|
-
import IconLeft from "../icon/icon-left/index.js";
|
|
4
|
+
import { useI18n } from "../locale/index.js";
|
|
6
5
|
import { getLegalPage } from "./utils.js";
|
|
6
|
+
import IconLeft from "../icon/icon-left/index.js";
|
|
7
|
+
import IconRight from "../icon/icon-right/index.js";
|
|
7
8
|
import { computed, createBlock, defineComponent, normalizeClass, openBlock, renderSlot, resolveDynamicComponent, unref, withCtx } from "vue";
|
|
8
9
|
//#region components/pagination/page-item-step.vue?vue&type=script&setup=true&lang.ts
|
|
9
10
|
var page_item_step_vue_vue_type_script_setup_true_lang_default = /*@__PURE__*/ defineComponent(_objectSpread2(_objectSpread2({}, { name: "StepPager" }), {}, {
|
|
@@ -34,6 +35,7 @@ var page_item_step_vue_vue_type_script_setup_true_lang_default = /*@__PURE__*/ d
|
|
|
34
35
|
setup(__props, { emit: __emit }) {
|
|
35
36
|
const props = __props;
|
|
36
37
|
const emit = __emit;
|
|
38
|
+
const { t } = useI18n();
|
|
37
39
|
const prefixCls = getPrefixCls("pagination-item");
|
|
38
40
|
const isNext = props.type === "next";
|
|
39
41
|
const mergedDisabled = computed(() => {
|
|
@@ -64,7 +66,7 @@ var page_item_step_vue_vue_type_script_setup_true_lang_default = /*@__PURE__*/ d
|
|
|
64
66
|
return (_ctx, _cache) => {
|
|
65
67
|
return openBlock(), createBlock(resolveDynamicComponent(__props.simple ? "span" : "li"), {
|
|
66
68
|
class: normalizeClass(cls.value),
|
|
67
|
-
"aria-label": isNext ? "
|
|
69
|
+
"aria-label": isNext ? unref(t)("a11y.nextPage") : unref(t)("a11y.prevPage"),
|
|
68
70
|
"aria-disabled": mergedDisabled.value || void 0,
|
|
69
71
|
tabindex: mergedDisabled.value ? -1 : 0,
|
|
70
72
|
onClick: handleClick,
|
|
@@ -1,7 +1,8 @@
|
|
|
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 { useI18n } from "../locale/index.js";
|
|
4
|
-
import
|
|
4
|
+
import Select from "../select/index.js";
|
|
5
|
+
import { computed, createElementBlock, createVNode, defineComponent, mergeProps, normalizeClass, openBlock, unref } from "vue";
|
|
5
6
|
//#region components/pagination/page-options.vue?vue&type=script&setup=true&lang.ts
|
|
6
7
|
var page_options_vue_vue_type_script_setup_true_lang_default = /*@__PURE__*/ defineComponent(_objectSpread2(_objectSpread2({}, { name: "PageOptions" }), {}, {
|
|
7
8
|
__name: "page-options",
|
|
@@ -35,8 +36,7 @@ var page_options_vue_vue_type_script_setup_true_lang_default = /*@__PURE__*/ def
|
|
|
35
36
|
emit("change", value);
|
|
36
37
|
};
|
|
37
38
|
return (_ctx, _cache) => {
|
|
38
|
-
|
|
39
|
-
return openBlock(), createElementBlock("span", { class: normalizeClass(unref(prefixCls)) }, [createVNode(_component_sd_select, mergeProps({
|
|
39
|
+
return openBlock(), createElementBlock("span", { class: normalizeClass(unref(prefixCls)) }, [createVNode(unref(Select), mergeProps({
|
|
40
40
|
"model-value": modelValue.value,
|
|
41
41
|
options: options.value,
|
|
42
42
|
size: __props.size,
|
|
@@ -434,7 +434,7 @@ var pagination_default = /* @__PURE__ */ defineComponent({
|
|
|
434
434
|
if (props.hideOnSinglePage && pages.value <= 1) return null;
|
|
435
435
|
return createVNode("div", {
|
|
436
436
|
"role": "navigation",
|
|
437
|
-
"aria-label": "
|
|
437
|
+
"aria-label": t("a11y.pagination"),
|
|
438
438
|
"class": cls.value
|
|
439
439
|
}, [
|
|
440
440
|
mergedShowTotal.value && createVNode("span", { "class": `${prefixCls}-total` }, [(_slots$total = (_slots$total2 = slots.total) === null || _slots$total2 === void 0 ? void 0 : _slots$total2.call(slots, { total: props.total })) !== null && _slots$total !== void 0 ? _slots$total : t("pagination.total", props.total)]),
|
|
@@ -5,8 +5,8 @@ import IconCheckCircleFill from "../icon/icon-check-circle-fill/index.js";
|
|
|
5
5
|
import IconCloseCircleFill from "../icon/icon-close-circle-fill/index.js";
|
|
6
6
|
import IconExclamationCircleFill from "../icon/icon-exclamation-circle-fill/index.js";
|
|
7
7
|
import IconInfoCircleFill from "../icon/icon-info-circle-fill/index.js";
|
|
8
|
-
import { _asyncToGenerator } from "../_virtual/_@oxc-project_runtime@0.133.0/helpers/esm/asyncToGenerator.js";
|
|
9
8
|
import { useI18n } from "../locale/index.js";
|
|
9
|
+
import { _asyncToGenerator } from "../_virtual/_@oxc-project_runtime@0.133.0/helpers/esm/asyncToGenerator.js";
|
|
10
10
|
import Trigger from "../trigger/index.js";
|
|
11
11
|
import Button from "../button/index.js";
|
|
12
12
|
import { computed, createBlock, createCommentVNode, createElementVNode, createTextVNode, createVNode, defineComponent, mergeProps, normalizeClass, openBlock, ref, renderSlot, toDisplayString, unref, withCtx } from "vue";
|
|
@@ -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 { _asyncToGenerator } from "../_virtual/_@oxc-project_runtime@0.133.0/helpers/esm/asyncToGenerator.js";
|
|
4
5
|
import qr_code_status_default from "./qr-code-status.js";
|
|
5
6
|
import { computed, createBlock, createCommentVNode, createElementBlock, createVNode, defineComponent, nextTick, normalizeClass, normalizeStyle, openBlock, ref, renderSlot, unref, useSlots, watch } from "vue";
|
|
@@ -156,6 +157,7 @@ var qr_code_vue_vue_type_script_setup_true_lang_default = /*@__PURE__*/ defineCo
|
|
|
156
157
|
const slots = useSlots();
|
|
157
158
|
const props = __props;
|
|
158
159
|
const emit = __emit;
|
|
160
|
+
const { t } = useI18n();
|
|
159
161
|
const prefixCls = getPrefixCls("qr-code");
|
|
160
162
|
const canvasRef = ref();
|
|
161
163
|
const svgMarkup = ref("");
|
|
@@ -293,12 +295,12 @@ var qr_code_vue_vue_type_script_setup_true_lang_default = /*@__PURE__*/ defineCo
|
|
|
293
295
|
ref: canvasRef,
|
|
294
296
|
class: normalizeClass(`${unref(prefixCls)}-canvas`),
|
|
295
297
|
role: "img",
|
|
296
|
-
"aria-label":
|
|
298
|
+
"aria-label": unref(t)("a11y.qrCode", mergedValue.value)
|
|
297
299
|
}, null, 10, _hoisted_1)) : (openBlock(), createElementBlock("div", {
|
|
298
300
|
key: 2,
|
|
299
301
|
class: normalizeClass(`${unref(prefixCls)}-svg`),
|
|
300
302
|
role: "img",
|
|
301
|
-
"aria-label":
|
|
303
|
+
"aria-label": unref(t)("a11y.qrCode", mergedValue.value),
|
|
302
304
|
innerHTML: svgMarkup.value
|
|
303
305
|
}, null, 10, _hoisted_2)),
|
|
304
306
|
hasIcon.value ? (openBlock(), createElementBlock("div", {
|
package/es/rate/rate.js
CHANGED
|
@@ -2,6 +2,7 @@ import { useFormItem } from "../_hooks/use-form-item.js";
|
|
|
2
2
|
import { getPrefixCls } from "../_utils/global-config.js";
|
|
3
3
|
import { isNull, isObject, isString, isUndefined } from "../_utils/is.js";
|
|
4
4
|
import { KEYBOARD_KEY } from "../_utils/keyboard.js";
|
|
5
|
+
import { useI18n } from "../locale/index.js";
|
|
5
6
|
import { useAllowClear } from "../_hooks/use-allow-clear.js";
|
|
6
7
|
import { useReadonlyTip, useReadonlyTipText } from "../_hooks/use-readonly-tip.js";
|
|
7
8
|
import Tooltip from "../tooltip/index.js";
|
|
@@ -109,6 +110,7 @@ var rate_default = /* @__PURE__ */ defineComponent({
|
|
|
109
110
|
* @binding {number} index
|
|
110
111
|
*/
|
|
111
112
|
setup(props, { emit, slots }) {
|
|
113
|
+
const { t } = useI18n();
|
|
112
114
|
const { modelValue, allowClear } = toRefs(props);
|
|
113
115
|
const prefixCls = getPrefixCls("rate");
|
|
114
116
|
const { mergedDisabled: _mergedDisabled, eventHandlers } = useFormItem({ disabled: toRef(props, "disabled") });
|
|
@@ -258,7 +260,7 @@ var rate_default = /* @__PURE__ */ defineComponent({
|
|
|
258
260
|
}, { default: () => [createVNode("div", {
|
|
259
261
|
"class": cls.value,
|
|
260
262
|
"role": "radiogroup",
|
|
261
|
-
"aria-label": "
|
|
263
|
+
"aria-label": t("a11y.rating"),
|
|
262
264
|
"tabindex": mergedDisabled.value ? void 0 : 0,
|
|
263
265
|
"onMouseleave": resetHoverIndex,
|
|
264
266
|
"onKeydown": handleKeydown
|
package/es/sd-vue.js
CHANGED
|
@@ -1,10 +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 Affix from "./affix/index.js";
|
|
4
|
+
import { addI18nMessages, getLocale, useLocale } from "./locale/index.js";
|
|
4
5
|
import Alert from "./alert/index.js";
|
|
5
6
|
import anchor_link_default from "./anchor/anchor-link.js";
|
|
6
7
|
import Anchor from "./anchor/index.js";
|
|
7
|
-
import { addI18nMessages, getLocale, useLocale } from "./locale/index.js";
|
|
8
8
|
import Trigger from "./trigger/index.js";
|
|
9
9
|
import Tooltip from "./tooltip/index.js";
|
|
10
10
|
import input_group_default from "./input/input-group.js";
|
|
@@ -21,8 +21,59 @@ import AvatarGroup from "./avatar/avatar-group.js";
|
|
|
21
21
|
import Avatar from "./avatar/index.js";
|
|
22
22
|
import BackTop from "./back-top/index.js";
|
|
23
23
|
import Badge from "./badge/index.js";
|
|
24
|
-
import
|
|
24
|
+
import Ellipsis, { PerformantEllipsis } from "./ellipsis/index.js";
|
|
25
|
+
import Link from "./link/index.js";
|
|
26
|
+
import Popconfirm from "./popconfirm/index.js";
|
|
27
|
+
import Space from "./space/index.js";
|
|
25
28
|
import Empty from "./empty/index.js";
|
|
29
|
+
import InputNumber from "./input-number/index.js";
|
|
30
|
+
import Tag from "./tag/index.js";
|
|
31
|
+
import InputTag from "./input-tag/index.js";
|
|
32
|
+
import checkbox_group_default from "./checkbox/checkbox-group.js";
|
|
33
|
+
import Checkbox from "./checkbox/index.js";
|
|
34
|
+
import Select from "./select/index.js";
|
|
35
|
+
import Pagination from "./pagination/index.js";
|
|
36
|
+
import radio_group_default from "./radio/radio-group.js";
|
|
37
|
+
import Radio from "./radio/index.js";
|
|
38
|
+
import table_tbody_default from "./table/table-tbody.js";
|
|
39
|
+
import table_td_default from "./table/table-td.js";
|
|
40
|
+
import table_th_default from "./table/table-th.js";
|
|
41
|
+
import table_thead_default from "./table/table-thead.js";
|
|
42
|
+
import table_tr_default from "./table/table-tr.js";
|
|
43
|
+
import table_column_default from "./table/table-column.js";
|
|
44
|
+
import Table from "./table/index.js";
|
|
45
|
+
import grid_col_default from "./grid/grid-col.js";
|
|
46
|
+
import grid_item_default from "./grid/grid-item.js";
|
|
47
|
+
import grid_row_default from "./grid/grid-row.js";
|
|
48
|
+
import Grid from "./grid/index.js";
|
|
49
|
+
import form_item_default from "./form/form-item.js";
|
|
50
|
+
import Form from "./form/index.js";
|
|
51
|
+
import cascader_panel_default from "./cascader/cascader-panel.js";
|
|
52
|
+
import Cascader from "./cascader/index.js";
|
|
53
|
+
import month_picker_default from "./date-picker/pickers/month-picker.js";
|
|
54
|
+
import quarter_picker_default from "./date-picker/pickers/quarter-picker.js";
|
|
55
|
+
import week_picker_default from "./date-picker/pickers/week-picker.js";
|
|
56
|
+
import year_picker_default from "./date-picker/pickers/year-picker.js";
|
|
57
|
+
import range_picker_default from "./date-picker/range-picker.js";
|
|
58
|
+
import DatePicker from "./date-picker/index.js";
|
|
59
|
+
import Textarea from "./textarea/index.js";
|
|
60
|
+
import Mention from "./mention/index.js";
|
|
61
|
+
import Rate from "./rate/index.js";
|
|
62
|
+
import Slider from "./slider/index.js";
|
|
63
|
+
import Switch from "./switch/index.js";
|
|
64
|
+
import TimePicker from "./time-picker/index.js";
|
|
65
|
+
import list_item_default from "./list/list-item.js";
|
|
66
|
+
import list_item_meta_default from "./list/list-item-meta.js";
|
|
67
|
+
import List from "./list/index.js";
|
|
68
|
+
import Transfer from "./transfer/index.js";
|
|
69
|
+
import Tree from "./tree/index.js";
|
|
70
|
+
import TreeSelect from "./tree-select/index.js";
|
|
71
|
+
import VerificationCode from "./verification-code/index.js";
|
|
72
|
+
import JsonForm from "./json-form/index.js";
|
|
73
|
+
import Toolbar from "./toolbar/index.js";
|
|
74
|
+
import Modal from "./modal/index.js";
|
|
75
|
+
import BasicCrudTable from "./basic-crud-table/index.js";
|
|
76
|
+
import BorderBeam from "./border-beam/index.js";
|
|
26
77
|
import dropdown_button_default from "./dropdown/dropdown-button.js";
|
|
27
78
|
import dropdown_group_default from "./dropdown/dropdown-group.js";
|
|
28
79
|
import dropdown_option_default from "./dropdown/dropdown-option.js";
|
|
@@ -30,38 +81,20 @@ import dropdown_submenu_default from "./dropdown/dropdown-submenu.js";
|
|
|
30
81
|
import Dropdown from "./dropdown/index.js";
|
|
31
82
|
import breadcrumb_item_default from "./breadcrumb/breadcrumb-item.js";
|
|
32
83
|
import Breadcrumb from "./breadcrumb/index.js";
|
|
33
|
-
import Ellipsis, { PerformantEllipsis } from "./ellipsis/index.js";
|
|
34
84
|
import Calendar from "./calendar/index.js";
|
|
35
85
|
import card_grid_default from "./card/card-grid.js";
|
|
36
86
|
import card_meta_default from "./card/card-meta.js";
|
|
37
87
|
import Card from "./card/index.js";
|
|
38
88
|
import carousel_item_default from "./carousel/carousel-item.js";
|
|
39
89
|
import Carousel from "./carousel/index.js";
|
|
40
|
-
import checkbox_group_default from "./checkbox/checkbox-group.js";
|
|
41
|
-
import Checkbox from "./checkbox/index.js";
|
|
42
|
-
import radio_group_default from "./radio/radio-group.js";
|
|
43
|
-
import Radio from "./radio/index.js";
|
|
44
|
-
import cascader_panel_default from "./cascader/cascader-panel.js";
|
|
45
|
-
import Tag from "./tag/index.js";
|
|
46
|
-
import InputTag from "./input-tag/index.js";
|
|
47
|
-
import Cascader from "./cascader/index.js";
|
|
48
90
|
import collapse_item_default from "./collapse/collapse-item.js";
|
|
49
91
|
import Collapse from "./collapse/index.js";
|
|
50
|
-
import InputNumber from "./input-number/index.js";
|
|
51
|
-
import Select from "./select/index.js";
|
|
52
92
|
import ColorPicker from "./color-picker/index.js";
|
|
53
93
|
import Comment from "./comment/index.js";
|
|
54
94
|
import ConfigProvider from "./config-provider/index.js";
|
|
55
|
-
import Link from "./link/index.js";
|
|
56
95
|
import Message from "./message/index.js";
|
|
57
96
|
import Copy from "./copy/index.js";
|
|
58
97
|
import Cropper from "./cropper/index.js";
|
|
59
|
-
import month_picker_default from "./date-picker/pickers/month-picker.js";
|
|
60
|
-
import quarter_picker_default from "./date-picker/pickers/quarter-picker.js";
|
|
61
|
-
import week_picker_default from "./date-picker/pickers/week-picker.js";
|
|
62
|
-
import year_picker_default from "./date-picker/pickers/year-picker.js";
|
|
63
|
-
import range_picker_default from "./date-picker/range-picker.js";
|
|
64
|
-
import DatePicker from "./date-picker/index.js";
|
|
65
98
|
import descriptions_item_default from "./descriptions/descriptions-item.js";
|
|
66
99
|
import Descriptions from "./descriptions/index.js";
|
|
67
100
|
import Divider from "./divider/index.js";
|
|
@@ -71,28 +104,7 @@ import preview_default from "./image/preview.js";
|
|
|
71
104
|
import preview_group_default from "./image/preview-group.js";
|
|
72
105
|
import Image from "./image/index.js";
|
|
73
106
|
import FilePreviewer from "./file-previewer/index.js";
|
|
74
|
-
import grid_col_default from "./grid/grid-col.js";
|
|
75
|
-
import grid_item_default from "./grid/grid-item.js";
|
|
76
|
-
import grid_row_default from "./grid/grid-row.js";
|
|
77
|
-
import Grid from "./grid/index.js";
|
|
78
|
-
import form_item_default from "./form/form-item.js";
|
|
79
|
-
import Form from "./form/index.js";
|
|
80
107
|
import Icon from "./icon-component/index.js";
|
|
81
|
-
import Textarea from "./textarea/index.js";
|
|
82
|
-
import Mention from "./mention/index.js";
|
|
83
|
-
import Rate from "./rate/index.js";
|
|
84
|
-
import Slider from "./slider/index.js";
|
|
85
|
-
import Switch from "./switch/index.js";
|
|
86
|
-
import TimePicker from "./time-picker/index.js";
|
|
87
|
-
import Pagination from "./pagination/index.js";
|
|
88
|
-
import list_item_default from "./list/list-item.js";
|
|
89
|
-
import list_item_meta_default from "./list/list-item-meta.js";
|
|
90
|
-
import List from "./list/index.js";
|
|
91
|
-
import Transfer from "./transfer/index.js";
|
|
92
|
-
import Tree from "./tree/index.js";
|
|
93
|
-
import TreeSelect from "./tree-select/index.js";
|
|
94
|
-
import VerificationCode from "./verification-code/index.js";
|
|
95
|
-
import JsonForm from "./json-form/index.js";
|
|
96
108
|
import content_default from "./layout/content.js";
|
|
97
109
|
import footer_default from "./layout/footer.js";
|
|
98
110
|
import header_default from "./layout/header.js";
|
|
@@ -102,11 +114,9 @@ import item_default from "./menu/item.js";
|
|
|
102
114
|
import item_group_default from "./menu/item-group.js";
|
|
103
115
|
import sub_menu_default from "./menu/sub-menu.js";
|
|
104
116
|
import Menu from "./menu/index.js";
|
|
105
|
-
import Modal from "./modal/index.js";
|
|
106
117
|
import Notification from "./notification/index.js";
|
|
107
118
|
import OverflowList from "./overflow-list/index.js";
|
|
108
119
|
import PageHeader from "./page-header/index.js";
|
|
109
|
-
import Popconfirm from "./popconfirm/index.js";
|
|
110
120
|
import Progress from "./progress/index.js";
|
|
111
121
|
import QrCode from "./qr-code/index.js";
|
|
112
122
|
import ResizeBox from "./resize-box/index.js";
|
|
@@ -116,26 +126,17 @@ import SelectableCard from "./selectable-card/index.js";
|
|
|
116
126
|
import line_default from "./skeleton/line.js";
|
|
117
127
|
import shape_default from "./skeleton/shape.js";
|
|
118
128
|
import Skeleton from "./skeleton/index.js";
|
|
119
|
-
import Space from "./space/index.js";
|
|
120
129
|
import Split from "./split/index.js";
|
|
121
130
|
import countdown_default from "./statistic/countdown.js";
|
|
122
131
|
import Statistic from "./statistic/index.js";
|
|
123
132
|
import step_default from "./steps/step.js";
|
|
124
133
|
import Steps from "./steps/index.js";
|
|
125
|
-
import table_tbody_default from "./table/table-tbody.js";
|
|
126
|
-
import table_td_default from "./table/table-td.js";
|
|
127
|
-
import table_th_default from "./table/table-th.js";
|
|
128
|
-
import table_thead_default from "./table/table-thead.js";
|
|
129
|
-
import table_tr_default from "./table/table-tr.js";
|
|
130
|
-
import table_column_default from "./table/table-column.js";
|
|
131
|
-
import Table from "./table/index.js";
|
|
132
134
|
import tab_pane_default from "./tabs/tab-pane.js";
|
|
133
135
|
import Tabs from "./tabs/index.js";
|
|
134
136
|
import TagGroup from "./tag-group/index.js";
|
|
135
137
|
import ThemeProvider from "./theme-provider/index.js";
|
|
136
138
|
import item_default$1 from "./timeline/item.js";
|
|
137
139
|
import Timeline from "./timeline/index.js";
|
|
138
|
-
import Toolbar from "./toolbar/index.js";
|
|
139
140
|
import Tour from "./tour/index.js";
|
|
140
141
|
import paragraph_default from "./typography/paragraph.js";
|
|
141
142
|
import text_default from "./typography/text.js";
|
|
@@ -154,6 +155,7 @@ var components = {
|
|
|
154
155
|
Space,
|
|
155
156
|
Avatar,
|
|
156
157
|
Badge,
|
|
158
|
+
BasicCrudTable,
|
|
157
159
|
Calendar,
|
|
158
160
|
Card,
|
|
159
161
|
SelectableCard,
|
|
@@ -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
|
}
|
package/es/select/select.js
CHANGED
|
@@ -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 {
|
|
16
|
-
import Checkbox from "../checkbox/index.js";
|
|
15
|
+
import { debounce } from "../_utils/debounce.js";
|
|
17
16
|
import select_view_default from "../_components/select-view/select-view.js";
|
|
18
17
|
import { useAllowSearch } from "../_hooks/use-allow-search.js";
|
|
19
|
-
import {
|
|
18
|
+
import { useTrigger } from "../_hooks/use-trigger.js";
|
|
19
|
+
import Checkbox from "../checkbox/index.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": "
|
|
156
|
+
"aria-label": unref(t)("a11y.steps"),
|
|
154
157
|
class: normalizeClass(cls.value)
|
|
155
|
-
}, [renderSlot(_ctx.$slots, "default")],
|
|
158
|
+
}, [renderSlot(_ctx.$slots, "default")], 10, _hoisted_1);
|
|
156
159
|
};
|
|
157
160
|
}
|
|
158
161
|
}));
|
package/es/table/index.d.ts
CHANGED
|
@@ -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
|
|
5
|
+
import Checkbox from "../checkbox/index.js";
|
|
8
6
|
import { tableInjectionKey } from "./context.js";
|
|
9
7
|
import { getGridSpanStyle, getLeafKeys, getOperationFixedCls, getOperationStyle, getSelectionStatus } from "./utils.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({
|
package/es/table/table-th.d.ts
CHANGED
|
@@ -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;
|
package/es/table/table-th.js
CHANGED
|
@@ -6,11 +6,11 @@ import { useI18n } from "../locale/index.js";
|
|
|
6
6
|
import Trigger from "../trigger/index.js";
|
|
7
7
|
import Button from "../button/index.js";
|
|
8
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
9
|
import { tableInjectionKey } from "./context.js";
|
|
12
10
|
import { getFixedCls, getGridSpanStyle, getStyle } from "./utils.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";
|
package/es/table/table.d.ts
CHANGED
|
@@ -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;
|