admins-components 9.0.3 → 9.0.5

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 (188) hide show
  1. package/dist/admins-components.js +58 -54
  2. package/dist/admins-components10.js +10 -0
  3. package/dist/admins-components100.js +23 -247
  4. package/dist/admins-components101.js +171 -26
  5. package/dist/admins-components102.js +65 -25
  6. package/dist/admins-components103.js +67 -162
  7. package/dist/admins-components104.js +27 -65
  8. package/dist/admins-components105.js +12 -63
  9. package/dist/admins-components106.js +26 -29
  10. package/dist/admins-components107.js +10 -16
  11. package/dist/admins-components108.js +3 -26
  12. package/dist/admins-components109.js +2 -8
  13. package/dist/admins-components11.js +38 -9
  14. package/dist/admins-components110.js +3 -4
  15. package/dist/admins-components111.js +21 -3
  16. package/dist/admins-components112.js +14 -3
  17. package/dist/admins-components113.js +7 -20
  18. package/dist/admins-components114.js +13 -14
  19. package/dist/admins-components115.js +34 -8
  20. package/dist/admins-components116.js +82 -12
  21. package/dist/admins-components117.js +9 -24
  22. package/dist/admins-components118.js +4 -82
  23. package/dist/admins-components119.js +8 -11
  24. package/dist/admins-components12.js +141 -37
  25. package/dist/admins-components120.js +6 -4
  26. package/dist/admins-components121.js +6 -8
  27. package/dist/admins-components122.js +14 -6
  28. package/dist/admins-components123.js +11 -4
  29. package/dist/admins-components124.js +30 -15
  30. package/dist/admins-components125.js +4 -13
  31. package/dist/admins-components126.js +29 -30
  32. package/dist/admins-components127.js +5 -4
  33. package/dist/admins-components128.js +5 -29
  34. package/dist/admins-components129.js +21 -4
  35. package/dist/admins-components13.js +5 -142
  36. package/dist/admins-components130.js +81 -4
  37. package/dist/admins-components131.js +32 -7
  38. package/dist/admins-components132.js +58 -73
  39. package/dist/admins-components133.js +24 -29
  40. package/dist/admins-components134.js +47 -56
  41. package/dist/admins-components135.js +31 -23
  42. package/dist/admins-components136.js +3 -50
  43. package/dist/admins-components137.js +184 -29
  44. package/dist/admins-components138.js +46 -3
  45. package/dist/admins-components139.js +35 -177
  46. package/dist/admins-components14.js +46 -5
  47. package/dist/admins-components140.js +41 -41
  48. package/dist/admins-components141.js +137 -32
  49. package/dist/admins-components142.js +54 -42
  50. package/dist/admins-components143.js +6 -140
  51. package/dist/admins-components144.js +5 -57
  52. package/dist/admins-components145.js +75 -6
  53. package/dist/admins-components146.js +28 -5
  54. package/dist/admins-components147.js +1929 -74
  55. package/dist/admins-components148.js +25068 -29
  56. package/dist/admins-components149.js +8 -1930
  57. package/dist/admins-components15.js +4 -46
  58. package/dist/admins-components150.js +5 -24809
  59. package/dist/admins-components151.js +141 -8
  60. package/dist/admins-components152.js +8 -141
  61. package/dist/admins-components153.js +3 -3
  62. package/dist/admins-components155.js +169 -0
  63. package/dist/admins-components156.js +44 -161
  64. package/dist/admins-components157.js +8 -50
  65. package/dist/admins-components158.js +49 -8
  66. package/dist/admins-components159.js +6 -50
  67. package/dist/admins-components16.js +94 -4
  68. package/dist/admins-components160.js +80 -6
  69. package/dist/admins-components161.js +48 -70
  70. package/dist/admins-components162.js +32 -31
  71. package/dist/admins-components163.js +8 -58
  72. package/dist/admins-components164.js +51 -8
  73. package/dist/admins-components165.js +8 -51
  74. package/dist/{admins-components168.js → admins-components167.js} +5 -5
  75. package/dist/admins-components17.js +225 -91
  76. package/dist/admins-components18.js +5 -228
  77. package/dist/admins-components19.js +181 -5
  78. package/dist/admins-components21.js +7 -0
  79. package/dist/admins-components22.js +72 -6
  80. package/dist/admins-components23.js +6 -72
  81. package/dist/admins-components24.js +58 -6
  82. package/dist/admins-components26.js +7 -0
  83. package/dist/admins-components27.js +60 -6
  84. package/dist/admins-components29.js +7 -0
  85. package/dist/admins-components30.js +36 -6
  86. package/dist/admins-components32.js +7 -0
  87. package/dist/admins-components33.js +36 -6
  88. package/dist/admins-components34.js +4 -36
  89. package/dist/admins-components35.js +32 -4
  90. package/dist/admins-components37.js +7 -0
  91. package/dist/admins-components38.js +147 -6
  92. package/dist/admins-components4.js +2 -2
  93. package/dist/admins-components40.js +7 -0
  94. package/dist/admins-components41.js +124 -6
  95. package/dist/admins-components42.js +4 -124
  96. package/dist/admins-components43.js +179 -4
  97. package/dist/admins-components44.js +4 -179
  98. package/dist/admins-components45.js +19 -4
  99. package/dist/admins-components47.js +7 -0
  100. package/dist/admins-components48.js +54 -6
  101. package/dist/admins-components49.js +93 -54
  102. package/dist/admins-components5.js +5 -0
  103. package/dist/admins-components51.js +7 -0
  104. package/dist/admins-components52.js +25 -6
  105. package/dist/admins-components53.js +9 -25
  106. package/dist/admins-components54.js +19 -9
  107. package/dist/admins-components55.js +72 -18
  108. package/dist/admins-components56.js +59 -73
  109. package/dist/admins-components57.js +4 -59
  110. package/dist/admins-components58.js +121 -0
  111. package/dist/admins-components6.js +29 -6
  112. package/dist/admins-components60.js +6 -6
  113. package/dist/admins-components61.js +126 -103
  114. package/dist/admins-components63.js +3 -3
  115. package/dist/admins-components64.js +7 -143
  116. package/dist/admins-components65.js +264 -0
  117. package/dist/admins-components67.js +6 -7
  118. package/dist/admins-components68.js +98 -250
  119. package/dist/admins-components7.js +252 -29
  120. package/dist/admins-components70.js +2 -2
  121. package/dist/admins-components71.js +54 -106
  122. package/dist/admins-components72.js +222 -0
  123. package/dist/admins-components74.js +6 -59
  124. package/dist/admins-components75.js +8 -221
  125. package/dist/admins-components76.js +47 -0
  126. package/dist/admins-components77.js +250 -6
  127. package/dist/admins-components79.js +7 -46
  128. package/dist/admins-components80.js +32 -245
  129. package/dist/admins-components82.js +2 -3
  130. package/dist/admins-components83.js +192 -31
  131. package/dist/admins-components85.js +2 -2
  132. package/dist/admins-components86.js +200 -195
  133. package/dist/admins-components88.js +3 -2
  134. package/dist/admins-components89.js +3 -203
  135. package/dist/admins-components90.js +17 -0
  136. package/dist/admins-components91.js +3 -7
  137. package/dist/admins-components92.js +52 -3
  138. package/dist/admins-components93.js +80 -50
  139. package/dist/admins-components94.js +109 -77
  140. package/dist/admins-components95.js +44 -3
  141. package/dist/admins-components96.js +101 -108
  142. package/dist/admins-components97.js +6 -20
  143. package/dist/admins-components98.js +257 -100
  144. package/dist/admins-components99.js +27 -7
  145. package/dist/base.css +1 -1
  146. package/dist/src/components/Button.vue.d.ts +1 -1
  147. package/dist/src/components/Calendar.vue.d.ts +1 -1
  148. package/dist/src/components/ConfirmModal.vue.d.ts +1 -1
  149. package/dist/src/components/DatePicker.vue.d.ts +2 -2
  150. package/dist/src/components/DateRangePicker.vue.d.ts +2 -2
  151. package/dist/src/components/DropdownMenu.vue.d.ts +2 -2
  152. package/dist/src/components/DropdownSelect.vue.d.ts +1 -1
  153. package/dist/src/components/HeaderComponent.vue.d.ts +2 -2
  154. package/dist/src/components/custom/ImagePicker.vue.d.ts +1 -1
  155. package/dist/src/components/data-table/DataCards.vue.d.ts +2 -2
  156. package/dist/src/components/data-table/DataCell.vue.d.ts +1 -1
  157. package/dist/src/components/data-table/DataFilters.vue.d.ts +4 -4
  158. package/dist/src/components/data-table/DataList.vue.d.ts +4 -4
  159. package/dist/src/components/data-table/DataListGuide.vue.d.ts +1 -1
  160. package/dist/src/components/data-table/DataListOptions.vue.d.ts +2 -2
  161. package/dist/src/components/data-table/DataPaginator.vue.d.ts +1 -1
  162. package/dist/src/components/data-table/DataTable.vue.d.ts +3 -3
  163. package/dist/src/components/data-table/FilterTags.vue.d.ts +1 -1
  164. package/dist/src/components/data-table/FiltersHistory.vue.d.ts +1 -1
  165. package/dist/src/index.d.ts +85 -80
  166. package/dist/src/styles/components/data-table/data-list.scss_vue_type_style_index_0_src_true_lang.css +1 -1
  167. package/dist/src/styles/components/data-table/filter-tags.scss_vue_type_style_index_0_src_true_lang.css +1 -1
  168. package/dist/src/styles/components/loader.scss_vue_type_style_index_0_src_true_lang.css +1 -1
  169. package/dist/src/vueformelements/config/ExternalArticleOfferElementConfig.d.ts +1 -1
  170. package/package.json +2 -5
  171. package/dist/admins-components154.js +0 -10
  172. package/dist/admins-components166.js +0 -10
  173. package/dist/admins-components20.js +0 -182
  174. package/dist/admins-components25.js +0 -59
  175. package/dist/admins-components28.js +0 -61
  176. package/dist/admins-components31.js +0 -37
  177. package/dist/admins-components36.js +0 -33
  178. package/dist/admins-components39.js +0 -148
  179. package/dist/admins-components46.js +0 -20
  180. package/dist/admins-components50.js +0 -94
  181. package/dist/admins-components59.js +0 -8
  182. package/dist/admins-components66.js +0 -8
  183. package/dist/admins-components73.js +0 -7
  184. package/dist/admins-components78.js +0 -9
  185. package/dist/admins-components8.js +0 -253
  186. package/dist/index.d.ts +0 -2
  187. package/dist/src/components/data-table/DataCell.vue_vue_type_style_index_0_scoped_d46d9895_lang.css +0 -1
  188. package/dist/src/styles/_buttons.scss_vue_type_style_index_0_src_true_lang.css +0 -1
@@ -1,4 +1,47 @@
1
- //#region node_modules/axios/lib/env/data.js
2
- var e = "1.17.0";
1
+ import e from "./admins-components98.js";
2
+ import t from "./admins-components102.js";
3
+ import n from "./admins-components132.js";
4
+ import { getFetch as r } from "./admins-components137.js";
5
+ //#region node_modules/axios/lib/adapters/adapters.js
6
+ var i = {
7
+ http: null,
8
+ xhr: n,
9
+ fetch: { get: r }
10
+ };
11
+ e.forEach(i, (e, t) => {
12
+ if (e) {
13
+ try {
14
+ Object.defineProperty(e, "name", {
15
+ __proto__: null,
16
+ value: t
17
+ });
18
+ } catch {}
19
+ Object.defineProperty(e, "adapterName", {
20
+ __proto__: null,
21
+ value: t
22
+ });
23
+ }
24
+ });
25
+ var a = (e) => `- ${e}`, o = (t) => e.isFunction(t) || t === null || t === !1;
26
+ function s(n, r) {
27
+ n = e.isArray(n) ? n : [n];
28
+ let { length: s } = n, c, l, u = {};
29
+ for (let a = 0; a < s; a++) {
30
+ c = n[a];
31
+ let s;
32
+ if (l = c, !o(c) && (l = i[(s = String(c)).toLowerCase()], l === void 0)) throw new t(`Unknown adapter '${s}'`);
33
+ if (l && (e.isFunction(l) || (l = l.get(r)))) break;
34
+ u[s || "#" + a] = l;
35
+ }
36
+ if (!l) {
37
+ let e = Object.entries(u).map(([e, t]) => `adapter ${e} ` + (t === !1 ? "is not supported by the environment" : "is not available in the build"));
38
+ throw new t("There is no suitable adapter to dispatch the request " + (s ? e.length > 1 ? "since :\n" + e.map(a).join("\n") : " " + a(e[0]) : "as no adapter specified"), "ERR_NOT_SUPPORT");
39
+ }
40
+ return l;
41
+ }
42
+ var c = {
43
+ getAdapter: s,
44
+ adapters: i
45
+ };
3
46
  //#endregion
4
- export { e as VERSION };
47
+ export { c as default };
@@ -1,180 +1,38 @@
1
- import e from "./admins-components100.js";
2
- import { toByteStringHeaderObject as t } from "./admins-components102.js";
3
- import n from "./admins-components103.js";
4
- import r from "./admins-components104.js";
5
- import i from "./admins-components115.js";
6
- import a from "./admins-components122.js";
7
- import { asyncDecorator as o, progressEventDecorator as s, progressEventReducer as c } from "./admins-components126.js";
8
- import l from "./admins-components133.js";
9
- import u from "./admins-components135.js";
10
- import { trackStream as d } from "./admins-components136.js";
11
- import f from "./admins-components137.js";
12
- import { VERSION as p } from "./admins-components138.js";
13
- //#region node_modules/axios/lib/adapters/fetch.js
14
- var m = 64 * 1024, { isFunction: h } = e, g = (e) => encodeURIComponent(e).replace(/%([0-9A-F]{2})/gi, (e, t) => String.fromCharCode(parseInt(t, 16))), _ = (t) => {
15
- if (!e.isString(t)) return t;
16
- try {
17
- return decodeURIComponent(t);
18
- } catch {
19
- return t;
20
- }
21
- }, v = (e, ...t) => {
22
- try {
23
- return !!e(...t);
24
- } catch {
25
- return !1;
26
- }
27
- }, y = (e) => {
28
- let t = e.indexOf("://"), n = e;
29
- return t !== -1 && (n = n.slice(t + 3)), n.includes("@") || n.includes(":");
30
- }, b = (b) => {
31
- let x = e.global !== void 0 && e.global !== null ? e.global : globalThis, { ReadableStream: S, TextEncoder: C } = x;
32
- b = e.merge.call({ skipUndefined: !0 }, {
33
- Request: x.Request,
34
- Response: x.Response
35
- }, b);
36
- let { fetch: w, Request: T, Response: E } = b, D = w ? h(w) : typeof fetch == "function", O = h(T), k = h(E);
37
- if (!D) return !1;
38
- let A = D && h(S), j = D && (typeof C == "function" ? ((e) => (t) => e.encode(t))(new C()) : async (e) => new Uint8Array(await new T(e).arrayBuffer())), M = O && A && v(() => {
39
- let e = !1, t = new T(i.origin, {
40
- body: new S(),
41
- method: "POST",
42
- get duplex() {
43
- return e = !0, "half";
44
- }
45
- }), n = t.headers.has("Content-Type");
46
- return t.body != null && t.body.cancel(), e && !n;
47
- }), N = k && A && v(() => e.isReadableStream(new E("").body)), P = { stream: N && ((e) => e.body) };
48
- D && [
49
- "text",
50
- "arrayBuffer",
51
- "blob",
52
- "formData",
53
- "stream"
54
- ].forEach((e) => {
55
- !P[e] && (P[e] = (t, n) => {
56
- let i = t && t[e];
57
- if (i) return i.call(t);
58
- throw new r(`Response type '${e}' is not supported`, r.ERR_NOT_SUPPORT, n);
59
- });
60
- });
61
- let F = async (t) => {
62
- if (t == null) return 0;
63
- if (e.isBlob(t)) return t.size;
64
- if (e.isSpecCompliantForm(t)) return (await new T(i.origin, {
65
- method: "POST",
66
- body: t
67
- }).arrayBuffer()).byteLength;
68
- if (e.isArrayBufferView(t) || e.isArrayBuffer(t)) return t.byteLength;
69
- if (e.isURLSearchParams(t) && (t += ""), e.isString(t)) return (await j(t)).byteLength;
70
- }, I = async (t, n) => e.toFiniteNumber(t.getContentLength()) ?? F(n);
71
- return async (h) => {
72
- let { url: v, method: b, data: x, signal: S, cancelToken: D, timeout: k, onDownloadProgress: A, onUploadProgress: j, responseType: F, headers: L, withCredentials: R = "same-origin", fetchOptions: z, maxContentLength: B, maxBodyLength: V } = l(h), H = e.isNumber(B) && B > -1, U = e.isNumber(V) && V > -1, W = (t) => e.hasOwnProp(h, t) ? h[t] : void 0, G = w || fetch;
73
- F = F ? (F + "").toLowerCase() : "text";
74
- let K = u([S, D && D.toAbortSignal()], k), q = null, J = K && K.unsubscribe && (() => {
75
- K.unsubscribe();
76
- }), Y;
1
+ import e from "./admins-components101.js";
2
+ import t from "./admins-components116.js";
3
+ import n from "./admins-components117.js";
4
+ import r from "./admins-components118.js";
5
+ import i from "./admins-components119.js";
6
+ import a from "./admins-components138.js";
7
+ //#region node_modules/axios/lib/core/dispatchRequest.js
8
+ function o(e) {
9
+ if (e.cancelToken && e.cancelToken.throwIfRequested(), e.signal && e.signal.aborted) throw new i(null, e);
10
+ }
11
+ function s(i) {
12
+ return o(i), i.headers = e.from(i.headers), i.data = n.call(i, i.transformRequest), [
13
+ "post",
14
+ "put",
15
+ "patch"
16
+ ].indexOf(i.method) !== -1 && i.headers.setContentType("application/x-www-form-urlencoded", !1), a.getAdapter(i.adapter || t.adapter, i)(i).then(function(t) {
17
+ o(i), i.response = t;
77
18
  try {
78
- let l, u = W("auth");
79
- if (u && (l = {
80
- username: u.username || "",
81
- password: u.password || ""
82
- }), y(v)) {
83
- let e = new URL(v, i.origin);
84
- !l && (e.username || e.password) && (l = {
85
- username: _(e.username),
86
- password: _(e.password)
87
- }), (e.username || e.password) && (e.username = "", e.password = "", v = e.href);
88
- }
89
- if (l && (L.delete("authorization"), L.set("Authorization", "Basic " + btoa(g((l.username || "") + ":" + (l.password || ""))))), H && typeof v == "string" && v.startsWith("data:") && f(v) > B) throw new r("maxContentLength size of " + B + " exceeded", r.ERR_BAD_RESPONSE, h, q);
90
- if (U && b !== "get" && b !== "head") {
91
- let e = await I(L, x);
92
- if (typeof e == "number" && isFinite(e) && e > V) throw new r("Request body larger than maxBodyLength limit", r.ERR_BAD_REQUEST, h, q);
93
- }
94
- if (j && M && b !== "get" && b !== "head" && (Y = await I(L, x)) !== 0) {
95
- let t = new T(v, {
96
- method: "POST",
97
- body: x,
98
- duplex: "half"
99
- }), n;
100
- if (e.isFormData(x) && (n = t.headers.get("content-type")) && L.setContentType(n), t.body) {
101
- let [e, n] = s(Y, c(o(j)));
102
- x = d(t.body, m, e, n);
103
- }
104
- }
105
- e.isString(R) || (R = R ? "include" : "omit");
106
- let S = O && "credentials" in T.prototype;
107
- if (e.isFormData(x)) {
108
- let e = L.getContentType();
109
- e && /^multipart\/form-data/i.test(e) && !/boundary=/i.test(e) && L.delete("content-type");
110
- }
111
- L.set("User-Agent", "axios/" + p, !1);
112
- let w = {
113
- ...z,
114
- signal: K,
115
- method: b.toUpperCase(),
116
- headers: t(L.normalize()),
117
- body: x,
118
- duplex: "half",
119
- credentials: S ? R : void 0
120
- };
121
- q = O && new T(v, w);
122
- let D = await (O ? G(q, z) : G(v, w));
123
- if (H) {
124
- let t = e.toFiniteNumber(D.headers.get("content-length"));
125
- if (t != null && t > B) throw new r("maxContentLength size of " + B + " exceeded", r.ERR_BAD_RESPONSE, h, q);
126
- }
127
- let k = N && (F === "stream" || F === "response");
128
- if (N && D.body && (A || H || k && J)) {
129
- let t = {};
130
- [
131
- "status",
132
- "statusText",
133
- "headers"
134
- ].forEach((e) => {
135
- t[e] = D[e];
136
- });
137
- let n = e.toFiniteNumber(D.headers.get("content-length")), [i, a] = A && s(n, c(o(A), !0)) || [], l = 0;
138
- D = new E(d(D.body, m, (e) => {
139
- if (H && (l = e, l > B)) throw new r("maxContentLength size of " + B + " exceeded", r.ERR_BAD_RESPONSE, h, q);
140
- i && i(e);
141
- }, () => {
142
- a && a(), J && J();
143
- }), t);
144
- }
145
- F ||= "text";
146
- let X = await P[e.findKey(P, F) || "text"](D, h);
147
- if (H && !N && !k) {
148
- let e;
149
- if (X != null && (typeof X.byteLength == "number" ? e = X.byteLength : typeof X.size == "number" ? e = X.size : typeof X == "string" && (e = typeof C == "function" ? new C().encode(X).byteLength : X.length)), typeof e == "number" && e > B) throw new r("maxContentLength size of " + B + " exceeded", r.ERR_BAD_RESPONSE, h, q);
150
- }
151
- return !k && J && J(), await new Promise((e, t) => {
152
- a(e, t, {
153
- data: X,
154
- headers: n.from(D.headers),
155
- status: D.status,
156
- statusText: D.statusText,
157
- config: h,
158
- request: q
159
- });
160
- });
161
- } catch (e) {
162
- if (J && J(), K && K.aborted && K.reason instanceof r) {
163
- let t = K.reason;
164
- throw t.config = h, q && (t.request = q), e !== t && (t.cause = e), t;
165
- }
166
- throw e && e.name === "TypeError" && /Load failed|fetch/i.test(e.message) ? Object.assign(new r("Network Error", r.ERR_NETWORK, h, q, e && e.response), { cause: e.cause || e }) : r.from(e, e && e.code, h, q, e && e.response);
19
+ t.data = n.call(i, i.transformResponse, t);
20
+ } finally {
21
+ delete i.response;
22
+ }
23
+ return t.headers = e.from(t.headers), t;
24
+ }, function(t) {
25
+ if (!r(t) && (o(i), t && t.response)) {
26
+ i.response = t.response;
27
+ try {
28
+ t.response.data = n.call(i, i.transformResponse, t.response);
29
+ } finally {
30
+ delete i.response;
31
+ }
32
+ t.response.headers = e.from(t.response.headers);
167
33
  }
168
- };
169
- }, x = /* @__PURE__ */ new Map(), S = (e) => {
170
- let t = e && e.env || {}, { fetch: n, Request: r, Response: i } = t, a = [
171
- r,
172
- i,
173
- n
174
- ], o = a.length, s, c, l = x;
175
- for (; o--;) s = a[o], c = l.get(s), c === void 0 && l.set(s, c = o ? /* @__PURE__ */ new Map() : b(t)), l = c;
176
- return c;
177
- };
178
- S();
34
+ return Promise.reject(t);
35
+ });
36
+ }
179
37
  //#endregion
180
- export { S as getFetch };
38
+ export { s as default };
@@ -1,6 +1,47 @@
1
- import "./admins-components7.js";
2
- import e from "./admins-components13.js";
3
- //#region src/components/DatePicker.vue
4
- var t = e;
1
+ import { createCommentVNode as e, createElementBlock as t, createElementVNode as n, defineComponent as r, normalizeClass as i, openBlock as a, toDisplayString as o, withKeys as s, withModifiers as c } from "vue";
2
+ //#region src/components/Checkbox.vue?vue&type=script&setup=true&lang.ts
3
+ var l = { class: "c-checkbox-wrapper" }, u = [
4
+ "aria-checked",
5
+ "aria-disabled",
6
+ "tabindex",
7
+ "onKeydown"
8
+ ], d = /*@__PURE__*/ r({
9
+ __name: "Checkbox",
10
+ props: {
11
+ modelValue: {
12
+ type: Boolean,
13
+ default: void 0
14
+ },
15
+ label: { default: void 0 },
16
+ disabled: {
17
+ type: Boolean,
18
+ default: !1
19
+ },
20
+ labelAlignmentFix: { type: Boolean }
21
+ },
22
+ emits: ["update:modelValue"],
23
+ setup(r, { emit: d }) {
24
+ let f = r, p = d;
25
+ function m() {
26
+ f.disabled || p("update:modelValue", !f.modelValue || void 0);
27
+ }
28
+ return (d, f) => (a(), t("div", l, [n("span", {
29
+ class: i(["c-checkbox", {
30
+ "c-checkbox--checked": !!r.modelValue,
31
+ "c-checkbox--disabled": r.disabled
32
+ }]),
33
+ role: "checkbox",
34
+ "aria-checked": !!r.modelValue,
35
+ "aria-disabled": r.disabled || void 0,
36
+ tabindex: r.disabled ? -1 : 0,
37
+ onClick: m,
38
+ onKeydown: [s(c(m, ["prevent"]), ["enter"]), s(c(m, ["prevent"]), ["space"])]
39
+ }, null, 42, u), r.label ? (a(), t("label", {
40
+ key: 0,
41
+ class: i(["c-label pointer", { "align-center-text-fix": r.labelAlignmentFix }]),
42
+ onClick: m
43
+ }, o(r.label), 3)) : e("", !0)]));
44
+ }
45
+ });
5
46
  //#endregion
6
- export { t as default };
47
+ export { d as default };
@@ -1,47 +1,47 @@
1
- import e from "./admins-components100.js";
2
- import t from "./admins-components104.js";
3
- import n from "./admins-components134.js";
4
- import { getFetch as r } from "./admins-components139.js";
5
- //#region node_modules/axios/lib/adapters/adapters.js
6
- var i = {
7
- http: null,
8
- xhr: n,
9
- fetch: { get: r }
10
- };
11
- e.forEach(i, (e, t) => {
12
- if (e) {
13
- try {
14
- Object.defineProperty(e, "name", {
15
- __proto__: null,
16
- value: t
17
- });
18
- } catch {}
19
- Object.defineProperty(e, "adapterName", {
20
- __proto__: null,
21
- value: t
22
- });
23
- }
1
+ import e from "./admins-components102.js";
2
+ import { VERSION as t } from "./admins-components136.js";
3
+ //#region node_modules/axios/lib/helpers/validator.js
4
+ var n = {};
5
+ [
6
+ "object",
7
+ "boolean",
8
+ "number",
9
+ "function",
10
+ "string",
11
+ "symbol"
12
+ ].forEach((e, t) => {
13
+ n[e] = function(n) {
14
+ return typeof n === e || "a" + (t < 1 ? "n " : " ") + e;
15
+ };
24
16
  });
25
- var a = (e) => `- ${e}`, o = (t) => e.isFunction(t) || t === null || t === !1;
26
- function s(n, r) {
27
- n = e.isArray(n) ? n : [n];
28
- let { length: s } = n, c, l, u = {};
29
- for (let a = 0; a < s; a++) {
30
- c = n[a];
31
- let s;
32
- if (l = c, !o(c) && (l = i[(s = String(c)).toLowerCase()], l === void 0)) throw new t(`Unknown adapter '${s}'`);
33
- if (l && (e.isFunction(l) || (l = l.get(r)))) break;
34
- u[s || "#" + a] = l;
17
+ var r = {};
18
+ n.transitional = function(n, i, a) {
19
+ function o(e, n) {
20
+ return "[Axios v" + t + "] Transitional option '" + e + "'" + n + (a ? ". " + a : "");
35
21
  }
36
- if (!l) {
37
- let e = Object.entries(u).map(([e, t]) => `adapter ${e} ` + (t === !1 ? "is not supported by the environment" : "is not available in the build"));
38
- throw new t("There is no suitable adapter to dispatch the request " + (s ? e.length > 1 ? "since :\n" + e.map(a).join("\n") : " " + a(e[0]) : "as no adapter specified"), "ERR_NOT_SUPPORT");
22
+ return (t, a, s) => {
23
+ if (n === !1) throw new e(o(a, " has been removed" + (i ? " in " + i : "")), e.ERR_DEPRECATED);
24
+ return i && !r[a] && (r[a] = !0, console.warn(o(a, " has been deprecated since v" + i + " and will be removed in the near future"))), n ? n(t, a, s) : !0;
25
+ };
26
+ }, n.spelling = function(e) {
27
+ return (t, n) => (console.warn(`${n} is likely a misspelling of ${e}`), !0);
28
+ };
29
+ function i(t, n, r) {
30
+ if (typeof t != "object") throw new e("options must be an object", e.ERR_BAD_OPTION_VALUE);
31
+ let i = Object.keys(t), a = i.length;
32
+ for (; a-- > 0;) {
33
+ let o = i[a], s = Object.prototype.hasOwnProperty.call(n, o) ? n[o] : void 0;
34
+ if (s) {
35
+ let n = t[o], r = n === void 0 || s(n, o, t);
36
+ if (r !== !0) throw new e("option " + o + " must be " + r, e.ERR_BAD_OPTION_VALUE);
37
+ continue;
38
+ }
39
+ if (r !== !0) throw new e("Unknown option " + o, e.ERR_BAD_OPTION);
39
40
  }
40
- return l;
41
41
  }
42
- var c = {
43
- getAdapter: s,
44
- adapters: i
42
+ var a = {
43
+ assertOptions: i,
44
+ validators: n
45
45
  };
46
46
  //#endregion
47
- export { c as default };
47
+ export { a as default };
@@ -1,38 +1,143 @@
1
- import e from "./admins-components103.js";
2
- import t from "./admins-components118.js";
3
- import n from "./admins-components119.js";
4
- import r from "./admins-components120.js";
5
- import i from "./admins-components121.js";
6
- import a from "./admins-components140.js";
7
- //#region node_modules/axios/lib/core/dispatchRequest.js
8
- function o(e) {
9
- if (e.cancelToken && e.cancelToken.throwIfRequested(), e.signal && e.signal.aborted) throw new i(null, e);
10
- }
11
- function s(i) {
12
- return o(i), i.headers = e.from(i.headers), i.data = n.call(i, i.transformRequest), [
13
- "post",
14
- "put",
15
- "patch"
16
- ].indexOf(i.method) !== -1 && i.headers.setContentType("application/x-www-form-urlencoded", !1), a.getAdapter(i.adapter || t.adapter, i)(i).then(function(t) {
17
- o(i), i.response = t;
1
+ import e from "./admins-components98.js";
2
+ import t from "./admins-components101.js";
3
+ import n from "./admins-components105.js";
4
+ import r from "./admins-components106.js";
5
+ import i from "./admins-components107.js";
6
+ import a from "./admins-components129.js";
7
+ import o from "./admins-components130.js";
8
+ import s from "./admins-components139.js";
9
+ import c from "./admins-components140.js";
10
+ //#region node_modules/axios/lib/core/Axios.js
11
+ var l = c.validators, u = class {
12
+ constructor(e) {
13
+ this.defaults = e || {}, this.interceptors = {
14
+ request: new r(),
15
+ response: new r()
16
+ };
17
+ }
18
+ async request(e, t) {
18
19
  try {
19
- t.data = n.call(i, i.transformResponse, t);
20
- } finally {
21
- delete i.response;
20
+ return await this._request(e, t);
21
+ } catch (e) {
22
+ if (e instanceof Error) {
23
+ let t = {};
24
+ Error.captureStackTrace ? Error.captureStackTrace(t) : t = /* @__PURE__ */ Error();
25
+ let n = (() => {
26
+ if (!t.stack) return "";
27
+ let e = t.stack.indexOf("\n");
28
+ return e === -1 ? "" : t.stack.slice(e + 1);
29
+ })();
30
+ try {
31
+ if (!e.stack) e.stack = n;
32
+ else if (n) {
33
+ let t = n.indexOf("\n"), r = t === -1 ? -1 : n.indexOf("\n", t + 1), i = r === -1 ? "" : n.slice(r + 1);
34
+ String(e.stack).endsWith(i) || (e.stack += "\n" + n);
35
+ }
36
+ } catch {}
37
+ }
38
+ throw e;
39
+ }
40
+ }
41
+ _request(n, r) {
42
+ typeof n == "string" ? (r ||= {}, r.url = n) : r = n || {}, r = o(this.defaults, r);
43
+ let { transitional: a, paramsSerializer: u, headers: d } = r;
44
+ a !== void 0 && c.assertOptions(a, {
45
+ silentJSONParsing: l.transitional(l.boolean),
46
+ forcedJSONParsing: l.transitional(l.boolean),
47
+ clarifyTimeoutError: l.transitional(l.boolean),
48
+ legacyInterceptorReqResOrdering: l.transitional(l.boolean),
49
+ advertiseZstdAcceptEncoding: l.transitional(l.boolean),
50
+ validateStatusUndefinedResolves: l.transitional(l.boolean)
51
+ }, !1), u != null && (e.isFunction(u) ? r.paramsSerializer = { serialize: u } : c.assertOptions(u, {
52
+ encode: l.function,
53
+ serialize: l.function
54
+ }, !0)), r.allowAbsoluteUrls !== void 0 || (this.defaults.allowAbsoluteUrls === void 0 ? r.allowAbsoluteUrls = !0 : r.allowAbsoluteUrls = this.defaults.allowAbsoluteUrls), c.assertOptions(r, {
55
+ baseUrl: l.spelling("baseURL"),
56
+ withXsrfToken: l.spelling("withXSRFToken")
57
+ }, !0), r.method = (r.method || this.defaults.method || "get").toLowerCase();
58
+ let f = d && e.merge(d.common, d[r.method]);
59
+ d && e.forEach([
60
+ "delete",
61
+ "get",
62
+ "head",
63
+ "post",
64
+ "put",
65
+ "patch",
66
+ "query",
67
+ "common"
68
+ ], (e) => {
69
+ delete d[e];
70
+ }), r.headers = t.concat(f, d);
71
+ let p = [], m = !0;
72
+ this.interceptors.request.forEach(function(e) {
73
+ if (typeof e.runWhen == "function" && e.runWhen(r) === !1) return;
74
+ m &&= e.synchronous;
75
+ let t = r.transitional || i;
76
+ t && t.legacyInterceptorReqResOrdering ? p.unshift(e.fulfilled, e.rejected) : p.push(e.fulfilled, e.rejected);
77
+ });
78
+ let h = [];
79
+ this.interceptors.response.forEach(function(e) {
80
+ h.push(e.fulfilled, e.rejected);
81
+ });
82
+ let g, _ = 0, v;
83
+ if (!m) {
84
+ let e = [s.bind(this), void 0];
85
+ for (e.unshift(...p), e.push(...h), v = e.length, g = Promise.resolve(r); _ < v;) g = g.then(e[_++], e[_++]);
86
+ return g;
22
87
  }
23
- return t.headers = e.from(t.headers), t;
24
- }, function(t) {
25
- if (!r(t) && (o(i), t && t.response)) {
26
- i.response = t.response;
88
+ v = p.length;
89
+ let y = r;
90
+ for (; _ < v;) {
91
+ let e = p[_++], t = p[_++];
27
92
  try {
28
- t.response.data = n.call(i, i.transformResponse, t.response);
29
- } finally {
30
- delete i.response;
93
+ y = e(y);
94
+ } catch (e) {
95
+ t.call(this, e);
96
+ break;
31
97
  }
32
- t.response.headers = e.from(t.response.headers);
33
98
  }
34
- return Promise.reject(t);
35
- });
36
- }
99
+ try {
100
+ g = s.call(this, y);
101
+ } catch (e) {
102
+ return Promise.reject(e);
103
+ }
104
+ for (_ = 0, v = h.length; _ < v;) g = g.then(h[_++], h[_++]);
105
+ return g;
106
+ }
107
+ getUri(e) {
108
+ return e = o(this.defaults, e), n(a(e.baseURL, e.url, e.allowAbsoluteUrls, e), e.params, e.paramsSerializer);
109
+ }
110
+ };
111
+ e.forEach([
112
+ "delete",
113
+ "get",
114
+ "head",
115
+ "options"
116
+ ], function(t) {
117
+ u.prototype[t] = function(n, r) {
118
+ return this.request(o(r || {}, {
119
+ method: t,
120
+ url: n,
121
+ data: r && e.hasOwnProp(r, "data") ? r.data : void 0
122
+ }));
123
+ };
124
+ }), e.forEach([
125
+ "post",
126
+ "put",
127
+ "patch",
128
+ "query"
129
+ ], function(e) {
130
+ function t(t) {
131
+ return function(n, r, i) {
132
+ return this.request(o(i || {}, {
133
+ method: e,
134
+ headers: t ? { "Content-Type": "multipart/form-data" } : {},
135
+ url: n,
136
+ data: r
137
+ }));
138
+ };
139
+ }
140
+ u.prototype[e] = t(), e !== "query" && (u.prototype[e + "Form"] = t(!0));
141
+ });
37
142
  //#endregion
38
- export { s as default };
143
+ export { u as default };