@oub/fusion 0.2.87 → 0.2.89
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/fusion.js +33 -8
- package/dist/fusion.umd.cjs +1 -1
- package/dist/lib/components/common/bars/footer/FusionFooterBar.vue.d.ts +9 -0
- package/dist/lib/components/common/modal/FusionModal.vue.d.ts +18 -0
- package/dist/lib/components/common/modal/modal-footer/FusionModalFooter.vue.d.ts +18 -0
- package/dist/style.css +1 -1
- package/package.json +1 -1
package/dist/fusion.js
CHANGED
|
@@ -13408,6 +13408,10 @@ const Jh = /* @__PURE__ */ ge(gm, [["render", km], ["__scopeId", "data-v-7782a95
|
|
|
13408
13408
|
mobileBreakpoint: {
|
|
13409
13409
|
type: Number,
|
|
13410
13410
|
default: 768
|
|
13411
|
+
},
|
|
13412
|
+
confirmButtonLoading: {
|
|
13413
|
+
type: Boolean,
|
|
13414
|
+
default: !1
|
|
13411
13415
|
}
|
|
13412
13416
|
},
|
|
13413
13417
|
emits: ["cancel", "back", "confirm"],
|
|
@@ -13464,17 +13468,18 @@ function Sm(e, t, n, r, a, o) {
|
|
|
13464
13468
|
e.hideConfirmButton ? C("", !0) : (d(), le(i, {
|
|
13465
13469
|
key: 2,
|
|
13466
13470
|
label: e.confirmButtonLabel,
|
|
13471
|
+
loading: e.confirmButtonLoading,
|
|
13467
13472
|
size: "regular",
|
|
13468
13473
|
type: "submit",
|
|
13469
13474
|
"variant-style": "filled",
|
|
13470
13475
|
"variant-type": "primary",
|
|
13471
13476
|
class: "fusion-footer-bar-button",
|
|
13472
13477
|
onClick: t[2] || (t[2] = (s) => e.$emit("confirm"))
|
|
13473
|
-
}, null, 8, ["label"]))
|
|
13478
|
+
}, null, 8, ["label", "loading"]))
|
|
13474
13479
|
])
|
|
13475
13480
|
], 2);
|
|
13476
13481
|
}
|
|
13477
|
-
const Xh = /* @__PURE__ */ ge(Am, [["render", Sm], ["__scopeId", "data-v-
|
|
13482
|
+
const Xh = /* @__PURE__ */ ge(Am, [["render", Sm], ["__scopeId", "data-v-ac6e14e7"]]), Dm = {
|
|
13478
13483
|
name: "FusionSubheadingBar",
|
|
13479
13484
|
props: {
|
|
13480
13485
|
label: {
|
|
@@ -13580,6 +13585,14 @@ const Om = /* @__PURE__ */ ge(Fm, [["render", Im], ["__scopeId", "data-v-37ccd52
|
|
|
13580
13585
|
confirmButtonVariant: {
|
|
13581
13586
|
type: String,
|
|
13582
13587
|
default: "primary"
|
|
13588
|
+
},
|
|
13589
|
+
cancelButtonLoading: {
|
|
13590
|
+
type: Boolean,
|
|
13591
|
+
default: !1
|
|
13592
|
+
},
|
|
13593
|
+
confirmButtonLoading: {
|
|
13594
|
+
type: Boolean,
|
|
13595
|
+
default: !1
|
|
13583
13596
|
}
|
|
13584
13597
|
},
|
|
13585
13598
|
emits: ["cancel", "confirm"],
|
|
@@ -13616,23 +13629,25 @@ function Um(e, t, n, r, a, o) {
|
|
|
13616
13629
|
size: "small",
|
|
13617
13630
|
"variant-style": "ghost",
|
|
13618
13631
|
type: "button",
|
|
13632
|
+
loading: n.cancelButtonLoading,
|
|
13619
13633
|
"data-test": "fusion-modal-footer-cancel-button",
|
|
13620
13634
|
label: n.cancelButtonLabel,
|
|
13621
13635
|
"variant-type": "primary",
|
|
13622
13636
|
onClick: o.handleCancel
|
|
13623
|
-
}, null, 8, ["label", "onClick"])),
|
|
13637
|
+
}, null, 8, ["loading", "label", "onClick"])),
|
|
13624
13638
|
n.hideConfirm ? C("", !0) : (d(), le(i, {
|
|
13625
13639
|
key: 1,
|
|
13626
13640
|
size: "small",
|
|
13641
|
+
loading: n.confirmButtonLoading,
|
|
13627
13642
|
"data-test": "fusion-modal-footer-confirm-button",
|
|
13628
13643
|
"variant-style": "filled",
|
|
13629
13644
|
label: n.confirmButtonLabel,
|
|
13630
13645
|
"variant-type": n.confirmButtonVariant,
|
|
13631
13646
|
onClick: o.handleConfirm
|
|
13632
|
-
}, null, 8, ["label", "variant-type", "onClick"]))
|
|
13647
|
+
}, null, 8, ["loading", "label", "variant-type", "onClick"]))
|
|
13633
13648
|
], 2);
|
|
13634
13649
|
}
|
|
13635
|
-
const Qm = /* @__PURE__ */ ge(Vm, [["render", Um], ["__scopeId", "data-v-
|
|
13650
|
+
const Qm = /* @__PURE__ */ ge(Vm, [["render", Um], ["__scopeId", "data-v-a9cb64f3"]]), Mm = {
|
|
13636
13651
|
name: "FusionModal",
|
|
13637
13652
|
components: {
|
|
13638
13653
|
FusionModalHeader: Om,
|
|
@@ -13667,6 +13682,14 @@ const Qm = /* @__PURE__ */ ge(Vm, [["render", Um], ["__scopeId", "data-v-3eed44f
|
|
|
13667
13682
|
confirmButtonVariant: {
|
|
13668
13683
|
type: String,
|
|
13669
13684
|
default: "primary"
|
|
13685
|
+
},
|
|
13686
|
+
cancelButtonLoading: {
|
|
13687
|
+
type: Boolean,
|
|
13688
|
+
default: !1
|
|
13689
|
+
},
|
|
13690
|
+
confirmButtonLoading: {
|
|
13691
|
+
type: Boolean,
|
|
13692
|
+
default: !1
|
|
13670
13693
|
}
|
|
13671
13694
|
},
|
|
13672
13695
|
emits: ["close", "confirm", "cancel"],
|
|
@@ -13716,7 +13739,7 @@ const Qm = /* @__PURE__ */ ge(Vm, [["render", Um], ["__scopeId", "data-v-3eed44f
|
|
|
13716
13739
|
}
|
|
13717
13740
|
}
|
|
13718
13741
|
};
|
|
13719
|
-
const Nm = (e) => (Un("data-v-
|
|
13742
|
+
const Nm = (e) => (Un("data-v-1942c060"), e = e(), Qn(), e), Lm = ["aria-labelledby"], Hm = /* @__PURE__ */ Nm(() => /* @__PURE__ */ g("div", {
|
|
13720
13743
|
class: "fusion-modal-background",
|
|
13721
13744
|
"aria-hidden": "true"
|
|
13722
13745
|
}, null, -1));
|
|
@@ -13761,9 +13784,11 @@ function Rm(e, t, n, r, a, o) {
|
|
|
13761
13784
|
"hide-cancel": n.hideCancel,
|
|
13762
13785
|
"hide-confirm": n.hideConfirm,
|
|
13763
13786
|
"confirm-button-variant": n.confirmButtonVariant,
|
|
13787
|
+
"cancel-button-loading": n.cancelButtonLoading,
|
|
13788
|
+
"confirm-button-loading": n.confirmButtonLoading,
|
|
13764
13789
|
onCancel: o.cancelModal,
|
|
13765
13790
|
onConfirm: o.confirmModal
|
|
13766
|
-
}, null, 8, ["mobile-breakpoint", "has-shadow", "cancel-button-label", "confirm-button-label", "hide-cancel", "hide-confirm", "confirm-button-variant", "onCancel", "onConfirm"]))
|
|
13791
|
+
}, null, 8, ["mobile-breakpoint", "has-shadow", "cancel-button-label", "confirm-button-label", "hide-cancel", "hide-confirm", "confirm-button-variant", "cancel-button-loading", "confirm-button-loading", "onCancel", "onConfirm"]))
|
|
13767
13792
|
], 8, Lm)
|
|
13768
13793
|
]),
|
|
13769
13794
|
_: 3
|
|
@@ -13771,7 +13796,7 @@ function Rm(e, t, n, r, a, o) {
|
|
|
13771
13796
|
Hm
|
|
13772
13797
|
], 2);
|
|
13773
13798
|
}
|
|
13774
|
-
const Kh = /* @__PURE__ */ ge(Mm, [["render", Rm], ["__scopeId", "data-v-
|
|
13799
|
+
const Kh = /* @__PURE__ */ ge(Mm, [["render", Rm], ["__scopeId", "data-v-1942c060"]]), qm = 12, pr = ce({
|
|
13775
13800
|
name: "FusionCircularProgressIndicator",
|
|
13776
13801
|
props: {
|
|
13777
13802
|
size: {
|