@v2coding/ui 0.1.59 → 0.1.60

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.
@@ -13,8 +13,6 @@ import { Quill, quillEditor } from 'vue-quill-editor';
13
13
  import 'quill/dist/quill.core.css';
14
14
  import 'quill/dist/quill.snow.css';
15
15
  import 'quill/dist/quill.bubble.css';
16
- import gcoord from 'gcoord';
17
- import AMapLoader from '@amap/amap-jsapi-loader';
18
16
  import { getPropByPath } from 'element-ui/lib/utils/util';
19
17
  import { addResizeListener, removeResizeListener } from 'element-ui/lib/utils/resize-event';
20
18
  import { Multipane, MultipaneResizer } from 'vue-multipane';
@@ -119,11 +117,6 @@ const DefaultSetting = {
119
117
  timeout: 30000,
120
118
  baseURL: process.env.VUE_APP_DOMAIN || 'http://localhost:8080' // eslint-disable-line
121
119
 
122
- },
123
- amap: {
124
- version: '2.0',
125
- key: process.env.VUE_APP_AMAP_KEY // eslint-disable-line
126
-
127
120
  }
128
121
  };
129
122
  var DefaultSetting$1 = DefaultSetting;
@@ -1078,7 +1071,7 @@ var Directives = {
1078
1071
  };
1079
1072
 
1080
1073
  //
1081
- var script$F = {
1074
+ var script$C = {
1082
1075
  name: 'ui-icon',
1083
1076
  props: {
1084
1077
  name: String
@@ -1248,10 +1241,10 @@ function addStyle(id, css) {
1248
1241
  }
1249
1242
 
1250
1243
  /* script */
1251
- const __vue_script__$G = script$F;
1244
+ const __vue_script__$D = script$C;
1252
1245
  /* template */
1253
1246
 
1254
- var __vue_render__$F = function () {
1247
+ var __vue_render__$C = function () {
1255
1248
  var _vm = this;
1256
1249
 
1257
1250
  var _h = _vm.$createElement;
@@ -1270,10 +1263,10 @@ var __vue_render__$F = function () {
1270
1263
  })]);
1271
1264
  };
1272
1265
 
1273
- var __vue_staticRenderFns__$F = [];
1266
+ var __vue_staticRenderFns__$C = [];
1274
1267
  /* style */
1275
1268
 
1276
- const __vue_inject_styles__$G = function (inject) {
1269
+ const __vue_inject_styles__$D = function (inject) {
1277
1270
  if (!inject) return;
1278
1271
  inject("data-v-aaa469fe_0", {
1279
1272
  source: ".ui-icon[data-v-aaa469fe]{width:1em;height:1em;vertical-align:-.15em;fill:currentColor;overflow:hidden;display:inline-block}.ui-icon.ui-icon-loading[data-v-aaa469fe]{animation:rotating-data-v-aaa469fe 2s linear infinite}@keyframes rotating-data-v-aaa469fe{from{transform:rotate(0)}to{transform:rotate(1turn)}}",
@@ -1284,23 +1277,23 @@ const __vue_inject_styles__$G = function (inject) {
1284
1277
  /* scoped */
1285
1278
 
1286
1279
 
1287
- const __vue_scope_id__$G = "data-v-aaa469fe";
1280
+ const __vue_scope_id__$D = "data-v-aaa469fe";
1288
1281
  /* module identifier */
1289
1282
 
1290
- const __vue_module_identifier__$G = undefined;
1283
+ const __vue_module_identifier__$D = undefined;
1291
1284
  /* functional template */
1292
1285
 
1293
- const __vue_is_functional_template__$G = false;
1286
+ const __vue_is_functional_template__$D = false;
1294
1287
  /* style inject SSR */
1295
1288
 
1296
1289
  /* style inject shadow dom */
1297
1290
 
1298
- const __vue_component__$G = /*#__PURE__*/normalizeComponent({
1299
- render: __vue_render__$F,
1300
- staticRenderFns: __vue_staticRenderFns__$F
1301
- }, __vue_inject_styles__$G, __vue_script__$G, __vue_scope_id__$G, __vue_is_functional_template__$G, __vue_module_identifier__$G, false, createInjector, undefined, undefined);
1291
+ const __vue_component__$D = /*#__PURE__*/normalizeComponent({
1292
+ render: __vue_render__$C,
1293
+ staticRenderFns: __vue_staticRenderFns__$C
1294
+ }, __vue_inject_styles__$D, __vue_script__$D, __vue_scope_id__$D, __vue_is_functional_template__$D, __vue_module_identifier__$D, false, createInjector, undefined, undefined);
1302
1295
 
1303
- var Icon$1 = __vue_component__$G;
1296
+ var Icon$1 = __vue_component__$D;
1304
1297
 
1305
1298
  var Icon = {
1306
1299
  install: Vue => {
@@ -2091,17 +2084,17 @@ var DisplayField = {
2091
2084
  };
2092
2085
 
2093
2086
  //
2094
- var script$E = {
2087
+ var script$B = {
2095
2088
  name: 'ui-field-autocomplete',
2096
2089
  inheritAttrs: false,
2097
2090
  mixins: [FieldMixin]
2098
2091
  };
2099
2092
 
2100
2093
  /* script */
2101
- const __vue_script__$F = script$E;
2094
+ const __vue_script__$C = script$B;
2102
2095
  /* template */
2103
2096
 
2104
- var __vue_render__$E = function () {
2097
+ var __vue_render__$B = function () {
2105
2098
  var _vm = this;
2106
2099
 
2107
2100
  var _h = _vm.$createElement;
@@ -2115,34 +2108,34 @@ var __vue_render__$E = function () {
2115
2108
  }, 'el-autocomplete', _vm.$attrs, false), _vm.$listeners));
2116
2109
  };
2117
2110
 
2118
- var __vue_staticRenderFns__$E = [];
2111
+ var __vue_staticRenderFns__$B = [];
2119
2112
  /* style */
2120
2113
 
2121
- const __vue_inject_styles__$F = undefined;
2114
+ const __vue_inject_styles__$C = undefined;
2122
2115
  /* scoped */
2123
2116
 
2124
- const __vue_scope_id__$F = undefined;
2117
+ const __vue_scope_id__$C = undefined;
2125
2118
  /* module identifier */
2126
2119
 
2127
- const __vue_module_identifier__$F = undefined;
2120
+ const __vue_module_identifier__$C = undefined;
2128
2121
  /* functional template */
2129
2122
 
2130
- const __vue_is_functional_template__$F = false;
2123
+ const __vue_is_functional_template__$C = false;
2131
2124
  /* style inject */
2132
2125
 
2133
2126
  /* style inject SSR */
2134
2127
 
2135
2128
  /* style inject shadow dom */
2136
2129
 
2137
- const __vue_component__$F = /*#__PURE__*/normalizeComponent({
2138
- render: __vue_render__$E,
2139
- staticRenderFns: __vue_staticRenderFns__$E
2140
- }, __vue_inject_styles__$F, __vue_script__$F, __vue_scope_id__$F, __vue_is_functional_template__$F, __vue_module_identifier__$F, false, undefined, undefined, undefined);
2130
+ const __vue_component__$C = /*#__PURE__*/normalizeComponent({
2131
+ render: __vue_render__$B,
2132
+ staticRenderFns: __vue_staticRenderFns__$B
2133
+ }, __vue_inject_styles__$C, __vue_script__$C, __vue_scope_id__$C, __vue_is_functional_template__$C, __vue_module_identifier__$C, false, undefined, undefined, undefined);
2141
2134
 
2142
- var AutocompleteField = __vue_component__$F;
2135
+ var AutocompleteField = __vue_component__$C;
2143
2136
 
2144
2137
  //
2145
- var script$D = {
2138
+ var script$A = {
2146
2139
  name: 'ui-field-text',
2147
2140
  inheritAttrs: false,
2148
2141
  mixins: [FieldMixin],
@@ -2186,10 +2179,10 @@ var script$D = {
2186
2179
  };
2187
2180
 
2188
2181
  /* script */
2189
- const __vue_script__$E = script$D;
2182
+ const __vue_script__$B = script$A;
2190
2183
  /* template */
2191
2184
 
2192
- var __vue_render__$D = function () {
2185
+ var __vue_render__$A = function () {
2193
2186
  var _vm = this;
2194
2187
 
2195
2188
  var _h = _vm.$createElement;
@@ -2209,10 +2202,10 @@ var __vue_render__$D = function () {
2209
2202
  }, 'el-input', _vm.$attrs, false), _vm.$listeners));
2210
2203
  };
2211
2204
 
2212
- var __vue_staticRenderFns__$D = [];
2205
+ var __vue_staticRenderFns__$A = [];
2213
2206
  /* style */
2214
2207
 
2215
- const __vue_inject_styles__$E = function (inject) {
2208
+ const __vue_inject_styles__$B = function (inject) {
2216
2209
  if (!inject) return;
2217
2210
  inject("data-v-208093e4_0", {
2218
2211
  source: ".el-input__suffix-inner{display:flex;align-items:center;height:100%}.el-input--large .el-input__count .el-input__count-inner{line-height:38px}.el-input--medium .el-input__count .el-input__count-inner{line-height:34px}.el-input--mini .el-input__count .el-input__count-inner{line-height:26px}",
@@ -2223,23 +2216,23 @@ const __vue_inject_styles__$E = function (inject) {
2223
2216
  /* scoped */
2224
2217
 
2225
2218
 
2226
- const __vue_scope_id__$E = undefined;
2219
+ const __vue_scope_id__$B = undefined;
2227
2220
  /* module identifier */
2228
2221
 
2229
- const __vue_module_identifier__$E = undefined;
2222
+ const __vue_module_identifier__$B = undefined;
2230
2223
  /* functional template */
2231
2224
 
2232
- const __vue_is_functional_template__$E = false;
2225
+ const __vue_is_functional_template__$B = false;
2233
2226
  /* style inject SSR */
2234
2227
 
2235
2228
  /* style inject shadow dom */
2236
2229
 
2237
- const __vue_component__$E = /*#__PURE__*/normalizeComponent({
2238
- render: __vue_render__$D,
2239
- staticRenderFns: __vue_staticRenderFns__$D
2240
- }, __vue_inject_styles__$E, __vue_script__$E, __vue_scope_id__$E, __vue_is_functional_template__$E, __vue_module_identifier__$E, false, createInjector, undefined, undefined);
2230
+ const __vue_component__$B = /*#__PURE__*/normalizeComponent({
2231
+ render: __vue_render__$A,
2232
+ staticRenderFns: __vue_staticRenderFns__$A
2233
+ }, __vue_inject_styles__$B, __vue_script__$B, __vue_scope_id__$B, __vue_is_functional_template__$B, __vue_module_identifier__$B, false, createInjector, undefined, undefined);
2241
2234
 
2242
- var TextField = __vue_component__$E;
2235
+ var TextField = __vue_component__$B;
2243
2236
 
2244
2237
  const mapLabelValue = (data, config) => {
2245
2238
  if (!Array.isArray(data)) {
@@ -2430,7 +2423,7 @@ var DataMixin = {
2430
2423
  };
2431
2424
 
2432
2425
  //
2433
- var script$C = {
2426
+ var script$z = {
2434
2427
  name: 'ui-field-radio',
2435
2428
  mixins: [FieldMixin, DataMixin],
2436
2429
  props: {
@@ -2498,10 +2491,10 @@ var script$C = {
2498
2491
  };
2499
2492
 
2500
2493
  /* script */
2501
- const __vue_script__$D = script$C;
2494
+ const __vue_script__$A = script$z;
2502
2495
  /* template */
2503
2496
 
2504
- var __vue_render__$C = function () {
2497
+ var __vue_render__$z = function () {
2505
2498
  var _vm = this;
2506
2499
 
2507
2500
  var _h = _vm.$createElement;
@@ -2551,10 +2544,10 @@ var __vue_render__$C = function () {
2551
2544
  }, [_vm._v("重新加载")])], 1) : _vm._e()], 1);
2552
2545
  };
2553
2546
 
2554
- var __vue_staticRenderFns__$C = [];
2547
+ var __vue_staticRenderFns__$z = [];
2555
2548
  /* style */
2556
2549
 
2557
- const __vue_inject_styles__$D = function (inject) {
2550
+ const __vue_inject_styles__$A = function (inject) {
2558
2551
  if (!inject) return;
2559
2552
  inject("data-v-3f514931_0", {
2560
2553
  source: ".ui-field-radio .empty[data-v-3f514931]{display:inline-flex;align-items:center;font-size:12px;color:#909399}.ui-field-radio>.el-radio-group[data-v-3f514931]{display:inline-flex;flex-direction:row;flex-wrap:wrap;align-items:center}.ui-field-radio>.el-radio-group .el-radio[data-v-3f514931]{line-height:36px}[data-v-3f514931] .el-loading-mask .el-loading-spinner{margin-top:-14px}",
@@ -2565,26 +2558,26 @@ const __vue_inject_styles__$D = function (inject) {
2565
2558
  /* scoped */
2566
2559
 
2567
2560
 
2568
- const __vue_scope_id__$D = "data-v-3f514931";
2561
+ const __vue_scope_id__$A = "data-v-3f514931";
2569
2562
  /* module identifier */
2570
2563
 
2571
- const __vue_module_identifier__$D = undefined;
2564
+ const __vue_module_identifier__$A = undefined;
2572
2565
  /* functional template */
2573
2566
 
2574
- const __vue_is_functional_template__$D = false;
2567
+ const __vue_is_functional_template__$A = false;
2575
2568
  /* style inject SSR */
2576
2569
 
2577
2570
  /* style inject shadow dom */
2578
2571
 
2579
- const __vue_component__$D = /*#__PURE__*/normalizeComponent({
2580
- render: __vue_render__$C,
2581
- staticRenderFns: __vue_staticRenderFns__$C
2582
- }, __vue_inject_styles__$D, __vue_script__$D, __vue_scope_id__$D, __vue_is_functional_template__$D, __vue_module_identifier__$D, false, createInjector, undefined, undefined);
2572
+ const __vue_component__$A = /*#__PURE__*/normalizeComponent({
2573
+ render: __vue_render__$z,
2574
+ staticRenderFns: __vue_staticRenderFns__$z
2575
+ }, __vue_inject_styles__$A, __vue_script__$A, __vue_scope_id__$A, __vue_is_functional_template__$A, __vue_module_identifier__$A, false, createInjector, undefined, undefined);
2583
2576
 
2584
- var RadioField = __vue_component__$D;
2577
+ var RadioField = __vue_component__$A;
2585
2578
 
2586
2579
  //
2587
- var script$B = {
2580
+ var script$y = {
2588
2581
  name: 'ui-field-checkbox',
2589
2582
  mixins: [FieldMixin, DataMixin],
2590
2583
  props: {
@@ -2665,10 +2658,10 @@ var script$B = {
2665
2658
  };
2666
2659
 
2667
2660
  /* script */
2668
- const __vue_script__$C = script$B;
2661
+ const __vue_script__$z = script$y;
2669
2662
  /* template */
2670
2663
 
2671
- var __vue_render__$B = function () {
2664
+ var __vue_render__$y = function () {
2672
2665
  var _vm = this;
2673
2666
 
2674
2667
  var _h = _vm.$createElement;
@@ -2749,10 +2742,10 @@ var __vue_render__$B = function () {
2749
2742
  }, [_vm._v("重新加载")])], 1) : _vm._e()], 1);
2750
2743
  };
2751
2744
 
2752
- var __vue_staticRenderFns__$B = [];
2745
+ var __vue_staticRenderFns__$y = [];
2753
2746
  /* style */
2754
2747
 
2755
- const __vue_inject_styles__$C = function (inject) {
2748
+ const __vue_inject_styles__$z = function (inject) {
2756
2749
  if (!inject) return;
2757
2750
  inject("data-v-7832f5f2_0", {
2758
2751
  source: ".ui-field-checkbox .all[data-v-7832f5f2]{display:flex}.ui-field-checkbox .all>.el-checkbox[data-v-7832f5f2]{margin-right:0}.ui-field-checkbox .options[data-v-7832f5f2]{display:flex;flex-direction:row;align-items:center}.ui-field-checkbox .empty[data-v-7832f5f2]{display:inline-flex;align-items:center;font-size:12px;color:#909399}.ui-field-checkbox[data-v-7832f5f2] .el-checkbox{margin:0 8px 0 0}.ui-field-checkbox[data-v-7832f5f2] .el-checkbox.is-bordered+.el-checkbox.is-bordered{margin-left:0}.ui-field-checkbox[data-v-7832f5f2] .el-divider{margin:0 10px}[data-v-7832f5f2] .el-loading-mask .el-loading-spinner{margin-top:-14px}",
@@ -2763,26 +2756,26 @@ const __vue_inject_styles__$C = function (inject) {
2763
2756
  /* scoped */
2764
2757
 
2765
2758
 
2766
- const __vue_scope_id__$C = "data-v-7832f5f2";
2759
+ const __vue_scope_id__$z = "data-v-7832f5f2";
2767
2760
  /* module identifier */
2768
2761
 
2769
- const __vue_module_identifier__$C = undefined;
2762
+ const __vue_module_identifier__$z = undefined;
2770
2763
  /* functional template */
2771
2764
 
2772
- const __vue_is_functional_template__$C = false;
2765
+ const __vue_is_functional_template__$z = false;
2773
2766
  /* style inject SSR */
2774
2767
 
2775
2768
  /* style inject shadow dom */
2776
2769
 
2777
- const __vue_component__$C = /*#__PURE__*/normalizeComponent({
2778
- render: __vue_render__$B,
2779
- staticRenderFns: __vue_staticRenderFns__$B
2780
- }, __vue_inject_styles__$C, __vue_script__$C, __vue_scope_id__$C, __vue_is_functional_template__$C, __vue_module_identifier__$C, false, createInjector, undefined, undefined);
2770
+ const __vue_component__$z = /*#__PURE__*/normalizeComponent({
2771
+ render: __vue_render__$y,
2772
+ staticRenderFns: __vue_staticRenderFns__$y
2773
+ }, __vue_inject_styles__$z, __vue_script__$z, __vue_scope_id__$z, __vue_is_functional_template__$z, __vue_module_identifier__$z, false, createInjector, undefined, undefined);
2781
2774
 
2782
- var CheckboxField = __vue_component__$C;
2775
+ var CheckboxField = __vue_component__$z;
2783
2776
 
2784
2777
  //
2785
- var script$A = {
2778
+ var script$x = {
2786
2779
  name: 'ui-field-select',
2787
2780
  mixins: [FieldMixin, DataMixin],
2788
2781
  inheritAttrs: false,
@@ -2984,10 +2977,10 @@ var script$A = {
2984
2977
  };
2985
2978
 
2986
2979
  /* script */
2987
- const __vue_script__$B = script$A;
2980
+ const __vue_script__$y = script$x;
2988
2981
  /* template */
2989
2982
 
2990
- var __vue_render__$A = function () {
2983
+ var __vue_render__$x = function () {
2991
2984
  var _vm = this;
2992
2985
 
2993
2986
  var _h = _vm.$createElement;
@@ -3112,10 +3105,10 @@ var __vue_render__$A = function () {
3112
3105
  })], 1)], 1) : _vm._e()], 1);
3113
3106
  };
3114
3107
 
3115
- var __vue_staticRenderFns__$A = [];
3108
+ var __vue_staticRenderFns__$x = [];
3116
3109
  /* style */
3117
3110
 
3118
- const __vue_inject_styles__$B = function (inject) {
3111
+ const __vue_inject_styles__$y = function (inject) {
3119
3112
  if (!inject) return;
3120
3113
  inject("data-v-216b333a_0", {
3121
3114
  source: ".ui-field-select .el-select{width:100%}.ui-field-select .el-input-group--append .el-select .el-input.is-focus .el-input__inner{border-color:var(--color-primary)}.ui-field-select .empty{font-size:12px;color:#909399;display:flex;align-items:center}.ui-field-select .el-loading-mask .el-loading-spinner{margin-top:-14px}",
@@ -3126,26 +3119,26 @@ const __vue_inject_styles__$B = function (inject) {
3126
3119
  /* scoped */
3127
3120
 
3128
3121
 
3129
- const __vue_scope_id__$B = undefined;
3122
+ const __vue_scope_id__$y = undefined;
3130
3123
  /* module identifier */
3131
3124
 
3132
- const __vue_module_identifier__$B = undefined;
3125
+ const __vue_module_identifier__$y = undefined;
3133
3126
  /* functional template */
3134
3127
 
3135
- const __vue_is_functional_template__$B = false;
3128
+ const __vue_is_functional_template__$y = false;
3136
3129
  /* style inject SSR */
3137
3130
 
3138
3131
  /* style inject shadow dom */
3139
3132
 
3140
- const __vue_component__$B = /*#__PURE__*/normalizeComponent({
3141
- render: __vue_render__$A,
3142
- staticRenderFns: __vue_staticRenderFns__$A
3143
- }, __vue_inject_styles__$B, __vue_script__$B, __vue_scope_id__$B, __vue_is_functional_template__$B, __vue_module_identifier__$B, false, createInjector, undefined, undefined);
3133
+ const __vue_component__$y = /*#__PURE__*/normalizeComponent({
3134
+ render: __vue_render__$x,
3135
+ staticRenderFns: __vue_staticRenderFns__$x
3136
+ }, __vue_inject_styles__$y, __vue_script__$y, __vue_scope_id__$y, __vue_is_functional_template__$y, __vue_module_identifier__$y, false, createInjector, undefined, undefined);
3144
3137
 
3145
- var SelectField = __vue_component__$B;
3138
+ var SelectField = __vue_component__$y;
3146
3139
 
3147
3140
  //
3148
- var script$z = {
3141
+ var script$w = {
3149
3142
  name: 'ui-field-number',
3150
3143
  mixins: [FieldMixin],
3151
3144
  props: {
@@ -3176,10 +3169,10 @@ var script$z = {
3176
3169
  };
3177
3170
 
3178
3171
  /* script */
3179
- const __vue_script__$A = script$z;
3172
+ const __vue_script__$x = script$w;
3180
3173
  /* template */
3181
3174
 
3182
- var __vue_render__$z = function () {
3175
+ var __vue_render__$w = function () {
3183
3176
  var _vm = this;
3184
3177
 
3185
3178
  var _h = _vm.$createElement;
@@ -3195,10 +3188,10 @@ var __vue_render__$z = function () {
3195
3188
  }, 'el-input-number', _vm.$attrs, false), _vm.$listeners));
3196
3189
  };
3197
3190
 
3198
- var __vue_staticRenderFns__$z = [];
3191
+ var __vue_staticRenderFns__$w = [];
3199
3192
  /* style */
3200
3193
 
3201
- const __vue_inject_styles__$A = function (inject) {
3194
+ const __vue_inject_styles__$x = function (inject) {
3202
3195
  if (!inject) return;
3203
3196
  inject("data-v-054f9f65_0", {
3204
3197
  source: ".ui-number-field[data-v-054f9f65]{width:100%}.ui-number-field[data-v-054f9f65] input{text-align:initial}",
@@ -3209,23 +3202,23 @@ const __vue_inject_styles__$A = function (inject) {
3209
3202
  /* scoped */
3210
3203
 
3211
3204
 
3212
- const __vue_scope_id__$A = "data-v-054f9f65";
3205
+ const __vue_scope_id__$x = "data-v-054f9f65";
3213
3206
  /* module identifier */
3214
3207
 
3215
- const __vue_module_identifier__$A = undefined;
3208
+ const __vue_module_identifier__$x = undefined;
3216
3209
  /* functional template */
3217
3210
 
3218
- const __vue_is_functional_template__$A = false;
3211
+ const __vue_is_functional_template__$x = false;
3219
3212
  /* style inject SSR */
3220
3213
 
3221
3214
  /* style inject shadow dom */
3222
3215
 
3223
- const __vue_component__$A = /*#__PURE__*/normalizeComponent({
3224
- render: __vue_render__$z,
3225
- staticRenderFns: __vue_staticRenderFns__$z
3226
- }, __vue_inject_styles__$A, __vue_script__$A, __vue_scope_id__$A, __vue_is_functional_template__$A, __vue_module_identifier__$A, false, createInjector, undefined, undefined);
3216
+ const __vue_component__$x = /*#__PURE__*/normalizeComponent({
3217
+ render: __vue_render__$w,
3218
+ staticRenderFns: __vue_staticRenderFns__$w
3219
+ }, __vue_inject_styles__$x, __vue_script__$x, __vue_scope_id__$x, __vue_is_functional_template__$x, __vue_module_identifier__$x, false, createInjector, undefined, undefined);
3227
3220
 
3228
- var NumberField = __vue_component__$A;
3221
+ var NumberField = __vue_component__$x;
3229
3222
 
3230
3223
  const randomStr = length => {
3231
3224
  let str = Math.random().toString(36).substr(2);
@@ -3243,7 +3236,7 @@ var Strings = {
3243
3236
  };
3244
3237
 
3245
3238
  //
3246
- var script$y = {
3239
+ var script$v = {
3247
3240
  name: 'ui-field-cascade',
3248
3241
  mixins: [FieldMixin, DataMixin],
3249
3242
  props: {
@@ -3514,10 +3507,10 @@ var script$y = {
3514
3507
  };
3515
3508
 
3516
3509
  /* script */
3517
- const __vue_script__$z = script$y;
3510
+ const __vue_script__$w = script$v;
3518
3511
  /* template */
3519
3512
 
3520
- var __vue_render__$y = function () {
3513
+ var __vue_render__$v = function () {
3521
3514
  var _vm = this;
3522
3515
 
3523
3516
  var _h = _vm.$createElement;
@@ -3581,10 +3574,10 @@ var __vue_render__$y = function () {
3581
3574
  })], 1)], 1) : _vm._e()], 1);
3582
3575
  };
3583
3576
 
3584
- var __vue_staticRenderFns__$y = [];
3577
+ var __vue_staticRenderFns__$v = [];
3585
3578
  /* style */
3586
3579
 
3587
- const __vue_inject_styles__$z = function (inject) {
3580
+ const __vue_inject_styles__$w = function (inject) {
3588
3581
  if (!inject) return;
3589
3582
  inject("data-v-5b114890_0", {
3590
3583
  source: ".ui-cascade-field[data-v-5b114890]{width:100%}.ui-cascade-field-popper[data-v-5b114890]{z-index:99999!important}.ui-cascade-field-popper .el-cascader-menu__item[data-v-5b114890]{padding-right:30px}[data-v-5b114890] .el-loading-mask .el-loading-spinner{margin-top:-14px}",
@@ -3595,23 +3588,23 @@ const __vue_inject_styles__$z = function (inject) {
3595
3588
  /* scoped */
3596
3589
 
3597
3590
 
3598
- const __vue_scope_id__$z = "data-v-5b114890";
3591
+ const __vue_scope_id__$w = "data-v-5b114890";
3599
3592
  /* module identifier */
3600
3593
 
3601
- const __vue_module_identifier__$z = undefined;
3594
+ const __vue_module_identifier__$w = undefined;
3602
3595
  /* functional template */
3603
3596
 
3604
- const __vue_is_functional_template__$z = false;
3597
+ const __vue_is_functional_template__$w = false;
3605
3598
  /* style inject SSR */
3606
3599
 
3607
3600
  /* style inject shadow dom */
3608
3601
 
3609
- const __vue_component__$z = /*#__PURE__*/normalizeComponent({
3610
- render: __vue_render__$y,
3611
- staticRenderFns: __vue_staticRenderFns__$y
3612
- }, __vue_inject_styles__$z, __vue_script__$z, __vue_scope_id__$z, __vue_is_functional_template__$z, __vue_module_identifier__$z, false, createInjector, undefined, undefined);
3602
+ const __vue_component__$w = /*#__PURE__*/normalizeComponent({
3603
+ render: __vue_render__$v,
3604
+ staticRenderFns: __vue_staticRenderFns__$v
3605
+ }, __vue_inject_styles__$w, __vue_script__$w, __vue_scope_id__$w, __vue_is_functional_template__$w, __vue_module_identifier__$w, false, createInjector, undefined, undefined);
3613
3606
 
3614
- var CascadeField = __vue_component__$z;
3607
+ var CascadeField = __vue_component__$w;
3615
3608
 
3616
3609
  /**
3617
3610
  * @param text
@@ -3673,7 +3666,7 @@ const DisabledDate = {
3673
3666
  };
3674
3667
 
3675
3668
  //
3676
- var script$x = {
3669
+ var script$u = {
3677
3670
  name: 'ui-field-date',
3678
3671
  mixins: [FieldMixin],
3679
3672
  props: {
@@ -3822,10 +3815,10 @@ var script$x = {
3822
3815
  };
3823
3816
 
3824
3817
  /* script */
3825
- const __vue_script__$y = script$x;
3818
+ const __vue_script__$v = script$u;
3826
3819
  /* template */
3827
3820
 
3828
- var __vue_render__$x = function () {
3821
+ var __vue_render__$u = function () {
3829
3822
  var _vm = this;
3830
3823
 
3831
3824
  var _h = _vm.$createElement;
@@ -3849,10 +3842,10 @@ var __vue_render__$x = function () {
3849
3842
  }, 'el-date-picker', _vm.$attrs, false), _vm._listeners));
3850
3843
  };
3851
3844
 
3852
- var __vue_staticRenderFns__$x = [];
3845
+ var __vue_staticRenderFns__$u = [];
3853
3846
  /* style */
3854
3847
 
3855
- const __vue_inject_styles__$y = function (inject) {
3848
+ const __vue_inject_styles__$v = function (inject) {
3856
3849
  if (!inject) return;
3857
3850
  inject("data-v-753bcd9c_0", {
3858
3851
  source: ".ui-date-field.el-date-editor[data-v-753bcd9c]{width:100%}",
@@ -3863,26 +3856,26 @@ const __vue_inject_styles__$y = function (inject) {
3863
3856
  /* scoped */
3864
3857
 
3865
3858
 
3866
- const __vue_scope_id__$y = "data-v-753bcd9c";
3859
+ const __vue_scope_id__$v = "data-v-753bcd9c";
3867
3860
  /* module identifier */
3868
3861
 
3869
- const __vue_module_identifier__$y = undefined;
3862
+ const __vue_module_identifier__$v = undefined;
3870
3863
  /* functional template */
3871
3864
 
3872
- const __vue_is_functional_template__$y = false;
3865
+ const __vue_is_functional_template__$v = false;
3873
3866
  /* style inject SSR */
3874
3867
 
3875
3868
  /* style inject shadow dom */
3876
3869
 
3877
- const __vue_component__$y = /*#__PURE__*/normalizeComponent({
3878
- render: __vue_render__$x,
3879
- staticRenderFns: __vue_staticRenderFns__$x
3880
- }, __vue_inject_styles__$y, __vue_script__$y, __vue_scope_id__$y, __vue_is_functional_template__$y, __vue_module_identifier__$y, false, createInjector, undefined, undefined);
3870
+ const __vue_component__$v = /*#__PURE__*/normalizeComponent({
3871
+ render: __vue_render__$u,
3872
+ staticRenderFns: __vue_staticRenderFns__$u
3873
+ }, __vue_inject_styles__$v, __vue_script__$v, __vue_scope_id__$v, __vue_is_functional_template__$v, __vue_module_identifier__$v, false, createInjector, undefined, undefined);
3881
3874
 
3882
- var DateField = __vue_component__$y;
3875
+ var DateField = __vue_component__$v;
3883
3876
 
3884
3877
  //
3885
- var script$w = {
3878
+ var script$t = {
3886
3879
  name: 'ui-field-timepicker',
3887
3880
  mixins: [FieldMixin],
3888
3881
  props: {
@@ -3948,10 +3941,10 @@ var script$w = {
3948
3941
  };
3949
3942
 
3950
3943
  /* script */
3951
- const __vue_script__$x = script$w;
3944
+ const __vue_script__$u = script$t;
3952
3945
  /* template */
3953
3946
 
3954
- var __vue_render__$w = function () {
3947
+ var __vue_render__$t = function () {
3955
3948
  var _vm = this;
3956
3949
 
3957
3950
  var _h = _vm.$createElement;
@@ -3973,10 +3966,10 @@ var __vue_render__$w = function () {
3973
3966
  }, 'el-time-picker', _vm.$attrs, false), _vm._listeners));
3974
3967
  };
3975
3968
 
3976
- var __vue_staticRenderFns__$w = [];
3969
+ var __vue_staticRenderFns__$t = [];
3977
3970
  /* style */
3978
3971
 
3979
- const __vue_inject_styles__$x = function (inject) {
3972
+ const __vue_inject_styles__$u = function (inject) {
3980
3973
  if (!inject) return;
3981
3974
  inject("data-v-241ad60c_0", {
3982
3975
  source: ".ui-timepicker-field.el-date-editor[data-v-241ad60c]{width:100%}",
@@ -3987,26 +3980,26 @@ const __vue_inject_styles__$x = function (inject) {
3987
3980
  /* scoped */
3988
3981
 
3989
3982
 
3990
- const __vue_scope_id__$x = "data-v-241ad60c";
3983
+ const __vue_scope_id__$u = "data-v-241ad60c";
3991
3984
  /* module identifier */
3992
3985
 
3993
- const __vue_module_identifier__$x = undefined;
3986
+ const __vue_module_identifier__$u = undefined;
3994
3987
  /* functional template */
3995
3988
 
3996
- const __vue_is_functional_template__$x = false;
3989
+ const __vue_is_functional_template__$u = false;
3997
3990
  /* style inject SSR */
3998
3991
 
3999
3992
  /* style inject shadow dom */
4000
3993
 
4001
- const __vue_component__$x = /*#__PURE__*/normalizeComponent({
4002
- render: __vue_render__$w,
4003
- staticRenderFns: __vue_staticRenderFns__$w
4004
- }, __vue_inject_styles__$x, __vue_script__$x, __vue_scope_id__$x, __vue_is_functional_template__$x, __vue_module_identifier__$x, false, createInjector, undefined, undefined);
3994
+ const __vue_component__$u = /*#__PURE__*/normalizeComponent({
3995
+ render: __vue_render__$t,
3996
+ staticRenderFns: __vue_staticRenderFns__$t
3997
+ }, __vue_inject_styles__$u, __vue_script__$u, __vue_scope_id__$u, __vue_is_functional_template__$u, __vue_module_identifier__$u, false, createInjector, undefined, undefined);
4005
3998
 
4006
- var TimePickerField = __vue_component__$x;
3999
+ var TimePickerField = __vue_component__$u;
4007
4000
 
4008
4001
  //
4009
- var script$v = {
4002
+ var script$s = {
4010
4003
  name: 'ui-field-timeselect',
4011
4004
  mixins: [FieldMixin],
4012
4005
  methods: {
@@ -4019,10 +4012,10 @@ var script$v = {
4019
4012
  };
4020
4013
 
4021
4014
  /* script */
4022
- const __vue_script__$w = script$v;
4015
+ const __vue_script__$t = script$s;
4023
4016
  /* template */
4024
4017
 
4025
- var __vue_render__$v = function () {
4018
+ var __vue_render__$s = function () {
4026
4019
  var _vm = this;
4027
4020
 
4028
4021
  var _h = _vm.$createElement;
@@ -4037,10 +4030,10 @@ var __vue_render__$v = function () {
4037
4030
  }, 'el-time-select', _vm.$attrs, false), _vm.$listeners));
4038
4031
  };
4039
4032
 
4040
- var __vue_staticRenderFns__$v = [];
4033
+ var __vue_staticRenderFns__$s = [];
4041
4034
  /* style */
4042
4035
 
4043
- const __vue_inject_styles__$w = function (inject) {
4036
+ const __vue_inject_styles__$t = function (inject) {
4044
4037
  if (!inject) return;
4045
4038
  inject("data-v-5d8b6449_0", {
4046
4039
  source: ".ui-timeselect-field.el-date-editor[data-v-5d8b6449]{width:100%}",
@@ -4051,23 +4044,23 @@ const __vue_inject_styles__$w = function (inject) {
4051
4044
  /* scoped */
4052
4045
 
4053
4046
 
4054
- const __vue_scope_id__$w = "data-v-5d8b6449";
4047
+ const __vue_scope_id__$t = "data-v-5d8b6449";
4055
4048
  /* module identifier */
4056
4049
 
4057
- const __vue_module_identifier__$w = undefined;
4050
+ const __vue_module_identifier__$t = undefined;
4058
4051
  /* functional template */
4059
4052
 
4060
- const __vue_is_functional_template__$w = false;
4053
+ const __vue_is_functional_template__$t = false;
4061
4054
  /* style inject SSR */
4062
4055
 
4063
4056
  /* style inject shadow dom */
4064
4057
 
4065
- const __vue_component__$w = /*#__PURE__*/normalizeComponent({
4066
- render: __vue_render__$v,
4067
- staticRenderFns: __vue_staticRenderFns__$v
4068
- }, __vue_inject_styles__$w, __vue_script__$w, __vue_scope_id__$w, __vue_is_functional_template__$w, __vue_module_identifier__$w, false, createInjector, undefined, undefined);
4058
+ const __vue_component__$t = /*#__PURE__*/normalizeComponent({
4059
+ render: __vue_render__$s,
4060
+ staticRenderFns: __vue_staticRenderFns__$s
4061
+ }, __vue_inject_styles__$t, __vue_script__$t, __vue_scope_id__$t, __vue_is_functional_template__$t, __vue_module_identifier__$t, false, createInjector, undefined, undefined);
4069
4062
 
4070
- var TimeSelectField = __vue_component__$w;
4063
+ var TimeSelectField = __vue_component__$t;
4071
4064
 
4072
4065
  //
4073
4066
 
@@ -4076,7 +4069,7 @@ Date.prototype.calendar = function () {
4076
4069
  return [this.getFullYear(), month < 10 ? "0" + month : month, this.getDate()].join("-");
4077
4070
  };
4078
4071
 
4079
- var script$u = {
4072
+ var script$r = {
4080
4073
  name: 'ui-field-datse',
4081
4074
  mixins: [FieldMixin],
4082
4075
  props: {
@@ -4130,10 +4123,10 @@ var script$u = {
4130
4123
  };
4131
4124
 
4132
4125
  /* script */
4133
- const __vue_script__$v = script$u;
4126
+ const __vue_script__$s = script$r;
4134
4127
  /* template */
4135
4128
 
4136
- var __vue_render__$u = function () {
4129
+ var __vue_render__$r = function () {
4137
4130
  var _vm = this;
4138
4131
 
4139
4132
  var _h = _vm.$createElement;
@@ -4179,10 +4172,10 @@ var __vue_render__$u = function () {
4179
4172
  })], 1);
4180
4173
  };
4181
4174
 
4182
- var __vue_staticRenderFns__$u = [];
4175
+ var __vue_staticRenderFns__$r = [];
4183
4176
  /* style */
4184
4177
 
4185
- const __vue_inject_styles__$v = function (inject) {
4178
+ const __vue_inject_styles__$s = function (inject) {
4186
4179
  if (!inject) return;
4187
4180
  inject("data-v-3cf1c39a_0", {
4188
4181
  source: ".ui-date-field.el-date-editor[data-v-3cf1c39a]{width:100%}.calendar[data-v-3cf1c39a]{margin-right:20px}.calendar .calendarItem[data-v-3cf1c39a]{display:inline-block;box-sizing:border-box;width:45px;height:35px;cursor:pointer;border-right:1px solid #e3e3ee;text-align:center;border:1px solid #e3e3e3;font-size:14px}.calendar .calendarItem[data-v-3cf1c39a]:first-of-type{border-right:none;border-top-left-radius:5px;border-bottom-left-radius:5px}.calendar .calendarItem[data-v-3cf1c39a]:last-of-type{border-left:none;border-top-right-radius:5px;border-bottom-right-radius:5px}.calendar .calendar-active[data-v-3cf1c39a]{color:#1890ff;background:#e3e3e3}.separator[data-v-3cf1c39a]{margin-right:10px;color:#333}",
@@ -4193,26 +4186,26 @@ const __vue_inject_styles__$v = function (inject) {
4193
4186
  /* scoped */
4194
4187
 
4195
4188
 
4196
- const __vue_scope_id__$v = "data-v-3cf1c39a";
4189
+ const __vue_scope_id__$s = "data-v-3cf1c39a";
4197
4190
  /* module identifier */
4198
4191
 
4199
- const __vue_module_identifier__$v = undefined;
4192
+ const __vue_module_identifier__$s = undefined;
4200
4193
  /* functional template */
4201
4194
 
4202
- const __vue_is_functional_template__$v = false;
4195
+ const __vue_is_functional_template__$s = false;
4203
4196
  /* style inject SSR */
4204
4197
 
4205
4198
  /* style inject shadow dom */
4206
4199
 
4207
- const __vue_component__$v = /*#__PURE__*/normalizeComponent({
4208
- render: __vue_render__$u,
4209
- staticRenderFns: __vue_staticRenderFns__$u
4210
- }, __vue_inject_styles__$v, __vue_script__$v, __vue_scope_id__$v, __vue_is_functional_template__$v, __vue_module_identifier__$v, false, createInjector, undefined, undefined);
4200
+ const __vue_component__$s = /*#__PURE__*/normalizeComponent({
4201
+ render: __vue_render__$r,
4202
+ staticRenderFns: __vue_staticRenderFns__$r
4203
+ }, __vue_inject_styles__$s, __vue_script__$s, __vue_scope_id__$s, __vue_is_functional_template__$s, __vue_module_identifier__$s, false, createInjector, undefined, undefined);
4211
4204
 
4212
- var DatecCalendarField = __vue_component__$v;
4205
+ var DatecCalendarField = __vue_component__$s;
4213
4206
 
4214
4207
  //
4215
- var script$t = {
4208
+ var script$q = {
4216
4209
  name: 'ui-field-slider',
4217
4210
  mixins: [FieldMixin],
4218
4211
  props: {
@@ -4282,10 +4275,10 @@ var script$t = {
4282
4275
  };
4283
4276
 
4284
4277
  /* script */
4285
- const __vue_script__$u = script$t;
4278
+ const __vue_script__$r = script$q;
4286
4279
  /* template */
4287
4280
 
4288
- var __vue_render__$t = function () {
4281
+ var __vue_render__$q = function () {
4289
4282
  var _vm = this;
4290
4283
 
4291
4284
  var _h = _vm.$createElement;
@@ -4311,43 +4304,43 @@ var __vue_render__$t = function () {
4311
4304
  }, 'el-slider', _vm.$attrs, false), _vm._listeners));
4312
4305
  };
4313
4306
 
4314
- var __vue_staticRenderFns__$t = [];
4307
+ var __vue_staticRenderFns__$q = [];
4315
4308
  /* style */
4316
4309
 
4317
- const __vue_inject_styles__$u = undefined;
4310
+ const __vue_inject_styles__$r = undefined;
4318
4311
  /* scoped */
4319
4312
 
4320
- const __vue_scope_id__$u = "data-v-75848f56";
4313
+ const __vue_scope_id__$r = "data-v-75848f56";
4321
4314
  /* module identifier */
4322
4315
 
4323
- const __vue_module_identifier__$u = undefined;
4316
+ const __vue_module_identifier__$r = undefined;
4324
4317
  /* functional template */
4325
4318
 
4326
- const __vue_is_functional_template__$u = false;
4319
+ const __vue_is_functional_template__$r = false;
4327
4320
  /* style inject */
4328
4321
 
4329
4322
  /* style inject SSR */
4330
4323
 
4331
4324
  /* style inject shadow dom */
4332
4325
 
4333
- const __vue_component__$u = /*#__PURE__*/normalizeComponent({
4334
- render: __vue_render__$t,
4335
- staticRenderFns: __vue_staticRenderFns__$t
4336
- }, __vue_inject_styles__$u, __vue_script__$u, __vue_scope_id__$u, __vue_is_functional_template__$u, __vue_module_identifier__$u, false, undefined, undefined, undefined);
4326
+ const __vue_component__$r = /*#__PURE__*/normalizeComponent({
4327
+ render: __vue_render__$q,
4328
+ staticRenderFns: __vue_staticRenderFns__$q
4329
+ }, __vue_inject_styles__$r, __vue_script__$r, __vue_scope_id__$r, __vue_is_functional_template__$r, __vue_module_identifier__$r, false, undefined, undefined, undefined);
4337
4330
 
4338
- var SliderField = __vue_component__$u;
4331
+ var SliderField = __vue_component__$r;
4339
4332
 
4340
4333
  //
4341
- var script$s = {
4334
+ var script$p = {
4342
4335
  name: 'ui-field-switch',
4343
4336
  mixins: [FieldMixin]
4344
4337
  };
4345
4338
 
4346
4339
  /* script */
4347
- const __vue_script__$t = script$s;
4340
+ const __vue_script__$q = script$p;
4348
4341
  /* template */
4349
4342
 
4350
- var __vue_render__$s = function () {
4343
+ var __vue_render__$p = function () {
4351
4344
  var _vm = this;
4352
4345
 
4353
4346
  var _h = _vm.$createElement;
@@ -4361,34 +4354,34 @@ var __vue_render__$s = function () {
4361
4354
  }, 'el-switch', _vm.$attrs, false), _vm.$listeners));
4362
4355
  };
4363
4356
 
4364
- var __vue_staticRenderFns__$s = [];
4357
+ var __vue_staticRenderFns__$p = [];
4365
4358
  /* style */
4366
4359
 
4367
- const __vue_inject_styles__$t = undefined;
4360
+ const __vue_inject_styles__$q = undefined;
4368
4361
  /* scoped */
4369
4362
 
4370
- const __vue_scope_id__$t = "data-v-df0fd42a";
4363
+ const __vue_scope_id__$q = "data-v-df0fd42a";
4371
4364
  /* module identifier */
4372
4365
 
4373
- const __vue_module_identifier__$t = undefined;
4366
+ const __vue_module_identifier__$q = undefined;
4374
4367
  /* functional template */
4375
4368
 
4376
- const __vue_is_functional_template__$t = false;
4369
+ const __vue_is_functional_template__$q = false;
4377
4370
  /* style inject */
4378
4371
 
4379
4372
  /* style inject SSR */
4380
4373
 
4381
4374
  /* style inject shadow dom */
4382
4375
 
4383
- const __vue_component__$t = /*#__PURE__*/normalizeComponent({
4384
- render: __vue_render__$s,
4385
- staticRenderFns: __vue_staticRenderFns__$s
4386
- }, __vue_inject_styles__$t, __vue_script__$t, __vue_scope_id__$t, __vue_is_functional_template__$t, __vue_module_identifier__$t, false, undefined, undefined, undefined);
4376
+ const __vue_component__$q = /*#__PURE__*/normalizeComponent({
4377
+ render: __vue_render__$p,
4378
+ staticRenderFns: __vue_staticRenderFns__$p
4379
+ }, __vue_inject_styles__$q, __vue_script__$q, __vue_scope_id__$q, __vue_is_functional_template__$q, __vue_module_identifier__$q, false, undefined, undefined, undefined);
4387
4380
 
4388
- var SwitchField = __vue_component__$t;
4381
+ var SwitchField = __vue_component__$q;
4389
4382
 
4390
4383
  //
4391
- var script$r = {
4384
+ var script$o = {
4392
4385
  name: 'ui-field-rate',
4393
4386
  mixins: [FieldMixin],
4394
4387
  props: {
@@ -4422,10 +4415,10 @@ var script$r = {
4422
4415
  };
4423
4416
 
4424
4417
  /* script */
4425
- const __vue_script__$s = script$r;
4418
+ const __vue_script__$p = script$o;
4426
4419
  /* template */
4427
4420
 
4428
- var __vue_render__$r = function () {
4421
+ var __vue_render__$o = function () {
4429
4422
  var _vm = this;
4430
4423
 
4431
4424
  var _h = _vm.$createElement;
@@ -4446,34 +4439,34 @@ var __vue_render__$r = function () {
4446
4439
  }, 'el-rate', _vm.$attrs, false), _vm._listeners));
4447
4440
  };
4448
4441
 
4449
- var __vue_staticRenderFns__$r = [];
4442
+ var __vue_staticRenderFns__$o = [];
4450
4443
  /* style */
4451
4444
 
4452
- const __vue_inject_styles__$s = undefined;
4445
+ const __vue_inject_styles__$p = undefined;
4453
4446
  /* scoped */
4454
4447
 
4455
- const __vue_scope_id__$s = "data-v-1b34cf02";
4448
+ const __vue_scope_id__$p = "data-v-1b34cf02";
4456
4449
  /* module identifier */
4457
4450
 
4458
- const __vue_module_identifier__$s = undefined;
4451
+ const __vue_module_identifier__$p = undefined;
4459
4452
  /* functional template */
4460
4453
 
4461
- const __vue_is_functional_template__$s = false;
4454
+ const __vue_is_functional_template__$p = false;
4462
4455
  /* style inject */
4463
4456
 
4464
4457
  /* style inject SSR */
4465
4458
 
4466
4459
  /* style inject shadow dom */
4467
4460
 
4468
- const __vue_component__$s = /*#__PURE__*/normalizeComponent({
4469
- render: __vue_render__$r,
4470
- staticRenderFns: __vue_staticRenderFns__$r
4471
- }, __vue_inject_styles__$s, __vue_script__$s, __vue_scope_id__$s, __vue_is_functional_template__$s, __vue_module_identifier__$s, false, undefined, undefined, undefined);
4461
+ const __vue_component__$p = /*#__PURE__*/normalizeComponent({
4462
+ render: __vue_render__$o,
4463
+ staticRenderFns: __vue_staticRenderFns__$o
4464
+ }, __vue_inject_styles__$p, __vue_script__$p, __vue_scope_id__$p, __vue_is_functional_template__$p, __vue_module_identifier__$p, false, undefined, undefined, undefined);
4472
4465
 
4473
- var RateField = __vue_component__$s;
4466
+ var RateField = __vue_component__$p;
4474
4467
 
4475
4468
  //
4476
- var script$q = {
4469
+ var script$n = {
4477
4470
  name: 'ui-field-color',
4478
4471
  mixins: [FieldMixin],
4479
4472
  props: {
@@ -4485,10 +4478,10 @@ var script$q = {
4485
4478
  };
4486
4479
 
4487
4480
  /* script */
4488
- const __vue_script__$r = script$q;
4481
+ const __vue_script__$o = script$n;
4489
4482
  /* template */
4490
4483
 
4491
- var __vue_render__$q = function () {
4484
+ var __vue_render__$n = function () {
4492
4485
  var _vm = this;
4493
4486
 
4494
4487
  var _h = _vm.$createElement;
@@ -4504,10 +4497,10 @@ var __vue_render__$q = function () {
4504
4497
  }, 'el-color-picker', _vm.$attrs, false), _vm.$listeners));
4505
4498
  };
4506
4499
 
4507
- var __vue_staticRenderFns__$q = [];
4500
+ var __vue_staticRenderFns__$n = [];
4508
4501
  /* style */
4509
4502
 
4510
- const __vue_inject_styles__$r = function (inject) {
4503
+ const __vue_inject_styles__$o = function (inject) {
4511
4504
  if (!inject) return;
4512
4505
  inject("data-v-1d42ab35_0", {
4513
4506
  source: ".ui-field-color[data-v-1d42ab35]{width:100%}",
@@ -4518,23 +4511,23 @@ const __vue_inject_styles__$r = function (inject) {
4518
4511
  /* scoped */
4519
4512
 
4520
4513
 
4521
- const __vue_scope_id__$r = "data-v-1d42ab35";
4514
+ const __vue_scope_id__$o = "data-v-1d42ab35";
4522
4515
  /* module identifier */
4523
4516
 
4524
- const __vue_module_identifier__$r = undefined;
4517
+ const __vue_module_identifier__$o = undefined;
4525
4518
  /* functional template */
4526
4519
 
4527
- const __vue_is_functional_template__$r = false;
4520
+ const __vue_is_functional_template__$o = false;
4528
4521
  /* style inject SSR */
4529
4522
 
4530
4523
  /* style inject shadow dom */
4531
4524
 
4532
- const __vue_component__$r = /*#__PURE__*/normalizeComponent({
4533
- render: __vue_render__$q,
4534
- staticRenderFns: __vue_staticRenderFns__$q
4535
- }, __vue_inject_styles__$r, __vue_script__$r, __vue_scope_id__$r, __vue_is_functional_template__$r, __vue_module_identifier__$r, false, createInjector, undefined, undefined);
4525
+ const __vue_component__$o = /*#__PURE__*/normalizeComponent({
4526
+ render: __vue_render__$n,
4527
+ staticRenderFns: __vue_staticRenderFns__$n
4528
+ }, __vue_inject_styles__$o, __vue_script__$o, __vue_scope_id__$o, __vue_is_functional_template__$o, __vue_module_identifier__$o, false, createInjector, undefined, undefined);
4536
4529
 
4537
- var ColorField = __vue_component__$r;
4530
+ var ColorField = __vue_component__$o;
4538
4531
 
4539
4532
  var Upload = {
4540
4533
  default: function (url) {
@@ -4797,10 +4790,10 @@ const RichField$1 = {
4797
4790
  };
4798
4791
 
4799
4792
  /* script */
4800
- const __vue_script__$q = RichField$1;
4793
+ const __vue_script__$n = RichField$1;
4801
4794
  /* template */
4802
4795
 
4803
- var __vue_render__$p = function () {
4796
+ var __vue_render__$m = function () {
4804
4797
  var _vm = this;
4805
4798
 
4806
4799
  var _h = _vm.$createElement;
@@ -4818,10 +4811,10 @@ var __vue_render__$p = function () {
4818
4811
  });
4819
4812
  };
4820
4813
 
4821
- var __vue_staticRenderFns__$p = [];
4814
+ var __vue_staticRenderFns__$m = [];
4822
4815
  /* style */
4823
4816
 
4824
- const __vue_inject_styles__$q = function (inject) {
4817
+ const __vue_inject_styles__$n = function (inject) {
4825
4818
  if (!inject) return;
4826
4819
  inject("data-v-4eb4343e_0", {
4827
4820
  source: ".quill-editor .ql-font span[data-value=Arial]::before{content:\"Arial\"!important;font-family:Arial,serif}.quill-editor .ql-font span[data-value=FangSong]::before{content:\"仿宋\"!important;font-family:\"仿宋_GB2312\",FangSong_GB2312,\"宋体\",SimSun,STFangsong,STSong,serif}.quill-editor .ql-font span[data-value=HeiTi]::before{content:\"黑体\"!important;font-family:\"黑体\",SimHei,\"微软正黑体\",\"Microsoft JhengHei\",STHeiti,serif}.quill-editor .ql-font span[data-value=Microsoft]::before{content:\"微软雅黑\"!important;font-family:\"微软雅黑\",\"Microsoft YaHei\",serif}.quill-editor .ql-font-Arial{font-family:Arial,serif}.quill-editor .ql-font-FangSong{font-family:\"仿宋_GB2312\",FangSong_GB2312,\"宋体\",SimSun,STFangsong,STSong,serif}.quill-editor .ql-font-HeiTi{font-family:\"黑体\",SimHei,\"微软正黑体\",\"Microsoft JhengHei\",STHeiti,serif}.quill-editor .ql-font-Microsoft{font-family:\"微软雅黑\",\"Microsoft YaHei\",serif}",
@@ -4836,23 +4829,23 @@ const __vue_inject_styles__$q = function (inject) {
4836
4829
  /* scoped */
4837
4830
 
4838
4831
 
4839
- const __vue_scope_id__$q = "data-v-4eb4343e";
4832
+ const __vue_scope_id__$n = "data-v-4eb4343e";
4840
4833
  /* module identifier */
4841
4834
 
4842
- const __vue_module_identifier__$q = undefined;
4835
+ const __vue_module_identifier__$n = undefined;
4843
4836
  /* functional template */
4844
4837
 
4845
- const __vue_is_functional_template__$q = false;
4838
+ const __vue_is_functional_template__$n = false;
4846
4839
  /* style inject SSR */
4847
4840
 
4848
4841
  /* style inject shadow dom */
4849
4842
 
4850
- const __vue_component__$q = /*#__PURE__*/normalizeComponent({
4851
- render: __vue_render__$p,
4852
- staticRenderFns: __vue_staticRenderFns__$p
4853
- }, __vue_inject_styles__$q, __vue_script__$q, __vue_scope_id__$q, __vue_is_functional_template__$q, __vue_module_identifier__$q, false, createInjector, undefined, undefined);
4843
+ const __vue_component__$n = /*#__PURE__*/normalizeComponent({
4844
+ render: __vue_render__$m,
4845
+ staticRenderFns: __vue_staticRenderFns__$m
4846
+ }, __vue_inject_styles__$n, __vue_script__$n, __vue_scope_id__$n, __vue_is_functional_template__$n, __vue_module_identifier__$n, false, createInjector, undefined, undefined);
4854
4847
 
4855
- var RichField = __vue_component__$q;
4848
+ var RichField = __vue_component__$n;
4856
4849
 
4857
4850
  //
4858
4851
 
@@ -4870,7 +4863,7 @@ const getUrlSuffix = url => {
4870
4863
  return url.substring(index + 1);
4871
4864
  };
4872
4865
 
4873
- var script$p = {
4866
+ var script$m = {
4874
4867
  name: 'ui-field-upload-file',
4875
4868
  mixins: [FieldMixin],
4876
4869
  props: {
@@ -5063,10 +5056,10 @@ var script$p = {
5063
5056
  };
5064
5057
 
5065
5058
  /* script */
5066
- const __vue_script__$p = script$p;
5059
+ const __vue_script__$m = script$m;
5067
5060
  /* template */
5068
5061
 
5069
- var __vue_render__$o = function () {
5062
+ var __vue_render__$l = function () {
5070
5063
  var _vm = this;
5071
5064
 
5072
5065
  var _h = _vm.$createElement;
@@ -5124,10 +5117,10 @@ var __vue_render__$o = function () {
5124
5117
  })], 2)], 1);
5125
5118
  };
5126
5119
 
5127
- var __vue_staticRenderFns__$o = [];
5120
+ var __vue_staticRenderFns__$l = [];
5128
5121
  /* style */
5129
5122
 
5130
- const __vue_inject_styles__$p = function (inject) {
5123
+ const __vue_inject_styles__$m = function (inject) {
5131
5124
  if (!inject) return;
5132
5125
  inject("data-v-a0ac883e_0", {
5133
5126
  source: ".ui-file-upload-field[data-v-a0ac883e]{width:100%}.ui-file-upload-field .uploader[data-v-a0ac883e]{margin-bottom:5px}.ui-file-upload-field .uploader.disabled[data-v-a0ac883e] .el-upload{cursor:not-allowed;pointer-events:none}.ui-file-upload-field .uploader.disabled[data-v-a0ac883e] .el-upload .upload-btn{color:#888c94;background-color:#edeef0}.ui-file-upload-field .upload-btn[data-v-a0ac883e]{padding:5px 10px;line-height:1;background-color:#409eff;color:#fff;font-size:12px;transition:background-color .3s}.ui-file-upload-field .upload-btn[data-v-a0ac883e]:hover{background-color:#0d84ff}.ui-file-upload-field .files[data-v-a0ac883e]{max-width:100%}.ui-file-upload-field .files .file[data-v-a0ac883e]{color:#606266;font-size:14px;transition:all .3s;cursor:pointer;display:grid;grid-template-columns:14px auto 28px;align-items:center;max-width:100%}.ui-file-upload-field .files .file a[data-v-a0ac883e]{color:#606266;transition:all .3s;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.ui-file-upload-field .files .file .close[data-v-a0ac883e]{color:transparent;width:28px;text-align:center;visibility:hidden;transition:color .3s;font-weight:700}.ui-file-upload-field .files .file[data-v-a0ac883e]:hover{background-color:#f5f7fa}.ui-file-upload-field .files .file:hover a[data-v-a0ac883e]{color:var(--color-primary)}.ui-file-upload-field .files .file:hover .close[data-v-a0ac883e]{color:#409eff;visibility:visible}",
@@ -5138,26 +5131,26 @@ const __vue_inject_styles__$p = function (inject) {
5138
5131
  /* scoped */
5139
5132
 
5140
5133
 
5141
- const __vue_scope_id__$p = "data-v-a0ac883e";
5134
+ const __vue_scope_id__$m = "data-v-a0ac883e";
5142
5135
  /* module identifier */
5143
5136
 
5144
- const __vue_module_identifier__$p = undefined;
5137
+ const __vue_module_identifier__$m = undefined;
5145
5138
  /* functional template */
5146
5139
 
5147
- const __vue_is_functional_template__$p = false;
5140
+ const __vue_is_functional_template__$m = false;
5148
5141
  /* style inject SSR */
5149
5142
 
5150
5143
  /* style inject shadow dom */
5151
5144
 
5152
- const __vue_component__$p = /*#__PURE__*/normalizeComponent({
5153
- render: __vue_render__$o,
5154
- staticRenderFns: __vue_staticRenderFns__$o
5155
- }, __vue_inject_styles__$p, __vue_script__$p, __vue_scope_id__$p, __vue_is_functional_template__$p, __vue_module_identifier__$p, false, createInjector, undefined, undefined);
5145
+ const __vue_component__$m = /*#__PURE__*/normalizeComponent({
5146
+ render: __vue_render__$l,
5147
+ staticRenderFns: __vue_staticRenderFns__$l
5148
+ }, __vue_inject_styles__$m, __vue_script__$m, __vue_scope_id__$m, __vue_is_functional_template__$m, __vue_module_identifier__$m, false, createInjector, undefined, undefined);
5156
5149
 
5157
- var FileUploadField = __vue_component__$p;
5150
+ var FileUploadField = __vue_component__$m;
5158
5151
 
5159
5152
  //
5160
- var script$o = {
5153
+ var script$l = {
5161
5154
  name: 'ui-field-upload-image',
5162
5155
  mixins: [FileUploadField],
5163
5156
  props: {
@@ -5177,10 +5170,10 @@ var script$o = {
5177
5170
  };
5178
5171
 
5179
5172
  /* script */
5180
- const __vue_script__$o = script$o;
5173
+ const __vue_script__$l = script$l;
5181
5174
  /* template */
5182
5175
 
5183
- var __vue_render__$n = function () {
5176
+ var __vue_render__$k = function () {
5184
5177
  var _vm = this;
5185
5178
 
5186
5179
  var _h = _vm.$createElement;
@@ -5236,10 +5229,10 @@ var __vue_render__$n = function () {
5236
5229
  }), _vm._v(" "), _c('span', [_vm._v("上传图片")])])]) : _vm._e()], 2);
5237
5230
  };
5238
5231
 
5239
- var __vue_staticRenderFns__$n = [];
5232
+ var __vue_staticRenderFns__$k = [];
5240
5233
  /* style */
5241
5234
 
5242
- const __vue_inject_styles__$o = function (inject) {
5235
+ const __vue_inject_styles__$l = function (inject) {
5243
5236
  if (!inject) return;
5244
5237
  inject("data-v-49662d87_0", {
5245
5238
  source: ".ui-image-upload-field[data-v-49662d87]{width:100%;display:flex;flex-direction:row;flex-wrap:wrap}.ui-image-upload-field .uploader.disabled[data-v-49662d87] .el-upload{cursor:not-allowed;pointer-events:none}.ui-image-upload-field .uploader.disabled[data-v-49662d87] .el-upload .upload-btn{background:#edeef0;color:#888c94}.ui-image-upload-field .item[data-v-49662d87]{position:relative;display:flex;justify-content:center;align-items:center;overflow:hidden;width:140px;height:140px;margin-bottom:10px;margin-right:10px;border:1px dashed #d0d2d7;padding:8px;border-radius:2px;box-sizing:border-box}.ui-image-upload-field .item .remove[data-v-49662d87]{position:absolute;top:0;right:0;width:24px;height:24px;background-color:rgba(0,0,0,.7);border-radius:0 0 0 22px;cursor:pointer}.ui-image-upload-field .item .remove .el-icon-close[data-v-49662d87]{position:absolute;top:4px;right:4px;color:#fff;font-size:14px}.ui-image-upload-field .item.upload-btn[data-v-49662d87]{background:#f7f8f9;display:flex;flex-direction:column;align-items:center;justify-content:center;border:none;color:#409eff}.ui-image-upload-field .item.upload-btn>.el-icon-plus[data-v-49662d87]{font-size:1.6em}.ui-image-upload-field .item.upload-btn>span[data-v-49662d87]{font-size:16px;line-height:1.2;margin-top:5px}.ui-image-upload-field .item:hover .modal[data-v-49662d87]{visibility:visible}.ui-image-upload-field[data-v-49662d87] .preview{display:inline-block;width:auto;max-width:60%;left:50%;transform:translateX(-50%)}",
@@ -5250,26 +5243,26 @@ const __vue_inject_styles__$o = function (inject) {
5250
5243
  /* scoped */
5251
5244
 
5252
5245
 
5253
- const __vue_scope_id__$o = "data-v-49662d87";
5246
+ const __vue_scope_id__$l = "data-v-49662d87";
5254
5247
  /* module identifier */
5255
5248
 
5256
- const __vue_module_identifier__$o = undefined;
5249
+ const __vue_module_identifier__$l = undefined;
5257
5250
  /* functional template */
5258
5251
 
5259
- const __vue_is_functional_template__$o = false;
5252
+ const __vue_is_functional_template__$l = false;
5260
5253
  /* style inject SSR */
5261
5254
 
5262
5255
  /* style inject shadow dom */
5263
5256
 
5264
- const __vue_component__$o = /*#__PURE__*/normalizeComponent({
5265
- render: __vue_render__$n,
5266
- staticRenderFns: __vue_staticRenderFns__$n
5267
- }, __vue_inject_styles__$o, __vue_script__$o, __vue_scope_id__$o, __vue_is_functional_template__$o, __vue_module_identifier__$o, false, createInjector, undefined, undefined);
5257
+ const __vue_component__$l = /*#__PURE__*/normalizeComponent({
5258
+ render: __vue_render__$k,
5259
+ staticRenderFns: __vue_staticRenderFns__$k
5260
+ }, __vue_inject_styles__$l, __vue_script__$l, __vue_scope_id__$l, __vue_is_functional_template__$l, __vue_module_identifier__$l, false, createInjector, undefined, undefined);
5268
5261
 
5269
- var ImageUploadField = __vue_component__$o;
5262
+ var ImageUploadField = __vue_component__$l;
5270
5263
 
5271
5264
  //
5272
- var script$n = {
5265
+ var script$k = {
5273
5266
  name: 'ui-field-trigger-dialog',
5274
5267
  mixins: [FieldMixin],
5275
5268
  props: {
@@ -5304,10 +5297,10 @@ var script$n = {
5304
5297
  };
5305
5298
 
5306
5299
  /* script */
5307
- const __vue_script__$n = script$n;
5300
+ const __vue_script__$k = script$k;
5308
5301
  /* template */
5309
5302
 
5310
- var __vue_render__$m = function () {
5303
+ var __vue_render__$j = function () {
5311
5304
  var _vm = this;
5312
5305
 
5313
5306
  var _h = _vm.$createElement;
@@ -5349,34 +5342,34 @@ var __vue_render__$m = function () {
5349
5342
  }, 'ui-dialog', _vm.dialog, false), _vm.$listeners), [_vm._t("default")], 2)], 1);
5350
5343
  };
5351
5344
 
5352
- var __vue_staticRenderFns__$m = [];
5345
+ var __vue_staticRenderFns__$j = [];
5353
5346
  /* style */
5354
5347
 
5355
- const __vue_inject_styles__$n = undefined;
5348
+ const __vue_inject_styles__$k = undefined;
5356
5349
  /* scoped */
5357
5350
 
5358
- const __vue_scope_id__$n = "data-v-c78e8610";
5351
+ const __vue_scope_id__$k = "data-v-c78e8610";
5359
5352
  /* module identifier */
5360
5353
 
5361
- const __vue_module_identifier__$n = undefined;
5354
+ const __vue_module_identifier__$k = undefined;
5362
5355
  /* functional template */
5363
5356
 
5364
- const __vue_is_functional_template__$n = false;
5357
+ const __vue_is_functional_template__$k = false;
5365
5358
  /* style inject */
5366
5359
 
5367
5360
  /* style inject SSR */
5368
5361
 
5369
5362
  /* style inject shadow dom */
5370
5363
 
5371
- const __vue_component__$n = /*#__PURE__*/normalizeComponent({
5372
- render: __vue_render__$m,
5373
- staticRenderFns: __vue_staticRenderFns__$m
5374
- }, __vue_inject_styles__$n, __vue_script__$n, __vue_scope_id__$n, __vue_is_functional_template__$n, __vue_module_identifier__$n, false, undefined, undefined, undefined);
5364
+ const __vue_component__$k = /*#__PURE__*/normalizeComponent({
5365
+ render: __vue_render__$j,
5366
+ staticRenderFns: __vue_staticRenderFns__$j
5367
+ }, __vue_inject_styles__$k, __vue_script__$k, __vue_scope_id__$k, __vue_is_functional_template__$k, __vue_module_identifier__$k, false, undefined, undefined, undefined);
5375
5368
 
5376
- var DialogTrigger = __vue_component__$n;
5369
+ var DialogTrigger = __vue_component__$k;
5377
5370
 
5378
5371
  //
5379
- var script$m = {
5372
+ var script$j = {
5380
5373
  name: 'ui-field-trigger-popover',
5381
5374
  mixins: [FieldMixin],
5382
5375
  props: {
@@ -5425,10 +5418,10 @@ var script$m = {
5425
5418
  };
5426
5419
 
5427
5420
  /* script */
5428
- const __vue_script__$m = script$m;
5421
+ const __vue_script__$j = script$j;
5429
5422
  /* template */
5430
5423
 
5431
- var __vue_render__$l = function () {
5424
+ var __vue_render__$i = function () {
5432
5425
  var _vm = this;
5433
5426
 
5434
5427
  var _h = _vm.$createElement;
@@ -5473,10 +5466,10 @@ var __vue_render__$l = function () {
5473
5466
  })], 2)], 2);
5474
5467
  };
5475
5468
 
5476
- var __vue_staticRenderFns__$l = [];
5469
+ var __vue_staticRenderFns__$i = [];
5477
5470
  /* style */
5478
5471
 
5479
- const __vue_inject_styles__$m = function (inject) {
5472
+ const __vue_inject_styles__$j = function (inject) {
5480
5473
  if (!inject) return;
5481
5474
  inject("data-v-78f8007b_0", {
5482
5475
  source: ".ui-field-trigger-popover[data-v-78f8007b]{width:100%}",
@@ -5487,23 +5480,23 @@ const __vue_inject_styles__$m = function (inject) {
5487
5480
  /* scoped */
5488
5481
 
5489
5482
 
5490
- const __vue_scope_id__$m = "data-v-78f8007b";
5483
+ const __vue_scope_id__$j = "data-v-78f8007b";
5491
5484
  /* module identifier */
5492
5485
 
5493
- const __vue_module_identifier__$m = undefined;
5486
+ const __vue_module_identifier__$j = undefined;
5494
5487
  /* functional template */
5495
5488
 
5496
- const __vue_is_functional_template__$m = false;
5489
+ const __vue_is_functional_template__$j = false;
5497
5490
  /* style inject SSR */
5498
5491
 
5499
5492
  /* style inject shadow dom */
5500
5493
 
5501
- const __vue_component__$m = /*#__PURE__*/normalizeComponent({
5502
- render: __vue_render__$l,
5503
- staticRenderFns: __vue_staticRenderFns__$l
5504
- }, __vue_inject_styles__$m, __vue_script__$m, __vue_scope_id__$m, __vue_is_functional_template__$m, __vue_module_identifier__$m, false, createInjector, undefined, undefined);
5494
+ const __vue_component__$j = /*#__PURE__*/normalizeComponent({
5495
+ render: __vue_render__$i,
5496
+ staticRenderFns: __vue_staticRenderFns__$i
5497
+ }, __vue_inject_styles__$j, __vue_script__$j, __vue_scope_id__$j, __vue_is_functional_template__$j, __vue_module_identifier__$j, false, createInjector, undefined, undefined);
5505
5498
 
5506
- var PopoverTrigger = __vue_component__$m;
5499
+ var PopoverTrigger = __vue_component__$j;
5507
5500
 
5508
5501
  var TriggerField = {
5509
5502
  name: 'ui-field-trigger',
@@ -5526,7 +5519,7 @@ var TriggerField = {
5526
5519
  };
5527
5520
 
5528
5521
  //
5529
- var script$l = {
5522
+ var script$i = {
5530
5523
  name: 'ui-field-icons',
5531
5524
  mixins: [FieldMixin],
5532
5525
  components: {
@@ -5584,10 +5577,10 @@ var script$l = {
5584
5577
  };
5585
5578
 
5586
5579
  /* script */
5587
- const __vue_script__$l = script$l;
5580
+ const __vue_script__$i = script$i;
5588
5581
  /* template */
5589
5582
 
5590
- var __vue_render__$k = function () {
5583
+ var __vue_render__$h = function () {
5591
5584
  var _vm = this;
5592
5585
 
5593
5586
  var _h = _vm.$createElement;
@@ -5657,10 +5650,10 @@ var __vue_render__$k = function () {
5657
5650
  }), 0)])], 1)]);
5658
5651
  };
5659
5652
 
5660
- var __vue_staticRenderFns__$k = [];
5653
+ var __vue_staticRenderFns__$h = [];
5661
5654
  /* style */
5662
5655
 
5663
- const __vue_inject_styles__$l = function (inject) {
5656
+ const __vue_inject_styles__$i = function (inject) {
5664
5657
  if (!inject) return;
5665
5658
  inject("data-v-32071a3e_0", {
5666
5659
  source: ".ui-field-icons .filter[data-v-32071a3e]{margin-bottom:10px}.ui-field-icons .filter[data-v-32071a3e] .el-input__validateIcon{display:none}.ui-field-icons .scroll[data-v-32071a3e]{height:200px;overflow:auto}.ui-field-icons .icons[data-v-32071a3e]{display:flex;flex-wrap:wrap}.ui-field-icons .icons .icon[data-v-32071a3e]{flex:none;width:150px;height:28px;margin:2px;padding:4px;border-radius:2px;cursor:pointer;transition:all .3s;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;display:flex;flex-direction:row;align-items:center}.ui-field-icons .icons .icon[data-v-32071a3e]:hover{background:#eaeaea}.ui-field-icons .icons .icon.active[data-v-32071a3e]{color:#409eff;box-shadow:inset 0 0 3px #666}.ui-field-icons .icons .icon .ui-icon[data-v-32071a3e]{margin-right:4px}.ui-field-icons .icons .icon span[data-v-32071a3e]{flex:1}",
@@ -5671,1586 +5664,61 @@ const __vue_inject_styles__$l = function (inject) {
5671
5664
  /* scoped */
5672
5665
 
5673
5666
 
5674
- const __vue_scope_id__$l = "data-v-32071a3e";
5667
+ const __vue_scope_id__$i = "data-v-32071a3e";
5675
5668
  /* module identifier */
5676
5669
 
5677
- const __vue_module_identifier__$l = undefined;
5670
+ const __vue_module_identifier__$i = undefined;
5678
5671
  /* functional template */
5679
5672
 
5680
- const __vue_is_functional_template__$l = false;
5673
+ const __vue_is_functional_template__$i = false;
5681
5674
  /* style inject SSR */
5682
5675
 
5683
5676
  /* style inject shadow dom */
5684
5677
 
5685
- const __vue_component__$l = /*#__PURE__*/normalizeComponent({
5686
- render: __vue_render__$k,
5687
- staticRenderFns: __vue_staticRenderFns__$k
5688
- }, __vue_inject_styles__$l, __vue_script__$l, __vue_scope_id__$l, __vue_is_functional_template__$l, __vue_module_identifier__$l, false, createInjector, undefined, undefined);
5689
-
5690
- var IconsField = __vue_component__$l;
5691
-
5692
- const getAMap = function () {
5693
- let plugins = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : [];
5694
- let options = arguments.length > 1 ? arguments[1] : undefined;
5695
- const setting = getSetting();
5696
- return AMapLoader.load(Object.assign({ ...setting.amap,
5697
- plugins: plugins
5698
- }, options || {}));
5699
- };
5700
-
5701
- //
5702
- const CoordTypes$2 = {
5703
- bd09: gcoord.BD09,
5704
- gcj02: gcoord.GCJ02,
5705
- wgs84: gcoord.WGS84
5706
- };
5707
- var script$k = {
5708
- name: 'ui-field-latlng',
5709
- mixins: [FieldMixin],
5710
- props: {
5711
- coordType: {
5712
- type: String,
5713
- default: 'wgs84',
5714
- validator: val => Object.keys(CoordTypes$2).includes(val)
5715
- }
5716
- },
5717
-
5718
- data() {
5719
- return {
5720
- loading: true,
5721
- keyword: ''
5722
- };
5723
- },
5724
-
5725
- computed: {
5726
- point() {
5727
- if (!this.value) {
5728
- return null;
5729
- }
5730
-
5731
- if (!this.isValidPoint(this.value)) {
5732
- return null;
5733
- }
5678
+ const __vue_component__$i = /*#__PURE__*/normalizeComponent({
5679
+ render: __vue_render__$h,
5680
+ staticRenderFns: __vue_staticRenderFns__$h
5681
+ }, __vue_inject_styles__$i, __vue_script__$i, __vue_scope_id__$i, __vue_is_functional_template__$i, __vue_module_identifier__$i, false, createInjector, undefined, undefined);
5734
5682
 
5735
- const [lat, lng] = this.value.split(',');
5736
- return {
5737
- lat: +lat,
5738
- lng: +lng
5739
- };
5740
- }
5683
+ var IconsField = __vue_component__$i;
5741
5684
 
5685
+ const fields = Object.create(null, {
5686
+ text: {
5687
+ enumerable: true,
5688
+ value: TextField
5742
5689
  },
5743
- watch: {
5744
- point(p) {
5745
- this.onPointChange(p);
5746
- }
5747
-
5690
+ textarea: {
5691
+ enumerable: true,
5692
+ value: TextField
5748
5693
  },
5749
- methods: {
5750
- init() {
5751
- getAMap(['AMap.ToolBar', 'AMap.AutoComplete'], {
5752
- AMapUI: {
5753
- version: '1.1',
5754
- plugins: ['control/BasicControl']
5755
- }
5756
- }).then(AMap => {
5757
- this.initMap(AMap);
5758
- this.loading = false;
5759
- this.done();
5760
- });
5761
- },
5762
-
5763
- initMap(AMap) {
5764
- const map = new AMap.Map(this.$el.querySelector('.map'), {
5765
- zoom: 11
5766
- });
5767
- map.addControl(new AMap.ToolBar({
5768
- position: 'LB'
5769
- }));
5770
- map.addControl(new AMapUI.BasicControl.LayerSwitcher({
5771
- position: 'RT'
5772
- }));
5773
- const auto = new AMap.AutoComplete({
5774
- input: this.$refs.input,
5775
- output: this.$refs.output
5776
- });
5777
- map.on('click', this.onMapClick);
5778
- auto.on('select', event => {
5779
- if (!event.poi || !event.poi.location) {
5780
- return;
5781
- }
5782
-
5783
- map.setZoomAndCenter(16, event.poi.location);
5784
- });
5785
- this.map = map;
5786
- this.onPointChange(this.point);
5787
- },
5788
-
5789
- isValidPoint(val) {
5790
- const [lat, lng] = val.split(',');
5791
- return !(isNaN(+lat) || isNaN(+lng));
5792
- },
5793
-
5794
- onMapClick(_ref) {
5795
- let {
5796
- lnglat
5797
- } = _ref;
5798
- let {
5799
- lat,
5800
- lng
5801
- } = lnglat; // 当前地图是 GCJ02 坐标系
5802
-
5803
- if (this.coordType !== 'gcj02') {
5804
- [lng, lat] = gcoord.transform([lng, lat], gcoord.GCJ02, CoordTypes$2[this.coordType]);
5805
- lng = lng.toFixed(7) / 1;
5806
- lat = lat.toFixed(7) / 1;
5807
- }
5808
-
5809
- this.onChange([lat, lng].join(','));
5810
- },
5811
-
5812
- onPointChange(point) {
5813
- if (!this.map) {
5814
- return;
5815
- }
5816
-
5817
- this.map.clearMap();
5818
-
5819
- if (!point) {
5820
- return;
5821
- }
5822
-
5823
- let {
5824
- lng,
5825
- lat
5826
- } = point; // 当前地图是 GCJ02 坐标系
5827
-
5828
- if (this.coordType !== 'gcj02') {
5829
- [lng, lat] = gcoord.transform([lng, lat], CoordTypes$2[this.coordType], gcoord.GCJ02);
5830
- } // eslint-disable-next-line no-undef
5831
-
5832
-
5833
- const marker = new AMap.Marker({
5834
- position: new AMap.LngLat(lng, lat)
5835
- });
5836
- this.map.add(marker);
5837
- this.map.setCenter([lng, lat]);
5838
- }
5839
-
5694
+ password: {
5695
+ enumerable: true,
5696
+ value: TextField
5840
5697
  }
5841
- };
5842
-
5843
- /* script */
5844
- const __vue_script__$k = script$k;
5845
- /* template */
5846
-
5847
- var __vue_render__$j = function () {
5848
- var _vm = this;
5849
-
5850
- var _h = _vm.$createElement;
5851
-
5852
- var _c = _vm._self._c || _h;
5853
-
5854
- return _c('div', {
5855
- directives: [{
5856
- name: "loading",
5857
- rawName: "v-loading",
5858
- value: _vm.loading,
5859
- expression: "loading"
5860
- }],
5861
- staticClass: "ui-field-latlng"
5862
- }, [_c('div', {
5863
- staticClass: "map"
5864
- }), _vm._v(" "), _c('div', {
5865
- directives: [{
5866
- name: "show",
5867
- rawName: "v-show",
5868
- value: !_vm.loading,
5869
- expression: "!loading"
5870
- }],
5871
- staticClass: "info"
5872
- }, [_c('div', {
5873
- staticClass: "input-item searchbox"
5874
- }, [_vm._m(0), _vm._v(" "), _c('input', {
5875
- ref: "input",
5876
- attrs: {
5877
- "type": "text",
5878
- "form": "__ignore__",
5879
- "placeholder": "请输入..."
5880
- }
5881
- }), _vm._v(" "), _c('div', {
5882
- ref: "output",
5883
- staticClass: "search-result"
5884
- })])])]);
5885
- };
5886
-
5887
- var __vue_staticRenderFns__$j = [function () {
5888
- var _vm = this;
5889
-
5890
- var _h = _vm.$createElement;
5891
-
5892
- var _c = _vm._self._c || _h;
5893
-
5894
- return _c('div', {
5895
- staticClass: "input-item-prepend"
5896
- }, [_c('span', {
5897
- staticClass: "input-item-text"
5898
- }, [_vm._v("搜索关键字")])]);
5899
- }];
5900
- /* style */
5901
-
5902
- const __vue_inject_styles__$k = function (inject) {
5903
- if (!inject) return;
5904
- inject("data-v-568ff222_0", {
5905
- source: ".ui-field-latlng{width:100%;height:280px;position:relative}.ui-field-latlng .map{width:100%;height:100%}.ui-field-latlng .info{position:absolute;top:0;left:0;right:0;bottom:0;pointer-events:none}.ui-field-latlng .info .searchbox{left:12px;top:12px;background-color:#fff;box-shadow:0 0 3px rgba(0,0,0,.5);pointer-events:initial;border-radius:3px;padding:3px}.ui-field-latlng .info .searchbox .search-result{position:absolute;top:calc(100% - 2px);left:0;right:0;background-color:#fefefe;box-shadow:0 1px 3px #999;visibility:hidden;border-radius:0 0 3px 3px}.ui-field-latlng .info .searchbox .search-result .auto-item{white-space:nowrap;font-size:12px;cursor:pointer;padding:4px;line-height:14px}.ui-field-latlng .input-item{position:relative;display:inline-flex;align-items:center;width:220px;font-size:12px}.ui-field-latlng .input-item .input-item-prepend{margin-right:-1px}.ui-field-latlng .input-item .input-item-prepend .input-item-text{padding:.25em .5em;display:block;text-justify:distribute-all-lines;text-align-last:justify;align-items:center;margin-bottom:0;font-weight:400;line-height:1.5;color:#495057;text-align:center;white-space:nowrap;background-color:#e9ecef;border:1px solid #ced4da;border-radius:.25rem 0 0 .25rem;box-sizing:border-box}.ui-field-latlng .input-item input{position:relative;flex:1 1 auto;width:1%;margin:0;background:#fff;padding:.25em .5em;display:inline-block;line-height:1.5;color:#495057;vertical-align:middle;border:1px solid #ced4da;border-radius:0 .25rem .25rem 0;appearance:none;box-sizing:border-box}.ui-field-latlng .input-item input:focus{border-color:#80bdff;outline:0;box-shadow:0 0 0 .1rem rgba(128,189,255,.1)}.ui-field-latlng .amap-copyright,.ui-field-latlng .amap-logo{display:none!important}.ui-field-latlng .amap-ui-control-position-rt,.ui-field-latlng .amap-ui-control-position-tr{top:15px;right:15px}",
5906
- map: undefined,
5907
- media: undefined
5908
- });
5909
- };
5910
- /* scoped */
5911
-
5912
-
5913
- const __vue_scope_id__$k = undefined;
5914
- /* module identifier */
5915
-
5916
- const __vue_module_identifier__$k = undefined;
5917
- /* functional template */
5918
-
5919
- const __vue_is_functional_template__$k = false;
5920
- /* style inject SSR */
5921
-
5922
- /* style inject shadow dom */
5923
-
5924
- const __vue_component__$k = /*#__PURE__*/normalizeComponent({
5925
- render: __vue_render__$j,
5926
- staticRenderFns: __vue_staticRenderFns__$j
5927
- }, __vue_inject_styles__$k, __vue_script__$k, __vue_scope_id__$k, __vue_is_functional_template__$k, __vue_module_identifier__$k, false, createInjector, undefined, undefined);
5928
-
5929
- var LnglatField = __vue_component__$k;
5930
-
5931
- //
5932
- const CoordTypes$1 = {
5933
- bd09: gcoord.BD09,
5934
- gcj02: gcoord.GCJ02,
5935
- wgs84: gcoord.WGS84
5936
- };
5937
- var script$j = {
5938
- name: 'ui-field-latlng-new',
5939
- mixins: [FieldMixin],
5940
- props: {
5941
- coordType: {
5942
- type: String,
5943
- default: 'wgs84',
5944
- validator: val => Object.keys(CoordTypes$1).includes(val)
5945
- },
5946
- showAddress: {
5947
- type: Boolean,
5948
- default: true
5949
- },
5950
- showlnglat: {
5951
- type: Boolean,
5952
- default: true
5953
- },
5954
- address: String,
5955
-
5956
- /**
5957
- * 地图缩放
5958
- * 缩放范围 2~20
5959
- */
5960
- zoom: {
5961
- type: Number,
5962
- default: 15,
5963
- validator: val => 2 <= val && val <= 20
5964
- },
5965
-
5966
- /**
5967
- * 中心点
5968
- * 'lng,lat' 字符串
5969
- */
5970
- center: String,
5971
- disabled: Boolean
5972
- },
5973
-
5974
- data() {
5975
- return {
5976
- loading: true,
5977
- currentTab: 1,
5978
- tabList: [{
5979
- label: '按关键字搜索',
5980
- value: 1
5981
- }, {
5982
- label: '按经纬度搜索',
5983
- value: 2
5984
- }],
5985
- crs: 'wgs84',
5986
- crsList: [{
5987
- label: '原始坐标系',
5988
- value: 'wgs84'
5989
- }, {
5990
- label: '高德坐标系',
5991
- value: 'gcj02'
5992
- }, {
5993
- label: '百度坐标系',
5994
- value: 'bd09'
5995
- }],
5996
- displayLngLat: ''
5997
- };
5998
- },
5999
-
6000
- computed: {
6001
- point() {
6002
- return this.getCoords(this.value);
6003
- },
6004
-
6005
- lngLat() {
6006
- return this.transformLngLat(this.value, CoordTypes$1[this.coordType], CoordTypes$1[this.crs]);
6007
- },
6008
-
6009
- lngLatText() {
6010
- return (this.lngLat || '').split(',');
6011
- },
6012
-
6013
- toolsVisible(_ref) {
6014
- let {
6015
- disabled,
6016
- loading
6017
- } = _ref;
6018
- return !disabled && !loading;
6019
- }
6020
-
6021
- },
6022
- watch: {
6023
- point(p) {
6024
- this.onPointChange(p);
6025
- },
6026
-
6027
- lngLat: {
6028
- immediate: true,
6029
-
6030
- handler(val) {
6031
- this.displayLngLat = val;
6032
- }
6033
-
6034
- },
6035
- zoom: 'setMapZoom',
6036
- center: 'setMapCenter',
6037
-
6038
- toolsVisible(visible) {
6039
- if (visible) {
6040
- var _this$toolbarControl;
6041
-
6042
- (_this$toolbarControl = this.toolbarControl) === null || _this$toolbarControl === void 0 ? void 0 : _this$toolbarControl.show();
6043
- this.map.on('click', this.onMapClick);
6044
- } else {
6045
- var _this$toolbarControl2;
6046
-
6047
- this.map.off('click', this.onMapClick);
6048
- (_this$toolbarControl2 = this.toolbarControl) === null || _this$toolbarControl2 === void 0 ? void 0 : _this$toolbarControl2.hide();
6049
- }
6050
- }
6051
-
6052
- },
6053
- methods: {
6054
- init() {
6055
- getAMap(['AMap.ToolBar', 'AMap.AutoComplete'], {
6056
- AMapUI: {
6057
- version: '1.1',
6058
- plugins: ['control/BasicControl']
6059
- }
6060
- }).then(AMap => {
6061
- this.initMap(AMap);
6062
- this.loading = false;
6063
- this.done();
6064
- });
6065
- },
6066
-
6067
- initMap(AMap) {
6068
- const map = new AMap.Map(this.$el.querySelector('.map'), {
6069
- zoom: this.zoom
6070
- });
6071
- this.toolbarControl = new AMap.ToolBar({
6072
- position: 'LB'
6073
- });
6074
- this.layerSwitcherControl = new AMapUI.BasicControl.LayerSwitcher({
6075
- position: 'RT'
6076
- });
6077
- map.addControl(this.toolbarControl);
6078
- map.addControl(this.layerSwitcherControl);
6079
-
6080
- if (!this.toolsVisible) {
6081
- this.toolbarControl.hide();
6082
- }
6083
-
6084
- const auto = new AMap.AutoComplete({
6085
- input: this.$refs.input,
6086
- output: this.$refs.output
6087
- });
6088
- map.on('click', this.onMapClick);
6089
- auto.on('select', event => {
6090
- if (!event.poi || !event.poi.location) {
6091
- return;
6092
- }
6093
-
6094
- map.setZoomAndCenter(16, event.poi.location);
6095
- });
6096
- this.map = map;
6097
- this.onPointChange(this.point); // 初始化地图中心点
6098
-
6099
- this.setMapCenter();
6100
- },
6101
-
6102
- isValidPoint(val) {
6103
- const [lng, lat] = val.split(',');
6104
- return !(isNaN(+lng) || isNaN(+lat));
6105
- },
6106
-
6107
- onMapClick(_ref2) {
6108
- let {
6109
- lnglat
6110
- } = _ref2;
6111
- let {
6112
- lat,
6113
- lng
6114
- } = lnglat; // 当前地图是 GCJ02 坐标系
6115
-
6116
- if (this.coordType !== 'gcj02') {
6117
- [lng, lat] = gcoord.transform([lng, lat], gcoord.GCJ02, CoordTypes$1[this.coordType]);
6118
- lng = lng.toFixed(7) / 1;
6119
- lat = lat.toFixed(7) / 1;
6120
- }
6121
-
6122
- this.onChange([lng, lat].join(','));
6123
- },
6124
-
6125
- handleLngLat() {
6126
- const point = this.getCoords(this.displayLngLat);
6127
-
6128
- if (!point) {
6129
- this.$message.error('请输入正常的经纬度');
6130
- return;
6131
- }
6132
-
6133
- const value = this.transformLngLat(this.displayLngLat, CoordTypes$1[this.crs], CoordTypes$1[this.coordType]);
6134
- this.onChange(value);
6135
- const mapCoords = this.getCoords(value);
6136
- this.map.setCenter(mapCoords);
6137
- },
6138
-
6139
- onPointChange(point) {
6140
- if (!this.map) {
6141
- return;
6142
- }
6143
-
6144
- this.map.clearMap();
6145
-
6146
- if (!point) {
6147
- return;
6148
- }
6149
-
6150
- let [lng, lat] = point; // 当前地图是 GCJ02 坐标系
6151
-
6152
- if (this.coordType !== 'gcj02') {
6153
- [lng, lat] = gcoord.transform([lng, lat], CoordTypes$1[this.coordType], gcoord.GCJ02);
6154
- } // eslint-disable-next-line no-undef
6155
-
6156
-
6157
- const marker = new AMap.Marker({
6158
- position: new AMap.LngLat(lng, lat)
6159
- });
6160
- this.map.add(marker);
6161
- this.map.setCenter([lng, lat]);
6162
- },
6163
-
6164
- setMapCenter() {
6165
- if (!this.center || !this.map) {
6166
- return;
6167
- }
6168
-
6169
- const [lng, lat] = this.center.split(',');
6170
-
6171
- if (!lng || !lat) {
6172
- return;
6173
- }
6174
-
6175
- this.map.setCenter([+lng, +lat]);
6176
- this.setMapZoom();
6177
- },
6178
-
6179
- setMapZoom() {
6180
- if (!this.zoom || !this.map) {
6181
- return;
6182
- }
6183
-
6184
- this.map.setZoom(this.zoom);
6185
- },
6186
-
6187
- getCoords(lngLat) {
6188
- if (!lngLat) {
6189
- return null;
6190
- }
6191
-
6192
- if (!this.isValidPoint(lngLat)) {
6193
- return null;
6194
- }
6195
-
6196
- const [lng, lat] = lngLat.split(',');
6197
- return [+lng, +lat];
6198
- },
6199
-
6200
- transformLngLat(lngLat, crsFrom, crsTo) {
6201
- if (crsFrom === crsTo) {
6202
- return lngLat;
6203
- }
6204
-
6205
- const coords = this.getCoords(lngLat);
6206
-
6207
- if (!coords) {
6208
- return '';
6209
- }
6210
-
6211
- const transformedCoords = gcoord.transform(coords, crsFrom, crsTo);
6212
- return transformedCoords.map(item => item.toFixed(7) / 1).join(',');
6213
- }
6214
-
6215
- }
6216
- };
6217
-
6218
- /* script */
6219
- const __vue_script__$j = script$j;
6220
- /* template */
6221
-
6222
- var __vue_render__$i = function () {
6223
- var _vm = this;
6224
-
6225
- var _h = _vm.$createElement;
6226
-
6227
- var _c = _vm._self._c || _h;
6228
-
6229
- return _c('div', {
6230
- directives: [{
6231
- name: "loading",
6232
- rawName: "v-loading",
6233
- value: _vm.loading,
6234
- expression: "loading"
6235
- }],
6236
- staticClass: "ui-field-latlng-new"
6237
- }, [_c('div', {
6238
- staticClass: "tabs"
6239
- }, _vm._l(_vm.tabList, function (tab) {
6240
- return _c('div', {
6241
- key: tab.label,
6242
- class: ['tab', _vm.currentTab === tab.value ? 'active' : ''],
6243
- on: {
6244
- "click": function ($event) {
6245
- _vm.currentTab = tab.value;
6246
- }
6247
- }
6248
- }, [_vm._v("\n " + _vm._s(tab.label) + "\n ")]);
6249
- }), 0), _vm._v(" "), _c('div', {
6250
- staticClass: "map"
6251
- }), _vm._v(" "), _c('div', {
6252
- directives: [{
6253
- name: "show",
6254
- rawName: "v-show",
6255
- value: _vm.toolsVisible && _vm.currentTab === 1,
6256
- expression: "toolsVisible && currentTab === 1"
6257
- }],
6258
- staticClass: "info"
6259
- }, [_c('div', {
6260
- staticClass: "input-item searchbox"
6261
- }, [_vm._m(0), _vm._v(" "), _c('input', {
6262
- ref: "input",
6263
- attrs: {
6264
- "type": "text",
6265
- "form": "__ignore__",
6266
- "placeholder": "请输入..."
6267
- }
6268
- }), _vm._v(" "), _c('div', {
6269
- ref: "output",
6270
- staticClass: "search-result"
6271
- })])]), _vm._v(" "), _vm.currentTab === 2 ? _c('div', {
6272
- staticClass: "lnglat"
6273
- }, [_c('el-input', {
6274
- attrs: {
6275
- "placeholder": "请输入经纬度",
6276
- "size": "mini",
6277
- "disabled": _vm.disabled
6278
- },
6279
- model: {
6280
- value: _vm.displayLngLat,
6281
- callback: function ($$v) {
6282
- _vm.displayLngLat = $$v;
6283
- },
6284
- expression: "displayLngLat"
6285
- }
6286
- }, [_c('el-select', {
6287
- attrs: {
6288
- "slot": "prepend",
6289
- "disabled": _vm.disabled,
6290
- "size": "mini"
6291
- },
6292
- slot: "prepend",
6293
- model: {
6294
- value: _vm.crs,
6295
- callback: function ($$v) {
6296
- _vm.crs = $$v;
6297
- },
6298
- expression: "crs"
6299
- }
6300
- }, _vm._l(_vm.crsList, function (item) {
6301
- return _c('el-option', {
6302
- key: item.value,
6303
- attrs: {
6304
- "label": item.label,
6305
- "value": item.value
6306
- }
6307
- });
6308
- }), 1), _vm._v(" "), _c('el-button', {
6309
- attrs: {
6310
- "slot": "append",
6311
- "icon": "el-icon-position",
6312
- "size": "mini",
6313
- "disabled": _vm.disabled
6314
- },
6315
- on: {
6316
- "click": _vm.handleLngLat
6317
- },
6318
- slot: "append"
6319
- })], 1)], 1) : _vm._e(), _vm._v(" "), _vm.showAddress ? _c('div', {
6320
- staticClass: "address"
6321
- }, [_c('div', {
6322
- staticClass: "address-label"
6323
- }, [_vm._v("地址:")]), _vm._v(" "), _c('div', {
6324
- staticClass: "address-box",
6325
- attrs: {
6326
- "title": _vm.address
6327
- }
6328
- }, [_vm._v(_vm._s(_vm.address || '-'))])]) : _vm._e(), _vm._v(" "), _vm.showlnglat ? _c('div', {
6329
- staticClass: "lnglat-text"
6330
- }, [_c('div', {
6331
- staticClass: "lng"
6332
- }, [_c('div', {
6333
- staticClass: "label"
6334
- }, [_vm._v("经度:")]), _vm._v(" "), _c('div', {
6335
- staticClass: "value"
6336
- }, [_vm._v(_vm._s(_vm.lngLatText && _vm.lngLatText[0] || '-'))])]), _vm._v(" "), _c('div', {
6337
- staticClass: "lat"
6338
- }, [_c('div', {
6339
- staticClass: "label"
6340
- }, [_vm._v("纬度:")]), _vm._v(" "), _c('div', {
6341
- staticClass: "value"
6342
- }, [_vm._v(_vm._s(_vm.lngLatText && _vm.lngLatText[1] || '-'))])])]) : _vm._e()]);
6343
- };
6344
-
6345
- var __vue_staticRenderFns__$i = [function () {
6346
- var _vm = this;
6347
-
6348
- var _h = _vm.$createElement;
6349
-
6350
- var _c = _vm._self._c || _h;
6351
-
6352
- return _c('div', {
6353
- staticClass: "input-item-prepend"
6354
- }, [_c('span', {
6355
- staticClass: "input-item-text"
6356
- }, [_vm._v("搜索关键字")])]);
6357
- }];
6358
- /* style */
6359
-
6360
- const __vue_inject_styles__$j = function (inject) {
6361
- if (!inject) return;
6362
- inject("data-v-01ecaa89_0", {
6363
- source: ".ui-field-latlng-new{position:relative;font-size:12px;display:flex;flex-direction:column}.ui-field-latlng-new .tabs{width:100%;display:flex;align-items:center}.ui-field-latlng-new .tabs .tab{padding:0 10px;cursor:pointer}.ui-field-latlng-new .tabs .tab.active{color:#fff;background:#02cbff}.ui-field-latlng-new .map{width:100%;height:280px;background-color:#f5f7fa}.ui-field-latlng-new .lnglat{position:absolute;top:36px;left:0;right:0;bottom:0}.ui-field-latlng-new .lnglat .el-input .el-select{width:120px}.ui-field-latlng-new .info{position:absolute;top:36px;left:0;right:0;bottom:0;pointer-events:none}.ui-field-latlng-new .info .searchbox{left:12px;top:12px;background-color:#fff;box-shadow:0 0 3px rgba(0,0,0,.5);pointer-events:initial;border-radius:3px;padding:3px}.ui-field-latlng-new .info .searchbox .search-result{position:absolute;top:calc(100% - 2px);left:0;right:0;background-color:#fefefe;box-shadow:0 1px 3px #999;visibility:hidden;border-radius:0 0 3px 3px}.ui-field-latlng-new .info .searchbox .search-result .auto-item{white-space:nowrap;font-size:12px;cursor:pointer;padding:4px;line-height:14px}.ui-field-latlng-new .input-item{position:relative;display:inline-flex;align-items:center;width:220px;font-size:12px}.ui-field-latlng-new .input-item .input-item-prepend{margin-right:-1px}.ui-field-latlng-new .input-item .input-item-prepend .input-item-text{padding:.25em .5em;display:block;text-justify:distribute-all-lines;text-align-last:justify;align-items:center;margin-bottom:0;font-weight:400;line-height:1.5;color:#495057;text-align:center;white-space:nowrap;background-color:#e9ecef;border:1px solid #ced4da;border-radius:.25rem 0 0 .25rem;box-sizing:border-box}.ui-field-latlng-new .input-item input{position:relative;flex:1 1 auto;width:1%;margin:0;background:#fff;padding:.25em .5em;display:inline-block;line-height:1.5;color:#495057;vertical-align:middle;border:1px solid #ced4da;border-radius:0 .25rem .25rem 0;appearance:none;box-sizing:border-box}.ui-field-latlng-new .input-item input:focus{border-color:#80bdff;outline:0;box-shadow:0 0 0 .1rem rgba(128,189,255,.1)}.ui-field-latlng-new .address{width:100%;display:flex}.ui-field-latlng-new .address .address-label{flex:none;margin-right:5px}.ui-field-latlng-new .address .address-box{flex:1;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.ui-field-latlng-new .lnglat-text{width:100%;display:flex;align-items:center}.ui-field-latlng-new .lnglat-text .lat,.ui-field-latlng-new .lnglat-text .lng{flex:1;display:flex;align-items:center}.ui-field-latlng-new .lnglat-text .label{flex:none;margin-right:5px}.ui-field-latlng-new .amap-copyright,.ui-field-latlng-new .amap-logo{display:none!important}.ui-field-latlng-new .amap-ui-control-position-rt,.ui-field-latlng-new .amap-ui-control-position-tr{top:46px;right:15px}",
6364
- map: undefined,
6365
- media: undefined
6366
- });
6367
- };
6368
- /* scoped */
6369
-
6370
-
6371
- const __vue_scope_id__$j = undefined;
6372
- /* module identifier */
6373
-
6374
- const __vue_module_identifier__$j = undefined;
6375
- /* functional template */
6376
-
6377
- const __vue_is_functional_template__$j = false;
6378
- /* style inject SSR */
6379
-
6380
- /* style inject shadow dom */
6381
-
6382
- const __vue_component__$j = /*#__PURE__*/normalizeComponent({
6383
- render: __vue_render__$i,
6384
- staticRenderFns: __vue_staticRenderFns__$i
6385
- }, __vue_inject_styles__$j, __vue_script__$j, __vue_scope_id__$j, __vue_is_functional_template__$j, __vue_module_identifier__$j, false, createInjector, undefined, undefined);
6386
-
6387
- var NewLnglatField = __vue_component__$j;
6388
-
6389
- //
6390
- const CoordTypes = {
6391
- bd09: gcoord.BD09,
6392
- gcj02: gcoord.GCJ02,
6393
- wgs84: gcoord.WGS84
6394
- };
6395
- const Types = {
6396
- marker: 'AMap.Marker',
6397
- polyline: 'Overlay.Polyline',
6398
- circle: 'Overlay.Circle',
6399
- polygon: 'Overlay.Polygon'
6400
- };
6401
- var script$i = {
6402
- name: 'ui-field-fence',
6403
- mixins: [FieldMixin],
6404
- props: {
6405
- /**
6406
- * value:
6407
- * {
6408
- * markers: [[lng, lat], ...],
6409
- * circles: [{center: [lng, lat], radius}, ...],
6410
- * polylines: [[[lng,lat], ...], ...],
6411
- * polygons: [[[lng,lat], ...], ...],
6412
- * }
6413
- */
6414
- coordType: {
6415
- type: String,
6416
- default: 'wgs84',
6417
- validator: val => Object.keys(CoordTypes).includes(val)
6418
- },
6419
-
6420
- /**
6421
- * 'marker,polyline,circle,polygon'
6422
- */
6423
- tools: {
6424
- type: String,
6425
- default: 'marker,polyline,circle,polygon'
6426
- },
6427
- help: {
6428
- type: Boolean,
6429
- default: true
6430
- },
6431
- clear: {
6432
- type: Boolean,
6433
- default: true
6434
- },
6435
- multiple: {
6436
- type: Boolean,
6437
- default: false
6438
- },
6439
-
6440
- /**
6441
- * 0:表示无限制
6442
- */
6443
- limit: {
6444
- type: Number,
6445
- default: 0
6446
- },
6447
-
6448
- /**
6449
- * 地图缩放
6450
- * 缩放范围 2~20
6451
- */
6452
- zoom: {
6453
- type: Number,
6454
- default: 15,
6455
- validator: val => 2 <= val && val <= 20
6456
- },
6457
-
6458
- /**
6459
- * 中心点
6460
- * 'lng,lat' 字符串
6461
- */
6462
- center: String,
6463
- disabled: Boolean
6464
- },
6465
-
6466
- data() {
6467
- return {
6468
- loading: true,
6469
- keyword: '',
6470
- drawing: false
6471
- };
6472
- },
6473
-
6474
- computed: {
6475
- toolList() {
6476
- return (this.tools || '').split(',').filter(tool => Object.keys(Types).includes(tool));
6477
- },
6478
-
6479
- realLimit() {
6480
- if (this.multiple) {
6481
- return this.limit;
6482
- }
6483
-
6484
- return 1;
6485
- },
6486
-
6487
- isCurrentCoord() {
6488
- return this.coordType === 'gcj02';
6489
- },
6490
-
6491
- toolsVisible(_ref) {
6492
- let {
6493
- disabled,
6494
- loading
6495
- } = _ref;
6496
- return !disabled && !loading;
6497
- }
6498
-
6499
- },
6500
- watch: {
6501
- value: {
6502
- immediate: true,
6503
- handler: 'onValueChange'
6504
- },
6505
- zoom: 'setMapZoom',
6506
- center: 'setMapCenter',
6507
-
6508
- toolsVisible(visible) {
6509
- if (visible) {
6510
- var _this$toolbarControl;
6511
-
6512
- (_this$toolbarControl = this.toolbarControl) === null || _this$toolbarControl === void 0 ? void 0 : _this$toolbarControl.show();
6513
- } else {
6514
- var _this$mouseTool, _this$toolbarControl2;
6515
-
6516
- (_this$mouseTool = this.mouseTool) === null || _this$mouseTool === void 0 ? void 0 : _this$mouseTool.close();
6517
- (_this$toolbarControl2 = this.toolbarControl) === null || _this$toolbarControl2 === void 0 ? void 0 : _this$toolbarControl2.hide();
6518
- }
6519
- }
6520
-
6521
- },
6522
-
6523
- created() {
6524
- this.graph = {
6525
- polylines: [],
6526
- markers: [],
6527
- circles: [],
6528
- polygons: []
6529
- };
6530
- this.editor = {};
6531
- },
6532
-
6533
- methods: {
6534
- init() {
6535
- getAMap(['AMap.ToolBar', 'AMap.AutoComplete', 'AMap.MouseTool', 'AMap.PolygonEditor', 'AMap.PolylineEditor', 'AMap.CircleEditor'], {
6536
- AMapUI: {
6537
- version: '1.1',
6538
- plugins: ['control/BasicControl']
6539
- }
6540
- }).then(AMap => {
6541
- this.initMap(AMap);
6542
- this.loading = false;
6543
- this.done();
6544
- });
6545
- },
6546
-
6547
- initMap(AMap) {
6548
- this.AMap = AMap;
6549
- this.map = new AMap.Map(this.$el.querySelector('.map'), {
6550
- zoom: this.zoom,
6551
- isHotspot: false
6552
- });
6553
- this.initMapControl(this.map);
6554
- this.initMapAutoComplete(this.map);
6555
- this.contextMenu = this.initMapContextMenu(this.map);
6556
- this.mouseTool = this.initMapMouseTool(this.map); // 根据value初始化地图上图形
6557
-
6558
- this.onValueChange(this.value); // 初始化地图中心点
6559
-
6560
- this.setMapCenter();
6561
- },
6562
-
6563
- initMapControl(map) {
6564
- this.toolbarControl = new this.AMap.ToolBar({
6565
- position: 'LB'
6566
- });
6567
- this.layerSwitcherControl = new AMapUI.BasicControl.LayerSwitcher({
6568
- position: 'RT'
6569
- });
6570
- map.addControl(this.toolbarControl);
6571
- map.addControl(this.layerSwitcherControl);
6572
-
6573
- if (!this.toolsVisible) {
6574
- this.toolbarControl.hide();
6575
- }
6576
- },
6577
-
6578
- initMapAutoComplete(map) {
6579
- const auto = new this.AMap.AutoComplete({
6580
- input: this.$refs.input,
6581
- output: this.$refs.output
6582
- });
6583
- auto.on('select', event => {
6584
- if (!event.poi || !event.poi.location) {
6585
- return;
6586
- }
6587
-
6588
- map.setZoomAndCenter(16, event.poi.location);
6589
- });
6590
- return auto;
6591
- },
6592
-
6593
- initMapContextMenu() {
6594
- const contextMenu = new this.AMap.ContextMenu();
6595
- contextMenu.addItem('删除', () => {
6596
- const removeObj = this.contextMenuTarget;
6597
- this.removeGraph(removeObj);
6598
- removeObj.setMap(null);
6599
- this.contextMenuTarget = null; // 点击右键菜单子的某一项不会触发 contextMenu 的 close 事件
6600
- });
6601
- contextMenu.on('close', () => {
6602
- this.contextMenuTarget = null;
6603
- });
6604
- return contextMenu;
6605
- },
6606
-
6607
- initMapMouseTool(map) {
6608
- const mouseTool = new this.AMap.MouseTool(map);
6609
- mouseTool.on('draw', event => {
6610
- mouseTool.close();
6611
- this.drawing = false;
6612
- const obj = event.obj;
6613
- const isAdded = this.addGraph(obj);
6614
-
6615
- if (!isAdded) {
6616
- map.remove(obj);
6617
- return;
6618
- }
6619
-
6620
- this.initGraphEvent(obj);
6621
- this.onGraphChange();
6622
- });
6623
- return mouseTool;
6624
- },
6625
-
6626
- setMapZoom() {
6627
- if (!this.zoom || !this.map) {
6628
- return;
6629
- }
6630
-
6631
- this.map.setZoom(this.zoom);
6632
- },
6633
-
6634
- setMapCenter() {
6635
- if (!this.center || !this.map) {
6636
- return;
6637
- }
6638
-
6639
- const [lng, lat] = this.center.split(',');
6640
-
6641
- if (!lng || !lat) {
6642
- return;
6643
- }
6644
-
6645
- this.map.setCenter([+lng, +lat]);
6646
- this.setMapZoom();
6647
- },
6648
-
6649
- getToolClass(tool) {
6650
- if (this.realLimit <= 0 || !this.multiple) {
6651
- return tool;
6652
- }
6653
-
6654
- const {
6655
- markers,
6656
- circles,
6657
- polylines,
6658
- polygons
6659
- } = this.value || {};
6660
- let length = 0;
6661
-
6662
- if (tool === 'marker') {
6663
- length = (markers || []).length;
6664
- } else if (tool === 'circle') {
6665
- length = (circles || []).length;
6666
- } else if (tool === 'polyline') {
6667
- length = (polylines || []).length;
6668
- } else if (tool === 'polygon') {
6669
- length = (polygons || []).length;
6670
- }
6671
-
6672
- if (length >= this.realLimit) {
6673
- return tool + ' disabled';
6674
- }
6675
-
6676
- return tool;
6677
- },
6678
-
6679
- onValueChange(value) {
6680
- if (!this.map) {
6681
- return;
6682
- }
6683
-
6684
- const {
6685
- markers,
6686
- circles,
6687
- polylines,
6688
- polygons
6689
- } = value || {};
6690
- const removedMarkers = this.graph.markers.slice((markers || []).length);
6691
- const removedCircles = this.graph.circles.slice((circles || []).length);
6692
- const removedPolylines = this.graph.polylines.slice((polylines || []).length);
6693
- const removedPolygons = this.graph.polygons.slice((polygons || []).length);
6694
- [...removedMarkers, ...removedCircles, ...removedPolylines, ...removedPolygons].forEach(item => item.setMap(null));
6695
- (markers || []).forEach((markerData, index) => {
6696
- let mapMarker = this.graph.markers[index];
6697
- const lngLatData = this.getMapLngLatData(markers[index]);
6698
- const position = new this.AMap.LngLat(lngLatData[0], lngLatData[1]);
6699
-
6700
- if (!mapMarker) {
6701
- mapMarker = new this.AMap.Marker({
6702
- map: this.map,
6703
- position: position
6704
- });
6705
- this.addGraph(mapMarker);
6706
- this.initGraphEvent(mapMarker);
6707
- } else {
6708
- mapMarker.setPosition(position);
6709
- }
6710
- });
6711
- (circles || []).forEach((circleData, index) => {
6712
- let mapCircle = this.graph.circles[index];
6713
- const lngLatData = this.getMapLngLatData(circleData.center);
6714
- const lngLat = new this.AMap.LngLat(lngLatData[0], lngLatData[1]);
6715
-
6716
- if (!mapCircle) {
6717
- mapCircle = new this.AMap.Circle({
6718
- map: this.map,
6719
- center: lngLat,
6720
- radius: circleData.radius
6721
- });
6722
- this.map.add(mapCircle);
6723
- this.addGraph(mapCircle);
6724
- this.initGraphEvent(mapCircle);
6725
- } else {
6726
- mapCircle.setCenter(lngLat);
6727
- mapCircle.setRadius(circleData.radius);
6728
- }
6729
- });
6730
- (polylines || []).forEach((polylineData, index) => {
6731
- let mapPolyline = this.graph.polylines[index];
6732
- const path = polylineData.map(item => this.getMapLngLatData(item)).map(item => new this.AMap.LngLat(item[0], item[1]));
6733
-
6734
- if (!mapPolyline) {
6735
- mapPolyline = new this.AMap.Polyline({
6736
- path: path
6737
- });
6738
- this.map.add(mapPolyline);
6739
- this.addGraph(mapPolyline);
6740
- this.initGraphEvent(mapPolyline);
6741
- } else {
6742
- mapPolyline.setPath(path);
6743
- }
6744
- });
6745
- (polygons || []).forEach((polygonData, index) => {
6746
- let mapPolygon = this.graph.polygons[index];
6747
- const path = polygonData.map(item => this.getMapLngLatData(item)).map(item => new this.AMap.LngLat(item[0], item[1]));
6748
-
6749
- if (!mapPolygon) {
6750
- mapPolygon = new this.AMap.Polygon({
6751
- path
6752
- });
6753
- this.map.add(mapPolygon);
6754
- this.addGraph(mapPolygon);
6755
- this.initGraphEvent(mapPolygon);
6756
- } else {
6757
- mapPolygon.setPath(path);
6758
- }
6759
- });
6760
- this.map.setFitView();
6761
- },
6762
-
6763
- onGraphChange() {
6764
- const {
6765
- markers,
6766
- circles,
6767
- polylines,
6768
- polygons
6769
- } = this.graph;
6770
- const value = {
6771
- markers: this.getMarkerValue(markers),
6772
- circles: this.getCircleValue(circles),
6773
- polylines: this.getPolylineValue(polylines),
6774
- polygons: this.getPolygonValue(polygons)
6775
- };
6776
- const count = Object.values(value).reduce((total, item) => total + item.length, 0);
6777
-
6778
- if (count <= 0) {
6779
- // required 效果
6780
- this.onChange();
6781
- return;
6782
- }
6783
-
6784
- this.onChange(Object.freeze(value));
6785
- },
6786
-
6787
- onEditorChange() {
6788
- if (this.drawing) {
6789
- return;
6790
- }
6791
-
6792
- this.onGraphChange();
6793
- },
6794
-
6795
- // onEditorAdd(obj) {
6796
- // this.initGraphEvent(obj);
6797
- // this.addGraph(obj);
6798
- // this.drawing = false;
6799
- // },
6800
- // 使用 mouseTool 方式添加图形. editor方式添加的图形有bug(PolylineEditor 添加的初始线段无法响应click和rightclick事件)
6801
- draw(type) {
6802
- this.closeEditors();
6803
-
6804
- if (type === 'marker') {
6805
- this.drawMarker();
6806
- } else if (type === 'circle') {
6807
- this.drawCircle();
6808
- } else if (type === 'polyline') {
6809
- this.drawPolyline();
6810
- } else if (type === 'polygon') {
6811
- this.drawPolygon();
6812
- }
6813
-
6814
- this.drawing = true;
6815
- },
6816
-
6817
- drawMarker() {
6818
- this.mouseTool.marker();
6819
- },
6820
-
6821
- drawCircle() {
6822
- this.mouseTool.circle();
6823
- },
6824
-
6825
- drawPolyline() {
6826
- this.mouseTool.polyline();
6827
- },
6828
-
6829
- drawPolygon() {
6830
- this.mouseTool.polygon();
6831
- },
6832
-
6833
- initGraphEvent(graph) {
6834
- graph.on('rightclick', e => {
6835
- const editor = this.getEditor(graph.className);
6836
-
6837
- if (editor && editor.getTarget() === graph) {
6838
- this.closeEditor(editor);
6839
- }
6840
-
6841
- this.contextMenuTarget = graph;
6842
- this.contextMenu.open(this.map, e.lnglat);
6843
- });
6844
- const editors = ['Overlay.Polyline', 'Overlay.Circle', 'Overlay.Polygon'];
6845
-
6846
- if (!editors.includes(graph.className)) {
6847
- return;
6848
- }
6849
-
6850
- graph.on('click', () => {
6851
- const editor = this.getEditor(graph.className);
6852
- const target = editor.getTarget();
6853
-
6854
- if (target && target === graph) {
6855
- this.closeEditor(editor);
6856
- return;
6857
- }
6858
-
6859
- this.closeEditors();
6860
- editor.setTarget(graph);
6861
- editor.open();
6862
- });
6863
- },
6864
-
6865
- removeGraph(graph) {
6866
- const extData = graph.getExtData();
6867
- const {
6868
- index
6869
- } = extData || {};
6870
- let list;
6871
-
6872
- if (graph.className === 'AMap.Marker') {
6873
- list = this.graph.markers;
6874
- } else if (graph.className === 'Overlay.Circle') {
6875
- list = this.graph.circles;
6876
- } else if (graph.className === 'Overlay.Polyline') {
6877
- list = this.graph.polylines;
6878
- } else if (graph.className === 'Overlay.Polygon') {
6879
- list = this.graph.polygons;
6880
- } else {
6881
- list = [];
6882
- }
6883
-
6884
- list.splice(index, 1);
6885
- this.onGraphChange();
6886
- },
6887
-
6888
- addGraph(graph) {
6889
- if (graph.className === 'Overlay.Polyline') {
6890
- return this.addPolyline(graph);
6891
- } else if (graph.className === 'AMap.Marker') {
6892
- return this.addMarker(graph);
6893
- } else if (graph.className === 'Overlay.Circle') {
6894
- return this.addCircle(graph);
6895
- } else if (graph.className === 'Overlay.Polygon') {
6896
- return this.addPolygon(graph);
6897
- }
6898
- },
6899
-
6900
- addMarker(marker) {
6901
- if (!this.multiple) {
6902
- this.graph.markers.forEach(item => item.setMap(null));
6903
- this.graph.markers.length = 0;
6904
- }
6905
-
6906
- const index = this.graph.markers.length;
6907
- marker.setExtData({
6908
- index
6909
- });
6910
- this.graph.markers.push(marker);
6911
- return true;
6912
- },
6913
-
6914
- addCircle(circle) {
6915
- if (circle.getRadius() <= 0) {
6916
- return false;
6917
- }
6918
-
6919
- if (!this.multiple) {
6920
- this.graph.circles.forEach(item => item.setMap(null));
6921
- this.graph.circles.length = 0;
6922
- }
6923
-
6924
- const index = this.graph.circles.length;
6925
- circle.setExtData({
6926
- index
6927
- });
6928
- this.graph.circles.push(circle);
6929
- return true;
6930
- },
6931
-
6932
- addPolyline(polyline) {
6933
- if (polyline.getLength() <= 0) {
6934
- return false;
6935
- }
6936
-
6937
- if (!this.multiple) {
6938
- this.graph.polylines.forEach(item => item.setMap(null));
6939
- this.graph.polylines.length = 0;
6940
- }
6941
-
6942
- const index = this.graph.polylines.length;
6943
- polyline.setExtData({
6944
- index
6945
- });
6946
- this.graph.polylines.push(polyline);
6947
- return true;
6948
- },
6949
-
6950
- addPolygon(polygon) {
6951
- if (polygon.getArea() <= 0) {
6952
- this.$message.info('绘制多边形时请至少绘制3个点');
6953
- return false;
6954
- }
6955
-
6956
- if (!this.multiple) {
6957
- this.graph.polygons.forEach(item => item.setMap(null));
6958
- this.graph.polygons.length = 0;
6959
- }
6960
-
6961
- const index = this.graph.polygons.length;
6962
- polygon.setExtData({
6963
- index
6964
- });
6965
- this.graph.polygons.push(polygon);
6966
- return true;
6967
- },
6968
-
6969
- getEditor(type) {
6970
- if (type === 'Overlay.Circle') {
6971
- return this.editor.circle || this.initCircleEditor();
6972
- } else if (type === 'Overlay.Polyline') {
6973
- return this.editor.polyline || this.initPolylineEditor();
6974
- } else if (type === 'Overlay.Polygon') {
6975
- return this.editor.polygon || this.initPolygonEditor();
6976
- }
6977
- },
6978
-
6979
- initCircleEditor() {
6980
- const circleEditor = new this.AMap.CircleEditor(this.map);
6981
- this.editor.circle = circleEditor;
6982
- this.initEditorEvent(circleEditor);
6983
- return circleEditor;
6984
- },
6985
-
6986
- initPolylineEditor() {
6987
- const polylineEditor = new this.AMap.PolylineEditor(this.map);
6988
- this.editor.polyline = polylineEditor;
6989
- this.initEditorEvent(polylineEditor);
6990
- return polylineEditor;
6991
- },
6992
-
6993
- initPolygonEditor() {
6994
- const polygonEditor = new this.AMap.PolygonEditor(this.map);
6995
- this.editor.polygon = polygonEditor;
6996
- this.initEditorEvent(polygonEditor);
6997
- return polygonEditor;
6998
- },
6999
-
7000
- initEditorEvent(editor) {
7001
- editor.on('addnode', () => this.onEditorChange());
7002
- editor.on('adjust', () => this.onEditorChange());
7003
- editor.on('move', () => this.onEditorChange()); // editor.on('add', (event) => this.onEditorAdd(event.target));
7004
- },
7005
-
7006
- closeEditor(editor) {
7007
- editor.setTarget();
7008
- editor.close();
7009
- },
7010
-
7011
- closeEditors() {
7012
- Object.values(this.editor).forEach(editor => this.closeEditor(editor));
7013
- },
7014
-
7015
- getMapLngLatData(point) {
7016
- let [lng, lat] = point;
7017
-
7018
- if (!this.isCurrentCoord) {
7019
- [lng, lat] = gcoord.transform([lng, lat], CoordTypes[this.coordType], gcoord.GCJ02);
7020
- }
7021
-
7022
- return [lng, lat];
7023
- },
7024
-
7025
- getPoint(lngLat) {
7026
- let [lng, lat] = lngLat;
7027
-
7028
- if (!this.isCurrentCoord) {
7029
- [lng, lat] = gcoord.transform([lng, lat], gcoord.GCJ02, CoordTypes[this.coordType]);
7030
- lng = lng.toFixed(7) / 1;
7031
- lat = lat.toFixed(7) / 1;
7032
- }
7033
-
7034
- return [lng, lat];
7035
- },
7036
-
7037
- getMarkerValue(markers) {
7038
- return (markers || []).map(marker => {
7039
- const lngLat = marker.getPosition();
7040
- return this.getPoint([lngLat.getLng(), lngLat.getLat()]);
7041
- });
7042
- },
7043
-
7044
- getCircleValue(circles) {
7045
- return (circles || []).map(circle => {
7046
- const radius = circle.getRadius();
7047
- const lngLat = circle.getCenter();
7048
- return {
7049
- center: this.getPoint([lngLat.getLng(), lngLat.getLat()]),
7050
- radius
7051
- };
7052
- });
7053
- },
7054
-
7055
- getPolylineValue(polylines) {
7056
- return (polylines || []).map(polyline => {
7057
- const path = polyline.getPath();
7058
- return path.map(item => this.getPoint([item.getLng(), item.getLat()]));
7059
- });
7060
- },
7061
-
7062
- getPolygonValue(polygons) {
7063
- return (polygons || []).map(polygon => {
7064
- const path = polygon.getPath();
7065
- return path.map(item => this.getPoint([item.getLng(), item.getLat()]));
7066
- });
7067
- },
7068
-
7069
- async handleClear(warn) {
7070
- if (warn) {
7071
- const [, confirm] = await to(this.$confirm('确认清空地图上所有的图形?', '提示', {
7072
- type: 'warning'
7073
- }));
7074
-
7075
- if (!confirm) {
7076
- return;
7077
- }
7078
- }
7079
-
7080
- this.closeEditors();
7081
- this.contextMenu.close();
7082
- Object.values(this.graph).forEach(items => items.forEach(item => item.setMap(null)));
7083
- this.graph = {
7084
- polylines: [],
7085
- markers: [],
7086
- circles: [],
7087
- polygons: []
7088
- };
7089
- this.onGraphChange();
7090
- }
7091
-
7092
- }
7093
- };
7094
-
7095
- /* script */
7096
- const __vue_script__$i = script$i;
7097
- /* template */
7098
-
7099
- var __vue_render__$h = function () {
7100
- var _vm = this;
7101
-
7102
- var _h = _vm.$createElement;
7103
-
7104
- var _c = _vm._self._c || _h;
7105
-
7106
- return _c('div', {
7107
- directives: [{
7108
- name: "loading",
7109
- rawName: "v-loading",
7110
- value: _vm.loading,
7111
- expression: "loading"
7112
- }],
7113
- staticClass: "ui-field-fence"
7114
- }, [_c('div', {
7115
- staticClass: "map"
7116
- }), _vm._v(" "), _c('div', {
7117
- directives: [{
7118
- name: "show",
7119
- rawName: "v-show",
7120
- value: _vm.toolsVisible,
7121
- expression: "toolsVisible"
7122
- }],
7123
- staticClass: "info"
7124
- }, [_c('div', {
7125
- staticClass: "input-item searchbox"
7126
- }, [_vm._m(0), _vm._v(" "), _c('input', {
7127
- ref: "input",
7128
- attrs: {
7129
- "type": "text",
7130
- "form": "__ignore__",
7131
- "placeholder": "请在地图上选择位置"
7132
- }
7133
- }), _vm._v(" "), _c('div', {
7134
- ref: "output",
7135
- staticClass: "search-result"
7136
- })])]), _vm._v(" "), _c('div', {
7137
- directives: [{
7138
- name: "show",
7139
- rawName: "v-show",
7140
- value: _vm.toolsVisible,
7141
- expression: "toolsVisible"
7142
- }],
7143
- staticClass: "tools",
7144
- class: {
7145
- disabled: _vm.drawing
7146
- }
7147
- }, [_vm.toolList.length > 0 && _vm.help ? _c('div', {
7148
- staticClass: "tool help"
7149
- }) : _vm._e(), _vm._v(" "), _vm._l(_vm.toolList, function (tool) {
7150
- return _c('div', {
7151
- key: tool,
7152
- staticClass: "tool",
7153
- class: _vm.getToolClass(tool),
7154
- on: {
7155
- "click": function ($event) {
7156
- return _vm.draw(tool);
7157
- }
7158
- }
7159
- });
7160
- }), _vm._v(" "), _vm.toolList.length > 0 && _vm.clear ? _c('div', {
7161
- staticClass: "tool clear",
7162
- on: {
7163
- "click": function ($event) {
7164
- return _vm.handleClear(true);
7165
- }
7166
- }
7167
- }) : _vm._e()], 2)]);
7168
- };
7169
-
7170
- var __vue_staticRenderFns__$h = [function () {
7171
- var _vm = this;
7172
-
7173
- var _h = _vm.$createElement;
7174
-
7175
- var _c = _vm._self._c || _h;
7176
-
7177
- return _c('div', {
7178
- staticClass: "input-item-prepend"
7179
- }, [_c('span', {
7180
- staticClass: "input-item-text"
7181
- }, [_vm._v("搜索关键字")])]);
7182
- }];
7183
- /* style */
7184
-
7185
- const __vue_inject_styles__$i = function (inject) {
7186
- if (!inject) return;
7187
- inject("data-v-740cb938_0", {
7188
- source: ".ui-field-fence{width:100%;height:280px;position:relative}.ui-field-fence .map{width:100%;height:100%}.ui-field-fence .info{position:absolute;top:0;left:0;right:0;bottom:0;pointer-events:none}.ui-field-fence .info .searchbox{left:12px;top:12px;background-color:#fff;box-shadow:0 0 3px rgba(0,0,0,.5);pointer-events:initial;border-radius:3px;padding:3px}.ui-field-fence .info .searchbox .search-result{overflow:auto;position:absolute;top:calc(100% - 2px);left:0;right:0;background-color:#fefefe;box-shadow:0 1px 3px #999;visibility:hidden;border-radius:0 0 3px 3px}.ui-field-fence .info .searchbox .search-result .auto-item{white-space:nowrap;font-size:12px;cursor:pointer;padding:4px;line-height:14px}.ui-field-fence .input-item{position:relative;display:inline-flex;align-items:center;width:220px;font-size:12px}.ui-field-fence .input-item .input-item-prepend{margin-right:-1px}.ui-field-fence .input-item .input-item-prepend .input-item-text{padding:.25em .5em;display:block;text-justify:distribute-all-lines;text-align-last:justify;align-items:center;margin-bottom:0;font-weight:400;line-height:1.5;color:#495057;text-align:center;white-space:nowrap;background-color:#e9ecef;border:1px solid #ced4da;border-radius:.25rem 0 0 .25rem;box-sizing:border-box}.ui-field-fence .input-item input{position:relative;flex:1 1 auto;width:1%;margin:0;background:#fff;padding:.25em .5em;display:inline-block;line-height:1.5;color:#495057;vertical-align:middle;border:1px solid #ced4da;border-radius:0 .25rem .25rem 0;appearance:none;box-sizing:border-box}.ui-field-fence .input-item input:focus{border-color:#80bdff;outline:0;box-shadow:0 0 0 .1rem rgba(128,189,255,.1)}.ui-field-fence .tools{position:absolute;bottom:15px;left:50%;transform:translateX(-50%);display:flex;flex-direction:row;border-radius:4px;background-color:#fff;box-shadow:0 0 3px rgba(0,0,0,.5)}.ui-field-fence .tools .tool{width:32px;height:32px;box-sizing:border-box;background:#fff center no-repeat;background-size:18px;cursor:pointer;position:relative}.ui-field-fence .tools .tool:first-of-type{border-radius:4px 0 0 4px}.ui-field-fence .tools .tool:last-of-type{border-radius:0 4px 4px 0}.ui-field-fence .tools .tool:hover{background-color:#f0f0f0}.ui-field-fence .tools .tool::before{position:absolute;top:0;left:50%;transform:translate(-50%,-100%);padding:4px 8px;border-radius:4px;background-color:#fff;box-shadow:0 0 3px rgba(0,0,0,.5);color:#666;font-size:12px;line-height:16px;transition:all .2s ease-in-out;opacity:0;word-break:keep-all;visibility:hidden;pointer-events:none}.ui-field-fence .tools .tool:hover::before{top:-4px;opacity:1;visibility:visible}.ui-field-fence .tools .tool+.tool{border-left:1px solid #eee}.ui-field-fence .tools .tool.marker{background-image:url(data:image/png;base64,iVBORw0KGgoAA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QAyMDIwLTExLTE5VDE1OjQ1OjEyKzA4OjAwrJXLigAAACV0RVh0ZGF0ZTptb2RpZnkAMjAyMC0xMS0xOVQxNTo0NToxMiswODowMN3IczYAAABJdEVYdHN2ZzpiYXNlLXVyaQBmaWxlOi8vL2hvbWUvYWRtaW4vaWNvbi1mb250L3RtcC9pY29uX3UwYjMwZjhjMm0vZGlhbndlaS5zdmcHvXebAAAAAElFTkSuQmCC)}.ui-field-fence .tools .tool.circle{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgEAYAAAAj6qa3AAAABGdBTUEAALGPC/xhBQAAAAFzUkdCAK7OHOkAAAAgY0hSTQAAeiYAAICEAAD6AAAAgOgAAHUwAADqYAAAOpgAABdwnLpRPAAAAAZiS0dEAAAAAAAA+UO7fwAAAAlwSFlzAAAASAAAAEgARslrPgAABmRJREFUaN7tmHtQVOcZxp/vLIsgkbWDQ9UmYiO1BCwKRtjvHDgrSQS2SWYySUHjBXGcAeOlkHEcBw2KikWCyWATR1CmacZhMOC0mpAQBVHYBRZl18vUSbwwI64hEgVMpLBb2PP2D7ob22RbgSXbTPz9d853znve5/mu7wEe8eNk0cXIosiigAAdSRRLCxfqSIwUI+fMGWkcwdtCRkv/1Elpk9JCQ0lHkiCePk1RdJSO7t79kzHAU/zkDfDxVCApSAqSgiZNUmVhk2OrXk9a2icUxcayDqTS1xERRPg9NqlUrI3qMP2LLxoPtmS2ZKan/2gNiM+Oz47PnjYNPUPrh9bn5LAXqVjJW7kS7+BDVhUYyOrwS5oJADgHAAxYgZMALWeHkVhXh4PfHze8MrwyvNLXN4g0z2qe3bXLbQKLFH/FPzgYkxkAgIyshJWEh8d/zLt5d2Ghu9fIhlSkGgzGlS2nWk5VV7MRCz8rXom9vXgxJuKksH//frYWFagLCsJG6CH399NzmIeDR46gh6VTdH09TWY3lJLz56GH3neVzaYyqAwqQ09PA2tgDezevf+M7xpJEfRrZfY333ikmx9kLbuCycXFjUuaultqXn/9oQ2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Xf5gy4f7MmWmkXNXC1+/fjVSqkirY2VCIDwwsLLhesQhTU09MW4abtnnu5xrw8V+e1wQZuwh8O+xrVlxHM2AAAACV0RVh0ZGF0ZTpjcmVhdGUAMjAyMC0xMS0xOVQxODo1NzowMSswODowMNOAvgoAAAAldEVYdGRhdGU6bW9kaWZ5ADIwMjAtMTEtMTlUMTg6NTc6MDErMDg6MDCi3Qa2AAAATHRFWHRzdmc6YmFzZS11cmkAZmlsZTovLy9ob21lL2FkbWluL2ljb24tZm9udC90bXAvaWNvbl91Mmh4aGJndGdvL3Fpbmdrb25nXzEuc3ZnghROGAAAAABJRU5ErkJggg==)}.ui-field-fence .tools .tool.marker:before{content:'绘制点标注'}.ui-field-fence .tools .tool.circle:before{content:'绘制圆形'}.ui-field-fence .tools .tool.polyline:before{content:'绘制折线'}.ui-field-fence .tools .tool.polygon:before{content:'绘制多边形'}.ui-field-fence .tools .tool.help:before{content:'1.点击要绘制的图形\\A 2.在地图上进行绘制,其中折线和多边形双击结束绘制\\A 3.点击已经绘制好的地图进入编辑模式,再次点击退出编辑模式\\A 4.在绘制好了的图形上右键可以删除该图形';white-space:pre}.ui-field-fence .tools .tool.clear:before{content:'清空所有图形'}.ui-field-fence .tools .tool.disabled,.ui-field-fence .tools.disabled .tool:not(.help){filter:opacity(.3);cursor:none;pointer-events:none}.ui-field-fence .close-btn{position:absolute;bottom:15px;left:50%;transform:translateX(-50%);display:inline-block;padding:0 12px;font-size:12px;line-height:32px;border-radius:4px;background-color:#fff;cursor:pointer;box-shadow:0 0 3px rgba(0,0,0,.5)}.ui-field-fence .close-btn:hover{background-color:#f0f0f0}.ui-field-fence .amap-copyright,.ui-field-fence .amap-logo{display:none!important}.ui-field-fence .amap-ui-control-position-rt,.ui-field-fence .amap-ui-control-position-tr{top:15px;right:15px}",
7189
- map: undefined,
7190
- media: undefined
7191
- });
7192
- };
7193
- /* scoped */
7194
-
7195
-
7196
- const __vue_scope_id__$i = undefined;
7197
- /* module identifier */
7198
-
7199
- const __vue_module_identifier__$i = undefined;
7200
- /* functional template */
7201
-
7202
- const __vue_is_functional_template__$i = false;
7203
- /* style inject SSR */
7204
-
7205
- /* style inject shadow dom */
7206
-
7207
- const __vue_component__$i = /*#__PURE__*/normalizeComponent({
7208
- render: __vue_render__$h,
7209
- staticRenderFns: __vue_staticRenderFns__$h
7210
- }, __vue_inject_styles__$i, __vue_script__$i, __vue_scope_id__$i, __vue_is_functional_template__$i, __vue_module_identifier__$i, false, createInjector, undefined, undefined);
7211
-
7212
- var FenceField = __vue_component__$i;
7213
-
7214
- const fields = Object.create(null, {
7215
- text: {
7216
- enumerable: true,
7217
- value: TextField
7218
- },
7219
- textarea: {
7220
- enumerable: true,
7221
- value: TextField
7222
- },
7223
- password: {
7224
- enumerable: true,
7225
- value: TextField
7226
- }
7227
- });
7228
- const FormFields = {
7229
- TextField,
7230
- HiddenField,
7231
- DisplayField,
7232
- AutocompleteField,
7233
- RadioField,
7234
- CheckboxField,
7235
- SelectField,
7236
- NumberField,
7237
- CascadeField,
7238
- DateField,
7239
- DatecCalendarField,
7240
- TimePickerField,
7241
- TimeSelectField,
7242
- SliderField,
7243
- SwitchField,
7244
- RateField,
7245
- ColorField,
7246
- RichField,
7247
- FileUploadField,
7248
- ImageUploadField,
7249
- TriggerField,
7250
- IconsField,
7251
- LnglatField,
7252
- NewLnglatField,
7253
- FenceField
5698
+ });
5699
+ const FormFields = {
5700
+ TextField,
5701
+ HiddenField,
5702
+ DisplayField,
5703
+ AutocompleteField,
5704
+ RadioField,
5705
+ CheckboxField,
5706
+ SelectField,
5707
+ NumberField,
5708
+ CascadeField,
5709
+ DateField,
5710
+ DatecCalendarField,
5711
+ TimePickerField,
5712
+ TimeSelectField,
5713
+ SliderField,
5714
+ SwitchField,
5715
+ RateField,
5716
+ ColorField,
5717
+ RichField,
5718
+ FileUploadField,
5719
+ ImageUploadField,
5720
+ TriggerField,
5721
+ IconsField
7254
5722
  };
7255
5723
  /**
7256
5724
  *
@@ -7259,11 +5727,10 @@ const FormFields = {
7259
5727
  */
7260
5728
 
7261
5729
  const addFieldType = (type, field) => {
7262
- if (Objects.hasProp(fields, type)) {
7263
- console.warn(`already have a ${type} field`);
7264
- return;
7265
- }
7266
-
5730
+ // if (Objects.hasProp(fields, type)) {
5731
+ // console.warn(`already have a ${type} field`);
5732
+ // return;
5733
+ // }
7267
5734
  fields[type] = field;
7268
5735
  };
7269
5736
 
@@ -13417,4 +11884,4 @@ var index = {
13417
11884
  Components: ComponentList
13418
11885
  };
13419
11886
 
13420
- export { arrays as Arrays, Axios, Date$1 as Dates, FieldMixin, mixin as HistoryMixin, Objects, Router, Store, Strings, Upload, addFieldType, addVType, index as default, getAMap, onReady };
11887
+ export { arrays as Arrays, Axios, Date$1 as Dates, FieldMixin, mixin as HistoryMixin, Objects, Router, Store, Strings, Upload, addFieldType, addVType, index as default, onReady };