beca-ui 2.0.11-beta.32 → 2.0.11-beta.34
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/beca-ui.js +25 -11
- package/dist/main.css +1 -1
- package/package.json +2 -2
package/dist/beca-ui.js
CHANGED
|
@@ -95955,6 +95955,15 @@ const XD = (e, t, n) => {
|
|
|
95955
95955
|
colorText: "var(--primary-text-color)",
|
|
95956
95956
|
colorError: "var(--danger-color-4)",
|
|
95957
95957
|
colorWarning: "var(--warning-color-4)"
|
|
95958
|
+
},
|
|
95959
|
+
InputNumber: {
|
|
95960
|
+
colorBorder: "var(--input-border-color)",
|
|
95961
|
+
hoverBorderColor: "var(--primary-color-5)",
|
|
95962
|
+
colorBgContainer: "var(--input-bg-color)",
|
|
95963
|
+
colorTextPlaceholder: " var(--input-placeholder-color)",
|
|
95964
|
+
colorText: "var(--primary-text-color)",
|
|
95965
|
+
colorError: "var(--danger-color-4)",
|
|
95966
|
+
colorWarning: "var(--warning-color-4)"
|
|
95958
95967
|
}
|
|
95959
95968
|
}
|
|
95960
95969
|
}, Zlt = {
|
|
@@ -133178,10 +133187,9 @@ const h5t = Ws.create({
|
|
|
133178
133187
|
k == null || k.setOptions({
|
|
133179
133188
|
editorProps: {
|
|
133180
133189
|
handlePaste: (D, B) => {
|
|
133181
|
-
var K, G;
|
|
133190
|
+
var K, G, X, J;
|
|
133182
133191
|
let H = !0;
|
|
133183
133192
|
const z = (K = B == null ? void 0 : B.clipboardData) == null ? void 0 : K.getData("text/html");
|
|
133184
|
-
console.log(z);
|
|
133185
133193
|
let A = !1;
|
|
133186
133194
|
if (z && z.length > 11 && z.substring(0, 11) === "<html xmlns" && (A = !0), A && z)
|
|
133187
133195
|
fve.confirm({
|
|
@@ -133189,17 +133197,17 @@ const h5t = Ws.create({
|
|
|
133189
133197
|
okText: w.paste,
|
|
133190
133198
|
cancelText: w.format,
|
|
133191
133199
|
onOk: () => {
|
|
133192
|
-
var
|
|
133193
|
-
(
|
|
133200
|
+
var Z;
|
|
133201
|
+
(Z = k == null ? void 0 : k.commands) == null || Z.insertContent(z, {
|
|
133194
133202
|
parseOptions: {
|
|
133195
133203
|
preserveWhitespace: !1
|
|
133196
133204
|
}
|
|
133197
133205
|
}), H = !1;
|
|
133198
133206
|
},
|
|
133199
133207
|
onCancel: () => {
|
|
133200
|
-
var
|
|
133201
|
-
const
|
|
133202
|
-
(
|
|
133208
|
+
var ee;
|
|
133209
|
+
const Z = F(z);
|
|
133210
|
+
(ee = k == null ? void 0 : k.commands) == null || ee.insertContent(Z, {
|
|
133203
133211
|
parseOptions: {
|
|
133204
133212
|
preserveWhitespace: !1
|
|
133205
133213
|
}
|
|
@@ -133207,13 +133215,19 @@ const h5t = Ws.create({
|
|
|
133207
133215
|
}
|
|
133208
133216
|
});
|
|
133209
133217
|
else {
|
|
133210
|
-
if (z)
|
|
133211
|
-
|
|
133212
|
-
console.log(X), (G = k == null ? void 0 : k.commands) == null || G.insertContent(z, {
|
|
133218
|
+
if (z)
|
|
133219
|
+
R5t(z), (G = k == null ? void 0 : k.commands) == null || G.insertContent(z, {
|
|
133213
133220
|
parseOptions: {
|
|
133214
|
-
|
|
133221
|
+
preserveWhitespace: !1
|
|
133215
133222
|
}
|
|
133216
133223
|
});
|
|
133224
|
+
else {
|
|
133225
|
+
const Z = (X = B == null ? void 0 : B.clipboardData) == null ? void 0 : X.getData("text");
|
|
133226
|
+
Z && ((J = k == null ? void 0 : k.commands) == null || J.insertContent(Z, {
|
|
133227
|
+
parseOptions: {
|
|
133228
|
+
preserveWhitespace: !1
|
|
133229
|
+
}
|
|
133230
|
+
}));
|
|
133217
133231
|
}
|
|
133218
133232
|
L(D, B);
|
|
133219
133233
|
}
|