@quoreadmin/ui 1.6.5 → 1.6.6
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/index15.js +19 -19
- package/dist/index174.js +4 -4
- package/dist/index181.js +8 -8
- package/dist/index183.js +8 -8
- package/dist/index190.js +26 -26
- package/dist/index191.js +1 -1
- package/dist/index192.js +1 -1
- package/dist/index195.js +2 -2
- package/dist/index197.js +14 -14
- package/dist/index198.js +1 -1
- package/dist/index199.js +1 -1
- package/dist/index200.js +3 -3
- package/dist/index201.js +2 -2
- package/dist/index216.js +2 -2
- package/dist/index217.js +2 -2
- package/dist/index218.js +1 -1
- package/dist/index219.js +160 -21
- package/dist/index220.js +228 -22
- package/dist/index221.js +36 -19
- package/dist/index222.js +9 -835
- package/dist/index223.js +104 -679
- package/dist/index224.js +36 -174
- package/dist/index225.js +80 -20
- package/dist/index226.js +12 -12
- package/dist/index227.js +12 -14
- package/dist/index228.js +10 -10
- package/dist/index229.js +11 -11
- package/dist/index230.js +9 -9
- package/dist/index231.js +161 -3
- package/dist/index232.js +19 -186
- package/dist/index233.js +21 -132
- package/dist/index234.js +167 -129
- package/dist/index235.js +46 -1199
- package/dist/index236.js +31 -124
- package/dist/index237.js +39 -19
- package/dist/index238.js +11 -11
- package/dist/index239.js +13 -11
- package/dist/index240.js +11 -13
- package/dist/index241.js +819 -21
- package/dist/index242.js +701 -28
- package/dist/index243.js +176 -20
- package/dist/index244.js +14 -12
- package/dist/index245.js +20 -2
- package/dist/index246.js +20 -2
- package/dist/index247.js +3 -22
- package/dist/index248.js +155 -167
- package/dist/index249.js +112 -49
- package/dist/index250.js +1223 -34
- package/dist/index251.js +19 -39
- package/dist/index252.js +21 -160
- package/dist/index253.js +22 -228
- package/dist/index254.js +28 -36
- package/dist/index255.js +20 -10
- package/dist/index256.js +20 -253
- package/dist/index257.js +2 -8
- package/dist/index258.js +2 -138
- package/dist/index259.js +3621 -72
- package/dist/index260.js +39 -3616
- package/dist/index261.js +52 -30
- package/dist/index262.js +22 -47
- package/dist/index263.js +188 -25
- package/dist/index264.js +8 -213
- package/dist/index265.js +56 -9
- package/dist/index266.js +45 -41
- package/dist/index267.js +39 -46
- package/dist/index268.js +57 -36
- package/dist/index269.js +689 -41
- package/dist/index270.js +21 -705
- package/dist/index271.js +47 -22
- package/dist/index272.js +10 -63
- package/dist/index273.js +704 -10
- package/dist/index274.js +770 -655
- package/dist/index275.js +234 -801
- package/dist/index276.js +7 -79
- package/dist/index277.js +138 -20
- package/dist/index278.js +83 -20
- package/dist/index281.js +2 -79
- package/dist/index282.js +71 -71
- package/dist/index283.js +53 -21
- package/dist/index284.js +26 -935
- package/dist/index285.js +12 -12
- package/dist/index286.js +15 -13
- package/dist/index287.js +16 -20
- package/dist/index288.js +16 -68
- package/dist/index289.js +19 -15
- package/dist/index290.js +76 -16
- package/dist/index291.js +21 -53
- package/dist/index292.js +935 -22
- package/dist/index293.js +11 -11
- package/dist/index294.js +19 -62
- package/dist/index295.js +20 -2
- package/dist/index296.js +68 -25
- package/dist/index297.js +19 -22
- package/dist/index298.js +19 -22
- package/dist/index299.js +22 -16
- package/dist/index300.js +22 -17
- package/dist/index301.js +61 -21
- package/dist/index303.js +1 -1
- package/dist/index306.js +1 -1
- package/dist/index307.js +1 -1
- package/dist/index309.js +1 -1
- package/dist/index310.js +1 -1
- package/dist/index311.js +1 -1
- package/dist/index352.js +1 -1
- package/dist/index353.js +1 -1
- package/dist/index354.js +1 -1
- package/dist/index356.js +1 -1
- package/dist/index369.js +1 -1
- package/dist/index85.js +21 -17
- package/dist/src/components/data-filter/data-filter.d.ts +9 -0
- package/dist/src/components/data-list/data-list.d.ts +9 -0
- package/dist/src/components/grid/grid.stories.d.ts +9 -0
- package/dist/src/views/lists.vue.d.ts +18 -0
- package/dist/src/views/tables.vue.d.ts +9 -0
- package/package.json +1 -1
package/dist/index271.js
CHANGED
|
@@ -1,41 +1,66 @@
|
|
|
1
|
-
import {
|
|
2
|
-
var i =
|
|
3
|
-
name: "
|
|
4
|
-
priority: 1e3,
|
|
1
|
+
import { Mark as r, markPasteRule as s, markInputRule as n, mergeAttributes as a } from "./index259.js";
|
|
2
|
+
var i = /(?:^|\s)(~~(?!\s+~~)((?:[^~]+))~~(?!\s+~~))$/, d = /(?:^|\s)(~~(?!\s+~~)((?:[^~]+))~~(?!\s+~~))/g, o = r.create({
|
|
3
|
+
name: "strike",
|
|
5
4
|
addOptions() {
|
|
6
5
|
return {
|
|
7
6
|
HTMLAttributes: {}
|
|
8
7
|
};
|
|
9
8
|
},
|
|
10
|
-
group: "block",
|
|
11
|
-
content: "inline*",
|
|
12
9
|
parseHTML() {
|
|
13
|
-
return [
|
|
10
|
+
return [
|
|
11
|
+
{
|
|
12
|
+
tag: "s"
|
|
13
|
+
},
|
|
14
|
+
{
|
|
15
|
+
tag: "del"
|
|
16
|
+
},
|
|
17
|
+
{
|
|
18
|
+
tag: "strike"
|
|
19
|
+
},
|
|
20
|
+
{
|
|
21
|
+
style: "text-decoration",
|
|
22
|
+
consuming: !1,
|
|
23
|
+
getAttrs: (e) => e.includes("line-through") ? {} : !1
|
|
24
|
+
}
|
|
25
|
+
];
|
|
14
26
|
},
|
|
15
|
-
renderHTML({ HTMLAttributes:
|
|
16
|
-
return ["
|
|
27
|
+
renderHTML({ HTMLAttributes: e }) {
|
|
28
|
+
return ["s", a(this.options.HTMLAttributes, e), 0];
|
|
17
29
|
},
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
"paragraph",
|
|
22
|
-
void 0,
|
|
23
|
-
// no attributes for paragraph
|
|
24
|
-
e.parseInline(t)
|
|
25
|
-
);
|
|
26
|
-
},
|
|
27
|
-
renderMarkdown: (r, e) => !r || !Array.isArray(r.content) ? "" : e.renderChildren(r.content),
|
|
30
|
+
markdownTokenName: "del",
|
|
31
|
+
parseMarkdown: (e, t) => t.applyMark("strike", t.parseInline(e.tokens || [])),
|
|
32
|
+
renderMarkdown: (e, t) => `~~${t.renderChildren(e)}~~`,
|
|
28
33
|
addCommands() {
|
|
29
34
|
return {
|
|
30
|
-
|
|
35
|
+
setStrike: () => ({ commands: e }) => e.setMark(this.name),
|
|
36
|
+
toggleStrike: () => ({ commands: e }) => e.toggleMark(this.name),
|
|
37
|
+
unsetStrike: () => ({ commands: e }) => e.unsetMark(this.name)
|
|
31
38
|
};
|
|
32
39
|
},
|
|
33
40
|
addKeyboardShortcuts() {
|
|
34
41
|
return {
|
|
35
|
-
"Mod-
|
|
42
|
+
"Mod-Shift-s": () => this.editor.commands.toggleStrike()
|
|
36
43
|
};
|
|
44
|
+
},
|
|
45
|
+
addInputRules() {
|
|
46
|
+
return [
|
|
47
|
+
n({
|
|
48
|
+
find: i,
|
|
49
|
+
type: this.type
|
|
50
|
+
})
|
|
51
|
+
];
|
|
52
|
+
},
|
|
53
|
+
addPasteRules() {
|
|
54
|
+
return [
|
|
55
|
+
s({
|
|
56
|
+
find: d,
|
|
57
|
+
type: this.type
|
|
58
|
+
})
|
|
59
|
+
];
|
|
37
60
|
}
|
|
38
61
|
});
|
|
39
62
|
export {
|
|
40
|
-
|
|
63
|
+
o as Strike,
|
|
64
|
+
i as inputRegex,
|
|
65
|
+
d as pasteRegex
|
|
41
66
|
};
|
package/dist/index272.js
CHANGED
|
@@ -1,66 +1,13 @@
|
|
|
1
|
-
import {
|
|
2
|
-
var
|
|
3
|
-
name: "
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
},
|
|
9
|
-
|
|
10
|
-
return [
|
|
11
|
-
{
|
|
12
|
-
tag: "s"
|
|
13
|
-
},
|
|
14
|
-
{
|
|
15
|
-
tag: "del"
|
|
16
|
-
},
|
|
17
|
-
{
|
|
18
|
-
tag: "strike"
|
|
19
|
-
},
|
|
20
|
-
{
|
|
21
|
-
style: "text-decoration",
|
|
22
|
-
consuming: !1,
|
|
23
|
-
getAttrs: (e) => e.includes("line-through") ? {} : !1
|
|
24
|
-
}
|
|
25
|
-
];
|
|
26
|
-
},
|
|
27
|
-
renderHTML({ HTMLAttributes: e }) {
|
|
28
|
-
return ["s", a(this.options.HTMLAttributes, e), 0];
|
|
29
|
-
},
|
|
30
|
-
markdownTokenName: "del",
|
|
31
|
-
parseMarkdown: (e, t) => t.applyMark("strike", t.parseInline(e.tokens || [])),
|
|
32
|
-
renderMarkdown: (e, t) => `~~${t.renderChildren(e)}~~`,
|
|
33
|
-
addCommands() {
|
|
34
|
-
return {
|
|
35
|
-
setStrike: () => ({ commands: e }) => e.setMark(this.name),
|
|
36
|
-
toggleStrike: () => ({ commands: e }) => e.toggleMark(this.name),
|
|
37
|
-
unsetStrike: () => ({ commands: e }) => e.unsetMark(this.name)
|
|
38
|
-
};
|
|
39
|
-
},
|
|
40
|
-
addKeyboardShortcuts() {
|
|
41
|
-
return {
|
|
42
|
-
"Mod-Shift-s": () => this.editor.commands.toggleStrike()
|
|
43
|
-
};
|
|
44
|
-
},
|
|
45
|
-
addInputRules() {
|
|
46
|
-
return [
|
|
47
|
-
n({
|
|
48
|
-
find: i,
|
|
49
|
-
type: this.type
|
|
50
|
-
})
|
|
51
|
-
];
|
|
52
|
-
},
|
|
53
|
-
addPasteRules() {
|
|
54
|
-
return [
|
|
55
|
-
s({
|
|
56
|
-
find: d,
|
|
57
|
-
type: this.type
|
|
58
|
-
})
|
|
59
|
-
];
|
|
60
|
-
}
|
|
1
|
+
import { Node as t } from "./index259.js";
|
|
2
|
+
var o = t.create({
|
|
3
|
+
name: "text",
|
|
4
|
+
group: "inline",
|
|
5
|
+
parseMarkdown: (e) => ({
|
|
6
|
+
type: "text",
|
|
7
|
+
text: e.text || ""
|
|
8
|
+
}),
|
|
9
|
+
renderMarkdown: (e) => e.text || ""
|
|
61
10
|
});
|
|
62
11
|
export {
|
|
63
|
-
o as
|
|
64
|
-
i as inputRegex,
|
|
65
|
-
d as pasteRegex
|
|
12
|
+
o as Text
|
|
66
13
|
};
|