@feedmepos/mf-connect 0.1.90-prod → 0.1.92-prod
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-BMwxfYv_.js → Analytic-CpBxKgs9.js} +11 -11
- package/dist/{App-D_SZawqp.js → App-B7AQKHNG.js} +7 -7
- package/dist/{Bin-Dd1a25j_.js → Bin-fMP89RQu.js} +8 -8
- package/dist/{Broadcast-UAp6rjTh.js → Broadcast-CzakSN6g.js} +8 -8
- package/dist/{CampaignTypeDialog.vue_vue_type_script_setup_true_lang-CFe8C9fR.js → CampaignTypeDialog.vue_vue_type_script_setup_true_lang-mpvpNP4k.js} +7 -7
- package/dist/{Card-CQuGfckK.js → Card-CBl-FP75.js} +19 -19
- package/dist/{Collections-oWvNX_oo.js → Collections-CSE9blWI.js} +8 -8
- package/dist/{Credit-tGCTd7QC.js → Credit-Ys2hpuhy.js} +8 -8
- package/dist/{EditCampaignSheet.vue_vue_type_script_setup_true_lang-C7h5K6lN.js → EditCampaignSheet.vue_vue_type_script_setup_true_lang-8xKxU19h.js} +33 -33
- package/dist/{EffectSheet.vue_vue_type_style_index_0_lang-BvIk7GMj.js → EffectSheet.vue_vue_type_style_index_0_lang-CCmIV0PO.js} +6 -6
- package/dist/{Experience-D6w2OyuS.js → Experience-ldXxT64B.js} +8 -8
- package/dist/{FileSaver.min-9I0Uce_o.js → FileSaver.min-ChbDZYru.js} +1 -1
- package/dist/{Game-Bj8mS5qz.js → Game-CzNAKcbn.js} +9 -9
- package/dist/{ImageInput.vue_vue_type_script_setup_true_lang-D3B7IMDV.js → ImageInput.vue_vue_type_script_setup_true_lang-BWSlxKAt.js} +1 -1
- package/dist/{Index-Dsexv-ef.js → Index-BTg5_VLv.js} +10 -10
- package/dist/{LottieAnimation.vue_vue_type_script_setup_true_lang-CmB12mvX.js → LottieAnimation.vue_vue_type_script_setup_true_lang-CEX4A8Vu.js} +1 -1
- package/dist/{MainLayout-o1wQv9lH.js → MainLayout-DTnxYJL-.js} +1 -1
- package/dist/{Marketing-Dz0sk_DR.js → Marketing-CaFEmsay.js} +6 -6
- package/dist/{Member-rFVgJTbb.js → Member-BFfuRNc3.js} +12 -12
- package/dist/{MemberList-BpnL4Fbw.js → MemberList-BIOv6v6t.js} +27 -27
- package/dist/{MemberTransactions-ouq288EU.js → MemberTransactions-BeFVDHAh.js} +1 -1
- package/dist/{MessageInput.vue_vue_type_script_setup_true_lang-wSeJMwF7.js → MessageInput.vue_vue_type_script_setup_true_lang-BtiTqHlT.js} +9 -9
- package/dist/{Mission-D1KR53bD.js → Mission-D7-WUd8e.js} +9 -9
- package/dist/{Overview-B5bzlo0A.js → Overview-wPnRJWSF.js} +19 -19
- package/dist/{Point-DTifJVdo.js → Point-B6K7s305.js} +8 -8
- package/dist/{Promotion-DAtAw5kG.js → Promotion-V9HF_-4a.js} +9 -9
- package/dist/{Queue-DBnvPuuW.js → Queue-GxWELL-8.js} +15 -15
- package/dist/{Record-DI-q_FuN.js → Record-D6xoFcc_.js} +9 -9
- package/dist/{Reward-C9CxDqz_.js → Reward-ChrJx3TQ.js} +16 -16
- package/dist/{RewardGroup.vue_vue_type_script_setup_true_lang-BBE5Ymqj.js → RewardGroup.vue_vue_type_script_setup_true_lang-BzxTwBV9.js} +12 -12
- package/dist/{RuleGroup.vue_vue_type_script_setup_true_lang-DNM6f0iG.js → RuleGroup.vue_vue_type_script_setup_true_lang-aDa4GkmZ.js} +15 -15
- package/dist/Segment-rI73g2Pf.js +1016 -0
- package/dist/{SelectItems.vue_vue_type_script_setup_true_lang-Be6Ykmkc.js → SelectItems.vue_vue_type_script_setup_true_lang-DqhqodSA.js} +2 -2
- package/dist/{SendCollectionSheet.vue_vue_type_script_setup_true_lang-MARrd7Nr.js → SendCollectionSheet.vue_vue_type_script_setup_true_lang-DmG2wWp8.js} +13 -13
- package/dist/{SendVoucherSheet.vue_vue_type_script_setup_true_lang-w9sbHf1G.js → SendVoucherSheet.vue_vue_type_script_setup_true_lang-nqcXkNuh.js} +4 -4
- package/dist/{Setting-BUfHh3b6.js → Setting-BTBy21Dh.js} +14 -14
- package/dist/{SettingAdvertisements-D2qWdId7.js → SettingAdvertisements-DpQSHRt5.js} +29 -29
- package/dist/{Store-mNM5AzFJ.js → Store-CDeDk5j3.js} +22 -22
- package/dist/StoreRewards-B_sIvED1.js +537 -0
- package/dist/{StoreTransactions.vue_vue_type_script_setup_true_lang-tk42owGe.js → StoreTransactions.vue_vue_type_script_setup_true_lang-C_jYgOxV.js} +21 -21
- package/dist/{TargetLocationInput.vue_vue_type_script_setup_true_lang-C65gN2Gd.js → TargetLocationInput.vue_vue_type_script_setup_true_lang-CZgImaiL.js} +2 -2
- package/dist/{Tier-swAmEa8-.js → Tier-BqPORpVi.js} +22 -22
- package/dist/{Title-BQQBoFOx.js → Title-DZFyfOvY.js} +21 -21
- package/dist/{Transaction-BCjSkDrw.js → Transaction-BicSfNsV.js} +2 -2
- package/dist/{UserRuleGroup.vue_vue_type_script_setup_true_lang-IDqjTwZt.js → UserRuleGroup.vue_vue_type_script_setup_true_lang-Bj7F_2lN.js} +6 -6
- package/dist/{Voucher-BAGLTdGv.js → Voucher-D5xZbzfU.js} +12 -12
- package/dist/{VoucherEditor.vue_vue_type_script_setup_true_lang-7CKmTEVm.js → VoucherEditor.vue_vue_type_script_setup_true_lang-DQlzbuAg.js} +12 -12
- package/dist/{ZodTextField.vue_vue_type_script_setup_true_lang-B_0BhFd7.js → ZodTextField.vue_vue_type_script_setup_true_lang-DAsm-iDs.js} +2 -2
- package/dist/{app-Dij-Gw3J.js → app-D427_gmU.js} +193 -43
- package/dist/app.js +1 -1
- package/dist/{business-BPttWtAG.js → business-DVT9-z7e.js} +1 -1
- package/dist/{campaign-DVQC46G6.js → campaign-BxeCSYow.js} +8 -8
- package/dist/{campaign-PkE8sv2w.js → campaign-Cd2S6J2Z.js} +1 -1
- package/dist/{campaign.enum-D6sGv-i6.js → campaign.enum-BWx2XJCj.js} +1 -1
- package/dist/{campaign.fn-CKpORxQM.js → campaign.fn-C6_ucHrl.js} +116 -116
- package/dist/{collectible.enum-MjUCS47s.js → collectible.enum-CMr5OBDH.js} +1 -1
- package/dist/{collection.fn-BgLy48_a.js → collection.fn-QKLnoDfT.js} +2 -2
- package/dist/{dto-Cr1_4S0y.js → dto-DGMbacfr.js} +4 -4
- package/dist/{effect-CZOUmaXH.js → effect-BGkSRKmY.js} +1 -1
- package/dist/{email-addresses-DgPF09-i.js → email-addresses-BAv5RfxW.js} +2 -2
- package/dist/{export-BGwLWDbw.js → export-1X3xd2lm.js} +3 -3
- package/dist/{helper-BpGjM57Y.js → helper-CjJd9YN0.js} +1 -1
- package/dist/{index-AGdd55s3.js → index-8FtsTHd_.js} +3 -3
- package/dist/{index-DG88MQyX.js → index-BtOj2rTq.js} +1 -1
- package/dist/{index-dSK3QWJX.js → index-C-5iRXaD.js} +1 -1
- package/dist/{index-qGQhKrNH.js → index-CI3LvsAN.js} +334 -333
- package/dist/{index-BzNxgycz.js → index-CTTeS30R.js} +1 -1
- package/dist/{index-C2b2PGqB.js → index-CeC11VY5.js} +5 -7
- package/dist/{index-Dx04wWQ2.js → index-CqoU5D_S.js} +1341 -1147
- package/dist/{index-D3jQoHcb.js → index-DVEBKqPp.js} +1 -1
- package/dist/{index-CsjJKy32.js → index-DkEmFIqa.js} +1 -1
- package/dist/{index-DjEcMAQl.js → index-DxbpoYQX.js} +1 -1
- package/dist/{index-8Mt35h00.js → index-ueyNfpGe.js} +3 -3
- package/dist/{index-DVtnOY4x.js → index-yF2I6Xtv.js} +6 -6
- package/dist/{index-CZbs1ScI.js → index-yOug8IQK.js} +1 -1
- package/dist/{index.esm2017-BnCWqavv.js → index.esm2017-DBFENth9.js} +1 -1
- package/dist/{loading-kCbpDTvS.js → loading-X5Dle07s.js} +1 -1
- package/dist/{lodash-C4AZ3S-J.js → lodash-CJtUEnSL.js} +1 -1
- package/dist/{membership-D2-ldXWY.js → membership-CKuQtReq.js} +38 -18
- package/dist/{money-BueaFHxA.js → money-C99PNkQ0.js} +1 -1
- package/dist/{number-DQbzn_l_.js → number-C42NY90L.js} +1 -1
- package/dist/objectid-B5SRENL3.js +145 -0
- package/dist/{plugins-D5Na7PGX.js → plugins-0yAaVVcL.js} +3 -3
- package/dist/{reward-DJqNxI9u.js → reward-eIVX1EnX.js} +1 -1
- package/dist/{rule-CHRKj3Qt.js → rule-BsTx8uRy.js} +3 -3
- package/dist/{rule-builder-CEZ2VxtL.js → rule-builder-DxJBecU0.js} +1 -1
- package/dist/{template-BFhV6iql.js → template-vPfeVxs-.js} +7 -7
- package/dist/{timezone-BQhT-oxQ.js → timezone-CzWr1nhO.js} +2 -2
- package/dist/{trigger-nhg31Cm2.js → trigger-BSEdMaKu.js} +12 -12
- package/dist/{usePagination-z6Io9pE3.js → usePagination-BnISBBlq.js} +1 -1
- package/dist/{user-uP7Z7WUa.js → user-CUOEkvb1.js} +1 -1
- package/dist/{vue-i18n-DYzNH5z4.js → vue-i18n-CdwtjeYd.js} +418 -418
- package/dist/{xlsx-DTeYpknU.js → xlsx-DOd1PS56.js} +1 -1
- package/dist/{zod-YWGh4sc1.js → zod-_h5DNk2u.js} +1 -1
- package/package.json +1 -1
- package/dist/Segment-B0Oy6ajr.js +0 -882
- package/dist/StoreRewards-D4-c0EPM.js +0 -535
- package/dist/objectid-B_jNHjAd.js +0 -145
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent as N, computed as f, ref as V, onMounted as H, resolveComponent as _, openBlock as c, createElementBlock as u, createVNode as i, withCtx as S, createElementVNode as p, toDisplayString as q, normalizeClass as A, Fragment as x, renderList as j, createCommentVNode as B } from "vue";
|
|
2
|
-
import { U as D } from "./app-
|
|
3
|
-
import "./index-
|
|
2
|
+
import { U as D } from "./app-D427_gmU.js";
|
|
3
|
+
import "./index-8FtsTHd_.js";
|
|
4
4
|
import { c as E } from "./object-qECH92oz.js";
|
|
5
5
|
const M = { class: "flex flex-col flex-nowrap" }, T = { class: "flex gap-16 items-center w-full" }, $ = { class: "flex grow items-center" }, z = { class: "grow text-fm-color-typo-secondary" }, K = { key: 0 }, J = { class: "px-16" }, X = /* @__PURE__ */ N({
|
|
6
6
|
__name: "SelectItems",
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import { defineComponent as L, ref as p, computed as C, onMounted as P, resolveComponent as i, openBlock as $, createBlock as D, unref as e, isRef as H, withCtx as S, createElementVNode as v, createVNode as c, toDisplayString as w } from "vue";
|
|
2
|
-
import { u as O } from "./loading-
|
|
3
|
-
import { p as Z } from "./plugins-
|
|
2
|
+
import { u as O } from "./loading-X5Dle07s.js";
|
|
3
|
+
import { p as Z } from "./plugins-0yAaVVcL.js";
|
|
4
4
|
import { u as q } from "./app-wDQR6dpb.js";
|
|
5
|
-
import { m as z } from "./index-
|
|
6
|
-
import { b as G } from "./index-
|
|
7
|
-
import "./index-
|
|
8
|
-
import "./index-
|
|
9
|
-
import "./index-
|
|
10
|
-
import "./index-
|
|
11
|
-
import "./index-
|
|
12
|
-
import { Z as d } from "./zod-
|
|
13
|
-
import { z as Y } from "./app-
|
|
14
|
-
import { u as j } from "./vue-i18n-
|
|
15
|
-
import { c as J } from "./campaign-
|
|
5
|
+
import { m as z } from "./index-DkEmFIqa.js";
|
|
6
|
+
import { b as G } from "./index-CqoU5D_S.js";
|
|
7
|
+
import "./index-CeC11VY5.js";
|
|
8
|
+
import "./index-8FtsTHd_.js";
|
|
9
|
+
import "./index-yF2I6Xtv.js";
|
|
10
|
+
import "./index-BtOj2rTq.js";
|
|
11
|
+
import "./index-ueyNfpGe.js";
|
|
12
|
+
import { Z as d } from "./zod-_h5DNk2u.js";
|
|
13
|
+
import { z as Y } from "./app-D427_gmU.js";
|
|
14
|
+
import { u as j } from "./vue-i18n-CdwtjeYd.js";
|
|
15
|
+
import { c as J } from "./campaign-Cd2S6J2Z.js";
|
|
16
16
|
const K = { class: "fm-typo-en-body-lg-600" }, Q = { class: "fm-typo-en-body-lg-400" }, W = { class: "flex items-center gap-8" }, he = /* @__PURE__ */ L({
|
|
17
17
|
__name: "SendCollectionSheet",
|
|
18
18
|
emits: ["success"],
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { defineComponent as O, ref as p, computed as g, watch as T, onMounted as q, resolveComponent as x, openBlock as I, createBlock as G, unref as t, isRef as k, withCtx as z, createElementVNode as n, createVNode as s, toDisplayString as f, createElementBlock as H, createCommentVNode as K } from "vue";
|
|
2
2
|
import { J as Q } from "./JsonViewer-v8_C7l5N.js";
|
|
3
3
|
import { _ as F } from "./FmTableSelection.vue_vue_type_script_setup_true_lang-DzcUc0_w.js";
|
|
4
|
-
import { u as W } from "./loading-
|
|
4
|
+
import { u as W } from "./loading-X5Dle07s.js";
|
|
5
5
|
import { u as X } from "./app-wDQR6dpb.js";
|
|
6
|
-
import { l as Y } from "./lodash-
|
|
7
|
-
import { m as Z } from "./index-
|
|
8
|
-
import { c as ee } from "./campaign-
|
|
6
|
+
import { l as Y } from "./lodash-CJtUEnSL.js";
|
|
7
|
+
import { m as Z } from "./index-DkEmFIqa.js";
|
|
8
|
+
import { c as ee } from "./campaign-Cd2S6J2Z.js";
|
|
9
9
|
const ae = { class: "space-y-16" }, te = { class: "fm-typo-en-body-md-600" }, oe = { class: "flex items-center justify-end" }, le = {
|
|
10
10
|
key: 0,
|
|
11
11
|
class: "basis-72 bg-white flex items-center justify-between px-24 pt-6 border-t border-fm-color-border"
|
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import { defineComponent as Ne, ref as z, computed as J, onMounted as Ze, resolveComponent as U, openBlock as F, createBlock as ee, withCtx as $, createElementVNode as p, createVNode as P, unref as c, isRef as Ae, watch as Et, createElementBlock as V, toDisplayString as B, Fragment as Z, renderList as Be, createTextVNode as X, createCommentVNode as pe } from "vue";
|
|
2
2
|
import { h as At } from "./moment-D7p2TMB-.js";
|
|
3
|
-
import { Z as Je } from "./zod-
|
|
3
|
+
import { Z as Je } from "./zod-_h5DNk2u.js";
|
|
4
4
|
import { useDialog as We } from "@feedmepos/ui-library";
|
|
5
|
-
import { u as Bt } from "./loading-
|
|
5
|
+
import { u as Bt } from "./loading-X5Dle07s.js";
|
|
6
6
|
import { u as Pt } from "./app-wDQR6dpb.js";
|
|
7
|
-
import { u as Pe, l as et } from "./business-
|
|
8
|
-
import { u as tt } from "./membership-
|
|
9
|
-
import { P as ye } from "./index-
|
|
10
|
-
import {
|
|
11
|
-
import { _ as It } from "./ImageInput.vue_vue_type_script_setup_true_lang-
|
|
12
|
-
import { a as nt, p as Tt, f as ie } from "./plugins-
|
|
13
|
-
import { p as Nt, r as Ut, _ as Ft } from "./TargetLocationInput.vue_vue_type_script_setup_true_lang-
|
|
14
|
-
import { u as ot } from "./vue-i18n-
|
|
15
|
-
import { M as Lt, _ as kt } from "./MessageInput.vue_vue_type_script_setup_true_lang-
|
|
7
|
+
import { u as Pe, l as et } from "./business-DVT9-z7e.js";
|
|
8
|
+
import { u as tt } from "./membership-CKuQtReq.js";
|
|
9
|
+
import { P as ye } from "./index-8FtsTHd_.js";
|
|
10
|
+
import { t as Mt, l as St } from "./index-CqoU5D_S.js";
|
|
11
|
+
import { _ as It } from "./ImageInput.vue_vue_type_script_setup_true_lang-BWSlxKAt.js";
|
|
12
|
+
import { a as nt, p as Tt, f as ie } from "./plugins-0yAaVVcL.js";
|
|
13
|
+
import { p as Nt, r as Ut, _ as Ft } from "./TargetLocationInput.vue_vue_type_script_setup_true_lang-CZgImaiL.js";
|
|
14
|
+
import { u as ot } from "./vue-i18n-CdwtjeYd.js";
|
|
15
|
+
import { M as Lt, _ as kt } from "./MessageInput.vue_vue_type_script_setup_true_lang-BtiTqHlT.js";
|
|
16
16
|
import { useCoreStore as Rt } from "@feedmepos/mf-common";
|
|
17
17
|
import { useRouter as Dt } from "vue-router";
|
|
18
|
-
import { R as Vt } from "./app-
|
|
19
|
-
import { m as je } from "./index-
|
|
20
|
-
import { S as qe } from "./index-
|
|
18
|
+
import { R as Vt } from "./app-D427_gmU.js";
|
|
19
|
+
import { m as je } from "./index-CTTeS30R.js";
|
|
20
|
+
import { S as qe } from "./index-CI3LvsAN.js";
|
|
21
21
|
import { o as xt } from "./objectId-dwaoBfJX.js";
|
|
22
22
|
import { a as $t } from "./object-qECH92oz.js";
|
|
23
23
|
var ne = {}, zt = function() {
|
|
@@ -1,23 +1,23 @@
|
|
|
1
|
-
import { defineComponent as J, ref as y, computed as z, onMounted as K, resolveComponent as A, openBlock as u, createElementBlock as b, createElementVNode as s, createVNode as d, createTextVNode as W, toDisplayString as v, unref as e, withCtx as
|
|
2
|
-
import { u as te } from "./loading-
|
|
1
|
+
import { defineComponent as J, ref as y, computed as z, onMounted as K, resolveComponent as A, openBlock as u, createElementBlock as b, createElementVNode as s, createVNode as d, createTextVNode as W, toDisplayString as v, unref as e, withCtx as k, createBlock as B, Fragment as Y, renderList as Z, createCommentVNode as N, isRef as ee } from "vue";
|
|
2
|
+
import { u as te } from "./loading-X5Dle07s.js";
|
|
3
3
|
import { u as ne } from "./app-wDQR6dpb.js";
|
|
4
|
-
import { u as se } from "./business-
|
|
5
|
-
import { u as oe } from "./membership-
|
|
6
|
-
import "./index-
|
|
7
|
-
import {
|
|
8
|
-
import "./index-
|
|
9
|
-
import { _ as le } from "./ImageInput.vue_vue_type_script_setup_true_lang-
|
|
10
|
-
import { f as D, p as ie } from "./plugins-
|
|
11
|
-
import { _ as re } from "./TargetLocationInput.vue_vue_type_script_setup_true_lang-
|
|
12
|
-
import { u as ce } from "./vue-i18n-
|
|
4
|
+
import { u as se } from "./business-DVT9-z7e.js";
|
|
5
|
+
import { u as oe } from "./membership-CKuQtReq.js";
|
|
6
|
+
import "./index-8FtsTHd_.js";
|
|
7
|
+
import { l as ae } from "./index-CqoU5D_S.js";
|
|
8
|
+
import "./index-yOug8IQK.js";
|
|
9
|
+
import { _ as le } from "./ImageInput.vue_vue_type_script_setup_true_lang-BWSlxKAt.js";
|
|
10
|
+
import { f as D, p as ie } from "./plugins-0yAaVVcL.js";
|
|
11
|
+
import { _ as re } from "./TargetLocationInput.vue_vue_type_script_setup_true_lang-CZgImaiL.js";
|
|
12
|
+
import { u as ce } from "./vue-i18n-CdwtjeYd.js";
|
|
13
13
|
import { useRouter as de } from "vue-router";
|
|
14
|
-
import { m as me } from "./index-
|
|
15
|
-
import { R as ue } from "./app-
|
|
14
|
+
import { m as me } from "./index-CTTeS30R.js";
|
|
15
|
+
import { R as ue } from "./app-D427_gmU.js";
|
|
16
16
|
import { a as ve } from "./object-qECH92oz.js";
|
|
17
17
|
const pe = { class: "min-h-screen bg-fm-color-neutral-gray-50" }, fe = { class: "bg-white border-b border-fm-color-neutral-gray-100 sticky top-0 z-10" }, ge = { class: "px-24 py-16 flex items-center justify-between" }, _e = { class: "flex items-center gap-16" }, he = { class: "fm-typo-en-title-md-800 flex items-center gap-8" }, ye = { class: "fm-typo-en-body-sm-400 text-fm-color-typo-secondary" }, be = {
|
|
18
18
|
key: 0,
|
|
19
19
|
class: "px-24 py-24"
|
|
20
|
-
}, we = { class: "flex items-center gap-24 mb-24" }, xe = { class: "fm-typo-en-body-md-400 text-fm-color-typo-secondary" },
|
|
20
|
+
}, we = { class: "flex items-center gap-24 mb-24" }, xe = { class: "fm-typo-en-body-md-400 text-fm-color-typo-secondary" }, Se = { class: "fm-typo-en-body-lg-600" }, ke = { class: "fm-typo-en-title-sm-800 mb-8" }, Ae = { class: "fm-typo-en-body-md-400 text-fm-color-typo-secondary mb-16" }, Ce = {
|
|
21
21
|
key: 1,
|
|
22
22
|
class: "grid grid-cols-5 gap-16 lg:grid-cols-4 md:grid-cols-3 sm:grid-cols-2"
|
|
23
23
|
}, Fe = { class: "absolute top-8 right-8 z-10" }, je = { class: "aspect-[3/4] bg-fm-color-neutral-gray-100" }, Le = ["src"], Me = ["src", "alt"], Ve = {
|
|
@@ -42,7 +42,7 @@ const pe = { class: "min-h-screen bg-fm-color-neutral-gray-50" }, fe = { class:
|
|
|
42
42
|
async function $() {
|
|
43
43
|
await R(
|
|
44
44
|
async () => {
|
|
45
|
-
const n = ve(c.value), t = ae.parse(n), a = Date.now(), p = (m) => `${a}-${m}-${Math.random().toString(36).substring(2, 15)}`,
|
|
45
|
+
const n = ve(c.value), t = ae.parse(n), a = Date.now(), p = (m) => `${a}-${m}-${Math.random().toString(36).substring(2, 15)}`, S = await Promise.all(
|
|
46
46
|
f.value.map(async (m, h) => {
|
|
47
47
|
var r;
|
|
48
48
|
const i = (r = t.advertisements) == null ? void 0 : r[h];
|
|
@@ -58,7 +58,7 @@ const pe = { class: "min-h-screen bg-fm-color-neutral-gray-50" }, fe = { class:
|
|
|
58
58
|
} : null;
|
|
59
59
|
})
|
|
60
60
|
);
|
|
61
|
-
t.advertisements =
|
|
61
|
+
t.advertisements = S.filter((m) => m), await me.update(t), await F.readMembership(), c.value = F.membership;
|
|
62
62
|
},
|
|
63
63
|
{
|
|
64
64
|
message: o("connect.advertisements.saving"),
|
|
@@ -97,7 +97,7 @@ const pe = { class: "min-h-screen bg-fm-color-neutral-gray-50" }, fe = { class:
|
|
|
97
97
|
});
|
|
98
98
|
}), (n, t) => {
|
|
99
99
|
var i;
|
|
100
|
-
const a = A("FmButton"), p = A("FmPill"),
|
|
100
|
+
const a = A("FmButton"), p = A("FmPill"), S = A("FmCard"), m = A("FmIcon"), h = A("FmSideSheet");
|
|
101
101
|
return u(), b("div", pe, [
|
|
102
102
|
s("div", fe, [
|
|
103
103
|
s("div", ge, [
|
|
@@ -125,25 +125,25 @@ const pe = { class: "min-h-screen bg-fm-color-neutral-gray-50" }, fe = { class:
|
|
|
125
125
|
]),
|
|
126
126
|
e(c) ? (u(), b("div", be, [
|
|
127
127
|
s("div", we, [
|
|
128
|
-
d(
|
|
128
|
+
d(S, {
|
|
129
129
|
variant: "outlined",
|
|
130
130
|
class: "px-16 py-12 flex items-center gap-8"
|
|
131
131
|
}, {
|
|
132
|
-
default:
|
|
132
|
+
default: k(() => [
|
|
133
133
|
s("span", xe, v(e(o)("connect.setting.advertisement.activeAds")), 1),
|
|
134
|
-
s("span",
|
|
134
|
+
s("span", Se, v(e(V)) + " / " + v(I), 1)
|
|
135
135
|
]),
|
|
136
136
|
_: 1
|
|
137
137
|
})
|
|
138
138
|
]),
|
|
139
139
|
e(M).isPremium ? (u(), b("div", Ce, [
|
|
140
|
-
(u(!0), b(Y, null, Z(((i = e(c).advertisements) == null ? void 0 : i.length) || 0, (l, r) => (u(), B(
|
|
140
|
+
(u(!0), b(Y, null, Z(((i = e(c).advertisements) == null ? void 0 : i.length) || 0, (l, r) => (u(), B(S, {
|
|
141
141
|
key: r,
|
|
142
142
|
variant: "outlined",
|
|
143
143
|
class: "cursor-pointer hover:shadow-lg transition-shadow overflow-hidden relative",
|
|
144
144
|
onClick: (T) => E(r)
|
|
145
145
|
}, {
|
|
146
|
-
default:
|
|
146
|
+
default: k(() => [
|
|
147
147
|
s("div", Fe, [
|
|
148
148
|
d(a, {
|
|
149
149
|
icon: "delete",
|
|
@@ -177,13 +177,13 @@ const pe = { class: "min-h-screen bg-fm-color-neutral-gray-50" }, fe = { class:
|
|
|
177
177
|
]),
|
|
178
178
|
_: 2
|
|
179
179
|
}, 1032, ["onClick"]))), 128)),
|
|
180
|
-
e(P) ? (u(), B(
|
|
180
|
+
e(P) ? (u(), B(S, {
|
|
181
181
|
key: 0,
|
|
182
182
|
variant: "outlined",
|
|
183
183
|
class: "cursor-pointer hover:bg-fm-color-neutral-gray-50 transition-colors border-dashed aspect-[3/4] flex flex-col items-center justify-center",
|
|
184
184
|
onClick: q
|
|
185
185
|
}, {
|
|
186
|
-
default:
|
|
186
|
+
default: k(() => [
|
|
187
187
|
s("div", $e, [
|
|
188
188
|
d(m, {
|
|
189
189
|
name: "add",
|
|
@@ -196,13 +196,13 @@ const pe = { class: "min-h-screen bg-fm-color-neutral-gray-50" }, fe = { class:
|
|
|
196
196
|
]),
|
|
197
197
|
_: 1
|
|
198
198
|
})) : N("", !0)
|
|
199
|
-
])) : (u(), B(
|
|
199
|
+
])) : (u(), B(S, {
|
|
200
200
|
key: 0,
|
|
201
201
|
variant: "outlined",
|
|
202
202
|
class: "p-24 text-center mb-24 bg-fm-color-warning-50"
|
|
203
203
|
}, {
|
|
204
|
-
default:
|
|
205
|
-
s("div",
|
|
204
|
+
default: k(() => [
|
|
205
|
+
s("div", ke, v(e(o)("connect.setting.advertisement.premiumFeatureTitle")), 1),
|
|
206
206
|
s("div", Ae, v(e(o)("connect.setting.advertisement.premiumFeatureDescription")), 1)
|
|
207
207
|
]),
|
|
208
208
|
_: 1
|
|
@@ -217,7 +217,7 @@ const pe = { class: "min-h-screen bg-fm-color-neutral-gray-50" }, fe = { class:
|
|
|
217
217
|
"max-width": 560,
|
|
218
218
|
header: e(g) !== null ? `${e(o)("connect.setting.advertisement.manageAd")} #${e(g) + 1}` : e(o)("connect.setting.advertisement.addAdvertisement")
|
|
219
219
|
}, {
|
|
220
|
-
"side-sheet-footer":
|
|
220
|
+
"side-sheet-footer": k(() => [
|
|
221
221
|
s("div", ze, [
|
|
222
222
|
d(a, {
|
|
223
223
|
label: e(o)("connect.setting.advertisement.save"),
|
|
@@ -227,7 +227,7 @@ const pe = { class: "min-h-screen bg-fm-color-neutral-gray-50" }, fe = { class:
|
|
|
227
227
|
}, null, 8, ["label", "loading", "disabled"])
|
|
228
228
|
])
|
|
229
229
|
]),
|
|
230
|
-
default:
|
|
230
|
+
default: k(() => [
|
|
231
231
|
s("div", Pe, [
|
|
232
232
|
s("div", Ee, [
|
|
233
233
|
s("div", Te, [
|
|
@@ -1,32 +1,32 @@
|
|
|
1
1
|
import { defineComponent as te, computed as L, resolveComponent as S, openBlock as x, createBlock as O, withCtx as B, createElementVNode as F, toDisplayString as K, createVNode as r, createCommentVNode as E, createElementBlock as D, unref as e, Fragment as Y, renderList as ce, ref as N, isRef as re, reactive as ze, onMounted as he, watch as Pe, toRaw as Je, createTextVNode as me, h as Ge } from "vue";
|
|
2
2
|
import { _ as Xe } from "./tier-BJDhpH6X.js";
|
|
3
3
|
import { useDialog as je, useDialogChild as Le, components as Ze } from "@feedmepos/ui-library";
|
|
4
|
-
import { c as A, e as _e, S as Qe } from "./index-
|
|
5
|
-
import { u as Ke } from "./loading-
|
|
6
|
-
import { u as ke, C as ye } from "./membership-
|
|
7
|
-
import {
|
|
4
|
+
import { c as A, e as _e, S as Qe } from "./index-CI3LvsAN.js";
|
|
5
|
+
import { u as Ke } from "./loading-X5Dle07s.js";
|
|
6
|
+
import { u as ke, C as ye } from "./membership-CKuQtReq.js";
|
|
7
|
+
import { n as et, o as tt, p as nt, q as Ae, r as ot } from "./index-CqoU5D_S.js";
|
|
8
8
|
import { a as at, c as Fe } from "./object-qECH92oz.js";
|
|
9
|
-
import { _ as ae } from "./lodash-
|
|
10
|
-
import { c as ue } from "./index-
|
|
11
|
-
import { u as xe } from "./vue-i18n-
|
|
12
|
-
import { Z as Q, g as G, a as X } from "./zod-
|
|
13
|
-
import { z as ee, R as lt } from "./app-
|
|
9
|
+
import { _ as ae } from "./lodash-CJtUEnSL.js";
|
|
10
|
+
import { c as ue } from "./index-8FtsTHd_.js";
|
|
11
|
+
import { u as xe } from "./vue-i18n-CdwtjeYd.js";
|
|
12
|
+
import { Z as Q, g as G, a as X } from "./zod-_h5DNk2u.js";
|
|
13
|
+
import { z as ee, R as lt } from "./app-D427_gmU.js";
|
|
14
14
|
import { u as Se } from "./app-wDQR6dpb.js";
|
|
15
|
-
import { _ as le } from "./ZodTextField.vue_vue_type_script_setup_true_lang-
|
|
16
|
-
import { a as st, p as pe, n as rt, f as Ve } from "./plugins-
|
|
15
|
+
import { _ as le } from "./ZodTextField.vue_vue_type_script_setup_true_lang-DAsm-iDs.js";
|
|
16
|
+
import { a as st, p as pe, n as rt, f as Ve } from "./plugins-0yAaVVcL.js";
|
|
17
17
|
import { J as Te } from "./JsonViewer-v8_C7l5N.js";
|
|
18
|
-
import { _ as it } from "./index-
|
|
19
|
-
import { _ as dt } from "./ImageInput.vue_vue_type_script_setup_true_lang-
|
|
18
|
+
import { _ as it } from "./index-CeC11VY5.js";
|
|
19
|
+
import { _ as dt } from "./ImageInput.vue_vue_type_script_setup_true_lang-BWSlxKAt.js";
|
|
20
20
|
import { _ as ut } from "./ChipMenu.vue_vue_type_script_setup_true_lang-BPpZZNkr.js";
|
|
21
|
-
import { z as ct, a as mt } from "./money-
|
|
22
|
-
import { F as pt } from "./number-
|
|
23
|
-
import { a as ft, t as yt } from "./helper-
|
|
24
|
-
import "./index-
|
|
25
|
-
import "./index-
|
|
26
|
-
import "./index-
|
|
27
|
-
import "./index-
|
|
28
|
-
import { m as bt } from "./index-
|
|
29
|
-
import { m as ge } from "./index-
|
|
21
|
+
import { z as ct, a as mt } from "./money-C99PNkQ0.js";
|
|
22
|
+
import { F as pt } from "./number-C42NY90L.js";
|
|
23
|
+
import { a as ft, t as yt } from "./helper-CjJd9YN0.js";
|
|
24
|
+
import "./index-yOug8IQK.js";
|
|
25
|
+
import "./index-yF2I6Xtv.js";
|
|
26
|
+
import "./index-BtOj2rTq.js";
|
|
27
|
+
import "./index-ueyNfpGe.js";
|
|
28
|
+
import { m as bt } from "./index-DkEmFIqa.js";
|
|
29
|
+
import { m as ge } from "./index-CTTeS30R.js";
|
|
30
30
|
import { useRouter as gt } from "vue-router";
|
|
31
31
|
function He(C) {
|
|
32
32
|
return ue.DineroFactory(C).toUnit();
|