@v2coding/ui 1.1.14 → 1.2.0

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 { addResizeListener, removeResizeListener } from 'element-ui/lib/utils/resize-event';
19
17
  import { Multipane, MultipaneResizer } from 'vue-multipane';
20
18
 
@@ -118,11 +116,6 @@ const DefaultSetting = {
118
116
  timeout: 30000,
119
117
  baseURL: process.env.VUE_APP_DOMAIN || 'http://localhost:8080' // eslint-disable-line
120
118
 
121
- },
122
- amap: {
123
- version: '2.0',
124
- key: process.env.VUE_APP_AMAP_KEY // eslint-disable-line
125
-
126
119
  },
127
120
  uploadType: 'oss',
128
121
  uploadSignUrl: '/aliyun/oss'
@@ -1079,7 +1072,7 @@ var Directives = {
1079
1072
  };
1080
1073
 
1081
1074
  //
1082
- var script$E = {
1075
+ var script$B = {
1083
1076
  name: 'ui-icon',
1084
1077
  props: {
1085
1078
  name: String
@@ -1249,10 +1242,10 @@ function addStyle(id, css) {
1249
1242
  }
1250
1243
 
1251
1244
  /* script */
1252
- const __vue_script__$F = script$E;
1245
+ const __vue_script__$C = script$B;
1253
1246
  /* template */
1254
1247
 
1255
- var __vue_render__$F = function () {
1248
+ var __vue_render__$C = function () {
1256
1249
  var _vm = this;
1257
1250
 
1258
1251
  var _h = _vm.$createElement;
@@ -1271,10 +1264,10 @@ var __vue_render__$F = function () {
1271
1264
  })]);
1272
1265
  };
1273
1266
 
1274
- var __vue_staticRenderFns__$F = [];
1267
+ var __vue_staticRenderFns__$C = [];
1275
1268
  /* style */
1276
1269
 
1277
- const __vue_inject_styles__$F = function (inject) {
1270
+ const __vue_inject_styles__$C = function (inject) {
1278
1271
  if (!inject) return;
1279
1272
  inject("data-v-aaa469fe_0", {
1280
1273
  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)}}",
@@ -1285,23 +1278,23 @@ const __vue_inject_styles__$F = function (inject) {
1285
1278
  /* scoped */
1286
1279
 
1287
1280
 
1288
- const __vue_scope_id__$F = "data-v-aaa469fe";
1281
+ const __vue_scope_id__$C = "data-v-aaa469fe";
1289
1282
  /* module identifier */
1290
1283
 
1291
- const __vue_module_identifier__$F = undefined;
1284
+ const __vue_module_identifier__$C = undefined;
1292
1285
  /* functional template */
1293
1286
 
1294
- const __vue_is_functional_template__$F = false;
1287
+ const __vue_is_functional_template__$C = false;
1295
1288
  /* style inject SSR */
1296
1289
 
1297
1290
  /* style inject shadow dom */
1298
1291
 
1299
- const __vue_component__$F = /*#__PURE__*/normalizeComponent({
1300
- render: __vue_render__$F,
1301
- staticRenderFns: __vue_staticRenderFns__$F
1302
- }, __vue_inject_styles__$F, __vue_script__$F, __vue_scope_id__$F, __vue_is_functional_template__$F, __vue_module_identifier__$F, false, createInjector, undefined, undefined);
1292
+ const __vue_component__$C = /*#__PURE__*/normalizeComponent({
1293
+ render: __vue_render__$C,
1294
+ staticRenderFns: __vue_staticRenderFns__$C
1295
+ }, __vue_inject_styles__$C, __vue_script__$C, __vue_scope_id__$C, __vue_is_functional_template__$C, __vue_module_identifier__$C, false, createInjector, undefined, undefined);
1303
1296
 
1304
- var Icon$1 = __vue_component__$F;
1297
+ var Icon$1 = __vue_component__$C;
1305
1298
 
1306
1299
  var Icon = {
1307
1300
  install: Vue => {
@@ -2093,17 +2086,17 @@ var DisplayField = {
2093
2086
  };
2094
2087
 
2095
2088
  //
2096
- var script$D = {
2089
+ var script$A = {
2097
2090
  name: 'ui-field-autocomplete',
2098
2091
  inheritAttrs: false,
2099
2092
  mixins: [FieldMixin]
2100
2093
  };
2101
2094
 
2102
2095
  /* script */
2103
- const __vue_script__$E = script$D;
2096
+ const __vue_script__$B = script$A;
2104
2097
  /* template */
2105
2098
 
2106
- var __vue_render__$E = function () {
2099
+ var __vue_render__$B = function () {
2107
2100
  var _vm = this;
2108
2101
 
2109
2102
  var _h = _vm.$createElement;
@@ -2117,34 +2110,34 @@ var __vue_render__$E = function () {
2117
2110
  }, 'el-autocomplete', _vm.$attrs, false), _vm.$listeners));
2118
2111
  };
2119
2112
 
2120
- var __vue_staticRenderFns__$E = [];
2113
+ var __vue_staticRenderFns__$B = [];
2121
2114
  /* style */
2122
2115
 
2123
- const __vue_inject_styles__$E = undefined;
2116
+ const __vue_inject_styles__$B = undefined;
2124
2117
  /* scoped */
2125
2118
 
2126
- const __vue_scope_id__$E = undefined;
2119
+ const __vue_scope_id__$B = undefined;
2127
2120
  /* module identifier */
2128
2121
 
2129
- const __vue_module_identifier__$E = undefined;
2122
+ const __vue_module_identifier__$B = undefined;
2130
2123
  /* functional template */
2131
2124
 
2132
- const __vue_is_functional_template__$E = false;
2125
+ const __vue_is_functional_template__$B = false;
2133
2126
  /* style inject */
2134
2127
 
2135
2128
  /* style inject SSR */
2136
2129
 
2137
2130
  /* style inject shadow dom */
2138
2131
 
2139
- const __vue_component__$E = /*#__PURE__*/normalizeComponent({
2140
- render: __vue_render__$E,
2141
- staticRenderFns: __vue_staticRenderFns__$E
2142
- }, __vue_inject_styles__$E, __vue_script__$E, __vue_scope_id__$E, __vue_is_functional_template__$E, __vue_module_identifier__$E, false, undefined, undefined, undefined);
2132
+ const __vue_component__$B = /*#__PURE__*/normalizeComponent({
2133
+ render: __vue_render__$B,
2134
+ staticRenderFns: __vue_staticRenderFns__$B
2135
+ }, __vue_inject_styles__$B, __vue_script__$B, __vue_scope_id__$B, __vue_is_functional_template__$B, __vue_module_identifier__$B, false, undefined, undefined, undefined);
2143
2136
 
2144
- var AutocompleteField = __vue_component__$E;
2137
+ var AutocompleteField = __vue_component__$B;
2145
2138
 
2146
2139
  //
2147
- var script$C = {
2140
+ var script$z = {
2148
2141
  name: 'ui-field-text',
2149
2142
  inheritAttrs: false,
2150
2143
  mixins: [FieldMixin],
@@ -2199,10 +2192,10 @@ var script$C = {
2199
2192
  };
2200
2193
 
2201
2194
  /* script */
2202
- const __vue_script__$D = script$C;
2195
+ const __vue_script__$A = script$z;
2203
2196
  /* template */
2204
2197
 
2205
- var __vue_render__$D = function () {
2198
+ var __vue_render__$A = function () {
2206
2199
  var _vm = this;
2207
2200
 
2208
2201
  var _h = _vm.$createElement;
@@ -2225,10 +2218,10 @@ var __vue_render__$D = function () {
2225
2218
  }, 'el-input', _vm.$attrs, false), _vm._listeners));
2226
2219
  };
2227
2220
 
2228
- var __vue_staticRenderFns__$D = [];
2221
+ var __vue_staticRenderFns__$A = [];
2229
2222
  /* style */
2230
2223
 
2231
- const __vue_inject_styles__$D = function (inject) {
2224
+ const __vue_inject_styles__$A = function (inject) {
2232
2225
  if (!inject) return;
2233
2226
  inject("data-v-44711bc5_0", {
2234
2227
  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}",
@@ -2239,23 +2232,23 @@ const __vue_inject_styles__$D = function (inject) {
2239
2232
  /* scoped */
2240
2233
 
2241
2234
 
2242
- const __vue_scope_id__$D = undefined;
2235
+ const __vue_scope_id__$A = undefined;
2243
2236
  /* module identifier */
2244
2237
 
2245
- const __vue_module_identifier__$D = undefined;
2238
+ const __vue_module_identifier__$A = undefined;
2246
2239
  /* functional template */
2247
2240
 
2248
- const __vue_is_functional_template__$D = false;
2241
+ const __vue_is_functional_template__$A = false;
2249
2242
  /* style inject SSR */
2250
2243
 
2251
2244
  /* style inject shadow dom */
2252
2245
 
2253
- const __vue_component__$D = /*#__PURE__*/normalizeComponent({
2254
- render: __vue_render__$D,
2255
- staticRenderFns: __vue_staticRenderFns__$D
2256
- }, __vue_inject_styles__$D, __vue_script__$D, __vue_scope_id__$D, __vue_is_functional_template__$D, __vue_module_identifier__$D, false, createInjector, undefined, undefined);
2246
+ const __vue_component__$A = /*#__PURE__*/normalizeComponent({
2247
+ render: __vue_render__$A,
2248
+ staticRenderFns: __vue_staticRenderFns__$A
2249
+ }, __vue_inject_styles__$A, __vue_script__$A, __vue_scope_id__$A, __vue_is_functional_template__$A, __vue_module_identifier__$A, false, createInjector, undefined, undefined);
2257
2250
 
2258
- var TextField = __vue_component__$D;
2251
+ var TextField = __vue_component__$A;
2259
2252
 
2260
2253
  const mapLabelValue = (data, config) => {
2261
2254
  if (!Array.isArray(data)) {
@@ -2446,7 +2439,7 @@ var DataMixin = {
2446
2439
  };
2447
2440
 
2448
2441
  //
2449
- var script$B = {
2442
+ var script$y = {
2450
2443
  name: 'ui-field-radio',
2451
2444
  mixins: [FieldMixin, DataMixin],
2452
2445
  props: {
@@ -2514,10 +2507,10 @@ var script$B = {
2514
2507
  };
2515
2508
 
2516
2509
  /* script */
2517
- const __vue_script__$C = script$B;
2510
+ const __vue_script__$z = script$y;
2518
2511
  /* template */
2519
2512
 
2520
- var __vue_render__$C = function () {
2513
+ var __vue_render__$z = function () {
2521
2514
  var _vm = this;
2522
2515
 
2523
2516
  var _h = _vm.$createElement;
@@ -2567,10 +2560,10 @@ var __vue_render__$C = function () {
2567
2560
  }, [_vm._v("重新加载")])], 1) : _vm._e()], 1);
2568
2561
  };
2569
2562
 
2570
- var __vue_staticRenderFns__$C = [];
2563
+ var __vue_staticRenderFns__$z = [];
2571
2564
  /* style */
2572
2565
 
2573
- const __vue_inject_styles__$C = function (inject) {
2566
+ const __vue_inject_styles__$z = function (inject) {
2574
2567
  if (!inject) return;
2575
2568
  inject("data-v-3f514931_0", {
2576
2569
  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}",
@@ -2581,26 +2574,26 @@ const __vue_inject_styles__$C = function (inject) {
2581
2574
  /* scoped */
2582
2575
 
2583
2576
 
2584
- const __vue_scope_id__$C = "data-v-3f514931";
2577
+ const __vue_scope_id__$z = "data-v-3f514931";
2585
2578
  /* module identifier */
2586
2579
 
2587
- const __vue_module_identifier__$C = undefined;
2580
+ const __vue_module_identifier__$z = undefined;
2588
2581
  /* functional template */
2589
2582
 
2590
- const __vue_is_functional_template__$C = false;
2583
+ const __vue_is_functional_template__$z = false;
2591
2584
  /* style inject SSR */
2592
2585
 
2593
2586
  /* style inject shadow dom */
2594
2587
 
2595
- const __vue_component__$C = /*#__PURE__*/normalizeComponent({
2596
- render: __vue_render__$C,
2597
- staticRenderFns: __vue_staticRenderFns__$C
2598
- }, __vue_inject_styles__$C, __vue_script__$C, __vue_scope_id__$C, __vue_is_functional_template__$C, __vue_module_identifier__$C, false, createInjector, undefined, undefined);
2588
+ const __vue_component__$z = /*#__PURE__*/normalizeComponent({
2589
+ render: __vue_render__$z,
2590
+ staticRenderFns: __vue_staticRenderFns__$z
2591
+ }, __vue_inject_styles__$z, __vue_script__$z, __vue_scope_id__$z, __vue_is_functional_template__$z, __vue_module_identifier__$z, false, createInjector, undefined, undefined);
2599
2592
 
2600
- var RadioField = __vue_component__$C;
2593
+ var RadioField = __vue_component__$z;
2601
2594
 
2602
2595
  //
2603
- var script$A = {
2596
+ var script$x = {
2604
2597
  name: 'ui-field-checkbox',
2605
2598
  mixins: [FieldMixin, DataMixin],
2606
2599
  props: {
@@ -2681,10 +2674,10 @@ var script$A = {
2681
2674
  };
2682
2675
 
2683
2676
  /* script */
2684
- const __vue_script__$B = script$A;
2677
+ const __vue_script__$y = script$x;
2685
2678
  /* template */
2686
2679
 
2687
- var __vue_render__$B = function () {
2680
+ var __vue_render__$y = function () {
2688
2681
  var _vm = this;
2689
2682
 
2690
2683
  var _h = _vm.$createElement;
@@ -2765,10 +2758,10 @@ var __vue_render__$B = function () {
2765
2758
  }, [_vm._v("重新加载")])], 1) : _vm._e()], 1);
2766
2759
  };
2767
2760
 
2768
- var __vue_staticRenderFns__$B = [];
2761
+ var __vue_staticRenderFns__$y = [];
2769
2762
  /* style */
2770
2763
 
2771
- const __vue_inject_styles__$B = function (inject) {
2764
+ const __vue_inject_styles__$y = function (inject) {
2772
2765
  if (!inject) return;
2773
2766
  inject("data-v-7832f5f2_0", {
2774
2767
  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}",
@@ -2779,26 +2772,26 @@ const __vue_inject_styles__$B = function (inject) {
2779
2772
  /* scoped */
2780
2773
 
2781
2774
 
2782
- const __vue_scope_id__$B = "data-v-7832f5f2";
2775
+ const __vue_scope_id__$y = "data-v-7832f5f2";
2783
2776
  /* module identifier */
2784
2777
 
2785
- const __vue_module_identifier__$B = undefined;
2778
+ const __vue_module_identifier__$y = undefined;
2786
2779
  /* functional template */
2787
2780
 
2788
- const __vue_is_functional_template__$B = false;
2781
+ const __vue_is_functional_template__$y = false;
2789
2782
  /* style inject SSR */
2790
2783
 
2791
2784
  /* style inject shadow dom */
2792
2785
 
2793
- const __vue_component__$B = /*#__PURE__*/normalizeComponent({
2794
- render: __vue_render__$B,
2795
- staticRenderFns: __vue_staticRenderFns__$B
2796
- }, __vue_inject_styles__$B, __vue_script__$B, __vue_scope_id__$B, __vue_is_functional_template__$B, __vue_module_identifier__$B, false, createInjector, undefined, undefined);
2786
+ const __vue_component__$y = /*#__PURE__*/normalizeComponent({
2787
+ render: __vue_render__$y,
2788
+ staticRenderFns: __vue_staticRenderFns__$y
2789
+ }, __vue_inject_styles__$y, __vue_script__$y, __vue_scope_id__$y, __vue_is_functional_template__$y, __vue_module_identifier__$y, false, createInjector, undefined, undefined);
2797
2790
 
2798
- var CheckboxField = __vue_component__$B;
2791
+ var CheckboxField = __vue_component__$y;
2799
2792
 
2800
2793
  //
2801
- var script$z = {
2794
+ var script$w = {
2802
2795
  name: 'ui-field-select',
2803
2796
  mixins: [FieldMixin, DataMixin],
2804
2797
  inheritAttrs: false,
@@ -3026,10 +3019,10 @@ var script$z = {
3026
3019
  };
3027
3020
 
3028
3021
  /* script */
3029
- const __vue_script__$A = script$z;
3022
+ const __vue_script__$x = script$w;
3030
3023
  /* template */
3031
3024
 
3032
- var __vue_render__$A = function () {
3025
+ var __vue_render__$x = function () {
3033
3026
  var _vm = this;
3034
3027
 
3035
3028
  var _h = _vm.$createElement;
@@ -3154,10 +3147,10 @@ var __vue_render__$A = function () {
3154
3147
  })], 1)], 1) : _vm._e()], 1);
3155
3148
  };
3156
3149
 
3157
- var __vue_staticRenderFns__$A = [];
3150
+ var __vue_staticRenderFns__$x = [];
3158
3151
  /* style */
3159
3152
 
3160
- const __vue_inject_styles__$A = function (inject) {
3153
+ const __vue_inject_styles__$x = function (inject) {
3161
3154
  if (!inject) return;
3162
3155
  inject("data-v-0ee8fd08_0", {
3163
3156
  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}",
@@ -3168,26 +3161,26 @@ const __vue_inject_styles__$A = function (inject) {
3168
3161
  /* scoped */
3169
3162
 
3170
3163
 
3171
- const __vue_scope_id__$A = undefined;
3164
+ const __vue_scope_id__$x = undefined;
3172
3165
  /* module identifier */
3173
3166
 
3174
- const __vue_module_identifier__$A = undefined;
3167
+ const __vue_module_identifier__$x = undefined;
3175
3168
  /* functional template */
3176
3169
 
3177
- const __vue_is_functional_template__$A = false;
3170
+ const __vue_is_functional_template__$x = false;
3178
3171
  /* style inject SSR */
3179
3172
 
3180
3173
  /* style inject shadow dom */
3181
3174
 
3182
- const __vue_component__$A = /*#__PURE__*/normalizeComponent({
3183
- render: __vue_render__$A,
3184
- staticRenderFns: __vue_staticRenderFns__$A
3185
- }, __vue_inject_styles__$A, __vue_script__$A, __vue_scope_id__$A, __vue_is_functional_template__$A, __vue_module_identifier__$A, false, createInjector, undefined, undefined);
3175
+ const __vue_component__$x = /*#__PURE__*/normalizeComponent({
3176
+ render: __vue_render__$x,
3177
+ staticRenderFns: __vue_staticRenderFns__$x
3178
+ }, __vue_inject_styles__$x, __vue_script__$x, __vue_scope_id__$x, __vue_is_functional_template__$x, __vue_module_identifier__$x, false, createInjector, undefined, undefined);
3186
3179
 
3187
- var SelectField = __vue_component__$A;
3180
+ var SelectField = __vue_component__$x;
3188
3181
 
3189
3182
  //
3190
- var script$y = {
3183
+ var script$v = {
3191
3184
  name: 'ui-field-number',
3192
3185
  mixins: [FieldMixin],
3193
3186
  props: {
@@ -3218,10 +3211,10 @@ var script$y = {
3218
3211
  };
3219
3212
 
3220
3213
  /* script */
3221
- const __vue_script__$z = script$y;
3214
+ const __vue_script__$w = script$v;
3222
3215
  /* template */
3223
3216
 
3224
- var __vue_render__$z = function () {
3217
+ var __vue_render__$w = function () {
3225
3218
  var _vm = this;
3226
3219
 
3227
3220
  var _h = _vm.$createElement;
@@ -3237,10 +3230,10 @@ var __vue_render__$z = function () {
3237
3230
  }, 'el-input-number', _vm.$attrs, false), _vm.$listeners));
3238
3231
  };
3239
3232
 
3240
- var __vue_staticRenderFns__$z = [];
3233
+ var __vue_staticRenderFns__$w = [];
3241
3234
  /* style */
3242
3235
 
3243
- const __vue_inject_styles__$z = function (inject) {
3236
+ const __vue_inject_styles__$w = function (inject) {
3244
3237
  if (!inject) return;
3245
3238
  inject("data-v-054f9f65_0", {
3246
3239
  source: ".ui-number-field[data-v-054f9f65]{width:100%}.ui-number-field[data-v-054f9f65] input{text-align:initial}",
@@ -3251,23 +3244,23 @@ const __vue_inject_styles__$z = function (inject) {
3251
3244
  /* scoped */
3252
3245
 
3253
3246
 
3254
- const __vue_scope_id__$z = "data-v-054f9f65";
3247
+ const __vue_scope_id__$w = "data-v-054f9f65";
3255
3248
  /* module identifier */
3256
3249
 
3257
- const __vue_module_identifier__$z = undefined;
3250
+ const __vue_module_identifier__$w = undefined;
3258
3251
  /* functional template */
3259
3252
 
3260
- const __vue_is_functional_template__$z = false;
3253
+ const __vue_is_functional_template__$w = false;
3261
3254
  /* style inject SSR */
3262
3255
 
3263
3256
  /* style inject shadow dom */
3264
3257
 
3265
- const __vue_component__$z = /*#__PURE__*/normalizeComponent({
3266
- render: __vue_render__$z,
3267
- staticRenderFns: __vue_staticRenderFns__$z
3268
- }, __vue_inject_styles__$z, __vue_script__$z, __vue_scope_id__$z, __vue_is_functional_template__$z, __vue_module_identifier__$z, false, createInjector, undefined, undefined);
3258
+ const __vue_component__$w = /*#__PURE__*/normalizeComponent({
3259
+ render: __vue_render__$w,
3260
+ staticRenderFns: __vue_staticRenderFns__$w
3261
+ }, __vue_inject_styles__$w, __vue_script__$w, __vue_scope_id__$w, __vue_is_functional_template__$w, __vue_module_identifier__$w, false, createInjector, undefined, undefined);
3269
3262
 
3270
- var NumberField = __vue_component__$z;
3263
+ var NumberField = __vue_component__$w;
3271
3264
 
3272
3265
  const randomStr = length => {
3273
3266
  let str = Math.random().toString(36).substr(2);
@@ -3285,7 +3278,7 @@ var Strings = {
3285
3278
  };
3286
3279
 
3287
3280
  //
3288
- var script$x = {
3281
+ var script$u = {
3289
3282
  name: 'ui-field-cascade',
3290
3283
  mixins: [FieldMixin, DataMixin],
3291
3284
  props: {
@@ -3556,10 +3549,10 @@ var script$x = {
3556
3549
  };
3557
3550
 
3558
3551
  /* script */
3559
- const __vue_script__$y = script$x;
3552
+ const __vue_script__$v = script$u;
3560
3553
  /* template */
3561
3554
 
3562
- var __vue_render__$y = function () {
3555
+ var __vue_render__$v = function () {
3563
3556
  var _vm = this;
3564
3557
 
3565
3558
  var _h = _vm.$createElement;
@@ -3623,10 +3616,10 @@ var __vue_render__$y = function () {
3623
3616
  })], 1)], 1) : _vm._e()], 1);
3624
3617
  };
3625
3618
 
3626
- var __vue_staticRenderFns__$y = [];
3619
+ var __vue_staticRenderFns__$v = [];
3627
3620
  /* style */
3628
3621
 
3629
- const __vue_inject_styles__$y = function (inject) {
3622
+ const __vue_inject_styles__$v = function (inject) {
3630
3623
  if (!inject) return;
3631
3624
  inject("data-v-5b114890_0", {
3632
3625
  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}",
@@ -3637,23 +3630,23 @@ const __vue_inject_styles__$y = function (inject) {
3637
3630
  /* scoped */
3638
3631
 
3639
3632
 
3640
- const __vue_scope_id__$y = "data-v-5b114890";
3633
+ const __vue_scope_id__$v = "data-v-5b114890";
3641
3634
  /* module identifier */
3642
3635
 
3643
- const __vue_module_identifier__$y = undefined;
3636
+ const __vue_module_identifier__$v = undefined;
3644
3637
  /* functional template */
3645
3638
 
3646
- const __vue_is_functional_template__$y = false;
3639
+ const __vue_is_functional_template__$v = false;
3647
3640
  /* style inject SSR */
3648
3641
 
3649
3642
  /* style inject shadow dom */
3650
3643
 
3651
- const __vue_component__$y = /*#__PURE__*/normalizeComponent({
3652
- render: __vue_render__$y,
3653
- staticRenderFns: __vue_staticRenderFns__$y
3654
- }, __vue_inject_styles__$y, __vue_script__$y, __vue_scope_id__$y, __vue_is_functional_template__$y, __vue_module_identifier__$y, false, createInjector, undefined, undefined);
3644
+ const __vue_component__$v = /*#__PURE__*/normalizeComponent({
3645
+ render: __vue_render__$v,
3646
+ staticRenderFns: __vue_staticRenderFns__$v
3647
+ }, __vue_inject_styles__$v, __vue_script__$v, __vue_scope_id__$v, __vue_is_functional_template__$v, __vue_module_identifier__$v, false, createInjector, undefined, undefined);
3655
3648
 
3656
- var CascadeField = __vue_component__$y;
3649
+ var CascadeField = __vue_component__$v;
3657
3650
 
3658
3651
  /**
3659
3652
  * @param text
@@ -3715,7 +3708,7 @@ const DisabledDate = {
3715
3708
  };
3716
3709
 
3717
3710
  //
3718
- var script$w = {
3711
+ var script$t = {
3719
3712
  name: 'ui-field-date',
3720
3713
  mixins: [FieldMixin],
3721
3714
  props: {
@@ -3864,10 +3857,10 @@ var script$w = {
3864
3857
  };
3865
3858
 
3866
3859
  /* script */
3867
- const __vue_script__$x = script$w;
3860
+ const __vue_script__$u = script$t;
3868
3861
  /* template */
3869
3862
 
3870
- var __vue_render__$x = function () {
3863
+ var __vue_render__$u = function () {
3871
3864
  var _vm = this;
3872
3865
 
3873
3866
  var _h = _vm.$createElement;
@@ -3891,10 +3884,10 @@ var __vue_render__$x = function () {
3891
3884
  }, 'el-date-picker', _vm.$attrs, false), _vm._listeners));
3892
3885
  };
3893
3886
 
3894
- var __vue_staticRenderFns__$x = [];
3887
+ var __vue_staticRenderFns__$u = [];
3895
3888
  /* style */
3896
3889
 
3897
- const __vue_inject_styles__$x = function (inject) {
3890
+ const __vue_inject_styles__$u = function (inject) {
3898
3891
  if (!inject) return;
3899
3892
  inject("data-v-753bcd9c_0", {
3900
3893
  source: ".ui-date-field.el-date-editor[data-v-753bcd9c]{width:100%}",
@@ -3905,26 +3898,26 @@ const __vue_inject_styles__$x = function (inject) {
3905
3898
  /* scoped */
3906
3899
 
3907
3900
 
3908
- const __vue_scope_id__$x = "data-v-753bcd9c";
3901
+ const __vue_scope_id__$u = "data-v-753bcd9c";
3909
3902
  /* module identifier */
3910
3903
 
3911
- const __vue_module_identifier__$x = undefined;
3904
+ const __vue_module_identifier__$u = undefined;
3912
3905
  /* functional template */
3913
3906
 
3914
- const __vue_is_functional_template__$x = false;
3907
+ const __vue_is_functional_template__$u = false;
3915
3908
  /* style inject SSR */
3916
3909
 
3917
3910
  /* style inject shadow dom */
3918
3911
 
3919
- const __vue_component__$x = /*#__PURE__*/normalizeComponent({
3920
- render: __vue_render__$x,
3921
- staticRenderFns: __vue_staticRenderFns__$x
3922
- }, __vue_inject_styles__$x, __vue_script__$x, __vue_scope_id__$x, __vue_is_functional_template__$x, __vue_module_identifier__$x, false, createInjector, undefined, undefined);
3912
+ const __vue_component__$u = /*#__PURE__*/normalizeComponent({
3913
+ render: __vue_render__$u,
3914
+ staticRenderFns: __vue_staticRenderFns__$u
3915
+ }, __vue_inject_styles__$u, __vue_script__$u, __vue_scope_id__$u, __vue_is_functional_template__$u, __vue_module_identifier__$u, false, createInjector, undefined, undefined);
3923
3916
 
3924
- var DateField = __vue_component__$x;
3917
+ var DateField = __vue_component__$u;
3925
3918
 
3926
3919
  //
3927
- var script$v = {
3920
+ var script$s = {
3928
3921
  name: 'ui-field-timepicker',
3929
3922
  mixins: [FieldMixin],
3930
3923
  props: {
@@ -3990,10 +3983,10 @@ var script$v = {
3990
3983
  };
3991
3984
 
3992
3985
  /* script */
3993
- const __vue_script__$w = script$v;
3986
+ const __vue_script__$t = script$s;
3994
3987
  /* template */
3995
3988
 
3996
- var __vue_render__$w = function () {
3989
+ var __vue_render__$t = function () {
3997
3990
  var _vm = this;
3998
3991
 
3999
3992
  var _h = _vm.$createElement;
@@ -4015,10 +4008,10 @@ var __vue_render__$w = function () {
4015
4008
  }, 'el-time-picker', _vm.$attrs, false), _vm._listeners));
4016
4009
  };
4017
4010
 
4018
- var __vue_staticRenderFns__$w = [];
4011
+ var __vue_staticRenderFns__$t = [];
4019
4012
  /* style */
4020
4013
 
4021
- const __vue_inject_styles__$w = function (inject) {
4014
+ const __vue_inject_styles__$t = function (inject) {
4022
4015
  if (!inject) return;
4023
4016
  inject("data-v-241ad60c_0", {
4024
4017
  source: ".ui-timepicker-field.el-date-editor[data-v-241ad60c]{width:100%}",
@@ -4029,26 +4022,26 @@ const __vue_inject_styles__$w = function (inject) {
4029
4022
  /* scoped */
4030
4023
 
4031
4024
 
4032
- const __vue_scope_id__$w = "data-v-241ad60c";
4025
+ const __vue_scope_id__$t = "data-v-241ad60c";
4033
4026
  /* module identifier */
4034
4027
 
4035
- const __vue_module_identifier__$w = undefined;
4028
+ const __vue_module_identifier__$t = undefined;
4036
4029
  /* functional template */
4037
4030
 
4038
- const __vue_is_functional_template__$w = false;
4031
+ const __vue_is_functional_template__$t = false;
4039
4032
  /* style inject SSR */
4040
4033
 
4041
4034
  /* style inject shadow dom */
4042
4035
 
4043
- const __vue_component__$w = /*#__PURE__*/normalizeComponent({
4044
- render: __vue_render__$w,
4045
- staticRenderFns: __vue_staticRenderFns__$w
4046
- }, __vue_inject_styles__$w, __vue_script__$w, __vue_scope_id__$w, __vue_is_functional_template__$w, __vue_module_identifier__$w, false, createInjector, undefined, undefined);
4036
+ const __vue_component__$t = /*#__PURE__*/normalizeComponent({
4037
+ render: __vue_render__$t,
4038
+ staticRenderFns: __vue_staticRenderFns__$t
4039
+ }, __vue_inject_styles__$t, __vue_script__$t, __vue_scope_id__$t, __vue_is_functional_template__$t, __vue_module_identifier__$t, false, createInjector, undefined, undefined);
4047
4040
 
4048
- var TimePickerField = __vue_component__$w;
4041
+ var TimePickerField = __vue_component__$t;
4049
4042
 
4050
4043
  //
4051
- var script$u = {
4044
+ var script$r = {
4052
4045
  name: 'ui-field-timeselect',
4053
4046
  mixins: [FieldMixin],
4054
4047
  methods: {
@@ -4061,10 +4054,10 @@ var script$u = {
4061
4054
  };
4062
4055
 
4063
4056
  /* script */
4064
- const __vue_script__$v = script$u;
4057
+ const __vue_script__$s = script$r;
4065
4058
  /* template */
4066
4059
 
4067
- var __vue_render__$v = function () {
4060
+ var __vue_render__$s = function () {
4068
4061
  var _vm = this;
4069
4062
 
4070
4063
  var _h = _vm.$createElement;
@@ -4079,10 +4072,10 @@ var __vue_render__$v = function () {
4079
4072
  }, 'el-time-select', _vm.$attrs, false), _vm.$listeners));
4080
4073
  };
4081
4074
 
4082
- var __vue_staticRenderFns__$v = [];
4075
+ var __vue_staticRenderFns__$s = [];
4083
4076
  /* style */
4084
4077
 
4085
- const __vue_inject_styles__$v = function (inject) {
4078
+ const __vue_inject_styles__$s = function (inject) {
4086
4079
  if (!inject) return;
4087
4080
  inject("data-v-5d8b6449_0", {
4088
4081
  source: ".ui-timeselect-field.el-date-editor[data-v-5d8b6449]{width:100%}",
@@ -4093,23 +4086,23 @@ const __vue_inject_styles__$v = function (inject) {
4093
4086
  /* scoped */
4094
4087
 
4095
4088
 
4096
- const __vue_scope_id__$v = "data-v-5d8b6449";
4089
+ const __vue_scope_id__$s = "data-v-5d8b6449";
4097
4090
  /* module identifier */
4098
4091
 
4099
- const __vue_module_identifier__$v = undefined;
4092
+ const __vue_module_identifier__$s = undefined;
4100
4093
  /* functional template */
4101
4094
 
4102
- const __vue_is_functional_template__$v = false;
4095
+ const __vue_is_functional_template__$s = false;
4103
4096
  /* style inject SSR */
4104
4097
 
4105
4098
  /* style inject shadow dom */
4106
4099
 
4107
- const __vue_component__$v = /*#__PURE__*/normalizeComponent({
4108
- render: __vue_render__$v,
4109
- staticRenderFns: __vue_staticRenderFns__$v
4110
- }, __vue_inject_styles__$v, __vue_script__$v, __vue_scope_id__$v, __vue_is_functional_template__$v, __vue_module_identifier__$v, false, createInjector, undefined, undefined);
4100
+ const __vue_component__$s = /*#__PURE__*/normalizeComponent({
4101
+ render: __vue_render__$s,
4102
+ staticRenderFns: __vue_staticRenderFns__$s
4103
+ }, __vue_inject_styles__$s, __vue_script__$s, __vue_scope_id__$s, __vue_is_functional_template__$s, __vue_module_identifier__$s, false, createInjector, undefined, undefined);
4111
4104
 
4112
- var TimeSelectField = __vue_component__$v;
4105
+ var TimeSelectField = __vue_component__$s;
4113
4106
 
4114
4107
  //
4115
4108
 
@@ -4118,7 +4111,7 @@ Date.prototype.calendar = function () {
4118
4111
  return [this.getFullYear(), month < 10 ? "0" + month : month, this.getDate()].join("-");
4119
4112
  };
4120
4113
 
4121
- var script$t = {
4114
+ var script$q = {
4122
4115
  name: 'ui-field-datse',
4123
4116
  mixins: [FieldMixin],
4124
4117
  props: {
@@ -4172,10 +4165,10 @@ var script$t = {
4172
4165
  };
4173
4166
 
4174
4167
  /* script */
4175
- const __vue_script__$u = script$t;
4168
+ const __vue_script__$r = script$q;
4176
4169
  /* template */
4177
4170
 
4178
- var __vue_render__$u = function () {
4171
+ var __vue_render__$r = function () {
4179
4172
  var _vm = this;
4180
4173
 
4181
4174
  var _h = _vm.$createElement;
@@ -4221,10 +4214,10 @@ var __vue_render__$u = function () {
4221
4214
  })], 1);
4222
4215
  };
4223
4216
 
4224
- var __vue_staticRenderFns__$u = [];
4217
+ var __vue_staticRenderFns__$r = [];
4225
4218
  /* style */
4226
4219
 
4227
- const __vue_inject_styles__$u = function (inject) {
4220
+ const __vue_inject_styles__$r = function (inject) {
4228
4221
  if (!inject) return;
4229
4222
  inject("data-v-3cf1c39a_0", {
4230
4223
  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}",
@@ -4235,26 +4228,26 @@ const __vue_inject_styles__$u = function (inject) {
4235
4228
  /* scoped */
4236
4229
 
4237
4230
 
4238
- const __vue_scope_id__$u = "data-v-3cf1c39a";
4231
+ const __vue_scope_id__$r = "data-v-3cf1c39a";
4239
4232
  /* module identifier */
4240
4233
 
4241
- const __vue_module_identifier__$u = undefined;
4234
+ const __vue_module_identifier__$r = undefined;
4242
4235
  /* functional template */
4243
4236
 
4244
- const __vue_is_functional_template__$u = false;
4237
+ const __vue_is_functional_template__$r = false;
4245
4238
  /* style inject SSR */
4246
4239
 
4247
4240
  /* style inject shadow dom */
4248
4241
 
4249
- const __vue_component__$u = /*#__PURE__*/normalizeComponent({
4250
- render: __vue_render__$u,
4251
- staticRenderFns: __vue_staticRenderFns__$u
4252
- }, __vue_inject_styles__$u, __vue_script__$u, __vue_scope_id__$u, __vue_is_functional_template__$u, __vue_module_identifier__$u, false, createInjector, undefined, undefined);
4242
+ const __vue_component__$r = /*#__PURE__*/normalizeComponent({
4243
+ render: __vue_render__$r,
4244
+ staticRenderFns: __vue_staticRenderFns__$r
4245
+ }, __vue_inject_styles__$r, __vue_script__$r, __vue_scope_id__$r, __vue_is_functional_template__$r, __vue_module_identifier__$r, false, createInjector, undefined, undefined);
4253
4246
 
4254
- var DatecCalendarField = __vue_component__$u;
4247
+ var DatecCalendarField = __vue_component__$r;
4255
4248
 
4256
4249
  //
4257
- var script$s = {
4250
+ var script$p = {
4258
4251
  name: 'ui-field-slider',
4259
4252
  mixins: [FieldMixin],
4260
4253
  props: {
@@ -4324,10 +4317,10 @@ var script$s = {
4324
4317
  };
4325
4318
 
4326
4319
  /* script */
4327
- const __vue_script__$t = script$s;
4320
+ const __vue_script__$q = script$p;
4328
4321
  /* template */
4329
4322
 
4330
- var __vue_render__$t = function () {
4323
+ var __vue_render__$q = function () {
4331
4324
  var _vm = this;
4332
4325
 
4333
4326
  var _h = _vm.$createElement;
@@ -4353,43 +4346,43 @@ var __vue_render__$t = function () {
4353
4346
  }, 'el-slider', _vm.$attrs, false), _vm._listeners));
4354
4347
  };
4355
4348
 
4356
- var __vue_staticRenderFns__$t = [];
4349
+ var __vue_staticRenderFns__$q = [];
4357
4350
  /* style */
4358
4351
 
4359
- const __vue_inject_styles__$t = undefined;
4352
+ const __vue_inject_styles__$q = undefined;
4360
4353
  /* scoped */
4361
4354
 
4362
- const __vue_scope_id__$t = "data-v-75848f56";
4355
+ const __vue_scope_id__$q = "data-v-75848f56";
4363
4356
  /* module identifier */
4364
4357
 
4365
- const __vue_module_identifier__$t = undefined;
4358
+ const __vue_module_identifier__$q = undefined;
4366
4359
  /* functional template */
4367
4360
 
4368
- const __vue_is_functional_template__$t = false;
4361
+ const __vue_is_functional_template__$q = false;
4369
4362
  /* style inject */
4370
4363
 
4371
4364
  /* style inject SSR */
4372
4365
 
4373
4366
  /* style inject shadow dom */
4374
4367
 
4375
- const __vue_component__$t = /*#__PURE__*/normalizeComponent({
4376
- render: __vue_render__$t,
4377
- staticRenderFns: __vue_staticRenderFns__$t
4378
- }, __vue_inject_styles__$t, __vue_script__$t, __vue_scope_id__$t, __vue_is_functional_template__$t, __vue_module_identifier__$t, false, undefined, undefined, undefined);
4368
+ const __vue_component__$q = /*#__PURE__*/normalizeComponent({
4369
+ render: __vue_render__$q,
4370
+ staticRenderFns: __vue_staticRenderFns__$q
4371
+ }, __vue_inject_styles__$q, __vue_script__$q, __vue_scope_id__$q, __vue_is_functional_template__$q, __vue_module_identifier__$q, false, undefined, undefined, undefined);
4379
4372
 
4380
- var SliderField = __vue_component__$t;
4373
+ var SliderField = __vue_component__$q;
4381
4374
 
4382
4375
  //
4383
- var script$r = {
4376
+ var script$o = {
4384
4377
  name: 'ui-field-switch',
4385
4378
  mixins: [FieldMixin]
4386
4379
  };
4387
4380
 
4388
4381
  /* script */
4389
- const __vue_script__$s = script$r;
4382
+ const __vue_script__$p = script$o;
4390
4383
  /* template */
4391
4384
 
4392
- var __vue_render__$s = function () {
4385
+ var __vue_render__$p = function () {
4393
4386
  var _vm = this;
4394
4387
 
4395
4388
  var _h = _vm.$createElement;
@@ -4403,34 +4396,34 @@ var __vue_render__$s = function () {
4403
4396
  }, 'el-switch', _vm.$attrs, false), _vm.$listeners));
4404
4397
  };
4405
4398
 
4406
- var __vue_staticRenderFns__$s = [];
4399
+ var __vue_staticRenderFns__$p = [];
4407
4400
  /* style */
4408
4401
 
4409
- const __vue_inject_styles__$s = undefined;
4402
+ const __vue_inject_styles__$p = undefined;
4410
4403
  /* scoped */
4411
4404
 
4412
- const __vue_scope_id__$s = "data-v-df0fd42a";
4405
+ const __vue_scope_id__$p = "data-v-df0fd42a";
4413
4406
  /* module identifier */
4414
4407
 
4415
- const __vue_module_identifier__$s = undefined;
4408
+ const __vue_module_identifier__$p = undefined;
4416
4409
  /* functional template */
4417
4410
 
4418
- const __vue_is_functional_template__$s = false;
4411
+ const __vue_is_functional_template__$p = false;
4419
4412
  /* style inject */
4420
4413
 
4421
4414
  /* style inject SSR */
4422
4415
 
4423
4416
  /* style inject shadow dom */
4424
4417
 
4425
- const __vue_component__$s = /*#__PURE__*/normalizeComponent({
4426
- render: __vue_render__$s,
4427
- staticRenderFns: __vue_staticRenderFns__$s
4428
- }, __vue_inject_styles__$s, __vue_script__$s, __vue_scope_id__$s, __vue_is_functional_template__$s, __vue_module_identifier__$s, false, undefined, undefined, undefined);
4418
+ const __vue_component__$p = /*#__PURE__*/normalizeComponent({
4419
+ render: __vue_render__$p,
4420
+ staticRenderFns: __vue_staticRenderFns__$p
4421
+ }, __vue_inject_styles__$p, __vue_script__$p, __vue_scope_id__$p, __vue_is_functional_template__$p, __vue_module_identifier__$p, false, undefined, undefined, undefined);
4429
4422
 
4430
- var SwitchField = __vue_component__$s;
4423
+ var SwitchField = __vue_component__$p;
4431
4424
 
4432
4425
  //
4433
- var script$q = {
4426
+ var script$n = {
4434
4427
  name: 'ui-field-rate',
4435
4428
  mixins: [FieldMixin],
4436
4429
  props: {
@@ -4464,10 +4457,10 @@ var script$q = {
4464
4457
  };
4465
4458
 
4466
4459
  /* script */
4467
- const __vue_script__$r = script$q;
4460
+ const __vue_script__$o = script$n;
4468
4461
  /* template */
4469
4462
 
4470
- var __vue_render__$r = function () {
4463
+ var __vue_render__$o = function () {
4471
4464
  var _vm = this;
4472
4465
 
4473
4466
  var _h = _vm.$createElement;
@@ -4488,34 +4481,34 @@ var __vue_render__$r = function () {
4488
4481
  }, 'el-rate', _vm.$attrs, false), _vm._listeners));
4489
4482
  };
4490
4483
 
4491
- var __vue_staticRenderFns__$r = [];
4484
+ var __vue_staticRenderFns__$o = [];
4492
4485
  /* style */
4493
4486
 
4494
- const __vue_inject_styles__$r = undefined;
4487
+ const __vue_inject_styles__$o = undefined;
4495
4488
  /* scoped */
4496
4489
 
4497
- const __vue_scope_id__$r = "data-v-1b34cf02";
4490
+ const __vue_scope_id__$o = "data-v-1b34cf02";
4498
4491
  /* module identifier */
4499
4492
 
4500
- const __vue_module_identifier__$r = undefined;
4493
+ const __vue_module_identifier__$o = undefined;
4501
4494
  /* functional template */
4502
4495
 
4503
- const __vue_is_functional_template__$r = false;
4496
+ const __vue_is_functional_template__$o = false;
4504
4497
  /* style inject */
4505
4498
 
4506
4499
  /* style inject SSR */
4507
4500
 
4508
4501
  /* style inject shadow dom */
4509
4502
 
4510
- const __vue_component__$r = /*#__PURE__*/normalizeComponent({
4511
- render: __vue_render__$r,
4512
- staticRenderFns: __vue_staticRenderFns__$r
4513
- }, __vue_inject_styles__$r, __vue_script__$r, __vue_scope_id__$r, __vue_is_functional_template__$r, __vue_module_identifier__$r, false, undefined, undefined, undefined);
4503
+ const __vue_component__$o = /*#__PURE__*/normalizeComponent({
4504
+ render: __vue_render__$o,
4505
+ staticRenderFns: __vue_staticRenderFns__$o
4506
+ }, __vue_inject_styles__$o, __vue_script__$o, __vue_scope_id__$o, __vue_is_functional_template__$o, __vue_module_identifier__$o, false, undefined, undefined, undefined);
4514
4507
 
4515
- var RateField = __vue_component__$r;
4508
+ var RateField = __vue_component__$o;
4516
4509
 
4517
4510
  //
4518
- var script$p = {
4511
+ var script$m = {
4519
4512
  name: 'ui-field-color',
4520
4513
  mixins: [FieldMixin],
4521
4514
  props: {
@@ -4527,10 +4520,10 @@ var script$p = {
4527
4520
  };
4528
4521
 
4529
4522
  /* script */
4530
- const __vue_script__$q = script$p;
4523
+ const __vue_script__$n = script$m;
4531
4524
  /* template */
4532
4525
 
4533
- var __vue_render__$q = function () {
4526
+ var __vue_render__$n = function () {
4534
4527
  var _vm = this;
4535
4528
 
4536
4529
  var _h = _vm.$createElement;
@@ -4546,10 +4539,10 @@ var __vue_render__$q = function () {
4546
4539
  }, 'el-color-picker', _vm.$attrs, false), _vm.$listeners));
4547
4540
  };
4548
4541
 
4549
- var __vue_staticRenderFns__$q = [];
4542
+ var __vue_staticRenderFns__$n = [];
4550
4543
  /* style */
4551
4544
 
4552
- const __vue_inject_styles__$q = function (inject) {
4545
+ const __vue_inject_styles__$n = function (inject) {
4553
4546
  if (!inject) return;
4554
4547
  inject("data-v-1d42ab35_0", {
4555
4548
  source: ".ui-field-color[data-v-1d42ab35]{width:100%}",
@@ -4560,23 +4553,23 @@ const __vue_inject_styles__$q = function (inject) {
4560
4553
  /* scoped */
4561
4554
 
4562
4555
 
4563
- const __vue_scope_id__$q = "data-v-1d42ab35";
4556
+ const __vue_scope_id__$n = "data-v-1d42ab35";
4564
4557
  /* module identifier */
4565
4558
 
4566
- const __vue_module_identifier__$q = undefined;
4559
+ const __vue_module_identifier__$n = undefined;
4567
4560
  /* functional template */
4568
4561
 
4569
- const __vue_is_functional_template__$q = false;
4562
+ const __vue_is_functional_template__$n = false;
4570
4563
  /* style inject SSR */
4571
4564
 
4572
4565
  /* style inject shadow dom */
4573
4566
 
4574
- const __vue_component__$q = /*#__PURE__*/normalizeComponent({
4575
- render: __vue_render__$q,
4576
- staticRenderFns: __vue_staticRenderFns__$q
4577
- }, __vue_inject_styles__$q, __vue_script__$q, __vue_scope_id__$q, __vue_is_functional_template__$q, __vue_module_identifier__$q, false, createInjector, undefined, undefined);
4567
+ const __vue_component__$n = /*#__PURE__*/normalizeComponent({
4568
+ render: __vue_render__$n,
4569
+ staticRenderFns: __vue_staticRenderFns__$n
4570
+ }, __vue_inject_styles__$n, __vue_script__$n, __vue_scope_id__$n, __vue_is_functional_template__$n, __vue_module_identifier__$n, false, createInjector, undefined, undefined);
4578
4571
 
4579
- var ColorField = __vue_component__$q;
4572
+ var ColorField = __vue_component__$n;
4580
4573
 
4581
4574
  const Upload$1 = {
4582
4575
  default: function (url) {
@@ -4854,10 +4847,10 @@ const RichField$1 = {
4854
4847
  };
4855
4848
 
4856
4849
  /* script */
4857
- const __vue_script__$p = RichField$1;
4850
+ const __vue_script__$m = RichField$1;
4858
4851
  /* template */
4859
4852
 
4860
- var __vue_render__$p = function () {
4853
+ var __vue_render__$m = function () {
4861
4854
  var _vm = this;
4862
4855
 
4863
4856
  var _h = _vm.$createElement;
@@ -4875,10 +4868,10 @@ var __vue_render__$p = function () {
4875
4868
  });
4876
4869
  };
4877
4870
 
4878
- var __vue_staticRenderFns__$p = [];
4871
+ var __vue_staticRenderFns__$m = [];
4879
4872
  /* style */
4880
4873
 
4881
- const __vue_inject_styles__$p = function (inject) {
4874
+ const __vue_inject_styles__$m = function (inject) {
4882
4875
  if (!inject) return;
4883
4876
  inject("data-v-0cd7b8c6_0", {
4884
4877
  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}",
@@ -4893,23 +4886,23 @@ const __vue_inject_styles__$p = function (inject) {
4893
4886
  /* scoped */
4894
4887
 
4895
4888
 
4896
- const __vue_scope_id__$p = "data-v-0cd7b8c6";
4889
+ const __vue_scope_id__$m = "data-v-0cd7b8c6";
4897
4890
  /* module identifier */
4898
4891
 
4899
- const __vue_module_identifier__$p = undefined;
4892
+ const __vue_module_identifier__$m = undefined;
4900
4893
  /* functional template */
4901
4894
 
4902
- const __vue_is_functional_template__$p = false;
4895
+ const __vue_is_functional_template__$m = false;
4903
4896
  /* style inject SSR */
4904
4897
 
4905
4898
  /* style inject shadow dom */
4906
4899
 
4907
- const __vue_component__$p = /*#__PURE__*/normalizeComponent({
4908
- render: __vue_render__$p,
4909
- staticRenderFns: __vue_staticRenderFns__$p
4910
- }, __vue_inject_styles__$p, __vue_script__$p, __vue_scope_id__$p, __vue_is_functional_template__$p, __vue_module_identifier__$p, false, createInjector, undefined, undefined);
4900
+ const __vue_component__$m = /*#__PURE__*/normalizeComponent({
4901
+ render: __vue_render__$m,
4902
+ staticRenderFns: __vue_staticRenderFns__$m
4903
+ }, __vue_inject_styles__$m, __vue_script__$m, __vue_scope_id__$m, __vue_is_functional_template__$m, __vue_module_identifier__$m, false, createInjector, undefined, undefined);
4911
4904
 
4912
- var RichField = __vue_component__$p;
4905
+ var RichField = __vue_component__$m;
4913
4906
 
4914
4907
  //
4915
4908
 
@@ -4927,7 +4920,7 @@ const getUrlSuffix = url => {
4927
4920
  return url.substring(index + 1);
4928
4921
  };
4929
4922
 
4930
- var script$o = {
4923
+ var script$l = {
4931
4924
  name: 'ui-field-upload-file',
4932
4925
  mixins: [FieldMixin],
4933
4926
  props: {
@@ -5136,10 +5129,10 @@ var script$o = {
5136
5129
  };
5137
5130
 
5138
5131
  /* script */
5139
- const __vue_script__$o = script$o;
5132
+ const __vue_script__$l = script$l;
5140
5133
  /* template */
5141
5134
 
5142
- var __vue_render__$o = function () {
5135
+ var __vue_render__$l = function () {
5143
5136
  var _vm = this;
5144
5137
 
5145
5138
  var _h = _vm.$createElement;
@@ -5197,10 +5190,10 @@ var __vue_render__$o = function () {
5197
5190
  })], 2)], 1);
5198
5191
  };
5199
5192
 
5200
- var __vue_staticRenderFns__$o = [];
5193
+ var __vue_staticRenderFns__$l = [];
5201
5194
  /* style */
5202
5195
 
5203
- const __vue_inject_styles__$o = function (inject) {
5196
+ const __vue_inject_styles__$l = function (inject) {
5204
5197
  if (!inject) return;
5205
5198
  inject("data-v-50ad7f34_0", {
5206
5199
  source: ".ui-file-upload-field[data-v-50ad7f34]{width:100%}.ui-file-upload-field .uploader[data-v-50ad7f34]{margin-bottom:5px}.ui-file-upload-field .uploader.disabled[data-v-50ad7f34] .el-upload{cursor:not-allowed;pointer-events:none}.ui-file-upload-field .uploader.disabled[data-v-50ad7f34] .el-upload .upload-btn{color:#888c94;background-color:#edeef0}.ui-file-upload-field .upload-btn[data-v-50ad7f34]{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-50ad7f34]:hover{background-color:#0d84ff}.ui-file-upload-field .files[data-v-50ad7f34]{max-width:100%}.ui-file-upload-field .files .file[data-v-50ad7f34]{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-50ad7f34]{color:#606266;transition:all .3s;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.ui-file-upload-field .files .file .close[data-v-50ad7f34]{color:transparent;width:28px;text-align:center;visibility:hidden;transition:color .3s;font-weight:700}.ui-file-upload-field .files .file[data-v-50ad7f34]:hover{background-color:#f5f7fa}.ui-file-upload-field .files .file:hover a[data-v-50ad7f34]{color:var(--color-primary)}.ui-file-upload-field .files .file:hover .close[data-v-50ad7f34]{color:#409eff;visibility:visible}",
@@ -5211,26 +5204,26 @@ const __vue_inject_styles__$o = function (inject) {
5211
5204
  /* scoped */
5212
5205
 
5213
5206
 
5214
- const __vue_scope_id__$o = "data-v-50ad7f34";
5207
+ const __vue_scope_id__$l = "data-v-50ad7f34";
5215
5208
  /* module identifier */
5216
5209
 
5217
- const __vue_module_identifier__$o = undefined;
5210
+ const __vue_module_identifier__$l = undefined;
5218
5211
  /* functional template */
5219
5212
 
5220
- const __vue_is_functional_template__$o = false;
5213
+ const __vue_is_functional_template__$l = false;
5221
5214
  /* style inject SSR */
5222
5215
 
5223
5216
  /* style inject shadow dom */
5224
5217
 
5225
- const __vue_component__$o = /*#__PURE__*/normalizeComponent({
5226
- render: __vue_render__$o,
5227
- staticRenderFns: __vue_staticRenderFns__$o
5228
- }, __vue_inject_styles__$o, __vue_script__$o, __vue_scope_id__$o, __vue_is_functional_template__$o, __vue_module_identifier__$o, false, createInjector, undefined, undefined);
5218
+ const __vue_component__$l = /*#__PURE__*/normalizeComponent({
5219
+ render: __vue_render__$l,
5220
+ staticRenderFns: __vue_staticRenderFns__$l
5221
+ }, __vue_inject_styles__$l, __vue_script__$l, __vue_scope_id__$l, __vue_is_functional_template__$l, __vue_module_identifier__$l, false, createInjector, undefined, undefined);
5229
5222
 
5230
- var FileUploadField = __vue_component__$o;
5223
+ var FileUploadField = __vue_component__$l;
5231
5224
 
5232
5225
  //
5233
- var script$n = {
5226
+ var script$k = {
5234
5227
  name: 'ui-field-upload-image',
5235
5228
  mixins: [FileUploadField],
5236
5229
  props: {
@@ -5246,10 +5239,10 @@ var script$n = {
5246
5239
  };
5247
5240
 
5248
5241
  /* script */
5249
- const __vue_script__$n = script$n;
5242
+ const __vue_script__$k = script$k;
5250
5243
  /* template */
5251
5244
 
5252
- var __vue_render__$n = function () {
5245
+ var __vue_render__$k = function () {
5253
5246
  var _vm = this;
5254
5247
 
5255
5248
  var _h = _vm.$createElement;
@@ -5306,10 +5299,10 @@ var __vue_render__$n = function () {
5306
5299
  }), _vm._v(" "), _c('span', [_vm._v(_vm._s(_vm.labelText))])])]) : _vm._e()], 2);
5307
5300
  };
5308
5301
 
5309
- var __vue_staticRenderFns__$n = [];
5302
+ var __vue_staticRenderFns__$k = [];
5310
5303
  /* style */
5311
5304
 
5312
- const __vue_inject_styles__$n = function (inject) {
5305
+ const __vue_inject_styles__$k = function (inject) {
5313
5306
  if (!inject) return;
5314
5307
  inject("data-v-4f959319_0", {
5315
5308
  source: ".ui-image-upload-field[data-v-4f959319]{width:100%;display:flex;flex-direction:row;flex-wrap:wrap}.ui-image-upload-field .uploader.disabled[data-v-4f959319] .el-upload{cursor:not-allowed;pointer-events:none}.ui-image-upload-field .uploader.disabled[data-v-4f959319] .el-upload .upload-btn{background:#edeef0;color:#888c94}.ui-image-upload-field .item[data-v-4f959319]{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-4f959319]{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-4f959319]{position:absolute;top:4px;right:4px;color:#fff;font-size:14px}.ui-image-upload-field .item.upload-btn[data-v-4f959319]{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-4f959319]{font-size:1.6em}.ui-image-upload-field .item.upload-btn>span[data-v-4f959319]{font-size:16px;line-height:1.2;margin-top:5px}.ui-image-upload-field .item:hover .modal[data-v-4f959319]{visibility:visible}.ui-image-upload-field[data-v-4f959319] .preview{display:inline-block;width:auto;max-width:60%;left:50%;transform:translateX(-50%)}",
@@ -5320,26 +5313,26 @@ const __vue_inject_styles__$n = function (inject) {
5320
5313
  /* scoped */
5321
5314
 
5322
5315
 
5323
- const __vue_scope_id__$n = "data-v-4f959319";
5316
+ const __vue_scope_id__$k = "data-v-4f959319";
5324
5317
  /* module identifier */
5325
5318
 
5326
- const __vue_module_identifier__$n = undefined;
5319
+ const __vue_module_identifier__$k = undefined;
5327
5320
  /* functional template */
5328
5321
 
5329
- const __vue_is_functional_template__$n = false;
5322
+ const __vue_is_functional_template__$k = false;
5330
5323
  /* style inject SSR */
5331
5324
 
5332
5325
  /* style inject shadow dom */
5333
5326
 
5334
- const __vue_component__$n = /*#__PURE__*/normalizeComponent({
5335
- render: __vue_render__$n,
5336
- staticRenderFns: __vue_staticRenderFns__$n
5337
- }, __vue_inject_styles__$n, __vue_script__$n, __vue_scope_id__$n, __vue_is_functional_template__$n, __vue_module_identifier__$n, false, createInjector, undefined, undefined);
5327
+ const __vue_component__$k = /*#__PURE__*/normalizeComponent({
5328
+ render: __vue_render__$k,
5329
+ staticRenderFns: __vue_staticRenderFns__$k
5330
+ }, __vue_inject_styles__$k, __vue_script__$k, __vue_scope_id__$k, __vue_is_functional_template__$k, __vue_module_identifier__$k, false, createInjector, undefined, undefined);
5338
5331
 
5339
- var ImageUploadField = __vue_component__$n;
5332
+ var ImageUploadField = __vue_component__$k;
5340
5333
 
5341
5334
  //
5342
- var script$m = {
5335
+ var script$j = {
5343
5336
  name: 'ui-field-trigger-dialog',
5344
5337
  mixins: [FieldMixin],
5345
5338
  props: {
@@ -5374,10 +5367,10 @@ var script$m = {
5374
5367
  };
5375
5368
 
5376
5369
  /* script */
5377
- const __vue_script__$m = script$m;
5370
+ const __vue_script__$j = script$j;
5378
5371
  /* template */
5379
5372
 
5380
- var __vue_render__$m = function () {
5373
+ var __vue_render__$j = function () {
5381
5374
  var _vm = this;
5382
5375
 
5383
5376
  var _h = _vm.$createElement;
@@ -5419,34 +5412,34 @@ var __vue_render__$m = function () {
5419
5412
  }, 'ui-dialog', _vm.dialog, false), _vm.$listeners), [_vm._t("default")], 2)], 1);
5420
5413
  };
5421
5414
 
5422
- var __vue_staticRenderFns__$m = [];
5415
+ var __vue_staticRenderFns__$j = [];
5423
5416
  /* style */
5424
5417
 
5425
- const __vue_inject_styles__$m = undefined;
5418
+ const __vue_inject_styles__$j = undefined;
5426
5419
  /* scoped */
5427
5420
 
5428
- const __vue_scope_id__$m = "data-v-c78e8610";
5421
+ const __vue_scope_id__$j = "data-v-c78e8610";
5429
5422
  /* module identifier */
5430
5423
 
5431
- const __vue_module_identifier__$m = undefined;
5424
+ const __vue_module_identifier__$j = undefined;
5432
5425
  /* functional template */
5433
5426
 
5434
- const __vue_is_functional_template__$m = false;
5427
+ const __vue_is_functional_template__$j = false;
5435
5428
  /* style inject */
5436
5429
 
5437
5430
  /* style inject SSR */
5438
5431
 
5439
5432
  /* style inject shadow dom */
5440
5433
 
5441
- const __vue_component__$m = /*#__PURE__*/normalizeComponent({
5442
- render: __vue_render__$m,
5443
- staticRenderFns: __vue_staticRenderFns__$m
5444
- }, __vue_inject_styles__$m, __vue_script__$m, __vue_scope_id__$m, __vue_is_functional_template__$m, __vue_module_identifier__$m, false, undefined, undefined, undefined);
5434
+ const __vue_component__$j = /*#__PURE__*/normalizeComponent({
5435
+ render: __vue_render__$j,
5436
+ staticRenderFns: __vue_staticRenderFns__$j
5437
+ }, __vue_inject_styles__$j, __vue_script__$j, __vue_scope_id__$j, __vue_is_functional_template__$j, __vue_module_identifier__$j, false, undefined, undefined, undefined);
5445
5438
 
5446
- var DialogTrigger = __vue_component__$m;
5439
+ var DialogTrigger = __vue_component__$j;
5447
5440
 
5448
5441
  //
5449
- var script$l = {
5442
+ var script$i = {
5450
5443
  name: 'ui-field-trigger-popover',
5451
5444
  mixins: [FieldMixin],
5452
5445
  props: {
@@ -5495,10 +5488,10 @@ var script$l = {
5495
5488
  };
5496
5489
 
5497
5490
  /* script */
5498
- const __vue_script__$l = script$l;
5491
+ const __vue_script__$i = script$i;
5499
5492
  /* template */
5500
5493
 
5501
- var __vue_render__$l = function () {
5494
+ var __vue_render__$i = function () {
5502
5495
  var _vm = this;
5503
5496
 
5504
5497
  var _h = _vm.$createElement;
@@ -5543,10 +5536,10 @@ var __vue_render__$l = function () {
5543
5536
  })], 2)], 2);
5544
5537
  };
5545
5538
 
5546
- var __vue_staticRenderFns__$l = [];
5539
+ var __vue_staticRenderFns__$i = [];
5547
5540
  /* style */
5548
5541
 
5549
- const __vue_inject_styles__$l = function (inject) {
5542
+ const __vue_inject_styles__$i = function (inject) {
5550
5543
  if (!inject) return;
5551
5544
  inject("data-v-78f8007b_0", {
5552
5545
  source: ".ui-field-trigger-popover[data-v-78f8007b]{width:100%}",
@@ -5557,23 +5550,23 @@ const __vue_inject_styles__$l = function (inject) {
5557
5550
  /* scoped */
5558
5551
 
5559
5552
 
5560
- const __vue_scope_id__$l = "data-v-78f8007b";
5553
+ const __vue_scope_id__$i = "data-v-78f8007b";
5561
5554
  /* module identifier */
5562
5555
 
5563
- const __vue_module_identifier__$l = undefined;
5556
+ const __vue_module_identifier__$i = undefined;
5564
5557
  /* functional template */
5565
5558
 
5566
- const __vue_is_functional_template__$l = false;
5559
+ const __vue_is_functional_template__$i = false;
5567
5560
  /* style inject SSR */
5568
5561
 
5569
5562
  /* style inject shadow dom */
5570
5563
 
5571
- const __vue_component__$l = /*#__PURE__*/normalizeComponent({
5572
- render: __vue_render__$l,
5573
- staticRenderFns: __vue_staticRenderFns__$l
5574
- }, __vue_inject_styles__$l, __vue_script__$l, __vue_scope_id__$l, __vue_is_functional_template__$l, __vue_module_identifier__$l, false, createInjector, undefined, undefined);
5564
+ const __vue_component__$i = /*#__PURE__*/normalizeComponent({
5565
+ render: __vue_render__$i,
5566
+ staticRenderFns: __vue_staticRenderFns__$i
5567
+ }, __vue_inject_styles__$i, __vue_script__$i, __vue_scope_id__$i, __vue_is_functional_template__$i, __vue_module_identifier__$i, false, createInjector, undefined, undefined);
5575
5568
 
5576
- var PopoverTrigger = __vue_component__$l;
5569
+ var PopoverTrigger = __vue_component__$i;
5577
5570
 
5578
5571
  var TriggerField = {
5579
5572
  name: 'ui-field-trigger',
@@ -5596,7 +5589,7 @@ var TriggerField = {
5596
5589
  };
5597
5590
 
5598
5591
  //
5599
- var script$k = {
5592
+ var script$h = {
5600
5593
  name: 'ui-field-icons',
5601
5594
  mixins: [FieldMixin],
5602
5595
  components: {
@@ -5654,10 +5647,10 @@ var script$k = {
5654
5647
  };
5655
5648
 
5656
5649
  /* script */
5657
- const __vue_script__$k = script$k;
5650
+ const __vue_script__$h = script$h;
5658
5651
  /* template */
5659
5652
 
5660
- var __vue_render__$k = function () {
5653
+ var __vue_render__$h = function () {
5661
5654
  var _vm = this;
5662
5655
 
5663
5656
  var _h = _vm.$createElement;
@@ -5727,10 +5720,10 @@ var __vue_render__$k = function () {
5727
5720
  }), 0)])], 1)]);
5728
5721
  };
5729
5722
 
5730
- var __vue_staticRenderFns__$k = [];
5723
+ var __vue_staticRenderFns__$h = [];
5731
5724
  /* style */
5732
5725
 
5733
- const __vue_inject_styles__$k = function (inject) {
5726
+ const __vue_inject_styles__$h = function (inject) {
5734
5727
  if (!inject) return;
5735
5728
  inject("data-v-32071a3e_0", {
5736
5729
  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}",
@@ -5741,1648 +5734,122 @@ const __vue_inject_styles__$k = function (inject) {
5741
5734
  /* scoped */
5742
5735
 
5743
5736
 
5744
- const __vue_scope_id__$k = "data-v-32071a3e";
5737
+ const __vue_scope_id__$h = "data-v-32071a3e";
5745
5738
  /* module identifier */
5746
5739
 
5747
- const __vue_module_identifier__$k = undefined;
5740
+ const __vue_module_identifier__$h = undefined;
5748
5741
  /* functional template */
5749
5742
 
5750
- const __vue_is_functional_template__$k = false;
5743
+ const __vue_is_functional_template__$h = false;
5751
5744
  /* style inject SSR */
5752
5745
 
5753
5746
  /* style inject shadow dom */
5754
5747
 
5755
- const __vue_component__$k = /*#__PURE__*/normalizeComponent({
5756
- render: __vue_render__$k,
5757
- staticRenderFns: __vue_staticRenderFns__$k
5758
- }, __vue_inject_styles__$k, __vue_script__$k, __vue_scope_id__$k, __vue_is_functional_template__$k, __vue_module_identifier__$k, false, createInjector, undefined, undefined);
5748
+ const __vue_component__$h = /*#__PURE__*/normalizeComponent({
5749
+ render: __vue_render__$h,
5750
+ staticRenderFns: __vue_staticRenderFns__$h
5751
+ }, __vue_inject_styles__$h, __vue_script__$h, __vue_scope_id__$h, __vue_is_functional_template__$h, __vue_module_identifier__$h, false, createInjector, undefined, undefined);
5759
5752
 
5760
- var IconsField = __vue_component__$k;
5753
+ var IconsField = __vue_component__$h;
5761
5754
 
5762
- const getAMap = function () {
5763
- let plugins = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : [];
5764
- let options = arguments.length > 1 ? arguments[1] : undefined;
5765
- const setting = getSetting();
5766
- return AMapLoader.load(Object.assign({ ...setting.amap,
5767
- plugins: plugins
5768
- }, options || {}));
5755
+ const fields = Object.create(null, {
5756
+ text: {
5757
+ enumerable: true,
5758
+ value: TextField
5759
+ },
5760
+ textarea: {
5761
+ enumerable: true,
5762
+ value: TextField
5763
+ },
5764
+ password: {
5765
+ enumerable: true,
5766
+ value: TextField
5767
+ }
5768
+ });
5769
+ const FormFields = {
5770
+ TextField,
5771
+ HiddenField,
5772
+ DisplayField,
5773
+ AutocompleteField,
5774
+ RadioField,
5775
+ CheckboxField,
5776
+ SelectField,
5777
+ NumberField,
5778
+ CascadeField,
5779
+ DateField,
5780
+ DatecCalendarField,
5781
+ TimePickerField,
5782
+ TimeSelectField,
5783
+ SliderField,
5784
+ SwitchField,
5785
+ RateField,
5786
+ ColorField,
5787
+ RichField,
5788
+ FileUploadField,
5789
+ ImageUploadField,
5790
+ TriggerField,
5791
+ IconsField
5769
5792
  };
5793
+ /**
5794
+ *
5795
+ * @param type {string}
5796
+ * @param field
5797
+ */
5770
5798
 
5771
- //
5772
- const CoordTypes$2 = {
5773
- bd09: gcoord.BD09,
5774
- gcj02: gcoord.GCJ02,
5775
- wgs84: gcoord.WGS84
5799
+ const addFieldType = (type, field) => {
5800
+ // if (Objects.hasProp(fields, type)) {
5801
+ // console.warn(`already have a ${type} field`);
5802
+ // return;
5803
+ // }
5804
+ fields[type] = field;
5776
5805
  };
5777
- var script$j = {
5778
- name: 'ui-field-latlng',
5779
- mixins: [FieldMixin],
5780
- props: {
5781
- coordType: {
5782
- type: String,
5783
- default: 'wgs84',
5784
- validator: val => Object.keys(CoordTypes$2).includes(val)
5785
- }
5786
- },
5787
5806
 
5788
- data() {
5789
- return {
5790
- loading: true,
5791
- keyword: ''
5792
- };
5793
- },
5807
+ const initDefaultField = () => {
5808
+ addFieldType('hidden', HiddenField);
5809
+ addFieldType('display', DisplayField);
5810
+ addFieldType('autocomplete', AutocompleteField);
5811
+ addFieldType('radio', RadioField);
5812
+ addFieldType('checkbox', CheckboxField);
5813
+ addFieldType('select', SelectField);
5814
+ addFieldType('number', NumberField);
5815
+ addFieldType('cascade', CascadeField);
5816
+ addFieldType('year', DateField);
5817
+ addFieldType('yearrange', DateField);
5818
+ addFieldType('month', DateField);
5819
+ addFieldType('monthrange', DateField);
5820
+ addFieldType('date', DateField);
5821
+ addFieldType('dates', DateField);
5822
+ addFieldType('week', DateField);
5823
+ addFieldType('datetime', DateField);
5824
+ addFieldType('datetimerange', DateField);
5825
+ addFieldType('daterange', DateField);
5826
+ addFieldType('datecCalendar', DatecCalendarField);
5827
+ addFieldType('timepicker', TimePickerField);
5828
+ addFieldType('timeselect', TimeSelectField);
5829
+ addFieldType('slider', SliderField);
5830
+ addFieldType('switch', SwitchField);
5831
+ addFieldType('rate', RateField);
5832
+ addFieldType('color', ColorField);
5833
+ addFieldType('rich', RichField); // 根据业务自己按需引入
5794
5834
 
5795
- computed: {
5796
- point() {
5797
- if (!this.value) {
5798
- return null;
5799
- }
5835
+ addFieldType('file', FileUploadField);
5836
+ addFieldType('image', ImageUploadField);
5837
+ addFieldType('trigger', TriggerField);
5838
+ addFieldType('icons', IconsField);
5839
+ addFieldType('lnglat', LnglatField);
5840
+ addFieldType('newlnglat', NewLnglatField);
5841
+ addFieldType('fence', FenceField);
5842
+ };
5800
5843
 
5801
- if (!this.isValidPoint(this.value)) {
5802
- return null;
5803
- }
5804
-
5805
- const [lat, lng] = this.value.split(',');
5806
- return {
5807
- lat: +lat,
5808
- lng: +lng
5809
- };
5810
- }
5811
-
5812
- },
5813
- watch: {
5814
- point(p) {
5815
- this.onPointChange(p);
5816
- }
5817
-
5818
- },
5819
- methods: {
5820
- init() {
5821
- getAMap(['AMap.ToolBar', 'AMap.AutoComplete'], {
5822
- AMapUI: {
5823
- version: '1.1',
5824
- plugins: ['control/BasicControl']
5825
- }
5826
- }).then(AMap => {
5827
- this.initMap(AMap);
5828
- this.loading = false;
5829
- this.done();
5830
- });
5831
- },
5832
-
5833
- initMap(AMap) {
5834
- const map = new AMap.Map(this.$el.querySelector('.map'), {
5835
- zoom: 11
5836
- });
5837
- map.addControl(new AMap.ToolBar({
5838
- position: 'LB'
5839
- }));
5840
- map.addControl(new AMapUI.BasicControl.LayerSwitcher({
5841
- position: 'RT'
5842
- }));
5843
- const auto = new AMap.AutoComplete({
5844
- input: this.$refs.input,
5845
- output: this.$refs.output
5846
- });
5847
- map.on('click', this.onMapClick);
5848
- auto.on('select', event => {
5849
- if (!event.poi || !event.poi.location) {
5850
- return;
5851
- }
5852
-
5853
- map.setZoomAndCenter(16, event.poi.location);
5854
- });
5855
- this.map = map;
5856
- this.onPointChange(this.point);
5857
- },
5858
-
5859
- isValidPoint(val) {
5860
- const [lat, lng] = val.split(',');
5861
- return !(isNaN(+lat) || isNaN(+lng));
5862
- },
5863
-
5864
- onMapClick(_ref) {
5865
- let {
5866
- lnglat
5867
- } = _ref;
5868
- let {
5869
- lat,
5870
- lng
5871
- } = lnglat; // 当前地图是 GCJ02 坐标系
5872
-
5873
- if (this.coordType !== 'gcj02') {
5874
- [lng, lat] = gcoord.transform([lng, lat], gcoord.GCJ02, CoordTypes$2[this.coordType]);
5875
- lng = lng.toFixed(7) / 1;
5876
- lat = lat.toFixed(7) / 1;
5877
- }
5878
-
5879
- this.onChange([lat, lng].join(','));
5880
- },
5881
-
5882
- onPointChange(point) {
5883
- if (!this.map) {
5884
- return;
5885
- }
5886
-
5887
- this.map.clearMap();
5888
-
5889
- if (!point) {
5890
- return;
5891
- }
5892
-
5893
- let {
5894
- lng,
5895
- lat
5896
- } = point; // 当前地图是 GCJ02 坐标系
5897
-
5898
- if (this.coordType !== 'gcj02') {
5899
- [lng, lat] = gcoord.transform([lng, lat], CoordTypes$2[this.coordType], gcoord.GCJ02);
5900
- } // eslint-disable-next-line no-undef
5901
-
5902
-
5903
- const marker = new AMap.Marker({
5904
- position: new AMap.LngLat(lng, lat)
5905
- });
5906
- this.map.add(marker);
5907
- this.map.setCenter([lng, lat]);
5908
- }
5909
-
5910
- }
5911
- };
5912
-
5913
- /* script */
5914
- const __vue_script__$j = script$j;
5915
- /* template */
5916
-
5917
- var __vue_render__$j = function () {
5918
- var _vm = this;
5919
-
5920
- var _h = _vm.$createElement;
5921
-
5922
- var _c = _vm._self._c || _h;
5923
-
5924
- return _c('div', {
5925
- directives: [{
5926
- name: "loading",
5927
- rawName: "v-loading",
5928
- value: _vm.loading,
5929
- expression: "loading"
5930
- }],
5931
- staticClass: "ui-field-latlng"
5932
- }, [_c('div', {
5933
- staticClass: "map"
5934
- }), _vm._v(" "), _c('div', {
5935
- directives: [{
5936
- name: "show",
5937
- rawName: "v-show",
5938
- value: !_vm.loading,
5939
- expression: "!loading"
5940
- }],
5941
- staticClass: "info"
5942
- }, [_c('div', {
5943
- staticClass: "input-item searchbox"
5944
- }, [_vm._m(0), _vm._v(" "), _c('input', {
5945
- ref: "input",
5946
- attrs: {
5947
- "type": "text",
5948
- "form": "__ignore__",
5949
- "placeholder": "请输入..."
5950
- }
5951
- }), _vm._v(" "), _c('div', {
5952
- ref: "output",
5953
- staticClass: "search-result"
5954
- })])])]);
5955
- };
5956
-
5957
- var __vue_staticRenderFns__$j = [function () {
5958
- var _vm = this;
5959
-
5960
- var _h = _vm.$createElement;
5961
-
5962
- var _c = _vm._self._c || _h;
5963
-
5964
- return _c('div', {
5965
- staticClass: "input-item-prepend"
5966
- }, [_c('span', {
5967
- staticClass: "input-item-text"
5968
- }, [_vm._v("搜索关键字")])]);
5969
- }];
5970
- /* style */
5971
-
5972
- const __vue_inject_styles__$j = function (inject) {
5973
- if (!inject) return;
5974
- inject("data-v-568ff222_0", {
5975
- 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}",
5976
- map: undefined,
5977
- media: undefined
5978
- });
5979
- };
5980
- /* scoped */
5981
-
5982
-
5983
- const __vue_scope_id__$j = undefined;
5984
- /* module identifier */
5985
-
5986
- const __vue_module_identifier__$j = undefined;
5987
- /* functional template */
5988
-
5989
- const __vue_is_functional_template__$j = false;
5990
- /* style inject SSR */
5991
-
5992
- /* style inject shadow dom */
5993
-
5994
- const __vue_component__$j = /*#__PURE__*/normalizeComponent({
5995
- render: __vue_render__$j,
5996
- staticRenderFns: __vue_staticRenderFns__$j
5997
- }, __vue_inject_styles__$j, __vue_script__$j, __vue_scope_id__$j, __vue_is_functional_template__$j, __vue_module_identifier__$j, false, createInjector, undefined, undefined);
5998
-
5999
- var LnglatField = __vue_component__$j;
6000
-
6001
- //
6002
- const CoordTypes$1 = {
6003
- bd09: gcoord.BD09,
6004
- gcj02: gcoord.GCJ02,
6005
- wgs84: gcoord.WGS84
6006
- };
6007
- var script$i = {
6008
- name: 'ui-field-latlng-new',
6009
- mixins: [FieldMixin],
6010
- props: {
6011
- coordType: {
6012
- type: String,
6013
- default: 'wgs84',
6014
- validator: val => Object.keys(CoordTypes$1).includes(val)
6015
- },
6016
- showAddress: {
6017
- type: Boolean,
6018
- default: true
6019
- },
6020
- showlnglat: {
6021
- type: Boolean,
6022
- default: true
6023
- },
6024
- address: String,
6025
-
6026
- /**
6027
- * 地图缩放
6028
- * 缩放范围 2~20
6029
- */
6030
- zoom: {
6031
- type: Number,
6032
- default: 15,
6033
- validator: val => 2 <= val && val <= 20
6034
- },
6035
-
6036
- /**
6037
- * 中心点
6038
- * 'lng,lat' 字符串
6039
- */
6040
- center: String,
6041
- disabled: Boolean
6042
- },
6043
-
6044
- data() {
6045
- return {
6046
- loading: true,
6047
- currentTab: 1,
6048
- tabList: [{
6049
- label: '按关键字搜索',
6050
- value: 1
6051
- }, {
6052
- label: '按经纬度搜索',
6053
- value: 2
6054
- }],
6055
- crs: 'wgs84',
6056
- crsList: [{
6057
- label: '原始坐标系',
6058
- value: 'wgs84'
6059
- }, {
6060
- label: '高德坐标系',
6061
- value: 'gcj02'
6062
- }, {
6063
- label: '百度坐标系',
6064
- value: 'bd09'
6065
- }],
6066
- displayLngLat: ''
6067
- };
6068
- },
6069
-
6070
- computed: {
6071
- point() {
6072
- return this.getCoords(this.value);
6073
- },
6074
-
6075
- lngLat() {
6076
- return this.transformLngLat(this.value, CoordTypes$1[this.coordType], CoordTypes$1[this.crs]);
6077
- },
6078
-
6079
- lngLatText() {
6080
- return (this.lngLat || '').split(',');
6081
- },
6082
-
6083
- toolsVisible(_ref) {
6084
- let {
6085
- disabled,
6086
- loading
6087
- } = _ref;
6088
- return !disabled && !loading;
6089
- }
6090
-
6091
- },
6092
- watch: {
6093
- point(p) {
6094
- this.onPointChange(p);
6095
- },
6096
-
6097
- lngLat: {
6098
- immediate: true,
6099
-
6100
- handler(val) {
6101
- this.displayLngLat = val;
6102
- }
6103
-
6104
- },
6105
- zoom: 'setMapZoom',
6106
- center: 'setMapCenter',
6107
-
6108
- toolsVisible(visible) {
6109
- if (visible) {
6110
- var _this$toolbarControl;
6111
-
6112
- (_this$toolbarControl = this.toolbarControl) === null || _this$toolbarControl === void 0 ? void 0 : _this$toolbarControl.show();
6113
- this.map.on('click', this.onMapClick);
6114
- } else {
6115
- var _this$toolbarControl2;
6116
-
6117
- this.map.off('click', this.onMapClick);
6118
- (_this$toolbarControl2 = this.toolbarControl) === null || _this$toolbarControl2 === void 0 ? void 0 : _this$toolbarControl2.hide();
6119
- }
6120
- }
6121
-
6122
- },
6123
- methods: {
6124
- init() {
6125
- getAMap(['AMap.ToolBar', 'AMap.AutoComplete'], {
6126
- AMapUI: {
6127
- version: '1.1',
6128
- plugins: ['control/BasicControl']
6129
- }
6130
- }).then(AMap => {
6131
- this.initMap(AMap);
6132
- this.loading = false;
6133
- this.done();
6134
- });
6135
- },
6136
-
6137
- initMap(AMap) {
6138
- const map = new AMap.Map(this.$el.querySelector('.map'), {
6139
- zoom: this.zoom
6140
- });
6141
- this.toolbarControl = new AMap.ToolBar({
6142
- position: 'LB'
6143
- });
6144
- this.layerSwitcherControl = new AMapUI.BasicControl.LayerSwitcher({
6145
- position: 'RT'
6146
- });
6147
- map.addControl(this.toolbarControl);
6148
- map.addControl(this.layerSwitcherControl);
6149
-
6150
- if (!this.toolsVisible) {
6151
- this.toolbarControl.hide();
6152
- }
6153
-
6154
- const auto = new AMap.AutoComplete({
6155
- input: this.$refs.input,
6156
- output: this.$refs.output
6157
- });
6158
- map.on('click', this.onMapClick);
6159
- auto.on('select', event => {
6160
- if (!event.poi || !event.poi.location) {
6161
- return;
6162
- }
6163
-
6164
- map.setZoomAndCenter(16, event.poi.location);
6165
- });
6166
- this.map = map;
6167
- this.onPointChange(this.point); // 初始化地图中心点
6168
-
6169
- this.setMapCenter();
6170
- },
6171
-
6172
- isValidPoint(val) {
6173
- const [lng, lat] = val.split(',');
6174
- return !(isNaN(+lng) || isNaN(+lat));
6175
- },
6176
-
6177
- onMapClick(_ref2) {
6178
- let {
6179
- lnglat
6180
- } = _ref2;
6181
- let {
6182
- lat,
6183
- lng
6184
- } = lnglat; // 当前地图是 GCJ02 坐标系
6185
-
6186
- if (this.coordType !== 'gcj02') {
6187
- [lng, lat] = gcoord.transform([lng, lat], gcoord.GCJ02, CoordTypes$1[this.coordType]);
6188
- lng = lng.toFixed(7) / 1;
6189
- lat = lat.toFixed(7) / 1;
6190
- }
6191
-
6192
- this.onChange([lng, lat].join(','));
6193
- },
6194
-
6195
- handleLngLat() {
6196
- const point = this.getCoords(this.displayLngLat);
6197
-
6198
- if (!point) {
6199
- this.$message.error('请输入正常的经纬度');
6200
- return;
6201
- }
6202
-
6203
- const value = this.transformLngLat(this.displayLngLat, CoordTypes$1[this.crs], CoordTypes$1[this.coordType]);
6204
- this.onChange(value);
6205
- const mapCoords = this.getCoords(value);
6206
- this.map.setCenter(mapCoords);
6207
- },
6208
-
6209
- onPointChange(point) {
6210
- if (!this.map) {
6211
- return;
6212
- }
6213
-
6214
- this.map.clearMap();
6215
-
6216
- if (!point) {
6217
- return;
6218
- }
6219
-
6220
- let [lng, lat] = point; // 当前地图是 GCJ02 坐标系
6221
-
6222
- if (this.coordType !== 'gcj02') {
6223
- [lng, lat] = gcoord.transform([lng, lat], CoordTypes$1[this.coordType], gcoord.GCJ02);
6224
- } // eslint-disable-next-line no-undef
6225
-
6226
-
6227
- const marker = new AMap.Marker({
6228
- position: new AMap.LngLat(lng, lat)
6229
- });
6230
- this.map.add(marker);
6231
- this.map.setCenter([lng, lat]);
6232
- },
6233
-
6234
- setMapCenter() {
6235
- if (!this.center || !this.map) {
6236
- return;
6237
- }
6238
-
6239
- const [lng, lat] = this.center.split(',');
6240
-
6241
- if (!lng || !lat) {
6242
- return;
6243
- }
6244
-
6245
- this.map.setCenter([+lng, +lat]);
6246
- this.setMapZoom();
6247
- },
6248
-
6249
- setMapZoom() {
6250
- if (!this.zoom || !this.map) {
6251
- return;
6252
- }
6253
-
6254
- this.map.setZoom(this.zoom);
6255
- },
6256
-
6257
- getCoords(lngLat) {
6258
- if (!lngLat) {
6259
- return null;
6260
- }
6261
-
6262
- if (!this.isValidPoint(lngLat)) {
6263
- return null;
6264
- }
6265
-
6266
- const [lng, lat] = lngLat.split(',');
6267
- return [+lng, +lat];
6268
- },
6269
-
6270
- transformLngLat(lngLat, crsFrom, crsTo) {
6271
- if (crsFrom === crsTo) {
6272
- return lngLat;
6273
- }
6274
-
6275
- const coords = this.getCoords(lngLat);
6276
-
6277
- if (!coords) {
6278
- return '';
6279
- }
6280
-
6281
- const transformedCoords = gcoord.transform(coords, crsFrom, crsTo);
6282
- return transformedCoords.map(item => item.toFixed(7) / 1).join(',');
6283
- }
6284
-
6285
- }
6286
- };
6287
-
6288
- /* script */
6289
- const __vue_script__$i = script$i;
6290
- /* template */
6291
-
6292
- var __vue_render__$i = function () {
6293
- var _vm = this;
6294
-
6295
- var _h = _vm.$createElement;
6296
-
6297
- var _c = _vm._self._c || _h;
6298
-
6299
- return _c('div', {
6300
- directives: [{
6301
- name: "loading",
6302
- rawName: "v-loading",
6303
- value: _vm.loading,
6304
- expression: "loading"
6305
- }],
6306
- staticClass: "ui-field-latlng-new"
6307
- }, [_c('div', {
6308
- staticClass: "tabs"
6309
- }, _vm._l(_vm.tabList, function (tab) {
6310
- return _c('div', {
6311
- key: tab.label,
6312
- class: ['tab', _vm.currentTab === tab.value ? 'active' : ''],
6313
- on: {
6314
- "click": function ($event) {
6315
- _vm.currentTab = tab.value;
6316
- }
6317
- }
6318
- }, [_vm._v("\n " + _vm._s(tab.label) + "\n ")]);
6319
- }), 0), _vm._v(" "), _c('div', {
6320
- staticClass: "map"
6321
- }), _vm._v(" "), _c('div', {
6322
- directives: [{
6323
- name: "show",
6324
- rawName: "v-show",
6325
- value: _vm.toolsVisible && _vm.currentTab === 1,
6326
- expression: "toolsVisible && currentTab === 1"
6327
- }],
6328
- staticClass: "info"
6329
- }, [_c('div', {
6330
- staticClass: "input-item searchbox"
6331
- }, [_vm._m(0), _vm._v(" "), _c('input', {
6332
- ref: "input",
6333
- attrs: {
6334
- "type": "text",
6335
- "form": "__ignore__",
6336
- "placeholder": "请输入..."
6337
- }
6338
- }), _vm._v(" "), _c('div', {
6339
- ref: "output",
6340
- staticClass: "search-result"
6341
- })])]), _vm._v(" "), _vm.currentTab === 2 ? _c('div', {
6342
- staticClass: "lnglat"
6343
- }, [_c('el-input', {
6344
- attrs: {
6345
- "placeholder": "请输入经纬度",
6346
- "size": "mini",
6347
- "disabled": _vm.disabled
6348
- },
6349
- model: {
6350
- value: _vm.displayLngLat,
6351
- callback: function ($$v) {
6352
- _vm.displayLngLat = $$v;
6353
- },
6354
- expression: "displayLngLat"
6355
- }
6356
- }, [_c('el-select', {
6357
- attrs: {
6358
- "slot": "prepend",
6359
- "disabled": _vm.disabled,
6360
- "size": "mini"
6361
- },
6362
- slot: "prepend",
6363
- model: {
6364
- value: _vm.crs,
6365
- callback: function ($$v) {
6366
- _vm.crs = $$v;
6367
- },
6368
- expression: "crs"
6369
- }
6370
- }, _vm._l(_vm.crsList, function (item) {
6371
- return _c('el-option', {
6372
- key: item.value,
6373
- attrs: {
6374
- "label": item.label,
6375
- "value": item.value
6376
- }
6377
- });
6378
- }), 1), _vm._v(" "), _c('el-button', {
6379
- attrs: {
6380
- "slot": "append",
6381
- "icon": "el-icon-position",
6382
- "size": "mini",
6383
- "disabled": _vm.disabled
6384
- },
6385
- on: {
6386
- "click": _vm.handleLngLat
6387
- },
6388
- slot: "append"
6389
- })], 1)], 1) : _vm._e(), _vm._v(" "), _vm.showAddress ? _c('div', {
6390
- staticClass: "address"
6391
- }, [_c('div', {
6392
- staticClass: "address-label"
6393
- }, [_vm._v("地址:")]), _vm._v(" "), _c('div', {
6394
- staticClass: "address-box",
6395
- attrs: {
6396
- "title": _vm.address
6397
- }
6398
- }, [_vm._v(_vm._s(_vm.address || '-'))])]) : _vm._e(), _vm._v(" "), _vm.showlnglat ? _c('div', {
6399
- staticClass: "lnglat-text"
6400
- }, [_c('div', {
6401
- staticClass: "lng"
6402
- }, [_c('div', {
6403
- staticClass: "label"
6404
- }, [_vm._v("经度:")]), _vm._v(" "), _c('div', {
6405
- staticClass: "value"
6406
- }, [_vm._v(_vm._s(_vm.lngLatText && _vm.lngLatText[0] || '-'))])]), _vm._v(" "), _c('div', {
6407
- staticClass: "lat"
6408
- }, [_c('div', {
6409
- staticClass: "label"
6410
- }, [_vm._v("纬度:")]), _vm._v(" "), _c('div', {
6411
- staticClass: "value"
6412
- }, [_vm._v(_vm._s(_vm.lngLatText && _vm.lngLatText[1] || '-'))])])]) : _vm._e()]);
6413
- };
6414
-
6415
- var __vue_staticRenderFns__$i = [function () {
6416
- var _vm = this;
6417
-
6418
- var _h = _vm.$createElement;
6419
-
6420
- var _c = _vm._self._c || _h;
6421
-
6422
- return _c('div', {
6423
- staticClass: "input-item-prepend"
6424
- }, [_c('span', {
6425
- staticClass: "input-item-text"
6426
- }, [_vm._v("搜索关键字")])]);
6427
- }];
6428
- /* style */
6429
-
6430
- const __vue_inject_styles__$i = function (inject) {
6431
- if (!inject) return;
6432
- inject("data-v-01ecaa89_0", {
6433
- 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}",
6434
- map: undefined,
6435
- media: undefined
6436
- });
6437
- };
6438
- /* scoped */
6439
-
6440
-
6441
- const __vue_scope_id__$i = undefined;
6442
- /* module identifier */
6443
-
6444
- const __vue_module_identifier__$i = undefined;
6445
- /* functional template */
6446
-
6447
- const __vue_is_functional_template__$i = false;
6448
- /* style inject SSR */
6449
-
6450
- /* style inject shadow dom */
6451
-
6452
- const __vue_component__$i = /*#__PURE__*/normalizeComponent({
6453
- render: __vue_render__$i,
6454
- staticRenderFns: __vue_staticRenderFns__$i
6455
- }, __vue_inject_styles__$i, __vue_script__$i, __vue_scope_id__$i, __vue_is_functional_template__$i, __vue_module_identifier__$i, false, createInjector, undefined, undefined);
6456
-
6457
- var NewLnglatField = __vue_component__$i;
6458
-
6459
- //
6460
- const CoordTypes = {
6461
- bd09: gcoord.BD09,
6462
- gcj02: gcoord.GCJ02,
6463
- wgs84: gcoord.WGS84
6464
- };
6465
- const Types = {
6466
- marker: 'AMap.Marker',
6467
- polyline: 'Overlay.Polyline',
6468
- circle: 'Overlay.Circle',
6469
- polygon: 'Overlay.Polygon'
6470
- };
6471
- var script$h = {
6472
- name: 'ui-field-fence',
6473
- mixins: [FieldMixin],
6474
- props: {
6475
- /**
6476
- * value:
6477
- * {
6478
- * markers: [[lng, lat], ...],
6479
- * circles: [{center: [lng, lat], radius}, ...],
6480
- * polylines: [[[lng,lat], ...], ...],
6481
- * polygons: [[[lng,lat], ...], ...],
6482
- * }
6483
- */
6484
- coordType: {
6485
- type: String,
6486
- default: 'wgs84',
6487
- validator: val => Object.keys(CoordTypes).includes(val)
6488
- },
6489
-
6490
- /**
6491
- * 'marker,polyline,circle,polygon'
6492
- */
6493
- tools: {
6494
- type: String,
6495
- default: 'marker,polyline,circle,polygon'
6496
- },
6497
- help: {
6498
- type: Boolean,
6499
- default: true
6500
- },
6501
- clear: {
6502
- type: Boolean,
6503
- default: true
6504
- },
6505
- multiple: {
6506
- type: Boolean,
6507
- default: false
6508
- },
6509
-
6510
- /**
6511
- * 0:表示无限制
6512
- */
6513
- limit: {
6514
- type: Number,
6515
- default: 0
6516
- },
6517
-
6518
- /**
6519
- * 地图缩放
6520
- * 缩放范围 2~20
6521
- */
6522
- zoom: {
6523
- type: Number,
6524
- default: 15,
6525
- validator: val => 2 <= val && val <= 20
6526
- },
6527
-
6528
- /**
6529
- * 中心点
6530
- * 'lng,lat' 字符串
6531
- */
6532
- center: String,
6533
- disabled: Boolean
6534
- },
6535
-
6536
- data() {
6537
- return {
6538
- loading: true,
6539
- keyword: '',
6540
- drawing: false
6541
- };
6542
- },
6543
-
6544
- computed: {
6545
- toolList() {
6546
- return (this.tools || '').split(',').filter(tool => Object.keys(Types).includes(tool));
6547
- },
6548
-
6549
- realLimit() {
6550
- if (this.multiple) {
6551
- return this.limit;
6552
- }
6553
-
6554
- return 1;
6555
- },
6556
-
6557
- isCurrentCoord() {
6558
- return this.coordType === 'gcj02';
6559
- },
6560
-
6561
- toolsVisible(_ref) {
6562
- let {
6563
- disabled,
6564
- loading
6565
- } = _ref;
6566
- return !disabled && !loading;
6567
- }
6568
-
6569
- },
6570
- watch: {
6571
- value: {
6572
- immediate: true,
6573
- handler: 'onValueChange'
6574
- },
6575
- zoom: 'setMapZoom',
6576
- center: 'setMapCenter',
6577
-
6578
- toolsVisible(visible) {
6579
- if (visible) {
6580
- var _this$toolbarControl;
6581
-
6582
- (_this$toolbarControl = this.toolbarControl) === null || _this$toolbarControl === void 0 ? void 0 : _this$toolbarControl.show();
6583
- } else {
6584
- var _this$mouseTool, _this$toolbarControl2;
6585
-
6586
- (_this$mouseTool = this.mouseTool) === null || _this$mouseTool === void 0 ? void 0 : _this$mouseTool.close();
6587
- (_this$toolbarControl2 = this.toolbarControl) === null || _this$toolbarControl2 === void 0 ? void 0 : _this$toolbarControl2.hide();
6588
- }
6589
- }
6590
-
6591
- },
6592
-
6593
- created() {
6594
- this.graph = {
6595
- polylines: [],
6596
- markers: [],
6597
- circles: [],
6598
- polygons: []
6599
- };
6600
- this.editor = {};
6601
- },
6602
-
6603
- methods: {
6604
- init() {
6605
- getAMap(['AMap.ToolBar', 'AMap.AutoComplete', 'AMap.MouseTool', 'AMap.PolygonEditor', 'AMap.PolylineEditor', 'AMap.CircleEditor'], {
6606
- AMapUI: {
6607
- version: '1.1',
6608
- plugins: ['control/BasicControl']
6609
- }
6610
- }).then(AMap => {
6611
- this.initMap(AMap);
6612
- this.loading = false;
6613
- this.done();
6614
- });
6615
- },
6616
-
6617
- initMap(AMap) {
6618
- this.AMap = AMap;
6619
- this.map = new AMap.Map(this.$el.querySelector('.map'), {
6620
- zoom: this.zoom,
6621
- isHotspot: false
6622
- });
6623
- this.initMapControl(this.map);
6624
- this.initMapAutoComplete(this.map);
6625
- this.contextMenu = this.initMapContextMenu(this.map);
6626
- this.mouseTool = this.initMapMouseTool(this.map); // 根据value初始化地图上图形
6627
-
6628
- this.onValueChange(this.value); // 初始化地图中心点
6629
-
6630
- this.setMapCenter();
6631
- },
6632
-
6633
- initMapControl(map) {
6634
- this.toolbarControl = new this.AMap.ToolBar({
6635
- position: 'LB'
6636
- });
6637
- this.layerSwitcherControl = new AMapUI.BasicControl.LayerSwitcher({
6638
- position: 'RT'
6639
- });
6640
- map.addControl(this.toolbarControl);
6641
- map.addControl(this.layerSwitcherControl);
6642
-
6643
- if (!this.toolsVisible) {
6644
- this.toolbarControl.hide();
6645
- }
6646
- },
6647
-
6648
- initMapAutoComplete(map) {
6649
- const auto = new this.AMap.AutoComplete({
6650
- input: this.$refs.input,
6651
- output: this.$refs.output
6652
- });
6653
- auto.on('select', event => {
6654
- if (!event.poi || !event.poi.location) {
6655
- return;
6656
- }
6657
-
6658
- map.setZoomAndCenter(16, event.poi.location);
6659
- });
6660
- return auto;
6661
- },
6662
-
6663
- initMapContextMenu() {
6664
- const contextMenu = new this.AMap.ContextMenu();
6665
- contextMenu.addItem('删除', () => {
6666
- const removeObj = this.contextMenuTarget;
6667
- this.removeGraph(removeObj);
6668
- removeObj.setMap(null);
6669
- this.contextMenuTarget = null; // 点击右键菜单子的某一项不会触发 contextMenu 的 close 事件
6670
- });
6671
- contextMenu.on('close', () => {
6672
- this.contextMenuTarget = null;
6673
- });
6674
- return contextMenu;
6675
- },
6676
-
6677
- initMapMouseTool(map) {
6678
- const mouseTool = new this.AMap.MouseTool(map);
6679
- mouseTool.on('draw', event => {
6680
- mouseTool.close();
6681
- this.drawing = false;
6682
- const obj = event.obj;
6683
- const isAdded = this.addGraph(obj);
6684
-
6685
- if (!isAdded) {
6686
- map.remove(obj);
6687
- return;
6688
- }
6689
-
6690
- this.initGraphEvent(obj);
6691
- this.onGraphChange();
6692
- });
6693
- return mouseTool;
6694
- },
6695
-
6696
- setMapZoom() {
6697
- if (!this.zoom || !this.map) {
6698
- return;
6699
- }
6700
-
6701
- this.map.setZoom(this.zoom);
6702
- },
6703
-
6704
- setMapCenter() {
6705
- if (!this.center || !this.map) {
6706
- return;
6707
- }
6708
-
6709
- const [lng, lat] = this.center.split(',');
6710
-
6711
- if (!lng || !lat) {
6712
- return;
6713
- }
6714
-
6715
- this.map.setCenter([+lng, +lat]);
6716
- this.setMapZoom();
6717
- },
6718
-
6719
- getToolClass(tool) {
6720
- if (this.realLimit <= 0 || !this.multiple) {
6721
- return tool;
6722
- }
6723
-
6724
- const {
6725
- markers,
6726
- circles,
6727
- polylines,
6728
- polygons
6729
- } = this.value || {};
6730
- let length = 0;
6731
-
6732
- if (tool === 'marker') {
6733
- length = (markers || []).length;
6734
- } else if (tool === 'circle') {
6735
- length = (circles || []).length;
6736
- } else if (tool === 'polyline') {
6737
- length = (polylines || []).length;
6738
- } else if (tool === 'polygon') {
6739
- length = (polygons || []).length;
6740
- }
6741
-
6742
- if (length >= this.realLimit) {
6743
- return tool + ' disabled';
6744
- }
6745
-
6746
- return tool;
6747
- },
6748
-
6749
- onValueChange(value) {
6750
- if (!this.map) {
6751
- return;
6752
- }
6753
-
6754
- const {
6755
- markers,
6756
- circles,
6757
- polylines,
6758
- polygons
6759
- } = value || {};
6760
- const removedMarkers = this.graph.markers.slice((markers || []).length);
6761
- const removedCircles = this.graph.circles.slice((circles || []).length);
6762
- const removedPolylines = this.graph.polylines.slice((polylines || []).length);
6763
- const removedPolygons = this.graph.polygons.slice((polygons || []).length);
6764
- [...removedMarkers, ...removedCircles, ...removedPolylines, ...removedPolygons].forEach(item => item.setMap(null));
6765
- (markers || []).forEach((markerData, index) => {
6766
- let mapMarker = this.graph.markers[index];
6767
- const lngLatData = this.getMapLngLatData(markers[index]);
6768
- const position = new this.AMap.LngLat(lngLatData[0], lngLatData[1]);
6769
-
6770
- if (!mapMarker) {
6771
- mapMarker = new this.AMap.Marker({
6772
- map: this.map,
6773
- position: position
6774
- });
6775
- this.addGraph(mapMarker);
6776
- this.initGraphEvent(mapMarker);
6777
- } else {
6778
- mapMarker.setPosition(position);
6779
- }
6780
- });
6781
- (circles || []).forEach((circleData, index) => {
6782
- let mapCircle = this.graph.circles[index];
6783
- const lngLatData = this.getMapLngLatData(circleData.center);
6784
- const lngLat = new this.AMap.LngLat(lngLatData[0], lngLatData[1]);
6785
-
6786
- if (!mapCircle) {
6787
- mapCircle = new this.AMap.Circle({
6788
- map: this.map,
6789
- center: lngLat,
6790
- radius: circleData.radius
6791
- });
6792
- this.map.add(mapCircle);
6793
- this.addGraph(mapCircle);
6794
- this.initGraphEvent(mapCircle);
6795
- } else {
6796
- mapCircle.setCenter(lngLat);
6797
- mapCircle.setRadius(circleData.radius);
6798
- }
6799
- });
6800
- (polylines || []).forEach((polylineData, index) => {
6801
- let mapPolyline = this.graph.polylines[index];
6802
- const path = polylineData.map(item => this.getMapLngLatData(item)).map(item => new this.AMap.LngLat(item[0], item[1]));
6803
-
6804
- if (!mapPolyline) {
6805
- mapPolyline = new this.AMap.Polyline({
6806
- path: path
6807
- });
6808
- this.map.add(mapPolyline);
6809
- this.addGraph(mapPolyline);
6810
- this.initGraphEvent(mapPolyline);
6811
- } else {
6812
- mapPolyline.setPath(path);
6813
- }
6814
- });
6815
- (polygons || []).forEach((polygonData, index) => {
6816
- let mapPolygon = this.graph.polygons[index];
6817
- const path = polygonData.map(item => this.getMapLngLatData(item)).map(item => new this.AMap.LngLat(item[0], item[1]));
6818
-
6819
- if (!mapPolygon) {
6820
- mapPolygon = new this.AMap.Polygon({
6821
- path
6822
- });
6823
- this.map.add(mapPolygon);
6824
- this.addGraph(mapPolygon);
6825
- this.initGraphEvent(mapPolygon);
6826
- } else {
6827
- mapPolygon.setPath(path);
6828
- }
6829
- });
6830
- this.map.setFitView();
6831
- },
6832
-
6833
- onGraphChange() {
6834
- const {
6835
- markers,
6836
- circles,
6837
- polylines,
6838
- polygons
6839
- } = this.graph;
6840
- const value = {
6841
- markers: this.getMarkerValue(markers),
6842
- circles: this.getCircleValue(circles),
6843
- polylines: this.getPolylineValue(polylines),
6844
- polygons: this.getPolygonValue(polygons)
6845
- };
6846
- const count = Object.values(value).reduce((total, item) => total + item.length, 0);
6847
-
6848
- if (count <= 0) {
6849
- // required 效果
6850
- this.onChange();
6851
- return;
6852
- }
6853
-
6854
- this.onChange(Object.freeze(value));
6855
- },
6856
-
6857
- onEditorChange() {
6858
- if (this.drawing) {
6859
- return;
6860
- }
6861
-
6862
- this.onGraphChange();
6863
- },
6864
-
6865
- // onEditorAdd(obj) {
6866
- // this.initGraphEvent(obj);
6867
- // this.addGraph(obj);
6868
- // this.drawing = false;
6869
- // },
6870
- // 使用 mouseTool 方式添加图形. editor方式添加的图形有bug(PolylineEditor 添加的初始线段无法响应click和rightclick事件)
6871
- draw(type) {
6872
- this.closeEditors();
6873
-
6874
- if (type === 'marker') {
6875
- this.drawMarker();
6876
- } else if (type === 'circle') {
6877
- this.drawCircle();
6878
- } else if (type === 'polyline') {
6879
- this.drawPolyline();
6880
- } else if (type === 'polygon') {
6881
- this.drawPolygon();
6882
- }
6883
-
6884
- this.drawing = true;
6885
- },
6886
-
6887
- drawMarker() {
6888
- this.mouseTool.marker();
6889
- },
6890
-
6891
- drawCircle() {
6892
- this.mouseTool.circle();
6893
- },
6894
-
6895
- drawPolyline() {
6896
- this.mouseTool.polyline();
6897
- },
6898
-
6899
- drawPolygon() {
6900
- this.mouseTool.polygon();
6901
- },
6902
-
6903
- initGraphEvent(graph) {
6904
- graph.on('rightclick', e => {
6905
- const editor = this.getEditor(graph.className);
6906
-
6907
- if (editor && editor.getTarget() === graph) {
6908
- this.closeEditor(editor);
6909
- }
6910
-
6911
- this.contextMenuTarget = graph;
6912
- this.contextMenu.open(this.map, e.lnglat);
6913
- });
6914
- const editors = ['Overlay.Polyline', 'Overlay.Circle', 'Overlay.Polygon'];
6915
-
6916
- if (!editors.includes(graph.className)) {
6917
- return;
6918
- }
6919
-
6920
- graph.on('click', () => {
6921
- const editor = this.getEditor(graph.className);
6922
- const target = editor.getTarget();
6923
-
6924
- if (target && target === graph) {
6925
- this.closeEditor(editor);
6926
- return;
6927
- }
6928
-
6929
- this.closeEditors();
6930
- editor.setTarget(graph);
6931
- editor.open();
6932
- });
6933
- },
6934
-
6935
- removeGraph(graph) {
6936
- const extData = graph.getExtData();
6937
- const {
6938
- index
6939
- } = extData || {};
6940
- let list;
6941
-
6942
- if (graph.className === 'AMap.Marker') {
6943
- list = this.graph.markers;
6944
- } else if (graph.className === 'Overlay.Circle') {
6945
- list = this.graph.circles;
6946
- } else if (graph.className === 'Overlay.Polyline') {
6947
- list = this.graph.polylines;
6948
- } else if (graph.className === 'Overlay.Polygon') {
6949
- list = this.graph.polygons;
6950
- } else {
6951
- list = [];
6952
- }
6953
-
6954
- list.splice(index, 1);
6955
- this.onGraphChange();
6956
- },
6957
-
6958
- addGraph(graph) {
6959
- if (graph.className === 'Overlay.Polyline') {
6960
- return this.addPolyline(graph);
6961
- } else if (graph.className === 'AMap.Marker') {
6962
- return this.addMarker(graph);
6963
- } else if (graph.className === 'Overlay.Circle') {
6964
- return this.addCircle(graph);
6965
- } else if (graph.className === 'Overlay.Polygon') {
6966
- return this.addPolygon(graph);
6967
- }
6968
- },
6969
-
6970
- addMarker(marker) {
6971
- if (!this.multiple) {
6972
- this.graph.markers.forEach(item => item.setMap(null));
6973
- this.graph.markers.length = 0;
6974
- }
6975
-
6976
- const index = this.graph.markers.length;
6977
- marker.setExtData({
6978
- index
6979
- });
6980
- this.graph.markers.push(marker);
6981
- return true;
6982
- },
6983
-
6984
- addCircle(circle) {
6985
- if (circle.getRadius() <= 0) {
6986
- return false;
6987
- }
6988
-
6989
- if (!this.multiple) {
6990
- this.graph.circles.forEach(item => item.setMap(null));
6991
- this.graph.circles.length = 0;
6992
- }
6993
-
6994
- const index = this.graph.circles.length;
6995
- circle.setExtData({
6996
- index
6997
- });
6998
- this.graph.circles.push(circle);
6999
- return true;
7000
- },
7001
-
7002
- addPolyline(polyline) {
7003
- if (polyline.getLength() <= 0) {
7004
- return false;
7005
- }
7006
-
7007
- if (!this.multiple) {
7008
- this.graph.polylines.forEach(item => item.setMap(null));
7009
- this.graph.polylines.length = 0;
7010
- }
7011
-
7012
- const index = this.graph.polylines.length;
7013
- polyline.setExtData({
7014
- index
7015
- });
7016
- this.graph.polylines.push(polyline);
7017
- return true;
7018
- },
7019
-
7020
- addPolygon(polygon) {
7021
- if (polygon.getArea() <= 0) {
7022
- this.$message.info('绘制多边形时请至少绘制3个点');
7023
- return false;
7024
- }
7025
-
7026
- if (!this.multiple) {
7027
- this.graph.polygons.forEach(item => item.setMap(null));
7028
- this.graph.polygons.length = 0;
7029
- }
7030
-
7031
- const index = this.graph.polygons.length;
7032
- polygon.setExtData({
7033
- index
7034
- });
7035
- this.graph.polygons.push(polygon);
7036
- return true;
7037
- },
7038
-
7039
- getEditor(type) {
7040
- if (type === 'Overlay.Circle') {
7041
- return this.editor.circle || this.initCircleEditor();
7042
- } else if (type === 'Overlay.Polyline') {
7043
- return this.editor.polyline || this.initPolylineEditor();
7044
- } else if (type === 'Overlay.Polygon') {
7045
- return this.editor.polygon || this.initPolygonEditor();
7046
- }
7047
- },
7048
-
7049
- initCircleEditor() {
7050
- const circleEditor = new this.AMap.CircleEditor(this.map);
7051
- this.editor.circle = circleEditor;
7052
- this.initEditorEvent(circleEditor);
7053
- return circleEditor;
7054
- },
7055
-
7056
- initPolylineEditor() {
7057
- const polylineEditor = new this.AMap.PolylineEditor(this.map);
7058
- this.editor.polyline = polylineEditor;
7059
- this.initEditorEvent(polylineEditor);
7060
- return polylineEditor;
7061
- },
7062
-
7063
- initPolygonEditor() {
7064
- const polygonEditor = new this.AMap.PolygonEditor(this.map);
7065
- this.editor.polygon = polygonEditor;
7066
- this.initEditorEvent(polygonEditor);
7067
- return polygonEditor;
7068
- },
7069
-
7070
- initEditorEvent(editor) {
7071
- editor.on('addnode', () => this.onEditorChange());
7072
- editor.on('adjust', () => this.onEditorChange());
7073
- editor.on('move', () => this.onEditorChange()); // editor.on('add', (event) => this.onEditorAdd(event.target));
7074
- },
7075
-
7076
- closeEditor(editor) {
7077
- editor.setTarget();
7078
- editor.close();
7079
- },
7080
-
7081
- closeEditors() {
7082
- Object.values(this.editor).forEach(editor => this.closeEditor(editor));
7083
- },
7084
-
7085
- getMapLngLatData(point) {
7086
- let [lng, lat] = point;
7087
-
7088
- if (!this.isCurrentCoord) {
7089
- [lng, lat] = gcoord.transform([lng, lat], CoordTypes[this.coordType], gcoord.GCJ02);
7090
- }
7091
-
7092
- return [lng, lat];
7093
- },
7094
-
7095
- getPoint(lngLat) {
7096
- let [lng, lat] = lngLat;
7097
-
7098
- if (!this.isCurrentCoord) {
7099
- [lng, lat] = gcoord.transform([lng, lat], gcoord.GCJ02, CoordTypes[this.coordType]);
7100
- lng = lng.toFixed(7) / 1;
7101
- lat = lat.toFixed(7) / 1;
7102
- }
7103
-
7104
- return [lng, lat];
7105
- },
7106
-
7107
- getMarkerValue(markers) {
7108
- return (markers || []).map(marker => {
7109
- const lngLat = marker.getPosition();
7110
- return this.getPoint([lngLat.getLng(), lngLat.getLat()]);
7111
- });
7112
- },
7113
-
7114
- getCircleValue(circles) {
7115
- return (circles || []).map(circle => {
7116
- const radius = circle.getRadius();
7117
- const lngLat = circle.getCenter();
7118
- return {
7119
- center: this.getPoint([lngLat.getLng(), lngLat.getLat()]),
7120
- radius
7121
- };
7122
- });
7123
- },
7124
-
7125
- getPolylineValue(polylines) {
7126
- return (polylines || []).map(polyline => {
7127
- const path = polyline.getPath();
7128
- return path.map(item => this.getPoint([item.getLng(), item.getLat()]));
7129
- });
7130
- },
7131
-
7132
- getPolygonValue(polygons) {
7133
- return (polygons || []).map(polygon => {
7134
- const path = polygon.getPath();
7135
- return path.map(item => this.getPoint([item.getLng(), item.getLat()]));
7136
- });
7137
- },
7138
-
7139
- async handleClear(warn) {
7140
- if (warn) {
7141
- const [, confirm] = await to(this.$confirm('确认清空地图上所有的图形?', '提示', {
7142
- type: 'warning'
7143
- }));
7144
-
7145
- if (!confirm) {
7146
- return;
7147
- }
7148
- }
7149
-
7150
- this.closeEditors();
7151
- this.contextMenu.close();
7152
- Object.values(this.graph).forEach(items => items.forEach(item => item.setMap(null)));
7153
- this.graph = {
7154
- polylines: [],
7155
- markers: [],
7156
- circles: [],
7157
- polygons: []
7158
- };
7159
- this.onGraphChange();
7160
- }
7161
-
7162
- }
7163
- };
7164
-
7165
- /* script */
7166
- const __vue_script__$h = script$h;
7167
- /* template */
7168
-
7169
- var __vue_render__$h = function () {
7170
- var _vm = this;
7171
-
7172
- var _h = _vm.$createElement;
7173
-
7174
- var _c = _vm._self._c || _h;
7175
-
7176
- return _c('div', {
7177
- directives: [{
7178
- name: "loading",
7179
- rawName: "v-loading",
7180
- value: _vm.loading,
7181
- expression: "loading"
7182
- }],
7183
- staticClass: "ui-field-fence"
7184
- }, [_c('div', {
7185
- staticClass: "map"
7186
- }), _vm._v(" "), _c('div', {
7187
- directives: [{
7188
- name: "show",
7189
- rawName: "v-show",
7190
- value: _vm.toolsVisible,
7191
- expression: "toolsVisible"
7192
- }],
7193
- staticClass: "info"
7194
- }, [_c('div', {
7195
- staticClass: "input-item searchbox"
7196
- }, [_vm._m(0), _vm._v(" "), _c('input', {
7197
- ref: "input",
7198
- attrs: {
7199
- "type": "text",
7200
- "form": "__ignore__",
7201
- "placeholder": "请在地图上选择位置"
7202
- }
7203
- }), _vm._v(" "), _c('div', {
7204
- ref: "output",
7205
- staticClass: "search-result"
7206
- })])]), _vm._v(" "), _c('div', {
7207
- directives: [{
7208
- name: "show",
7209
- rawName: "v-show",
7210
- value: _vm.toolsVisible,
7211
- expression: "toolsVisible"
7212
- }],
7213
- staticClass: "tools",
7214
- class: {
7215
- disabled: _vm.drawing
7216
- }
7217
- }, [_vm.toolList.length > 0 && _vm.help ? _c('div', {
7218
- staticClass: "tool help"
7219
- }) : _vm._e(), _vm._v(" "), _vm._l(_vm.toolList, function (tool) {
7220
- return _c('div', {
7221
- key: tool,
7222
- staticClass: "tool",
7223
- class: _vm.getToolClass(tool),
7224
- on: {
7225
- "click": function ($event) {
7226
- return _vm.draw(tool);
7227
- }
7228
- }
7229
- });
7230
- }), _vm._v(" "), _vm.toolList.length > 0 && _vm.clear ? _c('div', {
7231
- staticClass: "tool clear",
7232
- on: {
7233
- "click": function ($event) {
7234
- return _vm.handleClear(true);
7235
- }
7236
- }
7237
- }) : _vm._e()], 2)]);
7238
- };
7239
-
7240
- var __vue_staticRenderFns__$h = [function () {
7241
- var _vm = this;
7242
-
7243
- var _h = _vm.$createElement;
7244
-
7245
- var _c = _vm._self._c || _h;
7246
-
7247
- return _c('div', {
7248
- staticClass: "input-item-prepend"
7249
- }, [_c('span', {
7250
- staticClass: "input-item-text"
7251
- }, [_vm._v("搜索关键字")])]);
7252
- }];
7253
- /* style */
7254
-
7255
- const __vue_inject_styles__$h = function (inject) {
7256
- if (!inject) return;
7257
- inject("data-v-740cb938_0", {
7258
- 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,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgEAYAAAAj6qa3AAAABGdBTUEAALGPC/xhBQAAAAFzUkdCAK7OHOkAAAAgY0hSTQAAeiYAAICEAAD6AAAAgOgAAHUwAADqYAAAOpgAABdwnLpRPAAAAAZiS0dEAAAAAAAA+UO7fwAAAAlwSFlzAAAASAAAAEgARslrPgAABbFJREFUaN7tmH9M1GUcx9+f7zFBOWDOH0QeCiiVrQEL5b7P9+AOXP44nZtu3tEZGNqWrlBXtIxpmWWYWSslK1zOyzOnoJtG6ky2PH4EnErAikoKgVOzZDqZTiHu++kPdldTG5B3oNP3f8+e5/t5Pu/Xd8+PzwM80P0tClRgwyjDKMOosDDpcy7gghkz0Iit6sWZM7GC7TQ7JoaSaRuyRo/mzfwMiq5do2U4iZPnz/M7UikvqKiglZpT6guHDpVfKb/iKj1z5q4HYGITm1ir5ef+GvvX2Bdf5NXYyuvz82kxPoI9IuL/xuUsODCjrAzbPbXqo3l5FbW1C2sXNjbeNQDS9Prd+t0JCRQmSZJ04AC6aQs2x8b6BkQhDvXl5ZzHQcgsLZVmST3qjIYG3qGOkxo6OjCNzGTWajmY3lWb4uLoDN9A7KxZHMavkGfuXHqaCvBOaChew7OwdXcjlzfjsxUryluqm6qbioqGDEDaZVEn6oxGkjGRxxw6hEgyk1WrxePIQqTLRZ/ST1L0ypVOqiqsKqypGWj8aTX63frdkZE9nZIqqW++iXKqR93SpTDBAIWZz6lTWC9ERU5NdE20y3WnIPotY4QxImVubKwxUpSJsosXjUZFEYLZ+LwoEkV2u3mSeZJ5UnCwv+c1zRQFosBmM1mVCCVi8eJBM3wLgEwlSwx3On3Gk8Rpcfrgwd5eSRqyxP6n+p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+5qteZfGNB3/jwAIMyNDPAZ7PA1GPR6DAKAXo8iAP22x63uGtkAUFDgLOEWNu4CtjosLXElXMnU1OqLI2immLAwZxcne1k4kaJSyMPDMcZeJHVAAEvAMRT/JV8b2Lw2EgEAY8Zv+Qhl/cCA5UjrauFWBdXiA5iqq31e7ojqG8rJsdXf5gy4f7MmWmkXNXC1+/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}",
7259
- map: undefined,
7260
- media: undefined
7261
- });
7262
- };
7263
- /* scoped */
7264
-
7265
-
7266
- const __vue_scope_id__$h = undefined;
7267
- /* module identifier */
7268
-
7269
- const __vue_module_identifier__$h = undefined;
7270
- /* functional template */
7271
-
7272
- const __vue_is_functional_template__$h = false;
7273
- /* style inject SSR */
7274
-
7275
- /* style inject shadow dom */
7276
-
7277
- const __vue_component__$h = /*#__PURE__*/normalizeComponent({
7278
- render: __vue_render__$h,
7279
- staticRenderFns: __vue_staticRenderFns__$h
7280
- }, __vue_inject_styles__$h, __vue_script__$h, __vue_scope_id__$h, __vue_is_functional_template__$h, __vue_module_identifier__$h, false, createInjector, undefined, undefined);
7281
-
7282
- var FenceField = __vue_component__$h;
7283
-
7284
- const fields = Object.create(null, {
7285
- text: {
7286
- enumerable: true,
7287
- value: TextField
7288
- },
7289
- textarea: {
7290
- enumerable: true,
7291
- value: TextField
7292
- },
7293
- password: {
7294
- enumerable: true,
7295
- value: TextField
7296
- }
7297
- });
7298
- const FormFields = {
7299
- TextField,
7300
- HiddenField,
7301
- DisplayField,
7302
- AutocompleteField,
7303
- RadioField,
7304
- CheckboxField,
7305
- SelectField,
7306
- NumberField,
7307
- CascadeField,
7308
- DateField,
7309
- DatecCalendarField,
7310
- TimePickerField,
7311
- TimeSelectField,
7312
- SliderField,
7313
- SwitchField,
7314
- RateField,
7315
- ColorField,
7316
- RichField,
7317
- FileUploadField,
7318
- ImageUploadField,
7319
- TriggerField,
7320
- IconsField,
7321
- LnglatField,
7322
- NewLnglatField,
7323
- FenceField
7324
- };
7325
- /**
7326
- *
7327
- * @param type {string}
7328
- * @param field
7329
- */
7330
-
7331
- const addFieldType = (type, field) => {
7332
- if (Objects.hasProp(fields, type)) {
7333
- console.warn(`already have a ${type} field`);
7334
- return;
7335
- }
7336
-
7337
- fields[type] = field;
7338
- };
7339
-
7340
- const initDefaultField = () => {
7341
- addFieldType('hidden', HiddenField);
7342
- addFieldType('display', DisplayField);
7343
- addFieldType('autocomplete', AutocompleteField);
7344
- addFieldType('radio', RadioField);
7345
- addFieldType('checkbox', CheckboxField);
7346
- addFieldType('select', SelectField);
7347
- addFieldType('number', NumberField);
7348
- addFieldType('cascade', CascadeField);
7349
- addFieldType('year', DateField);
7350
- addFieldType('yearrange', DateField);
7351
- addFieldType('month', DateField);
7352
- addFieldType('monthrange', DateField);
7353
- addFieldType('date', DateField);
7354
- addFieldType('dates', DateField);
7355
- addFieldType('week', DateField);
7356
- addFieldType('datetime', DateField);
7357
- addFieldType('datetimerange', DateField);
7358
- addFieldType('daterange', DateField);
7359
- addFieldType('datecCalendar', DatecCalendarField);
7360
- addFieldType('timepicker', TimePickerField);
7361
- addFieldType('timeselect', TimeSelectField);
7362
- addFieldType('slider', SliderField);
7363
- addFieldType('switch', SwitchField);
7364
- addFieldType('rate', RateField);
7365
- addFieldType('color', ColorField);
7366
- addFieldType('rich', RichField); // 根据业务自己按需引入
7367
-
7368
- addFieldType('file', FileUploadField);
7369
- addFieldType('image', ImageUploadField);
7370
- addFieldType('trigger', TriggerField);
7371
- addFieldType('icons', IconsField);
7372
- addFieldType('lnglat', LnglatField);
7373
- addFieldType('newlnglat', NewLnglatField);
7374
- addFieldType('fence', FenceField);
7375
- };
7376
-
7377
- initDefaultField();
7378
- var FormField = {
7379
- name: 'ui-form-field',
7380
- functional: true,
7381
- render: (createElement, context) => {
7382
- const {
7383
- type
7384
- } = context.props;
7385
- const field = fields[type];
5844
+ initDefaultField();
5845
+ var FormField = {
5846
+ name: 'ui-form-field',
5847
+ functional: true,
5848
+ render: (createElement, context) => {
5849
+ const {
5850
+ type
5851
+ } = context.props;
5852
+ const field = fields[type];
7386
5853
 
7387
5854
  if (field) {
7388
5855
  return createElement(field, context.data, context.children);
@@ -7758,7 +6225,8 @@ var script$f = {
7758
6225
  submitting: {
7759
6226
  type: Boolean,
7760
6227
  default: false
7761
- }
6228
+ },
6229
+
7762
6230
  /**
7763
6231
  * listeners:
7764
6232
  * ready 所有表单项都准备好后触发
@@ -7766,7 +6234,10 @@ var script$f = {
7766
6234
  * after-submit 配置 url 后触发submit事件时触发提交数据完成事件
7767
6235
  * validate 任一表单项被校验后触发
7768
6236
  **/
7769
-
6237
+ autocomplete: {
6238
+ type: String,
6239
+ default: 'off'
6240
+ }
7770
6241
  },
7771
6242
 
7772
6243
  data() {
@@ -8104,7 +6575,8 @@ var __vue_render__$f = function () {
8104
6575
  ref: "form",
8105
6576
  attrs: {
8106
6577
  "model": _vm.model,
8107
- "label-width": _vm.labelWidth
6578
+ "label-width": _vm.labelWidth,
6579
+ "autocomplete": _vm.autocomplete
8108
6580
  },
8109
6581
  nativeOn: {
8110
6582
  "submit": function ($event) {
@@ -8125,8 +6597,8 @@ var __vue_staticRenderFns__$f = [];
8125
6597
 
8126
6598
  const __vue_inject_styles__$f = function (inject) {
8127
6599
  if (!inject) return;
8128
- inject("data-v-2b13c885_0", {
8129
- source: ".el-form--inline[data-v-2b13c885] .el-form-item{display:inline-flex}",
6600
+ inject("data-v-2c5e8846_0", {
6601
+ source: ".el-form--inline[data-v-2c5e8846] .el-form-item{display:inline-flex}",
8130
6602
  map: undefined,
8131
6603
  media: undefined
8132
6604
  });
@@ -8134,7 +6606,7 @@ const __vue_inject_styles__$f = function (inject) {
8134
6606
  /* scoped */
8135
6607
 
8136
6608
 
8137
- const __vue_scope_id__$f = "data-v-2b13c885";
6609
+ const __vue_scope_id__$f = "data-v-2c5e8846";
8138
6610
  /* module identifier */
8139
6611
 
8140
6612
  const __vue_module_identifier__$f = undefined;
@@ -13144,4 +11616,4 @@ var index = {
13144
11616
  Components: ComponentList
13145
11617
  };
13146
11618
 
13147
- export { arrays as Arrays, Axios, Date$1 as Dates, FieldMixin, Files, mixin as HistoryMixin, Objects, Router, Store, Strings, Upload, addFieldType, addVType, index as default, getAMap, onReady };
11619
+ export { arrays as Arrays, Axios, Date$1 as Dates, FieldMixin, Files, mixin as HistoryMixin, Objects, Router, Store, Strings, Upload, addFieldType, addVType, index as default, onReady };