yc-agent-ui 1.2.3 → 1.2.5

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.
Files changed (156) hide show
  1. package/es/components/descriptions/index.d.ts +3 -3
  2. package/es/components/descriptions/src/index.vue.d.ts +1 -1
  3. package/es/components/dialog/index.d.ts +6 -6
  4. package/es/components/dialog/src/index.vue.d.ts +2 -2
  5. package/es/components/dialog-form/index.d.ts +4 -4
  6. package/es/components/dialog-form/src/index.vue.d.ts +4 -4
  7. package/es/components/display-item/index.d.ts +15 -15
  8. package/es/components/display-item/src/index.vue.d.ts +13 -13
  9. package/es/components/drawer-form/index.d.ts +22 -22
  10. package/es/components/drawer-form/src/index.vue.d.ts +10 -10
  11. package/es/components/form/index.d.ts +43 -43
  12. package/es/components/form/src/form-content.vue.d.ts +15 -15
  13. package/es/components/form/src/index.vue.d.ts +21 -21
  14. package/es/components/form-item/index.d.ts +61 -61
  15. package/es/components/form-item/src/index.vue.d.ts +24 -24
  16. package/es/components/index.d.ts +1 -0
  17. package/es/components/page/index.d.ts +936 -936
  18. package/es/components/page/src/index.vue.d.ts +316 -316
  19. package/es/components/popover/index.d.ts +9 -9
  20. package/es/components/popover/src/index.vue.d.ts +3 -3
  21. package/es/components/search/index.d.ts +282 -282
  22. package/es/components/search/src/index.vue.d.ts +98 -98
  23. package/es/components/table/index.d.ts +9 -9
  24. package/es/components/table/src/index.vue.d.ts +1 -1
  25. package/es/components/table/src/table-column.vue.d.ts +34 -34
  26. package/es/components/utils/index.d.ts +1 -1
  27. package/es/components/yc-ai-chat/index.d.ts +2 -1
  28. package/es/components/yc-ai-chat/src/question-card.vue.d.ts +17 -0
  29. package/es/components/yc-ai-chat/src/question-validation.d.ts +5 -0
  30. package/es/components/yc-ai-chat/src/type.d.ts +51 -0
  31. package/es/components/yc-date-picker/src/date-picker.vue.d.ts +1 -1
  32. package/es/components/yc-display-cards/capability.d.ts +4 -0
  33. package/es/components/yc-display-cards/index.d.ts +24 -0
  34. package/es/components/yc-display-cards/src/detail-card.vue.d.ts +10 -0
  35. package/es/components/yc-display-cards/src/metrics-card.vue.d.ts +8 -0
  36. package/es/components/yc-display-cards/src/table-card.vue.d.ts +12 -0
  37. package/es/components/yc-display-cards/src/types.d.ts +47 -0
  38. package/es/components/yc-input/src/input.vue.d.ts +1 -1
  39. package/es/components/yc-input/src/money-input.vue.d.ts +1 -1
  40. package/es/components/yc-plus-page/src/index.vue.d.ts +946 -946
  41. package/es/components/yc-plus-tree/src/index.vue.d.ts +1 -1
  42. package/es/components/yc-questionnaire/src/index.vue.d.ts +1 -1
  43. package/es/components/yc-status-dialog/src/index.vue.d.ts +1 -1
  44. package/es/hooks/usePlusFormReset.d.ts +132 -132
  45. package/es/index.css +11 -8
  46. package/es/index.mjs +2 -0
  47. package/es/packages/components/index.mjs +2 -0
  48. package/es/packages/components/yc-ai-chat/index.mjs +1 -0
  49. package/es/packages/components/yc-ai-chat/src/question-card.vue.mjs +5 -0
  50. package/es/packages/components/yc-ai-chat/src/question-card2.vue.mjs +613 -0
  51. package/es/packages/components/yc-ai-chat/src/question-validation.mjs +77 -0
  52. package/es/packages/components/yc-display-cards/capability.mjs +75 -0
  53. package/es/packages/components/yc-display-cards/index.mjs +10 -0
  54. package/es/packages/components/yc-display-cards/src/detail-card.vue.mjs +6 -0
  55. package/es/packages/components/yc-display-cards/src/detail-card2.vue.mjs +118 -0
  56. package/es/packages/components/yc-display-cards/src/metrics-card.vue.mjs +6 -0
  57. package/es/packages/components/yc-display-cards/src/metrics-card2.vue.mjs +132 -0
  58. package/es/packages/components/yc-display-cards/src/table-card.vue.mjs +6 -0
  59. package/es/packages/components/yc-display-cards/src/table-card2.vue.mjs +199 -0
  60. package/es/packages/components/yc-display-cards/src/types.mjs +1 -0
  61. package/es/packages/registry/load.mjs +9 -8
  62. package/es/version.d.ts +1 -1
  63. package/es/version.mjs +1 -1
  64. package/index.css +4 -1
  65. package/index.js +2546 -1335
  66. package/index.min.css +3 -0
  67. package/index.min.js +23 -23
  68. package/index.min.mjs +23 -23
  69. package/index.mjs +2535 -1328
  70. package/lib/components/descriptions/index.d.ts +3 -3
  71. package/lib/components/descriptions/src/index.vue.d.ts +1 -1
  72. package/lib/components/dialog/index.d.ts +6 -6
  73. package/lib/components/dialog/src/index.vue.d.ts +2 -2
  74. package/lib/components/dialog-form/index.d.ts +4 -4
  75. package/lib/components/dialog-form/src/index.vue.d.ts +4 -4
  76. package/lib/components/display-item/index.d.ts +15 -15
  77. package/lib/components/display-item/src/index.vue.d.ts +13 -13
  78. package/lib/components/drawer-form/index.d.ts +22 -22
  79. package/lib/components/drawer-form/src/index.vue.d.ts +10 -10
  80. package/lib/components/form/index.d.ts +43 -43
  81. package/lib/components/form/src/form-content.vue.d.ts +15 -15
  82. package/lib/components/form/src/index.vue.d.ts +21 -21
  83. package/lib/components/form-item/index.d.ts +61 -61
  84. package/lib/components/form-item/src/index.vue.d.ts +24 -24
  85. package/lib/components/index.d.ts +1 -0
  86. package/lib/components/page/index.d.ts +936 -936
  87. package/lib/components/page/src/index.vue.d.ts +316 -316
  88. package/lib/components/popover/index.d.ts +9 -9
  89. package/lib/components/popover/src/index.vue.d.ts +3 -3
  90. package/lib/components/search/index.d.ts +282 -282
  91. package/lib/components/search/src/index.vue.d.ts +98 -98
  92. package/lib/components/table/index.d.ts +9 -9
  93. package/lib/components/table/src/index.vue.d.ts +1 -1
  94. package/lib/components/table/src/table-column.vue.d.ts +34 -34
  95. package/lib/components/utils/index.d.ts +1 -1
  96. package/lib/components/yc-ai-chat/index.d.ts +2 -1
  97. package/lib/components/yc-ai-chat/src/question-card.vue.d.ts +17 -0
  98. package/lib/components/yc-ai-chat/src/question-validation.d.ts +5 -0
  99. package/lib/components/yc-ai-chat/src/type.d.ts +51 -0
  100. package/lib/components/yc-date-picker/src/date-picker.vue.d.ts +1 -1
  101. package/lib/components/yc-display-cards/capability.d.ts +4 -0
  102. package/lib/components/yc-display-cards/index.d.ts +24 -0
  103. package/lib/components/yc-display-cards/src/detail-card.vue.d.ts +10 -0
  104. package/lib/components/yc-display-cards/src/metrics-card.vue.d.ts +8 -0
  105. package/lib/components/yc-display-cards/src/table-card.vue.d.ts +12 -0
  106. package/lib/components/yc-display-cards/src/types.d.ts +47 -0
  107. package/lib/components/yc-input/src/input.vue.d.ts +1 -1
  108. package/lib/components/yc-input/src/money-input.vue.d.ts +1 -1
  109. package/lib/components/yc-plus-page/src/index.vue.d.ts +946 -946
  110. package/lib/components/yc-plus-tree/src/index.vue.d.ts +1 -1
  111. package/lib/components/yc-questionnaire/src/index.vue.d.ts +1 -1
  112. package/lib/components/yc-status-dialog/src/index.vue.d.ts +1 -1
  113. package/lib/hooks/usePlusFormReset.d.ts +132 -132
  114. package/lib/index.css +11 -8
  115. package/lib/index.js +12 -6
  116. package/lib/packages/components/index.js +12 -6
  117. package/lib/packages/components/yc-ai-chat/index.js +2 -0
  118. package/lib/packages/components/yc-ai-chat/src/question-card.vue.js +9 -0
  119. package/lib/packages/components/yc-ai-chat/src/question-card2.vue.js +617 -0
  120. package/lib/packages/components/yc-ai-chat/src/question-validation.js +81 -0
  121. package/lib/packages/components/yc-display-cards/capability.js +79 -0
  122. package/lib/packages/components/yc-display-cards/index.js +14 -0
  123. package/lib/packages/components/yc-display-cards/src/detail-card.vue.js +10 -0
  124. package/lib/packages/components/yc-display-cards/src/detail-card2.vue.js +122 -0
  125. package/lib/packages/components/yc-display-cards/src/metrics-card.vue.js +10 -0
  126. package/lib/packages/components/yc-display-cards/src/metrics-card2.vue.js +136 -0
  127. package/lib/packages/components/yc-display-cards/src/table-card.vue.js +10 -0
  128. package/lib/packages/components/yc-display-cards/src/table-card2.vue.js +203 -0
  129. package/lib/packages/components/yc-display-cards/src/types.js +2 -0
  130. package/lib/packages/registry/load.js +9 -8
  131. package/lib/version.d.ts +1 -1
  132. package/lib/version.js +1 -1
  133. package/locale/en.js +1 -1
  134. package/locale/en.min.js +1 -1
  135. package/locale/en.min.mjs +1 -1
  136. package/locale/en.mjs +1 -1
  137. package/locale/ja.js +1 -1
  138. package/locale/ja.min.js +1 -1
  139. package/locale/ja.min.mjs +1 -1
  140. package/locale/ja.mjs +1 -1
  141. package/locale/ko.js +1 -1
  142. package/locale/ko.min.js +1 -1
  143. package/locale/ko.min.mjs +1 -1
  144. package/locale/ko.mjs +1 -1
  145. package/locale/zh-cn.js +1 -1
  146. package/locale/zh-cn.min.js +1 -1
  147. package/locale/zh-cn.min.mjs +1 -1
  148. package/locale/zh-cn.mjs +1 -1
  149. package/locale/zh-tw.js +1 -1
  150. package/locale/zh-tw.min.js +1 -1
  151. package/locale/zh-tw.min.mjs +1 -1
  152. package/locale/zh-tw.mjs +1 -1
  153. package/package.json +1 -1
  154. package/theme-chalk/index.css +4 -1
  155. package/theme-chalk/plus-yc-ai-chat.css +1 -1
  156. package/theme-chalk/src/yc-ai-chat.scss +498 -0
@@ -43,7 +43,6 @@ export declare const PlusTable: {
43
43
  columns: PlusColumn[];
44
44
  rowKey: string | ((row: any[]) => string);
45
45
  pagination: false | Partial< PlusPaginationProps>;
46
- editable: boolean | "click" | "dblclick";
47
46
  headerCellStyle: Partial< CSSProperties> | Partial<(data: {
48
47
  row: any[];
49
48
  rowIndex: number;
@@ -51,6 +50,7 @@ export declare const PlusTable: {
51
50
  columnIndex: number;
52
51
  }) => CSSProperties>;
53
52
  actionBar: false | Partial< ActionBarProps>;
53
+ editable: boolean | "click" | "dblclick";
54
54
  indexTableColumnProps: TableColumn;
55
55
  indexContentStyle: Partial< CSSProperties> | ((row: RecordType, index: number) => Partial< CSSProperties>);
56
56
  dragSortableTableColumnProps: TableColumn;
@@ -111,7 +111,6 @@ export declare const PlusTable: {
111
111
  columns: PlusColumn[];
112
112
  rowKey: string | ((row: any[]) => string);
113
113
  pagination: false | Partial< PlusPaginationProps>;
114
- editable: boolean | "click" | "dblclick";
115
114
  headerCellStyle: Partial< CSSProperties> | Partial<(data: {
116
115
  row: any[];
117
116
  rowIndex: number;
@@ -119,6 +118,7 @@ export declare const PlusTable: {
119
118
  columnIndex: number;
120
119
  }) => CSSProperties>;
121
120
  actionBar: false | Partial< ActionBarProps>;
121
+ editable: boolean | "click" | "dblclick";
122
122
  indexTableColumnProps: TableColumn;
123
123
  indexContentStyle: Partial< CSSProperties> | ((row: RecordType, index: number) => Partial< CSSProperties>);
124
124
  dragSortableTableColumnProps: TableColumn;
@@ -188,7 +188,6 @@ export declare const PlusTable: {
188
188
  columns: PlusColumn[];
189
189
  rowKey: string | ((row: any[]) => string);
190
190
  pagination: false | Partial< PlusPaginationProps>;
191
- editable: boolean | "click" | "dblclick";
192
191
  headerCellStyle: Partial< CSSProperties> | Partial<(data: {
193
192
  row: any[];
194
193
  rowIndex: number;
@@ -196,6 +195,7 @@ export declare const PlusTable: {
196
195
  columnIndex: number;
197
196
  }) => CSSProperties>;
198
197
  actionBar: false | Partial< ActionBarProps>;
198
+ editable: boolean | "click" | "dblclick";
199
199
  indexTableColumnProps: TableColumn;
200
200
  indexContentStyle: Partial< CSSProperties> | ((row: RecordType, index: number) => Partial< CSSProperties>);
201
201
  dragSortableTableColumnProps: TableColumn;
@@ -293,7 +293,6 @@ export declare const YcPlusTable: {
293
293
  columns: PlusColumn[];
294
294
  rowKey: string | ((row: any[]) => string);
295
295
  pagination: false | Partial< PlusPaginationProps>;
296
- editable: boolean | "click" | "dblclick";
297
296
  headerCellStyle: Partial< CSSProperties> | Partial<(data: {
298
297
  row: any[];
299
298
  rowIndex: number;
@@ -301,6 +300,7 @@ export declare const YcPlusTable: {
301
300
  columnIndex: number;
302
301
  }) => CSSProperties>;
303
302
  actionBar: false | Partial< ActionBarProps>;
303
+ editable: boolean | "click" | "dblclick";
304
304
  indexTableColumnProps: TableColumn;
305
305
  indexContentStyle: Partial< CSSProperties> | ((row: RecordType, index: number) => Partial< CSSProperties>);
306
306
  dragSortableTableColumnProps: TableColumn;
@@ -361,7 +361,6 @@ export declare const YcPlusTable: {
361
361
  columns: PlusColumn[];
362
362
  rowKey: string | ((row: any[]) => string);
363
363
  pagination: false | Partial< PlusPaginationProps>;
364
- editable: boolean | "click" | "dblclick";
365
364
  headerCellStyle: Partial< CSSProperties> | Partial<(data: {
366
365
  row: any[];
367
366
  rowIndex: number;
@@ -369,6 +368,7 @@ export declare const YcPlusTable: {
369
368
  columnIndex: number;
370
369
  }) => CSSProperties>;
371
370
  actionBar: false | Partial< ActionBarProps>;
371
+ editable: boolean | "click" | "dblclick";
372
372
  indexTableColumnProps: TableColumn;
373
373
  indexContentStyle: Partial< CSSProperties> | ((row: RecordType, index: number) => Partial< CSSProperties>);
374
374
  dragSortableTableColumnProps: TableColumn;
@@ -438,7 +438,6 @@ export declare const YcPlusTable: {
438
438
  columns: PlusColumn[];
439
439
  rowKey: string | ((row: any[]) => string);
440
440
  pagination: false | Partial< PlusPaginationProps>;
441
- editable: boolean | "click" | "dblclick";
442
441
  headerCellStyle: Partial< CSSProperties> | Partial<(data: {
443
442
  row: any[];
444
443
  rowIndex: number;
@@ -446,6 +445,7 @@ export declare const YcPlusTable: {
446
445
  columnIndex: number;
447
446
  }) => CSSProperties>;
448
447
  actionBar: false | Partial< ActionBarProps>;
448
+ editable: boolean | "click" | "dblclick";
449
449
  indexTableColumnProps: TableColumn;
450
450
  indexContentStyle: Partial< CSSProperties> | ((row: RecordType, index: number) => Partial< CSSProperties>);
451
451
  dragSortableTableColumnProps: TableColumn;
@@ -543,7 +543,6 @@ export declare const RePlusTable: {
543
543
  columns: PlusColumn[];
544
544
  rowKey: string | ((row: any[]) => string);
545
545
  pagination: false | Partial< PlusPaginationProps>;
546
- editable: boolean | "click" | "dblclick";
547
546
  headerCellStyle: Partial< CSSProperties> | Partial<(data: {
548
547
  row: any[];
549
548
  rowIndex: number;
@@ -551,6 +550,7 @@ export declare const RePlusTable: {
551
550
  columnIndex: number;
552
551
  }) => CSSProperties>;
553
552
  actionBar: false | Partial< ActionBarProps>;
553
+ editable: boolean | "click" | "dblclick";
554
554
  indexTableColumnProps: TableColumn;
555
555
  indexContentStyle: Partial< CSSProperties> | ((row: RecordType, index: number) => Partial< CSSProperties>);
556
556
  dragSortableTableColumnProps: TableColumn;
@@ -611,7 +611,6 @@ export declare const RePlusTable: {
611
611
  columns: PlusColumn[];
612
612
  rowKey: string | ((row: any[]) => string);
613
613
  pagination: false | Partial< PlusPaginationProps>;
614
- editable: boolean | "click" | "dblclick";
615
614
  headerCellStyle: Partial< CSSProperties> | Partial<(data: {
616
615
  row: any[];
617
616
  rowIndex: number;
@@ -619,6 +618,7 @@ export declare const RePlusTable: {
619
618
  columnIndex: number;
620
619
  }) => CSSProperties>;
621
620
  actionBar: false | Partial< ActionBarProps>;
621
+ editable: boolean | "click" | "dblclick";
622
622
  indexTableColumnProps: TableColumn;
623
623
  indexContentStyle: Partial< CSSProperties> | ((row: RecordType, index: number) => Partial< CSSProperties>);
624
624
  dragSortableTableColumnProps: TableColumn;
@@ -688,7 +688,6 @@ export declare const RePlusTable: {
688
688
  columns: PlusColumn[];
689
689
  rowKey: string | ((row: any[]) => string);
690
690
  pagination: false | Partial< PlusPaginationProps>;
691
- editable: boolean | "click" | "dblclick";
692
691
  headerCellStyle: Partial< CSSProperties> | Partial<(data: {
693
692
  row: any[];
694
693
  rowIndex: number;
@@ -696,6 +695,7 @@ export declare const RePlusTable: {
696
695
  columnIndex: number;
697
696
  }) => CSSProperties>;
698
697
  actionBar: false | Partial< ActionBarProps>;
698
+ editable: boolean | "click" | "dblclick";
699
699
  indexTableColumnProps: TableColumn;
700
700
  indexContentStyle: Partial< CSSProperties> | ((row: RecordType, index: number) => Partial< CSSProperties>);
701
701
  dragSortableTableColumnProps: TableColumn;
@@ -70,7 +70,6 @@ declare const __VLS_component: DefineComponent<unknown, {
70
70
  columns: PlusColumn[];
71
71
  rowKey: string | ((row: any[]) => string);
72
72
  pagination: false | Partial<PlusPaginationProps>;
73
- editable: boolean | "click" | "dblclick";
74
73
  headerCellStyle: Partial< CSSProperties> | Partial<(data: {
75
74
  row: any[];
76
75
  rowIndex: number;
@@ -78,6 +77,7 @@ declare const __VLS_component: DefineComponent<unknown, {
78
77
  columnIndex: number;
79
78
  }) => CSSProperties>;
80
79
  actionBar: false | Partial< ActionBarProps>;
80
+ editable: boolean | "click" | "dblclick";
81
81
  indexTableColumnProps: TableColumn;
82
82
  indexContentStyle: Partial< CSSProperties> | ((row: RecordType, index: number) => Partial< CSSProperties>);
83
83
  dragSortableTableColumnProps: TableColumn;
@@ -163,15 +163,15 @@ declare const __VLS_component: DefineComponent<unknown, {
163
163
  row: RecordType;
164
164
  index: number;
165
165
  rest: RecordType;
166
- formProps: PlusFormProps;
167
166
  editable: boolean | "click" | "dblclick";
167
+ formProps: PlusFormProps;
168
168
  }> & Omit<{
169
169
  readonly onChange?: ((data: {
170
170
  value: FieldValueType;
171
171
  prop: string;
172
172
  row: RecordType;
173
173
  }) => any) | undefined;
174
- } & VNodeProps & AllowedComponentProps & ComponentCustomProps, "column" | "row" | "index" | "rest" | "formProps" | "editable">;
174
+ } & VNodeProps & AllowedComponentProps & ComponentCustomProps, "column" | "row" | "index" | "rest" | "editable" | "formProps">;
175
175
  $attrs: Attrs;
176
176
  $refs: {
177
177
  [x: string]: unknown;
@@ -216,8 +216,8 @@ declare const __VLS_component: DefineComponent<unknown, {
216
216
  row: RecordType;
217
217
  index: number;
218
218
  rest: RecordType;
219
- formProps: PlusFormProps;
220
219
  editable: boolean | "click" | "dblclick";
220
+ formProps: PlusFormProps;
221
221
  }, {}, string, {}, GlobalComponents, GlobalDirectives, string, ComponentProvideOptions> & {
222
222
  beforeCreate?: (() => void) | (() => void)[];
223
223
  created?: (() => void) | (() => void)[];
@@ -243,15 +243,15 @@ declare const __VLS_component: DefineComponent<unknown, {
243
243
  row: RecordType;
244
244
  index: number;
245
245
  rest: RecordType;
246
- formProps: PlusFormProps;
247
246
  editable: boolean | "click" | "dblclick";
247
+ formProps: PlusFormProps;
248
248
  }> & Omit<Readonly<unknown> & Readonly<{
249
249
  onChange?: ((data: {
250
250
  value: FieldValueType;
251
251
  prop: string;
252
252
  row: RecordType;
253
253
  }) => any) | undefined;
254
- }>, "startCellEdit" | "stopCellEdit" | "getDisplayItemInstance" | ("column" | "row" | "index" | "rest" | "formProps" | "editable")> & {
254
+ }>, "startCellEdit" | "stopCellEdit" | "getDisplayItemInstance" | ("column" | "row" | "index" | "rest" | "editable" | "formProps")> & {
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 | Partial< Mutable<UseTooltipProps> & {
273
+ readonly tooltip: string | ComputedRef<string> | Partial< Mutable<UseTooltipProps> & {
274
274
  style?: CSSProperties;
275
275
  class?: any;
276
- } & RecordType> | ComputedRef<string> | ComputedRef<Partial< Mutable<UseTooltipProps> & {
276
+ } & RecordType> | 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 | Partial< Mutable<UseTooltipProps> & {
347
+ tooltip: string | ComputedRef<string> | Partial< Mutable<UseTooltipProps> & {
348
348
  style?: CSSProperties;
349
349
  class?: any;
350
- } & RecordType> | ComputedRef<string> | ComputedRef<Partial< Mutable<UseTooltipProps> & {
350
+ } & RecordType> | 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 | Partial< Mutable<UseTooltipProps> & {
386
+ readonly tooltip: string | ComputedRef<string> | Partial< Mutable<UseTooltipProps> & {
387
387
  style?: CSSProperties;
388
388
  class?: any;
389
- } & RecordType> | ComputedRef<string> | ComputedRef<Partial< Mutable<UseTooltipProps> & {
389
+ } & RecordType> | 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 | Partial< Mutable<UseTooltipProps> & {
460
+ tooltip: string | ComputedRef<string> | Partial< Mutable<UseTooltipProps> & {
461
461
  style?: CSSProperties;
462
462
  class?: any;
463
- } & RecordType> | ComputedRef<string> | ComputedRef<Partial< Mutable<UseTooltipProps> & {
463
+ } & RecordType> | 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 | Partial< Mutable<UseTooltipProps> & {
499
+ readonly tooltip: string | ComputedRef<string> | Partial< Mutable<UseTooltipProps> & {
500
500
  style?: CSSProperties;
501
501
  class?: any;
502
- } & RecordType> | ComputedRef<string> | ComputedRef<Partial< Mutable<UseTooltipProps> & {
502
+ } & RecordType> | 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 | Partial< Mutable<UseTooltipProps> & {
573
+ tooltip: string | ComputedRef<string> | Partial< Mutable<UseTooltipProps> & {
574
574
  style?: CSSProperties;
575
575
  class?: any;
576
- } & RecordType> | ComputedRef<string> | ComputedRef<Partial< Mutable<UseTooltipProps> & {
576
+ } & RecordType> | ComputedRef<Partial< Mutable<UseTooltipProps> & {
577
577
  style?: CSSProperties;
578
578
  class?: any;
579
579
  } & RecordType>>;
@@ -623,15 +623,15 @@ declare const __VLS_component: DefineComponent<unknown, {
623
623
  row: RecordType;
624
624
  index: number;
625
625
  rest: RecordType;
626
- formProps: PlusFormProps;
627
626
  editable: boolean | "click" | "dblclick";
627
+ formProps: PlusFormProps;
628
628
  }> & Omit<{
629
629
  readonly onChange?: ((data: {
630
630
  value: FieldValueType;
631
631
  prop: string;
632
632
  row: RecordType;
633
633
  }) => any) | undefined;
634
- } & VNodeProps & AllowedComponentProps & ComponentCustomProps, "column" | "row" | "index" | "rest" | "formProps" | "editable">;
634
+ } & VNodeProps & AllowedComponentProps & ComponentCustomProps, "column" | "row" | "index" | "rest" | "editable" | "formProps">;
635
635
  $attrs: Attrs;
636
636
  $refs: {
637
637
  [x: string]: unknown;
@@ -676,8 +676,8 @@ declare const __VLS_component: DefineComponent<unknown, {
676
676
  row: RecordType;
677
677
  index: number;
678
678
  rest: RecordType;
679
- formProps: PlusFormProps;
680
679
  editable: boolean | "click" | "dblclick";
680
+ formProps: PlusFormProps;
681
681
  }, {}, string, {}, GlobalComponents, GlobalDirectives, string, ComponentProvideOptions> & {
682
682
  beforeCreate?: (() => void) | (() => void)[];
683
683
  created?: (() => void) | (() => void)[];
@@ -703,15 +703,15 @@ declare const __VLS_component: DefineComponent<unknown, {
703
703
  row: RecordType;
704
704
  index: number;
705
705
  rest: RecordType;
706
- formProps: PlusFormProps;
707
706
  editable: boolean | "click" | "dblclick";
707
+ formProps: PlusFormProps;
708
708
  }> & Omit<Readonly<unknown> & Readonly<{
709
709
  onChange?: ((data: {
710
710
  value: FieldValueType;
711
711
  prop: string;
712
712
  row: RecordType;
713
713
  }) => any) | undefined;
714
- }>, "startCellEdit" | "stopCellEdit" | "getDisplayItemInstance" | ("column" | "row" | "index" | "rest" | "formProps" | "editable")> & {
714
+ }>, "startCellEdit" | "stopCellEdit" | "getDisplayItemInstance" | ("column" | "row" | "index" | "rest" | "editable" | "formProps")> & {
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 | Partial< Mutable<UseTooltipProps> & {
733
+ readonly tooltip: string | ComputedRef<string> | Partial< Mutable<UseTooltipProps> & {
734
734
  style?: CSSProperties;
735
735
  class?: any;
736
- } & RecordType> | ComputedRef<string> | ComputedRef<Partial< Mutable<UseTooltipProps> & {
736
+ } & RecordType> | 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 | Partial< Mutable<UseTooltipProps> & {
807
+ tooltip: string | ComputedRef<string> | Partial< Mutable<UseTooltipProps> & {
808
808
  style?: CSSProperties;
809
809
  class?: any;
810
- } & RecordType> | ComputedRef<string> | ComputedRef<Partial< Mutable<UseTooltipProps> & {
810
+ } & RecordType> | 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 | Partial< Mutable<UseTooltipProps> & {
846
+ readonly tooltip: string | ComputedRef<string> | Partial< Mutable<UseTooltipProps> & {
847
847
  style?: CSSProperties;
848
848
  class?: any;
849
- } & RecordType> | ComputedRef<string> | ComputedRef<Partial< Mutable<UseTooltipProps> & {
849
+ } & RecordType> | 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 | Partial< Mutable<UseTooltipProps> & {
920
+ tooltip: string | ComputedRef<string> | Partial< Mutable<UseTooltipProps> & {
921
921
  style?: CSSProperties;
922
922
  class?: any;
923
- } & RecordType> | ComputedRef<string> | ComputedRef<Partial< Mutable<UseTooltipProps> & {
923
+ } & RecordType> | 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 | Partial< Mutable<UseTooltipProps> & {
959
+ readonly tooltip: string | ComputedRef<string> | Partial< Mutable<UseTooltipProps> & {
960
960
  style?: CSSProperties;
961
961
  class?: any;
962
- } & RecordType> | ComputedRef<string> | ComputedRef<Partial< Mutable<UseTooltipProps> & {
962
+ } & RecordType> | 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 | Partial< Mutable<UseTooltipProps> & {
1033
+ tooltip: string | ComputedRef<string> | Partial< Mutable<UseTooltipProps> & {
1034
1034
  style?: CSSProperties;
1035
1035
  class?: any;
1036
- } & RecordType> | ComputedRef<string> | ComputedRef<Partial< Mutable<UseTooltipProps> & {
1036
+ } & RecordType> | ComputedRef<Partial< Mutable<UseTooltipProps> & {
1037
1037
  style?: CSSProperties;
1038
1038
  class?: any;
1039
1039
  } & RecordType>>;
@@ -133,8 +133,8 @@ export declare const removeChildrenField: (item: PlusRouteRecordRaw) => {
133
133
  component?: ( RouteComponent | (() => Promise< RouteComponent>)) | null | undefined;
134
134
  strict?: boolean | undefined;
135
135
  alias?: string | string[] | undefined;
136
- sensitive?: boolean | undefined;
137
136
  components?: Record<string, RouteComponent | (() => Promise< RouteComponent>)> | null | undefined;
137
+ sensitive?: boolean | undefined;
138
138
  redirect?: RouteRecordRedirectOption | undefined;
139
139
  beforeEnter?: ( NavigationGuardWithThis<undefined> | NavigationGuardWithThis<undefined>[]) | undefined;
140
140
  };
@@ -6,10 +6,11 @@ import { default as YcChatThinking } from './src/thinking.vue';
6
6
  import { default as YcChatFileCard } from './src/file-card.vue';
7
7
  import { default as YcChatSender } from './src/sender.vue';
8
8
  import { default as YcChatSelect } from './src/select.vue';
9
+ import { default as YcChatQuestionCard } from './src/question-card.vue';
9
10
  import { default as YcMobileDeviceFrame } from './src/mobile-frame.vue';
10
11
 
11
12
  export * from './src/type';
12
13
  export * from './src/presets';
13
14
  export { Attachments, Bubble, BubbleList, Conversations, FilesCard, Prompts, Thinking, ThoughtChain, Welcome, XSender } from 'vue-element-plus-x';
14
- export { YcChatStudio, YcChatSidebar, YcChatWelcome, YcChatBubble, YcChatThinking, YcChatFileCard, YcChatSender, YcChatSelect, YcMobileDeviceFrame };
15
+ export { YcChatStudio, YcChatSidebar, YcChatWelcome, YcChatBubble, YcChatThinking, YcChatFileCard, YcChatSender, YcChatSelect, YcChatQuestionCard, YcMobileDeviceFrame };
15
16
  export default YcChatStudio;
@@ -0,0 +1,17 @@
1
+ import { YcChatQuestionAnswer } from './type';
2
+ import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
3
+
4
+ declare const _default: DefineComponent<unknown, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {
5
+ answer: (answers: YcChatQuestionAnswer[]) => void;
6
+ cancel: () => void;
7
+ }, string, PublicProps, Readonly<unknown> & Readonly<{
8
+ onCancel?: (() => any) | undefined;
9
+ onAnswer?: ((answers: YcChatQuestionAnswer[]) => any) | undefined;
10
+ }>, {
11
+ title: string;
12
+ compact: boolean;
13
+ submitting: boolean;
14
+ answerEnabled: boolean;
15
+ unavailableReason: string;
16
+ }, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
17
+ export default _default;
@@ -0,0 +1,5 @@
1
+ import { YcChatQuestionAnswer, YcChatQuestionRequest } from './type';
2
+
3
+ export declare function validChatOtherText(value: string): boolean;
4
+ export declare function validChatQuestionRequest(request: YcChatQuestionRequest): boolean;
5
+ export declare function validChatAnswersForRequest(request: YcChatQuestionRequest, answers: YcChatQuestionAnswer[]): boolean;
@@ -34,3 +34,54 @@ export interface YcChatMetricItem {
34
34
  key: string;
35
35
  text: string;
36
36
  }
37
+ export interface YcChatClientInteractionEvent {
38
+ type: string;
39
+ version: number;
40
+ payload: Record<string, unknown>;
41
+ }
42
+ export interface YcChatQuestionOption {
43
+ id: string;
44
+ label: string;
45
+ description?: string;
46
+ event?: YcChatClientInteractionEvent;
47
+ }
48
+ export interface YcChatInteractionQuestion {
49
+ id: string;
50
+ title: string;
51
+ selection_mode: 'single' | 'multiple';
52
+ options: YcChatQuestionOption[];
53
+ other: {
54
+ enabled: true;
55
+ label: '其他';
56
+ };
57
+ }
58
+ export interface YcChatQuestionRequest {
59
+ schema: 'interaction.question.v1';
60
+ request_id: string;
61
+ tool_call_id: string;
62
+ questions: YcChatInteractionQuestion[];
63
+ }
64
+ export interface YcChatQuestionAnswer {
65
+ question_id: string;
66
+ selected_option_ids: string[];
67
+ other_text: string | null;
68
+ }
69
+ export type YcChatInteractionState = 'preparing' | 'pending' | 'answered' | 'invalidated' | 'expired' | 'cancelled' | 'superseded';
70
+ export interface YcChatClientEventReceipt extends YcChatClientInteractionEvent {
71
+ eventId: string;
72
+ }
73
+ export interface YcChatAnswerReceipt {
74
+ requestId: string;
75
+ answerId: string;
76
+ state: 'answered';
77
+ continuationRunId: string;
78
+ clientEvent: YcChatClientEventReceipt | null;
79
+ }
80
+ export interface YcChatInteractionSnapshot {
81
+ request: YcChatQuestionRequest;
82
+ state: YcChatInteractionState;
83
+ version: number;
84
+ expiresAt: string;
85
+ receipt: YcChatAnswerReceipt | null;
86
+ answers: YcChatQuestionAnswer[];
87
+ }
@@ -13,8 +13,8 @@ declare const _default: DefineComponent<unknown, {}, {}, {}, {}, ComponentOption
13
13
  mode: DatePickerMode;
14
14
  size: "small" | "default" | "large";
15
15
  placeholder: string;
16
- clearable: boolean;
17
16
  format: string;
17
+ clearable: boolean;
18
18
  rangeSeparator: string;
19
19
  startPlaceholder: string;
20
20
  endPlaceholder: string;
@@ -0,0 +1,4 @@
1
+ import { Capability } from '../../registry/types';
2
+
3
+ declare const capability: Capability;
4
+ export default capability;
@@ -0,0 +1,24 @@
1
+ import { SFCWithInstall } from '../../utils';
2
+ import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
3
+ import { DisplaySummaryItem, DisplayTableColumn, DisplayMetricItem, DisplayDetailStatus, DisplayDetailField } from './src/types';
4
+ export declare const YcDisplayTableCard: SFCWithInstall<DefineComponent<unknown, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<unknown> & Readonly<{}>, {
5
+ title: string;
6
+ summary: DisplaySummaryItem[];
7
+ columns: DisplayTableColumn[];
8
+ rows: Record<string, unknown>[];
9
+ maxRows: number;
10
+ subtitle: string;
11
+ }, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>>;
12
+ export declare const YcDisplayMetricsCard: SFCWithInstall<DefineComponent<unknown, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<unknown> & Readonly<{}>, {
13
+ title: string;
14
+ items: DisplayMetricItem[];
15
+ subtitle: string;
16
+ }, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>>;
17
+ export declare const YcDisplayDetailCard: SFCWithInstall<DefineComponent<unknown, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<unknown> & Readonly<{}>, {
18
+ title: string;
19
+ status: DisplayDetailStatus;
20
+ fields: DisplayDetailField[];
21
+ subtitle: string;
22
+ note: string;
23
+ }, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>>;
24
+ export type * from './src/types';
@@ -0,0 +1,10 @@
1
+ import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
2
+ import { DisplayDetailStatus, DisplayDetailField } from './types';
3
+ declare const _default: DefineComponent<unknown, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<unknown> & Readonly<{}>, {
4
+ title: string;
5
+ status: DisplayDetailStatus;
6
+ fields: DisplayDetailField[];
7
+ subtitle: string;
8
+ note: string;
9
+ }, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
10
+ export default _default;
@@ -0,0 +1,8 @@
1
+ import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
2
+ import { DisplayMetricItem } from './types';
3
+ declare const _default: DefineComponent<unknown, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<unknown> & Readonly<{}>, {
4
+ title: string;
5
+ items: DisplayMetricItem[];
6
+ subtitle: string;
7
+ }, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
8
+ export default _default;
@@ -0,0 +1,12 @@
1
+ import { DisplayTableColumn, DisplaySummaryItem } from './types';
2
+ import { DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
3
+
4
+ declare const _default: DefineComponent<unknown, {}, {}, {}, {}, ComponentOptionsMixin, ComponentOptionsMixin, {}, string, PublicProps, Readonly<unknown> & Readonly<{}>, {
5
+ title: string;
6
+ summary: DisplaySummaryItem[];
7
+ columns: DisplayTableColumn[];
8
+ rows: Record<string, unknown>[];
9
+ maxRows: number;
10
+ subtitle: string;
11
+ }, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
12
+ export default _default;
@@ -0,0 +1,47 @@
1
+ export interface DisplayTableColumn {
2
+ key: string;
3
+ label: string;
4
+ align?: "left" | "center" | "right";
5
+ unit?: string;
6
+ }
7
+ export interface DisplaySummaryItem {
8
+ label: string;
9
+ value: string | number;
10
+ }
11
+ export interface YcDisplayTableCardProps {
12
+ title?: string;
13
+ subtitle?: string;
14
+ columns?: DisplayTableColumn[];
15
+ rows?: Record<string, unknown>[];
16
+ summary?: DisplaySummaryItem[];
17
+ maxRows?: number;
18
+ }
19
+ export interface DisplayMetricItem {
20
+ label: string;
21
+ value: string | number;
22
+ unit?: string;
23
+ trend?: string;
24
+ trendType?: "up" | "down" | "neutral";
25
+ description?: string;
26
+ }
27
+ export interface YcDisplayMetricsCardProps {
28
+ title?: string;
29
+ subtitle?: string;
30
+ items?: DisplayMetricItem[];
31
+ }
32
+ export interface DisplayDetailStatus {
33
+ text: string;
34
+ type?: "success" | "warning" | "danger" | "info";
35
+ }
36
+ export interface DisplayDetailField {
37
+ label: string;
38
+ value: string | number;
39
+ span?: 1 | 2;
40
+ }
41
+ export interface YcDisplayDetailCardProps {
42
+ title?: string;
43
+ subtitle?: string;
44
+ status?: DisplayDetailStatus;
45
+ fields?: DisplayDetailField[];
46
+ note?: string;
47
+ }
@@ -35,8 +35,8 @@ declare const __VLS_component: DefineComponent<unknown, {
35
35
  monospace: boolean;
36
36
  required: boolean;
37
37
  modelValue: string | number;
38
- clearable: boolean;
39
38
  readonly: boolean;
39
+ clearable: boolean;
40
40
  showPassword: boolean;
41
41
  variant: YcInputVariant;
42
42
  showCount: boolean;