@quoreadmin/ui 1.10.7 → 1.10.9

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 (212) hide show
  1. package/dist/index.css +1 -1
  2. package/dist/index138.js +139 -132
  3. package/dist/index183.js +3 -3
  4. package/dist/index186.js +4 -4
  5. package/dist/index193.js +10 -10
  6. package/dist/index195.js +10 -10
  7. package/dist/index198.js +17 -17
  8. package/dist/index201.js +28 -28
  9. package/dist/index202.js +2 -2
  10. package/dist/index203.js +2 -2
  11. package/dist/index204.js +1 -1
  12. package/dist/index206.js +2 -2
  13. package/dist/index208.js +14 -14
  14. package/dist/index209.js +1 -1
  15. package/dist/index210.js +1 -1
  16. package/dist/index211.js +3 -3
  17. package/dist/index212.js +6 -6
  18. package/dist/index216.js +2 -2
  19. package/dist/index217.js +1 -1
  20. package/dist/index219.js +4 -4
  21. package/dist/index221.js +1 -1
  22. package/dist/index222.js +1 -1
  23. package/dist/index223.js +1 -1
  24. package/dist/index224.js +4 -4
  25. package/dist/index226.js +1 -1
  26. package/dist/index227.js +83 -156
  27. package/dist/index228.js +407 -20
  28. package/dist/index229.js +22 -20
  29. package/dist/index230.js +160 -21
  30. package/dist/index231.js +218 -189
  31. package/dist/index232.js +36 -69
  32. package/dist/index233.js +10 -88
  33. package/dist/index234.js +137 -383
  34. package/dist/index235.js +20 -34
  35. package/dist/index236.js +19 -39
  36. package/dist/index237.js +22 -22
  37. package/dist/index238.js +185 -113
  38. package/dist/index239.js +57 -25
  39. package/dist/index240.js +31 -77
  40. package/dist/index241.js +39 -19
  41. package/dist/index242.js +126 -19
  42. package/dist/index243.js +34 -16
  43. package/dist/index244.js +80 -20
  44. package/dist/index245.js +19 -160
  45. package/dist/index246.js +20 -228
  46. package/dist/index247.js +19 -36
  47. package/dist/index248.js +20 -10
  48. package/dist/index249.js +22 -3636
  49. package/dist/index250.js +22 -55
  50. package/dist/index251.js +20 -77
  51. package/dist/index252.js +823 -39
  52. package/dist/index253.js +685 -198
  53. package/dist/index254.js +175 -9
  54. package/dist/index255.js +22 -57
  55. package/dist/index256.js +20 -61
  56. package/dist/index257.js +20 -54
  57. package/dist/index258.js +3 -75
  58. package/dist/index259.js +170 -709
  59. package/dist/index260.js +128 -37
  60. package/dist/index261.js +1214 -55
  61. package/dist/index262.js +20 -11
  62. package/dist/index263.js +22 -705
  63. package/dist/index264.js +22 -820
  64. package/dist/index265.js +22 -15
  65. package/dist/index266.js +13 -15
  66. package/dist/index267.js +12 -12
  67. package/dist/index268.js +2 -836
  68. package/dist/index269.js +2 -702
  69. package/dist/index270.js +3630 -170
  70. package/dist/index271.js +55 -22
  71. package/dist/index272.js +77 -20
  72. package/dist/index273.js +52 -20
  73. package/dist/index274.js +215 -3
  74. package/dist/index275.js +10 -187
  75. package/dist/index276.js +52 -128
  76. package/dist/index277.js +52 -1214
  77. package/dist/index278.js +54 -20
  78. package/dist/index279.js +75 -22
  79. package/dist/index280.js +725 -21
  80. package/dist/index281.js +42 -29
  81. package/dist/index282.js +64 -20
  82. package/dist/index283.js +11 -20
  83. package/dist/index284.js +705 -2
  84. package/dist/index285.js +820 -2
  85. package/dist/index286.js +249 -50
  86. package/dist/index287.js +8 -79
  87. package/dist/index288.js +138 -26
  88. package/dist/index289.js +83 -22
  89. package/dist/index290.js +3 -22
  90. package/dist/index291.js +27 -16
  91. package/dist/index292.js +51 -14
  92. package/dist/index293.js +58 -232
  93. package/dist/index294.js +26 -8
  94. package/dist/index295.js +22 -138
  95. package/dist/index296.js +22 -83
  96. package/dist/index297.js +15 -22
  97. package/dist/index298.js +17 -2
  98. package/dist/index299.js +22 -261
  99. package/dist/index300.js +2 -6
  100. package/dist/index301.js +1524 -130
  101. package/dist/index302.js +378 -65
  102. package/dist/index303.js +2725 -81
  103. package/dist/index304.js +83 -26
  104. package/dist/index305.js +3789 -13
  105. package/dist/index306.js +57 -72
  106. package/dist/index307.js +78 -3
  107. package/dist/index308.js +22 -2
  108. package/dist/index309.js +926 -74
  109. package/dist/index310.js +21 -52
  110. package/dist/index311.js +19 -5
  111. package/dist/index312.js +19 -4
  112. package/dist/index313.js +61 -171
  113. package/dist/index314.js +18 -62
  114. package/dist/index315.js +18 -74
  115. package/dist/index316.js +22 -1534
  116. package/dist/index317.js +22 -386
  117. package/dist/index318.js +63 -2731
  118. package/dist/index319.js +15 -86
  119. package/dist/index320.js +60 -3768
  120. package/dist/index321.js +197 -55
  121. package/dist/index322.js +246 -15
  122. package/dist/index323.js +254 -76
  123. package/dist/index324.js +4 -200
  124. package/dist/index325.js +129 -235
  125. package/dist/index326.js +73 -3
  126. package/dist/index327.js +85 -25
  127. package/dist/index328.js +25 -75
  128. package/dist/index329.js +14 -20
  129. package/dist/index330.js +66 -926
  130. package/dist/index331.js +3 -21
  131. package/dist/index332.js +2 -20
  132. package/dist/index333.js +82 -19
  133. package/dist/index334.js +52 -68
  134. package/dist/index335.js +6 -19
  135. package/dist/index336.js +5 -19
  136. package/dist/index337.js +178 -21
  137. package/dist/index338.js +62 -21
  138. package/dist/index339.js +74 -62
  139. package/dist/index340.js +8 -36
  140. package/dist/index341.js +12 -18
  141. package/dist/index342.js +53 -55
  142. package/dist/index343.js +10 -27
  143. package/dist/index344.js +13 -6
  144. package/dist/index345.js +54 -48
  145. package/dist/index346.js +52 -7
  146. package/dist/index347.js +30 -11
  147. package/dist/index348.js +2 -7
  148. package/dist/index349.js +4 -27
  149. package/dist/index350.js +2 -2
  150. package/dist/index351.js +22 -69
  151. package/dist/index352.js +38 -164
  152. package/dist/index353.js +2 -10
  153. package/dist/index354.js +10 -9
  154. package/dist/index355.js +18 -12
  155. package/dist/index356.js +9 -9
  156. package/dist/index357.js +9 -16
  157. package/dist/index358.js +16 -8
  158. package/dist/index359.js +2 -13
  159. package/dist/index360.js +9 -55
  160. package/dist/index361.js +9 -11
  161. package/dist/index362.js +13 -13
  162. package/dist/index363.js +32 -53
  163. package/dist/index364.js +19 -51
  164. package/dist/index365.js +19 -30
  165. package/dist/index366.js +64 -2
  166. package/dist/index367.js +37 -5
  167. package/dist/index368.js +19 -2
  168. package/dist/index369.js +57 -23
  169. package/dist/index370.js +27 -39
  170. package/dist/index371.js +7 -2
  171. package/dist/index372.js +51 -10
  172. package/dist/index373.js +7 -20
  173. package/dist/index374.js +12 -2
  174. package/dist/index375.js +6 -8
  175. package/dist/index376.js +28 -20
  176. package/dist/index377.js +2 -20
  177. package/dist/index378.js +67 -61
  178. package/dist/index379.js +166 -36
  179. package/dist/index380.js +98 -28
  180. package/dist/index381.js +90 -10
  181. package/dist/index382.js +17 -4
  182. package/dist/index383.js +98 -4
  183. package/dist/index384.js +30 -12
  184. package/dist/index385.js +11 -7
  185. package/dist/index386.js +3 -11
  186. package/dist/index387.js +3 -4
  187. package/dist/index388.js +13 -33
  188. package/dist/index389.js +7 -31
  189. package/dist/index390.js +12 -28
  190. package/dist/index391.js +5 -61
  191. package/dist/index392.js +33 -101
  192. package/dist/index393.js +31 -91
  193. package/dist/index394.js +27 -97
  194. package/dist/index395.js +60 -16
  195. package/dist/index396.js +1 -1
  196. package/dist/index401.js +1 -1
  197. package/dist/index402.js +2 -2
  198. package/dist/index41.js +17 -12
  199. package/dist/index45.js +1 -1
  200. package/dist/src/components/comment/comment.d.ts +10 -6
  201. package/dist/src/components/comment/comment.stories.d.ts +10 -6
  202. package/dist/src/components/comment-section/comment-section.d.ts +10 -6
  203. package/dist/src/components/comment-section/comment-section.stories.d.ts +10 -6
  204. package/dist/src/components/data-filter/data-filter.d.ts +10 -6
  205. package/dist/src/components/data-list/data-list.d.ts +10 -6
  206. package/dist/src/components/grid/grid.stories.d.ts +20 -12
  207. package/dist/src/components/popover/popover.d.ts +10 -6
  208. package/dist/src/components/popover/popover.stories.d.ts +70 -42
  209. package/dist/src/components/room-details-popover/room-details-popover.d.ts +10 -6
  210. package/dist/src/views/lists.vue.d.ts +20 -12
  211. package/dist/src/views/tables.vue.d.ts +10 -6
  212. package/package.json +1 -1
package/dist/index208.js CHANGED
@@ -1,18 +1,18 @@
1
- import { Extension as r } from "./index249.js";
2
- import { Blockquote as n } from "./index250.js";
3
- import { Bold as p } from "./index251.js";
4
- import { Code as f } from "./index252.js";
5
- import { CodeBlock as h } from "./index253.js";
6
- import { Document as u } from "./index254.js";
7
- import { HardBreak as l } from "./index255.js";
8
- import { Heading as a } from "./index256.js";
9
- import { HorizontalRule as c } from "./index257.js";
10
- import { Italic as d } from "./index258.js";
1
+ import { Extension as r } from "./index270.js";
2
+ import { Blockquote as n } from "./index271.js";
3
+ import { Bold as p } from "./index272.js";
4
+ import { Code as f } from "./index273.js";
5
+ import { CodeBlock as h } from "./index274.js";
6
+ import { Document as u } from "./index275.js";
7
+ import { HardBreak as l } from "./index276.js";
8
+ import { Heading as a } from "./index277.js";
9
+ import { HorizontalRule as c } from "./index278.js";
10
+ import { Italic as d } from "./index279.js";
11
11
  import { Link as m } from "./index211.js";
12
- import { BulletList as g, ListItem as k, ListKeymap as B, OrderedList as L } from "./index259.js";
13
- import { Paragraph as x } from "./index260.js";
14
- import { Strike as b } from "./index261.js";
15
- import { Text as v } from "./index262.js";
12
+ import { BulletList as g, ListItem as k, ListKeymap as B, OrderedList as L } from "./index280.js";
13
+ import { Paragraph as x } from "./index281.js";
14
+ import { Strike as b } from "./index282.js";
15
+ import { Text as v } from "./index283.js";
16
16
  import { Underline as R } from "./index209.js";
17
17
  import { Dropcursor as K, Gapcursor as _, UndoRedo as I, TrailingNode as q } from "./index212.js";
18
18
  var y = r.create({
package/dist/index209.js CHANGED
@@ -1,4 +1,4 @@
1
- import { Mark as s, mergeAttributes as d } from "./index249.js";
1
+ import { Mark as s, mergeAttributes as d } from "./index270.js";
2
2
  var u = s.create({
3
3
  name: "underline",
4
4
  addOptions() {
package/dist/index210.js CHANGED
@@ -1,4 +1,4 @@
1
- import { Mark as y, mergeAttributes as p, Extension as l } from "./index249.js";
1
+ import { Mark as y, mergeAttributes as p, Extension as l } from "./index270.js";
2
2
  var d = 20, u = (t, e = 0) => {
3
3
  const r = [];
4
4
  return !t.children.length || e > d || Array.from(t.children).forEach((o) => {
package/dist/index211.js CHANGED
@@ -1,6 +1,6 @@
1
- import { Mark as x, markPasteRule as b, mergeAttributes as v, combineTransactionSteps as w, getChangedRanges as T, findChildrenInRange as _, getMarksBetween as O, getAttributes as R } from "./index249.js";
2
- import { registerCustomProtocol as C, tokenize as H, find as M, reset as U } from "./index263.js";
3
- import { Plugin as g, PluginKey as A } from "./index264.js";
1
+ import { Mark as x, markPasteRule as b, mergeAttributes as v, combineTransactionSteps as w, getChangedRanges as T, findChildrenInRange as _, getMarksBetween as O, getAttributes as R } from "./index270.js";
2
+ import { registerCustomProtocol as C, tokenize as H, find as M, reset as U } from "./index284.js";
3
+ import { Plugin as g, PluginKey as A } from "./index285.js";
4
4
  var P = "[\0-   ᠎ -\u2029  ]", B = new RegExp(P), I = new RegExp(`${P}$`), W = new RegExp(P, "g");
5
5
  function $(t) {
6
6
  return t.length === 1 ? t[0].isLink : t.length === 3 && t[1].isLink ? ["()", "[]"].includes(t[0].value + t[2].value) : !1;
package/dist/index212.js CHANGED
@@ -1,9 +1,9 @@
1
- import { Extension as l, isNodeEmpty as v, callOrReturn as P, getExtensionField as S, isNodeSelection as z } from "./index249.js";
2
- import { Plugin as p, PluginKey as m } from "./index264.js";
3
- import { dropCursor as E } from "./index323.js";
4
- import { Decoration as y, DecorationSet as f } from "./index320.js";
5
- import { gapCursor as N } from "./index324.js";
6
- import { history as A, redo as M, undo as O } from "./index325.js";
1
+ import { Extension as l, isNodeEmpty as v, callOrReturn as P, getExtensionField as S, isNodeSelection as z } from "./index270.js";
2
+ import { Plugin as p, PluginKey as m } from "./index285.js";
3
+ import { dropCursor as E } from "./index320.js";
4
+ import { Decoration as y, DecorationSet as f } from "./index305.js";
5
+ import { gapCursor as N } from "./index321.js";
6
+ import { history as A, redo as M, undo as O } from "./index322.js";
7
7
  l.create({
8
8
  name: "characterCount",
9
9
  addOptions() {
package/dist/index216.js CHANGED
@@ -1,5 +1,5 @@
1
- import { onNextFrame as p, defaultTimestep as i } from "./index326.js";
2
- import { createRenderStep as x } from "./index327.js";
1
+ import { onNextFrame as p, defaultTimestep as i } from "./index290.js";
2
+ import { createRenderStep as x } from "./index291.js";
3
3
  const h = 40;
4
4
  let o = !0, s = !1, c = !1;
5
5
  const r = {
package/dist/index217.js CHANGED
@@ -1,6 +1,6 @@
1
1
  import { color as m } from "./index224.js";
2
2
  import { number as b } from "./index221.js";
3
- import { isString as g, floatRegex as c, colorRegex as l, sanitize as k } from "./index353.js";
3
+ import { isString as g, floatRegex as c, colorRegex as l, sanitize as k } from "./index361.js";
4
4
  const i = "${c}", p = "${n}";
5
5
  function x(e) {
6
6
  var o, n, r, t;
package/dist/index219.js CHANGED
@@ -1,8 +1,8 @@
1
- import { __rest as M } from "./index358.js";
2
- import { detectAnimationFromOptions as U } from "./index359.js";
1
+ import { __rest as M } from "./index340.js";
2
+ import { detectAnimationFromOptions as U } from "./index341.js";
3
3
  import k, { cancelSync as w } from "./index216.js";
4
- import { interpolate as A } from "./index360.js";
5
- import { hasRepeatDelayElapsed as I, reverseElapsed as N, loopElapsed as q } from "./index361.js";
4
+ import { interpolate as A } from "./index342.js";
5
+ import { hasRepeatDelayElapsed as I, reverseElapsed as N, loopElapsed as q } from "./index343.js";
6
6
  const z = (n) => {
7
7
  const o = ({ delta: a }) => n(a);
8
8
  return {
package/dist/index221.js CHANGED
@@ -1,4 +1,4 @@
1
- import { clamp as a } from "./index353.js";
1
+ import { clamp as a } from "./index361.js";
2
2
  const t = {
3
3
  test: (s) => typeof s == "number",
4
4
  parse: parseFloat,
package/dist/index222.js CHANGED
@@ -1,5 +1,5 @@
1
1
  import { complex as s } from "./index217.js";
2
- import { floatRegex as i } from "./index353.js";
2
+ import { floatRegex as i } from "./index361.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/index223.js CHANGED
@@ -1,4 +1,4 @@
1
- import { isString as n } from "./index353.js";
1
+ import { isString as n } from "./index361.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/index224.js CHANGED
@@ -1,7 +1,7 @@
1
- import { isString as o } from "./index353.js";
2
- import { hex as s } from "./index357.js";
3
- import { hsla as t } from "./index354.js";
4
- import { rgba as e } from "./index356.js";
1
+ import { isString as o } from "./index361.js";
2
+ import { hex as s } from "./index358.js";
3
+ import { hsla as t } from "./index356.js";
4
+ import { rgba as e } from "./index357.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/index226.js CHANGED
@@ -1,4 +1,4 @@
1
- import { reverseEasing as n, createAnticipate as O, mirrorEasing as s, createBackIn as i, createExpoIn as u } from "./index375.js";
1
+ import { reverseEasing as n, createAnticipate as O, mirrorEasing as s, createBackIn as i, createExpoIn as u } from "./index360.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/index227.js CHANGED
@@ -1,163 +1,90 @@
1
- import y from "./index236.js";
2
- import m from "./index267.js";
3
- import b from "./index233.js";
4
- import v from "./index234.js";
5
- import h from "./index286.js";
6
- import { resolveComponent as r, resolveDirective as S, withDirectives as B, openBlock as n, createElementBlock as i, mergeProps as t, renderSlot as o, normalizeClass as d, createBlock as p, createCommentVNode as u, createElementVNode as I, toDisplayString as $ } from "vue";
7
- var k = {
8
- name: "BaseButton",
9
- extends: v,
10
- props: {
11
- label: {
12
- type: String,
13
- default: null
14
- },
15
- icon: {
16
- type: String,
17
- default: null
18
- },
19
- iconPos: {
20
- type: String,
21
- default: "left"
22
- },
23
- iconClass: {
24
- type: String,
25
- default: null
26
- },
27
- badge: {
28
- type: String,
29
- default: null
30
- },
31
- badgeClass: {
32
- type: String,
33
- default: null
34
- },
35
- badgeSeverity: {
36
- type: String,
37
- default: null
38
- },
39
- loading: {
40
- type: Boolean,
41
- default: !1
42
- },
43
- loadingIcon: {
44
- type: String,
45
- default: void 0
46
- },
47
- link: {
48
- type: Boolean,
49
- default: !1
50
- },
51
- severity: {
52
- type: String,
53
- default: null
54
- },
55
- raised: {
56
- type: Boolean,
57
- default: !1
58
- },
59
- rounded: {
60
- type: Boolean,
61
- default: !1
62
- },
63
- text: {
64
- type: Boolean,
65
- default: !1
66
- },
67
- outlined: {
68
- type: Boolean,
69
- default: !1
70
- },
71
- size: {
72
- type: String,
73
- default: null
74
- },
75
- plain: {
76
- type: Boolean,
77
- default: !1
78
- }
79
- },
80
- style: h,
81
- provide: function() {
82
- return {
83
- $parentInstance: this
84
- };
1
+ import { DomHandler as r } from "./index180.js";
2
+ import p from "./index286.js";
3
+ import c from "./index287.js";
4
+ var f = p.extend({
5
+ style: c
6
+ });
7
+ function m(e) {
8
+ return b(e) || y(e) || v(e) || h();
9
+ }
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);
85
20
  }
86
- }, C = {
87
- name: "Button",
88
- extends: k,
89
- inheritAttrs: !1,
21
+ }
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);
27
+ }
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,
90
42
  methods: {
91
- getPTOptions: function(l) {
92
- var s = l === "root" ? this.ptmi : this.ptm;
93
- return s(l, {
94
- context: {
95
- disabled: this.disabled
96
- }
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")
97
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;
98
85
  }
99
- },
100
- computed: {
101
- disabled: function() {
102
- return this.$attrs.disabled || this.$attrs.disabled === "" || this.loading;
103
- },
104
- defaultAriaLabel: function() {
105
- return this.label ? this.label + (this.badge ? " " + this.badge : "") : this.$attrs.ariaLabel;
106
- },
107
- hasIcon: function() {
108
- return this.icon || this.$slots.icon;
109
- }
110
- },
111
- components: {
112
- SpinnerIcon: m,
113
- Badge: y
114
- },
115
- directives: {
116
- ripple: b
117
86
  }
118
- }, P = ["aria-label", "disabled", "data-p-severity"];
119
- function A(e, l, s, L, D, a) {
120
- var c = r("SpinnerIcon"), f = r("Badge"), g = S("ripple");
121
- return B((n(), i("button", t({
122
- class: e.cx("root"),
123
- type: "button",
124
- "aria-label": a.defaultAriaLabel,
125
- disabled: a.disabled
126
- }, a.getPTOptions("root"), {
127
- "data-p-severity": e.severity
128
- }), [o(e.$slots, "default", {}, function() {
129
- return [e.loading ? o(e.$slots, "loadingicon", {
130
- key: 0,
131
- class: d([e.cx("loadingIcon"), e.cx("icon")])
132
- }, function() {
133
- return [e.loadingIcon ? (n(), i("span", t({
134
- key: 0,
135
- class: [e.cx("loadingIcon"), e.cx("icon"), e.loadingIcon]
136
- }, e.ptm("loadingIcon")), null, 16)) : (n(), p(c, t({
137
- key: 1,
138
- class: [e.cx("loadingIcon"), e.cx("icon")],
139
- spin: ""
140
- }, e.ptm("loadingIcon")), null, 16, ["class"]))];
141
- }) : o(e.$slots, "icon", {
142
- key: 1,
143
- class: d([e.cx("icon")])
144
- }, function() {
145
- return [e.icon ? (n(), i("span", t({
146
- key: 0,
147
- class: [e.cx("icon"), e.icon, e.iconClass]
148
- }, e.ptm("icon")), null, 16)) : u("", !0)];
149
- }), I("span", t({
150
- class: e.cx("label")
151
- }, e.ptm("label")), $(e.label || " "), 17), e.badge ? (n(), p(f, t({
152
- key: 2,
153
- value: e.badge,
154
- class: e.badgeClass,
155
- severity: e.badgeSeverity,
156
- unstyled: e.unstyled
157
- }, e.ptm("badge")), null, 16, ["value", "class", "severity", "unstyled"])) : u("", !0)];
158
- })], 16, P)), [[g]]);
159
- }
160
- C.render = A;
87
+ });
161
88
  export {
162
- C as default
89
+ E as default
163
90
  };