yc-agent-ui 1.2.7 → 1.2.8
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/es/_virtual/_commonjsHelpers.mjs +7 -0
- package/es/_virtual/toastify.mjs +3 -0
- package/es/components/chart/src/chart-card.vue.d.ts +21 -21
- package/es/components/chart/src/chart-container.vue.d.ts +2 -2
- package/es/components/chart/src/metric-card.vue.d.ts +1 -1
- package/es/components/data-table/src/data-table.vue.d.ts +8 -8
- package/es/components/descriptions/index.d.ts +9 -9
- package/es/components/descriptions/src/index.vue.d.ts +3 -3
- package/es/components/dialog/index.d.ts +6 -6
- package/es/components/dialog/src/index.vue.d.ts +2 -2
- package/es/components/dialog-form/index.d.ts +10 -10
- package/es/components/dialog-form/src/index.vue.d.ts +6 -6
- package/es/components/display-item/index.d.ts +12 -12
- package/es/components/display-item/src/index.vue.d.ts +12 -12
- package/es/components/drawer-form/index.d.ts +19 -19
- package/es/components/drawer-form/src/index.vue.d.ts +9 -9
- package/es/components/form/index.d.ts +17 -17
- package/es/components/form/src/form-content.vue.d.ts +11 -11
- package/es/components/form/src/index.vue.d.ts +11 -11
- package/es/components/form-item/index.d.ts +25 -25
- package/es/components/form-item/src/index.vue.d.ts +12 -12
- package/es/components/input-tag/index.d.ts +3 -3
- package/es/components/input-tag/src/index.vue.d.ts +3 -3
- package/es/components/page/index.d.ts +494 -494
- package/es/components/page/src/index.vue.d.ts +167 -167
- package/es/components/pagination/index.d.ts +3 -3
- package/es/components/pagination/src/index.vue.d.ts +1 -1
- package/es/components/radio/index.d.ts +5 -5
- package/es/components/radio/src/index.vue.d.ts +5 -5
- package/es/components/render/index.d.ts +1 -1
- package/es/components/render/src/index.vue.d.ts +1 -1
- package/es/components/search/index.d.ts +130 -130
- package/es/components/search/src/index.vue.d.ts +46 -46
- package/es/components/table/src/table-action-bar.vue.d.ts +2 -2
- package/es/components/table/src/table-column.vue.d.ts +24 -24
- package/es/components/utils/index.d.ts +3 -3
- package/es/components/virtual-table/index.d.ts +3 -3
- package/es/components/virtual-table/src/index.vue.d.ts +1 -1
- package/es/components/yc-ai-chat/src/bubble.vue.d.ts +1 -1
- package/es/components/yc-ai-chat/src/mobile-frame.vue.d.ts +1 -1
- package/es/components/yc-ai-chat/src/select.vue.d.ts +5 -5
- package/es/components/yc-ai-chat/src/sender.vue.d.ts +1 -1
- package/es/components/yc-ai-chat/src/sidebar.vue.d.ts +2 -2
- package/es/components/yc-ai-chat/src/studio.vue.d.ts +1 -1
- package/es/components/yc-controls/src/choice-cards.vue.d.ts +2 -2
- package/es/components/yc-controls/src/segmented.vue.d.ts +1 -1
- package/es/components/yc-coss-table/src/coss-table.vue.d.ts +3 -3
- package/es/components/yc-coss-table/src/table-head.vue.d.ts +2 -2
- package/es/components/yc-display-cards/index.d.ts +4 -3
- package/es/components/yc-display-cards/src/form-card.vue.d.ts +3 -2
- package/es/components/yc-display-cards/src/table-card.vue.d.ts +1 -1
- package/es/components/yc-display-cards/src/toast.d.ts +4 -0
- package/es/components/yc-display-cards/src/types.d.ts +21 -0
- package/es/components/yc-gradient-card/src/index.vue.d.ts +2 -2
- package/es/components/yc-input/src/input.vue.d.ts +4 -4
- package/es/components/yc-input/src/money-input.vue.d.ts +3 -3
- package/es/components/yc-input/src/stepper-input.vue.d.ts +3 -3
- package/es/components/yc-input/src/textarea.vue.d.ts +1 -1
- package/es/components/yc-input-otp/src/index.vue.d.ts +3 -3
- package/es/components/yc-pagination/src/index.vue.d.ts +2 -2
- package/es/components/yc-plus-page/src/index.vue.d.ts +504 -504
- package/es/components/yc-plus-tree/src/index.vue.d.ts +1 -1
- package/es/components/yc-property-table/src/asset-table.vue.d.ts +2 -2
- package/es/components/yc-property-table/src/bill-table.vue.d.ts +2 -2
- package/es/components/yc-property-table/src/device-table.vue.d.ts +2 -2
- package/es/components/yc-property-table/src/order-table.vue.d.ts +2 -2
- package/es/components/yc-property-table/src/property-table.vue.d.ts +6 -6
- package/es/components/yc-select-v2/src/index.vue.d.ts +4 -4
- package/es/components/yc-status-dialog/src/index.vue.d.ts +1 -1
- package/es/components/yc-svg-icon/src/index.vue.d.ts +1 -1
- package/es/hooks/usePlusFormReset.d.ts +168 -168
- package/es/index.css +15 -8
- package/es/node_modules/.pnpm/toastify-js@1.12.0/node_modules/toastify-js/src/toastify.mjs +456 -0
- package/es/packages/components/yc-display-cards/src/form-card.vue.mjs +1 -1
- package/es/packages/components/yc-display-cards/src/form-card2.vue.mjs +449 -90
- package/es/packages/components/yc-display-cards/src/toast.mjs +35 -0
- package/es/version.d.ts +1 -1
- package/es/version.mjs +1 -1
- package/index.css +8 -1
- package/index.js +937 -93
- package/index.min.css +8 -1
- package/index.min.js +40 -34
- package/index.min.mjs +40 -34
- package/index.mjs +937 -93
- package/lib/_virtual/_commonjsHelpers.js +10 -0
- package/lib/_virtual/toastify.js +5 -0
- package/lib/components/chart/src/chart-card.vue.d.ts +21 -21
- package/lib/components/chart/src/chart-container.vue.d.ts +2 -2
- package/lib/components/chart/src/metric-card.vue.d.ts +1 -1
- package/lib/components/data-table/src/data-table.vue.d.ts +8 -8
- package/lib/components/descriptions/index.d.ts +9 -9
- package/lib/components/descriptions/src/index.vue.d.ts +3 -3
- package/lib/components/dialog/index.d.ts +6 -6
- package/lib/components/dialog/src/index.vue.d.ts +2 -2
- package/lib/components/dialog-form/index.d.ts +10 -10
- package/lib/components/dialog-form/src/index.vue.d.ts +6 -6
- package/lib/components/display-item/index.d.ts +12 -12
- package/lib/components/display-item/src/index.vue.d.ts +12 -12
- package/lib/components/drawer-form/index.d.ts +19 -19
- package/lib/components/drawer-form/src/index.vue.d.ts +9 -9
- package/lib/components/form/index.d.ts +17 -17
- package/lib/components/form/src/form-content.vue.d.ts +11 -11
- package/lib/components/form/src/index.vue.d.ts +11 -11
- package/lib/components/form-item/index.d.ts +25 -25
- package/lib/components/form-item/src/index.vue.d.ts +12 -12
- package/lib/components/input-tag/index.d.ts +3 -3
- package/lib/components/input-tag/src/index.vue.d.ts +3 -3
- package/lib/components/page/index.d.ts +494 -494
- package/lib/components/page/src/index.vue.d.ts +167 -167
- package/lib/components/pagination/index.d.ts +3 -3
- package/lib/components/pagination/src/index.vue.d.ts +1 -1
- package/lib/components/radio/index.d.ts +5 -5
- package/lib/components/radio/src/index.vue.d.ts +5 -5
- package/lib/components/render/index.d.ts +1 -1
- package/lib/components/render/src/index.vue.d.ts +1 -1
- package/lib/components/search/index.d.ts +130 -130
- package/lib/components/search/src/index.vue.d.ts +46 -46
- package/lib/components/table/src/table-action-bar.vue.d.ts +2 -2
- package/lib/components/table/src/table-column.vue.d.ts +24 -24
- package/lib/components/utils/index.d.ts +3 -3
- package/lib/components/virtual-table/index.d.ts +3 -3
- package/lib/components/virtual-table/src/index.vue.d.ts +1 -1
- package/lib/components/yc-ai-chat/src/bubble.vue.d.ts +1 -1
- package/lib/components/yc-ai-chat/src/mobile-frame.vue.d.ts +1 -1
- package/lib/components/yc-ai-chat/src/select.vue.d.ts +5 -5
- package/lib/components/yc-ai-chat/src/sender.vue.d.ts +1 -1
- package/lib/components/yc-ai-chat/src/sidebar.vue.d.ts +2 -2
- package/lib/components/yc-ai-chat/src/studio.vue.d.ts +1 -1
- package/lib/components/yc-controls/src/choice-cards.vue.d.ts +2 -2
- package/lib/components/yc-controls/src/segmented.vue.d.ts +1 -1
- package/lib/components/yc-coss-table/src/coss-table.vue.d.ts +3 -3
- package/lib/components/yc-coss-table/src/table-head.vue.d.ts +2 -2
- package/lib/components/yc-display-cards/index.d.ts +4 -3
- package/lib/components/yc-display-cards/src/form-card.vue.d.ts +3 -2
- package/lib/components/yc-display-cards/src/table-card.vue.d.ts +1 -1
- package/lib/components/yc-display-cards/src/toast.d.ts +4 -0
- package/lib/components/yc-display-cards/src/types.d.ts +21 -0
- package/lib/components/yc-gradient-card/src/index.vue.d.ts +2 -2
- package/lib/components/yc-input/src/input.vue.d.ts +4 -4
- package/lib/components/yc-input/src/money-input.vue.d.ts +3 -3
- package/lib/components/yc-input/src/stepper-input.vue.d.ts +3 -3
- package/lib/components/yc-input/src/textarea.vue.d.ts +1 -1
- package/lib/components/yc-input-otp/src/index.vue.d.ts +3 -3
- package/lib/components/yc-pagination/src/index.vue.d.ts +2 -2
- package/lib/components/yc-plus-page/src/index.vue.d.ts +504 -504
- package/lib/components/yc-plus-tree/src/index.vue.d.ts +1 -1
- package/lib/components/yc-property-table/src/asset-table.vue.d.ts +2 -2
- package/lib/components/yc-property-table/src/bill-table.vue.d.ts +2 -2
- package/lib/components/yc-property-table/src/device-table.vue.d.ts +2 -2
- package/lib/components/yc-property-table/src/order-table.vue.d.ts +2 -2
- package/lib/components/yc-property-table/src/property-table.vue.d.ts +6 -6
- package/lib/components/yc-select-v2/src/index.vue.d.ts +4 -4
- package/lib/components/yc-status-dialog/src/index.vue.d.ts +1 -1
- package/lib/components/yc-svg-icon/src/index.vue.d.ts +1 -1
- package/lib/hooks/usePlusFormReset.d.ts +168 -168
- package/lib/index.css +17 -10
- package/lib/node_modules/.pnpm/toastify-js@1.12.0/node_modules/toastify-js/src/toastify.js +460 -0
- package/lib/packages/components/yc-display-cards/src/form-card.vue.js +1 -1
- package/lib/packages/components/yc-display-cards/src/form-card2.vue.js +449 -90
- package/lib/packages/components/yc-display-cards/src/toast.js +37 -0
- package/lib/version.d.ts +1 -1
- package/lib/version.js +1 -1
- package/locale/en.js +1 -1
- package/locale/en.min.js +1 -1
- package/locale/en.min.mjs +1 -1
- package/locale/en.mjs +1 -1
- package/locale/ja.js +1 -1
- package/locale/ja.min.js +1 -1
- package/locale/ja.min.mjs +1 -1
- package/locale/ja.mjs +1 -1
- package/locale/ko.js +1 -1
- package/locale/ko.min.js +1 -1
- package/locale/ko.min.mjs +1 -1
- package/locale/ko.mjs +1 -1
- package/locale/zh-cn.js +1 -1
- package/locale/zh-cn.min.js +1 -1
- package/locale/zh-cn.min.mjs +1 -1
- package/locale/zh-cn.mjs +1 -1
- package/locale/zh-tw.js +1 -1
- package/locale/zh-tw.min.js +1 -1
- package/locale/zh-tw.min.mjs +1 -1
- package/locale/zh-tw.mjs +1 -1
- package/package.json +2 -1
- package/theme-chalk/index.css +8 -1
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { SFCWithInstall } from '../../utils';
|
|
2
2
|
import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
|
3
|
-
import { DisplaySummaryItem, DisplayTableColumn, DisplayMetricItem, DisplayDetailStatus, DisplayDetailField, DisplayFormAttachment, DisplayFormField, DisplayFormActionRequest, DisplayFormActionResult } from './src/types';
|
|
3
|
+
import { DisplaySummaryItem, DisplayTableColumn, DisplayMetricItem, DisplayDetailStatus, DisplayDetailField, DisplayFormAttachment, DisplayFormField, DisplayFormActionRequest, DisplayFormActionResult, DisplayFormReplyPayload, DisplayFormReplyResult } from './src/types';
|
|
4
4
|
export declare const YcDisplayTableCard: SFCWithInstall<DefineComponent<unknown, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<unknown> & Readonly<{}>, {
|
|
5
|
-
summary: DisplaySummaryItem[];
|
|
6
5
|
title: string;
|
|
6
|
+
summary: DisplaySummaryItem[];
|
|
7
7
|
columns: DisplayTableColumn[];
|
|
8
8
|
rows: Record<string, unknown>[];
|
|
9
9
|
maxRows: number;
|
|
@@ -26,8 +26,8 @@ export declare const YcDisplayFormCard: SFCWithInstall<DefineComponent<unknown,
|
|
|
26
26
|
}, string, PublicProps, Readonly<unknown> & Readonly<{
|
|
27
27
|
onAction?: ((text: string, attachments?: DisplayFormAttachment[] | undefined) => any) | undefined;
|
|
28
28
|
}>, {
|
|
29
|
-
values: Record<string, unknown>;
|
|
30
29
|
title: string;
|
|
30
|
+
values: Record<string, unknown>;
|
|
31
31
|
mode: "query" | "submit" | "reply";
|
|
32
32
|
compact: boolean;
|
|
33
33
|
fields: DisplayFormField[];
|
|
@@ -38,5 +38,6 @@ export declare const YcDisplayFormCard: SFCWithInstall<DefineComponent<unknown,
|
|
|
38
38
|
skillName: string;
|
|
39
39
|
executeAction: (req: DisplayFormActionRequest) => Promise< DisplayFormActionResult>;
|
|
40
40
|
uploadFile: (file: File) => Promise< DisplayFormAttachment>;
|
|
41
|
+
submitReply: (payload: DisplayFormReplyPayload) => Promise< DisplayFormReplyResult>;
|
|
41
42
|
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>>;
|
|
42
43
|
export type * from './src/types';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { DisplayFormAttachment, DisplayFormField, DisplayFormActionRequest, DisplayFormActionResult } from './types';
|
|
1
|
+
import { DisplayFormAttachment, DisplayFormField, DisplayFormActionRequest, DisplayFormActionResult, DisplayFormReplyPayload, DisplayFormReplyResult } from './types';
|
|
2
2
|
import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
|
3
3
|
|
|
4
4
|
declare const _default: DefineComponent<unknown, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
@@ -6,8 +6,8 @@ declare const _default: DefineComponent<unknown, {}, {}, {}, {}, ComponentOption
|
|
|
6
6
|
}, string, PublicProps, Readonly<unknown> & Readonly<{
|
|
7
7
|
onAction?: ((text: string, attachments?: DisplayFormAttachment[] | undefined) => any) | undefined;
|
|
8
8
|
}>, {
|
|
9
|
-
values: Record<string, unknown>;
|
|
10
9
|
title: string;
|
|
10
|
+
values: Record<string, unknown>;
|
|
11
11
|
mode: "query" | "submit" | "reply";
|
|
12
12
|
compact: boolean;
|
|
13
13
|
fields: DisplayFormField[];
|
|
@@ -18,5 +18,6 @@ declare const _default: DefineComponent<unknown, {}, {}, {}, {}, ComponentOption
|
|
|
18
18
|
skillName: string;
|
|
19
19
|
executeAction: (req: DisplayFormActionRequest) => Promise< DisplayFormActionResult>;
|
|
20
20
|
uploadFile: (file: File) => Promise<DisplayFormAttachment>;
|
|
21
|
+
submitReply: (payload: DisplayFormReplyPayload) => Promise< DisplayFormReplyResult>;
|
|
21
22
|
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
22
23
|
export default _default;
|
|
@@ -2,8 +2,8 @@ import { DisplayTableColumn, DisplaySummaryItem } from './types';
|
|
|
2
2
|
import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
|
3
3
|
|
|
4
4
|
declare const _default: DefineComponent<unknown, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<unknown> & Readonly<{}>, {
|
|
5
|
-
summary: DisplaySummaryItem[];
|
|
6
5
|
title: string;
|
|
6
|
+
summary: DisplaySummaryItem[];
|
|
7
7
|
columns: DisplayTableColumn[];
|
|
8
8
|
rows: Record<string, unknown>[];
|
|
9
9
|
maxRows: number;
|
|
@@ -85,6 +85,25 @@ export interface DisplayFormActionResult {
|
|
|
85
85
|
fields?: DisplayFormField[];
|
|
86
86
|
data?: unknown;
|
|
87
87
|
}
|
|
88
|
+
export interface DisplayFormTraceStep {
|
|
89
|
+
id: string;
|
|
90
|
+
label: string;
|
|
91
|
+
status: "running" | "succeeded" | "failed";
|
|
92
|
+
detail?: string;
|
|
93
|
+
}
|
|
94
|
+
export interface DisplayFormReplyPayload {
|
|
95
|
+
text: string;
|
|
96
|
+
attachments?: DisplayFormAttachment[];
|
|
97
|
+
values: Record<string, unknown>;
|
|
98
|
+
onTrace: (step: DisplayFormTraceStep) => void;
|
|
99
|
+
}
|
|
100
|
+
export interface DisplayFormReplyResult {
|
|
101
|
+
ok: boolean;
|
|
102
|
+
message?: string;
|
|
103
|
+
/** 后台发现缺少字段或附件时返回,卡片会在当前表单中动态追加这些字段供用户补齐。 */
|
|
104
|
+
missingFields?: DisplayFormField[];
|
|
105
|
+
trace?: DisplayFormTraceStep[];
|
|
106
|
+
}
|
|
88
107
|
export interface YcDisplayFormCardProps {
|
|
89
108
|
title?: string;
|
|
90
109
|
subtitle?: string;
|
|
@@ -100,4 +119,6 @@ export interface YcDisplayFormCardProps {
|
|
|
100
119
|
executeAction?: (req: DisplayFormActionRequest) => Promise<DisplayFormActionResult>;
|
|
101
120
|
/** 表单内 image/file 字段的文件上传适配器;由宿主项目提供具体上传接口。 */
|
|
102
121
|
uploadFile?: (file: File) => Promise<DisplayFormAttachment>;
|
|
122
|
+
/** 卡片内静默执行回填(不往主聊天流追加用户消息气泡,改为在卡片内展示执行追踪与动态补全)。 */
|
|
123
|
+
submitReply?: (payload: DisplayFormReplyPayload) => Promise<DisplayFormReplyResult>;
|
|
103
124
|
}
|
|
@@ -29,9 +29,9 @@ declare const __VLS_component: DefineComponent<unknown, {}, {}, {}, {}, Componen
|
|
|
29
29
|
}, string, PublicProps, Readonly<unknown> & Readonly<{
|
|
30
30
|
onAction?: ((event: MouseEvent) => any) | undefined;
|
|
31
31
|
}>, {
|
|
32
|
-
disabled: boolean;
|
|
33
|
-
radius: string | number;
|
|
34
32
|
palette: GradientPaletteKey;
|
|
33
|
+
radius: string | number;
|
|
34
|
+
disabled: boolean;
|
|
35
35
|
showTokenBar: boolean;
|
|
36
36
|
hoverable: boolean;
|
|
37
37
|
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { DefineComponent, Ref, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
|
2
|
-
import {
|
|
2
|
+
import { YcInputStatus, YcInputSize, YcInputVariant } from './type';
|
|
3
3
|
declare function __VLS_template(): {
|
|
4
4
|
"label-extra"?(_: {}): any;
|
|
5
5
|
"addon-before"?(_: {}): any;
|
|
@@ -29,12 +29,12 @@ declare const __VLS_component: DefineComponent<unknown, {
|
|
|
29
29
|
onEnter?: ((event: KeyboardEvent) => any) | undefined;
|
|
30
30
|
}>, {
|
|
31
31
|
type: "text" | "password" | "search" | "tel" | "email" | "url";
|
|
32
|
-
|
|
32
|
+
status: YcInputStatus;
|
|
33
33
|
disabled: boolean;
|
|
34
|
-
modelValue: string | number;
|
|
35
34
|
size: YcInputSize;
|
|
36
35
|
monospace: boolean;
|
|
37
|
-
|
|
36
|
+
required: boolean;
|
|
37
|
+
modelValue: string | number;
|
|
38
38
|
clearable: boolean;
|
|
39
39
|
readonly: boolean;
|
|
40
40
|
showPassword: boolean;
|
|
@@ -11,12 +11,12 @@ declare const _default: DefineComponent<unknown, {}, {}, {}, {}, ComponentOption
|
|
|
11
11
|
onFocus?: ((event: FocusEvent) => any) | undefined;
|
|
12
12
|
"onUpdate:modelValue"?: ((value: number | null) => any) | undefined;
|
|
13
13
|
}>, {
|
|
14
|
-
|
|
14
|
+
precision: number;
|
|
15
15
|
disabled: boolean;
|
|
16
|
-
modelValue: number | string | null;
|
|
17
16
|
size: YcInputSize;
|
|
18
17
|
placeholder: string;
|
|
19
|
-
|
|
18
|
+
required: boolean;
|
|
19
|
+
modelValue: number | string | null;
|
|
20
20
|
clearable: boolean;
|
|
21
21
|
readonly: boolean;
|
|
22
22
|
variant: YcInputVariant;
|
|
@@ -7,12 +7,12 @@ declare const _default: DefineComponent<unknown, {}, {}, {}, {}, ComponentOption
|
|
|
7
7
|
onChange?: ((value: number | null) => any) | undefined;
|
|
8
8
|
"onUpdate:modelValue"?: ((value: number | null) => any) | undefined;
|
|
9
9
|
}>, {
|
|
10
|
+
precision: number;
|
|
11
|
+
step: number;
|
|
10
12
|
disabled: boolean;
|
|
11
|
-
modelValue: number | null;
|
|
12
13
|
size: YcInputSize;
|
|
13
14
|
placeholder: string;
|
|
14
|
-
|
|
15
|
-
step: number;
|
|
15
|
+
modelValue: number | null;
|
|
16
16
|
readonly: boolean;
|
|
17
17
|
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
18
18
|
export default _default;
|
|
@@ -16,8 +16,8 @@ declare const __VLS_component: DefineComponent<unknown, {}, {}, {}, {}, Componen
|
|
|
16
16
|
onInput?: ((value: string) => any) | undefined;
|
|
17
17
|
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
18
18
|
}>, {
|
|
19
|
-
required: boolean;
|
|
20
19
|
disabled: boolean;
|
|
20
|
+
required: boolean;
|
|
21
21
|
modelValue: string;
|
|
22
22
|
readonly: boolean;
|
|
23
23
|
rows: number;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { DefineComponent, Ref, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
|
2
|
-
import {
|
|
2
|
+
import { InputOtpStatus, InputOtpSize } from './type';
|
|
3
3
|
declare function __VLS_template(): {
|
|
4
4
|
default?(_: {}): any;
|
|
5
5
|
};
|
|
@@ -21,13 +21,13 @@ declare const __VLS_component: DefineComponent<unknown, {
|
|
|
21
21
|
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
22
22
|
onComplete?: ((value: string) => any) | undefined;
|
|
23
23
|
}>, {
|
|
24
|
+
status: InputOtpStatus;
|
|
24
25
|
mask: boolean | string;
|
|
25
26
|
disabled: boolean;
|
|
26
|
-
modelValue: string;
|
|
27
27
|
size: InputOtpSize;
|
|
28
28
|
placeholder: string;
|
|
29
29
|
separator: string | boolean;
|
|
30
|
-
|
|
30
|
+
modelValue: string;
|
|
31
31
|
maxlength: number;
|
|
32
32
|
readonly: boolean;
|
|
33
33
|
numeric: boolean;
|
|
@@ -8,10 +8,10 @@ declare const _default: DefineComponent<unknown, {}, {}, {}, {}, ComponentOption
|
|
|
8
8
|
"onUpdate:modelValue"?: ((page: number) => any) | undefined;
|
|
9
9
|
"onUpdate:page"?: ((page: number) => any) | undefined;
|
|
10
10
|
}>, {
|
|
11
|
-
|
|
11
|
+
total: number;
|
|
12
12
|
disabled: boolean;
|
|
13
13
|
size: "small" | "default";
|
|
14
|
-
|
|
14
|
+
pageSize: number;
|
|
15
15
|
defaultPage: number;
|
|
16
16
|
siblingCount: number;
|
|
17
17
|
showEdges: boolean;
|