@robot-admin/naive-ui-components 0.29.3 → 0.30.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 +8 -0
- package/README.md +3 -1
- package/README_EN.md +3 -1
- package/dist/C_ActionBar.css +52 -49
- package/dist/C_ActionBar2.cjs +1 -1
- package/dist/C_ActionBar2.js +1 -1
- package/dist/C_DataPicker.cjs +1 -1
- package/dist/C_DataPicker.css +29 -28
- package/dist/C_DataPicker.d.cts +2 -2
- package/dist/C_DataPicker.d.ts +3 -2
- package/dist/C_DataPicker.js +1 -1
- package/dist/C_Density.d.cts +1 -1
- package/dist/C_Density.d.ts +1 -1
- package/dist/C_Editor.d.cts +1 -1
- package/dist/C_Editor.d.ts +1 -1
- package/dist/C_ErrorSummary.d.cts +1 -1
- package/dist/C_ErrorSummary.d.ts +1 -1
- package/dist/C_FilePreview2.js +1 -1
- package/dist/C_Form.d.cts +2 -1
- package/dist/C_Form.d.ts +2 -1
- package/dist/C_FormModal.css +52 -49
- package/dist/C_FormModal.d.cts +1 -1
- package/dist/C_FormModal.d.ts +2 -1
- package/dist/C_FormSearch.css +66 -66
- 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_SectionNav.d.cts +1 -1
- package/dist/C_SectionNav.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 +161 -158
- package/dist/C_Table.cjs +1 -1
- package/dist/C_Table.css +161 -158
- package/dist/C_Table.d.cts +2 -2
- package/dist/C_Table.d.ts +7 -6
- package/dist/C_Table.js +1 -1
- package/dist/C_Table2.cjs +3 -3
- package/dist/C_Table2.js +3 -3
- 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_Timeline.d.cts +1 -1
- package/dist/C_Timeline.d.ts +1 -1
- package/dist/C_Transfer.d.cts +1 -1
- package/dist/C_Transfer.d.ts +1 -1
- package/dist/C_Tree.d.ts +6 -5
- package/dist/constants.d.cts +1 -1
- package/dist/constants.d.ts +1 -1
- package/dist/constants2.d.cts +1 -1
- package/dist/constants2.d.ts +1 -1
- package/dist/constants3.d.cts +1 -1
- package/dist/constants3.d.ts +1 -1
- package/dist/constants4.d.cts +6 -6
- package/dist/constants4.d.ts +6 -6
- package/dist/constants5.d.cts +2 -2
- package/dist/constants5.d.ts +2 -2
- package/dist/data2.d.cts +6 -6
- package/dist/data2.d.ts +6 -6
- package/dist/dateRange.d.cts +3 -0
- package/dist/dateRange.d.ts +3 -0
- package/dist/formField.cjs +1 -0
- package/dist/formField.d.cts +1179 -0
- package/dist/formField.d.ts +1179 -0
- package/dist/formField.js +1 -0
- package/dist/helpers2.cjs +1 -0
- package/dist/helpers2.js +1 -0
- package/dist/index.cjs +1 -1
- package/dist/index.d.cts +23 -22
- package/dist/index.d.ts +24 -23
- package/dist/index.js +1 -1
- package/dist/index.vue.d.cts +3 -3
- package/dist/index.vue.d.ts +3 -3
- package/dist/index10.vue.d.cts +2 -2
- package/dist/index10.vue.d.ts +4 -4
- package/dist/index11.vue.d.cts +4 -4
- package/dist/index11.vue.d.ts +13 -1162
- package/dist/index12.vue.d.cts +13 -1162
- package/dist/index12.vue.d.ts +59 -16
- package/dist/index13.vue.d.cts +59 -16
- package/dist/index13.vue.d.ts +17 -57
- package/dist/index14.vue.d.cts +17 -57
- package/dist/index14.vue.d.ts +55 -18
- package/dist/index15.vue.d.cts +55 -18
- package/dist/index15.vue.d.ts +124 -53
- package/dist/index16.vue.d.cts +124 -53
- package/dist/index16.vue.d.ts +51 -123
- package/dist/index17.vue.d.cts +51 -123
- package/dist/index17.vue.d.ts +25 -52
- package/dist/index18.vue.d.cts +25 -52
- package/dist/index18.vue.d.ts +12 -25
- package/dist/index19.vue.d.cts +12 -25
- package/dist/index19.vue.d.ts +129 -13
- package/dist/index2.vue.d.cts +1 -1
- package/dist/index2.vue.d.ts +1 -1
- package/dist/index20.vue.d.cts +129 -13
- package/dist/index20.vue.d.ts +76 -129
- package/dist/index21.vue.d.cts +76 -129
- package/dist/index21.vue.d.ts +72 -78
- package/dist/index22.vue.d.cts +97 -75
- package/dist/index22.vue.d.ts +96 -68
- package/dist/index23.vue.d.cts +40 -91
- package/dist/index23.vue.d.ts +40 -91
- package/dist/index24.vue.d.cts +23 -49
- package/dist/index24.vue.d.ts +23 -49
- package/dist/index25.vue.d.cts +96 -21
- package/dist/index25.vue.d.ts +96 -21
- package/dist/index26.vue.d.cts +37 -95
- package/dist/index26.vue.d.ts +37 -95
- package/dist/index27.vue.d.cts +8 -34
- package/dist/index27.vue.d.ts +8 -34
- package/dist/index28.vue.d.cts +86 -9
- package/dist/index28.vue.d.ts +86 -9
- package/dist/index29.vue.d.cts +99 -85
- package/dist/index29.vue.d.ts +99 -85
- package/dist/index3.vue.d.cts +1 -1
- package/dist/index3.vue.d.ts +1 -1
- package/dist/index30.vue.d.cts +59 -94
- package/dist/index30.vue.d.ts +59 -94
- package/dist/index9.vue.d.ts +2 -2
- package/dist/mapUtils.d.cts +4 -4
- package/dist/mapUtils.d.ts +4 -4
- package/dist/presets.d.cts +5 -2
- package/dist/presets.d.ts +5 -2
- package/dist/rolldown-runtime.js +1 -0
- package/dist/serializeSearch.cjs +1 -1
- package/dist/serializeSearch.js +1 -1
- package/dist/style.css +256 -252
- package/dist/useCollapsePanel.d.cts +4 -4
- package/dist/useCollapsePanel.d.ts +4 -4
- package/dist/useCropperCore.d.cts +13 -13
- package/dist/useCropperCore.d.ts +13 -13
- package/dist/useDynamicFormState.d.cts +5 -67
- package/dist/useDynamicFormState.d.ts +5 -67
- package/dist/useEdgeInteraction.d.cts +3 -3
- package/dist/useEdgeInteraction.d.ts +3 -3
- package/dist/useFormRenderer.d.cts +69 -0
- package/dist/useFormRenderer.d.ts +69 -0
- package/dist/useFullscreen.d.cts +1 -1
- package/dist/useFullscreen.d.ts +1 -1
- package/dist/useInfiniteScroll.d.cts +4 -4
- package/dist/useInfiniteScroll.d.ts +4 -4
- package/dist/useQRCode.d.cts +2 -2
- package/dist/useQRCode.d.ts +2 -2
- package/dist/useSignatureHistory.d.cts +6 -6
- package/dist/useSignatureHistory.d.ts +6 -6
- package/dist/useSplitResize.d.cts +6 -6
- package/dist/useSplitResize.d.ts +6 -6
- package/dist/useTableQuery.d.cts +9 -9
- package/dist/useTableQuery.d.ts +9 -9
- package/dist/useWorkflowValidation.d.cts +6 -6
- package/dist/useWorkflowValidation.d.ts +6 -6
- package/dist/verification.d.cts +5 -5
- package/dist/verification.d.ts +5 -5
- package/dist/{xlsx.js → xlsx2.js} +1 -1
- package/docs/guides/data-picker.md +22 -3
- package/docs/guides/data-workflows.md +22 -1
- package/docs/guides/search-workflows.md +3 -1
- package/docs/guides/usage.en.md +2 -3
- package/docs/guides/usage.md +2 -3
- package/package.json +1 -1
- package/dist/C_DataPicker2.cjs +0 -1
- package/dist/C_DataPicker2.js +0 -1
- package/dist/index31.vue.d.cts +0 -75
- package/dist/index31.vue.d.ts +0 -75
package/dist/index31.vue.d.ts
DELETED
|
@@ -1,75 +0,0 @@
|
|
|
1
|
-
import * as vue from "vue";
|
|
2
|
-
|
|
3
|
-
//#region src/components/C_Transfer/types.d.ts
|
|
4
|
-
/**
|
|
5
|
-
* @Description: 穿梭框组件类型定义
|
|
6
|
-
*/
|
|
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>;
|
|
23
|
-
}
|
|
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?: readonly [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
|
-
}
|
|
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>>;
|
|
71
|
-
};
|
|
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] }) & {};
|
|
74
|
-
//#endregion
|
|
75
|
-
export { TransferProps as a, TransferItem as i, DEFAULT_TRANSFER_PROPS as n, TransferEmits as r, _default as t };
|