@silver-formily/element-plus 3.0.2 → 4.0.1
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 +3 -1
- package/README.md +3 -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 +44 -638
- 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 +34 -27
- 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 +772 -766
- package/esm/checkbox/index.mjs +16 -69
- package/esm/checkbox/index.mjs.map +1 -1
- package/esm/color-picker/index.d.ts +214 -207
- 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 +118 -110
- 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 +449 -441
- 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 +149 -141
- 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 +60 -141
- 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 +81 -67
- 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 +55 -48
- package/esm/index.mjs +51 -103
- package/esm/input/index.d.ts +41 -46
- 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 +281 -275
- package/esm/input-number/index.mjs +12 -24
- package/esm/input-number/index.mjs.map +1 -1
- package/esm/input-tag/index.d.ts +29 -31
- 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 +39 -49
- 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 +43 -48
- package/esm/password/index.mjs +11 -14
- package/esm/password/index.mjs.map +1 -1
- package/esm/picker-select/index.d.ts +47 -0
- package/esm/picker-select/index.mjs +14 -0
- package/esm/picker-select/index.mjs.map +1 -0
- package/esm/picker-select/picker-select.mjs +186 -0
- package/esm/picker-select/picker-select.mjs.map +1 -0
- package/esm/picker-select/types.d.ts +23 -0
- 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 +138 -131
- 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 +482 -472
- 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 +190 -184
- 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 +31 -25
- 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 +108 -121
- 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 +53 -1546
- 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/select-table/types.d.ts +21 -16
- 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 +182 -174
- 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 +255 -249
- package/esm/switch/index.mjs +8 -13
- package/esm/switch/index.mjs.map +1 -1
- package/esm/time-picker/index.d.ts +451 -443
- package/esm/time-picker/index.mjs +10 -17
- package/esm/time-picker/index.mjs.map +1 -1
- package/esm/time-select/index.d.ts +189 -182
- package/esm/time-select/index.mjs +13 -17
- package/esm/time-select/index.mjs.map +1 -1
- package/esm/transfer/index.d.ts +246 -238
- package/esm/transfer/index.mjs +8 -11
- package/esm/transfer/index.mjs.map +1 -1
- package/esm/tree/index.d.ts +40 -33
- 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/types.d.ts +17 -12
- package/esm/tree/utils.mjs +157 -149
- package/esm/tree/utils.mjs.map +1 -1
- package/esm/tree-select/index.d.ts +22 -15
- 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 +117 -696
- 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 +24 -25
- 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.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.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
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { useCleanAttrs } from "../__builtins__/shared/utils.mjs";
|
|
2
|
+
import { stylePrefix } from "../__builtins__/configs/index.mjs";
|
|
3
|
+
import { usePreviewConfig } from "./utils.mjs";
|
|
4
|
+
import { ElText, dayjs } from "element-plus";
|
|
5
|
+
import { createBlock, createElementBlock, createTextVNode, defineComponent, mergeProps, normalizeClass, normalizeProps, openBlock, toDisplayString, unref, withCtx } from "vue";
|
|
6
|
+
import { isArr } from "@formily/shared";
|
|
7
|
+
//#region src/preview-text/time-picker.vue
|
|
8
|
+
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
9
|
+
name: "FPreviewTextTimePicker",
|
|
10
|
+
inheritAttrs: false,
|
|
11
|
+
__name: "time-picker",
|
|
12
|
+
props: { modelValue: {} },
|
|
13
|
+
setup(__props) {
|
|
14
|
+
const props = __props;
|
|
15
|
+
const { props: attrs } = useCleanAttrs();
|
|
16
|
+
const prefixCls = `${stylePrefix}-preview-text`;
|
|
17
|
+
const { textProps, placeholder } = usePreviewConfig();
|
|
18
|
+
const format = attrs.value.format || "HH:mm:ss";
|
|
19
|
+
const parseFormat = attrs.value.valueFormat || "HH:mm:ss";
|
|
20
|
+
function formatTimeValue(value) {
|
|
21
|
+
if (!value) return;
|
|
22
|
+
if (value instanceof Date) return dayjs(value).format(format);
|
|
23
|
+
if (typeof value === "string") return dayjs(value, parseFormat).format(format);
|
|
24
|
+
}
|
|
25
|
+
return (_ctx, _cache) => {
|
|
26
|
+
return openBlock(), createElementBlock("div", { class: normalizeClass(prefixCls) }, [unref(isArr)(props.modelValue) ? (openBlock(), createBlock(unref(ElText), normalizeProps(mergeProps({ key: 0 }, unref(textProps))), {
|
|
27
|
+
default: withCtx(() => [createTextVNode(toDisplayString(formatTimeValue(props.modelValue[0]) || unref(placeholder)) + " " + toDisplayString(unref(attrs).rangeSeparator ?? "~") + " " + toDisplayString(formatTimeValue(props.modelValue[1]) || unref(placeholder)), 1)]),
|
|
28
|
+
_: 1
|
|
29
|
+
}, 16)) : (openBlock(), createBlock(unref(ElText), normalizeProps(mergeProps({ key: 1 }, unref(textProps))), {
|
|
30
|
+
default: withCtx(() => [createTextVNode(toDisplayString(formatTimeValue(props.modelValue) || unref(placeholder)), 1)]),
|
|
31
|
+
_: 1
|
|
32
|
+
}, 16))]);
|
|
33
|
+
};
|
|
34
|
+
}
|
|
35
|
+
});
|
|
36
|
+
//#endregion
|
|
37
|
+
export { _sfc_main as default };
|
|
38
|
+
|
|
39
|
+
//# sourceMappingURL=time-picker.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"time-picker.mjs","names":[],"sources":["../../src/preview-text/time-picker.vue"],"sourcesContent":["<script setup lang=\"ts\">\nimport { isArr } from '@formily/shared'\nimport { dayjs, ElText } from 'element-plus'\nimport { stylePrefix, useCleanAttrs } from '../__builtins__'\nimport { usePreviewConfig } from './utils'\n\ndefineOptions({\n name: 'FPreviewTextTimePicker',\n inheritAttrs: false,\n})\n\nconst props = defineProps<{\n modelValue?: any\n}>()\nconst { props: attrs } = useCleanAttrs()\nconst prefixCls = `${stylePrefix}-preview-text`\nconst { textProps, placeholder } = usePreviewConfig()\nconst format = attrs.value.format || 'HH:mm:ss'\nconst parseFormat = attrs.value.valueFormat || 'HH:mm:ss'\n\nfunction formatTimeValue(value: any): string | void {\n if (!value)\n return\n if (value instanceof Date) {\n return dayjs(value).format(format)\n }\n if (typeof value === 'string') {\n return dayjs(value, parseFormat).format(format)\n }\n}\n</script>\n\n<template>\n <div :class=\"prefixCls\">\n <template v-if=\"isArr(props.modelValue)\">\n <ElText v-bind=\"textProps\">\n {{ formatTimeValue(props.modelValue[0]) || placeholder }}\n {{ attrs.rangeSeparator ?? '~' }}\n {{ formatTimeValue(props.modelValue[1]) || placeholder }}\n </ElText>\n </template>\n <template v-else>\n <ElText v-bind=\"textProps\">\n {{ formatTimeValue(props.modelValue) || placeholder }}\n </ElText>\n </template>\n </div>\n</template>\n"],"mappings":";;;;;;;;;;;;;EAWA,MAAM,QAAQ;EAGd,MAAM,EAAE,OAAO,UAAU,eAAc;EACvC,MAAM,YAAY,GAAG,YAAY;EACjC,MAAM,EAAE,WAAW,gBAAgB,kBAAiB;EACpD,MAAM,SAAS,MAAM,MAAM,UAAU;EACrC,MAAM,cAAc,MAAM,MAAM,eAAe;EAE/C,SAAS,gBAAgB,OAA2B;AAClD,OAAI,CAAC,MACH;AACF,OAAI,iBAAiB,KACnB,QAAO,MAAM,MAAM,CAAC,OAAO,OAAM;AAEnC,OAAI,OAAO,UAAU,SACnB,QAAO,MAAM,OAAO,YAAY,CAAC,OAAO,OAAM;;;uBAMhD,mBAaM,OAAA,EAbA,OAAK,eAAE,UAAS,EAAA,EAAA,CACJ,MAAA,MAAK,CAAC,MAAM,WAAU,IAAA,WAAA,EACpC,YAIS,MAAA,OAAA,EAAA,eAAA,WAAA,EAAA,KAAA,GAAA,EAJO,MAAA,UAAS,CAAA,CAAA,EAAA;2BACkC,CAAA,gBAAA,gBAAtD,gBAAgB,MAAM,WAAU,GAAA,IAAQ,MAAA,YAAW,CAAA,GAAG,MACzD,gBAAG,MAAA,MAAK,CAAC,kBAAc,IAAA,GAAU,MACjC,gBAAG,gBAAgB,MAAM,WAAU,GAAA,IAAQ,MAAA,YAAW,CAAA,EAAA,EAAA,CAAA,CAAA;;2BAIxD,YAES,MAAA,OAAA,EAAA,eAAA,WAAA,EAAA,KAAA,GAAA,EAFO,MAAA,UAAS,CAAA,CAAA,EAAA;2BAC+B,CAAA,gBAAA,gBAAnD,gBAAgB,MAAM,WAAU,IAAK,MAAA,YAAW,CAAA,EAAA,EAAA,CAAA,CAAA"}
|
|
@@ -0,0 +1,73 @@
|
|
|
1
|
+
import { useCleanAttrs } from "../__builtins__/shared/utils.mjs";
|
|
2
|
+
import { stylePrefix } from "../__builtins__/configs/index.mjs";
|
|
3
|
+
import { usePreviewConfig } from "./utils.mjs";
|
|
4
|
+
import { getSelectedPath } from "../tree/utils.mjs";
|
|
5
|
+
import { ElScrollbar, ElText, ElTree } from "element-plus";
|
|
6
|
+
import { computed, createBlock, createElementBlock, createTextVNode, createVNode, defineComponent, mergeProps, normalizeClass, normalizeProps, openBlock, toDisplayString, unref, withCtx } from "vue";
|
|
7
|
+
import { useField } from "@silver-formily/vue";
|
|
8
|
+
//#region src/preview-text/tree.vue
|
|
9
|
+
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
10
|
+
name: "FPreviewTree",
|
|
11
|
+
inheritAttrs: false,
|
|
12
|
+
__name: "tree",
|
|
13
|
+
props: {
|
|
14
|
+
nodeKey: {},
|
|
15
|
+
modelValue: {},
|
|
16
|
+
valueType: { default: "all" },
|
|
17
|
+
data: {},
|
|
18
|
+
props: { default: () => ({
|
|
19
|
+
children: "children",
|
|
20
|
+
label: "label",
|
|
21
|
+
disabled: "disabled"
|
|
22
|
+
}) },
|
|
23
|
+
height: {},
|
|
24
|
+
maxHeight: {}
|
|
25
|
+
},
|
|
26
|
+
setup(__props) {
|
|
27
|
+
const props = __props;
|
|
28
|
+
const prefixCls = `${stylePrefix}-preview-tree`;
|
|
29
|
+
const fieldRef = useField();
|
|
30
|
+
const { props: attrs } = useCleanAttrs(["modelValue", "onUpdate:modelValue"]);
|
|
31
|
+
const { textProps, placeholder } = usePreviewConfig();
|
|
32
|
+
const dataSource = computed(() => {
|
|
33
|
+
return fieldRef.value.dataSource ?? props.data ?? [];
|
|
34
|
+
});
|
|
35
|
+
const resolvedValue = computed(() => {
|
|
36
|
+
if (props.modelValue !== void 0) return props.modelValue;
|
|
37
|
+
return fieldRef.value?.value;
|
|
38
|
+
});
|
|
39
|
+
const previewData = computed(() => {
|
|
40
|
+
if (!resolvedValue.value || !Array.isArray(resolvedValue.value) || resolvedValue.value.length === 0) return [];
|
|
41
|
+
switch (props.valueType) {
|
|
42
|
+
case "path": return resolvedValue.value;
|
|
43
|
+
default: return getSelectedPath(dataSource.value, resolvedValue.value, props.nodeKey, props.props);
|
|
44
|
+
}
|
|
45
|
+
});
|
|
46
|
+
return (_ctx, _cache) => {
|
|
47
|
+
return openBlock(), createElementBlock("div", { class: normalizeClass(prefixCls) }, [previewData.value.length > 0 ? (openBlock(), createBlock(unref(ElScrollbar), {
|
|
48
|
+
key: 0,
|
|
49
|
+
height: props.height,
|
|
50
|
+
"max-height": props.maxHeight
|
|
51
|
+
}, {
|
|
52
|
+
default: withCtx(() => [createVNode(unref(ElTree), mergeProps({
|
|
53
|
+
data: previewData.value,
|
|
54
|
+
"node-key": props.nodeKey,
|
|
55
|
+
props: props.props,
|
|
56
|
+
"default-expand-all": true
|
|
57
|
+
}, unref(attrs)), null, 16, [
|
|
58
|
+
"data",
|
|
59
|
+
"node-key",
|
|
60
|
+
"props"
|
|
61
|
+
])]),
|
|
62
|
+
_: 1
|
|
63
|
+
}, 8, ["height", "max-height"])) : (openBlock(), createBlock(unref(ElText), normalizeProps(mergeProps({ key: 1 }, unref(textProps))), {
|
|
64
|
+
default: withCtx(() => [createTextVNode(toDisplayString(unref(placeholder)), 1)]),
|
|
65
|
+
_: 1
|
|
66
|
+
}, 16))]);
|
|
67
|
+
};
|
|
68
|
+
}
|
|
69
|
+
});
|
|
70
|
+
//#endregion
|
|
71
|
+
export { _sfc_main as default };
|
|
72
|
+
|
|
73
|
+
//# sourceMappingURL=tree.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"tree.mjs","names":[],"sources":["../../src/preview-text/tree.vue"],"sourcesContent":["<script setup lang=\"ts\">\nimport type { ArrayField } from '@formily/core'\nimport { useField } from '@silver-formily/vue'\nimport { ElScrollbar, ElText, ElTree } from 'element-plus'\nimport { computed } from 'vue'\nimport { stylePrefix, useCleanAttrs } from '../__builtins__'\nimport { getSelectedPath } from '../tree/utils'\nimport { usePreviewConfig } from './utils'\n\ndefineOptions({\n name: 'FPreviewTree',\n inheritAttrs: false,\n})\n\nconst props = withDefaults(defineProps<{\n nodeKey: string\n modelValue?: any\n valueType?: string\n data?: any[]\n props?: {\n children?: string\n label?: string\n disabled?: string\n }\n height?: number\n maxHeight?: number\n}>(), {\n valueType: 'all',\n props: () => ({\n children: 'children',\n label: 'label',\n disabled: 'disabled',\n }),\n})\n\nconst prefixCls = `${stylePrefix}-preview-tree`\nconst fieldRef = useField<ArrayField>()\nconst { props: attrs } = useCleanAttrs(['modelValue', 'onUpdate:modelValue'])\nconst { textProps, placeholder } = usePreviewConfig()\n\nconst dataSource = computed(() => {\n return fieldRef.value.dataSource ?? props.data ?? []\n})\n\nconst resolvedValue = computed(() => {\n if (props.modelValue !== undefined)\n return props.modelValue\n return fieldRef.value?.value\n})\n\nconst previewData = computed(() => {\n if (!resolvedValue.value || !Array.isArray(resolvedValue.value) || resolvedValue.value.length === 0) {\n return []\n }\n switch (props.valueType) {\n case 'path': {\n return resolvedValue.value\n }\n default: {\n const selectedPath = getSelectedPath(dataSource.value, resolvedValue.value, props.nodeKey, props.props)\n return selectedPath\n }\n }\n})\n</script>\n\n<template>\n <div :class=\"prefixCls\">\n <ElScrollbar\n v-if=\"previewData.length > 0\"\n :height=\"props.height\"\n :max-height=\"props.maxHeight\"\n >\n <ElTree\n :data=\"previewData\"\n :node-key=\"props.nodeKey\"\n :props=\"props.props\"\n :default-expand-all=\"true\"\n v-bind=\"attrs\"\n />\n </ElScrollbar>\n <ElText v-else v-bind=\"textProps\">\n {{ placeholder }}\n </ElText>\n </div>\n</template>\n"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;EAcA,MAAM,QAAQ;EAqBd,MAAM,YAAY,GAAG,YAAY;EACjC,MAAM,WAAW,UAAqB;EACtC,MAAM,EAAE,OAAO,UAAU,cAAc,CAAC,cAAc,sBAAsB,CAAA;EAC5E,MAAM,EAAE,WAAW,gBAAgB,kBAAiB;EAEpD,MAAM,aAAa,eAAe;AAChC,UAAO,SAAS,MAAM,cAAc,MAAM,QAAQ,EAAC;IACpD;EAED,MAAM,gBAAgB,eAAe;AACnC,OAAI,MAAM,eAAe,KAAA,EACvB,QAAO,MAAM;AACf,UAAO,SAAS,OAAO;IACxB;EAED,MAAM,cAAc,eAAe;AACjC,OAAI,CAAC,cAAc,SAAS,CAAC,MAAM,QAAQ,cAAc,MAAM,IAAI,cAAc,MAAM,WAAW,EAChG,QAAO,EAAC;AAEV,WAAQ,MAAM,WAAd;IACE,KAAK,OACH,QAAO,cAAc;IAEvB,QAEE,QADqB,gBAAgB,WAAW,OAAO,cAAc,OAAO,MAAM,SAAS,MAAM,MAAK;;IAI3G;;uBAIC,mBAiBM,OAAA,EAjBA,OAAK,eAAE,UAAS,EAAA,EAAA,CAEZ,YAAA,MAAY,SAAM,KAAA,WAAA,EAD1B,YAYc,MAAA,YAAA,EAAA;;IAVX,QAAQ,MAAM;IACd,cAAY,MAAM;;2BAQjB,CANF,YAME,MAAA,OAAA,EANF,WAME;KALC,MAAM,YAAA;KACN,YAAU,MAAM;KAChB,OAAO,MAAM;KACb,sBAAoB;OACb,MAAA,MAAK,CAAA,EAAA,MAAA,IAAA;KAAA;KAAA;KAAA;KAAA,CAAA,CAAA,CAAA;;oDAGjB,YAES,MAAA,OAAA,EAAA,eAAA,WAAA,EAAA,KAAA,GAAA,EAFc,MAAA,UAAS,CAAA,CAAA,EAAA;2BACb,CAAA,gBAAA,gBAAd,MAAA,YAAW,CAAA,EAAA,EAAA,CAAA,CAAA"}
|
|
@@ -1,14 +1,11 @@
|
|
|
1
|
-
import { SpaceProps, TagProps, TextProps } from
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
1
|
+
import { SpaceProps, TagProps, TextProps } from "element-plus";
|
|
2
|
+
//#region src/preview-text/utils.d.ts
|
|
3
|
+
interface PreviewTextProps {
|
|
4
|
+
placeholder?: string;
|
|
5
|
+
tagProps?: Partial<TagProps> | Record<string, any>;
|
|
6
|
+
spaceProps?: Partial<SpaceProps> | Record<string, any>;
|
|
7
|
+
textProps?: Partial<TextProps> | Record<string, any>;
|
|
7
8
|
}
|
|
8
|
-
|
|
9
|
-
export
|
|
10
|
-
|
|
11
|
-
tagProps: import('vue').ComputedRef<Partial<TagProps>>;
|
|
12
|
-
spaceProps: import('vue').ComputedRef<Record<string, any> | Partial<SpaceProps>>;
|
|
13
|
-
textProps: import('vue').ComputedRef<Record<string, any> | Partial<TextProps>>;
|
|
14
|
-
};
|
|
9
|
+
//#endregion
|
|
10
|
+
export { PreviewTextProps };
|
|
11
|
+
//# sourceMappingURL=utils.d.ts.map
|
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
1
|
+
import { computed, inject } from "vue";
|
|
2
|
+
//#region src/preview-text/utils.ts
|
|
3
|
+
const previewTextConfigKey = Symbol("previewTextConfig");
|
|
4
|
+
function usePreviewConfig() {
|
|
5
|
+
const previewConfig = inject(previewTextConfigKey, {});
|
|
6
|
+
return {
|
|
7
|
+
placeholder: computed(() => previewConfig?.placeholder || "N/A"),
|
|
8
|
+
tagProps: computed(() => previewConfig?.tagProps ?? { type: "info" }),
|
|
9
|
+
spaceProps: computed(() => previewConfig?.spaceProps || {}),
|
|
10
|
+
textProps: computed(() => previewConfig?.textProps || {})
|
|
11
|
+
};
|
|
11
12
|
}
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
//# sourceMappingURL=utils.mjs.map
|
|
13
|
+
//#endregion
|
|
14
|
+
export { previewTextConfigKey, usePreviewConfig };
|
|
15
|
+
|
|
16
|
+
//# sourceMappingURL=utils.mjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"utils.mjs","sources":["../../src/preview-text/utils.ts"],"sourcesContent":["import type { SpaceProps, TagProps, TextProps } from 'element-plus'\nimport { computed, inject } from 'vue'\n\nexport interface PreviewTextProps {\n placeholder?: string\n tagProps?: Partial<TagProps> | Record<string, any>\n spaceProps?: Partial<SpaceProps> | Record<string, any>\n textProps?: Partial<TextProps> | Record<string, any>\n}\n\nexport const previewTextConfigKey = Symbol('previewTextConfig')\n\nexport function usePreviewConfig() {\n const previewConfig = inject(previewTextConfigKey, {}) as PreviewTextProps\n const placeholder = computed(() => previewConfig?.placeholder || 'N/A')\n const tagProps = computed<Partial<TagProps>>(() => previewConfig?.tagProps ?? { type: 'info' })\n const spaceProps = computed(() => previewConfig?.spaceProps || {})\n const textProps = computed(() => previewConfig?.textProps || {})\n return {\n placeholder,\n tagProps,\n spaceProps,\n textProps,\n }\n}\n"],"
|
|
1
|
+
{"version":3,"file":"utils.mjs","names":[],"sources":["../../src/preview-text/utils.ts"],"sourcesContent":["import type { SpaceProps, TagProps, TextProps } from 'element-plus'\nimport { computed, inject } from 'vue'\n\nexport interface PreviewTextProps {\n placeholder?: string\n tagProps?: Partial<TagProps> | Record<string, any>\n spaceProps?: Partial<SpaceProps> | Record<string, any>\n textProps?: Partial<TextProps> | Record<string, any>\n}\n\nexport const previewTextConfigKey = Symbol('previewTextConfig')\n\nexport function usePreviewConfig() {\n const previewConfig = inject(previewTextConfigKey, {}) as PreviewTextProps\n const placeholder = computed(() => previewConfig?.placeholder || 'N/A')\n const tagProps = computed<Partial<TagProps>>(() => previewConfig?.tagProps ?? { type: 'info' })\n const spaceProps = computed(() => previewConfig?.spaceProps || {})\n const textProps = computed(() => previewConfig?.textProps || {})\n return {\n placeholder,\n tagProps,\n spaceProps,\n textProps,\n }\n}\n"],"mappings":";;AAUA,MAAa,uBAAuB,OAAO,oBAAoB;AAE/D,SAAgB,mBAAmB;CACjC,MAAM,gBAAgB,OAAO,sBAAsB,EAAE,CAAC;AAKtD,QAAO;EACL,aALkB,eAAe,eAAe,eAAe,MAAM;EAMrE,UALe,eAAkC,eAAe,YAAY,EAAE,MAAM,QAAQ,CAAC;EAM7F,YALiB,eAAe,eAAe,cAAc,EAAE,CAAC;EAMhE,WALgB,eAAe,eAAe,aAAa,EAAE,CAAC;EAM/D"}
|
|
@@ -1,47 +1,47 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
4
|
-
import
|
|
5
|
-
import
|
|
6
|
-
import
|
|
7
|
-
import
|
|
8
|
-
import
|
|
9
|
-
import
|
|
10
|
-
import
|
|
11
|
-
import
|
|
12
|
-
import
|
|
13
|
-
import
|
|
14
|
-
import
|
|
15
|
-
import
|
|
16
|
-
import
|
|
17
|
-
import
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
1
|
+
import Autocomplete from "../autocomplete/index.mjs";
|
|
2
|
+
import Cascader from "../cascader/index.mjs";
|
|
3
|
+
import Checkbox from "../checkbox/index.mjs";
|
|
4
|
+
import ColorPicker from "../color-picker/index.mjs";
|
|
5
|
+
import DatePicker from "../date-picker/index.mjs";
|
|
6
|
+
import FormItem from "../form-item/index.mjs";
|
|
7
|
+
import Input from "../input/index.mjs";
|
|
8
|
+
import InputNumber from "../input-number/index.mjs";
|
|
9
|
+
import Password from "../password/index.mjs";
|
|
10
|
+
import Radio from "../radio/index.mjs";
|
|
11
|
+
import Rate from "../rate/index.mjs";
|
|
12
|
+
import Select from "../select/index.mjs";
|
|
13
|
+
import Slider from "../slider/index.mjs";
|
|
14
|
+
import Switch from "../switch/index.mjs";
|
|
15
|
+
import TimePicker from "../time-picker/index.mjs";
|
|
16
|
+
import TimeSelect from "../time-select/index.mjs";
|
|
17
|
+
import TreeSelect from "../tree-select/index.mjs";
|
|
18
|
+
//#region src/query-form/default-components.ts
|
|
19
|
+
const queryFormAutoComponents = {
|
|
20
|
+
FormItem,
|
|
21
|
+
Input,
|
|
22
|
+
Autocomplete,
|
|
23
|
+
InputNumber,
|
|
24
|
+
Password,
|
|
25
|
+
Checkbox,
|
|
26
|
+
Radio,
|
|
27
|
+
Select,
|
|
28
|
+
TreeSelect,
|
|
29
|
+
Cascader,
|
|
30
|
+
Switch,
|
|
31
|
+
Rate,
|
|
32
|
+
Slider,
|
|
33
|
+
ColorPicker,
|
|
34
|
+
DatePicker,
|
|
35
|
+
TimePicker,
|
|
36
|
+
TimeSelect
|
|
36
37
|
};
|
|
37
|
-
function
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
38
|
+
function mergeQueryFormComponents(components) {
|
|
39
|
+
return {
|
|
40
|
+
...queryFormAutoComponents,
|
|
41
|
+
...components
|
|
42
|
+
};
|
|
42
43
|
}
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
//# sourceMappingURL=default-components.mjs.map
|
|
44
|
+
//#endregion
|
|
45
|
+
export { mergeQueryFormComponents };
|
|
46
|
+
|
|
47
|
+
//# sourceMappingURL=default-components.mjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"default-components.mjs","sources":["../../src/query-form/default-components.ts"],"sourcesContent":["import type { Component } from 'vue'\nimport { Autocomplete } from '../autocomplete'\nimport { Cascader } from '../cascader'\nimport { Checkbox } from '../checkbox'\nimport { ColorPicker } from '../color-picker'\nimport { DatePicker } from '../date-picker'\nimport { FormItem } from '../form-item'\nimport { Input } from '../input'\nimport { InputNumber } from '../input-number'\nimport { Password } from '../password'\nimport { Radio } from '../radio'\nimport { Rate } from '../rate'\nimport { Select } from '../select'\nimport { Slider } from '../slider'\nimport { Switch } from '../switch'\nimport { TimePicker } from '../time-picker'\nimport { TimeSelect } from '../time-select'\nimport { TreeSelect } from '../tree-select'\n\nexport const queryFormAutoComponents: Record<string, Component> = {\n FormItem,\n Input,\n Autocomplete,\n InputNumber,\n Password,\n Checkbox,\n Radio,\n Select,\n TreeSelect,\n Cascader,\n Switch,\n Rate,\n Slider,\n ColorPicker,\n DatePicker,\n TimePicker,\n TimeSelect,\n}\n\nexport function mergeQueryFormComponents(components?: Record<string, Component>) {\n return {\n ...queryFormAutoComponents,\n ...components,\n }\n}\n"],"
|
|
1
|
+
{"version":3,"file":"default-components.mjs","names":[],"sources":["../../src/query-form/default-components.ts"],"sourcesContent":["import type { Component } from 'vue'\nimport { Autocomplete } from '../autocomplete'\nimport { Cascader } from '../cascader'\nimport { Checkbox } from '../checkbox'\nimport { ColorPicker } from '../color-picker'\nimport { DatePicker } from '../date-picker'\nimport { FormItem } from '../form-item'\nimport { Input } from '../input'\nimport { InputNumber } from '../input-number'\nimport { Password } from '../password'\nimport { Radio } from '../radio'\nimport { Rate } from '../rate'\nimport { Select } from '../select'\nimport { Slider } from '../slider'\nimport { Switch } from '../switch'\nimport { TimePicker } from '../time-picker'\nimport { TimeSelect } from '../time-select'\nimport { TreeSelect } from '../tree-select'\n\nexport const queryFormAutoComponents: Record<string, Component> = {\n FormItem,\n Input,\n Autocomplete,\n InputNumber,\n Password,\n Checkbox,\n Radio,\n Select,\n TreeSelect,\n Cascader,\n Switch,\n Rate,\n Slider,\n ColorPicker,\n DatePicker,\n TimePicker,\n TimeSelect,\n}\n\nexport function mergeQueryFormComponents(components?: Record<string, Component>) {\n return {\n ...queryFormAutoComponents,\n ...components,\n }\n}\n"],"mappings":";;;;;;;;;;;;;;;;;;AAmBA,MAAa,0BAAqD;CAChE;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACD;AAED,SAAgB,yBAAyB,YAAwC;AAC/E,QAAO;EACL,GAAG;EACH,GAAG;EACJ"}
|
package/esm/query-form/hooks.mjs
CHANGED
|
@@ -1,29 +1,34 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
|
|
6
|
-
|
|
1
|
+
import { mergeQueryFormComponents } from "./default-components.mjs";
|
|
2
|
+
import { computed, toValue } from "vue";
|
|
3
|
+
import { createSchemaField } from "@silver-formily/vue";
|
|
4
|
+
import { isFn } from "@formily/shared";
|
|
5
|
+
//#region src/query-form/hooks.ts
|
|
6
|
+
function resolveExternalForm(form) {
|
|
7
|
+
if (isFn(form)) return form();
|
|
8
|
+
return form;
|
|
7
9
|
}
|
|
8
|
-
function
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
10
|
+
function useQueryFormForm(options) {
|
|
11
|
+
const externalForm = computed(() => resolveExternalForm(toValue(options.formProps)?.form));
|
|
12
|
+
return {
|
|
13
|
+
externalForm,
|
|
14
|
+
activeForm: computed(() => externalForm.value ?? toValue(options.fallbackForm))
|
|
15
|
+
};
|
|
14
16
|
}
|
|
15
|
-
function
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
17
|
+
function useQueryFormSchemaField(options) {
|
|
18
|
+
const hasDefaultSlot = computed(() => Boolean(options.slots.default));
|
|
19
|
+
const mergedComponents = computed(() => mergeQueryFormComponents(options.components.value));
|
|
20
|
+
return {
|
|
21
|
+
hasDefaultSlot,
|
|
22
|
+
schemaField: computed(() => {
|
|
23
|
+
if (hasDefaultSlot.value || !options.schema.value) return null;
|
|
24
|
+
return options.schemaField.value ?? createSchemaField({
|
|
25
|
+
components: mergedComponents.value,
|
|
26
|
+
scope: options.scope?.value
|
|
27
|
+
}).SchemaField;
|
|
28
|
+
})
|
|
29
|
+
};
|
|
24
30
|
}
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
//# sourceMappingURL=hooks.mjs.map
|
|
31
|
+
//#endregion
|
|
32
|
+
export { useQueryFormForm, useQueryFormSchemaField };
|
|
33
|
+
|
|
34
|
+
//# sourceMappingURL=hooks.mjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"hooks.mjs","sources":["../../src/query-form/hooks.ts"],"sourcesContent":["import type { Form } from '@formily/core'\nimport type { ISchema } from '@formily/json-schema'\nimport type { Component, ComputedRef, MaybeRefOrGetter, Slots } from 'vue'\nimport { isFn } from '@formily/shared'\nimport { createSchemaField } from '@silver-formily/vue'\nimport { computed, toValue } from 'vue'\nimport { mergeQueryFormComponents } from './default-components'\n\nfunction resolveExternalForm(form: unknown): Form | undefined {\n if (isFn(form))\n return (form as () => Form | undefined)()\n return form as Form | undefined\n}\n\ninterface UseQueryFormFormOptions {\n formProps: MaybeRefOrGetter<{ form?: unknown }>\n fallbackForm?: MaybeRefOrGetter<Form | undefined>\n}\n\nexport function useQueryFormForm(options: UseQueryFormFormOptions) {\n const externalForm = computed<Form | undefined>(() => resolveExternalForm(toValue(options.formProps)?.form))\n const activeForm = computed<Form | undefined>(() => externalForm.value ?? toValue(options.fallbackForm))\n\n return {\n externalForm,\n activeForm,\n }\n}\n\ninterface UseQueryFormSchemaFieldOptions {\n slots: Slots\n schema: ComputedRef<ISchema | undefined>\n schemaField: ComputedRef<Component | undefined>\n components: ComputedRef<Record<string, Component> | undefined>\n scope?: ComputedRef<Record<string, any> | undefined>\n}\n\nexport function useQueryFormSchemaField(options: UseQueryFormSchemaFieldOptions) {\n const hasDefaultSlot = computed(() => Boolean(options.slots.default))\n const mergedComponents = computed(() => mergeQueryFormComponents(options.components.value))\n const schemaField = computed<Component | null>(() => {\n if (hasDefaultSlot.value || !options.schema.value)\n return null\n return options.schemaField.value ?? createSchemaField({\n components: mergedComponents.value,\n scope: options.scope?.value,\n }).SchemaField\n })\n\n return {\n hasDefaultSlot,\n schemaField,\n }\n}\n"],"
|
|
1
|
+
{"version":3,"file":"hooks.mjs","names":[],"sources":["../../src/query-form/hooks.ts"],"sourcesContent":["import type { Form } from '@formily/core'\nimport type { ISchema } from '@formily/json-schema'\nimport type { Component, ComputedRef, MaybeRefOrGetter, Slots } from 'vue'\nimport { isFn } from '@formily/shared'\nimport { createSchemaField } from '@silver-formily/vue'\nimport { computed, toValue } from 'vue'\nimport { mergeQueryFormComponents } from './default-components'\n\nfunction resolveExternalForm(form: unknown): Form | undefined {\n if (isFn(form))\n return (form as () => Form | undefined)()\n return form as Form | undefined\n}\n\ninterface UseQueryFormFormOptions {\n formProps: MaybeRefOrGetter<{ form?: unknown }>\n fallbackForm?: MaybeRefOrGetter<Form | undefined>\n}\n\nexport function useQueryFormForm(options: UseQueryFormFormOptions) {\n const externalForm = computed<Form | undefined>(() => resolveExternalForm(toValue(options.formProps)?.form))\n const activeForm = computed<Form | undefined>(() => externalForm.value ?? toValue(options.fallbackForm))\n\n return {\n externalForm,\n activeForm,\n }\n}\n\ninterface UseQueryFormSchemaFieldOptions {\n slots: Slots\n schema: ComputedRef<ISchema | undefined>\n schemaField: ComputedRef<Component | undefined>\n components: ComputedRef<Record<string, Component> | undefined>\n scope?: ComputedRef<Record<string, any> | undefined>\n}\n\nexport function useQueryFormSchemaField(options: UseQueryFormSchemaFieldOptions) {\n const hasDefaultSlot = computed(() => Boolean(options.slots.default))\n const mergedComponents = computed(() => mergeQueryFormComponents(options.components.value))\n const schemaField = computed<Component | null>(() => {\n if (hasDefaultSlot.value || !options.schema.value)\n return null\n return options.schemaField.value ?? createSchemaField({\n components: mergedComponents.value,\n scope: options.scope?.value,\n }).SchemaField\n })\n\n return {\n hasDefaultSlot,\n schemaField,\n }\n}\n"],"mappings":";;;;;AAQA,SAAS,oBAAoB,MAAiC;AAC5D,KAAI,KAAK,KAAK,CACZ,QAAQ,MAAiC;AAC3C,QAAO;;AAQT,SAAgB,iBAAiB,SAAkC;CACjE,MAAM,eAAe,eAAiC,oBAAoB,QAAQ,QAAQ,UAAU,EAAE,KAAK,CAAC;AAG5G,QAAO;EACL;EACA,YAJiB,eAAiC,aAAa,SAAS,QAAQ,QAAQ,aAAa,CAAC;EAKvG;;AAWH,SAAgB,wBAAwB,SAAyC;CAC/E,MAAM,iBAAiB,eAAe,QAAQ,QAAQ,MAAM,QAAQ,CAAC;CACrE,MAAM,mBAAmB,eAAe,yBAAyB,QAAQ,WAAW,MAAM,CAAC;AAU3F,QAAO;EACL;EACA,aAXkB,eAAiC;AACnD,OAAI,eAAe,SAAS,CAAC,QAAQ,OAAO,MAC1C,QAAO;AACT,UAAO,QAAQ,YAAY,SAAS,kBAAkB;IACpD,YAAY,iBAAiB;IAC7B,OAAO,QAAQ,OAAO;IACvB,CAAC,CAAC;IACH;EAKD"}
|
|
@@ -1,43 +1,12 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
resetText: string;
|
|
11
|
-
expandText: string;
|
|
12
|
-
collapseText: string;
|
|
13
|
-
showSubmit: boolean;
|
|
14
|
-
showReset: boolean;
|
|
15
|
-
}, true, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, any, import('vue').ComponentProvideOptions, {
|
|
16
|
-
P: {};
|
|
17
|
-
B: {};
|
|
18
|
-
D: {};
|
|
19
|
-
C: {};
|
|
20
|
-
M: {};
|
|
21
|
-
Defaults: {};
|
|
22
|
-
}, Readonly<import('./types').IQueryFormProps> & Readonly<{}>, {}, {}, {}, {}, {
|
|
23
|
-
components: Record<string, import('vue').Component>;
|
|
24
|
-
gridProps: Omit<import('../../../grid/src').IGridOptions, "shouldVisible" | "maxRows">;
|
|
25
|
-
defaultExpanded: boolean;
|
|
26
|
-
showToggle: boolean;
|
|
27
|
-
actionsAtRowEnd: boolean;
|
|
28
|
-
submitText: string;
|
|
29
|
-
resetText: string;
|
|
30
|
-
expandText: string;
|
|
31
|
-
collapseText: string;
|
|
32
|
-
showSubmit: boolean;
|
|
33
|
-
showReset: boolean;
|
|
34
|
-
}>;
|
|
35
|
-
__isFragment?: never;
|
|
36
|
-
__isTeleport?: never;
|
|
37
|
-
__isSuspense?: never;
|
|
38
|
-
} & import('vue').ComponentOptionsBase<Readonly<import('./types').IQueryFormProps> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, {
|
|
39
|
-
components: Record<string, import('vue').Component>;
|
|
40
|
-
gridProps: Omit<import('../../../grid/src').IGridOptions, "shouldVisible" | "maxRows">;
|
|
1
|
+
import { IQueryFormLightProps, IQueryFormProps, QueryFormVisible, QueryFormVisibleContext } from "./types.js";
|
|
2
|
+
import * as _$vue from "vue";
|
|
3
|
+
import * as _$_silver_formily_grid0 from "@silver-formily/grid";
|
|
4
|
+
|
|
5
|
+
//#region src/query-form/index.d.ts
|
|
6
|
+
declare const QueryForm: {
|
|
7
|
+
new (...args: any[]): _$vue.CreateComponentPublicInstanceWithMixins<Readonly<IQueryFormProps> & Readonly<{}>, {}, {}, {}, {}, _$vue.ComponentOptionsMixin, _$vue.ComponentOptionsMixin, {}, _$vue.PublicProps, {
|
|
8
|
+
components: Record<string, _$vue.Component>;
|
|
9
|
+
gridProps: Omit<_$_silver_formily_grid0.IGridOptions, "shouldVisible" | "maxRows">;
|
|
41
10
|
defaultExpanded: boolean;
|
|
42
11
|
showToggle: boolean;
|
|
43
12
|
actionsAtRowEnd: boolean;
|
|
@@ -47,71 +16,112 @@ export declare const QueryForm: {
|
|
|
47
16
|
collapseText: string;
|
|
48
17
|
showSubmit: boolean;
|
|
49
18
|
showReset: boolean;
|
|
50
|
-
}, {},
|
|
19
|
+
}, true, {}, {}, _$vue.GlobalComponents, _$vue.GlobalDirectives, string, {}, any, _$vue.ComponentProvideOptions, {
|
|
20
|
+
P: {};
|
|
21
|
+
B: {};
|
|
22
|
+
D: {};
|
|
23
|
+
C: {};
|
|
24
|
+
M: {};
|
|
25
|
+
Defaults: {};
|
|
26
|
+
}, Readonly<IQueryFormProps> & Readonly<{}>, {}, {}, {}, {}, {
|
|
27
|
+
components: Record<string, _$vue.Component>;
|
|
28
|
+
gridProps: Omit<_$_silver_formily_grid0.IGridOptions, "shouldVisible" | "maxRows">;
|
|
29
|
+
defaultExpanded: boolean;
|
|
30
|
+
showToggle: boolean;
|
|
31
|
+
actionsAtRowEnd: boolean;
|
|
32
|
+
submitText: string;
|
|
33
|
+
resetText: string;
|
|
34
|
+
expandText: string;
|
|
35
|
+
collapseText: string;
|
|
36
|
+
showSubmit: boolean;
|
|
37
|
+
showReset: boolean;
|
|
38
|
+
}>;
|
|
39
|
+
__isFragment?: never;
|
|
40
|
+
__isTeleport?: never;
|
|
41
|
+
__isSuspense?: never;
|
|
42
|
+
} & _$vue.ComponentOptionsBase<Readonly<IQueryFormProps> & Readonly<{}>, {}, {}, {}, {}, _$vue.ComponentOptionsMixin, _$vue.ComponentOptionsMixin, {}, string, {
|
|
43
|
+
components: Record<string, _$vue.Component>;
|
|
44
|
+
gridProps: Omit<_$_silver_formily_grid0.IGridOptions, "shouldVisible" | "maxRows">;
|
|
45
|
+
defaultExpanded: boolean;
|
|
46
|
+
showToggle: boolean;
|
|
47
|
+
actionsAtRowEnd: boolean;
|
|
48
|
+
submitText: string;
|
|
49
|
+
resetText: string;
|
|
50
|
+
expandText: string;
|
|
51
|
+
collapseText: string;
|
|
52
|
+
showSubmit: boolean;
|
|
53
|
+
showReset: boolean;
|
|
54
|
+
}, {}, string, {}, _$vue.GlobalComponents, _$vue.GlobalDirectives, string, _$vue.ComponentProvideOptions> & _$vue.VNodeProps & _$vue.AllowedComponentProps & _$vue.ComponentCustomProps & (new () => {
|
|
55
|
+
$slots: {
|
|
56
|
+
default?: (props: {}) => any;
|
|
57
|
+
} & {
|
|
58
|
+
actions?: (props: {
|
|
59
|
+
expanded: boolean;
|
|
60
|
+
toggle: () => void;
|
|
61
|
+
type: "incomplete-wrap";
|
|
62
|
+
}) => any;
|
|
63
|
+
} & {
|
|
64
|
+
actions?: (props: {
|
|
65
|
+
expanded: boolean;
|
|
66
|
+
toggle: () => void;
|
|
67
|
+
type: "collapsible";
|
|
68
|
+
}) => any;
|
|
69
|
+
} & {
|
|
70
|
+
collapse?: (props: {
|
|
71
|
+
expanded: boolean;
|
|
72
|
+
toggle: () => void;
|
|
73
|
+
type: "collapsible";
|
|
74
|
+
}) => any;
|
|
75
|
+
} & {
|
|
76
|
+
actions?: (props: {
|
|
77
|
+
expanded: boolean;
|
|
78
|
+
toggle: () => void;
|
|
79
|
+
type: "collapsible" | "complete-wrap";
|
|
80
|
+
}) => any;
|
|
81
|
+
};
|
|
82
|
+
}) & {
|
|
83
|
+
Light: {
|
|
84
|
+
new (...args: any[]): _$vue.CreateComponentPublicInstanceWithMixins<Readonly<IQueryFormLightProps> & Readonly<{
|
|
85
|
+
onAutoSubmit?: (values: any) => any;
|
|
86
|
+
onAutoSubmitFailed?: (error: any) => any;
|
|
87
|
+
}>, {}, {}, {}, {}, _$vue.ComponentOptionsMixin, _$vue.ComponentOptionsMixin, {} & {
|
|
88
|
+
autoSubmit: (values: any) => any;
|
|
89
|
+
autoSubmitFailed: (error: any) => any;
|
|
90
|
+
}, _$vue.PublicProps, {
|
|
91
|
+
components: Record<string, _$vue.Component>;
|
|
92
|
+
throttleWait: number;
|
|
93
|
+
}, true, {}, {}, _$vue.GlobalComponents, _$vue.GlobalDirectives, string, {}, any, _$vue.ComponentProvideOptions, {
|
|
94
|
+
P: {};
|
|
95
|
+
B: {};
|
|
96
|
+
D: {};
|
|
97
|
+
C: {};
|
|
98
|
+
M: {};
|
|
99
|
+
Defaults: {};
|
|
100
|
+
}, Readonly<IQueryFormLightProps> & Readonly<{
|
|
101
|
+
onAutoSubmit?: (values: any) => any;
|
|
102
|
+
onAutoSubmitFailed?: (error: any) => any;
|
|
103
|
+
}>, {}, {}, {}, {}, {
|
|
104
|
+
components: Record<string, _$vue.Component>;
|
|
105
|
+
throttleWait: number;
|
|
106
|
+
}>;
|
|
107
|
+
__isFragment?: never;
|
|
108
|
+
__isTeleport?: never;
|
|
109
|
+
__isSuspense?: never;
|
|
110
|
+
} & _$vue.ComponentOptionsBase<Readonly<IQueryFormLightProps> & Readonly<{
|
|
111
|
+
onAutoSubmit?: (values: any) => any;
|
|
112
|
+
onAutoSubmitFailed?: (error: any) => any;
|
|
113
|
+
}>, {}, {}, {}, {}, _$vue.ComponentOptionsMixin, _$vue.ComponentOptionsMixin, {} & {
|
|
114
|
+
autoSubmit: (values: any) => any;
|
|
115
|
+
autoSubmitFailed: (error: any) => any;
|
|
116
|
+
}, string, {
|
|
117
|
+
components: Record<string, _$vue.Component>;
|
|
118
|
+
throttleWait: number;
|
|
119
|
+
}, {}, string, {}, _$vue.GlobalComponents, _$vue.GlobalDirectives, string, _$vue.ComponentProvideOptions> & _$vue.VNodeProps & _$vue.AllowedComponentProps & _$vue.ComponentCustomProps & (new () => {
|
|
51
120
|
$slots: {
|
|
52
|
-
|
|
53
|
-
actions?(_: {
|
|
54
|
-
expanded: boolean;
|
|
55
|
-
toggle: () => void;
|
|
56
|
-
type: "incomplete-wrap";
|
|
57
|
-
}): any;
|
|
58
|
-
actions?(_: {
|
|
59
|
-
expanded: boolean;
|
|
60
|
-
toggle: () => void;
|
|
61
|
-
type: "collapsible";
|
|
62
|
-
}): any;
|
|
63
|
-
actions?(_: {
|
|
64
|
-
expanded: boolean;
|
|
65
|
-
toggle: () => void;
|
|
66
|
-
type: "collapsible" | "complete-wrap";
|
|
67
|
-
}): any;
|
|
68
|
-
collapse?(_: {
|
|
69
|
-
expanded: boolean;
|
|
70
|
-
toggle: () => void;
|
|
71
|
-
type: "collapsible";
|
|
72
|
-
}): any;
|
|
121
|
+
default?: (props: {}) => any;
|
|
73
122
|
};
|
|
74
|
-
})
|
|
75
|
-
Light: {
|
|
76
|
-
new (...args: any[]): import('vue').CreateComponentPublicInstanceWithMixins<Readonly<import('./types').IQueryFormLightProps> & Readonly<{
|
|
77
|
-
onAutoSubmit?: (values: any) => any;
|
|
78
|
-
onAutoSubmitFailed?: (error: any) => any;
|
|
79
|
-
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
|
80
|
-
autoSubmit: (values: any) => any;
|
|
81
|
-
autoSubmitFailed: (error: any) => any;
|
|
82
|
-
}, import('vue').PublicProps, {
|
|
83
|
-
components: Record<string, import('vue').Component>;
|
|
84
|
-
throttleWait: number;
|
|
85
|
-
}, true, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, any, import('vue').ComponentProvideOptions, {
|
|
86
|
-
P: {};
|
|
87
|
-
B: {};
|
|
88
|
-
D: {};
|
|
89
|
-
C: {};
|
|
90
|
-
M: {};
|
|
91
|
-
Defaults: {};
|
|
92
|
-
}, Readonly<import('./types').IQueryFormLightProps> & Readonly<{
|
|
93
|
-
onAutoSubmit?: (values: any) => any;
|
|
94
|
-
onAutoSubmitFailed?: (error: any) => any;
|
|
95
|
-
}>, {}, {}, {}, {}, {
|
|
96
|
-
components: Record<string, import('vue').Component>;
|
|
97
|
-
throttleWait: number;
|
|
98
|
-
}>;
|
|
99
|
-
__isFragment?: never;
|
|
100
|
-
__isTeleport?: never;
|
|
101
|
-
__isSuspense?: never;
|
|
102
|
-
} & import('vue').ComponentOptionsBase<Readonly<import('./types').IQueryFormLightProps> & Readonly<{
|
|
103
|
-
onAutoSubmit?: (values: any) => any;
|
|
104
|
-
onAutoSubmitFailed?: (error: any) => any;
|
|
105
|
-
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
|
106
|
-
autoSubmit: (values: any) => any;
|
|
107
|
-
autoSubmitFailed: (error: any) => any;
|
|
108
|
-
}, string, {
|
|
109
|
-
components: Record<string, import('vue').Component>;
|
|
110
|
-
throttleWait: number;
|
|
111
|
-
}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & (new () => {
|
|
112
|
-
$slots: {
|
|
113
|
-
default?(_: {}): any;
|
|
114
|
-
};
|
|
115
|
-
});
|
|
123
|
+
});
|
|
116
124
|
};
|
|
117
|
-
|
|
125
|
+
//#endregion
|
|
126
|
+
export { QueryForm };
|
|
127
|
+
//# sourceMappingURL=index.d.ts.map
|