yc-agent-ui 1.2.4 → 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.
- package/es/components/descriptions/index.d.ts +3 -3
- package/es/components/descriptions/src/index.vue.d.ts +1 -1
- 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 +2 -2
- package/es/components/dialog-form/src/index.vue.d.ts +2 -2
- package/es/components/display-item/index.d.ts +9 -9
- package/es/components/display-item/src/index.vue.d.ts +7 -7
- package/es/components/drawer-form/index.d.ts +20 -20
- package/es/components/drawer-form/src/index.vue.d.ts +8 -8
- package/es/components/form/index.d.ts +39 -39
- package/es/components/form/src/form-content.vue.d.ts +11 -11
- package/es/components/form/src/index.vue.d.ts +17 -17
- package/es/components/form-item/index.d.ts +61 -61
- package/es/components/form-item/src/index.vue.d.ts +22 -22
- package/es/components/index.d.ts +1 -0
- package/es/components/page/index.d.ts +850 -850
- package/es/components/page/src/index.vue.d.ts +286 -286
- package/es/components/popover/index.d.ts +9 -9
- package/es/components/popover/src/index.vue.d.ts +3 -3
- 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 +256 -256
- package/es/components/search/src/index.vue.d.ts +88 -88
- package/es/components/table/index.d.ts +9 -9
- package/es/components/table/src/index.vue.d.ts +1 -1
- package/es/components/table/src/table-column.vue.d.ts +22 -22
- package/es/components/utils/index.d.ts +1 -1
- package/es/components/yc-date-picker/src/date-picker.vue.d.ts +1 -1
- package/es/components/yc-display-cards/capability.d.ts +4 -0
- package/es/components/yc-display-cards/index.d.ts +24 -0
- package/es/components/yc-display-cards/src/detail-card.vue.d.ts +10 -0
- package/es/components/yc-display-cards/src/metrics-card.vue.d.ts +8 -0
- package/es/components/yc-display-cards/src/table-card.vue.d.ts +12 -0
- package/es/components/yc-display-cards/src/types.d.ts +47 -0
- package/es/components/yc-input/src/input.vue.d.ts +1 -1
- package/es/components/yc-input/src/money-input.vue.d.ts +1 -1
- package/es/components/yc-plus-page/src/index.vue.d.ts +858 -858
- package/es/components/yc-plus-tree/src/index.vue.d.ts +1 -1
- package/es/components/yc-questionnaire/src/index.vue.d.ts +1 -1
- package/es/components/yc-select-v2/src/index.vue.d.ts +1 -1
- package/es/components/yc-status-dialog/src/index.vue.d.ts +1 -1
- package/es/hooks/usePlusFormReset.d.ts +114 -114
- package/es/index.css +13 -10
- package/es/index.mjs +1 -0
- package/es/packages/components/index.mjs +1 -0
- package/es/packages/components/yc-ai-chat/src/question-card2.vue.mjs +240 -86
- package/es/packages/components/yc-display-cards/capability.mjs +75 -0
- package/es/packages/components/yc-display-cards/index.mjs +10 -0
- package/es/packages/components/yc-display-cards/src/detail-card.vue.mjs +6 -0
- package/es/packages/components/yc-display-cards/src/detail-card2.vue.mjs +118 -0
- package/es/packages/components/yc-display-cards/src/metrics-card.vue.mjs +6 -0
- package/es/packages/components/yc-display-cards/src/metrics-card2.vue.mjs +132 -0
- package/es/packages/components/yc-display-cards/src/table-card.vue.mjs +6 -0
- package/es/packages/components/yc-display-cards/src/table-card2.vue.mjs +199 -0
- package/es/packages/components/yc-display-cards/src/types.mjs +1 -0
- package/es/packages/registry/load.mjs +9 -8
- package/es/version.d.ts +1 -1
- package/es/version.mjs +1 -1
- package/index.css +4 -1
- package/index.js +1274 -595
- package/index.min.css +3 -0
- package/index.min.js +20 -20
- package/index.min.mjs +24 -24
- package/index.mjs +1270 -594
- package/lib/components/descriptions/index.d.ts +3 -3
- package/lib/components/descriptions/src/index.vue.d.ts +1 -1
- 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 +2 -2
- package/lib/components/dialog-form/src/index.vue.d.ts +2 -2
- package/lib/components/display-item/index.d.ts +9 -9
- package/lib/components/display-item/src/index.vue.d.ts +7 -7
- package/lib/components/drawer-form/index.d.ts +20 -20
- package/lib/components/drawer-form/src/index.vue.d.ts +8 -8
- package/lib/components/form/index.d.ts +39 -39
- package/lib/components/form/src/form-content.vue.d.ts +11 -11
- package/lib/components/form/src/index.vue.d.ts +17 -17
- package/lib/components/form-item/index.d.ts +61 -61
- package/lib/components/form-item/src/index.vue.d.ts +22 -22
- package/lib/components/index.d.ts +1 -0
- package/lib/components/page/index.d.ts +850 -850
- package/lib/components/page/src/index.vue.d.ts +286 -286
- package/lib/components/popover/index.d.ts +9 -9
- package/lib/components/popover/src/index.vue.d.ts +3 -3
- 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 +256 -256
- package/lib/components/search/src/index.vue.d.ts +88 -88
- package/lib/components/table/index.d.ts +9 -9
- package/lib/components/table/src/index.vue.d.ts +1 -1
- package/lib/components/table/src/table-column.vue.d.ts +22 -22
- package/lib/components/utils/index.d.ts +1 -1
- package/lib/components/yc-date-picker/src/date-picker.vue.d.ts +1 -1
- package/lib/components/yc-display-cards/capability.d.ts +4 -0
- package/lib/components/yc-display-cards/index.d.ts +24 -0
- package/lib/components/yc-display-cards/src/detail-card.vue.d.ts +10 -0
- package/lib/components/yc-display-cards/src/metrics-card.vue.d.ts +8 -0
- package/lib/components/yc-display-cards/src/table-card.vue.d.ts +12 -0
- package/lib/components/yc-display-cards/src/types.d.ts +47 -0
- package/lib/components/yc-input/src/input.vue.d.ts +1 -1
- package/lib/components/yc-input/src/money-input.vue.d.ts +1 -1
- package/lib/components/yc-plus-page/src/index.vue.d.ts +858 -858
- package/lib/components/yc-plus-tree/src/index.vue.d.ts +1 -1
- package/lib/components/yc-questionnaire/src/index.vue.d.ts +1 -1
- package/lib/components/yc-select-v2/src/index.vue.d.ts +1 -1
- package/lib/components/yc-status-dialog/src/index.vue.d.ts +1 -1
- package/lib/hooks/usePlusFormReset.d.ts +114 -114
- package/lib/index.css +12 -9
- package/lib/index.js +10 -6
- package/lib/packages/components/index.js +10 -6
- package/lib/packages/components/yc-ai-chat/src/question-card2.vue.js +239 -85
- package/lib/packages/components/yc-display-cards/capability.js +79 -0
- package/lib/packages/components/yc-display-cards/index.js +14 -0
- package/lib/packages/components/yc-display-cards/src/detail-card.vue.js +10 -0
- package/lib/packages/components/yc-display-cards/src/detail-card2.vue.js +122 -0
- package/lib/packages/components/yc-display-cards/src/metrics-card.vue.js +10 -0
- package/lib/packages/components/yc-display-cards/src/metrics-card2.vue.js +136 -0
- package/lib/packages/components/yc-display-cards/src/table-card.vue.js +10 -0
- package/lib/packages/components/yc-display-cards/src/table-card2.vue.js +203 -0
- package/lib/packages/components/yc-display-cards/src/types.js +2 -0
- package/lib/packages/registry/load.js +9 -8
- 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 -1
- package/theme-chalk/plus-yc-ai-chat.css +1 -1
- package/theme-chalk/src/yc-ai-chat.scss +90 -0
|
@@ -162,16 +162,16 @@ 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;
|
|
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" | "
|
|
174
|
+
} & VNodeProps & AllowedComponentProps & ComponentCustomProps, "column" | "row" | "index" | "rest" | "editable" | "formProps">;
|
|
175
175
|
$attrs: Attrs;
|
|
176
176
|
$refs: {
|
|
177
177
|
[x: string]: unknown;
|
|
@@ -215,9 +215,9 @@ 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;
|
|
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)[];
|
|
@@ -242,16 +242,16 @@ 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;
|
|
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" | "
|
|
254
|
+
}>, "startCellEdit" | "stopCellEdit" | "getDisplayItemInstance" | ("column" | "row" | "index" | "rest" | "editable" | "formProps")> & {
|
|
255
255
|
startCellEdit: () => void;
|
|
256
256
|
stopCellEdit: () => void;
|
|
257
257
|
getDisplayItemInstance: () => {
|
|
@@ -268,7 +268,7 @@ 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 | string[] | number[] | [string, string] | Date | boolean[] |
|
|
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
273
|
readonly tooltip: string | ComputedRef<string> | Partial< Mutable<UseTooltipProps> & {
|
|
274
274
|
style?: CSSProperties;
|
|
@@ -342,7 +342,7 @@ 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 | string[] | number[] | [string, string] | Date | boolean[] |
|
|
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
347
|
tooltip: string | ComputedRef<string> | Partial< Mutable<UseTooltipProps> & {
|
|
348
348
|
style?: CSSProperties;
|
|
@@ -381,7 +381,7 @@ 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 | string[] | number[] | [string, string] | Date | boolean[] |
|
|
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
386
|
readonly tooltip: string | ComputedRef<string> | Partial< Mutable<UseTooltipProps> & {
|
|
387
387
|
style?: CSSProperties;
|
|
@@ -455,7 +455,7 @@ 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 | string[] | number[] | [string, string] | Date | boolean[] |
|
|
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
460
|
tooltip: string | ComputedRef<string> | Partial< Mutable<UseTooltipProps> & {
|
|
461
461
|
style?: CSSProperties;
|
|
@@ -494,7 +494,7 @@ 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 | string[] | number[] | [string, string] | Date | boolean[] |
|
|
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
499
|
readonly tooltip: string | ComputedRef<string> | Partial< Mutable<UseTooltipProps> & {
|
|
500
500
|
style?: CSSProperties;
|
|
@@ -568,7 +568,7 @@ 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 | string[] | number[] | [string, string] | Date | boolean[] |
|
|
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
573
|
tooltip: string | ComputedRef<string> | Partial< Mutable<UseTooltipProps> & {
|
|
574
574
|
style?: CSSProperties;
|
|
@@ -622,16 +622,16 @@ 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;
|
|
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" | "
|
|
634
|
+
} & VNodeProps & AllowedComponentProps & ComponentCustomProps, "column" | "row" | "index" | "rest" | "editable" | "formProps">;
|
|
635
635
|
$attrs: Attrs;
|
|
636
636
|
$refs: {
|
|
637
637
|
[x: string]: unknown;
|
|
@@ -675,9 +675,9 @@ 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;
|
|
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)[];
|
|
@@ -702,16 +702,16 @@ 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;
|
|
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" | "
|
|
714
|
+
}>, "startCellEdit" | "stopCellEdit" | "getDisplayItemInstance" | ("column" | "row" | "index" | "rest" | "editable" | "formProps")> & {
|
|
715
715
|
startCellEdit: () => void;
|
|
716
716
|
stopCellEdit: () => void;
|
|
717
717
|
getDisplayItemInstance: () => {
|
|
@@ -728,7 +728,7 @@ 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 | string[] | number[] | [string, string] | Date | boolean[] |
|
|
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
733
|
readonly tooltip: string | ComputedRef<string> | Partial< Mutable<UseTooltipProps> & {
|
|
734
734
|
style?: CSSProperties;
|
|
@@ -802,7 +802,7 @@ 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 | string[] | number[] | [string, string] | Date | boolean[] |
|
|
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
807
|
tooltip: string | ComputedRef<string> | Partial< Mutable<UseTooltipProps> & {
|
|
808
808
|
style?: CSSProperties;
|
|
@@ -841,7 +841,7 @@ 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 | string[] | number[] | [string, string] | Date | boolean[] |
|
|
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
846
|
readonly tooltip: string | ComputedRef<string> | Partial< Mutable<UseTooltipProps> & {
|
|
847
847
|
style?: CSSProperties;
|
|
@@ -915,7 +915,7 @@ 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 | string[] | number[] | [string, string] | Date | boolean[] |
|
|
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
920
|
tooltip: string | ComputedRef<string> | Partial< Mutable<UseTooltipProps> & {
|
|
921
921
|
style?: CSSProperties;
|
|
@@ -954,7 +954,7 @@ 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 | string[] | number[] | [string, string] | Date | boolean[] |
|
|
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
959
|
readonly tooltip: string | ComputedRef<string> | Partial< Mutable<UseTooltipProps> & {
|
|
960
960
|
style?: CSSProperties;
|
|
@@ -1028,7 +1028,7 @@ 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 | string[] | number[] | [string, string] | Date | boolean[] |
|
|
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
1033
|
tooltip: string | ComputedRef<string> | Partial< Mutable<UseTooltipProps> & {
|
|
1034
1034
|
style?: CSSProperties;
|
|
@@ -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
|
};
|
|
@@ -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,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;
|
|
@@ -17,8 +17,8 @@ declare const _default: DefineComponent<unknown, {}, {}, {}, {}, ComponentOption
|
|
|
17
17
|
placeholder: string;
|
|
18
18
|
required: boolean;
|
|
19
19
|
modelValue: number | string | null;
|
|
20
|
-
clearable: boolean;
|
|
21
20
|
readonly: boolean;
|
|
21
|
+
clearable: boolean;
|
|
22
22
|
variant: YcInputVariant;
|
|
23
23
|
currency: string;
|
|
24
24
|
unit: string;
|