hs-admin-ui 15.5.3 → 15.5.4
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-CaJjqyzR.mjs +4 -0
- package/dist/bcIcon-D6INZFFL.js +1 -0
- package/dist/index-B73QQLCi.mjs +144167 -0
- package/dist/index-BlijNcTF.js +349 -0
- package/dist/index.css +1 -0
- package/dist/index.js +1 -1
- package/dist/index.mjs +171 -169
- 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 +2 -0
- package/dist/types/src/components/base/Descriptions/src/Descriptions.vue.d.ts +3 -0
- package/dist/types/src/components/base/Descriptions/src/DescriptionsItem.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 +30 -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/Pagination/index.d.ts +1 -0
- package/dist/types/src/components/base/Pagination/src/Pagination.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 +17 -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 +37 -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/TimePicker/index.d.ts +1 -0
- package/dist/types/src/components/base/TimePicker/src/TimePicker.vue.d.ts +3 -0
- package/dist/types/src/components/base/TimeSelect/index.d.ts +1 -0
- package/dist/types/src/components/base/TimeSelect/src/TimeSelect.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 +59 -0
- package/dist/types/src/components/base/index.d.ts +187 -0
- package/dist/types/src/components/business/bcBox/bcBox.vue.d.ts +48 -0
- package/dist/types/{components → src/components}/business/bcBox/utils.d.ts +10 -11
- package/dist/types/src/components/business/bcBreadcrumb/bcBreadcrumb.vue.d.ts +14 -0
- package/dist/types/{components → src/components}/business/bcBreadcrumb/index.d.ts +1 -2
- 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/{components → src/components}/business/bcForm/type.d.ts +6 -7
- 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/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/{components → src/components}/business/bcSystemAuth/components/selectAll/index.d.ts +2 -3
- 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/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/{components → src/components}/business/bcSystemAuth/fastStore.d.ts +48 -49
- package/dist/types/{components → src/components}/business/bcSystemAuth/fastUtils.d.ts +28 -30
- 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/{components → src/components}/business/bcSystemAuth/store.d.ts +48 -49
- 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/{components → src/components}/business/bcSystemAuth/utils.d.ts +28 -30
- 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/{components → src/components}/business/bcSystemField/components/selectAll/index.d.ts +4 -5
- 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/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/{components → src/components}/business/bcSystemField/store.d.ts +39 -40
- package/dist/types/src/components/business/bcSystemField/useAuth.d.ts +14 -0
- package/dist/types/{components → src/components}/business/bcSystemField/utils.d.ts +20 -21
- 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/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/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/{components → src/components}/business/bcTable/components/query/useQuickSearch.d.ts +2 -3
- 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/sortColumn.vue.d.ts +16 -0
- package/dist/types/{components → src/components}/business/bcTable/components/table/components/sortColumn/types.d.ts +1 -2
- package/dist/types/src/components/business/bcTable/components/table/table.vue.d.ts +64 -0
- package/dist/types/{components → src/components}/business/bcTable/components/table/useTable.d.ts +5 -5
- package/dist/types/src/components/business/bcTable/components/table/useTableHeight.d.ts +23 -0
- package/dist/types/{components → src/components}/business/bcTable/methods/cellDetailMethod.d.ts +0 -1
- package/dist/types/{components → src/components}/business/bcTable/methods/filterAgeMethod.d.ts +0 -1
- package/dist/types/{components → src/components}/business/bcTable/methods/footerMethod.d.ts +1 -2
- package/dist/types/{components → src/components}/business/bcTable/methods/formBtnMethod.d.ts +1 -2
- package/dist/types/{components → src/components}/business/bcTable/methods/index.d.ts +1 -2
- package/dist/types/{components → src/components}/business/bcTable/utils/authField.d.ts +1 -2
- package/dist/types/{components → src/components}/business/bcTable/utils/onFormKey.d.ts +4 -5
- package/dist/types/{components → src/components}/business/bcTable/utils/onTableKey.d.ts +5 -6
- package/dist/types/{components → src/components}/business/bcTable/utils/parseTable.d.ts +20 -21
- package/dist/types/{components → src/components}/business/bcTable/utils/type.d.ts +11 -12
- package/dist/types/{components → src/components}/business/bcTable/utils/useBcTable.d.ts +7075 -7081
- package/dist/types/{components → src/components}/business/bcTable/utils/useButon.d.ts +5 -6
- package/dist/types/src/components/business/bcTable/utils/useFormTableHeight.d.ts +18 -0
- package/dist/types/{components → src/components}/business/bcTable/utils/useKeydownEvent.d.ts +17 -18
- 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/{components → src/components}/business/bcVisual/bcVisual.vue.d.ts +9 -8
- package/dist/types/{components → src/components}/business/bcVisual/components/setting/dragItem.vue.d.ts +16 -9
- 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/{components → src/components}/business/bcVisual/components/setting/useDrag.d.ts +2 -4
- package/dist/types/src/components/business/bcVisual/components/table/table.vue.d.ts +6 -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/{components → src/components}/business/bcVisual/components/updateSql/index.d.ts +1 -2
- package/dist/types/{components → src/components}/business/bcVisual/components/updateSql/nodeTree/index.d.ts +1 -2
- 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/{components → src/components}/business/bcVisual/useTableFormat.d.ts +28 -29
- package/dist/types/{components → src/components}/business/bcVisual/utils.d.ts +1 -3
- package/dist/types/src/components/business/index.d.ts +52 -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/{types → src/types}/auth.d.ts +1 -2
- package/dist/types/{types → src/types}/components.d.ts +1 -2
- package/dist/types/{types → src/types}/customData.d.ts +16 -17
- package/dist/types/{types → src/types}/form.d.ts +1 -2
- package/dist/types/{types → src/types}/formItem/autocomplete.d.ts +1 -2
- package/dist/types/{types → src/types}/formItem/checkbox.d.ts +1 -2
- package/dist/types/{types → src/types}/formItem/input.d.ts +1 -2
- package/dist/types/{types → src/types}/formItem/inputGroup.d.ts +1 -2
- package/dist/types/{types → src/types}/formItem/inputNumber.d.ts +1 -2
- package/dist/types/{types → src/types}/formItem/radio.d.ts +1 -2
- package/dist/types/{types → src/types}/formItem/selelct.d.ts +1 -2
- package/dist/types/{types → src/types}/formItem/treeSelect.d.ts +1 -2
- package/dist/types/{utils → src/utils}/arrayOperation.d.ts +1 -1
- package/dist/types/{utils → src/utils}/common.d.ts +3 -4
- package/dist/types/src/utils/commonFunction.d.ts +14 -0
- package/dist/types/{utils → src/utils}/download.d.ts +4 -4
- package/dist/types/{utils → src/utils}/getDataType.d.ts +2 -3
- package/dist/types/src/utils/index.d.ts +26 -0
- package/dist/types/{utils/loading.d.ts → src/utils/loading/index.d.ts} +1 -1
- package/dist/types/src/utils/lodash.d.ts +2 -0
- package/dist/types/{utils → src/utils}/mitt.d.ts +2 -3
- package/dist/types/{utils → src/utils}/number.d.ts +2 -14
- package/dist/types/{utils → src/utils}/other.d.ts +11 -12
- package/dist/types/src/utils/request/index.d.ts +6 -0
- package/dist/types/{utils → src/utils}/request/interceptors/request/authorization.interceptor.d.ts +1 -2
- package/dist/types/{utils → src/utils}/request/interceptors/request/result.type.interceptor.d.ts +6 -2
- package/dist/types/{utils → src/utils}/request/interceptors/request/undefined-params-handler.interceptor.d.ts +13 -2
- package/dist/types/{utils → src/utils}/request/interceptors/response/error-handler.interceptor.d.ts +1 -2
- package/dist/types/{utils → src/utils}/request/repeatRequest.d.ts +1 -2
- package/dist/types/src/utils/request/request.d.ts +6 -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/{utils → src/utils}/showPopup/index.d.ts +5 -6
- package/dist/types/src/utils/showPopup/showPopup.vue.d.ts +56 -0
- package/dist/types/{utils → src/utils}/storage.d.ts +12 -14
- package/dist/types/{utils → src/utils}/tree.d.ts +3 -4
- package/dist/types/{utils → src/utils}/url.d.ts +2 -3
- package/package.json +16 -41
- package/LICENSE +0 -21
- package/dist/401-CaFGhD56.js +0 -1
- package/dist/401-dNBqBBQB.mjs +0 -56
- package/dist/404-BBjjPQnq.js +0 -1
- package/dist/404-BBjjPQnq.js.gz +0 -0
- package/dist/404-CXaFz1H_.mjs +0 -61
- package/dist/404-CXaFz1H_.mjs.gz +0 -0
- package/dist/account-Dl2F8kzB.mjs +0 -215
- package/dist/account-j6DmqhU5.js +0 -1
- package/dist/aside-DYuDthGf.js +0 -1
- package/dist/aside-U9WBrI1F.mjs +0 -164
- package/dist/baseBtnConfig-C6KLedE5.mjs +0 -273
- package/dist/baseBtnConfig-DRxjBT8Z.js +0 -1
- package/dist/baseFormConfig-BaFbaMWd.mjs +0 -722
- package/dist/baseFormConfig-BaFbaMWd.mjs.gz +0 -0
- package/dist/baseFormConfig-BfwuF6e2.mjs +0 -504
- package/dist/baseFormConfig-BfwuF6e2.mjs.gz +0 -0
- package/dist/baseFormConfig-D0n1_pUw.js +0 -1
- package/dist/baseFormConfig-D5Q35Bo3.js +0 -1
- package/dist/baseTableConfig-Cqz33Bik.mjs +0 -2624
- package/dist/baseTableConfig-Cqz33Bik.mjs.gz +0 -0
- package/dist/baseTableConfig-Tc9NkB4Z.js +0 -1
- package/dist/baseTableConfig-Tc9NkB4Z.js.gz +0 -0
- package/dist/bcFormConfig-De_NDIJX.js +0 -1
- package/dist/bcFormConfig-k01YVL7i.mjs +0 -234
- package/dist/bcPageTreeBySystem.vue_vue_type_script_setup_true_lang-Cinv4rqH.mjs +0 -131
- package/dist/bcPageTreeBySystem.vue_vue_type_script_setup_true_lang-DYPKK-F9.js +0 -1
- package/dist/bcSwitchSystems.vue_vue_type_script_setup_true_lang-CBnZ0Gtd.js +0 -1
- package/dist/bcSwitchSystems.vue_vue_type_script_setup_true_lang-ap2SoWQx.mjs +0 -101
- package/dist/btnIndex-BWYqart_.js +0 -1
- package/dist/btnIndex-CIxuTGaV.mjs +0 -287
- package/dist/btnIndex-CIxuTGaV.mjs.gz +0 -0
- package/dist/classic-BHDWrphH.mjs +0 -81
- package/dist/classic-Cggtuvww.js +0 -1
- package/dist/cloneConfigDialog-C-Wgt6lp.mjs +0 -817
- package/dist/cloneConfigDialog-C-Wgt6lp.mjs.gz +0 -0
- package/dist/cloneConfigDialog-DStfblnx.js +0 -1
- package/dist/cloneConfigDialog-DStfblnx.js.gz +0 -0
- package/dist/columns-Co0sc2Vp.mjs +0 -87
- package/dist/columns-KUgBQ-bi.js +0 -1
- package/dist/columnsAside-6e_Rdbm2.js +0 -1
- package/dist/columnsAside-BqApWcwH.mjs +0 -220
- package/dist/contextmenu-0Efiyp1u.mjs +0 -125
- package/dist/contextmenu-BBMMi-TN.mjs +0 -125
- package/dist/contextmenu-CCDgfmrK.js +0 -1
- package/dist/contextmenu-D5Ssw8tr.js +0 -1
- package/dist/copyMenuConfig-M_voURcU.mjs +0 -4
- package/dist/copyMenuConfig-reOnQJ5_.js +0 -1
- package/dist/copyMenuConfig.vue_vue_type_script_setup_true_lang-1WltOLrD.mjs +0 -85
- package/dist/copyMenuConfig.vue_vue_type_script_setup_true_lang-Bn7uwbn6.js +0 -1
- package/dist/copySystem-BYNmlnJJ.js +0 -1
- package/dist/copySystem-CU-ec_wc.mjs +0 -4
- package/dist/copySystem.vue_vue_type_script_setup_true_lang-BQdZABZN.mjs +0 -78
- package/dist/copySystem.vue_vue_type_script_setup_true_lang-DVIPeHaZ.js +0 -1
- package/dist/defaults-C8u0Ixi6.js +0 -1
- package/dist/defaults-DbE_9uBD.mjs +0 -86
- package/dist/dialog-BpY5TPcI.mjs +0 -365
- package/dist/dialog-BpY5TPcI.mjs.gz +0 -0
- package/dist/dialog-C3qdP9_7.mjs +0 -4
- package/dist/dialog-CbtiX4bf.js +0 -1
- package/dist/dialog-Crw1svNb.mjs +0 -4
- package/dist/dialog-D2oaUQ1K.js +0 -1
- package/dist/dialog-DQP53khI.mjs +0 -359
- package/dist/dialog-DQP53khI.mjs.gz +0 -0
- package/dist/dialog-DpdeHbfb.js +0 -1
- package/dist/dialog-DxBOYlwo.js +0 -1
- package/dist/dialog-TFJ52Qpk.js +0 -1
- package/dist/dialog-yPzNGOhd.mjs +0 -10
- package/dist/dialog.vue_vue_type_script_setup_true_name_dataAuthDialog_lang-BXa1w9sl.js +0 -1
- package/dist/dialog.vue_vue_type_script_setup_true_name_dataAuthDialog_lang-Cj6QZ_1n.mjs +0 -220
- package/dist/dialog.vue_vue_type_script_setup_true_name_systemMenuDialog_lang-C-2ohzef.mjs +0 -694
- package/dist/dialog.vue_vue_type_script_setup_true_name_systemMenuDialog_lang-C-2ohzef.mjs.gz +0 -0
- package/dist/dialog.vue_vue_type_script_setup_true_name_systemMenuDialog_lang-DDxJaope.js +0 -1
- package/dist/dialog.vue_vue_type_script_setup_true_name_systemMenuDialog_lang-DDxJaope.js.gz +0 -0
- package/dist/dictDialog-2-XNTIeA.js +0 -1
- package/dist/dictDialog-Xiry_5wf.mjs +0 -4
- package/dist/dictDialog.vue_vue_type_script_setup_true_name_dictDialog_lang-CYIV2qih.js +0 -1
- package/dist/dictDialog.vue_vue_type_script_setup_true_name_dictDialog_lang-nAtI0_qU.mjs +0 -154
- package/dist/dictItemDialog-Clje_DKj.mjs +0 -4
- package/dist/dictItemDialog-z9uIEmqs.js +0 -1
- package/dist/dictItemDialog.vue_vue_type_script_setup_true_lang-BYoT3YIw.mjs +0 -231
- package/dist/dictItemDialog.vue_vue_type_script_setup_true_lang-C7wUo8tZ.js +0 -1
- package/dist/favicon.ico +0 -0
- package/dist/formConfig-Ci7tuaaU.js +0 -1
- package/dist/formConfig-Ci7tuaaU.js.gz +0 -0
- package/dist/formConfig-DwB-R3is.mjs +0 -592
- package/dist/formConfig-DwB-R3is.mjs.gz +0 -0
- package/dist/header-BIFSpl3F.mjs +0 -28
- package/dist/header-SxlPkWE1.js +0 -1
- package/dist/horizontal-BMBXN_h_.js +0 -1
- package/dist/horizontal-DEV7AR_G.mjs +0 -151
- package/dist/hsAttrBtn-CFzqiBsx.mjs +0 -4
- package/dist/hsAttrBtn-R49LSu_d.js +0 -1
- package/dist/hsAttrBtn.vue_vue_type_script_setup_true_lang-BA5qD9D_.mjs +0 -128
- package/dist/hsAttrBtn.vue_vue_type_script_setup_true_lang-l3_0rFKn.js +0 -1
- package/dist/hsAttrForm-B2BhYTdK.mjs +0 -4
- package/dist/hsAttrForm-Dax6V0Jm.js +0 -1
- package/dist/hsAttrForm.vue_vue_type_script_setup_true_lang-CKrb7xs8.js +0 -1
- package/dist/hsAttrForm.vue_vue_type_script_setup_true_lang-CT1OxoWO.mjs +0 -439
- package/dist/hsAttrForm.vue_vue_type_script_setup_true_lang-CT1OxoWO.mjs.gz +0 -0
- package/dist/hsBtnConfigList-BOlR66mr.js +0 -1
- package/dist/hsBtnConfigList-CL1Pbm8t.mjs +0 -117
- package/dist/hsBtnItemConfig-ChdcqgZp.mjs +0 -4
- package/dist/hsBtnItemConfig-pecTB5lk.js +0 -1
- package/dist/hsBtnItemConfig.vue_vue_type_script_setup_true_lang-2guM43p0.js +0 -1
- package/dist/hsBtnItemConfig.vue_vue_type_script_setup_true_lang-lsmFzJFI.mjs +0 -147
- package/dist/hsBtnPanel-83nht1UQ.js +0 -1
- package/dist/hsBtnPanel-CDXIlZ_p.mjs +0 -4
- package/dist/hsBtnPanel.vue_vue_type_script_setup_true_name_formPanel_lang-DA7FmG0n.mjs +0 -67
- package/dist/hsBtnPanel.vue_vue_type_script_setup_true_name_formPanel_lang-u2pZC_gR.js +0 -1
- package/dist/hsCheckbox-BKa_El3s.js +0 -1
- package/dist/hsCheckbox-CalDndlZ.mjs +0 -4
- package/dist/hsCheckbox.vue_vue_type_script_setup_true_lang-Dh-lqGjq.js +0 -1
- package/dist/hsCheckbox.vue_vue_type_script_setup_true_lang-XCUyHi8X.mjs +0 -28
- package/dist/hsExpand-B1cUAaAw.mjs +0 -4
- package/dist/hsExpand-Bwd73fvo.js +0 -1
- package/dist/hsExpand.vue_vue_type_script_setup_true_lang-BNyT0h7t.js +0 -1
- package/dist/hsExpand.vue_vue_type_script_setup_true_lang-ezt_aGUO.mjs +0 -285
- package/dist/hsFormConfig-B6c-_yYP.js +0 -1
- package/dist/hsFormConfig-XU9bJ3kx.mjs +0 -207
- package/dist/hsFormConfigList-TKRLW26e.mjs +0 -414
- package/dist/hsFormConfigList-TKRLW26e.mjs.gz +0 -0
- package/dist/hsFormConfigList-dZqSrJSK.js +0 -1
- package/dist/hsFormPanel-CGFysBUk.mjs +0 -238
- package/dist/hsFormPanel-CGFysBUk.mjs.gz +0 -0
- package/dist/hsFormPanel-kYjgElFR.js +0 -1
- package/dist/hsFormParse-BNbnHW6i.mjs +0 -4
- package/dist/hsFormParse-CORdqc6m.js +0 -1
- package/dist/hsFormParse.vue_vue_type_script_setup_true_lang-Ch8RhdXV.mjs +0 -242
- package/dist/hsFormParse.vue_vue_type_script_setup_true_lang-Dhlc8D2i.js +0 -1
- package/dist/hsPanelItem-BOZ1av6y.js +0 -1
- package/dist/hsPanelItem-tPpJnnJd.mjs +0 -4
- package/dist/hsPanelItem.vue_vue_type_script_setup_true_name_panelItem_lang-Dao7NDhZ.mjs +0 -86
- package/dist/hsPanelItem.vue_vue_type_script_setup_true_name_panelItem_lang-KozoMnkD.js +0 -1
- package/dist/iframes-CWdXFiYU.mjs +0 -122
- package/dist/iframes-DnAW1ZV2.js +0 -1
- package/dist/index copy-DFE_yWCx.mjs +0 -69
- package/dist/index copy-DkSt5nzl.js +0 -1
- package/dist/index copy-DtsDgBF8.mjs +0 -134
- package/dist/index copy-tJ9FVsS0.js +0 -1
- package/dist/index-0EMZK_Ri.mjs +0 -10
- package/dist/index-24BJiQB9.js +0 -1
- package/dist/index-3R5jyrHz.mjs +0 -4
- package/dist/index-4ncpQ4eO.js +0 -1
- package/dist/index-7sWorN-E.mjs +0 -10
- package/dist/index-B1OFpRFB.js +0 -1
- package/dist/index-B3waQo6j.mjs +0 -331
- package/dist/index-B3waQo6j.mjs.gz +0 -0
- package/dist/index-B9WSj98p.mjs +0 -173
- package/dist/index-BENZ2WH6.mjs +0 -1009
- package/dist/index-BENZ2WH6.mjs.gz +0 -0
- package/dist/index-BIgnSPCb.js +0 -1
- package/dist/index-BLGhN7h0.js +0 -1
- package/dist/index-BM5nAlyo.js +0 -1
- package/dist/index-BO1FveAU.js +0 -1
- package/dist/index-BPcf0Qgl.js +0 -1
- package/dist/index-BRmPrBX8.js +0 -1
- package/dist/index-BTs82niR.js +0 -1
- package/dist/index-BU8dO1hT.js +0 -1
- package/dist/index-BUojF4y6.mjs +0 -4
- package/dist/index-BXJWAHGd.mjs +0 -254
- package/dist/index-BfOP9sXo.js +0 -1
- package/dist/index-Bg2dWQkx.mjs +0 -152
- package/dist/index-BhMp70XH.mjs +0 -94
- package/dist/index-Bhj2Qelk.js +0 -1
- package/dist/index-BiE_2Gfj.js +0 -1
- package/dist/index-BmHxBvI1.js +0 -1
- package/dist/index-BoPRlzO3.mjs +0 -4
- package/dist/index-BpCPATgk.js +0 -1
- package/dist/index-BrlBUe6h.mjs +0 -133
- package/dist/index-Bvr5XYtq.mjs +0 -73
- package/dist/index-CF51_jlI.js +0 -1
- package/dist/index-CH_1fUdz.mjs +0 -30
- package/dist/index-CJNK6Cjy.js +0 -1
- package/dist/index-CLq_LQxX.js +0 -1
- package/dist/index-CLq_LQxX.js.gz +0 -0
- package/dist/index-CPj-Yh8g.js +0 -1
- package/dist/index-CPz6ggKd.mjs +0 -4
- package/dist/index-CUE6cOFE.mjs +0 -76
- package/dist/index-CVRPmktf.js +0 -1
- package/dist/index-CXgFr4Ld.mjs +0 -65
- package/dist/index-CYGyHWBv.mjs +0 -258264
- package/dist/index-CYGyHWBv.mjs.gz +0 -0
- package/dist/index-C_ugVEaP.mjs +0 -119
- package/dist/index-CbCppT2z.js +0 -1
- package/dist/index-CbgKih92.js +0 -1
- package/dist/index-Ci6RD5--.js +0 -1
- package/dist/index-Ci6RD5--.js.gz +0 -0
- package/dist/index-CjgoMe9f.mjs +0 -5403
- package/dist/index-CjgoMe9f.mjs.gz +0 -0
- package/dist/index-CnF3_P-G.js +0 -1
- package/dist/index-Cqp3Jnya.mjs +0 -95
- package/dist/index-CyV3ZVir.js +0 -1
- package/dist/index-D-2xfhbK.js +0 -1
- package/dist/index-D2GFhA-V.mjs +0 -47
- package/dist/index-D2Jd-mM6.mjs +0 -4
- package/dist/index-D6ZLwYDH.mjs +0 -89
- package/dist/index-DC-Js6Hi.js +0 -1
- package/dist/index-DCbmeDfO.js +0 -1
- package/dist/index-DCqtHRF9.mjs +0 -23
- package/dist/index-DDqY4_A5.mjs +0 -14
- package/dist/index-DEykAVeO.js +0 -1
- package/dist/index-DFIV43KD.js +0 -1
- package/dist/index-DHHcO6BG.js +0 -1
- package/dist/index-DJA7OrZO.js +0 -1
- package/dist/index-DKCFYKAH.js +0 -1
- package/dist/index-DNDaCoMF.js +0 -1
- package/dist/index-DRBjUBTG.mjs +0 -65
- package/dist/index-DT3c6iM1.mjs +0 -49
- package/dist/index-DTZW2hE_.js +0 -1
- package/dist/index-DWkT7_xS.mjs +0 -200
- package/dist/index-DXXKvOqN.mjs +0 -67
- package/dist/index-DZ_UFJE2.mjs +0 -43
- package/dist/index-Db25V09U.mjs +0 -73
- package/dist/index-DdVbsoiV.js +0 -1
- package/dist/index-Dgj5D7n5.mjs +0 -262
- package/dist/index-Dlp-NK3p.mjs +0 -172
- package/dist/index-DnFBRN9K.js +0 -110
- package/dist/index-DnFBRN9K.js.gz +0 -0
- package/dist/index-DvbPzC-6.js +0 -1
- package/dist/index-Dz9KzQ5V.mjs +0 -50
- package/dist/index-DzuU21Ls.js +0 -1
- package/dist/index-GKB-XroO.mjs +0 -22
- package/dist/index-J73yPVKq.mjs +0 -285
- package/dist/index-OdAUnbSV.mjs +0 -131
- package/dist/index-PCI3lWru.mjs +0 -38
- package/dist/index-PFUkwGmD.js +0 -1
- package/dist/index-PFUkwGmD.js.gz +0 -0
- package/dist/index-TmdsXxg4.mjs +0 -403
- package/dist/index-TmdsXxg4.mjs.gz +0 -0
- package/dist/index-URGFFXl5.js +0 -1
- package/dist/index-W8MzP83s.mjs +0 -213
- package/dist/index-YTNJNmBt.js +0 -1
- package/dist/index-Z83-84L3.js +0 -1
- package/dist/index-ZKhBU3tw.js +0 -1
- package/dist/index-aOzMz2B9.mjs +0 -51
- package/dist/index-bZH91HoC.mjs +0 -2208
- package/dist/index-bZH91HoC.mjs.gz +0 -0
- package/dist/index-feq0FF6W.mjs +0 -23
- package/dist/index-g_BDa62N.mjs +0 -19
- package/dist/index.vue_vue_type_script_setup_true_lang-B1f-mj3k.mjs +0 -103
- package/dist/index.vue_vue_type_script_setup_true_lang-BtDusFoW.js +0 -1
- package/dist/index.vue_vue_type_script_setup_true_lang-BxsT79jf.js +0 -1
- package/dist/index.vue_vue_type_script_setup_true_lang-C0UurXCc.js +0 -1
- package/dist/index.vue_vue_type_script_setup_true_lang-CFxpNArv.mjs +0 -97
- package/dist/index.vue_vue_type_script_setup_true_lang-Ch2lZaTn.mjs +0 -194
- package/dist/index.vue_vue_type_script_setup_true_lang-Dv-kZosQ.mjs +0 -267
- package/dist/index.vue_vue_type_script_setup_true_lang-Dv-kZosQ.mjs.gz +0 -0
- package/dist/index.vue_vue_type_script_setup_true_lang-IJKBTB3Y.js +0 -1
- package/dist/index.vue_vue_type_script_setup_true_name_iconSelector_lang-CZUzRg_n.js +0 -1
- package/dist/index.vue_vue_type_script_setup_true_name_iconSelector_lang-NkgQCBte.mjs +0 -288
- package/dist/index.vue_vue_type_script_setup_true_name_iconSelector_lang-NkgQCBte.mjs.gz +0 -0
- package/dist/lib-generate-test-usersig.min.js +0 -2
- package/dist/lib-generate-test-usersig.min.js.gz +0 -0
- package/dist/link-B9jZK3Co.js +0 -1
- package/dist/link-x-yMf2aU.mjs +0 -63
- package/dist/list-CGMCMNPw.js +0 -1
- package/dist/list-CpLsLqR3.mjs +0 -85
- package/dist/logo-mini-BQ9BrQ1U.mjs +0 -4
- package/dist/logo-mini-DwRdfcE7.js +0 -1
- package/dist/main-CeHb7mmf.mjs +0 -72
- package/dist/main-VC_qocWi.js +0 -1
- package/dist/mobile-BYhQ989p.mjs +0 -115
- package/dist/mobile-DKd-GevH.js +0 -1
- package/dist/parent-BrZUDcxI.mjs +0 -131
- package/dist/parent-Cqft6ke8.js +0 -1
- package/dist/popup-B8dQsRMA.mjs +0 -4
- package/dist/popup-BhaF4a5x.js +0 -1
- package/dist/popup.vue_vue_type_script_setup_true_name_replaceRules_lang-6oT8xreJ.mjs +0 -89
- package/dist/popup.vue_vue_type_script_setup_true_name_replaceRules_lang-UweFIPnt.js +0 -1
- package/dist/roleItem-sC4o_Aj4.mjs +0 -103
- package/dist/roleItem-yqdApgll.js +0 -1
- package/dist/saveForm-C2E9Y6ON.mjs +0 -160
- package/dist/saveForm-TjA9LESw.js +0 -1
- package/dist/scan-BnUS-AoC.js +0 -1
- package/dist/scan-BnUS-AoC.js.gz +0 -0
- package/dist/scan-DoY8mPqe.mjs +0 -945
- package/dist/scan-DoY8mPqe.mjs.gz +0 -0
- package/dist/search-BS0R6DrM.js +0 -1
- package/dist/search-DI-pcuZu.mjs +0 -114
- package/dist/selectConfig-CnxTVchz.mjs +0 -546
- package/dist/selectConfig-CnxTVchz.mjs.gz +0 -0
- package/dist/selectConfig-D2HVovD8.js +0 -1
- package/dist/shortcutList-BXBGQdNn.mjs +0 -76
- package/dist/shortcutList-WSi4lUlm.js +0 -1
- package/dist/style.css +0 -1
- package/dist/style.css.gz +0 -0
- package/dist/subItem-BfyxcMb4.js +0 -1
- package/dist/subItem-DUZskY5M.mjs +0 -77
- package/dist/tagsView-Dft974Qb.mjs +0 -2695
- package/dist/tagsView-Dft974Qb.mjs.gz +0 -0
- package/dist/tagsView-PBsI_cCp.js +0 -8
- package/dist/tagsView-PBsI_cCp.js.gz +0 -0
- package/dist/transverse-CjKbGMR0.js +0 -1
- package/dist/transverse-cTm57se-.mjs +0 -65
- package/dist/types/components/business/bcBox/bcBox.vue.d.ts +0 -66
- package/dist/types/components/business/bcBreadcrumb/bcBreadcrumb.vue.d.ts +0 -23
- package/dist/types/components/business/bcForm/baseForm.vue.d.ts +0 -273
- package/dist/types/components/business/bcForm/bcForm.vue.d.ts +0 -42
- package/dist/types/components/business/bcForm/useGuide.d.ts +0 -564
- package/dist/types/components/business/bcSystemAuth/components/data.vue.d.ts +0 -3
- package/dist/types/components/business/bcSystemAuth/components/dict.vue.d.ts +0 -3
- package/dist/types/components/business/bcSystemAuth/components/fastSet/popup.vue.d.ts +0 -17
- package/dist/types/components/business/bcSystemAuth/components/field.vue.d.ts +0 -3
- package/dist/types/components/business/bcSystemAuth/components/form.vue.d.ts +0 -13
- package/dist/types/components/business/bcSystemAuth/components/selectAll/index.vue.d.ts +0 -5
- package/dist/types/components/business/bcSystemAuth/components/table.vue.d.ts +0 -13
- package/dist/types/components/business/bcSystemAuth/components/widget/btns.vue.d.ts +0 -15
- package/dist/types/components/business/bcSystemAuth/components/widget/form.vue.d.ts +0 -15
- package/dist/types/components/business/bcSystemAuth/components/widget/tab.vue.d.ts +0 -45
- package/dist/types/components/business/bcSystemAuth/components/widget/tables.vue.d.ts +0 -15
- package/dist/types/components/business/bcSystemAuth/components/widget/tablesWraper.vue.d.ts +0 -15
- package/dist/types/components/business/bcSystemAuth/index.d.ts +0 -3
- package/dist/types/components/business/bcSystemAuth/index.vue.d.ts +0 -26
- package/dist/types/components/business/bcSystemAuth/type.d.ts +0 -42
- package/dist/types/components/business/bcSystemAuth/useAuth.d.ts +0 -28
- package/dist/types/components/business/bcSystemField/components/field.vue.d.ts +0 -3
- package/dist/types/components/business/bcSystemField/components/form.vue.d.ts +0 -13
- package/dist/types/components/business/bcSystemField/components/selectAll/index.vue.d.ts +0 -5
- package/dist/types/components/business/bcSystemField/components/table.vue.d.ts +0 -13
- package/dist/types/components/business/bcSystemField/components/widget/form.vue.d.ts +0 -15
- package/dist/types/components/business/bcSystemField/components/widget/tab.vue.d.ts +0 -45
- package/dist/types/components/business/bcSystemField/components/widget/tables.vue.d.ts +0 -15
- package/dist/types/components/business/bcSystemField/components/widget/tablesWraper.vue.d.ts +0 -15
- package/dist/types/components/business/bcSystemField/index.d.ts +0 -3
- package/dist/types/components/business/bcSystemField/index.vue.d.ts +0 -16
- package/dist/types/components/business/bcSystemField/useAuth.d.ts +0 -16
- package/dist/types/components/business/bcTable/bcFormTable.vue.d.ts +0 -142
- package/dist/types/components/business/bcTable/bcTable.vue.d.ts +0 -51
- package/dist/types/components/business/bcTable/components/btn/btn.vue.d.ts +0 -77
- package/dist/types/components/business/bcTable/components/popup/index.d.ts +0 -3
- package/dist/types/components/business/bcTable/components/query/components/sortForm/sortForm.vue.d.ts +0 -23
- package/dist/types/components/business/bcTable/components/query/drag.vue.d.ts +0 -244
- package/dist/types/components/business/bcTable/components/query/query.vue.d.ts +0 -249
- package/dist/types/components/business/bcTable/components/table/colgroup.vue.d.ts +0 -28
- package/dist/types/components/business/bcTable/components/table/column.vue.d.ts +0 -35
- package/dist/types/components/business/bcTable/components/table/components/sortColumn/sortColumn.vue.d.ts +0 -25
- package/dist/types/components/business/bcTable/components/table/table.vue.d.ts +0 -67
- package/dist/types/components/business/bcTable/components/table/useTableHeight.d.ts +0 -25
- package/dist/types/components/business/bcTable/utils/useFormTableHeight.d.ts +0 -20
- package/dist/types/components/business/bcVisual/components/setting/extendItem.vue.d.ts +0 -13
- package/dist/types/components/business/bcVisual/components/setting/setting.vue.d.ts +0 -3
- package/dist/types/components/business/bcVisual/components/table/table.vue.d.ts +0 -6
- package/dist/types/components/business/bcVisual/components/updateName/popup.vue.d.ts +0 -17
- package/dist/types/components/business/bcVisual/components/updateSql/addCondition.vue.d.ts +0 -23
- package/dist/types/components/business/bcVisual/components/updateSql/nodeTree/index.vue.d.ts +0 -21
- package/dist/types/components/business/bcVisual/components/updateSql/nodeTree/nodeTree.vue.d.ts +0 -19
- package/dist/types/components/business/bcVisual/components/updateSql/popup.vue.d.ts +0 -17
- package/dist/types/plugins/index.d.ts +0 -33
- package/dist/types/types/system.d.ts +0 -14
- package/dist/types/utils/authFunction.d.ts +0 -18
- package/dist/types/utils/build.d.ts +0 -11
- package/dist/types/utils/commonFunction.d.ts +0 -29
- package/dist/types/utils/file.d.ts +0 -6
- package/dist/types/utils/getStyleSheets.d.ts +0 -11
- package/dist/types/utils/index.d.ts +0 -29
- package/dist/types/utils/lodash.d.ts +0 -3
- package/dist/types/utils/request/index.d.ts +0 -6
- package/dist/types/utils/request/request.d.ts +0 -7
- package/dist/types/utils/setIconfont.d.ts +0 -11
- package/dist/types/utils/showMessage.d.ts +0 -6
- package/dist/types/utils/showMessageBox.d.ts +0 -6
- package/dist/types/utils/showNotification.d.ts +0 -6
- package/dist/useConfigInfo-2zEYLSSs.js +0 -1
- package/dist/useConfigInfo-PTkkdx-l.mjs +0 -19
- package/dist/user-BVfFipEN.js +0 -1
- package/dist/user-BwTaSlHV.mjs +0 -246
- package/dist/userNews-Bu82hvh-.mjs +0 -72
- package/dist/userNews-CqtqTrvp.js +0 -1
- package/dist/userSelect-CTM8Fa6N.mjs +0 -4
- package/dist/userSelect-CpdC2OeS.js +0 -1
- package/dist/userSelect.vue_vue_type_script_setup_true_lang-BAeRpB4d.js +0 -1
- package/dist/userSelect.vue_vue_type_script_setup_true_lang-bmpwfuqr.mjs +0 -100
- package/dist/vertical-CQrO0kp6.js +0 -1
- package/dist/vertical-vdV35A3P.mjs +0 -133
- /package/dist/types/{components → src/components}/business/bcSystemAuth/components/fastSet/index.d.ts +0 -0
- /package/dist/types/{components → src/components}/business/bcSystemAuth/components/index.d.ts +0 -0
- /package/dist/types/{components → src/components}/business/bcSystemAuth/components/widget/index.d.ts +0 -0
- /package/dist/types/{components → src/components}/business/bcSystemField/components/index.d.ts +0 -0
- /package/dist/types/{components → src/components}/business/bcSystemField/components/widget/index.d.ts +0 -0
- /package/dist/types/{components → src/components}/business/bcTable/components/index.d.ts +0 -0
- /package/dist/types/{components → src/components}/business/bcTable/components/query/components/sortForm/index.d.ts +0 -0
- /package/dist/types/{components → src/components}/business/bcTable/components/table/components/sortColumn/index.d.ts +0 -0
- /package/dist/types/{components → src/components}/business/bcVisual/components/updateName/index.d.ts +0 -0
- /package/dist/types/{components → src/components}/business/bcVisual/type.d.ts +0 -0
- /package/dist/types/{types → src/types}/formItem/button.d.ts +0 -0
- /package/dist/types/{types → src/types}/formItem/index.d.ts +0 -0
- /package/dist/types/{types → src/types}/index.d.ts +0 -0
- /package/dist/types/{utils → src/utils}/cfprint.d.ts +0 -0
- /package/dist/types/{utils → src/utils}/crypto.d.ts +0 -0
- /package/dist/types/{utils → src/utils}/device_info.d.ts +0 -0
- /package/dist/types/{utils → src/utils}/formatTime.d.ts +0 -0
- /package/dist/types/{utils → src/utils}/request/interceptors/request/index.d.ts +0 -0
- /package/dist/types/{utils → src/utils}/request/interceptors/response/index.d.ts +0 -0
- /package/dist/types/{utils → src/utils}/shortcutList.d.ts +0 -0
- /package/dist/types/{utils → src/utils}/theme.d.ts +0 -0
- /package/dist/types/{utils → src/utils}/toolsValidate.d.ts +0 -0
- /package/dist/types/{utils → src/utils}/update.d.ts +0 -0
- /package/dist/types/{utils → src/utils}/watermark.d.ts +0 -0
|
@@ -1,2624 +0,0 @@
|
|
|
1
|
-
import { defineComponent, mergeModels, useModel, resolveComponent, createElementBlock, openBlock, normalizeClass, createElementVNode, createCommentVNode, createVNode, toDisplayString, renderSlot, ref } from "vue";
|
|
2
|
-
import { b as configElList } from "./baseFormConfig-BfwuF6e2.mjs";
|
|
3
|
-
const _hoisted_1 = { key: 0 };
|
|
4
|
-
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
5
|
-
__name: "hsExpand",
|
|
6
|
-
props: /* @__PURE__ */ mergeModels({
|
|
7
|
-
expandConfig: {
|
|
8
|
-
type: Object,
|
|
9
|
-
default: () => {
|
|
10
|
-
return {
|
|
11
|
-
iconSize: 18,
|
|
12
|
-
subTitle: "",
|
|
13
|
-
class: "",
|
|
14
|
-
rightSlot: ""
|
|
15
|
-
};
|
|
16
|
-
}
|
|
17
|
-
}
|
|
18
|
-
}, {
|
|
19
|
-
"modelValue": {},
|
|
20
|
-
"modelModifiers": {}
|
|
21
|
-
}),
|
|
22
|
-
emits: /* @__PURE__ */ mergeModels(["change"], ["update:modelValue"]),
|
|
23
|
-
setup(__props, { emit: __emit }) {
|
|
24
|
-
const emit = __emit;
|
|
25
|
-
const visible = useModel(__props, "modelValue");
|
|
26
|
-
const toggleExpand = () => {
|
|
27
|
-
visible.value = !visible.value;
|
|
28
|
-
emit("change", visible.value);
|
|
29
|
-
};
|
|
30
|
-
return (_ctx, _cache) => {
|
|
31
|
-
const _component_bc_icon = resolveComponent("bc-icon");
|
|
32
|
-
return openBlock(), createElementBlock("div", {
|
|
33
|
-
class: normalizeClass(["flex align-center justify-between cursor-pointer hover:bg-red-200", __props.expandConfig.class])
|
|
34
|
-
}, [
|
|
35
|
-
createElementVNode("div", {
|
|
36
|
-
class: "flex align-center flex-1",
|
|
37
|
-
onClick: toggleExpand
|
|
38
|
-
}, [
|
|
39
|
-
createVNode(_component_bc_icon, {
|
|
40
|
-
name: visible.value ? "ele-CaretBottom" : "ele-CaretRight",
|
|
41
|
-
size: 18
|
|
42
|
-
}, null, 8, ["name"]),
|
|
43
|
-
createElementVNode("div", null, toDisplayString(__props.expandConfig["subTitle"]), 1)
|
|
44
|
-
]),
|
|
45
|
-
__props.expandConfig.rightSlot ? (openBlock(), createElementBlock("div", _hoisted_1, [
|
|
46
|
-
renderSlot(_ctx.$slots, "default")
|
|
47
|
-
])) : createCommentVNode("", true)
|
|
48
|
-
], 2);
|
|
49
|
-
};
|
|
50
|
-
}
|
|
51
|
-
});
|
|
52
|
-
let baseData = ref({
|
|
53
|
-
id: "",
|
|
54
|
-
// 表格唯一标识
|
|
55
|
-
tableName: "表格配置名称",
|
|
56
|
-
// 表格配置名称
|
|
57
|
-
method: "get",
|
|
58
|
-
// 请求方式
|
|
59
|
-
requestParams: "",
|
|
60
|
-
// 默认不可变更参数
|
|
61
|
-
is_apply_page: true,
|
|
62
|
-
// 是否分页
|
|
63
|
-
showPagerAll: false,
|
|
64
|
-
// 是否显示总页全选数据复选框
|
|
65
|
-
isSimulate: false,
|
|
66
|
-
// 是否开启模拟分页
|
|
67
|
-
isGetCanche: false,
|
|
68
|
-
// 是否获取本地缓存数据
|
|
69
|
-
enablePopup: false,
|
|
70
|
-
// 是否允许自定义弹窗
|
|
71
|
-
isClosedKeyStroke: false,
|
|
72
|
-
// 是否关闭键盘事件
|
|
73
|
-
isClosedEditRow: false,
|
|
74
|
-
// 是否关闭点击行编辑模式
|
|
75
|
-
tabs: "card",
|
|
76
|
-
// 多标签显示模式
|
|
77
|
-
isCloseInitData: true,
|
|
78
|
-
// 是否关闭初始化数据
|
|
79
|
-
table_page_data: {
|
|
80
|
-
loading: false,
|
|
81
|
-
currentPage: 1,
|
|
82
|
-
pageSize: 10,
|
|
83
|
-
total: 0,
|
|
84
|
-
pagerCount: 7,
|
|
85
|
-
pageSizes: "string=[10,15,20,50,100]",
|
|
86
|
-
align: "right",
|
|
87
|
-
border: false,
|
|
88
|
-
background: false,
|
|
89
|
-
perfect: false,
|
|
90
|
-
autoHidden: false
|
|
91
|
-
},
|
|
92
|
-
// 表格分页配置
|
|
93
|
-
// 动态配置列
|
|
94
|
-
dynamicColumn: {
|
|
95
|
-
isDynamicRequestConfig: false,
|
|
96
|
-
// 是否动态请求配置
|
|
97
|
-
requestDynamicUrl: "",
|
|
98
|
-
// 请求动态配置地址
|
|
99
|
-
requestDynamicParams: "",
|
|
100
|
-
// 请求动态配置参数
|
|
101
|
-
dynamicMethod: "get",
|
|
102
|
-
//请求动态配置方式
|
|
103
|
-
dynamicProxy: ""
|
|
104
|
-
// 请求动态配置代理
|
|
105
|
-
},
|
|
106
|
-
// 'auto-resize': '', // 是否监听父元素变化重新计算表格
|
|
107
|
-
// 'sync-resize': '', // 是否随属性的变化重新计算表格
|
|
108
|
-
stripe: true,
|
|
109
|
-
// 是否带有斑马纹
|
|
110
|
-
border: "full",
|
|
111
|
-
// 是否带有边框
|
|
112
|
-
round: false,
|
|
113
|
-
// 是否为圆角边框
|
|
114
|
-
size: "small",
|
|
115
|
-
// 表格的尺寸
|
|
116
|
-
loading: false,
|
|
117
|
-
//表格是否显示加载中
|
|
118
|
-
align: "left",
|
|
119
|
-
// 所有的列对齐方式
|
|
120
|
-
headerAlign: "left",
|
|
121
|
-
// 所有的表头列的对齐方式
|
|
122
|
-
footerAlign: "left",
|
|
123
|
-
//所有的表尾列的对齐方式
|
|
124
|
-
showHeader: true,
|
|
125
|
-
// 是否显示表头
|
|
126
|
-
// rowClassName: '', // 给行附加样式类
|
|
127
|
-
// 'cell-class-name': '', // 给单元格附加样式类
|
|
128
|
-
// 'header-row-class-name': '', // 给表头的行附加样式类
|
|
129
|
-
// 'header-cell-class-name': '', // 给表头的单元格附加样式类
|
|
130
|
-
// 'footer-row-class-name': '', // 给表尾的行附加样式类
|
|
131
|
-
// 'footer-cell-class-name': '', // 给表尾的单元格附加样式类
|
|
132
|
-
showFooter: false,
|
|
133
|
-
// 是否显示表尾
|
|
134
|
-
// 'footer-method': '', // 表尾的数据获取方法
|
|
135
|
-
// 'merge-cells': '', // 临时合并指定的单元格
|
|
136
|
-
// 'merge-footer-items': '', // 临时合并表尾
|
|
137
|
-
showOverflow: "tooltip",
|
|
138
|
-
// 设置所有内容溢出显示
|
|
139
|
-
// 'show-header-overflow': '', // 设置表头内容溢出显示
|
|
140
|
-
// 'show-footer-overflow': '', // 设置表尾内容溢出显示
|
|
141
|
-
// 'keep-source': '', // 保持原始值的状态
|
|
142
|
-
// 'empty-text': '', // 空数据时显示的内容
|
|
143
|
-
// 'params': '', // 自定义参数
|
|
144
|
-
columnConfig: {
|
|
145
|
-
useKey: false,
|
|
146
|
-
isCurrent: false,
|
|
147
|
-
isHover: true,
|
|
148
|
-
resizable: false,
|
|
149
|
-
maxFixedSize: 4
|
|
150
|
-
},
|
|
151
|
-
// 列的默认参数
|
|
152
|
-
rowConfig: {
|
|
153
|
-
useKey: false,
|
|
154
|
-
keyField: "_X_ROW_KEY",
|
|
155
|
-
isCurrent: true,
|
|
156
|
-
isHover: true
|
|
157
|
-
},
|
|
158
|
-
// 行配置信息
|
|
159
|
-
resizeConfig: { refreshDelay: 250 },
|
|
160
|
-
// 响应式布局配置项
|
|
161
|
-
resizableConfig: { minWidth: "auto" },
|
|
162
|
-
// 列宽拖动配置项
|
|
163
|
-
seqConfig: {},
|
|
164
|
-
// 序号配置项
|
|
165
|
-
sortConfig: {
|
|
166
|
-
defaultSort: {},
|
|
167
|
-
multiple: false,
|
|
168
|
-
chronological: false,
|
|
169
|
-
remote: true,
|
|
170
|
-
showIcon: true
|
|
171
|
-
},
|
|
172
|
-
// 排序配置项
|
|
173
|
-
filterConfig: { remote: false, filterMethod: "", showIcon: true },
|
|
174
|
-
// 筛选配置项
|
|
175
|
-
radioConfig: { strict: true, reserve: false, highlight: false },
|
|
176
|
-
// 单选框配置项
|
|
177
|
-
checkboxConfig: {},
|
|
178
|
-
// 复选框配置项
|
|
179
|
-
tooltipConfig: {},
|
|
180
|
-
// tooltip 配置项
|
|
181
|
-
expandConfig: {
|
|
182
|
-
expandAll: false,
|
|
183
|
-
accordion: false,
|
|
184
|
-
trigger: "default",
|
|
185
|
-
lazy: false,
|
|
186
|
-
reserve: false,
|
|
187
|
-
showIcon: true
|
|
188
|
-
},
|
|
189
|
-
//展开行配置项(不支持虚拟滚动)
|
|
190
|
-
treeConfig: {
|
|
191
|
-
transform: false,
|
|
192
|
-
rowField: "id",
|
|
193
|
-
parentField: "parentId",
|
|
194
|
-
childrenField: "children",
|
|
195
|
-
indent: 20,
|
|
196
|
-
showLine: false,
|
|
197
|
-
expandAll: false,
|
|
198
|
-
accordion: false,
|
|
199
|
-
trigger: "default",
|
|
200
|
-
lazy: false,
|
|
201
|
-
hasChildField: "hasChild",
|
|
202
|
-
reserve: false,
|
|
203
|
-
showIcon: true
|
|
204
|
-
},
|
|
205
|
-
// 树形结构配置项
|
|
206
|
-
editConfig: {
|
|
207
|
-
trigger: "click",
|
|
208
|
-
enabled: true,
|
|
209
|
-
mode: "cell",
|
|
210
|
-
showIcon: true,
|
|
211
|
-
showStatus: false,
|
|
212
|
-
showUpdateStatus: false,
|
|
213
|
-
showInsertStatus: false,
|
|
214
|
-
showAsterisk: true,
|
|
215
|
-
autoClear: true
|
|
216
|
-
},
|
|
217
|
-
// 可编辑配置项
|
|
218
|
-
validConfig: { autoPos: true, showMessage: true },
|
|
219
|
-
// 校验配置项
|
|
220
|
-
editRules: {},
|
|
221
|
-
// 校验规则配置项
|
|
222
|
-
emptyRender: {},
|
|
223
|
-
// 空内容渲染配置项,empty-render 的优先级大于 empty-text
|
|
224
|
-
loadingConfig: {},
|
|
225
|
-
// 加载中配置项
|
|
226
|
-
scrollX: {},
|
|
227
|
-
scrollY: {}
|
|
228
|
-
});
|
|
229
|
-
let baseTableConfig = [
|
|
230
|
-
{
|
|
231
|
-
prop: "id",
|
|
232
|
-
label: "表格唯一标识",
|
|
233
|
-
type: "",
|
|
234
|
-
tooltip: "唯一标识(被某些特定的功能所依赖)",
|
|
235
|
-
disabled: true,
|
|
236
|
-
el: "hs-input"
|
|
237
|
-
},
|
|
238
|
-
{
|
|
239
|
-
prop: "tableName",
|
|
240
|
-
label: "表格配置名称",
|
|
241
|
-
type: "",
|
|
242
|
-
el: "hs-input"
|
|
243
|
-
},
|
|
244
|
-
{
|
|
245
|
-
prop: "requestParams",
|
|
246
|
-
label: "请求参数",
|
|
247
|
-
type: "",
|
|
248
|
-
el: "hs-input",
|
|
249
|
-
attr: {
|
|
250
|
-
placeholder: "{type: 1} 默认不可变更参数"
|
|
251
|
-
}
|
|
252
|
-
},
|
|
253
|
-
{
|
|
254
|
-
prop: "requestUrl",
|
|
255
|
-
label: "请求地址",
|
|
256
|
-
type: "",
|
|
257
|
-
el: "hs-input"
|
|
258
|
-
},
|
|
259
|
-
{
|
|
260
|
-
prop: "method",
|
|
261
|
-
label: "请求方式",
|
|
262
|
-
type: "",
|
|
263
|
-
op: [
|
|
264
|
-
{ label: " POST", value: "post" },
|
|
265
|
-
{ label: "GET", value: "get" },
|
|
266
|
-
{ label: "DELETE", value: "delete" },
|
|
267
|
-
{ label: "PUT", value: "put" }
|
|
268
|
-
],
|
|
269
|
-
el: "hs-select",
|
|
270
|
-
cel: "hs-option"
|
|
271
|
-
},
|
|
272
|
-
{
|
|
273
|
-
prop: "proxy",
|
|
274
|
-
label: "系统代理",
|
|
275
|
-
type: "",
|
|
276
|
-
el: "hs-input"
|
|
277
|
-
},
|
|
278
|
-
{
|
|
279
|
-
prop: "border",
|
|
280
|
-
label: "是否带有边框",
|
|
281
|
-
type: "",
|
|
282
|
-
op: [
|
|
283
|
-
{ label: "默认", value: "default" },
|
|
284
|
-
{ label: "完整边框", value: "full" },
|
|
285
|
-
{ label: "外边框", value: "outer" },
|
|
286
|
-
{ label: "内边框", value: "inner" },
|
|
287
|
-
{ label: "无边框", value: "none" }
|
|
288
|
-
],
|
|
289
|
-
el: "hs-select",
|
|
290
|
-
cel: "hs-option"
|
|
291
|
-
},
|
|
292
|
-
{
|
|
293
|
-
prop: "size",
|
|
294
|
-
label: "表格的尺寸",
|
|
295
|
-
type: "",
|
|
296
|
-
op: [
|
|
297
|
-
{ label: "中等", value: "medium" },
|
|
298
|
-
{ label: "小", value: "small" },
|
|
299
|
-
{ label: "超小", value: "mini" }
|
|
300
|
-
],
|
|
301
|
-
el: "hs-select",
|
|
302
|
-
cel: "hs-option"
|
|
303
|
-
},
|
|
304
|
-
{
|
|
305
|
-
prop: "align",
|
|
306
|
-
label: "所有的列对齐方式",
|
|
307
|
-
type: "",
|
|
308
|
-
op: [
|
|
309
|
-
{ label: "左对齐", value: "left" },
|
|
310
|
-
{ label: "居中对齐", value: "center" },
|
|
311
|
-
{ label: "右对齐", value: "right" }
|
|
312
|
-
],
|
|
313
|
-
el: "hs-select",
|
|
314
|
-
cel: "hs-option"
|
|
315
|
-
},
|
|
316
|
-
{
|
|
317
|
-
prop: "headerAlign",
|
|
318
|
-
label: "所有的表头列的对齐方式",
|
|
319
|
-
tooltip: "所有的表头列的对齐方式",
|
|
320
|
-
type: "",
|
|
321
|
-
op: [
|
|
322
|
-
{ label: "左对齐", value: "left" },
|
|
323
|
-
{ label: "居中对齐", value: "center" },
|
|
324
|
-
{ label: "右对齐", value: "right" }
|
|
325
|
-
],
|
|
326
|
-
el: "hs-select",
|
|
327
|
-
cel: "hs-option"
|
|
328
|
-
},
|
|
329
|
-
{
|
|
330
|
-
prop: "footerAlign",
|
|
331
|
-
label: "所有的表尾列的对齐方式",
|
|
332
|
-
type: "",
|
|
333
|
-
tooltip: "所有的表尾列的对齐方式",
|
|
334
|
-
op: [
|
|
335
|
-
{ label: "左对齐", value: "left" },
|
|
336
|
-
{ label: "居中对齐", value: "center" },
|
|
337
|
-
{ label: "右对齐", value: "right" }
|
|
338
|
-
],
|
|
339
|
-
el: "hs-select",
|
|
340
|
-
cel: "hs-option"
|
|
341
|
-
},
|
|
342
|
-
{
|
|
343
|
-
prop: "emptyText",
|
|
344
|
-
label: "空数据时显示的内容",
|
|
345
|
-
type: "",
|
|
346
|
-
el: "hs-input"
|
|
347
|
-
},
|
|
348
|
-
{
|
|
349
|
-
prop: "showOverflow",
|
|
350
|
-
label: "设置所有内容溢出显示",
|
|
351
|
-
tooltip: "设置所有内容过长时显示为省略号(如果是固定列建议设置该值,提升渲染速度)",
|
|
352
|
-
type: "",
|
|
353
|
-
op: [
|
|
354
|
-
{ label: "ellipsis", value: "ellipsis" },
|
|
355
|
-
{ label: "title", value: "title" },
|
|
356
|
-
{ label: "tooltip", value: "tooltip" }
|
|
357
|
-
],
|
|
358
|
-
el: "hs-select",
|
|
359
|
-
cel: "hs-option"
|
|
360
|
-
},
|
|
361
|
-
{
|
|
362
|
-
prop: "showHeaderOverflow",
|
|
363
|
-
label: "设置表头内容溢出显示",
|
|
364
|
-
type: "",
|
|
365
|
-
tooltip: "设置表头所有内容过长时显示为省略号",
|
|
366
|
-
op: [
|
|
367
|
-
{ label: "ellipsis", value: "ellipsis" },
|
|
368
|
-
{ label: "title", value: "title" },
|
|
369
|
-
{ label: "tooltip", value: "tooltip" }
|
|
370
|
-
],
|
|
371
|
-
el: "hs-select",
|
|
372
|
-
cel: "hs-option"
|
|
373
|
-
},
|
|
374
|
-
{
|
|
375
|
-
prop: "showFooterOverflow",
|
|
376
|
-
label: "设置表尾内容溢出显示",
|
|
377
|
-
type: "",
|
|
378
|
-
tooltip: "设置表尾所有内容过长时显示为省略号",
|
|
379
|
-
op: [
|
|
380
|
-
{ label: "ellipsis", value: "ellipsis" },
|
|
381
|
-
{ label: "title", value: "title" },
|
|
382
|
-
{ label: "tooltip", value: "tooltip" }
|
|
383
|
-
],
|
|
384
|
-
el: "hs-select",
|
|
385
|
-
cel: "hs-option"
|
|
386
|
-
},
|
|
387
|
-
{
|
|
388
|
-
prop: "showHeader",
|
|
389
|
-
label: "是否显示表头",
|
|
390
|
-
type: "",
|
|
391
|
-
el: "hs-switch"
|
|
392
|
-
},
|
|
393
|
-
{
|
|
394
|
-
prop: "keepSource",
|
|
395
|
-
label: "保持原始值的状态",
|
|
396
|
-
type: "",
|
|
397
|
-
tooltip: "保持原始值的状态,被某些功能所依赖,比如编辑状态、还原数据等(开启后影响性能,具体取决于数据量)",
|
|
398
|
-
el: "hs-switch"
|
|
399
|
-
},
|
|
400
|
-
{
|
|
401
|
-
prop: "loading",
|
|
402
|
-
label: "表格是否显示加载中",
|
|
403
|
-
type: "",
|
|
404
|
-
el: "hs-switch"
|
|
405
|
-
},
|
|
406
|
-
{
|
|
407
|
-
prop: "round",
|
|
408
|
-
label: "是否为圆角边框",
|
|
409
|
-
type: "",
|
|
410
|
-
el: "hs-switch"
|
|
411
|
-
},
|
|
412
|
-
{
|
|
413
|
-
prop: "stripe",
|
|
414
|
-
label: "是否带有斑马纹",
|
|
415
|
-
type: "",
|
|
416
|
-
tooltip: "是否带有斑马纹(需要注意的是,在可编辑表格场景下,临时插入的数据不会有斑马纹样式)",
|
|
417
|
-
el: "hs-switch"
|
|
418
|
-
},
|
|
419
|
-
{
|
|
420
|
-
prop: "autoResize",
|
|
421
|
-
label: "监听父元素变化重新计算表格",
|
|
422
|
-
tooltip: "自动监听父元素的变化去重新计算表格(对于父元素可能存在动态变化、显示隐藏的容器中、列宽异常等场景中的可能会用到)",
|
|
423
|
-
type: "",
|
|
424
|
-
el: "hs-switch"
|
|
425
|
-
},
|
|
426
|
-
{
|
|
427
|
-
prop: "syncResize",
|
|
428
|
-
label: "随属性的变化重新计算表格",
|
|
429
|
-
type: "",
|
|
430
|
-
tooltip: "自动跟随某个属性的变化去重新计算表格,和手动调用 recalculate 方法是一样的效果(对于通过某个属性来控制显示/隐藏切换时可能会用到)",
|
|
431
|
-
el: "hs-switch"
|
|
432
|
-
},
|
|
433
|
-
{
|
|
434
|
-
prop: "showFooter",
|
|
435
|
-
label: "是否显示表尾",
|
|
436
|
-
el: "hs-switch"
|
|
437
|
-
},
|
|
438
|
-
{
|
|
439
|
-
prop: "rowClassName",
|
|
440
|
-
label: "给行附加样式类",
|
|
441
|
-
tooltip: "给行附加 className",
|
|
442
|
-
type: "textarea",
|
|
443
|
-
el: "hs-input"
|
|
444
|
-
},
|
|
445
|
-
{
|
|
446
|
-
prop: "cellClassName",
|
|
447
|
-
label: "给单元格附加样式类",
|
|
448
|
-
type: "textarea",
|
|
449
|
-
tooltip: "给单元格附加 className",
|
|
450
|
-
el: "hs-input"
|
|
451
|
-
},
|
|
452
|
-
{
|
|
453
|
-
prop: "headerRowClassName",
|
|
454
|
-
label: "给表头的行附加样式类",
|
|
455
|
-
tooltip: "给表头的行附加 className",
|
|
456
|
-
type: "textarea",
|
|
457
|
-
el: "hs-input"
|
|
458
|
-
},
|
|
459
|
-
{
|
|
460
|
-
prop: "headerCellClass-name",
|
|
461
|
-
label: "给表头的单元格附加样式类",
|
|
462
|
-
type: "textarea",
|
|
463
|
-
tooltip: "给表头的单元格附加 className",
|
|
464
|
-
el: "hs-input"
|
|
465
|
-
},
|
|
466
|
-
{
|
|
467
|
-
prop: "footerRowClassName",
|
|
468
|
-
label: "给表尾的行附加样式类",
|
|
469
|
-
tooltip: "给表尾的行附加 className",
|
|
470
|
-
type: "textarea",
|
|
471
|
-
el: "hs-input"
|
|
472
|
-
},
|
|
473
|
-
{
|
|
474
|
-
prop: "footerCellClassName",
|
|
475
|
-
label: "给表尾的单元格附加样式类",
|
|
476
|
-
type: "textarea",
|
|
477
|
-
el: "hs-input"
|
|
478
|
-
},
|
|
479
|
-
{
|
|
480
|
-
prop: "footerMethod",
|
|
481
|
-
label: "表尾的数据获取方法",
|
|
482
|
-
tooltip: "示例:functionBody=function({columns,data}){return[columns.map((column,columnIndex)=>{if(columnIndex===0){return '合计'};return data[0]?.customTotal?.[column.field]||''})]};",
|
|
483
|
-
type: "textarea",
|
|
484
|
-
el: "hs-input"
|
|
485
|
-
},
|
|
486
|
-
{
|
|
487
|
-
prop: "mergeCells",
|
|
488
|
-
label: "临时合并指定的单元格",
|
|
489
|
-
tooltip: "临时合并指定的单元格 (不能用于展开行,不建议用于固定列、树形结构)",
|
|
490
|
-
type: "textarea",
|
|
491
|
-
el: "hs-input"
|
|
492
|
-
},
|
|
493
|
-
{
|
|
494
|
-
prop: "mergeFooterItems",
|
|
495
|
-
label: "临时合并表尾",
|
|
496
|
-
tooltip: "临时合并表尾 (不能用于展开行,不建议用于固定列、树形结构)",
|
|
497
|
-
type: "textarea",
|
|
498
|
-
el: "hs-input"
|
|
499
|
-
},
|
|
500
|
-
{
|
|
501
|
-
prop: "is_apply_page",
|
|
502
|
-
label: "是否分页",
|
|
503
|
-
el: "hs-switch"
|
|
504
|
-
},
|
|
505
|
-
{
|
|
506
|
-
prop: "isCloseInitData",
|
|
507
|
-
label: "是否关闭初始化数据",
|
|
508
|
-
tooltip: "是否关闭第一次加载数据",
|
|
509
|
-
el: "hs-switch"
|
|
510
|
-
},
|
|
511
|
-
{
|
|
512
|
-
prop: "isSimulate",
|
|
513
|
-
label: "是否开启模拟分页",
|
|
514
|
-
tooltip: "开启此功能,需要开启分页功能,(未配置url获取本地缓存数据,配置url获取接口数据)",
|
|
515
|
-
el: "hs-switch"
|
|
516
|
-
},
|
|
517
|
-
{
|
|
518
|
-
prop: "isSplitInterface",
|
|
519
|
-
label: "是否拆分接口",
|
|
520
|
-
tooltip: "分页接口与数据接口分离,此时为两个接口",
|
|
521
|
-
el: "hs-switch"
|
|
522
|
-
},
|
|
523
|
-
{
|
|
524
|
-
prop: "isGetCanche",
|
|
525
|
-
label: "开启本地缓存",
|
|
526
|
-
tooltip: "setData 会将数据缓存本地数据库。getData 获取为此时缓存的数据,调用接口获取的也为本地缓存数据(模拟分页功能若未配置url等同该功能)",
|
|
527
|
-
el: "hs-switch"
|
|
528
|
-
},
|
|
529
|
-
{
|
|
530
|
-
prop: "showPagerAll",
|
|
531
|
-
label: "是否显示总页全选数据复选框",
|
|
532
|
-
el: "hs-switch"
|
|
533
|
-
},
|
|
534
|
-
{
|
|
535
|
-
prop: "isRemoteTotal",
|
|
536
|
-
label: "是否开启远程合计",
|
|
537
|
-
tooltip: "开启的同时需要开启显示表尾合计开关,此时为三个接口",
|
|
538
|
-
el: "hs-switch"
|
|
539
|
-
},
|
|
540
|
-
{
|
|
541
|
-
prop: "enablePopup",
|
|
542
|
-
label: "是否允许自定义弹窗",
|
|
543
|
-
tooltip: "是否允许自定义弹窗",
|
|
544
|
-
el: "hs-switch"
|
|
545
|
-
},
|
|
546
|
-
{
|
|
547
|
-
prop: "isClosedKeyStroke",
|
|
548
|
-
label: "是否关闭键盘事件",
|
|
549
|
-
el: "hs-switch"
|
|
550
|
-
},
|
|
551
|
-
{
|
|
552
|
-
prop: "isClosedEditRow",
|
|
553
|
-
label: "是否关闭点击行编辑模式",
|
|
554
|
-
el: "hs-switch"
|
|
555
|
-
},
|
|
556
|
-
{
|
|
557
|
-
prop: "tabs",
|
|
558
|
-
label: "多标签显示模式",
|
|
559
|
-
type: "",
|
|
560
|
-
tooltip: "表格多标签显示模式,默认卡片模式",
|
|
561
|
-
op: [
|
|
562
|
-
{ label: "卡片", value: "card" },
|
|
563
|
-
{ label: "下划线", value: "line" }
|
|
564
|
-
],
|
|
565
|
-
el: "hs-select",
|
|
566
|
-
cel: "hs-option"
|
|
567
|
-
}
|
|
568
|
-
];
|
|
569
|
-
const tableAttrConfig = [
|
|
570
|
-
{
|
|
571
|
-
key: "dynamicColumn",
|
|
572
|
-
visible: false,
|
|
573
|
-
title: "动态配置列",
|
|
574
|
-
dynamicColumn: [
|
|
575
|
-
// ====================== 配置项取自接口 【 start 】 =====================
|
|
576
|
-
{
|
|
577
|
-
prop: "isDynamicRequestConfig",
|
|
578
|
-
label: "是否请求动态配置",
|
|
579
|
-
el: "hs-switch"
|
|
580
|
-
},
|
|
581
|
-
{
|
|
582
|
-
prop: "requestDynamicUrl",
|
|
583
|
-
label: "请求动态配置地址",
|
|
584
|
-
el: "hs-input"
|
|
585
|
-
},
|
|
586
|
-
{
|
|
587
|
-
prop: "requestDynamicParams",
|
|
588
|
-
label: "请求动态配置参数",
|
|
589
|
-
el: "hs-input"
|
|
590
|
-
},
|
|
591
|
-
{
|
|
592
|
-
prop: "dynamicMethod",
|
|
593
|
-
label: "请求动态配置方式",
|
|
594
|
-
op: [
|
|
595
|
-
{ label: " POST", value: "post" },
|
|
596
|
-
{ label: "GET", value: "get" },
|
|
597
|
-
{ label: "DELETE", value: "delete" },
|
|
598
|
-
{ label: "PUT", value: "put" }
|
|
599
|
-
],
|
|
600
|
-
el: "hs-select",
|
|
601
|
-
cel: "hs-option"
|
|
602
|
-
},
|
|
603
|
-
{
|
|
604
|
-
prop: "dynamicProxy",
|
|
605
|
-
label: "请求动态配置代理",
|
|
606
|
-
el: "hs-input"
|
|
607
|
-
}
|
|
608
|
-
// ====================== 配置项取自接口 【 end 】 =====================
|
|
609
|
-
]
|
|
610
|
-
},
|
|
611
|
-
{
|
|
612
|
-
key: "columnConfig",
|
|
613
|
-
visible: false,
|
|
614
|
-
title: "列的默认参数",
|
|
615
|
-
columnConfig: [
|
|
616
|
-
{
|
|
617
|
-
prop: "useKey",
|
|
618
|
-
label: "是否为每列设置key属性",
|
|
619
|
-
tooltip: "是否需要为每一列的 VNode 设置 key 属性",
|
|
620
|
-
type: "",
|
|
621
|
-
el: "hs-switch"
|
|
622
|
-
},
|
|
623
|
-
{
|
|
624
|
-
prop: "isCurrent",
|
|
625
|
-
label: "点击列头当前列是否高亮",
|
|
626
|
-
tooltip: "当鼠标点击列头时,是否要高亮当前列",
|
|
627
|
-
type: "",
|
|
628
|
-
el: "hs-switch"
|
|
629
|
-
},
|
|
630
|
-
{
|
|
631
|
-
prop: "isHover",
|
|
632
|
-
label: "当鼠标移到列头时,是否要高亮当前头",
|
|
633
|
-
tooltip: "当鼠标移到列头时,是否要高亮当前列头",
|
|
634
|
-
type: "",
|
|
635
|
-
el: "hs-switch"
|
|
636
|
-
},
|
|
637
|
-
{
|
|
638
|
-
prop: "resizable",
|
|
639
|
-
label: "每一列是否启用列宽调整",
|
|
640
|
-
type: "",
|
|
641
|
-
tooltip: "每一列是否启用列宽调整",
|
|
642
|
-
el: "hs-switch"
|
|
643
|
-
},
|
|
644
|
-
{
|
|
645
|
-
prop: "width",
|
|
646
|
-
label: "每一列的宽度",
|
|
647
|
-
tooltip: "每一列的宽度",
|
|
648
|
-
type: "",
|
|
649
|
-
el: "hs-input"
|
|
650
|
-
},
|
|
651
|
-
{
|
|
652
|
-
prop: "minWidth",
|
|
653
|
-
label: "每一列的最小宽度",
|
|
654
|
-
tooltip: "每一列的最小宽度",
|
|
655
|
-
type: "",
|
|
656
|
-
el: "hs-input"
|
|
657
|
-
},
|
|
658
|
-
{
|
|
659
|
-
prop: "maxFixedSize",
|
|
660
|
-
label: "固定列允许设置的最大数量",
|
|
661
|
-
tooltip: "固定列允许设置的最大数量(如果是分组,则一个分组算一个",
|
|
662
|
-
type: "number",
|
|
663
|
-
el: "hs-input-number"
|
|
664
|
-
},
|
|
665
|
-
{
|
|
666
|
-
prop: "header-export-method",
|
|
667
|
-
label: "每一列的自定义表头单元格数据导出方法",
|
|
668
|
-
tooltip: "每一列的自定义表头单元格数据导出方法,返回自定义的标题",
|
|
669
|
-
type: "textarea",
|
|
670
|
-
el: "hs-input"
|
|
671
|
-
},
|
|
672
|
-
{
|
|
673
|
-
prop: "export-method",
|
|
674
|
-
label: "每一列的自定义单元格数据导出方法",
|
|
675
|
-
tooltip: "每一列的自定义单元格数据导出方法,返回自定义的值",
|
|
676
|
-
type: "textarea",
|
|
677
|
-
el: "hs-input"
|
|
678
|
-
},
|
|
679
|
-
{
|
|
680
|
-
prop: "footer-export-method",
|
|
681
|
-
label: "每一列的自定义表尾单元格数据导出方法",
|
|
682
|
-
tooltip: "每一列的自定义表尾单元格数据导出方法,返回自定义的值",
|
|
683
|
-
type: "textarea",
|
|
684
|
-
el: "hs-input"
|
|
685
|
-
}
|
|
686
|
-
]
|
|
687
|
-
},
|
|
688
|
-
{
|
|
689
|
-
key: "rowConfig",
|
|
690
|
-
visible: false,
|
|
691
|
-
title: "行配置信息",
|
|
692
|
-
rowConfig: [
|
|
693
|
-
{
|
|
694
|
-
prop: "drag",
|
|
695
|
-
label: "拖拽调整行顺序",
|
|
696
|
-
type: "",
|
|
697
|
-
tooltip: "允许行拖拽进行数据排序",
|
|
698
|
-
el: "hs-switch"
|
|
699
|
-
},
|
|
700
|
-
{
|
|
701
|
-
prop: "useKey",
|
|
702
|
-
label: "是否为每行设置key属性",
|
|
703
|
-
type: "",
|
|
704
|
-
tooltip: "是否需要为每一行的 VNode 设置 key 属性",
|
|
705
|
-
el: "hs-switch"
|
|
706
|
-
},
|
|
707
|
-
{
|
|
708
|
-
prop: "keyField",
|
|
709
|
-
label: "自定义行主键的字段名",
|
|
710
|
-
type: "",
|
|
711
|
-
tooltip: "自定义行数据唯一主键的字段名(默认自动生成)",
|
|
712
|
-
el: "hs-input"
|
|
713
|
-
},
|
|
714
|
-
{
|
|
715
|
-
prop: "isCurrent",
|
|
716
|
-
label: "点击行是否要高亮当前行",
|
|
717
|
-
tooltip: "当鼠标点击行时,是否要高亮当前行",
|
|
718
|
-
type: "",
|
|
719
|
-
el: "hs-switch"
|
|
720
|
-
},
|
|
721
|
-
{
|
|
722
|
-
prop: "isHover",
|
|
723
|
-
label: "鼠标悬浮行是否高亮显示",
|
|
724
|
-
tooltip: "当鼠标移到行时,是否要高亮当前行",
|
|
725
|
-
type: "",
|
|
726
|
-
el: "hs-switch"
|
|
727
|
-
},
|
|
728
|
-
{
|
|
729
|
-
prop: "height",
|
|
730
|
-
label: "每一行的高度",
|
|
731
|
-
tooltip: "只对 show-overflow 有效,每一行的高度",
|
|
732
|
-
type: "number",
|
|
733
|
-
el: "hs-input-number"
|
|
734
|
-
}
|
|
735
|
-
]
|
|
736
|
-
},
|
|
737
|
-
{
|
|
738
|
-
key: "resizeConfig",
|
|
739
|
-
visible: false,
|
|
740
|
-
title: "响应式布局配置项",
|
|
741
|
-
resizeConfig: [
|
|
742
|
-
{
|
|
743
|
-
prop: "refreshDelay",
|
|
744
|
-
label: "刷新延时时长(毫秒)",
|
|
745
|
-
type: "number",
|
|
746
|
-
el: "hs-input-number",
|
|
747
|
-
tooltip: "只对 auto-resize 有效,刷新延时,当父容器发生变化时,至少多少毫秒刷新布局"
|
|
748
|
-
}
|
|
749
|
-
]
|
|
750
|
-
},
|
|
751
|
-
{
|
|
752
|
-
key: "resizableConfig",
|
|
753
|
-
visible: false,
|
|
754
|
-
title: "列宽拖动配置项",
|
|
755
|
-
resizableConfig: [
|
|
756
|
-
{
|
|
757
|
-
prop: "minWidth",
|
|
758
|
-
label: "列宽拖动的最小宽度",
|
|
759
|
-
type: "",
|
|
760
|
-
tooltip: "列宽拖动的最小宽度",
|
|
761
|
-
el: "hs-input"
|
|
762
|
-
}
|
|
763
|
-
]
|
|
764
|
-
},
|
|
765
|
-
{
|
|
766
|
-
key: "seqConfig",
|
|
767
|
-
visible: false,
|
|
768
|
-
title: "序号配置项",
|
|
769
|
-
seqConfig: [
|
|
770
|
-
{
|
|
771
|
-
prop: "seqMethod",
|
|
772
|
-
label: "自定义序号的方法",
|
|
773
|
-
type: "textarea",
|
|
774
|
-
el: "hs-input",
|
|
775
|
-
tooltip: "自定义序号的方法返回处理后的值"
|
|
776
|
-
}
|
|
777
|
-
]
|
|
778
|
-
},
|
|
779
|
-
{
|
|
780
|
-
key: "sortConfig",
|
|
781
|
-
visible: false,
|
|
782
|
-
title: "排序配置项",
|
|
783
|
-
sortConfig: [
|
|
784
|
-
{
|
|
785
|
-
prop: "orders",
|
|
786
|
-
label: "自定义序号的方法",
|
|
787
|
-
type: "textarea",
|
|
788
|
-
tooltip: "自定义轮转顺序",
|
|
789
|
-
el: "hs-input"
|
|
790
|
-
},
|
|
791
|
-
{
|
|
792
|
-
prop: "sortMethod",
|
|
793
|
-
label: "全局排序方法",
|
|
794
|
-
type: "textarea",
|
|
795
|
-
tooltip: "全局排序方法,当触发排序时会调用该函数返回排序后的列表",
|
|
796
|
-
el: "hs-input"
|
|
797
|
-
},
|
|
798
|
-
{
|
|
799
|
-
prop: "multiple",
|
|
800
|
-
label: "是否启用多列组合筛选",
|
|
801
|
-
type: "",
|
|
802
|
-
tooltip: "是否启用多列组合筛选",
|
|
803
|
-
el: "hs-switch"
|
|
804
|
-
},
|
|
805
|
-
{
|
|
806
|
-
prop: "chronological",
|
|
807
|
-
label: "是否按照触发顺序进行排序",
|
|
808
|
-
type: "",
|
|
809
|
-
tooltip: "只对 multiple 有效,是否按照先后触发顺序进行排序",
|
|
810
|
-
el: "hs-switch"
|
|
811
|
-
},
|
|
812
|
-
{
|
|
813
|
-
prop: "remote",
|
|
814
|
-
label: "所有列是否使用服务端排序",
|
|
815
|
-
type: "",
|
|
816
|
-
tooltip: "所有列是否使用服务端排序,如果设置为 true 则不会对数据进行处理",
|
|
817
|
-
el: "hs-switch"
|
|
818
|
-
},
|
|
819
|
-
{
|
|
820
|
-
prop: "trigger",
|
|
821
|
-
label: "触发方式",
|
|
822
|
-
type: "",
|
|
823
|
-
tooltip: "触发方式(注:当多种功能重叠时,会同时触发)",
|
|
824
|
-
el: "hs-select",
|
|
825
|
-
cel: "hs-option",
|
|
826
|
-
op: [
|
|
827
|
-
{
|
|
828
|
-
label: "点击按钮",
|
|
829
|
-
value: "default"
|
|
830
|
-
},
|
|
831
|
-
{
|
|
832
|
-
label: "点击表头",
|
|
833
|
-
value: "cell"
|
|
834
|
-
}
|
|
835
|
-
]
|
|
836
|
-
},
|
|
837
|
-
{
|
|
838
|
-
prop: "showIcon",
|
|
839
|
-
label: "是否显示列头排序图标",
|
|
840
|
-
type: "",
|
|
841
|
-
tooltip: "是否显示列头排序图标",
|
|
842
|
-
el: "hs-switch"
|
|
843
|
-
},
|
|
844
|
-
{
|
|
845
|
-
prop: "iconAsc",
|
|
846
|
-
label: "自定义升序的图标",
|
|
847
|
-
tooltip: "自定义升序的图标",
|
|
848
|
-
type: "",
|
|
849
|
-
el: "hs-input"
|
|
850
|
-
},
|
|
851
|
-
{
|
|
852
|
-
prop: "iconDesc",
|
|
853
|
-
label: "自定义降序的图标",
|
|
854
|
-
tooltip: "自定义降序的图标",
|
|
855
|
-
type: "",
|
|
856
|
-
el: "hs-input"
|
|
857
|
-
}
|
|
858
|
-
],
|
|
859
|
-
second_config: [
|
|
860
|
-
{
|
|
861
|
-
key: "defaultSort",
|
|
862
|
-
visible: false,
|
|
863
|
-
title: "默认排序",
|
|
864
|
-
defaultSort: [
|
|
865
|
-
{
|
|
866
|
-
prop: "field",
|
|
867
|
-
label: "列字段名",
|
|
868
|
-
el: "hs-input"
|
|
869
|
-
},
|
|
870
|
-
{
|
|
871
|
-
prop: "order",
|
|
872
|
-
label: "排序方式",
|
|
873
|
-
el: "hs-input"
|
|
874
|
-
}
|
|
875
|
-
]
|
|
876
|
-
}
|
|
877
|
-
]
|
|
878
|
-
},
|
|
879
|
-
{
|
|
880
|
-
key: "filterConfig",
|
|
881
|
-
visible: false,
|
|
882
|
-
title: "筛选配置项",
|
|
883
|
-
filterConfig: [
|
|
884
|
-
{
|
|
885
|
-
prop: "remote",
|
|
886
|
-
label: "所有列是否使用服务端筛选",
|
|
887
|
-
type: "",
|
|
888
|
-
tooltip: "所有列是否使用服务端筛选,如果设置为 true 则不会对数据进行处理",
|
|
889
|
-
el: "hs-switch"
|
|
890
|
-
},
|
|
891
|
-
{
|
|
892
|
-
prop: "filterMethod",
|
|
893
|
-
label: "全局筛选方法",
|
|
894
|
-
type: "textarea",
|
|
895
|
-
tooltip: "全局筛选方法,当触发筛选时会调用该函数返回是否有效",
|
|
896
|
-
el: "hs-input"
|
|
897
|
-
},
|
|
898
|
-
{
|
|
899
|
-
prop: "showIcon",
|
|
900
|
-
label: "是否显示列头筛选图标",
|
|
901
|
-
tooltip: "是否显示列头筛选图标",
|
|
902
|
-
type: "",
|
|
903
|
-
el: "hs-switch"
|
|
904
|
-
},
|
|
905
|
-
{
|
|
906
|
-
prop: "iconNone",
|
|
907
|
-
label: "自定义无条件时显示的图标",
|
|
908
|
-
type: "",
|
|
909
|
-
tooltip: "自定义无条件时显示的图标",
|
|
910
|
-
el: "hs-input"
|
|
911
|
-
},
|
|
912
|
-
{
|
|
913
|
-
prop: "iconMatch",
|
|
914
|
-
label: "自定义带条件时显示的图标",
|
|
915
|
-
tooltip: "自定义带条件时显示的图标",
|
|
916
|
-
type: "",
|
|
917
|
-
el: "hs-input"
|
|
918
|
-
},
|
|
919
|
-
{
|
|
920
|
-
prop: "confirmButtonText",
|
|
921
|
-
label: "自定义确认按钮文本",
|
|
922
|
-
tooltip: "自定义确认按钮文本",
|
|
923
|
-
type: "",
|
|
924
|
-
el: "hs-input"
|
|
925
|
-
},
|
|
926
|
-
{
|
|
927
|
-
prop: "resetButtonText",
|
|
928
|
-
label: "自定义重置按钮文本",
|
|
929
|
-
type: "",
|
|
930
|
-
el: "hs-input"
|
|
931
|
-
}
|
|
932
|
-
]
|
|
933
|
-
},
|
|
934
|
-
{
|
|
935
|
-
key: "radioConfig",
|
|
936
|
-
visible: false,
|
|
937
|
-
title: "单选框配置项",
|
|
938
|
-
radioConfig: [
|
|
939
|
-
{
|
|
940
|
-
prop: "strict",
|
|
941
|
-
label: "严格模式,选中后不能取消",
|
|
942
|
-
tooltip: "严格模式,选中后不能取消",
|
|
943
|
-
type: "",
|
|
944
|
-
el: "hs-switch"
|
|
945
|
-
},
|
|
946
|
-
{
|
|
947
|
-
prop: "reserve",
|
|
948
|
-
label: "是否保留勾选状态",
|
|
949
|
-
tooltip: "是否保留勾选状态,例如:数据被刷新或者分页之后还保留之前选中的状态(需要有 rowConfig.keyField)",
|
|
950
|
-
type: "",
|
|
951
|
-
el: "hs-switch"
|
|
952
|
-
},
|
|
953
|
-
{
|
|
954
|
-
prop: "labelField",
|
|
955
|
-
label: "单选框显示的字段名",
|
|
956
|
-
tooltip: "单选框显示的字段名,可以直接显示在单选框中",
|
|
957
|
-
type: "",
|
|
958
|
-
el: "hs-input"
|
|
959
|
-
},
|
|
960
|
-
{
|
|
961
|
-
prop: "checkRowKey",
|
|
962
|
-
label: "默认选中指定行",
|
|
963
|
-
tooltip: "默认选中指定行(只会在初始化时被触发一次,需要有 rowConfig.keyField)",
|
|
964
|
-
type: "",
|
|
965
|
-
el: "hs-input"
|
|
966
|
-
},
|
|
967
|
-
{
|
|
968
|
-
prop: "visibleMethod",
|
|
969
|
-
label: "是否允许勾选的方法",
|
|
970
|
-
tooltip: "是否允许勾选的方法,该方法,的返回值用来决定这一行的 radio 是否显示",
|
|
971
|
-
type: "textarea",
|
|
972
|
-
el: "hs-input"
|
|
973
|
-
},
|
|
974
|
-
{
|
|
975
|
-
prop: "checkMethod",
|
|
976
|
-
label: "是否允许选中的方法",
|
|
977
|
-
tooltip: "是否允许选中的方法,该方法的返回值用来决定这一行的 radio 是否可以选中",
|
|
978
|
-
type: "textarea",
|
|
979
|
-
el: "hs-input"
|
|
980
|
-
},
|
|
981
|
-
{
|
|
982
|
-
prop: "trigger",
|
|
983
|
-
label: "触发方式",
|
|
984
|
-
type: "",
|
|
985
|
-
tooltip: "触发方式(注:当多种功能重叠时,会同时触发)",
|
|
986
|
-
el: "hs-select",
|
|
987
|
-
cel: "hs-option",
|
|
988
|
-
op: [
|
|
989
|
-
{ label: "默认", value: "default" },
|
|
990
|
-
{ label: "点击单元格触发", value: "cell" },
|
|
991
|
-
{ label: "点击行触发", value: "row" }
|
|
992
|
-
]
|
|
993
|
-
},
|
|
994
|
-
{
|
|
995
|
-
prop: "highlight",
|
|
996
|
-
label: "高亮选中行",
|
|
997
|
-
type: "",
|
|
998
|
-
el: "hs-switch"
|
|
999
|
-
}
|
|
1000
|
-
]
|
|
1001
|
-
},
|
|
1002
|
-
{
|
|
1003
|
-
key: "checkboxConfig",
|
|
1004
|
-
visible: false,
|
|
1005
|
-
title: "复选框配置项",
|
|
1006
|
-
checkboxConfig: [
|
|
1007
|
-
{
|
|
1008
|
-
prop: "labelField",
|
|
1009
|
-
label: "复选框显示的字段名",
|
|
1010
|
-
tooltip: "复选框显示的字段名,可以直接显示在复选框中",
|
|
1011
|
-
type: "",
|
|
1012
|
-
el: "hs-input"
|
|
1013
|
-
},
|
|
1014
|
-
{
|
|
1015
|
-
prop: "checkField",
|
|
1016
|
-
label: "绑定选中属性",
|
|
1017
|
-
tooltip: "绑定选中属性(行数据中必须存在该字段,否则无效)",
|
|
1018
|
-
type: "",
|
|
1019
|
-
el: "hs-input"
|
|
1020
|
-
},
|
|
1021
|
-
{
|
|
1022
|
-
prop: "indeterminateField",
|
|
1023
|
-
label: "绑定半选属性",
|
|
1024
|
-
tooltip: "绑定半选属性(行数据中必须存在该字段,否则无效)",
|
|
1025
|
-
type: "",
|
|
1026
|
-
el: "hs-input"
|
|
1027
|
-
},
|
|
1028
|
-
{
|
|
1029
|
-
prop: "showHeader",
|
|
1030
|
-
label: "是否显示全选按钮",
|
|
1031
|
-
tooltip: "是否显示全选按钮(如果 checkStrictly=true 则默认为 false)",
|
|
1032
|
-
type: "",
|
|
1033
|
-
el: "hs-switch"
|
|
1034
|
-
},
|
|
1035
|
-
{
|
|
1036
|
-
prop: "checkAll",
|
|
1037
|
-
label: "默认勾选所有",
|
|
1038
|
-
tooltip: "默认勾选所有(只会在初始化时被触发一次)",
|
|
1039
|
-
type: "",
|
|
1040
|
-
el: "hs-switch"
|
|
1041
|
-
},
|
|
1042
|
-
{
|
|
1043
|
-
prop: "checkRowKeys",
|
|
1044
|
-
label: "默认勾选指定行",
|
|
1045
|
-
type: "textarea",
|
|
1046
|
-
tooltip: "默认勾选指定行(只会在初始化时被触发一次,需要有 rowConfig.keyField)",
|
|
1047
|
-
el: "hs-input"
|
|
1048
|
-
},
|
|
1049
|
-
{
|
|
1050
|
-
prop: "checkStrictly",
|
|
1051
|
-
label: "是否严格的遵循父子不互相关联的做法",
|
|
1052
|
-
type: "",
|
|
1053
|
-
tooltip: "是否严格的遵循父子不互相关联的做法",
|
|
1054
|
-
el: "hs-switch"
|
|
1055
|
-
},
|
|
1056
|
-
{
|
|
1057
|
-
prop: "strict",
|
|
1058
|
-
label: "严格模式",
|
|
1059
|
-
type: "",
|
|
1060
|
-
tooltip: "严格模式,当数据为空或全部禁用时,列头的复选框为禁用状态",
|
|
1061
|
-
el: "hs-switch"
|
|
1062
|
-
},
|
|
1063
|
-
{
|
|
1064
|
-
prop: "visibleMethod",
|
|
1065
|
-
label: "是否允许勾选的方法",
|
|
1066
|
-
tooltip: "是否允许勾选的方法,该方法,的返回值用来决定这一行的 checkbox 是否显示",
|
|
1067
|
-
type: "textarea",
|
|
1068
|
-
el: "hs-input"
|
|
1069
|
-
},
|
|
1070
|
-
{
|
|
1071
|
-
prop: "checkMethod",
|
|
1072
|
-
label: "是否允许勾选的方法",
|
|
1073
|
-
tooltip: "是否允许勾选的方法,该方法的返回值用来决定这一行的 checkbox 是否可以勾选",
|
|
1074
|
-
type: "textarea",
|
|
1075
|
-
el: "hs-input"
|
|
1076
|
-
},
|
|
1077
|
-
{
|
|
1078
|
-
prop: "trigger",
|
|
1079
|
-
label: "触发方式",
|
|
1080
|
-
type: "",
|
|
1081
|
-
tooltip: "触发方式(注:当多种功能重叠时,会同时触发)",
|
|
1082
|
-
el: "hs-select",
|
|
1083
|
-
cel: "hs-option",
|
|
1084
|
-
op: [
|
|
1085
|
-
{ label: "默认", value: "default" },
|
|
1086
|
-
{ label: "点击单元格触发", value: "cell" },
|
|
1087
|
-
{ label: "点击行触发", value: "row" }
|
|
1088
|
-
]
|
|
1089
|
-
},
|
|
1090
|
-
{
|
|
1091
|
-
prop: "highlight",
|
|
1092
|
-
label: "高亮勾选行",
|
|
1093
|
-
type: "",
|
|
1094
|
-
el: "hs-switch"
|
|
1095
|
-
},
|
|
1096
|
-
{
|
|
1097
|
-
prop: "reserve",
|
|
1098
|
-
label: "是否保留勾选状态",
|
|
1099
|
-
tooltip: "是否保留勾选状态,对于某些场景可能会用到,比如数据被刷新之后还保留之前选中的状态(需要有 rowConfig.keyField)",
|
|
1100
|
-
type: "",
|
|
1101
|
-
el: "hs-switch"
|
|
1102
|
-
},
|
|
1103
|
-
{
|
|
1104
|
-
prop: "range",
|
|
1105
|
-
label: "开启复选框范围选择功能",
|
|
1106
|
-
type: "",
|
|
1107
|
-
tooltip: "开启复选框范围选择功能(启用后通过鼠标在复选框的列内滑动选中或取消指定行)",
|
|
1108
|
-
el: "hs-switch"
|
|
1109
|
-
},
|
|
1110
|
-
{
|
|
1111
|
-
prop: "isShiftKey",
|
|
1112
|
-
label: "开启复选框指定行选择功能",
|
|
1113
|
-
tooltip: "开启复选框指定行选择功能(启用后通过鼠标点击和 shift 键选取指定范围的行)",
|
|
1114
|
-
type: "",
|
|
1115
|
-
el: "hs-switch"
|
|
1116
|
-
}
|
|
1117
|
-
]
|
|
1118
|
-
},
|
|
1119
|
-
{
|
|
1120
|
-
key: "tooltipConfig",
|
|
1121
|
-
visible: false,
|
|
1122
|
-
title: "tooltip 配置项",
|
|
1123
|
-
tooltipConfig: [
|
|
1124
|
-
{
|
|
1125
|
-
prop: "showAll",
|
|
1126
|
-
label: "所有单元格开启工具提示",
|
|
1127
|
-
tooltip: "所有单元格开启工具提示",
|
|
1128
|
-
type: "",
|
|
1129
|
-
el: "hs-switch"
|
|
1130
|
-
},
|
|
1131
|
-
{
|
|
1132
|
-
prop: "theme",
|
|
1133
|
-
label: "主题颜色",
|
|
1134
|
-
tooltip: "tooltip 的主题颜色",
|
|
1135
|
-
type: "",
|
|
1136
|
-
el: "hs-select",
|
|
1137
|
-
cel: "hs-option",
|
|
1138
|
-
op: [
|
|
1139
|
-
{ label: "暗黑", value: "dark" },
|
|
1140
|
-
{ label: "明亮", value: "light" }
|
|
1141
|
-
]
|
|
1142
|
-
},
|
|
1143
|
-
{
|
|
1144
|
-
prop: "enterable",
|
|
1145
|
-
label: "鼠标是否可进入到工具提示中",
|
|
1146
|
-
tooltip: "鼠标是否可进入到工具提示中",
|
|
1147
|
-
type: "",
|
|
1148
|
-
el: "hs-switch"
|
|
1149
|
-
},
|
|
1150
|
-
{
|
|
1151
|
-
prop: "enterDelay",
|
|
1152
|
-
label: "鼠标移入后延时多少才显示工具提示",
|
|
1153
|
-
tooltip: "鼠标移入后延时多少才显示工具提示",
|
|
1154
|
-
type: "number",
|
|
1155
|
-
el: "hs-input-number"
|
|
1156
|
-
},
|
|
1157
|
-
{
|
|
1158
|
-
prop: "leaveDelay",
|
|
1159
|
-
label: "鼠标移出后延时多少才隐藏工具提示",
|
|
1160
|
-
type: "number",
|
|
1161
|
-
el: "hs-input-number"
|
|
1162
|
-
},
|
|
1163
|
-
{
|
|
1164
|
-
prop: "contentMethod",
|
|
1165
|
-
label: "通过返回值来重写默认的提示内容",
|
|
1166
|
-
type: "textarea",
|
|
1167
|
-
el: "hs-input",
|
|
1168
|
-
tooltip: "该方法可以通过返回值来重写默认的提示内容,可以返回 null 使用默认的提示内容,可以返回空内容去掉指定单元格的提示内容"
|
|
1169
|
-
}
|
|
1170
|
-
]
|
|
1171
|
-
},
|
|
1172
|
-
{
|
|
1173
|
-
key: "expandConfig",
|
|
1174
|
-
visible: false,
|
|
1175
|
-
title: "展开行配置项(不支持虚拟滚动)",
|
|
1176
|
-
expandConfig: [
|
|
1177
|
-
{
|
|
1178
|
-
prop: "labelField",
|
|
1179
|
-
label: "展开列显示的字段名",
|
|
1180
|
-
type: "",
|
|
1181
|
-
tooltip: "展开列显示的字段名,可以直接显示在单元格中",
|
|
1182
|
-
el: "hs-input"
|
|
1183
|
-
},
|
|
1184
|
-
{
|
|
1185
|
-
prop: "expandAll",
|
|
1186
|
-
label: "默认展开所有行",
|
|
1187
|
-
type: "",
|
|
1188
|
-
tooltip: "默认展开所有行(只会在初始化时被触发一次)",
|
|
1189
|
-
el: "hs-switch"
|
|
1190
|
-
},
|
|
1191
|
-
{
|
|
1192
|
-
prop: "expandRowKeys",
|
|
1193
|
-
label: "默认展开指定行",
|
|
1194
|
-
type: "textarea",
|
|
1195
|
-
tooltip: "默认展开指定行(只会在初始化时被触发一次,需要有 rowConfig.keyField)",
|
|
1196
|
-
el: "hs-input"
|
|
1197
|
-
},
|
|
1198
|
-
{
|
|
1199
|
-
prop: "accordion",
|
|
1200
|
-
label: "每次只能展开一行",
|
|
1201
|
-
type: "",
|
|
1202
|
-
el: "hs-switch"
|
|
1203
|
-
},
|
|
1204
|
-
{
|
|
1205
|
-
prop: "height",
|
|
1206
|
-
label: "展开内容的高度",
|
|
1207
|
-
tooltip: "展开内容的高度,默认自适应高度",
|
|
1208
|
-
type: "",
|
|
1209
|
-
el: "hs-input"
|
|
1210
|
-
},
|
|
1211
|
-
{
|
|
1212
|
-
prop: "trigger",
|
|
1213
|
-
label: "触发方式",
|
|
1214
|
-
type: "",
|
|
1215
|
-
tooltip: "触发方式(注:当多种功能重叠时,会同时触发)",
|
|
1216
|
-
el: "hs-select",
|
|
1217
|
-
cel: "hs-option",
|
|
1218
|
-
op: [
|
|
1219
|
-
{ label: "默认", value: "default" },
|
|
1220
|
-
{ label: "点击单元格触发", value: "cell" },
|
|
1221
|
-
{ label: "点击行触发", value: "row" }
|
|
1222
|
-
]
|
|
1223
|
-
},
|
|
1224
|
-
{
|
|
1225
|
-
prop: "lazy",
|
|
1226
|
-
label: "是否使用懒加载",
|
|
1227
|
-
type: "",
|
|
1228
|
-
el: "hs-switch"
|
|
1229
|
-
},
|
|
1230
|
-
{
|
|
1231
|
-
prop: "loadMethod",
|
|
1232
|
-
label: "该方法用于异步加载展开后的内容",
|
|
1233
|
-
type: "textarea",
|
|
1234
|
-
tooltip: "该方法用于异步加载展开后的内容(必须返回 Promise<any[]> 对象)",
|
|
1235
|
-
el: "hs-input"
|
|
1236
|
-
},
|
|
1237
|
-
{
|
|
1238
|
-
prop: "toggleMethod",
|
|
1239
|
-
label: "该方法在展开或关闭触发之前调用",
|
|
1240
|
-
tooltip: "该方法在展开或关闭触发之前调用,可以通过返回值来决定是否允许继续执行",
|
|
1241
|
-
type: "textarea",
|
|
1242
|
-
el: "hs-input"
|
|
1243
|
-
},
|
|
1244
|
-
{
|
|
1245
|
-
prop: "visibleMethod",
|
|
1246
|
-
label: "是否允许显示展开按钮",
|
|
1247
|
-
tooltip: "该函数的返回值用来决定是否允许显示展开按钮",
|
|
1248
|
-
type: "textarea",
|
|
1249
|
-
el: "hs-input"
|
|
1250
|
-
},
|
|
1251
|
-
{
|
|
1252
|
-
prop: "reserve",
|
|
1253
|
-
label: "是否保留展开状态",
|
|
1254
|
-
type: "",
|
|
1255
|
-
tooltip: "是否保留展开状态,对于某些场景可能会用到,比如数据被刷新之后还保留之前展开的状态(需要有 rowConfig.keyField)",
|
|
1256
|
-
el: "hs-switch"
|
|
1257
|
-
},
|
|
1258
|
-
{
|
|
1259
|
-
prop: "showIcon",
|
|
1260
|
-
label: "是否显示图标按钮",
|
|
1261
|
-
type: "",
|
|
1262
|
-
el: "hs-switch"
|
|
1263
|
-
},
|
|
1264
|
-
{
|
|
1265
|
-
prop: "iconOpen",
|
|
1266
|
-
label: "自定义展开后显示的图标",
|
|
1267
|
-
type: "",
|
|
1268
|
-
el: "hs-input"
|
|
1269
|
-
},
|
|
1270
|
-
{
|
|
1271
|
-
prop: "iconClose",
|
|
1272
|
-
label: "自定义收起后显示的图标",
|
|
1273
|
-
type: "",
|
|
1274
|
-
el: "hs-input"
|
|
1275
|
-
},
|
|
1276
|
-
{
|
|
1277
|
-
prop: "iconLoaded",
|
|
1278
|
-
label: "自定义懒加载中显示的图标",
|
|
1279
|
-
type: "",
|
|
1280
|
-
el: "hs-input"
|
|
1281
|
-
}
|
|
1282
|
-
]
|
|
1283
|
-
},
|
|
1284
|
-
{
|
|
1285
|
-
key: "treeConfig",
|
|
1286
|
-
visible: false,
|
|
1287
|
-
title: "树形结构配置项",
|
|
1288
|
-
treeConfig: [
|
|
1289
|
-
{
|
|
1290
|
-
prop: "transform",
|
|
1291
|
-
label: "自动将列表转为树结构",
|
|
1292
|
-
tooltip: "自动将列表转为树结构(支持虚拟滚动)",
|
|
1293
|
-
type: "",
|
|
1294
|
-
el: "hs-switch"
|
|
1295
|
-
},
|
|
1296
|
-
{
|
|
1297
|
-
prop: "rowField",
|
|
1298
|
-
label: "树节点的字段名",
|
|
1299
|
-
tooltip: "用于 treeConfig.transform,树节点的字段名",
|
|
1300
|
-
type: "",
|
|
1301
|
-
el: "hs-input"
|
|
1302
|
-
},
|
|
1303
|
-
{
|
|
1304
|
-
prop: "parentField",
|
|
1305
|
-
label: "树父节点的字段名",
|
|
1306
|
-
tooltip: "用于 treeConfig.transform,树父节点的字段名",
|
|
1307
|
-
type: "",
|
|
1308
|
-
el: "hs-input"
|
|
1309
|
-
},
|
|
1310
|
-
{
|
|
1311
|
-
prop: "childrenField",
|
|
1312
|
-
label: "树子节点的字段名",
|
|
1313
|
-
type: "",
|
|
1314
|
-
el: "hs-input"
|
|
1315
|
-
},
|
|
1316
|
-
{
|
|
1317
|
-
prop: "indent",
|
|
1318
|
-
label: "树节点的缩进",
|
|
1319
|
-
type: "number",
|
|
1320
|
-
el: "hs-input-number"
|
|
1321
|
-
},
|
|
1322
|
-
{
|
|
1323
|
-
prop: "showLine",
|
|
1324
|
-
label: "树节点的连接线",
|
|
1325
|
-
type: "",
|
|
1326
|
-
tooltip: "树节点的连接线(启用连接线会降低渲染性能)",
|
|
1327
|
-
el: "hs-switch"
|
|
1328
|
-
},
|
|
1329
|
-
{
|
|
1330
|
-
prop: "expandAll",
|
|
1331
|
-
label: "默认展开所有子孙树节点",
|
|
1332
|
-
type: "",
|
|
1333
|
-
tooltip: "默认展开所有子孙树节点(只会在初始化时被触发一次)",
|
|
1334
|
-
el: "hs-switch"
|
|
1335
|
-
},
|
|
1336
|
-
{
|
|
1337
|
-
prop: "expandRowKeys",
|
|
1338
|
-
label: "默认展开指定树节点",
|
|
1339
|
-
type: "textarea",
|
|
1340
|
-
el: "hs-input",
|
|
1341
|
-
tooltip: "默认展开指定树节点(只会在初始化时被触发一次,需要有 rowConfig.keyField)"
|
|
1342
|
-
},
|
|
1343
|
-
{
|
|
1344
|
-
prop: "accordion",
|
|
1345
|
-
label: "同级节点每次只展开一个",
|
|
1346
|
-
tooltip: "对于同一级的节点,每次只能展开一个",
|
|
1347
|
-
type: "",
|
|
1348
|
-
el: "hs-switch"
|
|
1349
|
-
},
|
|
1350
|
-
{
|
|
1351
|
-
prop: "trigger",
|
|
1352
|
-
label: "触发方式",
|
|
1353
|
-
type: "",
|
|
1354
|
-
tooltip: "触发方式(注:当多种功能重叠时,会同时触发)",
|
|
1355
|
-
el: "hs-select",
|
|
1356
|
-
cel: "hs-option",
|
|
1357
|
-
op: [
|
|
1358
|
-
{ label: "默认", value: "default" },
|
|
1359
|
-
{ label: "点击单元格触发", value: "cell" },
|
|
1360
|
-
{ label: "点击行触发", value: "row" }
|
|
1361
|
-
]
|
|
1362
|
-
},
|
|
1363
|
-
{
|
|
1364
|
-
prop: "lazy",
|
|
1365
|
-
label: "是否使用懒加载",
|
|
1366
|
-
type: "",
|
|
1367
|
-
tooltip: "是否使用懒加载(启用后只有指定 hasChild 字段的节点才允许被点击)",
|
|
1368
|
-
el: "hs-switch"
|
|
1369
|
-
},
|
|
1370
|
-
{
|
|
1371
|
-
prop: "hasChildField",
|
|
1372
|
-
label: "标识是否存在子节点",
|
|
1373
|
-
tooltip: "只对 lazy 启用后有效,标识是否存在子节点,从而控制是否允许被点击",
|
|
1374
|
-
type: "",
|
|
1375
|
-
el: "hs-input"
|
|
1376
|
-
},
|
|
1377
|
-
{
|
|
1378
|
-
prop: "loadMethod",
|
|
1379
|
-
label: "该方法用于异步加载子节点",
|
|
1380
|
-
type: "textarea",
|
|
1381
|
-
tooltip: "该方法用于异步加载子节点(必须返回 Promise<any[]> 对象)",
|
|
1382
|
-
el: "hs-input"
|
|
1383
|
-
},
|
|
1384
|
-
{
|
|
1385
|
-
prop: "toggleMethod",
|
|
1386
|
-
label: "在展开或关闭触发判断是否继续执行",
|
|
1387
|
-
tooltip: "该方法在展开或关闭触发之前调用,可以通过返回值来决定是否允许继续执行",
|
|
1388
|
-
type: "textarea",
|
|
1389
|
-
el: "hs-input"
|
|
1390
|
-
},
|
|
1391
|
-
{
|
|
1392
|
-
prop: "reserve",
|
|
1393
|
-
label: "是否保留展开状态",
|
|
1394
|
-
type: "",
|
|
1395
|
-
tooltip: "是否保留展开状态,对于某些场景可能会用到,比如数据被刷新之后还保留之前展开的状态(需要有 rowConfig.keyField)",
|
|
1396
|
-
el: "hs-switch"
|
|
1397
|
-
},
|
|
1398
|
-
{
|
|
1399
|
-
prop: "showIcon",
|
|
1400
|
-
label: "是否显示图标按钮",
|
|
1401
|
-
type: "",
|
|
1402
|
-
el: "hs-switch"
|
|
1403
|
-
},
|
|
1404
|
-
{
|
|
1405
|
-
prop: "iconOpen",
|
|
1406
|
-
label: "自定义展开后显示的图标",
|
|
1407
|
-
type: "",
|
|
1408
|
-
el: "hs-input"
|
|
1409
|
-
},
|
|
1410
|
-
{
|
|
1411
|
-
prop: "iconClose",
|
|
1412
|
-
label: "自定义收起后显示的图标",
|
|
1413
|
-
type: "",
|
|
1414
|
-
el: "hs-input"
|
|
1415
|
-
},
|
|
1416
|
-
{
|
|
1417
|
-
prop: "iconLoaded",
|
|
1418
|
-
label: "自定义懒加载中显示的图标",
|
|
1419
|
-
type: "",
|
|
1420
|
-
el: "hs-input"
|
|
1421
|
-
}
|
|
1422
|
-
]
|
|
1423
|
-
},
|
|
1424
|
-
{
|
|
1425
|
-
key: "editConfig",
|
|
1426
|
-
visible: false,
|
|
1427
|
-
title: "可编辑配置项",
|
|
1428
|
-
editConfig: [
|
|
1429
|
-
{
|
|
1430
|
-
prop: "trigger",
|
|
1431
|
-
label: "触发方式",
|
|
1432
|
-
type: "",
|
|
1433
|
-
el: "hs-select",
|
|
1434
|
-
cel: "hs-option",
|
|
1435
|
-
op: [
|
|
1436
|
-
{ label: "手动触发(用于行编辑模式)", value: "manual" },
|
|
1437
|
-
{ label: "点击触发编辑", value: "click" },
|
|
1438
|
-
{ label: "双击触发编辑", value: "dblclick" }
|
|
1439
|
-
]
|
|
1440
|
-
},
|
|
1441
|
-
{
|
|
1442
|
-
prop: "enabled",
|
|
1443
|
-
label: "是否启用",
|
|
1444
|
-
type: "",
|
|
1445
|
-
el: "hs-switch"
|
|
1446
|
-
},
|
|
1447
|
-
{
|
|
1448
|
-
prop: "mode",
|
|
1449
|
-
label: "编辑模式",
|
|
1450
|
-
type: "",
|
|
1451
|
-
el: "hs-select",
|
|
1452
|
-
cel: "hs-option",
|
|
1453
|
-
op: [
|
|
1454
|
-
{ label: "单元格编辑模式", value: "cell" },
|
|
1455
|
-
{ label: "行编辑模式", value: "row" }
|
|
1456
|
-
]
|
|
1457
|
-
},
|
|
1458
|
-
{
|
|
1459
|
-
prop: "showIcon",
|
|
1460
|
-
label: "是否显示列头编辑图标",
|
|
1461
|
-
tooltip: "是否显示列头编辑图标",
|
|
1462
|
-
type: "",
|
|
1463
|
-
el: "hs-switch"
|
|
1464
|
-
},
|
|
1465
|
-
{
|
|
1466
|
-
prop: "showStatus",
|
|
1467
|
-
label: "是否显示单元格新增与修改状态",
|
|
1468
|
-
type: "",
|
|
1469
|
-
tooltip: "只对 keep-source 开启有效,是否显示单元格新增与修改状态",
|
|
1470
|
-
el: "hs-switch"
|
|
1471
|
-
},
|
|
1472
|
-
{
|
|
1473
|
-
prop: "showUpdateStatus",
|
|
1474
|
-
label: "是否显示单元格修改状态",
|
|
1475
|
-
type: "",
|
|
1476
|
-
tooltip: "只对 keep-source 开启有效,是否显示单元格修改状态",
|
|
1477
|
-
el: "hs-switch"
|
|
1478
|
-
},
|
|
1479
|
-
{
|
|
1480
|
-
prop: "showInsertStatus",
|
|
1481
|
-
label: "是否显示单元格新增状态",
|
|
1482
|
-
tooltip: "只对 keep-source 开启有效,是否显示单元格新增状态",
|
|
1483
|
-
type: "",
|
|
1484
|
-
el: "hs-switch"
|
|
1485
|
-
},
|
|
1486
|
-
{
|
|
1487
|
-
prop: "showAsterisk",
|
|
1488
|
-
label: "是否显示必填字段的红色星号",
|
|
1489
|
-
tooltip: "是否显示必填字段的红色星号",
|
|
1490
|
-
type: "",
|
|
1491
|
-
el: "hs-switch"
|
|
1492
|
-
},
|
|
1493
|
-
{
|
|
1494
|
-
prop: "autoClear",
|
|
1495
|
-
label: "点空白处是否清除激活状态",
|
|
1496
|
-
type: "",
|
|
1497
|
-
tooltip: "当点击非编辑列之后,是否自动清除单元格的激活状态",
|
|
1498
|
-
el: "hs-switch"
|
|
1499
|
-
},
|
|
1500
|
-
{
|
|
1501
|
-
prop: "beforeEditMethod",
|
|
1502
|
-
label: "该单元格是否允许编辑",
|
|
1503
|
-
tooltip: "该方法的返回值用来决定该单元格是否允许编辑",
|
|
1504
|
-
type: "textarea",
|
|
1505
|
-
el: "hs-input"
|
|
1506
|
-
},
|
|
1507
|
-
{
|
|
1508
|
-
prop: "icon",
|
|
1509
|
-
label: "自定义可编辑列的状态图标",
|
|
1510
|
-
type: "",
|
|
1511
|
-
el: "hs-input"
|
|
1512
|
-
}
|
|
1513
|
-
]
|
|
1514
|
-
},
|
|
1515
|
-
{
|
|
1516
|
-
key: "validConfig",
|
|
1517
|
-
visible: false,
|
|
1518
|
-
title: "校验配置项",
|
|
1519
|
-
validConfig: [
|
|
1520
|
-
{
|
|
1521
|
-
prop: "autoPos",
|
|
1522
|
-
label: "是否自动定位到校验不通过的单元格",
|
|
1523
|
-
tooltip: "是否自动定位到校验不通过的单元格",
|
|
1524
|
-
type: "",
|
|
1525
|
-
el: "hs-switch"
|
|
1526
|
-
},
|
|
1527
|
-
{
|
|
1528
|
-
prop: "showMessage",
|
|
1529
|
-
label: "是否显示错误显示",
|
|
1530
|
-
type: "",
|
|
1531
|
-
el: "hs-switch"
|
|
1532
|
-
}
|
|
1533
|
-
]
|
|
1534
|
-
},
|
|
1535
|
-
{
|
|
1536
|
-
key: "editRules",
|
|
1537
|
-
visible: false,
|
|
1538
|
-
title: "校验规则配置项",
|
|
1539
|
-
editRules: [
|
|
1540
|
-
{
|
|
1541
|
-
prop: "required",
|
|
1542
|
-
label: "是否必填",
|
|
1543
|
-
type: "",
|
|
1544
|
-
el: "hs-switch"
|
|
1545
|
-
},
|
|
1546
|
-
{
|
|
1547
|
-
prop: "min",
|
|
1548
|
-
label: "校验值最小长度",
|
|
1549
|
-
tooltip: "校验值最小长度(如果 type=number 则比较值大小)",
|
|
1550
|
-
type: "number",
|
|
1551
|
-
el: "hs-input-number"
|
|
1552
|
-
},
|
|
1553
|
-
{
|
|
1554
|
-
prop: "max",
|
|
1555
|
-
label: "校验值最大长度",
|
|
1556
|
-
tooltip: "校验值最大长度(如果 type=number 则比较值大小)",
|
|
1557
|
-
type: "number",
|
|
1558
|
-
el: "hs-input-number"
|
|
1559
|
-
},
|
|
1560
|
-
{
|
|
1561
|
-
prop: "type",
|
|
1562
|
-
label: "数据校验的类型",
|
|
1563
|
-
type: "",
|
|
1564
|
-
op: [
|
|
1565
|
-
{ label: "数值", value: "number" },
|
|
1566
|
-
{ label: "字符串", value: "string" },
|
|
1567
|
-
{ label: "数组", value: "array" }
|
|
1568
|
-
],
|
|
1569
|
-
el: "hs-select",
|
|
1570
|
-
cel: "hs-option"
|
|
1571
|
-
},
|
|
1572
|
-
{
|
|
1573
|
-
prop: "pattern",
|
|
1574
|
-
label: "正则校验",
|
|
1575
|
-
type: "textarea",
|
|
1576
|
-
el: "hs-input"
|
|
1577
|
-
},
|
|
1578
|
-
{
|
|
1579
|
-
prop: "validator",
|
|
1580
|
-
label: '"自定义校验方法',
|
|
1581
|
-
tooltip: '自定义校验方法返回一个 Error 或者 Promise<new Error("提示消息")>',
|
|
1582
|
-
type: "textarea",
|
|
1583
|
-
el: "hs-input"
|
|
1584
|
-
},
|
|
1585
|
-
{
|
|
1586
|
-
prop: "message",
|
|
1587
|
-
label: "校验提示内容",
|
|
1588
|
-
tooltip: "校验提示内容(支持开启国际化)",
|
|
1589
|
-
type: "",
|
|
1590
|
-
el: "hs-input"
|
|
1591
|
-
}
|
|
1592
|
-
]
|
|
1593
|
-
},
|
|
1594
|
-
{
|
|
1595
|
-
key: "emptyRender",
|
|
1596
|
-
visible: false,
|
|
1597
|
-
title: "空内容渲染配置项",
|
|
1598
|
-
emptyRender: [
|
|
1599
|
-
{
|
|
1600
|
-
prop: "name",
|
|
1601
|
-
label: "渲染器名称",
|
|
1602
|
-
type: "",
|
|
1603
|
-
el: "hs-input"
|
|
1604
|
-
}
|
|
1605
|
-
]
|
|
1606
|
-
},
|
|
1607
|
-
{
|
|
1608
|
-
key: "loadingConfig",
|
|
1609
|
-
visible: false,
|
|
1610
|
-
title: "加载中配置项",
|
|
1611
|
-
loadingConfig: [
|
|
1612
|
-
{
|
|
1613
|
-
prop: "icon",
|
|
1614
|
-
label: "显示图标",
|
|
1615
|
-
type: "",
|
|
1616
|
-
el: "hs-input"
|
|
1617
|
-
},
|
|
1618
|
-
{
|
|
1619
|
-
prop: "text",
|
|
1620
|
-
label: "显示文字",
|
|
1621
|
-
type: "",
|
|
1622
|
-
el: "hs-input"
|
|
1623
|
-
}
|
|
1624
|
-
]
|
|
1625
|
-
},
|
|
1626
|
-
{
|
|
1627
|
-
key: "scrollX",
|
|
1628
|
-
visible: false,
|
|
1629
|
-
title: "横向虚拟滚动配置",
|
|
1630
|
-
scrollX: [
|
|
1631
|
-
{
|
|
1632
|
-
prop: "enabled",
|
|
1633
|
-
label: "是否启用",
|
|
1634
|
-
el: "hs-switch"
|
|
1635
|
-
},
|
|
1636
|
-
{
|
|
1637
|
-
prop: "gt",
|
|
1638
|
-
label: "指定大于指定列时自动启动横向虚拟滚动",
|
|
1639
|
-
tooltip: "指定大于指定列时自动启动横向虚拟滚动,如果为 0 则总是启用;如果需要关闭,可以设置 enabled 为 false",
|
|
1640
|
-
type: "number",
|
|
1641
|
-
el: "hs-input-number"
|
|
1642
|
-
},
|
|
1643
|
-
{
|
|
1644
|
-
prop: "oSize",
|
|
1645
|
-
label: "指定每次渲染的数据偏移量",
|
|
1646
|
-
tooltip: "指定每次渲染的数据偏移量,偏移量越大渲染次数就越少,但每次渲染耗时就越久(对于低性能浏览器可以设置大一点,减低渲染次数)",
|
|
1647
|
-
type: "number",
|
|
1648
|
-
el: "hs-input-number"
|
|
1649
|
-
},
|
|
1650
|
-
{
|
|
1651
|
-
prop: "scrollToLeftOnChange",
|
|
1652
|
-
label: "数据改变滚动条是否复位",
|
|
1653
|
-
tooltip: "当数据源被更改时,自动将横向滚动条滚动到左侧",
|
|
1654
|
-
type: "",
|
|
1655
|
-
el: "hs-switch"
|
|
1656
|
-
}
|
|
1657
|
-
]
|
|
1658
|
-
},
|
|
1659
|
-
{
|
|
1660
|
-
key: "scrollY",
|
|
1661
|
-
visible: false,
|
|
1662
|
-
title: "纵向虚拟滚动配置",
|
|
1663
|
-
scrollY: [
|
|
1664
|
-
{
|
|
1665
|
-
prop: "enabled",
|
|
1666
|
-
label: "是否启用",
|
|
1667
|
-
type: "",
|
|
1668
|
-
el: "hs-switch"
|
|
1669
|
-
},
|
|
1670
|
-
{
|
|
1671
|
-
prop: "mode",
|
|
1672
|
-
label: "滚动模式",
|
|
1673
|
-
type: "",
|
|
1674
|
-
op: [
|
|
1675
|
-
{ label: "默认", value: "default" },
|
|
1676
|
-
{ label: "无限滚动", value: "wheel" }
|
|
1677
|
-
],
|
|
1678
|
-
el: "hs-select",
|
|
1679
|
-
cel: "hs-option"
|
|
1680
|
-
},
|
|
1681
|
-
{
|
|
1682
|
-
prop: "gt",
|
|
1683
|
-
label: "指定大于指定行时自动启动纵向虚拟滚动",
|
|
1684
|
-
tooltip: "指定大于指定行时自动启动纵向虚拟滚动,如果为 0 则总是启用;如果需要关闭,可以设置 enabled 为 false(注:启用纵向虚拟滚动之后将不能支持动态行高)",
|
|
1685
|
-
type: "number",
|
|
1686
|
-
el: "hs-input-number"
|
|
1687
|
-
},
|
|
1688
|
-
{
|
|
1689
|
-
prop: "oSize",
|
|
1690
|
-
label: "指定每次渲染的数据偏移量",
|
|
1691
|
-
tooltip: "指定每次渲染的数据偏移量,偏移量越大渲染次数就越少,但每次渲染耗时就越久(对于低性能浏览器可以设置大一点,减低渲染次数)",
|
|
1692
|
-
type: "number",
|
|
1693
|
-
el: "hs-input-number"
|
|
1694
|
-
},
|
|
1695
|
-
{
|
|
1696
|
-
prop: "scrollToTopOnChange",
|
|
1697
|
-
label: "数据改变滚动条是否复位",
|
|
1698
|
-
tooltip: "当数据源被更改时,自动将纵向滚动条滚动到顶部",
|
|
1699
|
-
type: "",
|
|
1700
|
-
el: "hs-switch"
|
|
1701
|
-
}
|
|
1702
|
-
]
|
|
1703
|
-
}
|
|
1704
|
-
];
|
|
1705
|
-
const tablePageConfig = [
|
|
1706
|
-
{
|
|
1707
|
-
prop: "size",
|
|
1708
|
-
label: "尺寸",
|
|
1709
|
-
el: "hs-select",
|
|
1710
|
-
cel: "hs-option",
|
|
1711
|
-
op: [
|
|
1712
|
-
{ label: "中等", value: "medium" },
|
|
1713
|
-
{ label: "小号", value: "small" },
|
|
1714
|
-
{ label: "迷你", value: "mini" }
|
|
1715
|
-
]
|
|
1716
|
-
},
|
|
1717
|
-
{
|
|
1718
|
-
prop: "loading",
|
|
1719
|
-
label: "是否加载中",
|
|
1720
|
-
el: "hs-switch"
|
|
1721
|
-
},
|
|
1722
|
-
{
|
|
1723
|
-
prop: "layouts",
|
|
1724
|
-
label: "自定义布局",
|
|
1725
|
-
type: "textarea",
|
|
1726
|
-
el: "hs-input"
|
|
1727
|
-
},
|
|
1728
|
-
{
|
|
1729
|
-
prop: "currentPage",
|
|
1730
|
-
label: "当前页",
|
|
1731
|
-
type: "number",
|
|
1732
|
-
el: "hs-input-number"
|
|
1733
|
-
},
|
|
1734
|
-
{
|
|
1735
|
-
prop: "pageSize",
|
|
1736
|
-
label: "每页大小",
|
|
1737
|
-
type: "number",
|
|
1738
|
-
el: "hs-input-number"
|
|
1739
|
-
},
|
|
1740
|
-
{
|
|
1741
|
-
prop: "total",
|
|
1742
|
-
label: "总条数",
|
|
1743
|
-
type: "number",
|
|
1744
|
-
el: "hs-input-number"
|
|
1745
|
-
},
|
|
1746
|
-
{
|
|
1747
|
-
prop: "pagerCount",
|
|
1748
|
-
label: "显示页码按钮的数量",
|
|
1749
|
-
type: "number",
|
|
1750
|
-
el: "hs-input-number"
|
|
1751
|
-
},
|
|
1752
|
-
{
|
|
1753
|
-
prop: "pageSizes",
|
|
1754
|
-
label: "每页大小选项列表",
|
|
1755
|
-
type: "textarea",
|
|
1756
|
-
el: "hs-input"
|
|
1757
|
-
},
|
|
1758
|
-
{
|
|
1759
|
-
prop: "align",
|
|
1760
|
-
label: "对齐方式",
|
|
1761
|
-
el: "hs-select",
|
|
1762
|
-
cel: "hs-option",
|
|
1763
|
-
op: [
|
|
1764
|
-
{ label: "左对齐", value: "left" },
|
|
1765
|
-
{ label: "居中对齐", value: "center" },
|
|
1766
|
-
{ label: "右对齐", value: "right" }
|
|
1767
|
-
]
|
|
1768
|
-
},
|
|
1769
|
-
{
|
|
1770
|
-
prop: "border",
|
|
1771
|
-
label: "带边框",
|
|
1772
|
-
el: "hs-switch"
|
|
1773
|
-
},
|
|
1774
|
-
{
|
|
1775
|
-
prop: "background",
|
|
1776
|
-
label: "带背景颜色",
|
|
1777
|
-
el: "hs-switch"
|
|
1778
|
-
},
|
|
1779
|
-
{
|
|
1780
|
-
prop: "perfect",
|
|
1781
|
-
label: "配套的样式",
|
|
1782
|
-
el: "hs-switch"
|
|
1783
|
-
},
|
|
1784
|
-
{
|
|
1785
|
-
prop: "className",
|
|
1786
|
-
label: "给分页附加 className",
|
|
1787
|
-
type: "textarea",
|
|
1788
|
-
el: "hs-input"
|
|
1789
|
-
},
|
|
1790
|
-
{
|
|
1791
|
-
prop: "autoHidden",
|
|
1792
|
-
label: "当只有一页时自动隐藏",
|
|
1793
|
-
el: "hs-switch"
|
|
1794
|
-
},
|
|
1795
|
-
{
|
|
1796
|
-
prop: "iconPrevPage",
|
|
1797
|
-
label: "自定义上一页图标",
|
|
1798
|
-
el: "hs-input"
|
|
1799
|
-
},
|
|
1800
|
-
{
|
|
1801
|
-
prop: "iconJumpPrev",
|
|
1802
|
-
label: "自定义向上跳页图标",
|
|
1803
|
-
el: "hs-input"
|
|
1804
|
-
},
|
|
1805
|
-
{
|
|
1806
|
-
prop: "iconJumpNext",
|
|
1807
|
-
label: "自定义向下跳页图标",
|
|
1808
|
-
el: "hs-input"
|
|
1809
|
-
},
|
|
1810
|
-
{
|
|
1811
|
-
prop: "iconnextPage",
|
|
1812
|
-
label: "自定义下一页图标",
|
|
1813
|
-
el: "hs-input"
|
|
1814
|
-
},
|
|
1815
|
-
{
|
|
1816
|
-
prop: "iconJumpMore",
|
|
1817
|
-
label: "自定义跳页显示图标",
|
|
1818
|
-
el: "hs-input"
|
|
1819
|
-
}
|
|
1820
|
-
];
|
|
1821
|
-
const tableColumnConfigData = {
|
|
1822
|
-
// type: undefined, //列的类型
|
|
1823
|
-
field: "",
|
|
1824
|
-
// 列字段名
|
|
1825
|
-
parent_field: "",
|
|
1826
|
-
// 父级字段名
|
|
1827
|
-
title: "展示列名称",
|
|
1828
|
-
// 列标题
|
|
1829
|
-
isSlot: false,
|
|
1830
|
-
// 是否启用插槽
|
|
1831
|
-
isApply: true,
|
|
1832
|
-
// 是否启用
|
|
1833
|
-
isShow: true,
|
|
1834
|
-
// 是否显示
|
|
1835
|
-
returnValueType: "string",
|
|
1836
|
-
// 返回值类型
|
|
1837
|
-
width: "",
|
|
1838
|
-
//列宽度
|
|
1839
|
-
minWidth: "",
|
|
1840
|
-
// 最小列宽度
|
|
1841
|
-
formatAmount: false,
|
|
1842
|
-
// 是否开启金额格式化
|
|
1843
|
-
resizable: true,
|
|
1844
|
-
// 是否允许调整列宽
|
|
1845
|
-
visible: true,
|
|
1846
|
-
// 默认是否显示
|
|
1847
|
-
// TODO:
|
|
1848
|
-
slotTemplateConfig: {},
|
|
1849
|
-
// 插槽模板配置
|
|
1850
|
-
// fixed: '', //列固定位置
|
|
1851
|
-
// align: '', // 列对齐方式
|
|
1852
|
-
// headerAlign: '', // 表头列的对齐方式
|
|
1853
|
-
// footerAlign: '', // 表尾列的对齐方式
|
|
1854
|
-
// showOverflow: '', // 当内容过长时显示为省略号
|
|
1855
|
-
// showHeaderOverflow: '', // 当表头内容过长时显示为省略号
|
|
1856
|
-
// showFooterOverflow: '', // 当表尾内容过长时显示为省略号
|
|
1857
|
-
// className: '', // 给单元格附加 className
|
|
1858
|
-
// headerClassName: '', // 给表头的单元格附加 className
|
|
1859
|
-
// footerClassName: '', // 给表尾的单元格附加 className
|
|
1860
|
-
// formatter: '', // 格式化显示内容
|
|
1861
|
-
dragSort: false,
|
|
1862
|
-
// 数据拖拽排序,是否允许列拖拽排序
|
|
1863
|
-
sortable: true,
|
|
1864
|
-
// 数据排序,是否允许列排序
|
|
1865
|
-
// sortBy: '', // 指定排序的字段
|
|
1866
|
-
sortType: "auto",
|
|
1867
|
-
// 排序的字段类型
|
|
1868
|
-
filterMultiple: true,
|
|
1869
|
-
// 筛选是否允许多选
|
|
1870
|
-
// filterMethod: '', // 方法的返回值用来决定该行是否显示
|
|
1871
|
-
// filterResetMethod: '', // 数据筛选,只对 filters 有效,自定义筛选重置方法
|
|
1872
|
-
// filterRecoverMethod: '', // 数据筛选,只对 filters 有效,自定义筛选复原方法(使用自定义筛选时可能会用到)
|
|
1873
|
-
cellType: "auto",
|
|
1874
|
-
// 只对特定功能有效,单元格值类型(例如:导出数据类型设置)
|
|
1875
|
-
treeNode: false,
|
|
1876
|
-
// 只对 treeConfig 配置时有效,指定为树节点
|
|
1877
|
-
// colId: '', // 自定义列的唯一主键
|
|
1878
|
-
filters: [],
|
|
1879
|
-
// 数据筛选,配置筛选条件(注:筛选只能用于列表,如果是树结构则过滤根节点)
|
|
1880
|
-
filterRender: {},
|
|
1881
|
-
// 数据筛选,筛选渲染器配置项
|
|
1882
|
-
titlePrefix: {},
|
|
1883
|
-
// 标题前缀图标配置项
|
|
1884
|
-
cellRender: {},
|
|
1885
|
-
// 默认的渲染器配置项
|
|
1886
|
-
editRender: {},
|
|
1887
|
-
// {
|
|
1888
|
-
// name: '',
|
|
1889
|
-
// enabled: true,
|
|
1890
|
-
// props: '',
|
|
1891
|
-
// attrs: '',
|
|
1892
|
-
// options: '',
|
|
1893
|
-
// optionProps: '{ value, label }',
|
|
1894
|
-
// optionGroups: '',
|
|
1895
|
-
// optionGroupProps: '{ options, label }',
|
|
1896
|
-
// events: '',
|
|
1897
|
-
// content: '',
|
|
1898
|
-
// autofocus: '.el-input__inner',
|
|
1899
|
-
// autoselect: true,
|
|
1900
|
-
// defaultValue: null,
|
|
1901
|
-
// immediate: false,
|
|
1902
|
-
// placeholder: '',
|
|
1903
|
-
// }, // 可编辑渲染器配置项
|
|
1904
|
-
contentRender: {}
|
|
1905
|
-
// 内容渲染配置项
|
|
1906
|
-
// ===================================
|
|
1907
|
-
// 'filters':{'checked': false,}, // 数据筛选,配置筛选条件(注:筛选只能用于列表,如果是树结构则过滤根节点)
|
|
1908
|
-
// 'filter-render': {}, // 数据筛选,筛选渲染器配置项
|
|
1909
|
-
// 'title-prefix':{}, // 标题前缀图标配置项
|
|
1910
|
-
// 'cell-render':{'optionProps':"{ value, label }", 'optionGroupProps':'{ options, label }',}, // 默认的渲染器配置项
|
|
1911
|
-
// 'edit-render': {'enabled':true,'optionProps': '{ value, label }', 'optionGroupProps':'{ options, label }', 'autoselect':false, 'defaultValue':null, 'immediate':false,}, // 可编辑渲染器配置项
|
|
1912
|
-
// 'content-render': {}, // 内容渲染配置项
|
|
1913
|
-
};
|
|
1914
|
-
const tableItemType = {
|
|
1915
|
-
seq: "序号",
|
|
1916
|
-
checkbox: "复选框",
|
|
1917
|
-
radio: "单选框",
|
|
1918
|
-
expand: "展开行",
|
|
1919
|
-
html: "HTML 标签"
|
|
1920
|
-
};
|
|
1921
|
-
const tableColumnConfig = ref([
|
|
1922
|
-
{
|
|
1923
|
-
prop: "type",
|
|
1924
|
-
label: "列的类型",
|
|
1925
|
-
tooltip: "列的类型(部分功能需要设置 columnConfig.useKey",
|
|
1926
|
-
type: "",
|
|
1927
|
-
el: "hs-select",
|
|
1928
|
-
cel: "hs-option",
|
|
1929
|
-
op: [
|
|
1930
|
-
{ label: "序号", value: "seq" },
|
|
1931
|
-
{ label: "复选框", value: "checkbox" },
|
|
1932
|
-
{ label: "单选框", value: "radio" },
|
|
1933
|
-
{ label: "展开行", value: "expand" }
|
|
1934
|
-
]
|
|
1935
|
-
},
|
|
1936
|
-
{
|
|
1937
|
-
prop: "parent_field",
|
|
1938
|
-
label: "父级字段",
|
|
1939
|
-
type: "",
|
|
1940
|
-
tooltip: "父级字段,用于多级表头合并",
|
|
1941
|
-
el: "hs-input"
|
|
1942
|
-
},
|
|
1943
|
-
{
|
|
1944
|
-
prop: "title",
|
|
1945
|
-
label: "列标题",
|
|
1946
|
-
type: "",
|
|
1947
|
-
// required: true,
|
|
1948
|
-
tooltip: "列标题(支持开启国际化)",
|
|
1949
|
-
el: "hs-input"
|
|
1950
|
-
},
|
|
1951
|
-
{
|
|
1952
|
-
prop: "field",
|
|
1953
|
-
label: "列字段名",
|
|
1954
|
-
slotValue: "field",
|
|
1955
|
-
// required: true,
|
|
1956
|
-
tooltip: "列字段名(注:属性层级越深,渲染性能就越差,例如:aa.bb.cc.dd.ee)",
|
|
1957
|
-
type: "",
|
|
1958
|
-
el: "hs-input"
|
|
1959
|
-
},
|
|
1960
|
-
{
|
|
1961
|
-
prop: "returnValueType",
|
|
1962
|
-
label: "返回值类型",
|
|
1963
|
-
el: "hs-select",
|
|
1964
|
-
cel: "hs-option",
|
|
1965
|
-
op: [
|
|
1966
|
-
{ label: "String", value: "string" },
|
|
1967
|
-
{ label: "Number", value: "number" },
|
|
1968
|
-
{ label: "String|Number", value: "string|number" },
|
|
1969
|
-
{ label: "Boolean", value: "boolean" }
|
|
1970
|
-
]
|
|
1971
|
-
},
|
|
1972
|
-
{
|
|
1973
|
-
prop: "isSlot",
|
|
1974
|
-
label: "是否自定义插槽",
|
|
1975
|
-
el: "hs-switch",
|
|
1976
|
-
tooltip: "下拉选择,自定义模板,选择的名称就是模板名称"
|
|
1977
|
-
},
|
|
1978
|
-
{
|
|
1979
|
-
prop: "el",
|
|
1980
|
-
label: "插槽模版",
|
|
1981
|
-
tooltip: "下拉选择组件类型,组件类型取自配置文件",
|
|
1982
|
-
el: "hs-select",
|
|
1983
|
-
cel: "hs-option",
|
|
1984
|
-
op: configElList.value
|
|
1985
|
-
},
|
|
1986
|
-
{
|
|
1987
|
-
prop: "isApply",
|
|
1988
|
-
label: "是否启用",
|
|
1989
|
-
el: "hs-switch"
|
|
1990
|
-
},
|
|
1991
|
-
{
|
|
1992
|
-
prop: "isShow",
|
|
1993
|
-
label: "是否显示",
|
|
1994
|
-
el: "hs-switch"
|
|
1995
|
-
},
|
|
1996
|
-
{
|
|
1997
|
-
prop: "width",
|
|
1998
|
-
label: "列宽度",
|
|
1999
|
-
type: "",
|
|
2000
|
-
tooltip: "首先设置列宽属性,当有需要时在设置最小列宽属性",
|
|
2001
|
-
el: "hs-input"
|
|
2002
|
-
},
|
|
2003
|
-
{
|
|
2004
|
-
prop: "minWidth",
|
|
2005
|
-
label: "最小列宽度",
|
|
2006
|
-
type: "",
|
|
2007
|
-
tooltip: "金额列设置为0时,会自动撑开",
|
|
2008
|
-
el: "hs-input"
|
|
2009
|
-
},
|
|
2010
|
-
{
|
|
2011
|
-
prop: "formatAmount",
|
|
2012
|
-
label: "是否开启金额格式化",
|
|
2013
|
-
type: "",
|
|
2014
|
-
tooltip: "是否开启金额格式化",
|
|
2015
|
-
el: "hs-switch"
|
|
2016
|
-
},
|
|
2017
|
-
{
|
|
2018
|
-
prop: "resizable",
|
|
2019
|
-
label: "是否允许调整列宽",
|
|
2020
|
-
type: "",
|
|
2021
|
-
tooltip: "列是否允许拖动列宽调整大小",
|
|
2022
|
-
el: "hs-switch"
|
|
2023
|
-
},
|
|
2024
|
-
{
|
|
2025
|
-
prop: "visible",
|
|
2026
|
-
label: "默认是否显示",
|
|
2027
|
-
type: "",
|
|
2028
|
-
el: "hs-switch"
|
|
2029
|
-
},
|
|
2030
|
-
{
|
|
2031
|
-
prop: "fixed",
|
|
2032
|
-
label: "列固定位置",
|
|
2033
|
-
tooltip: "将列固定在左侧或者右侧(注意:固定列应该放在左右两侧的位置)",
|
|
2034
|
-
type: "",
|
|
2035
|
-
el: "hs-select",
|
|
2036
|
-
cel: "hs-option",
|
|
2037
|
-
op: [
|
|
2038
|
-
{ label: "不固定", value: "" },
|
|
2039
|
-
{ label: "固定左侧", value: "left" },
|
|
2040
|
-
{ label: "固定右侧", value: "right" }
|
|
2041
|
-
]
|
|
2042
|
-
},
|
|
2043
|
-
{
|
|
2044
|
-
prop: "align",
|
|
2045
|
-
label: "列对齐方式",
|
|
2046
|
-
type: "",
|
|
2047
|
-
el: "hs-select",
|
|
2048
|
-
cel: "hs-option",
|
|
2049
|
-
op: [
|
|
2050
|
-
{ label: "左对齐", value: "left" },
|
|
2051
|
-
{ label: "居中对齐", value: "center" },
|
|
2052
|
-
{ label: "右对齐", value: "right" }
|
|
2053
|
-
]
|
|
2054
|
-
},
|
|
2055
|
-
{
|
|
2056
|
-
prop: "headerAlign",
|
|
2057
|
-
label: "表头列的对齐方式",
|
|
2058
|
-
el: "hs-select",
|
|
2059
|
-
cel: "hs-option",
|
|
2060
|
-
op: [
|
|
2061
|
-
{ label: "左对齐", value: "left" },
|
|
2062
|
-
{ label: "居中对齐", value: "center" },
|
|
2063
|
-
{ label: "右对齐", value: "right" }
|
|
2064
|
-
]
|
|
2065
|
-
},
|
|
2066
|
-
{
|
|
2067
|
-
prop: "footerAlign",
|
|
2068
|
-
label: "表尾列的对齐方式",
|
|
2069
|
-
el: "hs-select",
|
|
2070
|
-
cel: "hs-option",
|
|
2071
|
-
op: [
|
|
2072
|
-
{ label: "左对齐", value: "left" },
|
|
2073
|
-
{ label: "居中对齐", value: "center" },
|
|
2074
|
-
{ label: "右对齐", value: "right" }
|
|
2075
|
-
]
|
|
2076
|
-
},
|
|
2077
|
-
{
|
|
2078
|
-
prop: "showOverflow",
|
|
2079
|
-
label: "当内容过长时显示为省略号",
|
|
2080
|
-
el: "hs-select",
|
|
2081
|
-
cel: "hs-option",
|
|
2082
|
-
op: [
|
|
2083
|
-
{ label: "只显示省略号", value: "ellipsis" },
|
|
2084
|
-
{ label: "显示原生title", value: "title" },
|
|
2085
|
-
{ label: "显示tooltip提示", value: "tooltip" }
|
|
2086
|
-
]
|
|
2087
|
-
},
|
|
2088
|
-
{
|
|
2089
|
-
prop: "showHeaderOverflow",
|
|
2090
|
-
label: "当表头内容过长时显示为省略号",
|
|
2091
|
-
el: "hs-select",
|
|
2092
|
-
cel: "hs-option",
|
|
2093
|
-
op: [
|
|
2094
|
-
{ label: "只显示省略号", value: "ellipsis" },
|
|
2095
|
-
{ label: "显示原生title", value: "title" },
|
|
2096
|
-
{ label: "显示tooltip提示", value: "tooltip" }
|
|
2097
|
-
]
|
|
2098
|
-
},
|
|
2099
|
-
{
|
|
2100
|
-
prop: "showFooterOverflow",
|
|
2101
|
-
label: "当表尾内容过长时显示为省略号",
|
|
2102
|
-
el: "hs-select",
|
|
2103
|
-
cel: "hs-option",
|
|
2104
|
-
op: [
|
|
2105
|
-
{ label: "只显示省略号", value: "ellipsis" },
|
|
2106
|
-
{ label: "显示原生title", value: "title" },
|
|
2107
|
-
{ label: "显示tooltip提示", value: "tooltip" }
|
|
2108
|
-
]
|
|
2109
|
-
},
|
|
2110
|
-
{
|
|
2111
|
-
prop: "className",
|
|
2112
|
-
label: "给单元格附加 className",
|
|
2113
|
-
type: "textarea",
|
|
2114
|
-
el: "hs-input"
|
|
2115
|
-
},
|
|
2116
|
-
{
|
|
2117
|
-
prop: "headerClassName",
|
|
2118
|
-
label: "给表头的单元格附加 className",
|
|
2119
|
-
type: "textarea",
|
|
2120
|
-
el: "hs-input"
|
|
2121
|
-
},
|
|
2122
|
-
{
|
|
2123
|
-
prop: "footerClassName",
|
|
2124
|
-
label: "给表尾的单元格附加 className",
|
|
2125
|
-
type: "textarea",
|
|
2126
|
-
el: "hs-input"
|
|
2127
|
-
},
|
|
2128
|
-
{
|
|
2129
|
-
prop: "formatter",
|
|
2130
|
-
label: "格式化显示内容",
|
|
2131
|
-
tooltip: "formatter: 示例: functionBody=function({row}){return row.name}",
|
|
2132
|
-
type: "textarea",
|
|
2133
|
-
el: "hs-input"
|
|
2134
|
-
},
|
|
2135
|
-
{
|
|
2136
|
-
prop: "dragSort",
|
|
2137
|
-
label: "是否允许列拖拽",
|
|
2138
|
-
tooltip: "数据拖拽排序,是否允许列拖拽排序",
|
|
2139
|
-
type: "",
|
|
2140
|
-
el: "hs-switch"
|
|
2141
|
-
},
|
|
2142
|
-
{
|
|
2143
|
-
prop: "sortable",
|
|
2144
|
-
label: "是否允许列排序",
|
|
2145
|
-
tooltip: "数据排序,是否允许列排序",
|
|
2146
|
-
type: "",
|
|
2147
|
-
el: "hs-switch"
|
|
2148
|
-
},
|
|
2149
|
-
{
|
|
2150
|
-
prop: "sortBy",
|
|
2151
|
-
label: "指定排序字段",
|
|
2152
|
-
tooltip: "数据排序,只对 sortable 有效,指定排序的字段(当值 formatter 格式化后,可以设置该字段,使用值进行排序)",
|
|
2153
|
-
type: "textarea",
|
|
2154
|
-
el: "hs-input"
|
|
2155
|
-
},
|
|
2156
|
-
{
|
|
2157
|
-
prop: "sortType",
|
|
2158
|
-
label: "排序的字段类型",
|
|
2159
|
-
tooltip: "数据排序,排序的字段类型,比如字符串转数值等",
|
|
2160
|
-
type: "",
|
|
2161
|
-
el: "hs-select",
|
|
2162
|
-
cel: "hs-option",
|
|
2163
|
-
op: [
|
|
2164
|
-
{ label: "auto", value: "auto" },
|
|
2165
|
-
{ label: "数值", value: "number" },
|
|
2166
|
-
{ label: "字符串", value: "string" }
|
|
2167
|
-
]
|
|
2168
|
-
},
|
|
2169
|
-
// ================================ 数据筛选 start ===============================
|
|
2170
|
-
{
|
|
2171
|
-
prop: "filterMultiple",
|
|
2172
|
-
label: "筛选是否允许多选",
|
|
2173
|
-
tooltip: "数据筛选,只对 filters 有效,筛选是否允许多选",
|
|
2174
|
-
type: "",
|
|
2175
|
-
el: "hs-switch"
|
|
2176
|
-
},
|
|
2177
|
-
{
|
|
2178
|
-
prop: "filterMethod",
|
|
2179
|
-
label: "列的筛选方法",
|
|
2180
|
-
tooltip: "数据筛选,只对 filters 有效,列的筛选方法,该方法的返回值用来决定该行是否显示",
|
|
2181
|
-
type: "textarea",
|
|
2182
|
-
el: "hs-input"
|
|
2183
|
-
},
|
|
2184
|
-
{
|
|
2185
|
-
prop: "filterResetMethod",
|
|
2186
|
-
label: "自定义筛选重置方法",
|
|
2187
|
-
tooltip: "数据筛选,只对 filters 有效,自定义筛选重置方法",
|
|
2188
|
-
type: "textarea",
|
|
2189
|
-
el: "hs-input"
|
|
2190
|
-
},
|
|
2191
|
-
{
|
|
2192
|
-
prop: "filterRecoverMethod",
|
|
2193
|
-
label: "自定义筛选复原方法",
|
|
2194
|
-
tooltip: "数据筛选,只对 filters 有效,自定义筛选复原方法(使用自定义筛选时可能会用到)",
|
|
2195
|
-
type: "textarea",
|
|
2196
|
-
el: "hs-input"
|
|
2197
|
-
},
|
|
2198
|
-
{
|
|
2199
|
-
prop: "cellType",
|
|
2200
|
-
label: "单元格值类型",
|
|
2201
|
-
tooltip: "只对特定功能有效,单元格值类型(例如:导出数据类型设置)",
|
|
2202
|
-
type: "",
|
|
2203
|
-
el: "hs-select",
|
|
2204
|
-
cel: "hs-option",
|
|
2205
|
-
op: [
|
|
2206
|
-
{ label: "默认自动转换", value: "auto" },
|
|
2207
|
-
{ label: "数值", value: "number" },
|
|
2208
|
-
{ label: "字符串", value: "string" }
|
|
2209
|
-
]
|
|
2210
|
-
},
|
|
2211
|
-
{
|
|
2212
|
-
prop: "treeNode",
|
|
2213
|
-
label: "是否指定为树节点",
|
|
2214
|
-
tooltip: "只对 treeConfig 配置时有效,指定为树节点",
|
|
2215
|
-
type: "",
|
|
2216
|
-
el: "hs-switch"
|
|
2217
|
-
},
|
|
2218
|
-
{
|
|
2219
|
-
prop: "params",
|
|
2220
|
-
label: "额外的参数",
|
|
2221
|
-
tooltip: "额外的参数(可以用来存放一些私有参数)",
|
|
2222
|
-
type: "",
|
|
2223
|
-
el: "hs-input"
|
|
2224
|
-
},
|
|
2225
|
-
{
|
|
2226
|
-
prop: "colId",
|
|
2227
|
-
label: "自定义列的唯一主键",
|
|
2228
|
-
tooltip: "自定义列的唯一主键(注:列主键必须确保唯一,操作不正确将导致出现问题)",
|
|
2229
|
-
type: "",
|
|
2230
|
-
el: "hs-input"
|
|
2231
|
-
}
|
|
2232
|
-
]);
|
|
2233
|
-
const tableColumnRule = {
|
|
2234
|
-
title: [{ required: true, message: "请输入列标题" }],
|
|
2235
|
-
field: [{ required: true, message: "请输入列字段名" }],
|
|
2236
|
-
returnValueType: [{ required: true, message: "请输入返回值类型" }]
|
|
2237
|
-
};
|
|
2238
|
-
const tableColumnConfigItem = ref([
|
|
2239
|
-
{
|
|
2240
|
-
key: "filterRender",
|
|
2241
|
-
visible: false,
|
|
2242
|
-
title: "筛选渲染器配置项",
|
|
2243
|
-
filterRender: [
|
|
2244
|
-
{
|
|
2245
|
-
prop: "name",
|
|
2246
|
-
label: "渲染器名称",
|
|
2247
|
-
type: "",
|
|
2248
|
-
el: "hs-input"
|
|
2249
|
-
},
|
|
2250
|
-
{
|
|
2251
|
-
prop: "props",
|
|
2252
|
-
label: "渲染的参数",
|
|
2253
|
-
tooltip: "渲染的参数(请查看自定义的 Props)",
|
|
2254
|
-
type: "",
|
|
2255
|
-
el: "hs-input"
|
|
2256
|
-
},
|
|
2257
|
-
{
|
|
2258
|
-
prop: "events",
|
|
2259
|
-
label: "渲染组件的事件(请查看自定义的 Events)",
|
|
2260
|
-
type: "textarea",
|
|
2261
|
-
el: "hs-input"
|
|
2262
|
-
},
|
|
2263
|
-
{
|
|
2264
|
-
prop: "content",
|
|
2265
|
-
label: "渲染组件的内容(仅用于特殊组件)",
|
|
2266
|
-
type: "",
|
|
2267
|
-
el: "hs-input"
|
|
2268
|
-
}
|
|
2269
|
-
]
|
|
2270
|
-
},
|
|
2271
|
-
{
|
|
2272
|
-
key: "titlePrefix",
|
|
2273
|
-
visible: false,
|
|
2274
|
-
title: "标题前缀图标配置项",
|
|
2275
|
-
titlePrefix: [
|
|
2276
|
-
{
|
|
2277
|
-
prop: "content",
|
|
2278
|
-
label: "提示消息",
|
|
2279
|
-
tooltip: "提示消息(支持开启国际化)",
|
|
2280
|
-
el: "hs-input"
|
|
2281
|
-
},
|
|
2282
|
-
{
|
|
2283
|
-
prop: "useHTML",
|
|
2284
|
-
label: "是否显示为HTML标签",
|
|
2285
|
-
tooltip: "是否显示为HTML标签(动态渲染任意 HTML 是非常危险的,很容易导致 XSS 攻击,请确保内容是可信的)",
|
|
2286
|
-
type: "",
|
|
2287
|
-
el: "hs-input"
|
|
2288
|
-
},
|
|
2289
|
-
{
|
|
2290
|
-
prop: "icon",
|
|
2291
|
-
label: "自定义图标",
|
|
2292
|
-
type: "",
|
|
2293
|
-
el: "hs-input"
|
|
2294
|
-
}
|
|
2295
|
-
]
|
|
2296
|
-
},
|
|
2297
|
-
{
|
|
2298
|
-
key: "cellRender",
|
|
2299
|
-
visible: false,
|
|
2300
|
-
title: "默认的渲染器配置项",
|
|
2301
|
-
cellRender: [
|
|
2302
|
-
{
|
|
2303
|
-
prop: "name",
|
|
2304
|
-
label: "渲染器名称",
|
|
2305
|
-
el: "hs-input"
|
|
2306
|
-
},
|
|
2307
|
-
{
|
|
2308
|
-
prop: "props",
|
|
2309
|
-
label: "渲染的参数",
|
|
2310
|
-
tooltip: "渲染的参数(请查看自定义的 Props)",
|
|
2311
|
-
type: "textarea",
|
|
2312
|
-
el: "hs-input"
|
|
2313
|
-
},
|
|
2314
|
-
{
|
|
2315
|
-
prop: "options",
|
|
2316
|
-
label: "下拉选项列表",
|
|
2317
|
-
tooltip: "只对 name=select 有效,下拉选项列表",
|
|
2318
|
-
type: "textarea",
|
|
2319
|
-
el: "hs-input"
|
|
2320
|
-
},
|
|
2321
|
-
{
|
|
2322
|
-
prop: "optionProps",
|
|
2323
|
-
label: "下拉选项属性参数配置",
|
|
2324
|
-
tooltip: "只对 name=select 有效,下拉选项属性参数配置",
|
|
2325
|
-
type: "textarea",
|
|
2326
|
-
el: "hs-input"
|
|
2327
|
-
},
|
|
2328
|
-
{
|
|
2329
|
-
prop: "optionGroups",
|
|
2330
|
-
label: "下拉分组选项列表",
|
|
2331
|
-
tooltip: "只对 name=select 有效,下拉分组选项列表",
|
|
2332
|
-
type: "textarea",
|
|
2333
|
-
el: "hs-input"
|
|
2334
|
-
},
|
|
2335
|
-
{
|
|
2336
|
-
prop: "optionGroupProps",
|
|
2337
|
-
label: "下拉分组选项属性参数配置",
|
|
2338
|
-
tooltip: "只对 name=select 有效,下拉分组选项属性参数配置",
|
|
2339
|
-
type: "textarea",
|
|
2340
|
-
el: "hs-input"
|
|
2341
|
-
},
|
|
2342
|
-
{
|
|
2343
|
-
prop: "events",
|
|
2344
|
-
label: "渲染组件的事件",
|
|
2345
|
-
tooltip: "渲染组件的事件(请查看自定义的 Events)",
|
|
2346
|
-
type: "textarea",
|
|
2347
|
-
el: "hs-input"
|
|
2348
|
-
},
|
|
2349
|
-
{
|
|
2350
|
-
prop: "content",
|
|
2351
|
-
label: "渲染组件的内容(仅用于特殊组件)",
|
|
2352
|
-
el: "hs-input"
|
|
2353
|
-
}
|
|
2354
|
-
]
|
|
2355
|
-
},
|
|
2356
|
-
{
|
|
2357
|
-
key: "editRender",
|
|
2358
|
-
visible: false,
|
|
2359
|
-
title: "可编辑渲染器配置项",
|
|
2360
|
-
editRender: [
|
|
2361
|
-
{
|
|
2362
|
-
prop: "name",
|
|
2363
|
-
label: "渲染器名称",
|
|
2364
|
-
el: "hs-input"
|
|
2365
|
-
},
|
|
2366
|
-
{
|
|
2367
|
-
prop: "enabled",
|
|
2368
|
-
label: "是否启用",
|
|
2369
|
-
el: "hs-switch"
|
|
2370
|
-
},
|
|
2371
|
-
{
|
|
2372
|
-
prop: "props",
|
|
2373
|
-
label: "渲染的参数",
|
|
2374
|
-
tooltip: "渲染的参数(请查看自定义的 Props)",
|
|
2375
|
-
type: "textarea",
|
|
2376
|
-
el: "hs-input"
|
|
2377
|
-
},
|
|
2378
|
-
{
|
|
2379
|
-
prop: "attrs",
|
|
2380
|
-
label: "渲染的属性",
|
|
2381
|
-
tooltip: "渲染的属性(请查看自定义的 Attribute)",
|
|
2382
|
-
type: "textarea",
|
|
2383
|
-
el: "hs-input"
|
|
2384
|
-
},
|
|
2385
|
-
{
|
|
2386
|
-
prop: "options",
|
|
2387
|
-
label: "下拉选项列表",
|
|
2388
|
-
tooltip: "只对 name=select 有效,下拉选项列表",
|
|
2389
|
-
type: "textarea",
|
|
2390
|
-
el: "hs-input"
|
|
2391
|
-
},
|
|
2392
|
-
{
|
|
2393
|
-
prop: "optionProps",
|
|
2394
|
-
label: "下拉选项属性参数配置",
|
|
2395
|
-
tooltip: "只对 name=select 有效,下拉选项属性参数配置",
|
|
2396
|
-
type: "textarea",
|
|
2397
|
-
el: "hs-input"
|
|
2398
|
-
},
|
|
2399
|
-
{
|
|
2400
|
-
prop: "optionGroups",
|
|
2401
|
-
label: "下拉分组选项列表",
|
|
2402
|
-
tooltip: "只对 name=select 有效,下拉分组选项列表",
|
|
2403
|
-
type: "textarea",
|
|
2404
|
-
el: "hs-input"
|
|
2405
|
-
},
|
|
2406
|
-
{
|
|
2407
|
-
prop: "optionGroupProps",
|
|
2408
|
-
label: "下拉分组选项属性参数配置",
|
|
2409
|
-
tooltip: "只对 name=select 有效,下拉分组选项属性参数配置",
|
|
2410
|
-
type: "textarea",
|
|
2411
|
-
el: "hs-input"
|
|
2412
|
-
},
|
|
2413
|
-
{
|
|
2414
|
-
prop: "events",
|
|
2415
|
-
label: "渲染组件的事件(请查看自定义的 Events)",
|
|
2416
|
-
type: "",
|
|
2417
|
-
default: "{row,rowIndex,$rowIndex,column,columnIndex,$columnIndex}, ...[自定义的 arguments]",
|
|
2418
|
-
param: "",
|
|
2419
|
-
el: "hs-input"
|
|
2420
|
-
},
|
|
2421
|
-
{
|
|
2422
|
-
prop: "content",
|
|
2423
|
-
label: "渲染组件的内容",
|
|
2424
|
-
tooltip: "渲染组件的内容(仅用于特殊组件)",
|
|
2425
|
-
type: "",
|
|
2426
|
-
el: "hs-input"
|
|
2427
|
-
},
|
|
2428
|
-
{
|
|
2429
|
-
prop: "autofocus",
|
|
2430
|
-
label: "指定聚焦的选择器",
|
|
2431
|
-
tooltip: "如果是自定义渲染可以指定聚焦的选择器,例如 .el-input__inner",
|
|
2432
|
-
type: "",
|
|
2433
|
-
el: "hs-input"
|
|
2434
|
-
},
|
|
2435
|
-
{
|
|
2436
|
-
prop: "autoselect",
|
|
2437
|
-
label: "自动选中内容",
|
|
2438
|
-
tooltip: "是否在激活编辑之后自动选中输入框内容",
|
|
2439
|
-
type: "",
|
|
2440
|
-
el: "hs-input"
|
|
2441
|
-
},
|
|
2442
|
-
{
|
|
2443
|
-
prop: "defaultValue",
|
|
2444
|
-
label: "默认值",
|
|
2445
|
-
tooltip: "默认值(插入数据时列的默认值)",
|
|
2446
|
-
type: "",
|
|
2447
|
-
el: "hs-input"
|
|
2448
|
-
},
|
|
2449
|
-
{
|
|
2450
|
-
prop: "immediate",
|
|
2451
|
-
label: "输入值实时更新",
|
|
2452
|
-
tooltip: "输入值实时同步更新(默认情况下单元格编辑的值只会在被触发时同步,如果需要实时同步可以设置为 true)",
|
|
2453
|
-
type: "",
|
|
2454
|
-
el: "hs-switch"
|
|
2455
|
-
},
|
|
2456
|
-
{
|
|
2457
|
-
prop: "placeholder",
|
|
2458
|
-
label: "单元格占位符",
|
|
2459
|
-
tooltip: "单元格占位符,但单元格为空值时显示的占位符",
|
|
2460
|
-
type: "",
|
|
2461
|
-
el: "hs-input"
|
|
2462
|
-
}
|
|
2463
|
-
]
|
|
2464
|
-
},
|
|
2465
|
-
{
|
|
2466
|
-
key: "contentRender",
|
|
2467
|
-
visible: false,
|
|
2468
|
-
title: "内容渲染配置项",
|
|
2469
|
-
contentRender: [
|
|
2470
|
-
{
|
|
2471
|
-
prop: "name",
|
|
2472
|
-
label: "渲染器名称",
|
|
2473
|
-
type: "",
|
|
2474
|
-
el: "hs-input"
|
|
2475
|
-
},
|
|
2476
|
-
{
|
|
2477
|
-
prop: "props",
|
|
2478
|
-
label: "渲染的参数",
|
|
2479
|
-
tooltip: "渲染的参数(请查看自定义的 Props)",
|
|
2480
|
-
type: "textarea",
|
|
2481
|
-
el: "hs-input"
|
|
2482
|
-
},
|
|
2483
|
-
{
|
|
2484
|
-
prop: "attrs",
|
|
2485
|
-
tooltip: "渲染的属性",
|
|
2486
|
-
label: "渲染的属性(请查看自定义的 Attribute)",
|
|
2487
|
-
type: "textarea",
|
|
2488
|
-
el: "hs-input"
|
|
2489
|
-
},
|
|
2490
|
-
{
|
|
2491
|
-
prop: "events",
|
|
2492
|
-
label: "渲染组件的事件",
|
|
2493
|
-
tooltip: "渲染组件的事件(请查看自定义的 Events)",
|
|
2494
|
-
type: "textarea",
|
|
2495
|
-
el: "hs-input"
|
|
2496
|
-
}
|
|
2497
|
-
]
|
|
2498
|
-
}
|
|
2499
|
-
]);
|
|
2500
|
-
const filterItemConfig = ref({
|
|
2501
|
-
key: "filters",
|
|
2502
|
-
visible: false,
|
|
2503
|
-
title: "配置数据筛选条件",
|
|
2504
|
-
filters: [
|
|
2505
|
-
{
|
|
2506
|
-
prop: "label",
|
|
2507
|
-
label: "显示的值",
|
|
2508
|
-
type: "",
|
|
2509
|
-
el: "hs-input"
|
|
2510
|
-
},
|
|
2511
|
-
{
|
|
2512
|
-
prop: "value",
|
|
2513
|
-
label: "实际的值",
|
|
2514
|
-
type: "",
|
|
2515
|
-
el: "hs-input"
|
|
2516
|
-
},
|
|
2517
|
-
{
|
|
2518
|
-
prop: "checked",
|
|
2519
|
-
label: "默认是否选中",
|
|
2520
|
-
type: "",
|
|
2521
|
-
el: "hs-switch"
|
|
2522
|
-
},
|
|
2523
|
-
{
|
|
2524
|
-
prop: "resetValue",
|
|
2525
|
-
label: "重置时的默认值",
|
|
2526
|
-
type: "textarea",
|
|
2527
|
-
el: "hs-input"
|
|
2528
|
-
},
|
|
2529
|
-
{
|
|
2530
|
-
prop: "data",
|
|
2531
|
-
label: "自定义渲染的数据值(当使用自定义模板时可能会用到)",
|
|
2532
|
-
type: "textarea",
|
|
2533
|
-
el: "hs-input"
|
|
2534
|
-
}
|
|
2535
|
-
]
|
|
2536
|
-
});
|
|
2537
|
-
let tableItemConfig = ref({
|
|
2538
|
-
id: "",
|
|
2539
|
-
sort: 0,
|
|
2540
|
-
// 排序
|
|
2541
|
-
// 配置绑定的值
|
|
2542
|
-
data: tableColumnConfigData,
|
|
2543
|
-
// 按钮配置
|
|
2544
|
-
btnData: []
|
|
2545
|
-
});
|
|
2546
|
-
const tableConfig = {
|
|
2547
|
-
list: tableColumnConfig.value,
|
|
2548
|
-
second_config: tableColumnConfigItem.value,
|
|
2549
|
-
filterConfig: filterItemConfig.value,
|
|
2550
|
-
rules: {
|
|
2551
|
-
list: tableColumnRule
|
|
2552
|
-
}
|
|
2553
|
-
// 校验规则
|
|
2554
|
-
};
|
|
2555
|
-
let emptyTableItemData = ref({
|
|
2556
|
-
id: "",
|
|
2557
|
-
// 配置绑定的值
|
|
2558
|
-
data: {
|
|
2559
|
-
// 是否启用插槽
|
|
2560
|
-
isSlot: false,
|
|
2561
|
-
/** 是否启用 */
|
|
2562
|
-
isApply: true,
|
|
2563
|
-
/** 是否显示 */
|
|
2564
|
-
isShow: true,
|
|
2565
|
-
/** 返回值类型 */
|
|
2566
|
-
returnValueType: ""
|
|
2567
|
-
},
|
|
2568
|
-
/** 表格列中按钮配置 */
|
|
2569
|
-
btnData: []
|
|
2570
|
-
});
|
|
2571
|
-
let tableTitleConfig = ref({
|
|
2572
|
-
code: {
|
|
2573
|
-
visible: false,
|
|
2574
|
-
subTitle: "表格配置代码",
|
|
2575
|
-
class: "font-bold my-3",
|
|
2576
|
-
iconSize: 20
|
|
2577
|
-
},
|
|
2578
|
-
table: {
|
|
2579
|
-
visible: false,
|
|
2580
|
-
subTitle: "表格配置",
|
|
2581
|
-
class: "font-bold my-3",
|
|
2582
|
-
iconSize: 20
|
|
2583
|
-
},
|
|
2584
|
-
tableItem: {
|
|
2585
|
-
visible: true,
|
|
2586
|
-
subTitle: "表格元素配置项集合",
|
|
2587
|
-
class: "font-bold my-3",
|
|
2588
|
-
iconSize: 20
|
|
2589
|
-
},
|
|
2590
|
-
dynamicTableItem: {
|
|
2591
|
-
visible: true,
|
|
2592
|
-
subTitle: "动态配置列元素配置项集合",
|
|
2593
|
-
class: "font-bold my-3",
|
|
2594
|
-
iconSize: 20
|
|
2595
|
-
}
|
|
2596
|
-
});
|
|
2597
|
-
let baseConfig = {
|
|
2598
|
-
baseTableConfig,
|
|
2599
|
-
baseVisible: false,
|
|
2600
|
-
pageVisible: false,
|
|
2601
|
-
tableAttrConfig,
|
|
2602
|
-
tablePageConfig
|
|
2603
|
-
};
|
|
2604
|
-
let tableItemAspectData = {
|
|
2605
|
-
id: {
|
|
2606
|
-
isShow: false,
|
|
2607
|
-
title: "id",
|
|
2608
|
-
returnValueType: "string"
|
|
2609
|
-
}
|
|
2610
|
-
};
|
|
2611
|
-
export {
|
|
2612
|
-
_sfc_main as _,
|
|
2613
|
-
tableColumnConfigData as a,
|
|
2614
|
-
tableColumnRule as b,
|
|
2615
|
-
tableItemConfig as c,
|
|
2616
|
-
tableItemAspectData as d,
|
|
2617
|
-
baseData as e,
|
|
2618
|
-
filterItemConfig as f,
|
|
2619
|
-
emptyTableItemData as g,
|
|
2620
|
-
tableItemType as h,
|
|
2621
|
-
tableTitleConfig as i,
|
|
2622
|
-
baseConfig as j,
|
|
2623
|
-
tableConfig as t
|
|
2624
|
-
};
|