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
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { FormInstance, UseTooltipProps, FormItemProps, DatePickerProps, TextProps, LinkProps, ProgressProps, SwitchProps, ImageProps, SliderProps, TimeSelectProps, InputNumberProps, TimePickerDefaultProps, SelectProps, InputAutoSize, AutocompleteProps, AutocompleteDataItem, CheckboxGroupProps, ColorPickerProps, InputProps, RadioGroupProps, RateProps, TagProps,
|
|
1
|
+
import { FormInstance, UseTooltipProps, FormItemProps, DatePickerProps, TextProps, LinkProps, ProgressProps, SwitchProps, ImageProps, SliderProps, TimeSelectProps, InputNumberProps, TimePickerDefaultProps, SelectProps, InputAutoSize, AutocompleteProps, AutocompleteDataItem, CheckboxGroupProps, ColorPickerProps, InputProps, RadioGroupProps, RateProps, TagProps, ColProps, RowProps, CardProps } from 'element-plus';
|
|
2
2
|
import { PlusColumn, FieldValues, RecordType, PlusCardProps, Mutable, PropsItemType, InputType, CascaderProps, OmitTypes, OptionsType, RenderTypes, TableValueType, FormItemValueType, FieldValueType, OptionsRow } from '../../../types';
|
|
3
3
|
import { ComputedRef, Component, Ref, CSSProperties, DefineComponent, ComponentOptionsMixin, PublicProps, ComponentProvideOptions } from 'vue';
|
|
4
4
|
import { PlusRadioProps, PlusDatePickerProps, PlusInputTagProps } from '../../../agent-ui';
|
|
@@ -17,8 +17,8 @@ declare function __VLS_template(): Partial<Record<string, (_: {
|
|
|
17
17
|
prop: PlusColumn["prop"];
|
|
18
18
|
}> & {
|
|
19
19
|
readonly label: string | ComputedRef<string>;
|
|
20
|
-
readonly modelValue: string | number | boolean |
|
|
21
|
-
readonly hasLabel: boolean |
|
|
20
|
+
readonly modelValue: string | number | boolean | string[] | number[] | [string, string] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
21
|
+
readonly hasLabel: boolean | Ref<boolean, boolean> | ComputedRef<boolean>;
|
|
22
22
|
readonly tooltip: string | ComputedRef<string> | Partial< Mutable<UseTooltipProps> & {
|
|
23
23
|
style?: CSSProperties;
|
|
24
24
|
class?: any;
|
|
@@ -91,8 +91,8 @@ declare function __VLS_template(): Partial<Record<string, (_: {
|
|
|
91
91
|
fieldInstance?: any;
|
|
92
92
|
valueIsReady?: Ref<boolean>;
|
|
93
93
|
prop: PlusColumn["prop"];
|
|
94
|
-
modelValue: string | number | boolean |
|
|
95
|
-
hasLabel: boolean |
|
|
94
|
+
modelValue: string | number | boolean | string[] | number[] | [string, string] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
95
|
+
hasLabel: boolean | Ref<boolean, boolean> | ComputedRef<boolean>;
|
|
96
96
|
tooltip: string | ComputedRef<string> | Partial< Mutable<UseTooltipProps> & {
|
|
97
97
|
style?: CSSProperties;
|
|
98
98
|
class?: any;
|
|
@@ -130,8 +130,8 @@ declare function __VLS_template(): Partial<Record<string, (_: {
|
|
|
130
130
|
prop: PlusColumn["prop"];
|
|
131
131
|
}> & {
|
|
132
132
|
readonly label: string | ComputedRef<string>;
|
|
133
|
-
readonly modelValue: string | number | boolean |
|
|
134
|
-
readonly hasLabel: boolean |
|
|
133
|
+
readonly modelValue: string | number | boolean | string[] | number[] | [string, string] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
134
|
+
readonly hasLabel: boolean | Ref<boolean, boolean> | ComputedRef<boolean>;
|
|
135
135
|
readonly tooltip: string | ComputedRef<string> | Partial< Mutable<UseTooltipProps> & {
|
|
136
136
|
style?: CSSProperties;
|
|
137
137
|
class?: any;
|
|
@@ -204,8 +204,8 @@ declare function __VLS_template(): Partial<Record<string, (_: {
|
|
|
204
204
|
fieldInstance?: any;
|
|
205
205
|
valueIsReady?: Ref<boolean>;
|
|
206
206
|
prop: PlusColumn["prop"];
|
|
207
|
-
modelValue: string | number | boolean |
|
|
208
|
-
hasLabel: boolean |
|
|
207
|
+
modelValue: string | number | boolean | string[] | number[] | [string, string] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
208
|
+
hasLabel: boolean | Ref<boolean, boolean> | ComputedRef<boolean>;
|
|
209
209
|
tooltip: string | ComputedRef<string> | Partial< Mutable<UseTooltipProps> & {
|
|
210
210
|
style?: CSSProperties;
|
|
211
211
|
class?: any;
|
|
@@ -267,33 +267,34 @@ declare const __VLS_component: DefineComponent<unknown, {
|
|
|
267
267
|
onReset?: ((values: FieldValues) => any) | undefined;
|
|
268
268
|
onSubmit?: ((values: FieldValues) => any) | undefined;
|
|
269
269
|
"onUpdate:modelValue"?: ((values: FieldValues) => any) | undefined;
|
|
270
|
-
onSubmitError?: ((errors: unknown) => any) | undefined;
|
|
271
270
|
onValidate?: ((...args: any[]) => any) | undefined;
|
|
271
|
+
onSubmitError?: ((errors: unknown) => any) | undefined;
|
|
272
272
|
}>, {
|
|
273
|
-
modelValue: FieldValues;
|
|
274
|
-
columns: PlusColumn[];
|
|
275
|
-
layout: "grid" | "flex";
|
|
276
273
|
ellipsis: boolean;
|
|
277
|
-
|
|
278
|
-
|
|
274
|
+
layout: "grid" | "flex";
|
|
275
|
+
columns: PlusColumn[];
|
|
276
|
+
modelValue: FieldValues;
|
|
279
277
|
group: false | PlusFormGroupRow[];
|
|
278
|
+
clearable: boolean;
|
|
280
279
|
labelWidth: ElementPlusFormProps["labelWidth"];
|
|
281
280
|
labelPosition: ElementPlusFormProps["labelPosition"];
|
|
282
|
-
labelSuffix: ElementPlusFormProps["labelSuffix"];
|
|
283
281
|
rules: ElementPlusFormProps["rules"];
|
|
284
|
-
|
|
285
|
-
rowProps: Partial< Mutable<RowProps> & {
|
|
282
|
+
colProps: Partial< Mutable<ColProps> & {
|
|
286
283
|
style?: CSSProperties;
|
|
287
284
|
class?: any;
|
|
288
285
|
} & RecordType>;
|
|
289
|
-
|
|
286
|
+
hasLabel: boolean;
|
|
287
|
+
labelSuffix: ElementPlusFormProps["labelSuffix"];
|
|
288
|
+
collapseDuration: number;
|
|
289
|
+
collapseTransition: boolean;
|
|
290
|
+
rowProps: Partial< Mutable<RowProps> & {
|
|
290
291
|
style?: CSSProperties;
|
|
291
292
|
class?: any;
|
|
292
293
|
} & RecordType>;
|
|
294
|
+
defaultValues: FieldValues;
|
|
293
295
|
hasErrorTip: boolean;
|
|
294
296
|
hasFooter: boolean;
|
|
295
297
|
hasReset: boolean;
|
|
296
|
-
hasLabel: boolean;
|
|
297
298
|
submitText: string;
|
|
298
299
|
resetText: string;
|
|
299
300
|
submitLoading: boolean;
|
|
@@ -303,7 +304,6 @@ declare const __VLS_component: DefineComponent<unknown, {
|
|
|
303
304
|
class?: any;
|
|
304
305
|
} & RecordType>;
|
|
305
306
|
prevent: boolean;
|
|
306
|
-
clearable: boolean;
|
|
307
307
|
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
308
308
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
|
|
309
309
|
export default _default;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { CreateComponentPublicInstanceWithMixins, Ref, ComponentInternalInstance, VNodeProps, AllowedComponentProps, ComponentCustomProps, Attrs, Slot, ComponentPublicInstance, ComponentOptionsBase, ComputedRef, ComponentOptionsMixin, GlobalComponents, GlobalDirectives, ComponentProvideOptions, DebuggerEvent, nextTick, WatchOptions, WatchStopHandle, ComponentCustomProperties, PublicProps, CSSProperties } from 'vue';
|
|
2
|
-
import { FieldValueType,
|
|
2
|
+
import { FieldValueType, OptionsType, Mutable, RecordType, PropsItemType, InputType, CascaderProps, OmitTypes, RenderTypes, OptionsRow, PlusColumn, TableValueType, FormItemValueType } from '../../types';
|
|
3
3
|
import { FormItemProp, FormItemRule, FormItemValidateState, ComponentSize, FormItemProps, FormValidateCallback, FormValidationResult, UseTooltipProps, DatePickerProps, TextProps, LinkProps, ProgressProps, SwitchProps, ImageProps, SliderProps, TimeSelectProps, InputNumberProps, TimePickerDefaultProps, SelectProps, InputAutoSize, AutocompleteProps, AutocompleteDataItem, CheckboxGroupProps, ColorPickerProps, InputProps, RadioGroupProps, RateProps, TagProps } from 'element-plus';
|
|
4
4
|
import { Arrayable } from 'element-plus/es/utils';
|
|
5
5
|
import { OnCleanup } from '@vue/reactivity';
|
|
@@ -77,7 +77,7 @@ export declare const PlusFormItem: {
|
|
|
77
77
|
labelPosition: "" | "left" | "right" | "top";
|
|
78
78
|
inlineMessage: boolean;
|
|
79
79
|
showMessage: boolean;
|
|
80
|
-
}> & Omit<Readonly< FormItemProps> & Readonly<{}>, "
|
|
80
|
+
}> & Omit<Readonly< FormItemProps> & Readonly<{}>, "size" | "required" | "labelPosition" | "inlineMessage" | "showMessage" | "validateState" | "validateMessage" | "validate" | "clearValidate" | "resetField" | "setInitialValue"> & {
|
|
81
81
|
size: "" | "default" | "small" | "large";
|
|
82
82
|
validateMessage: string;
|
|
83
83
|
validateState: "" | "success" | "error" | "validating";
|
|
@@ -164,7 +164,7 @@ export declare const PlusFormItem: {
|
|
|
164
164
|
labelPosition: "" | "left" | "right" | "top";
|
|
165
165
|
inlineMessage: boolean;
|
|
166
166
|
showMessage: boolean;
|
|
167
|
-
}> & Omit<Readonly< FormItemProps> & Readonly<{}>, "
|
|
167
|
+
}> & Omit<Readonly< FormItemProps> & Readonly<{}>, "size" | "required" | "labelPosition" | "inlineMessage" | "showMessage" | "validateState" | "validateMessage" | "validate" | "clearValidate" | "resetField" | "setInitialValue"> & {
|
|
168
168
|
size: "" | "default" | "small" | "large";
|
|
169
169
|
validateMessage: string;
|
|
170
170
|
validateState: "" | "success" | "error" | "validating";
|
|
@@ -190,8 +190,8 @@ export declare const PlusFormItem: {
|
|
|
190
190
|
"update:modelValue": (value: FieldValueType) => void;
|
|
191
191
|
change: (value: FieldValueType) => void;
|
|
192
192
|
}, PublicProps, {
|
|
193
|
+
options: OptionsType;
|
|
193
194
|
label: string | ComputedRef<string>;
|
|
194
|
-
modelValue: string | number | boolean | number[] | string[] | Date | [string, string] | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
195
195
|
ellipsis: boolean;
|
|
196
196
|
tooltip: string | ComputedRef<string> | Partial< Mutable<UseTooltipProps> & {
|
|
197
197
|
style?: CSSProperties;
|
|
@@ -200,8 +200,8 @@ export declare const PlusFormItem: {
|
|
|
200
200
|
style?: CSSProperties;
|
|
201
201
|
class?: any;
|
|
202
202
|
} & RecordType>>;
|
|
203
|
-
options: OptionsType;
|
|
204
203
|
index: number;
|
|
204
|
+
modelValue: string | number | boolean | string[] | number[] | [string, string] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
205
205
|
formItemProps: PropsItemType< Mutable<FormItemProps> & {
|
|
206
206
|
[key: string]: any;
|
|
207
207
|
style?: CSSProperties;
|
|
@@ -234,16 +234,9 @@ export declare const PlusFormItem: {
|
|
|
234
234
|
[slotName: string]: (data?: any) => RenderTypes;
|
|
235
235
|
};
|
|
236
236
|
fieldChildrenSlot: (option?: OptionsRow) => RenderTypes;
|
|
237
|
-
hasLabel: boolean | ComputedRef<boolean> | Ref<boolean, boolean>;
|
|
238
237
|
clearable: boolean;
|
|
239
|
-
valueType: "input" | "select" | "textarea" | "switch" | "text" | "checkbox" | "radio" | TableValueType | "rate" | "input-number" | "slider" | "cascader" | "plus-date-picker" | "plus-input-tag" | "transfer" | "select-v2" | "plus-radio" | "autocomplete" | "color-picker" | "date-picker" | "time-picker" | "time-select" | "tree-select";
|
|
240
238
|
renderField: (value: FieldValueType, onChange: (value: FieldValueType) => void, props: PlusColumn) => RenderTypes;
|
|
241
|
-
|
|
242
|
-
renderErrorMessage: (props: PlusColumn & {
|
|
243
|
-
value?: FieldValueType;
|
|
244
|
-
error?: string;
|
|
245
|
-
label?: string;
|
|
246
|
-
}) => RenderTypes;
|
|
239
|
+
valueType: "select" | "text" | "input" | "textarea" | "switch" | "checkbox" | "radio" | TableValueType | "rate" | "input-number" | "slider" | "cascader" | "plus-date-picker" | "plus-input-tag" | "transfer" | "select-v2" | "plus-radio" | "autocomplete" | "color-picker" | "date-picker" | "time-picker" | "time-select" | "tree-select";
|
|
247
240
|
optionsMap: {
|
|
248
241
|
label?: string;
|
|
249
242
|
value?: string;
|
|
@@ -254,6 +247,13 @@ export declare const PlusFormItem: {
|
|
|
254
247
|
transform?: (data: any) => OptionsRow[];
|
|
255
248
|
dictCode?: string;
|
|
256
249
|
};
|
|
250
|
+
hasLabel: boolean | Ref<boolean, boolean> | ComputedRef<boolean>;
|
|
251
|
+
renderLabel: (label: string, props: PlusColumn) => RenderTypes;
|
|
252
|
+
renderErrorMessage: (props: PlusColumn & {
|
|
253
|
+
value?: FieldValueType;
|
|
254
|
+
error?: string;
|
|
255
|
+
label?: string;
|
|
256
|
+
}) => RenderTypes;
|
|
257
257
|
}, true, {}, {}, GlobalComponents, GlobalDirectives, string, {}, any, ComponentProvideOptions, {
|
|
258
258
|
P: {};
|
|
259
259
|
B: {};
|
|
@@ -332,7 +332,7 @@ export declare const PlusFormItem: {
|
|
|
332
332
|
labelPosition: "" | "left" | "right" | "top";
|
|
333
333
|
inlineMessage: boolean;
|
|
334
334
|
showMessage: boolean;
|
|
335
|
-
}> & Omit<Readonly< FormItemProps> & Readonly<{}>, "
|
|
335
|
+
}> & Omit<Readonly< FormItemProps> & Readonly<{}>, "size" | "required" | "labelPosition" | "inlineMessage" | "showMessage" | "validateState" | "validateMessage" | "validate" | "clearValidate" | "resetField" | "setInitialValue"> & {
|
|
336
336
|
size: "" | "default" | "small" | "large";
|
|
337
337
|
validateMessage: string;
|
|
338
338
|
validateState: "" | "success" | "error" | "validating";
|
|
@@ -419,7 +419,7 @@ export declare const PlusFormItem: {
|
|
|
419
419
|
labelPosition: "" | "left" | "right" | "top";
|
|
420
420
|
inlineMessage: boolean;
|
|
421
421
|
showMessage: boolean;
|
|
422
|
-
}> & Omit<Readonly< FormItemProps> & Readonly<{}>, "
|
|
422
|
+
}> & Omit<Readonly< FormItemProps> & Readonly<{}>, "size" | "required" | "labelPosition" | "inlineMessage" | "showMessage" | "validateState" | "validateMessage" | "validate" | "clearValidate" | "resetField" | "setInitialValue"> & {
|
|
423
423
|
size: "" | "default" | "small" | "large";
|
|
424
424
|
validateMessage: string;
|
|
425
425
|
validateState: "" | "success" | "error" | "validating";
|
|
@@ -442,8 +442,8 @@ export declare const PlusFormItem: {
|
|
|
442
442
|
}) | null | undefined>;
|
|
443
443
|
fieldInstance: Ref<any, any>;
|
|
444
444
|
}, {}, {}, {}, {
|
|
445
|
+
options: OptionsType;
|
|
445
446
|
label: string | ComputedRef<string>;
|
|
446
|
-
modelValue: string | number | boolean | number[] | string[] | Date | [string, string] | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
447
447
|
ellipsis: boolean;
|
|
448
448
|
tooltip: string | ComputedRef<string> | Partial< Mutable<UseTooltipProps> & {
|
|
449
449
|
style?: CSSProperties;
|
|
@@ -452,8 +452,8 @@ export declare const PlusFormItem: {
|
|
|
452
452
|
style?: CSSProperties;
|
|
453
453
|
class?: any;
|
|
454
454
|
} & RecordType>>;
|
|
455
|
-
options: OptionsType;
|
|
456
455
|
index: number;
|
|
456
|
+
modelValue: string | number | boolean | string[] | number[] | [string, string] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
457
457
|
formItemProps: PropsItemType< Mutable<FormItemProps> & {
|
|
458
458
|
[key: string]: any;
|
|
459
459
|
style?: CSSProperties;
|
|
@@ -486,16 +486,9 @@ export declare const PlusFormItem: {
|
|
|
486
486
|
[slotName: string]: (data?: any) => RenderTypes;
|
|
487
487
|
};
|
|
488
488
|
fieldChildrenSlot: (option?: OptionsRow) => RenderTypes;
|
|
489
|
-
hasLabel: boolean | ComputedRef<boolean> | Ref<boolean, boolean>;
|
|
490
489
|
clearable: boolean;
|
|
491
|
-
valueType: "input" | "select" | "textarea" | "switch" | "text" | "checkbox" | "radio" | TableValueType | "rate" | "input-number" | "slider" | "cascader" | "plus-date-picker" | "plus-input-tag" | "transfer" | "select-v2" | "plus-radio" | "autocomplete" | "color-picker" | "date-picker" | "time-picker" | "time-select" | "tree-select";
|
|
492
490
|
renderField: (value: FieldValueType, onChange: (value: FieldValueType) => void, props: PlusColumn) => RenderTypes;
|
|
493
|
-
|
|
494
|
-
renderErrorMessage: (props: PlusColumn & {
|
|
495
|
-
value?: FieldValueType;
|
|
496
|
-
error?: string;
|
|
497
|
-
label?: string;
|
|
498
|
-
}) => RenderTypes;
|
|
491
|
+
valueType: "select" | "text" | "input" | "textarea" | "switch" | "checkbox" | "radio" | TableValueType | "rate" | "input-number" | "slider" | "cascader" | "plus-date-picker" | "plus-input-tag" | "transfer" | "select-v2" | "plus-radio" | "autocomplete" | "color-picker" | "date-picker" | "time-picker" | "time-select" | "tree-select";
|
|
499
492
|
optionsMap: {
|
|
500
493
|
label?: string;
|
|
501
494
|
value?: string;
|
|
@@ -506,6 +499,13 @@ export declare const PlusFormItem: {
|
|
|
506
499
|
transform?: (data: any) => OptionsRow[];
|
|
507
500
|
dictCode?: string;
|
|
508
501
|
};
|
|
502
|
+
hasLabel: boolean | Ref<boolean, boolean> | ComputedRef<boolean>;
|
|
503
|
+
renderLabel: (label: string, props: PlusColumn) => RenderTypes;
|
|
504
|
+
renderErrorMessage: (props: PlusColumn & {
|
|
505
|
+
value?: FieldValueType;
|
|
506
|
+
error?: string;
|
|
507
|
+
label?: string;
|
|
508
|
+
}) => RenderTypes;
|
|
509
509
|
}>;
|
|
510
510
|
__isFragment?: never;
|
|
511
511
|
__isTeleport?: never;
|
|
@@ -581,7 +581,7 @@ export declare const PlusFormItem: {
|
|
|
581
581
|
labelPosition: "" | "left" | "right" | "top";
|
|
582
582
|
inlineMessage: boolean;
|
|
583
583
|
showMessage: boolean;
|
|
584
|
-
}> & Omit<Readonly< FormItemProps> & Readonly<{}>, "
|
|
584
|
+
}> & Omit<Readonly< FormItemProps> & Readonly<{}>, "size" | "required" | "labelPosition" | "inlineMessage" | "showMessage" | "validateState" | "validateMessage" | "validate" | "clearValidate" | "resetField" | "setInitialValue"> & {
|
|
585
585
|
size: "" | "default" | "small" | "large";
|
|
586
586
|
validateMessage: string;
|
|
587
587
|
validateState: "" | "success" | "error" | "validating";
|
|
@@ -668,7 +668,7 @@ export declare const PlusFormItem: {
|
|
|
668
668
|
labelPosition: "" | "left" | "right" | "top";
|
|
669
669
|
inlineMessage: boolean;
|
|
670
670
|
showMessage: boolean;
|
|
671
|
-
}> & Omit<Readonly< FormItemProps> & Readonly<{}>, "
|
|
671
|
+
}> & Omit<Readonly< FormItemProps> & Readonly<{}>, "size" | "required" | "labelPosition" | "inlineMessage" | "showMessage" | "validateState" | "validateMessage" | "validate" | "clearValidate" | "resetField" | "setInitialValue"> & {
|
|
672
672
|
size: "" | "default" | "small" | "large";
|
|
673
673
|
validateMessage: string;
|
|
674
674
|
validateState: "" | "success" | "error" | "validating";
|
|
@@ -694,8 +694,8 @@ export declare const PlusFormItem: {
|
|
|
694
694
|
"update:modelValue": (value: FieldValueType) => void;
|
|
695
695
|
change: (value: FieldValueType) => void;
|
|
696
696
|
}, string, {
|
|
697
|
+
options: OptionsType;
|
|
697
698
|
label: string | ComputedRef<string>;
|
|
698
|
-
modelValue: string | number | boolean | number[] | string[] | Date | [string, string] | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
699
699
|
ellipsis: boolean;
|
|
700
700
|
tooltip: string | ComputedRef<string> | Partial< Mutable<UseTooltipProps> & {
|
|
701
701
|
style?: CSSProperties;
|
|
@@ -704,8 +704,8 @@ export declare const PlusFormItem: {
|
|
|
704
704
|
style?: CSSProperties;
|
|
705
705
|
class?: any;
|
|
706
706
|
} & RecordType>>;
|
|
707
|
-
options: OptionsType;
|
|
708
707
|
index: number;
|
|
708
|
+
modelValue: string | number | boolean | string[] | number[] | [string, string] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
709
709
|
formItemProps: PropsItemType< Mutable<FormItemProps> & {
|
|
710
710
|
[key: string]: any;
|
|
711
711
|
style?: CSSProperties;
|
|
@@ -738,16 +738,9 @@ export declare const PlusFormItem: {
|
|
|
738
738
|
[slotName: string]: (data?: any) => RenderTypes;
|
|
739
739
|
};
|
|
740
740
|
fieldChildrenSlot: (option?: OptionsRow) => RenderTypes;
|
|
741
|
-
hasLabel: boolean | ComputedRef<boolean> | Ref<boolean, boolean>;
|
|
742
741
|
clearable: boolean;
|
|
743
|
-
valueType: "input" | "select" | "textarea" | "switch" | "text" | "checkbox" | "radio" | TableValueType | "rate" | "input-number" | "slider" | "cascader" | "plus-date-picker" | "plus-input-tag" | "transfer" | "select-v2" | "plus-radio" | "autocomplete" | "color-picker" | "date-picker" | "time-picker" | "time-select" | "tree-select";
|
|
744
742
|
renderField: (value: FieldValueType, onChange: (value: FieldValueType) => void, props: PlusColumn) => RenderTypes;
|
|
745
|
-
|
|
746
|
-
renderErrorMessage: (props: PlusColumn & {
|
|
747
|
-
value?: FieldValueType;
|
|
748
|
-
error?: string;
|
|
749
|
-
label?: string;
|
|
750
|
-
}) => RenderTypes;
|
|
743
|
+
valueType: "select" | "text" | "input" | "textarea" | "switch" | "checkbox" | "radio" | TableValueType | "rate" | "input-number" | "slider" | "cascader" | "plus-date-picker" | "plus-input-tag" | "transfer" | "select-v2" | "plus-radio" | "autocomplete" | "color-picker" | "date-picker" | "time-picker" | "time-select" | "tree-select";
|
|
751
744
|
optionsMap: {
|
|
752
745
|
label?: string;
|
|
753
746
|
value?: string;
|
|
@@ -758,6 +751,13 @@ export declare const PlusFormItem: {
|
|
|
758
751
|
transform?: (data: any) => OptionsRow[];
|
|
759
752
|
dictCode?: string;
|
|
760
753
|
};
|
|
754
|
+
hasLabel: boolean | Ref<boolean, boolean> | ComputedRef<boolean>;
|
|
755
|
+
renderLabel: (label: string, props: PlusColumn) => RenderTypes;
|
|
756
|
+
renderErrorMessage: (props: PlusColumn & {
|
|
757
|
+
value?: FieldValueType;
|
|
758
|
+
error?: string;
|
|
759
|
+
label?: string;
|
|
760
|
+
}) => RenderTypes;
|
|
761
761
|
}, {}, string, {}, GlobalComponents, GlobalDirectives, string, ComponentProvideOptions> & VNodeProps & AllowedComponentProps & ComponentCustomProps & (new () => {
|
|
762
762
|
$slots: Partial<Record<string, (_: {
|
|
763
763
|
label: string;
|
|
@@ -767,8 +767,8 @@ export declare const PlusFormItem: {
|
|
|
767
767
|
fieldInstance?: any;
|
|
768
768
|
valueIsReady?: Ref<boolean>;
|
|
769
769
|
prop: PlusColumn["prop"];
|
|
770
|
-
modelValue: string | number | boolean |
|
|
771
|
-
hasLabel: boolean |
|
|
770
|
+
modelValue: string | number | boolean | string[] | number[] | [string, string] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
771
|
+
hasLabel: boolean | Ref<boolean, boolean> | ComputedRef<boolean>;
|
|
772
772
|
tooltip: string | ComputedRef<string> | Partial< Mutable<UseTooltipProps> & {
|
|
773
773
|
style?: CSSProperties;
|
|
774
774
|
class?: any;
|
|
@@ -806,8 +806,8 @@ export declare const PlusFormItem: {
|
|
|
806
806
|
prop: PlusColumn["prop"];
|
|
807
807
|
}> & {
|
|
808
808
|
readonly label: string | ComputedRef<string>;
|
|
809
|
-
readonly modelValue: string | number | boolean |
|
|
810
|
-
readonly hasLabel: boolean |
|
|
809
|
+
readonly modelValue: string | number | boolean | string[] | number[] | [string, string] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
810
|
+
readonly hasLabel: boolean | Ref<boolean, boolean> | ComputedRef<boolean>;
|
|
811
811
|
readonly tooltip: string | ComputedRef<string> | Partial< Mutable<UseTooltipProps> & {
|
|
812
812
|
style?: CSSProperties;
|
|
813
813
|
class?: any;
|
|
@@ -880,8 +880,8 @@ export declare const PlusFormItem: {
|
|
|
880
880
|
fieldInstance?: any;
|
|
881
881
|
valueIsReady?: Ref<boolean>;
|
|
882
882
|
prop: PlusColumn["prop"];
|
|
883
|
-
modelValue: string | number | boolean |
|
|
884
|
-
hasLabel: boolean |
|
|
883
|
+
modelValue: string | number | boolean | string[] | number[] | [string, string] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
884
|
+
hasLabel: boolean | Ref<boolean, boolean> | ComputedRef<boolean>;
|
|
885
885
|
tooltip: string | ComputedRef<string> | Partial< Mutable<UseTooltipProps> & {
|
|
886
886
|
style?: CSSProperties;
|
|
887
887
|
class?: any;
|
|
@@ -53,8 +53,8 @@ declare function __VLS_template(): Partial<Record<string, (_: {
|
|
|
53
53
|
fieldInstance?: any;
|
|
54
54
|
valueIsReady?: Ref<boolean>;
|
|
55
55
|
prop: PlusColumn["prop"];
|
|
56
|
-
modelValue: string | number | boolean |
|
|
57
|
-
hasLabel: boolean |
|
|
56
|
+
modelValue: string | number | boolean | string[] | number[] | [string, string] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
57
|
+
hasLabel: boolean | Ref<boolean, boolean> | ComputedRef<boolean>;
|
|
58
58
|
tooltip: string | ComputedRef<string> | Partial< Mutable<UseTooltipProps> & {
|
|
59
59
|
style?: CSSProperties;
|
|
60
60
|
class?: any;
|
|
@@ -92,8 +92,8 @@ declare function __VLS_template(): Partial<Record<string, (_: {
|
|
|
92
92
|
prop: PlusColumn["prop"];
|
|
93
93
|
}> & {
|
|
94
94
|
readonly label: string | ComputedRef<string>;
|
|
95
|
-
readonly modelValue: string | number | boolean |
|
|
96
|
-
readonly hasLabel: boolean |
|
|
95
|
+
readonly modelValue: string | number | boolean | string[] | number[] | [string, string] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
96
|
+
readonly hasLabel: boolean | Ref<boolean, boolean> | ComputedRef<boolean>;
|
|
97
97
|
readonly tooltip: string | ComputedRef<string> | Partial< Mutable<UseTooltipProps> & {
|
|
98
98
|
style?: CSSProperties;
|
|
99
99
|
class?: any;
|
|
@@ -166,8 +166,8 @@ declare function __VLS_template(): Partial<Record<string, (_: {
|
|
|
166
166
|
fieldInstance?: any;
|
|
167
167
|
valueIsReady?: Ref<boolean>;
|
|
168
168
|
prop: PlusColumn["prop"];
|
|
169
|
-
modelValue: string | number | boolean |
|
|
170
|
-
hasLabel: boolean |
|
|
169
|
+
modelValue: string | number | boolean | string[] | number[] | [string, string] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
170
|
+
hasLabel: boolean | Ref<boolean, boolean> | ComputedRef<boolean>;
|
|
171
171
|
tooltip: string | ComputedRef<string> | Partial< Mutable<UseTooltipProps> & {
|
|
172
172
|
style?: CSSProperties;
|
|
173
173
|
class?: any;
|
|
@@ -271,7 +271,7 @@ declare const __VLS_component: DefineComponent<unknown, {
|
|
|
271
271
|
labelPosition: "" | "left" | "right" | "top";
|
|
272
272
|
inlineMessage: boolean;
|
|
273
273
|
showMessage: boolean;
|
|
274
|
-
}> & Omit<Readonly< FormItemProps> & Readonly<{}>, "
|
|
274
|
+
}> & Omit<Readonly< FormItemProps> & Readonly<{}>, "size" | "required" | "labelPosition" | "inlineMessage" | "showMessage" | "validateState" | "validateMessage" | "validate" | "clearValidate" | "resetField" | "setInitialValue"> & {
|
|
275
275
|
size: "" | "default" | "small" | "large";
|
|
276
276
|
validateMessage: string;
|
|
277
277
|
validateState: "" | "success" | "error" | "validating";
|
|
@@ -358,7 +358,7 @@ declare const __VLS_component: DefineComponent<unknown, {
|
|
|
358
358
|
labelPosition: "" | "left" | "right" | "top";
|
|
359
359
|
inlineMessage: boolean;
|
|
360
360
|
showMessage: boolean;
|
|
361
|
-
}> & Omit<Readonly< FormItemProps> & Readonly<{}>, "
|
|
361
|
+
}> & Omit<Readonly< FormItemProps> & Readonly<{}>, "size" | "required" | "labelPosition" | "inlineMessage" | "showMessage" | "validateState" | "validateMessage" | "validate" | "clearValidate" | "resetField" | "setInitialValue"> & {
|
|
362
362
|
size: "" | "default" | "small" | "large";
|
|
363
363
|
validateMessage: string;
|
|
364
364
|
validateState: "" | "success" | "error" | "validating";
|
|
@@ -387,8 +387,8 @@ declare const __VLS_component: DefineComponent<unknown, {
|
|
|
387
387
|
onChange?: ((value: FieldValueType) => any) | undefined;
|
|
388
388
|
"onUpdate:modelValue"?: ((value: FieldValueType) => any) | undefined;
|
|
389
389
|
}>, {
|
|
390
|
+
options: OptionsType;
|
|
390
391
|
label: string | ComputedRef<string>;
|
|
391
|
-
modelValue: string | number | boolean | number[] | string[] | Date | [string, string] | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
392
392
|
ellipsis: boolean;
|
|
393
393
|
tooltip: string | ComputedRef<string> | Partial< Mutable<UseTooltipProps> & {
|
|
394
394
|
style?: CSSProperties;
|
|
@@ -397,8 +397,8 @@ declare const __VLS_component: DefineComponent<unknown, {
|
|
|
397
397
|
style?: CSSProperties;
|
|
398
398
|
class?: any;
|
|
399
399
|
} & RecordType>>;
|
|
400
|
-
options: OptionsType;
|
|
401
400
|
index: number;
|
|
401
|
+
modelValue: string | number | boolean | string[] | number[] | [string, string] | Date | RecordType | boolean[] | Date[] | [Date, Date] | [number, number] | string[][] | number[][] | null;
|
|
402
402
|
formItemProps: PropsItemType< Mutable<FormItemProps> & {
|
|
403
403
|
[key: string]: any;
|
|
404
404
|
style?: CSSProperties;
|
|
@@ -431,16 +431,9 @@ declare const __VLS_component: DefineComponent<unknown, {
|
|
|
431
431
|
[slotName: string]: (data?: any) => RenderTypes;
|
|
432
432
|
};
|
|
433
433
|
fieldChildrenSlot: (option?: OptionsRow) => RenderTypes;
|
|
434
|
-
hasLabel: boolean | ComputedRef<boolean> | Ref<boolean, boolean>;
|
|
435
434
|
clearable: boolean;
|
|
436
|
-
valueType: "input" | "select" | "textarea" | "switch" | "text" | "checkbox" | "radio" | TableValueType | "rate" | "input-number" | "slider" | "cascader" | "plus-date-picker" | "plus-input-tag" | "transfer" | "select-v2" | "plus-radio" | "autocomplete" | "color-picker" | "date-picker" | "time-picker" | "time-select" | "tree-select";
|
|
437
435
|
renderField: (value: FieldValueType, onChange: (value: FieldValueType) => void, props: PlusColumn) => RenderTypes;
|
|
438
|
-
|
|
439
|
-
renderErrorMessage: (props: PlusColumn & {
|
|
440
|
-
value?: FieldValueType;
|
|
441
|
-
error?: string;
|
|
442
|
-
label?: string;
|
|
443
|
-
}) => RenderTypes;
|
|
436
|
+
valueType: "select" | "text" | "input" | "textarea" | "switch" | "checkbox" | "radio" | TableValueType | "rate" | "input-number" | "slider" | "cascader" | "plus-date-picker" | "plus-input-tag" | "transfer" | "select-v2" | "plus-radio" | "autocomplete" | "color-picker" | "date-picker" | "time-picker" | "time-select" | "tree-select";
|
|
444
437
|
optionsMap: {
|
|
445
438
|
label?: string;
|
|
446
439
|
value?: string;
|
|
@@ -451,6 +444,13 @@ declare const __VLS_component: DefineComponent<unknown, {
|
|
|
451
444
|
transform?: (data: any) => OptionsRow[];
|
|
452
445
|
dictCode?: string;
|
|
453
446
|
};
|
|
447
|
+
hasLabel: boolean | Ref<boolean, boolean> | ComputedRef<boolean>;
|
|
448
|
+
renderLabel: (label: string, props: PlusColumn) => RenderTypes;
|
|
449
|
+
renderErrorMessage: (props: PlusColumn & {
|
|
450
|
+
value?: FieldValueType;
|
|
451
|
+
error?: string;
|
|
452
|
+
label?: string;
|
|
453
|
+
}) => RenderTypes;
|
|
454
454
|
}, {}, {}, {}, string, ComponentProvideOptions, true, {}, any>;
|
|
455
455
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
|
|
456
456
|
export default _default;
|
|
@@ -15,16 +15,16 @@ export declare const PlusInputTag: DefineComponent<unknown, {
|
|
|
15
15
|
enter: (value: string, event: MouseEvent) => void;
|
|
16
16
|
space: (value: string, event: MouseEvent) => void;
|
|
17
17
|
}, string, PublicProps, Readonly<unknown> & Readonly<{
|
|
18
|
-
onRemove?: ((tag: string) => any) | undefined;
|
|
19
18
|
onBlur?: ((value: string, event: FocusEvent) => any) | undefined;
|
|
19
|
+
onRemove?: ((tag: string) => any) | undefined;
|
|
20
20
|
onChange?: ((data: string[]) => any) | undefined;
|
|
21
|
-
"onUpdate:modelValue"?: ((data: string[]) => any) | undefined;
|
|
22
21
|
onSpace?: ((value: string, event: MouseEvent) => any) | undefined;
|
|
22
|
+
"onUpdate:modelValue"?: ((data: string[]) => any) | undefined;
|
|
23
23
|
onEnter?: ((value: string, event: MouseEvent) => any) | undefined;
|
|
24
24
|
}>, {
|
|
25
|
+
trigger: ("blur" | "space" | "enter")[] | ("blur" | "space" | "enter");
|
|
25
26
|
disabled: boolean;
|
|
26
27
|
modelValue: string[];
|
|
27
|
-
trigger: ("blur" | "space" | "enter")[] | ("blur" | "space" | "enter");
|
|
28
28
|
inputProps: Partial< Mutable<InputProps> & IntrinsicAttributes>;
|
|
29
29
|
tagProps: Partial< Mutable<TagProps> & IntrinsicAttributes>;
|
|
30
30
|
limit: number;
|
|
@@ -40,16 +40,16 @@ declare const _default: DefineComponent<unknown, {
|
|
|
40
40
|
enter: (value: string, event: MouseEvent) => void;
|
|
41
41
|
space: (value: string, event: MouseEvent) => void;
|
|
42
42
|
}, string, PublicProps, Readonly<unknown> & Readonly<{
|
|
43
|
-
onRemove?: ((tag: string) => any) | undefined;
|
|
44
43
|
onBlur?: ((value: string, event: FocusEvent) => any) | undefined;
|
|
44
|
+
onRemove?: ((tag: string) => any) | undefined;
|
|
45
45
|
onChange?: ((data: string[]) => any) | undefined;
|
|
46
|
-
"onUpdate:modelValue"?: ((data: string[]) => any) | undefined;
|
|
47
46
|
onSpace?: ((value: string, event: MouseEvent) => any) | undefined;
|
|
47
|
+
"onUpdate:modelValue"?: ((data: string[]) => any) | undefined;
|
|
48
48
|
onEnter?: ((value: string, event: MouseEvent) => any) | undefined;
|
|
49
49
|
}>, {
|
|
50
|
+
trigger: TriggerType[] | TriggerType;
|
|
50
51
|
disabled: boolean;
|
|
51
52
|
modelValue: string[];
|
|
52
|
-
trigger: TriggerType[] | TriggerType;
|
|
53
53
|
inputProps: Partial<Mutable<InputProps> & IntrinsicAttributes>;
|
|
54
54
|
tagProps: Partial<Mutable<TagProps> & IntrinsicAttributes>;
|
|
55
55
|
limit: number;
|