@indfnd/common-mobile 1.0.39 → 1.0.41

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$1 = "@indfnd/common-mobile";
6
- const version$2 = "1.0.38";
7
- const author$1 = "huxuetong";
5
+ const name = "@indfnd/common-mobile";
6
+ const version$1 = "1.0.40";
7
+ const author = "huxuetong";
8
8
  const publishConfig = {
9
9
  registry: "https://registry.npmjs.org/"
10
10
  };
11
- const main$2 = "./dist/ind-common-mobile.umd.cjs";
11
+ const main$1 = "./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$1 = {
35
+ const scripts = {
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,13 +44,13 @@ const scripts$1 = {
44
44
  "release-patch": "standard-version --release-as patch",
45
45
  "re-publish": "yarn publish --access public"
46
46
  };
47
- const dependencies$1 = {
47
+ const dependencies = {
48
48
  classnames: "^2.5.1",
49
49
  vuedraggable: "^2.24.3"
50
50
  };
51
- const devDependencies$1 = {
51
+ const devDependencies = {
52
52
  lodash: "4.17.21",
53
- "@indfnd/utils": "^0.1.26",
53
+ "@indfnd/utils": "^0.1.36",
54
54
  eslint: "^3.19.0",
55
55
  "eslint-config-prettier": "^8.5.0",
56
56
  "eslint-plugin-prettier": "^4.2.1",
@@ -82,20 +82,20 @@ const devDependencies$1 = {
82
82
  const engines = {
83
83
  node: ">= 16"
84
84
  };
85
- var pkg$1 = {
86
- name: name$1,
87
- version: version$2,
88
- author: author$1,
85
+ var pkg = {
86
+ name,
87
+ version: version$1,
88
+ author,
89
89
  publishConfig,
90
- main: main$2,
90
+ main: main$1,
91
91
  module,
92
92
  style,
93
93
  types,
94
94
  exports,
95
95
  files,
96
- scripts: scripts$1,
97
- dependencies: dependencies$1,
98
- devDependencies: devDependencies$1,
96
+ scripts,
97
+ dependencies,
98
+ devDependencies,
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, data49) {
3822
+ setForm(table, data50) {
3823
3823
  let field = table.dataField;
3824
3824
  if (table.type == "form") {
3825
3825
  if (field) {
3826
- this.form[field] = data49;
3826
+ this.form[field] = data50;
3827
3827
  } else {
3828
- this.form = data49;
3828
+ this.form = data50;
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] == data49[rowKey];
3834
+ return d[rowKey] == data50[rowKey];
3835
3835
  });
3836
- _.merge(tmpRow, data49);
3836
+ _.merge(tmpRow, data50);
3837
3837
  this.form[field] = listTmp;
3838
3838
  }
3839
3839
  },
@@ -3956,6 +3956,7 @@ const __vue2_script$z = {
3956
3956
  apiParams: Object,
3957
3957
  cardFields: Array,
3958
3958
  enableLoadMore: Boolean,
3959
+ autoRefresh: Boolean,
3959
3960
  disablePage: {
3960
3961
  type: Boolean,
3961
3962
  default: true
@@ -3996,6 +3997,11 @@ const __vue2_script$z = {
3996
3997
  this.initConfig();
3997
3998
  this.initData();
3998
3999
  },
4000
+ activated() {
4001
+ if (this.autoRefresh) {
4002
+ this.initData();
4003
+ }
4004
+ },
3999
4005
  mounted() {
4000
4006
  var _a, _b, _c, _d, _e;
4001
4007
  this.bottomHeight = (((_d = (_c = (_b = (_a = this.$slots) == null ? void 0 : _a.bottom) == null ? void 0 : _b[0]) == null ? void 0 : _c.elm) == null ? void 0 : _d.clientHeight) || ((_e = this.$refs.bottomRef) == null ? void 0 : _e.clientHeight) || 0) + "px";
@@ -4115,12 +4121,12 @@ const __vue2_script$z = {
4115
4121
  params = this.renderParams(params);
4116
4122
  }
4117
4123
  const result = await this.dataApi(params);
4118
- let data49 = result.data.rows || result.data.records || [];
4124
+ let data50 = result.data.rows || result.data.records || [];
4119
4125
  if (this.disablePage && result.data instanceof Array) {
4120
- data49 = result.data;
4126
+ data50 = result.data;
4121
4127
  }
4122
- this.rows = [...this.rows, ...data49];
4123
- this.allData = [...this.allData, ...data49];
4128
+ this.rows = [...this.rows, ...data50];
4129
+ this.allData = [...this.allData, ...data50];
4124
4130
  this.pagination.offset += this.pagination.limit;
4125
4131
  this.currentPage++;
4126
4132
  this.isFinished = this.pagination.offset + this.pagination.limit >= this.pagination.total;
@@ -4223,13 +4229,13 @@ const __vue2_script$z = {
4223
4229
  params = this.renderParams(params);
4224
4230
  }
4225
4231
  const result = await this.dataApi(params);
4226
- let data49 = result.data.rows || result.data.records || [];
4232
+ let data50 = result.data.rows || result.data.records || [];
4227
4233
  if (this.disablePage && result.data instanceof Array) {
4228
- data49 = result.data;
4234
+ data50 = result.data;
4229
4235
  }
4230
- this.rows = data49;
4231
- this.allData = [...data49];
4232
- this.total = ((_a = result.data) == null ? void 0 : _a.total) || (this.disablePage ? (data49 == null ? void 0 : data49.length) || 0 : 0);
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);
4233
4239
  if (!this.disablePage) {
4234
4240
  this.pagination.total = this.total;
4235
4241
  this.isFinished = this.pagination.limit >= this.pagination.total;
@@ -5102,14 +5108,14 @@ function emit(context2, eventName) {
5102
5108
  }
5103
5109
  }
5104
5110
  }
5105
- function mount(Component, data49) {
5111
+ function mount(Component, data50) {
5106
5112
  var instance2 = new Vue$1({
5107
5113
  el: document.createElement("div"),
5108
5114
  props: Component.props,
5109
5115
  render: function render83(h) {
5110
5116
  return h(Component, _extends$2({
5111
5117
  props: this.$props
5112
- }, data49));
5118
+ }, data50));
5113
5119
  }
5114
5120
  });
5115
5121
  document.body.appendChild(instance2.$el);
@@ -5515,7 +5521,7 @@ function PopupMixin(options) {
5515
5521
  };
5516
5522
  },
5517
5523
  props: popupMixinProps,
5518
- data: function data49() {
5524
+ data: function data50() {
5519
5525
  this.onReopenCallback = [];
5520
5526
  return {
5521
5527
  inited: this.value
@@ -5967,11 +5973,11 @@ function ActionSheet(h, props, slots2, ctx) {
5967
5973
  }
5968
5974
  }
5969
5975
  function Description() {
5970
- var description2 = (slots2.description == null ? void 0 : slots2.description()) || props.description;
5971
- if (description2) {
5976
+ var description = (slots2.description == null ? void 0 : slots2.description()) || props.description;
5977
+ if (description) {
5972
5978
  return h("div", {
5973
5979
  "class": bem$1s("description")
5974
- }, [description2]);
5980
+ }, [description]);
5975
5981
  }
5976
5982
  }
5977
5983
  return h(Popup, _mergeJSXProps([{
@@ -6366,7 +6372,7 @@ var PickerColumn = createComponent$1A({
6366
6372
  var _domProps;
6367
6373
  var text = _this4.getOptionText(option2);
6368
6374
  var disabled = isOptionDisabled(option2);
6369
- var data49 = {
6375
+ var data50 = {
6370
6376
  style: optionStyle,
6371
6377
  attrs: {
6372
6378
  role: "button",
@@ -6386,7 +6392,7 @@ var PickerColumn = createComponent$1A({
6386
6392
  class: "van-ellipsis",
6387
6393
  domProps: (_domProps = {}, _domProps[_this4.allowHtml ? "innerHTML" : "textContent"] = text, _domProps)
6388
6394
  };
6389
- return h("li", _mergeJSXProps([{}, data49]), [_this4.slots("option", option2) || h("div", _mergeJSXProps([{}, childData]))]);
6395
+ return h("li", _mergeJSXProps([{}, data50]), [_this4.slots("option", option2) || h("div", _mergeJSXProps([{}, childData]))]);
6390
6396
  });
6391
6397
  }
6392
6398
  },
@@ -8190,7 +8196,7 @@ function ParentMixin(parent) {
8190
8196
  var _ref;
8191
8197
  return _ref = {}, _ref[parent] = this, _ref;
8192
8198
  },
8193
- data: function data49() {
8199
+ data: function data50() {
8194
8200
  return {
8195
8201
  children: []
8196
8202
  };
@@ -8456,7 +8462,7 @@ var VanDialog = createComponent$1r({
8456
8462
  var message = this.message, messageAlign = this.messageAlign;
8457
8463
  if (message) {
8458
8464
  var _bem, _domProps;
8459
- var data49 = {
8465
+ var data50 = {
8460
8466
  class: bem$1i("message", (_bem = {
8461
8467
  "has-title": hasTitle
8462
8468
  }, _bem[messageAlign] = messageAlign, _bem)),
@@ -8466,7 +8472,7 @@ var VanDialog = createComponent$1r({
8466
8472
  "class": bem$1i("content", {
8467
8473
  isolated: !hasTitle
8468
8474
  })
8469
- }, [h("div", _mergeJSXProps([{}, data49]))]);
8475
+ }, [h("div", _mergeJSXProps([{}, data50]))]);
8470
8476
  }
8471
8477
  }
8472
8478
  },
@@ -9055,7 +9061,7 @@ var AddressEdit = createComponent$1o({
9055
9061
  },
9056
9062
  render: function render12(h) {
9057
9063
  var _this5 = this;
9058
- var data49 = this.data, errorInfo = this.errorInfo, disableArea = this.disableArea, hideBottomFields2 = this.hideBottomFields;
9064
+ var data50 = this.data, errorInfo = this.errorInfo, disableArea = this.disableArea, hideBottomFields2 = this.hideBottomFields;
9059
9065
  var onFocus5 = function onFocus6(name2) {
9060
9066
  return function() {
9061
9067
  return _this5.onFocus(name2);
@@ -9076,9 +9082,9 @@ var AddressEdit = createComponent$1o({
9076
9082
  "focus": onFocus5("name")
9077
9083
  },
9078
9084
  "model": {
9079
- value: data49.name,
9085
+ value: data50.name,
9080
9086
  callback: function callback2($$v) {
9081
- _this5.$set(data49, "name", $$v);
9087
+ _this5.$set(data50, "name", $$v);
9082
9088
  }
9083
9089
  }
9084
9090
  }), h(Field, {
@@ -9094,9 +9100,9 @@ var AddressEdit = createComponent$1o({
9094
9100
  "focus": onFocus5("tel")
9095
9101
  },
9096
9102
  "model": {
9097
- value: data49.tel,
9103
+ value: data50.tel,
9098
9104
  callback: function callback2($$v) {
9099
- _this5.$set(data49, "tel", $$v);
9105
+ _this5.$set(data50, "tel", $$v);
9100
9106
  }
9101
9107
  }
9102
9108
  }), h(Field, {
@@ -9127,7 +9133,7 @@ var AddressEdit = createComponent$1o({
9127
9133
  }],
9128
9134
  "attrs": {
9129
9135
  "focused": this.detailFocused,
9130
- "value": data49.addressDetail,
9136
+ "value": data50.addressDetail,
9131
9137
  "errorMessage": errorInfo.addressDetail,
9132
9138
  "detailRows": this.detailRows,
9133
9139
  "detailMaxlength": this.detailMaxlength,
@@ -9158,9 +9164,9 @@ var AddressEdit = createComponent$1o({
9158
9164
  "focus": onFocus5("postalCode")
9159
9165
  },
9160
9166
  "model": {
9161
- value: data49.postalCode,
9167
+ value: data50.postalCode,
9162
9168
  callback: function callback2($$v) {
9163
- _this5.$set(data49, "postalCode", $$v);
9169
+ _this5.$set(data50, "postalCode", $$v);
9164
9170
  }
9165
9171
  }
9166
9172
  }), this.slots()]), this.genSetDefaultCell(h), h("div", {
@@ -9206,7 +9212,7 @@ var AddressEdit = createComponent$1o({
9206
9212
  }, [h(Area, {
9207
9213
  "ref": "area",
9208
9214
  "attrs": {
9209
- "value": data49.areaCode,
9215
+ "value": data50.areaCode,
9210
9216
  "loading": !this.areaListLoaded,
9211
9217
  "areaList": this.areaList,
9212
9218
  "columnsPlaceholder": this.areaColumnsPlaceholder
@@ -9488,16 +9494,16 @@ function AddressItem(h, props, slots2, ctx) {
9488
9494
  }
9489
9495
  }
9490
9496
  function genContent6() {
9491
- var data49 = props.data;
9497
+ var data50 = props.data;
9492
9498
  var Info2 = [h("div", {
9493
9499
  "class": bem$1b("name")
9494
- }, [data49.name + " " + data49.tel, genTag()]), h("div", {
9500
+ }, [data50.name + " " + data50.tel, genTag()]), h("div", {
9495
9501
  "class": bem$1b("address")
9496
- }, [data49.address])];
9502
+ }, [data50.address])];
9497
9503
  if (switchable && !disabled) {
9498
9504
  return h(Radio, {
9499
9505
  "attrs": {
9500
- "name": data49.id,
9506
+ "name": data50.id,
9501
9507
  "iconSize": 18
9502
9508
  }
9503
9509
  }, [Info2]);
@@ -12492,7 +12498,7 @@ var ContactEdit = createComponent$_({
12492
12498
  render: function render30() {
12493
12499
  var _this3 = this;
12494
12500
  var h = arguments[0];
12495
- var data49 = this.data, errorInfo = this.errorInfo;
12501
+ var data50 = this.data, errorInfo = this.errorInfo;
12496
12502
  var onFocus5 = function onFocus6(name2) {
12497
12503
  return function() {
12498
12504
  return _this3.onFocus(name2);
@@ -12514,9 +12520,9 @@ var ContactEdit = createComponent$_({
12514
12520
  "focus": onFocus5("name")
12515
12521
  },
12516
12522
  "model": {
12517
- value: data49.name,
12523
+ value: data50.name,
12518
12524
  callback: function callback2($$v) {
12519
- _this3.$set(data49, "name", $$v);
12525
+ _this3.$set(data50, "name", $$v);
12520
12526
  }
12521
12527
  }
12522
12528
  }), h(Field, {
@@ -12531,9 +12537,9 @@ var ContactEdit = createComponent$_({
12531
12537
  "focus": onFocus5("tel")
12532
12538
  },
12533
12539
  "model": {
12534
- value: data49.tel,
12540
+ value: data50.tel,
12535
12541
  callback: function callback2($$v) {
12536
- _this3.$set(data49, "tel", $$v);
12542
+ _this3.$set(data50, "tel", $$v);
12537
12543
  }
12538
12544
  }
12539
12545
  })]), this.showSetDefault && h(Cell$1, {
@@ -12553,9 +12559,9 @@ var ContactEdit = createComponent$_({
12553
12559
  }
12554
12560
  },
12555
12561
  "model": {
12556
- value: data49.isDefault,
12562
+ value: data50.isDefault,
12557
12563
  callback: function callback2($$v) {
12558
- _this3.$set(data49, "isDefault", $$v);
12564
+ _this3.$set(data50, "isDefault", $$v);
12559
12565
  }
12560
12566
  }
12561
12567
  })]), h("div", {
@@ -12917,7 +12923,7 @@ var Coupon = createComponent$X({
12917
12923
  render: function render32() {
12918
12924
  var h = arguments[0];
12919
12925
  var coupon = this.coupon, disabled = this.disabled;
12920
- var description2 = disabled && coupon.reason || coupon.description;
12926
+ var description = disabled && coupon.reason || coupon.description;
12921
12927
  return h("div", {
12922
12928
  "class": bem$Q({
12923
12929
  disabled
@@ -12946,9 +12952,9 @@ var Coupon = createComponent$X({
12946
12952
  "checkedColor": RED
12947
12953
  },
12948
12954
  "class": bem$Q("corner")
12949
- })])]), description2 && h("p", {
12955
+ })])]), description && h("p", {
12950
12956
  "class": bem$Q("description")
12951
- }, [description2])]);
12957
+ }, [description])]);
12952
12958
  }
12953
12959
  });
12954
12960
  var _createNamespace$S = createNamespace("coupon-cell"), createComponent$W = _createNamespace$S[0], bem$P = _createNamespace$S[1], t$e = _createNamespace$S[2];
@@ -13980,7 +13986,7 @@ var ClickOutsideMixin = function ClickOutsideMixin2(config2) {
13980
13986
  default: true
13981
13987
  }
13982
13988
  },
13983
- data: function data49() {
13989
+ data: function data50() {
13984
13990
  var _this = this;
13985
13991
  var clickOutsideHandler = function clickOutsideHandler2(event) {
13986
13992
  if (_this.closeOnClickOutside && !_this.$el.contains(event.target)) {
@@ -14334,11 +14340,11 @@ var Empty = createComponent$O({
14334
14340
  },
14335
14341
  genDescription: function genDescription() {
14336
14342
  var h = this.$createElement;
14337
- var description2 = this.slots("description") || this.description;
14338
- if (description2) {
14343
+ var description = this.slots("description") || this.description;
14344
+ if (description) {
14339
14345
  return h("p", {
14340
14346
  "class": bem$J("description")
14341
- }, [description2]);
14347
+ }, [description]);
14342
14348
  }
14343
14349
  },
14344
14350
  genBottom: function genBottom() {
@@ -15630,9 +15636,9 @@ var initInstance = function initInstance2() {
15630
15636
  instance$1.onChange(index2);
15631
15637
  }
15632
15638
  });
15633
- instance$1.$on("scale", function(data49) {
15639
+ instance$1.$on("scale", function(data50) {
15634
15640
  if (instance$1.onScale) {
15635
- instance$1.onScale(data49);
15641
+ instance$1.onScale(data50);
15636
15642
  }
15637
15643
  });
15638
15644
  };
@@ -17317,12 +17323,12 @@ var beforeRead = "beforeRead";
17317
17323
  var read = "read";
17318
17324
  var afterRead = "afterRead";
17319
17325
  var beforeMain = "beforeMain";
17320
- var main$1 = "main";
17326
+ var main = "main";
17321
17327
  var afterMain = "afterMain";
17322
17328
  var beforeWrite = "beforeWrite";
17323
17329
  var write = "write";
17324
17330
  var afterWrite = "afterWrite";
17325
- var modifierPhases = [beforeRead, read, afterRead, beforeMain, main$1, afterMain, beforeWrite, write, afterWrite];
17331
+ var modifierPhases = [beforeRead, read, afterRead, beforeMain, main, afterMain, beforeWrite, write, afterWrite];
17326
17332
  function order(modifiers) {
17327
17333
  var map = /* @__PURE__ */ new Map();
17328
17334
  var visited = /* @__PURE__ */ new Set();
@@ -17958,16 +17964,16 @@ function distanceAndSkiddingToXY(placement, rects, offset22) {
17958
17964
  function offset2(_ref2) {
17959
17965
  var state = _ref2.state, options = _ref2.options, name2 = _ref2.name;
17960
17966
  var _options$offset = options.offset, offset22 = _options$offset === void 0 ? [0, 0] : _options$offset;
17961
- var data49 = placements.reduce(function(acc, placement) {
17967
+ var data50 = placements.reduce(function(acc, placement) {
17962
17968
  acc[placement] = distanceAndSkiddingToXY(placement, state.rects, offset22);
17963
17969
  return acc;
17964
17970
  }, {});
17965
- var _data$state$placement = data49[state.placement], x = _data$state$placement.x, y = _data$state$placement.y;
17971
+ var _data$state$placement = data50[state.placement], x = _data$state$placement.x, y = _data$state$placement.y;
17966
17972
  if (state.modifiersData.popperOffsets != null) {
17967
17973
  state.modifiersData.popperOffsets.x += x;
17968
17974
  state.modifiersData.popperOffsets.y += y;
17969
17975
  }
17970
- state.modifiersData[name2] = data49;
17976
+ state.modifiersData[name2] = data50;
17971
17977
  }
17972
17978
  var offset_default = {
17973
17979
  name: "offset",
@@ -18845,17 +18851,17 @@ var ShareSheet = createComponent$p({
18845
18851
  genHeader: function genHeader() {
18846
18852
  var h = this.$createElement;
18847
18853
  var title4 = this.slots("title") || this.title;
18848
- var description2 = this.slots("description") || this.description;
18849
- if (!title4 && !description2) {
18854
+ var description = this.slots("description") || this.description;
18855
+ if (!title4 && !description) {
18850
18856
  return;
18851
18857
  }
18852
18858
  return h("div", {
18853
18859
  "class": bem$k("header")
18854
18860
  }, [title4 && h("h2", {
18855
18861
  "class": bem$k("title")
18856
- }, [title4]), description2 && h("span", {
18862
+ }, [title4]), description && h("span", {
18857
18863
  "class": bem$k("description")
18858
- }, [description2])]);
18864
+ }, [description])]);
18859
18865
  },
18860
18866
  genOptions: function genOptions2(options, showBorder) {
18861
18867
  var _this = this;
@@ -20218,9 +20224,9 @@ var Uploader = createComponent$e({
20218
20224
  return;
20219
20225
  }
20220
20226
  if (isPromise(response)) {
20221
- response.then(function(data49) {
20222
- if (data49) {
20223
- _this.readFile(data49);
20227
+ response.then(function(data50) {
20228
+ if (data50) {
20229
+ _this.readFile(data50);
20224
20230
  } else {
20225
20231
  _this.readFile(files2);
20226
20232
  }
@@ -20676,11 +20682,11 @@ var SkuDateTimeField = createComponent$c({
20676
20682
  this.showDatePicker = true;
20677
20683
  },
20678
20684
  onConfirm: function onConfirm4(val) {
20679
- var data49 = val;
20685
+ var data50 = val;
20680
20686
  if (this.type !== "time") {
20681
- data49 = dateToString(val, this.type);
20687
+ data50 = dateToString(val, this.type);
20682
20688
  }
20683
- this.$emit("input", data49);
20689
+ this.$emit("input", data50);
20684
20690
  this.showDatePicker = false;
20685
20691
  },
20686
20692
  onCancel: function onCancel3() {
@@ -21405,11 +21411,11 @@ var Sku = createComponent$9({
21405
21411
  }
21406
21412
  });
21407
21413
  },
21408
- onOverLimit: function onOverLimit2(data49) {
21409
- var action = data49.action, limitType = data49.limitType, quota = data49.quota, quotaUsed = data49.quotaUsed;
21414
+ onOverLimit: function onOverLimit2(data50) {
21415
+ var action = data50.action, limitType = data50.limitType, quota = data50.quota, quotaUsed = data50.quotaUsed;
21410
21416
  var handleOverLimit = this.customStepperConfig.handleOverLimit;
21411
21417
  if (handleOverLimit) {
21412
- handleOverLimit(data49);
21418
+ handleOverLimit(data50);
21413
21419
  return;
21414
21420
  }
21415
21421
  if (action === "minus") {
@@ -21430,8 +21436,8 @@ var Sku = createComponent$9({
21430
21436
  }
21431
21437
  }
21432
21438
  },
21433
- onStepperState: function onStepperState(data49) {
21434
- this.stepperError = data49.valid ? null : _extends$2({}, data49, {
21439
+ onStepperState: function onStepperState(data50) {
21440
+ this.stepperError = data50.valid ? null : _extends$2({}, data50, {
21435
21441
  action: "plus"
21436
21442
  });
21437
21443
  },
@@ -22987,10 +22993,10 @@ const __vue2_script$r = {
22987
22993
  }
22988
22994
  },
22989
22995
  methods: {
22990
- setLength(data49) {
22996
+ setLength(data50) {
22991
22997
  var _a;
22992
22998
  if (this.isTree) {
22993
- let dataTmp = (data49 == null ? void 0 : data49.data) || data49;
22999
+ let dataTmp = (data50 == null ? void 0 : data50.data) || data50;
22994
23000
  let leafNodes = [];
22995
23001
  deepEach({}, dataTmp, (d, p, idx) => {
22996
23002
  var _a2;
@@ -23000,7 +23006,7 @@ const __vue2_script$r = {
23000
23006
  });
23001
23007
  this.dataLen = (leafNodes == null ? void 0 : leafNodes.length) || 0;
23002
23008
  } else {
23003
- this.dataLen = (data49 == null ? void 0 : data49.length) || ((_a = data49 == null ? void 0 : data49.data) == null ? void 0 : _a.length);
23009
+ this.dataLen = (data50 == null ? void 0 : data50.length) || ((_a = data50 == null ? void 0 : data50.data) == null ? void 0 : _a.length);
23004
23010
  }
23005
23011
  },
23006
23012
  toggleCheckAll() {
@@ -23303,8 +23309,8 @@ const __vue2_script$q = {
23303
23309
  clearSelected() {
23304
23310
  this.selectedTitles = "";
23305
23311
  },
23306
- updateSearchNum(data49) {
23307
- this.searchNum = data49;
23312
+ updateSearchNum(data50) {
23313
+ this.searchNum = data50;
23308
23314
  },
23309
23315
  updateSelectedTitles() {
23310
23316
  var _a, _b, _c, _d, _e, _f, _g, _h;
@@ -24109,7 +24115,7 @@ function _iterableToArray(iter) {
24109
24115
  function _nonIterableSpread() {
24110
24116
  throw new TypeError("Invalid attempt to spread non-iterable instance");
24111
24117
  }
24112
- var version$1 = "1.10.2";
24118
+ var version = "1.10.2";
24113
24119
  function userAgent$1(pattern) {
24114
24120
  if (typeof window !== "undefined" && window.navigator) {
24115
24121
  return !!/* @__PURE__ */ navigator.userAgent.match(pattern);
@@ -24557,14 +24563,14 @@ function calculateRealTime(animatingRect, fromRect, toRect, options) {
24557
24563
  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;
24558
24564
  }
24559
24565
  var plugins$1 = [];
24560
- var defaults$4 = {
24566
+ var defaults$5 = {
24561
24567
  initializeByDefault: true
24562
24568
  };
24563
24569
  var PluginManager = {
24564
24570
  mount: function mount2(plugin) {
24565
- for (var option2 in defaults$4) {
24566
- if (defaults$4.hasOwnProperty(option2) && !(option2 in plugin)) {
24567
- plugin[option2] = defaults$4[option2];
24571
+ for (var option2 in defaults$5) {
24572
+ if (defaults$5.hasOwnProperty(option2) && !(option2 in plugin)) {
24573
+ plugin[option2] = defaults$5[option2];
24568
24574
  }
24569
24575
  }
24570
24576
  plugins$1.push(plugin);
@@ -24669,7 +24675,7 @@ function dispatchEvent(_ref) {
24669
24675
  }
24670
24676
  }
24671
24677
  var pluginEvent2 = function pluginEvent3(eventName, sortable) {
24672
- var _ref = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {}, originalEvent = _ref.evt, data49 = _objectWithoutProperties(_ref, ["evt"]);
24678
+ var _ref = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {}, originalEvent = _ref.evt, data50 = _objectWithoutProperties(_ref, ["evt"]);
24673
24679
  PluginManager.pluginEvent.bind(Sortable)(eventName, sortable, _objectSpread({
24674
24680
  dragEl,
24675
24681
  parentEl,
@@ -24702,7 +24708,7 @@ var pluginEvent2 = function pluginEvent3(eventName, sortable) {
24702
24708
  originalEvent
24703
24709
  });
24704
24710
  }
24705
- }, data49));
24711
+ }, data50));
24706
24712
  };
24707
24713
  function _dispatchEvent(info) {
24708
24714
  dispatchEvent(_objectSpread({
@@ -25886,7 +25892,7 @@ Sortable.mount = function() {
25886
25892
  Sortable.create = function(el, options) {
25887
25893
  return new Sortable(el, options);
25888
25894
  };
25889
- Sortable.version = version$1;
25895
+ Sortable.version = version;
25890
25896
  var autoScrolls = [], scrollEl, scrollRootEl, scrolling = false, lastAutoScrollX, lastAutoScrollY, touchEvt$1, pointerElemChangedInterval;
25891
25897
  function AutoScrollPlugin() {
25892
25898
  function AutoScroll() {
@@ -26204,15 +26210,15 @@ function MultiDragPlugin() {
26204
26210
  selectedClass: "sortable-selected",
26205
26211
  multiDragKey: null,
26206
26212
  setData: function setData(dataTransfer, dragEl2) {
26207
- var data49 = "";
26213
+ var data50 = "";
26208
26214
  if (multiDragElements.length && multiDragSortable === sortable) {
26209
26215
  multiDragElements.forEach(function(multiDragElement, i) {
26210
- data49 += (!i ? "" : ", ") + multiDragElement.textContent;
26216
+ data50 += (!i ? "" : ", ") + multiDragElement.textContent;
26211
26217
  });
26212
26218
  } else {
26213
- data49 = dragEl2.textContent;
26219
+ data50 = dragEl2.textContent;
26214
26220
  }
26215
- dataTransfer.setData("Text", data49);
26221
+ dataTransfer.setData("Text", data50);
26216
26222
  }
26217
26223
  };
26218
26224
  }
@@ -26673,10 +26679,10 @@ var sortable_esm = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.definePr
26673
26679
  Sortable,
26674
26680
  Swap: SwapPlugin
26675
26681
  }, Symbol.toStringTag, { value: "Module" }));
26676
- var require$$0$1 = /* @__PURE__ */ getAugmentedNamespace(sortable_esm);
26682
+ var require$$0 = /* @__PURE__ */ getAugmentedNamespace(sortable_esm);
26677
26683
  (function(module2, exports2) {
26678
26684
  (function webpackUniversalModuleDefinition(root2, factory) {
26679
- module2.exports = factory(require$$0$1);
26685
+ module2.exports = factory(require$$0);
26680
26686
  })(typeof self !== "undefined" ? self : commonjsGlobal, function(__WEBPACK_EXTERNAL_MODULE_a352__) {
26681
26687
  return function(modules) {
26682
26688
  var installedModules = {};
@@ -27051,7 +27057,7 @@ var require$$0$1 = /* @__PURE__ */ getAugmentedNamespace(sortable_esm);
27051
27057
  delete createDict[PROTOTYPE][enumBugKeys[i]];
27052
27058
  return createDict();
27053
27059
  };
27054
- module3.exports = Object.create || function create2(O, Properties) {
27060
+ module3.exports = Object.create || function create(O, Properties) {
27055
27061
  var result;
27056
27062
  if (O !== null) {
27057
27063
  Empty2[PROTOTYPE] = anObject(O);
@@ -27118,7 +27124,7 @@ var require$$0$1 = /* @__PURE__ */ getAugmentedNamespace(sortable_esm);
27118
27124
  };
27119
27125
  },
27120
27126
  "41a0": function(module3, exports3, __webpack_require__) {
27121
- var create2 = __webpack_require__("2aeb");
27127
+ var create = __webpack_require__("2aeb");
27122
27128
  var descriptor = __webpack_require__("4630");
27123
27129
  var setToStringTag = __webpack_require__("7f20");
27124
27130
  var IteratorPrototype = {};
@@ -27126,7 +27132,7 @@ var require$$0$1 = /* @__PURE__ */ getAugmentedNamespace(sortable_esm);
27126
27132
  return this;
27127
27133
  });
27128
27134
  module3.exports = function(Constructor, NAME, next2) {
27129
- Constructor.prototype = create2(IteratorPrototype, { next: descriptor(1, next2) });
27135
+ Constructor.prototype = create(IteratorPrototype, { next: descriptor(1, next2) });
27130
27136
  setToStringTag(Constructor, NAME + " Iterator");
27131
27137
  };
27132
27138
  },
@@ -28185,7 +28191,7 @@ var require$$0$1 = /* @__PURE__ */ getAugmentedNamespace(sortable_esm);
28185
28191
  name: "draggable",
28186
28192
  inheritAttrs: false,
28187
28193
  props,
28188
- data: function data49() {
28194
+ data: function data50() {
28189
28195
  return {
28190
28196
  transitionMode: false,
28191
28197
  noneFunctionalComponentMode: false
@@ -30381,9 +30387,9 @@ function getMaxDepth(obj, currentDepth = 1) {
30381
30387
  }
30382
30388
  return maxDepth;
30383
30389
  }
30384
- function calculateMaxDepth(data49) {
30390
+ function calculateMaxDepth(data50) {
30385
30391
  let maxDepth = 0;
30386
- for (const item2 of data49) {
30392
+ for (const item2 of data50) {
30387
30393
  const depth = getMaxDepth(item2);
30388
30394
  if (depth > maxDepth) {
30389
30395
  maxDepth = depth;
@@ -31199,7 +31205,7 @@ const __vue2_script = {
31199
31205
  },
31200
31206
  ossServerContext: {
31201
31207
  type: String,
31202
- default: (location.pathname.includes("scyxweb") ? "/scyxgateway" : "") + "/ind-uc-ext-server"
31208
+ default: "/user-manage-server"
31203
31209
  }
31204
31210
  },
31205
31211
  computed: {
@@ -31247,10 +31253,6 @@ const __vue2_script = {
31247
31253
  return { display: "none" };
31248
31254
  }
31249
31255
  const ossServerContext = this.ossServerContext;
31250
- if (!ossServerContext) {
31251
- console.error("ossServerContext \u672A\u914D\u7F6E");
31252
- return { display: "none" };
31253
- }
31254
31256
  return {
31255
31257
  backgroundImage: `url(${ossServerContext}/oss/file/get/${fileId})`,
31256
31258
  backgroundSize: this.size,
@@ -31922,7 +31924,8 @@ var enhanceError$2 = function enhanceError(error, config2, code2, request2, resp
31922
31924
  columnNumber: this.columnNumber,
31923
31925
  stack: this.stack,
31924
31926
  config: this.config,
31925
- code: this.code
31927
+ code: this.code,
31928
+ status: this.response && this.response.status ? this.response.status : null
31926
31929
  };
31927
31930
  };
31928
31931
  return error;
@@ -32078,6 +32081,14 @@ var isURLSameOrigin$1 = utils$7.isStandardBrowserEnv() ? function standardBrowse
32078
32081
  return true;
32079
32082
  };
32080
32083
  }();
32084
+ function Cancel$3(message) {
32085
+ this.message = message;
32086
+ }
32087
+ Cancel$3.prototype.toString = function toString2() {
32088
+ return "Cancel" + (this.message ? ": " + this.message : "");
32089
+ };
32090
+ Cancel$3.prototype.__CANCEL__ = true;
32091
+ var Cancel_1 = Cancel$3;
32081
32092
  var utils$6 = utils$d;
32082
32093
  var settle2 = settle$1;
32083
32094
  var cookies = cookies$1;
@@ -32086,11 +32097,22 @@ var buildFullPath2 = buildFullPath$1;
32086
32097
  var parseHeaders2 = parseHeaders$1;
32087
32098
  var isURLSameOrigin = isURLSameOrigin$1;
32088
32099
  var createError2 = createError$2;
32100
+ var defaults$4 = defaults_1;
32101
+ var Cancel$2 = Cancel_1;
32089
32102
  var xhr = function xhrAdapter(config2) {
32090
32103
  return new Promise(function dispatchXhrRequest(resolve, reject) {
32091
32104
  var requestData = config2.data;
32092
32105
  var requestHeaders = config2.headers;
32093
32106
  var responseType = config2.responseType;
32107
+ var onCanceled;
32108
+ function done() {
32109
+ if (config2.cancelToken) {
32110
+ config2.cancelToken.unsubscribe(onCanceled);
32111
+ }
32112
+ if (config2.signal) {
32113
+ config2.signal.removeEventListener("abort", onCanceled);
32114
+ }
32115
+ }
32094
32116
  if (utils$6.isFormData(requestData)) {
32095
32117
  delete requestHeaders["Content-Type"];
32096
32118
  }
@@ -32117,7 +32139,13 @@ var xhr = function xhrAdapter(config2) {
32117
32139
  config: config2,
32118
32140
  request: request2
32119
32141
  };
32120
- settle2(resolve, reject, response);
32142
+ settle2(function _resolve(value17) {
32143
+ resolve(value17);
32144
+ done();
32145
+ }, function _reject(err) {
32146
+ reject(err);
32147
+ done();
32148
+ }, response);
32121
32149
  request2 = null;
32122
32150
  }
32123
32151
  if ("onloadend" in request2) {
@@ -32145,14 +32173,15 @@ var xhr = function xhrAdapter(config2) {
32145
32173
  request2 = null;
32146
32174
  };
32147
32175
  request2.ontimeout = function handleTimeout() {
32148
- var timeoutErrorMessage = "timeout of " + config2.timeout + "ms exceeded";
32176
+ var timeoutErrorMessage = config2.timeout ? "timeout of " + config2.timeout + "ms exceeded" : "timeout exceeded";
32177
+ var transitional2 = config2.transitional || defaults$4.transitional;
32149
32178
  if (config2.timeoutErrorMessage) {
32150
32179
  timeoutErrorMessage = config2.timeoutErrorMessage;
32151
32180
  }
32152
32181
  reject(createError2(
32153
32182
  timeoutErrorMessage,
32154
32183
  config2,
32155
- config2.transitional && config2.transitional.clarifyTimeoutError ? "ETIMEDOUT" : "ECONNABORTED",
32184
+ transitional2.clarifyTimeoutError ? "ETIMEDOUT" : "ECONNABORTED",
32156
32185
  request2
32157
32186
  ));
32158
32187
  request2 = null;
@@ -32184,15 +32213,19 @@ var xhr = function xhrAdapter(config2) {
32184
32213
  if (typeof config2.onUploadProgress === "function" && request2.upload) {
32185
32214
  request2.upload.addEventListener("progress", config2.onUploadProgress);
32186
32215
  }
32187
- if (config2.cancelToken) {
32188
- config2.cancelToken.promise.then(function onCanceled(cancel2) {
32216
+ if (config2.cancelToken || config2.signal) {
32217
+ onCanceled = function(cancel2) {
32189
32218
  if (!request2) {
32190
32219
  return;
32191
32220
  }
32221
+ reject(!cancel2 || cancel2 && cancel2.type ? new Cancel$2("canceled") : cancel2);
32192
32222
  request2.abort();
32193
- reject(cancel2);
32194
32223
  request2 = null;
32195
- });
32224
+ };
32225
+ config2.cancelToken && config2.cancelToken.subscribe(onCanceled);
32226
+ if (config2.signal) {
32227
+ config2.signal.aborted ? onCanceled() : config2.signal.addEventListener("abort", onCanceled);
32228
+ }
32196
32229
  }
32197
32230
  if (!requestData) {
32198
32231
  requestData = null;
@@ -32240,33 +32273,33 @@ var defaults$3 = {
32240
32273
  clarifyTimeoutError: false
32241
32274
  },
32242
32275
  adapter: getDefaultAdapter(),
32243
- transformRequest: [function transformRequest(data49, headers) {
32276
+ transformRequest: [function transformRequest(data50, headers) {
32244
32277
  normalizeHeaderName2(headers, "Accept");
32245
32278
  normalizeHeaderName2(headers, "Content-Type");
32246
- 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)) {
32247
- return data49;
32279
+ 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)) {
32280
+ return data50;
32248
32281
  }
32249
- if (utils$5.isArrayBufferView(data49)) {
32250
- return data49.buffer;
32282
+ if (utils$5.isArrayBufferView(data50)) {
32283
+ return data50.buffer;
32251
32284
  }
32252
- if (utils$5.isURLSearchParams(data49)) {
32285
+ if (utils$5.isURLSearchParams(data50)) {
32253
32286
  setContentTypeIfUnset(headers, "application/x-www-form-urlencoded;charset=utf-8");
32254
- return data49.toString();
32287
+ return data50.toString();
32255
32288
  }
32256
- if (utils$5.isObject(data49) || headers && headers["Content-Type"] === "application/json") {
32289
+ if (utils$5.isObject(data50) || headers && headers["Content-Type"] === "application/json") {
32257
32290
  setContentTypeIfUnset(headers, "application/json");
32258
- return stringifySafely(data49);
32291
+ return stringifySafely(data50);
32259
32292
  }
32260
- return data49;
32293
+ return data50;
32261
32294
  }],
32262
- transformResponse: [function transformResponse(data49) {
32263
- var transitional2 = this.transitional;
32295
+ transformResponse: [function transformResponse(data50) {
32296
+ var transitional2 = this.transitional || defaults$3.transitional;
32264
32297
  var silentJSONParsing = transitional2 && transitional2.silentJSONParsing;
32265
32298
  var forcedJSONParsing = transitional2 && transitional2.forcedJSONParsing;
32266
32299
  var strictJSONParsing = !silentJSONParsing && this.responseType === "json";
32267
- if (strictJSONParsing || forcedJSONParsing && utils$5.isString(data49) && data49.length) {
32300
+ if (strictJSONParsing || forcedJSONParsing && utils$5.isString(data50) && data50.length) {
32268
32301
  try {
32269
- return JSON.parse(data49);
32302
+ return JSON.parse(data50);
32270
32303
  } catch (e) {
32271
32304
  if (strictJSONParsing) {
32272
32305
  if (e.name === "SyntaxError") {
@@ -32276,7 +32309,7 @@ var defaults$3 = {
32276
32309
  }
32277
32310
  }
32278
32311
  }
32279
- return data49;
32312
+ return data50;
32280
32313
  }],
32281
32314
  timeout: 0,
32282
32315
  xsrfCookieName: "XSRF-TOKEN",
@@ -32285,11 +32318,11 @@ var defaults$3 = {
32285
32318
  maxBodyLength: -1,
32286
32319
  validateStatus: function validateStatus(status2) {
32287
32320
  return status2 >= 200 && status2 < 300;
32288
- }
32289
- };
32290
- defaults$3.headers = {
32291
- common: {
32292
- "Accept": "application/json, text/plain, */*"
32321
+ },
32322
+ headers: {
32323
+ common: {
32324
+ "Accept": "application/json, text/plain, */*"
32325
+ }
32293
32326
  }
32294
32327
  };
32295
32328
  utils$5.forEach(["delete", "get", "head"], function forEachMethodNoData(method) {
@@ -32301,12 +32334,12 @@ utils$5.forEach(["post", "put", "patch"], function forEachMethodWithData(method)
32301
32334
  var defaults_1 = defaults$3;
32302
32335
  var utils$4 = utils$d;
32303
32336
  var defaults$2 = defaults_1;
32304
- var transformData$1 = function transformData(data49, headers, fns) {
32337
+ var transformData$1 = function transformData(data50, headers, fns) {
32305
32338
  var context2 = this || defaults$2;
32306
32339
  utils$4.forEach(fns, function transform(fn2) {
32307
- data49 = fn2.call(context2, data49, headers);
32340
+ data50 = fn2.call(context2, data50, headers);
32308
32341
  });
32309
- return data49;
32342
+ return data50;
32310
32343
  };
32311
32344
  var isCancel$1 = function isCancel(value17) {
32312
32345
  return !!(value17 && value17.__CANCEL__);
@@ -32315,10 +32348,14 @@ var utils$3 = utils$d;
32315
32348
  var transformData2 = transformData$1;
32316
32349
  var isCancel2 = isCancel$1;
32317
32350
  var defaults$1 = defaults_1;
32351
+ var Cancel$1 = Cancel_1;
32318
32352
  function throwIfCancellationRequested(config2) {
32319
32353
  if (config2.cancelToken) {
32320
32354
  config2.cancelToken.throwIfRequested();
32321
32355
  }
32356
+ if (config2.signal && config2.signal.aborted) {
32357
+ throw new Cancel$1("canceled");
32358
+ }
32322
32359
  }
32323
32360
  var dispatchRequest$1 = function dispatchRequest(config2) {
32324
32361
  throwIfCancellationRequested(config2);
@@ -32369,34 +32406,6 @@ var utils$2 = utils$d;
32369
32406
  var mergeConfig$2 = function mergeConfig(config1, config2) {
32370
32407
  config2 = config2 || {};
32371
32408
  var config3 = {};
32372
- var valueFromConfig2Keys = ["url", "method", "data"];
32373
- var mergeDeepPropertiesKeys = ["headers", "auth", "proxy", "params"];
32374
- var defaultToConfig2Keys = [
32375
- "baseURL",
32376
- "transformRequest",
32377
- "transformResponse",
32378
- "paramsSerializer",
32379
- "timeout",
32380
- "timeoutMessage",
32381
- "withCredentials",
32382
- "adapter",
32383
- "responseType",
32384
- "xsrfCookieName",
32385
- "xsrfHeaderName",
32386
- "onUploadProgress",
32387
- "onDownloadProgress",
32388
- "decompress",
32389
- "maxContentLength",
32390
- "maxBodyLength",
32391
- "maxRedirects",
32392
- "transport",
32393
- "httpAgent",
32394
- "httpsAgent",
32395
- "cancelToken",
32396
- "socketPath",
32397
- "responseEncoding"
32398
- ];
32399
- var directMergeKeys = ["validateStatus"];
32400
32409
  function getMergedValue(target2, source2) {
32401
32410
  if (utils$2.isPlainObject(target2) && utils$2.isPlainObject(source2)) {
32402
32411
  return utils$2.merge(target2, source2);
@@ -32409,141 +32418,69 @@ var mergeConfig$2 = function mergeConfig(config1, config2) {
32409
32418
  }
32410
32419
  function mergeDeepProperties(prop) {
32411
32420
  if (!utils$2.isUndefined(config2[prop])) {
32412
- config3[prop] = getMergedValue(config1[prop], config2[prop]);
32421
+ return getMergedValue(config1[prop], config2[prop]);
32413
32422
  } else if (!utils$2.isUndefined(config1[prop])) {
32414
- config3[prop] = getMergedValue(void 0, config1[prop]);
32423
+ return getMergedValue(void 0, config1[prop]);
32415
32424
  }
32416
32425
  }
32417
- utils$2.forEach(valueFromConfig2Keys, function valueFromConfig2(prop) {
32426
+ function valueFromConfig2(prop) {
32418
32427
  if (!utils$2.isUndefined(config2[prop])) {
32419
- config3[prop] = getMergedValue(void 0, config2[prop]);
32428
+ return getMergedValue(void 0, config2[prop]);
32420
32429
  }
32421
- });
32422
- utils$2.forEach(mergeDeepPropertiesKeys, mergeDeepProperties);
32423
- utils$2.forEach(defaultToConfig2Keys, function defaultToConfig2(prop) {
32430
+ }
32431
+ function defaultToConfig2(prop) {
32424
32432
  if (!utils$2.isUndefined(config2[prop])) {
32425
- config3[prop] = getMergedValue(void 0, config2[prop]);
32433
+ return getMergedValue(void 0, config2[prop]);
32426
32434
  } else if (!utils$2.isUndefined(config1[prop])) {
32427
- config3[prop] = getMergedValue(void 0, config1[prop]);
32435
+ return getMergedValue(void 0, config1[prop]);
32428
32436
  }
32429
- });
32430
- utils$2.forEach(directMergeKeys, function merge2(prop) {
32437
+ }
32438
+ function mergeDirectKeys(prop) {
32431
32439
  if (prop in config2) {
32432
- config3[prop] = getMergedValue(config1[prop], config2[prop]);
32440
+ return getMergedValue(config1[prop], config2[prop]);
32433
32441
  } else if (prop in config1) {
32434
- config3[prop] = getMergedValue(void 0, config1[prop]);
32435
- }
32436
- });
32437
- var axiosKeys = valueFromConfig2Keys.concat(mergeDeepPropertiesKeys).concat(defaultToConfig2Keys).concat(directMergeKeys);
32438
- var otherKeys = Object.keys(config1).concat(Object.keys(config2)).filter(function filterAxiosKeys(key) {
32439
- return axiosKeys.indexOf(key) === -1;
32442
+ return getMergedValue(void 0, config1[prop]);
32443
+ }
32444
+ }
32445
+ var mergeMap = {
32446
+ "url": valueFromConfig2,
32447
+ "method": valueFromConfig2,
32448
+ "data": valueFromConfig2,
32449
+ "baseURL": defaultToConfig2,
32450
+ "transformRequest": defaultToConfig2,
32451
+ "transformResponse": defaultToConfig2,
32452
+ "paramsSerializer": defaultToConfig2,
32453
+ "timeout": defaultToConfig2,
32454
+ "timeoutMessage": defaultToConfig2,
32455
+ "withCredentials": defaultToConfig2,
32456
+ "adapter": defaultToConfig2,
32457
+ "responseType": defaultToConfig2,
32458
+ "xsrfCookieName": defaultToConfig2,
32459
+ "xsrfHeaderName": defaultToConfig2,
32460
+ "onUploadProgress": defaultToConfig2,
32461
+ "onDownloadProgress": defaultToConfig2,
32462
+ "decompress": defaultToConfig2,
32463
+ "maxContentLength": defaultToConfig2,
32464
+ "maxBodyLength": defaultToConfig2,
32465
+ "transport": defaultToConfig2,
32466
+ "httpAgent": defaultToConfig2,
32467
+ "httpsAgent": defaultToConfig2,
32468
+ "cancelToken": defaultToConfig2,
32469
+ "socketPath": defaultToConfig2,
32470
+ "responseEncoding": defaultToConfig2,
32471
+ "validateStatus": mergeDirectKeys
32472
+ };
32473
+ utils$2.forEach(Object.keys(config1).concat(Object.keys(config2)), function computeConfigValue(prop) {
32474
+ var merge2 = mergeMap[prop] || mergeDeepProperties;
32475
+ var configValue = merge2(prop);
32476
+ utils$2.isUndefined(configValue) && merge2 !== mergeDirectKeys || (config3[prop] = configValue);
32440
32477
  });
32441
- utils$2.forEach(otherKeys, mergeDeepProperties);
32442
32478
  return config3;
32443
32479
  };
32444
- const name = "axios";
32445
- const version = "0.21.4";
32446
- const description = "Promise based HTTP client for the browser and node.js";
32447
- const main = "index.js";
32448
- const scripts = {
32449
- test: "grunt test",
32450
- start: "node ./sandbox/server.js",
32451
- build: "NODE_ENV=production grunt build",
32452
- preversion: "npm test",
32453
- version: "npm run build && grunt version && git add -A dist && git add CHANGELOG.md bower.json package.json",
32454
- postversion: "git push && git push --tags",
32455
- examples: "node ./examples/server.js",
32456
- coveralls: "cat coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js",
32457
- fix: "eslint --fix lib/**/*.js"
32458
- };
32459
- const repository = {
32460
- type: "git",
32461
- url: "https://github.com/axios/axios.git"
32462
- };
32463
- const keywords = [
32464
- "xhr",
32465
- "http",
32466
- "ajax",
32467
- "promise",
32468
- "node"
32469
- ];
32470
- const author = "Matt Zabriskie";
32471
- const license = "MIT";
32472
- const bugs = {
32473
- url: "https://github.com/axios/axios/issues"
32480
+ var data49 = {
32481
+ "version": "0.24.0"
32474
32482
  };
32475
- const homepage = "https://axios-http.com";
32476
- const devDependencies = {
32477
- coveralls: "^3.0.0",
32478
- "es6-promise": "^4.2.4",
32479
- grunt: "^1.3.0",
32480
- "grunt-banner": "^0.6.0",
32481
- "grunt-cli": "^1.2.0",
32482
- "grunt-contrib-clean": "^1.1.0",
32483
- "grunt-contrib-watch": "^1.0.0",
32484
- "grunt-eslint": "^23.0.0",
32485
- "grunt-karma": "^4.0.0",
32486
- "grunt-mocha-test": "^0.13.3",
32487
- "grunt-ts": "^6.0.0-beta.19",
32488
- "grunt-webpack": "^4.0.2",
32489
- "istanbul-instrumenter-loader": "^1.0.0",
32490
- "jasmine-core": "^2.4.1",
32491
- karma: "^6.3.2",
32492
- "karma-chrome-launcher": "^3.1.0",
32493
- "karma-firefox-launcher": "^2.1.0",
32494
- "karma-jasmine": "^1.1.1",
32495
- "karma-jasmine-ajax": "^0.1.13",
32496
- "karma-safari-launcher": "^1.0.0",
32497
- "karma-sauce-launcher": "^4.3.6",
32498
- "karma-sinon": "^1.0.5",
32499
- "karma-sourcemap-loader": "^0.3.8",
32500
- "karma-webpack": "^4.0.2",
32501
- "load-grunt-tasks": "^3.5.2",
32502
- minimist: "^1.2.0",
32503
- mocha: "^8.2.1",
32504
- sinon: "^4.5.0",
32505
- "terser-webpack-plugin": "^4.2.3",
32506
- typescript: "^4.0.5",
32507
- "url-search-params": "^0.10.0",
32508
- webpack: "^4.44.2",
32509
- "webpack-dev-server": "^3.11.0"
32510
- };
32511
- const browser = {
32512
- "./lib/adapters/http.js": "./lib/adapters/xhr.js"
32513
- };
32514
- const jsdelivr = "dist/axios.min.js";
32515
- const unpkg = "dist/axios.min.js";
32516
- const typings = "./index.d.ts";
32517
- const dependencies = {
32518
- "follow-redirects": "^1.14.0"
32519
- };
32520
- const bundlesize = [
32521
- {
32522
- path: "./dist/axios.min.js",
32523
- threshold: "5kB"
32524
- }
32525
- ];
32526
- var require$$0 = {
32527
- name,
32528
- version,
32529
- description,
32530
- main,
32531
- scripts,
32532
- repository,
32533
- keywords,
32534
- author,
32535
- license,
32536
- bugs,
32537
- homepage,
32538
- devDependencies,
32539
- browser,
32540
- jsdelivr,
32541
- unpkg,
32542
- typings,
32543
- dependencies,
32544
- bundlesize
32545
- };
32546
- var pkg = require$$0;
32483
+ var VERSION = data49.version;
32547
32484
  var validators$1 = {};
32548
32485
  ["object", "boolean", "number", "function", "string", "symbol"].forEach(function(type2, i) {
32549
32486
  validators$1[type2] = function validator4(thing) {
@@ -32551,29 +32488,15 @@ var validators$1 = {};
32551
32488
  };
32552
32489
  });
32553
32490
  var deprecatedWarnings = {};
32554
- var currentVerArr = pkg.version.split(".");
32555
- function isOlderVersion(version2, thanVersion) {
32556
- var pkgVersionArr = thanVersion ? thanVersion.split(".") : currentVerArr;
32557
- var destVer = version2.split(".");
32558
- for (var i = 0; i < 3; i++) {
32559
- if (pkgVersionArr[i] > destVer[i]) {
32560
- return true;
32561
- } else if (pkgVersionArr[i] < destVer[i]) {
32562
- return false;
32563
- }
32564
- }
32565
- return false;
32566
- }
32567
32491
  validators$1.transitional = function transitional(validator4, version2, message) {
32568
- var isDeprecated = version2 && isOlderVersion(version2);
32569
32492
  function formatMessage(opt, desc) {
32570
- return "[Axios v" + pkg.version + "] Transitional option '" + opt + "'" + desc + (message ? ". " + message : "");
32493
+ return "[Axios v" + VERSION + "] Transitional option '" + opt + "'" + desc + (message ? ". " + message : "");
32571
32494
  }
32572
32495
  return function(value17, opt, opts) {
32573
32496
  if (validator4 === false) {
32574
- throw new Error(formatMessage(opt, " has been removed in " + version2));
32497
+ throw new Error(formatMessage(opt, " has been removed" + (version2 ? " in " + version2 : "")));
32575
32498
  }
32576
- if (isDeprecated && !deprecatedWarnings[opt]) {
32499
+ if (version2 && !deprecatedWarnings[opt]) {
32577
32500
  deprecatedWarnings[opt] = true;
32578
32501
  console.warn(
32579
32502
  formatMessage(
@@ -32608,7 +32531,6 @@ function assertOptions(options, schema, allowUnknown) {
32608
32531
  }
32609
32532
  }
32610
32533
  var validator$1 = {
32611
- isOlderVersion,
32612
32534
  assertOptions,
32613
32535
  validators: validators$1
32614
32536
  };
@@ -32644,9 +32566,9 @@ Axios$1.prototype.request = function request(config2) {
32644
32566
  var transitional2 = config2.transitional;
32645
32567
  if (transitional2 !== void 0) {
32646
32568
  validator3.assertOptions(transitional2, {
32647
- silentJSONParsing: validators.transitional(validators.boolean, "1.0.0"),
32648
- forcedJSONParsing: validators.transitional(validators.boolean, "1.0.0"),
32649
- clarifyTimeoutError: validators.transitional(validators.boolean, "1.0.0")
32569
+ silentJSONParsing: validators.transitional(validators.boolean),
32570
+ forcedJSONParsing: validators.transitional(validators.boolean),
32571
+ clarifyTimeoutError: validators.transitional(validators.boolean)
32650
32572
  }, false);
32651
32573
  }
32652
32574
  var requestInterceptorChain = [];
@@ -32708,23 +32630,15 @@ utils$1.forEach(["delete", "get", "head", "options"], function forEachMethodNoDa
32708
32630
  };
32709
32631
  });
32710
32632
  utils$1.forEach(["post", "put", "patch"], function forEachMethodWithData2(method) {
32711
- Axios$1.prototype[method] = function(url, data49, config2) {
32633
+ Axios$1.prototype[method] = function(url, data50, config2) {
32712
32634
  return this.request(mergeConfig$1(config2 || {}, {
32713
32635
  method,
32714
32636
  url,
32715
- data: data49
32637
+ data: data50
32716
32638
  }));
32717
32639
  };
32718
32640
  });
32719
32641
  var Axios_1 = Axios$1;
32720
- function Cancel$1(message) {
32721
- this.message = message;
32722
- }
32723
- Cancel$1.prototype.toString = function toString2() {
32724
- return "Cancel" + (this.message ? ": " + this.message : "");
32725
- };
32726
- Cancel$1.prototype.__CANCEL__ = true;
32727
- var Cancel_1 = Cancel$1;
32728
32642
  var Cancel = Cancel_1;
32729
32643
  function CancelToken(executor) {
32730
32644
  if (typeof executor !== "function") {
@@ -32735,6 +32649,27 @@ function CancelToken(executor) {
32735
32649
  resolvePromise = resolve;
32736
32650
  });
32737
32651
  var token = this;
32652
+ this.promise.then(function(cancel2) {
32653
+ if (!token._listeners)
32654
+ return;
32655
+ var i;
32656
+ var l = token._listeners.length;
32657
+ for (i = 0; i < l; i++) {
32658
+ token._listeners[i](cancel2);
32659
+ }
32660
+ token._listeners = null;
32661
+ });
32662
+ this.promise.then = function(onfulfilled) {
32663
+ var _resolve;
32664
+ var promise = new Promise(function(resolve) {
32665
+ token.subscribe(resolve);
32666
+ _resolve = resolve;
32667
+ }).then(onfulfilled);
32668
+ promise.cancel = function reject() {
32669
+ token.unsubscribe(_resolve);
32670
+ };
32671
+ return promise;
32672
+ };
32738
32673
  executor(function cancel2(message) {
32739
32674
  if (token.reason) {
32740
32675
  return;
@@ -32748,6 +32683,26 @@ CancelToken.prototype.throwIfRequested = function throwIfRequested() {
32748
32683
  throw this.reason;
32749
32684
  }
32750
32685
  };
32686
+ CancelToken.prototype.subscribe = function subscribe2(listener) {
32687
+ if (this.reason) {
32688
+ listener(this.reason);
32689
+ return;
32690
+ }
32691
+ if (this._listeners) {
32692
+ this._listeners.push(listener);
32693
+ } else {
32694
+ this._listeners = [listener];
32695
+ }
32696
+ };
32697
+ CancelToken.prototype.unsubscribe = function unsubscribe(listener) {
32698
+ if (!this._listeners) {
32699
+ return;
32700
+ }
32701
+ var index2 = this._listeners.indexOf(listener);
32702
+ if (index2 !== -1) {
32703
+ this._listeners.splice(index2, 1);
32704
+ }
32705
+ };
32751
32706
  CancelToken.source = function source() {
32752
32707
  var cancel2;
32753
32708
  var token = new CancelToken(function executor(c) {
@@ -32777,16 +32732,17 @@ function createInstance(defaultConfig2) {
32777
32732
  var instance2 = bind2(Axios.prototype.request, context2);
32778
32733
  utils.extend(instance2, Axios.prototype, context2);
32779
32734
  utils.extend(instance2, context2);
32735
+ instance2.create = function create(instanceConfig) {
32736
+ return createInstance(mergeConfig2(defaultConfig2, instanceConfig));
32737
+ };
32780
32738
  return instance2;
32781
32739
  }
32782
32740
  var axios$1 = createInstance(defaults);
32783
32741
  axios$1.Axios = Axios;
32784
- axios$1.create = function create(instanceConfig) {
32785
- return createInstance(mergeConfig2(axios$1.defaults, instanceConfig));
32786
- };
32787
32742
  axios$1.Cancel = Cancel_1;
32788
32743
  axios$1.CancelToken = CancelToken_1;
32789
32744
  axios$1.isCancel = isCancel$1;
32745
+ axios$1.VERSION = data49.version;
32790
32746
  axios$1.all = function all(promises) {
32791
32747
  return Promise.all(promises);
32792
32748
  };
@@ -33197,12 +33153,12 @@ var user = {
33197
33153
  commit2("setUserManageUnitId", userInfo.manageUnitId);
33198
33154
  return userInfo;
33199
33155
  }
33200
- const { data: data49 } = await getUserInfoApi();
33201
- commit2("setAvatar", data49.userAvater);
33202
- commit2("setUserName", data49.userName);
33203
- commit2("setUserManageUnitId", data49.manageUnitId);
33204
- setUserInfoCache(data49);
33205
- return data49;
33156
+ const { data: data50 } = await getUserInfoApi();
33157
+ commit2("setAvatar", data50.userAvater);
33158
+ commit2("setUserName", data50.userName);
33159
+ commit2("setUserManageUnitId", data50.manageUnitId);
33160
+ setUserInfoCache(data50);
33161
+ return data50;
33206
33162
  }
33207
33163
  }
33208
33164
  };
@@ -33397,8 +33353,8 @@ var app = {
33397
33353
  async getAppListData({ commit: commit2, getters }) {
33398
33354
  let appList = getters.getAppList;
33399
33355
  if (!appList.length) {
33400
- const { data: data49 = [] } = await getAppListApi();
33401
- appList = data49.filter((app2) => app2.basepath !== "/cmsadmin");
33356
+ const { data: data50 = [] } = await getAppListApi();
33357
+ appList = data50.filter((app2) => app2.basepath !== "/cmsadmin");
33402
33358
  commit2("setAppList", appList);
33403
33359
  }
33404
33360
  let appId = "";
@@ -33502,9 +33458,9 @@ var app = {
33502
33458
  },
33503
33459
  async getMyAppsList({ commit: commit2 }, payload) {
33504
33460
  try {
33505
- let { data: data49 } = await getIndexPreset(payload);
33506
- data49 = data49 || "[]";
33507
- commit2("setMyAppsList", data49);
33461
+ let { data: data50 } = await getIndexPreset(payload);
33462
+ data50 = data50 || "[]";
33463
+ commit2("setMyAppsList", data50);
33508
33464
  } catch (error) {
33509
33465
  console.error("getMyAppsList:", error);
33510
33466
  }
@@ -33531,8 +33487,8 @@ const install = function(Vue2, opts = { theme: "" }) {
33531
33487
  doChangeTheme(theme);
33532
33488
  if (location.pathname.includes("scyxweb")) {
33533
33489
  let url = location.protocol + "//" + location.host + "/hbwebchat/scyxweb/ind-mobile/manage/global?t=" + new Date().getTime();
33534
- axios$3.get(url).then((data49) => {
33535
- Vue2.prototype.$config = _.merge({}, Vue2.prototype.$config || {}, data49);
33490
+ axios$3.get(url).then((data50) => {
33491
+ Vue2.prototype.$config = _.merge({}, Vue2.prototype.$config || {}, data50);
33536
33492
  });
33537
33493
  }
33538
33494
  if (!((_a = Vue2.prototype.$config) == null ? void 0 : _a.systemDefaultConfig)) {
@@ -33594,7 +33550,7 @@ if (typeof window !== "undefined" && window.Vue) {
33594
33550
  install(window.Vue);
33595
33551
  }
33596
33552
  const API = {
33597
- version: pkg$1.version,
33553
+ version: pkg.version,
33598
33554
  install,
33599
33555
  components,
33600
33556
  plugins,