@indfnd/common-mobile 1.0.58 → 1.0.59

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.
@@ -2,13 +2,13 @@ import _ from "lodash";
2
2
  import { getQuarterNum, getHalfYearNum, formatDate, useConfig, getLocalStorage, checkIdCard, checkVehicleNo, checkPhone, getDictMapApi, axios as axios$3, getCaptchaURL, guid, setLocalStorage, clearSessionStorage, cryptor, listComTreeApi, listItemTreeApi, getToken, MIME_TYPE, config as config$1, getSessionStorage, setToken, loginApi, clearUserInfoCache, clearPermissionCache, logoutApi, getUserInfoCache, getUserInfoApi, setUserInfoCache, setSessionStorage, getAppListApi, getPermissionCache, getPermissionApi, setPermissionCache, menuHistoryApi, addMenuCollectApi, removeMenuCollectApi, setConfig } from "@indfnd/utils";
3
3
  import Vue$1 from "vue";
4
4
  import { DropdownMenu as DropdownMenu$1, DropdownItem as DropdownItem$1, Message, LoadingBar, Spin } from "view-design";
5
- const name = "@indfnd/common-mobile";
6
- const version$1 = "1.0.57";
7
- const author = "huxuetong";
5
+ const name$1 = "@indfnd/common-mobile";
6
+ const version$2 = "1.0.58";
7
+ const author$1 = "huxuetong";
8
8
  const publishConfig = {
9
9
  registry: "https://registry.npmjs.org/"
10
10
  };
11
- const main$1 = "./dist/ind-common-mobile.umd.cjs";
11
+ const main$2 = "./dist/ind-common-mobile.umd.cjs";
12
12
  const module = "./dist/ind-common-mobile.es.js";
13
13
  const style = "./dist/styles/index.css";
14
14
  const types = "./types/index.d.ts";
@@ -32,7 +32,7 @@ const files = [
32
32
  "global.d.ts",
33
33
  "src/styles/variables"
34
34
  ];
35
- const scripts = {
35
+ const scripts$1 = {
36
36
  "build:prod": "vite build",
37
37
  "build:style": "gulp --gulpfile build/build-style.js",
38
38
  build: "yarn build:prod && yarn build:style",
@@ -44,11 +44,11 @@ const scripts = {
44
44
  "release-patch": "standard-version --release-as patch",
45
45
  "re-publish": "yarn publish --access public"
46
46
  };
47
- const dependencies = {
47
+ const dependencies$1 = {
48
48
  classnames: "^2.5.1",
49
49
  vuedraggable: "^2.24.3"
50
50
  };
51
- const devDependencies = {
51
+ const devDependencies$1 = {
52
52
  lodash: "4.17.21",
53
53
  "@indfnd/utils": "^0.1.36",
54
54
  eslint: "^3.19.0",
@@ -82,20 +82,20 @@ const devDependencies = {
82
82
  const engines = {
83
83
  node: ">= 16"
84
84
  };
85
- var pkg = {
86
- name,
87
- version: version$1,
88
- author,
85
+ var pkg$1 = {
86
+ name: name$1,
87
+ version: version$2,
88
+ author: author$1,
89
89
  publishConfig,
90
- main: main$1,
90
+ main: main$2,
91
91
  module,
92
92
  style,
93
93
  types,
94
94
  exports,
95
95
  files,
96
- scripts,
97
- dependencies,
98
- devDependencies,
96
+ scripts: scripts$1,
97
+ dependencies: dependencies$1,
98
+ devDependencies: devDependencies$1,
99
99
  engines
100
100
  };
101
101
  var render$L = function() {
@@ -3819,21 +3819,21 @@ const __vue2_script$A = {
3819
3819
  }
3820
3820
  this.loadingComp = false;
3821
3821
  }, 2),
3822
- setForm(table, data50) {
3822
+ setForm(table, data49) {
3823
3823
  let field = table.dataField;
3824
3824
  if (table.type == "form") {
3825
3825
  if (field) {
3826
- this.form[field] = data50;
3826
+ this.form[field] = data49;
3827
3827
  } else {
3828
- this.form = data50;
3828
+ this.form = data49;
3829
3829
  }
3830
3830
  } else if (table.type == "list") {
3831
3831
  let rowKey = table.rowKey || "id";
3832
3832
  let listTmp = _.cloneDeep(this.form[field]);
3833
3833
  let tmpRow = _.find(listTmp, (d) => {
3834
- return d[rowKey] == data50[rowKey];
3834
+ return d[rowKey] == data49[rowKey];
3835
3835
  });
3836
- _.merge(tmpRow, data50);
3836
+ _.merge(tmpRow, data49);
3837
3837
  this.form[field] = listTmp;
3838
3838
  }
3839
3839
  },
@@ -4121,12 +4121,12 @@ const __vue2_script$z = {
4121
4121
  params = this.renderParams(params);
4122
4122
  }
4123
4123
  const result = await this.dataApi(params);
4124
- let data50 = result.data.rows || result.data.records || [];
4124
+ let data49 = result.data.rows || result.data.records || [];
4125
4125
  if (this.disablePage && result.data instanceof Array) {
4126
- data50 = result.data;
4126
+ data49 = result.data;
4127
4127
  }
4128
- this.rows = [...this.rows, ...data50];
4129
- this.allData = [...this.allData, ...data50];
4128
+ this.rows = [...this.rows, ...data49];
4129
+ this.allData = [...this.allData, ...data49];
4130
4130
  this.pagination.offset += this.pagination.limit;
4131
4131
  this.currentPage++;
4132
4132
  this.isFinished = this.pagination.offset + this.pagination.limit >= this.pagination.total;
@@ -4229,13 +4229,13 @@ const __vue2_script$z = {
4229
4229
  params = this.renderParams(params);
4230
4230
  }
4231
4231
  const result = await this.dataApi(params);
4232
- let data50 = result.data.rows || result.data.records || [];
4232
+ let data49 = result.data.rows || result.data.records || [];
4233
4233
  if (this.disablePage && result.data instanceof Array) {
4234
- data50 = result.data;
4234
+ data49 = result.data;
4235
4235
  }
4236
- this.rows = data50;
4237
- this.allData = [...data50];
4238
- this.total = ((_a = result.data) == null ? void 0 : _a.total) || (this.disablePage ? (data50 == null ? void 0 : data50.length) || 0 : 0);
4236
+ this.rows = data49;
4237
+ this.allData = [...data49];
4238
+ this.total = ((_a = result.data) == null ? void 0 : _a.total) || (this.disablePage ? (data49 == null ? void 0 : data49.length) || 0 : 0);
4239
4239
  if (!this.disablePage) {
4240
4240
  this.pagination.total = this.total;
4241
4241
  this.isFinished = this.pagination.limit >= this.pagination.total;
@@ -5108,14 +5108,14 @@ function emit(context2, eventName) {
5108
5108
  }
5109
5109
  }
5110
5110
  }
5111
- function mount(Component, data50) {
5111
+ function mount(Component, data49) {
5112
5112
  var instance2 = new Vue$1({
5113
5113
  el: document.createElement("div"),
5114
5114
  props: Component.props,
5115
5115
  render: function render83(h) {
5116
5116
  return h(Component, _extends$2({
5117
5117
  props: this.$props
5118
- }, data50));
5118
+ }, data49));
5119
5119
  }
5120
5120
  });
5121
5121
  document.body.appendChild(instance2.$el);
@@ -5521,7 +5521,7 @@ function PopupMixin(options) {
5521
5521
  };
5522
5522
  },
5523
5523
  props: popupMixinProps,
5524
- data: function data50() {
5524
+ data: function data49() {
5525
5525
  this.onReopenCallback = [];
5526
5526
  return {
5527
5527
  inited: this.value
@@ -5973,11 +5973,11 @@ function ActionSheet(h, props, slots2, ctx) {
5973
5973
  }
5974
5974
  }
5975
5975
  function Description() {
5976
- var description = (slots2.description == null ? void 0 : slots2.description()) || props.description;
5977
- if (description) {
5976
+ var description2 = (slots2.description == null ? void 0 : slots2.description()) || props.description;
5977
+ if (description2) {
5978
5978
  return h("div", {
5979
5979
  "class": bem$1s("description")
5980
- }, [description]);
5980
+ }, [description2]);
5981
5981
  }
5982
5982
  }
5983
5983
  return h(Popup, _mergeJSXProps([{
@@ -6372,7 +6372,7 @@ var PickerColumn = createComponent$1A({
6372
6372
  var _domProps;
6373
6373
  var text = _this4.getOptionText(option2);
6374
6374
  var disabled = isOptionDisabled(option2);
6375
- var data50 = {
6375
+ var data49 = {
6376
6376
  style: optionStyle,
6377
6377
  attrs: {
6378
6378
  role: "button",
@@ -6392,7 +6392,7 @@ var PickerColumn = createComponent$1A({
6392
6392
  class: "van-ellipsis",
6393
6393
  domProps: (_domProps = {}, _domProps[_this4.allowHtml ? "innerHTML" : "textContent"] = text, _domProps)
6394
6394
  };
6395
- return h("li", _mergeJSXProps([{}, data50]), [_this4.slots("option", option2) || h("div", _mergeJSXProps([{}, childData]))]);
6395
+ return h("li", _mergeJSXProps([{}, data49]), [_this4.slots("option", option2) || h("div", _mergeJSXProps([{}, childData]))]);
6396
6396
  });
6397
6397
  }
6398
6398
  },
@@ -8196,7 +8196,7 @@ function ParentMixin(parent) {
8196
8196
  var _ref;
8197
8197
  return _ref = {}, _ref[parent] = this, _ref;
8198
8198
  },
8199
- data: function data50() {
8199
+ data: function data49() {
8200
8200
  return {
8201
8201
  children: []
8202
8202
  };
@@ -8462,7 +8462,7 @@ var VanDialog = createComponent$1r({
8462
8462
  var message = this.message, messageAlign = this.messageAlign;
8463
8463
  if (message) {
8464
8464
  var _bem, _domProps;
8465
- var data50 = {
8465
+ var data49 = {
8466
8466
  class: bem$1i("message", (_bem = {
8467
8467
  "has-title": hasTitle
8468
8468
  }, _bem[messageAlign] = messageAlign, _bem)),
@@ -8472,7 +8472,7 @@ var VanDialog = createComponent$1r({
8472
8472
  "class": bem$1i("content", {
8473
8473
  isolated: !hasTitle
8474
8474
  })
8475
- }, [h("div", _mergeJSXProps([{}, data50]))]);
8475
+ }, [h("div", _mergeJSXProps([{}, data49]))]);
8476
8476
  }
8477
8477
  }
8478
8478
  },
@@ -9061,7 +9061,7 @@ var AddressEdit = createComponent$1o({
9061
9061
  },
9062
9062
  render: function render12(h) {
9063
9063
  var _this5 = this;
9064
- var data50 = this.data, errorInfo = this.errorInfo, disableArea = this.disableArea, hideBottomFields2 = this.hideBottomFields;
9064
+ var data49 = this.data, errorInfo = this.errorInfo, disableArea = this.disableArea, hideBottomFields2 = this.hideBottomFields;
9065
9065
  var onFocus5 = function onFocus6(name2) {
9066
9066
  return function() {
9067
9067
  return _this5.onFocus(name2);
@@ -9082,9 +9082,9 @@ var AddressEdit = createComponent$1o({
9082
9082
  "focus": onFocus5("name")
9083
9083
  },
9084
9084
  "model": {
9085
- value: data50.name,
9085
+ value: data49.name,
9086
9086
  callback: function callback2($$v) {
9087
- _this5.$set(data50, "name", $$v);
9087
+ _this5.$set(data49, "name", $$v);
9088
9088
  }
9089
9089
  }
9090
9090
  }), h(Field, {
@@ -9100,9 +9100,9 @@ var AddressEdit = createComponent$1o({
9100
9100
  "focus": onFocus5("tel")
9101
9101
  },
9102
9102
  "model": {
9103
- value: data50.tel,
9103
+ value: data49.tel,
9104
9104
  callback: function callback2($$v) {
9105
- _this5.$set(data50, "tel", $$v);
9105
+ _this5.$set(data49, "tel", $$v);
9106
9106
  }
9107
9107
  }
9108
9108
  }), h(Field, {
@@ -9133,7 +9133,7 @@ var AddressEdit = createComponent$1o({
9133
9133
  }],
9134
9134
  "attrs": {
9135
9135
  "focused": this.detailFocused,
9136
- "value": data50.addressDetail,
9136
+ "value": data49.addressDetail,
9137
9137
  "errorMessage": errorInfo.addressDetail,
9138
9138
  "detailRows": this.detailRows,
9139
9139
  "detailMaxlength": this.detailMaxlength,
@@ -9164,9 +9164,9 @@ var AddressEdit = createComponent$1o({
9164
9164
  "focus": onFocus5("postalCode")
9165
9165
  },
9166
9166
  "model": {
9167
- value: data50.postalCode,
9167
+ value: data49.postalCode,
9168
9168
  callback: function callback2($$v) {
9169
- _this5.$set(data50, "postalCode", $$v);
9169
+ _this5.$set(data49, "postalCode", $$v);
9170
9170
  }
9171
9171
  }
9172
9172
  }), this.slots()]), this.genSetDefaultCell(h), h("div", {
@@ -9212,7 +9212,7 @@ var AddressEdit = createComponent$1o({
9212
9212
  }, [h(Area, {
9213
9213
  "ref": "area",
9214
9214
  "attrs": {
9215
- "value": data50.areaCode,
9215
+ "value": data49.areaCode,
9216
9216
  "loading": !this.areaListLoaded,
9217
9217
  "areaList": this.areaList,
9218
9218
  "columnsPlaceholder": this.areaColumnsPlaceholder
@@ -9494,16 +9494,16 @@ function AddressItem(h, props, slots2, ctx) {
9494
9494
  }
9495
9495
  }
9496
9496
  function genContent6() {
9497
- var data50 = props.data;
9497
+ var data49 = props.data;
9498
9498
  var Info2 = [h("div", {
9499
9499
  "class": bem$1b("name")
9500
- }, [data50.name + " " + data50.tel, genTag()]), h("div", {
9500
+ }, [data49.name + " " + data49.tel, genTag()]), h("div", {
9501
9501
  "class": bem$1b("address")
9502
- }, [data50.address])];
9502
+ }, [data49.address])];
9503
9503
  if (switchable && !disabled) {
9504
9504
  return h(Radio, {
9505
9505
  "attrs": {
9506
- "name": data50.id,
9506
+ "name": data49.id,
9507
9507
  "iconSize": 18
9508
9508
  }
9509
9509
  }, [Info2]);
@@ -12498,7 +12498,7 @@ var ContactEdit = createComponent$_({
12498
12498
  render: function render30() {
12499
12499
  var _this3 = this;
12500
12500
  var h = arguments[0];
12501
- var data50 = this.data, errorInfo = this.errorInfo;
12501
+ var data49 = this.data, errorInfo = this.errorInfo;
12502
12502
  var onFocus5 = function onFocus6(name2) {
12503
12503
  return function() {
12504
12504
  return _this3.onFocus(name2);
@@ -12520,9 +12520,9 @@ var ContactEdit = createComponent$_({
12520
12520
  "focus": onFocus5("name")
12521
12521
  },
12522
12522
  "model": {
12523
- value: data50.name,
12523
+ value: data49.name,
12524
12524
  callback: function callback2($$v) {
12525
- _this3.$set(data50, "name", $$v);
12525
+ _this3.$set(data49, "name", $$v);
12526
12526
  }
12527
12527
  }
12528
12528
  }), h(Field, {
@@ -12537,9 +12537,9 @@ var ContactEdit = createComponent$_({
12537
12537
  "focus": onFocus5("tel")
12538
12538
  },
12539
12539
  "model": {
12540
- value: data50.tel,
12540
+ value: data49.tel,
12541
12541
  callback: function callback2($$v) {
12542
- _this3.$set(data50, "tel", $$v);
12542
+ _this3.$set(data49, "tel", $$v);
12543
12543
  }
12544
12544
  }
12545
12545
  })]), this.showSetDefault && h(Cell$1, {
@@ -12559,9 +12559,9 @@ var ContactEdit = createComponent$_({
12559
12559
  }
12560
12560
  },
12561
12561
  "model": {
12562
- value: data50.isDefault,
12562
+ value: data49.isDefault,
12563
12563
  callback: function callback2($$v) {
12564
- _this3.$set(data50, "isDefault", $$v);
12564
+ _this3.$set(data49, "isDefault", $$v);
12565
12565
  }
12566
12566
  }
12567
12567
  })]), h("div", {
@@ -12923,7 +12923,7 @@ var Coupon = createComponent$X({
12923
12923
  render: function render32() {
12924
12924
  var h = arguments[0];
12925
12925
  var coupon = this.coupon, disabled = this.disabled;
12926
- var description = disabled && coupon.reason || coupon.description;
12926
+ var description2 = disabled && coupon.reason || coupon.description;
12927
12927
  return h("div", {
12928
12928
  "class": bem$Q({
12929
12929
  disabled
@@ -12952,9 +12952,9 @@ var Coupon = createComponent$X({
12952
12952
  "checkedColor": RED
12953
12953
  },
12954
12954
  "class": bem$Q("corner")
12955
- })])]), description && h("p", {
12955
+ })])]), description2 && h("p", {
12956
12956
  "class": bem$Q("description")
12957
- }, [description])]);
12957
+ }, [description2])]);
12958
12958
  }
12959
12959
  });
12960
12960
  var _createNamespace$S = createNamespace("coupon-cell"), createComponent$W = _createNamespace$S[0], bem$P = _createNamespace$S[1], t$e = _createNamespace$S[2];
@@ -13986,7 +13986,7 @@ var ClickOutsideMixin = function ClickOutsideMixin2(config2) {
13986
13986
  default: true
13987
13987
  }
13988
13988
  },
13989
- data: function data50() {
13989
+ data: function data49() {
13990
13990
  var _this = this;
13991
13991
  var clickOutsideHandler = function clickOutsideHandler2(event) {
13992
13992
  if (_this.closeOnClickOutside && !_this.$el.contains(event.target)) {
@@ -14340,11 +14340,11 @@ var Empty = createComponent$O({
14340
14340
  },
14341
14341
  genDescription: function genDescription() {
14342
14342
  var h = this.$createElement;
14343
- var description = this.slots("description") || this.description;
14344
- if (description) {
14343
+ var description2 = this.slots("description") || this.description;
14344
+ if (description2) {
14345
14345
  return h("p", {
14346
14346
  "class": bem$J("description")
14347
- }, [description]);
14347
+ }, [description2]);
14348
14348
  }
14349
14349
  },
14350
14350
  genBottom: function genBottom() {
@@ -15636,9 +15636,9 @@ var initInstance = function initInstance2() {
15636
15636
  instance$1.onChange(index2);
15637
15637
  }
15638
15638
  });
15639
- instance$1.$on("scale", function(data50) {
15639
+ instance$1.$on("scale", function(data49) {
15640
15640
  if (instance$1.onScale) {
15641
- instance$1.onScale(data50);
15641
+ instance$1.onScale(data49);
15642
15642
  }
15643
15643
  });
15644
15644
  };
@@ -17323,12 +17323,12 @@ var beforeRead = "beforeRead";
17323
17323
  var read = "read";
17324
17324
  var afterRead = "afterRead";
17325
17325
  var beforeMain = "beforeMain";
17326
- var main = "main";
17326
+ var main$1 = "main";
17327
17327
  var afterMain = "afterMain";
17328
17328
  var beforeWrite = "beforeWrite";
17329
17329
  var write = "write";
17330
17330
  var afterWrite = "afterWrite";
17331
- var modifierPhases = [beforeRead, read, afterRead, beforeMain, main, afterMain, beforeWrite, write, afterWrite];
17331
+ var modifierPhases = [beforeRead, read, afterRead, beforeMain, main$1, afterMain, beforeWrite, write, afterWrite];
17332
17332
  function order(modifiers) {
17333
17333
  var map = /* @__PURE__ */ new Map();
17334
17334
  var visited = /* @__PURE__ */ new Set();
@@ -17964,16 +17964,16 @@ function distanceAndSkiddingToXY(placement, rects, offset22) {
17964
17964
  function offset2(_ref2) {
17965
17965
  var state = _ref2.state, options = _ref2.options, name2 = _ref2.name;
17966
17966
  var _options$offset = options.offset, offset22 = _options$offset === void 0 ? [0, 0] : _options$offset;
17967
- var data50 = placements.reduce(function(acc, placement) {
17967
+ var data49 = placements.reduce(function(acc, placement) {
17968
17968
  acc[placement] = distanceAndSkiddingToXY(placement, state.rects, offset22);
17969
17969
  return acc;
17970
17970
  }, {});
17971
- var _data$state$placement = data50[state.placement], x = _data$state$placement.x, y = _data$state$placement.y;
17971
+ var _data$state$placement = data49[state.placement], x = _data$state$placement.x, y = _data$state$placement.y;
17972
17972
  if (state.modifiersData.popperOffsets != null) {
17973
17973
  state.modifiersData.popperOffsets.x += x;
17974
17974
  state.modifiersData.popperOffsets.y += y;
17975
17975
  }
17976
- state.modifiersData[name2] = data50;
17976
+ state.modifiersData[name2] = data49;
17977
17977
  }
17978
17978
  var offset_default = {
17979
17979
  name: "offset",
@@ -18851,17 +18851,17 @@ var ShareSheet = createComponent$p({
18851
18851
  genHeader: function genHeader() {
18852
18852
  var h = this.$createElement;
18853
18853
  var title4 = this.slots("title") || this.title;
18854
- var description = this.slots("description") || this.description;
18855
- if (!title4 && !description) {
18854
+ var description2 = this.slots("description") || this.description;
18855
+ if (!title4 && !description2) {
18856
18856
  return;
18857
18857
  }
18858
18858
  return h("div", {
18859
18859
  "class": bem$k("header")
18860
18860
  }, [title4 && h("h2", {
18861
18861
  "class": bem$k("title")
18862
- }, [title4]), description && h("span", {
18862
+ }, [title4]), description2 && h("span", {
18863
18863
  "class": bem$k("description")
18864
- }, [description])]);
18864
+ }, [description2])]);
18865
18865
  },
18866
18866
  genOptions: function genOptions2(options, showBorder) {
18867
18867
  var _this = this;
@@ -20224,9 +20224,9 @@ var Uploader = createComponent$e({
20224
20224
  return;
20225
20225
  }
20226
20226
  if (isPromise(response)) {
20227
- response.then(function(data50) {
20228
- if (data50) {
20229
- _this.readFile(data50);
20227
+ response.then(function(data49) {
20228
+ if (data49) {
20229
+ _this.readFile(data49);
20230
20230
  } else {
20231
20231
  _this.readFile(files2);
20232
20232
  }
@@ -20682,11 +20682,11 @@ var SkuDateTimeField = createComponent$c({
20682
20682
  this.showDatePicker = true;
20683
20683
  },
20684
20684
  onConfirm: function onConfirm4(val) {
20685
- var data50 = val;
20685
+ var data49 = val;
20686
20686
  if (this.type !== "time") {
20687
- data50 = dateToString(val, this.type);
20687
+ data49 = dateToString(val, this.type);
20688
20688
  }
20689
- this.$emit("input", data50);
20689
+ this.$emit("input", data49);
20690
20690
  this.showDatePicker = false;
20691
20691
  },
20692
20692
  onCancel: function onCancel3() {
@@ -21411,11 +21411,11 @@ var Sku = createComponent$9({
21411
21411
  }
21412
21412
  });
21413
21413
  },
21414
- onOverLimit: function onOverLimit2(data50) {
21415
- var action = data50.action, limitType = data50.limitType, quota = data50.quota, quotaUsed = data50.quotaUsed;
21414
+ onOverLimit: function onOverLimit2(data49) {
21415
+ var action = data49.action, limitType = data49.limitType, quota = data49.quota, quotaUsed = data49.quotaUsed;
21416
21416
  var handleOverLimit = this.customStepperConfig.handleOverLimit;
21417
21417
  if (handleOverLimit) {
21418
- handleOverLimit(data50);
21418
+ handleOverLimit(data49);
21419
21419
  return;
21420
21420
  }
21421
21421
  if (action === "minus") {
@@ -21436,8 +21436,8 @@ var Sku = createComponent$9({
21436
21436
  }
21437
21437
  }
21438
21438
  },
21439
- onStepperState: function onStepperState(data50) {
21440
- this.stepperError = data50.valid ? null : _extends$2({}, data50, {
21439
+ onStepperState: function onStepperState(data49) {
21440
+ this.stepperError = data49.valid ? null : _extends$2({}, data49, {
21441
21441
  action: "plus"
21442
21442
  });
21443
21443
  },
@@ -23017,10 +23017,10 @@ const __vue2_script$r = {
23017
23017
  }
23018
23018
  },
23019
23019
  methods: {
23020
- setLength(data50) {
23020
+ setLength(data49) {
23021
23021
  var _a;
23022
23022
  if (this.isTree) {
23023
- let dataTmp = (data50 == null ? void 0 : data50.data) || data50;
23023
+ let dataTmp = (data49 == null ? void 0 : data49.data) || data49;
23024
23024
  let leafNodes = [];
23025
23025
  deepEach({}, dataTmp, (d, p, idx) => {
23026
23026
  var _a2;
@@ -23030,7 +23030,7 @@ const __vue2_script$r = {
23030
23030
  });
23031
23031
  this.dataLen = (leafNodes == null ? void 0 : leafNodes.length) || 0;
23032
23032
  } else {
23033
- this.dataLen = (data50 == null ? void 0 : data50.length) || ((_a = data50 == null ? void 0 : data50.data) == null ? void 0 : _a.length);
23033
+ this.dataLen = (data49 == null ? void 0 : data49.length) || ((_a = data49 == null ? void 0 : data49.data) == null ? void 0 : _a.length);
23034
23034
  }
23035
23035
  },
23036
23036
  toggleCheckAll() {
@@ -23334,8 +23334,8 @@ const __vue2_script$q = {
23334
23334
  clearSelected() {
23335
23335
  this.selectedTitles = "";
23336
23336
  },
23337
- updateSearchNum(data50) {
23338
- this.searchNum = data50;
23337
+ updateSearchNum(data49) {
23338
+ this.searchNum = data49;
23339
23339
  },
23340
23340
  updateSelectedTitles() {
23341
23341
  var _a, _b, _c, _d, _e, _f, _g, _h;
@@ -24187,7 +24187,7 @@ function _iterableToArray(iter) {
24187
24187
  function _nonIterableSpread() {
24188
24188
  throw new TypeError("Invalid attempt to spread non-iterable instance");
24189
24189
  }
24190
- var version = "1.10.2";
24190
+ var version$1 = "1.10.2";
24191
24191
  function userAgent$1(pattern) {
24192
24192
  if (typeof window !== "undefined" && window.navigator) {
24193
24193
  return !!/* @__PURE__ */ navigator.userAgent.match(pattern);
@@ -24635,14 +24635,14 @@ function calculateRealTime(animatingRect, fromRect, toRect, options) {
24635
24635
  return Math.sqrt(Math.pow(fromRect.top - animatingRect.top, 2) + Math.pow(fromRect.left - animatingRect.left, 2)) / Math.sqrt(Math.pow(fromRect.top - toRect.top, 2) + Math.pow(fromRect.left - toRect.left, 2)) * options.animation;
24636
24636
  }
24637
24637
  var plugins$1 = [];
24638
- var defaults$5 = {
24638
+ var defaults$4 = {
24639
24639
  initializeByDefault: true
24640
24640
  };
24641
24641
  var PluginManager = {
24642
24642
  mount: function mount2(plugin) {
24643
- for (var option2 in defaults$5) {
24644
- if (defaults$5.hasOwnProperty(option2) && !(option2 in plugin)) {
24645
- plugin[option2] = defaults$5[option2];
24643
+ for (var option2 in defaults$4) {
24644
+ if (defaults$4.hasOwnProperty(option2) && !(option2 in plugin)) {
24645
+ plugin[option2] = defaults$4[option2];
24646
24646
  }
24647
24647
  }
24648
24648
  plugins$1.push(plugin);
@@ -24747,7 +24747,7 @@ function dispatchEvent(_ref) {
24747
24747
  }
24748
24748
  }
24749
24749
  var pluginEvent2 = function pluginEvent3(eventName, sortable) {
24750
- var _ref = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {}, originalEvent = _ref.evt, data50 = _objectWithoutProperties(_ref, ["evt"]);
24750
+ var _ref = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {}, originalEvent = _ref.evt, data49 = _objectWithoutProperties(_ref, ["evt"]);
24751
24751
  PluginManager.pluginEvent.bind(Sortable)(eventName, sortable, _objectSpread({
24752
24752
  dragEl,
24753
24753
  parentEl,
@@ -24780,7 +24780,7 @@ var pluginEvent2 = function pluginEvent3(eventName, sortable) {
24780
24780
  originalEvent
24781
24781
  });
24782
24782
  }
24783
- }, data50));
24783
+ }, data49));
24784
24784
  };
24785
24785
  function _dispatchEvent(info) {
24786
24786
  dispatchEvent(_objectSpread({
@@ -25964,7 +25964,7 @@ Sortable.mount = function() {
25964
25964
  Sortable.create = function(el, options) {
25965
25965
  return new Sortable(el, options);
25966
25966
  };
25967
- Sortable.version = version;
25967
+ Sortable.version = version$1;
25968
25968
  var autoScrolls = [], scrollEl, scrollRootEl, scrolling = false, lastAutoScrollX, lastAutoScrollY, touchEvt$1, pointerElemChangedInterval;
25969
25969
  function AutoScrollPlugin() {
25970
25970
  function AutoScroll() {
@@ -26282,15 +26282,15 @@ function MultiDragPlugin() {
26282
26282
  selectedClass: "sortable-selected",
26283
26283
  multiDragKey: null,
26284
26284
  setData: function setData(dataTransfer, dragEl2) {
26285
- var data50 = "";
26285
+ var data49 = "";
26286
26286
  if (multiDragElements.length && multiDragSortable === sortable) {
26287
26287
  multiDragElements.forEach(function(multiDragElement, i) {
26288
- data50 += (!i ? "" : ", ") + multiDragElement.textContent;
26288
+ data49 += (!i ? "" : ", ") + multiDragElement.textContent;
26289
26289
  });
26290
26290
  } else {
26291
- data50 = dragEl2.textContent;
26291
+ data49 = dragEl2.textContent;
26292
26292
  }
26293
- dataTransfer.setData("Text", data50);
26293
+ dataTransfer.setData("Text", data49);
26294
26294
  }
26295
26295
  };
26296
26296
  }
@@ -26751,10 +26751,10 @@ var sortable_esm = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.definePr
26751
26751
  Sortable,
26752
26752
  Swap: SwapPlugin
26753
26753
  }, Symbol.toStringTag, { value: "Module" }));
26754
- var require$$0 = /* @__PURE__ */ getAugmentedNamespace(sortable_esm);
26754
+ var require$$0$1 = /* @__PURE__ */ getAugmentedNamespace(sortable_esm);
26755
26755
  (function(module2, exports2) {
26756
26756
  (function webpackUniversalModuleDefinition(root2, factory) {
26757
- module2.exports = factory(require$$0);
26757
+ module2.exports = factory(require$$0$1);
26758
26758
  })(typeof self !== "undefined" ? self : commonjsGlobal, function(__WEBPACK_EXTERNAL_MODULE_a352__) {
26759
26759
  return function(modules) {
26760
26760
  var installedModules = {};
@@ -27129,7 +27129,7 @@ var require$$0 = /* @__PURE__ */ getAugmentedNamespace(sortable_esm);
27129
27129
  delete createDict[PROTOTYPE][enumBugKeys[i]];
27130
27130
  return createDict();
27131
27131
  };
27132
- module3.exports = Object.create || function create(O, Properties) {
27132
+ module3.exports = Object.create || function create2(O, Properties) {
27133
27133
  var result;
27134
27134
  if (O !== null) {
27135
27135
  Empty2[PROTOTYPE] = anObject(O);
@@ -27196,7 +27196,7 @@ var require$$0 = /* @__PURE__ */ getAugmentedNamespace(sortable_esm);
27196
27196
  };
27197
27197
  },
27198
27198
  "41a0": function(module3, exports3, __webpack_require__) {
27199
- var create = __webpack_require__("2aeb");
27199
+ var create2 = __webpack_require__("2aeb");
27200
27200
  var descriptor = __webpack_require__("4630");
27201
27201
  var setToStringTag = __webpack_require__("7f20");
27202
27202
  var IteratorPrototype = {};
@@ -27204,7 +27204,7 @@ var require$$0 = /* @__PURE__ */ getAugmentedNamespace(sortable_esm);
27204
27204
  return this;
27205
27205
  });
27206
27206
  module3.exports = function(Constructor, NAME, next2) {
27207
- Constructor.prototype = create(IteratorPrototype, { next: descriptor(1, next2) });
27207
+ Constructor.prototype = create2(IteratorPrototype, { next: descriptor(1, next2) });
27208
27208
  setToStringTag(Constructor, NAME + " Iterator");
27209
27209
  };
27210
27210
  },
@@ -28263,7 +28263,7 @@ var require$$0 = /* @__PURE__ */ getAugmentedNamespace(sortable_esm);
28263
28263
  name: "draggable",
28264
28264
  inheritAttrs: false,
28265
28265
  props,
28266
- data: function data50() {
28266
+ data: function data49() {
28267
28267
  return {
28268
28268
  transitionMode: false,
28269
28269
  noneFunctionalComponentMode: false
@@ -30570,9 +30570,9 @@ function getMaxDepth(obj, currentDepth = 1) {
30570
30570
  }
30571
30571
  return maxDepth;
30572
30572
  }
30573
- function calculateMaxDepth(data50) {
30573
+ function calculateMaxDepth(data49) {
30574
30574
  let maxDepth = 0;
30575
- for (const item2 of data50) {
30575
+ for (const item2 of data49) {
30576
30576
  const depth = getMaxDepth(item2);
30577
30577
  if (depth > maxDepth) {
30578
30578
  maxDepth = depth;
@@ -32129,8 +32129,7 @@ var enhanceError$2 = function enhanceError(error, config2, code2, request2, resp
32129
32129
  columnNumber: this.columnNumber,
32130
32130
  stack: this.stack,
32131
32131
  config: this.config,
32132
- code: this.code,
32133
- status: this.response && this.response.status ? this.response.status : null
32132
+ code: this.code
32134
32133
  };
32135
32134
  };
32136
32135
  return error;
@@ -32286,14 +32285,6 @@ var isURLSameOrigin$1 = utils$7.isStandardBrowserEnv() ? function standardBrowse
32286
32285
  return true;
32287
32286
  };
32288
32287
  }();
32289
- function Cancel$3(message) {
32290
- this.message = message;
32291
- }
32292
- Cancel$3.prototype.toString = function toString2() {
32293
- return "Cancel" + (this.message ? ": " + this.message : "");
32294
- };
32295
- Cancel$3.prototype.__CANCEL__ = true;
32296
- var Cancel_1 = Cancel$3;
32297
32288
  var utils$6 = utils$d;
32298
32289
  var settle2 = settle$1;
32299
32290
  var cookies = cookies$1;
@@ -32302,22 +32293,11 @@ var buildFullPath2 = buildFullPath$1;
32302
32293
  var parseHeaders2 = parseHeaders$1;
32303
32294
  var isURLSameOrigin = isURLSameOrigin$1;
32304
32295
  var createError2 = createError$2;
32305
- var defaults$4 = defaults_1;
32306
- var Cancel$2 = Cancel_1;
32307
32296
  var xhr = function xhrAdapter(config2) {
32308
32297
  return new Promise(function dispatchXhrRequest(resolve, reject) {
32309
32298
  var requestData = config2.data;
32310
32299
  var requestHeaders = config2.headers;
32311
32300
  var responseType = config2.responseType;
32312
- var onCanceled;
32313
- function done() {
32314
- if (config2.cancelToken) {
32315
- config2.cancelToken.unsubscribe(onCanceled);
32316
- }
32317
- if (config2.signal) {
32318
- config2.signal.removeEventListener("abort", onCanceled);
32319
- }
32320
- }
32321
32301
  if (utils$6.isFormData(requestData)) {
32322
32302
  delete requestHeaders["Content-Type"];
32323
32303
  }
@@ -32344,13 +32324,7 @@ var xhr = function xhrAdapter(config2) {
32344
32324
  config: config2,
32345
32325
  request: request2
32346
32326
  };
32347
- settle2(function _resolve(value17) {
32348
- resolve(value17);
32349
- done();
32350
- }, function _reject(err) {
32351
- reject(err);
32352
- done();
32353
- }, response);
32327
+ settle2(resolve, reject, response);
32354
32328
  request2 = null;
32355
32329
  }
32356
32330
  if ("onloadend" in request2) {
@@ -32378,15 +32352,14 @@ var xhr = function xhrAdapter(config2) {
32378
32352
  request2 = null;
32379
32353
  };
32380
32354
  request2.ontimeout = function handleTimeout() {
32381
- var timeoutErrorMessage = config2.timeout ? "timeout of " + config2.timeout + "ms exceeded" : "timeout exceeded";
32382
- var transitional2 = config2.transitional || defaults$4.transitional;
32355
+ var timeoutErrorMessage = "timeout of " + config2.timeout + "ms exceeded";
32383
32356
  if (config2.timeoutErrorMessage) {
32384
32357
  timeoutErrorMessage = config2.timeoutErrorMessage;
32385
32358
  }
32386
32359
  reject(createError2(
32387
32360
  timeoutErrorMessage,
32388
32361
  config2,
32389
- transitional2.clarifyTimeoutError ? "ETIMEDOUT" : "ECONNABORTED",
32362
+ config2.transitional && config2.transitional.clarifyTimeoutError ? "ETIMEDOUT" : "ECONNABORTED",
32390
32363
  request2
32391
32364
  ));
32392
32365
  request2 = null;
@@ -32418,19 +32391,15 @@ var xhr = function xhrAdapter(config2) {
32418
32391
  if (typeof config2.onUploadProgress === "function" && request2.upload) {
32419
32392
  request2.upload.addEventListener("progress", config2.onUploadProgress);
32420
32393
  }
32421
- if (config2.cancelToken || config2.signal) {
32422
- onCanceled = function(cancel2) {
32394
+ if (config2.cancelToken) {
32395
+ config2.cancelToken.promise.then(function onCanceled(cancel2) {
32423
32396
  if (!request2) {
32424
32397
  return;
32425
32398
  }
32426
- reject(!cancel2 || cancel2 && cancel2.type ? new Cancel$2("canceled") : cancel2);
32427
32399
  request2.abort();
32400
+ reject(cancel2);
32428
32401
  request2 = null;
32429
- };
32430
- config2.cancelToken && config2.cancelToken.subscribe(onCanceled);
32431
- if (config2.signal) {
32432
- config2.signal.aborted ? onCanceled() : config2.signal.addEventListener("abort", onCanceled);
32433
- }
32402
+ });
32434
32403
  }
32435
32404
  if (!requestData) {
32436
32405
  requestData = null;
@@ -32478,33 +32447,33 @@ var defaults$3 = {
32478
32447
  clarifyTimeoutError: false
32479
32448
  },
32480
32449
  adapter: getDefaultAdapter(),
32481
- transformRequest: [function transformRequest(data50, headers) {
32450
+ transformRequest: [function transformRequest(data49, headers) {
32482
32451
  normalizeHeaderName2(headers, "Accept");
32483
32452
  normalizeHeaderName2(headers, "Content-Type");
32484
- if (utils$5.isFormData(data50) || utils$5.isArrayBuffer(data50) || utils$5.isBuffer(data50) || utils$5.isStream(data50) || utils$5.isFile(data50) || utils$5.isBlob(data50)) {
32485
- return data50;
32453
+ if (utils$5.isFormData(data49) || utils$5.isArrayBuffer(data49) || utils$5.isBuffer(data49) || utils$5.isStream(data49) || utils$5.isFile(data49) || utils$5.isBlob(data49)) {
32454
+ return data49;
32486
32455
  }
32487
- if (utils$5.isArrayBufferView(data50)) {
32488
- return data50.buffer;
32456
+ if (utils$5.isArrayBufferView(data49)) {
32457
+ return data49.buffer;
32489
32458
  }
32490
- if (utils$5.isURLSearchParams(data50)) {
32459
+ if (utils$5.isURLSearchParams(data49)) {
32491
32460
  setContentTypeIfUnset(headers, "application/x-www-form-urlencoded;charset=utf-8");
32492
- return data50.toString();
32461
+ return data49.toString();
32493
32462
  }
32494
- if (utils$5.isObject(data50) || headers && headers["Content-Type"] === "application/json") {
32463
+ if (utils$5.isObject(data49) || headers && headers["Content-Type"] === "application/json") {
32495
32464
  setContentTypeIfUnset(headers, "application/json");
32496
- return stringifySafely(data50);
32465
+ return stringifySafely(data49);
32497
32466
  }
32498
- return data50;
32467
+ return data49;
32499
32468
  }],
32500
- transformResponse: [function transformResponse(data50) {
32501
- var transitional2 = this.transitional || defaults$3.transitional;
32469
+ transformResponse: [function transformResponse(data49) {
32470
+ var transitional2 = this.transitional;
32502
32471
  var silentJSONParsing = transitional2 && transitional2.silentJSONParsing;
32503
32472
  var forcedJSONParsing = transitional2 && transitional2.forcedJSONParsing;
32504
32473
  var strictJSONParsing = !silentJSONParsing && this.responseType === "json";
32505
- if (strictJSONParsing || forcedJSONParsing && utils$5.isString(data50) && data50.length) {
32474
+ if (strictJSONParsing || forcedJSONParsing && utils$5.isString(data49) && data49.length) {
32506
32475
  try {
32507
- return JSON.parse(data50);
32476
+ return JSON.parse(data49);
32508
32477
  } catch (e) {
32509
32478
  if (strictJSONParsing) {
32510
32479
  if (e.name === "SyntaxError") {
@@ -32514,7 +32483,7 @@ var defaults$3 = {
32514
32483
  }
32515
32484
  }
32516
32485
  }
32517
- return data50;
32486
+ return data49;
32518
32487
  }],
32519
32488
  timeout: 0,
32520
32489
  xsrfCookieName: "XSRF-TOKEN",
@@ -32523,11 +32492,11 @@ var defaults$3 = {
32523
32492
  maxBodyLength: -1,
32524
32493
  validateStatus: function validateStatus(status2) {
32525
32494
  return status2 >= 200 && status2 < 300;
32526
- },
32527
- headers: {
32528
- common: {
32529
- "Accept": "application/json, text/plain, */*"
32530
- }
32495
+ }
32496
+ };
32497
+ defaults$3.headers = {
32498
+ common: {
32499
+ "Accept": "application/json, text/plain, */*"
32531
32500
  }
32532
32501
  };
32533
32502
  utils$5.forEach(["delete", "get", "head"], function forEachMethodNoData(method) {
@@ -32539,12 +32508,12 @@ utils$5.forEach(["post", "put", "patch"], function forEachMethodWithData(method)
32539
32508
  var defaults_1 = defaults$3;
32540
32509
  var utils$4 = utils$d;
32541
32510
  var defaults$2 = defaults_1;
32542
- var transformData$1 = function transformData(data50, headers, fns) {
32511
+ var transformData$1 = function transformData(data49, headers, fns) {
32543
32512
  var context2 = this || defaults$2;
32544
32513
  utils$4.forEach(fns, function transform(fn2) {
32545
- data50 = fn2.call(context2, data50, headers);
32514
+ data49 = fn2.call(context2, data49, headers);
32546
32515
  });
32547
- return data50;
32516
+ return data49;
32548
32517
  };
32549
32518
  var isCancel$1 = function isCancel(value17) {
32550
32519
  return !!(value17 && value17.__CANCEL__);
@@ -32553,14 +32522,10 @@ var utils$3 = utils$d;
32553
32522
  var transformData2 = transformData$1;
32554
32523
  var isCancel2 = isCancel$1;
32555
32524
  var defaults$1 = defaults_1;
32556
- var Cancel$1 = Cancel_1;
32557
32525
  function throwIfCancellationRequested(config2) {
32558
32526
  if (config2.cancelToken) {
32559
32527
  config2.cancelToken.throwIfRequested();
32560
32528
  }
32561
- if (config2.signal && config2.signal.aborted) {
32562
- throw new Cancel$1("canceled");
32563
- }
32564
32529
  }
32565
32530
  var dispatchRequest$1 = function dispatchRequest(config2) {
32566
32531
  throwIfCancellationRequested(config2);
@@ -32611,6 +32576,34 @@ var utils$2 = utils$d;
32611
32576
  var mergeConfig$2 = function mergeConfig(config1, config2) {
32612
32577
  config2 = config2 || {};
32613
32578
  var config3 = {};
32579
+ var valueFromConfig2Keys = ["url", "method", "data"];
32580
+ var mergeDeepPropertiesKeys = ["headers", "auth", "proxy", "params"];
32581
+ var defaultToConfig2Keys = [
32582
+ "baseURL",
32583
+ "transformRequest",
32584
+ "transformResponse",
32585
+ "paramsSerializer",
32586
+ "timeout",
32587
+ "timeoutMessage",
32588
+ "withCredentials",
32589
+ "adapter",
32590
+ "responseType",
32591
+ "xsrfCookieName",
32592
+ "xsrfHeaderName",
32593
+ "onUploadProgress",
32594
+ "onDownloadProgress",
32595
+ "decompress",
32596
+ "maxContentLength",
32597
+ "maxBodyLength",
32598
+ "maxRedirects",
32599
+ "transport",
32600
+ "httpAgent",
32601
+ "httpsAgent",
32602
+ "cancelToken",
32603
+ "socketPath",
32604
+ "responseEncoding"
32605
+ ];
32606
+ var directMergeKeys = ["validateStatus"];
32614
32607
  function getMergedValue(target2, source2) {
32615
32608
  if (utils$2.isPlainObject(target2) && utils$2.isPlainObject(source2)) {
32616
32609
  return utils$2.merge(target2, source2);
@@ -32623,69 +32616,141 @@ var mergeConfig$2 = function mergeConfig(config1, config2) {
32623
32616
  }
32624
32617
  function mergeDeepProperties(prop) {
32625
32618
  if (!utils$2.isUndefined(config2[prop])) {
32626
- return getMergedValue(config1[prop], config2[prop]);
32619
+ config3[prop] = getMergedValue(config1[prop], config2[prop]);
32627
32620
  } else if (!utils$2.isUndefined(config1[prop])) {
32628
- return getMergedValue(void 0, config1[prop]);
32621
+ config3[prop] = getMergedValue(void 0, config1[prop]);
32629
32622
  }
32630
32623
  }
32631
- function valueFromConfig2(prop) {
32624
+ utils$2.forEach(valueFromConfig2Keys, function valueFromConfig2(prop) {
32632
32625
  if (!utils$2.isUndefined(config2[prop])) {
32633
- return getMergedValue(void 0, config2[prop]);
32626
+ config3[prop] = getMergedValue(void 0, config2[prop]);
32634
32627
  }
32635
- }
32636
- function defaultToConfig2(prop) {
32628
+ });
32629
+ utils$2.forEach(mergeDeepPropertiesKeys, mergeDeepProperties);
32630
+ utils$2.forEach(defaultToConfig2Keys, function defaultToConfig2(prop) {
32637
32631
  if (!utils$2.isUndefined(config2[prop])) {
32638
- return getMergedValue(void 0, config2[prop]);
32632
+ config3[prop] = getMergedValue(void 0, config2[prop]);
32639
32633
  } else if (!utils$2.isUndefined(config1[prop])) {
32640
- return getMergedValue(void 0, config1[prop]);
32634
+ config3[prop] = getMergedValue(void 0, config1[prop]);
32641
32635
  }
32642
- }
32643
- function mergeDirectKeys(prop) {
32636
+ });
32637
+ utils$2.forEach(directMergeKeys, function merge2(prop) {
32644
32638
  if (prop in config2) {
32645
- return getMergedValue(config1[prop], config2[prop]);
32639
+ config3[prop] = getMergedValue(config1[prop], config2[prop]);
32646
32640
  } else if (prop in config1) {
32647
- return getMergedValue(void 0, config1[prop]);
32648
- }
32649
- }
32650
- var mergeMap = {
32651
- "url": valueFromConfig2,
32652
- "method": valueFromConfig2,
32653
- "data": valueFromConfig2,
32654
- "baseURL": defaultToConfig2,
32655
- "transformRequest": defaultToConfig2,
32656
- "transformResponse": defaultToConfig2,
32657
- "paramsSerializer": defaultToConfig2,
32658
- "timeout": defaultToConfig2,
32659
- "timeoutMessage": defaultToConfig2,
32660
- "withCredentials": defaultToConfig2,
32661
- "adapter": defaultToConfig2,
32662
- "responseType": defaultToConfig2,
32663
- "xsrfCookieName": defaultToConfig2,
32664
- "xsrfHeaderName": defaultToConfig2,
32665
- "onUploadProgress": defaultToConfig2,
32666
- "onDownloadProgress": defaultToConfig2,
32667
- "decompress": defaultToConfig2,
32668
- "maxContentLength": defaultToConfig2,
32669
- "maxBodyLength": defaultToConfig2,
32670
- "transport": defaultToConfig2,
32671
- "httpAgent": defaultToConfig2,
32672
- "httpsAgent": defaultToConfig2,
32673
- "cancelToken": defaultToConfig2,
32674
- "socketPath": defaultToConfig2,
32675
- "responseEncoding": defaultToConfig2,
32676
- "validateStatus": mergeDirectKeys
32677
- };
32678
- utils$2.forEach(Object.keys(config1).concat(Object.keys(config2)), function computeConfigValue(prop) {
32679
- var merge2 = mergeMap[prop] || mergeDeepProperties;
32680
- var configValue = merge2(prop);
32681
- utils$2.isUndefined(configValue) && merge2 !== mergeDirectKeys || (config3[prop] = configValue);
32641
+ config3[prop] = getMergedValue(void 0, config1[prop]);
32642
+ }
32643
+ });
32644
+ var axiosKeys = valueFromConfig2Keys.concat(mergeDeepPropertiesKeys).concat(defaultToConfig2Keys).concat(directMergeKeys);
32645
+ var otherKeys = Object.keys(config1).concat(Object.keys(config2)).filter(function filterAxiosKeys(key) {
32646
+ return axiosKeys.indexOf(key) === -1;
32682
32647
  });
32648
+ utils$2.forEach(otherKeys, mergeDeepProperties);
32683
32649
  return config3;
32684
32650
  };
32685
- var data49 = {
32686
- "version": "0.24.0"
32651
+ const name = "axios";
32652
+ const version = "0.21.4";
32653
+ const description = "Promise based HTTP client for the browser and node.js";
32654
+ const main = "index.js";
32655
+ const scripts = {
32656
+ test: "grunt test",
32657
+ start: "node ./sandbox/server.js",
32658
+ build: "NODE_ENV=production grunt build",
32659
+ preversion: "npm test",
32660
+ version: "npm run build && grunt version && git add -A dist && git add CHANGELOG.md bower.json package.json",
32661
+ postversion: "git push && git push --tags",
32662
+ examples: "node ./examples/server.js",
32663
+ coveralls: "cat coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js",
32664
+ fix: "eslint --fix lib/**/*.js"
32665
+ };
32666
+ const repository = {
32667
+ type: "git",
32668
+ url: "https://github.com/axios/axios.git"
32669
+ };
32670
+ const keywords = [
32671
+ "xhr",
32672
+ "http",
32673
+ "ajax",
32674
+ "promise",
32675
+ "node"
32676
+ ];
32677
+ const author = "Matt Zabriskie";
32678
+ const license = "MIT";
32679
+ const bugs = {
32680
+ url: "https://github.com/axios/axios/issues"
32687
32681
  };
32688
- var VERSION = data49.version;
32682
+ const homepage = "https://axios-http.com";
32683
+ const devDependencies = {
32684
+ coveralls: "^3.0.0",
32685
+ "es6-promise": "^4.2.4",
32686
+ grunt: "^1.3.0",
32687
+ "grunt-banner": "^0.6.0",
32688
+ "grunt-cli": "^1.2.0",
32689
+ "grunt-contrib-clean": "^1.1.0",
32690
+ "grunt-contrib-watch": "^1.0.0",
32691
+ "grunt-eslint": "^23.0.0",
32692
+ "grunt-karma": "^4.0.0",
32693
+ "grunt-mocha-test": "^0.13.3",
32694
+ "grunt-ts": "^6.0.0-beta.19",
32695
+ "grunt-webpack": "^4.0.2",
32696
+ "istanbul-instrumenter-loader": "^1.0.0",
32697
+ "jasmine-core": "^2.4.1",
32698
+ karma: "^6.3.2",
32699
+ "karma-chrome-launcher": "^3.1.0",
32700
+ "karma-firefox-launcher": "^2.1.0",
32701
+ "karma-jasmine": "^1.1.1",
32702
+ "karma-jasmine-ajax": "^0.1.13",
32703
+ "karma-safari-launcher": "^1.0.0",
32704
+ "karma-sauce-launcher": "^4.3.6",
32705
+ "karma-sinon": "^1.0.5",
32706
+ "karma-sourcemap-loader": "^0.3.8",
32707
+ "karma-webpack": "^4.0.2",
32708
+ "load-grunt-tasks": "^3.5.2",
32709
+ minimist: "^1.2.0",
32710
+ mocha: "^8.2.1",
32711
+ sinon: "^4.5.0",
32712
+ "terser-webpack-plugin": "^4.2.3",
32713
+ typescript: "^4.0.5",
32714
+ "url-search-params": "^0.10.0",
32715
+ webpack: "^4.44.2",
32716
+ "webpack-dev-server": "^3.11.0"
32717
+ };
32718
+ const browser = {
32719
+ "./lib/adapters/http.js": "./lib/adapters/xhr.js"
32720
+ };
32721
+ const jsdelivr = "dist/axios.min.js";
32722
+ const unpkg = "dist/axios.min.js";
32723
+ const typings = "./index.d.ts";
32724
+ const dependencies = {
32725
+ "follow-redirects": "^1.14.0"
32726
+ };
32727
+ const bundlesize = [
32728
+ {
32729
+ path: "./dist/axios.min.js",
32730
+ threshold: "5kB"
32731
+ }
32732
+ ];
32733
+ var require$$0 = {
32734
+ name,
32735
+ version,
32736
+ description,
32737
+ main,
32738
+ scripts,
32739
+ repository,
32740
+ keywords,
32741
+ author,
32742
+ license,
32743
+ bugs,
32744
+ homepage,
32745
+ devDependencies,
32746
+ browser,
32747
+ jsdelivr,
32748
+ unpkg,
32749
+ typings,
32750
+ dependencies,
32751
+ bundlesize
32752
+ };
32753
+ var pkg = require$$0;
32689
32754
  var validators$1 = {};
32690
32755
  ["object", "boolean", "number", "function", "string", "symbol"].forEach(function(type2, i) {
32691
32756
  validators$1[type2] = function validator4(thing) {
@@ -32693,15 +32758,29 @@ var validators$1 = {};
32693
32758
  };
32694
32759
  });
32695
32760
  var deprecatedWarnings = {};
32761
+ var currentVerArr = pkg.version.split(".");
32762
+ function isOlderVersion(version2, thanVersion) {
32763
+ var pkgVersionArr = thanVersion ? thanVersion.split(".") : currentVerArr;
32764
+ var destVer = version2.split(".");
32765
+ for (var i = 0; i < 3; i++) {
32766
+ if (pkgVersionArr[i] > destVer[i]) {
32767
+ return true;
32768
+ } else if (pkgVersionArr[i] < destVer[i]) {
32769
+ return false;
32770
+ }
32771
+ }
32772
+ return false;
32773
+ }
32696
32774
  validators$1.transitional = function transitional(validator4, version2, message) {
32775
+ var isDeprecated = version2 && isOlderVersion(version2);
32697
32776
  function formatMessage(opt, desc) {
32698
- return "[Axios v" + VERSION + "] Transitional option '" + opt + "'" + desc + (message ? ". " + message : "");
32777
+ return "[Axios v" + pkg.version + "] Transitional option '" + opt + "'" + desc + (message ? ". " + message : "");
32699
32778
  }
32700
32779
  return function(value17, opt, opts) {
32701
32780
  if (validator4 === false) {
32702
- throw new Error(formatMessage(opt, " has been removed" + (version2 ? " in " + version2 : "")));
32781
+ throw new Error(formatMessage(opt, " has been removed in " + version2));
32703
32782
  }
32704
- if (version2 && !deprecatedWarnings[opt]) {
32783
+ if (isDeprecated && !deprecatedWarnings[opt]) {
32705
32784
  deprecatedWarnings[opt] = true;
32706
32785
  console.warn(
32707
32786
  formatMessage(
@@ -32736,6 +32815,7 @@ function assertOptions(options, schema, allowUnknown) {
32736
32815
  }
32737
32816
  }
32738
32817
  var validator$1 = {
32818
+ isOlderVersion,
32739
32819
  assertOptions,
32740
32820
  validators: validators$1
32741
32821
  };
@@ -32771,9 +32851,9 @@ Axios$1.prototype.request = function request(config2) {
32771
32851
  var transitional2 = config2.transitional;
32772
32852
  if (transitional2 !== void 0) {
32773
32853
  validator3.assertOptions(transitional2, {
32774
- silentJSONParsing: validators.transitional(validators.boolean),
32775
- forcedJSONParsing: validators.transitional(validators.boolean),
32776
- clarifyTimeoutError: validators.transitional(validators.boolean)
32854
+ silentJSONParsing: validators.transitional(validators.boolean, "1.0.0"),
32855
+ forcedJSONParsing: validators.transitional(validators.boolean, "1.0.0"),
32856
+ clarifyTimeoutError: validators.transitional(validators.boolean, "1.0.0")
32777
32857
  }, false);
32778
32858
  }
32779
32859
  var requestInterceptorChain = [];
@@ -32835,15 +32915,23 @@ utils$1.forEach(["delete", "get", "head", "options"], function forEachMethodNoDa
32835
32915
  };
32836
32916
  });
32837
32917
  utils$1.forEach(["post", "put", "patch"], function forEachMethodWithData2(method) {
32838
- Axios$1.prototype[method] = function(url, data50, config2) {
32918
+ Axios$1.prototype[method] = function(url, data49, config2) {
32839
32919
  return this.request(mergeConfig$1(config2 || {}, {
32840
32920
  method,
32841
32921
  url,
32842
- data: data50
32922
+ data: data49
32843
32923
  }));
32844
32924
  };
32845
32925
  });
32846
32926
  var Axios_1 = Axios$1;
32927
+ function Cancel$1(message) {
32928
+ this.message = message;
32929
+ }
32930
+ Cancel$1.prototype.toString = function toString2() {
32931
+ return "Cancel" + (this.message ? ": " + this.message : "");
32932
+ };
32933
+ Cancel$1.prototype.__CANCEL__ = true;
32934
+ var Cancel_1 = Cancel$1;
32847
32935
  var Cancel = Cancel_1;
32848
32936
  function CancelToken(executor) {
32849
32937
  if (typeof executor !== "function") {
@@ -32854,27 +32942,6 @@ function CancelToken(executor) {
32854
32942
  resolvePromise = resolve;
32855
32943
  });
32856
32944
  var token = this;
32857
- this.promise.then(function(cancel2) {
32858
- if (!token._listeners)
32859
- return;
32860
- var i;
32861
- var l = token._listeners.length;
32862
- for (i = 0; i < l; i++) {
32863
- token._listeners[i](cancel2);
32864
- }
32865
- token._listeners = null;
32866
- });
32867
- this.promise.then = function(onfulfilled) {
32868
- var _resolve;
32869
- var promise = new Promise(function(resolve) {
32870
- token.subscribe(resolve);
32871
- _resolve = resolve;
32872
- }).then(onfulfilled);
32873
- promise.cancel = function reject() {
32874
- token.unsubscribe(_resolve);
32875
- };
32876
- return promise;
32877
- };
32878
32945
  executor(function cancel2(message) {
32879
32946
  if (token.reason) {
32880
32947
  return;
@@ -32888,26 +32955,6 @@ CancelToken.prototype.throwIfRequested = function throwIfRequested() {
32888
32955
  throw this.reason;
32889
32956
  }
32890
32957
  };
32891
- CancelToken.prototype.subscribe = function subscribe2(listener) {
32892
- if (this.reason) {
32893
- listener(this.reason);
32894
- return;
32895
- }
32896
- if (this._listeners) {
32897
- this._listeners.push(listener);
32898
- } else {
32899
- this._listeners = [listener];
32900
- }
32901
- };
32902
- CancelToken.prototype.unsubscribe = function unsubscribe(listener) {
32903
- if (!this._listeners) {
32904
- return;
32905
- }
32906
- var index2 = this._listeners.indexOf(listener);
32907
- if (index2 !== -1) {
32908
- this._listeners.splice(index2, 1);
32909
- }
32910
- };
32911
32958
  CancelToken.source = function source() {
32912
32959
  var cancel2;
32913
32960
  var token = new CancelToken(function executor(c) {
@@ -32937,17 +32984,16 @@ function createInstance(defaultConfig2) {
32937
32984
  var instance2 = bind2(Axios.prototype.request, context2);
32938
32985
  utils.extend(instance2, Axios.prototype, context2);
32939
32986
  utils.extend(instance2, context2);
32940
- instance2.create = function create(instanceConfig) {
32941
- return createInstance(mergeConfig2(defaultConfig2, instanceConfig));
32942
- };
32943
32987
  return instance2;
32944
32988
  }
32945
32989
  var axios$1 = createInstance(defaults);
32946
32990
  axios$1.Axios = Axios;
32991
+ axios$1.create = function create(instanceConfig) {
32992
+ return createInstance(mergeConfig2(axios$1.defaults, instanceConfig));
32993
+ };
32947
32994
  axios$1.Cancel = Cancel_1;
32948
32995
  axios$1.CancelToken = CancelToken_1;
32949
32996
  axios$1.isCancel = isCancel$1;
32950
- axios$1.VERSION = data49.version;
32951
32997
  axios$1.all = function all(promises) {
32952
32998
  return Promise.all(promises);
32953
32999
  };
@@ -33369,12 +33415,12 @@ var user = {
33369
33415
  commit2("setUserManageUnitId", userInfo.manageUnitId);
33370
33416
  return userInfo;
33371
33417
  }
33372
- const { data: data50 } = await getUserInfoApi();
33373
- commit2("setAvatar", data50.userAvater);
33374
- commit2("setUserName", data50.userName);
33375
- commit2("setUserManageUnitId", data50.manageUnitId);
33376
- setUserInfoCache(data50);
33377
- return data50;
33418
+ const { data: data49 } = await getUserInfoApi();
33419
+ commit2("setAvatar", data49.userAvater);
33420
+ commit2("setUserName", data49.userName);
33421
+ commit2("setUserManageUnitId", data49.manageUnitId);
33422
+ setUserInfoCache(data49);
33423
+ return data49;
33378
33424
  }
33379
33425
  }
33380
33426
  };
@@ -33556,8 +33602,8 @@ var app = {
33556
33602
  async getAppListData({ commit: commit2, getters }) {
33557
33603
  let appList = getters.getAppList;
33558
33604
  if (!appList.length) {
33559
- const { data: data50 = [] } = await getAppListApi();
33560
- appList = data50.filter((app2) => app2.basepath !== "/cmsadmin");
33605
+ const { data: data49 = [] } = await getAppListApi();
33606
+ appList = data49.filter((app2) => app2.basepath !== "/cmsadmin");
33561
33607
  commit2("setAppList", appList);
33562
33608
  }
33563
33609
  let appId = "";
@@ -33661,9 +33707,9 @@ var app = {
33661
33707
  },
33662
33708
  async getMyAppsList({ commit: commit2 }, payload) {
33663
33709
  try {
33664
- let { data: data50 } = await getIndexPreset(payload);
33665
- data50 = data50 || "[]";
33666
- commit2("setMyAppsList", data50);
33710
+ let { data: data49 } = await getIndexPreset(payload);
33711
+ data49 = data49 || "[]";
33712
+ commit2("setMyAppsList", data49);
33667
33713
  } catch (error) {
33668
33714
  console.error("getMyAppsList:", error);
33669
33715
  }
@@ -33689,8 +33735,8 @@ const install = function(Vue2, opts = { theme: "" }) {
33689
33735
  doChangeTheme(theme);
33690
33736
  if (location.pathname.includes("scyxweb")) {
33691
33737
  let url = location.protocol + "//" + location.host + "/hbwebchat/scyxweb/ind-mobile/manage/global?t=" + new Date().getTime();
33692
- axios$3.get(url).then((data50) => {
33693
- Vue2.prototype.$config = _.merge({}, Vue2.prototype.$config || {}, data50);
33738
+ axios$3.get(url).then((data49) => {
33739
+ Vue2.prototype.$config = _.merge({}, Vue2.prototype.$config || {}, data49);
33694
33740
  });
33695
33741
  }
33696
33742
  Vue2.ready = axios$3.get(`/user-manage-server/anon/system/qrySystemConfig`, { params: { deviceType: "11" } }).then((response) => {
@@ -33760,7 +33806,7 @@ if (typeof window !== "undefined" && window.Vue) {
33760
33806
  install(window.Vue);
33761
33807
  }
33762
33808
  const API = {
33763
- version: pkg.version,
33809
+ version: pkg$1.version,
33764
33810
  install,
33765
33811
  components,
33766
33812
  plugins,