@quoreadmin/ui 1.7.14 → 1.7.16
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/index131.js +90 -85
- package/dist/index152.js +14 -10
- package/dist/index176.js +4 -4
- package/dist/index184.js +5 -0
- package/dist/index185.js +7 -7
- package/dist/index188.js +17 -17
- package/dist/index191.js +23 -23
- package/dist/index192.js +1 -1
- package/dist/index193.js +1 -1
- package/dist/index196.js +2 -2
- package/dist/index198.js +14 -14
- package/dist/index199.js +1 -1
- package/dist/index200.js +1 -1
- package/dist/index201.js +3 -3
- package/dist/index202.js +6 -6
- package/dist/index203.js +2 -2
- package/dist/index204.js +2 -2
- package/dist/index205.js +1 -1
- package/dist/index209.js +2 -2
- package/dist/index210.js +1 -1
- package/dist/index211.js +1 -1
- package/dist/index212.js +1 -1
- package/dist/index213.js +1 -1
- package/dist/index214.js +4 -4
- package/dist/index216.js +4 -4
- package/dist/index219.js +1 -1
- package/dist/index220.js +1 -1
- package/dist/index224.js +1 -1
- package/dist/index226.js +1 -1
- package/dist/index228.js +156 -122
- package/dist/index229.js +225 -35
- package/dist/index230.js +37 -80
- package/dist/index231.js +10 -20
- package/dist/index232.js +253 -20
- package/dist/index233.js +8 -20
- package/dist/index234.js +138 -20
- package/dist/index235.js +78 -156
- package/dist/index236.js +3591 -187
- package/dist/index237.js +55 -37
- package/dist/index238.js +77 -10
- package/dist/index239.js +52 -22
- package/dist/index240.js +215 -22
- package/dist/index241.js +10 -20
- package/dist/index242.js +48 -827
- package/dist/index243.js +50 -691
- package/dist/index244.js +52 -174
- package/dist/index245.js +75 -22
- package/dist/index246.js +722 -19
- package/dist/index247.js +39 -20
- package/dist/index248.js +64 -3
- package/dist/index249.js +11 -187
- package/dist/index250.js +696 -124
- package/dist/index251.js +786 -1189
- package/dist/index252.js +126 -19
- package/dist/index253.js +37 -21
- package/dist/index254.js +80 -22
- package/dist/index255.js +13 -22
- package/dist/index256.js +12 -12
- package/dist/index257.js +9 -9
- package/dist/index258.js +20 -2
- package/dist/index259.js +22 -2
- package/dist/index260.js +22 -3632
- package/dist/index261.js +20 -55
- package/dist/index262.js +823 -64
- package/dist/index263.js +693 -43
- package/dist/index264.js +165 -204
- package/dist/index265.js +22 -10
- package/dist/index266.js +20 -57
- package/dist/index267.js +20 -61
- package/dist/index268.js +3 -54
- package/dist/index269.js +181 -69
- package/dist/index27.js +64 -42
- package/dist/index270.js +120 -710
- package/dist/index271.js +1217 -33
- package/dist/index272.js +20 -64
- package/dist/index273.js +22 -11
- package/dist/index274.js +22 -705
- package/dist/index275.js +29 -820
- package/dist/index276.js +20 -253
- package/dist/index277.js +20 -8
- package/dist/index278.js +2 -138
- package/dist/index279.js +2 -83
- package/dist/index280.js +1 -1
- package/dist/index285.js +1 -1
- package/dist/index286.js +1 -1
- package/dist/index287.js +1 -1
- package/dist/index288.js +235 -2
- package/dist/index289.js +6 -3
- package/dist/index290.js +131 -24
- package/dist/index291.js +66 -77
- package/dist/index292.js +86 -21
- package/dist/index293.js +26 -932
- package/dist/index294.js +8 -21
- package/dist/index295.js +74 -19
- package/dist/index296.js +3 -19
- package/dist/index297.js +2 -69
- package/dist/index298.js +82 -18
- package/dist/index299.js +52 -17
- package/dist/index300.js +5 -21
- package/dist/index301.js +4 -21
- package/dist/index302.js +178 -62
- package/dist/index303.js +54 -1509
- package/dist/index304.js +74 -385
- package/dist/index305.js +1275 -2488
- package/dist/index306.js +370 -70
- package/dist/index307.js +2396 -3435
- package/dist/index308.js +77 -51
- package/dist/index309.js +3768 -13
- package/dist/index310.js +55 -79
- package/dist/index311.js +15 -202
- package/dist/index312.js +70 -232
- package/dist/index313.js +190 -223
- package/dist/index314.js +244 -4
- package/dist/index315.js +2 -134
- package/dist/index316.js +77 -66
- package/dist/index317.js +21 -86
- package/dist/index318.js +932 -26
- package/dist/index319.js +21 -8
- package/dist/index320.js +19 -74
- package/dist/index321.js +19 -3
- package/dist/index322.js +69 -2
- package/dist/index323.js +18 -82
- package/dist/index324.js +17 -52
- package/dist/index325.js +21 -5
- package/dist/index326.js +21 -4
- package/dist/index327.js +62 -178
- package/dist/index328.js +3 -63
- package/dist/index329.js +27 -75
- package/dist/index330.js +1 -1
- package/dist/index331.js +20 -8
- package/dist/index332.js +55 -12
- package/dist/index333.js +27 -53
- package/dist/index334.js +6 -11
- package/dist/index335.js +50 -12
- package/dist/index336.js +6 -58
- package/dist/index337.js +10 -50
- package/dist/index338.js +7 -31
- package/dist/index339.js +28 -2
- package/dist/index340.js +2 -5
- package/dist/index341.js +70 -2
- package/dist/index342.js +165 -21
- package/dist/index343.js +19 -40
- package/dist/index344.js +20 -2
- package/dist/index345.js +64 -11
- package/dist/index346.js +36 -19
- package/dist/index347.js +8 -16
- package/dist/index348.js +13 -10
- package/dist/index349.js +55 -10
- package/dist/index350.js +12 -2
- package/dist/index351.js +14 -9
- package/dist/index352.js +57 -9
- package/dist/index353.js +52 -14
- package/dist/index354.js +30 -19
- package/dist/index355.js +2 -20
- package/dist/index356.js +5 -64
- package/dist/index357.js +2 -37
- package/dist/index358.js +23 -21
- package/dist/index359.js +40 -55
- package/dist/index360.js +2 -29
- package/dist/index361.js +11 -7
- package/dist/index362.js +17 -49
- package/dist/index363.js +16 -5
- package/dist/index364.js +10 -12
- package/dist/index365.js +9 -6
- package/dist/index366.js +2 -28
- package/dist/index367.js +9 -2
- package/dist/index368.js +10 -70
- package/dist/index369.js +12 -165
- package/dist/index370.js +31 -17
- package/dist/index371.js +10 -100
- package/dist/index372.js +3 -90
- package/dist/index373.js +4 -98
- package/dist/index374.js +12 -30
- package/dist/index375.js +7 -11
- package/dist/index376.js +11 -3
- package/dist/index377.js +4 -3
- package/dist/index378.js +33 -13
- package/dist/index379.js +31 -7
- package/dist/index380.js +28 -12
- package/dist/index381.js +61 -5
- package/dist/index382.js +101 -33
- package/dist/index383.js +91 -31
- package/dist/index384.js +97 -27
- package/dist/index385.js +16 -60
- package/dist/index386.js +1 -1
- package/dist/index391.js +1 -1
- package/dist/index392.js +2 -2
- package/dist/index43.js +2 -2
- package/dist/src/components/comment/comment.d.ts +27 -0
- package/dist/src/components/comment/comment.stories.d.ts +27 -0
- package/dist/src/components/comment-section/comment-section.d.ts +36 -0
- package/dist/src/components/comment-section/comment-section.stories.d.ts +45 -0
- package/dist/src/components/data-filter/data-filter.d.ts +18 -0
- package/dist/src/components/data-list/data-list.d.ts +18 -0
- package/dist/src/components/data-table/data-table.d.ts +9 -0
- package/dist/src/components/event/event.d.ts +9 -0
- package/dist/src/components/file-upload/file-upload.d.ts +9 -0
- package/dist/src/components/file-upload/file-upload.stories.d.ts +45 -0
- package/dist/src/components/grid/grid.stories.d.ts +36 -0
- package/dist/src/components/icon-action-group/icon-action-group.d.ts +9 -0
- package/dist/src/components/icon-action-group/icon-action-group.stories.d.ts +45 -0
- package/dist/src/components/image-gallery/image-gallery.d.ts +9 -0
- package/dist/src/components/image-gallery/image-gallery.stories.d.ts +18 -0
- package/dist/src/components/popover/popover.d.ts +15 -0
- package/dist/src/components/popover/popover.stories.d.ts +63 -0
- package/dist/src/components/room-details-popover/room-details-popover.d.ts +18 -0
- package/dist/src/components/table/table.d.ts +9 -0
- package/dist/src/components/tooltip/tooltip.d.ts +9 -0
- package/dist/src/components/tooltip/tooltip.stories.d.ts +63 -0
- package/dist/src/components/wysiwyg/wysiwyg.d.ts +9 -0
- package/dist/src/components/wysiwyg/wysiwyg.stories.d.ts +9 -0
- package/dist/src/views/lists.vue.d.ts +45 -0
- package/dist/src/views/tables.vue.d.ts +36 -0
- package/package.json +1 -1
package/dist/index244.js
CHANGED
|
@@ -1,178 +1,56 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
},
|
|
53
|
-
columnResizer: "p-column-resizer",
|
|
54
|
-
headerContent: "p-column-header-content",
|
|
55
|
-
headerTitle: "p-column-title",
|
|
56
|
-
sortIcon: "p-sortable-column-icon",
|
|
57
|
-
sortBadge: "p-sortable-column-badge",
|
|
58
|
-
// columnfilter
|
|
59
|
-
columnFilter: function(t) {
|
|
60
|
-
var e = t.props;
|
|
61
|
-
return ["p-column-filter p-fluid", {
|
|
62
|
-
"p-column-filter-row": e.display === "row",
|
|
63
|
-
"p-column-filter-menu": e.display === "menu"
|
|
64
|
-
}];
|
|
65
|
-
},
|
|
66
|
-
filterInput: "p-fluid p-column-filter-element",
|
|
67
|
-
filterMenuButton: function(t) {
|
|
68
|
-
var e = t.instance;
|
|
69
|
-
return ["p-column-filter-menu-button p-link", {
|
|
70
|
-
"p-column-filter-menu-button-open": e.overlayVisible,
|
|
71
|
-
"p-column-filter-menu-button-active": e.hasFilter()
|
|
72
|
-
}];
|
|
73
|
-
},
|
|
74
|
-
headerFilterClearButton: function(t) {
|
|
75
|
-
var e = t.instance;
|
|
76
|
-
return ["p-column-filter-clear-button p-link", {
|
|
77
|
-
"p-hidden-space": !e.hasRowFilter()
|
|
78
|
-
}];
|
|
79
|
-
},
|
|
80
|
-
filterOverlay: function(t) {
|
|
81
|
-
var e = t.instance, o = t.props;
|
|
82
|
-
return [{
|
|
83
|
-
"p-column-filter-overlay p-component p-fluid": !0,
|
|
84
|
-
"p-column-filter-overlay-menu": o.display === "menu",
|
|
85
|
-
"p-ripple-disabled": e.$primevue.config.ripple === !1
|
|
86
|
-
}];
|
|
87
|
-
},
|
|
88
|
-
filterRowItems: "p-column-filter-row-items",
|
|
89
|
-
filterRowItem: function(t) {
|
|
90
|
-
var e = t.instance, o = t.matchMode;
|
|
91
|
-
return ["p-column-filter-row-item", {
|
|
92
|
-
"p-highlight": o && e.isRowMatchModeSelected(o.value)
|
|
93
|
-
}];
|
|
94
|
-
},
|
|
95
|
-
filterSeparator: "p-column-filter-separator",
|
|
96
|
-
filterOperator: "p-column-filter-operator",
|
|
97
|
-
filterOperatorDropdown: "p-column-filter-operator-dropdown",
|
|
98
|
-
filterConstraints: "p-column-filter-constraints",
|
|
99
|
-
filterConstraint: "p-column-filter-constraint",
|
|
100
|
-
filterMatchModeDropdown: "p-column-filter-matchmode-dropdown",
|
|
101
|
-
filterRemoveButton: "p-column-filter-remove-button p-button-text p-button-danger p-button-sm",
|
|
102
|
-
filterAddRule: "p-column-filter-add-rule",
|
|
103
|
-
filterAddRuleButton: "p-column-filter-add-button p-button-text p-button-sm",
|
|
104
|
-
filterButtonbar: "p-column-filter-buttonbar",
|
|
105
|
-
filterClearButton: "p-button-outlined p-button-sm",
|
|
106
|
-
filterApplyButton: "p-button-sm",
|
|
107
|
-
//tablebody
|
|
108
|
-
tbody: function(t) {
|
|
109
|
-
var e = t.props;
|
|
110
|
-
return e.frozenRow ? "p-datatable-tbody p-datatable-frozen-tbody" : "p-datatable-tbody";
|
|
111
|
-
},
|
|
112
|
-
rowgroupHeader: "p-rowgroup-header",
|
|
113
|
-
rowGroupToggler: "p-row-toggler p-link",
|
|
114
|
-
rowGroupTogglerIcon: "p-row-toggler-icon",
|
|
115
|
-
row: function(t) {
|
|
116
|
-
var e = t.instance, o = t.props, l = t.index, a = t.columnSelectionMode, n = [];
|
|
117
|
-
return o.selectionMode && n.push("p-selectable-row"), o.selection && n.push({
|
|
118
|
-
"p-highlight": a ? e.isSelected && e.$parentInstance.$parentInstance.highlightOnSelect : e.isSelected
|
|
119
|
-
}), o.contextMenuSelection && n.push({
|
|
120
|
-
"p-highlight-contextmenu": e.isSelectedWithContextMenu
|
|
121
|
-
}), n.push(l % 2 === 0 ? "p-row-even" : "p-row-odd"), n;
|
|
122
|
-
},
|
|
123
|
-
rowExpansion: "p-datatable-row-expansion",
|
|
124
|
-
rowgroupFooter: "p-rowgroup-footer",
|
|
125
|
-
emptyMessage: "p-datatable-emptymessage",
|
|
126
|
-
//bodycell
|
|
127
|
-
bodyCell: function(t) {
|
|
128
|
-
var e = t.instance;
|
|
129
|
-
return [{
|
|
130
|
-
"p-selection-column": e.columnProp("selectionMode") != null,
|
|
131
|
-
"p-editable-column": e.isEditable(),
|
|
132
|
-
"p-cell-editing": e.d_editing,
|
|
133
|
-
"p-frozen-column": e.columnProp("frozen")
|
|
134
|
-
}];
|
|
135
|
-
},
|
|
136
|
-
columnTitle: "p-column-title",
|
|
137
|
-
rowReorderIcon: "p-datatable-reorderablerow-handle",
|
|
138
|
-
rowToggler: "p-row-toggler p-link",
|
|
139
|
-
rowTogglerIcon: "p-row-toggler-icon",
|
|
140
|
-
rowEditorInitButton: "p-row-editor-init p-link",
|
|
141
|
-
rowEditorInitIcon: "p-row-editor-init-icon",
|
|
142
|
-
rowEditorSaveButton: "p-row-editor-save p-link",
|
|
143
|
-
rowEditorSaveIcon: "p-row-editor-save-icon",
|
|
144
|
-
rowEditorCancelButton: "p-row-editor-cancel p-link",
|
|
145
|
-
rowEditorCancelIcon: "p-row-editor-cancel-icon",
|
|
146
|
-
//tablefooter
|
|
147
|
-
tfoot: "p-datatable-tfoot",
|
|
148
|
-
//footercell
|
|
149
|
-
footerCell: function(t) {
|
|
150
|
-
var e = t.instance;
|
|
151
|
-
return [{
|
|
152
|
-
"p-frozen-column": e.columnProp("frozen")
|
|
153
|
-
}];
|
|
154
|
-
},
|
|
155
|
-
//datatable
|
|
156
|
-
virtualScrollerSpacer: "p-datatable-virtualscroller-spacer",
|
|
157
|
-
footer: "p-datatable-footer",
|
|
158
|
-
resizeHelper: "p-column-resizer-helper",
|
|
159
|
-
reorderIndicatorUp: "p-datatable-reorder-indicator-up",
|
|
160
|
-
reorderIndicatorDown: "p-datatable-reorder-indicator-down"
|
|
161
|
-
}, u = {
|
|
162
|
-
wrapper: {
|
|
163
|
-
overflow: "auto"
|
|
164
|
-
},
|
|
165
|
-
thead: {
|
|
166
|
-
position: "sticky"
|
|
167
|
-
},
|
|
168
|
-
tfoot: {
|
|
169
|
-
position: "sticky"
|
|
1
|
+
import { Node as m, nodeInputRule as f, canInsertNode as h, isNodeSelection as T, mergeAttributes as y } from "./index236.js";
|
|
2
|
+
import { TextSelection as s, NodeSelection as N } from "./index251.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" }];
|
|
14
|
+
},
|
|
15
|
+
renderHTML({ HTMLAttributes: n }) {
|
|
16
|
+
return ["hr", y(this.options.HTMLAttributes, n)];
|
|
17
|
+
},
|
|
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
|
+
];
|
|
170
52
|
}
|
|
171
|
-
}, s = i.extend({
|
|
172
|
-
name: "datatable",
|
|
173
|
-
classes: p,
|
|
174
|
-
inlineStyles: u
|
|
175
53
|
});
|
|
176
54
|
export {
|
|
177
|
-
|
|
55
|
+
M as HorizontalRule
|
|
178
56
|
};
|
package/dist/index245.js
CHANGED
|
@@ -1,24 +1,77 @@
|
|
|
1
|
-
import r from "./
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
1
|
+
import { Mark as s, markPasteRule as r, markInputRule as a, mergeAttributes as n } from "./index236.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",
|
|
4
|
+
addOptions() {
|
|
5
|
+
return {
|
|
6
|
+
HTMLAttributes: {}
|
|
7
|
+
};
|
|
8
|
+
},
|
|
9
|
+
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
|
+
];
|
|
26
|
+
},
|
|
27
|
+
renderHTML({ HTMLAttributes: t }) {
|
|
28
|
+
return ["em", n(this.options.HTMLAttributes, t), 0];
|
|
29
|
+
},
|
|
30
|
+
addCommands() {
|
|
31
|
+
return {
|
|
32
|
+
setItalic: () => ({ commands: t }) => t.setMark(this.name),
|
|
33
|
+
toggleItalic: () => ({ commands: t }) => t.toggleMark(this.name),
|
|
34
|
+
unsetItalic: () => ({ commands: t }) => t.unsetMark(this.name)
|
|
35
|
+
};
|
|
36
|
+
},
|
|
37
|
+
markdownTokenName: "em",
|
|
38
|
+
parseMarkdown: (t, e) => e.applyMark("italic", e.parseInline(t.tokens || [])),
|
|
39
|
+
renderMarkdown: (t, e) => `*${e.renderChildren(t)}*`,
|
|
40
|
+
addKeyboardShortcuts() {
|
|
41
|
+
return {
|
|
42
|
+
"Mod-i": () => this.editor.commands.toggleItalic(),
|
|
43
|
+
"Mod-I": () => this.editor.commands.toggleItalic()
|
|
44
|
+
};
|
|
45
|
+
},
|
|
46
|
+
addInputRules() {
|
|
47
|
+
return [
|
|
48
|
+
a({
|
|
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({
|
|
65
|
+
find: l,
|
|
66
|
+
type: this.type
|
|
67
|
+
})
|
|
68
|
+
];
|
|
69
|
+
}
|
|
70
|
+
});
|
|
22
71
|
export {
|
|
23
|
-
|
|
72
|
+
m as Italic,
|
|
73
|
+
i as starInputRegex,
|
|
74
|
+
d as starPasteRegex,
|
|
75
|
+
o as underscoreInputRegex,
|
|
76
|
+
l as underscorePasteRegex
|
|
24
77
|
};
|