yc-agent-ui 1.2.7 → 1.2.10
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 +10 -10
- package/es/components/descriptions/index.d.ts +9 -9
- package/es/components/descriptions/src/index.vue.d.ts +3 -3
- package/es/components/dialog/index.d.ts +6 -6
- package/es/components/dialog/src/index.vue.d.ts +2 -2
- package/es/components/dialog-form/index.d.ts +10 -10
- package/es/components/dialog-form/src/index.vue.d.ts +6 -6
- package/es/components/display-item/index.d.ts +12 -12
- package/es/components/display-item/src/index.vue.d.ts +12 -12
- package/es/components/drawer-form/index.d.ts +19 -19
- package/es/components/drawer-form/src/index.vue.d.ts +9 -9
- package/es/components/form/index.d.ts +45 -45
- package/es/components/form/src/form-content.vue.d.ts +18 -18
- package/es/components/form/src/index.vue.d.ts +21 -21
- package/es/components/form-item/index.d.ts +43 -43
- package/es/components/form-item/src/index.vue.d.ts +18 -18
- package/es/components/input-tag/index.d.ts +3 -3
- package/es/components/input-tag/src/index.vue.d.ts +3 -3
- package/es/components/page/index.d.ts +1160 -1160
- package/es/components/page/src/index.vue.d.ts +391 -391
- package/es/components/pagination/index.d.ts +3 -3
- package/es/components/pagination/src/index.vue.d.ts +1 -1
- package/es/components/radio/index.d.ts +5 -5
- package/es/components/radio/src/index.vue.d.ts +5 -5
- package/es/components/render/index.d.ts +1 -1
- package/es/components/render/src/index.vue.d.ts +1 -1
- package/es/components/search/index.d.ts +308 -308
- package/es/components/search/src/index.vue.d.ts +106 -106
- package/es/components/table/index.d.ts +18 -18
- package/es/components/table/src/index.vue.d.ts +2 -2
- package/es/components/table/src/table-action-bar.vue.d.ts +2 -2
- package/es/components/table/src/table-column.vue.d.ts +24 -24
- package/es/components/utils/index.d.ts +3 -3
- package/es/components/virtual-table/index.d.ts +13 -13
- package/es/components/virtual-table/src/index.vue.d.ts +4 -4
- package/es/components/yc-ai-chat/src/bubble.vue.d.ts +2 -2
- 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 +2 -2
- package/es/components/yc-ai-chat/src/sidebar.vue.d.ts +3 -3
- 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 +6 -6
- package/es/components/yc-coss-table/src/table-head.vue.d.ts +2 -2
- package/es/components/yc-coss-table/src/table.vue.d.ts +1 -1
- package/es/components/yc-date-picker/src/date-picker.vue.d.ts +1 -1
- package/es/components/yc-display-cards/index.d.ts +221 -5
- package/es/components/yc-display-cards/src/card-renderer.vue.d.ts +16 -0
- package/es/components/yc-display-cards/src/elements/action-bar.vue.d.ts +12 -0
- package/es/components/yc-display-cards/src/elements/card-shell.vue.d.ts +24 -0
- package/es/components/yc-display-cards/src/elements/choice-group.vue.d.ts +14 -0
- package/es/components/yc-display-cards/src/elements/data-table.vue.d.ts +10 -0
- package/es/components/yc-display-cards/src/elements/field-control.vue.d.ts +22 -0
- package/es/components/yc-display-cards/src/elements/field-utils.d.ts +16 -0
- package/es/components/yc-display-cards/src/elements/form-field.vue.d.ts +18 -0
- package/es/components/yc-display-cards/src/elements/inline-alert.vue.d.ts +14 -0
- package/es/components/yc-display-cards/src/elements/input.vue.d.ts +20 -0
- package/es/components/yc-display-cards/src/elements/kv-list.vue.d.ts +8 -0
- package/es/components/yc-display-cards/src/elements/metric-grid.vue.d.ts +7 -0
- package/es/components/yc-display-cards/src/elements/status-tag.vue.d.ts +6 -0
- package/es/components/yc-display-cards/src/elements/switch.vue.d.ts +10 -0
- package/es/components/yc-display-cards/src/elements/upload.vue.d.ts +17 -0
- package/es/components/yc-display-cards/src/elements/use-card-form.d.ts +23 -0
- package/es/components/yc-display-cards/src/form-card.vue.d.ts +7 -3
- package/es/components/yc-display-cards/src/table-card.vue.d.ts +2 -3
- package/es/components/yc-display-cards/src/types.d.ts +190 -0
- package/es/components/yc-feedback/src/banner.vue.d.ts +1 -1
- package/es/components/yc-feedback/src/key-value-list.vue.d.ts +1 -1
- 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 +3 -3
- package/es/components/yc-input-otp/src/index.vue.d.ts +3 -3
- package/es/components/yc-pagination/src/index.vue.d.ts +2 -2
- package/es/components/yc-plus-page/src/header-filter-cell.vue.d.ts +8 -8
- package/es/components/yc-plus-page/src/index.vue.d.ts +1180 -1180
- 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 +8 -8
- 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 +1 -1
- package/es/components/yc-svg-icon/src/index.vue.d.ts +1 -1
- package/es/hooks/usePlusFormReset.d.ts +168 -168
- package/es/index.css +29 -16
- package/es/index.mjs +3 -1
- package/es/packages/components/index.mjs +3 -1
- package/es/packages/components/yc-display-cards/capability.mjs +57 -1
- package/es/packages/components/yc-display-cards/index.mjs +31 -1
- package/es/packages/components/yc-display-cards/src/card-renderer.vue.mjs +6 -0
- package/es/packages/components/yc-display-cards/src/card-renderer2.vue.mjs +295 -0
- package/es/packages/components/yc-display-cards/src/detail-card.vue.mjs +1 -1
- package/es/packages/components/yc-display-cards/src/detail-card2.vue.mjs +28 -94
- package/es/packages/components/yc-display-cards/src/elements/action-bar.vue.mjs +6 -0
- package/es/packages/components/yc-display-cards/src/elements/action-bar2.vue.mjs +38 -0
- package/es/packages/components/yc-display-cards/src/elements/card-shell.vue.mjs +6 -0
- package/es/packages/components/yc-display-cards/src/elements/card-shell2.vue.mjs +85 -0
- package/es/packages/components/yc-display-cards/src/elements/choice-group.vue.mjs +6 -0
- package/es/packages/components/yc-display-cards/src/elements/choice-group2.vue.mjs +57 -0
- package/es/packages/components/yc-display-cards/src/elements/data-table.vue.mjs +6 -0
- package/es/packages/components/yc-display-cards/src/elements/data-table2.vue.mjs +184 -0
- package/es/packages/components/yc-display-cards/src/elements/field-control.vue.mjs +5 -0
- package/es/packages/components/yc-display-cards/src/elements/field-control2.vue.mjs +92 -0
- package/es/packages/components/yc-display-cards/src/elements/field-utils.mjs +121 -0
- package/es/packages/components/yc-display-cards/src/elements/form-field.vue.mjs +6 -0
- package/es/packages/components/yc-display-cards/src/elements/form-field2.vue.mjs +68 -0
- package/es/packages/components/yc-display-cards/src/elements/inline-alert.vue.mjs +6 -0
- package/es/packages/components/yc-display-cards/src/elements/inline-alert2.vue.mjs +29 -0
- package/es/packages/components/yc-display-cards/src/elements/input.vue.mjs +6 -0
- package/es/packages/components/yc-display-cards/src/elements/input2.vue.mjs +142 -0
- package/es/packages/components/yc-display-cards/src/elements/kv-list.vue.mjs +6 -0
- package/es/packages/components/yc-display-cards/src/elements/kv-list2.vue.mjs +63 -0
- package/es/packages/components/yc-display-cards/src/elements/metric-grid.vue.mjs +6 -0
- package/es/packages/components/yc-display-cards/src/elements/metric-grid2.vue.mjs +97 -0
- package/es/packages/components/yc-display-cards/src/elements/status-tag.vue.mjs +6 -0
- package/es/packages/components/yc-display-cards/src/elements/status-tag2.vue.mjs +25 -0
- package/es/packages/components/yc-display-cards/src/elements/switch.vue.mjs +6 -0
- package/es/packages/components/yc-display-cards/src/elements/switch2.vue.mjs +35 -0
- package/es/packages/components/yc-display-cards/src/elements/upload.vue.mjs +6 -0
- package/es/packages/components/yc-display-cards/src/elements/upload2.vue.mjs +196 -0
- package/es/packages/components/yc-display-cards/src/elements/use-card-form.mjs +80 -0
- package/es/packages/components/yc-display-cards/src/form-card.vue.mjs +1 -1
- package/es/packages/components/yc-display-cards/src/form-card2.vue.mjs +171 -783
- package/es/packages/components/yc-display-cards/src/metrics-card.vue.mjs +1 -1
- package/es/packages/components/yc-display-cards/src/metrics-card2.vue.mjs +19 -114
- 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 +50 -232
- package/es/packages/components/yc-status-dialog/src/index.vue.mjs +1 -1
- package/es/version.d.ts +1 -1
- package/es/version.mjs +1 -1
- package/index.css +20 -7
- package/index.js +2235 -1546
- package/index.min.css +19 -6
- package/index.min.js +37 -37
- package/index.min.mjs +36 -36
- package/index.mjs +2215 -1545
- 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 +10 -10
- package/lib/components/descriptions/index.d.ts +9 -9
- package/lib/components/descriptions/src/index.vue.d.ts +3 -3
- package/lib/components/dialog/index.d.ts +6 -6
- package/lib/components/dialog/src/index.vue.d.ts +2 -2
- package/lib/components/dialog-form/index.d.ts +10 -10
- package/lib/components/dialog-form/src/index.vue.d.ts +6 -6
- package/lib/components/display-item/index.d.ts +12 -12
- package/lib/components/display-item/src/index.vue.d.ts +12 -12
- package/lib/components/drawer-form/index.d.ts +19 -19
- package/lib/components/drawer-form/src/index.vue.d.ts +9 -9
- package/lib/components/form/index.d.ts +45 -45
- package/lib/components/form/src/form-content.vue.d.ts +18 -18
- package/lib/components/form/src/index.vue.d.ts +21 -21
- package/lib/components/form-item/index.d.ts +43 -43
- package/lib/components/form-item/src/index.vue.d.ts +18 -18
- package/lib/components/input-tag/index.d.ts +3 -3
- package/lib/components/input-tag/src/index.vue.d.ts +3 -3
- package/lib/components/page/index.d.ts +1160 -1160
- package/lib/components/page/src/index.vue.d.ts +391 -391
- package/lib/components/pagination/index.d.ts +3 -3
- package/lib/components/pagination/src/index.vue.d.ts +1 -1
- package/lib/components/radio/index.d.ts +5 -5
- package/lib/components/radio/src/index.vue.d.ts +5 -5
- package/lib/components/render/index.d.ts +1 -1
- package/lib/components/render/src/index.vue.d.ts +1 -1
- package/lib/components/search/index.d.ts +308 -308
- package/lib/components/search/src/index.vue.d.ts +106 -106
- package/lib/components/table/index.d.ts +18 -18
- package/lib/components/table/src/index.vue.d.ts +2 -2
- package/lib/components/table/src/table-action-bar.vue.d.ts +2 -2
- package/lib/components/table/src/table-column.vue.d.ts +24 -24
- package/lib/components/utils/index.d.ts +3 -3
- package/lib/components/virtual-table/index.d.ts +13 -13
- package/lib/components/virtual-table/src/index.vue.d.ts +4 -4
- package/lib/components/yc-ai-chat/src/bubble.vue.d.ts +2 -2
- 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 +2 -2
- package/lib/components/yc-ai-chat/src/sidebar.vue.d.ts +3 -3
- 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 +6 -6
- package/lib/components/yc-coss-table/src/table-head.vue.d.ts +2 -2
- package/lib/components/yc-coss-table/src/table.vue.d.ts +1 -1
- package/lib/components/yc-date-picker/src/date-picker.vue.d.ts +1 -1
- package/lib/components/yc-display-cards/index.d.ts +221 -5
- package/lib/components/yc-display-cards/src/card-renderer.vue.d.ts +16 -0
- package/lib/components/yc-display-cards/src/elements/action-bar.vue.d.ts +12 -0
- package/lib/components/yc-display-cards/src/elements/card-shell.vue.d.ts +24 -0
- package/lib/components/yc-display-cards/src/elements/choice-group.vue.d.ts +14 -0
- package/lib/components/yc-display-cards/src/elements/data-table.vue.d.ts +10 -0
- package/lib/components/yc-display-cards/src/elements/field-control.vue.d.ts +22 -0
- package/lib/components/yc-display-cards/src/elements/field-utils.d.ts +16 -0
- package/lib/components/yc-display-cards/src/elements/form-field.vue.d.ts +18 -0
- package/lib/components/yc-display-cards/src/elements/inline-alert.vue.d.ts +14 -0
- package/lib/components/yc-display-cards/src/elements/input.vue.d.ts +20 -0
- package/lib/components/yc-display-cards/src/elements/kv-list.vue.d.ts +8 -0
- package/lib/components/yc-display-cards/src/elements/metric-grid.vue.d.ts +7 -0
- package/lib/components/yc-display-cards/src/elements/status-tag.vue.d.ts +6 -0
- package/lib/components/yc-display-cards/src/elements/switch.vue.d.ts +10 -0
- package/lib/components/yc-display-cards/src/elements/upload.vue.d.ts +17 -0
- package/lib/components/yc-display-cards/src/elements/use-card-form.d.ts +23 -0
- package/lib/components/yc-display-cards/src/form-card.vue.d.ts +7 -3
- package/lib/components/yc-display-cards/src/table-card.vue.d.ts +2 -3
- package/lib/components/yc-display-cards/src/types.d.ts +190 -0
- package/lib/components/yc-feedback/src/banner.vue.d.ts +1 -1
- package/lib/components/yc-feedback/src/key-value-list.vue.d.ts +1 -1
- 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 +3 -3
- package/lib/components/yc-input-otp/src/index.vue.d.ts +3 -3
- package/lib/components/yc-pagination/src/index.vue.d.ts +2 -2
- package/lib/components/yc-plus-page/src/header-filter-cell.vue.d.ts +8 -8
- package/lib/components/yc-plus-page/src/index.vue.d.ts +1180 -1180
- 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 +8 -8
- 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 +1 -1
- package/lib/components/yc-svg-icon/src/index.vue.d.ts +1 -1
- package/lib/hooks/usePlusFormReset.d.ts +168 -168
- package/lib/index.css +28 -15
- package/lib/index.js +28 -7
- package/lib/packages/components/index.js +28 -7
- package/lib/packages/components/yc-display-cards/capability.js +56 -0
- package/lib/packages/components/yc-display-cards/index.js +49 -0
- package/lib/packages/components/yc-display-cards/src/card-renderer.vue.js +10 -0
- package/lib/packages/components/yc-display-cards/src/card-renderer2.vue.js +299 -0
- package/lib/packages/components/yc-display-cards/src/detail-card.vue.js +1 -1
- package/lib/packages/components/yc-display-cards/src/detail-card2.vue.js +27 -93
- package/lib/packages/components/yc-display-cards/src/elements/action-bar.vue.js +10 -0
- package/lib/packages/components/yc-display-cards/src/elements/action-bar2.vue.js +42 -0
- package/lib/packages/components/yc-display-cards/src/elements/card-shell.vue.js +10 -0
- package/lib/packages/components/yc-display-cards/src/elements/card-shell2.vue.js +89 -0
- package/lib/packages/components/yc-display-cards/src/elements/choice-group.vue.js +10 -0
- package/lib/packages/components/yc-display-cards/src/elements/choice-group2.vue.js +61 -0
- package/lib/packages/components/yc-display-cards/src/elements/data-table.vue.js +10 -0
- package/lib/packages/components/yc-display-cards/src/elements/data-table2.vue.js +188 -0
- package/lib/packages/components/yc-display-cards/src/elements/field-control.vue.js +9 -0
- package/lib/packages/components/yc-display-cards/src/elements/field-control2.vue.js +96 -0
- package/lib/packages/components/yc-display-cards/src/elements/field-utils.js +134 -0
- package/lib/packages/components/yc-display-cards/src/elements/form-field.vue.js +10 -0
- package/lib/packages/components/yc-display-cards/src/elements/form-field2.vue.js +72 -0
- package/lib/packages/components/yc-display-cards/src/elements/inline-alert.vue.js +10 -0
- package/lib/packages/components/yc-display-cards/src/elements/inline-alert2.vue.js +33 -0
- package/lib/packages/components/yc-display-cards/src/elements/input.vue.js +10 -0
- package/lib/packages/components/yc-display-cards/src/elements/input2.vue.js +146 -0
- package/lib/packages/components/yc-display-cards/src/elements/kv-list.vue.js +10 -0
- package/lib/packages/components/yc-display-cards/src/elements/kv-list2.vue.js +67 -0
- package/lib/packages/components/yc-display-cards/src/elements/metric-grid.vue.js +10 -0
- package/lib/packages/components/yc-display-cards/src/elements/metric-grid2.vue.js +101 -0
- package/lib/packages/components/yc-display-cards/src/elements/status-tag.vue.js +10 -0
- package/lib/packages/components/yc-display-cards/src/elements/status-tag2.vue.js +29 -0
- package/lib/packages/components/yc-display-cards/src/elements/switch.vue.js +10 -0
- package/lib/packages/components/yc-display-cards/src/elements/switch2.vue.js +39 -0
- package/lib/packages/components/yc-display-cards/src/elements/upload.vue.js +10 -0
- package/lib/packages/components/yc-display-cards/src/elements/upload2.vue.js +200 -0
- package/lib/packages/components/yc-display-cards/src/elements/use-card-form.js +82 -0
- package/lib/packages/components/yc-display-cards/src/form-card.vue.js +1 -1
- package/lib/packages/components/yc-display-cards/src/form-card2.vue.js +170 -782
- package/lib/packages/components/yc-display-cards/src/metrics-card.vue.js +1 -1
- package/lib/packages/components/yc-display-cards/src/metrics-card2.vue.js +18 -113
- 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 +49 -231
- package/lib/packages/components/yc-status-dialog/src/index.vue.js +1 -1
- package/lib/version.d.ts +1 -1
- package/lib/version.js +1 -1
- package/locale/en.js +1 -1
- package/locale/en.min.js +1 -1
- package/locale/en.min.mjs +1 -1
- package/locale/en.mjs +1 -1
- package/locale/ja.js +1 -1
- package/locale/ja.min.js +1 -1
- package/locale/ja.min.mjs +1 -1
- package/locale/ja.mjs +1 -1
- package/locale/ko.js +1 -1
- package/locale/ko.min.js +1 -1
- package/locale/ko.min.mjs +1 -1
- package/locale/ko.mjs +1 -1
- package/locale/zh-cn.js +1 -1
- package/locale/zh-cn.min.js +1 -1
- package/locale/zh-cn.min.mjs +1 -1
- package/locale/zh-cn.mjs +1 -1
- package/locale/zh-tw.js +1 -1
- package/locale/zh-tw.min.js +1 -1
- package/locale/zh-tw.min.mjs +1 -1
- package/locale/zh-tw.mjs +1 -1
- package/package.json +1 -1
- package/theme-chalk/index.css +20 -7
- package/theme-chalk/plus-dialog.css +1 -1
- package/theme-chalk/plus-yc-status-dialog.css +1 -1
- package/theme-chalk/src/dialog.scss +0 -6
- package/theme-chalk/src/index.scss +1 -2
- package/theme-chalk/src/yc-status-dialog.scss +2 -2
|
@@ -2,7 +2,7 @@ import { default as Search } from './src/index.vue';
|
|
|
2
2
|
import { CreateComponentPublicInstanceWithMixins, Ref, ComponentInternalInstance, CSSProperties, VNodeProps, AllowedComponentProps, ComponentCustomProps, Attrs, Slot, ComponentPublicInstance, ComponentOptionsBase, ComponentOptionsMixin, GlobalComponents, GlobalDirectives, ComponentProvideOptions, DebuggerEvent, nextTick, WatchOptions, WatchStopHandle, ComponentCustomProperties, ComputedRef, Component, PublicProps } from 'vue';
|
|
3
3
|
import { FieldValues, PlusColumn, Mutable, RecordType, PropsItemType, InputType, CascaderProps, OmitTypes, OptionsType, RenderTypes, TableValueType, FormItemValueType, FieldValueType, OptionsRow, PlusCardProps } from '../../types';
|
|
4
4
|
import { PlusFormGroupRow, ElementPlusFormProps, PlusRadioProps, PlusDatePickerProps, PlusInputTagProps } from '../../agent-ui';
|
|
5
|
-
import {
|
|
5
|
+
import { ColProps, RowProps, CardProps, FormInstance, 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';
|
|
6
6
|
import { OnCleanup } from '@vue/reactivity';
|
|
7
7
|
|
|
8
8
|
export type PlusSearchInstance = InstanceType<typeof Search>;
|
|
@@ -12,37 +12,38 @@ export declare const PlusSearch: {
|
|
|
12
12
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
13
13
|
onReset?: ((values: FieldValues) => any) | undefined;
|
|
14
14
|
onSearch?: ((values: FieldValues) => any) | undefined;
|
|
15
|
-
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
16
15
|
onCollapse?: ((isShowUnfold: boolean) => any) | undefined;
|
|
16
|
+
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
17
17
|
}>, {
|
|
18
18
|
plusFormInstance: Ref<({
|
|
19
19
|
$: ComponentInternalInstance;
|
|
20
20
|
$data: {};
|
|
21
21
|
$props: Partial<{
|
|
22
|
-
modelValue: FieldValues;
|
|
23
|
-
columns: PlusColumn[];
|
|
24
|
-
layout: "grid" | "flex";
|
|
25
22
|
ellipsis: boolean;
|
|
26
|
-
|
|
27
|
-
|
|
23
|
+
layout: "grid" | "flex";
|
|
24
|
+
columns: PlusColumn[];
|
|
25
|
+
modelValue: FieldValues;
|
|
28
26
|
group: false | PlusFormGroupRow[];
|
|
27
|
+
clearable: boolean;
|
|
29
28
|
labelWidth: ElementPlusFormProps["labelWidth"];
|
|
30
29
|
labelPosition: ElementPlusFormProps["labelPosition"];
|
|
31
|
-
labelSuffix: ElementPlusFormProps["labelSuffix"];
|
|
32
30
|
rules: ElementPlusFormProps["rules"];
|
|
33
|
-
|
|
34
|
-
rowProps: Partial< Mutable<RowProps> & {
|
|
31
|
+
colProps: Partial< Mutable<ColProps> & {
|
|
35
32
|
style?: CSSProperties;
|
|
36
33
|
class?: any;
|
|
37
34
|
} & RecordType>;
|
|
38
|
-
|
|
35
|
+
hasLabel: boolean;
|
|
36
|
+
labelSuffix: ElementPlusFormProps["labelSuffix"];
|
|
37
|
+
collapseDuration: number;
|
|
38
|
+
collapseTransition: boolean;
|
|
39
|
+
rowProps: Partial< Mutable<RowProps> & {
|
|
39
40
|
style?: CSSProperties;
|
|
40
41
|
class?: any;
|
|
41
42
|
} & RecordType>;
|
|
43
|
+
defaultValues: FieldValues;
|
|
42
44
|
hasErrorTip: boolean;
|
|
43
45
|
hasFooter: boolean;
|
|
44
46
|
hasReset: boolean;
|
|
45
|
-
hasLabel: boolean;
|
|
46
47
|
submitText: string;
|
|
47
48
|
resetText: string;
|
|
48
49
|
submitLoading: boolean;
|
|
@@ -52,15 +53,14 @@ export declare const PlusSearch: {
|
|
|
52
53
|
class?: any;
|
|
53
54
|
} & RecordType>;
|
|
54
55
|
prevent: boolean;
|
|
55
|
-
clearable: boolean;
|
|
56
56
|
}> & Omit<{
|
|
57
57
|
readonly onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
58
58
|
readonly onReset?: ((values: FieldValues) => any) | undefined;
|
|
59
59
|
readonly onSubmit?: ((values: FieldValues) => any) | undefined;
|
|
60
60
|
readonly "onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
61
|
-
readonly onSubmitError?: ((errors: unknown) => any) | undefined;
|
|
62
61
|
readonly onValidate?: ((...args: any[]) => any) | undefined;
|
|
63
|
-
|
|
62
|
+
readonly onSubmitError?: ((errors: unknown) => any) | undefined;
|
|
63
|
+
} & VNodeProps & AllowedComponentProps & ComponentCustomProps, "ellipsis" | "layout" | "columns" | "modelValue" | "group" | "clearable" | "labelWidth" | "labelPosition" | "rules" | "colProps" | "hasLabel" | "labelSuffix" | "collapseDuration" | "collapseTransition" | "rowProps" | "defaultValues" | "hasErrorTip" | "hasFooter" | "hasReset" | "submitText" | "resetText" | "submitLoading" | "footerAlign" | "cardProps" | "prevent">;
|
|
64
64
|
$attrs: Attrs;
|
|
65
65
|
$refs: {
|
|
66
66
|
[x: string]: unknown;
|
|
@@ -71,15 +71,15 @@ export declare const PlusSearch: {
|
|
|
71
71
|
$root: ComponentPublicInstance | null;
|
|
72
72
|
$parent: ComponentPublicInstance | null;
|
|
73
73
|
$host: Element | null;
|
|
74
|
-
$emit: ((event: "change", values: FieldValues, column: PlusColumn) => void) & ((event: "reset", values: FieldValues) => void) & ((event: "submit", values: FieldValues) => void) & ((event: "update:modelValue", values: FieldValues) => void) & ((event: "
|
|
74
|
+
$emit: ((event: "change", values: FieldValues, column: PlusColumn) => void) & ((event: "reset", values: FieldValues) => void) & ((event: "submit", values: FieldValues) => void) & ((event: "update:modelValue", values: FieldValues) => void) & ((event: "validate", ...args: any[]) => void) & ((event: "submitError", errors: unknown) => void);
|
|
75
75
|
$el: any;
|
|
76
76
|
$options: ComponentOptionsBase<Readonly<unknown> & Readonly<{
|
|
77
77
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
78
78
|
onReset?: ((values: FieldValues) => any) | undefined;
|
|
79
79
|
onSubmit?: ((values: FieldValues) => any) | undefined;
|
|
80
80
|
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
81
|
-
onSubmitError?: ((errors: unknown) => any) | undefined;
|
|
82
81
|
onValidate?: ((...args: any[]) => any) | undefined;
|
|
82
|
+
onSubmitError?: ((errors: unknown) => any) | undefined;
|
|
83
83
|
}>, {
|
|
84
84
|
formInstance: Ref< FormInstance | null, FormInstance | null>;
|
|
85
85
|
handleSubmit: () => void;
|
|
@@ -92,30 +92,31 @@ export declare const PlusSearch: {
|
|
|
92
92
|
submitError: (errors: unknown) => void;
|
|
93
93
|
validate: (...args: any[]) => void;
|
|
94
94
|
}, string, {
|
|
95
|
-
modelValue: FieldValues;
|
|
96
|
-
columns: PlusColumn[];
|
|
97
|
-
layout: "grid" | "flex";
|
|
98
95
|
ellipsis: boolean;
|
|
99
|
-
|
|
100
|
-
|
|
96
|
+
layout: "grid" | "flex";
|
|
97
|
+
columns: PlusColumn[];
|
|
98
|
+
modelValue: FieldValues;
|
|
101
99
|
group: false | PlusFormGroupRow[];
|
|
100
|
+
clearable: boolean;
|
|
102
101
|
labelWidth: ElementPlusFormProps["labelWidth"];
|
|
103
102
|
labelPosition: ElementPlusFormProps["labelPosition"];
|
|
104
|
-
labelSuffix: ElementPlusFormProps["labelSuffix"];
|
|
105
103
|
rules: ElementPlusFormProps["rules"];
|
|
106
|
-
|
|
107
|
-
rowProps: Partial< Mutable<RowProps> & {
|
|
104
|
+
colProps: Partial< Mutable<ColProps> & {
|
|
108
105
|
style?: CSSProperties;
|
|
109
106
|
class?: any;
|
|
110
107
|
} & RecordType>;
|
|
111
|
-
|
|
108
|
+
hasLabel: boolean;
|
|
109
|
+
labelSuffix: ElementPlusFormProps["labelSuffix"];
|
|
110
|
+
collapseDuration: number;
|
|
111
|
+
collapseTransition: boolean;
|
|
112
|
+
rowProps: Partial< Mutable<RowProps> & {
|
|
112
113
|
style?: CSSProperties;
|
|
113
114
|
class?: any;
|
|
114
115
|
} & RecordType>;
|
|
116
|
+
defaultValues: FieldValues;
|
|
115
117
|
hasErrorTip: boolean;
|
|
116
118
|
hasFooter: boolean;
|
|
117
119
|
hasReset: boolean;
|
|
118
|
-
hasLabel: boolean;
|
|
119
120
|
submitText: string;
|
|
120
121
|
resetText: string;
|
|
121
122
|
submitLoading: boolean;
|
|
@@ -125,7 +126,6 @@ export declare const PlusSearch: {
|
|
|
125
126
|
class?: any;
|
|
126
127
|
} & RecordType>;
|
|
127
128
|
prevent: boolean;
|
|
128
|
-
clearable: boolean;
|
|
129
129
|
}, {}, string, {}, GlobalComponents, GlobalDirectives, string, ComponentProvideOptions> & {
|
|
130
130
|
beforeCreate?: (() => void) | (() => void)[];
|
|
131
131
|
created?: (() => void) | (() => void)[];
|
|
@@ -147,30 +147,31 @@ export declare const PlusSearch: {
|
|
|
147
147
|
$nextTick: nextTick;
|
|
148
148
|
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, OnCleanup]) => any : (...args: [any, any, OnCleanup]) => any, options?: WatchOptions): WatchStopHandle;
|
|
149
149
|
} & Readonly<{
|
|
150
|
-
modelValue: FieldValues;
|
|
151
|
-
columns: PlusColumn[];
|
|
152
|
-
layout: "grid" | "flex";
|
|
153
150
|
ellipsis: boolean;
|
|
154
|
-
|
|
155
|
-
|
|
151
|
+
layout: "grid" | "flex";
|
|
152
|
+
columns: PlusColumn[];
|
|
153
|
+
modelValue: FieldValues;
|
|
156
154
|
group: false | PlusFormGroupRow[];
|
|
155
|
+
clearable: boolean;
|
|
157
156
|
labelWidth: ElementPlusFormProps["labelWidth"];
|
|
158
157
|
labelPosition: ElementPlusFormProps["labelPosition"];
|
|
159
|
-
labelSuffix: ElementPlusFormProps["labelSuffix"];
|
|
160
158
|
rules: ElementPlusFormProps["rules"];
|
|
161
|
-
|
|
162
|
-
rowProps: Partial< Mutable<RowProps> & {
|
|
159
|
+
colProps: Partial< Mutable<ColProps> & {
|
|
163
160
|
style?: CSSProperties;
|
|
164
161
|
class?: any;
|
|
165
162
|
} & RecordType>;
|
|
166
|
-
|
|
163
|
+
hasLabel: boolean;
|
|
164
|
+
labelSuffix: ElementPlusFormProps["labelSuffix"];
|
|
165
|
+
collapseDuration: number;
|
|
166
|
+
collapseTransition: boolean;
|
|
167
|
+
rowProps: Partial< Mutable<RowProps> & {
|
|
167
168
|
style?: CSSProperties;
|
|
168
169
|
class?: any;
|
|
169
170
|
} & RecordType>;
|
|
171
|
+
defaultValues: FieldValues;
|
|
170
172
|
hasErrorTip: boolean;
|
|
171
173
|
hasFooter: boolean;
|
|
172
174
|
hasReset: boolean;
|
|
173
|
-
hasLabel: boolean;
|
|
174
175
|
submitText: string;
|
|
175
176
|
resetText: string;
|
|
176
177
|
submitLoading: boolean;
|
|
@@ -180,15 +181,14 @@ export declare const PlusSearch: {
|
|
|
180
181
|
class?: any;
|
|
181
182
|
} & RecordType>;
|
|
182
183
|
prevent: boolean;
|
|
183
|
-
clearable: boolean;
|
|
184
184
|
}> & Omit<Readonly<unknown> & Readonly<{
|
|
185
185
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
186
186
|
onReset?: ((values: FieldValues) => any) | undefined;
|
|
187
187
|
onSubmit?: ((values: FieldValues) => any) | undefined;
|
|
188
188
|
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
189
|
-
onSubmitError?: ((errors: unknown) => any) | undefined;
|
|
190
189
|
onValidate?: ((...args: any[]) => any) | undefined;
|
|
191
|
-
|
|
190
|
+
onSubmitError?: ((errors: unknown) => any) | undefined;
|
|
191
|
+
}>, "handleReset" | "formInstance" | "handleSubmit" | ("ellipsis" | "layout" | "columns" | "modelValue" | "group" | "clearable" | "labelWidth" | "labelPosition" | "rules" | "colProps" | "hasLabel" | "labelSuffix" | "collapseDuration" | "collapseTransition" | "rowProps" | "defaultValues" | "hasErrorTip" | "hasFooter" | "hasReset" | "submitText" | "resetText" | "submitLoading" | "footerAlign" | "cardProps" | "prevent")> & {
|
|
192
192
|
formInstance: FormInstance | null;
|
|
193
193
|
handleSubmit: () => void;
|
|
194
194
|
handleReset: () => void;
|
|
@@ -209,8 +209,8 @@ export declare const PlusSearch: {
|
|
|
209
209
|
prop: PlusColumn["prop"];
|
|
210
210
|
}> & {
|
|
211
211
|
readonly label: string | ComputedRef<string>;
|
|
212
|
-
readonly modelValue: string | number | boolean |
|
|
213
|
-
readonly hasLabel: boolean |
|
|
212
|
+
readonly modelValue: string | number | boolean | string[] | number[] | [string, string] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
213
|
+
readonly hasLabel: boolean | Ref<boolean, boolean> | ComputedRef<boolean>;
|
|
214
214
|
readonly tooltip: string | ComputedRef<string> | Partial< Mutable<UseTooltipProps> & {
|
|
215
215
|
style?: CSSProperties;
|
|
216
216
|
class?: any;
|
|
@@ -283,8 +283,8 @@ export declare const PlusSearch: {
|
|
|
283
283
|
fieldInstance?: any;
|
|
284
284
|
valueIsReady?: Ref<boolean>;
|
|
285
285
|
prop: PlusColumn["prop"];
|
|
286
|
-
modelValue: string | number | boolean |
|
|
287
|
-
hasLabel: boolean |
|
|
286
|
+
modelValue: string | number | boolean | string[] | number[] | [string, string] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
287
|
+
hasLabel: boolean | Ref<boolean, boolean> | ComputedRef<boolean>;
|
|
288
288
|
tooltip: string | ComputedRef<string> | Partial< Mutable<UseTooltipProps> & {
|
|
289
289
|
style?: CSSProperties;
|
|
290
290
|
class?: any;
|
|
@@ -322,8 +322,8 @@ export declare const PlusSearch: {
|
|
|
322
322
|
prop: PlusColumn["prop"];
|
|
323
323
|
}> & {
|
|
324
324
|
readonly label: string | ComputedRef<string>;
|
|
325
|
-
readonly modelValue: string | number | boolean |
|
|
326
|
-
readonly hasLabel: boolean |
|
|
325
|
+
readonly modelValue: string | number | boolean | string[] | number[] | [string, string] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
326
|
+
readonly hasLabel: boolean | Ref<boolean, boolean> | ComputedRef<boolean>;
|
|
327
327
|
readonly tooltip: string | ComputedRef<string> | Partial< Mutable<UseTooltipProps> & {
|
|
328
328
|
style?: CSSProperties;
|
|
329
329
|
class?: any;
|
|
@@ -396,8 +396,8 @@ export declare const PlusSearch: {
|
|
|
396
396
|
fieldInstance?: any;
|
|
397
397
|
valueIsReady?: Ref<boolean>;
|
|
398
398
|
prop: PlusColumn["prop"];
|
|
399
|
-
modelValue: string | number | boolean |
|
|
400
|
-
hasLabel: boolean |
|
|
399
|
+
modelValue: string | number | boolean | string[] | number[] | [string, string] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
400
|
+
hasLabel: boolean | Ref<boolean, boolean> | ComputedRef<boolean>;
|
|
401
401
|
tooltip: string | ComputedRef<string> | Partial< Mutable<UseTooltipProps> & {
|
|
402
402
|
style?: CSSProperties;
|
|
403
403
|
class?: any;
|
|
@@ -447,30 +447,31 @@ export declare const PlusSearch: {
|
|
|
447
447
|
$: ComponentInternalInstance;
|
|
448
448
|
$data: {};
|
|
449
449
|
$props: Partial<{
|
|
450
|
-
modelValue: FieldValues;
|
|
451
|
-
columns: PlusColumn[];
|
|
452
|
-
layout: "grid" | "flex";
|
|
453
450
|
ellipsis: boolean;
|
|
454
|
-
|
|
455
|
-
|
|
451
|
+
layout: "grid" | "flex";
|
|
452
|
+
columns: PlusColumn[];
|
|
453
|
+
modelValue: FieldValues;
|
|
456
454
|
group: false | PlusFormGroupRow[];
|
|
455
|
+
clearable: boolean;
|
|
457
456
|
labelWidth: ElementPlusFormProps["labelWidth"];
|
|
458
457
|
labelPosition: ElementPlusFormProps["labelPosition"];
|
|
459
|
-
labelSuffix: ElementPlusFormProps["labelSuffix"];
|
|
460
458
|
rules: ElementPlusFormProps["rules"];
|
|
461
|
-
|
|
462
|
-
rowProps: Partial< Mutable<RowProps> & {
|
|
459
|
+
colProps: Partial< Mutable<ColProps> & {
|
|
463
460
|
style?: CSSProperties;
|
|
464
461
|
class?: any;
|
|
465
462
|
} & RecordType>;
|
|
466
|
-
|
|
463
|
+
hasLabel: boolean;
|
|
464
|
+
labelSuffix: ElementPlusFormProps["labelSuffix"];
|
|
465
|
+
collapseDuration: number;
|
|
466
|
+
collapseTransition: boolean;
|
|
467
|
+
rowProps: Partial< Mutable<RowProps> & {
|
|
467
468
|
style?: CSSProperties;
|
|
468
469
|
class?: any;
|
|
469
470
|
} & RecordType>;
|
|
471
|
+
defaultValues: FieldValues;
|
|
470
472
|
hasErrorTip: boolean;
|
|
471
473
|
hasFooter: boolean;
|
|
472
474
|
hasReset: boolean;
|
|
473
|
-
hasLabel: boolean;
|
|
474
475
|
submitText: string;
|
|
475
476
|
resetText: string;
|
|
476
477
|
submitLoading: boolean;
|
|
@@ -480,15 +481,14 @@ export declare const PlusSearch: {
|
|
|
480
481
|
class?: any;
|
|
481
482
|
} & RecordType>;
|
|
482
483
|
prevent: boolean;
|
|
483
|
-
clearable: boolean;
|
|
484
484
|
}> & Omit<{
|
|
485
485
|
readonly onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
486
486
|
readonly onReset?: ((values: FieldValues) => any) | undefined;
|
|
487
487
|
readonly onSubmit?: ((values: FieldValues) => any) | undefined;
|
|
488
488
|
readonly "onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
489
|
-
readonly onSubmitError?: ((errors: unknown) => any) | undefined;
|
|
490
489
|
readonly onValidate?: ((...args: any[]) => any) | undefined;
|
|
491
|
-
|
|
490
|
+
readonly onSubmitError?: ((errors: unknown) => any) | undefined;
|
|
491
|
+
} & VNodeProps & AllowedComponentProps & ComponentCustomProps, "ellipsis" | "layout" | "columns" | "modelValue" | "group" | "clearable" | "labelWidth" | "labelPosition" | "rules" | "colProps" | "hasLabel" | "labelSuffix" | "collapseDuration" | "collapseTransition" | "rowProps" | "defaultValues" | "hasErrorTip" | "hasFooter" | "hasReset" | "submitText" | "resetText" | "submitLoading" | "footerAlign" | "cardProps" | "prevent">;
|
|
492
492
|
$attrs: Attrs;
|
|
493
493
|
$refs: {
|
|
494
494
|
[x: string]: unknown;
|
|
@@ -499,15 +499,15 @@ export declare const PlusSearch: {
|
|
|
499
499
|
$root: ComponentPublicInstance | null;
|
|
500
500
|
$parent: ComponentPublicInstance | null;
|
|
501
501
|
$host: Element | null;
|
|
502
|
-
$emit: ((event: "change", values: FieldValues, column: PlusColumn) => void) & ((event: "reset", values: FieldValues) => void) & ((event: "submit", values: FieldValues) => void) & ((event: "update:modelValue", values: FieldValues) => void) & ((event: "
|
|
502
|
+
$emit: ((event: "change", values: FieldValues, column: PlusColumn) => void) & ((event: "reset", values: FieldValues) => void) & ((event: "submit", values: FieldValues) => void) & ((event: "update:modelValue", values: FieldValues) => void) & ((event: "validate", ...args: any[]) => void) & ((event: "submitError", errors: unknown) => void);
|
|
503
503
|
$el: any;
|
|
504
504
|
$options: ComponentOptionsBase<Readonly<unknown> & Readonly<{
|
|
505
505
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
506
506
|
onReset?: ((values: FieldValues) => any) | undefined;
|
|
507
507
|
onSubmit?: ((values: FieldValues) => any) | undefined;
|
|
508
508
|
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
509
|
-
onSubmitError?: ((errors: unknown) => any) | undefined;
|
|
510
509
|
onValidate?: ((...args: any[]) => any) | undefined;
|
|
510
|
+
onSubmitError?: ((errors: unknown) => any) | undefined;
|
|
511
511
|
}>, {
|
|
512
512
|
formInstance: Ref< FormInstance | null, FormInstance | null>;
|
|
513
513
|
handleSubmit: () => void;
|
|
@@ -520,30 +520,31 @@ export declare const PlusSearch: {
|
|
|
520
520
|
submitError: (errors: unknown) => void;
|
|
521
521
|
validate: (...args: any[]) => void;
|
|
522
522
|
}, string, {
|
|
523
|
-
modelValue: FieldValues;
|
|
524
|
-
columns: PlusColumn[];
|
|
525
|
-
layout: "grid" | "flex";
|
|
526
523
|
ellipsis: boolean;
|
|
527
|
-
|
|
528
|
-
|
|
524
|
+
layout: "grid" | "flex";
|
|
525
|
+
columns: PlusColumn[];
|
|
526
|
+
modelValue: FieldValues;
|
|
529
527
|
group: false | PlusFormGroupRow[];
|
|
528
|
+
clearable: boolean;
|
|
530
529
|
labelWidth: ElementPlusFormProps["labelWidth"];
|
|
531
530
|
labelPosition: ElementPlusFormProps["labelPosition"];
|
|
532
|
-
labelSuffix: ElementPlusFormProps["labelSuffix"];
|
|
533
531
|
rules: ElementPlusFormProps["rules"];
|
|
534
|
-
|
|
535
|
-
rowProps: Partial< Mutable<RowProps> & {
|
|
532
|
+
colProps: Partial< Mutable<ColProps> & {
|
|
536
533
|
style?: CSSProperties;
|
|
537
534
|
class?: any;
|
|
538
535
|
} & RecordType>;
|
|
539
|
-
|
|
536
|
+
hasLabel: boolean;
|
|
537
|
+
labelSuffix: ElementPlusFormProps["labelSuffix"];
|
|
538
|
+
collapseDuration: number;
|
|
539
|
+
collapseTransition: boolean;
|
|
540
|
+
rowProps: Partial< Mutable<RowProps> & {
|
|
540
541
|
style?: CSSProperties;
|
|
541
542
|
class?: any;
|
|
542
543
|
} & RecordType>;
|
|
544
|
+
defaultValues: FieldValues;
|
|
543
545
|
hasErrorTip: boolean;
|
|
544
546
|
hasFooter: boolean;
|
|
545
547
|
hasReset: boolean;
|
|
546
|
-
hasLabel: boolean;
|
|
547
548
|
submitText: string;
|
|
548
549
|
resetText: string;
|
|
549
550
|
submitLoading: boolean;
|
|
@@ -553,7 +554,6 @@ export declare const PlusSearch: {
|
|
|
553
554
|
class?: any;
|
|
554
555
|
} & RecordType>;
|
|
555
556
|
prevent: boolean;
|
|
556
|
-
clearable: boolean;
|
|
557
557
|
}, {}, string, {}, GlobalComponents, GlobalDirectives, string, ComponentProvideOptions> & {
|
|
558
558
|
beforeCreate?: (() => void) | (() => void)[];
|
|
559
559
|
created?: (() => void) | (() => void)[];
|
|
@@ -575,30 +575,31 @@ export declare const PlusSearch: {
|
|
|
575
575
|
$nextTick: nextTick;
|
|
576
576
|
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, OnCleanup]) => any : (...args: [any, any, OnCleanup]) => any, options?: WatchOptions): WatchStopHandle;
|
|
577
577
|
} & Readonly<{
|
|
578
|
-
modelValue: FieldValues;
|
|
579
|
-
columns: PlusColumn[];
|
|
580
|
-
layout: "grid" | "flex";
|
|
581
578
|
ellipsis: boolean;
|
|
582
|
-
|
|
583
|
-
|
|
579
|
+
layout: "grid" | "flex";
|
|
580
|
+
columns: PlusColumn[];
|
|
581
|
+
modelValue: FieldValues;
|
|
584
582
|
group: false | PlusFormGroupRow[];
|
|
583
|
+
clearable: boolean;
|
|
585
584
|
labelWidth: ElementPlusFormProps["labelWidth"];
|
|
586
585
|
labelPosition: ElementPlusFormProps["labelPosition"];
|
|
587
|
-
labelSuffix: ElementPlusFormProps["labelSuffix"];
|
|
588
586
|
rules: ElementPlusFormProps["rules"];
|
|
589
|
-
|
|
590
|
-
rowProps: Partial< Mutable<RowProps> & {
|
|
587
|
+
colProps: Partial< Mutable<ColProps> & {
|
|
591
588
|
style?: CSSProperties;
|
|
592
589
|
class?: any;
|
|
593
590
|
} & RecordType>;
|
|
594
|
-
|
|
591
|
+
hasLabel: boolean;
|
|
592
|
+
labelSuffix: ElementPlusFormProps["labelSuffix"];
|
|
593
|
+
collapseDuration: number;
|
|
594
|
+
collapseTransition: boolean;
|
|
595
|
+
rowProps: Partial< Mutable<RowProps> & {
|
|
595
596
|
style?: CSSProperties;
|
|
596
597
|
class?: any;
|
|
597
598
|
} & RecordType>;
|
|
599
|
+
defaultValues: FieldValues;
|
|
598
600
|
hasErrorTip: boolean;
|
|
599
601
|
hasFooter: boolean;
|
|
600
602
|
hasReset: boolean;
|
|
601
|
-
hasLabel: boolean;
|
|
602
603
|
submitText: string;
|
|
603
604
|
resetText: string;
|
|
604
605
|
submitLoading: boolean;
|
|
@@ -608,15 +609,14 @@ export declare const PlusSearch: {
|
|
|
608
609
|
class?: any;
|
|
609
610
|
} & RecordType>;
|
|
610
611
|
prevent: boolean;
|
|
611
|
-
clearable: boolean;
|
|
612
612
|
}> & Omit<Readonly<unknown> & Readonly<{
|
|
613
613
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
614
614
|
onReset?: ((values: FieldValues) => any) | undefined;
|
|
615
615
|
onSubmit?: ((values: FieldValues) => any) | undefined;
|
|
616
616
|
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
617
|
-
onSubmitError?: ((errors: unknown) => any) | undefined;
|
|
618
617
|
onValidate?: ((...args: any[]) => any) | undefined;
|
|
619
|
-
|
|
618
|
+
onSubmitError?: ((errors: unknown) => any) | undefined;
|
|
619
|
+
}>, "handleReset" | "formInstance" | "handleSubmit" | ("ellipsis" | "layout" | "columns" | "modelValue" | "group" | "clearable" | "labelWidth" | "labelPosition" | "rules" | "colProps" | "hasLabel" | "labelSuffix" | "collapseDuration" | "collapseTransition" | "rowProps" | "defaultValues" | "hasErrorTip" | "hasFooter" | "hasReset" | "submitText" | "resetText" | "submitLoading" | "footerAlign" | "cardProps" | "prevent")> & {
|
|
620
620
|
formInstance: FormInstance | null;
|
|
621
621
|
handleSubmit: () => void;
|
|
622
622
|
handleReset: () => void;
|
|
@@ -637,8 +637,8 @@ export declare const PlusSearch: {
|
|
|
637
637
|
prop: PlusColumn["prop"];
|
|
638
638
|
}> & {
|
|
639
639
|
readonly label: string | ComputedRef<string>;
|
|
640
|
-
readonly modelValue: string | number | boolean |
|
|
641
|
-
readonly hasLabel: boolean |
|
|
640
|
+
readonly modelValue: string | number | boolean | string[] | number[] | [string, string] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
641
|
+
readonly hasLabel: boolean | Ref<boolean, boolean> | ComputedRef<boolean>;
|
|
642
642
|
readonly tooltip: string | ComputedRef<string> | Partial< Mutable<UseTooltipProps> & {
|
|
643
643
|
style?: CSSProperties;
|
|
644
644
|
class?: any;
|
|
@@ -711,8 +711,8 @@ export declare const PlusSearch: {
|
|
|
711
711
|
fieldInstance?: any;
|
|
712
712
|
valueIsReady?: Ref<boolean>;
|
|
713
713
|
prop: PlusColumn["prop"];
|
|
714
|
-
modelValue: string | number | boolean |
|
|
715
|
-
hasLabel: boolean |
|
|
714
|
+
modelValue: string | number | boolean | string[] | number[] | [string, string] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
715
|
+
hasLabel: boolean | Ref<boolean, boolean> | ComputedRef<boolean>;
|
|
716
716
|
tooltip: string | ComputedRef<string> | Partial< Mutable<UseTooltipProps> & {
|
|
717
717
|
style?: CSSProperties;
|
|
718
718
|
class?: any;
|
|
@@ -750,8 +750,8 @@ export declare const PlusSearch: {
|
|
|
750
750
|
prop: PlusColumn["prop"];
|
|
751
751
|
}> & {
|
|
752
752
|
readonly label: string | ComputedRef<string>;
|
|
753
|
-
readonly modelValue: string | number | boolean |
|
|
754
|
-
readonly hasLabel: boolean |
|
|
753
|
+
readonly modelValue: string | number | boolean | string[] | number[] | [string, string] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
754
|
+
readonly hasLabel: boolean | Ref<boolean, boolean> | ComputedRef<boolean>;
|
|
755
755
|
readonly tooltip: string | ComputedRef<string> | Partial< Mutable<UseTooltipProps> & {
|
|
756
756
|
style?: CSSProperties;
|
|
757
757
|
class?: any;
|
|
@@ -824,8 +824,8 @@ export declare const PlusSearch: {
|
|
|
824
824
|
fieldInstance?: any;
|
|
825
825
|
valueIsReady?: Ref<boolean>;
|
|
826
826
|
prop: PlusColumn["prop"];
|
|
827
|
-
modelValue: string | number | boolean |
|
|
828
|
-
hasLabel: boolean |
|
|
827
|
+
modelValue: string | number | boolean | string[] | number[] | [string, string] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
828
|
+
hasLabel: boolean | Ref<boolean, boolean> | ComputedRef<boolean>;
|
|
829
829
|
tooltip: string | ComputedRef<string> | Partial< Mutable<UseTooltipProps> & {
|
|
830
830
|
style?: CSSProperties;
|
|
831
831
|
class?: any;
|
|
@@ -882,21 +882,21 @@ export declare const PlusSearch: {
|
|
|
882
882
|
reset: (values: FieldValues) => void;
|
|
883
883
|
collapse: (isShowUnfold: boolean) => void;
|
|
884
884
|
}, PublicProps, {
|
|
885
|
-
|
|
886
|
-
columns: PlusColumn[];
|
|
885
|
+
ellipsis: boolean;
|
|
887
886
|
layout: "flex" | "grid";
|
|
888
887
|
inline: boolean;
|
|
889
|
-
|
|
888
|
+
columns: PlusColumn[];
|
|
889
|
+
modelValue: FieldValues;
|
|
890
890
|
labelPosition: "left" | "right" | "top";
|
|
891
|
-
|
|
892
|
-
rowProps: Partial< Mutable<RowProps> & {
|
|
891
|
+
colProps: Partial< Mutable<ColProps> & {
|
|
893
892
|
style?: CSSProperties;
|
|
894
893
|
class?: any;
|
|
895
894
|
} & RecordType>;
|
|
896
|
-
|
|
895
|
+
rowProps: Partial< Mutable<RowProps> & {
|
|
897
896
|
style?: CSSProperties;
|
|
898
897
|
class?: any;
|
|
899
898
|
} & RecordType>;
|
|
899
|
+
defaultValues: FieldValues;
|
|
900
900
|
hasFooter: boolean;
|
|
901
901
|
hasReset: boolean;
|
|
902
902
|
resetText: string;
|
|
@@ -921,37 +921,38 @@ export declare const PlusSearch: {
|
|
|
921
921
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
922
922
|
onReset?: ((values: FieldValues) => any) | undefined;
|
|
923
923
|
onSearch?: ((values: FieldValues) => any) | undefined;
|
|
924
|
-
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
925
924
|
onCollapse?: ((isShowUnfold: boolean) => any) | undefined;
|
|
925
|
+
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
926
926
|
}>, {
|
|
927
927
|
plusFormInstance: Ref<({
|
|
928
928
|
$: ComponentInternalInstance;
|
|
929
929
|
$data: {};
|
|
930
930
|
$props: Partial<{
|
|
931
|
-
modelValue: FieldValues;
|
|
932
|
-
columns: PlusColumn[];
|
|
933
|
-
layout: "grid" | "flex";
|
|
934
931
|
ellipsis: boolean;
|
|
935
|
-
|
|
936
|
-
|
|
932
|
+
layout: "grid" | "flex";
|
|
933
|
+
columns: PlusColumn[];
|
|
934
|
+
modelValue: FieldValues;
|
|
937
935
|
group: false | PlusFormGroupRow[];
|
|
936
|
+
clearable: boolean;
|
|
938
937
|
labelWidth: ElementPlusFormProps["labelWidth"];
|
|
939
938
|
labelPosition: ElementPlusFormProps["labelPosition"];
|
|
940
|
-
labelSuffix: ElementPlusFormProps["labelSuffix"];
|
|
941
939
|
rules: ElementPlusFormProps["rules"];
|
|
942
|
-
|
|
943
|
-
rowProps: Partial< Mutable<RowProps> & {
|
|
940
|
+
colProps: Partial< Mutable<ColProps> & {
|
|
944
941
|
style?: CSSProperties;
|
|
945
942
|
class?: any;
|
|
946
943
|
} & RecordType>;
|
|
947
|
-
|
|
944
|
+
hasLabel: boolean;
|
|
945
|
+
labelSuffix: ElementPlusFormProps["labelSuffix"];
|
|
946
|
+
collapseDuration: number;
|
|
947
|
+
collapseTransition: boolean;
|
|
948
|
+
rowProps: Partial< Mutable<RowProps> & {
|
|
948
949
|
style?: CSSProperties;
|
|
949
950
|
class?: any;
|
|
950
951
|
} & RecordType>;
|
|
952
|
+
defaultValues: FieldValues;
|
|
951
953
|
hasErrorTip: boolean;
|
|
952
954
|
hasFooter: boolean;
|
|
953
955
|
hasReset: boolean;
|
|
954
|
-
hasLabel: boolean;
|
|
955
956
|
submitText: string;
|
|
956
957
|
resetText: string;
|
|
957
958
|
submitLoading: boolean;
|
|
@@ -961,15 +962,14 @@ export declare const PlusSearch: {
|
|
|
961
962
|
class?: any;
|
|
962
963
|
} & RecordType>;
|
|
963
964
|
prevent: boolean;
|
|
964
|
-
clearable: boolean;
|
|
965
965
|
}> & Omit<{
|
|
966
966
|
readonly onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
967
967
|
readonly onReset?: ((values: FieldValues) => any) | undefined;
|
|
968
968
|
readonly onSubmit?: ((values: FieldValues) => any) | undefined;
|
|
969
969
|
readonly "onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
970
|
-
readonly onSubmitError?: ((errors: unknown) => any) | undefined;
|
|
971
970
|
readonly onValidate?: ((...args: any[]) => any) | undefined;
|
|
972
|
-
|
|
971
|
+
readonly onSubmitError?: ((errors: unknown) => any) | undefined;
|
|
972
|
+
} & VNodeProps & AllowedComponentProps & ComponentCustomProps, "ellipsis" | "layout" | "columns" | "modelValue" | "group" | "clearable" | "labelWidth" | "labelPosition" | "rules" | "colProps" | "hasLabel" | "labelSuffix" | "collapseDuration" | "collapseTransition" | "rowProps" | "defaultValues" | "hasErrorTip" | "hasFooter" | "hasReset" | "submitText" | "resetText" | "submitLoading" | "footerAlign" | "cardProps" | "prevent">;
|
|
973
973
|
$attrs: Attrs;
|
|
974
974
|
$refs: {
|
|
975
975
|
[x: string]: unknown;
|
|
@@ -980,15 +980,15 @@ export declare const PlusSearch: {
|
|
|
980
980
|
$root: ComponentPublicInstance | null;
|
|
981
981
|
$parent: ComponentPublicInstance | null;
|
|
982
982
|
$host: Element | null;
|
|
983
|
-
$emit: ((event: "change", values: FieldValues, column: PlusColumn) => void) & ((event: "reset", values: FieldValues) => void) & ((event: "submit", values: FieldValues) => void) & ((event: "update:modelValue", values: FieldValues) => void) & ((event: "
|
|
983
|
+
$emit: ((event: "change", values: FieldValues, column: PlusColumn) => void) & ((event: "reset", values: FieldValues) => void) & ((event: "submit", values: FieldValues) => void) & ((event: "update:modelValue", values: FieldValues) => void) & ((event: "validate", ...args: any[]) => void) & ((event: "submitError", errors: unknown) => void);
|
|
984
984
|
$el: any;
|
|
985
985
|
$options: ComponentOptionsBase<Readonly<unknown> & Readonly<{
|
|
986
986
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
987
987
|
onReset?: ((values: FieldValues) => any) | undefined;
|
|
988
988
|
onSubmit?: ((values: FieldValues) => any) | undefined;
|
|
989
989
|
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
990
|
-
onSubmitError?: ((errors: unknown) => any) | undefined;
|
|
991
990
|
onValidate?: ((...args: any[]) => any) | undefined;
|
|
991
|
+
onSubmitError?: ((errors: unknown) => any) | undefined;
|
|
992
992
|
}>, {
|
|
993
993
|
formInstance: Ref< FormInstance | null, FormInstance | null>;
|
|
994
994
|
handleSubmit: () => void;
|
|
@@ -1001,30 +1001,31 @@ export declare const PlusSearch: {
|
|
|
1001
1001
|
submitError: (errors: unknown) => void;
|
|
1002
1002
|
validate: (...args: any[]) => void;
|
|
1003
1003
|
}, string, {
|
|
1004
|
-
modelValue: FieldValues;
|
|
1005
|
-
columns: PlusColumn[];
|
|
1006
|
-
layout: "grid" | "flex";
|
|
1007
1004
|
ellipsis: boolean;
|
|
1008
|
-
|
|
1009
|
-
|
|
1005
|
+
layout: "grid" | "flex";
|
|
1006
|
+
columns: PlusColumn[];
|
|
1007
|
+
modelValue: FieldValues;
|
|
1010
1008
|
group: false | PlusFormGroupRow[];
|
|
1009
|
+
clearable: boolean;
|
|
1011
1010
|
labelWidth: ElementPlusFormProps["labelWidth"];
|
|
1012
1011
|
labelPosition: ElementPlusFormProps["labelPosition"];
|
|
1013
|
-
labelSuffix: ElementPlusFormProps["labelSuffix"];
|
|
1014
1012
|
rules: ElementPlusFormProps["rules"];
|
|
1015
|
-
|
|
1016
|
-
rowProps: Partial< Mutable<RowProps> & {
|
|
1013
|
+
colProps: Partial< Mutable<ColProps> & {
|
|
1017
1014
|
style?: CSSProperties;
|
|
1018
1015
|
class?: any;
|
|
1019
1016
|
} & RecordType>;
|
|
1020
|
-
|
|
1017
|
+
hasLabel: boolean;
|
|
1018
|
+
labelSuffix: ElementPlusFormProps["labelSuffix"];
|
|
1019
|
+
collapseDuration: number;
|
|
1020
|
+
collapseTransition: boolean;
|
|
1021
|
+
rowProps: Partial< Mutable<RowProps> & {
|
|
1021
1022
|
style?: CSSProperties;
|
|
1022
1023
|
class?: any;
|
|
1023
1024
|
} & RecordType>;
|
|
1025
|
+
defaultValues: FieldValues;
|
|
1024
1026
|
hasErrorTip: boolean;
|
|
1025
1027
|
hasFooter: boolean;
|
|
1026
1028
|
hasReset: boolean;
|
|
1027
|
-
hasLabel: boolean;
|
|
1028
1029
|
submitText: string;
|
|
1029
1030
|
resetText: string;
|
|
1030
1031
|
submitLoading: boolean;
|
|
@@ -1034,7 +1035,6 @@ export declare const PlusSearch: {
|
|
|
1034
1035
|
class?: any;
|
|
1035
1036
|
} & RecordType>;
|
|
1036
1037
|
prevent: boolean;
|
|
1037
|
-
clearable: boolean;
|
|
1038
1038
|
}, {}, string, {}, GlobalComponents, GlobalDirectives, string, ComponentProvideOptions> & {
|
|
1039
1039
|
beforeCreate?: (() => void) | (() => void)[];
|
|
1040
1040
|
created?: (() => void) | (() => void)[];
|
|
@@ -1056,30 +1056,31 @@ export declare const PlusSearch: {
|
|
|
1056
1056
|
$nextTick: nextTick;
|
|
1057
1057
|
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, OnCleanup]) => any : (...args: [any, any, OnCleanup]) => any, options?: WatchOptions): WatchStopHandle;
|
|
1058
1058
|
} & Readonly<{
|
|
1059
|
-
modelValue: FieldValues;
|
|
1060
|
-
columns: PlusColumn[];
|
|
1061
|
-
layout: "grid" | "flex";
|
|
1062
1059
|
ellipsis: boolean;
|
|
1063
|
-
|
|
1064
|
-
|
|
1060
|
+
layout: "grid" | "flex";
|
|
1061
|
+
columns: PlusColumn[];
|
|
1062
|
+
modelValue: FieldValues;
|
|
1065
1063
|
group: false | PlusFormGroupRow[];
|
|
1064
|
+
clearable: boolean;
|
|
1066
1065
|
labelWidth: ElementPlusFormProps["labelWidth"];
|
|
1067
1066
|
labelPosition: ElementPlusFormProps["labelPosition"];
|
|
1068
|
-
labelSuffix: ElementPlusFormProps["labelSuffix"];
|
|
1069
1067
|
rules: ElementPlusFormProps["rules"];
|
|
1070
|
-
|
|
1071
|
-
rowProps: Partial< Mutable<RowProps> & {
|
|
1068
|
+
colProps: Partial< Mutable<ColProps> & {
|
|
1072
1069
|
style?: CSSProperties;
|
|
1073
1070
|
class?: any;
|
|
1074
1071
|
} & RecordType>;
|
|
1075
|
-
|
|
1072
|
+
hasLabel: boolean;
|
|
1073
|
+
labelSuffix: ElementPlusFormProps["labelSuffix"];
|
|
1074
|
+
collapseDuration: number;
|
|
1075
|
+
collapseTransition: boolean;
|
|
1076
|
+
rowProps: Partial< Mutable<RowProps> & {
|
|
1076
1077
|
style?: CSSProperties;
|
|
1077
1078
|
class?: any;
|
|
1078
1079
|
} & RecordType>;
|
|
1080
|
+
defaultValues: FieldValues;
|
|
1079
1081
|
hasErrorTip: boolean;
|
|
1080
1082
|
hasFooter: boolean;
|
|
1081
1083
|
hasReset: boolean;
|
|
1082
|
-
hasLabel: boolean;
|
|
1083
1084
|
submitText: string;
|
|
1084
1085
|
resetText: string;
|
|
1085
1086
|
submitLoading: boolean;
|
|
@@ -1089,15 +1090,14 @@ export declare const PlusSearch: {
|
|
|
1089
1090
|
class?: any;
|
|
1090
1091
|
} & RecordType>;
|
|
1091
1092
|
prevent: boolean;
|
|
1092
|
-
clearable: boolean;
|
|
1093
1093
|
}> & Omit<Readonly<unknown> & Readonly<{
|
|
1094
1094
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
1095
1095
|
onReset?: ((values: FieldValues) => any) | undefined;
|
|
1096
1096
|
onSubmit?: ((values: FieldValues) => any) | undefined;
|
|
1097
1097
|
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
1098
|
-
onSubmitError?: ((errors: unknown) => any) | undefined;
|
|
1099
1098
|
onValidate?: ((...args: any[]) => any) | undefined;
|
|
1100
|
-
|
|
1099
|
+
onSubmitError?: ((errors: unknown) => any) | undefined;
|
|
1100
|
+
}>, "handleReset" | "formInstance" | "handleSubmit" | ("ellipsis" | "layout" | "columns" | "modelValue" | "group" | "clearable" | "labelWidth" | "labelPosition" | "rules" | "colProps" | "hasLabel" | "labelSuffix" | "collapseDuration" | "collapseTransition" | "rowProps" | "defaultValues" | "hasErrorTip" | "hasFooter" | "hasReset" | "submitText" | "resetText" | "submitLoading" | "footerAlign" | "cardProps" | "prevent")> & {
|
|
1101
1101
|
formInstance: FormInstance | null;
|
|
1102
1102
|
handleSubmit: () => void;
|
|
1103
1103
|
handleReset: () => void;
|
|
@@ -1118,8 +1118,8 @@ export declare const PlusSearch: {
|
|
|
1118
1118
|
prop: PlusColumn["prop"];
|
|
1119
1119
|
}> & {
|
|
1120
1120
|
readonly label: string | ComputedRef<string>;
|
|
1121
|
-
readonly modelValue: string | number | boolean |
|
|
1122
|
-
readonly hasLabel: boolean |
|
|
1121
|
+
readonly modelValue: string | number | boolean | string[] | number[] | [string, string] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
1122
|
+
readonly hasLabel: boolean | Ref<boolean, boolean> | ComputedRef<boolean>;
|
|
1123
1123
|
readonly tooltip: string | ComputedRef<string> | Partial< Mutable<UseTooltipProps> & {
|
|
1124
1124
|
style?: CSSProperties;
|
|
1125
1125
|
class?: any;
|
|
@@ -1192,8 +1192,8 @@ export declare const PlusSearch: {
|
|
|
1192
1192
|
fieldInstance?: any;
|
|
1193
1193
|
valueIsReady?: Ref<boolean>;
|
|
1194
1194
|
prop: PlusColumn["prop"];
|
|
1195
|
-
modelValue: string | number | boolean |
|
|
1196
|
-
hasLabel: boolean |
|
|
1195
|
+
modelValue: string | number | boolean | string[] | number[] | [string, string] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
1196
|
+
hasLabel: boolean | Ref<boolean, boolean> | ComputedRef<boolean>;
|
|
1197
1197
|
tooltip: string | ComputedRef<string> | Partial< Mutable<UseTooltipProps> & {
|
|
1198
1198
|
style?: CSSProperties;
|
|
1199
1199
|
class?: any;
|
|
@@ -1231,8 +1231,8 @@ export declare const PlusSearch: {
|
|
|
1231
1231
|
prop: PlusColumn["prop"];
|
|
1232
1232
|
}> & {
|
|
1233
1233
|
readonly label: string | ComputedRef<string>;
|
|
1234
|
-
readonly modelValue: string | number | boolean |
|
|
1235
|
-
readonly hasLabel: boolean |
|
|
1234
|
+
readonly modelValue: string | number | boolean | string[] | number[] | [string, string] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
1235
|
+
readonly hasLabel: boolean | Ref<boolean, boolean> | ComputedRef<boolean>;
|
|
1236
1236
|
readonly tooltip: string | ComputedRef<string> | Partial< Mutable<UseTooltipProps> & {
|
|
1237
1237
|
style?: CSSProperties;
|
|
1238
1238
|
class?: any;
|
|
@@ -1305,8 +1305,8 @@ export declare const PlusSearch: {
|
|
|
1305
1305
|
fieldInstance?: any;
|
|
1306
1306
|
valueIsReady?: Ref<boolean>;
|
|
1307
1307
|
prop: PlusColumn["prop"];
|
|
1308
|
-
modelValue: string | number | boolean |
|
|
1309
|
-
hasLabel: boolean |
|
|
1308
|
+
modelValue: string | number | boolean | string[] | number[] | [string, string] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
1309
|
+
hasLabel: boolean | Ref<boolean, boolean> | ComputedRef<boolean>;
|
|
1310
1310
|
tooltip: string | ComputedRef<string> | Partial< Mutable<UseTooltipProps> & {
|
|
1311
1311
|
style?: CSSProperties;
|
|
1312
1312
|
class?: any;
|
|
@@ -1356,30 +1356,31 @@ export declare const PlusSearch: {
|
|
|
1356
1356
|
$: ComponentInternalInstance;
|
|
1357
1357
|
$data: {};
|
|
1358
1358
|
$props: Partial<{
|
|
1359
|
-
modelValue: FieldValues;
|
|
1360
|
-
columns: PlusColumn[];
|
|
1361
|
-
layout: "grid" | "flex";
|
|
1362
1359
|
ellipsis: boolean;
|
|
1363
|
-
|
|
1364
|
-
|
|
1360
|
+
layout: "grid" | "flex";
|
|
1361
|
+
columns: PlusColumn[];
|
|
1362
|
+
modelValue: FieldValues;
|
|
1365
1363
|
group: false | PlusFormGroupRow[];
|
|
1364
|
+
clearable: boolean;
|
|
1366
1365
|
labelWidth: ElementPlusFormProps["labelWidth"];
|
|
1367
1366
|
labelPosition: ElementPlusFormProps["labelPosition"];
|
|
1368
|
-
labelSuffix: ElementPlusFormProps["labelSuffix"];
|
|
1369
1367
|
rules: ElementPlusFormProps["rules"];
|
|
1370
|
-
|
|
1371
|
-
rowProps: Partial< Mutable<RowProps> & {
|
|
1368
|
+
colProps: Partial< Mutable<ColProps> & {
|
|
1372
1369
|
style?: CSSProperties;
|
|
1373
1370
|
class?: any;
|
|
1374
1371
|
} & RecordType>;
|
|
1375
|
-
|
|
1372
|
+
hasLabel: boolean;
|
|
1373
|
+
labelSuffix: ElementPlusFormProps["labelSuffix"];
|
|
1374
|
+
collapseDuration: number;
|
|
1375
|
+
collapseTransition: boolean;
|
|
1376
|
+
rowProps: Partial< Mutable<RowProps> & {
|
|
1376
1377
|
style?: CSSProperties;
|
|
1377
1378
|
class?: any;
|
|
1378
1379
|
} & RecordType>;
|
|
1380
|
+
defaultValues: FieldValues;
|
|
1379
1381
|
hasErrorTip: boolean;
|
|
1380
1382
|
hasFooter: boolean;
|
|
1381
1383
|
hasReset: boolean;
|
|
1382
|
-
hasLabel: boolean;
|
|
1383
1384
|
submitText: string;
|
|
1384
1385
|
resetText: string;
|
|
1385
1386
|
submitLoading: boolean;
|
|
@@ -1389,15 +1390,14 @@ export declare const PlusSearch: {
|
|
|
1389
1390
|
class?: any;
|
|
1390
1391
|
} & RecordType>;
|
|
1391
1392
|
prevent: boolean;
|
|
1392
|
-
clearable: boolean;
|
|
1393
1393
|
}> & Omit<{
|
|
1394
1394
|
readonly onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
1395
1395
|
readonly onReset?: ((values: FieldValues) => any) | undefined;
|
|
1396
1396
|
readonly onSubmit?: ((values: FieldValues) => any) | undefined;
|
|
1397
1397
|
readonly "onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
1398
|
-
readonly onSubmitError?: ((errors: unknown) => any) | undefined;
|
|
1399
1398
|
readonly onValidate?: ((...args: any[]) => any) | undefined;
|
|
1400
|
-
|
|
1399
|
+
readonly onSubmitError?: ((errors: unknown) => any) | undefined;
|
|
1400
|
+
} & VNodeProps & AllowedComponentProps & ComponentCustomProps, "ellipsis" | "layout" | "columns" | "modelValue" | "group" | "clearable" | "labelWidth" | "labelPosition" | "rules" | "colProps" | "hasLabel" | "labelSuffix" | "collapseDuration" | "collapseTransition" | "rowProps" | "defaultValues" | "hasErrorTip" | "hasFooter" | "hasReset" | "submitText" | "resetText" | "submitLoading" | "footerAlign" | "cardProps" | "prevent">;
|
|
1401
1401
|
$attrs: Attrs;
|
|
1402
1402
|
$refs: {
|
|
1403
1403
|
[x: string]: unknown;
|
|
@@ -1408,15 +1408,15 @@ export declare const PlusSearch: {
|
|
|
1408
1408
|
$root: ComponentPublicInstance | null;
|
|
1409
1409
|
$parent: ComponentPublicInstance | null;
|
|
1410
1410
|
$host: Element | null;
|
|
1411
|
-
$emit: ((event: "change", values: FieldValues, column: PlusColumn) => void) & ((event: "reset", values: FieldValues) => void) & ((event: "submit", values: FieldValues) => void) & ((event: "update:modelValue", values: FieldValues) => void) & ((event: "
|
|
1411
|
+
$emit: ((event: "change", values: FieldValues, column: PlusColumn) => void) & ((event: "reset", values: FieldValues) => void) & ((event: "submit", values: FieldValues) => void) & ((event: "update:modelValue", values: FieldValues) => void) & ((event: "validate", ...args: any[]) => void) & ((event: "submitError", errors: unknown) => void);
|
|
1412
1412
|
$el: any;
|
|
1413
1413
|
$options: ComponentOptionsBase<Readonly<unknown> & Readonly<{
|
|
1414
1414
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
1415
1415
|
onReset?: ((values: FieldValues) => any) | undefined;
|
|
1416
1416
|
onSubmit?: ((values: FieldValues) => any) | undefined;
|
|
1417
1417
|
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
1418
|
-
onSubmitError?: ((errors: unknown) => any) | undefined;
|
|
1419
1418
|
onValidate?: ((...args: any[]) => any) | undefined;
|
|
1419
|
+
onSubmitError?: ((errors: unknown) => any) | undefined;
|
|
1420
1420
|
}>, {
|
|
1421
1421
|
formInstance: Ref< FormInstance | null, FormInstance | null>;
|
|
1422
1422
|
handleSubmit: () => void;
|
|
@@ -1429,30 +1429,31 @@ export declare const PlusSearch: {
|
|
|
1429
1429
|
submitError: (errors: unknown) => void;
|
|
1430
1430
|
validate: (...args: any[]) => void;
|
|
1431
1431
|
}, string, {
|
|
1432
|
-
modelValue: FieldValues;
|
|
1433
|
-
columns: PlusColumn[];
|
|
1434
|
-
layout: "grid" | "flex";
|
|
1435
1432
|
ellipsis: boolean;
|
|
1436
|
-
|
|
1437
|
-
|
|
1433
|
+
layout: "grid" | "flex";
|
|
1434
|
+
columns: PlusColumn[];
|
|
1435
|
+
modelValue: FieldValues;
|
|
1438
1436
|
group: false | PlusFormGroupRow[];
|
|
1437
|
+
clearable: boolean;
|
|
1439
1438
|
labelWidth: ElementPlusFormProps["labelWidth"];
|
|
1440
1439
|
labelPosition: ElementPlusFormProps["labelPosition"];
|
|
1441
|
-
labelSuffix: ElementPlusFormProps["labelSuffix"];
|
|
1442
1440
|
rules: ElementPlusFormProps["rules"];
|
|
1443
|
-
|
|
1444
|
-
rowProps: Partial< Mutable<RowProps> & {
|
|
1441
|
+
colProps: Partial< Mutable<ColProps> & {
|
|
1445
1442
|
style?: CSSProperties;
|
|
1446
1443
|
class?: any;
|
|
1447
1444
|
} & RecordType>;
|
|
1448
|
-
|
|
1445
|
+
hasLabel: boolean;
|
|
1446
|
+
labelSuffix: ElementPlusFormProps["labelSuffix"];
|
|
1447
|
+
collapseDuration: number;
|
|
1448
|
+
collapseTransition: boolean;
|
|
1449
|
+
rowProps: Partial< Mutable<RowProps> & {
|
|
1449
1450
|
style?: CSSProperties;
|
|
1450
1451
|
class?: any;
|
|
1451
1452
|
} & RecordType>;
|
|
1453
|
+
defaultValues: FieldValues;
|
|
1452
1454
|
hasErrorTip: boolean;
|
|
1453
1455
|
hasFooter: boolean;
|
|
1454
1456
|
hasReset: boolean;
|
|
1455
|
-
hasLabel: boolean;
|
|
1456
1457
|
submitText: string;
|
|
1457
1458
|
resetText: string;
|
|
1458
1459
|
submitLoading: boolean;
|
|
@@ -1462,7 +1463,6 @@ export declare const PlusSearch: {
|
|
|
1462
1463
|
class?: any;
|
|
1463
1464
|
} & RecordType>;
|
|
1464
1465
|
prevent: boolean;
|
|
1465
|
-
clearable: boolean;
|
|
1466
1466
|
}, {}, string, {}, GlobalComponents, GlobalDirectives, string, ComponentProvideOptions> & {
|
|
1467
1467
|
beforeCreate?: (() => void) | (() => void)[];
|
|
1468
1468
|
created?: (() => void) | (() => void)[];
|
|
@@ -1484,30 +1484,31 @@ export declare const PlusSearch: {
|
|
|
1484
1484
|
$nextTick: nextTick;
|
|
1485
1485
|
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, OnCleanup]) => any : (...args: [any, any, OnCleanup]) => any, options?: WatchOptions): WatchStopHandle;
|
|
1486
1486
|
} & Readonly<{
|
|
1487
|
-
modelValue: FieldValues;
|
|
1488
|
-
columns: PlusColumn[];
|
|
1489
|
-
layout: "grid" | "flex";
|
|
1490
1487
|
ellipsis: boolean;
|
|
1491
|
-
|
|
1492
|
-
|
|
1488
|
+
layout: "grid" | "flex";
|
|
1489
|
+
columns: PlusColumn[];
|
|
1490
|
+
modelValue: FieldValues;
|
|
1493
1491
|
group: false | PlusFormGroupRow[];
|
|
1492
|
+
clearable: boolean;
|
|
1494
1493
|
labelWidth: ElementPlusFormProps["labelWidth"];
|
|
1495
1494
|
labelPosition: ElementPlusFormProps["labelPosition"];
|
|
1496
|
-
labelSuffix: ElementPlusFormProps["labelSuffix"];
|
|
1497
1495
|
rules: ElementPlusFormProps["rules"];
|
|
1498
|
-
|
|
1499
|
-
rowProps: Partial< Mutable<RowProps> & {
|
|
1496
|
+
colProps: Partial< Mutable<ColProps> & {
|
|
1500
1497
|
style?: CSSProperties;
|
|
1501
1498
|
class?: any;
|
|
1502
1499
|
} & RecordType>;
|
|
1503
|
-
|
|
1500
|
+
hasLabel: boolean;
|
|
1501
|
+
labelSuffix: ElementPlusFormProps["labelSuffix"];
|
|
1502
|
+
collapseDuration: number;
|
|
1503
|
+
collapseTransition: boolean;
|
|
1504
|
+
rowProps: Partial< Mutable<RowProps> & {
|
|
1504
1505
|
style?: CSSProperties;
|
|
1505
1506
|
class?: any;
|
|
1506
1507
|
} & RecordType>;
|
|
1508
|
+
defaultValues: FieldValues;
|
|
1507
1509
|
hasErrorTip: boolean;
|
|
1508
1510
|
hasFooter: boolean;
|
|
1509
1511
|
hasReset: boolean;
|
|
1510
|
-
hasLabel: boolean;
|
|
1511
1512
|
submitText: string;
|
|
1512
1513
|
resetText: string;
|
|
1513
1514
|
submitLoading: boolean;
|
|
@@ -1517,15 +1518,14 @@ export declare const PlusSearch: {
|
|
|
1517
1518
|
class?: any;
|
|
1518
1519
|
} & RecordType>;
|
|
1519
1520
|
prevent: boolean;
|
|
1520
|
-
clearable: boolean;
|
|
1521
1521
|
}> & Omit<Readonly<unknown> & Readonly<{
|
|
1522
1522
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
1523
1523
|
onReset?: ((values: FieldValues) => any) | undefined;
|
|
1524
1524
|
onSubmit?: ((values: FieldValues) => any) | undefined;
|
|
1525
1525
|
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
1526
|
-
onSubmitError?: ((errors: unknown) => any) | undefined;
|
|
1527
1526
|
onValidate?: ((...args: any[]) => any) | undefined;
|
|
1528
|
-
|
|
1527
|
+
onSubmitError?: ((errors: unknown) => any) | undefined;
|
|
1528
|
+
}>, "handleReset" | "formInstance" | "handleSubmit" | ("ellipsis" | "layout" | "columns" | "modelValue" | "group" | "clearable" | "labelWidth" | "labelPosition" | "rules" | "colProps" | "hasLabel" | "labelSuffix" | "collapseDuration" | "collapseTransition" | "rowProps" | "defaultValues" | "hasErrorTip" | "hasFooter" | "hasReset" | "submitText" | "resetText" | "submitLoading" | "footerAlign" | "cardProps" | "prevent")> & {
|
|
1529
1529
|
formInstance: FormInstance | null;
|
|
1530
1530
|
handleSubmit: () => void;
|
|
1531
1531
|
handleReset: () => void;
|
|
@@ -1546,8 +1546,8 @@ export declare const PlusSearch: {
|
|
|
1546
1546
|
prop: PlusColumn["prop"];
|
|
1547
1547
|
}> & {
|
|
1548
1548
|
readonly label: string | ComputedRef<string>;
|
|
1549
|
-
readonly modelValue: string | number | boolean |
|
|
1550
|
-
readonly hasLabel: boolean |
|
|
1549
|
+
readonly modelValue: string | number | boolean | string[] | number[] | [string, string] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
1550
|
+
readonly hasLabel: boolean | Ref<boolean, boolean> | ComputedRef<boolean>;
|
|
1551
1551
|
readonly tooltip: string | ComputedRef<string> | Partial< Mutable<UseTooltipProps> & {
|
|
1552
1552
|
style?: CSSProperties;
|
|
1553
1553
|
class?: any;
|
|
@@ -1620,8 +1620,8 @@ export declare const PlusSearch: {
|
|
|
1620
1620
|
fieldInstance?: any;
|
|
1621
1621
|
valueIsReady?: Ref<boolean>;
|
|
1622
1622
|
prop: PlusColumn["prop"];
|
|
1623
|
-
modelValue: string | number | boolean |
|
|
1624
|
-
hasLabel: boolean |
|
|
1623
|
+
modelValue: string | number | boolean | string[] | number[] | [string, string] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
1624
|
+
hasLabel: boolean | Ref<boolean, boolean> | ComputedRef<boolean>;
|
|
1625
1625
|
tooltip: string | ComputedRef<string> | Partial< Mutable<UseTooltipProps> & {
|
|
1626
1626
|
style?: CSSProperties;
|
|
1627
1627
|
class?: any;
|
|
@@ -1659,8 +1659,8 @@ export declare const PlusSearch: {
|
|
|
1659
1659
|
prop: PlusColumn["prop"];
|
|
1660
1660
|
}> & {
|
|
1661
1661
|
readonly label: string | ComputedRef<string>;
|
|
1662
|
-
readonly modelValue: string | number | boolean |
|
|
1663
|
-
readonly hasLabel: boolean |
|
|
1662
|
+
readonly modelValue: string | number | boolean | string[] | number[] | [string, string] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
1663
|
+
readonly hasLabel: boolean | Ref<boolean, boolean> | ComputedRef<boolean>;
|
|
1664
1664
|
readonly tooltip: string | ComputedRef<string> | Partial< Mutable<UseTooltipProps> & {
|
|
1665
1665
|
style?: CSSProperties;
|
|
1666
1666
|
class?: any;
|
|
@@ -1733,8 +1733,8 @@ export declare const PlusSearch: {
|
|
|
1733
1733
|
fieldInstance?: any;
|
|
1734
1734
|
valueIsReady?: Ref<boolean>;
|
|
1735
1735
|
prop: PlusColumn["prop"];
|
|
1736
|
-
modelValue: string | number | boolean |
|
|
1737
|
-
hasLabel: boolean |
|
|
1736
|
+
modelValue: string | number | boolean | string[] | number[] | [string, string] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
1737
|
+
hasLabel: boolean | Ref<boolean, boolean> | ComputedRef<boolean>;
|
|
1738
1738
|
tooltip: string | ComputedRef<string> | Partial< Mutable<UseTooltipProps> & {
|
|
1739
1739
|
style?: CSSProperties;
|
|
1740
1740
|
class?: any;
|
|
@@ -1785,21 +1785,21 @@ export declare const PlusSearch: {
|
|
|
1785
1785
|
handleSearch: () => void;
|
|
1786
1786
|
handleUnfold: (e: MouseEvent) => void;
|
|
1787
1787
|
}, {}, {}, {}, {
|
|
1788
|
-
|
|
1789
|
-
columns: PlusColumn[];
|
|
1788
|
+
ellipsis: boolean;
|
|
1790
1789
|
layout: "flex" | "grid";
|
|
1791
1790
|
inline: boolean;
|
|
1792
|
-
|
|
1791
|
+
columns: PlusColumn[];
|
|
1792
|
+
modelValue: FieldValues;
|
|
1793
1793
|
labelPosition: "left" | "right" | "top";
|
|
1794
|
-
|
|
1795
|
-
rowProps: Partial< Mutable<RowProps> & {
|
|
1794
|
+
colProps: Partial< Mutable<ColProps> & {
|
|
1796
1795
|
style?: CSSProperties;
|
|
1797
1796
|
class?: any;
|
|
1798
1797
|
} & RecordType>;
|
|
1799
|
-
|
|
1798
|
+
rowProps: Partial< Mutable<RowProps> & {
|
|
1800
1799
|
style?: CSSProperties;
|
|
1801
1800
|
class?: any;
|
|
1802
1801
|
} & RecordType>;
|
|
1802
|
+
defaultValues: FieldValues;
|
|
1803
1803
|
hasFooter: boolean;
|
|
1804
1804
|
hasReset: boolean;
|
|
1805
1805
|
resetText: string;
|
|
@@ -1821,37 +1821,38 @@ export declare const PlusSearch: {
|
|
|
1821
1821
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
1822
1822
|
onReset?: ((values: FieldValues) => any) | undefined;
|
|
1823
1823
|
onSearch?: ((values: FieldValues) => any) | undefined;
|
|
1824
|
-
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
1825
1824
|
onCollapse?: ((isShowUnfold: boolean) => any) | undefined;
|
|
1825
|
+
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
1826
1826
|
}>, {
|
|
1827
1827
|
plusFormInstance: Ref<({
|
|
1828
1828
|
$: ComponentInternalInstance;
|
|
1829
1829
|
$data: {};
|
|
1830
1830
|
$props: Partial<{
|
|
1831
|
-
modelValue: FieldValues;
|
|
1832
|
-
columns: PlusColumn[];
|
|
1833
|
-
layout: "grid" | "flex";
|
|
1834
1831
|
ellipsis: boolean;
|
|
1835
|
-
|
|
1836
|
-
|
|
1832
|
+
layout: "grid" | "flex";
|
|
1833
|
+
columns: PlusColumn[];
|
|
1834
|
+
modelValue: FieldValues;
|
|
1837
1835
|
group: false | PlusFormGroupRow[];
|
|
1836
|
+
clearable: boolean;
|
|
1838
1837
|
labelWidth: ElementPlusFormProps["labelWidth"];
|
|
1839
1838
|
labelPosition: ElementPlusFormProps["labelPosition"];
|
|
1840
|
-
labelSuffix: ElementPlusFormProps["labelSuffix"];
|
|
1841
1839
|
rules: ElementPlusFormProps["rules"];
|
|
1842
|
-
|
|
1843
|
-
rowProps: Partial< Mutable<RowProps> & {
|
|
1840
|
+
colProps: Partial< Mutable<ColProps> & {
|
|
1844
1841
|
style?: CSSProperties;
|
|
1845
1842
|
class?: any;
|
|
1846
1843
|
} & RecordType>;
|
|
1847
|
-
|
|
1844
|
+
hasLabel: boolean;
|
|
1845
|
+
labelSuffix: ElementPlusFormProps["labelSuffix"];
|
|
1846
|
+
collapseDuration: number;
|
|
1847
|
+
collapseTransition: boolean;
|
|
1848
|
+
rowProps: Partial< Mutable<RowProps> & {
|
|
1848
1849
|
style?: CSSProperties;
|
|
1849
1850
|
class?: any;
|
|
1850
1851
|
} & RecordType>;
|
|
1852
|
+
defaultValues: FieldValues;
|
|
1851
1853
|
hasErrorTip: boolean;
|
|
1852
1854
|
hasFooter: boolean;
|
|
1853
1855
|
hasReset: boolean;
|
|
1854
|
-
hasLabel: boolean;
|
|
1855
1856
|
submitText: string;
|
|
1856
1857
|
resetText: string;
|
|
1857
1858
|
submitLoading: boolean;
|
|
@@ -1861,15 +1862,14 @@ export declare const PlusSearch: {
|
|
|
1861
1862
|
class?: any;
|
|
1862
1863
|
} & RecordType>;
|
|
1863
1864
|
prevent: boolean;
|
|
1864
|
-
clearable: boolean;
|
|
1865
1865
|
}> & Omit<{
|
|
1866
1866
|
readonly onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
1867
1867
|
readonly onReset?: ((values: FieldValues) => any) | undefined;
|
|
1868
1868
|
readonly onSubmit?: ((values: FieldValues) => any) | undefined;
|
|
1869
1869
|
readonly "onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
1870
|
-
readonly onSubmitError?: ((errors: unknown) => any) | undefined;
|
|
1871
1870
|
readonly onValidate?: ((...args: any[]) => any) | undefined;
|
|
1872
|
-
|
|
1871
|
+
readonly onSubmitError?: ((errors: unknown) => any) | undefined;
|
|
1872
|
+
} & VNodeProps & AllowedComponentProps & ComponentCustomProps, "ellipsis" | "layout" | "columns" | "modelValue" | "group" | "clearable" | "labelWidth" | "labelPosition" | "rules" | "colProps" | "hasLabel" | "labelSuffix" | "collapseDuration" | "collapseTransition" | "rowProps" | "defaultValues" | "hasErrorTip" | "hasFooter" | "hasReset" | "submitText" | "resetText" | "submitLoading" | "footerAlign" | "cardProps" | "prevent">;
|
|
1873
1873
|
$attrs: Attrs;
|
|
1874
1874
|
$refs: {
|
|
1875
1875
|
[x: string]: unknown;
|
|
@@ -1880,15 +1880,15 @@ export declare const PlusSearch: {
|
|
|
1880
1880
|
$root: ComponentPublicInstance | null;
|
|
1881
1881
|
$parent: ComponentPublicInstance | null;
|
|
1882
1882
|
$host: Element | null;
|
|
1883
|
-
$emit: ((event: "change", values: FieldValues, column: PlusColumn) => void) & ((event: "reset", values: FieldValues) => void) & ((event: "submit", values: FieldValues) => void) & ((event: "update:modelValue", values: FieldValues) => void) & ((event: "
|
|
1883
|
+
$emit: ((event: "change", values: FieldValues, column: PlusColumn) => void) & ((event: "reset", values: FieldValues) => void) & ((event: "submit", values: FieldValues) => void) & ((event: "update:modelValue", values: FieldValues) => void) & ((event: "validate", ...args: any[]) => void) & ((event: "submitError", errors: unknown) => void);
|
|
1884
1884
|
$el: any;
|
|
1885
1885
|
$options: ComponentOptionsBase<Readonly<unknown> & Readonly<{
|
|
1886
1886
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
1887
1887
|
onReset?: ((values: FieldValues) => any) | undefined;
|
|
1888
1888
|
onSubmit?: ((values: FieldValues) => any) | undefined;
|
|
1889
1889
|
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
1890
|
-
onSubmitError?: ((errors: unknown) => any) | undefined;
|
|
1891
1890
|
onValidate?: ((...args: any[]) => any) | undefined;
|
|
1891
|
+
onSubmitError?: ((errors: unknown) => any) | undefined;
|
|
1892
1892
|
}>, {
|
|
1893
1893
|
formInstance: Ref< FormInstance | null, FormInstance | null>;
|
|
1894
1894
|
handleSubmit: () => void;
|
|
@@ -1901,30 +1901,31 @@ export declare const PlusSearch: {
|
|
|
1901
1901
|
submitError: (errors: unknown) => void;
|
|
1902
1902
|
validate: (...args: any[]) => void;
|
|
1903
1903
|
}, string, {
|
|
1904
|
-
modelValue: FieldValues;
|
|
1905
|
-
columns: PlusColumn[];
|
|
1906
|
-
layout: "grid" | "flex";
|
|
1907
1904
|
ellipsis: boolean;
|
|
1908
|
-
|
|
1909
|
-
|
|
1905
|
+
layout: "grid" | "flex";
|
|
1906
|
+
columns: PlusColumn[];
|
|
1907
|
+
modelValue: FieldValues;
|
|
1910
1908
|
group: false | PlusFormGroupRow[];
|
|
1909
|
+
clearable: boolean;
|
|
1911
1910
|
labelWidth: ElementPlusFormProps["labelWidth"];
|
|
1912
1911
|
labelPosition: ElementPlusFormProps["labelPosition"];
|
|
1913
|
-
labelSuffix: ElementPlusFormProps["labelSuffix"];
|
|
1914
1912
|
rules: ElementPlusFormProps["rules"];
|
|
1915
|
-
|
|
1916
|
-
rowProps: Partial< Mutable<RowProps> & {
|
|
1913
|
+
colProps: Partial< Mutable<ColProps> & {
|
|
1917
1914
|
style?: CSSProperties;
|
|
1918
1915
|
class?: any;
|
|
1919
1916
|
} & RecordType>;
|
|
1920
|
-
|
|
1917
|
+
hasLabel: boolean;
|
|
1918
|
+
labelSuffix: ElementPlusFormProps["labelSuffix"];
|
|
1919
|
+
collapseDuration: number;
|
|
1920
|
+
collapseTransition: boolean;
|
|
1921
|
+
rowProps: Partial< Mutable<RowProps> & {
|
|
1921
1922
|
style?: CSSProperties;
|
|
1922
1923
|
class?: any;
|
|
1923
1924
|
} & RecordType>;
|
|
1925
|
+
defaultValues: FieldValues;
|
|
1924
1926
|
hasErrorTip: boolean;
|
|
1925
1927
|
hasFooter: boolean;
|
|
1926
1928
|
hasReset: boolean;
|
|
1927
|
-
hasLabel: boolean;
|
|
1928
1929
|
submitText: string;
|
|
1929
1930
|
resetText: string;
|
|
1930
1931
|
submitLoading: boolean;
|
|
@@ -1934,7 +1935,6 @@ export declare const PlusSearch: {
|
|
|
1934
1935
|
class?: any;
|
|
1935
1936
|
} & RecordType>;
|
|
1936
1937
|
prevent: boolean;
|
|
1937
|
-
clearable: boolean;
|
|
1938
1938
|
}, {}, string, {}, GlobalComponents, GlobalDirectives, string, ComponentProvideOptions> & {
|
|
1939
1939
|
beforeCreate?: (() => void) | (() => void)[];
|
|
1940
1940
|
created?: (() => void) | (() => void)[];
|
|
@@ -1956,30 +1956,31 @@ export declare const PlusSearch: {
|
|
|
1956
1956
|
$nextTick: nextTick;
|
|
1957
1957
|
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, OnCleanup]) => any : (...args: [any, any, OnCleanup]) => any, options?: WatchOptions): WatchStopHandle;
|
|
1958
1958
|
} & Readonly<{
|
|
1959
|
-
modelValue: FieldValues;
|
|
1960
|
-
columns: PlusColumn[];
|
|
1961
|
-
layout: "grid" | "flex";
|
|
1962
1959
|
ellipsis: boolean;
|
|
1963
|
-
|
|
1964
|
-
|
|
1960
|
+
layout: "grid" | "flex";
|
|
1961
|
+
columns: PlusColumn[];
|
|
1962
|
+
modelValue: FieldValues;
|
|
1965
1963
|
group: false | PlusFormGroupRow[];
|
|
1964
|
+
clearable: boolean;
|
|
1966
1965
|
labelWidth: ElementPlusFormProps["labelWidth"];
|
|
1967
1966
|
labelPosition: ElementPlusFormProps["labelPosition"];
|
|
1968
|
-
labelSuffix: ElementPlusFormProps["labelSuffix"];
|
|
1969
1967
|
rules: ElementPlusFormProps["rules"];
|
|
1970
|
-
|
|
1971
|
-
rowProps: Partial< Mutable<RowProps> & {
|
|
1968
|
+
colProps: Partial< Mutable<ColProps> & {
|
|
1972
1969
|
style?: CSSProperties;
|
|
1973
1970
|
class?: any;
|
|
1974
1971
|
} & RecordType>;
|
|
1975
|
-
|
|
1972
|
+
hasLabel: boolean;
|
|
1973
|
+
labelSuffix: ElementPlusFormProps["labelSuffix"];
|
|
1974
|
+
collapseDuration: number;
|
|
1975
|
+
collapseTransition: boolean;
|
|
1976
|
+
rowProps: Partial< Mutable<RowProps> & {
|
|
1976
1977
|
style?: CSSProperties;
|
|
1977
1978
|
class?: any;
|
|
1978
1979
|
} & RecordType>;
|
|
1980
|
+
defaultValues: FieldValues;
|
|
1979
1981
|
hasErrorTip: boolean;
|
|
1980
1982
|
hasFooter: boolean;
|
|
1981
1983
|
hasReset: boolean;
|
|
1982
|
-
hasLabel: boolean;
|
|
1983
1984
|
submitText: string;
|
|
1984
1985
|
resetText: string;
|
|
1985
1986
|
submitLoading: boolean;
|
|
@@ -1989,15 +1990,14 @@ export declare const PlusSearch: {
|
|
|
1989
1990
|
class?: any;
|
|
1990
1991
|
} & RecordType>;
|
|
1991
1992
|
prevent: boolean;
|
|
1992
|
-
clearable: boolean;
|
|
1993
1993
|
}> & Omit<Readonly<unknown> & Readonly<{
|
|
1994
1994
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
1995
1995
|
onReset?: ((values: FieldValues) => any) | undefined;
|
|
1996
1996
|
onSubmit?: ((values: FieldValues) => any) | undefined;
|
|
1997
1997
|
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
1998
|
-
onSubmitError?: ((errors: unknown) => any) | undefined;
|
|
1999
1998
|
onValidate?: ((...args: any[]) => any) | undefined;
|
|
2000
|
-
|
|
1999
|
+
onSubmitError?: ((errors: unknown) => any) | undefined;
|
|
2000
|
+
}>, "handleReset" | "formInstance" | "handleSubmit" | ("ellipsis" | "layout" | "columns" | "modelValue" | "group" | "clearable" | "labelWidth" | "labelPosition" | "rules" | "colProps" | "hasLabel" | "labelSuffix" | "collapseDuration" | "collapseTransition" | "rowProps" | "defaultValues" | "hasErrorTip" | "hasFooter" | "hasReset" | "submitText" | "resetText" | "submitLoading" | "footerAlign" | "cardProps" | "prevent")> & {
|
|
2001
2001
|
formInstance: FormInstance | null;
|
|
2002
2002
|
handleSubmit: () => void;
|
|
2003
2003
|
handleReset: () => void;
|
|
@@ -2015,8 +2015,8 @@ export declare const PlusSearch: {
|
|
|
2015
2015
|
prop: PlusColumn["prop"];
|
|
2016
2016
|
}> & {
|
|
2017
2017
|
readonly label: string | ComputedRef<string>;
|
|
2018
|
-
readonly modelValue: string | number | boolean |
|
|
2019
|
-
readonly hasLabel: boolean |
|
|
2018
|
+
readonly modelValue: string | number | boolean | string[] | number[] | [string, string] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
2019
|
+
readonly hasLabel: boolean | Ref<boolean, boolean> | ComputedRef<boolean>;
|
|
2020
2020
|
readonly tooltip: string | ComputedRef<string> | Partial< Mutable<UseTooltipProps> & {
|
|
2021
2021
|
style?: CSSProperties;
|
|
2022
2022
|
class?: any;
|
|
@@ -2089,8 +2089,8 @@ export declare const PlusSearch: {
|
|
|
2089
2089
|
fieldInstance?: any;
|
|
2090
2090
|
valueIsReady?: Ref<boolean>;
|
|
2091
2091
|
prop: PlusColumn["prop"];
|
|
2092
|
-
modelValue: string | number | boolean |
|
|
2093
|
-
hasLabel: boolean |
|
|
2092
|
+
modelValue: string | number | boolean | string[] | number[] | [string, string] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
2093
|
+
hasLabel: boolean | Ref<boolean, boolean> | ComputedRef<boolean>;
|
|
2094
2094
|
tooltip: string | ComputedRef<string> | Partial< Mutable<UseTooltipProps> & {
|
|
2095
2095
|
style?: CSSProperties;
|
|
2096
2096
|
class?: any;
|
|
@@ -2128,8 +2128,8 @@ export declare const PlusSearch: {
|
|
|
2128
2128
|
prop: PlusColumn["prop"];
|
|
2129
2129
|
}> & {
|
|
2130
2130
|
readonly label: string | ComputedRef<string>;
|
|
2131
|
-
readonly modelValue: string | number | boolean |
|
|
2132
|
-
readonly hasLabel: boolean |
|
|
2131
|
+
readonly modelValue: string | number | boolean | string[] | number[] | [string, string] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
2132
|
+
readonly hasLabel: boolean | Ref<boolean, boolean> | ComputedRef<boolean>;
|
|
2133
2133
|
readonly tooltip: string | ComputedRef<string> | Partial< Mutable<UseTooltipProps> & {
|
|
2134
2134
|
style?: CSSProperties;
|
|
2135
2135
|
class?: any;
|
|
@@ -2202,8 +2202,8 @@ export declare const PlusSearch: {
|
|
|
2202
2202
|
fieldInstance?: any;
|
|
2203
2203
|
valueIsReady?: Ref<boolean>;
|
|
2204
2204
|
prop: PlusColumn["prop"];
|
|
2205
|
-
modelValue: string | number | boolean |
|
|
2206
|
-
hasLabel: boolean |
|
|
2205
|
+
modelValue: string | number | boolean | string[] | number[] | [string, string] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
2206
|
+
hasLabel: boolean | Ref<boolean, boolean> | ComputedRef<boolean>;
|
|
2207
2207
|
tooltip: string | ComputedRef<string> | Partial< Mutable<UseTooltipProps> & {
|
|
2208
2208
|
style?: CSSProperties;
|
|
2209
2209
|
class?: any;
|
|
@@ -2253,30 +2253,31 @@ export declare const PlusSearch: {
|
|
|
2253
2253
|
$: ComponentInternalInstance;
|
|
2254
2254
|
$data: {};
|
|
2255
2255
|
$props: Partial<{
|
|
2256
|
-
modelValue: FieldValues;
|
|
2257
|
-
columns: PlusColumn[];
|
|
2258
|
-
layout: "grid" | "flex";
|
|
2259
2256
|
ellipsis: boolean;
|
|
2260
|
-
|
|
2261
|
-
|
|
2257
|
+
layout: "grid" | "flex";
|
|
2258
|
+
columns: PlusColumn[];
|
|
2259
|
+
modelValue: FieldValues;
|
|
2262
2260
|
group: false | PlusFormGroupRow[];
|
|
2261
|
+
clearable: boolean;
|
|
2263
2262
|
labelWidth: ElementPlusFormProps["labelWidth"];
|
|
2264
2263
|
labelPosition: ElementPlusFormProps["labelPosition"];
|
|
2265
|
-
labelSuffix: ElementPlusFormProps["labelSuffix"];
|
|
2266
2264
|
rules: ElementPlusFormProps["rules"];
|
|
2267
|
-
|
|
2268
|
-
rowProps: Partial< Mutable<RowProps> & {
|
|
2265
|
+
colProps: Partial< Mutable<ColProps> & {
|
|
2269
2266
|
style?: CSSProperties;
|
|
2270
2267
|
class?: any;
|
|
2271
2268
|
} & RecordType>;
|
|
2272
|
-
|
|
2269
|
+
hasLabel: boolean;
|
|
2270
|
+
labelSuffix: ElementPlusFormProps["labelSuffix"];
|
|
2271
|
+
collapseDuration: number;
|
|
2272
|
+
collapseTransition: boolean;
|
|
2273
|
+
rowProps: Partial< Mutable<RowProps> & {
|
|
2273
2274
|
style?: CSSProperties;
|
|
2274
2275
|
class?: any;
|
|
2275
2276
|
} & RecordType>;
|
|
2277
|
+
defaultValues: FieldValues;
|
|
2276
2278
|
hasErrorTip: boolean;
|
|
2277
2279
|
hasFooter: boolean;
|
|
2278
2280
|
hasReset: boolean;
|
|
2279
|
-
hasLabel: boolean;
|
|
2280
2281
|
submitText: string;
|
|
2281
2282
|
resetText: string;
|
|
2282
2283
|
submitLoading: boolean;
|
|
@@ -2286,15 +2287,14 @@ export declare const PlusSearch: {
|
|
|
2286
2287
|
class?: any;
|
|
2287
2288
|
} & RecordType>;
|
|
2288
2289
|
prevent: boolean;
|
|
2289
|
-
clearable: boolean;
|
|
2290
2290
|
}> & Omit<{
|
|
2291
2291
|
readonly onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
2292
2292
|
readonly onReset?: ((values: FieldValues) => any) | undefined;
|
|
2293
2293
|
readonly onSubmit?: ((values: FieldValues) => any) | undefined;
|
|
2294
2294
|
readonly "onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
2295
|
-
readonly onSubmitError?: ((errors: unknown) => any) | undefined;
|
|
2296
2295
|
readonly onValidate?: ((...args: any[]) => any) | undefined;
|
|
2297
|
-
|
|
2296
|
+
readonly onSubmitError?: ((errors: unknown) => any) | undefined;
|
|
2297
|
+
} & VNodeProps & AllowedComponentProps & ComponentCustomProps, "ellipsis" | "layout" | "columns" | "modelValue" | "group" | "clearable" | "labelWidth" | "labelPosition" | "rules" | "colProps" | "hasLabel" | "labelSuffix" | "collapseDuration" | "collapseTransition" | "rowProps" | "defaultValues" | "hasErrorTip" | "hasFooter" | "hasReset" | "submitText" | "resetText" | "submitLoading" | "footerAlign" | "cardProps" | "prevent">;
|
|
2298
2298
|
$attrs: Attrs;
|
|
2299
2299
|
$refs: {
|
|
2300
2300
|
[x: string]: unknown;
|
|
@@ -2305,15 +2305,15 @@ export declare const PlusSearch: {
|
|
|
2305
2305
|
$root: ComponentPublicInstance | null;
|
|
2306
2306
|
$parent: ComponentPublicInstance | null;
|
|
2307
2307
|
$host: Element | null;
|
|
2308
|
-
$emit: ((event: "change", values: FieldValues, column: PlusColumn) => void) & ((event: "reset", values: FieldValues) => void) & ((event: "submit", values: FieldValues) => void) & ((event: "update:modelValue", values: FieldValues) => void) & ((event: "
|
|
2308
|
+
$emit: ((event: "change", values: FieldValues, column: PlusColumn) => void) & ((event: "reset", values: FieldValues) => void) & ((event: "submit", values: FieldValues) => void) & ((event: "update:modelValue", values: FieldValues) => void) & ((event: "validate", ...args: any[]) => void) & ((event: "submitError", errors: unknown) => void);
|
|
2309
2309
|
$el: any;
|
|
2310
2310
|
$options: ComponentOptionsBase<Readonly<unknown> & Readonly<{
|
|
2311
2311
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
2312
2312
|
onReset?: ((values: FieldValues) => any) | undefined;
|
|
2313
2313
|
onSubmit?: ((values: FieldValues) => any) | undefined;
|
|
2314
2314
|
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
2315
|
-
onSubmitError?: ((errors: unknown) => any) | undefined;
|
|
2316
2315
|
onValidate?: ((...args: any[]) => any) | undefined;
|
|
2316
|
+
onSubmitError?: ((errors: unknown) => any) | undefined;
|
|
2317
2317
|
}>, {
|
|
2318
2318
|
formInstance: Ref< FormInstance | null, FormInstance | null>;
|
|
2319
2319
|
handleSubmit: () => void;
|
|
@@ -2326,30 +2326,31 @@ export declare const PlusSearch: {
|
|
|
2326
2326
|
submitError: (errors: unknown) => void;
|
|
2327
2327
|
validate: (...args: any[]) => void;
|
|
2328
2328
|
}, string, {
|
|
2329
|
-
modelValue: FieldValues;
|
|
2330
|
-
columns: PlusColumn[];
|
|
2331
|
-
layout: "grid" | "flex";
|
|
2332
2329
|
ellipsis: boolean;
|
|
2333
|
-
|
|
2334
|
-
|
|
2330
|
+
layout: "grid" | "flex";
|
|
2331
|
+
columns: PlusColumn[];
|
|
2332
|
+
modelValue: FieldValues;
|
|
2335
2333
|
group: false | PlusFormGroupRow[];
|
|
2334
|
+
clearable: boolean;
|
|
2336
2335
|
labelWidth: ElementPlusFormProps["labelWidth"];
|
|
2337
2336
|
labelPosition: ElementPlusFormProps["labelPosition"];
|
|
2338
|
-
labelSuffix: ElementPlusFormProps["labelSuffix"];
|
|
2339
2337
|
rules: ElementPlusFormProps["rules"];
|
|
2340
|
-
|
|
2341
|
-
rowProps: Partial< Mutable<RowProps> & {
|
|
2338
|
+
colProps: Partial< Mutable<ColProps> & {
|
|
2342
2339
|
style?: CSSProperties;
|
|
2343
2340
|
class?: any;
|
|
2344
2341
|
} & RecordType>;
|
|
2345
|
-
|
|
2342
|
+
hasLabel: boolean;
|
|
2343
|
+
labelSuffix: ElementPlusFormProps["labelSuffix"];
|
|
2344
|
+
collapseDuration: number;
|
|
2345
|
+
collapseTransition: boolean;
|
|
2346
|
+
rowProps: Partial< Mutable<RowProps> & {
|
|
2346
2347
|
style?: CSSProperties;
|
|
2347
2348
|
class?: any;
|
|
2348
2349
|
} & RecordType>;
|
|
2350
|
+
defaultValues: FieldValues;
|
|
2349
2351
|
hasErrorTip: boolean;
|
|
2350
2352
|
hasFooter: boolean;
|
|
2351
2353
|
hasReset: boolean;
|
|
2352
|
-
hasLabel: boolean;
|
|
2353
2354
|
submitText: string;
|
|
2354
2355
|
resetText: string;
|
|
2355
2356
|
submitLoading: boolean;
|
|
@@ -2359,7 +2360,6 @@ export declare const PlusSearch: {
|
|
|
2359
2360
|
class?: any;
|
|
2360
2361
|
} & RecordType>;
|
|
2361
2362
|
prevent: boolean;
|
|
2362
|
-
clearable: boolean;
|
|
2363
2363
|
}, {}, string, {}, GlobalComponents, GlobalDirectives, string, ComponentProvideOptions> & {
|
|
2364
2364
|
beforeCreate?: (() => void) | (() => void)[];
|
|
2365
2365
|
created?: (() => void) | (() => void)[];
|
|
@@ -2381,30 +2381,31 @@ export declare const PlusSearch: {
|
|
|
2381
2381
|
$nextTick: nextTick;
|
|
2382
2382
|
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, OnCleanup]) => any : (...args: [any, any, OnCleanup]) => any, options?: WatchOptions): WatchStopHandle;
|
|
2383
2383
|
} & Readonly<{
|
|
2384
|
-
modelValue: FieldValues;
|
|
2385
|
-
columns: PlusColumn[];
|
|
2386
|
-
layout: "grid" | "flex";
|
|
2387
2384
|
ellipsis: boolean;
|
|
2388
|
-
|
|
2389
|
-
|
|
2385
|
+
layout: "grid" | "flex";
|
|
2386
|
+
columns: PlusColumn[];
|
|
2387
|
+
modelValue: FieldValues;
|
|
2390
2388
|
group: false | PlusFormGroupRow[];
|
|
2389
|
+
clearable: boolean;
|
|
2391
2390
|
labelWidth: ElementPlusFormProps["labelWidth"];
|
|
2392
2391
|
labelPosition: ElementPlusFormProps["labelPosition"];
|
|
2393
|
-
labelSuffix: ElementPlusFormProps["labelSuffix"];
|
|
2394
2392
|
rules: ElementPlusFormProps["rules"];
|
|
2395
|
-
|
|
2396
|
-
rowProps: Partial< Mutable<RowProps> & {
|
|
2393
|
+
colProps: Partial< Mutable<ColProps> & {
|
|
2397
2394
|
style?: CSSProperties;
|
|
2398
2395
|
class?: any;
|
|
2399
2396
|
} & RecordType>;
|
|
2400
|
-
|
|
2397
|
+
hasLabel: boolean;
|
|
2398
|
+
labelSuffix: ElementPlusFormProps["labelSuffix"];
|
|
2399
|
+
collapseDuration: number;
|
|
2400
|
+
collapseTransition: boolean;
|
|
2401
|
+
rowProps: Partial< Mutable<RowProps> & {
|
|
2401
2402
|
style?: CSSProperties;
|
|
2402
2403
|
class?: any;
|
|
2403
2404
|
} & RecordType>;
|
|
2405
|
+
defaultValues: FieldValues;
|
|
2404
2406
|
hasErrorTip: boolean;
|
|
2405
2407
|
hasFooter: boolean;
|
|
2406
2408
|
hasReset: boolean;
|
|
2407
|
-
hasLabel: boolean;
|
|
2408
2409
|
submitText: string;
|
|
2409
2410
|
resetText: string;
|
|
2410
2411
|
submitLoading: boolean;
|
|
@@ -2414,15 +2415,14 @@ export declare const PlusSearch: {
|
|
|
2414
2415
|
class?: any;
|
|
2415
2416
|
} & RecordType>;
|
|
2416
2417
|
prevent: boolean;
|
|
2417
|
-
clearable: boolean;
|
|
2418
2418
|
}> & Omit<Readonly<unknown> & Readonly<{
|
|
2419
2419
|
onChange?: ((values: FieldValues, column: PlusColumn) => any) | undefined;
|
|
2420
2420
|
onReset?: ((values: FieldValues) => any) | undefined;
|
|
2421
2421
|
onSubmit?: ((values: FieldValues) => any) | undefined;
|
|
2422
2422
|
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
2423
|
-
onSubmitError?: ((errors: unknown) => any) | undefined;
|
|
2424
2423
|
onValidate?: ((...args: any[]) => any) | undefined;
|
|
2425
|
-
|
|
2424
|
+
onSubmitError?: ((errors: unknown) => any) | undefined;
|
|
2425
|
+
}>, "handleReset" | "formInstance" | "handleSubmit" | ("ellipsis" | "layout" | "columns" | "modelValue" | "group" | "clearable" | "labelWidth" | "labelPosition" | "rules" | "colProps" | "hasLabel" | "labelSuffix" | "collapseDuration" | "collapseTransition" | "rowProps" | "defaultValues" | "hasErrorTip" | "hasFooter" | "hasReset" | "submitText" | "resetText" | "submitLoading" | "footerAlign" | "cardProps" | "prevent")> & {
|
|
2426
2426
|
formInstance: FormInstance | null;
|
|
2427
2427
|
handleSubmit: () => void;
|
|
2428
2428
|
handleReset: () => void;
|
|
@@ -2440,8 +2440,8 @@ export declare const PlusSearch: {
|
|
|
2440
2440
|
prop: PlusColumn["prop"];
|
|
2441
2441
|
}> & {
|
|
2442
2442
|
readonly label: string | ComputedRef<string>;
|
|
2443
|
-
readonly modelValue: string | number | boolean |
|
|
2444
|
-
readonly hasLabel: boolean |
|
|
2443
|
+
readonly modelValue: string | number | boolean | string[] | number[] | [string, string] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
2444
|
+
readonly hasLabel: boolean | Ref<boolean, boolean> | ComputedRef<boolean>;
|
|
2445
2445
|
readonly tooltip: string | ComputedRef<string> | Partial< Mutable<UseTooltipProps> & {
|
|
2446
2446
|
style?: CSSProperties;
|
|
2447
2447
|
class?: any;
|
|
@@ -2514,8 +2514,8 @@ export declare const PlusSearch: {
|
|
|
2514
2514
|
fieldInstance?: any;
|
|
2515
2515
|
valueIsReady?: Ref<boolean>;
|
|
2516
2516
|
prop: PlusColumn["prop"];
|
|
2517
|
-
modelValue: string | number | boolean |
|
|
2518
|
-
hasLabel: boolean |
|
|
2517
|
+
modelValue: string | number | boolean | string[] | number[] | [string, string] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
2518
|
+
hasLabel: boolean | Ref<boolean, boolean> | ComputedRef<boolean>;
|
|
2519
2519
|
tooltip: string | ComputedRef<string> | Partial< Mutable<UseTooltipProps> & {
|
|
2520
2520
|
style?: CSSProperties;
|
|
2521
2521
|
class?: any;
|
|
@@ -2553,8 +2553,8 @@ export declare const PlusSearch: {
|
|
|
2553
2553
|
prop: PlusColumn["prop"];
|
|
2554
2554
|
}> & {
|
|
2555
2555
|
readonly label: string | ComputedRef<string>;
|
|
2556
|
-
readonly modelValue: string | number | boolean |
|
|
2557
|
-
readonly hasLabel: boolean |
|
|
2556
|
+
readonly modelValue: string | number | boolean | string[] | number[] | [string, string] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
2557
|
+
readonly hasLabel: boolean | Ref<boolean, boolean> | ComputedRef<boolean>;
|
|
2558
2558
|
readonly tooltip: string | ComputedRef<string> | Partial< Mutable<UseTooltipProps> & {
|
|
2559
2559
|
style?: CSSProperties;
|
|
2560
2560
|
class?: any;
|
|
@@ -2627,8 +2627,8 @@ export declare const PlusSearch: {
|
|
|
2627
2627
|
fieldInstance?: any;
|
|
2628
2628
|
valueIsReady?: Ref<boolean>;
|
|
2629
2629
|
prop: PlusColumn["prop"];
|
|
2630
|
-
modelValue: string | number | boolean |
|
|
2631
|
-
hasLabel: boolean |
|
|
2630
|
+
modelValue: string | number | boolean | string[] | number[] | [string, string] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
2631
|
+
hasLabel: boolean | Ref<boolean, boolean> | ComputedRef<boolean>;
|
|
2632
2632
|
tooltip: string | ComputedRef<string> | Partial< Mutable<UseTooltipProps> & {
|
|
2633
2633
|
style?: CSSProperties;
|
|
2634
2634
|
class?: any;
|
|
@@ -2685,21 +2685,21 @@ export declare const PlusSearch: {
|
|
|
2685
2685
|
reset: (values: FieldValues) => void;
|
|
2686
2686
|
collapse: (isShowUnfold: boolean) => void;
|
|
2687
2687
|
}, string, {
|
|
2688
|
-
|
|
2689
|
-
columns: PlusColumn[];
|
|
2688
|
+
ellipsis: boolean;
|
|
2690
2689
|
layout: "flex" | "grid";
|
|
2691
2690
|
inline: boolean;
|
|
2692
|
-
|
|
2691
|
+
columns: PlusColumn[];
|
|
2692
|
+
modelValue: FieldValues;
|
|
2693
2693
|
labelPosition: "left" | "right" | "top";
|
|
2694
|
-
|
|
2695
|
-
rowProps: Partial< Mutable<RowProps> & {
|
|
2694
|
+
colProps: Partial< Mutable<ColProps> & {
|
|
2696
2695
|
style?: CSSProperties;
|
|
2697
2696
|
class?: any;
|
|
2698
2697
|
} & RecordType>;
|
|
2699
|
-
|
|
2698
|
+
rowProps: Partial< Mutable<RowProps> & {
|
|
2700
2699
|
style?: CSSProperties;
|
|
2701
2700
|
class?: any;
|
|
2702
2701
|
} & RecordType>;
|
|
2702
|
+
defaultValues: FieldValues;
|
|
2703
2703
|
hasFooter: boolean;
|
|
2704
2704
|
hasReset: boolean;
|
|
2705
2705
|
resetText: string;
|
|
@@ -2719,8 +2719,8 @@ export declare const PlusSearch: {
|
|
|
2719
2719
|
prop: PlusColumn["prop"];
|
|
2720
2720
|
}> & {
|
|
2721
2721
|
readonly label: string | ComputedRef<string>;
|
|
2722
|
-
readonly modelValue: string | number | boolean |
|
|
2723
|
-
readonly hasLabel: boolean |
|
|
2722
|
+
readonly modelValue: string | number | boolean | string[] | number[] | [string, string] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
2723
|
+
readonly hasLabel: boolean | Ref<boolean, boolean> | ComputedRef<boolean>;
|
|
2724
2724
|
readonly tooltip: string | ComputedRef<string> | Partial< Mutable<UseTooltipProps> & {
|
|
2725
2725
|
style?: CSSProperties;
|
|
2726
2726
|
class?: any;
|
|
@@ -2793,8 +2793,8 @@ export declare const PlusSearch: {
|
|
|
2793
2793
|
fieldInstance?: any;
|
|
2794
2794
|
valueIsReady?: Ref<boolean>;
|
|
2795
2795
|
prop: PlusColumn["prop"];
|
|
2796
|
-
modelValue: string | number | boolean |
|
|
2797
|
-
hasLabel: boolean |
|
|
2796
|
+
modelValue: string | number | boolean | string[] | number[] | [string, string] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
2797
|
+
hasLabel: boolean | Ref<boolean, boolean> | ComputedRef<boolean>;
|
|
2798
2798
|
tooltip: string | ComputedRef<string> | Partial< Mutable<UseTooltipProps> & {
|
|
2799
2799
|
style?: CSSProperties;
|
|
2800
2800
|
class?: any;
|