admins-components 9.0.4 → 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 -23
  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,10 +1,39 @@
1
- import './src/styles/components/calendar.scss_vue_type_style_index_0_src_true_lang.css';
2
- import './src/styles/components/datepickers.scss_vue_type_style_index_1_src_true_lang.css';
3
- import "./admins-components7.js";
4
- import e from "./admins-components8.js";
5
- /* empty css */
6
- /* empty css */
7
- //#region src/components/Calendar.vue
8
- var t = e;
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
+ };
19
+ }
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
+ }
9
38
  //#endregion
10
- export { t as default };
39
+ export { a as useDropdownAnchor };
@@ -1,5 +1,4 @@
1
- import e from "./admins-components106.js";
2
- //#region node_modules/axios/lib/platform/browser/classes/URLSearchParams.js
3
- var t = typeof URLSearchParams < "u" ? URLSearchParams : e;
1
+ //#region node_modules/axios/lib/platform/browser/classes/Blob.js
2
+ var e = typeof Blob < "u" ? Blob : null;
4
3
  //#endregion
5
- export { t as default };
4
+ export { e as default };
@@ -1,4 +1,22 @@
1
- //#region node_modules/axios/lib/platform/browser/classes/FormData.js
2
- var e = typeof FormData < "u" ? FormData : null;
1
+ import e from "./admins-components108.js";
2
+ import t from "./admins-components109.js";
3
+ import n from "./admins-components110.js";
4
+ //#region node_modules/axios/lib/platform/browser/index.js
5
+ var r = {
6
+ isBrowser: !0,
7
+ classes: {
8
+ URLSearchParams: e,
9
+ FormData: t,
10
+ Blob: n
11
+ },
12
+ protocols: [
13
+ "http",
14
+ "https",
15
+ "file",
16
+ "blob",
17
+ "url",
18
+ "data"
19
+ ]
20
+ };
3
21
  //#endregion
4
- export { e as default };
22
+ export { r as default };
@@ -1,4 +1,15 @@
1
- //#region node_modules/axios/lib/platform/browser/classes/Blob.js
2
- var e = typeof Blob < "u" ? Blob : null;
1
+ import { __exportAll as e } from "./admins-components2.js";
2
+ //#region node_modules/axios/lib/platform/common/utils.js
3
+ var t = /* @__PURE__ */ e({
4
+ hasBrowserEnv: () => n,
5
+ hasStandardBrowserEnv: () => i,
6
+ hasStandardBrowserWebWorkerEnv: () => a,
7
+ navigator: () => r,
8
+ origin: () => o
9
+ }), n = typeof window < "u" && typeof document < "u", r = typeof navigator == "object" && navigator || void 0, i = n && (!r || [
10
+ "ReactNative",
11
+ "NativeScript",
12
+ "NS"
13
+ ].indexOf(r.product) < 0), a = typeof WorkerGlobalScope < "u" && self instanceof WorkerGlobalScope && typeof self.importScripts == "function", o = n && window.location.href || "http://localhost";
3
14
  //#endregion
4
- export { e as default };
15
+ export { t as utils_exports };
@@ -1,22 +1,9 @@
1
- import e from "./admins-components110.js";
2
- import t from "./admins-components111.js";
3
- import n from "./admins-components112.js";
4
- //#region node_modules/axios/lib/platform/browser/index.js
5
- var r = {
6
- isBrowser: !0,
7
- classes: {
8
- URLSearchParams: e,
9
- FormData: t,
10
- Blob: n
11
- },
12
- protocols: [
13
- "http",
14
- "https",
15
- "file",
16
- "blob",
17
- "url",
18
- "data"
19
- ]
1
+ import e from "./admins-components111.js";
2
+ import { utils_exports as t } from "./admins-components112.js";
3
+ //#region node_modules/axios/lib/platform/index.js
4
+ var n = {
5
+ ...t,
6
+ ...e
20
7
  };
21
8
  //#endregion
22
- export { r as default };
9
+ export { n as default };
@@ -1,15 +1,14 @@
1
- import { __exportAll as e } from "./admins-components2.js";
2
- //#region node_modules/axios/lib/platform/common/utils.js
3
- var t = /* @__PURE__ */ e({
4
- hasBrowserEnv: () => n,
5
- hasStandardBrowserEnv: () => i,
6
- hasStandardBrowserWebWorkerEnv: () => a,
7
- navigator: () => r,
8
- origin: () => o
9
- }), n = typeof window < "u" && typeof document < "u", r = typeof navigator == "object" && navigator || void 0, i = n && (!r || [
10
- "ReactNative",
11
- "NativeScript",
12
- "NS"
13
- ].indexOf(r.product) < 0), a = typeof WorkerGlobalScope < "u" && self instanceof WorkerGlobalScope && typeof self.importScripts == "function", o = n && window.location.href || "http://localhost";
1
+ import e from "./admins-components98.js";
2
+ import t from "./admins-components103.js";
3
+ import n from "./admins-components113.js";
4
+ //#region node_modules/axios/lib/helpers/toURLEncodedForm.js
5
+ function r(r, i) {
6
+ return t(r, new n.classes.URLSearchParams(), {
7
+ visitor: function(t, r, i, a) {
8
+ return n.isNode && e.isBuffer(t) ? (this.append(r, t.toString("base64")), !1) : a.defaultVisitor.apply(this, arguments);
9
+ },
10
+ ...i
11
+ });
12
+ }
14
13
  //#endregion
15
- export { t as utils_exports };
14
+ export { r as default };
@@ -1,9 +1,35 @@
1
- import e from "./admins-components113.js";
2
- import { utils_exports as t } from "./admins-components114.js";
3
- //#region node_modules/axios/lib/platform/index.js
4
- var n = {
5
- ...t,
6
- ...e
7
- };
1
+ import e from "./admins-components98.js";
2
+ import t from "./admins-components102.js";
3
+ //#region node_modules/axios/lib/helpers/formDataToJSON.js
4
+ var n = 100;
5
+ function r(e) {
6
+ if (e > n) throw new t("FormData field is too deeply nested (" + e + " levels). Max depth: " + n, t.ERR_FORM_DATA_DEPTH_EXCEEDED);
7
+ }
8
+ function i(e) {
9
+ let t = [], n = /\w+|\[(\w*)]/g, i;
10
+ for (; (i = n.exec(e)) !== null;) r(t.length), t.push(i[0] === "[]" ? "" : i[1] || i[0]);
11
+ return t;
12
+ }
13
+ function a(e) {
14
+ let t = {}, n = Object.keys(e), r, i = n.length, a;
15
+ for (r = 0; r < i; r++) a = n[r], t[a] = e[a];
16
+ return t;
17
+ }
18
+ function o(t) {
19
+ function n(t, i, o, s) {
20
+ r(s);
21
+ let c = t[s++];
22
+ if (c === "__proto__") return !0;
23
+ let l = Number.isFinite(+c), u = s >= t.length;
24
+ return c = !c && e.isArray(o) ? o.length : c, u ? (e.hasOwnProp(o, c) ? o[c] = e.isArray(o[c]) ? o[c].concat(i) : [o[c], i] : o[c] = i, !l) : ((!e.hasOwnProp(o, c) || !e.isObject(o[c])) && (o[c] = []), n(t, i, o[c], s) && e.isArray(o[c]) && (o[c] = a(o[c])), !l);
25
+ }
26
+ if (e.isFormData(t) && e.isFunction(t.entries)) {
27
+ let r = {};
28
+ return e.forEachEntry(t, (e, t) => {
29
+ n(i(e), t, r, 0);
30
+ }), r;
31
+ }
32
+ return null;
33
+ }
8
34
  //#endregion
9
- export { n as default };
35
+ export { o as default };
@@ -1,14 +1,84 @@
1
- import e from "./admins-components100.js";
2
- import t from "./admins-components105.js";
3
- import n from "./admins-components115.js";
4
- //#region node_modules/axios/lib/helpers/toURLEncodedForm.js
5
- function r(r, i) {
6
- return t(r, new n.classes.URLSearchParams(), {
7
- visitor: function(t, r, i, a) {
8
- return n.isNode && e.isBuffer(t) ? (this.append(r, t.toString("base64")), !1) : a.defaultVisitor.apply(this, arguments);
9
- },
10
- ...i
11
- });
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;
15
+ }
16
+ return (r || JSON.stringify)(t);
12
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
+ });
13
83
  //#endregion
14
- export { r as default };
84
+ export { l as default };
@@ -1,27 +1,12 @@
1
- import e from "./admins-components100.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;
23
- }
24
- return null;
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;
25
10
  }
26
11
  //#endregion
27
12
  export { r as default };
@@ -1,84 +1,6 @@
1
- import e from "./admins-components100.js";
2
- import t from "./admins-components104.js";
3
- import n from "./admins-components105.js";
4
- import r from "./admins-components109.js";
5
- import i from "./admins-components115.js";
6
- import a from "./admins-components116.js";
7
- import o from "./admins-components117.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);
1
+ //#region node_modules/axios/lib/cancel/isCancel.js
2
+ function e(e) {
3
+ return !!(e && e.__CANCEL__);
17
4
  }
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
5
  //#endregion
84
- export { l as default };
6
+ export { e as default };
@@ -1,12 +1,9 @@
1
- import e from "./admins-components100.js";
2
- import t from "./admins-components103.js";
3
- import n from "./admins-components118.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;
10
- }
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
+ };
11
8
  //#endregion
12
- export { r as default };
9
+ export { t as default };
@@ -1,39 +1,143 @@
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
- };
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));
19
140
  }
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
- }
141
+ });
38
142
  //#endregion
39
- export { a as useDropdownAnchor };
143
+ export { C as default };
@@ -1,6 +1,8 @@
1
- //#region node_modules/axios/lib/cancel/isCancel.js
2
- function e(e) {
3
- return !!(e && e.__CANCEL__);
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));
4
6
  }
5
7
  //#endregion
6
- export { e as default };
8
+ export { t as default };