@oub/fusion 0.2.87 → 0.2.88

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 CHANGED
@@ -13580,6 +13580,14 @@ const Om = /* @__PURE__ */ ge(Fm, [["render", Im], ["__scopeId", "data-v-37ccd52
13580
13580
  confirmButtonVariant: {
13581
13581
  type: String,
13582
13582
  default: "primary"
13583
+ },
13584
+ cancelButtonLoading: {
13585
+ type: Boolean,
13586
+ default: !1
13587
+ },
13588
+ confirmButtonLoading: {
13589
+ type: Boolean,
13590
+ default: !1
13583
13591
  }
13584
13592
  },
13585
13593
  emits: ["cancel", "confirm"],
@@ -13616,23 +13624,25 @@ function Um(e, t, n, r, a, o) {
13616
13624
  size: "small",
13617
13625
  "variant-style": "ghost",
13618
13626
  type: "button",
13627
+ loading: n.cancelButtonLoading,
13619
13628
  "data-test": "fusion-modal-footer-cancel-button",
13620
13629
  label: n.cancelButtonLabel,
13621
13630
  "variant-type": "primary",
13622
13631
  onClick: o.handleCancel
13623
- }, null, 8, ["label", "onClick"])),
13632
+ }, null, 8, ["loading", "label", "onClick"])),
13624
13633
  n.hideConfirm ? C("", !0) : (d(), le(i, {
13625
13634
  key: 1,
13626
13635
  size: "small",
13636
+ loading: n.confirmButtonLoading,
13627
13637
  "data-test": "fusion-modal-footer-confirm-button",
13628
13638
  "variant-style": "filled",
13629
13639
  label: n.confirmButtonLabel,
13630
13640
  "variant-type": n.confirmButtonVariant,
13631
13641
  onClick: o.handleConfirm
13632
- }, null, 8, ["label", "variant-type", "onClick"]))
13642
+ }, null, 8, ["loading", "label", "variant-type", "onClick"]))
13633
13643
  ], 2);
13634
13644
  }
13635
- const Qm = /* @__PURE__ */ ge(Vm, [["render", Um], ["__scopeId", "data-v-3eed44f4"]]), Mm = {
13645
+ const Qm = /* @__PURE__ */ ge(Vm, [["render", Um], ["__scopeId", "data-v-a9cb64f3"]]), Mm = {
13636
13646
  name: "FusionModal",
13637
13647
  components: {
13638
13648
  FusionModalHeader: Om,
@@ -13667,6 +13677,14 @@ const Qm = /* @__PURE__ */ ge(Vm, [["render", Um], ["__scopeId", "data-v-3eed44f
13667
13677
  confirmButtonVariant: {
13668
13678
  type: String,
13669
13679
  default: "primary"
13680
+ },
13681
+ cancelButtonLoading: {
13682
+ type: Boolean,
13683
+ default: !1
13684
+ },
13685
+ confirmButtonLoading: {
13686
+ type: Boolean,
13687
+ default: !1
13670
13688
  }
13671
13689
  },
13672
13690
  emits: ["close", "confirm", "cancel"],
@@ -13716,7 +13734,7 @@ const Qm = /* @__PURE__ */ ge(Vm, [["render", Um], ["__scopeId", "data-v-3eed44f
13716
13734
  }
13717
13735
  }
13718
13736
  };
13719
- const Nm = (e) => (Un("data-v-e52f3fcf"), e = e(), Qn(), e), Lm = ["aria-labelledby"], Hm = /* @__PURE__ */ Nm(() => /* @__PURE__ */ g("div", {
13737
+ const Nm = (e) => (Un("data-v-1942c060"), e = e(), Qn(), e), Lm = ["aria-labelledby"], Hm = /* @__PURE__ */ Nm(() => /* @__PURE__ */ g("div", {
13720
13738
  class: "fusion-modal-background",
13721
13739
  "aria-hidden": "true"
13722
13740
  }, null, -1));
@@ -13761,9 +13779,11 @@ function Rm(e, t, n, r, a, o) {
13761
13779
  "hide-cancel": n.hideCancel,
13762
13780
  "hide-confirm": n.hideConfirm,
13763
13781
  "confirm-button-variant": n.confirmButtonVariant,
13782
+ "cancel-button-loading": n.cancelButtonLoading,
13783
+ "confirm-button-loading": n.confirmButtonLoading,
13764
13784
  onCancel: o.cancelModal,
13765
13785
  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"]))
13786
+ }, 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
13787
  ], 8, Lm)
13768
13788
  ]),
13769
13789
  _: 3
@@ -13771,7 +13791,7 @@ function Rm(e, t, n, r, a, o) {
13771
13791
  Hm
13772
13792
  ], 2);
13773
13793
  }
13774
- const Kh = /* @__PURE__ */ ge(Mm, [["render", Rm], ["__scopeId", "data-v-e52f3fcf"]]), qm = 12, pr = ce({
13794
+ const Kh = /* @__PURE__ */ ge(Mm, [["render", Rm], ["__scopeId", "data-v-1942c060"]]), qm = 12, pr = ce({
13775
13795
  name: "FusionCircularProgressIndicator",
13776
13796
  props: {
13777
13797
  size: {