@feedmepos/mf-connect 0.1.38-beta.44 → 0.1.38-beta.46

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 (98) hide show
  1. package/dist/{Analytic-DaVlIGf-.js → Analytic-BGKCj1jr.js} +13 -13
  2. package/dist/{App-BuWDQu4h.js → App-Rjzbi736.js} +7 -7
  3. package/dist/{AuditLogs-Dg-AmPCL.js → AuditLogs-Dip8piV3.js} +9 -9
  4. package/dist/{Bin-BLZqBirZ.js → Bin-DOvnUMsH.js} +8 -8
  5. package/dist/{Broadcast-CO9pC5-Y.js → Broadcast-xcZBuHpL.js} +8 -8
  6. package/dist/{CampaignTypeDialog.vue_vue_type_script_setup_true_lang-BzeOFGn3.js → CampaignTypeDialog.vue_vue_type_script_setup_true_lang-Dizv5GP_.js} +6 -6
  7. package/dist/{Card-DxC4SzhE.js → Card-CKjNEigS.js} +18 -18
  8. package/dist/{Collections-Dl24kiOy.js → Collections-x5ofCSJN.js} +74 -73
  9. package/dist/{Credit-Dx9iReBU.js → Credit-BWBu_w2L.js} +8 -8
  10. package/dist/{EditCampaignSheet.vue_vue_type_script_setup_true_lang-B31p-9aH.js → EditCampaignSheet.vue_vue_type_script_setup_true_lang-CBoP1Jwt.js} +1143 -1117
  11. package/dist/EffectSheet.vue_vue_type_style_index_0_lang-YjvIstf7.js +348 -0
  12. package/dist/{Experience-CeTt_14y.js → Experience-pkdcwDSi.js} +8 -8
  13. package/dist/{Game-BiD0onYI.js → Game-Dna43QZe.js} +9 -9
  14. package/dist/{Grab-IOWWGsOE.js → Grab-C9Z_Zfe8.js} +8 -8
  15. package/dist/{ImageInput.vue_vue_type_script_setup_true_lang-D1KQpDGg.js → ImageInput.vue_vue_type_script_setup_true_lang-DElYlMlB.js} +44 -43
  16. package/dist/{Index-D3z5IdXJ.js → Index-DRIWf1NE.js} +10 -10
  17. package/dist/{Marketing-b1cfAMZ3.js → Marketing-usRTwLLw.js} +7 -7
  18. package/dist/{Member-BSUAVJcD.js → Member-B70QVgJa.js} +10 -10
  19. package/dist/{MemberList-CnXn01xK.js → MemberList-JI4mBPfA.js} +25 -25
  20. package/dist/{MemberTransactions-C_oE-NJv.js → MemberTransactions-DYHJdzBn.js} +1 -1
  21. package/dist/{MessageInput.vue_vue_type_script_setup_true_lang-BYlfLbKK.js → MessageInput.vue_vue_type_script_setup_true_lang-Dvr2n1Qk.js} +5090 -5091
  22. package/dist/{Mission-BJpdXP_V.js → Mission-D8FTOnMy.js} +9 -9
  23. package/dist/{Overview-CW5f7sAz.js → Overview-CaxFeeVL.js} +19 -19
  24. package/dist/{Point-BlW29FTE.js → Point-I9wVIa2q.js} +8 -8
  25. package/dist/{Promotion-BLbBVMGg.js → Promotion-CWFtbYmb.js} +9 -9
  26. package/dist/{Queue-IKQPAf2s.js → Queue-BmjIEX84.js} +10 -10
  27. package/dist/{Record-BpAB2Eun.js → Record-DuvGrBry.js} +8 -8
  28. package/dist/{Reward-CRyvWOwo.js → Reward-BQ36_7d0.js} +16 -16
  29. package/dist/{RewardGroup.vue_vue_type_script_setup_true_lang-CbL_JmWH.js → RewardGroup.vue_vue_type_script_setup_true_lang-0AbXVk_6.js} +12 -12
  30. package/dist/{RuleGroup.vue_vue_type_script_setup_true_lang-BF98epZo.js → RuleGroup.vue_vue_type_script_setup_true_lang-pwHQUtHq.js} +596 -592
  31. package/dist/{Segment-C0lbV7EJ.js → Segment-ClGmNf-7.js} +23 -23
  32. package/dist/{SelectItems.vue_vue_type_script_setup_true_lang-D1lUfj_I.js → SelectItems.vue_vue_type_script_setup_true_lang-CGsYilHx.js} +2 -2
  33. package/dist/{SendCollectionSheet.vue_vue_type_script_setup_true_lang-CurmIKU-.js → SendCollectionSheet.vue_vue_type_script_setup_true_lang-Bbisi3wu.js} +12 -12
  34. package/dist/{SendVoucherSheet.vue_vue_type_script_setup_true_lang-BM-fztkT.js → SendVoucherSheet.vue_vue_type_script_setup_true_lang-CRnHuPPI.js} +3 -3
  35. package/dist/{Setting-BIgHzM4O.js → Setting-DtRP7-KR.js} +14 -14
  36. package/dist/{SettingAdvertisements-pSKo469B.js → SettingAdvertisements-9gG904yk.js} +12 -12
  37. package/dist/{Store-Czn9bmJY.js → Store-j8N8l1e7.js} +21 -21
  38. package/dist/{StoreRewards-BEgyufA-.js → StoreRewards-9o5EngS4.js} +15 -15
  39. package/dist/{StoreTransactions.vue_vue_type_script_setup_true_lang-DzlPKkvb.js → StoreTransactions.vue_vue_type_script_setup_true_lang-Bs54sDKB.js} +31 -29
  40. package/dist/{TargetLocationInput.vue_vue_type_script_setup_true_lang-Dt-fITiT.js → TargetLocationInput.vue_vue_type_script_setup_true_lang-CqBeBxgc.js} +1 -1
  41. package/dist/{Tier-uoxXOOmb.js → Tier-N4Fwb4c2.js} +23 -23
  42. package/dist/{Title-QaZ_Qzwk.js → Title-BisuO_Bq.js} +20 -20
  43. package/dist/{Transaction-By9Q6BcR.js → Transaction-BvL-lHUW.js} +2 -2
  44. package/dist/{UserRuleGroup.vue_vue_type_script_setup_true_lang-ChoSRMz9.js → UserRuleGroup.vue_vue_type_script_setup_true_lang-D3zT4NEB.js} +6 -6
  45. package/dist/{Voucher-DD9c1bOC.js → Voucher-BNVS0bf_.js} +12 -12
  46. package/dist/VoucherEditor.vue_vue_type_script_setup_true_lang-BdAaQtUx.js +421 -0
  47. package/dist/{ZodTextField.vue_vue_type_script_setup_true_lang-B1E0-61O.js → ZodTextField.vue_vue_type_script_setup_true_lang-Db5UjYDs.js} +2 -2
  48. package/dist/{app-D1EzxIEG.js → app-5gFoCIZ5.js} +2285 -795
  49. package/dist/{app-C-L8YbbE.js → app-HOMrHaJX.js} +1 -1
  50. package/dist/app.js +1 -1
  51. package/dist/{business-B9L1wZ9V.js → business-DrOrg91y.js} +1 -1
  52. package/dist/{campaign-BR7cO_ag.js → campaign-D-0jxXgS.js} +1 -1
  53. package/dist/campaign-DxZjTV1c.js +233 -0
  54. package/dist/{campaign.enum-OFeKrvOv.js → campaign.enum-DfqdgPF7.js} +1 -1
  55. package/dist/{campaign.fn-B9PtQJx6.js → campaign.fn-BA9SsYlS.js} +23 -23
  56. package/dist/{collectible.enum-BE8Vnk8X.js → collectible.enum-CUY4edTO.js} +1 -1
  57. package/dist/{collection.fn-CSzvUULo.js → collection.fn-BUyLrKuP.js} +2 -2
  58. package/dist/{dto-DH8S9-Ib.js → dto-CdsbCKbi.js} +4 -4
  59. package/dist/{effect-DZGMEmET.js → effect-CHvrDcct.js} +1 -1
  60. package/dist/{email-addresses-Clhn0_GY.js → email-addresses-BQGuEvTh.js} +1 -1
  61. package/dist/{export-D2-7Mdk_.js → export-CgyLGAFe.js} +3 -3
  62. package/dist/{helper-A850CYX-.js → helper-CUXD11Bp.js} +1 -1
  63. package/dist/{index-DBkatkYW.js → index-BMpQ1Eq2.js} +1 -1
  64. package/dist/{index-CaRmY5ov.js → index-BTzBc44a.js} +4 -4
  65. package/dist/{index-Di6vuuEG.js → index-BmOfDfwV.js} +222 -217
  66. package/dist/{index-Fx5b3dyw.js → index-Bsz-Af4_.js} +2 -2
  67. package/dist/{index-CLvKSnsU.js → index-D-Qagjww.js} +3 -3
  68. package/dist/{index-DZ2N0Xar.js → index-DQlMaN5j.js} +1023 -1023
  69. package/dist/{index-ti-HnLrW.js → index-DUBEbnDX.js} +1 -1
  70. package/dist/{index-CZtsEfNW.js → index-DUZWoVeF.js} +1 -1
  71. package/dist/{index-DgS92jOx.js → index-DrRjJg2A.js} +1 -1
  72. package/dist/{index-aXnPGrHU.js → index-DtcXk4cG.js} +1 -1
  73. package/dist/{index-Ddj2NyfT.js → index-Dvy1ftAd.js} +1 -1
  74. package/dist/{index-DIFcHxGK.js → index-ePW_CRtd.js} +1 -1
  75. package/dist/{index-BIX6P8Ch.js → index-uliDTEHQ.js} +3 -3
  76. package/dist/{index.esm2017-CeG_Fc0h.js → index.esm2017-CJJcI6HI.js} +1 -1
  77. package/dist/{loading-BTmVuA3F.js → loading-O2OJnB-v.js} +1 -1
  78. package/dist/{membership-855TzqV2.js → membership-kVwD3i5I.js} +3 -3
  79. package/dist/{money-q7C-U4gP.js → money-CvRqEjZN.js} +1 -1
  80. package/dist/{number-D_GEDOMH.js → number-BtM53Gqu.js} +1 -1
  81. package/dist/{objectid-BMt_qSOq.js → objectid-BbEyb60f.js} +12 -12
  82. package/dist/{campaign-DBsKNNfL.js → plugins-nuoNiWZV.js} +783 -788
  83. package/dist/{reward-BzhG23G8.js → reward-C904TC9N.js} +1 -1
  84. package/dist/{rule-hkruDWXK.js → rule-B2r0vrQs.js} +3 -3
  85. package/dist/{rule-builder-CDKwRPm6.js → rule-builder-DxCXxYrs.js} +1 -1
  86. package/dist/template-C8z7oS1X.js +188 -0
  87. package/dist/{timezone-CczMDZJW.js → timezone-C-mgrIzx.js} +1 -1
  88. package/dist/trigger-DrmYFT7r.js +213 -0
  89. package/dist/{user-vV0mHSKf.js → user-C_PXVgnR.js} +1 -1
  90. package/dist/{vue-i18n-C3xXE7er.js → vue-i18n-CBY1MepG.js} +111 -111
  91. package/dist/{xlsx-DwllaYd7.js → xlsx-DmlvPg-W.js} +1 -1
  92. package/dist/{zod-Bg2FbC-D.js → zod-DlxxgJ-R.js} +32 -31
  93. package/package.json +1 -1
  94. package/dist/EffectSheet.vue_vue_type_style_index_0_lang-C7EGat91.js +0 -348
  95. package/dist/VoucherEditor.vue_vue_type_script_setup_true_lang-DgCjZuxC.js +0 -419
  96. package/dist/plugins-DYwCm0Ql.js +0 -208
  97. package/dist/template-Bzs20Hr7.js +0 -190
  98. package/dist/trigger-C67D78R1.js +0 -144
@@ -1,5 +1,5 @@
1
1
  import { defineStore as n } from "pinia";
2
- import { g as r, S as d, b as o } from "./index-CLvKSnsU.js";
2
+ import { g as r, S as d, b as o } from "./index-D-Qagjww.js";
3
3
  import { ref as i } from "vue";
4
4
  const a = () => {
5
5
  const e = d.getBusinessId();
@@ -1,8 +1,8 @@
1
1
  import { h as S } from "./moment-D7p2TMB-.js";
2
2
  import { a as de, b as N, c as y } from "./tslib.es6-BCqqvLQ_.js";
3
- import { u as ee } from "./membership-855TzqV2.js";
4
- import { R as B, a as pe } from "./rule-builder-CDKwRPm6.js";
5
- import { u as Be } from "./business-B9L1wZ9V.js";
3
+ import { u as ee } from "./membership-kVwD3i5I.js";
4
+ import { R as B, a as pe } from "./rule-builder-DxCXxYrs.js";
5
+ import { u as Be } from "./business-DrOrg91y.js";
6
6
  var ue = [
7
7
  "MO",
8
8
  "TU",
@@ -1,4 +1,4 @@
1
- import { l as i } from "./index-Fx5b3dyw.js";
1
+ import { l as i } from "./index-Bsz-Af4_.js";
2
2
  function a(o, t) {
3
3
  let r = "", s = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789";
4
4
  const e = s.length;
@@ -0,0 +1,188 @@
1
+ import { defineComponent as V, openBlock as r, createBlock as C, resolveDynamicComponent as B, unref as e, ref as E, computed as j, onMounted as P, resolveComponent as d, withCtx as u, createElementVNode as l, createElementBlock as w, createVNode as a, normalizeClass as k, createTextVNode as S, toDisplayString as f, Fragment as L, renderList as N, createCommentVNode as q } from "vue";
2
+ import { u as J } from "./campaign-D-0jxXgS.js";
3
+ import { useDialog as M } from "@feedmepos/ui-library";
4
+ import { F as A } from "./index-BmOfDfwV.js";
5
+ import { _ as G } from "./lodash-B5I3zXaY.js";
6
+ import { C as H } from "./campaign-DxZjTV1c.js";
7
+ import { J as K } from "./JsonViewer-v8_C7l5N.js";
8
+ import { u as Q } from "./vue-i18n-CBY1MepG.js";
9
+ import { u as R } from "./EditCampaignSheet.vue_vue_type_script_setup_true_lang-CBoP1Jwt.js";
10
+ const U = /* @__PURE__ */ V({
11
+ __name: "CampaignChip",
12
+ props: {
13
+ type: { type: String, required: !0 }
14
+ },
15
+ setup(_) {
16
+ const p = H[_.type];
17
+ return (i, g) => (r(), C(B(e(p).chip())));
18
+ }
19
+ }), W = { class: "flex flex-nowrap gap-x-2 grow h-full" }, X = {
20
+ key: 0,
21
+ class: "p-8 w-1/4"
22
+ }, Y = { class: "flex flex-col grow p-24" }, Z = { class: "space-y-4" }, ee = { class: "fm-typo-en-title-sm-800" }, te = { class: "text-fm-color-typo-secondary fm-typo-en-body-md-400" }, ne = { class: "grow pb-16 pr-16 pt-6 w-full max-h-[400px] overflow-y-auto" }, oe = { class: "gap-24 grid grid-cols-1 lg:grid-cols-2" }, le = { class: "gap-4 h-[22px] inline-flex items-center justify-center min-w-min rounded-md" }, se = { class: "fm-typo-en-title-sm-800" }, ae = { class: "fm-typo-en-body-lg-400 text-fm-color-typo-secondary" }, ie = { class: "flex gap-4 items-end justify-end py-8" }, ce = /* @__PURE__ */ V({
23
+ __name: "TemplateDialog",
24
+ props: {
25
+ campaignType: {
26
+ type: String,
27
+ default: () => {
28
+ }
29
+ },
30
+ onOk: {
31
+ type: Function,
32
+ required: !0
33
+ }
34
+ },
35
+ setup(_) {
36
+ const { t: n } = Q(), { getLocaleText: p } = R(), i = M(), g = J(), c = _, o = E({
37
+ intention: null,
38
+ template: null
39
+ }), T = j(() => {
40
+ const m = (g.templates ?? []).filter(
41
+ () => !0
42
+ //t.intention && t.intention.length > 0
43
+ );
44
+ return c.campaignType ? m.filter(
45
+ (s) => {
46
+ var x, y;
47
+ return ((y = (x = s.defaultValue) == null ? void 0 : x.campaign) == null ? void 0 : y.type) === c.campaignType;
48
+ }
49
+ ) : o.value.intention === null ? G.sampleSize(m, 7) : m.filter(
50
+ (s) => s.intention.includes(o.value.intention)
51
+ );
52
+ });
53
+ P(async () => {
54
+ await g.readTemplates();
55
+ });
56
+ function $() {
57
+ c.onOk(void 0), i.close();
58
+ }
59
+ function I() {
60
+ const m = o.value.template;
61
+ c.onOk(g.templates.find((s) => s._id === m)), i.close();
62
+ }
63
+ return (m, s) => {
64
+ const x = d("FmChip"), y = d("FmListItem"), O = d("FmList"), F = d("FmCard"), h = d("FmButton"), z = d("FmSpacer");
65
+ return r(), C(F, { class: "h-[534px] max-w-6xl" }, {
66
+ default: u(() => [
67
+ l("div", W, [
68
+ c.campaignType ? q("", !0) : (r(), w("div", X, [
69
+ a(O, null, {
70
+ default: u(() => [
71
+ a(y, {
72
+ class: k([{
73
+ "bg-fm-color-system-warning-100": e(o).intention === null
74
+ }, "rounded-sm"]),
75
+ onClick: s[0] || (s[0] = (t) => {
76
+ e(o).intention = null, e(o).template = null;
77
+ })
78
+ }, {
79
+ append: u(() => [
80
+ a(x, {
81
+ label: e(n)("connect.templateDialog.hot"),
82
+ variant: "critical"
83
+ }, null, 8, ["label"])
84
+ ]),
85
+ default: u(() => [
86
+ S(f(e(n)("connect.templateDialog.mostPopular")) + " ", 1)
87
+ ]),
88
+ _: 1
89
+ }, 8, ["class"]),
90
+ (r(!0), w(L, null, N(e(A).options, (t, b) => (r(), C(y, {
91
+ key: b,
92
+ class: k(["rounded-sm", {
93
+ "bg-fm-color-system-warning-100": e(o).intention === t
94
+ }]),
95
+ style: { padding: "8px 16px" },
96
+ onClick: (v) => {
97
+ e(o).intention = t, e(o).template = null;
98
+ }
99
+ }, {
100
+ default: u(() => [
101
+ S(f(e(n)(`connect.templateDialog.intention.${t}`)), 1)
102
+ ]),
103
+ _: 2
104
+ }, 1032, ["class", "onClick"]))), 128))
105
+ ]),
106
+ _: 1
107
+ })
108
+ ])),
109
+ l("div", Y, [
110
+ l("div", Z, [
111
+ l("div", ee, f(c.campaignType ? e(n)(`connect.templateDialog.campaignType.${c.campaignType}`) : e(n)("connect.templateDialog.templateList")), 1),
112
+ l("div", te, f(e(n)("connect.templateDialog.subtitle")), 1)
113
+ ]),
114
+ l("div", ne, [
115
+ a(K, { json: e(T) }, null, 8, ["json"]),
116
+ l("div", oe, [
117
+ (r(!0), w(L, null, N(e(T), (t, b) => (r(), C(F, {
118
+ key: b,
119
+ variant: "outlined",
120
+ class: k(["box-border cursor-pointer h-full p-16 scroll-p-4 space-y-8", {
121
+ "bg-fm-color-system-warning-100 border-fm-color-primary border-2": e(o).template === t._id.toString()
122
+ }]),
123
+ onClick: (v) => e(o).template = t._id.toString()
124
+ }, {
125
+ default: u(() => {
126
+ var v, D;
127
+ return [
128
+ l("div", le, [
129
+ a(U, {
130
+ type: (D = (v = t.defaultValue) == null ? void 0 : v.campaign) == null ? void 0 : D.type
131
+ }, null, 8, ["type"])
132
+ ]),
133
+ l("div", se, f(e(p)(t.name_locale, t.name)), 1),
134
+ l("p", ae, f(e(p)(t.description_locale, t.description ?? "")), 1)
135
+ ];
136
+ }),
137
+ _: 2
138
+ }, 1032, ["class", "onClick"]))), 128))
139
+ ])
140
+ ]),
141
+ l("div", ie, [
142
+ a(h, {
143
+ class: "sm:w-full xs:w-full",
144
+ variant: "plain",
145
+ label: e(n)("connect.templateDialog.customCampaign"),
146
+ size: "md",
147
+ onClick: $
148
+ }, null, 8, ["label"]),
149
+ a(z, { class: "sm:hidden xs:hidden" }),
150
+ a(h, {
151
+ class: "sm:w-full xs:w-full",
152
+ variant: "tertiary",
153
+ label: e(n)("connect.templateDialog.cancel"),
154
+ size: "md",
155
+ onClick: s[1] || (s[1] = (t) => e(i).close())
156
+ }, null, 8, ["label"]),
157
+ a(h, {
158
+ class: "sm:w-full xs:w-full",
159
+ variant: "primary",
160
+ label: e(n)("connect.templateDialog.start"),
161
+ size: "md",
162
+ disabled: !e(o).template,
163
+ onClick: I
164
+ }, null, 8, ["label", "disabled"])
165
+ ])
166
+ ])
167
+ ])
168
+ ]),
169
+ _: 1
170
+ });
171
+ };
172
+ }
173
+ }), xe = (_, n) => ({
174
+ open: async (p) => {
175
+ n.open({
176
+ title: "",
177
+ dialogComponent: ce,
178
+ dialogComponentProps: {
179
+ campaignType: _,
180
+ onOk: async (i) => (console.debug(i, "selected template"), await p(i))
181
+ },
182
+ overlay: !0
183
+ });
184
+ }
185
+ });
186
+ export {
187
+ xe as u
188
+ };
@@ -1,6 +1,6 @@
1
1
  import { a as q0, c as o0, g as W0 } from "./_commonjsHelpers-BkfeUUK-.js";
2
2
  import { m as d0 } from "./moment-D7p2TMB-.js";
3
- import { e as n } from "./index-CLvKSnsU.js";
3
+ import { e as n } from "./index-D-Qagjww.js";
4
4
  var _ = { exports: {} }, j = { exports: {} };
5
5
  const R0 = /* @__PURE__ */ q0(d0);
6
6
  (function(S) {
@@ -0,0 +1,213 @@
1
+ import { defineComponent as m, openBlock as u, createBlock as p, unref as r } from "vue";
2
+ import "./index-Bsz-Af4_.js";
3
+ import { R as i } from "./rule-builder-DxCXxYrs.js";
4
+ import { _ as E } from "./RuleGroup.vue_vue_type_script_setup_true_lang-pwHQUtHq.js";
5
+ import { l as e, H as d } from "./index-BTzBc44a.js";
6
+ import { i as n } from "./plugins-nuoNiWZV.js";
7
+ const L = /* @__PURE__ */ m({
8
+ __name: "BillRuleGroup",
9
+ props: {
10
+ modelValue: {
11
+ type: Object,
12
+ default: () => {
13
+ }
14
+ }
15
+ },
16
+ emits: ["update:model-value"],
17
+ setup(t, { emit: o }) {
18
+ const a = o;
19
+ return (s, l) => {
20
+ var g;
21
+ return u(), p(E, {
22
+ "include-only": "bill",
23
+ "trigger-type": "BILL_COMPLETED",
24
+ "model-value": ((g = t.modelValue) == null ? void 0 : g.rules.g_bill) ?? r(i).scaffoldGroup("g_bill"),
25
+ "onUpdate:modelValue": l[0] || (l[0] = (c) => a(
26
+ "update:model-value",
27
+ r(i).setRuleToGroup(
28
+ t.modelValue ?? r(i).scaffoldGroup(),
29
+ c,
30
+ "&&"
31
+ )
32
+ ))
33
+ }, null, 8, ["model-value"]);
34
+ };
35
+ }
36
+ }), O = /* @__PURE__ */ m({
37
+ __name: "FeedbackRuleGroup",
38
+ props: {
39
+ modelValue: {
40
+ type: Object,
41
+ default: () => {
42
+ }
43
+ }
44
+ },
45
+ emits: ["update:model-value"],
46
+ setup(t, { emit: o }) {
47
+ const a = o;
48
+ return (s, l) => {
49
+ var g;
50
+ return u(), p(E, {
51
+ "include-only": "feedback",
52
+ "trigger-type": "FEEDBACK",
53
+ "model-value": ((g = t.modelValue) == null ? void 0 : g.rules.g_feedback) ?? r(i).scaffoldGroup("g_feedback"),
54
+ "onUpdate:modelValue": l[0] || (l[0] = (c) => a(
55
+ "update:model-value",
56
+ r(i).setRuleToGroup(
57
+ t.modelValue ?? r(i).scaffoldGroup(),
58
+ c,
59
+ "&&"
60
+ )
61
+ ))
62
+ }, null, 8, ["model-value"]);
63
+ };
64
+ }
65
+ }), _ = {
66
+ [e.enum.BILL_COMPLETED]: {
67
+ get name() {
68
+ return n.global.t(
69
+ "connect.campaign.trigger.options.BILL_COMPLETED.name"
70
+ );
71
+ },
72
+ get description() {
73
+ return n.global.t(
74
+ "connect.campaign.trigger.options.BILL_COMPLETED.description"
75
+ );
76
+ },
77
+ value: e.enum.BILL_COMPLETED,
78
+ hidden: !1
79
+ },
80
+ [e.enum.FEEDBACK]: {
81
+ get name() {
82
+ return n.global.t("connect.campaign.trigger.options.FEEDBACK.name");
83
+ },
84
+ get description() {
85
+ return n.global.t(
86
+ "connect.campaign.trigger.options.FEEDBACK.description"
87
+ );
88
+ },
89
+ value: e.enum.FEEDBACK,
90
+ hidden: !1
91
+ },
92
+ [e.enum.GAME_COMPLETED]: {
93
+ get name() {
94
+ return n.global.t(
95
+ "connect.campaign.trigger.options.GAME_COMPLETED.name"
96
+ );
97
+ },
98
+ get description() {
99
+ return n.global.t(
100
+ "connect.campaign.trigger.options.GAME_COMPLETED.description"
101
+ );
102
+ },
103
+ value: e.enum.GAME_COMPLETED,
104
+ hidden: !1
105
+ },
106
+ [e.enum.MAKING_ORDER]: {
107
+ get name() {
108
+ return n.global.t(
109
+ "connect.campaign.trigger.options.MAKING_ORDER.name"
110
+ );
111
+ },
112
+ get description() {
113
+ return n.global.t(
114
+ "connect.campaign.trigger.options.MAKING_ORDER.description"
115
+ );
116
+ },
117
+ value: e.enum.MAKING_ORDER,
118
+ hidden: !1
119
+ },
120
+ [e.enum.MEMBERSHIP_JOINED]: {
121
+ get name() {
122
+ return n.global.t(
123
+ "connect.campaign.trigger.options.MEMBERSHIP_JOINED.name"
124
+ );
125
+ },
126
+ get description() {
127
+ return n.global.t(
128
+ "connect.campaign.trigger.options.MEMBERSHIP_JOINED.description"
129
+ );
130
+ },
131
+ value: e.enum.MEMBERSHIP_JOINED,
132
+ hidden: !1
133
+ },
134
+ [e.enum.SCHEDULE]: {
135
+ get name() {
136
+ return n.global.t("connect.campaign.trigger.options.SCHEDULE.name");
137
+ },
138
+ get description() {
139
+ return n.global.t(
140
+ "connect.campaign.trigger.options.SCHEDULE.description"
141
+ );
142
+ },
143
+ value: e.enum.SCHEDULE,
144
+ hidden: !1
145
+ },
146
+ [e.enum.SIMPLE_CLAIM]: {
147
+ get name() {
148
+ return n.global.t(
149
+ "connect.campaign.trigger.options.SIMPLE_CLAIM.name"
150
+ );
151
+ },
152
+ get description() {
153
+ return n.global.t(
154
+ "connect.campaign.trigger.options.SIMPLE_CLAIM.description"
155
+ );
156
+ },
157
+ value: e.enum.SIMPLE_CLAIM,
158
+ hidden: !1
159
+ },
160
+ [e.enum.TIER_UPGRADED]: {
161
+ get name() {
162
+ return n.global.t(
163
+ "connect.campaign.trigger.options.TIER_UPGRADED.name"
164
+ );
165
+ },
166
+ get description() {
167
+ return n.global.t(
168
+ "connect.campaign.trigger.options.TIER_UPGRADED.description"
169
+ );
170
+ },
171
+ value: e.enum.TIER_UPGRADED,
172
+ hidden: !1
173
+ },
174
+ [e.enum.ISSUE_REWARD]: {
175
+ get name() {
176
+ return n.global.t(
177
+ "connect.campaign.trigger.options.ISSUE_REWARD.name"
178
+ );
179
+ },
180
+ get description() {
181
+ return n.global.t(
182
+ "connect.campaign.trigger.options.ISSUE_REWARD.description"
183
+ );
184
+ },
185
+ value: e.enum.ISSUE_REWARD,
186
+ hidden: !0
187
+ }
188
+ }, b = Object.fromEntries(
189
+ [
190
+ "VOUCHER",
191
+ "PROMOTION",
192
+ "POINT",
193
+ "CREDIT",
194
+ "MEMBERSHIP",
195
+ "BROADCAST",
196
+ "COIN",
197
+ "REWARD_POOL",
198
+ "GAME",
199
+ "MISSION"
200
+ ].map((t) => {
201
+ const o = d[t];
202
+ return [
203
+ t,
204
+ (o == null ? void 0 : o.map((a) => _[a]).filter((a) => !a.hidden)) ?? []
205
+ ];
206
+ })
207
+ );
208
+ export {
209
+ b as T,
210
+ L as _,
211
+ _ as a,
212
+ O as b
213
+ };
@@ -1,5 +1,5 @@
1
1
  import { components as p } from "@feedmepos/ui-library";
2
- import { a as f } from "./plugins-DYwCm0Ql.js";
2
+ import { a as f } from "./plugins-nuoNiWZV.js";
3
3
  import { h as c } from "vue";
4
4
  function g(o, n = !1) {
5
5
  return c(