@quoreadmin/ui 1.10.22 → 1.10.24

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 (180) hide show
  1. package/README.md +30 -24
  2. package/dist/index147.js +1 -1
  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 +15 -0
  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 +14 -12
  19. package/dist/index216.js +2 -2
  20. package/dist/index227.js +67 -106
  21. package/dist/index228.js +395 -26
  22. package/dist/index229.js +21 -406
  23. package/dist/index230.js +157 -76
  24. package/dist/index231.js +10 -10
  25. package/dist/index232.js +19 -87
  26. package/dist/index233.js +15 -13
  27. package/dist/index234.js +198 -19
  28. package/dist/index235.js +68 -18
  29. package/dist/index236.js +34 -20
  30. package/dist/index237.js +39 -21
  31. package/dist/index238.js +159 -159
  32. package/dist/index239.js +228 -20
  33. package/dist/index240.js +36 -21
  34. package/dist/index241.js +9 -198
  35. package/dist/index242.js +121 -64
  36. package/dist/index243.js +36 -32
  37. package/dist/index244.js +80 -40
  38. package/dist/index245.js +12 -14
  39. package/dist/index246.js +12 -14
  40. package/dist/index247.js +12 -12
  41. package/dist/index248.js +20 -836
  42. package/dist/index249.js +225 -674
  43. package/dist/index250.js +7 -175
  44. package/dist/index251.js +138 -22
  45. package/dist/index252.js +83 -20
  46. package/dist/index253.js +10 -10
  47. package/dist/index254.js +54 -3
  48. package/dist/index255.js +65 -173
  49. package/dist/index256.js +19 -132
  50. package/dist/index257.js +26 -1223
  51. package/dist/index258.js +15 -13
  52. package/dist/index259.js +6 -6
  53. package/dist/index260.js +16 -22
  54. package/dist/index261.js +17 -29
  55. package/dist/index262.js +23 -20
  56. package/dist/index263.js +15 -13
  57. package/dist/index264.js +22 -2
  58. package/dist/index265.js +836 -2
  59. package/dist/index266.js +657 -3591
  60. package/dist/index267.js +174 -53
  61. package/dist/index268.js +22 -77
  62. package/dist/index269.js +20 -52
  63. package/dist/index270.js +3 -215
  64. package/dist/index271.js +187 -10
  65. package/dist/index272.js +128 -52
  66. package/dist/index273.js +1214 -52
  67. package/dist/index274.js +20 -54
  68. package/dist/index275.js +22 -75
  69. package/dist/index276.js +21 -725
  70. package/dist/index277.js +29 -42
  71. package/dist/index278.js +20 -64
  72. package/dist/index279.js +20 -11
  73. package/dist/index280.js +2 -705
  74. package/dist/index281.js +2 -820
  75. package/dist/index282.js +3700 -152
  76. package/dist/index283.js +58 -226
  77. package/dist/index284.js +83 -37
  78. package/dist/index285.js +52 -10
  79. package/dist/index286.js +198 -236
  80. package/dist/index287.js +10 -2
  81. package/dist/index288.js +54 -135
  82. package/dist/index289.js +60 -82
  83. package/dist/index290.js +52 -77
  84. package/dist/index291.js +80 -7
  85. package/dist/index292.js +728 -3
  86. package/dist/index293.js +46 -26
  87. package/dist/index294.js +61 -51
  88. package/dist/index295.js +11 -26
  89. package/dist/index296.js +705 -22
  90. package/dist/index297.js +820 -22
  91. package/dist/index298.js +2 -16
  92. package/dist/index299.js +3 -17
  93. package/dist/index300.js +27 -23
  94. package/dist/index301.js +258 -72
  95. package/dist/index302.js +5 -21
  96. package/dist/index303.js +140 -925
  97. package/dist/index304.js +68 -21
  98. package/dist/index305.js +89 -18
  99. package/dist/index306.js +28 -19
  100. package/dist/index307.js +15 -68
  101. package/dist/index308.js +75 -19
  102. package/dist/index309.js +4 -19
  103. package/dist/index310.js +2 -22
  104. package/dist/index311.js +83 -21
  105. package/dist/index312.js +58 -63
  106. package/dist/index313.js +5 -1533
  107. package/dist/index314.js +4 -385
  108. package/dist/index315.js +160 -2705
  109. package/dist/index316.js +60 -83
  110. package/dist/index317.js +75 -3792
  111. package/dist/index318.js +32 -55
  112. package/dist/index319.js +1533 -14
  113. package/dist/index320.js +371 -69
  114. package/dist/index321.js +2687 -158
  115. package/dist/index322.js +73 -233
  116. package/dist/index323.js +3779 -243
  117. package/dist/index324.js +58 -4
  118. package/dist/index325.js +76 -137
  119. package/dist/index326.js +21 -72
  120. package/dist/index327.js +926 -78
  121. package/dist/index328.js +21 -28
  122. package/dist/index329.js +19 -15
  123. package/dist/index330.js +19 -74
  124. package/dist/index331.js +68 -3
  125. package/dist/index332.js +19 -2
  126. package/dist/index333.js +18 -82
  127. package/dist/index334.js +21 -52
  128. package/dist/index335.js +21 -5
  129. package/dist/index336.js +63 -5
  130. package/dist/index337.js +15 -179
  131. package/dist/index338.js +78 -57
  132. package/dist/index339.js +201 -74
  133. package/dist/index340.js +240 -31
  134. package/dist/index364.js +18 -19
  135. package/dist/index365.js +56 -19
  136. package/dist/index366.js +22 -61
  137. package/dist/index367.js +7 -37
  138. package/dist/index368.js +52 -16
  139. package/dist/index369.js +7 -57
  140. package/dist/index370.js +10 -27
  141. package/dist/index371.js +7 -7
  142. package/dist/index372.js +27 -51
  143. package/dist/index373.js +2 -7
  144. package/dist/index374.js +81 -11
  145. package/dist/index375.js +179 -6
  146. package/dist/index376.js +20 -28
  147. package/dist/index377.js +20 -2
  148. package/dist/index378.js +61 -67
  149. package/dist/index379.js +36 -166
  150. package/dist/index380.js +31 -17
  151. package/dist/index381.js +10 -100
  152. package/dist/index382.js +3 -90
  153. package/dist/index383.js +4 -98
  154. package/dist/index384.js +12 -30
  155. package/dist/index385.js +7 -11
  156. package/dist/index386.js +13 -3
  157. package/dist/index387.js +4 -3
  158. package/dist/index388.js +36 -13
  159. package/dist/index389.js +37 -7
  160. package/dist/index390.js +30 -12
  161. package/dist/index391.js +64 -5
  162. package/dist/index392.js +17 -33
  163. package/dist/index393.js +99 -29
  164. package/dist/index394.js +91 -28
  165. package/dist/index395.js +96 -59
  166. package/dist/index396.js +1 -1
  167. package/dist/index401.js +1 -1
  168. package/dist/index402.js +2 -2
  169. package/dist/src/components/comment-section/comment-section.stories.d.ts +1 -0
  170. package/dist/src/components/data-filter/data-filter.d.ts +1 -1
  171. package/dist/src/components/data-list/data-list.d.ts +1 -1
  172. package/dist/src/components/grid/grid.stories.d.ts +1 -1
  173. package/dist/src/components/icon/icon.stories.d.ts +1 -0
  174. package/dist/src/components/image-gallery/image-gallery.stories.d.ts +2 -0
  175. package/dist/src/components/pdf-viewer/pdf-viewer.stories.d.ts +1 -0
  176. package/dist/src/components/table/table.d.ts +1 -1
  177. package/dist/src/views/lists.vue.d.ts +2 -2
  178. package/dist/src/views/tables.vue.d.ts +1 -1
  179. package/package.json +137 -120
  180. package/dist/src/components/tour/tour.d.ts +0 -364
package/dist/index293.js CHANGED
@@ -1,29 +1,49 @@
1
- function p(h) {
2
- let n = [], s = [], i = 0, f = !1, o = !1;
3
- const l = /* @__PURE__ */ new WeakSet(), u = {
4
- schedule: (e, t = !1, r = !1) => {
5
- const d = r && f, c = d ? n : s;
6
- return t && l.add(e), c.indexOf(e) === -1 && (c.push(e), d && f && (i = n.length)), e;
7
- },
8
- cancel: (e) => {
9
- const t = s.indexOf(e);
10
- t !== -1 && s.splice(t, 1), l.delete(e);
11
- },
12
- process: (e) => {
13
- if (f) {
14
- o = !0;
15
- return;
16
- }
17
- if (f = !0, [n, s] = [s, n], s.length = 0, i = n.length, i)
18
- for (let t = 0; t < i; t++) {
19
- const r = n[t];
20
- r(e), l.has(r) && (u.schedule(r), h());
21
- }
22
- f = !1, o && (o = !1, u.process(e));
1
+ import { Node as s, mergeAttributes as d } from "./index282.js";
2
+ var i = "&nbsp;", u = " ", v = s.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: e }) {
16
+ return ["p", d(this.options.HTMLAttributes, e), 0];
17
+ },
18
+ parseMarkdown: (e, n) => {
19
+ const r = e.tokens || [];
20
+ if (r.length === 1 && r[0].type === "image")
21
+ return n.parseChildren([r[0]]);
22
+ const t = n.parseInline(r);
23
+ return t.length === 1 && t[0].type === "text" && (t[0].text === i || t[0].text === u) ? n.createNode("paragraph", void 0, []) : n.createNode("paragraph", void 0, t);
24
+ },
25
+ renderMarkdown: (e, n, r) => {
26
+ var t, a;
27
+ if (!e)
28
+ return "";
29
+ const o = Array.isArray(e.content) ? e.content : [];
30
+ if (o.length === 0) {
31
+ const p = Array.isArray((t = r?.previousNode) == null ? void 0 : t.content) ? r.previousNode.content : [];
32
+ return ((a = r?.previousNode) == null ? void 0 : a.type) === "paragraph" && p.length === 0 ? i : "";
23
33
  }
24
- };
25
- return u;
26
- }
34
+ return n.renderChildren(o);
35
+ },
36
+ addCommands() {
37
+ return {
38
+ setParagraph: () => ({ commands: e }) => e.setNode(this.name)
39
+ };
40
+ },
41
+ addKeyboardShortcuts() {
42
+ return {
43
+ "Mod-Alt-0": () => this.editor.commands.setParagraph()
44
+ };
45
+ }
46
+ });
27
47
  export {
28
- p as createRenderStep
48
+ v as Paragraph
29
49
  };
package/dist/index294.js CHANGED
@@ -1,56 +1,66 @@
1
- import l from "./index288.js";
2
- function r(e) {
3
- "@babel/helpers - typeof";
4
- return r = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(t) {
5
- return typeof t;
6
- } : function(t) {
7
- return t && typeof Symbol == "function" && t.constructor === Symbol && t !== Symbol.prototype ? "symbol" : typeof t;
8
- }, r(e);
9
- }
10
- function i(e, t, n) {
11
- return t = u(t), t in e ? Object.defineProperty(e, t, { value: n, enumerable: !0, configurable: !0, writable: !0 }) : e[t] = n, e;
12
- }
13
- function u(e) {
14
- var t = a(e, "string");
15
- return r(t) == "symbol" ? t : String(t);
16
- }
17
- function a(e, t) {
18
- if (r(e) != "object" || !e) return e;
19
- var n = e[Symbol.toPrimitive];
20
- if (n !== void 0) {
21
- var o = n.call(e, t);
22
- if (r(o) != "object") return o;
23
- throw new TypeError("@@toPrimitive must return a primitive value.");
24
- }
25
- return (t === "string" ? String : Number)(e);
26
- }
27
- var p = {
28
- root: function(t) {
29
- var n = t.instance, o = t.props;
30
- return ["p-button p-component", i(i(i(i(i(i(i(i({
31
- "p-button-icon-only": n.hasIcon && !o.label && !o.badge,
32
- "p-button-vertical": (o.iconPos === "top" || o.iconPos === "bottom") && o.label,
33
- "p-disabled": n.$attrs.disabled || n.$attrs.disabled === "" || o.loading,
34
- "p-button-loading": o.loading,
35
- "p-button-loading-label-only": o.loading && !n.hasIcon && o.label,
36
- "p-button-link": o.link
37
- }, "p-button-".concat(o.severity), o.severity), "p-button-raised", o.raised), "p-button-rounded", o.rounded), "p-button-text", o.text), "p-button-outlined", o.outlined), "p-button-sm", o.size === "small"), "p-button-lg", o.size === "large"), "p-button-plain", o.plain)];
1
+ import { Mark as r, markPasteRule as s, markInputRule as n, mergeAttributes as a } from "./index282.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];
38
29
  },
39
- loadingIcon: "p-button-loading-icon pi-spin",
40
- icon: function(t) {
41
- var n = t.props;
42
- return ["p-button-icon", {
43
- "p-button-icon-left": n.iconPos === "left" && n.label,
44
- "p-button-icon-right": n.iconPos === "right" && n.label,
45
- "p-button-icon-top": n.iconPos === "top" && n.label,
46
- "p-button-icon-bottom": n.iconPos === "bottom" && n.label
47
- }];
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
+ };
48
39
  },
49
- label: "p-button-label"
50
- }, s = l.extend({
51
- name: "button",
52
- classes: p
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
+ }
53
61
  });
54
62
  export {
55
- s as default
63
+ o as Strike,
64
+ i as inputRegex,
65
+ d as pasteRegex
56
66
  };
package/dist/index295.js CHANGED
@@ -1,28 +1,13 @@
1
- import t from "./index290.js";
2
- import { openBlock as C, createElementBlock as o, mergeProps as l, createElementVNode as e } from "vue";
3
- var n = {
4
- name: "ExclamationTriangleIcon",
5
- extends: t
6
- }, i = /* @__PURE__ */ e("path", {
7
- d: "M13.4018 13.1893H0.598161C0.49329 13.189 0.390283 13.1615 0.299143 13.1097C0.208003 13.0578 0.131826 12.9832 0.0780112 12.8932C0.0268539 12.8015 0 12.6982 0 12.5931C0 12.4881 0.0268539 12.3848 0.0780112 12.293L6.47985 1.08982C6.53679 1.00399 6.61408 0.933574 6.70484 0.884867C6.7956 0.836159 6.897 0.810669 7 0.810669C7.103 0.810669 7.2044 0.836159 7.29516 0.884867C7.38592 0.933574 7.46321 1.00399 7.52015 1.08982L13.922 12.293C13.9731 12.3848 14 12.4881 14 12.5931C14 12.6982 13.9731 12.8015 13.922 12.8932C13.8682 12.9832 13.792 13.0578 13.7009 13.1097C13.6097 13.1615 13.5067 13.189 13.4018 13.1893ZM1.63046 11.989H12.3695L7 2.59425L1.63046 11.989Z",
8
- fill: "currentColor"
9
- }, null, -1), a = /* @__PURE__ */ e("path", {
10
- d: "M6.99996 8.78801C6.84143 8.78594 6.68997 8.72204 6.57787 8.60993C6.46576 8.49782 6.40186 8.34637 6.39979 8.18784V5.38703C6.39979 5.22786 6.46302 5.0752 6.57557 4.96265C6.68813 4.85009 6.84078 4.78686 6.99996 4.78686C7.15914 4.78686 7.31179 4.85009 7.42435 4.96265C7.5369 5.0752 7.60013 5.22786 7.60013 5.38703V8.18784C7.59806 8.34637 7.53416 8.49782 7.42205 8.60993C7.30995 8.72204 7.15849 8.78594 6.99996 8.78801Z",
11
- fill: "currentColor"
12
- }, null, -1), p = /* @__PURE__ */ e("path", {
13
- d: "M6.99996 11.1887C6.84143 11.1866 6.68997 11.1227 6.57787 11.0106C6.46576 10.8985 6.40186 10.7471 6.39979 10.5885V10.1884C6.39979 10.0292 6.46302 9.87658 6.57557 9.76403C6.68813 9.65147 6.84078 9.58824 6.99996 9.58824C7.15914 9.58824 7.31179 9.65147 7.42435 9.76403C7.5369 9.87658 7.60013 10.0292 7.60013 10.1884V10.5885C7.59806 10.7471 7.53416 10.8985 7.42205 11.0106C7.30995 11.1227 7.15849 11.1866 6.99996 11.1887Z",
14
- fill: "currentColor"
15
- }, null, -1), s = [i, a, p];
16
- function c(r, d, h, m, u, _) {
17
- return C(), o("svg", l({
18
- width: "14",
19
- height: "14",
20
- viewBox: "0 0 14 14",
21
- fill: "none",
22
- xmlns: "http://www.w3.org/2000/svg"
23
- }, r.pti()), s, 16);
24
- }
25
- n.render = c;
1
+ import { Node as t } from "./index282.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
+ });
26
11
  export {
27
- n as default
12
+ o as Text
28
13
  };