@v2coding/ui 1.1.15 → 1.2.1

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.
@@ -1,4 +1,4 @@
1
- 'use strict';Object.defineProperty(exports,'__esModule',{value:true});var immutable=require('immutable'),lodash=require('lodash'),Vue=require('vue'),axios=require('axios'),to=require('await-to-js'),elementUi=require('element-ui'),Vuex=require('vuex'),VuexPersistence=require('vuex-persist'),VueRouter=require('vue-router'),PinyinMatch=require('pinyin-match'),moment=require('moment'),vueQuillEditor=require('vue-quill-editor');require('quill/dist/quill.core.css'),require('quill/dist/quill.snow.css'),require('quill/dist/quill.bubble.css');var gcoord=require('gcoord'),AMapLoader=require('@amap/amap-jsapi-loader'),resizeEvent=require('element-ui/lib/utils/resize-event'),vueMultipane=require('vue-multipane');function _interopDefaultLegacy(e){return e&&typeof e==='object'&&'default'in e?e:{'default':e}}var Vue__default=/*#__PURE__*/_interopDefaultLegacy(Vue);var axios__default=/*#__PURE__*/_interopDefaultLegacy(axios);var to__default=/*#__PURE__*/_interopDefaultLegacy(to);var Vuex__default=/*#__PURE__*/_interopDefaultLegacy(Vuex);var VuexPersistence__default=/*#__PURE__*/_interopDefaultLegacy(VuexPersistence);var VueRouter__default=/*#__PURE__*/_interopDefaultLegacy(VueRouter);var PinyinMatch__default=/*#__PURE__*/_interopDefaultLegacy(PinyinMatch);var moment__default=/*#__PURE__*/_interopDefaultLegacy(moment);var gcoord__default=/*#__PURE__*/_interopDefaultLegacy(gcoord);var AMapLoader__default=/*#__PURE__*/_interopDefaultLegacy(AMapLoader);function ownKeys(object, enumerableOnly) {
1
+ 'use strict';Object.defineProperty(exports,'__esModule',{value:true});var immutable=require('immutable'),lodash=require('lodash'),Vue=require('vue'),axios=require('axios'),to=require('await-to-js'),elementUi=require('element-ui'),Vuex=require('vuex'),VuexPersistence=require('vuex-persist'),VueRouter=require('vue-router'),PinyinMatch=require('pinyin-match'),moment=require('moment'),vueQuillEditor=require('vue-quill-editor');require('quill/dist/quill.core.css'),require('quill/dist/quill.snow.css'),require('quill/dist/quill.bubble.css');var resizeEvent=require('element-ui/lib/utils/resize-event'),vueMultipane=require('vue-multipane');function _interopDefaultLegacy(e){return e&&typeof e==='object'&&'default'in e?e:{'default':e}}var Vue__default=/*#__PURE__*/_interopDefaultLegacy(Vue);var axios__default=/*#__PURE__*/_interopDefaultLegacy(axios);var to__default=/*#__PURE__*/_interopDefaultLegacy(to);var Vuex__default=/*#__PURE__*/_interopDefaultLegacy(Vuex);var VuexPersistence__default=/*#__PURE__*/_interopDefaultLegacy(VuexPersistence);var VueRouter__default=/*#__PURE__*/_interopDefaultLegacy(VueRouter);var PinyinMatch__default=/*#__PURE__*/_interopDefaultLegacy(PinyinMatch);var moment__default=/*#__PURE__*/_interopDefaultLegacy(moment);function ownKeys(object, enumerableOnly) {
2
2
  var keys = Object.keys(object);
3
3
 
4
4
  if (Object.getOwnPropertySymbols) {
@@ -660,11 +660,6 @@ var Objects = {
660
660
  timeout: 30000,
661
661
  baseURL: process.env.VUE_APP_DOMAIN || 'http://localhost:8080' // eslint-disable-line
662
662
 
663
- },
664
- amap: {
665
- version: '2.0',
666
- key: process.env.VUE_APP_AMAP_KEY // eslint-disable-line
667
-
668
663
  },
669
664
  uploadType: 'oss',
670
665
  uploadSignUrl: '/aliyun/oss'
@@ -1684,7 +1679,7 @@ var permission = function permission(identities) {
1684
1679
  install: function install(Vue) {
1685
1680
  Vue.directive(AutoScroll.name, AutoScroll);
1686
1681
  }
1687
- };var script$E = {
1682
+ };var script$B = {
1688
1683
  name: 'ui-icon',
1689
1684
  props: {
1690
1685
  name: String
@@ -1848,10 +1843,10 @@ function renderStyles(styles) {
1848
1843
  }
1849
1844
  return css;
1850
1845
  }/* script */
1851
- var __vue_script__$F = script$E;
1846
+ var __vue_script__$C = script$B;
1852
1847
  /* template */
1853
1848
 
1854
- var __vue_render__$F = function __vue_render__() {
1849
+ var __vue_render__$C = function __vue_render__() {
1855
1850
  var _vm = this;
1856
1851
 
1857
1852
  var _h = _vm.$createElement;
@@ -1866,10 +1861,10 @@ var __vue_render__$F = function __vue_render__() {
1866
1861
  }, [_vm._ssrNode("<use" + _vm._ssrAttr("xlink:href", "#icon-" + _vm.realName) + " data-v-aaa469fe></use>")]);
1867
1862
  };
1868
1863
 
1869
- var __vue_staticRenderFns__$F = [];
1864
+ var __vue_staticRenderFns__$C = [];
1870
1865
  /* style */
1871
1866
 
1872
- var __vue_inject_styles__$F = function __vue_inject_styles__(inject) {
1867
+ var __vue_inject_styles__$C = function __vue_inject_styles__(inject) {
1873
1868
  if (!inject) return;
1874
1869
  inject("data-v-aaa469fe_0", {
1875
1870
  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)}}",
@@ -1880,21 +1875,21 @@ var __vue_inject_styles__$F = function __vue_inject_styles__(inject) {
1880
1875
  /* scoped */
1881
1876
 
1882
1877
 
1883
- var __vue_scope_id__$F = "data-v-aaa469fe";
1878
+ var __vue_scope_id__$C = "data-v-aaa469fe";
1884
1879
  /* module identifier */
1885
1880
 
1886
- var __vue_module_identifier__$F = "data-v-aaa469fe";
1881
+ var __vue_module_identifier__$C = "data-v-aaa469fe";
1887
1882
  /* functional template */
1888
1883
 
1889
- var __vue_is_functional_template__$F = false;
1884
+ var __vue_is_functional_template__$C = false;
1890
1885
  /* style inject shadow dom */
1891
1886
 
1892
- var __vue_component__$F = /*#__PURE__*/normalizeComponent({
1893
- render: __vue_render__$F,
1894
- staticRenderFns: __vue_staticRenderFns__$F
1895
- }, __vue_inject_styles__$F, __vue_script__$F, __vue_scope_id__$F, __vue_is_functional_template__$F, __vue_module_identifier__$F, false, undefined, createInjectorSSR, undefined);
1887
+ var __vue_component__$C = /*#__PURE__*/normalizeComponent({
1888
+ render: __vue_render__$C,
1889
+ staticRenderFns: __vue_staticRenderFns__$C
1890
+ }, __vue_inject_styles__$C, __vue_script__$C, __vue_scope_id__$C, __vue_is_functional_template__$C, __vue_module_identifier__$C, false, undefined, createInjectorSSR, undefined);
1896
1891
 
1897
- var Icon$1 = __vue_component__$F;var Icon = {
1892
+ var Icon$1 = __vue_component__$C;var Icon = {
1898
1893
  install: function install(Vue) {
1899
1894
  Vue.component(Icon$1.name, Icon$1);
1900
1895
  },
@@ -2635,15 +2630,15 @@ var FieldMixin = {
2635
2630
  return createElement('span', this.value);
2636
2631
  }
2637
2632
  };//
2638
- var script$D = {
2633
+ var script$A = {
2639
2634
  name: 'ui-field-autocomplete',
2640
2635
  inheritAttrs: false,
2641
2636
  mixins: [FieldMixin]
2642
2637
  };/* script */
2643
- var __vue_script__$E = script$D;
2638
+ var __vue_script__$B = script$A;
2644
2639
  /* template */
2645
2640
 
2646
- var __vue_render__$E = function __vue_render__() {
2641
+ var __vue_render__$B = function __vue_render__() {
2647
2642
  var _vm = this;
2648
2643
 
2649
2644
  var _h = _vm.$createElement;
@@ -2657,32 +2652,32 @@ var __vue_render__$E = function __vue_render__() {
2657
2652
  }, 'el-autocomplete', _vm.$attrs, false), _vm.$listeners));
2658
2653
  };
2659
2654
 
2660
- var __vue_staticRenderFns__$E = [];
2655
+ var __vue_staticRenderFns__$B = [];
2661
2656
  /* style */
2662
2657
 
2663
- var __vue_inject_styles__$E = undefined;
2658
+ var __vue_inject_styles__$B = undefined;
2664
2659
  /* scoped */
2665
2660
 
2666
- var __vue_scope_id__$E = undefined;
2661
+ var __vue_scope_id__$B = undefined;
2667
2662
  /* module identifier */
2668
2663
 
2669
- var __vue_module_identifier__$E = "data-v-4bbc2c40";
2664
+ var __vue_module_identifier__$B = "data-v-4bbc2c40";
2670
2665
  /* functional template */
2671
2666
 
2672
- var __vue_is_functional_template__$E = false;
2667
+ var __vue_is_functional_template__$B = false;
2673
2668
  /* style inject */
2674
2669
 
2675
2670
  /* style inject SSR */
2676
2671
 
2677
2672
  /* style inject shadow dom */
2678
2673
 
2679
- var __vue_component__$E = /*#__PURE__*/normalizeComponent({
2680
- render: __vue_render__$E,
2681
- staticRenderFns: __vue_staticRenderFns__$E
2682
- }, __vue_inject_styles__$E, __vue_script__$E, __vue_scope_id__$E, __vue_is_functional_template__$E, __vue_module_identifier__$E, false, undefined, undefined, undefined);
2674
+ var __vue_component__$B = /*#__PURE__*/normalizeComponent({
2675
+ render: __vue_render__$B,
2676
+ staticRenderFns: __vue_staticRenderFns__$B
2677
+ }, __vue_inject_styles__$B, __vue_script__$B, __vue_scope_id__$B, __vue_is_functional_template__$B, __vue_module_identifier__$B, false, undefined, undefined, undefined);
2683
2678
 
2684
- var AutocompleteField = __vue_component__$E;//
2685
- var script$C = {
2679
+ var AutocompleteField = __vue_component__$B;//
2680
+ var script$z = {
2686
2681
  name: 'ui-field-text',
2687
2682
  inheritAttrs: false,
2688
2683
  mixins: [FieldMixin],
@@ -2734,10 +2729,10 @@ var script$C = {
2734
2729
  }
2735
2730
  }
2736
2731
  };/* script */
2737
- var __vue_script__$D = script$C;
2732
+ var __vue_script__$A = script$z;
2738
2733
  /* template */
2739
2734
 
2740
- var __vue_render__$D = function __vue_render__() {
2735
+ var __vue_render__$A = function __vue_render__() {
2741
2736
  var _vm = this;
2742
2737
 
2743
2738
  var _h = _vm.$createElement;
@@ -2760,10 +2755,10 @@ var __vue_render__$D = function __vue_render__() {
2760
2755
  }, 'el-input', _vm.$attrs, false), _vm._listeners));
2761
2756
  };
2762
2757
 
2763
- var __vue_staticRenderFns__$D = [];
2758
+ var __vue_staticRenderFns__$A = [];
2764
2759
  /* style */
2765
2760
 
2766
- var __vue_inject_styles__$D = function __vue_inject_styles__(inject) {
2761
+ var __vue_inject_styles__$A = function __vue_inject_styles__(inject) {
2767
2762
  if (!inject) return;
2768
2763
  inject("data-v-44711bc5_0", {
2769
2764
  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}",
@@ -2774,21 +2769,21 @@ var __vue_inject_styles__$D = function __vue_inject_styles__(inject) {
2774
2769
  /* scoped */
2775
2770
 
2776
2771
 
2777
- var __vue_scope_id__$D = undefined;
2772
+ var __vue_scope_id__$A = undefined;
2778
2773
  /* module identifier */
2779
2774
 
2780
- var __vue_module_identifier__$D = "data-v-44711bc5";
2775
+ var __vue_module_identifier__$A = "data-v-44711bc5";
2781
2776
  /* functional template */
2782
2777
 
2783
- var __vue_is_functional_template__$D = false;
2778
+ var __vue_is_functional_template__$A = false;
2784
2779
  /* style inject shadow dom */
2785
2780
 
2786
- var __vue_component__$D = /*#__PURE__*/normalizeComponent({
2787
- render: __vue_render__$D,
2788
- staticRenderFns: __vue_staticRenderFns__$D
2789
- }, __vue_inject_styles__$D, __vue_script__$D, __vue_scope_id__$D, __vue_is_functional_template__$D, __vue_module_identifier__$D, false, undefined, createInjectorSSR, undefined);
2781
+ var __vue_component__$A = /*#__PURE__*/normalizeComponent({
2782
+ render: __vue_render__$A,
2783
+ staticRenderFns: __vue_staticRenderFns__$A
2784
+ }, __vue_inject_styles__$A, __vue_script__$A, __vue_scope_id__$A, __vue_is_functional_template__$A, __vue_module_identifier__$A, false, undefined, createInjectorSSR, undefined);
2790
2785
 
2791
- var TextField = __vue_component__$D;var mapLabelValue = function mapLabelValue(data, config) {
2786
+ var TextField = __vue_component__$A;var mapLabelValue = function mapLabelValue(data, config) {
2792
2787
  if (!Array.isArray(data)) {
2793
2788
  return null;
2794
2789
  }
@@ -2971,7 +2966,7 @@ var DataMixin = {
2971
2966
  }
2972
2967
  }
2973
2968
  };//
2974
- var script$B = {
2969
+ var script$y = {
2975
2970
  name: 'ui-field-radio',
2976
2971
  mixins: [FieldMixin, DataMixin],
2977
2972
  props: {
@@ -3039,10 +3034,10 @@ var script$B = {
3039
3034
  }
3040
3035
  }
3041
3036
  };/* script */
3042
- var __vue_script__$C = script$B;
3037
+ var __vue_script__$z = script$y;
3043
3038
  /* template */
3044
3039
 
3045
- var __vue_render__$C = function __vue_render__() {
3040
+ var __vue_render__$z = function __vue_render__() {
3046
3041
  var _vm = this;
3047
3042
 
3048
3043
  var _h = _vm.$createElement;
@@ -3090,10 +3085,10 @@ var __vue_render__$C = function __vue_render__() {
3090
3085
  }, [_vm._v("重新加载")])], 2) : _vm._e()], 2);
3091
3086
  };
3092
3087
 
3093
- var __vue_staticRenderFns__$C = [];
3088
+ var __vue_staticRenderFns__$z = [];
3094
3089
  /* style */
3095
3090
 
3096
- var __vue_inject_styles__$C = function __vue_inject_styles__(inject) {
3091
+ var __vue_inject_styles__$z = function __vue_inject_styles__(inject) {
3097
3092
  if (!inject) return;
3098
3093
  inject("data-v-3f514931_0", {
3099
3094
  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}",
@@ -3104,22 +3099,22 @@ var __vue_inject_styles__$C = function __vue_inject_styles__(inject) {
3104
3099
  /* scoped */
3105
3100
 
3106
3101
 
3107
- var __vue_scope_id__$C = "data-v-3f514931";
3102
+ var __vue_scope_id__$z = "data-v-3f514931";
3108
3103
  /* module identifier */
3109
3104
 
3110
- var __vue_module_identifier__$C = "data-v-3f514931";
3105
+ var __vue_module_identifier__$z = "data-v-3f514931";
3111
3106
  /* functional template */
3112
3107
 
3113
- var __vue_is_functional_template__$C = false;
3108
+ var __vue_is_functional_template__$z = false;
3114
3109
  /* style inject shadow dom */
3115
3110
 
3116
- var __vue_component__$C = /*#__PURE__*/normalizeComponent({
3117
- render: __vue_render__$C,
3118
- staticRenderFns: __vue_staticRenderFns__$C
3119
- }, __vue_inject_styles__$C, __vue_script__$C, __vue_scope_id__$C, __vue_is_functional_template__$C, __vue_module_identifier__$C, false, undefined, createInjectorSSR, undefined);
3111
+ var __vue_component__$z = /*#__PURE__*/normalizeComponent({
3112
+ render: __vue_render__$z,
3113
+ staticRenderFns: __vue_staticRenderFns__$z
3114
+ }, __vue_inject_styles__$z, __vue_script__$z, __vue_scope_id__$z, __vue_is_functional_template__$z, __vue_module_identifier__$z, false, undefined, createInjectorSSR, undefined);
3120
3115
 
3121
- var RadioField = __vue_component__$C;//
3122
- var script$A = {
3116
+ var RadioField = __vue_component__$z;//
3117
+ var script$x = {
3123
3118
  name: 'ui-field-checkbox',
3124
3119
  mixins: [FieldMixin, DataMixin],
3125
3120
  props: {
@@ -3192,10 +3187,10 @@ var script$A = {
3192
3187
  }
3193
3188
  }
3194
3189
  };/* script */
3195
- var __vue_script__$B = script$A;
3190
+ var __vue_script__$y = script$x;
3196
3191
  /* template */
3197
3192
 
3198
- var __vue_render__$B = function __vue_render__() {
3193
+ var __vue_render__$y = function __vue_render__() {
3199
3194
  var _vm = this;
3200
3195
 
3201
3196
  var _h = _vm.$createElement;
@@ -3274,10 +3269,10 @@ var __vue_render__$B = function __vue_render__() {
3274
3269
  }, [_vm._v("重新加载")])], 2) : _vm._e()], 2);
3275
3270
  };
3276
3271
 
3277
- var __vue_staticRenderFns__$B = [];
3272
+ var __vue_staticRenderFns__$y = [];
3278
3273
  /* style */
3279
3274
 
3280
- var __vue_inject_styles__$B = function __vue_inject_styles__(inject) {
3275
+ var __vue_inject_styles__$y = function __vue_inject_styles__(inject) {
3281
3276
  if (!inject) return;
3282
3277
  inject("data-v-7832f5f2_0", {
3283
3278
  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}",
@@ -3288,21 +3283,21 @@ var __vue_inject_styles__$B = function __vue_inject_styles__(inject) {
3288
3283
  /* scoped */
3289
3284
 
3290
3285
 
3291
- var __vue_scope_id__$B = "data-v-7832f5f2";
3286
+ var __vue_scope_id__$y = "data-v-7832f5f2";
3292
3287
  /* module identifier */
3293
3288
 
3294
- var __vue_module_identifier__$B = "data-v-7832f5f2";
3289
+ var __vue_module_identifier__$y = "data-v-7832f5f2";
3295
3290
  /* functional template */
3296
3291
 
3297
- var __vue_is_functional_template__$B = false;
3292
+ var __vue_is_functional_template__$y = false;
3298
3293
  /* style inject shadow dom */
3299
3294
 
3300
- var __vue_component__$B = /*#__PURE__*/normalizeComponent({
3301
- render: __vue_render__$B,
3302
- staticRenderFns: __vue_staticRenderFns__$B
3303
- }, __vue_inject_styles__$B, __vue_script__$B, __vue_scope_id__$B, __vue_is_functional_template__$B, __vue_module_identifier__$B, false, undefined, createInjectorSSR, undefined);
3295
+ var __vue_component__$y = /*#__PURE__*/normalizeComponent({
3296
+ render: __vue_render__$y,
3297
+ staticRenderFns: __vue_staticRenderFns__$y
3298
+ }, __vue_inject_styles__$y, __vue_script__$y, __vue_scope_id__$y, __vue_is_functional_template__$y, __vue_module_identifier__$y, false, undefined, createInjectorSSR, undefined);
3304
3299
 
3305
- var CheckboxField = __vue_component__$B;var script$z = {
3300
+ var CheckboxField = __vue_component__$y;var script$w = {
3306
3301
  name: 'ui-field-select',
3307
3302
  mixins: [FieldMixin, DataMixin],
3308
3303
  inheritAttrs: false,
@@ -3584,10 +3579,10 @@ var CheckboxField = __vue_component__$B;var script$z = {
3584
3579
  }
3585
3580
  }
3586
3581
  };/* script */
3587
- var __vue_script__$A = script$z;
3582
+ var __vue_script__$x = script$w;
3588
3583
  /* template */
3589
3584
 
3590
- var __vue_render__$A = function __vue_render__() {
3585
+ var __vue_render__$x = function __vue_render__() {
3591
3586
  var _vm = this;
3592
3587
 
3593
3588
  var _h = _vm.$createElement;
@@ -3708,10 +3703,10 @@ var __vue_render__$A = function __vue_render__() {
3708
3703
  })], 1)], 2) : _vm._e()], 2);
3709
3704
  };
3710
3705
 
3711
- var __vue_staticRenderFns__$A = [];
3706
+ var __vue_staticRenderFns__$x = [];
3712
3707
  /* style */
3713
3708
 
3714
- var __vue_inject_styles__$A = function __vue_inject_styles__(inject) {
3709
+ var __vue_inject_styles__$x = function __vue_inject_styles__(inject) {
3715
3710
  if (!inject) return;
3716
3711
  inject("data-v-0ee8fd08_0", {
3717
3712
  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}",
@@ -3722,22 +3717,22 @@ var __vue_inject_styles__$A = function __vue_inject_styles__(inject) {
3722
3717
  /* scoped */
3723
3718
 
3724
3719
 
3725
- var __vue_scope_id__$A = undefined;
3720
+ var __vue_scope_id__$x = undefined;
3726
3721
  /* module identifier */
3727
3722
 
3728
- var __vue_module_identifier__$A = "data-v-0ee8fd08";
3723
+ var __vue_module_identifier__$x = "data-v-0ee8fd08";
3729
3724
  /* functional template */
3730
3725
 
3731
- var __vue_is_functional_template__$A = false;
3726
+ var __vue_is_functional_template__$x = false;
3732
3727
  /* style inject shadow dom */
3733
3728
 
3734
- var __vue_component__$A = /*#__PURE__*/normalizeComponent({
3735
- render: __vue_render__$A,
3736
- staticRenderFns: __vue_staticRenderFns__$A
3737
- }, __vue_inject_styles__$A, __vue_script__$A, __vue_scope_id__$A, __vue_is_functional_template__$A, __vue_module_identifier__$A, false, undefined, createInjectorSSR, undefined);
3729
+ var __vue_component__$x = /*#__PURE__*/normalizeComponent({
3730
+ render: __vue_render__$x,
3731
+ staticRenderFns: __vue_staticRenderFns__$x
3732
+ }, __vue_inject_styles__$x, __vue_script__$x, __vue_scope_id__$x, __vue_is_functional_template__$x, __vue_module_identifier__$x, false, undefined, createInjectorSSR, undefined);
3738
3733
 
3739
- var SelectField = __vue_component__$A;//
3740
- var script$y = {
3734
+ var SelectField = __vue_component__$x;//
3735
+ var script$v = {
3741
3736
  name: 'ui-field-number',
3742
3737
  mixins: [FieldMixin],
3743
3738
  props: {
@@ -3764,10 +3759,10 @@ var script$y = {
3764
3759
  }
3765
3760
  }
3766
3761
  };/* script */
3767
- var __vue_script__$z = script$y;
3762
+ var __vue_script__$w = script$v;
3768
3763
  /* template */
3769
3764
 
3770
- var __vue_render__$z = function __vue_render__() {
3765
+ var __vue_render__$w = function __vue_render__() {
3771
3766
  var _vm = this;
3772
3767
 
3773
3768
  var _h = _vm.$createElement;
@@ -3783,10 +3778,10 @@ var __vue_render__$z = function __vue_render__() {
3783
3778
  }, 'el-input-number', _vm.$attrs, false), _vm.$listeners));
3784
3779
  };
3785
3780
 
3786
- var __vue_staticRenderFns__$z = [];
3781
+ var __vue_staticRenderFns__$w = [];
3787
3782
  /* style */
3788
3783
 
3789
- var __vue_inject_styles__$z = function __vue_inject_styles__(inject) {
3784
+ var __vue_inject_styles__$w = function __vue_inject_styles__(inject) {
3790
3785
  if (!inject) return;
3791
3786
  inject("data-v-054f9f65_0", {
3792
3787
  source: ".ui-number-field[data-v-054f9f65]{width:100%}.ui-number-field[data-v-054f9f65] input{text-align:initial}",
@@ -3797,21 +3792,21 @@ var __vue_inject_styles__$z = function __vue_inject_styles__(inject) {
3797
3792
  /* scoped */
3798
3793
 
3799
3794
 
3800
- var __vue_scope_id__$z = "data-v-054f9f65";
3795
+ var __vue_scope_id__$w = "data-v-054f9f65";
3801
3796
  /* module identifier */
3802
3797
 
3803
- var __vue_module_identifier__$z = "data-v-054f9f65";
3798
+ var __vue_module_identifier__$w = "data-v-054f9f65";
3804
3799
  /* functional template */
3805
3800
 
3806
- var __vue_is_functional_template__$z = false;
3801
+ var __vue_is_functional_template__$w = false;
3807
3802
  /* style inject shadow dom */
3808
3803
 
3809
- var __vue_component__$z = /*#__PURE__*/normalizeComponent({
3810
- render: __vue_render__$z,
3811
- staticRenderFns: __vue_staticRenderFns__$z
3812
- }, __vue_inject_styles__$z, __vue_script__$z, __vue_scope_id__$z, __vue_is_functional_template__$z, __vue_module_identifier__$z, false, undefined, createInjectorSSR, undefined);
3804
+ var __vue_component__$w = /*#__PURE__*/normalizeComponent({
3805
+ render: __vue_render__$w,
3806
+ staticRenderFns: __vue_staticRenderFns__$w
3807
+ }, __vue_inject_styles__$w, __vue_script__$w, __vue_scope_id__$w, __vue_is_functional_template__$w, __vue_module_identifier__$w, false, undefined, createInjectorSSR, undefined);
3813
3808
 
3814
- var NumberField = __vue_component__$z;var randomStr = function randomStr(length) {
3809
+ var NumberField = __vue_component__$w;var randomStr = function randomStr(length) {
3815
3810
  var str = Math.random().toString(36).substr(2);
3816
3811
 
3817
3812
  if (str.length >= length) {
@@ -3825,7 +3820,7 @@ var NumberField = __vue_component__$z;var randomStr = function randomStr(length)
3825
3820
  var Strings = {
3826
3821
  random: randomStr
3827
3822
  };var _excluded$9 = ["children"];
3828
- var script$x = {
3823
+ var script$u = {
3829
3824
  name: 'ui-field-cascade',
3830
3825
  mixins: [FieldMixin, DataMixin],
3831
3826
  props: {
@@ -4106,10 +4101,10 @@ var script$x = {
4106
4101
  }
4107
4102
  }
4108
4103
  };/* script */
4109
- var __vue_script__$y = script$x;
4104
+ var __vue_script__$v = script$u;
4110
4105
  /* template */
4111
4106
 
4112
- var __vue_render__$y = function __vue_render__() {
4107
+ var __vue_render__$v = function __vue_render__() {
4113
4108
  var _vm = this;
4114
4109
 
4115
4110
  var _h = _vm.$createElement;
@@ -4169,10 +4164,10 @@ var __vue_render__$y = function __vue_render__() {
4169
4164
  })], 1)], 2) : _vm._e()], 2);
4170
4165
  };
4171
4166
 
4172
- var __vue_staticRenderFns__$y = [];
4167
+ var __vue_staticRenderFns__$v = [];
4173
4168
  /* style */
4174
4169
 
4175
- var __vue_inject_styles__$y = function __vue_inject_styles__(inject) {
4170
+ var __vue_inject_styles__$v = function __vue_inject_styles__(inject) {
4176
4171
  if (!inject) return;
4177
4172
  inject("data-v-5b114890_0", {
4178
4173
  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}",
@@ -4183,21 +4178,21 @@ var __vue_inject_styles__$y = function __vue_inject_styles__(inject) {
4183
4178
  /* scoped */
4184
4179
 
4185
4180
 
4186
- var __vue_scope_id__$y = "data-v-5b114890";
4181
+ var __vue_scope_id__$v = "data-v-5b114890";
4187
4182
  /* module identifier */
4188
4183
 
4189
- var __vue_module_identifier__$y = "data-v-5b114890";
4184
+ var __vue_module_identifier__$v = "data-v-5b114890";
4190
4185
  /* functional template */
4191
4186
 
4192
- var __vue_is_functional_template__$y = false;
4187
+ var __vue_is_functional_template__$v = false;
4193
4188
  /* style inject shadow dom */
4194
4189
 
4195
- var __vue_component__$y = /*#__PURE__*/normalizeComponent({
4196
- render: __vue_render__$y,
4197
- staticRenderFns: __vue_staticRenderFns__$y
4198
- }, __vue_inject_styles__$y, __vue_script__$y, __vue_scope_id__$y, __vue_is_functional_template__$y, __vue_module_identifier__$y, false, undefined, createInjectorSSR, undefined);
4190
+ var __vue_component__$v = /*#__PURE__*/normalizeComponent({
4191
+ render: __vue_render__$v,
4192
+ staticRenderFns: __vue_staticRenderFns__$v
4193
+ }, __vue_inject_styles__$v, __vue_script__$v, __vue_scope_id__$v, __vue_is_functional_template__$v, __vue_module_identifier__$v, false, undefined, createInjectorSSR, undefined);
4199
4194
 
4200
- var CascadeField = __vue_component__$y;/**
4195
+ var CascadeField = __vue_component__$v;/**
4201
4196
  * @param text
4202
4197
  * @param unit
4203
4198
  years y
@@ -4249,7 +4244,7 @@ var DisabledDate = {
4249
4244
  return time.getTime() > Date.now();
4250
4245
  }
4251
4246
  };//
4252
- var script$w = {
4247
+ var script$t = {
4253
4248
  name: 'ui-field-date',
4254
4249
  mixins: [FieldMixin],
4255
4250
  props: {
@@ -4386,10 +4381,10 @@ var script$w = {
4386
4381
  }
4387
4382
  }
4388
4383
  };/* script */
4389
- var __vue_script__$x = script$w;
4384
+ var __vue_script__$u = script$t;
4390
4385
  /* template */
4391
4386
 
4392
- var __vue_render__$x = function __vue_render__() {
4387
+ var __vue_render__$u = function __vue_render__() {
4393
4388
  var _vm = this;
4394
4389
 
4395
4390
  var _h = _vm.$createElement;
@@ -4413,10 +4408,10 @@ var __vue_render__$x = function __vue_render__() {
4413
4408
  }, 'el-date-picker', _vm.$attrs, false), _vm._listeners));
4414
4409
  };
4415
4410
 
4416
- var __vue_staticRenderFns__$x = [];
4411
+ var __vue_staticRenderFns__$u = [];
4417
4412
  /* style */
4418
4413
 
4419
- var __vue_inject_styles__$x = function __vue_inject_styles__(inject) {
4414
+ var __vue_inject_styles__$u = function __vue_inject_styles__(inject) {
4420
4415
  if (!inject) return;
4421
4416
  inject("data-v-753bcd9c_0", {
4422
4417
  source: ".ui-date-field.el-date-editor[data-v-753bcd9c]{width:100%}",
@@ -4427,22 +4422,22 @@ var __vue_inject_styles__$x = function __vue_inject_styles__(inject) {
4427
4422
  /* scoped */
4428
4423
 
4429
4424
 
4430
- var __vue_scope_id__$x = "data-v-753bcd9c";
4425
+ var __vue_scope_id__$u = "data-v-753bcd9c";
4431
4426
  /* module identifier */
4432
4427
 
4433
- var __vue_module_identifier__$x = "data-v-753bcd9c";
4428
+ var __vue_module_identifier__$u = "data-v-753bcd9c";
4434
4429
  /* functional template */
4435
4430
 
4436
- var __vue_is_functional_template__$x = false;
4431
+ var __vue_is_functional_template__$u = false;
4437
4432
  /* style inject shadow dom */
4438
4433
 
4439
- var __vue_component__$x = /*#__PURE__*/normalizeComponent({
4440
- render: __vue_render__$x,
4441
- staticRenderFns: __vue_staticRenderFns__$x
4442
- }, __vue_inject_styles__$x, __vue_script__$x, __vue_scope_id__$x, __vue_is_functional_template__$x, __vue_module_identifier__$x, false, undefined, createInjectorSSR, undefined);
4434
+ var __vue_component__$u = /*#__PURE__*/normalizeComponent({
4435
+ render: __vue_render__$u,
4436
+ staticRenderFns: __vue_staticRenderFns__$u
4437
+ }, __vue_inject_styles__$u, __vue_script__$u, __vue_scope_id__$u, __vue_is_functional_template__$u, __vue_module_identifier__$u, false, undefined, createInjectorSSR, undefined);
4443
4438
 
4444
- var DateField = __vue_component__$x;//
4445
- var script$v = {
4439
+ var DateField = __vue_component__$u;//
4440
+ var script$s = {
4446
4441
  name: 'ui-field-timepicker',
4447
4442
  mixins: [FieldMixin],
4448
4443
  props: {
@@ -4503,10 +4498,10 @@ var script$v = {
4503
4498
  }
4504
4499
  }
4505
4500
  };/* script */
4506
- var __vue_script__$w = script$v;
4501
+ var __vue_script__$t = script$s;
4507
4502
  /* template */
4508
4503
 
4509
- var __vue_render__$w = function __vue_render__() {
4504
+ var __vue_render__$t = function __vue_render__() {
4510
4505
  var _vm = this;
4511
4506
 
4512
4507
  var _h = _vm.$createElement;
@@ -4528,10 +4523,10 @@ var __vue_render__$w = function __vue_render__() {
4528
4523
  }, 'el-time-picker', _vm.$attrs, false), _vm._listeners));
4529
4524
  };
4530
4525
 
4531
- var __vue_staticRenderFns__$w = [];
4526
+ var __vue_staticRenderFns__$t = [];
4532
4527
  /* style */
4533
4528
 
4534
- var __vue_inject_styles__$w = function __vue_inject_styles__(inject) {
4529
+ var __vue_inject_styles__$t = function __vue_inject_styles__(inject) {
4535
4530
  if (!inject) return;
4536
4531
  inject("data-v-241ad60c_0", {
4537
4532
  source: ".ui-timepicker-field.el-date-editor[data-v-241ad60c]{width:100%}",
@@ -4542,22 +4537,22 @@ var __vue_inject_styles__$w = function __vue_inject_styles__(inject) {
4542
4537
  /* scoped */
4543
4538
 
4544
4539
 
4545
- var __vue_scope_id__$w = "data-v-241ad60c";
4540
+ var __vue_scope_id__$t = "data-v-241ad60c";
4546
4541
  /* module identifier */
4547
4542
 
4548
- var __vue_module_identifier__$w = "data-v-241ad60c";
4543
+ var __vue_module_identifier__$t = "data-v-241ad60c";
4549
4544
  /* functional template */
4550
4545
 
4551
- var __vue_is_functional_template__$w = false;
4546
+ var __vue_is_functional_template__$t = false;
4552
4547
  /* style inject shadow dom */
4553
4548
 
4554
- var __vue_component__$w = /*#__PURE__*/normalizeComponent({
4555
- render: __vue_render__$w,
4556
- staticRenderFns: __vue_staticRenderFns__$w
4557
- }, __vue_inject_styles__$w, __vue_script__$w, __vue_scope_id__$w, __vue_is_functional_template__$w, __vue_module_identifier__$w, false, undefined, createInjectorSSR, undefined);
4549
+ var __vue_component__$t = /*#__PURE__*/normalizeComponent({
4550
+ render: __vue_render__$t,
4551
+ staticRenderFns: __vue_staticRenderFns__$t
4552
+ }, __vue_inject_styles__$t, __vue_script__$t, __vue_scope_id__$t, __vue_is_functional_template__$t, __vue_module_identifier__$t, false, undefined, createInjectorSSR, undefined);
4558
4553
 
4559
- var TimePickerField = __vue_component__$w;//
4560
- var script$u = {
4554
+ var TimePickerField = __vue_component__$t;//
4555
+ var script$r = {
4561
4556
  name: 'ui-field-timeselect',
4562
4557
  mixins: [FieldMixin],
4563
4558
  methods: {
@@ -4567,10 +4562,10 @@ var script$u = {
4567
4562
  }
4568
4563
  }
4569
4564
  };/* script */
4570
- var __vue_script__$v = script$u;
4565
+ var __vue_script__$s = script$r;
4571
4566
  /* template */
4572
4567
 
4573
- var __vue_render__$v = function __vue_render__() {
4568
+ var __vue_render__$s = function __vue_render__() {
4574
4569
  var _vm = this;
4575
4570
 
4576
4571
  var _h = _vm.$createElement;
@@ -4585,10 +4580,10 @@ var __vue_render__$v = function __vue_render__() {
4585
4580
  }, 'el-time-select', _vm.$attrs, false), _vm.$listeners));
4586
4581
  };
4587
4582
 
4588
- var __vue_staticRenderFns__$v = [];
4583
+ var __vue_staticRenderFns__$s = [];
4589
4584
  /* style */
4590
4585
 
4591
- var __vue_inject_styles__$v = function __vue_inject_styles__(inject) {
4586
+ var __vue_inject_styles__$s = function __vue_inject_styles__(inject) {
4592
4587
  if (!inject) return;
4593
4588
  inject("data-v-5d8b6449_0", {
4594
4589
  source: ".ui-timeselect-field.el-date-editor[data-v-5d8b6449]{width:100%}",
@@ -4599,28 +4594,28 @@ var __vue_inject_styles__$v = function __vue_inject_styles__(inject) {
4599
4594
  /* scoped */
4600
4595
 
4601
4596
 
4602
- var __vue_scope_id__$v = "data-v-5d8b6449";
4597
+ var __vue_scope_id__$s = "data-v-5d8b6449";
4603
4598
  /* module identifier */
4604
4599
 
4605
- var __vue_module_identifier__$v = "data-v-5d8b6449";
4600
+ var __vue_module_identifier__$s = "data-v-5d8b6449";
4606
4601
  /* functional template */
4607
4602
 
4608
- var __vue_is_functional_template__$v = false;
4603
+ var __vue_is_functional_template__$s = false;
4609
4604
  /* style inject shadow dom */
4610
4605
 
4611
- var __vue_component__$v = /*#__PURE__*/normalizeComponent({
4612
- render: __vue_render__$v,
4613
- staticRenderFns: __vue_staticRenderFns__$v
4614
- }, __vue_inject_styles__$v, __vue_script__$v, __vue_scope_id__$v, __vue_is_functional_template__$v, __vue_module_identifier__$v, false, undefined, createInjectorSSR, undefined);
4606
+ var __vue_component__$s = /*#__PURE__*/normalizeComponent({
4607
+ render: __vue_render__$s,
4608
+ staticRenderFns: __vue_staticRenderFns__$s
4609
+ }, __vue_inject_styles__$s, __vue_script__$s, __vue_scope_id__$s, __vue_is_functional_template__$s, __vue_module_identifier__$s, false, undefined, createInjectorSSR, undefined);
4615
4610
 
4616
- var TimeSelectField = __vue_component__$v;//
4611
+ var TimeSelectField = __vue_component__$s;//
4617
4612
 
4618
4613
  Date.prototype.calendar = function () {
4619
4614
  var month = this.getMonth() + 1;
4620
4615
  return [this.getFullYear(), month < 10 ? "0" + month : month, this.getDate()].join("-");
4621
4616
  };
4622
4617
 
4623
- var script$t = {
4618
+ var script$q = {
4624
4619
  name: 'ui-field-datse',
4625
4620
  mixins: [FieldMixin],
4626
4621
  props: {
@@ -4666,10 +4661,10 @@ var script$t = {
4666
4661
  }
4667
4662
  }
4668
4663
  };/* script */
4669
- var __vue_script__$u = script$t;
4664
+ var __vue_script__$r = script$q;
4670
4665
  /* template */
4671
4666
 
4672
- var __vue_render__$u = function __vue_render__() {
4667
+ var __vue_render__$r = function __vue_render__() {
4673
4668
  var _vm = this;
4674
4669
 
4675
4670
  var _h = _vm.$createElement;
@@ -4704,10 +4699,10 @@ var __vue_render__$u = function __vue_render__() {
4704
4699
  })], 2);
4705
4700
  };
4706
4701
 
4707
- var __vue_staticRenderFns__$u = [];
4702
+ var __vue_staticRenderFns__$r = [];
4708
4703
  /* style */
4709
4704
 
4710
- var __vue_inject_styles__$u = function __vue_inject_styles__(inject) {
4705
+ var __vue_inject_styles__$r = function __vue_inject_styles__(inject) {
4711
4706
  if (!inject) return;
4712
4707
  inject("data-v-3cf1c39a_0", {
4713
4708
  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}",
@@ -4718,21 +4713,21 @@ var __vue_inject_styles__$u = function __vue_inject_styles__(inject) {
4718
4713
  /* scoped */
4719
4714
 
4720
4715
 
4721
- var __vue_scope_id__$u = "data-v-3cf1c39a";
4716
+ var __vue_scope_id__$r = "data-v-3cf1c39a";
4722
4717
  /* module identifier */
4723
4718
 
4724
- var __vue_module_identifier__$u = "data-v-3cf1c39a";
4719
+ var __vue_module_identifier__$r = "data-v-3cf1c39a";
4725
4720
  /* functional template */
4726
4721
 
4727
- var __vue_is_functional_template__$u = false;
4722
+ var __vue_is_functional_template__$r = false;
4728
4723
  /* style inject shadow dom */
4729
4724
 
4730
- var __vue_component__$u = /*#__PURE__*/normalizeComponent({
4731
- render: __vue_render__$u,
4732
- staticRenderFns: __vue_staticRenderFns__$u
4733
- }, __vue_inject_styles__$u, __vue_script__$u, __vue_scope_id__$u, __vue_is_functional_template__$u, __vue_module_identifier__$u, false, undefined, createInjectorSSR, undefined);
4725
+ var __vue_component__$r = /*#__PURE__*/normalizeComponent({
4726
+ render: __vue_render__$r,
4727
+ staticRenderFns: __vue_staticRenderFns__$r
4728
+ }, __vue_inject_styles__$r, __vue_script__$r, __vue_scope_id__$r, __vue_is_functional_template__$r, __vue_module_identifier__$r, false, undefined, createInjectorSSR, undefined);
4734
4729
 
4735
- var DatecCalendarField = __vue_component__$u;var script$s = {
4730
+ var DatecCalendarField = __vue_component__$r;var script$p = {
4736
4731
  name: 'ui-field-slider',
4737
4732
  mixins: [FieldMixin],
4738
4733
  props: {
@@ -4799,10 +4794,10 @@ var DatecCalendarField = __vue_component__$u;var script$s = {
4799
4794
  })
4800
4795
  }
4801
4796
  };/* script */
4802
- var __vue_script__$t = script$s;
4797
+ var __vue_script__$q = script$p;
4803
4798
  /* template */
4804
4799
 
4805
- var __vue_render__$t = function __vue_render__() {
4800
+ var __vue_render__$q = function __vue_render__() {
4806
4801
  var _vm = this;
4807
4802
 
4808
4803
  var _h = _vm.$createElement;
@@ -4828,39 +4823,39 @@ var __vue_render__$t = function __vue_render__() {
4828
4823
  }, 'el-slider', _vm.$attrs, false), _vm._listeners));
4829
4824
  };
4830
4825
 
4831
- var __vue_staticRenderFns__$t = [];
4826
+ var __vue_staticRenderFns__$q = [];
4832
4827
  /* style */
4833
4828
 
4834
- var __vue_inject_styles__$t = undefined;
4829
+ var __vue_inject_styles__$q = undefined;
4835
4830
  /* scoped */
4836
4831
 
4837
- var __vue_scope_id__$t = "data-v-75848f56";
4832
+ var __vue_scope_id__$q = "data-v-75848f56";
4838
4833
  /* module identifier */
4839
4834
 
4840
- var __vue_module_identifier__$t = "data-v-75848f56";
4835
+ var __vue_module_identifier__$q = "data-v-75848f56";
4841
4836
  /* functional template */
4842
4837
 
4843
- var __vue_is_functional_template__$t = false;
4838
+ var __vue_is_functional_template__$q = false;
4844
4839
  /* style inject */
4845
4840
 
4846
4841
  /* style inject SSR */
4847
4842
 
4848
4843
  /* style inject shadow dom */
4849
4844
 
4850
- var __vue_component__$t = /*#__PURE__*/normalizeComponent({
4851
- render: __vue_render__$t,
4852
- staticRenderFns: __vue_staticRenderFns__$t
4853
- }, __vue_inject_styles__$t, __vue_script__$t, __vue_scope_id__$t, __vue_is_functional_template__$t, __vue_module_identifier__$t, false, undefined, undefined, undefined);
4845
+ var __vue_component__$q = /*#__PURE__*/normalizeComponent({
4846
+ render: __vue_render__$q,
4847
+ staticRenderFns: __vue_staticRenderFns__$q
4848
+ }, __vue_inject_styles__$q, __vue_script__$q, __vue_scope_id__$q, __vue_is_functional_template__$q, __vue_module_identifier__$q, false, undefined, undefined, undefined);
4854
4849
 
4855
- var SliderField = __vue_component__$t;//
4856
- var script$r = {
4850
+ var SliderField = __vue_component__$q;//
4851
+ var script$o = {
4857
4852
  name: 'ui-field-switch',
4858
4853
  mixins: [FieldMixin]
4859
4854
  };/* script */
4860
- var __vue_script__$s = script$r;
4855
+ var __vue_script__$p = script$o;
4861
4856
  /* template */
4862
4857
 
4863
- var __vue_render__$s = function __vue_render__() {
4858
+ var __vue_render__$p = function __vue_render__() {
4864
4859
  var _vm = this;
4865
4860
 
4866
4861
  var _h = _vm.$createElement;
@@ -4874,32 +4869,32 @@ var __vue_render__$s = function __vue_render__() {
4874
4869
  }, 'el-switch', _vm.$attrs, false), _vm.$listeners));
4875
4870
  };
4876
4871
 
4877
- var __vue_staticRenderFns__$s = [];
4872
+ var __vue_staticRenderFns__$p = [];
4878
4873
  /* style */
4879
4874
 
4880
- var __vue_inject_styles__$s = undefined;
4875
+ var __vue_inject_styles__$p = undefined;
4881
4876
  /* scoped */
4882
4877
 
4883
- var __vue_scope_id__$s = "data-v-df0fd42a";
4878
+ var __vue_scope_id__$p = "data-v-df0fd42a";
4884
4879
  /* module identifier */
4885
4880
 
4886
- var __vue_module_identifier__$s = "data-v-df0fd42a";
4881
+ var __vue_module_identifier__$p = "data-v-df0fd42a";
4887
4882
  /* functional template */
4888
4883
 
4889
- var __vue_is_functional_template__$s = false;
4884
+ var __vue_is_functional_template__$p = false;
4890
4885
  /* style inject */
4891
4886
 
4892
4887
  /* style inject SSR */
4893
4888
 
4894
4889
  /* style inject shadow dom */
4895
4890
 
4896
- var __vue_component__$s = /*#__PURE__*/normalizeComponent({
4897
- render: __vue_render__$s,
4898
- staticRenderFns: __vue_staticRenderFns__$s
4899
- }, __vue_inject_styles__$s, __vue_script__$s, __vue_scope_id__$s, __vue_is_functional_template__$s, __vue_module_identifier__$s, false, undefined, undefined, undefined);
4891
+ var __vue_component__$p = /*#__PURE__*/normalizeComponent({
4892
+ render: __vue_render__$p,
4893
+ staticRenderFns: __vue_staticRenderFns__$p
4894
+ }, __vue_inject_styles__$p, __vue_script__$p, __vue_scope_id__$p, __vue_is_functional_template__$p, __vue_module_identifier__$p, false, undefined, undefined, undefined);
4900
4895
 
4901
- var SwitchField = __vue_component__$s;//
4902
- var script$q = {
4896
+ var SwitchField = __vue_component__$p;//
4897
+ var script$n = {
4903
4898
  name: 'ui-field-rate',
4904
4899
  mixins: [FieldMixin],
4905
4900
  props: {
@@ -4929,10 +4924,10 @@ var script$q = {
4929
4924
  }
4930
4925
  }
4931
4926
  };/* script */
4932
- var __vue_script__$r = script$q;
4927
+ var __vue_script__$o = script$n;
4933
4928
  /* template */
4934
4929
 
4935
- var __vue_render__$r = function __vue_render__() {
4930
+ var __vue_render__$o = function __vue_render__() {
4936
4931
  var _vm = this;
4937
4932
 
4938
4933
  var _h = _vm.$createElement;
@@ -4953,32 +4948,32 @@ var __vue_render__$r = function __vue_render__() {
4953
4948
  }, 'el-rate', _vm.$attrs, false), _vm._listeners));
4954
4949
  };
4955
4950
 
4956
- var __vue_staticRenderFns__$r = [];
4951
+ var __vue_staticRenderFns__$o = [];
4957
4952
  /* style */
4958
4953
 
4959
- var __vue_inject_styles__$r = undefined;
4954
+ var __vue_inject_styles__$o = undefined;
4960
4955
  /* scoped */
4961
4956
 
4962
- var __vue_scope_id__$r = "data-v-1b34cf02";
4957
+ var __vue_scope_id__$o = "data-v-1b34cf02";
4963
4958
  /* module identifier */
4964
4959
 
4965
- var __vue_module_identifier__$r = "data-v-1b34cf02";
4960
+ var __vue_module_identifier__$o = "data-v-1b34cf02";
4966
4961
  /* functional template */
4967
4962
 
4968
- var __vue_is_functional_template__$r = false;
4963
+ var __vue_is_functional_template__$o = false;
4969
4964
  /* style inject */
4970
4965
 
4971
4966
  /* style inject SSR */
4972
4967
 
4973
4968
  /* style inject shadow dom */
4974
4969
 
4975
- var __vue_component__$r = /*#__PURE__*/normalizeComponent({
4976
- render: __vue_render__$r,
4977
- staticRenderFns: __vue_staticRenderFns__$r
4978
- }, __vue_inject_styles__$r, __vue_script__$r, __vue_scope_id__$r, __vue_is_functional_template__$r, __vue_module_identifier__$r, false, undefined, undefined, undefined);
4970
+ var __vue_component__$o = /*#__PURE__*/normalizeComponent({
4971
+ render: __vue_render__$o,
4972
+ staticRenderFns: __vue_staticRenderFns__$o
4973
+ }, __vue_inject_styles__$o, __vue_script__$o, __vue_scope_id__$o, __vue_is_functional_template__$o, __vue_module_identifier__$o, false, undefined, undefined, undefined);
4979
4974
 
4980
- var RateField = __vue_component__$r;//
4981
- var script$p = {
4975
+ var RateField = __vue_component__$o;//
4976
+ var script$m = {
4982
4977
  name: 'ui-field-color',
4983
4978
  mixins: [FieldMixin],
4984
4979
  props: {
@@ -4988,10 +4983,10 @@ var script$p = {
4988
4983
  }
4989
4984
  }
4990
4985
  };/* script */
4991
- var __vue_script__$q = script$p;
4986
+ var __vue_script__$n = script$m;
4992
4987
  /* template */
4993
4988
 
4994
- var __vue_render__$q = function __vue_render__() {
4989
+ var __vue_render__$n = function __vue_render__() {
4995
4990
  var _vm = this;
4996
4991
 
4997
4992
  var _h = _vm.$createElement;
@@ -5007,10 +5002,10 @@ var __vue_render__$q = function __vue_render__() {
5007
5002
  }, 'el-color-picker', _vm.$attrs, false), _vm.$listeners));
5008
5003
  };
5009
5004
 
5010
- var __vue_staticRenderFns__$q = [];
5005
+ var __vue_staticRenderFns__$n = [];
5011
5006
  /* style */
5012
5007
 
5013
- var __vue_inject_styles__$q = function __vue_inject_styles__(inject) {
5008
+ var __vue_inject_styles__$n = function __vue_inject_styles__(inject) {
5014
5009
  if (!inject) return;
5015
5010
  inject("data-v-1d42ab35_0", {
5016
5011
  source: ".ui-field-color[data-v-1d42ab35]{width:100%}",
@@ -5021,23 +5016,23 @@ var __vue_inject_styles__$q = function __vue_inject_styles__(inject) {
5021
5016
  /* scoped */
5022
5017
 
5023
5018
 
5024
- var __vue_scope_id__$q = "data-v-1d42ab35";
5019
+ var __vue_scope_id__$n = "data-v-1d42ab35";
5025
5020
  /* module identifier */
5026
5021
 
5027
- var __vue_module_identifier__$q = "data-v-1d42ab35";
5022
+ var __vue_module_identifier__$n = "data-v-1d42ab35";
5028
5023
  /* functional template */
5029
5024
 
5030
- var __vue_is_functional_template__$q = false;
5025
+ var __vue_is_functional_template__$n = false;
5031
5026
  /* style inject shadow dom */
5032
5027
 
5033
- var __vue_component__$q = /*#__PURE__*/normalizeComponent({
5034
- render: __vue_render__$q,
5035
- staticRenderFns: __vue_staticRenderFns__$q
5036
- }, __vue_inject_styles__$q, __vue_script__$q, __vue_scope_id__$q, __vue_is_functional_template__$q, __vue_module_identifier__$q, false, undefined, createInjectorSSR, undefined);
5037
-
5038
- var ColorField = __vue_component__$q;var Upload$1 = {
5039
- default: function _default(url) {
5040
- var params = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
5028
+ var __vue_component__$n = /*#__PURE__*/normalizeComponent({
5029
+ render: __vue_render__$n,
5030
+ staticRenderFns: __vue_staticRenderFns__$n
5031
+ }, __vue_inject_styles__$n, __vue_script__$n, __vue_scope_id__$n, __vue_is_functional_template__$n, __vue_module_identifier__$n, false, undefined, createInjectorSSR, undefined);
5032
+
5033
+ var ColorField = __vue_component__$n;var Upload$1 = {
5034
+ default: function _default(url) {
5035
+ var params = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
5041
5036
  var file = arguments.length > 2 ? arguments[2] : undefined;
5042
5037
  var formData = new FormData();
5043
5038
  Object.entries(params).forEach(function (item) {
@@ -5303,10 +5298,10 @@ var RichField$1 = {
5303
5298
  }
5304
5299
  }
5305
5300
  };/* script */
5306
- var __vue_script__$p = RichField$1;
5301
+ var __vue_script__$m = RichField$1;
5307
5302
  /* template */
5308
5303
 
5309
- var __vue_render__$p = function __vue_render__() {
5304
+ var __vue_render__$m = function __vue_render__() {
5310
5305
  var _vm = this;
5311
5306
 
5312
5307
  var _h = _vm.$createElement;
@@ -5324,10 +5319,10 @@ var __vue_render__$p = function __vue_render__() {
5324
5319
  });
5325
5320
  };
5326
5321
 
5327
- var __vue_staticRenderFns__$p = [];
5322
+ var __vue_staticRenderFns__$m = [];
5328
5323
  /* style */
5329
5324
 
5330
- var __vue_inject_styles__$p = function __vue_inject_styles__(inject) {
5325
+ var __vue_inject_styles__$m = function __vue_inject_styles__(inject) {
5331
5326
  if (!inject) return;
5332
5327
  inject("data-v-0cd7b8c6_0", {
5333
5328
  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}",
@@ -5342,21 +5337,21 @@ var __vue_inject_styles__$p = function __vue_inject_styles__(inject) {
5342
5337
  /* scoped */
5343
5338
 
5344
5339
 
5345
- var __vue_scope_id__$p = "data-v-0cd7b8c6";
5340
+ var __vue_scope_id__$m = "data-v-0cd7b8c6";
5346
5341
  /* module identifier */
5347
5342
 
5348
- var __vue_module_identifier__$p = "data-v-0cd7b8c6";
5343
+ var __vue_module_identifier__$m = "data-v-0cd7b8c6";
5349
5344
  /* functional template */
5350
5345
 
5351
- var __vue_is_functional_template__$p = false;
5346
+ var __vue_is_functional_template__$m = false;
5352
5347
  /* style inject shadow dom */
5353
5348
 
5354
- var __vue_component__$p = /*#__PURE__*/normalizeComponent({
5355
- render: __vue_render__$p,
5356
- staticRenderFns: __vue_staticRenderFns__$p
5357
- }, __vue_inject_styles__$p, __vue_script__$p, __vue_scope_id__$p, __vue_is_functional_template__$p, __vue_module_identifier__$p, false, undefined, createInjectorSSR, undefined);
5349
+ var __vue_component__$m = /*#__PURE__*/normalizeComponent({
5350
+ render: __vue_render__$m,
5351
+ staticRenderFns: __vue_staticRenderFns__$m
5352
+ }, __vue_inject_styles__$m, __vue_script__$m, __vue_scope_id__$m, __vue_is_functional_template__$m, __vue_module_identifier__$m, false, undefined, createInjectorSSR, undefined);
5358
5353
 
5359
- var RichField = __vue_component__$p;var getUrlSuffix = function getUrlSuffix(url) {
5354
+ var RichField = __vue_component__$m;var getUrlSuffix = function getUrlSuffix(url) {
5360
5355
  if (!url) {
5361
5356
  return '';
5362
5357
  }
@@ -5370,7 +5365,7 @@ var RichField = __vue_component__$p;var getUrlSuffix = function getUrlSuffix(url
5370
5365
  return url.substring(index + 1);
5371
5366
  };
5372
5367
 
5373
- var script$o = {
5368
+ var script$l = {
5374
5369
  name: 'ui-field-upload-file',
5375
5370
  mixins: [FieldMixin],
5376
5371
  props: {
@@ -5601,10 +5596,10 @@ var script$o = {
5601
5596
  }
5602
5597
  }
5603
5598
  };/* script */
5604
- var __vue_script__$o = script$o;
5599
+ var __vue_script__$l = script$l;
5605
5600
  /* template */
5606
5601
 
5607
- var __vue_render__$o = function __vue_render__() {
5602
+ var __vue_render__$l = function __vue_render__() {
5608
5603
  var _vm = this;
5609
5604
 
5610
5605
  var _h = _vm.$createElement;
@@ -5640,10 +5635,10 @@ var __vue_render__$o = function __vue_render__() {
5640
5635
  }) + "</div>")], 2);
5641
5636
  };
5642
5637
 
5643
- var __vue_staticRenderFns__$o = [];
5638
+ var __vue_staticRenderFns__$l = [];
5644
5639
  /* style */
5645
5640
 
5646
- var __vue_inject_styles__$o = function __vue_inject_styles__(inject) {
5641
+ var __vue_inject_styles__$l = function __vue_inject_styles__(inject) {
5647
5642
  if (!inject) return;
5648
5643
  inject("data-v-50ad7f34_0", {
5649
5644
  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}",
@@ -5654,22 +5649,22 @@ var __vue_inject_styles__$o = function __vue_inject_styles__(inject) {
5654
5649
  /* scoped */
5655
5650
 
5656
5651
 
5657
- var __vue_scope_id__$o = "data-v-50ad7f34";
5652
+ var __vue_scope_id__$l = "data-v-50ad7f34";
5658
5653
  /* module identifier */
5659
5654
 
5660
- var __vue_module_identifier__$o = "data-v-50ad7f34";
5655
+ var __vue_module_identifier__$l = "data-v-50ad7f34";
5661
5656
  /* functional template */
5662
5657
 
5663
- var __vue_is_functional_template__$o = false;
5658
+ var __vue_is_functional_template__$l = false;
5664
5659
  /* style inject shadow dom */
5665
5660
 
5666
- var __vue_component__$o = /*#__PURE__*/normalizeComponent({
5667
- render: __vue_render__$o,
5668
- staticRenderFns: __vue_staticRenderFns__$o
5669
- }, __vue_inject_styles__$o, __vue_script__$o, __vue_scope_id__$o, __vue_is_functional_template__$o, __vue_module_identifier__$o, false, undefined, createInjectorSSR, undefined);
5661
+ var __vue_component__$l = /*#__PURE__*/normalizeComponent({
5662
+ render: __vue_render__$l,
5663
+ staticRenderFns: __vue_staticRenderFns__$l
5664
+ }, __vue_inject_styles__$l, __vue_script__$l, __vue_scope_id__$l, __vue_is_functional_template__$l, __vue_module_identifier__$l, false, undefined, createInjectorSSR, undefined);
5670
5665
 
5671
- var FileUploadField = __vue_component__$o;//
5672
- var script$n = {
5666
+ var FileUploadField = __vue_component__$l;//
5667
+ var script$k = {
5673
5668
  name: 'ui-field-upload-image',
5674
5669
  mixins: [FileUploadField],
5675
5670
  props: {
@@ -5683,10 +5678,10 @@ var script$n = {
5683
5678
  }
5684
5679
  }
5685
5680
  };/* script */
5686
- var __vue_script__$n = script$n;
5681
+ var __vue_script__$k = script$k;
5687
5682
  /* template */
5688
5683
 
5689
- var __vue_render__$n = function __vue_render__() {
5684
+ var __vue_render__$k = function __vue_render__() {
5690
5685
  var _vm = this;
5691
5686
 
5692
5687
  var _h = _vm.$createElement;
@@ -5731,10 +5726,10 @@ var __vue_render__$n = function __vue_render__() {
5731
5726
  }), _vm._v(" "), _c('span', [_vm._v(_vm._s(_vm.labelText))])])]) : _vm._e()], 2);
5732
5727
  };
5733
5728
 
5734
- var __vue_staticRenderFns__$n = [];
5729
+ var __vue_staticRenderFns__$k = [];
5735
5730
  /* style */
5736
5731
 
5737
- var __vue_inject_styles__$n = function __vue_inject_styles__(inject) {
5732
+ var __vue_inject_styles__$k = function __vue_inject_styles__(inject) {
5738
5733
  if (!inject) return;
5739
5734
  inject("data-v-4f959319_0", {
5740
5735
  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%)}",
@@ -5745,22 +5740,22 @@ var __vue_inject_styles__$n = function __vue_inject_styles__(inject) {
5745
5740
  /* scoped */
5746
5741
 
5747
5742
 
5748
- var __vue_scope_id__$n = "data-v-4f959319";
5743
+ var __vue_scope_id__$k = "data-v-4f959319";
5749
5744
  /* module identifier */
5750
5745
 
5751
- var __vue_module_identifier__$n = "data-v-4f959319";
5746
+ var __vue_module_identifier__$k = "data-v-4f959319";
5752
5747
  /* functional template */
5753
5748
 
5754
- var __vue_is_functional_template__$n = false;
5749
+ var __vue_is_functional_template__$k = false;
5755
5750
  /* style inject shadow dom */
5756
5751
 
5757
- var __vue_component__$n = /*#__PURE__*/normalizeComponent({
5758
- render: __vue_render__$n,
5759
- staticRenderFns: __vue_staticRenderFns__$n
5760
- }, __vue_inject_styles__$n, __vue_script__$n, __vue_scope_id__$n, __vue_is_functional_template__$n, __vue_module_identifier__$n, false, undefined, createInjectorSSR, undefined);
5752
+ var __vue_component__$k = /*#__PURE__*/normalizeComponent({
5753
+ render: __vue_render__$k,
5754
+ staticRenderFns: __vue_staticRenderFns__$k
5755
+ }, __vue_inject_styles__$k, __vue_script__$k, __vue_scope_id__$k, __vue_is_functional_template__$k, __vue_module_identifier__$k, false, undefined, createInjectorSSR, undefined);
5761
5756
 
5762
- var ImageUploadField = __vue_component__$n;//
5763
- var script$m = {
5757
+ var ImageUploadField = __vue_component__$k;//
5758
+ var script$j = {
5764
5759
  name: 'ui-field-trigger-dialog',
5765
5760
  mixins: [FieldMixin],
5766
5761
  props: {
@@ -5794,10 +5789,10 @@ var script$m = {
5794
5789
  }
5795
5790
  }
5796
5791
  };/* script */
5797
- var __vue_script__$m = script$m;
5792
+ var __vue_script__$j = script$j;
5798
5793
  /* template */
5799
5794
 
5800
- var __vue_render__$m = function __vue_render__() {
5795
+ var __vue_render__$j = function __vue_render__() {
5801
5796
  var _vm = this;
5802
5797
 
5803
5798
  var _h = _vm.$createElement;
@@ -5839,32 +5834,32 @@ var __vue_render__$m = function __vue_render__() {
5839
5834
  }, 'ui-dialog', _vm.dialog, false), _vm.$listeners), [_vm._t("default")], 2)], 2);
5840
5835
  };
5841
5836
 
5842
- var __vue_staticRenderFns__$m = [];
5837
+ var __vue_staticRenderFns__$j = [];
5843
5838
  /* style */
5844
5839
 
5845
- var __vue_inject_styles__$m = undefined;
5840
+ var __vue_inject_styles__$j = undefined;
5846
5841
  /* scoped */
5847
5842
 
5848
- var __vue_scope_id__$m = "data-v-c78e8610";
5843
+ var __vue_scope_id__$j = "data-v-c78e8610";
5849
5844
  /* module identifier */
5850
5845
 
5851
- var __vue_module_identifier__$m = "data-v-c78e8610";
5846
+ var __vue_module_identifier__$j = "data-v-c78e8610";
5852
5847
  /* functional template */
5853
5848
 
5854
- var __vue_is_functional_template__$m = false;
5849
+ var __vue_is_functional_template__$j = false;
5855
5850
  /* style inject */
5856
5851
 
5857
5852
  /* style inject SSR */
5858
5853
 
5859
5854
  /* style inject shadow dom */
5860
5855
 
5861
- var __vue_component__$m = /*#__PURE__*/normalizeComponent({
5862
- render: __vue_render__$m,
5863
- staticRenderFns: __vue_staticRenderFns__$m
5864
- }, __vue_inject_styles__$m, __vue_script__$m, __vue_scope_id__$m, __vue_is_functional_template__$m, __vue_module_identifier__$m, false, undefined, undefined, undefined);
5856
+ var __vue_component__$j = /*#__PURE__*/normalizeComponent({
5857
+ render: __vue_render__$j,
5858
+ staticRenderFns: __vue_staticRenderFns__$j
5859
+ }, __vue_inject_styles__$j, __vue_script__$j, __vue_scope_id__$j, __vue_is_functional_template__$j, __vue_module_identifier__$j, false, undefined, undefined, undefined);
5865
5860
 
5866
- var DialogTrigger = __vue_component__$m;//
5867
- var script$l = {
5861
+ var DialogTrigger = __vue_component__$j;//
5862
+ var script$i = {
5868
5863
  name: 'ui-field-trigger-popover',
5869
5864
  mixins: [FieldMixin],
5870
5865
  props: {
@@ -5904,10 +5899,10 @@ var script$l = {
5904
5899
  }, 200)
5905
5900
  }
5906
5901
  };/* script */
5907
- var __vue_script__$l = script$l;
5902
+ var __vue_script__$i = script$i;
5908
5903
  /* template */
5909
5904
 
5910
- var __vue_render__$l = function __vue_render__() {
5905
+ var __vue_render__$i = function __vue_render__() {
5911
5906
  var _vm = this;
5912
5907
 
5913
5908
  var _h = _vm.$createElement;
@@ -5952,10 +5947,10 @@ var __vue_render__$l = function __vue_render__() {
5952
5947
  })], 2)], 2);
5953
5948
  };
5954
5949
 
5955
- var __vue_staticRenderFns__$l = [];
5950
+ var __vue_staticRenderFns__$i = [];
5956
5951
  /* style */
5957
5952
 
5958
- var __vue_inject_styles__$l = function __vue_inject_styles__(inject) {
5953
+ var __vue_inject_styles__$i = function __vue_inject_styles__(inject) {
5959
5954
  if (!inject) return;
5960
5955
  inject("data-v-78f8007b_0", {
5961
5956
  source: ".ui-field-trigger-popover[data-v-78f8007b]{width:100%}",
@@ -5966,21 +5961,21 @@ var __vue_inject_styles__$l = function __vue_inject_styles__(inject) {
5966
5961
  /* scoped */
5967
5962
 
5968
5963
 
5969
- var __vue_scope_id__$l = "data-v-78f8007b";
5964
+ var __vue_scope_id__$i = "data-v-78f8007b";
5970
5965
  /* module identifier */
5971
5966
 
5972
- var __vue_module_identifier__$l = "data-v-78f8007b";
5967
+ var __vue_module_identifier__$i = "data-v-78f8007b";
5973
5968
  /* functional template */
5974
5969
 
5975
- var __vue_is_functional_template__$l = false;
5970
+ var __vue_is_functional_template__$i = false;
5976
5971
  /* style inject shadow dom */
5977
5972
 
5978
- var __vue_component__$l = /*#__PURE__*/normalizeComponent({
5979
- render: __vue_render__$l,
5980
- staticRenderFns: __vue_staticRenderFns__$l
5981
- }, __vue_inject_styles__$l, __vue_script__$l, __vue_scope_id__$l, __vue_is_functional_template__$l, __vue_module_identifier__$l, false, undefined, createInjectorSSR, undefined);
5973
+ var __vue_component__$i = /*#__PURE__*/normalizeComponent({
5974
+ render: __vue_render__$i,
5975
+ staticRenderFns: __vue_staticRenderFns__$i
5976
+ }, __vue_inject_styles__$i, __vue_script__$i, __vue_scope_id__$i, __vue_is_functional_template__$i, __vue_module_identifier__$i, false, undefined, createInjectorSSR, undefined);
5982
5977
 
5983
- var PopoverTrigger = __vue_component__$l;var TriggerField = {
5978
+ var PopoverTrigger = __vue_component__$i;var TriggerField = {
5984
5979
  name: 'ui-field-trigger',
5985
5980
  functional: true,
5986
5981
  render: function render(createElement, content) {
@@ -5994,7 +5989,7 @@ var PopoverTrigger = __vue_component__$l;var TriggerField = {
5994
5989
 
5995
5990
  return createElement(DialogTrigger, data, children);
5996
5991
  }
5997
- };var script$k = {
5992
+ };var script$h = {
5998
5993
  name: 'ui-field-icons',
5999
5994
  mixins: [FieldMixin],
6000
5995
  components: {
@@ -6064,10 +6059,10 @@ var PopoverTrigger = __vue_component__$l;var TriggerField = {
6064
6059
  }
6065
6060
  }
6066
6061
  };/* script */
6067
- var __vue_script__$k = script$k;
6062
+ var __vue_script__$h = script$h;
6068
6063
  /* template */
6069
6064
 
6070
- var __vue_render__$k = function __vue_render__() {
6065
+ var __vue_render__$h = function __vue_render__() {
6071
6066
  var _vm = this;
6072
6067
 
6073
6068
  var _h = _vm.$createElement;
@@ -6137,10 +6132,10 @@ var __vue_render__$k = function __vue_render__() {
6137
6132
  }), 0)])], 1)]);
6138
6133
  };
6139
6134
 
6140
- var __vue_staticRenderFns__$k = [];
6135
+ var __vue_staticRenderFns__$h = [];
6141
6136
  /* style */
6142
6137
 
6143
- var __vue_inject_styles__$k = function __vue_inject_styles__(inject) {
6138
+ var __vue_inject_styles__$h = function __vue_inject_styles__(inject) {
6144
6139
  if (!inject) return;
6145
6140
  inject("data-v-32071a3e_0", {
6146
6141
  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}",
@@ -6151,1521 +6146,69 @@ var __vue_inject_styles__$k = function __vue_inject_styles__(inject) {
6151
6146
  /* scoped */
6152
6147
 
6153
6148
 
6154
- var __vue_scope_id__$k = "data-v-32071a3e";
6149
+ var __vue_scope_id__$h = "data-v-32071a3e";
6155
6150
  /* module identifier */
6156
6151
 
6157
- var __vue_module_identifier__$k = "data-v-32071a3e";
6152
+ var __vue_module_identifier__$h = "data-v-32071a3e";
6158
6153
  /* functional template */
6159
6154
 
6160
- var __vue_is_functional_template__$k = false;
6155
+ var __vue_is_functional_template__$h = false;
6161
6156
  /* style inject shadow dom */
6162
6157
 
6163
- var __vue_component__$k = /*#__PURE__*/normalizeComponent({
6164
- render: __vue_render__$k,
6165
- staticRenderFns: __vue_staticRenderFns__$k
6166
- }, __vue_inject_styles__$k, __vue_script__$k, __vue_scope_id__$k, __vue_is_functional_template__$k, __vue_module_identifier__$k, false, undefined, createInjectorSSR, undefined);
6167
-
6168
- var IconsField = __vue_component__$k;var getAMap = function getAMap() {
6169
- var plugins = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : [];
6170
- var options = arguments.length > 1 ? arguments[1] : undefined;
6171
- var setting = getSetting();
6172
- return AMapLoader__default["default"].load(Object.assign(_objectSpread2(_objectSpread2({}, setting.amap), {}, {
6173
- plugins: plugins
6174
- }), options || {}));
6175
- };var CoordTypes$2 = {
6176
- bd09: gcoord__default["default"].BD09,
6177
- gcj02: gcoord__default["default"].GCJ02,
6178
- wgs84: gcoord__default["default"].WGS84
6179
- };
6180
- var script$j = {
6181
- name: 'ui-field-latlng',
6182
- mixins: [FieldMixin],
6183
- props: {
6184
- coordType: {
6185
- type: String,
6186
- default: 'wgs84',
6187
- validator: function validator(val) {
6188
- return Object.keys(CoordTypes$2).includes(val);
6189
- }
6190
- }
6191
- },
6192
- data: function data() {
6193
- return {
6194
- loading: true,
6195
- keyword: ''
6196
- };
6197
- },
6198
- computed: {
6199
- point: function point() {
6200
- if (!this.value) {
6201
- return null;
6202
- }
6203
-
6204
- if (!this.isValidPoint(this.value)) {
6205
- return null;
6206
- }
6207
-
6208
- var _this$value$split = this.value.split(','),
6209
- _this$value$split2 = _slicedToArray(_this$value$split, 2),
6210
- lat = _this$value$split2[0],
6211
- lng = _this$value$split2[1];
6158
+ var __vue_component__$h = /*#__PURE__*/normalizeComponent({
6159
+ render: __vue_render__$h,
6160
+ staticRenderFns: __vue_staticRenderFns__$h
6161
+ }, __vue_inject_styles__$h, __vue_script__$h, __vue_scope_id__$h, __vue_is_functional_template__$h, __vue_module_identifier__$h, false, undefined, createInjectorSSR, undefined);
6212
6162
 
6213
- return {
6214
- lat: +lat,
6215
- lng: +lng
6216
- };
6217
- }
6163
+ var IconsField = __vue_component__$h;var fields = Object.create(null, {
6164
+ text: {
6165
+ enumerable: true,
6166
+ value: TextField
6218
6167
  },
6219
- watch: {
6220
- point: function point(p) {
6221
- this.onPointChange(p);
6222
- }
6168
+ textarea: {
6169
+ enumerable: true,
6170
+ value: TextField
6223
6171
  },
6224
- methods: {
6225
- init: function init() {
6226
- var _this = this;
6227
-
6228
- getAMap(['AMap.ToolBar', 'AMap.AutoComplete'], {
6229
- AMapUI: {
6230
- version: '1.1',
6231
- plugins: ['control/BasicControl']
6232
- }
6233
- }).then(function (AMap) {
6234
- _this.initMap(AMap);
6235
-
6236
- _this.loading = false;
6237
-
6238
- _this.done();
6239
- });
6240
- },
6241
- initMap: function initMap(AMap) {
6242
- var map = new AMap.Map(this.$el.querySelector('.map'), {
6243
- zoom: 11
6244
- });
6245
- map.addControl(new AMap.ToolBar({
6246
- position: 'LB'
6247
- }));
6248
- map.addControl(new AMapUI.BasicControl.LayerSwitcher({
6249
- position: 'RT'
6250
- }));
6251
- var auto = new AMap.AutoComplete({
6252
- input: this.$refs.input,
6253
- output: this.$refs.output
6254
- });
6255
- map.on('click', this.onMapClick);
6256
- auto.on('select', function (event) {
6257
- if (!event.poi || !event.poi.location) {
6258
- return;
6259
- }
6260
-
6261
- map.setZoomAndCenter(16, event.poi.location);
6262
- });
6263
- this.map = map;
6264
- this.onPointChange(this.point);
6265
- },
6266
- isValidPoint: function isValidPoint(val) {
6267
- var _val$split = val.split(','),
6268
- _val$split2 = _slicedToArray(_val$split, 2),
6269
- lat = _val$split2[0],
6270
- lng = _val$split2[1];
6271
-
6272
- return !(isNaN(+lat) || isNaN(+lng));
6273
- },
6274
- onMapClick: function onMapClick(_ref) {
6275
- var lnglat = _ref.lnglat;
6276
- var lat = lnglat.lat,
6277
- lng = lnglat.lng; // 当前地图是 GCJ02 坐标系
6278
-
6279
- if (this.coordType !== 'gcj02') {
6280
- var _gcoord$transform = gcoord__default["default"].transform([lng, lat], gcoord__default["default"].GCJ02, CoordTypes$2[this.coordType]);
6281
-
6282
- var _gcoord$transform2 = _slicedToArray(_gcoord$transform, 2);
6283
-
6284
- lng = _gcoord$transform2[0];
6285
- lat = _gcoord$transform2[1];
6286
- lng = lng.toFixed(7) / 1;
6287
- lat = lat.toFixed(7) / 1;
6288
- }
6289
-
6290
- this.onChange([lat, lng].join(','));
6291
- },
6292
- onPointChange: function onPointChange(point) {
6293
- if (!this.map) {
6294
- return;
6295
- }
6296
-
6297
- this.map.clearMap();
6298
-
6299
- if (!point) {
6300
- return;
6301
- }
6302
-
6303
- var lng = point.lng,
6304
- lat = point.lat; // 当前地图是 GCJ02 坐标系
6305
-
6306
- if (this.coordType !== 'gcj02') {
6307
- var _gcoord$transform3 = gcoord__default["default"].transform([lng, lat], CoordTypes$2[this.coordType], gcoord__default["default"].GCJ02);
6308
-
6309
- var _gcoord$transform4 = _slicedToArray(_gcoord$transform3, 2);
6310
-
6311
- lng = _gcoord$transform4[0];
6312
- lat = _gcoord$transform4[1];
6313
- } // eslint-disable-next-line no-undef
6314
-
6315
-
6316
- var marker = new AMap.Marker({
6317
- position: new AMap.LngLat(lng, lat)
6318
- });
6319
- this.map.add(marker);
6320
- this.map.setCenter([lng, lat]);
6321
- }
6172
+ password: {
6173
+ enumerable: true,
6174
+ value: TextField
6322
6175
  }
6323
- };/* script */
6324
- var __vue_script__$j = script$j;
6325
- /* template */
6326
-
6327
- var __vue_render__$j = function __vue_render__() {
6328
- var _vm = this;
6329
-
6330
- var _h = _vm.$createElement;
6331
-
6332
- var _c = _vm._self._c || _h;
6333
-
6334
- return _c('div', {
6335
- directives: [{
6336
- name: "loading",
6337
- rawName: "v-loading",
6338
- value: _vm.loading,
6339
- expression: "loading"
6340
- }],
6341
- staticClass: "ui-field-latlng"
6342
- }, [_vm._ssrNode("<div class=\"map\"></div> <div class=\"info\"" + _vm._ssrStyle(null, null, {
6343
- display: !_vm.loading ? '' : 'none'
6344
- }) + "><div class=\"input-item searchbox\"><div class=\"input-item-prepend\"><span class=\"input-item-text\">搜索关键字</span></div> <input type=\"text\" form=\"__ignore__\" placeholder=\"请输入...\"> <div class=\"search-result\"></div></div></div>")]);
6345
- };
6346
-
6347
- var __vue_staticRenderFns__$j = [];
6348
- /* style */
6349
-
6350
- var __vue_inject_styles__$j = function __vue_inject_styles__(inject) {
6351
- if (!inject) return;
6352
- inject("data-v-568ff222_0", {
6353
- 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}",
6354
- map: undefined,
6355
- media: undefined
6356
- });
6176
+ });
6177
+ var FormFields = {
6178
+ TextField: TextField,
6179
+ HiddenField: HiddenField,
6180
+ DisplayField: DisplayField,
6181
+ AutocompleteField: AutocompleteField,
6182
+ RadioField: RadioField,
6183
+ CheckboxField: CheckboxField,
6184
+ SelectField: SelectField,
6185
+ NumberField: NumberField,
6186
+ CascadeField: CascadeField,
6187
+ DateField: DateField,
6188
+ DatecCalendarField: DatecCalendarField,
6189
+ TimePickerField: TimePickerField,
6190
+ TimeSelectField: TimeSelectField,
6191
+ SliderField: SliderField,
6192
+ SwitchField: SwitchField,
6193
+ RateField: RateField,
6194
+ ColorField: ColorField,
6195
+ RichField: RichField,
6196
+ FileUploadField: FileUploadField,
6197
+ ImageUploadField: ImageUploadField,
6198
+ TriggerField: TriggerField,
6199
+ IconsField: IconsField
6357
6200
  };
6358
- /* scoped */
6359
-
6360
-
6361
- var __vue_scope_id__$j = undefined;
6362
- /* module identifier */
6363
-
6364
- var __vue_module_identifier__$j = "data-v-568ff222";
6365
- /* functional template */
6366
-
6367
- var __vue_is_functional_template__$j = false;
6368
- /* style inject shadow dom */
6369
-
6370
- var __vue_component__$j = /*#__PURE__*/normalizeComponent({
6371
- render: __vue_render__$j,
6372
- staticRenderFns: __vue_staticRenderFns__$j
6373
- }, __vue_inject_styles__$j, __vue_script__$j, __vue_scope_id__$j, __vue_is_functional_template__$j, __vue_module_identifier__$j, false, undefined, createInjectorSSR, undefined);
6374
-
6375
- var LnglatField = __vue_component__$j;var CoordTypes$1 = {
6376
- bd09: gcoord__default["default"].BD09,
6377
- gcj02: gcoord__default["default"].GCJ02,
6378
- wgs84: gcoord__default["default"].WGS84
6379
- };
6380
- var script$i = {
6381
- name: 'ui-field-latlng-new',
6382
- mixins: [FieldMixin],
6383
- props: {
6384
- coordType: {
6385
- type: String,
6386
- default: 'wgs84',
6387
- validator: function validator(val) {
6388
- return Object.keys(CoordTypes$1).includes(val);
6389
- }
6390
- },
6391
- showAddress: {
6392
- type: Boolean,
6393
- default: true
6394
- },
6395
- showlnglat: {
6396
- type: Boolean,
6397
- default: true
6398
- },
6399
- address: String,
6400
-
6401
- /**
6402
- * 地图缩放
6403
- * 缩放范围 2~20
6404
- */
6405
- zoom: {
6406
- type: Number,
6407
- default: 15,
6408
- validator: function validator(val) {
6409
- return 2 <= val && val <= 20;
6410
- }
6411
- },
6412
-
6413
- /**
6414
- * 中心点
6415
- * 'lng,lat' 字符串
6416
- */
6417
- center: String,
6418
- disabled: Boolean
6419
- },
6420
- data: function data() {
6421
- return {
6422
- loading: true,
6423
- currentTab: 1,
6424
- tabList: [{
6425
- label: '按关键字搜索',
6426
- value: 1
6427
- }, {
6428
- label: '按经纬度搜索',
6429
- value: 2
6430
- }],
6431
- crs: 'wgs84',
6432
- crsList: [{
6433
- label: '原始坐标系',
6434
- value: 'wgs84'
6435
- }, {
6436
- label: '高德坐标系',
6437
- value: 'gcj02'
6438
- }, {
6439
- label: '百度坐标系',
6440
- value: 'bd09'
6441
- }],
6442
- displayLngLat: ''
6443
- };
6444
- },
6445
- computed: {
6446
- point: function point() {
6447
- return this.getCoords(this.value);
6448
- },
6449
- lngLat: function lngLat() {
6450
- return this.transformLngLat(this.value, CoordTypes$1[this.coordType], CoordTypes$1[this.crs]);
6451
- },
6452
- lngLatText: function lngLatText() {
6453
- return (this.lngLat || '').split(',');
6454
- },
6455
- toolsVisible: function toolsVisible(_ref) {
6456
- var disabled = _ref.disabled,
6457
- loading = _ref.loading;
6458
- return !disabled && !loading;
6459
- }
6460
- },
6461
- watch: {
6462
- point: function point(p) {
6463
- this.onPointChange(p);
6464
- },
6465
- lngLat: {
6466
- immediate: true,
6467
- handler: function handler(val) {
6468
- this.displayLngLat = val;
6469
- }
6470
- },
6471
- zoom: 'setMapZoom',
6472
- center: 'setMapCenter',
6473
- toolsVisible: function toolsVisible(visible) {
6474
- if (visible) {
6475
- var _this$toolbarControl;
6476
-
6477
- (_this$toolbarControl = this.toolbarControl) === null || _this$toolbarControl === void 0 ? void 0 : _this$toolbarControl.show();
6478
- this.map.on('click', this.onMapClick);
6479
- } else {
6480
- var _this$toolbarControl2;
6481
-
6482
- this.map.off('click', this.onMapClick);
6483
- (_this$toolbarControl2 = this.toolbarControl) === null || _this$toolbarControl2 === void 0 ? void 0 : _this$toolbarControl2.hide();
6484
- }
6485
- }
6486
- },
6487
- methods: {
6488
- init: function init() {
6489
- var _this = this;
6490
-
6491
- getAMap(['AMap.ToolBar', 'AMap.AutoComplete'], {
6492
- AMapUI: {
6493
- version: '1.1',
6494
- plugins: ['control/BasicControl']
6495
- }
6496
- }).then(function (AMap) {
6497
- _this.initMap(AMap);
6498
-
6499
- _this.loading = false;
6500
-
6501
- _this.done();
6502
- });
6503
- },
6504
- initMap: function initMap(AMap) {
6505
- var map = new AMap.Map(this.$el.querySelector('.map'), {
6506
- zoom: this.zoom
6507
- });
6508
- this.toolbarControl = new AMap.ToolBar({
6509
- position: 'LB'
6510
- });
6511
- this.layerSwitcherControl = new AMapUI.BasicControl.LayerSwitcher({
6512
- position: 'RT'
6513
- });
6514
- map.addControl(this.toolbarControl);
6515
- map.addControl(this.layerSwitcherControl);
6516
-
6517
- if (!this.toolsVisible) {
6518
- this.toolbarControl.hide();
6519
- }
6520
-
6521
- var auto = new AMap.AutoComplete({
6522
- input: this.$refs.input,
6523
- output: this.$refs.output
6524
- });
6525
- map.on('click', this.onMapClick);
6526
- auto.on('select', function (event) {
6527
- if (!event.poi || !event.poi.location) {
6528
- return;
6529
- }
6530
-
6531
- map.setZoomAndCenter(16, event.poi.location);
6532
- });
6533
- this.map = map;
6534
- this.onPointChange(this.point); // 初始化地图中心点
6535
-
6536
- this.setMapCenter();
6537
- },
6538
- isValidPoint: function isValidPoint(val) {
6539
- var _val$split = val.split(','),
6540
- _val$split2 = _slicedToArray(_val$split, 2),
6541
- lng = _val$split2[0],
6542
- lat = _val$split2[1];
6543
-
6544
- return !(isNaN(+lng) || isNaN(+lat));
6545
- },
6546
- onMapClick: function onMapClick(_ref2) {
6547
- var lnglat = _ref2.lnglat;
6548
- var lat = lnglat.lat,
6549
- lng = lnglat.lng; // 当前地图是 GCJ02 坐标系
6550
-
6551
- if (this.coordType !== 'gcj02') {
6552
- var _gcoord$transform = gcoord__default["default"].transform([lng, lat], gcoord__default["default"].GCJ02, CoordTypes$1[this.coordType]);
6553
-
6554
- var _gcoord$transform2 = _slicedToArray(_gcoord$transform, 2);
6555
-
6556
- lng = _gcoord$transform2[0];
6557
- lat = _gcoord$transform2[1];
6558
- lng = lng.toFixed(7) / 1;
6559
- lat = lat.toFixed(7) / 1;
6560
- }
6561
-
6562
- this.onChange([lng, lat].join(','));
6563
- },
6564
- handleLngLat: function handleLngLat() {
6565
- var point = this.getCoords(this.displayLngLat);
6566
-
6567
- if (!point) {
6568
- this.$message.error('请输入正常的经纬度');
6569
- return;
6570
- }
6571
-
6572
- var value = this.transformLngLat(this.displayLngLat, CoordTypes$1[this.crs], CoordTypes$1[this.coordType]);
6573
- this.onChange(value);
6574
- var mapCoords = this.getCoords(value);
6575
- this.map.setCenter(mapCoords);
6576
- },
6577
- onPointChange: function onPointChange(point) {
6578
- if (!this.map) {
6579
- return;
6580
- }
6581
-
6582
- this.map.clearMap();
6583
-
6584
- if (!point) {
6585
- return;
6586
- }
6587
-
6588
- var _point = _slicedToArray(point, 2),
6589
- lng = _point[0],
6590
- lat = _point[1]; // 当前地图是 GCJ02 坐标系
6591
-
6592
-
6593
- if (this.coordType !== 'gcj02') {
6594
- var _gcoord$transform3 = gcoord__default["default"].transform([lng, lat], CoordTypes$1[this.coordType], gcoord__default["default"].GCJ02);
6595
-
6596
- var _gcoord$transform4 = _slicedToArray(_gcoord$transform3, 2);
6597
-
6598
- lng = _gcoord$transform4[0];
6599
- lat = _gcoord$transform4[1];
6600
- } // eslint-disable-next-line no-undef
6601
-
6602
-
6603
- var marker = new AMap.Marker({
6604
- position: new AMap.LngLat(lng, lat)
6605
- });
6606
- this.map.add(marker);
6607
- this.map.setCenter([lng, lat]);
6608
- },
6609
- setMapCenter: function setMapCenter() {
6610
- if (!this.center || !this.map) {
6611
- return;
6612
- }
6613
-
6614
- var _this$center$split = this.center.split(','),
6615
- _this$center$split2 = _slicedToArray(_this$center$split, 2),
6616
- lng = _this$center$split2[0],
6617
- lat = _this$center$split2[1];
6618
-
6619
- if (!lng || !lat) {
6620
- return;
6621
- }
6622
-
6623
- this.map.setCenter([+lng, +lat]);
6624
- this.setMapZoom();
6625
- },
6626
- setMapZoom: function setMapZoom() {
6627
- if (!this.zoom || !this.map) {
6628
- return;
6629
- }
6630
-
6631
- this.map.setZoom(this.zoom);
6632
- },
6633
- getCoords: function getCoords(lngLat) {
6634
- if (!lngLat) {
6635
- return null;
6636
- }
6637
-
6638
- if (!this.isValidPoint(lngLat)) {
6639
- return null;
6640
- }
6641
-
6642
- var _lngLat$split = lngLat.split(','),
6643
- _lngLat$split2 = _slicedToArray(_lngLat$split, 2),
6644
- lng = _lngLat$split2[0],
6645
- lat = _lngLat$split2[1];
6646
-
6647
- return [+lng, +lat];
6648
- },
6649
- transformLngLat: function transformLngLat(lngLat, crsFrom, crsTo) {
6650
- if (crsFrom === crsTo) {
6651
- return lngLat;
6652
- }
6653
-
6654
- var coords = this.getCoords(lngLat);
6655
-
6656
- if (!coords) {
6657
- return '';
6658
- }
6659
-
6660
- var transformedCoords = gcoord__default["default"].transform(coords, crsFrom, crsTo);
6661
- return transformedCoords.map(function (item) {
6662
- return item.toFixed(7) / 1;
6663
- }).join(',');
6664
- }
6665
- }
6666
- };/* script */
6667
- var __vue_script__$i = script$i;
6668
- /* template */
6669
-
6670
- var __vue_render__$i = function __vue_render__() {
6671
- var _vm = this;
6672
-
6673
- var _h = _vm.$createElement;
6674
-
6675
- var _c = _vm._self._c || _h;
6676
-
6677
- return _c('div', {
6678
- directives: [{
6679
- name: "loading",
6680
- rawName: "v-loading",
6681
- value: _vm.loading,
6682
- expression: "loading"
6683
- }],
6684
- staticClass: "ui-field-latlng-new"
6685
- }, [_vm._ssrNode("<div class=\"tabs\">" + _vm._ssrList(_vm.tabList, function (tab) {
6686
- return "<div" + _vm._ssrClass(null, ['tab', _vm.currentTab === tab.value ? 'active' : '']) + ">" + _vm._ssrEscape("\n " + _vm._s(tab.label) + "\n ") + "</div>";
6687
- }) + "</div> <div class=\"map\"></div> <div class=\"info\"" + _vm._ssrStyle(null, null, {
6688
- display: _vm.toolsVisible && _vm.currentTab === 1 ? '' : 'none'
6689
- }) + "><div class=\"input-item searchbox\"><div class=\"input-item-prepend\"><span class=\"input-item-text\">搜索关键字</span></div> <input type=\"text\" form=\"__ignore__\" placeholder=\"请输入...\"> <div class=\"search-result\"></div></div></div> "), _vm.currentTab === 2 ? _vm._ssrNode("<div class=\"lnglat\">", "</div>", [_c('el-input', {
6690
- attrs: {
6691
- "placeholder": "请输入经纬度",
6692
- "size": "mini",
6693
- "disabled": _vm.disabled
6694
- },
6695
- model: {
6696
- value: _vm.displayLngLat,
6697
- callback: function callback($$v) {
6698
- _vm.displayLngLat = $$v;
6699
- },
6700
- expression: "displayLngLat"
6701
- }
6702
- }, [_c('el-select', {
6703
- attrs: {
6704
- "slot": "prepend",
6705
- "disabled": _vm.disabled,
6706
- "size": "mini"
6707
- },
6708
- slot: "prepend",
6709
- model: {
6710
- value: _vm.crs,
6711
- callback: function callback($$v) {
6712
- _vm.crs = $$v;
6713
- },
6714
- expression: "crs"
6715
- }
6716
- }, _vm._l(_vm.crsList, function (item) {
6717
- return _c('el-option', {
6718
- key: item.value,
6719
- attrs: {
6720
- "label": item.label,
6721
- "value": item.value
6722
- }
6723
- });
6724
- }), 1), _vm._v(" "), _c('el-button', {
6725
- attrs: {
6726
- "slot": "append",
6727
- "icon": "el-icon-position",
6728
- "size": "mini",
6729
- "disabled": _vm.disabled
6730
- },
6731
- on: {
6732
- "click": _vm.handleLngLat
6733
- },
6734
- slot: "append"
6735
- })], 1)], 1) : _vm._e(), _vm._ssrNode(" " + (_vm.showAddress ? "<div class=\"address\"><div class=\"address-label\">地址:</div> <div" + _vm._ssrAttr("title", _vm.address) + " class=\"address-box\">" + _vm._ssrEscape(_vm._s(_vm.address || '-')) + "</div></div>" : "<!---->") + " " + (_vm.showlnglat ? "<div class=\"lnglat-text\"><div class=\"lng\"><div class=\"label\">经度:</div> <div class=\"value\">" + _vm._ssrEscape(_vm._s(_vm.lngLatText && _vm.lngLatText[0] || '-')) + "</div></div> <div class=\"lat\"><div class=\"label\">纬度:</div> <div class=\"value\">" + _vm._ssrEscape(_vm._s(_vm.lngLatText && _vm.lngLatText[1] || '-')) + "</div></div></div>" : "<!---->"))], 2);
6736
- };
6737
-
6738
- var __vue_staticRenderFns__$i = [];
6739
- /* style */
6740
-
6741
- var __vue_inject_styles__$i = function __vue_inject_styles__(inject) {
6742
- if (!inject) return;
6743
- inject("data-v-01ecaa89_0", {
6744
- 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}",
6745
- map: undefined,
6746
- media: undefined
6747
- });
6748
- };
6749
- /* scoped */
6750
-
6751
-
6752
- var __vue_scope_id__$i = undefined;
6753
- /* module identifier */
6754
-
6755
- var __vue_module_identifier__$i = "data-v-01ecaa89";
6756
- /* functional template */
6757
-
6758
- var __vue_is_functional_template__$i = false;
6759
- /* style inject shadow dom */
6760
-
6761
- var __vue_component__$i = /*#__PURE__*/normalizeComponent({
6762
- render: __vue_render__$i,
6763
- staticRenderFns: __vue_staticRenderFns__$i
6764
- }, __vue_inject_styles__$i, __vue_script__$i, __vue_scope_id__$i, __vue_is_functional_template__$i, __vue_module_identifier__$i, false, undefined, createInjectorSSR, undefined);
6765
-
6766
- var NewLnglatField = __vue_component__$i;var CoordTypes = {
6767
- bd09: gcoord__default["default"].BD09,
6768
- gcj02: gcoord__default["default"].GCJ02,
6769
- wgs84: gcoord__default["default"].WGS84
6770
- };
6771
- var Types = {
6772
- marker: 'AMap.Marker',
6773
- polyline: 'Overlay.Polyline',
6774
- circle: 'Overlay.Circle',
6775
- polygon: 'Overlay.Polygon'
6776
- };
6777
- var script$h = {
6778
- name: 'ui-field-fence',
6779
- mixins: [FieldMixin],
6780
- props: {
6781
- /**
6782
- * value:
6783
- * {
6784
- * markers: [[lng, lat], ...],
6785
- * circles: [{center: [lng, lat], radius}, ...],
6786
- * polylines: [[[lng,lat], ...], ...],
6787
- * polygons: [[[lng,lat], ...], ...],
6788
- * }
6789
- */
6790
- coordType: {
6791
- type: String,
6792
- default: 'wgs84',
6793
- validator: function validator(val) {
6794
- return Object.keys(CoordTypes).includes(val);
6795
- }
6796
- },
6797
-
6798
- /**
6799
- * 'marker,polyline,circle,polygon'
6800
- */
6801
- tools: {
6802
- type: String,
6803
- default: 'marker,polyline,circle,polygon'
6804
- },
6805
- help: {
6806
- type: Boolean,
6807
- default: true
6808
- },
6809
- clear: {
6810
- type: Boolean,
6811
- default: true
6812
- },
6813
- multiple: {
6814
- type: Boolean,
6815
- default: false
6816
- },
6817
-
6818
- /**
6819
- * 0:表示无限制
6820
- */
6821
- limit: {
6822
- type: Number,
6823
- default: 0
6824
- },
6825
-
6826
- /**
6827
- * 地图缩放
6828
- * 缩放范围 2~20
6829
- */
6830
- zoom: {
6831
- type: Number,
6832
- default: 15,
6833
- validator: function validator(val) {
6834
- return 2 <= val && val <= 20;
6835
- }
6836
- },
6837
-
6838
- /**
6839
- * 中心点
6840
- * 'lng,lat' 字符串
6841
- */
6842
- center: String,
6843
- disabled: Boolean
6844
- },
6845
- data: function data() {
6846
- return {
6847
- loading: true,
6848
- keyword: '',
6849
- drawing: false
6850
- };
6851
- },
6852
- computed: {
6853
- toolList: function toolList() {
6854
- return (this.tools || '').split(',').filter(function (tool) {
6855
- return Object.keys(Types).includes(tool);
6856
- });
6857
- },
6858
- realLimit: function realLimit() {
6859
- if (this.multiple) {
6860
- return this.limit;
6861
- }
6862
-
6863
- return 1;
6864
- },
6865
- isCurrentCoord: function isCurrentCoord() {
6866
- return this.coordType === 'gcj02';
6867
- },
6868
- toolsVisible: function toolsVisible(_ref) {
6869
- var disabled = _ref.disabled,
6870
- loading = _ref.loading;
6871
- return !disabled && !loading;
6872
- }
6873
- },
6874
- watch: {
6875
- value: {
6876
- immediate: true,
6877
- handler: 'onValueChange'
6878
- },
6879
- zoom: 'setMapZoom',
6880
- center: 'setMapCenter',
6881
- toolsVisible: function toolsVisible(visible) {
6882
- if (visible) {
6883
- var _this$toolbarControl;
6884
-
6885
- (_this$toolbarControl = this.toolbarControl) === null || _this$toolbarControl === void 0 ? void 0 : _this$toolbarControl.show();
6886
- } else {
6887
- var _this$mouseTool, _this$toolbarControl2;
6888
-
6889
- (_this$mouseTool = this.mouseTool) === null || _this$mouseTool === void 0 ? void 0 : _this$mouseTool.close();
6890
- (_this$toolbarControl2 = this.toolbarControl) === null || _this$toolbarControl2 === void 0 ? void 0 : _this$toolbarControl2.hide();
6891
- }
6892
- }
6893
- },
6894
- created: function created() {
6895
- this.graph = {
6896
- polylines: [],
6897
- markers: [],
6898
- circles: [],
6899
- polygons: []
6900
- };
6901
- this.editor = {};
6902
- },
6903
- methods: {
6904
- init: function init() {
6905
- var _this = this;
6906
-
6907
- getAMap(['AMap.ToolBar', 'AMap.AutoComplete', 'AMap.MouseTool', 'AMap.PolygonEditor', 'AMap.PolylineEditor', 'AMap.CircleEditor'], {
6908
- AMapUI: {
6909
- version: '1.1',
6910
- plugins: ['control/BasicControl']
6911
- }
6912
- }).then(function (AMap) {
6913
- _this.initMap(AMap);
6914
-
6915
- _this.loading = false;
6916
-
6917
- _this.done();
6918
- });
6919
- },
6920
- initMap: function initMap(AMap) {
6921
- this.AMap = AMap;
6922
- this.map = new AMap.Map(this.$el.querySelector('.map'), {
6923
- zoom: this.zoom,
6924
- isHotspot: false
6925
- });
6926
- this.initMapControl(this.map);
6927
- this.initMapAutoComplete(this.map);
6928
- this.contextMenu = this.initMapContextMenu(this.map);
6929
- this.mouseTool = this.initMapMouseTool(this.map); // 根据value初始化地图上图形
6930
-
6931
- this.onValueChange(this.value); // 初始化地图中心点
6932
-
6933
- this.setMapCenter();
6934
- },
6935
- initMapControl: function initMapControl(map) {
6936
- this.toolbarControl = new this.AMap.ToolBar({
6937
- position: 'LB'
6938
- });
6939
- this.layerSwitcherControl = new AMapUI.BasicControl.LayerSwitcher({
6940
- position: 'RT'
6941
- });
6942
- map.addControl(this.toolbarControl);
6943
- map.addControl(this.layerSwitcherControl);
6944
-
6945
- if (!this.toolsVisible) {
6946
- this.toolbarControl.hide();
6947
- }
6948
- },
6949
- initMapAutoComplete: function initMapAutoComplete(map) {
6950
- var auto = new this.AMap.AutoComplete({
6951
- input: this.$refs.input,
6952
- output: this.$refs.output
6953
- });
6954
- auto.on('select', function (event) {
6955
- if (!event.poi || !event.poi.location) {
6956
- return;
6957
- }
6958
-
6959
- map.setZoomAndCenter(16, event.poi.location);
6960
- });
6961
- return auto;
6962
- },
6963
- initMapContextMenu: function initMapContextMenu() {
6964
- var _this2 = this;
6965
-
6966
- var contextMenu = new this.AMap.ContextMenu();
6967
- contextMenu.addItem('删除', function () {
6968
- var removeObj = _this2.contextMenuTarget;
6969
-
6970
- _this2.removeGraph(removeObj);
6971
-
6972
- removeObj.setMap(null);
6973
- _this2.contextMenuTarget = null; // 点击右键菜单子的某一项不会触发 contextMenu 的 close 事件
6974
- });
6975
- contextMenu.on('close', function () {
6976
- _this2.contextMenuTarget = null;
6977
- });
6978
- return contextMenu;
6979
- },
6980
- initMapMouseTool: function initMapMouseTool(map) {
6981
- var _this3 = this;
6982
-
6983
- var mouseTool = new this.AMap.MouseTool(map);
6984
- mouseTool.on('draw', function (event) {
6985
- mouseTool.close();
6986
- _this3.drawing = false;
6987
- var obj = event.obj;
6988
-
6989
- var isAdded = _this3.addGraph(obj);
6990
-
6991
- if (!isAdded) {
6992
- map.remove(obj);
6993
- return;
6994
- }
6995
-
6996
- _this3.initGraphEvent(obj);
6997
-
6998
- _this3.onGraphChange();
6999
- });
7000
- return mouseTool;
7001
- },
7002
- setMapZoom: function setMapZoom() {
7003
- if (!this.zoom || !this.map) {
7004
- return;
7005
- }
7006
-
7007
- this.map.setZoom(this.zoom);
7008
- },
7009
- setMapCenter: function setMapCenter() {
7010
- if (!this.center || !this.map) {
7011
- return;
7012
- }
7013
-
7014
- var _this$center$split = this.center.split(','),
7015
- _this$center$split2 = _slicedToArray(_this$center$split, 2),
7016
- lng = _this$center$split2[0],
7017
- lat = _this$center$split2[1];
7018
-
7019
- if (!lng || !lat) {
7020
- return;
7021
- }
7022
-
7023
- this.map.setCenter([+lng, +lat]);
7024
- this.setMapZoom();
7025
- },
7026
- getToolClass: function getToolClass(tool) {
7027
- if (this.realLimit <= 0 || !this.multiple) {
7028
- return tool;
7029
- }
7030
-
7031
- var _ref2 = this.value || {},
7032
- markers = _ref2.markers,
7033
- circles = _ref2.circles,
7034
- polylines = _ref2.polylines,
7035
- polygons = _ref2.polygons;
7036
-
7037
- var length = 0;
7038
-
7039
- if (tool === 'marker') {
7040
- length = (markers || []).length;
7041
- } else if (tool === 'circle') {
7042
- length = (circles || []).length;
7043
- } else if (tool === 'polyline') {
7044
- length = (polylines || []).length;
7045
- } else if (tool === 'polygon') {
7046
- length = (polygons || []).length;
7047
- }
7048
-
7049
- if (length >= this.realLimit) {
7050
- return tool + ' disabled';
7051
- }
7052
-
7053
- return tool;
7054
- },
7055
- onValueChange: function onValueChange(value) {
7056
- var _this4 = this;
7057
-
7058
- if (!this.map) {
7059
- return;
7060
- }
7061
-
7062
- var _ref3 = value || {},
7063
- markers = _ref3.markers,
7064
- circles = _ref3.circles,
7065
- polylines = _ref3.polylines,
7066
- polygons = _ref3.polygons;
7067
-
7068
- var removedMarkers = this.graph.markers.slice((markers || []).length);
7069
- var removedCircles = this.graph.circles.slice((circles || []).length);
7070
- var removedPolylines = this.graph.polylines.slice((polylines || []).length);
7071
- var removedPolygons = this.graph.polygons.slice((polygons || []).length);
7072
- [].concat(_toConsumableArray(removedMarkers), _toConsumableArray(removedCircles), _toConsumableArray(removedPolylines), _toConsumableArray(removedPolygons)).forEach(function (item) {
7073
- return item.setMap(null);
7074
- });
7075
- (markers || []).forEach(function (markerData, index) {
7076
- var mapMarker = _this4.graph.markers[index];
7077
-
7078
- var lngLatData = _this4.getMapLngLatData(markers[index]);
7079
-
7080
- var position = new _this4.AMap.LngLat(lngLatData[0], lngLatData[1]);
7081
-
7082
- if (!mapMarker) {
7083
- mapMarker = new _this4.AMap.Marker({
7084
- map: _this4.map,
7085
- position: position
7086
- });
7087
-
7088
- _this4.addGraph(mapMarker);
7089
-
7090
- _this4.initGraphEvent(mapMarker);
7091
- } else {
7092
- mapMarker.setPosition(position);
7093
- }
7094
- });
7095
- (circles || []).forEach(function (circleData, index) {
7096
- var mapCircle = _this4.graph.circles[index];
7097
-
7098
- var lngLatData = _this4.getMapLngLatData(circleData.center);
7099
-
7100
- var lngLat = new _this4.AMap.LngLat(lngLatData[0], lngLatData[1]);
7101
-
7102
- if (!mapCircle) {
7103
- mapCircle = new _this4.AMap.Circle({
7104
- map: _this4.map,
7105
- center: lngLat,
7106
- radius: circleData.radius
7107
- });
7108
-
7109
- _this4.map.add(mapCircle);
7110
-
7111
- _this4.addGraph(mapCircle);
7112
-
7113
- _this4.initGraphEvent(mapCircle);
7114
- } else {
7115
- mapCircle.setCenter(lngLat);
7116
- mapCircle.setRadius(circleData.radius);
7117
- }
7118
- });
7119
- (polylines || []).forEach(function (polylineData, index) {
7120
- var mapPolyline = _this4.graph.polylines[index];
7121
- var path = polylineData.map(function (item) {
7122
- return _this4.getMapLngLatData(item);
7123
- }).map(function (item) {
7124
- return new _this4.AMap.LngLat(item[0], item[1]);
7125
- });
7126
-
7127
- if (!mapPolyline) {
7128
- mapPolyline = new _this4.AMap.Polyline({
7129
- path: path
7130
- });
7131
-
7132
- _this4.map.add(mapPolyline);
7133
-
7134
- _this4.addGraph(mapPolyline);
7135
-
7136
- _this4.initGraphEvent(mapPolyline);
7137
- } else {
7138
- mapPolyline.setPath(path);
7139
- }
7140
- });
7141
- (polygons || []).forEach(function (polygonData, index) {
7142
- var mapPolygon = _this4.graph.polygons[index];
7143
- var path = polygonData.map(function (item) {
7144
- return _this4.getMapLngLatData(item);
7145
- }).map(function (item) {
7146
- return new _this4.AMap.LngLat(item[0], item[1]);
7147
- });
7148
-
7149
- if (!mapPolygon) {
7150
- mapPolygon = new _this4.AMap.Polygon({
7151
- path: path
7152
- });
7153
-
7154
- _this4.map.add(mapPolygon);
7155
-
7156
- _this4.addGraph(mapPolygon);
7157
-
7158
- _this4.initGraphEvent(mapPolygon);
7159
- } else {
7160
- mapPolygon.setPath(path);
7161
- }
7162
- });
7163
- this.map.setFitView();
7164
- },
7165
- onGraphChange: function onGraphChange() {
7166
- var _this$graph = this.graph,
7167
- markers = _this$graph.markers,
7168
- circles = _this$graph.circles,
7169
- polylines = _this$graph.polylines,
7170
- polygons = _this$graph.polygons;
7171
- var value = {
7172
- markers: this.getMarkerValue(markers),
7173
- circles: this.getCircleValue(circles),
7174
- polylines: this.getPolylineValue(polylines),
7175
- polygons: this.getPolygonValue(polygons)
7176
- };
7177
- var count = Object.values(value).reduce(function (total, item) {
7178
- return total + item.length;
7179
- }, 0);
7180
-
7181
- if (count <= 0) {
7182
- // required 效果
7183
- this.onChange();
7184
- return;
7185
- }
7186
-
7187
- this.onChange(Object.freeze(value));
7188
- },
7189
- onEditorChange: function onEditorChange() {
7190
- if (this.drawing) {
7191
- return;
7192
- }
7193
-
7194
- this.onGraphChange();
7195
- },
7196
- // onEditorAdd(obj) {
7197
- // this.initGraphEvent(obj);
7198
- // this.addGraph(obj);
7199
- // this.drawing = false;
7200
- // },
7201
- // 使用 mouseTool 方式添加图形. editor方式添加的图形有bug(PolylineEditor 添加的初始线段无法响应click和rightclick事件)
7202
- draw: function draw(type) {
7203
- this.closeEditors();
7204
-
7205
- if (type === 'marker') {
7206
- this.drawMarker();
7207
- } else if (type === 'circle') {
7208
- this.drawCircle();
7209
- } else if (type === 'polyline') {
7210
- this.drawPolyline();
7211
- } else if (type === 'polygon') {
7212
- this.drawPolygon();
7213
- }
7214
-
7215
- this.drawing = true;
7216
- },
7217
- drawMarker: function drawMarker() {
7218
- this.mouseTool.marker();
7219
- },
7220
- drawCircle: function drawCircle() {
7221
- this.mouseTool.circle();
7222
- },
7223
- drawPolyline: function drawPolyline() {
7224
- this.mouseTool.polyline();
7225
- },
7226
- drawPolygon: function drawPolygon() {
7227
- this.mouseTool.polygon();
7228
- },
7229
- initGraphEvent: function initGraphEvent(graph) {
7230
- var _this5 = this;
7231
-
7232
- graph.on('rightclick', function (e) {
7233
- var editor = _this5.getEditor(graph.className);
7234
-
7235
- if (editor && editor.getTarget() === graph) {
7236
- _this5.closeEditor(editor);
7237
- }
7238
-
7239
- _this5.contextMenuTarget = graph;
7240
-
7241
- _this5.contextMenu.open(_this5.map, e.lnglat);
7242
- });
7243
- var editors = ['Overlay.Polyline', 'Overlay.Circle', 'Overlay.Polygon'];
7244
-
7245
- if (!editors.includes(graph.className)) {
7246
- return;
7247
- }
7248
-
7249
- graph.on('click', function () {
7250
- var editor = _this5.getEditor(graph.className);
7251
-
7252
- var target = editor.getTarget();
7253
-
7254
- if (target && target === graph) {
7255
- _this5.closeEditor(editor);
7256
-
7257
- return;
7258
- }
7259
-
7260
- _this5.closeEditors();
7261
-
7262
- editor.setTarget(graph);
7263
- editor.open();
7264
- });
7265
- },
7266
- removeGraph: function removeGraph(graph) {
7267
- var extData = graph.getExtData();
7268
-
7269
- var _ref4 = extData || {},
7270
- index = _ref4.index;
7271
-
7272
- var list;
7273
-
7274
- if (graph.className === 'AMap.Marker') {
7275
- list = this.graph.markers;
7276
- } else if (graph.className === 'Overlay.Circle') {
7277
- list = this.graph.circles;
7278
- } else if (graph.className === 'Overlay.Polyline') {
7279
- list = this.graph.polylines;
7280
- } else if (graph.className === 'Overlay.Polygon') {
7281
- list = this.graph.polygons;
7282
- } else {
7283
- list = [];
7284
- }
7285
-
7286
- list.splice(index, 1);
7287
- this.onGraphChange();
7288
- },
7289
- addGraph: function addGraph(graph) {
7290
- if (graph.className === 'Overlay.Polyline') {
7291
- return this.addPolyline(graph);
7292
- } else if (graph.className === 'AMap.Marker') {
7293
- return this.addMarker(graph);
7294
- } else if (graph.className === 'Overlay.Circle') {
7295
- return this.addCircle(graph);
7296
- } else if (graph.className === 'Overlay.Polygon') {
7297
- return this.addPolygon(graph);
7298
- }
7299
- },
7300
- addMarker: function addMarker(marker) {
7301
- if (!this.multiple) {
7302
- this.graph.markers.forEach(function (item) {
7303
- return item.setMap(null);
7304
- });
7305
- this.graph.markers.length = 0;
7306
- }
7307
-
7308
- var index = this.graph.markers.length;
7309
- marker.setExtData({
7310
- index: index
7311
- });
7312
- this.graph.markers.push(marker);
7313
- return true;
7314
- },
7315
- addCircle: function addCircle(circle) {
7316
- if (circle.getRadius() <= 0) {
7317
- return false;
7318
- }
7319
-
7320
- if (!this.multiple) {
7321
- this.graph.circles.forEach(function (item) {
7322
- return item.setMap(null);
7323
- });
7324
- this.graph.circles.length = 0;
7325
- }
7326
-
7327
- var index = this.graph.circles.length;
7328
- circle.setExtData({
7329
- index: index
7330
- });
7331
- this.graph.circles.push(circle);
7332
- return true;
7333
- },
7334
- addPolyline: function addPolyline(polyline) {
7335
- if (polyline.getLength() <= 0) {
7336
- return false;
7337
- }
7338
-
7339
- if (!this.multiple) {
7340
- this.graph.polylines.forEach(function (item) {
7341
- return item.setMap(null);
7342
- });
7343
- this.graph.polylines.length = 0;
7344
- }
7345
-
7346
- var index = this.graph.polylines.length;
7347
- polyline.setExtData({
7348
- index: index
7349
- });
7350
- this.graph.polylines.push(polyline);
7351
- return true;
7352
- },
7353
- addPolygon: function addPolygon(polygon) {
7354
- if (polygon.getArea() <= 0) {
7355
- this.$message.info('绘制多边形时请至少绘制3个点');
7356
- return false;
7357
- }
7358
-
7359
- if (!this.multiple) {
7360
- this.graph.polygons.forEach(function (item) {
7361
- return item.setMap(null);
7362
- });
7363
- this.graph.polygons.length = 0;
7364
- }
7365
-
7366
- var index = this.graph.polygons.length;
7367
- polygon.setExtData({
7368
- index: index
7369
- });
7370
- this.graph.polygons.push(polygon);
7371
- return true;
7372
- },
7373
- getEditor: function getEditor(type) {
7374
- if (type === 'Overlay.Circle') {
7375
- return this.editor.circle || this.initCircleEditor();
7376
- } else if (type === 'Overlay.Polyline') {
7377
- return this.editor.polyline || this.initPolylineEditor();
7378
- } else if (type === 'Overlay.Polygon') {
7379
- return this.editor.polygon || this.initPolygonEditor();
7380
- }
7381
- },
7382
- initCircleEditor: function initCircleEditor() {
7383
- var circleEditor = new this.AMap.CircleEditor(this.map);
7384
- this.editor.circle = circleEditor;
7385
- this.initEditorEvent(circleEditor);
7386
- return circleEditor;
7387
- },
7388
- initPolylineEditor: function initPolylineEditor() {
7389
- var polylineEditor = new this.AMap.PolylineEditor(this.map);
7390
- this.editor.polyline = polylineEditor;
7391
- this.initEditorEvent(polylineEditor);
7392
- return polylineEditor;
7393
- },
7394
- initPolygonEditor: function initPolygonEditor() {
7395
- var polygonEditor = new this.AMap.PolygonEditor(this.map);
7396
- this.editor.polygon = polygonEditor;
7397
- this.initEditorEvent(polygonEditor);
7398
- return polygonEditor;
7399
- },
7400
- initEditorEvent: function initEditorEvent(editor) {
7401
- var _this6 = this;
7402
-
7403
- editor.on('addnode', function () {
7404
- return _this6.onEditorChange();
7405
- });
7406
- editor.on('adjust', function () {
7407
- return _this6.onEditorChange();
7408
- });
7409
- editor.on('move', function () {
7410
- return _this6.onEditorChange();
7411
- }); // editor.on('add', (event) => this.onEditorAdd(event.target));
7412
- },
7413
- closeEditor: function closeEditor(editor) {
7414
- editor.setTarget();
7415
- editor.close();
7416
- },
7417
- closeEditors: function closeEditors() {
7418
- var _this7 = this;
7419
-
7420
- Object.values(this.editor).forEach(function (editor) {
7421
- return _this7.closeEditor(editor);
7422
- });
7423
- },
7424
- getMapLngLatData: function getMapLngLatData(point) {
7425
- var _point = _slicedToArray(point, 2),
7426
- lng = _point[0],
7427
- lat = _point[1];
7428
-
7429
- if (!this.isCurrentCoord) {
7430
- var _gcoord$transform = gcoord__default["default"].transform([lng, lat], CoordTypes[this.coordType], gcoord__default["default"].GCJ02);
7431
-
7432
- var _gcoord$transform2 = _slicedToArray(_gcoord$transform, 2);
7433
-
7434
- lng = _gcoord$transform2[0];
7435
- lat = _gcoord$transform2[1];
7436
- }
7437
-
7438
- return [lng, lat];
7439
- },
7440
- getPoint: function getPoint(lngLat) {
7441
- var _lngLat = _slicedToArray(lngLat, 2),
7442
- lng = _lngLat[0],
7443
- lat = _lngLat[1];
7444
-
7445
- if (!this.isCurrentCoord) {
7446
- var _gcoord$transform3 = gcoord__default["default"].transform([lng, lat], gcoord__default["default"].GCJ02, CoordTypes[this.coordType]);
7447
-
7448
- var _gcoord$transform4 = _slicedToArray(_gcoord$transform3, 2);
7449
-
7450
- lng = _gcoord$transform4[0];
7451
- lat = _gcoord$transform4[1];
7452
- lng = lng.toFixed(7) / 1;
7453
- lat = lat.toFixed(7) / 1;
7454
- }
7455
-
7456
- return [lng, lat];
7457
- },
7458
- getMarkerValue: function getMarkerValue(markers) {
7459
- var _this8 = this;
7460
-
7461
- return (markers || []).map(function (marker) {
7462
- var lngLat = marker.getPosition();
7463
- return _this8.getPoint([lngLat.getLng(), lngLat.getLat()]);
7464
- });
7465
- },
7466
- getCircleValue: function getCircleValue(circles) {
7467
- var _this9 = this;
7468
-
7469
- return (circles || []).map(function (circle) {
7470
- var radius = circle.getRadius();
7471
- var lngLat = circle.getCenter();
7472
- return {
7473
- center: _this9.getPoint([lngLat.getLng(), lngLat.getLat()]),
7474
- radius: radius
7475
- };
7476
- });
7477
- },
7478
- getPolylineValue: function getPolylineValue(polylines) {
7479
- var _this10 = this;
7480
-
7481
- return (polylines || []).map(function (polyline) {
7482
- var path = polyline.getPath();
7483
- return path.map(function (item) {
7484
- return _this10.getPoint([item.getLng(), item.getLat()]);
7485
- });
7486
- });
7487
- },
7488
- getPolygonValue: function getPolygonValue(polygons) {
7489
- var _this11 = this;
7490
-
7491
- return (polygons || []).map(function (polygon) {
7492
- var path = polygon.getPath();
7493
- return path.map(function (item) {
7494
- return _this11.getPoint([item.getLng(), item.getLat()]);
7495
- });
7496
- });
7497
- },
7498
- handleClear: function handleClear(warn) {
7499
- var _this12 = this;
7500
-
7501
- return _asyncToGenerator( /*#__PURE__*/_regeneratorRuntime().mark(function _callee() {
7502
- var _yield$to, _yield$to2, confirm;
7503
-
7504
- return _regeneratorRuntime().wrap(function _callee$(_context) {
7505
- while (1) {
7506
- switch (_context.prev = _context.next) {
7507
- case 0:
7508
- if (!warn) {
7509
- _context.next = 8;
7510
- break;
7511
- }
7512
-
7513
- _context.next = 3;
7514
- return to__default["default"](_this12.$confirm('确认清空地图上所有的图形?', '提示', {
7515
- type: 'warning'
7516
- }));
7517
-
7518
- case 3:
7519
- _yield$to = _context.sent;
7520
- _yield$to2 = _slicedToArray(_yield$to, 2);
7521
- confirm = _yield$to2[1];
7522
-
7523
- if (confirm) {
7524
- _context.next = 8;
7525
- break;
7526
- }
7527
-
7528
- return _context.abrupt("return");
7529
-
7530
- case 8:
7531
- _this12.closeEditors();
7532
-
7533
- _this12.contextMenu.close();
7534
-
7535
- Object.values(_this12.graph).forEach(function (items) {
7536
- return items.forEach(function (item) {
7537
- return item.setMap(null);
7538
- });
7539
- });
7540
- _this12.graph = {
7541
- polylines: [],
7542
- markers: [],
7543
- circles: [],
7544
- polygons: []
7545
- };
7546
-
7547
- _this12.onGraphChange();
7548
-
7549
- case 13:
7550
- case "end":
7551
- return _context.stop();
7552
- }
7553
- }
7554
- }, _callee);
7555
- }))();
7556
- }
7557
- }
7558
- };/* script */
7559
- var __vue_script__$h = script$h;
7560
- /* template */
7561
-
7562
- var __vue_render__$h = function __vue_render__() {
7563
- var _vm = this;
7564
-
7565
- var _h = _vm.$createElement;
7566
-
7567
- var _c = _vm._self._c || _h;
7568
-
7569
- return _c('div', {
7570
- directives: [{
7571
- name: "loading",
7572
- rawName: "v-loading",
7573
- value: _vm.loading,
7574
- expression: "loading"
7575
- }],
7576
- staticClass: "ui-field-fence"
7577
- }, [_vm._ssrNode("<div class=\"map\"></div> <div class=\"info\"" + _vm._ssrStyle(null, null, {
7578
- display: _vm.toolsVisible ? '' : 'none'
7579
- }) + "><div class=\"input-item searchbox\"><div class=\"input-item-prepend\"><span class=\"input-item-text\">搜索关键字</span></div> <input type=\"text\" form=\"__ignore__\" placeholder=\"请在地图上选择位置\"> <div class=\"search-result\"></div></div></div> <div" + _vm._ssrClass("tools", {
7580
- disabled: _vm.drawing
7581
- }) + _vm._ssrStyle(null, null, {
7582
- display: _vm.toolsVisible ? '' : 'none'
7583
- }) + ">" + (_vm.toolList.length > 0 && _vm.help ? "<div class=\"tool help\"></div>" : "<!---->") + " " + _vm._ssrList(_vm.toolList, function (tool) {
7584
- return "<div" + _vm._ssrClass("tool", _vm.getToolClass(tool)) + "></div>";
7585
- }) + " " + (_vm.toolList.length > 0 && _vm.clear ? "<div class=\"tool clear\"></div>" : "<!---->") + "</div>")]);
7586
- };
7587
-
7588
- var __vue_staticRenderFns__$h = [];
7589
- /* style */
7590
-
7591
- var __vue_inject_styles__$h = function __vue_inject_styles__(inject) {
7592
- if (!inject) return;
7593
- inject("data-v-740cb938_0", {
7594
- 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+LwoEkV2u3mSe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378CTExPWjGBHRS9wd+0/2/9dnLYLsDwk4rXSUkpDBm7o9d4jMx8it6zMWnGzGHH/j/M8OyoK4+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}",
7595
- map: undefined,
7596
- media: undefined
7597
- });
7598
- };
7599
- /* scoped */
7600
-
7601
-
7602
- var __vue_scope_id__$h = undefined;
7603
- /* module identifier */
7604
-
7605
- var __vue_module_identifier__$h = "data-v-740cb938";
7606
- /* functional template */
7607
-
7608
- var __vue_is_functional_template__$h = false;
7609
- /* style inject shadow dom */
7610
-
7611
- var __vue_component__$h = /*#__PURE__*/normalizeComponent({
7612
- render: __vue_render__$h,
7613
- staticRenderFns: __vue_staticRenderFns__$h
7614
- }, __vue_inject_styles__$h, __vue_script__$h, __vue_scope_id__$h, __vue_is_functional_template__$h, __vue_module_identifier__$h, false, undefined, createInjectorSSR, undefined);
7615
-
7616
- var FenceField = __vue_component__$h;var fields = Object.create(null, {
7617
- text: {
7618
- enumerable: true,
7619
- value: TextField
7620
- },
7621
- textarea: {
7622
- enumerable: true,
7623
- value: TextField
7624
- },
7625
- password: {
7626
- enumerable: true,
7627
- value: TextField
7628
- }
7629
- });
7630
- var FormFields = {
7631
- TextField: TextField,
7632
- HiddenField: HiddenField,
7633
- DisplayField: DisplayField,
7634
- AutocompleteField: AutocompleteField,
7635
- RadioField: RadioField,
7636
- CheckboxField: CheckboxField,
7637
- SelectField: SelectField,
7638
- NumberField: NumberField,
7639
- CascadeField: CascadeField,
7640
- DateField: DateField,
7641
- DatecCalendarField: DatecCalendarField,
7642
- TimePickerField: TimePickerField,
7643
- TimeSelectField: TimeSelectField,
7644
- SliderField: SliderField,
7645
- SwitchField: SwitchField,
7646
- RateField: RateField,
7647
- ColorField: ColorField,
7648
- RichField: RichField,
7649
- FileUploadField: FileUploadField,
7650
- ImageUploadField: ImageUploadField,
7651
- TriggerField: TriggerField,
7652
- IconsField: IconsField,
7653
- LnglatField: LnglatField,
7654
- NewLnglatField: NewLnglatField,
7655
- FenceField: FenceField
7656
- };
7657
- /**
7658
- *
7659
- * @param type {string}
7660
- * @param field
7661
- */
6201
+ /**
6202
+ *
6203
+ * @param type {string}
6204
+ * @param field
6205
+ */
7662
6206
 
7663
6207
  var addFieldType = function addFieldType(type, field) {
7664
- if (Objects.hasProp(fields, type)) {
7665
- console.warn("already have a ".concat(type, " field"));
7666
- return;
7667
- }
7668
-
6208
+ // if (Objects.hasProp(fields, type)) {
6209
+ // console.warn(`already have a ${type} field`);
6210
+ // return;
6211
+ // }
7669
6212
  fields[type] = field;
7670
6213
  };
7671
6214
 
@@ -7701,9 +6244,6 @@ var initDefaultField = function initDefaultField() {
7701
6244
  addFieldType('image', ImageUploadField);
7702
6245
  addFieldType('trigger', TriggerField);
7703
6246
  addFieldType('icons', IconsField);
7704
- addFieldType('lnglat', LnglatField);
7705
- addFieldType('newlnglat', NewLnglatField);
7706
- addFieldType('fence', FenceField);
7707
6247
  };
7708
6248
 
7709
6249
  initDefaultField();
@@ -13462,4 +12002,4 @@ var index = {
13462
12002
  }
13463
12003
  },
13464
12004
  Components: ComponentList
13465
- };exports.Arrays=arrays;exports.Axios=Axios;exports.Dates=Date$1;exports.FieldMixin=FieldMixin;exports.Files=Files;exports.HistoryMixin=mixin;exports.Objects=Objects;exports.Router=Router;exports.Store=Store;exports.Strings=Strings;exports.Upload=Upload;exports.addFieldType=addFieldType;exports.addVType=addVType;exports["default"]=index;exports.getAMap=getAMap;exports.onReady=onReady;
12005
+ };exports.Arrays=arrays;exports.Axios=Axios;exports.Dates=Date$1;exports.FieldMixin=FieldMixin;exports.Files=Files;exports.HistoryMixin=mixin;exports.Objects=Objects;exports.Router=Router;exports.Store=Store;exports.Strings=Strings;exports.Upload=Upload;exports.addFieldType=addFieldType;exports.addVType=addVType;exports["default"]=index;exports.onReady=onReady;