@quoreadmin/ui 1.10.32 → 1.10.33

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 (193) hide show
  1. package/dist/index.css +1 -1
  2. package/dist/index147.js +253 -250
  3. package/dist/index157.js +204 -191
  4. package/dist/index182.js +14 -14
  5. package/dist/index183.js +3 -3
  6. package/dist/index186.js +4 -4
  7. package/dist/index193.js +10 -10
  8. package/dist/index195.js +10 -10
  9. package/dist/index198.js +17 -17
  10. package/dist/index201.js +28 -28
  11. package/dist/index202.js +2 -2
  12. package/dist/index203.js +2 -2
  13. package/dist/index204.js +1 -1
  14. package/dist/index212.js +4 -4
  15. package/dist/index213.js +84 -29
  16. package/dist/index214.js +400 -109
  17. package/dist/index215.js +22 -36
  18. package/dist/index216.js +33 -26
  19. package/dist/index217.js +111 -31
  20. package/dist/index218.js +35 -50
  21. package/dist/index219.js +26 -43
  22. package/dist/index220.js +35 -3
  23. package/dist/index221.js +51 -9
  24. package/dist/index222.js +42 -18
  25. package/dist/index223.js +4 -10
  26. package/dist/index224.js +9 -10
  27. package/dist/index225.js +18 -38
  28. package/dist/index226.js +10 -21
  29. package/dist/index227.js +10 -88
  30. package/dist/index228.js +35 -403
  31. package/dist/index229.js +21 -22
  32. package/dist/index230.js +156 -122
  33. package/dist/index231.js +225 -35
  34. package/dist/index232.js +37 -80
  35. package/dist/index233.js +10 -20
  36. package/dist/index234.js +160 -19
  37. package/dist/index235.js +10 -10
  38. package/dist/index236.js +11 -11
  39. package/dist/index237.js +15 -13
  40. package/dist/index238.js +167 -129
  41. package/dist/index239.js +69 -19
  42. package/dist/index240.js +33 -21
  43. package/dist/index241.js +25 -184
  44. package/dist/index242.js +21 -69
  45. package/dist/index243.js +22 -34
  46. package/dist/index244.js +19 -39
  47. package/dist/index245.js +833 -158
  48. package/dist/index246.js +683 -209
  49. package/dist/index247.js +176 -37
  50. package/dist/index248.js +20 -10
  51. package/dist/index249.js +20 -253
  52. package/dist/index250.js +21 -7
  53. package/dist/index251.js +20 -138
  54. package/dist/index252.js +20 -83
  55. package/dist/index253.js +3 -22
  56. package/dist/index254.js +186 -21
  57. package/dist/index255.js +132 -19
  58. package/dist/index256.js +1131 -744
  59. package/dist/index257.js +104 -679
  60. package/dist/index258.js +20 -176
  61. package/dist/index259.js +11 -11
  62. package/dist/index260.js +15 -13
  63. package/dist/index261.js +37 -19
  64. package/dist/index262.js +29 -3
  65. package/dist/index263.js +19 -186
  66. package/dist/index264.js +18 -131
  67. package/dist/index265.js +2 -1223
  68. package/dist/index266.js +2 -20
  69. package/dist/index267.js +80 -22
  70. package/dist/index268.js +13 -15
  71. package/dist/index269.js +12 -21
  72. package/dist/index270.js +253 -20
  73. package/dist/index271.js +8 -20
  74. package/dist/index272.js +138 -2
  75. package/dist/index273.js +83 -2
  76. package/dist/index274.js +6 -6
  77. package/dist/index275.js +1 -1
  78. package/dist/index276.js +1 -1
  79. package/dist/index289.js +2 -2
  80. package/dist/index290.js +54 -2
  81. package/dist/index291.js +2 -2
  82. package/dist/index292.js +25 -53
  83. package/dist/index293.js +15 -19
  84. package/dist/index294.js +9 -9
  85. package/dist/index295.js +16 -22
  86. package/dist/index296.js +15 -14
  87. package/dist/index297.js +21 -15
  88. package/dist/index298.js +3 -23
  89. package/dist/index299.js +27 -3
  90. package/dist/index300.js +2 -27
  91. package/dist/index301.js +74 -230
  92. package/dist/index302.js +21 -5
  93. package/dist/index303.js +925 -124
  94. package/dist/index304.js +21 -67
  95. package/dist/index305.js +18 -85
  96. package/dist/index306.js +19 -28
  97. package/dist/index307.js +67 -7
  98. package/dist/index308.js +19 -75
  99. package/dist/index309.js +19 -4
  100. package/dist/index310.js +22 -2
  101. package/dist/index311.js +21 -82
  102. package/dist/index312.js +62 -53
  103. package/dist/index313.js +1533 -5
  104. package/dist/index314.js +385 -4
  105. package/dist/index315.js +2700 -148
  106. package/dist/index316.js +83 -60
  107. package/dist/index317.js +3798 -75
  108. package/dist/index318.js +55 -1529
  109. package/dist/index319.js +14 -385
  110. package/dist/index320.js +67 -2714
  111. package/dist/index321.js +189 -73
  112. package/dist/index322.js +222 -3774
  113. package/dist/index323.js +32 -55
  114. package/dist/index324.js +234 -14
  115. package/dist/index325.js +5 -83
  116. package/dist/index326.js +122 -190
  117. package/dist/index327.js +61 -239
  118. package/dist/index328.js +83 -75
  119. package/dist/index329.js +28 -21
  120. package/dist/index330.js +9 -935
  121. package/dist/index331.js +74 -21
  122. package/dist/index332.js +3 -19
  123. package/dist/index333.js +2 -20
  124. package/dist/index334.js +80 -66
  125. package/dist/index335.js +53 -18
  126. package/dist/index336.js +6 -19
  127. package/dist/index337.js +4 -21
  128. package/dist/index338.js +178 -21
  129. package/dist/index339.js +62 -62
  130. package/dist/index340.js +74 -36
  131. package/dist/index341.js +8 -9
  132. package/dist/index342.js +13 -10
  133. package/dist/index343.js +54 -13
  134. package/dist/index344.js +12 -10
  135. package/dist/index345.js +12 -15
  136. package/dist/index346.js +57 -8
  137. package/dist/index347.js +51 -12
  138. package/dist/index348.js +25 -49
  139. package/dist/index349.js +2 -12
  140. package/dist/index350.js +5 -14
  141. package/dist/index351.js +2 -58
  142. package/dist/index352.js +23 -52
  143. package/dist/index353.js +38 -28
  144. package/dist/index354.js +2 -2
  145. package/dist/index355.js +10 -4
  146. package/dist/index356.js +20 -2
  147. package/dist/index357.js +9 -22
  148. package/dist/index358.js +9 -40
  149. package/dist/index359.js +17 -2
  150. package/dist/index360.js +2 -11
  151. package/dist/index361.js +9 -20
  152. package/dist/index362.js +10 -2
  153. package/dist/index363.js +13 -8
  154. package/dist/index364.js +19 -20
  155. package/dist/index365.js +19 -55
  156. package/dist/index366.js +63 -28
  157. package/dist/index367.js +37 -7
  158. package/dist/index368.js +18 -49
  159. package/dist/index369.js +56 -6
  160. package/dist/index370.js +27 -10
  161. package/dist/index371.js +7 -7
  162. package/dist/index372.js +51 -27
  163. package/dist/index373.js +6 -2
  164. package/dist/index374.js +11 -69
  165. package/dist/index375.js +6 -166
  166. package/dist/index376.js +28 -20
  167. package/dist/index377.js +2 -20
  168. package/dist/index378.js +67 -61
  169. package/dist/index379.js +166 -36
  170. package/dist/index380.js +17 -31
  171. package/dist/index381.js +100 -10
  172. package/dist/index382.js +90 -3
  173. package/dist/index383.js +98 -4
  174. package/dist/index386.js +30 -11
  175. package/dist/index387.js +10 -4
  176. package/dist/index388.js +4 -33
  177. package/dist/index389.js +4 -31
  178. package/dist/index390.js +12 -28
  179. package/dist/index391.js +5 -61
  180. package/dist/index392.js +33 -101
  181. package/dist/index393.js +31 -91
  182. package/dist/index394.js +27 -97
  183. package/dist/index395.js +60 -16
  184. package/dist/index396.js +1 -1
  185. package/dist/index401.js +1 -1
  186. package/dist/index402.js +2 -2
  187. package/dist/index45.js +9 -7
  188. package/dist/index50.js +2 -2
  189. package/dist/index98.js +101 -29
  190. package/dist/src/components/date-picker/date-picker.d.ts +33 -0
  191. package/dist/src/components/date-picker/date-picker.stories.d.ts +108 -0
  192. package/dist/src/components/room-details-popover/room-details-popover.d.ts +37 -12
  193. package/package.json +1 -1
package/dist/index182.js CHANGED
@@ -1,18 +1,18 @@
1
- import st from "./index213.js";
1
+ import st from "./index216.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 "./index214.js";
4
- import { tryOnUnmounted as pt, isObject as yt } from "./index215.js";
5
- import D, { getFrameData as dt } from "./index216.js";
6
- import { complex as $ } from "./index217.js";
7
- import { inertia as mt } from "./index218.js";
8
- import { animate as bt } from "./index219.js";
9
- import { velocityPerSecond as ht } from "./index220.js";
10
- import { number as vt, alpha as C, scale as j } from "./index221.js";
11
- import { filter as P } from "./index222.js";
12
- import { px as c, progressPercentage as F, degrees as O } from "./index223.js";
13
- import { color as b } from "./index224.js";
14
- import { cubicBezier as gt } from "./index225.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 "./index226.js";
3
+ import { unrefElement as ut, useIntersectionObserver as ft, useEventListener as m } from "./index217.js";
4
+ import { tryOnUnmounted as pt, isObject as yt } from "./index218.js";
5
+ import D, { getFrameData as dt } from "./index219.js";
6
+ import { complex as $ } from "./index220.js";
7
+ import { inertia as mt } from "./index221.js";
8
+ import { animate as bt } from "./index222.js";
9
+ import { velocityPerSecond as ht } from "./index223.js";
10
+ import { number as vt, alpha as C, scale as j } from "./index224.js";
11
+ import { filter as P } from "./index225.js";
12
+ import { px as c, progressPercentage as F, degrees as O } from "./index226.js";
13
+ import { color as b } from "./index227.js";
14
+ import { cubicBezier as gt } from "./index228.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 "./index229.js";
16
16
  const R = {};
17
17
  class Mt {
18
18
  subscriptions = /* @__PURE__ */ new Set();
package/dist/index183.js CHANGED
@@ -1,7 +1,7 @@
1
- import g from "./index227.js";
1
+ import g from "./index213.js";
2
2
  import { DomHandler as f, ObjectUtils as d } from "./index180.js";
3
- import v from "./index228.js";
4
- import S from "./index229.js";
3
+ import v from "./index214.js";
4
+ import S from "./index215.js";
5
5
  import { resolveDirective as A, openBlock as h, createElementBlock 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/index186.js CHANGED
@@ -1,8 +1,8 @@
1
1
  import { createVNode as s, defineComponent as nt, ref as k, onMounted as me, onUnmounted as at, h as Ye, watchEffect as Y, Teleport as lt, Transition as ot, computed as A, toRef as rt, inject as ge, watch as st, openBlock as ye, createElementBlock as be, provide as we, shallowRef as it, createElementVNode as Z, isVNode as ut } from "vue";
2
- import { format as Ce } from "./index245.js";
3
- import { parse as ct } from "./index246.js";
4
- import { getWeek as Ie } from "./index247.js";
5
- import dt from "./index248.js";
2
+ import { format as Ce } from "./index230.js";
3
+ import { parse as ct } from "./index231.js";
4
+ import { getWeek as Ie } from "./index232.js";
5
+ import dt from "./index233.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/index193.js CHANGED
@@ -1,14 +1,14 @@
1
- import A from "./index238.js";
2
- import O from "./index239.js";
3
- import V from "./index233.js";
4
- import R from "./index240.js";
5
- import j from "./index241.js";
6
- import K from "./index242.js";
7
- import H from "./index227.js";
1
+ import A from "./index234.js";
2
+ import O from "./index235.js";
3
+ import V from "./index236.js";
4
+ import R from "./index237.js";
5
+ import j from "./index238.js";
6
+ import K from "./index239.js";
7
+ import H from "./index213.js";
8
8
  import { DomHandler as w } from "./index180.js";
9
- import W from "./index228.js";
10
- import G from "./index243.js";
11
- import Y from "./index244.js";
9
+ import W from "./index214.js";
10
+ import G from "./index240.js";
11
+ import Y from "./index241.js";
12
12
  import { resolveComponent as y, openBlock as o, createElementBlock as f, Fragment as U, renderList as E, mergeProps as r, createElementVNode as h, toDisplayString as F, createVNode as L, normalizeClass as B, withCtx as C, createBlock as m, resolveDynamicComponent as b, resolveDirective as Z, renderSlot as g, withDirectives as M, withKeys as T, createCommentVNode as v, createTextVNode as z } from "vue";
13
13
  var q = {
14
14
  name: "BaseFileUpload",
package/dist/index195.js CHANGED
@@ -1,15 +1,15 @@
1
- import q from "./index230.js";
2
- import X from "./index231.js";
1
+ import q from "./index257.js";
2
+ import X from "./index261.js";
3
3
  import { ZIndexUtils as T, DomHandler as c, UniqueComponentId as k, ObjectUtils as $ } from "./index180.js";
4
- import O from "./index228.js";
5
- import Y from "./index232.js";
6
- import J from "./index233.js";
7
- import L from "./index227.js";
8
- import H from "./index234.js";
9
- import M from "./index235.js";
4
+ import O from "./index214.js";
5
+ import Y from "./index267.js";
6
+ import J from "./index236.js";
7
+ import L from "./index213.js";
8
+ import H from "./index268.js";
9
+ import M from "./index249.js";
10
10
  import { resolveDirective as C, openBlock as s, createElementBlock as d, mergeProps as l, createElementVNode as b, withDirectives as y, createBlock as f, resolveDynamicComponent as p, createCommentVNode as h, Fragment as U, renderList as G, resolveComponent as A, createVNode as z, withCtx as D, Transition as Q } from "vue";
11
- import ee from "./index236.js";
12
- import te from "./index237.js";
11
+ import ee from "./index248.js";
12
+ import te from "./index269.js";
13
13
  var ie = {
14
14
  name: "BaseGalleria",
15
15
  extends: O,
package/dist/index198.js CHANGED
@@ -1,20 +1,20 @@
1
- import a from "./index301.js";
2
- import p from "./index302.js";
3
- import m from "./index303.js";
4
- import i from "./index304.js";
5
- import f from "./index305.js";
6
- import l from "./index306.js";
7
- import c from "./index307.js";
8
- import d from "./index308.js";
9
- import u from "./index309.js";
10
- import { VERSION as x } from "./index310.js";
11
- import C from "./index311.js";
12
- import A from "./index312.js";
13
- import E from "./index313.js";
14
- import O from "./index314.js";
15
- import S from "./index315.js";
16
- import H from "./index316.js";
17
- import T from "./index317.js";
1
+ import a from "./index324.js";
2
+ import p from "./index325.js";
3
+ import m from "./index326.js";
4
+ import i from "./index327.js";
5
+ import f from "./index328.js";
6
+ import l from "./index329.js";
7
+ import c from "./index330.js";
8
+ import d from "./index331.js";
9
+ import u from "./index332.js";
10
+ import { VERSION as x } from "./index333.js";
11
+ import C from "./index334.js";
12
+ import A from "./index335.js";
13
+ import E from "./index336.js";
14
+ import O from "./index337.js";
15
+ import S from "./index338.js";
16
+ import H from "./index339.js";
17
+ import T from "./index340.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/index201.js CHANGED
@@ -1,34 +1,34 @@
1
1
  import { FilterMatchMode as ve, FilterOperator as se, FilterService as be } from "./index62.js";
2
- import it from "./index253.js";
3
- import lt from "./index254.js";
4
- import at from "./index255.js";
5
- import ut from "./index256.js";
2
+ import it from "./index242.js";
3
+ import lt from "./index243.js";
4
+ import at from "./index244.js";
5
+ import ut from "./index245.js";
6
6
  import { ObjectUtils as b, UniqueComponentId as X, DomHandler as m, HelperSet as W, ConnectedOverlayScrollHandler as st, ZIndexUtils as ce } from "./index180.js";
7
- import dt from "./index257.js";
8
- import F from "./index228.js";
9
- import ct from "./index258.js";
10
- import We from "./index236.js";
11
- import Ue from "./index235.js";
7
+ import dt from "./index246.js";
8
+ import F from "./index214.js";
9
+ import ct from "./index247.js";
10
+ import We from "./index248.js";
11
+ import Ue from "./index249.js";
12
12
  import { mergeProps as f, resolveComponent as R, openBlock as u, createBlock as w, withCtx as k, resolveDynamicComponent as C, normalizeClass as S, createCommentVNode as v, resolveDirective as qe, createElementBlock as p, toDisplayString as H, Fragment as P, withDirectives as q, createTextVNode as Xe, createElementVNode as T, withModifiers as Je, renderList as B, normalizeProps as ue, guardReactiveProps as fe, createVNode as z, Transition as ft, withKeys as me, renderSlot as O, createSlots as Ce } from "vue";
13
- import mt from "./index259.js";
14
- import pe from "./index260.js";
15
- import ht from "./index261.js";
16
- import pt from "./index233.js";
17
- import K from "./index262.js";
18
- import gt from "./index227.js";
19
- import Ze from "./index263.js";
20
- import yt from "./index264.js";
21
- import wt from "./index238.js";
22
- import vt from "./index265.js";
23
- import bt from "./index230.js";
24
- import Ct from "./index266.js";
25
- import Rt from "./index267.js";
26
- import St from "./index239.js";
27
- import Pt from "./index268.js";
28
- import Et from "./index231.js";
29
- import Re from "./index269.js";
30
- import Se from "./index270.js";
31
- import Pe from "./index271.js";
13
+ import mt from "./index250.js";
14
+ import pe from "./index251.js";
15
+ import ht from "./index252.js";
16
+ import pt from "./index236.js";
17
+ import K from "./index253.js";
18
+ import gt from "./index213.js";
19
+ import Ze from "./index254.js";
20
+ import yt from "./index255.js";
21
+ import wt from "./index234.js";
22
+ import vt from "./index256.js";
23
+ import bt from "./index257.js";
24
+ import Ct from "./index258.js";
25
+ import Rt from "./index259.js";
26
+ import St from "./index235.js";
27
+ import Pt from "./index260.js";
28
+ import Et from "./index261.js";
29
+ import Re from "./index262.js";
30
+ import Se from "./index263.js";
31
+ import Pe from "./index264.js";
32
32
  var kt = {
33
33
  name: "BaseDataTable",
34
34
  extends: F,
package/dist/index202.js CHANGED
@@ -1,5 +1,5 @@
1
- import l from "./index228.js";
2
- import n from "./index272.js";
1
+ import l from "./index214.js";
2
+ import n from "./index265.js";
3
3
  var u = {
4
4
  name: "BaseColumn",
5
5
  extends: l,
package/dist/index203.js CHANGED
@@ -1,5 +1,5 @@
1
- import r from "./index228.js";
2
- import e from "./index273.js";
1
+ import r from "./index214.js";
2
+ import e from "./index266.js";
3
3
  var o = {
4
4
  name: "BaseColumnGroup",
5
5
  extends: r,
package/dist/index204.js CHANGED
@@ -1,4 +1,4 @@
1
- import r from "./index228.js";
1
+ import r from "./index214.js";
2
2
  var o = {
3
3
  name: "Row",
4
4
  extends: r,
package/dist/index212.js CHANGED
@@ -1,9 +1,9 @@
1
1
  import { Extension as l, isNodeEmpty as v, callOrReturn as P, getExtensionField as S, isNodeSelection as z } from "./index274.js";
2
2
  import { Plugin as p, PluginKey as m } from "./index289.js";
3
- import { dropCursor as E } from "./index325.js";
4
- import { Decoration as y, DecorationSet as f } from "./index322.js";
5
- import { gapCursor as N } from "./index326.js";
6
- import { history as A, redo as M, undo as T } from "./index327.js";
3
+ import { dropCursor as E } from "./index320.js";
4
+ import { Decoration as y, DecorationSet as f } from "./index317.js";
5
+ import { gapCursor as N } from "./index321.js";
6
+ import { history as A, redo as M, undo as T } from "./index322.js";
7
7
  l.create({
8
8
  name: "characterCount",
9
9
  addOptions() {
package/dist/index213.js CHANGED
@@ -1,35 +1,90 @@
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;
1
+ import { DomHandler as r } from "./index180.js";
2
+ import p from "./index270.js";
3
+ import c from "./index271.js";
4
+ var f = p.extend({
5
+ style: c
6
+ });
7
+ function m(e) {
8
+ return b(e) || y(e) || v(e) || h();
6
9
  }
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));
10
+ function h() {
11
+ throw new TypeError(`Invalid attempt to spread non-iterable instance.
12
+ In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`);
13
+ }
14
+ function v(e, t) {
15
+ if (e) {
16
+ if (typeof e == "string") return a(e, t);
17
+ var n = Object.prototype.toString.call(e).slice(8, -1);
18
+ if (n === "Object" && e.constructor && (n = e.constructor.name), n === "Map" || n === "Set") return Array.from(e);
19
+ if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return a(e, t);
21
20
  }
22
- return r;
23
21
  }
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
- );
22
+ function y(e) {
23
+ if (typeof Symbol < "u" && e[Symbol.iterator] != null || e["@@iterator"] != null) return Array.from(e);
24
+ }
25
+ function b(e) {
26
+ if (Array.isArray(e)) return a(e);
29
27
  }
30
- const y = l();
28
+ function a(e, t) {
29
+ (t == null || t > e.length) && (t = e.length);
30
+ for (var n = 0, o = new Array(t); n < t; n++) o[n] = e[n];
31
+ return o;
32
+ }
33
+ var E = f.extend("ripple", {
34
+ mounted: function(t) {
35
+ var n, o = t == null || (n = t.$instance) === null || n === void 0 ? void 0 : n.$primevueConfig;
36
+ o && o.ripple && (this.create(t), this.bindEvents(t), t.setAttribute("data-pd-ripple", !0));
37
+ },
38
+ unmounted: function(t) {
39
+ this.remove(t);
40
+ },
41
+ timeout: void 0,
42
+ methods: {
43
+ bindEvents: function(t) {
44
+ t.addEventListener("mousedown", this.onMouseDown.bind(this));
45
+ },
46
+ unbindEvents: function(t) {
47
+ t.removeEventListener("mousedown", this.onMouseDown.bind(this));
48
+ },
49
+ create: function(t) {
50
+ var n = r.createElement("span", {
51
+ role: "presentation",
52
+ "aria-hidden": !0,
53
+ "data-p-ink": !0,
54
+ "data-p-ink-active": !1,
55
+ class: !this.isUnstyled() && this.cx("root"),
56
+ onAnimationEnd: this.onAnimationEnd.bind(this),
57
+ "p-bind": this.ptm("root")
58
+ });
59
+ t.appendChild(n), this.$el = n;
60
+ },
61
+ remove: function(t) {
62
+ var n = this.getInk(t);
63
+ n && (this.unbindEvents(t), n.removeEventListener("animationend", this.onAnimationEnd), n.remove());
64
+ },
65
+ onMouseDown: function(t) {
66
+ var n = this, o = t.currentTarget, i = this.getInk(o);
67
+ if (!(!i || getComputedStyle(i, null).display === "none")) {
68
+ if (!this.isUnstyled() && r.removeClass(i, "p-ink-active"), i.setAttribute("data-p-ink-active", "false"), !r.getHeight(i) && !r.getWidth(i)) {
69
+ var s = Math.max(r.getOuterWidth(o), r.getOuterHeight(o));
70
+ i.style.height = s + "px", i.style.width = s + "px";
71
+ }
72
+ var u = r.getOffset(o), d = t.pageX - u.left + document.body.scrollTop - r.getWidth(i) / 2, l = t.pageY - u.top + document.body.scrollLeft - r.getHeight(i) / 2;
73
+ i.style.top = l + "px", i.style.left = d + "px", !this.isUnstyled() && r.addClass(i, "p-ink-active"), i.setAttribute("data-p-ink-active", "true"), this.timeout = setTimeout(function() {
74
+ i && (!n.isUnstyled() && r.removeClass(i, "p-ink-active"), i.setAttribute("data-p-ink-active", "false"));
75
+ }, 401);
76
+ }
77
+ },
78
+ onAnimationEnd: function(t) {
79
+ this.timeout && clearTimeout(this.timeout), !this.isUnstyled() && r.removeClass(t.currentTarget, "p-ink-active"), t.currentTarget.setAttribute("data-p-ink-active", "false");
80
+ },
81
+ getInk: function(t) {
82
+ return t && t.children ? m(t.children).find(function(n) {
83
+ return r.getAttribute(n, "data-pc-name") === "ripple";
84
+ }) : void 0;
85
+ }
86
+ }
87
+ });
31
88
  export {
32
- l as createDefu,
33
- y as default,
34
- y as defu
89
+ E as default
35
90
  };