@quoreadmin/ui 1.10.14 → 1.10.16

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 (95) hide show
  1. package/dist/index.css +1 -1
  2. package/dist/index194.js +1 -1
  3. package/dist/index195.js +7 -7
  4. package/dist/index201.js +23 -23
  5. package/dist/index202.js +1 -1
  6. package/dist/index203.js +1 -1
  7. package/dist/index206.js +2 -2
  8. package/dist/index208.js +14 -14
  9. package/dist/index209.js +1 -1
  10. package/dist/index210.js +1 -1
  11. package/dist/index211.js +3 -3
  12. package/dist/index212.js +6 -6
  13. package/dist/index234.js +1 -1
  14. package/dist/index238.js +1 -1
  15. package/dist/index242.js +3618 -109
  16. package/dist/index243.js +49 -32
  17. package/dist/index244.js +70 -73
  18. package/dist/index245.js +52 -20
  19. package/dist/index246.js +215 -20
  20. package/dist/index247.js +10 -20
  21. package/dist/index248.js +57 -20
  22. package/dist/index249.js +61 -22
  23. package/dist/index250.js +54 -22
  24. package/dist/index251.js +75 -20
  25. package/dist/index252.js +681 -791
  26. package/dist/index253.js +33 -693
  27. package/dist/index254.js +56 -168
  28. package/dist/index255.js +11 -22
  29. package/dist/index256.js +705 -20
  30. package/dist/index257.js +820 -20
  31. package/dist/index258.js +22 -3
  32. package/dist/index259.js +21 -186
  33. package/dist/index260.js +19 -132
  34. package/dist/index261.js +744 -1131
  35. package/dist/index262.js +701 -19
  36. package/dist/index263.js +176 -22
  37. package/dist/index264.js +13 -15
  38. package/dist/index265.js +13 -22
  39. package/dist/index266.js +15 -13
  40. package/dist/index267.js +12 -12
  41. package/dist/index268.js +20 -2
  42. package/dist/index269.js +2 -1
  43. package/dist/index270.js +166 -3615
  44. package/dist/index271.js +128 -50
  45. package/dist/index272.js +1214 -68
  46. package/dist/index273.js +122 -47
  47. package/dist/index274.js +20 -215
  48. package/dist/index275.js +22 -10
  49. package/dist/index276.js +22 -57
  50. package/dist/index277.js +32 -55
  51. package/dist/index278.js +29 -54
  52. package/dist/index279.js +20 -75
  53. package/dist/index280.js +19 -725
  54. package/dist/index281.js +2 -42
  55. package/dist/index282.js +2 -64
  56. package/dist/index283.js +79 -10
  57. package/dist/index284.js +20 -705
  58. package/dist/index285.js +20 -820
  59. package/dist/index300.js +1534 -2
  60. package/dist/index301.js +346 -1494
  61. package/dist/index302.js +2675 -330
  62. package/dist/index303.js +72 -2717
  63. package/dist/index304.js +3782 -76
  64. package/dist/index305.js +49 -3781
  65. package/dist/index306.js +15 -60
  66. package/dist/index307.js +81 -76
  67. package/dist/index308.js +202 -22
  68. package/dist/index309.js +226 -915
  69. package/dist/index310.js +2 -22
  70. package/dist/index311.js +78 -19
  71. package/dist/index312.js +15 -13
  72. package/dist/index313.js +930 -64
  73. package/dist/index314.js +21 -18
  74. package/dist/index315.js +20 -19
  75. package/dist/index316.js +10 -12
  76. package/dist/index317.js +68 -21
  77. package/dist/index318.js +16 -60
  78. package/dist/index319.js +19 -84
  79. package/dist/index320.js +22 -202
  80. package/dist/index321.js +22 -246
  81. package/dist/index322.js +63 -15
  82. package/dist/index366.js +1 -1
  83. package/dist/index380.js +95 -98
  84. package/dist/index381.js +100 -16
  85. package/dist/index383.js +16 -97
  86. package/dist/index4.js +39 -18
  87. package/dist/index68.js +19 -4
  88. package/dist/src/components/avatar/avatar.d.ts +31 -0
  89. package/dist/src/components/avatar/avatar.stories.d.ts +29 -0
  90. package/dist/src/components/comment/comment.d.ts +27 -0
  91. package/dist/src/components/comment/comment.stories.d.ts +27 -0
  92. package/dist/src/components/comment-section/comment-section.d.ts +27 -0
  93. package/dist/src/components/comment-section/comment-section.stories.d.ts +27 -0
  94. package/dist/src/components/room-details-popover/room-details-popover.d.ts +27 -0
  95. package/package.json +1 -1
package/dist/index249.js CHANGED
@@ -1,24 +1,63 @@
1
- import r from "./index293.js";
2
- import { openBlock as o, createElementBlock as t, mergeProps as n, createElementVNode as C } from "vue";
3
- var l = {
4
- name: "ArrowDownIcon",
5
- extends: r
6
- }, i = /* @__PURE__ */ C("path", {
7
- "fill-rule": "evenodd",
8
- "clip-rule": "evenodd",
9
- d: "M6.99994 14C6.91097 14.0004 6.82281 13.983 6.74064 13.9489C6.65843 13.9148 6.58387 13.8646 6.52133 13.8013L1.10198 8.38193C0.982318 8.25351 0.917175 8.08367 0.920272 7.90817C0.923368 7.73267 0.994462 7.56523 1.11858 7.44111C1.24269 7.317 1.41014 7.2459 1.58563 7.2428C1.76113 7.23971 1.93098 7.30485 2.0594 7.42451L6.32263 11.6877V0.677419C6.32263 0.497756 6.394 0.325452 6.52104 0.198411C6.64808 0.0713706 6.82039 0 7.00005 0C7.17971 0 7.35202 0.0713706 7.47906 0.198411C7.6061 0.325452 7.67747 0.497756 7.67747 0.677419V11.6877L11.9407 7.42451C12.0691 7.30485 12.2389 7.23971 12.4144 7.2428C12.5899 7.2459 12.7574 7.317 12.8815 7.44111C13.0056 7.56523 13.0767 7.73267 13.0798 7.90817C13.0829 8.08367 13.0178 8.25351 12.8981 8.38193L7.47875 13.8013C7.41621 13.8646 7.34164 13.9148 7.25944 13.9489C7.17727 13.983 7.08912 14.0004 7.00015 14C7.00012 14 7.00009 14 7.00005 14C7.00001 14 6.99998 14 6.99994 14Z",
10
- fill: "currentColor"
11
- }, null, -1), p = [i];
12
- function d(e, s, a, c, m, h) {
13
- return o(), t("svg", n({
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);
20
- }
21
- l.render = d;
1
+ import { Node as l, textblockTypeInputRule as i, mergeAttributes as a } from "./index242.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
+ }));
59
+ }
60
+ });
22
61
  export {
23
- l as default
62
+ d as Heading
24
63
  };
package/dist/index250.js CHANGED
@@ -1,24 +1,56 @@
1
- import r from "./index293.js";
2
- import { openBlock as o, createElementBlock as t, mergeProps as n, createElementVNode as C } from "vue";
3
- var l = {
4
- name: "ArrowUpIcon",
5
- extends: r
6
- }, i = /* @__PURE__ */ C("path", {
7
- "fill-rule": "evenodd",
8
- "clip-rule": "evenodd",
9
- d: "M6.51551 13.799C6.64205 13.9255 6.813 13.9977 6.99193 14C7.17087 13.9977 7.34182 13.9255 7.46835 13.799C7.59489 13.6725 7.66701 13.5015 7.66935 13.3226V2.31233L11.9326 6.57554C11.9951 6.63887 12.0697 6.68907 12.1519 6.72319C12.2341 6.75731 12.3223 6.77467 12.4113 6.77425C12.5003 6.77467 12.5885 6.75731 12.6707 6.72319C12.7529 6.68907 12.8274 6.63887 12.89 6.57554C13.0168 6.44853 13.0881 6.27635 13.0881 6.09683C13.0881 5.91732 13.0168 5.74514 12.89 5.61812L7.48846 0.216594C7.48274 0.210436 7.4769 0.204374 7.47094 0.198411C7.3439 0.0713707 7.1716 0 6.99193 0C6.81227 0 6.63997 0.0713707 6.51293 0.198411C6.50704 0.204296 6.50128 0.210278 6.49563 0.216354L1.09386 5.61812C0.974201 5.74654 0.909057 5.91639 0.912154 6.09189C0.91525 6.26738 0.986345 6.43483 1.11046 6.55894C1.23457 6.68306 1.40202 6.75415 1.57752 6.75725C1.75302 6.76035 1.92286 6.6952 2.05128 6.57554L6.31451 2.31231V13.3226C6.31685 13.5015 6.38898 13.6725 6.51551 13.799Z",
10
- fill: "currentColor"
11
- }, null, -1), p = [i];
12
- function d(e, s, a, c, m, h) {
13
- return o(), t("svg", n({
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);
20
- }
21
- l.render = d;
1
+ import { Node as m, nodeInputRule as f, canInsertNode as h, isNodeSelection as T, mergeAttributes as y } from "./index242.js";
2
+ import { TextSelection as s, NodeSelection as N } from "./index257.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
+ });
22
54
  export {
23
- l as default
55
+ M as HorizontalRule
24
56
  };
package/dist/index251.js CHANGED
@@ -1,22 +1,77 @@
1
- import C from "./index293.js";
2
- import { openBlock as r, createElementBlock as t, mergeProps as o, createElementVNode as n } from "vue";
3
- var i = {
4
- name: "SpinnerIcon",
5
- extends: C
6
- }, p = /* @__PURE__ */ n("path", {
7
- d: "M6.99701 14C5.85441 13.999 4.72939 13.7186 3.72012 13.1832C2.71084 12.6478 1.84795 11.8737 1.20673 10.9284C0.565504 9.98305 0.165424 8.89526 0.041387 7.75989C-0.0826496 6.62453 0.073125 5.47607 0.495122 4.4147C0.917119 3.35333 1.59252 2.4113 2.46241 1.67077C3.33229 0.930247 4.37024 0.413729 5.4857 0.166275C6.60117 -0.0811796 7.76026 -0.0520535 8.86188 0.251112C9.9635 0.554278 10.9742 1.12227 11.8057 1.90555C11.915 2.01493 11.9764 2.16319 11.9764 2.31778C11.9764 2.47236 11.915 2.62062 11.8057 2.73C11.7521 2.78503 11.688 2.82877 11.6171 2.85864C11.5463 2.8885 11.4702 2.90389 11.3933 2.90389C11.3165 2.90389 11.2404 2.8885 11.1695 2.85864C11.0987 2.82877 11.0346 2.78503 10.9809 2.73C9.9998 1.81273 8.73246 1.26138 7.39226 1.16876C6.05206 1.07615 4.72086 1.44794 3.62279 2.22152C2.52471 2.99511 1.72683 4.12325 1.36345 5.41602C1.00008 6.70879 1.09342 8.08723 1.62775 9.31926C2.16209 10.5513 3.10478 11.5617 4.29713 12.1803C5.48947 12.7989 6.85865 12.988 8.17414 12.7157C9.48963 12.4435 10.6711 11.7264 11.5196 10.6854C12.3681 9.64432 12.8319 8.34282 12.8328 7C12.8328 6.84529 12.8943 6.69692 13.0038 6.58752C13.1132 6.47812 13.2616 6.41667 13.4164 6.41667C13.5712 6.41667 13.7196 6.47812 13.8291 6.58752C13.9385 6.69692 14 6.84529 14 7C14 8.85651 13.2622 10.637 11.9489 11.9497C10.6356 13.2625 8.85432 14 6.99701 14Z",
8
- fill: "currentColor"
9
- }, null, -1), l = [p];
10
- function s(e, a, c, d, m, h) {
11
- return r(), t("svg", o({
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()), l, 16);
18
- }
19
- i.render = s;
1
+ import { Mark as s, markPasteRule as r, markInputRule as a, mergeAttributes as n } from "./index242.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
- i as default
72
+ m as Italic,
73
+ i as starInputRegex,
74
+ d as starPasteRegex,
75
+ o as underscoreInputRegex,
76
+ l as underscorePasteRegex
22
77
  };