@robot-admin/naive-ui-components 0.22.0 → 0.23.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 +18 -0
- package/README.md +9 -5
- package/README_EN.md +9 -5
- package/dist/C_ActionBar.d.cts +2 -1
- package/dist/C_ActionBar.d.ts +2 -1
- package/dist/C_AntV2.cjs +3 -3
- package/dist/C_AntV2.js +3 -3
- package/dist/C_BatchResult.cjs +1 -0
- package/dist/C_BatchResult.css +32 -0
- package/dist/C_BatchResult.d.cts +2 -0
- package/dist/C_BatchResult.d.ts +2 -0
- package/dist/C_BatchResult.js +1 -0
- package/dist/C_BatchResult2.cjs +1 -0
- package/dist/C_BatchResult2.js +1 -0
- package/dist/C_Breadcrumb.d.cts +2 -2
- package/dist/C_Breadcrumb.d.ts +1 -1
- package/dist/C_Captcha.d.ts +2 -0
- package/dist/C_Cascade.d.cts +1 -1
- package/dist/C_Cascade.d.ts +1 -1
- package/dist/C_Chat.d.cts +1 -1
- package/dist/C_Chat.d.ts +1 -1
- package/dist/C_City.d.cts +1 -1
- package/dist/C_City.d.ts +1 -1
- package/dist/C_Code.d.cts +1 -1
- package/dist/C_Code.d.ts +1 -1
- package/dist/C_ContextMenu.d.cts +1 -1
- package/dist/C_ContextMenu.d.ts +1 -1
- package/dist/C_DataPicker.cjs +1 -0
- package/dist/C_DataPicker.css +54 -0
- package/dist/C_DataPicker.d.cts +2 -0
- package/dist/C_DataPicker.d.ts +5 -0
- package/dist/C_DataPicker.js +1 -0
- package/dist/C_DataPicker2.cjs +1 -0
- package/dist/C_DataPicker2.js +1 -0
- package/dist/C_Date.d.cts +1 -1
- package/dist/C_Date.d.ts +1 -1
- package/dist/C_Density.cjs +1 -0
- package/dist/C_Density.css +1 -0
- package/dist/C_Density.d.cts +3 -0
- package/dist/C_Density.d.ts +3 -0
- package/dist/C_Density.js +1 -0
- package/dist/C_Density2.cjs +1 -0
- package/dist/C_Density2.js +1 -0
- package/dist/C_Editor.d.cts +1 -1
- package/dist/C_Editor.d.ts +1 -1
- package/dist/C_ErrorSummary.cjs +1 -0
- package/dist/C_ErrorSummary.css +29 -0
- package/dist/C_ErrorSummary.d.cts +3 -0
- package/dist/C_ErrorSummary.d.ts +3 -0
- package/dist/C_ErrorSummary.js +1 -0
- package/dist/C_ErrorSummary2.cjs +1 -0
- package/dist/C_ErrorSummary2.js +1 -0
- package/dist/C_Form.base.css +150 -148
- package/dist/C_Form.cjs +1 -1
- package/dist/C_Form.css +151 -253
- package/dist/C_Form.d.cts +3 -1
- package/dist/C_Form.d.ts +19 -1
- package/dist/C_Form.js +1 -1
- package/dist/C_FormModal.css +11 -12
- package/dist/C_FormModal.d.cts +1 -1
- package/dist/C_FormModal.d.ts +18 -2
- package/dist/C_FormModal2.cjs +1 -1
- package/dist/C_FormModal2.js +1 -1
- package/dist/C_FormSearch.cjs +1 -1
- package/dist/C_FormSearch.css +128 -56
- package/dist/C_FormSearch.d.cts +3 -3
- package/dist/C_FormSearch.d.ts +5 -3
- package/dist/C_FormSearch.js +1 -1
- package/dist/C_FormulaEditor.d.cts +1 -1
- package/dist/C_FormulaEditor.d.ts +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 +4 -1
- package/dist/C_Markdown.d.cts +1 -1
- package/dist/C_Markdown.d.ts +1 -1
- package/dist/C_Menu.d.cts +2 -2
- 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.cjs +1 -0
- package/dist/C_SectionNav.css +46 -0
- package/dist/C_SectionNav.d.cts +2 -0
- package/dist/C_SectionNav.d.ts +2 -0
- package/dist/C_SectionNav.js +1 -0
- package/dist/C_SectionNav2.cjs +1 -0
- package/dist/C_SectionNav2.js +1 -0
- 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 +258 -256
- package/dist/C_Table.cjs +1 -1
- package/dist/C_Table.css +109 -1283
- package/dist/C_Table.d.cts +2 -1
- package/dist/C_Table.d.ts +11 -7
- package/dist/C_Table.js +1 -1
- package/dist/C_Table2.cjs +3 -0
- package/dist/C_Table2.js +3 -0
- package/dist/C_Tabs.cjs +1 -1
- package/dist/C_Tabs.d.cts +1 -1
- package/dist/C_Tabs.d.ts +1 -1
- package/dist/C_Tabs.js +1 -1
- package/dist/C_TagsView.d.cts +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.cts +1 -1
- package/dist/C_Tree.d.ts +10 -6
- package/dist/C_Upload.d.cts +1 -1
- package/dist/C_Upload.d.ts +1 -1
- package/dist/C_WorkFlow2.cjs +1 -1
- package/dist/C_WorkFlow2.js +1 -1
- package/dist/Card.cjs +1 -1
- package/dist/Card.js +1 -1
- package/dist/Steps.cjs +1 -1
- package/dist/Steps.js +1 -1
- package/dist/Tabs.cjs +1 -1
- package/dist/Tabs.js +1 -1
- package/dist/batchPatch.cjs +1 -0
- package/dist/batchPatch.d.cts +26 -0
- package/dist/batchPatch.d.ts +26 -0
- package/dist/batchPatch.js +1 -0
- package/dist/config.cjs +1 -1
- package/dist/config.d.cts +7 -1
- package/dist/config.d.ts +7 -1
- package/dist/config.js +1 -1
- package/dist/config2.d.ts +14 -0
- package/dist/constants.d.cts +3 -3
- package/dist/constants.d.ts +3 -3
- package/dist/constants2.d.cts +402 -173
- package/dist/constants2.d.ts +402 -173
- package/dist/constants3.d.cts +3 -3
- package/dist/constants3.d.ts +3 -3
- package/dist/constants4.d.cts +173 -402
- package/dist/constants4.d.ts +173 -402
- package/dist/constants5.d.cts +2 -2
- package/dist/constants5.d.ts +2 -2
- package/dist/data.cjs +1 -1
- package/dist/data.d.cts +5 -108
- package/dist/data.d.ts +5 -108
- package/dist/data.js +1 -1
- package/dist/data2.cjs +1 -1
- package/dist/data2.d.cts +108 -0
- package/dist/data2.d.ts +108 -0
- package/dist/data2.js +1 -1
- package/dist/data3.cjs +1 -0
- package/dist/data3.js +1 -0
- package/dist/dateRange.d.cts +108 -13
- package/dist/dateRange.d.ts +108 -13
- package/dist/density.cjs +1 -1
- package/dist/density.js +1 -1
- package/dist/dictionary.cjs +1 -0
- package/dist/dictionary.d.cts +38 -0
- package/dist/dictionary.d.ts +38 -0
- package/dist/dictionary.js +1 -0
- package/dist/helpers.cjs +1 -1
- package/dist/helpers.js +1 -1
- package/dist/index.cjs +1 -1
- package/dist/index.d.cts +65 -53
- package/dist/index.d.ts +73 -57
- package/dist/index.js +1 -1
- package/dist/index.vue.d.cts +1 -1
- package/dist/index.vue.d.ts +1 -1
- package/dist/index10.vue.d.cts +37 -80
- package/dist/index10.vue.d.ts +77 -53
- package/dist/index11.vue.d.cts +77 -53
- package/dist/index11.vue.d.ts +1117 -45
- package/dist/index12.vue.d.cts +1117 -45
- package/dist/index12.vue.d.ts +17 -128
- package/dist/index13.vue.d.cts +17 -128
- package/dist/index13.vue.d.ts +57 -53
- package/dist/index14.vue.d.cts +57 -53
- package/dist/index14.vue.d.ts +16 -25
- package/dist/index15.vue.d.cts +16 -25
- package/dist/index15.vue.d.ts +52 -12
- package/dist/index16.vue.d.cts +52 -12
- package/dist/index16.vue.d.ts +13 -129
- package/dist/index17.vue.d.cts +13 -129
- package/dist/index17.vue.d.ts +123 -74
- package/dist/index18.vue.d.cts +123 -74
- package/dist/index18.vue.d.ts +48 -71
- package/dist/index19.vue.d.cts +40 -91
- package/dist/index19.vue.d.ts +36 -96
- package/dist/index2.vue.d.cts +2 -2
- package/dist/index2.vue.d.ts +2 -2
- package/dist/index20.vue.d.cts +38 -47
- package/dist/index20.vue.d.ts +13 -48
- package/dist/index21.vue.d.cts +12 -96
- package/dist/index21.vue.d.ts +25 -95
- package/dist/index22.vue.d.cts +20 -32
- package/dist/index22.vue.d.ts +75 -37
- package/dist/index23.vue.d.cts +77 -13
- package/dist/index23.vue.d.ts +71 -13
- package/dist/index24.vue.d.cts +2 -2
- package/dist/index24.vue.d.ts +1 -1
- package/dist/index25.vue.d.cts +116 -90
- package/dist/index25.vue.d.ts +116 -90
- package/dist/index26.vue.d.cts +94 -59
- package/dist/index26.vue.d.ts +94 -59
- package/dist/index27.vue.d.cts +75 -0
- package/dist/index27.vue.d.ts +75 -0
- package/dist/index28.vue.d.cts +103 -0
- package/dist/index28.vue.d.ts +103 -0
- package/dist/index29.vue.d.cts +105 -0
- package/dist/index29.vue.d.ts +105 -0
- package/dist/index3.vue.d.cts +4 -4
- package/dist/index3.vue.d.ts +4 -4
- package/dist/index30.vue.d.cts +28 -0
- package/dist/index30.vue.d.ts +28 -0
- package/dist/index4.vue.d.cts +19 -128
- package/dist/index4.vue.d.ts +17 -34
- package/dist/index5.vue.d.cts +127 -35
- package/dist/index5.vue.d.ts +30 -19
- package/dist/index6.vue.d.cts +30 -19
- package/dist/index6.vue.d.ts +22 -118
- package/dist/index7.vue.d.cts +22 -118
- package/dist/index7.vue.d.ts +112 -18
- package/dist/index8.vue.d.cts +112 -18
- package/dist/index8.vue.d.ts +24 -35
- package/dist/index9.vue.d.cts +24 -35
- package/dist/index9.vue.d.ts +37 -80
- package/dist/mapUtils.d.cts +4 -4
- package/dist/mapUtils.d.ts +4 -4
- package/dist/numberCodec.cjs +1 -0
- package/dist/numberCodec.d.cts +25 -0
- package/dist/numberCodec.d.ts +25 -0
- package/dist/numberCodec.js +1 -0
- package/dist/observer.cjs +1 -0
- package/dist/observer.js +1 -0
- package/dist/presets.d.cts +3 -66
- package/dist/presets.d.ts +3 -66
- package/dist/resolver.cjs +1 -1
- package/dist/resolver.d.cts +1 -1
- package/dist/resolver.d.ts +1 -1
- package/dist/resolver.js +1 -1
- package/dist/serializeSearch.cjs +1 -0
- package/dist/serializeSearch.js +1 -0
- package/dist/style.css +561 -322
- package/dist/types.d.cts +60 -103
- package/dist/types.d.ts +62 -52
- package/dist/types2.d.cts +104 -51
- package/dist/types2.d.ts +56 -0
- package/dist/types3.d.cts +56 -0
- package/dist/useCalendarEvents.d.cts +1 -1
- package/dist/useCalendarEvents.d.ts +1 -1
- package/dist/useCollapsePanel.d.cts +6 -6
- package/dist/useCollapsePanel.d.ts +6 -6
- package/dist/useComponentLocale.cjs +1 -1
- package/dist/useComponentLocale.js +1 -1
- package/dist/useCropperCore.d.cts +13 -13
- package/dist/useCropperCore.d.ts +13 -13
- package/dist/useDataResource.cjs +1 -0
- package/dist/useDataResource.js +1 -0
- package/dist/useDictionary.cjs +1 -0
- package/dist/useDictionary.js +1 -0
- package/dist/useDynamicFormState.d.cts +959 -582
- package/dist/useDynamicFormState.d.ts +951 -584
- package/dist/useEdgeInteraction.d.cts +3 -3
- package/dist/useEdgeInteraction.d.ts +3 -3
- package/dist/useFormArray.cjs +1 -0
- package/dist/useFormArray.d.cts +69 -0
- package/dist/useFormArray.d.ts +69 -0
- package/dist/useFormArray.js +1 -0
- package/dist/useFormConfig.cjs +1 -0
- package/dist/useFormConfig.d.cts +590 -0
- package/dist/useFormConfig.d.ts +590 -0
- package/dist/useFormConfig.js +1 -0
- package/dist/useFullscreen.d.cts +3 -3
- package/dist/useFullscreen.d.ts +3 -3
- package/dist/useGridWidth.cjs +1 -0
- package/dist/useGridWidth.js +1 -0
- package/dist/useInfiniteScroll.d.cts +2 -2
- package/dist/useInfiniteScroll.d.ts +2 -2
- package/dist/useQRCode.d.cts +3 -3
- package/dist/useQRCode.d.ts +3 -3
- package/dist/useSignatureHistory.d.cts +4 -4
- package/dist/useSignatureHistory.d.ts +4 -4
- package/dist/useSplitResize.d.cts +5 -5
- package/dist/useSplitResize.d.ts +5 -5
- package/dist/useTableGlobalConfig.cjs +1 -0
- package/dist/useTableGlobalConfig.js +1 -0
- package/dist/useTableQuery.cjs +1 -3
- package/dist/useTableQuery.js +1 -3
- package/dist/useWorkflowValidation.d.cts +6 -6
- package/dist/useWorkflowValidation.d.ts +6 -6
- package/dist/validation.cjs +1 -0
- package/dist/validation.d.cts +18 -0
- package/dist/validation.d.ts +18 -0
- package/dist/validation.js +1 -0
- package/dist/verification.d.cts +4 -4
- package/dist/verification.d.ts +4 -4
- package/dist/workflows.cjs +1 -0
- package/dist/workflows.d.cts +2 -0
- package/dist/workflows.d.ts +2 -0
- package/dist/workflows.js +1 -0
- package/docs/components.en.md +13 -1
- package/docs/components.md +13 -1
- package/docs/guides/batch-results.md +47 -0
- package/docs/guides/data-picker.md +65 -0
- package/docs/guides/data-workflows.md +123 -0
- package/docs/guides/form-density.en.md +56 -3
- package/docs/guides/form-density.md +56 -3
- package/docs/guides/search-workflows.md +164 -0
- package/docs/guides/usage.en.md +1 -1
- package/package.json +21 -1
- package/dist/C_FormSearch2.cjs +0 -1
- package/dist/C_FormSearch2.js +0 -1
- package/dist/useTableQuery.d.cts +0 -1957
- package/dist/useTableQuery.d.ts +0 -1957
|
@@ -0,0 +1,75 @@
|
|
|
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
|
+
onChange?: ((targetKeys: T["key"][], direction: "left" | "right", moveKeys: T["key"][]) => any) | undefined;
|
|
61
|
+
"onUpdate:modelValue"?: ((value: 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: "change", targetKeys: T["key"][], direction: "left" | "right", moveKeys: T["key"][]) => void) & ((evt: "update:modelValue", value: 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 };
|
|
@@ -0,0 +1,103 @@
|
|
|
1
|
+
import * as vue from "vue";
|
|
2
|
+
|
|
3
|
+
//#region src/components/C_Skeleton/types.d.ts
|
|
4
|
+
/** 骨架屏预设模式 */
|
|
5
|
+
type SkeletonPreset = 'text' | 'avatar' | 'card' | 'table' | 'form' | 'list' | 'detail' | 'image';
|
|
6
|
+
/** 骨架屏动画类型 */
|
|
7
|
+
type SkeletonAnimation = 'pulse' | 'wave' | false;
|
|
8
|
+
/** 表格骨架配置 */
|
|
9
|
+
interface SkeletonTableConfig {
|
|
10
|
+
/** 行数 */
|
|
11
|
+
rows?: number;
|
|
12
|
+
/** 列数 */
|
|
13
|
+
cols?: number;
|
|
14
|
+
/** 是否显示表头 */
|
|
15
|
+
showHeader?: boolean;
|
|
16
|
+
/** 是否显示操作列 */
|
|
17
|
+
showActions?: boolean;
|
|
18
|
+
}
|
|
19
|
+
/** 表单骨架配置 */
|
|
20
|
+
interface SkeletonFormConfig {
|
|
21
|
+
/** 字段数 */
|
|
22
|
+
fields?: number;
|
|
23
|
+
/** 每行列数 */
|
|
24
|
+
cols?: number;
|
|
25
|
+
/** 是否显示标签 */
|
|
26
|
+
showLabel?: boolean;
|
|
27
|
+
/** 是否显示操作按钮 */
|
|
28
|
+
showActions?: boolean;
|
|
29
|
+
}
|
|
30
|
+
/** 列表骨架配置 */
|
|
31
|
+
interface SkeletonListConfig {
|
|
32
|
+
/** 列表项数 */
|
|
33
|
+
items?: number;
|
|
34
|
+
/** 是否显示头像 */
|
|
35
|
+
showAvatar?: boolean;
|
|
36
|
+
/** 描述行数 */
|
|
37
|
+
descLines?: number;
|
|
38
|
+
}
|
|
39
|
+
/** 卡片骨架配置 */
|
|
40
|
+
interface SkeletonCardConfig {
|
|
41
|
+
/** 是否显示封面图 */
|
|
42
|
+
showCover?: boolean;
|
|
43
|
+
/** 标题行数 */
|
|
44
|
+
titleLines?: number;
|
|
45
|
+
/** 描述行数 */
|
|
46
|
+
descLines?: number;
|
|
47
|
+
/** 是否显示底部操作 */
|
|
48
|
+
showFooter?: boolean;
|
|
49
|
+
}
|
|
50
|
+
/** 详情骨架配置 */
|
|
51
|
+
interface SkeletonDetailConfig {
|
|
52
|
+
/** 字段数 */
|
|
53
|
+
fields?: number;
|
|
54
|
+
/** 每个字段的值行数 */
|
|
55
|
+
valueLines?: number;
|
|
56
|
+
/** 是否显示头像 */
|
|
57
|
+
showAvatar?: boolean;
|
|
58
|
+
}
|
|
59
|
+
/** C_Skeleton Props */
|
|
60
|
+
interface SkeletonProps {
|
|
61
|
+
/** 预设模式 */
|
|
62
|
+
preset?: SkeletonPreset;
|
|
63
|
+
/** 是否正在加载(true 显示骨架屏,false 显示插槽内容) */
|
|
64
|
+
loading?: boolean;
|
|
65
|
+
/** 动画类型 */
|
|
66
|
+
animation?: SkeletonAnimation;
|
|
67
|
+
/** 重复次数(用于 text/card/list 模式) */
|
|
68
|
+
repeat?: number;
|
|
69
|
+
/** 圆角大小 */
|
|
70
|
+
borderRadius?: string;
|
|
71
|
+
/** 表格配置 */
|
|
72
|
+
table?: SkeletonTableConfig;
|
|
73
|
+
/** 表单配置 */
|
|
74
|
+
form?: SkeletonFormConfig;
|
|
75
|
+
/** 列表配置 */
|
|
76
|
+
list?: SkeletonListConfig;
|
|
77
|
+
/** 卡片配置 */
|
|
78
|
+
card?: SkeletonCardConfig;
|
|
79
|
+
/** 详情配置 */
|
|
80
|
+
detail?: SkeletonDetailConfig;
|
|
81
|
+
}
|
|
82
|
+
//#endregion
|
|
83
|
+
//#region src/components/C_Skeleton/index.vue.d.ts
|
|
84
|
+
declare var __VLS_1: {};
|
|
85
|
+
type __VLS_Slots = {} & {
|
|
86
|
+
default?: (props: typeof __VLS_1) => any;
|
|
87
|
+
};
|
|
88
|
+
declare const __VLS_base: vue.DefineComponent<SkeletonProps, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<SkeletonProps> & Readonly<{}>, {
|
|
89
|
+
loading: boolean;
|
|
90
|
+
repeat: number;
|
|
91
|
+
borderRadius: string;
|
|
92
|
+
preset: SkeletonPreset;
|
|
93
|
+
animation: SkeletonAnimation;
|
|
94
|
+
}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
|
|
95
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
96
|
+
declare const _default: typeof __VLS_export;
|
|
97
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
98
|
+
new (): {
|
|
99
|
+
$slots: S;
|
|
100
|
+
};
|
|
101
|
+
};
|
|
102
|
+
//#endregion
|
|
103
|
+
export { SkeletonFormConfig as a, SkeletonProps as c, SkeletonDetailConfig as i, SkeletonTableConfig as l, SkeletonAnimation as n, SkeletonListConfig as o, SkeletonCardConfig as r, SkeletonPreset as s, _default as t };
|
|
@@ -0,0 +1,103 @@
|
|
|
1
|
+
import * as vue from "vue";
|
|
2
|
+
|
|
3
|
+
//#region src/components/C_Skeleton/types.d.ts
|
|
4
|
+
/** 骨架屏预设模式 */
|
|
5
|
+
type SkeletonPreset = 'text' | 'avatar' | 'card' | 'table' | 'form' | 'list' | 'detail' | 'image';
|
|
6
|
+
/** 骨架屏动画类型 */
|
|
7
|
+
type SkeletonAnimation = 'pulse' | 'wave' | false;
|
|
8
|
+
/** 表格骨架配置 */
|
|
9
|
+
interface SkeletonTableConfig {
|
|
10
|
+
/** 行数 */
|
|
11
|
+
rows?: number;
|
|
12
|
+
/** 列数 */
|
|
13
|
+
cols?: number;
|
|
14
|
+
/** 是否显示表头 */
|
|
15
|
+
showHeader?: boolean;
|
|
16
|
+
/** 是否显示操作列 */
|
|
17
|
+
showActions?: boolean;
|
|
18
|
+
}
|
|
19
|
+
/** 表单骨架配置 */
|
|
20
|
+
interface SkeletonFormConfig {
|
|
21
|
+
/** 字段数 */
|
|
22
|
+
fields?: number;
|
|
23
|
+
/** 每行列数 */
|
|
24
|
+
cols?: number;
|
|
25
|
+
/** 是否显示标签 */
|
|
26
|
+
showLabel?: boolean;
|
|
27
|
+
/** 是否显示操作按钮 */
|
|
28
|
+
showActions?: boolean;
|
|
29
|
+
}
|
|
30
|
+
/** 列表骨架配置 */
|
|
31
|
+
interface SkeletonListConfig {
|
|
32
|
+
/** 列表项数 */
|
|
33
|
+
items?: number;
|
|
34
|
+
/** 是否显示头像 */
|
|
35
|
+
showAvatar?: boolean;
|
|
36
|
+
/** 描述行数 */
|
|
37
|
+
descLines?: number;
|
|
38
|
+
}
|
|
39
|
+
/** 卡片骨架配置 */
|
|
40
|
+
interface SkeletonCardConfig {
|
|
41
|
+
/** 是否显示封面图 */
|
|
42
|
+
showCover?: boolean;
|
|
43
|
+
/** 标题行数 */
|
|
44
|
+
titleLines?: number;
|
|
45
|
+
/** 描述行数 */
|
|
46
|
+
descLines?: number;
|
|
47
|
+
/** 是否显示底部操作 */
|
|
48
|
+
showFooter?: boolean;
|
|
49
|
+
}
|
|
50
|
+
/** 详情骨架配置 */
|
|
51
|
+
interface SkeletonDetailConfig {
|
|
52
|
+
/** 字段数 */
|
|
53
|
+
fields?: number;
|
|
54
|
+
/** 每个字段的值行数 */
|
|
55
|
+
valueLines?: number;
|
|
56
|
+
/** 是否显示头像 */
|
|
57
|
+
showAvatar?: boolean;
|
|
58
|
+
}
|
|
59
|
+
/** C_Skeleton Props */
|
|
60
|
+
interface SkeletonProps {
|
|
61
|
+
/** 预设模式 */
|
|
62
|
+
preset?: SkeletonPreset;
|
|
63
|
+
/** 是否正在加载(true 显示骨架屏,false 显示插槽内容) */
|
|
64
|
+
loading?: boolean;
|
|
65
|
+
/** 动画类型 */
|
|
66
|
+
animation?: SkeletonAnimation;
|
|
67
|
+
/** 重复次数(用于 text/card/list 模式) */
|
|
68
|
+
repeat?: number;
|
|
69
|
+
/** 圆角大小 */
|
|
70
|
+
borderRadius?: string;
|
|
71
|
+
/** 表格配置 */
|
|
72
|
+
table?: SkeletonTableConfig;
|
|
73
|
+
/** 表单配置 */
|
|
74
|
+
form?: SkeletonFormConfig;
|
|
75
|
+
/** 列表配置 */
|
|
76
|
+
list?: SkeletonListConfig;
|
|
77
|
+
/** 卡片配置 */
|
|
78
|
+
card?: SkeletonCardConfig;
|
|
79
|
+
/** 详情配置 */
|
|
80
|
+
detail?: SkeletonDetailConfig;
|
|
81
|
+
}
|
|
82
|
+
//#endregion
|
|
83
|
+
//#region src/components/C_Skeleton/index.vue.d.ts
|
|
84
|
+
declare var __VLS_1: {};
|
|
85
|
+
type __VLS_Slots = {} & {
|
|
86
|
+
default?: (props: typeof __VLS_1) => any;
|
|
87
|
+
};
|
|
88
|
+
declare const __VLS_base: vue.DefineComponent<SkeletonProps, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<SkeletonProps> & Readonly<{}>, {
|
|
89
|
+
loading: boolean;
|
|
90
|
+
repeat: number;
|
|
91
|
+
borderRadius: string;
|
|
92
|
+
preset: SkeletonPreset;
|
|
93
|
+
animation: SkeletonAnimation;
|
|
94
|
+
}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
|
|
95
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
96
|
+
declare const _default: typeof __VLS_export;
|
|
97
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
98
|
+
new (): {
|
|
99
|
+
$slots: S;
|
|
100
|
+
};
|
|
101
|
+
};
|
|
102
|
+
//#endregion
|
|
103
|
+
export { SkeletonFormConfig as a, SkeletonProps as c, SkeletonDetailConfig as i, SkeletonTableConfig as l, SkeletonAnimation as n, SkeletonListConfig as o, SkeletonCardConfig as r, SkeletonPreset as s, _default as t };
|
|
@@ -0,0 +1,105 @@
|
|
|
1
|
+
import * as vue from "vue";
|
|
2
|
+
|
|
3
|
+
//#region src/components/C_OrgChart/types.d.ts
|
|
4
|
+
/** 节点数据 */
|
|
5
|
+
interface OrgChartNode {
|
|
6
|
+
/** 唯一标识 */
|
|
7
|
+
id: string | number;
|
|
8
|
+
/** 节点标题(姓名/部门名) */
|
|
9
|
+
label: string;
|
|
10
|
+
/** 副标题(职位/描述) */
|
|
11
|
+
subtitle?: string;
|
|
12
|
+
/** 头像 URL */
|
|
13
|
+
avatar?: string;
|
|
14
|
+
/** 子节点 */
|
|
15
|
+
children?: OrgChartNode[];
|
|
16
|
+
/** 自定义 CSS 类 */
|
|
17
|
+
className?: string;
|
|
18
|
+
/** 节点是否默认折叠 */
|
|
19
|
+
collapsed?: boolean;
|
|
20
|
+
/** 节点额外数据(透传给插槽/事件) */
|
|
21
|
+
data?: Record<string, unknown>;
|
|
22
|
+
}
|
|
23
|
+
/** 布局方向 */
|
|
24
|
+
type OrgChartDirection = 'vertical' | 'horizontal';
|
|
25
|
+
/** 连线样式 */
|
|
26
|
+
type OrgChartLineStyle = 'straight' | 'rounded' | 'stepped';
|
|
27
|
+
/** C_OrgChart Props */
|
|
28
|
+
interface OrgChartProps {
|
|
29
|
+
/** 树形数据 */
|
|
30
|
+
data: OrgChartNode;
|
|
31
|
+
/** 布局方向 */
|
|
32
|
+
direction?: OrgChartDirection;
|
|
33
|
+
/** 连线样式 */
|
|
34
|
+
lineStyle?: OrgChartLineStyle;
|
|
35
|
+
/** 连线颜色 */
|
|
36
|
+
lineColor?: string;
|
|
37
|
+
/** 连线宽度(px) */
|
|
38
|
+
lineWidth?: number;
|
|
39
|
+
/** 节点间距(px) */
|
|
40
|
+
nodeSpacing?: number;
|
|
41
|
+
/** 层级间距(px) */
|
|
42
|
+
levelSpacing?: number;
|
|
43
|
+
/** 是否支持缩放 */
|
|
44
|
+
zoomable?: boolean;
|
|
45
|
+
/** 是否支持平移 */
|
|
46
|
+
pannable?: boolean;
|
|
47
|
+
/** 初始缩放比例 */
|
|
48
|
+
initialZoom?: number;
|
|
49
|
+
/** 首次渲染与数据、布局变化时适配完整树形范围。 */
|
|
50
|
+
fitOnInit?: boolean;
|
|
51
|
+
/** 最小缩放 */
|
|
52
|
+
minZoom?: number;
|
|
53
|
+
/** 最大缩放 */
|
|
54
|
+
maxZoom?: number;
|
|
55
|
+
/** 是否可折叠 */
|
|
56
|
+
collapsible?: boolean;
|
|
57
|
+
}
|
|
58
|
+
//#endregion
|
|
59
|
+
//#region src/components/C_OrgChart/index.vue.d.ts
|
|
60
|
+
declare var __VLS_12: {
|
|
61
|
+
node: OrgChartNode;
|
|
62
|
+
isLeaf: boolean;
|
|
63
|
+
isExpanded: boolean;
|
|
64
|
+
};
|
|
65
|
+
type __VLS_Slots = {} & {
|
|
66
|
+
node?: (props: typeof __VLS_12) => any;
|
|
67
|
+
};
|
|
68
|
+
declare const __VLS_base: vue.DefineComponent<OrgChartProps, {
|
|
69
|
+
zoomIn: () => void;
|
|
70
|
+
zoomOut: () => void;
|
|
71
|
+
resetView: () => void;
|
|
72
|
+
fitView: () => Promise<void>;
|
|
73
|
+
zoom: vue.Ref<number, number>;
|
|
74
|
+
}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
|
|
75
|
+
"node-click": (node: OrgChartNode) => any;
|
|
76
|
+
"node-expand": (node: OrgChartNode) => any;
|
|
77
|
+
"node-collapse": (node: OrgChartNode) => any;
|
|
78
|
+
}, string, vue.PublicProps, Readonly<OrgChartProps> & Readonly<{
|
|
79
|
+
"onNode-click"?: ((node: OrgChartNode) => any) | undefined;
|
|
80
|
+
"onNode-expand"?: ((node: OrgChartNode) => any) | undefined;
|
|
81
|
+
"onNode-collapse"?: ((node: OrgChartNode) => any) | undefined;
|
|
82
|
+
}>, {
|
|
83
|
+
direction: OrgChartDirection;
|
|
84
|
+
lineStyle: OrgChartLineStyle;
|
|
85
|
+
lineColor: string;
|
|
86
|
+
lineWidth: number;
|
|
87
|
+
nodeSpacing: number;
|
|
88
|
+
levelSpacing: number;
|
|
89
|
+
zoomable: boolean;
|
|
90
|
+
pannable: boolean;
|
|
91
|
+
initialZoom: number;
|
|
92
|
+
fitOnInit: boolean;
|
|
93
|
+
minZoom: number;
|
|
94
|
+
maxZoom: number;
|
|
95
|
+
collapsible: boolean;
|
|
96
|
+
}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
|
|
97
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
98
|
+
declare const _default: typeof __VLS_export;
|
|
99
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
100
|
+
new (): {
|
|
101
|
+
$slots: S;
|
|
102
|
+
};
|
|
103
|
+
};
|
|
104
|
+
//#endregion
|
|
105
|
+
export { OrgChartProps as a, OrgChartNode as i, OrgChartDirection as n, OrgChartLineStyle as r, _default as t };
|
|
@@ -0,0 +1,105 @@
|
|
|
1
|
+
import * as vue from "vue";
|
|
2
|
+
|
|
3
|
+
//#region src/components/C_OrgChart/types.d.ts
|
|
4
|
+
/** 节点数据 */
|
|
5
|
+
interface OrgChartNode {
|
|
6
|
+
/** 唯一标识 */
|
|
7
|
+
id: string | number;
|
|
8
|
+
/** 节点标题(姓名/部门名) */
|
|
9
|
+
label: string;
|
|
10
|
+
/** 副标题(职位/描述) */
|
|
11
|
+
subtitle?: string;
|
|
12
|
+
/** 头像 URL */
|
|
13
|
+
avatar?: string;
|
|
14
|
+
/** 子节点 */
|
|
15
|
+
children?: OrgChartNode[];
|
|
16
|
+
/** 自定义 CSS 类 */
|
|
17
|
+
className?: string;
|
|
18
|
+
/** 节点是否默认折叠 */
|
|
19
|
+
collapsed?: boolean;
|
|
20
|
+
/** 节点额外数据(透传给插槽/事件) */
|
|
21
|
+
data?: Record<string, unknown>;
|
|
22
|
+
}
|
|
23
|
+
/** 布局方向 */
|
|
24
|
+
type OrgChartDirection = 'vertical' | 'horizontal';
|
|
25
|
+
/** 连线样式 */
|
|
26
|
+
type OrgChartLineStyle = 'straight' | 'rounded' | 'stepped';
|
|
27
|
+
/** C_OrgChart Props */
|
|
28
|
+
interface OrgChartProps {
|
|
29
|
+
/** 树形数据 */
|
|
30
|
+
data: OrgChartNode;
|
|
31
|
+
/** 布局方向 */
|
|
32
|
+
direction?: OrgChartDirection;
|
|
33
|
+
/** 连线样式 */
|
|
34
|
+
lineStyle?: OrgChartLineStyle;
|
|
35
|
+
/** 连线颜色 */
|
|
36
|
+
lineColor?: string;
|
|
37
|
+
/** 连线宽度(px) */
|
|
38
|
+
lineWidth?: number;
|
|
39
|
+
/** 节点间距(px) */
|
|
40
|
+
nodeSpacing?: number;
|
|
41
|
+
/** 层级间距(px) */
|
|
42
|
+
levelSpacing?: number;
|
|
43
|
+
/** 是否支持缩放 */
|
|
44
|
+
zoomable?: boolean;
|
|
45
|
+
/** 是否支持平移 */
|
|
46
|
+
pannable?: boolean;
|
|
47
|
+
/** 初始缩放比例 */
|
|
48
|
+
initialZoom?: number;
|
|
49
|
+
/** 首次渲染与数据、布局变化时适配完整树形范围。 */
|
|
50
|
+
fitOnInit?: boolean;
|
|
51
|
+
/** 最小缩放 */
|
|
52
|
+
minZoom?: number;
|
|
53
|
+
/** 最大缩放 */
|
|
54
|
+
maxZoom?: number;
|
|
55
|
+
/** 是否可折叠 */
|
|
56
|
+
collapsible?: boolean;
|
|
57
|
+
}
|
|
58
|
+
//#endregion
|
|
59
|
+
//#region src/components/C_OrgChart/index.vue.d.ts
|
|
60
|
+
declare var __VLS_12: {
|
|
61
|
+
node: OrgChartNode;
|
|
62
|
+
isLeaf: boolean;
|
|
63
|
+
isExpanded: boolean;
|
|
64
|
+
};
|
|
65
|
+
type __VLS_Slots = {} & {
|
|
66
|
+
node?: (props: typeof __VLS_12) => any;
|
|
67
|
+
};
|
|
68
|
+
declare const __VLS_base: vue.DefineComponent<OrgChartProps, {
|
|
69
|
+
zoomIn: () => void;
|
|
70
|
+
zoomOut: () => void;
|
|
71
|
+
resetView: () => void;
|
|
72
|
+
fitView: () => Promise<void>;
|
|
73
|
+
zoom: vue.Ref<number, number>;
|
|
74
|
+
}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
|
|
75
|
+
"node-click": (node: OrgChartNode) => any;
|
|
76
|
+
"node-expand": (node: OrgChartNode) => any;
|
|
77
|
+
"node-collapse": (node: OrgChartNode) => any;
|
|
78
|
+
}, string, vue.PublicProps, Readonly<OrgChartProps> & Readonly<{
|
|
79
|
+
"onNode-click"?: ((node: OrgChartNode) => any) | undefined;
|
|
80
|
+
"onNode-expand"?: ((node: OrgChartNode) => any) | undefined;
|
|
81
|
+
"onNode-collapse"?: ((node: OrgChartNode) => any) | undefined;
|
|
82
|
+
}>, {
|
|
83
|
+
direction: OrgChartDirection;
|
|
84
|
+
lineStyle: OrgChartLineStyle;
|
|
85
|
+
lineColor: string;
|
|
86
|
+
lineWidth: number;
|
|
87
|
+
nodeSpacing: number;
|
|
88
|
+
levelSpacing: number;
|
|
89
|
+
zoomable: boolean;
|
|
90
|
+
pannable: boolean;
|
|
91
|
+
initialZoom: number;
|
|
92
|
+
fitOnInit: boolean;
|
|
93
|
+
minZoom: number;
|
|
94
|
+
maxZoom: number;
|
|
95
|
+
collapsible: boolean;
|
|
96
|
+
}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
|
|
97
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
98
|
+
declare const _default: typeof __VLS_export;
|
|
99
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
100
|
+
new (): {
|
|
101
|
+
$slots: S;
|
|
102
|
+
};
|
|
103
|
+
};
|
|
104
|
+
//#endregion
|
|
105
|
+
export { OrgChartProps as a, OrgChartNode as i, OrgChartDirection as n, OrgChartLineStyle as r, _default as t };
|
package/dist/index3.vue.d.cts
CHANGED
|
@@ -21,16 +21,16 @@ declare const __VLS_export: vue.DefineComponent<Props, {}, {}, {}, {}, vue.Compo
|
|
|
21
21
|
onError?: ((error: Error) => any) | undefined;
|
|
22
22
|
}>, {
|
|
23
23
|
height: number;
|
|
24
|
-
format: "CODE128" | "CODE39" | "EAN13" | "EAN8" | "UPC" | "ITF14" | "MSI" | "pharmacode";
|
|
25
24
|
width: number;
|
|
26
|
-
fontSize: number;
|
|
27
25
|
lineColor: string;
|
|
28
26
|
label: string;
|
|
29
|
-
|
|
30
|
-
|
|
27
|
+
fontSize: number;
|
|
28
|
+
format: "CODE128" | "CODE39" | "EAN13" | "EAN8" | "UPC" | "ITF14" | "MSI" | "pharmacode";
|
|
31
29
|
showText: boolean;
|
|
32
30
|
textPosition: "bottom" | "top";
|
|
33
31
|
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
|
@@ -21,16 +21,16 @@ declare const __VLS_export: vue.DefineComponent<Props, {}, {}, {}, {}, vue.Compo
|
|
|
21
21
|
onError?: ((error: Error) => any) | undefined;
|
|
22
22
|
}>, {
|
|
23
23
|
height: number;
|
|
24
|
-
format: "CODE128" | "CODE39" | "EAN13" | "EAN8" | "UPC" | "ITF14" | "MSI" | "pharmacode";
|
|
25
24
|
width: number;
|
|
26
|
-
fontSize: number;
|
|
27
25
|
lineColor: string;
|
|
28
26
|
label: string;
|
|
29
|
-
|
|
30
|
-
|
|
27
|
+
fontSize: number;
|
|
28
|
+
format: "CODE128" | "CODE39" | "EAN13" | "EAN8" | "UPC" | "ITF14" | "MSI" | "pharmacode";
|
|
31
29
|
showText: boolean;
|
|
32
30
|
textPosition: "bottom" | "top";
|
|
33
31
|
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
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { n as ComponentLocale } from "./contracts.cjs";
|
|
2
|
+
import * as vue from "vue";
|
|
3
|
+
|
|
4
|
+
//#region src/components/C_SectionNav/types.d.ts
|
|
5
|
+
interface SectionNavItem {
|
|
6
|
+
key: string;
|
|
7
|
+
label: string;
|
|
8
|
+
errorCount?: number;
|
|
9
|
+
disabled?: boolean;
|
|
10
|
+
}
|
|
11
|
+
interface SectionNavProps {
|
|
12
|
+
items: readonly SectionNavItem[];
|
|
13
|
+
modelValue?: string;
|
|
14
|
+
ariaLabel?: string;
|
|
15
|
+
locale?: ComponentLocale;
|
|
16
|
+
}
|
|
17
|
+
//#endregion
|
|
18
|
+
//#region src/components/C_SectionNav/index.vue.d.ts
|
|
19
|
+
declare const __VLS_export: vue.DefineComponent<SectionNavProps, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
|
|
20
|
+
select: (key: string) => any;
|
|
21
|
+
"update:modelValue": (key: string) => any;
|
|
22
|
+
}, string, vue.PublicProps, Readonly<SectionNavProps> & Readonly<{
|
|
23
|
+
onSelect?: ((key: string) => any) | undefined;
|
|
24
|
+
"onUpdate:modelValue"?: ((key: string) => any) | undefined;
|
|
25
|
+
}>, {}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
|
|
26
|
+
declare const _default: typeof __VLS_export;
|
|
27
|
+
//#endregion
|
|
28
|
+
export { SectionNavItem as n, SectionNavProps as r, _default as t };
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { n as ComponentLocale } from "./contracts.js";
|
|
2
|
+
import * as vue from "vue";
|
|
3
|
+
|
|
4
|
+
//#region src/components/C_SectionNav/types.d.ts
|
|
5
|
+
interface SectionNavItem {
|
|
6
|
+
key: string;
|
|
7
|
+
label: string;
|
|
8
|
+
errorCount?: number;
|
|
9
|
+
disabled?: boolean;
|
|
10
|
+
}
|
|
11
|
+
interface SectionNavProps {
|
|
12
|
+
items: readonly SectionNavItem[];
|
|
13
|
+
modelValue?: string;
|
|
14
|
+
ariaLabel?: string;
|
|
15
|
+
locale?: ComponentLocale;
|
|
16
|
+
}
|
|
17
|
+
//#endregion
|
|
18
|
+
//#region src/components/C_SectionNav/index.vue.d.ts
|
|
19
|
+
declare const __VLS_export: vue.DefineComponent<SectionNavProps, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
|
|
20
|
+
select: (key: string) => any;
|
|
21
|
+
"update:modelValue": (key: string) => any;
|
|
22
|
+
}, string, vue.PublicProps, Readonly<SectionNavProps> & Readonly<{
|
|
23
|
+
onSelect?: ((key: string) => any) | undefined;
|
|
24
|
+
"onUpdate:modelValue"?: ((key: string) => any) | undefined;
|
|
25
|
+
}>, {}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
|
|
26
|
+
declare const _default: typeof __VLS_export;
|
|
27
|
+
//#endregion
|
|
28
|
+
export { SectionNavItem as n, SectionNavProps as r, _default as t };
|