@feedmepos/mf-connect 0.1.98-beta.6 → 0.1.98-beta.60
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-CvJ0ASlp.js → App-BUwQLdzG.js} +812 -666
- package/dist/{AuditLogs-Bt9S2LKL.js → AuditLogs-laNQB1ef.js} +14 -13
- package/dist/{Bin-ZSCDSioa.js → Bin-Bfboeea_.js} +8 -8
- package/dist/{Broadcast-BT0R11RB.js → Broadcast-CDz-_eDz.js} +40 -37
- package/dist/CampaignAnalytic-BiA-5XG3.js +1830 -0
- package/dist/{CampaignTypeDialog.vue_vue_type_script_setup_true_lang-LweQ57aG.js → CampaignTypeDialog.vue_vue_type_script_setup_true_lang-VrTN-c_a.js} +6 -5
- package/dist/Card-CKHaW8N7.js +1084 -0
- package/dist/{Collections-H7zhe9zN.js → Collections-DRocQb1D.js} +14 -13
- package/dist/Credit-DWaoVhSP.js +286 -0
- package/dist/DateRangeChip.vue_vue_type_script_setup_true_lang-B7ZdULCu.js +53 -0
- package/dist/{EditCampaignSheet.vue_vue_type_script_setup_true_lang-B2sZFWUF.js → EditCampaignSheet.vue_vue_type_script_setup_true_lang-3ERieT1j.js} +54 -52
- package/dist/{EffectSheet.vue_vue_type_style_index_0_lang-qNmiKaJc.js → EffectSheet.vue_vue_type_style_index_0_lang-yDUjXV2O.js} +35 -35
- package/dist/{Experience-CH5tg-tm.js → Experience-C1_LpneJ.js} +112 -86
- package/dist/{FileSaver.min-DNFqiyZb.js → FileSaver.min-CWJ-6CFP.js} +1 -1
- package/dist/FilterChip.vue_vue_type_script_setup_true_lang-3bH-tZAm.js +138 -0
- package/dist/Game-DtTYcSZk.js +356 -0
- package/dist/GiftCardSetup-B770Rl1Q.js +662 -0
- package/dist/{Grab-3s_sLewD.js → Grab-CN0gmIxT.js} +33 -32
- package/dist/{ImageInput.vue_vue_type_script_setup_true_lang-fbmoN1e9.js → ImageInput.vue_vue_type_script_setup_true_lang-BaAhKWhX.js} +1 -1
- package/dist/{Index-zTWZCiEo.js → Index-0F6aq3f9.js} +10 -10
- package/dist/{LocationPicker.vue_vue_type_script_setup_true_lang-BOxYPkf5.js → LocationPicker.vue_vue_type_script_setup_true_lang-BrKj8W2H.js} +1 -1
- package/dist/{LottieAnimation.vue_vue_type_script_setup_true_lang-wjJ_cwft.js → LottieAnimation.vue_vue_type_script_setup_true_lang-DOuHSVdR.js} +1 -1
- package/dist/LoyaltyDashboard-CtXyDFqa.js +2865 -0
- package/dist/MainLayout-BSWLr3gE.js +143 -0
- package/dist/{Marketing-Bto1OvK1.js → Marketing-Ci2haxRd.js} +7 -6
- package/dist/{MarketingMaterialEdit-D7rIqF5U.js → MarketingMaterialEdit-Cw6R0bNM.js} +15 -14
- package/dist/Member-DEzSTAQy.js +649 -0
- package/dist/MemberDetailSheet.vue_vue_type_script_setup_true_lang-BrhSxbrI.js +1287 -0
- package/dist/MemberImportHistory-BGfNLzma.js +187 -0
- package/dist/MemberList-Cq5Gsv3G.js +336 -0
- package/dist/{MemberTransactions-CjTtGB2y.js → MemberTransactions-BrUVZRtt.js} +1 -1
- package/dist/{MessageInput.vue_vue_type_script_setup_true_lang-DvKL7BL5.js → MessageInput.vue_vue_type_script_setup_true_lang-DCQ6Fse-.js} +5434 -5279
- package/dist/MetricInfoTooltip.vue_vue_type_script_setup_true_lang-CETwYfZD.js +40 -0
- package/dist/Mission-Do4IonLo.js +360 -0
- package/dist/{Overview-mxGLyFvE.js → Overview-DA90l9Kb.js} +21 -20
- package/dist/Overview-DN-nJxw9.js +1316 -0
- package/dist/Point-DQ4w857n.js +288 -0
- package/dist/Promotion-Rgt9LcYi.js +423 -0
- package/dist/{Queue-DgaFyyyH.js → Queue-SzypUxgD.js} +14 -13
- package/dist/{Record-BRol__6_.js → Record-DYvPPhIW.js} +9 -9
- package/dist/Review-B0TERyHM.js +45 -0
- package/dist/ReviewFacebookCallback-BJ5jQ3Dv.js +238 -0
- package/dist/ReviewGoogleCallback-BKQD39dv.js +213 -0
- package/dist/{Reward-DQI0PvmR.js → Reward-BexlVT_C.js} +35 -35
- package/dist/{RewardGroup.vue_vue_type_script_setup_true_lang-B6bvQNsU.js → RewardGroup.vue_vue_type_script_setup_true_lang-C-ygqNur.js} +14 -13
- package/dist/{RuleGroup.vue_vue_type_script_setup_true_lang-DgAU7jGo.js → RuleGroup.vue_vue_type_script_setup_true_lang-DjxIJcdv.js} +103 -109
- package/dist/{Segment-DFaLx0QZ.js → Segment-CYa4GjtQ.js} +30 -29
- package/dist/{SendCollectionSheet.vue_vue_type_script_setup_true_lang-Cpb2i9iV.js → SendCollectionSheet.vue_vue_type_script_setup_true_lang-b-K-VDJC.js} +31 -30
- package/dist/{SendVoucherSheet.vue_vue_type_script_setup_true_lang-MvoepHn9.js → SendVoucherSheet.vue_vue_type_script_setup_true_lang-t2mlDDtn.js} +4 -4
- package/dist/{Setting-D2NjFJvq.js → Setting-Dmm5BKdF.js} +14 -14
- package/dist/{SettingAdvertisements-CPWgSMaA.js → SettingAdvertisements-cy4cRBop.js} +12 -12
- package/dist/Settings-DMQuLDM4.js +230 -0
- package/dist/Store-B7KflfSk.js +2612 -0
- package/dist/{StoreRewards-Ccj12pyq.js → StoreRewards-BKae8uZn.js} +15 -15
- package/dist/StoreTransactions.vue_vue_type_script_setup_true_lang-sbIR-k1R.js +1329 -0
- package/dist/{TargetLocationInput.vue_vue_type_script_setup_true_lang-CfWTn0Xd.js → TargetLocationInput.vue_vue_type_script_setup_true_lang-DRT3N9SD.js} +2 -2
- package/dist/{Tier-vaJoohiM.js → Tier-BeTz6LHH.js} +2296 -750
- package/dist/{Title-BqHC7-v9.js → Title-OEVVw5I-.js} +39 -37
- package/dist/Transaction-D-MZjntW.js +45 -0
- package/dist/{UserRuleGroup.vue_vue_type_script_setup_true_lang-Dporb9KE.js → UserRuleGroup.vue_vue_type_script_setup_true_lang-xIEOUOdo.js} +26 -26
- package/dist/{Voucher-DeN6C6DQ.js → Voucher-BJCf3pSa.js} +156 -133
- package/dist/{VoucherEditor.vue_vue_type_script_setup_true_lang-De16fuC4.js → VoucherEditor.vue_vue_type_script_setup_true_lang-BFQ_CYub.js} +115 -121
- package/dist/{ZodTextField.vue_vue_type_script_setup_true_lang-DAC-j0Ln.js → ZodTextField.vue_vue_type_script_setup_true_lang-DGDw3Too.js} +2 -2
- package/dist/{app-n4Y2jMee.js → app-J8VIC7-H.js} +29852 -25997
- package/dist/app.js +1 -1
- package/dist/base.export-HYFFI4OS.js +75 -0
- package/dist/{business-jn-_l48y.js → business-BonuheMK.js} +5 -5
- package/dist/{campaign-rgDnocfT.js → campaign-7CI7gfS5.js} +74 -96
- package/dist/campaign-Ct7jhugP.js +100 -0
- package/dist/{campaign.enum-C9HvoKuq.js → campaign.enum-OzJ9IbAW.js} +1 -1
- package/dist/{campaign.fn-D21ettpH.js → campaign.fn-CDjxE9B2.js} +99 -99
- package/dist/{collectible.enum-_HVU4lWn.js → collectible.enum-Dw_tlI9E.js} +1 -1
- package/dist/collection.fn-CER0_NEn.js +26 -0
- package/dist/currency-CTUS4vS8.js +7 -0
- package/dist/{duplicateCampaign-gzVwrnWb.js → duplicateCampaign-CMQ-RMH-.js} +11 -11
- package/dist/{effect-DhpIv1L3.js → effect-DBeGoMNE.js} +1 -1
- package/dist/{email-addresses-DPxYLSoa.js → email-addresses-BH3mQzan.js} +209 -201
- package/dist/google-C3S8u0mT.js +4 -0
- package/dist/{helper-WYHUnHVy.js → helper-DJe_JbKJ.js} +1 -1
- package/dist/{index-BdnHQSDd.js → index-B14H1rLW.js} +5 -4
- package/dist/{index-7HizF3GI.js → index-BOVnM3gL.js} +1588 -1522
- package/dist/{index-Cvfavr2M.js → index-BRCB6yJ6.js} +232 -200
- package/dist/{index-BPsofsGt.js → index-BZKKS7jO.js} +1933 -2560
- package/dist/{index-BuLfxJyC.js → index-BlwAgY_z.js} +105 -123
- package/dist/index-BmN_Qcw7.js +151 -0
- package/dist/index-Bnk3vdb-.js +72 -0
- package/dist/index-BzVTqlVH.js +137 -0
- package/dist/{index--fNMSXUf.js → index-CEDhjZzd.js} +1 -1
- package/dist/{index-BdqRrCt8.js → index-CM9GTQIo.js} +5 -5
- package/dist/index-CN8VyVEB.js +53 -0
- package/dist/{index-Cte6dHHy.js → index-COuceEFz.js} +14 -14
- package/dist/{index-BN-FP9kx.js → index-CWR2s6Nt.js} +1 -1
- package/dist/index-CrMBqkKk.js +897 -0
- package/dist/{index-xao4ggML.js → index-D9f3AIaO.js} +5 -5
- package/dist/index-Do36kJeb.js +51 -0
- package/dist/{index-C-5YgmkC.js → index-bGByr1XM.js} +7 -5
- package/dist/{index-DUTFNEn9.js → index-bJX4zgh0.js} +4 -4
- package/dist/{index.esm2017-CjzFPUCa.js → index.esm2017-BpCPgTjc.js} +128 -128
- package/dist/{loading-CojnK00V.js → loading-D_rPJ-Yc.js} +1 -1
- package/dist/{lodash-CLkg5jTT.js → lodash-BM976Z2I.js} +1 -1
- package/dist/member-import-C5rhD3f8.js +187 -0
- package/dist/membership-CIQCEKiL.js +274 -0
- package/dist/{money-CyaLaEKo.js → money-BrMT193t.js} +1 -1
- package/dist/{number-DEtI4bEX.js → number-DOcD1tqL.js} +1 -1
- package/dist/objectid-CAdRRoFu.js +145 -0
- package/dist/{plugins-MnP1vCcg.js → plugins-696Z9K6A.js} +3 -3
- package/dist/remy-Qz_pNsUS.js +13 -0
- package/dist/{reward-Dk3D26xC.js → reward-lSVIBiE9.js} +1 -1
- package/dist/{rule-B1Agad1n.js → rule-BUGAimk8.js} +335 -275
- package/dist/style.css +1 -1
- package/dist/{template-DpqLCq1p.js → template-01_h2Gac.js} +6 -6
- package/dist/timezone-okTdM2YU.js +20 -0
- package/dist/transaction.fn-Nz0T33ex.js +64 -0
- package/dist/{trigger-cwPN-4Ia.js → trigger-CKj1X6zs.js} +17 -17
- package/dist/useMarketingMaterialActions-yKqKaPpe.js +96 -0
- package/dist/{usePagination-D8zBMxdJ.js → usePagination-D6cYlfni.js} +1 -1
- package/dist/{user-EUGwaL2f.js → user-DX5qCQfz.js} +1 -1
- package/dist/{vue-i18n-BBj45p9N.js → vue-i18n-DowpocqN.js} +204 -204
- package/dist/{xlsx-DiMIlKmu.js → xlsx-Dv4SuJbw.js} +1 -1
- package/dist/{zod-B1cU167C.js → zod-DVw24Ejy.js} +1 -1
- package/package.json +6 -5
- package/dist/Card-Wdh8lyUv.js +0 -910
- package/dist/Credit-BuKLrFtM.js +0 -260
- package/dist/DateRangeChip.vue_vue_type_script_setup_true_lang-eIoPtgO5.js +0 -58
- package/dist/FilterChip.vue_vue_type_script_setup_true_lang-DaU-9GzO.js +0 -129
- package/dist/Game-C9s4qZz4.js +0 -330
- package/dist/LoyaltyDashboard-tOOk6zvV.js +0 -1082
- package/dist/MainLayout-iWi1DzXS.js +0 -41
- package/dist/Member-BdgdT-sa.js +0 -280
- package/dist/MemberList-DBIE-RWC.js +0 -1601
- package/dist/Mission-CWR6FBvN.js +0 -334
- package/dist/Point-BIt82fJk.js +0 -262
- package/dist/Promotion-Cl1vPi0B.js +0 -397
- package/dist/Review-DmV2YnFd.js +0 -1076
- package/dist/ReviewFacebookCallback-B5XgAWXo.js +0 -243
- package/dist/ReviewGoogleCallback-CYR03Wfd.js +0 -208
- package/dist/SelectItems.vue_vue_type_script_setup_true_lang-CAImd3yc.js +0 -181
- package/dist/Store-DjUe8ady.js +0 -1996
- package/dist/StoreTransactions.vue_vue_type_script_setup_true_lang-B7w69A3j.js +0 -1130
- package/dist/Transaction-BOmDOGnD.js +0 -39
- package/dist/campaign-BnI7-ceP.js +0 -219
- package/dist/export-CWAxYj7W.js +0 -97
- package/dist/index-B6EBgIUx.js +0 -85
- package/dist/index-CxR1baaG.js +0 -52
- package/dist/membership-CeX8E_I9.js +0 -255
- package/dist/objectid-CMau7CW-.js +0 -145
- package/dist/useMarketingMaterialActions-CGzfJ68e.js +0 -107
|
@@ -1,40 +1,42 @@
|
|
|
1
|
-
import { defineComponent, ref, watch, resolveComponent, openBlock, createElementBlock, createElementVNode, createVNode, createCommentVNode, computed, onMounted, toDisplayString, createBlock, withCtx, Fragment, renderList, withModifiers,
|
|
2
|
-
import { _ } from "./lodash-
|
|
3
|
-
import {
|
|
4
|
-
import { Z as ZodHelper } from "./zod-
|
|
5
|
-
import { F as FdoObjectId, z } from "./index-
|
|
6
|
-
import {
|
|
7
|
-
import { F as FdtoCollectibleConfig } from "./index-
|
|
8
|
-
import {
|
|
9
|
-
import { u as useMembershipStore } from "./membership-
|
|
10
|
-
import { u as useBusinessStore } from "./business-
|
|
1
|
+
import { defineComponent, ref, watch, resolveComponent, openBlock, createElementBlock, createElementVNode, createVNode, unref, createCommentVNode, computed, onMounted, toDisplayString, createBlock, withCtx, Fragment, renderList, withModifiers, isRef, createTextVNode, normalizeClass, resolveDynamicComponent, toRefs, normalizeStyle, createSlots } from "vue";
|
|
2
|
+
import { _ } from "./lodash-BM976Z2I.js";
|
|
3
|
+
import { J as J6, T as Th, z as z$1 } from "./app-J8VIC7-H.js";
|
|
4
|
+
import { Z as ZodHelper } from "./zod-DVw24Ejy.js";
|
|
5
|
+
import { F as FdoObjectId, z } from "./index-D9f3AIaO.js";
|
|
6
|
+
import { e as FdoGroup, F as F_RUNNABLE_CAMPAIGN_TYPE, f as FdtoRunnableCampaign, g as FdoCreditLoyaltyReward, h as FdtoRandomReward, i as F_MISSION_TYPE, j as FdoThresholdCreditReward, k as FdtoThresholdReward, l as FdoMission } from "./index-CrMBqkKk.js";
|
|
7
|
+
import { F as FdtoCollectibleConfig } from "./index-BOVnM3gL.js";
|
|
8
|
+
import { a as isRuleGroup, R as RuleBuilder, s as stripRruleDtstartExceptSchedule, i as isRuleEntry, T as TEMPLATES } from "./index-BRCB6yJ6.js";
|
|
9
|
+
import { u as useMembershipStore } from "./membership-CIQCEKiL.js";
|
|
10
|
+
import { u as useBusinessStore } from "./business-BonuheMK.js";
|
|
11
11
|
import { J as JsonViewer } from "./JsonViewer-v8_C7l5N.js";
|
|
12
12
|
import { h as hooks } from "./moment-D7p2TMB-.js";
|
|
13
|
-
import { f as featureVersionMapping } from "./campaign.enum-
|
|
14
|
-
import { _ as _sfc_main$
|
|
15
|
-
import { b as _sfc_main$
|
|
16
|
-
import { _ as _sfc_main$
|
|
17
|
-
import { c as core, S as SvcConfig } from "./index-
|
|
18
|
-
import { p as prompt, f as firebaseStorage } from "./plugins-
|
|
19
|
-
import { _ as _sfc_main$o } from "./SelectItems.vue_vue_type_script_setup_true_lang-CAImd3yc.js";
|
|
13
|
+
import { f as featureVersionMapping } from "./campaign.enum-OzJ9IbAW.js";
|
|
14
|
+
import { _ as _sfc_main$t } from "./ImageInput.vue_vue_type_script_setup_true_lang-BaAhKWhX.js";
|
|
15
|
+
import { b as _sfc_main$r, a as _sfc_main$u, _ as _sfc_main$w } from "./EffectSheet.vue_vue_type_style_index_0_lang-yDUjXV2O.js";
|
|
16
|
+
import { _ as _sfc_main$v } from "./TargetLocationInput.vue_vue_type_script_setup_true_lang-DRT3N9SD.js";
|
|
17
|
+
import { c as core, S as SvcConfig } from "./index-B14H1rLW.js";
|
|
18
|
+
import { p as prompt, f as firebaseStorage } from "./plugins-696Z9K6A.js";
|
|
20
19
|
import { _ as _export_sfc } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
21
|
-
import { _ as _sfc_main$
|
|
22
|
-
import {
|
|
23
|
-
import { u as useI18n } from "./vue-i18n-
|
|
24
|
-
import { T as TypeToTriggerOptions, _ as _sfc_main$
|
|
25
|
-
import {
|
|
26
|
-
import {
|
|
27
|
-
import { c as calculateNextScheduleAt, R as RRule, S as SummarizeRrule, g as getRruleAnchorDate } from "./rule-
|
|
20
|
+
import { _ as _sfc_main$y } from "./UserRuleGroup.vue_vue_type_script_setup_true_lang-xIEOUOdo.js";
|
|
21
|
+
import { a as _sfc_main$o, _ as _sfc_main$p } from "./RuleGroup.vue_vue_type_script_setup_true_lang-DjxIJcdv.js";
|
|
22
|
+
import { u as useI18n } from "./vue-i18n-DowpocqN.js";
|
|
23
|
+
import { T as TypeToTriggerOptions, _ as _sfc_main$z, b as _sfc_main$A } from "./trigger-CKj1X6zs.js";
|
|
24
|
+
import { a as _sfc_main$x } from "./MessageInput.vue_vue_type_script_setup_true_lang-DCQ6Fse-.js";
|
|
25
|
+
import { m as moment } from "./index-BlwAgY_z.js";
|
|
26
|
+
import { c as calculateNextScheduleAt, R as RRule, S as SummarizeRrule, g as getRruleAnchorDate } from "./rule-BUGAimk8.js";
|
|
28
27
|
import { useCoreStore } from "@feedmepos/mf-common";
|
|
29
|
-
import {
|
|
30
|
-
import "./
|
|
31
|
-
import
|
|
32
|
-
import
|
|
33
|
-
import {
|
|
34
|
-
import {
|
|
28
|
+
import { C as CountryTimezone } from "./timezone-okTdM2YU.js";
|
|
29
|
+
import { _ as _sfc_main$q, a as _sfc_main$s } from "./VoucherEditor.vue_vue_type_script_setup_true_lang-BFQ_CYub.js";
|
|
30
|
+
import "./index-BZKKS7jO.js";
|
|
31
|
+
import "./index-CM9GTQIo.js";
|
|
32
|
+
import { a as F_GAME_TYPE } from "./collectible.enum-Dw_tlI9E.js";
|
|
33
|
+
import { u as useLoading } from "./loading-D_rPJ-Yc.js";
|
|
34
|
+
import { i as initCollectibleConfig } from "./helper-DJe_JbKJ.js";
|
|
35
|
+
import { C as CollectionUtils } from "./collection.fn-CER0_NEn.js";
|
|
35
36
|
import { s as sentenceCase$1 } from "./index-CuvNtC_M.js";
|
|
37
|
+
import { d as getCampaignSummaryObject } from "./campaign-7CI7gfS5.js";
|
|
36
38
|
import { useDialog } from "@feedmepos/ui-library";
|
|
37
|
-
import { u as useCampaignStore } from "./campaign-
|
|
39
|
+
import { u as useCampaignStore } from "./campaign-Ct7jhugP.js";
|
|
38
40
|
import { a as cleanPF } from "./object-BYyQ0PZp.js";
|
|
39
41
|
function campaignRefinement(e, s) {
|
|
40
42
|
var d, i;
|
|
@@ -362,7 +364,7 @@ const _hoisted_1$l = {
|
|
|
362
364
|
]),
|
|
363
365
|
r[1] || (r[1] = createElementVNode("div", { class: "fm-typo-en-body-sm-400 text-fm-color-typo-secondary" }, " Choose which items this discount applies to. For bundle discounts, select multiple items that can be bundled together. ", -1)),
|
|
364
366
|
createElementVNode("div", _hoisted_4$d, [
|
|
365
|
-
createVNode(
|
|
367
|
+
createVNode(unref(J6), {
|
|
366
368
|
ref_key: "selectItemRef",
|
|
367
369
|
ref: d,
|
|
368
370
|
"initial-value": e.initialValue,
|
|
@@ -400,7 +402,7 @@ const _hoisted_1$l = {
|
|
|
400
402
|
},
|
|
401
403
|
emits: ["confirm", "cancel"],
|
|
402
404
|
setup(e, { emit: s }) {
|
|
403
|
-
const n = e, u = s, d =
|
|
405
|
+
const n = e, u = s, d = Th(), i = ref({}), l = ref(""), o = computed(() => {
|
|
404
406
|
const c = d.menu.value;
|
|
405
407
|
return c ? c.modules.category.map((m) => ({
|
|
406
408
|
id: m._id,
|
|
@@ -559,7 +561,7 @@ const _hoisted_1$l = {
|
|
|
559
561
|
},
|
|
560
562
|
emits: ["update:model-value"],
|
|
561
563
|
setup(e, { emit: s }) {
|
|
562
|
-
const n = e, u = s, d =
|
|
564
|
+
const n = e, u = s, d = Th(), i = ref(!1), l = ref(!1), o = ref(!1), a = ref({
|
|
563
565
|
type: "net",
|
|
564
566
|
value: 0,
|
|
565
567
|
scope: {
|
|
@@ -1007,7 +1009,7 @@ const _hoisted_1$l = {
|
|
|
1007
1009
|
]),
|
|
1008
1010
|
_: 1
|
|
1009
1011
|
}, 8, ["modelValue"]),
|
|
1010
|
-
unref(i) == "custom" ? (openBlock(), createBlock(_sfc_main$
|
|
1012
|
+
unref(i) == "custom" ? (openBlock(), createBlock(_sfc_main$o, {
|
|
1011
1013
|
key: 0,
|
|
1012
1014
|
class: "!mt-[0px]",
|
|
1013
1015
|
"include-only": "trigger",
|
|
@@ -1442,7 +1444,7 @@ const _hoisted_1$l = {
|
|
|
1442
1444
|
default: withCtx(() => [
|
|
1443
1445
|
createVNode(R, { class: "elevated p-8 w-[450px]" }, {
|
|
1444
1446
|
default: withCtx(() => [
|
|
1445
|
-
createVNode(_sfc_main$
|
|
1447
|
+
createVNode(_sfc_main$p, {
|
|
1446
1448
|
"apply-button": !0,
|
|
1447
1449
|
"model-value": unref(y).date || "",
|
|
1448
1450
|
"start-date": e.startDate ? new Date(e.startDate) : /* @__PURE__ */ new Date(),
|
|
@@ -1669,7 +1671,7 @@ const _hoisted_1$l = {
|
|
|
1669
1671
|
}
|
|
1670
1672
|
)) == null ? void 0 : b.raw.type) !== "TITLE" ? (openBlock(), createElementBlock(Fragment, { key: 0 }, [
|
|
1671
1673
|
v[11] || (v[11] = createElementVNode("div", { class: "fm-typo-en-title-sm-800" }, "Earning option", -1)),
|
|
1672
|
-
createVNode(_sfc_main$
|
|
1674
|
+
createVNode(_sfc_main$q, {
|
|
1673
1675
|
class: "mt-[-8px]",
|
|
1674
1676
|
rules: [
|
|
1675
1677
|
unref(ZodHelper).ruleAtPath(unref(r), "earningOption", [unref(l).type])
|
|
@@ -1685,7 +1687,7 @@ const _hoisted_1$l = {
|
|
|
1685
1687
|
}, null, 8, ["rules", "helper-state", "error-text", "model-value"])
|
|
1686
1688
|
], 64)) : createCommentVNode("", !0),
|
|
1687
1689
|
v[12] || (v[12] = createElementVNode("div", { class: "fm-typo-en-title-sm-800" }, "Validity option", -1)),
|
|
1688
|
-
createVNode(_sfc_main$
|
|
1690
|
+
createVNode(_sfc_main$r, {
|
|
1689
1691
|
type: unref(l).type === "LOYALTY" ? "custom" : "range",
|
|
1690
1692
|
"for-credit": unref(l).type === "LOYALTY" && ((E = unref(u).loyaltyRewards.items.find(
|
|
1691
1693
|
(x) => {
|
|
@@ -1702,7 +1704,7 @@ const _hoisted_1$l = {
|
|
|
1702
1704
|
})
|
|
1703
1705
|
}, null, 8, ["type", "for-credit", "rules", "model-value"])
|
|
1704
1706
|
], 64)) : createCommentVNode("", !0),
|
|
1705
|
-
unref(l).type === "VOUCHER" ? (openBlock(), createBlock(_sfc_main$
|
|
1707
|
+
unref(l).type === "VOUCHER" ? (openBlock(), createBlock(_sfc_main$s, {
|
|
1706
1708
|
key: 2,
|
|
1707
1709
|
"reward-image": unref(o),
|
|
1708
1710
|
"model-value": ((S = unref(l)) == null ? void 0 : S.collectibleConfig) ?? void 0,
|
|
@@ -2321,7 +2323,7 @@ const _hoisted_1$c = { class: "space-y-16" }, _hoisted_2$9 = { class: "fm-typo-e
|
|
|
2321
2323
|
}, null, 8, ["rules", "items", "model-value"])) : createCommentVNode("", !0),
|
|
2322
2324
|
unref(o).type === "LOYALTY" ? (openBlock(), createElementBlock(Fragment, { key: 2 }, [
|
|
2323
2325
|
c[12] || (c[12] = createElementVNode("div", { class: "fm-typo-en-title-sm-800" }, "Earning option", -1)),
|
|
2324
|
-
createVNode(_sfc_main$
|
|
2326
|
+
createVNode(_sfc_main$q, {
|
|
2325
2327
|
class: "mt-[-8px]",
|
|
2326
2328
|
rules: [unref(ZodHelper).ruleAtPath(unref(p), "earningOption", [unref(o).type])],
|
|
2327
2329
|
"helper-state": unref(ZodHelper).helperState(unref(h), "earningOption"),
|
|
@@ -2333,7 +2335,7 @@ const _hoisted_1$c = { class: "space-y-16" }, _hoisted_2$9 = { class: "fm-typo-e
|
|
|
2333
2335
|
earningOption: N
|
|
2334
2336
|
})
|
|
2335
2337
|
}, null, 8, ["rules", "helper-state", "error-text", "model-value"]),
|
|
2336
|
-
createVNode(_sfc_main$
|
|
2338
|
+
createVNode(_sfc_main$r, {
|
|
2337
2339
|
class: "!gap-24",
|
|
2338
2340
|
type: unref(o).type === "LOYALTY" ? "custom" : "range",
|
|
2339
2341
|
"for-credit": unref(o).type === "LOYALTY" && ((x = unref(d).loyaltyRewards.items.find(
|
|
@@ -2350,7 +2352,7 @@ const _hoisted_1$c = { class: "space-y-16" }, _hoisted_2$9 = { class: "fm-typo-e
|
|
|
2350
2352
|
})
|
|
2351
2353
|
}, null, 8, ["type", "for-credit", "rules", "model-value"])
|
|
2352
2354
|
], 64)) : createCommentVNode("", !0),
|
|
2353
|
-
unref(o).type === "VOUCHER" ? (openBlock(), createBlock(_sfc_main$
|
|
2355
|
+
unref(o).type === "VOUCHER" ? (openBlock(), createBlock(_sfc_main$s, {
|
|
2354
2356
|
key: 3,
|
|
2355
2357
|
"reward-image": unref(a),
|
|
2356
2358
|
"model-value": ((R = unref(o)) == null ? void 0 : R.collectibleConfig) ?? void 0,
|
|
@@ -2810,7 +2812,7 @@ const _hoisted_1$2 = { key: 29 }, _sfc_main$2 = /* @__PURE__ */ defineComponent(
|
|
|
2810
2812
|
text: unref(ZodHelper).helperText(a(), ""),
|
|
2811
2813
|
state: unref(ZodHelper).helperState(a(), "")
|
|
2812
2814
|
}, null, 8, ["text", "state"])
|
|
2813
|
-
], 64)) : e.field.type === "image" ? (openBlock(), createBlock(_sfc_main$
|
|
2815
|
+
], 64)) : e.field.type === "image" ? (openBlock(), createBlock(_sfc_main$t, {
|
|
2814
2816
|
key: 5,
|
|
2815
2817
|
thumbnail: unref(o),
|
|
2816
2818
|
"aspect-ratio": "16 / 9",
|
|
@@ -2830,7 +2832,7 @@ const _hoisted_1$2 = { key: 29 }, _sfc_main$2 = /* @__PURE__ */ defineComponent(
|
|
|
2830
2832
|
rules: unref(r).rules,
|
|
2831
2833
|
"model-value": unref(o),
|
|
2832
2834
|
"onUpdate:modelValue": l
|
|
2833
|
-
}, null, 8, ["label", "sublabel", "label-mark", "rules", "model-value"])) : e.field.type === "collectible_options" ? (openBlock(), createBlock(_sfc_main$
|
|
2835
|
+
}, null, 8, ["label", "sublabel", "label-mark", "rules", "model-value"])) : e.field.type === "collectible_options" ? (openBlock(), createBlock(_sfc_main$u, {
|
|
2834
2836
|
key: 7,
|
|
2835
2837
|
"model-value": unref(o),
|
|
2836
2838
|
"onUpdate:modelValue": l,
|
|
@@ -2847,12 +2849,12 @@ const _hoisted_1$2 = { key: 29 }, _sfc_main$2 = /* @__PURE__ */ defineComponent(
|
|
|
2847
2849
|
"model-value": unref(o),
|
|
2848
2850
|
"onUpdate:modelValue": l,
|
|
2849
2851
|
schema: unref(r).schema
|
|
2850
|
-
}, null, 8, ["model-value", "schema"])) : e.field.type === "target_location" ? (openBlock(), createBlock(_sfc_main$
|
|
2852
|
+
}, null, 8, ["model-value", "schema"])) : e.field.type === "target_location" ? (openBlock(), createBlock(_sfc_main$v, {
|
|
2851
2853
|
key: 10,
|
|
2852
2854
|
"model-value": unref(o),
|
|
2853
2855
|
"onUpdate:modelValue": l
|
|
2854
2856
|
}, null, 8, ["model-value"])) : e.field.type == "effect" ? (openBlock(), createElementBlock(Fragment, { key: 11 }, [
|
|
2855
|
-
createVNode(_sfc_main$
|
|
2857
|
+
createVNode(_sfc_main$w, {
|
|
2856
2858
|
"model-value": unref(o),
|
|
2857
2859
|
"onUpdate:modelValue": l,
|
|
2858
2860
|
"can-set-auto-apply": e.field.property == "campaign.effect"
|
|
@@ -2874,7 +2876,7 @@ const _hoisted_1$2 = { key: 29 }, _sfc_main$2 = /* @__PURE__ */ defineComponent(
|
|
|
2874
2876
|
text: unref(n)("connect.campaign.common.effect_required"),
|
|
2875
2877
|
state: "error"
|
|
2876
2878
|
}, null, 8, ["text"]))
|
|
2877
|
-
], 64)) : e.field.type === "message" ? (openBlock(), createBlock(_sfc_main$
|
|
2879
|
+
], 64)) : e.field.type === "message" ? (openBlock(), createBlock(_sfc_main$x, {
|
|
2878
2880
|
key: 13,
|
|
2879
2881
|
"allow-email": !0,
|
|
2880
2882
|
"allow-whatsapp": !0,
|
|
@@ -2883,13 +2885,13 @@ const _hoisted_1$2 = { key: 29 }, _sfc_main$2 = /* @__PURE__ */ defineComponent(
|
|
|
2883
2885
|
"helper-text": unref(ZodHelper).helperText(a(), ""),
|
|
2884
2886
|
"trigger-type": e.field.extras,
|
|
2885
2887
|
"helper-state": unref(ZodHelper).helperState(a(), "")
|
|
2886
|
-
}, null, 8, ["model-value", "helper-text", "trigger-type", "helper-state"])) : e.field.type === "earning_option" ? (openBlock(), createBlock(_sfc_main$
|
|
2888
|
+
}, null, 8, ["model-value", "helper-text", "trigger-type", "helper-state"])) : e.field.type === "earning_option" ? (openBlock(), createBlock(_sfc_main$q, {
|
|
2887
2889
|
key: 14,
|
|
2888
2890
|
"model-value": unref(o),
|
|
2889
2891
|
"onUpdate:modelValue": l,
|
|
2890
2892
|
extras: e.extras,
|
|
2891
2893
|
"error-text": e.helperText
|
|
2892
|
-
}, null, 8, ["model-value", "extras", "error-text"])) : e.field.type === "validity_option" ? (openBlock(), createBlock(_sfc_main$
|
|
2894
|
+
}, null, 8, ["model-value", "extras", "error-text"])) : e.field.type === "validity_option" ? (openBlock(), createBlock(_sfc_main$r, {
|
|
2893
2895
|
key: 15,
|
|
2894
2896
|
type: "custom",
|
|
2895
2897
|
"model-value": unref(o),
|
|
@@ -2937,7 +2939,7 @@ const _hoisted_1$2 = { key: 29 }, _sfc_main$2 = /* @__PURE__ */ defineComponent(
|
|
|
2937
2939
|
state: "error"
|
|
2938
2940
|
}, null, 8, ["text"])) : createCommentVNode("", !0)
|
|
2939
2941
|
], 64)) : e.field.type === "rule_user" ? (openBlock(), createElementBlock(Fragment, { key: 23 }, [
|
|
2940
|
-
createVNode(_sfc_main$
|
|
2942
|
+
createVNode(_sfc_main$y, {
|
|
2941
2943
|
"model-value": unref(o),
|
|
2942
2944
|
"onUpdate:modelValue": l
|
|
2943
2945
|
}, null, 8, ["model-value"]),
|
|
@@ -2964,7 +2966,7 @@ const _hoisted_1$2 = { key: 29 }, _sfc_main$2 = /* @__PURE__ */ defineComponent(
|
|
|
2964
2966
|
state: "error"
|
|
2965
2967
|
}, null, 8, ["text"])) : createCommentVNode("", !0)
|
|
2966
2968
|
], 64)) : e.field.type === "rule_bill" ? (openBlock(), createElementBlock(Fragment, { key: 25 }, [
|
|
2967
|
-
createVNode(_sfc_main$
|
|
2969
|
+
createVNode(_sfc_main$z, {
|
|
2968
2970
|
"model-value": unref(o),
|
|
2969
2971
|
"onUpdate:modelValue": l
|
|
2970
2972
|
}, null, 8, ["model-value"]),
|
|
@@ -2975,7 +2977,7 @@ const _hoisted_1$2 = { key: 29 }, _sfc_main$2 = /* @__PURE__ */ defineComponent(
|
|
|
2975
2977
|
state: "error"
|
|
2976
2978
|
}, null, 8, ["text"])) : createCommentVNode("", !0)
|
|
2977
2979
|
], 64)) : e.field.type === "rule_feedback" ? (openBlock(), createElementBlock(Fragment, { key: 26 }, [
|
|
2978
|
-
createVNode(_sfc_main$
|
|
2980
|
+
createVNode(_sfc_main$A, {
|
|
2979
2981
|
"model-value": unref(o),
|
|
2980
2982
|
"onUpdate:modelValue": l
|
|
2981
2983
|
}, null, 8, ["model-value"]),
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { defineComponent as B, ref as O, onMounted as Q, computed as G, resolveComponent as x, openBlock as d, createElementBlock as b, renderSlot as W, toDisplayString as V, createCommentVNode as f, createBlock as u, unref as e, isRef as q, createVNode as
|
|
2
|
-
import { z as te,
|
|
3
|
-
import { Z as r } from "./zod-
|
|
4
|
-
import {
|
|
5
|
-
import { u as
|
|
6
|
-
import { s as
|
|
7
|
-
import { p as ne } from "./plugins-
|
|
1
|
+
import { defineComponent as B, ref as O, onMounted as Q, computed as G, resolveComponent as x, openBlock as d, createElementBlock as b, renderSlot as W, toDisplayString as V, createCommentVNode as f, createBlock as u, unref as e, isRef as q, createVNode as w, normalizeClass as Z, watch as X, withCtx as h, resolveDynamicComponent as P, Fragment as _, createElementVNode as k, createTextVNode as ee } from "vue";
|
|
2
|
+
import { z as te, f as le } from "./app-J8VIC7-H.js";
|
|
3
|
+
import { Z as r } from "./zod-DVw24Ejy.js";
|
|
4
|
+
import { i as oe, h as ae } from "./index-BOVnM3gL.js";
|
|
5
|
+
import { u as T } from "./vue-i18n-DowpocqN.js";
|
|
6
|
+
import { s as g } from "./effect-DBeGoMNE.js";
|
|
7
|
+
import { p as ne } from "./plugins-696Z9K6A.js";
|
|
8
8
|
const ie = { class: "flex flex-col gap-8" }, de = {
|
|
9
9
|
key: 0,
|
|
10
10
|
class: "fm-typo-en-body-lg-600"
|
|
@@ -40,7 +40,7 @@ const ie = { class: "flex flex-col gap-8" }, de = {
|
|
|
40
40
|
emits: ["update:model-value"],
|
|
41
41
|
setup(t, { emit: C }) {
|
|
42
42
|
var A, U;
|
|
43
|
-
const { t: n } =
|
|
43
|
+
const { t: n } = T(), i = t, v = C, a = [
|
|
44
44
|
{ label: n("connect.template.validity_option.date_range"), value: "range" },
|
|
45
45
|
{ label: n("connect.template.validity_option.custom"), value: "custom" }
|
|
46
46
|
], c = O(!1);
|
|
@@ -51,10 +51,10 @@ const ie = { class: "flex flex-col gap-8" }, de = {
|
|
|
51
51
|
});
|
|
52
52
|
const l = O(
|
|
53
53
|
i.type ? a.find((m) => m.value === i.type) : (A = i.modelValue) != null && A.validBefore || (U = i.modelValue) != null && U.validAfter ? a[0] : a[1]
|
|
54
|
-
),
|
|
54
|
+
), S = G(
|
|
55
55
|
() => i.forCredit ? oe : ae
|
|
56
56
|
), y = G(() => {
|
|
57
|
-
const m =
|
|
57
|
+
const m = S.value.safeParse(i.modelValue);
|
|
58
58
|
return m.success ? [] : m.error.errors;
|
|
59
59
|
});
|
|
60
60
|
function o(m) {
|
|
@@ -75,7 +75,7 @@ const ie = { class: "flex flex-col gap-8" }, de = {
|
|
|
75
75
|
}
|
|
76
76
|
return (m, s) => {
|
|
77
77
|
var E, $, j, M, H, N, L, z;
|
|
78
|
-
const R = x("FmButtonGroup"), Y = x("FmSimpleDateRangePicker"), J = x("FmSwitch"), K = x("FmStepperField"),
|
|
78
|
+
const R = x("FmButtonGroup"), Y = x("FmSimpleDateRangePicker"), J = x("FmSwitch"), K = x("FmStepperField"), I = x("FmHelperText");
|
|
79
79
|
return d(), b("div", ie, [
|
|
80
80
|
W(m.$slots, "label", {}, () => [
|
|
81
81
|
t.label ? (d(), b("div", de, V(t.label), 1)) : f("", !0)
|
|
@@ -90,7 +90,7 @@ const ie = { class: "flex flex-col gap-8" }, de = {
|
|
|
90
90
|
items: a
|
|
91
91
|
}, null, 8, ["modelValue"])),
|
|
92
92
|
e(l).value === "range" ? (d(), b("div", se, [
|
|
93
|
-
|
|
93
|
+
w(Y, {
|
|
94
94
|
"model-value": {
|
|
95
95
|
startDate: (E = t.modelValue) != null && E.validAfter ? new Date(($ = t.modelValue) == null ? void 0 : $.validAfter).toISOString() : null,
|
|
96
96
|
endDate: (j = t.modelValue) != null && j.validAfter ? new Date(((M = t.modelValue) == null ? void 0 : M.validBefore) || "").toISOString() : null
|
|
@@ -139,11 +139,11 @@ const ie = { class: "flex flex-col gap-8" }, de = {
|
|
|
139
139
|
})
|
|
140
140
|
}, null, 8, ["label", "class", "disabled", "append-text", "model-value"])) : f("", !0)
|
|
141
141
|
])) : f("", !0),
|
|
142
|
-
((N = i.modelValue) == null ? void 0 : N.followFirstReceive) === !0 && e(c) ? (d(), u(
|
|
142
|
+
((N = i.modelValue) == null ? void 0 : N.followFirstReceive) === !0 && e(c) ? (d(), u(I, {
|
|
143
143
|
key: 3,
|
|
144
144
|
text: e(n)("connect.template.validity_option.expire_follow_first_receive")
|
|
145
145
|
}, null, 8, ["text"])) : f("", !0),
|
|
146
|
-
|
|
146
|
+
w(I, {
|
|
147
147
|
text: t.helperText || (((L = i.modelValue) == null ? void 0 : L.validForDay) === 0 ? e(n)("connect.template.validity_option.expires_on_same_day") : e(r).helperText(e(y), "")),
|
|
148
148
|
state: t.helperText ? "error" : ((z = i.modelValue) == null ? void 0 : z.validForDay) === 0 ? "warning" : e(r).helperState(e(y), "")
|
|
149
149
|
}, null, 8, ["text", "state"])
|
|
@@ -170,11 +170,11 @@ const ie = { class: "flex flex-col gap-8" }, de = {
|
|
|
170
170
|
},
|
|
171
171
|
emits: ["update:model-value"],
|
|
172
172
|
setup(t, { emit: C }) {
|
|
173
|
-
const { t: n } =
|
|
173
|
+
const { t: n } = T(), i = t, v = C, a = O(i.modelValue ?? {});
|
|
174
174
|
return X(a, () => v("update:model-value", a.value)), (c, l) => {
|
|
175
|
-
const
|
|
175
|
+
const S = x("FmSwitch"), y = x("FmStepperField");
|
|
176
176
|
return d(), b("div", ue, [
|
|
177
|
-
t.isMission ? f("", !0) : (d(), u(
|
|
177
|
+
t.isMission ? f("", !0) : (d(), u(S, {
|
|
178
178
|
key: 0,
|
|
179
179
|
label: e(n)("connect.template.enable_transfer"),
|
|
180
180
|
"label-placement": "right",
|
|
@@ -185,14 +185,14 @@ const ie = { class: "flex flex-col gap-8" }, de = {
|
|
|
185
185
|
key: 1,
|
|
186
186
|
class: Z(["grid gap-16", t.isMission ? "" : "grid-cols-2"])
|
|
187
187
|
}, [
|
|
188
|
-
|
|
188
|
+
w(y, {
|
|
189
189
|
modelValue: e(a).maxPerUser,
|
|
190
190
|
"onUpdate:modelValue": l[1] || (l[1] = (o) => e(a).maxPerUser = o),
|
|
191
191
|
"show-steppers": !1,
|
|
192
192
|
rules: [e(r).ruleAtPath(t.schema, "maxPerUser")],
|
|
193
193
|
"helper-text": e(n)("connect.template.leave_empty_unlimited")
|
|
194
194
|
}, {
|
|
195
|
-
label:
|
|
195
|
+
label: h(() => [
|
|
196
196
|
(d(), u(P(
|
|
197
197
|
e(r).toInputLabel(
|
|
198
198
|
e(r).typeAtPath(t.schema, "maxPerUser"),
|
|
@@ -210,7 +210,7 @@ const ie = { class: "flex flex-col gap-8" }, de = {
|
|
|
210
210
|
rules: [e(r).ruleAtPath(t.schema, "maxReceive")],
|
|
211
211
|
"helper-text": e(n)("connect.template.leave_empty_unlimited")
|
|
212
212
|
}, {
|
|
213
|
-
label:
|
|
213
|
+
label: h(() => [
|
|
214
214
|
(d(), u(P(
|
|
215
215
|
e(r).toInputLabel(
|
|
216
216
|
e(r).typeAtPath(t.schema, "maxReceive"),
|
|
@@ -222,14 +222,14 @@ const ie = { class: "flex flex-col gap-8" }, de = {
|
|
|
222
222
|
}, 8, ["modelValue", "rules", "helper-text"]))
|
|
223
223
|
], 2)),
|
|
224
224
|
t.isMission ? f("", !0) : (d(), b(_, { key: 2 }, [
|
|
225
|
-
|
|
225
|
+
w(y, {
|
|
226
226
|
modelValue: e(a).maxUse,
|
|
227
227
|
"onUpdate:modelValue": l[3] || (l[3] = (o) => e(a).maxUse = o),
|
|
228
228
|
"append-text": "use(s)",
|
|
229
229
|
"show-steppers": !1,
|
|
230
230
|
rules: [e(r).ruleAtPath(t.schema, "maxUse")]
|
|
231
231
|
}, {
|
|
232
|
-
label:
|
|
232
|
+
label: h(() => [
|
|
233
233
|
(d(), u(P(
|
|
234
234
|
e(r).toInputLabel(
|
|
235
235
|
e(r).typeAtPath(t.schema, "maxUse"),
|
|
@@ -247,7 +247,7 @@ const ie = { class: "flex flex-col gap-8" }, de = {
|
|
|
247
247
|
"show-steppers": !1,
|
|
248
248
|
rules: [e(r).ruleAtPath(t.schema, "cooldown")]
|
|
249
249
|
}, {
|
|
250
|
-
label:
|
|
250
|
+
label: h(() => [
|
|
251
251
|
(d(), u(P(
|
|
252
252
|
e(r).toInputLabel(
|
|
253
253
|
e(r).typeAtPath(t.schema, "cooldown"),
|
|
@@ -257,7 +257,7 @@ const ie = { class: "flex flex-col gap-8" }, de = {
|
|
|
257
257
|
]),
|
|
258
258
|
_: 1
|
|
259
259
|
}, 8, ["modelValue", "rules"])) : f("", !0),
|
|
260
|
-
|
|
260
|
+
w(re, {
|
|
261
261
|
modelValue: e(a).validityOption,
|
|
262
262
|
"onUpdate:modelValue": l[5] || (l[5] = (o) => e(a).validityOption = o),
|
|
263
263
|
label: e(n)("connect.template.validity_option.title")
|
|
@@ -282,12 +282,12 @@ const ie = { class: "flex flex-col gap-8" }, de = {
|
|
|
282
282
|
},
|
|
283
283
|
emits: ["update:model-value"],
|
|
284
284
|
setup(t, { emit: C }) {
|
|
285
|
-
const { t: n } =
|
|
285
|
+
const { t: n } = T(), i = C, v = O(!1);
|
|
286
286
|
async function a(c) {
|
|
287
287
|
c.stopPropagation(), await ne.remove(n("connect.effect.removeConfirm")) && i("update:model-value", null);
|
|
288
288
|
}
|
|
289
289
|
return (c, l) => {
|
|
290
|
-
const
|
|
290
|
+
const S = x("FmButton"), y = x("FmSideSheet");
|
|
291
291
|
return d(), u(y, {
|
|
292
292
|
"max-width": 550,
|
|
293
293
|
header: e(n)("connect.effect.title"),
|
|
@@ -297,24 +297,24 @@ const ie = { class: "flex flex-col gap-8" }, de = {
|
|
|
297
297
|
l[3] || (l[3] = (o) => v.value = o)
|
|
298
298
|
]
|
|
299
299
|
}, {
|
|
300
|
-
"side-sheet-button":
|
|
300
|
+
"side-sheet-button": h(() => {
|
|
301
301
|
var o, D, A, U, m, s;
|
|
302
302
|
return [
|
|
303
303
|
k("div", ce, [
|
|
304
304
|
k("div", pe, V(e(n)("connect.effect.description")), 1),
|
|
305
305
|
t.modelValue ? (d(), b("div", fe, [
|
|
306
306
|
k("div", ve, [
|
|
307
|
-
k("div", null, V((o = e(
|
|
308
|
-
k("div", ye, V((D = e(
|
|
309
|
-
(m = e(
|
|
307
|
+
k("div", null, V((o = e(g)(t.modelValue)) == null ? void 0 : o.type), 1),
|
|
308
|
+
k("div", ye, V((D = e(g)(t.modelValue)) == null ? void 0 : D.adjustment) + " " + V(e(n)("connect.effect.with")) + " " + V((A = e(g)(t.modelValue)) == null ? void 0 : A.requirements) + " " + V((U = e(g)(t.modelValue)) == null ? void 0 : U.maxCap), 1),
|
|
309
|
+
(m = e(g)(t.modelValue)) != null && m.posHint ? (d(), b("div", Ve, V((s = e(g)(t.modelValue)) == null ? void 0 : s.posHint), 1)) : f("", !0)
|
|
310
310
|
]),
|
|
311
|
-
|
|
311
|
+
w(S, {
|
|
312
312
|
icon: "delete",
|
|
313
313
|
"icon-color": "neutral-gray-400",
|
|
314
314
|
variant: "tertiary",
|
|
315
315
|
onClick: a
|
|
316
316
|
})
|
|
317
|
-
])) : (d(), u(
|
|
317
|
+
])) : (d(), u(S, {
|
|
318
318
|
key: 0,
|
|
319
319
|
label: e(n)("connect.effect.title"),
|
|
320
320
|
icon: "add",
|
|
@@ -325,11 +325,11 @@ const ie = { class: "flex flex-col gap-8" }, de = {
|
|
|
325
325
|
])
|
|
326
326
|
];
|
|
327
327
|
}),
|
|
328
|
-
"side-sheet-footer":
|
|
328
|
+
"side-sheet-footer": h(() => [...l[4] || (l[4] = [
|
|
329
329
|
ee(V(void 0), -1)
|
|
330
330
|
])]),
|
|
331
|
-
default:
|
|
332
|
-
|
|
331
|
+
default: h(() => [
|
|
332
|
+
w(e(le), {
|
|
333
333
|
class: "fm-effect-sheet",
|
|
334
334
|
title: "",
|
|
335
335
|
"can-set-auto-apply": t.canSetAutoApply,
|