@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,22 +1,22 @@
|
|
|
1
|
-
import { defineComponent as P, computed as M, resolveComponent as k, openBlock as r, createElementBlock as V, createElementVNode as C, createVNode as v, unref as e, createTextVNode as ne, toDisplayString as A, withCtx as B, onMounted as
|
|
2
|
-
import {
|
|
3
|
-
import { R as Y,
|
|
1
|
+
import { defineComponent as P, computed as M, resolveComponent as k, openBlock as r, createElementBlock as V, createElementVNode as C, createVNode as v, unref as e, createTextVNode as ne, toDisplayString as A, withCtx as B, onMounted as J, createBlock as g, createCommentVNode as N, ref as W, watch as pe, Fragment as w, renderList as $, normalizeClass as K, resolveDynamicComponent as me, onBeforeMount as ce, isRef as fe, createSlots as ye } from "vue";
|
|
2
|
+
import { n as ge, C as _e, q as ke, f as he, r as Ee } from "./index-BOVnM3gL.js";
|
|
3
|
+
import { R as Y, i as Ve } from "./index-BRCB6yJ6.js";
|
|
4
4
|
import { useDialog as ue, useDialogChild as ve, useSnackbar as Te } from "@feedmepos/ui-library";
|
|
5
|
-
import { u as G } from "./vue-i18n-
|
|
6
|
-
import { a as Se, R as
|
|
7
|
-
import { p as Ue } from "./plugins-
|
|
5
|
+
import { u as G } from "./vue-i18n-DowpocqN.js";
|
|
6
|
+
import { a as Se, R as q, S as Fe, C as j, g as xe, W as Re, T as ie, O as de } from "./rule-BUGAimk8.js";
|
|
7
|
+
import { p as Ue } from "./plugins-696Z9K6A.js";
|
|
8
8
|
import { h as ae } from "./moment-D7p2TMB-.js";
|
|
9
|
-
import { z as Ce } from "./app-
|
|
10
|
-
import { u as X } from "./membership-
|
|
11
|
-
import { u as te } from "./business-
|
|
12
|
-
import "./index-
|
|
9
|
+
import { z as Ce, J as Ye } from "./app-J8VIC7-H.js";
|
|
10
|
+
import { u as X } from "./membership-CIQCEKiL.js";
|
|
11
|
+
import { u as te } from "./business-BonuheMK.js";
|
|
12
|
+
import "./index-D9f3AIaO.js";
|
|
13
13
|
import { _ as O } from "./CustomSelect.vue_vue_type_script_setup_true_lang-Du7fRSZC.js";
|
|
14
14
|
import { c as be } from "./object-BYyQ0PZp.js";
|
|
15
|
-
import { Z as le } from "./zod-
|
|
16
|
-
import
|
|
17
|
-
import "./index-
|
|
18
|
-
import "./index-
|
|
19
|
-
const Oe = { class: "flex items-center justify-between" }, De = { class: "flex items-center gap-8 xs:flex-wrap" },
|
|
15
|
+
import { Z as le } from "./zod-DVw24Ejy.js";
|
|
16
|
+
import "./index-BZKKS7jO.js";
|
|
17
|
+
import "./index-CrMBqkKk.js";
|
|
18
|
+
import "./index-CM9GTQIo.js";
|
|
19
|
+
const Oe = { class: "flex items-center justify-between" }, De = { class: "flex items-center gap-8 xs:flex-wrap" }, qe = { class: "text-fm-color-primary line-clamp-1 text-ellipsis" }, we = /* @__PURE__ */ P({
|
|
20
20
|
__name: "RuleEntry",
|
|
21
21
|
props: {
|
|
22
22
|
modelValue: {
|
|
@@ -65,7 +65,7 @@ const Oe = { class: "flex items-center justify-between" }, De = { class: "flex i
|
|
|
65
65
|
content: e(n)[1]
|
|
66
66
|
}, {
|
|
67
67
|
default: B(() => [
|
|
68
|
-
C("div",
|
|
68
|
+
C("div", qe, A(e(n)[1]), 1)
|
|
69
69
|
]),
|
|
70
70
|
_: 1
|
|
71
71
|
}, 8, ["content"])
|
|
@@ -353,7 +353,7 @@ const Be = [
|
|
|
353
353
|
emits: ["update:model-value"],
|
|
354
354
|
setup(l, { emit: R }) {
|
|
355
355
|
const { t: _ } = G(), m = l, f = R;
|
|
356
|
-
|
|
356
|
+
J(() => {
|
|
357
357
|
m.modelValue || f("update:model-value", {
|
|
358
358
|
op: "before",
|
|
359
359
|
x: 1
|
|
@@ -427,7 +427,7 @@ const Be = [
|
|
|
427
427
|
emits: ["update:model-value"],
|
|
428
428
|
setup(l, { emit: R }) {
|
|
429
429
|
const { t: _ } = G(), m = l, f = R;
|
|
430
|
-
|
|
430
|
+
J(() => {
|
|
431
431
|
m.modelValue || f("update:model-value", {
|
|
432
432
|
op: "this",
|
|
433
433
|
unit: "day",
|
|
@@ -518,10 +518,10 @@ const Be = [
|
|
|
518
518
|
}, Ge = { class: "flex gap-4 xs:gap-[2px]" }, Qe = { class: "grid grid-cols-6 gap-8" }, ze = {
|
|
519
519
|
key: 0,
|
|
520
520
|
class: "grid grid-cols-7 overflow-hidden rounded-md border-1"
|
|
521
|
-
}, Xe = ["onClick"],
|
|
521
|
+
}, Xe = ["onClick"], Je = {
|
|
522
522
|
key: 1,
|
|
523
523
|
class: "grid grid-cols-2 items-center gap-8"
|
|
524
|
-
},
|
|
524
|
+
}, Ze = { class: "flex gap-4" }, et = {
|
|
525
525
|
key: 4,
|
|
526
526
|
class: "flex items-center justify-end gap-8"
|
|
527
527
|
}, re = /* @__PURE__ */ P({
|
|
@@ -544,7 +544,7 @@ const Be = [
|
|
|
544
544
|
setup(l, { emit: R }) {
|
|
545
545
|
const { t: _ } = G(), m = l, f = R;
|
|
546
546
|
function n(o, i) {
|
|
547
|
-
return new
|
|
547
|
+
return new q({
|
|
548
548
|
...o,
|
|
549
549
|
dtstart: xe({
|
|
550
550
|
startDate: m.startDate,
|
|
@@ -553,10 +553,10 @@ const Be = [
|
|
|
553
553
|
});
|
|
554
554
|
}
|
|
555
555
|
const t = W(
|
|
556
|
-
m.modelValue ?
|
|
556
|
+
m.modelValue ? q.fromString(m.modelValue) : n({
|
|
557
557
|
dtstart: m.startDate,
|
|
558
|
-
freq:
|
|
559
|
-
wkst:
|
|
558
|
+
freq: q.DAILY,
|
|
559
|
+
wkst: q.SU,
|
|
560
560
|
interval: 1,
|
|
561
561
|
byhour: 0,
|
|
562
562
|
byminute: 0,
|
|
@@ -567,7 +567,7 @@ const Be = [
|
|
|
567
567
|
var i;
|
|
568
568
|
if ("freq" in o)
|
|
569
569
|
switch (o.freq) {
|
|
570
|
-
case
|
|
570
|
+
case q.WEEKLY:
|
|
571
571
|
t.value = n(
|
|
572
572
|
{
|
|
573
573
|
freq: o.freq,
|
|
@@ -575,13 +575,13 @@ const Be = [
|
|
|
575
575
|
byhour: 0,
|
|
576
576
|
byminute: 0,
|
|
577
577
|
bysecond: 0,
|
|
578
|
-
wkst:
|
|
579
|
-
byweekday: [
|
|
578
|
+
wkst: q.SU,
|
|
579
|
+
byweekday: [q.MO]
|
|
580
580
|
},
|
|
581
581
|
t.value
|
|
582
582
|
);
|
|
583
583
|
break;
|
|
584
|
-
case
|
|
584
|
+
case q.MONTHLY:
|
|
585
585
|
t.value = n(
|
|
586
586
|
{
|
|
587
587
|
freq: o.freq,
|
|
@@ -590,12 +590,12 @@ const Be = [
|
|
|
590
590
|
byminute: 0,
|
|
591
591
|
bysecond: 0,
|
|
592
592
|
bymonthday: [(/* @__PURE__ */ new Date()).getDate()],
|
|
593
|
-
wkst:
|
|
593
|
+
wkst: q.SU
|
|
594
594
|
},
|
|
595
595
|
t.value
|
|
596
596
|
);
|
|
597
597
|
break;
|
|
598
|
-
case
|
|
598
|
+
case q.YEARLY:
|
|
599
599
|
t.value = n(
|
|
600
600
|
{
|
|
601
601
|
freq: o.freq,
|
|
@@ -603,7 +603,7 @@ const Be = [
|
|
|
603
603
|
byhour: 0,
|
|
604
604
|
byminute: 0,
|
|
605
605
|
bysecond: 0,
|
|
606
|
-
wkst:
|
|
606
|
+
wkst: q.SU,
|
|
607
607
|
bymonth: [(/* @__PURE__ */ new Date()).getMonth() + 1],
|
|
608
608
|
bymonthday: [(/* @__PURE__ */ new Date()).getDate()]
|
|
609
609
|
},
|
|
@@ -618,7 +618,7 @@ const Be = [
|
|
|
618
618
|
byhour: 0,
|
|
619
619
|
byminute: 0,
|
|
620
620
|
bysecond: 0,
|
|
621
|
-
wkst:
|
|
621
|
+
wkst: q.SU
|
|
622
622
|
},
|
|
623
623
|
t.value
|
|
624
624
|
);
|
|
@@ -629,7 +629,7 @@ const Be = [
|
|
|
629
629
|
interval: o.interval
|
|
630
630
|
},
|
|
631
631
|
t.value
|
|
632
|
-
)), "byweekday" in o && o.byweekday && Array.isArray(o.byweekday) && o.byweekday.length > 0 && (t.value.options.bymonthday.length > 0 && t.value.options.freq ==
|
|
632
|
+
)), "byweekday" in o && o.byweekday && Array.isArray(o.byweekday) && o.byweekday.length > 0 && (t.value.options.bymonthday.length > 0 && t.value.options.freq == q.MONTHLY && (t.value.options.bymonthday = []), t.value = n(
|
|
633
633
|
{
|
|
634
634
|
...t.value.origOptions,
|
|
635
635
|
bymonthday: [],
|
|
@@ -674,9 +674,9 @@ const Be = [
|
|
|
674
674
|
return pe(
|
|
675
675
|
() => m.modelValue,
|
|
676
676
|
(o) => {
|
|
677
|
-
!o || o === t.value.toString() || (t.value =
|
|
677
|
+
!o || o === t.value.toString() || (t.value = q.fromString(o));
|
|
678
678
|
}
|
|
679
|
-
),
|
|
679
|
+
), J(() => {
|
|
680
680
|
m.modelValue || f("update:model-value", t.value.toString());
|
|
681
681
|
}), (o, i) => {
|
|
682
682
|
var D, c, s;
|
|
@@ -698,10 +698,10 @@ const Be = [
|
|
|
698
698
|
"onUpdate:modelValue": i[1] || (i[1] = (a) => d({ freq: a }))
|
|
699
699
|
}, null, 8, ["items", "model-value"])
|
|
700
700
|
])),
|
|
701
|
-
e(t).options.freq === e(
|
|
701
|
+
e(t).options.freq === e(q).WEEKLY ? (r(), V(w, { key: 1 }, [
|
|
702
702
|
i[8] || (i[8] = C("div", null, "Repeat on", -1)),
|
|
703
703
|
C("div", He, [
|
|
704
|
-
(r(!0), V(
|
|
704
|
+
(r(!0), V(w, null, $(e(j).weekdays, (a) => {
|
|
705
705
|
var y;
|
|
706
706
|
return r(), g(b, {
|
|
707
707
|
class: K(["cursor-pointer", `${(y = e(t).options.byweekday) != null && y.includes(a.value) ? "bg-fm-color-primary text-white" : "bg-fm-color-neutral-gray-200 text-black"}`]),
|
|
@@ -718,7 +718,7 @@ const Be = [
|
|
|
718
718
|
}), 128))
|
|
719
719
|
])
|
|
720
720
|
], 64)) : N("", !0),
|
|
721
|
-
e(t).options.freq == e(
|
|
721
|
+
e(t).options.freq == e(q).MONTHLY ? (r(), V(w, { key: 2 }, [
|
|
722
722
|
v(h, {
|
|
723
723
|
"model-value": e(t).options.bymonthday.length ? { label: "Each" } : { label: "On the" },
|
|
724
724
|
items: [
|
|
@@ -734,7 +734,7 @@ const Be = [
|
|
|
734
734
|
})
|
|
735
735
|
}, null, 8, ["model-value"]),
|
|
736
736
|
e(t).options.bymonthday.length > 0 ? (r(), V("div", We, [
|
|
737
|
-
(r(!0), V(
|
|
737
|
+
(r(!0), V(w, null, $(e(j).dates, (a) => (r(), V("div", {
|
|
738
738
|
key: a.value,
|
|
739
739
|
class: K(["cursor-pointer text-center outline-1 outline-fm-color-neutral-gray-100 outline", `${e(t).options.bymonthday.includes(a.value) ? "bg-fm-color-primary text-fm-color-typo-white outline-transparent" : "bg-transparent text-fm-color-typo-primary"} ${a.value == 31 ? "border-r" : ""}`]),
|
|
740
740
|
onClick: (y) => d({
|
|
@@ -748,7 +748,7 @@ const Be = [
|
|
|
748
748
|
"onUpdate:modelValue": i[3] || (i[3] = (a) => d({ bysetpos: a }))
|
|
749
749
|
}, null, 8, ["items", "model-value"]),
|
|
750
750
|
C("div", Ge, [
|
|
751
|
-
(r(!0), V(
|
|
751
|
+
(r(!0), V(w, null, $(e(j).weekdays, (a) => {
|
|
752
752
|
var y;
|
|
753
753
|
return r(), g(b, {
|
|
754
754
|
class: K(["cursor-pointer", `${(y = e(t).options.byweekday) != null && y.includes(a.value) ? "bg-fm-color-primary text-white" : "bg-fm-color-neutral-gray-200 text-black"}`]),
|
|
@@ -765,10 +765,10 @@ const Be = [
|
|
|
765
765
|
])
|
|
766
766
|
]))
|
|
767
767
|
], 64)) : N("", !0),
|
|
768
|
-
e(t).options.freq == e(
|
|
768
|
+
e(t).options.freq == e(q).YEARLY ? (r(), V(w, { key: 3 }, [
|
|
769
769
|
i[9] || (i[9] = C("div", null, "Month", -1)),
|
|
770
770
|
C("div", Qe, [
|
|
771
|
-
(r(!0), V(
|
|
771
|
+
(r(!0), V(w, null, $(e(j).months, (a) => {
|
|
772
772
|
var y, T;
|
|
773
773
|
return r(), g(b, {
|
|
774
774
|
key: a.value,
|
|
@@ -801,20 +801,20 @@ const Be = [
|
|
|
801
801
|
bymonthday: [1],
|
|
802
802
|
bymonth: e(t).options.bymonth ?? [1]
|
|
803
803
|
}) : d({
|
|
804
|
-
byweekday: [e(
|
|
804
|
+
byweekday: [e(q).SU.nth(1)],
|
|
805
805
|
bymonth: e(t).options.bymonth ?? [1]
|
|
806
806
|
});
|
|
807
807
|
})
|
|
808
808
|
}, null, 8, ["model-value"]),
|
|
809
809
|
e(t).options.bymonthday.length > 0 ? (r(), V("div", ze, [
|
|
810
|
-
(r(!0), V(
|
|
810
|
+
(r(!0), V(w, null, $(Array(31).fill(null).map((a, y) => y + 1), (a) => (r(), V("div", {
|
|
811
811
|
key: a,
|
|
812
812
|
class: K(["cursor-pointer text-center outline-1 outline-fm-color-neutral-gray-100 outline", `${e(t).options.bymonthday.includes(a) ? "bg-fm-color-primary text-fm-color-typo-white outline-transparent" : "bg-transparent text-fm-color-typo-primary"} ${a == 31 ? "border-r" : ""}`]),
|
|
813
813
|
onClick: (y) => d({
|
|
814
814
|
bymonthday: e(t).options.bymonthday.includes(a) ? e(t).options.bymonthday.filter((T) => T !== a) : [...e(t).options.bymonthday, a]
|
|
815
815
|
})
|
|
816
816
|
}, A(a), 11, Xe))), 128))
|
|
817
|
-
])) : (r(), V("div",
|
|
817
|
+
])) : (r(), V("div", Je, [
|
|
818
818
|
v(O, {
|
|
819
819
|
items: e(j).ordinals,
|
|
820
820
|
"model-value": (s = (c = e(t).options.bynweekday) == null ? void 0 : c[0]) == null ? void 0 : s[1],
|
|
@@ -825,8 +825,8 @@ const Be = [
|
|
|
825
825
|
});
|
|
826
826
|
})
|
|
827
827
|
}, null, 8, ["items", "model-value"]),
|
|
828
|
-
C("div",
|
|
829
|
-
(r(!0), V(
|
|
828
|
+
C("div", Ze, [
|
|
829
|
+
(r(!0), V(w, null, $(e(j).weekdays, (a) => {
|
|
830
830
|
var y, T;
|
|
831
831
|
return r(), g(b, {
|
|
832
832
|
class: K(["cursor-pointer", `${((T = (y = e(t).options.bynweekday) == null ? void 0 : y[0]) == null ? void 0 : T[0]) === a.value ? "bg-fm-color-primary text-white" : "bg-fm-color-neutral-gray-200 text-black"}`]),
|
|
@@ -875,12 +875,12 @@ const Be = [
|
|
|
875
875
|
shortName: ae().month(t).format("MMM"),
|
|
876
876
|
value: t
|
|
877
877
|
}));
|
|
878
|
-
return
|
|
878
|
+
return J(() => {
|
|
879
879
|
_.modelValue || m("update:model-value", []);
|
|
880
880
|
}), (n, t) => {
|
|
881
881
|
const d = k("FmChip");
|
|
882
882
|
return r(), V("div", tt, [
|
|
883
|
-
(r(!0), V(
|
|
883
|
+
(r(!0), V(w, null, $(e(f), (o) => {
|
|
884
884
|
var i, p;
|
|
885
885
|
return r(), g(d, {
|
|
886
886
|
class: K(["cursor-pointer", {
|
|
@@ -901,7 +901,7 @@ const Be = [
|
|
|
901
901
|
]);
|
|
902
902
|
};
|
|
903
903
|
}
|
|
904
|
-
}), ot = { class: "
|
|
904
|
+
}), ot = { class: "flex justify-end gap-8 w-full" }, at = /* @__PURE__ */ P({
|
|
905
905
|
__name: "MenuDialog",
|
|
906
906
|
props: {
|
|
907
907
|
modelValue: { type: Boolean },
|
|
@@ -910,10 +910,9 @@ const Be = [
|
|
|
910
910
|
},
|
|
911
911
|
emits: ["update:model-value", "confirm"],
|
|
912
912
|
setup(l, { emit: R }) {
|
|
913
|
-
const _ = l, m = W(), f = W(!1), n = R;
|
|
913
|
+
const _ = l, m = W([]), f = W(!1), n = R;
|
|
914
914
|
function t() {
|
|
915
|
-
|
|
916
|
-
(o = m.value) == null || o.onConfirm(), n("update:model-value", !1);
|
|
915
|
+
n("confirm", m.value), d();
|
|
917
916
|
}
|
|
918
917
|
function d() {
|
|
919
918
|
n("update:model-value", !1);
|
|
@@ -923,7 +922,7 @@ const Be = [
|
|
|
923
922
|
(o) => {
|
|
924
923
|
f.value = o;
|
|
925
924
|
}
|
|
926
|
-
),
|
|
925
|
+
), J(() => {
|
|
927
926
|
f.value = _.modelValue;
|
|
928
927
|
}), (o, i) => {
|
|
929
928
|
const p = k("FmButton"), b = k("FmDialog");
|
|
@@ -931,15 +930,15 @@ const Be = [
|
|
|
931
930
|
"content-scrollable": !1,
|
|
932
931
|
contentClass: "pt-0",
|
|
933
932
|
modelValue: f.value,
|
|
934
|
-
"onUpdate:modelValue": i[
|
|
933
|
+
"onUpdate:modelValue": i[1] || (i[1] = (h) => f.value = h),
|
|
935
934
|
title: "Select Items",
|
|
936
935
|
"close-button": !1
|
|
937
936
|
}, {
|
|
938
|
-
"dialog-header": B(() => [...i[
|
|
937
|
+
"dialog-header": B(() => [...i[2] || (i[2] = [
|
|
939
938
|
C("div", null, "Select Item", -1)
|
|
940
939
|
])]),
|
|
941
940
|
"dialog-footer": B(() => [
|
|
942
|
-
C("div",
|
|
941
|
+
C("div", ot, [
|
|
943
942
|
v(p, {
|
|
944
943
|
variant: "tertiary",
|
|
945
944
|
onClick: d,
|
|
@@ -953,23 +952,18 @@ const Be = [
|
|
|
953
952
|
])
|
|
954
953
|
]),
|
|
955
954
|
default: B(() => [
|
|
956
|
-
|
|
957
|
-
|
|
958
|
-
|
|
959
|
-
|
|
960
|
-
|
|
961
|
-
|
|
962
|
-
"on-complete": (h) => {
|
|
963
|
-
n("confirm", h), d();
|
|
964
|
-
}
|
|
965
|
-
}, null, 8, ["initial-value", "filter-items", "on-complete"])
|
|
966
|
-
])
|
|
955
|
+
v(e(Ye), {
|
|
956
|
+
"initial-value": l.initialValue,
|
|
957
|
+
"filter-items": l.filterItems,
|
|
958
|
+
"max-height": 380,
|
|
959
|
+
onChange: i[0] || (i[0] = (h) => m.value = h)
|
|
960
|
+
}, null, 8, ["initial-value", "filter-items"])
|
|
967
961
|
]),
|
|
968
962
|
_: 1
|
|
969
963
|
}, 8, ["modelValue"]);
|
|
970
964
|
};
|
|
971
965
|
}
|
|
972
|
-
}),
|
|
966
|
+
}), rt = { id: "select-menu" }, nt = /* @__PURE__ */ P({
|
|
973
967
|
__name: "SelectMenu",
|
|
974
968
|
props: {
|
|
975
969
|
modelValue: {}
|
|
@@ -985,7 +979,7 @@ const Be = [
|
|
|
985
979
|
}
|
|
986
980
|
return (d, o) => {
|
|
987
981
|
const i = k("FmField");
|
|
988
|
-
return r(), V("div",
|
|
982
|
+
return r(), V("div", rt, [
|
|
989
983
|
v(i, {
|
|
990
984
|
class: "text-fm-color-typo-tertiary",
|
|
991
985
|
onClick: o[0] || (o[0] = (p) => m.value = !0)
|
|
@@ -995,7 +989,7 @@ const Be = [
|
|
|
995
989
|
]),
|
|
996
990
|
_: 1
|
|
997
991
|
}),
|
|
998
|
-
v(
|
|
992
|
+
v(at, {
|
|
999
993
|
modelValue: m.value,
|
|
1000
994
|
"onUpdate:modelValue": [
|
|
1001
995
|
o[1] || (o[1] = (p) => m.value = p),
|
|
@@ -1007,10 +1001,10 @@ const Be = [
|
|
|
1007
1001
|
]);
|
|
1008
1002
|
};
|
|
1009
1003
|
}
|
|
1010
|
-
}),
|
|
1004
|
+
}), ut = {
|
|
1011
1005
|
key: 19,
|
|
1012
1006
|
class: "fm-typo-en-body-lg-600"
|
|
1013
|
-
},
|
|
1007
|
+
}, st = /* @__PURE__ */ P({
|
|
1014
1008
|
__name: "RuleEquator",
|
|
1015
1009
|
props: {
|
|
1016
1010
|
type: {
|
|
@@ -1147,7 +1141,7 @@ const Be = [
|
|
|
1147
1141
|
})),
|
|
1148
1142
|
"model-value": l.modelValue ?? [],
|
|
1149
1143
|
"onUpdate:modelValue": t[16] || (t[16] = (u) => m("update:model-value", u))
|
|
1150
|
-
}, null, 8, ["items", "model-value"])) : l.type == "product" ? (r(), g(
|
|
1144
|
+
}, null, 8, ["items", "model-value"])) : l.type == "product" ? (r(), g(nt, {
|
|
1151
1145
|
key: 17,
|
|
1152
1146
|
"model-value": l.modelValue,
|
|
1153
1147
|
"onUpdate:modelValue": t[17] || (t[17] = (u) => m("update:model-value", u))
|
|
@@ -1160,7 +1154,7 @@ const Be = [
|
|
|
1160
1154
|
})),
|
|
1161
1155
|
"model-value": l.modelValue ?? [],
|
|
1162
1156
|
"onUpdate:modelValue": t[18] || (t[18] = (u) => m("update:model-value", u))
|
|
1163
|
-
}, null, 8, ["items", "model-value"])) : (r(), V("div",
|
|
1157
|
+
}, null, 8, ["items", "model-value"])) : (r(), V("div", ut, "Rule: " + A(l.type) + " Not implemented", 1)),
|
|
1164
1158
|
v(U, {
|
|
1165
1159
|
class: "items-end",
|
|
1166
1160
|
state: e(le).helperState(e(f), ""),
|
|
@@ -1169,7 +1163,7 @@ const Be = [
|
|
|
1169
1163
|
], 2);
|
|
1170
1164
|
};
|
|
1171
1165
|
}
|
|
1172
|
-
}),
|
|
1166
|
+
}), mt = { class: "space-y-4" }, it = { class: "fm-typo-en-body-lg-400" }, dt = { class: "fm-typo-en-body-lg-400" }, pt = { class: "flex items-center gap-8" }, ct = { class: "fm-typo-en-body-lg-400" }, yt = { class: "flex items-center justify-end gap-8 pt-16 w-full" }, vt = /* @__PURE__ */ P({
|
|
1173
1167
|
__name: "CustomRuleDialog",
|
|
1174
1168
|
props: {
|
|
1175
1169
|
triggerType: {
|
|
@@ -1295,7 +1289,7 @@ const Be = [
|
|
|
1295
1289
|
conditions: { [S]: null }
|
|
1296
1290
|
};
|
|
1297
1291
|
}
|
|
1298
|
-
function
|
|
1292
|
+
function Z(S) {
|
|
1299
1293
|
y.value.conditions = {
|
|
1300
1294
|
[T.value.operator]: S
|
|
1301
1295
|
};
|
|
@@ -1307,8 +1301,8 @@ const Be = [
|
|
|
1307
1301
|
await _.readMembership();
|
|
1308
1302
|
}), (S, F) => {
|
|
1309
1303
|
const L = k("FmIcon"), H = k("FmField"), Q = k("FmPill"), E = k("FmMenuItem"), z = k("FmMenu"), se = k("FmButton");
|
|
1310
|
-
return r(), V("div",
|
|
1311
|
-
C("div",
|
|
1304
|
+
return r(), V("div", mt, [
|
|
1305
|
+
C("div", it, A(e(n)("connect.template.rule.custom_modal.property")), 1),
|
|
1312
1306
|
v(z, {
|
|
1313
1307
|
shift: !0,
|
|
1314
1308
|
placement: "bottom-start",
|
|
@@ -1331,12 +1325,12 @@ const Be = [
|
|
|
1331
1325
|
})
|
|
1332
1326
|
]),
|
|
1333
1327
|
default: B(() => [
|
|
1334
|
-
(r(!0), V(
|
|
1328
|
+
(r(!0), V(w, null, $(e(b), (I) => (r(), g(E, {
|
|
1335
1329
|
key: I.property,
|
|
1336
1330
|
"model-value": e(y).property == I.property,
|
|
1337
1331
|
label: o(I),
|
|
1338
1332
|
disabled: I.premium && !e(te)().isPremium,
|
|
1339
|
-
onClick: (
|
|
1333
|
+
onClick: (Vt) => I.premium && !e(te)().isPremium ? null : u(I.property)
|
|
1340
1334
|
}, ye({ _: 2 }, [
|
|
1341
1335
|
I.premium ? {
|
|
1342
1336
|
name: "append",
|
|
@@ -1349,8 +1343,8 @@ const Be = [
|
|
|
1349
1343
|
]),
|
|
1350
1344
|
_: 1
|
|
1351
1345
|
}, 8, ["modelValue"]),
|
|
1352
|
-
C("div",
|
|
1353
|
-
C("div",
|
|
1346
|
+
C("div", dt, A(e(n)("connect.template.rule.custom_modal.check_to_perform")), 1),
|
|
1347
|
+
C("div", pt, [
|
|
1354
1348
|
v(O, {
|
|
1355
1349
|
class: "w-1/4",
|
|
1356
1350
|
items: [
|
|
@@ -1371,16 +1365,16 @@ const Be = [
|
|
|
1371
1365
|
}, null, 8, ["items", "model-value"])
|
|
1372
1366
|
]),
|
|
1373
1367
|
C("div", null, [
|
|
1374
|
-
C("div",
|
|
1375
|
-
e(T).type ? (r(), g(
|
|
1368
|
+
C("div", ct, A(e(n)("connect.template.rule.custom_modal.criteria")), 1),
|
|
1369
|
+
e(T).type ? (r(), g(st, {
|
|
1376
1370
|
key: 0,
|
|
1377
1371
|
type: e(T).type,
|
|
1378
1372
|
operator: e(T).operator,
|
|
1379
1373
|
"model-value": e(T).equator,
|
|
1380
|
-
"onUpdate:modelValue":
|
|
1374
|
+
"onUpdate:modelValue": Z
|
|
1381
1375
|
}, null, 8, ["type", "operator", "model-value"])) : N("", !0)
|
|
1382
1376
|
]),
|
|
1383
|
-
C("div",
|
|
1377
|
+
C("div", yt, [
|
|
1384
1378
|
v(se, {
|
|
1385
1379
|
onClick: F[2] || (F[2] = (I) => e(R).close()),
|
|
1386
1380
|
label: e(n)("connect.common.cancel"),
|
|
@@ -1395,7 +1389,7 @@ const Be = [
|
|
|
1395
1389
|
]);
|
|
1396
1390
|
};
|
|
1397
1391
|
}
|
|
1398
|
-
}),
|
|
1392
|
+
}), bt = { class: "flex flex-col gap-8" }, ft = { class: "grid grid-cols-2 items-center" }, gt = { class: "flex items-center gap-8" }, _t = { class: "pt-16 flex items-center self-end gap-8" }, kt = /* @__PURE__ */ P({
|
|
1399
1393
|
__name: "PresetRuleDialog",
|
|
1400
1394
|
props: {
|
|
1401
1395
|
preset: {
|
|
@@ -1522,8 +1516,8 @@ const Be = [
|
|
|
1522
1516
|
]);
|
|
1523
1517
|
return (c, s) => {
|
|
1524
1518
|
var S, F, L, H, Q;
|
|
1525
|
-
const a = k("FmStepperField"), y = k("FmDatePicker"), T = k("FmTimeRangePicker"), u = k("FmRadio"), x = k("FmSelect"), oe = k("FmRadioGroup"),
|
|
1526
|
-
return r(), V("div",
|
|
1519
|
+
const a = k("FmStepperField"), y = k("FmDatePicker"), T = k("FmTimeRangePicker"), u = k("FmRadio"), x = k("FmSelect"), oe = k("FmRadioGroup"), Z = k("FmHelperText"), ee = k("FmButton");
|
|
1520
|
+
return r(), V("div", bt, [
|
|
1527
1521
|
l.preset == "MIN_SPEND" ? (r(), g(a, {
|
|
1528
1522
|
key: 0,
|
|
1529
1523
|
label: e(n)("connect.template.rule.preset.minimum_spend"),
|
|
@@ -1575,8 +1569,8 @@ const Be = [
|
|
|
1575
1569
|
"fixed-frequency": !0,
|
|
1576
1570
|
"model-value": e(p).equator,
|
|
1577
1571
|
"onUpdate:modelValue": s[5] || (s[5] = (E) => b(E))
|
|
1578
|
-
}, null, 8, ["label", "model-value"])) : l.preset == "BIRTHDAY" ? (r(), V(
|
|
1579
|
-
C("div",
|
|
1572
|
+
}, null, 8, ["label", "model-value"])) : l.preset == "BIRTHDAY" ? (r(), V(w, { key: 6 }, [
|
|
1573
|
+
C("div", ft, [
|
|
1580
1574
|
v(u, {
|
|
1581
1575
|
label: e(n)("connect.template.rule.birthday.days_before"),
|
|
1582
1576
|
value: "_isDay",
|
|
@@ -1592,7 +1586,7 @@ const Be = [
|
|
|
1592
1586
|
);
|
|
1593
1587
|
})
|
|
1594
1588
|
}, null, 8, ["label", "model-value"]),
|
|
1595
|
-
C("div",
|
|
1589
|
+
C("div", gt, [
|
|
1596
1590
|
v(u, {
|
|
1597
1591
|
label: e(n)("connect.template.rule.preset_modal.is_in_this"),
|
|
1598
1592
|
value: "_isRange",
|
|
@@ -1634,7 +1628,7 @@ const Be = [
|
|
|
1634
1628
|
ignoreYear: !0
|
|
1635
1629
|
}))
|
|
1636
1630
|
}, null, 8, ["label", "model-value"])) : N("", !0)
|
|
1637
|
-
], 64)) : l.preset == "TIER" ? (r(), V(
|
|
1631
|
+
], 64)) : l.preset == "TIER" ? (r(), V(w, { key: 7 }, [
|
|
1638
1632
|
v(oe, {
|
|
1639
1633
|
inline: !0,
|
|
1640
1634
|
"model-value": e(p).operator,
|
|
@@ -1664,7 +1658,7 @@ const Be = [
|
|
|
1664
1658
|
"model-value": e(p).equator,
|
|
1665
1659
|
"onUpdate:modelValue": s[11] || (s[11] = (E) => b(E))
|
|
1666
1660
|
}, null, 8, ["items", "model-value"]),
|
|
1667
|
-
v(
|
|
1661
|
+
v(Z, {
|
|
1668
1662
|
text: d()
|
|
1669
1663
|
}, null, 8, ["text"])
|
|
1670
1664
|
], 64)) : l.preset == "TITLE" ? (r(), g(O, {
|
|
@@ -1677,12 +1671,12 @@ const Be = [
|
|
|
1677
1671
|
"model-value": (Q = e(p).equator) == null ? void 0 : Q[0],
|
|
1678
1672
|
"onUpdate:modelValue": s[12] || (s[12] = (E) => b([E]))
|
|
1679
1673
|
}, null, 8, ["label", "items", "model-value"])) : N("", !0),
|
|
1680
|
-
v(
|
|
1674
|
+
v(Z, {
|
|
1681
1675
|
class: "mt-[-8px]",
|
|
1682
1676
|
text: e(le).helperText(e(U), ""),
|
|
1683
1677
|
state: e(le).helperState(e(U), "")
|
|
1684
1678
|
}, null, 8, ["text", "state"]),
|
|
1685
|
-
C("div",
|
|
1679
|
+
C("div", _t, [
|
|
1686
1680
|
v(ee, {
|
|
1687
1681
|
onClick: s[13] || (s[13] = (E) => e(R).close()),
|
|
1688
1682
|
label: e(n)("connect.common.cancel"),
|
|
@@ -1697,7 +1691,7 @@ const Be = [
|
|
|
1697
1691
|
]);
|
|
1698
1692
|
};
|
|
1699
1693
|
}
|
|
1700
|
-
}),
|
|
1694
|
+
}), ht = /* @__PURE__ */ P({
|
|
1701
1695
|
__name: "RuleConfigurator",
|
|
1702
1696
|
props: {
|
|
1703
1697
|
triggerType: {
|
|
@@ -1743,7 +1737,7 @@ const Be = [
|
|
|
1743
1737
|
title: D(c),
|
|
1744
1738
|
closeButton: !1,
|
|
1745
1739
|
dismissAway: !1,
|
|
1746
|
-
contentComponent:
|
|
1740
|
+
contentComponent: kt,
|
|
1747
1741
|
contentComponentProps: {
|
|
1748
1742
|
preset: c.type,
|
|
1749
1743
|
defaultValue: s,
|
|
@@ -1756,7 +1750,7 @@ const Be = [
|
|
|
1756
1750
|
title: f("connect.template.rule.edit_rule"),
|
|
1757
1751
|
closeButton: !1,
|
|
1758
1752
|
dismissAway: !1,
|
|
1759
|
-
contentComponent:
|
|
1753
|
+
contentComponent: vt,
|
|
1760
1754
|
contentComponentProps: {
|
|
1761
1755
|
triggerType: d.triggerType,
|
|
1762
1756
|
includeOnly: d.includeOnly,
|
|
@@ -1795,7 +1789,7 @@ const Be = [
|
|
|
1795
1789
|
}, null, 8, ["label"])
|
|
1796
1790
|
]),
|
|
1797
1791
|
default: B(() => [
|
|
1798
|
-
(r(!0), V(
|
|
1792
|
+
(r(!0), V(w, null, $(e(Be).filter(
|
|
1799
1793
|
(x) => !l.includeOnly || x.for.includes(l.includeOnly)
|
|
1800
1794
|
), (x) => (r(), g(T, {
|
|
1801
1795
|
key: x.name,
|
|
@@ -1819,7 +1813,7 @@ const Be = [
|
|
|
1819
1813
|
});
|
|
1820
1814
|
};
|
|
1821
1815
|
}
|
|
1822
|
-
}),
|
|
1816
|
+
}), Et = { class: "fm-typo-en-body-lg-400 text-fm-color-typo-secondary" }, Lt = /* @__PURE__ */ P({
|
|
1823
1817
|
__name: "RuleGroup",
|
|
1824
1818
|
props: {
|
|
1825
1819
|
triggerType: {
|
|
@@ -1858,18 +1852,18 @@ const Be = [
|
|
|
1858
1852
|
default: B(() => [
|
|
1859
1853
|
v(D, { class: "border-l-4 border-fm-color-primary p-16 space-y-16" }, {
|
|
1860
1854
|
default: B(() => [
|
|
1861
|
-
C("div",
|
|
1862
|
-
v(
|
|
1855
|
+
C("div", Et, A(e(n)("connect.template.rule.when")), 1),
|
|
1856
|
+
v(ht, {
|
|
1863
1857
|
ref_key: "configuratorRef",
|
|
1864
1858
|
ref: i,
|
|
1865
1859
|
"include-only": l.includeOnly,
|
|
1866
1860
|
"trigger-type": l.triggerType,
|
|
1867
1861
|
"onUpdate:modelValue": h[0] || (h[0] = (c) => p(e(t), c))
|
|
1868
1862
|
}, null, 8, ["include-only", "trigger-type"]),
|
|
1869
|
-
(r(!0), V(
|
|
1863
|
+
(r(!0), V(w, null, $(e(t).rules, (c, s) => {
|
|
1870
1864
|
var a;
|
|
1871
|
-
return r(), V(
|
|
1872
|
-
e(Ve)(c) ? (r(), g(
|
|
1865
|
+
return r(), V(w, null, [
|
|
1866
|
+
e(Ve)(c) ? (r(), g(we, {
|
|
1873
1867
|
"model-value": c,
|
|
1874
1868
|
key: s,
|
|
1875
1869
|
onEdit: (a = e(i)) == null ? void 0 : a.showCustomDialog,
|
|
@@ -1906,6 +1900,6 @@ const Be = [
|
|
|
1906
1900
|
}
|
|
1907
1901
|
});
|
|
1908
1902
|
export {
|
|
1909
|
-
|
|
1910
|
-
|
|
1903
|
+
re as _,
|
|
1904
|
+
Lt as a
|
|
1911
1905
|
};
|