yc-agent-ui 1.2.5 → 1.2.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/es/components/chart/src/chart-card.vue.d.ts +21 -21
- package/es/components/chart/src/chart-container.vue.d.ts +2 -2
- package/es/components/chart/src/metric-card.vue.d.ts +1 -1
- package/es/components/data-table/src/data-table.vue.d.ts +8 -8
- package/es/components/descriptions/index.d.ts +12 -12
- package/es/components/descriptions/src/index.vue.d.ts +4 -4
- package/es/components/dialog/index.d.ts +12 -12
- package/es/components/dialog/src/index.vue.d.ts +4 -4
- package/es/components/dialog-form/index.d.ts +10 -10
- package/es/components/dialog-form/src/index.vue.d.ts +6 -6
- package/es/components/display-item/index.d.ts +15 -15
- package/es/components/display-item/src/index.vue.d.ts +13 -13
- package/es/components/drawer-form/index.d.ts +25 -25
- package/es/components/drawer-form/src/index.vue.d.ts +11 -11
- package/es/components/form/index.d.ts +52 -52
- package/es/components/form/src/form-content.vue.d.ts +18 -18
- package/es/components/form/src/index.vue.d.ts +24 -24
- package/es/components/form-item/index.d.ts +67 -67
- package/es/components/form-item/src/index.vue.d.ts +26 -26
- package/es/components/input-tag/index.d.ts +3 -3
- package/es/components/input-tag/src/index.vue.d.ts +3 -3
- package/es/components/page/index.d.ts +1209 -1209
- package/es/components/page/src/index.vue.d.ts +407 -407
- package/es/components/pagination/index.d.ts +3 -3
- package/es/components/pagination/src/index.vue.d.ts +1 -1
- package/es/components/popover/index.d.ts +9 -9
- package/es/components/popover/src/index.vue.d.ts +3 -3
- package/es/components/radio/index.d.ts +5 -5
- package/es/components/radio/src/index.vue.d.ts +5 -5
- package/es/components/render/index.d.ts +1 -1
- package/es/components/render/src/index.vue.d.ts +1 -1
- package/es/components/search/index.d.ts +348 -348
- package/es/components/search/src/index.vue.d.ts +120 -120
- 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-action-bar.vue.d.ts +2 -2
- package/es/components/table/src/table-column.vue.d.ts +34 -34
- package/es/components/utils/index.d.ts +4 -4
- package/es/components/virtual-table/index.d.ts +3 -3
- package/es/components/virtual-table/src/index.vue.d.ts +1 -1
- package/es/components/yc-ai-chat/src/bubble.vue.d.ts +1 -1
- package/es/components/yc-ai-chat/src/file-card.vue.d.ts +1 -1
- package/es/components/yc-ai-chat/src/mobile-frame.vue.d.ts +1 -1
- package/es/components/yc-ai-chat/src/select.vue.d.ts +5 -5
- package/es/components/yc-ai-chat/src/sender.vue.d.ts +1 -1
- package/es/components/yc-ai-chat/src/sidebar.vue.d.ts +2 -2
- package/es/components/yc-ai-chat/src/studio.vue.d.ts +1 -1
- package/es/components/yc-controls/src/choice-cards.vue.d.ts +2 -2
- package/es/components/yc-controls/src/segmented.vue.d.ts +1 -1
- package/es/components/yc-coss-table/src/coss-table.vue.d.ts +3 -3
- package/es/components/yc-coss-table/src/table-head.vue.d.ts +2 -2
- package/es/components/yc-date-picker/src/date-picker.vue.d.ts +1 -1
- package/es/components/yc-display-cards/index.d.ts +20 -2
- package/es/components/yc-display-cards/src/form-card.vue.d.ts +22 -0
- package/es/components/yc-display-cards/src/table-card.vue.d.ts +1 -1
- package/es/components/yc-display-cards/src/types.d.ts +56 -0
- package/es/components/yc-gradient-card/src/index.vue.d.ts +2 -2
- package/es/components/yc-input/src/input.vue.d.ts +5 -5
- package/es/components/yc-input/src/money-input.vue.d.ts +4 -4
- package/es/components/yc-input/src/stepper-input.vue.d.ts +3 -3
- package/es/components/yc-input/src/textarea.vue.d.ts +1 -1
- package/es/components/yc-input-otp/src/index.vue.d.ts +3 -3
- package/es/components/yc-pagination/src/index.vue.d.ts +2 -2
- package/es/components/yc-plus-page/src/index.vue.d.ts +1227 -1227
- package/es/components/yc-plus-tree/src/index.vue.d.ts +2 -2
- package/es/components/yc-property-table/src/asset-table.vue.d.ts +2 -2
- package/es/components/yc-property-table/src/bill-table.vue.d.ts +2 -2
- package/es/components/yc-property-table/src/device-table.vue.d.ts +2 -2
- package/es/components/yc-property-table/src/order-table.vue.d.ts +2 -2
- package/es/components/yc-property-table/src/property-table.vue.d.ts +6 -6
- package/es/components/yc-questionnaire/src/index.vue.d.ts +1 -1
- package/es/components/yc-select-v2/src/index.vue.d.ts +4 -4
- package/es/components/yc-status-dialog/src/index.vue.d.ts +2 -2
- package/es/components/yc-svg-icon/src/index.vue.d.ts +1 -1
- package/es/hooks/usePlusFormReset.d.ts +204 -204
- package/es/index.css +14 -13
- package/es/index.mjs +1 -1
- package/es/packages/components/index.mjs +1 -1
- package/es/packages/components/yc-display-cards/capability.mjs +25 -3
- package/es/packages/components/yc-display-cards/index.mjs +3 -1
- package/es/packages/components/yc-display-cards/src/detail-card.vue.mjs +1 -1
- package/es/packages/components/yc-display-cards/src/form-card.vue.mjs +6 -0
- package/es/packages/components/yc-display-cards/src/form-card2.vue.mjs +907 -0
- package/es/packages/components/yc-display-cards/src/metrics-card.vue.mjs +1 -1
- package/es/packages/components/yc-display-cards/src/table-card.vue.mjs +1 -1
- package/es/packages/components/yc-display-cards/src/table-card2.vue.mjs +78 -22
- package/es/version.d.ts +1 -1
- package/es/version.mjs +1 -1
- package/index.css +4 -3
- package/index.js +1527 -541
- package/index.min.css +4 -3
- package/index.min.js +38 -37
- package/index.min.mjs +36 -35
- package/index.mjs +1525 -540
- package/lib/components/chart/src/chart-card.vue.d.ts +21 -21
- package/lib/components/chart/src/chart-container.vue.d.ts +2 -2
- package/lib/components/chart/src/metric-card.vue.d.ts +1 -1
- package/lib/components/data-table/src/data-table.vue.d.ts +8 -8
- package/lib/components/descriptions/index.d.ts +12 -12
- package/lib/components/descriptions/src/index.vue.d.ts +4 -4
- package/lib/components/dialog/index.d.ts +12 -12
- package/lib/components/dialog/src/index.vue.d.ts +4 -4
- package/lib/components/dialog-form/index.d.ts +10 -10
- package/lib/components/dialog-form/src/index.vue.d.ts +6 -6
- package/lib/components/display-item/index.d.ts +15 -15
- package/lib/components/display-item/src/index.vue.d.ts +13 -13
- package/lib/components/drawer-form/index.d.ts +25 -25
- package/lib/components/drawer-form/src/index.vue.d.ts +11 -11
- package/lib/components/form/index.d.ts +52 -52
- package/lib/components/form/src/form-content.vue.d.ts +18 -18
- package/lib/components/form/src/index.vue.d.ts +24 -24
- package/lib/components/form-item/index.d.ts +67 -67
- package/lib/components/form-item/src/index.vue.d.ts +26 -26
- package/lib/components/input-tag/index.d.ts +3 -3
- package/lib/components/input-tag/src/index.vue.d.ts +3 -3
- package/lib/components/page/index.d.ts +1209 -1209
- package/lib/components/page/src/index.vue.d.ts +407 -407
- package/lib/components/pagination/index.d.ts +3 -3
- package/lib/components/pagination/src/index.vue.d.ts +1 -1
- package/lib/components/popover/index.d.ts +9 -9
- package/lib/components/popover/src/index.vue.d.ts +3 -3
- package/lib/components/radio/index.d.ts +5 -5
- package/lib/components/radio/src/index.vue.d.ts +5 -5
- package/lib/components/render/index.d.ts +1 -1
- package/lib/components/render/src/index.vue.d.ts +1 -1
- package/lib/components/search/index.d.ts +348 -348
- package/lib/components/search/src/index.vue.d.ts +120 -120
- 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-action-bar.vue.d.ts +2 -2
- package/lib/components/table/src/table-column.vue.d.ts +34 -34
- package/lib/components/utils/index.d.ts +4 -4
- package/lib/components/virtual-table/index.d.ts +3 -3
- package/lib/components/virtual-table/src/index.vue.d.ts +1 -1
- package/lib/components/yc-ai-chat/src/bubble.vue.d.ts +1 -1
- package/lib/components/yc-ai-chat/src/file-card.vue.d.ts +1 -1
- package/lib/components/yc-ai-chat/src/mobile-frame.vue.d.ts +1 -1
- package/lib/components/yc-ai-chat/src/select.vue.d.ts +5 -5
- package/lib/components/yc-ai-chat/src/sender.vue.d.ts +1 -1
- package/lib/components/yc-ai-chat/src/sidebar.vue.d.ts +2 -2
- package/lib/components/yc-ai-chat/src/studio.vue.d.ts +1 -1
- package/lib/components/yc-controls/src/choice-cards.vue.d.ts +2 -2
- package/lib/components/yc-controls/src/segmented.vue.d.ts +1 -1
- package/lib/components/yc-coss-table/src/coss-table.vue.d.ts +3 -3
- package/lib/components/yc-coss-table/src/table-head.vue.d.ts +2 -2
- package/lib/components/yc-date-picker/src/date-picker.vue.d.ts +1 -1
- package/lib/components/yc-display-cards/index.d.ts +20 -2
- package/lib/components/yc-display-cards/src/form-card.vue.d.ts +22 -0
- package/lib/components/yc-display-cards/src/table-card.vue.d.ts +1 -1
- package/lib/components/yc-display-cards/src/types.d.ts +56 -0
- package/lib/components/yc-gradient-card/src/index.vue.d.ts +2 -2
- package/lib/components/yc-input/src/input.vue.d.ts +5 -5
- package/lib/components/yc-input/src/money-input.vue.d.ts +4 -4
- package/lib/components/yc-input/src/stepper-input.vue.d.ts +3 -3
- package/lib/components/yc-input/src/textarea.vue.d.ts +1 -1
- package/lib/components/yc-input-otp/src/index.vue.d.ts +3 -3
- package/lib/components/yc-pagination/src/index.vue.d.ts +2 -2
- package/lib/components/yc-plus-page/src/index.vue.d.ts +1227 -1227
- package/lib/components/yc-plus-tree/src/index.vue.d.ts +2 -2
- package/lib/components/yc-property-table/src/asset-table.vue.d.ts +2 -2
- package/lib/components/yc-property-table/src/bill-table.vue.d.ts +2 -2
- package/lib/components/yc-property-table/src/device-table.vue.d.ts +2 -2
- package/lib/components/yc-property-table/src/order-table.vue.d.ts +2 -2
- package/lib/components/yc-property-table/src/property-table.vue.d.ts +6 -6
- package/lib/components/yc-questionnaire/src/index.vue.d.ts +1 -1
- package/lib/components/yc-select-v2/src/index.vue.d.ts +4 -4
- package/lib/components/yc-status-dialog/src/index.vue.d.ts +2 -2
- package/lib/components/yc-svg-icon/src/index.vue.d.ts +1 -1
- package/lib/hooks/usePlusFormReset.d.ts +204 -204
- package/lib/index.css +13 -12
- package/lib/index.js +1 -0
- package/lib/packages/components/index.js +1 -0
- package/lib/packages/components/yc-display-cards/capability.js +24 -2
- package/lib/packages/components/yc-display-cards/index.js +3 -0
- package/lib/packages/components/yc-display-cards/src/detail-card.vue.js +1 -1
- package/lib/packages/components/yc-display-cards/src/form-card.vue.js +10 -0
- package/lib/packages/components/yc-display-cards/src/form-card2.vue.js +911 -0
- package/lib/packages/components/yc-display-cards/src/metrics-card.vue.js +1 -1
- package/lib/packages/components/yc-display-cards/src/table-card.vue.js +1 -1
- package/lib/packages/components/yc-display-cards/src/table-card2.vue.js +77 -21
- package/lib/version.d.ts +1 -1
- package/lib/version.js +1 -1
- package/locale/en.js +1 -1
- package/locale/en.min.js +1 -1
- package/locale/en.min.mjs +1 -1
- package/locale/en.mjs +1 -1
- package/locale/ja.js +1 -1
- package/locale/ja.min.js +1 -1
- package/locale/ja.min.mjs +1 -1
- package/locale/ja.mjs +1 -1
- package/locale/ko.js +1 -1
- package/locale/ko.min.js +1 -1
- package/locale/ko.min.mjs +1 -1
- package/locale/ko.mjs +1 -1
- package/locale/zh-cn.js +1 -1
- package/locale/zh-cn.min.js +1 -1
- package/locale/zh-cn.min.mjs +1 -1
- package/locale/zh-cn.mjs +1 -1
- package/locale/zh-tw.js +1 -1
- package/locale/zh-tw.min.js +1 -1
- package/locale/zh-tw.min.mjs +1 -1
- package/locale/zh-tw.mjs +1 -1
- package/package.json +1 -1
- package/theme-chalk/index.css +4 -3
|
@@ -78,7 +78,7 @@ export declare const PlusDrawerForm: {
|
|
|
78
78
|
$root: ComponentPublicInstance | null;
|
|
79
79
|
$parent: ComponentPublicInstance | null;
|
|
80
80
|
$host: Element | null;
|
|
81
|
-
$emit: ((event: "
|
|
81
|
+
$emit: ((event: "close") => void) & ((event: "resize", evt: MouseEvent, size: number) => void) & ((event: "update:modelValue", value: boolean) => void) & ((event: "open") => void) & ((event: "opened") => void) & ((event: "closed") => void) & ((event: "openAutoFocus") => void) & ((event: "closeAutoFocus") => void) & ((event: "resize-start", evt: MouseEvent, size: number) => void) & ((event: "resize-end", evt: MouseEvent, size: number) => void);
|
|
82
82
|
$el: any;
|
|
83
83
|
$options: ComponentOptionsBase<Readonly< DrawerProps> & Readonly<{
|
|
84
84
|
onOpen?: (() => any) | undefined;
|
|
@@ -183,7 +183,7 @@ export declare const PlusDrawerForm: {
|
|
|
183
183
|
onCloseAutoFocus?: (() => any) | undefined;
|
|
184
184
|
"onResize-start"?: ((evt: MouseEvent, size: number) => any) | undefined;
|
|
185
185
|
"onResize-end"?: ((evt: MouseEvent, size: number) => any) | undefined;
|
|
186
|
-
}>, "title" | "
|
|
186
|
+
}>, "title" | "transition" | "size" | "showClose" | "appendTo" | "overflow" | "direction" | "draggable" | "headerClass" | "bodyClass" | "footerClass" | "closeOnPressEscape" | "closeOnClickModal" | "lockScroll" | "modal" | "openDelay" | "closeDelay" | "modalClass" | "headerAriaLevel" | "alignCenter" | "ariaLevel" | "handleClose" | "withHeader" | "modalFade"> & {
|
|
187
187
|
handleClose: () => void;
|
|
188
188
|
} & {} & ComponentCustomProperties & {} & {
|
|
189
189
|
$slots: {
|
|
@@ -260,7 +260,7 @@ export declare const PlusDrawerForm: {
|
|
|
260
260
|
$root: ComponentPublicInstance | null;
|
|
261
261
|
$parent: ComponentPublicInstance | null;
|
|
262
262
|
$host: Element | null;
|
|
263
|
-
$emit: ((event: "
|
|
263
|
+
$emit: ((event: "close") => void) & ((event: "resize", evt: MouseEvent, size: number) => void) & ((event: "update:modelValue", value: boolean) => void) & ((event: "open") => void) & ((event: "opened") => void) & ((event: "closed") => void) & ((event: "openAutoFocus") => void) & ((event: "closeAutoFocus") => void) & ((event: "resize-start", evt: MouseEvent, size: number) => void) & ((event: "resize-end", evt: MouseEvent, size: number) => void);
|
|
264
264
|
$el: any;
|
|
265
265
|
$options: ComponentOptionsBase<Readonly< DrawerProps> & Readonly<{
|
|
266
266
|
onOpen?: (() => any) | undefined;
|
|
@@ -365,7 +365,7 @@ export declare const PlusDrawerForm: {
|
|
|
365
365
|
onCloseAutoFocus?: (() => any) | undefined;
|
|
366
366
|
"onResize-start"?: ((evt: MouseEvent, size: number) => any) | undefined;
|
|
367
367
|
"onResize-end"?: ((evt: MouseEvent, size: number) => any) | undefined;
|
|
368
|
-
}>, "title" | "
|
|
368
|
+
}>, "title" | "transition" | "size" | "showClose" | "appendTo" | "overflow" | "direction" | "draggable" | "headerClass" | "bodyClass" | "footerClass" | "closeOnPressEscape" | "closeOnClickModal" | "lockScroll" | "modal" | "openDelay" | "closeDelay" | "modalClass" | "headerAriaLevel" | "alignCenter" | "ariaLevel" | "handleClose" | "withHeader" | "modalFade"> & {
|
|
369
369
|
handleClose: () => void;
|
|
370
370
|
} & {} & ComponentCustomProperties & {} & {
|
|
371
371
|
$slots: {
|
|
@@ -392,14 +392,14 @@ export declare const PlusDrawerForm: {
|
|
|
392
392
|
confirmError: (errors: unknown) => void;
|
|
393
393
|
}, PublicProps, {
|
|
394
394
|
form: PlusFormProps;
|
|
395
|
+
modelValue: FieldValues;
|
|
395
396
|
size: string | number;
|
|
396
397
|
visible: boolean;
|
|
397
|
-
modelValue: FieldValues;
|
|
398
398
|
hasErrorTip: boolean;
|
|
399
399
|
hasFooter: boolean;
|
|
400
|
-
confirmLoading: boolean;
|
|
401
|
-
cancelText: string;
|
|
402
400
|
confirmText: string;
|
|
401
|
+
cancelText: string;
|
|
402
|
+
confirmLoading: boolean;
|
|
403
403
|
drawer: Partial< Mutable<DrawerProps> & IntrinsicAttributes>;
|
|
404
404
|
}, true, {}, {}, GlobalComponents, GlobalDirectives, string, {}, any, ComponentProvideOptions, {
|
|
405
405
|
P: {};
|
|
@@ -477,7 +477,7 @@ export declare const PlusDrawerForm: {
|
|
|
477
477
|
$root: ComponentPublicInstance | null;
|
|
478
478
|
$parent: ComponentPublicInstance | null;
|
|
479
479
|
$host: Element | null;
|
|
480
|
-
$emit: ((event: "
|
|
480
|
+
$emit: ((event: "close") => void) & ((event: "resize", evt: MouseEvent, size: number) => void) & ((event: "update:modelValue", value: boolean) => void) & ((event: "open") => void) & ((event: "opened") => void) & ((event: "closed") => void) & ((event: "openAutoFocus") => void) & ((event: "closeAutoFocus") => void) & ((event: "resize-start", evt: MouseEvent, size: number) => void) & ((event: "resize-end", evt: MouseEvent, size: number) => void);
|
|
481
481
|
$el: any;
|
|
482
482
|
$options: ComponentOptionsBase<Readonly< DrawerProps> & Readonly<{
|
|
483
483
|
onOpen?: (() => any) | undefined;
|
|
@@ -582,7 +582,7 @@ export declare const PlusDrawerForm: {
|
|
|
582
582
|
onCloseAutoFocus?: (() => any) | undefined;
|
|
583
583
|
"onResize-start"?: ((evt: MouseEvent, size: number) => any) | undefined;
|
|
584
584
|
"onResize-end"?: ((evt: MouseEvent, size: number) => any) | undefined;
|
|
585
|
-
}>, "title" | "
|
|
585
|
+
}>, "title" | "transition" | "size" | "showClose" | "appendTo" | "overflow" | "direction" | "draggable" | "headerClass" | "bodyClass" | "footerClass" | "closeOnPressEscape" | "closeOnClickModal" | "lockScroll" | "modal" | "openDelay" | "closeDelay" | "modalClass" | "headerAriaLevel" | "alignCenter" | "ariaLevel" | "handleClose" | "withHeader" | "modalFade"> & {
|
|
586
586
|
handleClose: () => void;
|
|
587
587
|
} & {} & ComponentCustomProperties & {} & {
|
|
588
588
|
$slots: {
|
|
@@ -659,7 +659,7 @@ export declare const PlusDrawerForm: {
|
|
|
659
659
|
$root: ComponentPublicInstance | null;
|
|
660
660
|
$parent: ComponentPublicInstance | null;
|
|
661
661
|
$host: Element | null;
|
|
662
|
-
$emit: ((event: "
|
|
662
|
+
$emit: ((event: "close") => void) & ((event: "resize", evt: MouseEvent, size: number) => void) & ((event: "update:modelValue", value: boolean) => void) & ((event: "open") => void) & ((event: "opened") => void) & ((event: "closed") => void) & ((event: "openAutoFocus") => void) & ((event: "closeAutoFocus") => void) & ((event: "resize-start", evt: MouseEvent, size: number) => void) & ((event: "resize-end", evt: MouseEvent, size: number) => void);
|
|
663
663
|
$el: any;
|
|
664
664
|
$options: ComponentOptionsBase<Readonly< DrawerProps> & Readonly<{
|
|
665
665
|
onOpen?: (() => any) | undefined;
|
|
@@ -764,7 +764,7 @@ export declare const PlusDrawerForm: {
|
|
|
764
764
|
onCloseAutoFocus?: (() => any) | undefined;
|
|
765
765
|
"onResize-start"?: ((evt: MouseEvent, size: number) => any) | undefined;
|
|
766
766
|
"onResize-end"?: ((evt: MouseEvent, size: number) => any) | undefined;
|
|
767
|
-
}>, "title" | "
|
|
767
|
+
}>, "title" | "transition" | "size" | "showClose" | "appendTo" | "overflow" | "direction" | "draggable" | "headerClass" | "bodyClass" | "footerClass" | "closeOnPressEscape" | "closeOnClickModal" | "lockScroll" | "modal" | "openDelay" | "closeDelay" | "modalClass" | "headerAriaLevel" | "alignCenter" | "ariaLevel" | "handleClose" | "withHeader" | "modalFade"> & {
|
|
768
768
|
handleClose: () => void;
|
|
769
769
|
} & {} & ComponentCustomProperties & {} & {
|
|
770
770
|
$slots: {
|
|
@@ -784,14 +784,14 @@ export declare const PlusDrawerForm: {
|
|
|
784
784
|
formInstance: ComputedRef<FormInstance>;
|
|
785
785
|
}, {}, {}, {}, {
|
|
786
786
|
form: PlusFormProps;
|
|
787
|
+
modelValue: FieldValues;
|
|
787
788
|
size: string | number;
|
|
788
789
|
visible: boolean;
|
|
789
|
-
modelValue: FieldValues;
|
|
790
790
|
hasErrorTip: boolean;
|
|
791
791
|
hasFooter: boolean;
|
|
792
|
-
confirmLoading: boolean;
|
|
793
|
-
cancelText: string;
|
|
794
792
|
confirmText: string;
|
|
793
|
+
cancelText: string;
|
|
794
|
+
confirmLoading: boolean;
|
|
795
795
|
drawer: Partial< Mutable<DrawerProps> & IntrinsicAttributes>;
|
|
796
796
|
}>;
|
|
797
797
|
__isFragment?: never;
|
|
@@ -866,7 +866,7 @@ export declare const PlusDrawerForm: {
|
|
|
866
866
|
$root: ComponentPublicInstance | null;
|
|
867
867
|
$parent: ComponentPublicInstance | null;
|
|
868
868
|
$host: Element | null;
|
|
869
|
-
$emit: ((event: "
|
|
869
|
+
$emit: ((event: "close") => void) & ((event: "resize", evt: MouseEvent, size: number) => void) & ((event: "update:modelValue", value: boolean) => void) & ((event: "open") => void) & ((event: "opened") => void) & ((event: "closed") => void) & ((event: "openAutoFocus") => void) & ((event: "closeAutoFocus") => void) & ((event: "resize-start", evt: MouseEvent, size: number) => void) & ((event: "resize-end", evt: MouseEvent, size: number) => void);
|
|
870
870
|
$el: any;
|
|
871
871
|
$options: ComponentOptionsBase<Readonly< DrawerProps> & Readonly<{
|
|
872
872
|
onOpen?: (() => any) | undefined;
|
|
@@ -971,7 +971,7 @@ export declare const PlusDrawerForm: {
|
|
|
971
971
|
onCloseAutoFocus?: (() => any) | undefined;
|
|
972
972
|
"onResize-start"?: ((evt: MouseEvent, size: number) => any) | undefined;
|
|
973
973
|
"onResize-end"?: ((evt: MouseEvent, size: number) => any) | undefined;
|
|
974
|
-
}>, "title" | "
|
|
974
|
+
}>, "title" | "transition" | "size" | "showClose" | "appendTo" | "overflow" | "direction" | "draggable" | "headerClass" | "bodyClass" | "footerClass" | "closeOnPressEscape" | "closeOnClickModal" | "lockScroll" | "modal" | "openDelay" | "closeDelay" | "modalClass" | "headerAriaLevel" | "alignCenter" | "ariaLevel" | "handleClose" | "withHeader" | "modalFade"> & {
|
|
975
975
|
handleClose: () => void;
|
|
976
976
|
} & {} & ComponentCustomProperties & {} & {
|
|
977
977
|
$slots: {
|
|
@@ -1048,7 +1048,7 @@ export declare const PlusDrawerForm: {
|
|
|
1048
1048
|
$root: ComponentPublicInstance | null;
|
|
1049
1049
|
$parent: ComponentPublicInstance | null;
|
|
1050
1050
|
$host: Element | null;
|
|
1051
|
-
$emit: ((event: "
|
|
1051
|
+
$emit: ((event: "close") => void) & ((event: "resize", evt: MouseEvent, size: number) => void) & ((event: "update:modelValue", value: boolean) => void) & ((event: "open") => void) & ((event: "opened") => void) & ((event: "closed") => void) & ((event: "openAutoFocus") => void) & ((event: "closeAutoFocus") => void) & ((event: "resize-start", evt: MouseEvent, size: number) => void) & ((event: "resize-end", evt: MouseEvent, size: number) => void);
|
|
1052
1052
|
$el: any;
|
|
1053
1053
|
$options: ComponentOptionsBase<Readonly< DrawerProps> & Readonly<{
|
|
1054
1054
|
onOpen?: (() => any) | undefined;
|
|
@@ -1153,7 +1153,7 @@ export declare const PlusDrawerForm: {
|
|
|
1153
1153
|
onCloseAutoFocus?: (() => any) | undefined;
|
|
1154
1154
|
"onResize-start"?: ((evt: MouseEvent, size: number) => any) | undefined;
|
|
1155
1155
|
"onResize-end"?: ((evt: MouseEvent, size: number) => any) | undefined;
|
|
1156
|
-
}>, "title" | "
|
|
1156
|
+
}>, "title" | "transition" | "size" | "showClose" | "appendTo" | "overflow" | "direction" | "draggable" | "headerClass" | "bodyClass" | "footerClass" | "closeOnPressEscape" | "closeOnClickModal" | "lockScroll" | "modal" | "openDelay" | "closeDelay" | "modalClass" | "headerAriaLevel" | "alignCenter" | "ariaLevel" | "handleClose" | "withHeader" | "modalFade"> & {
|
|
1157
1157
|
handleClose: () => void;
|
|
1158
1158
|
} & {} & ComponentCustomProperties & {} & {
|
|
1159
1159
|
$slots: {
|
|
@@ -1180,14 +1180,14 @@ export declare const PlusDrawerForm: {
|
|
|
1180
1180
|
confirmError: (errors: unknown) => void;
|
|
1181
1181
|
}, string, {
|
|
1182
1182
|
form: PlusFormProps;
|
|
1183
|
+
modelValue: FieldValues;
|
|
1183
1184
|
size: string | number;
|
|
1184
1185
|
visible: boolean;
|
|
1185
|
-
modelValue: FieldValues;
|
|
1186
1186
|
hasErrorTip: boolean;
|
|
1187
1187
|
hasFooter: boolean;
|
|
1188
|
-
confirmLoading: boolean;
|
|
1189
|
-
cancelText: string;
|
|
1190
1188
|
confirmText: string;
|
|
1189
|
+
cancelText: string;
|
|
1190
|
+
confirmLoading: boolean;
|
|
1191
1191
|
drawer: Partial< Mutable<DrawerProps> & IntrinsicAttributes>;
|
|
1192
1192
|
}, {}, string, {}, GlobalComponents, GlobalDirectives, string, ComponentProvideOptions> & VNodeProps & AllowedComponentProps & ComponentCustomProps & (new () => {
|
|
1193
1193
|
$slots: Partial<Record<NonNullable<string | number>, (_: {
|
|
@@ -1195,8 +1195,8 @@ export declare const PlusDrawerForm: {
|
|
|
1195
1195
|
prop: PlusColumn["prop"];
|
|
1196
1196
|
}> & {
|
|
1197
1197
|
readonly label: string | ComputedRef<string>;
|
|
1198
|
-
readonly modelValue: string | number | boolean |
|
|
1199
|
-
readonly hasLabel: boolean |
|
|
1198
|
+
readonly modelValue: string | number | boolean | number[] | string[] | Date | [string, string] | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
1199
|
+
readonly hasLabel: boolean | ComputedRef<boolean> | Ref<boolean, boolean>;
|
|
1200
1200
|
readonly tooltip: string | ComputedRef<string> | Partial< Mutable<UseTooltipProps> & {
|
|
1201
1201
|
style?: CSSProperties;
|
|
1202
1202
|
class?: any;
|
|
@@ -1269,8 +1269,8 @@ export declare const PlusDrawerForm: {
|
|
|
1269
1269
|
fieldInstance?: any;
|
|
1270
1270
|
valueIsReady?: Ref<boolean>;
|
|
1271
1271
|
prop: PlusColumn["prop"];
|
|
1272
|
-
modelValue: string | number | boolean |
|
|
1273
|
-
hasLabel: boolean |
|
|
1272
|
+
modelValue: string | number | boolean | number[] | string[] | Date | [string, string] | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
1273
|
+
hasLabel: boolean | ComputedRef<boolean> | Ref<boolean, boolean>;
|
|
1274
1274
|
tooltip: string | ComputedRef<string> | Partial< Mutable<UseTooltipProps> & {
|
|
1275
1275
|
style?: CSSProperties;
|
|
1276
1276
|
class?: any;
|
|
@@ -34,8 +34,8 @@ declare function __VLS_template(): Partial<Record<NonNullable<string | number>,
|
|
|
34
34
|
prop: PlusColumn["prop"];
|
|
35
35
|
}> & {
|
|
36
36
|
readonly label: string | ComputedRef<string>;
|
|
37
|
-
readonly modelValue: string | number | boolean |
|
|
38
|
-
readonly hasLabel: boolean |
|
|
37
|
+
readonly modelValue: string | number | boolean | number[] | string[] | Date | [string, string] | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
38
|
+
readonly hasLabel: boolean | ComputedRef<boolean> | Ref<boolean, boolean>;
|
|
39
39
|
readonly tooltip: string | ComputedRef<string> | Partial<Mutable< UseTooltipProps> & {
|
|
40
40
|
style?: CSSProperties;
|
|
41
41
|
class?: any;
|
|
@@ -108,8 +108,8 @@ declare function __VLS_template(): Partial<Record<NonNullable<string | number>,
|
|
|
108
108
|
fieldInstance?: any;
|
|
109
109
|
valueIsReady?: Ref<boolean>;
|
|
110
110
|
prop: PlusColumn["prop"];
|
|
111
|
-
modelValue: string | number | boolean |
|
|
112
|
-
hasLabel: boolean |
|
|
111
|
+
modelValue: string | number | boolean | number[] | string[] | Date | [string, string] | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
112
|
+
hasLabel: boolean | ComputedRef<boolean> | Ref<boolean, boolean>;
|
|
113
113
|
tooltip: string | ComputedRef<string> | Partial<Mutable< UseTooltipProps> & {
|
|
114
114
|
style?: CSSProperties;
|
|
115
115
|
class?: any;
|
|
@@ -218,7 +218,7 @@ declare const __VLS_component: DefineComponent<unknown, {
|
|
|
218
218
|
$root: ComponentPublicInstance | null;
|
|
219
219
|
$parent: ComponentPublicInstance | null;
|
|
220
220
|
$host: Element | null;
|
|
221
|
-
$emit: ((event: "
|
|
221
|
+
$emit: ((event: "close") => void) & ((event: "resize", evt: MouseEvent, size: number) => void) & ((event: "update:modelValue", value: boolean) => void) & ((event: "open") => void) & ((event: "opened") => void) & ((event: "closed") => void) & ((event: "openAutoFocus") => void) & ((event: "closeAutoFocus") => void) & ((event: "resize-start", evt: MouseEvent, size: number) => void) & ((event: "resize-end", evt: MouseEvent, size: number) => void);
|
|
222
222
|
$el: any;
|
|
223
223
|
$options: ComponentOptionsBase<Readonly<DrawerProps> & Readonly<{
|
|
224
224
|
onOpen?: (() => any) | undefined;
|
|
@@ -323,7 +323,7 @@ declare const __VLS_component: DefineComponent<unknown, {
|
|
|
323
323
|
onCloseAutoFocus?: (() => any) | undefined;
|
|
324
324
|
"onResize-start"?: ((evt: MouseEvent, size: number) => any) | undefined;
|
|
325
325
|
"onResize-end"?: ((evt: MouseEvent, size: number) => any) | undefined;
|
|
326
|
-
}>, "title" | "
|
|
326
|
+
}>, "title" | "transition" | "size" | "showClose" | "appendTo" | "overflow" | "direction" | "draggable" | "headerClass" | "bodyClass" | "footerClass" | "closeOnPressEscape" | "closeOnClickModal" | "lockScroll" | "modal" | "openDelay" | "closeDelay" | "modalClass" | "headerAriaLevel" | "alignCenter" | "ariaLevel" | "handleClose" | "withHeader" | "modalFade"> & {
|
|
327
327
|
handleClose: () => void;
|
|
328
328
|
} & {} & ComponentCustomProperties & {} & {
|
|
329
329
|
$slots: {
|
|
@@ -400,7 +400,7 @@ declare const __VLS_component: DefineComponent<unknown, {
|
|
|
400
400
|
$root: ComponentPublicInstance | null;
|
|
401
401
|
$parent: ComponentPublicInstance | null;
|
|
402
402
|
$host: Element | null;
|
|
403
|
-
$emit: ((event: "
|
|
403
|
+
$emit: ((event: "close") => void) & ((event: "resize", evt: MouseEvent, size: number) => void) & ((event: "update:modelValue", value: boolean) => void) & ((event: "open") => void) & ((event: "opened") => void) & ((event: "closed") => void) & ((event: "openAutoFocus") => void) & ((event: "closeAutoFocus") => void) & ((event: "resize-start", evt: MouseEvent, size: number) => void) & ((event: "resize-end", evt: MouseEvent, size: number) => void);
|
|
404
404
|
$el: any;
|
|
405
405
|
$options: ComponentOptionsBase<Readonly<DrawerProps> & Readonly<{
|
|
406
406
|
onOpen?: (() => any) | undefined;
|
|
@@ -505,7 +505,7 @@ declare const __VLS_component: DefineComponent<unknown, {
|
|
|
505
505
|
onCloseAutoFocus?: (() => any) | undefined;
|
|
506
506
|
"onResize-start"?: ((evt: MouseEvent, size: number) => any) | undefined;
|
|
507
507
|
"onResize-end"?: ((evt: MouseEvent, size: number) => any) | undefined;
|
|
508
|
-
}>, "title" | "
|
|
508
|
+
}>, "title" | "transition" | "size" | "showClose" | "appendTo" | "overflow" | "direction" | "draggable" | "headerClass" | "bodyClass" | "footerClass" | "closeOnPressEscape" | "closeOnClickModal" | "lockScroll" | "modal" | "openDelay" | "closeDelay" | "modalClass" | "headerAriaLevel" | "alignCenter" | "ariaLevel" | "handleClose" | "withHeader" | "modalFade"> & {
|
|
509
509
|
handleClose: () => void;
|
|
510
510
|
} & {} & ComponentCustomProperties & {} & {
|
|
511
511
|
$slots: {
|
|
@@ -539,14 +539,14 @@ declare const __VLS_component: DefineComponent<unknown, {
|
|
|
539
539
|
onConfirmError?: ((errors: unknown) => any) | undefined;
|
|
540
540
|
}>, {
|
|
541
541
|
form: PlusFormProps;
|
|
542
|
+
modelValue: FieldValues;
|
|
542
543
|
size: string | number;
|
|
543
544
|
visible: boolean;
|
|
544
|
-
modelValue: FieldValues;
|
|
545
545
|
hasErrorTip: boolean;
|
|
546
546
|
hasFooter: boolean;
|
|
547
|
-
confirmLoading: boolean;
|
|
548
|
-
cancelText: string;
|
|
549
547
|
confirmText: string;
|
|
548
|
+
cancelText: string;
|
|
549
|
+
confirmLoading: boolean;
|
|
550
550
|
drawer: Partial<Mutable<DrawerProps> & IntrinsicAttributes>;
|
|
551
551
|
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
552
552
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { default as Form } from './src/index.vue';
|
|
2
2
|
import { CreateComponentPublicInstanceWithMixins, Ref, ComponentOptionsMixin, PublicProps, CSSProperties, GlobalComponents, GlobalDirectives, ComponentProvideOptions, ComponentOptionsBase, VNodeProps, AllowedComponentProps, ComponentCustomProps, ComputedRef, Component } from 'vue';
|
|
3
3
|
import { FieldValues, PlusColumn, Mutable, RecordType, PropsItemType, InputType, CascaderProps, OmitTypes, OptionsType, RenderTypes, TableValueType, FormItemValueType, FieldValueType, OptionsRow } from '../../types';
|
|
4
|
-
import { FormInstance,
|
|
5
|
-
import {
|
|
4
|
+
import { FormInstance, RowProps, ColProps, CardProps, UseTooltipProps, FormItemProps, DatePickerProps, TextProps, LinkProps, ProgressProps, SwitchProps, ImageProps, SliderProps, TimeSelectProps, InputNumberProps, TimePickerDefaultProps, SelectProps, InputAutoSize, AutocompleteProps, AutocompleteDataItem, CheckboxGroupProps, ColorPickerProps, InputProps, RadioGroupProps, RateProps, TagProps } from 'element-plus';
|
|
5
|
+
import { PlusFormGroupRow, ElementPlusFormProps } from './src/type';
|
|
6
6
|
import { PlusRadioProps, PlusDatePickerProps, PlusInputTagProps } from '../../agent-ui';
|
|
7
7
|
|
|
8
8
|
export type PlusFormInstance = InstanceType<typeof Form>;
|
|
@@ -13,8 +13,8 @@ export declare const PlusForm: {
|
|
|
13
13
|
onReset?: ((values: FieldValues) => any) | undefined;
|
|
14
14
|
onSubmit?: ((values: FieldValues) => any) | undefined;
|
|
15
15
|
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
16
|
-
onValidate?: ((...args: any[]) => any) | undefined;
|
|
17
16
|
onSubmitError?: ((errors: unknown) => any) | undefined;
|
|
17
|
+
onValidate?: ((...args: any[]) => any) | undefined;
|
|
18
18
|
}>, {
|
|
19
19
|
formInstance: Ref< FormInstance | null, FormInstance | null>;
|
|
20
20
|
handleSubmit: () => void;
|
|
@@ -27,31 +27,30 @@ export declare const PlusForm: {
|
|
|
27
27
|
submitError: (errors: unknown) => void;
|
|
28
28
|
validate: (...args: any[]) => void;
|
|
29
29
|
}, PublicProps, {
|
|
30
|
-
ellipsis: boolean;
|
|
31
|
-
layout: "grid" | "flex";
|
|
32
|
-
columns: PlusColumn[];
|
|
33
30
|
modelValue: FieldValues;
|
|
34
|
-
|
|
35
|
-
|
|
31
|
+
columns: PlusColumn[];
|
|
32
|
+
layout: "grid" | "flex";
|
|
33
|
+
ellipsis: boolean;
|
|
34
|
+
collapseDuration: number;
|
|
35
|
+
collapseTransition: boolean;
|
|
36
|
+
group: false | PlusFormGroupRow[];
|
|
36
37
|
labelWidth: ElementPlusFormProps["labelWidth"];
|
|
38
|
+
labelPosition: ElementPlusFormProps["labelPosition"];
|
|
37
39
|
labelSuffix: ElementPlusFormProps["labelSuffix"];
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
40
|
+
rules: ElementPlusFormProps["rules"];
|
|
41
|
+
defaultValues: FieldValues;
|
|
42
|
+
rowProps: Partial< Mutable<RowProps> & {
|
|
41
43
|
style?: CSSProperties;
|
|
42
44
|
class?: any;
|
|
43
45
|
} & RecordType>;
|
|
44
|
-
|
|
45
|
-
collapseDuration: number;
|
|
46
|
-
collapseTransition: boolean;
|
|
47
|
-
rowProps: Partial< Mutable<RowProps> & {
|
|
46
|
+
colProps: Partial< Mutable<ColProps> & {
|
|
48
47
|
style?: CSSProperties;
|
|
49
48
|
class?: any;
|
|
50
49
|
} & RecordType>;
|
|
51
|
-
defaultValues: FieldValues;
|
|
52
50
|
hasErrorTip: boolean;
|
|
53
51
|
hasFooter: boolean;
|
|
54
52
|
hasReset: boolean;
|
|
53
|
+
hasLabel: boolean;
|
|
55
54
|
submitText: string;
|
|
56
55
|
resetText: string;
|
|
57
56
|
submitLoading: boolean;
|
|
@@ -61,6 +60,7 @@ export declare const PlusForm: {
|
|
|
61
60
|
class?: any;
|
|
62
61
|
} & RecordType>;
|
|
63
62
|
prevent: boolean;
|
|
63
|
+
clearable: boolean;
|
|
64
64
|
}, true, {}, {}, GlobalComponents, GlobalDirectives, string, {}, any, ComponentProvideOptions, {
|
|
65
65
|
P: {};
|
|
66
66
|
B: {};
|
|
@@ -73,38 +73,37 @@ export declare const PlusForm: {
|
|
|
73
73
|
onReset?: ((values: FieldValues) => any) | undefined;
|
|
74
74
|
onSubmit?: ((values: FieldValues) => any) | undefined;
|
|
75
75
|
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
76
|
-
onValidate?: ((...args: any[]) => any) | undefined;
|
|
77
76
|
onSubmitError?: ((errors: unknown) => any) | undefined;
|
|
77
|
+
onValidate?: ((...args: any[]) => any) | undefined;
|
|
78
78
|
}>, {
|
|
79
79
|
formInstance: Ref< FormInstance | null, FormInstance | null>;
|
|
80
80
|
handleSubmit: () => void;
|
|
81
81
|
handleReset: () => void;
|
|
82
82
|
}, {}, {}, {}, {
|
|
83
|
-
ellipsis: boolean;
|
|
84
|
-
layout: "grid" | "flex";
|
|
85
|
-
columns: PlusColumn[];
|
|
86
83
|
modelValue: FieldValues;
|
|
87
|
-
|
|
88
|
-
|
|
84
|
+
columns: PlusColumn[];
|
|
85
|
+
layout: "grid" | "flex";
|
|
86
|
+
ellipsis: boolean;
|
|
87
|
+
collapseDuration: number;
|
|
88
|
+
collapseTransition: boolean;
|
|
89
|
+
group: false | PlusFormGroupRow[];
|
|
89
90
|
labelWidth: ElementPlusFormProps["labelWidth"];
|
|
91
|
+
labelPosition: ElementPlusFormProps["labelPosition"];
|
|
90
92
|
labelSuffix: ElementPlusFormProps["labelSuffix"];
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
93
|
+
rules: ElementPlusFormProps["rules"];
|
|
94
|
+
defaultValues: FieldValues;
|
|
95
|
+
rowProps: Partial< Mutable<RowProps> & {
|
|
94
96
|
style?: CSSProperties;
|
|
95
97
|
class?: any;
|
|
96
98
|
} & RecordType>;
|
|
97
|
-
|
|
98
|
-
collapseDuration: number;
|
|
99
|
-
collapseTransition: boolean;
|
|
100
|
-
rowProps: Partial< Mutable<RowProps> & {
|
|
99
|
+
colProps: Partial< Mutable<ColProps> & {
|
|
101
100
|
style?: CSSProperties;
|
|
102
101
|
class?: any;
|
|
103
102
|
} & RecordType>;
|
|
104
|
-
defaultValues: FieldValues;
|
|
105
103
|
hasErrorTip: boolean;
|
|
106
104
|
hasFooter: boolean;
|
|
107
105
|
hasReset: boolean;
|
|
106
|
+
hasLabel: boolean;
|
|
108
107
|
submitText: string;
|
|
109
108
|
resetText: string;
|
|
110
109
|
submitLoading: boolean;
|
|
@@ -114,6 +113,7 @@ export declare const PlusForm: {
|
|
|
114
113
|
class?: any;
|
|
115
114
|
} & RecordType>;
|
|
116
115
|
prevent: boolean;
|
|
116
|
+
clearable: boolean;
|
|
117
117
|
}>;
|
|
118
118
|
__isFragment?: never;
|
|
119
119
|
__isTeleport?: never;
|
|
@@ -123,8 +123,8 @@ export declare const PlusForm: {
|
|
|
123
123
|
onReset?: ((values: FieldValues) => any) | undefined;
|
|
124
124
|
onSubmit?: ((values: FieldValues) => any) | undefined;
|
|
125
125
|
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
126
|
-
onValidate?: ((...args: any[]) => any) | undefined;
|
|
127
126
|
onSubmitError?: ((errors: unknown) => any) | undefined;
|
|
127
|
+
onValidate?: ((...args: any[]) => any) | undefined;
|
|
128
128
|
}>, {
|
|
129
129
|
formInstance: Ref< FormInstance | null, FormInstance | null>;
|
|
130
130
|
handleSubmit: () => void;
|
|
@@ -137,31 +137,30 @@ export declare const PlusForm: {
|
|
|
137
137
|
submitError: (errors: unknown) => void;
|
|
138
138
|
validate: (...args: any[]) => void;
|
|
139
139
|
}, string, {
|
|
140
|
-
ellipsis: boolean;
|
|
141
|
-
layout: "grid" | "flex";
|
|
142
|
-
columns: PlusColumn[];
|
|
143
140
|
modelValue: FieldValues;
|
|
144
|
-
|
|
145
|
-
|
|
141
|
+
columns: PlusColumn[];
|
|
142
|
+
layout: "grid" | "flex";
|
|
143
|
+
ellipsis: boolean;
|
|
144
|
+
collapseDuration: number;
|
|
145
|
+
collapseTransition: boolean;
|
|
146
|
+
group: false | PlusFormGroupRow[];
|
|
146
147
|
labelWidth: ElementPlusFormProps["labelWidth"];
|
|
148
|
+
labelPosition: ElementPlusFormProps["labelPosition"];
|
|
147
149
|
labelSuffix: ElementPlusFormProps["labelSuffix"];
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
150
|
+
rules: ElementPlusFormProps["rules"];
|
|
151
|
+
defaultValues: FieldValues;
|
|
152
|
+
rowProps: Partial< Mutable<RowProps> & {
|
|
151
153
|
style?: CSSProperties;
|
|
152
154
|
class?: any;
|
|
153
155
|
} & RecordType>;
|
|
154
|
-
|
|
155
|
-
collapseDuration: number;
|
|
156
|
-
collapseTransition: boolean;
|
|
157
|
-
rowProps: Partial< Mutable<RowProps> & {
|
|
156
|
+
colProps: Partial< Mutable<ColProps> & {
|
|
158
157
|
style?: CSSProperties;
|
|
159
158
|
class?: any;
|
|
160
159
|
} & RecordType>;
|
|
161
|
-
defaultValues: FieldValues;
|
|
162
160
|
hasErrorTip: boolean;
|
|
163
161
|
hasFooter: boolean;
|
|
164
162
|
hasReset: boolean;
|
|
163
|
+
hasLabel: boolean;
|
|
165
164
|
submitText: string;
|
|
166
165
|
resetText: string;
|
|
167
166
|
submitLoading: boolean;
|
|
@@ -171,6 +170,7 @@ export declare const PlusForm: {
|
|
|
171
170
|
class?: any;
|
|
172
171
|
} & RecordType>;
|
|
173
172
|
prevent: boolean;
|
|
173
|
+
clearable: boolean;
|
|
174
174
|
}, {}, string, {}, GlobalComponents, GlobalDirectives, string, ComponentProvideOptions> & VNodeProps & AllowedComponentProps & ComponentCustomProps & (new () => {
|
|
175
175
|
$slots: Partial<Record<string, (_: {
|
|
176
176
|
index: number;
|
|
@@ -188,8 +188,8 @@ export declare const PlusForm: {
|
|
|
188
188
|
prop: PlusColumn["prop"];
|
|
189
189
|
}> & {
|
|
190
190
|
readonly label: string | ComputedRef<string>;
|
|
191
|
-
readonly modelValue: string | number | boolean |
|
|
192
|
-
readonly hasLabel: boolean |
|
|
191
|
+
readonly modelValue: string | number | boolean | number[] | string[] | Date | [string, string] | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
192
|
+
readonly hasLabel: boolean | ComputedRef<boolean> | Ref<boolean, boolean>;
|
|
193
193
|
readonly tooltip: string | ComputedRef<string> | Partial< Mutable<UseTooltipProps> & {
|
|
194
194
|
style?: CSSProperties;
|
|
195
195
|
class?: any;
|
|
@@ -262,8 +262,8 @@ export declare const PlusForm: {
|
|
|
262
262
|
fieldInstance?: any;
|
|
263
263
|
valueIsReady?: Ref<boolean>;
|
|
264
264
|
prop: PlusColumn["prop"];
|
|
265
|
-
modelValue: string | number | boolean |
|
|
266
|
-
hasLabel: boolean |
|
|
265
|
+
modelValue: string | number | boolean | number[] | string[] | Date | [string, string] | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
266
|
+
hasLabel: boolean | ComputedRef<boolean> | Ref<boolean, boolean>;
|
|
267
267
|
tooltip: string | ComputedRef<string> | Partial< Mutable<UseTooltipProps> & {
|
|
268
268
|
style?: CSSProperties;
|
|
269
269
|
class?: any;
|
|
@@ -301,8 +301,8 @@ export declare const PlusForm: {
|
|
|
301
301
|
prop: PlusColumn["prop"];
|
|
302
302
|
}> & {
|
|
303
303
|
readonly label: string | ComputedRef<string>;
|
|
304
|
-
readonly modelValue: string | number | boolean |
|
|
305
|
-
readonly hasLabel: boolean |
|
|
304
|
+
readonly modelValue: string | number | boolean | number[] | string[] | Date | [string, string] | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
305
|
+
readonly hasLabel: boolean | ComputedRef<boolean> | Ref<boolean, boolean>;
|
|
306
306
|
readonly tooltip: string | ComputedRef<string> | Partial< Mutable<UseTooltipProps> & {
|
|
307
307
|
style?: CSSProperties;
|
|
308
308
|
class?: any;
|
|
@@ -375,8 +375,8 @@ export declare const PlusForm: {
|
|
|
375
375
|
fieldInstance?: any;
|
|
376
376
|
valueIsReady?: Ref<boolean>;
|
|
377
377
|
prop: PlusColumn["prop"];
|
|
378
|
-
modelValue: string | number | boolean |
|
|
379
|
-
hasLabel: boolean |
|
|
378
|
+
modelValue: string | number | boolean | number[] | string[] | Date | [string, string] | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
379
|
+
hasLabel: boolean | ComputedRef<boolean> | Ref<boolean, boolean>;
|
|
380
380
|
tooltip: string | ComputedRef<string> | Partial< Mutable<UseTooltipProps> & {
|
|
381
381
|
style?: CSSProperties;
|
|
382
382
|
class?: any;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Ref, ComputedRef, CSSProperties, DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
|
2
2
|
import { PlusColumn, FieldValues, FieldValueType, PlusRowProps, PlusColProps, TableValueType, FormItemValueType, RecordType, OptionsType, OptionsRow, PlusTooltipProps, RenderTypes, PropsItemType, Mutable, FieldProps, InputType, CascaderProps, OmitTypes } from '../../../types';
|
|
3
|
-
import { TableColumnCtx, FormItemProps, UseTooltipProps, DatePickerProps, TextProps, LinkProps, ProgressProps, SwitchProps, ImageProps, SliderProps, TimeSelectProps, InputNumberProps, TimePickerDefaultProps, SelectProps, InputAutoSize, AutocompleteProps, AutocompleteDataItem, CheckboxGroupProps, ColorPickerProps, InputProps, RadioGroupProps, RateProps, TagProps,
|
|
3
|
+
import { TableColumnCtx, FormItemProps, UseTooltipProps, DatePickerProps, TextProps, LinkProps, ProgressProps, SwitchProps, ImageProps, SliderProps, TimeSelectProps, InputNumberProps, TimePickerDefaultProps, SelectProps, InputAutoSize, AutocompleteProps, AutocompleteDataItem, CheckboxGroupProps, ColorPickerProps, InputProps, RadioGroupProps, RateProps, TagProps, RowProps, ColProps } from 'element-plus';
|
|
4
4
|
import { PlusFormProps, PlusRadioProps, PlusDatePickerProps, PlusInputTagProps } from '../../../agent-ui';
|
|
5
5
|
|
|
6
6
|
export interface PlusFormContentProps {
|
|
@@ -139,8 +139,8 @@ declare function __VLS_template(): Partial<Record<string, (_: {
|
|
|
139
139
|
prop: PlusColumn["prop"];
|
|
140
140
|
}> & {
|
|
141
141
|
readonly label: string | ComputedRef<string>;
|
|
142
|
-
readonly modelValue: string | number | boolean |
|
|
143
|
-
readonly hasLabel: boolean |
|
|
142
|
+
readonly modelValue: string | number | boolean | number[] | string[] | Date | [string, string] | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
143
|
+
readonly hasLabel: boolean | ComputedRef<boolean> | Ref<boolean, boolean>;
|
|
144
144
|
readonly tooltip: string | ComputedRef<string> | Partial< Mutable<UseTooltipProps> & {
|
|
145
145
|
style?: CSSProperties;
|
|
146
146
|
class?: any;
|
|
@@ -213,8 +213,8 @@ declare function __VLS_template(): Partial<Record<string, (_: {
|
|
|
213
213
|
fieldInstance?: any;
|
|
214
214
|
valueIsReady?: Ref<boolean>;
|
|
215
215
|
prop: PlusColumn["prop"];
|
|
216
|
-
modelValue: string | number | boolean |
|
|
217
|
-
hasLabel: boolean |
|
|
216
|
+
modelValue: string | number | boolean | number[] | string[] | Date | [string, string] | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
217
|
+
hasLabel: boolean | ComputedRef<boolean> | Ref<boolean, boolean>;
|
|
218
218
|
tooltip: string | ComputedRef<string> | Partial< Mutable<UseTooltipProps> & {
|
|
219
219
|
style?: CSSProperties;
|
|
220
220
|
class?: any;
|
|
@@ -252,8 +252,8 @@ declare function __VLS_template(): Partial<Record<string, (_: {
|
|
|
252
252
|
prop: PlusColumn["prop"];
|
|
253
253
|
}> & {
|
|
254
254
|
readonly label: string | ComputedRef<string>;
|
|
255
|
-
readonly modelValue: string | number | boolean |
|
|
256
|
-
readonly hasLabel: boolean |
|
|
255
|
+
readonly modelValue: string | number | boolean | number[] | string[] | Date | [string, string] | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
256
|
+
readonly hasLabel: boolean | ComputedRef<boolean> | Ref<boolean, boolean>;
|
|
257
257
|
readonly tooltip: string | ComputedRef<string> | Partial< Mutable<UseTooltipProps> & {
|
|
258
258
|
style?: CSSProperties;
|
|
259
259
|
class?: any;
|
|
@@ -326,8 +326,8 @@ declare function __VLS_template(): Partial<Record<string, (_: {
|
|
|
326
326
|
fieldInstance?: any;
|
|
327
327
|
valueIsReady?: Ref<boolean>;
|
|
328
328
|
prop: PlusColumn["prop"];
|
|
329
|
-
modelValue: string | number | boolean |
|
|
330
|
-
hasLabel: boolean |
|
|
329
|
+
modelValue: string | number | boolean | number[] | string[] | Date | [string, string] | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
330
|
+
hasLabel: boolean | ComputedRef<boolean> | Ref<boolean, boolean>;
|
|
331
331
|
tooltip: string | ComputedRef<string> | Partial< Mutable<UseTooltipProps> & {
|
|
332
332
|
style?: CSSProperties;
|
|
333
333
|
class?: any;
|
|
@@ -466,22 +466,22 @@ declare const __VLS_component: DefineComponent<unknown, {}, {}, {}, {}, Componen
|
|
|
466
466
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
467
467
|
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
468
468
|
}>, {
|
|
469
|
-
ellipsis: boolean;
|
|
470
|
-
layout: "grid" | "flex";
|
|
471
|
-
columns: PlusColumn[];
|
|
472
469
|
modelValue: FieldValues;
|
|
473
|
-
|
|
474
|
-
|
|
475
|
-
|
|
476
|
-
class?: any;
|
|
477
|
-
} & RecordType>;
|
|
478
|
-
hasLabel: boolean;
|
|
470
|
+
columns: PlusColumn[];
|
|
471
|
+
layout: "grid" | "flex";
|
|
472
|
+
ellipsis: boolean;
|
|
479
473
|
collapseDuration: number;
|
|
480
474
|
collapseTransition: boolean;
|
|
481
475
|
rowProps: Partial< Mutable<RowProps> & {
|
|
482
476
|
style?: CSSProperties;
|
|
483
477
|
class?: any;
|
|
484
478
|
} & RecordType>;
|
|
479
|
+
colProps: Partial< Mutable<ColProps> & {
|
|
480
|
+
style?: CSSProperties;
|
|
481
|
+
class?: any;
|
|
482
|
+
} & RecordType>;
|
|
483
|
+
hasLabel: boolean;
|
|
484
|
+
clearable: boolean;
|
|
485
485
|
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
486
486
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
|
|
487
487
|
export default _default;
|