@quoreadmin/ui 1.4.6 → 1.4.7

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 (163) hide show
  1. package/dist/index164.js +14 -14
  2. package/dist/index165.js +3 -3
  3. package/dist/index168.js +4 -4
  4. package/dist/index175.js +10 -10
  5. package/dist/index177.js +10 -10
  6. package/dist/index181.js +17 -17
  7. package/dist/index184.js +9 -9
  8. package/dist/index185.js +1 -1
  9. package/dist/index186.js +1 -1
  10. package/dist/index187.js +1 -1
  11. package/dist/index195.js +4 -4
  12. package/dist/index196.js +30 -158
  13. package/dist/index197.js +112 -224
  14. package/dist/index198.js +31 -32
  15. package/dist/index199.js +26 -10
  16. package/dist/index200.js +33 -30
  17. package/dist/index201.js +9 -116
  18. package/dist/index202.js +18 -35
  19. package/dist/index203.js +10 -26
  20. package/dist/index204.js +10 -36
  21. package/dist/index205.js +51 -9
  22. package/dist/index206.js +42 -18
  23. package/dist/index207.js +4 -10
  24. package/dist/index208.js +39 -10
  25. package/dist/index209.js +21 -51
  26. package/dist/index210.js +85 -40
  27. package/dist/index211.js +406 -3
  28. package/dist/index212.js +22 -39
  29. package/dist/index213.js +161 -21
  30. package/dist/index214.js +19 -87
  31. package/dist/index215.js +20 -407
  32. package/dist/index216.js +22 -22
  33. package/dist/index217.js +167 -129
  34. package/dist/index218.js +69 -19
  35. package/dist/index219.js +34 -20
  36. package/dist/index220.js +39 -21
  37. package/dist/index221.js +113 -185
  38. package/dist/index222.js +25 -57
  39. package/dist/index223.js +77 -31
  40. package/dist/index224.js +19 -39
  41. package/dist/index225.js +19 -126
  42. package/dist/index226.js +16 -34
  43. package/dist/index227.js +20 -80
  44. package/dist/index228.js +160 -19
  45. package/dist/index229.js +228 -20
  46. package/dist/index230.js +36 -19
  47. package/dist/index231.js +10 -20
  48. package/dist/index232.js +1 -1
  49. package/dist/index233.js +1 -1
  50. package/dist/index234.js +1 -1
  51. package/dist/index235.js +8 -8
  52. package/dist/index236.js +2 -2
  53. package/dist/index237.js +1 -1
  54. package/dist/index238.js +1 -1
  55. package/dist/index239.js +1 -1
  56. package/dist/index240.js +1 -1
  57. package/dist/index242.js +2 -2
  58. package/dist/index243.js +2 -2
  59. package/dist/index244.js +8 -8
  60. package/dist/index245.js +1 -1
  61. package/dist/index246.js +1 -1
  62. package/dist/index247.js +1 -1
  63. package/dist/index248.js +1 -1
  64. package/dist/index249.js +1 -1
  65. package/dist/index250.js +1 -1
  66. package/dist/index253.js +6 -6
  67. package/dist/index254.js +1 -1
  68. package/dist/index255.js +1 -1
  69. package/dist/index268.js +2 -2
  70. package/dist/index269.js +249 -50
  71. package/dist/index270.js +8 -79
  72. package/dist/index271.js +138 -26
  73. package/dist/index272.js +83 -22
  74. package/dist/index273.js +53 -21
  75. package/dist/index274.js +78 -15
  76. package/dist/index275.js +26 -17
  77. package/dist/index276.js +22 -253
  78. package/dist/index277.js +22 -8
  79. package/dist/index278.js +15 -137
  80. package/dist/index279.js +17 -83
  81. package/dist/index280.js +1 -1
  82. package/dist/index284.js +221 -1504
  83. package/dist/index285.js +4 -384
  84. package/dist/index286.js +119 -2716
  85. package/dist/index287.js +65 -83
  86. package/dist/index288.js +85 -3768
  87. package/dist/index289.js +26 -57
  88. package/dist/index290.js +7 -77
  89. package/dist/index291.js +74 -21
  90. package/dist/index292.js +3 -934
  91. package/dist/index293.js +2 -22
  92. package/dist/index294.js +82 -19
  93. package/dist/index295.js +53 -19
  94. package/dist/index296.js +5 -68
  95. package/dist/index297.js +5 -19
  96. package/dist/index298.js +178 -18
  97. package/dist/index299.js +62 -21
  98. package/dist/index300.js +75 -22
  99. package/dist/index301.js +68 -52
  100. package/dist/index302.js +22 -15
  101. package/dist/index303.js +923 -72
  102. package/dist/index304.js +22 -202
  103. package/dist/index305.js +20 -246
  104. package/dist/index306.js +19 -234
  105. package/dist/index307.js +68 -5
  106. package/dist/index308.js +18 -133
  107. package/dist/index309.js +19 -68
  108. package/dist/index310.js +20 -85
  109. package/dist/index311.js +21 -28
  110. package/dist/index312.js +62 -8
  111. package/dist/index313.js +1507 -64
  112. package/dist/index314.js +385 -3
  113. package/dist/index315.js +2731 -2
  114. package/dist/index316.js +80 -77
  115. package/dist/index317.js +3769 -53
  116. package/dist/index318.js +58 -4
  117. package/dist/index319.js +15 -5
  118. package/dist/index320.js +71 -166
  119. package/dist/index321.js +196 -57
  120. package/dist/index322.js +246 -75
  121. package/dist/index323.js +1 -1
  122. package/dist/index326.js +1 -1
  123. package/dist/index331.js +1 -1
  124. package/dist/index336.js +2 -2
  125. package/dist/index341.js +1 -1
  126. package/dist/index342.js +2 -2
  127. package/dist/index347.js +20 -19
  128. package/dist/index348.js +55 -19
  129. package/dist/index349.js +28 -63
  130. package/dist/index350.js +7 -37
  131. package/dist/index351.js +49 -18
  132. package/dist/index352.js +6 -56
  133. package/dist/index353.js +10 -27
  134. package/dist/index354.js +7 -7
  135. package/dist/index355.js +27 -51
  136. package/dist/index356.js +2 -6
  137. package/dist/index357.js +69 -11
  138. package/dist/index358.js +166 -6
  139. package/dist/index359.js +20 -28
  140. package/dist/index360.js +20 -2
  141. package/dist/index361.js +61 -67
  142. package/dist/index362.js +36 -166
  143. package/dist/index363.js +31 -17
  144. package/dist/index364.js +10 -100
  145. package/dist/index365.js +3 -90
  146. package/dist/index366.js +4 -98
  147. package/dist/index367.js +12 -30
  148. package/dist/index368.js +7 -11
  149. package/dist/index369.js +11 -3
  150. package/dist/index370.js +4 -3
  151. package/dist/index371.js +33 -13
  152. package/dist/index372.js +31 -7
  153. package/dist/index373.js +28 -12
  154. package/dist/index374.js +61 -5
  155. package/dist/index375.js +17 -33
  156. package/dist/index376.js +99 -29
  157. package/dist/index377.js +91 -28
  158. package/dist/index378.js +96 -59
  159. package/dist/index379.js +1 -1
  160. package/dist/index384.js +1 -1
  161. package/dist/index385.js +2 -2
  162. package/package.json +2 -2
  163. package/tailwind.preset.ts +1 -1
package/dist/index164.js CHANGED
@@ -1,18 +1,18 @@
1
- import st from "./index200.js";
1
+ import st from "./index196.js";
2
2
  import { reactive as V, watch as h, ref as g, defineComponent as Z, useSlots as H, h as K, Fragment as at, inject as ct, computed as A, toRaw as lt, unref as x } from "vue";
3
- import { unrefElement as ut, useIntersectionObserver as ft, useEventListener as m } from "./index201.js";
4
- import { tryOnUnmounted as pt, isObject as yt } from "./index202.js";
5
- import D, { getFrameData as dt } from "./index203.js";
6
- import { complex as $ } from "./index204.js";
7
- import { number as mt, alpha as C, scale as j } from "./index205.js";
8
- import { filter as P } from "./index206.js";
9
- import { px as c, progressPercentage as F, degrees as O } from "./index207.js";
10
- import { color as b } from "./index208.js";
11
- import { inertia as bt } from "./index209.js";
12
- import { animate as ht } from "./index210.js";
13
- import { velocityPerSecond as vt } from "./index211.js";
14
- import { cubicBezier as gt } from "./index212.js";
15
- import { bounceOut as Ot, bounceInOut as Tt, bounceIn as At, anticipate as xt, backOut as jt, backInOut as Vt, backIn as St, circOut as Ct, circInOut as Et, circIn as Nt, easeOut as Pt, easeInOut as _t, easeIn as wt, linear as Rt } from "./index213.js";
3
+ import { unrefElement as ut, useIntersectionObserver as ft, useEventListener as m } from "./index197.js";
4
+ import { tryOnUnmounted as pt, isObject as yt } from "./index198.js";
5
+ import D, { getFrameData as dt } from "./index199.js";
6
+ import { complex as $ } from "./index200.js";
7
+ import { number as mt, alpha as C, scale as j } from "./index201.js";
8
+ import { filter as P } from "./index202.js";
9
+ import { px as c, progressPercentage as F, degrees as O } from "./index203.js";
10
+ import { color as b } from "./index204.js";
11
+ import { inertia as bt } from "./index205.js";
12
+ import { animate as ht } from "./index206.js";
13
+ import { velocityPerSecond as vt } from "./index207.js";
14
+ import { cubicBezier as gt } from "./index208.js";
15
+ import { bounceOut as Ot, bounceInOut as Tt, bounceIn as At, anticipate as xt, backOut as jt, backInOut as Vt, backIn as St, circOut as Ct, circInOut as Et, circIn as Nt, easeOut as Pt, easeInOut as _t, easeIn as wt, linear as Rt } from "./index209.js";
16
16
  const R = {};
17
17
  class Mt {
18
18
  subscriptions = /* @__PURE__ */ new Set();
package/dist/index165.js CHANGED
@@ -1,7 +1,7 @@
1
- import g from "./index214.js";
1
+ import g from "./index210.js";
2
2
  import { DomHandler as f, ObjectUtils as d } from "./index162.js";
3
- import v from "./index215.js";
4
- import S from "./index216.js";
3
+ import v from "./index211.js";
4
+ import S from "./index212.js";
5
5
  import { resolveDirective as A, createElementBlock as h, openBlock as p, mergeProps as b, Fragment as E, renderList as O, withDirectives as w, renderSlot as x, normalizeClass as K, createElementVNode as I, toDisplayString as D } from "vue";
6
6
  var V = {
7
7
  name: "BaseSelectButton",
package/dist/index168.js CHANGED
@@ -1,8 +1,8 @@
1
1
  import { createVNode as s, ref as k, watchEffect as Y, onMounted as me, watch as nt, computed as A, toRef as at, inject as ge, shallowRef as lt, defineComponent as ot, provide as ye, onUnmounted as rt, isVNode as st, Teleport as it, Transition as ut, createElementBlock as be, openBlock as we, createElementVNode as Z, h as Ye } from "vue";
2
- import { format as Ce } from "./index196.js";
3
- import { parse as ct } from "./index197.js";
4
- import { getWeek as Ie } from "./index198.js";
5
- import dt from "./index199.js";
2
+ import { format as Ce } from "./index228.js";
3
+ import { parse as ct } from "./index229.js";
4
+ import { getWeek as Ie } from "./index230.js";
5
+ import dt from "./index231.js";
6
6
  var ft = Object.defineProperty, pt = Object.defineProperties, vt = Object.getOwnPropertyDescriptors, le = Object.getOwnPropertySymbols, Ue = Object.prototype.hasOwnProperty, Fe = Object.prototype.propertyIsEnumerable, Se = (t, e, n) => e in t ? ft(t, e, { enumerable: !0, configurable: !0, writable: !0, value: n }) : t[e] = n, M = (t, e) => {
7
7
  for (var n in e || (e = {}))
8
8
  Ue.call(e, n) && Se(t, n, e[n]);
package/dist/index175.js CHANGED
@@ -1,14 +1,14 @@
1
- import A from "./index217.js";
2
- import O from "./index218.js";
3
- import V from "./index219.js";
4
- import R from "./index220.js";
5
- import j from "./index221.js";
6
- import K from "./index222.js";
7
- import H from "./index214.js";
1
+ import A from "./index213.js";
2
+ import O from "./index214.js";
3
+ import V from "./index215.js";
4
+ import R from "./index216.js";
5
+ import j from "./index217.js";
6
+ import K from "./index218.js";
7
+ import H from "./index210.js";
8
8
  import { DomHandler as w } from "./index162.js";
9
- import W from "./index215.js";
10
- import G from "./index223.js";
11
- import Y from "./index224.js";
9
+ import W from "./index211.js";
10
+ import G from "./index219.js";
11
+ import Y from "./index220.js";
12
12
  import { resolveComponent as y, createElementBlock as f, openBlock as o, Fragment as U, renderList as E, mergeProps as r, createElementVNode as h, createVNode as L, toDisplayString as F, normalizeClass as B, withCtx as C, createBlock as m, resolveDynamicComponent as b, resolveDirective as Z, createCommentVNode as v, renderSlot as g, withDirectives as M, withKeys as T, createTextVNode as z } from "vue";
13
13
  var q = {
14
14
  name: "BaseFileUpload",
package/dist/index177.js CHANGED
@@ -1,15 +1,15 @@
1
- import q from "./index225.js";
2
- import X from "./index226.js";
1
+ import q from "./index221.js";
2
+ import X from "./index222.js";
3
3
  import { ZIndexUtils as T, DomHandler as c, UniqueComponentId as k, ObjectUtils as $ } from "./index162.js";
4
- import O from "./index215.js";
5
- import Y from "./index227.js";
6
- import J from "./index219.js";
7
- import L from "./index214.js";
8
- import H from "./index228.js";
9
- import M from "./index229.js";
4
+ import O from "./index211.js";
5
+ import Y from "./index223.js";
6
+ import J from "./index215.js";
7
+ import L from "./index210.js";
8
+ import H from "./index224.js";
9
+ import M from "./index225.js";
10
10
  import { resolveDirective as C, createElementBlock as d, openBlock as s, mergeProps as l, createElementVNode as b, createCommentVNode as h, withDirectives as y, createBlock as f, resolveDynamicComponent as p, Fragment as U, renderList as G, resolveComponent as A, createVNode as z, withCtx as D, Transition as Q } from "vue";
11
- import ee from "./index230.js";
12
- import te from "./index231.js";
11
+ import ee from "./index226.js";
12
+ import te from "./index227.js";
13
13
  var ie = {
14
14
  name: "BaseGalleria",
15
15
  extends: O,
package/dist/index181.js CHANGED
@@ -1,20 +1,20 @@
1
- import a from "./index306.js";
2
- import p from "./index307.js";
3
- import m from "./index308.js";
4
- import i from "./index309.js";
5
- import f from "./index310.js";
6
- import l from "./index311.js";
7
- import c from "./index312.js";
8
- import d from "./index313.js";
9
- import u from "./index314.js";
10
- import { VERSION as x } from "./index315.js";
11
- import C from "./index316.js";
12
- import A from "./index317.js";
13
- import E from "./index318.js";
14
- import O from "./index319.js";
15
- import S from "./index320.js";
16
- import H from "./index321.js";
17
- import T from "./index322.js";
1
+ import a from "./index284.js";
2
+ import p from "./index285.js";
3
+ import m from "./index286.js";
4
+ import i from "./index287.js";
5
+ import f from "./index288.js";
6
+ import l from "./index289.js";
7
+ import c from "./index290.js";
8
+ import d from "./index291.js";
9
+ import u from "./index292.js";
10
+ import { VERSION as x } from "./index293.js";
11
+ import C from "./index294.js";
12
+ import A from "./index295.js";
13
+ import E from "./index296.js";
14
+ import O from "./index297.js";
15
+ import S from "./index298.js";
16
+ import H from "./index299.js";
17
+ import T from "./index300.js";
18
18
  function n(o) {
19
19
  const t = new m(o), e = p(m.prototype.request, t);
20
20
  return a.extend(e, m.prototype, t, { allOwnKeys: !0 }), a.extend(e, t, null, { allOwnKeys: !0 }), e.create = function(s) {
package/dist/index184.js CHANGED
@@ -5,27 +5,27 @@ import at from "./index234.js";
5
5
  import ut from "./index235.js";
6
6
  import { ObjectUtils as b, UniqueComponentId as X, DomHandler as m, HelperSet as W, ConnectedOverlayScrollHandler as st, ZIndexUtils as ce } from "./index162.js";
7
7
  import dt from "./index236.js";
8
- import F from "./index215.js";
8
+ import F from "./index211.js";
9
9
  import ct from "./index237.js";
10
- import We from "./index230.js";
11
- import Ue from "./index229.js";
10
+ import We from "./index226.js";
11
+ import Ue from "./index225.js";
12
12
  import { mergeProps as f, resolveComponent as R, createBlock as w, openBlock as u, withCtx as k, createCommentVNode as v, resolveDynamicComponent as C, normalizeClass as S, resolveDirective as qe, createElementBlock as p, withDirectives as q, toDisplayString as H, Fragment as P, createTextVNode as Xe, createElementVNode as T, withModifiers as Je, renderList as B, createVNode as z, normalizeProps as ue, guardReactiveProps as fe, Transition as ft, withKeys as me, renderSlot as O, createSlots as Ce } from "vue";
13
13
  import mt from "./index238.js";
14
14
  import pe from "./index239.js";
15
15
  import ht from "./index240.js";
16
- import pt from "./index219.js";
16
+ import pt from "./index215.js";
17
17
  import K from "./index241.js";
18
- import gt from "./index214.js";
18
+ import gt from "./index210.js";
19
19
  import Ze from "./index242.js";
20
20
  import yt from "./index243.js";
21
- import wt from "./index217.js";
21
+ import wt from "./index213.js";
22
22
  import vt from "./index244.js";
23
- import bt from "./index225.js";
23
+ import bt from "./index221.js";
24
24
  import Ct from "./index245.js";
25
25
  import Rt from "./index246.js";
26
- import St from "./index218.js";
26
+ import St from "./index214.js";
27
27
  import Pt from "./index247.js";
28
- import Et from "./index226.js";
28
+ import Et from "./index222.js";
29
29
  import Re from "./index248.js";
30
30
  import Se from "./index249.js";
31
31
  import Pe from "./index250.js";
package/dist/index185.js CHANGED
@@ -1,4 +1,4 @@
1
- import l from "./index215.js";
1
+ import l from "./index211.js";
2
2
  import n from "./index251.js";
3
3
  var u = {
4
4
  name: "BaseColumn",
package/dist/index186.js CHANGED
@@ -1,4 +1,4 @@
1
- import r from "./index215.js";
1
+ import r from "./index211.js";
2
2
  import e from "./index252.js";
3
3
  var o = {
4
4
  name: "BaseColumnGroup",
package/dist/index187.js CHANGED
@@ -1,4 +1,4 @@
1
- import r from "./index215.js";
1
+ import r from "./index211.js";
2
2
  var o = {
3
3
  name: "Row",
4
4
  extends: r,
package/dist/index195.js CHANGED
@@ -1,9 +1,9 @@
1
1
  import { Extension as u, isNodeEmpty as w, callOrReturn as v, getExtensionField as S, isNodeSelection as P } from "./index253.js";
2
2
  import { Plugin as p, PluginKey as m } from "./index268.js";
3
- import { dropCursor as z } from "./index303.js";
4
- import { Decoration as g, DecorationSet as f } from "./index288.js";
5
- import { gapCursor as N } from "./index304.js";
6
- import { history as E, redo as M, undo as O } from "./index305.js";
3
+ import { dropCursor as z } from "./index320.js";
4
+ import { Decoration as g, DecorationSet as f } from "./index317.js";
5
+ import { gapCursor as N } from "./index321.js";
6
+ import { history as E, redo as M, undo as O } from "./index322.js";
7
7
  u.create({
8
8
  name: "characterCount",
9
9
  addOptions() {
package/dist/index196.js CHANGED
@@ -1,163 +1,35 @@
1
- import { toDate as m, isValidDate as M, getWeek as l } from "./index198.js";
2
- import h from "./index199.js";
3
- var Y = /\[([^\]]+)]|YYYY|YY?|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|m{1,2}|s{1,2}|Z{1,2}|S{1,3}|w{1,2}|x|X|a|A/g;
4
- function r(n) {
5
- for (var t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : 2, e = "".concat(Math.abs(n)), u = n < 0 ? "-" : ""; e.length < t; )
6
- e = "0".concat(e);
7
- return u + e;
1
+ function u(t) {
2
+ if (t === null || typeof t != "object")
3
+ return !1;
4
+ const n = Object.getPrototypeOf(t);
5
+ return n !== null && n !== Object.prototype && Object.getPrototypeOf(n) !== null || Symbol.iterator in t ? !1 : Symbol.toStringTag in t ? Object.prototype.toString.call(t) === "[object Module]" : !0;
8
6
  }
9
- function c(n) {
10
- return Math.round(n.getTimezoneOffset() / 15) * 15;
11
- }
12
- function g(n) {
13
- var t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : "", e = n > 0 ? "-" : "+", u = Math.abs(n), o = Math.floor(u / 60), a = u % 60;
14
- return e + r(o, 2) + t + r(a, 2);
15
- }
16
- var d = function(t, e, u) {
17
- var o = t < 12 ? "AM" : "PM";
18
- return u ? o.toLocaleLowerCase() : o;
19
- }, i = {
20
- Y: function(t) {
21
- var e = t.getFullYear();
22
- return e <= 9999 ? "".concat(e) : "+".concat(e);
23
- },
24
- // Year: 00, 01, ..., 99
25
- YY: function(t) {
26
- return r(t.getFullYear(), 4).substr(2);
27
- },
28
- // Year: 1900, 1901, ..., 2099
29
- YYYY: function(t) {
30
- return r(t.getFullYear(), 4);
31
- },
32
- // Month: 1, 2, ..., 12
33
- M: function(t) {
34
- return t.getMonth() + 1;
35
- },
36
- // Month: 01, 02, ..., 12
37
- MM: function(t) {
38
- return r(t.getMonth() + 1, 2);
39
- },
40
- MMM: function(t, e) {
41
- return e.monthsShort[t.getMonth()];
42
- },
43
- MMMM: function(t, e) {
44
- return e.months[t.getMonth()];
45
- },
46
- // Day of month: 1, 2, ..., 31
47
- D: function(t) {
48
- return t.getDate();
49
- },
50
- // Day of month: 01, 02, ..., 31
51
- DD: function(t) {
52
- return r(t.getDate(), 2);
53
- },
54
- // Hour: 0, 1, ... 23
55
- H: function(t) {
56
- return t.getHours();
57
- },
58
- // Hour: 00, 01, ..., 23
59
- HH: function(t) {
60
- return r(t.getHours(), 2);
61
- },
62
- // Hour: 1, 2, ..., 12
63
- h: function(t) {
64
- var e = t.getHours();
65
- return e === 0 ? 12 : e > 12 ? e % 12 : e;
66
- },
67
- // Hour: 01, 02, ..., 12
68
- hh: function() {
69
- var t = i.h.apply(i, arguments);
70
- return r(t, 2);
71
- },
72
- // Minute: 0, 1, ..., 59
73
- m: function(t) {
74
- return t.getMinutes();
75
- },
76
- // Minute: 00, 01, ..., 59
77
- mm: function(t) {
78
- return r(t.getMinutes(), 2);
79
- },
80
- // Second: 0, 1, ..., 59
81
- s: function(t) {
82
- return t.getSeconds();
83
- },
84
- // Second: 00, 01, ..., 59
85
- ss: function(t) {
86
- return r(t.getSeconds(), 2);
87
- },
88
- // 1/10 of second: 0, 1, ..., 9
89
- S: function(t) {
90
- return Math.floor(t.getMilliseconds() / 100);
91
- },
92
- // 1/100 of second: 00, 01, ..., 99
93
- SS: function(t) {
94
- return r(Math.floor(t.getMilliseconds() / 10), 2);
95
- },
96
- // Millisecond: 000, 001, ..., 999
97
- SSS: function(t) {
98
- return r(t.getMilliseconds(), 3);
99
- },
100
- // Day of week: 0, 1, ..., 6
101
- d: function(t) {
102
- return t.getDay();
103
- },
104
- // Day of week: 'Su', 'Mo', ..., 'Sa'
105
- dd: function(t, e) {
106
- return e.weekdaysMin[t.getDay()];
107
- },
108
- // Day of week: 'Sun', 'Mon',..., 'Sat'
109
- ddd: function(t, e) {
110
- return e.weekdaysShort[t.getDay()];
111
- },
112
- // Day of week: 'Sunday', 'Monday', ...,'Saturday'
113
- dddd: function(t, e) {
114
- return e.weekdays[t.getDay()];
115
- },
116
- // AM, PM
117
- A: function(t, e) {
118
- var u = e.meridiem || d;
119
- return u(t.getHours(), t.getMinutes(), !1);
120
- },
121
- // am, pm
122
- a: function(t, e) {
123
- var u = e.meridiem || d;
124
- return u(t.getHours(), t.getMinutes(), !0);
125
- },
126
- // Timezone: -01:00, +00:00, ... +12:00
127
- Z: function(t) {
128
- return g(c(t), ":");
129
- },
130
- // Timezone: -0100, +0000, ... +1200
131
- ZZ: function(t) {
132
- return g(c(t));
133
- },
134
- // Seconds timestamp: 512969520
135
- X: function(t) {
136
- return Math.floor(t.getTime() / 1e3);
137
- },
138
- // Milliseconds timestamp: 512969520900
139
- x: function(t) {
140
- return t.getTime();
141
- },
142
- w: function(t, e) {
143
- return l(t, {
144
- firstDayOfWeek: e.firstDayOfWeek,
145
- firstWeekContainsDate: e.firstWeekContainsDate
146
- });
147
- },
148
- ww: function(t, e) {
149
- return r(i.w(t, e), 2);
7
+ function c(t, n, e = ".", f) {
8
+ if (!u(n))
9
+ return c(t, {}, e, f);
10
+ const r = Object.assign({}, n);
11
+ for (const o in t) {
12
+ if (o === "__proto__" || o === "constructor")
13
+ continue;
14
+ const i = t[o];
15
+ i != null && (f && f(r, o, i, e) || (Array.isArray(i) && Array.isArray(r[o]) ? r[o] = [...i, ...r[o]] : u(i) && u(r[o]) ? r[o] = c(
16
+ i,
17
+ r[o],
18
+ (e ? `${e}.` : "") + o.toString(),
19
+ f
20
+ ) : r[o] = i));
150
21
  }
151
- };
152
- function v(n, t) {
153
- var e = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {}, u = t ? String(t) : "YYYY-MM-DDTHH:mm:ss.SSSZ", o = m(n);
154
- if (!M(o))
155
- return "Invalid Date";
156
- var a = e.locale || h;
157
- return u.replace(Y, function(f, s) {
158
- return s || (typeof i[f] == "function" ? "".concat(i[f](o, a)) : f);
159
- });
22
+ return r;
23
+ }
24
+ function l(t) {
25
+ return (...n) => (
26
+ // eslint-disable-next-line unicorn/no-array-reduce
27
+ n.reduce((e, f) => c(e, f, "", t), {})
28
+ );
160
29
  }
30
+ const y = l();
161
31
  export {
162
- v as format
32
+ l as createDefu,
33
+ y as default,
34
+ y as defu
163
35
  };