@quoreadmin/ui 1.10.1 → 1.10.3

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 (201) hide show
  1. package/dist/index.css +1 -1
  2. package/dist/index131.js +115 -101
  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 +2 -2
  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 +6 -6
  19. package/dist/index216.js +2 -2
  20. package/dist/index217.js +1 -1
  21. package/dist/index219.js +4 -4
  22. package/dist/index221.js +1 -1
  23. package/dist/index222.js +1 -1
  24. package/dist/index223.js +1 -1
  25. package/dist/index224.js +4 -4
  26. package/dist/index226.js +1 -1
  27. package/dist/index227.js +84 -157
  28. package/dist/index228.js +384 -205
  29. package/dist/index229.js +22 -37
  30. package/dist/index230.js +161 -10
  31. package/dist/index231.js +19 -160
  32. package/dist/index232.js +10 -10
  33. package/dist/index233.js +15 -13
  34. package/dist/index234.js +198 -21
  35. package/dist/index235.js +51 -180
  36. package/dist/index236.js +33 -69
  37. package/dist/index237.js +36 -84
  38. package/dist/index238.js +106 -386
  39. package/dist/index239.js +36 -32
  40. package/dist/index240.js +80 -40
  41. package/dist/index241.js +20 -22
  42. package/dist/index242.js +12 -14
  43. package/dist/index243.js +12 -14
  44. package/dist/index244.js +11 -11
  45. package/dist/index245.js +158 -833
  46. package/dist/index246.js +209 -683
  47. package/dist/index247.js +37 -176
  48. package/dist/index248.js +10 -20
  49. package/dist/index249.js +3636 -20
  50. package/dist/index250.js +55 -22
  51. package/dist/index251.js +77 -20
  52. package/dist/index252.js +52 -20
  53. package/dist/index253.js +215 -3
  54. package/dist/index254.js +10 -187
  55. package/dist/index255.js +52 -128
  56. package/dist/index256.js +52 -1214
  57. package/dist/index257.js +48 -121
  58. package/dist/index258.js +75 -20
  59. package/dist/index259.js +725 -21
  60. package/dist/index260.js +42 -22
  61. package/dist/index261.js +58 -32
  62. package/dist/index262.js +11 -29
  63. package/dist/index263.js +705 -20
  64. package/dist/index264.js +820 -20
  65. package/dist/index265.js +22 -2
  66. package/dist/index266.js +22 -2
  67. package/dist/index267.js +20 -3636
  68. package/dist/index268.js +826 -45
  69. package/dist/index269.js +693 -68
  70. package/dist/index270.js +174 -50
  71. package/dist/index271.js +22 -215
  72. package/dist/index272.js +20 -10
  73. package/dist/index273.js +20 -57
  74. package/dist/index274.js +3 -61
  75. package/dist/index275.js +182 -49
  76. package/dist/index276.js +128 -70
  77. package/dist/index277.js +1193 -696
  78. package/dist/index278.js +20 -42
  79. package/dist/index279.js +22 -64
  80. package/dist/index280.js +22 -11
  81. package/dist/index281.js +29 -705
  82. package/dist/index282.js +20 -820
  83. package/dist/index283.js +20 -80
  84. package/dist/index284.js +2 -20
  85. package/dist/index285.js +2 -20
  86. package/dist/index286.js +249 -50
  87. package/dist/index287.js +8 -79
  88. package/dist/index288.js +138 -26
  89. package/dist/index289.js +83 -22
  90. package/dist/index290.js +3 -22
  91. package/dist/index291.js +27 -16
  92. package/dist/index292.js +51 -14
  93. package/dist/index293.js +58 -232
  94. package/dist/index294.js +26 -8
  95. package/dist/index295.js +22 -138
  96. package/dist/index296.js +22 -83
  97. package/dist/index297.js +15 -22
  98. package/dist/index298.js +17 -3
  99. package/dist/index299.js +23 -27
  100. package/dist/index300.js +2 -262
  101. package/dist/index301.js +1533 -5
  102. package/dist/index302.js +371 -125
  103. package/dist/index303.js +2728 -70
  104. package/dist/index304.js +84 -85
  105. package/dist/index305.js +3789 -26
  106. package/dist/index306.js +58 -14
  107. package/dist/index307.js +15 -75
  108. package/dist/index308.js +83 -3
  109. package/dist/index309.js +202 -2
  110. package/dist/index310.js +237 -74
  111. package/dist/index311.js +77 -51
  112. package/dist/index312.js +21 -5
  113. package/dist/index313.js +934 -4
  114. package/dist/index314.js +21 -178
  115. package/dist/index315.js +19 -62
  116. package/dist/index316.js +20 -75
  117. package/dist/index317.js +69 -1534
  118. package/dist/index318.js +19 -386
  119. package/dist/index319.js +19 -2731
  120. package/dist/index320.js +21 -85
  121. package/dist/index321.js +22 -3792
  122. package/dist/index322.js +63 -60
  123. package/dist/index323.js +256 -73
  124. package/dist/index324.js +5 -21
  125. package/dist/index325.js +130 -925
  126. package/dist/index326.js +72 -21
  127. package/dist/index327.js +85 -18
  128. package/dist/index328.js +28 -19
  129. package/dist/index329.js +15 -68
  130. package/dist/index330.js +75 -19
  131. package/dist/index331.js +4 -19
  132. package/dist/index332.js +2 -22
  133. package/dist/index333.js +82 -21
  134. package/dist/index334.js +53 -63
  135. package/dist/index335.js +6 -2
  136. package/dist/index336.js +5 -15
  137. package/dist/index337.js +166 -71
  138. package/dist/index338.js +57 -196
  139. package/dist/index339.js +75 -246
  140. package/dist/index340.js +8 -36
  141. package/dist/index341.js +12 -8
  142. package/dist/index342.js +54 -12
  143. package/dist/index343.js +9 -52
  144. package/dist/index344.js +13 -11
  145. package/dist/index345.js +53 -9
  146. package/dist/index346.js +49 -55
  147. package/dist/index347.js +28 -49
  148. package/dist/index348.js +2 -31
  149. package/dist/index349.js +5 -2
  150. package/dist/index350.js +2 -5
  151. package/dist/index351.js +23 -2
  152. package/dist/index352.js +39 -21
  153. package/dist/index353.js +2 -41
  154. package/dist/index354.js +11 -2
  155. package/dist/index355.js +20 -11
  156. package/dist/index356.js +10 -20
  157. package/dist/index357.js +9 -9
  158. package/dist/index358.js +16 -9
  159. package/dist/index359.js +2 -17
  160. package/dist/index360.js +9 -2
  161. package/dist/index361.js +10 -9
  162. package/dist/index362.js +14 -10
  163. package/dist/index363.js +37 -14
  164. package/dist/index364.js +19 -18
  165. package/dist/index365.js +19 -56
  166. package/dist/index366.js +63 -28
  167. package/dist/index367.js +37 -7
  168. package/dist/index368.js +16 -49
  169. package/dist/index369.js +57 -7
  170. package/dist/index370.js +27 -10
  171. package/dist/index371.js +7 -7
  172. package/dist/index372.js +51 -27
  173. package/dist/index373.js +7 -2
  174. package/dist/index374.js +11 -69
  175. package/dist/index375.js +6 -166
  176. package/dist/index376.js +28 -20
  177. package/dist/index377.js +2 -20
  178. package/dist/index378.js +67 -61
  179. package/dist/index379.js +166 -36
  180. package/dist/index38.js +2 -2
  181. package/dist/index380.js +98 -28
  182. package/dist/index381.js +90 -10
  183. package/dist/index382.js +98 -4
  184. package/dist/index383.js +17 -4
  185. package/dist/index384.js +30 -12
  186. package/dist/index385.js +11 -7
  187. package/dist/index386.js +3 -11
  188. package/dist/index387.js +3 -4
  189. package/dist/index388.js +13 -33
  190. package/dist/index389.js +7 -31
  191. package/dist/index390.js +12 -28
  192. package/dist/index391.js +5 -61
  193. package/dist/index392.js +33 -17
  194. package/dist/index393.js +29 -99
  195. package/dist/index394.js +28 -91
  196. package/dist/index395.js +59 -96
  197. package/dist/index396.js +1 -1
  198. package/dist/index401.js +1 -1
  199. package/dist/index402.js +2 -2
  200. package/dist/src/components/page-layout/page-layout.vue.d.ts +6 -0
  201. package/package.json +1 -1
package/dist/index257.js CHANGED
@@ -1,129 +1,56 @@
1
- import { DomHandler as s, ObjectUtils as h } from "./index180.js";
2
- import E from "./index293.js";
3
- import $ from "./index335.js";
4
- var g = E.extend({
5
- style: $
6
- });
7
- function m(o) {
8
- "@babel/helpers - typeof";
9
- return m = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(e) {
10
- return typeof e;
11
- } : function(e) {
12
- return e && typeof Symbol == "function" && e.constructor === Symbol && e !== Symbol.prototype ? "symbol" : typeof e;
13
- }, m(o);
14
- }
15
- function v(o, e) {
16
- var t = Object.keys(o);
17
- if (Object.getOwnPropertySymbols) {
18
- var r = Object.getOwnPropertySymbols(o);
19
- e && (r = r.filter(function(n) {
20
- return Object.getOwnPropertyDescriptor(o, n).enumerable;
21
- })), t.push.apply(t, r);
22
- }
23
- return t;
24
- }
25
- function F(o) {
26
- for (var e = 1; e < arguments.length; e++) {
27
- var t = arguments[e] != null ? arguments[e] : {};
28
- e % 2 ? v(Object(t), !0).forEach(function(r) {
29
- S(o, r, t[r]);
30
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(o, Object.getOwnPropertyDescriptors(t)) : v(Object(t)).forEach(function(r) {
31
- Object.defineProperty(o, r, Object.getOwnPropertyDescriptor(t, r));
32
- });
33
- }
34
- return o;
35
- }
36
- function S(o, e, t) {
37
- return e = y(e), e in o ? Object.defineProperty(o, e, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : o[e] = t, o;
38
- }
39
- function y(o) {
40
- var e = O(o, "string");
41
- return m(e) == "symbol" ? e : String(e);
42
- }
43
- function O(o, e) {
44
- if (m(o) != "object" || !o) return o;
45
- var t = o[Symbol.toPrimitive];
46
- if (t !== void 0) {
47
- var r = t.call(o, e);
48
- if (m(r) != "object") return r;
49
- throw new TypeError("@@toPrimitive must return a primitive value.");
50
- }
51
- return (e === "string" ? String : Number)(o);
52
- }
53
- var x = g.extend("focustrap", {
54
- mounted: function(e, t) {
55
- var r = t.value || {}, n = r.disabled;
56
- n || (this.createHiddenFocusableElements(e, t), this.bind(e, t), this.autoElementFocus(e, t)), e.setAttribute("data-pd-focustrap", !0), this.$el = e;
1
+ import { Node as m, nodeInputRule as f, canInsertNode as h, isNodeSelection as T, mergeAttributes as y } from "./index249.js";
2
+ import { TextSelection as s, NodeSelection as N } from "./index264.js";
3
+ var M = m.create({
4
+ name: "horizontalRule",
5
+ addOptions() {
6
+ return {
7
+ HTMLAttributes: {},
8
+ nextNodeType: "paragraph"
9
+ };
57
10
  },
58
- updated: function(e, t) {
59
- var r = t.value || {}, n = r.disabled;
60
- n && this.unbind(e);
11
+ group: "block",
12
+ parseHTML() {
13
+ return [{ tag: "hr" }];
61
14
  },
62
- unmounted: function(e) {
63
- this.unbind(e);
15
+ renderHTML({ HTMLAttributes: n }) {
16
+ return ["hr", y(this.options.HTMLAttributes, n)];
64
17
  },
65
- methods: {
66
- getComputedSelector: function(e) {
67
- return ':not(.p-hidden-focusable):not([data-p-hidden-focusable="true"])'.concat(e ?? "");
68
- },
69
- bind: function(e, t) {
70
- var r = this, n = t.value || {}, u = n.onFocusIn, l = n.onFocusOut;
71
- e.$_pfocustrap_mutationobserver = new MutationObserver(function(c) {
72
- c.forEach(function(f) {
73
- if (f.type === "childList" && !e.contains(document.activeElement)) {
74
- var d = function p(a) {
75
- var i = s.isFocusableElement(a) ? s.isFocusableElement(a, r.getComputedSelector(e.$_pfocustrap_focusableselector)) ? a : s.getFirstFocusableElement(e, r.getComputedSelector(e.$_pfocustrap_focusableselector)) : s.getFirstFocusableElement(a);
76
- return h.isNotEmpty(i) ? i : a.nextSibling && p(a.nextSibling);
77
- };
78
- s.focus(d(f.nextSibling));
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();
79
39
  }
80
- });
81
- }), e.$_pfocustrap_mutationobserver.disconnect(), e.$_pfocustrap_mutationobserver.observe(e, {
82
- childList: !0
83
- }), e.$_pfocustrap_focusinlistener = function(c) {
84
- return u && u(c);
85
- }, e.$_pfocustrap_focusoutlistener = function(c) {
86
- return l && l(c);
87
- }, e.addEventListener("focusin", e.$_pfocustrap_focusinlistener), e.addEventListener("focusout", e.$_pfocustrap_focusoutlistener);
88
- },
89
- unbind: function(e) {
90
- e.$_pfocustrap_mutationobserver && e.$_pfocustrap_mutationobserver.disconnect(), e.$_pfocustrap_focusinlistener && e.removeEventListener("focusin", e.$_pfocustrap_focusinlistener) && (e.$_pfocustrap_focusinlistener = null), e.$_pfocustrap_focusoutlistener && e.removeEventListener("focusout", e.$_pfocustrap_focusoutlistener) && (e.$_pfocustrap_focusoutlistener = null);
91
- },
92
- autoFocus: function(e) {
93
- this.autoElementFocus(this.$el, {
94
- value: F(F({}, e), {}, {
95
- autoFocus: !0
96
- })
97
- });
98
- },
99
- autoElementFocus: function(e, t) {
100
- var r = t.value || {}, n = r.autoFocusSelector, u = n === void 0 ? "" : n, l = r.firstFocusableSelector, c = l === void 0 ? "" : l, f = r.autoFocus, d = f === void 0 ? !1 : f, p = s.getFirstFocusableElement(e, "[autofocus]".concat(this.getComputedSelector(u)));
101
- d && !p && (p = s.getFirstFocusableElement(e, this.getComputedSelector(c))), s.focus(p);
102
- },
103
- onFirstHiddenElementFocus: function(e) {
104
- var t, r = e.currentTarget, n = e.relatedTarget, u = n === r.$_pfocustrap_lasthiddenfocusableelement || !((t = this.$el) !== null && t !== void 0 && t.contains(n)) ? s.getFirstFocusableElement(r.parentElement, this.getComputedSelector(r.$_pfocustrap_focusableselector)) : r.$_pfocustrap_lasthiddenfocusableelement;
105
- s.focus(u);
106
- },
107
- onLastHiddenElementFocus: function(e) {
108
- var t, r = e.currentTarget, n = e.relatedTarget, u = n === r.$_pfocustrap_firsthiddenfocusableelement || !((t = this.$el) !== null && t !== void 0 && t.contains(n)) ? s.getLastFocusableElement(r.parentElement, this.getComputedSelector(r.$_pfocustrap_focusableselector)) : r.$_pfocustrap_firsthiddenfocusableelement;
109
- s.focus(u);
110
- },
111
- createHiddenFocusableElements: function(e, t) {
112
- var r = this, n = t.value || {}, u = n.tabIndex, l = u === void 0 ? 0 : u, c = n.firstFocusableSelector, f = c === void 0 ? "" : c, d = n.lastFocusableSelector, p = d === void 0 ? "" : d, a = function(_) {
113
- return s.createElement("span", {
114
- class: "p-hidden-accessible p-hidden-focusable",
115
- tabIndex: l,
116
- role: "presentation",
117
- "aria-hidden": !0,
118
- "data-p-hidden-accessible": !0,
119
- "data-p-hidden-focusable": !0,
120
- onFocus: _?.bind(r)
121
- });
122
- }, i = a(this.onFirstHiddenElementFocus), b = a(this.onLastHiddenElementFocus);
123
- i.$_pfocustrap_lasthiddenfocusableelement = b, i.$_pfocustrap_focusableselector = f, i.setAttribute("data-pc-section", "firstfocusableelement"), b.$_pfocustrap_firsthiddenfocusableelement = i, b.$_pfocustrap_focusableselector = p, b.setAttribute("data-pc-section", "lastfocusableelement"), e.prepend(i), e.append(b);
124
- }
40
+ return !0;
41
+ }).run();
42
+ }
43
+ };
44
+ },
45
+ addInputRules() {
46
+ return [
47
+ f({
48
+ find: /^(?:---|—-|___\s|\*\*\*\s)$/,
49
+ type: this.type
50
+ })
51
+ ];
125
52
  }
126
53
  });
127
54
  export {
128
- x as default
55
+ M as HorizontalRule
129
56
  };
package/dist/index258.js CHANGED
@@ -1,22 +1,77 @@
1
- import r from "./index287.js";
2
- import { openBlock as t, createElementBlock as o, mergeProps as n, createElementVNode as i } from "vue";
3
- var C = {
4
- name: "FilterIcon",
5
- extends: r
6
- }, l = /* @__PURE__ */ i("path", {
7
- d: "M8.64708 14H5.35296C5.18981 13.9979 5.03395 13.9321 4.91858 13.8167C4.8032 13.7014 4.73745 13.5455 4.73531 13.3824V7L0.329431 0.98C0.259794 0.889466 0.217389 0.780968 0.20718 0.667208C0.19697 0.553448 0.219379 0.439133 0.271783 0.337647C0.324282 0.236453 0.403423 0.151519 0.500663 0.0920138C0.597903 0.0325088 0.709548 0.000692754 0.823548 0H13.1765C13.2905 0.000692754 13.4021 0.0325088 13.4994 0.0920138C13.5966 0.151519 13.6758 0.236453 13.7283 0.337647C13.7807 0.439133 13.8031 0.553448 13.7929 0.667208C13.7826 0.780968 13.7402 0.889466 13.6706 0.98L9.26472 7V13.3824C9.26259 13.5455 9.19683 13.7014 9.08146 13.8167C8.96609 13.9321 8.81022 13.9979 8.64708 14ZM5.97061 12.7647H8.02943V6.79412C8.02878 6.66289 8.07229 6.53527 8.15296 6.43177L11.9412 1.23529H2.05884L5.86355 6.43177C5.94422 6.53527 5.98773 6.66289 5.98708 6.79412L5.97061 12.7647Z",
8
- fill: "currentColor"
9
- }, null, -1), p = [l];
10
- function s(e, a, c, d, m, h) {
11
- return t(), o("svg", n({
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()), p, 16);
18
- }
19
- C.render = s;
1
+ import { Mark as s, markPasteRule as r, markInputRule as a, mergeAttributes as n } from "./index249.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
- C as default
72
+ m as Italic,
73
+ i as starInputRegex,
74
+ d as starPasteRegex,
75
+ o as underscoreInputRegex,
76
+ l as underscorePasteRegex
22
77
  };