@quoreadmin/ui 1.7.1 → 1.7.3

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 (206) hide show
  1. package/dist/index.css +1 -1
  2. package/dist/index131.js +1 -1
  3. package/dist/index140.js +2 -2
  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 +10 -10
  9. package/dist/index184.js +9 -9
  10. package/dist/index186.js +1190 -36
  11. package/dist/index188.js +36 -1190
  12. package/dist/{index187.js → index189.js} +17 -17
  13. package/dist/index190.js +27 -27
  14. package/dist/index191.js +2 -2
  15. package/dist/index192.js +2 -2
  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 +84 -29
  24. package/dist/index203.js +400 -109
  25. package/dist/index204.js +22 -36
  26. package/dist/index205.js +33 -26
  27. package/dist/index206.js +111 -31
  28. package/dist/index207.js +36 -9
  29. package/dist/index208.js +26 -19
  30. package/dist/index209.js +36 -10
  31. package/dist/index210.js +9 -10
  32. package/dist/index211.js +18 -50
  33. package/dist/index212.js +10 -43
  34. package/dist/index213.js +10 -4
  35. package/dist/index214.js +48 -36
  36. package/dist/index215.js +43 -21
  37. package/dist/index216.js +3 -87
  38. package/dist/index217.js +35 -403
  39. package/dist/index218.js +21 -22
  40. package/dist/index219.js +21 -126
  41. package/dist/index220.js +21 -37
  42. package/dist/index221.js +20 -80
  43. package/dist/index222.js +836 -20
  44. package/dist/index223.js +701 -19
  45. package/dist/index224.js +175 -19
  46. package/dist/index225.js +1 -1
  47. package/dist/index226.js +11 -11
  48. package/dist/index227.js +21 -160
  49. package/dist/index228.js +20 -228
  50. package/dist/index229.js +19 -36
  51. package/dist/index230.js +20 -10
  52. package/dist/index231.js +3 -3632
  53. package/dist/index232.js +181 -49
  54. package/dist/index233.js +128 -72
  55. package/dist/index234.js +154 -45
  56. package/dist/index235.js +1209 -201
  57. package/dist/index236.js +126 -9
  58. package/dist/index237.js +20 -57
  59. package/dist/index238.js +22 -61
  60. package/dist/index239.js +20 -54
  61. package/dist/index240.js +22 -75
  62. package/dist/index241.js +29 -714
  63. package/dist/index242.js +29 -39
  64. package/dist/index243.js +20 -64
  65. package/dist/index244.js +20 -11
  66. package/dist/index245.js +2 -705
  67. package/dist/index246.js +2 -820
  68. package/dist/index247.js +159 -159
  69. package/dist/index248.js +228 -20
  70. package/dist/index249.js +36 -21
  71. package/dist/index250.js +9 -198
  72. package/dist/index251.js +21 -69
  73. package/dist/index252.js +197 -32
  74. package/dist/index253.js +56 -26
  75. package/dist/index254.js +34 -22
  76. package/dist/index255.js +38 -20
  77. package/dist/index256.js +80 -20
  78. package/dist/index257.js +20 -836
  79. package/dist/index258.js +19 -701
  80. package/dist/index259.js +3626 -170
  81. package/dist/index260.js +55 -22
  82. package/dist/index261.js +77 -20
  83. package/dist/index262.js +52 -20
  84. package/dist/index263.js +215 -3
  85. package/dist/index264.js +10 -187
  86. package/dist/index265.js +52 -128
  87. package/dist/index266.js +52 -1214
  88. package/dist/index267.js +54 -20
  89. package/dist/index268.js +75 -22
  90. package/dist/index269.js +722 -21
  91. package/dist/index270.js +39 -29
  92. package/dist/index271.js +64 -20
  93. package/dist/index272.js +11 -20
  94. package/dist/index273.js +705 -2
  95. package/dist/index274.js +820 -2
  96. package/dist/index279.js +79 -3
  97. package/dist/index280.js +78 -26
  98. package/dist/index281.js +22 -2
  99. package/dist/index282.js +910 -54
  100. package/dist/index283.js +22 -1518
  101. package/dist/index284.js +20 -386
  102. package/dist/index285.js +20 -2731
  103. package/dist/index286.js +67 -84
  104. package/dist/index287.js +19 -3770
  105. package/dist/index288.js +19 -60
  106. package/dist/index289.js +54 -15
  107. package/dist/index290.js +21 -83
  108. package/dist/index291.js +22 -202
  109. package/dist/index292.js +63 -246
  110. package/dist/index293.js +2 -54
  111. package/dist/index294.js +1 -1
  112. package/dist/index295.js +1 -1
  113. package/dist/index296.js +1 -1
  114. package/dist/index300.js +3 -235
  115. package/dist/index301.js +25 -4
  116. package/dist/index302.js +1507 -123
  117. package/dist/index303.js +379 -61
  118. package/dist/index304.js +2725 -81
  119. package/dist/index305.js +83 -26
  120. package/dist/index306.js +3770 -9
  121. package/dist/index307.js +57 -72
  122. package/dist/index308.js +15 -4
  123. package/dist/index309.js +84 -2
  124. package/dist/index310.js +193 -74
  125. package/dist/index311.js +246 -54
  126. package/dist/index312.js +233 -4
  127. package/dist/index313.js +5 -4
  128. package/dist/index314.js +121 -166
  129. package/dist/index315.js +63 -58
  130. package/dist/index316.js +85 -73
  131. package/dist/index317.js +25 -75
  132. package/dist/index318.js +8 -21
  133. package/dist/index319.js +66 -926
  134. package/dist/index320.js +3 -21
  135. package/dist/index321.js +2 -20
  136. package/dist/index322.js +82 -19
  137. package/dist/index323.js +51 -66
  138. package/dist/index324.js +6 -19
  139. package/dist/index325.js +5 -19
  140. package/dist/index326.js +178 -21
  141. package/dist/index327.js +62 -21
  142. package/dist/index328.js +74 -62
  143. package/dist/index329.js +36 -8
  144. package/dist/index330.js +19 -12
  145. package/dist/index331.js +19 -54
  146. package/dist/index332.js +63 -11
  147. package/dist/index333.js +37 -14
  148. package/dist/index334.js +8 -57
  149. package/dist/index335.js +12 -51
  150. package/dist/index336.js +49 -25
  151. package/dist/index337.js +12 -2
  152. package/dist/index338.js +14 -5
  153. package/dist/index339.js +58 -2
  154. package/dist/index340.js +52 -23
  155. package/dist/index341.js +28 -38
  156. package/dist/index342.js +2 -2
  157. package/dist/index343.js +4 -10
  158. package/dist/index344.js +2 -20
  159. package/dist/index345.js +21 -15
  160. package/dist/index346.js +40 -9
  161. package/dist/index347.js +2 -10
  162. package/dist/index348.js +11 -2
  163. package/dist/index349.js +20 -9
  164. package/dist/index350.js +16 -9
  165. package/dist/index351.js +9 -13
  166. package/dist/index352.js +10 -37
  167. package/dist/index353.js +2 -21
  168. package/dist/index354.js +9 -56
  169. package/dist/index355.js +9 -28
  170. package/dist/index356.js +14 -7
  171. package/dist/index357.js +18 -49
  172. package/dist/index358.js +56 -6
  173. package/dist/index359.js +27 -10
  174. package/dist/index360.js +7 -7
  175. package/dist/index361.js +51 -27
  176. package/dist/index362.js +6 -2
  177. package/dist/index363.js +11 -69
  178. package/dist/index364.js +6 -166
  179. package/dist/index365.js +28 -20
  180. package/dist/index366.js +2 -20
  181. package/dist/index367.js +67 -61
  182. package/dist/index368.js +166 -36
  183. package/dist/index369.js +16 -100
  184. package/dist/index370.js +98 -91
  185. package/dist/index371.js +98 -95
  186. package/dist/index372.js +90 -30
  187. package/dist/index373.js +30 -10
  188. package/dist/index374.js +10 -3
  189. package/dist/index375.js +3 -3
  190. package/dist/index376.js +4 -13
  191. package/dist/index377.js +13 -7
  192. package/dist/index378.js +7 -12
  193. package/dist/index379.js +11 -4
  194. package/dist/index380.js +5 -33
  195. package/dist/index381.js +33 -31
  196. package/dist/index382.js +29 -26
  197. package/dist/index383.js +26 -59
  198. package/dist/index384.js +60 -16
  199. package/dist/index385.js +1 -1
  200. package/dist/index39.js +1 -1
  201. package/dist/index390.js +1 -1
  202. package/dist/index391.js +2 -2
  203. package/dist/src/components/popover/popover.d.ts +2 -2
  204. package/dist/src/components/popover/popover.stories.d.ts +402 -0
  205. package/package.json +1 -1
  206. package/src/assets/illustrations/no-files-uploaded.svg +11 -0
@@ -1,20 +1,20 @@
1
- import a from "./index300.js";
2
- import p from "./index301.js";
3
- import m from "./index302.js";
4
- import i from "./index303.js";
5
- import f from "./index304.js";
6
- import l from "./index305.js";
7
- import c from "./index306.js";
8
- import d from "./index307.js";
9
- import u from "./index308.js";
10
- import { VERSION as x } from "./index309.js";
11
- import C from "./index310.js";
12
- import A from "./index311.js";
13
- import E from "./index312.js";
14
- import O from "./index313.js";
15
- import S from "./index314.js";
16
- import H from "./index315.js";
17
- import T from "./index316.js";
1
+ import a from "./index312.js";
2
+ import p from "./index313.js";
3
+ import m from "./index314.js";
4
+ import i from "./index315.js";
5
+ import f from "./index316.js";
6
+ import l from "./index317.js";
7
+ import c from "./index318.js";
8
+ import d from "./index319.js";
9
+ import u from "./index320.js";
10
+ import { VERSION as x } from "./index321.js";
11
+ import C from "./index322.js";
12
+ import A from "./index323.js";
13
+ import E from "./index324.js";
14
+ import O from "./index325.js";
15
+ import S from "./index326.js";
16
+ import H from "./index327.js";
17
+ import T from "./index328.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/index190.js CHANGED
@@ -1,34 +1,34 @@
1
1
  import { FilterMatchMode as ve, FilterService as be, FilterOperator as se } from "./index59.js";
2
- import it from "./index254.js";
3
- import lt from "./index255.js";
4
- import at from "./index256.js";
5
- import ut from "./index257.js";
2
+ import it from "./index219.js";
3
+ import lt from "./index220.js";
4
+ import at from "./index221.js";
5
+ import ut from "./index222.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
- import dt from "./index258.js";
8
- import F from "./index217.js";
9
- import ct from "./index259.js";
7
+ import dt from "./index223.js";
8
+ import F from "./index203.js";
9
+ import ct from "./index224.js";
10
10
  import We from "./index225.js";
11
- import Ue from "./index224.js";
11
+ import Ue from "./index226.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
- import mt from "./index260.js";
14
- import pe from "./index261.js";
15
- import ht from "./index262.js";
16
- import pt from "./index222.js";
17
- import K from "./index263.js";
18
- import gt from "./index216.js";
19
- import Ze from "./index264.js";
20
- import yt from "./index265.js";
21
- import wt from "./index247.js";
22
- import vt from "./index266.js";
23
- import bt from "./index219.js";
24
- import Ct from "./index267.js";
25
- import Rt from "./index268.js";
26
- import St from "./index248.js";
27
- import Pt from "./index269.js";
28
- import Et from "./index220.js";
29
- import Re from "./index270.js";
30
- import Se from "./index271.js";
31
- import Pe from "./index272.js";
13
+ import mt from "./index227.js";
14
+ import pe from "./index228.js";
15
+ import ht from "./index229.js";
16
+ import pt from "./index230.js";
17
+ import K from "./index231.js";
18
+ import gt from "./index202.js";
19
+ import Ze from "./index232.js";
20
+ import yt from "./index233.js";
21
+ import wt from "./index234.js";
22
+ import vt from "./index235.js";
23
+ import bt from "./index236.js";
24
+ import Ct from "./index237.js";
25
+ import Rt from "./index238.js";
26
+ import St from "./index239.js";
27
+ import Pt from "./index240.js";
28
+ import Et from "./index241.js";
29
+ import Re from "./index242.js";
30
+ import Se from "./index243.js";
31
+ import Pe from "./index244.js";
32
32
  var kt = {
33
33
  name: "BaseDataTable",
34
34
  extends: F,
package/dist/index191.js CHANGED
@@ -1,5 +1,5 @@
1
- import l from "./index217.js";
2
- import n from "./index273.js";
1
+ import l from "./index203.js";
2
+ import n from "./index245.js";
3
3
  var u = {
4
4
  name: "BaseColumn",
5
5
  extends: l,
package/dist/index192.js CHANGED
@@ -1,5 +1,5 @@
1
- import r from "./index217.js";
2
- import e from "./index274.js";
1
+ import r from "./index203.js";
2
+ import e from "./index246.js";
3
3
  var o = {
4
4
  name: "BaseColumnGroup",
5
5
  extends: r,
package/dist/index193.js CHANGED
@@ -1,4 +1,4 @@
1
- import r from "./index217.js";
1
+ import r from "./index203.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 "./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";
1
+ import { Editor as p } from "./index259.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 "./index259.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 "./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";
1
+ import { Extension as r } from "./index259.js";
2
+ import { Blockquote as n } from "./index260.js";
3
+ import { Bold as p } from "./index261.js";
4
+ import { Code as f } from "./index262.js";
5
+ import { CodeBlock as h } from "./index263.js";
6
+ import { Document as u } from "./index264.js";
7
+ import { HardBreak as l } from "./index265.js";
8
+ import { Heading as a } from "./index266.js";
9
+ import { HorizontalRule as c } from "./index267.js";
10
+ import { Italic as d } from "./index268.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 "./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";
12
+ import { BulletList as g, ListItem as k, ListKeymap as B, OrderedList as L } from "./index269.js";
13
+ import { Paragraph as x } from "./index270.js";
14
+ import { Strike as b } from "./index271.js";
15
+ import { Text as v } from "./index272.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 "./index231.js";
1
+ import { Mark as s, mergeAttributes as d } from "./index259.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 "./index231.js";
1
+ import { Mark as y, Extension as l, mergeAttributes as p } from "./index259.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 "./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";
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 "./index259.js";
2
+ import { registerCustomProtocol as C, tokenize as H, find as M, reset as U } from "./index273.js";
3
+ import { Plugin as g, PluginKey as A } from "./index274.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 "./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";
1
+ import { Extension as u, isNodeEmpty as w, callOrReturn as v, getExtensionField as S, isNodeSelection as P } from "./index259.js";
2
+ import { Plugin as p, PluginKey as m } from "./index274.js";
3
+ import { dropCursor as z } from "./index309.js";
4
+ import { Decoration as g, DecorationSet as f } from "./index306.js";
5
+ import { gapCursor as N } from "./index310.js";
6
+ import { history as E, redo as M, undo as O } from "./index311.js";
7
7
  u.create({
8
8
  name: "characterCount",
9
9
  addOptions() {
package/dist/index202.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 "./index169.js";
2
+ import p from "./index275.js";
3
+ import c from "./index276.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
  };