dpzvc-ui 1.2.2 → 1.2.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/dpzvc.js CHANGED
@@ -5969,7 +5969,7 @@ __webpack_require__.d(__webpack_exports__, {
5969
5969
  Indicator: () => (/* reexport */ components_Indicator),
5970
5970
  LoadMore: () => (/* reexport */ loadMore),
5971
5971
  Message: () => (/* reexport */ components_message),
5972
- Modal: () => (/* reexport */ modal),
5972
+ Modal: () => (/* reexport */ components_modal),
5973
5973
  Picker: () => (/* reexport */ components_picker),
5974
5974
  Popup: () => (/* reexport */ components_popup),
5975
5975
  Progress: () => (/* reexport */ components_progress),
@@ -8072,57 +8072,96 @@ var modal_component = normalizeComponent(
8072
8072
 
8073
8073
  )
8074
8074
 
8075
- /* harmony default export */ const modal_modal = (modal_component.exports);
8075
+ /* harmony default export */ const modal = (modal_component.exports);
8076
8076
  ;// ./src/components/modal/confirm.js
8077
8077
  /**
8078
- * Created by admin on 2017/3/30.
8078
+ * confirm.js - 适配 Vue 2.7 runtime-only
8079
8079
  */
8080
8080
 
8081
8081
 
8082
8082
 
8083
8083
 
8084
8084
  var confirm_prefixCls = 'dpzvc-modal';
8085
- modal_modal.newInstance = function (properties) {
8086
- var _props = properties || {};
8087
- var props = '';
8088
- Object.keys(_props).forEach(function (prop) {
8089
- props += ' :' + camelcaseToHyphen(prop) + '=' + prop;
8090
- });
8091
- var div = document.createElement('div');
8092
- document.body.appendChild(div);
8093
- var modal = new (external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_default())({
8094
- el: div,
8095
- template: "<Modal ".concat(props, " v-model=\"visible\" :width=\"width\" >\n <div class=\"").concat(confirm_prefixCls, "-header-inner ellipse-fir\" v-html=\"title\" slot=\"header\"></div>\n <div class=\"").concat(confirm_prefixCls, "-body-inner\" v-html=\"body\" slot=\"body\"></div>\n <template slot=\"footer\">\n <v-button type=\"primary\" :radius=\"false\" @click=\"cancle\" v-if=\"showCancle\">{{cancleText}}</v-button>\n <v-button type=\"normal\" :radius=\"false\" @click=\"ok\" :loading=\"buttonLoading\">{{okText}}</v-button>\n </template>\n </Modal>"),
8085
+ modal.newInstance = function () {
8086
+ var properties = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
8087
+ // 创建一个新的 Vue 构造函数
8088
+ var ModalConstructor = external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_default().extend({
8096
8089
  components: {
8097
- Modal: modal_modal,
8090
+ Modal: modal,
8098
8091
  VButton: components_button
8099
8092
  },
8100
- data: Object.assign(_props, {
8101
- visible: false,
8102
- width: '70%',
8103
- body: '',
8104
- title: '',
8105
- okText: '确定',
8106
- cancleText: '取消',
8107
- loading: false,
8108
- buttonLoading: false,
8109
- showCancle: true,
8110
- showHead: true,
8111
- onOk: function onOk() {},
8112
- onCancle: function onCancle() {},
8113
- onRemove: function onRemove() {}
8114
- }),
8093
+ data: function data() {
8094
+ return Object.assign({
8095
+ visible: false,
8096
+ width: '70%',
8097
+ body: '',
8098
+ title: '',
8099
+ okText: '确定',
8100
+ cancleText: '取消',
8101
+ loading: false,
8102
+ buttonLoading: false,
8103
+ showCancle: true,
8104
+ showHead: true,
8105
+ onOk: function onOk() {},
8106
+ onCancle: function onCancle() {},
8107
+ onRemove: function onRemove() {}
8108
+ }, properties);
8109
+ },
8110
+ render: function render(h) {
8111
+ var footer = [this.showCancle ? h('v-button', {
8112
+ props: {
8113
+ type: 'primary',
8114
+ radius: false
8115
+ },
8116
+ on: {
8117
+ click: this.cancle
8118
+ }
8119
+ }, this.cancleText) : null, h('v-button', {
8120
+ props: {
8121
+ type: 'normal',
8122
+ radius: false,
8123
+ loading: this.buttonLoading
8124
+ },
8125
+ on: {
8126
+ click: this.ok
8127
+ }
8128
+ }, this.okText)];
8129
+ return h(modal, {
8130
+ props: {
8131
+ value: this.visible,
8132
+ width: this.width,
8133
+ showHead: this.showHead,
8134
+ footerHide: false
8135
+ },
8136
+ on: {
8137
+ 'on-ok': this.ok,
8138
+ 'on-cancle': this.cancle
8139
+ }
8140
+ }, [h('div', {
8141
+ slot: 'header',
8142
+ domProps: {
8143
+ innerHTML: this.title
8144
+ },
8145
+ "class": "".concat(confirm_prefixCls, "-header-inner ellipse-fir")
8146
+ }), h('div', {
8147
+ slot: 'body',
8148
+ domProps: {
8149
+ innerHTML: this.body
8150
+ },
8151
+ "class": "".concat(confirm_prefixCls, "-body-inner")
8152
+ }), h('template', {
8153
+ slot: 'footer'
8154
+ }, footer)]);
8155
+ },
8115
8156
  methods: {
8116
8157
  cancle: function cancle() {
8117
- this.$children[0].visible = false;
8158
+ this.visible = false;
8118
8159
  this.onCancle();
8119
8160
  this.remove();
8120
8161
  },
8121
8162
  ok: function ok() {
8122
- console.log('asd');
8123
8163
  if (this.loading) {
8124
8164
  this.buttonLoading = true;
8125
- this.$children[0].buttonLoading = true;
8126
8165
  } else {
8127
8166
  this.visible = false;
8128
8167
  this.remove();
@@ -8131,73 +8170,42 @@ modal_modal.newInstance = function (properties) {
8131
8170
  },
8132
8171
  remove: function remove() {
8133
8172
  var _this = this;
8134
- this.$children[0].visible = false;
8173
+ this.visible = false;
8135
8174
  setTimeout(function () {
8136
- _this.destroy();
8175
+ return _this.destroy();
8137
8176
  }, 300);
8138
8177
  },
8139
8178
  destroy: function destroy() {
8140
8179
  this.$destroy();
8141
- document.body.removeChild(this.$el);
8180
+ if (this.$el && this.$el.parentNode) {
8181
+ this.$el.parentNode.removeChild(this.$el);
8182
+ }
8142
8183
  this.onRemove();
8143
8184
  }
8144
8185
  }
8145
- }).$children[0];
8186
+ });
8187
+
8188
+ // 实例化并挂载到 DOM
8189
+ var div = document.createElement('div');
8190
+ document.body.appendChild(div);
8191
+ var instance = new ModalConstructor().$mount(div);
8146
8192
  return {
8147
- show: function show(props) {
8148
- // if ('width' in props) {
8149
- // modal.$parent.width = props.width
8150
- // }
8151
- //
8152
- // if ('title' in props) {
8153
- // modal.$parent.title = props.title
8154
- // }
8155
- //
8156
- // if ('showHead' in props) {
8157
- // modal.$parent.showHead = props.showHead
8158
- // }
8159
- //
8160
- // if ('okText' in props) {
8161
- // modal.$parent.okText = props.okText
8162
- // }
8163
- //
8164
- // if ('cancleText' in props) {
8165
- // modal.$parent.cancleText = props.cancleText
8166
- // }
8167
- //
8168
- //
8169
- // if ('onCancle' in props) {
8170
- // modal.$parent.onCancle = props.onCancle
8171
- // }
8172
- //
8173
- // if ('onOk' in props) {
8174
- // modal.$parent.onOk = props.onOk
8175
- // }
8176
- //
8177
- // if ('loading' in props) {
8178
- // modal.$parent.loading = props.loading
8179
- // }
8180
- //
8181
- // if ('body' in props) {
8182
- // modal.$parent.body = props.body
8183
- // }
8184
-
8185
- Object.keys(props).forEach(function (item) {
8186
- modal.$parent[item] = props[item];
8193
+ show: function show() {
8194
+ var props = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
8195
+ Object.keys(props).forEach(function (key) {
8196
+ if (key in instance) {
8197
+ instance[key] = props[key];
8198
+ }
8187
8199
  });
8188
- modal.$parent.showCancle = props.showCancle;
8189
- modal.$parent.onRemove = props.onRemove;
8190
- modal.visible = true;
8200
+ instance.visible = true;
8191
8201
  },
8192
8202
  remove: function remove() {
8193
- modal.visible = false;
8194
- modal.$parent.buttonLoading = false;
8195
- modal.$parent.remove();
8203
+ instance.remove();
8196
8204
  },
8197
- component: modal
8205
+ component: instance
8198
8206
  };
8199
8207
  };
8200
- /* harmony default export */ const modal_confirm = (modal_modal);
8208
+ /* harmony default export */ const modal_confirm = (modal);
8201
8209
  ;// ./src/components/modal/index.js
8202
8210
  /**
8203
8211
  * Created by admin on 2017/3/30.
@@ -8240,7 +8248,7 @@ modal_confirm.remove = function () {
8240
8248
  var instance = getModalInstance();
8241
8249
  instance.remove();
8242
8250
  };
8243
- /* harmony default export */ const modal = (modal_confirm);
8251
+ /* harmony default export */ const components_modal = (modal_confirm);
8244
8252
  ;// ./node_modules/babel-loader/lib/index.js!./node_modules/vue-loader/lib/loaders/templateLoader.js??ruleSet[1].rules[2]!./node_modules/vue-loader/lib/index.js??vue-loader-options!./src/components/picker/picker.vue?vue&type=template&id=c9eb303a
8245
8253
  var pickervue_type_template_id_c9eb303a_render = function render() {
8246
8254
  var _vm = this,
@@ -10734,7 +10742,7 @@ var textBar_component = normalizeComponent(
10734
10742
  };
10735
10743
  },
10736
10744
  components: {
10737
- Modal: modal_modal,
10745
+ Modal: modal,
10738
10746
  TextBar: textBar,
10739
10747
  VButton: button_button
10740
10748
  },
@@ -10809,31 +10817,28 @@ var prompt_component = normalizeComponent(
10809
10817
 
10810
10818
  /* harmony default export */ const prompt_prompt = (prompt_component.exports);
10811
10819
  ;// ./src/components/prompt/confirm.js
10820
+
10821
+ function confirm_ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
10822
+ function confirm_objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? confirm_ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : confirm_ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
10812
10823
  /**
10813
- * Created by admin on 2017/5/10.
10824
+ * Created by admin on 2025/12/10
10825
+ * Rewritten for Vue 2.7 + Vue CLI (runtime-only)
10814
10826
  */
10815
10827
 
10816
10828
 
10817
10829
 
10818
- var prompt_confirm_prefixCls = 'v-lc-modal';
10819
- prompt_prompt.newInstance = function (properties) {
10820
- var _props = properties || {};
10821
- var props = '';
10822
- Object.keys(_props).forEach(function (prop) {
10823
- props += ' :' + camelcaseToHyphen(prop) + '=' + prop;
10824
- });
10825
- var div = document.createElement('div');
10826
- document.body.appendChild(div);
10827
- var propmt = new (external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_default())({
10828
- el: div,
10829
- template: "<Prompt ".concat(props, " v-model=\"visible\" \n :width=\"width\" \n :text=\"text\" \n :title=\"title\" \n :ok-text=\"okText\" \n :cancle-text=\"cancleText\" \n :loading=\"loading\" \n :spec=\"spec\" \n :message=\"message\" \n :validator=\"validator\"\n :on-ok=\"onOk\" \n :on-cancle=\"onCancle\"> </Prompt>"),
10830
- components: {
10831
- Prompt: prompt_prompt
10832
- },
10833
- data: Object.assign(_props, {
10830
+ prompt_prompt.newInstance = function () {
10831
+ var properties = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
10832
+ // 1. 创建构造器
10833
+ var PromptConstructor = external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_default().extend(prompt_prompt);
10834
+
10835
+ // 2. 初始化 props(等价你之前 data + v-model)
10836
+ var instance = new PromptConstructor({
10837
+ propsData: confirm_objectSpread(confirm_objectSpread({}, properties), {}, {
10838
+ // 默认值(保持你原来的语义)
10839
+ visible: false,
10834
10840
  text: '',
10835
10841
  placeholderText: '请输入',
10836
- visible: false,
10837
10842
  width: '70%',
10838
10843
  title: '',
10839
10844
  okText: '确定',
@@ -10844,91 +10849,43 @@ prompt_prompt.newInstance = function (properties) {
10844
10849
  message: '',
10845
10850
  validator: null,
10846
10851
  onOk: function onOk() {},
10847
- onCancle: function onCancle(prop) {},
10848
- onRemove: function onRemove() {}
10849
- }),
10850
- methods: {
10851
- cancle: function cancle() {
10852
- this.$children[0].visible = false;
10853
- this.onCancle();
10854
- this.remove();
10855
- },
10856
- ok: function ok() {
10857
- if (this.loading) {
10858
- this.buttonLoading = true;
10859
- } else {
10860
- this.visible = false;
10861
- this.remove();
10862
- }
10863
- this.onOk();
10864
- },
10865
- remove: function remove() {
10866
- var _this = this;
10867
- this.$children[0].visible = false;
10868
- setTimeout(function () {
10869
- _this.destroy();
10870
- }, 300);
10871
- },
10872
- destroy: function destroy() {
10873
- this.$destroy();
10874
- document.body.removeChild(this.$el);
10875
- this.onRemove();
10876
- },
10877
- mounted: function mounted() {}
10878
- }
10879
- }).$children[0];
10852
+ onCancle: function onCancle() {}
10853
+ })
10854
+ });
10855
+
10856
+ // 3. 挂载到 DOM
10857
+ instance.$mount();
10858
+ document.body.appendChild(instance.$el);
10859
+
10860
+ // 4. 移除逻辑(统一)
10861
+ var destroy = function destroy() {
10862
+ instance.visible = false;
10863
+ setTimeout(function () {
10864
+ instance.$destroy();
10865
+ instance.$el && document.body.removeChild(instance.$el);
10866
+ instance.onRemove && instance.onRemove();
10867
+ }, 300);
10868
+ };
10880
10869
  return {
10881
- show: function show(props) {
10882
- propmt.$parent.showCancle = props.showCancle;
10883
- propmt.$parent.onRemove = props.onRemove;
10884
- propmt.visible = true;
10885
- if ('width' in props) {
10886
- propmt.$parent.width = props.width;
10887
- }
10888
- if ('text' in props) {
10889
- propmt.$parent.text = props.text;
10890
- }
10891
- if ('spec' in props) {
10892
- propmt.$parent.spec = props.spec;
10893
- }
10894
- if ('title' in props) {
10895
- propmt.$parent.title = props.title;
10896
- }
10897
- if ('placeholderText' in props) {
10898
- propmt.$parent.placeholderText = props.placeholderText;
10899
- }
10900
- if ('content' in props) {
10901
- propmt.$parent.body = props.body;
10902
- }
10903
- if ('okText' in props) {
10904
- propmt.$parent.okText = props.okText;
10905
- }
10906
- if ('cancleText' in props) {
10907
- propmt.$parent.cancleText = props.cancleText;
10908
- }
10909
- if ('onCancle' in props) {
10910
- propmt.$parent.onCancle = props.onCancle;
10911
- }
10912
- if ('onOk' in props) {
10913
- propmt.$parent.onOk = props.onOk;
10914
- }
10915
- if ('loading' in props) {
10916
- propmt.$parent.loading = props.loading;
10917
- }
10918
- if ('message' in props) {
10919
- propmt.$parent.message = props.message;
10920
- }
10921
- if ('validator' in props) {
10922
- propmt.$parent.validator = props.validator;
10923
- }
10924
- console.log(propmt.$parent);
10870
+ /**
10871
+ * 显示 Prompt
10872
+ */
10873
+ show: function show() {
10874
+ var props = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
10875
+ Object.keys(props).forEach(function (key) {
10876
+ instance[key] = props[key];
10877
+ });
10878
+ instance.visible = true;
10925
10879
  },
10880
+ /**
10881
+ * 关闭 Prompt
10882
+ */
10926
10883
  remove: function remove() {
10927
- propmt.visible = false;
10928
- propmt.$parent.buttonLoading = false;
10929
- propmt.$parent.remove();
10884
+ instance.visible = false;
10885
+ instance.buttonLoading = false;
10886
+ destroy();
10930
10887
  },
10931
- component: propmt
10888
+ component: instance
10932
10889
  };
10933
10890
  };
10934
10891
  /* harmony default export */ const prompt_confirm = (prompt_prompt);
@@ -12593,117 +12550,82 @@ var Indicator_component = normalizeComponent(
12593
12550
 
12594
12551
  /* harmony default export */ const Indicator = (Indicator_component.exports);
12595
12552
  ;// ./src/components/Indicator/index.js
12553
+
12554
+ function Indicator_ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
12555
+ function Indicator_objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? Indicator_ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : Indicator_ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
12596
12556
  /**
12597
- * Created by admin on 2017/6/22.
12557
+ * Indicator - Vue 2.7 CLI 适配版
12598
12558
  */
12599
12559
 
12600
12560
 
12601
12561
 
12602
- var instance;
12603
- Indicator.newInstance = function (properties) {
12604
- var _props = properties || {};
12605
- var props = '';
12606
- Object.keys(_props).forEach(function (prop) {
12607
- props += ' :' + camelcaseToHyphen(prop) + '=' + prop;
12608
- });
12609
- var div = document.createElement('div');
12610
- document.body.appendChild(div);
12611
- var indicator = new (external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_default())({
12612
- el: div,
12613
- template: "<Indicator ".concat(props, " v-model=\"visible\" ></Indicator>"),
12614
- components: {
12615
- Indicator: Indicator
12616
- },
12617
- data: Object.assign(_props, {
12618
- visible: false,
12562
+ var instance = null;
12563
+ function createInstance() {
12564
+ var props = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
12565
+ var IndicatorConstructor = external_root_Vue_commonjs_vue_commonjs2_vue_amd_vue_default().extend(Indicator);
12566
+ var vm = new IndicatorConstructor({
12567
+ propsData: Indicator_objectSpread({
12619
12568
  size: 45,
12620
12569
  type: 'snake',
12621
12570
  color: '#ffffff',
12622
- text: '加载中...',
12623
- onRemove: function onRemove() {}
12624
- }),
12625
- methods: {
12626
- remove: function remove() {
12627
- var _this = this;
12628
- this.$children[0].visible = false;
12629
- setTimeout(function () {
12630
- _this.destroy();
12631
- }, 300);
12632
- },
12633
- destroy: function destroy() {
12634
- this.$destroy();
12635
-
12636
- // if (!this.$el) return;
12637
- document.body.removeChild(this.$el);
12638
- this.onRemove();
12639
- }
12640
- }
12641
- }).$children[0];
12642
- return {
12643
- open: function open(options) {
12644
- indicator.$parent.visible = true;
12645
- indicator.$parent.onRemove = options.onRemove;
12646
- if ('size' in options) {
12647
- indicator.$parent.size = options.size;
12648
- }
12649
- if ('type' in options) {
12650
- indicator.$parent.type = options.type;
12651
- }
12652
- if ('color' in options) {
12653
- indicator.$parent.color = options.color;
12654
- }
12655
- if ('text' in options) {
12656
- indicator.$parent.text = options.text;
12657
- }
12658
- },
12659
- remove: function remove() {
12660
- indicator.visible = false;
12661
- indicator.$parent.remove();
12662
- },
12663
- component: indicator
12664
- };
12665
- };
12666
- function Indicator_confirm(options) {
12667
- instance = instance || Indicator.newInstance({
12668
- size: 45,
12669
- color: '#ffffff',
12670
- text: '正在加载...',
12671
- type: 'snake'
12571
+ text: '加载中...'
12572
+ }, props)
12672
12573
  });
12673
- options.onRemove = function () {
12674
- instance = null;
12675
- };
12676
- instance.open(options);
12574
+ vm.$mount();
12575
+ document.body.appendChild(vm.$el);
12576
+ vm.visible = false;
12577
+ vm.$on('remove', function () {
12578
+ destroyInstance();
12579
+ });
12580
+ return vm;
12677
12581
  }
12678
- Indicator.blade = function () {
12679
- var props = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
12680
- props.type = 'blade';
12681
- return Indicator_confirm(props);
12682
- };
12582
+ function destroyInstance() {
12583
+ if (!instance) return;
12584
+ instance.$destroy();
12585
+ if (instance.$el && instance.$el.parentNode) {
12586
+ instance.$el.parentNode.removeChild(instance.$el);
12587
+ }
12588
+ instance = null;
12589
+ }
12590
+ function Indicator_open() {
12591
+ var options = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
12592
+ if (!instance) {
12593
+ instance = createInstance(options);
12594
+ }
12595
+ Object.keys(options).forEach(function (key) {
12596
+ instance.$props[key] = options[key];
12597
+ });
12598
+ instance.visible = true;
12599
+ }
12600
+ function Indicator_close() {
12601
+ if (!instance) return;
12602
+ instance.visible = false;
12603
+ destroyInstance();
12604
+ }
12605
+
12606
+ /* ================== 对外 API ================== */
12607
+
12608
+ Indicator.open = Indicator_open;
12609
+ Indicator.remove = Indicator_close;
12683
12610
  Indicator.snake = function () {
12684
12611
  var props = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
12685
12612
  props.type = 'snake';
12686
- return Indicator_confirm(props);
12613
+ Indicator_open(props);
12614
+ };
12615
+ Indicator.blade = function () {
12616
+ var props = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
12617
+ props.type = 'blade';
12618
+ Indicator_open(props);
12687
12619
  };
12688
12620
  Indicator.circle = function () {
12689
12621
  var props = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
12690
12622
  props.type = 'fading-circle';
12691
- return Indicator_confirm(props);
12623
+ Indicator_open(props);
12692
12624
  };
12693
12625
  Indicator.bounce = function () {
12694
12626
  var props = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
12695
12627
  props.type = 'double-bounce';
12696
- return Indicator_confirm(props);
12697
- };
12698
- Indicator.remove = function () {
12699
- if (!instance) return false;
12700
- instance = instance || Indicator.newInstance({
12701
- size: 45,
12702
- color: '#ffffff',
12703
- text: '正在加载...',
12704
- type: 'snake'
12705
- });
12706
- instance.remove();
12628
+ Indicator_open(props);
12707
12629
  };
12708
12630
  /* harmony default export */ const components_Indicator = (Indicator);
12709
12631
  ;// ./node_modules/babel-loader/lib/index.js!./node_modules/vue-loader/lib/loaders/templateLoader.js??ruleSet[1].rules[2]!./node_modules/vue-loader/lib/index.js??vue-loader-options!./src/components/progress/progress.vue?vue&type=template&id=7444ee7d
@@ -13527,7 +13449,7 @@ var components = {
13527
13449
 
13528
13450
  var services = {
13529
13451
  Message: components_message,
13530
- Modal: modal,
13452
+ Modal: components_modal,
13531
13453
  Prompt: components_prompt,
13532
13454
  Indicator: components_Indicator
13533
13455
  };