vue-devui 1.0.0-beta.2 → 1.0.0-beta.20220808
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/README.md +163 -172
- package/alert/index.d.ts +7 -0
- package/alert/index.es.js +79 -51
- package/alert/index.umd.js +1 -1
- package/alert/style.css +1 -1
- package/auto-complete/index.d.ts +7 -0
- package/auto-complete/index.es.js +9053 -0
- package/auto-complete/index.umd.js +40 -0
- package/auto-complete/package.json +7 -0
- package/auto-complete/style.css +1 -0
- package/avatar/index.d.ts +7 -0
- package/avatar/index.es.js +154 -147
- package/avatar/index.umd.js +1 -1
- package/avatar/style.css +1 -1
- package/badge/index.d.ts +7 -0
- package/badge/index.es.js +46 -21
- package/badge/index.umd.js +1 -1
- package/badge/style.css +1 -1
- package/button/index.d.ts +7 -0
- package/button/index.es.js +5921 -146
- package/button/index.umd.js +27 -1
- package/button/style.css +1 -1
- package/card/index.d.ts +7 -0
- package/card/index.es.js +64 -36
- package/card/index.umd.js +1 -1
- package/card/style.css +1 -1
- package/checkbox/index.d.ts +7 -0
- package/checkbox/index.es.js +8122 -255
- package/checkbox/index.umd.js +38 -1
- package/checkbox/style.css +1 -1
- package/collapse/index.d.ts +7 -0
- package/collapse/index.es.js +195 -0
- package/collapse/index.umd.js +1 -0
- package/{cascader → collapse}/package.json +1 -1
- package/collapse/style.css +1 -0
- package/countdown/index.d.ts +7 -0
- package/countdown/index.es.js +217 -0
- package/countdown/index.umd.js +1 -0
- package/{accordion → countdown}/package.json +1 -1
- package/countdown/style.css +1 -0
- package/date-picker-pro/index.d.ts +7 -0
- package/date-picker-pro/index.es.js +12035 -0
- package/date-picker-pro/index.umd.js +38 -0
- package/date-picker-pro/package.json +7 -0
- package/date-picker-pro/style.css +1 -0
- package/drawer/index.d.ts +7 -0
- package/drawer/index.es.js +205 -154
- package/drawer/index.umd.js +1 -1
- package/drawer/style.css +1 -1
- package/dropdown/index.d.ts +7 -0
- package/dropdown/index.es.js +736 -0
- package/dropdown/index.umd.js +1 -0
- package/{carousel → dropdown}/package.json +1 -1
- package/dropdown/style.css +1 -0
- package/editable-select/index.d.ts +7 -0
- package/editable-select/index.es.js +908 -461
- package/editable-select/index.umd.js +1 -1
- package/editable-select/style.css +1 -1
- package/form/index.d.ts +7 -0
- package/form/index.es.js +2439 -1995
- package/form/index.umd.js +29 -18
- package/form/style.css +1 -1
- package/fullscreen/index.d.ts +7 -0
- package/fullscreen/index.es.js +138 -125
- package/fullscreen/index.umd.js +1 -1
- package/fullscreen/style.css +1 -1
- package/grid/index.d.ts +7 -0
- package/grid/index.es.js +271 -0
- package/grid/index.umd.js +1 -0
- package/{toast → grid}/package.json +1 -1
- package/grid/style.css +1 -0
- package/icon/index.d.ts +7 -0
- package/icon/index.es.js +200 -56
- package/icon/index.umd.js +1 -1
- package/icon/style.css +1 -0
- package/image-preview/index.d.ts +7 -0
- package/image-preview/index.es.js +154 -62
- package/image-preview/index.umd.js +1 -1
- package/image-preview/style.css +1 -1
- package/index.d.ts +7 -0
- package/input/index.d.ts +7 -0
- package/input/index.es.js +8269 -145
- package/input/index.umd.js +38 -1
- package/input/style.css +1 -1
- package/input-number/index.d.ts +7 -0
- package/input-number/index.es.js +260 -191
- package/input-number/index.umd.js +1 -1
- package/input-number/style.css +1 -1
- package/layout/index.d.ts +7 -0
- package/layout/index.es.js +41 -26
- package/layout/index.umd.js +1 -1
- package/layout/style.css +1 -1
- package/loading/index.d.ts +7 -0
- package/loading/index.es.js +89 -73
- package/loading/index.umd.js +1 -1
- package/loading/style.css +1 -1
- package/mention/index.d.ts +7 -0
- package/mention/index.es.js +8326 -0
- package/mention/index.umd.js +47 -0
- package/mention/package.json +7 -0
- package/mention/style.css +1 -0
- package/menu/index.d.ts +7 -0
- package/menu/index.es.js +891 -0
- package/menu/index.umd.js +1 -0
- package/{anchor → menu}/package.json +1 -1
- package/menu/style.css +1 -0
- package/message/index.d.ts +7 -0
- package/message/index.es.js +533 -0
- package/message/index.umd.js +1 -0
- package/message/package.json +7 -0
- package/message/style.css +1 -0
- package/modal/index.d.ts +7 -0
- package/modal/index.es.js +611 -877
- package/modal/index.umd.js +1 -1
- package/modal/style.css +1 -1
- package/notification/index.d.ts +7 -0
- package/notification/index.es.js +528 -0
- package/notification/index.umd.js +1 -0
- package/notification/package.json +7 -0
- package/notification/style.css +1 -0
- package/nuxt/components/Alert.js +3 -0
- package/nuxt/components/Aside.js +3 -0
- package/nuxt/components/AutoComplete.js +3 -0
- package/nuxt/components/Avatar.js +3 -0
- package/nuxt/components/Badge.js +3 -0
- package/nuxt/components/Button.js +3 -0
- package/nuxt/components/ButtonGroup.js +3 -0
- package/nuxt/components/Card.js +3 -0
- package/nuxt/components/Checkbox.js +3 -0
- package/nuxt/components/CheckboxButton.js +3 -0
- package/nuxt/components/CheckboxGroup.js +3 -0
- package/nuxt/components/Col.js +3 -0
- package/nuxt/components/Collapse.js +3 -0
- package/nuxt/components/CollapseItem.js +3 -0
- package/nuxt/components/Column.js +3 -0
- package/nuxt/components/Content.js +3 -0
- package/nuxt/components/Countdown.js +3 -0
- package/nuxt/components/DRangeDatePickerPro.js +3 -0
- package/nuxt/components/DatePickerPro.js +3 -0
- package/nuxt/components/Drawer.js +3 -0
- package/nuxt/components/DrawerService.js +3 -0
- package/nuxt/components/Dropdown.js +3 -0
- package/nuxt/components/DropdownMenu.js +3 -0
- package/nuxt/components/DropdownPropsKey.js +3 -0
- package/nuxt/components/EditableSelect.js +3 -0
- package/nuxt/components/FORM_ITEM_TOKEN.js +3 -0
- package/nuxt/components/FORM_TOKEN.js +3 -0
- package/nuxt/components/FixedOverlay.js +3 -0
- package/nuxt/components/FlexibleOverlay.js +3 -0
- package/nuxt/components/Footer.js +3 -0
- package/nuxt/components/Form.js +3 -0
- package/nuxt/components/FormItem.js +3 -0
- package/nuxt/components/FormOperation.js +3 -0
- package/nuxt/components/Fullscreen.js +3 -0
- package/nuxt/components/Header.js +3 -0
- package/nuxt/components/IFileOptions.js +3 -0
- package/nuxt/components/IUploadOptions.js +3 -0
- package/nuxt/components/Icon.js +3 -0
- package/nuxt/components/IconGroup.js +3 -0
- package/nuxt/components/ImagePreviewService.js +3 -0
- package/nuxt/components/Input.js +3 -0
- package/nuxt/components/InputNumber.js +3 -0
- package/nuxt/components/LABEL_DATA.js +3 -0
- package/nuxt/components/Layout.js +3 -0
- package/nuxt/components/Loading.js +3 -0
- package/nuxt/components/LoadingOptions.js +3 -0
- package/nuxt/components/LoadingService.js +3 -0
- package/nuxt/components/Mention.js +3 -0
- package/nuxt/components/Menu.js +3 -0
- package/nuxt/components/MenuItem.js +3 -0
- package/nuxt/components/Message.js +3 -0
- package/nuxt/components/Modal.js +3 -0
- package/nuxt/components/Notification.js +3 -0
- package/nuxt/components/NotificationService.js +3 -0
- package/nuxt/components/Option.js +3 -0
- package/nuxt/components/OptionGroup.js +3 -0
- package/nuxt/components/Pagination.js +3 -0
- package/nuxt/components/Panel.js +3 -0
- package/nuxt/components/PanelBody.js +3 -0
- package/nuxt/components/PanelFooter.js +3 -0
- package/nuxt/components/PanelHeader.js +3 -0
- package/nuxt/components/Popover.js +3 -0
- package/nuxt/components/Progress.js +3 -0
- package/nuxt/components/Radio.js +3 -0
- package/nuxt/components/RadioButton.js +3 -0
- package/nuxt/components/RadioGroup.js +3 -0
- package/nuxt/components/Rate.js +3 -0
- package/nuxt/components/Result.js +3 -0
- package/nuxt/components/Row.js +3 -0
- package/nuxt/components/Search.js +3 -0
- package/nuxt/components/Select.js +3 -0
- package/nuxt/components/Skeleton.js +3 -0
- package/nuxt/components/SkeletonItem.js +3 -0
- package/nuxt/components/Slider.js +3 -0
- package/nuxt/components/Splitter.js +3 -0
- package/nuxt/components/Statistic.js +3 -0
- package/nuxt/components/Status.js +3 -0
- package/nuxt/components/Step.js +3 -0
- package/nuxt/components/Steps.js +3 -0
- package/nuxt/components/SubMenu.js +3 -0
- package/nuxt/components/Switch.js +3 -0
- package/nuxt/components/TABLE_TOKEN.js +3 -0
- package/nuxt/components/Tab.js +3 -0
- package/nuxt/components/Table.js +3 -0
- package/nuxt/components/Tabs.js +3 -0
- package/nuxt/components/Tag.js +3 -0
- package/nuxt/components/Textarea.js +3 -0
- package/nuxt/components/TimePicker.js +3 -0
- package/nuxt/components/TimeSelect.js +3 -0
- package/nuxt/components/Timeline.js +3 -0
- package/nuxt/components/TimelineItem.js +3 -0
- package/nuxt/components/Tooltip.js +3 -0
- package/nuxt/components/Tree.js +3 -0
- package/nuxt/components/Upload.js +3 -0
- package/nuxt/components/UploadStatus.js +3 -0
- package/nuxt/components/alertProps.js +3 -0
- package/nuxt/components/animationInjectionKey.js +3 -0
- package/nuxt/components/autoCompleteProps.js +3 -0
- package/nuxt/components/avatarProps.js +3 -0
- package/nuxt/components/badgeProps.js +3 -0
- package/nuxt/components/buttonGroupInjectionKey.js +3 -0
- package/nuxt/components/buttonGroupProps.js +3 -0
- package/nuxt/components/buttonProps.js +3 -0
- package/nuxt/components/cardProps.js +3 -0
- package/nuxt/components/checkboxGroupInjectionKey.js +3 -0
- package/nuxt/components/checkboxGroupProps.js +3 -0
- package/nuxt/components/checkboxProps.js +3 -0
- package/nuxt/components/colProps.js +3 -0
- package/nuxt/components/colPropsBaseClass.js +3 -0
- package/nuxt/components/colPropsBaseStyle.js +3 -0
- package/nuxt/components/collapseItemProps.js +3 -0
- package/nuxt/components/collapseProps.js +3 -0
- package/nuxt/components/countdownProps.js +3 -0
- package/nuxt/components/datePickerProCommonProps.js +3 -0
- package/nuxt/components/datePickerProPanelProps.js +3 -0
- package/nuxt/components/datePickerProProps.js +3 -0
- package/nuxt/components/dropdownMenuProps.js +3 -0
- package/nuxt/components/editableSelectProps.js +3 -0
- package/nuxt/components/fixedOverlayProps.js +3 -0
- package/nuxt/components/flexibleOverlayProps.js +3 -0
- package/nuxt/components/formItemProps.js +3 -0
- package/nuxt/components/formProps.js +3 -0
- package/nuxt/components/fullscreenProps.js +3 -0
- package/nuxt/components/iconProps.js +3 -0
- package/nuxt/components/imagePreviewProps.js +3 -0
- package/nuxt/components/inputProps.js +3 -0
- package/nuxt/components/loadingProps.js +3 -0
- package/nuxt/components/mentionProps.js +3 -0
- package/nuxt/components/messageProps.js +3 -0
- package/nuxt/components/modalProps.js +3 -0
- package/nuxt/components/notificationProps.js +3 -0
- package/nuxt/components/paginationProps.js +3 -0
- package/nuxt/components/panelProps.js +3 -0
- package/nuxt/components/popoverProps.js +3 -0
- package/nuxt/components/progressProps.js +3 -0
- package/nuxt/components/rateProps.js +3 -0
- package/nuxt/components/resultProps.js +3 -0
- package/nuxt/components/roundInjectionKey.js +3 -0
- package/nuxt/components/rowProps.js +3 -0
- package/nuxt/components/screenSizes.js +3 -0
- package/nuxt/components/searchProps.js +3 -0
- package/nuxt/components/skeletonItemProps.js +3 -0
- package/nuxt/components/skeletonProps.js +3 -0
- package/nuxt/components/sliderProps.js +3 -0
- package/nuxt/components/splitterProps.js +3 -0
- package/nuxt/components/statisticProps.js +3 -0
- package/nuxt/components/stepProps.js +3 -0
- package/nuxt/components/stepsProps.js +3 -0
- package/nuxt/components/svgIconProps.js +3 -0
- package/nuxt/components/switchProps.js +3 -0
- package/nuxt/components/tableProps.js +3 -0
- package/nuxt/components/tabsProps.js +3 -0
- package/nuxt/components/tagProps.js +3 -0
- package/nuxt/components/textareaProps.js +3 -0
- package/nuxt/components/timeAxisProps.js +3 -0
- package/nuxt/components/timerPickerPanelProps.js +3 -0
- package/nuxt/components/tooltipProps.js +3 -0
- package/nuxt/components/treeNodeProps.js +3 -0
- package/nuxt/components/treeProps.js +3 -0
- package/nuxt/components/uploadProps.js +3 -0
- package/nuxt/index.js +13 -0
- package/overlay/index.d.ts +7 -0
- package/overlay/index.es.js +245 -303
- package/overlay/index.umd.js +1 -1
- package/overlay/style.css +1 -1
- package/package.json +16 -84
- package/pagination/index.d.ts +7 -0
- package/pagination/index.es.js +333 -155
- package/pagination/index.umd.js +1 -1
- package/pagination/style.css +1 -1
- package/panel/index.d.ts +7 -0
- package/panel/index.es.js +48 -35
- package/panel/index.umd.js +1 -1
- package/panel/style.css +1 -1
- package/popover/index.d.ts +7 -0
- package/popover/index.es.js +6035 -204
- package/popover/index.umd.js +27 -1
- package/popover/style.css +1 -1
- package/progress/index.d.ts +7 -0
- package/progress/index.es.js +111 -57
- package/progress/index.umd.js +3 -3
- package/progress/style.css +1 -1
- package/radio/index.d.ts +7 -0
- package/radio/index.es.js +8015 -182
- package/radio/index.umd.js +38 -1
- package/radio/style.css +1 -1
- package/rate/index.d.ts +7 -0
- package/rate/index.es.js +78 -56
- package/rate/index.umd.js +1 -1
- package/rate/style.css +1 -1
- package/result/index.d.ts +7 -0
- package/result/index.es.js +248 -0
- package/result/index.umd.js +1 -0
- package/{sticky → result}/package.json +1 -1
- package/result/style.css +1 -0
- package/ripple/index.d.ts +7 -0
- package/ripple/index.es.js +56 -61
- package/ripple/index.umd.js +1 -1
- package/search/index.d.ts +7 -0
- package/search/index.es.js +8381 -406
- package/search/index.umd.js +38 -1
- package/search/style.css +1 -1
- package/select/index.d.ts +7 -0
- package/select/index.es.js +9331 -576
- package/select/index.umd.js +38 -1
- package/select/style.css +1 -1
- package/skeleton/index.d.ts +7 -0
- package/skeleton/index.es.js +115 -145
- package/skeleton/index.umd.js +1 -1
- package/skeleton/style.css +1 -1
- package/slider/index.d.ts +7 -0
- package/slider/index.es.js +148 -142
- package/slider/index.umd.js +1 -1
- package/slider/style.css +1 -1
- package/splitter/index.d.ts +7 -0
- package/splitter/index.es.js +6308 -181
- package/splitter/index.umd.js +27 -1
- package/splitter/style.css +1 -1
- package/statistic/index.d.ts +7 -0
- package/statistic/index.es.js +253 -0
- package/statistic/index.umd.js +1 -0
- package/statistic/package.json +7 -0
- package/statistic/style.css +1 -0
- package/status/index.d.ts +7 -0
- package/status/index.es.js +29 -8
- package/status/index.umd.js +1 -1
- package/status/style.css +1 -1
- package/steps/index.d.ts +7 -0
- package/steps/index.es.js +386 -0
- package/steps/index.umd.js +1 -0
- package/steps/package.json +7 -0
- package/steps/style.css +1 -0
- package/style.css +1 -1
- package/switch/index.d.ts +7 -0
- package/switch/index.es.js +7819 -65
- package/switch/index.umd.js +38 -1
- package/switch/style.css +1 -1
- package/table/index.d.ts +7 -0
- package/table/index.es.js +11435 -204
- package/table/index.umd.js +38 -1
- package/table/style.css +1 -1
- package/tabs/index.d.ts +7 -0
- package/tabs/index.es.js +356 -143
- package/tabs/index.umd.js +1 -1
- package/tabs/style.css +1 -1
- package/tag/index.d.ts +7 -0
- package/tag/index.es.js +156 -0
- package/tag/index.umd.js +1 -0
- package/tag/package.json +7 -0
- package/tag/style.css +1 -0
- package/textarea/index.d.ts +7 -0
- package/textarea/index.es.js +7989 -0
- package/textarea/index.umd.js +46 -0
- package/textarea/package.json +7 -0
- package/textarea/style.css +1 -0
- package/{theme → theme/theme.scss} +0 -0
- package/time-picker/index.d.ts +7 -0
- package/time-picker/index.es.js +9126 -597
- package/time-picker/index.umd.js +38 -1
- package/time-picker/style.css +1 -1
- package/time-select/index.d.ts +7 -0
- package/time-select/index.es.js +9606 -0
- package/time-select/index.umd.js +38 -0
- package/{breadcrumb → time-select}/package.json +1 -1
- package/time-select/style.css +1 -0
- package/timeline/index.d.ts +7 -0
- package/timeline/index.es.js +427 -0
- package/timeline/index.umd.js +1 -0
- package/timeline/package.json +7 -0
- package/timeline/style.css +1 -0
- package/tooltip/index.d.ts +7 -0
- package/tooltip/index.es.js +5870 -141
- package/tooltip/index.umd.js +27 -1
- package/tooltip/style.css +1 -1
- package/tree/index.d.ts +7 -0
- package/tree/index.es.js +11504 -692
- package/tree/index.umd.js +38 -1
- package/tree/style.css +1 -1
- package/upload/index.d.ts +7 -0
- package/upload/index.es.js +968 -2748
- package/upload/index.umd.js +1 -1
- package/upload/style.css +1 -1
- package/vue-devui.es.js +22816 -16568
- package/vue-devui.umd.js +42 -20
- package/accordion/index.es.js +0 -190
- package/accordion/index.umd.js +0 -1
- package/accordion/style.css +0 -1
- package/anchor/index.es.js +0 -263
- package/anchor/index.umd.js +0 -1
- package/anchor/style.css +0 -1
- package/breadcrumb/index.es.js +0 -127
- package/breadcrumb/index.umd.js +0 -1
- package/breadcrumb/style.css +0 -1
- package/carousel/index.es.js +0 -328
- package/carousel/index.umd.js +0 -1
- package/carousel/style.css +0 -1
- package/cascader/index.es.js +0 -187
- package/cascader/index.umd.js +0 -1
- package/cascader/style.css +0 -1
- package/date-picker/index.es.js +0 -1171
- package/date-picker/index.umd.js +0 -1
- package/date-picker/package.json +0 -7
- package/date-picker/style.css +0 -1
- package/nav-sprite/index.es.js +0 -742
- package/nav-sprite/index.umd.js +0 -1
- package/nav-sprite/package.json +0 -7
- package/quadrant-diagram/index.es.js +0 -489
- package/quadrant-diagram/index.umd.js +0 -1
- package/quadrant-diagram/package.json +0 -7
- package/quadrant-diagram/style.css +0 -1
- package/steps-guide/index.es.js +0 -211
- package/steps-guide/index.umd.js +0 -1
- package/steps-guide/package.json +0 -7
- package/steps-guide/style.css +0 -1
- package/sticky/index.es.js +0 -197
- package/sticky/index.umd.js +0 -1
- package/tag-input/index.es.js +0 -341
- package/tag-input/index.umd.js +0 -1
- package/tag-input/package.json +0 -7
- package/tag-input/style.css +0 -1
- package/time-axis/index.es.js +0 -79
- package/time-axis/index.umd.js +0 -1
- package/time-axis/package.json +0 -7
- package/time-axis/style.css +0 -1
- package/toast/index.es.js +0 -2059
- package/toast/index.umd.js +0 -1
- package/toast/style.css +0 -1
- package/transfer/index.es.js +0 -1446
- package/transfer/index.umd.js +0 -1
- package/transfer/package.json +0 -7
- package/transfer/style.css +0 -1
- package/tree-select/index.es.js +0 -203
- package/tree-select/index.umd.js +0 -1
- package/tree-select/package.json +0 -7
- package/tree-select/style.css +0 -1
package/nav-sprite/index.umd.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
(function(g,F){typeof exports=="object"&&typeof module!="undefined"?F(exports):typeof define=="function"&&define.amd?define(["exports"],F):(g=typeof globalThis!="undefined"?globalThis:g||self,F(g.index={}))})(this,function(g){"use strict";const F={},X=()=>{},T=Object.assign,be=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},j=Array.isArray,me=e=>J(e)==="[object Map]",xe=e=>J(e)==="[object Set]",d=e=>typeof e=="function",Se=e=>typeof e=="string",Pe=e=>typeof e=="symbol",Z=e=>e!==null&&typeof e=="object",Oe=e=>Z(e)&&d(e.then)&&d(e.catch),we=Object.prototype.toString,J=e=>we.call(e),ve=e=>J(e)==="[object Object]",Q=(e,t)=>!Object.is(e,t),Ce=(e,t,n)=>{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,value:n})};let _e;function Ie(e,t){t=t||_e,t&&t.active&&t.effects.push(e)}const ke=e=>(e.w&m)>0,Fe=e=>(e.n&m)>0,Te=({deps:e})=>{if(e.length)for(let t=0;t<e.length;t++)e[t].w|=m},je=e=>{const{deps:t}=e;if(t.length){let n=0;for(let r=0;r<t.length;r++){const i=t[r];ke(i)&&!Fe(i)?i.delete(e):t[n++]=i,i.w&=~m,i.n&=~m}t.length=n}};let D=0,m=1;const ee=30,E=[];let te;class Ee{constructor(t,n=null,r){this.fn=t,this.scheduler=n,this.active=!0,this.deps=[],Ie(this,r)}run(){if(!this.active)return this.fn();if(!E.includes(this))try{return E.push(te=this),Me(),m=1<<++D,D<=ee?Te(this):ne(this),this.fn()}finally{D<=ee&&je(this),m=1<<--D,Ne(),E.pop();const t=E.length;te=t>0?E[t-1]:void 0}}stop(){this.active&&(ne(this),this.onStop&&this.onStop(),this.active=!1)}}function ne(e){const{deps:t}=e;if(t.length){for(let n=0;n<t.length;n++)t[n].delete(e);t.length=0}}let W=!0;const re=[];function Me(){re.push(W),W=!0}function Ne(){const e=re.pop();W=e===void 0?!0:e}new Set(Object.getOwnPropertyNames(Symbol).map(e=>Symbol[e]).filter(Pe));function M(e){return Re(e)?M(e.__v_raw):!!(e&&e.__v_isReactive)}function Re(e){return!!(e&&e.__v_isReadonly)}function $e(e){return Ce(e,"__v_skip",!0),e}function P(e){return Boolean(e&&e.__v_isRef===!0)}function Ae(e){return P(e)?e.value:e}const Be={get:(e,t,n)=>Ae(Reflect.get(e,t,n)),set:(e,t,n,r)=>{const i=e[t];return P(i)&&!P(n)?(i.value=n,!0):Reflect.set(e,t,n,r)}};function qe(e){return M(e)?e:new Proxy(e,Be)}Promise.resolve();function De(e,t){t&&t.pendingBranch?j(e)?t.effects.push(...e):t.effects.push(e):et(e)}function He(e){return d(e)?{setup:e,name:e.name}:e}function Ue(e){const t=e.type,{mixins:n,extends:r}=t,{mixins:i,optionsCache:o,config:{optionMergeStrategies:l}}=e.appContext,s=o.get(t);let c;return s?c=s:!i.length&&!n&&!r?c=t:(c={},i.length&&i.forEach(h=>H(c,h,l,!0)),H(c,t,l)),o.set(t,c),c}function H(e,t,n,r=!1){const{mixins:i,extends:o}=t;o&&H(e,o,n,!0),i&&i.forEach(l=>H(e,l,n,!0));for(const l in t)if(!(r&&l==="expose")){const s=Ve[l]||n&&n[l];e[l]=s?s(e[l],t[l]):t[l]}return e}const Ve={data:ie,props:x,emits:x,methods:x,computed:x,beforeCreate:u,created:u,beforeMount:u,mounted:u,beforeUpdate:u,updated:u,beforeDestroy:u,beforeUnmount:u,destroyed:u,unmounted:u,activated:u,deactivated:u,errorCaptured:u,serverPrefetch:u,components:x,directives:x,watch:We,provide:ie,inject:Je};function ie(e,t){return t?e?function(){return T(d(e)?e.call(this,this):e,d(t)?t.call(this,this):t)}:t:e}function Je(e,t){return x(se(e),se(t))}function se(e){if(j(e)){const t={};for(let n=0;n<e.length;n++)t[e[n]]=e[n];return t}return e}function u(e,t){return e?[...new Set([].concat(e,t))]:t}function x(e,t){return e?T(T(Object.create(null),e),t):t}function We(e,t){if(!e)return t;if(!t)return e;const n=T(Object.create(null),e);for(const r in t)n[r]=u(e[r],t[r]);return n}const oe=De,L=e=>e?ze(e)?Ge(e)||e.proxy:L(e.parent):null,le=T(Object.create(null),{$:e=>e,$el:e=>e.vnode.el,$data:e=>e.data,$props:e=>e.props,$attrs:e=>e.attrs,$slots:e=>e.slots,$refs:e=>e.refs,$parent:e=>L(e.parent),$root:e=>L(e.root),$emit:e=>e.emit,$options:e=>Ue(e),$forceUpdate:e=>()=>Ze(e.update),$nextTick:e=>Ke.bind(e.proxy),$watch:e=>rt.bind(e)});let O=null;const ce=e=>{O=e,e.scope.on()},Le=()=>{O&&O.scope.off(),O=null};function ze(e){return e.vnode.shapeFlag&4}function Ge(e){if(e.exposed)return e.exposeProxy||(e.exposeProxy=new Proxy(qe($e(e.exposed)),{get(t,n){if(n in t)return t[n];if(n in le)return le[n](e)}}))}function w(e,t,n,r){let i;try{i=r?e(...r):e()}catch(o){ue(o,t,n)}return i}function z(e,t,n,r){if(d(e)){const o=w(e,t,n,r);return o&&Oe(o)&&o.catch(l=>{ue(l,t,n)}),o}const i=[];for(let o=0;o<e.length;o++)i.push(z(e[o],t,n,r));return i}function ue(e,t,n,r=!0){const i=t?t.vnode:null;if(t){let o=t.parent;const l=t.proxy,s=n;for(;o;){const h=o.ec;if(h){for(let S=0;S<h.length;S++)if(h[S](e,l,s)===!1)return}o=o.parent}const c=t.appContext.config.errorHandler;if(c){w(c,null,10,[e,l,s]);return}}Ye(e,n,i,r)}function Ye(e,t,n,r=!0){console.error(e)}let U=!1,G=!1;const a=[];let y=0;const N=[];let R=null,v=0;const $=[];let b=null,C=0;const fe=Promise.resolve();let Y=null,K=null;function Ke(e){const t=Y||fe;return e?t.then(this?e.bind(this):e):t}function Xe(e){let t=y+1,n=a.length;for(;t<n;){const r=t+n>>>1;A(a[r])<e?t=r+1:n=r}return t}function Ze(e){(!a.length||!a.includes(e,U&&e.allowRecurse?y+1:y))&&e!==K&&(e.id==null?a.push(e):a.splice(Xe(e.id),0,e),ae())}function ae(){!U&&!G&&(G=!0,Y=fe.then(he))}function pe(e,t,n,r){j(e)?n.push(...e):(!t||!t.includes(e,e.allowRecurse?r+1:r))&&n.push(e),ae()}function Qe(e){pe(e,R,N,v)}function et(e){pe(e,b,$,C)}function de(e,t=null){if(N.length){for(K=t,R=[...new Set(N)],N.length=0,v=0;v<R.length;v++)R[v]();R=null,v=0,K=null,de(e,t)}}function tt(e){if($.length){const t=[...new Set($)];if($.length=0,b){b.push(...t);return}for(b=t,b.sort((n,r)=>A(n)-A(r)),C=0;C<b.length;C++)b[C]();b=null,C=0}}const A=e=>e.id==null?1/0:e.id;function he(e){G=!1,U=!0,de(e),a.sort((n,r)=>A(n)-A(r));const t=X;try{for(y=0;y<a.length;y++){const n=a[y];n&&n.active!==!1&&w(n,null,14)}}finally{y=0,a.length=0,tt(),U=!1,Y=null,(a.length||N.length||$.length)&&he(e)}}const ge={};function nt(e,t,{immediate:n,deep:r,flush:i,onTrack:o,onTrigger:l}=F){const s=O;let c,h=!1,S=!1;if(P(e)?(c=()=>e.value,h=!!e._shallow):M(e)?(c=()=>e,r=!0):j(e)?(S=!0,h=e.some(M),c=()=>e.map(f=>{if(P(f))return f.value;if(M(f))return _(f);if(d(f))return w(f,s,2)})):d(e)?t?c=()=>w(e,s,2):c=()=>{if(!(s&&s.isUnmounted))return q&&q(),z(e,s,3,[ye])}:c=X,t&&r){const f=c;c=()=>_(f())}let q,ye=f=>{q=p.onStop=()=>{w(f,s,4)}},I=S?[]:ge;const k=()=>{if(!!p.active)if(t){const f=p.run();(r||h||(S?f.some((ot,lt)=>Q(ot,I[lt])):Q(f,I)))&&(q&&q(),z(t,s,3,[f,I===ge?void 0:I,ye]),I=f)}else p.run()};k.allowRecurse=!!t;let V;i==="sync"?V=k:i==="post"?V=()=>oe(k,s&&s.suspense):V=()=>{!s||s.isMounted?Qe(k):k()};const p=new Ee(c,V);return t?n?k():I=p.run():i==="post"?oe(p.run.bind(p),s&&s.suspense):p.run(),()=>{p.stop(),s&&s.scope&&be(s.scope.effects,p)}}function rt(e,t,n){const r=this.proxy,i=Se(e)?e.includes(".")?it(r,e):()=>r[e]:e.bind(r,r);let o;d(t)?o=t:(o=t.handler,n=t);const l=O;ce(this);const s=nt(i,o.bind(r),n);return l?ce(l):Le(),s}function it(e,t){const n=t.split(".");return()=>{let r=e;for(let i=0;i<n.length&&r;i++)r=r[n[i]];return r}}function _(e,t){if(!Z(e)||e.__v_skip||(t=t||new Set,t.has(e)))return e;if(t.add(e),P(e))_(e.value,t);else if(j(e))for(let n=0;n<e.length;n++)_(e[n],t);else if(xe(e)||me(e))e.forEach(n=>{_(n,t)});else if(ve(e))for(const n in e)_(e[n],t);return e}var B=He({name:"DNavSprite",props:{target:{type:Object},scrollTarget:{type:Object},view:{type:Object,default:{top:0,bottom:0}},hashSupport:{type:Boolean,default:!1},mode:{type:String,default:"default"},maxLevel:{type:Number,default:3},title:{type:String,default:"menu"},indent:{type:Number,default:2},width:{type:Number,default:300},height:{type:Number,default:400},isOpen:{type:Boolean,default:!0},spriteOption:{type:Object}},emits:["afterNavInit"],setup(e){return{}}});B.install=function(e){e.component(B.name,B)};var st={title:"NavSprite \u5BFC\u822A\u7CBE\u7075",category:"\u5BFC\u822A",status:"10%",install(e){e.use(B)}};g.NavSprite=B,g.default=st,Object.defineProperty(g,"__esModule",{value:!0}),g[Symbol.toStringTag]="Module"});
|
package/nav-sprite/package.json
DELETED
|
@@ -1,489 +0,0 @@
|
|
|
1
|
-
import { defineComponent, toRefs, ref, reactive, onMounted, watch, createVNode } from "vue";
|
|
2
|
-
const DEFAULT_AXIS_CONFIGS = {
|
|
3
|
-
tickWidth: 10,
|
|
4
|
-
spaceBetweenLabelsAxis: 20,
|
|
5
|
-
xAxisLabel: "\u7D27\u6025\u5EA6",
|
|
6
|
-
yAxisLabel: "\u91CD\u8981\u5EA6",
|
|
7
|
-
xAxisRange: {
|
|
8
|
-
min: 0,
|
|
9
|
-
max: 100,
|
|
10
|
-
step: 10
|
|
11
|
-
},
|
|
12
|
-
yAxisRange: {
|
|
13
|
-
min: 0,
|
|
14
|
-
max: 50,
|
|
15
|
-
step: 5
|
|
16
|
-
},
|
|
17
|
-
originPosition: {
|
|
18
|
-
left: 30,
|
|
19
|
-
bottom: 30
|
|
20
|
-
},
|
|
21
|
-
axisMargin: 35,
|
|
22
|
-
xWeight: 1,
|
|
23
|
-
yWeight: 1
|
|
24
|
-
};
|
|
25
|
-
const DEFAULT_VIEW_CONFIGS = {
|
|
26
|
-
height: 900,
|
|
27
|
-
width: 950
|
|
28
|
-
};
|
|
29
|
-
const AXIS_TITLE_SPACE = 15;
|
|
30
|
-
const quadrantDiagramProps = {
|
|
31
|
-
diagramId: {
|
|
32
|
-
type: String,
|
|
33
|
-
default: "1"
|
|
34
|
-
},
|
|
35
|
-
axisConfigs: {
|
|
36
|
-
type: Object,
|
|
37
|
-
default: DEFAULT_AXIS_CONFIGS
|
|
38
|
-
},
|
|
39
|
-
view: {
|
|
40
|
-
type: Object,
|
|
41
|
-
default: DEFAULT_VIEW_CONFIGS
|
|
42
|
-
}
|
|
43
|
-
};
|
|
44
|
-
const quadrantDiagramAxisProps = {
|
|
45
|
-
diagramId: {
|
|
46
|
-
type: String
|
|
47
|
-
},
|
|
48
|
-
axisConfigs: {
|
|
49
|
-
type: Object
|
|
50
|
-
},
|
|
51
|
-
view: {
|
|
52
|
-
type: Object
|
|
53
|
-
}
|
|
54
|
-
};
|
|
55
|
-
var freeGlobal = typeof global == "object" && global && global.Object === Object && global;
|
|
56
|
-
var freeGlobal$1 = freeGlobal;
|
|
57
|
-
var freeSelf = typeof self == "object" && self && self.Object === Object && self;
|
|
58
|
-
var root = freeGlobal$1 || freeSelf || Function("return this")();
|
|
59
|
-
var root$1 = root;
|
|
60
|
-
var Symbol$1 = root$1.Symbol;
|
|
61
|
-
var Symbol$2 = Symbol$1;
|
|
62
|
-
var objectProto$1 = Object.prototype;
|
|
63
|
-
var hasOwnProperty = objectProto$1.hasOwnProperty;
|
|
64
|
-
var nativeObjectToString$1 = objectProto$1.toString;
|
|
65
|
-
var symToStringTag$1 = Symbol$2 ? Symbol$2.toStringTag : void 0;
|
|
66
|
-
function getRawTag(value) {
|
|
67
|
-
var isOwn = hasOwnProperty.call(value, symToStringTag$1), tag = value[symToStringTag$1];
|
|
68
|
-
try {
|
|
69
|
-
value[symToStringTag$1] = void 0;
|
|
70
|
-
var unmasked = true;
|
|
71
|
-
} catch (e) {
|
|
72
|
-
}
|
|
73
|
-
var result = nativeObjectToString$1.call(value);
|
|
74
|
-
if (unmasked) {
|
|
75
|
-
if (isOwn) {
|
|
76
|
-
value[symToStringTag$1] = tag;
|
|
77
|
-
} else {
|
|
78
|
-
delete value[symToStringTag$1];
|
|
79
|
-
}
|
|
80
|
-
}
|
|
81
|
-
return result;
|
|
82
|
-
}
|
|
83
|
-
var objectProto = Object.prototype;
|
|
84
|
-
var nativeObjectToString = objectProto.toString;
|
|
85
|
-
function objectToString(value) {
|
|
86
|
-
return nativeObjectToString.call(value);
|
|
87
|
-
}
|
|
88
|
-
var nullTag = "[object Null]", undefinedTag = "[object Undefined]";
|
|
89
|
-
var symToStringTag = Symbol$2 ? Symbol$2.toStringTag : void 0;
|
|
90
|
-
function baseGetTag(value) {
|
|
91
|
-
if (value == null) {
|
|
92
|
-
return value === void 0 ? undefinedTag : nullTag;
|
|
93
|
-
}
|
|
94
|
-
return symToStringTag && symToStringTag in Object(value) ? getRawTag(value) : objectToString(value);
|
|
95
|
-
}
|
|
96
|
-
function isObjectLike(value) {
|
|
97
|
-
return value != null && typeof value == "object";
|
|
98
|
-
}
|
|
99
|
-
var symbolTag = "[object Symbol]";
|
|
100
|
-
function isSymbol(value) {
|
|
101
|
-
return typeof value == "symbol" || isObjectLike(value) && baseGetTag(value) == symbolTag;
|
|
102
|
-
}
|
|
103
|
-
var reWhitespace = /\s/;
|
|
104
|
-
function trimmedEndIndex(string) {
|
|
105
|
-
var index2 = string.length;
|
|
106
|
-
while (index2-- && reWhitespace.test(string.charAt(index2))) {
|
|
107
|
-
}
|
|
108
|
-
return index2;
|
|
109
|
-
}
|
|
110
|
-
var reTrimStart = /^\s+/;
|
|
111
|
-
function baseTrim(string) {
|
|
112
|
-
return string ? string.slice(0, trimmedEndIndex(string) + 1).replace(reTrimStart, "") : string;
|
|
113
|
-
}
|
|
114
|
-
function isObject(value) {
|
|
115
|
-
var type = typeof value;
|
|
116
|
-
return value != null && (type == "object" || type == "function");
|
|
117
|
-
}
|
|
118
|
-
var NAN = 0 / 0;
|
|
119
|
-
var reIsBadHex = /^[-+]0x[0-9a-f]+$/i;
|
|
120
|
-
var reIsBinary = /^0b[01]+$/i;
|
|
121
|
-
var reIsOctal = /^0o[0-7]+$/i;
|
|
122
|
-
var freeParseInt = parseInt;
|
|
123
|
-
function toNumber(value) {
|
|
124
|
-
if (typeof value == "number") {
|
|
125
|
-
return value;
|
|
126
|
-
}
|
|
127
|
-
if (isSymbol(value)) {
|
|
128
|
-
return NAN;
|
|
129
|
-
}
|
|
130
|
-
if (isObject(value)) {
|
|
131
|
-
var other = typeof value.valueOf == "function" ? value.valueOf() : value;
|
|
132
|
-
value = isObject(other) ? other + "" : other;
|
|
133
|
-
}
|
|
134
|
-
if (typeof value != "string") {
|
|
135
|
-
return value === 0 ? value : +value;
|
|
136
|
-
}
|
|
137
|
-
value = baseTrim(value);
|
|
138
|
-
var isBinary = reIsBinary.test(value);
|
|
139
|
-
return isBinary || reIsOctal.test(value) ? freeParseInt(value.slice(2), isBinary ? 2 : 8) : reIsBadHex.test(value) ? NAN : +value;
|
|
140
|
-
}
|
|
141
|
-
var now = function() {
|
|
142
|
-
return root$1.Date.now();
|
|
143
|
-
};
|
|
144
|
-
var now$1 = now;
|
|
145
|
-
var FUNC_ERROR_TEXT = "Expected a function";
|
|
146
|
-
var nativeMax = Math.max, nativeMin = Math.min;
|
|
147
|
-
function debounce(func, wait, options) {
|
|
148
|
-
var lastArgs, lastThis, maxWait, result, timerId, lastCallTime, lastInvokeTime = 0, leading = false, maxing = false, trailing = true;
|
|
149
|
-
if (typeof func != "function") {
|
|
150
|
-
throw new TypeError(FUNC_ERROR_TEXT);
|
|
151
|
-
}
|
|
152
|
-
wait = toNumber(wait) || 0;
|
|
153
|
-
if (isObject(options)) {
|
|
154
|
-
leading = !!options.leading;
|
|
155
|
-
maxing = "maxWait" in options;
|
|
156
|
-
maxWait = maxing ? nativeMax(toNumber(options.maxWait) || 0, wait) : maxWait;
|
|
157
|
-
trailing = "trailing" in options ? !!options.trailing : trailing;
|
|
158
|
-
}
|
|
159
|
-
function invokeFunc(time) {
|
|
160
|
-
var args = lastArgs, thisArg = lastThis;
|
|
161
|
-
lastArgs = lastThis = void 0;
|
|
162
|
-
lastInvokeTime = time;
|
|
163
|
-
result = func.apply(thisArg, args);
|
|
164
|
-
return result;
|
|
165
|
-
}
|
|
166
|
-
function leadingEdge(time) {
|
|
167
|
-
lastInvokeTime = time;
|
|
168
|
-
timerId = setTimeout(timerExpired, wait);
|
|
169
|
-
return leading ? invokeFunc(time) : result;
|
|
170
|
-
}
|
|
171
|
-
function remainingWait(time) {
|
|
172
|
-
var timeSinceLastCall = time - lastCallTime, timeSinceLastInvoke = time - lastInvokeTime, timeWaiting = wait - timeSinceLastCall;
|
|
173
|
-
return maxing ? nativeMin(timeWaiting, maxWait - timeSinceLastInvoke) : timeWaiting;
|
|
174
|
-
}
|
|
175
|
-
function shouldInvoke(time) {
|
|
176
|
-
var timeSinceLastCall = time - lastCallTime, timeSinceLastInvoke = time - lastInvokeTime;
|
|
177
|
-
return lastCallTime === void 0 || timeSinceLastCall >= wait || timeSinceLastCall < 0 || maxing && timeSinceLastInvoke >= maxWait;
|
|
178
|
-
}
|
|
179
|
-
function timerExpired() {
|
|
180
|
-
var time = now$1();
|
|
181
|
-
if (shouldInvoke(time)) {
|
|
182
|
-
return trailingEdge(time);
|
|
183
|
-
}
|
|
184
|
-
timerId = setTimeout(timerExpired, remainingWait(time));
|
|
185
|
-
}
|
|
186
|
-
function trailingEdge(time) {
|
|
187
|
-
timerId = void 0;
|
|
188
|
-
if (trailing && lastArgs) {
|
|
189
|
-
return invokeFunc(time);
|
|
190
|
-
}
|
|
191
|
-
lastArgs = lastThis = void 0;
|
|
192
|
-
return result;
|
|
193
|
-
}
|
|
194
|
-
function cancel() {
|
|
195
|
-
if (timerId !== void 0) {
|
|
196
|
-
clearTimeout(timerId);
|
|
197
|
-
}
|
|
198
|
-
lastInvokeTime = 0;
|
|
199
|
-
lastArgs = lastCallTime = lastThis = timerId = void 0;
|
|
200
|
-
}
|
|
201
|
-
function flush() {
|
|
202
|
-
return timerId === void 0 ? result : trailingEdge(now$1());
|
|
203
|
-
}
|
|
204
|
-
function debounced() {
|
|
205
|
-
var time = now$1(), isInvoking = shouldInvoke(time);
|
|
206
|
-
lastArgs = arguments;
|
|
207
|
-
lastThis = this;
|
|
208
|
-
lastCallTime = time;
|
|
209
|
-
if (isInvoking) {
|
|
210
|
-
if (timerId === void 0) {
|
|
211
|
-
return leadingEdge(lastCallTime);
|
|
212
|
-
}
|
|
213
|
-
if (maxing) {
|
|
214
|
-
clearTimeout(timerId);
|
|
215
|
-
timerId = setTimeout(timerExpired, wait);
|
|
216
|
-
return invokeFunc(lastCallTime);
|
|
217
|
-
}
|
|
218
|
-
}
|
|
219
|
-
if (timerId === void 0) {
|
|
220
|
-
timerId = setTimeout(timerExpired, wait);
|
|
221
|
-
}
|
|
222
|
-
return result;
|
|
223
|
-
}
|
|
224
|
-
debounced.cancel = cancel;
|
|
225
|
-
debounced.flush = flush;
|
|
226
|
-
return debounced;
|
|
227
|
-
}
|
|
228
|
-
var index$1 = "";
|
|
229
|
-
var DQuadrantDiagramAxis = defineComponent({
|
|
230
|
-
name: "DQuadrantDiagramAxis",
|
|
231
|
-
props: quadrantDiagramAxisProps,
|
|
232
|
-
setup(props) {
|
|
233
|
-
const {
|
|
234
|
-
diagramId,
|
|
235
|
-
view,
|
|
236
|
-
axisConfigs
|
|
237
|
-
} = toRefs(props);
|
|
238
|
-
const AXIS_COLOR = ref("#0000ff");
|
|
239
|
-
const AXIS_LABEL_COLOR = ref("#ff0000");
|
|
240
|
-
const quadrantAxis = ref();
|
|
241
|
-
const context = ref();
|
|
242
|
-
const axisInnerAttr = reactive({
|
|
243
|
-
axisOrigin: {
|
|
244
|
-
x: 0,
|
|
245
|
-
y: 0
|
|
246
|
-
},
|
|
247
|
-
axisTop: 0,
|
|
248
|
-
axisRight: 0,
|
|
249
|
-
axisWidth: 0,
|
|
250
|
-
axisHeight: 0,
|
|
251
|
-
yAxisTicksNum: 0,
|
|
252
|
-
xAxisTicksNum: 0,
|
|
253
|
-
xTickSpacing: 0,
|
|
254
|
-
yTickSpacing: 0
|
|
255
|
-
});
|
|
256
|
-
const axisConfigsVal = axisConfigs.value;
|
|
257
|
-
onMounted(() => {
|
|
258
|
-
resetAxis();
|
|
259
|
-
});
|
|
260
|
-
watch(view.value, () => {
|
|
261
|
-
resetAxis();
|
|
262
|
-
});
|
|
263
|
-
const resetAxis = debounce(() => {
|
|
264
|
-
initAxisData();
|
|
265
|
-
setAxisData();
|
|
266
|
-
drawAxis();
|
|
267
|
-
drawAxisLabels();
|
|
268
|
-
}, 200);
|
|
269
|
-
const initAxisData = () => {
|
|
270
|
-
quadrantAxis.value = document.querySelector("#devui-quadrant-axis-" + diagramId.value);
|
|
271
|
-
};
|
|
272
|
-
const setAxisData = () => {
|
|
273
|
-
context.value = quadrantAxis.value.getContext("2d");
|
|
274
|
-
axisInnerAttr.axisOrigin = axisConfigsVal.axisOrigin;
|
|
275
|
-
axisInnerAttr.axisTop = axisConfigsVal.axisTop;
|
|
276
|
-
axisInnerAttr.axisRight = axisConfigsVal.axisRight;
|
|
277
|
-
axisInnerAttr.axisWidth = axisConfigsVal.axisWidth;
|
|
278
|
-
axisInnerAttr.axisHeight = axisConfigsVal.axisHeight;
|
|
279
|
-
axisInnerAttr.yAxisTicksNum = axisConfigsVal.yAxisTicksNum;
|
|
280
|
-
axisInnerAttr.xAxisTicksNum = axisConfigsVal.xAxisTicksNum;
|
|
281
|
-
axisInnerAttr.xTickSpacing = axisConfigsVal.xTickSpacing;
|
|
282
|
-
axisInnerAttr.yTickSpacing = axisConfigsVal.yTickSpacing;
|
|
283
|
-
};
|
|
284
|
-
const drawAxis = () => {
|
|
285
|
-
context.value.save();
|
|
286
|
-
context.value.fillStyle = AXIS_COLOR.value;
|
|
287
|
-
context.value.strokeStyle = AXIS_COLOR.value;
|
|
288
|
-
drawXAxis();
|
|
289
|
-
drawYAxis();
|
|
290
|
-
context.value.lineWidth = 0.5;
|
|
291
|
-
drawXAxisTicks();
|
|
292
|
-
drawYAxisTicks();
|
|
293
|
-
context.value.restore();
|
|
294
|
-
};
|
|
295
|
-
const drawYAxis = () => {
|
|
296
|
-
context.value.beginPath();
|
|
297
|
-
context.value.moveTo(axisInnerAttr.axisOrigin.x, axisInnerAttr.axisOrigin.y);
|
|
298
|
-
context.value.lineTo(axisInnerAttr.axisOrigin.x, axisInnerAttr.axisTop - axisConfigsVal.axisMargin);
|
|
299
|
-
context.value.stroke();
|
|
300
|
-
context.value.moveTo(axisInnerAttr.axisOrigin.x, axisInnerAttr.axisTop - axisConfigsVal.axisMargin);
|
|
301
|
-
context.value.lineTo(axisInnerAttr.axisOrigin.x + 5, axisInnerAttr.axisTop - axisConfigsVal.axisMargin + 10);
|
|
302
|
-
context.value.lineTo(axisInnerAttr.axisOrigin.x - 5, axisInnerAttr.axisTop - axisConfigsVal.axisMargin + 10);
|
|
303
|
-
context.value.fill();
|
|
304
|
-
};
|
|
305
|
-
const drawXAxis = () => {
|
|
306
|
-
context.value.beginPath();
|
|
307
|
-
context.value.moveTo(axisInnerAttr.axisOrigin.x, axisInnerAttr.axisOrigin.y);
|
|
308
|
-
context.value.lineTo(axisInnerAttr.axisRight + axisConfigsVal.axisMargin - 10, axisInnerAttr.axisOrigin.y);
|
|
309
|
-
context.value.stroke();
|
|
310
|
-
context.value.moveTo(axisInnerAttr.axisRight + axisConfigsVal.axisMargin, axisInnerAttr.axisOrigin.y);
|
|
311
|
-
context.value.lineTo(axisInnerAttr.axisRight + axisConfigsVal.axisMargin - 10, axisInnerAttr.axisOrigin.y + 5);
|
|
312
|
-
context.value.lineTo(axisInnerAttr.axisRight + axisConfigsVal.axisMargin - 10, axisInnerAttr.axisOrigin.y - 5);
|
|
313
|
-
context.value.fill();
|
|
314
|
-
};
|
|
315
|
-
const drawXAxisTicks = () => {
|
|
316
|
-
let deltaY;
|
|
317
|
-
for (let i = 1; i < axisInnerAttr.xAxisTicksNum; i++) {
|
|
318
|
-
context.value.beginPath();
|
|
319
|
-
if (i % axisConfigsVal.xAxisRange.step === 0) {
|
|
320
|
-
deltaY = axisConfigsVal.tickWidth;
|
|
321
|
-
} else {
|
|
322
|
-
deltaY = axisConfigsVal.tickWidth / 2;
|
|
323
|
-
}
|
|
324
|
-
context.value.moveTo(axisInnerAttr.axisOrigin.x + i * axisInnerAttr.xTickSpacing, axisInnerAttr.axisOrigin.y - deltaY);
|
|
325
|
-
context.value.lineTo(axisInnerAttr.axisOrigin.x + i * axisInnerAttr.xTickSpacing, axisInnerAttr.axisOrigin.y + deltaY);
|
|
326
|
-
context.value.stroke();
|
|
327
|
-
}
|
|
328
|
-
};
|
|
329
|
-
const drawYAxisTicks = () => {
|
|
330
|
-
let deltaX;
|
|
331
|
-
for (let i = 1; i < axisInnerAttr.yAxisTicksNum; i++) {
|
|
332
|
-
context.value.beginPath();
|
|
333
|
-
if (i % axisConfigsVal.yAxisRange.step === 0) {
|
|
334
|
-
deltaX = axisConfigsVal.tickWidth;
|
|
335
|
-
} else {
|
|
336
|
-
deltaX = axisConfigsVal.tickWidth / 2;
|
|
337
|
-
}
|
|
338
|
-
context.value.moveTo(axisInnerAttr.axisOrigin.x - deltaX, axisInnerAttr.axisOrigin.y - i * axisInnerAttr.yTickSpacing);
|
|
339
|
-
context.value.lineTo(axisInnerAttr.axisOrigin.x + deltaX, axisInnerAttr.axisOrigin.y - i * axisInnerAttr.yTickSpacing);
|
|
340
|
-
context.value.stroke();
|
|
341
|
-
}
|
|
342
|
-
};
|
|
343
|
-
const drawAxisLabels = () => {
|
|
344
|
-
context.value.save();
|
|
345
|
-
context.value.fillStyle = AXIS_LABEL_COLOR.value;
|
|
346
|
-
drawXTicksLabels();
|
|
347
|
-
drawYTicksLabels();
|
|
348
|
-
context.value.restore();
|
|
349
|
-
drawAxisTitle();
|
|
350
|
-
};
|
|
351
|
-
const drawXTicksLabels = () => {
|
|
352
|
-
context.value.textAlign = "center";
|
|
353
|
-
context.value.textBaseline = "top";
|
|
354
|
-
for (let i = 0; i <= axisInnerAttr.xAxisTicksNum; i++) {
|
|
355
|
-
if (i % axisConfigsVal.xAxisRange.step === 0) {
|
|
356
|
-
context.value.fillText(i, axisInnerAttr.axisOrigin.x + i * axisInnerAttr.xTickSpacing, axisInnerAttr.axisOrigin.y + axisConfigsVal.spaceBetweenLabelsAxis);
|
|
357
|
-
}
|
|
358
|
-
}
|
|
359
|
-
};
|
|
360
|
-
const drawYTicksLabels = () => {
|
|
361
|
-
context.value.textAlign = "center";
|
|
362
|
-
context.value.textBaseline = "middle";
|
|
363
|
-
for (let i = 0; i <= axisInnerAttr.yAxisTicksNum; i++) {
|
|
364
|
-
if (i % axisConfigsVal.yAxisRange.step === 0) {
|
|
365
|
-
context.value.fillText(i, axisInnerAttr.axisOrigin.x - axisConfigsVal.spaceBetweenLabelsAxis, axisInnerAttr.axisOrigin.y - i * axisInnerAttr.yTickSpacing);
|
|
366
|
-
}
|
|
367
|
-
}
|
|
368
|
-
};
|
|
369
|
-
const drawAxisTitle = () => {
|
|
370
|
-
context.value.font = "12px Microsoft YaHei";
|
|
371
|
-
context.value.textAlign = "left";
|
|
372
|
-
context.value.fillStyle = AXIS_LABEL_COLOR.value;
|
|
373
|
-
const xLabelWidth = context.value.measureText(axisConfigsVal.xAxisLabel).width;
|
|
374
|
-
rotateLabel(axisConfigsVal.xAxisLabel, axisInnerAttr.axisRight + axisConfigsVal.axisMargin / 2, axisInnerAttr.axisOrigin.y - xLabelWidth - AXIS_TITLE_SPACE);
|
|
375
|
-
context.value.fillText(axisConfigsVal.yAxisLabel, axisInnerAttr.axisOrigin.x + AXIS_TITLE_SPACE, axisInnerAttr.axisTop - axisConfigsVal.axisMargin / 2);
|
|
376
|
-
};
|
|
377
|
-
const rotateLabel = (name, x, y) => {
|
|
378
|
-
for (let i = 0; i < name.length; i++) {
|
|
379
|
-
const str = name.slice(i, i + 1).toString();
|
|
380
|
-
if (str.match(/[A-Za-z0-9]/)) {
|
|
381
|
-
context.value.save();
|
|
382
|
-
context.value.translate(x, y);
|
|
383
|
-
context.value.rotate(Math.PI / 180 * 90);
|
|
384
|
-
context.value.textBaseline = "bottom";
|
|
385
|
-
context.value.fillText(str, 0, 0);
|
|
386
|
-
context.value.restore();
|
|
387
|
-
y += context.value.measureText(str).width;
|
|
388
|
-
} else if (str.match(/[\u4E00-\u9FA5]/)) {
|
|
389
|
-
context.value.save();
|
|
390
|
-
context.value.textBaseline = "top";
|
|
391
|
-
context.value.fillText(str, x, y);
|
|
392
|
-
context.value.restore();
|
|
393
|
-
y += context.value.measureText(str).width;
|
|
394
|
-
}
|
|
395
|
-
}
|
|
396
|
-
};
|
|
397
|
-
},
|
|
398
|
-
render() {
|
|
399
|
-
const {
|
|
400
|
-
diagramId,
|
|
401
|
-
view
|
|
402
|
-
} = this;
|
|
403
|
-
return createVNode("div", null, [createVNode("canvas", {
|
|
404
|
-
"id": "devui-quadrant-axis-" + diagramId,
|
|
405
|
-
"height": view.height,
|
|
406
|
-
"width": view.width
|
|
407
|
-
}, null)]);
|
|
408
|
-
}
|
|
409
|
-
});
|
|
410
|
-
var QuadrantDiagram = defineComponent({
|
|
411
|
-
name: "DQuadrantDiagram",
|
|
412
|
-
props: quadrantDiagramProps,
|
|
413
|
-
setup(props) {
|
|
414
|
-
const {
|
|
415
|
-
diagramId,
|
|
416
|
-
axisConfigs,
|
|
417
|
-
view
|
|
418
|
-
} = toRefs(props);
|
|
419
|
-
const calAxisConfig = reactive({
|
|
420
|
-
axisOrigin: {
|
|
421
|
-
x: null,
|
|
422
|
-
y: null
|
|
423
|
-
},
|
|
424
|
-
axisTop: null,
|
|
425
|
-
axisRight: null,
|
|
426
|
-
axisWidth: null,
|
|
427
|
-
axisHeight: null,
|
|
428
|
-
yAxisTicksNum: null,
|
|
429
|
-
xAxisTicksNum: null,
|
|
430
|
-
xTickSpacing: null,
|
|
431
|
-
yTickSpacing: null
|
|
432
|
-
});
|
|
433
|
-
const initAxisData = () => {
|
|
434
|
-
const axisConfigKeys = Object.keys(DEFAULT_AXIS_CONFIGS);
|
|
435
|
-
for (let i = 0; i < axisConfigKeys.length; i++) {
|
|
436
|
-
if (calAxisConfig[axisConfigKeys[i]] === void 0) {
|
|
437
|
-
calAxisConfig[axisConfigKeys[i]] = DEFAULT_AXIS_CONFIGS[axisConfigKeys[i]];
|
|
438
|
-
}
|
|
439
|
-
}
|
|
440
|
-
calAxisConfig.axisOrigin = {
|
|
441
|
-
x: axisConfigs.value.originPosition.left,
|
|
442
|
-
y: view.value.height - axisConfigs.value.originPosition.bottom
|
|
443
|
-
};
|
|
444
|
-
calAxisConfig.axisTop = axisConfigs.value.axisMargin;
|
|
445
|
-
calAxisConfig.axisRight = view.value.width - axisConfigs.value.axisMargin;
|
|
446
|
-
calAxisConfig.axisWidth = calAxisConfig.axisRight - calAxisConfig.axisOrigin.x;
|
|
447
|
-
calAxisConfig.axisHeight = calAxisConfig.axisOrigin.y - calAxisConfig.axisTop;
|
|
448
|
-
calAxisConfig.yAxisTicksNum = axisConfigs.value.yAxisRange.max - axisConfigs.value.yAxisRange.min;
|
|
449
|
-
calAxisConfig.xAxisTicksNum = axisConfigs.value.xAxisRange.max - axisConfigs.value.xAxisRange.min;
|
|
450
|
-
calAxisConfig.xTickSpacing = calAxisConfig.axisWidth / calAxisConfig.xAxisTicksNum;
|
|
451
|
-
calAxisConfig.yTickSpacing = calAxisConfig.axisHeight / calAxisConfig.yAxisTicksNum;
|
|
452
|
-
};
|
|
453
|
-
initAxisData();
|
|
454
|
-
watch(view.value, () => {
|
|
455
|
-
initAxisData();
|
|
456
|
-
});
|
|
457
|
-
return {
|
|
458
|
-
diagramId,
|
|
459
|
-
calAxisConfig
|
|
460
|
-
};
|
|
461
|
-
},
|
|
462
|
-
render() {
|
|
463
|
-
const {
|
|
464
|
-
diagramId,
|
|
465
|
-
calAxisConfig,
|
|
466
|
-
view
|
|
467
|
-
} = this;
|
|
468
|
-
return createVNode("div", {
|
|
469
|
-
"class": "devui-quadrant-diagram",
|
|
470
|
-
"id": diagramId
|
|
471
|
-
}, [createVNode(DQuadrantDiagramAxis, {
|
|
472
|
-
"diagramId": diagramId,
|
|
473
|
-
"axisConfigs": calAxisConfig,
|
|
474
|
-
"view": view
|
|
475
|
-
}, null)]);
|
|
476
|
-
}
|
|
477
|
-
});
|
|
478
|
-
QuadrantDiagram.install = function(app) {
|
|
479
|
-
app.component(QuadrantDiagram.name, QuadrantDiagram);
|
|
480
|
-
};
|
|
481
|
-
var index = {
|
|
482
|
-
title: "QuadrantDiagram \u8C61\u9650\u56FE",
|
|
483
|
-
category: "\u6570\u636E\u5C55\u793A",
|
|
484
|
-
status: "10%",
|
|
485
|
-
install(app) {
|
|
486
|
-
app.use(QuadrantDiagram);
|
|
487
|
-
}
|
|
488
|
-
};
|
|
489
|
-
export { QuadrantDiagram, index as default };
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
(function(f,o){typeof exports=="object"&&typeof module!="undefined"?o(exports,require("vue")):typeof define=="function"&&define.amd?define(["exports","vue"],o):(f=typeof globalThis!="undefined"?globalThis:f||self,o(f.index={},f.Vue))})(this,function(f,o){"use strict";const j={tickWidth:10,spaceBetweenLabelsAxis:20,xAxisLabel:"\u7D27\u6025\u5EA6",yAxisLabel:"\u91CD\u8981\u5EA6",xAxisRange:{min:0,max:100,step:10},yAxisRange:{min:0,max:50,step:5},originPosition:{left:30,bottom:30},axisMargin:35,xWeight:1,yWeight:1},X={height:900,width:950},E=15,q={diagramId:{type:String,default:"1"},axisConfigs:{type:Object,default:j},view:{type:Object,default:X}},H={diagramId:{type:String},axisConfigs:{type:Object},view:{type:Object}};var V=typeof global=="object"&&global&&global.Object===Object&&global,Q=V,G=typeof self=="object"&&self&&self.Object===Object&&self,Y=Q||G||Function("return this")(),P=Y,U=P.Symbol,S=U,_=Object.prototype,z=_.hasOwnProperty,K=_.toString,p=S?S.toStringTag:void 0;function Z(e){var r=z.call(e,p),l=e[p];try{e[p]=void 0;var c=!0}catch{}var s=K.call(e);return c&&(r?e[p]=l:delete e[p]),s}var J=Object.prototype,ii=J.toString;function ei(e){return ii.call(e)}var ai="[object Null]",ti="[object Undefined]",$=S?S.toStringTag:void 0;function ni(e){return e==null?e===void 0?ti:ai:$&&$ in Object(e)?Z(e):ei(e)}function si(e){return e!=null&&typeof e=="object"}var ri="[object Symbol]";function li(e){return typeof e=="symbol"||si(e)&&ni(e)==ri}var oi=/\s/;function xi(e){for(var r=e.length;r--&&oi.test(e.charAt(r)););return r}var ui=/^\s+/;function ci(e){return e&&e.slice(0,xi(e)+1).replace(ui,"")}function N(e){var r=typeof e;return e!=null&&(r=="object"||r=="function")}var B=0/0,gi=/^[-+]0x[0-9a-f]+$/i,di=/^0b[01]+$/i,fi=/^0o[0-7]+$/i,vi=parseInt;function F(e){if(typeof e=="number")return e;if(li(e))return B;if(N(e)){var r=typeof e.valueOf=="function"?e.valueOf():e;e=N(r)?r+"":r}if(typeof e!="string")return e===0?e:+e;e=ci(e);var l=di.test(e);return l||fi.test(e)?vi(e.slice(2),l?2:8):gi.test(e)?B:+e}var Ti=function(){return P.Date.now()},L=Ti,mi="Expected a function",yi=Math.max,pi=Math.min;function hi(e,r,l){var c,s,d,g,i,a,t=0,A=!1,v=!1,b=!0;if(typeof e!="function")throw new TypeError(mi);r=F(r)||0,N(l)&&(A=!!l.leading,v="maxWait"in l,d=v?yi(F(l.maxWait)||0,r):d,b="trailing"in l?!!l.trailing:b);function O(x){var n=c,u=s;return c=s=void 0,t=x,g=e.apply(u,n),g}function C(x){return t=x,i=setTimeout(m,r),A?O(x):g}function M(x){var n=x-a,u=x-t,T=r-n;return v?pi(T,d-u):T}function w(x){var n=x-a,u=x-t;return a===void 0||n>=r||n<0||v&&u>=d}function m(){var x=L();if(w(x))return I(x);i=setTimeout(m,M(x))}function I(x){return i=void 0,b&&c?O(x):(c=s=void 0,g)}function W(){i!==void 0&&clearTimeout(i),t=0,c=a=s=i=void 0}function D(){return i===void 0?g:I(L())}function k(){var x=L(),n=w(x);if(c=arguments,s=this,a=x,n){if(i===void 0)return C(a);if(v)return clearTimeout(i),i=setTimeout(m,r),O(a)}return i===void 0&&(i=setTimeout(m,r)),g}return k.cancel=W,k.flush=D,k}var Oi="",Ai=o.defineComponent({name:"DQuadrantDiagramAxis",props:H,setup(e){const{diagramId:r,view:l,axisConfigs:c}=o.toRefs(e),s=o.ref("#0000ff"),d=o.ref("#ff0000"),g=o.ref(),i=o.ref(),a=o.reactive({axisOrigin:{x:0,y:0},axisTop:0,axisRight:0,axisWidth:0,axisHeight:0,yAxisTicksNum:0,xAxisTicksNum:0,xTickSpacing:0,yTickSpacing:0}),t=c.value;o.onMounted(()=>{A()}),o.watch(l.value,()=>{A()});const A=hi(()=>{v(),b(),O(),I()},200),v=()=>{g.value=document.querySelector("#devui-quadrant-axis-"+r.value)},b=()=>{i.value=g.value.getContext("2d"),a.axisOrigin=t.axisOrigin,a.axisTop=t.axisTop,a.axisRight=t.axisRight,a.axisWidth=t.axisWidth,a.axisHeight=t.axisHeight,a.yAxisTicksNum=t.yAxisTicksNum,a.xAxisTicksNum=t.xAxisTicksNum,a.xTickSpacing=t.xTickSpacing,a.yTickSpacing=t.yTickSpacing},O=()=>{i.value.save(),i.value.fillStyle=s.value,i.value.strokeStyle=s.value,M(),C(),i.value.lineWidth=.5,w(),m(),i.value.restore()},C=()=>{i.value.beginPath(),i.value.moveTo(a.axisOrigin.x,a.axisOrigin.y),i.value.lineTo(a.axisOrigin.x,a.axisTop-t.axisMargin),i.value.stroke(),i.value.moveTo(a.axisOrigin.x,a.axisTop-t.axisMargin),i.value.lineTo(a.axisOrigin.x+5,a.axisTop-t.axisMargin+10),i.value.lineTo(a.axisOrigin.x-5,a.axisTop-t.axisMargin+10),i.value.fill()},M=()=>{i.value.beginPath(),i.value.moveTo(a.axisOrigin.x,a.axisOrigin.y),i.value.lineTo(a.axisRight+t.axisMargin-10,a.axisOrigin.y),i.value.stroke(),i.value.moveTo(a.axisRight+t.axisMargin,a.axisOrigin.y),i.value.lineTo(a.axisRight+t.axisMargin-10,a.axisOrigin.y+5),i.value.lineTo(a.axisRight+t.axisMargin-10,a.axisOrigin.y-5),i.value.fill()},w=()=>{let n;for(let u=1;u<a.xAxisTicksNum;u++)i.value.beginPath(),u%t.xAxisRange.step==0?n=t.tickWidth:n=t.tickWidth/2,i.value.moveTo(a.axisOrigin.x+u*a.xTickSpacing,a.axisOrigin.y-n),i.value.lineTo(a.axisOrigin.x+u*a.xTickSpacing,a.axisOrigin.y+n),i.value.stroke()},m=()=>{let n;for(let u=1;u<a.yAxisTicksNum;u++)i.value.beginPath(),u%t.yAxisRange.step==0?n=t.tickWidth:n=t.tickWidth/2,i.value.moveTo(a.axisOrigin.x-n,a.axisOrigin.y-u*a.yTickSpacing),i.value.lineTo(a.axisOrigin.x+n,a.axisOrigin.y-u*a.yTickSpacing),i.value.stroke()},I=()=>{i.value.save(),i.value.fillStyle=d.value,W(),D(),i.value.restore(),k()},W=()=>{i.value.textAlign="center",i.value.textBaseline="top";for(let n=0;n<=a.xAxisTicksNum;n++)n%t.xAxisRange.step==0&&i.value.fillText(n,a.axisOrigin.x+n*a.xTickSpacing,a.axisOrigin.y+t.spaceBetweenLabelsAxis)},D=()=>{i.value.textAlign="center",i.value.textBaseline="middle";for(let n=0;n<=a.yAxisTicksNum;n++)n%t.yAxisRange.step==0&&i.value.fillText(n,a.axisOrigin.x-t.spaceBetweenLabelsAxis,a.axisOrigin.y-n*a.yTickSpacing)},k=()=>{i.value.font="12px Microsoft YaHei",i.value.textAlign="left",i.value.fillStyle=d.value;const n=i.value.measureText(t.xAxisLabel).width;x(t.xAxisLabel,a.axisRight+t.axisMargin/2,a.axisOrigin.y-n-E),i.value.fillText(t.yAxisLabel,a.axisOrigin.x+E,a.axisTop-t.axisMargin/2)},x=(n,u,T)=>{for(let R=0;R<n.length;R++){const y=n.slice(R,R+1).toString();y.match(/[A-Za-z0-9]/)?(i.value.save(),i.value.translate(u,T),i.value.rotate(Math.PI/180*90),i.value.textBaseline="bottom",i.value.fillText(y,0,0),i.value.restore(),T+=i.value.measureText(y).width):y.match(/[\u4E00-\u9FA5]/)&&(i.value.save(),i.value.textBaseline="top",i.value.fillText(y,u,T),i.value.restore(),T+=i.value.measureText(y).width)}}},render(){const{diagramId:e,view:r}=this;return o.createVNode("div",null,[o.createVNode("canvas",{id:"devui-quadrant-axis-"+e,height:r.height,width:r.width},null)])}}),h=o.defineComponent({name:"DQuadrantDiagram",props:q,setup(e){const{diagramId:r,axisConfigs:l,view:c}=o.toRefs(e),s=o.reactive({axisOrigin:{x:null,y:null},axisTop:null,axisRight:null,axisWidth:null,axisHeight:null,yAxisTicksNum:null,xAxisTicksNum:null,xTickSpacing:null,yTickSpacing:null}),d=()=>{const g=Object.keys(j);for(let i=0;i<g.length;i++)s[g[i]]===void 0&&(s[g[i]]=j[g[i]]);s.axisOrigin={x:l.value.originPosition.left,y:c.value.height-l.value.originPosition.bottom},s.axisTop=l.value.axisMargin,s.axisRight=c.value.width-l.value.axisMargin,s.axisWidth=s.axisRight-s.axisOrigin.x,s.axisHeight=s.axisOrigin.y-s.axisTop,s.yAxisTicksNum=l.value.yAxisRange.max-l.value.yAxisRange.min,s.xAxisTicksNum=l.value.xAxisRange.max-l.value.xAxisRange.min,s.xTickSpacing=s.axisWidth/s.xAxisTicksNum,s.yTickSpacing=s.axisHeight/s.yAxisTicksNum};return d(),o.watch(c.value,()=>{d()}),{diagramId:r,calAxisConfig:s}},render(){const{diagramId:e,calAxisConfig:r,view:l}=this;return o.createVNode("div",{class:"devui-quadrant-diagram",id:e},[o.createVNode(Ai,{diagramId:e,axisConfigs:r,view:l},null)])}});h.install=function(e){e.component(h.name,h)};var bi={title:"QuadrantDiagram \u8C61\u9650\u56FE",category:"\u6570\u636E\u5C55\u793A",status:"10%",install(e){e.use(h)}};f.QuadrantDiagram=h,f.default=bi,Object.defineProperty(f,"__esModule",{value:!0}),f[Symbol.toStringTag]="Module"});
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
canvas{z-index:1}
|