@quoreadmin/ui 1.10.13 → 1.10.14

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 (160) hide show
  1. package/dist/index147.js +2 -2
  2. package/dist/index149.js +1 -1
  3. package/dist/index151.js +4 -4
  4. package/dist/index165.js +1 -1
  5. package/dist/index169.js +7 -7
  6. package/dist/index193.js +8 -8
  7. package/dist/index194.js +3 -3
  8. package/dist/index195.js +8 -8
  9. package/dist/index197.js +36 -1228
  10. package/dist/index198.js +46 -0
  11. package/dist/index199.js +1106 -5816
  12. package/dist/index201.js +5922 -19
  13. package/dist/index202.js +199 -10
  14. package/dist/index203.js +33 -76
  15. package/dist/index204.js +14 -249
  16. package/dist/index205.js +72 -13678
  17. package/dist/index206.js +253 -27
  18. package/dist/index207.js +13669 -48
  19. package/dist/index208.js +25 -236
  20. package/dist/index209.js +45 -293
  21. package/dist/index210.js +179 -236
  22. package/dist/index211.js +311 -36
  23. package/dist/index212.js +294 -43
  24. package/dist/index234.js +149 -3624
  25. package/dist/index235.js +20 -55
  26. package/dist/index236.js +20 -77
  27. package/dist/index237.js +22 -52
  28. package/dist/index238.js +188 -204
  29. package/dist/index239.js +70 -10
  30. package/dist/index240.js +31 -54
  31. package/dist/index241.js +36 -57
  32. package/dist/index242.js +121 -48
  33. package/dist/index243.js +32 -69
  34. package/dist/index244.js +79 -725
  35. package/dist/index245.js +20 -42
  36. package/dist/index246.js +20 -64
  37. package/dist/index247.js +20 -11
  38. package/dist/index248.js +20 -705
  39. package/dist/index249.js +22 -820
  40. package/dist/index250.js +21 -160
  41. package/dist/index251.js +9 -9
  42. package/dist/index252.js +836 -20
  43. package/dist/index253.js +701 -21
  44. package/dist/index254.js +168 -191
  45. package/dist/index255.js +21 -69
  46. package/dist/index256.js +20 -34
  47. package/dist/index257.js +19 -39
  48. package/dist/index258.js +3 -22
  49. package/dist/index259.js +186 -21
  50. package/dist/index260.js +132 -19
  51. package/dist/index261.js +1131 -744
  52. package/dist/index262.js +19 -701
  53. package/dist/index263.js +22 -176
  54. package/dist/index264.js +15 -13
  55. package/dist/index265.js +22 -13
  56. package/dist/index266.js +13 -15
  57. package/dist/index267.js +12 -12
  58. package/dist/index268.js +2 -20
  59. package/dist/index269.js +1 -2
  60. package/dist/index270.js +3615 -166
  61. package/dist/index271.js +50 -128
  62. package/dist/index272.js +68 -1214
  63. package/dist/index273.js +47 -122
  64. package/dist/index274.js +215 -20
  65. package/dist/index275.js +10 -22
  66. package/dist/index276.js +57 -22
  67. package/dist/index277.js +55 -32
  68. package/dist/index278.js +54 -29
  69. package/dist/index279.js +75 -20
  70. package/dist/index280.js +725 -19
  71. package/dist/index281.js +42 -2
  72. package/dist/index282.js +64 -2
  73. package/dist/index283.js +10 -79
  74. package/dist/index284.js +705 -20
  75. package/dist/index285.js +820 -20
  76. package/dist/index292.js +54 -1534
  77. package/dist/index293.js +67 -374
  78. package/dist/index294.js +26 -2731
  79. package/dist/index295.js +21 -85
  80. package/dist/index296.js +22 -3792
  81. package/dist/index297.js +16 -60
  82. package/dist/index298.js +17 -15
  83. package/dist/index299.js +23 -84
  84. package/dist/index300.js +2 -202
  85. package/dist/index301.js +1508 -220
  86. package/dist/index302.js +386 -54
  87. package/dist/index303.js +2724 -72
  88. package/dist/index304.js +85 -25
  89. package/dist/index305.js +3792 -22
  90. package/dist/index306.js +59 -21
  91. package/dist/index307.js +77 -14
  92. package/dist/index308.js +22 -17
  93. package/dist/index309.js +934 -22
  94. package/dist/index310.js +21 -261
  95. package/dist/index311.js +19 -5
  96. package/dist/index312.js +19 -139
  97. package/dist/index313.js +67 -71
  98. package/dist/index314.js +17 -85
  99. package/dist/index315.js +19 -29
  100. package/dist/index316.js +21 -15
  101. package/dist/index317.js +21 -74
  102. package/dist/index318.js +63 -4
  103. package/dist/index319.js +84 -2
  104. package/dist/index320.js +193 -74
  105. package/dist/index321.js +246 -53
  106. package/dist/index322.js +15 -6
  107. package/dist/index323.js +261 -4
  108. package/dist/index324.js +5 -178
  109. package/dist/index325.js +133 -56
  110. package/dist/index326.js +73 -75
  111. package/dist/index327.js +83 -75
  112. package/dist/index328.js +28 -21
  113. package/dist/index329.js +14 -933
  114. package/dist/index330.js +74 -21
  115. package/dist/index331.js +3 -19
  116. package/dist/index332.js +2 -20
  117. package/dist/index333.js +80 -66
  118. package/dist/index334.js +53 -19
  119. package/dist/index335.js +6 -19
  120. package/dist/index336.js +4 -21
  121. package/dist/index337.js +178 -21
  122. package/dist/index338.js +62 -62
  123. package/dist/index339.js +75 -2
  124. package/dist/index364.js +19 -18
  125. package/dist/index365.js +19 -56
  126. package/dist/index366.js +63 -28
  127. package/dist/index367.js +37 -7
  128. package/dist/index368.js +16 -49
  129. package/dist/index369.js +57 -7
  130. package/dist/index370.js +27 -10
  131. package/dist/index371.js +7 -7
  132. package/dist/index372.js +51 -27
  133. package/dist/index373.js +7 -2
  134. package/dist/index374.js +11 -69
  135. package/dist/index375.js +6 -166
  136. package/dist/index376.js +28 -20
  137. package/dist/index377.js +2 -20
  138. package/dist/index378.js +67 -61
  139. package/dist/index379.js +166 -36
  140. package/dist/index381.js +17 -91
  141. package/dist/index382.js +91 -98
  142. package/dist/index383.js +97 -30
  143. package/dist/index384.js +30 -10
  144. package/dist/index385.js +10 -3
  145. package/dist/index386.js +3 -3
  146. package/dist/index387.js +4 -13
  147. package/dist/index388.js +13 -7
  148. package/dist/index389.js +7 -12
  149. package/dist/index390.js +11 -4
  150. package/dist/index391.js +5 -33
  151. package/dist/index392.js +33 -31
  152. package/dist/index393.js +29 -26
  153. package/dist/index394.js +26 -59
  154. package/dist/index395.js +60 -16
  155. package/dist/index396.js +1 -1
  156. package/dist/index401.js +1 -1
  157. package/dist/index402.js +2 -2
  158. package/dist/index45.js +1 -1
  159. package/package.json +1 -1
  160. package/dist/index200.js +0 -209
package/dist/index278.js CHANGED
@@ -1,31 +1,56 @@
1
- import t from "./index303.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 m, nodeInputRule as f, canInsertNode as h, isNodeSelection as T, mergeAttributes as y } from "./index270.js";
2
+ import { TextSelection as s, NodeSelection as N } from "./index285.js";
3
+ var M = m.create({
4
+ name: "horizontalRule",
5
+ addOptions() {
6
+ return {
7
+ HTMLAttributes: {},
8
+ nextNodeType: "paragraph"
9
+ };
10
+ },
11
+ group: "block",
12
+ parseHTML() {
13
+ return [{ tag: "hr" }];
14
+ },
15
+ renderHTML({ HTMLAttributes: n }) {
16
+ return ["hr", y(this.options.HTMLAttributes, n)];
17
+ },
18
+ markdownTokenName: "hr",
19
+ parseMarkdown: (n, o) => o.createNode("horizontalRule"),
20
+ renderMarkdown: () => "---",
21
+ addCommands() {
22
+ return {
23
+ setHorizontalRule: () => ({ chain: n, state: o }) => {
24
+ if (!h(o, o.schema.nodes[this.name]))
25
+ return !1;
26
+ const { selection: i } = o, { $to: l } = i, r = n();
27
+ return T(i) ? r.insertContentAt(l.pos, {
28
+ type: this.name
29
+ }) : r.insertContent({ type: this.name }), r.command(({ state: p, tr: e, dispatch: u }) => {
30
+ if (u) {
31
+ const { $to: t } = e.selection, a = t.end();
32
+ if (t.nodeAfter)
33
+ t.nodeAfter.isTextblock ? e.setSelection(s.create(e.doc, t.pos + 1)) : t.nodeAfter.isBlock ? e.setSelection(N.create(e.doc, t.pos)) : e.setSelection(s.create(e.doc, t.pos));
34
+ else {
35
+ const c = p.schema.nodes[this.options.nextNodeType] || t.parent.type.contentMatch.defaultType, d = c?.create();
36
+ d && (e.insert(a, d), e.setSelection(s.create(e.doc, a + 1)));
37
+ }
38
+ e.scrollIntoView();
39
+ }
40
+ return !0;
41
+ }).run();
42
+ }
43
+ };
44
+ },
45
+ addInputRules() {
46
+ return [
47
+ f({
48
+ find: /^(?:---|—-|___\s|\*\*\*\s)$/,
49
+ type: this.type
50
+ })
51
+ ];
52
+ }
53
+ });
29
54
  export {
30
- n as default
55
+ M as HorizontalRule
31
56
  };
package/dist/index279.js CHANGED
@@ -1,22 +1,77 @@
1
- import t from "./index303.js";
2
- import { openBlock as C, createElementBlock as r, mergeProps as o, createElementVNode as n } from "vue";
3
- var i = {
4
- name: "SortAmountDownIcon",
5
- extends: t
6
- }, p = /* @__PURE__ */ n("path", {
7
- d: "M4.93953 10.5858L3.83759 11.6877V0.677419C3.83759 0.307097 3.53049 0 3.16017 0C2.78985 0 2.48275 0.307097 2.48275 0.677419V11.6877L1.38082 10.5858C1.11888 10.3239 0.685331 10.3239 0.423396 10.5858C0.16146 10.8477 0.16146 11.2813 0.423396 11.5432L2.68146 13.8013C2.74469 13.8645 2.81694 13.9097 2.89823 13.9458C2.97952 13.9819 3.06985 14 3.16017 14C3.25049 14 3.33178 13.9819 3.42211 13.9458C3.5034 13.9097 3.57565 13.8645 3.63888 13.8013L5.89694 11.5432C6.15888 11.2813 6.15888 10.8477 5.89694 10.5858C5.63501 10.3239 5.20146 10.3239 4.93953 10.5858ZM13.0957 0H7.22468C6.85436 0 6.54726 0.307097 6.54726 0.677419C6.54726 1.04774 6.85436 1.35484 7.22468 1.35484H13.0957C13.466 1.35484 13.7731 1.04774 13.7731 0.677419C13.7731 0.307097 13.466 0 13.0957 0ZM7.22468 5.41935H9.48275C9.85307 5.41935 10.1602 5.72645 10.1602 6.09677C10.1602 6.4671 9.85307 6.77419 9.48275 6.77419H7.22468C6.85436 6.77419 6.54726 6.4671 6.54726 6.09677C6.54726 5.72645 6.85436 5.41935 7.22468 5.41935ZM7.6763 8.12903H7.22468C6.85436 8.12903 6.54726 8.43613 6.54726 8.80645C6.54726 9.17677 6.85436 9.48387 7.22468 9.48387H7.6763C8.04662 9.48387 8.35372 9.17677 8.35372 8.80645C8.35372 8.43613 8.04662 8.12903 7.6763 8.12903ZM7.22468 2.70968H11.2892C11.6595 2.70968 11.9666 3.01677 11.9666 3.3871C11.9666 3.75742 11.6595 4.06452 11.2892 4.06452H7.22468C6.85436 4.06452 6.54726 3.75742 6.54726 3.3871C6.54726 3.01677 6.85436 2.70968 7.22468 2.70968Z",
8
- fill: "currentColor"
9
- }, null, -1), l = [p];
10
- function s(e, a, c, d, m, h) {
11
- return C(), r("svg", o({
12
- width: "14",
13
- height: "14",
14
- viewBox: "0 0 14 14",
15
- fill: "none",
16
- xmlns: "http://www.w3.org/2000/svg"
17
- }, e.pti()), l, 16);
18
- }
19
- i.render = s;
1
+ import { Mark as s, markPasteRule as r, markInputRule as a, mergeAttributes as n } from "./index270.js";
2
+ var i = /(?:^|\s)(\*(?!\s+\*)((?:[^*]+))\*(?!\s+\*))$/, d = /(?:^|\s)(\*(?!\s+\*)((?:[^*]+))\*(?!\s+\*))/g, o = /(?:^|\s)(_(?!\s+_)((?:[^_]+))_(?!\s+_))$/, l = /(?:^|\s)(_(?!\s+_)((?:[^_]+))_(?!\s+_))/g, m = s.create({
3
+ name: "italic",
4
+ addOptions() {
5
+ return {
6
+ HTMLAttributes: {}
7
+ };
8
+ },
9
+ parseHTML() {
10
+ return [
11
+ {
12
+ tag: "em"
13
+ },
14
+ {
15
+ tag: "i",
16
+ getAttrs: (t) => t.style.fontStyle !== "normal" && null
17
+ },
18
+ {
19
+ style: "font-style=normal",
20
+ clearMark: (t) => t.type.name === this.name
21
+ },
22
+ {
23
+ style: "font-style=italic"
24
+ }
25
+ ];
26
+ },
27
+ renderHTML({ HTMLAttributes: t }) {
28
+ return ["em", n(this.options.HTMLAttributes, t), 0];
29
+ },
30
+ addCommands() {
31
+ return {
32
+ setItalic: () => ({ commands: t }) => t.setMark(this.name),
33
+ toggleItalic: () => ({ commands: t }) => t.toggleMark(this.name),
34
+ unsetItalic: () => ({ commands: t }) => t.unsetMark(this.name)
35
+ };
36
+ },
37
+ markdownTokenName: "em",
38
+ parseMarkdown: (t, e) => e.applyMark("italic", e.parseInline(t.tokens || [])),
39
+ renderMarkdown: (t, e) => `*${e.renderChildren(t)}*`,
40
+ addKeyboardShortcuts() {
41
+ return {
42
+ "Mod-i": () => this.editor.commands.toggleItalic(),
43
+ "Mod-I": () => this.editor.commands.toggleItalic()
44
+ };
45
+ },
46
+ addInputRules() {
47
+ return [
48
+ a({
49
+ find: i,
50
+ type: this.type
51
+ }),
52
+ a({
53
+ find: o,
54
+ type: this.type
55
+ })
56
+ ];
57
+ },
58
+ addPasteRules() {
59
+ return [
60
+ r({
61
+ find: d,
62
+ type: this.type
63
+ }),
64
+ r({
65
+ find: l,
66
+ type: this.type
67
+ })
68
+ ];
69
+ }
70
+ });
20
71
  export {
21
- i as default
72
+ m as Italic,
73
+ i as starInputRegex,
74
+ d as starPasteRegex,
75
+ o as underscoreInputRegex,
76
+ l as underscorePasteRegex
22
77
  };