@quoreadmin/ui 1.7.14 → 1.7.15

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 (162) hide show
  1. package/dist/index131.js +90 -85
  2. package/dist/index152.js +14 -10
  3. package/dist/index172.js +14 -14
  4. package/dist/index173.js +3 -3
  5. package/dist/index183.js +10 -10
  6. package/dist/index184.js +5 -0
  7. package/dist/index185.js +10 -10
  8. package/dist/index191.js +28 -28
  9. package/dist/index192.js +2 -2
  10. package/dist/index193.js +2 -2
  11. package/dist/index194.js +1 -1
  12. package/dist/index196.js +2 -2
  13. package/dist/index198.js +14 -14
  14. package/dist/index199.js +1 -1
  15. package/dist/index200.js +1 -1
  16. package/dist/index201.js +3 -3
  17. package/dist/index202.js +6 -6
  18. package/dist/index203.js +29 -84
  19. package/dist/index204.js +109 -400
  20. package/dist/index205.js +36 -22
  21. package/dist/index206.js +26 -33
  22. package/dist/index207.js +31 -111
  23. package/dist/index208.js +9 -36
  24. package/dist/index209.js +19 -26
  25. package/dist/index210.js +10 -36
  26. package/dist/index211.js +10 -9
  27. package/dist/index212.js +50 -18
  28. package/dist/index213.js +43 -10
  29. package/dist/index214.js +4 -10
  30. package/dist/index215.js +36 -48
  31. package/dist/index216.js +21 -43
  32. package/dist/index217.js +160 -3
  33. package/dist/index218.js +19 -38
  34. package/dist/index219.js +20 -21
  35. package/dist/index220.js +21 -160
  36. package/dist/index221.js +198 -19
  37. package/dist/index222.js +69 -19
  38. package/dist/index223.js +87 -21
  39. package/dist/index224.js +385 -177
  40. package/dist/index225.js +33 -69
  41. package/dist/index226.js +39 -33
  42. package/dist/index227.js +123 -36
  43. package/dist/index228.js +33 -122
  44. package/dist/index229.js +80 -38
  45. package/dist/index230.js +20 -80
  46. package/dist/index231.js +3 -3
  47. package/dist/index232.js +3 -3
  48. package/dist/index233.js +11 -11
  49. package/dist/index234.js +22 -20
  50. package/dist/index239.js +3632 -22
  51. package/dist/index240.js +55 -22
  52. package/dist/index241.js +77 -20
  53. package/dist/index242.js +39 -823
  54. package/dist/index243.js +198 -685
  55. package/dist/index244.js +9 -175
  56. package/dist/index245.js +57 -22
  57. package/dist/index246.js +61 -20
  58. package/dist/index247.js +54 -20
  59. package/dist/index248.js +75 -3
  60. package/dist/index249.js +707 -171
  61. package/dist/index250.js +34 -128
  62. package/dist/index251.js +55 -1214
  63. package/dist/index252.js +11 -20
  64. package/dist/index253.js +705 -22
  65. package/dist/index254.js +820 -22
  66. package/dist/index255.js +15 -22
  67. package/dist/index256.js +15 -13
  68. package/dist/index257.js +12 -12
  69. package/dist/index258.js +836 -2
  70. package/dist/index259.js +702 -2
  71. package/dist/index260.js +170 -3626
  72. package/dist/index261.js +22 -55
  73. package/dist/index262.js +20 -77
  74. package/dist/index263.js +20 -52
  75. package/dist/index264.js +3 -215
  76. package/dist/index265.js +187 -10
  77. package/dist/index266.js +128 -52
  78. package/dist/index267.js +1214 -52
  79. package/dist/index268.js +20 -54
  80. package/dist/index269.js +22 -75
  81. package/dist/index270.js +21 -722
  82. package/dist/index271.js +29 -39
  83. package/dist/index272.js +20 -64
  84. package/dist/index273.js +20 -11
  85. package/dist/index274.js +2 -705
  86. package/dist/index275.js +2 -820
  87. package/dist/index276.js +50 -249
  88. package/dist/index277.js +79 -8
  89. package/dist/index278.js +26 -138
  90. package/dist/index279.js +22 -83
  91. package/dist/index280.js +21 -53
  92. package/dist/index281.js +15 -78
  93. package/dist/index282.js +17 -26
  94. package/dist/index283.js +253 -22
  95. package/dist/index284.js +8 -22
  96. package/dist/index285.js +137 -15
  97. package/dist/index286.js +83 -17
  98. package/dist/index287.js +1 -1
  99. package/dist/index289.js +1518 -3
  100. package/dist/index290.js +382 -23
  101. package/dist/index291.js +2731 -79
  102. package/dist/index292.js +85 -21
  103. package/dist/index293.js +3729 -894
  104. package/dist/index294.js +59 -21
  105. package/dist/index295.js +15 -20
  106. package/dist/index296.js +83 -19
  107. package/dist/index297.js +194 -61
  108. package/dist/index298.js +246 -19
  109. package/dist/index299.js +3 -19
  110. package/dist/index300.js +26 -21
  111. package/dist/index301.js +78 -21
  112. package/dist/index302.js +22 -63
  113. package/dist/index303.js +909 -1492
  114. package/dist/index304.js +22 -386
  115. package/dist/index305.js +20 -2731
  116. package/dist/index306.js +19 -85
  117. package/dist/index307.js +58 -3759
  118. package/dist/index308.js +19 -60
  119. package/dist/index309.js +19 -15
  120. package/dist/index310.js +21 -83
  121. package/dist/index311.js +22 -202
  122. package/dist/index312.js +63 -246
  123. package/dist/index330.js +1 -1
  124. package/dist/index333.js +1 -1
  125. package/dist/index338.js +1 -1
  126. package/dist/index343.js +2 -2
  127. package/dist/index348.js +1 -1
  128. package/dist/index349.js +2 -2
  129. package/dist/index354.js +1 -1
  130. package/dist/index355.js +1 -1
  131. package/dist/index356.js +2 -2
  132. package/dist/index357.js +1 -1
  133. package/dist/index370.js +100 -16
  134. package/dist/index371.js +90 -100
  135. package/dist/index372.js +98 -91
  136. package/dist/index373.js +16 -97
  137. package/dist/src/components/comment/comment.d.ts +27 -0
  138. package/dist/src/components/comment/comment.stories.d.ts +27 -0
  139. package/dist/src/components/comment-section/comment-section.d.ts +36 -0
  140. package/dist/src/components/comment-section/comment-section.stories.d.ts +45 -0
  141. package/dist/src/components/data-filter/data-filter.d.ts +18 -0
  142. package/dist/src/components/data-list/data-list.d.ts +18 -0
  143. package/dist/src/components/data-table/data-table.d.ts +9 -0
  144. package/dist/src/components/event/event.d.ts +9 -0
  145. package/dist/src/components/file-upload/file-upload.d.ts +9 -0
  146. package/dist/src/components/file-upload/file-upload.stories.d.ts +45 -0
  147. package/dist/src/components/grid/grid.stories.d.ts +36 -0
  148. package/dist/src/components/icon-action-group/icon-action-group.d.ts +9 -0
  149. package/dist/src/components/icon-action-group/icon-action-group.stories.d.ts +45 -0
  150. package/dist/src/components/image-gallery/image-gallery.d.ts +9 -0
  151. package/dist/src/components/image-gallery/image-gallery.stories.d.ts +18 -0
  152. package/dist/src/components/popover/popover.d.ts +15 -0
  153. package/dist/src/components/popover/popover.stories.d.ts +63 -0
  154. package/dist/src/components/room-details-popover/room-details-popover.d.ts +18 -0
  155. package/dist/src/components/table/table.d.ts +9 -0
  156. package/dist/src/components/tooltip/tooltip.d.ts +9 -0
  157. package/dist/src/components/tooltip/tooltip.stories.d.ts +63 -0
  158. package/dist/src/components/wysiwyg/wysiwyg.d.ts +9 -0
  159. package/dist/src/components/wysiwyg/wysiwyg.stories.d.ts +9 -0
  160. package/dist/src/views/lists.vue.d.ts +45 -0
  161. package/dist/src/views/tables.vue.d.ts +36 -0
  162. package/package.json +1 -1
package/dist/index292.js CHANGED
@@ -1,24 +1,88 @@
1
- import r from "./index281.js";
2
- import { createElementBlock as t, openBlock as o, mergeProps as C, createElementVNode as l } from "vue";
3
- var n = {
4
- name: "AngleDoubleLeftIcon",
5
- extends: r
6
- }, i = /* @__PURE__ */ l("path", {
7
- "fill-rule": "evenodd",
8
- "clip-rule": "evenodd",
9
- d: "M5.71602 11.164C5.80782 11.2021 5.9063 11.2215 6.00569 11.221C6.20216 11.2301 6.39427 11.1612 6.54025 11.0294C6.68191 10.8875 6.76148 10.6953 6.76148 10.4948C6.76148 10.2943 6.68191 10.1021 6.54025 9.96024L3.51441 6.9344L6.54025 3.90855C6.624 3.76126 6.65587 3.59011 6.63076 3.42254C6.60564 3.25498 6.525 3.10069 6.40175 2.98442C6.2785 2.86815 6.11978 2.79662 5.95104 2.7813C5.78229 2.76598 5.61329 2.80776 5.47112 2.89994L1.97123 6.39983C1.82957 6.54167 1.75 6.73393 1.75 6.9344C1.75 7.13486 1.82957 7.32712 1.97123 7.46896L5.47112 10.9991C5.54096 11.0698 5.62422 11.1259 5.71602 11.164ZM11.0488 10.9689C11.1775 11.1156 11.3585 11.2061 11.5531 11.221C11.7477 11.2061 11.9288 11.1156 12.0574 10.9689C12.1815 10.8302 12.25 10.6506 12.25 10.4645C12.25 10.2785 12.1815 10.0989 12.0574 9.96024L9.03158 6.93439L12.0574 3.90855C12.1248 3.76739 12.1468 3.60881 12.1204 3.45463C12.0939 3.30045 12.0203 3.15826 11.9097 3.04765C11.7991 2.93703 11.6569 2.86343 11.5027 2.83698C11.3486 2.81053 11.19 2.83252 11.0488 2.89994L7.51865 6.36957C7.37699 6.51141 7.29742 6.70367 7.29742 6.90414C7.29742 7.1046 7.37699 7.29686 7.51865 7.4387L11.0488 10.9689Z",
10
- fill: "currentColor"
11
- }, null, -1), p = [i];
12
- function d(e, s, a, c, m, u) {
13
- return o(), t("svg", C({
14
- width: "14",
15
- height: "14",
16
- viewBox: "0 0 14 14",
17
- fill: "none",
18
- xmlns: "http://www.w3.org/2000/svg"
19
- }, e.pti()), p, 16);
1
+ import { ReplaceAroundStep as h, liftTarget as w, canJoin as C, findWrapping as L, canSplit as R } from "./index289.js";
2
+ import { Fragment as s, Slice as I, NodeRange as x } from "./index291.js";
3
+ function O(r, t = null) {
4
+ return function(e, l) {
5
+ let { $from: o, $to: n } = e.selection, f = o.blockRange(n);
6
+ if (!f)
7
+ return !1;
8
+ let i = l ? e.tr : null;
9
+ return S(i, f, r, t) ? (l && l(i.scrollIntoView()), !0) : !1;
10
+ };
11
+ }
12
+ function S(r, t, e, l = null) {
13
+ let o = !1, n = t, f = t.$from.doc;
14
+ if (t.depth >= 2 && t.$from.node(t.depth - 1).type.compatibleContent(e) && t.startIndex == 0) {
15
+ if (t.$from.index(t.depth - 1) == 0)
16
+ return !1;
17
+ let d = f.resolve(t.start - 2);
18
+ n = new x(d, d, t.depth), t.endIndex < t.parent.childCount && (t = new x(t.$from, f.resolve(t.$to.end(t.depth)), t.depth)), o = !0;
19
+ }
20
+ let i = L(n, e, l, t);
21
+ return i ? (r && v(r, t, i, o, e), !0) : !1;
22
+ }
23
+ function v(r, t, e, l, o) {
24
+ let n = s.empty;
25
+ for (let u = e.length - 1; u >= 0; u--)
26
+ n = s.from(e[u].type.create(e[u].attrs, n));
27
+ r.step(new h(t.start - (l ? 2 : 0), t.end, t.start, t.end, new I(n, 0, 0), e.length, !0));
28
+ let f = 0;
29
+ for (let u = 0; u < e.length; u++)
30
+ e[u].type == o && (f = u + 1);
31
+ let i = e.length - f, d = t.start + e.length - (l ? 2 : 0), c = t.parent;
32
+ for (let u = t.startIndex, m = t.endIndex, p = !0; u < m; u++, p = !1)
33
+ !p && R(r.doc, d, i) && (r.split(d, i), d += 2 * i), d += c.child(u).nodeSize;
34
+ return r;
35
+ }
36
+ function V(r) {
37
+ return function(t, e) {
38
+ let { $from: l, $to: o } = t.selection, n = l.blockRange(o, (f) => f.childCount > 0 && f.firstChild.type == r);
39
+ return n ? e ? l.node(n.depth - 1).type == r ? b(t, e, r, n) : k(t, e, n) : !0 : !1;
40
+ };
41
+ }
42
+ function b(r, t, e, l) {
43
+ let o = r.tr, n = l.end, f = l.$to.end(l.depth);
44
+ n < f && (o.step(new h(n - 1, f, n, f, new I(s.from(e.create(null, l.parent.copy())), 1, 0), 1, !0)), l = new x(o.doc.resolve(l.$from.pos), o.doc.resolve(f), l.depth));
45
+ const i = w(l);
46
+ if (i == null)
47
+ return !1;
48
+ o.lift(l, i);
49
+ let d = o.doc.resolve(o.mapping.map(n, -1) - 1);
50
+ return C(o.doc, d.pos) && d.nodeBefore.type == d.nodeAfter.type && o.join(d.pos), t(o.scrollIntoView()), !0;
51
+ }
52
+ function k(r, t, e) {
53
+ let l = r.tr, o = e.parent;
54
+ for (let a = e.end, $ = e.endIndex - 1, y = e.startIndex; $ > y; $--)
55
+ a -= o.child($).nodeSize, l.delete(a - 1, a + 1);
56
+ let n = l.doc.resolve(e.start), f = n.nodeAfter;
57
+ if (l.mapping.map(e.end) != e.start + n.nodeAfter.nodeSize)
58
+ return !1;
59
+ let i = e.startIndex == 0, d = e.endIndex == o.childCount, c = n.node(-1), u = n.index(-1);
60
+ if (!c.canReplace(u + (i ? 0 : 1), u + 1, f.content.append(d ? s.empty : s.from(o))))
61
+ return !1;
62
+ let m = n.pos, p = m + f.nodeSize;
63
+ return l.step(new h(m - (i ? 1 : 0), p + (d ? 1 : 0), m + 1, p - 1, new I((i ? s.empty : s.from(o.copy(s.empty))).append(d ? s.empty : s.from(o.copy(s.empty))), i ? 0 : 1, d ? 0 : 1), i ? 0 : 1)), t(l.scrollIntoView()), !0;
64
+ }
65
+ function B(r) {
66
+ return function(t, e) {
67
+ let { $from: l, $to: o } = t.selection, n = l.blockRange(o, (c) => c.childCount > 0 && c.firstChild.type == r);
68
+ if (!n)
69
+ return !1;
70
+ let f = n.startIndex;
71
+ if (f == 0)
72
+ return !1;
73
+ let i = n.parent, d = i.child(f - 1);
74
+ if (d.type != r)
75
+ return !1;
76
+ if (e) {
77
+ let c = d.lastChild && d.lastChild.type == i.type, u = s.from(c ? r.create() : null), m = new I(s.from(r.create(null, s.from(i.type.create(null, u)))), c ? 3 : 1, 0), p = n.start, a = n.end;
78
+ e(t.tr.step(new h(p - (c ? 3 : 1), a, p, a, m, 1, !0)).scrollIntoView());
79
+ }
80
+ return !0;
81
+ };
20
82
  }
21
- n.render = d;
22
83
  export {
23
- n as default
84
+ V as liftListItem,
85
+ B as sinkListItem,
86
+ O as wrapInList,
87
+ S as wrapRangeInList
24
88
  };