@quoreadmin/ui 1.7.3 → 1.7.4

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 (202) hide show
  1. package/dist/index140.js +361 -307
  2. package/dist/index142.js +1 -1
  3. package/dist/index171.js +14 -14
  4. package/dist/index172.js +3 -3
  5. package/dist/index175.js +4 -4
  6. package/dist/index182.js +10 -10
  7. package/dist/index184.js +9 -9
  8. package/dist/index186.js +36 -1190
  9. package/dist/{index189.js → index187.js} +17 -17
  10. package/dist/index188.js +1190 -36
  11. package/dist/index190.js +27 -27
  12. package/dist/index191.js +2 -2
  13. package/dist/index192.js +2 -2
  14. package/dist/index193.js +1 -1
  15. package/dist/index195.js +2 -2
  16. package/dist/index197.js +14 -14
  17. package/dist/index198.js +1 -1
  18. package/dist/index199.js +1 -1
  19. package/dist/index200.js +3 -3
  20. package/dist/index201.js +6 -6
  21. package/dist/index202.js +29 -84
  22. package/dist/index203.js +109 -400
  23. package/dist/index204.js +36 -22
  24. package/dist/index205.js +26 -33
  25. package/dist/index206.js +31 -111
  26. package/dist/index207.js +9 -36
  27. package/dist/index208.js +19 -26
  28. package/dist/index209.js +10 -36
  29. package/dist/index210.js +10 -9
  30. package/dist/index211.js +50 -18
  31. package/dist/index212.js +43 -10
  32. package/dist/index213.js +4 -10
  33. package/dist/index214.js +36 -48
  34. package/dist/index215.js +21 -43
  35. package/dist/index216.js +87 -3
  36. package/dist/index217.js +403 -35
  37. package/dist/index218.js +22 -21
  38. package/dist/index219.js +126 -21
  39. package/dist/index220.js +37 -21
  40. package/dist/index221.js +80 -20
  41. package/dist/index222.js +20 -836
  42. package/dist/index223.js +19 -701
  43. package/dist/index224.js +19 -175
  44. package/dist/index225.js +1 -1
  45. package/dist/index226.js +11 -11
  46. package/dist/index227.js +160 -21
  47. package/dist/index228.js +228 -20
  48. package/dist/index229.js +36 -19
  49. package/dist/index230.js +10 -20
  50. package/dist/index231.js +161 -3
  51. package/dist/index232.js +19 -186
  52. package/dist/index233.js +21 -132
  53. package/dist/index234.js +167 -129
  54. package/dist/index235.js +46 -1199
  55. package/dist/index236.js +31 -124
  56. package/dist/index237.js +39 -19
  57. package/dist/index238.js +3632 -22
  58. package/dist/index239.js +55 -20
  59. package/dist/index240.js +77 -22
  60. package/dist/index241.js +46 -32
  61. package/dist/index242.js +215 -29
  62. package/dist/index243.js +10 -20
  63. package/dist/index244.js +57 -20
  64. package/dist/index245.js +61 -2
  65. package/dist/index246.js +54 -2
  66. package/dist/index247.js +74 -160
  67. package/dist/index248.js +707 -212
  68. package/dist/index249.js +39 -37
  69. package/dist/index250.js +64 -10
  70. package/dist/index251.js +11 -22
  71. package/dist/index252.js +689 -183
  72. package/dist/index253.js +813 -63
  73. package/dist/index254.js +22 -34
  74. package/dist/index255.js +20 -38
  75. package/dist/index256.js +20 -80
  76. package/dist/index257.js +836 -20
  77. package/dist/index258.js +701 -19
  78. package/dist/index259.js +170 -3626
  79. package/dist/index260.js +22 -55
  80. package/dist/index261.js +20 -77
  81. package/dist/index262.js +20 -52
  82. package/dist/index263.js +3 -215
  83. package/dist/index264.js +187 -10
  84. package/dist/index265.js +128 -52
  85. package/dist/index266.js +1214 -52
  86. package/dist/index267.js +20 -54
  87. package/dist/index268.js +22 -75
  88. package/dist/index269.js +21 -722
  89. package/dist/index270.js +29 -39
  90. package/dist/index271.js +20 -64
  91. package/dist/index272.js +20 -11
  92. package/dist/index273.js +2 -705
  93. package/dist/index274.js +2 -820
  94. package/dist/index279.js +2 -79
  95. package/dist/index280.js +71 -71
  96. package/dist/index281.js +3 -22
  97. package/dist/index282.js +24 -932
  98. package/dist/index283.js +53 -21
  99. package/dist/index284.js +18 -12
  100. package/dist/index285.js +13 -11
  101. package/dist/index286.js +21 -68
  102. package/dist/index287.js +14 -17
  103. package/dist/index288.js +14 -16
  104. package/dist/index289.js +21 -52
  105. package/dist/index290.js +1518 -22
  106. package/dist/index291.js +386 -22
  107. package/dist/index292.js +2731 -63
  108. package/dist/index293.js +86 -2
  109. package/dist/index294.js +3770 -26
  110. package/dist/index295.js +59 -21
  111. package/dist/index296.js +15 -22
  112. package/dist/index297.js +84 -16
  113. package/dist/index298.js +201 -16
  114. package/dist/index299.js +246 -23
  115. package/dist/index300.js +235 -3
  116. package/dist/index301.js +4 -25
  117. package/dist/index302.js +123 -1507
  118. package/dist/index303.js +61 -379
  119. package/dist/index304.js +81 -2725
  120. package/dist/index305.js +26 -83
  121. package/dist/index306.js +9 -3770
  122. package/dist/index307.js +72 -57
  123. package/dist/index308.js +4 -15
  124. package/dist/index309.js +2 -84
  125. package/dist/index310.js +74 -193
  126. package/dist/index311.js +54 -246
  127. package/dist/index312.js +4 -233
  128. package/dist/index313.js +4 -5
  129. package/dist/index314.js +166 -121
  130. package/dist/index315.js +58 -63
  131. package/dist/index316.js +73 -85
  132. package/dist/index317.js +75 -25
  133. package/dist/index318.js +21 -8
  134. package/dist/index319.js +926 -66
  135. package/dist/index320.js +21 -3
  136. package/dist/index321.js +20 -2
  137. package/dist/index322.js +19 -82
  138. package/dist/index323.js +66 -51
  139. package/dist/index324.js +19 -6
  140. package/dist/index325.js +19 -5
  141. package/dist/index326.js +21 -178
  142. package/dist/index327.js +21 -62
  143. package/dist/index328.js +62 -74
  144. package/dist/index330.js +8 -19
  145. package/dist/index331.js +12 -19
  146. package/dist/index332.js +51 -60
  147. package/dist/index333.js +12 -37
  148. package/dist/index334.js +13 -8
  149. package/dist/index335.js +57 -12
  150. package/dist/index336.js +48 -51
  151. package/dist/index337.js +28 -9
  152. package/dist/index338.js +2 -14
  153. package/dist/index339.js +5 -58
  154. package/dist/index340.js +2 -52
  155. package/dist/index341.js +22 -30
  156. package/dist/index342.js +41 -2
  157. package/dist/index343.js +2 -5
  158. package/dist/index344.js +11 -2
  159. package/dist/index345.js +19 -22
  160. package/dist/index346.js +14 -38
  161. package/dist/index347.js +10 -2
  162. package/dist/index348.js +9 -10
  163. package/dist/index349.js +2 -20
  164. package/dist/index350.js +8 -16
  165. package/dist/index351.js +10 -10
  166. package/dist/index352.js +13 -9
  167. package/dist/index353.js +21 -2
  168. package/dist/index354.js +56 -9
  169. package/dist/index355.js +28 -9
  170. package/dist/index356.js +7 -14
  171. package/dist/index357.js +49 -18
  172. package/dist/index358.js +6 -56
  173. package/dist/index359.js +10 -27
  174. package/dist/index360.js +7 -7
  175. package/dist/index361.js +27 -51
  176. package/dist/index362.js +2 -6
  177. package/dist/index363.js +69 -11
  178. package/dist/index364.js +166 -6
  179. package/dist/index365.js +20 -28
  180. package/dist/index366.js +20 -2
  181. package/dist/index367.js +61 -67
  182. package/dist/index368.js +36 -166
  183. package/dist/index369.js +100 -16
  184. package/dist/index370.js +91 -98
  185. package/dist/index371.js +95 -98
  186. package/dist/index372.js +30 -90
  187. package/dist/index373.js +10 -30
  188. package/dist/index374.js +3 -10
  189. package/dist/index375.js +3 -3
  190. package/dist/index376.js +13 -4
  191. package/dist/index377.js +7 -13
  192. package/dist/index378.js +12 -7
  193. package/dist/index379.js +4 -11
  194. package/dist/index380.js +33 -5
  195. package/dist/index381.js +31 -33
  196. package/dist/index382.js +26 -29
  197. package/dist/index383.js +59 -26
  198. package/dist/index384.js +16 -60
  199. package/dist/index385.js +1 -1
  200. package/dist/index390.js +1 -1
  201. package/dist/index391.js +2 -2
  202. package/package.json +1 -1
package/dist/index249.js CHANGED
@@ -1,39 +1,41 @@
1
- function g(e) {
2
- return e instanceof Date || Object.prototype.toString.call(e) === "[object Date]";
3
- }
4
- function D(e) {
5
- return g(e) ? new Date(e.getTime()) : e == null ? /* @__PURE__ */ new Date(NaN) : new Date(e);
6
- }
7
- function d(e) {
8
- return g(e) && !isNaN(e.getTime());
9
- }
10
- function k(e) {
11
- var r = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : 0;
12
- if (!(r >= 0 && r <= 6))
13
- throw new RangeError("weekStartsOn must be between 0 and 6");
14
- var t = D(e), i = t.getDay(), n = (i + 7 - r) % 7;
15
- return t.setDate(t.getDate() - n), t.setHours(0, 0, 0, 0), t;
16
- }
17
- function W(e) {
18
- var r = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, t = r.firstDayOfWeek, i = t === void 0 ? 0 : t, n = r.firstWeekContainsDate, f = n === void 0 ? 1 : n;
19
- if (!(f >= 1 && f <= 7))
20
- throw new RangeError("firstWeekContainsDate must be between 1 and 7");
21
- for (var s = D(e), u = s.getFullYear(), a = /* @__PURE__ */ new Date(0), o = u + 1; o >= u - 1 && (a.setFullYear(o, 0, f), a.setHours(0, 0, 0, 0), a = k(a, i), !(s.getTime() >= a.getTime())); o--)
22
- ;
23
- return a;
24
- }
25
- function m(e) {
26
- var r = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, t = r.firstDayOfWeek, i = t === void 0 ? 0 : t, n = r.firstWeekContainsDate, f = n === void 0 ? 1 : n, s = D(e), u = k(s, i), a = W(s, {
27
- firstDayOfWeek: i,
28
- firstWeekContainsDate: f
29
- }), o = u.getTime() - a.getTime();
30
- return Math.round(o / (168 * 3600 * 1e3)) + 1;
31
- }
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
+ });
32
39
  export {
33
- m as getWeek,
34
- g as isDate,
35
- d as isValidDate,
36
- k as startOfWeek,
37
- W as startOfWeekYear,
38
- D as toDate
40
+ i as Paragraph
39
41
  };
package/dist/index250.js CHANGED
@@ -1,12 +1,66 @@
1
- var e = {
2
- months: ["January", "February", "March", "April", "May", "June", "July", "August", "September", "October", "November", "December"],
3
- monthsShort: ["Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Aug", "Sep", "Oct", "Nov", "Dec"],
4
- weekdays: ["Sunday", "Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday"],
5
- weekdaysShort: ["Sun", "Mon", "Tue", "Wed", "Thu", "Fri", "Sat"],
6
- weekdaysMin: ["Su", "Mo", "Tu", "We", "Th", "Fr", "Sa"],
7
- firstDayOfWeek: 0,
8
- firstWeekContainsDate: 1
9
- };
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];
29
+ },
30
+ markdownTokenName: "del",
31
+ parseMarkdown: (e, t) => t.applyMark("strike", t.parseInline(e.tokens || [])),
32
+ renderMarkdown: (e, t) => `~~${t.renderChildren(e)}~~`,
33
+ addCommands() {
34
+ 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)
38
+ };
39
+ },
40
+ addKeyboardShortcuts() {
41
+ return {
42
+ "Mod-Shift-s": () => this.editor.commands.toggleStrike()
43
+ };
44
+ },
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
+ ];
60
+ }
61
+ });
10
62
  export {
11
- e as default
63
+ o as Strike,
64
+ i as inputRegex,
65
+ d as pasteRegex
12
66
  };
package/dist/index251.js CHANGED
@@ -1,24 +1,13 @@
1
- import e from "./index279.js";
2
- import { createElementBlock as r, openBlock as o, mergeProps as t, createElementVNode as l } from "vue";
3
- var n = {
4
- name: "UploadIcon",
5
- extends: e
6
- }, i = /* @__PURE__ */ l("path", {
7
- "fill-rule": "evenodd",
8
- "clip-rule": "evenodd",
9
- d: "M6.58942 9.82197C6.70165 9.93405 6.85328 9.99793 7.012 10C7.17071 9.99793 7.32234 9.93405 7.43458 9.82197C7.54681 9.7099 7.61079 9.55849 7.61286 9.4V2.04798L9.79204 4.22402C9.84752 4.28011 9.91365 4.32457 9.98657 4.35479C10.0595 4.38502 10.1377 4.40039 10.2167 4.40002C10.2956 4.40039 10.3738 4.38502 10.4467 4.35479C10.5197 4.32457 10.5858 4.28011 10.6413 4.22402C10.7538 4.11152 10.817 3.95902 10.817 3.80002C10.817 3.64102 10.7538 3.48852 10.6413 3.37602L7.45127 0.190618C7.44656 0.185584 7.44176 0.180622 7.43687 0.175736C7.32419 0.063214 7.17136 0 7.012 0C6.85264 0 6.69981 0.063214 6.58712 0.175736C6.58181 0.181045 6.5766 0.186443 6.5715 0.191927L3.38282 3.37602C3.27669 3.48976 3.2189 3.6402 3.22165 3.79564C3.2244 3.95108 3.28746 4.09939 3.39755 4.20932C3.50764 4.31925 3.65616 4.38222 3.81182 4.38496C3.96749 4.3877 4.11814 4.33001 4.23204 4.22402L6.41113 2.04807V9.4C6.41321 9.55849 6.47718 9.7099 6.58942 9.82197ZM11.9952 14H2.02883C1.751 13.9887 1.47813 13.9228 1.22584 13.8061C0.973545 13.6894 0.746779 13.5241 0.558517 13.3197C0.370254 13.1154 0.22419 12.876 0.128681 12.6152C0.0331723 12.3545 -0.00990605 12.0775 0.0019109 11.8V9.40005C0.0019109 9.24092 0.065216 9.08831 0.1779 8.97579C0.290584 8.86326 0.443416 8.80005 0.602775 8.80005C0.762134 8.80005 0.914966 8.86326 1.02765 8.97579C1.14033 9.08831 1.20364 9.24092 1.20364 9.40005V11.8C1.18295 12.0376 1.25463 12.274 1.40379 12.4602C1.55296 12.6463 1.76817 12.7681 2.00479 12.8H11.9952C12.2318 12.7681 12.447 12.6463 12.5962 12.4602C12.7453 12.274 12.817 12.0376 12.7963 11.8V9.40005C12.7963 9.24092 12.8596 9.08831 12.9723 8.97579C13.085 8.86326 13.2378 8.80005 13.3972 8.80005C13.5565 8.80005 13.7094 8.86326 13.8221 8.97579C13.9347 9.08831 13.998 9.24092 13.998 9.40005V11.8C14.022 12.3563 13.8251 12.8996 13.45 13.3116C13.0749 13.7236 12.552 13.971 11.9952 14Z",
10
- fill: "currentColor"
11
- }, null, -1), p = [i];
12
- function d(C, a, s, c, m, h) {
13
- return o(), r("svg", t({
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
- n.render = d;
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
+ });
22
11
  export {
23
- n as default
12
+ o as Text
24
13
  };