admins-components 9.0.6 → 9.0.8

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 +57 -57
  2. package/dist/admins-components100.js +26 -27
  3. package/dist/admins-components101.js +25 -169
  4. package/dist/admins-components102.js +165 -61
  5. package/dist/admins-components103.js +61 -70
  6. package/dist/admins-components104.js +65 -28
  7. package/dist/admins-components105.js +28 -14
  8. package/dist/admins-components106.js +15 -26
  9. package/dist/admins-components107.js +26 -9
  10. package/dist/admins-components108.js +9 -4
  11. package/dist/admins-components109.js +4 -3
  12. package/dist/admins-components11.js +9 -38
  13. package/dist/admins-components110.js +2 -2
  14. package/dist/admins-components111.js +3 -21
  15. package/dist/admins-components112.js +21 -14
  16. package/dist/admins-components113.js +14 -8
  17. package/dist/admins-components114.js +8 -13
  18. package/dist/admins-components115.js +12 -33
  19. package/dist/admins-components116.js +24 -81
  20. package/dist/admins-components117.js +82 -10
  21. package/dist/admins-components118.js +10 -4
  22. package/dist/admins-components119.js +5 -8
  23. package/dist/admins-components12.js +37 -141
  24. package/dist/admins-components120.js +7 -6
  25. package/dist/admins-components121.js +6 -5
  26. package/dist/admins-components122.js +4 -13
  27. package/dist/admins-components123.js +11 -9
  28. package/dist/admins-components124.js +13 -30
  29. package/dist/admins-components125.js +30 -4
  30. package/dist/admins-components126.js +4 -29
  31. package/dist/admins-components127.js +29 -5
  32. package/dist/admins-components128.js +3 -3
  33. package/dist/admins-components129.js +4 -21
  34. package/dist/admins-components13.js +145 -5
  35. package/dist/admins-components130.js +7 -81
  36. package/dist/admins-components131.js +70 -29
  37. package/dist/admins-components132.js +27 -57
  38. package/dist/admins-components133.js +57 -22
  39. package/dist/admins-components134.js +21 -47
  40. package/dist/admins-components135.js +48 -30
  41. package/dist/admins-components136.js +31 -3
  42. package/dist/admins-components137.js +3 -186
  43. package/dist/admins-components138.js +176 -43
  44. package/dist/admins-components139.js +44 -35
  45. package/dist/admins-components14.js +5 -46
  46. package/dist/admins-components140.js +34 -43
  47. package/dist/admins-components141.js +42 -138
  48. package/dist/admins-components142.js +134 -51
  49. package/dist/admins-components143.js +58 -7
  50. package/dist/admins-components144.js +6 -5
  51. package/dist/admins-components145.js +6 -76
  52. package/dist/admins-components146.js +76 -29
  53. package/dist/admins-components147.js +29 -1931
  54. package/dist/admins-components148.js +1763 -24900
  55. package/dist/admins-components149.js +24810 -8
  56. package/dist/admins-components15.js +49 -4
  57. package/dist/admins-components150.js +9 -7
  58. package/dist/admins-components151.js +7 -142
  59. package/dist/admins-components152.js +141 -8
  60. package/dist/admins-components153.js +3 -3
  61. package/dist/admins-components154.js +10 -0
  62. package/dist/admins-components156.js +161 -44
  63. package/dist/admins-components157.js +50 -8
  64. package/dist/admins-components158.js +8 -49
  65. package/dist/admins-components159.js +50 -6
  66. package/dist/admins-components16.js +4 -94
  67. package/dist/admins-components160.js +6 -80
  68. package/dist/admins-components161.js +70 -48
  69. package/dist/admins-components162.js +31 -32
  70. package/dist/admins-components163.js +58 -8
  71. package/dist/admins-components164.js +8 -51
  72. package/dist/admins-components165.js +51 -8
  73. package/dist/admins-components166.js +10 -0
  74. package/dist/{admins-components167.js → admins-components168.js} +4 -4
  75. package/dist/admins-components17.js +91 -225
  76. package/dist/admins-components18.js +245 -5
  77. package/dist/admins-components19.js +5 -181
  78. package/dist/admins-components20.js +183 -0
  79. package/dist/admins-components22.js +6 -72
  80. package/dist/admins-components23.js +78 -6
  81. package/dist/admins-components24.js +6 -58
  82. package/dist/admins-components25.js +59 -0
  83. package/dist/admins-components27.js +6 -60
  84. package/dist/admins-components28.js +61 -0
  85. package/dist/admins-components30.js +6 -36
  86. package/dist/admins-components31.js +37 -0
  87. package/dist/admins-components33.js +6 -36
  88. package/dist/admins-components34.js +36 -4
  89. package/dist/admins-components35.js +4 -32
  90. package/dist/admins-components36.js +33 -0
  91. package/dist/admins-components38.js +6 -147
  92. package/dist/admins-components39.js +148 -0
  93. package/dist/admins-components4.js +9 -56
  94. package/dist/admins-components41.js +6 -124
  95. package/dist/admins-components42.js +124 -4
  96. package/dist/admins-components43.js +4 -179
  97. package/dist/admins-components44.js +179 -4
  98. package/dist/admins-components45.js +4 -19
  99. package/dist/admins-components46.js +20 -0
  100. package/dist/admins-components48.js +6 -54
  101. package/dist/admins-components49.js +54 -93
  102. package/dist/admins-components5.js +57 -4
  103. package/dist/admins-components50.js +94 -0
  104. package/dist/admins-components52.js +6 -25
  105. package/dist/admins-components53.js +25 -9
  106. package/dist/admins-components54.js +9 -19
  107. package/dist/admins-components55.js +18 -72
  108. package/dist/admins-components56.js +73 -59
  109. package/dist/admins-components57.js +59 -4
  110. package/dist/admins-components58.js +4 -120
  111. package/dist/admins-components59.js +122 -0
  112. package/dist/admins-components6.js +4 -29
  113. package/dist/admins-components61.js +7 -143
  114. package/dist/admins-components62.js +148 -0
  115. package/dist/admins-components64.js +7 -7
  116. package/dist/admins-components65.js +7 -263
  117. package/dist/admins-components66.js +264 -0
  118. package/dist/admins-components68.js +6 -111
  119. package/dist/admins-components69.js +112 -0
  120. package/dist/admins-components7.js +29 -252
  121. package/dist/admins-components71.js +6 -59
  122. package/dist/admins-components72.js +55 -217
  123. package/dist/admins-components73.js +222 -0
  124. package/dist/admins-components75.js +6 -8
  125. package/dist/admins-components76.js +7 -45
  126. package/dist/admins-components77.js +45 -249
  127. package/dist/admins-components78.js +264 -0
  128. package/dist/admins-components8.js +253 -0
  129. package/dist/admins-components80.js +7 -37
  130. package/dist/admins-components81.js +38 -0
  131. package/dist/admins-components83.js +6 -198
  132. package/dist/admins-components84.js +199 -0
  133. package/dist/admins-components86.js +6 -203
  134. package/dist/admins-components87.js +204 -0
  135. package/dist/admins-components89.js +7 -3
  136. package/dist/admins-components90.js +3 -16
  137. package/dist/admins-components91.js +16 -3
  138. package/dist/admins-components92.js +3 -52
  139. package/dist/admins-components93.js +50 -80
  140. package/dist/admins-components94.js +78 -109
  141. package/dist/admins-components95.js +110 -41
  142. package/dist/admins-components96.js +39 -101
  143. package/dist/admins-components97.js +105 -6
  144. package/dist/admins-components98.js +5 -261
  145. package/dist/admins-components99.js +250 -25
  146. package/dist/base.css +1 -1
  147. package/dist/index.d.ts +2 -0
  148. package/dist/src/components/Button.vue.d.ts +2 -3
  149. package/dist/src/components/Calendar.vue.d.ts +1 -1
  150. package/dist/src/components/ConfirmModal.vue.d.ts +1 -1
  151. package/dist/src/components/DatePicker.vue.d.ts +4 -2
  152. package/dist/src/components/DateRangePicker.vue.d.ts +2 -2
  153. package/dist/src/components/DropdownMenu.vue.d.ts +4 -2
  154. package/dist/src/components/DropdownSelect.vue.d.ts +1 -1
  155. package/dist/src/components/HeaderComponent.vue.d.ts +2 -2
  156. package/dist/src/components/custom/ImagePicker.vue.d.ts +1 -1
  157. package/dist/src/components/data-table/DataCards.vue.d.ts +2 -2
  158. package/dist/src/components/data-table/DataCell.vue.d.ts +1 -1
  159. package/dist/src/components/data-table/DataFilters.vue.d.ts +4 -4
  160. package/dist/src/components/data-table/DataList.vue.d.ts +4 -4
  161. package/dist/src/components/data-table/DataListGuide.vue.d.ts +1 -1
  162. package/dist/src/components/data-table/DataListOptions.vue.d.ts +2 -2
  163. package/dist/src/components/data-table/DataPaginator.vue.d.ts +1 -1
  164. package/dist/src/components/data-table/DataTable.vue.d.ts +3 -3
  165. package/dist/src/components/data-table/FilterTags.vue.d.ts +1 -1
  166. package/dist/src/components/data-table/FiltersHistory.vue.d.ts +1 -1
  167. package/dist/src/index.d.ts +85 -85
  168. package/dist/src/vueformelements/config/ExternalArticleOfferElementConfig.d.ts +1 -1
  169. package/package.json +2 -3
  170. package/dist/admins-components10.js +0 -10
  171. package/dist/admins-components155.js +0 -169
  172. package/dist/admins-components21.js +0 -7
  173. package/dist/admins-components26.js +0 -7
  174. package/dist/admins-components29.js +0 -7
  175. package/dist/admins-components32.js +0 -7
  176. package/dist/admins-components37.js +0 -7
  177. package/dist/admins-components40.js +0 -7
  178. package/dist/admins-components47.js +0 -7
  179. package/dist/admins-components51.js +0 -7
  180. package/dist/admins-components60.js +0 -8
  181. package/dist/admins-components63.js +0 -8
  182. package/dist/admins-components67.js +0 -7
  183. package/dist/admins-components70.js +0 -7
  184. package/dist/admins-components74.js +0 -7
  185. package/dist/admins-components79.js +0 -8
  186. package/dist/admins-components82.js +0 -7
  187. package/dist/admins-components85.js +0 -7
  188. package/dist/admins-components88.js +0 -8
@@ -1,84 +1,27 @@
1
- import e from "./admins-components98.js";
2
- import t from "./admins-components102.js";
3
- import n from "./admins-components103.js";
4
- import r from "./admins-components107.js";
5
- import i from "./admins-components113.js";
6
- import a from "./admins-components114.js";
7
- import o from "./admins-components115.js";
8
- //#region node_modules/axios/lib/defaults/index.js
9
- var s = (t, n) => t != null && e.hasOwnProp(t, n) ? t[n] : void 0;
10
- function c(t, n, r) {
11
- if (e.isString(t)) try {
12
- return (n || JSON.parse)(t), e.trim(t);
13
- } catch (e) {
14
- if (e.name !== "SyntaxError") throw e;
1
+ import e from "./admins-components99.js";
2
+ //#region node_modules/axios/lib/helpers/formDataToJSON.js
3
+ function t(t) {
4
+ return e.matchAll(/\w+|\[(\w*)]/g, t).map((e) => e[0] === "[]" ? "" : e[1] || e[0]);
5
+ }
6
+ function n(e) {
7
+ let t = {}, n = Object.keys(e), r, i = n.length, a;
8
+ for (r = 0; r < i; r++) a = n[r], t[a] = e[a];
9
+ return t;
10
+ }
11
+ function r(r) {
12
+ function i(t, r, a, o) {
13
+ let s = t[o++];
14
+ if (s === "__proto__") return !0;
15
+ let c = Number.isFinite(+s), l = o >= t.length;
16
+ return s = !s && e.isArray(a) ? a.length : s, l ? (e.hasOwnProp(a, s) ? a[s] = e.isArray(a[s]) ? a[s].concat(r) : [a[s], r] : a[s] = r, !c) : ((!e.hasOwnProp(a, s) || !e.isObject(a[s])) && (a[s] = []), i(t, r, a[s], o) && e.isArray(a[s]) && (a[s] = n(a[s])), !c);
17
+ }
18
+ if (e.isFormData(r) && e.isFunction(r.entries)) {
19
+ let n = {};
20
+ return e.forEachEntry(r, (e, r) => {
21
+ i(t(e), r, n, 0);
22
+ }), n;
15
23
  }
16
- return (r || JSON.stringify)(t);
24
+ return null;
17
25
  }
18
- var l = {
19
- transitional: r,
20
- adapter: [
21
- "xhr",
22
- "http",
23
- "fetch"
24
- ],
25
- transformRequest: [function(t, r) {
26
- let i = r.getContentType() || "", l = i.indexOf("application/json") > -1, u = e.isObject(t);
27
- if (u && e.isHTMLForm(t) && (t = new FormData(t)), e.isFormData(t)) return l ? JSON.stringify(o(t)) : t;
28
- if (e.isArrayBuffer(t) || e.isBuffer(t) || e.isStream(t) || e.isFile(t) || e.isBlob(t) || e.isReadableStream(t)) return t;
29
- if (e.isArrayBufferView(t)) return t.buffer;
30
- if (e.isURLSearchParams(t)) return r.setContentType("application/x-www-form-urlencoded;charset=utf-8", !1), t.toString();
31
- let d;
32
- if (u) {
33
- let r = s(this, "formSerializer");
34
- if (i.indexOf("application/x-www-form-urlencoded") > -1) return a(t, r).toString();
35
- if ((d = e.isFileList(t)) || i.indexOf("multipart/form-data") > -1) {
36
- let e = s(this, "env"), i = e && e.FormData;
37
- return n(d ? { "files[]": t } : t, i && new i(), r);
38
- }
39
- }
40
- return u || l ? (r.setContentType("application/json", !1), c(t)) : t;
41
- }],
42
- transformResponse: [function(n) {
43
- let r = s(this, "transitional") || l.transitional, i = r && r.forcedJSONParsing, a = s(this, "responseType"), o = a === "json";
44
- if (e.isResponse(n) || e.isReadableStream(n)) return n;
45
- if (n && e.isString(n) && (i && !a || o)) {
46
- let e = !(r && r.silentJSONParsing) && o;
47
- try {
48
- return JSON.parse(n, s(this, "parseReviver"));
49
- } catch (n) {
50
- if (e) throw n.name === "SyntaxError" ? t.from(n, t.ERR_BAD_RESPONSE, this, null, s(this, "response")) : n;
51
- }
52
- }
53
- return n;
54
- }],
55
- timeout: 0,
56
- xsrfCookieName: "XSRF-TOKEN",
57
- xsrfHeaderName: "X-XSRF-TOKEN",
58
- maxContentLength: -1,
59
- maxBodyLength: -1,
60
- env: {
61
- FormData: i.classes.FormData,
62
- Blob: i.classes.Blob
63
- },
64
- validateStatus: function(e) {
65
- return e >= 200 && e < 300;
66
- },
67
- headers: { common: {
68
- Accept: "application/json, text/plain, */*",
69
- "Content-Type": void 0
70
- } }
71
- };
72
- e.forEach([
73
- "delete",
74
- "get",
75
- "head",
76
- "post",
77
- "put",
78
- "patch",
79
- "query"
80
- ], (e) => {
81
- l.headers[e] = {};
82
- });
83
26
  //#endregion
84
- export { l as default };
27
+ export { r as default };
@@ -1,12 +1,84 @@
1
- import e from "./admins-components98.js";
2
- import t from "./admins-components101.js";
3
- import n from "./admins-components116.js";
4
- //#region node_modules/axios/lib/core/transformData.js
5
- function r(r, i) {
6
- let a = this || n, o = i || a, s = t.from(o.headers), c = o.data;
7
- return e.forEach(r, function(e) {
8
- c = e.call(a, c, s.normalize(), i ? i.status : void 0);
9
- }), s.normalize(), c;
1
+ import e from "./admins-components99.js";
2
+ import t from "./admins-components103.js";
3
+ import n from "./admins-components104.js";
4
+ import r from "./admins-components108.js";
5
+ import i from "./admins-components114.js";
6
+ import a from "./admins-components115.js";
7
+ import o from "./admins-components116.js";
8
+ //#region node_modules/axios/lib/defaults/index.js
9
+ var s = (t, n) => t != null && e.hasOwnProp(t, n) ? t[n] : void 0;
10
+ function c(t, n, r) {
11
+ if (e.isString(t)) try {
12
+ return (n || JSON.parse)(t), e.trim(t);
13
+ } catch (e) {
14
+ if (e.name !== "SyntaxError") throw e;
15
+ }
16
+ return (r || JSON.stringify)(t);
10
17
  }
18
+ var l = {
19
+ transitional: r,
20
+ adapter: [
21
+ "xhr",
22
+ "http",
23
+ "fetch"
24
+ ],
25
+ transformRequest: [function(t, r) {
26
+ let i = r.getContentType() || "", l = i.indexOf("application/json") > -1, u = e.isObject(t);
27
+ if (u && e.isHTMLForm(t) && (t = new FormData(t)), e.isFormData(t)) return l ? JSON.stringify(o(t)) : t;
28
+ if (e.isArrayBuffer(t) || e.isBuffer(t) || e.isStream(t) || e.isFile(t) || e.isBlob(t) || e.isReadableStream(t)) return t;
29
+ if (e.isArrayBufferView(t)) return t.buffer;
30
+ if (e.isURLSearchParams(t)) return r.setContentType("application/x-www-form-urlencoded;charset=utf-8", !1), t.toString();
31
+ let d;
32
+ if (u) {
33
+ let r = s(this, "formSerializer");
34
+ if (i.indexOf("application/x-www-form-urlencoded") > -1) return a(t, r).toString();
35
+ if ((d = e.isFileList(t)) || i.indexOf("multipart/form-data") > -1) {
36
+ let e = s(this, "env"), i = e && e.FormData;
37
+ return n(d ? { "files[]": t } : t, i && new i(), r);
38
+ }
39
+ }
40
+ return u || l ? (r.setContentType("application/json", !1), c(t)) : t;
41
+ }],
42
+ transformResponse: [function(n) {
43
+ let r = s(this, "transitional") || l.transitional, i = r && r.forcedJSONParsing, a = s(this, "responseType"), o = a === "json";
44
+ if (e.isResponse(n) || e.isReadableStream(n)) return n;
45
+ if (n && e.isString(n) && (i && !a || o)) {
46
+ let e = !(r && r.silentJSONParsing) && o;
47
+ try {
48
+ return JSON.parse(n, s(this, "parseReviver"));
49
+ } catch (n) {
50
+ if (e) throw n.name === "SyntaxError" ? t.from(n, t.ERR_BAD_RESPONSE, this, null, s(this, "response")) : n;
51
+ }
52
+ }
53
+ return n;
54
+ }],
55
+ timeout: 0,
56
+ xsrfCookieName: "XSRF-TOKEN",
57
+ xsrfHeaderName: "X-XSRF-TOKEN",
58
+ maxContentLength: -1,
59
+ maxBodyLength: -1,
60
+ env: {
61
+ FormData: i.classes.FormData,
62
+ Blob: i.classes.Blob
63
+ },
64
+ validateStatus: function(e) {
65
+ return e >= 200 && e < 300;
66
+ },
67
+ headers: { common: {
68
+ Accept: "application/json, text/plain, */*",
69
+ "Content-Type": void 0
70
+ } }
71
+ };
72
+ e.forEach([
73
+ "delete",
74
+ "get",
75
+ "head",
76
+ "post",
77
+ "put",
78
+ "patch",
79
+ "query"
80
+ ], (e) => {
81
+ l.headers[e] = {};
82
+ });
11
83
  //#endregion
12
- export { r as default };
84
+ export { l as default };
@@ -1,6 +1,12 @@
1
- //#region node_modules/axios/lib/cancel/isCancel.js
2
- function e(e) {
3
- return !!(e && e.__CANCEL__);
1
+ import e from "./admins-components99.js";
2
+ import t from "./admins-components102.js";
3
+ import n from "./admins-components117.js";
4
+ //#region node_modules/axios/lib/core/transformData.js
5
+ function r(r, i) {
6
+ let a = this || n, o = i || a, s = t.from(o.headers), c = o.data;
7
+ return e.forEach(r, function(e) {
8
+ c = e.call(a, c, s.normalize(), i ? i.status : void 0);
9
+ }), s.normalize(), c;
4
10
  }
5
11
  //#endregion
6
- export { e as default };
12
+ export { r as default };
@@ -1,9 +1,6 @@
1
- import e from "./admins-components102.js";
2
- //#region node_modules/axios/lib/cancel/CanceledError.js
3
- var t = class extends e {
4
- constructor(t, n, r) {
5
- super(t ?? "canceled", e.ERR_CANCELED, n, r), this.name = "CanceledError", this.__CANCEL__ = !0;
6
- }
7
- };
1
+ //#region node_modules/axios/lib/cancel/isCancel.js
2
+ function e(e) {
3
+ return !!(e && e.__CANCEL__);
4
+ }
8
5
  //#endregion
9
- export { t as default };
6
+ export { e as default };
@@ -1,143 +1,39 @@
1
- import { castToDate as e, formatDate as t, localToUTCString as n, parseDate as r } from "./admins-components3.js";
2
- import { datePickerConfigDefaults as i } from "./admins-components6.js";
3
- import a from "./admins-components10.js";
4
- import { useDropdownAnchor as o } from "./admins-components11.js";
5
- import { Teleport as s, computed as c, createBlock as l, createCommentVNode as u, createElementBlock as d, createElementVNode as f, createVNode as p, defineComponent as m, nextTick as h, normalizeClass as g, normalizeStyle as _, openBlock as v, ref as y, unref as b, watch as x } from "vue";
6
- //#region src/components/DatePicker.vue?vue&type=script&setup=true&lang.ts
7
- var S = [
8
- "value",
9
- "placeholder",
10
- "maxlength"
11
- ], C = /*@__PURE__*/ m({
12
- __name: "DatePicker",
13
- props: {
14
- modelValue: { default: null },
15
- config: { default: () => ({ ...i }) }
16
- },
17
- emits: ["update:modelValue"],
18
- setup(m, { expose: C, emit: w }) {
19
- let T = m, E = c(() => ({
20
- ...i,
21
- ...T.config
22
- })), D = w, O = y(null), k = y(null), { isOpen: A, dropdownStyle: j } = o(O, k), M = y(null), N = "YMDHms", P = c(() => E.value.format ?? (E.value.showTime ? "YYYY-MM-DD HH:mm" : "YYYY-MM-DD")), F = y(e(T.modelValue?.local ?? T.modelValue?.utc) ? t(e(T.modelValue?.local ?? T.modelValue?.utc), P.value) : "");
23
- x(() => T.modelValue, (n) => {
24
- let r = e(n?.local ?? n?.utc);
25
- F.value = r ? t(r, P.value) : "";
26
- });
27
- function I(e) {
28
- let t = "", n = 0;
29
- for (let r = 0; r < P.value.length && n < e.length; r++) t += N.includes(P.value[r]) ? e[n++] : P.value[r];
30
- return t;
31
- }
32
- function L(e) {
33
- let t = e;
34
- for (let e = t.length; e < P.value.length; e++) t += N.includes(P.value[e]) ? "0" : P.value[e];
35
- return t;
36
- }
37
- function R(e) {
38
- if (e.length !== P.value.length) return !1;
39
- for (let t = 0; t < P.value.length; t++) if (N.includes(P.value[t])) {
40
- if (!/\d/.test(e[t])) return !1;
41
- } else if (e[t] !== P.value[t]) return !1;
42
- return !0;
43
- }
44
- function z(e) {
45
- if (!e) {
46
- F.value = "", D("update:modelValue", null);
47
- return;
48
- }
49
- F.value = e;
50
- let t = r(e, P.value);
51
- D("update:modelValue", t ? {
52
- local: t,
53
- utc: n(t, E.value.showTime)
54
- } : null);
55
- }
56
- function B(e) {
57
- let t = e.target, n = t.selectionStart ?? 0, r = t.value.replace(/\D/g, "");
58
- if (A.value = !1, !r) {
59
- z(null), t.value = "";
60
- return;
61
- }
62
- let i = I(r);
63
- if (i.length < P.value.length && !N.includes(P.value[i.length]) && (i += P.value[i.length]), E.value.showTime && i.length >= 10 && i.length < P.value.length && i.replace(/\D/g, "").length <= 8) {
64
- let e = L(i);
65
- t.value = e, F.value = e;
66
- let r = Math.min(n, i.length);
67
- h(() => t.setSelectionRange(r, r)), R(e) && z(e);
68
- return;
69
- }
70
- t.value = i, F.value = i;
71
- let a = Math.min(n, i.length);
72
- for (; a < i.length && !N.includes(P.value[a]);) a++;
73
- h(() => t.setSelectionRange(a, a)), R(i) && z(i);
74
- }
75
- function V() {
76
- F.value && !R(F.value) && (F.value = T.modelValue?.local ? t(T.modelValue.local, P.value) : "");
77
- }
78
- function H(e) {
79
- e.ctrlKey || e.metaKey || ![
80
- "Backspace",
81
- "Delete",
82
- "Tab",
83
- "ArrowLeft",
84
- "ArrowRight",
85
- "Home",
86
- "End"
87
- ].includes(e.key) && !/^\d$/.test(e.key) && e.preventDefault();
88
- }
89
- function U(e) {
90
- z(e), E.value.showTime || (A.value = !1);
91
- }
92
- function W() {
93
- A.value = !0, h(() => M.value?.focus());
94
- }
95
- return C({ focusAndOpen: W }), (e, t) => (v(), d("div", {
96
- ref_key: "wrapperRef",
97
- ref: O,
98
- class: "drp-wrapper ac-component"
99
- }, [f("div", { class: g(["c-input-row", {
100
- "c-input-row--sm": E.value.size === "small",
101
- "c-input-row--lg": E.value.size === "large"
102
- }]) }, [
103
- f("input", {
104
- ref_key: "inputRef",
105
- ref: M,
106
- type: "text",
107
- class: "c-input dp-input pr-0",
108
- inputmode: "numeric",
109
- value: F.value,
110
- placeholder: E.value.placeholder,
111
- maxlength: P.value.length,
112
- onInput: B,
113
- onBlur: V,
114
- onKeydown: H
115
- }, null, 40, S),
116
- f("button", {
117
- type: "button",
118
- class: g(["c-icon-btn c-icon-btn--clear", { "c-icon-btn--hidden": !F.value }]),
119
- onClick: t[0] ||= (e) => z(null),
120
- "aria-label": "Törlés"
121
- }, [...t[3] ||= [f("i", { class: "fa-solid fa-fw fa-xmark" }, null, -1)]], 2),
122
- f("button", {
123
- type: "button",
124
- class: "c-icon-btn c-icon-btn--calendar",
125
- onClick: t[1] ||= (e) => A.value = !b(A),
126
- "aria-label": "Naptár megnyitása"
127
- }, [...t[4] ||= [f("i", { class: "fa-regular fa-fw fa-calendar" }, null, -1)]])
128
- ], 2), (v(), l(s, { to: "body" }, [b(A) ? (v(), d("div", {
129
- key: 0,
130
- ref_key: "dropdownRef",
131
- ref: k,
132
- class: "c-dropdown ac-component",
133
- style: _(b(j))
134
- }, [p(a, {
135
- "model-value": F.value || null,
136
- config: E.value,
137
- "onUpdate:modelValue": U,
138
- onConfirm: t[2] ||= (e) => A.value = !1
139
- }, null, 8, ["model-value", "config"])], 4)) : u("", !0)]))], 512));
1
+ import { onBeforeUnmount as e, onMounted as t, ref as n, watch as r } from "vue";
2
+ //#region src/composables/useDropdownAnchor.ts
3
+ function i(e, t, n) {
4
+ let r = e.target, i = t?.contains(r) ?? !1, a = n?.contains(r) ?? !1;
5
+ return !i && !a;
6
+ }
7
+ function a(a, o, s = {}) {
8
+ let { extraStyle: c, isOutsideClick: l = i } = s, u = n(!1), d = n({});
9
+ function f() {
10
+ if (!a.value) return;
11
+ let e = a.value.getBoundingClientRect();
12
+ d.value = {
13
+ position: "fixed",
14
+ top: `${e.bottom + 2}px`,
15
+ left: `${e.left}px`,
16
+ zIndex: "10001",
17
+ ...c ? c(e) : {}
18
+ };
140
19
  }
141
- });
20
+ function p(e) {
21
+ l(e, a.value, o.value) && (u.value = !1);
22
+ }
23
+ function m() {
24
+ u.value && f();
25
+ }
26
+ return r(u, (e) => {
27
+ e && f();
28
+ }), t(() => {
29
+ document.addEventListener("mousedown", p), window.addEventListener("scroll", m, !0), window.addEventListener("resize", m);
30
+ }), e(() => {
31
+ document.removeEventListener("mousedown", p), window.removeEventListener("scroll", m, !0), window.removeEventListener("resize", m);
32
+ }), {
33
+ isOpen: u,
34
+ dropdownStyle: d,
35
+ positionDropdown: f
36
+ };
37
+ }
142
38
  //#endregion
143
- export { C as default };
39
+ export { a as useDropdownAnchor };
@@ -1,8 +1,9 @@
1
- import e from "./admins-components102.js";
2
- //#region node_modules/axios/lib/core/settle.js
3
- function t(t, n, r) {
4
- let i = r.config.validateStatus;
5
- !r.status || !i || i(r.status) ? t(r) : n(new e("Request failed with status code " + r.status, r.status >= 400 && r.status < 500 ? e.ERR_BAD_REQUEST : e.ERR_BAD_RESPONSE, r.config, r.request, r));
6
- }
1
+ import e from "./admins-components103.js";
2
+ //#region node_modules/axios/lib/cancel/CanceledError.js
3
+ var t = class extends e {
4
+ constructor(t, n, r) {
5
+ super(t ?? "canceled", e.ERR_CANCELED, n, r), this.name = "CanceledError", this.__CANCEL__ = !0;
6
+ }
7
+ };
7
8
  //#endregion
8
9
  export { t as default };
@@ -1,7 +1,8 @@
1
- //#region node_modules/axios/lib/helpers/parseProtocol.js
2
- function e(e) {
3
- let t = /^([-+\w]{1,25}):(?:\/\/)?/.exec(e);
4
- return t && t[1] || "";
1
+ import e from "./admins-components103.js";
2
+ //#region node_modules/axios/lib/core/settle.js
3
+ function t(t, n, r) {
4
+ let i = r.config.validateStatus;
5
+ !r.status || !i || i(r.status) ? t(r) : n(new e("Request failed with status code " + r.status, r.status >= 400 && r.status < 500 ? e.ERR_BAD_REQUEST : e.ERR_BAD_RESPONSE, r.config, r.request, r));
5
6
  }
6
7
  //#endregion
7
- export { e as default };
8
+ export { t as default };
@@ -1,16 +1,7 @@
1
- //#region node_modules/axios/lib/helpers/speedometer.js
2
- function e(e, t) {
3
- e ||= 10;
4
- let n = Array(e), r = Array(e), i = 0, a = 0, o;
5
- return t = t === void 0 ? 1e3 : t, function(s) {
6
- let c = Date.now(), l = r[a];
7
- o ||= c, n[i] = s, r[i] = c;
8
- let u = a, d = 0;
9
- for (; u !== i;) d += n[u++], u %= e;
10
- if (i = (i + 1) % e, i === a && (a = (a + 1) % e), c - o < t) return;
11
- let f = l && c - l;
12
- return f ? Math.round(d * 1e3 / f) : void 0;
13
- };
1
+ //#region node_modules/axios/lib/helpers/parseProtocol.js
2
+ function e(e) {
3
+ let t = /^([-+\w]{1,25}):(?:\/\/)?/.exec(e);
4
+ return t && t[1] || "";
14
5
  }
15
6
  //#endregion
16
7
  export { e as default };
@@ -1,14 +1,16 @@
1
- //#region node_modules/axios/lib/helpers/throttle.js
1
+ //#region node_modules/axios/lib/helpers/speedometer.js
2
2
  function e(e, t) {
3
- let n = 0, r = 1e3 / t, i, a, o = (t, r = Date.now()) => {
4
- n = r, i = null, a &&= (clearTimeout(a), null), e(...t);
3
+ e ||= 10;
4
+ let n = Array(e), r = Array(e), i = 0, a = 0, o;
5
+ return t = t === void 0 ? 1e3 : t, function(s) {
6
+ let c = Date.now(), l = r[a];
7
+ o ||= c, n[i] = s, r[i] = c;
8
+ let u = a, d = 0;
9
+ for (; u !== i;) d += n[u++], u %= e;
10
+ if (i = (i + 1) % e, i === a && (a = (a + 1) % e), c - o < t) return;
11
+ let f = l && c - l;
12
+ return f ? Math.round(d * 1e3 / f) : void 0;
5
13
  };
6
- return [(...e) => {
7
- let t = Date.now(), s = t - n;
8
- s >= r ? o(e, t) : (i = e, a ||= setTimeout(() => {
9
- a = null, o(i);
10
- }, r - s));
11
- }, () => i && o(i)];
12
14
  }
13
15
  //#endregion
14
16
  export { e as default };
@@ -1,31 +1,14 @@
1
- import e from "./admins-components98.js";
2
- import t from "./admins-components122.js";
3
- import n from "./admins-components123.js";
4
- //#region node_modules/axios/lib/helpers/progressEventReducer.js
5
- var r = (e, r, i = 3) => {
6
- let a = 0, o = t(50, 250);
7
- return n((t) => {
8
- if (!t || typeof t.loaded != "number") return;
9
- let n = t.loaded, i = t.lengthComputable ? t.total : void 0, s = i == null ? n : Math.min(n, i), c = Math.max(0, s - a), l = o(c);
10
- a = Math.max(a, s), e({
11
- loaded: s,
12
- total: i,
13
- progress: i ? s / i : void 0,
14
- bytes: c,
15
- rate: l || void 0,
16
- estimated: l && i ? (i - s) / l : void 0,
17
- event: t,
18
- lengthComputable: i != null,
19
- [r ? "download" : "upload"]: !0
20
- });
21
- }, i);
22
- }, i = (e, t) => {
23
- let n = e != null;
24
- return [(r) => t[0]({
25
- lengthComputable: n,
26
- total: e,
27
- loaded: r
28
- }), t[1]];
29
- }, a = (t) => (...n) => e.asap(() => t(...n));
1
+ //#region node_modules/axios/lib/helpers/throttle.js
2
+ function e(e, t) {
3
+ let n = 0, r = 1e3 / t, i, a, o = (t, r = Date.now()) => {
4
+ n = r, i = null, a &&= (clearTimeout(a), null), e(...t);
5
+ };
6
+ return [(...e) => {
7
+ let t = Date.now(), s = t - n;
8
+ s >= r ? o(e, t) : (i = e, a ||= setTimeout(() => {
9
+ a = null, o(i);
10
+ }, r - s));
11
+ }, () => i && o(i)];
12
+ }
30
13
  //#endregion
31
- export { a as asyncDecorator, i as progressEventDecorator, r as progressEventReducer };
14
+ export { e as default };
@@ -1,5 +1,31 @@
1
- import e from "./admins-components113.js";
2
- //#region node_modules/axios/lib/helpers/isURLSameOrigin.js
3
- var t = e.hasStandardBrowserEnv ? ((t, n) => (r) => (r = new URL(r, e.origin), t.protocol === r.protocol && t.host === r.host && (n || t.port === r.port)))(new URL(e.origin), e.navigator && /(msie|trident)/i.test(e.navigator.userAgent)) : () => !0;
1
+ import e from "./admins-components99.js";
2
+ import t from "./admins-components123.js";
3
+ import n from "./admins-components124.js";
4
+ //#region node_modules/axios/lib/helpers/progressEventReducer.js
5
+ var r = (e, r, i = 3) => {
6
+ let a = 0, o = t(50, 250);
7
+ return n((t) => {
8
+ if (!t || typeof t.loaded != "number") return;
9
+ let n = t.loaded, i = t.lengthComputable ? t.total : void 0, s = i == null ? n : Math.min(n, i), c = Math.max(0, s - a), l = o(c);
10
+ a = Math.max(a, s), e({
11
+ loaded: s,
12
+ total: i,
13
+ progress: i ? s / i : void 0,
14
+ bytes: c,
15
+ rate: l || void 0,
16
+ estimated: l && i ? (i - s) / l : void 0,
17
+ event: t,
18
+ lengthComputable: i != null,
19
+ [r ? "download" : "upload"]: !0
20
+ });
21
+ }, i);
22
+ }, i = (e, t) => {
23
+ let n = e != null;
24
+ return [(r) => t[0]({
25
+ lengthComputable: n,
26
+ total: e,
27
+ loaded: r
28
+ }), t[1]];
29
+ }, a = (t) => (...n) => e.asap(() => t(...n));
4
30
  //#endregion
5
- export { t as default };
31
+ export { a as asyncDecorator, i as progressEventDecorator, r as progressEventReducer };
@@ -1,30 +1,5 @@
1
- import e from "./admins-components98.js";
2
- import t from "./admins-components113.js";
3
- //#region node_modules/axios/lib/helpers/cookies.js
4
- var n = t.hasStandardBrowserEnv ? {
5
- write(t, n, r, i, a, o, s) {
6
- if (typeof document > "u") return;
7
- let c = [`${t}=${encodeURIComponent(n)}`];
8
- e.isNumber(r) && c.push(`expires=${new Date(r).toUTCString()}`), e.isString(i) && c.push(`path=${i}`), e.isString(a) && c.push(`domain=${a}`), o === !0 && c.push("secure"), e.isString(s) && c.push(`SameSite=${s}`), document.cookie = c.join("; ");
9
- },
10
- read(e) {
11
- if (typeof document > "u") return null;
12
- let t = document.cookie.split(";");
13
- for (let n = 0; n < t.length; n++) {
14
- let r = t[n].replace(/^\s+/, ""), i = r.indexOf("=");
15
- if (i !== -1 && r.slice(0, i) === e) return decodeURIComponent(r.slice(i + 1));
16
- }
17
- return null;
18
- },
19
- remove(e) {
20
- this.write(e, "", Date.now() - 864e5, "/");
21
- }
22
- } : {
23
- write() {},
24
- read() {
25
- return null;
26
- },
27
- remove() {}
28
- };
1
+ import e from "./admins-components114.js";
2
+ //#region node_modules/axios/lib/helpers/isURLSameOrigin.js
3
+ var t = e.hasStandardBrowserEnv ? ((t, n) => (r) => (r = new URL(r, e.origin), t.protocol === r.protocol && t.host === r.host && (n || t.port === r.port)))(new URL(e.origin), e.navigator && /(msie|trident)/i.test(e.navigator.userAgent)) : () => !0;
29
4
  //#endregion
30
- export { n as default };
5
+ export { t as default };
@@ -1,6 +1,30 @@
1
- //#region node_modules/axios/lib/helpers/isAbsoluteURL.js
2
- function e(e) {
3
- return typeof e == "string" ? /^([a-z][a-z\d+\-.]*:)?\/\//i.test(e) : !1;
4
- }
1
+ import e from "./admins-components99.js";
2
+ import t from "./admins-components114.js";
3
+ //#region node_modules/axios/lib/helpers/cookies.js
4
+ var n = t.hasStandardBrowserEnv ? {
5
+ write(t, n, r, i, a, o, s) {
6
+ if (typeof document > "u") return;
7
+ let c = [`${t}=${encodeURIComponent(n)}`];
8
+ e.isNumber(r) && c.push(`expires=${new Date(r).toUTCString()}`), e.isString(i) && c.push(`path=${i}`), e.isString(a) && c.push(`domain=${a}`), o === !0 && c.push("secure"), e.isString(s) && c.push(`SameSite=${s}`), document.cookie = c.join("; ");
9
+ },
10
+ read(e) {
11
+ if (typeof document > "u") return null;
12
+ let t = document.cookie.split(";");
13
+ for (let n = 0; n < t.length; n++) {
14
+ let r = t[n].replace(/^\s+/, ""), i = r.indexOf("=");
15
+ if (i !== -1 && r.slice(0, i) === e) return decodeURIComponent(r.slice(i + 1));
16
+ }
17
+ return null;
18
+ },
19
+ remove(e) {
20
+ this.write(e, "", Date.now() - 864e5, "/");
21
+ }
22
+ } : {
23
+ write() {},
24
+ read() {
25
+ return null;
26
+ },
27
+ remove() {}
28
+ };
5
29
  //#endregion
6
- export { e as default };
30
+ export { n as default };