@quoreadmin/ui 1.10.31 → 1.10.32

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 (136) hide show
  1. package/dist/index186.js +4 -4
  2. package/dist/index193.js +8 -8
  3. package/dist/index194.js +7 -0
  4. package/dist/index195.js +8 -8
  5. package/dist/index201.js +7 -7
  6. package/dist/index206.js +2 -2
  7. package/dist/index208.js +14 -14
  8. package/dist/index209.js +1 -1
  9. package/dist/index210.js +1 -1
  10. package/dist/index211.js +3 -3
  11. package/dist/index212.js +6 -6
  12. package/dist/index216.js +2 -2
  13. package/dist/index217.js +1 -1
  14. package/dist/index219.js +4 -4
  15. package/dist/index221.js +1 -1
  16. package/dist/index222.js +1 -1
  17. package/dist/index223.js +1 -1
  18. package/dist/index224.js +4 -4
  19. package/dist/index226.js +1 -1
  20. package/dist/index230.js +121 -155
  21. package/dist/index231.js +37 -19
  22. package/dist/index232.js +80 -20
  23. package/dist/index233.js +13 -15
  24. package/dist/index234.js +19 -198
  25. package/dist/index235.js +18 -68
  26. package/dist/index236.js +20 -34
  27. package/dist/index237.js +19 -39
  28. package/dist/index238.js +159 -159
  29. package/dist/index239.js +20 -228
  30. package/dist/index240.js +21 -36
  31. package/dist/index241.js +198 -9
  32. package/dist/index242.js +64 -121
  33. package/dist/index243.js +32 -36
  34. package/dist/index244.js +40 -80
  35. package/dist/index245.js +160 -19
  36. package/dist/index246.js +228 -20
  37. package/dist/index247.js +36 -19
  38. package/dist/index248.js +10 -20
  39. package/dist/index253.js +1 -1
  40. package/dist/index254.js +1 -1
  41. package/dist/index255.js +1 -1
  42. package/dist/index256.js +6 -6
  43. package/dist/index257.js +1 -1
  44. package/dist/index259.js +1 -1
  45. package/dist/index260.js +1 -1
  46. package/dist/index261.js +1 -1
  47. package/dist/index263.js +1 -1
  48. package/dist/index264.js +1 -1
  49. package/dist/index265.js +6 -6
  50. package/dist/index266.js +1 -1
  51. package/dist/index267.js +1 -1
  52. package/dist/index268.js +1 -1
  53. package/dist/index269.js +1 -1
  54. package/dist/index270.js +1 -1
  55. package/dist/index271.js +1 -1
  56. package/dist/index274.js +3706 -51
  57. package/dist/index275.js +58 -77
  58. package/dist/index276.js +83 -26
  59. package/dist/index277.js +52 -22
  60. package/dist/index278.js +215 -22
  61. package/dist/index279.js +9 -15
  62. package/dist/index280.js +55 -15
  63. package/dist/index281.js +59 -21
  64. package/dist/index282.js +39 -3694
  65. package/dist/index283.js +58 -37
  66. package/dist/index284.js +692 -47
  67. package/dist/index285.js +29 -34
  68. package/dist/index286.js +34 -185
  69. package/dist/index287.js +10 -9
  70. package/dist/index288.js +697 -49
  71. package/dist/index289.js +816 -57
  72. package/dist/index290.js +2 -54
  73. package/dist/index291.js +76 -78
  74. package/dist/index292.js +50 -724
  75. package/dist/index293.js +26 -47
  76. package/dist/index294.js +22 -64
  77. package/dist/index295.js +22 -11
  78. package/dist/index296.js +15 -704
  79. package/dist/index297.js +16 -819
  80. package/dist/index298.js +23 -3
  81. package/dist/index299.js +3 -27
  82. package/dist/index300.js +27 -2
  83. package/dist/index318.js +1534 -79
  84. package/dist/index319.js +386 -22
  85. package/dist/index320.js +2698 -902
  86. package/dist/index321.js +85 -21
  87. package/dist/index322.js +3798 -20
  88. package/dist/index323.js +59 -19
  89. package/dist/index324.js +15 -69
  90. package/dist/index325.js +84 -19
  91. package/dist/index326.js +201 -18
  92. package/dist/index327.js +246 -22
  93. package/dist/index328.js +78 -21
  94. package/dist/index329.js +22 -63
  95. package/dist/index330.js +930 -32
  96. package/dist/index331.js +22 -1534
  97. package/dist/index332.js +20 -386
  98. package/dist/index333.js +20 -2731
  99. package/dist/index334.js +67 -84
  100. package/dist/index335.js +19 -3798
  101. package/dist/index336.js +19 -60
  102. package/dist/index337.js +22 -15
  103. package/dist/index338.js +21 -83
  104. package/dist/index339.js +62 -201
  105. package/dist/index340.js +31 -240
  106. package/dist/index341.js +9 -8
  107. package/dist/index342.js +10 -13
  108. package/dist/index343.js +13 -54
  109. package/dist/index344.js +10 -12
  110. package/dist/index345.js +15 -12
  111. package/dist/index346.js +8 -57
  112. package/dist/index347.js +12 -51
  113. package/dist/index348.js +49 -25
  114. package/dist/index349.js +12 -2
  115. package/dist/index350.js +14 -5
  116. package/dist/index351.js +58 -2
  117. package/dist/index352.js +52 -23
  118. package/dist/index353.js +28 -38
  119. package/dist/index354.js +2 -2
  120. package/dist/index355.js +4 -10
  121. package/dist/index356.js +2 -20
  122. package/dist/index357.js +22 -9
  123. package/dist/index358.js +40 -9
  124. package/dist/index359.js +2 -17
  125. package/dist/index360.js +11 -2
  126. package/dist/index361.js +20 -9
  127. package/dist/index362.js +2 -10
  128. package/dist/index363.js +8 -13
  129. package/dist/index376.js +1 -1
  130. package/dist/index377.js +1 -1
  131. package/dist/index378.js +1 -1
  132. package/dist/index392.js +100 -16
  133. package/dist/index393.js +90 -100
  134. package/dist/index394.js +98 -91
  135. package/dist/index395.js +16 -97
  136. package/package.json +1 -1
package/dist/index280.js CHANGED
@@ -1,19 +1,59 @@
1
- import a from "./index251.js";
2
- var s = {
3
- root: function(r) {
4
- var e = r.instance;
5
- return ["p-progressbar p-component", {
6
- "p-progressbar-determinate": e.determinate,
7
- "p-progressbar-indeterminate": e.indeterminate
8
- }];
1
+ import { Node as l, mergeAttributes as c } from "./index274.js";
2
+ var f = l.create({
3
+ name: "hardBreak",
4
+ markdownTokenName: "br",
5
+ addOptions() {
6
+ return {
7
+ keepMarks: !0,
8
+ HTMLAttributes: {}
9
+ };
9
10
  },
10
- container: "p-progressbar-indeterminate-container",
11
- value: "p-progressbar-value p-progressbar-value-animate",
12
- label: "p-progressbar-label"
13
- }, o = a.extend({
14
- name: "progressbar",
15
- classes: s
11
+ inline: !0,
12
+ group: "inline",
13
+ selectable: !1,
14
+ linebreakReplacement: !0,
15
+ parseHTML() {
16
+ return [{ tag: "br" }];
17
+ },
18
+ renderHTML({ HTMLAttributes: e }) {
19
+ return ["br", c(this.options.HTMLAttributes, e)];
20
+ },
21
+ renderText() {
22
+ return `
23
+ `;
24
+ },
25
+ renderMarkdown: () => `
26
+ `,
27
+ parseMarkdown: () => ({
28
+ type: "hardBreak"
29
+ }),
30
+ addCommands() {
31
+ return {
32
+ setHardBreak: () => ({ commands: e, chain: n, state: a, editor: s }) => e.first([
33
+ () => e.exitCode(),
34
+ () => e.command(() => {
35
+ const { selection: r, storedMarks: o } = a;
36
+ if (r.$from.parent.type.spec.isolating)
37
+ return !1;
38
+ const { keepMarks: i } = this.options, { splittableMarks: d } = s.extensionManager, t = o || r.$to.parentOffset && r.$from.marks();
39
+ return n().insertContent({ type: this.name }).command(({ tr: u, dispatch: k }) => {
40
+ if (k && t && i) {
41
+ const m = t.filter((p) => d.includes(p.type.name));
42
+ u.ensureMarks(m);
43
+ }
44
+ return !0;
45
+ }).run();
46
+ })
47
+ ])
48
+ };
49
+ },
50
+ addKeyboardShortcuts() {
51
+ return {
52
+ "Mod-Enter": () => this.editor.commands.setHardBreak(),
53
+ "Shift-Enter": () => this.editor.commands.setHardBreak()
54
+ };
55
+ }
16
56
  });
17
57
  export {
18
- o as default
58
+ f as HardBreak
19
59
  };
package/dist/index281.js CHANGED
@@ -1,25 +1,63 @@
1
- import r from "./index251.js";
2
- import { ObjectUtils as t } from "./index180.js";
3
- var n = {
4
- root: function(a) {
5
- var e = a.props, s = a.instance;
6
- return ["p-badge p-component", {
7
- "p-badge-no-gutter": t.isNotEmpty(e.value) && String(e.value).length === 1,
8
- "p-badge-dot": t.isEmpty(e.value) && !s.$slots.default,
9
- "p-badge-lg": e.size === "large",
10
- "p-badge-xl": e.size === "xlarge",
11
- "p-badge-info": e.severity === "info",
12
- "p-badge-success": e.severity === "success",
13
- "p-badge-warning": e.severity === "warning",
14
- "p-badge-danger": e.severity === "danger",
15
- "p-badge-secondary": e.severity === "secondary",
16
- "p-badge-contrast": e.severity === "contrast"
17
- }];
1
+ import { Node as l, textblockTypeInputRule as i, mergeAttributes as a } from "./index274.js";
2
+ var d = l.create({
3
+ name: "heading",
4
+ addOptions() {
5
+ return {
6
+ levels: [1, 2, 3, 4, 5, 6],
7
+ HTMLAttributes: {}
8
+ };
9
+ },
10
+ content: "inline*",
11
+ group: "block",
12
+ defining: !0,
13
+ addAttributes() {
14
+ return {
15
+ level: {
16
+ default: 1,
17
+ rendered: !1
18
+ }
19
+ };
20
+ },
21
+ parseHTML() {
22
+ return this.options.levels.map((e) => ({
23
+ tag: `h${e}`,
24
+ attrs: { level: e }
25
+ }));
26
+ },
27
+ renderHTML({ node: e, HTMLAttributes: t }) {
28
+ return [`h${this.options.levels.includes(e.attrs.level) ? e.attrs.level : this.options.levels[0]}`, a(this.options.HTMLAttributes, t), 0];
29
+ },
30
+ parseMarkdown: (e, t) => t.createNode("heading", { level: e.depth || 1 }, t.parseInline(e.tokens || [])),
31
+ renderMarkdown: (e, t) => {
32
+ var r;
33
+ const n = (r = e.attrs) != null && r.level ? parseInt(e.attrs.level, 10) : 1, s = "#".repeat(n);
34
+ return e.content ? `${s} ${t.renderChildren(e.content)}` : "";
35
+ },
36
+ addCommands() {
37
+ return {
38
+ setHeading: (e) => ({ commands: t }) => this.options.levels.includes(e.level) ? t.setNode(this.name, e) : !1,
39
+ toggleHeading: (e) => ({ commands: t }) => this.options.levels.includes(e.level) ? t.toggleNode(this.name, "paragraph", e) : !1
40
+ };
41
+ },
42
+ addKeyboardShortcuts() {
43
+ return this.options.levels.reduce(
44
+ (e, t) => ({
45
+ ...e,
46
+ [`Mod-Alt-${t}`]: () => this.editor.commands.toggleHeading({ level: t })
47
+ }),
48
+ {}
49
+ );
50
+ },
51
+ addInputRules() {
52
+ return this.options.levels.map((e) => i({
53
+ find: new RegExp(`^(#{${Math.min(...this.options.levels)},${e}})\\s$`),
54
+ type: this.type,
55
+ getAttributes: {
56
+ level: e
57
+ }
58
+ }));
18
59
  }
19
- }, d = r.extend({
20
- name: "badge",
21
- classes: n
22
60
  });
23
61
  export {
24
- d as default
62
+ d as Heading
25
63
  };