@quoreadmin/ui 1.7.19 → 1.7.20

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 (170) hide show
  1. package/dist/index140.js +2 -2
  2. package/dist/index142.js +1 -1
  3. package/dist/index173.js +3 -3
  4. package/dist/index183.js +10 -10
  5. package/dist/index185.js +10 -10
  6. package/dist/index187.js +36 -1190
  7. package/dist/{index190.js → index188.js} +17 -17
  8. package/dist/index189.js +1190 -36
  9. package/dist/index191.js +9 -9
  10. package/dist/index192.js +1 -1
  11. package/dist/index193.js +1 -1
  12. package/dist/index194.js +1 -1
  13. package/dist/index202.js +4 -4
  14. package/dist/index206.js +2 -2
  15. package/dist/index207.js +1 -1
  16. package/dist/index208.js +1 -1
  17. package/dist/index209.js +1 -1
  18. package/dist/index210.js +1 -1
  19. package/dist/index211.js +4 -4
  20. package/dist/index213.js +4 -4
  21. package/dist/index216.js +1 -1
  22. package/dist/index217.js +67 -106
  23. package/dist/index218.js +395 -26
  24. package/dist/index219.js +21 -406
  25. package/dist/index220.js +157 -76
  26. package/dist/index221.js +10 -10
  27. package/dist/index222.js +19 -87
  28. package/dist/index223.js +15 -13
  29. package/dist/index224.js +198 -19
  30. package/dist/index225.js +68 -18
  31. package/dist/index226.js +34 -20
  32. package/dist/index227.js +39 -21
  33. package/dist/index228.js +121 -155
  34. package/dist/index229.js +37 -19
  35. package/dist/index230.js +80 -22
  36. package/dist/index231.js +19 -198
  37. package/dist/index232.js +18 -68
  38. package/dist/index233.js +20 -34
  39. package/dist/index234.js +19 -39
  40. package/dist/index239.js +6 -6
  41. package/dist/index240.js +1 -1
  42. package/dist/index241.js +1 -1
  43. package/dist/index254.js +2 -2
  44. package/dist/index255.js +1 -1
  45. package/dist/index256.js +1 -1
  46. package/dist/index257.js +1 -1
  47. package/dist/index258.js +8 -8
  48. package/dist/index259.js +2 -2
  49. package/dist/index261.js +1 -1
  50. package/dist/index262.js +1 -1
  51. package/dist/index263.js +1 -1
  52. package/dist/index265.js +2 -2
  53. package/dist/index266.js +2 -2
  54. package/dist/index267.js +8 -8
  55. package/dist/index268.js +1 -1
  56. package/dist/index269.js +1 -1
  57. package/dist/index270.js +1 -1
  58. package/dist/index271.js +1 -1
  59. package/dist/index272.js +1 -1
  60. package/dist/index273.js +1 -1
  61. package/dist/index280.js +3 -2
  62. package/dist/index281.js +25 -77
  63. package/dist/index283.js +78 -25
  64. package/dist/index284.js +19 -15
  65. package/dist/index285.js +10 -10
  66. package/dist/index286.js +22 -16
  67. package/dist/index287.js +14 -15
  68. package/dist/index288.js +15 -21
  69. package/dist/index289.js +22 -261
  70. package/dist/index290.js +2 -6
  71. package/dist/index291.js +1508 -130
  72. package/dist/index292.js +378 -65
  73. package/dist/index293.js +2725 -81
  74. package/dist/index294.js +83 -26
  75. package/dist/index295.js +3767 -13
  76. package/dist/index296.js +57 -72
  77. package/dist/index297.js +15 -4
  78. package/dist/index298.js +84 -2
  79. package/dist/index299.js +193 -74
  80. package/dist/index300.js +246 -53
  81. package/dist/index301.js +78 -5
  82. package/dist/index302.js +21 -4
  83. package/dist/index303.js +920 -164
  84. package/dist/index304.js +21 -62
  85. package/dist/index305.js +20 -75
  86. package/dist/index306.js +20 -1518
  87. package/dist/index307.js +59 -376
  88. package/dist/index308.js +19 -2731
  89. package/dist/index309.js +19 -86
  90. package/dist/index310.js +22 -3770
  91. package/dist/index311.js +21 -59
  92. package/dist/index312.js +63 -15
  93. package/dist/index313.js +254 -76
  94. package/dist/index314.js +4 -200
  95. package/dist/index315.js +129 -235
  96. package/dist/index316.js +73 -3
  97. package/dist/index317.js +85 -25
  98. package/dist/index318.js +25 -75
  99. package/dist/index319.js +14 -20
  100. package/dist/index320.js +66 -926
  101. package/dist/index321.js +3 -21
  102. package/dist/index322.js +2 -20
  103. package/dist/index323.js +82 -19
  104. package/dist/index324.js +52 -68
  105. package/dist/index325.js +6 -19
  106. package/dist/index326.js +5 -19
  107. package/dist/index327.js +178 -21
  108. package/dist/index328.js +62 -21
  109. package/dist/index329.js +74 -62
  110. package/dist/index330.js +8 -36
  111. package/dist/index331.js +12 -18
  112. package/dist/index332.js +53 -55
  113. package/dist/index333.js +10 -27
  114. package/dist/index334.js +13 -6
  115. package/dist/index335.js +54 -48
  116. package/dist/index336.js +52 -7
  117. package/dist/index337.js +30 -11
  118. package/dist/index338.js +2 -7
  119. package/dist/index339.js +4 -27
  120. package/dist/index340.js +2 -2
  121. package/dist/index341.js +22 -69
  122. package/dist/index342.js +38 -164
  123. package/dist/index343.js +2 -9
  124. package/dist/index344.js +11 -13
  125. package/dist/index345.js +16 -51
  126. package/dist/index346.js +16 -11
  127. package/dist/index347.js +10 -14
  128. package/dist/index348.js +10 -58
  129. package/dist/index349.js +2 -52
  130. package/dist/index350.js +9 -31
  131. package/dist/index351.js +10 -2
  132. package/dist/index352.js +13 -4
  133. package/dist/index353.js +37 -2
  134. package/dist/index354.js +20 -23
  135. package/dist/index355.js +19 -40
  136. package/dist/index356.js +64 -2
  137. package/dist/index357.js +36 -10
  138. package/dist/index358.js +16 -17
  139. package/dist/index359.js +56 -16
  140. package/dist/index360.js +29 -10
  141. package/dist/index361.js +7 -10
  142. package/dist/index362.js +52 -2
  143. package/dist/index363.js +6 -8
  144. package/dist/index364.js +11 -9
  145. package/dist/index365.js +6 -13
  146. package/dist/index366.js +28 -20
  147. package/dist/index367.js +2 -20
  148. package/dist/index368.js +67 -61
  149. package/dist/index369.js +166 -36
  150. package/dist/index370.js +98 -28
  151. package/dist/index371.js +90 -10
  152. package/dist/index372.js +98 -4
  153. package/dist/index373.js +17 -4
  154. package/dist/index374.js +30 -12
  155. package/dist/index375.js +11 -7
  156. package/dist/index376.js +3 -11
  157. package/dist/index377.js +3 -4
  158. package/dist/index378.js +13 -33
  159. package/dist/index379.js +7 -31
  160. package/dist/index380.js +12 -28
  161. package/dist/index381.js +5 -61
  162. package/dist/index382.js +33 -98
  163. package/dist/index383.js +29 -99
  164. package/dist/index384.js +28 -91
  165. package/dist/index385.js +60 -16
  166. package/dist/index386.js +1 -1
  167. package/dist/index391.js +1 -1
  168. package/dist/index392.js +2 -2
  169. package/dist/index43.js +18 -16
  170. package/package.json +1 -1
package/dist/index191.js CHANGED
@@ -5,27 +5,27 @@ import at from "./index257.js";
5
5
  import ut from "./index258.js";
6
6
  import { ObjectUtils as b, UniqueComponentId as X, DomHandler as m, HelperSet as W, ConnectedOverlayScrollHandler as st, ZIndexUtils as ce } from "./index170.js";
7
7
  import dt from "./index259.js";
8
- import F from "./index219.js";
8
+ import F from "./index218.js";
9
9
  import ct from "./index260.js";
10
- import We from "./index225.js";
11
- import Ue from "./index224.js";
10
+ import We from "./index233.js";
11
+ import Ue from "./index232.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 "./index261.js";
14
14
  import pe from "./index262.js";
15
15
  import ht from "./index263.js";
16
- import pt from "./index221.js";
16
+ import pt from "./index222.js";
17
17
  import K from "./index264.js";
18
- import gt from "./index222.js";
18
+ import gt from "./index217.js";
19
19
  import Ze from "./index265.js";
20
20
  import yt from "./index266.js";
21
- import wt from "./index228.js";
21
+ import wt from "./index220.js";
22
22
  import vt from "./index267.js";
23
- import bt from "./index217.js";
23
+ import bt from "./index228.js";
24
24
  import Ct from "./index268.js";
25
25
  import Rt from "./index269.js";
26
- import St from "./index229.js";
26
+ import St from "./index221.js";
27
27
  import Pt from "./index270.js";
28
- import Et from "./index218.js";
28
+ import Et from "./index229.js";
29
29
  import Re from "./index271.js";
30
30
  import Se from "./index272.js";
31
31
  import Pe from "./index273.js";
package/dist/index192.js CHANGED
@@ -1,4 +1,4 @@
1
- import l from "./index219.js";
1
+ import l from "./index218.js";
2
2
  import n from "./index274.js";
3
3
  var u = {
4
4
  name: "BaseColumn",
package/dist/index193.js CHANGED
@@ -1,4 +1,4 @@
1
- import r from "./index219.js";
1
+ import r from "./index218.js";
2
2
  import e from "./index275.js";
3
3
  var o = {
4
4
  name: "BaseColumnGroup",
package/dist/index194.js CHANGED
@@ -1,4 +1,4 @@
1
- import r from "./index219.js";
1
+ import r from "./index218.js";
2
2
  var o = {
3
3
  name: "Row",
4
4
  extends: r,
package/dist/index202.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 "./index239.js";
2
2
  import { Plugin as p, PluginKey as m } from "./index254.js";
3
- import { dropCursor as z } from "./index313.js";
4
- import { Decoration as g, DecorationSet as f } from "./index310.js";
5
- import { gapCursor as N } from "./index314.js";
6
- import { history as E, redo as M, undo as O } from "./index315.js";
3
+ import { dropCursor as z } from "./index298.js";
4
+ import { Decoration as g, DecorationSet as f } from "./index295.js";
5
+ import { gapCursor as N } from "./index299.js";
6
+ import { history as E, redo as M, undo as O } from "./index300.js";
7
7
  u.create({
8
8
  name: "characterCount",
9
9
  addOptions() {
package/dist/index206.js CHANGED
@@ -1,5 +1,5 @@
1
- import { onNextFrame as p, defaultTimestep as i } from "./index316.js";
2
- import { createRenderStep as x } from "./index317.js";
1
+ import { onNextFrame as p, defaultTimestep as i } from "./index280.js";
2
+ import { createRenderStep as x } from "./index281.js";
3
3
  const h = 40;
4
4
  let o = !0, s = !1, c = !1;
5
5
  const r = {
package/dist/index207.js CHANGED
@@ -1,6 +1,6 @@
1
1
  import { color as m } from "./index211.js";
2
2
  import { number as b } from "./index208.js";
3
- import { isString as g, floatRegex as c, colorRegex as l, sanitize as k } from "./index364.js";
3
+ import { isString as g, floatRegex as c, colorRegex as l, sanitize as k } from "./index351.js";
4
4
  const i = "${c}", p = "${n}";
5
5
  function x(e) {
6
6
  var o, n, r, t;
package/dist/index208.js CHANGED
@@ -1,4 +1,4 @@
1
- import { clamp as a } from "./index364.js";
1
+ import { clamp as a } from "./index351.js";
2
2
  const t = {
3
3
  test: (s) => typeof s == "number",
4
4
  parse: parseFloat,
package/dist/index209.js CHANGED
@@ -1,5 +1,5 @@
1
1
  import { complex as s } from "./index207.js";
2
- import { floatRegex as i } from "./index364.js";
2
+ import { floatRegex as i } from "./index351.js";
3
3
  const c = /* @__PURE__ */ new Set(["brightness", "contrast", "saturate", "opacity"]);
4
4
  function l(t) {
5
5
  let [e, n] = t.slice(0, -1).split("(");
package/dist/index210.js CHANGED
@@ -1,4 +1,4 @@
1
- import { isString as n } from "./index364.js";
1
+ import { isString as n } from "./index351.js";
2
2
  const r = (e) => ({
3
3
  test: (s) => n(s) && s.endsWith(e) && s.split(" ").length === 1,
4
4
  parse: parseFloat,
package/dist/index211.js CHANGED
@@ -1,7 +1,7 @@
1
- import { isString as o } from "./index364.js";
2
- import { hex as s } from "./index359.js";
3
- import { hsla as t } from "./index361.js";
4
- import { rgba as e } from "./index360.js";
1
+ import { isString as o } from "./index351.js";
2
+ import { hex as s } from "./index346.js";
3
+ import { hsla as t } from "./index348.js";
4
+ import { rgba as e } from "./index347.js";
5
5
  const f = {
6
6
  test: (r) => e.test(r) || s.test(r) || t.test(r),
7
7
  parse: (r) => e.test(r) ? e.parse(r) : t.test(r) ? t.parse(r) : s.parse(r),
package/dist/index213.js CHANGED
@@ -1,8 +1,8 @@
1
- import { __rest as M } from "./index343.js";
2
- import { detectAnimationFromOptions as U } from "./index344.js";
1
+ import { __rest as M } from "./index330.js";
2
+ import { detectAnimationFromOptions as U } from "./index331.js";
3
3
  import k, { cancelSync as w } from "./index206.js";
4
- import { interpolate as A } from "./index345.js";
5
- import { hasRepeatDelayElapsed as I, reverseElapsed as N, loopElapsed as q } from "./index346.js";
4
+ import { interpolate as A } from "./index332.js";
5
+ import { hasRepeatDelayElapsed as I, reverseElapsed as N, loopElapsed as q } from "./index333.js";
6
6
  const z = (n) => {
7
7
  const o = ({ delta: a }) => n(a);
8
8
  return {
package/dist/index216.js CHANGED
@@ -1,4 +1,4 @@
1
- import { reverseEasing as n, createAnticipate as O, mirrorEasing as s, createBackIn as i, createExpoIn as u } from "./index363.js";
1
+ import { reverseEasing as n, createAnticipate as O, mirrorEasing as s, createBackIn as i, createExpoIn as u } from "./index350.js";
2
2
  const e = 1.525, E = 4 / 11, I = 8 / 11, H = 9 / 10, N = (c) => c, a = u(2), k = n(a), B = s(a), T = (c) => 1 - Math.sin(Math.acos(c)), _ = n(T), C = s(_), r = i(e), L = n(r), U = s(r), m = O(e), b = 4356 / 361, R = 35442 / 1805, S = 16061 / 1805, o = (c) => {
3
3
  if (c === 1 || c === 0)
4
4
  return c;
package/dist/index217.js CHANGED
@@ -1,129 +1,90 @@
1
- import { DomHandler as s, ObjectUtils as h } from "./index170.js";
2
- import E from "./index276.js";
3
- import $ from "./index280.js";
4
- var g = E.extend({
5
- style: $
1
+ import { DomHandler as r } from "./index170.js";
2
+ import p from "./index276.js";
3
+ import c from "./index277.js";
4
+ var f = p.extend({
5
+ style: c
6
6
  });
7
- function m(o) {
8
- "@babel/helpers - typeof";
9
- return m = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(e) {
10
- return typeof e;
11
- } : function(e) {
12
- return e && typeof Symbol == "function" && e.constructor === Symbol && e !== Symbol.prototype ? "symbol" : typeof e;
13
- }, m(o);
7
+ function m(e) {
8
+ return b(e) || y(e) || v(e) || h();
14
9
  }
15
- function v(o, e) {
16
- var t = Object.keys(o);
17
- if (Object.getOwnPropertySymbols) {
18
- var r = Object.getOwnPropertySymbols(o);
19
- e && (r = r.filter(function(n) {
20
- return Object.getOwnPropertyDescriptor(o, n).enumerable;
21
- })), t.push.apply(t, r);
22
- }
23
- return t;
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.`);
24
13
  }
25
- function F(o) {
26
- for (var e = 1; e < arguments.length; e++) {
27
- var t = arguments[e] != null ? arguments[e] : {};
28
- e % 2 ? v(Object(t), !0).forEach(function(r) {
29
- S(o, r, t[r]);
30
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(o, Object.getOwnPropertyDescriptors(t)) : v(Object(t)).forEach(function(r) {
31
- Object.defineProperty(o, r, Object.getOwnPropertyDescriptor(t, r));
32
- });
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);
33
20
  }
34
- return o;
35
21
  }
36
- function S(o, e, t) {
37
- return e = y(e), e in o ? Object.defineProperty(o, e, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : o[e] = t, o;
22
+ function y(e) {
23
+ if (typeof Symbol < "u" && e[Symbol.iterator] != null || e["@@iterator"] != null) return Array.from(e);
38
24
  }
39
- function y(o) {
40
- var e = O(o, "string");
41
- return m(e) == "symbol" ? e : String(e);
25
+ function b(e) {
26
+ if (Array.isArray(e)) return a(e);
42
27
  }
43
- function O(o, e) {
44
- if (m(o) != "object" || !o) return o;
45
- var t = o[Symbol.toPrimitive];
46
- if (t !== void 0) {
47
- var r = t.call(o, e);
48
- if (m(r) != "object") return r;
49
- throw new TypeError("@@toPrimitive must return a primitive value.");
50
- }
51
- return (e === "string" ? String : Number)(o);
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;
52
32
  }
53
- var x = g.extend("focustrap", {
54
- mounted: function(e, t) {
55
- var r = t.value || {}, n = r.disabled;
56
- n || (this.createHiddenFocusableElements(e, t), this.bind(e, t), this.autoElementFocus(e, t)), e.setAttribute("data-pd-focustrap", !0), this.$el = e;
57
- },
58
- updated: function(e, t) {
59
- var r = t.value || {}, n = r.disabled;
60
- n && this.unbind(e);
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));
61
37
  },
62
- unmounted: function(e) {
63
- this.unbind(e);
38
+ unmounted: function(t) {
39
+ this.remove(t);
64
40
  },
41
+ timeout: void 0,
65
42
  methods: {
66
- getComputedSelector: function(e) {
67
- return ':not(.p-hidden-focusable):not([data-p-hidden-focusable="true"])'.concat(e ?? "");
68
- },
69
- bind: function(e, t) {
70
- var r = this, n = t.value || {}, u = n.onFocusIn, l = n.onFocusOut;
71
- e.$_pfocustrap_mutationobserver = new MutationObserver(function(c) {
72
- c.forEach(function(f) {
73
- if (f.type === "childList" && !e.contains(document.activeElement)) {
74
- var d = function p(a) {
75
- var i = s.isFocusableElement(a) ? s.isFocusableElement(a, r.getComputedSelector(e.$_pfocustrap_focusableselector)) ? a : s.getFirstFocusableElement(e, r.getComputedSelector(e.$_pfocustrap_focusableselector)) : s.getFirstFocusableElement(a);
76
- return h.isNotEmpty(i) ? i : a.nextSibling && p(a.nextSibling);
77
- };
78
- s.focus(d(f.nextSibling));
79
- }
80
- });
81
- }), e.$_pfocustrap_mutationobserver.disconnect(), e.$_pfocustrap_mutationobserver.observe(e, {
82
- childList: !0
83
- }), e.$_pfocustrap_focusinlistener = function(c) {
84
- return u && u(c);
85
- }, e.$_pfocustrap_focusoutlistener = function(c) {
86
- return l && l(c);
87
- }, e.addEventListener("focusin", e.$_pfocustrap_focusinlistener), e.addEventListener("focusout", e.$_pfocustrap_focusoutlistener);
43
+ bindEvents: function(t) {
44
+ t.addEventListener("mousedown", this.onMouseDown.bind(this));
88
45
  },
89
- unbind: function(e) {
90
- e.$_pfocustrap_mutationobserver && e.$_pfocustrap_mutationobserver.disconnect(), e.$_pfocustrap_focusinlistener && e.removeEventListener("focusin", e.$_pfocustrap_focusinlistener) && (e.$_pfocustrap_focusinlistener = null), e.$_pfocustrap_focusoutlistener && e.removeEventListener("focusout", e.$_pfocustrap_focusoutlistener) && (e.$_pfocustrap_focusoutlistener = null);
46
+ unbindEvents: function(t) {
47
+ t.removeEventListener("mousedown", this.onMouseDown.bind(this));
91
48
  },
92
- autoFocus: function(e) {
93
- this.autoElementFocus(this.$el, {
94
- value: F(F({}, e), {}, {
95
- autoFocus: !0
96
- })
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")
97
58
  });
59
+ t.appendChild(n), this.$el = n;
98
60
  },
99
- autoElementFocus: function(e, t) {
100
- var r = t.value || {}, n = r.autoFocusSelector, u = n === void 0 ? "" : n, l = r.firstFocusableSelector, c = l === void 0 ? "" : l, f = r.autoFocus, d = f === void 0 ? !1 : f, p = s.getFirstFocusableElement(e, "[autofocus]".concat(this.getComputedSelector(u)));
101
- d && !p && (p = s.getFirstFocusableElement(e, this.getComputedSelector(c))), s.focus(p);
61
+ remove: function(t) {
62
+ var n = this.getInk(t);
63
+ n && (this.unbindEvents(t), n.removeEventListener("animationend", this.onAnimationEnd), n.remove());
102
64
  },
103
- onFirstHiddenElementFocus: function(e) {
104
- var t, r = e.currentTarget, n = e.relatedTarget, u = n === r.$_pfocustrap_lasthiddenfocusableelement || !((t = this.$el) !== null && t !== void 0 && t.contains(n)) ? s.getFirstFocusableElement(r.parentElement, this.getComputedSelector(r.$_pfocustrap_focusableselector)) : r.$_pfocustrap_lasthiddenfocusableelement;
105
- s.focus(u);
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
+ }
106
77
  },
107
- onLastHiddenElementFocus: function(e) {
108
- var t, r = e.currentTarget, n = e.relatedTarget, u = n === r.$_pfocustrap_firsthiddenfocusableelement || !((t = this.$el) !== null && t !== void 0 && t.contains(n)) ? s.getLastFocusableElement(r.parentElement, this.getComputedSelector(r.$_pfocustrap_focusableselector)) : r.$_pfocustrap_firsthiddenfocusableelement;
109
- s.focus(u);
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");
110
80
  },
111
- createHiddenFocusableElements: function(e, t) {
112
- var r = this, n = t.value || {}, u = n.tabIndex, l = u === void 0 ? 0 : u, c = n.firstFocusableSelector, f = c === void 0 ? "" : c, d = n.lastFocusableSelector, p = d === void 0 ? "" : d, a = function(_) {
113
- return s.createElement("span", {
114
- class: "p-hidden-accessible p-hidden-focusable",
115
- tabIndex: l,
116
- role: "presentation",
117
- "aria-hidden": !0,
118
- "data-p-hidden-accessible": !0,
119
- "data-p-hidden-focusable": !0,
120
- onFocus: _?.bind(r)
121
- });
122
- }, i = a(this.onFirstHiddenElementFocus), b = a(this.onLastHiddenElementFocus);
123
- i.$_pfocustrap_lasthiddenfocusableelement = b, i.$_pfocustrap_focusableselector = f, i.setAttribute("data-pc-section", "firstfocusableelement"), b.$_pfocustrap_firsthiddenfocusableelement = i, b.$_pfocustrap_focusableselector = p, b.setAttribute("data-pc-section", "lastfocusableelement"), e.prepend(i), e.append(b);
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;
124
85
  }
125
86
  }
126
87
  });
127
88
  export {
128
- x as default
89
+ E as default
129
90
  };