cosey 0.1.4 → 0.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +61 -0
- package/components/close/style/index.js +2 -2
- package/components/col/col.vue.js +1 -1
- package/components/col/style/index.js +3 -3
- package/components/config-provider/config-provider.d.ts +2 -0
- package/components/config-provider/config-provider.vue.js +13 -3
- package/components/context-menu/context-menu.vue.js +4 -4
- package/components/context-menu/context-sub-menu.vue.js +2 -2
- package/components/context-menu/style/index.js +2 -2
- package/components/editor/components/color-picker/color-picker.vue.js +15 -11
- package/components/editor/components/color-picker/useHistoryColor.js +3 -3
- package/components/editor/components/resize/resize.js +9 -9
- package/components/editor/components/resize/resize.style.js +20 -20
- package/components/editor/components/resize/resize.vue.js +2 -2
- package/components/editor/components/table-toolbar/table-toolbar.style.js +2 -2
- package/components/editor/components/table-toolbar/table-toolbar.vue.js +2 -2
- package/components/editor/components/toolbar/formats/font.vue.js +5 -1
- package/components/editor/components/toolbar/formats/header.vue.js +6 -2
- package/components/editor/components/toolbar/formats/link.vue.js +17 -13
- package/components/editor/components/toolbar/formats/size.vue.js +5 -1
- package/components/editor/components/toolbar/formats/source.vue.d.ts +2 -0
- package/components/editor/components/toolbar/formats/source.vue.js +78 -0
- package/components/editor/components/toolbar/formats/table.style.js +2 -2
- package/components/editor/components/toolbar/formats/video.vue.js +9 -5
- package/components/editor/components/toolbar/toolbar.vue.js +5 -0
- package/components/editor/formats/font.js +2 -2
- package/components/editor/formats/indent.js +1 -1
- package/components/editor/formats/kbd.d.ts +7 -0
- package/components/editor/formats/kbd.js +13 -0
- package/components/editor/modules/image-uploader/formats/image-loading.style.js +2 -2
- package/components/editor/quill.js +8 -6
- package/components/editor/style/index.js +25 -16
- package/components/field/components/autocomplete/autocomplete.vue.js +5 -1
- package/components/field/components/cascader/cascader.vue.js +5 -1
- package/components/field/components/checkbox-group/checkbox-group.vue.js +1 -1
- package/components/field/components/checkbox-group/panel.vue.js +10 -5
- package/components/field/components/date/date.vue.js +5 -1
- package/components/field/components/date-range/date-range.vue.js +6 -2
- package/components/field/components/date-time/date-time.vue.js +5 -1
- package/components/field/components/date-time-range/date-time-range.vue.js +6 -2
- package/components/field/components/dates/dates.vue.js +5 -1
- package/components/field/components/input/input.vue.js +5 -1
- package/components/field/components/input-tag/input-tag.vue.js +5 -1
- package/components/field/components/mention/mention.vue.js +5 -1
- package/components/field/components/month/month.vue.js +5 -1
- package/components/field/components/month-range/month-range.vue.js +6 -2
- package/components/field/components/months/months.vue.js +5 -1
- package/components/field/components/password/password.vue.js +5 -1
- package/components/field/components/select/select.d.ts +2 -2
- package/components/field/components/select/select.js +3 -3
- package/components/field/components/select/select.vue.js +5 -1
- package/components/field/components/select-v2/select-v2.d.ts +6 -3
- package/components/field/components/select-v2/select-v2.js +9 -0
- package/components/field/components/select-v2/select-v2.vue.js +21 -3
- package/components/field/components/textarea/textarea.vue.js +5 -1
- package/components/field/components/time/time.vue.js +5 -1
- package/components/field/components/time-range/time-range.vue.js +6 -2
- package/components/field/components/time-select/time-select.vue.js +5 -1
- package/components/field/components/tree-select/tree-select.vue.js +5 -1
- package/components/field/components/week/week.vue.js +6 -2
- package/components/field/components/year/year.vue.js +5 -1
- package/components/field/components/year-range/year-range.vue.js +6 -2
- package/components/field/components/years/years.vue.js +5 -1
- package/components/form/form-item.d.ts +1 -1
- package/components/form/form.d.ts +2 -0
- package/components/form/form.js +2 -2
- package/components/form/form.vue.d.ts +5 -0
- package/components/form/form.vue.js +6 -2
- package/components/form/index.d.ts +10 -1
- package/components/form/useBubbleTemplate.js +13 -5
- package/components/form-dialog/form-dialog.js +2 -2
- package/components/form-dialog/index.d.ts +4 -1552
- package/components/form-list/form-list.js +1 -1
- package/components/form-list/form-list.vue.js +5 -1
- package/components/form-list/index.d.ts +1 -1
- package/components/form-query/form-query.d.ts +2 -0
- package/components/form-query/form-query.vue.d.ts +5 -0
- package/components/form-query/form-query.vue.js +13 -7
- package/components/form-query/index.d.ts +9 -0
- package/components/highlight/style/index.js +2 -2
- package/components/horizontal-tree/horizontal-tree.vue.js +11 -6
- package/components/image-card/image-card.d.ts +1 -8
- package/components/image-card/image-card.vue.d.ts +4 -18
- package/components/image-card/index.d.ts +8 -29
- package/components/long-text/style/index.js +2 -2
- package/components/mask/style/index.js +2 -2
- package/components/row/row.vue.js +1 -1
- package/components/scroll-view/scroll-view.vue.js +1 -1
- package/components/scroll-view/style/index.js +9 -9
- package/components/table/index.d.ts +73 -78
- package/components/table/table-column/renderer.d.ts +2 -1
- package/components/table/table-column/renderer.js +2 -2
- package/components/table/table-column/table-column.d.ts +15 -15
- package/components/table/table-column/table-column.vue.d.ts +9 -5
- package/components/table/table-column/table-column.vue.js +5 -1
- package/components/table/table-column-editor/table-column-editor.vue.js +22 -14
- package/components/table/table-export/table-export.vue.js +31 -26
- package/components/table/table-query/table-query.d.ts +2 -0
- package/components/table/table-query/table-query.vue.d.ts +5 -0
- package/components/table/table.d.ts +22 -25
- package/components/table/table.vue.d.ts +45 -51
- package/components/table/table.vue.js +13 -9
- package/components/table/useTable.d.ts +2 -1
- package/components/table/useTable.js +2 -2
- package/components/table-action/index.d.ts +48 -6
- package/components/table-action/item.d.ts +16 -2
- package/components/table-action/item.vue.d.ts +34 -6
- package/components/table-action/item.vue.js +15 -9
- package/components/table-action/table-action.vue.d.ts +16 -2
- package/components/toggle/toggle.vue.js +5 -1
- package/components/upload/style/index.js +2 -2
- package/components/upload/upload-item.vue.d.ts +2 -2
- package/components/upload/upload-item.vue.js +16 -9
- package/components/upload/upload.vue.js +7 -1
- package/config/index.d.ts +1 -2
- package/config/index.js +2 -2
- package/config/nprogress.style.js +5 -5
- package/config/root-config-provider.vue.js +5 -5
- package/constant.d.ts +2 -2
- package/constant.js +2 -2
- package/hooks/index.d.ts +1 -0
- package/hooks/index.js +2 -1
- package/hooks/useColorScheme.js +4 -4
- package/hooks/useDir.d.ts +2 -0
- package/hooks/useDir.js +20 -0
- package/hooks/useEcharts.d.ts +3 -2
- package/hooks/useEcharts.js +15 -3
- package/hooks/useLocale.d.ts +23 -371
- package/hooks/useLocale.js +26 -35
- package/hooks/useUpsert.d.ts +5 -3
- package/hooks/useUpsert.js +33 -25
- package/index.d.ts +1 -1
- package/index.js +4 -4
- package/layout/layout-auth/style/index.js +6 -6
- package/layout/layout-breadcrumb/layout-breadcrumb.vue.js +6 -2
- package/layout/layout-change-password/layout-change-password.vue.js +28 -22
- package/layout/layout-content/layout-content.vue.js +1 -1
- package/layout/layout-content/style/index.js +1 -1
- package/layout/layout-forbidden/layout-forbidden.vue.js +11 -6
- package/layout/layout-header/layout-header.vue.js +4 -4
- package/layout/layout-header/style/index.js +3 -3
- package/layout/layout-iframe/style/index.js +2 -2
- package/layout/layout-internal-server-error/layout-internal-server-error.vue.js +11 -6
- package/layout/layout-login/layout-login.vue.js +19 -14
- package/layout/layout-main/layout-main.vue.js +1 -1
- package/layout/layout-menu/layout-menu.vue.js +5 -1
- package/layout/layout-menu/style/index.js +1 -1
- package/layout/layout-not-found/layout-not-found.vue.js +11 -6
- package/layout/layout-search/layout-search.vue.js +22 -14
- package/layout/layout-sidebar/layout-sidebar.vue.js +8 -5
- package/layout/layout-sidebar/style/index.js +2 -2
- package/layout/layout-snug-aside/style/index.js +1 -1
- package/layout/layout-tabbar/layout-tabbar.vue.js +21 -13
- package/layout/layout-tabbar/style/index.js +1 -1
- package/layout/layout-top-snug-menu/layout-top-snug-menu.vue.js +24 -17
- package/layout/layout-user-menu/layout-user-menu.vue.js +10 -6
- package/locale/index.d.ts +10 -0
- package/locale/index.js +2 -0
- package/locale/lang/ar.d.ts +280 -0
- package/locale/lang/ar.js +129 -0
- package/locale/lang/en.d.ts +302 -0
- package/locale/lang/en.js +129 -0
- package/locale/lang/zh-cn.d.ts +301 -0
- package/locale/lang/zh-cn.js +129 -0
- package/package.json +10 -8
- package/request/useRequest.js +31 -23
- package/store/index.d.ts +1 -1
- package/store/index.js +6 -3
- package/store/layout.js +208 -190
- package/store/plugin.d.ts +9 -0
- package/store/plugin.js +22 -0
- package/store/user.d.ts +1 -1
- package/utils/css.d.ts +4 -0
- package/utils/css.js +5 -2
- package/utils/excel/bookFormats.js +5 -5
- package/utils/excel/xlsx.js +2 -2
- package/utils/index.js +1 -1
- package/utils/message-box.js +3 -1
- package/utils/tree.js +2 -2
- package/components/form-dialog/form-dialog.vue.d.ts +0 -675
|
@@ -3,7 +3,7 @@ import { defaultFormItemProps, formItemExposeKeys } from '../form/form-item.js';
|
|
|
3
3
|
const defaultFormListProps = {
|
|
4
4
|
...defaultFormItemProps,
|
|
5
5
|
modelValue: () => [],
|
|
6
|
-
addText: "
|
|
6
|
+
addText: "co.form.add"
|
|
7
7
|
};
|
|
8
8
|
const formListExposeKeys = [...formItemExposeKeys, "add", "remove", "move"];
|
|
9
9
|
|
|
@@ -12,6 +12,7 @@ import { useToken } from '../theme/util/useToken.js';
|
|
|
12
12
|
import { formContextSymbol } from '../form/form.js';
|
|
13
13
|
import { arrayMove } from '../../utils/array.js';
|
|
14
14
|
import { getFormItemWidth } from '../form/useFormItemWidth.js';
|
|
15
|
+
import { useLocale } from '../../hooks/useLocale.js';
|
|
15
16
|
import { useComponentConfig } from '../config-provider/config-provider.js';
|
|
16
17
|
import { uuid } from '../../utils/string.js';
|
|
17
18
|
import { createMergedExpose, defineTemplate } from '../../utils/vue.js';
|
|
@@ -160,6 +161,9 @@ var stdin_default = /* @__PURE__ */defineComponent({
|
|
|
160
161
|
const slots = useSlots();
|
|
161
162
|
const emit = __emit;
|
|
162
163
|
const attrs = useAttrs();
|
|
164
|
+
const {
|
|
165
|
+
t
|
|
166
|
+
} = useLocale();
|
|
163
167
|
const {
|
|
164
168
|
prefixCls
|
|
165
169
|
} = useComponentConfig("form-list", props);
|
|
@@ -322,7 +326,7 @@ var stdin_default = /* @__PURE__ */defineComponent({
|
|
|
322
326
|
default: () => [createVNode(_Icon, {
|
|
323
327
|
"name": "co:add-large",
|
|
324
328
|
"class": `${prefixCls.value}-plus-icon`
|
|
325
|
-
}, null), props.addText]
|
|
329
|
+
}, null), t(props.addText)]
|
|
326
330
|
})])])],
|
|
327
331
|
...omit(slots, "default", "custom")
|
|
328
332
|
});
|
|
@@ -26,7 +26,7 @@ declare const _FormList: (<T extends import("./form-list").FormListRow = import(
|
|
|
26
26
|
readonly labelWidth?: (string | number) | undefined;
|
|
27
27
|
readonly labelPosition?: ("" | "left" | "right" | "top") | undefined;
|
|
28
28
|
readonly rules?: (import("element-plus").FormItemRule | import("element-plus").FormItemRule[]) | undefined;
|
|
29
|
-
readonly validateStatus?: ("" | "
|
|
29
|
+
readonly validateStatus?: ("" | "error" | "success" | "validating") | undefined;
|
|
30
30
|
readonly for?: string | undefined;
|
|
31
31
|
readonly inlineMessage?: (string | boolean) | undefined;
|
|
32
32
|
readonly showMessage?: boolean | undefined;
|
|
@@ -134,6 +134,8 @@ export declare const formQueryProps: {
|
|
|
134
134
|
readonly required: false;
|
|
135
135
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
136
136
|
__epPropKey: true;
|
|
137
|
+
} & {
|
|
138
|
+
readonly default: true;
|
|
137
139
|
};
|
|
138
140
|
size: {
|
|
139
141
|
readonly type: PropType<"" | "default" | "large" | "small">;
|
|
@@ -125,6 +125,8 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
|
|
|
125
125
|
readonly required: false;
|
|
126
126
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
127
127
|
__epPropKey: true;
|
|
128
|
+
} & {
|
|
129
|
+
readonly default: true;
|
|
128
130
|
};
|
|
129
131
|
size: {
|
|
130
132
|
readonly type: import("vue").PropType<"" | "default" | "large" | "small">;
|
|
@@ -269,6 +271,8 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
|
|
|
269
271
|
readonly required: false;
|
|
270
272
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
271
273
|
__epPropKey: true;
|
|
274
|
+
} & {
|
|
275
|
+
readonly default: true;
|
|
272
276
|
};
|
|
273
277
|
size: {
|
|
274
278
|
readonly type: import("vue").PropType<"" | "default" | "large" | "small">;
|
|
@@ -300,6 +304,7 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
|
|
|
300
304
|
validateOnRuleChange: boolean;
|
|
301
305
|
hideRequiredAsterisk: boolean;
|
|
302
306
|
scrollToError: boolean;
|
|
307
|
+
scrollIntoViewOptions: boolean | Record<string, any>;
|
|
303
308
|
minFields: number;
|
|
304
309
|
collapsed: boolean;
|
|
305
310
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent, useSlots, computed, ref, Fragment, provide, createBlock, openBlock, unref, mergeProps, withCtx, renderSlot, createVNode, resolveDynamicComponent, normalizeClass, createElementVNode, createCommentVNode, createTextVNode, isRef, cloneVNode, isVNode } from 'vue';
|
|
1
|
+
import { defineComponent, useSlots, computed, ref, Fragment, provide, createBlock, openBlock, unref, mergeProps, withCtx, renderSlot, createVNode, resolveDynamicComponent, normalizeClass, createElementVNode, createCommentVNode, createTextVNode, toDisplayString, isRef, cloneVNode, isVNode } from 'vue';
|
|
2
2
|
import { formQueryProps, defaultMapSizeColNumber, formQueryContextSymbol } from './form-query.js';
|
|
3
3
|
import { ElForm, ElButton } from 'element-plus';
|
|
4
4
|
import { FormItem as _FormItem } from '../form/index.js';
|
|
@@ -7,6 +7,7 @@ import { Toggle as _Toggle } from '../toggle/index.js';
|
|
|
7
7
|
import stdin_default$1 from './style/index.js';
|
|
8
8
|
import { useFormTemplate } from '../form/useFormTemplate.js';
|
|
9
9
|
import { useComponentConfig } from '../config-provider/config-provider.js';
|
|
10
|
+
import { useLocale } from '../../hooks/useLocale.js';
|
|
10
11
|
import { useTwoWayBinding } from '../../hooks/useTwoWayBinding.js';
|
|
11
12
|
import { defineTemplate } from '../../utils/vue.js';
|
|
12
13
|
|
|
@@ -30,6 +31,9 @@ var stdin_default = /* @__PURE__ */defineComponent({
|
|
|
30
31
|
const {
|
|
31
32
|
hashId
|
|
32
33
|
} = stdin_default$1(prefixCls);
|
|
34
|
+
const {
|
|
35
|
+
t
|
|
36
|
+
} = useLocale();
|
|
33
37
|
const {
|
|
34
38
|
elFormProps,
|
|
35
39
|
expose,
|
|
@@ -112,15 +116,17 @@ var stdin_default = /* @__PURE__ */defineComponent({
|
|
|
112
116
|
type: "primary",
|
|
113
117
|
loading: unref(submitting)
|
|
114
118
|
}, {
|
|
115
|
-
default: withCtx(() =>
|
|
116
|
-
|
|
117
|
-
|
|
119
|
+
default: withCtx(() => [createTextVNode(toDisplayString(unref(t)("co.form.search")), 1
|
|
120
|
+
/* TEXT */)]),
|
|
121
|
+
_: 1
|
|
122
|
+
/* STABLE */
|
|
118
123
|
}, 8, ["loading"]), createVNode(unref(ElButton), {
|
|
119
124
|
onClick: unref(reset)
|
|
120
125
|
}, {
|
|
121
|
-
default: withCtx(() =>
|
|
122
|
-
|
|
123
|
-
|
|
126
|
+
default: withCtx(() => [createTextVNode(toDisplayString(unref(t)("co.form.reset")), 1
|
|
127
|
+
/* TEXT */)]),
|
|
128
|
+
_: 1
|
|
129
|
+
/* STABLE */
|
|
124
130
|
}, 8, ["onClick"])]), showToggle.value ? (openBlock(), createBlock(unref(_Toggle), {
|
|
125
131
|
key: 0,
|
|
126
132
|
modelValue: unref(innerCollapsed),
|
|
@@ -125,6 +125,8 @@ declare const _FormQuery: {
|
|
|
125
125
|
readonly required: false;
|
|
126
126
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
127
127
|
__epPropKey: true;
|
|
128
|
+
} & {
|
|
129
|
+
readonly default: true;
|
|
128
130
|
};
|
|
129
131
|
size: {
|
|
130
132
|
readonly type: import("vue").PropType<"" | "default" | "large" | "small">;
|
|
@@ -167,6 +169,7 @@ declare const _FormQuery: {
|
|
|
167
169
|
validateOnRuleChange: boolean;
|
|
168
170
|
hideRequiredAsterisk: boolean;
|
|
169
171
|
scrollToError: boolean;
|
|
172
|
+
scrollIntoViewOptions: boolean | Record<string, any>;
|
|
170
173
|
minFields: number;
|
|
171
174
|
collapsed: boolean;
|
|
172
175
|
}, true, {}, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, {}, any, import("vue").ComponentProvideOptions, {
|
|
@@ -301,6 +304,8 @@ declare const _FormQuery: {
|
|
|
301
304
|
readonly required: false;
|
|
302
305
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
303
306
|
__epPropKey: true;
|
|
307
|
+
} & {
|
|
308
|
+
readonly default: true;
|
|
304
309
|
};
|
|
305
310
|
size: {
|
|
306
311
|
readonly type: import("vue").PropType<"" | "default" | "large" | "small">;
|
|
@@ -340,6 +345,7 @@ declare const _FormQuery: {
|
|
|
340
345
|
validateOnRuleChange: boolean;
|
|
341
346
|
hideRequiredAsterisk: boolean;
|
|
342
347
|
scrollToError: boolean;
|
|
348
|
+
scrollIntoViewOptions: boolean | Record<string, any>;
|
|
343
349
|
minFields: number;
|
|
344
350
|
collapsed: boolean;
|
|
345
351
|
}>;
|
|
@@ -471,6 +477,8 @@ declare const _FormQuery: {
|
|
|
471
477
|
readonly required: false;
|
|
472
478
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
473
479
|
__epPropKey: true;
|
|
480
|
+
} & {
|
|
481
|
+
readonly default: true;
|
|
474
482
|
};
|
|
475
483
|
size: {
|
|
476
484
|
readonly type: import("vue").PropType<"" | "default" | "large" | "small">;
|
|
@@ -513,6 +521,7 @@ declare const _FormQuery: {
|
|
|
513
521
|
validateOnRuleChange: boolean;
|
|
514
522
|
hideRequiredAsterisk: boolean;
|
|
515
523
|
scrollToError: boolean;
|
|
524
|
+
scrollIntoViewOptions: boolean | Record<string, any>;
|
|
516
525
|
minFields: number;
|
|
517
526
|
collapsed: boolean;
|
|
518
527
|
}, {}, string, {}, import("vue").GlobalComponents, import("vue").GlobalDirectives, string, import("vue").ComponentProvideOptions> & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps & (new () => {
|
|
@@ -15,8 +15,8 @@ const getMaskStyle = (token) => {
|
|
|
15
15
|
},
|
|
16
16
|
[`${componentCls}-copy`]: {
|
|
17
17
|
position: "absolute",
|
|
18
|
-
|
|
19
|
-
|
|
18
|
+
insetBlockStart: token.sizeXXS,
|
|
19
|
+
insetInlineEnd: token.sizeXXS,
|
|
20
20
|
zIndex: 10,
|
|
21
21
|
color: token.colorWhite
|
|
22
22
|
},
|
|
@@ -1,8 +1,9 @@
|
|
|
1
|
-
import { defineComponent, computed, watch, resolveComponent, createElementBlock, openBlock, normalizeClass, unref, createCommentVNode, createElementVNode, createVNode, withCtx, createTextVNode, Fragment, renderList, createBlock, renderSlot
|
|
1
|
+
import { defineComponent, computed, watch, resolveComponent, createElementBlock, openBlock, normalizeClass, unref, toDisplayString, createCommentVNode, createElementVNode, createVNode, withCtx, createTextVNode, Fragment, renderList, createBlock, renderSlot } from 'vue';
|
|
2
2
|
import stdin_default$1 from './style/index.js';
|
|
3
3
|
import { useTreeCheck } from '../../hooks/useTreeCheck.js';
|
|
4
4
|
import { mapTree, extraTreeToTable, walkTree } from '../../utils/tree.js';
|
|
5
5
|
import { useComponentConfig } from '../config-provider/config-provider.js';
|
|
6
|
+
import { useLocale } from '../../hooks/useLocale.js';
|
|
6
7
|
import { isString } from '../../utils/is.js';
|
|
7
8
|
|
|
8
9
|
const _hoisted_1 = {
|
|
@@ -60,6 +61,9 @@ var stdin_default = /* @__PURE__ */defineComponent({
|
|
|
60
61
|
const {
|
|
61
62
|
hashId
|
|
62
63
|
} = stdin_default$1(prefixCls);
|
|
64
|
+
const {
|
|
65
|
+
t
|
|
66
|
+
} = useLocale();
|
|
63
67
|
const propNames = computed(() => {
|
|
64
68
|
return Object.assign({
|
|
65
69
|
children: "children",
|
|
@@ -187,8 +191,8 @@ var stdin_default = /* @__PURE__ */defineComponent({
|
|
|
187
191
|
}, [tableTree.value.length === 0 ? (openBlock(), createElementBlock("div", {
|
|
188
192
|
key: 0,
|
|
189
193
|
class: normalizeClass(`${unref(prefixCls)}-empty`)
|
|
190
|
-
}, "
|
|
191
|
-
/* CLASS */)) : (openBlock(), createElementBlock("table", _hoisted_1, [_ctx.showCheckbox && !_ctx.checkStrictly ? (openBlock(), createElementBlock("thead", _hoisted_2, [createElementVNode("tr", null, [createElementVNode("td", {
|
|
194
|
+
}, toDisplayString(unref(t)("co.common.noData")), 3
|
|
195
|
+
/* TEXT, CLASS */)) : (openBlock(), createElementBlock("table", _hoisted_1, [_ctx.showCheckbox && !_ctx.checkStrictly ? (openBlock(), createElementBlock("thead", _hoisted_2, [createElementVNode("tr", null, [createElementVNode("td", {
|
|
192
196
|
colspan: maxLevel.value
|
|
193
197
|
}, [createElementVNode("div", {
|
|
194
198
|
class: normalizeClass(`${unref(prefixCls)}-node`)
|
|
@@ -197,9 +201,10 @@ var stdin_default = /* @__PURE__ */defineComponent({
|
|
|
197
201
|
indeterminate: unref(checkAllIndeterminate),
|
|
198
202
|
onChange: unref(onCheckAllChange)
|
|
199
203
|
}, {
|
|
200
|
-
default: withCtx(() =>
|
|
201
|
-
|
|
202
|
-
|
|
204
|
+
default: withCtx(() => [createTextVNode(toDisplayString(unref(t)("co.common.checkAll")), 1
|
|
205
|
+
/* TEXT */)]),
|
|
206
|
+
_: 1
|
|
207
|
+
/* STABLE */
|
|
203
208
|
}, 8, ["model-value", "indeterminate", "onChange"])], 2
|
|
204
209
|
/* CLASS */)], 8, _hoisted_3)])])) : createCommentVNode("v-if", true), createElementVNode("tbody", null, [(openBlock(true), createElementBlock(Fragment, null, renderList(tableTree.value, (row, i) => {
|
|
205
210
|
return openBlock(), createElementBlock("tr", {
|
|
@@ -103,14 +103,7 @@ export declare const imageProps: {
|
|
|
103
103
|
} & {
|
|
104
104
|
readonly default: 7;
|
|
105
105
|
};
|
|
106
|
-
showProgress:
|
|
107
|
-
readonly type: import("vue").PropType<boolean>;
|
|
108
|
-
readonly required: false;
|
|
109
|
-
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
110
|
-
__epPropKey: true;
|
|
111
|
-
} & {
|
|
112
|
-
readonly default: false;
|
|
113
|
-
};
|
|
106
|
+
showProgress: BooleanConstructor;
|
|
114
107
|
crossorigin: {
|
|
115
108
|
readonly type: import("vue").PropType<"" | "anonymous" | "use-credentials">;
|
|
116
109
|
readonly required: false;
|
|
@@ -101,14 +101,7 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
|
|
|
101
101
|
} & {
|
|
102
102
|
readonly default: 7;
|
|
103
103
|
};
|
|
104
|
-
showProgress:
|
|
105
|
-
readonly type: import("vue").PropType<boolean>;
|
|
106
|
-
readonly required: false;
|
|
107
|
-
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
108
|
-
__epPropKey: true;
|
|
109
|
-
} & {
|
|
110
|
-
readonly default: false;
|
|
111
|
-
};
|
|
104
|
+
showProgress: BooleanConstructor;
|
|
112
105
|
crossorigin: {
|
|
113
106
|
readonly type: import("vue").PropType<"" | "anonymous" | "use-credentials">;
|
|
114
107
|
readonly required: false;
|
|
@@ -120,8 +113,8 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
|
|
|
120
113
|
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
121
114
|
show: () => any;
|
|
122
115
|
switch: () => any;
|
|
123
|
-
error: () => any;
|
|
124
116
|
close: () => any;
|
|
117
|
+
error: () => any;
|
|
125
118
|
load: () => any;
|
|
126
119
|
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
127
120
|
size: {
|
|
@@ -224,14 +217,7 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
|
|
|
224
217
|
} & {
|
|
225
218
|
readonly default: 7;
|
|
226
219
|
};
|
|
227
|
-
showProgress:
|
|
228
|
-
readonly type: import("vue").PropType<boolean>;
|
|
229
|
-
readonly required: false;
|
|
230
|
-
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
231
|
-
__epPropKey: true;
|
|
232
|
-
} & {
|
|
233
|
-
readonly default: false;
|
|
234
|
-
};
|
|
220
|
+
showProgress: BooleanConstructor;
|
|
235
221
|
crossorigin: {
|
|
236
222
|
readonly type: import("vue").PropType<"" | "anonymous" | "use-credentials">;
|
|
237
223
|
readonly required: false;
|
|
@@ -241,8 +227,8 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
|
|
|
241
227
|
}>> & Readonly<{
|
|
242
228
|
onShow?: (() => any) | undefined;
|
|
243
229
|
onSwitch?: (() => any) | undefined;
|
|
244
|
-
onError?: (() => any) | undefined;
|
|
245
230
|
onClose?: (() => any) | undefined;
|
|
231
|
+
onError?: (() => any) | undefined;
|
|
246
232
|
onLoad?: (() => any) | undefined;
|
|
247
233
|
}>, {
|
|
248
234
|
infinite: boolean;
|
|
@@ -101,14 +101,7 @@ declare const _ImageCard: {
|
|
|
101
101
|
} & {
|
|
102
102
|
readonly default: 7;
|
|
103
103
|
};
|
|
104
|
-
showProgress:
|
|
105
|
-
readonly type: import("vue").PropType<boolean>;
|
|
106
|
-
readonly required: false;
|
|
107
|
-
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
108
|
-
__epPropKey: true;
|
|
109
|
-
} & {
|
|
110
|
-
readonly default: false;
|
|
111
|
-
};
|
|
104
|
+
showProgress: BooleanConstructor;
|
|
112
105
|
crossorigin: {
|
|
113
106
|
readonly type: import("vue").PropType<"" | "anonymous" | "use-credentials">;
|
|
114
107
|
readonly required: false;
|
|
@@ -118,16 +111,16 @@ declare const _ImageCard: {
|
|
|
118
111
|
}>> & Readonly<{
|
|
119
112
|
onShow?: (() => any) | undefined;
|
|
120
113
|
onSwitch?: (() => any) | undefined;
|
|
121
|
-
onError?: (() => any) | undefined;
|
|
122
114
|
onClose?: (() => any) | undefined;
|
|
115
|
+
onError?: (() => any) | undefined;
|
|
123
116
|
onLoad?: (() => any) | undefined;
|
|
124
117
|
}>, {
|
|
125
118
|
view: () => void;
|
|
126
119
|
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
127
120
|
show: () => any;
|
|
128
121
|
switch: () => any;
|
|
129
|
-
error: () => any;
|
|
130
122
|
close: () => any;
|
|
123
|
+
error: () => any;
|
|
131
124
|
load: () => any;
|
|
132
125
|
}, import("vue").PublicProps, {
|
|
133
126
|
infinite: boolean;
|
|
@@ -251,14 +244,7 @@ declare const _ImageCard: {
|
|
|
251
244
|
} & {
|
|
252
245
|
readonly default: 7;
|
|
253
246
|
};
|
|
254
|
-
showProgress:
|
|
255
|
-
readonly type: import("vue").PropType<boolean>;
|
|
256
|
-
readonly required: false;
|
|
257
|
-
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
258
|
-
__epPropKey: true;
|
|
259
|
-
} & {
|
|
260
|
-
readonly default: false;
|
|
261
|
-
};
|
|
247
|
+
showProgress: BooleanConstructor;
|
|
262
248
|
crossorigin: {
|
|
263
249
|
readonly type: import("vue").PropType<"" | "anonymous" | "use-credentials">;
|
|
264
250
|
readonly required: false;
|
|
@@ -268,8 +254,8 @@ declare const _ImageCard: {
|
|
|
268
254
|
}>> & Readonly<{
|
|
269
255
|
onShow?: (() => any) | undefined;
|
|
270
256
|
onSwitch?: (() => any) | undefined;
|
|
271
|
-
onError?: (() => any) | undefined;
|
|
272
257
|
onClose?: (() => any) | undefined;
|
|
258
|
+
onError?: (() => any) | undefined;
|
|
273
259
|
onLoad?: (() => any) | undefined;
|
|
274
260
|
}>, {
|
|
275
261
|
view: () => void;
|
|
@@ -392,14 +378,7 @@ declare const _ImageCard: {
|
|
|
392
378
|
} & {
|
|
393
379
|
readonly default: 7;
|
|
394
380
|
};
|
|
395
|
-
showProgress:
|
|
396
|
-
readonly type: import("vue").PropType<boolean>;
|
|
397
|
-
readonly required: false;
|
|
398
|
-
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
399
|
-
__epPropKey: true;
|
|
400
|
-
} & {
|
|
401
|
-
readonly default: false;
|
|
402
|
-
};
|
|
381
|
+
showProgress: BooleanConstructor;
|
|
403
382
|
crossorigin: {
|
|
404
383
|
readonly type: import("vue").PropType<"" | "anonymous" | "use-credentials">;
|
|
405
384
|
readonly required: false;
|
|
@@ -409,16 +388,16 @@ declare const _ImageCard: {
|
|
|
409
388
|
}>> & Readonly<{
|
|
410
389
|
onShow?: (() => any) | undefined;
|
|
411
390
|
onSwitch?: (() => any) | undefined;
|
|
412
|
-
onError?: (() => any) | undefined;
|
|
413
391
|
onClose?: (() => any) | undefined;
|
|
392
|
+
onError?: (() => any) | undefined;
|
|
414
393
|
onLoad?: (() => any) | undefined;
|
|
415
394
|
}>, {
|
|
416
395
|
view: () => void;
|
|
417
396
|
}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
418
397
|
show: () => any;
|
|
419
398
|
switch: () => any;
|
|
420
|
-
error: () => any;
|
|
421
399
|
close: () => any;
|
|
400
|
+
error: () => any;
|
|
422
401
|
load: () => any;
|
|
423
402
|
}, string, {
|
|
424
403
|
infinite: boolean;
|
|
@@ -67,7 +67,7 @@ var stdin_default = /* @__PURE__ */defineComponent({
|
|
|
67
67
|
if (!props.gutter) {
|
|
68
68
|
return styles;
|
|
69
69
|
}
|
|
70
|
-
styles.
|
|
70
|
+
styles.marginInlineEnd = styles.marginInlineStart = `-${props.gutter / 2}px`;
|
|
71
71
|
return styles;
|
|
72
72
|
});
|
|
73
73
|
provide(rowContextSymbol, reactive({
|
|
@@ -7,8 +7,8 @@ const getScrollViewStyle = (token) => {
|
|
|
7
7
|
position: "relative",
|
|
8
8
|
" &::before, &::after": {
|
|
9
9
|
position: "absolute",
|
|
10
|
-
|
|
11
|
-
|
|
10
|
+
insetInlineStart: 0,
|
|
11
|
+
insetInlineEnd: 0,
|
|
12
12
|
height: 40,
|
|
13
13
|
zIndex: 1,
|
|
14
14
|
content: '""',
|
|
@@ -17,11 +17,11 @@ const getScrollViewStyle = (token) => {
|
|
|
17
17
|
touchAction: "none"
|
|
18
18
|
},
|
|
19
19
|
"&::before": {
|
|
20
|
-
|
|
20
|
+
insetBlockStart: 0,
|
|
21
21
|
background: `linear-gradient(to bottom, ${token.colorBgElevated}, transparent)`
|
|
22
22
|
},
|
|
23
23
|
"&::after": {
|
|
24
|
-
|
|
24
|
+
insetBlockEnd: 0,
|
|
25
25
|
background: `linear-gradient(to top, ${token.colorBgElevated}, transparent)`
|
|
26
26
|
},
|
|
27
27
|
"&.is-top::before": {
|
|
@@ -46,9 +46,9 @@ const getScrollViewStyle = (token) => {
|
|
|
46
46
|
},
|
|
47
47
|
[`${componentCls}-track`]: {
|
|
48
48
|
position: "absolute",
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
49
|
+
insetBlockStart: 2,
|
|
50
|
+
insetInlineEnd: 2,
|
|
51
|
+
insetBlockEnd: 2,
|
|
52
52
|
width: 6,
|
|
53
53
|
touchAction: "none",
|
|
54
54
|
backgroundColor: "transparent",
|
|
@@ -61,8 +61,8 @@ const getScrollViewStyle = (token) => {
|
|
|
61
61
|
},
|
|
62
62
|
[`${componentCls}-thumb`]: {
|
|
63
63
|
position: "absolute",
|
|
64
|
-
|
|
65
|
-
|
|
64
|
+
insetBlockStart: 0,
|
|
65
|
+
insetInlineStart: 0,
|
|
66
66
|
width: "100%",
|
|
67
67
|
borderRadius: token.borderRadius,
|
|
68
68
|
backgroundColor: token.colorTextTertiary,
|