hy-dispatch-ui-v3 0.2.86 → 0.2.87
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/tailwind.css +27 -4
- package/es/_virtual/_plugin-vue_export-helper.mjs +9 -0
- package/es/bussiness/hyAcquisitionStationTree/acquisitionStationTree.vue.mjs +1 -0
- package/es/bussiness/hyDepartmentTypeOperation/departmentTypeOperation2.vue.mjs +1 -0
- package/es/bussiness/hyDepartmentTypeOperation/departmentTypeOperation_tiantong2.vue.mjs +1 -0
- package/es/bussiness/hyDeviceTree/deviceTree.vue.mjs +1 -0
- package/es/bussiness/hyDisplayQueryAddress/displayQueryAddress2.vue.mjs +1 -0
- package/es/bussiness/hyDisplayQueryAddress/locale/en_US.mjs +3 -3
- package/es/bussiness/hyDisplayQueryAddress/locale/zh_CN.mjs +3 -3
- package/es/bussiness/hyElectronicFence/cpns/addElectronicFenceDialog/addElectronicFenceDialog.vue.mjs +1 -0
- package/es/bussiness/hyElectronicFence/cpns/batchSetElectronicFenceUserDialog/batchSetElectronicFenceUserDialog.vue.mjs +7 -1
- package/es/bussiness/hyElectronicFence/cpns/electronicFenceAssociatedUsersDialog/electronicFenceAssociatedUsersDialog.vue.mjs +1 -0
- package/es/bussiness/hyElectronicFence/electronicFence.vue.mjs +7 -1
- package/es/bussiness/hyFilePlayback/locale/en_US.mjs +17 -17
- package/es/bussiness/hyFilePlayback/locale/zh_CN.mjs +17 -17
- package/es/bussiness/hyMapAearchPlace/mapAearchPlace.vue.mjs +1 -0
- package/es/bussiness/hyOrgGroupTree/orgGroupTree.vue.mjs +1 -0
- package/es/bussiness/hyPlanGroupDeviceTree/planGroupDeviceTree.vue.mjs +1 -0
- package/es/bussiness/hyRuleSetting/ruleSetting.vue.mjs +1 -0
- package/es/bussiness/hySelectDeviceTree/cpns/deviceItem.vue.mjs +3 -3
- package/es/bussiness/hySelectDeviceTree/selectDeviceTree.vue.mjs +2 -8
- package/es/bussiness/hyUserTree/userTree.vue.mjs +1 -0
- package/es/components/hyAudioPlayer/audioPlayer.vue.mjs +9 -1
- package/es/components/hyBatchUploadDialog/batchUploadDialog.vue.mjs +1 -0
- package/es/components/hyButton/button.vue.mjs +1 -0
- package/es/components/hyCheckboxGroup/checkboxGroup.vue.mjs +1 -0
- package/es/components/hyConfigProvider/configProvider.vue.mjs +36 -35
- package/es/components/hyConfirmDialog/confirmDialog.vue.mjs +1 -0
- package/es/components/hyCutter/cutter.vue.mjs +10 -1
- package/es/components/hyDatePicker/datePicker.vue.mjs +1 -0
- package/es/components/hyDialog/dialog.vue.mjs +1 -0
- package/es/components/hyDrawer/drawer.vue.mjs +1 -0
- package/es/components/hyForm/cpns/formItem.vue.mjs +15 -11
- package/es/components/hyForm/form.vue.mjs +2 -3
- package/es/components/hyIcon/icon.vue.mjs +1 -0
- package/es/components/hyIconBox/iconBox.vue.mjs +1 -0
- package/es/components/hyInput/input.vue.mjs +1 -0
- package/es/components/hyInput/inputSearch.vue.mjs +1 -0
- package/es/components/hyKindEditor/kindEditor.vue.mjs +17 -4
- package/es/components/hyMenu/menu.vue.mjs +1 -0
- package/es/components/hyNoPermissions/noPermissions.vue.mjs +1 -0
- package/es/components/hyNoPermissionsMap/noPermissionsMap.vue.mjs +1 -0
- package/es/components/hyOrgCascader/js/index.mjs +0 -1
- package/es/components/hyOrgCascader/orgCascader.vue.mjs +1 -0
- package/es/components/hyRadioGroup/radioGroup.vue.mjs +4 -1
- package/es/components/hySearch/cpns/searchItem.vue.mjs +3 -1
- package/es/components/hySearch/search.vue.mjs +5 -1
- package/es/components/hyStatus/status.vue.mjs +1 -0
- package/es/components/hyTable/cpns/columnSelect.vue.mjs +5 -1
- package/es/components/hyTable/cpns/columnSelectItem.vue.mjs +1 -1
- package/es/components/hyTable/cpns/virtualTable.vue.mjs +11 -2
- package/es/components/hyTable/js/index.mjs +7 -2
- package/es/components/hyTable/table.vue.mjs +5 -1
- package/es/components/hyTableActionButton/tableActionButton.vue.mjs +1 -0
- package/es/components/hyTableForm/batchTableForm.vue.mjs +6 -3
- package/es/components/hyTableForm/tableForm.vue.mjs +1 -0
- package/es/components/hyTimePicker/timePicker.vue.mjs +1 -0
- package/es/components/hyTooltip/tooltip.vue.mjs +1 -0
- package/es/components/hyTour/tour.vue.mjs +1 -0
- package/es/components/hyTree/js/index.mjs +8 -2
- package/es/components/hyTree/tree.vue.mjs +1 -0
- package/es/components/hyUserAvatar/userAvatar.vue.mjs +1 -0
- package/es/components/hyVideoPlayer/{js → hyVideoPlayer/js}/index.mjs +9 -9
- package/es/components/hyVideoPlayer/hyVideoPlayer/videoPlayer.vue.mjs +656 -0
- package/es/components/hyVideoPlayer/index.mjs +2 -2
- package/es/components/hyVideoPlayer/locale/en_US.mjs +31 -0
- package/es/components/hyVideoPlayer/locale/index.mjs +2 -0
- package/es/components/hyVideoPlayer/locale/zh_CN.mjs +31 -0
- package/es/components/hyVideoPlayer/videoPlayer.vue.mjs +5 -645
- package/es/components/hyVideoPlayer/videoPlayer2.vue.mjs +930 -0
- package/es/hooks/useLocale.mjs +7 -2
- package/es/static/hy-svg-icons/hy-icon-ops-Empty-audio.js +22 -0
- package/es/static/hy-svg-icons/hy-icon-ops-Empty-document.js +23 -0
- package/es/static/hy-svg-icons/hy-icon-ops-Empty-fall.js +29 -0
- package/es/static/hy-svg-icons/hy-icon-ops-Empty-up.js +29 -0
- package/es/static/hy-svg-icons/hy-icon-ops-Empty-wait.js +29 -0
- package/es/static/hy-svg-icons/hy-icon-ops-audio-cycle.js +8 -0
- package/es/static/hy-svg-icons/hy-icon-ops-audio-edit.js +8 -0
- package/es/static/hy-svg-icons/hy-icon-ops-audio-fullscreen.js +8 -0
- package/es/static/hy-svg-icons/hy-icon-ops-audio-next.js +8 -0
- package/es/static/hy-svg-icons/hy-icon-ops-audio-previous.js +8 -0
- package/es/static/hy-svg-icons/hy-icon-ops-audio-semanticretrieval.js +8 -0
- package/es/static/hy-svg-icons/hy-icon-ops-audio-sequentialplay.js +8 -0
- package/es/static/hy-svg-icons/hy-icon-ops-audio-stopplayback.js +8 -0
- package/es/static/map/bm.geometryutil.js +3 -3
- package/es/static/map/bmDraw.js +6 -6
- package/es/static/map/markercluster.js +22 -22
- package/es/static/map/moveMarker.js +1 -1
- package/es/static/vite-plugin-hy-svg-icons.js +2 -2
- package/es/utils/file.mjs +7 -3
- package/es/utils/form.mjs +3 -1
- package/es/utils/map/hook/bigMap.mjs +18 -5
- package/es/utils/map/hook/gaode.mjs +4 -1
- package/es/utils/map/hook/leafletjs.mjs +29 -8
- package/es/utils/map/index.mjs +0 -1
- package/es/utils/useUiComponent.mjs +3 -1
- package/es/version.mjs +1 -1
- package/lib/_virtual/_plugin-vue_export-helper.js +13 -0
- package/lib/bussiness/hyAcquisitionStationTree/acquisitionStationTree.vue.js +1 -0
- package/lib/bussiness/hyDepartmentTypeOperation/departmentTypeOperation2.vue.js +1 -0
- package/lib/bussiness/hyDepartmentTypeOperation/departmentTypeOperation_tiantong2.vue.js +1 -0
- package/lib/bussiness/hyDeviceTree/deviceTree.vue.js +1 -0
- package/lib/bussiness/hyDisplayQueryAddress/displayQueryAddress2.vue.js +1 -0
- package/lib/bussiness/hyDisplayQueryAddress/locale/en_US.js +3 -3
- package/lib/bussiness/hyDisplayQueryAddress/locale/zh_CN.js +3 -3
- package/lib/bussiness/hyElectronicFence/cpns/addElectronicFenceDialog/addElectronicFenceDialog.vue.js +1 -0
- package/lib/bussiness/hyElectronicFence/cpns/batchSetElectronicFenceUserDialog/batchSetElectronicFenceUserDialog.vue.js +7 -1
- package/lib/bussiness/hyElectronicFence/cpns/electronicFenceAssociatedUsersDialog/electronicFenceAssociatedUsersDialog.vue.js +1 -0
- package/lib/bussiness/hyElectronicFence/electronicFence.vue.js +7 -1
- package/lib/bussiness/hyFilePlayback/locale/en_US.js +17 -17
- package/lib/bussiness/hyFilePlayback/locale/zh_CN.js +17 -17
- package/lib/bussiness/hyMapAearchPlace/mapAearchPlace.vue.js +1 -0
- package/lib/bussiness/hyOrgGroupTree/orgGroupTree.vue.js +1 -0
- package/lib/bussiness/hyPlanGroupDeviceTree/planGroupDeviceTree.vue.js +1 -0
- package/lib/bussiness/hyRuleSetting/ruleSetting.vue.js +1 -0
- package/lib/bussiness/hySelectDeviceTree/cpns/deviceItem.vue.js +3 -3
- package/lib/bussiness/hySelectDeviceTree/selectDeviceTree.vue.js +2 -8
- package/lib/bussiness/hyUserTree/userTree.vue.js +1 -0
- package/lib/components/hyAudioPlayer/audioPlayer.vue.js +9 -1
- package/lib/components/hyBatchUploadDialog/batchUploadDialog.vue.js +1 -0
- package/lib/components/hyButton/button.vue.js +1 -0
- package/lib/components/hyCheckboxGroup/checkboxGroup.vue.js +1 -0
- package/lib/components/hyConfigProvider/configProvider.vue.js +36 -35
- package/lib/components/hyConfirmDialog/confirmDialog.vue.js +1 -0
- package/lib/components/hyCutter/cutter.vue.js +10 -1
- package/lib/components/hyDatePicker/datePicker.vue.js +1 -0
- package/lib/components/hyDialog/dialog.vue.js +1 -0
- package/lib/components/hyDrawer/drawer.vue.js +1 -0
- package/lib/components/hyForm/cpns/formItem.vue.js +15 -11
- package/lib/components/hyForm/form.vue.js +2 -3
- package/lib/components/hyIcon/icon.vue.js +1 -0
- package/lib/components/hyIconBox/iconBox.vue.js +1 -0
- package/lib/components/hyInput/input.vue.js +1 -0
- package/lib/components/hyInput/inputSearch.vue.js +1 -0
- package/lib/components/hyKindEditor/kindEditor.vue.js +17 -4
- package/lib/components/hyMenu/menu.vue.js +1 -0
- package/lib/components/hyNoPermissions/noPermissions.vue.js +1 -0
- package/lib/components/hyNoPermissionsMap/noPermissionsMap.vue.js +1 -0
- package/lib/components/hyOrgCascader/js/index.js +0 -1
- package/lib/components/hyOrgCascader/orgCascader.vue.js +1 -0
- package/lib/components/hyRadioGroup/radioGroup.vue.js +4 -1
- package/lib/components/hySearch/cpns/searchItem.vue.js +3 -1
- package/lib/components/hySearch/search.vue.js +5 -1
- package/lib/components/hyStatus/status.vue.js +1 -0
- package/lib/components/hyTable/cpns/columnSelect.vue.js +5 -1
- package/lib/components/hyTable/cpns/columnSelectItem.vue.js +1 -1
- package/lib/components/hyTable/cpns/virtualTable.vue.js +11 -2
- package/lib/components/hyTable/js/index.js +7 -2
- package/lib/components/hyTable/table.vue.js +5 -1
- package/lib/components/hyTableActionButton/tableActionButton.vue.js +1 -0
- package/lib/components/hyTableForm/batchTableForm.vue.js +6 -3
- package/lib/components/hyTableForm/tableForm.vue.js +1 -0
- package/lib/components/hyTimePicker/timePicker.vue.js +1 -0
- package/lib/components/hyTooltip/tooltip.vue.js +1 -0
- package/lib/components/hyTour/tour.vue.js +1 -0
- package/lib/components/hyTree/js/index.js +8 -2
- package/lib/components/hyTree/tree.vue.js +1 -0
- package/lib/components/hyUserAvatar/userAvatar.vue.js +1 -0
- package/lib/components/hyVideoPlayer/{js → hyVideoPlayer/js}/index.js +9 -9
- package/lib/components/hyVideoPlayer/hyVideoPlayer/videoPlayer.vue.js +660 -0
- package/lib/components/hyVideoPlayer/locale/en_US.js +35 -0
- package/lib/components/hyVideoPlayer/locale/index.js +9 -0
- package/lib/components/hyVideoPlayer/locale/zh_CN.js +35 -0
- package/lib/components/hyVideoPlayer/videoPlayer.vue.js +5 -645
- package/lib/components/hyVideoPlayer/videoPlayer2.vue.js +934 -0
- package/lib/hooks/useLocale.js +7 -2
- package/lib/static/hy-svg-icons/hy-icon-ops-Empty-audio.js +22 -0
- package/lib/static/hy-svg-icons/hy-icon-ops-Empty-document.js +23 -0
- package/lib/static/hy-svg-icons/hy-icon-ops-Empty-fall.js +29 -0
- package/lib/static/hy-svg-icons/hy-icon-ops-Empty-up.js +29 -0
- package/lib/static/hy-svg-icons/hy-icon-ops-Empty-wait.js +29 -0
- package/lib/static/hy-svg-icons/hy-icon-ops-audio-cycle.js +8 -0
- package/lib/static/hy-svg-icons/hy-icon-ops-audio-edit.js +8 -0
- package/lib/static/hy-svg-icons/hy-icon-ops-audio-fullscreen.js +8 -0
- package/lib/static/hy-svg-icons/hy-icon-ops-audio-next.js +8 -0
- package/lib/static/hy-svg-icons/hy-icon-ops-audio-previous.js +8 -0
- package/lib/static/hy-svg-icons/hy-icon-ops-audio-semanticretrieval.js +8 -0
- package/lib/static/hy-svg-icons/hy-icon-ops-audio-sequentialplay.js +8 -0
- package/lib/static/hy-svg-icons/hy-icon-ops-audio-stopplayback.js +8 -0
- package/lib/static/map/bm.geometryutil.js +3 -3
- package/lib/static/map/bmDraw.js +6 -6
- package/lib/static/map/markercluster.js +22 -22
- package/lib/static/map/moveMarker.js +1 -1
- package/lib/static/vite-plugin-hy-svg-icons.js +2 -2
- package/lib/utils/file.js +7 -3
- package/lib/utils/form.js +3 -1
- package/lib/utils/map/hook/bigMap.js +18 -5
- package/lib/utils/map/hook/gaode.js +4 -1
- package/lib/utils/map/hook/leafletjs.js +29 -8
- package/lib/utils/map/index.js +0 -1
- package/lib/utils/useUiComponent.js +3 -1
- package/lib/version.js +1 -1
- package/package.json +8 -8
- /package/es/components/hyVideoPlayer/{style → hyVideoPlayer/style}/videoPlayer.scss +0 -0
- /package/lib/components/hyVideoPlayer/{style → hyVideoPlayer/style}/videoPlayer.scss +0 -0
package/lib/hooks/useLocale.js
CHANGED
|
@@ -10,7 +10,10 @@ var zh_CN = require('../locale/zh_CN.js');
|
|
|
10
10
|
var useGlobalConfig = require('./useGlobalConfig.js');
|
|
11
11
|
|
|
12
12
|
const localeContextKey = /* @__PURE__ */ Symbol("localeContextKey");
|
|
13
|
-
const translate = (path, option, locale) => lodashUnified.get(locale, path, path).replace(
|
|
13
|
+
const translate = (path, option, locale) => lodashUnified.get(locale, path, path).replace(
|
|
14
|
+
/\{(\w+)\}/g,
|
|
15
|
+
(_, key) => `${!is.isEmpty(option?.[key]) ? option[key] : ""}`
|
|
16
|
+
);
|
|
14
17
|
const buildTranslator = (locale) => (path, option) => translate(path, option, vue.unref(locale));
|
|
15
18
|
const buildLocaleContext = (locale, conifg) => {
|
|
16
19
|
const lang2 = vue.computed(() => vue.unref(locale).name);
|
|
@@ -49,7 +52,9 @@ const $t = (path, option) => {
|
|
|
49
52
|
const registeredLocales = /* @__PURE__ */ new Map();
|
|
50
53
|
const registerComponentLocale = (componentName, localeMessages) => {
|
|
51
54
|
if (!componentName || !localeMessages) {
|
|
52
|
-
console.warn(
|
|
55
|
+
console.warn(
|
|
56
|
+
"[useLocale] registerComponentLocale: componentName and localeMessages are required"
|
|
57
|
+
);
|
|
53
58
|
return;
|
|
54
59
|
}
|
|
55
60
|
if (registeredLocales.has(componentName)) {
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
export default {
|
|
2
|
+
id: 'hy-icon-ops-Empty-audio',
|
|
3
|
+
defs: `<radialGradient cx="50%" cy="50%" fx="50%" fy="50%" r="81.0937973%" gradientTransform="translate(0.5, 0.5), scale(1, 0.4832), translate(-0.5, -0.5)" id="hy-icon-ops-Empty-audio-radialGradient-1">
|
|
4
|
+
<stop stop-color="#5E9DB4" offset="0%"></stop>
|
|
5
|
+
<stop stop-color="#5E9DB4" stop-opacity="0" offset="100%"></stop>
|
|
6
|
+
</radialGradient>
|
|
7
|
+
<radialGradient cx="50%" cy="50%" fx="50%" fy="50%" r="50%" gradientTransform="translate(0.5, 0.5), scale(0.7431, 1), rotate(90), scale(1, 1.3709), translate(-0.5, -0.5)" id="hy-icon-ops-Empty-audio-radialGradient-2">
|
|
8
|
+
<stop stop-color="#20576A" stop-opacity="0.795480155" offset="0%"></stop>
|
|
9
|
+
<stop stop-color="#417C92" stop-opacity="0" offset="100%"></stop>
|
|
10
|
+
</radialGradient>
|
|
11
|
+
<linearGradient x1="50%" y1="0%" x2="50%" y2="100%" id="hy-icon-ops-Empty-audio-linearGradient-3">
|
|
12
|
+
<stop stop-color="#2DF2FF" offset="0%"></stop>
|
|
13
|
+
<stop stop-color="#2891B7" offset="100%"></stop>
|
|
14
|
+
</linearGradient>`,
|
|
15
|
+
symbol: `<symbol id="hy-icon-ops-Empty-audio" viewBox="0 0 80 80">
|
|
16
|
+
<g id="hy-icon-ops-Empty-audio-BG/Audio" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
|
|
17
|
+
<circle id="hy-icon-ops-Empty-audio-椭圆形" stroke="url(#hy-icon-ops-Empty-audio-radialGradient-1)" stroke-width="6" cx="40" cy="40" r="37"></circle>
|
|
18
|
+
<ellipse id="hy-icon-ops-Empty-audio-椭圆形" fill="url(#hy-icon-ops-Empty-audio-radialGradient-2)" cx="40.75" cy="38.3384868" rx="27.25" ry="20.25"></ellipse>
|
|
19
|
+
<path d="M49.8682382,25.1135648 L35.59583,29.0840574 C33.8655155,29.5328584 32.4640682,31.171304 32.4640682,32.7453284 L32.4640682,46.4326838 C32.4640682,46.4326838 31.4301784,45.7992088 29.1259583,46.0955462 C25.7427098,46.5336103 23,48.8935733 23,51.3694943 C23,53.8454154 25.7427098,55.3614607 29.1259583,54.925544 C32.5113563,54.4917746 34.9918321,52.202675 34.9918321,49.7246066 L34.9918321,38.0386028 C34.9918321,36.9412952 36.4448664,36.4710205 36.4448664,36.4710205 L49.0664899,32.8741707 C49.0664899,32.8741707 50.4614889,32.4489909 50.4614889,33.6236039 L50.4614889,43.0119186 C50.4614889,43.0119186 49.1739629,42.3397909 46.8718922,42.5953283 C43.4886437,42.9668238 40.7437845,45.2773971 40.7437845,47.7533182 C40.7437845,50.2292393 43.4864942,51.7968215 46.8718922,51.4231786 C50.2572902,51.0495357 53,48.7411098 53,46.2630413 L53,27.1492743 C52.9978505,25.5773973 51.5964032,24.6669112 49.8682382,25.1135648 Z" id="hy-icon-ops-Empty-audio-路径" fill="url(#hy-icon-ops-Empty-audio-linearGradient-3)"></path>
|
|
20
|
+
</g>
|
|
21
|
+
</symbol>`,
|
|
22
|
+
};
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
export default {
|
|
2
|
+
id: 'hy-icon-ops-Empty-document',
|
|
3
|
+
defs: `<radialGradient cx="50%" cy="50%" fx="50%" fy="50%" r="81.0937973%" gradientTransform="translate(0.5, 0.5), scale(1, 0.4832), translate(-0.5, -0.5)" id="hy-icon-ops-Empty-document-radialGradient-1">
|
|
4
|
+
<stop stop-color="#5E9DB4" offset="0%"></stop>
|
|
5
|
+
<stop stop-color="#5E9DB4" stop-opacity="0" offset="100%"></stop>
|
|
6
|
+
</radialGradient>
|
|
7
|
+
<radialGradient cx="50%" cy="50%" fx="50%" fy="50%" r="50%" gradientTransform="translate(0.5, 0.5), scale(0.7431, 1), rotate(90), scale(1, 1.3709), translate(-0.5, -0.5)" id="hy-icon-ops-Empty-document-radialGradient-2">
|
|
8
|
+
<stop stop-color="#20576A" stop-opacity="0.795480155" offset="0%"></stop>
|
|
9
|
+
<stop stop-color="#417C92" stop-opacity="0" offset="100%"></stop>
|
|
10
|
+
</radialGradient>
|
|
11
|
+
<linearGradient x1="50%" y1="0%" x2="50%" y2="100%" id="hy-icon-ops-Empty-document-linearGradient-3">
|
|
12
|
+
<stop stop-color="#5EDCFF" offset="0%"></stop>
|
|
13
|
+
<stop stop-color="#5AD5F7" offset="28.965366%"></stop>
|
|
14
|
+
<stop stop-color="#266B85" offset="100%"></stop>
|
|
15
|
+
</linearGradient>`,
|
|
16
|
+
symbol: `<symbol id="hy-icon-ops-Empty-document" viewBox="0 0 80 80">
|
|
17
|
+
<g id="hy-icon-ops-Empty-document-BG/document" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
|
|
18
|
+
<circle id="hy-icon-ops-Empty-document-椭圆形备份" stroke="url(#hy-icon-ops-Empty-document-radialGradient-1)" stroke-width="6" cx="40" cy="40" r="37"></circle>
|
|
19
|
+
<ellipse id="hy-icon-ops-Empty-document-椭圆形备份-2" fill="url(#hy-icon-ops-Empty-document-radialGradient-2)" cx="40.75" cy="38.3384868" rx="27.25" ry="20.25"></ellipse>
|
|
20
|
+
<path d="M53.5430957,35.5456951 L26.4570064,35.5456951 C25.5521246,35.5456951 24.9054802,36.4257714 25.0113491,37.4975842 L27.1679244,50.6027855 C27.2445881,51.3781767 27.9194052,52 28.6760485,52 L51.323943,52 C52.0805863,52 52.7554772,51.3781767 52.8320671,50.6027855 L54.9886424,37.4975842 C55.0945481,36.4257714 54.4479775,35.5456951 53.5430957,35.5456951 Z M50.6140576,30.8347927 L37.5903087,30.8347927 L35.4501428,28 L29.4449712,28 C28.5400157,28 27.8064932,28.7401614 27.8064932,29.6530494 L27.8064932,32.0483062 L52.1936459,32.0483062 C52.0027427,31.3487317 51.3680827,30.8347927 50.6140576,30.8347927 Z M53.678391,34.7808691 L53.7568984,34.0613546 L26.2431668,34.0613546 L26.3216743,34.7808691 L53.678391,34.7808691 Z M53.1062714,33.4400521 L53.2086371,32.6934549 L26.7914281,32.6934549 L26.8937569,33.4400521 L53.1062714,33.4400521 Z" id="hy-icon-ops-Empty-document-形状" fill="url(#hy-icon-ops-Empty-document-linearGradient-3)"></path>
|
|
21
|
+
</g>
|
|
22
|
+
</symbol>`,
|
|
23
|
+
};
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
export default {
|
|
2
|
+
id: 'hy-icon-ops-Empty-fall',
|
|
3
|
+
defs: `<radialGradient cx="50%" cy="50%" fx="50%" fy="50%" r="81.0937973%" gradientTransform="translate(0.5, 0.5), scale(1, 0.4832), translate(-0.5, -0.5)" id="hy-icon-ops-Empty-fall-radialGradient-1">
|
|
4
|
+
<stop stop-color="#B10000" offset="0%"></stop>
|
|
5
|
+
<stop stop-color="#B45E5E" stop-opacity="0" offset="100%"></stop>
|
|
6
|
+
</radialGradient>
|
|
7
|
+
<radialGradient cx="50%" cy="62.1720136%" fx="50%" fy="62.1720136%" r="50%" id="hy-icon-ops-Empty-fall-radialGradient-2">
|
|
8
|
+
<stop stop-color="#B45E5E" stop-opacity="0" offset="0%"></stop>
|
|
9
|
+
<stop stop-color="#511010" offset="56.7174525%"></stop>
|
|
10
|
+
<stop stop-color="#8E3333" stop-opacity="0" offset="99.9262456%"></stop>
|
|
11
|
+
</radialGradient>
|
|
12
|
+
<radialGradient cx="50%" cy="50%" fx="50%" fy="50%" r="50%" gradientTransform="translate(0.5, 0.5), scale(0.7431, 1), rotate(90), scale(1, 1.3709), translate(-0.5, -0.5)" id="hy-icon-ops-Empty-fall-radialGradient-3">
|
|
13
|
+
<stop stop-color="#6A2020" stop-opacity="0.795480155" offset="0%"></stop>
|
|
14
|
+
<stop stop-color="#924141" stop-opacity="0" offset="100%"></stop>
|
|
15
|
+
</radialGradient>
|
|
16
|
+
<linearGradient x1="50%" y1="0%" x2="50%" y2="100%" id="hy-icon-ops-Empty-fall-linearGradient-4">
|
|
17
|
+
<stop stop-color="#FF5E5E" offset="0%"></stop>
|
|
18
|
+
<stop stop-color="#FF5E5E" offset="28.965366%"></stop>
|
|
19
|
+
<stop stop-color="#C90000" offset="100%"></stop>
|
|
20
|
+
</linearGradient>`,
|
|
21
|
+
symbol: `<symbol id="hy-icon-ops-Empty-fall" viewBox="0 0 80 80">
|
|
22
|
+
<g id="hy-icon-ops-Empty-fall-BG/上传失败" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
|
|
23
|
+
<circle id="hy-icon-ops-Empty-fall-椭圆形" stroke="url(#hy-icon-ops-Empty-fall-radialGradient-1)" stroke-width="4.19213974" cx="39.8253275" cy="41.2273041" r="25.8515284"></circle>
|
|
24
|
+
<circle id="hy-icon-ops-Empty-fall-椭圆形备份" stroke="url(#hy-icon-ops-Empty-fall-radialGradient-2)" stroke-width="4.19213974" cx="40" cy="40" r="37.9039301"></circle>
|
|
25
|
+
<ellipse id="hy-icon-ops-Empty-fall-椭圆形" fill="url(#hy-icon-ops-Empty-fall-radialGradient-3)" cx="40.349345" cy="40.0664215" rx="19.0393013" ry="14.1484716"></ellipse>
|
|
26
|
+
<path d="M44.80958,37.3333333 C44.80958,34.4 42.4384975,32 39.5405077,32 C36.6425178,32 34.2714353,34.4 34.2714353,37.3333333 C31.2856276,37.3333333 28.914545,39.8222222 29.0023629,42.8444444 C29.0901808,45.7777778 31.6368991,48 34.5348889,48 L36.9059715,48 C37.4328787,48 37.7841502,47.6444444 37.7841502,47.1111111 L37.7841502,44.4444444 L36.7303357,44.4444444 C35.9399749,44.4444444 35.5887034,43.4666667 36.1156106,42.9333333 L38.9257826,40.0888889 C39.2770541,39.7333333 39.8039613,39.7333333 40.1552328,40.0888889 L42.9654047,42.9333333 C43.492312,43.4666667 43.1410405,44.4444444 42.3506796,44.4444444 L41.2968651,44.4444444 L41.2968651,47.1111111 C41.2968651,47.6444444 41.6481366,48 42.1750439,48 L44.5461264,48 C47.4441162,48 49.9908346,45.7777778 49.9908346,42.8444444 C50.1664703,39.8222222 47.7953877,37.3333333 44.80958,37.3333333 Z" id="hy-icon-ops-Empty-fall-路径" fill="url(#hy-icon-ops-Empty-fall-linearGradient-4)"></path>
|
|
27
|
+
</g>
|
|
28
|
+
</symbol>`,
|
|
29
|
+
};
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
export default {
|
|
2
|
+
id: 'hy-icon-ops-Empty-up',
|
|
3
|
+
defs: `<radialGradient cx="50%" cy="50%" fx="50%" fy="50%" r="81.0937973%" gradientTransform="translate(0.5, 0.5), scale(1, 0.4832), translate(-0.5, -0.5)" id="hy-icon-ops-Empty-up-radialGradient-1">
|
|
4
|
+
<stop stop-color="#5EB49A" offset="0%"></stop>
|
|
5
|
+
<stop stop-color="#5EB481" stop-opacity="0" offset="100%"></stop>
|
|
6
|
+
</radialGradient>
|
|
7
|
+
<radialGradient cx="50%" cy="62.1720136%" fx="50%" fy="62.1720136%" r="50%" id="hy-icon-ops-Empty-up-radialGradient-2">
|
|
8
|
+
<stop stop-color="#5EB49C" stop-opacity="0" offset="0%"></stop>
|
|
9
|
+
<stop stop-color="#105131" offset="56.7174525%"></stop>
|
|
10
|
+
<stop stop-color="#338E5F" stop-opacity="0" offset="99.9262456%"></stop>
|
|
11
|
+
</radialGradient>
|
|
12
|
+
<radialGradient cx="50%" cy="50%" fx="50%" fy="50%" r="50%" gradientTransform="translate(0.5, 0.5), scale(0.7431, 1), rotate(90), scale(1, 1.3709), translate(-0.5, -0.5)" id="hy-icon-ops-Empty-up-radialGradient-3">
|
|
13
|
+
<stop stop-color="#206A50" stop-opacity="0.795480155" offset="0%"></stop>
|
|
14
|
+
<stop stop-color="#419277" stop-opacity="0" offset="100%"></stop>
|
|
15
|
+
</radialGradient>
|
|
16
|
+
<linearGradient x1="50%" y1="0%" x2="50%" y2="100%" id="hy-icon-ops-Empty-up-linearGradient-4">
|
|
17
|
+
<stop stop-color="#5EFFC5" offset="0%"></stop>
|
|
18
|
+
<stop stop-color="#5EFFC5" offset="28.965366%"></stop>
|
|
19
|
+
<stop stop-color="#00C981" offset="100%"></stop>
|
|
20
|
+
</linearGradient>`,
|
|
21
|
+
symbol: `<symbol id="hy-icon-ops-Empty-up" viewBox="0 0 80 80">
|
|
22
|
+
<g id="hy-icon-ops-Empty-up-BG/上传中" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
|
|
23
|
+
<circle id="hy-icon-ops-Empty-up-椭圆形" stroke="url(#hy-icon-ops-Empty-up-radialGradient-1)" stroke-width="4.19213974" cx="39.8253275" cy="41.2273041" r="25.8515284"></circle>
|
|
24
|
+
<circle id="hy-icon-ops-Empty-up-椭圆形备份" stroke="url(#hy-icon-ops-Empty-up-radialGradient-2)" stroke-width="4.19213974" cx="40" cy="40" r="37.9039301"></circle>
|
|
25
|
+
<ellipse id="hy-icon-ops-Empty-up-椭圆形" fill="url(#hy-icon-ops-Empty-up-radialGradient-3)" cx="40.349345" cy="40.0664215" rx="19.0393013" ry="14.1484716"></ellipse>
|
|
26
|
+
<path d="M44.80958,37.3333333 C44.80958,34.4 42.4384975,32 39.5405077,32 C36.6425178,32 34.2714353,34.4 34.2714353,37.3333333 C31.2856276,37.3333333 28.914545,39.8222222 29.0023629,42.8444444 C29.0901808,45.7777778 31.6368991,48 34.5348889,48 L36.9059715,48 C37.4328787,48 37.7841502,47.6444444 37.7841502,47.1111111 L37.7841502,44.4444444 L36.7303357,44.4444444 C35.9399749,44.4444444 35.5887034,43.4666667 36.1156106,42.9333333 L38.9257826,40.0888889 C39.2770541,39.7333333 39.8039613,39.7333333 40.1552328,40.0888889 L42.9654047,42.9333333 C43.492312,43.4666667 43.1410405,44.4444444 42.3506796,44.4444444 L41.2968651,44.4444444 L41.2968651,47.1111111 C41.2968651,47.6444444 41.6481366,48 42.1750439,48 L44.5461264,48 C47.4441162,48 49.9908346,45.7777778 49.9908346,42.8444444 C50.1664703,39.8222222 47.7953877,37.3333333 44.80958,37.3333333 Z" id="hy-icon-ops-Empty-up-路径" fill="url(#hy-icon-ops-Empty-up-linearGradient-4)"></path>
|
|
27
|
+
</g>
|
|
28
|
+
</symbol>`,
|
|
29
|
+
};
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
export default {
|
|
2
|
+
id: 'hy-icon-ops-Empty-wait',
|
|
3
|
+
defs: `<radialGradient cx="50%" cy="50%" fx="50%" fy="50%" r="81.0937973%" gradientTransform="translate(0.5, 0.5), scale(1, 0.4832), translate(-0.5, -0.5)" id="hy-icon-ops-Empty-wait-radialGradient-1">
|
|
4
|
+
<stop stop-color="#B4895E" offset="0%"></stop>
|
|
5
|
+
<stop stop-color="#B4785E" stop-opacity="0" offset="100%"></stop>
|
|
6
|
+
</radialGradient>
|
|
7
|
+
<radialGradient cx="50%" cy="62.1720136%" fx="50%" fy="62.1720136%" r="50%" id="hy-icon-ops-Empty-wait-radialGradient-2">
|
|
8
|
+
<stop stop-color="#B49B5E" stop-opacity="0" offset="0%"></stop>
|
|
9
|
+
<stop stop-color="#513710" offset="56.7174525%"></stop>
|
|
10
|
+
<stop stop-color="#8E6333" stop-opacity="0" offset="99.9262456%"></stop>
|
|
11
|
+
</radialGradient>
|
|
12
|
+
<radialGradient cx="50%" cy="50%" fx="50%" fy="50%" r="50%" gradientTransform="translate(0.5, 0.5), scale(0.7431, 1), rotate(90), scale(1, 1.3709), translate(-0.5, -0.5)" id="hy-icon-ops-Empty-wait-radialGradient-3">
|
|
13
|
+
<stop stop-color="#6A4520" stop-opacity="0.795480155" offset="0%"></stop>
|
|
14
|
+
<stop stop-color="#927141" stop-opacity="0" offset="100%"></stop>
|
|
15
|
+
</radialGradient>
|
|
16
|
+
<linearGradient x1="50%" y1="0%" x2="50%" y2="100%" id="hy-icon-ops-Empty-wait-linearGradient-4">
|
|
17
|
+
<stop stop-color="#FFA05E" offset="0%"></stop>
|
|
18
|
+
<stop stop-color="#FFB55E" offset="28.965366%"></stop>
|
|
19
|
+
<stop stop-color="#C95C00" offset="100%"></stop>
|
|
20
|
+
</linearGradient>`,
|
|
21
|
+
symbol: `<symbol id="hy-icon-ops-Empty-wait" viewBox="0 0 80 80">
|
|
22
|
+
<g id="hy-icon-ops-Empty-wait-BG/等待上传" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
|
|
23
|
+
<circle id="hy-icon-ops-Empty-wait-椭圆形" stroke="url(#hy-icon-ops-Empty-wait-radialGradient-1)" stroke-width="4.19213974" cx="39.8253275" cy="41.2273041" r="25.8515284"></circle>
|
|
24
|
+
<circle id="hy-icon-ops-Empty-wait-椭圆形备份" stroke="url(#hy-icon-ops-Empty-wait-radialGradient-2)" stroke-width="4.19213974" cx="40" cy="40" r="37.9039301"></circle>
|
|
25
|
+
<ellipse id="hy-icon-ops-Empty-wait-椭圆形" fill="url(#hy-icon-ops-Empty-wait-radialGradient-3)" cx="40.349345" cy="40.0664215" rx="19.0393013" ry="14.1484716"></ellipse>
|
|
26
|
+
<path d="M44.80958,37.3333333 C44.80958,34.4 42.4384975,32 39.5405077,32 C36.6425178,32 34.2714353,34.4 34.2714353,37.3333333 C31.2856276,37.3333333 28.914545,39.8222222 29.0023629,42.8444444 C29.0901808,45.7777778 31.6368991,48 34.5348889,48 L36.9059715,48 C37.4328787,48 37.7841502,47.6444444 37.7841502,47.1111111 L37.7841502,44.4444444 L36.7303357,44.4444444 C35.9399749,44.4444444 35.5887034,43.4666667 36.1156106,42.9333333 L38.9257826,40.0888889 C39.2770541,39.7333333 39.8039613,39.7333333 40.1552328,40.0888889 L42.9654047,42.9333333 C43.492312,43.4666667 43.1410405,44.4444444 42.3506796,44.4444444 L41.2968651,44.4444444 L41.2968651,47.1111111 C41.2968651,47.6444444 41.6481366,48 42.1750439,48 L44.5461264,48 C47.4441162,48 49.9908346,45.7777778 49.9908346,42.8444444 C50.1664703,39.8222222 47.7953877,37.3333333 44.80958,37.3333333 Z" id="hy-icon-ops-Empty-wait-路径" fill="url(#hy-icon-ops-Empty-wait-linearGradient-4)"></path>
|
|
27
|
+
</g>
|
|
28
|
+
</symbol>`,
|
|
29
|
+
};
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
export default {
|
|
2
|
+
id: 'hy-icon-ops-audio-cycle',
|
|
3
|
+
symbol: `<symbol id="hy-icon-ops-audio-cycle" viewBox="0 0 12 12">
|
|
4
|
+
<g id="hy-icon-ops-audio-cycle-PB/cycle" stroke="none" stroke-width="1" fill-rule="evenodd">
|
|
5
|
+
<path d="M10.7368985,5.71003386 C10.9392829,5.71003386 11.1333782,5.7882804 11.2764856,5.92756008 C11.419593,6.0668397 11.5,6.25574352 11.5,6.4527147 L11.5,6.4527147 L11.5,7.19539548 C11.5005434,9.26376823 10.4750469,9.99159541 9.21071565,9.99159541 L9.21071565,9.99159541 L3.10656638,9.99159541 L3.9338948,10.7206333 C4.23522708,11.0118548 4.23693531,11.4856809 3.93771027,11.7789534 C3.63848523,12.0722258 3.15163728,12.0738884 2.85030501,11.7826668 L2.85030501,11.7826668 L0.725721164,9.79107157 C0.581258305,9.65162095 0.5,9.46179481 0.5,9.26376823 C0.5,9.06574165 0.504424652,8.57375797 1.25083583,8.50623379 L1.25083583,8.50623379 L9.21071565,8.50623379 C9.41310006,8.50623379 9.60719536,8.42798731 9.75030279,8.28870763 C9.89341015,8.14942795 9.97380707,7.39236666 9.97380707,7.19539548 L9.97380707,7.19539548 L9.97380707,6.4527147 C9.97380707,6.25574352 10.054204,6.0668397 10.1973114,5.92756008 C10.3404188,5.7882804 10.534514,5.71003386 10.7368985,5.71003386 Z M5.84551145,4.2 C6.26726066,4.2 6.60915593,4.535679 6.60915593,4.94976006 L6.60915593,7.02106224 C6.60915593,7.4351433 6.26726066,7.77082231 5.84551145,7.77082231 C5.42376224,7.77082231 5.08186698,7.4351433 5.08186698,7.02106224 L5.08186698,4.94976006 C5.08186698,4.535679 5.42376224,4.2 5.84551145,4.2 Z M8.05828334,0.218416208 C8.35750845,-0.0728054025 8.84264809,-0.0728054025 9.14187319,0.218416208 L9.14187319,0.218416208 L11.2742687,2.18989071 C11.4187316,2.32934135 11.4999899,2.5191675 11.4999899,2.71719408 C11.4999899,2.91522066 11.4999899,3.30435048 10.8799624,3.45987486 L10.8799624,3.45987486 L2.79433084,3.45987486 C2.37288712,3.45987486 2.03123945,4.37966892 2.03123945,4.7898402 L2.03123945,4.7898402 L2.03123945,5.53252104 C2.03123945,5.72949222 1.95084255,5.91839598 1.80773515,6.05767566 C1.66462775,6.19695534 1.47053246,6.27520182 1.26814803,6.27520182 C0.846704287,6.27520182 0.504947389,5.94269232 0.504947389,5.53252104 L0.504947389,5.53252104 L0.504947389,4.7898402 C0.5,3.16769934 1.52999961,1.97451327 2.79433084,1.97451327 L2.79433084,1.97451327 L8.89342354,1.97451327 L8.05828334,1.27302295 C7.7590583,0.981801338 7.7590583,0.509637818 8.05828334,0.218416208 Z" id="hy-icon-ops-audio-cycle-形状结合" fill-rule="nonzero"></path>
|
|
6
|
+
</g>
|
|
7
|
+
</symbol>`,
|
|
8
|
+
};
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
export default {
|
|
2
|
+
id: 'hy-icon-ops-audio-edit',
|
|
3
|
+
symbol: `<symbol id="hy-icon-ops-audio-edit" viewBox="0 0 12 12">
|
|
4
|
+
<g id="hy-icon-ops-audio-edit-PB/edit" stroke="none" stroke-width="1" fill-rule="evenodd">
|
|
5
|
+
<path d="M2.73342857,7.08 C1.224,7.08 0,8.181 0,9.54 C0,10.8975 1.224,12 2.73342857,12 C4.24285714,12 5.466,10.89825 5.466,9.54 C5.4657986,8.92930112 5.20857326,8.34005522 4.74342857,7.88475 L5.99314286,6.66675 L6,6.66 L6.00257143,6.66225 L7.25571429,7.88625 C6.79106468,8.34116886 6.53414574,8.92987786 6.534,9.54 C6.534,10.8975 7.75714286,12 9.26571429,12 C10.776,12 12,10.89825 12,9.53925 C12,8.18175 10.776,7.07925 9.26657143,7.07925 C9.04628571,7.07925 8.83542857,7.10925 8.63142857,7.15425 L7.15714286,5.2575 L9.42685714,2.5065 C10.5737143,1.03275 8.93485714,0.00075 8.93485714,0.00075 L3.36857143,7.1535 C3.16103287,7.10661682 2.94776069,7.08193654 2.73342857,7.08 Z M4.06714286,9.54 C4.06714286,10.20225 3.47057143,10.74 2.73342857,10.74 C2.37628682,10.7373 2.03534541,10.6092153 1.78714286,10.3845 C1.53663485,10.1579853 1.39781306,9.85444728 1.40057143,9.53925 C1.40057143,8.877 1.99714286,8.33925 2.73342857,8.33925 C3.47057143,8.33925 4.06714286,8.877 4.06714286,9.53925 L4.06714286,9.54 Z M10.5994426,9.54 C10.6016092,9.96462989 10.3487232,10.3590523 9.93342857,10.57875 C9.52265967,10.7932777 9.01048319,10.7932777 8.59971429,10.57875 C8.18409077,10.3592376 7.93085742,9.96478105 7.93284539,9.54 C7.93284539,8.877 8.52942857,8.34 9.26657143,8.34 C10.002,8.34 10.5994426,8.877 10.5994426,9.54 L10.5994426,9.54 Z M3.06514286,0 C3.06514286,0 1.428,1.032 2.57485714,2.5065 L4.23,4.644 L5.45142857,3.0735 L3.066,0 L3.06514286,0 Z" id="hy-icon-ops-audio-edit-2备份-4" fill-rule="nonzero"></path>
|
|
6
|
+
</g>
|
|
7
|
+
</symbol>`,
|
|
8
|
+
};
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
export default {
|
|
2
|
+
id: 'hy-icon-ops-audio-fullscreen',
|
|
3
|
+
symbol: `<symbol id="hy-icon-ops-audio-fullscreen" viewBox="0 0 16 16">
|
|
4
|
+
<g id="hy-icon-ops-audio-fullscreen-Fullscreen" stroke="none" stroke-width="1" fill-rule="evenodd">
|
|
5
|
+
<path d="M13.7142857,0 L2.28571428,0 C1.67950516,0 1.09812479,0.240815635 0.669470213,0.669470213 C0.240815635,1.09812479 0,1.67950516 0,2.28571428 L0,13.7142857 C0,14.3204948 0.240815635,14.9018752 0.669470213,15.3305298 C1.09812479,15.7591844 1.67950516,16 2.28571428,16 L13.7142857,16 C14.9766509,16 16,14.9766509 16,13.7142857 L16,2.28571428 C16,1.67950516 15.7591844,1.09812479 15.3305298,0.669470213 C14.9018752,0.240815635 14.3204948,0 13.7142857,0 L13.7142857,0 Z M2.28571428,4 L2.28571428,2.85714286 C2.28571428,2.70559058 2.34591819,2.56024548 2.45308184,2.45308184 C2.56024548,2.34591819 2.70559058,2.28571428 2.85714286,2.28571428 L6,2.28571428 C6.47338692,2.28571428 6.85714284,2.66947022 6.85714284,3.14285714 C6.85714284,3.61624406 6.47338692,3.99999999 6,4 L4.34285714,4 C4.25192577,4 4.16471872,4.03612235 4.10042053,4.10042053 C4.03612235,4.16471872 4,4.25192577 4,4.34285714 L4,6.00571428 C3.99999999,6.4791012 3.61624406,6.86285712 3.14285714,6.86285712 C2.66947022,6.86285712 2.28571428,6.4791012 2.28571428,6.00571428 L2.28571428,4 Z M6,13.7142857 L2.85714286,13.7142857 C2.54155157,13.7142857 2.28571428,13.4584484 2.28571428,13.1428572 L2.28571428,10 C2.28571428,9.52661308 2.66947022,9.14285716 3.14285714,9.14285716 C3.61624406,9.14285716 3.99999999,9.52661308 4,10 L4,11.6628571 C4,11.8522119 4.15350237,12.0057143 4.34285714,12.0057143 L6,12.0057143 C6.4447863,12.042122 6.78721581,12.4137261 6.78721581,12.86 C6.78721581,13.3062739 6.4447863,13.677878 6,13.7142857 L6,13.7142857 Z M13.7142857,12 L13.7142857,13.1428571 C13.7142857,13.4584484 13.4584484,13.7142857 13.1428571,13.7142857 L10,13.7142857 C9.52661307,13.7142857 9.14285714,13.3305298 9.14285714,12.8571429 C9.14285714,12.3837559 9.52661307,12 10,12 L11.6571429,12 C11.8464976,12 12,11.8464976 12,11.6571429 L12,10 C12,9.52661307 12.3837559,9.14285714 12.8571429,9.14285714 C13.3305298,9.14285714 13.7142857,9.52661307 13.7142857,10 L13.7142857,12 L13.7142857,12 Z M13.7142857,4 L13.7142857,6 C13.7142857,6.47338693 13.3305298,6.85714286 12.8571429,6.85714286 C12.3837559,6.85714286 12,6.47338693 12,6 L12,4.34285714 C12,4.25192577 11.9638777,4.16471872 11.8995795,4.10042053 C11.8352813,4.03612235 11.7480742,4 11.6571429,4 L10,4 C9.52661308,3.99999999 9.14285716,3.61624406 9.14285716,3.14285714 C9.14285716,2.66947022 9.52661308,2.28571428 10,2.28571428 L13.1428572,2.28571428 C13.4584484,2.28571428 13.7142857,2.54155157 13.7142857,2.85714286 L13.7142857,4 L13.7142857,4 Z" id="hy-icon-ops-audio-fullscreen-形状备份-9" fill-rule="nonzero"></path>
|
|
6
|
+
</g>
|
|
7
|
+
</symbol>`,
|
|
8
|
+
};
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
export default {
|
|
2
|
+
id: 'hy-icon-ops-audio-next',
|
|
3
|
+
symbol: `<symbol id="hy-icon-ops-audio-next" viewBox="0 0 18 14">
|
|
4
|
+
<g id="hy-icon-ops-audio-next-playback/Next" stroke="none" stroke-width="1" fill-rule="evenodd">
|
|
5
|
+
<path d="M15.7244444,0 L16.4422222,0 C17.0264178,0 17.5,0.497838494 17.5,1.11195579 L17.5,12.8867734 C17.5,13.5008907 17.0264178,13.9987292 16.4422222,13.9987292 L15.7244444,13.9987292 C15.1402489,13.9987292 14.6666667,13.5008907 14.6666667,12.8867734 L14.6666667,1.11195579 C14.6666667,0.497838494 15.1402489,0 15.7244444,0 Z M11.3608469,7.68951799 L2.80880632,13.7305723 C2.15482341,14.1925318 1.24377545,14.0457664 0.773913817,13.4027545 C0.595804463,13.1589985 0.5,12.8664264 0.5,12.5662855 L0.5,1.43487632 C0.5,0.643127854 1.1527881,0.00127080662 1.95806556,0.00127080662 C2.24601998,0.00127080662 2.52752737,0.0851024156 2.76708944,0.242196178 L11.3284049,5.85633476 C11.8494608,6.19801074 11.9901439,6.89032273 11.6426383,7.40263759 C11.5670065,7.51413849 11.4715493,7.61131955 11.3608469,7.68951799 L11.3608469,7.68951799 Z" id="hy-icon-ops-audio-next-形状备份-7" fill-rule="nonzero"></path>
|
|
6
|
+
</g>
|
|
7
|
+
</symbol>`,
|
|
8
|
+
};
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
export default {
|
|
2
|
+
id: 'hy-icon-ops-audio-previous',
|
|
3
|
+
symbol: `<symbol id="hy-icon-ops-audio-previous" viewBox="0 0 18 14">
|
|
4
|
+
<g id="hy-icon-ops-audio-previous-playback/previous" stroke="none" stroke-width="1" fill-rule="evenodd">
|
|
5
|
+
<path d="M15.7244444,0 L16.4422222,0 C17.0264178,0 17.5,0.497838494 17.5,1.11195579 L17.5,12.8867734 C17.5,13.5008907 17.0264178,13.9987292 16.4422222,13.9987292 L15.7244444,13.9987292 C15.1402489,13.9987292 14.6666667,13.5008907 14.6666667,12.8867734 L14.6666667,1.11195579 C14.6666667,0.497838494 15.1402489,0 15.7244444,0 Z M11.3608469,7.68951799 L2.80880632,13.7305723 C2.15482341,14.1925318 1.24377545,14.0457664 0.773913817,13.4027545 C0.595804463,13.1589985 0.5,12.8664264 0.5,12.5662855 L0.5,1.43487632 C0.5,0.643127854 1.1527881,0.00127080662 1.95806556,0.00127080662 C2.24601998,0.00127080662 2.52752737,0.0851024156 2.76708944,0.242196178 L11.3284049,5.85633476 C11.8494608,6.19801074 11.9901439,6.89032273 11.6426383,7.40263759 C11.5670065,7.51413849 11.4715493,7.61131955 11.3608469,7.68951799 L11.3608469,7.68951799 Z" id="hy-icon-ops-audio-previous-形状备份-7" fill-rule="nonzero" transform="translate(9, 7) scale(-1, 1) translate(-9, -7)"></path>
|
|
6
|
+
</g>
|
|
7
|
+
</symbol>`,
|
|
8
|
+
};
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
export default {
|
|
2
|
+
id: 'hy-icon-ops-audio-semanticretrieval',
|
|
3
|
+
symbol: `<symbol id="hy-icon-ops-audio-semanticretrieval" viewBox="0 0 12 12">
|
|
4
|
+
<g id="hy-icon-ops-audio-semanticretrieval-PB/semanticretrieval" stroke="none" stroke-width="1" fill-rule="evenodd">
|
|
5
|
+
<path d="M5.82578223,0 C9.0428035,0 11.6515645,2.59459459 11.6515645,5.81081081 C11.6515645,7.06756757 11.2460576,8.22972973 10.5702128,9.17567568 L11.7461827,10.4324324 C12.097622,10.8108108 12.0841051,11.4054054 11.705632,11.7567568 C11.5299124,11.9189189 11.3001252,12 11.0703379,12 C10.8135169,12 10.5702128,11.9054054 10.3809762,11.7027027 L9.25907384,10.5135135 C8.29937422,11.2162162 7.10988736,11.6351351 5.82578223,11.6351351 C2.60876095,11.6351351 0,9.02702703 0,5.81081081 C0,2.59459459 2.60876095,0 5.82578223,0 Z M5.82578223,1.81081081 C3.60901126,1.81081081 1.81126408,3.59459459 1.81126408,5.81081081 C1.81126408,8.02702703 3.60901126,9.82432432 5.82578223,9.82432432 C8.0290363,9.82432432 9.82678348,8.01351351 9.82678348,5.81081081 C9.82678348,3.60810811 8.04255319,1.81081081 5.82578223,1.81081081 Z M6.99413761,4.84169884 C8.21598272,5.44401545 8.56032089,5.60617761 8.56032089,5.60617761 C8.56032089,5.60617761 8.57142857,5.73359074 8.57142857,5.79150579 C8.57142857,7.33204633 7.37179883,8.57142857 5.9055847,8.57142857 C4.78370873,8.57142857 3.82844801,7.85328185 3.42857143,6.83397684 C3.44948001,6.81898706 3.48591628,6.79085116 3.53393728,6.75286982 L3.70881151,6.61269015 C4.14592019,6.25927509 4.90589324,5.62934363 4.90589324,5.62934363 C4.90589324,5.62934363 5.14537488,5.78321751 5.41775501,5.95794423 L5.6544622,6.10971429 C5.88958963,6.2603861 6.10552299,6.3984556 6.17216908,6.44015444 C6.2277075,6.32432433 6.92749151,5.01544402 6.99413761,4.84169884 Z M5.46028658,3.6728273 C5.66232768,3.88350695 5.74123748,4.19058316 5.66729141,4.47838329 C5.59334534,4.76618342 5.37777757,4.99098379 5.10179039,5.06810426 C4.82580322,5.14522474 4.53132565,5.06294889 4.32928454,4.85226924 C4.01695605,4.52658671 4.01694721,3.99854178 4.3292648,3.67284788 C4.64158239,3.34715398 5.14795809,3.34714477 5.46028658,3.6728273 Z" id="hy-icon-ops-audio-semanticretrieval-形状结合备份-10" fill-rule="nonzero"></path>
|
|
6
|
+
</g>
|
|
7
|
+
</symbol>`,
|
|
8
|
+
};
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
export default {
|
|
2
|
+
id: 'hy-icon-ops-audio-sequentialplay',
|
|
3
|
+
symbol: `<symbol id="hy-icon-ops-audio-sequentialplay" viewBox="0 0 12 12">
|
|
4
|
+
<g id="hy-icon-ops-audio-sequentialplay-PB/sequentialplay" stroke="none" stroke-width="1" fill-rule="evenodd">
|
|
5
|
+
<path d="M0.96457379,8.90810907 L6.05521618,8.90810907 C6.58793558,8.90810907 7.01978997,9.33996347 7.01978997,9.87268286 C7.01978997,10.4054023 6.58793558,10.8372567 6.05521618,10.8372567 L0.96457379,10.8372567 C0.431854396,10.8372567 0,10.4054023 0,9.87268286 C-1.11022302e-16,9.33996347 0.431854396,8.90810907 0.96457379,8.90810907 Z M0.96457379,5.04981391 L6.05521618,5.04981391 C6.58793558,5.04981391 7.01978997,5.48166831 7.01978997,6.0143877 C7.01978997,6.5471071 6.58793558,6.97896149 6.05521618,6.97896149 L0.96457379,6.97896149 C0.431854396,6.97896149 0,6.5471071 0,6.0143877 C-1.11022302e-16,5.48166831 0.431854396,5.04981391 0.96457379,5.04981391 Z M0.96457379,1.19151875 L6.05521618,1.19151875 C6.58793558,1.19151875 7.01978997,1.62337315 7.01978997,2.15609254 C7.01978997,2.68881194 6.58793558,3.12066633 6.05521618,3.12066633 L0.96457379,3.12066633 C0.431854396,3.12066633 0,2.68881194 0,2.15609254 C-1.11022302e-16,1.62337315 0.431854396,1.19151875 0.96457379,1.19151875 Z M8.93427815,1 C9.34730261,1 9.68701272,1.31629961 9.7278631,1.72162644 L9.73198155,1.80381149 L9.73198155,8.51584907 L10.702327,7.73024951 C11.0227416,7.47057349 11.4815155,7.50107387 11.765749,7.78754864 L11.8238706,7.8528416 C12.0815734,8.17570964 12.0513048,8.63799642 11.7670069,8.92440635 L11.7022101,8.98297301 L9.43421971,10.8210375 C8.93312814,11.2271409 8.19822278,10.8983276 8.1402321,10.2741982 L8.13657474,10.1946758 L8.13657474,1.80381149 C8.13657474,1.35987866 8.49371872,1 8.93427815,1 Z" id="hy-icon-ops-audio-sequentialplay-形状结合备份-7" ></path>
|
|
6
|
+
</g>
|
|
7
|
+
</symbol>`,
|
|
8
|
+
};
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
export default {
|
|
2
|
+
id: 'hy-icon-ops-audio-stopplayback',
|
|
3
|
+
symbol: `<symbol id="hy-icon-ops-audio-stopplayback" viewBox="0 0 12 12">
|
|
4
|
+
<g id="hy-icon-ops-audio-stopplayback-PB/Stopplayback" stroke="none" stroke-width="1" fill-rule="evenodd">
|
|
5
|
+
<path d="M11.1304348,5.00798143 C11.5806669,5.00798143 11.9509801,5.36275935 11.9955105,5.81739476 L12,5.90957772 L12,10.5984037 C12,11.0963416 11.6106824,11.5 11.1304348,11.5 C10.6802026,11.5 10.3098895,11.1452221 10.265359,10.6905867 L10.2608696,10.5984037 L10.2608696,5.90957772 C10.2608696,5.41163987 10.6501872,5.00798143 11.1304348,5.00798143 Z M8,9.15532435 C8.57629711,9.15532435 9.04347826,9.63971446 9.04347826,10.2372399 C9.04347826,10.8347653 8.57629711,11.3191554 8,11.3191554 L1.04347826,11.3191554 C0.467181134,11.3191554 0,10.8347653 0,10.2372399 C0,9.63971446 0.467181134,9.15532435 1.04347826,9.15532435 L8,9.15532435 Z M8,4.82766217 C8.57629711,4.82766217 9.04347826,5.31205228 9.04347826,5.90957772 C9.04347826,6.50710316 8.57629711,6.99149326 8,6.99149326 L1.04347826,6.99149326 C0.467181134,6.99149326 0,6.50710316 0,5.90957772 C0,5.31205228 0.467181134,4.82766217 1.04347826,4.82766217 L8,4.82766217 Z M10.7826087,0.5 C11.3589058,0.5 11.826087,0.984390092 11.826087,1.58191554 C11.826087,2.17944098 11.3589058,2.66383109 10.7826087,2.66383109 L1.04347826,2.66383109 C0.467181134,2.66383109 0,2.17944098 0,1.58191554 C0,0.984390092 0.467181134,0.5 1.04347826,0.5 L10.7826087,0.5 Z" id="hy-icon-ops-audio-stopplayback-形状结合" fill-rule="nonzero"></path>
|
|
6
|
+
</g>
|
|
7
|
+
</symbol>`,
|
|
8
|
+
};
|
|
@@ -454,13 +454,13 @@
|
|
|
454
454
|
if (ratio === 0) {
|
|
455
455
|
return {
|
|
456
456
|
latLng: latLngs[0] instanceof BM.LatLng ? latLngs[0] : BM.latLng(latLngs[0]),
|
|
457
|
-
predecessor: -1
|
|
457
|
+
predecessor: -1,
|
|
458
458
|
};
|
|
459
459
|
}
|
|
460
460
|
if (ratio == 1) {
|
|
461
461
|
return {
|
|
462
462
|
latLng: latLngs[latLngs.length -1] instanceof BM.LatLng ? latLngs[latLngs.length -1] : BM.latLng(latLngs[latLngs.length -1]),
|
|
463
|
-
predecessor: latLngs.length - 2
|
|
463
|
+
predecessor: latLngs.length - 2,
|
|
464
464
|
};
|
|
465
465
|
}
|
|
466
466
|
|
|
@@ -498,7 +498,7 @@
|
|
|
498
498
|
var interpolatedPoint = BM.GeometryUtil.interpolateOnPointSegment(pointA, pointB, segmentRatio);
|
|
499
499
|
return {
|
|
500
500
|
latLng: map.unproject(interpolatedPoint, maxzoom),
|
|
501
|
-
predecessor: i-1
|
|
501
|
+
predecessor: i-1,
|
|
502
502
|
};
|
|
503
503
|
},
|
|
504
504
|
|
package/lib/static/map/bmDraw.js
CHANGED
|
@@ -7,7 +7,7 @@ BM.drawVersion='0.4.2';BM.Draw={};BM.drawLocal={draw:{toolbar:{actions:{title:'
|
|
|
7
7
|
this._map.on('mouseup',this._upEvent,this).on('mousemove',this._onMouseMove,this).on('zoomlevelschange',this._onZoomEnd,this).on('dragstart',this._dragStart,this).on('zoomend',this._onZoomEnd,this);if(!this._map.getContainer()._bindTouch){this._map.getContainer()._bindTouch=true;this._map.getContainer().addEventListener('touchend',this._upEvent.bind(this));}}},_dragStart:function(){this._drag=true;},_upEvent:function(e){if(BM.Draw._clickHandled){return;}
|
|
8
8
|
BM.Draw._clickHandled=true;setTimeout(()=>{BM.Draw._clickHandled=false;},100);if(!this._clickHandle)return;if(this._drag)return this._drag=false;var origin=e.originalEvent||e.changedTouches[0];var clientX=origin.clientX;var clientY=origin.clientY;this._disableNewMarkers();this._startPoint.call(this,clientX,clientY);if(!e.latlng){var newPos=this._map.mouseEventToLayerPoint(origin);e.latlng=this._map.layerPointToLatLng(newPos);}
|
|
9
9
|
this._endPoint.call(this,clientX,clientY,e);if(!this._tttt)this._tttt={x:0,y:0};if(Math.abs(this._tttt.x-clientX)>5&&Math.abs(this._tttt.y-clientY)>5){this._updateTooltip(e.latlng);}
|
|
10
|
-
this._tttt={x:clientX,y:clientY
|
|
10
|
+
this._tttt={x:clientX,y:clientY}
|
|
11
11
|
this._touchHandled=null;this._clickHandled=null;},removeHooks:function(){BM.Draw.Feature.prototype.removeHooks.call(this);this._clickHandle=false;this._clearHideErrorTimeout();this._cleanUpShape();this._map.removeLayer(this._markerGroup);delete this._markerGroup;delete this._markers;this._map.removeLayer(this._poly);delete this._poly;this._mouseMarker.off('mousedown',this._onMouseDown,this).off('mouseout',this._onMouseOut,this).off('mouseup',this._onMouseUp,this).off('mousemove',this._onMouseMove,this);this._map.removeLayer(this._mouseMarker);delete this._mouseMarker;this._clearGuides();this._map.off('mouseup',this._onMouseUp,this).off('mousemove',this._onMouseMove,this).off('zoomlevelschange',this._onZoomEnd,this).off('zoomend',this._onZoomEnd,this).off('touchstart',this._onTouch,this).off('click',this._onTouch,this);},deleteLastVertex:function(){if(this._markers.length<=1){return;}
|
|
12
12
|
var lastMarker=this._markers.pop(),poly=this._poly,latlngs=poly.getLatLngs(),latlng=latlngs.splice(-1,1)[0];this._poly.setLatLngs(latlngs);this._markerGroup.removeLayer(lastMarker);if(poly.getLatLngs().length<2){this._map.removeLayer(poly);}
|
|
13
13
|
this._vertexChanged(latlng,false);},addVertex:function(latlng){var markersLength=this._markers.length;if(markersLength>=2&&!this.options.allowIntersection&&this._poly.newLatLngIntersects(latlng)){this._showErrorTooltip();return;}
|
|
@@ -50,7 +50,7 @@ BM.Draw.Circle=BM.Draw.SimpleShape.extend({statics:{TYPE:'circle'},options:{shap
|
|
|
50
50
|
this._mouseMarker.off('click',this._onClick,this);this._map.removeLayer(this._mouseMarker);delete this._mouseMarker;this._map.off('mousemove',this._onMouseMove,this);}},_onMouseMove:function(e){var latlng=e.latlng;this._tooltip.updatePosition(latlng);this._mouseMarker.setLatLng(latlng);if(!this._marker){this._marker=this._createMarker(latlng);this._marker.on('click',this._onClick,this);this._map.on('click',this._onClick,this).addLayer(this._marker);}
|
|
51
51
|
else{latlng=this._mouseMarker.getLatLng();this._marker.setLatLng(latlng);}},_createMarker:function(latlng){return new BM.Marker(latlng,{icon:this.options.icon,zIndexOffset:this.options.zIndexOffset});},_onClick:function(){this._fireCreatedEvent();this.disable();if(this.options.repeatMode){this.enable();}},_onTouch:function(e){this._onMouseMove(e);this._onClick();},_fireCreatedEvent:function(){var marker=new BM.Marker.Touch(this._marker.getLatLng(),{icon:this.options.icon});BM.Draw.Feature.prototype._fireCreatedEvent.call(this,marker);}});BM.Draw.CircleMarker=BM.Draw.Marker.extend({statics:{TYPE:'circlemarker'},options:{stroke:true,color:'#3388ff',weight:4,opacity:0.5,fill:true,fillColor:null,fillOpacity:0.2,clickable:true,zIndexOffset:2000},initialize:function(map,options){this.type=BM.Draw.CircleMarker.TYPE;this._initialLabelText=BM.drawLocal.draw.handlers.circlemarker.tooltip.start;BM.Draw.Feature.prototype.initialize.call(this,map,options);},_fireCreatedEvent:function(){var circleMarker=new BM.CircleMarker(this._marker.getLatLng(),this.options);BM.Draw.Feature.prototype._fireCreatedEvent.call(this,circleMarker);},_createMarker:function(latlng){return new BM.CircleMarker(latlng,this.options);}});BM.Edit=BM.Edit||{};BM.Edit.Poly=BM.Handler.extend({initialize:function(poly){this.latlngs=[poly._latlngs];if(poly._holes){this.latlngs=this.latlngs.concat(poly._holes);}
|
|
52
52
|
this._poly=poly;this._poly.on('revert-edited',this._updateLatLngs,this);},_defaultShape:function(){if(!BM.Polyline._flat){return this._poly._latlngs;}
|
|
53
|
-
return BM.Polyline._flat(this._poly._latlngs)?this._poly._latlngs:this._poly._latlngs[0];},_eachVertexHandler:function(callback){for(var i=0;i<this._verticesHandlers.length;i++){callback(this._verticesHandlers[i]);}},addHooks:function(){this._initHandlers();this._eachVertexHandler(function(handler){handler.addHooks();});},removeHooks:function(){this._eachVertexHandler(function(handler){handler.removeHooks();});},updateMarkers:function(){this._eachVertexHandler(function(handler){handler.updateMarkers();});},_initHandlers:function(){this._verticesHandlers=[];for(var i=0;i<this.latlngs.length;i++){this._verticesHandlers.push(new BM.Edit.PolyVerticesEdit(this._poly,this.latlngs[i],this._poly.options.poly));}},_updateLatLngs:function(e){this.latlngs=[e.layer._latlngs];if(e.layer._holes){this.latlngs=this.latlngs.concat(e.layer._holes);}}});BM.Edit.PolyVerticesEdit=BM.Handler.extend({options:{icon:new BM.DivIcon({iconSize:new BM.Point(8,8),className:'bigemap-div-icon leaflet-editing-icon'}),touchIcon:new BM.DivIcon({iconSize:new BM.Point(8,8),className:'bigemap-draw-drag-icon'
|
|
53
|
+
return BM.Polyline._flat(this._poly._latlngs)?this._poly._latlngs:this._poly._latlngs[0];},_eachVertexHandler:function(callback){for(var i=0;i<this._verticesHandlers.length;i++){callback(this._verticesHandlers[i]);}},addHooks:function(){this._initHandlers();this._eachVertexHandler(function(handler){handler.addHooks();});},removeHooks:function(){this._eachVertexHandler(function(handler){handler.removeHooks();});},updateMarkers:function(){this._eachVertexHandler(function(handler){handler.updateMarkers();});},_initHandlers:function(){this._verticesHandlers=[];for(var i=0;i<this.latlngs.length;i++){this._verticesHandlers.push(new BM.Edit.PolyVerticesEdit(this._poly,this.latlngs[i],this._poly.options.poly));}},_updateLatLngs:function(e){this.latlngs=[e.layer._latlngs];if(e.layer._holes){this.latlngs=this.latlngs.concat(e.layer._holes);}}});BM.Edit.PolyVerticesEdit=BM.Handler.extend({options:{icon:new BM.DivIcon({iconSize:new BM.Point(8,8),className:'bigemap-div-icon leaflet-editing-icon'}),touchIcon:new BM.DivIcon({iconSize:new BM.Point(8,8),className:'bigemap-draw-drag-icon'}),drawError:{color:'#b00b00',timeout:1000}},initialize:function(poly,latlngs,options){if(BM.Browser.touch){this.options.icon=this.options.touchIcon;}
|
|
54
54
|
this._poly=poly;if(options&&options.drawError){options.drawError=BM.Util.extend({},this.options.drawError,options.drawError);}
|
|
55
55
|
this._latlngs=latlngs;BM.setOptions(this,options);},_defaultShape:function(){if(!BM.Polyline._flat){return this._latlngs;}
|
|
56
56
|
return BM.Polyline._flat(this._latlngs)?this._latlngs:this._latlngs[0];},addHooks:function(){var poly=this._poly;var path=poly._path;if(!(poly instanceof BM.Polygon)){poly.options.fill=false;if(poly.options.editing){poly.options.editing.fill=false;}}
|
|
@@ -61,7 +61,7 @@ BM.Draw.Circle=BM.Draw.SimpleShape.extend({statics:{TYPE:'circle'},options:{shap
|
|
|
61
61
|
poly.setStyle(poly.options.original);if(poly._map){poly._map.removeLayer(this._markerGroup);delete this._markerGroup;delete this._markers;}},updateMarkers:function(){this._markerGroup.clearLayers();this._initMarkers();},_initMarkers:function(){if(!this._markerGroup){this._markerGroup=new BM.LayerGroup();}
|
|
62
62
|
this._markers=[];var latlngs=this._defaultShape(),i,j,len,marker;for(i=0,len=latlngs.length;i<len;i++){marker=this._createMarker(latlngs[i],i);marker.on('click',this._onMarkerClick,this);marker.on('contextmenu',this._onContextMenu,this);this._markers.push(marker);}
|
|
63
63
|
var markerLeft,markerRight;for(i=0,j=len-1;i<len;j=i++){if(i===0&&!(BM.Polygon&&(this._poly instanceof BM.Polygon))){continue;}
|
|
64
|
-
markerLeft=this._markers[j];markerRight=this._markers[i];this._createMiddleMarker(markerLeft,markerRight);this._updatePrevNext(markerLeft,markerRight);}},_createMarker:function(latlng,index){var marker=new BM.Marker.Touch(latlng,{draggable:true,icon:this.options.icon
|
|
64
|
+
markerLeft=this._markers[j];markerRight=this._markers[i];this._createMiddleMarker(markerLeft,markerRight);this._updatePrevNext(markerLeft,markerRight);}},_createMarker:function(latlng,index){var marker=new BM.Marker.Touch(latlng,{draggable:true,icon:this.options.icon});marker._origLatLng=latlng;marker._index=index;marker.on('dragstart',this._onMarkerDragStart,this).on('drag',this._onMarkerDrag,this).on('dragend',this._fireEdit,this).on('touchmove',this._onTouchMove,this).on('touchend',this._fireEdit,this).on('MSPointerMove',this._onTouchMove,this).on('MSPointerUp',this._fireEdit,this);this._markerGroup.addLayer(marker);return marker;},_onMarkerDragStart:function(){this._poly.fire('editstart');},_spliceLatLngs:function(){var latlngs=this._defaultShape();var removed=[].splice.apply(latlngs,arguments);this._poly._convertLatLngs(latlngs,true);this._poly.redraw();return removed;},_removeMarker:function(marker){var i=marker._index;this._markerGroup.removeLayer(marker);this._markers.splice(i,1);this._spliceLatLngs(i,1);this._updateIndexes(i,-1);marker.off('dragstart',this._onMarkerDragStart,this).off('drag',this._onMarkerDrag,this).off('dragend',this._fireEdit,this).off('touchmove',this._onMarkerDrag,this).off('touchend',this._fireEdit,this).off('click',this._onMarkerClick,this).off('MSPointerMove',this._onTouchMove,this).off('MSPointerUp',this._fireEdit,this);},_fireEdit:function(){this._poly.edited=true;this._poly.fire('edit');this._poly._map.fire(BM.Draw.Event.EDITVERTEX,{layers:this._markerGroup,poly:this._poly});},_onMarkerDrag:function(e){var marker=e.target;var poly=this._poly;var oldOrigLatLng=BM.LatLngUtil.cloneLatLng(marker._origLatLng);BM.extend(marker._origLatLng,marker._latlng);if(poly.options.poly){var tooltip=poly._map._editTooltip;if(!poly.options.poly.allowIntersection&&poly.intersects()){BM.extend(marker._origLatLng,oldOrigLatLng);marker.setLatLng(oldOrigLatLng);var originalColor=poly.options.color;poly.setStyle({color:this.options.drawError.color});if(tooltip){tooltip.updateContent({text:BM.drawLocal.draw.handlers.polyline.error});}
|
|
65
65
|
setTimeout(function(){poly.setStyle({color:originalColor});if(tooltip){tooltip.updateContent({text:BM.drawLocal.edit.handlers.edit.tooltip.text,subtext:BM.drawLocal.edit.handlers.edit.tooltip.subtext});}},1000);}}
|
|
66
66
|
if(marker._middleLeft){marker._middleLeft.setLatLng(this._getMiddleLatLng(marker._prev,marker));}
|
|
67
67
|
if(marker._middleRight){marker._middleRight.setLatLng(this._getMiddleLatLng(marker,marker._next));}
|
|
@@ -74,7 +74,7 @@ BM.Draw.Circle=BM.Draw.SimpleShape.extend({statics:{TYPE:'circle'},options:{shap
|
|
|
74
74
|
this._poly.redraw();this.updateMarkers();},_updateIndexes:function(index,delta){this._markerGroup.eachLayer(function(marker){if(marker._index>index){marker._index+=delta;}});},_createMiddleMarker:function(marker1,marker2){var latlng=this._getMiddleLatLng(marker1,marker2),marker=this._createMarker(latlng),onClick,onDragStart,onDragEnd;marker.setOpacity(0.6);marker1._middleRight=marker2._middleLeft=marker;onDragStart=function(){marker.off('touchmove',onDragStart,this);var i=marker2._index;marker._index=i;marker.off('click',onClick,this).on('click',this._onMarkerClick,this);latlng.lat=marker.getLatLng().lat;latlng.lng=marker.getLatLng().lng;this._spliceLatLngs(i,0,latlng);this._markers.splice(i,0,marker);marker.setOpacity(1);this._updateIndexes(i,1);marker2._index++;this._updatePrevNext(marker1,marker);this._updatePrevNext(marker,marker2);this._poly.fire('editstart');};onDragEnd=function(){marker.off('dragstart',onDragStart,this);marker.off('dragend',onDragEnd,this);marker.off('touchmove',onDragStart,this);this._createMiddleMarker(marker1,marker);this._createMiddleMarker(marker,marker2);};onClick=function(){onDragStart.call(this);onDragEnd.call(this);this._fireEdit();};marker.on('click',onClick,this).on('dragstart',onDragStart,this).on('dragend',onDragEnd,this).on('touchmove',onDragStart,this);this._markerGroup.addLayer(marker);},_updatePrevNext:function(marker1,marker2){if(marker1){marker1._next=marker2;}
|
|
75
75
|
if(marker2){marker2._prev=marker1;}},_getMiddleLatLng:function(marker1,marker2){var map=this._poly._map,p1=map.project(marker1.getLatLng()),p2=map.project(marker2.getLatLng());return map.unproject(p1._add(p2)._divideBy(2));}});BM.Polyline.addInitHook(function(){if(this.editing){return;}
|
|
76
76
|
if(BM.Edit.Poly){this.editing=new BM.Edit.Poly(this);if(this.options.editable){this.editing.enable();}}
|
|
77
|
-
this.on('add',function(){if(this.editing&&this.editing.enabled()){this.editing.addHooks();}});this.on('remove',function(){if(this.editing&&this.editing.enabled()){this.editing.removeHooks();}});});BM.Edit=BM.Edit||{};BM.Edit.SimpleShape=BM.Handler.extend({options:{moveIcon:new BM.DivIcon({iconSize:new BM.Point(8,8),className:'bigemap-div-icon bigemap-editing-icon bigemap-edit-move'}),resizeIcon:new BM.DivIcon({iconSize:new BM.Point(8,8),className:'bigemap-div-icon bigemap-editing-icon bigemap-edit-resize'}),touchMoveIcon:new BM.DivIcon({iconSize:new BM.Point(15,15),className:'bigemap-div-icon bigemap-editing-icon bigemap-edit-move bigemap-touch-icon'}),touchResizeIcon:new BM.DivIcon({iconSize:new BM.Point(15,15),className:'bigemap-div-icon bigemap-editing-icon bigemap-edit-resize bigemap-touch-icon'})
|
|
77
|
+
this.on('add',function(){if(this.editing&&this.editing.enabled()){this.editing.addHooks();}});this.on('remove',function(){if(this.editing&&this.editing.enabled()){this.editing.removeHooks();}});});BM.Edit=BM.Edit||{};BM.Edit.SimpleShape=BM.Handler.extend({options:{moveIcon:new BM.DivIcon({iconSize:new BM.Point(8,8),className:'bigemap-div-icon bigemap-editing-icon bigemap-edit-move'}),resizeIcon:new BM.DivIcon({iconSize:new BM.Point(8,8),className:'bigemap-div-icon bigemap-editing-icon bigemap-edit-resize'}),touchMoveIcon:new BM.DivIcon({iconSize:new BM.Point(15,15),className:'bigemap-div-icon bigemap-editing-icon bigemap-edit-move bigemap-touch-icon'}),touchResizeIcon:new BM.DivIcon({iconSize:new BM.Point(15,15),className:'bigemap-div-icon bigemap-editing-icon bigemap-edit-resize bigemap-touch-icon'})},initialize:function(shape,options){if(BM.Browser.touch){this.options.moveIcon=this.options.touchMoveIcon;this.options.resizeIcon=this.options.touchResizeIcon;}
|
|
78
78
|
this._shape=shape;BM.Util.setOptions(this,options);},addHooks:function(){var shape=this._shape;if(this._shape._map){this._map=this._shape._map;shape.setStyle(shape.options.editing);if(shape._map){this._map=shape._map;if(!this._markerGroup){this._initMarkers();}
|
|
79
79
|
this._map.addLayer(this._markerGroup);}}},removeHooks:function(){var shape=this._shape;shape.setStyle(shape.options.original);if(shape._map){this._unbindMarker(this._moveMarker);for(var i=0,l=this._resizeMarkers.length;i<l;i++){this._unbindMarker(this._resizeMarkers[i]);}
|
|
80
80
|
this._resizeMarkers=null;this._map.removeLayer(this._markerGroup);delete this._markerGroup;}
|
|
@@ -87,7 +87,7 @@ BM.Draw.Circle=BM.Draw.SimpleShape.extend({statics:{TYPE:'circle'},options:{shap
|
|
|
87
87
|
this._shape.setLatLngs(newLatLngs);this._repositionCornerMarkers();this._map.fire(BM.Draw.Event.EDITMOVE,{layer:this._shape});},_resize:function(latlng){var bounds;this._shape.setBounds(BM.latLngBounds(latlng,this._oppositeCorner));bounds=this._shape.getBounds();this._moveMarker.setLatLng(bounds.getCenter());this._map.fire(BM.Draw.Event.EDITRESIZE,{layer:this._shape});},_getCorners:function(){var bounds=this._shape.getBounds(),nw=bounds.getNorthWest(),ne=bounds.getNorthEast(),se=bounds.getSouthEast(),sw=bounds.getSouthWest();return[nw,ne,se,sw];},_toggleCornerMarkers:function(opacity){for(var i=0,l=this._resizeMarkers.length;i<l;i++){this._resizeMarkers[i].setOpacity(opacity);}},_repositionCornerMarkers:function(){var corners=this._getCorners();for(var i=0,l=this._resizeMarkers.length;i<l;i++){this._resizeMarkers[i].setLatLng(corners[i]);}}});BM.Rectangle.addInitHook(function(){if(BM.Edit.Rectangle){this.editing=new BM.Edit.Rectangle(this);if(this.options.editable){this.editing.enable();}}});BM.Edit=BM.Edit||{};BM.Edit.Marker=BM.Handler.extend({initialize:function(marker,options){this._marker=marker;BM.setOptions(this,options);},addHooks:function(){var marker=this._marker;marker.dragging.enable();marker.on('dragend',this._onDragEnd,marker);this._toggleMarkerHighlight();},removeHooks:function(){var marker=this._marker;marker.dragging.disable();marker.off('dragend',this._onDragEnd,marker);this._toggleMarkerHighlight();},_onDragEnd:function(e){var layer=e.target;layer.edited=true;this._map.fire(BM.Draw.Event.EDITMOVE,{layer:layer});},_toggleMarkerHighlight:function(){var icon=this._marker._icon;if(!icon){return;}
|
|
88
88
|
icon.style.display='none';if(BM.DomUtil.hasClass(icon,'leaflet-edit-marker-selected')){BM.DomUtil.removeClass(icon,'leaflet-edit-marker-selected');this._offsetMarker(icon,-4);}else{BM.DomUtil.addClass(icon,'leaflet-edit-marker-selected');this._offsetMarker(icon,4);}
|
|
89
89
|
icon.style.display='';},_offsetMarker:function(icon,offset){var iconMarginTop=parseInt(icon.style.marginTop,10)-offset,iconMarginLeft=parseInt(icon.style.marginLeft,10)-offset;icon.style.marginTop=iconMarginTop+'px';icon.style.marginLeft=iconMarginLeft+'px';}});BM.Marker.addInitHook(function(){if(BM.Edit.Marker){this.editing=new BM.Edit.Marker(this);if(this.options.editable){this.editing.enable();}}});BM.Edit=BM.Edit||{};BM.Edit.CircleMarker=BM.Edit.SimpleShape.extend({_createMoveMarker:function(){var center=this._shape.getLatLng();this._moveMarker=this._createMarker(center,this.options.moveIcon);},_createResizeMarker:function(){this._resizeMarkers=[];},_move:function(latlng){if(this._resizeMarkers.length){var resizemarkerPoint=this._getResizeMarkerPoint(latlng);this._resizeMarkers[0].setLatLng(resizemarkerPoint);}
|
|
90
|
-
this._shape.setLatLng(latlng);this._map.fire(BM.Draw.Event.EDITMOVE,{layer:this._shape});}
|
|
90
|
+
this._shape.setLatLng(latlng);this._map.fire(BM.Draw.Event.EDITMOVE,{layer:this._shape});}});BM.CircleMarker.addInitHook(function(){if(BM.Edit.CircleMarker){this.editing=new BM.Edit.CircleMarker(this);if(this.options.editable){this.editing.enable();}}
|
|
91
91
|
this.on('add',function(){if(this.editing&&this.editing.enabled()){this.editing.addHooks();}});this.on('remove',function(){if(this.editing&&this.editing.enabled()){this.editing.removeHooks();}});});BM.Edit=BM.Edit||{};BM.Edit.Circle=BM.Edit.CircleMarker.extend({_createResizeMarker:function(){var center=this._shape.getLatLng(),resizemarkerPoint=this._getResizeMarkerPoint(center);this._resizeMarkers=[];this._resizeMarkers.push(this._createMarker(resizemarkerPoint,this.options.resizeIcon));},_getResizeMarkerPoint:function(latlng){var delta=this._shape._radius*Math.cos(Math.PI/4),point=this._map.project(latlng);return this._map.unproject([point.x+delta,point.y-delta]);},_resize:function(latlng){var moveLatLng=this._moveMarker.getLatLng();if(BM.GeometryUtil.isVersion07x()){radius=moveLatLng.distanceTo(latlng);}else{radius=this._map.distance(moveLatLng,latlng);}
|
|
92
92
|
this._shape.setRadius(radius);if(this._map.editTooltip){this._map._editTooltip.updateContent({text:BM.drawLocal.edit.handlers.edit.tooltip.subtext+'<br />'+BM.drawLocal.edit.handlers.edit.tooltip.text,subtext:BM.drawLocal.draw.handlers.circle.radius+': '+
|
|
93
93
|
BM.GeometryUtil.readableDistance(radius,true,this.options.feet,this.options.nautic)});}
|
|
@@ -120,7 +120,7 @@ BM.Draw.Circle=BM.Draw.SimpleShape.extend({statics:{TYPE:'circle'},options:{shap
|
|
|
120
120
|
switch(units){case'metric':if(distance>1000){distanceStr=BM.GeometryUtil.formattedNumber(distance/1000,precision['km'])+' km';}else{distanceStr=BM.GeometryUtil.formattedNumber(distance,precision['m'])+' m';}
|
|
121
121
|
break;case'feet':distance*=1.09361*3;distanceStr=BM.GeometryUtil.formattedNumber(distance,precision['ft'])+' ft';break;case'nauticalMile':distance*=0.53996;distanceStr=BM.GeometryUtil.formattedNumber(distance/1000,precision['nm'])+' nm';break;case'yards':default:distance*=1.09361;if(distance>1760){distanceStr=BM.GeometryUtil.formattedNumber(distance/1760,precision['mi'])+' miles';}else{distanceStr=BM.GeometryUtil.formattedNumber(distance,precision['yd'])+' yd';}
|
|
122
122
|
break;}
|
|
123
|
-
return distanceStr;},isVersion07x:function(){var version=BM.version.split('.');return parseInt(version[0],10)===0&&parseInt(version[1],10)===7;}
|
|
123
|
+
return distanceStr;},isVersion07x:function(){var version=BM.version.split('.');return parseInt(version[0],10)===0&&parseInt(version[1],10)===7;}});})();BM.Util.extend(BM.LineUtil,{segmentsIntersect:function(p,p1,p2,p3){return this._checkCounterclockwise(p,p2,p3)!==this._checkCounterclockwise(p1,p2,p3)&&this._checkCounterclockwise(p,p1,p2)!==this._checkCounterclockwise(p,p1,p3);},_checkCounterclockwise:function(p,p1,p2){return(p2.y-p.y)*(p1.x-p.x)>(p1.y-p.y)*(p2.x-p.x);}});BM.Polyline.include({intersects:function(){var points=this._getProjectedPoints(),len=points?points.length:0,i,p,p1;if(this._tooFewPointsForIntersection()){return false;}
|
|
124
124
|
for(i=len-1;i>=3;i--){p=points[i-1];p1=points[i];if(this._lineSegmentsIntersectsRange(p,p1,i-2)){return true;}}
|
|
125
125
|
return false;},newLatLngIntersects:function(latlng,skipFirst){if(!this._map){return false;}
|
|
126
126
|
return this.newPointIntersects(this._map.latLngToLayerPoint(latlng),skipFirst);},newPointIntersects:function(newPoint,skipFirst){var points=this._getProjectedPoints(),len=points?points.length:0,lastPoint=points?points[len-1]:null,maxIndex=len-2;if(this._tooFewPointsForIntersection(1)){return false;}
|
|
@@ -43,7 +43,7 @@
|
|
|
43
43
|
chunkProgress: null, // progress callback: function(processed, total, elapsed) (e.g. for a progress indicator)
|
|
44
44
|
|
|
45
45
|
//Options to pass to the BM.Polygon constructor
|
|
46
|
-
polygonOptions: {}
|
|
46
|
+
polygonOptions: {},
|
|
47
47
|
},
|
|
48
48
|
|
|
49
49
|
initialize: function (options) {
|
|
@@ -1162,16 +1162,16 @@
|
|
|
1162
1162
|
},
|
|
1163
1163
|
getAllChildMarkers: function () {
|
|
1164
1164
|
return [layer];
|
|
1165
|
-
}
|
|
1165
|
+
},
|
|
1166
1166
|
});
|
|
1167
1167
|
|
|
1168
1168
|
return icon;
|
|
1169
|
-
}
|
|
1169
|
+
},
|
|
1170
1170
|
});
|
|
1171
1171
|
|
|
1172
1172
|
// Constant bounds used in case option "removeOutsideVisibleBounds" is set to false.
|
|
1173
1173
|
BM.MarkerClusterGroup.include({
|
|
1174
|
-
_mapBoundsInfinite: new BM.LatLngBounds(new BM.LatLng(-Infinity, -Infinity), new BM.LatLng(Infinity, Infinity))
|
|
1174
|
+
_mapBoundsInfinite: new BM.LatLngBounds(new BM.LatLng(-Infinity, -Infinity), new BM.LatLng(Infinity, Infinity)),
|
|
1175
1175
|
});
|
|
1176
1176
|
|
|
1177
1177
|
BM.MarkerClusterGroup.include({
|
|
@@ -1196,7 +1196,7 @@
|
|
|
1196
1196
|
},
|
|
1197
1197
|
_animationAddLayer: function (layer, newCluster) {
|
|
1198
1198
|
this._animationAddLayerNonAnimated(layer, newCluster);
|
|
1199
|
-
}
|
|
1199
|
+
},
|
|
1200
1200
|
},
|
|
1201
1201
|
|
|
1202
1202
|
_withAnimation: {
|
|
@@ -1312,7 +1312,7 @@
|
|
|
1312
1312
|
me._animationZoomOutSingle(newCluster, this._map.getMaxZoom(), this._zoom);
|
|
1313
1313
|
}
|
|
1314
1314
|
}
|
|
1315
|
-
}
|
|
1315
|
+
},
|
|
1316
1316
|
},
|
|
1317
1317
|
|
|
1318
1318
|
// Private methods for animated versions.
|
|
@@ -1367,7 +1367,7 @@
|
|
|
1367
1367
|
//Could loop all this._layers and do this for each _icon if it stops working
|
|
1368
1368
|
|
|
1369
1369
|
BM.Util.falseFn(document.body.offsetWidth);
|
|
1370
|
-
}
|
|
1370
|
+
},
|
|
1371
1371
|
});
|
|
1372
1372
|
|
|
1373
1373
|
BM.markerClusterGroup = function (options) {
|
|
@@ -1777,7 +1777,7 @@
|
|
|
1777
1777
|
_isSingleParent: function () {
|
|
1778
1778
|
//Don't need to check this._markers as the rest won't work if there are any
|
|
1779
1779
|
return this._childClusters.length > 0 && this._childClusters[0]._childCount === this._childCount;
|
|
1780
|
-
}
|
|
1780
|
+
},
|
|
1781
1781
|
});
|
|
1782
1782
|
|
|
1783
1783
|
/*
|
|
@@ -1798,7 +1798,7 @@
|
|
|
1798
1798
|
|
|
1799
1799
|
clusterShow: function () {
|
|
1800
1800
|
return this.setOpacity(this.options.opacity);
|
|
1801
|
-
}
|
|
1801
|
+
},
|
|
1802
1802
|
});
|
|
1803
1803
|
|
|
1804
1804
|
BM.DistanceGrid = function (cellSize) {
|
|
@@ -1916,7 +1916,7 @@
|
|
|
1916
1916
|
var dx = p2.x - p.x,
|
|
1917
1917
|
dy = p2.y - p.y;
|
|
1918
1918
|
return dx * dx + dy * dy;
|
|
1919
|
-
}
|
|
1919
|
+
},
|
|
1920
1920
|
};
|
|
1921
1921
|
|
|
1922
1922
|
/* Copyright (c) 2012 the authors listed at the following URL, and/or
|
|
@@ -2066,7 +2066,7 @@
|
|
|
2066
2066
|
var ch = [].concat(this.buildConvexHull([minPt, maxPt], latLngs),
|
|
2067
2067
|
this.buildConvexHull([maxPt, minPt], latLngs));
|
|
2068
2068
|
return ch;
|
|
2069
|
-
}
|
|
2069
|
+
},
|
|
2070
2070
|
};
|
|
2071
2071
|
}());
|
|
2072
2072
|
|
|
@@ -2082,7 +2082,7 @@
|
|
|
2082
2082
|
}
|
|
2083
2083
|
|
|
2084
2084
|
return BM.QuickHull.getConvexHull(points);
|
|
2085
|
-
}
|
|
2085
|
+
},
|
|
2086
2086
|
});
|
|
2087
2087
|
|
|
2088
2088
|
//This code is 100% based on https://github.com/jawj/OverlappingMarkerSpiderfier-Leaflet
|
|
@@ -2211,11 +2211,11 @@
|
|
|
2211
2211
|
|
|
2212
2212
|
group.fire('unspiderfied', {
|
|
2213
2213
|
cluster: this,
|
|
2214
|
-
markers: childMarkers
|
|
2214
|
+
markers: childMarkers,
|
|
2215
2215
|
});
|
|
2216
2216
|
group._ignoreMove = false;
|
|
2217
2217
|
group._spiderfied = null;
|
|
2218
|
-
}
|
|
2218
|
+
},
|
|
2219
2219
|
});
|
|
2220
2220
|
|
|
2221
2221
|
//Non Animated versions of everything
|
|
@@ -2254,13 +2254,13 @@
|
|
|
2254
2254
|
group._ignoreMove = false;
|
|
2255
2255
|
group.fire('spiderfied', {
|
|
2256
2256
|
cluster: this,
|
|
2257
|
-
markers: childMarkers
|
|
2257
|
+
markers: childMarkers,
|
|
2258
2258
|
});
|
|
2259
2259
|
},
|
|
2260
2260
|
|
|
2261
2261
|
_animationUnspiderfy: function () {
|
|
2262
2262
|
this._noanimationUnspiderfy();
|
|
2263
|
-
}
|
|
2263
|
+
},
|
|
2264
2264
|
});
|
|
2265
2265
|
|
|
2266
2266
|
//Animated versions here
|
|
@@ -2366,7 +2366,7 @@
|
|
|
2366
2366
|
group._animationEnd();
|
|
2367
2367
|
group.fire('spiderfied', {
|
|
2368
2368
|
cluster: me,
|
|
2369
|
-
markers: childMarkers
|
|
2369
|
+
markers: childMarkers,
|
|
2370
2370
|
});
|
|
2371
2371
|
}, 200);
|
|
2372
2372
|
},
|
|
@@ -2462,10 +2462,10 @@
|
|
|
2462
2462
|
group._animationEnd();
|
|
2463
2463
|
group.fire('unspiderfied', {
|
|
2464
2464
|
cluster: me,
|
|
2465
|
-
markers: childMarkers
|
|
2465
|
+
markers: childMarkers,
|
|
2466
2466
|
});
|
|
2467
2467
|
}, 200);
|
|
2468
|
-
}
|
|
2468
|
+
},
|
|
2469
2469
|
});
|
|
2470
2470
|
|
|
2471
2471
|
|
|
@@ -2558,7 +2558,7 @@
|
|
|
2558
2558
|
this._map.removeLayer(layer._spiderLeg);
|
|
2559
2559
|
delete layer._spiderLeg;
|
|
2560
2560
|
}
|
|
2561
|
-
}
|
|
2561
|
+
},
|
|
2562
2562
|
});
|
|
2563
2563
|
|
|
2564
2564
|
/**
|
|
@@ -2642,7 +2642,7 @@
|
|
|
2642
2642
|
layer.setIcon(this._overrideMarkerIcon(layer));
|
|
2643
2643
|
}
|
|
2644
2644
|
}
|
|
2645
|
-
}
|
|
2645
|
+
},
|
|
2646
2646
|
});
|
|
2647
2647
|
|
|
2648
2648
|
BM.Marker.include({
|
|
@@ -2669,7 +2669,7 @@
|
|
|
2669
2669
|
}
|
|
2670
2670
|
|
|
2671
2671
|
return this;
|
|
2672
|
-
}
|
|
2672
|
+
},
|
|
2673
2673
|
});
|
|
2674
2674
|
|
|
2675
2675
|
exports.MarkerClusterGroup = MarkerClusterGroup;
|
|
@@ -86,7 +86,7 @@ export function hySvgIconsPlugin(options = {}) {
|
|
|
86
86
|
const m = idRe.exec(content);
|
|
87
87
|
if (m) map.set(m[1], file);
|
|
88
88
|
} catch {}
|
|
89
|
-
})
|
|
89
|
+
})
|
|
90
90
|
);
|
|
91
91
|
available = map;
|
|
92
92
|
}
|
|
@@ -130,7 +130,7 @@ export function hySvgIconsPlugin(options = {}) {
|
|
|
130
130
|
while ((m = nameRe.exec(content))) {
|
|
131
131
|
if (available.has(m[0])) found.add(m[0]);
|
|
132
132
|
}
|
|
133
|
-
})
|
|
133
|
+
})
|
|
134
134
|
);
|
|
135
135
|
return found;
|
|
136
136
|
}
|
package/lib/utils/file.js
CHANGED
|
@@ -37,9 +37,13 @@ async function fileJsonUplaod(file) {
|
|
|
37
37
|
}
|
|
38
38
|
async function preSignedUrlGetApi(keyList) {
|
|
39
39
|
const { api } = useApi.useApi();
|
|
40
|
-
return await vue.unref(api).post(
|
|
41
|
-
|
|
42
|
-
|
|
40
|
+
return await vue.unref(api).post(
|
|
41
|
+
"file/preSignedUrlGet",
|
|
42
|
+
{ keyList },
|
|
43
|
+
{
|
|
44
|
+
isJSON: true
|
|
45
|
+
}
|
|
46
|
+
);
|
|
43
47
|
}
|
|
44
48
|
async function fileFormUpload(file) {
|
|
45
49
|
const { api } = useApi.useApi();
|