@orchidui/dashboard 1.6.1-0 → 1.6.1-2
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.
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ref, watch, onMounted, openBlock, createElementBlock, normalizeStyle } from "vue";
|
|
2
|
-
import { c as commonjsGlobal, g as getDefaultExportFromCjs } from "./QuillEditor-
|
|
2
|
+
import { c as commonjsGlobal, g as getDefaultExportFromCjs } from "./QuillEditor-BHWfmp5D.js";
|
|
3
3
|
var lottie$1 = { exports: {} };
|
|
4
4
|
(function(module, exports) {
|
|
5
5
|
typeof navigator < "u" && function(t, e) {
|
|
@@ -9422,7 +9422,15 @@ const Gl = /* @__PURE__ */ Si(gp), mp = L.import("delta"), Ep = ha({
|
|
|
9422
9422
|
...M.modules,
|
|
9423
9423
|
table: !1,
|
|
9424
9424
|
// disable table module
|
|
9425
|
-
"better-table": {
|
|
9425
|
+
"better-table": {
|
|
9426
|
+
operationMenu: {
|
|
9427
|
+
items: {
|
|
9428
|
+
unmergeCells: {
|
|
9429
|
+
text: "Another unmerge cells name"
|
|
9430
|
+
}
|
|
9431
|
+
}
|
|
9432
|
+
}
|
|
9433
|
+
},
|
|
9426
9434
|
keyboard: {
|
|
9427
9435
|
bindings: Gl.keyboardBindings
|
|
9428
9436
|
}
|
package/dist/index.js
CHANGED
|
@@ -2,7 +2,7 @@ var pt = Object.defineProperty;
|
|
|
2
2
|
var gt = (n, V, r) => V in n ? pt(n, V, { enumerable: !0, configurable: !0, writable: !0, value: r }) : n[V] = r;
|
|
3
3
|
var We = (n, V, r) => gt(n, typeof V != "symbol" ? V + "" : V, r);
|
|
4
4
|
import { ref as v, computed as ke, openBlock as m, createBlock as X, unref as w, normalizeClass as A, withCtx as W, createVNode as T, createCommentVNode as D, createSlots as vt, renderSlot as ze, createElementBlock as E, normalizeStyle as te, onMounted as Je, createElementVNode as h, Fragment as ge, renderList as Ke, toDisplayString as Fe, createTextVNode as ve, watch as we, withKeys as ot, inject as Re, reactive as _e, provide as Be, nextTick as mt, withDirectives as ft, vShow as ht, defineComponent as bt, defineAsyncComponent as it } from "vue";
|
|
5
|
-
import { Q as Y, a as yt } from "./QuillEditor-
|
|
5
|
+
import { Q as Y, a as yt } from "./QuillEditor-BHWfmp5D.js";
|
|
6
6
|
import { BaseInput as st, Dropdown as rt, Input as $e, Icon as Q, Modal as xt, Select as Ze, Slider as Qe } from "@orchidui/core";
|
|
7
7
|
import { hslToRgb as et, hsl2Hex as tt, rgb2Hex as lt, rgbaToHex8 as kt, hexToRgb as je, rgbToHue as Ae, rgbToHsl as at, hex8ToRgba as $t, parseRgba as wt, parseRgb as St } from "./Dashboard/ColorPicker/components/converters.js";
|
|
8
8
|
import { PieChart as Ct } from "./Dashboard/Charts/PieChart/OcPieChart.js";
|
|
@@ -314,7 +314,7 @@ const It = { key: 1 }, Vt = {
|
|
|
314
314
|
});
|
|
315
315
|
return p;
|
|
316
316
|
}), Ye = () => {
|
|
317
|
-
x.value.getQuill().getModule("better-table").insertTable(q.value, Te.value), K.value = !1;
|
|
317
|
+
x.value.getQuill().getModule("better-table").insertTable(parseInt(q.value), parseInt(Te.value)), K.value = !1;
|
|
318
318
|
};
|
|
319
319
|
return (p, o) => (m(), X(w(st), {
|
|
320
320
|
label: n.label,
|
|
@@ -338,17 +338,17 @@ const It = { key: 1 }, Vt = {
|
|
|
338
338
|
}, {
|
|
339
339
|
default: W(() => [
|
|
340
340
|
T(w(Ze), {
|
|
341
|
-
modelValue:
|
|
342
|
-
"onUpdate:modelValue": o[0] || (o[0] = (y) =>
|
|
343
|
-
options:
|
|
344
|
-
label: "Table
|
|
341
|
+
modelValue: Te.value,
|
|
342
|
+
"onUpdate:modelValue": o[0] || (o[0] = (y) => Te.value = y),
|
|
343
|
+
options: Ge.value,
|
|
344
|
+
label: "Table cell",
|
|
345
345
|
class: "mb-3"
|
|
346
346
|
}, null, 8, ["modelValue", "options"]),
|
|
347
347
|
T(w(Ze), {
|
|
348
|
-
modelValue:
|
|
349
|
-
"onUpdate:modelValue": o[1] || (o[1] = (y) =>
|
|
350
|
-
options:
|
|
351
|
-
label: "Table
|
|
348
|
+
modelValue: q.value,
|
|
349
|
+
"onUpdate:modelValue": o[1] || (o[1] = (y) => q.value = y),
|
|
350
|
+
options: qe.value,
|
|
351
|
+
label: "Table rows"
|
|
352
352
|
}, null, 8, ["modelValue", "options"])
|
|
353
353
|
]),
|
|
354
354
|
_: 1
|
|
@@ -1826,7 +1826,7 @@ const It = { key: 1 }, Vt = {
|
|
|
1826
1826
|
}), Ml = it(
|
|
1827
1827
|
() => import("./OcCodeBlock-chTpuRDc.js")
|
|
1828
1828
|
), Ul = it(
|
|
1829
|
-
() => import("./OcLottieAnimation-
|
|
1829
|
+
() => import("./OcLottieAnimation-EBkAB8-y.js")
|
|
1830
1830
|
);
|
|
1831
1831
|
export {
|
|
1832
1832
|
Ql as BarChart,
|