@quoreadmin/ui 1.10.25 → 1.10.27

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 (212) hide show
  1. package/dist/index.css +1 -1
  2. package/dist/index10.js +209 -180
  3. package/dist/index149.js +11 -5
  4. package/dist/index15.js +26 -26
  5. package/dist/index16.js +32 -22
  6. package/dist/index182.js +14 -14
  7. package/dist/index183.js +3 -3
  8. package/dist/index186.js +4 -4
  9. package/dist/index193.js +2 -2
  10. package/dist/index195.js +9 -9
  11. package/dist/index198.js +17 -17
  12. package/dist/index201.js +25 -25
  13. package/dist/index202.js +2 -2
  14. package/dist/index203.js +2 -2
  15. package/dist/index204.js +1 -1
  16. package/dist/index206.js +2 -2
  17. package/dist/index208.js +14 -14
  18. package/dist/index209.js +1 -1
  19. package/dist/index210.js +1 -1
  20. package/dist/index211.js +3 -3
  21. package/dist/index212.js +6 -6
  22. package/dist/index213.js +29 -84
  23. package/dist/index214.js +109 -400
  24. package/dist/index215.js +36 -22
  25. package/dist/index216.js +26 -33
  26. package/dist/index217.js +31 -111
  27. package/dist/index218.js +50 -35
  28. package/dist/index219.js +43 -26
  29. package/dist/index220.js +3 -35
  30. package/dist/index221.js +9 -51
  31. package/dist/index222.js +18 -42
  32. package/dist/index223.js +10 -4
  33. package/dist/index224.js +10 -9
  34. package/dist/index225.js +38 -18
  35. package/dist/index226.js +21 -10
  36. package/dist/index227.js +88 -10
  37. package/dist/index228.js +403 -35
  38. package/dist/index229.js +22 -21
  39. package/dist/index230.js +4 -4
  40. package/dist/index231.js +1 -1
  41. package/dist/index232.js +1 -1
  42. package/dist/index233.js +1 -1
  43. package/dist/index234.js +7 -7
  44. package/dist/index235.js +2 -2
  45. package/dist/index236.js +1 -1
  46. package/dist/index237.js +2 -2
  47. package/dist/index238.js +126 -21
  48. package/dist/index239.js +37 -21
  49. package/dist/index240.js +80 -20
  50. package/dist/index241.js +20 -836
  51. package/dist/index242.js +19 -701
  52. package/dist/index243.js +19 -175
  53. package/dist/index244.js +11 -11
  54. package/dist/index245.js +160 -19
  55. package/dist/index246.js +228 -22
  56. package/dist/index247.js +36 -19
  57. package/dist/index248.js +10 -20
  58. package/dist/index249.js +22 -3
  59. package/dist/index250.js +21 -186
  60. package/dist/index251.js +19 -132
  61. package/dist/index252.js +744 -1131
  62. package/dist/index253.js +679 -104
  63. package/dist/index254.js +176 -20
  64. package/dist/index255.js +11 -11
  65. package/dist/index256.js +13 -15
  66. package/dist/index257.js +19 -37
  67. package/dist/index258.js +3 -29
  68. package/dist/index259.js +186 -19
  69. package/dist/index260.js +131 -18
  70. package/dist/index261.js +1223 -2
  71. package/dist/index262.js +20 -2
  72. package/dist/index263.js +22 -3709
  73. package/dist/index264.js +22 -60
  74. package/dist/index265.js +29 -83
  75. package/dist/index266.js +20 -52
  76. package/dist/index267.js +20 -215
  77. package/dist/index268.js +2 -10
  78. package/dist/index269.js +2 -57
  79. package/dist/index270.js +241 -49
  80. package/dist/index271.js +7 -53
  81. package/dist/index272.js +133 -76
  82. package/dist/index273.js +74 -719
  83. package/dist/index274.js +51 -44
  84. package/dist/index275.js +77 -62
  85. package/dist/index276.js +26 -11
  86. package/dist/index277.js +22 -705
  87. package/dist/index278.js +22 -820
  88. package/dist/index279.js +16 -253
  89. package/dist/index280.js +16 -7
  90. package/dist/index281.js +22 -137
  91. package/dist/index282.js +3 -83
  92. package/dist/index283.js +26 -53
  93. package/dist/index284.js +3692 -62
  94. package/dist/index285.js +60 -26
  95. package/dist/index286.js +83 -22
  96. package/dist/index287.js +52 -22
  97. package/dist/index288.js +214 -15
  98. package/dist/index289.js +9 -16
  99. package/dist/index290.js +55 -21
  100. package/dist/index291.js +60 -79
  101. package/dist/index292.js +54 -20
  102. package/dist/index293.js +81 -20
  103. package/dist/index294.js +722 -155
  104. package/dist/index295.js +44 -225
  105. package/dist/index296.js +64 -37
  106. package/dist/index297.js +11 -10
  107. package/dist/index298.js +705 -3
  108. package/dist/index299.js +814 -21
  109. package/dist/index300.js +2 -265
  110. package/dist/index301.js +78 -5
  111. package/dist/index302.js +21 -149
  112. package/dist/index303.js +929 -63
  113. package/dist/index304.js +21 -90
  114. package/dist/index305.js +19 -28
  115. package/dist/index306.js +19 -15
  116. package/dist/index307.js +67 -73
  117. package/dist/index308.js +19 -4
  118. package/dist/index309.js +19 -2
  119. package/dist/index310.js +21 -83
  120. package/dist/index311.js +21 -57
  121. package/dist/index312.js +63 -6
  122. package/dist/index313.js +264 -4
  123. package/dist/index314.js +5 -185
  124. package/dist/index315.js +143 -56
  125. package/dist/index316.js +69 -75
  126. package/dist/index317.js +82 -1525
  127. package/dist/index318.js +26 -383
  128. package/dist/index319.js +13 -2728
  129. package/dist/index320.js +72 -83
  130. package/dist/index321.js +3 -3797
  131. package/dist/index322.js +2 -60
  132. package/dist/index323.js +84 -15
  133. package/dist/index324.js +56 -82
  134. package/dist/index325.js +4 -200
  135. package/dist/index326.js +4 -245
  136. package/dist/index327.js +181 -74
  137. package/dist/index328.js +62 -21
  138. package/dist/index329.js +74 -934
  139. package/dist/index330.js +36 -21
  140. package/dist/index331.js +8 -19
  141. package/dist/index332.js +12 -19
  142. package/dist/index333.js +54 -68
  143. package/dist/index334.js +12 -19
  144. package/dist/index335.js +14 -19
  145. package/dist/index336.js +57 -21
  146. package/dist/index337.js +51 -21
  147. package/dist/index338.js +31 -63
  148. package/dist/index339.js +2 -2
  149. package/dist/index340.js +5 -37
  150. package/dist/index341.js +2 -9
  151. package/dist/index342.js +23 -13
  152. package/dist/index343.js +38 -52
  153. package/dist/index344.js +2 -12
  154. package/dist/index345.js +11 -14
  155. package/dist/index346.js +16 -54
  156. package/dist/index347.js +10 -52
  157. package/dist/index348.js +10 -31
  158. package/dist/index349.js +17 -2
  159. package/dist/index350.js +2 -5
  160. package/dist/index351.js +9 -2
  161. package/dist/index352.js +10 -23
  162. package/dist/index353.js +12 -39
  163. package/dist/index354.js +1534 -2
  164. package/dist/index355.js +384 -9
  165. package/dist/index356.js +2727 -16
  166. package/dist/index357.js +86 -10
  167. package/dist/index358.js +3797 -9
  168. package/dist/index359.js +58 -15
  169. package/dist/index360.js +15 -2
  170. package/dist/index361.js +84 -9
  171. package/dist/index362.js +201 -9
  172. package/dist/index363.js +245 -13
  173. package/dist/index364.js +19 -18
  174. package/dist/index365.js +19 -56
  175. package/dist/index366.js +61 -22
  176. package/dist/index367.js +37 -7
  177. package/dist/index368.js +16 -52
  178. package/dist/index369.js +57 -7
  179. package/dist/index370.js +23 -10
  180. package/dist/index371.js +7 -7
  181. package/dist/index372.js +54 -27
  182. package/dist/index373.js +7 -2
  183. package/dist/index374.js +11 -81
  184. package/dist/index375.js +6 -179
  185. package/dist/index376.js +28 -20
  186. package/dist/index377.js +2 -20
  187. package/dist/index378.js +79 -61
  188. package/dist/index379.js +179 -36
  189. package/dist/index38.js +2 -2
  190. package/dist/index380.js +17 -31
  191. package/dist/index381.js +30 -10
  192. package/dist/index382.js +10 -3
  193. package/dist/index383.js +3 -3
  194. package/dist/index384.js +4 -13
  195. package/dist/index385.js +13 -7
  196. package/dist/index386.js +7 -14
  197. package/dist/index387.js +13 -4
  198. package/dist/index388.js +5 -36
  199. package/dist/index389.js +36 -37
  200. package/dist/index390.js +35 -28
  201. package/dist/index391.js +28 -62
  202. package/dist/index392.js +62 -96
  203. package/dist/index393.js +100 -16
  204. package/dist/index394.js +90 -100
  205. package/dist/index395.js +98 -91
  206. package/dist/index396.js +1 -1
  207. package/dist/index401.js +1 -1
  208. package/dist/index402.js +2 -2
  209. package/dist/index79.js +218 -129
  210. package/dist/src/components/calendar/calendar.d.ts +18 -1
  211. package/package.json +1 -1
  212. package/src/assets/illustrations/pending-to-do.png +0 -0
package/dist/index315.js CHANGED
@@ -1,65 +1,152 @@
1
- import s from "./index300.js";
2
- import m from "./index373.js";
3
- import u from "./index374.js";
4
- import { getFetch as b } from "./index375.js";
5
- import d from "./index311.js";
6
- const c = {
7
- http: m,
8
- xhr: u,
9
- fetch: {
10
- get: b
1
+ import d from "./index313.js";
2
+ import S from "./index368.js";
3
+ import E from "./index369.js";
4
+ import I from "./index370.js";
5
+ import w from "./index316.js";
6
+ import U from "./index371.js";
7
+ import y from "./index372.js";
8
+ import A from "./index327.js";
9
+ import T from "./index373.js";
10
+ const l = y.validators;
11
+ class q {
12
+ constructor(t) {
13
+ this.defaults = t || {}, this.interceptors = {
14
+ request: new E(),
15
+ response: new E()
16
+ };
11
17
  }
12
- };
13
- s.forEach(c, (e, o) => {
14
- if (e) {
18
+ /**
19
+ * Dispatch a request
20
+ *
21
+ * @param {String|Object} configOrUrl The config specific for this request (merged with this.defaults)
22
+ * @param {?Object} config
23
+ *
24
+ * @returns {Promise} The Promise to be fulfilled
25
+ */
26
+ async request(t, e) {
15
27
  try {
16
- Object.defineProperty(e, "name", { value: o });
17
- } catch {
28
+ return await this._request(t, e);
29
+ } catch (r) {
30
+ if (r instanceof Error) {
31
+ let n = {};
32
+ Error.captureStackTrace ? Error.captureStackTrace(n) : n = new Error();
33
+ const s = n.stack ? n.stack.replace(/^.+\n/, "") : "";
34
+ try {
35
+ r.stack ? s && !String(r.stack).endsWith(s.replace(/^.+\n.+\n/, "")) && (r.stack += `
36
+ ` + s) : r.stack = s;
37
+ } catch {
38
+ }
39
+ }
40
+ throw r;
18
41
  }
19
- Object.defineProperty(e, "adapterName", { value: o });
20
42
  }
21
- });
22
- const f = (e) => `- ${e}`, g = (e) => s.isFunction(e) || e === null || e === !1;
23
- function w(e, o) {
24
- e = s.isArray(e) ? e : [e];
25
- const { length: a } = e;
26
- let i, t;
27
- const p = {};
28
- for (let r = 0; r < a; r++) {
29
- i = e[r];
30
- let n;
31
- if (t = i, !g(i) && (t = c[(n = String(i)).toLowerCase()], t === void 0))
32
- throw new d(`Unknown adapter '${n}'`);
33
- if (t && (s.isFunction(t) || (t = t.get(o))))
34
- break;
35
- p[n || "#" + r] = t;
43
+ _request(t, e) {
44
+ typeof t == "string" ? (e = e || {}, e.url = t) : e = t || {}, e = w(this.defaults, e);
45
+ const { transitional: r, paramsSerializer: n, headers: s } = e;
46
+ r !== void 0 && y.assertOptions(
47
+ r,
48
+ {
49
+ silentJSONParsing: l.transitional(l.boolean),
50
+ forcedJSONParsing: l.transitional(l.boolean),
51
+ clarifyTimeoutError: l.transitional(l.boolean),
52
+ legacyInterceptorReqResOrdering: l.transitional(l.boolean)
53
+ },
54
+ !1
55
+ ), n != null && (d.isFunction(n) ? e.paramsSerializer = {
56
+ serialize: n
57
+ } : y.assertOptions(
58
+ n,
59
+ {
60
+ encode: l.function,
61
+ serialize: l.function
62
+ },
63
+ !0
64
+ )), e.allowAbsoluteUrls !== void 0 || (this.defaults.allowAbsoluteUrls !== void 0 ? e.allowAbsoluteUrls = this.defaults.allowAbsoluteUrls : e.allowAbsoluteUrls = !0), y.assertOptions(
65
+ e,
66
+ {
67
+ baseUrl: l.spelling("baseURL"),
68
+ withXsrfToken: l.spelling("withXSRFToken")
69
+ },
70
+ !0
71
+ ), e.method = (e.method || this.defaults.method || "get").toLowerCase();
72
+ let f = s && d.merge(s.common, s[e.method]);
73
+ s && d.forEach(["delete", "get", "head", "post", "put", "patch", "common"], (a) => {
74
+ delete s[a];
75
+ }), e.headers = A.concat(f, s);
76
+ const u = [];
77
+ let b = !0;
78
+ this.interceptors.request.forEach(function(o) {
79
+ if (typeof o.runWhen == "function" && o.runWhen(e) === !1)
80
+ return;
81
+ b = b && o.synchronous;
82
+ const m = e.transitional || T;
83
+ m && m.legacyInterceptorReqResOrdering ? u.unshift(o.fulfilled, o.rejected) : u.push(o.fulfilled, o.rejected);
84
+ });
85
+ const p = [];
86
+ this.interceptors.response.forEach(function(o) {
87
+ p.push(o.fulfilled, o.rejected);
88
+ });
89
+ let h, i = 0, c;
90
+ if (!b) {
91
+ const a = [I.bind(this), void 0];
92
+ for (a.unshift(...u), a.push(...p), c = a.length, h = Promise.resolve(e); i < c; )
93
+ h = h.then(a[i++], a[i++]);
94
+ return h;
95
+ }
96
+ c = u.length;
97
+ let R = e;
98
+ for (; i < c; ) {
99
+ const a = u[i++], o = u[i++];
100
+ try {
101
+ R = a(R);
102
+ } catch (m) {
103
+ o.call(this, m);
104
+ break;
105
+ }
106
+ }
107
+ try {
108
+ h = I.call(this, R);
109
+ } catch (a) {
110
+ return Promise.reject(a);
111
+ }
112
+ for (i = 0, c = p.length; i < c; )
113
+ h = h.then(p[i++], p[i++]);
114
+ return h;
36
115
  }
37
- if (!t) {
38
- const r = Object.entries(p).map(
39
- ([l, h]) => `adapter ${l} ` + (h === !1 ? "is not supported by the environment" : "is not available in the build")
40
- );
41
- let n = a ? r.length > 1 ? `since :
42
- ` + r.map(f).join(`
43
- `) : " " + f(r[0]) : "as no adapter specified";
44
- throw new d(
45
- "There is no suitable adapter to dispatch the request " + n,
46
- "ERR_NOT_SUPPORT"
47
- );
116
+ getUri(t) {
117
+ t = w(this.defaults, t);
118
+ const e = U(t.baseURL, t.url, t.allowAbsoluteUrls);
119
+ return S(e, t.params, t.paramsSerializer);
48
120
  }
49
- return t;
50
121
  }
51
- const x = {
52
- /**
53
- * Resolve an adapter from a list of adapter names or functions.
54
- * @type {Function}
55
- */
56
- getAdapter: w,
57
- /**
58
- * Exposes all known adapters
59
- * @type {Object<string, Function|Object>}
60
- */
61
- adapters: c
62
- };
122
+ d.forEach(["delete", "get", "head", "options"], function(t) {
123
+ q.prototype[t] = function(e, r) {
124
+ return this.request(
125
+ w(r || {}, {
126
+ method: t,
127
+ url: e,
128
+ data: (r || {}).data
129
+ })
130
+ );
131
+ };
132
+ });
133
+ d.forEach(["post", "put", "patch"], function(t) {
134
+ function e(r) {
135
+ return function(s, f, u) {
136
+ return this.request(
137
+ w(u || {}, {
138
+ method: t,
139
+ headers: r ? {
140
+ "Content-Type": "multipart/form-data"
141
+ } : {},
142
+ url: s,
143
+ data: f
144
+ })
145
+ );
146
+ };
147
+ }
148
+ q.prototype[t] = e(), q.prototype[t + "Form"] = e(!0);
149
+ });
63
150
  export {
64
- x as default
151
+ q as default
65
152
  };
package/dist/index316.js CHANGED
@@ -1,77 +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
- WebServerIsDown: 521,
66
- ConnectionTimedOut: 522,
67
- OriginIsUnreachable: 523,
68
- TimeoutOccurred: 524,
69
- SslHandshakeFailed: 525,
70
- InvalidSslCertificate: 526
71
- };
72
- Object.entries(e).forEach(([t, o]) => {
73
- e[o] = t;
74
- });
1
+ import r from "./index313.js";
2
+ import h from "./index327.js";
3
+ const g = (s) => s instanceof h ? { ...s } : s;
4
+ function C(s, f) {
5
+ f = f || {};
6
+ const u = {};
7
+ function o(t, e, i, d) {
8
+ return r.isPlainObject(t) && r.isPlainObject(e) ? r.merge.call({ caseless: d }, t, e) : r.isPlainObject(e) ? r.merge({}, e) : r.isArray(e) ? e.slice() : e;
9
+ }
10
+ function l(t, e, i, d) {
11
+ if (r.isUndefined(e)) {
12
+ if (!r.isUndefined(t))
13
+ return o(void 0, t, i, d);
14
+ } else return o(t, e, i, d);
15
+ }
16
+ function a(t, e) {
17
+ if (!r.isUndefined(e))
18
+ return o(void 0, e);
19
+ }
20
+ function n(t, e) {
21
+ if (r.isUndefined(e)) {
22
+ if (!r.isUndefined(t))
23
+ return o(void 0, t);
24
+ } else return o(void 0, e);
25
+ }
26
+ function m(t, e, i) {
27
+ if (i in f)
28
+ return o(t, e);
29
+ if (i in s)
30
+ return o(void 0, t);
31
+ }
32
+ const c = {
33
+ url: a,
34
+ method: a,
35
+ data: a,
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, i) => l(g(t), g(e), i, !0)
62
+ };
63
+ return r.forEach(Object.keys({ ...s, ...f }), function(e) {
64
+ if (e === "__proto__" || e === "constructor" || e === "prototype") return;
65
+ const i = r.hasOwnProp(c, e) ? c[e] : l, d = i(s[e], f[e], e);
66
+ r.isUndefined(d) && i !== m || (u[e] = d);
67
+ }), u;
68
+ }
75
69
  export {
76
- e as default
70
+ C as default
77
71
  };