@quoreadmin/ui 1.8.9 → 1.8.10
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.
- package/dist/index.css +1 -1
- package/dist/index142.js +2 -2
- package/dist/index144.js +1 -1
- package/dist/index174.js +14 -14
- package/dist/index175.js +3 -3
- package/dist/index178.js +4 -4
- package/dist/index185.js +10 -10
- package/dist/index186.js +17 -5
- package/dist/index187.js +10 -10
- package/dist/index189.js +36 -1190
- package/dist/{index192.js → index190.js} +17 -17
- package/dist/index191.js +1190 -36
- package/dist/index193.js +9 -9
- package/dist/index194.js +1 -1
- package/dist/index195.js +1 -1
- package/dist/index196.js +1 -1
- package/dist/index198.js +2 -2
- package/dist/index200.js +14 -14
- package/dist/index201.js +1 -1
- package/dist/index202.js +1 -1
- package/dist/index203.js +3 -3
- package/dist/index204.js +6 -6
- package/dist/index205.js +84 -29
- package/dist/index206.js +400 -109
- package/dist/index207.js +22 -36
- package/dist/index208.js +33 -26
- package/dist/index209.js +111 -31
- package/dist/index210.js +35 -50
- package/dist/index211.js +26 -43
- package/dist/index212.js +35 -3
- package/dist/index213.js +51 -9
- package/dist/index214.js +42 -18
- package/dist/index215.js +4 -10
- package/dist/index216.js +9 -10
- package/dist/index217.js +18 -38
- package/dist/index218.js +10 -21
- package/dist/index219.js +10 -127
- package/dist/index220.js +37 -36
- package/dist/index221.js +21 -407
- package/dist/index222.js +123 -76
- package/dist/index223.js +37 -19
- package/dist/index224.js +77 -85
- package/dist/index225.js +11 -11
- package/dist/index226.js +2 -2
- package/dist/index227.js +2 -2
- package/dist/index228.js +10 -10
- package/dist/index229.js +20 -22
- package/dist/index230.js +159 -159
- package/dist/index231.js +20 -228
- package/dist/index232.js +21 -36
- package/dist/index233.js +198 -9
- package/dist/index234.js +63 -3629
- package/dist/index235.js +31 -52
- package/dist/index236.js +36 -73
- package/dist/index237.js +160 -51
- package/dist/index238.js +225 -212
- package/dist/index239.js +37 -10
- package/dist/index240.js +10 -57
- package/dist/index241.js +3621 -46
- package/dist/index242.js +36 -35
- package/dist/index243.js +30 -28
- package/dist/index244.js +28 -702
- package/dist/index245.js +195 -22
- package/dist/index246.js +9 -63
- package/dist/index247.js +54 -8
- package/dist/index248.js +51 -695
- package/dist/index249.js +49 -815
- package/dist/index250.js +68 -154
- package/dist/index251.js +725 -19
- package/dist/index252.js +42 -22
- package/dist/index253.js +55 -190
- package/dist/index254.js +11 -70
- package/dist/index255.js +704 -33
- package/dist/index256.js +817 -37
- package/dist/index260.js +2 -2
- package/dist/index261.js +1 -1
- package/dist/index267.js +1 -1
- package/dist/index268.js +1 -1
- package/dist/index269.js +5 -5
- package/dist/index283.js +1 -1
- package/dist/index284.js +54 -1534
- package/dist/index285.js +26 -386
- package/dist/index286.js +22 -2731
- package/dist/index287.js +21 -85
- package/dist/index288.js +16 -3792
- package/dist/index289.js +17 -60
- package/dist/index290.js +23 -15
- package/dist/index291.js +254 -76
- package/dist/index292.js +4 -200
- package/dist/index293.js +129 -235
- package/dist/index294.js +67 -256
- package/dist/index295.js +86 -5
- package/dist/index296.js +26 -137
- package/dist/index297.js +14 -71
- package/dist/index298.js +71 -83
- package/dist/index299.js +3 -28
- package/dist/index3.js +4 -66
- package/dist/index300.js +2 -16
- package/dist/index301.js +78 -70
- package/dist/index302.js +52 -3
- package/dist/index303.js +6 -2
- package/dist/index304.js +4 -82
- package/dist/index305.js +177 -51
- package/dist/index306.js +62 -5
- package/dist/index307.js +75 -5
- package/dist/index308.js +1504 -149
- package/dist/index309.js +378 -55
- package/dist/index310.js +2731 -75
- package/dist/index311.js +82 -50
- package/dist/index312.js +3792 -26
- package/dist/index313.js +59 -21
- package/dist/index314.js +15 -22
- package/dist/index315.js +84 -16
- package/dist/index316.js +201 -16
- package/dist/index317.js +246 -23
- package/dist/index322.js +2 -2
- package/dist/index333.js +2 -2
- package/dist/index334.js +1 -1
- package/dist/index335.js +6 -6
- package/dist/index336.js +2 -2
- package/dist/index337.js +2 -2
- package/dist/index339.js +2 -2
- package/dist/index340.js +2 -2
- package/dist/index341.js +1 -1
- package/dist/index343.js +8 -8
- package/dist/index344.js +8 -8
- package/dist/index345.js +9 -8
- package/dist/index346.js +10 -13
- package/dist/index347.js +13 -54
- package/dist/index348.js +10 -12
- package/dist/index349.js +15 -12
- package/dist/index350.js +8 -57
- package/dist/index351.js +12 -51
- package/dist/index352.js +49 -25
- package/dist/index353.js +12 -2
- package/dist/index354.js +14 -5
- package/dist/index355.js +58 -2
- package/dist/index356.js +52 -23
- package/dist/index357.js +28 -38
- package/dist/index358.js +2 -2
- package/dist/index359.js +4 -10
- package/dist/index360.js +2 -20
- package/dist/index361.js +22 -9
- package/dist/index362.js +40 -9
- package/dist/index363.js +2 -17
- package/dist/index364.js +11 -2
- package/dist/index365.js +20 -9
- package/dist/index366.js +2 -10
- package/dist/index367.js +8 -13
- package/dist/index370.js +1 -1
- package/dist/index372.js +30 -97
- package/dist/index373.js +10 -100
- package/dist/index374.js +3 -30
- package/dist/index375.js +3 -10
- package/dist/index376.js +13 -4
- package/dist/index377.js +7 -4
- package/dist/index378.js +12 -13
- package/dist/index379.js +5 -7
- package/dist/index380.js +33 -12
- package/dist/index381.js +31 -5
- package/dist/index382.js +27 -32
- package/dist/index383.js +58 -28
- package/dist/index384.js +99 -26
- package/dist/index385.js +91 -61
- package/dist/index386.js +98 -91
- package/dist/index388.js +1 -1
- package/dist/index394.js +1 -1
- package/dist/index45.js +31 -24
- package/dist/index64.js +86 -48
- package/dist/src/components/activity-item/activity-item.stories.d.ts +3 -0
- package/dist/src/components/activity-item/activity-item.vue.d.ts +35 -2
- package/dist/src/components/comment/comment.d.ts +2 -2
- package/dist/src/components/comment/comment.stories.d.ts +2 -2
- package/dist/src/components/comment-section/comment-section.d.ts +2 -2
- package/dist/src/components/comment-section/comment-section.stories.d.ts +2 -2
- package/dist/src/components/room-details-popover/room-details-popover.d.ts +55 -76
- package/package.json +1 -1
- package/dist/src/components/activity-item/activity-item.d.ts +0 -85
package/dist/index242.js
CHANGED
|
@@ -1,56 +1,57 @@
|
|
|
1
|
-
import { Node as
|
|
2
|
-
import {
|
|
3
|
-
var
|
|
4
|
-
name: "
|
|
1
|
+
import { Node as a, wrappingInputRule as c, mergeAttributes as d } from "./index241.js";
|
|
2
|
+
import { createElement as i } from "./index314.js";
|
|
3
|
+
var l = /^\s*>\s$/, g = a.create({
|
|
4
|
+
name: "blockquote",
|
|
5
5
|
addOptions() {
|
|
6
6
|
return {
|
|
7
|
-
HTMLAttributes: {}
|
|
8
|
-
nextNodeType: "paragraph"
|
|
7
|
+
HTMLAttributes: {}
|
|
9
8
|
};
|
|
10
9
|
},
|
|
10
|
+
content: "block+",
|
|
11
11
|
group: "block",
|
|
12
|
+
defining: !0,
|
|
12
13
|
parseHTML() {
|
|
13
|
-
return [{ tag: "
|
|
14
|
+
return [{ tag: "blockquote" }];
|
|
14
15
|
},
|
|
15
|
-
renderHTML({ HTMLAttributes:
|
|
16
|
-
return
|
|
16
|
+
renderHTML({ HTMLAttributes: t }) {
|
|
17
|
+
return /* @__PURE__ */ i("blockquote", { ...d(this.options.HTMLAttributes, t), children: /* @__PURE__ */ i("slot", {}) });
|
|
18
|
+
},
|
|
19
|
+
parseMarkdown: (t, e) => e.createNode("blockquote", void 0, e.parseChildren(t.tokens || [])),
|
|
20
|
+
renderMarkdown: (t, e) => {
|
|
21
|
+
if (!t.content)
|
|
22
|
+
return "";
|
|
23
|
+
const r = ">", n = [];
|
|
24
|
+
return t.content.forEach((u) => {
|
|
25
|
+
const s = e.renderChildren([u]).split(`
|
|
26
|
+
`).map((o) => o.trim() === "" ? r : `${r} ${o}`);
|
|
27
|
+
n.push(s.join(`
|
|
28
|
+
`));
|
|
29
|
+
}), n.join(`
|
|
30
|
+
${r}
|
|
31
|
+
`);
|
|
17
32
|
},
|
|
18
|
-
markdownTokenName: "hr",
|
|
19
|
-
parseMarkdown: (n, o) => o.createNode("horizontalRule"),
|
|
20
|
-
renderMarkdown: () => "---",
|
|
21
33
|
addCommands() {
|
|
22
34
|
return {
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
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
|
-
}
|
|
35
|
+
setBlockquote: () => ({ commands: t }) => t.wrapIn(this.name),
|
|
36
|
+
toggleBlockquote: () => ({ commands: t }) => t.toggleWrap(this.name),
|
|
37
|
+
unsetBlockquote: () => ({ commands: t }) => t.lift(this.name)
|
|
38
|
+
};
|
|
39
|
+
},
|
|
40
|
+
addKeyboardShortcuts() {
|
|
41
|
+
return {
|
|
42
|
+
"Mod-Shift-b": () => this.editor.commands.toggleBlockquote()
|
|
43
43
|
};
|
|
44
44
|
},
|
|
45
45
|
addInputRules() {
|
|
46
46
|
return [
|
|
47
|
-
|
|
48
|
-
find:
|
|
47
|
+
c({
|
|
48
|
+
find: l,
|
|
49
49
|
type: this.type
|
|
50
50
|
})
|
|
51
51
|
];
|
|
52
52
|
}
|
|
53
53
|
});
|
|
54
54
|
export {
|
|
55
|
-
|
|
55
|
+
g as Blockquote,
|
|
56
|
+
l as inputRegex
|
|
56
57
|
};
|
package/dist/index243.js
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
|
-
import { Mark as
|
|
2
|
-
|
|
3
|
-
|
|
1
|
+
import { Mark as a, markPasteRule as r, markInputRule as s, mergeAttributes as o } from "./index241.js";
|
|
2
|
+
import { createElement as n } from "./index314.js";
|
|
3
|
+
var d = /(?:^|\s)(\*\*(?!\s+\*\*)((?:[^*]+))\*\*(?!\s+\*\*))$/, l = /(?:^|\s)(\*\*(?!\s+\*\*)((?:[^*]+))\*\*(?!\s+\*\*))/g, i = /(?:^|\s)(__(?!\s+__)((?:[^_]+))__(?!\s+__))$/, u = /(?:^|\s)(__(?!\s+__)((?:[^_]+))__(?!\s+__))/g, p = a.create({
|
|
4
|
+
name: "bold",
|
|
4
5
|
addOptions() {
|
|
5
6
|
return {
|
|
6
7
|
HTMLAttributes: {}
|
|
@@ -9,48 +10,49 @@ var i = /(?:^|\s)(\*(?!\s+\*)((?:[^*]+))\*(?!\s+\*))$/, d = /(?:^|\s)(\*(?!\s+\*
|
|
|
9
10
|
parseHTML() {
|
|
10
11
|
return [
|
|
11
12
|
{
|
|
12
|
-
tag: "
|
|
13
|
+
tag: "strong"
|
|
13
14
|
},
|
|
14
15
|
{
|
|
15
|
-
tag: "
|
|
16
|
-
getAttrs: (t) => t.style.
|
|
16
|
+
tag: "b",
|
|
17
|
+
getAttrs: (t) => t.style.fontWeight !== "normal" && null
|
|
17
18
|
},
|
|
18
19
|
{
|
|
19
|
-
style: "font-
|
|
20
|
+
style: "font-weight=400",
|
|
20
21
|
clearMark: (t) => t.type.name === this.name
|
|
21
22
|
},
|
|
22
23
|
{
|
|
23
|
-
style: "font-
|
|
24
|
+
style: "font-weight",
|
|
25
|
+
getAttrs: (t) => /^(bold(er)?|[5-9]\d{2,})$/.test(t) && null
|
|
24
26
|
}
|
|
25
27
|
];
|
|
26
28
|
},
|
|
27
29
|
renderHTML({ HTMLAttributes: t }) {
|
|
28
|
-
return
|
|
30
|
+
return /* @__PURE__ */ n("strong", { ...o(this.options.HTMLAttributes, t), children: /* @__PURE__ */ n("slot", {}) });
|
|
29
31
|
},
|
|
32
|
+
markdownTokenName: "strong",
|
|
33
|
+
parseMarkdown: (t, e) => e.applyMark("bold", e.parseInline(t.tokens || [])),
|
|
34
|
+
renderMarkdown: (t, e) => `**${e.renderChildren(t)}**`,
|
|
30
35
|
addCommands() {
|
|
31
36
|
return {
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
37
|
+
setBold: () => ({ commands: t }) => t.setMark(this.name),
|
|
38
|
+
toggleBold: () => ({ commands: t }) => t.toggleMark(this.name),
|
|
39
|
+
unsetBold: () => ({ commands: t }) => t.unsetMark(this.name)
|
|
35
40
|
};
|
|
36
41
|
},
|
|
37
|
-
markdownTokenName: "em",
|
|
38
|
-
parseMarkdown: (t, e) => e.applyMark("italic", e.parseInline(t.tokens || [])),
|
|
39
|
-
renderMarkdown: (t, e) => `*${e.renderChildren(t)}*`,
|
|
40
42
|
addKeyboardShortcuts() {
|
|
41
43
|
return {
|
|
42
|
-
"Mod-
|
|
43
|
-
"Mod-
|
|
44
|
+
"Mod-b": () => this.editor.commands.toggleBold(),
|
|
45
|
+
"Mod-B": () => this.editor.commands.toggleBold()
|
|
44
46
|
};
|
|
45
47
|
},
|
|
46
48
|
addInputRules() {
|
|
47
49
|
return [
|
|
48
|
-
|
|
49
|
-
find:
|
|
50
|
+
s({
|
|
51
|
+
find: d,
|
|
50
52
|
type: this.type
|
|
51
53
|
}),
|
|
52
|
-
|
|
53
|
-
find:
|
|
54
|
+
s({
|
|
55
|
+
find: i,
|
|
54
56
|
type: this.type
|
|
55
57
|
})
|
|
56
58
|
];
|
|
@@ -58,20 +60,20 @@ var i = /(?:^|\s)(\*(?!\s+\*)((?:[^*]+))\*(?!\s+\*))$/, d = /(?:^|\s)(\*(?!\s+\*
|
|
|
58
60
|
addPasteRules() {
|
|
59
61
|
return [
|
|
60
62
|
r({
|
|
61
|
-
find:
|
|
63
|
+
find: l,
|
|
62
64
|
type: this.type
|
|
63
65
|
}),
|
|
64
66
|
r({
|
|
65
|
-
find:
|
|
67
|
+
find: u,
|
|
66
68
|
type: this.type
|
|
67
69
|
})
|
|
68
70
|
];
|
|
69
71
|
}
|
|
70
72
|
});
|
|
71
73
|
export {
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
74
|
+
p as Bold,
|
|
75
|
+
d as starInputRegex,
|
|
76
|
+
l as starPasteRegex,
|
|
77
|
+
i as underscoreInputRegex,
|
|
78
|
+
u as underscorePasteRegex
|
|
77
79
|
};
|