@quoreadmin/ui 1.10.1 → 1.10.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 (201) hide show
  1. package/dist/index.css +1 -1
  2. package/dist/index131.js +115 -101
  3. package/dist/index183.js +3 -3
  4. package/dist/index186.js +4 -4
  5. package/dist/index193.js +10 -10
  6. package/dist/index194.js +2 -2
  7. package/dist/index195.js +10 -10
  8. package/dist/index198.js +17 -17
  9. package/dist/index201.js +28 -28
  10. package/dist/index202.js +2 -2
  11. package/dist/index203.js +2 -2
  12. package/dist/index204.js +1 -1
  13. package/dist/index206.js +2 -2
  14. package/dist/index208.js +14 -14
  15. package/dist/index209.js +1 -1
  16. package/dist/index210.js +1 -1
  17. package/dist/index211.js +3 -3
  18. package/dist/index212.js +6 -6
  19. package/dist/index216.js +2 -2
  20. package/dist/index217.js +1 -1
  21. package/dist/index219.js +4 -4
  22. package/dist/index221.js +1 -1
  23. package/dist/index222.js +1 -1
  24. package/dist/index223.js +1 -1
  25. package/dist/index224.js +4 -4
  26. package/dist/index226.js +1 -1
  27. package/dist/index227.js +84 -157
  28. package/dist/index228.js +384 -205
  29. package/dist/index229.js +22 -37
  30. package/dist/index230.js +161 -10
  31. package/dist/index231.js +19 -160
  32. package/dist/index232.js +10 -10
  33. package/dist/index233.js +15 -13
  34. package/dist/index234.js +198 -21
  35. package/dist/index235.js +51 -180
  36. package/dist/index236.js +33 -69
  37. package/dist/index237.js +36 -84
  38. package/dist/index238.js +106 -386
  39. package/dist/index239.js +36 -32
  40. package/dist/index240.js +80 -40
  41. package/dist/index241.js +20 -22
  42. package/dist/index242.js +12 -14
  43. package/dist/index243.js +12 -14
  44. package/dist/index244.js +11 -11
  45. package/dist/index245.js +158 -833
  46. package/dist/index246.js +209 -683
  47. package/dist/index247.js +37 -176
  48. package/dist/index248.js +10 -20
  49. package/dist/index249.js +3636 -20
  50. package/dist/index250.js +55 -22
  51. package/dist/index251.js +77 -20
  52. package/dist/index252.js +52 -20
  53. package/dist/index253.js +215 -3
  54. package/dist/index254.js +10 -187
  55. package/dist/index255.js +52 -128
  56. package/dist/index256.js +52 -1214
  57. package/dist/index257.js +48 -121
  58. package/dist/index258.js +75 -20
  59. package/dist/index259.js +725 -21
  60. package/dist/index260.js +42 -22
  61. package/dist/index261.js +58 -32
  62. package/dist/index262.js +11 -29
  63. package/dist/index263.js +705 -20
  64. package/dist/index264.js +820 -20
  65. package/dist/index265.js +22 -2
  66. package/dist/index266.js +22 -2
  67. package/dist/index267.js +20 -3636
  68. package/dist/index268.js +826 -45
  69. package/dist/index269.js +693 -68
  70. package/dist/index270.js +174 -50
  71. package/dist/index271.js +22 -215
  72. package/dist/index272.js +20 -10
  73. package/dist/index273.js +20 -57
  74. package/dist/index274.js +3 -61
  75. package/dist/index275.js +182 -49
  76. package/dist/index276.js +128 -70
  77. package/dist/index277.js +1193 -696
  78. package/dist/index278.js +20 -42
  79. package/dist/index279.js +22 -64
  80. package/dist/index280.js +22 -11
  81. package/dist/index281.js +29 -705
  82. package/dist/index282.js +20 -820
  83. package/dist/index283.js +20 -80
  84. package/dist/index284.js +2 -20
  85. package/dist/index285.js +2 -20
  86. package/dist/index286.js +249 -50
  87. package/dist/index287.js +8 -79
  88. package/dist/index288.js +138 -26
  89. package/dist/index289.js +83 -22
  90. package/dist/index290.js +3 -22
  91. package/dist/index291.js +27 -16
  92. package/dist/index292.js +51 -14
  93. package/dist/index293.js +58 -232
  94. package/dist/index294.js +26 -8
  95. package/dist/index295.js +22 -138
  96. package/dist/index296.js +22 -83
  97. package/dist/index297.js +15 -22
  98. package/dist/index298.js +17 -3
  99. package/dist/index299.js +23 -27
  100. package/dist/index300.js +2 -262
  101. package/dist/index301.js +1533 -5
  102. package/dist/index302.js +371 -125
  103. package/dist/index303.js +2728 -70
  104. package/dist/index304.js +84 -85
  105. package/dist/index305.js +3789 -26
  106. package/dist/index306.js +58 -14
  107. package/dist/index307.js +15 -75
  108. package/dist/index308.js +83 -3
  109. package/dist/index309.js +202 -2
  110. package/dist/index310.js +237 -74
  111. package/dist/index311.js +77 -51
  112. package/dist/index312.js +21 -5
  113. package/dist/index313.js +934 -4
  114. package/dist/index314.js +21 -178
  115. package/dist/index315.js +19 -62
  116. package/dist/index316.js +20 -75
  117. package/dist/index317.js +69 -1534
  118. package/dist/index318.js +19 -386
  119. package/dist/index319.js +19 -2731
  120. package/dist/index320.js +21 -85
  121. package/dist/index321.js +22 -3792
  122. package/dist/index322.js +63 -60
  123. package/dist/index323.js +256 -73
  124. package/dist/index324.js +5 -21
  125. package/dist/index325.js +130 -925
  126. package/dist/index326.js +72 -21
  127. package/dist/index327.js +85 -18
  128. package/dist/index328.js +28 -19
  129. package/dist/index329.js +15 -68
  130. package/dist/index330.js +75 -19
  131. package/dist/index331.js +4 -19
  132. package/dist/index332.js +2 -22
  133. package/dist/index333.js +82 -21
  134. package/dist/index334.js +53 -63
  135. package/dist/index335.js +6 -2
  136. package/dist/index336.js +5 -15
  137. package/dist/index337.js +166 -71
  138. package/dist/index338.js +57 -196
  139. package/dist/index339.js +75 -246
  140. package/dist/index340.js +8 -36
  141. package/dist/index341.js +12 -8
  142. package/dist/index342.js +54 -12
  143. package/dist/index343.js +9 -52
  144. package/dist/index344.js +13 -11
  145. package/dist/index345.js +53 -9
  146. package/dist/index346.js +49 -55
  147. package/dist/index347.js +28 -49
  148. package/dist/index348.js +2 -31
  149. package/dist/index349.js +5 -2
  150. package/dist/index350.js +2 -5
  151. package/dist/index351.js +23 -2
  152. package/dist/index352.js +39 -21
  153. package/dist/index353.js +2 -41
  154. package/dist/index354.js +11 -2
  155. package/dist/index355.js +20 -11
  156. package/dist/index356.js +10 -20
  157. package/dist/index357.js +9 -9
  158. package/dist/index358.js +16 -9
  159. package/dist/index359.js +2 -17
  160. package/dist/index360.js +9 -2
  161. package/dist/index361.js +10 -9
  162. package/dist/index362.js +14 -10
  163. package/dist/index363.js +37 -14
  164. package/dist/index364.js +19 -18
  165. package/dist/index365.js +19 -56
  166. package/dist/index366.js +63 -28
  167. package/dist/index367.js +37 -7
  168. package/dist/index368.js +16 -49
  169. package/dist/index369.js +57 -7
  170. package/dist/index370.js +27 -10
  171. package/dist/index371.js +7 -7
  172. package/dist/index372.js +51 -27
  173. package/dist/index373.js +7 -2
  174. package/dist/index374.js +11 -69
  175. package/dist/index375.js +6 -166
  176. package/dist/index376.js +28 -20
  177. package/dist/index377.js +2 -20
  178. package/dist/index378.js +67 -61
  179. package/dist/index379.js +166 -36
  180. package/dist/index38.js +2 -2
  181. package/dist/index380.js +98 -28
  182. package/dist/index381.js +90 -10
  183. package/dist/index382.js +98 -4
  184. package/dist/index383.js +17 -4
  185. package/dist/index384.js +30 -12
  186. package/dist/index385.js +11 -7
  187. package/dist/index386.js +3 -11
  188. package/dist/index387.js +3 -4
  189. package/dist/index388.js +13 -33
  190. package/dist/index389.js +7 -31
  191. package/dist/index390.js +12 -28
  192. package/dist/index391.js +5 -61
  193. package/dist/index392.js +33 -17
  194. package/dist/index393.js +29 -99
  195. package/dist/index394.js +28 -91
  196. package/dist/index395.js +59 -96
  197. package/dist/index396.js +1 -1
  198. package/dist/index401.js +1 -1
  199. package/dist/index402.js +2 -2
  200. package/dist/src/components/page-layout/page-layout.vue.d.ts +6 -0
  201. package/package.json +1 -1
package/dist/index260.js CHANGED
@@ -1,24 +1,44 @@
1
- import e from "./index287.js";
2
- import { openBlock as r, createElementBlock 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 r(), t("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;
1
+ import { Node as o, mergeAttributes as i } from "./index249.js";
2
+ var a = " ", d = " ", p = o.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", i(this.options.HTMLAttributes, r), 0];
17
+ },
18
+ parseMarkdown: (r, e) => {
19
+ const t = r.tokens || [];
20
+ if (t.length === 1 && t[0].type === "image")
21
+ return e.parseChildren([t[0]]);
22
+ const n = e.parseInline(t);
23
+ return n.length === 1 && n[0].type === "text" && (n[0].text === a || n[0].text === d) ? e.createNode("paragraph", void 0, []) : e.createNode("paragraph", void 0, n);
24
+ },
25
+ renderMarkdown: (r, e) => {
26
+ if (!r)
27
+ return "";
28
+ const t = Array.isArray(r.content) ? r.content : [];
29
+ return t.length === 0 ? a : e.renderChildren(t);
30
+ },
31
+ addCommands() {
32
+ return {
33
+ setParagraph: () => ({ commands: r }) => r.setNode(this.name)
34
+ };
35
+ },
36
+ addKeyboardShortcuts() {
37
+ return {
38
+ "Mod-Alt-0": () => this.editor.commands.setParagraph()
39
+ };
40
+ }
41
+ });
22
42
  export {
23
- l as default
43
+ p as Paragraph
24
44
  };
package/dist/index261.js CHANGED
@@ -1,40 +1,66 @@
1
- import { DomHandler as d } from "./index180.js";
2
- import { renderSlot as t, openBlock as a, createBlock as l, Teleport as i, createCommentVNode 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
- }
1
+ import { Mark as r, markPasteRule as s, markInputRule as n, mergeAttributes as a } from "./index249.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];
14
29
  },
15
- data: function() {
30
+ markdownTokenName: "del",
31
+ parseMarkdown: (e, t) => t.applyMark("strike", t.parseInline(e.tokens || [])),
32
+ renderMarkdown: (e, t) => `~~${t.renderChildren(e)}~~`,
33
+ addCommands() {
16
34
  return {
17
- mounted: !1
35
+ setStrike: () => ({ commands: e }) => e.setMark(this.name),
36
+ toggleStrike: () => ({ commands: e }) => e.toggleMark(this.name),
37
+ unsetStrike: () => ({ commands: e }) => e.unsetMark(this.name)
18
38
  };
19
39
  },
20
- mounted: function() {
21
- this.mounted = d.isClient();
40
+ addKeyboardShortcuts() {
41
+ return {
42
+ "Mod-Shift-s": () => this.editor.commands.toggleStrike()
43
+ };
22
44
  },
23
- computed: {
24
- inline: function() {
25
- return this.disabled || this.appendTo === "self";
26
- }
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
+ ];
27
60
  }
28
- };
29
- function s(e, f, n, m, o, r) {
30
- return r.inline ? t(e.$slots, "default", {
31
- key: 0
32
- }) : o.mounted ? (a(), l(i, {
33
- key: 1,
34
- to: n.appendTo
35
- }, [t(e.$slots, "default")], 8, ["to"])) : u("", !0);
36
- }
37
- p.render = s;
61
+ });
38
62
  export {
39
- p as default
63
+ o as Strike,
64
+ i as inputRegex,
65
+ d as pasteRegex
40
66
  };
package/dist/index262.js CHANGED
@@ -1,31 +1,13 @@
1
- import t from "./index287.js";
2
- import { openBlock as o, createElementBlock 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 o(), l("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;
1
+ import { Node as t } from "./index249.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
+ });
29
11
  export {
30
- n as default
12
+ o as Text
31
13
  };