@feedmepos/mf-connect 0.1.98-beta.21 → 0.1.98-beta.23
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.
- package/dist/{App-B3f8GWoR.js → App-BIYX7Etx.js} +10 -9
- package/dist/{AuditLogs-LRHzzpqj.js → AuditLogs-DE4OshWT.js} +9 -9
- package/dist/{Bin-Y761Ua4-.js → Bin-Dij5sB7P.js} +8 -8
- package/dist/{Broadcast-CdRuG42N.js → Broadcast-LrxTPewm.js} +13 -12
- package/dist/CampaignAnalytic-Cd4NmVCa.js +1656 -0
- package/dist/{CampaignTypeDialog.vue_vue_type_script_setup_true_lang-CsULDH9l.js → CampaignTypeDialog.vue_vue_type_script_setup_true_lang-NOjmA60-.js} +6 -5
- package/dist/{Card-GZ3ZLnBl.js → Card-RUIOZRGb.js} +18 -18
- package/dist/{Collections-B59fL-oS.js → Collections-D0Dm4XVh.js} +14 -13
- package/dist/{Credit-DJxzXBam.js → Credit-04KV7cl_.js} +119 -93
- package/dist/{EditCampaignSheet.vue_vue_type_script_setup_true_lang-C3d8frgZ.js → EditCampaignSheet.vue_vue_type_script_setup_true_lang-D0_4f-Lw.js} +34 -30
- package/dist/{EffectSheet.vue_vue_type_style_index_0_lang-DKUFvacX.js → EffectSheet.vue_vue_type_style_index_0_lang-GJYjey-R.js} +6 -6
- package/dist/{Experience-lzpvYFPP.js → Experience-Tnx0sYuU.js} +112 -86
- package/dist/{FileSaver.min-BXoEv5ve.js → FileSaver.min-DO-YYoNK.js} +1 -1
- package/dist/Game-BQF1HhbF.js +356 -0
- package/dist/{Grab-BQgS104D.js → Grab-CbpfBdSQ.js} +32 -31
- package/dist/{ImageInput.vue_vue_type_script_setup_true_lang-Cz9iB9ox.js → ImageInput.vue_vue_type_script_setup_true_lang-Dm76lZPy.js} +1 -1
- package/dist/{Index-B5UTBbUy.js → Index-Bs2XB4kq.js} +10 -10
- package/dist/{LocationPicker.vue_vue_type_script_setup_true_lang-CLLhy4-v.js → LocationPicker.vue_vue_type_script_setup_true_lang--zUjb2sx.js} +1 -1
- package/dist/{LottieAnimation.vue_vue_type_script_setup_true_lang-BiIqs4zW.js → LottieAnimation.vue_vue_type_script_setup_true_lang-Dix9t18W.js} +1 -1
- package/dist/LoyaltyDashboard-D-2cCqT1.js +1339 -0
- package/dist/{MainLayout-AvQ4_-oT.js → MainLayout-BtjswcYZ.js} +1 -1
- package/dist/{Marketing-Bn1ygF8d.js → Marketing-BX2dspqc.js} +4 -4
- package/dist/{MarketingMaterialEdit-Cw-VPVqE.js → MarketingMaterialEdit-BnERWjgD.js} +6 -6
- package/dist/{Member-CpEXFHIF.js → Member-BH8ly91d.js} +11 -11
- package/dist/{MemberList-gSEw_idJ.js → MemberList-vNI7GD9Z.js} +36 -35
- package/dist/{MemberTransactions-DEMzj9-y.js → MemberTransactions-CQUJBCJK.js} +1 -1
- package/dist/{MessageInput.vue_vue_type_script_setup_true_lang-B4Y5KPpw.js → MessageInput.vue_vue_type_script_setup_true_lang-BzJzMifM.js} +4400 -4431
- package/dist/MetricInfoTooltip.vue_vue_type_script_setup_true_lang-B1Yj3odA.js +38 -0
- package/dist/Mission-Rzjonu46.js +360 -0
- package/dist/{Overview-CMudFYOc.js → Overview-B1b0Krzj.js} +3 -3
- package/dist/{Overview-DjNcF88f.js → Overview-BYCWa5kg.js} +18 -18
- package/dist/Point-LhcogofH.js +288 -0
- package/dist/Promotion-CyHJ_Rj7.js +423 -0
- package/dist/{Queue-BjoAJoVe.js → Queue-B3TbSBGL.js} +16 -16
- package/dist/{Record-CfZFuwy_.js → Record-CMaloGsO.js} +9 -9
- package/dist/{Review-pIAxbjVU.js → Review-Cht29ZqH.js} +2 -2
- package/dist/{ReviewFacebookCallback-BRW4T-5-.js → ReviewFacebookCallback-w9E0tBZK.js} +5 -5
- package/dist/{ReviewGoogleCallback-B-6EojXR.js → ReviewGoogleCallback-wyDB2Q4d.js} +5 -5
- package/dist/{Reward-_pdE2XZp.js → Reward-CHUkCgCF.js} +16 -16
- package/dist/{RewardGroup.vue_vue_type_script_setup_true_lang-S5dh0IGc.js → RewardGroup.vue_vue_type_script_setup_true_lang-Dop7KXro.js} +11 -11
- package/dist/{RuleGroup.vue_vue_type_script_setup_true_lang-C9B7NmF0.js → RuleGroup.vue_vue_type_script_setup_true_lang-pgKnyxcj.js} +16 -15
- package/dist/{Segment-B1EMe-LZ.js → Segment-CQM0X0t8.js} +39 -37
- package/dist/{SelectItems.vue_vue_type_script_setup_true_lang-DAmjk8b3.js → SelectItems.vue_vue_type_script_setup_true_lang-Dgk1XFW-.js} +2 -2
- package/dist/{SendCollectionSheet.vue_vue_type_script_setup_true_lang-C7sgPf8l.js → SendCollectionSheet.vue_vue_type_script_setup_true_lang-WLoT1Yuh.js} +12 -12
- package/dist/{SendVoucherSheet.vue_vue_type_script_setup_true_lang-DVYTZr_E.js → SendVoucherSheet.vue_vue_type_script_setup_true_lang-CiIXMw2K.js} +4 -4
- package/dist/{Setting-CQQ6zacB.js → Setting-BNb9cKHW.js} +40 -40
- package/dist/{SettingAdvertisements-9Wl9VWbM.js → SettingAdvertisements-DCfDKajW.js} +12 -12
- package/dist/{Settings-Bvj2ChDR.js → Settings-D9x31jyY.js} +5 -5
- package/dist/{Store-BdUZ22g6.js → Store-CHIRPbf9.js} +21 -21
- package/dist/{StoreRewards-DsUS_Lu1.js → StoreRewards-oDCchD1I.js} +15 -15
- package/dist/{StoreTransactions.vue_vue_type_script_setup_true_lang-Zw-lIDCN.js → StoreTransactions.vue_vue_type_script_setup_true_lang-Bs6DBPCp.js} +21 -21
- package/dist/{TargetLocationInput.vue_vue_type_script_setup_true_lang-BECp3eqQ.js → TargetLocationInput.vue_vue_type_script_setup_true_lang-Dg7rFNPR.js} +2 -2
- package/dist/{Tier-2-mJ3SNK.js → Tier-BnxtqLlp.js} +36 -34
- package/dist/{Title-BjeEDjxl.js → Title-Ca909tVJ.js} +39 -37
- package/dist/{Transaction--U_kJKec.js → Transaction-CXqSR6Vb.js} +2 -2
- package/dist/{UserRuleGroup.vue_vue_type_script_setup_true_lang-BkLyvjA5.js → UserRuleGroup.vue_vue_type_script_setup_true_lang-DXKIcUhs.js} +6 -6
- package/dist/{Voucher-INa3N_6V.js → Voucher-0JvEJ4Jp.js} +156 -133
- package/dist/{VoucherEditor.vue_vue_type_script_setup_true_lang-4Quzmc7-.js → VoucherEditor.vue_vue_type_script_setup_true_lang-vBymX-zC.js} +12 -12
- package/dist/{ZodTextField.vue_vue_type_script_setup_true_lang-CPCnBExY.js → ZodTextField.vue_vue_type_script_setup_true_lang-CaLyPkwJ.js} +2 -2
- package/dist/{app-Dlqr-LX4.js → app-bITyvnZM.js} +3155 -3011
- package/dist/app.js +1 -1
- package/dist/{business-DWrfGEe_.js → business-eD0ch267.js} +1 -1
- package/dist/campaign-BFg0mmEh.js +100 -0
- package/dist/{campaign-DtNt-BqN.js → campaign-Ba602jpT.js} +74 -96
- package/dist/{campaign.enum-B9-ZpK0C.js → campaign.enum-Dx-Zo68Q.js} +1 -1
- package/dist/{campaign.fn-COxaWmi_.js → campaign.fn-DF0snp1T.js} +62 -62
- package/dist/{collectible.enum-CF0VF-r7.js → collectible.enum-Liy2wH3s.js} +1 -1
- package/dist/collection.fn-CBfMIjXE.js +26 -0
- package/dist/{duplicateCampaign-8ciT68QF.js → duplicateCampaign-VP_ls1ud.js} +2 -2
- package/dist/{effect-CaSn-84h.js → effect-ddINAhuZ.js} +1 -1
- package/dist/{email-addresses-BiMQ8xIx.js → email-addresses-dgDgXrMO.js} +2 -2
- package/dist/{export-BwBNgCo5.js → export-Ds2K5BsU.js} +3 -3
- package/dist/{helper-CajV_0CM.js → helper-BuMn1yMd.js} +1 -1
- package/dist/{index-CjW6Mj-1.js → index-116bBmSO.js} +1 -1
- package/dist/{index-CQj9BQlQ.js → index-2WBZTpTO.js} +105 -123
- package/dist/{index-D1--K-QL.js → index-C7yjfEJp.js} +1 -1
- package/dist/index-C8cXXcLk.js +45 -0
- package/dist/{index-Bqcfsd4p.js → index-CDY4-3Oh.js} +8 -7
- package/dist/index-C_H8jFYf.js +2743 -0
- package/dist/{index-B6tm_U_M.js → index-CssCQw59.js} +18 -17
- package/dist/{index-DWBKko92.js → index-D-VV6TQr.js} +6 -6
- package/dist/{index-CQIciFrH.js → index-D5CuHi7m.js} +1 -1
- package/dist/{index-J8pSZ3WO.js → index-D7zaIqw5.js} +1 -1
- package/dist/{index-D1vhLY7l.js → index-DeBtRbNM.js} +1 -1
- package/dist/index-DtvL6ok7.js +146 -0
- package/dist/{index-D90p28Hr.js → index-Dvs0-jZv.js} +205 -229
- package/dist/{index-BP5rdioN.js → index-IC2b3X3d.js} +8027 -10766
- package/dist/{index-DBUTFa2h.js → index-KbYR_xHX.js} +2 -2
- package/dist/{index-B6ldAC8Y.js → index-ObbBk7ec.js} +1 -1
- package/dist/{index-B0ohh62P.js → index-uwROagPY.js} +230 -351
- package/dist/{index.esm2017-QlPanYiW.js → index.esm2017-skDxCJ1A.js} +1 -1
- package/dist/{loading-CqqkzWSm.js → loading-LvohTBxf.js} +1 -1
- package/dist/{lodash-DmbW2QhA.js → lodash-Di4dt__i.js} +1 -1
- package/dist/{membership-Dcwyu-rr.js → membership-7dDyl1PB.js} +3 -3
- package/dist/{money-DWr1gi--.js → money-DLO_8Rz5.js} +1 -1
- package/dist/{number-CHhHAd1q.js → number-DI2NyHxA.js} +1 -1
- package/dist/{objectid-BsiuHVH8.js → objectid-BR7nqOFr.js} +8 -8
- package/dist/{plugins-BxmMI8fo.js → plugins-DiV6DB6H.js} +3 -3
- package/dist/{reward-DX0FjsNT.js → reward-CEQA8YFb.js} +1 -1
- package/dist/{rule-DDLcqiHH.js → rule-CK-xQMWg.js} +3 -3
- package/dist/rule-builder-DW8QDYRH.js +126 -0
- package/dist/{template-C0lF82yv.js → template-ASiRYpll.js} +6 -6
- package/dist/timezone-Bt1TXRp3.js +20 -0
- package/dist/{trigger-CsJcg_RY.js → trigger-C1t6y-O_.js} +5 -5
- package/dist/{useMarketingMaterialActions-B0iV6YzB.js → useMarketingMaterialActions-CflpOyai.js} +3 -3
- package/dist/{usePagination-4EISkyGW.js → usePagination-BtKUQnLA.js} +1 -1
- package/dist/{user-DZuSeqRY.js → user-Dv4jKByC.js} +1 -1
- package/dist/{vue-i18n-BKcwYlp1.js → vue-i18n-xbxyJhj4.js} +436 -436
- package/dist/{xlsx-C-7dia55.js → xlsx-rKKsRfvM.js} +440 -440
- package/dist/{zod-DPxXVSRw.js → zod-DpLFpQ43.js} +1 -1
- package/package.json +1 -1
- package/dist/Game-KCxIpXEC.js +0 -330
- package/dist/LoyaltyDashboard-DPHWpaNJ.js +0 -1082
- package/dist/Mission-DMtpauNQ.js +0 -334
- package/dist/Point-CgdTrgXc.js +0 -262
- package/dist/Promotion-DDQodFDb.js +0 -397
- package/dist/campaign-un9Ji1KF.js +0 -219
|
@@ -1,69 +1,81 @@
|
|
|
1
|
-
import { defineComponent as
|
|
1
|
+
import { defineComponent as q, ref as B, computed as G, onMounted as X, resolveComponent as m, openBlock as u, createElementBlock as C, Fragment as v, createVNode as s, unref as o, createElementVNode as n, withCtx as b, renderList as Y, createBlock as k, resolveDynamicComponent as z, toDisplayString as h, h as w } from "vue";
|
|
2
2
|
import { _ as J } from "./campaign-CpzFl8Vr.js";
|
|
3
|
-
import { useDialog as Q, components as
|
|
4
|
-
import { p as W } from "./plugins-
|
|
5
|
-
import { u as
|
|
6
|
-
import { u as
|
|
7
|
-
import { u as
|
|
8
|
-
import { b as
|
|
9
|
-
import { c as
|
|
10
|
-
import { u as
|
|
11
|
-
import { _ as
|
|
12
|
-
import { _ as
|
|
13
|
-
import { u as
|
|
14
|
-
|
|
3
|
+
import { useDialog as Q, components as F } from "@feedmepos/ui-library";
|
|
4
|
+
import { p as W } from "./plugins-DiV6DB6H.js";
|
|
5
|
+
import { u as Z } from "./loading-LvohTBxf.js";
|
|
6
|
+
import { u as ee } from "./business-eD0ch267.js";
|
|
7
|
+
import { u as te } from "./campaign-BFg0mmEh.js";
|
|
8
|
+
import { b as V, c as T, a as oe } from "./campaign-Ba602jpT.js";
|
|
9
|
+
import { c as ae, p as ne } from "./duplicateCampaign-VP_ls1ud.js";
|
|
10
|
+
import { u as re } from "./vue-i18n-xbxyJhj4.js";
|
|
11
|
+
import { _ as ie } from "./FilterChip.vue_vue_type_script_setup_true_lang-DaU-9GzO.js";
|
|
12
|
+
import { _ as se } from "./EditCampaignSheet.vue_vue_type_script_setup_true_lang-D0_4f-Lw.js";
|
|
13
|
+
import { u as ce } from "./template-ASiRYpll.js";
|
|
14
|
+
import "./index-D5CuHi7m.js";
|
|
15
|
+
import { useRouter as le } from "vue-router";
|
|
16
|
+
import { c as f } from "./index-DtvL6ok7.js";
|
|
17
|
+
import { R as me } from "./app-bITyvnZM.js";
|
|
18
|
+
const pe = { class: "px-24 flex flex-col gap-y-16" }, de = { class: "flex items-center justify-between w-full" }, ue = { class: "flex gap-8 overflow-x-auto" }, fe = { class: "space-y-8" }, ge = { class: "flex w-full gap-4 items-center" }, ye = { class: "space-y-4" }, _e = { class: "fm-typo-en-body-lg-600" }, he = { class: "fm-typo-en-body-md-400 text-fm-color-typo-secondary" }, we = { class: "flex items-center gap-8" }, xe = { class: "flex flex-col gap-16 text-center" }, Ce = { class: "fm-typo-en-title-sm-800" }, ve = { class: "fm-typo-en-body-md-400 text-fm-color-typo-secondary" }, Me = /* @__PURE__ */ q({
|
|
15
19
|
__name: "Experience",
|
|
16
|
-
setup(
|
|
17
|
-
const { t: r } =
|
|
20
|
+
setup(be) {
|
|
21
|
+
const { t: r } = re(), A = le(), N = {
|
|
18
22
|
label: r("connect.program.common.actions.create", {
|
|
19
23
|
type: r("connect.program.experience.title").toLowerCase()
|
|
20
24
|
}),
|
|
21
25
|
value: "create",
|
|
22
26
|
isPrimary: !0,
|
|
23
27
|
prependIcon: "add"
|
|
24
|
-
},
|
|
28
|
+
}, R = ce("POINT", Q()), E = ee(), p = te(), { global: O, minor: P } = Z, c = B({
|
|
25
29
|
searchKey: "",
|
|
26
30
|
location: []
|
|
27
31
|
});
|
|
28
|
-
function
|
|
32
|
+
function $(e) {
|
|
29
33
|
const t = c.value.location;
|
|
30
34
|
return !t || t.length === 0 || !e.targetLocation ? !0 : Array.isArray(t) ? t.some((l) => {
|
|
31
35
|
var i;
|
|
32
36
|
return (i = e == null ? void 0 : e.targetLocation) == null ? void 0 : i.includes(l);
|
|
33
37
|
}) : e.targetLocation.includes(t);
|
|
34
38
|
}
|
|
35
|
-
const
|
|
36
|
-
() => p.campaigns.experience.filter((e) =>
|
|
37
|
-
),
|
|
39
|
+
const g = G(
|
|
40
|
+
() => p.campaigns.experience.filter((e) => $(e))
|
|
41
|
+
), D = [
|
|
38
42
|
{
|
|
39
43
|
header: "Program title",
|
|
40
44
|
accessorFn: (e) => e.name
|
|
41
45
|
},
|
|
42
46
|
{
|
|
43
47
|
header: "Status",
|
|
44
|
-
accessorFn: (e) =>
|
|
48
|
+
accessorFn: (e) => oe(e),
|
|
45
49
|
cell(e) {
|
|
46
|
-
return
|
|
50
|
+
return V(e.row.original);
|
|
47
51
|
}
|
|
48
52
|
},
|
|
49
53
|
{
|
|
50
54
|
header: "Summary",
|
|
51
|
-
accessorFn: (e) =>
|
|
55
|
+
accessorFn: (e) => T(e)
|
|
52
56
|
//v.effect,
|
|
53
57
|
},
|
|
54
58
|
{
|
|
55
59
|
header: "Actions",
|
|
56
60
|
cell(e) {
|
|
57
|
-
return
|
|
58
|
-
|
|
61
|
+
return w("div", { class: "flex items-center gap-8 justify-end" }, [
|
|
62
|
+
w(F.FmButton, {
|
|
59
63
|
variant: "tertiary",
|
|
60
|
-
icon: "
|
|
64
|
+
icon: "insights",
|
|
61
65
|
iconColor: "neutral-gray-400",
|
|
62
66
|
onClick: async (t) => {
|
|
63
67
|
t.stopPropagation(), await L(e.row.original);
|
|
64
68
|
}
|
|
65
69
|
}),
|
|
66
|
-
|
|
70
|
+
w(F.FmButton, {
|
|
71
|
+
variant: "tertiary",
|
|
72
|
+
icon: "content_copy",
|
|
73
|
+
iconColor: "neutral-gray-400",
|
|
74
|
+
onClick: async (t) => {
|
|
75
|
+
t.stopPropagation(), await I(e.row.original);
|
|
76
|
+
}
|
|
77
|
+
}),
|
|
78
|
+
w(F.FmButton, {
|
|
67
79
|
variant: "tertiary",
|
|
68
80
|
icon: "delete",
|
|
69
81
|
iconColor: "neutral-gray-400",
|
|
@@ -74,11 +86,11 @@ const se = { class: "px-24 flex flex-col gap-y-16" }, ce = { class: "flex items-
|
|
|
74
86
|
]);
|
|
75
87
|
}
|
|
76
88
|
}
|
|
77
|
-
],
|
|
89
|
+
], x = B();
|
|
78
90
|
async function S(e) {
|
|
79
|
-
await W.remove(`Are you sure you want to remove ${e.name}?`) && await
|
|
91
|
+
await W.remove(`Are you sure you want to remove ${e.name}?`) && await P(
|
|
80
92
|
async () => {
|
|
81
|
-
await
|
|
93
|
+
await f.delete(e._id), await p.read("POINT");
|
|
82
94
|
},
|
|
83
95
|
{
|
|
84
96
|
message: `Removing ${e.name}`,
|
|
@@ -86,38 +98,44 @@ const se = { class: "px-24 flex flex-col gap-y-16" }, ce = { class: "flex items-
|
|
|
86
98
|
}
|
|
87
99
|
);
|
|
88
100
|
}
|
|
89
|
-
async function
|
|
90
|
-
e ? await t() :
|
|
101
|
+
async function y(e) {
|
|
102
|
+
e ? await t() : R.open(async (l) => {
|
|
91
103
|
await t(l);
|
|
92
104
|
});
|
|
93
105
|
async function t(l) {
|
|
94
106
|
var i;
|
|
95
|
-
(i =
|
|
107
|
+
(i = x.value) == null || i.showSheet(
|
|
96
108
|
!0,
|
|
97
109
|
"POINT",
|
|
98
|
-
e ? await
|
|
110
|
+
e ? await f.readById(e._id) : void 0,
|
|
99
111
|
l
|
|
100
112
|
);
|
|
101
113
|
}
|
|
102
114
|
}
|
|
103
115
|
async function L(e) {
|
|
116
|
+
await A.push({
|
|
117
|
+
name: me["$connect-PROGRAM_EXPERIENCE_ANALYTIC"],
|
|
118
|
+
params: { id: e._id }
|
|
119
|
+
});
|
|
120
|
+
}
|
|
121
|
+
async function I(e) {
|
|
104
122
|
var i;
|
|
105
|
-
if (!await
|
|
123
|
+
if (!await ae(e.name))
|
|
106
124
|
return;
|
|
107
|
-
const t = await
|
|
125
|
+
const t = await f.readById(e._id), l = ne(t, {
|
|
108
126
|
keepCollectible: !0
|
|
109
127
|
});
|
|
110
|
-
(i =
|
|
128
|
+
(i = x.value) == null || i.showSheet(
|
|
111
129
|
!0,
|
|
112
130
|
"POINT",
|
|
113
131
|
l,
|
|
114
132
|
t.template
|
|
115
133
|
);
|
|
116
134
|
}
|
|
117
|
-
async function
|
|
118
|
-
await
|
|
135
|
+
async function K(e) {
|
|
136
|
+
await P(
|
|
119
137
|
async () => {
|
|
120
|
-
e.campaign._id ? await
|
|
138
|
+
e.campaign._id ? await f.update(e.campaign._id, e) : await f.create(e), await p.read("POINT");
|
|
121
139
|
},
|
|
122
140
|
{
|
|
123
141
|
message: r("connect.program.common.update.updating", {
|
|
@@ -130,19 +148,19 @@ const se = { class: "px-24 flex flex-col gap-y-16" }, ce = { class: "flex items-
|
|
|
130
148
|
}
|
|
131
149
|
);
|
|
132
150
|
}
|
|
133
|
-
return
|
|
134
|
-
await
|
|
151
|
+
return X(async () => {
|
|
152
|
+
await O(async () => {
|
|
135
153
|
await p.read("POINT");
|
|
136
154
|
});
|
|
137
155
|
}), (e, t) => {
|
|
138
|
-
const l = m("FmPageHead"), i = m("FmSearch"),
|
|
139
|
-
return
|
|
156
|
+
const l = m("FmPageHead"), i = m("FmSearch"), M = m("FmTable"), _ = m("FmButton"), U = m("FmListItem"), j = m("FmList"), H = m("FmCard");
|
|
157
|
+
return u(), C(v, null, [
|
|
140
158
|
s(l, {
|
|
141
159
|
title: o(r)("connect.program.experience.title"),
|
|
142
|
-
actions: o(
|
|
143
|
-
"onClick:action": t[0] || (t[0] = () =>
|
|
160
|
+
actions: o(g).length > 0 ? [N] : [],
|
|
161
|
+
"onClick:action": t[0] || (t[0] = () => y())
|
|
144
162
|
}, null, 8, ["title", "actions"]),
|
|
145
|
-
n("div",
|
|
163
|
+
n("div", pe, [
|
|
146
164
|
s(i, {
|
|
147
165
|
modelValue: o(c).searchKey,
|
|
148
166
|
"onUpdate:modelValue": t[1] || (t[1] = (a) => o(c).searchKey = a),
|
|
@@ -150,17 +168,17 @@ const se = { class: "px-24 flex flex-col gap-y-16" }, ce = { class: "flex items-
|
|
|
150
168
|
placeholder: o(r)("connect.program.common.search"),
|
|
151
169
|
collapsible: ""
|
|
152
170
|
}, null, 8, ["modelValue", "placeholder"]),
|
|
153
|
-
o(p).campaigns.experience && o(p).campaigns.experience.length > 0 ? (
|
|
154
|
-
n("div",
|
|
155
|
-
n("div",
|
|
156
|
-
s(
|
|
171
|
+
o(p).campaigns.experience && o(p).campaigns.experience.length > 0 ? (u(), C(v, { key: 0 }, [
|
|
172
|
+
n("div", de, [
|
|
173
|
+
n("div", ue, [
|
|
174
|
+
s(ie, {
|
|
157
175
|
label: `${o(r)("connect.common.location")}: `,
|
|
158
176
|
"right-icon": "keyboard_arrow_down",
|
|
159
177
|
modelValue: o(c).location,
|
|
160
178
|
"onUpdate:modelValue": t[2] || (t[2] = (a) => o(c).location = a),
|
|
161
179
|
icon: "storefront",
|
|
162
180
|
"show-item-label": !0,
|
|
163
|
-
items: o(
|
|
181
|
+
items: o(E).locationOptions
|
|
164
182
|
}, null, 8, ["label", "modelValue", "items"])
|
|
165
183
|
]),
|
|
166
184
|
s(i, {
|
|
@@ -171,48 +189,56 @@ const se = { class: "px-24 flex flex-col gap-y-16" }, ce = { class: "flex items-
|
|
|
171
189
|
collapsible: ""
|
|
172
190
|
}, null, 8, ["modelValue"])
|
|
173
191
|
]),
|
|
174
|
-
s(
|
|
192
|
+
s(M, {
|
|
175
193
|
class: "xs:hidden sm:hidden",
|
|
176
|
-
"row-data": o(
|
|
177
|
-
"column-defs":
|
|
194
|
+
"row-data": o(g),
|
|
195
|
+
"column-defs": D,
|
|
178
196
|
"search-value": o(c).searchKey,
|
|
179
197
|
"column-filter": [],
|
|
180
|
-
onRowClick: t[4] || (t[4] = (a) =>
|
|
181
|
-
"hide-footer": o(
|
|
198
|
+
onRowClick: t[4] || (t[4] = (a) => y(a.original)),
|
|
199
|
+
"hide-footer": o(g).length < 10
|
|
182
200
|
}, null, 8, ["row-data", "search-value", "hide-footer"]),
|
|
183
|
-
s(
|
|
184
|
-
default:
|
|
185
|
-
(
|
|
201
|
+
s(j, { class: "hidden xs:!flex sm:!flex flex-col mx-[-24px]" }, {
|
|
202
|
+
default: b(() => [
|
|
203
|
+
(u(!0), C(v, null, Y(o(g).filter(
|
|
186
204
|
(a) => a.name.toLowerCase().includes(o(c).searchKey.toLowerCase())
|
|
187
|
-
), (a) => (
|
|
205
|
+
), (a) => (u(), k(U, {
|
|
188
206
|
key: a._id.toString(),
|
|
189
|
-
onClick: (
|
|
207
|
+
onClick: (d) => y(a),
|
|
190
208
|
class: "py-12 px-16 flex items-center justify-between border-b border-fm-color-neutral-gray-100"
|
|
191
209
|
}, {
|
|
192
|
-
default:
|
|
193
|
-
n("div",
|
|
194
|
-
n("div",
|
|
195
|
-
(
|
|
210
|
+
default: b(() => [
|
|
211
|
+
n("div", fe, [
|
|
212
|
+
n("div", ge, [
|
|
213
|
+
(u(), k(z(o(V)(a))))
|
|
196
214
|
]),
|
|
197
|
-
n("div",
|
|
198
|
-
n("div",
|
|
199
|
-
n("div",
|
|
215
|
+
n("div", ye, [
|
|
216
|
+
n("div", _e, h(a.name), 1),
|
|
217
|
+
n("div", he, h(o(T)(a)), 1)
|
|
200
218
|
])
|
|
201
219
|
]),
|
|
202
|
-
n("div",
|
|
203
|
-
s(
|
|
220
|
+
n("div", we, [
|
|
221
|
+
s(_, {
|
|
222
|
+
icon: "insights",
|
|
223
|
+
"icon-color": "neutral-gray-400",
|
|
224
|
+
variant: "tertiary",
|
|
225
|
+
onClick: async (d) => {
|
|
226
|
+
d.stopPropagation(), await L(a);
|
|
227
|
+
}
|
|
228
|
+
}, null, 8, ["onClick"]),
|
|
229
|
+
s(_, {
|
|
204
230
|
icon: "content_copy",
|
|
205
231
|
"icon-color": "neutral-gray-400",
|
|
206
232
|
variant: "tertiary",
|
|
207
|
-
onClick: async (
|
|
208
|
-
|
|
233
|
+
onClick: async (d) => {
|
|
234
|
+
d.stopPropagation(), await I(a);
|
|
209
235
|
}
|
|
210
236
|
}, null, 8, ["onClick"]),
|
|
211
|
-
s(
|
|
237
|
+
s(_, {
|
|
212
238
|
icon: "delete",
|
|
213
239
|
"icon-color": "neutral-gray-400",
|
|
214
240
|
variant: "tertiary",
|
|
215
|
-
onClick: (
|
|
241
|
+
onClick: (d) => (d.stopPropagation(), S(a))
|
|
216
242
|
}, null, 8, ["onClick"])
|
|
217
243
|
])
|
|
218
244
|
]),
|
|
@@ -221,33 +247,33 @@ const se = { class: "px-24 flex flex-col gap-y-16" }, ce = { class: "flex items-
|
|
|
221
247
|
]),
|
|
222
248
|
_: 1
|
|
223
249
|
})
|
|
224
|
-
], 64)) : (
|
|
250
|
+
], 64)) : (u(), k(H, {
|
|
225
251
|
key: 1,
|
|
226
252
|
variant: "outlined",
|
|
227
253
|
class: "w-full flex flex-col items-center justify-center gap-y-24 p-24"
|
|
228
254
|
}, {
|
|
229
|
-
default:
|
|
255
|
+
default: b(() => [
|
|
230
256
|
t[6] || (t[6] = n("img", {
|
|
231
257
|
src: J,
|
|
232
258
|
class: "aspect-square w-[150px]"
|
|
233
259
|
}, null, -1)),
|
|
234
|
-
n("div",
|
|
235
|
-
n("div",
|
|
236
|
-
n("div",
|
|
260
|
+
n("div", xe, [
|
|
261
|
+
n("div", Ce, h(o(r)("connect.program.experience.empty_state.title")), 1),
|
|
262
|
+
n("div", ve, h(o(r)("connect.program.experience.empty_state.description")), 1)
|
|
237
263
|
]),
|
|
238
|
-
s(
|
|
264
|
+
s(_, {
|
|
239
265
|
variant: "primary",
|
|
240
266
|
label: "Create experience program",
|
|
241
267
|
icon: "add",
|
|
242
|
-
onClick: t[5] || (t[5] = (a) =>
|
|
268
|
+
onClick: t[5] || (t[5] = (a) => y())
|
|
243
269
|
})
|
|
244
270
|
]),
|
|
245
271
|
_: 1
|
|
246
272
|
})),
|
|
247
|
-
s(
|
|
273
|
+
s(se, {
|
|
248
274
|
ref_key: "sheetRef",
|
|
249
|
-
ref:
|
|
250
|
-
"onSubmit:modelValue":
|
|
275
|
+
ref: x,
|
|
276
|
+
"onSubmit:modelValue": K
|
|
251
277
|
}, null, 512)
|
|
252
278
|
])
|
|
253
279
|
], 64);
|
|
@@ -255,5 +281,5 @@ const se = { class: "px-24 flex flex-col gap-y-16" }, ce = { class: "flex items-
|
|
|
255
281
|
}
|
|
256
282
|
});
|
|
257
283
|
export {
|
|
258
|
-
|
|
284
|
+
Me as default
|
|
259
285
|
};
|