@robot-admin/naive-ui-components 0.17.5 → 0.18.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/CHANGELOG.md +16 -0
- package/dist/C_AntV.css +10 -10
- package/dist/C_AntV.d.cts +2 -2
- package/dist/C_AntV.d.ts +2 -2
- package/dist/C_AntV2.cjs +1 -1
- package/dist/C_AntV2.js +1 -1
- package/dist/C_Date.cjs +1 -1
- package/dist/C_Date.css +5 -5
- package/dist/C_Date.d.cts +18 -2
- package/dist/C_Date.d.ts +18 -2
- package/dist/C_Date.js +1 -1
- package/dist/C_Date2.cjs +1 -1
- package/dist/C_Date2.js +1 -1
- package/dist/C_Draggable.css +53 -53
- package/dist/C_Draggable.d.cts +2 -2
- package/dist/C_Draggable.d.ts +2 -2
- package/dist/C_Draggable2.cjs +1 -1
- package/dist/C_Draggable2.js +1 -1
- package/dist/C_Editor.d.cts +1 -1
- package/dist/C_Editor.d.ts +1 -1
- package/dist/C_FormModal.d.cts +1 -1
- package/dist/C_FormModal.d.ts +1 -1
- package/dist/C_FormSearch.cjs +1 -1
- package/dist/C_FormSearch.css +52 -52
- package/dist/C_FormSearch.d.cts +18 -2
- package/dist/C_FormSearch.d.ts +18 -2
- package/dist/C_FormSearch.js +1 -1
- package/dist/C_FormSearch2.cjs +1 -1
- package/dist/C_FormSearch2.js +1 -1
- package/dist/C_Guide.d.cts +1 -1
- package/dist/C_Guide.d.ts +1 -1
- package/dist/C_Icon.d.cts +1 -1
- package/dist/C_Icon.d.ts +1 -1
- package/dist/C_Language.d.cts +1 -1
- package/dist/C_Language.d.ts +1 -1
- package/dist/C_Loading.d.cts +1 -1
- package/dist/C_Loading.d.ts +1 -1
- package/dist/C_Login.d.cts +1 -1
- package/dist/C_Login.d.ts +1 -1
- package/dist/C_Markdown.d.cts +1 -1
- package/dist/C_Markdown.d.ts +1 -1
- package/dist/C_Menu.d.ts +1 -1
- package/dist/C_OrgChart.d.cts +1 -1
- package/dist/C_OrgChart.d.ts +1 -1
- package/dist/C_Progress.d.cts +1 -1
- package/dist/C_Progress.d.ts +1 -1
- package/dist/C_Skeleton.d.cts +1 -1
- package/dist/C_Skeleton.d.ts +1 -1
- package/dist/C_Steps.d.cts +1 -1
- package/dist/C_Steps.d.ts +1 -1
- package/dist/C_Table.base.css +144 -155
- package/dist/C_Table.css +144 -155
- package/dist/C_Table.d.cts +2 -2
- package/dist/C_Table.d.ts +6 -6
- package/dist/C_TagsView.d.cts +1 -1
- package/dist/C_TagsView.d.ts +1 -1
- package/dist/C_Theme.d.cts +1 -1
- package/dist/C_Theme.d.ts +1 -1
- package/dist/C_Time.cjs +1 -1
- package/dist/C_Time.css +4 -4
- package/dist/C_Time.d.cts +18 -2
- package/dist/C_Time.d.ts +18 -2
- package/dist/C_Time.js +1 -1
- package/dist/C_Time2.cjs +1 -1
- package/dist/C_Time2.js +1 -1
- package/dist/C_Timeline.d.cts +1 -1
- package/dist/C_Timeline.d.ts +1 -1
- package/dist/C_Transfer.css +26 -26
- package/dist/C_Transfer.d.cts +2 -2
- package/dist/C_Transfer.d.ts +2 -2
- package/dist/C_Transfer2.cjs +1 -1
- package/dist/C_Transfer2.js +1 -1
- package/dist/C_Tree.css +23 -23
- package/dist/C_Tree.d.ts +4 -4
- package/dist/C_Tree2.cjs +1 -1
- package/dist/C_Tree2.js +1 -1
- package/dist/C_VtableGantt.cjs +1 -1
- package/dist/C_VtableGantt.css +31 -31
- package/dist/C_VtableGantt.d.cts +18 -2
- package/dist/C_VtableGantt.d.ts +18 -2
- package/dist/C_VtableGantt.js +1 -1
- package/dist/C_WorkFlow.css +150 -150
- package/dist/C_WorkFlow.d.cts +2 -2
- package/dist/C_WorkFlow.d.ts +2 -2
- package/dist/C_WorkFlow2.cjs +1 -1
- package/dist/C_WorkFlow2.js +1 -1
- package/dist/constants3.d.cts +2 -2
- package/dist/constants3.d.ts +2 -2
- package/dist/constants4.d.cts +5 -5
- package/dist/constants4.d.ts +5 -5
- package/dist/constants5.d.cts +2 -2
- package/dist/constants5.d.ts +2 -2
- package/dist/data.d.cts +9 -9
- package/dist/data.d.ts +9 -9
- package/dist/dateRange.d.cts +197 -0
- package/dist/dateRange.d.ts +197 -0
- package/dist/graphics.cjs +1 -0
- package/dist/graphics.d.cts +837 -0
- package/dist/graphics.d.ts +837 -0
- package/dist/graphics.js +1 -0
- package/dist/index.cjs +1 -1
- package/dist/index.d.cts +47 -43
- package/dist/index.d.ts +47 -44
- package/dist/index.js +1 -1
- package/dist/index.vue.d.cts +4 -4
- package/dist/index.vue.d.ts +4 -4
- package/dist/index10.vue.d.cts +3 -3
- package/dist/index10.vue.d.ts +54 -69
- package/dist/index11.vue.d.cts +54 -69
- package/dist/index11.vue.d.ts +52 -58
- package/dist/index12.vue.d.cts +52 -58
- package/dist/index12.vue.d.ts +124 -50
- package/dist/index13.vue.d.cts +124 -50
- package/dist/index13.vue.d.ts +51 -123
- package/dist/index14.vue.d.cts +51 -123
- package/dist/index14.vue.d.ts +26 -52
- package/dist/index15.vue.d.cts +26 -52
- package/dist/index15.vue.d.ts +12 -26
- package/dist/index16.vue.d.cts +12 -26
- package/dist/index16.vue.d.ts +129 -13
- package/dist/index17.vue.d.cts +129 -13
- package/dist/index17.vue.d.ts +76 -129
- package/dist/index18.vue.d.cts +76 -129
- package/dist/index18.vue.d.ts +65 -75
- package/dist/index19.vue.d.cts +97 -75
- package/dist/index19.vue.d.ts +94 -62
- package/dist/index20.vue.d.cts +40 -91
- package/dist/index20.vue.d.ts +40 -91
- package/dist/index21.vue.d.cts +89 -40
- package/dist/index21.vue.d.ts +89 -40
- package/dist/index22.vue.d.cts +37 -95
- package/dist/index22.vue.d.ts +37 -95
- package/dist/index23.vue.d.cts +8 -34
- package/dist/index23.vue.d.ts +8 -34
- package/dist/index24.vue.d.cts +86 -9
- package/dist/index24.vue.d.ts +86 -9
- package/dist/index25.vue.d.cts +99 -654
- package/dist/index25.vue.d.ts +99 -654
- package/dist/index26.vue.d.cts +66 -87
- package/dist/index26.vue.d.ts +66 -87
- package/dist/index3.vue.d.cts +5 -5
- package/dist/index3.vue.d.ts +5 -5
- package/dist/index4.vue.d.cts +3 -3
- package/dist/index6.vue.d.ts +1 -1
- package/dist/index7.vue.d.cts +1 -1
- package/dist/index8.vue.d.ts +2 -2
- package/dist/index9.vue.d.cts +2 -2
- package/dist/index9.vue.d.ts +3 -3
- package/dist/mapUtils.d.cts +1 -1
- package/dist/mapUtils.d.ts +1 -1
- package/dist/presets.d.cts +1 -1
- package/dist/presets.d.ts +1 -1
- package/dist/style.css +499 -510
- package/dist/types.d.ts +51 -0
- package/dist/types2.d.cts +51 -0
- package/dist/useCalendarEvents.d.cts +3 -3
- package/dist/useCalendarEvents.d.ts +3 -3
- package/dist/useCollapsePanel.d.cts +7 -7
- package/dist/useCollapsePanel.d.ts +7 -7
- package/dist/useCropperCore.d.cts +7 -7
- package/dist/useCropperCore.d.ts +7 -7
- package/dist/useDraggableLayout.d.cts +94 -125
- package/dist/useDraggableLayout.d.ts +94 -125
- package/dist/useDynamicFormState.d.cts +24 -11
- package/dist/useDynamicFormState.d.ts +24 -11
- package/dist/useEdgeInteraction.d.cts +10 -5
- package/dist/useEdgeInteraction.d.ts +10 -5
- package/dist/useFullscreen.d.cts +3 -3
- package/dist/useFullscreen.d.ts +3 -3
- package/dist/useQRCode.d.cts +5 -5
- package/dist/useQRCode.d.ts +5 -5
- package/dist/useSignatureHistory.d.cts +5 -5
- package/dist/useSignatureHistory.d.ts +5 -5
- package/dist/useSplitResize.d.cts +6 -6
- package/dist/useSplitResize.d.ts +6 -6
- package/dist/useTableQuery.cjs +2 -2
- package/dist/useTableQuery.d.cts +475 -463
- package/dist/useTableQuery.d.ts +475 -463
- package/dist/useTableQuery.js +2 -2
- package/dist/useTimeSelection.d.cts +19 -52
- package/dist/useTimeSelection.d.ts +19 -52
- package/dist/useWorkflowValidation.d.cts +533 -154
- package/dist/useWorkflowValidation.d.ts +533 -154
- package/docs/guides/usage.en.md +15 -0
- package/docs/guides/usage.md +15 -0
- package/package.json +1 -1
- package/dist/C_VtableGantt2.cjs +0 -1
- package/dist/C_VtableGantt2.js +0 -1
- package/dist/index27.vue.d.cts +0 -111
- package/dist/index27.vue.d.ts +0 -111
- package/dist/index28.vue.d.cts +0 -84
- package/dist/index28.vue.d.ts +0 -84
- package/dist/useSearchState.d.cts +0 -163
- package/dist/useSearchState.d.ts +0 -163
package/dist/index26.vue.d.cts
CHANGED
|
@@ -1,96 +1,75 @@
|
|
|
1
|
-
import { i as TagItem } from "./types.cjs";
|
|
2
1
|
import * as vue from "vue";
|
|
3
|
-
import { Ref } from "vue";
|
|
4
2
|
|
|
5
|
-
//#region src/components/
|
|
6
|
-
interface UseTagsViewOptions {
|
|
7
|
-
/** localStorage 持久化 key,传空字符串则不持久化 */
|
|
8
|
-
persistKey?: string;
|
|
9
|
-
/** 首页路径,用于 removeAll 后的回退 */
|
|
10
|
-
homePath?: string;
|
|
11
|
-
}
|
|
3
|
+
//#region src/components/C_Transfer/types.d.ts
|
|
12
4
|
/**
|
|
13
|
-
*
|
|
14
|
-
*
|
|
15
|
-
* 独立于组件使用 — 可在任何地方管理标签状态
|
|
16
|
-
*
|
|
17
|
-
* @example 独立使用
|
|
18
|
-
* ```ts
|
|
19
|
-
* const tags = useTagsView({ persistKey: 'my-tags' })
|
|
20
|
-
* tags.addTag({ path: '/home', title: '首页', meta: { affix: true } })
|
|
21
|
-
* ```
|
|
5
|
+
* @Description: 穿梭框组件类型定义
|
|
22
6
|
*/
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
close?: string;
|
|
40
|
-
closeOthers?: string;
|
|
41
|
-
closeLeft?: string;
|
|
42
|
-
closeRight?: string;
|
|
43
|
-
closeAll?: string;
|
|
7
|
+
/** 穿梭框数据项 */
|
|
8
|
+
interface TransferItem<K extends string | number = string | number> {
|
|
9
|
+
/** 唯一标识 */
|
|
10
|
+
key: K;
|
|
11
|
+
/** 显示标签 */
|
|
12
|
+
label: string;
|
|
13
|
+
/** 是否禁用 */
|
|
14
|
+
disabled?: boolean;
|
|
15
|
+
/** 分组名称 */
|
|
16
|
+
group?: string;
|
|
17
|
+
/** 描述信息(用于详细模式) */
|
|
18
|
+
description?: string;
|
|
19
|
+
/** 图标(Iconify) */
|
|
20
|
+
icon?: string;
|
|
21
|
+
/** 额外数据 */
|
|
22
|
+
extra?: Record<string, unknown>;
|
|
44
23
|
}
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
24
|
+
/** 组件 Props */
|
|
25
|
+
interface TransferProps<T extends TransferItem = TransferItem> {
|
|
26
|
+
/** 数据源 */
|
|
27
|
+
data: readonly T[];
|
|
28
|
+
/** 右侧已选 key 列表 (v-model) */
|
|
29
|
+
modelValue: readonly NoInfer<T['key']>[];
|
|
30
|
+
/** 左右栏标题 */
|
|
31
|
+
titles?: [string, string];
|
|
32
|
+
/** 是否可搜索 */
|
|
33
|
+
filterable?: boolean;
|
|
34
|
+
/** 搜索占位符 */
|
|
35
|
+
filterPlaceholder?: string;
|
|
36
|
+
/** 自定义筛选函数 */
|
|
37
|
+
filterMethod?: (query: string, item: T) => boolean;
|
|
38
|
+
/** 是否显示全选复选框 */
|
|
39
|
+
showSelectAll?: boolean;
|
|
40
|
+
/** 左侧空状态描述 */
|
|
41
|
+
sourceEmptyText?: string;
|
|
42
|
+
/** 右侧空状态描述 */
|
|
43
|
+
targetEmptyText?: string;
|
|
44
|
+
/** 尺寸 */
|
|
45
|
+
size?: 'small' | 'medium' | 'large';
|
|
46
|
+
/** 大列表自动使用虚拟滚动;自定义可变行高或需要完整 DOM 时可关闭。默认 true,100 项起启用。 */
|
|
47
|
+
virtualScroll?: boolean;
|
|
48
|
+
}
|
|
49
|
+
/** 事件保留数据源的键类型,例如纯数字键仍为 number[]。 */
|
|
50
|
+
interface TransferEmits<T extends TransferItem = TransferItem> {
|
|
51
|
+
'update:modelValue': [value: Array<T['key']>];
|
|
52
|
+
change: [targetKeys: Array<T['key']>, direction: 'left' | 'right', moveKeys: Array<T['key']>];
|
|
53
53
|
}
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
54
|
+
/** 默认 Props */
|
|
55
|
+
declare const DEFAULT_TRANSFER_PROPS: Partial<TransferProps>;
|
|
56
|
+
//#endregion
|
|
57
|
+
//#region src/components/C_Transfer/index.vue.d.ts
|
|
58
|
+
declare const __VLS_export: <T extends TransferItem = TransferItem>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_exposed?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
|
|
59
|
+
props: vue.PublicProps & __VLS_PrettifyLocal<TransferProps<T> & {
|
|
60
|
+
"onUpdate:modelValue"?: ((value: T["key"][]) => any) | undefined;
|
|
61
|
+
onChange?: ((targetKeys: T["key"][], direction: "right" | "left", moveKeys: T["key"][]) => any) | undefined;
|
|
62
|
+
}> & (typeof globalThis extends {
|
|
63
|
+
__VLS_PROPS_FALLBACK: infer P;
|
|
64
|
+
} ? P : {});
|
|
65
|
+
expose: (exposed: {}) => void;
|
|
66
|
+
attrs: any;
|
|
67
|
+
slots: {};
|
|
68
|
+
emit: ((evt: "update:modelValue", value: T["key"][]) => void) & ((evt: "change", targetKeys: T["key"][], direction: "right" | "left", moveKeys: T["key"][]) => void);
|
|
69
|
+
}>) => vue.VNode & {
|
|
70
|
+
__ctx?: NonNullable<Awaited<typeof __VLS_setup>>;
|
|
65
71
|
};
|
|
66
|
-
declare const __VLS_export: vue.DefineComponent<__VLS_Props, {
|
|
67
|
-
/** useTagsView composable 实例 */tags: {
|
|
68
|
-
tagsViewList: vue.Ref<TagItem[], TagItem[]>;
|
|
69
|
-
activeTag: vue.Ref<string, string>;
|
|
70
|
-
homePath: string;
|
|
71
|
-
initTags: (tags?: TagItem[]) => void;
|
|
72
|
-
setActiveTag: (path: string) => void;
|
|
73
|
-
addTag: (tag: TagItem) => void;
|
|
74
|
-
removeTag: (index: number) => string | null;
|
|
75
|
-
removeOtherTags: (index: number) => void;
|
|
76
|
-
removeLeftTags: (index: number) => void;
|
|
77
|
-
removeRightTags: (index: number) => void;
|
|
78
|
-
removeAllTags: () => void;
|
|
79
|
-
}; /** 滚动到指定标签 */
|
|
80
|
-
scrollToTag: (path: string) => void;
|
|
81
|
-
}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
|
|
82
|
-
close: (fallbackPath: string) => any;
|
|
83
|
-
closeAll: () => any;
|
|
84
|
-
}, string, vue.PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
85
|
-
onClose?: ((fallbackPath: string) => any) | undefined;
|
|
86
|
-
onCloseAll?: (() => any) | undefined;
|
|
87
|
-
}>, {
|
|
88
|
-
homePath: string;
|
|
89
|
-
homeTitle: string;
|
|
90
|
-
homeIcon: string;
|
|
91
|
-
persistKey: string;
|
|
92
|
-
contextMenuLabels: LegacyContextMenuLabels;
|
|
93
|
-
}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
|
|
94
72
|
declare const _default: typeof __VLS_export;
|
|
73
|
+
type __VLS_PrettifyLocal<T> = (T extends any ? { [K in keyof T]: T[K] } : { [K in keyof T as K]: T[K] }) & {};
|
|
95
74
|
//#endregion
|
|
96
|
-
export {
|
|
75
|
+
export { TransferProps as a, TransferItem as i, DEFAULT_TRANSFER_PROPS as n, TransferEmits as r, _default as t };
|
package/dist/index26.vue.d.ts
CHANGED
|
@@ -1,96 +1,75 @@
|
|
|
1
|
-
import { s as TagItem } from "./public.js";
|
|
2
1
|
import * as vue from "vue";
|
|
3
|
-
import { Ref } from "vue";
|
|
4
2
|
|
|
5
|
-
//#region src/components/
|
|
6
|
-
interface UseTagsViewOptions {
|
|
7
|
-
/** localStorage 持久化 key,传空字符串则不持久化 */
|
|
8
|
-
persistKey?: string;
|
|
9
|
-
/** 首页路径,用于 removeAll 后的回退 */
|
|
10
|
-
homePath?: string;
|
|
11
|
-
}
|
|
3
|
+
//#region src/components/C_Transfer/types.d.ts
|
|
12
4
|
/**
|
|
13
|
-
*
|
|
14
|
-
*
|
|
15
|
-
* 独立于组件使用 — 可在任何地方管理标签状态
|
|
16
|
-
*
|
|
17
|
-
* @example 独立使用
|
|
18
|
-
* ```ts
|
|
19
|
-
* const tags = useTagsView({ persistKey: 'my-tags' })
|
|
20
|
-
* tags.addTag({ path: '/home', title: '首页', meta: { affix: true } })
|
|
21
|
-
* ```
|
|
5
|
+
* @Description: 穿梭框组件类型定义
|
|
22
6
|
*/
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
close?: string;
|
|
40
|
-
closeOthers?: string;
|
|
41
|
-
closeLeft?: string;
|
|
42
|
-
closeRight?: string;
|
|
43
|
-
closeAll?: string;
|
|
7
|
+
/** 穿梭框数据项 */
|
|
8
|
+
interface TransferItem<K extends string | number = string | number> {
|
|
9
|
+
/** 唯一标识 */
|
|
10
|
+
key: K;
|
|
11
|
+
/** 显示标签 */
|
|
12
|
+
label: string;
|
|
13
|
+
/** 是否禁用 */
|
|
14
|
+
disabled?: boolean;
|
|
15
|
+
/** 分组名称 */
|
|
16
|
+
group?: string;
|
|
17
|
+
/** 描述信息(用于详细模式) */
|
|
18
|
+
description?: string;
|
|
19
|
+
/** 图标(Iconify) */
|
|
20
|
+
icon?: string;
|
|
21
|
+
/** 额外数据 */
|
|
22
|
+
extra?: Record<string, unknown>;
|
|
44
23
|
}
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
24
|
+
/** 组件 Props */
|
|
25
|
+
interface TransferProps<T extends TransferItem = TransferItem> {
|
|
26
|
+
/** 数据源 */
|
|
27
|
+
data: readonly T[];
|
|
28
|
+
/** 右侧已选 key 列表 (v-model) */
|
|
29
|
+
modelValue: readonly NoInfer<T['key']>[];
|
|
30
|
+
/** 左右栏标题 */
|
|
31
|
+
titles?: [string, string];
|
|
32
|
+
/** 是否可搜索 */
|
|
33
|
+
filterable?: boolean;
|
|
34
|
+
/** 搜索占位符 */
|
|
35
|
+
filterPlaceholder?: string;
|
|
36
|
+
/** 自定义筛选函数 */
|
|
37
|
+
filterMethod?: (query: string, item: T) => boolean;
|
|
38
|
+
/** 是否显示全选复选框 */
|
|
39
|
+
showSelectAll?: boolean;
|
|
40
|
+
/** 左侧空状态描述 */
|
|
41
|
+
sourceEmptyText?: string;
|
|
42
|
+
/** 右侧空状态描述 */
|
|
43
|
+
targetEmptyText?: string;
|
|
44
|
+
/** 尺寸 */
|
|
45
|
+
size?: 'small' | 'medium' | 'large';
|
|
46
|
+
/** 大列表自动使用虚拟滚动;自定义可变行高或需要完整 DOM 时可关闭。默认 true,100 项起启用。 */
|
|
47
|
+
virtualScroll?: boolean;
|
|
48
|
+
}
|
|
49
|
+
/** 事件保留数据源的键类型,例如纯数字键仍为 number[]。 */
|
|
50
|
+
interface TransferEmits<T extends TransferItem = TransferItem> {
|
|
51
|
+
'update:modelValue': [value: Array<T['key']>];
|
|
52
|
+
change: [targetKeys: Array<T['key']>, direction: 'left' | 'right', moveKeys: Array<T['key']>];
|
|
53
53
|
}
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
54
|
+
/** 默认 Props */
|
|
55
|
+
declare const DEFAULT_TRANSFER_PROPS: Partial<TransferProps>;
|
|
56
|
+
//#endregion
|
|
57
|
+
//#region src/components/C_Transfer/index.vue.d.ts
|
|
58
|
+
declare const __VLS_export: <T extends TransferItem = TransferItem>(__VLS_props: NonNullable<Awaited<typeof __VLS_setup>>["props"], __VLS_ctx?: __VLS_PrettifyLocal<Pick<NonNullable<Awaited<typeof __VLS_setup>>, "attrs" | "emit" | "slots">>, __VLS_exposed?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
|
|
59
|
+
props: vue.PublicProps & __VLS_PrettifyLocal<TransferProps<T> & {
|
|
60
|
+
"onUpdate:modelValue"?: ((value: T["key"][]) => any) | undefined;
|
|
61
|
+
onChange?: ((targetKeys: T["key"][], direction: "right" | "left", moveKeys: T["key"][]) => any) | undefined;
|
|
62
|
+
}> & (typeof globalThis extends {
|
|
63
|
+
__VLS_PROPS_FALLBACK: infer P;
|
|
64
|
+
} ? P : {});
|
|
65
|
+
expose: (exposed: {}) => void;
|
|
66
|
+
attrs: any;
|
|
67
|
+
slots: {};
|
|
68
|
+
emit: ((evt: "update:modelValue", value: T["key"][]) => void) & ((evt: "change", targetKeys: T["key"][], direction: "right" | "left", moveKeys: T["key"][]) => void);
|
|
69
|
+
}>) => vue.VNode & {
|
|
70
|
+
__ctx?: NonNullable<Awaited<typeof __VLS_setup>>;
|
|
65
71
|
};
|
|
66
|
-
declare const __VLS_export: vue.DefineComponent<__VLS_Props, {
|
|
67
|
-
/** useTagsView composable 实例 */tags: {
|
|
68
|
-
tagsViewList: vue.Ref<TagItem[], TagItem[]>;
|
|
69
|
-
activeTag: vue.Ref<string, string>;
|
|
70
|
-
homePath: string;
|
|
71
|
-
initTags: (tags?: TagItem[]) => void;
|
|
72
|
-
setActiveTag: (path: string) => void;
|
|
73
|
-
addTag: (tag: TagItem) => void;
|
|
74
|
-
removeTag: (index: number) => string | null;
|
|
75
|
-
removeOtherTags: (index: number) => void;
|
|
76
|
-
removeLeftTags: (index: number) => void;
|
|
77
|
-
removeRightTags: (index: number) => void;
|
|
78
|
-
removeAllTags: () => void;
|
|
79
|
-
}; /** 滚动到指定标签 */
|
|
80
|
-
scrollToTag: (path: string) => void;
|
|
81
|
-
}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
|
|
82
|
-
close: (fallbackPath: string) => any;
|
|
83
|
-
closeAll: () => any;
|
|
84
|
-
}, string, vue.PublicProps, Readonly<__VLS_Props> & Readonly<{
|
|
85
|
-
onClose?: ((fallbackPath: string) => any) | undefined;
|
|
86
|
-
onCloseAll?: (() => any) | undefined;
|
|
87
|
-
}>, {
|
|
88
|
-
homePath: string;
|
|
89
|
-
homeTitle: string;
|
|
90
|
-
homeIcon: string;
|
|
91
|
-
persistKey: string;
|
|
92
|
-
contextMenuLabels: LegacyContextMenuLabels;
|
|
93
|
-
}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
|
|
94
72
|
declare const _default: typeof __VLS_export;
|
|
73
|
+
type __VLS_PrettifyLocal<T> = (T extends any ? { [K in keyof T]: T[K] } : { [K in keyof T as K]: T[K] }) & {};
|
|
95
74
|
//#endregion
|
|
96
|
-
export {
|
|
75
|
+
export { TransferProps as a, TransferItem as i, DEFAULT_TRANSFER_PROPS as n, TransferEmits as r, _default as t };
|
package/dist/index3.vue.d.cts
CHANGED
|
@@ -20,17 +20,17 @@ declare const __VLS_export: vue.DefineComponent<Props, {}, {}, {}, {}, vue.Compo
|
|
|
20
20
|
}, string, vue.PublicProps, Readonly<Props> & Readonly<{
|
|
21
21
|
onError?: ((error: Error) => any) | undefined;
|
|
22
22
|
}>, {
|
|
23
|
-
width: number;
|
|
24
|
-
label: string;
|
|
25
23
|
height: number;
|
|
24
|
+
label: string;
|
|
25
|
+
width: number;
|
|
26
26
|
fontSize: number;
|
|
27
|
+
lineColor: string;
|
|
27
28
|
format: "CODE128" | "CODE39" | "EAN13" | "EAN8" | "UPC" | "ITF14" | "MSI" | "pharmacode";
|
|
29
|
+
showBorder: boolean;
|
|
30
|
+
showLabel: boolean;
|
|
28
31
|
showText: boolean;
|
|
29
32
|
textPosition: "bottom" | "top";
|
|
30
|
-
lineColor: string;
|
|
31
33
|
background: string;
|
|
32
|
-
showBorder: boolean;
|
|
33
|
-
showLabel: boolean;
|
|
34
34
|
}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
|
|
35
35
|
declare const _default: typeof __VLS_export;
|
|
36
36
|
//#endregion
|
package/dist/index3.vue.d.ts
CHANGED
|
@@ -20,17 +20,17 @@ declare const __VLS_export: vue.DefineComponent<Props, {}, {}, {}, {}, vue.Compo
|
|
|
20
20
|
}, string, vue.PublicProps, Readonly<Props> & Readonly<{
|
|
21
21
|
onError?: ((error: Error) => any) | undefined;
|
|
22
22
|
}>, {
|
|
23
|
-
width: number;
|
|
24
|
-
label: string;
|
|
25
23
|
height: number;
|
|
24
|
+
label: string;
|
|
25
|
+
width: number;
|
|
26
26
|
fontSize: number;
|
|
27
|
+
lineColor: string;
|
|
27
28
|
format: "CODE128" | "CODE39" | "EAN13" | "EAN8" | "UPC" | "ITF14" | "MSI" | "pharmacode";
|
|
29
|
+
showBorder: boolean;
|
|
30
|
+
showLabel: boolean;
|
|
28
31
|
showText: boolean;
|
|
29
32
|
textPosition: "bottom" | "top";
|
|
30
|
-
lineColor: string;
|
|
31
33
|
background: string;
|
|
32
|
-
showBorder: boolean;
|
|
33
|
-
showLabel: boolean;
|
|
34
34
|
}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
|
|
35
35
|
declare const _default: typeof __VLS_export;
|
|
36
36
|
//#endregion
|
package/dist/index4.vue.d.cts
CHANGED
|
@@ -106,23 +106,23 @@ declare const __VLS_export: vue.DefineComponent<MenuProps, {
|
|
|
106
106
|
}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
|
|
107
107
|
"update:modelValue": (key: MenuValue) => any;
|
|
108
108
|
select: (key: string) => any;
|
|
109
|
-
"update:expandedKeys": (keys: string[]) => any;
|
|
110
109
|
intent: (key: string) => any;
|
|
111
110
|
"update:value": (key: MenuValue) => any;
|
|
111
|
+
"update:expandedKeys": (keys: string[]) => any;
|
|
112
112
|
}, string, vue.PublicProps, Readonly<MenuProps> & Readonly<{
|
|
113
113
|
"onUpdate:modelValue"?: ((key: MenuValue) => any) | undefined;
|
|
114
114
|
onSelect?: ((key: string) => any) | undefined;
|
|
115
|
-
"onUpdate:expandedKeys"?: ((keys: string[]) => any) | undefined;
|
|
116
115
|
onIntent?: ((key: string) => any) | undefined;
|
|
117
116
|
"onUpdate:value"?: ((key: MenuValue) => any) | undefined;
|
|
117
|
+
"onUpdate:expandedKeys"?: ((keys: string[]) => any) | undefined;
|
|
118
118
|
}>, {
|
|
119
119
|
mode: "vertical" | "horizontal";
|
|
120
120
|
defaultExpandedKeys: string[];
|
|
121
|
-
indent: number;
|
|
122
121
|
collapsed: boolean;
|
|
123
122
|
collapsedWidth: number;
|
|
124
123
|
collapsedIconSize: number;
|
|
125
124
|
inverted: boolean;
|
|
125
|
+
indent: number;
|
|
126
126
|
rootIndent: number;
|
|
127
127
|
dropdownProps: naive_ui0.DropdownProps;
|
|
128
128
|
}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
|
package/dist/index6.vue.d.ts
CHANGED
|
@@ -106,8 +106,8 @@ declare const __VLS_base: vue.DefineComponent<ChatProps, {
|
|
|
106
106
|
"onEmoji-click"?: (() => any) | undefined;
|
|
107
107
|
onResend?: ((msg: ChatMessage) => any) | undefined;
|
|
108
108
|
}>, {
|
|
109
|
-
title: string;
|
|
110
109
|
placeholder: string;
|
|
110
|
+
title: string;
|
|
111
111
|
virtualScroll: boolean;
|
|
112
112
|
showContacts: boolean;
|
|
113
113
|
showTimestamp: boolean;
|
package/dist/index7.vue.d.cts
CHANGED
|
@@ -106,8 +106,8 @@ declare const __VLS_base: vue.DefineComponent<ChatProps, {
|
|
|
106
106
|
"onEmoji-click"?: (() => any) | undefined;
|
|
107
107
|
onResend?: ((msg: ChatMessage) => any) | undefined;
|
|
108
108
|
}>, {
|
|
109
|
-
title: string;
|
|
110
109
|
placeholder: string;
|
|
110
|
+
title: string;
|
|
111
111
|
virtualScroll: boolean;
|
|
112
112
|
showContacts: boolean;
|
|
113
113
|
showTimestamp: boolean;
|
package/dist/index8.vue.d.ts
CHANGED
|
@@ -23,12 +23,12 @@ declare const __VLS_export: vue.DefineComponent<Props, {
|
|
|
23
23
|
copyCode: typeof copyCode;
|
|
24
24
|
toggleFullscreen: typeof toggleFullscreen;
|
|
25
25
|
}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
|
|
26
|
-
click: (event: MouseEvent) => any;
|
|
27
26
|
copy: (code: string) => any;
|
|
27
|
+
click: (event: MouseEvent) => any;
|
|
28
28
|
fullscreen: (isFullscreen: boolean) => any;
|
|
29
29
|
}, string, vue.PublicProps, Readonly<Props> & Readonly<{
|
|
30
|
-
onClick?: ((event: MouseEvent) => any) | undefined;
|
|
31
30
|
onCopy?: ((code: string) => any) | undefined;
|
|
31
|
+
onClick?: ((event: MouseEvent) => any) | undefined;
|
|
32
32
|
onFullscreen?: ((isFullscreen: boolean) => any) | undefined;
|
|
33
33
|
}>, {
|
|
34
34
|
trim: boolean;
|
package/dist/index9.vue.d.cts
CHANGED
|
@@ -23,12 +23,12 @@ declare const __VLS_export: vue.DefineComponent<Props, {
|
|
|
23
23
|
copyCode: typeof copyCode;
|
|
24
24
|
toggleFullscreen: typeof toggleFullscreen;
|
|
25
25
|
}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
|
|
26
|
-
click: (event: MouseEvent) => any;
|
|
27
26
|
copy: (code: string) => any;
|
|
27
|
+
click: (event: MouseEvent) => any;
|
|
28
28
|
fullscreen: (isFullscreen: boolean) => any;
|
|
29
29
|
}, string, vue.PublicProps, Readonly<Props> & Readonly<{
|
|
30
|
-
onClick?: ((event: MouseEvent) => any) | undefined;
|
|
31
30
|
onCopy?: ((code: string) => any) | undefined;
|
|
31
|
+
onClick?: ((event: MouseEvent) => any) | undefined;
|
|
32
32
|
onFullscreen?: ((isFullscreen: boolean) => any) | undefined;
|
|
33
33
|
}>, {
|
|
34
34
|
trim: boolean;
|
package/dist/index9.vue.d.ts
CHANGED
|
@@ -61,27 +61,27 @@ declare const __VLS_export: vue.DefineComponent<ContextMenuProps, {
|
|
|
61
61
|
close: () => void; /** 当前是否可见 */
|
|
62
62
|
visible: vue.ComputedRef<boolean>;
|
|
63
63
|
}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {} & {
|
|
64
|
-
close: () => any;
|
|
65
64
|
select: (item: ContextMenuItem) => any;
|
|
66
65
|
open: (position: {
|
|
67
66
|
x: number;
|
|
68
67
|
y: number;
|
|
69
68
|
}) => any;
|
|
69
|
+
close: () => any;
|
|
70
70
|
}, string, vue.PublicProps, Readonly<ContextMenuProps> & Readonly<{
|
|
71
|
-
onClose?: (() => any) | undefined;
|
|
72
71
|
onSelect?: ((item: ContextMenuItem) => any) | undefined;
|
|
73
72
|
onOpen?: ((position: {
|
|
74
73
|
x: number;
|
|
75
74
|
y: number;
|
|
76
75
|
}) => any) | undefined;
|
|
76
|
+
onClose?: (() => any) | undefined;
|
|
77
77
|
}>, {
|
|
78
78
|
disabled: boolean;
|
|
79
|
-
zIndex: number;
|
|
80
79
|
items: ContextMenuItem[];
|
|
81
80
|
minWidth: number;
|
|
82
81
|
maxWidth: number;
|
|
83
82
|
subMenuPlacement: "right" | "left";
|
|
84
83
|
autoClose: boolean;
|
|
84
|
+
zIndex: number;
|
|
85
85
|
}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
|
|
86
86
|
declare const _default: typeof __VLS_export;
|
|
87
87
|
//#endregion
|
package/dist/mapUtils.d.cts
CHANGED
|
@@ -93,9 +93,9 @@ declare const __VLS_export: vue.DefineComponent<MapProps, MapExpose, {}, {}, {},
|
|
|
93
93
|
}>, {
|
|
94
94
|
height: string;
|
|
95
95
|
center: MapCoordinate;
|
|
96
|
+
ariaLabel: string;
|
|
96
97
|
zoom: number;
|
|
97
98
|
mapType: MapType;
|
|
98
|
-
ariaLabel: string;
|
|
99
99
|
markers: MapMarker[];
|
|
100
100
|
amapKey: string;
|
|
101
101
|
amapLoadTimeout: number;
|
package/dist/mapUtils.d.ts
CHANGED
|
@@ -93,9 +93,9 @@ declare const __VLS_export: vue.DefineComponent<MapProps, MapExpose, {}, {}, {},
|
|
|
93
93
|
}>, {
|
|
94
94
|
height: string;
|
|
95
95
|
center: MapCoordinate;
|
|
96
|
+
ariaLabel: string;
|
|
96
97
|
zoom: number;
|
|
97
98
|
mapType: MapType;
|
|
98
|
-
ariaLabel: string;
|
|
99
99
|
markers: MapMarker[];
|
|
100
100
|
amapKey: string;
|
|
101
101
|
amapLoadTimeout: number;
|
package/dist/presets.d.cts
CHANGED
|
@@ -76,10 +76,10 @@ declare const __VLS_base: vue.DefineComponent<TableActionsProps, {}, {}, {}, {},
|
|
|
76
76
|
"onDropdown-click"?: ((item: ActionDropdownItem, action: ActionItem) => any) | undefined;
|
|
77
77
|
"onAction-click"?: ((action: ActionItem) => any) | undefined;
|
|
78
78
|
}>, {
|
|
79
|
-
config: ActionBarConfig;
|
|
80
79
|
actions: ActionItem[];
|
|
81
80
|
leftActions: ActionItem[];
|
|
82
81
|
rightActions: ActionItem[];
|
|
82
|
+
config: ActionBarConfig;
|
|
83
83
|
}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
|
|
84
84
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
85
85
|
declare const _default: typeof __VLS_export;
|
package/dist/presets.d.ts
CHANGED
|
@@ -76,10 +76,10 @@ declare const __VLS_base: vue.DefineComponent<TableActionsProps, {}, {}, {}, {},
|
|
|
76
76
|
"onDropdown-click"?: ((item: ActionDropdownItem, action: ActionItem) => any) | undefined;
|
|
77
77
|
"onAction-click"?: ((action: ActionItem) => any) | undefined;
|
|
78
78
|
}>, {
|
|
79
|
-
config: ActionBarConfig;
|
|
80
79
|
actions: ActionItem[];
|
|
81
80
|
leftActions: ActionItem[];
|
|
82
81
|
rightActions: ActionItem[];
|
|
82
|
+
config: ActionBarConfig;
|
|
83
83
|
}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
|
|
84
84
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
85
85
|
declare const _default: typeof __VLS_export;
|