yahee-components 0.0.113 → 0.0.114

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 (174) hide show
  1. package/es/annex-upload/annex-upload.vue.js +55 -0
  2. package/es/annex-upload/annex-upload.vue2.js +121 -0
  3. package/es/annex-upload/index.js +7 -0
  4. package/es/annex-upload/mimeType.js +822 -0
  5. package/es/annex-upload/style/index.css +7 -0
  6. package/es/border-wrap/border-wrap.vue.js +75 -0
  7. package/es/border-wrap/border-wrap.vue2.js +48 -0
  8. package/es/border-wrap/index.js +7 -0
  9. package/es/border-wrap/props.js +11 -0
  10. package/es/border-wrap/style/index.css +24 -0
  11. package/es/common-import/common-import.vue.js +394 -0
  12. package/es/common-import/common-import.vue2.js +366 -0
  13. package/es/common-import/index.js +7 -0
  14. package/es/common-import/props.js +23 -0
  15. package/es/common-import/style/index.css +32 -0
  16. package/es/complex-search/batch-search-dialog.vue.js +119 -0
  17. package/es/complex-search/batch-search-dialog.vue2.js +50 -0
  18. package/es/complex-search/complex-search.vue.js +122 -0
  19. package/es/complex-search/complex-search.vue2.js +71 -0
  20. package/es/complex-search/index.js +7 -0
  21. package/es/complex-search/props.js +19 -0
  22. package/es/complex-search/style/index.css +24 -0
  23. package/es/complex-search/useComplexSearch.js +44 -0
  24. package/es/copy/copy.vue.js +39 -0
  25. package/es/copy/copy.vue2.js +36 -0
  26. package/es/copy/index.js +7 -0
  27. package/es/copy/props.js +9 -0
  28. package/es/copy/style/index.css +12 -0
  29. package/es/country-platform-shop-condition/country-platform-shop-condition.vue.js +120 -0
  30. package/es/country-platform-shop-condition/country-platform-shop-condition.vue2.js +127 -0
  31. package/es/country-platform-shop-condition/index.js +7 -0
  32. package/es/country-platform-shop-condition/style/index.css +59 -0
  33. package/es/drop-down-condition/drop-down-condition.vue.js +125 -0
  34. package/es/drop-down-condition/drop-down-condition.vue2.js +129 -0
  35. package/es/drop-down-condition/index.js +7 -0
  36. package/es/drop-down-condition/style/index.css +64 -0
  37. package/es/echart-gauge/echart-gauge.vue.js +14 -0
  38. package/es/echart-gauge/echart-gauge.vue2.js +149 -0
  39. package/es/echart-gauge/index.js +7 -0
  40. package/es/echart-gauge/props.js +9 -0
  41. package/es/echart-gauge/style/index.css +4 -0
  42. package/es/file-download-wrapper/file-download-wrapper.vue.js +164 -0
  43. package/es/file-download-wrapper/file-download-wrapper.vue2.js +115 -0
  44. package/es/file-download-wrapper/index.js +7 -0
  45. package/es/file-download-wrapper/key.js +17 -0
  46. package/es/file-download-wrapper/props.js +12 -0
  47. package/es/file-download-wrapper/style/index.css +66 -0
  48. package/es/filter-container/filter-container.vue.js +24 -0
  49. package/es/filter-container/filter-container.vue2.js +61 -0
  50. package/es/filter-container/index.js +7 -0
  51. package/es/filter-container/key.js +4 -0
  52. package/es/filter-container/props.js +11 -0
  53. package/es/filter-container/style/index.css +16 -0
  54. package/es/filter-wrapper/filter-wrapper.vue.js +19 -0
  55. package/es/filter-wrapper/filter-wrapper.vue2.js +56 -0
  56. package/es/filter-wrapper/index.js +7 -0
  57. package/es/filter-wrapper/props.js +10 -0
  58. package/es/filter-wrapper/style/index.css +3 -0
  59. package/es/height-collapse/height-collapse.vue.js +26 -0
  60. package/es/height-collapse/height-collapse.vue2.js +44 -0
  61. package/es/height-collapse/index.js +7 -0
  62. package/es/height-collapse/props.js +11 -0
  63. package/es/height-collapse/style/index.css +32 -0
  64. package/es/help-tag/help-tag.vue.js +46 -0
  65. package/es/help-tag/help-tag.vue2.js +51 -0
  66. package/es/help-tag/index.js +7 -0
  67. package/es/help-tag/props.js +9 -0
  68. package/es/help-tag/style/index.css +8 -0
  69. package/es/image-upload/image-upload.vue.js +116 -0
  70. package/es/image-upload/image-upload.vue2.js +93 -0
  71. package/es/image-upload/index.js +7 -0
  72. package/es/image-upload/style/index.css +33 -0
  73. package/es/index.js +63 -0
  74. package/es/installs.js +41 -0
  75. package/es/left-condition/index.js +7 -0
  76. package/es/left-condition/left-condition-sub.vue.js +36 -0
  77. package/es/left-condition/left-condition-sub.vue2.js +78 -0
  78. package/es/left-condition/left-condition.vue.js +77 -0
  79. package/es/left-condition/left-condition.vue2.js +162 -0
  80. package/es/left-condition/style/index.css +10 -0
  81. package/es/left-condition-enum/index.js +7 -0
  82. package/es/left-condition-enum/left-condition-enum.vue.js +22 -0
  83. package/es/left-condition-enum/left-condition-enum.vue2.js +42 -0
  84. package/es/left-condition-enum/style/index.css +10 -0
  85. package/es/node_modules/.pnpm/@vueuse_core@11.3.0_vue@3.5.17_typescript@5.8.3_/node_modules/@vueuse/core/index.js +99 -0
  86. package/es/node_modules/.pnpm/@vueuse_shared@11.3.0_vue@3.5.17_typescript@5.8.3_/node_modules/@vueuse/shared/index.js +22 -0
  87. package/es/node_modules/.pnpm/axios@1.10.0/node_modules/axios/index.js +38 -0
  88. package/es/node_modules/.pnpm/axios@1.10.0/node_modules/axios/lib/adapters/adapters.js +53 -0
  89. package/es/node_modules/.pnpm/axios@1.10.0/node_modules/axios/lib/adapters/fetch.js +141 -0
  90. package/es/node_modules/.pnpm/axios@1.10.0/node_modules/axios/lib/adapters/xhr.js +71 -0
  91. package/es/node_modules/.pnpm/axios@1.10.0/node_modules/axios/lib/axios.js +46 -0
  92. package/es/node_modules/.pnpm/axios@1.10.0/node_modules/axios/lib/cancel/CancelToken.js +77 -0
  93. package/es/node_modules/.pnpm/axios@1.10.0/node_modules/axios/lib/cancel/CanceledError.js +11 -0
  94. package/es/node_modules/.pnpm/axios@1.10.0/node_modules/axios/lib/cancel/isCancel.js +6 -0
  95. package/es/node_modules/.pnpm/axios@1.10.0/node_modules/axios/lib/core/Axios.js +136 -0
  96. package/es/node_modules/.pnpm/axios@1.10.0/node_modules/axios/lib/core/AxiosError.js +54 -0
  97. package/es/node_modules/.pnpm/axios@1.10.0/node_modules/axios/lib/core/AxiosHeaders.js +181 -0
  98. package/es/node_modules/.pnpm/axios@1.10.0/node_modules/axios/lib/core/InterceptorManager.js +58 -0
  99. package/es/node_modules/.pnpm/axios@1.10.0/node_modules/axios/lib/core/buildFullPath.js +9 -0
  100. package/es/node_modules/.pnpm/axios@1.10.0/node_modules/axios/lib/core/dispatchRequest.js +31 -0
  101. package/es/node_modules/.pnpm/axios@1.10.0/node_modules/axios/lib/core/mergeConfig.js +70 -0
  102. package/es/node_modules/.pnpm/axios@1.10.0/node_modules/axios/lib/core/settle.js +14 -0
  103. package/es/node_modules/.pnpm/axios@1.10.0/node_modules/axios/lib/core/transformData.js +13 -0
  104. package/es/node_modules/.pnpm/axios@1.10.0/node_modules/axios/lib/defaults/index.js +89 -0
  105. package/es/node_modules/.pnpm/axios@1.10.0/node_modules/axios/lib/defaults/transitional.js +8 -0
  106. package/es/node_modules/.pnpm/axios@1.10.0/node_modules/axios/lib/env/data.js +4 -0
  107. package/es/node_modules/.pnpm/axios@1.10.0/node_modules/axios/lib/helpers/AxiosURLSearchParams.js +33 -0
  108. package/es/node_modules/.pnpm/axios@1.10.0/node_modules/axios/lib/helpers/HttpStatusCode.js +71 -0
  109. package/es/node_modules/.pnpm/axios@1.10.0/node_modules/axios/lib/helpers/bind.js +8 -0
  110. package/es/node_modules/.pnpm/axios@1.10.0/node_modules/axios/lib/helpers/buildURL.js +23 -0
  111. package/es/node_modules/.pnpm/axios@1.10.0/node_modules/axios/lib/helpers/combineURLs.js +6 -0
  112. package/es/node_modules/.pnpm/axios@1.10.0/node_modules/axios/lib/helpers/composeSignals.js +30 -0
  113. package/es/node_modules/.pnpm/axios@1.10.0/node_modules/axios/lib/helpers/cookies.js +32 -0
  114. package/es/node_modules/.pnpm/axios@1.10.0/node_modules/axios/lib/helpers/formDataToJSON.js +31 -0
  115. package/es/node_modules/.pnpm/axios@1.10.0/node_modules/axios/lib/helpers/isAbsoluteURL.js +6 -0
  116. package/es/node_modules/.pnpm/axios@1.10.0/node_modules/axios/lib/helpers/isAxiosError.js +7 -0
  117. package/es/node_modules/.pnpm/axios@1.10.0/node_modules/axios/lib/helpers/isURLSameOrigin.js +8 -0
  118. package/es/node_modules/.pnpm/axios@1.10.0/node_modules/axios/lib/helpers/null.js +4 -0
  119. package/es/node_modules/.pnpm/axios@1.10.0/node_modules/axios/lib/helpers/parseHeaders.js +30 -0
  120. package/es/node_modules/.pnpm/axios@1.10.0/node_modules/axios/lib/helpers/parseProtocol.js +7 -0
  121. package/es/node_modules/.pnpm/axios@1.10.0/node_modules/axios/lib/helpers/progressEventReducer.js +35 -0
  122. package/es/node_modules/.pnpm/axios@1.10.0/node_modules/axios/lib/helpers/resolveConfig.js +33 -0
  123. package/es/node_modules/.pnpm/axios@1.10.0/node_modules/axios/lib/helpers/speedometer.js +19 -0
  124. package/es/node_modules/.pnpm/axios@1.10.0/node_modules/axios/lib/helpers/spread.js +8 -0
  125. package/es/node_modules/.pnpm/axios@1.10.0/node_modules/axios/lib/helpers/throttle.js +15 -0
  126. package/es/node_modules/.pnpm/axios@1.10.0/node_modules/axios/lib/helpers/toFormData.js +85 -0
  127. package/es/node_modules/.pnpm/axios@1.10.0/node_modules/axios/lib/helpers/toURLEncodedForm.js +13 -0
  128. package/es/node_modules/.pnpm/axios@1.10.0/node_modules/axios/lib/helpers/trackStream.js +63 -0
  129. package/es/node_modules/.pnpm/axios@1.10.0/node_modules/axios/lib/helpers/validator.js +54 -0
  130. package/es/node_modules/.pnpm/axios@1.10.0/node_modules/axios/lib/platform/browser/classes/Blob.js +4 -0
  131. package/es/node_modules/.pnpm/axios@1.10.0/node_modules/axios/lib/platform/browser/classes/FormData.js +4 -0
  132. package/es/node_modules/.pnpm/axios@1.10.0/node_modules/axios/lib/platform/browser/classes/URLSearchParams.js +5 -0
  133. package/es/node_modules/.pnpm/axios@1.10.0/node_modules/axios/lib/platform/browser/index.js +15 -0
  134. package/es/node_modules/.pnpm/axios@1.10.0/node_modules/axios/lib/platform/common/utils.js +9 -0
  135. package/es/node_modules/.pnpm/axios@1.10.0/node_modules/axios/lib/platform/index.js +9 -0
  136. package/es/node_modules/.pnpm/axios@1.10.0/node_modules/axios/lib/utils.js +222 -0
  137. package/es/node_modules/.pnpm/dayjs@1.11.13/node_modules/dayjs/dayjs.min.js +282 -0
  138. package/es/node_modules/.pnpm/echarts@6.0.0/node_modules/echarts/index.js +97 -0
  139. package/es/node_modules/.pnpm/echarts@6.0.0/node_modules/echarts/lib/animation/basicTransition.js +96 -0
  140. package/es/node_modules/.pnpm/echarts@6.0.0/node_modules/echarts/lib/animation/customGraphicKeyframeAnimation.js +56 -0
  141. package/es/node_modules/.pnpm/echarts@6.0.0/node_modules/echarts/lib/animation/customGraphicTransition.js +242 -0
  142. package/es/node_modules/.pnpm/echarts@6.0.0/node_modules/echarts/lib/animation/morphTransitionHelper.js +106 -0
  143. package/es/node_modules/.pnpm/echarts@6.0.0/node_modules/echarts/lib/animation/universalTransition.js +345 -0
  144. package/es/node_modules/.pnpm/echarts@6.0.0/node_modules/echarts/lib/chart/bar/BarSeries.js +56 -0
  145. package/es/node_modules/.pnpm/echarts@6.0.0/node_modules/echarts/lib/chart/bar/BarView.js +487 -0
  146. package/es/node_modules/.pnpm/echarts@6.0.0/node_modules/echarts/lib/chart/bar/BaseBarSeries.js +77 -0
  147. package/es/node_modules/.pnpm/echarts@6.0.0/node_modules/echarts/lib/chart/bar/PictorialBarSeries.js +49 -0
  148. package/es/node_modules/.pnpm/echarts@6.0.0/node_modules/echarts/lib/chart/bar/PictorialBarView.js +325 -0
  149. package/es/node_modules/.pnpm/echarts@6.0.0/node_modules/echarts/lib/chart/bar/install.js +23 -0
  150. package/es/node_modules/.pnpm/echarts@6.0.0/node_modules/echarts/lib/chart/bar/installPictorialBar.js +10 -0
  151. package/lib/annex-upload/style/index.css +7 -0
  152. package/lib/border-wrap/style/index.css +24 -0
  153. package/lib/common-import/style/index.css +32 -0
  154. package/lib/complex-search/style/index.css +24 -0
  155. package/lib/copy/style/index.css +12 -0
  156. package/lib/country-platform-shop-condition/style/index.css +59 -0
  157. package/lib/drop-down-condition/style/index.css +64 -0
  158. package/lib/echart-gauge/style/index.css +4 -0
  159. package/lib/file-download-wrapper/style/index.css +66 -0
  160. package/lib/filter-container/style/index.css +16 -0
  161. package/lib/filter-wrapper/style/index.css +3 -0
  162. package/lib/height-collapse/style/index.css +32 -0
  163. package/lib/help-tag/style/index.css +8 -0
  164. package/lib/image-upload/style/index.css +33 -0
  165. package/lib/left-condition/style/index.css +10 -0
  166. package/lib/left-condition-enum/style/index.css +10 -0
  167. package/lib/operation-log/style/index.css +234 -0
  168. package/lib/scale-screen/style/index.css +0 -0
  169. package/lib/style.css +1405 -0
  170. package/lib/styles/custom.css +82 -0
  171. package/lib/styles/globals.css +699 -0
  172. package/lib/styles/index.css +753 -0
  173. package/lib/styles/variables.css +34 -0
  174. package/package.json +1 -1
@@ -0,0 +1,181 @@
1
+ import i from "../utils.js";
2
+ import S from "../helpers/parseHeaders.js";
3
+ const h = Symbol("internals");
4
+ function y(r) {
5
+ return r && String(r).trim().toLowerCase();
6
+ }
7
+ function m(r) {
8
+ return r === !1 || r == null ? r : i.isArray(r) ? r.map(m) : String(r);
9
+ }
10
+ function A(r) {
11
+ const t = /* @__PURE__ */ Object.create(null), e = /([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;
12
+ let s;
13
+ for (; s = e.exec(r); )
14
+ t[s[1]] = s[2];
15
+ return t;
16
+ }
17
+ const k = (r) => /^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(r.trim());
18
+ function g(r, t, e, s, n) {
19
+ if (i.isFunction(s))
20
+ return s.call(this, t, e);
21
+ if (n && (t = e), !!i.isString(t)) {
22
+ if (i.isString(s))
23
+ return t.indexOf(s) !== -1;
24
+ if (i.isRegExp(s))
25
+ return s.test(t);
26
+ }
27
+ }
28
+ function E(r) {
29
+ return r.trim().toLowerCase().replace(/([a-z\d])(\w*)/g, (t, e, s) => e.toUpperCase() + s);
30
+ }
31
+ function j(r, t) {
32
+ const e = i.toCamelCase(" " + t);
33
+ ["get", "set", "has"].forEach((s) => {
34
+ Object.defineProperty(r, s + e, {
35
+ value: function(n, o, f) {
36
+ return this[s].call(this, t, n, o, f);
37
+ },
38
+ configurable: !0
39
+ });
40
+ });
41
+ }
42
+ class b {
43
+ constructor(t) {
44
+ t && this.set(t);
45
+ }
46
+ set(t, e, s) {
47
+ const n = this;
48
+ function o(c, l, a) {
49
+ const u = y(l);
50
+ if (!u)
51
+ throw new Error("header name must be a non-empty string");
52
+ const p = i.findKey(n, u);
53
+ (!p || n[p] === void 0 || a === !0 || a === void 0 && n[p] !== !1) && (n[p || l] = m(c));
54
+ }
55
+ const f = (c, l) => i.forEach(c, (a, u) => o(a, u, l));
56
+ if (i.isPlainObject(t) || t instanceof this.constructor)
57
+ f(t, e);
58
+ else if (i.isString(t) && (t = t.trim()) && !k(t))
59
+ f(S(t), e);
60
+ else if (i.isObject(t) && i.isIterable(t)) {
61
+ let c = {}, l, a;
62
+ for (const u of t) {
63
+ if (!i.isArray(u))
64
+ throw TypeError("Object iterator must return a key-value pair");
65
+ c[a = u[0]] = (l = c[a]) ? i.isArray(l) ? [...l, u[1]] : [l, u[1]] : u[1];
66
+ }
67
+ f(c, e);
68
+ } else
69
+ t != null && o(e, t, s);
70
+ return this;
71
+ }
72
+ get(t, e) {
73
+ if (t = y(t), t) {
74
+ const s = i.findKey(this, t);
75
+ if (s) {
76
+ const n = this[s];
77
+ if (!e)
78
+ return n;
79
+ if (e === !0)
80
+ return A(n);
81
+ if (i.isFunction(e))
82
+ return e.call(this, n, s);
83
+ if (i.isRegExp(e))
84
+ return e.exec(n);
85
+ throw new TypeError("parser must be boolean|regexp|function");
86
+ }
87
+ }
88
+ }
89
+ has(t, e) {
90
+ if (t = y(t), t) {
91
+ const s = i.findKey(this, t);
92
+ return !!(s && this[s] !== void 0 && (!e || g(this, this[s], s, e)));
93
+ }
94
+ return !1;
95
+ }
96
+ delete(t, e) {
97
+ const s = this;
98
+ let n = !1;
99
+ function o(f) {
100
+ if (f = y(f), f) {
101
+ const c = i.findKey(s, f);
102
+ c && (!e || g(s, s[c], c, e)) && (delete s[c], n = !0);
103
+ }
104
+ }
105
+ return i.isArray(t) ? t.forEach(o) : o(t), n;
106
+ }
107
+ clear(t) {
108
+ const e = Object.keys(this);
109
+ let s = e.length, n = !1;
110
+ for (; s--; ) {
111
+ const o = e[s];
112
+ (!t || g(this, this[o], o, t, !0)) && (delete this[o], n = !0);
113
+ }
114
+ return n;
115
+ }
116
+ normalize(t) {
117
+ const e = this, s = {};
118
+ return i.forEach(this, (n, o) => {
119
+ const f = i.findKey(s, o);
120
+ if (f) {
121
+ e[f] = m(n), delete e[o];
122
+ return;
123
+ }
124
+ const c = t ? E(o) : String(o).trim();
125
+ c !== o && delete e[o], e[c] = m(n), s[c] = !0;
126
+ }), this;
127
+ }
128
+ concat(...t) {
129
+ return this.constructor.concat(this, ...t);
130
+ }
131
+ toJSON(t) {
132
+ const e = /* @__PURE__ */ Object.create(null);
133
+ return i.forEach(this, (s, n) => {
134
+ s != null && s !== !1 && (e[n] = t && i.isArray(s) ? s.join(", ") : s);
135
+ }), e;
136
+ }
137
+ [Symbol.iterator]() {
138
+ return Object.entries(this.toJSON())[Symbol.iterator]();
139
+ }
140
+ toString() {
141
+ return Object.entries(this.toJSON()).map(([t, e]) => t + ": " + e).join(`
142
+ `);
143
+ }
144
+ getSetCookie() {
145
+ return this.get("set-cookie") || [];
146
+ }
147
+ get [Symbol.toStringTag]() {
148
+ return "AxiosHeaders";
149
+ }
150
+ static from(t) {
151
+ return t instanceof this ? t : new this(t);
152
+ }
153
+ static concat(t, ...e) {
154
+ const s = new this(t);
155
+ return e.forEach((n) => s.set(n)), s;
156
+ }
157
+ static accessor(t) {
158
+ const s = (this[h] = this[h] = {
159
+ accessors: {}
160
+ }).accessors, n = this.prototype;
161
+ function o(f) {
162
+ const c = y(f);
163
+ s[c] || (j(n, f), s[c] = !0);
164
+ }
165
+ return i.isArray(t) ? t.forEach(o) : o(t), this;
166
+ }
167
+ }
168
+ b.accessor(["Content-Type", "Content-Length", "Accept", "Accept-Encoding", "User-Agent", "Authorization"]);
169
+ i.reduceDescriptors(b.prototype, ({ value: r }, t) => {
170
+ let e = t[0].toUpperCase() + t.slice(1);
171
+ return {
172
+ get: () => r,
173
+ set(s) {
174
+ this[e] = s;
175
+ }
176
+ };
177
+ });
178
+ i.freezeMethods(b);
179
+ export {
180
+ b as default
181
+ };
@@ -0,0 +1,58 @@
1
+ import n from "../utils.js";
2
+ class a {
3
+ constructor() {
4
+ this.handlers = [];
5
+ }
6
+ /**
7
+ * Add a new interceptor to the stack
8
+ *
9
+ * @param {Function} fulfilled The function to handle `then` for a `Promise`
10
+ * @param {Function} rejected The function to handle `reject` for a `Promise`
11
+ *
12
+ * @return {Number} An ID used to remove interceptor later
13
+ */
14
+ use(s, h, r) {
15
+ return this.handlers.push({
16
+ fulfilled: s,
17
+ rejected: h,
18
+ synchronous: r ? r.synchronous : !1,
19
+ runWhen: r ? r.runWhen : null
20
+ }), this.handlers.length - 1;
21
+ }
22
+ /**
23
+ * Remove an interceptor from the stack
24
+ *
25
+ * @param {Number} id The ID that was returned by `use`
26
+ *
27
+ * @returns {Boolean} `true` if the interceptor was removed, `false` otherwise
28
+ */
29
+ eject(s) {
30
+ this.handlers[s] && (this.handlers[s] = null);
31
+ }
32
+ /**
33
+ * Clear all interceptors from the stack
34
+ *
35
+ * @returns {void}
36
+ */
37
+ clear() {
38
+ this.handlers && (this.handlers = []);
39
+ }
40
+ /**
41
+ * Iterate over all the registered interceptors
42
+ *
43
+ * This method is particularly useful for skipping over any
44
+ * interceptors that may have become `null` calling `eject`.
45
+ *
46
+ * @param {Function} fn The function to call for each interceptor
47
+ *
48
+ * @returns {void}
49
+ */
50
+ forEach(s) {
51
+ n.forEach(this.handlers, function(r) {
52
+ r !== null && s(r);
53
+ });
54
+ }
55
+ }
56
+ export {
57
+ a as default
58
+ };
@@ -0,0 +1,9 @@
1
+ import r from "../helpers/isAbsoluteURL.js";
2
+ import f from "../helpers/combineURLs.js";
3
+ function u(l, i, t) {
4
+ let o = !r(i);
5
+ return l && (o || t == !1) ? f(l, i) : i;
6
+ }
7
+ export {
8
+ u as default
9
+ };
@@ -0,0 +1,31 @@
1
+ import r from "./transformData.js";
2
+ import p from "../cancel/isCancel.js";
3
+ import o from "../defaults/index.js";
4
+ import l from "../cancel/CanceledError.js";
5
+ import a from "./AxiosHeaders.js";
6
+ import m from "../adapters/adapters.js";
7
+ function d(e) {
8
+ if (e.cancelToken && e.cancelToken.throwIfRequested(), e.signal && e.signal.aborted)
9
+ throw new l(null, e);
10
+ }
11
+ function q(e) {
12
+ return d(e), e.headers = a.from(e.headers), e.data = r.call(
13
+ e,
14
+ e.transformRequest
15
+ ), ["post", "put", "patch"].indexOf(e.method) !== -1 && e.headers.setContentType("application/x-www-form-urlencoded", !1), m.getAdapter(e.adapter || o.adapter)(e).then(function(t) {
16
+ return d(e), t.data = r.call(
17
+ e,
18
+ e.transformResponse,
19
+ t
20
+ ), t.headers = a.from(t.headers), t;
21
+ }, function(t) {
22
+ return p(t) || (d(e), t && t.response && (t.response.data = r.call(
23
+ e,
24
+ e.transformResponse,
25
+ t.response
26
+ ), t.response.headers = a.from(t.response.headers))), Promise.reject(t);
27
+ });
28
+ }
29
+ export {
30
+ q as default
31
+ };
@@ -0,0 +1,70 @@
1
+ import i from "../utils.js";
2
+ import h from "./AxiosHeaders.js";
3
+ const c = (s) => s instanceof h ? { ...s } : s;
4
+ function C(s, a) {
5
+ a = a || {};
6
+ const u = {};
7
+ function d(t, e, r, o) {
8
+ return i.isPlainObject(t) && i.isPlainObject(e) ? i.merge.call({ caseless: o }, t, e) : i.isPlainObject(e) ? i.merge({}, e) : i.isArray(e) ? e.slice() : e;
9
+ }
10
+ function l(t, e, r, o) {
11
+ if (i.isUndefined(e)) {
12
+ if (!i.isUndefined(t))
13
+ return d(void 0, t, r, o);
14
+ } else return d(t, e, r, o);
15
+ }
16
+ function f(t, e) {
17
+ if (!i.isUndefined(e))
18
+ return d(void 0, e);
19
+ }
20
+ function n(t, e) {
21
+ if (i.isUndefined(e)) {
22
+ if (!i.isUndefined(t))
23
+ return d(void 0, t);
24
+ } else return d(void 0, e);
25
+ }
26
+ function m(t, e, r) {
27
+ if (r in a)
28
+ return d(t, e);
29
+ if (r in s)
30
+ return d(void 0, t);
31
+ }
32
+ const g = {
33
+ url: f,
34
+ method: f,
35
+ data: f,
36
+ baseURL: n,
37
+ transformRequest: n,
38
+ transformResponse: n,
39
+ paramsSerializer: n,
40
+ timeout: n,
41
+ timeoutMessage: n,
42
+ withCredentials: n,
43
+ withXSRFToken: n,
44
+ adapter: n,
45
+ responseType: n,
46
+ xsrfCookieName: n,
47
+ xsrfHeaderName: n,
48
+ onUploadProgress: n,
49
+ onDownloadProgress: n,
50
+ decompress: n,
51
+ maxContentLength: n,
52
+ maxBodyLength: n,
53
+ beforeRedirect: n,
54
+ transport: n,
55
+ httpAgent: n,
56
+ httpsAgent: n,
57
+ cancelToken: n,
58
+ socketPath: n,
59
+ responseEncoding: n,
60
+ validateStatus: m,
61
+ headers: (t, e, r) => l(c(t), c(e), r, !0)
62
+ };
63
+ return i.forEach(Object.keys(Object.assign({}, s, a)), function(e) {
64
+ const r = g[e] || l, o = r(s[e], a[e], e);
65
+ i.isUndefined(o) && r !== m || (u[e] = o);
66
+ }), u;
67
+ }
68
+ export {
69
+ C as default
70
+ };
@@ -0,0 +1,14 @@
1
+ import a from "./AxiosError.js";
2
+ function E(i, f, t) {
3
+ const u = t.config.validateStatus;
4
+ !t.status || !u || u(t.status) ? i(t) : f(new a(
5
+ "Request failed with status code " + t.status,
6
+ [a.ERR_BAD_REQUEST, a.ERR_BAD_RESPONSE][Math.floor(t.status / 100) - 4],
7
+ t.config,
8
+ t.request,
9
+ t
10
+ ));
11
+ }
12
+ export {
13
+ E as default
14
+ };
@@ -0,0 +1,13 @@
1
+ import i from "../utils.js";
2
+ import m from "../defaults/index.js";
3
+ import s from "./AxiosHeaders.js";
4
+ function h(f, t) {
5
+ const o = this || m, r = t || o, n = s.from(r.headers);
6
+ let a = r.data;
7
+ return i.forEach(f, function(e) {
8
+ a = e.call(o, a, n.normalize(), t ? t.status : void 0);
9
+ }), n.normalize(), a;
10
+ }
11
+ export {
12
+ h as default
13
+ };
@@ -0,0 +1,89 @@
1
+ import t from "../utils.js";
2
+ import p from "../core/AxiosError.js";
3
+ import u from "./transitional.js";
4
+ import S from "../helpers/toFormData.js";
5
+ import h from "../helpers/toURLEncodedForm.js";
6
+ import l from "../platform/index.js";
7
+ import O from "../helpers/formDataToJSON.js";
8
+ function y(i, r, e) {
9
+ if (t.isString(i))
10
+ try {
11
+ return (r || JSON.parse)(i), t.trim(i);
12
+ } catch (n) {
13
+ if (n.name !== "SyntaxError")
14
+ throw n;
15
+ }
16
+ return (e || JSON.stringify)(i);
17
+ }
18
+ const a = {
19
+ transitional: u,
20
+ adapter: ["xhr", "http", "fetch"],
21
+ transformRequest: [function(r, e) {
22
+ const n = e.getContentType() || "", s = n.indexOf("application/json") > -1, f = t.isObject(r);
23
+ if (f && t.isHTMLForm(r) && (r = new FormData(r)), t.isFormData(r))
24
+ return s ? JSON.stringify(O(r)) : r;
25
+ if (t.isArrayBuffer(r) || t.isBuffer(r) || t.isStream(r) || t.isFile(r) || t.isBlob(r) || t.isReadableStream(r))
26
+ return r;
27
+ if (t.isArrayBufferView(r))
28
+ return r.buffer;
29
+ if (t.isURLSearchParams(r))
30
+ return e.setContentType("application/x-www-form-urlencoded;charset=utf-8", !1), r.toString();
31
+ let o;
32
+ if (f) {
33
+ if (n.indexOf("application/x-www-form-urlencoded") > -1)
34
+ return h(r, this.formSerializer).toString();
35
+ if ((o = t.isFileList(r)) || n.indexOf("multipart/form-data") > -1) {
36
+ const c = this.env && this.env.FormData;
37
+ return S(
38
+ o ? { "files[]": r } : r,
39
+ c && new c(),
40
+ this.formSerializer
41
+ );
42
+ }
43
+ }
44
+ return f || s ? (e.setContentType("application/json", !1), y(r)) : r;
45
+ }],
46
+ transformResponse: [function(r) {
47
+ const e = this.transitional || a.transitional, n = e && e.forcedJSONParsing, s = this.responseType === "json";
48
+ if (t.isResponse(r) || t.isReadableStream(r))
49
+ return r;
50
+ if (r && t.isString(r) && (n && !this.responseType || s)) {
51
+ const m = !(e && e.silentJSONParsing) && s;
52
+ try {
53
+ return JSON.parse(r);
54
+ } catch (o) {
55
+ if (m)
56
+ throw o.name === "SyntaxError" ? p.from(o, p.ERR_BAD_RESPONSE, this, null, this.response) : o;
57
+ }
58
+ }
59
+ return r;
60
+ }],
61
+ /**
62
+ * A timeout in milliseconds to abort a request. If set to 0 (default) a
63
+ * timeout is not created.
64
+ */
65
+ timeout: 0,
66
+ xsrfCookieName: "XSRF-TOKEN",
67
+ xsrfHeaderName: "X-XSRF-TOKEN",
68
+ maxContentLength: -1,
69
+ maxBodyLength: -1,
70
+ env: {
71
+ FormData: l.classes.FormData,
72
+ Blob: l.classes.Blob
73
+ },
74
+ validateStatus: function(r) {
75
+ return r >= 200 && r < 300;
76
+ },
77
+ headers: {
78
+ common: {
79
+ Accept: "application/json, text/plain, */*",
80
+ "Content-Type": void 0
81
+ }
82
+ }
83
+ };
84
+ t.forEach(["delete", "get", "head", "post", "put", "patch"], (i) => {
85
+ a.headers[i] = {};
86
+ });
87
+ export {
88
+ a as default
89
+ };
@@ -0,0 +1,8 @@
1
+ const r = {
2
+ silentJSONParsing: !0,
3
+ forcedJSONParsing: !0,
4
+ clarifyTimeoutError: !1
5
+ };
6
+ export {
7
+ r as default
8
+ };
@@ -0,0 +1,4 @@
1
+ const o = "1.10.0";
2
+ export {
3
+ o as VERSION
4
+ };
@@ -0,0 +1,33 @@
1
+ import p from "./toFormData.js";
2
+ function i(n) {
3
+ const t = {
4
+ "!": "%21",
5
+ "'": "%27",
6
+ "(": "%28",
7
+ ")": "%29",
8
+ "~": "%7E",
9
+ "%20": "+",
10
+ "%00": "\0"
11
+ };
12
+ return encodeURIComponent(n).replace(/[!'()~]|%20|%00/g, function(r) {
13
+ return t[r];
14
+ });
15
+ }
16
+ function a(n, t) {
17
+ this._pairs = [], n && p(n, this, t);
18
+ }
19
+ const c = a.prototype;
20
+ c.append = function(t, o) {
21
+ this._pairs.push([t, o]);
22
+ };
23
+ c.toString = function(t) {
24
+ const o = t ? function(r) {
25
+ return t.call(this, r, i);
26
+ } : i;
27
+ return this._pairs.map(function(e) {
28
+ return o(e[0]) + "=" + o(e[1]);
29
+ }, "").join("&");
30
+ };
31
+ export {
32
+ a as default
33
+ };
@@ -0,0 +1,71 @@
1
+ const e = {
2
+ Continue: 100,
3
+ SwitchingProtocols: 101,
4
+ Processing: 102,
5
+ EarlyHints: 103,
6
+ Ok: 200,
7
+ Created: 201,
8
+ Accepted: 202,
9
+ NonAuthoritativeInformation: 203,
10
+ NoContent: 204,
11
+ ResetContent: 205,
12
+ PartialContent: 206,
13
+ MultiStatus: 207,
14
+ AlreadyReported: 208,
15
+ ImUsed: 226,
16
+ MultipleChoices: 300,
17
+ MovedPermanently: 301,
18
+ Found: 302,
19
+ SeeOther: 303,
20
+ NotModified: 304,
21
+ UseProxy: 305,
22
+ Unused: 306,
23
+ TemporaryRedirect: 307,
24
+ PermanentRedirect: 308,
25
+ BadRequest: 400,
26
+ Unauthorized: 401,
27
+ PaymentRequired: 402,
28
+ Forbidden: 403,
29
+ NotFound: 404,
30
+ MethodNotAllowed: 405,
31
+ NotAcceptable: 406,
32
+ ProxyAuthenticationRequired: 407,
33
+ RequestTimeout: 408,
34
+ Conflict: 409,
35
+ Gone: 410,
36
+ LengthRequired: 411,
37
+ PreconditionFailed: 412,
38
+ PayloadTooLarge: 413,
39
+ UriTooLong: 414,
40
+ UnsupportedMediaType: 415,
41
+ RangeNotSatisfiable: 416,
42
+ ExpectationFailed: 417,
43
+ ImATeapot: 418,
44
+ MisdirectedRequest: 421,
45
+ UnprocessableEntity: 422,
46
+ Locked: 423,
47
+ FailedDependency: 424,
48
+ TooEarly: 425,
49
+ UpgradeRequired: 426,
50
+ PreconditionRequired: 428,
51
+ TooManyRequests: 429,
52
+ RequestHeaderFieldsTooLarge: 431,
53
+ UnavailableForLegalReasons: 451,
54
+ InternalServerError: 500,
55
+ NotImplemented: 501,
56
+ BadGateway: 502,
57
+ ServiceUnavailable: 503,
58
+ GatewayTimeout: 504,
59
+ HttpVersionNotSupported: 505,
60
+ VariantAlsoNegotiates: 506,
61
+ InsufficientStorage: 507,
62
+ LoopDetected: 508,
63
+ NotExtended: 510,
64
+ NetworkAuthenticationRequired: 511
65
+ };
66
+ Object.entries(e).forEach(([t, o]) => {
67
+ e[o] = t;
68
+ });
69
+ export {
70
+ e as default
71
+ };
@@ -0,0 +1,8 @@
1
+ function u(n, r) {
2
+ return function() {
3
+ return n.apply(r, arguments);
4
+ };
5
+ }
6
+ export {
7
+ u as default
8
+ };
@@ -0,0 +1,23 @@
1
+ import f from "../utils.js";
2
+ import d from "./AxiosURLSearchParams.js";
3
+ function l(e) {
4
+ return encodeURIComponent(e).replace(/%3A/gi, ":").replace(/%24/g, "$").replace(/%2C/gi, ",").replace(/%20/g, "+").replace(/%5B/gi, "[").replace(/%5D/gi, "]");
5
+ }
6
+ function m(e, c, i) {
7
+ if (!c)
8
+ return e;
9
+ const t = i && i.encode || l;
10
+ f.isFunction(i) && (i = {
11
+ serialize: i
12
+ });
13
+ const n = i && i.serialize;
14
+ let r;
15
+ if (n ? r = n(c, i) : r = f.isURLSearchParams(c) ? c.toString() : new d(c, i).toString(t), r) {
16
+ const a = e.indexOf("#");
17
+ a !== -1 && (e = e.slice(0, a)), e += (e.indexOf("?") === -1 ? "?" : "&") + r;
18
+ }
19
+ return e;
20
+ }
21
+ export {
22
+ m as default
23
+ };
@@ -0,0 +1,6 @@
1
+ function n(e, c) {
2
+ return c ? e.replace(/\/?\/$/, "") + "/" + c.replace(/^\/+/, "") : e;
3
+ }
4
+ export {
5
+ n as default
6
+ };
@@ -0,0 +1,30 @@
1
+ import a from "../cancel/CanceledError.js";
2
+ import s from "../core/AxiosError.js";
3
+ import m from "../utils.js";
4
+ const h = (e, t) => {
5
+ const { length: l } = e = e ? e.filter(Boolean) : [];
6
+ if (t || l) {
7
+ let u = new AbortController(), f;
8
+ const n = function(r) {
9
+ if (!f) {
10
+ f = !0, i();
11
+ const o = r instanceof Error ? r : this.reason;
12
+ u.abort(o instanceof s ? o : new a(o instanceof Error ? o.message : o));
13
+ }
14
+ };
15
+ let c = t && setTimeout(() => {
16
+ c = null, n(new s(`timeout ${t} of ms exceeded`, s.ETIMEDOUT));
17
+ }, t);
18
+ const i = () => {
19
+ e && (c && clearTimeout(c), c = null, e.forEach((r) => {
20
+ r.unsubscribe ? r.unsubscribe(n) : r.removeEventListener("abort", n);
21
+ }), e = null);
22
+ };
23
+ e.forEach((r) => r.addEventListener("abort", n));
24
+ const { signal: b } = u;
25
+ return b.unsubscribe = () => m.asap(i), b;
26
+ }
27
+ };
28
+ export {
29
+ h as default
30
+ };
@@ -0,0 +1,32 @@
1
+ import r from "../utils.js";
2
+ import c from "../platform/index.js";
3
+ const p = c.hasStandardBrowserEnv ? (
4
+ // Standard browser envs support document.cookie
5
+ {
6
+ write(e, t, n, i, s, u) {
7
+ const o = [e + "=" + encodeURIComponent(t)];
8
+ r.isNumber(n) && o.push("expires=" + new Date(n).toGMTString()), r.isString(i) && o.push("path=" + i), r.isString(s) && o.push("domain=" + s), u === !0 && o.push("secure"), document.cookie = o.join("; ");
9
+ },
10
+ read(e) {
11
+ const t = document.cookie.match(new RegExp("(^|;\\s*)(" + e + ")=([^;]*)"));
12
+ return t ? decodeURIComponent(t[3]) : null;
13
+ },
14
+ remove(e) {
15
+ this.write(e, "", Date.now() - 864e5);
16
+ }
17
+ }
18
+ ) : (
19
+ // Non-standard browser env (web workers, react-native) lack needed support.
20
+ {
21
+ write() {
22
+ },
23
+ read() {
24
+ return null;
25
+ },
26
+ remove() {
27
+ }
28
+ }
29
+ );
30
+ export {
31
+ p as default
32
+ };