ym-giswidget-2d 1.0.15 → 1.0.17

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.
Files changed (72) hide show
  1. package/components/clear/Clear.vue.d.ts +1 -1
  2. package/components/clear/Clear.vue.js +3 -1
  3. package/components/clear/index.d.ts +2 -2
  4. package/components/draw/Draw.vue.d.ts +1 -1
  5. package/components/draw/Draw.vue.js +1 -1
  6. package/components/draw/index.d.ts +2 -2
  7. package/components/export/Export.vue.d.ts +1 -1
  8. package/components/export/Export.vue.js +1 -1
  9. package/components/export/Export.vue2.js +4 -4
  10. package/components/export/index.css +1 -1
  11. package/components/export/index.d.ts +2 -2
  12. package/components/horizontally-top-toolbar/HorizontallyTopToolbar.vue.d.ts +1 -1
  13. package/components/horizontally-top-toolbar/HorizontallyTopToolbar.vue.js +1 -1
  14. package/components/horizontally-top-toolbar/HorizontallyTopToolbar.vue2.js +1 -1
  15. package/components/horizontally-top-toolbar/index.css +9 -9
  16. package/components/identify/Identify.vue.d.ts +1 -1
  17. package/components/identify/Identify.vue.js +3 -3
  18. package/components/identify/index.d.ts +2 -2
  19. package/components/import/Import.vue.d.ts +1 -1
  20. package/components/import/Import.vue.js +5 -5
  21. package/components/import/index.d.ts +2 -2
  22. package/components/layer-tree/LayerTree.vue.d.ts +16 -22
  23. package/components/layer-tree/LayerTree.vue.js +1 -1
  24. package/components/layer-tree/LayerTree.vue2.js +2 -2
  25. package/components/layer-tree/index.css +11 -11
  26. package/components/layer-tree/index.d.ts +4 -4
  27. package/components/map-view/MapView.vue.d.ts +444 -0
  28. package/components/map-view/MapView.vue.js +52 -0
  29. package/components/map-view/MapView.vue2.js +4 -0
  30. package/components/map-view/index.d.ts +453 -0
  31. package/components/map-view/index.js +7 -0
  32. package/components/mouse-position/MousePositon.vue.d.ts +17 -0
  33. package/components/mouse-position/MousePositon.vue.js +7 -0
  34. package/components/mouse-position/MousePositon.vue2.js +47 -0
  35. package/components/mouse-position/index.css +19 -0
  36. package/components/mouse-position/index.d.ts +17 -0
  37. package/components/mouse-position/index.js +8 -0
  38. package/components/multi-screen/MultiScreen.vue.d.ts +35 -12
  39. package/components/multi-screen/MultiScreen.vue.js +1 -1
  40. package/components/multi-screen/MultiScreen.vue2.js +41 -12
  41. package/components/multi-screen/index.css +3 -3
  42. package/components/multi-screen/index.d.ts +47 -16
  43. package/components/multi-screen-panel/PanelMultiScreen.vue.js +1 -1
  44. package/components/multi-screen-panel/PanelMultiScreen.vue2.js +5 -3
  45. package/components/multi-screen-panel/index.css +1 -1
  46. package/components/popup/Popup.vue.d.ts +2 -2
  47. package/components/popup/Popup.vue.js +1 -1
  48. package/components/popup/Popup.vue2.js +1 -1
  49. package/components/popup/index.css +10 -10
  50. package/components/popup/index.d.ts +4 -4
  51. package/components/scale-line/ScaleLine.vue.d.ts +11 -0
  52. package/components/scale-line/ScaleLine.vue.js +7 -0
  53. package/components/scale-line/ScaleLine.vue2.js +47 -0
  54. package/components/scale-line/index.css +19 -0
  55. package/components/scale-line/index.d.ts +12 -0
  56. package/components/scale-line/index.js +8 -0
  57. package/components/select/Select.vue.d.ts +1 -1
  58. package/components/select/Select.vue.js +4 -4
  59. package/components/select/index.d.ts +2 -2
  60. package/components/swipe-layer/SwipeLayer.vue.d.ts +1 -1
  61. package/components/swipe-layer/SwipeLayer.vue.js +1 -1
  62. package/components/swipe-layer/index.d.ts +2 -2
  63. package/components/toc-card/TocCard.vue.d.ts +2 -2
  64. package/components/toc-card/TocCard.vue.js +1 -1
  65. package/components/toc-card/index.css +1 -1
  66. package/components/toc-card/index.d.ts +4 -4
  67. package/css/index.css +14 -2
  68. package/http/LayerField.js +1 -1
  69. package/http/layerField.d.ts +1 -1
  70. package/index.d.ts +3 -0
  71. package/index.js +6 -0
  72. package/package.json +3 -3
@@ -1,7 +1,7 @@
1
1
  import _sfc_main from "./TocCard.vue2.js";
2
2
  /* empty css */
3
3
  import _export_sfc from "../../_virtual/_plugin-vue_export-helper.js";
4
- const _TocCard = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-cdfeea6d"]]);
4
+ const _TocCard = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-8745417a"]]);
5
5
  export {
6
6
  _TocCard as default
7
7
  };
@@ -1,4 +1,4 @@
1
- .toc-card[data-v-cdfeea6d] {
1
+ .toc-card[data-v-8745417a] {
2
2
  background-color: var(--system-primary-color);
3
3
  position: absolute;
4
4
  width: 245px;
@@ -1,12 +1,12 @@
1
1
  export declare const TocCard: import('../../utils').WithInstall<import('vue').DefineComponent<{
2
- data: import('ym-giscomm-2d/entity').IMapService[];
3
- map: import('ym-giscomm-2d/mapView/Map').default;
2
+ data: import('ym-gis-2d/entity').IMapService[];
3
+ map: import('ym-gis-2d/mapView/Map').default;
4
4
  editLayerTag?: string;
5
5
  }, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
6
6
  loaded: (...args: any[]) => void;
7
7
  }, string, import('vue').PublicProps, Readonly<{
8
- data: import('ym-giscomm-2d/entity').IMapService[];
9
- map: import('ym-giscomm-2d/mapView/Map').default;
8
+ data: import('ym-gis-2d/entity').IMapService[];
9
+ map: import('ym-gis-2d/mapView/Map').default;
10
10
  editLayerTag?: string;
11
11
  }> & Readonly<{
12
12
  onLoaded?: ((...args: any[]) => any) | undefined;
package/css/index.css CHANGED
@@ -2057,6 +2057,10 @@
2057
2057
  margin-left: 0;
2058
2058
  }
2059
2059
 
2060
+ .el-cascader__collapse-tags .el-tag {
2061
+ margin: 2px 0;
2062
+ }
2063
+
2060
2064
  .el-cascader__suggestion-panel {
2061
2065
  border-radius: var(--el-cascader-menu-radius);
2062
2066
  }
@@ -6608,7 +6612,7 @@
6608
6612
  }
6609
6613
 
6610
6614
  .el-date-editor .clear-icon:hover {
6611
- color: var(--el-text-color-secondary);
6615
+ color: var(--el-input-clear-hover-color);
6612
6616
  }
6613
6617
 
6614
6618
  .el-date-editor .el-range__icon {
@@ -6670,7 +6674,7 @@
6670
6674
  }
6671
6675
 
6672
6676
  .el-date-editor .el-range__close-icon:hover {
6673
- color: var(--el-text-color-secondary);
6677
+ color: var(--el-input-clear-hover-color);
6674
6678
  }
6675
6679
 
6676
6680
  .el-date-editor .el-range__close-icon svg {
@@ -11596,6 +11600,14 @@
11596
11600
  transform: rotate(180deg);
11597
11601
  }
11598
11602
 
11603
+ .el-select__clear {
11604
+ cursor: pointer;
11605
+ }
11606
+
11607
+ .el-select__clear:hover {
11608
+ color: var(--el-select-close-hover-color);
11609
+ }
11610
+
11599
11611
  .el-select__selection {
11600
11612
  align-items: center;
11601
11613
  display: flex;
@@ -1,6 +1,6 @@
1
1
  import { post } from "./Axios.js";
2
2
  import Config from "../config/Config.js";
3
- import { getSourceLayerFields } from "ym-giscomm-2d/capabilities";
3
+ import { getSourceLayerFields } from "ym-gis-2d/capabilities";
4
4
  async function list(layerId) {
5
5
  if (!Config.ServiceUrl) {
6
6
  return [];
@@ -1,4 +1,4 @@
1
- import { IMapService, ILayerField } from 'ym-giscomm-2d/entity';
1
+ import { IMapService, ILayerField } from 'ym-gis-2d/entity';
2
2
  /**
3
3
  * 根据地图服务id获取字段列表
4
4
  * @param query
package/index.d.ts CHANGED
@@ -8,3 +8,6 @@ export * from './components/draw';
8
8
  export * from './components/export';
9
9
  export * from './components/import';
10
10
  export * from './components/identify';
11
+ export * from './components/mouse-position';
12
+ export * from './components/scale-line';
13
+ export * from './components/map-view';
package/index.js CHANGED
@@ -9,6 +9,9 @@ import { Draw } from "./components/draw/index.js";
9
9
  import { Export } from "./components/export/index.js";
10
10
  import { Import } from "./components/import/index.js";
11
11
  import { Identify } from "./components/identify/index.js";
12
+ import { MousePositon } from "./components/mouse-position/index.js";
13
+ import { ScaleLine } from "./components/scale-line/index.js";
14
+ import { MapView } from "./components/map-view/index.js";
12
15
  export {
13
16
  Clear,
14
17
  Draw,
@@ -16,7 +19,10 @@ export {
16
19
  HorizontallyTopToolbar,
17
20
  Identify,
18
21
  Import,
22
+ MapView,
23
+ MousePositon,
19
24
  MultiScreen,
25
+ ScaleLine,
20
26
  Select,
21
27
  SwipeLayer,
22
28
  TocCard
package/package.json CHANGED
@@ -1,15 +1,15 @@
1
1
  {
2
2
  "name": "ym-giswidget-2d",
3
- "version": "1.0.15",
3
+ "version": "1.0.17",
4
4
  "type": "module",
5
5
  "main": "index.js",
6
- "module": "index.js",
6
+ "module": "index.ts",
7
7
  "dependencies": {
8
8
  "@element-plus/icons-vue": "^2.3.1",
9
9
  "axios": "^1.7.2",
10
10
  "element-plus": "^2.9.0",
11
11
  "jszip": "^3.10.1",
12
12
  "ol": "^9.2.4",
13
- "ym-giscomm-2d": "1.0.11"
13
+ "ym-gis-2d": "1.0.1"
14
14
  }
15
15
  }