@quoreadmin/ui 1.10.16 → 1.10.17

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 (188) hide show
  1. package/dist/index.css +1 -1
  2. package/dist/index186.js +4 -4
  3. package/dist/index193.js +8 -8
  4. package/dist/index195.js +8 -8
  5. package/dist/index198.js +17 -17
  6. package/dist/index201.js +26 -26
  7. package/dist/index202.js +1 -1
  8. package/dist/index203.js +1 -1
  9. package/dist/index206.js +2 -2
  10. package/dist/index208.js +14 -14
  11. package/dist/index209.js +1 -1
  12. package/dist/index210.js +1 -1
  13. package/dist/index211.js +3 -3
  14. package/dist/index212.js +6 -6
  15. package/dist/index216.js +2 -2
  16. package/dist/index217.js +1 -1
  17. package/dist/index219.js +4 -4
  18. package/dist/index221.js +1 -1
  19. package/dist/index222.js +1 -1
  20. package/dist/index223.js +1 -1
  21. package/dist/index224.js +4 -4
  22. package/dist/index226.js +1 -1
  23. package/dist/index230.js +122 -156
  24. package/dist/index231.js +35 -225
  25. package/dist/index232.js +80 -37
  26. package/dist/index233.js +20 -10
  27. package/dist/index234.js +19 -160
  28. package/dist/index235.js +11 -11
  29. package/dist/index236.js +12 -12
  30. package/dist/index237.js +13 -15
  31. package/dist/index238.js +129 -167
  32. package/dist/index239.js +19 -69
  33. package/dist/index240.js +21 -33
  34. package/dist/index241.js +184 -25
  35. package/dist/index242.js +63 -3629
  36. package/dist/index243.js +31 -52
  37. package/dist/index244.js +36 -73
  38. package/dist/index245.js +160 -51
  39. package/dist/index246.js +225 -212
  40. package/dist/index247.js +37 -10
  41. package/dist/index248.js +10 -57
  42. package/dist/index249.js +22 -61
  43. package/dist/index250.js +22 -54
  44. package/dist/index251.js +20 -75
  45. package/dist/index252.js +791 -681
  46. package/dist/index253.js +693 -33
  47. package/dist/index254.js +168 -56
  48. package/dist/index255.js +22 -11
  49. package/dist/index256.js +20 -705
  50. package/dist/index257.js +20 -820
  51. package/dist/index258.js +3 -22
  52. package/dist/index259.js +186 -21
  53. package/dist/index260.js +132 -19
  54. package/dist/index261.js +1131 -744
  55. package/dist/index262.js +19 -701
  56. package/dist/index263.js +22 -176
  57. package/dist/index264.js +15 -13
  58. package/dist/index265.js +22 -13
  59. package/dist/index266.js +13 -15
  60. package/dist/index267.js +12 -12
  61. package/dist/index268.js +2 -20
  62. package/dist/index269.js +1 -2
  63. package/dist/index270.js +3615 -166
  64. package/dist/index271.js +50 -128
  65. package/dist/index272.js +68 -1214
  66. package/dist/index273.js +47 -122
  67. package/dist/index274.js +215 -20
  68. package/dist/index275.js +10 -22
  69. package/dist/index276.js +57 -22
  70. package/dist/index277.js +55 -32
  71. package/dist/index278.js +54 -29
  72. package/dist/index279.js +75 -20
  73. package/dist/index280.js +725 -19
  74. package/dist/index281.js +42 -2
  75. package/dist/index282.js +64 -2
  76. package/dist/index283.js +10 -79
  77. package/dist/index284.js +705 -20
  78. package/dist/index285.js +820 -20
  79. package/dist/index290.js +2 -3
  80. package/dist/index291.js +77 -25
  81. package/dist/index293.js +25 -78
  82. package/dist/index294.js +15 -19
  83. package/dist/index295.js +10 -10
  84. package/dist/index296.js +16 -22
  85. package/dist/index297.js +15 -14
  86. package/dist/index298.js +21 -15
  87. package/dist/index299.js +261 -22
  88. package/dist/index300.js +5 -1533
  89. package/dist/index301.js +125 -371
  90. package/dist/index302.js +70 -2728
  91. package/dist/index303.js +85 -84
  92. package/dist/index304.js +26 -3789
  93. package/dist/index305.js +14 -58
  94. package/dist/index306.js +75 -15
  95. package/dist/index307.js +3 -83
  96. package/dist/index308.js +2 -202
  97. package/dist/index309.js +74 -237
  98. package/dist/index310.js +53 -2
  99. package/dist/index311.js +5 -78
  100. package/dist/index312.js +4 -21
  101. package/dist/index313.js +164 -920
  102. package/dist/index314.js +62 -21
  103. package/dist/index315.js +75 -20
  104. package/dist/index316.js +3 -20
  105. package/dist/index317.js +26 -68
  106. package/dist/index318.js +1534 -19
  107. package/dist/index319.js +386 -19
  108. package/dist/index320.js +2731 -22
  109. package/dist/index321.js +85 -21
  110. package/dist/index322.js +3792 -63
  111. package/dist/index323.js +52 -254
  112. package/dist/index324.js +78 -5
  113. package/dist/index325.js +21 -139
  114. package/dist/index326.js +928 -66
  115. package/dist/index327.js +21 -86
  116. package/dist/index328.js +19 -28
  117. package/dist/index329.js +19 -15
  118. package/dist/index330.js +67 -73
  119. package/dist/index331.js +19 -4
  120. package/dist/index332.js +19 -2
  121. package/dist/index333.js +21 -82
  122. package/dist/index334.js +21 -52
  123. package/dist/index335.js +63 -6
  124. package/dist/index336.js +15 -5
  125. package/dist/index337.js +71 -166
  126. package/dist/index338.js +196 -57
  127. package/dist/index339.js +246 -75
  128. package/dist/index340.js +36 -8
  129. package/dist/index341.js +18 -12
  130. package/dist/index342.js +55 -53
  131. package/dist/index343.js +27 -10
  132. package/dist/index344.js +6 -13
  133. package/dist/index345.js +48 -54
  134. package/dist/index346.js +7 -52
  135. package/dist/index347.js +11 -30
  136. package/dist/index348.js +7 -2
  137. package/dist/index349.js +27 -4
  138. package/dist/index350.js +2 -2
  139. package/dist/index351.js +69 -22
  140. package/dist/index352.js +164 -38
  141. package/dist/index353.js +9 -2
  142. package/dist/index354.js +13 -11
  143. package/dist/index355.js +51 -16
  144. package/dist/index356.js +12 -10
  145. package/dist/index357.js +14 -10
  146. package/dist/index358.js +56 -15
  147. package/dist/index359.js +52 -2
  148. package/dist/index360.js +31 -9
  149. package/dist/index361.js +2 -10
  150. package/dist/index362.js +4 -13
  151. package/dist/index363.js +2 -37
  152. package/dist/index364.js +23 -20
  153. package/dist/index365.js +40 -19
  154. package/dist/index366.js +2 -64
  155. package/dist/index367.js +10 -36
  156. package/dist/index368.js +17 -16
  157. package/dist/index369.js +10 -57
  158. package/dist/index370.js +10 -29
  159. package/dist/index371.js +16 -6
  160. package/dist/index372.js +2 -52
  161. package/dist/index373.js +8 -6
  162. package/dist/index374.js +9 -11
  163. package/dist/index375.js +13 -6
  164. package/dist/index376.js +20 -28
  165. package/dist/index377.js +20 -2
  166. package/dist/index378.js +61 -67
  167. package/dist/index379.js +36 -166
  168. package/dist/index380.js +30 -97
  169. package/dist/index381.js +10 -100
  170. package/dist/index382.js +3 -90
  171. package/dist/index383.js +4 -17
  172. package/dist/index384.js +12 -30
  173. package/dist/index385.js +7 -11
  174. package/dist/index386.js +11 -3
  175. package/dist/index387.js +4 -3
  176. package/dist/index388.js +33 -13
  177. package/dist/index389.js +31 -7
  178. package/dist/index390.js +28 -12
  179. package/dist/index391.js +61 -5
  180. package/dist/index392.js +101 -33
  181. package/dist/index393.js +91 -31
  182. package/dist/index394.js +16 -27
  183. package/dist/index395.js +96 -59
  184. package/dist/index396.js +1 -1
  185. package/dist/index4.js +5 -5
  186. package/dist/index401.js +1 -1
  187. package/dist/index402.js +2 -2
  188. package/package.json +1 -1
package/dist/index278.js CHANGED
@@ -1,31 +1,56 @@
1
- import t from "./index293.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 "./index293.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
  };