vue3-beak-ui-framework 1.2.65 → 1.2.67
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/{date-GOij691p.js → date-C0ipXik-.js} +1 -1
- package/dist/{index-Pgp0fR5P.js → index-CxqA86n3.js} +63 -63
- package/dist/{index-BvQLiMFz.js → index-DnmPPrM8.js} +1 -1
- package/dist/{index.es-DsCPB-u7.js → index.es-oaR1E833.js} +2 -2
- package/dist/{jspdf.es.min-oFl18shi.js → jspdf.es.min-CdT9solw.js} +1 -1
- package/dist/style.css +1 -1
- package/dist/vue3-beak-ui-framework-lib.es.js +1 -1
- package/dist/vue3-beak-ui-framework-lib.umd.js +1 -1
- package/package.json +1 -1
|
@@ -99459,8 +99459,8 @@ const _withScopeId$9 = (ps) => (pushScopeId("data-v-826bf78f"), ps = ps(), popSc
|
|
|
99459
99459
|
},
|
|
99460
99460
|
emits: ["update:modelValue"],
|
|
99461
99461
|
setup(ps, { emit: Ig }) {
|
|
99462
|
-
var
|
|
99463
|
-
const Zg = ps, Gg = Ig, Bg = ref$1(Zg.modelValue ?? Zg.selected ?? ((
|
|
99462
|
+
var Kg, _g;
|
|
99463
|
+
const Zg = ps, Gg = Ig, Bg = ref$1(Zg.modelValue ?? Zg.selected ?? ((_g = (Kg = Zg.tabs) == null ? void 0 : Kg[0]) == null ? void 0 : _g.value)), Wg = computed(() => {
|
|
99464
99464
|
if (Zg.slider) {
|
|
99465
99465
|
if (Zg.type === "rounded") {
|
|
99466
99466
|
if (Zg.tabs.length === 3)
|
|
@@ -99478,41 +99478,41 @@ const _withScopeId$9 = (ps) => (pushScopeId("data-v-826bf78f"), ps = ps(), popSc
|
|
|
99478
99478
|
}), Ng = ref$1(null), Yg = ref$1(0);
|
|
99479
99479
|
let Xg = null;
|
|
99480
99480
|
const Vg = computed(() => !Zg.mobileBreakpoint || Yg.value === 0 ? !1 : Yg.value < Zg.mobileBreakpoint), Fg = computed(() => Vg.value || !Zg.compactBreakpoint || Yg.value === 0 ? !1 : Yg.value < Zg.compactBreakpoint), Tg = computed(
|
|
99481
|
-
() => Zg.tabs.map((
|
|
99482
|
-
value:
|
|
99483
|
-
label: `${
|
|
99481
|
+
() => Zg.tabs.map((il) => ({
|
|
99482
|
+
value: il.value,
|
|
99483
|
+
label: `${il.label}${il.suffix ? ` (${il.suffix})` : ""}`
|
|
99484
99484
|
}))
|
|
99485
|
-
), Lg = async (
|
|
99486
|
-
|
|
99487
|
-
},
|
|
99488
|
-
const
|
|
99489
|
-
(
|
|
99485
|
+
), Lg = (il) => Bg.value === il.value ? il.color ?? Zg.color ?? "primary" : il.color, Dg = async (il) => {
|
|
99486
|
+
il && (Zg.isvalidationrequired && await Jg(() => Zg.isvalid), (Zg.isvalid === 1 || !Zg.isvalidationrequired) && (Bg.value = il));
|
|
99487
|
+
}, Jg = (il) => new Promise((Hg) => {
|
|
99488
|
+
const eI = setInterval(() => {
|
|
99489
|
+
(il() === 1 || il() === 0) && (clearInterval(eI), Hg());
|
|
99490
99490
|
}, 50);
|
|
99491
|
-
}),
|
|
99492
|
-
Zg.isvalidationrequired && await
|
|
99491
|
+
}), $g = async (il) => {
|
|
99492
|
+
Zg.isvalidationrequired && await Jg(() => Zg.isvalid), Zg.isvalid === 1 || !Zg.isvalidationrequired ? Bg.value = il.value : console.log("Error on Validation !");
|
|
99493
99493
|
};
|
|
99494
|
-
function
|
|
99495
|
-
Zg.disabled || (Bg.value =
|
|
99494
|
+
function Qg(il) {
|
|
99495
|
+
Zg.disabled || (Bg.value = il);
|
|
99496
99496
|
}
|
|
99497
99497
|
return onMounted(() => {
|
|
99498
|
-
console.log("|===>V-Tabs:", Zg), Zg.modelValue === void 0 && Zg.selected === void 0 && Bg.value !== void 0 && Gg("update:modelValue", Bg.value), !(typeof window > "u" || typeof ResizeObserver > "u") && (!Zg.compactBreakpoint && !Zg.mobileBreakpoint || Ng.value && (Xg = new ResizeObserver((
|
|
99499
|
-
const
|
|
99500
|
-
|
|
99498
|
+
console.log("|===>V-Tabs:", Zg), Zg.modelValue === void 0 && Zg.selected === void 0 && Bg.value !== void 0 && Gg("update:modelValue", Bg.value), !(typeof window > "u" || typeof ResizeObserver > "u") && (!Zg.compactBreakpoint && !Zg.mobileBreakpoint || Ng.value && (Xg = new ResizeObserver((il) => {
|
|
99499
|
+
const Hg = il[il.length - 1];
|
|
99500
|
+
Hg && (Yg.value = Hg.contentRect.width);
|
|
99501
99501
|
}), Xg.observe(Ng.value)));
|
|
99502
99502
|
}), onBeforeUnmount(() => {
|
|
99503
99503
|
Xg == null || Xg.disconnect(), Xg = null;
|
|
99504
99504
|
}), watch(
|
|
99505
99505
|
() => Bg.value,
|
|
99506
|
-
(
|
|
99507
|
-
console.log("ActiveValue.value has changed:",
|
|
99506
|
+
(il, Hg) => {
|
|
99507
|
+
console.log("ActiveValue.value has changed:", il, Hg), Gg("update:modelValue", Bg.value);
|
|
99508
99508
|
}
|
|
99509
99509
|
), watch(
|
|
99510
99510
|
() => Zg.selected,
|
|
99511
|
-
(
|
|
99512
|
-
console.log("props.selected has changed:",
|
|
99511
|
+
(il, Hg) => {
|
|
99512
|
+
console.log("props.selected has changed:", il, Hg), Bg.value = Zg.selected;
|
|
99513
99513
|
}
|
|
99514
|
-
), (
|
|
99515
|
-
const
|
|
99514
|
+
), (il, Hg) => {
|
|
99515
|
+
const eI = resolveComponent("Multiselect"), iI = BWIcon, tI = _sfc_main$26, nI = BWLoader;
|
|
99516
99516
|
return openBlock(), createElementBlock("div", {
|
|
99517
99517
|
ref_key: "rootEl",
|
|
99518
99518
|
ref: Ng,
|
|
@@ -99523,7 +99523,7 @@ const _withScopeId$9 = (ps) => (pushScopeId("data-v-826bf78f"), ps = ps(), popSc
|
|
|
99523
99523
|
}, [
|
|
99524
99524
|
createElementVNode("div", _hoisted_1$15, [
|
|
99525
99525
|
Vg.value ? (openBlock(), createElementBlock("div", _hoisted_2$Z, [
|
|
99526
|
-
createVNode(
|
|
99526
|
+
createVNode(eI, {
|
|
99527
99527
|
class: "bw-tab-select",
|
|
99528
99528
|
"model-value": Bg.value,
|
|
99529
99529
|
options: Tg.value,
|
|
@@ -99534,7 +99534,7 @@ const _withScopeId$9 = (ps) => (pushScopeId("data-v-826bf78f"), ps = ps(), popSc
|
|
|
99534
99534
|
searchable: !1,
|
|
99535
99535
|
caret: !0,
|
|
99536
99536
|
"can-clear": !1,
|
|
99537
|
-
onChange:
|
|
99537
|
+
onChange: Dg
|
|
99538
99538
|
}, null, 8, ["model-value", "options", "disabled"])
|
|
99539
99539
|
])) : (openBlock(), createElementBlock("div", {
|
|
99540
99540
|
key: 1,
|
|
@@ -99549,31 +99549,31 @@ const _withScopeId$9 = (ps) => (pushScopeId("data-v-826bf78f"), ps = ps(), popSc
|
|
|
99549
99549
|
]])
|
|
99550
99550
|
}, [
|
|
99551
99551
|
createElementVNode("ul", null, [
|
|
99552
|
-
(openBlock(!0), createElementBlock(Fragment, null, renderList(ps.tabs, (
|
|
99553
|
-
key:
|
|
99554
|
-
class: normalizeClass([Bg.value ===
|
|
99552
|
+
(openBlock(!0), createElementBlock(Fragment, null, renderList(ps.tabs, (oI, gI) => (openBlock(), createElementBlock("li", {
|
|
99553
|
+
key: gI,
|
|
99554
|
+
class: normalizeClass([Bg.value === oI.value && "is-active"])
|
|
99555
99555
|
}, [
|
|
99556
99556
|
ps.disabled ? (openBlock(), createElementBlock("a", {
|
|
99557
99557
|
key: 1,
|
|
99558
|
-
class: normalizeClass([Bg.value !==
|
|
99558
|
+
class: normalizeClass([Bg.value !== oI.value && "is-disabled"])
|
|
99559
99559
|
}, [
|
|
99560
|
-
|
|
99560
|
+
oI.icon ? (openBlock(), createBlock(iI, {
|
|
99561
99561
|
key: 0,
|
|
99562
|
-
icon:
|
|
99562
|
+
icon: oI.icon,
|
|
99563
99563
|
size: ps.iconSize
|
|
99564
99564
|
}, null, 8, ["icon", "size"])) : createCommentVNode("", !0),
|
|
99565
99565
|
createElementVNode("span", _hoisted_6$n, [
|
|
99566
|
-
renderSlot(
|
|
99566
|
+
renderSlot(il.$slots, "tab-link-label", mergeProps({ ref_for: !0 }, {
|
|
99567
99567
|
activeValue: Bg.value,
|
|
99568
|
-
tab:
|
|
99569
|
-
key:
|
|
99570
|
-
toggle:
|
|
99568
|
+
tab: oI,
|
|
99569
|
+
key: gI,
|
|
99570
|
+
toggle: Qg
|
|
99571
99571
|
}), () => [
|
|
99572
|
-
createTextVNode(toDisplayString$1(
|
|
99572
|
+
createTextVNode(toDisplayString$1(oI.label), 1)
|
|
99573
99573
|
])
|
|
99574
99574
|
]),
|
|
99575
99575
|
createElementVNode("span", _hoisted_7$l, [
|
|
99576
|
-
createVNode(
|
|
99576
|
+
createVNode(nI, {
|
|
99577
99577
|
active: Zg.loading,
|
|
99578
99578
|
type: "spinner-letter",
|
|
99579
99579
|
size: "small",
|
|
@@ -99581,10 +99581,10 @@ const _withScopeId$9 = (ps) => (pushScopeId("data-v-826bf78f"), ps = ps(), popSc
|
|
|
99581
99581
|
width: "100%"
|
|
99582
99582
|
}, {
|
|
99583
99583
|
"waited-content": withCtx(() => [
|
|
99584
|
-
|
|
99584
|
+
oI.suffix && Wg.value === "" ? (openBlock(), createBlock(tI, {
|
|
99585
99585
|
key: 0,
|
|
99586
99586
|
color: "solid",
|
|
99587
|
-
label:
|
|
99587
|
+
label: oI.suffix
|
|
99588
99588
|
}, null, 8, ["label"])) : createCommentVNode("", !0)
|
|
99589
99589
|
]),
|
|
99590
99590
|
_: 2
|
|
@@ -99592,27 +99592,27 @@ const _withScopeId$9 = (ps) => (pushScopeId("data-v-826bf78f"), ps = ps(), popSc
|
|
|
99592
99592
|
])
|
|
99593
99593
|
], 2)) : (openBlock(), createElementBlock("a", {
|
|
99594
99594
|
key: 0,
|
|
99595
|
-
onClick: (
|
|
99595
|
+
onClick: (hI) => $g(oI),
|
|
99596
99596
|
class: normalizeClass([Zg.color && `is-${ps.color}`])
|
|
99597
99597
|
}, [
|
|
99598
|
-
|
|
99598
|
+
oI.icon ? (openBlock(), createBlock(iI, {
|
|
99599
99599
|
key: 0,
|
|
99600
|
-
icon:
|
|
99600
|
+
icon: oI.icon,
|
|
99601
99601
|
size: ps.iconSize,
|
|
99602
|
-
color:
|
|
99602
|
+
color: Lg(oI)
|
|
99603
99603
|
}, null, 8, ["icon", "size", "color"])) : createCommentVNode("", !0),
|
|
99604
99604
|
createElementVNode("span", _hoisted_4$E, [
|
|
99605
|
-
renderSlot(
|
|
99605
|
+
renderSlot(il.$slots, "tab-link-label", mergeProps({ ref_for: !0 }, {
|
|
99606
99606
|
activeValue: Bg.value,
|
|
99607
|
-
tab:
|
|
99608
|
-
key:
|
|
99609
|
-
toggle:
|
|
99607
|
+
tab: oI,
|
|
99608
|
+
key: gI,
|
|
99609
|
+
toggle: Qg
|
|
99610
99610
|
}), () => [
|
|
99611
|
-
createTextVNode(toDisplayString$1(
|
|
99611
|
+
createTextVNode(toDisplayString$1(oI.label), 1)
|
|
99612
99612
|
])
|
|
99613
99613
|
]),
|
|
99614
99614
|
createElementVNode("span", _hoisted_5$w, [
|
|
99615
|
-
createVNode(
|
|
99615
|
+
createVNode(nI, {
|
|
99616
99616
|
active: Zg.loading,
|
|
99617
99617
|
type: "spinner-letter",
|
|
99618
99618
|
size: "small",
|
|
@@ -99620,10 +99620,10 @@ const _withScopeId$9 = (ps) => (pushScopeId("data-v-826bf78f"), ps = ps(), popSc
|
|
|
99620
99620
|
width: "100%"
|
|
99621
99621
|
}, {
|
|
99622
99622
|
"waited-content": withCtx(() => [
|
|
99623
|
-
|
|
99623
|
+
oI.suffix && Wg.value === "" ? (openBlock(), createBlock(tI, {
|
|
99624
99624
|
key: 0,
|
|
99625
|
-
color: Bg.value ===
|
|
99626
|
-
label:
|
|
99625
|
+
color: Bg.value === oI.value ? "primary" : "solid",
|
|
99626
|
+
label: oI.suffix
|
|
99627
99627
|
}, null, 8, ["color", "label"])) : createCommentVNode("", !0)
|
|
99628
99628
|
]),
|
|
99629
99629
|
_: 2
|
|
@@ -99636,14 +99636,14 @@ const _withScopeId$9 = (ps) => (pushScopeId("data-v-826bf78f"), ps = ps(), popSc
|
|
|
99636
99636
|
], 2))
|
|
99637
99637
|
]),
|
|
99638
99638
|
createElementVNode("div", _hoisted_9$g, [
|
|
99639
|
-
ps.renderAllTabs ? (openBlock(!0), createElementBlock(Fragment, { key: 0 }, renderList(ps.tabs, (
|
|
99640
|
-
key:
|
|
99641
|
-
class: normalizeClass(["tab-content", { "is-active": Bg.value ===
|
|
99639
|
+
ps.renderAllTabs ? (openBlock(!0), createElementBlock(Fragment, { key: 0 }, renderList(ps.tabs, (oI) => (openBlock(), createElementBlock("div", {
|
|
99640
|
+
key: oI.value,
|
|
99641
|
+
class: normalizeClass(["tab-content", { "is-active": Bg.value === oI.value, "is-hidden": Bg.value !== oI.value }])
|
|
99642
99642
|
}, [
|
|
99643
|
-
renderSlot(
|
|
99644
|
-
activeValue:
|
|
99645
|
-
tabValue:
|
|
99646
|
-
isActive: Bg.value ===
|
|
99643
|
+
renderSlot(il.$slots, "tab", {
|
|
99644
|
+
activeValue: oI.value,
|
|
99645
|
+
tabValue: oI.value,
|
|
99646
|
+
isActive: Bg.value === oI.value
|
|
99647
99647
|
})
|
|
99648
99648
|
], 2))), 128)) : (openBlock(), createElementBlock("div", _hoisted_10$d, [
|
|
99649
99649
|
createVNode(Transition$1, {
|
|
@@ -99651,7 +99651,7 @@ const _withScopeId$9 = (ps) => (pushScopeId("data-v-826bf78f"), ps = ps(), popSc
|
|
|
99651
99651
|
mode: "out-in"
|
|
99652
99652
|
}, {
|
|
99653
99653
|
default: withCtx(() => [
|
|
99654
|
-
renderSlot(
|
|
99654
|
+
renderSlot(il.$slots, "tab", { activeValue: Bg.value })
|
|
99655
99655
|
]),
|
|
99656
99656
|
_: 3
|
|
99657
99657
|
}, 8, ["name"])
|
|
@@ -123121,7 +123121,7 @@ class Columns {
|
|
|
123121
123121
|
const Tg = Bg.headings[Ig], Lg = [];
|
|
123122
123122
|
if (Tg.getAttribute("data-type") === "date") {
|
|
123123
123123
|
let Dg = !1;
|
|
123124
|
-
Tg.hasAttribute("data-format") && (Dg = Tg.getAttribute("data-format")), Lg.push(import("./date-
|
|
123124
|
+
Tg.hasAttribute("data-format") && (Dg = Tg.getAttribute("data-format")), Lg.push(import("./date-C0ipXik-.js").then(({ parseDate: $g }) => (Qg) => $g(Qg, Dg)));
|
|
123125
123125
|
}
|
|
123126
123126
|
Promise.all(Lg).then((Dg) => {
|
|
123127
123127
|
const Jg = Dg[0];
|
|
@@ -124658,7 +124658,7 @@ const _hoisted_1$M = ["id", "data-uid", "disabled"], _sfc_main$S = /* @__PURE__
|
|
|
124658
124658
|
Qg.value = !0, _g.value = null;
|
|
124659
124659
|
let MI;
|
|
124660
124660
|
try {
|
|
124661
|
-
({ Previewer: MI } = await import("./index-
|
|
124661
|
+
({ Previewer: MI } = await import("./index-DnmPPrM8.js"));
|
|
124662
124662
|
} catch (OI) {
|
|
124663
124663
|
_g.value = "pagedjs is not installed. Run: npm i pagedjs", Qg.value = !1, Bg("render-error", OI);
|
|
124664
124664
|
return;
|
|
@@ -124769,7 +124769,7 @@ const _hoisted_1$M = ["id", "data-uid", "disabled"], _sfc_main$S = /* @__PURE__
|
|
|
124769
124769
|
}
|
|
124770
124770
|
const [_I, cC] = await Promise.all([
|
|
124771
124771
|
import("./html2canvas.esm-DgdJBc_o.js"),
|
|
124772
|
-
import("./jspdf.es.min-
|
|
124772
|
+
import("./jspdf.es.min-CdT9solw.js").then((dC) => dC.j)
|
|
124773
124773
|
]), rC = _I.default || _I, IC = cC.jsPDF || cC.default, [AC, NC] = wI[Gg.pageSize], uC = Gg.pageLayout === "landscape" ? "landscape" : "portrait", CC = uC === "landscape" ? NC : AC, nC = uC === "landscape" ? AC : NC, oC = new IC({
|
|
124774
124774
|
orientation: uC,
|
|
124775
124775
|
unit: "mm",
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { c as Va, g as al } from "./index-
|
|
2
|
-
import { _ as ka } from "./jspdf.es.min-
|
|
1
|
+
import { c as Va, g as al } from "./index-CxqA86n3.js";
|
|
2
|
+
import { _ as ka } from "./jspdf.es.min-CdT9solw.js";
|
|
3
3
|
var cn = {}, vn = {}, Cr, gn;
|
|
4
4
|
function ae() {
|
|
5
5
|
if (gn) return Cr;
|
|
@@ -9246,7 +9246,7 @@ function(n) {
|
|
|
9246
9246
|
var d = h.getContext("2d");
|
|
9247
9247
|
d.fillStyle = "#fff", d.fillRect(0, 0, h.width, h.height);
|
|
9248
9248
|
var m = { ignoreMouse: !0, ignoreAnimation: !0, ignoreDimensions: !0 }, _ = this;
|
|
9249
|
-
return (Kt.canvg ? Promise.resolve(Kt.canvg) : import("./index.es-
|
|
9249
|
+
return (Kt.canvg ? Promise.resolve(Kt.canvg) : import("./index.es-oaR1E833.js")).catch(function(k) {
|
|
9250
9250
|
return Promise.reject(new Error("Could not load canvg: " + k));
|
|
9251
9251
|
}).then(function(k) {
|
|
9252
9252
|
return k.default ? k.default : k;
|