@feedmepos/mf-connect 0.1.38-beta.7 → 0.1.38-beta.71
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/{Analytic-NNi-22sK.js → Analytic-BY0xqCru.js} +16 -16
- package/dist/{App-Bu14Mro_.js → App-n6-XqhU7.js} +625 -619
- package/dist/AuditLogs-Dml3WjdH.js +1991 -0
- package/dist/{Bin-CnAQA85j.js → Bin-DaPZyWm-.js} +10 -10
- package/dist/Broadcast-hLmkBNne.js +267 -0
- package/dist/{CampaignTypeDialog.vue_vue_type_script_setup_true_lang-DC_fReu7.js → CampaignTypeDialog.vue_vue_type_script_setup_true_lang-BahnNhzD.js} +6 -6
- package/dist/{Card-DqAGiETA.js → Card-C_Fm3E0s.js} +144 -140
- package/dist/Collections-DAUsUa0c.js +540 -0
- package/dist/Credit-DklbckuQ.js +261 -0
- package/dist/CustomSelect.vue_vue_type_script_setup_true_lang-Du7fRSZC.js +128 -0
- package/dist/{DateRangeChip.vue_vue_type_script_setup_true_lang-BUzUIIUW.js → DateRangeChip.vue_vue_type_script_setup_true_lang-eIoPtgO5.js} +1 -1
- package/dist/EditCampaignSheet.vue_vue_type_script_setup_true_lang-vpnaCdLI.js +3167 -0
- package/dist/EffectSheet.vue_vue_type_style_index_0_lang-e1ZWGrXS.js +351 -0
- package/dist/Experience-D3Ve8dCI.js +260 -0
- package/dist/{FileSaver.min-NlMItPOc.js → FileSaver.min-Bg15HHd0.js} +1 -1
- package/dist/FilterChip.vue_vue_type_script_setup_true_lang-DaU-9GzO.js +129 -0
- package/dist/Game-BJzRdZNg.js +331 -0
- package/dist/GenerateMaterial-pDWgptXt.js +589 -0
- package/dist/Grab-B0D8SpcD.js +301 -0
- package/dist/{ImageInput.vue_vue_type_script_setup_true_lang-rWUkV9gn.js → ImageInput.vue_vue_type_script_setup_true_lang-DkI3qMHv.js} +49 -48
- package/dist/{Index-loHkiwyo.js → Index-ysSM8-pd.js} +54 -54
- package/dist/{LottieAnimation.vue_vue_type_script_setup_true_lang-CyGJxUol.js → LottieAnimation.vue_vue_type_script_setup_true_lang-C7bEzQ4b.js} +1 -1
- package/dist/{MainLayout-B1aJoR95.js → MainLayout-Kt1Wiz87.js} +1 -1
- package/dist/Marketing-CFS6ff03.js +145 -0
- package/dist/MarketingMaterialEdit-BDYr5Rlw.js +746 -0
- package/dist/{Member-BQjQQdoA.js → Member-Dgb3QBKF.js} +38 -37
- package/dist/{MemberList-WPsEUKf_.js → MemberList-CfcQUvN8.js} +158 -159
- package/dist/{MemberTransactions-BtM7dugy.js → MemberTransactions-BVwGdpXo.js} +1 -1
- package/dist/{MessageInput.vue_vue_type_script_setup_true_lang-Bl9sFIwG.js → MessageInput.vue_vue_type_script_setup_true_lang-Dj3h51yH.js} +13463 -10597
- package/dist/Mission-B9K8-Wrt.js +335 -0
- package/dist/{Overview-Bsf5IPOg.js → Overview-DJgKxAvU.js} +24 -25
- package/dist/Point-lev1_Nit.js +263 -0
- package/dist/Promotion-De9e8yPj.js +397 -0
- package/dist/{Queue-XFVbSuDw.js → Queue-DH_F0Ekd.js} +14 -15
- package/dist/{Record-CQzujESE.js → Record-CH2AZqzF.js} +10 -10
- package/dist/{Reward-Dj_h_May.js → Reward-BUgOAjd4.js} +16 -16
- package/dist/{RewardGroup.vue_vue_type_script_setup_true_lang-Clxk-oYM.js → RewardGroup.vue_vue_type_script_setup_true_lang-KTaTLjjw.js} +13 -14
- package/dist/RuleGroup.vue_vue_type_script_setup_true_lang-rs5kKp_v.js +1912 -0
- package/dist/{Segment-D_DUu_Sp.js → Segment-DL6O--Aw.js} +273 -274
- package/dist/{SelectItems.vue_vue_type_script_setup_true_lang-D3C2mVlv.js → SelectItems.vue_vue_type_script_setup_true_lang-ZUGDMD5J.js} +23 -23
- package/dist/{SendCollectionSheet.vue_vue_type_script_setup_true_lang-C0vsl8oV.js → SendCollectionSheet.vue_vue_type_script_setup_true_lang-CIeyrheH.js} +12 -12
- package/dist/{SendVoucherSheet.vue_vue_type_script_setup_true_lang-5HkJROSb.js → SendVoucherSheet.vue_vue_type_script_setup_true_lang-BAtXxIjO.js} +4 -4
- package/dist/Setting-DOA80XlJ.js +1999 -0
- package/dist/SettingAdvertisements-Dl0eisXq.js +263 -0
- package/dist/Store-fni1Xblz.js +1995 -0
- package/dist/StoreRewards-CLMO-kNi.js +534 -0
- package/dist/StoreTransactions.vue_vue_type_script_setup_true_lang-BlBovyiT.js +1034 -0
- package/dist/TargetLocationInput.vue_vue_type_script_setup_true_lang-D-jYcuAa.js +7005 -0
- package/dist/{Tier-YQsLRt06.js → Tier-B0_DiVNv.js} +561 -480
- package/dist/{Title-C5gxYNvh.js → Title-twptCzpk.js} +149 -147
- package/dist/{Transaction-CZ_QdIii.js → Transaction-CTX5I6gO.js} +2 -2
- package/dist/{UserRuleGroup.vue_vue_type_script_setup_true_lang-DqUu7wSt.js → UserRuleGroup.vue_vue_type_script_setup_true_lang-Bp-rIgz4.js} +7 -7
- package/dist/Voucher-C7Kxmzjr.js +422 -0
- package/dist/VoucherEditor.vue_vue_type_script_setup_true_lang-lZQTZUUU.js +421 -0
- package/dist/{ZodTextField.vue_vue_type_script_setup_true_lang-DCtdp-LK.js → ZodTextField.vue_vue_type_script_setup_true_lang-BlBEFfgu.js} +2 -2
- package/dist/app-D5GVWKxc.js +59071 -0
- package/dist/app.js +1 -1
- package/dist/{business-DZYFoAKz.js → business-BvNsRlY4.js} +11 -8
- package/dist/{campaign-Ca4l6UUg.js → campaign-DRErhSfb.js} +29 -25
- package/dist/campaign-MN_o01w6.js +253 -0
- package/dist/campaign.enum-BtfwwLCf.js +26 -0
- package/dist/campaign.fn-BgSGxLPo.js +776 -0
- package/dist/{collectible.enum-DnIeDAB-.js → collectible.enum-CV2tpD2C.js} +1 -1
- package/dist/{collection.fn-mQfXEwJv.js → collection.fn-BYjqObg7.js} +2 -2
- package/dist/dto-CyhnIGn-.js +222 -0
- package/dist/duplicateCampaign-jOZ1UznM.js +51 -0
- package/dist/effect-NKfquhhR.js +89 -0
- package/dist/{email-addresses-CQYqi2rN.js → email-addresses-EmFJeFmB.js} +2 -2
- package/dist/{export-BsikVZw2.js → export-B70Bp6s8.js} +9 -10
- package/dist/{helper-n74IteBU.js → helper-DiSstsUa.js} +22 -7
- package/dist/index-5FmmWAib.js +30289 -0
- package/dist/index-B09KKPb4.js +3419 -0
- package/dist/{index-CrHCbDIs.js → index-BgP5ZHK6.js} +3 -3
- package/dist/{index-DRrSsoqp.js → index-C46EHygk.js} +1 -1
- package/dist/{index-Bg3fAg5z.js → index-CD7Ji4Nw.js} +1 -1
- package/dist/{index-BJ-IAF-1.js → index-CHXlBh7-.js} +1 -1
- package/dist/{index-BpjT8Rx0.js → index-Cr2243n7.js} +455 -245
- package/dist/index-CrDg9PFk.js +8912 -0
- package/dist/index-CuvNtC_M.js +61 -0
- package/dist/{index-Dt6wui_L.js → index-DK45XoFG.js} +3 -3
- package/dist/{index-DTErPYrT.js → index-Qg_bzaF2.js} +1 -1
- package/dist/{index-Do7TcKmg.js → index-bAmlAkpk.js} +4 -1
- package/dist/index-nTpkh7pU.js +28897 -0
- package/dist/index-tvZKdKVU.js +36 -0
- package/dist/{index.esm2017-T7F54Aqa.js → index.esm2017-B8fYlj6l.js} +185 -185
- package/dist/loading-DVr3dbZ1.js +215 -0
- package/dist/{lodash-B5I3zXaY.js → lodash-BNr1VEn2.js} +1 -1
- package/dist/{membership-BRy4jMt2.js → membership-LEuPDIbe.js} +3 -3
- package/dist/{moment-BWErdI6_.js → moment-D7p2TMB-.js} +6 -1
- package/dist/{money-B9Auav5u.js → money-CogUwiv6.js} +1 -1
- package/dist/{number-BdhIBsUp.js → number-C5wGUTN5.js} +1 -1
- package/dist/objectid-DbUENFHd.js +145 -0
- package/dist/{campaign-162kZMje.js → plugins-BxKrsjEx.js} +784 -777
- package/dist/remy-D_Deb3ue.js +13 -0
- package/dist/{reward-UuqZUHsq.js → reward-CM4Wx2zA.js} +1 -1
- package/dist/{rule-D158NIpm.js → rule-CMMr2GMg.js} +505 -487
- package/dist/rule-builder-D5QsmOxi.js +102 -0
- package/dist/style.css +11 -2
- package/dist/template-BDKqBasy.js +188 -0
- package/dist/timezone-DuaWQsQ2.js +1154 -0
- package/dist/trigger-IcyZcRow.js +213 -0
- package/dist/usePagination-D8OEDsCt.js +223 -0
- package/dist/user-u3blYzG2.js +55 -0
- package/dist/vue-i18n-DfD8ZY6j.js +2365 -0
- package/dist/{xlsx-Ddqi5i8p.js → xlsx-Bgf4_JHr.js} +1 -1
- package/dist/{zod-Bg2FbC-D.js → zod-9J33xiFS.js} +32 -31
- package/package.json +14 -6
- package/dist/AuditLogs-Cai9CVBl.js +0 -1887
- package/dist/Broadcast-DskXjXn4.js +0 -227
- package/dist/Collections-DuaIQAk7.js +0 -465
- package/dist/Credit-D40Vzu2g.js +0 -222
- package/dist/CustomSelect.vue_vue_type_script_setup_true_lang-DLnvDVgf.js +0 -108
- package/dist/EditCampaignSheet.vue_vue_type_script_setup_true_lang-BsQ4iAsV.js +0 -2185
- package/dist/EffectSheet.vue_vue_type_style_index_0_lang-CDCX5B5k.js +0 -347
- package/dist/Experience-B9yHQPuj.js +0 -223
- package/dist/FilterChip.vue_vue_type_script_setup_true_lang-d8rh38tD.js +0 -114
- package/dist/Game-e9-Q3qmO.js +0 -278
- package/dist/Marketing-CipbukIV.js +0 -20073
- package/dist/Mission-B_DJ3Yu_.js +0 -296
- package/dist/Point-DMphcWjy.js +0 -226
- package/dist/Promotion-B33A-Jwe.js +0 -289
- package/dist/RuleGroup.vue_vue_type_script_setup_true_lang-CGAXTOLN.js +0 -1751
- package/dist/Setting-CtdC4G3W.js +0 -1936
- package/dist/Store-DCksWACh.js +0 -1842
- package/dist/StoreRewards-CHWKYKet.js +0 -423
- package/dist/StoreTransactions.vue_vue_type_script_setup_true_lang-D1TDyD6N.js +0 -1029
- package/dist/TargetLocationInput.vue_vue_type_script_setup_true_lang-D59sGO3F.js +0 -139
- package/dist/Voucher-BzV8yZ3o.js +0 -384
- package/dist/VoucherEditor.vue_vue_type_script_setup_true_lang-DjBj_3EF.js +0 -419
- package/dist/_commonjsHelpers-BkfeUUK-.js +0 -28
- package/dist/app-FFOpPHwj.js +0 -33357
- package/dist/app-az9e8Yfl.js +0 -7086
- package/dist/campaign.enum-DWjyDV2D.js +0 -20
- package/dist/campaign.fn-DWWJ74z-.js +0 -758
- package/dist/dto-mKZIPV4o.js +0 -214
- package/dist/effect-B8UexeyG.js +0 -78
- package/dist/index-5ShiAY8U.js +0 -8861
- package/dist/index-Bf6AmJwX.js +0 -32260
- package/dist/index-C5gjIb5d.js +0 -146
- package/dist/index-C9YrDtDN.js +0 -38
- package/dist/index-CK-MAqWE.js +0 -3120
- package/dist/index-CsaQJMAR.js +0 -66
- package/dist/index-f4MzX8IY.js +0 -30038
- package/dist/loading-BEAayQS-.js +0 -71
- package/dist/objectid-K-JVTsfA.js +0 -145
- package/dist/plugins-CWlRYif_.js +0 -208
- package/dist/remy-vue-client-Cpppk9h-.js +0 -1693
- package/dist/rule-builder-DNeViq0I.js +0 -89
- package/dist/template-B02wYF7G.js +0 -190
- package/dist/trigger-BDjnKHLI.js +0 -144
- package/dist/usePagination-BeF5K3M7.js +0 -223
- package/dist/user-DbP37Ohh.js +0 -54
- package/dist/vue-i18n-BbhkYWlk.js +0 -2365
|
@@ -1,18 +1,18 @@
|
|
|
1
|
-
import { defineComponent as L, ref as F, watch as P, resolveComponent as m, openBlock as x, createElementBlock as
|
|
2
|
-
import "./index-
|
|
1
|
+
import { defineComponent as L, ref as F, watch as P, resolveComponent as m, openBlock as x, createElementBlock as C, Fragment as R, createElementVNode as b, createVNode as u, unref as n, withCtx as M, renderList as $, createBlock as D, toDisplayString as O, normalizeClass as U, computed as Y, createCommentVNode as q } from "vue";
|
|
2
|
+
import "./index-C46EHygk.js";
|
|
3
3
|
import { useDialogChild as H, FmButtonVariant as S, useDialog as J, useSnackbar as Q } from "@feedmepos/ui-library";
|
|
4
|
-
import { u as N } from "./vue-i18n-
|
|
5
|
-
import "./index-
|
|
6
|
-
import { c as A } from "./index-
|
|
7
|
-
import "./index-
|
|
8
|
-
import "./index-
|
|
9
|
-
import "./index-
|
|
10
|
-
import { u as g, w as j } from "./xlsx-
|
|
11
|
-
import { F as z } from "./FileSaver.min-
|
|
4
|
+
import { u as N } from "./vue-i18n-DfD8ZY6j.js";
|
|
5
|
+
import "./index-Cr2243n7.js";
|
|
6
|
+
import { c as A } from "./index-B09KKPb4.js";
|
|
7
|
+
import "./index-CrDg9PFk.js";
|
|
8
|
+
import "./index-5FmmWAib.js";
|
|
9
|
+
import "./index-DK45XoFG.js";
|
|
10
|
+
import { u as g, w as j } from "./xlsx-Bgf4_JHr.js";
|
|
11
|
+
import { F as z } from "./FileSaver.min-Bg15HHd0.js";
|
|
12
12
|
import { useCoreStore as G } from "@feedmepos/mf-common";
|
|
13
13
|
import { useRouter as W } from "vue-router";
|
|
14
|
-
import { m as I } from "./index-
|
|
15
|
-
import { R as E } from "./app-
|
|
14
|
+
import { m as I } from "./index-Qg_bzaF2.js";
|
|
15
|
+
import { R as E } from "./app-D5GVWKxc.js";
|
|
16
16
|
const K = { class: "space-y-8 mb-10" }, X = { class: "flex justify-end" }, Z = {
|
|
17
17
|
key: 1,
|
|
18
18
|
class: /* @__PURE__ */ U([
|
|
@@ -23,7 +23,7 @@ const K = { class: "space-y-8 mb-10" }, X = { class: "flex justify-end" }, Z = {
|
|
|
23
23
|
}, ee = { class: "fm-typo-en-body-lg-400 flex-1 truncate" }, te = /* @__PURE__ */ L({
|
|
24
24
|
__name: "ImportMemberDialog",
|
|
25
25
|
setup(V) {
|
|
26
|
-
const { t: a } = N(), { emitData:
|
|
26
|
+
const { t: a } = N(), { emitData: v } = H(), c = F(null), _ = F(null), w = F({
|
|
27
27
|
resetCollectionExpiryBalance: !0
|
|
28
28
|
}), s = [
|
|
29
29
|
"Id",
|
|
@@ -70,28 +70,28 @@ const K = { class: "space-y-8 mb-10" }, X = { class: "flex justify-end" }, Z = {
|
|
|
70
70
|
async function y(i) {
|
|
71
71
|
switch (i) {
|
|
72
72
|
case "csv":
|
|
73
|
-
|
|
73
|
+
T();
|
|
74
74
|
break;
|
|
75
75
|
case "xlsx":
|
|
76
|
-
|
|
76
|
+
h();
|
|
77
77
|
break;
|
|
78
78
|
}
|
|
79
79
|
}
|
|
80
|
-
function
|
|
80
|
+
function T() {
|
|
81
81
|
const i = new Blob([s.join(",")], {
|
|
82
82
|
type: "text/csv;charset=utf-8;"
|
|
83
83
|
});
|
|
84
84
|
z.saveAs(i, "ImportMemberTemplate.csv");
|
|
85
85
|
}
|
|
86
|
-
function
|
|
86
|
+
function h() {
|
|
87
87
|
const i = g.aoa_to_sheet([s]), t = g.book_new();
|
|
88
88
|
g.book_append_sheet(t, i, "Sheet1"), j(t, "ImportMemberTemplate.xlsx");
|
|
89
89
|
}
|
|
90
90
|
return P(c, () => {
|
|
91
|
-
|
|
91
|
+
v({ file: c.value, config: w.value });
|
|
92
92
|
}), (i, t) => {
|
|
93
93
|
const f = m("FmSwitch"), k = m("FmButton"), o = m("FmMenuItem"), l = m("FmMenu"), r = m("FmDropField");
|
|
94
|
-
return x(),
|
|
94
|
+
return x(), C(R, null, [
|
|
95
95
|
b("div", K, [
|
|
96
96
|
t[3] || (t[3] = b("div", { class: "fm-typo-en-body-lg-600" }, "Advanced Setting", -1)),
|
|
97
97
|
u(f, {
|
|
@@ -112,7 +112,7 @@ const K = { class: "space-y-8 mb-10" }, X = { class: "flex justify-end" }, Z = {
|
|
|
112
112
|
})
|
|
113
113
|
]),
|
|
114
114
|
default: M(() => [
|
|
115
|
-
(x(),
|
|
115
|
+
(x(), C(R, null, $(p, (e) => u(o, {
|
|
116
116
|
key: e.value,
|
|
117
117
|
icon: e.icon,
|
|
118
118
|
label: e.label,
|
|
@@ -123,7 +123,7 @@ const K = { class: "space-y-8 mb-10" }, X = { class: "flex justify-end" }, Z = {
|
|
|
123
123
|
_: 1
|
|
124
124
|
})
|
|
125
125
|
]),
|
|
126
|
-
n(c) ? (x(),
|
|
126
|
+
n(c) ? (x(), C("div", Z, [
|
|
127
127
|
u(k, {
|
|
128
128
|
variant: n(S).Tertiary,
|
|
129
129
|
"prepend-icon": "attach_file"
|
|
@@ -131,7 +131,7 @@ const K = { class: "space-y-8 mb-10" }, X = { class: "flex justify-end" }, Z = {
|
|
|
131
131
|
b("p", ee, O(n(c).name), 1),
|
|
132
132
|
b("label", {
|
|
133
133
|
ref_key: "fileLabelRef",
|
|
134
|
-
ref:
|
|
134
|
+
ref: _,
|
|
135
135
|
htmlFor: "file"
|
|
136
136
|
}, [
|
|
137
137
|
u(k, {
|
|
@@ -139,7 +139,7 @@ const K = { class: "space-y-8 mb-10" }, X = { class: "flex justify-end" }, Z = {
|
|
|
139
139
|
label: n(a)("Replace File"),
|
|
140
140
|
onClick: t[2] || (t[2] = () => {
|
|
141
141
|
var e;
|
|
142
|
-
return (e = n(
|
|
142
|
+
return (e = n(_)) == null ? void 0 : e.click();
|
|
143
143
|
})
|
|
144
144
|
}, null, 8, ["variant", "label"]),
|
|
145
145
|
b("input", {
|
|
@@ -164,11 +164,11 @@ const K = { class: "space-y-8 mb-10" }, X = { class: "flex justify-end" }, Z = {
|
|
|
164
164
|
__name: "Member",
|
|
165
165
|
setup(V) {
|
|
166
166
|
var t, f, k;
|
|
167
|
-
const a = W(), { t:
|
|
168
|
-
|
|
167
|
+
const a = W(), { t: v } = N(), c = J(), _ = Q(), w = G();
|
|
168
|
+
v("connect.loyalty.member.import"), v("connect.navigation.queue");
|
|
169
169
|
const s = [
|
|
170
170
|
{
|
|
171
|
-
label:
|
|
171
|
+
label: v("connect.loyalty.member.tabs.member_list"),
|
|
172
172
|
value: E["$connect-LOYALTY_MEMBER_LIST"],
|
|
173
173
|
actions: (k = (f = (t = w.sessionUser) == null ? void 0 : t.value) == null ? void 0 : f.role) != null && k.isAdmin ? [] : []
|
|
174
174
|
}
|
|
@@ -180,7 +180,7 @@ const K = { class: "space-y-8 mb-10" }, X = { class: "flex justify-end" }, Z = {
|
|
|
180
180
|
description: void 0
|
|
181
181
|
} : (d.value = s[1], {
|
|
182
182
|
backButton: !0,
|
|
183
|
-
title:
|
|
183
|
+
title: v("connect.loyalty.member.title"),
|
|
184
184
|
actions: [],
|
|
185
185
|
description: `${(l = y.value) == null ? void 0 : l.name} (${(r = y.value) == null ? void 0 : r._id}) (${(e = y.value) == null ? void 0 : e.phoneNumber})`,
|
|
186
186
|
onBackButton: async () => {
|
|
@@ -190,10 +190,10 @@ const K = { class: "space-y-8 mb-10" }, X = { class: "flex justify-end" }, Z = {
|
|
|
190
190
|
}), d = F(
|
|
191
191
|
s.find((o) => o.value === a.currentRoute.value.name) ?? s[0]
|
|
192
192
|
), y = F();
|
|
193
|
-
async function
|
|
193
|
+
async function T(o) {
|
|
194
194
|
await a.push({ name: o });
|
|
195
195
|
}
|
|
196
|
-
async function
|
|
196
|
+
async function h() {
|
|
197
197
|
c.open({
|
|
198
198
|
title: "Upload File",
|
|
199
199
|
closeButton: !0,
|
|
@@ -202,7 +202,7 @@ const K = { class: "space-y-8 mb-10" }, X = { class: "flex justify-end" }, Z = {
|
|
|
202
202
|
primaryActions: { text: "Import", close: !1 }
|
|
203
203
|
}).onPrimary(async (o) => {
|
|
204
204
|
if (!o) {
|
|
205
|
-
|
|
205
|
+
_.open({
|
|
206
206
|
type: "error",
|
|
207
207
|
title: "Please upload a file"
|
|
208
208
|
});
|
|
@@ -210,13 +210,13 @@ const K = { class: "space-y-8 mb-10" }, X = { class: "flex justify-end" }, Z = {
|
|
|
210
210
|
}
|
|
211
211
|
const { file: l, config: r } = o;
|
|
212
212
|
if (!l)
|
|
213
|
-
|
|
213
|
+
_.open({
|
|
214
214
|
type: "error",
|
|
215
215
|
title: "Please upload a file"
|
|
216
216
|
});
|
|
217
217
|
else {
|
|
218
218
|
const e = new FormData();
|
|
219
|
-
e.append("file", l), e.append("config", JSON.stringify(r)), await I.import(e),
|
|
219
|
+
e.append("file", l), e.append("config", JSON.stringify(r)), await I.import(e), _.open({
|
|
220
220
|
type: "info",
|
|
221
221
|
title: "Import begins soon. Check Queue for updates.",
|
|
222
222
|
action: "View",
|
|
@@ -233,7 +233,7 @@ const K = { class: "space-y-8 mb-10" }, X = { class: "flex justify-end" }, Z = {
|
|
|
233
233
|
function i(o) {
|
|
234
234
|
switch (o) {
|
|
235
235
|
case "import":
|
|
236
|
-
|
|
236
|
+
h();
|
|
237
237
|
break;
|
|
238
238
|
case "queue":
|
|
239
239
|
a.push({
|
|
@@ -248,11 +248,12 @@ const K = { class: "space-y-8 mb-10" }, X = { class: "flex justify-end" }, Z = {
|
|
|
248
248
|
async (o) => {
|
|
249
249
|
d.value = s.find((r) => r.value === o) ?? s[0];
|
|
250
250
|
const l = a.currentRoute.value.params.id;
|
|
251
|
-
l && (y.value = await I.readById(l))
|
|
252
|
-
}
|
|
251
|
+
l && (y.value = await I.readById(l));
|
|
252
|
+
},
|
|
253
|
+
{ immediate: !0 }
|
|
253
254
|
), (o, l) => {
|
|
254
255
|
const r = m("FmPageHead"), e = m("FmTabs"), B = m("RouterView");
|
|
255
|
-
return x(),
|
|
256
|
+
return x(), C(R, null, [
|
|
256
257
|
u(r, {
|
|
257
258
|
actions: n(p).actions,
|
|
258
259
|
title: n(p).title,
|
|
@@ -266,7 +267,7 @@ const K = { class: "space-y-8 mb-10" }, X = { class: "flex justify-end" }, Z = {
|
|
|
266
267
|
key: 0,
|
|
267
268
|
"model-value": n(d).value,
|
|
268
269
|
items: s,
|
|
269
|
-
"onUpdate:modelValue":
|
|
270
|
+
"onUpdate:modelValue": T
|
|
270
271
|
}, null, 8, ["model-value"])) : q("", !0),
|
|
271
272
|
u(B)
|
|
272
273
|
])
|