@quoreadmin/ui 1.5.1 → 1.6.1
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/index.js +48 -46
- package/dist/index10.js +2 -2
- package/dist/index100.js +119 -6
- package/dist/index102.js +128 -25
- package/dist/index103.js +10 -0
- package/dist/index105.js +39 -0
- package/dist/{index104.js → index107.js} +2 -2
- package/dist/{index106.js → index109.js} +1 -1
- package/dist/index11.js +2 -2
- package/dist/{index108.js → index111.js} +4 -4
- package/dist/{index110.js → index113.js} +7 -7
- package/dist/{index112.js → index115.js} +1 -1
- package/dist/{index114.js → index117.js} +5 -5
- package/dist/index12.js +2 -2
- package/dist/{index118.js → index121.js} +1 -1
- package/dist/{index126.js → index129.js} +1 -1
- package/dist/index13.js +2 -2
- package/dist/{index128.js → index131.js} +1 -1
- package/dist/{index132.js → index135.js} +1 -1
- package/dist/{index136.js → index139.js} +8 -8
- package/dist/index14.js +2 -2
- package/dist/{index138.js → index141.js} +1 -1
- package/dist/{index140.js → index143.js} +11 -11
- package/dist/index15.js +2 -2
- package/dist/{index148.js → index151.js} +1 -1
- package/dist/{index150.js → index153.js} +1 -1
- package/dist/{index152.js → index155.js} +2 -2
- package/dist/index157.js +205 -111
- package/dist/index16.js +2 -2
- package/dist/index160.js +110 -87
- package/dist/index161.js +478 -844
- package/dist/index162.js +5520 -36
- package/dist/index163.js +90 -279
- package/dist/index164.js +833 -122
- package/dist/index165.js +36 -1197
- package/dist/index166.js +268 -760
- package/dist/index167.js +146 -1304
- package/dist/index168.js +1151 -228
- package/dist/index169.js +754 -88
- package/dist/index17.js +2 -2
- package/dist/index170.js +1308 -2
- package/dist/index171.js +259 -1359
- package/dist/index172.js +108 -0
- package/dist/index173.js +2 -18
- package/dist/index174.js +1372 -14
- package/dist/index176.js +8 -8
- package/dist/index177.js +10 -17
- package/dist/index178.js +18 -759
- package/dist/index179.js +18 -1100
- package/dist/index18.js +2 -2
- package/dist/index180.js +22 -1231
- package/dist/index181.js +740 -11258
- package/dist/index182.js +1100 -36
- package/dist/index183.js +1200 -81
- package/dist/index184.js +11276 -43
- package/dist/index185.js +36 -5938
- package/dist/index186.js +85 -177
- package/dist/index187.js +43 -34
- package/dist/index188.js +1188 -16
- package/dist/index19.js +2 -2
- package/dist/index190.js +5940 -0
- package/dist/index191.js +205 -76
- package/dist/index192.js +28 -246
- package/dist/index193.js +14 -13680
- package/dist/index194.js +77 -26
- package/dist/index195.js +245 -55
- package/dist/index196.js +13655 -209
- package/dist/index197.js +26 -307
- package/dist/index198.js +43 -268
- package/dist/index199.js +231 -81
- package/dist/index2.js +2 -2
- package/dist/index20.js +2 -2
- package/dist/index200.js +288 -387
- package/dist/index201.js +287 -21
- package/dist/index205.js +2 -2
- package/dist/index206.js +1 -1
- package/dist/index207.js +1 -1
- package/dist/index208.js +1 -1
- package/dist/index209.js +1 -1
- package/dist/index21.js +2 -2
- package/dist/index210.js +4 -4
- package/dist/index212.js +4 -4
- package/dist/index215.js +1 -1
- package/dist/index216.js +84 -157
- package/dist/index217.js +384 -205
- package/dist/index218.js +22 -37
- package/dist/index219.js +161 -10
- package/dist/index22.js +2 -2
- package/dist/index220.js +19 -126
- package/dist/index221.js +19 -37
- package/dist/index222.js +22 -80
- package/dist/index223.js +198 -19
- package/dist/index224.js +68 -18
- package/dist/index225.js +34 -20
- package/dist/index226.js +39 -19
- package/dist/index227.js +160 -19
- package/dist/index228.js +228 -22
- package/dist/index229.js +36 -21
- package/dist/index23.js +61 -170
- package/dist/index230.js +10 -20
- package/dist/index231.js +22 -836
- package/dist/index232.js +21 -701
- package/dist/index233.js +20 -176
- package/dist/index234.js +836 -22
- package/dist/index235.js +701 -19
- package/dist/index236.js +176 -20
- package/dist/index237.js +20 -3
- package/dist/index238.js +19 -186
- package/dist/index239.js +21 -132
- package/dist/index24.js +173 -10
- package/dist/index240.js +19 -160
- package/dist/index241.js +20 -1223
- package/dist/index242.js +3 -20
- package/dist/index243.js +186 -21
- package/dist/index244.js +132 -19
- package/dist/index245.js +1223 -22
- package/dist/index246.js +126 -28
- package/dist/index247.js +12 -12
- package/dist/index248.js +15 -13
- package/dist/index249.js +22 -2
- package/dist/index25.js +9 -38
- package/dist/index250.js +38 -2
- package/dist/index251.js +29 -3632
- package/dist/index252.js +20 -55
- package/dist/index253.js +20 -77
- package/dist/index254.js +2 -52
- package/dist/index255.js +2 -215
- package/dist/index256.js +79 -9
- package/dist/index257.js +20 -57
- package/dist/index258.js +20 -61
- package/dist/index259.js +3617 -39
- package/dist/index26.js +36 -116
- package/dist/index260.js +30 -50
- package/dist/index261.js +43 -689
- package/dist/index262.js +35 -22
- package/dist/index263.js +185 -34
- package/dist/index264.js +9 -10
- package/dist/index265.js +49 -697
- package/dist/index266.js +57 -816
- package/dist/index267.js +54 -22
- package/dist/index268.js +66 -190
- package/dist/index269.js +712 -59
- package/dist/index27.js +116 -22
- package/dist/index270.js +36 -31
- package/dist/index271.js +60 -36
- package/dist/index272.js +11 -253
- package/dist/index273.js +704 -7
- package/dist/index274.js +809 -127
- package/dist/index275.js +232 -62
- package/dist/index276.js +8 -3
- package/dist/index277.js +135 -24
- package/dist/index278.js +83 -2
- package/dist/index279.js +3 -79
- package/dist/index28.js +24 -158
- package/dist/index280.js +26 -78
- package/dist/index281.js +53 -21
- package/dist/index282.js +54 -910
- package/dist/index283.js +17 -13
- package/dist/index284.js +13 -11
- package/dist/index285.js +15 -13
- package/dist/index286.js +14 -67
- package/dist/index287.js +14 -16
- package/dist/index288.js +21 -17
- package/dist/index289.js +63 -38
- package/dist/index29.js +141 -264
- package/dist/index290.js +16 -16
- package/dist/index291.js +935 -22
- package/dist/index292.js +22 -63
- package/dist/index293.js +19 -234
- package/dist/index294.js +19 -5
- package/dist/index295.js +63 -128
- package/dist/index296.js +19 -68
- package/dist/index297.js +17 -85
- package/dist/index298.js +21 -28
- package/dist/index299.js +20 -7
- package/dist/index3.js +2 -2
- package/dist/index30.js +279 -62
- package/dist/index300.js +63 -75
- package/dist/index301.js +2 -4
- package/dist/index302.js +235 -2
- package/dist/index303.js +5 -82
- package/dist/index304.js +130 -50
- package/dist/index305.js +66 -4
- package/dist/index306.js +86 -4
- package/dist/index307.js +26 -176
- package/dist/index308.js +8 -62
- package/dist/index309.js +75 -75
- package/dist/index31.js +64 -178
- package/dist/index310.js +3 -1517
- package/dist/index311.js +2 -386
- package/dist/index312.js +82 -2730
- package/dist/index313.js +52 -84
- package/dist/index314.js +4 -3768
- package/dist/index315.js +4 -59
- package/dist/index316.js +179 -15
- package/dist/index317.js +57 -78
- package/dist/index318.js +74 -201
- package/dist/index319.js +1492 -220
- package/dist/index32.js +177 -38
- package/dist/index320.js +386 -26
- package/dist/index321.js +2731 -22
- package/dist/index322.js +85 -21
- package/dist/index323.js +3770 -16
- package/dist/index324.js +60 -17
- package/dist/index325.js +15 -23
- package/dist/index326.js +83 -8
- package/dist/index327.js +201 -12
- package/dist/index328.js +239 -48
- package/dist/index329.js +8 -11
- package/dist/index33.js +38 -49
- package/dist/index330.js +12 -13
- package/dist/index331.js +49 -52
- package/dist/index332.js +9 -49
- package/dist/index333.js +10 -27
- package/dist/index334.js +58 -2
- package/dist/index335.js +52 -5
- package/dist/index336.js +31 -2
- package/dist/index337.js +2 -23
- package/dist/index338.js +4 -40
- package/dist/index339.js +2 -2
- package/dist/index34.js +47 -30
- package/dist/index340.js +22 -10
- package/dist/index341.js +38 -17
- package/dist/index342.js +2 -17
- package/dist/index343.js +10 -9
- package/dist/index344.js +20 -10
- package/dist/index345.js +17 -2
- package/dist/index346.js +9 -8
- package/dist/index347.js +10 -10
- package/dist/index348.js +2 -14
- package/dist/index349.js +9 -37
- package/dist/index35.js +31 -28
- package/dist/index350.js +9 -19
- package/dist/index351.js +14 -20
- package/dist/index352.js +33 -60
- package/dist/index353.js +20 -37
- package/dist/index354.js +19 -20
- package/dist/index355.js +61 -53
- package/dist/index356.js +37 -29
- package/dist/index357.js +20 -6
- package/dist/index358.js +53 -49
- package/dist/index359.js +29 -6
- package/dist/index36.js +29 -13
- package/dist/index360.js +6 -11
- package/dist/index361.js +49 -4
- package/dist/index362.js +5 -27
- package/dist/index363.js +12 -2
- package/dist/index364.js +6 -69
- package/dist/index365.js +27 -166
- package/dist/index366.js +2 -17
- package/dist/index367.js +68 -29
- package/dist/index368.js +167 -11
- package/dist/index369.js +17 -4
- package/dist/index37.js +15 -43
- package/dist/index370.js +30 -3
- package/dist/index371.js +11 -13
- package/dist/index372.js +4 -7
- package/dist/index373.js +3 -11
- package/dist/index374.js +13 -5
- package/dist/index375.js +7 -33
- package/dist/index376.js +11 -30
- package/dist/index377.js +5 -28
- package/dist/index378.js +33 -61
- package/dist/index379.js +29 -99
- package/dist/index38.js +42 -37
- package/dist/index380.js +28 -91
- package/dist/index381.js +59 -96
- package/dist/index382.js +100 -2
- package/dist/index383.js +91 -2
- package/dist/index384.js +98 -2
- package/dist/index385.js +3 -17
- package/dist/index386.js +2 -13
- package/dist/index387.js +2 -6
- package/dist/index388.js +17 -32
- package/dist/index389.js +15 -0
- package/dist/index39.js +36 -26
- package/dist/index390.js +8 -0
- package/dist/index391.js +34 -0
- package/dist/index4.js +2 -2
- package/dist/index40.js +25 -32
- package/dist/index41.js +32 -37
- package/dist/index42.js +37 -1068
- package/dist/index43.js +1045 -309
- package/dist/index44.js +326 -146
- package/dist/index45.js +155 -18
- package/dist/index46.js +16 -36
- package/dist/index47.js +38 -68
- package/dist/index48.js +67 -60
- package/dist/index49.js +56 -175
- package/dist/index5.js +2 -2
- package/dist/index50.js +173 -77
- package/dist/index51.js +79 -200
- package/dist/index52.js +206 -68
- package/dist/index53.js +69 -20
- package/dist/index54.js +20 -11
- package/dist/index55.js +10 -6
- package/dist/index56.js +5 -209
- package/dist/index57.js +210 -12
- package/dist/index58.js +12 -184
- package/dist/index59.js +176 -68
- package/dist/index6.js +2 -2
- package/dist/index60.js +79 -0
- package/dist/index62.js +7 -63
- package/dist/index63.js +65 -0
- package/dist/index7.js +2 -2
- package/dist/{index70.js → index71.js} +2 -2
- package/dist/index75.js +40 -304
- package/dist/index76.js +326 -0
- package/dist/{index77.js → index78.js} +1 -1
- package/dist/index8.js +3 -3
- package/dist/{index79.js → index80.js} +7 -7
- package/dist/{index81.js → index82.js} +1 -1
- package/dist/index84.js +22 -126
- package/dist/index85.js +140 -0
- package/dist/{index86.js → index87.js} +5 -5
- package/dist/{index88.js → index89.js} +5 -5
- package/dist/index9.js +2 -2
- package/dist/{index94.js → index95.js} +4 -4
- package/dist/index97.js +20 -25
- package/dist/index98.js +34 -0
- package/dist/src/components/event/event.d.ts +356 -0
- package/dist/src/components/event/event.stories.d.ts +33 -0
- package/dist/src/components/event/event.vue.d.ts +2 -0
- package/dist/src/components/room-details-popover/room-details-popover.d.ts +1 -1
- package/dist/src/index.d.ts +2 -0
- package/package.json +1 -1
- package/dist/index154.js +0 -210
- package/dist/index158.js +0 -497
- package/dist/index159.js +0 -5524
- package/dist/index175.js +0 -20
- package/dist/index189.js +0 -1192
- package/dist/index61.js +0 -9
- package/dist/index74.js +0 -62
- package/dist/index83.js +0 -36
- package/dist/index96.js +0 -29
- package/dist/index99.js +0 -142
- /package/dist/{index116.js → index119.js} +0 -0
- /package/dist/{index120.js → index123.js} +0 -0
- /package/dist/{index122.js → index125.js} +0 -0
- /package/dist/{index124.js → index127.js} +0 -0
- /package/dist/{index130.js → index133.js} +0 -0
- /package/dist/{index134.js → index137.js} +0 -0
- /package/dist/{index142.js → index145.js} +0 -0
- /package/dist/{index144.js → index147.js} +0 -0
- /package/dist/{index146.js → index149.js} +0 -0
- /package/dist/{index64.js → index65.js} +0 -0
- /package/dist/{index66.js → index67.js} +0 -0
- /package/dist/{index68.js → index69.js} +0 -0
- /package/dist/{index72.js → index73.js} +0 -0
- /package/dist/{index90.js → index91.js} +0 -0
- /package/dist/{index92.js → index93.js} +0 -0
package/dist/index26.js
CHANGED
|
@@ -1,123 +1,43 @@
|
|
|
1
|
-
import
|
|
2
|
-
import { resolveComponent as
|
|
1
|
+
import l from "./index105.js";
|
|
2
|
+
import { resolveComponent as i, createElementBlock as r, openBlock as o, createElementVNode as s, renderSlot as t, createCommentVNode as n, toDisplayString as d, normalizeClass as u, createBlock as c } from "vue";
|
|
3
3
|
/* empty css */
|
|
4
|
-
import
|
|
5
|
-
const
|
|
4
|
+
import m from "./index62.js";
|
|
5
|
+
const f = { class: "form-group" }, p = ["for"], _ = { class: "label-text" }, $ = {
|
|
6
6
|
key: 0,
|
|
7
|
-
class: "
|
|
8
|
-
}
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
class: t([
|
|
28
|
-
"search-and-filters !pr-0",
|
|
29
|
-
{ "bg-gray-30 animate-shimmer": e.loading }
|
|
30
|
-
])
|
|
31
|
-
}, [
|
|
32
|
-
e.loading ? o("", !0) : (l(), i("div", V, [
|
|
33
|
-
d("div", D, [
|
|
34
|
-
e.hasSearch ? r(e.$slots, "grid-search", { key: 0 }, () => [
|
|
35
|
-
d("label", G, [
|
|
36
|
-
c(m, {
|
|
37
|
-
id: "grid-search",
|
|
38
|
-
modelValue: e.searchBy,
|
|
39
|
-
"onUpdate:modelValue": h[0] || (h[0] = (s) => e.searchBy = s),
|
|
40
|
-
"hide-clear": !!e.mq.md,
|
|
41
|
-
placeholder: e.searchPlaceholder || e.$t("HC_SEARCH"),
|
|
42
|
-
class: "text-base placeholder-inkwell-0",
|
|
43
|
-
"control-class": "!border-0",
|
|
44
|
-
"icon-position": "left"
|
|
45
|
-
}, {
|
|
46
|
-
default: p(() => [
|
|
47
|
-
c(g, {
|
|
48
|
-
color: "inkwell-0",
|
|
49
|
-
icon: "search",
|
|
50
|
-
size: "md",
|
|
51
|
-
type: "",
|
|
52
|
-
class: "cursor-default"
|
|
53
|
-
})
|
|
54
|
-
]),
|
|
55
|
-
_: 1
|
|
56
|
-
}, 8, ["modelValue", "hide-clear", "placeholder"])
|
|
57
|
-
])
|
|
58
|
-
], !0) : o("", !0)
|
|
59
|
-
]),
|
|
60
|
-
Object.keys(e.filters).length ? (l(), i("div", B, [
|
|
61
|
-
r(e.$slots, "filters", {}, () => [
|
|
62
|
-
d("div", S, [
|
|
63
|
-
c(g, {
|
|
64
|
-
class: "filters-icon",
|
|
65
|
-
color: "inkwell-0",
|
|
66
|
-
icon: "filter",
|
|
67
|
-
size: "md",
|
|
68
|
-
onClick: e.filtersAction
|
|
69
|
-
}, null, 8, ["onClick"]),
|
|
70
|
-
e.filtersCount ? (l(), y(k, {
|
|
71
|
-
key: 0,
|
|
72
|
-
class: "filters-count",
|
|
73
|
-
color: e.mq.md ? "white" : "gray-0"
|
|
74
|
-
}, {
|
|
75
|
-
text: p(() => [
|
|
76
|
-
f(u(e.filtersCount), 1)
|
|
77
|
-
]),
|
|
78
|
-
_: 1
|
|
79
|
-
}, 8, ["color"])) : o("", !0)
|
|
80
|
-
])
|
|
81
|
-
], !0)
|
|
82
|
-
])) : o("", !0)
|
|
83
|
-
]))
|
|
84
|
-
], 2)
|
|
85
|
-
], !0) : o("", !0),
|
|
86
|
-
d("div", {
|
|
87
|
-
id: `${e.id ? e.id + "-" : ""}grid-wrapper`,
|
|
88
|
-
class: "grid-wrapper"
|
|
7
|
+
class: "required"
|
|
8
|
+
};
|
|
9
|
+
function g(e, v, b, h, k, y) {
|
|
10
|
+
const a = i("q-icon");
|
|
11
|
+
return o(), r("div", f, [
|
|
12
|
+
s("label", { for: e.labelFor }, [
|
|
13
|
+
s("div", _, [
|
|
14
|
+
t(e.$slots, "label", {}, void 0, !0)
|
|
15
|
+
]),
|
|
16
|
+
e.required ? (o(), r("div", $, " *" + d(e.$t("HC_REQUIRED")), 1)) : n("", !0)
|
|
17
|
+
], 8, p),
|
|
18
|
+
t(e.$slots, "default", {}, void 0, !0),
|
|
19
|
+
s("div", {
|
|
20
|
+
class: u([
|
|
21
|
+
"message",
|
|
22
|
+
{ "text-blue-40": e.status === "info" },
|
|
23
|
+
{ "text-red-30": e.status === "error" },
|
|
24
|
+
{ "text-green-20": e.status === "success" },
|
|
25
|
+
{ "text-yellow-30": e.status === "warning" }
|
|
26
|
+
])
|
|
89
27
|
}, [
|
|
90
|
-
e.
|
|
28
|
+
e.status === "error" || e.status === "info" ? (o(), c(a, {
|
|
91
29
|
key: 0,
|
|
92
|
-
class:
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
}, [
|
|
102
|
-
r(e.$slots, "cell-content", {
|
|
103
|
-
item: s,
|
|
104
|
-
index: a,
|
|
105
|
-
statusClasses: e.statusClasses,
|
|
106
|
-
getTextUtilityClass: e.getTextUtilityClass,
|
|
107
|
-
filteredGridData: e.filteredGridData
|
|
108
|
-
}, () => [
|
|
109
|
-
f(u(s.name), 1)
|
|
110
|
-
], !0)
|
|
111
|
-
], 10, N))), 128))
|
|
112
|
-
], 2)) : (l(), i("p", {
|
|
113
|
-
key: 1,
|
|
114
|
-
id: `${e.id ? e.id + "-" : ""}grid-no-result`,
|
|
115
|
-
class: "no-grid-result"
|
|
116
|
-
}, u(e.noResultsText), 9, T))
|
|
117
|
-
], 8, E)
|
|
118
|
-
], 10, q);
|
|
30
|
+
class: "message-icon",
|
|
31
|
+
color: e.statusColor,
|
|
32
|
+
icon: "exclamation-circle",
|
|
33
|
+
type: "fill",
|
|
34
|
+
size: "sm"
|
|
35
|
+
}, null, 8, ["color"])) : n("", !0),
|
|
36
|
+
t(e.$slots, "message", {}, void 0, !0)
|
|
37
|
+
], 2)
|
|
38
|
+
]);
|
|
119
39
|
}
|
|
120
|
-
const
|
|
40
|
+
const w = /* @__PURE__ */ m(l, [["render", g], ["__scopeId", "data-v-5aa9ed4c"]]);
|
|
121
41
|
export {
|
|
122
|
-
|
|
42
|
+
w as default
|
|
123
43
|
};
|
package/dist/index260.js
CHANGED
|
@@ -1,67 +1,50 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
3
|
-
|
|
1
|
+
import { Node as a, wrappingInputRule as c, mergeAttributes as d } from "./index259.js";
|
|
2
|
+
import { createElement as i } from "./index325.js";
|
|
3
|
+
var l = /^\s*>\s$/, g = a.create({
|
|
4
|
+
name: "blockquote",
|
|
4
5
|
addOptions() {
|
|
5
6
|
return {
|
|
6
7
|
HTMLAttributes: {}
|
|
7
8
|
};
|
|
8
9
|
},
|
|
10
|
+
content: "block+",
|
|
11
|
+
group: "block",
|
|
12
|
+
defining: !0,
|
|
9
13
|
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
|
-
];
|
|
14
|
+
return [{ tag: "blockquote" }];
|
|
26
15
|
},
|
|
27
16
|
renderHTML({ HTMLAttributes: t }) {
|
|
28
|
-
return
|
|
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
|
+
`);
|
|
29
32
|
},
|
|
30
33
|
addCommands() {
|
|
31
34
|
return {
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
+
setBlockquote: () => ({ commands: t }) => t.wrapIn(this.name),
|
|
36
|
+
toggleBlockquote: () => ({ commands: t }) => t.toggleWrap(this.name),
|
|
37
|
+
unsetBlockquote: () => ({ commands: t }) => t.lift(this.name)
|
|
35
38
|
};
|
|
36
39
|
},
|
|
37
|
-
markdownTokenName: "em",
|
|
38
|
-
parseMarkdown: (t, e) => e.applyMark("italic", e.parseInline(t.tokens || [])),
|
|
39
|
-
renderMarkdown: (t, e) => `*${e.renderChildren(t)}*`,
|
|
40
40
|
addKeyboardShortcuts() {
|
|
41
41
|
return {
|
|
42
|
-
"Mod-
|
|
43
|
-
"Mod-I": () => this.editor.commands.toggleItalic()
|
|
42
|
+
"Mod-Shift-b": () => this.editor.commands.toggleBlockquote()
|
|
44
43
|
};
|
|
45
44
|
},
|
|
46
45
|
addInputRules() {
|
|
47
46
|
return [
|
|
48
|
-
|
|
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({
|
|
47
|
+
c({
|
|
65
48
|
find: l,
|
|
66
49
|
type: this.type
|
|
67
50
|
})
|
|
@@ -69,9 +52,6 @@ var i = /(?:^|\s)(\*(?!\s+\*)((?:[^*]+))\*(?!\s+\*))$/, d = /(?:^|\s)(\*(?!\s+\*
|
|
|
69
52
|
}
|
|
70
53
|
});
|
|
71
54
|
export {
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
d as starPasteRegex,
|
|
75
|
-
o as underscoreInputRegex,
|
|
76
|
-
l as underscorePasteRegex
|
|
55
|
+
g as Blockquote,
|
|
56
|
+
l as inputRegex
|
|
77
57
|
};
|