import { i as e, n as t, t as n } from "./chunk-TYymryXo.mjs";
import { t as r } from "./_plugin-vue_export-helper-C_T2la-V.mjs";
import { t as i } from "./httpRequestSetting-D6lQWmcl.mjs";
import { computed as a, createBlock as o, createCommentVNode as s, createElementBlock as c, createElementVNode as l, createTextVNode as u, createVNode as d, defineComponent as f, isRef as p, normalizeStyle as m, onMounted as h, openBlock as g, reactive as _, ref as v, toDisplayString as y, unref as b, useModel as x, withCtx as S } from "vue";
import { Checkbox as C, Form as w, FormItem as T, FormItemRest as E, Input as D, InputNumber as ee, Mentions as O, Radio as k, RadioGroup as A, Select as j, Switch as M, Tooltip as N } from "ant-design-vue/es";
import { ExclamationCircleOutlined as te } from "@ant-design/icons-vue";
import './step4.css';//#endregion
//#region src/pages/flow-create/flow-model/createComponents/step4/index.vue?vue&type=script&setup=true&lang.ts
var P = /* @__PURE__ */ e((/* @__PURE__ */ n(((e, t) => {
	(function(n, r) {
		typeof e == "object" && t !== void 0 ? t.exports = r() : typeof define == "function" && define.amd ? define(r) : (n = typeof globalThis < "u" ? globalThis : n || self).dayjs = r();
	})(e, (function() {
		var e = 1e3, t = 6e4, n = 36e5, r = "millisecond", i = "second", a = "minute", o = "hour", s = "day", c = "week", l = "month", u = "quarter", d = "year", f = "date", p = "Invalid Date", m = /^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/, h = /\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g, g = {
			name: "en",
			weekdays: "Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),
			months: "January_February_March_April_May_June_July_August_September_October_November_December".split("_"),
			ordinal: function(e) {
				var t = [
					"th",
					"st",
					"nd",
					"rd"
				], n = e % 100;
				return "[" + e + (t[(n - 20) % 10] || t[n] || t[0]) + "]";
			}
		}, _ = function(e, t, n) {
			var r = String(e);
			return !r || r.length >= t ? e : "" + Array(t + 1 - r.length).join(n) + e;
		}, v = {
			s: _,
			z: function(e) {
				var t = -e.utcOffset(), n = Math.abs(t), r = Math.floor(n / 60), i = n % 60;
				return (t <= 0 ? "+" : "-") + _(r, 2, "0") + ":" + _(i, 2, "0");
			},
			m: function e(t, n) {
				if (t.date() < n.date()) return -e(n, t);
				var r = 12 * (n.year() - t.year()) + (n.month() - t.month()), i = t.clone().add(r, l), a = n - i < 0, o = t.clone().add(r + (a ? -1 : 1), l);
				return +(-(r + (n - i) / (a ? i - o : o - i)) || 0);
			},
			a: function(e) {
				return e < 0 ? Math.ceil(e) || 0 : Math.floor(e);
			},
			p: function(e) {
				return {
					M: l,
					y: d,
					w: c,
					d: s,
					D: f,
					h: o,
					m: a,
					s: i,
					ms: r,
					Q: u
				}[e] || String(e || "").toLowerCase().replace(/s$/, "");
			},
			u: function(e) {
				return e === void 0;
			}
		}, y = "en", b = {};
		b[y] = g;
		var x = "$isDayjsObject", S = function(e) {
			return e instanceof E || !(!e || !e[x]);
		}, C = function e(t, n, r) {
			var i;
			if (!t) return y;
			if (typeof t == "string") {
				var a = t.toLowerCase();
				b[a] && (i = a), n && (b[a] = n, i = a);
				var o = t.split("-");
				if (!i && o.length > 1) return e(o[0]);
			} else {
				var s = t.name;
				b[s] = t, i = s;
			}
			return !r && i && (y = i), i || !r && y;
		}, w = function(e, t) {
			if (S(e)) return e.clone();
			var n = typeof t == "object" ? t : {};
			return n.date = e, n.args = arguments, new E(n);
		}, T = v;
		T.l = C, T.i = S, T.w = function(e, t) {
			return w(e, {
				locale: t.$L,
				utc: t.$u,
				x: t.$x,
				$offset: t.$offset
			});
		};
		var E = function() {
			function g(e) {
				this.$L = C(e.locale, null, !0), this.parse(e), this.$x = this.$x || e.x || {}, this[x] = !0;
			}
			var _ = g.prototype;
			return _.parse = function(e) {
				this.$d = function(e) {
					var t = e.date, n = e.utc;
					if (t === null) return /* @__PURE__ */ new Date(NaN);
					if (T.u(t)) return /* @__PURE__ */ new Date();
					if (t instanceof Date) return new Date(t);
					if (typeof t == "string" && !/Z$/i.test(t)) {
						var r = t.match(m);
						if (r) {
							var i = r[2] - 1 || 0, a = (r[7] || "0").substring(0, 3);
							return n ? new Date(Date.UTC(r[1], i, r[3] || 1, r[4] || 0, r[5] || 0, r[6] || 0, a)) : new Date(r[1], i, r[3] || 1, r[4] || 0, r[5] || 0, r[6] || 0, a);
						}
					}
					return new Date(t);
				}(e), this.init();
			}, _.init = function() {
				var e = this.$d;
				this.$y = e.getFullYear(), this.$M = e.getMonth(), this.$D = e.getDate(), this.$W = e.getDay(), this.$H = e.getHours(), this.$m = e.getMinutes(), this.$s = e.getSeconds(), this.$ms = e.getMilliseconds();
			}, _.$utils = function() {
				return T;
			}, _.isValid = function() {
				return this.$d.toString() !== p;
			}, _.isSame = function(e, t) {
				var n = w(e);
				return this.startOf(t) <= n && n <= this.endOf(t);
			}, _.isAfter = function(e, t) {
				return w(e) < this.startOf(t);
			}, _.isBefore = function(e, t) {
				return this.endOf(t) < w(e);
			}, _.$g = function(e, t, n) {
				return T.u(e) ? this[t] : this.set(n, e);
			}, _.unix = function() {
				return Math.floor(this.valueOf() / 1e3);
			}, _.valueOf = function() {
				return this.$d.getTime();
			}, _.startOf = function(e, t) {
				var n = this, r = !!T.u(t) || t, u = T.p(e), p = function(e, t) {
					var i = T.w(n.$u ? Date.UTC(n.$y, t, e) : new Date(n.$y, t, e), n);
					return r ? i : i.endOf(s);
				}, m = function(e, t) {
					return T.w(n.toDate()[e].apply(n.toDate("s"), (r ? [
						0,
						0,
						0,
						0
					] : [
						23,
						59,
						59,
						999
					]).slice(t)), n);
				}, h = this.$W, g = this.$M, _ = this.$D, v = "set" + (this.$u ? "UTC" : "");
				switch (u) {
					case d: return r ? p(1, 0) : p(31, 11);
					case l: return r ? p(1, g) : p(0, g + 1);
					case c:
						var y = this.$locale().weekStart || 0, b = (h < y ? h + 7 : h) - y;
						return p(r ? _ - b : _ + (6 - b), g);
					case s:
					case f: return m(v + "Hours", 0);
					case o: return m(v + "Minutes", 1);
					case a: return m(v + "Seconds", 2);
					case i: return m(v + "Milliseconds", 3);
					default: return this.clone();
				}
			}, _.endOf = function(e) {
				return this.startOf(e, !1);
			}, _.$set = function(e, t) {
				var n, c = T.p(e), u = "set" + (this.$u ? "UTC" : ""), p = (n = {}, n[s] = u + "Date", n[f] = u + "Date", n[l] = u + "Month", n[d] = u + "FullYear", n[o] = u + "Hours", n[a] = u + "Minutes", n[i] = u + "Seconds", n[r] = u + "Milliseconds", n)[c], m = c === s ? this.$D + (t - this.$W) : t;
				if (c === l || c === d) {
					var h = this.clone().set(f, 1);
					h.$d[p](m), h.init(), this.$d = h.set(f, Math.min(this.$D, h.daysInMonth())).$d;
				} else p && this.$d[p](m);
				return this.init(), this;
			}, _.set = function(e, t) {
				return this.clone().$set(e, t);
			}, _.get = function(e) {
				return this[T.p(e)]();
			}, _.add = function(r, u) {
				var f, p = this;
				r = Number(r);
				var m = T.p(u), h = function(e) {
					var t = w(p);
					return T.w(t.date(t.date() + Math.round(e * r)), p);
				};
				if (m === l) return this.set(l, this.$M + r);
				if (m === d) return this.set(d, this.$y + r);
				if (m === s) return h(1);
				if (m === c) return h(7);
				var g = (f = {}, f[a] = t, f[o] = n, f[i] = e, f)[m] || 1, _ = this.$d.getTime() + r * g;
				return T.w(_, this);
			}, _.subtract = function(e, t) {
				return this.add(-1 * e, t);
			}, _.format = function(e) {
				var t = this, n = this.$locale();
				if (!this.isValid()) return n.invalidDate || p;
				var r = e || "YYYY-MM-DDTHH:mm:ssZ", i = T.z(this), a = this.$H, o = this.$m, s = this.$M, c = n.weekdays, l = n.months, u = n.meridiem, d = function(e, n, i, a) {
					return e && (e[n] || e(t, r)) || i[n].slice(0, a);
				}, f = function(e) {
					return T.s(a % 12 || 12, e, "0");
				}, m = u || function(e, t, n) {
					var r = e < 12 ? "AM" : "PM";
					return n ? r.toLowerCase() : r;
				};
				return r.replace(h, (function(e, r) {
					return r || function(e) {
						switch (e) {
							case "YY": return String(t.$y).slice(-2);
							case "YYYY": return T.s(t.$y, 4, "0");
							case "M": return s + 1;
							case "MM": return T.s(s + 1, 2, "0");
							case "MMM": return d(n.monthsShort, s, l, 3);
							case "MMMM": return d(l, s);
							case "D": return t.$D;
							case "DD": return T.s(t.$D, 2, "0");
							case "d": return String(t.$W);
							case "dd": return d(n.weekdaysMin, t.$W, c, 2);
							case "ddd": return d(n.weekdaysShort, t.$W, c, 3);
							case "dddd": return c[t.$W];
							case "H": return String(a);
							case "HH": return T.s(a, 2, "0");
							case "h": return f(1);
							case "hh": return f(2);
							case "a": return m(a, o, !0);
							case "A": return m(a, o, !1);
							case "m": return String(o);
							case "mm": return T.s(o, 2, "0");
							case "s": return String(t.$s);
							case "ss": return T.s(t.$s, 2, "0");
							case "SSS": return T.s(t.$ms, 3, "0");
							case "Z": return i;
						}
						return null;
					}(e) || i.replace(":", "");
				}));
			}, _.utcOffset = function() {
				return 15 * -Math.round(this.$d.getTimezoneOffset() / 15);
			}, _.diff = function(r, f, p) {
				var m, h = this, g = T.p(f), _ = w(r), v = (_.utcOffset() - this.utcOffset()) * t, y = this - _, b = function() {
					return T.m(h, _);
				};
				switch (g) {
					case d:
						m = b() / 12;
						break;
					case l:
						m = b();
						break;
					case u:
						m = b() / 3;
						break;
					case c:
						m = (y - v) / 6048e5;
						break;
					case s:
						m = (y - v) / 864e5;
						break;
					case o:
						m = y / n;
						break;
					case a:
						m = y / t;
						break;
					case i:
						m = y / e;
						break;
					default: m = y;
				}
				return p ? m : T.a(m);
			}, _.daysInMonth = function() {
				return this.endOf(l).$D;
			}, _.$locale = function() {
				return b[this.$L];
			}, _.locale = function(e, t) {
				if (!e) return this.$L;
				var n = this.clone(), r = C(e, t, !0);
				return r && (n.$L = r), n;
			}, _.clone = function() {
				return T.w(this.$d, this);
			}, _.toDate = function() {
				return new Date(this.valueOf());
			}, _.toJSON = function() {
				return this.isValid() ? this.toISOString() : null;
			}, _.toISOString = function() {
				return this.$d.toISOString();
			}, _.toString = function() {
				return this.$d.toUTCString();
			}, g;
		}(), D = E.prototype;
		return w.prototype = D, [
			["$ms", r],
			["$s", i],
			["$m", a],
			["$H", o],
			["$W", s],
			["$M", l],
			["$y", d],
			["$D", f]
		].forEach((function(e) {
			D[e[1]] = function(t) {
				return this.$g(t, e[0], e[1]);
			};
		})), w.extend = function(e, t) {
			return e.$i ||= (e(t, E, w), !0), w;
		}, w.locale = C, w.isDayjs = S, w.unix = function(e) {
			return w(1e3 * e);
		}, w.en = b[y], w.Ls = b, w.p = {}, w;
	}));
})))()), ne = {
	flex: "",
	"items-center": ""
}, re = {
	key: 0,
	flex: "",
	"ml-20px": "",
	"mt-6px": ""
}, ie = {
	flex: "",
	"flex-col": "",
	"mt-5px": ""
}, ae = { "mt-5px": "" }, oe = { "mt-5px": "" }, se = { "mt-5px": "" }, F = { "mt-5px": "" }, I = /* @__PURE__ */ f({
	name: "CreateStep4",
	__name: "index",
	props: {
		modelValue: {},
		modelModifiers: {}
	},
	emits: ["update:modelValue"],
	setup(e, { expose: t }) {
		let n = v(), r = x(e, "modelValue"), f = v([
			{
				value: "",
				label: "无"
			},
			{
				value: "DAY",
				label: "精确到日"
			},
			{
				value: "HOUR",
				label: "精确到时"
			},
			{
				value: "MINUTE",
				label: "精确到分"
			},
			{
				value: "SECOND",
				label: "精确到秒"
			}
		]), I = a(() => {
			if (!r.value.processIdRule.enable) return "不启用流程编码规则";
			let e = "";
			switch (r.value.processIdRule.infix) {
				case "DAY":
					e = (0, P.default)().format("YYYYMMDD");
					break;
				case "HOUR":
					e = (0, P.default)().format("YYYYMMDDHH");
					break;
				case "MINUTE":
					e = (0, P.default)().format("YYYYMMDDHHmm");
					break;
				case "SECOND":
					e = (0, P.default)().format("YYYYMMDDHHmmss");
					break;
				default: break;
			}
			return r.value.processIdRule.prefix + e + r.value.processIdRule.postfix + "1".padStart(r.value.processIdRule.length - 1, "0");
		}), L = _({
			display: "flex",
			height: "30px",
			lineHeight: "30px"
		}), R = v([]), z = a(() => {
			let e = R.value.map((e) => ({
				label: e.title,
				value: e.field
			}));
			return e.unshift({
				label: "流程名称",
				value: "PROCESS_DEFINITION_NAME"
			}), e.unshift({
				label: "发起时间",
				value: "PROCESS_START_TIME"
			}), e.unshift({
				label: "发起人",
				value: "PROCESS_START_USER_ID"
			}), e;
		}), B = a(() => R.value.map((e) => ({
			label: e.title,
			value: e.field
		}))), V = v(!1);
		function H(e) {
			e ? r.value.processBeforeTriggerSetting = {
				url: "",
				header: [],
				body: [],
				response: []
			} : r.value.processBeforeTriggerSetting = null;
		}
		let U = v(!1);
		function W(e) {
			e ? r.value.processAfterTriggerSetting = {
				url: "",
				header: [],
				body: [],
				response: []
			} : r.value.processAfterTriggerSetting = null;
		}
		let G = v(!1);
		function ce(e) {
			e ? r.value.taskBeforeTriggerSetting = {
				url: "",
				header: [],
				body: [],
				response: []
			} : r.value.taskBeforeTriggerSetting = null;
		}
		let K = v(!1);
		function le(e) {
			e ? r.value.taskAfterTriggerSetting = {
				url: "",
				header: [],
				body: [],
				response: []
			} : r.value.taskAfterTriggerSetting = null;
		}
		h(() => {
			V.value = !!r.value.processBeforeTriggerSetting, U.value = !!r.value.processAfterTriggerSetting, G.value = !!r.value.taskBeforeTriggerSetting, K.value = !!r.value.taskAfterTriggerSetting;
		});
		let q = v(), J = v(), Y = v(), X = v();
		function Z() {
			let e = [];
			return V.value && J.value && e.push(J.value.validateSetting()), U.value && q.value && e.push(q.value.validateSetting()), G.value && Y.value && e.push(Y.value.validateSetting()), K.value && X.value && e.push(X.value.validateSetting()), Promise.all(e);
		}
		return t({ validateStep4: Z }), (e, t) => {
			let a = C, h = T, _ = D, v = j, x = ee, P = E, R = k, Z = A, ue = te, Q = N, de = O, $ = M, fe = w;
			return g(), o(fe, {
				ref_key: "formRef",
				ref: n,
				model: r.value,
				"label-col": { style: "width:120px" }
			}, {
				default: S(() => [
					d(h, {
						label: "提交人权限",
						name: "allowCancelRunningProcess"
					}, {
						default: S(() => [d(a, {
							checked: r.value.allowCancelRunningProcess,
							"onUpdate:checked": t[0] ||= (e) => r.value.allowCancelRunningProcess = e
						}, {
							default: S(() => [...t[19] ||= [u(" 允许撤销审批中的申请（第一个审批节点通过后，提交人仍可撤销申请） ", -1)]]),
							_: 1
						}, 8, ["checked"])]),
						_: 1
					}),
					d(h, {
						label: "流程编码",
						name: "flowcode"
					}, {
						default: S(() => [d(P, null, {
							default: S(() => [l("div", ne, [
								d(a, {
									checked: r.value.processIdRule.enable,
									"onUpdate:checked": t[1] ||= (e) => r.value.processIdRule.enable = e
								}, null, 8, ["checked"]),
								t[20] ||= l("span", { "ml-8px": "" }, "前缀：", -1),
								d(_, {
									value: r.value.processIdRule.prefix,
									"onUpdate:value": t[2] ||= (e) => r.value.processIdRule.prefix = e,
									class: "flex-1",
									maxlength: 30,
									placeholder: "请输入",
									disabled: !r.value.processIdRule.enable
								}, null, 8, ["value", "disabled"]),
								t[21] ||= l("span", { "ml-4px": "" }, "中缀：", -1),
								d(v, {
									value: r.value.processIdRule.infix,
									"onUpdate:value": t[3] ||= (e) => r.value.processIdRule.infix = e,
									class: "flex-1",
									options: b(f),
									placeholder: "请选择",
									"allow-clear": "",
									disabled: !r.value.processIdRule.enable
								}, null, 8, [
									"value",
									"options",
									"disabled"
								]),
								t[22] ||= l("span", { "ml-4px": "" }, "后缀：", -1),
								d(_, {
									value: r.value.processIdRule.postfix,
									"onUpdate:value": t[4] ||= (e) => r.value.processIdRule.postfix = e,
									class: "flex-1",
									maxlength: 30,
									placeholder: "请输入",
									disabled: !r.value.processIdRule.enable
								}, null, 8, ["value", "disabled"]),
								t[23] ||= l("span", { "ml-4px": "" }, "长度：", -1),
								d(x, {
									value: r.value.processIdRule.length,
									"onUpdate:value": t[5] ||= (e) => r.value.processIdRule.length = e,
									class: "flex-1",
									min: 5,
									max: 20,
									disabled: !r.value.processIdRule.enable
								}, null, 8, ["value", "disabled"])
							])]),
							_: 1
						}), r.value.processIdRule.enable ? (g(), c("div", re, " 编码示例：" + y(b(I)), 1)) : s("", !0)]),
						_: 1
					}),
					d(h, {
						label: "自动去重",
						name: "autoApprovalType"
					}, {
						default: S(() => [l("div", ie, [t[27] ||= l("div", null, "同一审批人在流程中重复出现时：", -1), d(Z, {
							value: r.value.autoApprovalType,
							"onUpdate:value": t[6] ||= (e) => r.value.autoApprovalType = e
						}, {
							default: S(() => [
								d(R, {
									style: m(b(L)),
									value: 0
								}, {
									default: S(() => [...t[24] ||= [u(" 不自动通过 ", -1)]]),
									_: 1
								}, 8, ["style"]),
								d(R, {
									style: m(b(L)),
									value: 1
								}, {
									default: S(() => [...t[25] ||= [u(" 仅审批一次，后续重复的审批节点均自动通过 ", -1)]]),
									_: 1
								}, 8, ["style"]),
								d(R, {
									style: m(b(L)),
									value: 2
								}, {
									default: S(() => [...t[26] ||= [u(" 仅针对连续审批的节点自动通过 ", -1)]]),
									_: 1
								}, 8, ["style"])
							]),
							_: 1
						}, 8, ["value"])])]),
						_: 1
					}),
					d(h, {
						label: "标题设置",
						name: "titleSetting"
					}, {
						default: S(() => [d(Z, {
							value: r.value.titleSetting.enable,
							"onUpdate:value": t[7] ||= (e) => r.value.titleSetting.enable = e
						}, {
							default: S(() => [d(R, {
								style: m(b(L)),
								value: !1
							}, {
								default: S(() => [...t[28] ||= [u(" 系统默认", -1), l("span", { class: "text-[#909399] ml-6px" }, "展示流程名称", -1)]]),
								_: 1
							}, 8, ["style"]), d(R, {
								style: m(b(L)),
								value: !0
							}, {
								default: S(() => [t[30] ||= u(" 自定义标题 ", -1), d(Q, null, {
									title: S(() => [...t[29] ||= [u(" 输入字符 '{' 即可插入表单字段 ", -1)]]),
									default: S(() => [d(ue)]),
									_: 1
								})]),
								_: 1
							}, 8, ["style"])]),
							_: 1
						}, 8, ["value"]), r.value.titleSetting.enable ? (g(), o(de, {
							key: 0,
							modelValue: r.value.titleSetting.title,
							"onUpdate:modelValue": t[8] ||= (e) => r.value.titleSetting.title = e,
							class: "block! mt-4px!",
							type: "textarea",
							rows: "2",
							prefix: "{",
							split: "}",
							whole: "",
							options: b(z),
							placeholder: "请插入表单字段（输入 '{' 可以选择表单字段）或输入文本"
						}, null, 8, ["modelValue", "options"])) : s("", !0)]),
						_: 1
					}),
					d(h, {
						label: "摘要设置",
						name: "summarySetting"
					}, {
						default: S(() => [d(Z, {
							value: r.value.summarySetting.enable,
							"onUpdate:value": t[9] ||= (e) => r.value.summarySetting.enable = e
						}, {
							default: S(() => [d(R, {
								style: m(b(L)),
								value: !1
							}, {
								default: S(() => [...t[31] ||= [u(" 系统默认", -1), l("span", { class: "text-[#909399] ml-6px" }, "展示表单前 3 个字段", -1)]]),
								_: 1
							}, 8, ["style"]), d(R, {
								style: m(b(L)),
								value: !0
							}, {
								default: S(() => [...t[32] ||= [u(" 自定义摘要 ", -1)]]),
								_: 1
							}, 8, ["style"])]),
							_: 1
						}, 8, ["value"]), r.value.summarySetting.enable ? (g(), o(v, {
							key: 0,
							modelValue: r.value.summarySetting.summary,
							"onUpdate:modelValue": t[10] ||= (e) => r.value.summarySetting.summary = e,
							class: "block! mt-4px!",
							multiple: "",
							options: b(B),
							placeholder: "请选择要展示的表单字段"
						}, null, 8, ["modelValue", "options"])) : s("", !0)]),
						_: 1
					}),
					d(h, {
						label: "流程前置通知",
						name: "processBeforeTriggerEnable"
					}, {
						default: S(() => [l("div", ae, [d($, {
							checked: b(V),
							"onUpdate:checked": t[11] ||= (e) => p(V) ? V.value = e : null,
							"checked-children": "开",
							"un-checked-children": "关",
							onChange: H
						}, null, 8, ["checked"]), t[33] ||= l("span", { class: "ml-40px" }, " 流程启动后通知 ", -1)]), b(V) ? (g(), o(i, {
							key: 0,
							ref_key: "processBeforeTriggerSettingRef",
							ref: J,
							setting: r.value.processBeforeTriggerSetting,
							"onUpdate:setting": t[12] ||= (e) => r.value.processBeforeTriggerSetting = e,
							class: "mt-10px!",
							"response-enable": !0,
							"form-item-prefix": "'processBeforeTriggerSetting'"
						}, null, 8, ["setting"])) : s("", !0)]),
						_: 1
					}),
					d(h, {
						label: "流程后置通知",
						name: "processAfterTriggerEnable"
					}, {
						default: S(() => [l("div", oe, [d($, {
							checked: b(U),
							"onUpdate:checked": t[13] ||= (e) => p(U) ? U.value = e : null,
							"checked-children": "开",
							"un-checked-children": "关",
							onChange: W
						}, null, 8, ["checked"]), t[34] ||= l("span", { class: "ml-40px" }, " 流程结束后通知 ", -1)]), b(U) ? (g(), o(i, {
							key: 0,
							ref_key: "processAfterTriggerSettingRef",
							ref: q,
							setting: r.value.processAfterTriggerSetting,
							"onUpdate:setting": t[14] ||= (e) => r.value.processAfterTriggerSetting = e,
							class: "mt-10px!",
							"response-enable": !0,
							"form-item-prefix": "'processAfterTriggerSetting'"
						}, null, 8, ["setting"])) : s("", !0)]),
						_: 1
					}),
					d(h, {
						label: "任务前置通知",
						name: "taskBeforeTriggerEnable"
					}, {
						default: S(() => [l("div", se, [d($, {
							checked: b(G),
							"onUpdate:checked": t[15] ||= (e) => p(G) ? G.value = e : null,
							"checked-children": "开",
							"un-checked-children": "关",
							onChange: ce
						}, null, 8, ["checked"]), t[35] ||= l("span", { class: "ml-40px" }, " 任务执行时通知 ", -1)]), b(G) ? (g(), o(i, {
							key: 0,
							ref_key: "taskBeforeTriggerSettingRef",
							ref: Y,
							setting: r.value.taskBeforeTriggerSetting,
							"onUpdate:setting": t[16] ||= (e) => r.value.taskBeforeTriggerSetting = e,
							class: "mt-10px!",
							"response-enable": !0,
							"form-item-prefix": "'taskBeforeTriggerSetting'"
						}, null, 8, ["setting"])) : s("", !0)]),
						_: 1
					}),
					d(h, {
						label: "任务后置通知",
						name: "taskAfterTriggerEnable"
					}, {
						default: S(() => [l("div", F, [d($, {
							checked: b(K),
							"onUpdate:checked": t[17] ||= (e) => p(K) ? K.value = e : null,
							"checked-children": "开",
							"un-checked-children": "关",
							onChange: le
						}, null, 8, ["checked"]), t[36] ||= l("span", { class: "ml-40px" }, " 任务结束后通知 ", -1)]), b(K) ? (g(), o(i, {
							key: 0,
							ref_key: "taskAfterTriggerSettingRef",
							ref: X,
							setting: r.value.taskAfterTriggerSetting,
							"onUpdate:setting": t[18] ||= (e) => r.value.taskAfterTriggerSetting = e,
							class: "mt-10px!",
							"response-enable": !0,
							"form-item-prefix": "'taskAfterTriggerSetting'"
						}, null, 8, ["setting"])) : s("", !0)]),
						_: 1
					})
				]),
				_: 1
			}, 8, ["model"]);
		};
	}
}), L = /* @__PURE__ */ t({ default: () => R }), R = /* @__PURE__ */ r(I, [["__scopeId", "data-v-0e1c8e07"]]);
//#endregion
export { L as n, R as t };
