@veltra/desktop 1.3.10 → 1.4.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/components/action/action-group.vue.d.ts +1 -1
- package/dist/components/action/action.vue.d.ts +1 -1
- package/dist/components/batch-edit/batch-edit.vue.d.ts +8 -8
- package/dist/components/cascade/cascade.vue.d.ts +2 -2
- package/dist/components/checkbox/checkbox-button.vue.d.ts +1 -1
- package/dist/components/checkbox-group/checkbox-group.vue.d.ts +2 -2
- package/dist/components/collapse/collapse-item.js +34 -11
- package/dist/components/collapse/collapse-item.js.map +1 -1
- package/dist/components/collapse/collapse-item.vue.d.ts +9 -1
- package/dist/components/collapse/style2.css +29 -51
- package/dist/components/date-panel/date-panel.vue.d.ts +1 -1
- package/dist/components/date-picker/date-picker.vue.d.ts +1 -1
- package/dist/components/date-range-picker/date-range-picker.vue.d.ts +1 -1
- package/dist/components/grid-input/grid-input.vue.d.ts +1 -1
- package/dist/components/input/input.vue.d.ts +2 -2
- package/dist/components/multi-select/multi-select.vue.d.ts +2 -2
- package/dist/components/multi-tree-select/multi-tree-select.vue.d.ts +2 -2
- package/dist/components/number-range-input/number-range-input.vue.d.ts +1 -1
- package/dist/components/radio-group/radio-group.vue.d.ts +2 -2
- package/dist/components/select/select.vue.d.ts +2 -2
- package/dist/components/steps/style2.css +14 -14
- package/dist/components/tabs/tabs-horizontal.vue.d.ts +2 -2
- package/dist/components/tabs/tabs-vertical.vue.d.ts +2 -2
- package/dist/components/tabs/tabs.vue.d.ts +2 -2
- package/dist/components/textarea/textarea.vue.d.ts +2 -2
- package/dist/components/tree-select/tree-select.vue.d.ts +2 -2
- package/dist/components/watermark/watermark.vue.d.ts +1 -1
- package/dist/index.d.ts +3 -3
- package/dist/types/collapse.d.ts +23 -4
- package/dist/types/index.d.ts +3 -3
- package/package.json +6 -6
- package/src/components/collapse/__test__/collapse.test.ts +178 -1
- package/src/components/collapse/collapse-item.vue +40 -12
- package/src/components/collapse/style.scss +26 -62
- package/src/components/steps/style.scss +2 -2
- package/src/types/collapse.ts +25 -3
|
@@ -6,8 +6,8 @@ type __VLS_Slots = {
|
|
|
6
6
|
default?: () => VNode[];
|
|
7
7
|
};
|
|
8
8
|
declare const __VLS_base: import("vue").DefineComponent<ActionGroupProps, _ActionGroupExposed, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<ActionGroupProps> & Readonly<{}>, {
|
|
9
|
-
size: "small" | "default" | "large";
|
|
10
9
|
type: import("@veltra/utils").ColorType;
|
|
10
|
+
size: "small" | "default" | "large";
|
|
11
11
|
max: number;
|
|
12
12
|
text: boolean;
|
|
13
13
|
circle: boolean;
|
|
@@ -14,8 +14,8 @@ declare const __VLS_base: import("vue").DefineComponent<ActionProps, {}, {}, {},
|
|
|
14
14
|
}, string, import("vue").PublicProps, Readonly<ActionProps> & Readonly<{
|
|
15
15
|
onRun?: (() => any) | undefined;
|
|
16
16
|
}>, {
|
|
17
|
-
size: import("@veltra/utils").ComponentSize;
|
|
18
17
|
type: ButtonType;
|
|
18
|
+
size: import("@veltra/utils").ComponentSize;
|
|
19
19
|
text: boolean;
|
|
20
20
|
circle: boolean;
|
|
21
21
|
loading: boolean;
|
|
@@ -8,28 +8,28 @@ declare const __VLS_base: import("vue").DefineComponent<BatchEditProps, {}, {},
|
|
|
8
8
|
"update:selected": (value: Record<string, any> | undefined) => any;
|
|
9
9
|
"update:checked": (value: Record<string, any>[]) => any;
|
|
10
10
|
"update:current": (row?: TableRow | undefined) => any;
|
|
11
|
-
"update:rows": (rows: TableRow[]) => any;
|
|
12
|
-
"update:forest": (rows?: import("@cat-kit/core").Forest<Record<string, unknown>, any> | undefined) => any;
|
|
13
|
-
"cell-click": (row: TableRow, column: TableColumn, ev: MouseEvent) => any;
|
|
14
|
-
"row-click": (row: TableRow, ev: MouseEvent) => any;
|
|
15
11
|
create: () => any;
|
|
16
12
|
"update:data": (value: Record<string, any>[]) => any;
|
|
17
13
|
"create-prev": (row: TableRow) => any;
|
|
18
14
|
"create-next": (row: TableRow) => any;
|
|
19
15
|
"create-child": (row: TableRow) => any;
|
|
16
|
+
"update:rows": (rows: TableRow[]) => any;
|
|
17
|
+
"update:forest": (rows?: import("@cat-kit/core").Forest<Record<string, unknown>, any> | undefined) => any;
|
|
18
|
+
"cell-click": (row: TableRow, column: TableColumn, ev: MouseEvent) => any;
|
|
19
|
+
"row-click": (row: TableRow, ev: MouseEvent) => any;
|
|
20
20
|
}, string, import("vue").PublicProps, Readonly<BatchEditProps> & Readonly<{
|
|
21
21
|
"onUpdate:selected"?: ((value: Record<string, any> | undefined) => any) | undefined;
|
|
22
22
|
"onUpdate:checked"?: ((value: Record<string, any>[]) => any) | undefined;
|
|
23
23
|
"onUpdate:current"?: ((row?: TableRow | undefined) => any) | undefined;
|
|
24
|
-
"onUpdate:rows"?: ((rows: TableRow[]) => any) | undefined;
|
|
25
|
-
"onUpdate:forest"?: ((rows?: import("@cat-kit/core").Forest<Record<string, unknown>, any> | undefined) => any) | undefined;
|
|
26
|
-
"onCell-click"?: ((row: TableRow, column: TableColumn, ev: MouseEvent) => any) | undefined;
|
|
27
|
-
"onRow-click"?: ((row: TableRow, ev: MouseEvent) => any) | undefined;
|
|
28
24
|
onCreate?: (() => any) | undefined;
|
|
29
25
|
"onUpdate:data"?: ((value: Record<string, any>[]) => any) | undefined;
|
|
30
26
|
"onCreate-prev"?: ((row: TableRow) => any) | undefined;
|
|
31
27
|
"onCreate-next"?: ((row: TableRow) => any) | undefined;
|
|
32
28
|
"onCreate-child"?: ((row: TableRow) => any) | undefined;
|
|
29
|
+
"onUpdate:rows"?: ((rows: TableRow[]) => any) | undefined;
|
|
30
|
+
"onUpdate:forest"?: ((rows?: import("@cat-kit/core").Forest<Record<string, unknown>, any> | undefined) => any) | undefined;
|
|
31
|
+
"onCell-click"?: ((row: TableRow, column: TableColumn, ev: MouseEvent) => any) | undefined;
|
|
32
|
+
"onRow-click"?: ((row: TableRow, ev: MouseEvent) => any) | undefined;
|
|
33
33
|
}>, {
|
|
34
34
|
cols: string | [string, string];
|
|
35
35
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
@@ -12,12 +12,12 @@ declare const __VLS_export: import("vue").DefineComponent<CascadeProps, {}, {},
|
|
|
12
12
|
onClear?: (() => any) | undefined;
|
|
13
13
|
"onUpdate:label"?: ((label?: string | string[] | undefined) => any) | undefined;
|
|
14
14
|
}>, {
|
|
15
|
-
disabled: boolean;
|
|
16
|
-
readonly: boolean;
|
|
17
15
|
labelKey: string;
|
|
18
16
|
valueKey: string;
|
|
19
17
|
childrenKey: string;
|
|
20
18
|
data: Record<string, any>[];
|
|
19
|
+
disabled: boolean;
|
|
20
|
+
readonly: boolean;
|
|
21
21
|
placeholder: string;
|
|
22
22
|
clearable: boolean;
|
|
23
23
|
filterable: boolean;
|
|
@@ -18,9 +18,9 @@ declare const __VLS_base: import("vue").DefineComponent<__VLS_PublicProps, {}, {
|
|
|
18
18
|
"onUpdate:modelValue"?: ((checked: boolean) => any) | undefined;
|
|
19
19
|
onChange?: ((checked: boolean) => any) | undefined;
|
|
20
20
|
}>, {
|
|
21
|
+
type: import("@veltra/utils").ColorType;
|
|
21
22
|
disabled: boolean;
|
|
22
23
|
readonly: boolean;
|
|
23
|
-
type: import("@veltra/utils").ColorType;
|
|
24
24
|
round: boolean;
|
|
25
25
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
26
26
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
@@ -13,10 +13,10 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_PublicProps, {},
|
|
|
13
13
|
}, string, import("vue").PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
14
14
|
"onUpdate:modelValue"?: ((value: any[]) => any) | undefined;
|
|
15
15
|
}>, {
|
|
16
|
-
disabled: boolean;
|
|
17
|
-
readonly: boolean;
|
|
18
16
|
labelKey: string;
|
|
19
17
|
valueKey: string;
|
|
18
|
+
disabled: boolean;
|
|
19
|
+
readonly: boolean;
|
|
20
20
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
21
21
|
declare const _default: typeof __VLS_export;
|
|
22
22
|
//#endregion
|
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
import _sfc_main$1 from "../icon/icon.js";
|
|
2
2
|
import { CollapseDIKey } from "./di.js";
|
|
3
3
|
import { computed, createBlock, createElementBlock, createElementVNode, createTextVNode, createVNode, defineComponent, inject, normalizeClass, onBeforeUnmount, onMounted, openBlock, ref, renderSlot, resolveDynamicComponent, toDisplayString, unref, watch, withCtx, withKeys, withModifiers } from "vue";
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
4
|
+
import { useModel as useModel$1 } from "@veltra/compositions";
|
|
5
|
+
import { ExpandTransition, bem } from "@veltra/utils";
|
|
6
|
+
import { ArrowDown } from "@veltra/icons/normal";
|
|
6
7
|
//#region src/components/collapse/collapse-item.vue
|
|
7
8
|
const _hoisted_1 = [
|
|
8
9
|
"aria-expanded",
|
|
@@ -16,15 +17,30 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
|
|
|
16
17
|
__name: "collapse-item",
|
|
17
18
|
props: {
|
|
18
19
|
value: {},
|
|
20
|
+
modelValue: {
|
|
21
|
+
type: Boolean,
|
|
22
|
+
default: false
|
|
23
|
+
},
|
|
19
24
|
title: {},
|
|
20
|
-
disabled: { type: Boolean }
|
|
25
|
+
disabled: { type: Boolean },
|
|
26
|
+
expandIcon: {}
|
|
21
27
|
},
|
|
22
|
-
|
|
28
|
+
emits: ["update:modelValue", "change"],
|
|
29
|
+
setup(__props, { emit: __emit }) {
|
|
23
30
|
const props = __props;
|
|
24
|
-
const
|
|
31
|
+
const emit = __emit;
|
|
32
|
+
const context = inject(CollapseDIKey, void 0);
|
|
25
33
|
const cls = context?.cls ?? bem("collapse");
|
|
26
|
-
const
|
|
27
|
-
|
|
34
|
+
const standaloneModel = useModel$1({
|
|
35
|
+
props,
|
|
36
|
+
emit,
|
|
37
|
+
defaultValue: false
|
|
38
|
+
});
|
|
39
|
+
const isActive = computed(() => {
|
|
40
|
+
if (context) return props.value !== void 0 && context.activeValues.value.includes(props.value);
|
|
41
|
+
return !!standaloneModel.value;
|
|
42
|
+
});
|
|
43
|
+
const iconComponent = computed(() => context?.expandIcon.value ?? props.expandIcon ?? ArrowDown);
|
|
28
44
|
const classList = computed(() => [
|
|
29
45
|
cls.e("item"),
|
|
30
46
|
bem.is("active", isActive.value),
|
|
@@ -35,14 +51,21 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
|
|
|
35
51
|
bem.is("disabled", props.disabled),
|
|
36
52
|
bem.is("active", isActive.value)
|
|
37
53
|
]);
|
|
54
|
+
const expandTransition = context?.expandTransition ?? new ExpandTransition({ transition: "height 0.24s cubic-bezier(0.4, 0, 0.2, 1)" });
|
|
38
55
|
const handleClick = () => {
|
|
39
56
|
if (props.disabled) return;
|
|
40
|
-
context
|
|
57
|
+
if (context) {
|
|
58
|
+
if (props.value === void 0) return;
|
|
59
|
+
context.toggle(props.value);
|
|
60
|
+
return;
|
|
61
|
+
}
|
|
62
|
+
const next = !standaloneModel.value;
|
|
63
|
+
standaloneModel.value = next;
|
|
64
|
+
emit("change", next);
|
|
41
65
|
};
|
|
42
66
|
const wrapperEl = ref();
|
|
43
|
-
const { expandTransition } = context;
|
|
44
67
|
onMounted(() => {
|
|
45
|
-
context
|
|
68
|
+
if (context && props.value !== void 0) context.register(props.value);
|
|
46
69
|
if (!wrapperEl.value) return;
|
|
47
70
|
expandTransition.setExpanded(wrapperEl.value, isActive.value);
|
|
48
71
|
});
|
|
@@ -51,7 +74,7 @@ const _sfc_main = /*@__PURE__*/ defineComponent({
|
|
|
51
74
|
active ? expandTransition.expand(wrapperEl.value) : expandTransition.collapse(wrapperEl.value);
|
|
52
75
|
});
|
|
53
76
|
onBeforeUnmount(() => {
|
|
54
|
-
context
|
|
77
|
+
if (context && props.value !== void 0) context.unregister(props.value);
|
|
55
78
|
if (!wrapperEl.value) return;
|
|
56
79
|
expandTransition.cancel(wrapperEl.value);
|
|
57
80
|
});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"collapse-item.js","names":[],"sources":["../../../src/components/collapse/collapse-item.vue"],"sourcesContent":["<template>\n <div :class=\"classList\">\n <div\n :class=\"headerClassList\"\n role=\"button\"\n :aria-expanded=\"isActive\"\n :aria-disabled=\"disabled\"\n :tabindex=\"disabled ? -1 : 0\"\n @click=\"handleClick\"\n @keydown.enter.prevent=\"handleClick\"\n @keydown.space.prevent=\"handleClick\"\n >\n <span :class=\"cls.e('title')\">\n <slot name=\"title\">{{ title }}</slot>\n </span>\n\n <span :class=\"cls.e('icon')\">\n <slot name=\"icon\" :is-active=\"isActive\">\n <UIcon><component :is=\"iconComponent\" /></UIcon>\n </slot>\n </span>\n </div>\n <div ref=\"wrapperEl\" :class=\"cls.e('content-wrapper')\" :aria-hidden=\"!isActive\">\n <div :class=\"cls.e('content')\">\n <slot />\n </div>\n </div>\n </div>\n</template>\n\n<script lang=\"ts\" setup>\nimport {
|
|
1
|
+
{"version":3,"file":"collapse-item.js","names":[],"sources":["../../../src/components/collapse/collapse-item.vue"],"sourcesContent":["<template>\n <div :class=\"classList\">\n <div\n :class=\"headerClassList\"\n role=\"button\"\n :aria-expanded=\"isActive\"\n :aria-disabled=\"disabled\"\n :tabindex=\"disabled ? -1 : 0\"\n @click=\"handleClick\"\n @keydown.enter.prevent=\"handleClick\"\n @keydown.space.prevent=\"handleClick\"\n >\n <span :class=\"cls.e('title')\">\n <slot name=\"title\">{{ title }}</slot>\n </span>\n\n <span :class=\"cls.e('icon')\">\n <slot name=\"icon\" :is-active=\"isActive\">\n <UIcon><component :is=\"iconComponent\" /></UIcon>\n </slot>\n </span>\n </div>\n <div ref=\"wrapperEl\" :class=\"cls.e('content-wrapper')\" :aria-hidden=\"!isActive\">\n <div :class=\"cls.e('content')\">\n <slot />\n </div>\n </div>\n </div>\n</template>\n\n<script lang=\"ts\" setup>\nimport { useModel } from '@veltra/compositions'\nimport { ArrowDown } from '@veltra/icons/normal'\nimport { bem, ExpandTransition } from '@veltra/utils'\nimport { computed, inject, onBeforeUnmount, onMounted, ref, watch } from 'vue'\n\nimport type { CollapseItemEmits, CollapseItemProps } from '../../types'\nimport { UIcon } from '../icon'\nimport { CollapseDIKey } from './di'\n\ndefineOptions({ name: 'UCollapseItem' })\n\nconst props = withDefaults(defineProps<CollapseItemProps>(), { modelValue: false })\nconst emit = defineEmits<CollapseItemEmits>()\n\nconst context = inject(CollapseDIKey, undefined)\n\nconst cls = context?.cls ?? bem('collapse')\n\nconst standaloneModel = useModel<CollapseItemProps, 'modelValue'>({\n props,\n emit,\n defaultValue: false\n})\n\nconst isActive = computed(() => {\n if (context) {\n return props.value !== undefined && context.activeValues.value.includes(props.value)\n }\n return !!standaloneModel.value\n})\n\nconst iconComponent = computed(() => context?.expandIcon.value ?? props.expandIcon ?? ArrowDown)\n\nconst classList = computed(() => [\n cls.e('item'),\n bem.is('active', isActive.value),\n bem.is('disabled', props.disabled)\n])\n\nconst headerClassList = computed(() => [\n cls.e('header'),\n bem.is('disabled', props.disabled),\n bem.is('active', isActive.value)\n])\n\nconst expandTransition =\n context?.expandTransition ??\n new ExpandTransition({ transition: 'height 0.24s cubic-bezier(0.4, 0, 0.2, 1)' })\n\nconst handleClick = () => {\n if (props.disabled) return\n\n if (context) {\n if (props.value === undefined) return\n context.toggle(props.value)\n return\n }\n\n const next = !standaloneModel.value\n standaloneModel.value = next\n emit('change', next)\n}\n\nconst wrapperEl = ref<HTMLElement>()\n\nonMounted(() => {\n if (context && props.value !== undefined) {\n context.register(props.value)\n }\n if (!wrapperEl.value) return\n expandTransition.setExpanded(wrapperEl.value, isActive.value)\n})\n\nwatch(isActive, (active) => {\n if (!wrapperEl.value) return\n active ? expandTransition.expand(wrapperEl.value) : expandTransition.collapse(wrapperEl.value)\n})\n\nonBeforeUnmount(() => {\n if (context && props.value !== undefined) {\n context.unregister(props.value)\n }\n if (!wrapperEl.value) return\n expandTransition.cancel(wrapperEl.value)\n})\n</script>\n"],"mappings":"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"}
|
|
@@ -11,7 +11,15 @@ type __VLS_Slots = {} & {
|
|
|
11
11
|
} & {
|
|
12
12
|
default?: (props: typeof __VLS_16) => any;
|
|
13
13
|
};
|
|
14
|
-
declare const __VLS_base: import("vue").DefineComponent<CollapseItemProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}
|
|
14
|
+
declare const __VLS_base: import("vue").DefineComponent<CollapseItemProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
|
|
15
|
+
"update:modelValue": (value: boolean) => any;
|
|
16
|
+
change: (value: boolean) => any;
|
|
17
|
+
}, string, import("vue").PublicProps, Readonly<CollapseItemProps> & Readonly<{
|
|
18
|
+
"onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
|
19
|
+
onChange?: ((value: boolean) => any) | undefined;
|
|
20
|
+
}>, {
|
|
21
|
+
modelValue: boolean;
|
|
22
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
15
23
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
16
24
|
declare const _default: typeof __VLS_export;
|
|
17
25
|
type __VLS_WithSlots<T, S> = T & {
|
|
@@ -22,37 +22,14 @@
|
|
|
22
22
|
background-color: transparent;
|
|
23
23
|
}
|
|
24
24
|
.u-collapse__item {
|
|
25
|
-
|
|
26
|
-
border-radius:
|
|
25
|
+
border: var(--u-border-muted);
|
|
26
|
+
border-radius: var(--u-radius-default);
|
|
27
|
+
background-color: var(--u-bg-color-middle);
|
|
27
28
|
overflow: hidden;
|
|
28
|
-
background-color: var(--u-collapse-item-bg);
|
|
29
|
-
transition: background-color 0.18s cubic-bezier(0.4, 0, 0.2, 1);
|
|
30
|
-
}
|
|
31
|
-
.u-collapse__item::before {
|
|
32
|
-
content: "";
|
|
33
|
-
position: absolute;
|
|
34
|
-
top: 0;
|
|
35
|
-
bottom: 0;
|
|
36
|
-
left: 0;
|
|
37
|
-
width: 3px;
|
|
38
|
-
background-color: var(--u-color-primary);
|
|
39
|
-
opacity: 0;
|
|
40
|
-
pointer-events: none;
|
|
41
|
-
transition: opacity 0.18s cubic-bezier(0.4, 0, 0.2, 1);
|
|
42
|
-
z-index: 1;
|
|
43
29
|
}
|
|
44
30
|
.u-collapse__item + .u-collapse__item {
|
|
45
31
|
margin-top: var(--u-gap-default);
|
|
46
32
|
}
|
|
47
|
-
.u-collapse__item:not(.is-disabled):hover {
|
|
48
|
-
background-color: var(--u-collapse-item-hover-bg);
|
|
49
|
-
}
|
|
50
|
-
.u-collapse__item.is-active {
|
|
51
|
-
background-color: var(--u-collapse-item-active-bg);
|
|
52
|
-
}
|
|
53
|
-
.u-collapse__item.is-active::before {
|
|
54
|
-
opacity: 1;
|
|
55
|
-
}
|
|
56
33
|
.u-collapse__item.is-disabled {
|
|
57
34
|
opacity: 0.55;
|
|
58
35
|
}
|
|
@@ -60,35 +37,37 @@
|
|
|
60
37
|
position: relative;
|
|
61
38
|
display: flex;
|
|
62
39
|
align-items: center;
|
|
63
|
-
gap:
|
|
40
|
+
gap: var(--u-gap-small);
|
|
41
|
+
padding: var(--u-gap-small) var(--u-gap-default);
|
|
64
42
|
cursor: pointer;
|
|
65
43
|
font-weight: 500;
|
|
66
44
|
letter-spacing: 0.01em;
|
|
67
|
-
color: var(--u-
|
|
45
|
+
color: var(--u-text-color-main);
|
|
68
46
|
user-select: none;
|
|
69
47
|
outline: none;
|
|
70
|
-
transition:
|
|
71
|
-
border-radius:
|
|
48
|
+
transition: background-color 0.18s cubic-bezier(0.4, 0, 0.2, 1);
|
|
49
|
+
border-radius: 0;
|
|
72
50
|
}
|
|
73
51
|
.u-collapse__header:focus-visible {
|
|
74
52
|
box-shadow: inset 0 0 0 2px var(--u-color-primary);
|
|
75
53
|
}
|
|
54
|
+
.u-collapse__header:not(.is-disabled):hover {
|
|
55
|
+
background-color: var(--u-bg-color-hover);
|
|
56
|
+
}
|
|
76
57
|
.u-collapse__header.is-disabled {
|
|
77
58
|
cursor: not-allowed;
|
|
78
59
|
color: var(--u-text-color-placeholder);
|
|
79
60
|
}
|
|
80
61
|
.u-collapse__header.is-active {
|
|
81
|
-
|
|
82
|
-
color: var(--u-collapse-active-title-color, var(--u-color-primary));
|
|
83
|
-
background-color: var(--u-collapse-header-active-bg);
|
|
84
|
-
border-bottom-right-radius: 0;
|
|
85
|
-
border-bottom-left-radius: 0;
|
|
62
|
+
background-color: var(--u-bg-color-hover);
|
|
86
63
|
}
|
|
87
64
|
.u-collapse__header.is-active .u-collapse__icon {
|
|
88
|
-
transform: rotate(
|
|
89
|
-
color: var(--u-collapse-active-title-color, var(--u-color-primary));
|
|
65
|
+
transform: rotate(180deg);
|
|
90
66
|
}
|
|
91
67
|
.u-collapse__title {
|
|
68
|
+
display: flex;
|
|
69
|
+
align-items: center;
|
|
70
|
+
gap: var(--u-gap-small);
|
|
92
71
|
flex: 1 1 auto;
|
|
93
72
|
min-width: 0;
|
|
94
73
|
line-height: 1.5;
|
|
@@ -98,35 +77,34 @@
|
|
|
98
77
|
align-items: center;
|
|
99
78
|
justify-content: center;
|
|
100
79
|
flex: 0 0 auto;
|
|
101
|
-
color: var(--u-text-color-
|
|
102
|
-
transition: transform 0.
|
|
80
|
+
color: var(--u-text-color-assist);
|
|
81
|
+
transition: transform 0.2s cubic-bezier(0.4, 0, 0.2, 1);
|
|
103
82
|
will-change: transform;
|
|
104
83
|
}
|
|
105
84
|
.u-collapse__content-wrapper {
|
|
106
85
|
overflow: hidden;
|
|
107
86
|
height: 0;
|
|
108
|
-
|
|
109
|
-
border-bottom-left-radius: inherit;
|
|
110
|
-
background-color: var(--u-collapse-content-bg);
|
|
87
|
+
background-color: transparent;
|
|
111
88
|
transition: height 0.24s cubic-bezier(0.4, 0, 0.2, 1);
|
|
112
89
|
}
|
|
113
90
|
.u-collapse__content {
|
|
114
91
|
color: var(--u-text-color-main);
|
|
115
92
|
line-height: 1.7;
|
|
93
|
+
padding: var(--u-gap-small) var(--u-gap-default);
|
|
116
94
|
}
|
|
117
95
|
.u-collapse--small {
|
|
118
96
|
font-size: var(--u-font-size-main-small);
|
|
119
97
|
}
|
|
120
98
|
.u-collapse--small .u-collapse__header {
|
|
121
|
-
padding:
|
|
99
|
+
padding: var(--u-gap-small) var(--u-gap-small);
|
|
122
100
|
font-size: var(--u-font-size-main-small);
|
|
123
101
|
}
|
|
124
102
|
.u-collapse--small .u-collapse__content {
|
|
125
103
|
font-size: var(--u-font-size-main-small);
|
|
126
|
-
padding:
|
|
104
|
+
padding: var(--u-gap-small);
|
|
127
105
|
}
|
|
128
106
|
.u-collapse--small .u-collapse__item {
|
|
129
|
-
border-radius:
|
|
107
|
+
border-radius: var(--u-radius-small);
|
|
130
108
|
}
|
|
131
109
|
.u-collapse--small .u-collapse__item + .u-collapse__item {
|
|
132
110
|
margin-top: var(--u-gap-small);
|
|
@@ -135,15 +113,15 @@
|
|
|
135
113
|
font-size: var(--u-font-size-main-default);
|
|
136
114
|
}
|
|
137
115
|
.u-collapse--default .u-collapse__header {
|
|
138
|
-
padding:
|
|
116
|
+
padding: var(--u-gap-default) var(--u-gap-default);
|
|
139
117
|
font-size: var(--u-font-size-main-default);
|
|
140
118
|
}
|
|
141
119
|
.u-collapse--default .u-collapse__content {
|
|
142
120
|
font-size: var(--u-font-size-main-default);
|
|
143
|
-
padding:
|
|
121
|
+
padding: var(--u-gap-default);
|
|
144
122
|
}
|
|
145
123
|
.u-collapse--default .u-collapse__item {
|
|
146
|
-
border-radius:
|
|
124
|
+
border-radius: var(--u-radius-default);
|
|
147
125
|
}
|
|
148
126
|
.u-collapse--default .u-collapse__item + .u-collapse__item {
|
|
149
127
|
margin-top: var(--u-gap-default);
|
|
@@ -152,15 +130,15 @@
|
|
|
152
130
|
font-size: var(--u-font-size-main-large);
|
|
153
131
|
}
|
|
154
132
|
.u-collapse--large .u-collapse__header {
|
|
155
|
-
padding:
|
|
133
|
+
padding: var(--u-gap-large) var(--u-gap-large);
|
|
156
134
|
font-size: var(--u-font-size-main-large);
|
|
157
135
|
}
|
|
158
136
|
.u-collapse--large .u-collapse__content {
|
|
159
137
|
font-size: var(--u-font-size-main-large);
|
|
160
|
-
padding:
|
|
138
|
+
padding: var(--u-gap-large);
|
|
161
139
|
}
|
|
162
140
|
.u-collapse--large .u-collapse__item {
|
|
163
|
-
border-radius:
|
|
141
|
+
border-radius: var(--u-radius-large);
|
|
164
142
|
}
|
|
165
143
|
.u-collapse--large .u-collapse__item + .u-collapse__item {
|
|
166
144
|
margin-top: var(--u-gap-large);
|
|
@@ -8,8 +8,8 @@ declare const __VLS_export: import("vue").DefineComponent<DatePanelProps, {}, {}
|
|
|
8
8
|
"onSelect:range-date"?: ((rangeDate?: [import("@cat-kit/core").Dater, import("@cat-kit/core").Dater] | undefined) => any) | undefined;
|
|
9
9
|
"onSelect:date"?: ((date: import("@cat-kit/core").Dater) => any) | undefined;
|
|
10
10
|
}>, {
|
|
11
|
-
size: import("@veltra/utils").ComponentSize;
|
|
12
11
|
type: "date" | "month" | "year";
|
|
12
|
+
size: import("@veltra/utils").ComponentSize;
|
|
13
13
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
14
14
|
declare const _default: typeof __VLS_export;
|
|
15
15
|
//#endregion
|
|
@@ -6,9 +6,9 @@ declare const __VLS_export: import("vue").DefineComponent<DatePickerProps, {}, {
|
|
|
6
6
|
}, string, import("vue").PublicProps, Readonly<DatePickerProps> & Readonly<{
|
|
7
7
|
"onUpdate:modelValue"?: ((value?: string | number | Date | undefined) => any) | undefined;
|
|
8
8
|
}>, {
|
|
9
|
+
type: "date" | "month" | "year";
|
|
9
10
|
disabled: boolean;
|
|
10
11
|
readonly: boolean;
|
|
11
|
-
type: "date" | "month" | "year";
|
|
12
12
|
placeholder: string;
|
|
13
13
|
clearable: boolean;
|
|
14
14
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
@@ -6,9 +6,9 @@ declare const __VLS_export: import("vue").DefineComponent<DateRangePickerProps,
|
|
|
6
6
|
}, string, import("vue").PublicProps, Readonly<DateRangePickerProps> & Readonly<{
|
|
7
7
|
"onUpdate:modelValue"?: ((value?: [string, string] | undefined) => any) | undefined;
|
|
8
8
|
}>, {
|
|
9
|
+
type: "date" | "month" | "year";
|
|
9
10
|
disabled: boolean;
|
|
10
11
|
readonly: boolean;
|
|
11
|
-
type: "date" | "month" | "year";
|
|
12
12
|
placeholder: [string, string];
|
|
13
13
|
clearable: boolean;
|
|
14
14
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
@@ -10,8 +10,8 @@ declare const __VLS_export: import("vue").DefineComponent<GridInputProps, import
|
|
|
10
10
|
onInput?: ((value: string) => any) | undefined;
|
|
11
11
|
}>, {
|
|
12
12
|
length: number;
|
|
13
|
-
zero: boolean;
|
|
14
13
|
separator: string;
|
|
14
|
+
zero: boolean;
|
|
15
15
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
16
16
|
declare const _default: typeof __VLS_export;
|
|
17
17
|
//#endregion
|
|
@@ -17,19 +17,19 @@ declare const __VLS_base: import("vue").DefineComponent<__VLS_PublicProps, _Inpu
|
|
|
17
17
|
} & {
|
|
18
18
|
"update:modelValue": (value: string) => any;
|
|
19
19
|
change: (value: string) => any;
|
|
20
|
-
clear: () => any;
|
|
21
20
|
"suffix:click": (value?: string | undefined) => any;
|
|
22
21
|
"prefix:click": (value?: string | undefined) => any;
|
|
23
22
|
focus: (value?: string | undefined) => any;
|
|
23
|
+
clear: () => any;
|
|
24
24
|
blur: (value?: string | undefined) => any;
|
|
25
25
|
"native:input": (ev: Event) => any;
|
|
26
26
|
}, string, import("vue").PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
27
27
|
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
28
28
|
onChange?: ((value: string) => any) | undefined;
|
|
29
|
-
onClear?: (() => any) | undefined;
|
|
30
29
|
"onSuffix:click"?: ((value?: string | undefined) => any) | undefined;
|
|
31
30
|
"onPrefix:click"?: ((value?: string | undefined) => any) | undefined;
|
|
32
31
|
onFocus?: ((value?: string | undefined) => any) | undefined;
|
|
32
|
+
onClear?: (() => any) | undefined;
|
|
33
33
|
onBlur?: ((value?: string | undefined) => any) | undefined;
|
|
34
34
|
"onNative:input"?: ((ev: Event) => any) | undefined;
|
|
35
35
|
}>, {
|
|
@@ -27,10 +27,10 @@ declare const __VLS_base: import("vue").DefineComponent<__VLS_PublicProps, {}, {
|
|
|
27
27
|
"onUpdate:modelValue"?: ((value: any[]) => any) | undefined;
|
|
28
28
|
onChange?: ((options: Record<string, any>[]) => any) | undefined;
|
|
29
29
|
}>, {
|
|
30
|
-
disabled: boolean;
|
|
31
|
-
readonly: boolean;
|
|
32
30
|
labelKey: string;
|
|
33
31
|
valueKey: string;
|
|
32
|
+
disabled: boolean;
|
|
33
|
+
readonly: boolean;
|
|
34
34
|
placeholder: string;
|
|
35
35
|
clearable: boolean;
|
|
36
36
|
minWidth: string;
|
|
@@ -21,11 +21,11 @@ declare const __VLS_base: import("vue").DefineComponent<__VLS_PublicProps, {}, {
|
|
|
21
21
|
onChange?: ((checked: Record<string, any>[]) => any) | undefined;
|
|
22
22
|
onClear?: (() => any) | undefined;
|
|
23
23
|
}>, {
|
|
24
|
-
disabled: boolean;
|
|
25
|
-
readonly: boolean;
|
|
26
24
|
expandAll: boolean;
|
|
27
25
|
labelKey: string;
|
|
28
26
|
valueKey: string;
|
|
27
|
+
disabled: boolean;
|
|
28
|
+
readonly: boolean;
|
|
29
29
|
placeholder: string;
|
|
30
30
|
clearable: boolean;
|
|
31
31
|
filterable: boolean;
|
|
@@ -26,9 +26,9 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_PublicProps, {},
|
|
|
26
26
|
disabled: boolean;
|
|
27
27
|
readonly: boolean;
|
|
28
28
|
clearable: boolean;
|
|
29
|
-
separator: string;
|
|
30
29
|
startPlaceholder: string;
|
|
31
30
|
endPlaceholder: string;
|
|
31
|
+
separator: string;
|
|
32
32
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
33
33
|
declare const _default: typeof __VLS_export;
|
|
34
34
|
//#endregion
|
|
@@ -15,10 +15,10 @@ declare const __VLS_export: import("vue").DefineComponent<__VLS_PublicProps, {},
|
|
|
15
15
|
"onUpdate:modelValue"?: ((value: any) => any) | undefined;
|
|
16
16
|
onChange?: ((item: Record<string, any>) => any) | undefined;
|
|
17
17
|
}>, {
|
|
18
|
-
disabled: boolean;
|
|
19
|
-
readonly: boolean;
|
|
20
18
|
labelKey: string;
|
|
21
19
|
valueKey: string;
|
|
20
|
+
disabled: boolean;
|
|
21
|
+
readonly: boolean;
|
|
22
22
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
23
23
|
declare const _default: typeof __VLS_export;
|
|
24
24
|
//#endregion
|
|
@@ -19,10 +19,10 @@ declare const __VLS_base: import("vue").DefineComponent<SelectProps, {}, {}, {},
|
|
|
19
19
|
onChange?: ((option?: Record<string, any> | undefined) => any) | undefined;
|
|
20
20
|
"onUpdate:text"?: ((text?: string | undefined) => any) | undefined;
|
|
21
21
|
}>, {
|
|
22
|
-
disabled: boolean;
|
|
23
|
-
readonly: boolean;
|
|
24
22
|
labelKey: string;
|
|
25
23
|
valueKey: string;
|
|
24
|
+
disabled: boolean;
|
|
25
|
+
readonly: boolean;
|
|
26
26
|
placeholder: string;
|
|
27
27
|
clearable: boolean;
|
|
28
28
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
|
|
@@ -19,46 +19,46 @@
|
|
|
19
19
|
padding: 0;
|
|
20
20
|
margin: 0;
|
|
21
21
|
}
|
|
22
|
-
.u-steps__finished--
|
|
22
|
+
.u-steps__finished--primary .u-steps__item.is-finished {
|
|
23
23
|
color: var(--u-color-primary);
|
|
24
24
|
}
|
|
25
|
-
.u-steps__current--
|
|
25
|
+
.u-steps__current--primary .u-steps__item.is-current {
|
|
26
26
|
color: var(--u-color-primary);
|
|
27
27
|
}
|
|
28
|
-
.u-steps__finished--
|
|
28
|
+
.u-steps__finished--success .u-steps__item.is-finished {
|
|
29
29
|
color: var(--u-color-success);
|
|
30
30
|
}
|
|
31
|
-
.u-steps__current--
|
|
31
|
+
.u-steps__current--success .u-steps__item.is-current {
|
|
32
32
|
color: var(--u-color-success);
|
|
33
33
|
}
|
|
34
|
-
.u-steps__finished--
|
|
34
|
+
.u-steps__finished--warning .u-steps__item.is-finished {
|
|
35
35
|
color: var(--u-color-warning);
|
|
36
36
|
}
|
|
37
|
-
.u-steps__current--
|
|
37
|
+
.u-steps__current--warning .u-steps__item.is-current {
|
|
38
38
|
color: var(--u-color-warning);
|
|
39
39
|
}
|
|
40
|
-
.u-steps__finished--
|
|
40
|
+
.u-steps__finished--danger .u-steps__item.is-finished {
|
|
41
41
|
color: var(--u-color-danger);
|
|
42
42
|
}
|
|
43
|
-
.u-steps__current--
|
|
43
|
+
.u-steps__current--danger .u-steps__item.is-current {
|
|
44
44
|
color: var(--u-color-danger);
|
|
45
45
|
}
|
|
46
|
-
.u-steps__finished--
|
|
46
|
+
.u-steps__finished--info .u-steps__item.is-finished {
|
|
47
47
|
color: var(--u-color-info);
|
|
48
48
|
}
|
|
49
|
-
.u-steps__current--
|
|
49
|
+
.u-steps__current--info .u-steps__item.is-current {
|
|
50
50
|
color: var(--u-color-info);
|
|
51
51
|
}
|
|
52
|
-
.u-steps__finished--
|
|
52
|
+
.u-steps__finished--disabled .u-steps__item.is-finished {
|
|
53
53
|
color: var(--u-color-disabled);
|
|
54
54
|
}
|
|
55
|
-
.u-steps__current--
|
|
55
|
+
.u-steps__current--disabled .u-steps__item.is-current {
|
|
56
56
|
color: var(--u-color-disabled);
|
|
57
57
|
}
|
|
58
|
-
.u-steps__finished--
|
|
58
|
+
.u-steps__finished--default .u-steps__item.is-finished {
|
|
59
59
|
color: var(--u-color-default);
|
|
60
60
|
}
|
|
61
|
-
.u-steps__current--
|
|
61
|
+
.u-steps__current--default .u-steps__item.is-current {
|
|
62
62
|
color: var(--u-color-default);
|
|
63
63
|
}
|
|
64
64
|
.u-steps {
|
|
@@ -16,12 +16,12 @@ declare const __VLS_base: import("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, import("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
26
|
closable: boolean;
|
|
27
27
|
block: boolean;
|
|
@@ -16,12 +16,12 @@ declare const __VLS_base: import("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, import("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
26
|
closable: boolean;
|
|
27
27
|
rounded: boolean;
|
|
@@ -11,12 +11,12 @@ declare const __VLS_base: import("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, import("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
21
|
closable: boolean;
|
|
22
22
|
block: boolean;
|