hs-admin-ui 15.3.0 → 15.3.2
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/dist/{bcIcon-DSQ2CFr7.js → bcIcon-8Q9wgEHD.js} +1 -1
- package/dist/bcIcon-ohpLbhE0.mjs +4 -0
- package/dist/{index-ChWLs5NX.js → index-BUENY1VZ.js} +104 -104
- package/dist/{index-BOUQ6u1M.mjs → index-cgMQxD5t.mjs} +14670 -14687
- package/dist/index.css +1 -1
- package/dist/index.js +1 -1
- package/dist/index.mjs +1 -1
- package/dist/types/element-plus.d.ts +2 -0
- package/dist/types/index.d.ts +35 -1
- package/dist/types/src/components/base/Affix/index.d.ts +1 -0
- package/dist/types/src/components/base/Affix/src/Affix.vue.d.ts +3 -0
- package/dist/types/src/components/base/Alert/index.d.ts +1 -0
- package/dist/types/src/components/base/Alert/src/Alert.vue.d.ts +3 -0
- package/dist/types/src/components/base/Aside/index.d.ts +1 -0
- package/dist/types/src/components/base/Aside/src/Aside.vue.d.ts +3 -0
- package/dist/types/src/components/base/Autocomplete/index.d.ts +1 -0
- package/dist/types/src/components/base/Autocomplete/src/Autocomplete.vue.d.ts +3 -0
- package/dist/types/src/components/base/Badge/index.d.ts +1 -0
- package/dist/types/src/components/base/Badge/src/Badge.vue.d.ts +3 -0
- package/dist/types/src/components/base/Button/index.d.ts +2 -0
- package/dist/types/src/components/base/Button/src/Button.vue.d.ts +3 -0
- package/dist/types/src/components/base/Button/src/ButtonGroup.vue.d.ts +3 -0
- package/dist/types/src/components/base/Calendar/index.d.ts +1 -0
- package/dist/types/src/components/base/Calendar/src/Calendar.vue.d.ts +3 -0
- package/dist/types/src/components/base/Card/index.d.ts +1 -0
- package/dist/types/src/components/base/Card/src/Card.vue.d.ts +3 -0
- package/dist/types/src/components/base/Carousel/index.d.ts +2 -0
- package/dist/types/src/components/base/Carousel/src/Carousel.vue.d.ts +3 -0
- package/dist/types/src/components/base/Carousel/src/CarouselItem.vue.d.ts +3 -0
- package/dist/types/src/components/base/Cascader/index.d.ts +2 -0
- package/dist/types/src/components/base/Cascader/src/Cascader.vue.d.ts +3 -0
- package/dist/types/src/components/base/Cascader/src/CascaderPanel.vue.d.ts +3 -0
- package/dist/types/src/components/base/Checkbox/index.d.ts +3 -0
- package/dist/types/src/components/base/Checkbox/src/Checkbox.vue.d.ts +3 -0
- package/dist/types/src/components/base/Checkbox/src/CheckboxButton.vue.d.ts +3 -0
- package/dist/types/src/components/base/Checkbox/src/CheckboxGroup.vue.d.ts +3 -0
- package/dist/types/src/components/base/Col/index.d.ts +1 -0
- package/dist/types/src/components/base/Col/src/Col.vue.d.ts +3 -0
- package/dist/types/src/components/base/Collapse/index.d.ts +2 -0
- package/dist/types/src/components/base/Collapse/src/Collapse.vue.d.ts +3 -0
- package/dist/types/src/components/base/Collapse/src/CollapseItem.vue.d.ts +3 -0
- package/dist/types/src/components/base/ColorPicker/index.d.ts +1 -0
- package/dist/types/src/components/base/ColorPicker/src/ColorPicker.vue.d.ts +3 -0
- package/dist/types/src/components/base/Container/index.d.ts +1 -0
- package/dist/types/src/components/base/Container/src/Container.vue.d.ts +3 -0
- package/dist/types/src/components/base/DatePicker/index.d.ts +1 -0
- package/dist/types/src/components/base/DatePicker/src/DatePicker.vue.d.ts +3 -0
- package/dist/types/src/components/base/Dialog/index.d.ts +1 -0
- package/dist/types/src/components/base/Dialog/src/Dialog.vue.d.ts +3 -0
- package/dist/types/src/components/base/Divider/index.d.ts +1 -0
- package/dist/types/src/components/base/Divider/src/Divider.vue.d.ts +3 -0
- package/dist/types/src/components/base/Drawer/index.d.ts +1 -0
- package/dist/types/src/components/base/Drawer/src/Drawer.vue.d.ts +3 -0
- package/dist/types/src/components/base/Dropdown/index.d.ts +3 -0
- package/dist/types/src/components/base/Dropdown/src/Dropdown.vue.d.ts +3 -0
- package/dist/types/src/components/base/Dropdown/src/DropdownItem.vue.d.ts +3 -0
- package/dist/types/src/components/base/Dropdown/src/DropdownMenu.vue.d.ts +3 -0
- package/dist/types/src/components/base/Empty/index.d.ts +1 -0
- package/dist/types/src/components/base/Empty/src/Empty.vue.d.ts +3 -0
- package/dist/types/src/components/base/Footer/index.d.ts +1 -0
- package/dist/types/src/components/base/Footer/src/Footer.vue.d.ts +3 -0
- package/dist/types/src/components/base/Form/index.d.ts +2 -0
- package/dist/types/src/components/base/Form/src/Form.vue.d.ts +3 -0
- package/dist/types/src/components/base/Form/src/FormItem.vue.d.ts +3 -0
- package/dist/types/src/components/base/Header/index.d.ts +1 -0
- package/dist/types/src/components/base/Header/src/Header.vue.d.ts +3 -0
- package/dist/types/src/components/base/Icon/index.d.ts +1 -0
- package/dist/types/src/components/base/Icon/src/Icon.vue.d.ts +3 -0
- package/dist/types/src/components/base/Image/index.d.ts +1 -0
- package/dist/types/src/components/base/Image/src/Image.vue.d.ts +3 -0
- package/dist/types/src/components/base/ImageViewer/index.d.ts +1 -0
- package/dist/types/src/components/base/ImageViewer/src/ImageViewer.vue.d.ts +3 -0
- package/dist/types/src/components/base/Input/index.d.ts +1 -0
- package/dist/types/src/components/base/Input/src/Input.vue.d.ts +28 -0
- package/dist/types/src/components/base/InputNumber/index.d.ts +1 -0
- package/dist/types/src/components/base/InputNumber/src/InputNumber.vue.d.ts +3 -0
- package/dist/types/src/components/base/Main/index.d.ts +1 -0
- package/dist/types/src/components/base/Main/src/Main.vue.d.ts +3 -0
- package/dist/types/src/components/base/Menu/index.d.ts +3 -0
- package/dist/types/src/components/base/Menu/src/Menu.vue.d.ts +3 -0
- package/dist/types/src/components/base/Menu/src/MenuItem.vue.d.ts +3 -0
- package/dist/types/src/components/base/Menu/src/SubMenu.vue.d.ts +3 -0
- package/dist/types/src/components/base/Popconfirm/index.d.ts +1 -0
- package/dist/types/src/components/base/Popconfirm/src/Popconfirm.vue.d.ts +3 -0
- package/dist/types/src/components/base/Popover/index.d.ts +1 -0
- package/dist/types/src/components/base/Popover/src/Popover.vue.d.ts +3 -0
- package/dist/types/src/components/base/Progress/index.d.ts +1 -0
- package/dist/types/src/components/base/Progress/src/Progress.vue.d.ts +3 -0
- package/dist/types/src/components/base/Qr/index.d.ts +1 -0
- package/dist/types/src/components/base/Qr/src/Qr.vue.d.ts +3 -0
- package/dist/types/src/components/base/Radio/index.d.ts +3 -0
- package/dist/types/src/components/base/Radio/src/Radio.vue.d.ts +3 -0
- package/dist/types/src/components/base/Radio/src/RadioButton.vue.d.ts +3 -0
- package/dist/types/src/components/base/Radio/src/RadioGroup.vue.d.ts +3 -0
- package/dist/types/src/components/base/Rate/index.d.ts +1 -0
- package/dist/types/src/components/base/Rate/src/Rate.vue.d.ts +3 -0
- package/dist/types/src/components/base/Result/index.d.ts +1 -0
- package/dist/types/src/components/base/Result/src/Result.vue.d.ts +3 -0
- package/dist/types/src/components/base/Row/index.d.ts +1 -0
- package/dist/types/src/components/base/Row/src/Row.vue.d.ts +3 -0
- package/dist/types/src/components/base/Scrollbar/index.d.ts +1 -0
- package/dist/types/src/components/base/Scrollbar/src/Scrollbar.vue.d.ts +3 -0
- package/dist/types/src/components/base/Select/index.d.ts +3 -0
- package/dist/types/src/components/base/Select/src/Option.vue.d.ts +3 -0
- package/dist/types/src/components/base/Select/src/OptionGroup.vue.d.ts +3 -0
- package/dist/types/src/components/base/Select/src/Select.vue.d.ts +41 -0
- package/dist/types/src/components/base/SelectV2/index.d.ts +1 -0
- package/dist/types/src/components/base/SelectV2/src/SelectV2.vue.d.ts +3 -0
- package/dist/types/src/components/base/Slider/index.d.ts +1 -0
- package/dist/types/src/components/base/Slider/src/Slider.vue.d.ts +3 -0
- package/dist/types/src/components/base/Steps/index.d.ts +1 -0
- package/dist/types/src/components/base/Steps/src/Step.vue.d.ts +3 -0
- package/dist/types/src/components/base/Steps/src/Steps.vue.d.ts +3 -0
- package/dist/types/src/components/base/Switch/index.d.ts +1 -0
- package/dist/types/src/components/base/Switch/src/Switch.vue.d.ts +3 -0
- package/dist/types/src/components/base/Table/index.d.ts +2 -0
- package/dist/types/src/components/base/Table/src/Table.vue.d.ts +3 -0
- package/dist/types/src/components/base/Table/src/TableColumn.vue.d.ts +3 -0
- package/dist/types/src/components/base/Tabs/index.d.ts +2 -0
- package/dist/types/src/components/base/Tabs/src/TabPane.vue.d.ts +3 -0
- package/dist/types/src/components/base/Tabs/src/Tabs.vue.d.ts +3 -0
- package/dist/types/src/components/base/Tag/index.d.ts +2 -0
- package/dist/types/src/components/base/Tag/src/CheckTag.vue.d.ts +3 -0
- package/dist/types/src/components/base/Tag/src/Tag.vue.d.ts +3 -0
- package/dist/types/src/components/base/Tooltip/index.d.ts +1 -0
- package/dist/types/src/components/base/Tooltip/src/Tooltip.vue.d.ts +3 -0
- package/dist/types/src/components/base/Tour/index.d.ts +2 -0
- package/dist/types/src/components/base/Tour/src/Tour.vue.d.ts +3 -0
- package/dist/types/src/components/base/Tour/src/TourStep.vue.d.ts +3 -0
- package/dist/types/src/components/base/Transfer/index.d.ts +1 -0
- package/dist/types/src/components/base/Transfer/src/Transfer.vue.d.ts +3 -0
- package/dist/types/src/components/base/Tree/index.d.ts +1 -0
- package/dist/types/src/components/base/Tree/src/Tree.vue.d.ts +3 -0
- package/dist/types/src/components/base/TreeSelect/index.d.ts +1 -0
- package/dist/types/src/components/base/TreeSelect/src/TreeSelect.vue.d.ts +3 -0
- package/dist/types/src/components/base/TreeV2/index.d.ts +1 -0
- package/dist/types/src/components/base/TreeV2/src/TreeV2.vue.d.ts +3 -0
- package/dist/types/src/components/base/Upload/index.d.ts +1 -0
- package/dist/types/src/components/base/Upload/src/Upload.vue.d.ts +3 -0
- package/dist/types/src/components/base/Watermark/index.d.ts +1 -0
- package/dist/types/src/components/base/Watermark/src/Watermark.vue.d.ts +3 -0
- package/dist/types/src/components/base/components.d.ts +54 -0
- package/dist/types/src/components/base/index.d.ts +176 -0
- package/dist/types/src/components/business/bcAutoComplete/bcAutoComplete.vue.d.ts +57 -0
- package/dist/types/src/components/business/bcAutoComplete/defaultData.d.ts +9 -0
- package/dist/types/src/components/business/bcAutoComplete/useAutoComplete.d.ts +6 -0
- package/dist/types/src/components/business/bcBox/bcBox.vue.d.ts +48 -0
- package/dist/types/src/components/business/bcBox/utils.d.ts +67 -0
- package/dist/types/src/components/business/bcBreadcrumb/bcBreadcrumb.vue.d.ts +14 -0
- package/dist/types/src/components/business/bcBreadcrumb/index.d.ts +11 -0
- package/dist/types/src/components/business/bcButton/bcButton.vue.d.ts +13 -0
- package/dist/types/src/components/business/bcCheckbox/bcCheckbox.vue.d.ts +23 -0
- package/dist/types/src/components/business/bcContextBox/bcContextBox.vue.d.ts +40 -0
- package/dist/types/src/components/business/bcContextBox/useContextMenu.d.ts +34 -0
- package/dist/types/src/components/business/bcDivider/bcDivider.vue.d.ts +38 -0
- package/dist/types/src/components/business/bcFace/bcFace.vue.d.ts +24 -0
- package/dist/types/src/components/business/bcForm/baseForm.vue.d.ts +275 -0
- package/dist/types/src/components/business/bcForm/bcForm.vue.d.ts +33 -0
- package/dist/types/src/components/business/bcForm/type.d.ts +137 -0
- package/dist/types/src/components/business/bcForm/useGuide.d.ts +559 -0
- package/dist/types/src/components/business/bcGroup/bcGroup.vue.d.ts +36 -0
- package/dist/types/src/components/business/bcIcon/bcIcon.vue.d.ts +27 -0
- package/dist/types/src/components/business/bcInputGroup/bcInputGroup.vue.d.ts +20 -0
- package/dist/types/src/components/business/bcRadio/bcRadio.vue.d.ts +18 -0
- package/dist/types/src/components/business/bcSelect/bcSelect.vue.d.ts +33 -0
- package/dist/types/src/components/business/bcSignature/index.vue.d.ts +19 -0
- package/dist/types/src/components/business/bcSystemAuth/components/data.vue.d.ts +3 -0
- package/dist/types/src/components/business/bcSystemAuth/components/dict.vue.d.ts +3 -0
- package/dist/types/src/components/business/bcSystemAuth/components/fastSet/index.d.ts +1 -0
- package/dist/types/src/components/business/bcSystemAuth/components/fastSet/popup.vue.d.ts +17 -0
- package/dist/types/src/components/business/bcSystemAuth/components/field.vue.d.ts +3 -0
- package/dist/types/src/components/business/bcSystemAuth/components/form.vue.d.ts +11 -0
- package/dist/types/src/components/business/bcSystemAuth/components/index.d.ts +5 -0
- package/dist/types/src/components/business/bcSystemAuth/components/selectAll/index.d.ts +23 -0
- package/dist/types/src/components/business/bcSystemAuth/components/selectAll/index.vue.d.ts +5 -0
- package/dist/types/src/components/business/bcSystemAuth/components/table.vue.d.ts +11 -0
- package/dist/types/src/components/business/bcSystemAuth/components/widget/btns.vue.d.ts +11 -0
- package/dist/types/src/components/business/bcSystemAuth/components/widget/form.vue.d.ts +11 -0
- package/dist/types/src/components/business/bcSystemAuth/components/widget/index.d.ts +3 -0
- package/dist/types/src/components/business/bcSystemAuth/components/widget/tab.vue.d.ts +17 -0
- package/dist/types/src/components/business/bcSystemAuth/components/widget/tables.vue.d.ts +11 -0
- package/dist/types/src/components/business/bcSystemAuth/components/widget/tablesWraper.vue.d.ts +11 -0
- package/dist/types/src/components/business/bcSystemAuth/fastStore.d.ts +511 -0
- package/dist/types/src/components/business/bcSystemAuth/fastUtils.d.ts +344 -0
- package/dist/types/src/components/business/bcSystemAuth/index.d.ts +2 -0
- package/dist/types/src/components/business/bcSystemAuth/index.vue.d.ts +17 -0
- package/dist/types/src/components/business/bcSystemAuth/store.d.ts +511 -0
- package/dist/types/src/components/business/bcSystemAuth/type.d.ts +342 -0
- package/dist/types/src/components/business/bcSystemAuth/useAuth.d.ts +26 -0
- package/dist/types/src/components/business/bcSystemAuth/utils.d.ts +344 -0
- package/dist/types/src/components/business/bcSystemField/components/field.vue.d.ts +3 -0
- package/dist/types/src/components/business/bcSystemField/components/form.vue.d.ts +11 -0
- package/dist/types/src/components/business/bcSystemField/components/index.d.ts +3 -0
- package/dist/types/src/components/business/bcSystemField/components/selectAll/index.d.ts +21 -0
- package/dist/types/src/components/business/bcSystemField/components/selectAll/index.vue.d.ts +5 -0
- package/dist/types/src/components/business/bcSystemField/components/table.vue.d.ts +11 -0
- package/dist/types/src/components/business/bcSystemField/components/widget/form.vue.d.ts +11 -0
- package/dist/types/src/components/business/bcSystemField/components/widget/index.d.ts +2 -0
- package/dist/types/src/components/business/bcSystemField/components/widget/tab.vue.d.ts +17 -0
- package/dist/types/src/components/business/bcSystemField/components/widget/tables.vue.d.ts +11 -0
- package/dist/types/src/components/business/bcSystemField/components/widget/tablesWraper.vue.d.ts +11 -0
- package/dist/types/src/components/business/bcSystemField/index.d.ts +2 -0
- package/dist/types/src/components/business/bcSystemField/index.vue.d.ts +7 -0
- package/dist/types/src/components/business/bcSystemField/store.d.ts +342 -0
- package/dist/types/src/components/business/bcSystemField/useAuth.d.ts +14 -0
- package/dist/types/src/components/business/bcSystemField/utils.d.ts +186 -0
- package/dist/types/src/components/business/bcTable/bcFormTable.vue.d.ts +143 -0
- package/dist/types/src/components/business/bcTable/bcTable.vue.d.ts +32 -0
- package/dist/types/src/components/business/bcTable/components/btn/btn.vue.d.ts +58 -0
- package/dist/types/src/components/business/bcTable/components/index.d.ts +4 -0
- package/dist/types/src/components/business/bcTable/components/popup/index.d.ts +2 -0
- package/dist/types/src/components/business/bcTable/components/popup/popup.vue.d.ts +49 -0
- package/dist/types/src/components/business/bcTable/components/query/components/sortForm/index.d.ts +2 -0
- package/dist/types/src/components/business/bcTable/components/query/components/sortForm/sortForm.vue.d.ts +14 -0
- package/dist/types/src/components/business/bcTable/components/query/drag.vue.d.ts +222 -0
- package/dist/types/src/components/business/bcTable/components/query/query.vue.d.ts +226 -0
- package/dist/types/src/components/business/bcTable/components/query/useQuickSearch.d.ts +7 -0
- package/dist/types/src/components/business/bcTable/components/table/colgroup.vue.d.ts +25 -0
- package/dist/types/src/components/business/bcTable/components/table/column.vue.d.ts +49 -0
- package/dist/types/src/components/business/bcTable/components/table/components/sortColumn/index.d.ts +2 -0
- package/dist/types/src/components/business/bcTable/components/table/components/sortColumn/sortColumn.vue.d.ts +16 -0
- package/dist/types/src/components/business/bcTable/components/table/components/sortColumn/types.d.ts +19 -0
- package/dist/types/src/components/business/bcTable/components/table/table.vue.d.ts +64 -0
- package/dist/types/src/components/business/bcTable/components/table/useTable.d.ts +36 -0
- package/dist/types/src/components/business/bcTable/components/table/useTableHeight.d.ts +23 -0
- package/dist/types/src/components/business/bcTable/methods/cellDetailMethod.d.ts +2 -0
- package/dist/types/src/components/business/bcTable/methods/filterAgeMethod.d.ts +2 -0
- package/dist/types/src/components/business/bcTable/methods/footerMethod.d.ts +3 -0
- package/dist/types/src/components/business/bcTable/methods/formBtnMethod.d.ts +7 -0
- package/dist/types/src/components/business/bcTable/methods/index.d.ts +3 -0
- package/dist/types/src/components/business/bcTable/utils/authField.d.ts +5 -0
- package/dist/types/src/components/business/bcTable/utils/onFormKey.d.ts +15 -0
- package/dist/types/src/components/business/bcTable/utils/onTableKey.d.ts +15 -0
- package/dist/types/src/components/business/bcTable/utils/parseTable.d.ts +116 -0
- package/dist/types/src/components/business/bcTable/utils/type.d.ts +462 -0
- package/dist/types/src/components/business/bcTable/utils/useBcTable.d.ts +12912 -0
- package/dist/types/src/components/business/bcTable/utils/useButon.d.ts +11 -0
- package/dist/types/src/components/business/bcTable/utils/useFormTableHeight.d.ts +18 -0
- package/dist/types/src/components/business/bcTable/utils/useKeydownEvent.d.ts +44 -0
- package/dist/types/src/components/business/bcTabs/bcTabs.vue.d.ts +61 -0
- package/dist/types/src/components/business/bcTabs/components/BetterScroll/index.d.ts +2 -0
- package/dist/types/src/components/business/bcTabs/components/BetterScroll/index.vue.d.ts +33 -0
- package/dist/types/src/components/business/bcTreeSearch/bcTreeSearch.vue.d.ts +55 -0
- package/dist/types/src/components/business/bcTreeSelect/bcTreeSelect.vue.d.ts +28 -0
- package/dist/types/src/components/business/bcTrtc/bcTrtc.vue.d.ts +104 -0
- package/dist/types/src/components/business/bcTrtc/hooks/useOperateLog.d.ts +8 -0
- package/dist/types/src/components/business/bcTrtc/hooks/useTrtcRoomEvent.d.ts +50 -0
- package/dist/types/src/components/business/bcTrtc/type.d.ts +124 -0
- package/dist/types/src/components/business/bcTrtc/useTrtc.d.ts +39 -0
- package/dist/types/src/components/business/bcTrtc/util/generateTestUserSig.d.ts +64 -0
- package/dist/types/src/components/business/bcTrtc/util/lib-generate-test-usersig-es.min.d.ts +20 -0
- package/dist/types/src/components/business/bcTrtc/util/utils.d.ts +4 -0
- package/dist/types/src/components/business/bcUpload/bcUpload.vue.d.ts +13 -0
- package/dist/types/src/components/business/bcUpload/component/highSpeedCamera.vue.d.ts +19 -0
- package/dist/types/src/components/business/bcUpload/component/qwebchannel.d.ts +15 -0
- package/dist/types/src/components/business/bcUpload/component/type.d.ts +44 -0
- package/dist/types/src/components/business/bcUpload/type.d.ts +83 -0
- package/dist/types/src/components/business/bcUpload/upload.vue.d.ts +272 -0
- package/dist/types/src/components/business/bcUpload/useUpload.d.ts +21 -0
- package/dist/types/src/components/business/bcVisual/bcVisual.vue.d.ts +58 -0
- package/dist/types/src/components/business/bcVisual/components/setting/dragItem.vue.d.ts +53 -0
- package/dist/types/src/components/business/bcVisual/components/setting/extendItem.vue.d.ts +13 -0
- package/dist/types/src/components/business/bcVisual/components/setting/setting.vue.d.ts +3 -0
- package/dist/types/src/components/business/bcVisual/components/setting/useDrag.d.ts +8 -0
- package/dist/types/src/components/business/bcVisual/components/table/table.vue.d.ts +6 -0
- package/dist/types/src/components/business/bcVisual/components/updateName/index.d.ts +1 -0
- package/dist/types/src/components/business/bcVisual/components/updateName/popup.vue.d.ts +17 -0
- package/dist/types/src/components/business/bcVisual/components/updateSql/addCondition.vue.d.ts +23 -0
- package/dist/types/src/components/business/bcVisual/components/updateSql/index.d.ts +3 -0
- package/dist/types/src/components/business/bcVisual/components/updateSql/nodeTree/index.d.ts +18 -0
- package/dist/types/src/components/business/bcVisual/components/updateSql/nodeTree/index.vue.d.ts +21 -0
- package/dist/types/src/components/business/bcVisual/components/updateSql/nodeTree/nodeTree.vue.d.ts +27 -0
- package/dist/types/src/components/business/bcVisual/components/updateSql/popup.vue.d.ts +17 -0
- package/dist/types/src/components/business/bcVisual/type.d.ts +186 -0
- package/dist/types/src/components/business/bcVisual/useTableFormat.d.ts +270 -0
- package/dist/types/src/components/business/bcVisual/utils.d.ts +132 -0
- package/dist/types/src/components/business/index.d.ts +54 -0
- package/dist/types/src/hooks/index.d.ts +3 -0
- package/dist/types/src/hooks/onKeyStroke.d.ts +13 -0
- package/dist/types/src/hooks/useExpose.d.ts +23 -0
- package/dist/types/src/hooks/useKeyStroke.d.ts +22 -0
- package/dist/types/src/types/auth.d.ts +80 -0
- package/dist/types/src/types/components.d.ts +28 -0
- package/dist/types/src/types/customData.d.ts +308 -0
- package/dist/types/src/types/form.d.ts +99 -0
- package/dist/types/src/types/formItem/autocomplete.d.ts +44 -0
- package/dist/types/src/types/formItem/button.d.ts +39 -0
- package/dist/types/src/types/formItem/checkbox.d.ts +79 -0
- package/dist/types/src/types/formItem/index.d.ts +9 -0
- package/dist/types/src/types/formItem/input.d.ts +64 -0
- package/dist/types/src/types/formItem/inputGroup.d.ts +13 -0
- package/dist/types/src/types/formItem/inputNumber.d.ts +40 -0
- package/dist/types/src/types/formItem/radio.d.ts +57 -0
- package/dist/types/src/types/formItem/selelct.d.ts +55 -0
- package/dist/types/src/types/formItem/treeSelect.d.ts +40 -0
- package/dist/types/src/types/index.d.ts +6 -0
- package/dist/types/src/utils/arrayOperation.d.ts +21 -0
- package/dist/types/src/utils/cfprint.d.ts +70 -0
- package/dist/types/src/utils/common.d.ts +14 -0
- package/dist/types/src/utils/commonFunction.d.ts +14 -0
- package/dist/types/src/utils/crypto.d.ts +5 -0
- package/dist/types/src/utils/device_info.d.ts +14 -0
- package/dist/types/src/utils/download.d.ts +73 -0
- package/dist/types/src/utils/formatTime.d.ts +37 -0
- package/dist/types/src/utils/getDataType.d.ts +8 -0
- package/dist/types/src/utils/index.d.ts +26 -0
- package/dist/types/src/utils/loading/index.d.ts +10 -0
- package/dist/types/src/utils/lodash.d.ts +2 -0
- package/dist/types/src/utils/mitt.d.ts +10 -0
- package/dist/types/src/utils/number.d.ts +73 -0
- package/dist/types/src/utils/other.d.ts +74 -0
- package/dist/types/src/utils/request/index.d.ts +5 -0
- package/dist/types/src/utils/request/interceptors/request/authorization.interceptor.d.ts +3 -0
- package/dist/types/src/utils/request/interceptors/request/index.d.ts +2 -0
- package/dist/types/src/utils/request/interceptors/request/result.type.interceptor.d.ts +8 -0
- package/dist/types/src/utils/request/interceptors/request/undefined-params-handler.interceptor.d.ts +24 -0
- package/dist/types/src/utils/request/interceptors/response/error-handler.interceptor.d.ts +3 -0
- package/dist/types/src/utils/request/interceptors/response/index.d.ts +2 -0
- package/dist/types/src/utils/request/repeatRequest.d.ts +3 -0
- package/dist/types/src/utils/request/request.d.ts +6 -0
- package/dist/types/src/utils/shortcutList.d.ts +4 -0
- package/dist/types/src/utils/showMessage.d.ts +3 -0
- package/dist/types/src/utils/showMessageBox.d.ts +3 -0
- package/dist/types/src/utils/showNotification.d.ts +3 -0
- package/dist/types/src/utils/showPopup/index.d.ts +34 -0
- package/dist/types/src/utils/showPopup/showPopup.vue.d.ts +56 -0
- package/dist/types/src/utils/storage.d.ts +175 -0
- package/dist/types/src/utils/theme.d.ts +13 -0
- package/dist/types/src/utils/toolsValidate.d.ts +149 -0
- package/dist/types/src/utils/tree.d.ts +25 -0
- package/dist/types/src/utils/update.d.ts +1 -0
- package/dist/types/src/utils/url.d.ts +22 -0
- package/dist/types/src/utils/watermark.d.ts +9 -0
- package/package.json +2 -4
- package/dist/bcIcon-DdUh-pCW.mjs +0 -4
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
import { App } from "vue";
|
|
2
|
+
import BcIcon from "./bcIcon/bcIcon.vue";
|
|
3
|
+
import BcButton from "./bcButton/bcButton.vue";
|
|
4
|
+
import BcBox from "./bcBox/bcBox.vue";
|
|
5
|
+
import BcRadio from "./bcRadio/bcRadio.vue";
|
|
6
|
+
import BcCheckbox from "./bcCheckbox/bcCheckbox.vue";
|
|
7
|
+
import BcForm from "./bcForm/bcForm.vue";
|
|
8
|
+
import BcTable from "./bcTable/bcTable.vue";
|
|
9
|
+
import BcTabs from "./bcTabs/bcTabs.vue";
|
|
10
|
+
import BcContextBox from "./bcContextBox/bcContextBox.vue";
|
|
11
|
+
import BcSelect from "./bcSelect/bcSelect.vue";
|
|
12
|
+
import BcTreeSearch from "./bcTreeSearch/bcTreeSearch.vue";
|
|
13
|
+
import BcTreeSelect from "./bcTreeSelect/bcTreeSelect.vue";
|
|
14
|
+
import BcAutoComplete from "./bcAutoComplete/bcAutoComplete.vue";
|
|
15
|
+
import BcGroup from "./bcGroup/bcGroup.vue";
|
|
16
|
+
import BcInputGroup from "./bcInputGroup/bcInputGroup.vue";
|
|
17
|
+
import BcUpload from "./bcUpload/bcUpload.vue";
|
|
18
|
+
import BcBreadcrumb from "./bcBreadcrumb/bcBreadcrumb.vue";
|
|
19
|
+
import BcSystemAuth from "./bcSystemAuth/index.vue";
|
|
20
|
+
import BcSystemField from "./bcSystemField/index.vue";
|
|
21
|
+
import BcTrtc from "./bcTrtc/bcTrtc.vue";
|
|
22
|
+
import BcFace from "./bcFace/bcFace.vue";
|
|
23
|
+
import BcDivider from "./bcDivider/bcDivider.vue";
|
|
24
|
+
import BcSignature from "./bcSignature/index.vue";
|
|
25
|
+
import BcVisual from "./bcVisual/bcVisual.vue";
|
|
26
|
+
export * from "./bcTable/utils/parseTable";
|
|
27
|
+
export type BusinessComponents = {
|
|
28
|
+
BcIcon: typeof BcIcon;
|
|
29
|
+
BcButton: typeof BcButton;
|
|
30
|
+
BcBox: typeof BcBox;
|
|
31
|
+
BcRadio: typeof BcRadio;
|
|
32
|
+
BcCheckbox: typeof BcCheckbox;
|
|
33
|
+
BcForm: typeof BcForm;
|
|
34
|
+
BcTable: typeof BcTable;
|
|
35
|
+
BcTabs: typeof BcTabs;
|
|
36
|
+
BcContextBox: typeof BcContextBox;
|
|
37
|
+
BcSelect: typeof BcSelect;
|
|
38
|
+
BcTreeSearch: typeof BcTreeSearch;
|
|
39
|
+
BcTreeSelect: typeof BcTreeSelect;
|
|
40
|
+
BcAutoComplete: typeof BcAutoComplete;
|
|
41
|
+
BcGroup: typeof BcGroup;
|
|
42
|
+
BcInputGroup: typeof BcInputGroup;
|
|
43
|
+
BcUpload: typeof BcUpload;
|
|
44
|
+
BcBreadcrumb: typeof BcBreadcrumb;
|
|
45
|
+
BcSystemAuth: typeof BcSystemAuth;
|
|
46
|
+
BcSystemField: typeof BcSystemField;
|
|
47
|
+
BcTrtc: typeof BcTrtc;
|
|
48
|
+
BcFace: typeof BcFace;
|
|
49
|
+
BcDivider: typeof BcDivider;
|
|
50
|
+
BcSignature: typeof BcSignature;
|
|
51
|
+
BcVisual: typeof BcVisual;
|
|
52
|
+
};
|
|
53
|
+
export declare const businessComponents: BusinessComponents;
|
|
54
|
+
export default function (app: App): void;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/** 监听弹窗弹起次数 */
|
|
2
|
+
export declare const showPopupCount: import("vue").Ref<number, number>;
|
|
3
|
+
/** 键盘快捷键事件,只要给元素绑定 shortcut 属性就可使用
|
|
4
|
+
* @param key 键盘键值为:【key】【code】【keyCode】 默认值【code】,
|
|
5
|
+
* @param init 是否初始化,默认初始化为 true,
|
|
6
|
+
* @example <bc-button shortcut="ControlLeft,KeyQ"></bc-button> [code]类型
|
|
7
|
+
* @example <bc-button shortcut="Control,q"></bc-button> [key]类型
|
|
8
|
+
* */
|
|
9
|
+
export declare function onKeyStroke(key?: string, init?: boolean): {
|
|
10
|
+
bcBoxRef: import("vue").Ref<HTMLElement, HTMLElement>;
|
|
11
|
+
start: (index?: number) => void;
|
|
12
|
+
end: (index?: number) => void;
|
|
13
|
+
};
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
/***
|
|
2
|
+
* 组件暴露属性
|
|
3
|
+
* @param ref
|
|
4
|
+
* @param instance
|
|
5
|
+
* @returns
|
|
6
|
+
*/
|
|
7
|
+
declare const useExposeProperties: (ref: any, instance: any) => void;
|
|
8
|
+
/***
|
|
9
|
+
* 组件v-model
|
|
10
|
+
* @param props
|
|
11
|
+
* @param propName
|
|
12
|
+
* @param emit
|
|
13
|
+
* @returns
|
|
14
|
+
*/
|
|
15
|
+
declare const useVModel: (props: any, propName: string, emit: any) => import("vue").WritableComputedRef<any, any>;
|
|
16
|
+
/**
|
|
17
|
+
* 获取聚焦元素
|
|
18
|
+
*/
|
|
19
|
+
declare function useFocusElement(): {
|
|
20
|
+
focusRef: import("vue").Ref<HTMLElement, HTMLElement>;
|
|
21
|
+
activeElement: () => HTMLInputElement;
|
|
22
|
+
};
|
|
23
|
+
export { useExposeProperties, useVModel, useFocusElement };
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { OnKeyStrokeOptions } from "@vueuse/core";
|
|
2
|
+
type IKeyStroke = [string | string[], (e: KeyboardEvent) => void, OnKeyStrokeOptions?];
|
|
3
|
+
interface IKeyStrokeOptions {
|
|
4
|
+
/** 是否初始化键盘事件监听 */
|
|
5
|
+
isIinit: boolean;
|
|
6
|
+
}
|
|
7
|
+
/**
|
|
8
|
+
* 键盘事件
|
|
9
|
+
* @param props 键盘事件,键盘键值映射键名 【key】【code】【keyCode】
|
|
10
|
+
* @param {Object} options 配置项
|
|
11
|
+
* @param {boolean} options.isIinit 配置项,是否开始初始化
|
|
12
|
+
* @example
|
|
13
|
+
* useKeyStroke([
|
|
14
|
+
* ['Control', (e) => console.log('单键=>>', e)],
|
|
15
|
+
* ['Control+z', (e) => console.log('组合键=>>', e)],
|
|
16
|
+
* ]);
|
|
17
|
+
*/
|
|
18
|
+
export declare function useKeyStroke(props: IKeyStroke[], options?: IKeyStrokeOptions): {
|
|
19
|
+
start: () => void;
|
|
20
|
+
end: () => void;
|
|
21
|
+
};
|
|
22
|
+
export {};
|
|
@@ -0,0 +1,80 @@
|
|
|
1
|
+
import ICustomData from './customData';
|
|
2
|
+
export declare namespace IAuthData {
|
|
3
|
+
type Data = Record<string, ICustomData.ANY>;
|
|
4
|
+
/** 1表格 2 表单 */
|
|
5
|
+
type type = '1' | '2';
|
|
6
|
+
interface Field {
|
|
7
|
+
id: string;
|
|
8
|
+
/** 权限信息中的 fieldChange,为true时,才会替换 字段名称、是否必填、是否导出 */
|
|
9
|
+
fieldChange: boolean;
|
|
10
|
+
/** 字段名称 */
|
|
11
|
+
fieldName: string;
|
|
12
|
+
/** 字段显示名称 */
|
|
13
|
+
showName: string;
|
|
14
|
+
/** 字段值 */
|
|
15
|
+
fieldProp: string;
|
|
16
|
+
/** 字段是否显示 */
|
|
17
|
+
fieldShow: boolean;
|
|
18
|
+
/** 用户控制字段是否显示 */
|
|
19
|
+
userFieldShow: boolean;
|
|
20
|
+
/** 字段是否必填 */
|
|
21
|
+
fieldRequired: boolean;
|
|
22
|
+
forceRequired: boolean;
|
|
23
|
+
/** 排序 */
|
|
24
|
+
sort: number;
|
|
25
|
+
/** 是否导出 */
|
|
26
|
+
fieldExport: boolean;
|
|
27
|
+
tableId?: string;
|
|
28
|
+
}
|
|
29
|
+
interface ColumnData extends Field {
|
|
30
|
+
/** 列按钮配置 */
|
|
31
|
+
option: Field[];
|
|
32
|
+
}
|
|
33
|
+
interface Table {
|
|
34
|
+
id: string;
|
|
35
|
+
tableId?: string;
|
|
36
|
+
/** 表格名称 */
|
|
37
|
+
tableName: string;
|
|
38
|
+
/** 表格列字段配置 */
|
|
39
|
+
data: ColumnData[];
|
|
40
|
+
}
|
|
41
|
+
interface Auth {
|
|
42
|
+
id?: string;
|
|
43
|
+
/** 配置名称 */
|
|
44
|
+
config_name: string;
|
|
45
|
+
/** 表单表格类型 */
|
|
46
|
+
config_type: type;
|
|
47
|
+
/** 配置门店唯一id */
|
|
48
|
+
config_unique_id: string;
|
|
49
|
+
/** 按钮权限配置 */
|
|
50
|
+
btns: Field[];
|
|
51
|
+
/** 表格权限配置 */
|
|
52
|
+
tables: Table[];
|
|
53
|
+
/** 表单权限配置 */
|
|
54
|
+
form: Field[];
|
|
55
|
+
/** 菜单id */
|
|
56
|
+
menu_id?: string;
|
|
57
|
+
/** 页面名称 */
|
|
58
|
+
page_name?: string;
|
|
59
|
+
is_auth: string;
|
|
60
|
+
dataMap: object;
|
|
61
|
+
optionMap: object;
|
|
62
|
+
}
|
|
63
|
+
interface IAuthDataItem {
|
|
64
|
+
/** 是否显示字段集合 */
|
|
65
|
+
auth_data_func_01_000: string[];
|
|
66
|
+
/** 表单权限配置 */
|
|
67
|
+
[key: string]: Field | string[];
|
|
68
|
+
}
|
|
69
|
+
interface IAuthData {
|
|
70
|
+
btns: IAuthDataItem;
|
|
71
|
+
form: IAuthDataItem;
|
|
72
|
+
tables: {
|
|
73
|
+
[key: string]: IAuthDataItem;
|
|
74
|
+
};
|
|
75
|
+
}
|
|
76
|
+
interface IAuth {
|
|
77
|
+
[key: string]: IAuthData;
|
|
78
|
+
}
|
|
79
|
+
}
|
|
80
|
+
export default IAuthData;
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import type { Component, VNodeProps, AllowedComponentProps } from 'vue';
|
|
2
|
+
export declare namespace ComponentAttr {
|
|
3
|
+
/** 获取Vue组件的props类型 */
|
|
4
|
+
type Props<T extends Component> = {
|
|
5
|
+
-readonly [K in keyof Omit<InstanceType<any>['$props'], keyof VNodeProps | keyof AllowedComponentProps>]: InstanceType<any>['$props'][K];
|
|
6
|
+
};
|
|
7
|
+
/** 类型递归调用可选 */
|
|
8
|
+
type RecursivePartial<T> = {
|
|
9
|
+
-readonly [K in keyof T]?: RecursivePartial<T[K]>;
|
|
10
|
+
};
|
|
11
|
+
/** 类型递归调用必填 */
|
|
12
|
+
type RecursiveRequired<T> = {
|
|
13
|
+
-readonly [K in keyof T]-?: RecursiveRequired<T[K]>;
|
|
14
|
+
};
|
|
15
|
+
/** 让部分属性可选 */
|
|
16
|
+
type CustomPartial<T, K extends keyof T> = {
|
|
17
|
+
[P in K]?: T[P];
|
|
18
|
+
} & Omit<T, K>;
|
|
19
|
+
/** 让部分属性变为必填 */
|
|
20
|
+
type CustomRequired<T, K extends keyof T> = {
|
|
21
|
+
[P in K]-?: T[P];
|
|
22
|
+
} & Omit<T, K>;
|
|
23
|
+
/** 声明数组指定值类型集合 */
|
|
24
|
+
type Student<T, K extends string> = T extends Readonly<{
|
|
25
|
+
[key in K]: infer U;
|
|
26
|
+
}[]> ? U : never;
|
|
27
|
+
}
|
|
28
|
+
export default ComponentAttr;
|
|
@@ -0,0 +1,308 @@
|
|
|
1
|
+
import { VxePagerProps, VxeTableProps, VxeColumnProps, VxeTableDefines } from "vxe-table";
|
|
2
|
+
import ComponentAttr from "./components";
|
|
3
|
+
import { baseComponents } from "../components/base";
|
|
4
|
+
import { FormProps, FormRules } from "element-plus";
|
|
5
|
+
import { Input, InputGroup, InputNumber, Autocomplete, Selelct, TreeSelect, Checkbox, Radio } from "./formItem/index";
|
|
6
|
+
import { ButtonAttr } from "./formItem/button";
|
|
7
|
+
import { IFormData } from "./form";
|
|
8
|
+
export declare namespace ICustomData {
|
|
9
|
+
type ANY = any;
|
|
10
|
+
type Data = Record<string, ANY>;
|
|
11
|
+
type Method = "get" | "post" | "put" | "delete";
|
|
12
|
+
/** 表单配置项 */
|
|
13
|
+
interface FormBaseConfig extends FormProps {
|
|
14
|
+
/** 是否取字典项的默认值 */
|
|
15
|
+
isSetDictDefaultValue?: boolean;
|
|
16
|
+
/** 是否支持表单回车快捷功能 */
|
|
17
|
+
isSupportShortcutKey?: boolean;
|
|
18
|
+
/** 是否关闭键盘事件 */
|
|
19
|
+
isClosedKeyStroke?: boolean;
|
|
20
|
+
/** 是否显示字典默认值 */
|
|
21
|
+
isShowDictValue?: boolean;
|
|
22
|
+
/** 是否开启显示查询参数查询 */
|
|
23
|
+
isShowQuerySearch?: boolean;
|
|
24
|
+
/** 是否隐藏折叠按钮 */
|
|
25
|
+
isHideCollapseBtn?: boolean;
|
|
26
|
+
/** 提交表单的请求api */
|
|
27
|
+
submitUrl?: string;
|
|
28
|
+
/** 提交接口的请求方式 */
|
|
29
|
+
submitUrlMethod?: Method;
|
|
30
|
+
/** 表单提交成功的提示信息 */
|
|
31
|
+
submitSuccessMsg?: string;
|
|
32
|
+
/** 表单首行展示列数 */
|
|
33
|
+
columnNum?: number;
|
|
34
|
+
/** 是否校验查询参数 */
|
|
35
|
+
isVerifySearch?: boolean;
|
|
36
|
+
/** 是否启用快捷查询 */
|
|
37
|
+
isQuickSearch?: boolean;
|
|
38
|
+
/** 是否颠倒查询按钮与查询条件 */
|
|
39
|
+
isReverseBtn?: boolean;
|
|
40
|
+
}
|
|
41
|
+
/** 表单配置规则 */
|
|
42
|
+
interface Rules {
|
|
43
|
+
required: boolean;
|
|
44
|
+
rules: FormRules<Data>[];
|
|
45
|
+
}
|
|
46
|
+
type ElData = Selelct | TreeSelect | Input | InputGroup | InputNumber | Autocomplete | Checkbox | Radio;
|
|
47
|
+
type ElComponent = ComponentAttr.Student<typeof baseComponents, "title">;
|
|
48
|
+
/** 表单项配置接口 */
|
|
49
|
+
interface FormItemConfigData {
|
|
50
|
+
baseData: {
|
|
51
|
+
label: string;
|
|
52
|
+
prop: string;
|
|
53
|
+
el: ANY;
|
|
54
|
+
el2: ANY;
|
|
55
|
+
/** 分组字段标识 */
|
|
56
|
+
groupField: string;
|
|
57
|
+
isSlot: boolean;
|
|
58
|
+
isApply: boolean;
|
|
59
|
+
/** 是否显示 */
|
|
60
|
+
isShow: boolean;
|
|
61
|
+
/** 是否关闭快捷查询 */
|
|
62
|
+
isCloseQuickSearch: boolean;
|
|
63
|
+
/** 是否显示字典默认值 */
|
|
64
|
+
isHideDictDefaultValue: boolean;
|
|
65
|
+
/** 是否受权限控制显示 */
|
|
66
|
+
fieldShow: boolean;
|
|
67
|
+
/** 是否受用户控制显示 */
|
|
68
|
+
userFieldShow: boolean;
|
|
69
|
+
labelWidth: number;
|
|
70
|
+
/** 字段联合类型 */
|
|
71
|
+
complexType?: string;
|
|
72
|
+
/** 字段类型 */
|
|
73
|
+
baseType?: string;
|
|
74
|
+
/** 分组标识 */
|
|
75
|
+
groupMark?: string;
|
|
76
|
+
/** 字段在分组中的位置 */
|
|
77
|
+
positionInGroup?: "" | "start" | "end";
|
|
78
|
+
/** 字段提示信息 */
|
|
79
|
+
tooltip?: string;
|
|
80
|
+
/** 快捷键修饰符 */
|
|
81
|
+
shortcut?: string[];
|
|
82
|
+
};
|
|
83
|
+
elData: ElData;
|
|
84
|
+
}
|
|
85
|
+
interface FormItemConfig {
|
|
86
|
+
id: string;
|
|
87
|
+
data: FormItemConfigData;
|
|
88
|
+
/** 排序 */
|
|
89
|
+
sort: number;
|
|
90
|
+
}
|
|
91
|
+
interface Form {
|
|
92
|
+
id: string;
|
|
93
|
+
baseData: FormBaseConfig;
|
|
94
|
+
formData: Data;
|
|
95
|
+
formConfig: Array<FormItemConfig>;
|
|
96
|
+
}
|
|
97
|
+
interface TableBaseData extends VxeTableProps {
|
|
98
|
+
/** 表格配置属性id */
|
|
99
|
+
id: string;
|
|
100
|
+
uuid?: string;
|
|
101
|
+
/** 配置唯一标识 */
|
|
102
|
+
config_unique_id: string;
|
|
103
|
+
/** 表格配置名称 */
|
|
104
|
+
tableName: string;
|
|
105
|
+
/** 默认不可变更参数 */
|
|
106
|
+
requestParams: string;
|
|
107
|
+
/** 是否分页 */
|
|
108
|
+
is_apply_page?: boolean;
|
|
109
|
+
/** 是否显示总页全选数据复选框 */
|
|
110
|
+
showPagerAll?: boolean;
|
|
111
|
+
/** 是否开启模拟分页 */
|
|
112
|
+
isSimulate?: boolean;
|
|
113
|
+
/** 是否获取本地缓存数据 */
|
|
114
|
+
isGetCanche?: boolean;
|
|
115
|
+
/** 是否允许显示自定义弹窗 */
|
|
116
|
+
enablePopup?: boolean;
|
|
117
|
+
/** 是否关闭键盘事件 */
|
|
118
|
+
isClosedKeyStroke?: boolean;
|
|
119
|
+
/** 多标签页显示模式 */
|
|
120
|
+
tabs?: "card" | "line";
|
|
121
|
+
/** 是否拆分接口 */
|
|
122
|
+
isSplitInterface?: boolean;
|
|
123
|
+
/** 是否启用远程统计 */
|
|
124
|
+
isRemoteTotal?: boolean;
|
|
125
|
+
/** 是否关闭点击编辑单元格/行 */
|
|
126
|
+
isClosedEditRow?: boolean;
|
|
127
|
+
/** 表格分页配置 */
|
|
128
|
+
table_page_data?: VxePagerProps;
|
|
129
|
+
/** 表格请求接口 */
|
|
130
|
+
requestUrl?: string;
|
|
131
|
+
/** 表格请求方式 */
|
|
132
|
+
method?: Method;
|
|
133
|
+
/** 系统代理 */
|
|
134
|
+
proxy?: string;
|
|
135
|
+
/** 是否初始化数据 */
|
|
136
|
+
isCloseInitData?: boolean;
|
|
137
|
+
/** 动态配置列 */
|
|
138
|
+
dynamicColumn?: {
|
|
139
|
+
/** 是否动态请求配置 */
|
|
140
|
+
isDynamicRequestConfig?: boolean;
|
|
141
|
+
/** 请求动态配置地址 */
|
|
142
|
+
requestDynamicUrl?: string;
|
|
143
|
+
/** 请求动态配置参数 */
|
|
144
|
+
requestDynamicParams?: string;
|
|
145
|
+
/** 请求动态配置方式 */
|
|
146
|
+
dynamicMethod?: string;
|
|
147
|
+
/** 请求动态配置代理 */
|
|
148
|
+
dynamicProxy?: string;
|
|
149
|
+
};
|
|
150
|
+
}
|
|
151
|
+
interface TableItemData extends VxeColumnProps {
|
|
152
|
+
/** 是否启用插槽 */
|
|
153
|
+
isSlot: boolean;
|
|
154
|
+
/** 是否启用 */
|
|
155
|
+
isApply: boolean;
|
|
156
|
+
/** 是否显示 */
|
|
157
|
+
isShow: boolean;
|
|
158
|
+
/** 是否受权限控制显示 */
|
|
159
|
+
fieldShow?: boolean;
|
|
160
|
+
/** 是否受用户控制显示 */
|
|
161
|
+
userFieldShow?: boolean;
|
|
162
|
+
/** 返回值类型 */
|
|
163
|
+
returnValueType: string;
|
|
164
|
+
/** 插槽模板【值为空时可以自定义插槽内容】 */
|
|
165
|
+
el?: ElComponent;
|
|
166
|
+
/** 是否开启金额格式化 */
|
|
167
|
+
formatAmount?: boolean;
|
|
168
|
+
/** 是否导出该字段 */
|
|
169
|
+
fieldExport?: boolean;
|
|
170
|
+
/** 父级字段 */
|
|
171
|
+
parent_field?: string;
|
|
172
|
+
/** 插槽模板配置 */
|
|
173
|
+
slotTemplateConfig?: ElData | Record<string, ICustomData.Data>;
|
|
174
|
+
}
|
|
175
|
+
interface BtnData extends Partial<ButtonAttr> {
|
|
176
|
+
name: string;
|
|
177
|
+
key: string;
|
|
178
|
+
/** 是否使用插槽 */
|
|
179
|
+
isSlot: boolean;
|
|
180
|
+
/** 是否启用 */
|
|
181
|
+
isApply: boolean;
|
|
182
|
+
/** 是否显示 */
|
|
183
|
+
isShow: boolean;
|
|
184
|
+
/** 是否受权限控制显示 */
|
|
185
|
+
fieldShow: boolean;
|
|
186
|
+
/** 是否受用户控制显示 */
|
|
187
|
+
userFieldShow: boolean;
|
|
188
|
+
/** 图标位置 */
|
|
189
|
+
iconPosition?: "left" | "right";
|
|
190
|
+
/** 按钮图标 */
|
|
191
|
+
btnIcon?: string;
|
|
192
|
+
/** 按钮文本颜色 */
|
|
193
|
+
textColor?: string;
|
|
194
|
+
/** 方法 */
|
|
195
|
+
fnName?: Function;
|
|
196
|
+
/** 方法参数 */
|
|
197
|
+
param?: string;
|
|
198
|
+
field_id?: string;
|
|
199
|
+
/** 快捷键 */
|
|
200
|
+
shortcut?: string[];
|
|
201
|
+
setLoading?: (loading: boolean) => void;
|
|
202
|
+
}
|
|
203
|
+
interface BtnItem {
|
|
204
|
+
/** 按钮唯一标识配置 */
|
|
205
|
+
id: string;
|
|
206
|
+
/** 按钮配置数据 */
|
|
207
|
+
data: BtnData;
|
|
208
|
+
/** 排序 */
|
|
209
|
+
sort: number;
|
|
210
|
+
}
|
|
211
|
+
interface TableItem {
|
|
212
|
+
/** 表格列id */
|
|
213
|
+
id: string;
|
|
214
|
+
/** 表格列配置数据 */
|
|
215
|
+
data: TableItemData;
|
|
216
|
+
/** 表格列中按钮配置 */
|
|
217
|
+
btnData: BtnItem[];
|
|
218
|
+
/** 排序 */
|
|
219
|
+
sort?: number;
|
|
220
|
+
children?: TableItem[];
|
|
221
|
+
}
|
|
222
|
+
/** 平台系统参数 */
|
|
223
|
+
interface PlatformSystemParams {
|
|
224
|
+
/** 用户自定义 - 每页大小 */
|
|
225
|
+
_user_pageSize: {
|
|
226
|
+
[key: string]: number;
|
|
227
|
+
};
|
|
228
|
+
/** 系统参数设置 - 每页大小 */
|
|
229
|
+
_sys_pageSize: number;
|
|
230
|
+
/** 系统参数设置 - 每页大小选项列表 */
|
|
231
|
+
_sys_pageSize_s: number[];
|
|
232
|
+
/** 系统参数设置 - 小数位数 */
|
|
233
|
+
decimal_digits: number;
|
|
234
|
+
}
|
|
235
|
+
/** 设置table缓存数据,用于前端数据的虚拟分页处理 */
|
|
236
|
+
interface TableCacheData {
|
|
237
|
+
mid: string;
|
|
238
|
+
id: string;
|
|
239
|
+
uid?: string;
|
|
240
|
+
uuid?: string;
|
|
241
|
+
tableId: string;
|
|
242
|
+
data: Data[];
|
|
243
|
+
pageSize: number;
|
|
244
|
+
is_apply_page?: boolean;
|
|
245
|
+
}
|
|
246
|
+
interface Table {
|
|
247
|
+
/** 表单配置id */
|
|
248
|
+
id: string;
|
|
249
|
+
/** 排序 */
|
|
250
|
+
sort: number;
|
|
251
|
+
baseData: TableBaseData;
|
|
252
|
+
tableData: Data[];
|
|
253
|
+
tableConfig: TableItem[];
|
|
254
|
+
}
|
|
255
|
+
interface Btns {
|
|
256
|
+
/** 按钮唯一标识配置 */
|
|
257
|
+
id: string;
|
|
258
|
+
/** 按钮配置数据 */
|
|
259
|
+
data: BtnData;
|
|
260
|
+
sort: number;
|
|
261
|
+
}
|
|
262
|
+
interface FormTable {
|
|
263
|
+
btns: Btns[];
|
|
264
|
+
mid?: string;
|
|
265
|
+
uid?: string;
|
|
266
|
+
uuid?: string;
|
|
267
|
+
/** 是否配置权限 值为1时,受权限控制,不为1时,则无需查询权限 */
|
|
268
|
+
is_auth?: string;
|
|
269
|
+
/** 是否预解析数据,用于缓存与内存中,加速页面加载 */
|
|
270
|
+
preParsing?: boolean;
|
|
271
|
+
/** 批量获取配置的配置id */
|
|
272
|
+
batch_id?: string;
|
|
273
|
+
/** 项目类型 */
|
|
274
|
+
project_code?: string;
|
|
275
|
+
/** 配置版本号 */
|
|
276
|
+
config_version?: number;
|
|
277
|
+
config_date?: string;
|
|
278
|
+
config_type?: "1" | "2";
|
|
279
|
+
/** 配置唯一标识 */
|
|
280
|
+
config_unique_id: string;
|
|
281
|
+
/** 配置名称 */
|
|
282
|
+
config_name: string;
|
|
283
|
+
/** 表单配置 */
|
|
284
|
+
form?: Form;
|
|
285
|
+
/** 表格配置数据 */
|
|
286
|
+
tables: Array<Table>;
|
|
287
|
+
}
|
|
288
|
+
interface FieldChange {
|
|
289
|
+
/** 查询条件|表格实体 */
|
|
290
|
+
type: "table" | "query";
|
|
291
|
+
/** 行数据 */
|
|
292
|
+
row: ICustomData.Data;
|
|
293
|
+
/** 当前属性字段 */
|
|
294
|
+
key: string;
|
|
295
|
+
/** 当前属性值 */
|
|
296
|
+
value: ICustomData.ANY;
|
|
297
|
+
/** 当前属性更新前值 */
|
|
298
|
+
oldValue: ICustomData.ANY;
|
|
299
|
+
/** vxeTable 单元格实例 */
|
|
300
|
+
$api?: VxeTableDefines.CellRenderBodyParams;
|
|
301
|
+
}
|
|
302
|
+
interface BatchConfig {
|
|
303
|
+
form: Record<string, IFormData.Form>;
|
|
304
|
+
table: Record<string, FormTable>;
|
|
305
|
+
version: Record<string, number>;
|
|
306
|
+
}
|
|
307
|
+
}
|
|
308
|
+
export default ICustomData;
|
|
@@ -0,0 +1,99 @@
|
|
|
1
|
+
import ICustomData from './customData';
|
|
2
|
+
import { FormProps } from 'element-plus';
|
|
3
|
+
export declare namespace IFormData {
|
|
4
|
+
type Data = Record<string, ICustomData.ANY>;
|
|
5
|
+
interface ConfigFormItem {
|
|
6
|
+
/** 字段值 */
|
|
7
|
+
prop: string;
|
|
8
|
+
/** 字段名 */
|
|
9
|
+
label: string;
|
|
10
|
+
/** 单个布局跨行/列数属性 */
|
|
11
|
+
layoutData: {
|
|
12
|
+
rowSpan: number;
|
|
13
|
+
colSpan: number;
|
|
14
|
+
labelBg: string;
|
|
15
|
+
labelColor: string;
|
|
16
|
+
};
|
|
17
|
+
config: ICustomData.FormItemConfigData[];
|
|
18
|
+
}
|
|
19
|
+
interface ConfigSlotItem {
|
|
20
|
+
/** 插槽名称 */
|
|
21
|
+
name: string;
|
|
22
|
+
}
|
|
23
|
+
interface ConfigComponentItem {
|
|
24
|
+
/** 组件名称 */
|
|
25
|
+
name: string;
|
|
26
|
+
}
|
|
27
|
+
interface FormAttr extends FormProps {
|
|
28
|
+
/** 背景色 */
|
|
29
|
+
bg: string;
|
|
30
|
+
/** 行间隔 */
|
|
31
|
+
rowGap: string;
|
|
32
|
+
/** 列间隔 */
|
|
33
|
+
columnGap: string;
|
|
34
|
+
/** 请求方式 */
|
|
35
|
+
method: 'get' | 'post';
|
|
36
|
+
/** 代理 */
|
|
37
|
+
proxy: string;
|
|
38
|
+
/** 提交接口 */
|
|
39
|
+
submitUrl: string;
|
|
40
|
+
/** 表单提交接口操作名称 */
|
|
41
|
+
action_name: string;
|
|
42
|
+
/** 是否只读数据 */
|
|
43
|
+
readonly: boolean;
|
|
44
|
+
}
|
|
45
|
+
type FormItemTypeMap = {
|
|
46
|
+
form: ConfigFormItem[];
|
|
47
|
+
slot: ConfigSlotItem;
|
|
48
|
+
component: ConfigComponentItem;
|
|
49
|
+
};
|
|
50
|
+
type FormItemType = keyof FormItemTypeMap;
|
|
51
|
+
interface FormConfig<T extends FormItemType> {
|
|
52
|
+
/** 表单名称 */
|
|
53
|
+
label: string;
|
|
54
|
+
/** 是否显示表单名称 */
|
|
55
|
+
isShowLabel: boolean;
|
|
56
|
+
/** 布局格子数 */
|
|
57
|
+
grid: number;
|
|
58
|
+
/** 表单类型字段对应值 */
|
|
59
|
+
fieldID: string;
|
|
60
|
+
/** 表单类型 */
|
|
61
|
+
formItemType: T;
|
|
62
|
+
/** 表单属性 */
|
|
63
|
+
attrs: FormAttr;
|
|
64
|
+
config: FormItemTypeMap[T];
|
|
65
|
+
}
|
|
66
|
+
interface Form<T extends FormItemType = FormItemType> {
|
|
67
|
+
/** 表单项配置数据 */
|
|
68
|
+
data: Data;
|
|
69
|
+
mid?: string;
|
|
70
|
+
uid?: string;
|
|
71
|
+
uuid?: string;
|
|
72
|
+
/** 是否配置权限 值为1时,受权限控制,不为1时,则无需查询权限 */
|
|
73
|
+
is_auth?: string;
|
|
74
|
+
/** 是否预解析数据,用于缓存与内存中,加速页面加载 */
|
|
75
|
+
preParsing?: boolean;
|
|
76
|
+
/** 批量获取配置的配置id */
|
|
77
|
+
batch_id?: string;
|
|
78
|
+
/** 是否关闭键盘事件 */
|
|
79
|
+
isClosedKeyStroke?: boolean;
|
|
80
|
+
/** 项目类型 */
|
|
81
|
+
project_code?: string;
|
|
82
|
+
/** 配置版本号 */
|
|
83
|
+
config_version?: number;
|
|
84
|
+
config_date?: string;
|
|
85
|
+
/** 配置数据类型 1表格 2表单 */
|
|
86
|
+
config_type?: '1' | '2';
|
|
87
|
+
/** 标题名称 */
|
|
88
|
+
config_name: string;
|
|
89
|
+
/** 标题单元格id */
|
|
90
|
+
config_unique_id: string;
|
|
91
|
+
/** 表单属性 */
|
|
92
|
+
attrs: FormAttr;
|
|
93
|
+
/** 按钮 */
|
|
94
|
+
btns: ICustomData.BtnItem[];
|
|
95
|
+
/** 表单项 */
|
|
96
|
+
form: FormConfig<T>[];
|
|
97
|
+
}
|
|
98
|
+
}
|
|
99
|
+
export default IFormData;
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
import IFormTable from '../table';
|
|
2
|
+
/** 自动补全输入框 */
|
|
3
|
+
export interface AutocompleteAttr {
|
|
4
|
+
/** 占位文本 */
|
|
5
|
+
placeholder: string;
|
|
6
|
+
/** 是否可清空 */
|
|
7
|
+
clearable: boolean;
|
|
8
|
+
/** 自动补全组件是否被禁用 */
|
|
9
|
+
disabled: boolean;
|
|
10
|
+
/** 输入建议对象中用于显示的键名 */
|
|
11
|
+
'value-key': string;
|
|
12
|
+
/** 获取输入建议的防抖延时,单位为毫秒 */
|
|
13
|
+
debounce: number;
|
|
14
|
+
/** 菜单弹出位置 */
|
|
15
|
+
placement: string;
|
|
16
|
+
/** 获取输入建议的方法 */
|
|
17
|
+
'fetch-suggestions': Function;
|
|
18
|
+
/** whether show suggestions when input focus */
|
|
19
|
+
'trigger-on-focus': boolean;
|
|
20
|
+
/** 在输入没有任何匹配建议的情况下,按下回车是否触发 select 事件 */
|
|
21
|
+
'select-when-unmatched': boolean;
|
|
22
|
+
/** 等价于原生 input name 属性 */
|
|
23
|
+
name: string;
|
|
24
|
+
/** 输入框关联的 label 文字 */
|
|
25
|
+
label: string;
|
|
26
|
+
/** 是否隐藏远程加载时的加载图标 */
|
|
27
|
+
'hide-loading': boolean;
|
|
28
|
+
/** 下拉列表的类名 */
|
|
29
|
+
'popper-class': string;
|
|
30
|
+
/** 是否将下拉列表插入至 body 元素 */
|
|
31
|
+
'popper-append-to-body': boolean;
|
|
32
|
+
/** 是否将下拉列表元素插入 append-to 指向的元素下 */
|
|
33
|
+
teleported: string;
|
|
34
|
+
/** 是否默认高亮远程搜索结果的第一项 */
|
|
35
|
+
'highlight-first-item': boolean;
|
|
36
|
+
/** 下拉框的宽度是否与输入框相同 */
|
|
37
|
+
'fit-input-width': boolean;
|
|
38
|
+
/** 代理【预留】 */
|
|
39
|
+
proxy?: string;
|
|
40
|
+
}
|
|
41
|
+
export interface Autocomplete {
|
|
42
|
+
attrs: AutocompleteAttr;
|
|
43
|
+
rules: IFormTable.Rules;
|
|
44
|
+
}
|