lau-ecom-design-system 1.0.16 → 1.0.17
Sign up to get free protection for your applications and to get access to all the features.
@@ -1009,13 +1009,9 @@ var script = /*@__PURE__*/defineComponent({
|
|
1009
1009
|
"lau-ecom-button--disabled": props.type === LauEcomButtonType.Primary && props.isDisabled
|
1010
1010
|
};
|
1011
1011
|
});
|
1012
|
-
|
1013
|
-
|
1014
|
-
|
1015
|
-
// `lau-ecom-icon-button${props.type === LauEcomButtonType.Secondary ? '-secondary' : ''}`
|
1016
|
-
// ]
|
1017
|
-
// })
|
1018
|
-
|
1012
|
+
const iconClasses = computed(() => {
|
1013
|
+
return [`lau-ecom-icon-button${props.type === LauEcomButtonType.Secondary ? '-secondary' : ''}`];
|
1014
|
+
});
|
1019
1015
|
const handleClick = () => {
|
1020
1016
|
emit("onClick");
|
1021
1017
|
};
|
@@ -1033,8 +1029,9 @@ var script = /*@__PURE__*/defineComponent({
|
|
1033
1029
|
onMouseout: handleMouseOut,
|
1034
1030
|
onClick: handleClick
|
1035
1031
|
}, [_ctx.hasArrow ? (openBlock(), createBlock(unref(script$n), {
|
1036
|
-
key: 0
|
1037
|
-
|
1032
|
+
key: 0,
|
1033
|
+
class: normalizeClass(iconClasses.value)
|
1034
|
+
}, null, 8 /* PROPS */, ["class"])) : createCommentVNode("v-if", true), renderSlot(_ctx.$slots, "default")], 42 /* CLASS, PROPS, NEED_HYDRATION */, _hoisted_1);
|
1038
1035
|
};
|
1039
1036
|
}
|
1040
1037
|
});
|