import { t as e } from "./_plugin-vue_export-helper-B3ysoDQm.js";
import { createElementBlock as t, createElementVNode as n, createVNode as r, defineComponent as i, normalizeClass as a, openBlock as o, renderSlot as s, resolveComponent as c, withModifiers as l } from "vue";
//#region src/components/wt-inline-add-panel/wt-inline-add-panel.vue?vue&type=script&setup=true&lang.ts
var u = { class: "wt-inline-add-panel__actions" }, d = /*#__PURE__*/ e(/* @__PURE__ */ i({
	__name: "wt-inline-add-panel",
	props: {
		disabledAddAction: {
			type: Boolean,
			default: !1
		},
		direction: { default: "row" }
	},
	emits: ["submit", "reset"],
	setup(e, { emit: i }) {
		let d = e, f = i;
		function p() {
			f("submit");
		}
		function m() {
			f("reset");
		}
		return (e, i) => {
			let f = c("wt-button");
			return o(), t("form", {
				class: a(["wt-inline-add-panel", [`wt-inline-add-panel--${d.direction}`]]),
				onSubmit: l(p, ["prevent"])
			}, [s(e.$slots, "default", {}, void 0, !0), n("div", u, [r(f, {
				disabled: d.disabledAddAction,
				icon: "tick",
				color: "secondary",
				outlined: "",
				onClick: p
			}, null, 8, ["disabled"]), r(f, {
				icon: "close",
				outlined: "",
				color: "secondary",
				onClick: m
			})])], 34);
		};
	}
}), [["__scopeId", "data-v-c6373132"]]);
//#endregion
export { d as default };
