@silver-formily/element-plus 3.0.2 → 3.0.3
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/README.en-US.md +1 -1
- package/README.md +1 -1
- package/esm/__builtins__/configs/index.mjs +6 -5
- package/esm/__builtins__/configs/index.mjs.map +1 -1
- package/esm/__builtins__/shared/load-config-provider.mjs +19 -11
- package/esm/__builtins__/shared/load-config-provider.mjs.map +1 -1
- package/esm/__builtins__/shared/loading.mjs +50 -46
- package/esm/__builtins__/shared/loading.mjs.map +1 -1
- package/esm/__builtins__/shared/simple-version-compare.mjs +16 -15
- package/esm/__builtins__/shared/simple-version-compare.mjs.map +1 -1
- package/esm/__builtins__/shared/transform-component.mjs +30 -31
- package/esm/__builtins__/shared/transform-component.mjs.map +1 -1
- package/esm/__builtins__/shared/use-enter-submit.mjs +74 -62
- package/esm/__builtins__/shared/use-enter-submit.mjs.map +1 -1
- package/esm/__builtins__/shared/utils.mjs +44 -32
- package/esm/__builtins__/shared/utils.mjs.map +1 -1
- package/esm/_virtual/_/plugin-vue/export-helper.mjs +8 -0
- package/esm/array-base/array-base-addition.mjs +53 -0
- package/esm/array-base/array-base-addition.mjs.map +1 -0
- package/esm/array-base/array-base-index.mjs +17 -0
- package/esm/array-base/array-base-index.mjs.map +1 -0
- package/esm/array-base/array-base-inner.mjs +30 -0
- package/esm/array-base/array-base-inner.mjs.map +1 -0
- package/esm/array-base/array-base-item.mjs +21 -0
- package/esm/array-base/array-base-item.mjs.map +1 -0
- package/esm/array-base/array-base-move-down.mjs +45 -0
- package/esm/array-base/array-base-move-down.mjs.map +1 -0
- package/esm/array-base/array-base-move-up.mjs +45 -0
- package/esm/array-base/array-base-move-up.mjs.map +1 -0
- package/esm/array-base/array-base-remove.mjs +45 -0
- package/esm/array-base/array-base-remove.mjs.map +1 -0
- package/esm/array-base/array-base-sort-handle.mjs +33 -0
- package/esm/array-base/array-base-sort-handle.mjs.map +1 -0
- package/esm/array-base/index.mjs +28 -208
- package/esm/array-base/index.mjs.map +1 -1
- package/esm/array-base/style.css +36 -0
- package/esm/array-base/symbols.mjs +7 -6
- package/esm/array-base/symbols.mjs.map +1 -1
- package/esm/array-base/types.d.ts +23 -24
- package/esm/array-base/utils.d.ts +11 -17
- package/esm/array-base/utils.mjs +58 -60
- package/esm/array-base/utils.mjs.map +1 -1
- package/esm/array-cards/array-cards.mjs +109 -0
- package/esm/array-cards/array-cards.mjs.map +1 -0
- package/esm/array-cards/index.d.ts +120 -113
- package/esm/array-cards/index.mjs +19 -118
- package/esm/array-cards/index.mjs.map +1 -1
- package/esm/array-cards/style.css +20 -0
- package/esm/array-collapse/array-collapse-item.mjs +74 -0
- package/esm/array-collapse/array-collapse-item.mjs.map +1 -0
- package/esm/array-collapse/array-collapse.mjs +117 -0
- package/esm/array-collapse/array-collapse.mjs.map +1 -0
- package/esm/array-collapse/index.d.ts +137 -129
- package/esm/array-collapse/index.mjs +21 -174
- package/esm/array-collapse/index.mjs.map +1 -1
- package/esm/array-collapse/style.css +20 -0
- package/esm/array-collapse/utils.mjs +7 -12
- package/esm/array-collapse/utils.mjs.map +1 -1
- package/esm/array-items/array-items-item.mjs +22 -0
- package/esm/array-items/array-items-item.mjs.map +1 -0
- package/esm/array-items/array-items.mjs +88 -0
- package/esm/array-items/array-items.mjs.map +1 -0
- package/esm/array-items/index.d.ts +132 -125
- package/esm/array-items/index.mjs +21 -107
- package/esm/array-items/index.mjs.map +1 -1
- package/esm/array-items/style.css +22 -0
- package/esm/array-list-tabs/array-list-tabs.mjs +191 -0
- package/esm/array-list-tabs/array-list-tabs.mjs.map +1 -0
- package/esm/array-list-tabs/index.d.ts +80 -74
- package/esm/array-list-tabs/index.mjs +12 -186
- package/esm/array-list-tabs/index.mjs.map +1 -1
- package/esm/array-list-tabs/style.css +90 -0
- package/esm/array-list-tabs/utils.mjs +11 -15
- package/esm/array-list-tabs/utils.mjs.map +1 -1
- package/esm/array-table/array-table.mjs +236 -0
- package/esm/array-table/array-table.mjs.map +1 -0
- package/esm/array-table/index.d.ts +106 -1597
- package/esm/array-table/index.mjs +24 -223
- package/esm/array-table/index.mjs.map +1 -1
- package/esm/array-table/style.css +23 -0
- package/esm/array-table/types.d.ts +11 -6
- package/esm/array-table/utils.mjs +14 -22
- package/esm/array-table/utils.mjs.map +1 -1
- package/esm/array-tabs/array-tabs.mjs +92 -0
- package/esm/array-tabs/array-tabs.mjs.map +1 -0
- package/esm/array-tabs/index.d.ts +7 -2
- package/esm/array-tabs/index.mjs +8 -84
- package/esm/array-tabs/index.mjs.map +1 -1
- package/esm/array-tabs/style.css +7 -0
- package/esm/autocomplete/autocomplete.mjs +99 -0
- package/esm/autocomplete/autocomplete.mjs.map +1 -0
- package/esm/autocomplete/index.d.ts +5 -639
- package/esm/autocomplete/index.mjs +14 -113
- package/esm/autocomplete/index.mjs.map +1 -1
- package/esm/cascader/cascader.mjs +32 -0
- package/esm/cascader/cascader.mjs.map +1 -0
- package/esm/cascader/index.d.ts +5 -28
- package/esm/cascader/index.mjs +13 -50
- package/esm/cascader/index.mjs.map +1 -1
- package/esm/checkbox/checkbox-group.mjs +64 -0
- package/esm/checkbox/checkbox-group.mjs.map +1 -0
- package/esm/checkbox/index.d.ts +5 -817
- package/esm/checkbox/index.mjs +16 -69
- package/esm/checkbox/index.mjs.map +1 -1
- package/esm/color-picker/index.d.ts +8 -210
- package/esm/color-picker/index.mjs +13 -17
- package/esm/color-picker/index.mjs.map +1 -1
- package/esm/color-picker-panel/index.d.ts +8 -129
- package/esm/color-picker-panel/index.mjs +16 -25
- package/esm/color-picker-panel/index.mjs.map +1 -1
- package/esm/date-picker/index.d.ts +5 -443
- package/esm/date-picker/index.mjs +21 -29
- package/esm/date-picker/index.mjs.map +1 -1
- package/esm/date-picker/utils.mjs +21 -26
- package/esm/date-picker/utils.mjs.map +1 -1
- package/esm/date-picker-panel/index.d.ts +5 -143
- package/esm/date-picker-panel/index.mjs +23 -30
- package/esm/date-picker-panel/index.mjs.map +1 -1
- package/esm/editable/editable-popover.mjs +95 -0
- package/esm/editable/editable-popover.mjs.map +1 -0
- package/esm/editable/editable.mjs +113 -0
- package/esm/editable/editable.mjs.map +1 -0
- package/esm/editable/index.d.ts +10 -150
- package/esm/editable/index.mjs +17 -219
- package/esm/editable/index.mjs.map +1 -1
- package/esm/editable/style.css +29 -0
- package/esm/form/form.mjs +50 -70
- package/esm/form/form.mjs.map +1 -1
- package/esm/form/form.vue.d.ts +48 -0
- package/esm/form/index.d.ts +1 -1
- package/esm/form-button-group/form-button-group-sticky.mjs +37 -0
- package/esm/form-button-group/form-button-group-sticky.mjs.map +1 -0
- package/esm/form-button-group/form-button-group.mjs +71 -0
- package/esm/form-button-group/form-button-group.mjs.map +1 -0
- package/esm/form-button-group/index.d.ts +94 -87
- package/esm/form-button-group/index.mjs +10 -96
- package/esm/form-button-group/index.mjs.map +1 -1
- package/esm/form-button-group/style.css +281 -0
- package/esm/form-button-group/utils.mjs +7 -12
- package/esm/form-button-group/utils.mjs.map +1 -1
- package/esm/form-collapse/form-collapse.mjs +74 -0
- package/esm/form-collapse/form-collapse.mjs.map +1 -0
- package/esm/form-collapse/index.d.ts +43 -39
- package/esm/form-collapse/index.mjs +20 -86
- package/esm/form-collapse/index.mjs.map +1 -1
- package/esm/form-collapse/style.css +7 -0
- package/esm/form-collapse/utils.d.ts +21 -27
- package/esm/form-collapse/utils.mjs +48 -46
- package/esm/form-collapse/utils.mjs.map +1 -1
- package/esm/form-dialog/dialog-content.mjs +118 -0
- package/esm/form-dialog/dialog-content.mjs.map +1 -0
- package/esm/form-dialog/index.d.ts +8 -4
- package/esm/form-dialog/index.mjs +142 -211
- package/esm/form-dialog/index.mjs.map +1 -1
- package/esm/form-dialog/types.d.ts +38 -32
- package/esm/form-drawer/drawer-content.mjs +118 -0
- package/esm/form-drawer/drawer-content.mjs.map +1 -0
- package/esm/form-drawer/index.d.ts +8 -4
- package/esm/form-drawer/index.mjs +142 -204
- package/esm/form-drawer/index.mjs.map +1 -1
- package/esm/form-drawer/types.d.ts +38 -32
- package/esm/form-grid/form-grid-column.mjs +28 -0
- package/esm/form-grid/form-grid-column.mjs.map +1 -0
- package/esm/form-grid/form-grid.mjs +69 -0
- package/esm/form-grid/form-grid.mjs.map +1 -0
- package/esm/form-grid/hooks.mjs +7 -7
- package/esm/form-grid/hooks.mjs.map +1 -1
- package/esm/form-grid/index.d.ts +5 -2
- package/esm/form-grid/index.mjs +10 -109
- package/esm/form-grid/index.mjs.map +1 -1
- package/esm/form-grid/style.css +128 -0
- package/esm/form-item/form-item.mjs +308 -0
- package/esm/form-item/form-item.mjs.map +1 -0
- package/esm/form-item/form-item.vue.d.ts +29 -0
- package/esm/form-item/index.d.ts +9 -77
- package/esm/form-item/index.mjs +28 -332
- package/esm/form-item/index.mjs.map +1 -1
- package/esm/form-item/style.css +263 -0
- package/esm/form-item/types.d.ts +34 -29
- package/esm/form-item/utils.mjs +15 -15
- package/esm/form-item/utils.mjs.map +1 -1
- package/esm/form-layout/form-layout.mjs +103 -83
- package/esm/form-layout/form-layout.mjs.map +1 -1
- package/esm/form-layout/form-layout.vue.d.ts +28 -0
- package/esm/form-layout/index.d.ts +1 -1
- package/esm/form-layout/types.d.ts +24 -40
- package/esm/form-layout/utils.mjs +73 -99
- package/esm/form-layout/utils.mjs.map +1 -1
- package/esm/form-step/form-step-pane.mjs +15 -0
- package/esm/form-step/form-step-pane.mjs.map +1 -0
- package/esm/form-step/form-step.mjs +63 -0
- package/esm/form-step/form-step.mjs.map +1 -0
- package/esm/form-step/index.d.ts +29 -23
- package/esm/form-step/index.mjs +12 -93
- package/esm/form-step/index.mjs.map +1 -1
- package/esm/form-step/types.d.ts +19 -19
- package/esm/form-step/utils.d.ts +14 -10
- package/esm/form-step/utils.mjs +75 -59
- package/esm/form-step/utils.mjs.map +1 -1
- package/esm/form-tab/form-tab.mjs +79 -0
- package/esm/form-tab/form-tab.mjs.map +1 -0
- package/esm/form-tab/hooks.mjs +18 -16
- package/esm/form-tab/hooks.mjs.map +1 -1
- package/esm/form-tab/index.d.ts +5 -3
- package/esm/form-tab/index.mjs +10 -76
- package/esm/form-tab/index.mjs.map +1 -1
- package/esm/form-tab/style.css +4 -0
- package/esm/form-tab/utils.mjs +14 -13
- package/esm/form-tab/utils.mjs.map +1 -1
- package/esm/index.d.ts +53 -48
- package/esm/index.mjs +50 -103
- package/esm/input/index.d.ts +5 -52
- package/esm/input/index.mjs +16 -68
- package/esm/input/index.mjs.map +1 -1
- package/esm/input/input.mjs +41 -0
- package/esm/input/input.mjs.map +1 -0
- package/esm/input-number/index.d.ts +8 -329
- package/esm/input-number/index.mjs +12 -24
- package/esm/input-number/index.mjs.map +1 -1
- package/esm/input-tag/index.d.ts +5 -32
- package/esm/input-tag/index.mjs +13 -49
- package/esm/input-tag/index.mjs.map +1 -1
- package/esm/input-tag/input-tag.mjs +41 -0
- package/esm/input-tag/input-tag.mjs.map +1 -0
- package/esm/mention/index.d.ts +5 -50
- package/esm/mention/index.mjs +15 -96
- package/esm/mention/index.mjs.map +1 -1
- package/esm/mention/mention.mjs +77 -0
- package/esm/mention/mention.mjs.map +1 -0
- package/esm/pagination/components/jumper.mjs +11 -12
- package/esm/pagination/components/jumper.mjs.map +1 -1
- package/esm/pagination/components/jumper2.mjs +59 -0
- package/esm/pagination/components/jumper2.mjs.map +1 -0
- package/esm/pagination/components/next.mjs +18 -22
- package/esm/pagination/components/next.mjs.map +1 -1
- package/esm/pagination/components/next2.mjs +38 -0
- package/esm/pagination/components/next2.mjs.map +1 -0
- package/esm/pagination/components/pager.mjs +21 -22
- package/esm/pagination/components/pager.mjs.map +1 -1
- package/esm/pagination/components/pager2.mjs +229 -0
- package/esm/pagination/components/pager2.mjs.map +1 -0
- package/esm/pagination/components/prev.mjs +16 -22
- package/esm/pagination/components/prev.mjs.map +1 -1
- package/esm/pagination/components/prev2.mjs +38 -0
- package/esm/pagination/components/prev2.mjs.map +1 -0
- package/esm/pagination/components/sizes.mjs +32 -7
- package/esm/pagination/components/sizes.mjs.map +1 -1
- package/esm/pagination/components/sizes2.mjs +66 -0
- package/esm/pagination/components/sizes2.mjs.map +1 -0
- package/esm/pagination/components/total.mjs +10 -11
- package/esm/pagination/components/total.mjs.map +1 -1
- package/esm/pagination/components/total2.mjs +26 -0
- package/esm/pagination/components/total2.mjs.map +1 -0
- package/esm/pagination/pagination.mjs +271 -626
- package/esm/pagination/pagination.mjs.map +1 -1
- package/esm/password/index.d.ts +8 -54
- package/esm/password/index.mjs +11 -14
- package/esm/password/index.mjs.map +1 -1
- package/esm/preview-text/cascader.mjs +51 -0
- package/esm/preview-text/cascader.mjs.map +1 -0
- package/esm/preview-text/color-picker.mjs +37 -0
- package/esm/preview-text/color-picker.mjs.map +1 -0
- package/esm/preview-text/date-picker.mjs +61 -0
- package/esm/preview-text/date-picker.mjs.map +1 -0
- package/esm/preview-text/index.d.ts +107 -106
- package/esm/preview-text/index.mjs +25 -363
- package/esm/preview-text/index.mjs.map +1 -1
- package/esm/preview-text/input.mjs +39 -0
- package/esm/preview-text/input.mjs.map +1 -0
- package/esm/preview-text/preview.mjs +30 -0
- package/esm/preview-text/preview.mjs.map +1 -0
- package/esm/preview-text/rate.mjs +32 -0
- package/esm/preview-text/rate.mjs.map +1 -0
- package/esm/preview-text/select.mjs +42 -0
- package/esm/preview-text/select.mjs.map +1 -0
- package/esm/preview-text/style.css +16 -0
- package/esm/preview-text/time-picker.mjs +39 -0
- package/esm/preview-text/time-picker.mjs.map +1 -0
- package/esm/preview-text/tree.mjs +73 -0
- package/esm/preview-text/tree.mjs.map +1 -0
- package/esm/preview-text/utils.d.ts +10 -13
- package/esm/preview-text/utils.mjs +15 -15
- package/esm/preview-text/utils.mjs.map +1 -1
- package/esm/query-form/default-components.mjs +45 -45
- package/esm/query-form/default-components.mjs.map +1 -1
- package/esm/query-form/hooks.mjs +31 -26
- package/esm/query-form/hooks.mjs.map +1 -1
- package/esm/query-form/index.d.ts +115 -105
- package/esm/query-form/index.mjs +10 -333
- package/esm/query-form/index.mjs.map +1 -1
- package/esm/query-form/query-form-light.mjs +86 -0
- package/esm/query-form/query-form-light.mjs.map +1 -0
- package/esm/query-form/query-form.mjs +263 -0
- package/esm/query-form/query-form.mjs.map +1 -0
- package/esm/query-form/style.css +27 -0
- package/esm/query-form/types.d.ts +42 -41
- package/esm/query-form-item/index.d.ts +7 -151
- package/esm/query-form-item/index.mjs +15 -183
- package/esm/query-form-item/index.mjs.map +1 -1
- package/esm/query-form-item/query-form-item.mjs +195 -0
- package/esm/query-form-item/query-form-item.mjs.map +1 -0
- package/esm/query-form-item/style.css +12 -0
- package/esm/query-form-item/types.d.ts +42 -38
- package/esm/radio/index.d.ts +429 -473
- package/esm/radio/index.mjs +15 -68
- package/esm/radio/index.mjs.map +1 -1
- package/esm/radio/radio-group.mjs +70 -0
- package/esm/radio/radio-group.mjs.map +1 -0
- package/esm/{styles/radio/index.css → radio/style.css} +3 -1
- package/esm/rate/index.d.ts +8 -187
- package/esm/rate/index.mjs +13 -17
- package/esm/rate/index.mjs.map +1 -1
- package/esm/reset/index.d.ts +5 -2
- package/esm/reset/index.mjs +8 -44
- package/esm/reset/index.mjs.map +1 -1
- package/esm/reset/reset.mjs +42 -0
- package/esm/reset/reset.mjs.map +1 -0
- package/esm/segmented/index.d.ts +5 -26
- package/esm/segmented/index.mjs +13 -40
- package/esm/segmented/index.mjs.map +1 -1
- package/esm/segmented/segmented.mjs +26 -0
- package/esm/segmented/segmented.mjs.map +1 -0
- package/esm/select/index.d.ts +5 -129
- package/esm/select/index.mjs +14 -127
- package/esm/select/index.mjs.map +1 -1
- package/esm/select/select.mjs +95 -0
- package/esm/select/select.mjs.map +1 -0
- package/esm/select-table/index.d.ts +4 -1557
- package/esm/select-table/index.mjs +12 -204
- package/esm/select-table/index.mjs.map +1 -1
- package/esm/select-table/select-table.mjs +202 -0
- package/esm/select-table/select-table.mjs.map +1 -0
- package/esm/select-table/style.css +14 -0
- package/esm/shared/overlay-elements.mjs +15 -16
- package/esm/shared/overlay-elements.mjs.map +1 -1
- package/esm/shared/url-change-listener.mjs +50 -0
- package/esm/shared/url-change-listener.mjs.map +1 -0
- package/esm/slider/index.d.ts +8 -177
- package/esm/slider/index.mjs +13 -17
- package/esm/slider/index.mjs.map +1 -1
- package/esm/space/index.d.ts +2 -1
- package/esm/space/index.mjs +2 -6
- package/esm/submit/index.d.ts +5 -2
- package/esm/submit/index.mjs +8 -40
- package/esm/submit/index.mjs.map +1 -1
- package/esm/submit/submit.mjs +41 -0
- package/esm/submit/submit.mjs.map +1 -0
- package/esm/switch/index.d.ts +8 -299
- package/esm/switch/index.mjs +8 -13
- package/esm/switch/index.mjs.map +1 -1
- package/esm/time-picker/index.d.ts +8 -445
- package/esm/time-picker/index.mjs +10 -17
- package/esm/time-picker/index.mjs.map +1 -1
- package/esm/time-select/index.d.ts +5 -185
- package/esm/time-select/index.mjs +13 -17
- package/esm/time-select/index.mjs.map +1 -1
- package/esm/transfer/index.d.ts +8 -267
- package/esm/transfer/index.mjs +8 -11
- package/esm/transfer/index.mjs.map +1 -1
- package/esm/tree/index.d.ts +4 -41
- package/esm/tree/index.mjs +14 -104
- package/esm/tree/index.mjs.map +1 -1
- package/esm/tree/tree.mjs +127 -0
- package/esm/tree/tree.mjs.map +1 -0
- package/esm/tree/utils.mjs +157 -149
- package/esm/tree/utils.mjs.map +1 -1
- package/esm/tree-select/index.d.ts +5 -16
- package/esm/tree-select/index.mjs +13 -40
- package/esm/tree-select/index.mjs.map +1 -1
- package/esm/tree-select/tree-select.mjs +38 -0
- package/esm/tree-select/tree-select.mjs.map +1 -0
- package/esm/upload/index.d.ts +5 -712
- package/esm/upload/index.mjs +11 -172
- package/esm/upload/index.mjs.map +1 -1
- package/esm/upload/upload.mjs +176 -0
- package/esm/upload/upload.mjs.map +1 -0
- package/package.json +23 -24
- package/esm/__builtins__/configs/index.d.ts +0 -1
- package/esm/__builtins__/index.d.ts +0 -2
- package/esm/__builtins__/index.mjs +0 -23
- package/esm/__builtins__/index.mjs.map +0 -1
- package/esm/__builtins__/shared/index.d.ts +0 -6
- package/esm/__builtins__/shared/index.mjs +0 -21
- package/esm/__builtins__/shared/index.mjs.map +0 -1
- package/esm/__builtins__/shared/load-config-provider.d.ts +0 -2
- package/esm/__builtins__/shared/loading.d.ts +0 -12
- package/esm/__builtins__/shared/simple-version-compare.d.ts +0 -2
- package/esm/__builtins__/shared/transform-component.d.ts +0 -3
- package/esm/__builtins__/shared/types.d.ts +0 -2
- package/esm/__builtins__/shared/types.mjs +0 -2
- package/esm/__builtins__/shared/types.mjs.map +0 -1
- package/esm/__builtins__/shared/use-enter-submit.d.ts +0 -9
- package/esm/__builtins__/shared/utils.d.ts +0 -9
- package/esm/array-base/array-base-addition.d.ts +0 -5
- package/esm/array-base/array-base-index.d.ts +0 -19
- package/esm/array-base/array-base-inner.d.ts +0 -18
- package/esm/array-base/array-base-item.d.ts +0 -18
- package/esm/array-base/array-base-move-down.d.ts +0 -18
- package/esm/array-base/array-base-move-up.d.ts +0 -18
- package/esm/array-base/array-base-remove.d.ts +0 -18
- package/esm/array-base/array-base-sort-handle.d.ts +0 -2
- package/esm/array-base/index.d.ts +0 -114
- package/esm/array-base/symbols.d.ts +0 -4
- package/esm/array-base/types.mjs +0 -2
- package/esm/array-base/types.mjs.map +0 -1
- package/esm/array-cards/array-cards.d.ts +0 -13
- package/esm/array-collapse/array-collapse-item.d.ts +0 -18
- package/esm/array-collapse/array-collapse.d.ts +0 -16
- package/esm/array-collapse/utils.d.ts +0 -1
- package/esm/array-items/array-items-item.d.ts +0 -30
- package/esm/array-items/array-items.d.ts +0 -2
- package/esm/array-list-tabs/array-list-tabs.d.ts +0 -31
- package/esm/array-list-tabs/utils.d.ts +0 -3
- package/esm/array-table/array-table.d.ts +0 -1505
- package/esm/array-table/types.mjs +0 -2
- package/esm/array-table/types.mjs.map +0 -1
- package/esm/array-table/utils.d.ts +0 -5
- package/esm/array-tabs/array-tabs.d.ts +0 -2
- package/esm/autocomplete/autocomplete.d.ts +0 -1222
- package/esm/cascader/cascader.d.ts +0 -25
- package/esm/checkbox/checkbox-group.d.ts +0 -42
- package/esm/date-picker/utils.d.ts +0 -4
- package/esm/editable/editable-popover.d.ts +0 -25
- package/esm/editable/editable.d.ts +0 -193
- package/esm/env.d.d.ts +0 -1
- package/esm/env.d.mjs +0 -2
- package/esm/env.d.mjs.map +0 -1
- package/esm/form/form.d.ts +0 -46
- package/esm/form/index.mjs +0 -6
- package/esm/form/index.mjs.map +0 -1
- package/esm/form-button-group/form-button-group-sticky.d.ts +0 -17
- package/esm/form-button-group/form-button-group.d.ts +0 -57
- package/esm/form-button-group/utils.d.ts +0 -1
- package/esm/form-collapse/form-collapse.d.ts +0 -18
- package/esm/form-dialog/dialog-content.d.ts +0 -846
- package/esm/form-dialog/types.mjs +0 -2
- package/esm/form-dialog/types.mjs.map +0 -1
- package/esm/form-drawer/drawer-content.d.ts +0 -976
- package/esm/form-drawer/types.mjs +0 -2
- package/esm/form-drawer/types.mjs.map +0 -1
- package/esm/form-grid/form-grid-column.d.ts +0 -29
- package/esm/form-grid/form-grid.d.ts +0 -101
- package/esm/form-grid/hooks.d.ts +0 -4
- package/esm/form-item/form-item.d.ts +0 -19
- package/esm/form-item/types.mjs +0 -2
- package/esm/form-item/types.mjs.map +0 -1
- package/esm/form-item/utils.d.ts +0 -3
- package/esm/form-layout/form-layout.d.ts +0 -31
- package/esm/form-layout/index.mjs +0 -6
- package/esm/form-layout/index.mjs.map +0 -1
- package/esm/form-layout/types.mjs +0 -2
- package/esm/form-layout/types.mjs.map +0 -1
- package/esm/form-layout/utils.d.ts +0 -57
- package/esm/form-step/form-step-pane.d.ts +0 -2
- package/esm/form-step/form-step.d.ts +0 -5
- package/esm/form-step/types.mjs +0 -2
- package/esm/form-step/types.mjs.map +0 -1
- package/esm/form-tab/form-tab.d.ts +0 -7
- package/esm/form-tab/hooks.d.ts +0 -8
- package/esm/form-tab/types.d.ts +0 -12
- package/esm/form-tab/types.mjs +0 -2
- package/esm/form-tab/types.mjs.map +0 -1
- package/esm/form-tab/utils.d.ts +0 -4
- package/esm/index.mjs.map +0 -1
- package/esm/input/input.d.ts +0 -25
- package/esm/input-tag/input-tag.d.ts +0 -32
- package/esm/mention/mention.d.ts +0 -51
- package/esm/pagination/components/jumper.d.ts +0 -16
- package/esm/pagination/components/next.d.ts +0 -42
- package/esm/pagination/components/pager.d.ts +0 -42
- package/esm/pagination/components/prev.d.ts +0 -39
- package/esm/pagination/components/sizes.d.ts +0 -56
- package/esm/pagination/components/total.d.ts +0 -8
- package/esm/pagination/pagination.d.ts +0 -128
- package/esm/preview-text/cascader.d.ts +0 -5
- package/esm/preview-text/color-picker.d.ts +0 -5
- package/esm/preview-text/date-picker.d.ts +0 -5
- package/esm/preview-text/input.d.ts +0 -28
- package/esm/preview-text/preview.d.ts +0 -18
- package/esm/preview-text/rate.d.ts +0 -5
- package/esm/preview-text/select.d.ts +0 -5
- package/esm/preview-text/time-picker.d.ts +0 -5
- package/esm/preview-text/tree.d.ts +0 -22
- package/esm/query-form/default-components.d.ts +0 -5
- package/esm/query-form/hooks.d.ts +0 -25
- package/esm/query-form/query-form-light.d.ts +0 -27
- package/esm/query-form/query-form.d.ts +0 -52
- package/esm/query-form/types.mjs +0 -2
- package/esm/query-form/types.mjs.map +0 -1
- package/esm/query-form-item/query-form-item.d.ts +0 -96
- package/esm/query-form-item/types.mjs +0 -2
- package/esm/query-form-item/types.mjs.map +0 -1
- package/esm/radio/radio-group.d.ts +0 -33
- package/esm/reset/reset.d.ts +0 -45
- package/esm/segmented/segmented.d.ts +0 -25
- package/esm/select/select.d.ts +0 -45
- package/esm/select-table/select-table.d.ts +0 -3030
- package/esm/select-table/types.d.ts +0 -17
- package/esm/select-table/types.mjs +0 -2
- package/esm/select-table/types.mjs.map +0 -1
- package/esm/shared/overlay-elements.d.ts +0 -6
- package/esm/space/index.mjs.map +0 -1
- package/esm/styles/array-base/index.css +0 -1
- package/esm/styles/array-cards/index.css +0 -1
- package/esm/styles/array-collapse/index.css +0 -1
- package/esm/styles/array-items/index.css +0 -1
- package/esm/styles/array-list-tabs/index.css +0 -1
- package/esm/styles/array-table/index.css +0 -1
- package/esm/styles/array-tabs/index.css +0 -1
- package/esm/styles/editable/index.css +0 -1
- package/esm/styles/form-button-group/index.css +0 -1
- package/esm/styles/form-collapse/index.css +0 -1
- package/esm/styles/form-grid/index.css +0 -1
- package/esm/styles/form-item/index.css +0 -1
- package/esm/styles/form-tab/index.css +0 -1
- package/esm/styles/preview-text/index.css +0 -1
- package/esm/styles/query-form/index.css +0 -1
- package/esm/styles/query-form-item/index.css +0 -1
- package/esm/styles/select-table/index.css +0 -1
- package/esm/submit/submit.d.ts +0 -36
- package/esm/tree/tree.d.ts +0 -20
- package/esm/tree/types.d.ts +0 -13
- package/esm/tree/types.mjs +0 -2
- package/esm/tree/types.mjs.map +0 -1
- package/esm/tree/utils.d.ts +0 -45
- package/esm/tree-select/tree-select.d.ts +0 -10
- package/esm/upload/upload.d.ts +0 -1259
- package/esm/vendor/icon.mjs +0 -11
- package/esm/vendor/icon.mjs.map +0 -1
- package/esm/vendor/lodash.mjs +0 -1506
- package/esm/vendor/lodash.mjs.map +0 -1
- package/esm/vendor/runtime.mjs +0 -34
- package/esm/vendor/runtime.mjs.map +0 -1
- package/esm/vendor/shared.esm-bundler.mjs +0 -9
- package/esm/vendor/shared.esm-bundler.mjs.map +0 -1
- package/esm/vendor/sizes.mjs +0 -27
- package/esm/vendor/sizes.mjs.map +0 -1
- package/esm/vendor/types.mjs +0 -19
- package/esm/vendor/types.mjs.map +0 -1
package/esm/form-step/utils.d.ts
CHANGED
|
@@ -1,11 +1,15 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { Slots } from
|
|
3
|
-
import {
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
1
|
+
import { IFormStep } from "./types.js";
|
|
2
|
+
import { Slots } from "vue";
|
|
3
|
+
import { Schema, SchemaKey } from "@formily/json-schema";
|
|
4
|
+
|
|
5
|
+
//#region src/form-step/utils.d.ts
|
|
6
|
+
interface SchemaStep {
|
|
7
|
+
name: SchemaKey;
|
|
8
|
+
props: any;
|
|
9
|
+
schema: Schema;
|
|
10
|
+
slots: Slots;
|
|
9
11
|
}
|
|
10
|
-
|
|
11
|
-
|
|
12
|
+
declare function createFormStep(defaultCurrent?: number): IFormStep;
|
|
13
|
+
//#endregion
|
|
14
|
+
export { SchemaStep, createFormStep };
|
|
15
|
+
//# sourceMappingURL=utils.d.ts.map
|
package/esm/form-step/utils.mjs
CHANGED
|
@@ -1,61 +1,77 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
1
|
+
import { action, model, observable } from "@formily/reactive";
|
|
2
|
+
//#region src/form-step/utils.ts
|
|
3
|
+
function createFormStep(defaultCurrent = 0) {
|
|
4
|
+
const env = observable({
|
|
5
|
+
form: null,
|
|
6
|
+
field: null,
|
|
7
|
+
steps: []
|
|
8
|
+
});
|
|
9
|
+
const setDisplay = action.bound((target) => {
|
|
10
|
+
const currentStep = env.steps[target];
|
|
11
|
+
for (const { name } of env.steps) env.form.query(`${env.field.address}.${name}`).take((field) => {
|
|
12
|
+
if (name === currentStep.name) field.setDisplay("visible");
|
|
13
|
+
else field.setDisplay("hidden");
|
|
14
|
+
});
|
|
15
|
+
});
|
|
16
|
+
const formStep = model({
|
|
17
|
+
connect(steps, field) {
|
|
18
|
+
env.steps = steps;
|
|
19
|
+
env.form = field?.form;
|
|
20
|
+
env.field = field;
|
|
21
|
+
},
|
|
22
|
+
current: defaultCurrent,
|
|
23
|
+
setCurrent(key) {
|
|
24
|
+
formStep.current = key;
|
|
25
|
+
},
|
|
26
|
+
get allowNext() {
|
|
27
|
+
return formStep.current < env.steps.length - 1;
|
|
28
|
+
},
|
|
29
|
+
get allowBack() {
|
|
30
|
+
return formStep.current > 0;
|
|
31
|
+
},
|
|
32
|
+
async next() {
|
|
33
|
+
try {
|
|
34
|
+
await env.form.validate();
|
|
35
|
+
next();
|
|
36
|
+
} catch {}
|
|
37
|
+
},
|
|
38
|
+
async back() {
|
|
39
|
+
back();
|
|
40
|
+
},
|
|
41
|
+
async submit(onSubmit) {
|
|
42
|
+
return env.form?.submit?.(onSubmit);
|
|
43
|
+
}
|
|
44
|
+
});
|
|
45
|
+
const next = action.bound(() => {
|
|
46
|
+
/* istanbul ignore else -- @preserve */
|
|
47
|
+
if (formStep.allowNext) {
|
|
48
|
+
setDisplay(formStep.current + 1);
|
|
49
|
+
formStep.setCurrent(formStep.current + 1);
|
|
50
|
+
}
|
|
51
|
+
});
|
|
52
|
+
const back = action.bound(() => {
|
|
53
|
+
/* istanbul ignore else -- @preserve */
|
|
54
|
+
if (formStep.allowBack) {
|
|
55
|
+
setDisplay(formStep.current - 1);
|
|
56
|
+
formStep.setCurrent(formStep.current - 1);
|
|
57
|
+
}
|
|
58
|
+
});
|
|
59
|
+
return formStep;
|
|
45
60
|
}
|
|
46
|
-
function
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
61
|
+
function parseSteps(schema) {
|
|
62
|
+
const steps = [];
|
|
63
|
+
schema.mapProperties((schema, name) => {
|
|
64
|
+
/* istanbul ignore else -- @preserve */
|
|
65
|
+
if (schema["x-component"]?.indexOf("StepPane") > -1) steps.push({
|
|
66
|
+
name,
|
|
67
|
+
props: schema["x-component-props"],
|
|
68
|
+
schema,
|
|
69
|
+
slots: schema["x-content"]
|
|
70
|
+
});
|
|
71
|
+
});
|
|
72
|
+
return steps;
|
|
56
73
|
}
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
//# sourceMappingURL=utils.mjs.map
|
|
74
|
+
//#endregion
|
|
75
|
+
export { createFormStep, parseSteps };
|
|
76
|
+
|
|
77
|
+
//# sourceMappingURL=utils.mjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"utils.mjs","sources":["../../src/form-step/utils.ts"],"sourcesContent":["import type { Schema, SchemaKey } from '@formily/json-schema'\nimport type { Slots } from 'vue'\nimport type { FormStepEnv, IFormStep } from './types'\nimport { action, model, observable } from '@formily/reactive'\n\nexport interface SchemaStep {\n name: SchemaKey\n props: any\n schema: Schema\n slots: Slots\n}\n\nexport function createFormStep(defaultCurrent = 0): IFormStep {\n const env: FormStepEnv = observable({\n form: null,\n field: null,\n steps: [],\n })\n\n const setDisplay = action.bound((target: number) => {\n const currentStep = env.steps[target]\n for (const { name } of env.steps) {\n env.form.query(`${env.field.address}.${name}`).take((field) => {\n if (name === currentStep.name) {\n field.setDisplay('visible')\n }\n else {\n field.setDisplay('hidden')\n }\n })\n }\n })\n\n const formStep: IFormStep = model({\n connect(steps, field) {\n env.steps = steps\n env.form = field?.form\n env.field = field\n },\n current: defaultCurrent,\n setCurrent(key: number) {\n formStep.current = key\n },\n get allowNext() {\n return formStep.current < env.steps.length - 1\n },\n get allowBack() {\n return formStep.current > 0\n },\n async next() {\n try {\n await env.form.validate()\n // eslint-disable-next-line ts/no-use-before-define\n next()\n }\n catch {}\n },\n async back() {\n // eslint-disable-next-line ts/no-use-before-define\n back()\n },\n async submit(onSubmit) {\n return env.form?.submit?.(onSubmit)\n },\n })\n\n const next = action.bound(() => {\n /* istanbul ignore else -- @preserve */\n if (formStep.allowNext) {\n setDisplay(formStep.current + 1)\n formStep.setCurrent(formStep.current + 1)\n }\n })\n\n const back = action.bound(() => {\n /* istanbul ignore else -- @preserve */\n if (formStep.allowBack) {\n setDisplay(formStep.current - 1)\n formStep.setCurrent(formStep.current - 1)\n }\n })\n return formStep\n}\n\nexport function parseSteps(schema: Schema) {\n const steps: SchemaStep[] = []\n schema.mapProperties((schema, name) => {\n /* istanbul ignore else -- @preserve */\n if (schema['x-component']?.indexOf('StepPane') > -1) {\n steps.push({\n name,\n props: schema['x-component-props'],\n schema,\n slots: schema['x-content'],\n })\n }\n })\n return steps\n}\n"],"
|
|
1
|
+
{"version":3,"file":"utils.mjs","names":[],"sources":["../../src/form-step/utils.ts"],"sourcesContent":["import type { Schema, SchemaKey } from '@formily/json-schema'\nimport type { Slots } from 'vue'\nimport type { FormStepEnv, IFormStep } from './types'\nimport { action, model, observable } from '@formily/reactive'\n\nexport interface SchemaStep {\n name: SchemaKey\n props: any\n schema: Schema\n slots: Slots\n}\n\nexport function createFormStep(defaultCurrent = 0): IFormStep {\n const env: FormStepEnv = observable({\n form: null,\n field: null,\n steps: [],\n })\n\n const setDisplay = action.bound((target: number) => {\n const currentStep = env.steps[target]\n for (const { name } of env.steps) {\n env.form.query(`${env.field.address}.${name}`).take((field) => {\n if (name === currentStep.name) {\n field.setDisplay('visible')\n }\n else {\n field.setDisplay('hidden')\n }\n })\n }\n })\n\n const formStep: IFormStep = model({\n connect(steps, field) {\n env.steps = steps\n env.form = field?.form\n env.field = field\n },\n current: defaultCurrent,\n setCurrent(key: number) {\n formStep.current = key\n },\n get allowNext() {\n return formStep.current < env.steps.length - 1\n },\n get allowBack() {\n return formStep.current > 0\n },\n async next() {\n try {\n await env.form.validate()\n // eslint-disable-next-line ts/no-use-before-define\n next()\n }\n catch {}\n },\n async back() {\n // eslint-disable-next-line ts/no-use-before-define\n back()\n },\n async submit(onSubmit) {\n return env.form?.submit?.(onSubmit)\n },\n })\n\n const next = action.bound(() => {\n /* istanbul ignore else -- @preserve */\n if (formStep.allowNext) {\n setDisplay(formStep.current + 1)\n formStep.setCurrent(formStep.current + 1)\n }\n })\n\n const back = action.bound(() => {\n /* istanbul ignore else -- @preserve */\n if (formStep.allowBack) {\n setDisplay(formStep.current - 1)\n formStep.setCurrent(formStep.current - 1)\n }\n })\n return formStep\n}\n\nexport function parseSteps(schema: Schema) {\n const steps: SchemaStep[] = []\n schema.mapProperties((schema, name) => {\n /* istanbul ignore else -- @preserve */\n if (schema['x-component']?.indexOf('StepPane') > -1) {\n steps.push({\n name,\n props: schema['x-component-props'],\n schema,\n slots: schema['x-content'],\n })\n }\n })\n return steps\n}\n"],"mappings":";;AAYA,SAAgB,eAAe,iBAAiB,GAAc;CAC5D,MAAM,MAAmB,WAAW;EAClC,MAAM;EACN,OAAO;EACP,OAAO,EAAE;EACV,CAAC;CAEF,MAAM,aAAa,OAAO,OAAO,WAAmB;EAClD,MAAM,cAAc,IAAI,MAAM;AAC9B,OAAK,MAAM,EAAE,UAAU,IAAI,MACzB,KAAI,KAAK,MAAM,GAAG,IAAI,MAAM,QAAQ,GAAG,OAAO,CAAC,MAAM,UAAU;AAC7D,OAAI,SAAS,YAAY,KACvB,OAAM,WAAW,UAAU;OAG3B,OAAM,WAAW,SAAS;IAE5B;GAEJ;CAEF,MAAM,WAAsB,MAAM;EAChC,QAAQ,OAAO,OAAO;AACpB,OAAI,QAAQ;AACZ,OAAI,OAAO,OAAO;AAClB,OAAI,QAAQ;;EAEd,SAAS;EACT,WAAW,KAAa;AACtB,YAAS,UAAU;;EAErB,IAAI,YAAY;AACd,UAAO,SAAS,UAAU,IAAI,MAAM,SAAS;;EAE/C,IAAI,YAAY;AACd,UAAO,SAAS,UAAU;;EAE5B,MAAM,OAAO;AACX,OAAI;AACF,UAAM,IAAI,KAAK,UAAU;AAEzB,UAAM;WAEF;;EAER,MAAM,OAAO;AAEX,SAAM;;EAER,MAAM,OAAO,UAAU;AACrB,UAAO,IAAI,MAAM,SAAS,SAAS;;EAEtC,CAAC;CAEF,MAAM,OAAO,OAAO,YAAY;;AAE9B,MAAI,SAAS,WAAW;AACtB,cAAW,SAAS,UAAU,EAAE;AAChC,YAAS,WAAW,SAAS,UAAU,EAAE;;GAE3C;CAEF,MAAM,OAAO,OAAO,YAAY;;AAE9B,MAAI,SAAS,WAAW;AACtB,cAAW,SAAS,UAAU,EAAE;AAChC,YAAS,WAAW,SAAS,UAAU,EAAE;;GAE3C;AACF,QAAO;;AAGT,SAAgB,WAAW,QAAgB;CACzC,MAAM,QAAsB,EAAE;AAC9B,QAAO,eAAe,QAAQ,SAAS;;AAErC,MAAI,OAAO,gBAAgB,QAAQ,WAAW,GAAG,GAC/C,OAAM,KAAK;GACT;GACA,OAAO,OAAO;GACd;GACA,OAAO,OAAO;GACf,CAAC;GAEJ;AACF,QAAO"}
|
|
@@ -0,0 +1,79 @@
|
|
|
1
|
+
import { stylePrefix } from "../__builtins__/configs/index.mjs";
|
|
2
|
+
import { useTabs } from "./hooks.mjs";
|
|
3
|
+
import { createFormTab } from "./utils.mjs";
|
|
4
|
+
import { ElBadge, ElTabPane, ElTabs } from "element-plus";
|
|
5
|
+
import { formilyComputed, reactionWatch } from "@silver-formily/reactive-vue";
|
|
6
|
+
import { Fragment, computed, createBlock, createElementBlock, createTextVNode, createVNode, defineComponent, mergeProps, normalizeClass, openBlock, ref, renderList, toDisplayString, unref, watch, withCtx } from "vue";
|
|
7
|
+
import { RecursionField, useField, useFieldSchema } from "@silver-formily/vue";
|
|
8
|
+
//#region src/form-tab/form-tab.vue
|
|
9
|
+
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
10
|
+
name: "FFormTab",
|
|
11
|
+
__name: "form-tab",
|
|
12
|
+
props: {
|
|
13
|
+
formTab: {},
|
|
14
|
+
modelValue: {}
|
|
15
|
+
},
|
|
16
|
+
emits: ["update:modelValue"],
|
|
17
|
+
setup(__props, { emit: __emit }) {
|
|
18
|
+
const props = __props;
|
|
19
|
+
const emit = __emit;
|
|
20
|
+
const field = useField();
|
|
21
|
+
const schema = useFieldSchema();
|
|
22
|
+
const prefixCls = `${stylePrefix}-form-tab`;
|
|
23
|
+
const formTabRef = computed(() => props.formTab ?? createFormTab());
|
|
24
|
+
const tabs = formilyComputed(() => useTabs(field.value, schema.value));
|
|
25
|
+
const _activeKey = ref(props?.modelValue ?? formTabRef.value.activeKey ?? tabs.value?.[0]?.name);
|
|
26
|
+
reactionWatch(() => {
|
|
27
|
+
return tabs.value.length;
|
|
28
|
+
}, () => {
|
|
29
|
+
!tabs.value.some((tab) => tab.name === _activeKey.value) && (_activeKey.value = tabs.value?.[0]?.name);
|
|
30
|
+
}, { fireImmediately: true });
|
|
31
|
+
watch(() => formTabRef.value.activeKey, (val) => {
|
|
32
|
+
_activeKey.value = val;
|
|
33
|
+
});
|
|
34
|
+
const errorList = formilyComputed(() => {
|
|
35
|
+
return tabs.value.map((tab) => {
|
|
36
|
+
return field.value.form.queryFeedbacks({
|
|
37
|
+
type: "error",
|
|
38
|
+
address: `${field.value.address}.${tab.name}.*`
|
|
39
|
+
}).length;
|
|
40
|
+
});
|
|
41
|
+
});
|
|
42
|
+
function handleTabChange(key) {
|
|
43
|
+
/* istanbul ignore if -- @preserve */
|
|
44
|
+
if (typeof key !== "string") return;
|
|
45
|
+
emit("update:modelValue", key);
|
|
46
|
+
formTabRef.value.setActiveKey?.(key);
|
|
47
|
+
}
|
|
48
|
+
return (_ctx, _cache) => {
|
|
49
|
+
return openBlock(), createBlock(unref(ElTabs), {
|
|
50
|
+
"model-value": _activeKey.value,
|
|
51
|
+
style: { "width": "100%" },
|
|
52
|
+
onTabChange: handleTabChange
|
|
53
|
+
}, {
|
|
54
|
+
default: withCtx(() => [(openBlock(true), createElementBlock(Fragment, null, renderList(unref(tabs), ({ props: tabProps, schema: tabSchema, name }, key) => {
|
|
55
|
+
return openBlock(), createBlock(unref(ElTabPane), mergeProps({ key: name }, { ref_for: true }, tabProps), {
|
|
56
|
+
default: withCtx(() => [createVNode(unref(RecursionField), {
|
|
57
|
+
schema: tabSchema,
|
|
58
|
+
name
|
|
59
|
+
}, null, 8, ["schema", "name"])]),
|
|
60
|
+
label: withCtx(() => [unref(errorList)[key] !== 0 ? (openBlock(), createBlock(unref(ElBadge), {
|
|
61
|
+
key: 0,
|
|
62
|
+
class: normalizeClass(prefixCls),
|
|
63
|
+
value: unref(errorList)[key]
|
|
64
|
+
}, {
|
|
65
|
+
default: withCtx(() => [createTextVNode(toDisplayString(tabProps.label), 1)]),
|
|
66
|
+
_: 2
|
|
67
|
+
}, 1032, ["value"])) : (openBlock(), createElementBlock(Fragment, { key: 1 }, [createTextVNode(toDisplayString(tabProps.label), 1)], 64))]),
|
|
68
|
+
_: 2
|
|
69
|
+
}, 1040);
|
|
70
|
+
}), 128))]),
|
|
71
|
+
_: 1
|
|
72
|
+
}, 8, ["model-value"]);
|
|
73
|
+
};
|
|
74
|
+
}
|
|
75
|
+
});
|
|
76
|
+
//#endregion
|
|
77
|
+
export { _sfc_main as default };
|
|
78
|
+
|
|
79
|
+
//# sourceMappingURL=form-tab.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"form-tab.mjs","names":[],"sources":["../../src/form-tab/form-tab.vue"],"sourcesContent":["<script setup lang=\"ts\">\nimport type { IFormTabProps } from './types.ts'\nimport { formilyComputed, reactionWatch } from '@silver-formily/reactive-vue'\nimport { RecursionField, useField, useFieldSchema } from '@silver-formily/vue'\nimport { ElBadge, ElTabPane, ElTabs } from 'element-plus'\nimport { computed, ref, watch } from 'vue'\nimport { stylePrefix } from '../__builtins__'\nimport { useTabs } from './hooks'\nimport { createFormTab } from './utils'\n\ndefineOptions({\n name: 'FFormTab',\n})\n\nconst props = defineProps<IFormTabProps>()\nconst emit = defineEmits(['update:modelValue'])\n\nconst field = useField()\nconst schema = useFieldSchema()\nconst prefixCls = `${stylePrefix}-form-tab`\nconst formTabRef = computed(() => props.formTab ?? createFormTab())\nconst tabs = formilyComputed(() => useTabs(field.value, schema.value))\nconst _activeKey = ref(props?.modelValue ?? formTabRef.value.activeKey ?? tabs.value?.[0]?.name)\n\nreactionWatch(() => {\n return tabs.value.length\n}, () => {\n !tabs.value.some(tab => tab.name === _activeKey.value) && (_activeKey.value = tabs.value?.[0]?.name)\n}, {\n fireImmediately: true,\n})\nwatch(() => formTabRef.value.activeKey, (val) => {\n _activeKey.value = val\n})\n\nconst errorList = formilyComputed(() => {\n return tabs.value.map((tab) => {\n return field.value.form.queryFeedbacks({\n type: 'error',\n address: `${field.value.address}.${tab.name}.*`,\n }).length\n })\n})\n\nfunction handleTabChange(key: string) {\n /* istanbul ignore if -- @preserve */\n if (typeof key !== 'string')\n return\n emit('update:modelValue', key)\n formTabRef.value.setActiveKey?.(key)\n}\n</script>\n\n<template>\n <ElTabs\n :model-value=\"_activeKey\"\n style=\"width: 100%;\"\n @tab-change=\"handleTabChange\"\n >\n <ElTabPane\n v-for=\"({ props: tabProps, schema: tabSchema, name }, key) in tabs\"\n :key=\"name\"\n v-bind=\"tabProps\"\n >\n <template #default>\n <RecursionField :schema=\"tabSchema\" :name=\"name\" />\n </template>\n <template #label>\n <ElBadge\n v-if=\"errorList[key] !== 0\"\n :class=\"prefixCls\"\n :value=\"errorList[key]\"\n >\n {{ tabProps.label }}\n </ElBadge>\n <template v-else>\n {{ tabProps.label }}\n </template>\n </template>\n </ElTabPane>\n </ElTabs>\n</template>\n"],"mappings":";;;;;;;;;;;;;;;;;EAcA,MAAM,QAAQ;EACd,MAAM,OAAO;EAEb,MAAM,QAAQ,UAAS;EACvB,MAAM,SAAS,gBAAe;EAC9B,MAAM,YAAY,GAAG,YAAY;EACjC,MAAM,aAAa,eAAe,MAAM,WAAW,eAAe,CAAA;EAClE,MAAM,OAAO,sBAAsB,QAAQ,MAAM,OAAO,OAAO,MAAM,CAAA;EACrE,MAAM,aAAa,IAAI,OAAO,cAAc,WAAW,MAAM,aAAa,KAAK,QAAQ,IAAI,KAAI;AAE/F,sBAAoB;AAClB,UAAO,KAAK,MAAM;WACX;AACP,IAAC,KAAK,MAAM,MAAK,QAAO,IAAI,SAAS,WAAW,MAAM,KAAK,WAAW,QAAQ,KAAK,QAAQ,IAAI;KAC9F,EACD,iBAAiB,MAClB,CAAA;AACD,cAAY,WAAW,MAAM,YAAY,QAAQ;AAC/C,cAAW,QAAQ;IACpB;EAED,MAAM,YAAY,sBAAsB;AACtC,UAAO,KAAK,MAAM,KAAK,QAAQ;AAC7B,WAAO,MAAM,MAAM,KAAK,eAAe;KACrC,MAAM;KACN,SAAS,GAAG,MAAM,MAAM,QAAQ,GAAG,IAAI,KAAK;KAC7C,CAAC,CAAC;KACJ;IACF;EAED,SAAS,gBAAgB,KAAa;;AAEpC,OAAI,OAAO,QAAQ,SACjB;AACF,QAAK,qBAAqB,IAAG;AAC7B,cAAW,MAAM,eAAe,IAAG;;;uBAKnC,YA0BS,MAAA,OAAA,EAAA;IAzBN,eAAa,WAAA;IACd,OAAA,EAAA,SAAA,QAAoB;IACnB,aAAY;;2BAGwD,EAAA,UAAA,KAAA,EADrE,mBAoBY,UAAA,MAAA,WAnBoD,MAAA,KAAI,GAAA,EAAA,OAAjD,UAAQ,QAAU,WAAW,QAAQ,QAAG;yBAD3D,YAoBY,MAAA,UAAA,EApBZ,WAoBY,EAlBT,KAAK,MAAI,EAAA,EAAA,SAAA,MAAA,EACF,SAAQ,EAAA;MAEL,SAAO,cACmC,CAAnD,YAAmD,MAAA,eAAA,EAAA;OAAlC,QAAQ;OAAkB;;MAElC,OAAK,cAOJ,CALF,MAAA,UAAS,CAAC,SAAG,KAAA,WAAA,EADrB,YAMU,MAAA,QAAA,EAAA;;OAJP,OAAK,eAAE,UAAS;OAChB,OAAO,MAAA,UAAS,CAAC;;8BAEE,CAAA,gBAAA,gBAAjB,SAAS,MAAK,EAAA,EAAA,CAAA,CAAA;;2CAEnB,mBAEW,UAAA,EAAA,KAAA,GAAA,EAAA,CAAA,gBAAA,gBADN,SAAS,MAAK,EAAA,EAAA,CAAA,EAAA,GAAA,EAAA,CAAA"}
|
package/esm/form-tab/hooks.mjs
CHANGED
|
@@ -1,17 +1,19 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
1
|
+
//#region src/form-tab/hooks.ts
|
|
2
|
+
function useTabs(tabField, schema) {
|
|
3
|
+
return schema.mapProperties((item, name) => ({
|
|
4
|
+
name,
|
|
5
|
+
props: {
|
|
6
|
+
name: item?.["x-component-props"]?.name || name,
|
|
7
|
+
...item?.["x-component-props"]
|
|
8
|
+
},
|
|
9
|
+
schema: item
|
|
10
|
+
})).filter((item) => {
|
|
11
|
+
const field = tabField.query(tabField.address.concat(item.name)).take();
|
|
12
|
+
if (field?.display === "none" || field?.display === "hidden") return false;
|
|
13
|
+
return item?.schema?.["x-component"]?.includes("TabPane") ?? false;
|
|
14
|
+
});
|
|
13
15
|
}
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
//# sourceMappingURL=hooks.mjs.map
|
|
16
|
+
//#endregion
|
|
17
|
+
export { useTabs };
|
|
18
|
+
|
|
19
|
+
//# sourceMappingURL=hooks.mjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"hooks.mjs","sources":["../../src/form-tab/hooks.ts"],"sourcesContent":["import type { GeneralField } from '@formily/core'\nimport type { Schema, SchemaKey } from '@formily/json-schema'\n\nexport type Tabs = { name: SchemaKey, props: any, schema: Schema }[]\n\nexport function useTabs(tabField: GeneralField, schema: Schema) {\n const schemaList = schema.mapProperties((item, name) => ({\n name,\n props: {\n name: item?.['x-component-props']?.name || name,\n ...item?.['x-component-props'],\n },\n schema: item,\n }))\n\n const tabs: Tabs = schemaList.filter((item) => {\n const field = tabField.query(tabField.address.concat(item.name)).take()\n const isHidden = field?.display === 'none' || field?.display === 'hidden'\n if (isHidden)\n return false\n return item?.schema?.['x-component']?.includes('TabPane') ?? false\n })\n\n return tabs\n}\n"],"
|
|
1
|
+
{"version":3,"file":"hooks.mjs","names":[],"sources":["../../src/form-tab/hooks.ts"],"sourcesContent":["import type { GeneralField } from '@formily/core'\nimport type { Schema, SchemaKey } from '@formily/json-schema'\n\nexport type Tabs = { name: SchemaKey, props: any, schema: Schema }[]\n\nexport function useTabs(tabField: GeneralField, schema: Schema) {\n const schemaList = schema.mapProperties((item, name) => ({\n name,\n props: {\n name: item?.['x-component-props']?.name || name,\n ...item?.['x-component-props'],\n },\n schema: item,\n }))\n\n const tabs: Tabs = schemaList.filter((item) => {\n const field = tabField.query(tabField.address.concat(item.name)).take()\n const isHidden = field?.display === 'none' || field?.display === 'hidden'\n if (isHidden)\n return false\n return item?.schema?.['x-component']?.includes('TabPane') ?? false\n })\n\n return tabs\n}\n"],"mappings":";AAKA,SAAgB,QAAQ,UAAwB,QAAgB;AAkB9D,QAjBmB,OAAO,eAAe,MAAM,UAAU;EACvD;EACA,OAAO;GACL,MAAM,OAAO,sBAAsB,QAAQ;GAC3C,GAAG,OAAO;GACX;EACD,QAAQ;EACT,EAAE,CAE2B,QAAQ,SAAS;EAC7C,MAAM,QAAQ,SAAS,MAAM,SAAS,QAAQ,OAAO,KAAK,KAAK,CAAC,CAAC,MAAM;AAEvE,MADiB,OAAO,YAAY,UAAU,OAAO,YAAY,SAE/D,QAAO;AACT,SAAO,MAAM,SAAS,gBAAgB,SAAS,UAAU,IAAI;GAC7D"}
|
package/esm/form-tab/index.d.ts
CHANGED
|
@@ -1,3 +1,5 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
1
|
+
//#region src/form-tab/index.d.ts
|
|
2
|
+
declare const composeFormTab: any;
|
|
3
|
+
//#endregion
|
|
4
|
+
export { composeFormTab };
|
|
5
|
+
//# sourceMappingURL=index.d.ts.map
|
package/esm/form-tab/index.mjs
CHANGED
|
@@ -1,76 +1,10 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import "
|
|
4
|
-
import
|
|
5
|
-
import "@formily/
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
import '../styles/form-tab/index.css';const J = /* @__PURE__ */ L({
|
|
12
|
-
name: "FFormTab",
|
|
13
|
-
__name: "form-tab",
|
|
14
|
-
props: {
|
|
15
|
-
formTab: {},
|
|
16
|
-
modelValue: {}
|
|
17
|
-
},
|
|
18
|
-
emits: ["update:modelValue"],
|
|
19
|
-
setup(F, { emit: _ }) {
|
|
20
|
-
const c = F, g = _, m = I(), x = P(), C = `${G}-form-tab`, u = N(() => c.formTab ?? y()), r = p(() => H(m.value, x.value)), o = R(c?.modelValue ?? u.value.activeKey ?? r.value?.[0]?.name);
|
|
21
|
-
k(() => r.value.length, () => {
|
|
22
|
-
!r.value.some((e) => e.name === o.value) && (o.value = r.value?.[0]?.name);
|
|
23
|
-
}, {
|
|
24
|
-
fireImmediately: !0
|
|
25
|
-
}), S(() => u.value.activeKey, (e) => {
|
|
26
|
-
o.value = e;
|
|
27
|
-
});
|
|
28
|
-
const i = p(() => r.value.map((e) => m.value.form.queryFeedbacks({
|
|
29
|
-
type: "error",
|
|
30
|
-
address: `${m.value.address}.${e.name}.*`
|
|
31
|
-
}).length));
|
|
32
|
-
function V(e) {
|
|
33
|
-
typeof e == "string" && (g("update:modelValue", e), u.value.setActiveKey?.(e));
|
|
34
|
-
}
|
|
35
|
-
return (e, O) => (t(), n(a(K), {
|
|
36
|
-
"model-value": o.value,
|
|
37
|
-
style: { width: "100%" },
|
|
38
|
-
onTabChange: V
|
|
39
|
-
}, {
|
|
40
|
-
default: l(() => [
|
|
41
|
-
(t(!0), v(b, null, q(a(r), ({ props: s, schema: E, name: f }, d) => (t(), n(a(w), z({ key: f }, { ref_for: !0 }, s), {
|
|
42
|
-
default: l(() => [
|
|
43
|
-
D(a(W), {
|
|
44
|
-
schema: E,
|
|
45
|
-
name: f
|
|
46
|
-
}, null, 8, ["schema", "name"])
|
|
47
|
-
]),
|
|
48
|
-
label: l(() => [
|
|
49
|
-
a(i)[d] !== 0 ? (t(), n(a($), {
|
|
50
|
-
key: 0,
|
|
51
|
-
class: A(C),
|
|
52
|
-
value: a(i)[d]
|
|
53
|
-
}, {
|
|
54
|
-
default: l(() => [
|
|
55
|
-
h(T(s.label), 1)
|
|
56
|
-
]),
|
|
57
|
-
_: 2
|
|
58
|
-
}, 1032, ["value"])) : (t(), v(b, { key: 1 }, [
|
|
59
|
-
h(T(s.label), 1)
|
|
60
|
-
], 64))
|
|
61
|
-
]),
|
|
62
|
-
_: 2
|
|
63
|
-
}, 1040))), 128))
|
|
64
|
-
]),
|
|
65
|
-
_: 1
|
|
66
|
-
}, 8, ["model-value"]));
|
|
67
|
-
}
|
|
68
|
-
}), M = B(J), le = j(M, {
|
|
69
|
-
createFormTab: y
|
|
70
|
-
});
|
|
71
|
-
export {
|
|
72
|
-
le as FormTab,
|
|
73
|
-
le as composeFormTab,
|
|
74
|
-
le as default
|
|
75
|
-
};
|
|
76
|
-
//# sourceMappingURL=index.mjs.map
|
|
1
|
+
import { composeExport } from "../__builtins__/shared/utils.mjs";
|
|
2
|
+
import { createFormTab } from "./utils.mjs";
|
|
3
|
+
import _sfc_main from "./form-tab.mjs";
|
|
4
|
+
import "./style.css";
|
|
5
|
+
import { observer } from "@silver-formily/reactive-vue";
|
|
6
|
+
const composeFormTab = composeExport(observer(_sfc_main), { createFormTab });
|
|
7
|
+
//#endregion
|
|
8
|
+
export { composeFormTab as default };
|
|
9
|
+
|
|
10
|
+
//# sourceMappingURL=index.mjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.mjs","
|
|
1
|
+
{"version":3,"file":"index.mjs","names":["FFormTab"],"sources":["../../src/form-tab/index.ts"],"sourcesContent":["import { observer } from '@silver-formily/reactive-vue'\nimport { composeExport } from '../__builtins__'\nimport FFormTab from './form-tab.vue'\nimport { createFormTab } from './utils'\nimport './style.scss'\n\nconst FormTab = observer(FFormTab)\n\nexport const composeFormTab = composeExport(FormTab, {\n createFormTab,\n})\n\nexport { composeFormTab as FormTab }\nexport default composeFormTab\n"],"mappings":";;;;;AAQA,MAAa,iBAAiB,cAFd,SAASA,UAAS,EAEmB,EACnD,eACD,CAAC"}
|
package/esm/form-tab/utils.mjs
CHANGED
|
@@ -1,14 +1,15 @@
|
|
|
1
|
-
import { model
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
1
|
+
import { model } from "@formily/reactive";
|
|
2
|
+
//#region src/form-tab/utils.ts
|
|
3
|
+
function createFormTab(defaultActiveKey) {
|
|
4
|
+
const formTab = model({
|
|
5
|
+
activeKey: defaultActiveKey,
|
|
6
|
+
setActiveKey(key) {
|
|
7
|
+
formTab.activeKey = key;
|
|
8
|
+
}
|
|
9
|
+
});
|
|
10
|
+
return formTab;
|
|
10
11
|
}
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
//# sourceMappingURL=utils.mjs.map
|
|
12
|
+
//#endregion
|
|
13
|
+
export { createFormTab };
|
|
14
|
+
|
|
15
|
+
//# sourceMappingURL=utils.mjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"utils.mjs","sources":["../../src/form-tab/utils.ts"],"sourcesContent":["import { model } from '@formily/reactive'\n\nexport function createFormTab(defaultActiveKey?: string) {\n const formTab = model({\n activeKey: defaultActiveKey,\n setActiveKey(key: string) {\n formTab.activeKey = key\n },\n })\n return formTab\n}\n"],"
|
|
1
|
+
{"version":3,"file":"utils.mjs","names":[],"sources":["../../src/form-tab/utils.ts"],"sourcesContent":["import { model } from '@formily/reactive'\n\nexport function createFormTab(defaultActiveKey?: string) {\n const formTab = model({\n activeKey: defaultActiveKey,\n setActiveKey(key: string) {\n formTab.activeKey = key\n },\n })\n return formTab\n}\n"],"mappings":";;AAEA,SAAgB,cAAc,kBAA2B;CACvD,MAAM,UAAU,MAAM;EACpB,WAAW;EACX,aAAa,KAAa;AACxB,WAAQ,YAAY;;EAEvB,CAAC;AACF,QAAO"}
|
package/esm/index.d.ts
CHANGED
|
@@ -1,48 +1,53 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
1
|
+
import { ArrayCards } from "./array-cards/index.js";
|
|
2
|
+
import { ArrayCollapse } from "./array-collapse/index.js";
|
|
3
|
+
import { ArrayItems } from "./array-items/index.js";
|
|
4
|
+
import { ArrayListTabs } from "./array-list-tabs/index.js";
|
|
5
|
+
import { ArrayTable } from "./array-table/index.js";
|
|
6
|
+
import { ArrayTabs } from "./array-tabs/index.js";
|
|
7
|
+
import { Autocomplete } from "./autocomplete/index.js";
|
|
8
|
+
import { Cascader } from "./cascader/index.js";
|
|
9
|
+
import { Checkbox } from "./checkbox/index.js";
|
|
10
|
+
import { ColorPicker, ColorPickerProps } from "./color-picker/index.js";
|
|
11
|
+
import { ColorPickerPanel, ColorPickerPanelProps } from "./color-picker-panel/index.js";
|
|
12
|
+
import { DatePicker } from "./date-picker/index.js";
|
|
13
|
+
import { DatePickerPanel } from "./date-picker-panel/index.js";
|
|
14
|
+
import { IFormItemProps } from "./form-item/types.js";
|
|
15
|
+
import { Editable, EditablePopoverProps, EditableProps } from "./editable/index.js";
|
|
16
|
+
import { _default } from "./form/form.vue.js";
|
|
17
|
+
import { FormButtonGroup } from "./form-button-group/index.js";
|
|
18
|
+
import { FormCollapseItem, composeFormCollapse } from "./form-collapse/index.js";
|
|
19
|
+
import { FormDialog } from "./form-dialog/index.js";
|
|
20
|
+
import { FormDrawer } from "./form-drawer/index.js";
|
|
21
|
+
import { FormGrid } from "./form-grid/index.js";
|
|
22
|
+
import { _default as _default$1 } from "./form-item/form-item.vue.js";
|
|
23
|
+
import { FormItem, fieldFeedbackMapper } from "./form-item/index.js";
|
|
24
|
+
import { _default as _default$2 } from "./form-layout/form-layout.vue.js";
|
|
25
|
+
import { FormStep } from "./form-step/index.js";
|
|
26
|
+
import { composeFormTab } from "./form-tab/index.js";
|
|
27
|
+
import { Input } from "./input/index.js";
|
|
28
|
+
import { InputNumber, InputNumberProps } from "./input-number/index.js";
|
|
29
|
+
import { InputTag } from "./input-tag/index.js";
|
|
30
|
+
import { Mention } from "./mention/index.js";
|
|
31
|
+
import { Password, PasswordProps } from "./password/index.js";
|
|
32
|
+
import { PreviewText } from "./preview-text/index.js";
|
|
33
|
+
import { IQueryFormLightProps, IQueryFormProps, QueryFormVisible, QueryFormVisibleContext } from "./query-form/types.js";
|
|
34
|
+
import { QueryForm } from "./query-form/index.js";
|
|
35
|
+
import { IQueryFormItemProps, QueryFormItemMode, QueryFormItemPagination, QueryFormItemPaginationMap, QueryFormItemPaginationProps, QueryFormItemQueryProps, QueryFormItemRequest, QueryFormItemRequestResultObject, QueryFormItemRequestSuccessPayload } from "./query-form-item/types.js";
|
|
36
|
+
import { QueryFormItem } from "./query-form-item/index.js";
|
|
37
|
+
import { Radio } from "./radio/index.js";
|
|
38
|
+
import { Rate, RateProps } from "./rate/index.js";
|
|
39
|
+
import { Reset } from "./reset/index.js";
|
|
40
|
+
import { Segmented } from "./segmented/index.js";
|
|
41
|
+
import { Select } from "./select/index.js";
|
|
42
|
+
import { SelectTable } from "./select-table/index.js";
|
|
43
|
+
import { Slider, SliderProps } from "./slider/index.js";
|
|
44
|
+
import { Space } from "./space/index.js";
|
|
45
|
+
import { Submit } from "./submit/index.js";
|
|
46
|
+
import { Switch, SwitchProps } from "./switch/index.js";
|
|
47
|
+
import { TimePicker, TimePickerProps } from "./time-picker/index.js";
|
|
48
|
+
import { TimeSelect } from "./time-select/index.js";
|
|
49
|
+
import { Transfer, TransferProps } from "./transfer/index.js";
|
|
50
|
+
import { Tree } from "./tree/index.js";
|
|
51
|
+
import { TreeSelect } from "./tree-select/index.js";
|
|
52
|
+
import { Upload } from "./upload/index.js";
|
|
53
|
+
export { ArrayCards, ArrayCollapse, ArrayItems, ArrayListTabs, ArrayTable, ArrayTabs, Autocomplete, Cascader, Checkbox, ColorPicker, ColorPickerPanel, ColorPickerPanelProps, ColorPickerProps, DatePicker, DatePickerPanel, Editable, EditablePopoverProps, EditableProps, _default as Form, _default$1 as FormBaseItem, FormButtonGroup, composeFormCollapse as FormCollapse, FormCollapseItem, FormDialog, FormDrawer, FormGrid, FormItem, _default$2 as FormLayout, FormStep, composeFormTab as FormTab, composeFormTab, IFormItemProps, IQueryFormItemProps, IQueryFormLightProps, IQueryFormProps, Input, InputNumber, InputNumberProps, InputTag, Mention, Password, PasswordProps, PreviewText, QueryForm, QueryFormItem, QueryFormItemMode, QueryFormItemPagination, QueryFormItemPaginationMap, QueryFormItemPaginationProps, QueryFormItemQueryProps, QueryFormItemRequest, QueryFormItemRequestResultObject, QueryFormItemRequestSuccessPayload, QueryFormVisible, QueryFormVisibleContext, Radio, Rate, RateProps, Reset, Segmented, Select, SelectTable, Slider, SliderProps, Space, Submit, Switch, SwitchProps, TimePicker, TimePickerProps, TimeSelect, Transfer, TransferProps, Tree, TreeSelect, Upload, fieldFeedbackMapper };
|