@quoreadmin/ui 1.10.3 → 1.10.5
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/index138.js +155 -105
- package/dist/index147.js +1 -1
- package/dist/index186.js +4 -4
- package/dist/index193.js +8 -8
- package/dist/index195.js +8 -8
- package/dist/index201.js +7 -7
- package/dist/index206.js +2 -2
- package/dist/index208.js +14 -14
- package/dist/index209.js +1 -1
- package/dist/index210.js +1 -1
- package/dist/index211.js +3 -3
- package/dist/index212.js +6 -6
- package/dist/index230.js +159 -159
- package/dist/index231.js +228 -20
- package/dist/index232.js +36 -19
- package/dist/index233.js +10 -22
- package/dist/index234.js +113 -185
- package/dist/index235.js +25 -57
- package/dist/index236.js +77 -31
- package/dist/index237.js +19 -39
- package/dist/index238.js +19 -126
- package/dist/index239.js +16 -34
- package/dist/index240.js +20 -80
- package/dist/index241.js +10 -10
- package/dist/index242.js +3636 -20
- package/dist/index243.js +55 -20
- package/dist/index244.js +77 -20
- package/dist/index245.js +51 -160
- package/dist/index246.js +212 -225
- package/dist/index247.js +10 -37
- package/dist/index248.js +57 -10
- package/dist/index249.js +46 -3621
- package/dist/index250.js +35 -36
- package/dist/index251.js +28 -30
- package/dist/index252.js +702 -28
- package/dist/index253.js +22 -195
- package/dist/index254.js +63 -9
- package/dist/index255.js +8 -54
- package/dist/index256.js +695 -51
- package/dist/index257.js +815 -49
- package/dist/index258.js +154 -68
- package/dist/index259.js +19 -725
- package/dist/index260.js +22 -42
- package/dist/index261.js +190 -55
- package/dist/index262.js +70 -11
- package/dist/index263.js +33 -704
- package/dist/index264.js +37 -817
- package/dist/index277.js +3 -3
- package/dist/index292.js +2 -54
- package/dist/index294.js +1534 -26
- package/dist/index295.js +386 -22
- package/dist/index296.js +2731 -22
- package/dist/index297.js +86 -16
- package/dist/index298.js +3792 -17
- package/dist/index299.js +59 -22
- package/dist/index300.js +15 -2
- package/dist/index301.js +62 -1512
- package/dist/index302.js +172 -356
- package/dist/index303.js +210 -2695
- package/dist/index304.js +50 -82
- package/dist/index305.js +26 -3792
- package/dist/index306.js +21 -59
- package/dist/index307.js +22 -15
- package/dist/index308.js +16 -84
- package/dist/index309.js +16 -201
- package/dist/index310.js +23 -246
- package/dist/index313.js +1 -1
- package/dist/index380.js +95 -98
- package/dist/index381.js +100 -90
- package/dist/index382.js +91 -98
- package/dist/index41.js +5 -5
- package/dist/src/components/comment/comment.d.ts +6 -0
- package/dist/src/components/comment/comment.stories.d.ts +6 -0
- package/dist/src/components/comment-section/comment-section.d.ts +6 -0
- package/dist/src/components/comment-section/comment-section.stories.d.ts +6 -0
- package/dist/src/components/data-filter/data-filter.d.ts +6 -0
- package/dist/src/components/data-list/data-list.d.ts +6 -0
- package/dist/src/components/grid/grid.stories.d.ts +12 -0
- package/dist/src/components/popover/popover.d.ts +6 -0
- package/dist/src/components/popover/popover.stories.d.ts +42 -0
- package/dist/src/components/room-details-popover/room-details-popover.d.ts +6 -0
- package/dist/src/views/lists.vue.d.ts +12 -0
- package/dist/src/views/tables.vue.d.ts +6 -0
- package/package.json +1 -1
package/dist/index250.js
CHANGED
|
@@ -1,57 +1,56 @@
|
|
|
1
|
-
import { Node as
|
|
2
|
-
import {
|
|
3
|
-
var
|
|
4
|
-
name: "
|
|
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
5
|
addOptions() {
|
|
6
6
|
return {
|
|
7
|
-
HTMLAttributes: {}
|
|
7
|
+
HTMLAttributes: {},
|
|
8
|
+
nextNodeType: "paragraph"
|
|
8
9
|
};
|
|
9
10
|
},
|
|
10
|
-
content: "block+",
|
|
11
11
|
group: "block",
|
|
12
|
-
defining: !0,
|
|
13
12
|
parseHTML() {
|
|
14
|
-
return [{ tag: "
|
|
13
|
+
return [{ tag: "hr" }];
|
|
15
14
|
},
|
|
16
|
-
renderHTML({ HTMLAttributes:
|
|
17
|
-
return
|
|
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
|
-
`);
|
|
15
|
+
renderHTML({ HTMLAttributes: n }) {
|
|
16
|
+
return ["hr", y(this.options.HTMLAttributes, n)];
|
|
32
17
|
},
|
|
18
|
+
markdownTokenName: "hr",
|
|
19
|
+
parseMarkdown: (n, o) => o.createNode("horizontalRule"),
|
|
20
|
+
renderMarkdown: () => "---",
|
|
33
21
|
addCommands() {
|
|
34
22
|
return {
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
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
43
|
};
|
|
44
44
|
},
|
|
45
45
|
addInputRules() {
|
|
46
46
|
return [
|
|
47
|
-
|
|
48
|
-
find:
|
|
47
|
+
f({
|
|
48
|
+
find: /^(?:---|—-|___\s|\*\*\*\s)$/,
|
|
49
49
|
type: this.type
|
|
50
50
|
})
|
|
51
51
|
];
|
|
52
52
|
}
|
|
53
53
|
});
|
|
54
54
|
export {
|
|
55
|
-
|
|
56
|
-
l as inputRegex
|
|
55
|
+
M as HorizontalRule
|
|
57
56
|
};
|
package/dist/index251.js
CHANGED
|
@@ -1,7 +1,6 @@
|
|
|
1
|
-
import { Mark as
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
name: "bold",
|
|
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",
|
|
5
4
|
addOptions() {
|
|
6
5
|
return {
|
|
7
6
|
HTMLAttributes: {}
|
|
@@ -10,49 +9,48 @@ var d = /(?:^|\s)(\*\*(?!\s+\*\*)((?:[^*]+))\*\*(?!\s+\*\*))$/, l = /(?:^|\s)(\*
|
|
|
10
9
|
parseHTML() {
|
|
11
10
|
return [
|
|
12
11
|
{
|
|
13
|
-
tag: "
|
|
12
|
+
tag: "em"
|
|
14
13
|
},
|
|
15
14
|
{
|
|
16
|
-
tag: "
|
|
17
|
-
getAttrs: (t) => t.style.
|
|
15
|
+
tag: "i",
|
|
16
|
+
getAttrs: (t) => t.style.fontStyle !== "normal" && null
|
|
18
17
|
},
|
|
19
18
|
{
|
|
20
|
-
style: "font-
|
|
19
|
+
style: "font-style=normal",
|
|
21
20
|
clearMark: (t) => t.type.name === this.name
|
|
22
21
|
},
|
|
23
22
|
{
|
|
24
|
-
style: "font-
|
|
25
|
-
getAttrs: (t) => /^(bold(er)?|[5-9]\d{2,})$/.test(t) && null
|
|
23
|
+
style: "font-style=italic"
|
|
26
24
|
}
|
|
27
25
|
];
|
|
28
26
|
},
|
|
29
27
|
renderHTML({ HTMLAttributes: t }) {
|
|
30
|
-
return
|
|
28
|
+
return ["em", n(this.options.HTMLAttributes, t), 0];
|
|
31
29
|
},
|
|
32
|
-
markdownTokenName: "strong",
|
|
33
|
-
parseMarkdown: (t, e) => e.applyMark("bold", e.parseInline(t.tokens || [])),
|
|
34
|
-
renderMarkdown: (t, e) => `**${e.renderChildren(t)}**`,
|
|
35
30
|
addCommands() {
|
|
36
31
|
return {
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
32
|
+
setItalic: () => ({ commands: t }) => t.setMark(this.name),
|
|
33
|
+
toggleItalic: () => ({ commands: t }) => t.toggleMark(this.name),
|
|
34
|
+
unsetItalic: () => ({ commands: t }) => t.unsetMark(this.name)
|
|
40
35
|
};
|
|
41
36
|
},
|
|
37
|
+
markdownTokenName: "em",
|
|
38
|
+
parseMarkdown: (t, e) => e.applyMark("italic", e.parseInline(t.tokens || [])),
|
|
39
|
+
renderMarkdown: (t, e) => `*${e.renderChildren(t)}*`,
|
|
42
40
|
addKeyboardShortcuts() {
|
|
43
41
|
return {
|
|
44
|
-
"Mod-
|
|
45
|
-
"Mod-
|
|
42
|
+
"Mod-i": () => this.editor.commands.toggleItalic(),
|
|
43
|
+
"Mod-I": () => this.editor.commands.toggleItalic()
|
|
46
44
|
};
|
|
47
45
|
},
|
|
48
46
|
addInputRules() {
|
|
49
47
|
return [
|
|
50
|
-
|
|
51
|
-
find:
|
|
48
|
+
a({
|
|
49
|
+
find: i,
|
|
52
50
|
type: this.type
|
|
53
51
|
}),
|
|
54
|
-
|
|
55
|
-
find:
|
|
52
|
+
a({
|
|
53
|
+
find: o,
|
|
56
54
|
type: this.type
|
|
57
55
|
})
|
|
58
56
|
];
|
|
@@ -60,20 +58,20 @@ var d = /(?:^|\s)(\*\*(?!\s+\*\*)((?:[^*]+))\*\*(?!\s+\*\*))$/, l = /(?:^|\s)(\*
|
|
|
60
58
|
addPasteRules() {
|
|
61
59
|
return [
|
|
62
60
|
r({
|
|
63
|
-
find:
|
|
61
|
+
find: d,
|
|
64
62
|
type: this.type
|
|
65
63
|
}),
|
|
66
64
|
r({
|
|
67
|
-
find:
|
|
65
|
+
find: l,
|
|
68
66
|
type: this.type
|
|
69
67
|
})
|
|
70
68
|
];
|
|
71
69
|
}
|
|
72
70
|
});
|
|
73
71
|
export {
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
72
|
+
m as Italic,
|
|
73
|
+
i as starInputRegex,
|
|
74
|
+
d as starPasteRegex,
|
|
75
|
+
o as underscoreInputRegex,
|
|
76
|
+
l as underscorePasteRegex
|
|
79
77
|
};
|