@quoreadmin/ui 1.6.9 → 1.7.1

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 (207) hide show
  1. package/dist/index.css +1 -1
  2. package/dist/index13.js +7 -7
  3. package/dist/index140.js +548 -399
  4. package/dist/index142.js +1 -1
  5. package/dist/index171.js +14 -14
  6. package/dist/index172.js +3 -3
  7. package/dist/index175.js +4 -4
  8. package/dist/index182.js +9 -9
  9. package/dist/index184.js +2 -2
  10. package/dist/index186.js +36 -1190
  11. package/dist/{index189.js → index187.js} +17 -17
  12. package/dist/index188.js +1190 -36
  13. package/dist/index190.js +4 -4
  14. package/dist/index191.js +1 -1
  15. package/dist/index192.js +1 -1
  16. package/dist/index193.js +1 -1
  17. package/dist/index195.js +2 -2
  18. package/dist/index197.js +14 -14
  19. package/dist/index198.js +1 -1
  20. package/dist/index199.js +1 -1
  21. package/dist/index200.js +3 -3
  22. package/dist/index201.js +6 -6
  23. package/dist/index202.js +29 -84
  24. package/dist/index203.js +109 -400
  25. package/dist/index204.js +36 -22
  26. package/dist/index205.js +26 -33
  27. package/dist/index206.js +31 -111
  28. package/dist/index207.js +9 -36
  29. package/dist/index208.js +19 -26
  30. package/dist/index209.js +10 -36
  31. package/dist/index210.js +10 -9
  32. package/dist/index211.js +50 -18
  33. package/dist/index212.js +43 -10
  34. package/dist/index213.js +4 -10
  35. package/dist/index214.js +36 -48
  36. package/dist/index215.js +21 -43
  37. package/dist/index216.js +87 -3
  38. package/dist/index217.js +403 -35
  39. package/dist/index218.js +22 -21
  40. package/dist/index219.js +2 -2
  41. package/dist/index221.js +1 -1
  42. package/dist/index222.js +1 -1
  43. package/dist/index223.js +1 -1
  44. package/dist/index224.js +1 -1
  45. package/dist/index225.js +1 -1
  46. package/dist/index226.js +1 -1
  47. package/dist/index227.js +159 -159
  48. package/dist/index228.js +228 -20
  49. package/dist/index229.js +36 -21
  50. package/dist/index230.js +9 -198
  51. package/dist/index231.js +3625 -63
  52. package/dist/index232.js +52 -31
  53. package/dist/index233.js +73 -36
  54. package/dist/index234.js +33 -3613
  55. package/dist/index235.js +192 -32
  56. package/dist/index236.js +9 -76
  57. package/dist/index237.js +39 -34
  58. package/dist/index238.js +32 -186
  59. package/dist/index239.js +53 -9
  60. package/dist/index240.js +58 -40
  61. package/dist/index241.js +697 -35
  62. package/dist/index242.js +25 -40
  63. package/dist/index243.js +23 -34
  64. package/dist/index244.js +10 -722
  65. package/dist/index245.js +697 -31
  66. package/dist/index246.js +818 -62
  67. package/dist/index247.js +161 -11
  68. package/dist/index248.js +20 -705
  69. package/dist/index249.js +22 -820
  70. package/dist/index250.js +194 -156
  71. package/dist/index251.js +66 -224
  72. package/dist/index252.js +34 -37
  73. package/dist/index253.js +39 -9
  74. package/dist/index254.js +1 -1
  75. package/dist/index255.js +1 -1
  76. package/dist/index256.js +1 -1
  77. package/dist/index257.js +2 -2
  78. package/dist/index258.js +1 -1
  79. package/dist/index259.js +1 -1
  80. package/dist/index260.js +1 -1
  81. package/dist/index261.js +1 -1
  82. package/dist/index262.js +1 -1
  83. package/dist/index264.js +1 -1
  84. package/dist/index265.js +1 -1
  85. package/dist/index266.js +2 -2
  86. package/dist/index267.js +1 -1
  87. package/dist/index268.js +1 -1
  88. package/dist/index269.js +1 -1
  89. package/dist/index270.js +1 -1
  90. package/dist/index271.js +1 -1
  91. package/dist/index272.js +1 -1
  92. package/dist/index275.js +239 -221
  93. package/dist/index276.js +8 -6
  94. package/dist/index277.js +128 -124
  95. package/dist/index278.js +78 -63
  96. package/dist/index279.js +3 -87
  97. package/dist/index280.js +26 -28
  98. package/dist/index281.js +2 -9
  99. package/dist/index282.js +74 -70
  100. package/dist/index283.js +1517 -3
  101. package/dist/index284.js +386 -2
  102. package/dist/index285.js +2730 -82
  103. package/dist/index286.js +84 -52
  104. package/dist/index287.js +3768 -4
  105. package/dist/index288.js +59 -4
  106. package/dist/index289.js +15 -179
  107. package/dist/index290.js +78 -57
  108. package/dist/index291.js +201 -74
  109. package/dist/index292.js +229 -236
  110. package/dist/index293.js +54 -2
  111. package/dist/index294.js +26 -138
  112. package/dist/index295.js +22 -83
  113. package/dist/index296.js +21 -78
  114. package/dist/index297.js +13 -5
  115. package/dist/index298.js +14 -51
  116. package/dist/index299.js +22 -25
  117. package/dist/index300.js +234 -21
  118. package/dist/index301.js +5 -21
  119. package/dist/index302.js +133 -15
  120. package/dist/index303.js +68 -17
  121. package/dist/index304.js +85 -21
  122. package/dist/index305.js +26 -1515
  123. package/dist/index306.js +9 -386
  124. package/dist/index307.js +60 -2716
  125. package/dist/index308.js +3 -85
  126. package/dist/index309.js +2 -3770
  127. package/dist/index310.js +77 -54
  128. package/dist/index311.js +53 -14
  129. package/dist/index312.js +5 -83
  130. package/dist/index313.js +4 -201
  131. package/dist/index314.js +164 -231
  132. package/dist/index315.js +63 -3
  133. package/dist/index316.js +75 -27
  134. package/dist/index317.js +1 -1
  135. package/dist/index318.js +1 -1
  136. package/dist/index319.js +2 -2
  137. package/dist/index320.js +1 -1
  138. package/dist/index321.js +1 -1
  139. package/dist/index322.js +1 -1
  140. package/dist/index323.js +1 -1
  141. package/dist/index324.js +1 -1
  142. package/dist/index325.js +1 -1
  143. package/dist/index326.js +1 -1
  144. package/dist/index327.js +1 -1
  145. package/dist/index328.js +1 -1
  146. package/dist/index329.js +8 -20
  147. package/dist/index330.js +12 -55
  148. package/dist/index331.js +53 -27
  149. package/dist/index332.js +11 -6
  150. package/dist/index333.js +12 -50
  151. package/dist/index334.js +58 -6
  152. package/dist/index335.js +50 -10
  153. package/dist/index336.js +31 -7
  154. package/dist/index337.js +2 -28
  155. package/dist/index338.js +5 -2
  156. package/dist/index339.js +2 -70
  157. package/dist/index340.js +21 -165
  158. package/dist/index341.js +39 -35
  159. package/dist/index342.js +2 -9
  160. package/dist/index343.js +11 -13
  161. package/dist/index344.js +16 -51
  162. package/dist/index345.js +16 -11
  163. package/dist/index346.js +10 -14
  164. package/dist/index347.js +10 -58
  165. package/dist/index348.js +2 -52
  166. package/dist/index349.js +9 -31
  167. package/dist/index350.js +10 -2
  168. package/dist/index351.js +13 -4
  169. package/dist/index352.js +37 -2
  170. package/dist/index353.js +21 -23
  171. package/dist/index354.js +55 -40
  172. package/dist/index355.js +29 -2
  173. package/dist/index356.js +7 -11
  174. package/dist/index357.js +49 -17
  175. package/dist/index358.js +5 -16
  176. package/dist/index359.js +12 -10
  177. package/dist/index360.js +6 -9
  178. package/dist/index361.js +28 -2
  179. package/dist/index362.js +2 -9
  180. package/dist/index363.js +70 -10
  181. package/dist/index364.js +165 -12
  182. package/dist/index365.js +1 -1
  183. package/dist/index366.js +1 -1
  184. package/dist/index367.js +1 -1
  185. package/dist/index368.js +1 -1
  186. package/dist/index369.js +98 -28
  187. package/dist/index370.js +90 -10
  188. package/dist/index371.js +98 -4
  189. package/dist/index372.js +30 -3
  190. package/dist/index373.js +11 -13
  191. package/dist/index374.js +4 -7
  192. package/dist/index375.js +3 -11
  193. package/dist/index376.js +13 -5
  194. package/dist/index377.js +7 -33
  195. package/dist/index378.js +11 -30
  196. package/dist/index379.js +5 -28
  197. package/dist/index380.js +33 -61
  198. package/dist/index381.js +29 -99
  199. package/dist/index382.js +28 -91
  200. package/dist/index383.js +59 -96
  201. package/dist/index384.js +1 -1
  202. package/dist/index385.js +1 -1
  203. package/dist/index390.js +1 -1
  204. package/dist/index391.js +2 -2
  205. package/dist/index43.js +416 -294
  206. package/dist/src/components/room-details-popover/room-details-popover.d.ts +51 -4870
  207. package/package.json +1 -1
package/dist/index190.js CHANGED
@@ -5,7 +5,7 @@ import at from "./index256.js";
5
5
  import ut from "./index257.js";
6
6
  import { ObjectUtils as b, UniqueComponentId as X, DomHandler as m, HelperSet as W, ConnectedOverlayScrollHandler as st, ZIndexUtils as ce } from "./index169.js";
7
7
  import dt from "./index258.js";
8
- import F from "./index203.js";
8
+ import F from "./index217.js";
9
9
  import ct from "./index259.js";
10
10
  import We from "./index225.js";
11
11
  import Ue from "./index224.js";
@@ -15,15 +15,15 @@ import pe from "./index261.js";
15
15
  import ht from "./index262.js";
16
16
  import pt from "./index222.js";
17
17
  import K from "./index263.js";
18
- import gt from "./index202.js";
18
+ import gt from "./index216.js";
19
19
  import Ze from "./index264.js";
20
20
  import yt from "./index265.js";
21
- import wt from "./index227.js";
21
+ import wt from "./index247.js";
22
22
  import vt from "./index266.js";
23
23
  import bt from "./index219.js";
24
24
  import Ct from "./index267.js";
25
25
  import Rt from "./index268.js";
26
- import St from "./index228.js";
26
+ import St from "./index248.js";
27
27
  import Pt from "./index269.js";
28
28
  import Et from "./index220.js";
29
29
  import Re from "./index270.js";
package/dist/index191.js CHANGED
@@ -1,4 +1,4 @@
1
- import l from "./index203.js";
1
+ import l from "./index217.js";
2
2
  import n from "./index273.js";
3
3
  var u = {
4
4
  name: "BaseColumn",
package/dist/index192.js CHANGED
@@ -1,4 +1,4 @@
1
- import r from "./index203.js";
1
+ import r from "./index217.js";
2
2
  import e from "./index274.js";
3
3
  var o = {
4
4
  name: "BaseColumnGroup",
package/dist/index193.js CHANGED
@@ -1,4 +1,4 @@
1
- import r from "./index203.js";
1
+ import r from "./index217.js";
2
2
  var o = {
3
3
  name: "Row",
4
4
  extends: r,
package/dist/index195.js CHANGED
@@ -1,5 +1,5 @@
1
- import { Editor as p } from "./index234.js";
2
- import { CommandManager as y, Extendable as M, Extension as T, InputRule as F, MappablePosition as I, Mark as B, Node as O, NodePos as D, PasteRule as _, callOrReturn as j, canInsertNode as V, combineTransactionSteps as q, commands as z, createAtomBlockMarkdownSpec as L, createBlockMarkdownSpec as U, createChainableState as $, createDocument as H, createInlineMarkdownSpec as W, createMappablePosition as G, createNodeFromContent as J, createStyleTag as K, defaultBlockAt as Q, deleteProps as X, elementFromString as Y, extensions as Z, findChildrenInRange as ee, findDuplicates as te, findParentNode as ne, findParentNodeClosestToPos as re, flattenExtensions as ie, fromString as oe, getAttributes as ae, getAttributesFromExtensions as se, getChangedRanges as le, getExtensionField as de, getHTMLFromFragment as ue, getMarkAttributes as ce, getMarkRange as pe, getMarkType as ge, getMarksBetween as me, getNodeAtPosition as ve, getNodeAttributes as Se, getNodeType as he, getRenderedAttributes as xe, getSchemaByResolvedExtensions as fe, getSchemaTypeByName as we, getSchemaTypeNameByName as Ee, getSplittedAttributes as Ne, getText as be, getTextBetween as Ce, getTextContentFromNodes as ke, getTextSerializersFromSchema as Ae, getUpdatedPosition as Re, injectExtensionAttributesToParseRule as Pe, inputRulesPlugin as ye, isActive as Me, isAndroid as Te, isAtEndOfNode as Fe, isAtStartOfNode as Ie, isEmptyObject as Be, isExtensionRulesEnabled as Oe, isFunction as De, isList as _e, isMacOS as je, isMarkActive as Ve, isNodeActive as qe, isNodeEmpty as ze, isNodeSelection as Le, isNumber as Ue, isPlainObject as $e, isRegExp as He, isSafari as We, isTextSelection as Ge, isiOS as Je, markInputRule as Ke, markPasteRule as Qe, markdown as Xe, mergeAttributes as Ye, mergeDeep as Ze, minMax as et, nodeInputRule as tt, objectIncludes as nt, parseAttributes as rt, parseIndentedBlocks as it, pasteRulesPlugin as ot, removeDuplicates as at, renderNestedMarkdownContent as st, resolveExtensions as lt, resolveFocusPosition as dt, selectionToInsertionEnd as ut, serializeAttributes as ct, sortExtensions as pt, splitExtensions as gt, textblockTypeInputRule as mt, updateMarkViewAttributes as vt, wrappingInputRule as St } from "./index234.js";
1
+ import { Editor as p } from "./index231.js";
2
+ import { CommandManager as y, Extendable as M, Extension as T, InputRule as F, MappablePosition as I, Mark as B, Node as O, NodePos as D, PasteRule as _, callOrReturn as j, canInsertNode as V, combineTransactionSteps as q, commands as z, createAtomBlockMarkdownSpec as L, createBlockMarkdownSpec as U, createChainableState as $, createDocument as H, createInlineMarkdownSpec as W, createMappablePosition as G, createNodeFromContent as J, createStyleTag as K, defaultBlockAt as Q, deleteProps as X, elementFromString as Y, extensions as Z, findChildrenInRange as ee, findDuplicates as te, findParentNode as ne, findParentNodeClosestToPos as re, flattenExtensions as ie, fromString as oe, getAttributes as ae, getAttributesFromExtensions as se, getChangedRanges as le, getExtensionField as de, getHTMLFromFragment as ue, getMarkAttributes as ce, getMarkRange as pe, getMarkType as ge, getMarksBetween as me, getNodeAtPosition as ve, getNodeAttributes as Se, getNodeType as he, getRenderedAttributes as xe, getSchemaByResolvedExtensions as fe, getSchemaTypeByName as we, getSchemaTypeNameByName as Ee, getSplittedAttributes as Ne, getText as be, getTextBetween as Ce, getTextContentFromNodes as ke, getTextSerializersFromSchema as Ae, getUpdatedPosition as Re, injectExtensionAttributesToParseRule as Pe, inputRulesPlugin as ye, isActive as Me, isAndroid as Te, isAtEndOfNode as Fe, isAtStartOfNode as Ie, isEmptyObject as Be, isExtensionRulesEnabled as Oe, isFunction as De, isList as _e, isMacOS as je, isMarkActive as Ve, isNodeActive as qe, isNodeEmpty as ze, isNodeSelection as Le, isNumber as Ue, isPlainObject as $e, isRegExp as He, isSafari as We, isTextSelection as Ge, isiOS as Je, markInputRule as Ke, markPasteRule as Qe, markdown as Xe, mergeAttributes as Ye, mergeDeep as Ze, minMax as et, nodeInputRule as tt, objectIncludes as nt, parseAttributes as rt, parseIndentedBlocks as it, pasteRulesPlugin as ot, removeDuplicates as at, renderNestedMarkdownContent as st, resolveExtensions as lt, resolveFocusPosition as dt, selectionToInsertionEnd as ut, serializeAttributes as ct, sortExtensions as pt, splitExtensions as gt, textblockTypeInputRule as mt, updateMarkViewAttributes as vt, wrappingInputRule as St } from "./index231.js";
3
3
  import { defineComponent as s, h as l, ref as g, getCurrentInstance as m, watchEffect as v, nextTick as S, unref as h, onBeforeUnmount as u, shallowRef as x, onMounted as f, markRaw as w, customRef as E } from "vue";
4
4
  function d(t) {
5
5
  return E((e, r) => ({
package/dist/index197.js CHANGED
@@ -1,18 +1,18 @@
1
- import { Extension as r } from "./index234.js";
2
- import { Blockquote as n } from "./index235.js";
3
- import { Bold as p } from "./index236.js";
4
- import { Code as f } from "./index237.js";
5
- import { CodeBlock as h } from "./index238.js";
6
- import { Document as u } from "./index239.js";
7
- import { HardBreak as l } from "./index240.js";
8
- import { Heading as a } from "./index241.js";
9
- import { HorizontalRule as c } from "./index242.js";
10
- import { Italic as d } from "./index243.js";
1
+ import { Extension as r } from "./index231.js";
2
+ import { Blockquote as n } from "./index232.js";
3
+ import { Bold as p } from "./index233.js";
4
+ import { Code as f } from "./index234.js";
5
+ import { CodeBlock as h } from "./index235.js";
6
+ import { Document as u } from "./index236.js";
7
+ import { HardBreak as l } from "./index237.js";
8
+ import { Heading as a } from "./index238.js";
9
+ import { HorizontalRule as c } from "./index239.js";
10
+ import { Italic as d } from "./index240.js";
11
11
  import { Link as m } from "./index200.js";
12
- import { BulletList as g, ListItem as k, ListKeymap as B, OrderedList as L } from "./index244.js";
13
- import { Paragraph as x } from "./index245.js";
14
- import { Strike as b } from "./index246.js";
15
- import { Text as v } from "./index247.js";
12
+ import { BulletList as g, ListItem as k, ListKeymap as B, OrderedList as L } from "./index241.js";
13
+ import { Paragraph as x } from "./index242.js";
14
+ import { Strike as b } from "./index243.js";
15
+ import { Text as v } from "./index244.js";
16
16
  import { Underline as R } from "./index198.js";
17
17
  import { Dropcursor as K, Gapcursor as _, UndoRedo as I, TrailingNode as q } from "./index201.js";
18
18
  var y = r.create({
package/dist/index198.js CHANGED
@@ -1,4 +1,4 @@
1
- import { Mark as s, mergeAttributes as d } from "./index234.js";
1
+ import { Mark as s, mergeAttributes as d } from "./index231.js";
2
2
  var u = s.create({
3
3
  name: "underline",
4
4
  addOptions() {
package/dist/index199.js CHANGED
@@ -1,4 +1,4 @@
1
- import { Mark as y, Extension as l, mergeAttributes as p } from "./index234.js";
1
+ import { Mark as y, Extension as l, mergeAttributes as p } from "./index231.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/index200.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 O, getMarksBetween as R, getAttributes as _ } from "./index234.js";
2
- import { registerCustomProtocol as C, tokenize as H, find as M, reset as U } from "./index248.js";
3
- import { Plugin as g, PluginKey as A } from "./index249.js";
1
+ import { Mark as x, markPasteRule as b, mergeAttributes as v, combineTransactionSteps as w, getChangedRanges as T, findChildrenInRange as O, getMarksBetween as R, getAttributes as _ } from "./index231.js";
2
+ import { registerCustomProtocol as C, tokenize as H, find as M, reset as U } from "./index245.js";
3
+ import { Plugin as g, PluginKey as A } from "./index246.js";
4
4
  var P = "[\0-   ᠎ -\u2029  ]", I = new RegExp(P), B = new RegExp(`${P}$`), N = new RegExp(P, "g");
5
5
  function W(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/index201.js CHANGED
@@ -1,9 +1,9 @@
1
- import { Extension as u, isNodeEmpty as w, callOrReturn as v, getExtensionField as S, isNodeSelection as P } from "./index234.js";
2
- import { Plugin as p, PluginKey as m } from "./index249.js";
3
- import { dropCursor as z } from "./index312.js";
4
- import { Decoration as g, DecorationSet as f } from "./index309.js";
5
- import { gapCursor as N } from "./index313.js";
6
- import { history as E, redo as M, undo as O } from "./index314.js";
1
+ import { Extension as u, isNodeEmpty as w, callOrReturn as v, getExtensionField as S, isNodeSelection as P } from "./index231.js";
2
+ import { Plugin as p, PluginKey as m } from "./index246.js";
3
+ import { dropCursor as z } from "./index290.js";
4
+ import { Decoration as g, DecorationSet as f } from "./index287.js";
5
+ import { gapCursor as N } from "./index291.js";
6
+ import { history as E, redo as M, undo as O } from "./index292.js";
7
7
  u.create({
8
8
  name: "characterCount",
9
9
  addOptions() {
package/dist/index202.js CHANGED
@@ -1,90 +1,35 @@
1
- import { DomHandler as r } from "./index169.js";
2
- import p from "./index292.js";
3
- import c from "./index297.js";
4
- var f = p.extend({
5
- style: c
6
- });
7
- function m(e) {
8
- return b(e) || y(e) || v(e) || h();
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;
9
6
  }
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);
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));
20
21
  }
22
+ return r;
21
23
  }
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);
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
+ );
27
29
  }
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
- });
30
+ const y = l();
88
31
  export {
89
- E as default
32
+ l as createDefu,
33
+ y as default,
34
+ y as defu
90
35
  };