@feedmepos/mf-hrm-portal 2.2.5-dev.8 → 2.2.5-dev.9

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.
Files changed (57) hide show
  1. package/dist/{ApprovalCodeList-BzL73nqc.js → ApprovalCodeList-D5l9vIsE.js} +2 -2
  2. package/dist/{AuditLogList-BEZoHLsX.js → AuditLogList-ByTa5UJY.js} +3 -3
  3. package/dist/{ConditionBuilderForm.vue_vue_type_script_setup_true_lang-DDrP7ywR.js → ConditionBuilderForm.vue_vue_type_script_setup_true_lang-mNdn1TYV.js} +2 -2
  4. package/dist/{EmployeeList-s4FYw1ZF.js → EmployeeList-Bv6ANk-P.js} +8 -9
  5. package/dist/{GrantUserList-Ci_ElhHZ.js → GrantUserList-Bt8w3p4j.js} +3 -3
  6. package/dist/{Main-BojQuzZI.js → Main-DHJcgePj.js} +5 -5
  7. package/dist/{Main-N1CNGDAy.js → Main-DkP8dWgn.js} +9 -9
  8. package/dist/{Main-CKr3RGvf.js → Main-DqiGpT4v.js} +2 -2
  9. package/dist/{PermissionSetList-DLknSOzA.js → PermissionSetList-BIGv1u67.js} +10 -11
  10. package/dist/{PortalPermissionEditor.vue_vue_type_script_setup_true_lang-DK2Bx8Aw.js → PortalPermissionEditor.vue_vue_type_script_setup_true_lang-niywl_DX.js} +892 -893
  11. package/dist/{RoleList-Cm7_q5l9.js → RoleList-CH6NDKPU.js} +7 -7
  12. package/dist/{ScheduleAddPositionModal.vue_vue_type_script_setup_true_lang-DrJ1vA88.js → ScheduleAddPositionModal.vue_vue_type_script_setup_true_lang-T1ACkX_6.js} +39 -39
  13. package/dist/ScheduleButton.vue_vue_type_script_setup_true_lang-BzQuLLf5.js +690 -0
  14. package/dist/{ScheduleGeneralPage-CmR4BZAp.js → ScheduleGeneralPage-DJPENJZ2.js} +96 -99
  15. package/dist/SchedulePage-C1egcbIC.js +14421 -0
  16. package/dist/{SchedulePositionPage-Bv3zraaF.js → SchedulePositionPage-OhL_hsqG.js} +10 -10
  17. package/dist/ScheduleSelect.vue_vue_type_script_setup_true_lang-B8W4sTsA.js +242 -0
  18. package/dist/{TeamMemberList-D2OfkfJP.js → TeamMemberList-BwfG3go2.js} +8 -9
  19. package/dist/{TimesheetList-DEdLpYuM.js → TimesheetList-DcoqzbLO.js} +5 -5
  20. package/dist/{TimesheetList.vue_vue_type_style_index_0_scoped_63294af2_lang-BfMkNvCz.js → TimesheetList.vue_vue_type_style_index_0_scoped_63294af2_lang-RyhiKTSd.js} +2 -2
  21. package/dist/{app-Dmmpy4k-.js → app-BcZ6C8M8.js} +8 -8
  22. package/dist/app.js +1 -1
  23. package/dist/{dayjs.min-DcfKURXN.js → dayjs.min-Ch0iysTG.js} +1 -1
  24. package/dist/employee-DwYHFacQ.js +204 -0
  25. package/dist/{index-BxkisKEs.js → iteration-D1uWLp0V.js} +726 -698
  26. package/dist/{lodash-p40sRkqQ.js → lodash-DErxm7xf.js} +1 -1
  27. package/dist/{role-CM1urkJZ.js → role-B9VanAny.js} +3 -4
  28. package/dist/{rule-BPApyMJY.js → rule-C4f_Ilzr.js} +36 -37
  29. package/dist/src/views/scheduling/components/ScheduleAutoScheduleModal.vue.d.ts +5 -1
  30. package/dist/src/views/scheduling/components/ScheduleGridSkeleton.vue.d.ts +2 -0
  31. package/dist/src/views/scheduling/components/ScheduleSelect.vue.d.ts +18 -2
  32. package/dist/src/views/scheduling/components/ScheduleShiftCell.vue.d.ts +4 -0
  33. package/dist/src/views/scheduling/components/ScheduleStaffRows.vue.d.ts +4 -0
  34. package/dist/src/views/scheduling/components/ScheduleTopbar.vue.d.ts +2 -2
  35. package/dist/src/views/scheduling/composables/schedule-add-employee-form.d.ts +4 -0
  36. package/dist/src/views/scheduling/composables/scheduleAutoSolver.d.ts +21 -0
  37. package/dist/src/views/scheduling/composables/useScheduleAddEmployee.d.ts +11 -0
  38. package/dist/src/views/scheduling/composables/useScheduleAutoSchedule.d.ts +10 -11
  39. package/dist/src/views/scheduling/composables/useScheduleCopyWeek.d.ts +5 -3
  40. package/dist/src/views/scheduling/composables/useScheduleDemand.d.ts +7 -1
  41. package/dist/src/views/scheduling/composables/useScheduleEmployeeIdentity.d.ts +11 -2
  42. package/dist/src/views/scheduling/composables/useScheduleGapPopover.d.ts +2 -0
  43. package/dist/src/views/scheduling/composables/useScheduleOnboardingWizard.d.ts +11 -0
  44. package/dist/src/views/scheduling/composables/useScheduleOutlet.d.ts +1 -0
  45. package/dist/src/views/scheduling/composables/useScheduleStaffRail.d.ts +4 -1
  46. package/dist/src/views/scheduling/schedule-store.d.ts +25 -0
  47. package/dist/src/views/scheduling/types.d.ts +5 -0
  48. package/dist/style.css +1 -1
  49. package/dist/tsconfig.app.tsbuildinfo +1 -1
  50. package/dist/{useReportPermissions-5EhPvVT9.js → useReportPermissions-CTr56kBo.js} +3 -3
  51. package/package.json +1 -1
  52. package/dist/ScheduleButton.vue_vue_type_script_setup_true_lang-DX5JR7bi.js +0 -600
  53. package/dist/SchedulePage-CN3ZsQ9E.js +0 -13905
  54. package/dist/ScheduleSelect.vue_vue_type_script_setup_true_lang-Buu8NEQf.js +0 -221
  55. package/dist/employee-D3ZpYH4j.js +0 -139
  56. package/dist/index-D-VlxJu9.js +0 -70
  57. package/dist/iteration-CcXrOMQe.js +0 -30
@@ -1,9 +1,9 @@
1
- import { ref as w, reactive as B, computed as R, defineComponent as M, onMounted as D, createElementBlock as c, openBlock as b, createElementVNode as s, createVNode as f, withCtx as k, unref as o, createTextVNode as p, toDisplayString as y, Fragment as E, renderList as L, normalizeClass as N, withDirectives as v, vModelText as m, createCommentVNode as F } from "vue";
2
- import { useRouter as H } from "vue-router";
3
- import { R as U } from "./app-Dmmpy4k-.js";
4
- import { b as i, z as V, Q as A, B as J, D as I, _ as C } from "./ScheduleButton.vue_vue_type_script_setup_true_lang-DX5JR7bi.js";
5
- import { _ as z } from "./ScheduleSelect.vue_vue_type_script_setup_true_lang-Buu8NEQf.js";
6
- const $ = [
1
+ import { ref as h, reactive as D, computed as C, defineComponent as E, onMounted as U, createElementBlock as c, openBlock as y, createElementVNode as s, createVNode as f, withCtx as k, unref as o, createTextVNode as p, toDisplayString as b, Fragment as B, renderList as x, normalizeClass as N, withDirectives as v, vModelText as m, createCommentVNode as F } from "vue";
2
+ import { useRouter as I } from "vue-router";
3
+ import { R as A } from "./app-BcZ6C8M8.js";
4
+ import { b as i, H, O as V, I as P, y as J, _ as R } from "./ScheduleButton.vue_vue_type_script_setup_true_lang-BzQuLLf5.js";
5
+ import { _ as M } from "./ScheduleSelect.vue_vue_type_script_setup_true_lang-B8W4sTsA.js";
6
+ const Y = [
7
7
  { key: "overtime", label: "Overtime" }
8
8
  ];
9
9
  function g() {
@@ -20,67 +20,67 @@ function g() {
20
20
  })
21
21
  );
22
22
  }
23
- function P() {
24
- const d = w(!1), u = w("overtime"), l = B(g());
25
- function h(S) {
23
+ function $() {
24
+ const d = h(!1), u = h("overtime"), l = D(g());
25
+ function w(S) {
26
26
  Object.assign(l, g()), u.value = S ?? "overtime", d.value = !0;
27
27
  }
28
- const t = R(() => JSON.stringify(l) !== JSON.stringify(g()));
29
- function r() {
28
+ const t = C(() => JSON.stringify(l) !== JSON.stringify(g()));
29
+ function n() {
30
30
  return t.value ? !1 : (d.value = !1, !0);
31
31
  }
32
- function n() {
32
+ function r() {
33
33
  Object.assign(l, g()), d.value = !1;
34
34
  }
35
35
  function O() {
36
36
  i.salesForecast = l.salesForecast, i.labourTarget = l.labourTarget, i.budgetFromSales = l.budgetFromSales, i.budget = l.budget, i.payRate = JSON.parse(JSON.stringify(l.payRate)), i.otCapHours = l.otCapHours, i.otBudget = l.otBudget, i.notify = JSON.parse(JSON.stringify(l.notify)), d.value = !1;
37
37
  }
38
- return { isOpen: d, activeSection: u, draft: l, dirty: t, open: h, close: r, discard: n, save: O };
38
+ return { isOpen: d, activeSection: u, draft: l, dirty: t, open: w, close: n, discard: r, save: O };
39
39
  }
40
- const Y = { class: "main" }, j = {
40
+ const z = { class: "main" }, j = {
41
41
  id: "viewSettings",
42
42
  class: "view"
43
- }, G = { class: "sp-head" }, W = { class: "outlet-bar" }, Q = { class: "outlet-note" }, q = { class: "sp-body" }, K = { class: "sp-tabs" }, X = ["onClick"], Z = { class: "sp-content" }, ss = { class: "sp-panel" }, es = {
43
+ }, G = { class: "sp-head" }, W = { class: "outlet-bar" }, q = { class: "outlet-note" }, K = { class: "sp-body" }, Q = { class: "sp-tabs" }, X = ["onClick"], Z = { class: "sp-content" }, ss = { class: "sp-panel" }, es = {
44
44
  id: "sp-overtime",
45
45
  class: "sp-sec"
46
- }, ts = { class: "sp-card" }, as = { class: "sp-row" }, os = { class: "sp-field" }, is = { class: "sp-row" }, ls = { class: "sp-field" }, ns = { class: "sp-row" }, rs = { class: "sp-field" }, ds = { class: "sp-card" }, us = { class: "sp-row" }, ps = { class: "sp-card" }, vs = { class: "sp-row" }, ms = { class: "sp-field" }, cs = { class: "sp-save-txt" }, bs = { key: 0 }, Ss = /* @__PURE__ */ M({
46
+ }, ts = { class: "sp-card" }, as = { class: "sp-row" }, os = { class: "sp-field" }, is = { class: "sp-row" }, ls = { class: "sp-field" }, rs = { class: "sp-row" }, ns = { class: "sp-field" }, ds = { class: "sp-card" }, us = { class: "sp-row" }, ps = { class: "sp-field" }, vs = { class: "sp-row" }, ms = { class: "sp-field" }, cs = { class: "sp-save-txt" }, ys = { key: 0 }, Ss = /* @__PURE__ */ E({
47
47
  __name: "ScheduleGeneralPage",
48
48
  setup(d) {
49
- const u = w(null);
50
- V(u);
51
- const l = R(() => A.name || "No outlet selected"), h = H(), t = P(), r = J(), n = w(!1), O = R(
52
- () => r.options.value.length ? r.options.value : [{ value: "", label: "No outlet selected", disabled: !0 }]
49
+ const u = h(null);
50
+ H(u);
51
+ const l = C(() => V.name || "No outlet selected"), w = I(), t = $(), n = P(), r = h(!1), O = C(
52
+ () => n.options.value.length ? n.options.value : [{ value: "", label: "No outlet selected", disabled: !0 }]
53
53
  );
54
- function S(T) {
55
- r.switchTo(T, /* @__PURE__ */ new Date());
54
+ function S(_) {
55
+ n.switchTo(_, /* @__PURE__ */ new Date());
56
56
  }
57
- D(async () => {
58
- await r.resolve() && await I(/* @__PURE__ */ new Date()), t.open();
57
+ U(async () => {
58
+ await n.resolve() && await J(/* @__PURE__ */ new Date()), t.open();
59
59
  });
60
- function _() {
61
- t.close() && h.push({ name: U.SCHEDULE });
60
+ function T() {
61
+ t.close() && w.push({ name: A.SCHEDULE });
62
62
  }
63
- function x() {
64
- if (!n.value) {
65
- n.value = !0;
63
+ function L() {
64
+ if (!r.value) {
65
+ r.value = !0;
66
66
  return;
67
67
  }
68
- n.value = !1, t.discard();
68
+ r.value = !1, t.discard();
69
69
  }
70
- return (T, e) => (b(), c("div", {
70
+ return (_, e) => (y(), c("div", {
71
71
  ref_key: "rootEl",
72
72
  ref: u,
73
73
  class: "sch"
74
74
  }, [
75
- s("div", Y, [
75
+ s("div", z, [
76
76
  s("div", j, [
77
77
  s("div", G, [
78
- f(C, {
78
+ f(R, {
79
79
  hierarchy: "ghost",
80
80
  size: "sm",
81
81
  class: "sp-back",
82
82
  type: "button",
83
- onClick: _
83
+ onClick: T
84
84
  }, {
85
85
  default: k(() => [...e[7] || (e[7] = [
86
86
  s("svg", {
@@ -103,44 +103,44 @@ const Y = { class: "main" }, j = {
103
103
  _: 1
104
104
  }),
105
105
  e[11] || (e[11] = s("div", { class: "sp-title" }, "General", -1)),
106
- e[12] || (e[12] = s("div", { class: "sp-sub" }, "Overtime rates for this outlet.", -1)),
106
+ e[12] || (e[12] = s("div", { class: "sp-sub" }, "Pay multipliers for this outlet.", -1)),
107
107
  s("div", W, [
108
108
  e[10] || (e[10] = s("span", { class: "outlet-bar-lbl" }, "Outlet", -1)),
109
- f(z, {
109
+ f(M, {
110
110
  class: "outlet-sel",
111
111
  "aria-label": "Outlet these rules apply to",
112
- "model-value": o(r).outletId.value,
112
+ "model-value": o(n).outletId.value,
113
113
  options: O.value,
114
114
  "onUpdate:modelValue": S
115
115
  }, null, 8, ["model-value", "options"]),
116
- s("span", Q, [
116
+ s("span", q, [
117
117
  e[8] || (e[8] = p("This setup applies to ", -1)),
118
- s("b", null, y(l.value), 1),
118
+ s("b", null, b(l.value), 1),
119
119
  e[9] || (e[9] = p(".", -1))
120
120
  ])
121
121
  ])
122
122
  ]),
123
- s("div", q, [
124
- s("nav", K, [
125
- (b(!0), c(E, null, L(o($), (a) => (b(), c("button", {
123
+ s("div", K, [
124
+ s("nav", Q, [
125
+ (y(!0), c(B, null, x(o(Y), (a) => (y(), c("button", {
126
126
  key: a.key,
127
127
  type: "button",
128
- class: N(["rebus-tab sp-tab", { active: o(t).activeSection.value === a.key }]),
128
+ class: N(["sch-tab sp-tab", { active: o(t).activeSection.value === a.key }]),
129
129
  "data-active": "false",
130
130
  onClick: (fs) => o(t).activeSection.value = a.key
131
- }, y(a.label), 11, X))), 128))
131
+ }, b(a.label), 11, X))), 128))
132
132
  ]),
133
133
  s("div", Z, [
134
134
  s("div", ss, [
135
135
  s("section", es, [
136
136
  e[25] || (e[25] = s("div", { class: "sp-sec-head" }, [
137
- s("div", { class: "sp-panel-title" }, "Overtime")
137
+ s("div", { class: "sp-panel-title" }, "Pay rates")
138
138
  ], -1)),
139
- e[26] || (e[26] = s("div", { class: "sp-panel-desc" }, "Overtime rates, and the monthly statutory cap.", -1)),
139
+ e[26] || (e[26] = s("div", { class: "sp-panel-desc" }, "Pay multipliers by kind of day.", -1)),
140
140
  s("div", ts, [
141
141
  e[19] || (e[19] = s("div", { class: "sp-card-head" }, [
142
- s("div", { class: "sp-card-title" }, "Rate"),
143
- s("div", { class: "sp-card-note" }, "Multiplier every OT hour")
142
+ s("div", { class: "sp-card-title" }, "Overtime rate"),
143
+ s("div", { class: "sp-card-note" }, "Multiplier on every OT hour")
144
144
  ], -1)),
145
145
  s("div", as, [
146
146
  e[14] || (e[14] = s("div", { class: "sp-row-main" }, [
@@ -150,7 +150,7 @@ const Y = { class: "main" }, j = {
150
150
  s("div", os, [
151
151
  v(s("input", {
152
152
  "onUpdate:modelValue": e[0] || (e[0] = (a) => o(t).draft.payRate.NORMAL.overtime = a),
153
- class: "rebus-input sp-num",
153
+ class: "sch-input sp-num",
154
154
  type: "number",
155
155
  min: "1",
156
156
  max: "4",
@@ -175,7 +175,7 @@ const Y = { class: "main" }, j = {
175
175
  s("div", ls, [
176
176
  v(s("input", {
177
177
  "onUpdate:modelValue": e[1] || (e[1] = (a) => o(t).draft.payRate.REST_DAY.overtime = a),
178
- class: "rebus-input sp-num",
178
+ class: "sch-input sp-num",
179
179
  type: "number",
180
180
  min: "1",
181
181
  max: "4",
@@ -192,15 +192,15 @@ const Y = { class: "main" }, j = {
192
192
  e[15] || (e[15] = s("span", { class: "sp-unit" }, "×", -1))
193
193
  ])
194
194
  ]),
195
- s("div", ns, [
195
+ s("div", rs, [
196
196
  e[18] || (e[18] = s("div", { class: "sp-row-main" }, [
197
197
  s("div", { class: "sp-row-label" }, "Public holiday"),
198
198
  s("div", { class: "sp-row-hint" }, " For dates on the holiday calendar. Wins over a rest day on the same date. ")
199
199
  ], -1)),
200
- s("div", rs, [
200
+ s("div", ns, [
201
201
  v(s("input", {
202
202
  "onUpdate:modelValue": e[2] || (e[2] = (a) => o(t).draft.payRate.PUBLIC_HOLIDAY.overtime = a),
203
- class: "rebus-input sp-num",
203
+ class: "sch-input sp-num",
204
204
  type: "number",
205
205
  min: "1",
206
206
  max: "4",
@@ -219,61 +219,58 @@ const Y = { class: "main" }, j = {
219
219
  ])
220
220
  ]),
221
221
  s("div", ds, [
222
- e[21] || (e[21] = s("div", { class: "sp-card-head" }, [
223
- s("div", { class: "sp-card-title" }, "Maximum OT Hours"),
224
- s("div", { class: "sp-card-note" }, "Enforced")
222
+ e[24] || (e[24] = s("div", { class: "sp-card-head" }, [
223
+ s("div", { class: "sp-card-title" }, "Regular rate"),
224
+ s("div", { class: "sp-card-note" }, "Multiplier on ordinary hours")
225
225
  ], -1)),
226
226
  s("div", us, [
227
- e[20] || (e[20] = s("div", { class: "sp-row-main" }, [
228
- s("div", { class: "sp-row-label" }, "Monthly OT cap"),
229
- s("div", { class: "sp-row-hint" }, " Hours per person per month. Auto-Schedule never exceeds it. ")
227
+ e[21] || (e[21] = s("div", { class: "sp-row-main" }, [
228
+ s("div", { class: "sp-row-label" }, "Rest day"),
229
+ s("div", { class: "sp-row-hint" }, "Ordinary hours worked on the person's rest day.")
230
230
  ], -1)),
231
- v(s("input", {
232
- "onUpdate:modelValue": e[3] || (e[3] = (a) => o(t).draft.otCapHours = a),
233
- class: "rebus-input sp-num",
234
- type: "number",
235
- min: "0",
236
- max: "300",
237
- step: "1",
238
- "aria-label": "Monthly OT cap in hours"
239
- }, null, 512), [
240
- [
241
- m,
242
- o(t).draft.otCapHours,
243
- void 0,
244
- { number: !0 }
245
- ]
231
+ s("div", ps, [
232
+ v(s("input", {
233
+ "onUpdate:modelValue": e[3] || (e[3] = (a) => o(t).draft.payRate.REST_DAY.regular = a),
234
+ class: "sch-input sp-num",
235
+ type: "number",
236
+ min: "1",
237
+ max: "4",
238
+ step: "0.1",
239
+ "aria-label": "Regular rate on a rest day"
240
+ }, null, 512), [
241
+ [
242
+ m,
243
+ o(t).draft.payRate.REST_DAY.regular,
244
+ void 0,
245
+ { number: !0 }
246
+ ]
247
+ ]),
248
+ e[20] || (e[20] = s("span", { class: "sp-unit" }, "×", -1))
246
249
  ])
247
- ])
248
- ]),
249
- s("div", ps, [
250
- e[24] || (e[24] = s("div", { class: "sp-card-head" }, [
251
- s("div", { class: "sp-card-title" }, "Cost · whole outlet"),
252
- s("div", { class: "sp-card-note" }, "Advisory")
253
- ], -1)),
250
+ ]),
254
251
  s("div", vs, [
255
252
  e[23] || (e[23] = s("div", { class: "sp-row-main" }, [
256
- s("div", { class: "sp-row-label" }, "Monthly OT budget"),
257
- s("div", { class: "sp-row-hint" }, "Monthly overtime spend.")
253
+ s("div", { class: "sp-row-label" }, "Public holiday"),
254
+ s("div", { class: "sp-row-hint" }, "Ordinary hours worked on a date on the holiday calendar.")
258
255
  ], -1)),
259
256
  s("div", ms, [
260
- e[22] || (e[22] = s("span", { class: "sp-unit" }, "RM", -1)),
261
257
  v(s("input", {
262
- "onUpdate:modelValue": e[4] || (e[4] = (a) => o(t).draft.otBudget = a),
263
- class: "rebus-input sp-num sp-num-wide",
258
+ "onUpdate:modelValue": e[4] || (e[4] = (a) => o(t).draft.payRate.PUBLIC_HOLIDAY.regular = a),
259
+ class: "sch-input sp-num",
264
260
  type: "number",
265
- min: "0",
266
- max: "99999",
267
- step: "100",
268
- "aria-label": "Monthly OT budget"
261
+ min: "1",
262
+ max: "4",
263
+ step: "0.1",
264
+ "aria-label": "Regular rate on a public holiday"
269
265
  }, null, 512), [
270
266
  [
271
267
  m,
272
- o(t).draft.otBudget,
268
+ o(t).draft.payRate.PUBLIC_HOLIDAY.regular,
273
269
  void 0,
274
270
  { number: !0 }
275
271
  ]
276
- ])
272
+ ]),
273
+ e[22] || (e[22] = s("span", { class: "sp-unit" }, "×", -1))
277
274
  ])
278
275
  ])
279
276
  ])
@@ -281,25 +278,25 @@ const Y = { class: "main" }, j = {
281
278
  ])
282
279
  ]),
283
280
  s("div", {
284
- class: N(["sp-save", { dirty: o(t).dirty.value, arming: n.value }])
281
+ class: N(["sp-save", { dirty: o(t).dirty.value, arming: r.value }])
285
282
  }, [
286
283
  s("div", cs, [
287
- p(y(n.value ? "Discard unsaved changes?" : "Unsaved changes") + " ", 1),
288
- n.value ? F("", !0) : (b(), c("span", bs, "— save or discard before leaving."))
284
+ p(b(r.value ? "Discard unsaved changes?" : "Unsaved changes") + " ", 1),
285
+ r.value ? F("", !0) : (y(), c("span", ys, "— save or discard before leaving."))
289
286
  ]),
290
- f(C, {
287
+ f(R, {
291
288
  hierarchy: "secondary",
292
289
  size: "sm",
293
290
  class: "am-btn am-btn-sec",
294
291
  type: "button",
295
- onClick: e[5] || (e[5] = (a) => x())
292
+ onClick: e[5] || (e[5] = (a) => L())
296
293
  }, {
297
294
  default: k(() => [
298
- p(y(n.value ? "Confirm discard" : "Discard"), 1)
295
+ p(b(r.value ? "Confirm discard" : "Discard"), 1)
299
296
  ]),
300
297
  _: 1
301
298
  }),
302
- f(C, {
299
+ f(R, {
303
300
  hierarchy: "primary",
304
301
  size: "sm",
305
302
  class: "am-btn am-btn-primary",