@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/index290.js CHANGED
@@ -1,56 +1,4 @@
1
- import { Node as m, nodeInputRule as f, canInsertNode as h, isNodeSelection as T, mergeAttributes as y } from "./index282.js";
2
- import { TextSelection as s, NodeSelection as N } from "./index297.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
- });
1
+ var a = {};
54
2
  export {
55
- M as HorizontalRule
3
+ a as default
56
4
  };
package/dist/index291.js CHANGED
@@ -1,83 +1,81 @@
1
- import { Mark as s, markPasteRule as r, markInputRule as a, mergeAttributes as n } from "./index282.js";
2
- var i = /(?:^|\s)(\*(?!\s+\*)((?:[^*]+))\*(?!\s+\*))$/, o = /(?:^|\s)(\*(?!\s+\*)((?:[^*]+))\*(?!\s+\*))/g, d = /(?:^|\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: (e) => e.style.fontStyle !== "normal" && null
17
- },
18
- {
19
- style: "font-style=normal",
20
- clearMark: (e) => e.type.name === this.name
21
- },
22
- {
23
- style: "font-style=italic"
24
- }
25
- ];
26
- },
27
- renderHTML({ HTMLAttributes: e }) {
28
- return ["em", n(this.options.HTMLAttributes, e), 0];
29
- },
30
- addCommands() {
31
- return {
32
- setItalic: () => ({ commands: e }) => e.setMark(this.name),
33
- toggleItalic: () => ({ commands: e }) => e.toggleMark(this.name),
34
- unsetItalic: () => ({ commands: e }) => e.unsetMark(this.name)
35
- };
36
- },
37
- markdownTokenName: "em",
38
- parseMarkdown: (e, t) => t.applyMark("italic", t.parseInline(e.tokens || [])),
39
- markdownOptions: {
40
- htmlReopen: {
41
- open: "<em>",
42
- close: "</em>"
1
+ import s from "./index228.js";
2
+ import c from "./index340.js";
3
+ import { ObjectUtils as l } from "./index180.js";
4
+ function i(t) {
5
+ "@babel/helpers - typeof";
6
+ return i = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(e) {
7
+ return typeof e;
8
+ } : function(e) {
9
+ return e && typeof Symbol == "function" && e.constructor === Symbol && e !== Symbol.prototype ? "symbol" : typeof e;
10
+ }, i(t);
11
+ }
12
+ function o(t, e) {
13
+ var r = Object.keys(t);
14
+ if (Object.getOwnPropertySymbols) {
15
+ var n = Object.getOwnPropertySymbols(t);
16
+ e && (n = n.filter(function(u) {
17
+ return Object.getOwnPropertyDescriptor(t, u).enumerable;
18
+ })), r.push.apply(r, n);
19
+ }
20
+ return r;
21
+ }
22
+ function p(t) {
23
+ for (var e = 1; e < arguments.length; e++) {
24
+ var r = arguments[e] != null ? arguments[e] : {};
25
+ e % 2 ? o(Object(r), !0).forEach(function(n) {
26
+ f(t, n, r[n]);
27
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(t, Object.getOwnPropertyDescriptors(r)) : o(Object(r)).forEach(function(n) {
28
+ Object.defineProperty(t, n, Object.getOwnPropertyDescriptor(r, n));
29
+ });
30
+ }
31
+ return t;
32
+ }
33
+ function f(t, e, r) {
34
+ return e = a(e), e in t ? Object.defineProperty(t, e, { value: r, enumerable: !0, configurable: !0, writable: !0 }) : t[e] = r, t;
35
+ }
36
+ function a(t) {
37
+ var e = y(t, "string");
38
+ return i(e) == "symbol" ? e : String(e);
39
+ }
40
+ function y(t, e) {
41
+ if (i(t) != "object" || !t) return t;
42
+ var r = t[Symbol.toPrimitive];
43
+ if (r !== void 0) {
44
+ var n = r.call(t, e);
45
+ if (i(n) != "object") return n;
46
+ throw new TypeError("@@toPrimitive must return a primitive value.");
47
+ }
48
+ return (e === "string" ? String : Number)(t);
49
+ }
50
+ var O = {
51
+ name: "BaseIcon",
52
+ extends: s,
53
+ props: {
54
+ label: {
55
+ type: String,
56
+ default: void 0
57
+ },
58
+ spin: {
59
+ type: Boolean,
60
+ default: !1
43
61
  }
44
62
  },
45
- renderMarkdown: (e, t) => `*${t.renderChildren(e)}*`,
46
- addKeyboardShortcuts() {
47
- return {
48
- "Mod-i": () => this.editor.commands.toggleItalic(),
49
- "Mod-I": () => this.editor.commands.toggleItalic()
50
- };
51
- },
52
- addInputRules() {
53
- return [
54
- a({
55
- find: i,
56
- type: this.type
57
- }),
58
- a({
59
- find: d,
60
- type: this.type
61
- })
62
- ];
63
- },
64
- addPasteRules() {
65
- return [
66
- r({
67
- find: o,
68
- type: this.type
69
- }),
70
- r({
71
- find: l,
72
- type: this.type
73
- })
74
- ];
63
+ style: c,
64
+ methods: {
65
+ pti: function() {
66
+ var e = l.isEmpty(this.label);
67
+ return p(p({}, !this.isUnstyled && {
68
+ class: ["p-icon", {
69
+ "p-icon-spin": this.spin
70
+ }]
71
+ }), {}, {
72
+ role: e ? void 0 : "img",
73
+ "aria-label": e ? void 0 : this.label,
74
+ "aria-hidden": e
75
+ });
76
+ }
75
77
  }
76
- });
78
+ };
77
79
  export {
78
- m as Italic,
79
- i as starInputRegex,
80
- o as starPasteRegex,
81
- d as underscoreInputRegex,
82
- l as underscorePasteRegex
80
+ O as default
83
81
  };