@veltra/desktop 1.0.6 → 1.0.7
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.vue.d.ts +1 -1
- package/dist/components/auto-complete/auto-complete.vue.d.ts +2 -2
- package/dist/components/breadcrumb/breadcrumb.js +106 -0
- package/dist/components/breadcrumb/breadcrumb.js.map +1 -0
- package/dist/components/breadcrumb/breadcrumb.vue.d.ts +25 -0
- package/dist/components/breadcrumb/index.d.ts +1 -0
- package/dist/components/breadcrumb/style.d.ts +1 -0
- package/dist/components/breadcrumb/style.js +1 -0
- package/dist/components/breadcrumb/style2.css +97 -0
- package/dist/components/cascade/cascade.vue.d.ts +6 -6
- package/dist/components/checkbox/checkbox-button.vue.d.ts +2 -2
- package/dist/components/checkbox/checkbox.vue.d.ts +1 -1
- package/dist/components/checkbox-group/checkbox-group.vue.d.ts +2 -2
- package/dist/components/code-editor/code-editor.vue.d.ts +1 -1
- package/dist/components/date-panel/date-panel.vue.d.ts +1 -1
- package/dist/components/date-picker/date-picker.vue.d.ts +2 -2
- package/dist/components/date-range-picker/date-range-picker.vue.d.ts +2 -2
- package/dist/components/index.d.ts +75 -74
- package/dist/components/input/input.vue.d.ts +4 -4
- package/dist/components/multi-select/multi-select.vue.d.ts +4 -4
- 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-input/number-input.vue.d.ts +2 -2
- package/dist/components/number-range-input/number-range-input.vue.d.ts +2 -2
- package/dist/components/palette/palette.vue.d.ts +1 -1
- package/dist/components/password-input/password-input.vue.d.ts +2 -2
- package/dist/components/progress/progress.vue.d.ts +1 -1
- package/dist/components/progress-nodes/progress-nodes.vue.d.ts +1 -1
- package/dist/components/radio-group/radio-group.vue.d.ts +2 -2
- package/dist/components/rich-text-editor/rich-text-editor.vue.d.ts +2 -2
- package/dist/components/select/select.vue.d.ts +4 -4
- package/dist/components/switch/switch.vue.d.ts +1 -1
- package/dist/components/tabs/tabs.vue.d.ts +4 -4
- package/dist/components/textarea/textarea.vue.d.ts +4 -4
- package/dist/components/tree/tree.vue.d.ts +1 -1
- package/dist/components/tree-select/tree-select.vue.d.ts +5 -5
- package/dist/index.d.ts +78 -76
- package/dist/index.js +73 -72
- package/dist/types/breadcrumb.d.ts +43 -0
- package/dist/types/index.d.ts +3 -2
- package/package.json +11 -11
- package/src/components/breadcrumb/breadcrumb.vue +113 -0
- package/src/components/breadcrumb/index.ts +1 -0
- package/src/components/breadcrumb/style.scss +84 -0
- package/src/components/breadcrumb/style.ts +1 -0
- package/src/components/index.ts +2 -0
- package/src/types/breadcrumb.ts +44 -0
- package/src/types/index.ts +1 -0
|
@@ -7,9 +7,9 @@ type __VLS_Slots = {
|
|
|
7
7
|
default?: () => VNode[];
|
|
8
8
|
};
|
|
9
9
|
declare const __VLS_base: _$vue.DefineComponent<ActionGroupProps, {}, {}, {}, {}, _$vue.ComponentOptionsMixin, _$vue.ComponentOptionsMixin, {}, string, _$vue.PublicProps, Readonly<ActionGroupProps> & Readonly<{}>, {
|
|
10
|
+
max: number;
|
|
10
11
|
loading: boolean;
|
|
11
12
|
circle: boolean;
|
|
12
|
-
max: number;
|
|
13
13
|
}, {}, {}, {}, string, _$vue.ComponentProvideOptions, false, {}, any>;
|
|
14
14
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
15
15
|
declare const _default: typeof __VLS_export;
|
|
@@ -15,10 +15,10 @@ declare const __VLS_base: _$vue.DefineComponent<ActionProps, {}, {}, {}, {}, _$v
|
|
|
15
15
|
}, string, _$vue.PublicProps, Readonly<ActionProps> & Readonly<{
|
|
16
16
|
onRun?: (() => any) | undefined;
|
|
17
17
|
}>, {
|
|
18
|
+
type: ButtonType;
|
|
18
19
|
size: _$_veltra_utils0.ComponentSize;
|
|
19
20
|
loading: boolean;
|
|
20
21
|
circle: boolean;
|
|
21
|
-
type: ButtonType;
|
|
22
22
|
inDropdown: boolean;
|
|
23
23
|
text: boolean;
|
|
24
24
|
}, {}, {}, {}, string, _$vue.ComponentProvideOptions, false, {}, any>;
|
|
@@ -24,10 +24,10 @@ declare const __VLS_base: _$vue.DefineComponent<__VLS_PublicProps, {}, {}, {}, {
|
|
|
24
24
|
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
25
25
|
onSelect?: ((value: string) => any) | undefined;
|
|
26
26
|
}>, {
|
|
27
|
-
readonly: boolean;
|
|
28
|
-
disabled: boolean;
|
|
29
27
|
placeholder: string;
|
|
30
28
|
clearable: boolean;
|
|
29
|
+
disabled: boolean;
|
|
30
|
+
readonly: boolean;
|
|
31
31
|
}, {}, {}, {}, string, _$vue.ComponentProvideOptions, false, {}, any>;
|
|
32
32
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
33
33
|
declare const _default: typeof __VLS_export;
|
|
@@ -0,0 +1,106 @@
|
|
|
1
|
+
import { Fragment, createCommentVNode, createElementBlock, createElementVNode, createTextVNode, defineComponent, mergeProps, normalizeClass, openBlock, renderList, renderSlot, toDisplayString, unref } from "vue";
|
|
2
|
+
import { bem } from "@veltra/utils";
|
|
3
|
+
import { useFallbackProps } from "@veltra/compositions";
|
|
4
|
+
//#region src/components/breadcrumb/breadcrumb.vue
|
|
5
|
+
const _hoisted_1 = [
|
|
6
|
+
"href",
|
|
7
|
+
"aria-disabled",
|
|
8
|
+
"tabindex",
|
|
9
|
+
"onClick"
|
|
10
|
+
];
|
|
11
|
+
const _hoisted_2 = [
|
|
12
|
+
"tabindex",
|
|
13
|
+
"onClick",
|
|
14
|
+
"onKeydown"
|
|
15
|
+
];
|
|
16
|
+
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
17
|
+
name: "Breadcrumb",
|
|
18
|
+
__name: "breadcrumb",
|
|
19
|
+
props: {
|
|
20
|
+
items: {},
|
|
21
|
+
size: {},
|
|
22
|
+
lastLinked: {
|
|
23
|
+
type: Boolean,
|
|
24
|
+
default: false
|
|
25
|
+
}
|
|
26
|
+
},
|
|
27
|
+
emits: ["click"],
|
|
28
|
+
setup(__props, { emit: __emit }) {
|
|
29
|
+
const props = __props;
|
|
30
|
+
const emit = __emit;
|
|
31
|
+
const cls = bem("breadcrumb");
|
|
32
|
+
const { size } = useFallbackProps([props], { size: "default" });
|
|
33
|
+
const isLast = (index) => index === props.items.length - 1;
|
|
34
|
+
const isLinked = (item, index) => {
|
|
35
|
+
if (item.disabled) return false;
|
|
36
|
+
if (isLast(index)) return props.lastLinked;
|
|
37
|
+
return true;
|
|
38
|
+
};
|
|
39
|
+
const isAnchor = (item, index) => isLinked(item, index) && !!item.href;
|
|
40
|
+
const isActionSpan = (item, index) => isLinked(item, index) && !item.href;
|
|
41
|
+
const innerClass = (current) => [cls.e("inner"), current && bem.is("current", current)];
|
|
42
|
+
const linkClass = (item, index) => [
|
|
43
|
+
cls.e("inner"),
|
|
44
|
+
cls.e("link"),
|
|
45
|
+
bem.is("disabled", !!item.disabled),
|
|
46
|
+
bem.is("current", isLast(index) && !props.lastLinked)
|
|
47
|
+
];
|
|
48
|
+
const handleAnchorClick = (ev, item, index) => {
|
|
49
|
+
if (item.disabled) {
|
|
50
|
+
ev.preventDefault();
|
|
51
|
+
ev.stopPropagation();
|
|
52
|
+
}
|
|
53
|
+
};
|
|
54
|
+
const handleSpanClick = (ev, item, index) => {
|
|
55
|
+
if (item.disabled) {
|
|
56
|
+
ev.preventDefault();
|
|
57
|
+
return;
|
|
58
|
+
}
|
|
59
|
+
emit("click", item, index, ev);
|
|
60
|
+
};
|
|
61
|
+
const handleSpanKeydown = (ev, item, index) => {
|
|
62
|
+
if (item.disabled) return;
|
|
63
|
+
if (ev.key !== "Enter" && ev.key !== " ") return;
|
|
64
|
+
ev.preventDefault();
|
|
65
|
+
emit("click", item, index, ev);
|
|
66
|
+
};
|
|
67
|
+
return (_ctx, _cache) => {
|
|
68
|
+
return openBlock(), createElementBlock("nav", {
|
|
69
|
+
class: normalizeClass([unref(cls).b, unref(cls).m(unref(size))]),
|
|
70
|
+
"aria-label": "Breadcrumb"
|
|
71
|
+
}, [createElementVNode("ol", { class: normalizeClass(unref(cls).e("list")) }, [(openBlock(true), createElementBlock(Fragment, null, renderList(props.items, (item, index) => {
|
|
72
|
+
return openBlock(), createElementBlock(Fragment, { key: index }, [createElementVNode("li", { class: normalizeClass(unref(cls).e("item")) }, [renderSlot(_ctx.$slots, "item", mergeProps({ ref_for: true }, {
|
|
73
|
+
item,
|
|
74
|
+
index,
|
|
75
|
+
isLast: index === props.items.length - 1
|
|
76
|
+
}), () => [isAnchor(item, index) ? (openBlock(), createElementBlock("a", {
|
|
77
|
+
key: 0,
|
|
78
|
+
class: normalizeClass(linkClass(item, index)),
|
|
79
|
+
href: item.href,
|
|
80
|
+
"aria-disabled": item.disabled ? "true" : void 0,
|
|
81
|
+
tabindex: item.disabled ? -1 : void 0,
|
|
82
|
+
onClick: ($event) => handleAnchorClick($event, item, index)
|
|
83
|
+
}, toDisplayString(item.title), 11, _hoisted_1)) : isActionSpan(item, index) ? (openBlock(), createElementBlock("span", {
|
|
84
|
+
key: 1,
|
|
85
|
+
class: normalizeClass(linkClass(item, index)),
|
|
86
|
+
role: "link",
|
|
87
|
+
tabindex: item.disabled ? -1 : 0,
|
|
88
|
+
onClick: ($event) => handleSpanClick($event, item, index),
|
|
89
|
+
onKeydown: ($event) => handleSpanKeydown($event, item, index)
|
|
90
|
+
}, toDisplayString(item.title), 43, _hoisted_2)) : (openBlock(), createElementBlock("span", {
|
|
91
|
+
key: 2,
|
|
92
|
+
class: normalizeClass(innerClass(true)),
|
|
93
|
+
"aria-current": "page"
|
|
94
|
+
}, toDisplayString(item.title), 3))])], 2), index < props.items.length - 1 ? (openBlock(), createElementBlock("li", {
|
|
95
|
+
key: 0,
|
|
96
|
+
class: normalizeClass(unref(cls).e("separator")),
|
|
97
|
+
"aria-hidden": "true"
|
|
98
|
+
}, [renderSlot(_ctx.$slots, "separator", {}, () => [_cache[0] || (_cache[0] = createTextVNode("/", -1))])], 2)) : createCommentVNode("v-if", true)], 64);
|
|
99
|
+
}), 128))], 2)], 2);
|
|
100
|
+
};
|
|
101
|
+
}
|
|
102
|
+
});
|
|
103
|
+
//#endregion
|
|
104
|
+
export { _sfc_main as default };
|
|
105
|
+
|
|
106
|
+
//# sourceMappingURL=breadcrumb.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"breadcrumb.js","names":[],"sources":["../../../src/components/breadcrumb/breadcrumb.vue"],"sourcesContent":["<template>\n <nav :class=\"[cls.b, cls.m(size)]\" aria-label=\"Breadcrumb\">\n <ol :class=\"cls.e('list')\">\n <template v-for=\"(item, index) in props.items\" :key=\"index\">\n <li :class=\"cls.e('item')\">\n <slot name=\"item\" v-bind=\"{ item, index, isLast: index === props.items.length - 1 }\">\n <a\n v-if=\"isAnchor(item, index)\"\n :class=\"linkClass(item, index)\"\n :href=\"item.href\"\n :aria-disabled=\"item.disabled ? 'true' : undefined\"\n :tabindex=\"item.disabled ? -1 : undefined\"\n @click=\"handleAnchorClick($event, item, index)\"\n >\n {{ item.title }}\n </a>\n <span\n v-else-if=\"isActionSpan(item, index)\"\n :class=\"linkClass(item, index)\"\n role=\"link\"\n :tabindex=\"item.disabled ? -1 : 0\"\n @click=\"handleSpanClick($event, item, index)\"\n @keydown=\"handleSpanKeydown($event, item, index)\"\n >\n {{ item.title }}\n </span>\n <span v-else :class=\"innerClass(true)\" aria-current=\"page\">{{ item.title }}</span>\n </slot>\n </li>\n <li v-if=\"index < props.items.length - 1\" :class=\"cls.e('separator')\" aria-hidden=\"true\">\n <slot name=\"separator\">/</slot>\n </li>\n </template>\n </ol>\n </nav>\n</template>\n\n<script lang=\"ts\" setup>\nimport { useFallbackProps } from '@veltra/compositions'\nimport { bem } from '@veltra/utils'\n\nimport type {\n BreadcrumbEmits,\n BreadcrumbItem,\n BreadcrumbProps,\n BreadcrumbSlotScope,\n ComponentSize\n} from '../../types'\n\ndefineOptions({\n name: 'Breadcrumb'\n})\n\nconst props = withDefaults(defineProps<BreadcrumbProps>(), {\n lastLinked: false\n})\n\nconst emit = defineEmits<BreadcrumbEmits>()\n\ndefineSlots<{\n item?: (scope: BreadcrumbSlotScope) => unknown\n separator?: () => unknown\n}>()\n\nconst cls = bem('breadcrumb')\n\nconst { size } = useFallbackProps([props], {\n size: 'default' as ComponentSize\n})\n\nconst isLast = (index: number) => index === props.items.length - 1\n\nconst isLinked = (item: BreadcrumbItem, index: number) => {\n if (item.disabled) return false\n if (isLast(index)) return props.lastLinked\n return true\n}\n\nconst isAnchor = (item: BreadcrumbItem, index: number) => isLinked(item, index) && !!item.href\n\nconst isActionSpan = (item: BreadcrumbItem, index: number) => isLinked(item, index) && !item.href\n\nconst innerClass = (current: boolean) => [cls.e('inner'), current && bem.is('current', current)]\n\nconst linkClass = (item: BreadcrumbItem, index: number) => [\n cls.e('inner'),\n cls.e('link'),\n bem.is('disabled', !!item.disabled),\n bem.is('current', isLast(index) && !props.lastLinked)\n]\n\nconst handleAnchorClick = (ev: MouseEvent, item: BreadcrumbItem, index: number) => {\n if (item.disabled) {\n ev.preventDefault()\n ev.stopPropagation()\n }\n}\n\nconst handleSpanClick = (ev: MouseEvent, item: BreadcrumbItem, index: number) => {\n if (item.disabled) {\n ev.preventDefault()\n return\n }\n emit('click', item, index, ev)\n}\n\nconst handleSpanKeydown = (ev: KeyboardEvent, item: BreadcrumbItem, index: number) => {\n if (item.disabled) return\n if (ev.key !== 'Enter' && ev.key !== ' ') return\n ev.preventDefault()\n emit('click', item, index, ev)\n}\n</script>\n"],"mappings":"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"}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { BreadcrumbItem, BreadcrumbProps, BreadcrumbSlotScope } from "../../types/breadcrumb.js";
|
|
2
|
+
import * as _$vue from "vue";
|
|
3
|
+
|
|
4
|
+
//#region src/components/breadcrumb/breadcrumb.vue.d.ts
|
|
5
|
+
type __VLS_Slots = {
|
|
6
|
+
item?: (scope: BreadcrumbSlotScope) => unknown;
|
|
7
|
+
separator?: () => unknown;
|
|
8
|
+
};
|
|
9
|
+
declare const __VLS_base: _$vue.DefineComponent<BreadcrumbProps, {}, {}, {}, {}, _$vue.ComponentOptionsMixin, _$vue.ComponentOptionsMixin, {} & {
|
|
10
|
+
click: (item: BreadcrumbItem, index: number, ev: Event) => any;
|
|
11
|
+
}, string, _$vue.PublicProps, Readonly<BreadcrumbProps> & Readonly<{
|
|
12
|
+
onClick?: ((item: BreadcrumbItem, index: number, ev: Event) => any) | undefined;
|
|
13
|
+
}>, {
|
|
14
|
+
lastLinked: boolean;
|
|
15
|
+
}, {}, {}, {}, string, _$vue.ComponentProvideOptions, false, {}, any>;
|
|
16
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
17
|
+
declare const _default: typeof __VLS_export;
|
|
18
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
19
|
+
new (): {
|
|
20
|
+
$slots: S;
|
|
21
|
+
};
|
|
22
|
+
};
|
|
23
|
+
//#endregion
|
|
24
|
+
export { _default };
|
|
25
|
+
//# sourceMappingURL=breadcrumb.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import { _default } from "./breadcrumb.vue.js";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import "./style2.css";
|
|
@@ -0,0 +1,97 @@
|
|
|
1
|
+
@charset "UTF-8";
|
|
2
|
+
/** flex布局 */
|
|
3
|
+
/**
|
|
4
|
+
* 设置css变量
|
|
5
|
+
* 参数1:变量前缀
|
|
6
|
+
* 参数2: 一个由值组成的列表或者由key, value组成的map
|
|
7
|
+
* css-var(height, (
|
|
8
|
+
* large: 40px
|
|
9
|
+
* default: 32px
|
|
10
|
+
* small: 24px
|
|
11
|
+
* ))
|
|
12
|
+
* 生成的css变量:
|
|
13
|
+
* --u-height-large: 40px;
|
|
14
|
+
* --u-height-default: 32px;
|
|
15
|
+
* --u-height-small: 24px;
|
|
16
|
+
*/
|
|
17
|
+
/** 暗色:data-theme 与系统偏好,与 UITheme.injectBuiltInThemes 选择器策略一致 */
|
|
18
|
+
:root {
|
|
19
|
+
--u-breadcrumb-small: 20px;
|
|
20
|
+
--u-breadcrumb-default: 22px;
|
|
21
|
+
--u-breadcrumb-large: 24px;
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
.u-breadcrumb {
|
|
25
|
+
color: var(--u-text-color-second);
|
|
26
|
+
line-height: 1.4;
|
|
27
|
+
}
|
|
28
|
+
.u-breadcrumb__list {
|
|
29
|
+
display: flex;
|
|
30
|
+
flex-wrap: wrap;
|
|
31
|
+
align-items: center;
|
|
32
|
+
padding: 0;
|
|
33
|
+
margin: 0;
|
|
34
|
+
list-style: none;
|
|
35
|
+
}
|
|
36
|
+
.u-breadcrumb__item {
|
|
37
|
+
display: flex;
|
|
38
|
+
align-items: center;
|
|
39
|
+
min-width: 0;
|
|
40
|
+
}
|
|
41
|
+
.u-breadcrumb__separator {
|
|
42
|
+
display: flex;
|
|
43
|
+
align-items: center;
|
|
44
|
+
margin: 0 var(--u-gap-base);
|
|
45
|
+
color: var(--u-text-color-placeholder);
|
|
46
|
+
user-select: none;
|
|
47
|
+
}
|
|
48
|
+
.u-breadcrumb__inner {
|
|
49
|
+
overflow: hidden;
|
|
50
|
+
text-overflow: ellipsis;
|
|
51
|
+
white-space: nowrap;
|
|
52
|
+
max-width: 240px;
|
|
53
|
+
}
|
|
54
|
+
.u-breadcrumb__link {
|
|
55
|
+
color: var(--u-text-color-second);
|
|
56
|
+
text-decoration: none;
|
|
57
|
+
cursor: pointer;
|
|
58
|
+
border-radius: var(--u-radius-small);
|
|
59
|
+
transition: color 0.15s ease;
|
|
60
|
+
}
|
|
61
|
+
.u-breadcrumb__link:hover:not(.is-disabled) {
|
|
62
|
+
color: var(--u-color-primary);
|
|
63
|
+
}
|
|
64
|
+
.u-breadcrumb__link:focus-visible {
|
|
65
|
+
outline: 2px solid var(--u-color-primary);
|
|
66
|
+
outline-offset: 2px;
|
|
67
|
+
}
|
|
68
|
+
.u-breadcrumb .u-breadcrumb__inner.is-current {
|
|
69
|
+
color: var(--u-text-color-main);
|
|
70
|
+
font-weight: 600;
|
|
71
|
+
cursor: default;
|
|
72
|
+
}
|
|
73
|
+
.u-breadcrumb .u-breadcrumb__inner.is-disabled {
|
|
74
|
+
color: var(--u-text-color-placeholder);
|
|
75
|
+
cursor: not-allowed;
|
|
76
|
+
}
|
|
77
|
+
.u-breadcrumb--small {
|
|
78
|
+
min-height: var(--u-breadcrumb-small);
|
|
79
|
+
font-size: var(--u-font-size-main-small);
|
|
80
|
+
}
|
|
81
|
+
.u-breadcrumb--small .u-breadcrumb__separator {
|
|
82
|
+
margin: 0 calc(var(--u-gap-small) / 2);
|
|
83
|
+
}
|
|
84
|
+
.u-breadcrumb--default {
|
|
85
|
+
min-height: var(--u-breadcrumb-default);
|
|
86
|
+
font-size: var(--u-font-size-main-default);
|
|
87
|
+
}
|
|
88
|
+
.u-breadcrumb--default .u-breadcrumb__separator {
|
|
89
|
+
margin: 0 calc(var(--u-gap-default) / 2);
|
|
90
|
+
}
|
|
91
|
+
.u-breadcrumb--large {
|
|
92
|
+
min-height: var(--u-breadcrumb-large);
|
|
93
|
+
font-size: var(--u-font-size-main-large);
|
|
94
|
+
}
|
|
95
|
+
.u-breadcrumb--large .u-breadcrumb__separator {
|
|
96
|
+
margin: 0 calc(var(--u-gap-large) / 2);
|
|
97
|
+
}
|
|
@@ -3,22 +3,22 @@ import * as _$vue from "vue";
|
|
|
3
3
|
|
|
4
4
|
//#region src/components/cascade/cascade.vue.d.ts
|
|
5
5
|
declare const __VLS_export: _$vue.DefineComponent<CascadeProps, {}, {}, {}, {}, _$vue.ComponentOptionsMixin, _$vue.ComponentOptionsMixin, {} & {
|
|
6
|
-
clear: () => any;
|
|
7
6
|
"update:modelValue": (value?: string | string[] | undefined) => any;
|
|
7
|
+
clear: () => any;
|
|
8
8
|
change: (...args: [value?: string | undefined, label?: string | undefined, item?: Record<string, any> | undefined] | [value: string[], label: string[], data: Record<string, any>[]]) => any;
|
|
9
9
|
}, string, _$vue.PublicProps, Readonly<CascadeProps> & Readonly<{
|
|
10
|
-
onClear?: (() => any) | undefined;
|
|
11
10
|
"onUpdate:modelValue"?: ((value?: string | string[] | undefined) => any) | undefined;
|
|
11
|
+
onClear?: (() => any) | undefined;
|
|
12
12
|
onChange?: ((...args: [value?: string | undefined, label?: string | undefined, item?: Record<string, any> | undefined] | [value: string[], label: string[], data: Record<string, any>[]]) => any) | undefined;
|
|
13
13
|
}>, {
|
|
14
|
-
|
|
15
|
-
|
|
14
|
+
labelKey: string;
|
|
15
|
+
valueKey: string;
|
|
16
16
|
placeholder: string;
|
|
17
17
|
clearable: boolean;
|
|
18
|
+
disabled: boolean;
|
|
19
|
+
readonly: boolean;
|
|
18
20
|
data: Record<string, any>[];
|
|
19
21
|
separator: string;
|
|
20
|
-
labelKey: string;
|
|
21
|
-
valueKey: string;
|
|
22
22
|
childrenKey: string;
|
|
23
23
|
filterable: boolean;
|
|
24
24
|
visibilityLimit: number;
|
|
@@ -20,9 +20,9 @@ declare const __VLS_base: _$vue.DefineComponent<__VLS_PublicProps, {}, {}, {}, {
|
|
|
20
20
|
"onUpdate:modelValue"?: ((checked: boolean) => any) | undefined;
|
|
21
21
|
onChange?: ((checked: boolean) => any) | undefined;
|
|
22
22
|
}>, {
|
|
23
|
-
readonly: boolean;
|
|
24
|
-
disabled: boolean;
|
|
25
23
|
type: _$_veltra_utils0.ColorType;
|
|
24
|
+
disabled: boolean;
|
|
25
|
+
readonly: boolean;
|
|
26
26
|
round: boolean;
|
|
27
27
|
}, {}, {}, {}, string, _$vue.ComponentProvideOptions, false, {}, any>;
|
|
28
28
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
@@ -20,8 +20,8 @@ declare const __VLS_base: _$vue.DefineComponent<__VLS_PublicProps, {}, {}, {}, {
|
|
|
20
20
|
"onUpdate:modelValue"?: ((checked: boolean) => any) | undefined;
|
|
21
21
|
onChange?: ((checked: boolean, e: MouseEvent) => any) | undefined;
|
|
22
22
|
}>, {
|
|
23
|
-
readonly: boolean;
|
|
24
23
|
disabled: boolean;
|
|
24
|
+
readonly: boolean;
|
|
25
25
|
}, {}, {}, {}, string, _$vue.ComponentProvideOptions, false, {}, any>;
|
|
26
26
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
27
27
|
declare const _default: typeof __VLS_export;
|
|
@@ -14,10 +14,10 @@ declare const __VLS_export: _$vue.DefineComponent<__VLS_PublicProps, {}, {}, {},
|
|
|
14
14
|
}, string, _$vue.PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
15
15
|
"onUpdate:modelValue"?: ((value: any[]) => any) | undefined;
|
|
16
16
|
}>, {
|
|
17
|
-
readonly: boolean;
|
|
18
|
-
disabled: boolean;
|
|
19
17
|
labelKey: string;
|
|
20
18
|
valueKey: string;
|
|
19
|
+
disabled: boolean;
|
|
20
|
+
readonly: boolean;
|
|
21
21
|
}, {}, {}, {}, string, _$vue.ComponentProvideOptions, false, {}, any>;
|
|
22
22
|
declare const _default: typeof __VLS_export;
|
|
23
23
|
//#endregion
|
|
@@ -12,8 +12,8 @@ declare const __VLS_export: _$vue.DefineComponent<__VLS_PublicProps, {}, {}, {},
|
|
|
12
12
|
}, string, _$vue.PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
13
13
|
"onUpdate:modelValue"?: ((value: string | undefined) => any) | undefined;
|
|
14
14
|
}>, {
|
|
15
|
-
readonly: boolean;
|
|
16
15
|
disabled: boolean;
|
|
16
|
+
readonly: boolean;
|
|
17
17
|
}, {}, {}, {}, string, _$vue.ComponentProvideOptions, false, {}, any>;
|
|
18
18
|
declare const _default: typeof __VLS_export;
|
|
19
19
|
//#endregion
|
|
@@ -11,8 +11,8 @@ declare const __VLS_export: _$vue.DefineComponent<DatePanelProps, {}, {}, {}, {}
|
|
|
11
11
|
"onSelect:range-date"?: ((rangeDate?: [_$_cat_kit_core0.Dater, _$_cat_kit_core0.Dater] | undefined) => any) | undefined;
|
|
12
12
|
"onSelect:date"?: ((date: _$_cat_kit_core0.Dater) => any) | undefined;
|
|
13
13
|
}>, {
|
|
14
|
-
size: _$_veltra_utils0.ComponentSize;
|
|
15
14
|
type: "date" | "month" | "year";
|
|
15
|
+
size: _$_veltra_utils0.ComponentSize;
|
|
16
16
|
}, {}, {}, {}, string, _$vue.ComponentProvideOptions, false, {}, any>;
|
|
17
17
|
declare const _default: typeof __VLS_export;
|
|
18
18
|
//#endregion
|
|
@@ -7,11 +7,11 @@ declare const __VLS_export: _$vue.DefineComponent<DatePickerProps, {}, {}, {}, {
|
|
|
7
7
|
}, string, _$vue.PublicProps, Readonly<DatePickerProps> & Readonly<{
|
|
8
8
|
"onUpdate:modelValue"?: ((value?: string | undefined) => any) | undefined;
|
|
9
9
|
}>, {
|
|
10
|
-
readonly: boolean;
|
|
11
|
-
disabled: boolean;
|
|
12
10
|
type: "date" | "month" | "year";
|
|
13
11
|
placeholder: string;
|
|
14
12
|
clearable: boolean;
|
|
13
|
+
disabled: boolean;
|
|
14
|
+
readonly: boolean;
|
|
15
15
|
}, {}, {}, {}, string, _$vue.ComponentProvideOptions, false, {}, any>;
|
|
16
16
|
declare const _default: typeof __VLS_export;
|
|
17
17
|
//#endregion
|
|
@@ -7,11 +7,11 @@ declare const __VLS_export: _$vue.DefineComponent<DateRangePickerProps, {}, {},
|
|
|
7
7
|
}, string, _$vue.PublicProps, Readonly<DateRangePickerProps> & Readonly<{
|
|
8
8
|
"onUpdate:modelValue"?: ((value?: [string, string] | undefined) => any) | undefined;
|
|
9
9
|
}>, {
|
|
10
|
-
readonly: boolean;
|
|
11
|
-
disabled: boolean;
|
|
12
10
|
type: "date" | "month" | "year";
|
|
13
11
|
placeholder: [string, string];
|
|
14
12
|
clearable: boolean;
|
|
13
|
+
disabled: boolean;
|
|
14
|
+
readonly: boolean;
|
|
15
15
|
}, {}, {}, {}, string, _$vue.ComponentProvideOptions, false, {}, any>;
|
|
16
16
|
declare const _default: typeof __VLS_export;
|
|
17
17
|
//#endregion
|
|
@@ -8,83 +8,84 @@ import { _default as _default$4 } from "./form/form.vue.js";
|
|
|
8
8
|
import { formField } from "./form/helper.js";
|
|
9
9
|
import { _default as _default$5 } from "./batch-edit/batch-edit.vue.js";
|
|
10
10
|
import { defineBatchEditColumns } from "./batch-edit/helper.js";
|
|
11
|
-
import { _default as _default$6 } from "./
|
|
12
|
-
import { _default as _default$7 } from "./button/button
|
|
13
|
-
import { _default as _default$8 } from "./
|
|
14
|
-
import { _default as _default$9 } from "./
|
|
15
|
-
import { _default as _default$10 } from "./card/card
|
|
16
|
-
import { _default as _default$11 } from "./card/card-
|
|
17
|
-
import { _default as _default$12 } from "./card/card-
|
|
18
|
-
import { _default as _default$13 } from "./card/card-
|
|
19
|
-
import { _default as _default$14 } from "./
|
|
20
|
-
import { _default as _default$15 } from "./
|
|
21
|
-
import { _default as _default$16 } from "./
|
|
22
|
-
import { _default as _default$17 } from "./checkbox/checkbox.vue.js";
|
|
23
|
-
import { _default as _default$18 } from "./checkbox/checkbox
|
|
24
|
-
import { _default as _default$19 } from "./
|
|
25
|
-
import { _default as _default$20 } from "./
|
|
11
|
+
import { _default as _default$6 } from "./breadcrumb/breadcrumb.vue.js";
|
|
12
|
+
import { _default as _default$7 } from "./button/button.vue.js";
|
|
13
|
+
import { _default as _default$8 } from "./button/button-group.vue.js";
|
|
14
|
+
import { _default as _default$9 } from "./calendar/calendar.vue.js";
|
|
15
|
+
import { _default as _default$10 } from "./card/card.vue.js";
|
|
16
|
+
import { _default as _default$11 } from "./card/card-header.vue.js";
|
|
17
|
+
import { _default as _default$12 } from "./card/card-cover.vue.js";
|
|
18
|
+
import { _default as _default$13 } from "./card/card-content.vue.js";
|
|
19
|
+
import { _default as _default$14 } from "./card/card-action.vue.js";
|
|
20
|
+
import { _default as _default$15 } from "./cascade/cascade.vue.js";
|
|
21
|
+
import { _default as _default$16 } from "./check-tag/check-tag.vue.js";
|
|
22
|
+
import { _default as _default$17 } from "./checkbox-group/checkbox-group.vue.js";
|
|
23
|
+
import { _default as _default$18 } from "./checkbox/checkbox.vue.js";
|
|
24
|
+
import { _default as _default$19 } from "./checkbox/checkbox-button.vue.js";
|
|
25
|
+
import { _default as _default$20 } from "./code-editor/code-editor.vue.js";
|
|
26
|
+
import { _default as _default$21 } from "./condition-editor/condition-editor.vue.js";
|
|
26
27
|
import { contextmenu } from "./context-menu/api.js";
|
|
27
|
-
import { _default as _default$
|
|
28
|
-
import { _default as _default$
|
|
29
|
-
import { _default as _default$
|
|
30
|
-
import { _default as _default$
|
|
31
|
-
import { _default as _default$
|
|
32
|
-
import { _default as _default$
|
|
33
|
-
import { _default as _default$
|
|
34
|
-
import { _default as _default$
|
|
35
|
-
import { _default as _default$
|
|
36
|
-
import { _default as _default$
|
|
37
|
-
import { _default as _default$
|
|
38
|
-
import { _default as _default$
|
|
39
|
-
import { _default as _default$
|
|
40
|
-
import { _default as _default$
|
|
41
|
-
import { _default as _default$
|
|
42
|
-
import { _default as _default$
|
|
43
|
-
import { _default as _default$
|
|
44
|
-
import { _default as _default$
|
|
45
|
-
import { _default as _default$
|
|
46
|
-
import { _default as _default$
|
|
47
|
-
import { _default as _default$
|
|
48
|
-
import { _default as _default$
|
|
28
|
+
import { _default as _default$22 } from "./date-panel/date-panel.vue.js";
|
|
29
|
+
import { _default as _default$23 } from "./date-picker/date-picker.vue.js";
|
|
30
|
+
import { _default as _default$24 } from "./date-range-picker/date-range-picker.vue.js";
|
|
31
|
+
import { _default as _default$25 } from "./dialog/dialog.vue.js";
|
|
32
|
+
import { _default as _default$26 } from "./drawer/drawer.vue.js";
|
|
33
|
+
import { _default as _default$27 } from "./dropdown/dropdown.vue.js";
|
|
34
|
+
import { _default as _default$28 } from "./empty/empty.vue.js";
|
|
35
|
+
import { _default as _default$29 } from "./expression-editor/expression-editor.vue.js";
|
|
36
|
+
import { _default as _default$30 } from "./file-picker/file-picker.vue.js";
|
|
37
|
+
import { _default as _default$31 } from "./float-button/float-button.vue.js";
|
|
38
|
+
import { _default as _default$32 } from "./form-item/form-item.vue.js";
|
|
39
|
+
import { _default as _default$33 } from "./gantt-chart/gantt-chart.vue.js";
|
|
40
|
+
import { _default as _default$34 } from "./grid-input/grid-input.vue.js";
|
|
41
|
+
import { _default as _default$35 } from "./grid/grid.vue.js";
|
|
42
|
+
import { _default as _default$36 } from "./grid/grid-item.vue.js";
|
|
43
|
+
import { _default as _default$37 } from "./group-input/group-input.vue.js";
|
|
44
|
+
import { _default as _default$38 } from "./icon/icon.vue.js";
|
|
45
|
+
import { _default as _default$39 } from "./input/input.vue.js";
|
|
46
|
+
import { _default as _default$40 } from "./layout/layout.vue.js";
|
|
47
|
+
import { _default as _default$41 } from "./list/list.vue.js";
|
|
48
|
+
import { _default as _default$42 } from "./list/list-item.vue.js";
|
|
49
|
+
import { _default as _default$43 } from "./loading/loading.vue.js";
|
|
49
50
|
import { vLoading } from "./loading/directive.js";
|
|
50
|
-
import { _default as _default$
|
|
51
|
-
import { _default as _default$
|
|
52
|
-
import { _default as _default$
|
|
53
|
-
import { _default as _default$
|
|
54
|
-
import { _default as _default$
|
|
55
|
-
import { _default as _default$
|
|
51
|
+
import { _default as _default$44 } from "./menu/menu.vue.js";
|
|
52
|
+
import { _default as _default$45 } from "./menu/menu-sub.vue.js";
|
|
53
|
+
import { _default as _default$46 } from "./menu/menu-item.vue.js";
|
|
54
|
+
import { _default as _default$47 } from "./message-confirm/message-confirm.vue.js";
|
|
55
|
+
import { _default as _default$48 } from "./message-confirm/message-confirm.js";
|
|
56
|
+
import { _default as _default$49 } from "./message/message.vue.js";
|
|
56
57
|
import { message } from "./message/message.js";
|
|
57
|
-
import { _default as _default$
|
|
58
|
-
import { _default as _default$
|
|
58
|
+
import { _default as _default$50 } from "./multi-select/multi-select.vue.js";
|
|
59
|
+
import { _default as _default$51 } from "./multi-tree-select/multi-tree-select.vue.js";
|
|
59
60
|
import { NodeRender } from "./node-render/node-render.js";
|
|
60
|
-
import { _default as _default$
|
|
61
|
+
import { _default as _default$52 } from "./notification/notification.vue.js";
|
|
61
62
|
import { Notification } from "./notification/index.js";
|
|
62
|
-
import { _default as _default$
|
|
63
|
-
import { _default as _default$
|
|
64
|
-
import { _default as _default$
|
|
65
|
-
import { _default as _default$
|
|
66
|
-
import { _default as _default$
|
|
67
|
-
import { _default as _default$
|
|
68
|
-
import { _default as _default$
|
|
69
|
-
import { _default as _default$
|
|
70
|
-
import { _default as _default$
|
|
71
|
-
import { _default as _default$
|
|
72
|
-
import { _default as _default$
|
|
73
|
-
import { _default as _default$
|
|
74
|
-
import { _default as _default$
|
|
75
|
-
import { _default as _default$
|
|
76
|
-
import { _default as _default$
|
|
77
|
-
import { _default as _default$
|
|
78
|
-
import { _default as _default$
|
|
79
|
-
import { _default as _default$
|
|
63
|
+
import { _default as _default$53 } from "./number-input/number-input.vue.js";
|
|
64
|
+
import { _default as _default$54 } from "./number-range-input/number-range-input.vue.js";
|
|
65
|
+
import { _default as _default$55 } from "./number/number.vue.js";
|
|
66
|
+
import { _default as _default$56 } from "./paginator/paginator.vue.js";
|
|
67
|
+
import { _default as _default$57 } from "./palette/palette.vue.js";
|
|
68
|
+
import { _default as _default$58 } from "./password-input/password-input.vue.js";
|
|
69
|
+
import { _default as _default$59 } from "./pop-confirm/pop-confirm.vue.js";
|
|
70
|
+
import { _default as _default$60 } from "./progress/progress.vue.js";
|
|
71
|
+
import { _default as _default$61 } from "./radio-group/radio-group.vue.js";
|
|
72
|
+
import { _default as _default$62 } from "./radio/radio.vue.js";
|
|
73
|
+
import { _default as _default$63 } from "./rich-text-editor/rich-text-editor.vue.js";
|
|
74
|
+
import { _default as _default$64 } from "./scroll/scroll.vue.js";
|
|
75
|
+
import { _default as _default$65 } from "./select/select.vue.js";
|
|
76
|
+
import { _default as _default$66 } from "./slider/slider.vue.js";
|
|
77
|
+
import { _default as _default$67 } from "./steps/steps.vue.js";
|
|
78
|
+
import { _default as _default$68 } from "./switch/switch.vue.js";
|
|
79
|
+
import { _default as _default$69 } from "./table-editor/table-editor.vue.js";
|
|
80
|
+
import { _default as _default$70 } from "./table/table.vue.js";
|
|
80
81
|
import { defineTableColumns } from "./table/use-columns.js";
|
|
81
|
-
import { _default as _default$
|
|
82
|
-
import { _default as _default$
|
|
83
|
-
import { _default as _default$
|
|
84
|
-
import { _default as _default$
|
|
85
|
-
import { _default as _default$
|
|
86
|
-
import { _default as _default$
|
|
87
|
-
import { _default as _default$
|
|
88
|
-
import { _default as _default$
|
|
89
|
-
import { _default as _default$
|
|
90
|
-
import { _default as _default$
|
|
82
|
+
import { _default as _default$71 } from "./tabs/tabs.vue.js";
|
|
83
|
+
import { _default as _default$72 } from "./tag/tag.vue.js";
|
|
84
|
+
import { _default as _default$73 } from "./text/text.vue.js";
|
|
85
|
+
import { _default as _default$74 } from "./textarea/textarea.vue.js";
|
|
86
|
+
import { _default as _default$75 } from "./theme/theme.vue.js";
|
|
87
|
+
import { _default as _default$76 } from "./tip/tip.vue.js";
|
|
88
|
+
import { _default as _default$77 } from "./tree-select/tree-select.vue.js";
|
|
89
|
+
import { _default as _default$78 } from "./tree/tree.vue.js";
|
|
90
|
+
import { _default as _default$79 } from "./watermark/watermark.vue.js";
|
|
91
|
+
import { _default as _default$80 } from "./progress-nodes/progress-nodes.vue.js";
|
|
@@ -16,8 +16,8 @@ type __VLS_Slots = {} & {
|
|
|
16
16
|
declare const __VLS_base: _$vue.DefineComponent<__VLS_PublicProps, _InputExposed, {}, {}, {}, _$vue.ComponentOptionsMixin, _$vue.ComponentOptionsMixin, {
|
|
17
17
|
"update:modelValue": (value: string | undefined) => any;
|
|
18
18
|
} & {
|
|
19
|
-
clear: () => any;
|
|
20
19
|
"update:modelValue": (value: string) => any;
|
|
20
|
+
clear: () => any;
|
|
21
21
|
change: (value: string) => any;
|
|
22
22
|
"suffix:click": (value?: string | undefined) => any;
|
|
23
23
|
"prefix:click": (value?: string | undefined) => any;
|
|
@@ -25,8 +25,8 @@ declare const __VLS_base: _$vue.DefineComponent<__VLS_PublicProps, _InputExposed
|
|
|
25
25
|
blur: (value?: string | undefined) => any;
|
|
26
26
|
"native:input": (ev: Event) => any;
|
|
27
27
|
}, string, _$vue.PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
28
|
-
onClear?: (() => any) | undefined;
|
|
29
28
|
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
29
|
+
onClear?: (() => any) | undefined;
|
|
30
30
|
onChange?: ((value: string) => any) | undefined;
|
|
31
31
|
"onSuffix:click"?: ((value?: string | undefined) => any) | undefined;
|
|
32
32
|
"onPrefix:click"?: ((value?: string | undefined) => any) | undefined;
|
|
@@ -34,10 +34,10 @@ declare const __VLS_base: _$vue.DefineComponent<__VLS_PublicProps, _InputExposed
|
|
|
34
34
|
onBlur?: ((value?: string | undefined) => any) | undefined;
|
|
35
35
|
"onNative:input"?: ((ev: Event) => any) | undefined;
|
|
36
36
|
}>, {
|
|
37
|
-
readonly: boolean;
|
|
38
|
-
disabled: boolean;
|
|
39
37
|
placeholder: string;
|
|
40
38
|
clearable: boolean;
|
|
39
|
+
disabled: boolean;
|
|
40
|
+
readonly: boolean;
|
|
41
41
|
}, {}, {}, {}, string, _$vue.ComponentProvideOptions, false, {}, any>;
|
|
42
42
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
43
43
|
declare const _default: typeof __VLS_export;
|
|
@@ -28,12 +28,12 @@ declare const __VLS_base: _$vue.DefineComponent<__VLS_PublicProps, {}, {}, {}, {
|
|
|
28
28
|
"onUpdate:modelValue"?: ((value: any[]) => any) | undefined;
|
|
29
29
|
onChange?: ((options: Record<string, any>[]) => any) | undefined;
|
|
30
30
|
}>, {
|
|
31
|
-
readonly: boolean;
|
|
32
|
-
disabled: boolean;
|
|
33
|
-
placeholder: string;
|
|
34
|
-
clearable: boolean;
|
|
35
31
|
labelKey: string;
|
|
36
32
|
valueKey: string;
|
|
33
|
+
placeholder: string;
|
|
34
|
+
clearable: boolean;
|
|
35
|
+
disabled: boolean;
|
|
36
|
+
readonly: boolean;
|
|
37
37
|
visibilityLimit: number;
|
|
38
38
|
minWidth: string;
|
|
39
39
|
}, {}, {}, {}, string, _$vue.ComponentProvideOptions, false, {}, any>;
|