46 lines
1.2 KiB
JavaScript
46 lines
1.2 KiB
JavaScript
import { Primitive } from "../Primitive/Primitive.js";
|
|
import { createBlock, defineComponent, openBlock, renderSlot, unref, withCtx } from "vue";
|
|
|
|
//#region src/Toast/ToastAnnounceExclude.vue?vue&type=script&setup=true&lang.ts
|
|
var ToastAnnounceExclude_vue_vue_type_script_setup_true_lang_default = /* @__PURE__ */ defineComponent({
|
|
__name: "ToastAnnounceExclude",
|
|
props: {
|
|
altText: {
|
|
type: String,
|
|
required: false
|
|
},
|
|
asChild: {
|
|
type: Boolean,
|
|
required: false
|
|
},
|
|
as: {
|
|
type: null,
|
|
required: false
|
|
}
|
|
},
|
|
setup(__props) {
|
|
return (_ctx, _cache) => {
|
|
return openBlock(), createBlock(unref(Primitive), {
|
|
as: _ctx.as,
|
|
"as-child": _ctx.asChild,
|
|
"data-reka-toast-announce-exclude": "",
|
|
"data-reka-toast-announce-alt": _ctx.altText || void 0
|
|
}, {
|
|
default: withCtx(() => [renderSlot(_ctx.$slots, "default")]),
|
|
_: 3
|
|
}, 8, [
|
|
"as",
|
|
"as-child",
|
|
"data-reka-toast-announce-alt"
|
|
]);
|
|
};
|
|
}
|
|
});
|
|
|
|
//#endregion
|
|
//#region src/Toast/ToastAnnounceExclude.vue
|
|
var ToastAnnounceExclude_default = ToastAnnounceExclude_vue_vue_type_script_setup_true_lang_default;
|
|
|
|
//#endregion
|
|
export { ToastAnnounceExclude_default };
|
|
//# sourceMappingURL=ToastAnnounceExclude.js.map
|