@robot-admin/naive-ui-components 0.41.1 → 0.41.2
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 +9 -0
- package/README.md +44 -5
- package/README_EN.md +44 -5
- package/dist/C_ActionBar.css +54 -54
- 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_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_Draggable.css +53 -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 +241 -241
- package/dist/C_Form.css +241 -241
- 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 +74 -74
- 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_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_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_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_Signature.css +15 -15
- package/dist/C_Signature2.cjs +1 -1
- package/dist/C_Signature2.js +1 -1
- package/dist/C_Table.base.css +428 -428
- 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_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/Steps.cjs +1 -1
- package/dist/Steps.js +1 -1
- package/dist/Tabs.cjs +1 -1
- package/dist/Tabs.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 +3 -3
- package/dist/constants.d.ts +3 -3
- package/dist/constants2.d.cts +8 -1
- package/dist/constants2.d.ts +8 -1
- package/dist/constants3.d.cts +7 -7
- package/dist/constants3.d.ts +7 -7
- package/dist/constants4.d.cts +4 -4
- package/dist/constants4.d.ts +4 -4
- package/dist/context.d.cts +1 -1
- package/dist/data2.d.cts +7 -7
- package/dist/data2.d.ts +7 -7
- package/dist/editors.d.cts +19 -17
- package/dist/editors.d.ts +19 -17
- 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 +6 -6
- package/dist/index.d.ts +6 -6
- package/dist/index.js +1 -1
- package/dist/index11.vue.d.ts +1 -1
- package/dist/index12.vue.d.cts +1 -1
- package/dist/index13.vue.d.ts +3 -3
- package/dist/index14.vue.d.cts +3 -3
- package/dist/index14.vue.d.ts +2 -2
- package/dist/index15.vue.d.cts +2 -2
- package/dist/index17.vue.d.ts +17 -10
- package/dist/index18.vue.d.cts +17 -10
- package/dist/index19.vue.d.ts +1 -1
- package/dist/index2.vue.d.cts +2 -2
- package/dist/index2.vue.d.ts +2 -2
- package/dist/index20.vue.d.cts +1 -1
- package/dist/index20.vue.d.ts +2 -2
- package/dist/index21.vue.d.cts +2 -2
- package/dist/index21.vue.d.ts +7 -7
- package/dist/index22.vue.d.cts +7 -7
- package/dist/index26.vue.d.ts +1 -1
- package/dist/index27.vue.d.cts +1 -1
- package/dist/index27.vue.d.ts +1 -1
- package/dist/index28.vue.d.cts +1 -1
- package/dist/index29.vue.d.cts +2 -2
- package/dist/index29.vue.d.ts +2 -2
- package/dist/index3.vue.d.cts +17 -19
- package/dist/index3.vue.d.ts +17 -19
- 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/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/index41.vue.d.cts +1 -1
- package/dist/index41.vue.d.ts +1 -1
- package/dist/index42.vue.d.cts +2 -2
- package/dist/index42.vue.d.ts +2 -2
- package/dist/index43.vue.d.cts +2 -2
- package/dist/index43.vue.d.ts +2 -2
- package/dist/index5.vue.d.cts +5 -17
- package/dist/index5.vue.d.ts +5 -17
- package/dist/index6.vue.d.cts +2 -2
- package/dist/index6.vue.d.ts +2 -2
- package/dist/index7.vue.d.cts +18 -12
- package/dist/index7.vue.d.ts +18 -12
- 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/presets.d.cts +1 -1
- package/dist/presets.d.ts +1 -1
- 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 +1334 -1334
- package/dist/types.d.cts +1 -1
- package/dist/types.d.ts +1 -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 +3 -15
- package/dist/useCalendarEvents.d.ts +3 -15
- package/dist/useCollapsePanel.d.cts +4 -3
- package/dist/useCollapsePanel.d.ts +4 -3
- package/dist/useCropperCore.d.cts +8 -19
- package/dist/useCropperCore.d.ts +8 -19
- 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/useInfiniteScroll.d.cts +2 -2
- package/dist/useInfiniteScroll.d.ts +2 -2
- package/dist/useQRCode.d.cts +5 -18
- package/dist/useQRCode.d.ts +5 -18
- package/dist/useSignatureHistory.d.cts +3 -3
- package/dist/useSignatureHistory.d.ts +3 -3
- package/dist/useSplitResize.d.cts +4 -4
- package/dist/useSplitResize.d.ts +4 -4
- package/dist/useTimeSelection.d.cts +4 -3
- package/dist/useTimeSelection.d.ts +4 -3
- package/dist/useWorkflowValidation.d.cts +11 -5
- package/dist/useWorkflowValidation.d.ts +11 -5
- package/dist/verification.d.cts +1 -1
- package/dist/verification.d.ts +1 -1
- 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/runtime-performance.md +2 -0
- package/docs/guides/scene-components.md +1 -1
- package/package.json +1 -1
package/dist/index15.vue.d.cts
CHANGED
|
@@ -76,12 +76,12 @@ declare const __VLS_export: vue.DefineComponent<ContextMenuProps, {
|
|
|
76
76
|
onClose?: (() => any) | undefined;
|
|
77
77
|
}>, {
|
|
78
78
|
disabled: boolean;
|
|
79
|
-
|
|
79
|
+
zIndex: number;
|
|
80
80
|
minWidth: number;
|
|
81
81
|
maxWidth: number;
|
|
82
|
+
items: ContextMenuItem[];
|
|
82
83
|
subMenuPlacement: "right" | "left";
|
|
83
84
|
autoClose: boolean;
|
|
84
|
-
zIndex: number;
|
|
85
85
|
}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
|
|
86
86
|
declare const _default: typeof __VLS_export;
|
|
87
87
|
//#endregion
|
package/dist/index17.vue.d.ts
CHANGED
|
@@ -11,9 +11,8 @@ interface EditorProps {
|
|
|
11
11
|
height?: number;
|
|
12
12
|
theme?: 'light' | 'dark';
|
|
13
13
|
}
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
interface EditorInstance {
|
|
14
|
+
/** editor-mounted 提供的编辑器能力,可作为业务回调参数。 */
|
|
15
|
+
interface RichTextEditorInstance {
|
|
17
16
|
getHtml(): string;
|
|
18
17
|
setHtml(html: string): void;
|
|
19
18
|
disable(): void;
|
|
@@ -21,6 +20,14 @@ interface EditorInstance {
|
|
|
21
20
|
destroy(): void;
|
|
22
21
|
isDestroyed: boolean;
|
|
23
22
|
}
|
|
23
|
+
interface EditorEmits {
|
|
24
|
+
'update:modelValue': [value: string];
|
|
25
|
+
'editor-mounted': [editor: RichTextEditorInstance];
|
|
26
|
+
'editor-change': [html: string];
|
|
27
|
+
error: [error: Error];
|
|
28
|
+
}
|
|
29
|
+
//#endregion
|
|
30
|
+
//#region src/components/C_Editor/index.vue.d.ts
|
|
24
31
|
declare const __VLS_export: vue.DefineComponent<EditorProps, {
|
|
25
32
|
initializeEditor: () => void;
|
|
26
33
|
destroyEditor: () => void;
|
|
@@ -44,23 +51,23 @@ declare const __VLS_export: vue.DefineComponent<EditorProps, {
|
|
|
44
51
|
readonly isDestroyed: boolean;
|
|
45
52
|
} | null>>;
|
|
46
53
|
isInitialized: Readonly<vue.Ref<boolean, boolean>>;
|
|
47
|
-
}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
|
|
54
|
+
}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
|
|
55
|
+
error: (error: Error) => any;
|
|
48
56
|
"update:modelValue": (value: string) => any;
|
|
49
|
-
"editor-mounted": (editor:
|
|
57
|
+
"editor-mounted": (editor: RichTextEditorInstance) => any;
|
|
50
58
|
"editor-change": (html: string) => any;
|
|
51
|
-
error: (error: Error) => any;
|
|
52
59
|
}, string, vue.PublicProps, Readonly<EditorProps> & Readonly<{
|
|
60
|
+
onError?: ((error: Error) => any) | undefined;
|
|
53
61
|
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
54
|
-
"onEditor-mounted"?: ((editor:
|
|
62
|
+
"onEditor-mounted"?: ((editor: RichTextEditorInstance) => any) | undefined;
|
|
55
63
|
"onEditor-change"?: ((html: string) => any) | undefined;
|
|
56
|
-
onError?: ((error: Error) => any) | undefined;
|
|
57
64
|
}>, {
|
|
58
65
|
disabled: boolean;
|
|
59
66
|
modelValue: string;
|
|
60
|
-
placeholder: string;
|
|
61
67
|
readonly: boolean;
|
|
68
|
+
placeholder: string;
|
|
62
69
|
height: number;
|
|
63
70
|
}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
|
|
64
71
|
declare const _default: typeof __VLS_export;
|
|
65
72
|
//#endregion
|
|
66
|
-
export {
|
|
73
|
+
export { RichTextEditorInstance as i, EditorEmits as n, EditorProps as r, _default as t };
|
package/dist/index18.vue.d.cts
CHANGED
|
@@ -11,9 +11,8 @@ interface EditorProps {
|
|
|
11
11
|
height?: number;
|
|
12
12
|
theme?: 'light' | 'dark';
|
|
13
13
|
}
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
interface EditorInstance {
|
|
14
|
+
/** editor-mounted 提供的编辑器能力,可作为业务回调参数。 */
|
|
15
|
+
interface RichTextEditorInstance {
|
|
17
16
|
getHtml(): string;
|
|
18
17
|
setHtml(html: string): void;
|
|
19
18
|
disable(): void;
|
|
@@ -21,6 +20,14 @@ interface EditorInstance {
|
|
|
21
20
|
destroy(): void;
|
|
22
21
|
isDestroyed: boolean;
|
|
23
22
|
}
|
|
23
|
+
interface EditorEmits {
|
|
24
|
+
'update:modelValue': [value: string];
|
|
25
|
+
'editor-mounted': [editor: RichTextEditorInstance];
|
|
26
|
+
'editor-change': [html: string];
|
|
27
|
+
error: [error: Error];
|
|
28
|
+
}
|
|
29
|
+
//#endregion
|
|
30
|
+
//#region src/components/C_Editor/index.vue.d.ts
|
|
24
31
|
declare const __VLS_export: vue.DefineComponent<EditorProps, {
|
|
25
32
|
initializeEditor: () => void;
|
|
26
33
|
destroyEditor: () => void;
|
|
@@ -44,23 +51,23 @@ declare const __VLS_export: vue.DefineComponent<EditorProps, {
|
|
|
44
51
|
readonly isDestroyed: boolean;
|
|
45
52
|
} | null>>;
|
|
46
53
|
isInitialized: Readonly<vue.Ref<boolean, boolean>>;
|
|
47
|
-
}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
|
|
54
|
+
}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
|
|
55
|
+
error: (error: Error) => any;
|
|
48
56
|
"update:modelValue": (value: string) => any;
|
|
49
|
-
"editor-mounted": (editor:
|
|
57
|
+
"editor-mounted": (editor: RichTextEditorInstance) => any;
|
|
50
58
|
"editor-change": (html: string) => any;
|
|
51
|
-
error: (error: Error) => any;
|
|
52
59
|
}, string, vue.PublicProps, Readonly<EditorProps> & Readonly<{
|
|
60
|
+
onError?: ((error: Error) => any) | undefined;
|
|
53
61
|
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
54
|
-
"onEditor-mounted"?: ((editor:
|
|
62
|
+
"onEditor-mounted"?: ((editor: RichTextEditorInstance) => any) | undefined;
|
|
55
63
|
"onEditor-change"?: ((html: string) => any) | undefined;
|
|
56
|
-
onError?: ((error: Error) => any) | undefined;
|
|
57
64
|
}>, {
|
|
58
65
|
disabled: boolean;
|
|
59
66
|
modelValue: string;
|
|
60
|
-
placeholder: string;
|
|
61
67
|
readonly: boolean;
|
|
68
|
+
placeholder: string;
|
|
62
69
|
height: number;
|
|
63
70
|
}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
|
|
64
71
|
declare const _default: typeof __VLS_export;
|
|
65
72
|
//#endregion
|
|
66
|
-
export {
|
|
73
|
+
export { RichTextEditorInstance as i, EditorEmits as n, EditorProps as r, _default as t };
|
package/dist/index19.vue.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { en as FormOption, jt as FormConfig, mn as SubmitEventPayload, tn as FormRecord } from "./component-config.js";
|
|
2
2
|
import { r as FormRenderer } from "./useFormRenderer.js";
|
|
3
3
|
import * as vue from "vue";
|
|
4
4
|
import { ComputedRef, Ref } from "vue";
|
package/dist/index2.vue.d.cts
CHANGED
|
@@ -44,9 +44,9 @@ declare const __VLS_export: <T extends AttachmentItem = AttachmentItem>(__VLS_pr
|
|
|
44
44
|
selectedKey?: T["id"] | null;
|
|
45
45
|
}) & {
|
|
46
46
|
"onUpdate:selectedKey"?: ((value: T["id"] | null) => any) | undefined;
|
|
47
|
+
onRemove?: ((item: T) => any) | undefined;
|
|
47
48
|
onDownload?: ((item: T) => any) | undefined;
|
|
48
49
|
onUpload?: (() => any) | undefined;
|
|
49
|
-
onRemove?: ((item: T) => any) | undefined;
|
|
50
50
|
}> & (typeof globalThis extends {
|
|
51
51
|
__VLS_PROPS_FALLBACK: infer P;
|
|
52
52
|
} ? P : {});
|
|
@@ -59,7 +59,7 @@ declare const __VLS_export: <T extends AttachmentItem = AttachmentItem>(__VLS_pr
|
|
|
59
59
|
kind: AttachmentKind;
|
|
60
60
|
}) => unknown;
|
|
61
61
|
};
|
|
62
|
-
emit: (((evt: "
|
|
62
|
+
emit: (((evt: "remove", item: T) => void) & ((evt: "download", item: T) => void) & ((evt: "upload") => void)) & ((event: "update:selectedKey", value: T["id"] | null) => void);
|
|
63
63
|
}>) => vue.VNode & {
|
|
64
64
|
__ctx?: NonNullable<Awaited<typeof __VLS_setup>>;
|
|
65
65
|
};
|
package/dist/index2.vue.d.ts
CHANGED
|
@@ -44,9 +44,9 @@ declare const __VLS_export: <T extends AttachmentItem = AttachmentItem>(__VLS_pr
|
|
|
44
44
|
selectedKey?: T["id"] | null;
|
|
45
45
|
}) & {
|
|
46
46
|
"onUpdate:selectedKey"?: ((value: T["id"] | null) => any) | undefined;
|
|
47
|
+
onRemove?: ((item: T) => any) | undefined;
|
|
47
48
|
onDownload?: ((item: T) => any) | undefined;
|
|
48
49
|
onUpload?: (() => any) | undefined;
|
|
49
|
-
onRemove?: ((item: T) => any) | undefined;
|
|
50
50
|
}> & (typeof globalThis extends {
|
|
51
51
|
__VLS_PROPS_FALLBACK: infer P;
|
|
52
52
|
} ? P : {});
|
|
@@ -59,7 +59,7 @@ declare const __VLS_export: <T extends AttachmentItem = AttachmentItem>(__VLS_pr
|
|
|
59
59
|
kind: AttachmentKind;
|
|
60
60
|
}) => unknown;
|
|
61
61
|
};
|
|
62
|
-
emit: (((evt: "
|
|
62
|
+
emit: (((evt: "remove", item: T) => void) & ((evt: "download", item: T) => void) & ((evt: "upload") => void)) & ((event: "update:selectedKey", value: T["id"] | null) => void);
|
|
63
63
|
}>) => vue.VNode & {
|
|
64
64
|
__ctx?: NonNullable<Awaited<typeof __VLS_setup>>;
|
|
65
65
|
};
|
package/dist/index20.vue.d.cts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { $t as FormRecord, Qt as FormOption, fn as SubmitEventPayload, kt as FormConfig } from "./context.cjs";
|
|
2
2
|
import { r as FormRenderer } from "./useFormRenderer.cjs";
|
|
3
3
|
import * as vue from "vue";
|
|
4
4
|
import { ComputedRef, Ref } from "vue";
|
package/dist/index20.vue.d.ts
CHANGED
|
@@ -123,9 +123,9 @@ declare const __VLS_export: vue.DefineComponent<GuideProps, {
|
|
|
123
123
|
onSkip?: ((currentStep: number) => any) | undefined;
|
|
124
124
|
"onStep-change"?: ((stepIndex: number, step: GuideStep) => any) | undefined;
|
|
125
125
|
}>, {
|
|
126
|
-
steps: GuideStep[];
|
|
127
|
-
keyboard: boolean;
|
|
128
126
|
showTrigger: boolean;
|
|
127
|
+
keyboard: boolean;
|
|
128
|
+
steps: GuideStep[];
|
|
129
129
|
showSkipButton: boolean;
|
|
130
130
|
showProgress: boolean;
|
|
131
131
|
animate: boolean;
|
package/dist/index21.vue.d.cts
CHANGED
|
@@ -123,9 +123,9 @@ declare const __VLS_export: vue.DefineComponent<GuideProps, {
|
|
|
123
123
|
onSkip?: ((currentStep: number) => any) | undefined;
|
|
124
124
|
"onStep-change"?: ((stepIndex: number, step: GuideStep) => any) | undefined;
|
|
125
125
|
}>, {
|
|
126
|
-
steps: GuideStep[];
|
|
127
|
-
keyboard: boolean;
|
|
128
126
|
showTrigger: boolean;
|
|
127
|
+
keyboard: boolean;
|
|
128
|
+
steps: GuideStep[];
|
|
129
129
|
showSkipButton: boolean;
|
|
130
130
|
showProgress: boolean;
|
|
131
131
|
animate: boolean;
|
package/dist/index21.vue.d.ts
CHANGED
|
@@ -30,29 +30,29 @@ declare const __VLS_export: vue.DefineComponent<IconProps, {
|
|
|
30
30
|
errorMessage: Readonly<vue.Ref<string, string>>;
|
|
31
31
|
el: vue.Ref<HTMLElement | undefined, HTMLElement | undefined>;
|
|
32
32
|
}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
|
|
33
|
-
load: () => any;
|
|
34
33
|
error: (type: string, error?: unknown) => any;
|
|
35
34
|
click: (event: MouseEvent | KeyboardEvent) => any;
|
|
35
|
+
load: () => any;
|
|
36
36
|
}, string, vue.PublicProps, Readonly<IconProps> & Readonly<{
|
|
37
|
-
onLoad?: (() => any) | undefined;
|
|
38
37
|
onError?: ((type: string, error?: unknown) => any) | undefined;
|
|
39
38
|
onClick?: ((event: MouseEvent | KeyboardEvent) => any) | undefined;
|
|
39
|
+
onLoad?: (() => any) | undefined;
|
|
40
40
|
}>, {
|
|
41
41
|
type: "iconify" | "unocss" | "component" | "svg" | "image";
|
|
42
42
|
size: number | string;
|
|
43
43
|
title: string;
|
|
44
|
+
flip: "horizontal" | "vertical" | "both";
|
|
44
45
|
loading: boolean;
|
|
45
46
|
color: string;
|
|
46
|
-
flip: "horizontal" | "vertical" | "both";
|
|
47
|
-
clickable: boolean;
|
|
48
|
-
svgPath: string;
|
|
49
47
|
viewBox: string;
|
|
48
|
+
ariaLabel: string;
|
|
49
|
+
clickable: boolean;
|
|
50
50
|
alt: string;
|
|
51
|
+
rotate: number;
|
|
52
|
+
svgPath: string;
|
|
51
53
|
fallbackIcon: string;
|
|
52
54
|
loadTimeout: number;
|
|
53
|
-
ariaLabel: string;
|
|
54
55
|
customClass: string;
|
|
55
|
-
rotate: number;
|
|
56
56
|
componentProps: Record<string, unknown>;
|
|
57
57
|
}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
|
|
58
58
|
declare const _default: typeof __VLS_export;
|
package/dist/index22.vue.d.cts
CHANGED
|
@@ -30,29 +30,29 @@ declare const __VLS_export: vue.DefineComponent<IconProps, {
|
|
|
30
30
|
errorMessage: Readonly<vue.Ref<string, string>>;
|
|
31
31
|
el: vue.Ref<HTMLElement | undefined, HTMLElement | undefined>;
|
|
32
32
|
}, {}, {}, {}, vue.ComponentOptionsMixin, vue.ComponentOptionsMixin, {
|
|
33
|
-
load: () => any;
|
|
34
33
|
error: (type: string, error?: unknown) => any;
|
|
35
34
|
click: (event: MouseEvent | KeyboardEvent) => any;
|
|
35
|
+
load: () => any;
|
|
36
36
|
}, string, vue.PublicProps, Readonly<IconProps> & Readonly<{
|
|
37
|
-
onLoad?: (() => any) | undefined;
|
|
38
37
|
onError?: ((type: string, error?: unknown) => any) | undefined;
|
|
39
38
|
onClick?: ((event: MouseEvent | KeyboardEvent) => any) | undefined;
|
|
39
|
+
onLoad?: (() => any) | undefined;
|
|
40
40
|
}>, {
|
|
41
41
|
type: "iconify" | "unocss" | "component" | "svg" | "image";
|
|
42
42
|
size: number | string;
|
|
43
43
|
title: string;
|
|
44
|
+
flip: "horizontal" | "vertical" | "both";
|
|
44
45
|
loading: boolean;
|
|
45
46
|
color: string;
|
|
46
|
-
flip: "horizontal" | "vertical" | "both";
|
|
47
|
-
clickable: boolean;
|
|
48
|
-
svgPath: string;
|
|
49
47
|
viewBox: string;
|
|
48
|
+
ariaLabel: string;
|
|
49
|
+
clickable: boolean;
|
|
50
50
|
alt: string;
|
|
51
|
+
rotate: number;
|
|
52
|
+
svgPath: string;
|
|
51
53
|
fallbackIcon: string;
|
|
52
54
|
loadTimeout: number;
|
|
53
|
-
ariaLabel: string;
|
|
54
55
|
customClass: string;
|
|
55
|
-
rotate: number;
|
|
56
56
|
componentProps: Record<string, unknown>;
|
|
57
57
|
}, {}, {}, {}, string, vue.ComponentProvideOptions, false, {}, any>;
|
|
58
58
|
declare const _default: typeof __VLS_export;
|
package/dist/index26.vue.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { d as CaptchaProvider, f as CaptchaSuccessPayload, h as CaptchaVerifier, l as CaptchaProof } from "./verification.js";
|
|
2
2
|
import * as vue from "vue";
|
|
3
3
|
|
|
4
4
|
//#region src/components/C_Login/types.d.ts
|
package/dist/index27.vue.d.cts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { d as CaptchaProvider, f as CaptchaSuccessPayload, h as CaptchaVerifier, l as CaptchaProof } from "./verification.cjs";
|
|
2
2
|
import * as vue from "vue";
|
|
3
3
|
|
|
4
4
|
//#region src/components/C_Login/types.d.ts
|
package/dist/index27.vue.d.ts
CHANGED
|
@@ -66,9 +66,9 @@ declare const __VLS_export: vue.DefineComponent<MarkdownProps, {
|
|
|
66
66
|
disabled: boolean;
|
|
67
67
|
modelValue: string;
|
|
68
68
|
placeholder: string;
|
|
69
|
+
autofocus: boolean;
|
|
69
70
|
height: string | number;
|
|
70
71
|
mode: "edit" | "editable" | "preview";
|
|
71
|
-
autofocus: boolean;
|
|
72
72
|
tocNavPosition: "left" | "right";
|
|
73
73
|
defaultFullscreen: boolean;
|
|
74
74
|
includeLevel: number[];
|
package/dist/index28.vue.d.cts
CHANGED
|
@@ -66,9 +66,9 @@ declare const __VLS_export: vue.DefineComponent<MarkdownProps, {
|
|
|
66
66
|
disabled: boolean;
|
|
67
67
|
modelValue: string;
|
|
68
68
|
placeholder: string;
|
|
69
|
+
autofocus: boolean;
|
|
69
70
|
height: string | number;
|
|
70
71
|
mode: "edit" | "editable" | "preview";
|
|
71
|
-
autofocus: boolean;
|
|
72
72
|
tocNavPosition: "left" | "right";
|
|
73
73
|
defaultFullscreen: boolean;
|
|
74
74
|
includeLevel: number[];
|
package/dist/index29.vue.d.cts
CHANGED
|
@@ -47,8 +47,8 @@ declare const __VLS_export: <T extends NotificationMessage, V extends string, A
|
|
|
47
47
|
props: vue.PublicProps & __VLS_PrettifyLocal<NotificationInboxProps<T, V, A> & {
|
|
48
48
|
onSelect?: ((item: T) => any) | undefined;
|
|
49
49
|
onAction?: ((key: A, item: T) => any) | undefined;
|
|
50
|
-
"onUpdate:activeView"?: ((value: V) => any) | undefined;
|
|
51
50
|
onRetry?: (() => any) | undefined;
|
|
51
|
+
"onUpdate:activeView"?: ((value: V) => any) | undefined;
|
|
52
52
|
}> & (typeof globalThis extends {
|
|
53
53
|
__VLS_PROPS_FALLBACK: infer P;
|
|
54
54
|
} ? P : {});
|
|
@@ -61,7 +61,7 @@ declare const __VLS_export: <T extends NotificationMessage, V extends string, A
|
|
|
61
61
|
} & {
|
|
62
62
|
footer?: (props: {}) => any;
|
|
63
63
|
};
|
|
64
|
-
emit: ((evt: "select", item: T) => void) & ((evt: "action", key: A, item: T) => void) & ((evt: "
|
|
64
|
+
emit: ((evt: "select", item: T) => void) & ((evt: "action", key: A, item: T) => void) & ((evt: "retry") => void) & ((evt: "update:activeView", value: V) => void);
|
|
65
65
|
}>) => vue.VNode & {
|
|
66
66
|
__ctx?: NonNullable<Awaited<typeof __VLS_setup>>;
|
|
67
67
|
};
|
package/dist/index29.vue.d.ts
CHANGED
|
@@ -47,8 +47,8 @@ declare const __VLS_export: <T extends NotificationMessage, V extends string, A
|
|
|
47
47
|
props: vue.PublicProps & __VLS_PrettifyLocal<NotificationInboxProps<T, V, A> & {
|
|
48
48
|
onSelect?: ((item: T) => any) | undefined;
|
|
49
49
|
onAction?: ((key: A, item: T) => any) | undefined;
|
|
50
|
-
"onUpdate:activeView"?: ((value: V) => any) | undefined;
|
|
51
50
|
onRetry?: (() => any) | undefined;
|
|
51
|
+
"onUpdate:activeView"?: ((value: V) => any) | undefined;
|
|
52
52
|
}> & (typeof globalThis extends {
|
|
53
53
|
__VLS_PROPS_FALLBACK: infer P;
|
|
54
54
|
} ? P : {});
|
|
@@ -61,7 +61,7 @@ declare const __VLS_export: <T extends NotificationMessage, V extends string, A
|
|
|
61
61
|
} & {
|
|
62
62
|
footer?: (props: {}) => any;
|
|
63
63
|
};
|
|
64
|
-
emit: ((evt: "select", item: T) => void) & ((evt: "action", key: A, item: T) => void) & ((evt: "
|
|
64
|
+
emit: ((evt: "select", item: T) => void) & ((evt: "action", key: A, item: T) => void) & ((evt: "retry") => void) & ((evt: "update:activeView", value: V) => void);
|
|
65
65
|
}>) => vue.VNode & {
|
|
66
66
|
__ctx?: NonNullable<Awaited<typeof __VLS_setup>>;
|
|
67
67
|
};
|
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<"loop" | "single" | "list" | "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<"loop" | "single" | "list" | "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<"loop" | "single" | "list" | "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<"loop" | "single" | "list" | "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/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
|
@@ -27,15 +27,15 @@ interface ScanInputEmits {
|
|
|
27
27
|
//#endregion
|
|
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
|
-
"update:modelValue": (value: string) => any;
|
|
31
30
|
error: (error: unknown, input: "camera" | "photo") => any;
|
|
32
|
-
|
|
31
|
+
"update:modelValue": (value: string) => any;
|
|
33
32
|
scan: (result: ScanResult, input: "camera" | "photo") => any;
|
|
33
|
+
submit: (value: string) => any;
|
|
34
34
|
}, string, vue.PublicProps, Readonly<ScanInputProps> & Readonly<{
|
|
35
|
-
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
36
35
|
onError?: ((error: unknown, input: "camera" | "photo") => any) | undefined;
|
|
37
|
-
|
|
36
|
+
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
38
37
|
onScan?: ((result: ScanResult, input: "camera" | "photo") => any) | undefined;
|
|
38
|
+
onSubmit?: ((value: string) => 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
|
@@ -27,15 +27,15 @@ interface ScanInputEmits {
|
|
|
27
27
|
//#endregion
|
|
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
|
-
"update:modelValue": (value: string) => any;
|
|
31
30
|
error: (error: unknown, input: "camera" | "photo") => any;
|
|
32
|
-
|
|
31
|
+
"update:modelValue": (value: string) => any;
|
|
33
32
|
scan: (result: ScanResult, input: "camera" | "photo") => any;
|
|
33
|
+
submit: (value: string) => any;
|
|
34
34
|
}, string, vue.PublicProps, Readonly<ScanInputProps> & Readonly<{
|
|
35
|
-
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
36
35
|
onError?: ((error: unknown, input: "camera" | "photo") => any) | undefined;
|
|
37
|
-
|
|
36
|
+
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
38
37
|
onScan?: ((result: ScanResult, input: "camera" | "photo") => any) | undefined;
|
|
38
|
+
onSubmit?: ((value: string) => 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 };
|