@kq_npm/client3d_webgl_vue 4.2.1-beta → 4.2.2-beta

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/adddata/index.js CHANGED
@@ -53,6 +53,13 @@ module.exports = require("@kq_npm/client_icons_vue");
53
53
 
54
54
  /***/ }),
55
55
 
56
+ /***/ 3600:
57
+ /***/ (function(module) {
58
+
59
+ module.exports = require("core-js/modules/es.array.includes.js");
60
+
61
+ /***/ }),
62
+
56
63
  /***/ 7080:
57
64
  /***/ (function(module) {
58
65
 
@@ -205,6 +212,8 @@ __webpack_require__.d(__webpack_exports__, {
205
212
  "default": function() { return /* reexport */ AddData; }
206
213
  });
207
214
 
215
+ // EXTERNAL MODULE: external "core-js/modules/es.array.includes.js"
216
+ var es_array_includes_js_ = __webpack_require__(3600);
208
217
  // EXTERNAL MODULE: external {"root":"Vue","commonjs":"vue","commonjs2":"vue","amd":"vue"}
209
218
  var external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_ = __webpack_require__(1895);
210
219
  // EXTERNAL MODULE: external "@element-plus/icons-vue"
@@ -1595,6 +1604,7 @@ function setChildrenAddType(nodeList, addType) {
1595
1604
  var vue_i18n_cjs_js_ = __webpack_require__(7080);
1596
1605
  ;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js!./node_modules/vue-loader/dist/index.js??ruleSet[0]!./src/webgl/adddata/AddData.vue?vue&type=script&setup=true&lang=js
1597
1606
 
1607
+
1598
1608
  const _hoisted_1 = {
1599
1609
  class: "kq3d-add-data-box"
1600
1610
  };
@@ -1703,6 +1713,10 @@ const __default__ = {
1703
1713
  // geojson数据加载样式
1704
1714
  geojsonStyle: {
1705
1715
  type: Object
1716
+ },
1717
+ // 隐藏服务类型集合
1718
+ hideServiceTypes: {
1719
+ type: String
1706
1720
  }
1707
1721
  },
1708
1722
 
@@ -1766,7 +1780,7 @@ const __default__ = {
1766
1780
  });
1767
1781
 
1768
1782
  function setDataSourceType() {
1769
- return [// {
1783
+ let types = [// {
1770
1784
  // type: 'kq3dimageryfile',
1771
1785
  // name: language.value.ImagertyTileFile,
1772
1786
  // namePlaceholder: language.value.optional,
@@ -1897,6 +1911,18 @@ const __default__ = {
1897
1911
  description: language.value.imagertyCZMLdescription
1898
1912
  }*/
1899
1913
  ];
1914
+
1915
+ if (props.hideServiceTypes) {
1916
+ let indexList = props.hideServiceTypes.split(',');
1917
+
1918
+ for (let i = types.length - 1; i >= 0; i--) {
1919
+ if (indexList.includes(i.toString())) {
1920
+ types.splice(i, 1);
1921
+ }
1922
+ }
1923
+ }
1924
+
1925
+ return types;
1900
1926
  }
1901
1927
 
1902
1928
  (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.onMounted)(() => {
@@ -2208,13 +2234,14 @@ const __default__ = {
2208
2234
  }, {
2209
2235
  default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withCtx)(() => [((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.openBlock)(true), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementBlock)(external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.Fragment, null, (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.renderList)((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(dataSourceTypeList), (item, index) => {
2210
2236
  return (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.openBlock)(), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createBlock)(_component_kq_option, {
2237
+ key: item.name,
2211
2238
  label: item.name,
2212
2239
  value: index
2213
2240
  }, null, 8
2214
2241
  /* PROPS */
2215
2242
  , ["label", "value"]);
2216
- }), 256
2217
- /* UNKEYED_FRAGMENT */
2243
+ }), 128
2244
+ /* KEYED_FRAGMENT */
2218
2245
  ))]),
2219
2246
  _: 1
2220
2247
  /* STABLE */
package/index.js CHANGED
@@ -29555,6 +29555,7 @@ function setChildrenAddType(nodeList, addType) {
29555
29555
  }
29556
29556
  ;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js!./node_modules/vue-loader/dist/index.js??ruleSet[0]!./src/webgl/adddata/AddData.vue?vue&type=script&setup=true&lang=js
29557
29557
 
29558
+
29558
29559
  const AddDatavue_type_script_setup_true_lang_js_hoisted_1 = {
29559
29560
  class: "kq3d-add-data-box"
29560
29561
  };
@@ -29663,6 +29664,10 @@ const AddDatavue_type_script_setup_true_lang_js_default_ = {
29663
29664
  // geojson数据加载样式
29664
29665
  geojsonStyle: {
29665
29666
  type: Object
29667
+ },
29668
+ // 隐藏服务类型集合
29669
+ hideServiceTypes: {
29670
+ type: String
29666
29671
  }
29667
29672
  },
29668
29673
 
@@ -29726,7 +29731,7 @@ const AddDatavue_type_script_setup_true_lang_js_default_ = {
29726
29731
  });
29727
29732
 
29728
29733
  function setDataSourceType() {
29729
- return [// {
29734
+ let types = [// {
29730
29735
  // type: 'kq3dimageryfile',
29731
29736
  // name: language.value.ImagertyTileFile,
29732
29737
  // namePlaceholder: language.value.optional,
@@ -29857,6 +29862,18 @@ const AddDatavue_type_script_setup_true_lang_js_default_ = {
29857
29862
  description: language.value.imagertyCZMLdescription
29858
29863
  }*/
29859
29864
  ];
29865
+
29866
+ if (props.hideServiceTypes) {
29867
+ let indexList = props.hideServiceTypes.split(',');
29868
+
29869
+ for (let i = types.length - 1; i >= 0; i--) {
29870
+ if (indexList.includes(i.toString())) {
29871
+ types.splice(i, 1);
29872
+ }
29873
+ }
29874
+ }
29875
+
29876
+ return types;
29860
29877
  }
29861
29878
 
29862
29879
  (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.onMounted)(() => {
@@ -30168,13 +30185,14 @@ const AddDatavue_type_script_setup_true_lang_js_default_ = {
30168
30185
  }, {
30169
30186
  default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withCtx)(() => [((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.openBlock)(true), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementBlock)(external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.Fragment, null, (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.renderList)((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(dataSourceTypeList), (item, index) => {
30170
30187
  return (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.openBlock)(), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createBlock)(_component_kq_option, {
30188
+ key: item.name,
30171
30189
  label: item.name,
30172
30190
  value: index
30173
30191
  }, null, 8
30174
30192
  /* PROPS */
30175
30193
  , ["label", "value"]);
30176
- }), 256
30177
- /* UNKEYED_FRAGMENT */
30194
+ }), 128
30195
+ /* KEYED_FRAGMENT */
30178
30196
  ))]),
30179
30197
  _: 1
30180
30198
  /* STABLE */
package/package.json CHANGED
@@ -1 +1 @@
1
- {"name":"@kq_npm/client3d_webgl_vue","description":"KQGIS Client3D for Vue.js","version":"4.2.1-beta","homepage":"","keywords":["KQGIS","webGL","Vue"],"restrictedVersion":true,"browserslist":["> 1%","last 2 versions","not dead","not ie 11"],"author":"KQWEB GROUP","license":"Apache-2.0","dependencies":{"colorcolor":"1.1.1","echarts":"5.3.0","echarts-stat":"1.2.0","js-cookie":"3.0.1","omit.js":"2.0.2","save":"2.5.0","tinycolor2":"1.4.2","vue-i18n":"9.2.0-beta.36","xlsx":"0.18.5","css-vars-ponyfill":"2.4.8","html2canvas":"1.4.1","xe-utils":"3.5.4"}}
1
+ {"name":"@kq_npm/client3d_webgl_vue","description":"KQGIS Client3D for Vue.js","version":"4.2.2-beta","homepage":"","keywords":["KQGIS","webGL","Vue"],"restrictedVersion":true,"browserslist":["> 1%","last 2 versions","not dead","not ie 11"],"author":"KQWEB GROUP","license":"Apache-2.0","dependencies":{"colorcolor":"1.1.1","echarts":"5.3.0","echarts-stat":"1.2.0","js-cookie":"3.0.1","omit.js":"2.0.2","save":"2.5.0","tinycolor2":"1.4.2","vue-i18n":"9.2.0-beta.36","xlsx":"0.18.5","css-vars-ponyfill":"2.4.8","html2canvas":"1.4.1","xe-utils":"3.5.4"}}
@@ -457,6 +457,8 @@ __webpack_require__.d(__webpack_exports__, {
457
457
 
458
458
  // UNUSED EXPORTS: AddDataViewModel
459
459
 
460
+ // EXTERNAL MODULE: external "core-js/modules/es.array.includes.js"
461
+ var es_array_includes_js_ = __webpack_require__(3600);
460
462
  // EXTERNAL MODULE: external {"root":"Vue","commonjs":"vue","commonjs2":"vue","amd":"vue"}
461
463
  var external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_ = __webpack_require__(1895);
462
464
  // EXTERNAL MODULE: external "@element-plus/icons-vue"
@@ -1847,6 +1849,7 @@ function setChildrenAddType(nodeList, addType) {
1847
1849
  var vue_i18n_cjs_js_ = __webpack_require__(7080);
1848
1850
  ;// CONCATENATED MODULE: ./node_modules/babel-loader/lib/index.js!./node_modules/vue-loader/dist/index.js??ruleSet[0]!./src/webgl/adddata/AddData.vue?vue&type=script&setup=true&lang=js
1849
1851
 
1852
+
1850
1853
  const _hoisted_1 = {
1851
1854
  class: "kq3d-add-data-box"
1852
1855
  };
@@ -1955,6 +1958,10 @@ const __default__ = {
1955
1958
  // geojson数据加载样式
1956
1959
  geojsonStyle: {
1957
1960
  type: Object
1961
+ },
1962
+ // 隐藏服务类型集合
1963
+ hideServiceTypes: {
1964
+ type: String
1958
1965
  }
1959
1966
  },
1960
1967
 
@@ -2018,7 +2025,7 @@ const __default__ = {
2018
2025
  });
2019
2026
 
2020
2027
  function setDataSourceType() {
2021
- return [// {
2028
+ let types = [// {
2022
2029
  // type: 'kq3dimageryfile',
2023
2030
  // name: language.value.ImagertyTileFile,
2024
2031
  // namePlaceholder: language.value.optional,
@@ -2149,6 +2156,18 @@ const __default__ = {
2149
2156
  description: language.value.imagertyCZMLdescription
2150
2157
  }*/
2151
2158
  ];
2159
+
2160
+ if (props.hideServiceTypes) {
2161
+ let indexList = props.hideServiceTypes.split(',');
2162
+
2163
+ for (let i = types.length - 1; i >= 0; i--) {
2164
+ if (indexList.includes(i.toString())) {
2165
+ types.splice(i, 1);
2166
+ }
2167
+ }
2168
+ }
2169
+
2170
+ return types;
2152
2171
  }
2153
2172
 
2154
2173
  (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.onMounted)(() => {
@@ -2460,13 +2479,14 @@ const __default__ = {
2460
2479
  }, {
2461
2480
  default: (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.withCtx)(() => [((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.openBlock)(true), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createElementBlock)(external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.Fragment, null, (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.renderList)((0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.unref)(dataSourceTypeList), (item, index) => {
2462
2481
  return (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.openBlock)(), (0,external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_.createBlock)(_component_kq_option, {
2482
+ key: item.name,
2463
2483
  label: item.name,
2464
2484
  value: index
2465
2485
  }, null, 8
2466
2486
  /* PROPS */
2467
2487
  , ["label", "value"]);
2468
- }), 256
2469
- /* UNKEYED_FRAGMENT */
2488
+ }), 128
2489
+ /* KEYED_FRAGMENT */
2470
2490
  ))]),
2471
2491
  _: 1
2472
2492
  /* STABLE */