@quoreadmin/ui 1.6.5 → 1.6.6

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 (115) hide show
  1. package/dist/index15.js +19 -19
  2. package/dist/index174.js +4 -4
  3. package/dist/index181.js +8 -8
  4. package/dist/index183.js +8 -8
  5. package/dist/index190.js +26 -26
  6. package/dist/index191.js +1 -1
  7. package/dist/index192.js +1 -1
  8. package/dist/index195.js +2 -2
  9. package/dist/index197.js +14 -14
  10. package/dist/index198.js +1 -1
  11. package/dist/index199.js +1 -1
  12. package/dist/index200.js +3 -3
  13. package/dist/index201.js +2 -2
  14. package/dist/index216.js +2 -2
  15. package/dist/index217.js +2 -2
  16. package/dist/index218.js +1 -1
  17. package/dist/index219.js +160 -21
  18. package/dist/index220.js +228 -22
  19. package/dist/index221.js +36 -19
  20. package/dist/index222.js +9 -835
  21. package/dist/index223.js +104 -679
  22. package/dist/index224.js +36 -174
  23. package/dist/index225.js +80 -20
  24. package/dist/index226.js +12 -12
  25. package/dist/index227.js +12 -14
  26. package/dist/index228.js +10 -10
  27. package/dist/index229.js +11 -11
  28. package/dist/index230.js +9 -9
  29. package/dist/index231.js +161 -3
  30. package/dist/index232.js +19 -186
  31. package/dist/index233.js +21 -132
  32. package/dist/index234.js +167 -129
  33. package/dist/index235.js +46 -1199
  34. package/dist/index236.js +31 -124
  35. package/dist/index237.js +39 -19
  36. package/dist/index238.js +11 -11
  37. package/dist/index239.js +13 -11
  38. package/dist/index240.js +11 -13
  39. package/dist/index241.js +819 -21
  40. package/dist/index242.js +701 -28
  41. package/dist/index243.js +176 -20
  42. package/dist/index244.js +14 -12
  43. package/dist/index245.js +20 -2
  44. package/dist/index246.js +20 -2
  45. package/dist/index247.js +3 -22
  46. package/dist/index248.js +155 -167
  47. package/dist/index249.js +112 -49
  48. package/dist/index250.js +1223 -34
  49. package/dist/index251.js +19 -39
  50. package/dist/index252.js +21 -160
  51. package/dist/index253.js +22 -228
  52. package/dist/index254.js +28 -36
  53. package/dist/index255.js +20 -10
  54. package/dist/index256.js +20 -253
  55. package/dist/index257.js +2 -8
  56. package/dist/index258.js +2 -138
  57. package/dist/index259.js +3621 -72
  58. package/dist/index260.js +39 -3616
  59. package/dist/index261.js +52 -30
  60. package/dist/index262.js +22 -47
  61. package/dist/index263.js +188 -25
  62. package/dist/index264.js +8 -213
  63. package/dist/index265.js +56 -9
  64. package/dist/index266.js +45 -41
  65. package/dist/index267.js +39 -46
  66. package/dist/index268.js +57 -36
  67. package/dist/index269.js +689 -41
  68. package/dist/index270.js +21 -705
  69. package/dist/index271.js +47 -22
  70. package/dist/index272.js +10 -63
  71. package/dist/index273.js +704 -10
  72. package/dist/index274.js +770 -655
  73. package/dist/index275.js +234 -801
  74. package/dist/index276.js +7 -79
  75. package/dist/index277.js +138 -20
  76. package/dist/index278.js +83 -20
  77. package/dist/index281.js +2 -79
  78. package/dist/index282.js +71 -71
  79. package/dist/index283.js +53 -21
  80. package/dist/index284.js +26 -935
  81. package/dist/index285.js +12 -12
  82. package/dist/index286.js +15 -13
  83. package/dist/index287.js +16 -20
  84. package/dist/index288.js +16 -68
  85. package/dist/index289.js +19 -15
  86. package/dist/index290.js +76 -16
  87. package/dist/index291.js +21 -53
  88. package/dist/index292.js +935 -22
  89. package/dist/index293.js +11 -11
  90. package/dist/index294.js +19 -62
  91. package/dist/index295.js +20 -2
  92. package/dist/index296.js +68 -25
  93. package/dist/index297.js +19 -22
  94. package/dist/index298.js +19 -22
  95. package/dist/index299.js +22 -16
  96. package/dist/index300.js +22 -17
  97. package/dist/index301.js +61 -21
  98. package/dist/index303.js +1 -1
  99. package/dist/index306.js +1 -1
  100. package/dist/index307.js +1 -1
  101. package/dist/index309.js +1 -1
  102. package/dist/index310.js +1 -1
  103. package/dist/index311.js +1 -1
  104. package/dist/index352.js +1 -1
  105. package/dist/index353.js +1 -1
  106. package/dist/index354.js +1 -1
  107. package/dist/index356.js +1 -1
  108. package/dist/index369.js +1 -1
  109. package/dist/index85.js +21 -17
  110. package/dist/src/components/data-filter/data-filter.d.ts +9 -0
  111. package/dist/src/components/data-list/data-list.d.ts +9 -0
  112. package/dist/src/components/grid/grid.stories.d.ts +9 -0
  113. package/dist/src/views/lists.vue.d.ts +18 -0
  114. package/dist/src/views/tables.vue.d.ts +9 -0
  115. package/package.json +1 -1
package/dist/index271.js CHANGED
@@ -1,41 +1,66 @@
1
- import { Node as a, mergeAttributes as n } from "./index260.js";
2
- var i = a.create({
3
- name: "paragraph",
4
- priority: 1e3,
1
+ import { Mark as r, markPasteRule as s, markInputRule as n, mergeAttributes as a } from "./index259.js";
2
+ var i = /(?:^|\s)(~~(?!\s+~~)((?:[^~]+))~~(?!\s+~~))$/, d = /(?:^|\s)(~~(?!\s+~~)((?:[^~]+))~~(?!\s+~~))/g, o = r.create({
3
+ name: "strike",
5
4
  addOptions() {
6
5
  return {
7
6
  HTMLAttributes: {}
8
7
  };
9
8
  },
10
- group: "block",
11
- content: "inline*",
12
9
  parseHTML() {
13
- return [{ tag: "p" }];
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
+ ];
14
26
  },
15
- renderHTML({ HTMLAttributes: r }) {
16
- return ["p", n(this.options.HTMLAttributes, r), 0];
27
+ renderHTML({ HTMLAttributes: e }) {
28
+ return ["s", a(this.options.HTMLAttributes, e), 0];
17
29
  },
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),
30
+ markdownTokenName: "del",
31
+ parseMarkdown: (e, t) => t.applyMark("strike", t.parseInline(e.tokens || [])),
32
+ renderMarkdown: (e, t) => `~~${t.renderChildren(e)}~~`,
28
33
  addCommands() {
29
34
  return {
30
- setParagraph: () => ({ commands: r }) => r.setNode(this.name)
35
+ setStrike: () => ({ commands: e }) => e.setMark(this.name),
36
+ toggleStrike: () => ({ commands: e }) => e.toggleMark(this.name),
37
+ unsetStrike: () => ({ commands: e }) => e.unsetMark(this.name)
31
38
  };
32
39
  },
33
40
  addKeyboardShortcuts() {
34
41
  return {
35
- "Mod-Alt-0": () => this.editor.commands.setParagraph()
42
+ "Mod-Shift-s": () => this.editor.commands.toggleStrike()
36
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
+ ];
37
60
  }
38
61
  });
39
62
  export {
40
- i as Paragraph
63
+ o as Strike,
64
+ i as inputRegex,
65
+ d as pasteRegex
41
66
  };
package/dist/index272.js CHANGED
@@ -1,66 +1,13 @@
1
- import { Mark as r, markPasteRule as s, markInputRule as n, mergeAttributes as a } from "./index260.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
- }
1
+ import { Node as t } from "./index259.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 || ""
61
10
  });
62
11
  export {
63
- o as Strike,
64
- i as inputRegex,
65
- d as pasteRegex
12
+ o as Text
66
13
  };