yc-agent-ui 1.2.6 → 1.2.7
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/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-pagination.vue.d.ts +3 -3
- package/es/components/data-table/src/data-table-toolbar.vue.d.ts +1 -1
- package/es/components/data-table/src/data-table.vue.d.ts +11 -11
- 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 +14 -14
- package/es/components/dialog-form/src/index.vue.d.ts +10 -10
- package/es/components/display-item/index.d.ts +27 -27
- package/es/components/display-item/src/index.vue.d.ts +25 -25
- package/es/components/drawer-form/index.d.ts +23 -23
- package/es/components/drawer-form/src/index.vue.d.ts +13 -13
- package/es/components/form/index.d.ts +25 -25
- package/es/components/form/src/form-content.vue.d.ts +19 -19
- package/es/components/form/src/index.vue.d.ts +19 -19
- package/es/components/form-item/index.d.ts +31 -31
- package/es/components/form-item/src/index.vue.d.ts +18 -18
- 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 +753 -753
- package/es/components/page/src/index.vue.d.ts +256 -256
- 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 +182 -182
- package/es/components/search/src/index.vue.d.ts +66 -66
- package/es/components/table/index.d.ts +18 -18
- package/es/components/table/src/index.vue.d.ts +2 -2
- package/es/components/table/src/table-action-bar.vue.d.ts +2 -2
- package/es/components/table/src/table-column.vue.d.ts +58 -58
- package/es/components/utils/index.d.ts +3 -3
- package/es/components/virtual-table/index.d.ts +10 -10
- package/es/components/virtual-table/src/index.vue.d.ts +3 -3
- package/es/components/yc-ai-chat/src/bubble.vue.d.ts +1 -1
- package/es/components/yc-ai-chat/src/file-card.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 +4 -4
- 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 +5 -5
- package/es/components/yc-coss-table/src/table-head.vue.d.ts +3 -3
- package/es/components/yc-display-cards/index.d.ts +20 -2
- package/es/components/yc-display-cards/src/form-card.vue.d.ts +22 -0
- package/es/components/yc-display-cards/src/table-card.vue.d.ts +1 -1
- package/es/components/yc-display-cards/src/types.d.ts +56 -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/header-filter-cell.vue.d.ts +8 -8
- package/es/components/yc-plus-page/src/index.vue.d.ts +779 -779
- 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 +7 -7
- 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 +216 -216
- package/es/index.css +10 -9
- package/es/index.mjs +1 -1
- package/es/packages/components/index.mjs +1 -1
- package/es/packages/components/yc-display-cards/capability.mjs +24 -2
- package/es/packages/components/yc-display-cards/index.mjs +3 -1
- package/es/packages/components/yc-display-cards/src/detail-card.vue.mjs +1 -1
- package/es/packages/components/yc-display-cards/src/form-card.vue.mjs +6 -0
- package/es/packages/components/yc-display-cards/src/form-card2.vue.mjs +907 -0
- package/es/packages/components/yc-display-cards/src/metrics-card.vue.mjs +1 -1
- package/es/packages/components/yc-display-cards/src/table-card.vue.mjs +1 -1
- package/es/version.d.ts +1 -1
- package/es/version.mjs +1 -1
- package/index.css +4 -3
- package/index.js +1465 -535
- package/index.min.css +4 -3
- package/index.min.js +38 -37
- package/index.min.mjs +36 -35
- package/index.mjs +1463 -534
- 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-pagination.vue.d.ts +3 -3
- package/lib/components/data-table/src/data-table-toolbar.vue.d.ts +1 -1
- package/lib/components/data-table/src/data-table.vue.d.ts +11 -11
- 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 +14 -14
- package/lib/components/dialog-form/src/index.vue.d.ts +10 -10
- package/lib/components/display-item/index.d.ts +27 -27
- package/lib/components/display-item/src/index.vue.d.ts +25 -25
- package/lib/components/drawer-form/index.d.ts +23 -23
- package/lib/components/drawer-form/src/index.vue.d.ts +13 -13
- package/lib/components/form/index.d.ts +25 -25
- package/lib/components/form/src/form-content.vue.d.ts +19 -19
- package/lib/components/form/src/index.vue.d.ts +19 -19
- package/lib/components/form-item/index.d.ts +31 -31
- package/lib/components/form-item/src/index.vue.d.ts +18 -18
- 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 +753 -753
- package/lib/components/page/src/index.vue.d.ts +256 -256
- 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 +182 -182
- package/lib/components/search/src/index.vue.d.ts +66 -66
- package/lib/components/table/index.d.ts +18 -18
- package/lib/components/table/src/index.vue.d.ts +2 -2
- package/lib/components/table/src/table-action-bar.vue.d.ts +2 -2
- package/lib/components/table/src/table-column.vue.d.ts +58 -58
- package/lib/components/utils/index.d.ts +3 -3
- package/lib/components/virtual-table/index.d.ts +10 -10
- package/lib/components/virtual-table/src/index.vue.d.ts +3 -3
- package/lib/components/yc-ai-chat/src/bubble.vue.d.ts +1 -1
- package/lib/components/yc-ai-chat/src/file-card.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 +4 -4
- 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 +5 -5
- package/lib/components/yc-coss-table/src/table-head.vue.d.ts +3 -3
- package/lib/components/yc-display-cards/index.d.ts +20 -2
- package/lib/components/yc-display-cards/src/form-card.vue.d.ts +22 -0
- package/lib/components/yc-display-cards/src/table-card.vue.d.ts +1 -1
- package/lib/components/yc-display-cards/src/types.d.ts +56 -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/header-filter-cell.vue.d.ts +8 -8
- package/lib/components/yc-plus-page/src/index.vue.d.ts +779 -779
- 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 +7 -7
- 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 +216 -216
- package/lib/index.css +13 -12
- package/lib/index.js +1 -0
- package/lib/packages/components/index.js +1 -0
- package/lib/packages/components/yc-display-cards/capability.js +23 -1
- package/lib/packages/components/yc-display-cards/index.js +3 -0
- package/lib/packages/components/yc-display-cards/src/detail-card.vue.js +1 -1
- package/lib/packages/components/yc-display-cards/src/form-card.vue.js +10 -0
- package/lib/packages/components/yc-display-cards/src/form-card2.vue.js +911 -0
- package/lib/packages/components/yc-display-cards/src/metrics-card.vue.js +1 -1
- package/lib/packages/components/yc-display-cards/src/table-card.vue.js +1 -1
- 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 +1 -1
- package/theme-chalk/index.css +4 -3
|
@@ -162,8 +162,8 @@ declare const __VLS_component: DefineComponent<unknown, {
|
|
|
162
162
|
column: PlusColumn;
|
|
163
163
|
row: RecordType;
|
|
164
164
|
index: number;
|
|
165
|
-
rest: RecordType;
|
|
166
165
|
formProps: PlusFormProps;
|
|
166
|
+
rest: RecordType;
|
|
167
167
|
editable: boolean | "click" | "dblclick";
|
|
168
168
|
}> & Omit<{
|
|
169
169
|
readonly onChange?: ((data: {
|
|
@@ -171,7 +171,7 @@ declare const __VLS_component: DefineComponent<unknown, {
|
|
|
171
171
|
prop: string;
|
|
172
172
|
row: RecordType;
|
|
173
173
|
}) => any) | undefined;
|
|
174
|
-
} & VNodeProps & AllowedComponentProps & ComponentCustomProps, "column" | "row" | "index" | "
|
|
174
|
+
} & VNodeProps & AllowedComponentProps & ComponentCustomProps, "column" | "row" | "index" | "formProps" | "rest" | "editable">;
|
|
175
175
|
$attrs: Attrs;
|
|
176
176
|
$refs: {
|
|
177
177
|
[x: string]: unknown;
|
|
@@ -215,8 +215,8 @@ declare const __VLS_component: DefineComponent<unknown, {
|
|
|
215
215
|
column: PlusColumn;
|
|
216
216
|
row: RecordType;
|
|
217
217
|
index: number;
|
|
218
|
-
rest: RecordType;
|
|
219
218
|
formProps: PlusFormProps;
|
|
219
|
+
rest: RecordType;
|
|
220
220
|
editable: boolean | "click" | "dblclick";
|
|
221
221
|
}, {}, string, {}, GlobalComponents, GlobalDirectives, string, ComponentProvideOptions> & {
|
|
222
222
|
beforeCreate?: (() => void) | (() => void)[];
|
|
@@ -242,8 +242,8 @@ declare const __VLS_component: DefineComponent<unknown, {
|
|
|
242
242
|
column: PlusColumn;
|
|
243
243
|
row: RecordType;
|
|
244
244
|
index: number;
|
|
245
|
-
rest: RecordType;
|
|
246
245
|
formProps: PlusFormProps;
|
|
246
|
+
rest: RecordType;
|
|
247
247
|
editable: boolean | "click" | "dblclick";
|
|
248
248
|
}> & Omit<Readonly<unknown> & Readonly<{
|
|
249
249
|
onChange?: ((data: {
|
|
@@ -251,7 +251,7 @@ declare const __VLS_component: DefineComponent<unknown, {
|
|
|
251
251
|
prop: string;
|
|
252
252
|
row: RecordType;
|
|
253
253
|
}) => any) | undefined;
|
|
254
|
-
}>, "startCellEdit" | "stopCellEdit" | "getDisplayItemInstance" | ("column" | "row" | "index" | "
|
|
254
|
+
}>, "startCellEdit" | "stopCellEdit" | "getDisplayItemInstance" | ("column" | "row" | "index" | "formProps" | "rest" | "editable")> & {
|
|
255
255
|
startCellEdit: () => void;
|
|
256
256
|
stopCellEdit: () => void;
|
|
257
257
|
getDisplayItemInstance: () => {
|
|
@@ -268,12 +268,12 @@ declare const __VLS_component: DefineComponent<unknown, {
|
|
|
268
268
|
prop: PlusColumn["prop"];
|
|
269
269
|
}> & {
|
|
270
270
|
readonly label: string | ComputedRef<string>;
|
|
271
|
-
readonly modelValue: string | number | boolean |
|
|
272
|
-
readonly hasLabel: boolean |
|
|
273
|
-
readonly tooltip: string | Partial< Mutable<UseTooltipProps> & {
|
|
271
|
+
readonly modelValue: string | number | boolean | number[] | string[] | Date | [string, string] | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
272
|
+
readonly hasLabel: boolean | ComputedRef<boolean> | Ref<boolean, boolean>;
|
|
273
|
+
readonly tooltip: string | ComputedRef<string> | Partial< Mutable<UseTooltipProps> & {
|
|
274
274
|
style?: CSSProperties;
|
|
275
275
|
class?: any;
|
|
276
|
-
} & RecordType> | ComputedRef<
|
|
276
|
+
} & RecordType> | ComputedRef<Partial< Mutable<UseTooltipProps> & {
|
|
277
277
|
style?: CSSProperties;
|
|
278
278
|
class?: any;
|
|
279
279
|
} & RecordType>>;
|
|
@@ -342,12 +342,12 @@ declare const __VLS_component: DefineComponent<unknown, {
|
|
|
342
342
|
fieldInstance?: any;
|
|
343
343
|
valueIsReady?: Ref<boolean>;
|
|
344
344
|
prop: PlusColumn["prop"];
|
|
345
|
-
modelValue: string | number | boolean |
|
|
346
|
-
hasLabel: boolean |
|
|
347
|
-
tooltip: string | Partial< Mutable<UseTooltipProps> & {
|
|
345
|
+
modelValue: string | number | boolean | number[] | string[] | Date | [string, string] | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
346
|
+
hasLabel: boolean | ComputedRef<boolean> | Ref<boolean, boolean>;
|
|
347
|
+
tooltip: string | ComputedRef<string> | Partial< Mutable<UseTooltipProps> & {
|
|
348
348
|
style?: CSSProperties;
|
|
349
349
|
class?: any;
|
|
350
|
-
} & RecordType> | ComputedRef<
|
|
350
|
+
} & RecordType> | ComputedRef<Partial< Mutable<UseTooltipProps> & {
|
|
351
351
|
style?: CSSProperties;
|
|
352
352
|
class?: any;
|
|
353
353
|
} & RecordType>>;
|
|
@@ -381,12 +381,12 @@ declare const __VLS_component: DefineComponent<unknown, {
|
|
|
381
381
|
prop: PlusColumn["prop"];
|
|
382
382
|
}> & {
|
|
383
383
|
readonly label: string | ComputedRef<string>;
|
|
384
|
-
readonly modelValue: string | number | boolean |
|
|
385
|
-
readonly hasLabel: boolean |
|
|
386
|
-
readonly tooltip: string | Partial< Mutable<UseTooltipProps> & {
|
|
384
|
+
readonly modelValue: string | number | boolean | number[] | string[] | Date | [string, string] | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
385
|
+
readonly hasLabel: boolean | ComputedRef<boolean> | Ref<boolean, boolean>;
|
|
386
|
+
readonly tooltip: string | ComputedRef<string> | Partial< Mutable<UseTooltipProps> & {
|
|
387
387
|
style?: CSSProperties;
|
|
388
388
|
class?: any;
|
|
389
|
-
} & RecordType> | ComputedRef<
|
|
389
|
+
} & RecordType> | ComputedRef<Partial< Mutable<UseTooltipProps> & {
|
|
390
390
|
style?: CSSProperties;
|
|
391
391
|
class?: any;
|
|
392
392
|
} & RecordType>>;
|
|
@@ -455,12 +455,12 @@ declare const __VLS_component: DefineComponent<unknown, {
|
|
|
455
455
|
fieldInstance?: any;
|
|
456
456
|
valueIsReady?: Ref<boolean>;
|
|
457
457
|
prop: PlusColumn["prop"];
|
|
458
|
-
modelValue: string | number | boolean |
|
|
459
|
-
hasLabel: boolean |
|
|
460
|
-
tooltip: string | Partial< Mutable<UseTooltipProps> & {
|
|
458
|
+
modelValue: string | number | boolean | number[] | string[] | Date | [string, string] | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
459
|
+
hasLabel: boolean | ComputedRef<boolean> | Ref<boolean, boolean>;
|
|
460
|
+
tooltip: string | ComputedRef<string> | Partial< Mutable<UseTooltipProps> & {
|
|
461
461
|
style?: CSSProperties;
|
|
462
462
|
class?: any;
|
|
463
|
-
} & RecordType> | ComputedRef<
|
|
463
|
+
} & RecordType> | ComputedRef<Partial< Mutable<UseTooltipProps> & {
|
|
464
464
|
style?: CSSProperties;
|
|
465
465
|
class?: any;
|
|
466
466
|
} & RecordType>>;
|
|
@@ -494,12 +494,12 @@ declare const __VLS_component: DefineComponent<unknown, {
|
|
|
494
494
|
prop: PlusColumn["prop"];
|
|
495
495
|
}> & {
|
|
496
496
|
readonly label: string | ComputedRef<string>;
|
|
497
|
-
readonly modelValue: string | number | boolean |
|
|
498
|
-
readonly hasLabel: boolean |
|
|
499
|
-
readonly tooltip: string | Partial< Mutable<UseTooltipProps> & {
|
|
497
|
+
readonly modelValue: string | number | boolean | number[] | string[] | Date | [string, string] | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
498
|
+
readonly hasLabel: boolean | ComputedRef<boolean> | Ref<boolean, boolean>;
|
|
499
|
+
readonly tooltip: string | ComputedRef<string> | Partial< Mutable<UseTooltipProps> & {
|
|
500
500
|
style?: CSSProperties;
|
|
501
501
|
class?: any;
|
|
502
|
-
} & RecordType> | ComputedRef<
|
|
502
|
+
} & RecordType> | ComputedRef<Partial< Mutable<UseTooltipProps> & {
|
|
503
503
|
style?: CSSProperties;
|
|
504
504
|
class?: any;
|
|
505
505
|
} & RecordType>>;
|
|
@@ -568,12 +568,12 @@ declare const __VLS_component: DefineComponent<unknown, {
|
|
|
568
568
|
fieldInstance?: any;
|
|
569
569
|
valueIsReady?: Ref<boolean>;
|
|
570
570
|
prop: PlusColumn["prop"];
|
|
571
|
-
modelValue: string | number | boolean |
|
|
572
|
-
hasLabel: boolean |
|
|
573
|
-
tooltip: string | Partial< Mutable<UseTooltipProps> & {
|
|
571
|
+
modelValue: string | number | boolean | number[] | string[] | Date | [string, string] | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
572
|
+
hasLabel: boolean | ComputedRef<boolean> | Ref<boolean, boolean>;
|
|
573
|
+
tooltip: string | ComputedRef<string> | Partial< Mutable<UseTooltipProps> & {
|
|
574
574
|
style?: CSSProperties;
|
|
575
575
|
class?: any;
|
|
576
|
-
} & RecordType> | ComputedRef<
|
|
576
|
+
} & RecordType> | ComputedRef<Partial< Mutable<UseTooltipProps> & {
|
|
577
577
|
style?: CSSProperties;
|
|
578
578
|
class?: any;
|
|
579
579
|
} & RecordType>>;
|
|
@@ -622,8 +622,8 @@ declare const __VLS_component: DefineComponent<unknown, {
|
|
|
622
622
|
column: PlusColumn;
|
|
623
623
|
row: RecordType;
|
|
624
624
|
index: number;
|
|
625
|
-
rest: RecordType;
|
|
626
625
|
formProps: PlusFormProps;
|
|
626
|
+
rest: RecordType;
|
|
627
627
|
editable: boolean | "click" | "dblclick";
|
|
628
628
|
}> & Omit<{
|
|
629
629
|
readonly onChange?: ((data: {
|
|
@@ -631,7 +631,7 @@ declare const __VLS_component: DefineComponent<unknown, {
|
|
|
631
631
|
prop: string;
|
|
632
632
|
row: RecordType;
|
|
633
633
|
}) => any) | undefined;
|
|
634
|
-
} & VNodeProps & AllowedComponentProps & ComponentCustomProps, "column" | "row" | "index" | "
|
|
634
|
+
} & VNodeProps & AllowedComponentProps & ComponentCustomProps, "column" | "row" | "index" | "formProps" | "rest" | "editable">;
|
|
635
635
|
$attrs: Attrs;
|
|
636
636
|
$refs: {
|
|
637
637
|
[x: string]: unknown;
|
|
@@ -675,8 +675,8 @@ declare const __VLS_component: DefineComponent<unknown, {
|
|
|
675
675
|
column: PlusColumn;
|
|
676
676
|
row: RecordType;
|
|
677
677
|
index: number;
|
|
678
|
-
rest: RecordType;
|
|
679
678
|
formProps: PlusFormProps;
|
|
679
|
+
rest: RecordType;
|
|
680
680
|
editable: boolean | "click" | "dblclick";
|
|
681
681
|
}, {}, string, {}, GlobalComponents, GlobalDirectives, string, ComponentProvideOptions> & {
|
|
682
682
|
beforeCreate?: (() => void) | (() => void)[];
|
|
@@ -702,8 +702,8 @@ declare const __VLS_component: DefineComponent<unknown, {
|
|
|
702
702
|
column: PlusColumn;
|
|
703
703
|
row: RecordType;
|
|
704
704
|
index: number;
|
|
705
|
-
rest: RecordType;
|
|
706
705
|
formProps: PlusFormProps;
|
|
706
|
+
rest: RecordType;
|
|
707
707
|
editable: boolean | "click" | "dblclick";
|
|
708
708
|
}> & Omit<Readonly<unknown> & Readonly<{
|
|
709
709
|
onChange?: ((data: {
|
|
@@ -711,7 +711,7 @@ declare const __VLS_component: DefineComponent<unknown, {
|
|
|
711
711
|
prop: string;
|
|
712
712
|
row: RecordType;
|
|
713
713
|
}) => any) | undefined;
|
|
714
|
-
}>, "startCellEdit" | "stopCellEdit" | "getDisplayItemInstance" | ("column" | "row" | "index" | "
|
|
714
|
+
}>, "startCellEdit" | "stopCellEdit" | "getDisplayItemInstance" | ("column" | "row" | "index" | "formProps" | "rest" | "editable")> & {
|
|
715
715
|
startCellEdit: () => void;
|
|
716
716
|
stopCellEdit: () => void;
|
|
717
717
|
getDisplayItemInstance: () => {
|
|
@@ -728,12 +728,12 @@ declare const __VLS_component: DefineComponent<unknown, {
|
|
|
728
728
|
prop: PlusColumn["prop"];
|
|
729
729
|
}> & {
|
|
730
730
|
readonly label: string | ComputedRef<string>;
|
|
731
|
-
readonly modelValue: string | number | boolean |
|
|
732
|
-
readonly hasLabel: boolean |
|
|
733
|
-
readonly tooltip: string | Partial< Mutable<UseTooltipProps> & {
|
|
731
|
+
readonly modelValue: string | number | boolean | number[] | string[] | Date | [string, string] | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
732
|
+
readonly hasLabel: boolean | ComputedRef<boolean> | Ref<boolean, boolean>;
|
|
733
|
+
readonly tooltip: string | ComputedRef<string> | Partial< Mutable<UseTooltipProps> & {
|
|
734
734
|
style?: CSSProperties;
|
|
735
735
|
class?: any;
|
|
736
|
-
} & RecordType> | ComputedRef<
|
|
736
|
+
} & RecordType> | ComputedRef<Partial< Mutable<UseTooltipProps> & {
|
|
737
737
|
style?: CSSProperties;
|
|
738
738
|
class?: any;
|
|
739
739
|
} & RecordType>>;
|
|
@@ -802,12 +802,12 @@ declare const __VLS_component: DefineComponent<unknown, {
|
|
|
802
802
|
fieldInstance?: any;
|
|
803
803
|
valueIsReady?: Ref<boolean>;
|
|
804
804
|
prop: PlusColumn["prop"];
|
|
805
|
-
modelValue: string | number | boolean |
|
|
806
|
-
hasLabel: boolean |
|
|
807
|
-
tooltip: string | Partial< Mutable<UseTooltipProps> & {
|
|
805
|
+
modelValue: string | number | boolean | number[] | string[] | Date | [string, string] | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
806
|
+
hasLabel: boolean | ComputedRef<boolean> | Ref<boolean, boolean>;
|
|
807
|
+
tooltip: string | ComputedRef<string> | Partial< Mutable<UseTooltipProps> & {
|
|
808
808
|
style?: CSSProperties;
|
|
809
809
|
class?: any;
|
|
810
|
-
} & RecordType> | ComputedRef<
|
|
810
|
+
} & RecordType> | ComputedRef<Partial< Mutable<UseTooltipProps> & {
|
|
811
811
|
style?: CSSProperties;
|
|
812
812
|
class?: any;
|
|
813
813
|
} & RecordType>>;
|
|
@@ -841,12 +841,12 @@ declare const __VLS_component: DefineComponent<unknown, {
|
|
|
841
841
|
prop: PlusColumn["prop"];
|
|
842
842
|
}> & {
|
|
843
843
|
readonly label: string | ComputedRef<string>;
|
|
844
|
-
readonly modelValue: string | number | boolean |
|
|
845
|
-
readonly hasLabel: boolean |
|
|
846
|
-
readonly tooltip: string | Partial< Mutable<UseTooltipProps> & {
|
|
844
|
+
readonly modelValue: string | number | boolean | number[] | string[] | Date | [string, string] | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
845
|
+
readonly hasLabel: boolean | ComputedRef<boolean> | Ref<boolean, boolean>;
|
|
846
|
+
readonly tooltip: string | ComputedRef<string> | Partial< Mutable<UseTooltipProps> & {
|
|
847
847
|
style?: CSSProperties;
|
|
848
848
|
class?: any;
|
|
849
|
-
} & RecordType> | ComputedRef<
|
|
849
|
+
} & RecordType> | ComputedRef<Partial< Mutable<UseTooltipProps> & {
|
|
850
850
|
style?: CSSProperties;
|
|
851
851
|
class?: any;
|
|
852
852
|
} & RecordType>>;
|
|
@@ -915,12 +915,12 @@ declare const __VLS_component: DefineComponent<unknown, {
|
|
|
915
915
|
fieldInstance?: any;
|
|
916
916
|
valueIsReady?: Ref<boolean>;
|
|
917
917
|
prop: PlusColumn["prop"];
|
|
918
|
-
modelValue: string | number | boolean |
|
|
919
|
-
hasLabel: boolean |
|
|
920
|
-
tooltip: string | Partial< Mutable<UseTooltipProps> & {
|
|
918
|
+
modelValue: string | number | boolean | number[] | string[] | Date | [string, string] | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
919
|
+
hasLabel: boolean | ComputedRef<boolean> | Ref<boolean, boolean>;
|
|
920
|
+
tooltip: string | ComputedRef<string> | Partial< Mutable<UseTooltipProps> & {
|
|
921
921
|
style?: CSSProperties;
|
|
922
922
|
class?: any;
|
|
923
|
-
} & RecordType> | ComputedRef<
|
|
923
|
+
} & RecordType> | ComputedRef<Partial< Mutable<UseTooltipProps> & {
|
|
924
924
|
style?: CSSProperties;
|
|
925
925
|
class?: any;
|
|
926
926
|
} & RecordType>>;
|
|
@@ -954,12 +954,12 @@ declare const __VLS_component: DefineComponent<unknown, {
|
|
|
954
954
|
prop: PlusColumn["prop"];
|
|
955
955
|
}> & {
|
|
956
956
|
readonly label: string | ComputedRef<string>;
|
|
957
|
-
readonly modelValue: string | number | boolean |
|
|
958
|
-
readonly hasLabel: boolean |
|
|
959
|
-
readonly tooltip: string | Partial< Mutable<UseTooltipProps> & {
|
|
957
|
+
readonly modelValue: string | number | boolean | number[] | string[] | Date | [string, string] | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
958
|
+
readonly hasLabel: boolean | ComputedRef<boolean> | Ref<boolean, boolean>;
|
|
959
|
+
readonly tooltip: string | ComputedRef<string> | Partial< Mutable<UseTooltipProps> & {
|
|
960
960
|
style?: CSSProperties;
|
|
961
961
|
class?: any;
|
|
962
|
-
} & RecordType> | ComputedRef<
|
|
962
|
+
} & RecordType> | ComputedRef<Partial< Mutable<UseTooltipProps> & {
|
|
963
963
|
style?: CSSProperties;
|
|
964
964
|
class?: any;
|
|
965
965
|
} & RecordType>>;
|
|
@@ -1028,12 +1028,12 @@ declare const __VLS_component: DefineComponent<unknown, {
|
|
|
1028
1028
|
fieldInstance?: any;
|
|
1029
1029
|
valueIsReady?: Ref<boolean>;
|
|
1030
1030
|
prop: PlusColumn["prop"];
|
|
1031
|
-
modelValue: string | number | boolean |
|
|
1032
|
-
hasLabel: boolean |
|
|
1033
|
-
tooltip: string | Partial< Mutable<UseTooltipProps> & {
|
|
1031
|
+
modelValue: string | number | boolean | number[] | string[] | Date | [string, string] | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
1032
|
+
hasLabel: boolean | ComputedRef<boolean> | Ref<boolean, boolean>;
|
|
1033
|
+
tooltip: string | ComputedRef<string> | Partial< Mutable<UseTooltipProps> & {
|
|
1034
1034
|
style?: CSSProperties;
|
|
1035
1035
|
class?: any;
|
|
1036
|
-
} & RecordType> | ComputedRef<
|
|
1036
|
+
} & RecordType> | ComputedRef<Partial< Mutable<UseTooltipProps> & {
|
|
1037
1037
|
style?: CSSProperties;
|
|
1038
1038
|
class?: any;
|
|
1039
1039
|
} & RecordType>>;
|
|
@@ -95,7 +95,7 @@ export declare const setValue: (target: RecordType, key: string, value: any) =>
|
|
|
95
95
|
* @param version2
|
|
96
96
|
* @returns
|
|
97
97
|
*/
|
|
98
|
-
export declare const compareVersion: (version1: string, version2: string) =>
|
|
98
|
+
export declare const compareVersion: (version1: string, version2: string) => 0 | 1 | -1;
|
|
99
99
|
/**
|
|
100
100
|
* element-plus版本号是否小于'2.6.0'
|
|
101
101
|
*/
|
|
@@ -118,7 +118,6 @@ export declare const getLabel: (label: PlusColumn["label"]) => string;
|
|
|
118
118
|
*/
|
|
119
119
|
export declare const removeChildrenField: (item: PlusRouteRecordRaw) => {
|
|
120
120
|
__children: PlusRouteRecordRaw[] | undefined;
|
|
121
|
-
end?: boolean | undefined;
|
|
122
121
|
name?: RouteRecordNameGeneric;
|
|
123
122
|
props?: _RouteRecordProps<string | symbol> | Record<string, _RouteRecordProps<string | symbol>> | undefined;
|
|
124
123
|
meta?: ( RouteMeta & {
|
|
@@ -130,9 +129,10 @@ export declare const removeChildrenField: (item: PlusRouteRecordRaw) => {
|
|
|
130
129
|
disabled?: boolean;
|
|
131
130
|
}) | undefined;
|
|
132
131
|
path?: string | undefined;
|
|
133
|
-
|
|
132
|
+
end?: boolean | undefined;
|
|
134
133
|
strict?: boolean | undefined;
|
|
135
134
|
alias?: string | string[] | undefined;
|
|
135
|
+
component?: ( RouteComponent | (() => Promise< RouteComponent>)) | null | undefined;
|
|
136
136
|
sensitive?: boolean | undefined;
|
|
137
137
|
components?: Record<string, RouteComponent | (() => Promise< RouteComponent>)> | null | undefined;
|
|
138
138
|
redirect?: RouteRecordRedirectOption | undefined;
|
|
@@ -2,7 +2,7 @@ import { default as _VirtualTable } from './src/index.vue';
|
|
|
2
2
|
import { CreateComponentPublicInstanceWithMixins, ComputedRef, ShallowRef, ComponentOptionsMixin, PublicProps, GlobalComponents, GlobalDirectives, ComponentProvideOptions, ComponentOptionsBase, VNodeProps, AllowedComponentProps, ComponentCustomProps } from 'vue';
|
|
3
3
|
import { RecordType, PageInfo, PlusColumn } from '../../types';
|
|
4
4
|
import { VirtualTableColumn } from './src/type';
|
|
5
|
-
import { ButtonsCallBackParams,
|
|
5
|
+
import { ButtonsCallBackParams, PlusPaginationProps, ActionBarProps } from '../../agent-ui';
|
|
6
6
|
import { TableV2Instance, ComponentSize } from 'element-plus';
|
|
7
7
|
|
|
8
8
|
export type PlusVirtualTableInstance = InstanceType<typeof _VirtualTable>;
|
|
@@ -44,11 +44,12 @@ export declare const PlusVirtualTable: {
|
|
|
44
44
|
}, PublicProps, {
|
|
45
45
|
data: RecordType[];
|
|
46
46
|
fixed: boolean;
|
|
47
|
-
border: boolean;
|
|
48
47
|
columns: PlusColumn[];
|
|
49
48
|
rowKey: string;
|
|
50
|
-
|
|
49
|
+
pagination: false | Partial< PlusPaginationProps>;
|
|
51
50
|
stripe: boolean;
|
|
51
|
+
border: boolean;
|
|
52
|
+
actionBar: false | Partial< ActionBarProps>;
|
|
52
53
|
scrollbarAlwaysOn: boolean;
|
|
53
54
|
titleBar: boolean | {
|
|
54
55
|
title?: string;
|
|
@@ -56,7 +57,6 @@ export declare const PlusVirtualTable: {
|
|
|
56
57
|
};
|
|
57
58
|
defaultSize: ComponentSize;
|
|
58
59
|
tableData: RecordType[];
|
|
59
|
-
pagination: false | Partial< PlusPaginationProps>;
|
|
60
60
|
hasIndexColumn: boolean;
|
|
61
61
|
isSelection: boolean;
|
|
62
62
|
loadingStatus: boolean;
|
|
@@ -97,11 +97,12 @@ export declare const PlusVirtualTable: {
|
|
|
97
97
|
}, {}, {}, {}, {
|
|
98
98
|
data: RecordType[];
|
|
99
99
|
fixed: boolean;
|
|
100
|
-
border: boolean;
|
|
101
100
|
columns: PlusColumn[];
|
|
102
101
|
rowKey: string;
|
|
103
|
-
|
|
102
|
+
pagination: false | Partial< PlusPaginationProps>;
|
|
104
103
|
stripe: boolean;
|
|
104
|
+
border: boolean;
|
|
105
|
+
actionBar: false | Partial< ActionBarProps>;
|
|
105
106
|
scrollbarAlwaysOn: boolean;
|
|
106
107
|
titleBar: boolean | {
|
|
107
108
|
title?: string;
|
|
@@ -109,7 +110,6 @@ export declare const PlusVirtualTable: {
|
|
|
109
110
|
};
|
|
110
111
|
defaultSize: ComponentSize;
|
|
111
112
|
tableData: RecordType[];
|
|
112
|
-
pagination: false | Partial< PlusPaginationProps>;
|
|
113
113
|
hasIndexColumn: boolean;
|
|
114
114
|
isSelection: boolean;
|
|
115
115
|
loadingStatus: boolean;
|
|
@@ -160,11 +160,12 @@ export declare const PlusVirtualTable: {
|
|
|
160
160
|
}, string, {
|
|
161
161
|
data: RecordType[];
|
|
162
162
|
fixed: boolean;
|
|
163
|
-
border: boolean;
|
|
164
163
|
columns: PlusColumn[];
|
|
165
164
|
rowKey: string;
|
|
166
|
-
|
|
165
|
+
pagination: false | Partial< PlusPaginationProps>;
|
|
167
166
|
stripe: boolean;
|
|
167
|
+
border: boolean;
|
|
168
|
+
actionBar: false | Partial< ActionBarProps>;
|
|
168
169
|
scrollbarAlwaysOn: boolean;
|
|
169
170
|
titleBar: boolean | {
|
|
170
171
|
title?: string;
|
|
@@ -172,7 +173,6 @@ export declare const PlusVirtualTable: {
|
|
|
172
173
|
};
|
|
173
174
|
defaultSize: ComponentSize;
|
|
174
175
|
tableData: RecordType[];
|
|
175
|
-
pagination: false | Partial< PlusPaginationProps>;
|
|
176
176
|
hasIndexColumn: boolean;
|
|
177
177
|
isSelection: boolean;
|
|
178
178
|
loadingStatus: boolean;
|
|
@@ -48,11 +48,12 @@ declare const __VLS_component: DefineComponent<unknown, {
|
|
|
48
48
|
}>, {
|
|
49
49
|
data: RecordType[];
|
|
50
50
|
fixed: boolean;
|
|
51
|
-
border: boolean;
|
|
52
51
|
columns: PlusColumn[];
|
|
53
52
|
rowKey: string;
|
|
54
|
-
|
|
53
|
+
pagination: false | Partial<PlusPaginationProps>;
|
|
55
54
|
stripe: boolean;
|
|
55
|
+
border: boolean;
|
|
56
|
+
actionBar: false | Partial< ActionBarProps>;
|
|
56
57
|
scrollbarAlwaysOn: boolean;
|
|
57
58
|
titleBar: boolean | {
|
|
58
59
|
title?: string;
|
|
@@ -60,7 +61,6 @@ declare const __VLS_component: DefineComponent<unknown, {
|
|
|
60
61
|
};
|
|
61
62
|
defaultSize: ComponentSize;
|
|
62
63
|
tableData: RecordType[];
|
|
63
|
-
pagination: false | Partial<PlusPaginationProps>;
|
|
64
64
|
hasIndexColumn: boolean;
|
|
65
65
|
isSelection: boolean;
|
|
66
66
|
loadingStatus: boolean;
|
|
@@ -12,8 +12,8 @@ declare const __VLS_component: DefineComponent<unknown, {}, {}, {}, {}, Componen
|
|
|
12
12
|
"onCopy-content"?: (() => any) | undefined;
|
|
13
13
|
"onCopy-identifiers"?: (() => any) | undefined;
|
|
14
14
|
}>, {
|
|
15
|
-
status: string;
|
|
16
15
|
compact: boolean;
|
|
16
|
+
status: string;
|
|
17
17
|
senderName: string;
|
|
18
18
|
metrics: YcChatMetricItem[];
|
|
19
19
|
identifiers: YcChatIdentifierItem[];
|
|
@@ -9,8 +9,8 @@ declare const _default: DefineComponent<unknown, {}, {}, {}, {}, ComponentOption
|
|
|
9
9
|
url: string;
|
|
10
10
|
uid: string;
|
|
11
11
|
variant: "composer" | "artifact";
|
|
12
|
-
fileSize: number;
|
|
13
12
|
mimeType: string;
|
|
13
|
+
fileSize: number;
|
|
14
14
|
removable: boolean;
|
|
15
15
|
downloadable: boolean;
|
|
16
16
|
downloading: boolean;
|
|
@@ -16,8 +16,8 @@ declare const __VLS_component: DefineComponent<unknown, {
|
|
|
16
16
|
onRefresh?: (() => any) | undefined;
|
|
17
17
|
onCreate?: (() => any) | undefined;
|
|
18
18
|
}>, {
|
|
19
|
-
status: YcChatConnectionStatus;
|
|
20
19
|
caption: string;
|
|
20
|
+
status: YcChatConnectionStatus;
|
|
21
21
|
connected: boolean;
|
|
22
22
|
agentName: string;
|
|
23
23
|
statusLabel: string;
|
|
@@ -8,17 +8,17 @@ declare const _default: DefineComponent<unknown, {}, {}, {}, {}, ComponentOption
|
|
|
8
8
|
onChange?: ((value: string) => any) | undefined;
|
|
9
9
|
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
10
10
|
}>, {
|
|
11
|
+
disabled: boolean;
|
|
12
|
+
modelValue: string;
|
|
13
|
+
searchable: boolean;
|
|
14
|
+
searchPlaceholder: string;
|
|
15
|
+
placeholder: string;
|
|
11
16
|
loading: boolean;
|
|
12
17
|
emptyText: string;
|
|
13
18
|
options: YcChatSelectOption[];
|
|
14
19
|
prefix: string;
|
|
15
|
-
disabled: boolean;
|
|
16
|
-
placeholder: string;
|
|
17
|
-
modelValue: string;
|
|
18
20
|
ariaLabel: string;
|
|
19
21
|
clearable: boolean;
|
|
20
22
|
variant: "field" | "chip";
|
|
21
|
-
searchable: boolean;
|
|
22
|
-
searchPlaceholder: string;
|
|
23
23
|
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
24
24
|
export default _default;
|
|
@@ -19,8 +19,8 @@ declare const __VLS_component: DefineComponent<unknown, {}, {}, {}, {}, Componen
|
|
|
19
19
|
"onUpload-files"?: ((files: File[]) => any) | undefined;
|
|
20
20
|
}>, {
|
|
21
21
|
disabled: boolean;
|
|
22
|
-
placeholder: string;
|
|
23
22
|
modelValue: string;
|
|
23
|
+
placeholder: string;
|
|
24
24
|
viewport: YcChatViewportMode;
|
|
25
25
|
thinking: boolean;
|
|
26
26
|
sending: boolean;
|
|
@@ -18,23 +18,23 @@ declare const __VLS_component: DefineComponent<unknown, {}, {}, {}, {}, Componen
|
|
|
18
18
|
"load-more": () => void;
|
|
19
19
|
}, string, PublicProps, Readonly<unknown> & Readonly<{
|
|
20
20
|
onSelect?: ((id: string) => any) | undefined;
|
|
21
|
-
onDelete?: ((id: string) => any) | undefined;
|
|
22
|
-
"onLoad-more"?: (() => any) | undefined;
|
|
23
21
|
onAction?: ((payload: {
|
|
24
22
|
action: YcChatSessionAction;
|
|
25
23
|
id: string;
|
|
26
24
|
}) => any) | undefined;
|
|
25
|
+
onDelete?: ((id: string) => any) | undefined;
|
|
26
|
+
"onLoad-more"?: (() => any) | undefined;
|
|
27
27
|
onArchive?: ((id: string) => any) | undefined;
|
|
28
28
|
onShare?: ((id: string) => any) | undefined;
|
|
29
29
|
onUnarchive?: ((id: string) => any) | undefined;
|
|
30
30
|
onCreate?: (() => any) | undefined;
|
|
31
31
|
}>, {
|
|
32
|
+
createText: string;
|
|
32
33
|
title: string;
|
|
34
|
+
searchPlaceholder: string;
|
|
33
35
|
loading: boolean;
|
|
34
36
|
emptyText: string;
|
|
35
|
-
createText: string;
|
|
36
37
|
hasMore: boolean;
|
|
37
|
-
searchPlaceholder: string;
|
|
38
38
|
connected: boolean;
|
|
39
39
|
sessions: YcChatSessionItem[];
|
|
40
40
|
activeId: string;
|
|
@@ -29,8 +29,8 @@ declare const __VLS_component: DefineComponent<unknown, {
|
|
|
29
29
|
"onUpdate:deviceId"?: ((value: string) => any) | undefined;
|
|
30
30
|
"onUpdate:sidebarWidth"?: ((value: number) => any) | undefined;
|
|
31
31
|
}>, {
|
|
32
|
-
status: YcChatConnectionStatus;
|
|
33
32
|
caption: string;
|
|
33
|
+
status: YcChatConnectionStatus;
|
|
34
34
|
accentColor: string;
|
|
35
35
|
connected: boolean;
|
|
36
36
|
agentName: string;
|
|
@@ -8,9 +8,9 @@ declare const _default: DefineComponent<unknown, {}, {}, {}, {}, ComponentOption
|
|
|
8
8
|
onChange?: ((value: string | number | (string | number)[]) => any) | undefined;
|
|
9
9
|
"onUpdate:modelValue"?: ((value: string | number | (string | number)[]) => any) | undefined;
|
|
10
10
|
}>, {
|
|
11
|
-
options: YcChoiceCardOption<string | number>[];
|
|
12
|
-
multiple: boolean;
|
|
13
11
|
disabled: boolean;
|
|
14
12
|
columns: 1 | 2 | 3;
|
|
13
|
+
multiple: boolean;
|
|
14
|
+
options: YcChoiceCardOption<string | number>[];
|
|
15
15
|
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
16
16
|
export default _default;
|
|
@@ -8,9 +8,9 @@ declare const _default: DefineComponent<unknown, {}, {}, {}, {}, ComponentOption
|
|
|
8
8
|
onChange?: ((value: string | number) => any) | undefined;
|
|
9
9
|
"onUpdate:modelValue"?: ((value: string | number) => any) | undefined;
|
|
10
10
|
}>, {
|
|
11
|
-
options: YcSegmentedOption<string | number>[];
|
|
12
11
|
disabled: boolean;
|
|
13
12
|
size: "small" | "default" | "large";
|
|
14
13
|
block: boolean;
|
|
14
|
+
options: YcSegmentedOption<string | number>[];
|
|
15
15
|
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
16
16
|
export default _default;
|
|
@@ -37,15 +37,15 @@ declare const __VLS_component: DefineComponent<unknown, {
|
|
|
37
37
|
}) => any) | undefined;
|
|
38
38
|
"onUpdate:selection"?: ((val: any[]) => any) | undefined;
|
|
39
39
|
}>, {
|
|
40
|
-
data: any[];
|
|
41
|
-
emptyText: string;
|
|
42
40
|
caption: string;
|
|
43
|
-
|
|
41
|
+
data: any[];
|
|
44
42
|
selectable: boolean;
|
|
45
|
-
|
|
43
|
+
columns: TableColumn[];
|
|
46
44
|
rowKey: string;
|
|
47
|
-
|
|
45
|
+
emptyText: string;
|
|
48
46
|
selection: any[];
|
|
47
|
+
striped: boolean;
|
|
48
|
+
density: TableDensity;
|
|
49
49
|
variant: TableVariant;
|
|
50
50
|
hoverable: boolean;
|
|
51
51
|
bordered: boolean;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
|
2
|
-
import {
|
|
2
|
+
import { TableSortOrder, TableAlign } from './type';
|
|
3
3
|
declare function __VLS_template(): {
|
|
4
4
|
default?(_: {}): any;
|
|
5
5
|
};
|
|
@@ -8,9 +8,9 @@ declare const __VLS_component: DefineComponent<unknown, {}, {}, {}, {}, Componen
|
|
|
8
8
|
}, string, PublicProps, Readonly<unknown> & Readonly<{
|
|
9
9
|
onSort?: ((order: "ascending" | "descending" | null) => any) | undefined;
|
|
10
10
|
}>, {
|
|
11
|
-
align: TableAlign;
|
|
12
|
-
sortable: boolean;
|
|
13
11
|
sortOrder: TableSortOrder;
|
|
12
|
+
sortable: boolean;
|
|
13
|
+
align: TableAlign;
|
|
14
14
|
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
15
15
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
|
|
16
16
|
export default _default;
|
|
@@ -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 } from './src/types';
|
|
3
|
+
import { DisplaySummaryItem, DisplayTableColumn, DisplayMetricItem, DisplayDetailStatus, DisplayDetailField, DisplayFormAttachment, DisplayFormField, DisplayFormActionRequest, DisplayFormActionResult } from './src/types';
|
|
4
4
|
export declare const YcDisplayTableCard: SFCWithInstall<DefineComponent<unknown, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<unknown> & Readonly<{}>, {
|
|
5
|
-
title: string;
|
|
6
5
|
summary: DisplaySummaryItem[];
|
|
6
|
+
title: string;
|
|
7
7
|
columns: DisplayTableColumn[];
|
|
8
8
|
rows: Record<string, unknown>[];
|
|
9
9
|
maxRows: number;
|
|
@@ -21,4 +21,22 @@ export declare const YcDisplayDetailCard: SFCWithInstall<DefineComponent<unknown
|
|
|
21
21
|
subtitle: string;
|
|
22
22
|
note: string;
|
|
23
23
|
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>>;
|
|
24
|
+
export declare const YcDisplayFormCard: SFCWithInstall<DefineComponent<unknown, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
25
|
+
action: (text: string, attachments?: DisplayFormAttachment[] | undefined) => void;
|
|
26
|
+
}, string, PublicProps, Readonly<unknown> & Readonly<{
|
|
27
|
+
onAction?: ((text: string, attachments?: DisplayFormAttachment[] | undefined) => any) | undefined;
|
|
28
|
+
}>, {
|
|
29
|
+
values: Record<string, unknown>;
|
|
30
|
+
title: string;
|
|
31
|
+
mode: "query" | "submit" | "reply";
|
|
32
|
+
compact: boolean;
|
|
33
|
+
fields: DisplayFormField[];
|
|
34
|
+
subtitle: string;
|
|
35
|
+
operation: string;
|
|
36
|
+
submitLabel: string;
|
|
37
|
+
replyPrefix: string;
|
|
38
|
+
skillName: string;
|
|
39
|
+
executeAction: (req: DisplayFormActionRequest) => Promise< DisplayFormActionResult>;
|
|
40
|
+
uploadFile: (file: File) => Promise< DisplayFormAttachment>;
|
|
41
|
+
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>>;
|
|
24
42
|
export type * from './src/types';
|