@quoreadmin/ui 1.6.0 → 1.6.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 (197) hide show
  1. package/dist/index100.js +32 -32
  2. package/dist/index141.js +1 -1
  3. package/dist/index143.js +4 -4
  4. package/dist/index170.js +14 -14
  5. package/dist/index171.js +3 -3
  6. package/dist/index181.js +10 -10
  7. package/dist/index183.js +10 -10
  8. package/dist/index187.js +17 -17
  9. package/dist/index188.js +1077 -5825
  10. package/dist/index190.js +5922 -19
  11. package/dist/index191.js +199 -10
  12. package/dist/index192.js +25 -1180
  13. package/dist/index193.js +20 -0
  14. package/dist/index195.js +2 -2
  15. package/dist/index197.js +14 -14
  16. package/dist/index198.js +1 -1
  17. package/dist/index199.js +1 -1
  18. package/dist/index200.js +3 -3
  19. package/dist/index201.js +6 -6
  20. package/dist/index202.js +29 -84
  21. package/dist/index203.js +109 -400
  22. package/dist/index204.js +36 -22
  23. package/dist/index205.js +26 -33
  24. package/dist/index206.js +31 -111
  25. package/dist/index207.js +9 -36
  26. package/dist/index208.js +19 -26
  27. package/dist/index209.js +10 -36
  28. package/dist/index210.js +10 -9
  29. package/dist/index211.js +50 -18
  30. package/dist/index212.js +43 -10
  31. package/dist/index213.js +4 -10
  32. package/dist/index214.js +36 -48
  33. package/dist/index215.js +21 -43
  34. package/dist/index216.js +87 -3
  35. package/dist/index217.js +403 -35
  36. package/dist/index218.js +22 -21
  37. package/dist/index219.js +155 -121
  38. package/dist/index220.js +19 -37
  39. package/dist/index221.js +20 -80
  40. package/dist/index222.js +15 -13
  41. package/dist/index223.js +198 -19
  42. package/dist/index224.js +68 -18
  43. package/dist/index225.js +34 -20
  44. package/dist/index226.js +39 -19
  45. package/dist/index231.js +21 -160
  46. package/dist/index232.js +13 -11
  47. package/dist/index233.js +13 -15
  48. package/dist/index234.js +790 -153
  49. package/dist/index235.js +677 -45
  50. package/dist/index236.js +175 -33
  51. package/dist/index237.js +19 -39
  52. package/dist/index238.js +20 -3632
  53. package/dist/index239.js +22 -55
  54. package/dist/index240.js +20 -77
  55. package/dist/index241.js +20 -52
  56. package/dist/index242.js +3 -215
  57. package/dist/index243.js +187 -10
  58. package/dist/index244.js +128 -52
  59. package/dist/index245.js +1214 -52
  60. package/dist/index246.js +121 -48
  61. package/dist/index247.js +20 -75
  62. package/dist/index248.js +21 -722
  63. package/dist/index249.js +22 -39
  64. package/dist/index250.js +32 -58
  65. package/dist/index251.js +29 -11
  66. package/dist/index252.js +20 -705
  67. package/dist/index253.js +20 -820
  68. package/dist/index254.js +2 -22
  69. package/dist/index255.js +2 -22
  70. package/dist/index256.js +80 -20
  71. package/dist/index257.js +20 -836
  72. package/dist/index258.js +19 -701
  73. package/dist/index259.js +3626 -170
  74. package/dist/index260.js +55 -22
  75. package/dist/index261.js +77 -20
  76. package/dist/index262.js +52 -20
  77. package/dist/index263.js +215 -3
  78. package/dist/index264.js +10 -187
  79. package/dist/index265.js +52 -128
  80. package/dist/index266.js +52 -1214
  81. package/dist/index267.js +54 -20
  82. package/dist/index268.js +75 -22
  83. package/dist/index269.js +722 -21
  84. package/dist/index270.js +39 -29
  85. package/dist/index271.js +64 -20
  86. package/dist/index272.js +11 -20
  87. package/dist/index273.js +705 -2
  88. package/dist/index274.js +820 -2
  89. package/dist/index279.js +3 -2
  90. package/dist/index280.js +25 -77
  91. package/dist/index281.js +49 -230
  92. package/dist/index282.js +78 -5
  93. package/dist/index283.js +25 -133
  94. package/dist/index284.js +21 -67
  95. package/dist/index285.js +21 -86
  96. package/dist/index286.js +16 -29
  97. package/dist/index287.js +16 -8
  98. package/dist/index288.js +22 -74
  99. package/dist/index289.js +78 -3
  100. package/dist/index290.js +22 -2
  101. package/dist/index291.js +926 -74
  102. package/dist/index292.js +21 -53
  103. package/dist/index293.js +19 -5
  104. package/dist/index294.js +19 -4
  105. package/dist/index295.js +61 -171
  106. package/dist/index296.js +18 -62
  107. package/dist/index297.js +18 -74
  108. package/dist/index298.js +22 -3
  109. package/dist/index299.js +21 -26
  110. package/dist/index300.js +58 -49
  111. package/dist/index301.js +2 -26
  112. package/dist/index302.js +234 -21
  113. package/dist/index303.js +5 -21
  114. package/dist/index304.js +133 -15
  115. package/dist/index305.js +68 -17
  116. package/dist/index306.js +85 -21
  117. package/dist/index307.js +26 -1515
  118. package/dist/index308.js +9 -386
  119. package/dist/index309.js +60 -2716
  120. package/dist/index310.js +3 -85
  121. package/dist/index311.js +2 -3770
  122. package/dist/index312.js +77 -54
  123. package/dist/index313.js +53 -14
  124. package/dist/index314.js +5 -83
  125. package/dist/index315.js +4 -201
  126. package/dist/index316.js +164 -231
  127. package/dist/index317.js +61 -77
  128. package/dist/index318.js +75 -22
  129. package/dist/index319.js +1492 -909
  130. package/dist/index320.js +386 -22
  131. package/dist/index321.js +2731 -20
  132. package/dist/index322.js +85 -19
  133. package/dist/index323.js +3759 -58
  134. package/dist/index324.js +60 -19
  135. package/dist/index325.js +15 -19
  136. package/dist/index326.js +83 -21
  137. package/dist/index327.js +202 -22
  138. package/dist/index328.js +246 -63
  139. package/dist/index329.js +8 -36
  140. package/dist/index330.js +12 -20
  141. package/dist/index331.js +53 -54
  142. package/dist/index332.js +10 -27
  143. package/dist/index333.js +13 -6
  144. package/dist/index334.js +54 -48
  145. package/dist/index335.js +52 -6
  146. package/dist/index336.js +30 -11
  147. package/dist/index337.js +2 -7
  148. package/dist/index338.js +4 -27
  149. package/dist/index339.js +2 -2
  150. package/dist/index340.js +22 -69
  151. package/dist/index341.js +38 -164
  152. package/dist/index342.js +2 -10
  153. package/dist/index343.js +10 -9
  154. package/dist/index344.js +18 -12
  155. package/dist/index345.js +16 -9
  156. package/dist/index346.js +9 -16
  157. package/dist/index347.js +10 -9
  158. package/dist/index348.js +2 -13
  159. package/dist/index349.js +9 -55
  160. package/dist/index350.js +9 -11
  161. package/dist/index351.js +13 -13
  162. package/dist/index352.js +32 -53
  163. package/dist/index353.js +19 -51
  164. package/dist/index354.js +19 -30
  165. package/dist/index355.js +64 -2
  166. package/dist/index356.js +37 -5
  167. package/dist/index357.js +21 -2
  168. package/dist/index358.js +56 -23
  169. package/dist/index359.js +27 -39
  170. package/dist/index360.js +7 -2
  171. package/dist/index361.js +51 -10
  172. package/dist/index362.js +6 -20
  173. package/dist/index363.js +12 -2
  174. package/dist/index364.js +6 -8
  175. package/dist/index365.js +28 -20
  176. package/dist/index366.js +2 -20
  177. package/dist/index367.js +67 -61
  178. package/dist/index368.js +166 -36
  179. package/dist/index369.js +17 -31
  180. package/dist/index370.js +30 -10
  181. package/dist/index371.js +10 -3
  182. package/dist/index372.js +3 -3
  183. package/dist/index373.js +4 -13
  184. package/dist/index374.js +13 -7
  185. package/dist/index375.js +7 -12
  186. package/dist/index376.js +11 -4
  187. package/dist/index377.js +5 -33
  188. package/dist/index378.js +33 -31
  189. package/dist/index379.js +29 -26
  190. package/dist/index380.js +26 -59
  191. package/dist/index381.js +59 -96
  192. package/dist/index384.js +97 -16
  193. package/dist/index385.js +1 -1
  194. package/dist/index390.js +1 -1
  195. package/dist/index391.js +2 -2
  196. package/package.json +1 -1
  197. package/dist/index189.js +0 -209
package/dist/index249.js CHANGED
@@ -1,41 +1,24 @@
1
- import { Node as a, mergeAttributes as n } from "./index238.js";
2
- var i = a.create({
3
- name: "paragraph",
4
- priority: 1e3,
5
- addOptions() {
6
- return {
7
- HTMLAttributes: {}
8
- };
9
- },
10
- group: "block",
11
- content: "inline*",
12
- parseHTML() {
13
- return [{ tag: "p" }];
14
- },
15
- renderHTML({ HTMLAttributes: r }) {
16
- return ["p", n(this.options.HTMLAttributes, r), 0];
17
- },
18
- parseMarkdown: (r, e) => {
19
- const t = r.tokens || [];
20
- return t.length === 1 && t[0].type === "image" ? e.parseChildren([t[0]]) : e.createNode(
21
- "paragraph",
22
- void 0,
23
- // no attributes for paragraph
24
- e.parseInline(t)
25
- );
26
- },
27
- renderMarkdown: (r, e) => !r || !Array.isArray(r.content) ? "" : e.renderChildren(r.content),
28
- addCommands() {
29
- return {
30
- setParagraph: () => ({ commands: r }) => r.setNode(this.name)
31
- };
32
- },
33
- addKeyboardShortcuts() {
34
- return {
35
- "Mod-Alt-0": () => this.editor.commands.setParagraph()
36
- };
37
- }
38
- });
1
+ import e from "./index282.js";
2
+ import { createElementBlock as r, openBlock as t, mergeProps as o, createElementVNode as n } from "vue";
3
+ var l = {
4
+ name: "TrashIcon",
5
+ extends: e
6
+ }, i = /* @__PURE__ */ n("path", {
7
+ "fill-rule": "evenodd",
8
+ "clip-rule": "evenodd",
9
+ d: "M3.44802 13.9955H10.552C10.8056 14.0129 11.06 13.9797 11.3006 13.898C11.5412 13.8163 11.7632 13.6877 11.9537 13.5196C12.1442 13.3515 12.2995 13.1473 12.4104 12.9188C12.5213 12.6903 12.5858 12.442 12.6 12.1884V4.36041H13.4C13.5591 4.36041 13.7117 4.29722 13.8243 4.18476C13.9368 4.07229 14 3.91976 14 3.76071C14 3.60166 13.9368 3.44912 13.8243 3.33666C13.7117 3.22419 13.5591 3.16101 13.4 3.16101H12.0537C12.0203 3.1557 11.9863 3.15299 11.952 3.15299C11.9178 3.15299 11.8838 3.1557 11.8503 3.16101H11.2285C11.2421 3.10893 11.2487 3.05513 11.248 3.00106V1.80966C11.2171 1.30262 10.9871 0.828306 10.608 0.48989C10.229 0.151475 9.73159 -0.0236625 9.22402 0.00257442H4.77602C4.27251 -0.0171866 3.78126 0.160868 3.40746 0.498617C3.03365 0.836366 2.807 1.30697 2.77602 1.80966V3.00106C2.77602 3.0556 2.78346 3.10936 2.79776 3.16101H0.6C0.521207 3.16101 0.443185 3.17652 0.37039 3.20666C0.297595 3.2368 0.231451 3.28097 0.175736 3.33666C0.120021 3.39235 0.0758251 3.45846 0.0456722 3.53121C0.0155194 3.60397 0 3.68196 0 3.76071C0 3.83946 0.0155194 3.91744 0.0456722 3.9902C0.0758251 4.06296 0.120021 4.12907 0.175736 4.18476C0.231451 4.24045 0.297595 4.28462 0.37039 4.31476C0.443185 4.3449 0.521207 4.36041 0.6 4.36041H1.40002V12.1884C1.41426 12.442 1.47871 12.6903 1.58965 12.9188C1.7006 13.1473 1.85582 13.3515 2.04633 13.5196C2.23683 13.6877 2.45882 13.8163 2.69944 13.898C2.94005 13.9797 3.1945 14.0129 3.44802 13.9955ZM2.60002 4.36041H11.304V12.1884C11.304 12.5163 10.952 12.7961 10.504 12.7961H3.40002C2.97602 12.7961 2.60002 12.5163 2.60002 12.1884V4.36041ZM3.95429 3.16101C3.96859 3.10936 3.97602 3.0556 3.97602 3.00106V1.80966C3.97602 1.48183 4.33602 1.20197 4.77602 1.20197H9.24802C9.66403 1.20197 10.048 1.48183 10.048 1.80966V3.00106C10.0473 3.05515 10.054 3.10896 10.0678 3.16101H3.95429ZM5.57571 10.997C5.41731 10.995 5.26597 10.9311 5.15395 10.8191C5.04193 10.7071 4.97808 10.5558 4.97601 10.3973V6.77517C4.97601 6.61612 5.0392 6.46359 5.15166 6.35112C5.26413 6.23866 5.41666 6.17548 5.57571 6.17548C5.73476 6.17548 5.8873 6.23866 5.99976 6.35112C6.11223 6.46359 6.17541 6.61612 6.17541 6.77517V10.3894C6.17647 10.4688 6.16174 10.5476 6.13208 10.6213C6.10241 10.695 6.05841 10.762 6.00261 10.8186C5.94682 10.8751 5.88035 10.92 5.80707 10.9506C5.73378 10.9813 5.65514 10.9971 5.57571 10.997ZM7.99968 10.8214C8.11215 10.9339 8.26468 10.997 8.42373 10.997C8.58351 10.9949 8.73604 10.93 8.84828 10.8163C8.96052 10.7025 9.02345 10.5491 9.02343 10.3894V6.77517C9.02343 6.61612 8.96025 6.46359 8.84778 6.35112C8.73532 6.23866 8.58278 6.17548 8.42373 6.17548C8.26468 6.17548 8.11215 6.23866 7.99968 6.35112C7.88722 6.46359 7.82404 6.61612 7.82404 6.77517V10.3973C7.82404 10.5564 7.88722 10.7089 7.99968 10.8214Z",
10
+ fill: "currentColor"
11
+ }, null, -1), p = [i];
12
+ function d(C, s, a, V, c, H) {
13
+ return t(), r("svg", o({
14
+ width: "14",
15
+ height: "14",
16
+ viewBox: "0 0 14 14",
17
+ fill: "none",
18
+ xmlns: "http://www.w3.org/2000/svg"
19
+ }, C.pti()), p, 16);
20
+ }
21
+ l.render = d;
39
22
  export {
40
- i as Paragraph
23
+ l as default
41
24
  };
package/dist/index250.js CHANGED
@@ -1,66 +1,40 @@
1
- import { Mark as r, markPasteRule as s, markInputRule as n, mergeAttributes as a } from "./index238.js";
2
- var i = /(?:^|\s)(~~(?!\s+~~)((?:[^~]+))~~(?!\s+~~))$/, d = /(?:^|\s)(~~(?!\s+~~)((?:[^~]+))~~(?!\s+~~))/g, o = r.create({
3
- name: "strike",
4
- addOptions() {
5
- return {
6
- HTMLAttributes: {}
7
- };
8
- },
9
- parseHTML() {
10
- return [
11
- {
12
- tag: "s"
13
- },
14
- {
15
- tag: "del"
16
- },
17
- {
18
- tag: "strike"
19
- },
20
- {
21
- style: "text-decoration",
22
- consuming: !1,
23
- getAttrs: (e) => e.includes("line-through") ? {} : !1
24
- }
25
- ];
26
- },
27
- renderHTML({ HTMLAttributes: e }) {
28
- return ["s", a(this.options.HTMLAttributes, e), 0];
1
+ import { DomHandler as d } from "./index168.js";
2
+ import { renderSlot as t, createBlock as a, createCommentVNode as l, openBlock as i, Teleport as u } from "vue";
3
+ var p = {
4
+ name: "Portal",
5
+ props: {
6
+ appendTo: {
7
+ type: [String, Object],
8
+ default: "body"
9
+ },
10
+ disabled: {
11
+ type: Boolean,
12
+ default: !1
13
+ }
29
14
  },
30
- markdownTokenName: "del",
31
- parseMarkdown: (e, t) => t.applyMark("strike", t.parseInline(e.tokens || [])),
32
- renderMarkdown: (e, t) => `~~${t.renderChildren(e)}~~`,
33
- addCommands() {
15
+ data: function() {
34
16
  return {
35
- setStrike: () => ({ commands: e }) => e.setMark(this.name),
36
- toggleStrike: () => ({ commands: e }) => e.toggleMark(this.name),
37
- unsetStrike: () => ({ commands: e }) => e.unsetMark(this.name)
17
+ mounted: !1
38
18
  };
39
19
  },
40
- addKeyboardShortcuts() {
41
- return {
42
- "Mod-Shift-s": () => this.editor.commands.toggleStrike()
43
- };
20
+ mounted: function() {
21
+ this.mounted = d.isClient();
44
22
  },
45
- addInputRules() {
46
- return [
47
- n({
48
- find: i,
49
- type: this.type
50
- })
51
- ];
52
- },
53
- addPasteRules() {
54
- return [
55
- s({
56
- find: d,
57
- type: this.type
58
- })
59
- ];
23
+ computed: {
24
+ inline: function() {
25
+ return this.disabled || this.appendTo === "self";
26
+ }
60
27
  }
61
- });
28
+ };
29
+ function s(e, f, n, m, o, r) {
30
+ return r.inline ? t(e.$slots, "default", {
31
+ key: 0
32
+ }) : o.mounted ? (i(), a(u, {
33
+ key: 1,
34
+ to: n.appendTo
35
+ }, [t(e.$slots, "default")], 8, ["to"])) : l("", !0);
36
+ }
37
+ p.render = s;
62
38
  export {
63
- o as Strike,
64
- i as inputRegex,
65
- d as pasteRegex
39
+ p as default
66
40
  };
package/dist/index251.js CHANGED
@@ -1,13 +1,31 @@
1
- import { Node as t } from "./index238.js";
2
- var o = t.create({
3
- name: "text",
4
- group: "inline",
5
- parseMarkdown: (e) => ({
6
- type: "text",
7
- text: e.text || ""
8
- }),
9
- renderMarkdown: (e) => e.text || ""
10
- });
1
+ import t from "./index282.js";
2
+ import { createElementBlock as o, openBlock as l, mergeProps as C, createElementVNode as r } from "vue";
3
+ var n = {
4
+ name: "SortAltIcon",
5
+ extends: t
6
+ }, i = /* @__PURE__ */ r("path", {
7
+ d: "M5.64515 3.61291C5.47353 3.61291 5.30192 3.54968 5.16644 3.4142L3.38708 1.63484L1.60773 3.4142C1.34579 3.67613 0.912244 3.67613 0.650309 3.4142C0.388374 3.15226 0.388374 2.71871 0.650309 2.45678L2.90837 0.198712C3.17031 -0.0632236 3.60386 -0.0632236 3.86579 0.198712L6.12386 2.45678C6.38579 2.71871 6.38579 3.15226 6.12386 3.4142C5.98837 3.54968 5.81676 3.61291 5.64515 3.61291Z",
8
+ fill: "currentColor"
9
+ }, null, -1), a = /* @__PURE__ */ r("path", {
10
+ d: "M3.38714 14C3.01681 14 2.70972 13.6929 2.70972 13.3226V0.677419C2.70972 0.307097 3.01681 0 3.38714 0C3.75746 0 4.06456 0.307097 4.06456 0.677419V13.3226C4.06456 13.6929 3.75746 14 3.38714 14Z",
11
+ fill: "currentColor"
12
+ }, null, -1), p = /* @__PURE__ */ r("path", {
13
+ d: "M10.6129 14C10.4413 14 10.2697 13.9368 10.1342 13.8013L7.87611 11.5432C7.61418 11.2813 7.61418 10.8477 7.87611 10.5858C8.13805 10.3239 8.5716 10.3239 8.83353 10.5858L10.6129 12.3652L12.3922 10.5858C12.6542 10.3239 13.0877 10.3239 13.3497 10.5858C13.6116 10.8477 13.6116 11.2813 13.3497 11.5432L11.0916 13.8013C10.9561 13.9368 10.7845 14 10.6129 14Z",
14
+ fill: "currentColor"
15
+ }, null, -1), d = /* @__PURE__ */ r("path", {
16
+ d: "M10.6129 14C10.2426 14 9.93552 13.6929 9.93552 13.3226V0.677419C9.93552 0.307097 10.2426 0 10.6129 0C10.9833 0 11.2904 0.307097 11.2904 0.677419V13.3226C11.2904 13.6929 10.9832 14 10.6129 14Z",
17
+ fill: "currentColor"
18
+ }, null, -1), s = [i, a, p, d];
19
+ function c(e, h, u, _, f, m) {
20
+ return l(), o("svg", C({
21
+ width: "14",
22
+ height: "14",
23
+ viewBox: "0 0 14 14",
24
+ fill: "none",
25
+ xmlns: "http://www.w3.org/2000/svg"
26
+ }, e.pti()), s, 16);
27
+ }
28
+ n.render = c;
11
29
  export {
12
- o as Text
30
+ n as default
13
31
  };