@budibase/bbui 3.22.2 → 3.22.3
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.
|
@@ -14421,7 +14421,7 @@ function instance$1m(u, l, f) {
|
|
|
14421
14421
|
let p, { height: m = null } = l, { scroll: b = !0 } = l, { easyMDEOptions: v = null } = l, { mde: y = null } = l, { id: k = null } = l, { fullScreenOffset: w = null } = l, { disabled: S = !1 } = l, T;
|
|
14422
14422
|
onMount(async () => {
|
|
14423
14423
|
f(4, m = m || "200px");
|
|
14424
|
-
const { default: R } = await import("./easymde-
|
|
14424
|
+
const { default: R } = await import("./easymde-b915837b.mjs").then((P) => P.e);
|
|
14425
14425
|
f(5, y = new R({
|
|
14426
14426
|
element: T,
|
|
14427
14427
|
spellChecker: !1,
|
|
@@ -22346,8 +22346,8 @@ function create_if_block$q(u) {
|
|
|
22346
22346
|
);
|
|
22347
22347
|
return {
|
|
22348
22348
|
c() {
|
|
22349
|
-
l = element("div"), create_component(f.$$.fragment), p = space(), m = element("div"), b = element("div"), O && O.c(), v = space(), E && E.c(), y = space(), R && R.c(), k = space(), P && P.c(), attr(b, "class", "spectrum-Toast-content row-content svelte-
|
|
22350
|
-
u[0] + " svelte-
|
|
22349
|
+
l = element("div"), create_component(f.$$.fragment), p = space(), m = element("div"), b = element("div"), O && O.c(), v = space(), E && E.c(), y = space(), R && R.c(), k = space(), P && P.c(), attr(b, "class", "spectrum-Toast-content row-content svelte-sh5mp6"), attr(m, "class", "spectrum-Toast-body"), attr(l, "class", w = "spectrum-Toast spectrum-Toast--" + /*type*/
|
|
22350
|
+
u[0] + " svelte-sh5mp6");
|
|
22351
22351
|
},
|
|
22352
22352
|
m(L, M) {
|
|
22353
22353
|
insert(L, l, M), mount_component(f, l, null), append$1(l, p), append$1(l, m), append$1(m, b), O && O.m(b, null), append$1(b, v), E && E.m(b, null), append$1(m, y), R && R.m(m, null), append$1(l, k), P && P.m(l, null), S = !0;
|
|
@@ -22385,7 +22385,7 @@ function create_if_block$q(u) {
|
|
|
22385
22385
|
P = null;
|
|
22386
22386
|
}), check_outros()), (!S || M & /*type*/
|
|
22387
22387
|
1 && w !== (w = "spectrum-Toast spectrum-Toast--" + /*type*/
|
|
22388
|
-
L[0] + " svelte-
|
|
22388
|
+
L[0] + " svelte-sh5mp6")) && attr(l, "class", w);
|
|
22389
22389
|
},
|
|
22390
22390
|
i(L) {
|
|
22391
22391
|
S || (transition_in(f.$$.fragment, L), transition_in(O, L), transition_in(P), S = !0);
|
|
@@ -22405,7 +22405,7 @@ function create_if_block_3$5(u) {
|
|
|
22405
22405
|
l = element("button"), f = element("u"), p = text(
|
|
22406
22406
|
/*extraLinkText*/
|
|
22407
22407
|
u[5]
|
|
22408
|
-
), attr(f, "class", "svelte-
|
|
22408
|
+
), attr(f, "class", "svelte-sh5mp6"), attr(l, "class", "link svelte-sh5mp6");
|
|
22409
22409
|
},
|
|
22410
22410
|
m(v, y) {
|
|
22411
22411
|
insert(v, l, y), append$1(l, f), append$1(f, p), m || (b = listen(l, "click", function() {
|
|
@@ -22435,7 +22435,7 @@ function create_if_block_2$b(u) {
|
|
|
22435
22435
|
l = element("button"), f = element("span"), p = text(
|
|
22436
22436
|
/*extraButtonText*/
|
|
22437
22437
|
u[3]
|
|
22438
|
-
), attr(f, "class", "spectrum-Button-label"), attr(l, "class", "spectrum-Button spectrum-Button--sizeM spectrum-Button--overBackground spectrum-Button--quiet svelte-
|
|
22438
|
+
), attr(f, "class", "spectrum-Button-label"), attr(l, "class", "spectrum-Button spectrum-Button--sizeM spectrum-Button--overBackground spectrum-Button--quiet svelte-sh5mp6");
|
|
22439
22439
|
},
|
|
22440
22440
|
m(v, y) {
|
|
22441
22441
|
insert(v, l, y), append$1(l, f), append$1(f, p), m || (b = listen(l, "click", function() {
|
|
@@ -22468,7 +22468,7 @@ function create_if_block_1$i(u) {
|
|
|
22468
22468
|
}), {
|
|
22469
22469
|
c() {
|
|
22470
22470
|
l = element("div"), f = element("button"), p = element("div"), create_component(m.$$.fragment), attr(p, "class", "spectrum-ClearButton-fill"), attr(f, "class", b = "spectrum-ClearButton spectrum-ClearButton--overBackground spectrum-ClearButton--size" + /*size*/
|
|
22471
|
-
u[2] + " svelte-
|
|
22471
|
+
u[2] + " svelte-sh5mp6"), attr(l, "class", "spectrum-Toast-buttons");
|
|
22472
22472
|
},
|
|
22473
22473
|
m(w, S) {
|
|
22474
22474
|
insert(w, l, S), append$1(l, f), append$1(f, p), mount_component(m, p, null), v = !0, y || (k = listen(
|
|
@@ -22484,7 +22484,7 @@ function create_if_block_1$i(u) {
|
|
|
22484
22484
|
4 && (T.size = /*size*/
|
|
22485
22485
|
w[2]), m.$set(T), (!v || S & /*size*/
|
|
22486
22486
|
4 && b !== (b = "spectrum-ClearButton spectrum-ClearButton--overBackground spectrum-ClearButton--size" + /*size*/
|
|
22487
|
-
w[2] + " svelte-
|
|
22487
|
+
w[2] + " svelte-sh5mp6")) && attr(f, "class", b);
|
|
22488
22488
|
},
|
|
22489
22489
|
i(w) {
|
|
22490
22490
|
v || (transition_in(m.$$.fragment, w), v = !0);
|
|
@@ -23346,7 +23346,7 @@ class ButtonGroup extends SvelteComponent {
|
|
|
23346
23346
|
const Item_svelte_svelte_type_style_lang = "";
|
|
23347
23347
|
function get_each_context$a(u, l, f) {
|
|
23348
23348
|
const p = u.slice();
|
|
23349
|
-
return p[
|
|
23349
|
+
return p[16] = l[f], p;
|
|
23350
23350
|
}
|
|
23351
23351
|
const get_right_slot_changes$1 = (u) => ({}), get_right_slot_context$1 = (u) => ({});
|
|
23352
23352
|
function create_if_block_2$9(u) {
|
|
@@ -23508,7 +23508,7 @@ function create_if_block$o(u) {
|
|
|
23508
23508
|
function create_else_block$6(u) {
|
|
23509
23509
|
let l = (
|
|
23510
23510
|
/*key*/
|
|
23511
|
-
u[
|
|
23511
|
+
u[16] + ""
|
|
23512
23512
|
), f;
|
|
23513
23513
|
return {
|
|
23514
23514
|
c() {
|
|
@@ -23520,7 +23520,7 @@ function create_else_block$6(u) {
|
|
|
23520
23520
|
p(p, m) {
|
|
23521
23521
|
m & /*keys*/
|
|
23522
23522
|
64 && l !== (l = /*key*/
|
|
23523
|
-
p[
|
|
23523
|
+
p[16] + "") && set_data(f, l);
|
|
23524
23524
|
},
|
|
23525
23525
|
i: noop$3,
|
|
23526
23526
|
o: noop$3,
|
|
@@ -23540,7 +23540,7 @@ function create_if_block_1$g(u) {
|
|
|
23540
23540
|
),
|
|
23541
23541
|
name: (
|
|
23542
23542
|
/*key*/
|
|
23543
|
-
u[
|
|
23543
|
+
u[16].split("!")[1]
|
|
23544
23544
|
)
|
|
23545
23545
|
}
|
|
23546
23546
|
}), {
|
|
@@ -23556,7 +23556,7 @@ function create_if_block_1$g(u) {
|
|
|
23556
23556
|
2 && (b.weight = /*iconWeight*/
|
|
23557
23557
|
p[1]), m & /*keys*/
|
|
23558
23558
|
64 && (b.name = /*key*/
|
|
23559
|
-
p[
|
|
23559
|
+
p[16].split("!")[1]), l.$set(b);
|
|
23560
23560
|
},
|
|
23561
23561
|
i(p) {
|
|
23562
23562
|
f || (transition_in(l.$$.fragment, p), f = !0);
|
|
@@ -23575,7 +23575,7 @@ function create_each_block$a(u) {
|
|
|
23575
23575
|
function w(S, T) {
|
|
23576
23576
|
return T & /*keys*/
|
|
23577
23577
|
64 && (f = null), f == null && (f = !!/*key*/
|
|
23578
|
-
S[
|
|
23578
|
+
S[16].startsWith("!")), f ? 0 : 1;
|
|
23579
23579
|
}
|
|
23580
23580
|
return p = w(u, -1), m = k[p] = y[p](u), {
|
|
23581
23581
|
c() {
|
|
@@ -23632,27 +23632,19 @@ function create_fragment$L(u) {
|
|
|
23632
23632
|
);
|
|
23633
23633
|
},
|
|
23634
23634
|
m(E, R) {
|
|
23635
|
-
insert(E, l, R), k && k.m(l, null), append$1(l, f), append$1(l, p), S && S.m(p, null), append$1(l, m), T && T.m(l, null), b = !0, v || (y =
|
|
23636
|
-
|
|
23637
|
-
|
|
23638
|
-
|
|
23639
|
-
u[5] ? null : (
|
|
23640
|
-
/*onClick*/
|
|
23641
|
-
u[7]
|
|
23642
|
-
)
|
|
23643
|
-
) && /*disabled*/
|
|
23644
|
-
(u[5] ? null : (
|
|
23635
|
+
insert(E, l, R), k && k.m(l, null), append$1(l, f), append$1(l, p), S && S.m(p, null), append$1(l, m), T && T.m(l, null), b = !0, v || (y = listen(l, "click", function() {
|
|
23636
|
+
is_function(
|
|
23637
|
+
/*disabled*/
|
|
23638
|
+
u[5] ? null : (
|
|
23645
23639
|
/*onClick*/
|
|
23646
23640
|
u[7]
|
|
23647
|
-
)
|
|
23648
|
-
|
|
23649
|
-
|
|
23650
|
-
|
|
23651
|
-
|
|
23652
|
-
|
|
23653
|
-
|
|
23654
|
-
)
|
|
23655
|
-
], v = !0);
|
|
23641
|
+
)
|
|
23642
|
+
) && /*disabled*/
|
|
23643
|
+
(u[5] ? null : (
|
|
23644
|
+
/*onClick*/
|
|
23645
|
+
u[7]
|
|
23646
|
+
)).apply(this, arguments);
|
|
23647
|
+
}), v = !0);
|
|
23656
23648
|
},
|
|
23657
23649
|
p(E, [R]) {
|
|
23658
23650
|
var P;
|
|
@@ -23698,7 +23690,7 @@ function create_fragment$L(u) {
|
|
|
23698
23690
|
transition_out(k), transition_out(S, E), transition_out(T), b = !1;
|
|
23699
23691
|
},
|
|
23700
23692
|
d(E) {
|
|
23701
|
-
E && detach(l), k && k.d(), S && S.d(E), T && T.d(), v = !1,
|
|
23693
|
+
E && detach(l), k && k.d(), S && S.d(E), T && T.d(), v = !1, y();
|
|
23702
23694
|
}
|
|
23703
23695
|
};
|
|
23704
23696
|
}
|
|
@@ -23706,19 +23698,16 @@ function instance$K(u, l, f) {
|
|
|
23706
23698
|
let p, { $$slots: m = {}, $$scope: b } = l;
|
|
23707
23699
|
const v = compute_slots(m), y = createEventDispatcher(), k = getContext$1("actionMenu");
|
|
23708
23700
|
let { icon: w = void 0 } = l, { iconWeight: S = "regular" } = l, { iconColour: T = void 0 } = l, { iconHidden: O = !1 } = l, { iconAlign: E = "center" } = l, { disabled: R = void 0 } = l, { noClose: P = !1 } = l, { keyBind: L = void 0 } = l;
|
|
23709
|
-
const M = (
|
|
23710
|
-
let
|
|
23711
|
-
for (let
|
|
23712
|
-
K
|
|
23713
|
-
return
|
|
23701
|
+
const M = (B) => {
|
|
23702
|
+
let j = (B == null ? void 0 : B.split("+")) || [];
|
|
23703
|
+
for (let K = 0; K < j.length; K++)
|
|
23704
|
+
j[K].toLowerCase() === "ctrl" && navigator.platform.startsWith("Mac") && (j[K] = "⌘");
|
|
23705
|
+
return j;
|
|
23714
23706
|
}, N = () => {
|
|
23715
23707
|
k && !P && k.hideAll(), y("click");
|
|
23716
23708
|
};
|
|
23717
|
-
|
|
23718
|
-
|
|
23719
|
-
}
|
|
23720
|
-
return u.$$set = (j) => {
|
|
23721
|
-
"icon" in j && f(0, w = j.icon), "iconWeight" in j && f(1, S = j.iconWeight), "iconColour" in j && f(2, T = j.iconColour), "iconHidden" in j && f(3, O = j.iconHidden), "iconAlign" in j && f(4, E = j.iconAlign), "disabled" in j && f(5, R = j.disabled), "noClose" in j && f(9, P = j.noClose), "keyBind" in j && f(10, L = j.keyBind), "$$scope" in j && f(11, b = j.$$scope);
|
|
23709
|
+
return u.$$set = (B) => {
|
|
23710
|
+
"icon" in B && f(0, w = B.icon), "iconWeight" in B && f(1, S = B.iconWeight), "iconColour" in B && f(2, T = B.iconColour), "iconHidden" in B && f(3, O = B.iconHidden), "iconAlign" in B && f(4, E = B.iconAlign), "disabled" in B && f(5, R = B.disabled), "noClose" in B && f(9, P = B.noClose), "keyBind" in B && f(10, L = B.keyBind), "$$scope" in B && f(11, b = B.$$scope);
|
|
23722
23711
|
}, u.$$.update = () => {
|
|
23723
23712
|
u.$$.dirty & /*keyBind*/
|
|
23724
23713
|
1024 && f(6, p = M(L));
|
|
@@ -23735,8 +23724,7 @@ function instance$K(u, l, f) {
|
|
|
23735
23724
|
P,
|
|
23736
23725
|
L,
|
|
23737
23726
|
b,
|
|
23738
|
-
m
|
|
23739
|
-
B
|
|
23727
|
+
m
|
|
23740
23728
|
];
|
|
23741
23729
|
}
|
|
23742
23730
|
let Item$2 = class extends SvelteComponent {
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@budibase/bbui",
|
|
3
3
|
"description": "A UI solution used in the different Budibase projects.",
|
|
4
|
-
"version": "3.22.
|
|
4
|
+
"version": "3.22.3",
|
|
5
5
|
"license": "MPL-2.0",
|
|
6
6
|
"svelte": "src/index.ts",
|
|
7
7
|
"module": "dist/bbui.mjs",
|
|
@@ -106,5 +106,5 @@
|
|
|
106
106
|
}
|
|
107
107
|
}
|
|
108
108
|
},
|
|
109
|
-
"gitHead": "
|
|
109
|
+
"gitHead": "77c492b4bf230227fb0df5a8d30e956fe24be73e"
|
|
110
110
|
}
|
package/src/Banner/Banner.svelte
CHANGED