@indfnd/utils 0.1.33 → 0.1.36

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.
Files changed (53) hide show
  1. package/CHANGELOG.md +17 -0
  2. package/dist/ind-utils.es.js +247 -160
  3. package/dist/ind-utils.umd.cjs +21 -21
  4. package/global.d.ts +1 -0
  5. package/package.json +1 -1
  6. package/src/api/com.ts +5 -2
  7. package/src/api/item.ts +9 -4
  8. package/src/api/platform/oss.ts +255 -1
  9. package/types/api/com.d.ts.map +1 -1
  10. package/types/api/index.d.ts +7 -7
  11. package/types/api/item.d.ts.map +1 -1
  12. package/types/api/permission.d.ts +2 -2
  13. package/types/api/platform/base64.d.ts +5 -5
  14. package/types/api/platform/config.d.ts +2 -2
  15. package/types/api/platform/index.d.ts +6 -6
  16. package/types/api/platform/oss.d.ts +8 -0
  17. package/types/api/platform/oss.d.ts.map +1 -1
  18. package/types/api/user.d.ts +2 -2
  19. package/types/config/base.config.d.ts +33 -33
  20. package/types/config/dev.config.d.ts +3 -3
  21. package/types/config/index.d.ts +6 -6
  22. package/types/config/prod.config.d.ts +3 -3
  23. package/types/index.d.ts +4 -4
  24. package/types/utils/base64.d.ts +22 -22
  25. package/types/utils/blob.d.ts +3 -3
  26. package/types/utils/cache/dict-cache.d.ts +3 -3
  27. package/types/utils/cache/index-desc.d.ts +4 -4
  28. package/types/utils/cache/index.d.ts +4 -4
  29. package/types/utils/cache/permission-cache.d.ts +4 -4
  30. package/types/utils/cache/user-cache.d.ts +4 -4
  31. package/types/utils/date.d.ts +4 -4
  32. package/types/utils/enum.d.ts +43 -39
  33. package/types/utils/event.d.ts +13 -5
  34. package/types/utils/excel.d.ts +4 -4
  35. package/types/utils/half-year.d.ts +6 -6
  36. package/types/utils/index.d.ts +20 -20
  37. package/types/utils/is-type.d.ts +33 -33
  38. package/types/utils/mime-type.d.ts +67 -67
  39. package/types/utils/number.d.ts +8 -8
  40. package/types/utils/quarter.d.ts +7 -7
  41. package/types/utils/request/axios.extends.d.ts +18 -6
  42. package/types/utils/request/cache-rules.d.ts +3 -3
  43. package/types/utils/request/content-type.d.ts +9 -9
  44. package/types/utils/request/index.d.ts +16 -13
  45. package/types/utils/request/interceptors.d.ts +4 -4
  46. package/types/utils/request/url-params.d.ts +6 -6
  47. package/types/utils/sm3/index.d.ts +6 -6
  48. package/types/utils/sm3/sm3.d.ts +3 -3
  49. package/types/utils/storage.d.ts +8 -8
  50. package/types/utils/table.d.ts +40 -31
  51. package/types/utils/token.d.ts +3 -3
  52. package/types/utils/uuid.d.ts +4 -4
  53. package/types/utils/validate.d.ts +5 -5
@@ -2490,7 +2490,7 @@ var compactQueue = function compactQueue2(queue) {
2490
2490
  }
2491
2491
  };
2492
2492
  var arrayToObject = function arrayToObject2(source2, options) {
2493
- var obj = options && options.plainObjects ? { __proto__: null } : {};
2493
+ var obj = options && options.plainObjects ? /* @__PURE__ */ Object.create(null) : {};
2494
2494
  for (var i = 0; i < source2.length; ++i) {
2495
2495
  if (typeof source2[i] !== "undefined") {
2496
2496
  obj[i] = source2[i];
@@ -2502,7 +2502,7 @@ var merge = function merge2(target, source2, options) {
2502
2502
  if (!source2) {
2503
2503
  return target;
2504
2504
  }
2505
- if (typeof source2 !== "object" && typeof source2 !== "function") {
2505
+ if (typeof source2 !== "object") {
2506
2506
  if (isArray$3(target)) {
2507
2507
  target.push(source2);
2508
2508
  } else if (target && typeof target === "object") {
@@ -2552,7 +2552,7 @@ var assign = function assignSingleSource(target, source2) {
2552
2552
  return acc;
2553
2553
  }, target);
2554
2554
  };
2555
- var decode = function(str, defaultDecoder, charset) {
2555
+ var decode = function(str, decoder, charset) {
2556
2556
  var strWithoutPlus = str.replace(/\+/g, " ");
2557
2557
  if (charset === "iso-8859-1") {
2558
2558
  return strWithoutPlus.replace(/%[0-9a-f]{2}/gi, unescape);
@@ -2563,7 +2563,6 @@ var decode = function(str, defaultDecoder, charset) {
2563
2563
  return strWithoutPlus;
2564
2564
  }
2565
2565
  };
2566
- var limit = 1024;
2567
2566
  var encode = function encode2(str, defaultEncoder, charset, kind, format) {
2568
2567
  if (str.length === 0) {
2569
2568
  return str;
@@ -2580,32 +2579,27 @@ var encode = function encode2(str, defaultEncoder, charset, kind, format) {
2580
2579
  });
2581
2580
  }
2582
2581
  var out = "";
2583
- for (var j = 0; j < string.length; j += limit) {
2584
- var segment = string.length >= limit ? string.slice(j, j + limit) : string;
2585
- var arr = [];
2586
- for (var i = 0; i < segment.length; ++i) {
2587
- var c = segment.charCodeAt(i);
2588
- if (c === 45 || c === 46 || c === 95 || c === 126 || c >= 48 && c <= 57 || c >= 65 && c <= 90 || c >= 97 && c <= 122 || format === formats$2.RFC1738 && (c === 40 || c === 41)) {
2589
- arr[arr.length] = segment.charAt(i);
2590
- continue;
2591
- }
2592
- if (c < 128) {
2593
- arr[arr.length] = hexTable[c];
2594
- continue;
2595
- }
2596
- if (c < 2048) {
2597
- arr[arr.length] = hexTable[192 | c >> 6] + hexTable[128 | c & 63];
2598
- continue;
2599
- }
2600
- if (c < 55296 || c >= 57344) {
2601
- arr[arr.length] = hexTable[224 | c >> 12] + hexTable[128 | c >> 6 & 63] + hexTable[128 | c & 63];
2602
- continue;
2603
- }
2604
- i += 1;
2605
- c = 65536 + ((c & 1023) << 10 | segment.charCodeAt(i) & 1023);
2606
- arr[arr.length] = hexTable[240 | c >> 18] + hexTable[128 | c >> 12 & 63] + hexTable[128 | c >> 6 & 63] + hexTable[128 | c & 63];
2582
+ for (var i = 0; i < string.length; ++i) {
2583
+ var c = string.charCodeAt(i);
2584
+ if (c === 45 || c === 46 || c === 95 || c === 126 || c >= 48 && c <= 57 || c >= 65 && c <= 90 || c >= 97 && c <= 122 || format === formats$2.RFC1738 && (c === 40 || c === 41)) {
2585
+ out += string.charAt(i);
2586
+ continue;
2587
+ }
2588
+ if (c < 128) {
2589
+ out = out + hexTable[c];
2590
+ continue;
2591
+ }
2592
+ if (c < 2048) {
2593
+ out = out + (hexTable[192 | c >> 6] + hexTable[128 | c & 63]);
2594
+ continue;
2595
+ }
2596
+ if (c < 55296 || c >= 57344) {
2597
+ out = out + (hexTable[224 | c >> 12] + hexTable[128 | c >> 6 & 63] + hexTable[128 | c & 63]);
2598
+ continue;
2607
2599
  }
2608
- out += arr.join("");
2600
+ i += 1;
2601
+ c = 65536 + ((c & 1023) << 10 | string.charCodeAt(i) & 1023);
2602
+ out += hexTable[240 | c >> 18] + hexTable[128 | c >> 12 & 63] + hexTable[128 | c >> 6 & 63] + hexTable[128 | c & 63];
2609
2603
  }
2610
2604
  return out;
2611
2605
  };
@@ -2688,17 +2682,12 @@ var defaultFormat = formats$1["default"];
2688
2682
  var defaults$1 = {
2689
2683
  addQueryPrefix: false,
2690
2684
  allowDots: false,
2691
- allowEmptyArrays: false,
2692
- arrayFormat: "indices",
2693
2685
  charset: "utf-8",
2694
2686
  charsetSentinel: false,
2695
- commaRoundTrip: false,
2696
2687
  delimiter: "&",
2697
2688
  encode: true,
2698
- encodeDotInKeys: false,
2699
2689
  encoder: utils$1.encode,
2700
2690
  encodeValuesOnly: false,
2701
- filter: void 0,
2702
2691
  format: defaultFormat,
2703
2692
  formatter: formats$1.formatters[defaultFormat],
2704
2693
  indices: false,
@@ -2712,7 +2701,7 @@ var isNonNullishPrimitive = function isNonNullishPrimitive2(v) {
2712
2701
  return typeof v === "string" || typeof v === "number" || typeof v === "boolean" || typeof v === "symbol" || typeof v === "bigint";
2713
2702
  };
2714
2703
  var sentinel = {};
2715
- var stringify$1 = function stringify(object, prefix, generateArrayPrefix, commaRoundTrip, allowEmptyArrays, strictNullHandling, skipNulls, encodeDotInKeys, encoder, filter, sort, allowDots, serializeDate2, format, formatter, encodeValuesOnly, charset, sideChannel2) {
2704
+ var stringify$1 = function stringify(object, prefix, generateArrayPrefix, commaRoundTrip, strictNullHandling, skipNulls, encoder, filter, sort, allowDots, serializeDate2, format, formatter, encodeValuesOnly, charset, sideChannel2) {
2716
2705
  var obj = object;
2717
2706
  var tmpSc = sideChannel2;
2718
2707
  var step = 0;
@@ -2772,19 +2761,14 @@ var stringify$1 = function stringify(object, prefix, generateArrayPrefix, commaR
2772
2761
  var keys = Object.keys(obj);
2773
2762
  objKeys = sort ? keys.sort(sort) : keys;
2774
2763
  }
2775
- var encodedPrefix = encodeDotInKeys ? String(prefix).replace(/\./g, "%2E") : String(prefix);
2776
- var adjustedPrefix = commaRoundTrip && isArray$2(obj) && obj.length === 1 ? encodedPrefix + "[]" : encodedPrefix;
2777
- if (allowEmptyArrays && isArray$2(obj) && obj.length === 0) {
2778
- return adjustedPrefix + "[]";
2779
- }
2764
+ var adjustedPrefix = commaRoundTrip && isArray$2(obj) && obj.length === 1 ? prefix + "[]" : prefix;
2780
2765
  for (var j = 0; j < objKeys.length; ++j) {
2781
2766
  var key = objKeys[j];
2782
- var value = typeof key === "object" && key && typeof key.value !== "undefined" ? key.value : obj[key];
2767
+ var value = typeof key === "object" && typeof key.value !== "undefined" ? key.value : obj[key];
2783
2768
  if (skipNulls && value === null) {
2784
2769
  continue;
2785
2770
  }
2786
- var encodedKey = allowDots && encodeDotInKeys ? String(key).replace(/\./g, "%2E") : String(key);
2787
- var keyPrefix = isArray$2(obj) ? typeof generateArrayPrefix === "function" ? generateArrayPrefix(adjustedPrefix, encodedKey) : adjustedPrefix : adjustedPrefix + (allowDots ? "." + encodedKey : "[" + encodedKey + "]");
2771
+ var keyPrefix = isArray$2(obj) ? typeof generateArrayPrefix === "function" ? generateArrayPrefix(adjustedPrefix, key) : adjustedPrefix : adjustedPrefix + (allowDots ? "." + key : "[" + key + "]");
2788
2772
  sideChannel2.set(object, step);
2789
2773
  var valueSideChannel = getSideChannel2();
2790
2774
  valueSideChannel.set(sentinel, sideChannel2);
@@ -2793,10 +2777,8 @@ var stringify$1 = function stringify(object, prefix, generateArrayPrefix, commaR
2793
2777
  keyPrefix,
2794
2778
  generateArrayPrefix,
2795
2779
  commaRoundTrip,
2796
- allowEmptyArrays,
2797
2780
  strictNullHandling,
2798
2781
  skipNulls,
2799
- encodeDotInKeys,
2800
2782
  generateArrayPrefix === "comma" && encodeValuesOnly && isArray$2(obj) ? null : encoder,
2801
2783
  filter,
2802
2784
  sort,
@@ -2815,12 +2797,6 @@ var normalizeStringifyOptions = function normalizeStringifyOptions2(opts) {
2815
2797
  if (!opts) {
2816
2798
  return defaults$1;
2817
2799
  }
2818
- if (typeof opts.allowEmptyArrays !== "undefined" && typeof opts.allowEmptyArrays !== "boolean") {
2819
- throw new TypeError("`allowEmptyArrays` option can only be `true` or `false`, when provided");
2820
- }
2821
- if (typeof opts.encodeDotInKeys !== "undefined" && typeof opts.encodeDotInKeys !== "boolean") {
2822
- throw new TypeError("`encodeDotInKeys` option can only be `true` or `false`, when provided");
2823
- }
2824
2800
  if (opts.encoder !== null && typeof opts.encoder !== "undefined" && typeof opts.encoder !== "function") {
2825
2801
  throw new TypeError("Encoder has to be a function.");
2826
2802
  }
@@ -2840,29 +2816,13 @@ var normalizeStringifyOptions = function normalizeStringifyOptions2(opts) {
2840
2816
  if (typeof opts.filter === "function" || isArray$2(opts.filter)) {
2841
2817
  filter = opts.filter;
2842
2818
  }
2843
- var arrayFormat;
2844
- if (opts.arrayFormat in arrayPrefixGenerators) {
2845
- arrayFormat = opts.arrayFormat;
2846
- } else if ("indices" in opts) {
2847
- arrayFormat = opts.indices ? "indices" : "repeat";
2848
- } else {
2849
- arrayFormat = defaults$1.arrayFormat;
2850
- }
2851
- if ("commaRoundTrip" in opts && typeof opts.commaRoundTrip !== "boolean") {
2852
- throw new TypeError("`commaRoundTrip` must be a boolean, or absent");
2853
- }
2854
- var allowDots = typeof opts.allowDots === "undefined" ? opts.encodeDotInKeys === true ? true : defaults$1.allowDots : !!opts.allowDots;
2855
2819
  return {
2856
2820
  addQueryPrefix: typeof opts.addQueryPrefix === "boolean" ? opts.addQueryPrefix : defaults$1.addQueryPrefix,
2857
- allowDots,
2858
- allowEmptyArrays: typeof opts.allowEmptyArrays === "boolean" ? !!opts.allowEmptyArrays : defaults$1.allowEmptyArrays,
2859
- arrayFormat,
2821
+ allowDots: typeof opts.allowDots === "undefined" ? defaults$1.allowDots : !!opts.allowDots,
2860
2822
  charset,
2861
2823
  charsetSentinel: typeof opts.charsetSentinel === "boolean" ? opts.charsetSentinel : defaults$1.charsetSentinel,
2862
- commaRoundTrip: !!opts.commaRoundTrip,
2863
2824
  delimiter: typeof opts.delimiter === "undefined" ? defaults$1.delimiter : opts.delimiter,
2864
2825
  encode: typeof opts.encode === "boolean" ? opts.encode : defaults$1.encode,
2865
- encodeDotInKeys: typeof opts.encodeDotInKeys === "boolean" ? opts.encodeDotInKeys : defaults$1.encodeDotInKeys,
2866
2826
  encoder: typeof opts.encoder === "function" ? opts.encoder : defaults$1.encoder,
2867
2827
  encodeValuesOnly: typeof opts.encodeValuesOnly === "boolean" ? opts.encodeValuesOnly : defaults$1.encodeValuesOnly,
2868
2828
  filter,
@@ -2890,8 +2850,19 @@ var stringify_1 = function(object, opts) {
2890
2850
  if (typeof obj !== "object" || obj === null) {
2891
2851
  return "";
2892
2852
  }
2893
- var generateArrayPrefix = arrayPrefixGenerators[options.arrayFormat];
2894
- var commaRoundTrip = generateArrayPrefix === "comma" && options.commaRoundTrip;
2853
+ var arrayFormat;
2854
+ if (opts && opts.arrayFormat in arrayPrefixGenerators) {
2855
+ arrayFormat = opts.arrayFormat;
2856
+ } else if (opts && "indices" in opts) {
2857
+ arrayFormat = opts.indices ? "indices" : "repeat";
2858
+ } else {
2859
+ arrayFormat = "indices";
2860
+ }
2861
+ var generateArrayPrefix = arrayPrefixGenerators[arrayFormat];
2862
+ if (opts && "commaRoundTrip" in opts && typeof opts.commaRoundTrip !== "boolean") {
2863
+ throw new TypeError("`commaRoundTrip` must be a boolean, or absent");
2864
+ }
2865
+ var commaRoundTrip = generateArrayPrefix === "comma" && opts && opts.commaRoundTrip;
2895
2866
  if (!objKeys) {
2896
2867
  objKeys = Object.keys(obj);
2897
2868
  }
@@ -2901,19 +2872,16 @@ var stringify_1 = function(object, opts) {
2901
2872
  var sideChannel2 = getSideChannel2();
2902
2873
  for (var i = 0; i < objKeys.length; ++i) {
2903
2874
  var key = objKeys[i];
2904
- var value = obj[key];
2905
- if (options.skipNulls && value === null) {
2875
+ if (options.skipNulls && obj[key] === null) {
2906
2876
  continue;
2907
2877
  }
2908
2878
  pushToArray(keys, stringify$1(
2909
- value,
2879
+ obj[key],
2910
2880
  key,
2911
2881
  generateArrayPrefix,
2912
2882
  commaRoundTrip,
2913
- options.allowEmptyArrays,
2914
2883
  options.strictNullHandling,
2915
2884
  options.skipNulls,
2916
- options.encodeDotInKeys,
2917
2885
  options.encode ? options.encoder : null,
2918
2886
  options.filter,
2919
2887
  options.sort,
@@ -2942,39 +2910,31 @@ var has = Object.prototype.hasOwnProperty;
2942
2910
  var isArray$1 = Array.isArray;
2943
2911
  var defaults = {
2944
2912
  allowDots: false,
2945
- allowEmptyArrays: false,
2946
2913
  allowPrototypes: false,
2947
2914
  allowSparse: false,
2948
2915
  arrayLimit: 20,
2949
2916
  charset: "utf-8",
2950
2917
  charsetSentinel: false,
2951
2918
  comma: false,
2952
- decodeDotInKeys: false,
2953
2919
  decoder: utils.decode,
2954
2920
  delimiter: "&",
2955
2921
  depth: 5,
2956
- duplicates: "combine",
2957
2922
  ignoreQueryPrefix: false,
2958
2923
  interpretNumericEntities: false,
2959
2924
  parameterLimit: 1e3,
2960
2925
  parseArrays: true,
2961
2926
  plainObjects: false,
2962
- strictDepth: false,
2963
- strictNullHandling: false,
2964
- throwOnLimitExceeded: false
2927
+ strictNullHandling: false
2965
2928
  };
2966
2929
  var interpretNumericEntities = function(str) {
2967
2930
  return str.replace(/&#(\d+);/g, function($0, numberStr) {
2968
2931
  return String.fromCharCode(parseInt(numberStr, 10));
2969
2932
  });
2970
2933
  };
2971
- var parseArrayValue = function(val, options, currentArrayLength) {
2934
+ var parseArrayValue = function(val, options) {
2972
2935
  if (val && typeof val === "string" && options.comma && val.indexOf(",") > -1) {
2973
2936
  return val.split(",");
2974
2937
  }
2975
- if (options.throwOnLimitExceeded && currentArrayLength >= options.arrayLimit) {
2976
- throw new RangeError("Array limit exceeded. Only " + options.arrayLimit + " element" + (options.arrayLimit === 1 ? "" : "s") + " allowed in an array.");
2977
- }
2978
2938
  return val;
2979
2939
  };
2980
2940
  var isoSentinel = "utf8=%26%2310003%3B";
@@ -2982,15 +2942,8 @@ var charsetSentinel = "utf8=%E2%9C%93";
2982
2942
  var parseValues = function parseQueryStringValues(str, options) {
2983
2943
  var obj = { __proto__: null };
2984
2944
  var cleanStr = options.ignoreQueryPrefix ? str.replace(/^\?/, "") : str;
2985
- cleanStr = cleanStr.replace(/%5B/gi, "[").replace(/%5D/gi, "]");
2986
- var limit2 = options.parameterLimit === Infinity ? void 0 : options.parameterLimit;
2987
- var parts = cleanStr.split(
2988
- options.delimiter,
2989
- options.throwOnLimitExceeded ? limit2 + 1 : limit2
2990
- );
2991
- if (options.throwOnLimitExceeded && parts.length > limit2) {
2992
- throw new RangeError("Parameter limit exceeded. Only " + limit2 + " parameter" + (limit2 === 1 ? "" : "s") + " allowed.");
2993
- }
2945
+ var limit = options.parameterLimit === Infinity ? void 0 : options.parameterLimit;
2946
+ var parts = cleanStr.split(options.delimiter, limit);
2994
2947
  var skipIndex = -1;
2995
2948
  var i;
2996
2949
  var charset = options.charset;
@@ -3014,63 +2967,51 @@ var parseValues = function parseQueryStringValues(str, options) {
3014
2967
  var part = parts[i];
3015
2968
  var bracketEqualsPos = part.indexOf("]=");
3016
2969
  var pos = bracketEqualsPos === -1 ? part.indexOf("=") : bracketEqualsPos + 1;
3017
- var key;
3018
- var val;
2970
+ var key, val;
3019
2971
  if (pos === -1) {
3020
2972
  key = options.decoder(part, defaults.decoder, charset, "key");
3021
2973
  val = options.strictNullHandling ? null : "";
3022
2974
  } else {
3023
2975
  key = options.decoder(part.slice(0, pos), defaults.decoder, charset, "key");
3024
2976
  val = utils.maybeMap(
3025
- parseArrayValue(
3026
- part.slice(pos + 1),
3027
- options,
3028
- isArray$1(obj[key]) ? obj[key].length : 0
3029
- ),
2977
+ parseArrayValue(part.slice(pos + 1), options),
3030
2978
  function(encodedVal) {
3031
2979
  return options.decoder(encodedVal, defaults.decoder, charset, "value");
3032
2980
  }
3033
2981
  );
3034
2982
  }
3035
2983
  if (val && options.interpretNumericEntities && charset === "iso-8859-1") {
3036
- val = interpretNumericEntities(String(val));
2984
+ val = interpretNumericEntities(val);
3037
2985
  }
3038
2986
  if (part.indexOf("[]=") > -1) {
3039
2987
  val = isArray$1(val) ? [val] : val;
3040
2988
  }
3041
- var existing = has.call(obj, key);
3042
- if (existing && options.duplicates === "combine") {
2989
+ if (has.call(obj, key)) {
3043
2990
  obj[key] = utils.combine(obj[key], val);
3044
- } else if (!existing || options.duplicates === "last") {
2991
+ } else {
3045
2992
  obj[key] = val;
3046
2993
  }
3047
2994
  }
3048
2995
  return obj;
3049
2996
  };
3050
2997
  var parseObject = function(chain, val, options, valuesParsed) {
3051
- var currentArrayLength = 0;
3052
- if (chain.length > 0 && chain[chain.length - 1] === "[]") {
3053
- var parentKey = chain.slice(0, -1).join("");
3054
- currentArrayLength = Array.isArray(val) && val[parentKey] ? val[parentKey].length : 0;
3055
- }
3056
- var leaf = valuesParsed ? val : parseArrayValue(val, options, currentArrayLength);
2998
+ var leaf = valuesParsed ? val : parseArrayValue(val, options);
3057
2999
  for (var i = chain.length - 1; i >= 0; --i) {
3058
3000
  var obj;
3059
3001
  var root = chain[i];
3060
3002
  if (root === "[]" && options.parseArrays) {
3061
- obj = options.allowEmptyArrays && (leaf === "" || options.strictNullHandling && leaf === null) ? [] : utils.combine([], leaf);
3003
+ obj = [].concat(leaf);
3062
3004
  } else {
3063
- obj = options.plainObjects ? { __proto__: null } : {};
3005
+ obj = options.plainObjects ? /* @__PURE__ */ Object.create(null) : {};
3064
3006
  var cleanRoot = root.charAt(0) === "[" && root.charAt(root.length - 1) === "]" ? root.slice(1, -1) : root;
3065
- var decodedRoot = options.decodeDotInKeys ? cleanRoot.replace(/%2E/g, ".") : cleanRoot;
3066
- var index = parseInt(decodedRoot, 10);
3067
- if (!options.parseArrays && decodedRoot === "") {
3007
+ var index = parseInt(cleanRoot, 10);
3008
+ if (!options.parseArrays && cleanRoot === "") {
3068
3009
  obj = { 0: leaf };
3069
- } else if (!isNaN(index) && root !== decodedRoot && String(index) === decodedRoot && index >= 0 && (options.parseArrays && index <= options.arrayLimit)) {
3010
+ } else if (!isNaN(index) && root !== cleanRoot && String(index) === cleanRoot && index >= 0 && (options.parseArrays && index <= options.arrayLimit)) {
3070
3011
  obj = [];
3071
3012
  obj[index] = leaf;
3072
- } else if (decodedRoot !== "__proto__") {
3073
- obj[decodedRoot] = leaf;
3013
+ } else if (cleanRoot !== "__proto__") {
3014
+ obj[cleanRoot] = leaf;
3074
3015
  }
3075
3016
  }
3076
3017
  leaf = obj;
@@ -3106,9 +3047,6 @@ var parseKeys = function parseQueryStringKeys(givenKey, val, options, valuesPars
3106
3047
  keys.push(segment[1]);
3107
3048
  }
3108
3049
  if (segment) {
3109
- if (options.strictDepth === true) {
3110
- throw new RangeError("Input depth exceeded depth option of " + options.depth + " and strictDepth is true");
3111
- }
3112
3050
  keys.push("[" + key.slice(segment.index) + "]");
3113
3051
  }
3114
3052
  return parseObject(keys, val, options, valuesParsed);
@@ -3117,58 +3055,39 @@ var normalizeParseOptions = function normalizeParseOptions2(opts) {
3117
3055
  if (!opts) {
3118
3056
  return defaults;
3119
3057
  }
3120
- if (typeof opts.allowEmptyArrays !== "undefined" && typeof opts.allowEmptyArrays !== "boolean") {
3121
- throw new TypeError("`allowEmptyArrays` option can only be `true` or `false`, when provided");
3122
- }
3123
- if (typeof opts.decodeDotInKeys !== "undefined" && typeof opts.decodeDotInKeys !== "boolean") {
3124
- throw new TypeError("`decodeDotInKeys` option can only be `true` or `false`, when provided");
3125
- }
3126
- if (opts.decoder !== null && typeof opts.decoder !== "undefined" && typeof opts.decoder !== "function") {
3058
+ if (opts.decoder !== null && opts.decoder !== void 0 && typeof opts.decoder !== "function") {
3127
3059
  throw new TypeError("Decoder has to be a function.");
3128
3060
  }
3129
3061
  if (typeof opts.charset !== "undefined" && opts.charset !== "utf-8" && opts.charset !== "iso-8859-1") {
3130
3062
  throw new TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");
3131
3063
  }
3132
- if (typeof opts.throwOnLimitExceeded !== "undefined" && typeof opts.throwOnLimitExceeded !== "boolean") {
3133
- throw new TypeError("`throwOnLimitExceeded` option must be a boolean");
3134
- }
3135
3064
  var charset = typeof opts.charset === "undefined" ? defaults.charset : opts.charset;
3136
- var duplicates = typeof opts.duplicates === "undefined" ? defaults.duplicates : opts.duplicates;
3137
- if (duplicates !== "combine" && duplicates !== "first" && duplicates !== "last") {
3138
- throw new TypeError("The duplicates option must be either combine, first, or last");
3139
- }
3140
- var allowDots = typeof opts.allowDots === "undefined" ? opts.decodeDotInKeys === true ? true : defaults.allowDots : !!opts.allowDots;
3141
3065
  return {
3142
- allowDots,
3143
- allowEmptyArrays: typeof opts.allowEmptyArrays === "boolean" ? !!opts.allowEmptyArrays : defaults.allowEmptyArrays,
3066
+ allowDots: typeof opts.allowDots === "undefined" ? defaults.allowDots : !!opts.allowDots,
3144
3067
  allowPrototypes: typeof opts.allowPrototypes === "boolean" ? opts.allowPrototypes : defaults.allowPrototypes,
3145
3068
  allowSparse: typeof opts.allowSparse === "boolean" ? opts.allowSparse : defaults.allowSparse,
3146
3069
  arrayLimit: typeof opts.arrayLimit === "number" ? opts.arrayLimit : defaults.arrayLimit,
3147
3070
  charset,
3148
3071
  charsetSentinel: typeof opts.charsetSentinel === "boolean" ? opts.charsetSentinel : defaults.charsetSentinel,
3149
3072
  comma: typeof opts.comma === "boolean" ? opts.comma : defaults.comma,
3150
- decodeDotInKeys: typeof opts.decodeDotInKeys === "boolean" ? opts.decodeDotInKeys : defaults.decodeDotInKeys,
3151
3073
  decoder: typeof opts.decoder === "function" ? opts.decoder : defaults.decoder,
3152
3074
  delimiter: typeof opts.delimiter === "string" || utils.isRegExp(opts.delimiter) ? opts.delimiter : defaults.delimiter,
3153
3075
  depth: typeof opts.depth === "number" || opts.depth === false ? +opts.depth : defaults.depth,
3154
- duplicates,
3155
3076
  ignoreQueryPrefix: opts.ignoreQueryPrefix === true,
3156
3077
  interpretNumericEntities: typeof opts.interpretNumericEntities === "boolean" ? opts.interpretNumericEntities : defaults.interpretNumericEntities,
3157
3078
  parameterLimit: typeof opts.parameterLimit === "number" ? opts.parameterLimit : defaults.parameterLimit,
3158
3079
  parseArrays: opts.parseArrays !== false,
3159
3080
  plainObjects: typeof opts.plainObjects === "boolean" ? opts.plainObjects : defaults.plainObjects,
3160
- strictDepth: typeof opts.strictDepth === "boolean" ? !!opts.strictDepth : defaults.strictDepth,
3161
- strictNullHandling: typeof opts.strictNullHandling === "boolean" ? opts.strictNullHandling : defaults.strictNullHandling,
3162
- throwOnLimitExceeded: typeof opts.throwOnLimitExceeded === "boolean" ? opts.throwOnLimitExceeded : false
3081
+ strictNullHandling: typeof opts.strictNullHandling === "boolean" ? opts.strictNullHandling : defaults.strictNullHandling
3163
3082
  };
3164
3083
  };
3165
3084
  var parse$1 = function(str, opts) {
3166
3085
  var options = normalizeParseOptions(opts);
3167
3086
  if (str === "" || str === null || typeof str === "undefined") {
3168
- return options.plainObjects ? { __proto__: null } : {};
3087
+ return options.plainObjects ? /* @__PURE__ */ Object.create(null) : {};
3169
3088
  }
3170
3089
  var tempObj = typeof str === "string" ? parseValues(str, options) : str;
3171
- var obj = options.plainObjects ? { __proto__: null } : {};
3090
+ var obj = options.plainObjects ? /* @__PURE__ */ Object.create(null) : {};
3172
3091
  var keys = Object.keys(tempObj);
3173
3092
  for (var i = 0; i < keys.length; ++i) {
3174
3093
  var key = keys[i];
@@ -3188,7 +3107,6 @@ var lib = {
3188
3107
  parse,
3189
3108
  stringify: stringify2
3190
3109
  };
3191
- var qs = lib;
3192
3110
  function getUrlParams() {
3193
3111
  const url = location.search;
3194
3112
  const theRequest = new Object();
@@ -3348,7 +3266,7 @@ function requestInterceptors(config2) {
3348
3266
  const contentType = getContentType(config2.headers);
3349
3267
  if (config2.method === "post") {
3350
3268
  if (contentType === CONTENT_TYPE.form) {
3351
- config2.data = qs.stringify(config2.data);
3269
+ config2.data = lib.stringify(config2.data);
3352
3270
  }
3353
3271
  } else if (config2.method === "get")
3354
3272
  ;
@@ -9019,22 +8937,22 @@ var lodash = { exports: {} };
9019
8937
  var snakeCase = createCompounder(function(result2, word, index) {
9020
8938
  return result2 + (index ? "_" : "") + word.toLowerCase();
9021
8939
  });
9022
- function split(string, separator, limit2) {
9023
- if (limit2 && typeof limit2 != "number" && isIterateeCall(string, separator, limit2)) {
9024
- separator = limit2 = undefined$12;
8940
+ function split(string, separator, limit) {
8941
+ if (limit && typeof limit != "number" && isIterateeCall(string, separator, limit)) {
8942
+ separator = limit = undefined$12;
9025
8943
  }
9026
- limit2 = limit2 === undefined$12 ? MAX_ARRAY_LENGTH : limit2 >>> 0;
9027
- if (!limit2) {
8944
+ limit = limit === undefined$12 ? MAX_ARRAY_LENGTH : limit >>> 0;
8945
+ if (!limit) {
9028
8946
  return [];
9029
8947
  }
9030
8948
  string = toString3(string);
9031
8949
  if (string && (typeof separator == "string" || separator != null && !isRegExp3(separator))) {
9032
8950
  separator = baseToString(separator);
9033
8951
  if (!separator && hasUnicode(string)) {
9034
- return castSlice(stringToArray(string), 0, limit2);
8952
+ return castSlice(stringToArray(string), 0, limit);
9035
8953
  }
9036
8954
  }
9037
- return string.split(separator, limit2);
8955
+ return string.split(separator, limit);
9038
8956
  }
9039
8957
  var startCase = createCompounder(function(result2, word, index) {
9040
8958
  return result2 + (index ? " " : "") + upperFirst(word);
@@ -11258,6 +11176,167 @@ function getPreviewUrlApi(fileId) {
11258
11176
  axiosConfig
11259
11177
  );
11260
11178
  }
11179
+ function downLoadScDcApi(fileId, fileName) {
11180
+ return __async(this, null, function* () {
11181
+ const ua = navigator.userAgent;
11182
+ if (/miniProgram/i.test(ua)) {
11183
+ window.wx.miniProgram.navigateTo({
11184
+ url: `/pages/download/index?downloadFileId=${fileId}`
11185
+ });
11186
+ } else {
11187
+ const downloadUrl = `${(location.pathname.includes("scyxweb") ? "/scyxgateway" : "") + "/ind-uc-ext-server"}/oss/file/get/${fileId}`;
11188
+ const token = getToken();
11189
+ const response = yield fetch(downloadUrl, {
11190
+ headers: {
11191
+ token: token + ""
11192
+ }
11193
+ });
11194
+ if (!response.ok) {
11195
+ throw new Error(`\u4E0B\u8F7D\u5931\u8D25: ${response.status}`);
11196
+ }
11197
+ const blob = yield response.blob();
11198
+ if (!fileName) {
11199
+ fileName = getFilenameFromResponse(response);
11200
+ }
11201
+ let mimeType = "application/octet-stream";
11202
+ const name = fileName == null ? void 0 : fileName.toLowerCase();
11203
+ const match = name.match(/\.([a-z0-9]+)$/);
11204
+ const extension = match == null ? void 0 : match[1];
11205
+ if (MIME_TYPE[extension]) {
11206
+ mimeType = MIME_TYPE[extension];
11207
+ }
11208
+ const fileBlob = new Blob([blob], { type: mimeType });
11209
+ const url = window.URL.createObjectURL(fileBlob);
11210
+ const link = document.createElement("a");
11211
+ link.href = url;
11212
+ link.download = fileName;
11213
+ link.style.display = "none";
11214
+ link.target = "_blank";
11215
+ document.body.appendChild(link);
11216
+ link.click();
11217
+ document.body.removeChild(link);
11218
+ }
11219
+ });
11220
+ }
11221
+ function parseContentDisposition(contentDisposition) {
11222
+ if (!contentDisposition)
11223
+ return null;
11224
+ console.log("\u539F\u59CB Content-Disposition:", contentDisposition);
11225
+ const utf8FilenameMatch = contentDisposition.match(/filename\*=(?:UTF-8''|UTF-8\s*'')([^;]+)/i);
11226
+ if (utf8FilenameMatch && utf8FilenameMatch[1]) {
11227
+ try {
11228
+ const decoded = decodeURIComponent(utf8FilenameMatch[1].trim());
11229
+ console.log("\u89E3\u6790 RFC 5987 \u6587\u4EF6\u540D:", decoded);
11230
+ return decoded;
11231
+ } catch (e) {
11232
+ console.warn("RFC 5987 \u89E3\u7801\u5931\u8D25:", e);
11233
+ }
11234
+ }
11235
+ const filenameStarMatch = contentDisposition.match(/filename\*=([^;]+)/i);
11236
+ if (filenameStarMatch && filenameStarMatch[1]) {
11237
+ const encoded = filenameStarMatch[1].trim();
11238
+ if (encoded.includes("''")) {
11239
+ const parts = encoded.split("''");
11240
+ if (parts.length === 2) {
11241
+ try {
11242
+ const decoded = decodeURIComponent(parts[1]);
11243
+ console.log("\u89E3\u6790 filename* \u6587\u4EF6\u540D:", decoded);
11244
+ return decoded;
11245
+ } catch (e) {
11246
+ console.warn("filename* \u89E3\u7801\u5931\u8D25:", e);
11247
+ }
11248
+ }
11249
+ }
11250
+ }
11251
+ const quotedFilenameMatch = contentDisposition.match(/filename="([^"]+)"/i);
11252
+ if (quotedFilenameMatch && quotedFilenameMatch[1]) {
11253
+ console.log("\u89E3\u6790\u5F15\u53F7\u5185\u6587\u4EF6\u540D:", quotedFilenameMatch[1]);
11254
+ return quotedFilenameMatch[1];
11255
+ }
11256
+ const unquotedFilenameMatch = contentDisposition.match(/filename=([^;]+)/i);
11257
+ if (unquotedFilenameMatch && unquotedFilenameMatch[1]) {
11258
+ const filename = unquotedFilenameMatch[1].trim();
11259
+ console.log("\u89E3\u6790\u65E0\u5F15\u53F7\u6587\u4EF6\u540D:", filename);
11260
+ return filename;
11261
+ }
11262
+ console.log("\u672A\u627E\u5230\u6709\u6548\u7684\u6587\u4EF6\u540D");
11263
+ return null;
11264
+ }
11265
+ function getFilenameFromResponse(response) {
11266
+ const contentDisposition = response.headers.get("Content-Disposition");
11267
+ console.log("Content-Disposition \u5934:", contentDisposition);
11268
+ let filename = null;
11269
+ if (contentDisposition) {
11270
+ filename = parseContentDisposition(contentDisposition);
11271
+ console.log("\u89E3\u6790\u5230\u7684\u6587\u4EF6\u540D:", filename);
11272
+ }
11273
+ if (!filename && response.url) {
11274
+ filename = extractFilenameFromUrl(response.url);
11275
+ console.log("\u4ECE URL \u63D0\u53D6\u7684\u6587\u4EF6\u540D:", filename);
11276
+ }
11277
+ if (!filename) {
11278
+ filename = "download";
11279
+ console.log("\u4F7F\u7528\u9ED8\u8BA4\u6587\u4EF6\u540D:", filename);
11280
+ }
11281
+ filename = ensureFileExtension(filename, response.headers.get("Content-Type"));
11282
+ return filename;
11283
+ }
11284
+ function getExtensionFromContentType(contentType) {
11285
+ if (!contentType)
11286
+ return "";
11287
+ const contentTypeToExtension = {
11288
+ "image/jpeg": ".jpg",
11289
+ "image/jpg": ".jpg",
11290
+ "image/png": ".png",
11291
+ "image/gif": ".gif",
11292
+ "image/webp": ".webp",
11293
+ "image/svg+xml": ".svg",
11294
+ "image/bmp": ".bmp",
11295
+ "application/pdf": ".pdf",
11296
+ "application/msword": ".doc",
11297
+ "application/vnd.openxmlformats-officedocument.wordprocessingml.document": ".docx",
11298
+ "application/vnd.ms-excel": ".xls",
11299
+ "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet": ".xlsx",
11300
+ "application/vnd.ms-powerpoint": ".ppt",
11301
+ "application/vnd.openxmlformats-officedocument.presentationml.presentation": ".pptx",
11302
+ "text/plain": ".txt",
11303
+ "text/html": ".html",
11304
+ "text/css": ".css",
11305
+ "text/javascript": ".js",
11306
+ "application/json": ".json",
11307
+ "text/csv": ".csv",
11308
+ "text/xml": ".xml",
11309
+ "application/zip": ".zip",
11310
+ "application/x-rar-compressed": ".rar",
11311
+ "application/x-7z-compressed": ".7z",
11312
+ "application/gzip": ".gz",
11313
+ "application/octet-stream": ".bin"
11314
+ };
11315
+ const mainType = contentType.split(";")[0].trim();
11316
+ return contentTypeToExtension[mainType] || "";
11317
+ }
11318
+ function ensureFileExtension(filename, contentType) {
11319
+ if (filename.includes(".")) {
11320
+ return filename;
11321
+ }
11322
+ const extension = getExtensionFromContentType(contentType);
11323
+ if (extension) {
11324
+ return filename + extension;
11325
+ }
11326
+ return filename;
11327
+ }
11328
+ function extractFilenameFromUrl(url) {
11329
+ try {
11330
+ const urlObj = new URL(url);
11331
+ const pathname = urlObj.pathname;
11332
+ const lastSegment = pathname.split("/").pop();
11333
+ const filename = lastSegment.split("?")[0].split("#")[0];
11334
+ return filename || null;
11335
+ } catch (e) {
11336
+ console.warn("\u4ECE URL \u63D0\u53D6\u6587\u4EF6\u540D\u5931\u8D25:", e);
11337
+ return null;
11338
+ }
11339
+ }
11261
11340
  let Base64 = {
11262
11341
  Base64Chars: "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789@*-",
11263
11342
  encode: function(s) {
@@ -11380,10 +11459,14 @@ const getGlobalConfig = () => __async(void 0, null, function* () {
11380
11459
  });
11381
11460
  }
11382
11461
  });
11462
+ const isHb$1 = location.pathname.includes("scyxweb");
11383
11463
  const CONTEXT$1 = config.ismAmServerContext;
11384
11464
  function listComTreeApi(params) {
11385
11465
  if (config.useDddComItemTree) {
11386
- return instance.get(`${config.ucExtServerContext}/manage/tree/getBusiComTree`, { params });
11466
+ return instance.get(
11467
+ `${isHb$1 ? "/scyxgateway" : ""}${config.ucExtServerContext}/manage/tree/getBusiComTree`,
11468
+ { params }
11469
+ );
11387
11470
  }
11388
11471
  return instance.get(`${CONTEXT$1}/tree/com/listComTree`, { params });
11389
11472
  }
@@ -11391,12 +11474,16 @@ const UC_CONTEXT$2 = config.ucExtServerContext;
11391
11474
  function listIndexDescApi(params) {
11392
11475
  return instance.get(`${UC_CONTEXT$2}/index-desc/list`, { params });
11393
11476
  }
11477
+ const isHb = location.pathname.includes("scyxweb");
11394
11478
  const CONTEXT = config.ismAmServerContext;
11395
11479
  function listItemTreeApi(params) {
11396
11480
  if (config.useDddComItemTree) {
11397
- return instance.get(`${config.ucExtServerContext}/manage/tree/getProductInfoAsTreeData`, {
11398
- params
11399
- });
11481
+ return instance.get(
11482
+ `${isHb ? "/scyxgateway" : ""}${config.ucExtServerContext}/manage/tree/getProductInfoAsTreeData`,
11483
+ {
11484
+ params
11485
+ }
11486
+ );
11400
11487
  }
11401
11488
  return instance.get(`${CONTEXT}/tree/item/listItemTree`, { params });
11402
11489
  }
@@ -11456,4 +11543,4 @@ function listUserTreeApi(params) {
11456
11543
  return (_b = getLocalStorage(DATAVERSION_KEY)) == null ? void 0 : _b.response;
11457
11544
  });
11458
11545
  }
11459
- export { Base64ForLogin, CONTENT_TYPE, IS_OR_NOT_ENUM, IS_OR_NOT_ENUM_KEY, IS_OR_NOT_ENUM_LIST, MIME_TYPE, UC_ENUM, addMenuCollectApi, instance as axios, base64ToBlob, blobToBase64, checkIdCard, checkPhone, checkTel, checkVehicleNo, clearIndexDescCache, clearPermissionCache, clearSessionStorage, clearUserInfoCache, config, cryptor, deleteMenuCollectApi, deleteMenuHistoryApi, exportJsonToExcel, flattenRow2ColumnData, formatDate, formatDateChinese, formatDecimal, formatHalfYear, formatQuarter, getAppListApi, getApplicationTreeApi, getCaptchaURL, getContentType, getDictApi, getDictMapApi, getDictsMapApi, getExcelColumnIdx, getGlobalConfig, getGlobalPolicyApi, getHalfYear, getHalfYearBeginMonth, getHalfYearEndMonth, getHalfYearNum, getIndexDescCache, getItem, getLocalStorage, getMaxTabNumValueApi, getMenuCollectApi, getMenuHistoryApi, getOssFileApi, getOssFileUrl, getPermissionApi, getPermissionCache, getPreviewUrlApi, getPriceInfo, getQuarter, getQuarterBeginMonth, getQuarterEndMonth, getQuarterNum, getSessionStorage, getToken, getType, getUrlParams, getUserInfoApi, getUserInfoCache, guid, importJsonFromExcel, isArguments, isArray, isArrayLike, isBoolean, isDate, isDecimal, isElement, isEmpty, isEqual, isEqualWith, isError, isEven, isFinite$1 as isFinite, isFunction, isInteger, isNegative, isNil, isNull, isNumber, isNumberEqual, isObject, isObjectLike, isOdd, isPlainObject, isPositive, isPromise, isPrototype, isRegExp2 as isRegExp, isString, isType, isUndefined, listComTreeApi, listIndexDescApi, listItemTreeApi, listUserTreeApi, loginApi, logoutApi, menuHistoryApi, numToChineseNumerals, numToDX, off, on, preventDefault, putOssFileApi, putOssFileUrl, quarter2Chinese, removeLocalStorage, removeMenuCollectApi, removeSessionStorage, renderColumnEnums, renderEnumData, renderEnumList, renderFieldEnums, responseInterceptors, round, row2column, setConfig, setContentType, setIndexDescCache, setLocalStorage, setPermissionCache, setSessionStorage, setToken, setUserInfoCache, stopPropagation, str2Date, toChies, toFixed, toThousands, updatePasswordApi, useConfig, uuid, wrapApi };
11546
+ export { Base64ForLogin, CONTENT_TYPE, IS_OR_NOT_ENUM, IS_OR_NOT_ENUM_KEY, IS_OR_NOT_ENUM_LIST, MIME_TYPE, UC_ENUM, addMenuCollectApi, instance as axios, base64ToBlob, blobToBase64, checkIdCard, checkPhone, checkTel, checkVehicleNo, clearIndexDescCache, clearPermissionCache, clearSessionStorage, clearUserInfoCache, config, cryptor, deleteMenuCollectApi, deleteMenuHistoryApi, downLoadScDcApi, exportJsonToExcel, flattenRow2ColumnData, formatDate, formatDateChinese, formatDecimal, formatHalfYear, formatQuarter, getAppListApi, getApplicationTreeApi, getCaptchaURL, getContentType, getDictApi, getDictMapApi, getDictsMapApi, getExcelColumnIdx, getGlobalConfig, getGlobalPolicyApi, getHalfYear, getHalfYearBeginMonth, getHalfYearEndMonth, getHalfYearNum, getIndexDescCache, getItem, getLocalStorage, getMaxTabNumValueApi, getMenuCollectApi, getMenuHistoryApi, getOssFileApi, getOssFileUrl, getPermissionApi, getPermissionCache, getPreviewUrlApi, getPriceInfo, getQuarter, getQuarterBeginMonth, getQuarterEndMonth, getQuarterNum, getSessionStorage, getToken, getType, getUrlParams, getUserInfoApi, getUserInfoCache, guid, importJsonFromExcel, isArguments, isArray, isArrayLike, isBoolean, isDate, isDecimal, isElement, isEmpty, isEqual, isEqualWith, isError, isEven, isFinite$1 as isFinite, isFunction, isInteger, isNegative, isNil, isNull, isNumber, isNumberEqual, isObject, isObjectLike, isOdd, isPlainObject, isPositive, isPromise, isPrototype, isRegExp2 as isRegExp, isString, isType, isUndefined, listComTreeApi, listIndexDescApi, listItemTreeApi, listUserTreeApi, loginApi, logoutApi, menuHistoryApi, numToChineseNumerals, numToDX, off, on, preventDefault, putOssFileApi, putOssFileUrl, quarter2Chinese, removeLocalStorage, removeMenuCollectApi, removeSessionStorage, renderColumnEnums, renderEnumData, renderEnumList, renderFieldEnums, responseInterceptors, round, row2column, setConfig, setContentType, setIndexDescCache, setLocalStorage, setPermissionCache, setSessionStorage, setToken, setUserInfoCache, stopPropagation, str2Date, toChies, toFixed, toThousands, updatePasswordApi, useConfig, uuid, wrapApi };