hs-admin-ui 15.3.1 → 15.3.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{bcIcon-DdYFQCuP.js → bcIcon-BmsjGopD.js} +1 -1
- package/dist/bcIcon-Cm-j-sO7.mjs +4 -0
- package/dist/{index-5GyL1bOw.mjs → index-CPcIYKeT.mjs} +18429 -18400
- package/dist/{index-Db5iBu5f.js → index-gBNxvg7I.js} +103 -103
- 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/Descriptions/index.d.ts +1 -0
- package/dist/types/src/components/base/Descriptions/src/Affix.vue.d.ts +3 -0
- package/dist/types/src/components/base/Descriptions/src/Descriptions.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/Text/index.d.ts +1 -0
- package/dist/types/src/components/base/Text/src/Text.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 +56 -0
- package/dist/types/src/components/base/index.d.ts +178 -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
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
export * from "./arrayOperation";
|
|
2
|
+
export * from "./cfprint";
|
|
3
|
+
export * from "./common";
|
|
4
|
+
export * from "./commonFunction";
|
|
5
|
+
export * from "./crypto";
|
|
6
|
+
export * from "./download";
|
|
7
|
+
export * from "./formatTime";
|
|
8
|
+
export * from "./getDataType";
|
|
9
|
+
export * from "./loading";
|
|
10
|
+
export * from "./mitt";
|
|
11
|
+
export * from "./number";
|
|
12
|
+
export * from "./other";
|
|
13
|
+
export * from "./request";
|
|
14
|
+
export * from "./shortcutList";
|
|
15
|
+
export * from "./showMessage";
|
|
16
|
+
export * from "./showMessageBox";
|
|
17
|
+
export * from "./showNotification";
|
|
18
|
+
export * from "./showPopup";
|
|
19
|
+
export * from "./storage";
|
|
20
|
+
export * from "./theme";
|
|
21
|
+
export * from "./toolsValidate";
|
|
22
|
+
export * from "./tree";
|
|
23
|
+
export * from "./update";
|
|
24
|
+
export * from "./url";
|
|
25
|
+
export * from "./watermark";
|
|
26
|
+
export { default as lodash } from "./lodash";
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import type { Emitter } from "mitt";
|
|
2
|
+
export declare const mittBus: Emitter<any>;
|
|
3
|
+
/** 事件总线触发未来事件 */
|
|
4
|
+
export declare function useMittBus(): {
|
|
5
|
+
on: (event: any, callback: any) => void;
|
|
6
|
+
once: (event: any, callback: any) => void;
|
|
7
|
+
emit: (event: any, data?: any) => void;
|
|
8
|
+
off: (event: any, callback: any) => void;
|
|
9
|
+
clear: () => void;
|
|
10
|
+
};
|
|
@@ -0,0 +1,73 @@
|
|
|
1
|
+
/** 系统参数设置 - 小数位数 */
|
|
2
|
+
export declare const decimalDigits: import("vue").Ref<number, number>;
|
|
3
|
+
/**
|
|
4
|
+
* @param val 对结果进行格式化,用来解决计算过程中精度缺失的问题
|
|
5
|
+
* @param digits 小数位数,默认值-1,取系统参数设置值
|
|
6
|
+
* @param precision 精度计算
|
|
7
|
+
* @example 0.1 + 0.2 !== 0.3 fixedNumAccuracy(0.1 + 0.2) === '0.3'
|
|
8
|
+
* @example 0.1 + 0.2 !== 0.3 fixedNumAccuracy('0.1 + 0.2') === '0.3'
|
|
9
|
+
*/
|
|
10
|
+
export declare function fixedNumAccuracy(val: string | number, digits?: number): string;
|
|
11
|
+
/**
|
|
12
|
+
* 几个数字相加
|
|
13
|
+
* @example add(0.1, "0.2", 0.3) = 0.6 <==> 0.1 + 0.2 + 0.3
|
|
14
|
+
*/
|
|
15
|
+
export declare function add(...vals: (string | number)[]): string;
|
|
16
|
+
/**
|
|
17
|
+
* 几个数字相减
|
|
18
|
+
* @example sub(0.6, "0.2", 0.3) = 0.1 <==> 0.6 - 0.2 - 0.3
|
|
19
|
+
*/
|
|
20
|
+
export declare function sub(...vals: (string | number)[]): string;
|
|
21
|
+
/**
|
|
22
|
+
* 几个数字相乘
|
|
23
|
+
* @example times(0.6, "0.2") = 0.12 <==> 0.6 * 0.2
|
|
24
|
+
*/
|
|
25
|
+
export declare function times(...vals: (string | number)[]): string;
|
|
26
|
+
/**
|
|
27
|
+
* 几个数字相除
|
|
28
|
+
* @example div(0.6, "0.2") = 3 <==> 0.6 / 0.2
|
|
29
|
+
*/
|
|
30
|
+
export declare function div(...vals: (string | number)[]): string;
|
|
31
|
+
/** 获取数字内的有效数字 */
|
|
32
|
+
export declare function getNumbers(values: number[]): number[];
|
|
33
|
+
/** 是否是一个合法的number值 */
|
|
34
|
+
export declare function isLegalNumber(val: number): val is number;
|
|
35
|
+
/**
|
|
36
|
+
* 判断值能否转换为数值类型
|
|
37
|
+
* @param val
|
|
38
|
+
*/
|
|
39
|
+
export declare function isToNumber(val: string | number): boolean;
|
|
40
|
+
export declare const mathTool: {
|
|
41
|
+
/**
|
|
42
|
+
* 几个数字相加
|
|
43
|
+
* @example add(0.1, "0.2", 0.3) = 0.6 <==> 0.1 + 0.2 + 0.3
|
|
44
|
+
*/
|
|
45
|
+
add: (...vals: (string | number)[]) => number;
|
|
46
|
+
/**
|
|
47
|
+
* 几个数字相减
|
|
48
|
+
* @example sub(0.6, "0.2", 0.3) = 0.1 <==> 0.6 - 0.2 - 0.3
|
|
49
|
+
*/
|
|
50
|
+
sub: (...vals: (string | number)[]) => number;
|
|
51
|
+
/**
|
|
52
|
+
* 几个数字相乘
|
|
53
|
+
* @example times(0.6, "0.2") = 0.12 <==> 0.6 * 0.2
|
|
54
|
+
*/
|
|
55
|
+
times: (...vals: (string | number)[]) => number;
|
|
56
|
+
/**
|
|
57
|
+
* 几个数字相除
|
|
58
|
+
* @example div(0.6, "0.2") = 3 <==> 0.6 / 0.2
|
|
59
|
+
*/
|
|
60
|
+
div: (...vals: (string | number)[]) => number;
|
|
61
|
+
};
|
|
62
|
+
/**
|
|
63
|
+
* 将数字转换为大写金额
|
|
64
|
+
* @param money 参数/数值型
|
|
65
|
+
*/
|
|
66
|
+
export declare function convertCurrency(money: string | number): string;
|
|
67
|
+
/**
|
|
68
|
+
* 将阿拉伯数字翻译成中文的大写数字
|
|
69
|
+
* @param [num]
|
|
70
|
+
* @description numberToChinese(8) =>>> '八'
|
|
71
|
+
*
|
|
72
|
+
*/
|
|
73
|
+
export declare function numberToChinese(num: any): string;
|
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
import type { App } from "vue";
|
|
2
|
+
/**
|
|
3
|
+
* 导出全局注册 element plus svg 图标
|
|
4
|
+
* @param app vue 实例
|
|
5
|
+
* @description 使用:https://element-plus.gitee.io/zh-CN/component/icon.html
|
|
6
|
+
*/
|
|
7
|
+
export declare function elSvg(app: App): void;
|
|
8
|
+
/**
|
|
9
|
+
* 设置浏览器标题国际化
|
|
10
|
+
* @method const title = useTitle(); ==> title()
|
|
11
|
+
*/
|
|
12
|
+
export declare function useTitle(v: any): void;
|
|
13
|
+
/**
|
|
14
|
+
* 设置 自定义 tagsView 名称
|
|
15
|
+
* @param params 路由 query、params 中的 tagsViewName
|
|
16
|
+
* @returns 返回当前 tagsViewName 名称
|
|
17
|
+
*/
|
|
18
|
+
export declare function setTagsViewNameI18n(item: any): string;
|
|
19
|
+
/**
|
|
20
|
+
* 图片懒加载
|
|
21
|
+
* @param el dom 目标元素
|
|
22
|
+
* @param arr 列表数据
|
|
23
|
+
* @description data-xxx 属性用于存储页面或应用程序的私有自定义数据
|
|
24
|
+
*/
|
|
25
|
+
export declare const lazyImg: (el: string, arr: any) => void;
|
|
26
|
+
/**
|
|
27
|
+
* 全局组件大小
|
|
28
|
+
* @returns 返回 `window.localStorage` 中读取的缓存值 `globalComponentSize`
|
|
29
|
+
*/
|
|
30
|
+
export declare const globalComponentSize: () => string;
|
|
31
|
+
/**
|
|
32
|
+
* 对象深克隆
|
|
33
|
+
* @param obj 源对象
|
|
34
|
+
* @returns 克隆后的对象
|
|
35
|
+
*/
|
|
36
|
+
export declare const deepClone: any;
|
|
37
|
+
/**
|
|
38
|
+
* 判断是否是移动端
|
|
39
|
+
*/
|
|
40
|
+
export declare function isMobile(): boolean;
|
|
41
|
+
/**
|
|
42
|
+
* 判断数组对象中所有属性是否为空,为空则删除当前行对象
|
|
43
|
+
* @description @感谢大黄
|
|
44
|
+
* @param list 数组对象
|
|
45
|
+
* @returns 删除空值后的数组对象
|
|
46
|
+
*/
|
|
47
|
+
export declare function handleEmpty(list: any): any[];
|
|
48
|
+
/**
|
|
49
|
+
* 打开外部链接
|
|
50
|
+
* @param val 当前点击项菜单
|
|
51
|
+
*/
|
|
52
|
+
export declare function handleOpenLink(val: any): Promise<void>;
|
|
53
|
+
/**
|
|
54
|
+
* 统一批量导出
|
|
55
|
+
* @method elSvg 导出全局注册 element plus svg 图标
|
|
56
|
+
* @method useTitle 设置浏览器标题国际化
|
|
57
|
+
* @method setTagsViewNameI18n 设置 自定义 tagsView 名称、 自定义 tagsView 名称国际化
|
|
58
|
+
* @method lazyImg 图片懒加载
|
|
59
|
+
* @method globalComponentSize() element plus 全局组件大小
|
|
60
|
+
* @method deepClone 对象深克隆
|
|
61
|
+
* @method isMobile 判断是否是移动端
|
|
62
|
+
* @method handleEmpty 判断数组对象中所有属性是否为空,为空则删除当前行对象
|
|
63
|
+
*/
|
|
64
|
+
export declare const other: {
|
|
65
|
+
elSvg: (app: App) => void;
|
|
66
|
+
useTitle: (r?: any) => void;
|
|
67
|
+
setTagsViewNameI18n(route: any): string;
|
|
68
|
+
lazyImg: (el: string, arr: any) => void;
|
|
69
|
+
globalComponentSize: () => string;
|
|
70
|
+
deepClone: (obj: any) => any;
|
|
71
|
+
isMobile: () => boolean;
|
|
72
|
+
handleEmpty: (list: any) => any[];
|
|
73
|
+
handleOpenLink: (val: any) => void;
|
|
74
|
+
};
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import { axiosInterceptors } from "./request";
|
|
2
|
+
import { AxiosRequestConfig, Method } from "axios";
|
|
3
|
+
export declare const request: <T = any, R = import("axios").AxiosResponse<T, any>, D = any>(config: AxiosRequestConfig<D>) => Promise<R>;
|
|
4
|
+
export { axiosInterceptors };
|
|
5
|
+
export declare const useRequest: (url: string, params?: any, method?: Method, config?: Omit<AxiosRequestConfig, "baseURL" | "url" | "method" | "params" | "data">) => Promise<any>;
|
package/dist/types/src/utils/request/interceptors/request/undefined-params-handler.interceptor.d.ts
ADDED
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* 功能函数:处理函数
|
|
3
|
+
*
|
|
4
|
+
* 删除对象中
|
|
5
|
+
* 值 = 'undefined'
|
|
6
|
+
* 值 = undefined
|
|
7
|
+
* 值 = 'null'
|
|
8
|
+
* 值 = null
|
|
9
|
+
*
|
|
10
|
+
* @param {[type]} _obj [description]
|
|
11
|
+
* @return {[type]} [description]
|
|
12
|
+
*/
|
|
13
|
+
import { ICustomData } from "../../../../types";
|
|
14
|
+
/**
|
|
15
|
+
* 拦截器:无效参数处理
|
|
16
|
+
*
|
|
17
|
+
* 处理掉 params / data 中无效的参数
|
|
18
|
+
*
|
|
19
|
+
* example: http://www.xxx.com?username=undefined&password=null
|
|
20
|
+
* example: http://www.xxx.com
|
|
21
|
+
* @type {Array}
|
|
22
|
+
*/
|
|
23
|
+
declare const undefinedParamsHandlerInterceptor: ((axiosConfig: ICustomData.ANY) => any)[];
|
|
24
|
+
export default undefinedParamsHandlerInterceptor;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
declare const request: import("axios").AxiosInstance;
|
|
2
|
+
export default request;
|
|
3
|
+
export declare const axiosInterceptors: {
|
|
4
|
+
request: import("axios").AxiosInterceptorManager<import("axios").InternalAxiosRequestConfig>;
|
|
5
|
+
response: import("axios").AxiosInterceptorManager<import("axios").AxiosResponse>;
|
|
6
|
+
};
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import { Component, App } from "vue";
|
|
2
|
+
import { VxeModalProps, VxeModalEventProps } from "vxe-pc-ui";
|
|
3
|
+
import { ICustomData } from "../../types";
|
|
4
|
+
export interface SUCCESS_TYPE {
|
|
5
|
+
type: "cancel" | "confirm" | "close" | ICustomData.ANY;
|
|
6
|
+
data: ICustomData.ANY;
|
|
7
|
+
close?: Function;
|
|
8
|
+
}
|
|
9
|
+
type Config = VxeModalProps & VxeModalEventProps & {
|
|
10
|
+
success?: (params: SUCCESS_TYPE | any) => void;
|
|
11
|
+
onReady?: Function;
|
|
12
|
+
closeLoading?: boolean;
|
|
13
|
+
};
|
|
14
|
+
interface OptionsDef {
|
|
15
|
+
width: number | string;
|
|
16
|
+
height: number | string;
|
|
17
|
+
/** 是否显示遮罩层 */
|
|
18
|
+
mask: boolean;
|
|
19
|
+
/** 是否允许点击遮罩层关闭窗口 */
|
|
20
|
+
maskClosable: boolean;
|
|
21
|
+
/** 在窗口关闭时销毁内容 */
|
|
22
|
+
destroyOnClose: boolean;
|
|
23
|
+
/** 是否允许按 Esc 键关闭窗口 */
|
|
24
|
+
escClosable: boolean;
|
|
25
|
+
/** 标题是否标显示最大化与还原按钮 */
|
|
26
|
+
showZoom: boolean;
|
|
27
|
+
/** 是否允许窗口边缘拖动调整窗口大小 */
|
|
28
|
+
resize: boolean;
|
|
29
|
+
}
|
|
30
|
+
export declare function showPopup<T extends Component>(component: T, props: ICustomData.ANY, config: Config): Function;
|
|
31
|
+
export declare const popupPlugin: {
|
|
32
|
+
install(app: App, options: OptionsDef): void;
|
|
33
|
+
};
|
|
34
|
+
export {};
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
declare var __VLS_6: {};
|
|
2
|
+
type __VLS_Slots = {} & {
|
|
3
|
+
default?: (props: typeof __VLS_6) => any;
|
|
4
|
+
};
|
|
5
|
+
declare const __VLS_base: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
6
|
+
closeLoading: {
|
|
7
|
+
type: BooleanConstructor;
|
|
8
|
+
default: boolean;
|
|
9
|
+
};
|
|
10
|
+
showFooter: {
|
|
11
|
+
type: BooleanConstructor;
|
|
12
|
+
default: boolean;
|
|
13
|
+
};
|
|
14
|
+
confirmButtonText: {
|
|
15
|
+
type: StringConstructor;
|
|
16
|
+
default: string;
|
|
17
|
+
};
|
|
18
|
+
cancelButtonText: {
|
|
19
|
+
type: StringConstructor;
|
|
20
|
+
default: string;
|
|
21
|
+
};
|
|
22
|
+
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
23
|
+
success: (...args: any[]) => void;
|
|
24
|
+
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
25
|
+
closeLoading: {
|
|
26
|
+
type: BooleanConstructor;
|
|
27
|
+
default: boolean;
|
|
28
|
+
};
|
|
29
|
+
showFooter: {
|
|
30
|
+
type: BooleanConstructor;
|
|
31
|
+
default: boolean;
|
|
32
|
+
};
|
|
33
|
+
confirmButtonText: {
|
|
34
|
+
type: StringConstructor;
|
|
35
|
+
default: string;
|
|
36
|
+
};
|
|
37
|
+
cancelButtonText: {
|
|
38
|
+
type: StringConstructor;
|
|
39
|
+
default: string;
|
|
40
|
+
};
|
|
41
|
+
}>> & Readonly<{
|
|
42
|
+
onSuccess?: (...args: any[]) => any;
|
|
43
|
+
}>, {
|
|
44
|
+
confirmButtonText: string;
|
|
45
|
+
cancelButtonText: string;
|
|
46
|
+
closeLoading: boolean;
|
|
47
|
+
showFooter: boolean;
|
|
48
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
49
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
50
|
+
declare const _default: typeof __VLS_export;
|
|
51
|
+
export default _default;
|
|
52
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
53
|
+
new (): {
|
|
54
|
+
$slots: S;
|
|
55
|
+
};
|
|
56
|
+
};
|
|
@@ -0,0 +1,175 @@
|
|
|
1
|
+
import localforage from "localforage";
|
|
2
|
+
import type { Router } from "vue-router";
|
|
3
|
+
import type { ICustomData } from "../types";
|
|
4
|
+
export declare let NEXT_NAME: import("vue").Ref<any, any>;
|
|
5
|
+
export declare let IS_DEV: import("vue").Ref<any, any>;
|
|
6
|
+
/** 子项目当前路由信息 */
|
|
7
|
+
export declare let CurrentRoute: import("vue").Ref<import("vue").ShallowRef<import("vue-router").RouteLocationNormalizedLoadedGeneric>, import("vue").ShallowRef<import("vue-router").RouteLocationNormalizedLoadedGeneric>>;
|
|
8
|
+
export declare let CurrentRouter: import("vue").Ref<Router, Router>;
|
|
9
|
+
/** 自定义加密/解密函数 */
|
|
10
|
+
export declare const encryptionTool: {
|
|
11
|
+
encrypt: (data: unknown) => any;
|
|
12
|
+
decrypt: (str: ICustomData.ANY) => any;
|
|
13
|
+
};
|
|
14
|
+
/**
|
|
15
|
+
* window.localStorage 浏览器永久缓存
|
|
16
|
+
* @method set 设置永久缓存
|
|
17
|
+
* @method get 获取永久缓存
|
|
18
|
+
* @method remove 移除永久缓存
|
|
19
|
+
* @method clear 移除全部永久缓存
|
|
20
|
+
*/
|
|
21
|
+
export declare const Local: {
|
|
22
|
+
setKey(key: string): string;
|
|
23
|
+
set<T>(key: string, val: T): void;
|
|
24
|
+
get<T = any>(key: string): T;
|
|
25
|
+
remove(key: string): void;
|
|
26
|
+
clear(): void;
|
|
27
|
+
};
|
|
28
|
+
/**
|
|
29
|
+
* window.sessionStorage 浏览器临时缓存
|
|
30
|
+
* @method set 设置临时缓存
|
|
31
|
+
* @method get 获取临时缓存
|
|
32
|
+
* @method remove 移除临时缓存
|
|
33
|
+
* @method clear 移除全部临时缓存
|
|
34
|
+
*/
|
|
35
|
+
export declare const Session: {
|
|
36
|
+
set<T>(key: string, val: T): any;
|
|
37
|
+
get(key: string): any;
|
|
38
|
+
remove(key: string): any;
|
|
39
|
+
clear(): void;
|
|
40
|
+
};
|
|
41
|
+
declare class SystemStore {
|
|
42
|
+
store: typeof localforage;
|
|
43
|
+
constructor();
|
|
44
|
+
/** 查看 v2.4.3版本更新日志 */
|
|
45
|
+
setKey(key: string): string;
|
|
46
|
+
/** 设置永久缓存 */
|
|
47
|
+
set(key: string, value: ICustomData.ANY): Promise<any>;
|
|
48
|
+
/** 获取永久缓存 */
|
|
49
|
+
get<T = ICustomData.ANY>(key: string): Promise<T>;
|
|
50
|
+
getToken(): Promise<any>;
|
|
51
|
+
getUserByProject(projectCode?: string): Promise<any>;
|
|
52
|
+
/** 移除永久缓存 */
|
|
53
|
+
remove(key: string): Promise<void>;
|
|
54
|
+
/** 移除全部永久缓存 */
|
|
55
|
+
clear(): Promise<void>;
|
|
56
|
+
/** 移除指定数据库实例 */
|
|
57
|
+
drop(name: string): Promise<void>;
|
|
58
|
+
}
|
|
59
|
+
export declare const systemStore: SystemStore;
|
|
60
|
+
interface CustomeStoreConfig {
|
|
61
|
+
name: string;
|
|
62
|
+
storeName: string;
|
|
63
|
+
version: number;
|
|
64
|
+
description: string;
|
|
65
|
+
}
|
|
66
|
+
/** 自定配置缓存信息 */
|
|
67
|
+
export declare class CustomeStore {
|
|
68
|
+
store: typeof localforage;
|
|
69
|
+
constructor(option?: CustomeStoreConfig);
|
|
70
|
+
/** 查看 v2.4.3版本更新日志 */
|
|
71
|
+
setKey(key: string): string;
|
|
72
|
+
/** 设置永久缓存 */
|
|
73
|
+
set(key: string, value: ICustomData.ANY): Promise<any>;
|
|
74
|
+
/** 获取永久缓存 */
|
|
75
|
+
get<T = ICustomData.ANY>(key: string): Promise<T>;
|
|
76
|
+
/** 移除永久缓存 */
|
|
77
|
+
remove(key: string): Promise<void>;
|
|
78
|
+
/** 移除全部永久缓存 */
|
|
79
|
+
clear(): Promise<void>;
|
|
80
|
+
}
|
|
81
|
+
/**
|
|
82
|
+
* @param { String } params.mid 菜单id
|
|
83
|
+
* @param { String } params.id 配置id
|
|
84
|
+
* @param { String } params.uid 用户id
|
|
85
|
+
* @param { String } str 自定义参数
|
|
86
|
+
*/
|
|
87
|
+
export declare function getConfig<T = ICustomData.ANY>({ mid, id, uid }: Record<"mid" | "id", string> & {
|
|
88
|
+
uid?: string;
|
|
89
|
+
}, str?: string): Promise<T>;
|
|
90
|
+
/**
|
|
91
|
+
* @param { String } params.mid 菜单id
|
|
92
|
+
* @param { String } params.id(unioId) 配置id
|
|
93
|
+
* @param { String } params.uid 用户id
|
|
94
|
+
* @param { String } str 自定义参数
|
|
95
|
+
*/
|
|
96
|
+
export declare function setConfig({ mid, id, uid }: Record<"mid" | "id", string> & {
|
|
97
|
+
uid?: string;
|
|
98
|
+
}, val: unknown, str?: string): Promise<any>;
|
|
99
|
+
/**删除缓存
|
|
100
|
+
* @param mid 菜单id
|
|
101
|
+
* @param uid? 用户id
|
|
102
|
+
*/
|
|
103
|
+
export declare function removeConfig(mid: string, uid?: string): Promise<void>;
|
|
104
|
+
export declare function getColumnWidthConfig<T = ICustomData.ANY>({ table_id, uid }: {
|
|
105
|
+
table_id: string;
|
|
106
|
+
uid?: string;
|
|
107
|
+
}): Promise<T>;
|
|
108
|
+
export declare function setColumnWidthConfig({ table_id, uid }: {
|
|
109
|
+
table_id: string;
|
|
110
|
+
uid?: string;
|
|
111
|
+
}, val: unknown): Promise<any>;
|
|
112
|
+
/**
|
|
113
|
+
* 清除所有indexDB 数据库缓存
|
|
114
|
+
* @param exclude 排除不需要删除的数据库
|
|
115
|
+
*/
|
|
116
|
+
export declare function clearAllIndexDB(exclude?: string[]): Promise<void>;
|
|
117
|
+
interface SYSTEM_PARAMS {
|
|
118
|
+
param_name: string;
|
|
119
|
+
param_code: string;
|
|
120
|
+
param_value: string;
|
|
121
|
+
param_status: string;
|
|
122
|
+
is_show: string;
|
|
123
|
+
id: string;
|
|
124
|
+
json_data?: string;
|
|
125
|
+
}
|
|
126
|
+
interface LOCAL_SYSTEM_PARAMS {
|
|
127
|
+
code: number;
|
|
128
|
+
msg: string;
|
|
129
|
+
data: SYSTEM_PARAMS[];
|
|
130
|
+
}
|
|
131
|
+
/**
|
|
132
|
+
* 系统参数
|
|
133
|
+
* @param param.project_code 项目类型
|
|
134
|
+
* @param param.param_type 系统参数类别
|
|
135
|
+
*/
|
|
136
|
+
export declare function getSystemParams(param?: Record<string, string> & {
|
|
137
|
+
project_code?: string;
|
|
138
|
+
}): Promise<SYSTEM_PARAMS[]>;
|
|
139
|
+
/**
|
|
140
|
+
* 获取门店所有系统参数
|
|
141
|
+
*/
|
|
142
|
+
export declare function getStoreSystemParams(param?: Record<string, string> & {
|
|
143
|
+
project_code?: string;
|
|
144
|
+
}): Promise<Record<string, SYSTEM_PARAMS>>;
|
|
145
|
+
/**
|
|
146
|
+
* 设置系统参数
|
|
147
|
+
* @param data
|
|
148
|
+
*/
|
|
149
|
+
export declare function setLocalSystemParams(data: LOCAL_SYSTEM_PARAMS["data"]): Promise<void>;
|
|
150
|
+
export type DICT_DATA_FIELD = {
|
|
151
|
+
show: boolean;
|
|
152
|
+
show_name: string;
|
|
153
|
+
id: string;
|
|
154
|
+
sort: number;
|
|
155
|
+
is_default: string;
|
|
156
|
+
dict_child_code: string;
|
|
157
|
+
dict_child_name: string;
|
|
158
|
+
};
|
|
159
|
+
/** 获取当前菜单id下字典列表数据(不调用接口方式)
|
|
160
|
+
* @param mid 菜单id,此项不输入的话会取值url中的mid
|
|
161
|
+
* @param uid 用户id,可选,不写的话默认读取系统用户id
|
|
162
|
+
*/
|
|
163
|
+
export declare function getDictListByMid(id?: string, uid?: string): Promise<Record<string, DICT_DATA_FIELD[]>>;
|
|
164
|
+
/**
|
|
165
|
+
* 获取当前菜单id下数据字典列表 (使用接口获取数据字典权限)
|
|
166
|
+
* @param mid 菜单id,此项不输入的话会取值url中的mid
|
|
167
|
+
* @param uid 用户id,可选,不写的话默认读取系统用户id
|
|
168
|
+
*/
|
|
169
|
+
export declare function getDataDictListByMid(id?: string, uid?: string): Promise<Record<string, DICT_DATA_FIELD[]>>;
|
|
170
|
+
/** 通过菜单id获取权限字段数据
|
|
171
|
+
* @param mid 菜单id,可选,不写的话默认读取链接地址mid
|
|
172
|
+
* @param uid 用户id,可选,不写的话默认读取系统用户id
|
|
173
|
+
*/
|
|
174
|
+
export declare function getAuthFieldsByMid(id?: string, uid?: string): Promise<{}>;
|
|
175
|
+
export {};
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* 颜色转换函数
|
|
3
|
+
* @method hexToRgb hex 颜色转 rgb 颜色
|
|
4
|
+
* @method rgbToHex rgb 颜色转 Hex 颜色
|
|
5
|
+
* @method getDarkColor 加深颜色值
|
|
6
|
+
* @method getLightColor 变浅颜色值
|
|
7
|
+
*/
|
|
8
|
+
export declare function useChangeColor(): {
|
|
9
|
+
hexToRgb: (str: string) => any;
|
|
10
|
+
rgbToHex: (r: number, g: number, b: number) => string;
|
|
11
|
+
getDarkColor: (color: string, level: number) => string;
|
|
12
|
+
getLightColor: (color: string, level: number) => string;
|
|
13
|
+
};
|