@robot-admin/naive-ui-components 0.41.1 → 0.42.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 +46 -5
- package/README_EN.md +54 -13
- package/dist/ActionOverflow.cjs +1 -1
- package/dist/ActionOverflow.js +1 -1
- package/dist/C_ActionBar.cjs +1 -1
- package/dist/C_ActionBar.css +54 -54
- package/dist/C_ActionBar.js +1 -1
- package/dist/C_ActionBar2.cjs +1 -1
- package/dist/C_ActionBar2.js +1 -1
- package/dist/C_AntV.css +10 -10
- package/dist/C_AntV2.cjs +1 -1
- package/dist/C_AntV2.js +1 -1
- package/dist/C_ApprovalViewer.css +15 -15
- package/dist/C_ApprovalViewer2.cjs +1 -1
- package/dist/C_ApprovalViewer2.js +1 -1
- package/dist/C_AudioPlayer.css +53 -53
- package/dist/C_AudioPlayer2.cjs +1 -1
- package/dist/C_AudioPlayer2.js +1 -1
- package/dist/C_AutoComplete.css +2 -2
- package/dist/C_AutoComplete2.cjs +1 -1
- package/dist/C_AutoComplete2.js +1 -1
- package/dist/C_AvatarGroup.css +29 -29
- package/dist/C_AvatarGroup2.cjs +1 -1
- package/dist/C_AvatarGroup2.js +1 -1
- package/dist/C_BatchResult.css +10 -10
- package/dist/C_BatchResult2.cjs +1 -1
- package/dist/C_BatchResult2.js +1 -1
- package/dist/C_Breadcrumb.css +40 -40
- package/dist/C_Breadcrumb2.cjs +1 -1
- package/dist/C_Breadcrumb2.js +1 -1
- package/dist/C_Captcha.d.cts +2 -2
- package/dist/C_Captcha.d.ts +2 -2
- package/dist/C_Captcha2.cjs +1 -1
- package/dist/C_Captcha2.js +1 -1
- package/dist/C_Cascade.css +4 -4
- package/dist/C_Cascade2.cjs +1 -1
- package/dist/C_Cascade2.js +1 -1
- package/dist/C_Chat2.cjs +1 -1
- package/dist/C_Chat2.js +1 -1
- package/dist/C_City.css +35 -35
- package/dist/C_City2.cjs +1 -1
- package/dist/C_City2.js +1 -1
- package/dist/C_Code.css +27 -27
- package/dist/C_Code2.cjs +1 -1
- package/dist/C_Code2.js +2 -2
- package/dist/C_CollapsePanel2.cjs +1 -1
- package/dist/C_CollapsePanel2.js +1 -1
- package/dist/C_ContextMenu.css +3 -3
- package/dist/C_ContextMenu2.cjs +1 -1
- package/dist/C_ContextMenu2.js +1 -1
- package/dist/C_Cron.css +18 -18
- package/dist/C_Cron2.cjs +1 -1
- package/dist/C_Cron2.js +1 -1
- package/dist/C_DataPicker.css +52 -52
- package/dist/C_DataPicker2.cjs +1 -1
- package/dist/C_DataPicker2.js +1 -1
- package/dist/C_Date.css +5 -5
- package/dist/C_Date2.cjs +1 -1
- package/dist/C_Date2.js +1 -1
- package/dist/C_Density2.cjs +1 -1
- package/dist/C_Density2.js +1 -1
- package/dist/C_Draggable.css +66 -53
- package/dist/C_Draggable2.cjs +1 -1
- package/dist/C_Draggable2.js +1 -1
- package/dist/C_Editor.css +13 -13
- package/dist/C_Editor.d.cts +2 -2
- package/dist/C_Editor.d.ts +2 -2
- package/dist/C_Editor2.cjs +1 -1
- package/dist/C_Editor2.js +1 -1
- package/dist/C_FilePreview.css +49 -49
- package/dist/C_FilePreview2.cjs +1 -1
- package/dist/C_FilePreview2.js +1 -1
- package/dist/C_Form.base.css +242 -242
- package/dist/C_Form.css +242 -242
- package/dist/C_Form.d.cts +1 -1
- package/dist/C_Form.d.ts +1 -1
- package/dist/C_FormModal.css +55 -55
- package/dist/C_FormModal2.cjs +1 -1
- package/dist/C_FormModal2.js +1 -1
- package/dist/C_FormSearch.css +75 -75
- package/dist/C_FormSearch.d.ts +1 -1
- package/dist/C_FormulaEditor.cjs +1 -1
- package/dist/C_FormulaEditor.css +41 -41
- package/dist/C_FormulaEditor.d.cts +2 -2
- package/dist/C_FormulaEditor.d.ts +2 -2
- package/dist/C_FormulaEditor.js +1 -1
- package/dist/C_GlobalSearch2.cjs +1 -1
- package/dist/C_GlobalSearch2.js +1 -1
- package/dist/C_Guide.css +13 -13
- package/dist/C_Guide2.cjs +1 -1
- package/dist/C_Guide2.js +1 -1
- package/dist/C_ImageCropper.css +27 -27
- package/dist/C_ImageCropper2.cjs +1 -1
- package/dist/C_ImageCropper2.js +1 -1
- package/dist/C_ImportWizard.css +8 -8
- package/dist/C_ImportWizard2.cjs +1 -1
- package/dist/C_ImportWizard2.js +1 -1
- package/dist/C_Language.css +2 -2
- package/dist/C_Language2.cjs +1 -1
- package/dist/C_Language2.js +1 -1
- package/dist/C_Loading.css +18 -18
- package/dist/C_Loading2.cjs +1 -1
- package/dist/C_Loading2.js +1 -1
- package/dist/C_Login.css +94 -94
- package/dist/C_Login2.cjs +1 -1
- package/dist/C_Login2.js +1 -1
- package/dist/C_Markdown.css +37 -37
- package/dist/C_Markdown2.cjs +1 -1
- package/dist/C_Markdown2.js +1 -1
- package/dist/C_NotificationCenter.css +24 -24
- package/dist/C_NotificationCenter2.cjs +1 -1
- package/dist/C_NotificationCenter2.js +1 -1
- package/dist/C_OrgChart.d.cts +2 -8
- package/dist/C_OrgChart.d.ts +2 -8
- package/dist/C_Progress2.cjs +1 -1
- package/dist/C_Progress2.js +1 -1
- package/dist/C_QRCode.css +9 -9
- package/dist/C_QRCode2.cjs +1 -1
- package/dist/C_QRCode2.js +1 -1
- package/dist/C_RecurrenceEditor.cjs +1 -1
- package/dist/C_RecurrenceEditor.d.cts +2 -2
- package/dist/C_RecurrenceEditor.d.ts +2 -2
- package/dist/C_RecurrenceEditor.js +1 -1
- package/dist/C_RecurrenceEditor2.cjs +1 -1
- package/dist/C_RecurrenceEditor2.js +1 -1
- package/dist/C_ResourceSchedule2.cjs +1 -1
- package/dist/C_ResourceSchedule2.js +1 -1
- package/dist/C_ScanInput2.cjs +1 -1
- package/dist/C_ScanInput2.js +1 -1
- package/dist/C_SectionNav.css +8 -8
- package/dist/C_SectionNav2.cjs +1 -1
- package/dist/C_SectionNav2.js +1 -1
- package/dist/C_Select.css +1 -1
- package/dist/C_Select2.cjs +1 -1
- package/dist/C_Select2.js +1 -1
- package/dist/C_Signature.css +15 -15
- package/dist/C_Signature2.cjs +1 -1
- package/dist/C_Signature2.js +1 -1
- package/dist/C_SplitPane2.cjs +1 -1
- package/dist/C_SplitPane2.js +1 -1
- package/dist/C_Table.base.css +429 -429
- package/dist/C_Table.css +187 -187
- package/dist/C_Table.d.cts +1 -1
- package/dist/C_Table.d.ts +1 -1
- package/dist/C_Table2.cjs +4 -4
- package/dist/C_Table2.js +4 -4
- package/dist/C_Timeline.css +50 -50
- package/dist/C_Timeline2.cjs +1 -1
- package/dist/C_Timeline2.js +1 -1
- package/dist/C_Transfer.css +25 -25
- package/dist/C_Transfer2.cjs +1 -1
- package/dist/C_Transfer2.js +1 -1
- package/dist/C_Tree.css +30 -30
- package/dist/C_Tree2.cjs +1 -1
- package/dist/C_Tree2.js +1 -1
- package/dist/C_Upload.css +5 -5
- package/dist/C_Upload2.cjs +1 -1
- package/dist/C_Upload2.js +1 -1
- package/dist/C_UserPicker.css +1 -1
- package/dist/C_VideoPlayer2.cjs +1 -1
- package/dist/C_VideoPlayer2.js +1 -1
- package/dist/C_VtableGantt.css +34 -34
- package/dist/C_WorkFlow.css +93 -93
- 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/ColumnSettingsDrawer.cjs +1 -0
- package/dist/ColumnSettingsDrawer.js +1 -0
- package/dist/Custom.cjs +1 -1
- package/dist/Custom.js +1 -1
- package/dist/Dynamic.cjs +1 -1
- package/dist/Dynamic.js +1 -1
- package/dist/OptionStatus.cjs +1 -1
- package/dist/OptionStatus.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/actionIcon.cjs +1 -1
- package/dist/actionIcon.js +1 -1
- package/dist/component-config.d.ts +1 -1
- package/dist/config.d.cts +1 -1
- package/dist/config.d.ts +1 -1
- package/dist/constants.d.cts +6 -6
- package/dist/constants.d.ts +6 -6
- package/dist/constants2.d.cts +10 -3
- package/dist/constants2.d.ts +10 -3
- package/dist/constants3.d.cts +5 -5
- package/dist/constants3.d.ts +5 -5
- package/dist/constants4.d.cts +10 -9
- package/dist/constants4.d.ts +10 -9
- package/dist/context.d.cts +1 -1
- package/dist/data2.d.cts +10 -10
- package/dist/data2.d.ts +10 -10
- package/dist/editors.d.cts +17 -15
- package/dist/editors.d.ts +17 -15
- package/dist/fieldNode.cjs +1 -0
- package/dist/fieldNode.js +1 -0
- package/dist/fieldRenderers.cjs +1 -1
- package/dist/fieldRenderers.js +1 -1
- package/dist/graphics.cjs +1 -1
- package/dist/graphics.js +1 -1
- package/dist/index.cjs +1 -1
- package/dist/index.d.cts +7 -6
- package/dist/index.d.ts +6 -6
- package/dist/index.js +1 -1
- package/dist/index10.vue.d.cts +2 -2
- package/dist/index11.vue.d.ts +3 -3
- package/dist/index12.vue.d.cts +3 -3
- package/dist/index12.vue.d.ts +2 -2
- package/dist/index13.vue.d.cts +2 -2
- package/dist/index13.vue.d.ts +2 -2
- package/dist/index14.vue.d.cts +2 -2
- package/dist/index14.vue.d.ts +3 -3
- package/dist/index15.vue.d.cts +3 -3
- package/dist/index17.vue.d.ts +17 -10
- package/dist/index18.vue.d.cts +17 -10
- package/dist/index19.vue.d.ts +3 -3
- package/dist/index2.vue.d.cts +2 -2
- package/dist/index2.vue.d.ts +2 -2
- package/dist/index20.vue.d.cts +3 -3
- package/dist/index20.vue.d.ts +3 -3
- package/dist/index21.vue.d.cts +3 -3
- package/dist/index21.vue.d.ts +7 -7
- package/dist/index22.vue.d.cts +7 -7
- package/dist/index24.vue.d.ts +2 -2
- package/dist/index25.vue.d.cts +2 -2
- package/dist/index26.vue.d.ts +1 -1
- package/dist/index27.vue.d.cts +1 -1
- package/dist/index27.vue.d.ts +3 -3
- package/dist/index28.vue.d.cts +3 -3
- package/dist/index3.vue.d.cts +17 -19
- package/dist/index3.vue.d.ts +17 -19
- package/dist/index31.vue.d.cts +1 -1
- package/dist/index31.vue.d.ts +1 -1
- package/dist/index34.vue.d.cts +2 -0
- package/dist/index34.vue.d.ts +2 -0
- package/dist/index35.vue.d.cts +4 -4
- package/dist/index35.vue.d.ts +4 -4
- package/dist/index36.vue.d.cts +20 -11
- package/dist/index36.vue.d.ts +20 -11
- package/dist/index37.vue.d.cts +2 -2
- package/dist/index37.vue.d.ts +2 -2
- package/dist/index38.vue.d.cts +2 -2
- package/dist/index38.vue.d.ts +2 -2
- package/dist/index39.vue.d.cts +1 -1
- package/dist/index39.vue.d.ts +1 -1
- package/dist/index4.vue.d.cts +7 -4
- package/dist/index4.vue.d.ts +7 -4
- package/dist/index42.vue.d.cts +3 -3
- package/dist/index42.vue.d.ts +3 -3
- package/dist/index43.vue.d.cts +2 -2
- package/dist/index43.vue.d.ts +2 -2
- package/dist/index5.vue.d.cts +4 -16
- package/dist/index5.vue.d.ts +4 -16
- package/dist/index6.vue.d.cts +5 -5
- package/dist/index6.vue.d.ts +5 -5
- package/dist/index7.vue.d.cts +18 -12
- package/dist/index7.vue.d.ts +18 -12
- package/dist/index9.vue.d.ts +2 -2
- package/dist/localSource.d.cts +8 -8
- package/dist/localSource.d.ts +8 -8
- package/dist/locale.cjs +1 -1
- package/dist/locale.js +1 -1
- package/dist/mapUtils.d.cts +1 -1
- package/dist/mapUtils.d.ts +1 -1
- package/dist/persistence.cjs +1 -0
- package/dist/persistence.js +1 -0
- package/dist/rule.d.cts +4 -1
- package/dist/rule.d.ts +4 -1
- package/dist/serializeSearch.cjs +1 -1
- package/dist/serializeSearch.js +1 -1
- package/dist/source.cjs +1 -1
- package/dist/source.js +1 -1
- package/dist/style.css +1390 -1377
- package/dist/types.d.cts +5 -1
- package/dist/types.d.ts +5 -1
- package/dist/types10.d.cts +2 -0
- package/dist/types10.d.ts +1 -1
- package/dist/types11.d.cts +1 -1
- package/dist/types3.d.cts +14 -5
- package/dist/types3.d.ts +14 -5
- package/dist/types5.d.ts +12 -10
- package/dist/types6.d.cts +12 -10
- package/dist/types6.d.ts +1 -1
- package/dist/types9.d.ts +2 -0
- package/dist/useCalendarEvents.d.cts +4 -16
- package/dist/useCalendarEvents.d.ts +4 -16
- package/dist/useCollapsePanel.d.cts +1 -0
- package/dist/useCollapsePanel.d.ts +1 -0
- package/dist/useCropperCore.d.cts +6 -17
- package/dist/useCropperCore.d.ts +6 -17
- package/dist/useDynamicFormState.d.cts +3 -3
- package/dist/useDynamicFormState.d.ts +3 -3
- package/dist/useEdgeInteraction.d.cts +3 -12
- package/dist/useEdgeInteraction.d.ts +3 -12
- package/dist/useFormRenderer.d.cts +1 -1
- package/dist/useFormRenderer.d.ts +1 -1
- package/dist/useFormulaEvaluator.cjs +2 -2
- package/dist/useFormulaEvaluator.js +2 -2
- package/dist/useFullscreen.d.cts +23 -5
- package/dist/useFullscreen.d.ts +23 -5
- package/dist/useQRCode.d.cts +5 -18
- package/dist/useQRCode.d.ts +5 -18
- package/dist/useSignatureHistory.d.cts +4 -3
- package/dist/useSignatureHistory.d.ts +4 -3
- package/dist/useSplitResize.d.cts +2 -2
- package/dist/useSplitResize.d.ts +2 -2
- package/dist/useTimeSelection.d.cts +4 -3
- package/dist/useTimeSelection.d.ts +4 -3
- package/dist/useWorkflowValidation.d.cts +43 -37
- package/dist/useWorkflowValidation.d.ts +43 -37
- package/dist/verification.d.cts +8 -8
- package/dist/verification.d.ts +8 -8
- package/docs/engineering.en.md +1 -0
- package/docs/engineering.md +1 -0
- package/docs/guides/batch-results.md +3 -3
- package/docs/guides/data-picker.md +2 -0
- package/docs/guides/resource-schedule.md +1 -0
- package/docs/guides/runtime-performance.md +2 -0
- package/docs/guides/scene-components.md +1 -1
- package/docs/guides/usage.en.md +15 -4
- package/docs/guides/usage.md +13 -4
- package/package.json +1 -1
package/dist/index3.vue.d.cts
CHANGED
|
@@ -40,7 +40,14 @@ interface AudioPlayerProps {
|
|
|
40
40
|
theme?: 'default' | 'minimal';
|
|
41
41
|
}
|
|
42
42
|
/** Default props */
|
|
43
|
-
declare const DEFAULT_AUDIO_PLAYER_PROPS:
|
|
43
|
+
declare const DEFAULT_AUDIO_PLAYER_PROPS: {
|
|
44
|
+
initialIndex: number;
|
|
45
|
+
showPlaylist: true;
|
|
46
|
+
showCover: true;
|
|
47
|
+
autoplay: false;
|
|
48
|
+
mode: "list";
|
|
49
|
+
theme: "default";
|
|
50
|
+
};
|
|
44
51
|
/** Playback mode icon map */
|
|
45
52
|
declare const MODE_ICON_MAP: Record<string, {
|
|
46
53
|
icon: string;
|
|
@@ -50,30 +57,21 @@ declare const MODE_ICON_MAP: Record<string, {
|
|
|
50
57
|
declare function formatTime(seconds: number): string;
|
|
51
58
|
//#endregion
|
|
52
59
|
//#region src/components/C_AudioPlayer/index.vue.d.ts
|
|
53
|
-
|
|
54
|
-
tracks: AudioPlayerProps['tracks'];
|
|
55
|
-
initialIndex?: number;
|
|
56
|
-
showPlaylist?: boolean;
|
|
57
|
-
showCover?: boolean;
|
|
58
|
-
autoplay?: boolean;
|
|
59
|
-
mode?: AudioPlayerProps['mode'];
|
|
60
|
-
theme?: AudioPlayerProps['theme'];
|
|
61
|
-
};
|
|
62
|
-
declare const __VLS_export: vue.DefineComponent<__VLS_Props, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
|
|
60
|
+
declare const __VLS_export: vue.DefineComponent<AudioPlayerProps, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
|
|
63
61
|
error: (error: unknown) => any;
|
|
64
|
-
ended: (index: number) => any;
|
|
65
|
-
pause: () => any;
|
|
66
62
|
play: (index: number) => any;
|
|
67
|
-
|
|
68
|
-
|
|
63
|
+
pause: () => any;
|
|
64
|
+
ended: (index: number) => any;
|
|
65
|
+
modeChange: (mode: NonNullable<"list" | "single" | "loop" | "shuffle" | undefined>) => any;
|
|
66
|
+
}, string, vue.PublicProps, Readonly<AudioPlayerProps> & Readonly<{
|
|
69
67
|
onError?: ((error: unknown) => any) | undefined;
|
|
70
|
-
onEnded?: ((index: number) => any) | undefined;
|
|
71
|
-
onPause?: (() => any) | undefined;
|
|
72
68
|
onPlay?: ((index: number) => any) | undefined;
|
|
73
|
-
|
|
69
|
+
onPause?: (() => any) | undefined;
|
|
70
|
+
onEnded?: ((index: number) => any) | undefined;
|
|
71
|
+
onModeChange?: ((mode: NonNullable<"list" | "single" | "loop" | "shuffle" | undefined>) => any) | undefined;
|
|
74
72
|
}>, {
|
|
75
73
|
theme: "default" | "minimal";
|
|
76
|
-
mode: "
|
|
74
|
+
mode: "list" | "loop" | "single" | "shuffle";
|
|
77
75
|
autoplay: boolean;
|
|
78
76
|
initialIndex: number;
|
|
79
77
|
showPlaylist: boolean;
|
package/dist/index3.vue.d.ts
CHANGED
|
@@ -40,7 +40,14 @@ interface AudioPlayerProps {
|
|
|
40
40
|
theme?: 'default' | 'minimal';
|
|
41
41
|
}
|
|
42
42
|
/** Default props */
|
|
43
|
-
declare const DEFAULT_AUDIO_PLAYER_PROPS:
|
|
43
|
+
declare const DEFAULT_AUDIO_PLAYER_PROPS: {
|
|
44
|
+
initialIndex: number;
|
|
45
|
+
showPlaylist: true;
|
|
46
|
+
showCover: true;
|
|
47
|
+
autoplay: false;
|
|
48
|
+
mode: "list";
|
|
49
|
+
theme: "default";
|
|
50
|
+
};
|
|
44
51
|
/** Playback mode icon map */
|
|
45
52
|
declare const MODE_ICON_MAP: Record<string, {
|
|
46
53
|
icon: string;
|
|
@@ -50,30 +57,21 @@ declare const MODE_ICON_MAP: Record<string, {
|
|
|
50
57
|
declare function formatTime(seconds: number): string;
|
|
51
58
|
//#endregion
|
|
52
59
|
//#region src/components/C_AudioPlayer/index.vue.d.ts
|
|
53
|
-
|
|
54
|
-
tracks: AudioPlayerProps['tracks'];
|
|
55
|
-
initialIndex?: number;
|
|
56
|
-
showPlaylist?: boolean;
|
|
57
|
-
showCover?: boolean;
|
|
58
|
-
autoplay?: boolean;
|
|
59
|
-
mode?: AudioPlayerProps['mode'];
|
|
60
|
-
theme?: AudioPlayerProps['theme'];
|
|
61
|
-
};
|
|
62
|
-
declare const __VLS_export: vue.DefineComponent<__VLS_Props, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
|
|
60
|
+
declare const __VLS_export: vue.DefineComponent<AudioPlayerProps, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
|
|
63
61
|
error: (error: unknown) => any;
|
|
64
|
-
ended: (index: number) => any;
|
|
65
|
-
pause: () => any;
|
|
66
62
|
play: (index: number) => any;
|
|
67
|
-
|
|
68
|
-
|
|
63
|
+
pause: () => any;
|
|
64
|
+
ended: (index: number) => any;
|
|
65
|
+
modeChange: (mode: NonNullable<"list" | "single" | "loop" | "shuffle" | undefined>) => any;
|
|
66
|
+
}, string, vue.PublicProps, Readonly<AudioPlayerProps> & Readonly<{
|
|
69
67
|
onError?: ((error: unknown) => any) | undefined;
|
|
70
|
-
onEnded?: ((index: number) => any) | undefined;
|
|
71
|
-
onPause?: (() => any) | undefined;
|
|
72
68
|
onPlay?: ((index: number) => any) | undefined;
|
|
73
|
-
|
|
69
|
+
onPause?: (() => any) | undefined;
|
|
70
|
+
onEnded?: ((index: number) => any) | undefined;
|
|
71
|
+
onModeChange?: ((mode: NonNullable<"list" | "single" | "loop" | "shuffle" | undefined>) => any) | undefined;
|
|
74
72
|
}>, {
|
|
75
73
|
theme: "default" | "minimal";
|
|
76
|
-
mode: "
|
|
74
|
+
mode: "list" | "loop" | "single" | "shuffle";
|
|
77
75
|
autoplay: boolean;
|
|
78
76
|
initialIndex: number;
|
|
79
77
|
showPlaylist: boolean;
|
package/dist/index31.vue.d.cts
CHANGED
|
@@ -38,12 +38,12 @@ type __VLS_Slots = {} & {
|
|
|
38
38
|
};
|
|
39
39
|
declare const __VLS_base: vue.DefineComponent<ProgressProps, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<ProgressProps> & Readonly<{}>, {
|
|
40
40
|
status: "default" | "success" | "error" | "warning" | "info";
|
|
41
|
-
strokeWidth: number;
|
|
42
41
|
time: number;
|
|
43
42
|
percentage: number | number[];
|
|
44
43
|
isAnimation: boolean;
|
|
45
44
|
indicatorPlacement: "inside" | "outside";
|
|
46
45
|
showIndicator: boolean;
|
|
46
|
+
strokeWidth: number;
|
|
47
47
|
unit: string;
|
|
48
48
|
}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
|
|
49
49
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
package/dist/index31.vue.d.ts
CHANGED
|
@@ -38,12 +38,12 @@ type __VLS_Slots = {} & {
|
|
|
38
38
|
};
|
|
39
39
|
declare const __VLS_base: vue.DefineComponent<ProgressProps, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<ProgressProps> & Readonly<{}>, {
|
|
40
40
|
status: "default" | "success" | "error" | "warning" | "info";
|
|
41
|
-
strokeWidth: number;
|
|
42
41
|
time: number;
|
|
43
42
|
percentage: number | number[];
|
|
44
43
|
isAnimation: boolean;
|
|
45
44
|
indicatorPlacement: "inside" | "outside";
|
|
46
45
|
showIndicator: boolean;
|
|
46
|
+
strokeWidth: number;
|
|
47
47
|
unit: string;
|
|
48
48
|
}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
|
|
49
49
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
package/dist/index34.vue.d.cts
CHANGED
|
@@ -12,6 +12,7 @@ interface ResourceScheduleResource {
|
|
|
12
12
|
workingWindows?: readonly ResourceScheduleRange[];
|
|
13
13
|
}
|
|
14
14
|
interface ResourceScheduleBooking {
|
|
15
|
+
/** Unique across the board, including bookings on different resources. */
|
|
15
16
|
key: ResourceScheduleKey;
|
|
16
17
|
resourceKey: ResourceScheduleKey;
|
|
17
18
|
label: string;
|
|
@@ -29,6 +30,7 @@ interface ResourceScheduleProps<R extends ResourceScheduleResource = ResourceSch
|
|
|
29
30
|
bookings: readonly B[];
|
|
30
31
|
modelValue?: B['key'] | null;
|
|
31
32
|
title?: string;
|
|
33
|
+
/** IANA time zone used for labels. Defaults to UTC. */
|
|
32
34
|
timeZone?: string;
|
|
33
35
|
/** Including the two range boundaries. Defaults to 7, bounded between 2 and 24. */
|
|
34
36
|
tickCount?: number;
|
package/dist/index34.vue.d.ts
CHANGED
|
@@ -12,6 +12,7 @@ interface ResourceScheduleResource {
|
|
|
12
12
|
workingWindows?: readonly ResourceScheduleRange[];
|
|
13
13
|
}
|
|
14
14
|
interface ResourceScheduleBooking {
|
|
15
|
+
/** Unique across the board, including bookings on different resources. */
|
|
15
16
|
key: ResourceScheduleKey;
|
|
16
17
|
resourceKey: ResourceScheduleKey;
|
|
17
18
|
label: string;
|
|
@@ -29,6 +30,7 @@ interface ResourceScheduleProps<R extends ResourceScheduleResource = ResourceSch
|
|
|
29
30
|
bookings: readonly B[];
|
|
30
31
|
modelValue?: B['key'] | null;
|
|
31
32
|
title?: string;
|
|
33
|
+
/** IANA time zone used for labels. Defaults to UTC. */
|
|
32
34
|
timeZone?: string;
|
|
33
35
|
/** Including the two range boundaries. Defaults to 7, bounded between 2 and 24. */
|
|
34
36
|
tickCount?: number;
|
package/dist/index35.vue.d.cts
CHANGED
|
@@ -28,14 +28,14 @@ interface ScanInputEmits {
|
|
|
28
28
|
//#region src/components/C_ScanInput/index.vue.d.ts
|
|
29
29
|
declare const __VLS_export: vue.DefineComponent<ScanInputProps, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
|
|
30
30
|
"update:modelValue": (value: string) => any;
|
|
31
|
-
error: (error: unknown, input: "camera" | "photo") => any;
|
|
32
|
-
submit: (value: string) => any;
|
|
33
31
|
scan: (result: ScanResult, input: "camera" | "photo") => any;
|
|
32
|
+
submit: (value: string) => any;
|
|
33
|
+
error: (error: unknown, input: "camera" | "photo") => any;
|
|
34
34
|
}, string, vue.PublicProps, Readonly<ScanInputProps> & Readonly<{
|
|
35
35
|
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
36
|
-
onError?: ((error: unknown, input: "camera" | "photo") => any) | undefined;
|
|
37
|
-
onSubmit?: ((value: string) => any) | undefined;
|
|
38
36
|
onScan?: ((result: ScanResult, input: "camera" | "photo") => any) | undefined;
|
|
37
|
+
onSubmit?: ((value: string) => any) | undefined;
|
|
38
|
+
onError?: ((error: unknown, input: "camera" | "photo") => any) | undefined;
|
|
39
39
|
}>, {}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
|
|
40
40
|
declare const _default: typeof __VLS_export;
|
|
41
41
|
//#endregion
|
package/dist/index35.vue.d.ts
CHANGED
|
@@ -28,14 +28,14 @@ interface ScanInputEmits {
|
|
|
28
28
|
//#region src/components/C_ScanInput/index.vue.d.ts
|
|
29
29
|
declare const __VLS_export: vue.DefineComponent<ScanInputProps, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
|
|
30
30
|
"update:modelValue": (value: string) => any;
|
|
31
|
-
error: (error: unknown, input: "camera" | "photo") => any;
|
|
32
|
-
submit: (value: string) => any;
|
|
33
31
|
scan: (result: ScanResult, input: "camera" | "photo") => any;
|
|
32
|
+
submit: (value: string) => any;
|
|
33
|
+
error: (error: unknown, input: "camera" | "photo") => any;
|
|
34
34
|
}, string, vue.PublicProps, Readonly<ScanInputProps> & Readonly<{
|
|
35
35
|
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
36
|
-
onError?: ((error: unknown, input: "camera" | "photo") => any) | undefined;
|
|
37
|
-
onSubmit?: ((value: string) => any) | undefined;
|
|
38
36
|
onScan?: ((result: ScanResult, input: "camera" | "photo") => any) | undefined;
|
|
37
|
+
onSubmit?: ((value: string) => any) | undefined;
|
|
38
|
+
onError?: ((error: unknown, input: "camera" | "photo") => any) | undefined;
|
|
39
39
|
}>, {}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
|
|
40
40
|
declare const _default: typeof __VLS_export;
|
|
41
41
|
//#endregion
|
package/dist/index36.vue.d.cts
CHANGED
|
@@ -2,27 +2,36 @@ import { n as ComponentLocale } from "./contracts.cjs";
|
|
|
2
2
|
import * as vue from "vue";
|
|
3
3
|
|
|
4
4
|
//#region src/components/C_SectionNav/types.d.ts
|
|
5
|
-
interface SectionNavItem {
|
|
6
|
-
key:
|
|
5
|
+
interface SectionNavItem<K extends string = string> {
|
|
6
|
+
key: K;
|
|
7
7
|
label: string;
|
|
8
8
|
errorCount?: number;
|
|
9
9
|
disabled?: boolean;
|
|
10
10
|
}
|
|
11
|
-
interface SectionNavProps {
|
|
12
|
-
items: readonly SectionNavItem[];
|
|
11
|
+
interface SectionNavProps<K extends string = string> {
|
|
12
|
+
items: readonly SectionNavItem<K>[];
|
|
13
|
+
/** Controlled input can still use a broad string. Events infer their key from items. */
|
|
13
14
|
modelValue?: string;
|
|
14
15
|
ariaLabel?: string;
|
|
15
16
|
locale?: ComponentLocale;
|
|
16
17
|
}
|
|
17
18
|
//#endregion
|
|
18
19
|
//#region src/components/C_SectionNav/index.vue.d.ts
|
|
19
|
-
declare const __VLS_export:
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
}
|
|
20
|
+
declare const __VLS_export: <K extends string>(__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<{
|
|
21
|
+
props: vue.PublicProps & __VLS_PrettifyLocal<SectionNavProps<K> & {
|
|
22
|
+
onSelect?: ((key: K) => any) | undefined;
|
|
23
|
+
"onUpdate:modelValue"?: ((key: K) => any) | undefined;
|
|
24
|
+
}> & (typeof globalThis extends {
|
|
25
|
+
__VLS_PROPS_FALLBACK: infer P;
|
|
26
|
+
} ? P : {});
|
|
27
|
+
expose: (exposed: {}) => void;
|
|
28
|
+
attrs: any;
|
|
29
|
+
slots: {};
|
|
30
|
+
emit: ((evt: "select", key: K) => void) & ((evt: "update:modelValue", key: K) => void);
|
|
31
|
+
}>) => vue.VNode & {
|
|
32
|
+
__ctx?: NonNullable<Awaited<typeof __VLS_setup>>;
|
|
33
|
+
};
|
|
26
34
|
declare const _default: typeof __VLS_export;
|
|
35
|
+
type __VLS_PrettifyLocal<T> = (T extends any ? { [K in keyof T]: T[K] } : { [K in keyof T as K]: T[K] }) & {};
|
|
27
36
|
//#endregion
|
|
28
37
|
export { SectionNavItem as n, SectionNavProps as r, _default as t };
|
package/dist/index36.vue.d.ts
CHANGED
|
@@ -2,27 +2,36 @@ import { n as ComponentLocale } from "./contracts.js";
|
|
|
2
2
|
import * as vue from "vue";
|
|
3
3
|
|
|
4
4
|
//#region src/components/C_SectionNav/types.d.ts
|
|
5
|
-
interface SectionNavItem {
|
|
6
|
-
key:
|
|
5
|
+
interface SectionNavItem<K extends string = string> {
|
|
6
|
+
key: K;
|
|
7
7
|
label: string;
|
|
8
8
|
errorCount?: number;
|
|
9
9
|
disabled?: boolean;
|
|
10
10
|
}
|
|
11
|
-
interface SectionNavProps {
|
|
12
|
-
items: readonly SectionNavItem[];
|
|
11
|
+
interface SectionNavProps<K extends string = string> {
|
|
12
|
+
items: readonly SectionNavItem<K>[];
|
|
13
|
+
/** Controlled input can still use a broad string. Events infer their key from items. */
|
|
13
14
|
modelValue?: string;
|
|
14
15
|
ariaLabel?: string;
|
|
15
16
|
locale?: ComponentLocale;
|
|
16
17
|
}
|
|
17
18
|
//#endregion
|
|
18
19
|
//#region src/components/C_SectionNav/index.vue.d.ts
|
|
19
|
-
declare const __VLS_export:
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
}
|
|
20
|
+
declare const __VLS_export: <K extends string>(__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<{
|
|
21
|
+
props: vue.PublicProps & __VLS_PrettifyLocal<SectionNavProps<K> & {
|
|
22
|
+
onSelect?: ((key: K) => any) | undefined;
|
|
23
|
+
"onUpdate:modelValue"?: ((key: K) => any) | undefined;
|
|
24
|
+
}> & (typeof globalThis extends {
|
|
25
|
+
__VLS_PROPS_FALLBACK: infer P;
|
|
26
|
+
} ? P : {});
|
|
27
|
+
expose: (exposed: {}) => void;
|
|
28
|
+
attrs: any;
|
|
29
|
+
slots: {};
|
|
30
|
+
emit: ((evt: "select", key: K) => void) & ((evt: "update:modelValue", key: K) => void);
|
|
31
|
+
}>) => vue.VNode & {
|
|
32
|
+
__ctx?: NonNullable<Awaited<typeof __VLS_setup>>;
|
|
33
|
+
};
|
|
26
34
|
declare const _default: typeof __VLS_export;
|
|
35
|
+
type __VLS_PrettifyLocal<T> = (T extends any ? { [K in keyof T]: T[K] } : { [K in keyof T as K]: T[K] }) & {};
|
|
27
36
|
//#endregion
|
|
28
37
|
export { SectionNavItem as n, SectionNavProps as r, _default as t };
|
package/dist/index37.vue.d.cts
CHANGED
|
@@ -5,8 +5,8 @@ import * as vue from "vue";
|
|
|
5
5
|
declare const __VLS_export: <V extends SelectValue = SelectValue, M extends boolean = false, T extends boolean = false, R extends object = SelectOptionItem<V>, F extends object = Record<string, unknown>>(__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<{
|
|
6
6
|
props: vue.PublicProps & __VLS_PrettifyLocal<SelectProps<V, M, T, R, F> & {
|
|
7
7
|
onSelect?: ((selection: SelectSelection<R, M>) => any) | undefined;
|
|
8
|
-
"onUpdate:show"?: ((show: boolean) => any) | undefined;
|
|
9
8
|
"onUpdate:modelValue"?: ((value: SelectModelValue<V, M, T>) => any) | undefined;
|
|
9
|
+
"onUpdate:show"?: ((show: boolean) => any) | undefined;
|
|
10
10
|
}> & (typeof globalThis extends {
|
|
11
11
|
__VLS_PROPS_FALLBACK: infer P;
|
|
12
12
|
} ? P : {});
|
|
@@ -20,7 +20,7 @@ declare const __VLS_export: <V extends SelectValue = SelectValue, M extends bool
|
|
|
20
20
|
} & {
|
|
21
21
|
action?: (props: {}) => any;
|
|
22
22
|
};
|
|
23
|
-
emit: ((evt: "select", selection: SelectSelection<R, M>) => void) & ((evt: "update:
|
|
23
|
+
emit: ((evt: "select", selection: SelectSelection<R, M>) => void) & ((evt: "update:modelValue", value: SelectModelValue<V, M, T>) => void) & ((evt: "update:show", show: boolean) => void);
|
|
24
24
|
}>) => vue.VNode & {
|
|
25
25
|
__ctx?: NonNullable<Awaited<typeof __VLS_setup>>;
|
|
26
26
|
};
|
package/dist/index37.vue.d.ts
CHANGED
|
@@ -5,8 +5,8 @@ import * as vue from "vue";
|
|
|
5
5
|
declare const __VLS_export: <V extends SelectValue = SelectValue, M extends boolean = false, T extends boolean = false, R extends object = SelectOptionItem<V>, F extends object = Record<string, unknown>>(__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<{
|
|
6
6
|
props: vue.PublicProps & __VLS_PrettifyLocal<SelectProps<V, M, T, R, F> & {
|
|
7
7
|
onSelect?: ((selection: SelectSelection<R, M>) => any) | undefined;
|
|
8
|
-
"onUpdate:show"?: ((show: boolean) => any) | undefined;
|
|
9
8
|
"onUpdate:modelValue"?: ((value: SelectModelValue<V, M, T>) => any) | undefined;
|
|
9
|
+
"onUpdate:show"?: ((show: boolean) => any) | undefined;
|
|
10
10
|
}> & (typeof globalThis extends {
|
|
11
11
|
__VLS_PROPS_FALLBACK: infer P;
|
|
12
12
|
} ? P : {});
|
|
@@ -20,7 +20,7 @@ declare const __VLS_export: <V extends SelectValue = SelectValue, M extends bool
|
|
|
20
20
|
} & {
|
|
21
21
|
action?: (props: {}) => any;
|
|
22
22
|
};
|
|
23
|
-
emit: ((evt: "select", selection: SelectSelection<R, M>) => void) & ((evt: "update:
|
|
23
|
+
emit: ((evt: "select", selection: SelectSelection<R, M>) => void) & ((evt: "update:modelValue", value: SelectModelValue<V, M, T>) => void) & ((evt: "update:show", show: boolean) => void);
|
|
24
24
|
}>) => vue.VNode & {
|
|
25
25
|
__ctx?: NonNullable<Awaited<typeof __VLS_setup>>;
|
|
26
26
|
};
|
package/dist/index38.vue.d.cts
CHANGED
|
@@ -87,10 +87,10 @@ type __VLS_Slots = {} & {
|
|
|
87
87
|
};
|
|
88
88
|
declare const __VLS_base: vue.DefineComponent<SkeletonProps, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<SkeletonProps> & Readonly<{}>, {
|
|
89
89
|
repeat: number;
|
|
90
|
-
loading: boolean;
|
|
91
|
-
borderRadius: string;
|
|
92
90
|
preset: SkeletonPreset;
|
|
91
|
+
loading: boolean;
|
|
93
92
|
animation: SkeletonAnimation;
|
|
93
|
+
borderRadius: string;
|
|
94
94
|
}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
|
|
95
95
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
96
96
|
declare const _default: typeof __VLS_export;
|
package/dist/index38.vue.d.ts
CHANGED
|
@@ -87,10 +87,10 @@ type __VLS_Slots = {} & {
|
|
|
87
87
|
};
|
|
88
88
|
declare const __VLS_base: vue.DefineComponent<SkeletonProps, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {}, string, vue.PublicProps, Readonly<SkeletonProps> & Readonly<{}>, {
|
|
89
89
|
repeat: number;
|
|
90
|
-
loading: boolean;
|
|
91
|
-
borderRadius: string;
|
|
92
90
|
preset: SkeletonPreset;
|
|
91
|
+
loading: boolean;
|
|
93
92
|
animation: SkeletonAnimation;
|
|
93
|
+
borderRadius: string;
|
|
94
94
|
}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
|
|
95
95
|
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
96
96
|
declare const _default: typeof __VLS_export;
|
package/dist/index39.vue.d.cts
CHANGED
|
@@ -29,9 +29,9 @@ declare const __VLS_export: vue.DefineComponent<StepsProps, {}, {}, {}, {}, vue.
|
|
|
29
29
|
"onUpdate:current"?: ((args_0: number) => any) | undefined;
|
|
30
30
|
}>, {
|
|
31
31
|
direction: "horizontal" | "vertical";
|
|
32
|
+
current: number;
|
|
32
33
|
clickable: boolean;
|
|
33
34
|
connected: boolean;
|
|
34
|
-
current: number;
|
|
35
35
|
}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
|
|
36
36
|
declare const _default: typeof __VLS_export;
|
|
37
37
|
//#endregion
|
package/dist/index39.vue.d.ts
CHANGED
|
@@ -29,9 +29,9 @@ declare const __VLS_export: vue.DefineComponent<StepsProps, {}, {}, {}, {}, vue.
|
|
|
29
29
|
"onUpdate:current"?: ((args_0: number) => any) | undefined;
|
|
30
30
|
}>, {
|
|
31
31
|
direction: "horizontal" | "vertical";
|
|
32
|
+
current: number;
|
|
32
33
|
clickable: boolean;
|
|
33
34
|
connected: boolean;
|
|
34
|
-
current: number;
|
|
35
35
|
}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
|
|
36
36
|
declare const _default: typeof __VLS_export;
|
|
37
37
|
//#endregion
|
package/dist/index4.vue.d.cts
CHANGED
|
@@ -2,9 +2,12 @@ import { n as AutoCompleteProps, t as AutoCompleteOptionItem } from "./types4.cj
|
|
|
2
2
|
import * as vue from "vue";
|
|
3
3
|
|
|
4
4
|
//#region src/components/C_AutoComplete/index.vue.d.ts
|
|
5
|
-
declare const __VLS_export: <R extends object =
|
|
6
|
-
props: vue.PublicProps & __VLS_PrettifyLocal<AutoCompleteProps<R, F> & {
|
|
7
|
-
|
|
5
|
+
declare const __VLS_export: <R extends object = never, F extends object = Record<string, unknown>, S extends string | AutoCompleteOptionItem = Extract<R, AutoCompleteOptionItem>>(__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<{
|
|
6
|
+
props: vue.PublicProps & __VLS_PrettifyLocal<(Omit<AutoCompleteProps<R, F>, "options" | "renderLabel"> & {
|
|
7
|
+
options?: readonly S[];
|
|
8
|
+
renderLabel?: (row: NoInfer<R | (S extends string ? AutoCompleteOptionItem : S)>) => vue.VNodeChild;
|
|
9
|
+
}) & {
|
|
10
|
+
onSelect?: ((row: R | (S extends string ? AutoCompleteOptionItem : S)) => any) | undefined;
|
|
8
11
|
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
9
12
|
}> & (typeof globalThis extends {
|
|
10
13
|
__VLS_PROPS_FALLBACK: infer P;
|
|
@@ -21,7 +24,7 @@ declare const __VLS_export: <R extends object = AutoCompleteOptionItem, F extend
|
|
|
21
24
|
} & {
|
|
22
25
|
empty?: (props: {}) => any;
|
|
23
26
|
};
|
|
24
|
-
emit: ((evt: "select", row: R) => void) & ((evt: "update:modelValue", value: string) => void);
|
|
27
|
+
emit: ((evt: "select", row: R | (S extends string ? AutoCompleteOptionItem : S)) => void) & ((evt: "update:modelValue", value: string) => void);
|
|
25
28
|
}>) => vue.VNode & {
|
|
26
29
|
__ctx?: NonNullable<Awaited<typeof __VLS_setup>>;
|
|
27
30
|
};
|
package/dist/index4.vue.d.ts
CHANGED
|
@@ -2,9 +2,12 @@ import { n as AutoCompleteProps, t as AutoCompleteOptionItem } from "./types4.js
|
|
|
2
2
|
import * as vue from "vue";
|
|
3
3
|
|
|
4
4
|
//#region src/components/C_AutoComplete/index.vue.d.ts
|
|
5
|
-
declare const __VLS_export: <R extends object =
|
|
6
|
-
props: vue.PublicProps & __VLS_PrettifyLocal<AutoCompleteProps<R, F> & {
|
|
7
|
-
|
|
5
|
+
declare const __VLS_export: <R extends object = never, F extends object = Record<string, unknown>, S extends string | AutoCompleteOptionItem = Extract<R, AutoCompleteOptionItem>>(__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<{
|
|
6
|
+
props: vue.PublicProps & __VLS_PrettifyLocal<(Omit<AutoCompleteProps<R, F>, "options" | "renderLabel"> & {
|
|
7
|
+
options?: readonly S[];
|
|
8
|
+
renderLabel?: (row: NoInfer<R | (S extends string ? AutoCompleteOptionItem : S)>) => vue.VNodeChild;
|
|
9
|
+
}) & {
|
|
10
|
+
onSelect?: ((row: R | (S extends string ? AutoCompleteOptionItem : S)) => any) | undefined;
|
|
8
11
|
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
9
12
|
}> & (typeof globalThis extends {
|
|
10
13
|
__VLS_PROPS_FALLBACK: infer P;
|
|
@@ -21,7 +24,7 @@ declare const __VLS_export: <R extends object = AutoCompleteOptionItem, F extend
|
|
|
21
24
|
} & {
|
|
22
25
|
empty?: (props: {}) => any;
|
|
23
26
|
};
|
|
24
|
-
emit: ((evt: "select", row: R) => void) & ((evt: "update:modelValue", value: string) => void);
|
|
27
|
+
emit: ((evt: "select", row: R | (S extends string ? AutoCompleteOptionItem : S)) => void) & ((evt: "update:modelValue", value: string) => void);
|
|
25
28
|
}>) => vue.VNode & {
|
|
26
29
|
__ctx?: NonNullable<Awaited<typeof __VLS_setup>>;
|
|
27
30
|
};
|
package/dist/index42.vue.d.cts
CHANGED
|
@@ -81,7 +81,7 @@ type __VLS_Slots = {} & {
|
|
|
81
81
|
title?: (props: typeof __VLS_8) => any;
|
|
82
82
|
};
|
|
83
83
|
declare const __VLS_base: vue.DefineComponent<TimelineProps, {
|
|
84
|
-
/**
|
|
84
|
+
/** 展开全部可折叠项。批量更新不会发出单条 expand 事件。 */expandAll: () => void; /** 折叠全部可折叠项。批量更新不会发出单条 expand 事件。 */
|
|
85
85
|
collapseAll: () => void;
|
|
86
86
|
}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {} & {
|
|
87
87
|
expand: (item: TimelineItem, expanded: boolean) => any;
|
|
@@ -91,10 +91,10 @@ declare const __VLS_base: vue.DefineComponent<TimelineProps, {
|
|
|
91
91
|
"onItem-click"?: ((item: TimelineItem, index: number) => any) | undefined;
|
|
92
92
|
}>, {
|
|
93
93
|
reverse: boolean;
|
|
94
|
-
size: "small" | "medium" | "large";
|
|
95
94
|
items: TimelineItem[];
|
|
96
|
-
|
|
95
|
+
size: "small" | "medium" | "large";
|
|
97
96
|
mode: "vertical" | "horizontal";
|
|
97
|
+
pending: boolean;
|
|
98
98
|
labelPlacement: "left" | "right" | "alternate";
|
|
99
99
|
lineType: "solid" | "dashed" | "dotted";
|
|
100
100
|
showTime: boolean;
|
package/dist/index42.vue.d.ts
CHANGED
|
@@ -81,7 +81,7 @@ type __VLS_Slots = {} & {
|
|
|
81
81
|
title?: (props: typeof __VLS_8) => any;
|
|
82
82
|
};
|
|
83
83
|
declare const __VLS_base: vue.DefineComponent<TimelineProps, {
|
|
84
|
-
/**
|
|
84
|
+
/** 展开全部可折叠项。批量更新不会发出单条 expand 事件。 */expandAll: () => void; /** 折叠全部可折叠项。批量更新不会发出单条 expand 事件。 */
|
|
85
85
|
collapseAll: () => void;
|
|
86
86
|
}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {} & {
|
|
87
87
|
expand: (item: TimelineItem, expanded: boolean) => any;
|
|
@@ -91,10 +91,10 @@ declare const __VLS_base: vue.DefineComponent<TimelineProps, {
|
|
|
91
91
|
"onItem-click"?: ((item: TimelineItem, index: number) => any) | undefined;
|
|
92
92
|
}>, {
|
|
93
93
|
reverse: boolean;
|
|
94
|
-
size: "small" | "medium" | "large";
|
|
95
94
|
items: TimelineItem[];
|
|
96
|
-
|
|
95
|
+
size: "small" | "medium" | "large";
|
|
97
96
|
mode: "vertical" | "horizontal";
|
|
97
|
+
pending: boolean;
|
|
98
98
|
labelPlacement: "left" | "right" | "alternate";
|
|
99
99
|
lineType: "solid" | "dashed" | "dotted";
|
|
100
100
|
showTime: boolean;
|
package/dist/index43.vue.d.cts
CHANGED
|
@@ -71,15 +71,15 @@ declare const DEFAULT_TRANSFER_PROPS: Partial<TransferProps>;
|
|
|
71
71
|
//#region src/components/C_Transfer/index.vue.d.ts
|
|
72
72
|
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<{
|
|
73
73
|
props: vue.PublicProps & __VLS_PrettifyLocal<TransferProps<T> & {
|
|
74
|
-
onChange?: ((targetKeys: T["key"][], direction: "right" | "left", moveKeys: T["key"][]) => any) | undefined;
|
|
75
74
|
"onUpdate:modelValue"?: ((value: T["key"][]) => any) | undefined;
|
|
75
|
+
onChange?: ((targetKeys: T["key"][], direction: "right" | "left", moveKeys: T["key"][]) => any) | undefined;
|
|
76
76
|
}> & (typeof globalThis extends {
|
|
77
77
|
__VLS_PROPS_FALLBACK: infer P;
|
|
78
78
|
} ? P : {});
|
|
79
79
|
expose: (exposed: {}) => void;
|
|
80
80
|
attrs: any;
|
|
81
81
|
slots: {};
|
|
82
|
-
emit: ((evt: "
|
|
82
|
+
emit: ((evt: "update:modelValue", value: T["key"][]) => void) & ((evt: "change", targetKeys: T["key"][], direction: "right" | "left", moveKeys: T["key"][]) => void);
|
|
83
83
|
}>) => vue.VNode & {
|
|
84
84
|
__ctx?: NonNullable<Awaited<typeof __VLS_setup>>;
|
|
85
85
|
};
|
package/dist/index43.vue.d.ts
CHANGED
|
@@ -71,15 +71,15 @@ declare const DEFAULT_TRANSFER_PROPS: Partial<TransferProps>;
|
|
|
71
71
|
//#region src/components/C_Transfer/index.vue.d.ts
|
|
72
72
|
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<{
|
|
73
73
|
props: vue.PublicProps & __VLS_PrettifyLocal<TransferProps<T> & {
|
|
74
|
-
onChange?: ((targetKeys: T["key"][], direction: "right" | "left", moveKeys: T["key"][]) => any) | undefined;
|
|
75
74
|
"onUpdate:modelValue"?: ((value: T["key"][]) => any) | undefined;
|
|
75
|
+
onChange?: ((targetKeys: T["key"][], direction: "right" | "left", moveKeys: T["key"][]) => any) | undefined;
|
|
76
76
|
}> & (typeof globalThis extends {
|
|
77
77
|
__VLS_PROPS_FALLBACK: infer P;
|
|
78
78
|
} ? P : {});
|
|
79
79
|
expose: (exposed: {}) => void;
|
|
80
80
|
attrs: any;
|
|
81
81
|
slots: {};
|
|
82
|
-
emit: ((evt: "
|
|
82
|
+
emit: ((evt: "update:modelValue", value: T["key"][]) => void) & ((evt: "change", targetKeys: T["key"][], direction: "right" | "left", moveKeys: T["key"][]) => void);
|
|
83
83
|
}>) => vue.VNode & {
|
|
84
84
|
__ctx?: NonNullable<Awaited<typeof __VLS_setup>>;
|
|
85
85
|
};
|
package/dist/index5.vue.d.cts
CHANGED
|
@@ -44,7 +44,7 @@ interface AvatarGroupProps {
|
|
|
44
44
|
direction?: 'ltr' | 'rtl';
|
|
45
45
|
}
|
|
46
46
|
/** 默认 Props */
|
|
47
|
-
declare const DEFAULT_AVATAR_GROUP_PROPS:
|
|
47
|
+
declare const DEFAULT_AVATAR_GROUP_PROPS: Omit<Required<AvatarGroupProps>, 'items'>;
|
|
48
48
|
/** 状态颜色映射 */
|
|
49
49
|
declare const STATUS_COLOR_MAP: Record<string, string>;
|
|
50
50
|
/** 从名字中提取首字母 */
|
|
@@ -53,22 +53,10 @@ declare function getInitials(name: string): string;
|
|
|
53
53
|
declare function nameToColor(name: string): string;
|
|
54
54
|
//#endregion
|
|
55
55
|
//#region src/components/C_AvatarGroup/index.vue.d.ts
|
|
56
|
-
|
|
57
|
-
items: AvatarGroupProps['items'];
|
|
58
|
-
max?: number;
|
|
59
|
-
size?: number;
|
|
60
|
-
overlap?: number;
|
|
61
|
-
shape?: AvatarGroupProps['shape'];
|
|
62
|
-
showStatus?: boolean;
|
|
63
|
-
showTooltip?: boolean;
|
|
64
|
-
clickable?: boolean;
|
|
65
|
-
overflowClickable?: boolean;
|
|
66
|
-
direction?: AvatarGroupProps['direction'];
|
|
67
|
-
};
|
|
68
|
-
declare const __VLS_export: vue.DefineComponent<__VLS_Props, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
|
|
56
|
+
declare const __VLS_export: vue.DefineComponent<AvatarGroupProps, {}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
|
|
69
57
|
itemClick: (item: AvatarItem) => any;
|
|
70
58
|
overflowClick: (hiddenItems: AvatarItem[]) => any;
|
|
71
|
-
}, string, vue.PublicProps, Readonly<
|
|
59
|
+
}, string, vue.PublicProps, Readonly<AvatarGroupProps> & Readonly<{
|
|
72
60
|
onItemClick?: ((item: AvatarItem) => any) | undefined;
|
|
73
61
|
onOverflowClick?: ((hiddenItems: AvatarItem[]) => any) | undefined;
|
|
74
62
|
}>, {
|
|
@@ -76,10 +64,10 @@ declare const __VLS_export: vue.DefineComponent<__VLS_Props, {}, {}, {}, {}, vue
|
|
|
76
64
|
size: number;
|
|
77
65
|
max: number;
|
|
78
66
|
overlap: number;
|
|
67
|
+
clickable: boolean;
|
|
79
68
|
shape: "circle" | "square";
|
|
80
69
|
showStatus: boolean;
|
|
81
70
|
showTooltip: boolean;
|
|
82
|
-
clickable: boolean;
|
|
83
71
|
overflowClickable: boolean;
|
|
84
72
|
}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
|
|
85
73
|
declare const _default: typeof __VLS_export;
|