yc-agent-ui 1.2.0 → 1.2.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/README.md +26 -5
- package/es/components/chart/src/chart-card.vue.d.ts +56 -10
- package/es/components/chart/src/chart-container.vue.d.ts +11 -1
- package/es/components/chart/src/theme.d.ts +1 -1
- package/es/components/dialog-form/index.d.ts +4 -4
- package/es/components/dialog-form/src/index.vue.d.ts +4 -4
- package/es/components/display-item/index.d.ts +15 -15
- package/es/components/display-item/src/index.vue.d.ts +13 -13
- package/es/components/drawer-form/index.d.ts +4 -4
- package/es/components/drawer-form/src/index.vue.d.ts +4 -4
- package/es/components/form/index.d.ts +8 -8
- package/es/components/form/src/form-content.vue.d.ts +8 -8
- package/es/components/form/src/index.vue.d.ts +8 -8
- package/es/components/form-item/index.d.ts +6 -6
- package/es/components/form-item/src/index.vue.d.ts +6 -6
- package/es/components/page/index.d.ts +172 -172
- package/es/components/page/src/index.vue.d.ts +60 -60
- package/es/components/search/index.d.ts +52 -52
- package/es/components/search/src/index.vue.d.ts +20 -20
- package/es/components/table/src/table-column.vue.d.ts +34 -34
- package/es/components/yc-ai-chat/index.d.ts +1 -0
- package/es/components/yc-ai-chat/src/bubble.vue.d.ts +2 -0
- package/es/components/yc-ai-chat/src/mobile-frame.vue.d.ts +2 -0
- package/es/components/yc-ai-chat/src/select.vue.d.ts +1 -0
- package/es/components/yc-ai-chat/src/sender.vue.d.ts +1 -0
- package/es/components/yc-ai-chat/src/sidebar.vue.d.ts +15 -1
- package/es/components/yc-ai-chat/src/studio.vue.d.ts +5 -1
- package/es/components/yc-ai-chat/src/welcome.vue.d.ts +11 -1
- package/es/components/yc-plus-page/src/index.vue.d.ts +176 -176
- package/es/hooks/usePlusFormReset.d.ts +48 -48
- package/es/index.css +9 -9
- package/es/index.mjs +1 -0
- package/es/packages/components/chart/src/chart-card2.vue.mjs +9 -2
- package/es/packages/components/chart/src/chart-container2.vue.mjs +13 -1
- package/es/packages/components/chart/src/theme.mjs +18 -10
- package/es/packages/components/data-table/capability.mjs +1 -1
- package/es/packages/components/index.mjs +1 -0
- package/es/packages/components/yc-ai-chat/index.mjs +1 -0
- package/es/packages/components/yc-ai-chat/src/bubble2.vue.mjs +24 -15
- package/es/packages/components/yc-ai-chat/src/mobile-frame2.vue.mjs +34 -31
- package/es/packages/components/yc-ai-chat/src/presets.mjs +1 -1
- package/es/packages/components/yc-ai-chat/src/select2.vue.mjs +9 -4
- package/es/packages/components/yc-ai-chat/src/sender2.vue.mjs +20 -17
- package/es/packages/components/yc-ai-chat/src/sidebar2.vue.mjs +89 -56
- package/es/packages/components/yc-ai-chat/src/studio2.vue.mjs +304 -119
- package/es/packages/components/yc-ai-chat/src/welcome2.vue.mjs +22 -40
- package/es/packages/components/yc-gradient-card/capability.mjs +8 -8
- package/es/packages/components/yc-input/src/stepper-input2.vue.mjs +48 -24
- package/es/packages/registry/types.mjs +1 -1
- package/es/registry/types.d.ts +1 -1
- package/es/version.d.ts +1 -1
- package/es/version.mjs +1 -1
- package/index.css +1 -1
- package/index.js +4093 -824
- package/index.min.js +42 -39
- package/index.min.mjs +39 -36
- package/index.mjs +4169 -910
- package/lib/components/chart/src/chart-card.vue.d.ts +56 -10
- package/lib/components/chart/src/chart-container.vue.d.ts +11 -1
- package/lib/components/chart/src/theme.d.ts +1 -1
- package/lib/components/dialog-form/index.d.ts +4 -4
- package/lib/components/dialog-form/src/index.vue.d.ts +4 -4
- package/lib/components/display-item/index.d.ts +15 -15
- package/lib/components/display-item/src/index.vue.d.ts +13 -13
- package/lib/components/drawer-form/index.d.ts +4 -4
- package/lib/components/drawer-form/src/index.vue.d.ts +4 -4
- package/lib/components/form/index.d.ts +8 -8
- package/lib/components/form/src/form-content.vue.d.ts +8 -8
- package/lib/components/form/src/index.vue.d.ts +8 -8
- package/lib/components/form-item/index.d.ts +6 -6
- package/lib/components/form-item/src/index.vue.d.ts +6 -6
- package/lib/components/page/index.d.ts +172 -172
- package/lib/components/page/src/index.vue.d.ts +60 -60
- package/lib/components/search/index.d.ts +52 -52
- package/lib/components/search/src/index.vue.d.ts +20 -20
- package/lib/components/table/src/table-column.vue.d.ts +34 -34
- package/lib/components/yc-ai-chat/index.d.ts +1 -0
- package/lib/components/yc-ai-chat/src/bubble.vue.d.ts +2 -0
- package/lib/components/yc-ai-chat/src/mobile-frame.vue.d.ts +2 -0
- package/lib/components/yc-ai-chat/src/select.vue.d.ts +1 -0
- package/lib/components/yc-ai-chat/src/sender.vue.d.ts +1 -0
- package/lib/components/yc-ai-chat/src/sidebar.vue.d.ts +15 -1
- package/lib/components/yc-ai-chat/src/studio.vue.d.ts +5 -1
- package/lib/components/yc-ai-chat/src/welcome.vue.d.ts +11 -1
- package/lib/components/yc-plus-page/src/index.vue.d.ts +176 -176
- package/lib/hooks/usePlusFormReset.d.ts +48 -48
- package/lib/index.css +11 -11
- package/lib/index.js +41 -0
- package/lib/packages/components/chart/src/chart-card2.vue.js +9 -2
- package/lib/packages/components/chart/src/chart-container2.vue.js +13 -1
- package/lib/packages/components/chart/src/theme.js +18 -10
- package/lib/packages/components/data-table/capability.js +1 -1
- package/lib/packages/components/index.js +41 -0
- package/lib/packages/components/yc-ai-chat/index.js +41 -0
- package/lib/packages/components/yc-ai-chat/src/bubble2.vue.js +24 -15
- package/lib/packages/components/yc-ai-chat/src/mobile-frame2.vue.js +34 -31
- package/lib/packages/components/yc-ai-chat/src/presets.js +1 -1
- package/lib/packages/components/yc-ai-chat/src/select2.vue.js +9 -4
- package/lib/packages/components/yc-ai-chat/src/sender2.vue.js +20 -17
- package/lib/packages/components/yc-ai-chat/src/sidebar2.vue.js +88 -55
- package/lib/packages/components/yc-ai-chat/src/studio2.vue.js +303 -118
- package/lib/packages/components/yc-ai-chat/src/welcome2.vue.js +21 -39
- package/lib/packages/components/yc-gradient-card/capability.js +8 -8
- package/lib/packages/components/yc-input/src/stepper-input2.vue.js +47 -23
- package/lib/packages/registry/types.js +1 -1
- package/lib/registry/types.d.ts +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 +1 -1
- package/theme-chalk/plus-search.css +1 -1
- package/theme-chalk/plus-yc-ai-chat.css +1 -1
- package/theme-chalk/plus-yc-data-table.css +1 -1
- package/theme-chalk/plus-yc-property-table.css +1 -1
- package/theme-chalk/src/search.scss +93 -3
- package/theme-chalk/src/yc-ai-chat.scss +785 -18
- package/theme-chalk/src/yc-data-table.scss +57 -42
- package/theme-chalk/src/yc-property-table.scss +35 -14
|
@@ -162,8 +162,8 @@ declare const __VLS_component: DefineComponent<unknown, {
|
|
|
162
162
|
column: PlusColumn;
|
|
163
163
|
row: RecordType;
|
|
164
164
|
index: number;
|
|
165
|
-
formProps: PlusFormProps;
|
|
166
165
|
rest: RecordType;
|
|
166
|
+
formProps: PlusFormProps;
|
|
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" | "rest" | "formProps" | "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
|
-
formProps: PlusFormProps;
|
|
219
218
|
rest: RecordType;
|
|
219
|
+
formProps: PlusFormProps;
|
|
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
|
-
formProps: PlusFormProps;
|
|
246
245
|
rest: RecordType;
|
|
246
|
+
formProps: PlusFormProps;
|
|
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" | "rest" | "formProps" | "editable")> & {
|
|
255
255
|
startCellEdit: () => void;
|
|
256
256
|
stopCellEdit: () => void;
|
|
257
257
|
getDisplayItemInstance: () => {
|
|
@@ -270,10 +270,10 @@ declare const __VLS_component: DefineComponent<unknown, {
|
|
|
270
270
|
readonly label: string | ComputedRef<string>;
|
|
271
271
|
readonly modelValue: string | number | boolean | string[] | number[] | [string, string] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
272
272
|
readonly hasLabel: boolean | Ref<boolean, boolean> | ComputedRef<boolean>;
|
|
273
|
-
readonly tooltip: string |
|
|
273
|
+
readonly tooltip: string | Partial< Mutable<UseTooltipProps> & {
|
|
274
274
|
style?: CSSProperties;
|
|
275
275
|
class?: any;
|
|
276
|
-
} & RecordType> | ComputedRef<Partial< Mutable<UseTooltipProps> & {
|
|
276
|
+
} & RecordType> | ComputedRef<string> | ComputedRef<Partial< Mutable<UseTooltipProps> & {
|
|
277
277
|
style?: CSSProperties;
|
|
278
278
|
class?: any;
|
|
279
279
|
} & RecordType>>;
|
|
@@ -344,10 +344,10 @@ declare const __VLS_component: DefineComponent<unknown, {
|
|
|
344
344
|
prop: PlusColumn["prop"];
|
|
345
345
|
modelValue: string | number | boolean | string[] | number[] | [string, string] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
346
346
|
hasLabel: boolean | Ref<boolean, boolean> | ComputedRef<boolean>;
|
|
347
|
-
tooltip: string |
|
|
347
|
+
tooltip: string | Partial< Mutable<UseTooltipProps> & {
|
|
348
348
|
style?: CSSProperties;
|
|
349
349
|
class?: any;
|
|
350
|
-
} & RecordType> | ComputedRef<Partial< Mutable<UseTooltipProps> & {
|
|
350
|
+
} & RecordType> | ComputedRef<string> | ComputedRef<Partial< Mutable<UseTooltipProps> & {
|
|
351
351
|
style?: CSSProperties;
|
|
352
352
|
class?: any;
|
|
353
353
|
} & RecordType>>;
|
|
@@ -383,10 +383,10 @@ declare const __VLS_component: DefineComponent<unknown, {
|
|
|
383
383
|
readonly label: string | ComputedRef<string>;
|
|
384
384
|
readonly modelValue: string | number | boolean | string[] | number[] | [string, string] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
385
385
|
readonly hasLabel: boolean | Ref<boolean, boolean> | ComputedRef<boolean>;
|
|
386
|
-
readonly tooltip: string |
|
|
386
|
+
readonly tooltip: string | Partial< Mutable<UseTooltipProps> & {
|
|
387
387
|
style?: CSSProperties;
|
|
388
388
|
class?: any;
|
|
389
|
-
} & RecordType> | ComputedRef<Partial< Mutable<UseTooltipProps> & {
|
|
389
|
+
} & RecordType> | ComputedRef<string> | ComputedRef<Partial< Mutable<UseTooltipProps> & {
|
|
390
390
|
style?: CSSProperties;
|
|
391
391
|
class?: any;
|
|
392
392
|
} & RecordType>>;
|
|
@@ -457,10 +457,10 @@ declare const __VLS_component: DefineComponent<unknown, {
|
|
|
457
457
|
prop: PlusColumn["prop"];
|
|
458
458
|
modelValue: string | number | boolean | string[] | number[] | [string, string] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
459
459
|
hasLabel: boolean | Ref<boolean, boolean> | ComputedRef<boolean>;
|
|
460
|
-
tooltip: string |
|
|
460
|
+
tooltip: string | Partial< Mutable<UseTooltipProps> & {
|
|
461
461
|
style?: CSSProperties;
|
|
462
462
|
class?: any;
|
|
463
|
-
} & RecordType> | ComputedRef<Partial< Mutable<UseTooltipProps> & {
|
|
463
|
+
} & RecordType> | ComputedRef<string> | ComputedRef<Partial< Mutable<UseTooltipProps> & {
|
|
464
464
|
style?: CSSProperties;
|
|
465
465
|
class?: any;
|
|
466
466
|
} & RecordType>>;
|
|
@@ -496,10 +496,10 @@ declare const __VLS_component: DefineComponent<unknown, {
|
|
|
496
496
|
readonly label: string | ComputedRef<string>;
|
|
497
497
|
readonly modelValue: string | number | boolean | string[] | number[] | [string, string] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
498
498
|
readonly hasLabel: boolean | Ref<boolean, boolean> | ComputedRef<boolean>;
|
|
499
|
-
readonly tooltip: string |
|
|
499
|
+
readonly tooltip: string | Partial< Mutable<UseTooltipProps> & {
|
|
500
500
|
style?: CSSProperties;
|
|
501
501
|
class?: any;
|
|
502
|
-
} & RecordType> | ComputedRef<Partial< Mutable<UseTooltipProps> & {
|
|
502
|
+
} & RecordType> | ComputedRef<string> | ComputedRef<Partial< Mutable<UseTooltipProps> & {
|
|
503
503
|
style?: CSSProperties;
|
|
504
504
|
class?: any;
|
|
505
505
|
} & RecordType>>;
|
|
@@ -570,10 +570,10 @@ declare const __VLS_component: DefineComponent<unknown, {
|
|
|
570
570
|
prop: PlusColumn["prop"];
|
|
571
571
|
modelValue: string | number | boolean | string[] | number[] | [string, string] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
572
572
|
hasLabel: boolean | Ref<boolean, boolean> | ComputedRef<boolean>;
|
|
573
|
-
tooltip: string |
|
|
573
|
+
tooltip: string | Partial< Mutable<UseTooltipProps> & {
|
|
574
574
|
style?: CSSProperties;
|
|
575
575
|
class?: any;
|
|
576
|
-
} & RecordType> | ComputedRef<Partial< Mutable<UseTooltipProps> & {
|
|
576
|
+
} & RecordType> | ComputedRef<string> | 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
|
-
formProps: PlusFormProps;
|
|
626
625
|
rest: RecordType;
|
|
626
|
+
formProps: PlusFormProps;
|
|
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" | "rest" | "formProps" | "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
|
-
formProps: PlusFormProps;
|
|
679
678
|
rest: RecordType;
|
|
679
|
+
formProps: PlusFormProps;
|
|
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
|
-
formProps: PlusFormProps;
|
|
706
705
|
rest: RecordType;
|
|
706
|
+
formProps: PlusFormProps;
|
|
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" | "rest" | "formProps" | "editable")> & {
|
|
715
715
|
startCellEdit: () => void;
|
|
716
716
|
stopCellEdit: () => void;
|
|
717
717
|
getDisplayItemInstance: () => {
|
|
@@ -730,10 +730,10 @@ declare const __VLS_component: DefineComponent<unknown, {
|
|
|
730
730
|
readonly label: string | ComputedRef<string>;
|
|
731
731
|
readonly modelValue: string | number | boolean | string[] | number[] | [string, string] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
732
732
|
readonly hasLabel: boolean | Ref<boolean, boolean> | ComputedRef<boolean>;
|
|
733
|
-
readonly tooltip: string |
|
|
733
|
+
readonly tooltip: string | Partial< Mutable<UseTooltipProps> & {
|
|
734
734
|
style?: CSSProperties;
|
|
735
735
|
class?: any;
|
|
736
|
-
} & RecordType> | ComputedRef<Partial< Mutable<UseTooltipProps> & {
|
|
736
|
+
} & RecordType> | ComputedRef<string> | ComputedRef<Partial< Mutable<UseTooltipProps> & {
|
|
737
737
|
style?: CSSProperties;
|
|
738
738
|
class?: any;
|
|
739
739
|
} & RecordType>>;
|
|
@@ -804,10 +804,10 @@ declare const __VLS_component: DefineComponent<unknown, {
|
|
|
804
804
|
prop: PlusColumn["prop"];
|
|
805
805
|
modelValue: string | number | boolean | string[] | number[] | [string, string] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
806
806
|
hasLabel: boolean | Ref<boolean, boolean> | ComputedRef<boolean>;
|
|
807
|
-
tooltip: string |
|
|
807
|
+
tooltip: string | Partial< Mutable<UseTooltipProps> & {
|
|
808
808
|
style?: CSSProperties;
|
|
809
809
|
class?: any;
|
|
810
|
-
} & RecordType> | ComputedRef<Partial< Mutable<UseTooltipProps> & {
|
|
810
|
+
} & RecordType> | ComputedRef<string> | ComputedRef<Partial< Mutable<UseTooltipProps> & {
|
|
811
811
|
style?: CSSProperties;
|
|
812
812
|
class?: any;
|
|
813
813
|
} & RecordType>>;
|
|
@@ -843,10 +843,10 @@ declare const __VLS_component: DefineComponent<unknown, {
|
|
|
843
843
|
readonly label: string | ComputedRef<string>;
|
|
844
844
|
readonly modelValue: string | number | boolean | string[] | number[] | [string, string] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
845
845
|
readonly hasLabel: boolean | Ref<boolean, boolean> | ComputedRef<boolean>;
|
|
846
|
-
readonly tooltip: string |
|
|
846
|
+
readonly tooltip: string | Partial< Mutable<UseTooltipProps> & {
|
|
847
847
|
style?: CSSProperties;
|
|
848
848
|
class?: any;
|
|
849
|
-
} & RecordType> | ComputedRef<Partial< Mutable<UseTooltipProps> & {
|
|
849
|
+
} & RecordType> | ComputedRef<string> | ComputedRef<Partial< Mutable<UseTooltipProps> & {
|
|
850
850
|
style?: CSSProperties;
|
|
851
851
|
class?: any;
|
|
852
852
|
} & RecordType>>;
|
|
@@ -917,10 +917,10 @@ declare const __VLS_component: DefineComponent<unknown, {
|
|
|
917
917
|
prop: PlusColumn["prop"];
|
|
918
918
|
modelValue: string | number | boolean | string[] | number[] | [string, string] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
919
919
|
hasLabel: boolean | Ref<boolean, boolean> | ComputedRef<boolean>;
|
|
920
|
-
tooltip: string |
|
|
920
|
+
tooltip: string | Partial< Mutable<UseTooltipProps> & {
|
|
921
921
|
style?: CSSProperties;
|
|
922
922
|
class?: any;
|
|
923
|
-
} & RecordType> | ComputedRef<Partial< Mutable<UseTooltipProps> & {
|
|
923
|
+
} & RecordType> | ComputedRef<string> | ComputedRef<Partial< Mutable<UseTooltipProps> & {
|
|
924
924
|
style?: CSSProperties;
|
|
925
925
|
class?: any;
|
|
926
926
|
} & RecordType>>;
|
|
@@ -956,10 +956,10 @@ declare const __VLS_component: DefineComponent<unknown, {
|
|
|
956
956
|
readonly label: string | ComputedRef<string>;
|
|
957
957
|
readonly modelValue: string | number | boolean | string[] | number[] | [string, string] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
958
958
|
readonly hasLabel: boolean | Ref<boolean, boolean> | ComputedRef<boolean>;
|
|
959
|
-
readonly tooltip: string |
|
|
959
|
+
readonly tooltip: string | Partial< Mutable<UseTooltipProps> & {
|
|
960
960
|
style?: CSSProperties;
|
|
961
961
|
class?: any;
|
|
962
|
-
} & RecordType> | ComputedRef<Partial< Mutable<UseTooltipProps> & {
|
|
962
|
+
} & RecordType> | ComputedRef<string> | ComputedRef<Partial< Mutable<UseTooltipProps> & {
|
|
963
963
|
style?: CSSProperties;
|
|
964
964
|
class?: any;
|
|
965
965
|
} & RecordType>>;
|
|
@@ -1030,10 +1030,10 @@ declare const __VLS_component: DefineComponent<unknown, {
|
|
|
1030
1030
|
prop: PlusColumn["prop"];
|
|
1031
1031
|
modelValue: string | number | boolean | string[] | number[] | [string, string] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
1032
1032
|
hasLabel: boolean | Ref<boolean, boolean> | ComputedRef<boolean>;
|
|
1033
|
-
tooltip: string |
|
|
1033
|
+
tooltip: string | Partial< Mutable<UseTooltipProps> & {
|
|
1034
1034
|
style?: CSSProperties;
|
|
1035
1035
|
class?: any;
|
|
1036
|
-
} & RecordType> | ComputedRef<Partial< Mutable<UseTooltipProps> & {
|
|
1036
|
+
} & RecordType> | ComputedRef<string> | ComputedRef<Partial< Mutable<UseTooltipProps> & {
|
|
1037
1037
|
style?: CSSProperties;
|
|
1038
1038
|
class?: any;
|
|
1039
1039
|
} & RecordType>>;
|
|
@@ -10,5 +10,6 @@ import { default as YcMobileDeviceFrame } from './src/mobile-frame.vue';
|
|
|
10
10
|
|
|
11
11
|
export * from './src/type';
|
|
12
12
|
export * from './src/presets';
|
|
13
|
+
export { Attachments, Bubble, BubbleList, Conversations, FilesCard, Prompts, Thinking, ThoughtChain, Welcome, XSender } from 'vue-element-plus-x';
|
|
13
14
|
export { YcChatStudio, YcChatSidebar, YcChatWelcome, YcChatBubble, YcChatThinking, YcChatFileCard, YcChatSender, YcChatSelect, YcMobileDeviceFrame };
|
|
14
15
|
export default YcChatStudio;
|
|
@@ -2,6 +2,7 @@ import { YcChatIdentifierItem, YcChatMetricItem } from './type';
|
|
|
2
2
|
import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
|
3
3
|
|
|
4
4
|
declare function __VLS_template(): {
|
|
5
|
+
avatar?(_: {}): any;
|
|
5
6
|
default?(_: {}): any;
|
|
6
7
|
};
|
|
7
8
|
declare const __VLS_component: DefineComponent<unknown, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
@@ -16,6 +17,7 @@ declare const __VLS_component: DefineComponent<unknown, {}, {}, {}, {}, Componen
|
|
|
16
17
|
senderName: string;
|
|
17
18
|
metrics: YcChatMetricItem[];
|
|
18
19
|
identifiers: YcChatIdentifierItem[];
|
|
20
|
+
identifiersTitle: string;
|
|
19
21
|
canCopyContent: boolean;
|
|
20
22
|
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
21
23
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
|
|
@@ -17,10 +17,12 @@ declare const __VLS_component: DefineComponent<unknown, {
|
|
|
17
17
|
onCreate?: (() => any) | undefined;
|
|
18
18
|
}>, {
|
|
19
19
|
status: YcChatConnectionStatus;
|
|
20
|
+
caption: string;
|
|
20
21
|
connected: boolean;
|
|
21
22
|
agentName: string;
|
|
22
23
|
statusLabel: string;
|
|
23
24
|
sessionCount: number;
|
|
25
|
+
drawerTitle: string;
|
|
24
26
|
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
25
27
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
|
|
26
28
|
export default _default;
|
|
@@ -19,5 +19,6 @@ declare const _default: DefineComponent<unknown, {}, {}, {}, {}, ComponentOption
|
|
|
19
19
|
searchPlaceholder: string;
|
|
20
20
|
ariaLabel: string;
|
|
21
21
|
clearable: boolean;
|
|
22
|
+
variant: "field" | "chip";
|
|
22
23
|
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
23
24
|
export default _default;
|
|
@@ -1,7 +1,10 @@
|
|
|
1
1
|
import { YcChatSessionItem } from './type';
|
|
2
2
|
import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
|
3
3
|
|
|
4
|
-
declare
|
|
4
|
+
declare function __VLS_template(): {
|
|
5
|
+
icon?(_: {}): any;
|
|
6
|
+
};
|
|
7
|
+
declare const __VLS_component: DefineComponent<unknown, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
5
8
|
select: (id: string) => void;
|
|
6
9
|
create: () => void;
|
|
7
10
|
delete: (id: string) => void;
|
|
@@ -14,10 +17,21 @@ declare const _default: DefineComponent<unknown, {}, {}, {}, {}, ComponentOption
|
|
|
14
17
|
}>, {
|
|
15
18
|
title: string;
|
|
16
19
|
loading: boolean;
|
|
20
|
+
emptyText: string;
|
|
17
21
|
createText: string;
|
|
22
|
+
searchPlaceholder: string;
|
|
18
23
|
hasMore: boolean;
|
|
19
24
|
connected: boolean;
|
|
20
25
|
sessions: YcChatSessionItem[];
|
|
21
26
|
activeId: string;
|
|
27
|
+
disconnectedText: string;
|
|
28
|
+
noResultText: string;
|
|
29
|
+
untitledText: string;
|
|
22
30
|
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
31
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
|
|
23
32
|
export default _default;
|
|
33
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
34
|
+
new (): {
|
|
35
|
+
$slots: S;
|
|
36
|
+
};
|
|
37
|
+
};
|
|
@@ -7,6 +7,7 @@ declare function closeMobileDrawer(): void;
|
|
|
7
7
|
declare function __VLS_template(): {
|
|
8
8
|
notice?(_: {}): any;
|
|
9
9
|
toolbar?(_: {}): any;
|
|
10
|
+
status?(_: {}): any;
|
|
10
11
|
sidebar?(_: {}): any;
|
|
11
12
|
messages?(_: {}): any;
|
|
12
13
|
composer?(_: {}): any;
|
|
@@ -27,6 +28,8 @@ declare const __VLS_component: DefineComponent<unknown, {
|
|
|
27
28
|
"onUpdate:deviceId"?: ((value: string) => any) | undefined;
|
|
28
29
|
}>, {
|
|
29
30
|
status: YcChatConnectionStatus;
|
|
31
|
+
caption: string;
|
|
32
|
+
accentColor: string;
|
|
30
33
|
connected: boolean;
|
|
31
34
|
agentName: string;
|
|
32
35
|
statusLabel: string;
|
|
@@ -34,8 +37,9 @@ declare const __VLS_component: DefineComponent<unknown, {
|
|
|
34
37
|
viewport: YcChatViewportMode;
|
|
35
38
|
deviceId: string;
|
|
36
39
|
devices: YcMobileDevicePreset[];
|
|
37
|
-
bannerSubtitle: string;
|
|
38
40
|
refreshing: boolean;
|
|
41
|
+
showViewportSwitch: boolean;
|
|
42
|
+
deviceSimulator: boolean;
|
|
39
43
|
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
40
44
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
|
|
41
45
|
export default _default;
|
|
@@ -1,7 +1,10 @@
|
|
|
1
1
|
import { YcChatPromptItem } from './type';
|
|
2
2
|
import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
|
3
3
|
|
|
4
|
-
declare
|
|
4
|
+
declare function __VLS_template(): {
|
|
5
|
+
logo?(_: {}): any;
|
|
6
|
+
};
|
|
7
|
+
declare const __VLS_component: DefineComponent<unknown, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
|
|
5
8
|
prompt: (prompt: string) => void;
|
|
6
9
|
}, string, PublicProps, Readonly<unknown> & Readonly<{
|
|
7
10
|
onPrompt?: ((prompt: string) => any) | undefined;
|
|
@@ -15,5 +18,12 @@ declare const _default: DefineComponent<unknown, {}, {}, {}, {}, ComponentOption
|
|
|
15
18
|
disconnectedTitle: string;
|
|
16
19
|
disconnectedDescription: string;
|
|
17
20
|
prompts: YcChatPromptItem[];
|
|
21
|
+
promptsTitle: string;
|
|
18
22
|
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
23
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
|
|
19
24
|
export default _default;
|
|
25
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
26
|
+
new (): {
|
|
27
|
+
$slots: S;
|
|
28
|
+
};
|
|
29
|
+
};
|