@das-fed/ui 6.4.0-test.3.1 → 6.4.0-test.30
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/esm-map.json +23 -1
- package/package.json +10 -10
- package/packages/business-components/app-container/index.d.ts +1 -0
- package/packages/business-components/app-container/index.js +196 -110
- package/packages/business-components/app-container/index.js.gz +0 -0
- package/packages/business-components/app-container/src/index.vue.d.ts +1 -0
- package/packages/business-components/app-container/src/style-theme.d.ts +13 -0
- package/packages/business-components/app-container/src/type.d.ts +1 -0
- package/packages/business-components/app-container/style.css +1 -1
- package/packages/business-components/app-container/style.css.gz +0 -0
- package/packages/{components/time-line → business-components/area-phone-select}/i18n/index.d.ts +1 -1
- package/packages/business-components/area-phone-select/index.d.ts +1368 -0
- package/packages/business-components/area-phone-select/index.js +269 -0
- package/packages/business-components/area-phone-select/index.js.gz +0 -0
- package/packages/business-components/area-phone-select/src/Index.vue.d.ts +15 -0
- package/packages/business-components/area-phone-select/src/apis.d.ts +2 -0
- package/packages/business-components/area-phone-select/src/area-popover/index.vue.d.ts +179 -0
- package/packages/business-components/area-phone-select/src/area-popover/type.d.ts +37 -0
- package/packages/business-components/area-phone-select/src/type.d.ts +26 -0
- package/packages/business-components/area-phone-select/src/utils.d.ts +12 -0
- package/packages/business-components/area-phone-select/style.css +1 -0
- package/packages/business-components/area-phone-select/style.css.gz +0 -0
- package/packages/business-components/change-enterprises/i18n/index.d.ts +18 -0
- package/packages/business-components/change-enterprises/index.d.ts +5 -5
- package/packages/business-components/change-enterprises/index.js +65 -59
- package/packages/business-components/change-enterprises/index.js.gz +0 -0
- package/packages/business-components/change-enterprises/src/index.vue.d.ts +1 -1
- package/packages/business-components/change-pwd/i18n/index.d.ts +86 -0
- package/packages/business-components/change-pwd/index.js +143 -114
- package/packages/business-components/change-pwd/index.js.gz +0 -0
- package/packages/business-components/change-pwd/src/hooks/use-changePwd.d.ts +12 -12
- package/packages/business-components/currency-page/i18n/index.d.ts +23 -0
- package/packages/business-components/currency-page/index.js +42 -27
- package/packages/business-components/currency-page/index.js.gz +0 -0
- package/packages/business-components/device-panel/i18n/index.d.ts +1215 -0
- package/packages/business-components/device-panel/index.d.ts +2 -2
- package/packages/business-components/device-panel/index.js +42571 -40295
- package/packages/business-components/device-panel/index.js.gz +0 -0
- package/packages/business-components/device-panel/src/apis.d.ts +2 -2
- package/packages/business-components/device-panel/src/components/alarmDevicePanel/alarmLog/components/dealAlarm.vue.d.ts +2 -2
- package/packages/business-components/device-panel/src/components/alarmDevicePanel/alarmLog/components/historyList.vue.d.ts +2 -2
- package/packages/business-components/device-panel/src/components/alarmDevicePanel/alarmLog/components/liveList.vue.d.ts +2 -2
- package/packages/business-components/device-panel/src/components/alarmDevicePanel/alarmLog/components/logDetail.vue.d.ts +2 -2
- package/packages/business-components/device-panel/src/components/alarmDevicePanel/dataTrends/components/attribute.vue.d.ts +2 -0
- package/packages/business-components/device-panel/src/components/alarmDevicePanel/dataTrends/components/barChart.vue.d.ts +5 -0
- package/packages/business-components/device-panel/src/components/alarmDevicePanel/dataTrends/components/lineChart.vue.d.ts +5 -0
- package/packages/business-components/device-panel/src/components/alarmDevicePanel/dataTrends/index.vue.d.ts +17 -0
- package/packages/business-components/device-panel/src/components/alarmDevicePanel/hooks/use-data-Trends.d.ts +7 -0
- package/packages/business-components/device-panel/src/components/alarmDevicePanel/index.vue.d.ts +2 -2
- package/packages/business-components/device-panel/src/components/alarmDevicePanel/inspectionRecord/components/use-check-item/CheckItem.vue.d.ts +3 -5
- package/packages/business-components/device-panel/src/components/alarmDevicePanel/inspectionRecord/components/use-task-info/TaskInfo.vue.d.ts +4 -7
- package/packages/business-components/device-panel/src/components/alarmDevicePanel/maintenanceRecord/components/use-check-item/CheckItem.vue.d.ts +3 -5
- package/packages/business-components/device-panel/src/components/alarmDevicePanel/maintenanceRecord/components/use-task-info/TaskInfo.vue.d.ts +4 -7
- package/packages/business-components/device-panel/src/components/alarmDevicePanel/operatingData/index.vue.d.ts +1 -7
- package/packages/business-components/device-panel/src/components/alarmDevicePanel/repairRecord/components/use-consumables-record/Consumables.vue.d.ts +3 -6
- package/packages/business-components/device-panel/src/components/alarmDevicePanel/repairRecord/components/use-feedback-record/Feedback.vue.d.ts +3 -5
- package/packages/business-components/device-panel/src/components/alarmDevicePanel/repairRecord/components/use-info/Info.vue.d.ts +3 -6
- package/packages/business-components/device-panel/src/components/alarmDevicePanel/repairRecord/components/use-schedule-track/Track.vue.d.ts +3 -5
- package/packages/business-components/device-panel/src/components/devicePanelModal/alarmLog/components/dealAlarm.vue.d.ts +2 -2
- package/packages/business-components/device-panel/src/components/devicePanelModal/alarmLog/components/historyList.vue.d.ts +2 -2
- package/packages/business-components/device-panel/src/components/devicePanelModal/alarmLog/components/liveList.vue.d.ts +2 -2
- package/packages/business-components/device-panel/src/components/devicePanelModal/alarmLog/components/logDetail.vue.d.ts +2 -2
- package/packages/business-components/device-panel/src/components/devicePanelModal/dataTrends/components/attribute.vue.d.ts +2 -0
- package/packages/business-components/device-panel/src/components/devicePanelModal/dataTrends/components/barChart.vue.d.ts +9 -0
- package/packages/business-components/device-panel/src/components/devicePanelModal/dataTrends/components/lineChart.vue.d.ts +5 -0
- package/packages/business-components/device-panel/src/components/devicePanelModal/dataTrends/index.vue.d.ts +17 -0
- package/packages/business-components/device-panel/src/components/devicePanelModal/hooks/use-data-Trends.d.ts +7 -0
- package/packages/business-components/device-panel/src/components/devicePanelModal/index.vue.d.ts +2 -2
- package/packages/business-components/device-panel/src/components/devicePanelModal/inspectionRecord/components/use-check-item/CheckItem.vue.d.ts +3 -5
- package/packages/business-components/device-panel/src/components/devicePanelModal/inspectionRecord/components/use-task-info/TaskInfo.vue.d.ts +4 -7
- package/packages/business-components/device-panel/src/components/devicePanelModal/maintenanceRecord/components/use-check-item/CheckItem.vue.d.ts +3 -5
- package/packages/business-components/device-panel/src/components/devicePanelModal/maintenanceRecord/components/use-task-info/TaskInfo.vue.d.ts +4 -7
- package/packages/business-components/device-panel/src/components/devicePanelModal/preview/index.vue.d.ts +2 -2
- package/packages/business-components/device-panel/src/components/devicePanelModal/repairRecord/components/use-consumables-record/Consumables.vue.d.ts +3 -6
- package/packages/business-components/device-panel/src/components/devicePanelModal/repairRecord/components/use-feedback-record/Feedback.vue.d.ts +3 -5
- package/packages/business-components/device-panel/src/components/devicePanelModal/repairRecord/components/use-info/Info.vue.d.ts +3 -6
- package/packages/business-components/device-panel/src/components/devicePanelModal/repairRecord/components/use-schedule-track/Track.vue.d.ts +3 -5
- package/packages/business-components/device-panel/src/components/drag-resize/index.vue.d.ts +3 -3
- package/packages/business-components/device-panel/src/components/panelHeaders/index.vue.d.ts +3 -3
- package/packages/business-components/device-panel/src/components/videoDialog/component/GridLayout/GridItem.vue.d.ts +25 -18
- package/packages/business-components/device-panel/src/components/videoDialog/component/GridLayout/GridLayout.vue.d.ts +24 -18
- package/packages/business-components/device-panel/src/components/videoDialog/component/Player/index.vue.d.ts +6 -13
- package/packages/business-components/device-panel/src/hooks/use-operating-data.d.ts +22 -0
- package/packages/business-components/device-panel/style.css +1 -1
- package/packages/business-components/device-panel/style.css.gz +0 -0
- package/packages/business-components/echarts/index.d.ts +5 -5
- package/packages/business-components/echarts/index.js +7909 -7810
- package/packages/business-components/echarts/index.js.gz +0 -0
- package/packages/business-components/echarts/src/Index.vue.d.ts +1 -1
- package/packages/business-components/echarts/src/type.d.ts +2 -0
- package/packages/business-components/echarts/style.css +1 -1
- package/packages/business-components/export-button/hooks/useExport.d.ts +5 -6
- package/packages/business-components/export-button/i18n/index.d.ts +58 -0
- package/packages/business-components/export-button/index.d.ts +4 -4
- package/packages/business-components/export-button/index.js +130 -106
- package/packages/business-components/export-button/index.js.gz +0 -0
- package/packages/business-components/export-button/src/App.vue.d.ts +39 -11
- package/packages/business-components/import-button/hooks/file.d.ts +1 -0
- package/packages/business-components/import-button/hooks/useImport.d.ts +13 -13
- package/packages/business-components/import-button/i18n/index.d.ts +153 -0
- package/packages/business-components/import-button/index.d.ts +2 -2
- package/packages/business-components/import-button/index.js +377 -319
- package/packages/business-components/import-button/index.js.gz +0 -0
- package/packages/business-components/import-button/src/App.vue.d.ts +60 -11
- package/packages/business-components/import-button/src/type.d.ts +2 -0
- package/packages/business-components/import-button/style.css +1 -1
- package/packages/business-components/index.d.ts +2 -0
- package/packages/business-components/index.js +2 -0
- package/packages/business-components/layout-breadcrumb/index.js +86 -72
- package/packages/business-components/layout-breadcrumb/index.js.gz +0 -0
- package/packages/business-components/model-table-dialog/i18n/index.d.ts +33 -0
- package/packages/business-components/model-table-dialog/index.d.ts +56 -50
- package/packages/business-components/model-table-dialog/index.js +546 -544
- package/packages/business-components/model-table-dialog/index.js.gz +0 -0
- package/packages/business-components/model-table-dialog/src/Index.vue.d.ts +258 -111
- package/packages/business-components/model-table-dialog/src/ModelTable.vue.d.ts +6084 -2843
- package/packages/business-components/model-table-dialog/style.css +1 -1
- package/packages/business-components/model-table-dialog/style.css.gz +0 -0
- package/packages/business-components/payment/api.d.ts +8 -0
- package/packages/business-components/payment/i18n/index.d.ts +68 -0
- package/packages/business-components/payment/index.d.ts +56 -0
- package/packages/business-components/payment/index.js +387 -0
- package/packages/business-components/payment/index.js.gz +0 -0
- package/packages/business-components/payment/src/Index.vue.d.ts +7 -0
- package/packages/business-components/payment/style.css +1 -0
- package/packages/business-components/payment/type.d.ts +44 -0
- package/packages/business-components/process-configuration/i18n/index.d.ts +147 -0
- package/packages/business-components/process-configuration/index.d.ts +2 -0
- package/packages/business-components/process-configuration/index.js +256 -218
- package/packages/business-components/process-configuration/index.js.gz +0 -0
- package/packages/business-components/process-configuration/src/hooks/useDeleteDialog.d.ts +2 -3
- package/packages/business-components/process-configuration/src/index.vue.d.ts +2 -0
- package/packages/business-components/process-configuration/src/type.d.ts +3 -0
- package/packages/business-components/process-configuration/style.css +1 -1
- package/packages/business-components/process-configuration/style.css.gz +0 -0
- package/packages/business-components/process-form/api-service/formPreView.d.ts +7 -0
- package/packages/business-components/process-form/apis.d.ts +1 -0
- package/packages/business-components/process-form/i18n/index.d.ts +423 -0
- package/packages/business-components/process-form/index.js +1389 -1230
- package/packages/business-components/process-form/index.js.gz +0 -0
- package/packages/business-components/process-form/src/hooks/useForm.d.ts +15 -13
- package/packages/business-components/process-form/src/widgets/store.d.ts +1 -0
- package/packages/business-components/process-form/style.css +1 -1
- package/packages/business-components/process-log/i18n/index.d.ts +42 -1
- package/packages/business-components/process-log/index.js +342 -328
- package/packages/business-components/process-log/index.js.gz +0 -0
- package/packages/business-components/process-log/src/utils/prefix-mothed.d.ts +1 -1
- package/packages/business-components/process-log/style.css +1 -1
- package/packages/business-components/process-log/style.css.gz +0 -0
- package/packages/business-components/process-search-form/i18n/index.d.ts +48 -0
- package/packages/business-components/process-search-form/index.d.ts +2 -2
- package/packages/business-components/process-search-form/index.js +574 -598
- package/packages/business-components/process-search-form/index.js.gz +0 -0
- package/packages/business-components/process-search-form/src/App.vue.d.ts +2 -2
- package/packages/business-components/process-search-form/src/type.d.ts +1 -1
- package/packages/business-components/process-table/i18n/index.d.ts +43 -0
- package/packages/business-components/process-table/index.d.ts +44 -33
- package/packages/business-components/process-table/index.js +624 -654
- package/packages/business-components/process-table/index.js.gz +0 -0
- package/packages/business-components/process-table/src/App.vue.d.ts +78 -1975
- package/packages/business-components/process-table/src/type.d.ts +4 -0
- package/packages/business-components/process-table/style.css +1 -1
- package/packages/business-components/upload-file/i18n/index.d.ts +8 -0
- package/packages/business-components/upload-file/index.d.ts +8 -0
- package/packages/business-components/upload-file/index.js +62 -54
- package/packages/business-components/upload-file/index.js.gz +0 -0
- package/packages/business-components/upload-file/src/App.vue.d.ts +2 -0
- package/packages/business-components/upload-file/src/type.d.ts +6 -0
- package/packages/business-components/upload-file/style.css +1 -1
- package/packages/business-components/urgent-panel/i18n/index.d.ts +523 -0
- package/packages/business-components/urgent-panel/index.d.ts +2 -2
- package/packages/business-components/urgent-panel/index.js +1514 -1373
- package/packages/business-components/urgent-panel/index.js.gz +0 -0
- package/packages/business-components/urgent-panel/src/components/drag-resize/index.vue.d.ts +3 -3
- package/packages/business-components/urgent-panel/src/components/panelHeaders/index.vue.d.ts +3 -3
- package/packages/business-components/urgent-panel/src/components/urgentPanelModal/components/EventInfo.vue.d.ts +4 -6
- package/packages/business-components/urgent-panel/src/components/urgentPanelModal/components/FileRecord.vue.d.ts +3 -4
- package/packages/business-components/urgent-panel/src/components/urgentPanelModal/components/PlanInfo.vue.d.ts +3 -4
- package/packages/business-components/urgent-panel/src/components/urgentPanelModal/components/use-feedback-record/Feedback.vue.d.ts +3 -5
- package/packages/business-components/urgent-panel/src/components/urgentPanelModal/components/use-release-urgent/ReleaseUrgent.vue.d.ts +4 -5
- package/packages/business-components/urgent-panel/src/components/urgentPanelModal/components/use-schedule-track/Track.vue.d.ts +3 -5
- package/packages/business-components/urgent-panel/style.css +1 -1
- package/packages/business-components/urgent-panel/style.css.gz +0 -0
- package/packages/business-components/user-org-dialog/i18n/index.d.ts +87 -1
- package/packages/business-components/user-org-dialog/index.js +459 -426
- package/packages/business-components/user-org-dialog/index.js.gz +0 -0
- package/packages/business-components/user-org-dialog/style.css +1 -1
- package/packages/business-components/user-org-dialog/style.css.gz +0 -0
- package/packages/business-components/video-dialog/i18n/index.d.ts +103 -0
- package/packages/business-components/video-dialog/index.js +324 -302
- package/packages/business-components/video-dialog/index.js.gz +0 -0
- package/packages/business-components/video-dialog/src/component/GridLayout/GridItem.vue.d.ts +25 -18
- package/packages/business-components/video-dialog/src/component/GridLayout/GridLayout.vue.d.ts +24 -18
- package/packages/business-components/video-dialog/src/component/Player/index.vue.d.ts +6 -14
- package/packages/components/alert/index.d.ts +31 -31
- package/packages/components/alert/index.js +4 -4
- package/packages/components/alert/index.js.gz +0 -0
- package/packages/components/alert/src/index.vue.d.ts +9 -9
- package/packages/components/audio-video/index.d.ts +8 -8
- package/packages/components/audio-video/index.js +141 -148
- package/packages/components/audio-video/index.js.gz +0 -0
- package/packages/components/audio-video/src/player/index.vue.d.ts +2 -2
- package/packages/components/audio-video/style.css +1 -1
- package/packages/components/autocomplete/index.d.ts +45 -27
- package/packages/components/autocomplete/index.js +146 -134
- package/packages/components/autocomplete/index.js.gz +0 -0
- package/packages/components/autocomplete/src/index.vue.d.ts +89 -3337
- package/packages/components/autocomplete/src/type.d.ts +9 -1
- package/packages/components/autocomplete/style.css +1 -1
- package/packages/components/autocomplete/style.css.gz +0 -0
- package/packages/components/breadcrumb/index.d.ts +14 -7
- package/packages/components/breadcrumb/index.js +48 -45
- package/packages/components/breadcrumb/index.js.gz +0 -0
- package/packages/components/breadcrumb/src/BreadCrumb.vue.d.ts +32 -12
- package/packages/components/breadcrumb/src/BreadCrumbItem.vue.d.ts +17 -10
- package/packages/components/breadcrumb/src/type.d.ts +1 -0
- package/packages/components/breadcrumb/style.css +1 -1
- package/packages/components/breadcrumb/style.css.gz +0 -0
- package/packages/components/button/index.d.ts +3 -5
- package/packages/components/button/index.js +132 -137
- package/packages/components/button/index.js.gz +0 -0
- package/packages/components/button/src/Index.vue.d.ts +5 -7
- package/packages/components/button/style.css +1 -1
- package/packages/components/button/style.css.gz +0 -0
- package/packages/components/calendar/i18n/index.d.ts +80 -26
- package/packages/components/calendar/index.d.ts +16 -19
- package/packages/components/calendar/index.js +279 -279
- package/packages/components/calendar/index.js.gz +0 -0
- package/packages/components/calendar/src/Index.vue.d.ts +15 -18
- package/packages/components/calendar/src/calendar-table.vue.d.ts +6 -6
- package/packages/components/calendar/src/old-Index.vue.d.ts +7 -7
- package/packages/components/cascader/i18n/index.d.ts +8 -0
- package/packages/components/cascader/index.d.ts +222 -13
- package/packages/components/cascader/index.js +177 -200
- package/packages/components/cascader/index.js.gz +0 -0
- package/packages/components/cascader/src/Index.vue.d.ts +7 -8
- package/packages/components/cascader/src/type.d.ts +0 -3
- package/packages/components/cascader/style.css +1 -1
- package/packages/components/cascader/style.css.gz +0 -0
- package/packages/components/checkbox/index.d.ts +29 -35
- package/packages/components/checkbox/index.js +149 -137
- package/packages/components/checkbox/index.js.gz +0 -0
- package/packages/components/checkbox/src/Index.vue.d.ts +72 -16
- package/packages/components/checkbox/style.css +1 -1
- package/packages/components/checkbox/style.css.gz +0 -0
- package/packages/components/collapse-panel/index.d.ts +9 -9
- package/packages/components/collapse-panel/index.js +1 -1
- package/packages/components/collapse-panel/index.js.gz +0 -0
- package/packages/components/collapse-panel/src/Index.vue.d.ts +21 -12
- package/packages/components/collapse-transition/index.d.ts +1 -1
- package/packages/components/collapse-transition/index.js +2 -2
- package/packages/components/collapse-transition/index.js.gz +0 -0
- package/packages/components/collapse-transition/src/Index.vue.d.ts +18 -9
- package/packages/components/collaspe/index.d.ts +7 -7
- package/packages/components/collaspe/index.js +2 -2
- package/packages/components/collaspe/index.js.gz +0 -0
- package/packages/components/collaspe/src/Index.vue.d.ts +20 -10
- package/packages/components/color-picker/i18n/index.d.ts +8 -0
- package/packages/components/color-picker/index.js +100 -97
- package/packages/components/color-picker/index.js.gz +0 -0
- package/packages/components/color-picker/src/type.d.ts +6 -3
- package/packages/components/color-picker/style.css +1 -1
- package/packages/components/color-picker/style.css.gz +0 -0
- package/packages/components/custom-search-item/i18n/index.d.ts +8 -0
- package/packages/components/custom-search-item/index.d.ts +7 -7
- package/packages/components/custom-search-item/index.js +21 -20
- package/packages/components/custom-search-item/index.js.gz +0 -0
- package/packages/components/custom-search-item/src/Index.vue.d.ts +31 -10
- package/packages/components/date-picker/i18n/index.d.ts +33 -0
- package/packages/components/date-picker/index.d.ts +68 -48
- package/packages/components/date-picker/index.js +940 -1007
- package/packages/components/date-picker/index.js.gz +0 -0
- package/packages/components/date-picker/src/DatePicker.vue.d.ts +14 -12
- package/packages/components/date-picker/src/DateRangePicker.vue.d.ts +8 -6
- package/packages/components/date-picker/src/RangePicker.vue.d.ts +13 -11
- package/packages/components/date-picker/src/TimePicker.vue.d.ts +8 -6
- package/packages/components/date-picker/src/TimeRangePicker.vue.d.ts +10 -7
- package/packages/components/date-picker/src/type.d.ts +96 -1
- package/packages/components/date-picker/style.css +1 -1
- package/packages/components/date-picker/style.css.gz +0 -0
- package/packages/components/dialog/i18n/index.d.ts +6 -0
- package/packages/components/dialog/index.d.ts +10 -11
- package/packages/components/dialog/index.js +109 -109
- package/packages/components/dialog/index.js.gz +0 -0
- package/packages/components/dialog/src/Index.vue.d.ts +9 -10
- package/packages/components/dialog/style.css +1 -1
- package/packages/components/dialog/style.css.gz +0 -0
- package/packages/components/dimple-layout/editor/editor.vue.d.ts +4 -16
- package/packages/components/dimple-layout/editor/plugins/$svg/type.d.ts +15 -0
- package/packages/components/dimple-layout/editor/rule.vue.d.ts +4 -22
- package/packages/components/dimple-layout/editor/tools/background-image/component.vue.d.ts +3 -4
- package/packages/components/dimple-layout/editor/tools/import/component.vue.d.ts +3 -4
- package/packages/components/dimple-layout/editor/type.d.ts +5 -2
- package/packages/components/dimple-layout/i18n/index.d.ts +53 -0
- package/packages/components/dimple-layout/index.js +2195 -2150
- package/packages/components/dimple-layout/index.js.gz +0 -0
- package/packages/components/dimple-layout/render/render.vue.d.ts +4 -12
- package/packages/components/dimple-layout/style.css +1 -1
- package/packages/components/dimple-layout/style.css.gz +0 -0
- package/packages/components/drawer/index.d.ts +3 -3
- package/packages/components/drawer/index.js +2 -2
- package/packages/components/drawer/index.js.gz +0 -0
- package/packages/components/drawer/src/Index.vue.d.ts +17 -289
- package/packages/components/dropdown/i18n/index.d.ts +8 -0
- package/packages/components/dropdown/index.d.ts +4 -4
- package/packages/components/dropdown/index.js +26 -25
- package/packages/components/dropdown/index.js.gz +0 -0
- package/packages/components/dropdown/src/dropdownItem.vue.d.ts +13 -10
- package/packages/components/dropdown/src/dropdownMenu.vue.d.ts +11 -10
- package/packages/components/dropdown/src/index.vue.d.ts +24 -12669
- package/packages/components/edit-table/index.d.ts +183 -100
- package/packages/components/edit-table/index.js +2095 -1668
- package/packages/components/edit-table/index.js.gz +0 -0
- package/packages/components/edit-table/src/components/index.d.ts +1 -0
- package/packages/components/edit-table/src/components/row-button/index.vue.d.ts +5 -0
- package/packages/components/edit-table/src/components/row-button/type.d.ts +13 -0
- package/packages/components/edit-table/src/hooks/use-validator.d.ts +9 -3
- package/packages/components/edit-table/src/index.vue.d.ts +4127 -1981
- package/packages/components/edit-table/src/type.d.ts +28 -3
- package/packages/components/edit-table/src/utils.d.ts +9 -5
- package/packages/components/edit-table/style.css +1 -1
- package/packages/components/edit-table/style.css.gz +0 -0
- package/packages/components/empty/i18n/index.d.ts +1 -0
- package/packages/components/empty/index.d.ts +6 -6
- package/packages/components/empty/index.js +22 -24
- package/packages/components/empty/index.js.gz +0 -0
- package/packages/components/empty/src/Index.vue.d.ts +28 -13
- package/packages/components/error-overlay-model/index.d.ts +6 -0
- package/packages/components/error-overlay-model/index.js +87 -0
- package/packages/components/error-overlay-model/index.js.gz +0 -0
- package/packages/components/error-overlay-model/src/index.vue.d.ts +7 -0
- package/packages/components/error-overlay-model/src/type.d.ts +13 -0
- package/packages/components/form/index.d.ts +13 -13
- package/packages/components/form/index.js +4 -4
- package/packages/components/form/index.js.gz +0 -0
- package/packages/components/form/src/Index.vue.d.ts +24 -12
- package/packages/components/form-item/index.js +788 -886
- package/packages/components/form-item/index.js.gz +0 -0
- package/packages/components/form-item/src/type.d.ts +2 -0
- package/packages/components/form-item/style.css +1 -1
- package/packages/components/form-item/style.css.gz +0 -0
- package/packages/components/form-item/theme/index.d.ts +3 -0
- package/packages/components/icon/index.js +71 -71
- package/packages/components/icon/index.js.gz +0 -0
- package/packages/components/icon/src/base-icon.vue.d.ts +18 -10
- package/packages/components/image-upload/i18n/index.d.ts +23 -0
- package/packages/components/image-upload/index.js +131 -125
- package/packages/components/image-upload/index.js.gz +0 -0
- package/packages/components/image-upload/src/hooks/use-imageUpload.d.ts +1 -1
- package/packages/components/image-upload/src/type.d.ts +1 -1
- package/packages/components/image-viewer/index.js +354 -363
- package/packages/components/image-viewer/index.js.gz +0 -0
- package/packages/components/image-viewer/src/hooks/use-imageViewer.d.ts +2 -2
- package/packages/components/image-viewer/src/type.d.ts +1 -1
- package/packages/components/image-viewer/src/use-micro-app-image-viewer/index.d.ts +1 -1
- package/packages/components/image-viewer/style.css +1 -1
- package/packages/components/image-viewer/style.css.gz +0 -0
- package/packages/components/index.d.ts +2 -0
- package/packages/components/index.js +2 -0
- package/packages/components/input/i18n/index.d.ts +18 -0
- package/packages/components/input/index.d.ts +9 -7
- package/packages/components/input/index.js +145 -175
- package/packages/components/input/index.js.gz +0 -0
- package/packages/components/input/src/index.vue.d.ts +8 -7
- package/packages/components/input/src/type.d.ts +1 -2
- package/packages/components/input/style.css +1 -1
- package/packages/components/input/style.css.gz +0 -0
- package/packages/components/input-dialog-select/i18n/index.d.ts +7 -1
- package/packages/components/input-dialog-select/index.d.ts +1 -1
- package/packages/components/input-dialog-select/index.js +115 -166
- package/packages/components/input-dialog-select/index.js.gz +0 -0
- package/packages/components/input-dialog-select/src/Index.vue.d.ts +1 -1
- package/packages/components/input-dialog-select/src/type.d.ts +0 -3
- package/packages/components/input-dialog-select/style.css +1 -1
- package/packages/components/input-dialog-select/style.css.gz +0 -0
- package/packages/components/input-dialog-select/theme/index.d.ts +1 -1
- package/packages/components/input-number/index.d.ts +131 -0
- package/packages/components/input-number/index.js +184 -198
- package/packages/components/input-number/index.js.gz +0 -0
- package/packages/components/input-number/src/App.vue.d.ts +2 -5675
- package/packages/components/input-number/src/type.d.ts +3 -3
- package/packages/components/input-number/style.css +1 -1
- package/packages/components/input-number/style.css.gz +0 -0
- package/packages/components/input-number/theme/index.d.ts +1 -1
- package/packages/components/live-player/i18n/index.d.ts +13 -0
- package/packages/components/live-player/index.d.ts +7 -7
- package/packages/components/live-player/index.js +1455 -1446
- package/packages/components/live-player/index.js.gz +0 -0
- package/packages/components/live-player/src/das-live-player.vue.d.ts +29 -12
- package/packages/components/live-player/style.css +1 -1
- package/packages/components/{button → loading}/i18n/index.d.ts +2 -1
- package/packages/components/loading/index.js +73 -72
- package/packages/components/loading/index.js.gz +0 -0
- package/packages/components/map/i18n/index.d.ts +33 -0
- package/packages/components/map/index.js +1086 -809
- package/packages/components/map/index.js.gz +0 -0
- package/packages/components/map/src/get-sdk-config.d.ts +1 -1
- package/packages/components/map/src/hooks/use-baidu.d.ts +1 -11
- package/packages/components/map/src/hooks/use-gaode.d.ts +1 -11
- package/packages/components/map/src/hooks/use-google.d.ts +16 -0
- package/packages/components/map/src/hooks/use-map.d.ts +2 -0
- package/packages/components/map/src/type.d.ts +1 -1
- package/packages/components/map/style.css +1 -1
- package/packages/components/menu-aside/i18n/index.d.ts +8 -0
- package/packages/components/menu-aside/index.d.ts +6 -4
- package/packages/components/menu-aside/index.js +722 -629
- package/packages/components/menu-aside/index.js.gz +0 -0
- package/packages/components/menu-aside/src/Index.vue.d.ts +8 -6
- package/packages/components/menu-aside/src/menu-icon.vue.d.ts +4 -6
- package/packages/components/menu-aside/src/style-theme.d.ts +15 -0
- package/packages/components/menu-aside/src/sub-menu/sub-menu.vue.d.ts +6 -5
- package/packages/components/menu-aside/style.css +1 -1
- package/packages/components/menu-aside/style.css.gz +0 -0
- package/packages/components/menu-aside/theme/base.d.ts +3 -1
- package/packages/components/menu-header/index.d.ts +2 -2
- package/packages/components/menu-header/index.js +44 -37
- package/packages/components/menu-header/index.js.gz +0 -0
- package/packages/components/menu-header/src/Index.vue.d.ts +4 -4
- package/packages/components/menu-header/src/style-theme.d.ts +5 -0
- package/packages/components/menu-header/style.css +1 -1
- package/packages/components/menu-header/style.css.gz +0 -0
- package/packages/components/menu-header/theme/base.d.ts +1 -0
- package/packages/components/message/i18n/index.d.ts +8 -0
- package/packages/components/message/index.js +16 -15
- package/packages/components/message/index.js.gz +0 -0
- package/packages/components/{search → notification}/i18n/index.d.ts +2 -1
- package/packages/components/notification/index.js +9 -8
- package/packages/components/notification/index.js.gz +0 -0
- package/packages/components/pagination/i18n/index.d.ts +23 -0
- package/packages/components/pagination/index.d.ts +19 -19
- package/packages/components/pagination/index.js +148 -138
- package/packages/components/pagination/index.js.gz +0 -0
- package/packages/components/pagination/src/Pagination.vue.d.ts +84 -113
- package/packages/components/pagination/style.css +1 -1
- package/packages/components/pagination/style.css.gz +0 -0
- package/packages/components/popover/i18n/index.d.ts +2 -0
- package/packages/components/popover/index.d.ts +165 -4
- package/packages/components/popover/index.js +36 -33
- package/packages/components/popover/index.js.gz +0 -0
- package/packages/components/popover/src/Index.vue.d.ts +61 -0
- package/packages/components/popover/src/type.d.ts +50 -0
- package/packages/components/popup-mask/index.d.ts +21 -21
- package/packages/components/popup-mask/index.js +3 -3
- package/packages/components/popup-mask/index.js.gz +0 -0
- package/packages/components/popup-mask/src/Index.vue.d.ts +43 -24
- package/packages/components/preview/i18n/index.d.ts +1 -0
- package/packages/components/preview/index.d.ts +4 -4
- package/packages/components/preview/index.js +9 -10
- package/packages/components/preview/index.js.gz +0 -0
- package/packages/components/preview/src/Index.vue.d.ts +19 -11
- package/packages/components/preview/style.css +1 -1
- package/packages/components/progress/index.d.ts +2 -2
- package/packages/components/progress/index.js +59 -54
- package/packages/components/progress/index.js.gz +0 -0
- package/packages/components/progress/src/Index.vue.d.ts +53 -13
- package/packages/components/progress/style.css +1 -1
- package/packages/components/progress/style.css.gz +0 -0
- package/packages/components/radio/index.d.ts +31 -40
- package/packages/components/radio/index.js +1 -1
- package/packages/components/radio/index.js.gz +0 -0
- package/packages/components/radio/src/Index.vue.d.ts +67 -20
- package/packages/components/radio-tabs/index.js +8 -8
- package/packages/components/radio-tabs/index.js.gz +0 -0
- package/packages/components/radio-tabs/style.css +1 -1
- package/packages/components/radio-tabs/style.css.gz +0 -0
- package/packages/components/rich-editor/i18n/index.d.ts +11 -0
- package/packages/components/rich-editor/index.d.ts +5 -5
- package/packages/components/rich-editor/index.js +27332 -20658
- package/packages/components/rich-editor/index.js.gz +0 -0
- package/packages/components/rich-editor/src/Index.vue.d.ts +2 -3
- package/packages/components/rich-editor/src/hooks/use-custom-menu.d.ts +0 -1
- package/packages/components/rich-editor/src/hooks/use-rich-editor.d.ts +0 -1
- package/packages/components/rich-editor/src/type.d.ts +6 -0
- package/packages/components/rich-editor/style.css +1 -1
- package/packages/components/rich-editor/style.css.gz +0 -0
- package/packages/components/scrollbar/index.d.ts +1 -1
- package/packages/components/scrollbar/index.js +4 -4
- package/packages/components/scrollbar/index.js.gz +0 -0
- package/packages/components/scrollbar/src/scrollbar.vue.d.ts +22 -1080
- package/packages/components/scrollbar/style.css +1 -1
- package/packages/components/scrollbar/style.css.gz +0 -0
- package/packages/components/search/index.d.ts +12 -89
- package/packages/components/search/index.js +135 -126
- package/packages/components/search/index.js.gz +0 -0
- package/packages/components/search/src/Index.vue.d.ts +13 -137
- package/packages/components/search/src/type.d.ts +26 -4
- package/packages/components/search/style.css +1 -1
- package/packages/components/search/style.css.gz +0 -0
- package/packages/components/search-form/i18n/index.d.ts +38 -0
- package/packages/components/search-form/index.js +945 -854
- package/packages/components/search-form/index.js.gz +0 -0
- package/packages/components/search-form/src/Index.vue.d.ts +111 -14
- package/packages/components/search-form/src/InputSelect.vue.d.ts +2 -2
- package/packages/components/search-form/src/SearchDateRange.vue.d.ts +3 -2
- package/packages/components/search-form/src/hooks/common.d.ts +1 -0
- package/packages/components/search-form/src/hooks/searchFormItem.d.ts +2 -0
- package/packages/components/search-form/src/type.d.ts +9 -0
- package/packages/components/search-form/style.css +1 -1
- package/packages/components/search-form/style.css.gz +0 -0
- package/packages/components/select/i18n/index.d.ts +23 -0
- package/packages/components/select/index.d.ts +12 -12
- package/packages/components/select/index.js +409 -466
- package/packages/components/select/index.js.gz +0 -0
- package/packages/components/select/src/Select.vue.d.ts +15 -14
- package/packages/components/select/style.css +1 -1
- package/packages/components/select/style.css.gz +0 -0
- package/packages/components/select-input/index.d.ts +6 -4
- package/packages/components/select-input/index.js +99 -62
- package/packages/components/select-input/index.js.gz +0 -0
- package/packages/components/select-input/src/Index.vue.d.ts +6 -4
- package/packages/components/select-input/src/hooks/use-select-input.d.ts +6 -0
- package/packages/components/select-input/src/type.d.ts +5 -0
- package/packages/components/select-input/style.css +1 -1
- package/packages/components/select-input/style.css.gz +0 -0
- package/packages/components/select-list/i18n/index.d.ts +4 -0
- package/packages/components/select-list/index.d.ts +27 -9
- package/packages/components/select-list/index.js +701 -664
- package/packages/components/select-list/index.js.gz +0 -0
- package/packages/components/select-list/src/Index.vue.d.ts +86 -21
- package/packages/components/select-list/src/hooks/use-select-list.d.ts +2 -0
- package/packages/components/select-list/src/type.d.ts +22 -4
- package/packages/components/select-list/style.css +1 -1
- package/packages/components/select-list/style.css.gz +0 -0
- package/packages/components/select-list/theme/index.d.ts +2 -0
- package/packages/components/special-range-picker-month/i18n/index.d.ts +4 -0
- package/packages/components/special-range-picker-month/index.js +77 -77
- package/packages/components/special-range-picker-month/index.js.gz +0 -0
- package/packages/components/special-range-picker-year/i18n/index.d.ts +3 -0
- package/packages/components/special-range-picker-year/index.js +84 -84
- package/packages/components/special-range-picker-year/index.js.gz +0 -0
- package/packages/components/spin/i18n/index.d.ts +8 -0
- package/packages/components/spin/index.d.ts +1 -1
- package/packages/components/spin/index.js +34 -33
- package/packages/components/spin/index.js.gz +0 -0
- package/packages/components/spin/src/index.vue.d.ts +19 -10
- package/packages/components/split-panel/index.d.ts +20 -20
- package/packages/components/split-panel/index.js +4 -4
- package/packages/components/split-panel/index.js.gz +0 -0
- package/packages/components/split-panel/src/Index.vue.d.ts +6 -6
- package/packages/components/step/index.js +2 -2
- package/packages/components/step/index.js.gz +0 -0
- package/packages/components/step/src/stepItem.vue.d.ts +22 -11
- package/packages/components/steps/index.d.ts +1 -1
- package/packages/components/steps/index.js +2 -2
- package/packages/components/steps/src/steps.vue.d.ts +11 -10
- package/packages/components/switch/index.js +2 -2
- package/packages/components/switch/index.js.gz +0 -0
- package/packages/components/table/i18n/index.d.ts +94 -0
- package/packages/components/table/index.d.ts +299 -206
- package/packages/components/table/index.js +4072 -3967
- package/packages/components/table/index.js.gz +0 -0
- package/packages/components/table/src/Table.vue.d.ts +1204 -478
- package/packages/components/table/src/hooks/use-operation.d.ts +55 -5
- package/packages/components/table/src/table-column/index.vue.d.ts +426 -191
- package/packages/components/table/src/table-column/type.d.ts +3 -3
- package/packages/components/table/src/type.d.ts +16 -3
- package/packages/components/table/style.css +1 -1
- package/packages/components/table/style.css.gz +0 -0
- package/packages/components/tabs/i18n/index.d.ts +18 -0
- package/packages/components/tabs/index.d.ts +13 -12
- package/packages/components/tabs/index.js +124 -118
- package/packages/components/tabs/index.js.gz +0 -0
- package/packages/components/tabs/src/Tabs.vue.d.ts +106 -0
- package/packages/components/tabs/style.css +1 -1
- package/packages/components/tabs/style.css.gz +0 -0
- package/packages/components/tag/index.d.ts +1 -1
- package/packages/components/tag/index.js +8 -8
- package/packages/components/tag/index.js.gz +0 -0
- package/packages/components/tag/src/Index.vue.d.ts +3 -3
- package/packages/components/tag/style.css +1 -1
- package/packages/components/tag/style.css.gz +0 -0
- package/packages/components/text-tooltip/index.js +841 -818
- package/packages/components/text-tooltip/index.js.gz +0 -0
- package/packages/components/text-tooltip/src/type.d.ts +1 -62
- package/packages/components/time-line/index.js +36 -43
- package/packages/components/time-line/index.js.gz +0 -0
- package/packages/components/time-line/src/Index.vue.d.ts +16 -10
- package/packages/components/time-line/src/TimelineItem.vue.d.ts +46 -0
- package/packages/components/tooltip/i18n/index.d.ts +8 -0
- package/packages/components/tooltip/index.d.ts +21 -12
- package/packages/components/tooltip/index.js +87 -78
- package/packages/components/tooltip/index.js.gz +0 -0
- package/packages/components/tooltip/src/index.vue.d.ts +48 -5886
- package/packages/components/tooltip/src/type.d.ts +15 -2
- package/packages/components/tooltip/style.css +1 -1
- package/packages/components/tooltip/style.css.gz +0 -0
- package/packages/components/tree/i18n/index.d.ts +48 -0
- package/packages/components/tree/index.js +1467 -1519
- package/packages/components/tree/index.js.gz +0 -0
- package/packages/components/tree/src/App.vue.d.ts +40 -49
- package/packages/components/tree/src/empty.vue.d.ts +8 -10
- package/packages/components/tree/src/hooks/use-lazy-tree.d.ts +3 -2
- package/packages/components/tree/src/hooks/use-tree.d.ts +1 -1
- package/packages/components/tree/src/type.d.ts +14 -7
- package/packages/components/tree-select/index.js +378 -348
- package/packages/components/tree-select/index.js.gz +0 -0
- package/packages/components/tree-select/src/App.vue.d.ts +118 -134
- package/packages/components/tree-select/src/hooks/use-tree-select.d.ts +110 -127
- package/packages/components/tree-select/src/type.d.ts +6 -2
- package/packages/components/tree-select/style.css +1 -1
- package/packages/components/tree-select/style.css.gz +0 -0
- package/packages/components/tree-table/index.d.ts +65 -74
- package/packages/components/tree-table/index.js +161 -164
- package/packages/components/tree-table/index.js.gz +0 -0
- package/packages/components/tree-table/src/App.vue.d.ts +20 -23
- package/packages/components/tree-table/src/type.d.ts +0 -2
- package/packages/components/tree-table/style.css +1 -1
- package/packages/components/tree-table/style.css.gz +0 -0
- package/packages/components/tree-v2/i18n/index.d.ts +36 -0
- package/packages/components/tree-v2/index.d.ts +554 -0
- package/packages/components/tree-v2/index.js +4684 -0
- package/packages/components/tree-v2/index.js.gz +0 -0
- package/packages/components/tree-v2/src/App.vue.d.ts +88 -0
- package/packages/components/tree-v2/src/empty.vue.d.ts +17 -0
- package/packages/components/tree-v2/src/expand-icon.vue.d.ts +2 -0
- package/packages/components/tree-v2/src/hooks/use-drag.d.ts +3 -0
- package/packages/components/tree-v2/src/hooks/use-lazy-tree.d.ts +15 -0
- package/packages/components/tree-v2/src/hooks/use-style.d.ts +5 -0
- package/packages/components/tree-v2/src/hooks/use-tree.d.ts +43 -0
- package/packages/components/tree-v2/src/type.d.ts +286 -0
- package/packages/components/tree-v2/src/utils.d.ts +18 -0
- package/packages/components/tree-v2/style.css +1 -0
- package/packages/components/tree-v2/style.css.gz +0 -0
- package/packages/components/tree-v2/theme/base.d.ts +16 -0
- package/packages/components/upload/i18n/index.d.ts +10 -0
- package/packages/components/upload/index.d.ts +7 -5
- package/packages/components/upload/index.js +156 -136
- package/packages/components/upload/index.js.gz +0 -0
- package/packages/components/upload/src/Index.vue.d.ts +56 -17
- package/packages/components/upload/src/type.d.ts +3 -0
- package/packages/components/upload/style.css +1 -1
- package/packages/components/upload/style.css.gz +0 -0
- package/packages/components/virtual-tree/i18n/index.d.ts +8 -0
- package/packages/components/virtual-tree/index.js +58 -51
- package/packages/components/virtual-tree/index.js.gz +0 -0
- package/packages/components/virtual-tree/src/App.vue.d.ts +146 -145
- package/packages/components/virtual-tree/src/type.d.ts +4 -1
- package/packages/components/watermark/index.d.ts +1 -1
- package/packages/components/watermark/index.js +2 -2
- package/packages/components/watermark/src/index.vue.d.ts +11 -10
- package/packages/global/theme/index.js +2 -1
- package/packages/global/theme/index.js.gz +0 -0
- package/packages/icons/1-grids/index.js +2 -2
- package/packages/icons/1-grids/index.js.gz +0 -0
- package/packages/icons/1-grids/index.vue.d.ts +13 -10
- package/packages/icons/4-grids/index.js +2 -2
- package/packages/icons/4-grids/index.js.gz +0 -0
- package/packages/icons/4-grids/index.vue.d.ts +13 -10
- package/packages/icons/9-grids/index.js +2 -2
- package/packages/icons/9-grids/index.js.gz +0 -0
- package/packages/icons/9-grids/index.vue.d.ts +13 -10
- package/packages/icons/add/index.js +2 -2
- package/packages/icons/add/index.js.gz +0 -0
- package/packages/icons/add/index.vue.d.ts +13 -10
- package/packages/icons/add-2/index.js +2 -2
- package/packages/icons/add-2/index.vue.d.ts +13 -10
- package/packages/icons/add-item/index.js +2 -2
- package/packages/icons/add-item/index.js.gz +0 -0
- package/packages/icons/add-item/index.vue.d.ts +13 -10
- package/packages/icons/addto/index.js +2 -2
- package/packages/icons/addto/index.js.gz +0 -0
- package/packages/icons/addto/index.vue.d.ts +13 -10
- package/packages/icons/alarm/index.js +2 -2
- package/packages/icons/alarm/index.js.gz +0 -0
- package/packages/icons/alarm/index.vue.d.ts +13 -10
- package/packages/icons/arrow-first/index.js +2 -2
- package/packages/icons/arrow-first/index.js.gz +0 -0
- package/packages/icons/arrow-first/index.vue.d.ts +13 -10
- package/packages/icons/arrow-last/index.js +2 -2
- package/packages/icons/arrow-last/index.js.gz +0 -0
- package/packages/icons/arrow-last/index.vue.d.ts +13 -10
- package/packages/icons/back/index.js +2 -2
- package/packages/icons/back/index.js.gz +0 -0
- package/packages/icons/back/index.vue.d.ts +13 -10
- package/packages/icons/bianjigongzuotai/index.js +2 -2
- package/packages/icons/bianjigongzuotai/index.js.gz +0 -0
- package/packages/icons/bianjigongzuotai/index.vue.d.ts +13 -10
- package/packages/icons/biaochi/index.js +2 -2
- package/packages/icons/biaochi/index.js.gz +0 -0
- package/packages/icons/biaochi/index.vue.d.ts +13 -10
- package/packages/icons/bim/index.js +2 -2
- package/packages/icons/bim/index.js.gz +0 -0
- package/packages/icons/bim/index.vue.d.ts +13 -10
- package/packages/icons/bold/index.js +2 -2
- package/packages/icons/bold/index.js.gz +0 -0
- package/packages/icons/bold/index.vue.d.ts +13 -10
- package/packages/icons/camera/index.js +2 -2
- package/packages/icons/camera/index.js.gz +0 -0
- package/packages/icons/camera/index.vue.d.ts +13 -10
- package/packages/icons/camera-2/index.js +2 -2
- package/packages/icons/camera-2/index.js.gz +0 -0
- package/packages/icons/camera-2/index.vue.d.ts +13 -10
- package/packages/icons/camera-3/index.js +2 -2
- package/packages/icons/camera-3/index.js.gz +0 -0
- package/packages/icons/camera-3/index.vue.d.ts +13 -10
- package/packages/icons/cancel-full-screen/index.js +2 -2
- package/packages/icons/cancel-full-screen/index.js.gz +0 -0
- package/packages/icons/cancel-full-screen/index.vue.d.ts +13 -10
- package/packages/icons/card/index.js +2 -2
- package/packages/icons/card/index.js.gz +0 -0
- package/packages/icons/card/index.vue.d.ts +13 -10
- package/packages/icons/card-view/index.js +2 -2
- package/packages/icons/card-view/index.js.gz +0 -0
- package/packages/icons/card-view/index.vue.d.ts +13 -10
- package/packages/icons/caret-bottom/index.js +2 -2
- package/packages/icons/caret-bottom/index.js.gz +0 -0
- package/packages/icons/caret-bottom/index.vue.d.ts +13 -10
- package/packages/icons/caret-right/index.js +2 -2
- package/packages/icons/caret-right/index.js.gz +0 -0
- package/packages/icons/caret-right/index.vue.d.ts +13 -10
- package/packages/icons/chakancelve/index.js +2 -2
- package/packages/icons/chakancelve/index.js.gz +0 -0
- package/packages/icons/chakancelve/index.vue.d.ts +13 -10
- package/packages/icons/change/index.js +2 -2
- package/packages/icons/change/index.js.gz +0 -0
- package/packages/icons/change/index.vue.d.ts +13 -10
- package/packages/icons/change-2/index.js +2 -2
- package/packages/icons/change-2/index.js.gz +0 -0
- package/packages/icons/change-2/index.vue.d.ts +13 -10
- package/packages/icons/change-3/index.js +2 -2
- package/packages/icons/change-3/index.js.gz +0 -0
- package/packages/icons/change-3/index.vue.d.ts +13 -10
- package/packages/icons/changetenant/index.js +2 -2
- package/packages/icons/changetenant/index.js.gz +0 -0
- package/packages/icons/changetenant/index.vue.d.ts +13 -10
- package/packages/icons/chart/index.js +2 -2
- package/packages/icons/chart/index.js.gz +0 -0
- package/packages/icons/chart/index.vue.d.ts +13 -10
- package/packages/icons/chaxunxiangqing/index.js +2 -2
- package/packages/icons/chaxunxiangqing/index.js.gz +0 -0
- package/packages/icons/chaxunxiangqing/index.vue.d.ts +13 -10
- package/packages/icons/check/index.js +2 -2
- package/packages/icons/check/index.js.gz +0 -0
- package/packages/icons/check/index.vue.d.ts +13 -10
- package/packages/icons/chuanglianjiang/index.js +2 -2
- package/packages/icons/chuanglianjiang/index.js.gz +0 -0
- package/packages/icons/chuanglianjiang/index.vue.d.ts +13 -10
- package/packages/icons/chuangliansheng/index.js +2 -2
- package/packages/icons/chuangliansheng/index.js.gz +0 -0
- package/packages/icons/chuangliansheng/index.vue.d.ts +13 -10
- package/packages/icons/chuanglianting/index.js +2 -2
- package/packages/icons/chuanglianting/index.js.gz +0 -0
- package/packages/icons/chuanglianting/index.vue.d.ts +13 -10
- package/packages/icons/chuizhiduiqi/index.js +2 -2
- package/packages/icons/chuizhiduiqi/index.js.gz +0 -0
- package/packages/icons/chuizhiduiqi/index.vue.d.ts +13 -10
- package/packages/icons/chuizhijunfen/index.js +2 -2
- package/packages/icons/chuizhijunfen/index.js.gz +0 -0
- package/packages/icons/chuizhijunfen/index.vue.d.ts +13 -10
- package/packages/icons/close/index.js +2 -2
- package/packages/icons/close/index.js.gz +0 -0
- package/packages/icons/close/index.vue.d.ts +13 -10
- package/packages/icons/close-2/index.js +2 -2
- package/packages/icons/close-2/index.js.gz +0 -0
- package/packages/icons/close-2/index.vue.d.ts +13 -10
- package/packages/icons/color/index.js +2 -2
- package/packages/icons/color/index.js.gz +0 -0
- package/packages/icons/color/index.vue.d.ts +13 -10
- package/packages/icons/copy/index.js +2 -2
- package/packages/icons/copy/index.js.gz +0 -0
- package/packages/icons/copy/index.vue.d.ts +13 -10
- package/packages/icons/custom/index.js +2 -2
- package/packages/icons/custom/index.js.gz +0 -0
- package/packages/icons/custom/index.vue.d.ts +13 -10
- package/packages/icons/daochu/index.js +2 -2
- package/packages/icons/daochu/index.js.gz +0 -0
- package/packages/icons/daochu/index.vue.d.ts +13 -10
- package/packages/icons/date/index.js +2 -2
- package/packages/icons/date/index.js.gz +0 -0
- package/packages/icons/date/index.vue.d.ts +13 -10
- package/packages/icons/decline/index.js +2 -2
- package/packages/icons/decline/index.js.gz +0 -0
- package/packages/icons/decline/index.vue.d.ts +13 -10
- package/packages/icons/default-btn/index.js +2 -2
- package/packages/icons/default-btn/index.js.gz +0 -0
- package/packages/icons/default-btn/index.vue.d.ts +13 -10
- package/packages/icons/default-point/index.js +2 -2
- package/packages/icons/default-point/index.js.gz +0 -0
- package/packages/icons/default-point/index.vue.d.ts +13 -10
- package/packages/icons/delete/index.js +2 -2
- package/packages/icons/delete/index.js.gz +0 -0
- package/packages/icons/delete/index.vue.d.ts +13 -10
- package/packages/icons/delete-2/index.js +2 -2
- package/packages/icons/delete-2/index.js.gz +0 -0
- package/packages/icons/delete-2/index.vue.d.ts +13 -10
- package/packages/icons/dengbijiesuo/index.js +2 -2
- package/packages/icons/dengbijiesuo/index.vue.d.ts +13 -10
- package/packages/icons/dengbisuoding/index.js +2 -2
- package/packages/icons/dengbisuoding/index.vue.d.ts +13 -10
- package/packages/icons/dengdai/index.js +2 -2
- package/packages/icons/dengdai/index.js.gz +0 -0
- package/packages/icons/dengdai/index.vue.d.ts +13 -10
- package/packages/icons/dianzan/index.js +2 -2
- package/packages/icons/dianzan/index.js.gz +0 -0
- package/packages/icons/dianzan/index.vue.d.ts +13 -10
- package/packages/icons/dianzan-2/index.js +2 -2
- package/packages/icons/dianzan-2/index.js.gz +0 -0
- package/packages/icons/dianzan-2/index.vue.d.ts +13 -10
- package/packages/icons/direction-control/index.js +2 -2
- package/packages/icons/direction-control/index.js.gz +0 -0
- package/packages/icons/direction-control/index.vue.d.ts +13 -10
- package/packages/icons/ditu/index.js +2 -2
- package/packages/icons/ditu/index.js.gz +0 -0
- package/packages/icons/ditu/index.vue.d.ts +13 -10
- package/packages/icons/dizhixuanze/index.js +2 -2
- package/packages/icons/dizhixuanze/index.js.gz +0 -0
- package/packages/icons/dizhixuanze/index.vue.d.ts +13 -10
- package/packages/icons/double-arrow-left/index.js +2 -2
- package/packages/icons/double-arrow-left/index.js.gz +0 -0
- package/packages/icons/double-arrow-left/index.vue.d.ts +13 -10
- package/packages/icons/double-arrow-right/index.js +2 -2
- package/packages/icons/double-arrow-right/index.js.gz +0 -0
- package/packages/icons/double-arrow-right/index.vue.d.ts +13 -10
- package/packages/icons/down/index.js +2 -2
- package/packages/icons/down/index.js.gz +0 -0
- package/packages/icons/down/index.vue.d.ts +13 -10
- package/packages/icons/down-2/index.js +2 -2
- package/packages/icons/down-2/index.vue.d.ts +13 -10
- package/packages/icons/down-3/index.js +2 -2
- package/packages/icons/down-3/index.vue.d.ts +13 -10
- package/packages/icons/download/index.js +2 -2
- package/packages/icons/download/index.js.gz +0 -0
- package/packages/icons/download/index.vue.d.ts +13 -10
- package/packages/icons/drag/index.js +2 -2
- package/packages/icons/drag/index.js.gz +0 -0
- package/packages/icons/drag/index.vue.d.ts +13 -10
- package/packages/icons/drawing/index.js +2 -2
- package/packages/icons/drawing/index.js.gz +0 -0
- package/packages/icons/drawing/index.vue.d.ts +13 -10
- package/packages/icons/edit/index.js +2 -2
- package/packages/icons/edit/index.js.gz +0 -0
- package/packages/icons/edit/index.vue.d.ts +13 -10
- package/packages/icons/edit-1/index.js +2 -2
- package/packages/icons/edit-1/index.js.gz +0 -0
- package/packages/icons/edit-1/index.vue.d.ts +13 -10
- package/packages/icons/edit-3/index.d.ts +1 -0
- package/packages/icons/edit-3/index.js +17 -0
- package/packages/icons/edit-3/index.js.gz +0 -0
- package/packages/icons/edit-3/index.vue.d.ts +19 -0
- package/packages/icons/empty/index.js +2 -2
- package/packages/icons/empty/index.js.gz +0 -0
- package/packages/icons/empty/index.vue.d.ts +13 -10
- package/packages/icons/enlarge/index.js +2 -2
- package/packages/icons/enlarge/index.js.gz +0 -0
- package/packages/icons/enlarge/index.vue.d.ts +13 -10
- package/packages/icons/entry/index.js +2 -2
- package/packages/icons/entry/index.js.gz +0 -0
- package/packages/icons/entry/index.vue.d.ts +13 -10
- package/packages/icons/exit/index.d.ts +1 -0
- package/packages/icons/exit/index.js +17 -0
- package/packages/icons/exit/index.js.gz +0 -0
- package/packages/icons/exit/index.vue.d.ts +19 -0
- package/packages/icons/fabu/index.js +2 -2
- package/packages/icons/fabu/index.js.gz +0 -0
- package/packages/icons/fabu/index.vue.d.ts +13 -10
- package/packages/icons/fanhui/index.js +2 -2
- package/packages/icons/fanhui/index.js.gz +0 -0
- package/packages/icons/fanhui/index.vue.d.ts +13 -10
- package/packages/icons/filter-3/index.js +2 -2
- package/packages/icons/filter-3/index.js.gz +0 -0
- package/packages/icons/filter-3/index.vue.d.ts +13 -10
- package/packages/icons/finish/index.js +2 -2
- package/packages/icons/finish/index.js.gz +0 -0
- package/packages/icons/finish/index.vue.d.ts +13 -10
- package/packages/icons/fold/index.js +2 -2
- package/packages/icons/fold/index.js.gz +0 -0
- package/packages/icons/fold/index.vue.d.ts +13 -10
- package/packages/icons/folder-quest/index.js +2 -2
- package/packages/icons/folder-quest/index.js.gz +0 -0
- package/packages/icons/folder-quest/index.vue.d.ts +13 -10
- package/packages/icons/form-tips/index.js +2 -2
- package/packages/icons/form-tips/index.js.gz +0 -0
- package/packages/icons/form-tips/index.vue.d.ts +13 -10
- package/packages/icons/full/index.js +2 -2
- package/packages/icons/full/index.js.gz +0 -0
- package/packages/icons/full/index.vue.d.ts +13 -10
- package/packages/icons/full-screen/index.js +2 -2
- package/packages/icons/full-screen/index.js.gz +0 -0
- package/packages/icons/full-screen/index.vue.d.ts +13 -10
- package/packages/icons/fullscreen-2/index.js +2 -2
- package/packages/icons/fullscreen-2/index.js.gz +0 -0
- package/packages/icons/fullscreen-2/index.vue.d.ts +13 -10
- package/packages/icons/fuzhi/index.js +2 -2
- package/packages/icons/fuzhi/index.js.gz +0 -0
- package/packages/icons/fuzhi/index.vue.d.ts +13 -10
- package/packages/icons/gaojin/index.js +2 -2
- package/packages/icons/gaojin/index.js.gz +0 -0
- package/packages/icons/gaojin/index.vue.d.ts +13 -10
- package/packages/icons/gengduocaozuo/index.js +2 -2
- package/packages/icons/gengduocaozuo/index.vue.d.ts +13 -10
- package/packages/icons/global/index.d.ts +1 -0
- package/packages/icons/global/index.js +17 -0
- package/packages/icons/global/index.js.gz +0 -0
- package/packages/icons/global/index.vue.d.ts +19 -0
- package/packages/icons/gongzuotaiguanli/index.js +2 -2
- package/packages/icons/gongzuotaiguanli/index.js.gz +0 -0
- package/packages/icons/gongzuotaiguanli/index.vue.d.ts +13 -10
- package/packages/icons/header-seach/index.js +2 -2
- package/packages/icons/header-seach/index.js.gz +0 -0
- package/packages/icons/header-seach/index.vue.d.ts +13 -10
- package/packages/icons/header-setting/index.js +2 -2
- package/packages/icons/header-setting/index.js.gz +0 -0
- package/packages/icons/header-setting/index.vue.d.ts +13 -10
- package/packages/icons/headersettings/index.js +2 -2
- package/packages/icons/headersettings/index.js.gz +0 -0
- package/packages/icons/headersettings/index.vue.d.ts +13 -10
- package/packages/icons/hide/index.js +2 -2
- package/packages/icons/hide/index.js.gz +0 -0
- package/packages/icons/hide/index.vue.d.ts +13 -10
- package/packages/icons/huabufuwei/index.js +2 -2
- package/packages/icons/huabufuwei/index.js.gz +0 -0
- package/packages/icons/huabufuwei/index.vue.d.ts +13 -10
- package/packages/icons/huaxian/index.js +2 -2
- package/packages/icons/huaxian/index.js.gz +0 -0
- package/packages/icons/huaxian/index.vue.d.ts +13 -10
- package/packages/icons/huifuchuchangshezhi/index.js +2 -2
- package/packages/icons/huifuchuchangshezhi/index.js.gz +0 -0
- package/packages/icons/huifuchuchangshezhi/index.vue.d.ts +13 -10
- package/packages/icons/hyperlinks/index.js +2 -2
- package/packages/icons/hyperlinks/index.js.gz +0 -0
- package/packages/icons/hyperlinks/index.vue.d.ts +13 -10
- package/packages/icons/img/index.js +2 -2
- package/packages/icons/img/index.js.gz +0 -0
- package/packages/icons/img/index.vue.d.ts +13 -10
- package/packages/icons/index.d.ts +7 -0
- package/packages/icons/index.js +7 -0
- package/packages/icons/input-close/index.js +2 -2
- package/packages/icons/input-close/index.js.gz +0 -0
- package/packages/icons/input-close/index.vue.d.ts +13 -10
- package/packages/icons/input-select/index.d.ts +1 -0
- package/packages/icons/input-select/index.js +17 -0
- package/packages/icons/input-select/index.js.gz +0 -0
- package/packages/icons/input-select/index.vue.d.ts +19 -0
- package/packages/icons/italic/index.js +2 -2
- package/packages/icons/italic/index.js.gz +0 -0
- package/packages/icons/italic/index.vue.d.ts +13 -10
- package/packages/icons/jia-1/index.js +2 -2
- package/packages/icons/jia-1/index.js.gz +0 -0
- package/packages/icons/jia-1/index.vue.d.ts +13 -10
- package/packages/icons/jian-1/index.js +2 -2
- package/packages/icons/jian-1/index.vue.d.ts +13 -10
- package/packages/icons/jianshao-1/index.js +2 -2
- package/packages/icons/jianshao-1/index.vue.d.ts +13 -10
- package/packages/icons/jinggao/index.js +2 -2
- package/packages/icons/jinggao/index.js.gz +0 -0
- package/packages/icons/jinggao/index.vue.d.ts +13 -10
- package/packages/icons/jushangduiqi/index.js +2 -2
- package/packages/icons/jushangduiqi/index.js.gz +0 -0
- package/packages/icons/jushangduiqi/index.vue.d.ts +13 -10
- package/packages/icons/juxiaduiqi/index.js +2 -2
- package/packages/icons/juxiaduiqi/index.js.gz +0 -0
- package/packages/icons/juxiaduiqi/index.vue.d.ts +13 -10
- package/packages/icons/juxinghuizhi/index.js +2 -2
- package/packages/icons/juxinghuizhi/index.js.gz +0 -0
- package/packages/icons/juxinghuizhi/index.vue.d.ts +13 -10
- package/packages/icons/juyouduiqi/index.js +2 -2
- package/packages/icons/juyouduiqi/index.js.gz +0 -0
- package/packages/icons/juyouduiqi/index.vue.d.ts +13 -10
- package/packages/icons/juzuoduiqi/index.js +2 -2
- package/packages/icons/juzuoduiqi/index.js.gz +0 -0
- package/packages/icons/juzuoduiqi/index.vue.d.ts +13 -10
- package/packages/icons/kaiguan/index.js +2 -2
- package/packages/icons/kaiguan/index.js.gz +0 -0
- package/packages/icons/kaiguan/index.vue.d.ts +13 -10
- package/packages/icons/kaimen/index.js +2 -2
- package/packages/icons/kaimen/index.js.gz +0 -0
- package/packages/icons/kaimen/index.vue.d.ts +13 -10
- package/packages/icons/layout-refresh/index.js +2 -2
- package/packages/icons/layout-refresh/index.js.gz +0 -0
- package/packages/icons/layout-refresh/index.vue.d.ts +13 -10
- package/packages/icons/left/index.js +2 -2
- package/packages/icons/left/index.vue.d.ts +13 -10
- package/packages/icons/link/index.js +2 -2
- package/packages/icons/link/index.js.gz +0 -0
- package/packages/icons/link/index.vue.d.ts +13 -10
- package/packages/icons/list/index.js +2 -2
- package/packages/icons/list/index.js.gz +0 -0
- package/packages/icons/list/index.vue.d.ts +13 -10
- package/packages/icons/list-view/index.js +2 -2
- package/packages/icons/list-view/index.js.gz +0 -0
- package/packages/icons/list-view/index.vue.d.ts +13 -10
- package/packages/icons/load/index.js +2 -2
- package/packages/icons/load/index.js.gz +0 -0
- package/packages/icons/load/index.vue.d.ts +13 -10
- package/packages/icons/lock/index.js +2 -2
- package/packages/icons/lock/index.js.gz +0 -0
- package/packages/icons/lock/index.vue.d.ts +13 -10
- package/packages/icons/marsh/index.js +2 -2
- package/packages/icons/marsh/index.vue.d.ts +13 -10
- package/packages/icons/me/index.js +2 -2
- package/packages/icons/me/index.js.gz +0 -0
- package/packages/icons/me/index.vue.d.ts +13 -10
- package/packages/icons/more/index.js +2 -2
- package/packages/icons/more/index.js.gz +0 -0
- package/packages/icons/more/index.vue.d.ts +13 -10
- package/packages/icons/more-2/index.js +2 -2
- package/packages/icons/more-2/index.vue.d.ts +13 -10
- package/packages/icons/more-btn/index.js +2 -2
- package/packages/icons/more-btn/index.js.gz +0 -0
- package/packages/icons/more-btn/index.vue.d.ts +13 -10
- package/packages/icons/muted/index.js +2 -2
- package/packages/icons/muted/index.js.gz +0 -0
- package/packages/icons/muted/index.vue.d.ts +13 -10
- package/packages/icons/notification-face/index.js +2 -2
- package/packages/icons/notification-face/index.js.gz +0 -0
- package/packages/icons/notification-face/index.vue.d.ts +13 -10
- package/packages/icons/paiban/index.js +2 -2
- package/packages/icons/paiban/index.js.gz +0 -0
- package/packages/icons/paiban/index.vue.d.ts +13 -10
- package/packages/icons/password-lock/index.js +2 -2
- package/packages/icons/password-lock/index.js.gz +0 -0
- package/packages/icons/password-lock/index.vue.d.ts +13 -10
- package/packages/icons/password-lock2/index.d.ts +1 -0
- package/packages/icons/password-lock2/index.js +17 -0
- package/packages/icons/password-lock2/index.js.gz +0 -0
- package/packages/icons/password-lock2/index.vue.d.ts +19 -0
- package/packages/icons/pause/index.js +2 -2
- package/packages/icons/pause/index.js.gz +0 -0
- package/packages/icons/pause/index.vue.d.ts +13 -10
- package/packages/icons/phone/index.js +2 -2
- package/packages/icons/phone/index.js.gz +0 -0
- package/packages/icons/phone/index.vue.d.ts +13 -10
- package/packages/icons/pinglun/index.js +2 -2
- package/packages/icons/pinglun/index.js.gz +0 -0
- package/packages/icons/pinglun/index.vue.d.ts +13 -10
- package/packages/icons/plan/index.js +2 -2
- package/packages/icons/plan/index.js.gz +0 -0
- package/packages/icons/plan/index.vue.d.ts +13 -10
- package/packages/icons/play/index.js +2 -2
- package/packages/icons/play/index.js.gz +0 -0
- package/packages/icons/play/index.vue.d.ts +13 -10
- package/packages/icons/preview/index.js +2 -2
- package/packages/icons/preview/index.js.gz +0 -0
- package/packages/icons/preview/index.vue.d.ts +13 -10
- package/packages/icons/preview-eye/index.js +2 -2
- package/packages/icons/preview-eye/index.js.gz +0 -0
- package/packages/icons/preview-eye/index.vue.d.ts +13 -10
- package/packages/icons/project-list/index.js +2 -2
- package/packages/icons/project-list/index.js.gz +0 -0
- package/packages/icons/project-list/index.vue.d.ts +13 -10
- package/packages/icons/project-tree/index.js +2 -2
- package/packages/icons/project-tree/index.js.gz +0 -0
- package/packages/icons/project-tree/index.vue.d.ts +13 -10
- package/packages/icons/promptinformation-l/index.js +2 -2
- package/packages/icons/promptinformation-l/index.js.gz +0 -0
- package/packages/icons/promptinformation-l/index.vue.d.ts +13 -10
- package/packages/icons/qiehuangongzuotai/index.js +2 -2
- package/packages/icons/qiehuangongzuotai/index.js.gz +0 -0
- package/packages/icons/qiehuangongzuotai/index.vue.d.ts +13 -10
- package/packages/icons/quanping/index.js +2 -2
- package/packages/icons/quanping/index.js.gz +0 -0
- package/packages/icons/quanping/index.vue.d.ts +13 -10
- package/packages/icons/rate-all/index.js +2 -2
- package/packages/icons/rate-all/index.js.gz +0 -0
- package/packages/icons/rate-all/index.vue.d.ts +13 -10
- package/packages/icons/rate-half/index.js +2 -2
- package/packages/icons/rate-half/index.js.gz +0 -0
- package/packages/icons/rate-half/index.vue.d.ts +13 -10
- package/packages/icons/rate-none/index.js +2 -2
- package/packages/icons/rate-none/index.js.gz +0 -0
- package/packages/icons/rate-none/index.vue.d.ts +13 -10
- package/packages/icons/recover/index.js +2 -2
- package/packages/icons/recover/index.js.gz +0 -0
- package/packages/icons/recover/index.vue.d.ts +13 -10
- package/packages/icons/refresh/index.js +2 -2
- package/packages/icons/refresh/index.js.gz +0 -0
- package/packages/icons/refresh/index.vue.d.ts +13 -10
- package/packages/icons/reload/index.js +2 -2
- package/packages/icons/reload/index.js.gz +0 -0
- package/packages/icons/reload/index.vue.d.ts +13 -10
- package/packages/icons/reset/index.js +2 -2
- package/packages/icons/reset/index.js.gz +0 -0
- package/packages/icons/reset/index.vue.d.ts +13 -10
- package/packages/icons/right/index.js +2 -2
- package/packages/icons/right/index.vue.d.ts +13 -10
- package/packages/icons/right-3/index.d.ts +1 -0
- package/packages/icons/right-3/index.js +17 -0
- package/packages/icons/right-3/index.js.gz +0 -0
- package/packages/icons/right-3/index.vue.d.ts +19 -0
- package/packages/icons/riqixuanze/index.js +2 -2
- package/packages/icons/riqixuanze/index.js.gz +0 -0
- package/packages/icons/riqixuanze/index.vue.d.ts +13 -10
- package/packages/icons/rise/index.js +2 -2
- package/packages/icons/rise/index.js.gz +0 -0
- package/packages/icons/rise/index.vue.d.ts +13 -10
- package/packages/icons/save/index.js +2 -2
- package/packages/icons/save/index.js.gz +0 -0
- package/packages/icons/save/index.vue.d.ts +13 -10
- package/packages/icons/screenshot/index.js +2 -2
- package/packages/icons/screenshot/index.js.gz +0 -0
- package/packages/icons/screenshot/index.vue.d.ts +13 -10
- package/packages/icons/search/index.js +2 -2
- package/packages/icons/search/index.js.gz +0 -0
- package/packages/icons/search/index.vue.d.ts +13 -10
- package/packages/icons/select/index.js +2 -2
- package/packages/icons/select/index.vue.d.ts +13 -10
- package/packages/icons/select-confirm/index.js +2 -2
- package/packages/icons/select-confirm/index.js.gz +0 -0
- package/packages/icons/select-confirm/index.vue.d.ts +13 -10
- package/packages/icons/set-up/index.js +2 -2
- package/packages/icons/set-up/index.js.gz +0 -0
- package/packages/icons/set-up/index.vue.d.ts +13 -10
- package/packages/icons/setting/index.js +2 -2
- package/packages/icons/setting/index.js.gz +0 -0
- package/packages/icons/setting/index.vue.d.ts +13 -10
- package/packages/icons/shangchuan/index.js +2 -2
- package/packages/icons/shangchuan/index.js.gz +0 -0
- package/packages/icons/shangchuan/index.vue.d.ts +13 -10
- package/packages/icons/shebei/index.js +2 -2
- package/packages/icons/shebei/index.js.gz +0 -0
- package/packages/icons/shebei/index.vue.d.ts +13 -10
- package/packages/icons/shebeiqunzu/index.js +2 -2
- package/packages/icons/shebeiqunzu/index.js.gz +0 -0
- package/packages/icons/shebeiqunzu/index.vue.d.ts +13 -10
- package/packages/icons/sheweimoren/index.js +2 -2
- package/packages/icons/sheweimoren/index.js.gz +0 -0
- package/packages/icons/sheweimoren/index.vue.d.ts +13 -10
- package/packages/icons/shisuan/index.js +2 -2
- package/packages/icons/shisuan/index.js.gz +0 -0
- package/packages/icons/shisuan/index.vue.d.ts +13 -10
- package/packages/icons/shitu-kapian/index.js +2 -2
- package/packages/icons/shitu-kapian/index.js.gz +0 -0
- package/packages/icons/shitu-kapian/index.vue.d.ts +13 -10
- package/packages/icons/shitu-liebiao/index.js +2 -2
- package/packages/icons/shitu-liebiao/index.vue.d.ts +13 -10
- package/packages/icons/shitu-map/index.js +2 -2
- package/packages/icons/shitu-map/index.js.gz +0 -0
- package/packages/icons/shitu-map/index.vue.d.ts +13 -10
- package/packages/icons/shortcut-keys/index.js +2 -2
- package/packages/icons/shortcut-keys/index.js.gz +0 -0
- package/packages/icons/shortcut-keys/index.vue.d.ts +13 -10
- package/packages/icons/shoudongzhihang/index.js +2 -2
- package/packages/icons/shoudongzhihang/index.js.gz +0 -0
- package/packages/icons/shoudongzhihang/index.vue.d.ts +13 -10
- package/packages/icons/shouqiliangcemianban/index.js +2 -2
- package/packages/icons/shouqiliangcemianban/index.vue.d.ts +13 -10
- package/packages/icons/shouqiyoucemianban/index.js +2 -2
- package/packages/icons/shouqiyoucemianban/index.js.gz +0 -0
- package/packages/icons/shouqiyoucemianban/index.vue.d.ts +13 -10
- package/packages/icons/shouqiyoucemianban-1/index.js +2 -2
- package/packages/icons/shouqiyoucemianban-1/index.js.gz +0 -0
- package/packages/icons/shouqiyoucemianban-1/index.vue.d.ts +13 -10
- package/packages/icons/shouqizuocemianban/index.js +2 -2
- package/packages/icons/shouqizuocemianban/index.js.gz +0 -0
- package/packages/icons/shouqizuocemianban/index.vue.d.ts +13 -10
- package/packages/icons/shouqizuocemianban-1/index.js +2 -2
- package/packages/icons/shouqizuocemianban-1/index.js.gz +0 -0
- package/packages/icons/shouqizuocemianban-1/index.vue.d.ts +13 -10
- package/packages/icons/shouquan/index.js +2 -2
- package/packages/icons/shouquan/index.js.gz +0 -0
- package/packages/icons/shouquan/index.vue.d.ts +13 -10
- package/packages/icons/show/index.js +2 -2
- package/packages/icons/show/index.js.gz +0 -0
- package/packages/icons/show/index.vue.d.ts +13 -10
- package/packages/icons/shrink/index.js +2 -2
- package/packages/icons/shrink/index.js.gz +0 -0
- package/packages/icons/shrink/index.vue.d.ts +13 -10
- package/packages/icons/shuaxin/index.js +2 -2
- package/packages/icons/shuaxin/index.js.gz +0 -0
- package/packages/icons/shuaxin/index.vue.d.ts +13 -10
- package/packages/icons/shuipingduiqi/index.js +2 -2
- package/packages/icons/shuipingduiqi/index.js.gz +0 -0
- package/packages/icons/shuipingduiqi/index.vue.d.ts +13 -10
- package/packages/icons/shuipingjunfen/index.js +2 -2
- package/packages/icons/shuipingjunfen/index.js.gz +0 -0
- package/packages/icons/shuipingjunfen/index.vue.d.ts +13 -10
- package/packages/icons/shuyoufanye/index.js +2 -2
- package/packages/icons/shuyoufanye/index.js.gz +0 -0
- package/packages/icons/shuyoufanye/index.vue.d.ts +13 -10
- package/packages/icons/shuzuofanye/index.js +2 -2
- package/packages/icons/shuzuofanye/index.js.gz +0 -0
- package/packages/icons/shuzuofanye/index.vue.d.ts +13 -10
- package/packages/icons/solid-filter/index.js +2 -2
- package/packages/icons/solid-filter/index.js.gz +0 -0
- package/packages/icons/solid-filter/index.vue.d.ts +13 -10
- package/packages/icons/start/index.js +2 -2
- package/packages/icons/start/index.js.gz +0 -0
- package/packages/icons/start/index.vue.d.ts +13 -10
- package/packages/icons/stop/index.js +2 -2
- package/packages/icons/stop/index.js.gz +0 -0
- package/packages/icons/stop/index.vue.d.ts +13 -10
- package/packages/icons/structural-diagram/index.js +2 -2
- package/packages/icons/structural-diagram/index.js.gz +0 -0
- package/packages/icons/structural-diagram/index.vue.d.ts +13 -10
- package/packages/icons/success/index.js +2 -2
- package/packages/icons/success/index.vue.d.ts +13 -10
- package/packages/icons/system/index.d.ts +1 -0
- package/packages/icons/system/index.js +17 -0
- package/packages/icons/system/index.js.gz +0 -0
- package/packages/icons/system/index.vue.d.ts +19 -0
- package/packages/icons/table-header-search/index.js +2 -2
- package/packages/icons/table-header-search/index.js.gz +0 -0
- package/packages/icons/table-header-search/index.vue.d.ts +13 -10
- package/packages/icons/text/index.js +2 -2
- package/packages/icons/text/index.js.gz +0 -0
- package/packages/icons/text/index.vue.d.ts +13 -10
- package/packages/icons/tick/index.js +2 -2
- package/packages/icons/tick/index.js.gz +0 -0
- package/packages/icons/tick/index.vue.d.ts +13 -10
- package/packages/icons/tishixinxi/index.js +2 -2
- package/packages/icons/tishixinxi/index.js.gz +0 -0
- package/packages/icons/tishixinxi/index.vue.d.ts +13 -10
- package/packages/icons/tongguo/index.js +2 -2
- package/packages/icons/tongguo/index.js.gz +0 -0
- package/packages/icons/tongguo/index.vue.d.ts +13 -10
- package/packages/icons/tongzhi/index.js +2 -2
- package/packages/icons/tongzhi/index.js.gz +0 -0
- package/packages/icons/tongzhi/index.vue.d.ts +13 -10
- package/packages/icons/tubiaoku/index.js +2 -2
- package/packages/icons/tubiaoku/index.js.gz +0 -0
- package/packages/icons/tubiaoku/index.vue.d.ts +13 -10
- package/packages/icons/tuichuquanping/index.js +2 -2
- package/packages/icons/tuichuquanping/index.js.gz +0 -0
- package/packages/icons/tuichuquanping/index.vue.d.ts +13 -10
- package/packages/icons/tuozhuai/index.js +2 -2
- package/packages/icons/tuozhuai/index.js.gz +0 -0
- package/packages/icons/tuozhuai/index.vue.d.ts +13 -10
- package/packages/icons/underline/index.js +2 -2
- package/packages/icons/underline/index.js.gz +0 -0
- package/packages/icons/underline/index.vue.d.ts +13 -10
- package/packages/icons/unflod/index.js +2 -2
- package/packages/icons/unflod/index.js.gz +0 -0
- package/packages/icons/unflod/index.vue.d.ts +13 -10
- package/packages/icons/unlock/index.js +2 -2
- package/packages/icons/unlock/index.js.gz +0 -0
- package/packages/icons/unlock/index.vue.d.ts +13 -10
- package/packages/icons/up/index.js +2 -2
- package/packages/icons/up/index.js.gz +0 -0
- package/packages/icons/up/index.vue.d.ts +13 -10
- package/packages/icons/up-2/index.js +2 -2
- package/packages/icons/up-2/index.js.gz +0 -0
- package/packages/icons/up-2/index.vue.d.ts +13 -10
- package/packages/icons/vauth/index.js +2 -2
- package/packages/icons/vauth/index.js.gz +0 -0
- package/packages/icons/vauth/index.vue.d.ts +13 -10
- package/packages/icons/view/index.js +2 -2
- package/packages/icons/view/index.js.gz +0 -0
- package/packages/icons/view/index.vue.d.ts +13 -10
- package/packages/icons/view-2/index.js +2 -2
- package/packages/icons/view-2/index.js.gz +0 -0
- package/packages/icons/view-2/index.vue.d.ts +13 -10
- package/packages/icons/volume/index.js +2 -2
- package/packages/icons/volume/index.js.gz +0 -0
- package/packages/icons/volume/index.vue.d.ts +13 -10
- package/packages/icons/wangge/index.js +2 -2
- package/packages/icons/wangge/index.js.gz +0 -0
- package/packages/icons/wangge/index.vue.d.ts +13 -10
- package/packages/icons/wangge-1/index.js +2 -2
- package/packages/icons/wangge-1/index.js.gz +0 -0
- package/packages/icons/wangge-1/index.vue.d.ts +13 -10
- package/packages/icons/warning/index.js +2 -2
- package/packages/icons/warning/index.js.gz +0 -0
- package/packages/icons/warning/index.vue.d.ts +13 -10
- package/packages/icons/warning-face/index.js +2 -2
- package/packages/icons/warning-face/index.js.gz +0 -0
- package/packages/icons/warning-face/index.vue.d.ts +13 -10
- package/packages/icons/wendujiang/index.js +2 -2
- package/packages/icons/wendujiang/index.js.gz +0 -0
- package/packages/icons/wendujiang/index.vue.d.ts +13 -10
- package/packages/icons/wendusheng/index.js +2 -2
- package/packages/icons/wendusheng/index.js.gz +0 -0
- package/packages/icons/wendusheng/index.vue.d.ts +13 -10
- package/packages/icons/withdraw/index.js +2 -2
- package/packages/icons/withdraw/index.js.gz +0 -0
- package/packages/icons/withdraw/index.vue.d.ts +13 -10
- package/packages/icons/xiala/index.js +2 -2
- package/packages/icons/xiala/index.vue.d.ts +13 -10
- package/packages/icons/xiazai/index.js +2 -2
- package/packages/icons/xiazai/index.js.gz +0 -0
- package/packages/icons/xiazai/index.vue.d.ts +13 -10
- package/packages/icons/xinzengtongji/index.js +2 -2
- package/packages/icons/xinzengtongji/index.js.gz +0 -0
- package/packages/icons/xinzengtongji/index.vue.d.ts +13 -10
- package/packages/icons/xuanzhuanjiaodu/index.js +2 -2
- package/packages/icons/xuanzhuanjiaodu/index.js.gz +0 -0
- package/packages/icons/xuanzhuanjiaodu/index.vue.d.ts +13 -10
- package/packages/icons/yidongduan/index.js +2 -2
- package/packages/icons/yidongduan/index.js.gz +0 -0
- package/packages/icons/yidongduan/index.vue.d.ts +13 -10
- package/packages/icons/yincang/index.js +2 -2
- package/packages/icons/yincang/index.js.gz +0 -0
- package/packages/icons/yincang/index.vue.d.ts +13 -10
- package/packages/icons/yingpian/index.js +2 -2
- package/packages/icons/yingpian/index.js.gz +0 -0
- package/packages/icons/yingpian/index.vue.d.ts +13 -10
- package/packages/icons/yitushoutu/index.js +2 -2
- package/packages/icons/yitushoutu/index.js.gz +0 -0
- package/packages/icons/yitushoutu/index.vue.d.ts +13 -10
- package/packages/icons/yuanxinghuizhi/index.js +2 -2
- package/packages/icons/yuanxinghuizhi/index.js.gz +0 -0
- package/packages/icons/yuanxinghuizhi/index.vue.d.ts +13 -10
- package/packages/icons/yulan-2/index.js +2 -2
- package/packages/icons/yulan-2/index.js.gz +0 -0
- package/packages/icons/yulan-2/index.vue.d.ts +13 -10
- package/packages/icons/zhangaiwu/index.js +2 -2
- package/packages/icons/zhangaiwu/index.js.gz +0 -0
- package/packages/icons/zhangaiwu/index.vue.d.ts +13 -10
- package/packages/icons/zhizhen/index.js +2 -2
- package/packages/icons/zhizhen/index.js.gz +0 -0
- package/packages/icons/zhizhen/index.vue.d.ts +13 -10
- package/packages/icons/zhuomianduan/index.js +2 -2
- package/packages/icons/zhuomianduan/index.js.gz +0 -0
- package/packages/icons/zhuomianduan/index.vue.d.ts +13 -10
- package/packages/icons/zidingyihuizhi/index.js +2 -2
- package/packages/icons/zidingyihuizhi/index.js.gz +0 -0
- package/packages/icons/zidingyihuizhi/index.vue.d.ts +13 -10
- package/packages/icons/zuobiao/index.js +2 -2
- package/packages/icons/zuobiao/index.js.gz +0 -0
- package/packages/icons/zuobiao/index.vue.d.ts +13 -10
- package/i18n-collection/en.js +0 -536
- package/i18n-collection/zh-CN.js +0 -537
|
@@ -1,43 +1,44 @@
|
|
|
1
1
|
import '@das-fed/ui/packages/components/map/style.css';
|
|
2
|
-
import { ref as
|
|
3
|
-
import { withInstall as
|
|
4
|
-
import { ElAutocomplete as
|
|
2
|
+
import { ref as S, defineComponent as Ae, shallowRef as H, computed as Se, onMounted as Oe, createElementBlock as Te, openBlock as $e, normalizeStyle as je, createElementVNode as W, withDirectives as Z, createVNode as de, withKeys as Le, unref as D, h as Qt, render as ea, isRef as ta, vShow as Ke, withCtx as aa, createTextVNode as oa, toDisplayString as ra } from "vue";
|
|
3
|
+
import { withInstall as Ee } from "@das-fed/utils/with-install/index";
|
|
4
|
+
import { ElAutocomplete as Pe, ElLoadingDirective as ke } from "element-plus/es";
|
|
5
5
|
import "element-plus/es/components/base/style/css";
|
|
6
6
|
import "element-plus/es/components/loading/style/css";
|
|
7
7
|
import "element-plus/es/components/autocomplete/style/css";
|
|
8
|
-
import { t as
|
|
9
|
-
import { vDasTooltip as
|
|
10
|
-
import { DasMessage as
|
|
11
|
-
import { createService as
|
|
12
|
-
|
|
8
|
+
import { t as P, setI18nRule as na } from "@das-fed/web/packages/i18n/index";
|
|
9
|
+
import { vDasTooltip as Re } from "@das-fed/ui/packages/components/text-tooltip/index";
|
|
10
|
+
import { DasMessage as z } from "@das-fed/ui/packages/components/message/index";
|
|
11
|
+
import { createService as ct } from "@das-fed/utils/create-api-service";
|
|
12
|
+
import { DasButton as la } from "@das-fed/ui/packages/components/button/index";
|
|
13
|
+
const Q = (e) => {
|
|
13
14
|
if (e)
|
|
14
15
|
return typeof e == "string" && hasCssUnit(e) ? e : e + "px";
|
|
15
|
-
},
|
|
16
|
-
const
|
|
17
|
-
let
|
|
18
|
-
const
|
|
19
|
-
|
|
20
|
-
const
|
|
21
|
-
if (
|
|
22
|
-
const
|
|
23
|
-
|
|
24
|
-
securityJsCode: "${
|
|
25
|
-
}`, document.head.appendChild(
|
|
16
|
+
}, st = ({ MapGL: e, map: t, marker: a, mapLoading: r, $autocomplete: u, searchResultList: l, innerInput: n, innerPoint: o, adCode: s, addressInfo: v }, b) => {
|
|
17
|
+
const C = S();
|
|
18
|
+
let x;
|
|
19
|
+
const k = (T, g, p, w) => {
|
|
20
|
+
C.value = p, w && (x = w);
|
|
21
|
+
const j = document.createElement("script");
|
|
22
|
+
if (j.src = `${location.protocol}//webapi.amap.com/maps?v=1.4.15&key=${T}&plugin=AMap.CitySearch&callback=onLoad`, g) {
|
|
23
|
+
const d = document.createElement("script");
|
|
24
|
+
d.innerHTML = `window._AMapSecurityConfig = {
|
|
25
|
+
securityJsCode: "${g}",
|
|
26
|
+
}`, document.head.appendChild(d);
|
|
26
27
|
}
|
|
27
|
-
document.head.appendChild(
|
|
28
|
-
|
|
28
|
+
document.head.appendChild(j), window.onLoad = () => {
|
|
29
|
+
L();
|
|
29
30
|
};
|
|
30
|
-
},
|
|
31
|
-
var
|
|
31
|
+
}, L = () => {
|
|
32
|
+
var T, g;
|
|
32
33
|
if (e.value = AMap, !(typeof e.value > "u")) {
|
|
33
34
|
try {
|
|
34
|
-
const
|
|
35
|
+
const p = ((T = C.value) == null ? void 0 : T.mapOpt) ?? {};
|
|
35
36
|
t.value = new AMap.Map("map", {
|
|
36
37
|
zoom: 15,
|
|
37
|
-
...
|
|
38
|
+
...p
|
|
38
39
|
});
|
|
39
40
|
} catch {
|
|
40
|
-
r.value = !1,
|
|
41
|
+
r.value = !1, z.error(P("thirdPartyMapErrorRetry"));
|
|
41
42
|
}
|
|
42
43
|
AMap.plugin(["AMap.ToolBar"], () => {
|
|
43
44
|
t.value.addControl(
|
|
@@ -47,159 +48,160 @@ const W = (e) => {
|
|
|
47
48
|
liteStyle: !0
|
|
48
49
|
})
|
|
49
50
|
);
|
|
50
|
-
}), i(), (
|
|
51
|
+
}), i(), (g = C.value) != null && g.clickStream || c(), r.value = !1, x && x();
|
|
51
52
|
}
|
|
52
|
-
},
|
|
53
|
-
t.value.on("click", (
|
|
54
|
-
a.value && t.value.remove(a.value),
|
|
53
|
+
}, c = () => {
|
|
54
|
+
t.value.on("click", (T) => {
|
|
55
|
+
a.value && t.value.remove(a.value), o.value = [T.lnglat.getLng(), T.lnglat.getLat()], h(o.value, !0).then(() => {
|
|
55
56
|
a.value = new AMap.Marker({
|
|
56
|
-
position:
|
|
57
|
-
title:
|
|
58
|
-
}), t.value.add(a.value), t.value.setCenter(
|
|
57
|
+
position: o.value,
|
|
58
|
+
title: n.value
|
|
59
|
+
}), t.value.add(a.value), t.value.setCenter(o.value);
|
|
59
60
|
});
|
|
60
61
|
});
|
|
61
62
|
}, i = async () => {
|
|
62
|
-
!
|
|
63
|
-
if (
|
|
64
|
-
const
|
|
65
|
-
(
|
|
63
|
+
!n.value && !o.value.length && R(), n.value && o.value.length > 0 ? await h(o.value) : n.value ? await A(n.value) : o.value.length > 0 && await h(o.value, !0), n.value && _(n.value, (T, g) => {
|
|
64
|
+
if (g && g.length) {
|
|
65
|
+
const p = g.find(
|
|
66
|
+
(w) => w.value === n.value || w.info.name === n.value
|
|
66
67
|
);
|
|
67
|
-
|
|
68
|
+
p ? v.value = p.info : v.value = {
|
|
68
69
|
district: "",
|
|
69
70
|
address: "",
|
|
70
|
-
name:
|
|
71
|
+
name: n.value
|
|
71
72
|
};
|
|
72
73
|
}
|
|
73
74
|
}), a.value = new AMap.Marker({
|
|
74
|
-
position:
|
|
75
|
-
title:
|
|
76
|
-
}), t.value.add(a.value),
|
|
77
|
-
},
|
|
78
|
-
const
|
|
79
|
-
return new Promise((
|
|
75
|
+
position: o.value,
|
|
76
|
+
title: n.value
|
|
77
|
+
}), t.value.add(a.value), o.value.length && t.value.setCenter(o.value);
|
|
78
|
+
}, h = (T, g = !1) => {
|
|
79
|
+
const p = T.join(",");
|
|
80
|
+
return new Promise((w, j) => {
|
|
80
81
|
AMap.service("AMap.Geocoder", () => {
|
|
81
82
|
new AMap.Geocoder({
|
|
82
83
|
city: "全国"
|
|
83
|
-
}).getAddress(
|
|
84
|
-
var
|
|
85
|
-
if (
|
|
86
|
-
if (
|
|
87
|
-
const { province:
|
|
88
|
-
|
|
89
|
-
district:
|
|
90
|
-
address:
|
|
91
|
-
name:
|
|
84
|
+
}).getAddress(p, (f, y) => {
|
|
85
|
+
var M, m;
|
|
86
|
+
if (f === "complete" && (y != null && y.regeocode)) {
|
|
87
|
+
if (g) {
|
|
88
|
+
const { province: O = "", city: N = "", district: B = "", township: ne = "" } = y.regeocode.addressComponent;
|
|
89
|
+
n.value = y.regeocode.formattedAddress ?? "", v.value = {
|
|
90
|
+
district: O + N + B,
|
|
91
|
+
address: ne,
|
|
92
|
+
name: n.value.replace(O, "").replace(N, "").replace(B, "").replace(ne, "")
|
|
92
93
|
};
|
|
93
94
|
}
|
|
94
|
-
|
|
95
|
+
s.value = ((m = (M = y.regeocode) == null ? void 0 : M.addressComponent) == null ? void 0 : m.adcode) ?? "", w(y.regeocode);
|
|
95
96
|
} else
|
|
96
|
-
|
|
97
|
+
z.error(P("thirdPartyMapErrorRetry")), j();
|
|
97
98
|
});
|
|
98
99
|
});
|
|
99
100
|
});
|
|
100
|
-
},
|
|
101
|
+
}, A = (T) => new Promise((g, p) => {
|
|
101
102
|
AMap.service("AMap.Geocoder", () => {
|
|
102
103
|
new AMap.Geocoder({
|
|
103
104
|
city: "全国"
|
|
104
|
-
}).getLocation(
|
|
105
|
-
var
|
|
106
|
-
if (
|
|
107
|
-
const
|
|
108
|
-
|
|
105
|
+
}).getLocation(T, (j, d) => {
|
|
106
|
+
var f, y;
|
|
107
|
+
if (j === "complete" && ((f = d.geocodes) != null && f.length)) {
|
|
108
|
+
const M = d.geocodes[0].location;
|
|
109
|
+
o.value[0] = M.lng, o.value[1] = M.lat, s.value = ((y = d.geocodes[0]) == null ? void 0 : y.adcode) ?? "", g(d.geocodes[0].location);
|
|
109
110
|
} else
|
|
110
|
-
|
|
111
|
+
z.error(P("thirdPartyMapErrorRetry")), p();
|
|
111
112
|
});
|
|
112
113
|
});
|
|
113
|
-
}),
|
|
114
|
-
new AMap.CitySearch().getLocalCity((
|
|
115
|
-
if (
|
|
116
|
-
if (
|
|
117
|
-
const
|
|
118
|
-
t.value.setBounds(
|
|
114
|
+
}), R = () => {
|
|
115
|
+
new AMap.CitySearch().getLocalCity((g, p) => {
|
|
116
|
+
if (g === "complete" && p.info === "OK") {
|
|
117
|
+
if (p && p.city && p.bounds) {
|
|
118
|
+
const w = p.bounds;
|
|
119
|
+
t.value.setBounds(w);
|
|
119
120
|
}
|
|
120
121
|
} else
|
|
121
|
-
|
|
122
|
+
z.error(P("thirdPartyMapErrorRetry"));
|
|
122
123
|
});
|
|
123
|
-
},
|
|
124
|
-
if (
|
|
125
|
-
l.value = [],
|
|
124
|
+
}, _ = (T, g) => {
|
|
125
|
+
if (u.value.activated = !0, !T) {
|
|
126
|
+
l.value = [], g([]);
|
|
126
127
|
return;
|
|
127
128
|
}
|
|
128
129
|
AMap.plugin("AMap.Autocomplete", function() {
|
|
129
|
-
var
|
|
130
|
+
var p = {
|
|
130
131
|
city: "全国"
|
|
131
|
-
},
|
|
132
|
-
|
|
133
|
-
if (l.value = [], !
|
|
134
|
-
let
|
|
135
|
-
if (
|
|
136
|
-
|
|
137
|
-
const { district:
|
|
132
|
+
}, w = new AMap.Autocomplete(p);
|
|
133
|
+
w.search(T, function(j, d) {
|
|
134
|
+
if (l.value = [], !d || !d.tips) return g([]);
|
|
135
|
+
let f = d.tips;
|
|
136
|
+
if (!f || !f.length) return g([]);
|
|
137
|
+
f = f.map((y) => {
|
|
138
|
+
const { district: M = "", address: m = "", name: O = "", location: N = "" } = y;
|
|
138
139
|
return {
|
|
139
|
-
value:
|
|
140
|
-
point:
|
|
140
|
+
value: M + m + O,
|
|
141
|
+
point: N,
|
|
141
142
|
info: {
|
|
142
|
-
district:
|
|
143
|
-
address:
|
|
144
|
-
name:
|
|
143
|
+
district: M,
|
|
144
|
+
address: m,
|
|
145
|
+
name: O
|
|
145
146
|
}
|
|
146
147
|
};
|
|
147
|
-
}), l.value =
|
|
148
|
+
}), l.value = f.length > 5 ? f.slice(0, 5) : f, g(l.value, f);
|
|
148
149
|
});
|
|
149
150
|
});
|
|
150
151
|
};
|
|
151
152
|
return {
|
|
152
|
-
getLocationByInputSearch:
|
|
153
|
-
handleSelectAddress: (
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
position:
|
|
157
|
-
title:
|
|
153
|
+
getLocationByInputSearch: _,
|
|
154
|
+
handleSelectAddress: (T) => {
|
|
155
|
+
n.value = T.value, v.value = T.info, A(T.value).then((g) => {
|
|
156
|
+
o.value = [g.lng, g.lat], a.value && t.value.remove(a.value), a.value = new AMap.Marker({
|
|
157
|
+
position: o.value,
|
|
158
|
+
title: n.value
|
|
158
159
|
// 鼠标移上去时显示的内容
|
|
159
|
-
}), t.value.add(a.value), t.value.setCenter(
|
|
160
|
+
}), t.value.add(a.value), t.value.setCenter(o.value);
|
|
160
161
|
});
|
|
161
162
|
},
|
|
162
163
|
getLocationParse: async () => {
|
|
163
|
-
var
|
|
164
|
-
if (!l.value.length) return
|
|
165
|
-
if (
|
|
166
|
-
return
|
|
167
|
-
|
|
168
|
-
position:
|
|
169
|
-
title:
|
|
164
|
+
var T;
|
|
165
|
+
if (!l.value.length) return z.error(P("thirdPartyMapErrorRetry"));
|
|
166
|
+
if (n.value = l.value[0].value, !((T = l.value[0]) != null && T.point))
|
|
167
|
+
return z.error(P("thirdPartyMapErrorRetry"));
|
|
168
|
+
o.value = [l.value[0].point.lng, l.value[0].point.lat], v.value = l.value[0].info, await h(o.value), a.value = new AMap.Marker({
|
|
169
|
+
position: o.value,
|
|
170
|
+
title: n.value
|
|
170
171
|
// 鼠标移上去时显示的内容
|
|
171
|
-
}), t.value.add(a.value), t.value.setCenter(
|
|
172
|
+
}), t.value.add(a.value), t.value.setCenter(o.value), u.value.activated = !1;
|
|
172
173
|
},
|
|
173
174
|
getMapInfo: () => ({
|
|
174
|
-
longitude:
|
|
175
|
-
latitude:
|
|
176
|
-
adCode:
|
|
177
|
-
address:
|
|
178
|
-
addressInfo:
|
|
175
|
+
longitude: o.value[0],
|
|
176
|
+
latitude: o.value[1],
|
|
177
|
+
adCode: s.value,
|
|
178
|
+
address: n.value,
|
|
179
|
+
addressInfo: v.value
|
|
179
180
|
}),
|
|
180
|
-
loadJavascript:
|
|
181
|
+
loadJavascript: k
|
|
181
182
|
};
|
|
182
|
-
},
|
|
183
|
-
var
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
if ((
|
|
190
|
-
|
|
191
|
-
|
|
183
|
+
}, dt = "v1", ua = ct(`/api/tool/map/${dt}`), ia = ct(`/api/system-config/${dt}`), ca = ua.get("/regeo"), sa = ia.get("/platform/map/list"), Ge = async (e) => {
|
|
184
|
+
var n, o, s, v, b;
|
|
185
|
+
const t = ["", "baidu", "gaode", "google"];
|
|
186
|
+
let a = null, [r, u] = await sa().run();
|
|
187
|
+
if (r)
|
|
188
|
+
return [r, a];
|
|
189
|
+
const l = u.filter((C) => C.enable) || [];
|
|
190
|
+
if ((l == null ? void 0 : l.length) == 0) return [null, a];
|
|
191
|
+
if ((l == null ? void 0 : l.length) > 1) {
|
|
192
|
+
const C = l.filter((x) => t[x.serviceProvider] == e);
|
|
193
|
+
a = {
|
|
192
194
|
mapType: e,
|
|
193
|
-
akVal: (
|
|
194
|
-
secretK: (
|
|
195
|
+
akVal: (n = C[0]) == null ? void 0 : n.akValue,
|
|
196
|
+
secretK: (o = C[0]) == null ? void 0 : o.securityKey
|
|
195
197
|
};
|
|
196
|
-
} else (
|
|
197
|
-
mapType: (
|
|
198
|
-
akVal: (
|
|
199
|
-
secretK: (
|
|
198
|
+
} else (l == null ? void 0 : l.length) == 1 && (a = {
|
|
199
|
+
mapType: t[(s = l[0]) == null ? void 0 : s.serviceProvider],
|
|
200
|
+
akVal: (v = l[0]) == null ? void 0 : v.akValue,
|
|
201
|
+
secretK: (b = l[0]) == null ? void 0 : b.securityKey
|
|
200
202
|
});
|
|
201
|
-
return [null,
|
|
202
|
-
},
|
|
203
|
+
return [null, a];
|
|
204
|
+
}, da = { class: "search-input" }, fa = { id: "map" }, va = /* @__PURE__ */ Ae({
|
|
203
205
|
__name: "gaodeMap",
|
|
204
206
|
props: {
|
|
205
207
|
akValue: {},
|
|
@@ -212,76 +214,76 @@ const W = (e) => {
|
|
|
212
214
|
dev: { type: Boolean }
|
|
213
215
|
},
|
|
214
216
|
setup(e, { expose: t }) {
|
|
215
|
-
const a = e, r =
|
|
216
|
-
width: a.width ?
|
|
217
|
-
height: a.height ?
|
|
218
|
-
})),
|
|
217
|
+
const a = e, r = H(null), u = H(null), l = H(null), n = S(!0), o = S(null), s = S([]), v = Se(() => ({
|
|
218
|
+
width: a.width ? Q(a.width) : "100%",
|
|
219
|
+
height: a.height ? Q(a.height) : "100%"
|
|
220
|
+
})), b = S(""), C = S([]), x = S(""), k = S(), { getLocationByInputSearch: L, handleSelectAddress: c, getLocationParse: i, getMapInfo: h, loadJavascript: A } = st(
|
|
219
221
|
{
|
|
220
222
|
MapGL: r,
|
|
221
|
-
map:
|
|
223
|
+
map: u,
|
|
222
224
|
marker: l,
|
|
223
|
-
mapLoading:
|
|
224
|
-
$autocomplete:
|
|
225
|
-
searchResultList:
|
|
226
|
-
innerInput:
|
|
227
|
-
innerPoint:
|
|
228
|
-
adCode:
|
|
225
|
+
mapLoading: n,
|
|
226
|
+
$autocomplete: o,
|
|
227
|
+
searchResultList: s,
|
|
228
|
+
innerInput: b,
|
|
229
|
+
innerPoint: C,
|
|
230
|
+
adCode: x,
|
|
231
|
+
addressInfo: k
|
|
229
232
|
}
|
|
230
|
-
),
|
|
231
|
-
const
|
|
233
|
+
), R = async () => {
|
|
234
|
+
const _ = {
|
|
232
235
|
akValue: a.akValue ?? "",
|
|
233
236
|
secretKey: a.secretKey ?? ""
|
|
234
237
|
};
|
|
235
238
|
{
|
|
236
|
-
const [
|
|
237
|
-
|
|
239
|
+
const [$, G] = await Ge("gaode");
|
|
240
|
+
$ && z.error(P("获取地图配置信息失败")), !$ && !G && z.error(P("暂未配置地图")), G && (_.akValue || (_.akValue = G.akVal), _.secretKey || (_.secretKey = G.secretK));
|
|
238
241
|
}
|
|
239
|
-
return
|
|
242
|
+
return _;
|
|
240
243
|
};
|
|
241
|
-
return
|
|
242
|
-
a.defaultLongitude && a.defaultLatitude && (
|
|
243
|
-
const { akValue:
|
|
244
|
-
|
|
244
|
+
return Oe(async () => {
|
|
245
|
+
a.defaultLongitude && a.defaultLatitude && (C.value = [a.defaultLongitude, a.defaultLatitude]), b.value = a.defaultAddress ?? "";
|
|
246
|
+
const { akValue: _, secretKey: $ } = await R();
|
|
247
|
+
A(_, $);
|
|
245
248
|
}), t({
|
|
246
249
|
/** 获取经纬度、地址、行政区划编码 */
|
|
247
|
-
getMapInfo:
|
|
248
|
-
}), (
|
|
249
|
-
const
|
|
250
|
-
return
|
|
250
|
+
getMapInfo: h
|
|
251
|
+
}), (_, $) => {
|
|
252
|
+
const G = Pe, U = ke;
|
|
253
|
+
return $e(), Te(
|
|
251
254
|
"div",
|
|
252
255
|
{
|
|
253
256
|
class: "das-map",
|
|
254
|
-
style:
|
|
257
|
+
style: je(v.value)
|
|
255
258
|
},
|
|
256
259
|
[
|
|
257
|
-
|
|
258
|
-
|
|
260
|
+
W("div", da, [
|
|
261
|
+
Z(de(G, {
|
|
259
262
|
ref_key: "$autocomplete",
|
|
260
|
-
ref:
|
|
261
|
-
modelValue:
|
|
262
|
-
"onUpdate:modelValue":
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
placeholder: R(k)("请输入位置"),
|
|
263
|
+
ref: o,
|
|
264
|
+
modelValue: b.value,
|
|
265
|
+
"onUpdate:modelValue": $[0] || ($[0] = (T) => b.value = T),
|
|
266
|
+
"fetch-suggestions": D(L),
|
|
267
|
+
placeholder: D(P)("请输入位置"),
|
|
266
268
|
style: { width: "100%" },
|
|
267
269
|
"trigger-on-focus": !1,
|
|
268
|
-
onSelect:
|
|
269
|
-
onKeyup:
|
|
270
|
+
onSelect: D(c),
|
|
271
|
+
onKeyup: Le(D(i), ["enter", "native"]),
|
|
270
272
|
clearable: ""
|
|
271
273
|
}, null, 8, ["modelValue", "fetch-suggestions", "placeholder", "onSelect", "onKeyup"]), [
|
|
272
|
-
[
|
|
274
|
+
[D(Re)]
|
|
273
275
|
])
|
|
274
276
|
]),
|
|
275
|
-
|
|
277
|
+
Z(W(
|
|
276
278
|
"div",
|
|
277
|
-
|
|
279
|
+
fa,
|
|
278
280
|
null,
|
|
279
281
|
512
|
|
280
282
|
/* NEED_PATCH */
|
|
281
283
|
), [
|
|
282
284
|
[
|
|
283
285
|
U,
|
|
284
|
-
|
|
286
|
+
n.value,
|
|
285
287
|
void 0,
|
|
286
288
|
{ lock: !0 }
|
|
287
289
|
]
|
|
@@ -292,136 +294,135 @@ const W = (e) => {
|
|
|
292
294
|
);
|
|
293
295
|
};
|
|
294
296
|
}
|
|
295
|
-
}),
|
|
297
|
+
}), Be = (e, t) => {
|
|
296
298
|
const a = e.__vccOpts || e;
|
|
297
|
-
for (const [r,
|
|
298
|
-
a[r] =
|
|
299
|
+
for (const [r, u] of t)
|
|
300
|
+
a[r] = u;
|
|
299
301
|
return a;
|
|
300
|
-
},
|
|
301
|
-
const
|
|
302
|
-
let
|
|
303
|
-
const
|
|
304
|
-
|
|
305
|
-
const
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
}, document.body.append(
|
|
309
|
-
},
|
|
310
|
-
var
|
|
302
|
+
}, ga = /* @__PURE__ */ Be(va, [["__scopeId", "data-v-95b9bcca"]]), ft = ({ BMap: e, map: t, marker: a, mapLoading: r, $autocomplete: u, searchResultList: l, innerInput: n, innerPoint: o, adCode: s, addressInfo: v }, b) => {
|
|
303
|
+
const C = S();
|
|
304
|
+
let x;
|
|
305
|
+
const k = (g, p, w) => {
|
|
306
|
+
C.value = p, w && (x = w);
|
|
307
|
+
const j = document.createElement("script");
|
|
308
|
+
j.src = `${location.protocol}//api.map.baidu.com/getscript?type=webgl&v=3.0&ak=${g}&services=&t=20200109192240`, j.onload = () => {
|
|
309
|
+
L();
|
|
310
|
+
}, document.body.append(j);
|
|
311
|
+
}, L = () => {
|
|
312
|
+
var p, w;
|
|
311
313
|
e.value = window.BMapGL;
|
|
312
314
|
try {
|
|
313
|
-
t.value = new e.value.Map("map", ((
|
|
315
|
+
t.value = new e.value.Map("map", ((p = C.value) == null ? void 0 : p.mapOpt) ?? {});
|
|
314
316
|
} catch {
|
|
315
|
-
r.value = !1,
|
|
317
|
+
r.value = !1, z.error(P("thirdPartyMapErrorRetry"));
|
|
316
318
|
}
|
|
317
|
-
const
|
|
319
|
+
const g = new e.value.NavigationControl({
|
|
318
320
|
// @ts-ignore
|
|
319
321
|
anchor: BMAP_ANCHOR_BOTTOM_RIGHT,
|
|
320
322
|
// @ts-ignore
|
|
321
323
|
type: BMAP_NAVIGATION_CONTROL_ZOOM
|
|
322
324
|
});
|
|
323
|
-
t.value.addControl(
|
|
324
|
-
},
|
|
325
|
-
new e.value.Geocoder().getPoint(
|
|
326
|
-
!
|
|
325
|
+
t.value.addControl(g), t.value.enableScrollWheelZoom(!0), i(), (w = C.value) != null && w.clickStream || h(), r.value = !1, x && x();
|
|
326
|
+
}, c = (g) => new Promise((p, w) => {
|
|
327
|
+
new e.value.Geocoder().getPoint(g, (d) => {
|
|
328
|
+
!d || JSON.stringify(d) == "{}" ? (z.error(P("thirdPartyMapErrorRetry")), w()) : (o.value[0] = d.lng, o.value[1] = d.lat, p(d));
|
|
327
329
|
});
|
|
328
330
|
}), i = async () => {
|
|
329
|
-
!
|
|
330
|
-
if (
|
|
331
|
-
const
|
|
332
|
-
(
|
|
331
|
+
!n.value && !o.value.length && R(), n.value && o.value.length > 0 ? await A(o.value[0], o.value[1]) : n.value ? await c(n.value) : o.value.length > 0 && await A(o.value[0], o.value[1], !0), n.value && _(n.value, (g, p) => {
|
|
332
|
+
if (p && p.length) {
|
|
333
|
+
const w = p.find(
|
|
334
|
+
(j) => j.value === n.value || j.info.name === n.value
|
|
333
335
|
);
|
|
334
|
-
|
|
336
|
+
w ? v.value = w.info : v.value = {
|
|
335
337
|
province: "",
|
|
336
338
|
city: "",
|
|
337
339
|
address: "",
|
|
338
|
-
name:
|
|
340
|
+
name: n.value
|
|
339
341
|
};
|
|
340
342
|
}
|
|
341
343
|
});
|
|
342
|
-
},
|
|
343
|
-
t.value.addEventListener("click", (
|
|
344
|
+
}, h = () => {
|
|
345
|
+
t.value.addEventListener("click", (g) => {
|
|
344
346
|
a.value && t.value.clearOverlays();
|
|
345
|
-
const
|
|
346
|
-
|
|
347
|
+
const p = g.latlng.lng, w = g.latlng.lat;
|
|
348
|
+
o.value = [p, w], A(p, w, !0);
|
|
347
349
|
});
|
|
348
|
-
},
|
|
349
|
-
const
|
|
350
|
-
|
|
351
|
-
if (
|
|
352
|
-
|
|
353
|
-
const { province:
|
|
354
|
-
|
|
355
|
-
province:
|
|
356
|
-
city:
|
|
357
|
-
address:
|
|
358
|
-
name:
|
|
350
|
+
}, A = (g, p, w = !1, j = "default") => new Promise((d, f) => {
|
|
351
|
+
const y = new e.value.Geocoder(), M = new e.value.Point(g, p);
|
|
352
|
+
y.getLocation(M, (m) => {
|
|
353
|
+
if (w) {
|
|
354
|
+
n.value = m.address;
|
|
355
|
+
const { province: O = "", city: N = "", district: B = "" } = m.addressComponents;
|
|
356
|
+
v.value = {
|
|
357
|
+
province: O,
|
|
358
|
+
city: N,
|
|
359
|
+
address: N + B,
|
|
360
|
+
name: m.address.replace(O, "").replace(N, "").replace(B, "")
|
|
359
361
|
};
|
|
360
362
|
}
|
|
361
|
-
|
|
363
|
+
m && m.address ? (j == "default" && (o.value[0] = m.point.lng, o.value[1] = m.point.lat, a.value && t.value.clearOverlays(), a.value = new e.value.Marker(M, { title: n.value }), t.value.addOverlay(a.value), t.value.centerAndZoom(M, 16)), U(g, p), d(m.address)) : (z.error(P("thirdPartyMapErrorRetry")), f());
|
|
362
364
|
});
|
|
363
|
-
}),
|
|
364
|
-
new e.value.LocalCity().get((
|
|
365
|
-
const
|
|
366
|
-
if (!
|
|
365
|
+
}), R = () => {
|
|
366
|
+
new e.value.LocalCity().get((p) => {
|
|
367
|
+
const w = p.center;
|
|
368
|
+
if (!p.center) return z.error(P("thirdPartyMapErrorRetry"));
|
|
367
369
|
a.value && t.value.clearOverlays();
|
|
368
|
-
const
|
|
369
|
-
t.value.centerAndZoom(
|
|
370
|
+
const j = new e.value.Point(w.lng, w.lat);
|
|
371
|
+
t.value.centerAndZoom(j, 13);
|
|
370
372
|
});
|
|
371
|
-
},
|
|
372
|
-
if (
|
|
373
|
-
|
|
373
|
+
}, _ = (g, p) => {
|
|
374
|
+
if (u.value.activated = !0, l.value = [], !g) {
|
|
375
|
+
p([]);
|
|
374
376
|
return;
|
|
375
377
|
}
|
|
376
378
|
new e.value.LocalSearch(t.value, {
|
|
377
|
-
onSearchComplete: (
|
|
378
|
-
let
|
|
379
|
-
for (let
|
|
380
|
-
|
|
381
|
-
if (!
|
|
382
|
-
|
|
383
|
-
const { address:
|
|
379
|
+
onSearchComplete: (j) => {
|
|
380
|
+
let d = [];
|
|
381
|
+
for (let f = 0; f < j.getCurrentNumPois(); f++)
|
|
382
|
+
d.push(j.getPoi(f));
|
|
383
|
+
if (!d.length) return p([]);
|
|
384
|
+
d = d.map((f) => {
|
|
385
|
+
const { address: y = "", title: M = "", province: m = "", city: O = "", point: N = {} } = f;
|
|
384
386
|
return {
|
|
385
|
-
value:
|
|
386
|
-
point:
|
|
387
|
+
value: y == M ? y : y + M,
|
|
388
|
+
point: N,
|
|
387
389
|
info: {
|
|
388
|
-
province:
|
|
389
|
-
city:
|
|
390
|
-
address:
|
|
391
|
-
name:
|
|
390
|
+
province: m,
|
|
391
|
+
city: O,
|
|
392
|
+
address: y,
|
|
393
|
+
name: M
|
|
392
394
|
}
|
|
393
395
|
};
|
|
394
|
-
}), l.value =
|
|
396
|
+
}), l.value = d.length > 5 ? d.slice(0, 5) : d, p(l.value, d);
|
|
395
397
|
}
|
|
396
|
-
}).search(
|
|
397
|
-
},
|
|
398
|
-
var
|
|
399
|
-
|
|
400
|
-
},
|
|
401
|
-
var
|
|
402
|
-
if (!l.value.length)
|
|
403
|
-
|
|
404
|
-
|
|
405
|
-
|
|
406
|
-
|
|
407
|
-
|
|
408
|
-
|
|
409
|
-
g || (c.value = C.areaCode);
|
|
398
|
+
}).search(g);
|
|
399
|
+
}, $ = (g) => {
|
|
400
|
+
var p, w;
|
|
401
|
+
n.value = g.value, v.value = g.info, A((p = g.point) == null ? void 0 : p.lng, (w = g.point) == null ? void 0 : w.lat);
|
|
402
|
+
}, G = () => {
|
|
403
|
+
var g;
|
|
404
|
+
if (!l.value.length) return z.error(P("thirdPartyMapErrorRetry"));
|
|
405
|
+
if (n.value = l.value[0].value, v.value = l.value[0].info, !((g = l.value[0]) != null && g.point))
|
|
406
|
+
return z.error(P("thirdPartyMapErrorRetry"));
|
|
407
|
+
o.value = [l.value[0].point.lng, l.value[0].point.lat], A(o.value[0], o.value[1]), u.value.activated = !1;
|
|
408
|
+
}, U = async (g, p) => {
|
|
409
|
+
const [w, j] = await ca().run({ longitude: g, latitude: p });
|
|
410
|
+
w || (s.value = j.areaCode);
|
|
410
411
|
};
|
|
411
412
|
return {
|
|
412
|
-
getLocationByInputSearch:
|
|
413
|
-
handleSelectAddress:
|
|
414
|
-
getLocationParse:
|
|
413
|
+
getLocationByInputSearch: _,
|
|
414
|
+
handleSelectAddress: $,
|
|
415
|
+
getLocationParse: G,
|
|
415
416
|
getMapInfo: () => ({
|
|
416
|
-
longitude:
|
|
417
|
-
latitude:
|
|
418
|
-
adCode:
|
|
419
|
-
address:
|
|
420
|
-
addressInfo:
|
|
417
|
+
longitude: o.value[0],
|
|
418
|
+
latitude: o.value[1],
|
|
419
|
+
adCode: s.value,
|
|
420
|
+
address: n.value,
|
|
421
|
+
addressInfo: v.value
|
|
421
422
|
}),
|
|
422
|
-
loadJavascript:
|
|
423
|
+
loadJavascript: k
|
|
423
424
|
};
|
|
424
|
-
},
|
|
425
|
+
}, pa = { class: "search-input" }, ha = { id: "map" }, ya = /* @__PURE__ */ Ae({
|
|
425
426
|
__name: "baiduMap",
|
|
426
427
|
props: {
|
|
427
428
|
akValue: {},
|
|
@@ -434,70 +435,70 @@ const W = (e) => {
|
|
|
434
435
|
dev: { type: Boolean }
|
|
435
436
|
},
|
|
436
437
|
setup(e, { expose: t }) {
|
|
437
|
-
const a = e, r =
|
|
438
|
-
width: a.width ?
|
|
439
|
-
height: a.height ?
|
|
440
|
-
})),
|
|
438
|
+
const a = e, r = H(null), u = H(null), l = H(null), n = S(!0), o = S(null), s = S([]), v = Se(() => ({
|
|
439
|
+
width: a.width ? Q(a.width) : "100%",
|
|
440
|
+
height: a.height ? Q(a.height) : "100%"
|
|
441
|
+
})), b = S(""), C = S([]), x = S(""), k = S(), { getLocationByInputSearch: L, handleSelectAddress: c, getLocationParse: i, getMapInfo: h, loadJavascript: A } = ft(
|
|
441
442
|
{
|
|
442
443
|
BMap: r,
|
|
443
|
-
map:
|
|
444
|
+
map: u,
|
|
444
445
|
marker: l,
|
|
445
|
-
mapLoading:
|
|
446
|
-
$autocomplete:
|
|
447
|
-
searchResultList:
|
|
448
|
-
innerInput:
|
|
449
|
-
innerPoint:
|
|
450
|
-
adCode:
|
|
446
|
+
mapLoading: n,
|
|
447
|
+
$autocomplete: o,
|
|
448
|
+
searchResultList: s,
|
|
449
|
+
innerInput: b,
|
|
450
|
+
innerPoint: C,
|
|
451
|
+
adCode: x,
|
|
452
|
+
addressInfo: k
|
|
451
453
|
}
|
|
452
|
-
),
|
|
454
|
+
), R = async () => {
|
|
453
455
|
if (a.akValue) return a.akValue;
|
|
454
|
-
const [
|
|
455
|
-
return
|
|
456
|
+
const [_, $] = await Ge("baidu");
|
|
457
|
+
return _ ? (z.error(P("获取地图配置信息失败")), "") : !_ && !$ ? (z.error(P("暂未配置地图")), "") : $.akVal;
|
|
456
458
|
};
|
|
457
|
-
return
|
|
458
|
-
a.defaultLongitude && a.defaultLatitude && (
|
|
459
|
-
const
|
|
460
|
-
|
|
459
|
+
return Oe(async () => {
|
|
460
|
+
a.defaultLongitude && a.defaultLatitude && (C.value = [a.defaultLongitude, a.defaultLatitude]), b.value = a.defaultAddress ?? "";
|
|
461
|
+
const _ = await R();
|
|
462
|
+
A(_);
|
|
461
463
|
}), t({
|
|
462
464
|
// 获取经纬度、地址、行政区划信息
|
|
463
|
-
getMapInfo:
|
|
464
|
-
}), (
|
|
465
|
-
const
|
|
466
|
-
return
|
|
465
|
+
getMapInfo: h
|
|
466
|
+
}), (_, $) => {
|
|
467
|
+
const G = Pe, U = ke;
|
|
468
|
+
return $e(), Te(
|
|
467
469
|
"div",
|
|
468
470
|
{
|
|
469
471
|
class: "das-map",
|
|
470
|
-
style:
|
|
472
|
+
style: je(v.value)
|
|
471
473
|
},
|
|
472
474
|
[
|
|
473
|
-
|
|
474
|
-
|
|
475
|
+
W("div", pa, [
|
|
476
|
+
Z(de(G, {
|
|
475
477
|
ref_key: "$autocomplete",
|
|
476
|
-
ref:
|
|
477
|
-
modelValue:
|
|
478
|
-
"onUpdate:modelValue":
|
|
479
|
-
|
|
480
|
-
|
|
481
|
-
placeholder: R(k)("请输入位置"),
|
|
478
|
+
ref: o,
|
|
479
|
+
modelValue: b.value,
|
|
480
|
+
"onUpdate:modelValue": $[0] || ($[0] = (T) => b.value = T),
|
|
481
|
+
"fetch-suggestions": D(L),
|
|
482
|
+
placeholder: D(P)("请输入位置"),
|
|
482
483
|
style: { width: "100%" },
|
|
483
484
|
"trigger-on-focus": !1,
|
|
484
|
-
onSelect:
|
|
485
|
-
onKeyup:
|
|
485
|
+
onSelect: D(c),
|
|
486
|
+
onKeyup: Le(D(i), ["enter", "native"]),
|
|
486
487
|
clearable: ""
|
|
487
488
|
}, null, 8, ["modelValue", "fetch-suggestions", "placeholder", "onSelect", "onKeyup"]), [
|
|
488
|
-
[
|
|
489
|
+
[D(Re)]
|
|
489
490
|
])
|
|
490
491
|
]),
|
|
491
|
-
|
|
492
|
+
Z(W(
|
|
492
493
|
"div",
|
|
493
|
-
|
|
494
|
+
ha,
|
|
494
495
|
null,
|
|
495
496
|
512
|
|
496
497
|
/* NEED_PATCH */
|
|
497
498
|
), [
|
|
498
499
|
[
|
|
499
500
|
U,
|
|
500
|
-
|
|
501
|
+
n.value,
|
|
501
502
|
void 0,
|
|
502
503
|
{ lock: !0 }
|
|
503
504
|
]
|
|
@@ -508,105 +509,105 @@ const W = (e) => {
|
|
|
508
509
|
);
|
|
509
510
|
};
|
|
510
511
|
}
|
|
511
|
-
}),
|
|
512
|
-
function
|
|
512
|
+
}), ma = /* @__PURE__ */ Be(ya, [["__scopeId", "data-v-5444de43"]]);
|
|
513
|
+
function ba() {
|
|
513
514
|
this.__data__ = [], this.size = 0;
|
|
514
515
|
}
|
|
515
|
-
function
|
|
516
|
+
function ge(e, t) {
|
|
516
517
|
return e === t || e !== e && t !== t;
|
|
517
518
|
}
|
|
518
|
-
function
|
|
519
|
+
function pe(e, t) {
|
|
519
520
|
for (var a = e.length; a--; )
|
|
520
|
-
if (
|
|
521
|
+
if (ge(e[a][0], t))
|
|
521
522
|
return a;
|
|
522
523
|
return -1;
|
|
523
524
|
}
|
|
524
|
-
var
|
|
525
|
-
function
|
|
526
|
-
var t = this.__data__, a =
|
|
525
|
+
var _a = Array.prototype, wa = _a.splice;
|
|
526
|
+
function xa(e) {
|
|
527
|
+
var t = this.__data__, a = pe(t, e);
|
|
527
528
|
if (a < 0)
|
|
528
529
|
return !1;
|
|
529
530
|
var r = t.length - 1;
|
|
530
|
-
return a == r ? t.pop() :
|
|
531
|
+
return a == r ? t.pop() : wa.call(t, a, 1), --this.size, !0;
|
|
531
532
|
}
|
|
532
|
-
function
|
|
533
|
-
var t = this.__data__, a =
|
|
533
|
+
function Ma(e) {
|
|
534
|
+
var t = this.__data__, a = pe(t, e);
|
|
534
535
|
return a < 0 ? void 0 : t[a][1];
|
|
535
536
|
}
|
|
536
|
-
function
|
|
537
|
-
return
|
|
537
|
+
function Ca(e) {
|
|
538
|
+
return pe(this.__data__, e) > -1;
|
|
538
539
|
}
|
|
539
|
-
function
|
|
540
|
-
var a = this.__data__, r =
|
|
540
|
+
function Aa(e, t) {
|
|
541
|
+
var a = this.__data__, r = pe(a, e);
|
|
541
542
|
return r < 0 ? (++this.size, a.push([e, t])) : a[r][1] = t, this;
|
|
542
543
|
}
|
|
543
|
-
function
|
|
544
|
+
function I(e) {
|
|
544
545
|
var t = -1, a = e == null ? 0 : e.length;
|
|
545
546
|
for (this.clear(); ++t < a; ) {
|
|
546
547
|
var r = e[t];
|
|
547
548
|
this.set(r[0], r[1]);
|
|
548
549
|
}
|
|
549
550
|
}
|
|
550
|
-
|
|
551
|
-
|
|
552
|
-
|
|
553
|
-
|
|
554
|
-
|
|
555
|
-
function
|
|
556
|
-
this.__data__ = new
|
|
551
|
+
I.prototype.clear = ba;
|
|
552
|
+
I.prototype.delete = xa;
|
|
553
|
+
I.prototype.get = Ma;
|
|
554
|
+
I.prototype.has = Ca;
|
|
555
|
+
I.prototype.set = Aa;
|
|
556
|
+
function Sa() {
|
|
557
|
+
this.__data__ = new I(), this.size = 0;
|
|
557
558
|
}
|
|
558
|
-
function
|
|
559
|
+
function Oa(e) {
|
|
559
560
|
var t = this.__data__, a = t.delete(e);
|
|
560
561
|
return this.size = t.size, a;
|
|
561
562
|
}
|
|
562
|
-
function
|
|
563
|
+
function Ta(e) {
|
|
563
564
|
return this.__data__.get(e);
|
|
564
565
|
}
|
|
565
|
-
function
|
|
566
|
+
function $a(e) {
|
|
566
567
|
return this.__data__.has(e);
|
|
567
568
|
}
|
|
568
|
-
var
|
|
569
|
-
function
|
|
570
|
-
var t =
|
|
569
|
+
var vt = typeof global == "object" && global && global.Object === Object && global, ja = typeof self == "object" && self && self.Object === Object && self, te = vt || ja || Function("return this")(), ee = te.Symbol, gt = Object.prototype, La = gt.hasOwnProperty, Ea = gt.toString, ue = ee ? ee.toStringTag : void 0;
|
|
570
|
+
function Pa(e) {
|
|
571
|
+
var t = La.call(e, ue), a = e[ue];
|
|
571
572
|
try {
|
|
572
|
-
e[
|
|
573
|
+
e[ue] = void 0;
|
|
573
574
|
var r = !0;
|
|
574
575
|
} catch {
|
|
575
576
|
}
|
|
576
|
-
var
|
|
577
|
-
return r && (t ? e[
|
|
577
|
+
var u = Ea.call(e);
|
|
578
|
+
return r && (t ? e[ue] = a : delete e[ue]), u;
|
|
578
579
|
}
|
|
579
|
-
var
|
|
580
|
-
function
|
|
581
|
-
return
|
|
580
|
+
var ka = Object.prototype, Ra = ka.toString;
|
|
581
|
+
function Ga(e) {
|
|
582
|
+
return Ra.call(e);
|
|
582
583
|
}
|
|
583
|
-
var
|
|
584
|
-
function
|
|
585
|
-
return e == null ? e === void 0 ?
|
|
584
|
+
var Ba = "[object Null]", Da = "[object Undefined]", Fe = ee ? ee.toStringTag : void 0;
|
|
585
|
+
function se(e) {
|
|
586
|
+
return e == null ? e === void 0 ? Da : Ba : Fe && Fe in Object(e) ? Pa(e) : Ga(e);
|
|
586
587
|
}
|
|
587
|
-
function
|
|
588
|
+
function Y(e) {
|
|
588
589
|
var t = typeof e;
|
|
589
590
|
return e != null && (t == "object" || t == "function");
|
|
590
591
|
}
|
|
591
|
-
var
|
|
592
|
-
function
|
|
593
|
-
if (!
|
|
592
|
+
var za = "[object AsyncFunction]", Na = "[object Function]", Ua = "[object GeneratorFunction]", Va = "[object Proxy]";
|
|
593
|
+
function De(e) {
|
|
594
|
+
if (!Y(e))
|
|
594
595
|
return !1;
|
|
595
|
-
var t =
|
|
596
|
-
return t ==
|
|
596
|
+
var t = se(e);
|
|
597
|
+
return t == Na || t == Ua || t == za || t == Va;
|
|
597
598
|
}
|
|
598
|
-
var
|
|
599
|
-
var e = /[^.]+$/.exec(
|
|
599
|
+
var me = te["__core-js_shared__"], He = function() {
|
|
600
|
+
var e = /[^.]+$/.exec(me && me.keys && me.keys.IE_PROTO || "");
|
|
600
601
|
return e ? "Symbol(src)_1." + e : "";
|
|
601
602
|
}();
|
|
602
|
-
function
|
|
603
|
-
return !!
|
|
603
|
+
function Ka(e) {
|
|
604
|
+
return !!He && He in e;
|
|
604
605
|
}
|
|
605
|
-
var
|
|
606
|
+
var Fa = Function.prototype, Ha = Fa.toString;
|
|
606
607
|
function Ia(e) {
|
|
607
608
|
if (e != null) {
|
|
608
609
|
try {
|
|
609
|
-
return
|
|
610
|
+
return Ha.call(e);
|
|
610
611
|
} catch {
|
|
611
612
|
}
|
|
612
613
|
try {
|
|
@@ -616,335 +617,335 @@ function Ia(e) {
|
|
|
616
617
|
}
|
|
617
618
|
return "";
|
|
618
619
|
}
|
|
619
|
-
var
|
|
620
|
-
"^" +
|
|
620
|
+
var Ja = /[\\^$.*+?()[\]{}|]/g, Za = /^\[object .+?Constructor\]$/, Wa = Function.prototype, qa = Object.prototype, Ya = Wa.toString, Xa = qa.hasOwnProperty, Qa = RegExp(
|
|
621
|
+
"^" + Ya.call(Xa).replace(Ja, "\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, "$1.*?") + "$"
|
|
621
622
|
);
|
|
622
|
-
function
|
|
623
|
-
if (!
|
|
623
|
+
function eo(e) {
|
|
624
|
+
if (!Y(e) || Ka(e))
|
|
624
625
|
return !1;
|
|
625
|
-
var t =
|
|
626
|
+
var t = De(e) ? Qa : Za;
|
|
626
627
|
return t.test(Ia(e));
|
|
627
628
|
}
|
|
628
|
-
function
|
|
629
|
+
function to(e, t) {
|
|
629
630
|
return e == null ? void 0 : e[t];
|
|
630
631
|
}
|
|
631
|
-
function
|
|
632
|
-
var a =
|
|
633
|
-
return
|
|
632
|
+
function ze(e, t) {
|
|
633
|
+
var a = to(e, t);
|
|
634
|
+
return eo(a) ? a : void 0;
|
|
634
635
|
}
|
|
635
|
-
var
|
|
636
|
-
function
|
|
637
|
-
this.__data__ =
|
|
636
|
+
var pt = ze(te, "Map"), ce = ze(Object, "create");
|
|
637
|
+
function ao() {
|
|
638
|
+
this.__data__ = ce ? ce(null) : {}, this.size = 0;
|
|
638
639
|
}
|
|
639
|
-
function
|
|
640
|
+
function oo(e) {
|
|
640
641
|
var t = this.has(e) && delete this.__data__[e];
|
|
641
642
|
return this.size -= t ? 1 : 0, t;
|
|
642
643
|
}
|
|
643
|
-
var
|
|
644
|
-
function
|
|
644
|
+
var ro = "__lodash_hash_undefined__", no = Object.prototype, lo = no.hasOwnProperty;
|
|
645
|
+
function uo(e) {
|
|
645
646
|
var t = this.__data__;
|
|
646
|
-
if (
|
|
647
|
+
if (ce) {
|
|
647
648
|
var a = t[e];
|
|
648
|
-
return a ===
|
|
649
|
+
return a === ro ? void 0 : a;
|
|
649
650
|
}
|
|
650
|
-
return
|
|
651
|
+
return lo.call(t, e) ? t[e] : void 0;
|
|
651
652
|
}
|
|
652
|
-
var
|
|
653
|
-
function
|
|
653
|
+
var io = Object.prototype, co = io.hasOwnProperty;
|
|
654
|
+
function so(e) {
|
|
654
655
|
var t = this.__data__;
|
|
655
|
-
return
|
|
656
|
+
return ce ? t[e] !== void 0 : co.call(t, e);
|
|
656
657
|
}
|
|
657
|
-
var
|
|
658
|
-
function
|
|
658
|
+
var fo = "__lodash_hash_undefined__";
|
|
659
|
+
function vo(e, t) {
|
|
659
660
|
var a = this.__data__;
|
|
660
|
-
return this.size += this.has(e) ? 0 : 1, a[e] =
|
|
661
|
+
return this.size += this.has(e) ? 0 : 1, a[e] = ce && t === void 0 ? fo : t, this;
|
|
661
662
|
}
|
|
662
|
-
function
|
|
663
|
+
function q(e) {
|
|
663
664
|
var t = -1, a = e == null ? 0 : e.length;
|
|
664
665
|
for (this.clear(); ++t < a; ) {
|
|
665
666
|
var r = e[t];
|
|
666
667
|
this.set(r[0], r[1]);
|
|
667
668
|
}
|
|
668
669
|
}
|
|
669
|
-
|
|
670
|
-
|
|
671
|
-
|
|
672
|
-
|
|
673
|
-
|
|
674
|
-
function
|
|
670
|
+
q.prototype.clear = ao;
|
|
671
|
+
q.prototype.delete = oo;
|
|
672
|
+
q.prototype.get = uo;
|
|
673
|
+
q.prototype.has = so;
|
|
674
|
+
q.prototype.set = vo;
|
|
675
|
+
function go() {
|
|
675
676
|
this.size = 0, this.__data__ = {
|
|
676
|
-
hash: new
|
|
677
|
-
map: new (
|
|
678
|
-
string: new
|
|
677
|
+
hash: new q(),
|
|
678
|
+
map: new (pt || I)(),
|
|
679
|
+
string: new q()
|
|
679
680
|
};
|
|
680
681
|
}
|
|
681
|
-
function
|
|
682
|
+
function po(e) {
|
|
682
683
|
var t = typeof e;
|
|
683
684
|
return t == "string" || t == "number" || t == "symbol" || t == "boolean" ? e !== "__proto__" : e === null;
|
|
684
685
|
}
|
|
685
|
-
function
|
|
686
|
+
function he(e, t) {
|
|
686
687
|
var a = e.__data__;
|
|
687
|
-
return
|
|
688
|
+
return po(t) ? a[typeof t == "string" ? "string" : "hash"] : a.map;
|
|
688
689
|
}
|
|
689
|
-
function
|
|
690
|
-
var t =
|
|
690
|
+
function ho(e) {
|
|
691
|
+
var t = he(this, e).delete(e);
|
|
691
692
|
return this.size -= t ? 1 : 0, t;
|
|
692
693
|
}
|
|
693
|
-
function
|
|
694
|
-
return
|
|
694
|
+
function yo(e) {
|
|
695
|
+
return he(this, e).get(e);
|
|
695
696
|
}
|
|
696
|
-
function
|
|
697
|
-
return
|
|
697
|
+
function mo(e) {
|
|
698
|
+
return he(this, e).has(e);
|
|
698
699
|
}
|
|
699
|
-
function
|
|
700
|
-
var a =
|
|
700
|
+
function bo(e, t) {
|
|
701
|
+
var a = he(this, e), r = a.size;
|
|
701
702
|
return a.set(e, t), this.size += a.size == r ? 0 : 1, this;
|
|
702
703
|
}
|
|
703
|
-
function
|
|
704
|
+
function ae(e) {
|
|
704
705
|
var t = -1, a = e == null ? 0 : e.length;
|
|
705
706
|
for (this.clear(); ++t < a; ) {
|
|
706
707
|
var r = e[t];
|
|
707
708
|
this.set(r[0], r[1]);
|
|
708
709
|
}
|
|
709
710
|
}
|
|
710
|
-
|
|
711
|
-
|
|
712
|
-
|
|
713
|
-
|
|
714
|
-
|
|
715
|
-
var
|
|
716
|
-
function
|
|
711
|
+
ae.prototype.clear = go;
|
|
712
|
+
ae.prototype.delete = ho;
|
|
713
|
+
ae.prototype.get = yo;
|
|
714
|
+
ae.prototype.has = mo;
|
|
715
|
+
ae.prototype.set = bo;
|
|
716
|
+
var _o = 200;
|
|
717
|
+
function wo(e, t) {
|
|
717
718
|
var a = this.__data__;
|
|
718
|
-
if (a instanceof
|
|
719
|
+
if (a instanceof I) {
|
|
719
720
|
var r = a.__data__;
|
|
720
|
-
if (!
|
|
721
|
+
if (!pt || r.length < _o - 1)
|
|
721
722
|
return r.push([e, t]), this.size = ++a.size, this;
|
|
722
|
-
a = this.__data__ = new
|
|
723
|
+
a = this.__data__ = new ae(r);
|
|
723
724
|
}
|
|
724
725
|
return a.set(e, t), this.size = a.size, this;
|
|
725
726
|
}
|
|
726
|
-
function
|
|
727
|
-
var t = this.__data__ = new
|
|
727
|
+
function oe(e) {
|
|
728
|
+
var t = this.__data__ = new I(e);
|
|
728
729
|
this.size = t.size;
|
|
729
730
|
}
|
|
730
|
-
|
|
731
|
-
|
|
732
|
-
|
|
733
|
-
|
|
734
|
-
|
|
735
|
-
var
|
|
731
|
+
oe.prototype.clear = Sa;
|
|
732
|
+
oe.prototype.delete = Oa;
|
|
733
|
+
oe.prototype.get = Ta;
|
|
734
|
+
oe.prototype.has = $a;
|
|
735
|
+
oe.prototype.set = wo;
|
|
736
|
+
var fe = function() {
|
|
736
737
|
try {
|
|
737
|
-
var e =
|
|
738
|
+
var e = ze(Object, "defineProperty");
|
|
738
739
|
return e({}, "", {}), e;
|
|
739
740
|
} catch {
|
|
740
741
|
}
|
|
741
742
|
}();
|
|
742
|
-
function
|
|
743
|
-
t == "__proto__" &&
|
|
743
|
+
function Ne(e, t, a) {
|
|
744
|
+
t == "__proto__" && fe ? fe(e, t, {
|
|
744
745
|
configurable: !0,
|
|
745
746
|
enumerable: !0,
|
|
746
747
|
value: a,
|
|
747
748
|
writable: !0
|
|
748
749
|
}) : e[t] = a;
|
|
749
750
|
}
|
|
750
|
-
function
|
|
751
|
-
(a !== void 0 && !
|
|
751
|
+
function _e(e, t, a) {
|
|
752
|
+
(a !== void 0 && !ge(e[t], a) || a === void 0 && !(t in e)) && Ne(e, t, a);
|
|
752
753
|
}
|
|
753
|
-
function
|
|
754
|
+
function xo(e) {
|
|
754
755
|
return function(t, a, r) {
|
|
755
|
-
for (var
|
|
756
|
-
var
|
|
757
|
-
if (a(l[
|
|
756
|
+
for (var u = -1, l = Object(t), n = r(t), o = n.length; o--; ) {
|
|
757
|
+
var s = n[++u];
|
|
758
|
+
if (a(l[s], s, l) === !1)
|
|
758
759
|
break;
|
|
759
760
|
}
|
|
760
761
|
return t;
|
|
761
762
|
};
|
|
762
763
|
}
|
|
763
|
-
var
|
|
764
|
-
|
|
765
|
-
function
|
|
764
|
+
var Mo = xo(), ht = typeof exports == "object" && exports && !exports.nodeType && exports, Ie = ht && typeof module == "object" && module && !module.nodeType && module, Co = Ie && Ie.exports === ht, Je = Co ? te.Buffer : void 0;
|
|
765
|
+
Je && Je.allocUnsafe;
|
|
766
|
+
function Ao(e, t) {
|
|
766
767
|
return e.slice();
|
|
767
768
|
}
|
|
768
|
-
var
|
|
769
|
-
function
|
|
769
|
+
var Ze = te.Uint8Array;
|
|
770
|
+
function So(e) {
|
|
770
771
|
var t = new e.constructor(e.byteLength);
|
|
771
|
-
return new
|
|
772
|
+
return new Ze(t).set(new Ze(e)), t;
|
|
772
773
|
}
|
|
773
|
-
function
|
|
774
|
-
var a =
|
|
774
|
+
function Oo(e, t) {
|
|
775
|
+
var a = So(e.buffer);
|
|
775
776
|
return new e.constructor(a, e.byteOffset, e.length);
|
|
776
777
|
}
|
|
777
|
-
function
|
|
778
|
+
function To(e, t) {
|
|
778
779
|
var a = -1, r = e.length;
|
|
779
780
|
for (t || (t = Array(r)); ++a < r; )
|
|
780
781
|
t[a] = e[a];
|
|
781
782
|
return t;
|
|
782
783
|
}
|
|
783
|
-
var
|
|
784
|
+
var We = Object.create, $o = /* @__PURE__ */ function() {
|
|
784
785
|
function e() {
|
|
785
786
|
}
|
|
786
787
|
return function(t) {
|
|
787
|
-
if (!
|
|
788
|
+
if (!Y(t))
|
|
788
789
|
return {};
|
|
789
|
-
if (
|
|
790
|
-
return
|
|
790
|
+
if (We)
|
|
791
|
+
return We(t);
|
|
791
792
|
e.prototype = t;
|
|
792
793
|
var a = new e();
|
|
793
794
|
return e.prototype = void 0, a;
|
|
794
795
|
};
|
|
795
796
|
}();
|
|
796
|
-
function
|
|
797
|
+
function jo(e, t) {
|
|
797
798
|
return function(a) {
|
|
798
799
|
return e(t(a));
|
|
799
800
|
};
|
|
800
801
|
}
|
|
801
|
-
var
|
|
802
|
-
function
|
|
803
|
-
var t = e && e.constructor, a = typeof t == "function" && t.prototype ||
|
|
802
|
+
var yt = jo(Object.getPrototypeOf, Object), Lo = Object.prototype;
|
|
803
|
+
function mt(e) {
|
|
804
|
+
var t = e && e.constructor, a = typeof t == "function" && t.prototype || Lo;
|
|
804
805
|
return e === a;
|
|
805
806
|
}
|
|
806
|
-
function
|
|
807
|
-
return typeof e.constructor == "function" && !
|
|
807
|
+
function Eo(e) {
|
|
808
|
+
return typeof e.constructor == "function" && !mt(e) ? $o(yt(e)) : {};
|
|
808
809
|
}
|
|
809
|
-
function
|
|
810
|
+
function re(e) {
|
|
810
811
|
return e != null && typeof e == "object";
|
|
811
812
|
}
|
|
812
|
-
var
|
|
813
|
-
function
|
|
814
|
-
return
|
|
813
|
+
var Po = "[object Arguments]";
|
|
814
|
+
function qe(e) {
|
|
815
|
+
return re(e) && se(e) == Po;
|
|
815
816
|
}
|
|
816
|
-
var
|
|
817
|
+
var bt = Object.prototype, ko = bt.hasOwnProperty, Ro = bt.propertyIsEnumerable, we = qe(/* @__PURE__ */ function() {
|
|
817
818
|
return arguments;
|
|
818
|
-
}()) ?
|
|
819
|
-
return
|
|
820
|
-
},
|
|
821
|
-
function
|
|
822
|
-
return typeof e == "number" && e > -1 && e % 1 == 0 && e <=
|
|
819
|
+
}()) ? qe : function(e) {
|
|
820
|
+
return re(e) && ko.call(e, "callee") && !Ro.call(e, "callee");
|
|
821
|
+
}, ve = Array.isArray, Go = 9007199254740991;
|
|
822
|
+
function _t(e) {
|
|
823
|
+
return typeof e == "number" && e > -1 && e % 1 == 0 && e <= Go;
|
|
823
824
|
}
|
|
824
|
-
function
|
|
825
|
-
return e != null &&
|
|
825
|
+
function Ue(e) {
|
|
826
|
+
return e != null && _t(e.length) && !De(e);
|
|
826
827
|
}
|
|
827
|
-
function
|
|
828
|
-
return
|
|
828
|
+
function Bo(e) {
|
|
829
|
+
return re(e) && Ue(e);
|
|
829
830
|
}
|
|
830
|
-
function
|
|
831
|
+
function Do() {
|
|
831
832
|
return !1;
|
|
832
833
|
}
|
|
833
|
-
var
|
|
834
|
-
function
|
|
835
|
-
if (!
|
|
834
|
+
var wt = typeof exports == "object" && exports && !exports.nodeType && exports, Ye = wt && typeof module == "object" && module && !module.nodeType && module, zo = Ye && Ye.exports === wt, Xe = zo ? te.Buffer : void 0, No = Xe ? Xe.isBuffer : void 0, xt = No || Do, Uo = "[object Object]", Vo = Function.prototype, Ko = Object.prototype, Mt = Vo.toString, Fo = Ko.hasOwnProperty, Ho = Mt.call(Object);
|
|
835
|
+
function Io(e) {
|
|
836
|
+
if (!re(e) || se(e) != Uo)
|
|
836
837
|
return !1;
|
|
837
|
-
var t =
|
|
838
|
+
var t = yt(e);
|
|
838
839
|
if (t === null)
|
|
839
840
|
return !0;
|
|
840
|
-
var a =
|
|
841
|
-
return typeof a == "function" && a instanceof a &&
|
|
841
|
+
var a = Fo.call(t, "constructor") && t.constructor;
|
|
842
|
+
return typeof a == "function" && a instanceof a && Mt.call(a) == Ho;
|
|
842
843
|
}
|
|
843
|
-
var
|
|
844
|
-
|
|
845
|
-
|
|
846
|
-
function
|
|
847
|
-
return
|
|
844
|
+
var Jo = "[object Arguments]", Zo = "[object Array]", Wo = "[object Boolean]", qo = "[object Date]", Yo = "[object Error]", Xo = "[object Function]", Qo = "[object Map]", er = "[object Number]", tr = "[object Object]", ar = "[object RegExp]", or = "[object Set]", rr = "[object String]", nr = "[object WeakMap]", lr = "[object ArrayBuffer]", ur = "[object DataView]", ir = "[object Float32Array]", cr = "[object Float64Array]", sr = "[object Int8Array]", dr = "[object Int16Array]", fr = "[object Int32Array]", vr = "[object Uint8Array]", gr = "[object Uint8ClampedArray]", pr = "[object Uint16Array]", hr = "[object Uint32Array]", E = {};
|
|
845
|
+
E[ir] = E[cr] = E[sr] = E[dr] = E[fr] = E[vr] = E[gr] = E[pr] = E[hr] = !0;
|
|
846
|
+
E[Jo] = E[Zo] = E[lr] = E[Wo] = E[ur] = E[qo] = E[Yo] = E[Xo] = E[Qo] = E[er] = E[tr] = E[ar] = E[or] = E[rr] = E[nr] = !1;
|
|
847
|
+
function yr(e) {
|
|
848
|
+
return re(e) && _t(e.length) && !!E[se(e)];
|
|
848
849
|
}
|
|
849
|
-
function
|
|
850
|
+
function mr(e) {
|
|
850
851
|
return function(t) {
|
|
851
852
|
return e(t);
|
|
852
853
|
};
|
|
853
854
|
}
|
|
854
|
-
var
|
|
855
|
+
var Ct = typeof exports == "object" && exports && !exports.nodeType && exports, ie = Ct && typeof module == "object" && module && !module.nodeType && module, br = ie && ie.exports === Ct, be = br && vt.process, Qe = function() {
|
|
855
856
|
try {
|
|
856
|
-
var e =
|
|
857
|
-
return e ||
|
|
857
|
+
var e = ie && ie.require && ie.require("util").types;
|
|
858
|
+
return e || be && be.binding && be.binding("util");
|
|
858
859
|
} catch {
|
|
859
860
|
}
|
|
860
|
-
}(),
|
|
861
|
-
function
|
|
861
|
+
}(), et = Qe && Qe.isTypedArray, At = et ? mr(et) : yr;
|
|
862
|
+
function xe(e, t) {
|
|
862
863
|
if (!(t === "constructor" && typeof e[t] == "function") && t != "__proto__")
|
|
863
864
|
return e[t];
|
|
864
865
|
}
|
|
865
|
-
var
|
|
866
|
-
function
|
|
866
|
+
var _r = Object.prototype, wr = _r.hasOwnProperty;
|
|
867
|
+
function xr(e, t, a) {
|
|
867
868
|
var r = e[t];
|
|
868
|
-
(!(
|
|
869
|
+
(!(wr.call(e, t) && ge(r, a)) || a === void 0 && !(t in e)) && Ne(e, t, a);
|
|
869
870
|
}
|
|
870
|
-
function
|
|
871
|
-
var
|
|
871
|
+
function Mr(e, t, a, r) {
|
|
872
|
+
var u = !a;
|
|
872
873
|
a || (a = {});
|
|
873
|
-
for (var l = -1,
|
|
874
|
-
var
|
|
875
|
-
|
|
874
|
+
for (var l = -1, n = t.length; ++l < n; ) {
|
|
875
|
+
var o = t[l], s = void 0;
|
|
876
|
+
s === void 0 && (s = e[o]), u ? Ne(a, o, s) : xr(a, o, s);
|
|
876
877
|
}
|
|
877
878
|
return a;
|
|
878
879
|
}
|
|
879
|
-
function
|
|
880
|
+
function Cr(e, t) {
|
|
880
881
|
for (var a = -1, r = Array(e); ++a < e; )
|
|
881
882
|
r[a] = t(a);
|
|
882
883
|
return r;
|
|
883
884
|
}
|
|
884
|
-
var
|
|
885
|
-
function
|
|
885
|
+
var Ar = 9007199254740991, Sr = /^(?:0|[1-9]\d*)$/;
|
|
886
|
+
function St(e, t) {
|
|
886
887
|
var a = typeof e;
|
|
887
|
-
return t = t ??
|
|
888
|
-
}
|
|
889
|
-
function
|
|
890
|
-
var a =
|
|
891
|
-
for (var
|
|
892
|
-
|
|
893
|
-
(
|
|
894
|
-
|
|
895
|
-
l && (
|
|
896
|
-
|
|
897
|
-
return
|
|
898
|
-
}
|
|
899
|
-
function
|
|
888
|
+
return t = t ?? Ar, !!t && (a == "number" || a != "symbol" && Sr.test(e)) && e > -1 && e % 1 == 0 && e < t;
|
|
889
|
+
}
|
|
890
|
+
function Or(e, t) {
|
|
891
|
+
var a = ve(e), r = !a && we(e), u = !a && !r && xt(e), l = !a && !r && !u && At(e), n = a || r || u || l, o = n ? Cr(e.length, String) : [], s = o.length;
|
|
892
|
+
for (var v in e)
|
|
893
|
+
n && // Safari 9 has enumerable `arguments.length` in strict mode.
|
|
894
|
+
(v == "length" || // Node.js 0.10 has enumerable non-index properties on buffers.
|
|
895
|
+
u && (v == "offset" || v == "parent") || // PhantomJS 2 has enumerable non-index properties on typed arrays.
|
|
896
|
+
l && (v == "buffer" || v == "byteLength" || v == "byteOffset") || // Skip index properties.
|
|
897
|
+
St(v, s)) || o.push(v);
|
|
898
|
+
return o;
|
|
899
|
+
}
|
|
900
|
+
function Tr(e) {
|
|
900
901
|
var t = [];
|
|
901
902
|
if (e != null)
|
|
902
903
|
for (var a in Object(e))
|
|
903
904
|
t.push(a);
|
|
904
905
|
return t;
|
|
905
906
|
}
|
|
906
|
-
var
|
|
907
|
-
function
|
|
908
|
-
if (!
|
|
909
|
-
return
|
|
910
|
-
var t =
|
|
907
|
+
var $r = Object.prototype, jr = $r.hasOwnProperty;
|
|
908
|
+
function Lr(e) {
|
|
909
|
+
if (!Y(e))
|
|
910
|
+
return Tr(e);
|
|
911
|
+
var t = mt(e), a = [];
|
|
911
912
|
for (var r in e)
|
|
912
|
-
r == "constructor" && (t || !
|
|
913
|
+
r == "constructor" && (t || !jr.call(e, r)) || a.push(r);
|
|
913
914
|
return a;
|
|
914
915
|
}
|
|
915
|
-
function
|
|
916
|
-
return
|
|
916
|
+
function Ot(e) {
|
|
917
|
+
return Ue(e) ? Or(e) : Lr(e);
|
|
917
918
|
}
|
|
918
|
-
function
|
|
919
|
-
return
|
|
919
|
+
function Er(e) {
|
|
920
|
+
return Mr(e, Ot(e));
|
|
920
921
|
}
|
|
921
|
-
function
|
|
922
|
-
var
|
|
923
|
-
if (
|
|
924
|
-
|
|
922
|
+
function Pr(e, t, a, r, u, l, n) {
|
|
923
|
+
var o = xe(e, a), s = xe(t, a), v = n.get(s);
|
|
924
|
+
if (v) {
|
|
925
|
+
_e(e, a, v);
|
|
925
926
|
return;
|
|
926
927
|
}
|
|
927
|
-
var
|
|
928
|
-
if (
|
|
929
|
-
var
|
|
930
|
-
|
|
928
|
+
var b = l ? l(o, s, a + "", e, t, n) : void 0, C = b === void 0;
|
|
929
|
+
if (C) {
|
|
930
|
+
var x = ve(s), k = !x && xt(s), L = !x && !k && At(s);
|
|
931
|
+
b = s, x || k || L ? ve(o) ? b = o : Bo(o) ? b = To(o) : k ? (C = !1, b = Ao(s)) : L ? (C = !1, b = Oo(s)) : b = [] : Io(s) || we(s) ? (b = o, we(o) ? b = Er(o) : (!Y(o) || De(o)) && (b = Eo(s))) : C = !1;
|
|
931
932
|
}
|
|
932
|
-
|
|
933
|
+
C && (n.set(s, b), u(b, s, r, l, n), n.delete(s)), _e(e, a, b);
|
|
933
934
|
}
|
|
934
|
-
function
|
|
935
|
-
e !== t &&
|
|
936
|
-
if (
|
|
937
|
-
|
|
935
|
+
function Tt(e, t, a, r, u) {
|
|
936
|
+
e !== t && Mo(t, function(l, n) {
|
|
937
|
+
if (u || (u = new oe()), Y(l))
|
|
938
|
+
Pr(e, t, n, a, Tt, r, u);
|
|
938
939
|
else {
|
|
939
|
-
var
|
|
940
|
-
|
|
940
|
+
var o = r ? r(xe(e, n), l, n + "", e, t, u) : void 0;
|
|
941
|
+
o === void 0 && (o = l), _e(e, n, o);
|
|
941
942
|
}
|
|
942
|
-
},
|
|
943
|
+
}, Ot);
|
|
943
944
|
}
|
|
944
|
-
function
|
|
945
|
+
function $t(e) {
|
|
945
946
|
return e;
|
|
946
947
|
}
|
|
947
|
-
function
|
|
948
|
+
function kr(e, t, a) {
|
|
948
949
|
switch (a.length) {
|
|
949
950
|
case 0:
|
|
950
951
|
return e.call(t);
|
|
@@ -957,241 +958,251 @@ function Mn(e, t, a) {
|
|
|
957
958
|
}
|
|
958
959
|
return e.apply(t, a);
|
|
959
960
|
}
|
|
960
|
-
var
|
|
961
|
-
function
|
|
962
|
-
return t =
|
|
963
|
-
for (var r = arguments,
|
|
964
|
-
u
|
|
965
|
-
|
|
966
|
-
for (var
|
|
967
|
-
|
|
968
|
-
return
|
|
961
|
+
var tt = Math.max;
|
|
962
|
+
function Rr(e, t, a) {
|
|
963
|
+
return t = tt(t === void 0 ? e.length - 1 : t, 0), function() {
|
|
964
|
+
for (var r = arguments, u = -1, l = tt(r.length - t, 0), n = Array(l); ++u < l; )
|
|
965
|
+
n[u] = r[t + u];
|
|
966
|
+
u = -1;
|
|
967
|
+
for (var o = Array(t + 1); ++u < t; )
|
|
968
|
+
o[u] = r[u];
|
|
969
|
+
return o[t] = a(n), kr(e, this, o);
|
|
969
970
|
};
|
|
970
971
|
}
|
|
971
|
-
function
|
|
972
|
+
function Gr(e) {
|
|
972
973
|
return function() {
|
|
973
974
|
return e;
|
|
974
975
|
};
|
|
975
976
|
}
|
|
976
|
-
var
|
|
977
|
-
return
|
|
977
|
+
var Br = fe ? function(e, t) {
|
|
978
|
+
return fe(e, "toString", {
|
|
978
979
|
configurable: !0,
|
|
979
980
|
enumerable: !1,
|
|
980
|
-
value:
|
|
981
|
+
value: Gr(t),
|
|
981
982
|
writable: !0
|
|
982
983
|
});
|
|
983
|
-
} :
|
|
984
|
-
function
|
|
984
|
+
} : $t, Dr = 800, zr = 16, Nr = Date.now;
|
|
985
|
+
function Ur(e) {
|
|
985
986
|
var t = 0, a = 0;
|
|
986
987
|
return function() {
|
|
987
|
-
var r =
|
|
988
|
-
if (a = r,
|
|
989
|
-
if (++t >=
|
|
988
|
+
var r = Nr(), u = zr - (r - a);
|
|
989
|
+
if (a = r, u > 0) {
|
|
990
|
+
if (++t >= Dr)
|
|
990
991
|
return arguments[0];
|
|
991
992
|
} else
|
|
992
993
|
t = 0;
|
|
993
994
|
return e.apply(void 0, arguments);
|
|
994
995
|
};
|
|
995
996
|
}
|
|
996
|
-
var
|
|
997
|
-
function
|
|
998
|
-
return
|
|
997
|
+
var Vr = Ur(Br);
|
|
998
|
+
function Kr(e, t) {
|
|
999
|
+
return Vr(Rr(e, t, $t), e + "");
|
|
999
1000
|
}
|
|
1000
|
-
function
|
|
1001
|
-
if (!
|
|
1001
|
+
function Fr(e, t, a) {
|
|
1002
|
+
if (!Y(a))
|
|
1002
1003
|
return !1;
|
|
1003
1004
|
var r = typeof t;
|
|
1004
|
-
return (r == "number" ?
|
|
1005
|
-
}
|
|
1006
|
-
function
|
|
1007
|
-
return
|
|
1008
|
-
var r = -1,
|
|
1009
|
-
for (l = e.length > 3 && typeof l == "function" ? (
|
|
1010
|
-
var
|
|
1011
|
-
|
|
1005
|
+
return (r == "number" ? Ue(a) && St(t, a.length) : r == "string" && t in a) ? ge(a[t], e) : !1;
|
|
1006
|
+
}
|
|
1007
|
+
function Hr(e) {
|
|
1008
|
+
return Kr(function(t, a) {
|
|
1009
|
+
var r = -1, u = a.length, l = u > 1 ? a[u - 1] : void 0, n = u > 2 ? a[2] : void 0;
|
|
1010
|
+
for (l = e.length > 3 && typeof l == "function" ? (u--, l) : void 0, n && Fr(a[0], a[1], n) && (l = u < 3 ? void 0 : l, u = 1), t = Object(t); ++r < u; ) {
|
|
1011
|
+
var o = a[r];
|
|
1012
|
+
o && e(t, o, r, l);
|
|
1012
1013
|
}
|
|
1013
1014
|
return t;
|
|
1014
1015
|
});
|
|
1015
1016
|
}
|
|
1016
|
-
var
|
|
1017
|
-
|
|
1018
|
-
}),
|
|
1019
|
-
function
|
|
1017
|
+
var Ir = Hr(function(e, t, a, r) {
|
|
1018
|
+
Tt(e, t, a, r);
|
|
1019
|
+
}), Jr = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
|
|
1020
|
+
function Zr(e) {
|
|
1020
1021
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
1021
1022
|
}
|
|
1022
|
-
var
|
|
1023
|
+
var jt = { exports: {} };
|
|
1023
1024
|
(function(e) {
|
|
1024
1025
|
(function(t, a) {
|
|
1025
1026
|
e.exports ? e.exports = a() : t.coordtransform = a();
|
|
1026
|
-
})(
|
|
1027
|
-
var t = 52.35987755982988, a = 3.141592653589793, r = 6378245,
|
|
1028
|
-
var
|
|
1029
|
-
return [
|
|
1030
|
-
},
|
|
1031
|
-
var
|
|
1032
|
-
return [
|
|
1033
|
-
},
|
|
1034
|
-
var
|
|
1035
|
-
if (
|
|
1036
|
-
return [i,
|
|
1037
|
-
var
|
|
1038
|
-
|
|
1039
|
-
var
|
|
1040
|
-
|
|
1041
|
-
var
|
|
1042
|
-
return [
|
|
1043
|
-
},
|
|
1044
|
-
var
|
|
1045
|
-
if (
|
|
1046
|
-
return [i,
|
|
1047
|
-
var
|
|
1048
|
-
|
|
1049
|
-
var
|
|
1050
|
-
|
|
1051
|
-
var
|
|
1052
|
-
return [i * 2 -
|
|
1053
|
-
},
|
|
1054
|
-
var
|
|
1055
|
-
return
|
|
1056
|
-
},
|
|
1057
|
-
var
|
|
1058
|
-
return
|
|
1059
|
-
},
|
|
1060
|
-
var
|
|
1061
|
-
return !(i > 73.66 && i < 135.05 &&
|
|
1027
|
+
})(Jr, function() {
|
|
1028
|
+
var t = 52.35987755982988, a = 3.141592653589793, r = 6378245, u = 0.006693421622965943, l = function(c, i) {
|
|
1029
|
+
var c = +c, i = +i, h = c - 65e-4, A = i - 6e-3, R = Math.sqrt(h * h + A * A) - 2e-5 * Math.sin(A * t), _ = Math.atan2(A, h) - 3e-6 * Math.cos(h * t), $ = R * Math.cos(_), G = R * Math.sin(_);
|
|
1030
|
+
return [$, G];
|
|
1031
|
+
}, n = function(i, c) {
|
|
1032
|
+
var c = +c, i = +i, h = Math.sqrt(i * i + c * c) + 2e-5 * Math.sin(c * t), A = Math.atan2(c, i) + 3e-6 * Math.cos(i * t), R = h * Math.cos(A) + 65e-4, _ = h * Math.sin(A) + 6e-3;
|
|
1033
|
+
return [R, _];
|
|
1034
|
+
}, o = function(i, c) {
|
|
1035
|
+
var c = +c, i = +i;
|
|
1036
|
+
if (C(i, c))
|
|
1037
|
+
return [i, c];
|
|
1038
|
+
var h = v(i - 105, c - 35), A = b(i - 105, c - 35), R = c / 180 * a, _ = Math.sin(R);
|
|
1039
|
+
_ = 1 - u * _ * _;
|
|
1040
|
+
var $ = Math.sqrt(_);
|
|
1041
|
+
h = h * 180 / (r * (1 - u) / (_ * $) * a), A = A * 180 / (r / $ * Math.cos(R) * a);
|
|
1042
|
+
var G = c + h, U = i + A;
|
|
1043
|
+
return [U, G];
|
|
1044
|
+
}, s = function(i, c) {
|
|
1045
|
+
var c = +c, i = +i;
|
|
1046
|
+
if (C(i, c))
|
|
1047
|
+
return [i, c];
|
|
1048
|
+
var h = v(i - 105, c - 35), A = b(i - 105, c - 35), R = c / 180 * a, _ = Math.sin(R);
|
|
1049
|
+
_ = 1 - u * _ * _;
|
|
1050
|
+
var $ = Math.sqrt(_);
|
|
1051
|
+
h = h * 180 / (r * (1 - u) / (_ * $) * a), A = A * 180 / (r / $ * Math.cos(R) * a);
|
|
1052
|
+
var G = c + h, U = i + A;
|
|
1053
|
+
return [i * 2 - U, c * 2 - G];
|
|
1054
|
+
}, v = function(i, c) {
|
|
1055
|
+
var c = +c, i = +i, h = -100 + 2 * i + 3 * c + 0.2 * c * c + 0.1 * i * c + 0.2 * Math.sqrt(Math.abs(i));
|
|
1056
|
+
return h += (20 * Math.sin(6 * i * a) + 20 * Math.sin(2 * i * a)) * 2 / 3, h += (20 * Math.sin(c * a) + 40 * Math.sin(c / 3 * a)) * 2 / 3, h += (160 * Math.sin(c / 12 * a) + 320 * Math.sin(c * a / 30)) * 2 / 3, h;
|
|
1057
|
+
}, b = function(i, c) {
|
|
1058
|
+
var c = +c, i = +i, h = 300 + i + 2 * c + 0.1 * i * i + 0.1 * i * c + 0.1 * Math.sqrt(Math.abs(i));
|
|
1059
|
+
return h += (20 * Math.sin(6 * i * a) + 20 * Math.sin(2 * i * a)) * 2 / 3, h += (20 * Math.sin(i * a) + 40 * Math.sin(i / 3 * a)) * 2 / 3, h += (150 * Math.sin(i / 12 * a) + 300 * Math.sin(i / 30 * a)) * 2 / 3, h;
|
|
1060
|
+
}, C = function(i, c) {
|
|
1061
|
+
var c = +c, i = +i;
|
|
1062
|
+
return !(i > 73.66 && i < 135.05 && c > 3.86 && c < 53.55);
|
|
1062
1063
|
};
|
|
1063
1064
|
return {
|
|
1064
1065
|
bd09togcj02: l,
|
|
1065
|
-
gcj02tobd09:
|
|
1066
|
-
wgs84togcj02:
|
|
1067
|
-
gcj02towgs84:
|
|
1066
|
+
gcj02tobd09: n,
|
|
1067
|
+
wgs84togcj02: o,
|
|
1068
|
+
gcj02towgs84: s
|
|
1068
1069
|
};
|
|
1069
1070
|
});
|
|
1070
|
-
})(
|
|
1071
|
-
var
|
|
1072
|
-
const
|
|
1073
|
-
const l = (
|
|
1074
|
-
const
|
|
1075
|
-
|
|
1076
|
-
const
|
|
1077
|
-
return
|
|
1071
|
+
})(jt);
|
|
1072
|
+
var Wr = jt.exports;
|
|
1073
|
+
const Lt = /* @__PURE__ */ Zr(Wr), qr = (e, t, { type: a, MapGL: r, map: u }) => {
|
|
1074
|
+
const l = (n, o) => {
|
|
1075
|
+
const s = document.createElement("div");
|
|
1076
|
+
s.style.cursor = "pointer";
|
|
1077
|
+
const v = Qt(n, o);
|
|
1078
|
+
return ea(v, s), s;
|
|
1078
1079
|
};
|
|
1079
|
-
e.addCustomComponent = (
|
|
1080
|
-
!Array.isArray(
|
|
1081
|
-
const { component:
|
|
1080
|
+
e.addCustomComponent = (n) => {
|
|
1081
|
+
!Array.isArray(n) || (n == null ? void 0 : n.length) === 0 || n.forEach((o) => {
|
|
1082
|
+
const { component: s, componentProps: v, lng: b, lat: C, markerOptions: x = {} } = o, k = typeof v == "function" ? v() : v, L = typeof s == "function" ? s() : s, c = () => l(L, k);
|
|
1082
1083
|
if (a.value === "baidu") {
|
|
1083
|
-
const i =
|
|
1084
|
+
const i = Lt.gcj02tobd09(b, C), h = new r.value.CustomOverlay(c, {
|
|
1084
1085
|
point: { lng: i[0], lat: i[1] },
|
|
1085
|
-
...
|
|
1086
|
+
...x
|
|
1086
1087
|
});
|
|
1087
|
-
|
|
1088
|
-
t("click-custom-component",
|
|
1088
|
+
u.value.addOverlay(h), h.addEventListener("click", function(A) {
|
|
1089
|
+
t("click-custom-component", o, A);
|
|
1089
1090
|
});
|
|
1090
1091
|
}
|
|
1091
1092
|
if (a.value === "gaode") {
|
|
1092
|
-
const i = l(
|
|
1093
|
-
|
|
1094
|
-
t("click-custom-component",
|
|
1093
|
+
const i = l(L, k), h = new r.value.Marker({ content: i, position: [b, C], ...x });
|
|
1094
|
+
u.value.add(h), r.value.event.addListener(h, "click", function(A) {
|
|
1095
|
+
t("click-custom-component", o, A);
|
|
1095
1096
|
});
|
|
1096
1097
|
}
|
|
1097
1098
|
});
|
|
1098
1099
|
};
|
|
1099
|
-
},
|
|
1100
|
+
}, Yr = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
1100
1101
|
__proto__: null,
|
|
1101
|
-
default:
|
|
1102
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
1102
|
+
default: qr
|
|
1103
|
+
}, Symbol.toStringTag, { value: "Module" })), Xr = (e, t, { type: a, MapGL: r, map: u, innerPoint: l, innerInput: n, adCode: o, addressInfo: s }) => {
|
|
1103
1104
|
e.getMapInfo = () => {
|
|
1104
1105
|
if (a.value === "baidu") {
|
|
1105
|
-
const
|
|
1106
|
+
const v = Lt.bd09togcj02(l.value[0], l.value[1]);
|
|
1106
1107
|
return {
|
|
1107
|
-
longitude:
|
|
1108
|
-
latitude:
|
|
1109
|
-
address:
|
|
1110
|
-
adCode:
|
|
1108
|
+
longitude: v[0],
|
|
1109
|
+
latitude: v[1],
|
|
1110
|
+
address: n.value,
|
|
1111
|
+
adCode: o.value,
|
|
1112
|
+
addressInfo: s.value
|
|
1111
1113
|
};
|
|
1112
1114
|
}
|
|
1113
1115
|
if (a.value === "gaode")
|
|
1114
1116
|
return {
|
|
1115
1117
|
longitude: l.value[0],
|
|
1116
1118
|
latitude: l.value[1],
|
|
1117
|
-
address:
|
|
1118
|
-
adCode:
|
|
1119
|
+
address: n.value,
|
|
1120
|
+
adCode: o.value,
|
|
1121
|
+
addressInfo: s.value
|
|
1122
|
+
};
|
|
1123
|
+
if (a.value === "google")
|
|
1124
|
+
return {
|
|
1125
|
+
longitude: l.value[0],
|
|
1126
|
+
latitude: l.value[1],
|
|
1127
|
+
address: n.value,
|
|
1128
|
+
adCode: o.value,
|
|
1129
|
+
addressInfo: s.value
|
|
1119
1130
|
};
|
|
1120
1131
|
};
|
|
1121
|
-
},
|
|
1132
|
+
}, Qr = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
1122
1133
|
__proto__: null,
|
|
1123
|
-
default:
|
|
1134
|
+
default: Xr
|
|
1124
1135
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
1125
|
-
function
|
|
1126
|
-
for (var a = -1, r = e == null ? 0 : e.length,
|
|
1127
|
-
|
|
1128
|
-
return
|
|
1136
|
+
function en(e, t) {
|
|
1137
|
+
for (var a = -1, r = e == null ? 0 : e.length, u = Array(r); ++a < r; )
|
|
1138
|
+
u[a] = t(e[a], a, e);
|
|
1139
|
+
return u;
|
|
1129
1140
|
}
|
|
1130
|
-
var
|
|
1131
|
-
function
|
|
1132
|
-
return typeof e == "symbol" ||
|
|
1141
|
+
var tn = "[object Symbol]";
|
|
1142
|
+
function an(e) {
|
|
1143
|
+
return typeof e == "symbol" || re(e) && se(e) == tn;
|
|
1133
1144
|
}
|
|
1134
|
-
var
|
|
1135
|
-
function
|
|
1145
|
+
var at = ee ? ee.prototype : void 0, ot = at ? at.toString : void 0;
|
|
1146
|
+
function Et(e) {
|
|
1136
1147
|
if (typeof e == "string")
|
|
1137
1148
|
return e;
|
|
1138
|
-
if (
|
|
1139
|
-
return
|
|
1140
|
-
if (
|
|
1141
|
-
return
|
|
1149
|
+
if (ve(e))
|
|
1150
|
+
return en(e, Et) + "";
|
|
1151
|
+
if (an(e))
|
|
1152
|
+
return ot ? ot.call(e) : "";
|
|
1142
1153
|
var t = e + "";
|
|
1143
|
-
return t == "0" && 1 / e == -
|
|
1154
|
+
return t == "0" && 1 / e == -1 / 0 ? "-0" : t;
|
|
1144
1155
|
}
|
|
1145
|
-
function
|
|
1146
|
-
return e == null ? "" :
|
|
1156
|
+
function ye(e) {
|
|
1157
|
+
return e == null ? "" : Et(e);
|
|
1147
1158
|
}
|
|
1148
|
-
function
|
|
1149
|
-
var r = -1,
|
|
1150
|
-
t < 0 && (t = -t >
|
|
1151
|
-
for (var l = Array(
|
|
1159
|
+
function on(e, t, a) {
|
|
1160
|
+
var r = -1, u = e.length;
|
|
1161
|
+
t < 0 && (t = -t > u ? 0 : u + t), a = a > u ? u : a, a < 0 && (a += u), u = t > a ? 0 : a - t >>> 0, t >>>= 0;
|
|
1162
|
+
for (var l = Array(u); ++r < u; )
|
|
1152
1163
|
l[r] = e[r + t];
|
|
1153
1164
|
return l;
|
|
1154
1165
|
}
|
|
1155
|
-
function
|
|
1166
|
+
function rn(e, t, a) {
|
|
1156
1167
|
var r = e.length;
|
|
1157
|
-
return a = a === void 0 ? r : a,
|
|
1168
|
+
return a = a === void 0 ? r : a, on(e, t, a);
|
|
1158
1169
|
}
|
|
1159
|
-
var
|
|
1160
|
-
function
|
|
1161
|
-
return
|
|
1170
|
+
var nn = "\\ud800-\\udfff", ln = "\\u0300-\\u036f", un = "\\ufe20-\\ufe2f", cn = "\\u20d0-\\u20ff", sn = ln + un + cn, dn = "\\ufe0e\\ufe0f", fn = "\\u200d", vn = RegExp("[" + fn + nn + sn + dn + "]");
|
|
1171
|
+
function Pt(e) {
|
|
1172
|
+
return vn.test(e);
|
|
1162
1173
|
}
|
|
1163
|
-
function
|
|
1174
|
+
function gn(e) {
|
|
1164
1175
|
return e.split("");
|
|
1165
1176
|
}
|
|
1166
|
-
var
|
|
1167
|
-
function
|
|
1168
|
-
return e.match(
|
|
1177
|
+
var kt = "\\ud800-\\udfff", pn = "\\u0300-\\u036f", hn = "\\ufe20-\\ufe2f", yn = "\\u20d0-\\u20ff", mn = pn + hn + yn, bn = "\\ufe0e\\ufe0f", _n = "[" + kt + "]", Me = "[" + mn + "]", Ce = "\\ud83c[\\udffb-\\udfff]", wn = "(?:" + Me + "|" + Ce + ")", Rt = "[^" + kt + "]", Gt = "(?:\\ud83c[\\udde6-\\uddff]){2}", Bt = "[\\ud800-\\udbff][\\udc00-\\udfff]", xn = "\\u200d", Dt = wn + "?", zt = "[" + bn + "]?", Mn = "(?:" + xn + "(?:" + [Rt, Gt, Bt].join("|") + ")" + zt + Dt + ")*", Cn = zt + Dt + Mn, An = "(?:" + [Rt + Me + "?", Me, Gt, Bt, _n].join("|") + ")", Sn = RegExp(Ce + "(?=" + Ce + ")|" + An + Cn, "g");
|
|
1178
|
+
function On(e) {
|
|
1179
|
+
return e.match(Sn) || [];
|
|
1169
1180
|
}
|
|
1170
|
-
function
|
|
1171
|
-
return
|
|
1181
|
+
function Tn(e) {
|
|
1182
|
+
return Pt(e) ? On(e) : gn(e);
|
|
1172
1183
|
}
|
|
1173
|
-
function
|
|
1184
|
+
function $n(e) {
|
|
1174
1185
|
return function(t) {
|
|
1175
|
-
t =
|
|
1176
|
-
var a =
|
|
1177
|
-
return r[e]() +
|
|
1186
|
+
t = ye(t);
|
|
1187
|
+
var a = Pt(t) ? Tn(t) : void 0, r = a ? a[0] : t.charAt(0), u = a ? rn(a, 1).join("") : t.slice(1);
|
|
1188
|
+
return r[e]() + u;
|
|
1178
1189
|
};
|
|
1179
1190
|
}
|
|
1180
|
-
var
|
|
1181
|
-
function
|
|
1182
|
-
return
|
|
1191
|
+
var jn = $n("toUpperCase");
|
|
1192
|
+
function Ln(e) {
|
|
1193
|
+
return jn(ye(e).toLowerCase());
|
|
1183
1194
|
}
|
|
1184
|
-
function
|
|
1185
|
-
for (var
|
|
1186
|
-
a = t(a, e[
|
|
1195
|
+
function En(e, t, a, r) {
|
|
1196
|
+
for (var u = -1, l = e == null ? 0 : e.length; ++u < l; )
|
|
1197
|
+
a = t(a, e[u], u, e);
|
|
1187
1198
|
return a;
|
|
1188
1199
|
}
|
|
1189
|
-
function
|
|
1200
|
+
function Pn(e) {
|
|
1190
1201
|
return function(t) {
|
|
1191
1202
|
return e == null ? void 0 : e[t];
|
|
1192
1203
|
};
|
|
1193
1204
|
}
|
|
1194
|
-
var
|
|
1205
|
+
var kn = {
|
|
1195
1206
|
// Latin-1 Supplement block.
|
|
1196
1207
|
À: "A",
|
|
1197
1208
|
Á: "A",
|
|
@@ -1384,147 +1395,362 @@ var Ao = {
|
|
|
1384
1395
|
œ: "oe",
|
|
1385
1396
|
ʼn: "'n",
|
|
1386
1397
|
ſ: "s"
|
|
1387
|
-
},
|
|
1388
|
-
function
|
|
1389
|
-
return e =
|
|
1390
|
-
}
|
|
1391
|
-
var
|
|
1392
|
-
function
|
|
1393
|
-
return e.match(
|
|
1394
|
-
}
|
|
1395
|
-
var
|
|
1396
|
-
function
|
|
1397
|
-
return
|
|
1398
|
-
}
|
|
1399
|
-
var
|
|
1400
|
-
|
|
1401
|
-
|
|
1402
|
-
|
|
1403
|
-
|
|
1404
|
-
|
|
1405
|
-
|
|
1406
|
-
|
|
1407
|
-
|
|
1398
|
+
}, Rn = Pn(kn), Gn = /[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g, Bn = "\\u0300-\\u036f", Dn = "\\ufe20-\\ufe2f", zn = "\\u20d0-\\u20ff", Nn = Bn + Dn + zn, Un = "[" + Nn + "]", Vn = RegExp(Un, "g");
|
|
1399
|
+
function Kn(e) {
|
|
1400
|
+
return e = ye(e), e && e.replace(Gn, Rn).replace(Vn, "");
|
|
1401
|
+
}
|
|
1402
|
+
var Fn = /[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g;
|
|
1403
|
+
function Hn(e) {
|
|
1404
|
+
return e.match(Fn) || [];
|
|
1405
|
+
}
|
|
1406
|
+
var In = /[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/;
|
|
1407
|
+
function Jn(e) {
|
|
1408
|
+
return In.test(e);
|
|
1409
|
+
}
|
|
1410
|
+
var Nt = "\\ud800-\\udfff", Zn = "\\u0300-\\u036f", Wn = "\\ufe20-\\ufe2f", qn = "\\u20d0-\\u20ff", Yn = Zn + Wn + qn, Ut = "\\u2700-\\u27bf", Vt = "a-z\\xdf-\\xf6\\xf8-\\xff", Xn = "\\xac\\xb1\\xd7\\xf7", Qn = "\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf", el = "\\u2000-\\u206f", tl = " \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000", Kt = "A-Z\\xc0-\\xd6\\xd8-\\xde", al = "\\ufe0e\\ufe0f", Ft = Xn + Qn + el + tl, Ht = "['’]", rt = "[" + Ft + "]", ol = "[" + Yn + "]", It = "\\d+", rl = "[" + Ut + "]", Jt = "[" + Vt + "]", Zt = "[^" + Nt + Ft + It + Ut + Vt + Kt + "]", nl = "\\ud83c[\\udffb-\\udfff]", ll = "(?:" + ol + "|" + nl + ")", ul = "[^" + Nt + "]", Wt = "(?:\\ud83c[\\udde6-\\uddff]){2}", qt = "[\\ud800-\\udbff][\\udc00-\\udfff]", X = "[" + Kt + "]", il = "\\u200d", nt = "(?:" + Jt + "|" + Zt + ")", cl = "(?:" + X + "|" + Zt + ")", lt = "(?:" + Ht + "(?:d|ll|m|re|s|t|ve))?", ut = "(?:" + Ht + "(?:D|LL|M|RE|S|T|VE))?", Yt = ll + "?", Xt = "[" + al + "]?", sl = "(?:" + il + "(?:" + [ul, Wt, qt].join("|") + ")" + Xt + Yt + ")*", dl = "\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])", fl = "\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])", vl = Xt + Yt + sl, gl = "(?:" + [rl, Wt, qt].join("|") + ")" + vl, pl = RegExp([
|
|
1411
|
+
X + "?" + Jt + "+" + lt + "(?=" + [rt, X, "$"].join("|") + ")",
|
|
1412
|
+
cl + "+" + ut + "(?=" + [rt, X + nt, "$"].join("|") + ")",
|
|
1413
|
+
X + "?" + nt + "+" + lt,
|
|
1414
|
+
X + "+" + ut,
|
|
1415
|
+
fl,
|
|
1416
|
+
dl,
|
|
1417
|
+
It,
|
|
1418
|
+
gl
|
|
1408
1419
|
].join("|"), "g");
|
|
1409
|
-
function
|
|
1410
|
-
return e.match(
|
|
1420
|
+
function hl(e) {
|
|
1421
|
+
return e.match(pl) || [];
|
|
1411
1422
|
}
|
|
1412
|
-
function
|
|
1413
|
-
return e =
|
|
1423
|
+
function yl(e, t, a) {
|
|
1424
|
+
return e = ye(e), t = t, t === void 0 ? Jn(e) ? hl(e) : Hn(e) : e.match(t) || [];
|
|
1414
1425
|
}
|
|
1415
|
-
var
|
|
1416
|
-
function
|
|
1426
|
+
var ml = "['’]", bl = RegExp(ml, "g");
|
|
1427
|
+
function _l(e) {
|
|
1417
1428
|
return function(t) {
|
|
1418
|
-
return
|
|
1429
|
+
return En(yl(Kn(t).replace(bl, "")), e, "");
|
|
1419
1430
|
};
|
|
1420
1431
|
}
|
|
1421
|
-
var
|
|
1422
|
-
return t = t.toLowerCase(), e + (a ?
|
|
1432
|
+
var wl = _l(function(e, t, a) {
|
|
1433
|
+
return t = t.toLowerCase(), e + (a ? Ln(t) : t);
|
|
1423
1434
|
});
|
|
1424
|
-
const
|
|
1425
|
-
const a =
|
|
1426
|
-
return e[a] =
|
|
1427
|
-
}, {}),
|
|
1428
|
-
const r =
|
|
1435
|
+
const it = /* @__PURE__ */ Object.assign({ "./add-custom-dom/index.ts": Yr, "./get-map-info/index.ts": Qr }), xl = Object.keys(it).reduce((e, t) => {
|
|
1436
|
+
const a = wl(t.replace("./", "").split("/")[0]);
|
|
1437
|
+
return e[a] = it[t].default, e;
|
|
1438
|
+
}, {}), Ml = (e, t, a) => {
|
|
1439
|
+
const r = S({});
|
|
1429
1440
|
return { mapElement: r, addPlugins: () => {
|
|
1430
|
-
const
|
|
1431
|
-
if (Array.isArray(
|
|
1441
|
+
const n = Ir({}, (e == null ? void 0 : e.options) || {}, (o, s) => {
|
|
1442
|
+
if (Array.isArray(o)) return o.concat(s);
|
|
1432
1443
|
});
|
|
1433
|
-
Object.values(
|
|
1444
|
+
Object.values(xl).forEach((o) => o(r.value, t, a, n.plugins || {}));
|
|
1434
1445
|
} };
|
|
1435
|
-
},
|
|
1436
|
-
const
|
|
1437
|
-
|
|
1438
|
-
|
|
1439
|
-
|
|
1440
|
-
|
|
1441
|
-
|
|
1442
|
-
|
|
1443
|
-
|
|
1444
|
-
|
|
1446
|
+
}, Cl = ({ MapGL: e, map: t, marker: a, mapLoading: r, $autocomplete: u, searchResultList: l, innerInput: n, innerPoint: o, adCode: s, addressInfo: v }, b) => {
|
|
1447
|
+
const C = S(), x = S(), k = S();
|
|
1448
|
+
let L = null;
|
|
1449
|
+
const c = S(!1), i = S();
|
|
1450
|
+
let h;
|
|
1451
|
+
const A = async (d, f, y, M) => {
|
|
1452
|
+
if (i.value = y, M && (h = M), document.getElementById(d)) return R();
|
|
1453
|
+
const m = document.createElement("script"), O = `mapLoad${(/* @__PURE__ */ new Date()).getTime()}`, N = `https://maps.googleapis.com/maps/api/js?key=${d}&loading=async&callback=${O}`;
|
|
1454
|
+
m.setAttribute("id", d), m.setAttribute("src", N), document.body.appendChild(m), window[O] = () => {
|
|
1455
|
+
R();
|
|
1456
|
+
};
|
|
1457
|
+
}, R = async () => {
|
|
1458
|
+
var N, B;
|
|
1459
|
+
const { Map: d } = await google.maps.importLibrary("maps");
|
|
1460
|
+
e.value = d;
|
|
1461
|
+
const { Place: f, AutocompleteSessionToken: y, AutocompleteSuggestion: M } = await google.maps.importLibrary("places");
|
|
1462
|
+
x.value = new y(), k.value = M, C.value = f;
|
|
1463
|
+
const { AdvancedMarkerElement: m } = await google.maps.importLibrary("marker");
|
|
1464
|
+
L = m;
|
|
1465
|
+
const O = ((N = i.value) == null ? void 0 : N.mapOpt) ?? {};
|
|
1466
|
+
t.value = new d(document.getElementById("map"), {
|
|
1467
|
+
zoom: 11,
|
|
1468
|
+
mapId: "DEMO_MAP_ID",
|
|
1469
|
+
fullscreenControl: !1,
|
|
1470
|
+
// 全屏
|
|
1471
|
+
streetViewControl: !1,
|
|
1472
|
+
// 街景
|
|
1473
|
+
mapTypeControl: !1,
|
|
1474
|
+
// 左上角地图类型
|
|
1475
|
+
gestureHandling: "greedy",
|
|
1476
|
+
// 谷歌地图api缩放去掉ctrl+滚轮缩放,直接鼠标缩放
|
|
1477
|
+
...O
|
|
1478
|
+
}), await $(), (B = i.value) != null && B.clickStream || _(), r.value = !1, c.value = !n.value && !o.value.length, h && h();
|
|
1479
|
+
}, _ = () => {
|
|
1480
|
+
var d;
|
|
1481
|
+
(d = t.value) == null || d.addListener("click", (f) => {
|
|
1482
|
+
var y, M;
|
|
1483
|
+
a.value && a.value.setMap(null), o.value = [(y = f == null ? void 0 : f.latLng) == null ? void 0 : y.lng(), (M = f == null ? void 0 : f.latLng) == null ? void 0 : M.lat()], G(o.value, !0).then(() => {
|
|
1484
|
+
var O;
|
|
1485
|
+
const m = {
|
|
1486
|
+
lng: parseFloat(o.value[0]),
|
|
1487
|
+
lat: parseFloat(o.value[1])
|
|
1488
|
+
};
|
|
1489
|
+
a.value = new L({
|
|
1490
|
+
map: t.value,
|
|
1491
|
+
position: m,
|
|
1492
|
+
title: n.value
|
|
1493
|
+
// 鼠标移上去时显示的内容
|
|
1494
|
+
}), (O = t.value) == null || O.panTo(m);
|
|
1495
|
+
});
|
|
1496
|
+
});
|
|
1497
|
+
}, $ = async () => {
|
|
1498
|
+
var d;
|
|
1499
|
+
if (!n.value && o.value.length, n.value && o.value.length > 0 ? await G(o.value) : n.value ? await U(n.value) : o.value.length > 0 && await G(o.value, !0), n.value && g(n.value, (f, y) => {
|
|
1500
|
+
if (y && y.length) {
|
|
1501
|
+
const M = y.find(
|
|
1502
|
+
(m) => m.value === n.value || m.info.name === n.value
|
|
1503
|
+
);
|
|
1504
|
+
M ? v.value = M.info : v.value = {
|
|
1505
|
+
district: "",
|
|
1506
|
+
address: "",
|
|
1507
|
+
name: n.value
|
|
1508
|
+
};
|
|
1509
|
+
}
|
|
1510
|
+
}), o.value.length) {
|
|
1511
|
+
const f = {
|
|
1512
|
+
lng: parseFloat(o.value[0]),
|
|
1513
|
+
lat: parseFloat(o.value[1])
|
|
1514
|
+
};
|
|
1515
|
+
a.value = new L({
|
|
1516
|
+
map: t.value,
|
|
1517
|
+
position: f,
|
|
1518
|
+
title: n.value
|
|
1519
|
+
// 鼠标移上去时显示的内容
|
|
1520
|
+
}), o.value.length && ((d = t.value) == null || d.setCenter(f));
|
|
1521
|
+
}
|
|
1522
|
+
}, G = (d, f = !1) => (d.join(","), new Promise((y, M) => {
|
|
1523
|
+
new google.maps.Geocoder().geocode({
|
|
1524
|
+
location: {
|
|
1525
|
+
lng: parseFloat(d[0]),
|
|
1526
|
+
lat: parseFloat(d[1])
|
|
1527
|
+
}
|
|
1528
|
+
}, (O, N) => {
|
|
1529
|
+
N === "OK" && (O != null && O.length) ? (f && (n.value = O[0].formatted_address ?? "", v.value = {
|
|
1530
|
+
district: "",
|
|
1531
|
+
address: "",
|
|
1532
|
+
name: n.value
|
|
1533
|
+
}), y(O[0])) : (z.error(P("thirdPartyMapErrorRetry")), M());
|
|
1534
|
+
});
|
|
1535
|
+
})), U = (d) => new Promise((f, y) => {
|
|
1536
|
+
new google.maps.Geocoder().geocode({
|
|
1537
|
+
address: n.value
|
|
1538
|
+
}, (m, O) => {
|
|
1539
|
+
O === "OK" && (m != null && m.length) ? (o.value[0] = m[0].geometry.location.lng(), o.value[1] = m[0].geometry.location.lat(), f({ lng: o.value[0], lat: o.value[1] })) : (z.error(P("thirdPartyMapErrorRetry")), y());
|
|
1540
|
+
});
|
|
1541
|
+
}), T = async () => {
|
|
1542
|
+
var d;
|
|
1543
|
+
r.value = !0, navigator.geolocation && ((d = navigator.geolocation) == null || d.getCurrentPosition((f) => {
|
|
1544
|
+
var M;
|
|
1545
|
+
const y = {
|
|
1546
|
+
lat: f.coords.latitude,
|
|
1547
|
+
lng: f.coords.longitude
|
|
1548
|
+
};
|
|
1549
|
+
(M = t.value) == null || M.panTo(y), c.value = !1, r.value = !1;
|
|
1550
|
+
}, (f) => {
|
|
1551
|
+
z.error(P("获取定位失败")), r.value = !1;
|
|
1552
|
+
}, {
|
|
1553
|
+
// enableHighAccuracy: true,
|
|
1554
|
+
// timeout: 5000,
|
|
1555
|
+
// maximumAge: 0,
|
|
1556
|
+
// enableHighAccuracy: true
|
|
1557
|
+
enableHighAccuracy: !0,
|
|
1558
|
+
timeout: 1e4
|
|
1559
|
+
}));
|
|
1560
|
+
}, g = async (d, f) => {
|
|
1561
|
+
if (u.value.activated = !0, !d) {
|
|
1562
|
+
l.value = [], f([]);
|
|
1563
|
+
return;
|
|
1564
|
+
}
|
|
1565
|
+
let y = {
|
|
1566
|
+
input: d,
|
|
1567
|
+
origin: { lng: parseFloat(o.value[0]), lat: parseFloat(o.value[1]) },
|
|
1568
|
+
sessionToken: x.value
|
|
1569
|
+
};
|
|
1570
|
+
const { suggestions: M } = await k.value.fetchAutocompleteSuggestions(y);
|
|
1571
|
+
if (l.value = [], !M) return f([]);
|
|
1572
|
+
let m = [];
|
|
1573
|
+
await Promise.all(
|
|
1574
|
+
M.map((O) => (async () => {
|
|
1575
|
+
var J, le;
|
|
1576
|
+
let B = (O == null ? void 0 : O.placePrediction).toPlace();
|
|
1577
|
+
await B.fetchFields({
|
|
1578
|
+
fields: [
|
|
1579
|
+
"displayName",
|
|
1580
|
+
"formattedAddress",
|
|
1581
|
+
"location"
|
|
1582
|
+
]
|
|
1583
|
+
});
|
|
1584
|
+
const ne = (J = B == null ? void 0 : B.location) == null ? void 0 : J.lng(), V = (le = B == null ? void 0 : B.location) == null ? void 0 : le.lat(), K = {
|
|
1585
|
+
// value: placePrediction?.text?.toString() || '',
|
|
1586
|
+
value: B == null ? void 0 : B.formattedAddress,
|
|
1587
|
+
point: { lng: ne, lat: V },
|
|
1588
|
+
info: {
|
|
1589
|
+
name: B == null ? void 0 : B.displayName
|
|
1590
|
+
}
|
|
1591
|
+
};
|
|
1592
|
+
m.push(K);
|
|
1593
|
+
})())
|
|
1594
|
+
), l.value = m.length > 5 ? m.slice(0, 5) : m, f(l.value, m);
|
|
1595
|
+
};
|
|
1596
|
+
return {
|
|
1597
|
+
getLocationByInputSearch: g,
|
|
1598
|
+
handleSelectAddress: (d) => {
|
|
1599
|
+
n.value = d.value, v.value = d.info, U(d.value).then((f) => {
|
|
1600
|
+
var y;
|
|
1601
|
+
o.value = [f.lng, f.lat], a.value && a.value.setMap(null), a.value = new L({
|
|
1602
|
+
map: t.value,
|
|
1603
|
+
position: f,
|
|
1604
|
+
title: n.value
|
|
1605
|
+
// 鼠标移上去时显示的内容
|
|
1606
|
+
}), (y = t.value) == null || y.panTo(f), c.value = !1;
|
|
1607
|
+
});
|
|
1608
|
+
},
|
|
1609
|
+
getLocationParse: async () => {
|
|
1610
|
+
var d, f;
|
|
1611
|
+
if (l.value.length) {
|
|
1612
|
+
if (n.value = l.value[0].value, !((d = l.value[0]) != null && d.point))
|
|
1613
|
+
return z.error(P("thirdPartyMapErrorRetry"));
|
|
1614
|
+
o.value = [l.value[0].point.lng, l.value[0].point.lat], v.value = l.value[0].info, a.value = new L({
|
|
1615
|
+
map: t.value,
|
|
1616
|
+
position: l.value[0].point,
|
|
1617
|
+
title: n.value
|
|
1618
|
+
// 鼠标移上去时显示的内容
|
|
1619
|
+
}), (f = t.value) == null || f.panTo(l.value[0].point), c.value = !1, u.value.activated = !1;
|
|
1620
|
+
}
|
|
1621
|
+
},
|
|
1622
|
+
getMapInfo: () => ({
|
|
1623
|
+
longitude: o.value[0],
|
|
1624
|
+
latitude: o.value[1],
|
|
1625
|
+
adCode: s.value,
|
|
1626
|
+
address: n.value,
|
|
1627
|
+
addressInfo: v.value
|
|
1628
|
+
}),
|
|
1629
|
+
loadJavascript: A,
|
|
1630
|
+
positionCityLocal: T,
|
|
1631
|
+
showGetLocationBtn: c
|
|
1632
|
+
};
|
|
1633
|
+
}, Al = (e, t) => {
|
|
1634
|
+
const a = S("gaode"), r = S(), u = S(), l = H(null), n = H(null), o = H(null), s = S(!0), v = S(null), b = S([]), C = Se(() => ({
|
|
1635
|
+
width: e.width ? Q(e.width) : "100%",
|
|
1636
|
+
height: e.height ? Q(e.height) : "100%"
|
|
1637
|
+
})), x = S(""), k = S([]), L = S(""), c = S(), {
|
|
1638
|
+
loadJavascript: i,
|
|
1639
|
+
getLocationByInputSearch: h,
|
|
1640
|
+
handleSelectAddress: A,
|
|
1641
|
+
getLocationParse: R
|
|
1642
|
+
} = ft({
|
|
1445
1643
|
BMap: l,
|
|
1446
|
-
map:
|
|
1447
|
-
marker:
|
|
1448
|
-
mapLoading:
|
|
1449
|
-
$autocomplete:
|
|
1450
|
-
searchResultList:
|
|
1451
|
-
innerInput:
|
|
1452
|
-
innerPoint:
|
|
1453
|
-
adCode:
|
|
1644
|
+
map: n,
|
|
1645
|
+
marker: o,
|
|
1646
|
+
mapLoading: s,
|
|
1647
|
+
$autocomplete: v,
|
|
1648
|
+
searchResultList: b,
|
|
1649
|
+
innerInput: x,
|
|
1650
|
+
innerPoint: k,
|
|
1651
|
+
adCode: L,
|
|
1652
|
+
addressInfo: c
|
|
1454
1653
|
}), {
|
|
1455
|
-
loadJavascript:
|
|
1456
|
-
getLocationByInputSearch:
|
|
1457
|
-
handleSelectAddress:
|
|
1654
|
+
loadJavascript: _,
|
|
1655
|
+
getLocationByInputSearch: $,
|
|
1656
|
+
handleSelectAddress: G,
|
|
1458
1657
|
getLocationParse: U
|
|
1459
|
-
} =
|
|
1658
|
+
} = st({
|
|
1659
|
+
MapGL: l,
|
|
1660
|
+
map: n,
|
|
1661
|
+
marker: o,
|
|
1662
|
+
mapLoading: s,
|
|
1663
|
+
$autocomplete: v,
|
|
1664
|
+
searchResultList: b,
|
|
1665
|
+
innerInput: x,
|
|
1666
|
+
innerPoint: k,
|
|
1667
|
+
adCode: L,
|
|
1668
|
+
addressInfo: c
|
|
1669
|
+
}), {
|
|
1670
|
+
loadJavascript: T,
|
|
1671
|
+
getLocationByInputSearch: g,
|
|
1672
|
+
handleSelectAddress: p,
|
|
1673
|
+
getLocationParse: w,
|
|
1674
|
+
positionCityLocal: j,
|
|
1675
|
+
showGetLocationBtn: d
|
|
1676
|
+
} = Cl({
|
|
1460
1677
|
MapGL: l,
|
|
1461
|
-
map:
|
|
1462
|
-
marker:
|
|
1463
|
-
mapLoading:
|
|
1464
|
-
$autocomplete:
|
|
1465
|
-
searchResultList:
|
|
1466
|
-
innerInput:
|
|
1467
|
-
innerPoint:
|
|
1468
|
-
adCode:
|
|
1469
|
-
|
|
1678
|
+
map: n,
|
|
1679
|
+
marker: o,
|
|
1680
|
+
mapLoading: s,
|
|
1681
|
+
$autocomplete: v,
|
|
1682
|
+
searchResultList: b,
|
|
1683
|
+
innerInput: x,
|
|
1684
|
+
innerPoint: k,
|
|
1685
|
+
adCode: L,
|
|
1686
|
+
addressInfo: c
|
|
1687
|
+
}), { mapElement: f, addPlugins: y } = Ml(e, t, {
|
|
1470
1688
|
type: a,
|
|
1471
1689
|
MapGL: l,
|
|
1472
|
-
map:
|
|
1473
|
-
innerPoint:
|
|
1474
|
-
innerInput:
|
|
1475
|
-
adCode:
|
|
1476
|
-
|
|
1477
|
-
|
|
1690
|
+
map: n,
|
|
1691
|
+
innerPoint: k,
|
|
1692
|
+
innerInput: x,
|
|
1693
|
+
adCode: L,
|
|
1694
|
+
addressInfo: c
|
|
1695
|
+
}), M = () => {
|
|
1696
|
+
a.value === "baidu" && i(r.value, { clickStream: !e.clickStream, mapOpt: e.mapOpt }, O), a.value === "gaode" && _(
|
|
1478
1697
|
r.value,
|
|
1479
|
-
|
|
1698
|
+
u.value,
|
|
1480
1699
|
{ clickStream: !e.clickStream, mapOpt: e.mapOpt },
|
|
1481
|
-
|
|
1700
|
+
O
|
|
1701
|
+
), a.value === "google" && T(
|
|
1702
|
+
r.value,
|
|
1703
|
+
u.value,
|
|
1704
|
+
{ clickStream: !e.clickStream, mapOpt: e.mapOpt },
|
|
1705
|
+
O
|
|
1482
1706
|
);
|
|
1483
|
-
},
|
|
1484
|
-
const [
|
|
1485
|
-
if (
|
|
1486
|
-
|
|
1707
|
+
}, m = async (V) => {
|
|
1708
|
+
const [K, J] = await Ge(V);
|
|
1709
|
+
if (K) {
|
|
1710
|
+
s.value = !1;
|
|
1487
1711
|
return;
|
|
1488
1712
|
}
|
|
1489
|
-
if (!
|
|
1490
|
-
t("no-config-map",
|
|
1713
|
+
if (!K && !J) {
|
|
1714
|
+
t("no-config-map", P("暂未配置地图")), s.value = !1;
|
|
1491
1715
|
return;
|
|
1492
1716
|
}
|
|
1493
|
-
return
|
|
1717
|
+
return J;
|
|
1494
1718
|
};
|
|
1495
|
-
|
|
1496
|
-
var
|
|
1497
|
-
if (e.defaultLongitude && e.defaultLatitude && (
|
|
1498
|
-
a.value = ((
|
|
1719
|
+
Oe(async () => {
|
|
1720
|
+
var V, K, J, le, Ve;
|
|
1721
|
+
if (e.defaultLongitude && e.defaultLatitude && (k.value = [e.defaultLongitude, e.defaultLatitude]), x.value = e.defaultAddress ?? "", e != null && e.sdkConfig && ((V = e == null ? void 0 : e.sdkConfig) != null && V.akValue))
|
|
1722
|
+
a.value = ((K = e.sdkConfig) == null ? void 0 : K.mapType) ?? "gaode", r.value = (J = e.sdkConfig) == null ? void 0 : J.akValue, u.value = (le = e.sdkConfig) == null ? void 0 : le.secretKey;
|
|
1499
1723
|
else {
|
|
1500
|
-
const
|
|
1501
|
-
|
|
1724
|
+
const F = await m((Ve = e == null ? void 0 : e.sdkConfig) == null ? void 0 : Ve.mapType);
|
|
1725
|
+
F && (a.value = (F == null ? void 0 : F.mapType) ?? "gaode", r.value = F == null ? void 0 : F.akVal, u.value = F == null ? void 0 : F.secretK);
|
|
1502
1726
|
}
|
|
1503
|
-
|
|
1727
|
+
M();
|
|
1504
1728
|
});
|
|
1505
|
-
const
|
|
1506
|
-
|
|
1507
|
-
t("update:mapElement",
|
|
1508
|
-
}), a.value === "gaode" &&
|
|
1509
|
-
t("update:mapElement",
|
|
1510
|
-
});
|
|
1729
|
+
const O = () => {
|
|
1730
|
+
f.value = n.value, y(), a.value === "baidu" && n.value.addEventListener("tilesloaded", () => {
|
|
1731
|
+
t("update:mapElement", f.value);
|
|
1732
|
+
}), a.value === "gaode" && n.value.on("complete", () => {
|
|
1733
|
+
t("update:mapElement", f.value);
|
|
1734
|
+
}), a.value === "google" && t("update:mapElement", f.value);
|
|
1511
1735
|
};
|
|
1512
1736
|
return {
|
|
1513
|
-
mapStyle:
|
|
1514
|
-
innerInput:
|
|
1515
|
-
getLocationByInputSearch: (
|
|
1516
|
-
a.value === "baidu" &&
|
|
1737
|
+
mapStyle: C,
|
|
1738
|
+
innerInput: x,
|
|
1739
|
+
getLocationByInputSearch: (V, K) => {
|
|
1740
|
+
a.value === "baidu" && h(V, K), a.value === "gaode" && $(V, K), a.value === "google" && g(V, K);
|
|
1517
1741
|
},
|
|
1518
|
-
handleSelectAddress: (
|
|
1519
|
-
a.value === "baidu" &&
|
|
1742
|
+
handleSelectAddress: (V) => {
|
|
1743
|
+
a.value === "baidu" && A(V), a.value === "gaode" && G(V), a.value === "google" && p(V);
|
|
1520
1744
|
},
|
|
1521
1745
|
getLocationParse: () => {
|
|
1522
|
-
a.value === "baidu" &&
|
|
1746
|
+
a.value === "baidu" && R(), a.value === "gaode" && U(), a.value === "google" && w();
|
|
1523
1747
|
},
|
|
1524
|
-
mapLoading:
|
|
1525
|
-
$autocomplete:
|
|
1748
|
+
mapLoading: s,
|
|
1749
|
+
$autocomplete: v,
|
|
1750
|
+
googlePositionCityLocal: j,
|
|
1751
|
+
showGetLocationBtn: d
|
|
1526
1752
|
};
|
|
1527
|
-
},
|
|
1753
|
+
}, Sl = { class: "search-input" }, Ol = { class: "location-icon1" }, Tl = { id: "map" }, $l = /* @__PURE__ */ Ae({
|
|
1528
1754
|
__name: "mixMap",
|
|
1529
1755
|
props: {
|
|
1530
1756
|
defaultAddress: {},
|
|
@@ -1542,59 +1768,85 @@ const tt = /* @__PURE__ */ Object.assign({ "./add-custom-dom/index.ts": Bn, "./g
|
|
|
1542
1768
|
emits: ["update:mapElement", "no-config-map", "click-custom-component"],
|
|
1543
1769
|
setup(e, { emit: t }) {
|
|
1544
1770
|
const a = e, r = t, {
|
|
1545
|
-
mapStyle:
|
|
1771
|
+
mapStyle: u,
|
|
1546
1772
|
innerInput: l,
|
|
1547
|
-
getLocationByInputSearch:
|
|
1548
|
-
handleSelectAddress:
|
|
1549
|
-
getLocationParse:
|
|
1550
|
-
mapLoading:
|
|
1551
|
-
$autocomplete:
|
|
1552
|
-
|
|
1553
|
-
|
|
1554
|
-
|
|
1555
|
-
|
|
1773
|
+
getLocationByInputSearch: n,
|
|
1774
|
+
handleSelectAddress: o,
|
|
1775
|
+
getLocationParse: s,
|
|
1776
|
+
mapLoading: v,
|
|
1777
|
+
$autocomplete: b,
|
|
1778
|
+
googlePositionCityLocal: C,
|
|
1779
|
+
showGetLocationBtn: x
|
|
1780
|
+
} = Al(a, r);
|
|
1781
|
+
return (k, L) => {
|
|
1782
|
+
const c = Pe, i = ke;
|
|
1783
|
+
return $e(), Te(
|
|
1556
1784
|
"div",
|
|
1557
1785
|
{
|
|
1558
1786
|
class: "das-map",
|
|
1559
|
-
style:
|
|
1787
|
+
style: je(D(u))
|
|
1560
1788
|
},
|
|
1561
1789
|
[
|
|
1562
|
-
|
|
1790
|
+
Z(W(
|
|
1563
1791
|
"div",
|
|
1564
|
-
|
|
1792
|
+
Sl,
|
|
1565
1793
|
[
|
|
1566
|
-
|
|
1794
|
+
Z(de(c, {
|
|
1567
1795
|
ref_key: "$autocomplete",
|
|
1568
|
-
ref:
|
|
1569
|
-
modelValue:
|
|
1570
|
-
"onUpdate:modelValue":
|
|
1571
|
-
|
|
1572
|
-
|
|
1573
|
-
placeholder: R(k)("请输入位置"),
|
|
1796
|
+
ref: b,
|
|
1797
|
+
modelValue: D(l),
|
|
1798
|
+
"onUpdate:modelValue": L[0] || (L[0] = (h) => ta(l) ? l.value = h : null),
|
|
1799
|
+
"fetch-suggestions": D(n),
|
|
1800
|
+
placeholder: D(P)("请输入位置"),
|
|
1574
1801
|
style: { width: "100%" },
|
|
1575
1802
|
"trigger-on-focus": !1,
|
|
1576
|
-
onSelect:
|
|
1577
|
-
onKeyup:
|
|
1803
|
+
onSelect: D(o),
|
|
1804
|
+
onKeyup: Le(D(s), ["enter", "native"]),
|
|
1578
1805
|
clearable: ""
|
|
1579
1806
|
}, null, 8, ["modelValue", "fetch-suggestions", "placeholder", "onSelect", "onKeyup"]), [
|
|
1580
|
-
[
|
|
1807
|
+
[D(Re)]
|
|
1581
1808
|
])
|
|
1582
1809
|
],
|
|
1583
1810
|
512
|
|
1584
1811
|
/* NEED_PATCH */
|
|
1585
1812
|
), [
|
|
1586
|
-
[
|
|
1813
|
+
[Ke, a.showSearch]
|
|
1814
|
+
]),
|
|
1815
|
+
Z(W(
|
|
1816
|
+
"div",
|
|
1817
|
+
Ol,
|
|
1818
|
+
[
|
|
1819
|
+
de(D(la), {
|
|
1820
|
+
block: "",
|
|
1821
|
+
size: "large",
|
|
1822
|
+
onClick: D(C)
|
|
1823
|
+
}, {
|
|
1824
|
+
default: aa(() => [
|
|
1825
|
+
oa(
|
|
1826
|
+
ra(D(P)("Please-Click-Get-Location")),
|
|
1827
|
+
1
|
|
1828
|
+
/* TEXT */
|
|
1829
|
+
)
|
|
1830
|
+
]),
|
|
1831
|
+
_: 1
|
|
1832
|
+
/* STABLE */
|
|
1833
|
+
}, 8, ["onClick"])
|
|
1834
|
+
],
|
|
1835
|
+
512
|
|
1836
|
+
/* NEED_PATCH */
|
|
1837
|
+
), [
|
|
1838
|
+
[Ke, D(x)]
|
|
1587
1839
|
]),
|
|
1588
|
-
|
|
1840
|
+
Z(W(
|
|
1589
1841
|
"div",
|
|
1590
|
-
|
|
1842
|
+
Tl,
|
|
1591
1843
|
null,
|
|
1592
1844
|
512
|
|
1593
1845
|
/* NEED_PATCH */
|
|
1594
1846
|
), [
|
|
1595
1847
|
[
|
|
1596
|
-
|
|
1597
|
-
|
|
1848
|
+
i,
|
|
1849
|
+
D(v),
|
|
1598
1850
|
void 0,
|
|
1599
1851
|
{ lock: !0 }
|
|
1600
1852
|
]
|
|
@@ -1605,13 +1857,38 @@ const tt = /* @__PURE__ */ Object.assign({ "./add-custom-dom/index.ts": Bn, "./g
|
|
|
1605
1857
|
);
|
|
1606
1858
|
};
|
|
1607
1859
|
}
|
|
1608
|
-
}),
|
|
1860
|
+
}), jl = /* @__PURE__ */ Be($l, [["__scopeId", "data-v-9c0f471e"]]), Ll = {
|
|
1861
|
+
请输入位置: { "zh-CN": "请输入位置", en: "Please enter location", _appCode: "framework" },
|
|
1862
|
+
获取地图配置信息失败: {
|
|
1863
|
+
"zh-CN": "获取地图配置信息失败",
|
|
1864
|
+
en: "The map configuration information failed to be obtained",
|
|
1865
|
+
_appCode: "framework"
|
|
1866
|
+
},
|
|
1867
|
+
暂未配置地图: { "zh-CN": "暂未配置地图", en: "Map Not Configured", _appCode: "framework" },
|
|
1868
|
+
thirdPartyMapErrorRetry: {
|
|
1869
|
+
"zh-CN": "第三方地图配置参数错误或地址信息无效,请检查后再重试",
|
|
1870
|
+
en: "The configuration parameters of the third-party map are incorrect or the address information is invalid. please check and try again",
|
|
1871
|
+
_appCode: "framework"
|
|
1872
|
+
},
|
|
1873
|
+
"Please-Click-Get-Location": {
|
|
1874
|
+
"zh-CN": "请点击获取位置",
|
|
1875
|
+
en: "Please click get location",
|
|
1876
|
+
_appCode: "framework"
|
|
1877
|
+
},
|
|
1878
|
+
获取定位失败: {
|
|
1879
|
+
"zh-CN": "获取定位失败",
|
|
1880
|
+
en: "The location failed to be obtained",
|
|
1881
|
+
_appCode: "framework"
|
|
1882
|
+
}
|
|
1883
|
+
};
|
|
1884
|
+
na(Ll);
|
|
1885
|
+
const Kl = Ee(ga), Fl = () => S(null), Hl = Ee(ma), Il = () => S(null), Jl = Ee(jl), Zl = () => S(null), Wl = { title: "Map 地图" };
|
|
1609
1886
|
export {
|
|
1610
|
-
|
|
1611
|
-
|
|
1612
|
-
|
|
1613
|
-
|
|
1614
|
-
|
|
1615
|
-
|
|
1616
|
-
|
|
1887
|
+
Hl as DasBaiduMap,
|
|
1888
|
+
Il as DasBaiduMapRef,
|
|
1889
|
+
Kl as DasGaodeMap,
|
|
1890
|
+
Fl as DasGaodeMapRef,
|
|
1891
|
+
Jl as DasMap,
|
|
1892
|
+
Zl as DasMapRef,
|
|
1893
|
+
Wl as default
|
|
1617
1894
|
};
|