halo-fe 1.0.32 → 1.0.34
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/main.css +1 -0
- package/dist/main.js +7626 -4255
- package/dist/reset.css +68 -0
- package/dist/vendor/clone-BiNug-TV.js +141 -0
- package/dist/vendor/file-saver-LcQArykF.js +76 -0
- package/dist/vendor/liquidjs-DEqYMvhe.js +3351 -0
- package/dist/vendor/moment-CwOqp704.js +2589 -0
- package/dist/vendor/sprintf-js-CI46yikS.js +145 -0
- package/dist/vendor/underscore-DYMmD6H5.js +1073 -0
- package/dist/vendor/underscore.string-DzltYjQl.js +798 -0
- package/dist/vendor/util-deprecate-C5W9UHZW.js +33 -0
- package/esm/@type/FeOptions.d.ts +32 -0
- package/esm/@type/index.d.ts +1 -0
- package/esm/app/AppConstant.d.ts +2 -0
- package/esm/app/index.d.ts +1 -0
- package/esm/comp/@type/CompProps.d.ts +10 -0
- package/esm/comp/@type/CompSize.d.ts +4 -0
- package/esm/comp/@type/index.d.ts +2 -0
- package/esm/comp/Timer.vue.d.ts +26 -0
- package/esm/comp/alert/@types/AlertProps.d.ts +3 -0
- package/esm/comp/alert/@types/index.d.ts +1 -0
- package/esm/comp/alert/Index.vue.d.ts +3 -0
- package/esm/comp/alert/index.d.ts +2 -0
- package/esm/comp/business/@types/TipsEmit.d.ts +3 -0
- package/esm/comp/business/@types/TipsProps.d.ts +2 -0
- package/esm/comp/business/@types/index.d.ts +2 -0
- package/esm/comp/business/Debugger.vue.d.ts +328 -0
- package/esm/comp/business/Tips.vue.d.ts +7 -0
- package/esm/comp/business/cruds/@types/CrudDrawer.d.ts +12 -0
- package/esm/comp/business/cruds/@types/CrudEmit.d.ts +17 -0
- package/esm/comp/business/cruds/@types/CrudExpose.d.ts +3 -0
- package/esm/comp/business/cruds/@types/CrudProps.d.ts +18 -0
- package/esm/comp/business/cruds/@types/index.d.ts +4 -0
- package/esm/comp/business/cruds/Index.vue.d.ts +592 -0
- package/esm/comp/business/cruds/index.d.ts +3 -0
- package/esm/comp/business/drivers/@types/DriverBaseProps.d.ts +17 -0
- package/esm/comp/business/drivers/@types/DriverEmit.d.ts +17 -0
- package/esm/comp/business/drivers/@types/DriverExpose.d.ts +22 -0
- package/esm/comp/business/drivers/@types/DriverFormProps.d.ts +14 -0
- package/esm/comp/business/drivers/@types/DriverPickerEmit.d.ts +13 -0
- package/esm/comp/business/drivers/@types/DriverPickerExpose.d.ts +17 -0
- package/esm/comp/business/drivers/@types/DriverPickerProps.d.ts +18 -0
- package/esm/comp/business/drivers/@types/DriverProps.d.ts +29 -0
- package/esm/comp/business/drivers/@types/KindFormProps.d.ts +16 -0
- package/esm/comp/business/drivers/@types/index.d.ts +6 -0
- package/esm/comp/business/drivers/Index.vue.d.ts +131 -0
- package/esm/comp/business/drivers/Picker.vue.d.ts +38 -0
- package/esm/comp/business/drivers/index.d.ts +4 -0
- package/esm/comp/business/index.d.ts +6 -0
- package/esm/comp/button/@types/ButtonEmit.d.ts +9 -0
- package/esm/comp/button/@types/ButtonProps.d.ts +22 -0
- package/esm/comp/button/@types/ButtonsEmit.d.ts +2 -0
- package/esm/comp/button/@types/ButtonsProps.d.ts +6 -0
- package/esm/comp/button/@types/index.d.ts +4 -0
- package/esm/comp/button/Button.vue.d.ts +29 -0
- package/esm/comp/button/Index.vue.d.ts +18 -0
- package/esm/comp/button/index.d.ts +3 -0
- package/esm/comp/calender/@types/CalendarProps.d.ts +5 -0
- package/esm/comp/calender/@types/index.d.ts +1 -0
- package/esm/comp/calender/Index.vue.d.ts +11 -0
- package/esm/comp/calender/index.d.ts +2 -0
- package/esm/comp/card/@types/index.d.ts +0 -0
- package/esm/comp/card/Index.vue.d.ts +17 -0
- package/esm/comp/checkbox/@types/CheckboxEmit.d.ts +9 -0
- package/esm/comp/checkbox/@types/CheckboxProps.d.ts +6 -0
- package/esm/comp/checkbox/@types/CheckboxsEmit.d.ts +9 -0
- package/esm/comp/checkbox/@types/CheckboxsProps.d.ts +2 -0
- package/esm/comp/checkbox/@types/index.d.ts +4 -0
- package/esm/comp/checkbox/Checkbox.vue.d.ts +35 -0
- package/esm/comp/checkbox/Index.vue.d.ts +29 -0
- package/esm/comp/checkbox/index.d.ts +3 -0
- package/esm/comp/condition/@types/ConditionGroupProps.d.ts +10 -0
- package/esm/comp/condition/@types/ConditionProps.d.ts +17 -0
- package/esm/comp/condition/@types/index.d.ts +2 -0
- package/esm/comp/condition/Condition.vue.d.ts +3 -0
- package/esm/comp/condition/Index.vue.d.ts +3 -0
- package/esm/comp/datetime/@types/DateEmit.d.ts +5 -0
- package/esm/comp/datetime/@types/DateProps.d.ts +5 -0
- package/esm/comp/datetime/@types/DateTimeEmit.d.ts +2 -0
- package/esm/comp/datetime/@types/DateTimeProps.d.ts +3 -0
- package/esm/comp/datetime/@types/index.d.ts +4 -0
- package/esm/comp/datetime/Date.vue.d.ts +235 -0
- package/esm/comp/datetime/DateRange.vue.d.ts +17 -0
- package/esm/comp/datetime/Index.vue.d.ts +26 -0
- package/esm/comp/datetime/index.d.ts +4 -0
- package/esm/comp/dialog/@types/DialogDragData.d.ts +26 -0
- package/esm/comp/dialog/@types/DialogEmit.d.ts +39 -0
- package/esm/comp/dialog/@types/DialogExpose.d.ts +26 -0
- package/esm/comp/dialog/@types/DialogOptions.d.ts +27 -0
- package/esm/comp/dialog/@types/DialogProps.d.ts +48 -0
- package/esm/comp/dialog/@types/DialogState.d.ts +27 -0
- package/esm/comp/dialog/@types/DialogStatus.d.ts +5 -0
- package/esm/comp/dialog/@types/index.d.ts +7 -0
- package/esm/comp/dialog/Index.vue.d.ts +82 -0
- package/esm/comp/dialog/index.d.ts +3 -0
- package/esm/comp/drawer/@types/DrawerEmit.d.ts +9 -0
- package/esm/comp/drawer/@types/DrawerProps.d.ts +25 -0
- package/esm/comp/drawer/@types/index.d.ts +2 -0
- package/esm/comp/drawer/Index.vue.d.ts +27 -0
- package/esm/comp/drawer/index.d.ts +2 -0
- package/esm/comp/dropdown/@types/DropdownEmit.d.ts +13 -0
- package/esm/comp/dropdown/@types/DropdownExpose.d.ts +6 -0
- package/esm/comp/dropdown/@types/DropdownProps.d.ts +27 -0
- package/esm/comp/dropdown/@types/index.d.ts +3 -0
- package/esm/comp/dropdown/Index.vue.d.ts +433 -0
- package/esm/comp/dropdown/index.d.ts +3 -0
- package/esm/comp/empty/@types/EmptyProps.d.ts +2 -0
- package/esm/comp/empty/@types/index.d.ts +1 -0
- package/esm/comp/empty/Index.vue.d.ts +18 -0
- package/esm/comp/empty/index.d.ts +2 -0
- package/esm/comp/form/@types/FieldEmit.d.ts +5 -0
- package/esm/comp/form/@types/FieldProps.d.ts +14 -0
- package/esm/comp/form/@types/FormEmit.d.ts +5 -0
- package/esm/comp/form/@types/FormProps.d.ts +14 -0
- package/esm/comp/form/@types/index.d.ts +4 -0
- package/esm/comp/form/Field.vue.d.ts +19 -0
- package/esm/comp/form/Index.vue.d.ts +18 -0
- package/esm/comp/form/index.d.ts +3 -0
- package/esm/comp/icon/@types/ArrowDirection.d.ts +1 -0
- package/esm/comp/icon/@types/ArrowEmit.d.ts +10 -0
- package/esm/comp/icon/@types/ArrowProps.d.ts +11 -0
- package/esm/comp/icon/@types/IconEmit.d.ts +6 -0
- package/esm/comp/icon/@types/IconProps.d.ts +9 -0
- package/esm/comp/icon/@types/index.d.ts +5 -0
- package/esm/comp/icon/Arrow.vue.d.ts +7 -0
- package/esm/comp/icon/Index.vue.d.ts +11 -0
- package/esm/comp/icon/index.d.ts +4 -0
- package/esm/comp/index.d.ts +37 -0
- package/esm/comp/input/@types/CodeEmit.d.ts +22 -0
- package/esm/comp/input/@types/CodeIntelli.d.ts +5 -0
- package/esm/comp/input/@types/CodeProps.d.ts +56 -0
- package/esm/comp/input/@types/InputEmit.d.ts +25 -0
- package/esm/comp/input/@types/InputExpose.d.ts +10 -0
- package/esm/comp/input/@types/InputProps.d.ts +13 -0
- package/esm/comp/input/@types/Range.d.ts +25 -0
- package/esm/comp/input/@types/RichTextEmit.d.ts +14 -0
- package/esm/comp/input/@types/RichTextProps.d.ts +13 -0
- package/esm/comp/input/@types/index.d.ts +8 -0
- package/esm/comp/input/Code.vue.d.ts +32 -0
- package/esm/comp/input/Compare.vue.d.ts +42 -0
- package/esm/comp/input/Index.vue.d.ts +45 -0
- package/esm/comp/input/RichText.vue.d.ts +84 -0
- package/esm/comp/input/index.d.ts +6 -0
- package/esm/comp/layout/@types/ColProps.d.ts +9 -0
- package/esm/comp/layout/@types/RowProps.d.ts +13 -0
- package/esm/comp/layout/@types/index.d.ts +2 -0
- package/esm/comp/layout/Col.vue.d.ts +18 -0
- package/esm/comp/layout/Container.vue.d.ts +35 -0
- package/esm/comp/layout/Desc.vue.d.ts +2 -0
- package/esm/comp/layout/Fill.vue.d.ts +25 -0
- package/esm/comp/layout/Row.vue.d.ts +24 -0
- package/esm/comp/layout/index.d.ts +6 -0
- package/esm/comp/link/@types/LinkEmit.d.ts +6 -0
- package/esm/comp/link/@types/LinkProps.d.ts +6 -0
- package/esm/comp/link/@types/index.d.ts +2 -0
- package/esm/comp/link/Index.vue.d.ts +22 -0
- package/esm/comp/link/index.d.ts +2 -0
- package/esm/comp/loading/@types/LoadingProps.d.ts +2 -0
- package/esm/comp/loading/@types/index.d.ts +1 -0
- package/esm/comp/loading/Loading.vue.d.ts +3 -0
- package/esm/comp/loading/index.d.ts +2 -0
- package/esm/comp/menu/@types/MenuEmit.d.ts +6 -0
- package/esm/comp/menu/@types/MenuProps.d.ts +13 -0
- package/esm/comp/menu/@types/MenusEmit.d.ts +2 -0
- package/esm/comp/menu/@types/MenusProps.d.ts +9 -0
- package/esm/comp/menu/@types/index.d.ts +4 -0
- package/esm/comp/menu/Index.vue.d.ts +18 -0
- package/esm/comp/menu/Menu.vue.d.ts +22 -0
- package/esm/comp/menu/index.d.ts +3 -0
- package/esm/comp/number/@types/index.d.ts +0 -0
- package/esm/comp/number/Index.vue.d.ts +24 -0
- package/esm/comp/number/index.d.ts +2 -0
- package/esm/comp/overlay/@types/OverlayEmit.d.ts +13 -0
- package/esm/comp/overlay/@types/OverlayProps.d.ts +17 -0
- package/esm/comp/overlay/@types/index.d.ts +2 -0
- package/esm/comp/overlay/Index.vue.d.ts +24 -0
- package/esm/comp/overlay/index.d.ts +2 -0
- package/esm/comp/pager/@types/PagerEmit.d.ts +13 -0
- package/esm/comp/pager/@types/PagerProps.d.ts +9 -0
- package/esm/comp/pager/@types/index.d.ts +2 -0
- package/esm/comp/pager/Index.vue.d.ts +23 -0
- package/esm/comp/popover/@types/PopoverDirection.d.ts +4 -0
- package/esm/comp/popover/@types/PopoverEmit.d.ts +14 -0
- package/esm/comp/popover/@types/PopoverExpose.d.ts +25 -0
- package/esm/comp/popover/@types/PopoverPosition.d.ts +30 -0
- package/esm/comp/popover/@types/PopoverProps.d.ts +26 -0
- package/esm/comp/popover/@types/index.d.ts +5 -0
- package/esm/comp/popover/Index.vue.d.ts +162 -0
- package/esm/comp/popover/index.d.ts +3 -0
- package/esm/comp/progress/@types/SocketProgressProps.d.ts +38 -0
- package/esm/comp/progress/@types/index.d.ts +1 -0
- package/esm/comp/progress/Circle.vue.d.ts +2 -0
- package/esm/comp/progress/Index.vue.d.ts +9 -0
- package/esm/comp/progress/Socket.vue.d.ts +18 -0
- package/esm/comp/progress/index.d.ts +5 -0
- package/esm/comp/radio/@types/RadioEmit.d.ts +6 -0
- package/esm/comp/radio/@types/RadioProps.d.ts +6 -0
- package/esm/comp/radio/@types/RadiosEmit.d.ts +2 -0
- package/esm/comp/radio/@types/RadiosProps.d.ts +5 -0
- package/esm/comp/radio/@types/index.d.ts +4 -0
- package/esm/comp/radio/Index.vue.d.ts +26 -0
- package/esm/comp/radio/Radio.vue.d.ts +22 -0
- package/esm/comp/radio/index.d.ts +3 -0
- package/esm/comp/resizer/@types/ResizerEmit.d.ts +13 -0
- package/esm/comp/resizer/@types/ResizerPosition.d.ts +4 -0
- package/esm/comp/resizer/@types/ResizerProps.d.ts +19 -0
- package/esm/comp/resizer/@types/ResizersData.d.ts +21 -0
- package/esm/comp/resizer/@types/ResizersEmit.d.ts +16 -0
- package/esm/comp/resizer/@types/ResizersProps.d.ts +16 -0
- package/esm/comp/resizer/@types/index.d.ts +6 -0
- package/esm/comp/resizer/Index.vue.d.ts +11 -0
- package/esm/comp/resizer/Resizers.vue.d.ts +9 -0
- package/esm/comp/resizer/index.d.ts +4 -0
- package/esm/comp/scroller/@types/ScrollerEmit.d.ts +10 -0
- package/esm/comp/scroller/@types/ScrollerEvent.d.ts +13 -0
- package/esm/comp/scroller/@types/ScrollerExpose.d.ts +13 -0
- package/esm/comp/scroller/@types/ScrollerProps.d.ts +13 -0
- package/esm/comp/scroller/@types/index.d.ts +4 -0
- package/esm/comp/scroller/Index.vue.d.ts +33 -0
- package/esm/comp/scroller/index.d.ts +3 -0
- package/esm/comp/select/@types/OptionProps.d.ts +17 -0
- package/esm/comp/select/@types/OptionRef.d.ts +18 -0
- package/esm/comp/select/@types/SelectEmit.d.ts +9 -0
- package/esm/comp/select/@types/SelectProps.d.ts +17 -0
- package/esm/comp/select/@types/index.d.ts +4 -0
- package/esm/comp/select/Index.vue.d.ts +479 -0
- package/esm/comp/select/Option.vue.d.ts +22 -0
- package/esm/comp/select/index.d.ts +3 -0
- package/esm/comp/tab/@types/TabEmit.d.ts +9 -0
- package/esm/comp/tab/@types/TabProps.d.ts +21 -0
- package/esm/comp/tab/@types/TabRef.d.ts +15 -0
- package/esm/comp/tab/@types/TabsEmit.d.ts +5 -0
- package/esm/comp/tab/@types/TabsProps.d.ts +29 -0
- package/esm/comp/tab/@types/index.d.ts +5 -0
- package/esm/comp/tab/Index.vue.d.ts +30 -0
- package/esm/comp/tab/Tab.vue.d.ts +19 -0
- package/esm/comp/tab/index.d.ts +4 -0
- package/esm/comp/table/@types/ColumnEmit.d.ts +6 -0
- package/esm/comp/table/@types/ColumnProps.d.ts +53 -0
- package/esm/comp/table/@types/RowExpose.d.ts +15 -0
- package/esm/comp/table/@types/SortEmit.d.ts +9 -0
- package/esm/comp/table/@types/TableEmit.d.ts +31 -0
- package/esm/comp/table/@types/TableExpose.d.ts +21 -0
- package/esm/comp/table/@types/TableProps.d.ts +71 -0
- package/esm/comp/table/@types/TableRowEmit.d.ts +14 -0
- package/esm/comp/table/@types/TableRowProps.d.ts +9 -0
- package/esm/comp/table/@types/index.d.ts +9 -0
- package/esm/comp/table/Column.vue.d.ts +165 -0
- package/esm/comp/table/Filter.vue.d.ts +2 -0
- package/esm/comp/table/Index.vue.d.ts +801 -0
- package/esm/comp/table/Row.vue.d.ts +29 -0
- package/esm/comp/table/Sort.vue.d.ts +12 -0
- package/esm/comp/table/index.d.ts +4 -0
- package/esm/comp/table/useColumn.d.ts +8 -0
- package/esm/comp/tag/@types/TagProps.d.ts +6 -0
- package/esm/comp/tag/@types/index.d.ts +1 -0
- package/esm/comp/tag/Index.vue.d.ts +18 -0
- package/esm/comp/taskbar/@types/TaskbarEmit.d.ts +2 -0
- package/esm/comp/taskbar/@types/TaskbarProps.d.ts +9 -0
- package/esm/comp/taskbar/@types/TaskbarsEmit.d.ts +2 -0
- package/esm/comp/taskbar/@types/TaskbarsProps.d.ts +5 -0
- package/esm/comp/taskbar/@types/index.d.ts +4 -0
- package/esm/comp/taskbar/Index.vue.d.ts +27 -0
- package/esm/comp/taskbar/Taskbar.vue.d.ts +18 -0
- package/esm/comp/taskbar/index.d.ts +3 -0
- package/esm/comp/text/@types/DanceProps.d.ts +13 -0
- package/esm/comp/text/@types/index.d.ts +1 -0
- package/esm/comp/text/Dance.vue.d.ts +5 -0
- package/esm/comp/tooltip/@types/TooltipEmit.d.ts +9 -0
- package/esm/comp/tooltip/@types/TooltipExpose.d.ts +6 -0
- package/esm/comp/tooltip/@types/TooltipProps.d.ts +6 -0
- package/esm/comp/tooltip/@types/index.d.ts +3 -0
- package/esm/comp/tooltip/Index.vue.d.ts +304 -0
- package/esm/comp/tooltip/index.d.ts +3 -0
- package/esm/comp/tree/@types/TreeEmit.d.ts +9 -0
- package/esm/comp/tree/@types/TreeProps.d.ts +25 -0
- package/esm/comp/tree/@types/index.d.ts +2 -0
- package/esm/comp/tree/Index.vue.d.ts +24 -0
- package/esm/comp/tree/index.d.ts +2 -0
- package/esm/comp/upload/Index.vue.d.ts +17 -0
- package/esm/comp/upload/index.d.ts +2 -0
- package/esm/comp/window/@types/WindowEmit.d.ts +3 -0
- package/esm/comp/window/@types/WindowProps.d.ts +14 -0
- package/esm/comp/window/@types/WindowState.d.ts +15 -0
- package/esm/comp/window/@types/index.d.ts +3 -0
- package/esm/comp/window/Index.vue.d.ts +33 -0
- package/esm/comp/window/index.d.ts +2 -0
- package/esm/driver/@type/IDispose.d.ts +9 -0
- package/esm/driver/@type/IDriver.d.ts +9 -0
- package/esm/driver/@type/IOpen.d.ts +9 -0
- package/esm/driver/@type/index.d.ts +3 -0
- package/esm/driver/bridge/IBridge.d.ts +6 -0
- package/esm/driver/builder/BaseBuilder.d.ts +10 -0
- package/esm/driver/builder/BuilderFactory.d.ts +9 -0
- package/esm/driver/builder/IBuilder.d.ts +15 -0
- package/esm/driver/builder/entity/ProviderTable.d.ts +21 -0
- package/esm/driver/builder/entity/index.d.ts +1 -0
- package/esm/driver/builder/implement/JsonBuilder.d.ts +7 -0
- package/esm/driver/builder/implement/MongoBuilder.d.ts +10 -0
- package/esm/driver/builder/implement/MySqlBuilder.d.ts +7 -0
- package/esm/driver/builder/implement/SqlBuilder.d.ts +10 -0
- package/esm/driver/builder/implement/index.d.ts +4 -0
- package/esm/driver/builder/index.d.ts +3 -0
- package/esm/driver/cdn/BaseCdn.d.ts +31 -0
- package/esm/driver/cdn/CdnFactory.d.ts +13 -0
- package/esm/driver/cdn/ICdn.d.ts +50 -0
- package/esm/driver/cdn/implement/LocalCdn.d.ts +16 -0
- package/esm/driver/cdn/implement/ThirdCdn.d.ts +28 -0
- package/esm/driver/cdn/implement/index.d.ts +2 -0
- package/esm/driver/cdn/index.d.ts +3 -0
- package/esm/driver/cryptor/BaseCryptor.d.ts +10 -0
- package/esm/driver/cryptor/CryptorFactory.d.ts +12 -0
- package/esm/driver/cryptor/ICryptor.d.ts +14 -0
- package/esm/driver/cryptor/implement/AesCryptor.d.ts +9 -0
- package/esm/driver/cryptor/implement/PoJunCryptor.d.ts +13 -0
- package/esm/driver/cryptor/implement/index.d.ts +2 -0
- package/esm/driver/cryptor/index.d.ts +2 -0
- package/esm/driver/encoder/BaseEncoder.d.ts +15 -0
- package/esm/driver/encoder/EncoderFactory.d.ts +18 -0
- package/esm/driver/encoder/IEncoder.d.ts +22 -0
- package/esm/driver/encoder/implement/Base64Encoder.d.ts +11 -0
- package/esm/driver/encoder/implement/UrlEncoder.d.ts +6 -0
- package/esm/driver/encoder/implement/index.d.ts +2 -0
- package/esm/driver/encoder/index.d.ts +2 -0
- package/esm/driver/excel/BaseExcel.d.ts +9 -0
- package/esm/driver/excel/ExcelFactory.d.ts +13 -0
- package/esm/driver/excel/IExcel.d.ts +10 -0
- package/esm/driver/excel/implement/XlsxExcel.d.ts +10 -0
- package/esm/driver/excel/implement/index.d.ts +1 -0
- package/esm/driver/excel/index.d.ts +2 -0
- package/esm/driver/explainer/BaseExplainer.d.ts +4 -0
- package/esm/driver/explainer/ExplainerFactory.d.ts +6 -0
- package/esm/driver/explainer/IExplainer.d.ts +3 -0
- package/esm/driver/explainer/implement/JsonExplainer.d.ts +6 -0
- package/esm/driver/explainer/implement/index.d.ts +1 -0
- package/esm/driver/explainer/index.d.ts +1 -0
- package/esm/driver/feature/BaseFeature.d.ts +11 -0
- package/esm/driver/feature/FeatureFactory.d.ts +13 -0
- package/esm/driver/feature/IFeature.d.ts +18 -0
- package/esm/driver/feature/implement/ExpressionFeature.d.ts +10 -0
- package/esm/driver/feature/implement/I18NFeature.d.ts +10 -0
- package/esm/driver/feature/implement/SortFeature.d.ts +11 -0
- package/esm/driver/feature/implement/index.d.ts +3 -0
- package/esm/driver/feature/index.d.ts +2 -0
- package/esm/driver/hasher/BaseHasher.d.ts +9 -0
- package/esm/driver/hasher/HasherFactory.d.ts +18 -0
- package/esm/driver/hasher/IHasher.d.ts +14 -0
- package/esm/driver/hasher/implement/Md5Hasher.d.ts +10 -0
- package/esm/driver/hasher/implement/Sha256Hasher.d.ts +9 -0
- package/esm/driver/hasher/implement/index.d.ts +2 -0
- package/esm/driver/hasher/index.d.ts +2 -0
- package/esm/driver/http/BaseHttp.d.ts +47 -0
- package/esm/driver/http/HttpFactory.d.ts +19 -0
- package/esm/driver/http/IHttp.d.ts +47 -0
- package/esm/driver/http/entity/HttpMessage.d.ts +50 -0
- package/esm/driver/http/entity/HttpModel.d.ts +11 -0
- package/esm/driver/http/entity/HttpProgress.d.ts +8 -0
- package/esm/driver/http/entity/HttpRequest.d.ts +23 -0
- package/esm/driver/http/entity/HttpResponse.d.ts +31 -0
- package/esm/driver/http/entity/index.d.ts +4 -0
- package/esm/driver/http/implement/DefaultHttp.d.ts +24 -0
- package/esm/driver/http/implement/EiHttp.d.ts +27 -0
- package/esm/driver/http/implement/FeiShuHttp.d.ts +7 -0
- package/esm/driver/http/implement/HaloHttp.d.ts +40 -0
- package/esm/driver/http/implement/MkHttp.d.ts +29 -0
- package/esm/driver/http/implement/index.d.ts +5 -0
- package/esm/driver/http/index.d.ts +4 -0
- package/esm/driver/i18n/BaseI18n.d.ts +41 -0
- package/esm/driver/i18n/I18nFactory.d.ts +9 -0
- package/esm/driver/i18n/II18n.d.ts +83 -0
- package/esm/driver/i18n/implement/DefaultI18n.d.ts +12 -0
- package/esm/driver/i18n/implement/index.d.ts +1 -0
- package/esm/driver/i18n/index.d.ts +2 -0
- package/esm/driver/identity/BaseIdentity.d.ts +11 -0
- package/esm/driver/identity/IIdentity.d.ts +15 -0
- package/esm/driver/identity/IdentityFactory.d.ts +8 -0
- package/esm/driver/identity/entity/IdentityPayload.d.ts +5 -0
- package/esm/driver/identity/entity/index.d.ts +1 -0
- package/esm/driver/identity/implement/DefaultIdentity.d.ts +9 -0
- package/esm/driver/identity/implement/EiIdentity.d.ts +15 -0
- package/esm/driver/identity/implement/index.d.ts +2 -0
- package/esm/driver/identity/index.d.ts +3 -0
- package/esm/driver/index.d.ts +24 -0
- package/esm/driver/messenger/BaseMessenger.d.ts +14 -0
- package/esm/driver/messenger/IMessenger.d.ts +34 -0
- package/esm/driver/messenger/MessengerFactory.d.ts +13 -0
- package/esm/driver/messenger/implement/ConsoleMessenger.d.ts +14 -0
- package/esm/driver/messenger/implement/index.d.ts +1 -0
- package/esm/driver/messenger/index.d.ts +3 -0
- package/esm/driver/provider/BaseProvider.d.ts +20 -0
- package/esm/driver/provider/IProvider.d.ts +58 -0
- package/esm/driver/provider/ProviderFactory.d.ts +18 -0
- package/esm/driver/provider/helper/SqlHelper.d.ts +10 -0
- package/esm/driver/provider/helper/index.d.ts +1 -0
- package/esm/driver/provider/implement/CookieProvider.d.ts +15 -0
- package/esm/driver/provider/implement/IndexedDbProvider.d.ts +63 -0
- package/esm/driver/provider/implement/StorageProvider.d.ts +27 -0
- package/esm/driver/provider/implement/index.d.ts +3 -0
- package/esm/driver/provider/index.d.ts +3 -0
- package/esm/driver/signer/BaseSigner.d.ts +13 -0
- package/esm/driver/signer/ISigner.d.ts +20 -0
- package/esm/driver/signer/SignerFactory.d.ts +13 -0
- package/esm/driver/signer/entity/SignerInfo.d.ts +13 -0
- package/esm/driver/signer/entity/index.d.ts +1 -0
- package/esm/driver/signer/implement/DefaultSigner.d.ts +16 -0
- package/esm/driver/signer/implement/EiSigner.d.ts +21 -0
- package/esm/driver/signer/implement/index.d.ts +2 -0
- package/esm/driver/signer/index.d.ts +2 -0
- package/esm/driver/socket/@type/SubscribedWindow.d.ts +15 -0
- package/esm/driver/socket/@type/index.d.ts +1 -0
- package/esm/driver/socket/BaseSocket.d.ts +30 -0
- package/esm/driver/socket/ISocket.d.ts +38 -0
- package/esm/driver/socket/SocketFactory.d.ts +14 -0
- package/esm/driver/socket/entity/SocketProgress.d.ts +37 -0
- package/esm/driver/socket/entity/SocketResponse.d.ts +41 -0
- package/esm/driver/socket/entity/index.d.ts +2 -0
- package/esm/driver/socket/implement/DefaultSocket.d.ts +60 -0
- package/esm/driver/socket/implement/index.d.ts +1 -0
- package/esm/driver/socket/index.d.ts +3 -0
- package/esm/driver/sso/BaseSso.d.ts +14 -0
- package/esm/driver/sso/ISso.d.ts +27 -0
- package/esm/driver/sso/SsoFactory.d.ts +16 -0
- package/esm/driver/sso/entity/SsoInfo.d.ts +21 -0
- package/esm/driver/sso/entity/index.d.ts +1 -0
- package/esm/driver/sso/implement/AnonymousSso.d.ts +15 -0
- package/esm/driver/sso/implement/BearerSso.d.ts +18 -0
- package/esm/driver/sso/implement/NioSso.d.ts +20 -0
- package/esm/driver/sso/implement/SecretSso.d.ts +15 -0
- package/esm/driver/sso/implement/WeiXinSso.d.ts +11 -0
- package/esm/driver/sso/implement/index.d.ts +5 -0
- package/esm/driver/sso/index.d.ts +3 -0
- package/esm/driver/task/BaseTask.d.ts +14 -0
- package/esm/driver/task/ITask.d.ts +33 -0
- package/esm/driver/task/TaskFactory.d.ts +13 -0
- package/esm/driver/task/implement/MemoryTask.d.ts +29 -0
- package/esm/driver/task/implement/index.d.ts +1 -0
- package/esm/driver/task/index.d.ts +2 -0
- package/esm/driver/template/BaseTemplate.d.ts +5 -0
- package/esm/driver/template/ITemplate.d.ts +10 -0
- package/esm/driver/template/TemplateFactory.d.ts +13 -0
- package/esm/driver/template/implement/LiquidTemplate.d.ts +5 -0
- package/esm/driver/template/implement/index.d.ts +1 -0
- package/esm/driver/template/index.d.ts +2 -0
- package/esm/driver/util/@type/DomBound.d.ts +21 -0
- package/esm/driver/util/@type/DomRect.d.ts +21 -0
- package/esm/driver/util/@type/JsonConfig.d.ts +9 -0
- package/esm/driver/util/@type/Ref.d.ts +7 -0
- package/esm/driver/util/@type/TreeNodeProp.d.ts +8 -0
- package/esm/driver/util/@type/index.d.ts +5 -0
- package/esm/driver/util/BaseUtil.d.ts +7 -0
- package/esm/driver/util/IUtil.d.ts +7 -0
- package/esm/driver/util/UtilFactory.d.ts +34 -0
- package/esm/driver/util/implement/ArrayUtil.d.ts +137 -0
- package/esm/driver/util/implement/BrowserUtil.d.ts +11 -0
- package/esm/driver/util/implement/ComponentUtil.d.ts +36 -0
- package/esm/driver/util/implement/DictionaryUtil.d.ts +39 -0
- package/esm/driver/util/implement/DomUtil.d.ts +171 -0
- package/esm/driver/util/implement/EventUtil.d.ts +31 -0
- package/esm/driver/util/implement/FileUtil.d.ts +23 -0
- package/esm/driver/util/implement/HtmlUtil.d.ts +15 -0
- package/esm/driver/util/implement/ImageUtil.d.ts +11 -0
- package/esm/driver/util/implement/JsonUtil.d.ts +62 -0
- package/esm/driver/util/implement/MathUtil.d.ts +70 -0
- package/esm/driver/util/implement/MicroUtil.d.ts +11 -0
- package/esm/driver/util/implement/MountUtil.d.ts +15 -0
- package/esm/driver/util/implement/ObjectUtil.d.ts +99 -0
- package/esm/driver/util/implement/ScrollUtil.d.ts +15 -0
- package/esm/driver/util/implement/SignUtil.d.ts +15 -0
- package/esm/driver/util/implement/StringUtil.d.ts +107 -0
- package/esm/driver/util/implement/TaskUtil.d.ts +27 -0
- package/esm/driver/util/implement/TimeUtil.d.ts +71 -0
- package/esm/driver/util/implement/TreeUtil.d.ts +55 -0
- package/esm/driver/util/implement/UrlUtil.d.ts +105 -0
- package/esm/driver/util/implement/index.d.ts +21 -0
- package/esm/driver/util/index.d.ts +3 -0
- package/esm/driver/utility/@type/Position.d.ts +14 -0
- package/esm/driver/utility/@type/Rect.d.ts +9 -0
- package/esm/driver/utility/@type/index.d.ts +2 -0
- package/esm/driver/utility/BaseUtility.d.ts +7 -0
- package/esm/driver/utility/IUtility.d.ts +6 -0
- package/esm/driver/utility/UtilityFactory.d.ts +37 -0
- package/esm/driver/utility/implement/AffixUtility.d.ts +10 -0
- package/esm/driver/utility/implement/DeltaUtility.d.ts +10 -0
- package/esm/driver/utility/implement/EventUtility.d.ts +61 -0
- package/esm/driver/utility/implement/KeyboardUtility.d.ts +77 -0
- package/esm/driver/utility/implement/MouseUtility.d.ts +24 -0
- package/esm/driver/utility/implement/RandomUtility.d.ts +40 -0
- package/esm/driver/utility/implement/SaveUtility.d.ts +66 -0
- package/esm/driver/utility/implement/index.d.ts +7 -0
- package/esm/driver/utility/index.d.ts +3 -0
- package/esm/driver/video/IVideo.d.ts +3 -0
- package/esm/driver/video/VideoFactory.d.ts +6 -0
- package/esm/driver/video/index.d.ts +1 -0
- package/esm/driver/voice/BaseVoice.d.ts +10 -0
- package/esm/driver/voice/IVoice.d.ts +15 -0
- package/esm/driver/voice/VoiceFactory.d.ts +6 -0
- package/esm/driver/voice/implement/DefaultVoice.d.ts +7 -0
- package/esm/driver/voice/implement/TencentVoice.d.ts +10 -0
- package/esm/driver/voice/implement/index.d.ts +2 -0
- package/esm/driver/voice/index.d.ts +1 -0
- package/esm/factory/Drivers.d.ts +52 -0
- package/esm/factory/Factories.d.ts +10 -7
- package/esm/factory/Factory.d.ts +6 -8
- package/esm/factory/I18ns.d.ts +56 -0
- package/esm/factory/IFactory.d.ts +2 -3
- package/esm/factory/Repos.d.ts +22 -0
- package/esm/factory/Svcs.d.ts +90 -0
- package/esm/factory/Utilities.d.ts +33 -0
- package/esm/factory/Utils.d.ts +66 -4
- package/esm/factory/index.d.ts +8 -4
- package/esm/main.d.ts +13 -10
- package/esm/plugin/index.d.ts +3 -0
- package/esm/repo/BaseRepo.d.ts +7 -0
- package/esm/repo/IRepo.d.ts +3 -0
- package/esm/repo/RepoFactory.d.ts +21 -0
- package/esm/repo/entity/KeyboardType.d.ts +13 -0
- package/esm/repo/entity/index.d.ts +1 -0
- package/esm/repo/implement/ModuleRepo.d.ts +54 -0
- package/esm/repo/implement/QueryRepo.d.ts +63 -0
- package/esm/repo/implement/SettingRepo.d.ts +15 -0
- package/esm/repo/implement/index.d.ts +3 -0
- package/esm/repo/index.d.ts +5 -0
- package/esm/svc/BaseSvc.d.ts +7 -0
- package/esm/svc/ISvc.d.ts +6 -0
- package/esm/svc/SvcFactory.d.ts +14 -0
- package/esm/svc/entity/SysConfig.d.ts +29 -0
- package/esm/svc/entity/UserConfig.d.ts +6 -0
- package/esm/svc/entity/index.d.ts +2 -0
- package/esm/svc/implement/CompSvc.d.ts +31 -0
- package/esm/svc/implement/ConfigSvc.d.ts +71 -0
- package/esm/svc/implement/DriverSvc.d.ts +11 -0
- package/esm/svc/implement/EnvSvc.d.ts +13 -0
- package/esm/svc/implement/LogSvc.d.ts +21 -0
- package/esm/svc/implement/SettingSvc.d.ts +69 -0
- package/esm/svc/implement/UserSvc.d.ts +54 -0
- package/esm/svc/implement/index.d.ts +6 -0
- package/esm/svc/index.d.ts +3 -0
- package/package.json +15 -15
- package/dist/assets/clone-DtpAsLoe.js +0 -139
- package/dist/assets/file-saver-Cnua3zoa.js +0 -74
- package/dist/assets/liquidjs-BfOWWjtJ.js +0 -2907
- package/dist/assets/moment-h96o7c8I.js +0 -2578
- package/dist/assets/sprintf-js-BPTdvBYM.js +0 -148
- package/dist/assets/underscore-B0BCaBxV.js +0 -1070
- package/dist/assets/underscore.string-oDfap0sE.js +0 -425
- package/dist/assets/util-deprecate-BqFawLoO.js +0 -28
- package/dist/style.css +0 -1
- package/esm/@types/CreateFeOptions.d.ts +0 -29
- package/esm/@types/index.d.ts +0 -2
- package/esm/apps/AppConstant.d.ts +0 -3
- package/esm/apps/index.d.ts +0 -2
- package/esm/coms/@types/PagerEmit.d.ts +0 -11
- package/esm/coms/@types/PagerProps.d.ts +0 -18
- package/esm/coms/@types/ScrollerProps.d.ts +0 -15
- package/esm/coms/@types/SocketProgressProps.d.ts +0 -43
- package/esm/coms/@types/TabProps.d.ts +0 -11
- package/esm/coms/@types/TableEmit.d.ts +0 -10
- package/esm/coms/@types/TableProps.d.ts +0 -34
- package/esm/coms/@types/index.d.ts +0 -8
- package/esm/coms/Empty.vue.d.ts +0 -31
- package/esm/coms/Fill.vue.d.ts +0 -22
- package/esm/coms/Progress.vue.d.ts +0 -8
- package/esm/coms/Scroller.vue.d.ts +0 -29
- package/esm/coms/Timer.vue.d.ts +0 -25
- package/esm/coms/cards/Index.vue.d.ts +0 -16
- package/esm/coms/conditions/@types/ConditionGroupProps.d.ts +0 -11
- package/esm/coms/conditions/@types/ConditionProps.d.ts +0 -18
- package/esm/coms/conditions/@types/index.d.ts +0 -3
- package/esm/coms/conditions/Condition.vue.d.ts +0 -3
- package/esm/coms/conditions/Index.vue.d.ts +0 -3
- package/esm/coms/conditions/types/ConditionGroupProps.d.ts +0 -11
- package/esm/coms/conditions/types/ConditionProps.d.ts +0 -18
- package/esm/coms/conditions/types/index.d.ts +0 -3
- package/esm/coms/controls/@types/CodeEmit.d.ts +0 -23
- package/esm/coms/controls/@types/CodeIntelli.d.ts +0 -6
- package/esm/coms/controls/@types/CodeProps.d.ts +0 -57
- package/esm/coms/controls/@types/Range.d.ts +0 -26
- package/esm/coms/controls/@types/RichTextOptions.d.ts +0 -14
- package/esm/coms/controls/@types/RichTextProps.d.ts +0 -12
- package/esm/coms/controls/@types/index.d.ts +0 -6
- package/esm/coms/controls/Code.vue.d.ts +0 -30
- package/esm/coms/controls/Compare.vue.d.ts +0 -40
- package/esm/coms/controls/RichText.vue.d.ts +0 -13
- package/esm/coms/controls/Select.vue.d.ts +0 -2
- package/esm/coms/controls/index.d.ts +0 -8
- package/esm/coms/controls/types/CodeEmit.d.ts +0 -23
- package/esm/coms/controls/types/CodeProps.d.ts +0 -28
- package/esm/coms/controls/types/Range.d.ts +0 -26
- package/esm/coms/controls/types/RichTextOptions.d.ts +0 -14
- package/esm/coms/controls/types/RichTextProps.d.ts +0 -12
- package/esm/coms/controls/types/index.d.ts +0 -6
- package/esm/coms/index.d.ts +0 -15
- package/esm/coms/layouts/@types/RowProps.d.ts +0 -14
- package/esm/coms/layouts/@types/index.d.ts +0 -2
- package/esm/coms/layouts/Col.vue.d.ts +0 -16
- package/esm/coms/layouts/Container.vue.d.ts +0 -32
- package/esm/coms/layouts/Desc.vue.d.ts +0 -2
- package/esm/coms/layouts/Row.vue.d.ts +0 -21
- package/esm/coms/layouts/index.d.ts +0 -5
- package/esm/coms/layouts/types/RowProps.d.ts +0 -14
- package/esm/coms/layouts/types/index.d.ts +0 -2
- package/esm/coms/pagers/Index.vue.d.ts +0 -9
- package/esm/coms/progresses/@types/SocketProgressProps.d.ts +0 -23
- package/esm/coms/progresses/@types/index.d.ts +0 -2
- package/esm/coms/progresses/Circle.vue.d.ts +0 -2
- package/esm/coms/progresses/Index.vue.d.ts +0 -9
- package/esm/coms/progresses/Progress.vue.d.ts +0 -6
- package/esm/coms/progresses/SocketProgress.vue.d.ts +0 -17
- package/esm/coms/progresses/index.d.ts +0 -4
- package/esm/coms/progresses/types/SocketProgressProps.d.ts +0 -23
- package/esm/coms/progresses/types/index.d.ts +0 -2
- package/esm/coms/tables/Index.vue.d.ts +0 -33
- package/esm/coms/tables/Table.vue.d.ts +0 -2
- package/esm/coms/tabs/@types/TabProps.d.ts +0 -7
- package/esm/coms/tabs/@types/index.d.ts +0 -2
- package/esm/coms/tabs/Tab.vue.d.ts +0 -3
- package/esm/coms/tabs/TabPane.vue.d.ts +0 -2
- package/esm/coms/tabs/index.d.ts +0 -2
- package/esm/coms/tabs/types/TabProps.d.ts +0 -7
- package/esm/coms/tabs/types/index.d.ts +0 -2
- package/esm/coms/tags/@types/TagProps.d.ts +0 -7
- package/esm/coms/tags/@types/index.d.ts +0 -2
- package/esm/coms/tags/Index.vue.d.ts +0 -17
- package/esm/coms/texts/@types/DanceProps.d.ts +0 -14
- package/esm/coms/texts/@types/index.d.ts +0 -2
- package/esm/coms/texts/Dance.vue.d.ts +0 -5
- package/esm/coms/types/ScrollerProps.d.ts +0 -15
- package/esm/coms/types/index.d.ts +0 -2
- package/esm/drivers/@types/IDispose.d.ts +0 -10
- package/esm/drivers/@types/IDriver.d.ts +0 -10
- package/esm/drivers/@types/IOpen.d.ts +0 -10
- package/esm/drivers/@types/index.d.ts +0 -4
- package/esm/drivers/bridges/IBridge.d.ts +0 -7
- package/esm/drivers/builders/Builder.d.ts +0 -11
- package/esm/drivers/builders/BuilderFactory.d.ts +0 -10
- package/esm/drivers/builders/IBuilder.d.ts +0 -16
- package/esm/drivers/builders/entities/ProviderTable.d.ts +0 -22
- package/esm/drivers/builders/entities/index.d.ts +0 -2
- package/esm/drivers/builders/implement/JsonBuilder.d.ts +0 -8
- package/esm/drivers/builders/implement/MongoBuilder.d.ts +0 -11
- package/esm/drivers/builders/implement/MySqlBuilder.d.ts +0 -8
- package/esm/drivers/builders/implement/SqlBuilder.d.ts +0 -11
- package/esm/drivers/builders/index.d.ts +0 -4
- package/esm/drivers/builders/types/ProviderTable.d.ts +0 -6
- package/esm/drivers/builders/types/index.d.ts +0 -2
- package/esm/drivers/cdns/Cdn.d.ts +0 -35
- package/esm/drivers/cdns/CdnFactory.d.ts +0 -14
- package/esm/drivers/cdns/ICdn.d.ts +0 -47
- package/esm/drivers/cdns/implements/LocalCdn.d.ts +0 -17
- package/esm/drivers/cdns/implements/ThirdCdn.d.ts +0 -29
- package/esm/drivers/cdns/index.d.ts +0 -4
- package/esm/drivers/cryptors/Cryptor.d.ts +0 -11
- package/esm/drivers/cryptors/CryptorFactory.d.ts +0 -13
- package/esm/drivers/cryptors/ICryptor.d.ts +0 -15
- package/esm/drivers/cryptors/implements/AesCryptor.d.ts +0 -10
- package/esm/drivers/cryptors/index.d.ts +0 -3
- package/esm/drivers/encoders/Encoder.d.ts +0 -16
- package/esm/drivers/encoders/EncoderFactory.d.ts +0 -19
- package/esm/drivers/encoders/IEncoder.d.ts +0 -23
- package/esm/drivers/encoders/implement/Base64Encoder.d.ts +0 -12
- package/esm/drivers/encoders/implement/UrlEncoder.d.ts +0 -7
- package/esm/drivers/encoders/index.d.ts +0 -3
- package/esm/drivers/encryptors/Encryptor.d.ts +0 -11
- package/esm/drivers/encryptors/EncryptorFactory.d.ts +0 -13
- package/esm/drivers/encryptors/IEncryptor.d.ts +0 -15
- package/esm/drivers/encryptors/implements/AesEncryptor.d.ts +0 -10
- package/esm/drivers/encryptors/index.d.ts +0 -3
- package/esm/drivers/excels/Excel.d.ts +0 -10
- package/esm/drivers/excels/ExcelFactory.d.ts +0 -14
- package/esm/drivers/excels/IExcel.d.ts +0 -11
- package/esm/drivers/excels/implements/XlsxExcel.d.ts +0 -11
- package/esm/drivers/excels/index.d.ts +0 -3
- package/esm/drivers/explainers/Explainer.d.ts +0 -5
- package/esm/drivers/explainers/ExplainerFactory.d.ts +0 -7
- package/esm/drivers/explainers/IExplainer.d.ts +0 -4
- package/esm/drivers/explainers/implement/JsonExplainer.d.ts +0 -7
- package/esm/drivers/explainers/index.d.ts +0 -2
- package/esm/drivers/features/Feature.d.ts +0 -9
- package/esm/drivers/features/FeatureFactory.d.ts +0 -14
- package/esm/drivers/features/IFeature.d.ts +0 -19
- package/esm/drivers/features/implements/ExpressionFeature.d.ts +0 -11
- package/esm/drivers/features/implements/I18NFeature.d.ts +0 -11
- package/esm/drivers/features/implements/SortFeature.d.ts +0 -12
- package/esm/drivers/features/index.d.ts +0 -3
- package/esm/drivers/hashers/Hasher.d.ts +0 -10
- package/esm/drivers/hashers/HasherFactory.d.ts +0 -19
- package/esm/drivers/hashers/IHasher.d.ts +0 -15
- package/esm/drivers/hashers/implement/Md5Hasher.d.ts +0 -11
- package/esm/drivers/hashers/implement/Sha256Hasher.d.ts +0 -10
- package/esm/drivers/hashers/index.d.ts +0 -3
- package/esm/drivers/helpers/@types/JsonConfig.d.ts +0 -10
- package/esm/drivers/helpers/@types/TreeNodeProp.d.ts +0 -9
- package/esm/drivers/helpers/@types/index.d.ts +0 -3
- package/esm/drivers/helpers/Helper.d.ts +0 -8
- package/esm/drivers/helpers/HelperFactory.d.ts +0 -32
- package/esm/drivers/helpers/IHelper.d.ts +0 -4
- package/esm/drivers/helpers/implements/ArrayHelper.d.ts +0 -123
- package/esm/drivers/helpers/implements/BrowserHelper.d.ts +0 -12
- package/esm/drivers/helpers/implements/ComponentHelper.d.ts +0 -20
- package/esm/drivers/helpers/implements/DictionaryHelper.d.ts +0 -40
- package/esm/drivers/helpers/implements/DomHelper.d.ts +0 -118
- package/esm/drivers/helpers/implements/EventHelper.d.ts +0 -32
- package/esm/drivers/helpers/implements/FileHelper.d.ts +0 -24
- package/esm/drivers/helpers/implements/HtmlHelper.d.ts +0 -16
- package/esm/drivers/helpers/implements/ImageHelper.d.ts +0 -12
- package/esm/drivers/helpers/implements/JsonHelper.d.ts +0 -49
- package/esm/drivers/helpers/implements/MathHelper.d.ts +0 -52
- package/esm/drivers/helpers/implements/MicroHelper.d.ts +0 -12
- package/esm/drivers/helpers/implements/MountHelper.d.ts +0 -16
- package/esm/drivers/helpers/implements/ObjectHelper.d.ts +0 -44
- package/esm/drivers/helpers/implements/ScrollHelper.d.ts +0 -16
- package/esm/drivers/helpers/implements/SignHelper.d.ts +0 -16
- package/esm/drivers/helpers/implements/StringHelper.d.ts +0 -104
- package/esm/drivers/helpers/implements/TaskHelper.d.ts +0 -28
- package/esm/drivers/helpers/implements/TimeHelper.d.ts +0 -68
- package/esm/drivers/helpers/implements/TreeHelper.d.ts +0 -56
- package/esm/drivers/helpers/implements/TypeHelper.d.ts +0 -28
- package/esm/drivers/helpers/implements/UrlHelper.d.ts +0 -90
- package/esm/drivers/helpers/index.d.ts +0 -24
- package/esm/drivers/https/Http.d.ts +0 -49
- package/esm/drivers/https/HttpFactory.d.ts +0 -19
- package/esm/drivers/https/IHttp.d.ts +0 -49
- package/esm/drivers/https/entities/HttpMessage.d.ts +0 -51
- package/esm/drivers/https/entities/HttpModel.d.ts +0 -12
- package/esm/drivers/https/entities/HttpProgress.d.ts +0 -9
- package/esm/drivers/https/entities/HttpRequest.d.ts +0 -24
- package/esm/drivers/https/entities/HttpResponse.d.ts +0 -32
- package/esm/drivers/https/entities/index.d.ts +0 -4
- package/esm/drivers/https/implements/DefaultHttp.d.ts +0 -26
- package/esm/drivers/https/implements/EiHttp.d.ts +0 -32
- package/esm/drivers/https/implements/FeiShuHttp.d.ts +0 -8
- package/esm/drivers/https/implements/HaloHttp.d.ts +0 -41
- package/esm/drivers/https/implements/MkHttp.d.ts +0 -30
- package/esm/drivers/https/index.d.ts +0 -5
- package/esm/drivers/i18ns/I18n.d.ts +0 -42
- package/esm/drivers/i18ns/I18nFactory.d.ts +0 -10
- package/esm/drivers/i18ns/II18n.d.ts +0 -84
- package/esm/drivers/i18ns/implements/DefaultI18n.d.ts +0 -13
- package/esm/drivers/i18ns/index.d.ts +0 -3
- package/esm/drivers/index.d.ts +0 -73
- package/esm/drivers/messengers/IMessenger.d.ts +0 -35
- package/esm/drivers/messengers/Messenger.d.ts +0 -15
- package/esm/drivers/messengers/MessengerFactory.d.ts +0 -14
- package/esm/drivers/messengers/implement/ConsoleMessenger.d.ts +0 -15
- package/esm/drivers/messengers/index.d.ts +0 -4
- package/esm/drivers/providers/IProvider.d.ts +0 -59
- package/esm/drivers/providers/Provider.d.ts +0 -21
- package/esm/drivers/providers/ProviderFactory.d.ts +0 -19
- package/esm/drivers/providers/helpers/SqlHelper.d.ts +0 -11
- package/esm/drivers/providers/helpers/index.d.ts +0 -2
- package/esm/drivers/providers/implements/CookieProvider.d.ts +0 -16
- package/esm/drivers/providers/implements/IndexedDbProvider.d.ts +0 -64
- package/esm/drivers/providers/implements/StorageProvider.d.ts +0 -28
- package/esm/drivers/providers/index.d.ts +0 -4
- package/esm/drivers/signers/ISigner.d.ts +0 -33
- package/esm/drivers/signers/Signer.d.ts +0 -16
- package/esm/drivers/signers/SignerFactory.d.ts +0 -14
- package/esm/drivers/signers/implements/DefaultSigner.d.ts +0 -16
- package/esm/drivers/signers/index.d.ts +0 -3
- package/esm/drivers/sockets/@types/SubscribedWindow.d.ts +0 -16
- package/esm/drivers/sockets/@types/index.d.ts +0 -2
- package/esm/drivers/sockets/ISocket.d.ts +0 -39
- package/esm/drivers/sockets/Socket.d.ts +0 -31
- package/esm/drivers/sockets/SocketFactory.d.ts +0 -14
- package/esm/drivers/sockets/entities/SocketProgress.d.ts +0 -38
- package/esm/drivers/sockets/entities/SocketResponse.d.ts +0 -42
- package/esm/drivers/sockets/entities/index.d.ts +0 -3
- package/esm/drivers/sockets/implement/DefaultSocket.d.ts +0 -37
- package/esm/drivers/sockets/index.d.ts +0 -4
- package/esm/drivers/ssos/ISso.d.ts +0 -35
- package/esm/drivers/ssos/Sso.d.ts +0 -18
- package/esm/drivers/ssos/SsoFactory.d.ts +0 -17
- package/esm/drivers/ssos/entities/SsoUser.d.ts +0 -22
- package/esm/drivers/ssos/entities/index.d.ts +0 -2
- package/esm/drivers/ssos/implements/AnonymousSso.d.ts +0 -20
- package/esm/drivers/ssos/implements/BearerSso.d.ts +0 -23
- package/esm/drivers/ssos/implements/NioSso.d.ts +0 -25
- package/esm/drivers/ssos/implements/SecretSso.d.ts +0 -20
- package/esm/drivers/ssos/implements/WeiXinSso.d.ts +0 -17
- package/esm/drivers/ssos/index.d.ts +0 -4
- package/esm/drivers/tasks/ITask.d.ts +0 -34
- package/esm/drivers/tasks/Task.d.ts +0 -15
- package/esm/drivers/tasks/TaskFactory.d.ts +0 -10
- package/esm/drivers/tasks/implement/MemoryTask.d.ts +0 -30
- package/esm/drivers/tasks/index.d.ts +0 -3
- package/esm/drivers/templates/ITemplate.d.ts +0 -11
- package/esm/drivers/templates/Template.d.ts +0 -6
- package/esm/drivers/templates/TemplateFactory.d.ts +0 -10
- package/esm/drivers/templates/implement/LiquidTemplate.d.ts +0 -6
- package/esm/drivers/templates/index.d.ts +0 -3
- package/esm/drivers/types/IDispose.d.ts +0 -10
- package/esm/drivers/types/IDriver.d.ts +0 -10
- package/esm/drivers/types/IOpen.d.ts +0 -10
- package/esm/drivers/types/index.d.ts +0 -4
- package/esm/drivers/util/@types/JsonConfig.d.ts +0 -10
- package/esm/drivers/util/@types/TreeNodeProp.d.ts +0 -9
- package/esm/drivers/util/@types/index.d.ts +0 -3
- package/esm/drivers/util/IUtil.d.ts +0 -8
- package/esm/drivers/util/Util.d.ts +0 -8
- package/esm/drivers/util/UtilFactory.d.ts +0 -32
- package/esm/drivers/util/implements/ArrayUtil.d.ts +0 -123
- package/esm/drivers/util/implements/BrowserUtil.d.ts +0 -12
- package/esm/drivers/util/implements/ComponentUtil.d.ts +0 -20
- package/esm/drivers/util/implements/DictionaryUtil.d.ts +0 -40
- package/esm/drivers/util/implements/DomUtil.d.ts +0 -118
- package/esm/drivers/util/implements/EventUtil.d.ts +0 -32
- package/esm/drivers/util/implements/FileUtil.d.ts +0 -24
- package/esm/drivers/util/implements/HtmlUtil.d.ts +0 -16
- package/esm/drivers/util/implements/ImageUtil.d.ts +0 -12
- package/esm/drivers/util/implements/JsonUtil.d.ts +0 -66
- package/esm/drivers/util/implements/MathUtil.d.ts +0 -52
- package/esm/drivers/util/implements/MicroUtil.d.ts +0 -12
- package/esm/drivers/util/implements/MountUtil.d.ts +0 -16
- package/esm/drivers/util/implements/ObjectUtil.d.ts +0 -72
- package/esm/drivers/util/implements/ScrollUtil.d.ts +0 -16
- package/esm/drivers/util/implements/SignUtil.d.ts +0 -16
- package/esm/drivers/util/implements/StringUtil.d.ts +0 -108
- package/esm/drivers/util/implements/TaskUtil.d.ts +0 -28
- package/esm/drivers/util/implements/TimeUtil.d.ts +0 -72
- package/esm/drivers/util/implements/TreeUtil.d.ts +0 -56
- package/esm/drivers/util/implements/TypeUtil.d.ts +0 -28
- package/esm/drivers/util/implements/UrlUtil.d.ts +0 -100
- package/esm/drivers/util/index.d.ts +0 -23
- package/esm/drivers/utilities/@types/DragEvent.d.ts +0 -11
- package/esm/drivers/utilities/@types/DragOptions.d.ts +0 -28
- package/esm/drivers/utilities/@types/Position.d.ts +0 -15
- package/esm/drivers/utilities/@types/Rect.d.ts +0 -10
- package/esm/drivers/utilities/@types/index.d.ts +0 -5
- package/esm/drivers/utilities/IUtility.d.ts +0 -7
- package/esm/drivers/utilities/Utility.d.ts +0 -8
- package/esm/drivers/utilities/UtilityFactory.d.ts +0 -44
- package/esm/drivers/utilities/implement/AffixUtility.d.ts +0 -11
- package/esm/drivers/utilities/implement/DeltaUtility.d.ts +0 -11
- package/esm/drivers/utilities/implement/EventUtility.d.ts +0 -70
- package/esm/drivers/utilities/implement/KeyboardUtility.d.ts +0 -74
- package/esm/drivers/utilities/implement/MouseUtility.d.ts +0 -25
- package/esm/drivers/utilities/implement/RandomUtility.d.ts +0 -41
- package/esm/drivers/utilities/implement/SaveUtility.d.ts +0 -61
- package/esm/drivers/utilities/index.d.ts +0 -9
- package/esm/drivers/videos/IVideo.d.ts +0 -4
- package/esm/drivers/videos/VideoFactory.d.ts +0 -7
- package/esm/drivers/videos/index.d.ts +0 -2
- package/esm/drivers/voices/IVoice.d.ts +0 -15
- package/esm/drivers/voices/Voice.d.ts +0 -11
- package/esm/drivers/voices/VoiceFactory.d.ts +0 -7
- package/esm/drivers/voices/implement/DefaultVoice.d.ts +0 -8
- package/esm/drivers/voices/implement/TencentVoice.d.ts +0 -11
- package/esm/drivers/voices/index.d.ts +0 -2
- package/esm/factorying/Factories.d.ts +0 -94
- package/esm/factorying/Factory.d.ts +0 -49
- package/esm/factorying/Helps.d.ts +0 -29
- package/esm/factorying/IFactory.d.ts +0 -39
- package/esm/factorying/Utils.d.ts +0 -29
- package/esm/factorying/index.d.ts +0 -47
- package/esm/helpers/@types/JsonConfig.d.ts +0 -10
- package/esm/helpers/@types/TreeNodeProp.d.ts +0 -9
- package/esm/helpers/@types/index.d.ts +0 -3
- package/esm/helpers/ArrayHelper.d.ts +0 -122
- package/esm/helpers/BrowserHelper.d.ts +0 -10
- package/esm/helpers/ComponentHelper.d.ts +0 -18
- package/esm/helpers/DictionaryHelper.d.ts +0 -38
- package/esm/helpers/DomHelper.d.ts +0 -116
- package/esm/helpers/EventHelper.d.ts +0 -30
- package/esm/helpers/FileHelper.d.ts +0 -22
- package/esm/helpers/HtmlHelper.d.ts +0 -14
- package/esm/helpers/ImageHelper.d.ts +0 -10
- package/esm/helpers/JsonHelper.d.ts +0 -47
- package/esm/helpers/MathHelper.d.ts +0 -50
- package/esm/helpers/MicroHelper.d.ts +0 -10
- package/esm/helpers/MountHelper.d.ts +0 -14
- package/esm/helpers/ObjectHelper.d.ts +0 -42
- package/esm/helpers/ScrollHelper.d.ts +0 -14
- package/esm/helpers/SignHelper.d.ts +0 -14
- package/esm/helpers/StringHelper.d.ts +0 -102
- package/esm/helpers/TaskHelper.d.ts +0 -26
- package/esm/helpers/TimeHelper.d.ts +0 -66
- package/esm/helpers/TreeHelper.d.ts +0 -54
- package/esm/helpers/TypeHelper.d.ts +0 -26
- package/esm/helpers/UrlHelper.d.ts +0 -88
- package/esm/helpers/index.d.ts +0 -23
- package/esm/helpers/types/JsonConfig.d.ts +0 -10
- package/esm/helpers/types/TreeNodeProp.d.ts +0 -9
- package/esm/helpers/types/index.d.ts +0 -3
- package/esm/plugins/Ref.d.ts +0 -7
- package/esm/plugins/index.d.ts +0 -4
- package/esm/repos/IRepo.d.ts +0 -4
- package/esm/repos/Repo.d.ts +0 -5
- package/esm/repos/RepoFactory.d.ts +0 -24
- package/esm/repos/SettingRepo.d.ts +0 -11
- package/esm/repos/entities/KeyboardType.d.ts +0 -8
- package/esm/repos/entities/index.d.ts +0 -2
- package/esm/repos/implements/ModuleRepo.d.ts +0 -53
- package/esm/repos/implements/PageRepo.d.ts +0 -30
- package/esm/repos/implements/QueryRepo.d.ts +0 -64
- package/esm/repos/implements/SettingRepo.d.ts +0 -16
- package/esm/repos/index.d.ts +0 -13
- package/esm/svcs/@types/Dictionary.d.ts +0 -4
- package/esm/svcs/@types/index.d.ts +0 -1
- package/esm/svcs/ISvc.d.ts +0 -7
- package/esm/svcs/Svc.d.ts +0 -5
- package/esm/svcs/SvcFactory.d.ts +0 -15
- package/esm/svcs/entities/AppConfig.d.ts +0 -30
- package/esm/svcs/entities/SysConfig.d.ts +0 -8
- package/esm/svcs/entities/UserConfig.d.ts +0 -7
- package/esm/svcs/entities/index.d.ts +0 -4
- package/esm/svcs/implement/ConfigSvc.d.ts +0 -72
- package/esm/svcs/implement/DriverSvc.d.ts +0 -12
- package/esm/svcs/implement/EnvSvc.d.ts +0 -14
- package/esm/svcs/implement/I18nSvc.d.ts +0 -83
- package/esm/svcs/implement/LogSvc.d.ts +0 -22
- package/esm/svcs/implement/SettingSvc.d.ts +0 -70
- package/esm/svcs/implement/SocketSvc.d.ts +0 -38
- package/esm/svcs/implement/UserSvc.d.ts +0 -55
- package/esm/svcs/implement/index.d.ts +0 -1
- package/esm/svcs/index.d.ts +0 -52
- package/esm/svcs/types/Dictionary.d.ts +0 -4
- package/esm/svcs/types/index.d.ts +0 -2
- package/esm/types/CreateFeOptions.d.ts +0 -25
- package/esm/types/CreatePcOptions.d.ts +0 -15
- package/esm/types/index.d.ts +0 -2
- package/esm/utilities/@types/DragEvent.d.ts +0 -11
- package/esm/utilities/@types/DragOptions.d.ts +0 -28
- package/esm/utilities/@types/Position.d.ts +0 -15
- package/esm/utilities/@types/Rect.d.ts +0 -10
- package/esm/utilities/@types/index.d.ts +0 -5
- package/esm/utilities/AffixUtility.d.ts +0 -10
- package/esm/utilities/EventUtility.d.ts +0 -72
- package/esm/utilities/KeyboardUtility.d.ts +0 -73
- package/esm/utilities/ListDelta.d.ts +0 -10
- package/esm/utilities/MathUtility.d.ts +0 -35
- package/esm/utilities/MouseUtility.d.ts +0 -24
- package/esm/utilities/RandomUtility.d.ts +0 -40
- package/esm/utilities/SaveUtility.d.ts +0 -15
- package/esm/utilities/index.d.ts +0 -8
- package/esm/utilities/types/DragEvent.d.ts +0 -11
- package/esm/utilities/types/DragOptions.d.ts +0 -28
- package/esm/utilities/types/Position.d.ts +0 -15
- package/esm/utilities/types/Range.d.ts +0 -10
- package/esm/utilities/types/Rect.d.ts +0 -10
- package/esm/utilities/types/index.d.ts +0 -5
- /package/esm/{coms/cards → comp/card}/index.d.ts +0 -0
- /package/esm/{coms/conditions → comp/condition}/index.d.ts +0 -0
- /package/esm/{coms/controls/Input.vue.d.ts → comp/datetime/Time.vue.d.ts} +0 -0
- /package/esm/{coms/controls/Option.vue.d.ts → comp/datetime/TimeRange.vue.d.ts} +0 -0
- /package/esm/{coms/pagers → comp/pager}/index.d.ts +0 -0
- /package/esm/{coms/progresses → comp/progress}/Spinner.vue.d.ts +0 -0
- /package/esm/{coms/tags → comp/tag}/index.d.ts +0 -0
- /package/esm/{coms/texts → comp/text}/index.d.ts +0 -0
- /package/esm/{coms/tables → driver/bridge}/index.d.ts +0 -0
- /package/esm/{drivers/bridges → svc/@type}/index.d.ts +0 -0
@@ -0,0 +1,34 @@
|
|
1
|
+
import { Factory } from "../../factory";
|
2
|
+
import { IUtil } from "./IUtil";
|
3
|
+
import { ArrayUtil, BrowserUtil, ComponentUtil, DictionaryUtil, DomUtil, EventUtil, FileUtil, HtmlUtil, ImageUtil, JsonUtil, MathUtil, MicroUtil, MountUtil, ObjectUtil, ScrollUtil, SignUtil, StringUtil, TaskUtil, TimeUtil, TreeUtil, UrlUtil } from "./implement";
|
4
|
+
/**
|
5
|
+
* 帮助类工厂
|
6
|
+
*/
|
7
|
+
export declare class UtilFactory extends Factory<IUtil> {
|
8
|
+
type: string;
|
9
|
+
open(): void;
|
10
|
+
get array(): ArrayUtil;
|
11
|
+
get browser(): BrowserUtil;
|
12
|
+
get component(): ComponentUtil;
|
13
|
+
get dom(): DomUtil;
|
14
|
+
get dictionary(): DictionaryUtil;
|
15
|
+
get event(): EventUtil;
|
16
|
+
get file(): FileUtil;
|
17
|
+
get html(): HtmlUtil;
|
18
|
+
get image(): ImageUtil;
|
19
|
+
get json(): JsonUtil;
|
20
|
+
/**
|
21
|
+
* 数学帮助类
|
22
|
+
*/
|
23
|
+
get math(): MathUtil;
|
24
|
+
get mount(): MountUtil;
|
25
|
+
get object(): ObjectUtil;
|
26
|
+
get micro(): MicroUtil;
|
27
|
+
get scroll(): ScrollUtil;
|
28
|
+
get string(): StringUtil;
|
29
|
+
get task(): TaskUtil;
|
30
|
+
get time(): TimeUtil;
|
31
|
+
get tree(): TreeUtil;
|
32
|
+
get url(): UrlUtil;
|
33
|
+
get sign(): SignUtil;
|
34
|
+
}
|
@@ -0,0 +1,137 @@
|
|
1
|
+
import { BaseUtil } from "../BaseUtil";
|
2
|
+
/**
|
3
|
+
* 数组帮助类
|
4
|
+
*/
|
5
|
+
export declare class ArrayUtil extends BaseUtil {
|
6
|
+
type: string;
|
7
|
+
/**
|
8
|
+
* 获取指定数组分成每片指定长度后的集合
|
9
|
+
*/
|
10
|
+
getChunks: (entities: any[], size: number) => any[][];
|
11
|
+
/**
|
12
|
+
* 获取分成指定片数量后的集合
|
13
|
+
*/
|
14
|
+
getChunksByCount(entities: any[], count: number): any[][];
|
15
|
+
/**
|
16
|
+
* 获取指定开始位置的指定数量的集合
|
17
|
+
*/
|
18
|
+
getRange<T>(entities: T[], index: number, count?: number): T[];
|
19
|
+
/**
|
20
|
+
* 获取最后length个元素
|
21
|
+
*/
|
22
|
+
getLast(entities: string[], length: number): string[];
|
23
|
+
/**
|
24
|
+
* 取两个集合的交集
|
25
|
+
*/
|
26
|
+
intersect: (arr1: any[], arr2: any[]) => any[];
|
27
|
+
/**
|
28
|
+
* 排除指定元素(差集)
|
29
|
+
*/
|
30
|
+
except: (from: any[], target: any[] | any, equals?: (a: any, b: any) => boolean) => any[];
|
31
|
+
/**
|
32
|
+
* 求最大值,数据类型的比较函数要自己转换为数值类型
|
33
|
+
*/
|
34
|
+
max<T>(entities: T[], fn: (entity: T) => number): T;
|
35
|
+
/**
|
36
|
+
* 求最小值,数据类型的比较函数要自己转换为数值类型
|
37
|
+
*/
|
38
|
+
min<T>(entities: T[], fn: (entity: T) => number): any;
|
39
|
+
/**
|
40
|
+
* 求平均值
|
41
|
+
*/
|
42
|
+
avg<T>(entities: T[], fn: (entity: T) => number, digits?: number): number;
|
43
|
+
/**
|
44
|
+
* 对数组的指定属性求和
|
45
|
+
* 指定保留小数位,可以防止浮点数计算精度问题,如:57.16+14.29=71.44999999999999 正确得到:71.45
|
46
|
+
*/
|
47
|
+
sum<T>(entities: T[], fn: (entity: T) => number, digits?: number): number;
|
48
|
+
/**
|
49
|
+
* 存在属性匹配值
|
50
|
+
*/
|
51
|
+
any<T>(entities: T[], value: any, ...props: string[]): T;
|
52
|
+
/**
|
53
|
+
* 是否包含
|
54
|
+
*/
|
55
|
+
contains: (arr: any[], element: any) => boolean;
|
56
|
+
/**
|
57
|
+
* 判断指定集合中的指定属性的值,是否包含关键词
|
58
|
+
*/
|
59
|
+
filterContains: (arr: any[], props: string[], keywords: string) => any[];
|
60
|
+
/**
|
61
|
+
* 判断2个数组是否每个元素都相同
|
62
|
+
*/
|
63
|
+
same: (arr1: any[], arr2: any[]) => boolean;
|
64
|
+
/**
|
65
|
+
* 对数组元素根据指定函数进行去重,并返回去重后的值的新数组 n=>n.value
|
66
|
+
*/
|
67
|
+
distinct<T>(entities: T[], selector: (entity: T) => any): any[];
|
68
|
+
/**
|
69
|
+
* 创建集合
|
70
|
+
*/
|
71
|
+
from(entities: any): any[];
|
72
|
+
/**
|
73
|
+
* 连接值构建成新数组,重复项也会自动构建,不存在的值,会自动创建为一个新项
|
74
|
+
*/
|
75
|
+
fromValues: (arrValues: any[], arr: any[], propertyValue: string, propertyText: string) => any[];
|
76
|
+
/**
|
77
|
+
* 分割指定字符串为数组,字符串为空,返回空数组
|
78
|
+
* @param input
|
79
|
+
* @param split
|
80
|
+
* @param element 转换后添加的默认元素
|
81
|
+
*/
|
82
|
+
split: (input: string, split: string, element?: any) => any[];
|
83
|
+
/**
|
84
|
+
* 合并多个数组中的每一项到新的二维数组中,没值的元素被有值的元素代替
|
85
|
+
*/
|
86
|
+
combine<T>(...args: T[]): any[];
|
87
|
+
/**
|
88
|
+
* 在指定元素前插入新元素,返回插入元素的索引
|
89
|
+
*/
|
90
|
+
insert<T>(entities: T[], selectedRow: T, row: T): number;
|
91
|
+
/**
|
92
|
+
* 在指定元素后插入新元素,返回插入元素的索引
|
93
|
+
*/
|
94
|
+
append<T>(entities: T[], selectedRow: T, row: T): number;
|
95
|
+
/**
|
96
|
+
* 不存在某元素时才添加某元素
|
97
|
+
*/
|
98
|
+
pushIfNotExist<T>(entities: T[], element: T): void;
|
99
|
+
/**
|
100
|
+
* 把集合创建成另一个集合
|
101
|
+
*/
|
102
|
+
create<T>(entities: any[], handler: (entity: any, i: number) => T): T[];
|
103
|
+
/**
|
104
|
+
* 删除执行数组中的指定对象或者集合
|
105
|
+
*/
|
106
|
+
remove<T>(entities: T[], element: T | T[]): void;
|
107
|
+
/**
|
108
|
+
* 删除指定元素,并返回删除后的字符串
|
109
|
+
*/
|
110
|
+
removeIndex: (str: string, index: number, split: string) => string;
|
111
|
+
/**
|
112
|
+
* 按照指定属性对数组排序
|
113
|
+
*/
|
114
|
+
orderBy<T>(entities: T[], sortFn: ((entity: T) => any) | ((entity: T) => any)[], asc?: boolean): T[];
|
115
|
+
/**
|
116
|
+
* 按照指定对比函数对数组排序,不改变原始数组,返回升序数组
|
117
|
+
** 对比结果:1:a大 0:相同 -1:b大
|
118
|
+
** 支持多属性比对
|
119
|
+
*/
|
120
|
+
sort<T>(entities: T[], compareFn: (a: T, b: T) => number): T[];
|
121
|
+
/**
|
122
|
+
* 分组,封装成字典而不是集合,大数据场景速度提升百倍
|
123
|
+
*/
|
124
|
+
groupBy: (entities: any[], keyHandler: (entity: any) => any, valueHandler?: (item: any[]) => any) => object;
|
125
|
+
/**
|
126
|
+
* 分组
|
127
|
+
*/
|
128
|
+
groupByArray: (entities: any[], keyFn: (item: any) => any) => any[];
|
129
|
+
/**
|
130
|
+
* 替换指定元素为新元素,不存在则添加
|
131
|
+
*/
|
132
|
+
replaceOrAdd(entities: any[], selectFn: (value: any) => boolean, replacement: any): void;
|
133
|
+
/**
|
134
|
+
* 把实体,自动转换成数组
|
135
|
+
*/
|
136
|
+
getArray<T>(entity: T | T[]): T[];
|
137
|
+
}
|
@@ -0,0 +1,36 @@
|
|
1
|
+
import { Ref, VNode } from "vue";
|
2
|
+
import { BaseUtil } from "../BaseUtil";
|
3
|
+
/**
|
4
|
+
* 组件帮助类
|
5
|
+
*/
|
6
|
+
export declare class ComponentUtil extends BaseUtil {
|
7
|
+
type: string;
|
8
|
+
/**
|
9
|
+
* 根据动态加载的组件对象,得到组件集合
|
10
|
+
*/
|
11
|
+
getComponents(components: object, replace: string, prefix?: string): object;
|
12
|
+
/**
|
13
|
+
* 获取部分自定义组件名称
|
14
|
+
*/
|
15
|
+
getName: (url: string, prefix: string) => string;
|
16
|
+
/**
|
17
|
+
* 检测异步控件是否加载完毕
|
18
|
+
*/
|
19
|
+
detectLoaded(ref: any, cb: Function): void;
|
20
|
+
/**
|
21
|
+
* 把属性传值,转换成外部引用对象,未传值则转换成内部引用对象
|
22
|
+
*/
|
23
|
+
toRef<T>(props: any, name: string, value: T): Ref<T>;
|
24
|
+
/**
|
25
|
+
* 获取指定名字的虚拟节点
|
26
|
+
*/
|
27
|
+
getNode(slots: any, name: string): VNode;
|
28
|
+
/**
|
29
|
+
* 根据虚拟节点集合获取虚拟节点
|
30
|
+
*/
|
31
|
+
toNode(slot: any): VNode;
|
32
|
+
/**
|
33
|
+
* 从插槽中,获取指定名称插槽的虚拟节点集合
|
34
|
+
*/
|
35
|
+
getNodes(slots: any, name: string): VNode[];
|
36
|
+
}
|
@@ -0,0 +1,39 @@
|
|
1
|
+
import { BaseUtil } from "../BaseUtil";
|
2
|
+
/**
|
3
|
+
* 字典帮助类
|
4
|
+
*/
|
5
|
+
export declare class DictionaryUtil extends BaseUtil {
|
6
|
+
type: string;
|
7
|
+
/**
|
8
|
+
* 从指定字典中提取忽略大小写的key的值
|
9
|
+
*/
|
10
|
+
getValueIgnoreCase<T>(key: string, value: {
|
11
|
+
[key: string]: T;
|
12
|
+
}): T;
|
13
|
+
/**
|
14
|
+
* 对字典进行排序,并得到新字典
|
15
|
+
*/
|
16
|
+
sort(obj: object): any;
|
17
|
+
/**
|
18
|
+
* 连接字典
|
19
|
+
*/
|
20
|
+
join(obj: object, valueHandler?: (value: string) => string, delimiter?: string, join?: string): string;
|
21
|
+
/**
|
22
|
+
* 把字典转换成数组
|
23
|
+
*/
|
24
|
+
toList(entity: {
|
25
|
+
[key: string]: any[];
|
26
|
+
}, valueHandler: (entity: {
|
27
|
+
key: string;
|
28
|
+
value: any;
|
29
|
+
}) => void): {
|
30
|
+
key: string;
|
31
|
+
value: any[];
|
32
|
+
}[];
|
33
|
+
/**
|
34
|
+
* 判断字典是否包含值
|
35
|
+
*/
|
36
|
+
containsValue(dic: {
|
37
|
+
[key: string]: any;
|
38
|
+
}, value: any): boolean;
|
39
|
+
}
|
@@ -0,0 +1,171 @@
|
|
1
|
+
import { Position } from "../../utility";
|
2
|
+
import { BaseUtil } from "../BaseUtil";
|
3
|
+
import { DomBound } from "../@type";
|
4
|
+
/**
|
5
|
+
* Dom帮助类
|
6
|
+
*/
|
7
|
+
export declare class DomUtil extends BaseUtil {
|
8
|
+
type: string;
|
9
|
+
/**
|
10
|
+
* 根据字符串Ascii码得到固定颜色字典
|
11
|
+
*/
|
12
|
+
getColors(values: string[]): object;
|
13
|
+
/**
|
14
|
+
* 获取样式名
|
15
|
+
*/
|
16
|
+
getClass(...args: any[]): string;
|
17
|
+
/**
|
18
|
+
* 添加类
|
19
|
+
*/
|
20
|
+
addClass: (element: Element, cls: string, choice?: any) => void;
|
21
|
+
/**
|
22
|
+
* 删除类
|
23
|
+
*/
|
24
|
+
removeClass: (selector: string | Element, className: string, except?: Element) => void;
|
25
|
+
/**
|
26
|
+
* 根据计算后的样式进行DOM过滤
|
27
|
+
*/
|
28
|
+
filterStyle(element: HTMLElement[], fn: (style: CSSStyleDeclaration) => boolean): HTMLElement[];
|
29
|
+
/**
|
30
|
+
* 添加样式
|
31
|
+
*/
|
32
|
+
addStyle(element: HTMLElement, prop: string, value: string): void;
|
33
|
+
/**
|
34
|
+
* 查找兄弟节点
|
35
|
+
*/
|
36
|
+
siblings(element: HTMLElement): HTMLElement[];
|
37
|
+
/**
|
38
|
+
* 查找指定父节点
|
39
|
+
*/
|
40
|
+
parentUntil(element: HTMLElement, cls: string): HTMLElement;
|
41
|
+
/**
|
42
|
+
* 查找指定父节点集合
|
43
|
+
*/
|
44
|
+
parentsUntil(element: HTMLElement, cls: string): HTMLElement[];
|
45
|
+
/**
|
46
|
+
* 查找第一个影响fixed定位的 绝对定位元素 或 backdrop 元素,直到html元素
|
47
|
+
*/
|
48
|
+
parentAbsolute(element: HTMLElement): HTMLElement;
|
49
|
+
/**
|
50
|
+
* 查找孩子节点
|
51
|
+
*/
|
52
|
+
find(element: Element, cls: string): Element;
|
53
|
+
/**
|
54
|
+
* 统计所有控件宽度,含外边距
|
55
|
+
*/
|
56
|
+
getWidth(element: Element | Element[]): number;
|
57
|
+
/**
|
58
|
+
* 获取元素可用宽度(移除内填充)
|
59
|
+
*/
|
60
|
+
getAvailableWidth(element: Element | Element[]): number;
|
61
|
+
/**
|
62
|
+
* 统计所有非固定定位控件高度,含内填充和外边距
|
63
|
+
** 会自动忽略空元素
|
64
|
+
*/
|
65
|
+
getHeight(element: Element | Element[]): number;
|
66
|
+
/**
|
67
|
+
* 获取元素可用高度(移除内填充)
|
68
|
+
*/
|
69
|
+
getAvailableHeight(element: Element | Element[]): number;
|
70
|
+
/**
|
71
|
+
* 获取指定元素在视口内的位置
|
72
|
+
*/
|
73
|
+
getViewportStyle(element: Element, title: string, subMenu: string, viewport: Element, position: string): any;
|
74
|
+
/**
|
75
|
+
* 获取指定选择器元素的最大索引,并排除指定元素
|
76
|
+
*/
|
77
|
+
getMaxIndex(selector: string, except: Element): number;
|
78
|
+
/**
|
79
|
+
* 判断当前鼠标位置是否在指定范围之内
|
80
|
+
*/
|
81
|
+
inRange(event: Position, x: number, y: number, width: number, height: number): boolean;
|
82
|
+
/**
|
83
|
+
* 创建指定标签的dom,并设置内容
|
84
|
+
*/
|
85
|
+
create(name: string, cls?: string, html?: string): HTMLElement;
|
86
|
+
/**
|
87
|
+
* 不存在时创建dom,并自动追加到文档
|
88
|
+
*/
|
89
|
+
createIfAbsent(name: string, cls: string, html?: string): HTMLElement;
|
90
|
+
/**
|
91
|
+
* 根据路径获取标签(无src)
|
92
|
+
*/
|
93
|
+
createEmptyByUrl: (url: string) => HTMLElement;
|
94
|
+
/**
|
95
|
+
* 根据路径获取待加载的元素,同时包含Url
|
96
|
+
*/
|
97
|
+
createByUrl: (url: string) => HTMLElement;
|
98
|
+
/**
|
99
|
+
* 根据路径获取元素
|
100
|
+
* VIP:已废弃,不能用改方法判断资源是否加载完毕,因为可能只是脚本创建,资源还未加载完毕
|
101
|
+
*/
|
102
|
+
getByUrl: (url: string) => HTMLElement;
|
103
|
+
/**
|
104
|
+
* 获取行内标签,如: style(非link)
|
105
|
+
*/
|
106
|
+
getInlineTagByUrl(url: string): string;
|
107
|
+
/**
|
108
|
+
* 获取资源标签,如: link
|
109
|
+
*/
|
110
|
+
getTagByUrl(url: string): string;
|
111
|
+
/**
|
112
|
+
* 滚动指定dom到可视窗口
|
113
|
+
*/
|
114
|
+
scrollIntoView(value: HTMLElement): void;
|
115
|
+
/**
|
116
|
+
* 获取指定元素滚动条滚动的百分比
|
117
|
+
*/
|
118
|
+
getScrollPercent(element: Element): number;
|
119
|
+
/**
|
120
|
+
* 获取文本实际占用宽度
|
121
|
+
*/
|
122
|
+
getTextWidth(value: string): number;
|
123
|
+
/**
|
124
|
+
* 判断指定元素相比另一个元素内容是否溢出,需要设置该元素高度占比100%
|
125
|
+
*/
|
126
|
+
isOverflow: (element: Element, compareTo: Element) => boolean;
|
127
|
+
/**
|
128
|
+
* 获取指定元素相对于fixed定位元素的位置
|
129
|
+
*/
|
130
|
+
getAbsoluteRect(value: HTMLElement): DOMRect;
|
131
|
+
/**
|
132
|
+
* 获取指定元素距离目标元素左上右下边缘的距离
|
133
|
+
*/
|
134
|
+
getRectBound(target: HTMLElement, to: HTMLElement): DomBound;
|
135
|
+
/**
|
136
|
+
* 获取指定元素距离目标元素左上右下边缘的距离
|
137
|
+
*/
|
138
|
+
getEventBound(event: MouseEvent, to: HTMLElement): DomBound;
|
139
|
+
/**
|
140
|
+
* 获取指定元素相对于指定元素的位置
|
141
|
+
*/
|
142
|
+
getRectTo(to: HTMLElement, value: HTMLElement): DOMRect;
|
143
|
+
/**
|
144
|
+
* 获取元素相对窗口(非第一个fixed元素)的位置和占据的总宽高
|
145
|
+
** width:实际占据的总宽度(含边框和填充)
|
146
|
+
** height:实际占据的总高度(含边框和填充)
|
147
|
+
*/
|
148
|
+
getRect(target: HTMLElement): DOMRect;
|
149
|
+
/**
|
150
|
+
* 获取元素计算后的样式
|
151
|
+
** width:仅内容占据的宽度(不含边框和填充)
|
152
|
+
** height:仅内容占据的高度(不含边框和填充)
|
153
|
+
*/
|
154
|
+
getStyle(target: HTMLElement): CSSStyleDeclaration;
|
155
|
+
/**
|
156
|
+
* 提示元素
|
157
|
+
*/
|
158
|
+
tooltipElement: HTMLElement;
|
159
|
+
/**
|
160
|
+
* 悬停提示
|
161
|
+
*/
|
162
|
+
tooltip(event: MouseEvent, target: HTMLElement): void;
|
163
|
+
/**
|
164
|
+
* 获取数组,含DOMCollection转换后的数组
|
165
|
+
*/
|
166
|
+
private getArray;
|
167
|
+
/**
|
168
|
+
* 释放全局唯一性资源
|
169
|
+
*/
|
170
|
+
dispose(): void;
|
171
|
+
}
|
@@ -0,0 +1,31 @@
|
|
1
|
+
import { BaseUtil } from "../BaseUtil";
|
2
|
+
/**
|
3
|
+
* 事件帮助类
|
4
|
+
*/
|
5
|
+
export declare class EventUtil extends BaseUtil {
|
6
|
+
type: string;
|
7
|
+
/**
|
8
|
+
* 批量绑定事件,执行指定处理函数
|
9
|
+
*/
|
10
|
+
bind: (events: any[], dom: any, fn: Function) => void;
|
11
|
+
/**
|
12
|
+
* 批量绑定事件,执行指定处理函数
|
13
|
+
*/
|
14
|
+
unbind: (events: any[], dom: any, fn: Function) => void;
|
15
|
+
/**
|
16
|
+
* 绑定点击处理函数
|
17
|
+
*/
|
18
|
+
click: (dom: any, fn: Function) => void;
|
19
|
+
/**
|
20
|
+
* 解除点击监听
|
21
|
+
*/
|
22
|
+
unclick: (dom: any, fn: Function) => void;
|
23
|
+
/**
|
24
|
+
* 绑定滚动处理函数
|
25
|
+
*/
|
26
|
+
scroll: (dom: any, fn: Function) => void;
|
27
|
+
/**
|
28
|
+
* 移除滚动处理函数,防止内存泄漏
|
29
|
+
*/
|
30
|
+
unscroll: (dom: any, fn: Function) => void;
|
31
|
+
}
|
@@ -0,0 +1,23 @@
|
|
1
|
+
import { BaseUtil } from "../BaseUtil";
|
2
|
+
/**
|
3
|
+
* 文件帮助类
|
4
|
+
*/
|
5
|
+
export declare class FileUtil extends BaseUtil {
|
6
|
+
type: string;
|
7
|
+
/**
|
8
|
+
* 保存文件
|
9
|
+
*/
|
10
|
+
save: (base64: string, fileName: string) => void;
|
11
|
+
/**
|
12
|
+
* 获取文件扩展名
|
13
|
+
*/
|
14
|
+
getExtension: (name: string) => string;
|
15
|
+
/**
|
16
|
+
* 判断当前文件名是否是excel文件
|
17
|
+
*/
|
18
|
+
isExcel: (name: string) => boolean;
|
19
|
+
/**
|
20
|
+
* 判断当前文件是否是图片文件
|
21
|
+
*/
|
22
|
+
isImage: (url: string) => boolean;
|
23
|
+
}
|
@@ -0,0 +1,15 @@
|
|
1
|
+
import { BaseUtil } from "../BaseUtil";
|
2
|
+
/**
|
3
|
+
* Html帮助类
|
4
|
+
*/
|
5
|
+
export declare class HtmlUtil extends BaseUtil {
|
6
|
+
type: string;
|
7
|
+
/**
|
8
|
+
* 获取Html内容
|
9
|
+
*/
|
10
|
+
getHtml: (value: string) => string;
|
11
|
+
/**
|
12
|
+
* 获取Html中的文字
|
13
|
+
*/
|
14
|
+
getText: (value: string) => string;
|
15
|
+
}
|
@@ -0,0 +1,62 @@
|
|
1
|
+
import { JsonConfig, Ref, TreeNodeProp } from "../@type";
|
2
|
+
import { BaseUtil } from "../BaseUtil";
|
3
|
+
/**
|
4
|
+
* JSON帮助类
|
5
|
+
*/
|
6
|
+
export declare class JsonUtil extends BaseUtil {
|
7
|
+
type: string;
|
8
|
+
/**
|
9
|
+
* 对非字符串进行序列化,默认不美化以节省内存占用
|
10
|
+
*/
|
11
|
+
serializeWithoutString(value: any, beautify?: boolean): string;
|
12
|
+
/**
|
13
|
+
* 把对象格式化为Json字符串
|
14
|
+
*/
|
15
|
+
serialize(value: any, config?: boolean | JsonConfig): string;
|
16
|
+
/**
|
17
|
+
* 自动移除注释,并反序列化
|
18
|
+
* 支持自动去除// 和 \/**\/注释
|
19
|
+
*/
|
20
|
+
autoDeserialize(value: string): any;
|
21
|
+
/**
|
22
|
+
* 反序列化为json对象,异常返回null
|
23
|
+
*/
|
24
|
+
deserialize(value: string): any;
|
25
|
+
/**
|
26
|
+
* 尝试反序列化成json对象
|
27
|
+
* 异常时,结果返回异常消息对象
|
28
|
+
*/
|
29
|
+
tryDeserialize(value: string, ref: Ref<any>): boolean;
|
30
|
+
/**
|
31
|
+
* 判断指定值,是否包含key
|
32
|
+
*/
|
33
|
+
hasKey(value: any, props: string | string[]): boolean;
|
34
|
+
/**
|
35
|
+
* 根据props中的.自动分割得到属性值
|
36
|
+
*/
|
37
|
+
getValue(value: any, props: string | string[]): any;
|
38
|
+
/**
|
39
|
+
* 获取所有key集合
|
40
|
+
*/
|
41
|
+
getKeys: (props: string | string[]) => string[];
|
42
|
+
/**
|
43
|
+
* 把json字符串合并到目标对象上
|
44
|
+
*/
|
45
|
+
mergeTo(target: any, from: string): void;
|
46
|
+
/**
|
47
|
+
* 从树集合构建出Json对象
|
48
|
+
*/
|
49
|
+
buildObject(tree: any[], childProp: string, fn: (node: any) => TreeNodeProp): string;
|
50
|
+
/**
|
51
|
+
* 从开始层级开始构建Json字符串
|
52
|
+
*/
|
53
|
+
private buildObjectLevel;
|
54
|
+
/**
|
55
|
+
* 填充指定长度的字符串
|
56
|
+
*/
|
57
|
+
private fillSpace;
|
58
|
+
/**
|
59
|
+
* 填充指定长度的字符串
|
60
|
+
*/
|
61
|
+
private fillKey;
|
62
|
+
}
|
@@ -0,0 +1,70 @@
|
|
1
|
+
import { BaseUtil } from "../BaseUtil";
|
2
|
+
/**
|
3
|
+
* 数学帮助类
|
4
|
+
*/
|
5
|
+
export declare class MathUtil extends BaseUtil {
|
6
|
+
type: string;
|
7
|
+
collator: Intl.Collator;
|
8
|
+
/**
|
9
|
+
* 过滤某一页数据
|
10
|
+
*/
|
11
|
+
filterPage: (rows: any[], page: number, size?: number) => any[];
|
12
|
+
/**
|
13
|
+
* 总页数
|
14
|
+
*/
|
15
|
+
pageCount: (count: number, size: number) => number;
|
16
|
+
/**
|
17
|
+
* 四舍五入
|
18
|
+
*/
|
19
|
+
round: (value: number, digits: number) => string;
|
20
|
+
/**
|
21
|
+
* 天花板函数
|
22
|
+
*/
|
23
|
+
ceil: (value: number) => number;
|
24
|
+
/**
|
25
|
+
* 地板取整
|
26
|
+
*/
|
27
|
+
floor(value: number): number;
|
28
|
+
/**
|
29
|
+
* 获取最小值
|
30
|
+
*/
|
31
|
+
min(...values: number[]): number;
|
32
|
+
/**
|
33
|
+
* 获取最大值
|
34
|
+
*/
|
35
|
+
max(...values: number[]): number;
|
36
|
+
/**
|
37
|
+
* 生成指定范围内的随机数
|
38
|
+
*/
|
39
|
+
random(start: number, end: number): number;
|
40
|
+
/**
|
41
|
+
* 获取在指定范围内的值
|
42
|
+
** 自动识别最小和最大值
|
43
|
+
*/
|
44
|
+
between(value: number, start: number, end: number): number;
|
45
|
+
/**
|
46
|
+
* 比较两个值的大小
|
47
|
+
** 1: a大 0:相等 -1: b大
|
48
|
+
*/
|
49
|
+
compare(x: any, y: any): number;
|
50
|
+
/**
|
51
|
+
* 转换成可比较的数字 或 原文本
|
52
|
+
*/
|
53
|
+
getNumber(value: any): any;
|
54
|
+
/**
|
55
|
+
* 求和,并避免返回NaN
|
56
|
+
*/
|
57
|
+
plus<T>(...values: T[]): number;
|
58
|
+
/**
|
59
|
+
* 获取百分比
|
60
|
+
*/
|
61
|
+
getPercentage: (handled: number, total: number) => number;
|
62
|
+
/**
|
63
|
+
* 获取百分比,保留2位小数
|
64
|
+
*/
|
65
|
+
getPercentageText: (handled: number, total: number) => string;
|
66
|
+
/**
|
67
|
+
* 获取大小
|
68
|
+
*/
|
69
|
+
size: (bytes: number) => string;
|
70
|
+
}
|