@quoreadmin/ui 1.10.29 → 1.10.31

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.
Files changed (171) hide show
  1. package/dist/index147.js +149 -149
  2. package/dist/index149.js +1 -1
  3. package/dist/index151.js +4 -4
  4. package/dist/index165.js +1 -1
  5. package/dist/index169.js +7 -7
  6. package/dist/index186.js +4 -4
  7. package/dist/index195.js +7 -7
  8. package/dist/index197.js +36 -1228
  9. package/dist/index198.js +46 -0
  10. package/dist/index199.js +1106 -5816
  11. package/dist/index201.js +5922 -19
  12. package/dist/index202.js +199 -10
  13. package/dist/index203.js +33 -76
  14. package/dist/index204.js +14 -249
  15. package/dist/index205.js +72 -13678
  16. package/dist/index206.js +253 -27
  17. package/dist/index207.js +13669 -48
  18. package/dist/index208.js +25 -236
  19. package/dist/index209.js +45 -293
  20. package/dist/index210.js +179 -238
  21. package/dist/index211.js +311 -36
  22. package/dist/index212.js +296 -43
  23. package/dist/index227.js +2 -2
  24. package/dist/index228.js +2 -2
  25. package/dist/index229.js +1 -1
  26. package/dist/index230.js +2 -2
  27. package/dist/index231.js +1 -1
  28. package/dist/index232.js +1 -1
  29. package/dist/index233.js +1 -1
  30. package/dist/index234.js +5 -5
  31. package/dist/index235.js +1 -1
  32. package/dist/index236.js +1 -1
  33. package/dist/index237.js +1 -1
  34. package/dist/index238.js +156 -122
  35. package/dist/index239.js +225 -35
  36. package/dist/index240.js +37 -80
  37. package/dist/index241.js +10 -20
  38. package/dist/index242.js +126 -19
  39. package/dist/index243.js +34 -16
  40. package/dist/index244.js +80 -20
  41. package/dist/index245.js +19 -160
  42. package/dist/index246.js +20 -228
  43. package/dist/index247.js +19 -36
  44. package/dist/index248.js +20 -10
  45. package/dist/index249.js +253 -22
  46. package/dist/index250.js +7 -21
  47. package/dist/index251.js +138 -20
  48. package/dist/index252.js +78 -831
  49. package/dist/index253.js +21 -701
  50. package/dist/index254.js +22 -176
  51. package/dist/index255.js +13 -15
  52. package/dist/index256.js +836 -20
  53. package/dist/index257.js +701 -19
  54. package/dist/index258.js +176 -3
  55. package/dist/index259.js +21 -186
  56. package/dist/index260.js +19 -132
  57. package/dist/index261.js +20 -1223
  58. package/dist/index262.js +3 -20
  59. package/dist/index263.js +186 -21
  60. package/dist/index264.js +132 -21
  61. package/dist/index265.js +1223 -29
  62. package/dist/index266.js +12 -12
  63. package/dist/index267.js +15 -13
  64. package/dist/index268.js +22 -2
  65. package/dist/index269.js +29 -2
  66. package/dist/index270.js +20 -3709
  67. package/dist/index271.js +20 -60
  68. package/dist/index272.js +2 -83
  69. package/dist/index273.js +2 -52
  70. package/dist/index274.js +52 -213
  71. package/dist/index275.js +79 -10
  72. package/dist/index276.js +26 -57
  73. package/dist/index277.js +22 -61
  74. package/dist/index278.js +22 -54
  75. package/dist/index279.js +14 -79
  76. package/dist/index280.js +16 -727
  77. package/dist/index281.js +21 -45
  78. package/dist/index282.js +3687 -42
  79. package/dist/index283.js +59 -10
  80. package/dist/index284.js +73 -695
  81. package/dist/index285.js +51 -819
  82. package/dist/index286.js +198 -236
  83. package/dist/index287.js +9 -7
  84. package/dist/index288.js +54 -135
  85. package/dist/index289.js +60 -82
  86. package/dist/index290.js +51 -51
  87. package/dist/index291.js +78 -76
  88. package/dist/index292.js +727 -25
  89. package/dist/index293.js +47 -22
  90. package/dist/index294.js +64 -22
  91. package/dist/index295.js +10 -15
  92. package/dist/index296.js +704 -16
  93. package/dist/index297.js +820 -23
  94. package/dist/index301.js +221 -1520
  95. package/dist/index302.js +4 -384
  96. package/dist/index303.js +119 -2716
  97. package/dist/index304.js +65 -83
  98. package/dist/index305.js +85 -3796
  99. package/dist/index306.js +26 -57
  100. package/dist/index307.js +7 -77
  101. package/dist/index308.js +74 -21
  102. package/dist/index309.js +3 -934
  103. package/dist/index310.js +2 -22
  104. package/dist/index311.js +82 -19
  105. package/dist/index312.js +53 -19
  106. package/dist/index313.js +5 -68
  107. package/dist/index314.js +5 -19
  108. package/dist/index315.js +178 -18
  109. package/dist/index316.js +62 -21
  110. package/dist/index317.js +75 -22
  111. package/dist/index318.js +68 -52
  112. package/dist/index319.js +22 -15
  113. package/dist/index320.js +923 -72
  114. package/dist/index321.js +22 -202
  115. package/dist/index322.js +20 -246
  116. package/dist/index323.js +19 -234
  117. package/dist/index324.js +68 -5
  118. package/dist/index325.js +18 -133
  119. package/dist/index326.js +19 -68
  120. package/dist/index327.js +20 -85
  121. package/dist/index328.js +21 -28
  122. package/dist/index329.js +62 -8
  123. package/dist/index330.js +35 -73
  124. package/dist/index331.js +1533 -3
  125. package/dist/index332.js +386 -2
  126. package/dist/index333.js +2730 -82
  127. package/dist/index334.js +84 -52
  128. package/dist/index335.js +3796 -4
  129. package/dist/index336.js +59 -4
  130. package/dist/index337.js +15 -179
  131. package/dist/index338.js +78 -57
  132. package/dist/index339.js +201 -74
  133. package/dist/index340.js +240 -31
  134. package/dist/index364.js +20 -19
  135. package/dist/index365.js +55 -19
  136. package/dist/index366.js +28 -63
  137. package/dist/index367.js +7 -37
  138. package/dist/index368.js +49 -18
  139. package/dist/index369.js +6 -56
  140. package/dist/index370.js +10 -27
  141. package/dist/index371.js +7 -7
  142. package/dist/index372.js +27 -51
  143. package/dist/index373.js +2 -6
  144. package/dist/index374.js +69 -11
  145. package/dist/index375.js +166 -6
  146. package/dist/index376.js +20 -28
  147. package/dist/index377.js +20 -2
  148. package/dist/index378.js +61 -67
  149. package/dist/index379.js +36 -166
  150. package/dist/index380.js +31 -17
  151. package/dist/index381.js +10 -100
  152. package/dist/index382.js +3 -90
  153. package/dist/index383.js +4 -98
  154. package/dist/index384.js +12 -30
  155. package/dist/index385.js +7 -11
  156. package/dist/index386.js +11 -3
  157. package/dist/index387.js +4 -3
  158. package/dist/index388.js +33 -13
  159. package/dist/index389.js +31 -7
  160. package/dist/index390.js +28 -12
  161. package/dist/index391.js +61 -5
  162. package/dist/index392.js +17 -33
  163. package/dist/index393.js +99 -29
  164. package/dist/index394.js +91 -28
  165. package/dist/index395.js +96 -59
  166. package/dist/index396.js +1 -1
  167. package/dist/index401.js +1 -1
  168. package/dist/index402.js +2 -2
  169. package/dist/src/components/room-details-popover/room-details-popover.d.ts +9 -3
  170. package/package.json +1 -1
  171. package/dist/index200.js +0 -209
package/dist/index289.js CHANGED
@@ -1,85 +1,63 @@
1
- import { DomHandler as u } from "./index180.js";
2
- import { ref as d, readonly as q, getCurrentInstance as B, onMounted as H, nextTick as N, watch as z } from "vue";
3
- function a(t) {
4
- "@babel/helpers - typeof";
5
- return a = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(e) {
6
- return typeof e;
7
- } : function(e) {
8
- return e && typeof Symbol == "function" && e.constructor === Symbol && e !== Symbol.prototype ? "symbol" : typeof e;
9
- }, a(t);
10
- }
11
- function S(t, e) {
12
- var n = Object.keys(t);
13
- if (Object.getOwnPropertySymbols) {
14
- var r = Object.getOwnPropertySymbols(t);
15
- e && (r = r.filter(function(o) {
16
- return Object.getOwnPropertyDescriptor(t, o).enumerable;
17
- })), n.push.apply(n, r);
1
+ import { Node as l, textblockTypeInputRule as i, mergeAttributes as a } from "./index282.js";
2
+ var d = l.create({
3
+ name: "heading",
4
+ addOptions() {
5
+ return {
6
+ levels: [1, 2, 3, 4, 5, 6],
7
+ HTMLAttributes: {}
8
+ };
9
+ },
10
+ content: "inline*",
11
+ group: "block",
12
+ defining: !0,
13
+ addAttributes() {
14
+ return {
15
+ level: {
16
+ default: 1,
17
+ rendered: !1
18
+ }
19
+ };
20
+ },
21
+ parseHTML() {
22
+ return this.options.levels.map((e) => ({
23
+ tag: `h${e}`,
24
+ attrs: { level: e }
25
+ }));
26
+ },
27
+ renderHTML({ node: e, HTMLAttributes: t }) {
28
+ return [`h${this.options.levels.includes(e.attrs.level) ? e.attrs.level : this.options.levels[0]}`, a(this.options.HTMLAttributes, t), 0];
29
+ },
30
+ parseMarkdown: (e, t) => t.createNode("heading", { level: e.depth || 1 }, t.parseInline(e.tokens || [])),
31
+ renderMarkdown: (e, t) => {
32
+ var r;
33
+ const n = (r = e.attrs) != null && r.level ? parseInt(e.attrs.level, 10) : 1, s = "#".repeat(n);
34
+ return e.content ? `${s} ${t.renderChildren(e.content)}` : "";
35
+ },
36
+ addCommands() {
37
+ return {
38
+ setHeading: (e) => ({ commands: t }) => this.options.levels.includes(e.level) ? t.setNode(this.name, e) : !1,
39
+ toggleHeading: (e) => ({ commands: t }) => this.options.levels.includes(e.level) ? t.toggleNode(this.name, "paragraph", e) : !1
40
+ };
41
+ },
42
+ addKeyboardShortcuts() {
43
+ return this.options.levels.reduce(
44
+ (e, t) => ({
45
+ ...e,
46
+ [`Mod-Alt-${t}`]: () => this.editor.commands.toggleHeading({ level: t })
47
+ }),
48
+ {}
49
+ );
50
+ },
51
+ addInputRules() {
52
+ return this.options.levels.map((e) => i({
53
+ find: new RegExp(`^(#{${Math.min(...this.options.levels)},${e}})\\s$`),
54
+ type: this.type,
55
+ getAttributes: {
56
+ level: e
57
+ }
58
+ }));
18
59
  }
19
- return n;
20
- }
21
- function j(t) {
22
- for (var e = 1; e < arguments.length; e++) {
23
- var n = arguments[e] != null ? arguments[e] : {};
24
- e % 2 ? S(Object(n), !0).forEach(function(r) {
25
- F(t, r, n[r]);
26
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(t, Object.getOwnPropertyDescriptors(n)) : S(Object(n)).forEach(function(r) {
27
- Object.defineProperty(t, r, Object.getOwnPropertyDescriptor(n, r));
28
- });
29
- }
30
- return t;
31
- }
32
- function F(t, e, n) {
33
- return e = G(e), e in t ? Object.defineProperty(t, e, { value: n, enumerable: !0, configurable: !0, writable: !0 }) : t[e] = n, t;
34
- }
35
- function G(t) {
36
- var e = J(t, "string");
37
- return a(e) == "symbol" ? e : String(e);
38
- }
39
- function J(t, e) {
40
- if (a(t) != "object" || !t) return t;
41
- var n = t[Symbol.toPrimitive];
42
- if (n !== void 0) {
43
- var r = n.call(t, e);
44
- if (a(r) != "object") return r;
45
- throw new TypeError("@@toPrimitive must return a primitive value.");
46
- }
47
- return (e === "string" ? String : Number)(t);
48
- }
49
- function Q(t) {
50
- var e = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : !0;
51
- B() ? H(t) : e ? t() : N(t);
52
- }
53
- var U = 0;
54
- function X(t) {
55
- var e = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, n = d(!1), r = d(t), o = d(null), $ = u.isClient() ? window.document : void 0, c = e.document, i = c === void 0 ? $ : c, m = e.immediate, C = m === void 0 ? !0 : m, f = e.manual, D = f === void 0 ? !1 : f, p = e.name, l = p === void 0 ? "style_".concat(++U) : p, v = e.id, y = v === void 0 ? void 0 : v, b = e.media, E = b === void 0 ? void 0 : b, g = e.nonce, x = g === void 0 ? void 0 : g, _ = e.props, A = _ === void 0 ? {} : _, O = function() {
56
- }, P = function(K) {
57
- var L = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
58
- if (i) {
59
- var s = j(j({}, A), L), M = s.name || l, w = s.id || y, R = s.nonce || x;
60
- o.value = i.querySelector('style[data-primevue-style-id="'.concat(M, '"]')) || i.getElementById(w) || i.createElement("style"), o.value.isConnected || (r.value = K || t, u.setAttributes(o.value, {
61
- type: "text/css",
62
- id: w,
63
- media: E,
64
- nonce: R
65
- }), i.head.appendChild(o.value), u.setAttribute(o.value, "data-primevue-style-id", l), u.setAttributes(o.value, s)), !n.value && (O = z(r, function(T) {
66
- o.value.textContent = T;
67
- }, {
68
- immediate: !0
69
- }), n.value = !0);
70
- }
71
- }, I = function() {
72
- !i || !n.value || (O(), u.isExist(o.value) && i.head.removeChild(o.value), n.value = !1);
73
- };
74
- return C && !D && Q(P), {
75
- id: y,
76
- name: l,
77
- css: r,
78
- unload: I,
79
- load: P,
80
- isLoaded: q(n)
81
- };
82
- }
60
+ });
83
61
  export {
84
- X as useStyle
62
+ d as Heading
85
63
  };
package/dist/index290.js CHANGED
@@ -1,56 +1,56 @@
1
- import l from "./index288.js";
2
- function r(e) {
3
- "@babel/helpers - typeof";
4
- return r = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(t) {
5
- return typeof t;
6
- } : function(t) {
7
- return t && typeof Symbol == "function" && t.constructor === Symbol && t !== Symbol.prototype ? "symbol" : typeof t;
8
- }, r(e);
9
- }
10
- function i(e, t, n) {
11
- return t = u(t), t in e ? Object.defineProperty(e, t, { value: n, enumerable: !0, configurable: !0, writable: !0 }) : e[t] = n, e;
12
- }
13
- function u(e) {
14
- var t = a(e, "string");
15
- return r(t) == "symbol" ? t : String(t);
16
- }
17
- function a(e, t) {
18
- if (r(e) != "object" || !e) return e;
19
- var n = e[Symbol.toPrimitive];
20
- if (n !== void 0) {
21
- var o = n.call(e, t);
22
- if (r(o) != "object") return o;
23
- throw new TypeError("@@toPrimitive must return a primitive value.");
24
- }
25
- return (t === "string" ? String : Number)(e);
26
- }
27
- var p = {
28
- root: function(t) {
29
- var n = t.instance, o = t.props;
30
- return ["p-button p-component", i(i(i(i(i(i(i(i({
31
- "p-button-icon-only": n.hasIcon && !o.label && !o.badge,
32
- "p-button-vertical": (o.iconPos === "top" || o.iconPos === "bottom") && o.label,
33
- "p-disabled": n.$attrs.disabled || n.$attrs.disabled === "" || o.loading,
34
- "p-button-loading": o.loading,
35
- "p-button-loading-label-only": o.loading && !n.hasIcon && o.label,
36
- "p-button-link": o.link
37
- }, "p-button-".concat(o.severity), o.severity), "p-button-raised", o.raised), "p-button-rounded", o.rounded), "p-button-text", o.text), "p-button-outlined", o.outlined), "p-button-sm", o.size === "small"), "p-button-lg", o.size === "large"), "p-button-plain", o.plain)];
1
+ import { Node as m, nodeInputRule as f, canInsertNode as h, isNodeSelection as T, mergeAttributes as y } from "./index282.js";
2
+ import { TextSelection as s, NodeSelection as N } from "./index297.js";
3
+ var M = m.create({
4
+ name: "horizontalRule",
5
+ addOptions() {
6
+ return {
7
+ HTMLAttributes: {},
8
+ nextNodeType: "paragraph"
9
+ };
10
+ },
11
+ group: "block",
12
+ parseHTML() {
13
+ return [{ tag: "hr" }];
38
14
  },
39
- loadingIcon: "p-button-loading-icon pi-spin",
40
- icon: function(t) {
41
- var n = t.props;
42
- return ["p-button-icon", {
43
- "p-button-icon-left": n.iconPos === "left" && n.label,
44
- "p-button-icon-right": n.iconPos === "right" && n.label,
45
- "p-button-icon-top": n.iconPos === "top" && n.label,
46
- "p-button-icon-bottom": n.iconPos === "bottom" && n.label
47
- }];
15
+ renderHTML({ HTMLAttributes: n }) {
16
+ return ["hr", y(this.options.HTMLAttributes, n)];
48
17
  },
49
- label: "p-button-label"
50
- }, s = l.extend({
51
- name: "button",
52
- classes: p
18
+ markdownTokenName: "hr",
19
+ parseMarkdown: (n, o) => o.createNode("horizontalRule"),
20
+ renderMarkdown: () => "---",
21
+ addCommands() {
22
+ return {
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
+ };
44
+ },
45
+ addInputRules() {
46
+ return [
47
+ f({
48
+ find: /^(?:---|—-|___\s|\*\*\*\s)$/,
49
+ type: this.type
50
+ })
51
+ ];
52
+ }
53
53
  });
54
54
  export {
55
- s as default
55
+ M as HorizontalRule
56
56
  };
package/dist/index291.js CHANGED
@@ -1,81 +1,83 @@
1
- import s from "./index228.js";
2
- import c from "./index340.js";
3
- import { ObjectUtils as l } from "./index180.js";
4
- function i(t) {
5
- "@babel/helpers - typeof";
6
- return i = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(e) {
7
- return typeof e;
8
- } : function(e) {
9
- return e && typeof Symbol == "function" && e.constructor === Symbol && e !== Symbol.prototype ? "symbol" : typeof e;
10
- }, i(t);
11
- }
12
- function o(t, e) {
13
- var r = Object.keys(t);
14
- if (Object.getOwnPropertySymbols) {
15
- var n = Object.getOwnPropertySymbols(t);
16
- e && (n = n.filter(function(u) {
17
- return Object.getOwnPropertyDescriptor(t, u).enumerable;
18
- })), r.push.apply(r, n);
19
- }
20
- return r;
21
- }
22
- function p(t) {
23
- for (var e = 1; e < arguments.length; e++) {
24
- var r = arguments[e] != null ? arguments[e] : {};
25
- e % 2 ? o(Object(r), !0).forEach(function(n) {
26
- f(t, n, r[n]);
27
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(t, Object.getOwnPropertyDescriptors(r)) : o(Object(r)).forEach(function(n) {
28
- Object.defineProperty(t, n, Object.getOwnPropertyDescriptor(r, n));
29
- });
30
- }
31
- return t;
32
- }
33
- function f(t, e, r) {
34
- return e = a(e), e in t ? Object.defineProperty(t, e, { value: r, enumerable: !0, configurable: !0, writable: !0 }) : t[e] = r, t;
35
- }
36
- function a(t) {
37
- var e = y(t, "string");
38
- return i(e) == "symbol" ? e : String(e);
39
- }
40
- function y(t, e) {
41
- if (i(t) != "object" || !t) return t;
42
- var r = t[Symbol.toPrimitive];
43
- if (r !== void 0) {
44
- var n = r.call(t, e);
45
- if (i(n) != "object") return n;
46
- throw new TypeError("@@toPrimitive must return a primitive value.");
47
- }
48
- return (e === "string" ? String : Number)(t);
49
- }
50
- var O = {
51
- name: "BaseIcon",
52
- extends: s,
53
- props: {
54
- label: {
55
- type: String,
56
- default: void 0
57
- },
58
- spin: {
59
- type: Boolean,
60
- default: !1
61
- }
1
+ import { Mark as s, markPasteRule as r, markInputRule as a, mergeAttributes as n } from "./index282.js";
2
+ var i = /(?:^|\s)(\*(?!\s+\*)((?:[^*]+))\*(?!\s+\*))$/, o = /(?:^|\s)(\*(?!\s+\*)((?:[^*]+))\*(?!\s+\*))/g, d = /(?:^|\s)(_(?!\s+_)((?:[^_]+))_(?!\s+_))$/, l = /(?:^|\s)(_(?!\s+_)((?:[^_]+))_(?!\s+_))/g, m = s.create({
3
+ name: "italic",
4
+ addOptions() {
5
+ return {
6
+ HTMLAttributes: {}
7
+ };
8
+ },
9
+ parseHTML() {
10
+ return [
11
+ {
12
+ tag: "em"
13
+ },
14
+ {
15
+ tag: "i",
16
+ getAttrs: (e) => e.style.fontStyle !== "normal" && null
17
+ },
18
+ {
19
+ style: "font-style=normal",
20
+ clearMark: (e) => e.type.name === this.name
21
+ },
22
+ {
23
+ style: "font-style=italic"
24
+ }
25
+ ];
26
+ },
27
+ renderHTML({ HTMLAttributes: e }) {
28
+ return ["em", n(this.options.HTMLAttributes, e), 0];
62
29
  },
63
- style: c,
64
- methods: {
65
- pti: function() {
66
- var e = l.isEmpty(this.label);
67
- return p(p({}, !this.isUnstyled && {
68
- class: ["p-icon", {
69
- "p-icon-spin": this.spin
70
- }]
71
- }), {}, {
72
- role: e ? void 0 : "img",
73
- "aria-label": e ? void 0 : this.label,
74
- "aria-hidden": e
75
- });
30
+ addCommands() {
31
+ return {
32
+ setItalic: () => ({ commands: e }) => e.setMark(this.name),
33
+ toggleItalic: () => ({ commands: e }) => e.toggleMark(this.name),
34
+ unsetItalic: () => ({ commands: e }) => e.unsetMark(this.name)
35
+ };
36
+ },
37
+ markdownTokenName: "em",
38
+ parseMarkdown: (e, t) => t.applyMark("italic", t.parseInline(e.tokens || [])),
39
+ markdownOptions: {
40
+ htmlReopen: {
41
+ open: "<em>",
42
+ close: "</em>"
76
43
  }
44
+ },
45
+ renderMarkdown: (e, t) => `*${t.renderChildren(e)}*`,
46
+ addKeyboardShortcuts() {
47
+ return {
48
+ "Mod-i": () => this.editor.commands.toggleItalic(),
49
+ "Mod-I": () => this.editor.commands.toggleItalic()
50
+ };
51
+ },
52
+ addInputRules() {
53
+ return [
54
+ a({
55
+ find: i,
56
+ type: this.type
57
+ }),
58
+ a({
59
+ find: d,
60
+ type: this.type
61
+ })
62
+ ];
63
+ },
64
+ addPasteRules() {
65
+ return [
66
+ r({
67
+ find: o,
68
+ type: this.type
69
+ }),
70
+ r({
71
+ find: l,
72
+ type: this.type
73
+ })
74
+ ];
77
75
  }
78
- };
76
+ });
79
77
  export {
80
- O as default
78
+ m as Italic,
79
+ i as starInputRegex,
80
+ o as starPasteRegex,
81
+ d as underscoreInputRegex,
82
+ l as underscorePasteRegex
81
83
  };