@quoreadmin/ui 1.10.16 → 1.10.18
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 +137 -114
- package/dist/index15.js +43 -38
- package/dist/index186.js +4 -4
- package/dist/index193.js +8 -8
- package/dist/index195.js +8 -8
- package/dist/index198.js +17 -17
- package/dist/index201.js +23 -23
- package/dist/index202.js +1 -1
- package/dist/index203.js +1 -1
- 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/index217.js +1 -1
- package/dist/index219.js +4 -4
- package/dist/index22.js +28 -26
- package/dist/index221.js +1 -1
- package/dist/index222.js +1 -1
- package/dist/index223.js +1 -1
- package/dist/index224.js +4 -4
- package/dist/index226.js +1 -1
- package/dist/index230.js +122 -156
- package/dist/index231.js +35 -225
- package/dist/index232.js +80 -37
- package/dist/index233.js +20 -10
- package/dist/index234.js +19 -160
- package/dist/index235.js +10 -10
- package/dist/index236.js +11 -11
- package/dist/index237.js +13 -15
- package/dist/index238.js +3619 -182
- package/dist/index239.js +51 -66
- package/dist/index240.js +74 -31
- package/dist/index241.js +48 -36
- package/dist/index242.js +182 -3603
- package/dist/index243.js +8 -53
- package/dist/index244.js +40 -60
- package/dist/index245.js +44 -35
- package/dist/index246.js +32 -193
- package/dist/index247.js +74 -9
- package/dist/index248.js +707 -38
- package/dist/index249.js +25 -44
- package/dist/index250.js +46 -36
- package/dist/index251.js +10 -74
- package/dist/index252.js +679 -700
- package/dist/index253.js +817 -39
- package/dist/index254.js +154 -57
- package/dist/index255.js +20 -11
- package/dist/index256.js +22 -705
- package/dist/index257.js +189 -810
- package/dist/index258.js +69 -21
- package/dist/index259.js +34 -22
- package/dist/index260.js +39 -19
- package/dist/index261.js +22 -836
- package/dist/index262.js +21 -701
- package/dist/index263.js +20 -176
- package/dist/index264.js +836 -20
- package/dist/index265.js +701 -19
- package/dist/index266.js +176 -22
- package/dist/index267.js +13 -11
- package/dist/index268.js +8 -8
- package/dist/index269.js +20 -3
- package/dist/index270.js +3 -187
- package/dist/index271.js +96 -42
- package/dist/index272.js +70 -1160
- package/dist/index273.js +1197 -101
- package/dist/index277.js +28 -37
- package/dist/index278.js +11 -20
- package/dist/index279.js +8 -8
- package/dist/index280.js +2 -20
- package/dist/index282.js +161 -2
- package/dist/index283.js +227 -79
- package/dist/index284.js +36 -19
- package/dist/index285.js +10 -20
- 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 +14 -1533
- package/dist/index301.js +69 -371
- package/dist/index302.js +158 -2687
- package/dist/index303.js +233 -73
- package/dist/index304.js +54 -3792
- package/dist/index305.js +25 -59
- package/dist/index306.js +22 -15
- package/dist/index307.js +21 -83
- package/dist/index308.js +15 -201
- package/dist/index309.js +17 -246
- package/dist/index310.js +23 -2
- package/dist/index313.js +1 -1
- package/dist/index323.js +8 -261
- package/dist/index324.js +12 -5
- package/dist/index325.js +51 -136
- package/dist/index326.js +11 -72
- package/dist/index327.js +12 -85
- package/dist/index328.js +54 -25
- package/dist/index329.js +50 -14
- package/dist/index330.js +27 -71
- package/dist/index331.js +2 -4
- package/dist/index332.js +5 -2
- package/dist/index333.js +2 -83
- package/dist/index334.js +23 -53
- package/dist/index335.js +39 -4
- package/dist/index336.js +2 -5
- package/dist/index337.js +10 -178
- package/dist/index338.js +18 -61
- package/dist/index339.js +9 -74
- package/dist/index340.js +10 -9
- package/dist/index341.js +16 -12
- package/dist/index342.js +2 -55
- package/dist/index343.js +9 -12
- package/dist/index344.js +9 -13
- package/dist/index345.js +13 -57
- package/dist/index346.js +258 -48
- package/dist/index347.js +4 -29
- package/dist/index348.js +140 -2
- package/dist/index349.js +73 -5
- package/dist/index350.js +87 -2
- package/dist/index351.js +29 -23
- package/dist/index352.js +15 -40
- package/dist/index353.js +75 -2
- package/dist/index354.js +4 -11
- package/dist/index355.js +2 -20
- package/dist/index356.js +83 -10
- package/dist/index357.js +53 -10
- package/dist/index358.js +4 -15
- package/dist/index359.js +5 -2
- package/dist/index360.js +179 -9
- package/dist/index361.js +62 -9
- package/dist/index362.js +74 -13
- package/dist/index368.js +1 -1
- package/dist/index369.js +1 -1
- package/dist/index370.js +5 -5
- package/dist/index372.js +2 -2
- package/dist/index374.js +2 -2
- package/dist/index376.js +1 -1
- package/dist/index378.js +4 -4
- package/dist/index379.js +3 -3
- package/dist/index380.js +98 -95
- package/dist/index381.js +90 -100
- package/dist/index382.js +98 -91
- package/dist/index384.js +1 -1
- package/dist/index385.js +3 -3
- package/dist/index390.js +1 -1
- package/dist/index392.js +1 -1
- package/dist/index393.js +3 -3
- package/dist/index394.js +3 -3
- package/dist/index4.js +5 -5
- package/dist/index402.js +1 -1
- package/dist/index88.js +43 -31
- package/dist/src/components/comment/comment.d.ts +9 -0
- package/dist/src/components/comment/comment.stories.d.ts +9 -0
- package/dist/src/components/comment-section/comment-section.d.ts +9 -0
- package/dist/src/components/comment-section/comment-section.stories.d.ts +9 -0
- package/dist/src/components/data-filter/data-filter.d.ts +27 -0
- package/dist/src/components/data-filter/data-filter.stories.d.ts +8 -0
- package/dist/src/components/data-list/data-list.d.ts +27 -0
- package/dist/src/components/grid/grid.stories.d.ts +36 -0
- package/dist/src/components/popover/popover.d.ts +17 -2
- package/dist/src/components/popover/popover.stories.d.ts +63 -0
- package/dist/src/components/room-details-popover/room-details-popover.d.ts +9 -0
- package/dist/src/views/lists.vue.d.ts +54 -0
- package/dist/src/views/tables.vue.d.ts +27 -0
- package/package.json +1 -1
package/dist/index239.js
CHANGED
|
@@ -1,72 +1,57 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
1
|
+
import { Node as a, wrappingInputRule as c, mergeAttributes as d } from "./index238.js";
|
|
2
|
+
import { createElement as i } from "./index300.js";
|
|
3
|
+
var l = /^\s*>\s$/, g = a.create({
|
|
4
|
+
name: "blockquote",
|
|
5
|
+
addOptions() {
|
|
6
|
+
return {
|
|
7
|
+
HTMLAttributes: {}
|
|
8
|
+
};
|
|
9
|
+
},
|
|
10
|
+
content: "block+",
|
|
11
|
+
group: "block",
|
|
12
|
+
defining: !0,
|
|
13
|
+
parseHTML() {
|
|
14
|
+
return [{ tag: "blockquote" }];
|
|
15
|
+
},
|
|
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
|
+
`);
|
|
20
32
|
},
|
|
21
|
-
|
|
22
|
-
provide: function() {
|
|
33
|
+
addCommands() {
|
|
23
34
|
return {
|
|
24
|
-
|
|
35
|
+
setBlockquote: () => ({ commands: t }) => t.wrapIn(this.name),
|
|
36
|
+
toggleBlockquote: () => ({ commands: t }) => t.toggleWrap(this.name),
|
|
37
|
+
unsetBlockquote: () => ({ commands: t }) => t.lift(this.name)
|
|
25
38
|
};
|
|
39
|
+
},
|
|
40
|
+
addKeyboardShortcuts() {
|
|
41
|
+
return {
|
|
42
|
+
"Mod-Shift-b": () => this.editor.commands.toggleBlockquote()
|
|
43
|
+
};
|
|
44
|
+
},
|
|
45
|
+
addInputRules() {
|
|
46
|
+
return [
|
|
47
|
+
c({
|
|
48
|
+
find: l,
|
|
49
|
+
type: this.type
|
|
50
|
+
})
|
|
51
|
+
];
|
|
26
52
|
}
|
|
27
|
-
}
|
|
28
|
-
name: "ProgressBar",
|
|
29
|
-
extends: p,
|
|
30
|
-
inheritAttrs: !1,
|
|
31
|
-
computed: {
|
|
32
|
-
progressStyle: function() {
|
|
33
|
-
return {
|
|
34
|
-
width: this.value + "%",
|
|
35
|
-
display: "flex"
|
|
36
|
-
};
|
|
37
|
-
},
|
|
38
|
-
indeterminate: function() {
|
|
39
|
-
return this.mode === "indeterminate";
|
|
40
|
-
},
|
|
41
|
-
determinate: function() {
|
|
42
|
-
return this.mode === "determinate";
|
|
43
|
-
}
|
|
44
|
-
}
|
|
45
|
-
}, c = ["aria-valuenow"];
|
|
46
|
-
function f(e, y, g, h, B, n) {
|
|
47
|
-
return t(), a("div", r({
|
|
48
|
-
role: "progressbar",
|
|
49
|
-
class: e.cx("root"),
|
|
50
|
-
"aria-valuemin": "0",
|
|
51
|
-
"aria-valuenow": e.value,
|
|
52
|
-
"aria-valuemax": "100"
|
|
53
|
-
}, e.ptmi("root")), [n.determinate ? (t(), a("div", r({
|
|
54
|
-
key: 0,
|
|
55
|
-
class: e.cx("value"),
|
|
56
|
-
style: n.progressStyle
|
|
57
|
-
}, e.ptm("value")), [e.value != null && e.value !== 0 && e.showValue ? (t(), a("div", r({
|
|
58
|
-
key: 0,
|
|
59
|
-
class: e.cx("label")
|
|
60
|
-
}, e.ptm("label")), [s(e.$slots, "default", {}, function() {
|
|
61
|
-
return [u(d(e.value + "%"), 1)];
|
|
62
|
-
})], 16)) : l("", !0)], 16)) : l("", !0), n.indeterminate ? (t(), a("div", r({
|
|
63
|
-
key: 1,
|
|
64
|
-
class: e.cx("container")
|
|
65
|
-
}, e.ptm("container")), [m("div", r({
|
|
66
|
-
class: e.cx("value")
|
|
67
|
-
}, e.ptm("value")), null, 16)], 16)) : l("", !0)], 16, c);
|
|
68
|
-
}
|
|
69
|
-
v.render = f;
|
|
53
|
+
});
|
|
70
54
|
export {
|
|
71
|
-
|
|
55
|
+
g as Blockquote,
|
|
56
|
+
l as inputRegex
|
|
72
57
|
};
|
package/dist/index240.js
CHANGED
|
@@ -1,36 +1,79 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
1
|
+
import { Mark as a, markPasteRule as r, markInputRule as s, mergeAttributes as o } from "./index238.js";
|
|
2
|
+
import { createElement as n } from "./index300.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",
|
|
5
|
+
addOptions() {
|
|
6
|
+
return {
|
|
7
|
+
HTMLAttributes: {}
|
|
8
|
+
};
|
|
6
9
|
},
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
10
|
+
parseHTML() {
|
|
11
|
+
return [
|
|
12
|
+
{
|
|
13
|
+
tag: "strong"
|
|
14
|
+
},
|
|
15
|
+
{
|
|
16
|
+
tag: "b",
|
|
17
|
+
getAttrs: (t) => t.style.fontWeight !== "normal" && null
|
|
18
|
+
},
|
|
19
|
+
{
|
|
20
|
+
style: "font-weight=400",
|
|
21
|
+
clearMark: (t) => t.type.name === this.name
|
|
22
|
+
},
|
|
23
|
+
{
|
|
24
|
+
style: "font-weight",
|
|
25
|
+
getAttrs: (t) => /^(bold(er)?|[5-9]\d{2,})$/.test(t) && null
|
|
26
|
+
}
|
|
27
|
+
];
|
|
15
28
|
},
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
29
|
+
renderHTML({ HTMLAttributes: t }) {
|
|
30
|
+
return /* @__PURE__ */ n("strong", { ...o(this.options.HTMLAttributes, t), children: /* @__PURE__ */ n("slot", {}) });
|
|
31
|
+
},
|
|
32
|
+
markdownTokenName: "strong",
|
|
33
|
+
parseMarkdown: (t, e) => e.applyMark("bold", e.parseInline(t.tokens || [])),
|
|
34
|
+
renderMarkdown: (t, e) => `**${e.renderChildren(t)}**`,
|
|
35
|
+
addCommands() {
|
|
36
|
+
return {
|
|
37
|
+
setBold: () => ({ commands: t }) => t.setMark(this.name),
|
|
38
|
+
toggleBold: () => ({ commands: t }) => t.toggleMark(this.name),
|
|
39
|
+
unsetBold: () => ({ commands: t }) => t.unsetMark(this.name)
|
|
40
|
+
};
|
|
41
|
+
},
|
|
42
|
+
addKeyboardShortcuts() {
|
|
43
|
+
return {
|
|
44
|
+
"Mod-b": () => this.editor.commands.toggleBold(),
|
|
45
|
+
"Mod-B": () => this.editor.commands.toggleBold()
|
|
46
|
+
};
|
|
47
|
+
},
|
|
48
|
+
addInputRules() {
|
|
49
|
+
return [
|
|
50
|
+
s({
|
|
51
|
+
find: d,
|
|
52
|
+
type: this.type
|
|
53
|
+
}),
|
|
54
|
+
s({
|
|
55
|
+
find: i,
|
|
56
|
+
type: this.type
|
|
57
|
+
})
|
|
58
|
+
];
|
|
59
|
+
},
|
|
60
|
+
addPasteRules() {
|
|
61
|
+
return [
|
|
62
|
+
r({
|
|
63
|
+
find: l,
|
|
64
|
+
type: this.type
|
|
65
|
+
}),
|
|
66
|
+
r({
|
|
67
|
+
find: u,
|
|
68
|
+
type: this.type
|
|
69
|
+
})
|
|
70
|
+
];
|
|
71
|
+
}
|
|
33
72
|
});
|
|
34
73
|
export {
|
|
35
|
-
|
|
74
|
+
p as Bold,
|
|
75
|
+
d as starInputRegex,
|
|
76
|
+
l as starPasteRegex,
|
|
77
|
+
i as underscoreInputRegex,
|
|
78
|
+
u as underscorePasteRegex
|
|
36
79
|
};
|
package/dist/index241.js
CHANGED
|
@@ -1,42 +1,54 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
1
|
+
import { Mark as r, markPasteRule as n, markInputRule as a, mergeAttributes as d } from "./index238.js";
|
|
2
|
+
var o = /(^|[^`])`([^`]+)`(?!`)$/, u = /(^|[^`])`([^`]+)`(?!`)/g, i = r.create({
|
|
3
|
+
name: "code",
|
|
4
|
+
addOptions() {
|
|
5
|
+
return {
|
|
6
|
+
HTMLAttributes: {}
|
|
7
|
+
};
|
|
8
|
+
},
|
|
9
|
+
excludes: "_",
|
|
10
|
+
code: !0,
|
|
11
|
+
exitable: !0,
|
|
12
|
+
parseHTML() {
|
|
13
|
+
return [{ tag: "code" }];
|
|
14
|
+
},
|
|
15
|
+
renderHTML({ HTMLAttributes: e }) {
|
|
16
|
+
return ["code", d(this.options.HTMLAttributes, e), 0];
|
|
17
|
+
},
|
|
18
|
+
markdownTokenName: "codespan",
|
|
19
|
+
parseMarkdown: (e, t) => t.applyMark("code", [{ type: "text", text: e.text || "" }]),
|
|
20
|
+
renderMarkdown: (e, t) => e.content ? `\`${t.renderChildren(e.content)}\`` : "",
|
|
21
|
+
addCommands() {
|
|
22
|
+
return {
|
|
23
|
+
setCode: () => ({ commands: e }) => e.setMark(this.name),
|
|
24
|
+
toggleCode: () => ({ commands: e }) => e.toggleMark(this.name),
|
|
25
|
+
unsetCode: () => ({ commands: e }) => e.unsetMark(this.name)
|
|
26
|
+
};
|
|
20
27
|
},
|
|
21
|
-
|
|
22
|
-
provide: function() {
|
|
28
|
+
addKeyboardShortcuts() {
|
|
23
29
|
return {
|
|
24
|
-
|
|
30
|
+
"Mod-e": () => this.editor.commands.toggleCode()
|
|
25
31
|
};
|
|
32
|
+
},
|
|
33
|
+
addInputRules() {
|
|
34
|
+
return [
|
|
35
|
+
a({
|
|
36
|
+
find: o,
|
|
37
|
+
type: this.type
|
|
38
|
+
})
|
|
39
|
+
];
|
|
40
|
+
},
|
|
41
|
+
addPasteRules() {
|
|
42
|
+
return [
|
|
43
|
+
n({
|
|
44
|
+
find: u,
|
|
45
|
+
type: this.type
|
|
46
|
+
})
|
|
47
|
+
];
|
|
26
48
|
}
|
|
27
|
-
}
|
|
28
|
-
name: "Badge",
|
|
29
|
-
extends: l,
|
|
30
|
-
inheritAttrs: !1
|
|
31
|
-
};
|
|
32
|
-
function d(e, c, f, m, g, $) {
|
|
33
|
-
return n(), o("span", a({
|
|
34
|
-
class: e.cx("root")
|
|
35
|
-
}, e.ptmi("root")), [s(e.$slots, "default", {}, function() {
|
|
36
|
-
return [p(i(e.value), 1)];
|
|
37
|
-
})], 16);
|
|
38
|
-
}
|
|
39
|
-
u.render = d;
|
|
49
|
+
});
|
|
40
50
|
export {
|
|
41
|
-
|
|
51
|
+
i as Code,
|
|
52
|
+
o as inputRegex,
|
|
53
|
+
u as pasteRegex
|
|
42
54
|
};
|