@das-fed/ui 6.4.0-dev.9 → 6.4.0-hot.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +8 -6
- package/packages/business-components/app-container/index.css +1 -0
- package/packages/business-components/app-container/index.css.gz +0 -0
- package/packages/business-components/app-container/index.js +22 -20
- package/packages/business-components/app-container/index.js.gz +0 -0
- package/packages/business-components/change-enterprises/index.css +1 -0
- package/packages/business-components/change-enterprises/index.css.gz +0 -0
- package/packages/business-components/change-enterprises/index.js +39 -37
- package/packages/business-components/change-enterprises/index.js.gz +0 -0
- package/packages/business-components/change-pwd/index.js +0 -1
- package/packages/business-components/currency-page/index.js +0 -1
- package/packages/business-components/device-panel/index.css +1 -0
- package/packages/business-components/device-panel/index.css.gz +0 -0
- package/packages/business-components/device-panel/index.js +14502 -14692
- package/packages/business-components/device-panel/index.js.gz +0 -0
- package/packages/business-components/export-button/index.js +152 -433
- package/packages/business-components/export-button/index.js.gz +0 -0
- package/packages/business-components/import-button/index.js +323 -604
- package/packages/business-components/import-button/index.js.gz +0 -0
- package/packages/business-components/layout-breadcrumb/index.js +0 -1
- package/packages/business-components/model-table-dialog/index.js +0 -1
- package/packages/business-components/process-configuration/index.js +0 -1
- package/packages/business-components/process-form/index.css +1 -0
- package/packages/business-components/process-form/index.js +843 -1123
- package/packages/business-components/process-form/index.js.gz +0 -0
- package/packages/business-components/process-log/ProcessLogItem.vue.d.ts +1 -1
- package/packages/business-components/process-log/index.d.ts +21 -21
- package/packages/business-components/process-log/index.js +1477 -1759
- package/packages/business-components/process-log/index.js.gz +0 -0
- package/packages/business-components/process-search-form/index.js +439 -719
- package/packages/business-components/process-search-form/index.js.gz +0 -0
- package/packages/business-components/process-table/index.js +538 -820
- package/packages/business-components/process-table/index.js.gz +0 -0
- package/packages/business-components/urgent-panel/index.css +1 -0
- package/packages/business-components/urgent-panel/index.css.gz +0 -0
- package/packages/business-components/urgent-panel/index.js +1743 -2072
- package/packages/business-components/urgent-panel/index.js.gz +0 -0
- package/packages/business-components/urgent-panel/src/components/urgentPanelModal/apis.d.ts +1 -0
- package/packages/business-components/urgent-panel/src/components/urgentPanelModal/components/use-schedule-track/Track.vue.d.ts +2 -2
- package/packages/business-components/urgent-panel/src/components/urgentPanelModal/components/use-schedule-track/track.d.ts +1 -1
- package/packages/business-components/user-org-dialog/index.js +0 -1
- package/packages/business-components/video-dialog/index.js +338 -620
- package/packages/business-components/video-dialog/index.js.gz +0 -0
- package/packages/components/alert/index.css +1 -0
- package/packages/components/alert/index.css.gz +0 -0
- package/packages/components/alert/index.js +820 -820
- package/packages/components/alert/index.js.gz +0 -0
- package/packages/components/audio-video/index.js +0 -1
- package/packages/components/autocomplete/index.css +1 -0
- package/packages/components/autocomplete/index.css.gz +0 -0
- package/packages/components/autocomplete/index.js +7 -5
- package/packages/components/autocomplete/index.js.gz +0 -0
- package/packages/components/breadcrumb/index.css +1 -0
- package/packages/components/breadcrumb/index.css.gz +0 -0
- package/packages/components/breadcrumb/index.js +5 -4
- package/packages/components/breadcrumb/index.js.gz +0 -0
- package/packages/components/button/index.css +1 -0
- package/packages/components/button/index.css.gz +0 -0
- package/packages/components/button/index.js +6 -4
- package/packages/components/button/index.js.gz +0 -0
- package/packages/components/calendar/index.js +257 -615
- package/packages/components/calendar/index.js.gz +0 -0
- package/packages/components/cascader/index.css +1 -0
- package/packages/components/cascader/index.css.gz +0 -0
- package/packages/components/cascader/index.js +12 -4
- package/packages/components/cascader/index.js.gz +0 -0
- package/packages/components/checkbox/index.css +1 -0
- package/packages/components/checkbox/index.css.gz +0 -0
- package/packages/components/checkbox/index.js +5 -5
- package/packages/components/checkbox/index.js.gz +0 -0
- package/packages/components/collapse-panel/index.css +1 -0
- package/packages/components/collapse-panel/index.css.gz +0 -0
- package/packages/components/collapse-panel/index.js +5 -5
- package/packages/components/collapse-panel/index.js.gz +0 -0
- package/packages/components/collapse-transition/index.js +0 -1
- package/packages/components/collaspe/index.css +1 -0
- package/packages/components/collaspe/index.js +5 -5
- package/packages/components/collaspe/index.js.gz +0 -0
- package/packages/components/color-picker/index.css +1 -0
- package/packages/components/color-picker/index.css.gz +0 -0
- package/packages/components/color-picker/index.js +8 -5
- package/packages/components/color-picker/index.js.gz +0 -0
- package/packages/components/custom-search-item/index.js +0 -1
- package/packages/components/date-picker/index.css +1 -0
- package/packages/components/date-picker/index.css.gz +0 -0
- package/packages/components/date-picker/index.js +5134 -6026
- package/packages/components/date-picker/index.js.gz +0 -0
- package/packages/components/dialog/index.css +1 -0
- package/packages/components/dialog/index.css.gz +0 -0
- package/packages/components/dialog/index.js +6 -4
- package/packages/components/dialog/index.js.gz +0 -0
- package/packages/components/dimple-layout/index.js +0 -1
- package/packages/components/drawer/index.css +1 -0
- package/packages/components/drawer/index.js +6 -4
- package/packages/components/drawer/index.js.gz +0 -0
- package/packages/components/dropdown/index.css +1 -0
- package/packages/components/dropdown/index.css.gz +0 -0
- package/packages/components/dropdown/index.js +13 -6
- package/packages/components/dropdown/index.js.gz +0 -0
- package/packages/components/edit-table/index.js +0 -1
- package/packages/components/empty/index.js +0 -1
- package/packages/components/form/index.js +0 -1
- package/packages/components/form-item/index.js +0 -1
- package/packages/components/icon/index.js +0 -1
- package/packages/components/image-preview/index.js +4 -3
- package/packages/components/image-preview/index.js.gz +0 -0
- package/packages/components/image-upload/index.css +1 -0
- package/packages/components/image-upload/index.css.gz +0 -0
- package/packages/components/image-upload/index.js +4 -4
- package/packages/components/image-upload/index.js.gz +0 -0
- package/packages/components/image-viewer/index.css +1 -0
- package/packages/components/image-viewer/index.css.gz +0 -0
- package/packages/components/image-viewer/index.d.ts +9 -0
- package/packages/components/image-viewer/index.js +41 -33
- package/packages/components/image-viewer/index.js.gz +0 -0
- package/packages/components/image-viewer/src/Index.vue.d.ts +3 -0
- package/packages/components/image-viewer/src/hooks/use-handler-image-src.d.ts +2 -1
- package/packages/components/image-viewer/src/type.d.ts +3 -0
- package/packages/components/input/index.css +1 -0
- package/packages/components/input/index.css.gz +0 -0
- package/packages/components/input/index.js +5 -4
- package/packages/components/input/index.js.gz +0 -0
- package/packages/components/input-dialog-select/{style.css → index.css} +1 -1
- package/packages/components/input-dialog-select/index.css.gz +0 -0
- package/packages/components/input-dialog-select/index.js +2 -3
- package/packages/components/input-dialog-select/index.js.gz +0 -0
- package/packages/components/input-number/index.css +1 -0
- package/packages/components/input-number/index.css.gz +0 -0
- package/packages/components/input-number/index.js +7 -5
- package/packages/components/input-number/index.js.gz +0 -0
- package/packages/components/live-player/index.css +1 -0
- package/packages/components/live-player/index.js +5 -4
- package/packages/components/live-player/index.js.gz +0 -0
- package/packages/components/loading/index.js +0 -1
- package/packages/components/map/index.css +1 -0
- package/packages/components/map/index.js +14 -9
- package/packages/components/map/index.js.gz +0 -0
- package/packages/components/menu-aside/index.css +1 -0
- package/packages/components/menu-aside/index.css.gz +0 -0
- package/packages/components/menu-aside/index.js +4 -4
- package/packages/components/menu-aside/index.js.gz +0 -0
- package/packages/components/menu-header/index.css +1 -0
- package/packages/components/menu-header/index.css.gz +0 -0
- package/packages/components/menu-header/index.js +4 -4
- package/packages/components/menu-header/index.js.gz +0 -0
- package/packages/components/message/index.css +1 -0
- package/packages/components/message/index.css.gz +0 -0
- package/packages/components/message/index.js +5 -3
- package/packages/components/message/index.js.gz +0 -0
- package/packages/components/notification/index.css +1 -0
- package/packages/components/notification/index.css.gz +0 -0
- package/packages/components/notification/index.js +5 -5
- package/packages/components/notification/index.js.gz +0 -0
- package/packages/components/pagination/index.css +1 -0
- package/packages/components/pagination/index.css.gz +0 -0
- package/packages/components/pagination/index.js +19 -5
- package/packages/components/pagination/index.js.gz +0 -0
- package/packages/components/popover/index.css +1 -0
- package/packages/components/popover/index.css.gz +0 -0
- package/packages/components/popover/index.js +6 -4
- package/packages/components/popover/index.js.gz +0 -0
- package/packages/components/popup-mask/index.js +0 -1
- package/packages/components/preview/index.js +0 -1
- package/packages/components/progress/index.css +1 -0
- package/packages/components/progress/index.css.gz +0 -0
- package/packages/components/progress/index.js +6 -4
- package/packages/components/progress/index.js.gz +0 -0
- package/packages/components/radio/index.css +1 -0
- package/packages/components/radio/index.css.gz +0 -0
- package/packages/components/radio/index.js +5 -5
- package/packages/components/radio/index.js.gz +0 -0
- package/packages/components/radio-tabs/index.js +0 -1
- package/packages/components/rich-editor/index.js +0 -1
- package/packages/components/scrollbar/index.css +9 -0
- package/packages/components/scrollbar/index.css.gz +0 -0
- package/packages/components/scrollbar/index.js +6 -5
- package/packages/components/scrollbar/index.js.gz +0 -0
- package/packages/components/search/index.css +1 -0
- package/packages/components/search/index.css.gz +0 -0
- package/packages/components/search/index.js +4 -4
- package/packages/components/search/index.js.gz +0 -0
- package/packages/components/search-form/index.js +13 -12
- package/packages/components/search-form/index.js.gz +0 -0
- package/packages/components/select/index.css +1 -0
- package/packages/components/select/index.css.gz +0 -0
- package/packages/components/select/index.js +5 -5
- package/packages/components/select/index.js.gz +0 -0
- package/packages/components/select-input/index.js +0 -1
- package/packages/components/select-list/index.css +1 -0
- package/packages/components/select-list/index.css.gz +0 -0
- package/packages/components/select-list/index.js +5 -4
- package/packages/components/select-list/index.js.gz +0 -0
- package/packages/components/special-range-picker-month/index.js +0 -1
- package/packages/components/special-range-picker-year/index.css +1 -0
- package/packages/components/special-range-picker-year/index.css.gz +0 -0
- package/packages/components/special-range-picker-year/index.js +6 -4
- package/packages/components/special-range-picker-year/index.js.gz +0 -0
- package/packages/components/spin/index.css +1 -0
- package/packages/components/spin/index.css.gz +0 -0
- package/packages/components/spin/index.js +4 -4
- package/packages/components/spin/index.js.gz +0 -0
- package/packages/components/split-panel/index.js +0 -1
- package/packages/components/step/index.css +1 -0
- package/packages/components/step/index.js +4 -4
- package/packages/components/step/index.js.gz +0 -0
- package/packages/components/steps/index.css +1 -0
- package/packages/components/steps/index.css.gz +0 -0
- package/packages/components/steps/index.js +4 -4
- package/packages/components/steps/index.js.gz +0 -0
- package/packages/components/switch/index.css +1 -0
- package/packages/components/switch/index.css.gz +0 -0
- package/packages/components/switch/index.js +5 -4
- package/packages/components/switch/index.js.gz +0 -0
- package/packages/components/table/index.css +1 -0
- package/packages/components/table/index.css.gz +0 -0
- package/packages/components/table/index.js +152 -137
- package/packages/components/table/index.js.gz +0 -0
- package/packages/components/table/src/Table.vue.d.ts +2 -2
- package/packages/components/tabs/index.css +1 -0
- package/packages/components/tabs/index.css.gz +0 -0
- package/packages/components/tabs/index.js +7 -4
- package/packages/components/tabs/index.js.gz +0 -0
- package/packages/components/tag/index.css +1 -0
- package/packages/components/tag/index.css.gz +0 -0
- package/packages/components/tag/index.js +5 -4
- package/packages/components/tag/index.js.gz +0 -0
- package/packages/components/text-tooltip/index.js +0 -1
- package/packages/components/time-line/index.css +1 -0
- package/packages/components/time-line/index.css.gz +0 -0
- package/packages/components/time-line/index.js +5 -5
- package/packages/components/time-line/index.js.gz +0 -0
- package/packages/components/tooltip/index.css +1 -0
- package/packages/components/tooltip/index.css.gz +0 -0
- package/packages/components/tooltip/index.js +7 -5
- package/packages/components/tooltip/index.js.gz +0 -0
- package/packages/components/tree/index.css +1 -0
- package/packages/components/tree/index.css.gz +0 -0
- package/packages/components/tree/index.js +81 -76
- package/packages/components/tree/index.js.gz +0 -0
- package/packages/components/tree-select/index.css +1 -0
- package/packages/components/tree-select/index.css.gz +0 -0
- package/packages/components/tree-select/index.js +312 -311
- package/packages/components/tree-select/index.js.gz +0 -0
- package/packages/components/tree-table/index.js +0 -1
- package/packages/components/upload/index.css +1 -0
- package/packages/components/upload/index.css.gz +0 -0
- package/packages/components/upload/index.js +4 -4
- package/packages/components/upload/index.js.gz +0 -0
- package/packages/components/virtual-tree/index.css +1 -0
- package/packages/components/virtual-tree/index.css.gz +0 -0
- package/packages/components/virtual-tree/index.js +9 -5
- package/packages/components/virtual-tree/index.js.gz +0 -0
- package/packages/components/watermark/index.js +0 -1
- package/packages/business-components/app-container/style.css +0 -1
- package/packages/business-components/app-container/style.css.gz +0 -0
- package/packages/business-components/change-enterprises/style.css +0 -1
- package/packages/business-components/change-enterprises/style.css.gz +0 -0
- package/packages/business-components/device-panel/style.css +0 -1
- package/packages/business-components/device-panel/style.css.gz +0 -0
- package/packages/business-components/process-form/style.css +0 -1
- package/packages/business-components/process-form/style.css.gz +0 -0
- package/packages/business-components/urgent-panel/style.css +0 -1
- package/packages/business-components/urgent-panel/style.css.gz +0 -0
- package/packages/components/alert/style.css +0 -1
- package/packages/components/alert/style.css.gz +0 -0
- package/packages/components/autocomplete/style.css +0 -1
- package/packages/components/autocomplete/style.css.gz +0 -0
- package/packages/components/breadcrumb/style.css +0 -1
- package/packages/components/breadcrumb/style.css.gz +0 -0
- package/packages/components/button/style.css +0 -1
- package/packages/components/button/style.css.gz +0 -0
- package/packages/components/cascader/style.css +0 -1
- package/packages/components/cascader/style.css.gz +0 -0
- package/packages/components/checkbox/style.css +0 -1
- package/packages/components/checkbox/style.css.gz +0 -0
- package/packages/components/collapse-panel/style.css +0 -1
- package/packages/components/collapse-panel/style.css.gz +0 -0
- package/packages/components/collaspe/style.css +0 -1
- package/packages/components/collaspe/style.css.gz +0 -0
- package/packages/components/color-picker/style.css +0 -1
- package/packages/components/color-picker/style.css.gz +0 -0
- package/packages/components/date-picker/style.css +0 -1
- package/packages/components/date-picker/style.css.gz +0 -0
- package/packages/components/dialog/style.css +0 -1
- package/packages/components/dialog/style.css.gz +0 -0
- package/packages/components/drawer/style.css +0 -1
- package/packages/components/drawer/style.css.gz +0 -0
- package/packages/components/dropdown/style.css +0 -1
- package/packages/components/dropdown/style.css.gz +0 -0
- package/packages/components/image-preview/style.css +0 -1
- package/packages/components/image-preview/style.css.gz +0 -0
- package/packages/components/image-upload/style.css +0 -1
- package/packages/components/image-upload/style.css.gz +0 -0
- package/packages/components/image-viewer/style.css +0 -1
- package/packages/components/image-viewer/style.css.gz +0 -0
- package/packages/components/input/style.css +0 -1
- package/packages/components/input/style.css.gz +0 -0
- package/packages/components/input-dialog-select/style.css.gz +0 -0
- package/packages/components/input-number/style.css +0 -1
- package/packages/components/input-number/style.css.gz +0 -0
- package/packages/components/live-player/style.css +0 -1
- package/packages/components/live-player/style.css.gz +0 -0
- package/packages/components/map/style.css +0 -1
- package/packages/components/map/style.css.gz +0 -0
- package/packages/components/menu-aside/style.css +0 -1
- package/packages/components/menu-aside/style.css.gz +0 -0
- package/packages/components/menu-header/style.css +0 -1
- package/packages/components/menu-header/style.css.gz +0 -0
- package/packages/components/message/style.css +0 -1
- package/packages/components/message/style.css.gz +0 -0
- package/packages/components/notification/style.css +0 -1
- package/packages/components/notification/style.css.gz +0 -0
- package/packages/components/pagination/style.css +0 -1
- package/packages/components/pagination/style.css.gz +0 -0
- package/packages/components/popover/style.css +0 -1
- package/packages/components/popover/style.css.gz +0 -0
- package/packages/components/progress/style.css +0 -1
- package/packages/components/progress/style.css.gz +0 -0
- package/packages/components/radio/style.css +0 -1
- package/packages/components/radio/style.css.gz +0 -0
- package/packages/components/scrollbar/style.css +0 -9
- package/packages/components/scrollbar/style.css.gz +0 -0
- package/packages/components/search/style.css +0 -1
- package/packages/components/search/style.css.gz +0 -0
- package/packages/components/select/style.css +0 -1
- package/packages/components/select/style.css.gz +0 -0
- package/packages/components/select-list/style.css +0 -1
- package/packages/components/select-list/style.css.gz +0 -0
- package/packages/components/special-range-picker-year/style.css +0 -1
- package/packages/components/special-range-picker-year/style.css.gz +0 -0
- package/packages/components/spin/style.css +0 -1
- package/packages/components/spin/style.css.gz +0 -0
- package/packages/components/step/style.css +0 -1
- package/packages/components/step/style.css.gz +0 -0
- package/packages/components/steps/style.css +0 -1
- package/packages/components/steps/style.css.gz +0 -0
- package/packages/components/switch/style.css +0 -1
- package/packages/components/switch/style.css.gz +0 -0
- package/packages/components/table/style.css +0 -1
- package/packages/components/table/style.css.gz +0 -0
- package/packages/components/tabs/style.css +0 -1
- package/packages/components/tabs/style.css.gz +0 -0
- package/packages/components/tag/style.css +0 -1
- package/packages/components/tag/style.css.gz +0 -0
- package/packages/components/time-line/style.css +0 -1
- package/packages/components/time-line/style.css.gz +0 -0
- package/packages/components/tooltip/style.css +0 -1
- package/packages/components/tooltip/style.css.gz +0 -0
- package/packages/components/tree/style.css +0 -1
- package/packages/components/tree/style.css.gz +0 -0
- package/packages/components/tree-select/style.css +0 -1
- package/packages/components/tree-select/style.css.gz +0 -0
- package/packages/components/upload/style.css +0 -1
- package/packages/components/upload/style.css.gz +0 -0
- package/packages/components/virtual-tree/style.css +0 -1
- package/packages/components/virtual-tree/style.css.gz +0 -0
- /package/packages/business-components/change-pwd/{style.css → index.css} +0 -0
- /package/packages/business-components/currency-page/{style.css → index.css} +0 -0
- /package/packages/business-components/export-button/{style.css → index.css} +0 -0
- /package/packages/business-components/import-button/{style.css → index.css} +0 -0
- /package/packages/business-components/layout-breadcrumb/{style.css → index.css} +0 -0
- /package/packages/business-components/model-table-dialog/{style.css → index.css} +0 -0
- /package/packages/business-components/model-table-dialog/{style.css.gz → index.css.gz} +0 -0
- /package/packages/business-components/process-configuration/{style.css → index.css} +0 -0
- /package/packages/business-components/process-configuration/{style.css.gz → index.css.gz} +0 -0
- /package/packages/business-components/process-log/{style.css → index.css} +0 -0
- /package/packages/business-components/process-log/{style.css.gz → index.css.gz} +0 -0
- /package/packages/business-components/process-table/{style.css → index.css} +0 -0
- /package/packages/business-components/user-org-dialog/{style.css → index.css} +0 -0
- /package/packages/business-components/user-org-dialog/{style.css.gz → index.css.gz} +0 -0
- /package/packages/business-components/video-dialog/{style.css → index.css} +0 -0
- /package/packages/business-components/video-dialog/{style.css.gz → index.css.gz} +0 -0
- /package/packages/components/audio-video/{style.css → index.css} +0 -0
- /package/packages/components/calendar/{style.css → index.css} +0 -0
- /package/packages/components/calendar/{style.css.gz → index.css.gz} +0 -0
- /package/packages/components/collapse-transition/{style.css → index.css} +0 -0
- /package/packages/components/custom-search-item/{style.css → index.css} +0 -0
- /package/packages/components/dimple-layout/{style.css → index.css} +0 -0
- /package/packages/components/dimple-layout/{style.css.gz → index.css.gz} +0 -0
- /package/packages/components/edit-table/{style.css → index.css} +0 -0
- /package/packages/components/edit-table/{style.css.gz → index.css.gz} +0 -0
- /package/packages/components/empty/{style.css → index.css} +0 -0
- /package/packages/components/form/{style.css → index.css} +0 -0
- /package/packages/components/form-item/{style.css → index.css} +0 -0
- /package/packages/components/form-item/{style.css.gz → index.css.gz} +0 -0
- /package/packages/components/icon/{style.css → index.css} +0 -0
- /package/packages/components/loading/{style.css → index.css} +0 -0
- /package/packages/components/loading/{style.css.gz → index.css.gz} +0 -0
- /package/packages/components/popup-mask/{style.css → index.css} +0 -0
- /package/packages/components/preview/{style.css → index.css} +0 -0
- /package/packages/components/radio-tabs/{style.css → index.css} +0 -0
- /package/packages/components/radio-tabs/{style.css.gz → index.css.gz} +0 -0
- /package/packages/components/rich-editor/{style.css → index.css} +0 -0
- /package/packages/components/rich-editor/{style.css.gz → index.css.gz} +0 -0
- /package/packages/components/search-form/{style.css → index.css} +0 -0
- /package/packages/components/search-form/{style.css.gz → index.css.gz} +0 -0
- /package/packages/components/select-input/{style.css → index.css} +0 -0
- /package/packages/components/select-input/{style.css.gz → index.css.gz} +0 -0
- /package/packages/components/special-range-picker-month/{style.css → index.css} +0 -0
- /package/packages/components/special-range-picker-month/{style.css.gz → index.css.gz} +0 -0
- /package/packages/components/split-panel/{style.css → index.css} +0 -0
- /package/packages/components/split-panel/{style.css.gz → index.css.gz} +0 -0
- /package/packages/components/text-tooltip/{style.css → index.css} +0 -0
- /package/packages/components/text-tooltip/{style.css.gz → index.css.gz} +0 -0
- /package/packages/components/tree-table/{style.css → index.css} +0 -0
- /package/packages/components/tree-table/{style.css.gz → index.css.gz} +0 -0
- /package/packages/components/watermark/{style.css → index.css} +0 -0
|
@@ -1,57 +1,57 @@
|
|
|
1
|
-
import
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
9
|
-
import
|
|
10
|
-
import { createService as
|
|
11
|
-
import { getProjectInfo as
|
|
12
|
-
var
|
|
13
|
-
const
|
|
1
|
+
import { getCurrentScope as re, onScopeDispose as ae, unref as a, getCurrentInstance as ce, onMounted as Y, nextTick as L, ref as k, watch as O, defineComponent as R, useCssVars as ue, computed as N, openBlock as g, createElementBlock as $, normalizeClass as de, renderSlot as Z, Fragment as K, renderList as pe, createBlock as h, withCtx as f, createCommentVNode as b, withModifiers as y, createVNode as d, createElementVNode as p, toDisplayString as ve, pushScopeId as fe, popScopeId as me, toRefs as ge } from "vue";
|
|
2
|
+
import { withInstall as ye } from "@das-fed/utils/with-install/index";
|
|
3
|
+
import { DasDialog as ke } from "@das-fed/ui/packages/components/dialog/index";
|
|
4
|
+
import { DasTooltip as I } from "@das-fed/ui/packages/components/tooltip/index";
|
|
5
|
+
import { DasIconFullscreen2 as _e } from "@das-fed/ui/packages/icons/fullscreen-2/index";
|
|
6
|
+
import { DasAutoRegisterIcon as Ie, DasIcon as P } from "@das-fed/ui/packages/components/icon/index";
|
|
7
|
+
import { DasLivePlayer as we } from "@das-fed/ui/packages/components/live-player/index";
|
|
8
|
+
import { DasSpin as Ce } from "@das-fed/ui/packages/components/spin/index";
|
|
9
|
+
import be from "dayjs";
|
|
10
|
+
import { createService as X } from "@das-fed/utils/api-services/src/create-service";
|
|
11
|
+
import { getProjectInfo as j, getToken as he } from "@das-fed/utils/common-info";
|
|
12
|
+
var B;
|
|
13
|
+
const z = typeof window < "u", Ee = (t) => typeof t == "string", Oe = () => {
|
|
14
14
|
};
|
|
15
|
-
|
|
16
|
-
function
|
|
17
|
-
return typeof t == "function" ? t() :
|
|
15
|
+
z && ((B = window == null ? void 0 : window.navigator) != null && B.userAgent) && /iP(ad|hone|od)/.test(window.navigator.userAgent);
|
|
16
|
+
function J(t) {
|
|
17
|
+
return typeof t == "function" ? t() : a(t);
|
|
18
18
|
}
|
|
19
|
-
function
|
|
19
|
+
function Se(t) {
|
|
20
20
|
return t;
|
|
21
21
|
}
|
|
22
|
-
function
|
|
23
|
-
return
|
|
22
|
+
function ee(t) {
|
|
23
|
+
return re() ? (ae(t), !0) : !1;
|
|
24
24
|
}
|
|
25
|
-
function
|
|
26
|
-
|
|
25
|
+
function Fe(t, o = !0) {
|
|
26
|
+
ce() ? Y(t) : o ? t() : L(t);
|
|
27
27
|
}
|
|
28
|
-
function
|
|
29
|
-
var
|
|
30
|
-
const e =
|
|
31
|
-
return (
|
|
28
|
+
function te(t) {
|
|
29
|
+
var o;
|
|
30
|
+
const e = J(t);
|
|
31
|
+
return (o = e == null ? void 0 : e.$el) != null ? o : e;
|
|
32
32
|
}
|
|
33
|
-
const
|
|
34
|
-
function
|
|
35
|
-
let
|
|
36
|
-
if (
|
|
37
|
-
return
|
|
33
|
+
const De = z ? window : void 0, $e = z ? window.document : void 0;
|
|
34
|
+
function Re(...t) {
|
|
35
|
+
let o, e, l, r;
|
|
36
|
+
if (Ee(t[0]) || Array.isArray(t[0]) ? ([e, l, r] = t, o = De) : [o, e, l, r] = t, !o)
|
|
37
|
+
return Oe;
|
|
38
38
|
Array.isArray(e) || (e = [e]), Array.isArray(l) || (l = [l]);
|
|
39
|
-
const
|
|
40
|
-
|
|
41
|
-
},
|
|
42
|
-
|
|
43
|
-
}, { immediate: !0, flush: "post" }),
|
|
44
|
-
|
|
39
|
+
const n = [], s = () => {
|
|
40
|
+
n.forEach((c) => c()), n.length = 0;
|
|
41
|
+
}, v = (c, _, w, E) => (c.addEventListener(_, w, E), () => c.removeEventListener(_, w, E)), i = O(() => [te(o), J(r)], ([c, _]) => {
|
|
42
|
+
s(), c && n.push(...e.flatMap((w) => l.map((E) => v(c, w, E, _))));
|
|
43
|
+
}, { immediate: !0, flush: "post" }), m = () => {
|
|
44
|
+
i(), s();
|
|
45
45
|
};
|
|
46
|
-
return
|
|
46
|
+
return ee(m), m;
|
|
47
47
|
}
|
|
48
|
-
function
|
|
49
|
-
const e =
|
|
50
|
-
return l(),
|
|
48
|
+
function Pe(t, o = !1) {
|
|
49
|
+
const e = k(), l = () => e.value = !!t();
|
|
50
|
+
return l(), Fe(l, o), e;
|
|
51
51
|
}
|
|
52
|
-
const
|
|
53
|
-
|
|
54
|
-
const
|
|
52
|
+
const M = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {}, Q = "__vueuse_ssr_handlers__";
|
|
53
|
+
M[Q] = M[Q] || {};
|
|
54
|
+
const A = [
|
|
55
55
|
[
|
|
56
56
|
"requestFullscreen",
|
|
57
57
|
"exitFullscreen",
|
|
@@ -93,54 +93,54 @@ const ge = [
|
|
|
93
93
|
"MSFullscreenError"
|
|
94
94
|
]
|
|
95
95
|
];
|
|
96
|
-
function
|
|
97
|
-
const { document: e =
|
|
98
|
-
let
|
|
99
|
-
const
|
|
96
|
+
function ne(t, o = {}) {
|
|
97
|
+
const { document: e = $e, autoExit: l = !1 } = o, r = t || (e == null ? void 0 : e.querySelector("html")), n = k(!1);
|
|
98
|
+
let s = A[0];
|
|
99
|
+
const v = Pe(() => {
|
|
100
100
|
if (e) {
|
|
101
|
-
for (const
|
|
102
|
-
if (
|
|
103
|
-
return
|
|
101
|
+
for (const S of A)
|
|
102
|
+
if (S[1] in e)
|
|
103
|
+
return s = S, !0;
|
|
104
104
|
} else
|
|
105
105
|
return !1;
|
|
106
106
|
return !1;
|
|
107
|
-
}), [
|
|
108
|
-
async function
|
|
109
|
-
|
|
107
|
+
}), [i, m, c, , _] = s;
|
|
108
|
+
async function w() {
|
|
109
|
+
v.value && (e != null && e[c] && await e[m](), n.value = !1);
|
|
110
110
|
}
|
|
111
|
-
async function
|
|
112
|
-
if (!
|
|
111
|
+
async function E() {
|
|
112
|
+
if (!v.value)
|
|
113
113
|
return;
|
|
114
|
-
await
|
|
115
|
-
const
|
|
116
|
-
|
|
114
|
+
await w();
|
|
115
|
+
const S = te(r);
|
|
116
|
+
S && (await S[i](), n.value = !0);
|
|
117
117
|
}
|
|
118
|
-
async function
|
|
119
|
-
|
|
118
|
+
async function T() {
|
|
119
|
+
n.value ? await w() : await E();
|
|
120
120
|
}
|
|
121
|
-
return e &&
|
|
122
|
-
|
|
123
|
-
}, !1), l &&
|
|
124
|
-
isSupported:
|
|
125
|
-
isFullscreen:
|
|
126
|
-
enter:
|
|
127
|
-
exit:
|
|
128
|
-
toggle:
|
|
121
|
+
return e && Re(e, _, () => {
|
|
122
|
+
n.value = !!(e != null && e[c]);
|
|
123
|
+
}, !1), l && ee(w), {
|
|
124
|
+
isSupported: v,
|
|
125
|
+
isFullscreen: n,
|
|
126
|
+
enter: E,
|
|
127
|
+
exit: w,
|
|
128
|
+
toggle: T
|
|
129
129
|
};
|
|
130
130
|
}
|
|
131
|
-
var
|
|
131
|
+
var q;
|
|
132
132
|
(function(t) {
|
|
133
133
|
t.UP = "UP", t.RIGHT = "RIGHT", t.DOWN = "DOWN", t.LEFT = "LEFT", t.NONE = "NONE";
|
|
134
|
-
})(
|
|
135
|
-
var
|
|
136
|
-
for (var e in
|
|
137
|
-
|
|
138
|
-
if (
|
|
139
|
-
for (var e of
|
|
140
|
-
|
|
134
|
+
})(q || (q = {}));
|
|
135
|
+
var Le = Object.defineProperty, G = Object.getOwnPropertySymbols, Ne = Object.prototype.hasOwnProperty, xe = Object.prototype.propertyIsEnumerable, W = (t, o, e) => o in t ? Le(t, o, { enumerable: !0, configurable: !0, writable: !0, value: e }) : t[o] = e, Te = (t, o) => {
|
|
136
|
+
for (var e in o || (o = {}))
|
|
137
|
+
Ne.call(o, e) && W(t, e, o[e]);
|
|
138
|
+
if (G)
|
|
139
|
+
for (var e of G(o))
|
|
140
|
+
xe.call(o, e) && W(t, e, o[e]);
|
|
141
141
|
return t;
|
|
142
142
|
};
|
|
143
|
-
const
|
|
143
|
+
const Ue = {
|
|
144
144
|
easeInSine: [0.12, 0, 0.39, 0],
|
|
145
145
|
easeOutSine: [0.61, 1, 0.88, 1],
|
|
146
146
|
easeInOutSine: [0.37, 0, 0.63, 1],
|
|
@@ -166,43 +166,43 @@ const ut = {
|
|
|
166
166
|
easeOutBack: [0.34, 1.56, 0.64, 1],
|
|
167
167
|
easeInOutBack: [0.68, -0.6, 0.32, 1.6]
|
|
168
168
|
};
|
|
169
|
-
|
|
170
|
-
linear:
|
|
171
|
-
},
|
|
172
|
-
const
|
|
169
|
+
Te({
|
|
170
|
+
linear: Se
|
|
171
|
+
}, Ue);
|
|
172
|
+
const ze = /* @__PURE__ */ R({
|
|
173
173
|
__name: "GridItem",
|
|
174
174
|
props: {
|
|
175
175
|
active: { type: Boolean },
|
|
176
176
|
gridNum: {}
|
|
177
177
|
},
|
|
178
178
|
emits: ["itemClick"],
|
|
179
|
-
setup(t, { emit:
|
|
180
|
-
|
|
181
|
-
"40d17f34":
|
|
179
|
+
setup(t, { emit: o }) {
|
|
180
|
+
ue((c) => ({
|
|
181
|
+
"40d17f34": m.value
|
|
182
182
|
}));
|
|
183
|
-
const e = t, l =
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
})) :
|
|
187
|
-
},
|
|
183
|
+
const e = t, l = o, r = k(), { toggle: n, isFullscreen: s } = ne(r), v = () => {
|
|
184
|
+
r.value != document.fullscreenElement && (s.value ? (s.value = !1, L(() => {
|
|
185
|
+
n();
|
|
186
|
+
})) : n());
|
|
187
|
+
}, i = () => {
|
|
188
188
|
l("itemClick");
|
|
189
|
-
},
|
|
190
|
-
return (
|
|
189
|
+
}, m = N(() => `calc(100% / ${Math.sqrt(e.gridNum)})`);
|
|
190
|
+
return (c, _) => (g(), $("div", {
|
|
191
191
|
ref_key: "containerRef",
|
|
192
|
-
ref:
|
|
193
|
-
class:
|
|
194
|
-
onDblclick:
|
|
195
|
-
onClick:
|
|
192
|
+
ref: r,
|
|
193
|
+
class: de(["wrapper", { "is-active": e.active }]),
|
|
194
|
+
onDblclick: _[0] || (_[0] = (w) => v()),
|
|
195
|
+
onClick: _[1] || (_[1] = (w) => i())
|
|
196
196
|
}, [
|
|
197
|
-
|
|
197
|
+
Z(c.$slots, "default", {}, void 0, !0)
|
|
198
198
|
], 34));
|
|
199
199
|
}
|
|
200
|
-
}),
|
|
200
|
+
}), x = (t, o) => {
|
|
201
201
|
const e = t.__vccOpts || t;
|
|
202
|
-
for (const [l,
|
|
203
|
-
e[l] =
|
|
202
|
+
for (const [l, r] of o)
|
|
203
|
+
e[l] = r;
|
|
204
204
|
return e;
|
|
205
|
-
},
|
|
205
|
+
}, Ve = /* @__PURE__ */ x(ze, [["__scopeId", "data-v-1a6dbdfc"]]), je = { class: "layout-wrapper" }, Be = /* @__PURE__ */ R({
|
|
206
206
|
__name: "GridLayout",
|
|
207
207
|
props: {
|
|
208
208
|
gridNum: {},
|
|
@@ -210,406 +210,124 @@ const ct = /* @__PURE__ */ K({
|
|
|
210
210
|
showFn: {}
|
|
211
211
|
},
|
|
212
212
|
emits: ["update:activeIndex"],
|
|
213
|
-
setup(t, { emit:
|
|
214
|
-
const e = t, l =
|
|
215
|
-
l("update:activeIndex",
|
|
213
|
+
setup(t, { emit: o }) {
|
|
214
|
+
const e = t, l = o, r = (n) => {
|
|
215
|
+
l("update:activeIndex", n);
|
|
216
216
|
};
|
|
217
|
-
return (
|
|
218
|
-
(
|
|
217
|
+
return (n, s) => (g(), $("div", je, [
|
|
218
|
+
(g(!0), $(K, null, pe(e.gridNum, (v, i) => (g(), h(Ve, {
|
|
219
219
|
active: !1,
|
|
220
220
|
"grid-num": e.gridNum,
|
|
221
|
-
onItemClick: (
|
|
221
|
+
onItemClick: (m) => r(i)
|
|
222
222
|
}, {
|
|
223
|
-
default:
|
|
224
|
-
|
|
223
|
+
default: f(() => [
|
|
224
|
+
n.showFn(i) ? Z(n.$slots, "default", {
|
|
225
225
|
key: 0,
|
|
226
|
-
index:
|
|
227
|
-
}, void 0, !0) :
|
|
226
|
+
index: i
|
|
227
|
+
}, void 0, !0) : b("", !0)
|
|
228
228
|
]),
|
|
229
229
|
_: 2
|
|
230
230
|
}, 1032, ["grid-num", "onItemClick"]))), 256))
|
|
231
231
|
]));
|
|
232
232
|
}
|
|
233
|
-
}),
|
|
234
|
-
var mt = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
|
|
235
|
-
function ht(t) {
|
|
236
|
-
return t && t.__esModule && Object.prototype.hasOwnProperty.call(t, "default") ? t.default : t;
|
|
237
|
-
}
|
|
238
|
-
var Fe = { exports: {} };
|
|
239
|
-
(function(t, a) {
|
|
240
|
-
(function(e, l) {
|
|
241
|
-
t.exports = l();
|
|
242
|
-
})(mt, function() {
|
|
243
|
-
var e = 1e3, l = 6e4, p = 36e5, i = "millisecond", d = "second", _ = "minute", u = "hour", y = "day", m = "week", g = "month", F = "quarter", S = "year", A = "date", H = "Invalid Date", ce = /^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/, re = /\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g, X = { name: "en", weekdays: "Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"), months: "January_February_March_April_May_June_July_August_September_October_November_December".split("_"), ordinal: function(c) {
|
|
244
|
-
var r = ["th", "st", "nd", "rd"], n = c % 100;
|
|
245
|
-
return "[" + c + (r[(n - 20) % 10] || r[n] || r[0]) + "]";
|
|
246
|
-
} }, k = function(c, r, n) {
|
|
247
|
-
var s = String(c);
|
|
248
|
-
return !s || s.length >= r ? c : "" + Array(r + 1 - s.length).join(n) + c;
|
|
249
|
-
}, P = { s: k, z: function(c) {
|
|
250
|
-
var r = -c.utcOffset(), n = Math.abs(r), s = Math.floor(n / 60), o = n % 60;
|
|
251
|
-
return (r <= 0 ? "+" : "-") + k(s, 2, "0") + ":" + k(o, 2, "0");
|
|
252
|
-
}, m: function c(r, n) {
|
|
253
|
-
if (r.date() < n.date()) return -c(n, r);
|
|
254
|
-
var s = 12 * (n.year() - r.year()) + (n.month() - r.month()), o = r.clone().add(s, g), f = n - o < 0, v = r.clone().add(s + (f ? -1 : 1), g);
|
|
255
|
-
return +(-(s + (n - o) / (f ? o - v : v - o)) || 0);
|
|
256
|
-
}, a: function(c) {
|
|
257
|
-
return c < 0 ? Math.ceil(c) || 0 : Math.floor(c);
|
|
258
|
-
}, p: function(c) {
|
|
259
|
-
return { M: g, y: S, w: m, d: y, D: A, h: u, m: _, s: d, ms: i, Q: F }[c] || String(c || "").toLowerCase().replace(/s$/, "");
|
|
260
|
-
}, u: function(c) {
|
|
261
|
-
return c === void 0;
|
|
262
|
-
} }, U = "en", W = {};
|
|
263
|
-
W[U] = X;
|
|
264
|
-
var Y = "$isDayjsObject", de = function(c) {
|
|
265
|
-
return c instanceof se || !(!c || !c[Y]);
|
|
266
|
-
}, ie = function c(r, n, s) {
|
|
267
|
-
var o;
|
|
268
|
-
if (!r) return U;
|
|
269
|
-
if (typeof r == "string") {
|
|
270
|
-
var f = r.toLowerCase();
|
|
271
|
-
W[f] && (o = f), n && (W[f] = n, o = f);
|
|
272
|
-
var v = r.split("-");
|
|
273
|
-
if (!o && v.length > 1) return c(v[0]);
|
|
274
|
-
} else {
|
|
275
|
-
var w = r.name;
|
|
276
|
-
W[w] = r, o = w;
|
|
277
|
-
}
|
|
278
|
-
return !s && o && (U = o), o || !s && U;
|
|
279
|
-
}, O = function(c, r) {
|
|
280
|
-
if (de(c)) return c.clone();
|
|
281
|
-
var n = typeof r == "object" ? r : {};
|
|
282
|
-
return n.date = c, n.args = arguments, new se(n);
|
|
283
|
-
}, h = P;
|
|
284
|
-
h.l = ie, h.i = de, h.w = function(c, r) {
|
|
285
|
-
return O(c, { locale: r.$L, utc: r.$u, x: r.$x, $offset: r.$offset });
|
|
286
|
-
};
|
|
287
|
-
var se = function() {
|
|
288
|
-
function c(n) {
|
|
289
|
-
this.$L = ie(n.locale, null, !0), this.parse(n), this.$x = this.$x || n.x || {}, this[Y] = !0;
|
|
290
|
-
}
|
|
291
|
-
var r = c.prototype;
|
|
292
|
-
return r.parse = function(n) {
|
|
293
|
-
this.$d = function(s) {
|
|
294
|
-
var o = s.date, f = s.utc;
|
|
295
|
-
if (o === null) return /* @__PURE__ */ new Date(NaN);
|
|
296
|
-
if (h.u(o)) return /* @__PURE__ */ new Date();
|
|
297
|
-
if (o instanceof Date) return new Date(o);
|
|
298
|
-
if (typeof o == "string" && !/Z$/i.test(o)) {
|
|
299
|
-
var v = o.match(ce);
|
|
300
|
-
if (v) {
|
|
301
|
-
var w = v[2] - 1 || 0, b = (v[7] || "0").substring(0, 3);
|
|
302
|
-
return f ? new Date(Date.UTC(v[1], w, v[3] || 1, v[4] || 0, v[5] || 0, v[6] || 0, b)) : new Date(v[1], w, v[3] || 1, v[4] || 0, v[5] || 0, v[6] || 0, b);
|
|
303
|
-
}
|
|
304
|
-
}
|
|
305
|
-
return new Date(o);
|
|
306
|
-
}(n), this.init();
|
|
307
|
-
}, r.init = function() {
|
|
308
|
-
var n = this.$d;
|
|
309
|
-
this.$y = n.getFullYear(), this.$M = n.getMonth(), this.$D = n.getDate(), this.$W = n.getDay(), this.$H = n.getHours(), this.$m = n.getMinutes(), this.$s = n.getSeconds(), this.$ms = n.getMilliseconds();
|
|
310
|
-
}, r.$utils = function() {
|
|
311
|
-
return h;
|
|
312
|
-
}, r.isValid = function() {
|
|
313
|
-
return this.$d.toString() !== H;
|
|
314
|
-
}, r.isSame = function(n, s) {
|
|
315
|
-
var o = O(n);
|
|
316
|
-
return this.startOf(s) <= o && o <= this.endOf(s);
|
|
317
|
-
}, r.isAfter = function(n, s) {
|
|
318
|
-
return O(n) < this.startOf(s);
|
|
319
|
-
}, r.isBefore = function(n, s) {
|
|
320
|
-
return this.endOf(s) < O(n);
|
|
321
|
-
}, r.$g = function(n, s, o) {
|
|
322
|
-
return h.u(n) ? this[s] : this.set(o, n);
|
|
323
|
-
}, r.unix = function() {
|
|
324
|
-
return Math.floor(this.valueOf() / 1e3);
|
|
325
|
-
}, r.valueOf = function() {
|
|
326
|
-
return this.$d.getTime();
|
|
327
|
-
}, r.startOf = function(n, s) {
|
|
328
|
-
var o = this, f = !!h.u(s) || s, v = h.p(n), w = function(G, N) {
|
|
329
|
-
var B = h.w(o.$u ? Date.UTC(o.$y, N, G) : new Date(o.$y, N, G), o);
|
|
330
|
-
return f ? B : B.endOf(y);
|
|
331
|
-
}, b = function(G, N) {
|
|
332
|
-
return h.w(o.toDate()[G].apply(o.toDate("s"), (f ? [0, 0, 0, 0] : [23, 59, 59, 999]).slice(N)), o);
|
|
333
|
-
}, M = this.$W, T = this.$M, j = this.$D, Z = "set" + (this.$u ? "UTC" : "");
|
|
334
|
-
switch (v) {
|
|
335
|
-
case S:
|
|
336
|
-
return f ? w(1, 0) : w(31, 11);
|
|
337
|
-
case g:
|
|
338
|
-
return f ? w(1, T) : w(0, T + 1);
|
|
339
|
-
case m:
|
|
340
|
-
var q = this.$locale().weekStart || 0, ee = (M < q ? M + 7 : M) - q;
|
|
341
|
-
return w(f ? j - ee : j + (6 - ee), T);
|
|
342
|
-
case y:
|
|
343
|
-
case A:
|
|
344
|
-
return b(Z + "Hours", 0);
|
|
345
|
-
case u:
|
|
346
|
-
return b(Z + "Minutes", 1);
|
|
347
|
-
case _:
|
|
348
|
-
return b(Z + "Seconds", 2);
|
|
349
|
-
case d:
|
|
350
|
-
return b(Z + "Milliseconds", 3);
|
|
351
|
-
default:
|
|
352
|
-
return this.clone();
|
|
353
|
-
}
|
|
354
|
-
}, r.endOf = function(n) {
|
|
355
|
-
return this.startOf(n, !1);
|
|
356
|
-
}, r.$set = function(n, s) {
|
|
357
|
-
var o, f = h.p(n), v = "set" + (this.$u ? "UTC" : ""), w = (o = {}, o[y] = v + "Date", o[A] = v + "Date", o[g] = v + "Month", o[S] = v + "FullYear", o[u] = v + "Hours", o[_] = v + "Minutes", o[d] = v + "Seconds", o[i] = v + "Milliseconds", o)[f], b = f === y ? this.$D + (s - this.$W) : s;
|
|
358
|
-
if (f === g || f === S) {
|
|
359
|
-
var M = this.clone().set(A, 1);
|
|
360
|
-
M.$d[w](b), M.init(), this.$d = M.set(A, Math.min(this.$D, M.daysInMonth())).$d;
|
|
361
|
-
} else w && this.$d[w](b);
|
|
362
|
-
return this.init(), this;
|
|
363
|
-
}, r.set = function(n, s) {
|
|
364
|
-
return this.clone().$set(n, s);
|
|
365
|
-
}, r.get = function(n) {
|
|
366
|
-
return this[h.p(n)]();
|
|
367
|
-
}, r.add = function(n, s) {
|
|
368
|
-
var o, f = this;
|
|
369
|
-
n = Number(n);
|
|
370
|
-
var v = h.p(s), w = function(T) {
|
|
371
|
-
var j = O(f);
|
|
372
|
-
return h.w(j.date(j.date() + Math.round(T * n)), f);
|
|
373
|
-
};
|
|
374
|
-
if (v === g) return this.set(g, this.$M + n);
|
|
375
|
-
if (v === S) return this.set(S, this.$y + n);
|
|
376
|
-
if (v === y) return w(1);
|
|
377
|
-
if (v === m) return w(7);
|
|
378
|
-
var b = (o = {}, o[_] = l, o[u] = p, o[d] = e, o)[v] || 1, M = this.$d.getTime() + n * b;
|
|
379
|
-
return h.w(M, this);
|
|
380
|
-
}, r.subtract = function(n, s) {
|
|
381
|
-
return this.add(-1 * n, s);
|
|
382
|
-
}, r.format = function(n) {
|
|
383
|
-
var s = this, o = this.$locale();
|
|
384
|
-
if (!this.isValid()) return o.invalidDate || H;
|
|
385
|
-
var f = n || "YYYY-MM-DDTHH:mm:ssZ", v = h.z(this), w = this.$H, b = this.$m, M = this.$M, T = o.weekdays, j = o.months, Z = o.meridiem, q = function(N, B, te, ae) {
|
|
386
|
-
return N && (N[B] || N(s, f)) || te[B].slice(0, ae);
|
|
387
|
-
}, ee = function(N) {
|
|
388
|
-
return h.s(w % 12 || 12, N, "0");
|
|
389
|
-
}, G = Z || function(N, B, te) {
|
|
390
|
-
var ae = N < 12 ? "AM" : "PM";
|
|
391
|
-
return te ? ae.toLowerCase() : ae;
|
|
392
|
-
};
|
|
393
|
-
return f.replace(re, function(N, B) {
|
|
394
|
-
return B || function(te) {
|
|
395
|
-
switch (te) {
|
|
396
|
-
case "YY":
|
|
397
|
-
return String(s.$y).slice(-2);
|
|
398
|
-
case "YYYY":
|
|
399
|
-
return h.s(s.$y, 4, "0");
|
|
400
|
-
case "M":
|
|
401
|
-
return M + 1;
|
|
402
|
-
case "MM":
|
|
403
|
-
return h.s(M + 1, 2, "0");
|
|
404
|
-
case "MMM":
|
|
405
|
-
return q(o.monthsShort, M, j, 3);
|
|
406
|
-
case "MMMM":
|
|
407
|
-
return q(j, M);
|
|
408
|
-
case "D":
|
|
409
|
-
return s.$D;
|
|
410
|
-
case "DD":
|
|
411
|
-
return h.s(s.$D, 2, "0");
|
|
412
|
-
case "d":
|
|
413
|
-
return String(s.$W);
|
|
414
|
-
case "dd":
|
|
415
|
-
return q(o.weekdaysMin, s.$W, T, 2);
|
|
416
|
-
case "ddd":
|
|
417
|
-
return q(o.weekdaysShort, s.$W, T, 3);
|
|
418
|
-
case "dddd":
|
|
419
|
-
return T[s.$W];
|
|
420
|
-
case "H":
|
|
421
|
-
return String(w);
|
|
422
|
-
case "HH":
|
|
423
|
-
return h.s(w, 2, "0");
|
|
424
|
-
case "h":
|
|
425
|
-
return ee(1);
|
|
426
|
-
case "hh":
|
|
427
|
-
return ee(2);
|
|
428
|
-
case "a":
|
|
429
|
-
return G(w, b, !0);
|
|
430
|
-
case "A":
|
|
431
|
-
return G(w, b, !1);
|
|
432
|
-
case "m":
|
|
433
|
-
return String(b);
|
|
434
|
-
case "mm":
|
|
435
|
-
return h.s(b, 2, "0");
|
|
436
|
-
case "s":
|
|
437
|
-
return String(s.$s);
|
|
438
|
-
case "ss":
|
|
439
|
-
return h.s(s.$s, 2, "0");
|
|
440
|
-
case "SSS":
|
|
441
|
-
return h.s(s.$ms, 3, "0");
|
|
442
|
-
case "Z":
|
|
443
|
-
return v;
|
|
444
|
-
}
|
|
445
|
-
return null;
|
|
446
|
-
}(N) || v.replace(":", "");
|
|
447
|
-
});
|
|
448
|
-
}, r.utcOffset = function() {
|
|
449
|
-
return 15 * -Math.round(this.$d.getTimezoneOffset() / 15);
|
|
450
|
-
}, r.diff = function(n, s, o) {
|
|
451
|
-
var f, v = this, w = h.p(s), b = O(n), M = (b.utcOffset() - this.utcOffset()) * l, T = this - b, j = function() {
|
|
452
|
-
return h.m(v, b);
|
|
453
|
-
};
|
|
454
|
-
switch (w) {
|
|
455
|
-
case S:
|
|
456
|
-
f = j() / 12;
|
|
457
|
-
break;
|
|
458
|
-
case g:
|
|
459
|
-
f = j();
|
|
460
|
-
break;
|
|
461
|
-
case F:
|
|
462
|
-
f = j() / 3;
|
|
463
|
-
break;
|
|
464
|
-
case m:
|
|
465
|
-
f = (T - M) / 6048e5;
|
|
466
|
-
break;
|
|
467
|
-
case y:
|
|
468
|
-
f = (T - M) / 864e5;
|
|
469
|
-
break;
|
|
470
|
-
case u:
|
|
471
|
-
f = T / p;
|
|
472
|
-
break;
|
|
473
|
-
case _:
|
|
474
|
-
f = T / l;
|
|
475
|
-
break;
|
|
476
|
-
case d:
|
|
477
|
-
f = T / e;
|
|
478
|
-
break;
|
|
479
|
-
default:
|
|
480
|
-
f = T;
|
|
481
|
-
}
|
|
482
|
-
return o ? f : h.a(f);
|
|
483
|
-
}, r.daysInMonth = function() {
|
|
484
|
-
return this.endOf(g).$D;
|
|
485
|
-
}, r.$locale = function() {
|
|
486
|
-
return W[this.$L];
|
|
487
|
-
}, r.locale = function(n, s) {
|
|
488
|
-
if (!n) return this.$L;
|
|
489
|
-
var o = this.clone(), f = ie(n, s, !0);
|
|
490
|
-
return f && (o.$L = f), o;
|
|
491
|
-
}, r.clone = function() {
|
|
492
|
-
return h.w(this.$d, this);
|
|
493
|
-
}, r.toDate = function() {
|
|
494
|
-
return new Date(this.valueOf());
|
|
495
|
-
}, r.toJSON = function() {
|
|
496
|
-
return this.isValid() ? this.toISOString() : null;
|
|
497
|
-
}, r.toISOString = function() {
|
|
498
|
-
return this.$d.toISOString();
|
|
499
|
-
}, r.toString = function() {
|
|
500
|
-
return this.$d.toUTCString();
|
|
501
|
-
}, c;
|
|
502
|
-
}(), ve = se.prototype;
|
|
503
|
-
return O.prototype = ve, [["$ms", i], ["$s", d], ["$m", _], ["$H", u], ["$W", y], ["$M", g], ["$y", S], ["$D", A]].forEach(function(c) {
|
|
504
|
-
ve[c[1]] = function(r) {
|
|
505
|
-
return this.$g(r, c[0], c[1]);
|
|
506
|
-
};
|
|
507
|
-
}), O.extend = function(c, r) {
|
|
508
|
-
return c.$i || (c(r, se, O), c.$i = !0), O;
|
|
509
|
-
}, O.locale = ie, O.isDayjs = de, O.unix = function(c) {
|
|
510
|
-
return O(1e3 * c);
|
|
511
|
-
}, O.en = W[U], O.Ls = W, O.p = {}, O;
|
|
512
|
-
});
|
|
513
|
-
})(Fe);
|
|
514
|
-
var yt = Fe.exports;
|
|
515
|
-
const gt = /* @__PURE__ */ ht(yt), $t = /* @__PURE__ */ K({
|
|
233
|
+
}), Me = /* @__PURE__ */ x(Be, [["__scopeId", "data-v-6c66f7ad"]]), Qe = /* @__PURE__ */ R({
|
|
516
234
|
__name: "DirectionControl",
|
|
517
235
|
emits: ["change"],
|
|
518
|
-
setup(t, { emit:
|
|
519
|
-
const e =
|
|
520
|
-
e("change",
|
|
236
|
+
setup(t, { emit: o }) {
|
|
237
|
+
const e = o, l = (r) => {
|
|
238
|
+
e("change", r);
|
|
521
239
|
};
|
|
522
|
-
return (
|
|
240
|
+
return (r, n) => (g(), $("div", {
|
|
523
241
|
class: "direction-control",
|
|
524
|
-
onDblclick:
|
|
242
|
+
onDblclick: n[9] || (n[9] = y((s) => s.stopPropagation(), ["stop"]))
|
|
525
243
|
}, [
|
|
526
|
-
|
|
527
|
-
default:
|
|
528
|
-
|
|
244
|
+
d(a(I), { content: "左上" }, {
|
|
245
|
+
default: f(() => [
|
|
246
|
+
p("div", {
|
|
529
247
|
class: "icon icon-top-left",
|
|
530
|
-
onClick:
|
|
248
|
+
onClick: n[0] || (n[0] = y((s) => l("leftUp"), ["stop"]))
|
|
531
249
|
})
|
|
532
250
|
]),
|
|
533
251
|
_: 1
|
|
534
252
|
}),
|
|
535
|
-
|
|
536
|
-
default:
|
|
537
|
-
|
|
253
|
+
d(a(I), { content: "上" }, {
|
|
254
|
+
default: f(() => [
|
|
255
|
+
p("div", {
|
|
538
256
|
class: "icon icon-top",
|
|
539
|
-
onClick:
|
|
257
|
+
onClick: n[1] || (n[1] = y((s) => l("up"), ["stop"]))
|
|
540
258
|
})
|
|
541
259
|
]),
|
|
542
260
|
_: 1
|
|
543
261
|
}),
|
|
544
|
-
|
|
545
|
-
default:
|
|
546
|
-
|
|
262
|
+
d(a(I), { content: "右上" }, {
|
|
263
|
+
default: f(() => [
|
|
264
|
+
p("div", {
|
|
547
265
|
class: "icon icon-top-right",
|
|
548
|
-
onClick:
|
|
266
|
+
onClick: n[2] || (n[2] = y((s) => l("rightUp"), ["stop"]))
|
|
549
267
|
})
|
|
550
268
|
]),
|
|
551
269
|
_: 1
|
|
552
270
|
}),
|
|
553
|
-
|
|
554
|
-
default:
|
|
555
|
-
|
|
271
|
+
d(a(I), { content: "左" }, {
|
|
272
|
+
default: f(() => [
|
|
273
|
+
p("div", {
|
|
556
274
|
class: "icon icon-left",
|
|
557
|
-
onClick:
|
|
275
|
+
onClick: n[3] || (n[3] = y((s) => l("left"), ["stop"]))
|
|
558
276
|
})
|
|
559
277
|
]),
|
|
560
278
|
_: 1
|
|
561
279
|
}),
|
|
562
|
-
|
|
563
|
-
default:
|
|
564
|
-
|
|
280
|
+
d(a(I), { content: "自动" }, {
|
|
281
|
+
default: f(() => [
|
|
282
|
+
p("div", {
|
|
565
283
|
class: "icon icon-auto",
|
|
566
|
-
onClick:
|
|
284
|
+
onClick: n[4] || (n[4] = y((s) => l("auto"), ["stop"]))
|
|
567
285
|
})
|
|
568
286
|
]),
|
|
569
287
|
_: 1
|
|
570
288
|
}),
|
|
571
|
-
|
|
572
|
-
default:
|
|
573
|
-
|
|
289
|
+
d(a(I), { content: "右" }, {
|
|
290
|
+
default: f(() => [
|
|
291
|
+
p("div", {
|
|
574
292
|
class: "icon icon-right",
|
|
575
|
-
onClick:
|
|
293
|
+
onClick: n[5] || (n[5] = y((s) => l("right"), ["stop"]))
|
|
576
294
|
})
|
|
577
295
|
]),
|
|
578
296
|
_: 1
|
|
579
297
|
}),
|
|
580
|
-
|
|
581
|
-
default:
|
|
582
|
-
|
|
298
|
+
d(a(I), { content: "左下" }, {
|
|
299
|
+
default: f(() => [
|
|
300
|
+
p("div", {
|
|
583
301
|
class: "icon icon-bottom-left",
|
|
584
|
-
onClick:
|
|
302
|
+
onClick: n[6] || (n[6] = y((s) => l("leftDown"), ["stop"]))
|
|
585
303
|
})
|
|
586
304
|
]),
|
|
587
305
|
_: 1
|
|
588
306
|
}),
|
|
589
|
-
|
|
590
|
-
default:
|
|
591
|
-
|
|
307
|
+
d(a(I), { content: "下" }, {
|
|
308
|
+
default: f(() => [
|
|
309
|
+
p("div", {
|
|
592
310
|
class: "icon icon-bottom",
|
|
593
|
-
onClick:
|
|
311
|
+
onClick: n[7] || (n[7] = y((s) => l("down"), ["stop"]))
|
|
594
312
|
})
|
|
595
313
|
]),
|
|
596
314
|
_: 1
|
|
597
315
|
}),
|
|
598
|
-
|
|
599
|
-
default:
|
|
600
|
-
|
|
316
|
+
d(a(I), { content: "右下" }, {
|
|
317
|
+
default: f(() => [
|
|
318
|
+
p("div", {
|
|
601
319
|
class: "icon icon-bottom-right",
|
|
602
|
-
onClick:
|
|
320
|
+
onClick: n[8] || (n[8] = y((s) => l("rightDown"), ["stop"]))
|
|
603
321
|
})
|
|
604
322
|
]),
|
|
605
323
|
_: 1
|
|
606
324
|
})
|
|
607
325
|
], 32));
|
|
608
326
|
}
|
|
609
|
-
}),
|
|
327
|
+
}), Ae = /* @__PURE__ */ x(Qe, [["__scopeId", "data-v-3b02830e"]]), qe = (t) => (fe("data-v-a46773e1"), t = t(), me(), t), Ge = { class: "video-wrapper" }, We = { class: "video-top" }, He = { class: "video-top_l" }, Ye = { class: "video-title-wrapper" }, Ze = { class: "video-title" }, Ke = { class: "video-top_r" }, Xe = {
|
|
610
328
|
key: 0,
|
|
611
329
|
class: "play-status"
|
|
612
|
-
},
|
|
330
|
+
}, Je = { class: "video-bottom" }, et = /* @__PURE__ */ qe(() => /* @__PURE__ */ p("div", { class: "video-bottom_l" }, null, -1)), tt = { class: "video-bottom_r" }, nt = /* @__PURE__ */ R({
|
|
613
331
|
__name: "index",
|
|
614
332
|
props: {
|
|
615
333
|
videoUrl: {},
|
|
@@ -622,214 +340,214 @@ const gt = /* @__PURE__ */ ht(yt), $t = /* @__PURE__ */ K({
|
|
|
622
340
|
onReplay: {}
|
|
623
341
|
},
|
|
624
342
|
emits: ["close", "directionControl", "zoomControl"],
|
|
625
|
-
setup(t, { emit:
|
|
626
|
-
const e = t, l =
|
|
627
|
-
|
|
343
|
+
setup(t, { emit: o }) {
|
|
344
|
+
const e = t, l = o;
|
|
345
|
+
Ie({
|
|
628
346
|
muted: import("@das-fed/ui/packages/icons/muted"),
|
|
629
347
|
volume: import("@das-fed/ui/packages/icons/volume"),
|
|
630
348
|
shrink: import("@das-fed/ui/packages/icons/shrink"),
|
|
631
349
|
enlarge: import("@das-fed/ui/packages/icons/enlarge"),
|
|
632
350
|
"direction-control": import("@das-fed/ui/packages/icons/direction-control")
|
|
633
351
|
});
|
|
634
|
-
const
|
|
635
|
-
var
|
|
636
|
-
return (
|
|
637
|
-
}),
|
|
638
|
-
|
|
352
|
+
const r = k(!0), n = k(), s = k(!1), v = k(), i = N(() => {
|
|
353
|
+
var u;
|
|
354
|
+
return (u = v.value) == null ? void 0 : u.video;
|
|
355
|
+
}), m = k(!1), c = k(!0), _ = (u) => {
|
|
356
|
+
n.value = u, n.value.on(window.mpegts.Events.ERROR, (C) => {
|
|
639
357
|
});
|
|
640
|
-
},
|
|
641
|
-
|
|
642
|
-
},
|
|
643
|
-
|
|
644
|
-
},
|
|
645
|
-
const
|
|
646
|
-
if (
|
|
647
|
-
|
|
648
|
-
const
|
|
649
|
-
|
|
650
|
-
const
|
|
651
|
-
if (
|
|
652
|
-
const
|
|
653
|
-
|
|
358
|
+
}, w = () => {
|
|
359
|
+
r.value = !r.value, n.value && (n.value.muted = r.value);
|
|
360
|
+
}, E = () => {
|
|
361
|
+
s.value = !s.value;
|
|
362
|
+
}, T = k(""), S = () => {
|
|
363
|
+
const u = document.createElement("canvas");
|
|
364
|
+
if (i.value) {
|
|
365
|
+
u.width = i.value.clientWidth, u.height = i.value.clientHeight;
|
|
366
|
+
const C = u.getContext("2d");
|
|
367
|
+
C == null || C.drawImage(i.value, 0, 0, u.width, u.height);
|
|
368
|
+
const D = u.toDataURL("image/jpg"), se = `【${e.title}】${be().format("YYYYMMDDHHmmss").toString()}.jpg`;
|
|
369
|
+
if (T.value = D, "download" in document.createElement("a")) {
|
|
370
|
+
const F = document.createElement("a");
|
|
371
|
+
F.download = se, F.style.display = "none", F.href = D, document.body.appendChild(F), document.body.appendChild(u), F.click(), URL.revokeObjectURL(F.href), document.body.removeChild(F), document.body.removeChild(u);
|
|
654
372
|
}
|
|
655
373
|
}
|
|
656
|
-
},
|
|
657
|
-
l("directionControl",
|
|
658
|
-
},
|
|
659
|
-
l("zoomControl",
|
|
660
|
-
},
|
|
661
|
-
return
|
|
662
|
-
() =>
|
|
374
|
+
}, ie = (u) => {
|
|
375
|
+
l("directionControl", u);
|
|
376
|
+
}, V = (u) => {
|
|
377
|
+
l("zoomControl", u);
|
|
378
|
+
}, U = (u) => e.authType.includes(u);
|
|
379
|
+
return O(
|
|
380
|
+
() => i.value,
|
|
663
381
|
() => {
|
|
664
|
-
|
|
665
|
-
|
|
382
|
+
i.value && i.value.addEventListener("ended", () => {
|
|
383
|
+
m.value = !0, e.type === "playback" && (c.value = !1);
|
|
666
384
|
});
|
|
667
385
|
}
|
|
668
|
-
),
|
|
669
|
-
() =>
|
|
386
|
+
), O(
|
|
387
|
+
() => i.value,
|
|
670
388
|
() => {
|
|
671
|
-
|
|
672
|
-
|
|
389
|
+
i.value && L(() => {
|
|
390
|
+
i.value.playbackRate = e.playbackRate || 1;
|
|
673
391
|
});
|
|
674
392
|
}
|
|
675
|
-
),
|
|
676
|
-
() =>
|
|
393
|
+
), O(
|
|
394
|
+
() => n.value,
|
|
677
395
|
() => {
|
|
678
|
-
|
|
679
|
-
|
|
396
|
+
n.value && L(() => {
|
|
397
|
+
n.value.muted = r.value;
|
|
680
398
|
});
|
|
681
399
|
}
|
|
682
|
-
),
|
|
400
|
+
), O(
|
|
683
401
|
() => e.playbackRate,
|
|
684
402
|
() => {
|
|
685
|
-
|
|
403
|
+
i.value && (i.value.playbackRate = e.playbackRate || 1);
|
|
686
404
|
},
|
|
687
405
|
{
|
|
688
406
|
immediate: !0
|
|
689
407
|
}
|
|
690
|
-
),
|
|
408
|
+
), O(
|
|
691
409
|
() => e.paused,
|
|
692
410
|
() => {
|
|
693
|
-
|
|
411
|
+
n.value && (e.paused ? n.value.pause() : n.value.play());
|
|
694
412
|
}
|
|
695
|
-
),
|
|
413
|
+
), O(
|
|
696
414
|
() => e.videoUrl,
|
|
697
415
|
() => {
|
|
698
|
-
|
|
699
|
-
|
|
416
|
+
c.value = !1, L(() => {
|
|
417
|
+
c.value = !0;
|
|
700
418
|
});
|
|
701
419
|
}
|
|
702
|
-
), (
|
|
703
|
-
|
|
420
|
+
), (u, C) => (g(), $("div", Ge, [
|
|
421
|
+
d(a(Ce), {
|
|
704
422
|
spinning: e.loading,
|
|
705
423
|
type: "component",
|
|
706
424
|
tip: "加载中..."
|
|
707
425
|
}, {
|
|
708
|
-
default:
|
|
709
|
-
|
|
710
|
-
|
|
711
|
-
|
|
712
|
-
|
|
426
|
+
default: f(() => [
|
|
427
|
+
p("div", We, [
|
|
428
|
+
p("div", He, [
|
|
429
|
+
p("div", Ye, [
|
|
430
|
+
p("div", Ze, ve(e.title.length > 20 ? e.title.slice(0, 19) + "..." : e.title), 1)
|
|
713
431
|
])
|
|
714
432
|
]),
|
|
715
|
-
|
|
716
|
-
["live"].includes(
|
|
433
|
+
p("div", Ke, [
|
|
434
|
+
["live"].includes(u.type) ? (g(), $("span", Xe, "正在实时预览")) : b("", !0)
|
|
717
435
|
])
|
|
718
436
|
]),
|
|
719
|
-
e.videoUrl &&
|
|
437
|
+
e.videoUrl && c.value ? (g(), h(a(we), {
|
|
720
438
|
key: 0,
|
|
721
439
|
type: "flv",
|
|
722
440
|
ref_key: "dasLivePlayerRef",
|
|
723
|
-
ref:
|
|
724
|
-
muted:
|
|
725
|
-
onLoaded:
|
|
441
|
+
ref: v,
|
|
442
|
+
muted: r.value,
|
|
443
|
+
onLoaded: _,
|
|
726
444
|
src: e.videoUrl
|
|
727
|
-
}, null, 8, ["muted", "src"])) :
|
|
728
|
-
|
|
729
|
-
|
|
730
|
-
|
|
731
|
-
|
|
445
|
+
}, null, 8, ["muted", "src"])) : b("", !0),
|
|
446
|
+
p("div", Je, [
|
|
447
|
+
et,
|
|
448
|
+
p("div", tt, [
|
|
449
|
+
p("div", {
|
|
732
450
|
class: "controls",
|
|
733
|
-
onDblclick:
|
|
451
|
+
onDblclick: C[2] || (C[2] = y((D) => D.stopPropagation(), ["stop"]))
|
|
734
452
|
}, [
|
|
735
|
-
|
|
736
|
-
default:
|
|
737
|
-
|
|
453
|
+
d(a(I), { content: "声音" }, {
|
|
454
|
+
default: f(() => [
|
|
455
|
+
d(a(P), {
|
|
738
456
|
class: "icon icon-volume",
|
|
739
|
-
icon:
|
|
740
|
-
onClick:
|
|
457
|
+
icon: r.value ? "muted" : "volume",
|
|
458
|
+
onClick: y(w, ["stop"])
|
|
741
459
|
}, null, 8, ["icon"])
|
|
742
460
|
]),
|
|
743
461
|
_: 1
|
|
744
462
|
}),
|
|
745
|
-
|
|
746
|
-
default:
|
|
747
|
-
|
|
463
|
+
d(a(I), { content: "截图" }, {
|
|
464
|
+
default: f(() => [
|
|
465
|
+
d(a(P), {
|
|
748
466
|
class: "icon icon-screenshot",
|
|
749
467
|
icon: "screenshot",
|
|
750
|
-
onClick:
|
|
468
|
+
onClick: y(S, ["stop"])
|
|
751
469
|
})
|
|
752
470
|
]),
|
|
753
471
|
_: 1
|
|
754
472
|
}),
|
|
755
|
-
|
|
473
|
+
U("control") ? (g(), h(a(I), {
|
|
756
474
|
key: 0,
|
|
757
475
|
content: "聚焦-"
|
|
758
476
|
}, {
|
|
759
|
-
default:
|
|
760
|
-
["live", "polling"].includes(e.type) ? (
|
|
477
|
+
default: f(() => [
|
|
478
|
+
["live", "polling"].includes(e.type) ? (g(), h(a(P), {
|
|
761
479
|
key: 0,
|
|
762
480
|
class: "icon icon-shrink",
|
|
763
481
|
icon: "shrink",
|
|
764
|
-
onClick:
|
|
765
|
-
})) :
|
|
482
|
+
onClick: C[0] || (C[0] = y((D) => V("zoomOut"), ["stop"]))
|
|
483
|
+
})) : b("", !0)
|
|
766
484
|
]),
|
|
767
485
|
_: 1
|
|
768
|
-
})) :
|
|
769
|
-
|
|
486
|
+
})) : b("", !0),
|
|
487
|
+
U("control") ? (g(), h(a(I), {
|
|
770
488
|
key: 1,
|
|
771
489
|
content: "聚焦+"
|
|
772
490
|
}, {
|
|
773
|
-
default:
|
|
774
|
-
["live", "polling"].includes(e.type) ? (
|
|
491
|
+
default: f(() => [
|
|
492
|
+
["live", "polling"].includes(e.type) ? (g(), h(a(P), {
|
|
775
493
|
key: 0,
|
|
776
494
|
class: "icon icon-enlarge",
|
|
777
495
|
icon: "enlarge",
|
|
778
|
-
onClick:
|
|
779
|
-
})) :
|
|
496
|
+
onClick: C[1] || (C[1] = y((D) => V("zoomIn"), ["stop"]))
|
|
497
|
+
})) : b("", !0)
|
|
780
498
|
]),
|
|
781
499
|
_: 1
|
|
782
|
-
})) :
|
|
783
|
-
|
|
500
|
+
})) : b("", !0),
|
|
501
|
+
U("control") ? (g(), h(a(I), {
|
|
784
502
|
key: 2,
|
|
785
503
|
content: "方向控制"
|
|
786
504
|
}, {
|
|
787
|
-
default:
|
|
788
|
-
["live", "polling"].includes(e.type) ? (
|
|
505
|
+
default: f(() => [
|
|
506
|
+
["live", "polling"].includes(e.type) ? (g(), h(a(P), {
|
|
789
507
|
key: 0,
|
|
790
508
|
class: "icon icon-direction-control",
|
|
791
509
|
icon: "direction-control",
|
|
792
|
-
onClick:
|
|
793
|
-
})) :
|
|
510
|
+
onClick: y(E, ["stop"])
|
|
511
|
+
})) : b("", !0)
|
|
794
512
|
]),
|
|
795
513
|
_: 1
|
|
796
|
-
})) :
|
|
514
|
+
})) : b("", !0)
|
|
797
515
|
], 32)
|
|
798
516
|
])
|
|
799
517
|
]),
|
|
800
|
-
|
|
518
|
+
s.value ? (g(), h(Ae, {
|
|
801
519
|
key: 1,
|
|
802
|
-
onChange:
|
|
803
|
-
})) :
|
|
520
|
+
onChange: ie
|
|
521
|
+
})) : b("", !0)
|
|
804
522
|
]),
|
|
805
523
|
_: 1
|
|
806
524
|
}, 8, ["spinning"])
|
|
807
525
|
]));
|
|
808
526
|
}
|
|
809
|
-
}),
|
|
810
|
-
function
|
|
811
|
-
const
|
|
812
|
-
return t.params || (t.params = {}), t.params.project =
|
|
527
|
+
}), ot = /* @__PURE__ */ x(nt, [["__scopeId", "data-v-a46773e1"]]), lt = "/api/intelligent-security/video/v1", it = "v1", st = X(`/api/enterpriseright/permission/${it}`), oe = X(`${lt}`, rt);
|
|
528
|
+
function rt(t) {
|
|
529
|
+
const o = j() ? j().id : 1;
|
|
530
|
+
return t.params || (t.params = {}), t.params.project = o, t.params.projectId = o, t;
|
|
813
531
|
}
|
|
814
|
-
function
|
|
815
|
-
const
|
|
532
|
+
function le(t) {
|
|
533
|
+
const o = new URLSearchParams("");
|
|
816
534
|
for (let [e, l] of Object.entries(t))
|
|
817
|
-
|
|
818
|
-
return
|
|
535
|
+
o.append(e, l);
|
|
536
|
+
return o.toString();
|
|
819
537
|
}
|
|
820
|
-
function
|
|
821
|
-
return
|
|
538
|
+
function H(t) {
|
|
539
|
+
return oe.post(`/device/ptz?${le(t)}`)().run();
|
|
822
540
|
}
|
|
823
|
-
function
|
|
824
|
-
return
|
|
541
|
+
function at(t) {
|
|
542
|
+
return oe.post(`/device/video/url/preview?${le(t)}`)().run();
|
|
825
543
|
}
|
|
826
|
-
|
|
827
|
-
const
|
|
828
|
-
const
|
|
829
|
-
return `${t}?token=${
|
|
544
|
+
st.post("data/device-auth");
|
|
545
|
+
const ct = (t) => {
|
|
546
|
+
const o = he();
|
|
547
|
+
return `${t}?token=${o}`;
|
|
830
548
|
};
|
|
831
|
-
|
|
832
|
-
const
|
|
549
|
+
k([]);
|
|
550
|
+
const ut = /* @__PURE__ */ R({
|
|
833
551
|
props: {
|
|
834
552
|
deviceInfo: {
|
|
835
553
|
type: Object,
|
|
@@ -837,81 +555,81 @@ const zt = /* @__PURE__ */ K({
|
|
|
837
555
|
}
|
|
838
556
|
},
|
|
839
557
|
setup(t, {
|
|
840
|
-
slots:
|
|
558
|
+
slots: o
|
|
841
559
|
}) {
|
|
842
560
|
const {
|
|
843
561
|
deviceInfo: e
|
|
844
|
-
} =
|
|
845
|
-
var
|
|
846
|
-
if (!((
|
|
562
|
+
} = ge(t), l = k(!1), r = k(""), n = async () => {
|
|
563
|
+
var c;
|
|
564
|
+
if (!((c = e.value) != null && c.deviceId)) return;
|
|
847
565
|
l.value = !0;
|
|
848
|
-
const [
|
|
566
|
+
const [i, m] = await at({
|
|
849
567
|
productId: e.value.productId,
|
|
850
568
|
deviceId: e.value.deviceId
|
|
851
569
|
});
|
|
852
|
-
|
|
853
|
-
},
|
|
854
|
-
|
|
570
|
+
i || (r.value = ct(m == null ? void 0 : m.wsFlvStreamURL)), l.value = !1;
|
|
571
|
+
}, s = (i) => {
|
|
572
|
+
H({
|
|
855
573
|
productId: e.value.productId,
|
|
856
574
|
deviceId: e.value.deviceId,
|
|
857
|
-
direction:
|
|
575
|
+
direction: i,
|
|
858
576
|
zoom: ""
|
|
859
577
|
});
|
|
860
|
-
},
|
|
861
|
-
|
|
578
|
+
}, v = (i) => {
|
|
579
|
+
H({
|
|
862
580
|
productId: e.value.productId,
|
|
863
581
|
deviceId: e.value.deviceId,
|
|
864
582
|
direction: "",
|
|
865
|
-
zoom:
|
|
583
|
+
zoom: i
|
|
866
584
|
});
|
|
867
585
|
};
|
|
868
|
-
return
|
|
869
|
-
|
|
870
|
-
}),
|
|
871
|
-
|
|
586
|
+
return Y(() => {
|
|
587
|
+
n();
|
|
588
|
+
}), O(() => e.value, () => {
|
|
589
|
+
n();
|
|
872
590
|
}, {
|
|
873
591
|
deep: !0
|
|
874
|
-
}), () =>
|
|
875
|
-
videoUrl:
|
|
592
|
+
}), () => d(K, null, [o.default({
|
|
593
|
+
videoUrl: r.value,
|
|
876
594
|
loading: l.value,
|
|
877
|
-
onDirectionControl:
|
|
878
|
-
onZoomControl:
|
|
595
|
+
onDirectionControl: s,
|
|
596
|
+
onZoomControl: v
|
|
879
597
|
})]);
|
|
880
598
|
}
|
|
881
599
|
});
|
|
882
|
-
function
|
|
883
|
-
const
|
|
600
|
+
function dt(t) {
|
|
601
|
+
const o = k(0), e = k(), {
|
|
884
602
|
toggle: l,
|
|
885
|
-
isFullscreen:
|
|
886
|
-
} =
|
|
603
|
+
isFullscreen: r
|
|
604
|
+
} = ne(e);
|
|
887
605
|
return {
|
|
888
|
-
render: () =>
|
|
606
|
+
render: () => d(Me, {
|
|
889
607
|
ref: e,
|
|
890
608
|
gridNum: t.gridNum,
|
|
891
|
-
activeIndex:
|
|
892
|
-
"onUpdate:activeIndex": (
|
|
893
|
-
showFn: (
|
|
609
|
+
activeIndex: o.value,
|
|
610
|
+
"onUpdate:activeIndex": (s) => o.value = s,
|
|
611
|
+
showFn: (s) => !!t.deviceList[s]
|
|
894
612
|
}, {
|
|
895
613
|
default: ({
|
|
896
|
-
index:
|
|
614
|
+
index: s
|
|
897
615
|
}) => {
|
|
898
|
-
const
|
|
899
|
-
return
|
|
900
|
-
deviceInfo:
|
|
616
|
+
const v = t.deviceList[s];
|
|
617
|
+
return d(ut, {
|
|
618
|
+
deviceInfo: v
|
|
901
619
|
}, {
|
|
902
620
|
default: ({
|
|
903
|
-
videoUrl:
|
|
904
|
-
onDirectionControl:
|
|
905
|
-
onZoomControl:
|
|
906
|
-
loading:
|
|
907
|
-
}) =>
|
|
621
|
+
videoUrl: i,
|
|
622
|
+
onDirectionControl: m,
|
|
623
|
+
onZoomControl: c,
|
|
624
|
+
loading: _
|
|
625
|
+
}) => d(ot, {
|
|
908
626
|
type: "live",
|
|
909
|
-
loading:
|
|
910
|
-
videoUrl:
|
|
911
|
-
title:
|
|
912
|
-
onDirectionControl:
|
|
913
|
-
onZoomControl:
|
|
914
|
-
authType:
|
|
627
|
+
loading: _,
|
|
628
|
+
videoUrl: i,
|
|
629
|
+
title: v.deviceName,
|
|
630
|
+
onDirectionControl: m,
|
|
631
|
+
onZoomControl: c,
|
|
632
|
+
authType: v.authType === 2 ? ["control"] : []
|
|
915
633
|
}, null)
|
|
916
634
|
});
|
|
917
635
|
}
|
|
@@ -919,9 +637,9 @@ function Vt(t) {
|
|
|
919
637
|
toggleFullscreen: l
|
|
920
638
|
};
|
|
921
639
|
}
|
|
922
|
-
const
|
|
923
|
-
/* @__PURE__ */
|
|
924
|
-
], -1),
|
|
640
|
+
const pt = /* @__PURE__ */ p("div", null, [
|
|
641
|
+
/* @__PURE__ */ p("span", null, "视频监控")
|
|
642
|
+
], -1), vt = /* @__PURE__ */ R({
|
|
925
643
|
__name: "index",
|
|
926
644
|
props: {
|
|
927
645
|
visible: { type: Boolean, default: !1 },
|
|
@@ -929,59 +647,59 @@ const At = /* @__PURE__ */ I("div", null, [
|
|
|
929
647
|
gridNum: { default: 4 }
|
|
930
648
|
},
|
|
931
649
|
emits: ["update:visible"],
|
|
932
|
-
setup(t, { emit:
|
|
933
|
-
const e = t, l =
|
|
650
|
+
setup(t, { emit: o }) {
|
|
651
|
+
const e = t, l = o, r = N({
|
|
934
652
|
get: () => e.visible,
|
|
935
|
-
set: (
|
|
936
|
-
}), { render:
|
|
937
|
-
let
|
|
653
|
+
set: (i) => l("update:visible", i)
|
|
654
|
+
}), { render: n, toggleFullscreen: s } = dt(e), v = N(() => {
|
|
655
|
+
let i = {};
|
|
938
656
|
switch (e.gridNum) {
|
|
939
657
|
case 1:
|
|
940
|
-
|
|
658
|
+
i = "one-video";
|
|
941
659
|
break;
|
|
942
660
|
case 4:
|
|
943
|
-
|
|
661
|
+
i = "four-video";
|
|
944
662
|
break;
|
|
945
663
|
case 9:
|
|
946
|
-
|
|
664
|
+
i = "nine-video";
|
|
947
665
|
break;
|
|
948
666
|
}
|
|
949
|
-
return
|
|
667
|
+
return i;
|
|
950
668
|
});
|
|
951
|
-
return (
|
|
669
|
+
return (i, m) => (g(), h(a(ke), {
|
|
952
670
|
size: "mini",
|
|
953
671
|
title: "视频监控",
|
|
954
|
-
"custom-class": `das-linakge-video-dialog ${
|
|
955
|
-
modelValue:
|
|
956
|
-
"onUpdate:modelValue":
|
|
672
|
+
"custom-class": `das-linakge-video-dialog ${v.value}`,
|
|
673
|
+
modelValue: r.value,
|
|
674
|
+
"onUpdate:modelValue": m[0] || (m[0] = (c) => r.value = c),
|
|
957
675
|
bodyStyle: { padding: 0 },
|
|
958
676
|
"close-on-click-modal": !1,
|
|
959
677
|
"close-on-press-escape": !1,
|
|
960
678
|
modal: !1,
|
|
961
679
|
"header-style": { display: "flex", justifyContent: "space-between", alignItems: "center" }
|
|
962
680
|
}, {
|
|
963
|
-
header:
|
|
964
|
-
|
|
965
|
-
|
|
966
|
-
default:
|
|
967
|
-
|
|
681
|
+
header: f(() => [
|
|
682
|
+
pt,
|
|
683
|
+
d(a(I), { content: "页面全屏" }, {
|
|
684
|
+
default: f(() => [
|
|
685
|
+
d(a(_e), {
|
|
968
686
|
class: "icon",
|
|
969
687
|
color: "#999",
|
|
970
|
-
onClick:
|
|
688
|
+
onClick: a(s)
|
|
971
689
|
}, null, 8, ["onClick"])
|
|
972
690
|
]),
|
|
973
691
|
_: 1
|
|
974
692
|
})
|
|
975
693
|
]),
|
|
976
|
-
default:
|
|
977
|
-
|
|
694
|
+
default: f(() => [
|
|
695
|
+
r.value ? (g(), h(a(n), { key: 0 })) : b("", !0)
|
|
978
696
|
]),
|
|
979
697
|
_: 1
|
|
980
698
|
}, 8, ["custom-class", "modelValue"]));
|
|
981
699
|
}
|
|
982
|
-
}),
|
|
700
|
+
}), Et = ye(vt), Ot = () => k(null);
|
|
983
701
|
export {
|
|
984
|
-
|
|
985
|
-
|
|
986
|
-
|
|
702
|
+
Et as DasVideoDialog,
|
|
703
|
+
Ot as DasVideoDialogRef,
|
|
704
|
+
dt as useVideo
|
|
987
705
|
};
|