@oub/fusion 0.2.70 → 0.2.72
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,3 +1,5 @@
|
|
|
1
|
+
import type { PropType } from "vue";
|
|
2
|
+
import type { FusionButtonVariantType } from '../../../../types/components/FusionButton';
|
|
1
3
|
declare const _default: import("vue").DefineComponent<{
|
|
2
4
|
title: {
|
|
3
5
|
type: StringConstructor;
|
|
@@ -23,6 +25,10 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
23
25
|
type: BooleanConstructor;
|
|
24
26
|
default: boolean;
|
|
25
27
|
};
|
|
28
|
+
confirmButtonVariant: {
|
|
29
|
+
type: PropType<keyof FusionButtonVariantType>;
|
|
30
|
+
default: string;
|
|
31
|
+
};
|
|
26
32
|
}, unknown, {
|
|
27
33
|
isMobile: boolean;
|
|
28
34
|
headerShadow: boolean;
|
|
@@ -64,6 +70,10 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
64
70
|
type: BooleanConstructor;
|
|
65
71
|
default: boolean;
|
|
66
72
|
};
|
|
73
|
+
confirmButtonVariant: {
|
|
74
|
+
type: PropType<keyof FusionButtonVariantType>;
|
|
75
|
+
default: string;
|
|
76
|
+
};
|
|
67
77
|
}>> & {
|
|
68
78
|
onClose?: ((...args: any[]) => any) | undefined;
|
|
69
79
|
onCancel?: ((...args: any[]) => any) | undefined;
|
|
@@ -74,5 +84,6 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
74
84
|
mobileBreakpoint: number;
|
|
75
85
|
hideCancel: boolean;
|
|
76
86
|
hideConfirm: boolean;
|
|
87
|
+
confirmButtonVariant: keyof FusionButtonVariantType;
|
|
77
88
|
}, {}>;
|
|
78
89
|
export default _default;
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import type { PropType } from "vue";
|
|
2
|
+
import type { FusionButtonVariantType } from '../../../../../types/components/FusionButton';
|
|
1
3
|
declare const _default: import("vue").DefineComponent<{
|
|
2
4
|
hideCancel: {
|
|
3
5
|
type: BooleanConstructor;
|
|
@@ -23,6 +25,10 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
23
25
|
type: NumberConstructor;
|
|
24
26
|
default: number;
|
|
25
27
|
};
|
|
28
|
+
confirmButtonVariant: {
|
|
29
|
+
type: PropType<keyof FusionButtonVariantType>;
|
|
30
|
+
default: string;
|
|
31
|
+
};
|
|
26
32
|
}, unknown, {
|
|
27
33
|
isMobile: boolean;
|
|
28
34
|
}, {}, {
|
|
@@ -54,6 +60,10 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
54
60
|
type: NumberConstructor;
|
|
55
61
|
default: number;
|
|
56
62
|
};
|
|
63
|
+
confirmButtonVariant: {
|
|
64
|
+
type: PropType<keyof FusionButtonVariantType>;
|
|
65
|
+
default: string;
|
|
66
|
+
};
|
|
57
67
|
}>> & {
|
|
58
68
|
onCancel?: ((...args: any[]) => any) | undefined;
|
|
59
69
|
onConfirm?: ((...args: any[]) => any) | undefined;
|
|
@@ -64,5 +74,6 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
64
74
|
hasShadow: boolean;
|
|
65
75
|
hideCancel: boolean;
|
|
66
76
|
hideConfirm: boolean;
|
|
77
|
+
confirmButtonVariant: keyof FusionButtonVariantType;
|
|
67
78
|
}, {}>;
|
|
68
79
|
export default _default;
|
package/dist/fusion.js
CHANGED
|
@@ -2957,8 +2957,8 @@ function lu(e, t, n, r, a, o) {
|
|
|
2957
2957
|
const i = me("SVGExclamationTriangle"), s = me("FusionRadio");
|
|
2958
2958
|
return d(), m("div", tu, [
|
|
2959
2959
|
y("div", au, [
|
|
2960
|
-
e.label ? (d(), m("
|
|
2961
|
-
e.helperText ? (d(), m("
|
|
2960
|
+
e.label ? (d(), m("label", nu, oe(e.label), 1)) : D("", !0),
|
|
2961
|
+
e.helperText ? (d(), m("span", ru, oe(e.helperText), 1)) : D("", !0)
|
|
2962
2962
|
]),
|
|
2963
2963
|
e.errorText ? (d(), m("div", ou, [
|
|
2964
2964
|
ke(i, { "data-test": "error-icon" }),
|
|
@@ -2968,12 +2968,13 @@ function lu(e, t, n, r, a, o) {
|
|
|
2968
2968
|
(d(!0), m(Te, null, Re(e.radios, (u, p) => (d(), de(s, ze(u, {
|
|
2969
2969
|
id: u.id,
|
|
2970
2970
|
key: p,
|
|
2971
|
+
"helper-label": u.helperText,
|
|
2971
2972
|
"onUpdate:modelValue": (c) => e.updateValue(p, c)
|
|
2972
|
-
}), null, 16, ["id", "onUpdate:modelValue"]))), 128))
|
|
2973
|
+
}), null, 16, ["id", "helper-label", "onUpdate:modelValue"]))), 128))
|
|
2973
2974
|
])
|
|
2974
2975
|
]);
|
|
2975
2976
|
}
|
|
2976
|
-
const Em = /* @__PURE__ */ ye(eu, [["render", lu], ["__scopeId", "data-v-
|
|
2977
|
+
const Em = /* @__PURE__ */ ye(eu, [["render", lu], ["__scopeId", "data-v-92546a39"]]), uu = ve({
|
|
2977
2978
|
name: "FusionCheckboxGroup",
|
|
2978
2979
|
components: { SVGExclamationTriangle: Pt, FusionCheckbox: Kr },
|
|
2979
2980
|
props: {
|
|
@@ -13505,6 +13506,10 @@ const Pm = /* @__PURE__ */ ye(Cm, [["render", Dm], ["__scopeId", "data-v-37ccd52
|
|
|
13505
13506
|
mobileBreakpoint: {
|
|
13506
13507
|
type: Number,
|
|
13507
13508
|
default: 768
|
|
13509
|
+
},
|
|
13510
|
+
confirmButtonVariant: {
|
|
13511
|
+
type: String,
|
|
13512
|
+
default: "primary"
|
|
13508
13513
|
}
|
|
13509
13514
|
},
|
|
13510
13515
|
emits: ["cancel", "confirm"],
|
|
@@ -13549,12 +13554,12 @@ function Bm(e, t, n, r, a, o) {
|
|
|
13549
13554
|
size: "small",
|
|
13550
13555
|
"variant-style": "filled",
|
|
13551
13556
|
label: n.confirmButtonLabel,
|
|
13552
|
-
"variant-type":
|
|
13557
|
+
"variant-type": n.confirmButtonVariant,
|
|
13553
13558
|
onClick: o.handleConfirm
|
|
13554
|
-
}, null, 8, ["label", "onClick"]))
|
|
13559
|
+
}, null, 8, ["label", "variant-type", "onClick"]))
|
|
13555
13560
|
], 2);
|
|
13556
13561
|
}
|
|
13557
|
-
const Fm = /* @__PURE__ */ ye(Tm, [["render", Bm], ["__scopeId", "data-v-
|
|
13562
|
+
const Fm = /* @__PURE__ */ ye(Tm, [["render", Bm], ["__scopeId", "data-v-35a2398b"]]), xm = {
|
|
13558
13563
|
name: "FusionModal",
|
|
13559
13564
|
components: {
|
|
13560
13565
|
FusionModalHeader: Pm,
|
|
@@ -13585,6 +13590,10 @@ const Fm = /* @__PURE__ */ ye(Tm, [["render", Bm], ["__scopeId", "data-v-4f48b81
|
|
|
13585
13590
|
hideConfirm: {
|
|
13586
13591
|
type: Boolean,
|
|
13587
13592
|
default: !1
|
|
13593
|
+
},
|
|
13594
|
+
confirmButtonVariant: {
|
|
13595
|
+
type: String,
|
|
13596
|
+
default: "primary"
|
|
13588
13597
|
}
|
|
13589
13598
|
},
|
|
13590
13599
|
emits: ["close", "confirm", "cancel"],
|
|
@@ -13634,7 +13643,7 @@ const Fm = /* @__PURE__ */ ye(Tm, [["render", Bm], ["__scopeId", "data-v-4f48b81
|
|
|
13634
13643
|
}
|
|
13635
13644
|
}
|
|
13636
13645
|
};
|
|
13637
|
-
const Om = (e) => (Un("data-v-
|
|
13646
|
+
const Om = (e) => (Un("data-v-e52f3fcf"), e = e(), Vn(), e), Im = ["aria-labelledby"], Um = /* @__PURE__ */ Om(() => /* @__PURE__ */ y("div", {
|
|
13638
13647
|
class: "fusion-modal-background",
|
|
13639
13648
|
"aria-hidden": "true"
|
|
13640
13649
|
}, null, -1));
|
|
@@ -13678,9 +13687,10 @@ function Vm(e, t, n, r, a, o) {
|
|
|
13678
13687
|
"confirm-button-label": n.confirmButtonLabel,
|
|
13679
13688
|
"hide-cancel": n.hideCancel,
|
|
13680
13689
|
"hide-confirm": n.hideConfirm,
|
|
13690
|
+
"confirm-button-variant": n.confirmButtonVariant,
|
|
13681
13691
|
onCancel: o.cancelModal,
|
|
13682
13692
|
onConfirm: o.confirmModal
|
|
13683
|
-
}, null, 8, ["mobile-breakpoint", "has-shadow", "cancel-button-label", "confirm-button-label", "hide-cancel", "hide-confirm", "onCancel", "onConfirm"]))
|
|
13693
|
+
}, null, 8, ["mobile-breakpoint", "has-shadow", "cancel-button-label", "confirm-button-label", "hide-cancel", "hide-confirm", "confirm-button-variant", "onCancel", "onConfirm"]))
|
|
13684
13694
|
], 8, Im)
|
|
13685
13695
|
]),
|
|
13686
13696
|
_: 3
|
|
@@ -13688,7 +13698,7 @@ function Vm(e, t, n, r, a, o) {
|
|
|
13688
13698
|
Um
|
|
13689
13699
|
], 2);
|
|
13690
13700
|
}
|
|
13691
|
-
const ih = /* @__PURE__ */ ye(xm, [["render", Vm], ["__scopeId", "data-v-
|
|
13701
|
+
const ih = /* @__PURE__ */ ye(xm, [["render", Vm], ["__scopeId", "data-v-e52f3fcf"]]);
|
|
13692
13702
|
export {
|
|
13693
13703
|
Jm as FusionBanner,
|
|
13694
13704
|
zr as FusionButton,
|