hs-admin-ui 15.3.1 → 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-DdYFQCuP.js → bcIcon-8Q9wgEHD.js} +1 -1
- package/dist/bcIcon-ohpLbhE0.mjs +4 -0
- package/dist/{index-Db5iBu5f.js → index-BUENY1VZ.js} +5 -5
- package/dist/{index-5GyL1bOw.mjs → index-cgMQxD5t.mjs} +7 -16
- 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-BN_rtrSv.mjs +0 -4
package/dist/types/src/components/business/bcVisual/components/updateSql/addCondition.vue.d.ts
ADDED
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { PropType } from "vue";
|
|
2
|
+
import { type Tree } from "./nodeTree";
|
|
3
|
+
declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
4
|
+
condition: {
|
|
5
|
+
type: PropType<Tree>;
|
|
6
|
+
default: () => {};
|
|
7
|
+
};
|
|
8
|
+
close: {
|
|
9
|
+
type: FunctionConstructor;
|
|
10
|
+
};
|
|
11
|
+
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
12
|
+
condition: {
|
|
13
|
+
type: PropType<Tree>;
|
|
14
|
+
default: () => {};
|
|
15
|
+
};
|
|
16
|
+
close: {
|
|
17
|
+
type: FunctionConstructor;
|
|
18
|
+
};
|
|
19
|
+
}>> & Readonly<{}>, {
|
|
20
|
+
condition: Tree;
|
|
21
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
22
|
+
declare const _default: typeof __VLS_export;
|
|
23
|
+
export default _default;
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import NodeTree from './index.vue';
|
|
2
|
+
import { NODE_RELATION } from '../../../type';
|
|
3
|
+
export { NodeTree };
|
|
4
|
+
type BtnType = 'addCondition' | 'addNode';
|
|
5
|
+
export interface Tree {
|
|
6
|
+
/** 分支名称 */
|
|
7
|
+
nodeName: string;
|
|
8
|
+
/** 分支父级id */
|
|
9
|
+
pId: string;
|
|
10
|
+
/** 分支id */
|
|
11
|
+
nodeId: string;
|
|
12
|
+
/** 节点关系 AND | OR */
|
|
13
|
+
relation: NODE_RELATION;
|
|
14
|
+
type?: 'add';
|
|
15
|
+
btnType: BtnType[];
|
|
16
|
+
level?: number;
|
|
17
|
+
children: Tree[];
|
|
18
|
+
}
|
package/dist/types/src/components/business/bcVisual/components/updateSql/nodeTree/index.vue.d.ts
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { PropType } from "vue";
|
|
2
|
+
import { Tree } from "./index";
|
|
3
|
+
declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
4
|
+
modelValue: {
|
|
5
|
+
type: PropType<Tree[]>;
|
|
6
|
+
default: () => any[];
|
|
7
|
+
};
|
|
8
|
+
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
9
|
+
"update:modelValue": (...args: any[]) => void;
|
|
10
|
+
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
11
|
+
modelValue: {
|
|
12
|
+
type: PropType<Tree[]>;
|
|
13
|
+
default: () => any[];
|
|
14
|
+
};
|
|
15
|
+
}>> & Readonly<{
|
|
16
|
+
"onUpdate:modelValue"?: (...args: any[]) => any;
|
|
17
|
+
}>, {
|
|
18
|
+
modelValue: Tree[];
|
|
19
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
20
|
+
declare const _default: typeof __VLS_export;
|
|
21
|
+
export default _default;
|
package/dist/types/src/components/business/bcVisual/components/updateSql/nodeTree/nodeTree.vue.d.ts
ADDED
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { PropType } from "vue";
|
|
2
|
+
import { Tree } from "./index";
|
|
3
|
+
declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
4
|
+
parent: {
|
|
5
|
+
type: PropType<Tree>;
|
|
6
|
+
default: () => {};
|
|
7
|
+
};
|
|
8
|
+
modelValue: {
|
|
9
|
+
type: PropType<Tree[]>;
|
|
10
|
+
};
|
|
11
|
+
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
12
|
+
"update:modelValue": (value: Tree[]) => any;
|
|
13
|
+
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
14
|
+
parent: {
|
|
15
|
+
type: PropType<Tree>;
|
|
16
|
+
default: () => {};
|
|
17
|
+
};
|
|
18
|
+
modelValue: {
|
|
19
|
+
type: PropType<Tree[]>;
|
|
20
|
+
};
|
|
21
|
+
}>> & Readonly<{
|
|
22
|
+
"onUpdate:modelValue"?: (value: Tree[]) => any;
|
|
23
|
+
}>, {
|
|
24
|
+
parent: Tree;
|
|
25
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
26
|
+
declare const _default: typeof __VLS_export;
|
|
27
|
+
export default _default;
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
2
|
+
sql: {
|
|
3
|
+
type: StringConstructor;
|
|
4
|
+
};
|
|
5
|
+
close: {
|
|
6
|
+
type: FunctionConstructor;
|
|
7
|
+
};
|
|
8
|
+
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
9
|
+
sql: {
|
|
10
|
+
type: StringConstructor;
|
|
11
|
+
};
|
|
12
|
+
close: {
|
|
13
|
+
type: FunctionConstructor;
|
|
14
|
+
};
|
|
15
|
+
}>> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
16
|
+
declare const _default: typeof __VLS_export;
|
|
17
|
+
export default _default;
|
|
@@ -0,0 +1,186 @@
|
|
|
1
|
+
/** 字段类型 */
|
|
2
|
+
export declare enum FIELD_TYPE {
|
|
3
|
+
/** 文本 */
|
|
4
|
+
TEXT = 1,
|
|
5
|
+
/** 时间 */
|
|
6
|
+
DATE = 2,
|
|
7
|
+
/** 数值 */
|
|
8
|
+
NUMBER = 3,
|
|
9
|
+
/** 下拉单选 */
|
|
10
|
+
SELECT_R = 4,
|
|
11
|
+
/** 下拉多选 */
|
|
12
|
+
SELECT_M = 5,
|
|
13
|
+
/** 下拉分级 */
|
|
14
|
+
SELECT_T = 6
|
|
15
|
+
}
|
|
16
|
+
/** 字段类型 */
|
|
17
|
+
export declare enum QUERY_WAY {
|
|
18
|
+
/** 输入 */
|
|
19
|
+
INPUT = 1,
|
|
20
|
+
/** 固定值 */
|
|
21
|
+
FIXED = 2,
|
|
22
|
+
/** 字典项-code */
|
|
23
|
+
DICT_CODE = 3,
|
|
24
|
+
/** 字典项-name */
|
|
25
|
+
DICT_NAME = 4,
|
|
26
|
+
/** 接口 */
|
|
27
|
+
API = 5
|
|
28
|
+
}
|
|
29
|
+
/** 数据类型 */
|
|
30
|
+
export declare enum FIELD_DATA_TYPE {
|
|
31
|
+
/** 数据列-维度 */
|
|
32
|
+
WEI_DU = 1,
|
|
33
|
+
/** 数据列-指标 */
|
|
34
|
+
ZHI_BIAO = 2,
|
|
35
|
+
/** 钻取列-维度 */
|
|
36
|
+
Z_WEI_DU = 3,
|
|
37
|
+
/** 筛选列 */
|
|
38
|
+
SHAI_XUAN = 4
|
|
39
|
+
}
|
|
40
|
+
/** 指标列的汇总方式 */
|
|
41
|
+
export declare enum FIELD_WAY {
|
|
42
|
+
/** 无 */
|
|
43
|
+
NONE = "",
|
|
44
|
+
/** 求和 */
|
|
45
|
+
SUM = "sum",
|
|
46
|
+
/** 最大值 */
|
|
47
|
+
MAX = "max",
|
|
48
|
+
/** 最小值 */
|
|
49
|
+
MIN = "min",
|
|
50
|
+
/** 平均 */
|
|
51
|
+
AVERAGE = "average",
|
|
52
|
+
/** 计数 */
|
|
53
|
+
COUNT = "count",
|
|
54
|
+
/** 去重计数 */
|
|
55
|
+
COUNTDISTINCT = "countdistinct"
|
|
56
|
+
}
|
|
57
|
+
/** 指标列的占比方式 */
|
|
58
|
+
export declare enum FIELD_RATE {
|
|
59
|
+
/** 无 */
|
|
60
|
+
NONE = 0,
|
|
61
|
+
/** 占比 */
|
|
62
|
+
RATE = 1
|
|
63
|
+
}
|
|
64
|
+
/** 维度列分组统计 */
|
|
65
|
+
export declare enum FIELD_GROUP {
|
|
66
|
+
/** 不统计 */
|
|
67
|
+
NONE = 0,
|
|
68
|
+
/** 统计 */
|
|
69
|
+
STATISTICS = 1
|
|
70
|
+
}
|
|
71
|
+
/** 程序自定义列排序 */
|
|
72
|
+
export declare enum FIELD_SORT {
|
|
73
|
+
/** 无 */
|
|
74
|
+
NONE = 0,
|
|
75
|
+
/** 升序 */
|
|
76
|
+
ASC = 1,
|
|
77
|
+
/** 降序 */
|
|
78
|
+
DESC = 2
|
|
79
|
+
}
|
|
80
|
+
/** 底部合计 */
|
|
81
|
+
export declare enum FIELD_SUM {
|
|
82
|
+
/** 无 */
|
|
83
|
+
NONE = 0,
|
|
84
|
+
/** 合计 */
|
|
85
|
+
SUM = 1
|
|
86
|
+
}
|
|
87
|
+
/** 是否展示 */
|
|
88
|
+
export declare enum FIELD_SHOW {
|
|
89
|
+
/** 隐藏 */
|
|
90
|
+
HIDE = 1,
|
|
91
|
+
/** 显示 */
|
|
92
|
+
SHOW = 0
|
|
93
|
+
}
|
|
94
|
+
/** 右键弹窗类型 */
|
|
95
|
+
export declare enum POPUP_TYPE {
|
|
96
|
+
/** 汇总方式求和 */
|
|
97
|
+
COLLECT = 0,
|
|
98
|
+
/** 占比计算 */
|
|
99
|
+
CALC = 1,
|
|
100
|
+
/** 编辑显示名称 */
|
|
101
|
+
EDIT_NAME = 2,
|
|
102
|
+
/** 排序方式 */
|
|
103
|
+
SORT = 3,
|
|
104
|
+
/** 小数位数 */
|
|
105
|
+
POINT = 4,
|
|
106
|
+
/** 底部合计 */
|
|
107
|
+
SUM = 5,
|
|
108
|
+
/** 是否隐藏 */
|
|
109
|
+
SHOW = 6,
|
|
110
|
+
/** 是否统计 */
|
|
111
|
+
STATISTICS = 7
|
|
112
|
+
}
|
|
113
|
+
export declare enum SEGMENTED {
|
|
114
|
+
/** 列配置 */
|
|
115
|
+
COLUMN = 0,
|
|
116
|
+
/** 筛选配置 */
|
|
117
|
+
FILTER = 1
|
|
118
|
+
}
|
|
119
|
+
/** 节点关系 */
|
|
120
|
+
export declare enum NODE_RELATION {
|
|
121
|
+
AND = "AND",
|
|
122
|
+
OR = "OR"
|
|
123
|
+
}
|
|
124
|
+
/** 展示列配置 */
|
|
125
|
+
export interface IColumns {
|
|
126
|
+
id?: string;
|
|
127
|
+
/** 报表名称 */
|
|
128
|
+
report_name: string;
|
|
129
|
+
/** 列标题 */
|
|
130
|
+
field_name: string;
|
|
131
|
+
/** 列标题自定义显示名称 */
|
|
132
|
+
show_name?: string;
|
|
133
|
+
/** 列字段 */
|
|
134
|
+
field_key: string;
|
|
135
|
+
/** 列表联合字段 */
|
|
136
|
+
field_code: string;
|
|
137
|
+
/** 列字段类型, 1文本框、2日期时间、3区间输入、4下拉单选、5下拉多选、6下拉分级 */
|
|
138
|
+
query_type: FIELD_TYPE;
|
|
139
|
+
/** 筛选条件-取值方式, 1输入、2固定值、3字典项-code、4字典项-name、5接口 */
|
|
140
|
+
query_way: QUERY_WAY;
|
|
141
|
+
/** 数据接口名称 */
|
|
142
|
+
query_api: string;
|
|
143
|
+
/** 数据设置:json串、字典编码、接口名称 */
|
|
144
|
+
query_data: string;
|
|
145
|
+
/** 数据类型:数据列-维度、数据列-指标、钻取列-维度、筛选列 */
|
|
146
|
+
field_data_type?: FIELD_DATA_TYPE;
|
|
147
|
+
/** 分组统计 1统计0不统计 默认不统计 */
|
|
148
|
+
report_field_group?: FIELD_GROUP;
|
|
149
|
+
/** 指标列的汇总方式,sum/max/min/average/count/countdistinct */
|
|
150
|
+
field_way?: FIELD_WAY;
|
|
151
|
+
/** 指标列的占比计算, 1是0否 */
|
|
152
|
+
field_proportion?: FIELD_RATE;
|
|
153
|
+
/** 程序自定义列排序 */
|
|
154
|
+
report_field_sort?: FIELD_SORT;
|
|
155
|
+
/** 底部合计 */
|
|
156
|
+
report_field_sum?: FIELD_SUM;
|
|
157
|
+
/** 小数位数 */
|
|
158
|
+
report_field_point?: number;
|
|
159
|
+
/** 是否隐藏展示列 */
|
|
160
|
+
report_field_show?: FIELD_SHOW;
|
|
161
|
+
/** 列排序 */
|
|
162
|
+
data_sort?: number;
|
|
163
|
+
/** 列宽度 */
|
|
164
|
+
width?: number;
|
|
165
|
+
/** 列最小宽度 */
|
|
166
|
+
minWidth?: number;
|
|
167
|
+
}
|
|
168
|
+
export interface IStateSetting {
|
|
169
|
+
/** 查询条件 */
|
|
170
|
+
querys: IColumns[];
|
|
171
|
+
/** 配置列 */
|
|
172
|
+
columns: IColumns[];
|
|
173
|
+
/** 配置列-指标 */
|
|
174
|
+
indicator: IColumns[];
|
|
175
|
+
/** 配置列-钻取 */
|
|
176
|
+
drills: IColumns[];
|
|
177
|
+
/** 筛选配置 - 自定义sql */
|
|
178
|
+
sql: string;
|
|
179
|
+
/** 数据集选中字段展示 */
|
|
180
|
+
sourceData: string;
|
|
181
|
+
/** 数据集列表展示 */
|
|
182
|
+
sourceList: IColumns[];
|
|
183
|
+
/** 选中数据集的 字段列表 展示 */
|
|
184
|
+
sourceFields: IColumns[];
|
|
185
|
+
isEmpty: boolean;
|
|
186
|
+
}
|
|
@@ -0,0 +1,270 @@
|
|
|
1
|
+
import { ICustomData } from "../../../types";
|
|
2
|
+
import type { IColumns } from "./type";
|
|
3
|
+
type Props = Partial<Record<"project_code" | "url" | "reportId" | "sysId", string>> & {
|
|
4
|
+
canche?: any;
|
|
5
|
+
};
|
|
6
|
+
/** 表格基础属性数据 */
|
|
7
|
+
interface BaseData {
|
|
8
|
+
/** 查询条件 */
|
|
9
|
+
querys: IColumns[];
|
|
10
|
+
/** 列表展示列 */
|
|
11
|
+
columns: IColumns[];
|
|
12
|
+
options: Props;
|
|
13
|
+
}
|
|
14
|
+
export declare function createBtn({ name, key, btnIcon }: any): {
|
|
15
|
+
id: string;
|
|
16
|
+
data: {
|
|
17
|
+
name: any;
|
|
18
|
+
key: any;
|
|
19
|
+
btnIcon: any;
|
|
20
|
+
isApply: boolean;
|
|
21
|
+
isSlot: boolean;
|
|
22
|
+
isShow: boolean;
|
|
23
|
+
size: string;
|
|
24
|
+
type: string;
|
|
25
|
+
"loading-icon": string;
|
|
26
|
+
fieldShow: boolean;
|
|
27
|
+
userFieldShow: boolean;
|
|
28
|
+
};
|
|
29
|
+
sort: number;
|
|
30
|
+
};
|
|
31
|
+
export declare function createSeqCell(): {
|
|
32
|
+
id: string;
|
|
33
|
+
data: {
|
|
34
|
+
field: string;
|
|
35
|
+
isSlot: boolean;
|
|
36
|
+
isApply: boolean;
|
|
37
|
+
isShow: boolean;
|
|
38
|
+
returnValueType: string;
|
|
39
|
+
width: number;
|
|
40
|
+
minWidth: number;
|
|
41
|
+
visible: boolean;
|
|
42
|
+
type: string;
|
|
43
|
+
fieldShow: boolean;
|
|
44
|
+
userFieldShow: boolean;
|
|
45
|
+
fixed: string;
|
|
46
|
+
};
|
|
47
|
+
btnData: any[];
|
|
48
|
+
sort: number;
|
|
49
|
+
}[];
|
|
50
|
+
export declare function createCell({ field_key, field_name, width, minWidth, query_type, report_field_sum, report_field_show }: IColumns, canche: any): {
|
|
51
|
+
id: string;
|
|
52
|
+
data: {
|
|
53
|
+
field: string;
|
|
54
|
+
title: any;
|
|
55
|
+
width: any;
|
|
56
|
+
minWidth: number;
|
|
57
|
+
isSlot: boolean;
|
|
58
|
+
isApply: boolean;
|
|
59
|
+
isShow: boolean;
|
|
60
|
+
returnValueType: string;
|
|
61
|
+
resizable: boolean;
|
|
62
|
+
visible: boolean;
|
|
63
|
+
sortable: boolean;
|
|
64
|
+
fieldShow: boolean;
|
|
65
|
+
userFieldShow: any;
|
|
66
|
+
fieldExport: boolean;
|
|
67
|
+
formatAmount: boolean;
|
|
68
|
+
formatter: string;
|
|
69
|
+
};
|
|
70
|
+
btnData: any[];
|
|
71
|
+
sort: any;
|
|
72
|
+
children: any[];
|
|
73
|
+
};
|
|
74
|
+
export declare function createTable(config_unique_id: string, list: IColumns[], props: Props): {
|
|
75
|
+
id: string;
|
|
76
|
+
baseData: {
|
|
77
|
+
method: string;
|
|
78
|
+
proxy: string;
|
|
79
|
+
requestUrl: string;
|
|
80
|
+
tableName: string;
|
|
81
|
+
id: string;
|
|
82
|
+
config_unique_id: string;
|
|
83
|
+
isClosedKeyStroke: boolean;
|
|
84
|
+
isCloseInitData: boolean;
|
|
85
|
+
is_apply_page: boolean;
|
|
86
|
+
table_page_data: {
|
|
87
|
+
currentPage: number;
|
|
88
|
+
pageSize: number;
|
|
89
|
+
total: number;
|
|
90
|
+
pagerCount: number;
|
|
91
|
+
pageSizes: number[];
|
|
92
|
+
};
|
|
93
|
+
border: string;
|
|
94
|
+
size: string;
|
|
95
|
+
stripe: boolean;
|
|
96
|
+
showOverflow: string;
|
|
97
|
+
showFooter: boolean;
|
|
98
|
+
isRemoteTotal: boolean;
|
|
99
|
+
scrollX: {
|
|
100
|
+
enabled: boolean;
|
|
101
|
+
gt: number;
|
|
102
|
+
};
|
|
103
|
+
scrollY: {
|
|
104
|
+
enabled: boolean;
|
|
105
|
+
gt: number;
|
|
106
|
+
};
|
|
107
|
+
rowConfig: {
|
|
108
|
+
isCurrent: boolean;
|
|
109
|
+
isHover: boolean;
|
|
110
|
+
};
|
|
111
|
+
sortConfig: {
|
|
112
|
+
multiple: boolean;
|
|
113
|
+
chronological: boolean;
|
|
114
|
+
remote: boolean;
|
|
115
|
+
showIcon: boolean;
|
|
116
|
+
};
|
|
117
|
+
};
|
|
118
|
+
tableConfig: ({
|
|
119
|
+
id: string;
|
|
120
|
+
data: {
|
|
121
|
+
field: string;
|
|
122
|
+
isSlot: boolean;
|
|
123
|
+
isApply: boolean;
|
|
124
|
+
isShow: boolean;
|
|
125
|
+
returnValueType: string;
|
|
126
|
+
width: number;
|
|
127
|
+
minWidth: number;
|
|
128
|
+
visible: boolean;
|
|
129
|
+
type: string;
|
|
130
|
+
fieldShow: boolean;
|
|
131
|
+
userFieldShow: boolean;
|
|
132
|
+
fixed: string;
|
|
133
|
+
};
|
|
134
|
+
btnData: any[];
|
|
135
|
+
sort: number;
|
|
136
|
+
} | {
|
|
137
|
+
id: string;
|
|
138
|
+
data: {
|
|
139
|
+
field: string;
|
|
140
|
+
title: any;
|
|
141
|
+
width: any;
|
|
142
|
+
minWidth: number;
|
|
143
|
+
isSlot: boolean;
|
|
144
|
+
isApply: boolean;
|
|
145
|
+
isShow: boolean;
|
|
146
|
+
returnValueType: string;
|
|
147
|
+
resizable: boolean;
|
|
148
|
+
visible: boolean;
|
|
149
|
+
sortable: boolean;
|
|
150
|
+
fieldShow: boolean;
|
|
151
|
+
userFieldShow: any;
|
|
152
|
+
fieldExport: boolean;
|
|
153
|
+
formatAmount: boolean;
|
|
154
|
+
formatter: string;
|
|
155
|
+
};
|
|
156
|
+
btnData: any[];
|
|
157
|
+
sort: any;
|
|
158
|
+
children: any[];
|
|
159
|
+
})[];
|
|
160
|
+
tableData: any[];
|
|
161
|
+
isStatic: boolean;
|
|
162
|
+
};
|
|
163
|
+
export declare function createInput(params: IColumns, options?: BaseData["options"]): {
|
|
164
|
+
data: {
|
|
165
|
+
baseData: {
|
|
166
|
+
label: any;
|
|
167
|
+
prop: string;
|
|
168
|
+
el: string;
|
|
169
|
+
isSlot: boolean;
|
|
170
|
+
isApply: boolean;
|
|
171
|
+
isShow: boolean;
|
|
172
|
+
fieldShow: boolean;
|
|
173
|
+
userFieldShow: any;
|
|
174
|
+
};
|
|
175
|
+
elData: {
|
|
176
|
+
attrs: {
|
|
177
|
+
size: string;
|
|
178
|
+
type: string;
|
|
179
|
+
clearable: boolean;
|
|
180
|
+
placeholder: string;
|
|
181
|
+
};
|
|
182
|
+
};
|
|
183
|
+
};
|
|
184
|
+
id: string;
|
|
185
|
+
sort: any;
|
|
186
|
+
};
|
|
187
|
+
export declare function createNumer(params: IColumns, options?: BaseData["options"], type?: "begin" | "end"): {
|
|
188
|
+
data: {
|
|
189
|
+
baseData: {
|
|
190
|
+
label: any;
|
|
191
|
+
prop: string;
|
|
192
|
+
el: string;
|
|
193
|
+
isSlot: boolean;
|
|
194
|
+
isApply: boolean;
|
|
195
|
+
isShow: boolean;
|
|
196
|
+
fieldShow: boolean;
|
|
197
|
+
userFieldShow: any;
|
|
198
|
+
positionInGroup: "end" | "begin";
|
|
199
|
+
groupMark: string;
|
|
200
|
+
};
|
|
201
|
+
elData: {
|
|
202
|
+
attrs: {
|
|
203
|
+
size: string;
|
|
204
|
+
type: string;
|
|
205
|
+
clearable: boolean;
|
|
206
|
+
"start-placeholder": string;
|
|
207
|
+
"end-placeholder": string;
|
|
208
|
+
};
|
|
209
|
+
};
|
|
210
|
+
};
|
|
211
|
+
id: string;
|
|
212
|
+
sort: any;
|
|
213
|
+
};
|
|
214
|
+
export declare function createSelect(params: IColumns, options?: BaseData["options"]): any;
|
|
215
|
+
export declare function createSelectTree(params: IColumns, options?: BaseData["options"]): any;
|
|
216
|
+
export declare function createDate(params: IColumns, options?: BaseData["options"], type?: "begin" | "end"): {
|
|
217
|
+
data: {
|
|
218
|
+
baseData: {
|
|
219
|
+
label: any;
|
|
220
|
+
prop: string;
|
|
221
|
+
el: string;
|
|
222
|
+
isSlot: boolean;
|
|
223
|
+
isApply: boolean;
|
|
224
|
+
isShow: boolean;
|
|
225
|
+
fieldShow: boolean;
|
|
226
|
+
userFieldShow: any;
|
|
227
|
+
positionInGroup: "end" | "begin";
|
|
228
|
+
groupMark: string;
|
|
229
|
+
};
|
|
230
|
+
elData: {
|
|
231
|
+
attrs: {
|
|
232
|
+
size: string;
|
|
233
|
+
clearable: boolean;
|
|
234
|
+
type: string;
|
|
235
|
+
"range-separator": string;
|
|
236
|
+
format: string;
|
|
237
|
+
"value-format": string;
|
|
238
|
+
"default-time": string;
|
|
239
|
+
shortcuts: string;
|
|
240
|
+
"start-placeholder": string;
|
|
241
|
+
"end-placeholder": string;
|
|
242
|
+
};
|
|
243
|
+
rules: {
|
|
244
|
+
required: boolean;
|
|
245
|
+
};
|
|
246
|
+
};
|
|
247
|
+
};
|
|
248
|
+
id: string;
|
|
249
|
+
sort: any;
|
|
250
|
+
};
|
|
251
|
+
export declare function createForm(querys: IColumns[], options: BaseData["options"]): {
|
|
252
|
+
id: string;
|
|
253
|
+
baseData: {
|
|
254
|
+
labelWidth: string;
|
|
255
|
+
size: string;
|
|
256
|
+
labelPosition: string;
|
|
257
|
+
requireAsteriskPosition: string;
|
|
258
|
+
showMessage: boolean;
|
|
259
|
+
inlineMessage: boolean;
|
|
260
|
+
validateOnRuleChange: boolean;
|
|
261
|
+
isSetDictDefaultValue: boolean;
|
|
262
|
+
isSupportShortcutKey: boolean;
|
|
263
|
+
};
|
|
264
|
+
formConfig: any[];
|
|
265
|
+
formData: any;
|
|
266
|
+
};
|
|
267
|
+
export declare function getBaseData({ querys, columns, options }: BaseData): Promise<ICustomData.FormTable>;
|
|
268
|
+
/** 获取基础配置数据 */
|
|
269
|
+
export declare function getBaseData2({ querys, columns, options }: BaseData): Promise<ICustomData.FormTable>;
|
|
270
|
+
export {};
|
|
@@ -0,0 +1,132 @@
|
|
|
1
|
+
import { POPUP_TYPE, FIELD_TYPE, FIELD_WAY, FIELD_RATE, FIELD_GROUP, SEGMENTED, NODE_RELATION, FIELD_SORT, FIELD_SUM, FIELD_SHOW } from './type';
|
|
2
|
+
/** 字段类型 */
|
|
3
|
+
export declare const fieldTypeMap: {
|
|
4
|
+
1: string;
|
|
5
|
+
3: string;
|
|
6
|
+
2: string;
|
|
7
|
+
4: string;
|
|
8
|
+
5: string;
|
|
9
|
+
6: string;
|
|
10
|
+
};
|
|
11
|
+
export declare function getFieldType(query_type: FIELD_TYPE): string;
|
|
12
|
+
/** 鼠标滑过一级菜单,用于二级菜单显示 */
|
|
13
|
+
export declare const hoverItem: import("vue").Ref<string, string>;
|
|
14
|
+
export declare const segmentedList: {
|
|
15
|
+
label: string;
|
|
16
|
+
value: SEGMENTED;
|
|
17
|
+
}[];
|
|
18
|
+
/** 指标列的汇总方式 */
|
|
19
|
+
export declare const fieldWay: {
|
|
20
|
+
label: string;
|
|
21
|
+
value: FIELD_WAY;
|
|
22
|
+
}[];
|
|
23
|
+
/** 指标列的占比方式 */
|
|
24
|
+
export declare const fieldRate: {
|
|
25
|
+
label: string;
|
|
26
|
+
value: FIELD_RATE;
|
|
27
|
+
}[];
|
|
28
|
+
/** 排序方式 */
|
|
29
|
+
export declare const fieldSort: {
|
|
30
|
+
label: string;
|
|
31
|
+
value: FIELD_SORT;
|
|
32
|
+
}[];
|
|
33
|
+
/** 底部合计 */
|
|
34
|
+
export declare const fieldSum: {
|
|
35
|
+
label: string;
|
|
36
|
+
value: FIELD_SUM;
|
|
37
|
+
}[];
|
|
38
|
+
/** 是否展示列 */
|
|
39
|
+
export declare const fieldShow: {
|
|
40
|
+
label: string;
|
|
41
|
+
value: FIELD_SHOW;
|
|
42
|
+
}[];
|
|
43
|
+
/** 是否分组 */
|
|
44
|
+
export declare const fieldGroup: {
|
|
45
|
+
label: string;
|
|
46
|
+
value: FIELD_GROUP;
|
|
47
|
+
}[];
|
|
48
|
+
/** 节点关系 */
|
|
49
|
+
export declare const relationList: {
|
|
50
|
+
label: string;
|
|
51
|
+
value: NODE_RELATION;
|
|
52
|
+
}[];
|
|
53
|
+
/** 列字段 / 维度 */
|
|
54
|
+
export declare const columnsList: ({
|
|
55
|
+
label: string;
|
|
56
|
+
value: POPUP_TYPE;
|
|
57
|
+
children: {
|
|
58
|
+
label: string;
|
|
59
|
+
value: FIELD_SORT;
|
|
60
|
+
}[];
|
|
61
|
+
} | {
|
|
62
|
+
label: string;
|
|
63
|
+
value: POPUP_TYPE;
|
|
64
|
+
children?: undefined;
|
|
65
|
+
} | {
|
|
66
|
+
label: string;
|
|
67
|
+
value: POPUP_TYPE;
|
|
68
|
+
children: {
|
|
69
|
+
label: string;
|
|
70
|
+
value: FIELD_SHOW;
|
|
71
|
+
}[];
|
|
72
|
+
} | {
|
|
73
|
+
label: string;
|
|
74
|
+
value: POPUP_TYPE;
|
|
75
|
+
children: {
|
|
76
|
+
label: string;
|
|
77
|
+
value: FIELD_GROUP;
|
|
78
|
+
}[];
|
|
79
|
+
} | {
|
|
80
|
+
label: string;
|
|
81
|
+
value: POPUP_TYPE;
|
|
82
|
+
children: {
|
|
83
|
+
label: string;
|
|
84
|
+
value: FIELD_SUM;
|
|
85
|
+
}[];
|
|
86
|
+
})[];
|
|
87
|
+
/** 列字段 / 检索 */
|
|
88
|
+
export declare const querysList: {
|
|
89
|
+
label: string;
|
|
90
|
+
value: POPUP_TYPE;
|
|
91
|
+
}[];
|
|
92
|
+
/** 列字段 / 指标 */
|
|
93
|
+
export declare const indicatorList: ({
|
|
94
|
+
label: string;
|
|
95
|
+
value: POPUP_TYPE;
|
|
96
|
+
children: {
|
|
97
|
+
label: string;
|
|
98
|
+
value: FIELD_WAY;
|
|
99
|
+
}[];
|
|
100
|
+
} | {
|
|
101
|
+
label: string;
|
|
102
|
+
value: POPUP_TYPE;
|
|
103
|
+
children: {
|
|
104
|
+
label: string;
|
|
105
|
+
value: FIELD_RATE;
|
|
106
|
+
}[];
|
|
107
|
+
} | {
|
|
108
|
+
label: string;
|
|
109
|
+
value: POPUP_TYPE;
|
|
110
|
+
children: {
|
|
111
|
+
label: string;
|
|
112
|
+
value: FIELD_SORT;
|
|
113
|
+
}[];
|
|
114
|
+
} | {
|
|
115
|
+
label: string;
|
|
116
|
+
value: POPUP_TYPE;
|
|
117
|
+
children?: undefined;
|
|
118
|
+
} | {
|
|
119
|
+
label: string;
|
|
120
|
+
value: POPUP_TYPE;
|
|
121
|
+
children: {
|
|
122
|
+
label: string;
|
|
123
|
+
value: FIELD_SUM;
|
|
124
|
+
}[];
|
|
125
|
+
} | {
|
|
126
|
+
label: string;
|
|
127
|
+
value: POPUP_TYPE;
|
|
128
|
+
children: {
|
|
129
|
+
label: string;
|
|
130
|
+
value: FIELD_SHOW;
|
|
131
|
+
}[];
|
|
132
|
+
})[];
|