@veltra/desktop 1.0.11 → 1.0.13
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/components/action/action-group.vue.d.ts +1 -1
- package/dist/components/action/action-group.vue_vue_type_script_setup_true_lang.js +4 -4
- package/dist/components/action/action.js +1 -1
- package/dist/components/action/action.vue.d.ts +3 -3
- package/dist/components/auto-complete/auto-complete.js +4 -4
- package/dist/components/auto-complete/auto-complete.vue.d.ts +1 -1
- package/dist/components/batch-edit/batch-edit-form.js +6 -6
- package/dist/components/batch-edit/batch-edit-list.js +8 -8
- package/dist/components/batch-edit/batch-edit.js +1 -1
- package/dist/components/batch-edit/batch-edit.vue.d.ts +2 -2
- package/dist/components/button/button.vue.d.ts +1 -1
- package/dist/components/cascade/cascade-panel-item.js +4 -4
- package/dist/components/cascade/cascade.js +5 -5
- package/dist/components/cascade/cascade.vue.d.ts +6 -6
- package/dist/components/cascade/use-select.js +1 -1
- package/dist/components/checkbox/checkbox-button.vue.d.ts +1 -1
- package/dist/components/collapse/collapse-item.js +122 -0
- package/dist/components/collapse/collapse-item.js.map +1 -0
- package/dist/components/collapse/collapse-item.vue.d.ts +29 -0
- package/dist/components/collapse/collapse.js +114 -0
- package/dist/components/collapse/collapse.js.map +1 -0
- package/dist/components/collapse/collapse.vue.d.ts +29 -0
- package/dist/components/collapse/di.js +6 -0
- package/dist/components/collapse/di.js.map +1 -0
- package/dist/components/collapse/index.d.ts +2 -0
- package/dist/components/collapse/style.d.ts +1 -0
- package/dist/components/collapse/style.js +1 -0
- package/dist/components/collapse/style2.css +144 -0
- package/dist/components/context-menu/context-menu-item.js +1 -1
- package/dist/components/context-menu/context-menu.vue.d.ts +15 -0
- package/dist/components/context-menu/index.d.ts +1 -0
- package/dist/components/date-panel/date-panel.vue.d.ts +2 -2
- package/dist/components/date-picker/date-picker.js +1 -1
- package/dist/components/date-picker/date-picker.vue.d.ts +2 -2
- package/dist/components/date-range-picker/date-range-picker.js +1 -1
- package/dist/components/date-range-picker/date-range-picker.vue.d.ts +2 -2
- package/dist/components/dialog/dialog.js +6 -6
- package/dist/components/expression-editor/components/variable-picker.js +10 -10
- package/dist/components/file-picker/file-picker.vue.d.ts +1 -1
- package/dist/components/file-viewer/file-viewer.js +10 -10
- package/dist/components/form/dynamic-form-model.js +1 -1
- package/dist/components/form/form-model.js +1 -1
- package/dist/components/form/form.vue_vue_type_script_setup_true_lang.js +1 -1
- package/dist/components/form/use-node-interceptor.js +1 -1
- package/dist/components/form-item/form-item.vue_vue_type_script_setup_true_lang.js +4 -4
- package/dist/components/form-item/form-item.vue_vue_type_script_setup_true_lang.js.map +1 -1
- package/dist/components/form-item/helper.js +1 -1
- package/dist/components/index.d.ts +89 -86
- package/dist/components/index.js +202 -0
- package/dist/components/index.js.map +1 -0
- package/dist/components/input/input.vue.d.ts +3 -3
- package/dist/components/menu/menu-sub-collapsed.js +6 -6
- package/dist/components/multi-select/multi-select.js +13 -13
- package/dist/components/multi-select/multi-select.vue.d.ts +3 -3
- package/dist/components/multi-tree-select/multi-tree-select.js +13 -13
- package/dist/components/multi-tree-select/multi-tree-select.vue.d.ts +6 -6
- package/dist/components/notification/notification.vue.d.ts +1 -1
- package/dist/components/number/number.js +1 -1
- package/dist/components/number-input/number-input.js +2 -2
- package/dist/components/number-input/number-input.vue.d.ts +1 -1
- package/dist/components/number-range-input/number-range-input.js +1 -1
- package/dist/components/number-range-input/number-range-input.vue.d.ts +2 -2
- package/dist/components/paginator/paginator.js +2 -2
- package/dist/components/palette/palette-color-switch.js +1 -1
- package/dist/components/password-input/password-input.js +1 -1
- package/dist/components/password-input/password-input.vue.d.ts +1 -1
- package/dist/components/pop-confirm/pop-confirm.js +5 -5
- package/dist/components/pop-confirm/pop-confirm.vue.d.ts +1 -1
- package/dist/components/progress/progress.js +1 -1
- package/dist/components/progress-nodes/progress-nodes.js +1 -1
- package/dist/components/rich-text-editor/rich-text-editor.vue.d.ts +1 -1
- package/dist/components/scroll/scroll.js +1 -1
- package/dist/components/scroll/scroll.vue.d.ts +2 -2
- package/dist/components/select/select.js +11 -11
- package/dist/components/select/select.vue.d.ts +2 -2
- package/dist/components/steps/steps.js +1 -1
- package/dist/components/steps/steps.vue.d.ts +1 -1
- package/dist/components/table/table-body.js +1 -1
- package/dist/components/table/table-foot.js +1 -1
- package/dist/components/table/table.vue.d.ts +2 -2
- package/dist/components/table/use-columns.js +1 -1
- package/dist/components/table/use-rows.js +1 -1
- package/dist/components/table/use-table.js +1 -1
- package/dist/components/tabs/tabs-horizontal.vue.d.ts +4 -4
- package/dist/components/tabs/tabs-vertical.vue.d.ts +3 -3
- package/dist/components/tabs/tabs.vue.d.ts +4 -4
- package/dist/components/textarea/textarea.vue.d.ts +3 -3
- package/dist/components/theme/theme.js +7 -7
- package/dist/components/tip/tip.vue.d.ts +1 -1
- package/dist/components/tree/tree-node.js +3 -3
- package/dist/components/tree/tree.vue.d.ts +6 -6
- package/dist/components/tree-select/tree-select.js +5 -5
- package/dist/components/tree-select/tree-select.vue.d.ts +5 -5
- package/dist/components/watermark/watermark.js +1 -1
- package/dist/components/watermark/watermark.vue.d.ts +1 -1
- package/dist/index.d.ts +86 -82
- package/dist/index.js +85 -82
- package/dist/install.d.ts +8 -0
- package/dist/install.js +20 -0
- package/dist/install.js.map +1 -0
- package/dist/style.d.ts +1 -0
- package/dist/style.js +73 -0
- package/dist/types/calendar.d.ts +1 -1
- package/dist/types/cascade.d.ts +1 -1
- package/dist/types/collapse.d.ts +68 -0
- package/dist/types/date-panel.d.ts +1 -1
- package/dist/types/date-picker.d.ts +1 -1
- package/dist/types/date-range-picker.d.ts +1 -1
- package/dist/types/index.d.ts +2 -1
- package/dist/types/table.d.ts +1 -1
- package/dist/types/tree.d.ts +1 -1
- package/package.json +25 -11
- package/src/components/collapse/collapse-item.vue +138 -0
- package/src/components/collapse/collapse.vue +122 -0
- package/src/components/collapse/di.ts +15 -0
- package/src/components/collapse/index.ts +2 -0
- package/src/components/collapse/style.scss +186 -0
- package/src/components/collapse/style.ts +1 -0
- package/src/components/context-menu/index.ts +2 -0
- package/src/components/index.ts +73 -71
- package/src/install.ts +27 -0
- package/src/style.ts +73 -0
- package/src/types/collapse.ts +78 -0
- package/src/types/index.ts +1 -0
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import _sfc_main$1 from "../icon/icon.js";
|
|
2
|
-
import _sfc_main$2 from "../
|
|
3
|
-
import _sfc_main$3 from "../
|
|
2
|
+
import _sfc_main$2 from "../checkbox/checkbox.js";
|
|
3
|
+
import _sfc_main$3 from "../tree/tree.js";
|
|
4
|
+
import _sfc_main$4 from "../dropdown/dropdown.js";
|
|
4
5
|
import input_default from "../input/input.js";
|
|
5
|
-
import _sfc_main$
|
|
6
|
-
import _sfc_main$
|
|
7
|
-
import _sfc_main$6 from "../tree/tree.js";
|
|
6
|
+
import _sfc_main$5 from "../button/button.js";
|
|
7
|
+
import _sfc_main$6 from "../tag/tag.js";
|
|
8
8
|
import { Fragment, Transition, computed, createBlock, createCommentVNode, createElementBlock, createElementVNode, createTextVNode, createVNode, defineComponent, mergeModels, mergeProps, nextTick, normalizeClass, openBlock, renderList, shallowRef, toDisplayString, unref, useModel, useSlots, vShow, watch, withCtx, withDirectives, withModifiers } from "vue";
|
|
9
|
-
import { dfs, o } from "@cat-kit/core";
|
|
10
9
|
import { FORM_EMPTY_CONTENT, bem } from "@veltra/utils";
|
|
11
10
|
import { useFormComponent, useFormFallbackProps } from "@veltra/compositions";
|
|
11
|
+
import { dfs, o } from "@cat-kit/core";
|
|
12
12
|
import { ArrowDown, Close, Search } from "@veltra/icons/normal";
|
|
13
13
|
//#region src/components/multi-tree-select/multi-tree-select.vue
|
|
14
14
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
@@ -188,7 +188,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
188
188
|
if (!visible) qs.value = "";
|
|
189
189
|
};
|
|
190
190
|
return (_ctx, _cache) => {
|
|
191
|
-
return !unref(readonly) ? (openBlock(), createBlock(unref(_sfc_main$
|
|
191
|
+
return !unref(readonly) ? (openBlock(), createBlock(unref(_sfc_main$4), {
|
|
192
192
|
key: 0,
|
|
193
193
|
class: normalizeClass([
|
|
194
194
|
unref(cls).b,
|
|
@@ -219,7 +219,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
219
219
|
key: 0,
|
|
220
220
|
class: normalizeClass(unref(cls).e("tags"))
|
|
221
221
|
}, [(openBlock(true), createElementBlock(Fragment, null, renderList(visibleTags.value, (tag, index) => {
|
|
222
|
-
return openBlock(), createBlock(unref(_sfc_main$
|
|
222
|
+
return openBlock(), createBlock(unref(_sfc_main$6), {
|
|
223
223
|
key: tag[__props.valueKey],
|
|
224
224
|
closable: !unref(disabled),
|
|
225
225
|
onClose: ($event) => handleRemove(index)
|
|
@@ -227,7 +227,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
227
227
|
default: withCtx(() => [createTextVNode(toDisplayString(tag[__props.labelKey]), 1)]),
|
|
228
228
|
_: 2
|
|
229
229
|
}, 1032, ["closable", "onClose"]);
|
|
230
|
-
}), 128)), hiddenCount.value > 0 ? (openBlock(), createBlock(unref(_sfc_main$
|
|
230
|
+
}), 128)), hiddenCount.value > 0 ? (openBlock(), createBlock(unref(_sfc_main$6), { key: 0 }, {
|
|
231
231
|
default: withCtx(() => [createTextVNode("+" + toDisplayString(hiddenCount.value), 1)]),
|
|
232
232
|
_: 1
|
|
233
233
|
})) : createCommentVNode("v-if", true)], 2)) : createCommentVNode("v-if", true),
|
|
@@ -256,7 +256,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
256
256
|
content: withCtx(() => [
|
|
257
257
|
createElementVNode("div", { class: normalizeClass([unref(cls).e("content-header"), unref(cls).m(unref(size))]) }, [
|
|
258
258
|
createCommentVNode(" 全选 "),
|
|
259
|
-
createVNode(unref(_sfc_main$
|
|
259
|
+
createVNode(unref(_sfc_main$2), {
|
|
260
260
|
"model-value": allChecked.value,
|
|
261
261
|
indeterminate: indeterminate.value,
|
|
262
262
|
"onUpdate:modelValue": handleCheckAll
|
|
@@ -264,7 +264,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
264
264
|
default: withCtx(() => [..._cache[4] || (_cache[4] = [createTextVNode(" 全选 ", -1)])]),
|
|
265
265
|
_: 1
|
|
266
266
|
}, 8, ["model-value", "indeterminate"]),
|
|
267
|
-
createVNode(unref(_sfc_main$
|
|
267
|
+
createVNode(unref(_sfc_main$5), {
|
|
268
268
|
size: "small",
|
|
269
269
|
text: "",
|
|
270
270
|
type: "primary",
|
|
@@ -290,7 +290,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
290
290
|
_: 1
|
|
291
291
|
}, 8, ["modelValue"])], 2)) : createCommentVNode("v-if", true),
|
|
292
292
|
createCommentVNode(" 菜单列表 "),
|
|
293
|
-
createVNode(unref(_sfc_main$
|
|
293
|
+
createVNode(unref(_sfc_main$3), mergeProps(treeProps.value, {
|
|
294
294
|
checked: model.value,
|
|
295
295
|
"onUpdate:checked": [_cache[1] || (_cache[1] = ($event) => model.value = $event), handleCheck],
|
|
296
296
|
ref_key: "treeRef",
|
|
@@ -318,7 +318,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
318
318
|
key: 1,
|
|
319
319
|
class: normalizeClass([unref(cls).m(unref(size)), unref(cls).e("readonly-tags")])
|
|
320
320
|
}, [createElementVNode("div", { class: normalizeClass(unref(cls).e("tags")) }, [(openBlock(true), createElementBlock(Fragment, null, renderList(tags.value, (option) => {
|
|
321
|
-
return openBlock(), createBlock(unref(_sfc_main$
|
|
321
|
+
return openBlock(), createBlock(unref(_sfc_main$6), { key: option[__props.valueKey] }, {
|
|
322
322
|
default: withCtx(() => [createTextVNode(toDisplayString(option[__props.labelKey]), 1)]),
|
|
323
323
|
_: 2
|
|
324
324
|
}, 1024);
|
|
@@ -14,24 +14,24 @@ type __VLS_PublicProps = __VLS_Props & __VLS_ModelProps;
|
|
|
14
14
|
declare const __VLS_base: _$vue.DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, _$vue.ComponentOptionsMixin, _$vue.ComponentOptionsMixin, {
|
|
15
15
|
"update:modelValue": (value: (string | number)[]) => any;
|
|
16
16
|
} & {
|
|
17
|
-
clear: () => any;
|
|
18
17
|
"update:modelValue": (value: any[]) => any;
|
|
18
|
+
clear: () => any;
|
|
19
19
|
change: (checked: Record<string, any>[]) => any;
|
|
20
20
|
}, string, _$vue.PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
21
|
-
onClear?: (() => any) | undefined;
|
|
22
21
|
"onUpdate:modelValue"?: ((value: any[]) => any) | undefined;
|
|
22
|
+
onClear?: (() => any) | undefined;
|
|
23
23
|
onChange?: ((checked: Record<string, any>[]) => any) | undefined;
|
|
24
24
|
}>, {
|
|
25
25
|
disabled: boolean;
|
|
26
|
-
placeholder: string;
|
|
27
|
-
clearable: boolean;
|
|
28
26
|
readonly: boolean;
|
|
27
|
+
minWidth: string;
|
|
28
|
+
expandAll: boolean;
|
|
29
29
|
labelKey: string;
|
|
30
30
|
valueKey: string;
|
|
31
|
+
placeholder: string;
|
|
32
|
+
clearable: boolean;
|
|
31
33
|
filterable: boolean;
|
|
32
34
|
visibilityLimit: number;
|
|
33
|
-
minWidth: string;
|
|
34
|
-
expandAll: boolean;
|
|
35
35
|
}, {}, {}, {}, string, _$vue.ComponentProvideOptions, false, {}, any>;
|
|
36
36
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
37
37
|
declare const _default: typeof __VLS_export;
|
|
@@ -5,10 +5,10 @@ import * as _$_veltra_utils0 from "@veltra/utils";
|
|
|
5
5
|
//#region src/components/notification/notification.vue.d.ts
|
|
6
6
|
declare const __VLS_export: _$vue.DefineComponent<NotificationProps, _$_veltra_utils0.DeconstructValue<_NotificationExposed>, {}, {}, {}, _$vue.ComponentOptionsMixin, _$vue.ComponentOptionsMixin, {}, string, _$vue.PublicProps, Readonly<NotificationProps> & Readonly<{}>, {
|
|
7
7
|
closable: boolean;
|
|
8
|
+
position: "top-left" | "top-right" | "bottom-left" | "bottom-right";
|
|
8
9
|
duration: number;
|
|
9
10
|
offset: number;
|
|
10
11
|
buttonText: string;
|
|
11
|
-
position: "top-left" | "top-right" | "bottom-left" | "bottom-right";
|
|
12
12
|
}, {}, {}, {}, string, _$vue.ComponentProvideOptions, false, {}, any>;
|
|
13
13
|
declare const _default: typeof __VLS_export;
|
|
14
14
|
//#endregion
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { computed, defineComponent, reactive, toDisplayString, watch } from "vue";
|
|
2
|
-
import { $n } from "@cat-kit/core";
|
|
3
2
|
import { Tween } from "@veltra/utils";
|
|
3
|
+
import { $n } from "@cat-kit/core";
|
|
4
4
|
//#region src/components/number/number.vue
|
|
5
5
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
6
6
|
name: "Number",
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import _sfc_main$1 from "../icon/icon.js";
|
|
2
2
|
import input_default from "../input/input.js";
|
|
3
3
|
import { Fragment, computed, createBlock, createElementBlock, createElementVNode, createSlots, createTextVNode, createVNode, defineComponent, mergeModels, mergeProps, normalizeClass, openBlock, renderSlot, shallowRef, toDisplayString, unref, useModel, useSlots, watch, withCtx, withDirectives, withModifiers } from "vue";
|
|
4
|
-
import { $n, isUndef, n, o } from "@cat-kit/core";
|
|
5
4
|
import { FORM_EMPTY_CONTENT, Tween, bem } from "@veltra/utils";
|
|
6
5
|
import { useFormComponent, useFormFallbackProps } from "@veltra/compositions";
|
|
7
|
-
import {
|
|
6
|
+
import { $n, isUndef, n, o } from "@cat-kit/core";
|
|
8
7
|
import { ArrowDown, ArrowUp } from "@veltra/icons/normal";
|
|
8
|
+
import { vRipple } from "@veltra/directives";
|
|
9
9
|
//#region src/components/number-input/number-input.vue
|
|
10
10
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
11
11
|
name: "NumberInput",
|
|
@@ -21,9 +21,9 @@ declare const __VLS_base: _$vue.DefineComponent<__VLS_PublicProps, {}, {}, {}, {
|
|
|
21
21
|
onChange?: ((value?: number | undefined) => any) | undefined;
|
|
22
22
|
}>, {
|
|
23
23
|
disabled: boolean;
|
|
24
|
+
readonly: boolean;
|
|
24
25
|
placeholder: string;
|
|
25
26
|
clearable: boolean;
|
|
26
|
-
readonly: boolean;
|
|
27
27
|
}, {}, {}, {}, string, _$vue.ComponentProvideOptions, false, {}, any>;
|
|
28
28
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
29
29
|
declare const _default: typeof __VLS_export;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import _sfc_main$1 from "../number-input/number-input.js";
|
|
2
2
|
import { Fragment, computed, createElementBlock, createElementVNode, createTextVNode, createVNode, defineComponent, getCurrentInstance, mergeModels, mergeProps, nextTick, normalizeClass, onMounted, openBlock, toDisplayString, unref, useModel, watch } from "vue";
|
|
3
|
-
import { $n, n, o } from "@cat-kit/core";
|
|
4
3
|
import { FORM_EMPTY_CONTENT, bem } from "@veltra/utils";
|
|
5
4
|
import { useFormComponent, useFormFallbackProps } from "@veltra/compositions";
|
|
5
|
+
import { $n, n, o } from "@cat-kit/core";
|
|
6
6
|
//#region src/components/number-range-input/number-range-input.vue
|
|
7
7
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
8
8
|
name: "NumberRangeInput",
|
|
@@ -25,11 +25,11 @@ declare const __VLS_export: _$vue.DefineComponent<__VLS_PublicProps, {}, {}, {},
|
|
|
25
25
|
"onUpdate:end"?: ((value: number | undefined) => any) | undefined;
|
|
26
26
|
}>, {
|
|
27
27
|
disabled: boolean;
|
|
28
|
-
clearable: boolean;
|
|
29
28
|
readonly: boolean;
|
|
30
|
-
|
|
29
|
+
clearable: boolean;
|
|
31
30
|
startPlaceholder: string;
|
|
32
31
|
endPlaceholder: string;
|
|
32
|
+
separator: string;
|
|
33
33
|
}, {}, {}, {}, string, _$vue.ComponentProvideOptions, false, {}, any>;
|
|
34
34
|
declare const _default: typeof __VLS_export;
|
|
35
35
|
//#endregion
|
|
@@ -2,11 +2,11 @@ import _sfc_main$1 from "../icon/icon.js";
|
|
|
2
2
|
import _sfc_main$2 from "../number-input/number-input.js";
|
|
3
3
|
import _sfc_main$3 from "../select/select.js";
|
|
4
4
|
import { Fragment, computed, createBlock, createCommentVNode, createElementBlock, createElementVNode, createTextVNode, createVNode, defineComponent, mergeModels, normalizeClass, openBlock, reactive, renderList, shallowRef, toDisplayString, unref, useModel, withCtx, withDirectives, withKeys } from "vue";
|
|
5
|
-
import { n } from "@cat-kit/core";
|
|
6
5
|
import { bem } from "@veltra/utils";
|
|
7
6
|
import { useConfig, useFallbackProps } from "@veltra/compositions";
|
|
8
|
-
import {
|
|
7
|
+
import { n } from "@cat-kit/core";
|
|
9
8
|
import { ArrowLeft, ArrowRight, DArrowLeft, DArrowRight } from "@veltra/icons/normal";
|
|
9
|
+
import { vRipple } from "@veltra/directives";
|
|
10
10
|
//#region src/components/paginator/paginator.vue
|
|
11
11
|
const _hoisted_1 = { key: 0 };
|
|
12
12
|
const _hoisted_2 = ["onClick"];
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import _sfc_main$1 from "../button/button.js";
|
|
2
1
|
import input_default from "../input/input.js";
|
|
2
|
+
import _sfc_main$1 from "../button/button.js";
|
|
3
3
|
import { PaletteDIKey } from "./di.js";
|
|
4
4
|
import { createElementBlock, createElementVNode, createTextVNode, createVNode, defineComponent, inject, normalizeClass, openBlock, unref, withCtx } from "vue";
|
|
5
5
|
//#region src/components/palette/palette-color-switch.vue
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import _sfc_main$1 from "../icon/icon.js";
|
|
2
2
|
import input_default from "../input/input.js";
|
|
3
3
|
import { Transition, computed, createBlock, createSlots, createVNode, defineComponent, mergeModels, mergeProps, nextTick, normalizeClass, openBlock, renderSlot, shallowRef, unref, useModel, useSlots, withCtx } from "vue";
|
|
4
|
-
import { o } from "@cat-kit/core";
|
|
5
4
|
import { bem } from "@veltra/utils";
|
|
6
5
|
import { useFormComponent, useFormFallbackProps } from "@veltra/compositions";
|
|
6
|
+
import { o } from "@cat-kit/core";
|
|
7
7
|
import { Hide, View } from "@veltra/icons/normal";
|
|
8
8
|
//#region src/components/password-input/password-input.vue
|
|
9
9
|
const passwordChar = "●";
|
|
@@ -16,8 +16,8 @@ declare const __VLS_base: _$vue.DefineComponent<__VLS_PublicProps, {}, {}, {}, {
|
|
|
16
16
|
"onUpdate:modelValue"?: ((value: string | undefined) => any) | undefined;
|
|
17
17
|
}>, {
|
|
18
18
|
disabled: boolean;
|
|
19
|
-
clearable: boolean;
|
|
20
19
|
readonly: boolean;
|
|
20
|
+
clearable: boolean;
|
|
21
21
|
}, {}, {}, {}, string, _$vue.ComponentProvideOptions, false, {}, any>;
|
|
22
22
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
23
23
|
declare const _default: typeof __VLS_export;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import _sfc_main$1 from "../icon/icon.js";
|
|
2
|
-
import _sfc_main$2 from "../
|
|
3
|
-
import _sfc_main$3 from "../
|
|
2
|
+
import _sfc_main$2 from "../tip/tip.js";
|
|
3
|
+
import _sfc_main$3 from "../button/button.js";
|
|
4
4
|
import { createBlock, createElementVNode, createTextVNode, createVNode, defineComponent, normalizeClass, normalizeStyle, openBlock, ref, renderSlot, resolveDynamicComponent, toDisplayString, unref, withCtx } from "vue";
|
|
5
5
|
import { bem } from "@veltra/utils";
|
|
6
6
|
import { useFormComponent, useFormFallbackProps } from "@veltra/compositions";
|
|
@@ -36,7 +36,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
36
36
|
visible.value = false;
|
|
37
37
|
};
|
|
38
38
|
return (_ctx, _cache) => {
|
|
39
|
-
return openBlock(), createBlock(unref(_sfc_main$
|
|
39
|
+
return openBlock(), createBlock(unref(_sfc_main$2), {
|
|
40
40
|
class: normalizeClass(unref(cls).b),
|
|
41
41
|
trigger: __props.trigger,
|
|
42
42
|
direction: __props.direction,
|
|
@@ -53,7 +53,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
53
53
|
default: withCtx(() => [(openBlock(), createBlock(resolveDynamicComponent(__props.icon)))]),
|
|
54
54
|
_: 1
|
|
55
55
|
}, 8, ["class", "style"]), createElementVNode("span", null, toDisplayString(__props.title), 1)], 2), createElementVNode("div", { class: normalizeClass(unref(cls).m("action")) }, [
|
|
56
|
-
createVNode(unref(_sfc_main$
|
|
56
|
+
createVNode(unref(_sfc_main$3), {
|
|
57
57
|
size: "small",
|
|
58
58
|
onClick: cancel,
|
|
59
59
|
type: "primary",
|
|
@@ -63,7 +63,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
63
63
|
_: 1
|
|
64
64
|
}),
|
|
65
65
|
_cache[1] || (_cache[1] = createTextVNode(" \xA0 ", -1)),
|
|
66
|
-
createVNode(unref(_sfc_main$
|
|
66
|
+
createVNode(unref(_sfc_main$3), {
|
|
67
67
|
size: "small",
|
|
68
68
|
type: "primary",
|
|
69
69
|
onClick: confirm
|
|
@@ -14,9 +14,9 @@ declare const __VLS_base: _$vue.DefineComponent<PopConfirmProps, {}, {}, {}, {},
|
|
|
14
14
|
onConfirm?: (() => any) | undefined;
|
|
15
15
|
onCancel?: (() => any) | undefined;
|
|
16
16
|
}>, {
|
|
17
|
-
icon: _$vue.Component;
|
|
18
17
|
direction: TipDirection;
|
|
19
18
|
trigger: "hover" | "click";
|
|
19
|
+
icon: _$vue.Component;
|
|
20
20
|
iconColor: string;
|
|
21
21
|
confirmText: string;
|
|
22
22
|
cancelText: string;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Fragment, computed, createCommentVNode, createElementBlock, createElementVNode, createTextVNode, defineComponent, guardReactiveProps, normalizeClass, normalizeProps, normalizeStyle, openBlock, renderSlot, toDisplayString, unref } from "vue";
|
|
2
|
-
import { n } from "@cat-kit/core";
|
|
3
2
|
import { bem, withUnit } from "@veltra/utils";
|
|
3
|
+
import { n } from "@cat-kit/core";
|
|
4
4
|
//#region src/components/progress/progress.vue
|
|
5
5
|
const _hoisted_1 = { viewBox: "0 0 100 100" };
|
|
6
6
|
const _hoisted_2 = [
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Fragment, computed, createCommentVNode, createElementBlock, createElementVNode, createTextVNode, defineComponent, nextTick, normalizeClass, normalizeStyle, openBlock, renderList, renderSlot, shallowRef, toDisplayString, toRefs, unref, useTemplateRef, watch } from "vue";
|
|
2
|
-
import { o } from "@cat-kit/core";
|
|
3
2
|
import { bem } from "@veltra/utils";
|
|
4
3
|
import { useDrag, useResizeObserver } from "@veltra/compositions";
|
|
4
|
+
import { o } from "@cat-kit/core";
|
|
5
5
|
//#region src/components/progress-nodes/progress-nodes.vue
|
|
6
6
|
const _hoisted_1 = ["onClick"];
|
|
7
7
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
@@ -13,8 +13,8 @@ declare const __VLS_export: _$vue.DefineComponent<RichTextEditorProps & {
|
|
|
13
13
|
"onUpdate:modelValue"?: ((value: string | undefined) => any) | undefined;
|
|
14
14
|
}>, {
|
|
15
15
|
disabled: boolean;
|
|
16
|
-
placeholder: string;
|
|
17
16
|
readonly: boolean;
|
|
17
|
+
placeholder: string;
|
|
18
18
|
format: RichTextFormat;
|
|
19
19
|
toolbar: ToolbarItem[];
|
|
20
20
|
}, {}, {}, {}, string, _$vue.ComponentProvideOptions, false, {}, any>;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { ScrollDIKey } from "./di.js";
|
|
2
2
|
import _sfc_main$1 from "./scroll-bar.js";
|
|
3
3
|
import { computed, createBlock, createElementBlock, createElementVNode, createVNode, defineComponent, normalizeClass, normalizeStyle, openBlock, provide, renderSlot, resolveDynamicComponent, shallowRef, unref, withCtx } from "vue";
|
|
4
|
-
import { debounce } from "@cat-kit/core";
|
|
5
4
|
import { bem, withUnit } from "@veltra/utils";
|
|
6
5
|
import { useResizeObserver } from "@veltra/compositions";
|
|
6
|
+
import { debounce } from "@cat-kit/core";
|
|
7
7
|
//#region src/components/scroll/scroll.vue
|
|
8
8
|
const minSize = 20;
|
|
9
9
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
@@ -7,11 +7,11 @@ type __VLS_Slots = {
|
|
|
7
7
|
content(): any;
|
|
8
8
|
};
|
|
9
9
|
declare const __VLS_base: _$vue.DefineComponent<ScrollProps, _ScrollExposed, {}, {}, {}, _$vue.ComponentOptionsMixin, _$vue.ComponentOptionsMixin, {} & {
|
|
10
|
-
resize: (targets: HTMLElement[]) => any;
|
|
11
10
|
scroll: (position: Required<ScrollPosition>) => any;
|
|
11
|
+
resize: (targets: HTMLElement[]) => any;
|
|
12
12
|
}, string, _$vue.PublicProps, Readonly<ScrollProps> & Readonly<{
|
|
13
|
-
onResize?: ((targets: HTMLElement[]) => any) | undefined;
|
|
14
13
|
onScroll?: ((position: Required<ScrollPosition>) => any) | undefined;
|
|
14
|
+
onResize?: ((targets: HTMLElement[]) => any) | undefined;
|
|
15
15
|
}>, {
|
|
16
16
|
tag: string;
|
|
17
17
|
}, {}, {}, {}, string, _$vue.ComponentProvideOptions, false, {}, any>;
|
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
import _sfc_main$1 from "../
|
|
2
|
-
import _sfc_main$2 from "../
|
|
1
|
+
import _sfc_main$1 from "../scroll/scroll.js";
|
|
2
|
+
import _sfc_main$2 from "../icon/icon.js";
|
|
3
|
+
import _sfc_main$3 from "../empty/empty.js";
|
|
4
|
+
import _sfc_main$4 from "../dropdown/dropdown.js";
|
|
3
5
|
import input_default from "../input/input.js";
|
|
4
|
-
import _sfc_main$3 from "../scroll/scroll.js";
|
|
5
|
-
import _sfc_main$4 from "../empty/empty.js";
|
|
6
6
|
import { useOptions } from "./use-options.js";
|
|
7
7
|
import { useKeyboard } from "./use-keyboard.js";
|
|
8
8
|
import { Fragment, computed, createBlock, createCommentVNode, createElementBlock, createSlots, createTextVNode, createVNode, defineComponent, isRef, mergeModels, mergeProps, nextTick, normalizeClass, normalizeStyle, openBlock, renderList, renderSlot, shallowRef, toDisplayString, unref, useModel, watch, withCtx, withDirectives } from "vue";
|
|
9
|
-
import { o } from "@cat-kit/core";
|
|
10
9
|
import { FORM_EMPTY_CONTENT, bem, scrollIntoContainerView, withUnit } from "@veltra/utils";
|
|
11
10
|
import { useFormComponent, useFormFallbackProps, useVirtualizer } from "@veltra/compositions";
|
|
12
|
-
import {
|
|
11
|
+
import { o } from "@cat-kit/core";
|
|
13
12
|
import { ArrowDown, Search } from "@veltra/icons/normal";
|
|
13
|
+
import { vFocus } from "@veltra/directives";
|
|
14
14
|
//#region src/components/select/select.vue
|
|
15
15
|
const _hoisted_1 = ["onClick", "data-index"];
|
|
16
16
|
const _hoisted_2 = [
|
|
@@ -178,7 +178,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
178
178
|
getCurrentEl
|
|
179
179
|
});
|
|
180
180
|
return (_ctx, _cache) => {
|
|
181
|
-
return !unref(readonly) ? (openBlock(), createBlock(unref(_sfc_main$
|
|
181
|
+
return !unref(readonly) ? (openBlock(), createBlock(unref(_sfc_main$4), {
|
|
182
182
|
key: 0,
|
|
183
183
|
trigger: "click",
|
|
184
184
|
class: normalizeClass([unref(cls).b, unref(bem).is("disabled", unref(disabled))]),
|
|
@@ -207,7 +207,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
207
207
|
onKeydown: unref(handleKeydown),
|
|
208
208
|
"native-readonly": ""
|
|
209
209
|
}, createSlots({
|
|
210
|
-
suffix: withCtx(() => [createVNode(unref(_sfc_main$
|
|
210
|
+
suffix: withCtx(() => [createVNode(unref(_sfc_main$2), { class: normalizeClass(unref(cls).e("arrow")) }, {
|
|
211
211
|
default: withCtx(() => [createVNode(unref(ArrowDown))]),
|
|
212
212
|
_: 1
|
|
213
213
|
}, 8, ["class"])]),
|
|
@@ -235,14 +235,14 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
235
235
|
modelValue: unref(queryString),
|
|
236
236
|
"onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => isRef(queryString) ? queryString.value = $event : null)
|
|
237
237
|
}, {
|
|
238
|
-
suffix: withCtx(() => [createVNode(unref(_sfc_main$
|
|
238
|
+
suffix: withCtx(() => [createVNode(unref(_sfc_main$2), null, {
|
|
239
239
|
default: withCtx(() => [createVNode(unref(Search))]),
|
|
240
240
|
_: 1
|
|
241
241
|
})]),
|
|
242
242
|
_: 1
|
|
243
243
|
}, 8, ["modelValue"])), [[unref(vFocus)]])], 2)) : createCommentVNode("v-if", true),
|
|
244
244
|
createCommentVNode("\n 单选列表。虚拟化启用时,内容容器 height 由 useVirtualizer 命令式写入;\n 此处 content-style 仅承担 grid 相关样式,避免 height 变化触发模板重渲染。\n "),
|
|
245
|
-
unref(options).length ? (openBlock(), createBlock(unref(_sfc_main$
|
|
245
|
+
unref(options).length ? (openBlock(), createBlock(unref(_sfc_main$1), {
|
|
246
246
|
key: 1,
|
|
247
247
|
tag: "ul",
|
|
248
248
|
class: normalizeClass(unref(cls).e("options")),
|
|
@@ -291,7 +291,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
291
291
|
])) : (openBlock(), createElementBlock("div", {
|
|
292
292
|
key: 2,
|
|
293
293
|
class: normalizeClass(unref(cls).e("empty"))
|
|
294
|
-
}, [createVNode(unref(_sfc_main$
|
|
294
|
+
}, [createVNode(unref(_sfc_main$3))], 2))
|
|
295
295
|
]),
|
|
296
296
|
_: 3
|
|
297
297
|
}, 8, [
|
|
@@ -27,11 +27,11 @@ declare const __VLS_base: _$vue.DefineComponent<__VLS_PublicProps, {}, {}, {}, {
|
|
|
27
27
|
"onUpdate:label"?: ((label?: string | undefined) => any) | undefined;
|
|
28
28
|
}>, {
|
|
29
29
|
disabled: boolean;
|
|
30
|
-
placeholder: string;
|
|
31
|
-
clearable: boolean;
|
|
32
30
|
readonly: boolean;
|
|
33
31
|
labelKey: string;
|
|
34
32
|
valueKey: string;
|
|
33
|
+
placeholder: string;
|
|
34
|
+
clearable: boolean;
|
|
35
35
|
}, {}, {}, {}, string, _$vue.ComponentProvideOptions, false, {}, any>;
|
|
36
36
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
37
37
|
declare const _default: typeof __VLS_export;
|
|
@@ -2,9 +2,9 @@ import _sfc_main$1 from "../icon/icon.js";
|
|
|
2
2
|
import NodeRender from "../node-render/node-render.js";
|
|
3
3
|
import _sfc_main$2 from "../tip/tip.js";
|
|
4
4
|
import { Fragment, computed, createBlock, createCommentVNode, createElementBlock, createElementVNode, createTextVNode, createVNode, defineComponent, normalizeClass, openBlock, renderList, renderSlot, shallowRef, toDisplayString, unref, useSlots, useTemplateRef, watch, withCtx } from "vue";
|
|
5
|
-
import { n, o } from "@cat-kit/core";
|
|
6
5
|
import { bem } from "@veltra/utils";
|
|
7
6
|
import { useFallbackProps } from "@veltra/compositions";
|
|
7
|
+
import { n, o } from "@cat-kit/core";
|
|
8
8
|
import { Check } from "@veltra/icons/normal";
|
|
9
9
|
//#region src/components/steps/steps.vue
|
|
10
10
|
const _hoisted_1 = ["onClick"];
|
|
@@ -15,8 +15,8 @@ declare const __VLS_base: _$vue.DefineComponent<StepsProps, {}, {}, {}, {}, _$vu
|
|
|
15
15
|
"onUpdate:current"?: ((value?: string | number | undefined) => any) | undefined;
|
|
16
16
|
"onItem-click"?: ((item: Record<string, any>, index: number) => any) | undefined;
|
|
17
17
|
}>, {
|
|
18
|
-
labelKey: string;
|
|
19
18
|
direction: "horizontal" | "vertical";
|
|
19
|
+
labelKey: string;
|
|
20
20
|
finishedStepType: _$_veltra_utils0.ColorType;
|
|
21
21
|
}, {}, {}, {}, string, _$vue.ComponentProvideOptions, false, {}, any>;
|
|
22
22
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { TableDIKey } from "./di.js";
|
|
2
1
|
import _sfc_main$1 from "../empty/empty.js";
|
|
2
|
+
import { TableDIKey } from "./di.js";
|
|
3
3
|
import { UExpandTableRow, UTableRow } from "./table-row.js";
|
|
4
4
|
import { Fragment, computed, createBlock, createCommentVNode, createElementBlock, createElementVNode, createVNode, defineComponent, inject, normalizeClass, openBlock, renderList, renderSlot, unref } from "vue";
|
|
5
5
|
import { bem } from "@veltra/utils";
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import NodeRender from "../node-render/node-render.js";
|
|
2
2
|
import { TableDIKey } from "./di.js";
|
|
3
3
|
import { Fragment, computed, createCommentVNode, createElementBlock, createVNode, defineComponent, inject, normalizeClass, normalizeStyle, openBlock, renderList, renderSlot, unref } from "vue";
|
|
4
|
-
import { $n } from "@cat-kit/core";
|
|
5
4
|
import { withUnit } from "@veltra/utils";
|
|
5
|
+
import { $n } from "@cat-kit/core";
|
|
6
6
|
//#region src/components/table/table-foot.vue
|
|
7
7
|
const _hoisted_1 = { key: 0 };
|
|
8
8
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
@@ -23,16 +23,16 @@ type __VLS_Slots = {
|
|
|
23
23
|
append?: () => any;
|
|
24
24
|
};
|
|
25
25
|
declare const __VLS_base: _$vue.DefineComponent<TableProps, _TableExposed, {}, {}, {}, _$vue.ComponentOptionsMixin, _$vue.ComponentOptionsMixin, {} & {
|
|
26
|
-
"update:checked": (value: Record<string, any>[]) => any;
|
|
27
26
|
"update:selected": (value: Record<string, any> | undefined) => any;
|
|
27
|
+
"update:checked": (value: Record<string, any>[]) => any;
|
|
28
28
|
"update:rows": (rows: TableRow[]) => any;
|
|
29
29
|
"update:forest": (rows?: _$_cat_kit_core0.Forest<Record<string, unknown>, any> | undefined) => any;
|
|
30
30
|
"update:current": (row?: TableRow | undefined) => any;
|
|
31
31
|
"cell-click": (row: TableRow, column: TableColumn, ev: MouseEvent) => any;
|
|
32
32
|
"row-click": (row: TableRow, ev: MouseEvent) => any;
|
|
33
33
|
}, string, _$vue.PublicProps, Readonly<TableProps> & Readonly<{
|
|
34
|
-
"onUpdate:checked"?: ((value: Record<string, any>[]) => any) | undefined;
|
|
35
34
|
"onUpdate:selected"?: ((value: Record<string, any> | undefined) => any) | undefined;
|
|
35
|
+
"onUpdate:checked"?: ((value: Record<string, any>[]) => any) | undefined;
|
|
36
36
|
"onUpdate:rows"?: ((rows: TableRow[]) => any) | undefined;
|
|
37
37
|
"onUpdate:forest"?: ((rows?: _$_cat_kit_core0.Forest<Record<string, unknown>, any> | undefined) => any) | undefined;
|
|
38
38
|
"onUpdate:current"?: ((row?: TableRow | undefined) => any) | undefined;
|
|
@@ -2,8 +2,8 @@ import _sfc_main from "../icon/icon.js";
|
|
|
2
2
|
import _sfc_main$1 from "../button/button.js";
|
|
3
3
|
import { ColumnNode } from "./node/col.js";
|
|
4
4
|
import { computed, createVNode, shallowRef, watch } from "vue";
|
|
5
|
-
import { Forest, dfs, last } from "@cat-kit/core";
|
|
6
5
|
import "@veltra/utils";
|
|
6
|
+
import { Forest, dfs, last } from "@cat-kit/core";
|
|
7
7
|
import { ArrowRight } from "@veltra/icons/normal";
|
|
8
8
|
//#region src/components/table/use-columns.ts
|
|
9
9
|
/**
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { TableRowNode } from "./node/row.js";
|
|
2
2
|
import { shallowRef, watch } from "vue";
|
|
3
|
-
import { Forest, o } from "@cat-kit/core";
|
|
4
3
|
import { useModel as useModel$1 } from "@veltra/compositions";
|
|
4
|
+
import { Forest, o } from "@cat-kit/core";
|
|
5
5
|
//#region src/components/table/use-rows.ts
|
|
6
6
|
function useRows(options) {
|
|
7
7
|
const { props, emit, isScrolling } = options;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { useSlots, watch } from "vue";
|
|
2
|
-
import { o } from "@cat-kit/core";
|
|
3
2
|
import { bem } from "@veltra/utils";
|
|
3
|
+
import { o } from "@cat-kit/core";
|
|
4
4
|
//#region src/components/table/use-table.ts
|
|
5
5
|
function useTable(options) {
|
|
6
6
|
const { props, cls, leftFixed, rightFixed } = options;
|
|
@@ -16,17 +16,17 @@ declare const __VLS_base: _$vue.DefineComponent<__VLS_PublicProps, {}, {}, {}, {
|
|
|
16
16
|
"update:modelValue": (value: string | undefined) => any;
|
|
17
17
|
} & {
|
|
18
18
|
"update:modelValue": (value: string) => any;
|
|
19
|
-
click: (item: TabItem, index: number) => any;
|
|
20
19
|
close: (item: TabItem, index: number) => any;
|
|
20
|
+
click: (item: TabItem, index: number) => any;
|
|
21
21
|
}, string, _$vue.PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
22
22
|
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
23
|
-
onClick?: ((item: TabItem, index: number) => any) | undefined;
|
|
24
23
|
onClose?: ((item: TabItem, index: number) => any) | undefined;
|
|
24
|
+
onClick?: ((item: TabItem, index: number) => any) | undefined;
|
|
25
25
|
}>, {
|
|
26
|
-
block: boolean;
|
|
27
26
|
closable: boolean;
|
|
28
|
-
position: "top" | "bottom";
|
|
29
27
|
rounded: boolean;
|
|
28
|
+
position: "top" | "bottom";
|
|
29
|
+
block: boolean;
|
|
30
30
|
}, {}, {}, {}, string, _$vue.ComponentProvideOptions, false, {}, any>;
|
|
31
31
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
32
32
|
declare const _default: typeof __VLS_export;
|
|
@@ -15,16 +15,16 @@ declare const __VLS_base: _$vue.DefineComponent<__VLS_PublicProps, {}, {}, {}, {
|
|
|
15
15
|
"update:modelValue": (value: string | undefined) => any;
|
|
16
16
|
} & {
|
|
17
17
|
"update:modelValue": (value: string) => any;
|
|
18
|
-
click: (item: TabItem, index: number) => any;
|
|
19
18
|
close: (item: TabItem, index: number) => any;
|
|
19
|
+
click: (item: TabItem, index: number) => any;
|
|
20
20
|
}, string, _$vue.PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
21
21
|
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
22
|
-
onClick?: ((item: TabItem, index: number) => any) | undefined;
|
|
23
22
|
onClose?: ((item: TabItem, index: number) => any) | undefined;
|
|
23
|
+
onClick?: ((item: TabItem, index: number) => any) | undefined;
|
|
24
24
|
}>, {
|
|
25
25
|
closable: boolean;
|
|
26
|
-
position: "left" | "right";
|
|
27
26
|
rounded: boolean;
|
|
27
|
+
position: "left" | "right";
|
|
28
28
|
}, {}, {}, {}, string, _$vue.ComponentProvideOptions, false, {}, any>;
|
|
29
29
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
30
30
|
declare const _default: typeof __VLS_export;
|
|
@@ -11,17 +11,17 @@ declare const __VLS_export: _$vue.DefineComponent<__VLS_PublicProps, {}, {}, {},
|
|
|
11
11
|
"update:modelValue": (value: string | undefined) => any;
|
|
12
12
|
} & {
|
|
13
13
|
"update:modelValue": (value: string) => any;
|
|
14
|
-
click: (item: TabItem, index: number) => any;
|
|
15
14
|
close: (item: TabItem, index: number) => any;
|
|
15
|
+
click: (item: TabItem, index: number) => any;
|
|
16
16
|
}, string, _$vue.PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
17
17
|
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
18
|
-
onClick?: ((item: TabItem, index: number) => any) | undefined;
|
|
19
18
|
onClose?: ((item: TabItem, index: number) => any) | undefined;
|
|
19
|
+
onClick?: ((item: TabItem, index: number) => any) | undefined;
|
|
20
20
|
}>, {
|
|
21
|
-
block: boolean;
|
|
22
21
|
closable: boolean;
|
|
23
|
-
position: "left" | "right" | "top" | "bottom";
|
|
24
22
|
rounded: boolean;
|
|
23
|
+
position: "left" | "right" | "top" | "bottom";
|
|
24
|
+
block: boolean;
|
|
25
25
|
keepAlive: boolean;
|
|
26
26
|
}, {}, {}, {}, string, _$vue.ComponentProvideOptions, false, {}, any>;
|
|
27
27
|
declare const _default: typeof __VLS_export;
|
|
@@ -10,22 +10,22 @@ type __VLS_PublicProps = __VLS_Props & __VLS_ModelProps;
|
|
|
10
10
|
declare const __VLS_export: _$vue.DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, _$vue.ComponentOptionsMixin, _$vue.ComponentOptionsMixin, {
|
|
11
11
|
"update:modelValue": (value: string | undefined) => any;
|
|
12
12
|
} & {
|
|
13
|
-
clear: () => any;
|
|
14
13
|
"update:modelValue": (value: string) => any;
|
|
14
|
+
clear: () => any;
|
|
15
15
|
change: (value: string) => any;
|
|
16
16
|
focus: () => any;
|
|
17
17
|
blur: () => any;
|
|
18
18
|
}, string, _$vue.PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
19
|
-
onClear?: (() => any) | undefined;
|
|
20
19
|
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
20
|
+
onClear?: (() => any) | undefined;
|
|
21
21
|
onChange?: ((value: string) => any) | undefined;
|
|
22
22
|
onFocus?: (() => any) | undefined;
|
|
23
23
|
onBlur?: (() => any) | undefined;
|
|
24
24
|
}>, {
|
|
25
25
|
disabled: boolean;
|
|
26
|
+
readonly: boolean;
|
|
26
27
|
placeholder: string;
|
|
27
28
|
clearable: boolean;
|
|
28
|
-
readonly: boolean;
|
|
29
29
|
resize: boolean;
|
|
30
30
|
autosize: boolean;
|
|
31
31
|
}, {}, {}, {}, string, _$vue.ComponentProvideOptions, false, {}, any>;
|