@feedmepos/mf-connect 0.0.9 → 0.0.11-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-CwaN0mge.js → Analytic-CpXLcGWV.js} +7 -7
- package/dist/{Broadcast-Cjx5xzUC.js → Broadcast-CEMQS5PI.js} +7 -7
- package/dist/{CampaignTypeDialog.vue_vue_type_script_setup_true_lang-D4mO5aik.js → CampaignTypeDialog.vue_vue_type_script_setup_true_lang-D0Kvpl_V.js} +8 -8
- package/dist/{Card-DbY6YaXk.js → Card-BqX-aRK9.js} +182 -187
- package/dist/{Collections-DRN2gzwh.js → Collections-SRmluAj0.js} +102 -84
- package/dist/{Credit-DOcrzykJ.js → Credit-DdBKFsII.js} +7 -7
- package/dist/EditCampaignSheet.vue_vue_type_script_setup_true_lang-BYNpBySQ.js +2600 -0
- package/dist/{EffectSheet.vue_vue_type_style_index_0_lang-EF_rHfwT.js → EffectSheet.vue_vue_type_style_index_0_lang-admNNBWu.js} +1864 -1830
- package/dist/{Experience-aQj-3H2Y.js → Experience-CSfRrWqI.js} +7 -7
- package/dist/Game-BV--qn0e.js +250 -0
- package/dist/{ImageInput.vue_vue_type_script_setup_true_lang-CG-GBVMP.js → ImageInput.vue_vue_type_script_setup_true_lang-DpYjrT3G.js} +1 -1
- package/dist/{MainLayout-Cxl9yLPs.js → MainLayout-B_ZXQrMD.js} +1 -1
- package/dist/{Marketing-BYUcbcMU.js → Marketing-Bac3EbOu.js} +16 -16
- package/dist/{Member-D7K9fm_Q.js → Member-CGMRVEuI.js} +2 -2
- package/dist/{MemberList-DbXkxUzF.js → MemberList-CSyb4bNE.js} +196 -195
- package/dist/{MemberTransactions-DED1SYwX.js → MemberTransactions-BdraBHg6.js} +2 -2
- package/dist/{MessageInput.vue_vue_type_script_setup_true_lang-CLqIp5wR.js → MessageInput.vue_vue_type_script_setup_true_lang-BvAFOoym.js} +2 -2
- package/dist/Mission-D8-D99g-.js +248 -0
- package/dist/Point-BOI4mT-K.js +220 -0
- package/dist/{Promotion-DzVXy_C9.js → Promotion-D0MLMo9m.js} +8 -8
- package/dist/{RuleGroup.vue_vue_type_script_setup_true_lang-CeS6KlhP.js → RuleGroup.vue_vue_type_script_setup_true_lang-1L68zx5t.js} +58 -58
- package/dist/Segment-BeUbkVj7.js +444 -0
- package/dist/{Setting-pCzenLoL.js → Setting-uM4iKdyM.js} +386 -379
- package/dist/{Store-DEwEIFYD.js → Store-BkccNTnM.js} +432 -413
- package/dist/{StoreRewards-D7vnZN4f.js → StoreRewards-BLgP6Mfv.js} +9 -9
- package/dist/{StoreTransactions.vue_vue_type_script_setup_true_lang-ALzQU3th.js → StoreTransactions.vue_vue_type_script_setup_true_lang-Z0nqQyi8.js} +39 -38
- package/dist/{TargetLocationInput.vue_vue_type_script_setup_true_lang-GMIztWCj.js → TargetLocationInput.vue_vue_type_script_setup_true_lang-C771jjYx.js} +1 -1
- package/dist/{Tier-BJbX5CPB.js → Tier-DwKAfz6f.js} +17 -16
- package/dist/{Title-C9xV6rBg.js → Title-B1_yd9pC.js} +16 -15
- package/dist/{Transaction-C8OHlhzR.js → Transaction-DcVCMUY4.js} +1 -1
- package/dist/{Voucher-eZwm7N1D.js → Voucher-Djvai5vL.js} +30 -30
- package/dist/{app-DgbDbhL-.js → app-BvizV9z5.js} +3192 -3178
- package/dist/app.js +1 -1
- package/dist/{campaign-BkvrUTEJ.js → campaign-BdSwq7MJ.js} +31 -27
- package/dist/dto-CkH5Zama.js +1150 -0
- package/dist/{effect-f7DAPYC8.js → effect-DT4ivttr.js} +1 -1
- package/dist/{export-BXbCXTfd.js → export-BAJL8_2G.js} +3 -3
- package/dist/{helper-BhvQ9m6d.js → helper-CiIZ1pUo.js} +21 -8
- package/dist/{index-CdtrQ9tR.js → index-7uOMMdXt.js} +245 -184
- package/dist/{index-Cfo2A0Se.js → index-8nrxC9d5.js} +1 -1
- package/dist/{index-FWp9M1yS.js → index-B5gJ6P15.js} +269 -21
- package/dist/{index-BhacKx5B.js → index-BLWw_MlC.js} +1363 -1341
- package/dist/{index-VmFlM704.js → index-C5N8jeJ1.js} +1 -1
- package/dist/{index-Cz5RZlYh.js → index-C8dIiNQb.js} +1 -1
- package/dist/{index-Dd3hrFcQ.js → index-Ccn7PGoB.js} +268 -267
- package/dist/{index-oQLJE4Uw.js → index-CjZxaXvZ.js} +69 -64
- package/dist/{index-DQC_1tRF.js → index-DCs4-zXS.js} +7 -17
- package/dist/{index-BsEqtUmY.js → index-DMyaEjMn.js} +26 -20
- package/dist/{loading-DQaawbHE.js → loading-C1IzY-n2.js} +1312 -1312
- package/dist/{lodash-DzdmTD20.js → lodash-BMQ4xbjY.js} +1 -1
- package/dist/membership-D3I4udu3.js +221 -0
- package/dist/{money-vzwOUBrp.js → money-BQEcWGhZ.js} +1 -1
- package/dist/{number-CBzs6rfW.js → number-DGx2QPUy.js} +1 -1
- package/dist/{rule-BR5rrmUV.js → rule-CvlhLEGy.js} +2 -2
- package/dist/{rule-builder-7GBNrPXt.js → rule-builder-Di3qiIBb.js} +1 -1
- package/dist/{template-CETJ6lkf.js → template-D6Abrya4.js} +5 -5
- package/dist/{usePagination-DdZeE4Tt.js → usePagination-MhbjQgN7.js} +1 -1
- package/dist/{xlsx-CDAKxZE_.js → xlsx-mL_3T1k3.js} +226 -226
- package/package.json +3 -3
- package/dist/EditCampaignSheet.vue_vue_type_script_setup_true_lang-CUxfXaro.js +0 -2002
- package/dist/Game-Cnje-m_M.js +0 -242
- package/dist/Point-CQm8whVQ.js +0 -211
- package/dist/Segment-D3o0D3Uv.js +0 -407
- package/dist/dto-YYVhW73A.js +0 -1092
- package/dist/libs/packages/core/src/bill/bill.dto.d.ts +0 -75
- package/dist/libs/packages/core/src/bill/index.d.ts +0 -115
- package/dist/libs/packages/core/src/business/index.d.ts +0 -21
- package/dist/libs/packages/core/src/campaign/broadcast/index.d.ts +0 -36
- package/dist/libs/packages/core/src/campaign/campaign.enum.d.ts +0 -9
- package/dist/libs/packages/core/src/campaign/campaign.fn.d.ts +0 -7
- package/dist/libs/packages/core/src/campaign/dto.d.ts +0 -5517
- package/dist/libs/packages/core/src/campaign/group.d.ts +0 -25
- package/dist/libs/packages/core/src/campaign/index.d.ts +0 -33988
- package/dist/libs/packages/core/src/collectible/collectible.dto.d.ts +0 -21
- package/dist/libs/packages/core/src/collectible/collectible.enum.d.ts +0 -14
- package/dist/libs/packages/core/src/collectible/helper.d.ts +0 -195
- package/dist/libs/packages/core/src/collectible/index.d.ts +0 -1588
- package/dist/libs/packages/core/src/collectible/pool/index.d.ts +0 -1381
- package/dist/libs/packages/core/src/collection/collection.fn.d.ts +0 -5
- package/dist/libs/packages/core/src/collection/index.d.ts +0 -1014
- package/dist/libs/packages/core/src/collection/transaction.d.ts +0 -845
- package/dist/libs/packages/core/src/collection/transaction.fn.d.ts +0 -10
- package/dist/libs/packages/core/src/common/array.d.ts +0 -2
- package/dist/libs/packages/core/src/common/hash.d.ts +0 -10
- package/dist/libs/packages/core/src/common/index.d.ts +0 -42
- package/dist/libs/packages/core/src/common/number.d.ts +0 -7
- package/dist/libs/packages/core/src/common/object.d.ts +0 -5
- package/dist/libs/packages/core/src/common/objectId.d.ts +0 -2
- package/dist/libs/packages/core/src/common/string.d.ts +0 -4
- package/dist/libs/packages/core/src/counter/counter.dto.d.ts +0 -767
- package/dist/libs/packages/core/src/counter/index.d.ts +0 -1
- package/dist/libs/packages/core/src/event/index.d.ts +0 -4246
- package/dist/libs/packages/core/src/feedback/index.d.ts +0 -24
- package/dist/libs/packages/core/src/game/index.d.ts +0 -32
- package/dist/libs/packages/core/src/index.d.ts +0 -21
- package/dist/libs/packages/core/src/internal/index.d.ts +0 -56
- package/dist/libs/packages/core/src/legacy/setting/index.d.ts +0 -89
- package/dist/libs/packages/core/src/location/index.d.ts +0 -44
- package/dist/libs/packages/core/src/loyalty/card/index.d.ts +0 -1296
- package/dist/libs/packages/core/src/loyalty/index.d.ts +0 -3
- package/dist/libs/packages/core/src/loyalty/tier/helper.d.ts +0 -2
- package/dist/libs/packages/core/src/loyalty/tier/index.d.ts +0 -251
- package/dist/libs/packages/core/src/loyalty/title/index.d.ts +0 -4
- package/dist/libs/packages/core/src/marketing-material/index.d.ts +0 -186
- package/dist/libs/packages/core/src/marketing-material/marketing-material.enum.d.ts +0 -3
- package/dist/libs/packages/core/src/notification/index.d.ts +0 -130
- package/dist/libs/packages/core/src/pagination/index.d.ts +0 -25
- package/dist/libs/packages/core/src/permission/index.d.ts +0 -243
- package/dist/libs/packages/core/src/service/index.d.ts +0 -10
- package/dist/libs/packages/core/src/store/dto.d.ts +0 -1069
- package/dist/libs/packages/core/src/store/index.d.ts +0 -3942
- package/dist/libs/packages/core/src/store/store.fn.d.ts +0 -104
- package/dist/libs/packages/core/src/template/index.d.ts +0 -880
- package/dist/libs/packages/core/src/template/templates.d.ts +0 -1239
- package/dist/libs/packages/core/src/user/index.d.ts +0 -245
- package/dist/libs/packages/core/src/user/segment.dto.d.ts +0 -27
- package/dist/libs/packages/core/src/user/segmentation.d.ts +0 -28
- package/dist/libs/packages/core/src/user/user.dto.d.ts +0 -873
- package/dist/libs/packages/core/src/validation/index.d.ts +0 -1
- package/dist/libs/packages/core/src/validation/rule/builder.d.ts +0 -36
- package/dist/libs/packages/core/src/validation/rule/index.d.ts +0 -45
- package/dist/libs/packages/core/src/validation/rule/operator.enum.d.ts +0 -405
- package/dist/libs/packages/core/src/validation/rule/rule.fn.d.ts +0 -6
- package/dist/libs/packages/validation/src/index.d.ts +0 -3
- package/dist/libs/packages/validation/src/rule/rule-builder.d.ts +0 -19
- package/dist/libs/packages/validation/src/rule/rule.d.ts +0 -52
- package/dist/libs/packages/validation/src/rule/validate.d.ts +0 -2
- package/dist/membership-Dq2-b-S_.js +0 -210
- package/dist/packages/connect/src/App.vue.d.ts +0 -2
- package/dist/packages/connect/src/Entry.vue.d.ts +0 -2
- package/dist/packages/connect/src/api/auth/index.d.ts +0 -3
- package/dist/packages/connect/src/api/campaign/index.d.ts +0 -30
- package/dist/packages/connect/src/api/campaign/template.d.ts +0 -5
- package/dist/packages/connect/src/api/index.d.ts +0 -29
- package/dist/packages/connect/src/api/location/index.d.ts +0 -7
- package/dist/packages/connect/src/api/marketing-material/index.d.ts +0 -7
- package/dist/packages/connect/src/api/member/index.d.ts +0 -12
- package/dist/packages/connect/src/api/membership/index.d.ts +0 -28
- package/dist/packages/connect/src/api/segments/index.d.ts +0 -13
- package/dist/packages/connect/src/api/settings/index.d.ts +0 -4
- package/dist/packages/connect/src/api/transaction/index.d.ts +0 -9
- package/dist/packages/connect/src/api/users/index.d.ts +0 -8
- package/dist/packages/connect/src/app.d.ts +0 -16
- package/dist/packages/connect/src/components/NavigationTab.vue.d.ts +0 -2
- package/dist/packages/connect/src/components/analytic/CampaignCard.vue.d.ts +0 -24
- package/dist/packages/connect/src/components/analytic/CampaignChip.vue.d.ts +0 -47
- package/dist/packages/connect/src/components/analytic/CampaignGroup.vue.d.ts +0 -25
- package/dist/packages/connect/src/components/analytic/CampaignStat.vue.d.ts +0 -31
- package/dist/packages/connect/src/components/analytic/LinkCampaign.vue.d.ts +0 -30
- package/dist/packages/connect/src/components/campaign/CampaignChip.vue.d.ts +0 -13
- package/dist/packages/connect/src/components/campaign/CampaignSummary.vue.d.ts +0 -13
- package/dist/packages/connect/src/components/campaign/CampaignTriggerInput.vue.d.ts +0 -34
- package/dist/packages/connect/src/components/campaign/EarningOptionInput.vue.d.ts +0 -50
- package/dist/packages/connect/src/components/campaign/GameTypeInput.vue.d.ts +0 -15
- package/dist/packages/connect/src/components/campaign/MessageInput.vue.d.ts +0 -64
- package/dist/packages/connect/src/components/campaign/PromotionGameTypeInput.vue.d.ts +0 -19
- package/dist/packages/connect/src/components/campaign/ScheduleRuleInput.vue.d.ts +0 -29
- package/dist/packages/connect/src/components/campaign/TargetLocationInput.vue.d.ts +0 -32
- package/dist/packages/connect/src/components/campaign/ValidityInput.vue.d.ts +0 -59
- package/dist/packages/connect/src/components/collectible/CollectibleChip.vue.d.ts +0 -13
- package/dist/packages/connect/src/components/collectible/CollectibleOptionInput.vue.d.ts +0 -59
- package/dist/packages/connect/src/components/collection/Collections.vue.d.ts +0 -2
- package/dist/packages/connect/src/components/common/BaseTable.vue.d.ts +0 -80
- package/dist/packages/connect/src/components/common/FmTableSelection.vue.d.ts +0 -22
- package/dist/packages/connect/src/components/custom/ChipMenu.vue.d.ts +0 -96
- package/dist/packages/connect/src/components/custom/CustomSelect.vue.d.ts +0 -68
- package/dist/packages/connect/src/components/custom/DateInput.vue.d.ts +0 -24
- package/dist/packages/connect/src/components/custom/DateRangeChip.vue.d.ts +0 -25
- package/dist/packages/connect/src/components/custom/DateRangeInput.vue.d.ts +0 -28
- package/dist/packages/connect/src/components/custom/FilterChip.vue.d.ts +0 -90
- package/dist/packages/connect/src/components/custom/ImageInput.vue.d.ts +0 -115
- package/dist/packages/connect/src/components/custom/json/JsonNode.vue.d.ts +0 -36
- package/dist/packages/connect/src/components/custom/json/JsonViewer.vue.d.ts +0 -22
- package/dist/packages/connect/src/components/custom/zod/ZodTextField.vue.d.ts +0 -52
- package/dist/packages/connect/src/components/loading/ImageLoading.vue.d.ts +0 -2
- package/dist/packages/connect/src/components/loading/LottieAnimation.vue.d.ts +0 -39
- package/dist/packages/connect/src/components/loading/Splash.vue.d.ts +0 -2
- package/dist/packages/connect/src/components/loyalty/CampaignTypeDialog.vue.d.ts +0 -13
- package/dist/packages/connect/src/components/loyalty/CreditCoinDialog.vue.d.ts +0 -29
- package/dist/packages/connect/src/components/loyalty/TierExpression.vue.d.ts +0 -32
- package/dist/packages/connect/src/components/marketing/HeadlineStyleSideSheet.vue.d.ts +0 -42
- package/dist/packages/connect/src/components/marketing/ImageSideSheet.vue.d.ts +0 -40
- package/dist/packages/connect/src/components/marketing/LinkRewardSideSheet.vue.d.ts +0 -30
- package/dist/packages/connect/src/components/marketing/MarketingSheet.vue.d.ts +0 -2
- package/dist/packages/connect/src/components/marketing/RewardDropDown.vue.d.ts +0 -26
- package/dist/packages/connect/src/components/marketing/RightSheet.vue.d.ts +0 -66
- package/dist/packages/connect/src/components/marketing/SlideUpDown.vue.d.ts +0 -27
- package/dist/packages/connect/src/components/marketing/platform/BrandAppImage.vue.d.ts +0 -103
- package/dist/packages/connect/src/components/marketing/platform/FacebookPost.vue.d.ts +0 -103
- package/dist/packages/connect/src/components/marketing/platform/FacebookStory.vue.d.ts +0 -103
- package/dist/packages/connect/src/components/marketing/platform/ImageCanvas.vue.d.ts +0 -81
- package/dist/packages/connect/src/components/marketing/platform/InstagramPost.vue.d.ts +0 -102
- package/dist/packages/connect/src/components/marketing/platform/InstagramReel.vue.d.ts +0 -102
- package/dist/packages/connect/src/components/marketing/platform/InstagramStory.vue.d.ts +0 -102
- package/dist/packages/connect/src/components/marketing/platform/TvImage.vue.d.ts +0 -103
- package/dist/packages/connect/src/components/member/MemberDetail.vue.d.ts +0 -2
- package/dist/packages/connect/src/components/member/MemberList.vue.d.ts +0 -2
- package/dist/packages/connect/src/components/member/MemberOverview.vue.d.ts +0 -2
- package/dist/packages/connect/src/components/member/MemberStatsDialog.vue.d.ts +0 -21
- package/dist/packages/connect/src/components/rule/BillRuleGroup.vue.d.ts +0 -19
- package/dist/packages/connect/src/components/rule/CustomRuleDialog.vue.d.ts +0 -30
- package/dist/packages/connect/src/components/rule/FeedbackRuleGroup.vue.d.ts +0 -19
- package/dist/packages/connect/src/components/rule/PresetRuleDialog.vue.d.ts +0 -20
- package/dist/packages/connect/src/components/rule/RuleConfigurator.vue.d.ts +0 -37
- package/dist/packages/connect/src/components/rule/RuleEntry.vue.d.ts +0 -19
- package/dist/packages/connect/src/components/rule/RuleEquator.vue.d.ts +0 -31
- package/dist/packages/connect/src/components/rule/RuleGroup.vue.d.ts +0 -30
- package/dist/packages/connect/src/components/rule/SegmentConfigurator.vue.d.ts +0 -17
- package/dist/packages/connect/src/components/rule/TimeRuleGroup.vue.d.ts +0 -19
- package/dist/packages/connect/src/components/rule/UserRuleGroup.vue.d.ts +0 -19
- package/dist/packages/connect/src/components/rule/equators/BirthdayInput.vue.d.ts +0 -15
- package/dist/packages/connect/src/components/rule/equators/IsDayInput.vue.d.ts +0 -24
- package/dist/packages/connect/src/components/rule/equators/IsInMonthInput.vue.d.ts +0 -16
- package/dist/packages/connect/src/components/rule/equators/IsRangeInput.vue.d.ts +0 -55
- package/dist/packages/connect/src/components/rule/equators/RruleInput.vue.d.ts +0 -37
- package/dist/packages/connect/src/components/rule/presets.d.ts +0 -18
- package/dist/packages/connect/src/components/segment/ReviewSegment.vue.d.ts +0 -16
- package/dist/packages/connect/src/components/setting/LinkDeviceDialog.vue.d.ts +0 -2
- package/dist/packages/connect/src/components/store/AddBundleCard.vue.d.ts +0 -6
- package/dist/packages/connect/src/components/store/CategoryDialog.vue.d.ts +0 -23
- package/dist/packages/connect/src/components/store/StoreBundleCard.vue.d.ts +0 -20
- package/dist/packages/connect/src/components/store/StoreTransactions.vue.d.ts +0 -10
- package/dist/packages/connect/src/components/stripe/StripeSetting.vue.d.ts +0 -21
- package/dist/packages/connect/src/components/tax/TaxInclusiveSetting.vue.d.ts +0 -30
- package/dist/packages/connect/src/components/tax/TaxVariantSetting.vue.d.ts +0 -24
- package/dist/packages/connect/src/components/template/TemplateDialog.vue.d.ts +0 -24
- package/dist/packages/connect/src/components/template/TemplateInput.vue.d.ts +0 -54
- package/dist/packages/connect/src/components/tier/TierCard.vue.d.ts +0 -39
- package/dist/packages/connect/src/components/transactions/CollectionTransactions.vue.d.ts +0 -10
- package/dist/packages/connect/src/components/transactions/MemberTransactions.vue.d.ts +0 -2
- package/dist/packages/connect/src/composables/export.d.ts +0 -11
- package/dist/packages/connect/src/composables/index.d.ts +0 -2
- package/dist/packages/connect/src/composables/loading.d.ts +0 -19
- package/dist/packages/connect/src/composables/template.d.ts +0 -7
- package/dist/packages/connect/src/composables/usePagination.d.ts +0 -32
- package/dist/packages/connect/src/export/base.export.d.ts +0 -7
- package/dist/packages/connect/src/export/card.export.d.ts +0 -9
- package/dist/packages/connect/src/export/collection-transaction.export.d.ts +0 -14
- package/dist/packages/connect/src/export/collection.export.d.ts +0 -9
- package/dist/packages/connect/src/export/index.d.ts +0 -11
- package/dist/packages/connect/src/export/member.export.d.ts +0 -33
- package/dist/packages/connect/src/export/store-transaction.export.d.ts +0 -14
- package/dist/packages/connect/src/helpers/campaign.d.ts +0 -94
- package/dist/packages/connect/src/helpers/collectible.d.ts +0 -58
- package/dist/packages/connect/src/helpers/common.d.ts +0 -1
- package/dist/packages/connect/src/helpers/country.d.ts +0 -21
- package/dist/packages/connect/src/helpers/currency.d.ts +0 -2
- package/dist/packages/connect/src/helpers/effect.d.ts +0 -7
- package/dist/packages/connect/src/helpers/message.d.ts +0 -32
- package/dist/packages/connect/src/helpers/number.d.ts +0 -3
- package/dist/packages/connect/src/helpers/qr.d.ts +0 -7
- package/dist/packages/connect/src/helpers/rrule.d.ts +0 -26
- package/dist/packages/connect/src/helpers/rule.d.ts +0 -91
- package/dist/packages/connect/src/helpers/string.d.ts +0 -16
- package/dist/packages/connect/src/helpers/tax.d.ts +0 -74
- package/dist/packages/connect/src/helpers/trigger.d.ts +0 -59
- package/dist/packages/connect/src/helpers/user.d.ts +0 -6
- package/dist/packages/connect/src/helpers/zod.d.ts +0 -27
- package/dist/packages/connect/src/layouts/MainLayout.vue.d.ts +0 -2
- package/dist/packages/connect/src/main.d.ts +0 -2
- package/dist/packages/connect/src/router/index.d.ts +0 -5
- package/dist/packages/connect/src/router/name.d.ts +0 -2
- package/dist/packages/connect/src/router/shared.d.ts +0 -11
- package/dist/packages/connect/src/sheets/analytic/AnalyticSheet.vue.d.ts +0 -12
- package/dist/packages/connect/src/sheets/campaign/EditCampaignSheet.vue.d.ts +0 -11
- package/dist/packages/connect/src/sheets/campaign/SendVoucherSheet.vue.d.ts +0 -13
- package/dist/packages/connect/src/sheets/card/CardDesignSheet.vue.d.ts +0 -9
- package/dist/packages/connect/src/sheets/card/CreateCardSheet.vue.d.ts +0 -11
- package/dist/packages/connect/src/sheets/collectible/EditRewardSheet.vue.d.ts +0 -15
- package/dist/packages/connect/src/sheets/collectible/EditTitleSheet.vue.d.ts +0 -15
- package/dist/packages/connect/src/sheets/collection/CreateCollectionSheet.vue.d.ts +0 -9
- package/dist/packages/connect/src/sheets/effect/EffectSheet.vue.d.ts +0 -135
- package/dist/packages/connect/src/sheets/member/MemberDetailSheet.vue.d.ts +0 -22
- package/dist/packages/connect/src/sheets/store/StoreSettingSheet.vue.d.ts +0 -80
- package/dist/packages/connect/src/types/index.d.ts +0 -4
- package/dist/packages/connect/src/views/Analytic.vue.d.ts +0 -2
- package/dist/packages/connect/src/views/Marketing.vue.d.ts +0 -2
- package/dist/packages/connect/src/views/Setting.vue.d.ts +0 -2
- package/dist/packages/connect/src/views/Transaction.vue.d.ts +0 -2
- package/dist/packages/connect/src/views/campaign/Broadcast.vue.d.ts +0 -2
- package/dist/packages/connect/src/views/campaign/Promotion.vue.d.ts +0 -2
- package/dist/packages/connect/src/views/campaign/Voucher.vue.d.ts +0 -2
- package/dist/packages/connect/src/views/loyalty/Card.vue.d.ts +0 -2
- package/dist/packages/connect/src/views/loyalty/Member.vue.d.ts +0 -2
- package/dist/packages/connect/src/views/loyalty/Segment.vue.d.ts +0 -2
- package/dist/packages/connect/src/views/program/Credit.vue.d.ts +0 -2
- package/dist/packages/connect/src/views/program/Experience.vue.d.ts +0 -2
- package/dist/packages/connect/src/views/program/Game.vue.d.ts +0 -2
- package/dist/packages/connect/src/views/program/Point.vue.d.ts +0 -2
- package/dist/packages/connect/src/views/program/Tier.vue.d.ts +0 -2
- package/dist/packages/connect/src/views/program/Title.vue.d.ts +0 -2
- package/dist/packages/connect/src/views/store/Store.vue.d.ts +0 -2
- package/dist/packages/connect/src/views/store/StoreRewards.vue.d.ts +0 -2
|
@@ -1,32 +1,32 @@
|
|
|
1
|
-
import { defineComponent as Z, ref as
|
|
1
|
+
import { defineComponent as Z, ref as f, computed as V, watch as he, onMounted as ee, resolveComponent as g, openBlock as _, createBlock as N, unref as n, isRef as J, withCtx as T, createElementVNode as m, createVNode as l, createElementBlock as x, Fragment as P, renderList as Q, createCommentVNode as I, normalizeClass as ve, createSlots as Ee, withModifiers as Se, h as W } from "vue";
|
|
2
2
|
import { _ as ke } from "./campaign-CpzFl8Vr.js";
|
|
3
3
|
import { h as re } from "./moment-BWErdI6_.js";
|
|
4
|
-
import { useDialog as Te, components as
|
|
5
|
-
import { p as
|
|
6
|
-
import { u as Ae, g as Ce, a as
|
|
7
|
-
import { u as te } from "./membership-
|
|
8
|
-
import { _ as le } from "./index-
|
|
9
|
-
import { m as oe } from "./index-
|
|
10
|
-
import { _ as de } from "./ImageInput.vue_vue_type_script_setup_true_lang-
|
|
11
|
-
import "./index-
|
|
12
|
-
import "./index-
|
|
13
|
-
import {
|
|
14
|
-
import "./index-
|
|
15
|
-
import "./index-
|
|
16
|
-
import "./index-
|
|
17
|
-
import { a as
|
|
18
|
-
import { w as
|
|
19
|
-
import { e as De, C as we } from "./export-
|
|
20
|
-
import { u as Ue, _ as He } from "./usePagination-
|
|
4
|
+
import { useDialog as Te, components as Re } from "@feedmepos/ui-library";
|
|
5
|
+
import { p as ye, u as ne, f as ie } from "./loading-C1IzY-n2.js";
|
|
6
|
+
import { u as Ae, g as Ce, a as Oe } from "./app-BvizV9z5.js";
|
|
7
|
+
import { u as te } from "./membership-D3I4udu3.js";
|
|
8
|
+
import { _ as le } from "./index-B5gJ6P15.js";
|
|
9
|
+
import { m as oe } from "./index-C5N8jeJ1.js";
|
|
10
|
+
import { _ as de } from "./ImageInput.vue_vue_type_script_setup_true_lang-DpYjrT3G.js";
|
|
11
|
+
import "./index-DMyaEjMn.js";
|
|
12
|
+
import "./index-BLWw_MlC.js";
|
|
13
|
+
import { l as Ie } from "./index-7uOMMdXt.js";
|
|
14
|
+
import "./index-Ccn7PGoB.js";
|
|
15
|
+
import "./index-CjZxaXvZ.js";
|
|
16
|
+
import "./index-8nrxC9d5.js";
|
|
17
|
+
import { a as Ne } from "./object-qECH92oz.js";
|
|
18
|
+
import { w as xe } from "./xlsx-mL_3T1k3.js";
|
|
19
|
+
import { e as De, C as we } from "./export-BAJL8_2G.js";
|
|
20
|
+
import { u as Ue, _ as He } from "./usePagination-MhbjQgN7.js";
|
|
21
21
|
import { o as Fe } from "./objectId-dwaoBfJX.js";
|
|
22
|
-
const Be = /* @__PURE__ */
|
|
22
|
+
const Be = /* @__PURE__ */ m("div", { class: "fm-typo-en-body-lg-600" }, "Number type", -1), Pe = { class: "space-y-16" }, Me = /* @__PURE__ */ m("div", { class: "fm-typo-en-body-lg-600" }, "Number Settings", -1), Ve = { class: "gap-16 grid grid-cols-2" }, Ge = { class: "space-y-16" }, Le = /* @__PURE__ */ m("div", { class: "fm-typo-en-body-lg-600" }, "Card Settings", -1), je = {
|
|
23
23
|
key: 0,
|
|
24
24
|
class: "flex flex-col gap-[16px] w-full"
|
|
25
|
-
}, $e = { class: "flex flex-col gap-[8px]" }, Ke = /* @__PURE__ */
|
|
25
|
+
}, $e = { class: "flex flex-col gap-[8px]" }, Ke = /* @__PURE__ */ m("p", { class: "fm-typo-en-title-sm-800" }, "Design preview", -1), Xe = ["src"], Ye = { class: "flex pt-[24px] gap-[24px]" }, We = ["src", "onClick", "alt"], qe = { class: "flex items-center gap-8" }, ze = /* @__PURE__ */ Z({
|
|
26
26
|
__name: "CreateCardSheet",
|
|
27
27
|
emits: ["success", "export"],
|
|
28
28
|
setup(e, { expose: i, emit: D }) {
|
|
29
|
-
const { minor: w } = ne, v = te(),
|
|
29
|
+
const { minor: w } = ne, v = te(), y = f(), b = f(!1), A = D, h = f(!1);
|
|
30
30
|
function E(p) {
|
|
31
31
|
h.value = p, p && (a.value = {
|
|
32
32
|
quantity: 1,
|
|
@@ -40,7 +40,7 @@ const Be = /* @__PURE__ */ c("div", { class: "fm-typo-en-body-lg-600" }, "Number
|
|
|
40
40
|
}
|
|
41
41
|
});
|
|
42
42
|
}
|
|
43
|
-
const a =
|
|
43
|
+
const a = f({
|
|
44
44
|
quantity: 1,
|
|
45
45
|
code: "",
|
|
46
46
|
codeConfig: {
|
|
@@ -52,7 +52,7 @@ const Be = /* @__PURE__ */ c("div", { class: "fm-typo-en-body-lg-600" }, "Number
|
|
|
52
52
|
},
|
|
53
53
|
setCardOnBind: !1,
|
|
54
54
|
bundle: void 0
|
|
55
|
-
}),
|
|
55
|
+
}), C = [
|
|
56
56
|
{
|
|
57
57
|
label: "Bulk number",
|
|
58
58
|
value: "bulk",
|
|
@@ -76,19 +76,19 @@ const Be = /* @__PURE__ */ c("div", { class: "fm-typo-en-body-lg-600" }, "Number
|
|
|
76
76
|
{ label: "Alphabetic Uppercase", value: "ABCDEFGHIJKLMNOPQRSTUVWXYZ" },
|
|
77
77
|
{ label: "Numbers", value: "0123456789" },
|
|
78
78
|
{ label: "Custom", value: "" }
|
|
79
|
-
], F =
|
|
79
|
+
], F = f(H[0].value), S = f("bulk"), U = f(0), B = V(
|
|
80
80
|
() => {
|
|
81
81
|
var p;
|
|
82
82
|
return (p = v.membership.design) == null ? void 0 : p[U.value];
|
|
83
83
|
}
|
|
84
|
-
), r =
|
|
84
|
+
), r = f(!1), o = V(
|
|
85
85
|
() => v.sortedStoreCategories.flatMap((p) => p.bundles)
|
|
86
86
|
);
|
|
87
87
|
async function u(p) {
|
|
88
88
|
var R, M;
|
|
89
|
-
if (await ((R =
|
|
89
|
+
if (await ((R = y.value) == null ? void 0 : R.validateInputs()), !b.value) return;
|
|
90
90
|
p.design = (M = B.value) == null ? void 0 : M.image;
|
|
91
|
-
const t = await
|
|
91
|
+
const t = await ye.confirm(
|
|
92
92
|
"",
|
|
93
93
|
"Do you want to export generated card(s)?",
|
|
94
94
|
"Export",
|
|
@@ -96,8 +96,8 @@ const Be = /* @__PURE__ */ c("div", { class: "fm-typo-en-body-lg-600" }, "Number
|
|
|
96
96
|
);
|
|
97
97
|
console.log(t), await w(
|
|
98
98
|
async () => {
|
|
99
|
-
const
|
|
100
|
-
console.log(
|
|
99
|
+
const c = await oe.createCards(p);
|
|
100
|
+
console.log(c), await A("success"), t && await A("export", c);
|
|
101
101
|
},
|
|
102
102
|
{
|
|
103
103
|
message: "Creating card(s)",
|
|
@@ -115,52 +115,52 @@ const Be = /* @__PURE__ */ c("div", { class: "fm-typo-en-body-lg-600" }, "Number
|
|
|
115
115
|
), ee(async () => {
|
|
116
116
|
await v.readMemberStore();
|
|
117
117
|
}), (p, t) => {
|
|
118
|
-
const R =
|
|
119
|
-
return
|
|
118
|
+
const R = g("FmRadio"), M = g("FmRadioGroup"), c = g("FmSwitch"), j = g("FmStepperField"), $ = g("FmSelect"), G = g("FmTextField"), ge = g("FmTextarea"), K = g("FmButton"), fe = g("FmForm"), be = g("FmSideSheet");
|
|
119
|
+
return _(), N(be, {
|
|
120
120
|
"max-width": 560,
|
|
121
121
|
"dismiss-away": !0,
|
|
122
122
|
header: "Create collection",
|
|
123
123
|
modelValue: n(h),
|
|
124
124
|
"onUpdate:modelValue": [
|
|
125
|
-
t[19] || (t[19] = (
|
|
126
|
-
t[20] || (t[20] = (
|
|
125
|
+
t[19] || (t[19] = (O) => J(h) ? h.value = O : null),
|
|
126
|
+
t[20] || (t[20] = (O) => h.value = O)
|
|
127
127
|
]
|
|
128
128
|
}, {
|
|
129
129
|
"side-sheet-footer": T(() => [
|
|
130
|
-
|
|
131
|
-
|
|
130
|
+
m("div", qe, [
|
|
131
|
+
l(K, {
|
|
132
132
|
label: "Save",
|
|
133
|
-
onClick: t[17] || (t[17] = (
|
|
133
|
+
onClick: t[17] || (t[17] = (O) => u(n(a))),
|
|
134
134
|
loading: n(Ae)().isLoading
|
|
135
135
|
}, null, 8, ["loading"]),
|
|
136
|
-
|
|
136
|
+
l(K, {
|
|
137
137
|
label: "Cancel",
|
|
138
138
|
type: "button",
|
|
139
139
|
variant: "tertiary",
|
|
140
|
-
onClick: t[18] || (t[18] = (
|
|
140
|
+
onClick: t[18] || (t[18] = (O) => h.value = !1)
|
|
141
141
|
})
|
|
142
142
|
])
|
|
143
143
|
]),
|
|
144
144
|
default: T(() => [
|
|
145
|
-
|
|
145
|
+
l(fe, {
|
|
146
146
|
ref_key: "form",
|
|
147
|
-
ref:
|
|
147
|
+
ref: y,
|
|
148
148
|
class: "space-y-40",
|
|
149
|
-
onValidationSuccess: t[15] || (t[15] = (
|
|
150
|
-
onValidationFailed: t[16] || (t[16] = (
|
|
149
|
+
onValidationSuccess: t[15] || (t[15] = (O) => b.value = !0),
|
|
150
|
+
onValidationFailed: t[16] || (t[16] = (O) => b.value = !1)
|
|
151
151
|
}, {
|
|
152
152
|
default: T(() => {
|
|
153
|
-
var
|
|
153
|
+
var O, se, ae;
|
|
154
154
|
return [
|
|
155
|
-
|
|
155
|
+
m("div", null, [
|
|
156
156
|
Be,
|
|
157
|
-
|
|
157
|
+
l(M, {
|
|
158
158
|
modelValue: n(S),
|
|
159
159
|
"onUpdate:modelValue": t[0] || (t[0] = (s) => J(S) ? S.value = s : null),
|
|
160
160
|
inline: !1
|
|
161
161
|
}, {
|
|
162
162
|
default: T(() => [
|
|
163
|
-
(
|
|
163
|
+
(_(), x(P, null, Q(C, (s) => l(R, {
|
|
164
164
|
key: s.value,
|
|
165
165
|
value: s.value,
|
|
166
166
|
label: s.label,
|
|
@@ -170,10 +170,10 @@ const Be = /* @__PURE__ */ c("div", { class: "fm-typo-en-body-lg-600" }, "Number
|
|
|
170
170
|
_: 1
|
|
171
171
|
}, 8, ["modelValue"])
|
|
172
172
|
]),
|
|
173
|
-
|
|
173
|
+
m("div", Pe, [
|
|
174
174
|
Me,
|
|
175
|
-
n(S) === "bulk" ? (
|
|
176
|
-
|
|
175
|
+
n(S) === "bulk" ? (_(), x(P, { key: 0 }, [
|
|
176
|
+
l(c, {
|
|
177
177
|
"model-value": n(r),
|
|
178
178
|
"label-placement": "right",
|
|
179
179
|
value: "true",
|
|
@@ -181,15 +181,15 @@ const Be = /* @__PURE__ */ c("div", { class: "fm-typo-en-body-lg-600" }, "Number
|
|
|
181
181
|
required: !0,
|
|
182
182
|
"onUpdate:modelValue": t[1] || (t[1] = () => r.value = !n(r))
|
|
183
183
|
}, null, 8, ["model-value"]),
|
|
184
|
-
n(r) ? (
|
|
185
|
-
|
|
184
|
+
n(r) ? (_(), x(P, { key: 0 }, [
|
|
185
|
+
l(j, {
|
|
186
186
|
"model-value": n(a).codeConfig.length || null,
|
|
187
187
|
"onUpdate:modelValue": t[2] || (t[2] = (s) => n(a).codeConfig.length = s),
|
|
188
188
|
label: "Code length",
|
|
189
189
|
rules: [(s) => Number(s) >= 1 || "Code length must at least 1"],
|
|
190
190
|
required: !0
|
|
191
191
|
}, null, 8, ["model-value", "rules"]),
|
|
192
|
-
|
|
192
|
+
l($, {
|
|
193
193
|
label: "Charset",
|
|
194
194
|
"model-value": n(F),
|
|
195
195
|
items: H,
|
|
@@ -198,33 +198,33 @@ const Be = /* @__PURE__ */ c("div", { class: "fm-typo-en-body-lg-600" }, "Number
|
|
|
198
198
|
F.value = s, n(a).codeConfig.charset = s;
|
|
199
199
|
})
|
|
200
200
|
}, null, 8, ["model-value", "helper-text"]),
|
|
201
|
-
n(F) === "" ? (
|
|
201
|
+
n(F) === "" ? (_(), N(G, {
|
|
202
202
|
key: 0,
|
|
203
203
|
modelValue: n(a).codeConfig.charset,
|
|
204
204
|
"onUpdate:modelValue": t[4] || (t[4] = (s) => n(a).codeConfig.charset = s),
|
|
205
205
|
label: "Custom Charset",
|
|
206
206
|
required: ""
|
|
207
|
-
}, null, 8, ["modelValue"])) :
|
|
208
|
-
|
|
209
|
-
|
|
207
|
+
}, null, 8, ["modelValue"])) : I("", !0),
|
|
208
|
+
m("div", Ve, [
|
|
209
|
+
l(G, {
|
|
210
210
|
modelValue: n(a).codeConfig.prefix,
|
|
211
211
|
"onUpdate:modelValue": t[5] || (t[5] = (s) => n(a).codeConfig.prefix = s),
|
|
212
212
|
label: "Prefix (Optional)"
|
|
213
213
|
}, null, 8, ["modelValue"]),
|
|
214
|
-
|
|
214
|
+
l(G, {
|
|
215
215
|
modelValue: n(a).codeConfig.suffix,
|
|
216
216
|
"onUpdate:modelValue": t[6] || (t[6] = (s) => n(a).codeConfig.suffix = s),
|
|
217
217
|
label: "Suffix (Optional)"
|
|
218
218
|
}, null, 8, ["modelValue"])
|
|
219
219
|
]),
|
|
220
|
-
|
|
220
|
+
l(G, {
|
|
221
221
|
modelValue: n(a).codeConfig.pattern,
|
|
222
222
|
"onUpdate:modelValue": t[7] || (t[7] = (s) => n(a).codeConfig.pattern = s),
|
|
223
223
|
label: "Pattern",
|
|
224
224
|
required: !0
|
|
225
225
|
}, null, 8, ["modelValue"])
|
|
226
|
-
], 64)) :
|
|
227
|
-
|
|
226
|
+
], 64)) : I("", !0),
|
|
227
|
+
l(G, {
|
|
228
228
|
modelValue: n(a).quantity,
|
|
229
229
|
"onUpdate:modelValue": t[8] || (t[8] = (s) => n(a).quantity = s),
|
|
230
230
|
label: "Number of code",
|
|
@@ -235,25 +235,25 @@ const Be = /* @__PURE__ */ c("div", { class: "fm-typo-en-body-lg-600" }, "Number
|
|
|
235
235
|
required: !0,
|
|
236
236
|
"helper-text": `${n(a).quantity} card will be created`
|
|
237
237
|
}, null, 8, ["modelValue", "rules", "helper-text"])
|
|
238
|
-
], 64)) :
|
|
239
|
-
n(S) !== "bulk" ? (
|
|
238
|
+
], 64)) : I("", !0),
|
|
239
|
+
n(S) !== "bulk" ? (_(), N(ge, {
|
|
240
240
|
key: 1,
|
|
241
241
|
modelValue: n(a).code,
|
|
242
242
|
"onUpdate:modelValue": t[9] || (t[9] = (s) => n(a).code = s),
|
|
243
243
|
label: "Custom Card Number",
|
|
244
244
|
rules: [(s) => n(S) != "single" || !!s || "Custom code is required"],
|
|
245
245
|
placeholder: "(For multiple numbers, please enter in the new row.)"
|
|
246
|
-
}, null, 8, ["modelValue", "rules"])) :
|
|
246
|
+
}, null, 8, ["modelValue", "rules"])) : I("", !0)
|
|
247
247
|
]),
|
|
248
|
-
|
|
248
|
+
m("div", Ge, [
|
|
249
249
|
Le,
|
|
250
|
-
|
|
250
|
+
l(c, {
|
|
251
251
|
"label-placement": "right",
|
|
252
252
|
label: "Set card number on bind",
|
|
253
253
|
"model-value": n(a).setCardOnBind || !1,
|
|
254
254
|
"onUpdate:modelValue": t[10] || (t[10] = (s) => n(a).setCardOnBind = s)
|
|
255
255
|
}, null, 8, ["model-value"]),
|
|
256
|
-
|
|
256
|
+
l(le, {
|
|
257
257
|
label: "Activate bundle on bind",
|
|
258
258
|
placeholder: "Select bundle",
|
|
259
259
|
items: n(o).filter((s) => !s.stripePriceId).map((s) => ({ label: s.name, value: s._id })),
|
|
@@ -261,16 +261,16 @@ const Be = /* @__PURE__ */ c("div", { class: "fm-typo-en-body-lg-600" }, "Number
|
|
|
261
261
|
"onUpdate:modelValue": t[12] || (t[12] = (s) => n(a).bundle = s)
|
|
262
262
|
}, {
|
|
263
263
|
append: T(() => [
|
|
264
|
-
n(a).bundle ? (
|
|
264
|
+
n(a).bundle ? (_(), N(K, {
|
|
265
265
|
key: 0,
|
|
266
266
|
icon: "link_off",
|
|
267
267
|
variant: "plain",
|
|
268
268
|
onClick: t[11] || (t[11] = (s) => n(a).bundle = void 0)
|
|
269
|
-
})) :
|
|
269
|
+
})) : I("", !0)
|
|
270
270
|
]),
|
|
271
271
|
_: 1
|
|
272
272
|
}, 8, ["items", "modelValue"]),
|
|
273
|
-
(se = (
|
|
273
|
+
(se = (O = n(v).store) == null ? void 0 : O.stripe) != null && se.apiKey ? (_(), N(le, {
|
|
274
274
|
key: 0,
|
|
275
275
|
label: "Linked subscription bundle",
|
|
276
276
|
placeholder: "Select bundle",
|
|
@@ -279,35 +279,35 @@ const Be = /* @__PURE__ */ c("div", { class: "fm-typo-en-body-lg-600" }, "Number
|
|
|
279
279
|
"onUpdate:modelValue": t[14] || (t[14] = (s) => n(a).subscriptionBundle = s)
|
|
280
280
|
}, {
|
|
281
281
|
append: T(() => [
|
|
282
|
-
n(a).subscriptionBundle ? (
|
|
282
|
+
n(a).subscriptionBundle ? (_(), N(K, {
|
|
283
283
|
key: 0,
|
|
284
284
|
icon: "link_off",
|
|
285
285
|
variant: "plain",
|
|
286
286
|
onClick: t[13] || (t[13] = (s) => n(a).subscriptionBundle = void 0)
|
|
287
|
-
})) :
|
|
287
|
+
})) : I("", !0)
|
|
288
288
|
]),
|
|
289
289
|
_: 1
|
|
290
|
-
}, 8, ["items", "modelValue"])) :
|
|
290
|
+
}, 8, ["items", "modelValue"])) : I("", !0)
|
|
291
291
|
]),
|
|
292
|
-
n(v).membership.design ? (
|
|
293
|
-
|
|
292
|
+
n(v).membership.design ? (_(), x("div", je, [
|
|
293
|
+
m("div", $e, [
|
|
294
294
|
Ke,
|
|
295
|
-
|
|
295
|
+
m("img", {
|
|
296
296
|
src: (ae = n(B)) == null ? void 0 : ae.image,
|
|
297
297
|
class: "aspect-[16/9]"
|
|
298
298
|
}, null, 8, Xe),
|
|
299
|
-
|
|
300
|
-
(
|
|
299
|
+
m("div", Ye, [
|
|
300
|
+
(_(!0), x(P, null, Q(n(v).membership.design, (s, X) => (_(), x("img", {
|
|
301
301
|
src: s.image,
|
|
302
302
|
key: `image_${X}`,
|
|
303
303
|
class: ve(["w-[112px] h-[63px] cursor-pointer", `${n(U) === X ? "border-[2px] border-fm-color-primary" : ""}`]),
|
|
304
304
|
onClick: (gn) => U.value = X,
|
|
305
305
|
alt: `ai_image_predict_${X}`,
|
|
306
306
|
style: { objectFit: "cover" }
|
|
307
|
-
}, null, 10,
|
|
307
|
+
}, null, 10, We))), 128))
|
|
308
308
|
])
|
|
309
309
|
])
|
|
310
|
-
])) :
|
|
310
|
+
])) : I("", !0)
|
|
311
311
|
];
|
|
312
312
|
}),
|
|
313
313
|
_: 1
|
|
@@ -318,7 +318,7 @@ const Be = /* @__PURE__ */ c("div", { class: "fm-typo-en-body-lg-600" }, "Number
|
|
|
318
318
|
};
|
|
319
319
|
}
|
|
320
320
|
});
|
|
321
|
-
var q = { env: { GITHUB_STATE: "/home/runner/work/_temp/_runner_file_commands/save_state_f477deb0-7ea3-4e43-84fc-eb86b2519868", npm_package_dependencies_zod: "3.22.4", npm_package_devDependencies__types_node: "^18.19.36", STATS_TRP: "true", DEPLOYMENT_BASEPATH: "/opt/runner", DOTNET_NOLOGO: "1", npm_package_dependencies_pinia: "^2.1.7", npm_package_dependencies_vite_plugin_vue_devtools: "^7.6.4", USER: "runner", npm_config_user_agent: "pnpm/9.15.0 npm/? node/v20.18.1 linux x64", CI: "true", npm_package_dependencies_vue: "^3.4.29", RUNNER_ENVIRONMENT: "github-hosted", GITHUB_ENV: "/home/runner/work/_temp/_runner_file_commands/set_env_f477deb0-7ea3-4e43-84fc-eb86b2519868", PIPX_HOME: "/opt/pipx", npm_package_devDependencies_vite: "^5.3.1", npm_node_execpath: "/opt/hostedtoolcache/node/20.18.1/x64/bin/node", JAVA_HOME_8_X64: "/usr/lib/jvm/temurin-8-jdk-amd64", SHLVL: "1", npm_package_files_0: "dist", HOME: "/home/runner", RUNNER_TEMP: "/home/runner/work/_temp", GITHUB_EVENT_PATH: "/home/runner/work/_temp/_github_workflow/event.json", npm_package_scripts_build_mf_dev: "vite build --mode fmmf", npm_package_dependencies__types_qrcode: "^1.5.5", JAVA_HOME_11_X64: "/usr/lib/jvm/temurin-11-jdk-amd64", PIPX_BIN_DIR: "/opt/pipx_bin", GITHUB_REPOSITORY_OWNER: "feedmepos", npm_package_scripts_build_mf_prod: "vite build --mode fmmf:prod", npm_package_dependencies_change_case: "^5.4.4", NODE_OPTIONS: "--max-old-space-size=8096", GRADLE_HOME: "/usr/share/gradle-8.11.1", ANDROID_NDK_LATEST_HOME: "/usr/local/lib/android/sdk/ndk/27.2.12479018", JAVA_HOME_21_X64: "/usr/lib/jvm/temurin-21-jdk-amd64", STATS_RDCL: "true", GITHUB_RETENTION_DAYS: "90", npm_package_dependencies__feedmepos_mf_common: "1.8.37", npm_package_dependencies_fabric: "^6.4.2", GITHUB_REPOSITORY_OWNER_ID: "54831515", POWERSHELL_DISTRIBUTION_CHANNEL: "GitHub-Actions-ubuntu22", AZURE_EXTENSION_DIR: "/opt/az/azcliextensions", GITHUB_HEAD_REF: "", SYSTEMD_EXEC_PID: "487", npm_package_dependencies__feedmepos_ui_library: "1.2.56", npm_package_dependencies_dayjs: "^1.11.11", npm_package_dependencies_dotenv: "^16.4.5", npm_package_dependencies_moment: "^2.30.1", GITHUB_GRAPHQL_URL: "https://api.github.com/graphql", npm_package_scripts_build_only_dev: "pnpm build:mf:dev", npm_package_devDependencies_tailwindcss: "^3.4.4", npm_package_devDependencies_typescript: "^5.4.5", NVM_DIR: "/home/runner/.nvm", npm_package_scripts_build_dev: "cross-env NODE_OPTIONS=--max-old-space-size=4096 vite build --mode development", npm_package_scripts_build_only_prod: "pnpm build:mf:prod && pnpm build:dts && pnpm build-types", npm_package_dependencies_xlsx: "^0.18.5", npm_package_devDependencies_vue_tsc: "^2.0.21", DOTNET_SKIP_FIRST_TIME_EXPERIENCE: "1", GOROOT_1_21_X64: "/opt/hostedtoolcache/go/1.21.13/x64", JAVA_HOME_17_X64: "/usr/lib/jvm/temurin-17-jdk-amd64", ImageVersion: "20241211.1.0", npm_package_scripts_dev: "vite", npm_package_scripts_build_prod: "cross-env NODE_OPTIONS=--max-old-space-size=4096 vite build --mode production", npm_package_dependencies_unplugin_auto_import: "^0.17.6", RUNNER_OS: "Linux", GITHUB_API_URL: "https://api.github.com", GOROOT_1_22_X64: "/opt/hostedtoolcache/go/1.22.10/x64", STORE_PATH: "/home/runner/setup-pnpm/node_modules/.bin/store/v3", SWIFT_PATH: "/usr/share/swift/usr/bin", npm_package_type: "module", RUNNER_USER: "runner", STATS_V3PS: "true", CHROMEWEBDRIVER: "/usr/local/share/chromedriver-linux64", GOROOT_1_23_X64: "/opt/hostedtoolcache/go/1.23.4/x64", JOURNAL_STREAM: "8:19492", GITHUB_WORKFLOW: "Publish mf-connect - production", _: "/home/runner/setup-pnpm/node_modules/.bin/pnpm", npm_package_module: "./dist/app.js", npm_package_devDependencies_autoprefixer: "^10.4.19", npm_package_devDependencies__types_uuid: "^9.0.8", npm_package_devDependencies_unlayer_types: "^1.111.0", npm_config_registry: "https://registry.npmjs.org/", ACTIONS_RUNNER_ACTION_ARCHIVE_CACHE: "/opt/actionarchivecache", STATS_D: "false", GITHUB_RUN_ID: "12348337662", STATS_VMFE: "true", npm_package_dependencies_bson_objectid: "^2.0.4", npm_package_devDependencies__types_lodash: "^4.17.5", GITHUB_REF_TYPE: "branch", BOOTSTRAP_HASKELL_NONINTERACTIVE: "1", GITHUB_WORKFLOW_SHA: "c79b2aee8651b91bb92854dc0a22991abe545ff0", GITHUB_BASE_REF: "", ImageOS: "ubuntu22", npm_package_exports___import: "./dist/app.js", npm_package_devDependencies__vitejs_plugin_vue: "^5.0.5", GITHUB_WORKFLOW_REF: "feedmepos/marketing-services/.github/workflows/[PROD] publish-mf-connect.yml@refs/heads/main", PERFLOG_LOCATION_SETTING: "RUNNER_PERFLOG", GITHUB_ACTION_REPOSITORY: "", npm_package_dependencies_axios: "^1.7.2", npm_config_node_gyp: "/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.0/node_modules/pnpm/dist/node_modules/node-gyp/bin/node-gyp.js", PATH: "/home/runner/work/marketing-services/marketing-services/packages/connect/node_modules/.bin:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.0/node_modules/pnpm/dist/node-gyp-bin:/home/runner/work/marketing-services/marketing-services/packages/connect/node_modules/.bin:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.0/node_modules/pnpm/dist/node-gyp-bin:/home/runner/setup-pnpm/node_modules/.bin:/opt/hostedtoolcache/node/20.18.1/x64/bin:/snap/bin:/home/runner/.local/bin:/opt/pipx_bin:/home/runner/.cargo/bin:/home/runner/.config/composer/vendor/bin:/usr/local/.ghcup/bin:/home/runner/.dotnet/tools:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin", ANT_HOME: "/usr/share/ant", DOTNET_MULTILEVEL_LOOKUP: "0", RUNNER_TRACKING_ID: "github_6f7af9b4-d255-4a80-afab-66ab472ba367", INVOCATION_ID: "a3e7a10e952e4fef8f242474fda567d6", RUNNER_TOOL_CACHE: "/opt/hostedtoolcache", NODE: "/opt/hostedtoolcache/node/20.18.1/x64/bin/node", npm_package_name: "@feedmepos/mf-connect", npm_package_scripts_deploy_dev: "pnpm run build-only:dev && pnpm publish --no-git-checks .", npm_package_dependencies_cross_env: "^7.0.3", GITHUB_ACTION: "__run_5", GITHUB_RUN_NUMBER: "5", GITHUB_TRIGGERING_ACTOR: "qaijunse", RUNNER_ARCH: "X64", XDG_RUNTIME_DIR: "/run/user/1001", AGENT_TOOLSDIRECTORY: "/opt/hostedtoolcache", npm_package_scripts_deploy_prod: "pnpm run build-only:prod && pnpm publish --no-git-checks .", npm_config_frozen_lockfile: "", LANG: "C.UTF-8", VCPKG_INSTALLATION_ROOT: "/usr/local/share/vcpkg", npm_package_dependencies__feedmepos_mf_core_ui: "1.0.10", CONDA: "/usr/share/miniconda", RUNNER_NAME: "GitHub Actions 270", XDG_CONFIG_HOME: "/home/runner/.config", STATS_VMD: "true", GITHUB_REF_NAME: "main", GITHUB_REPOSITORY: "feedmepos/marketing-services", STATS_D_D: "false", npm_package_scripts_build_dts: "vue-tsc --declaration --noEmit false --emitDeclarationOnly -p tsconfig.json --outDir ./dist && mv ./dist/src/* dist", npm_package_scripts_build_types: "vue-tsc --declaration --emitDeclarationOnly -p tsconfig.json --outDir dist --composite false", npm_package_dependencies__feedmepos_core: "^2.10.4", npm_lifecycle_script: "vite build --mode fmmf:prod", STATS_UE: "true", ANDROID_NDK_ROOT: "/usr/local/lib/android/sdk/ndk/27.2.12479018", GITHUB_ACTION_REF: "", DEBIAN_FRONTEND: "noninteractive", npm_package_dependencies_rrule: "^2.8.1", npm_package_dependencies_vue3_lottie: "^3.3.0", GITHUB_REPOSITORY_ID: "615151795", GITHUB_ACTIONS: "true", STATS_PIP: "false", NODE_PATH: "/home/runner/work/marketing-services/marketing-services/packages/connect/node_modules/.pnpm/vite@5.3.4_@types+node@18.19.41/node_modules/vite/bin/node_modules:/home/runner/work/marketing-services/marketing-services/packages/connect/node_modules/.pnpm/vite@5.3.4_@types+node@18.19.41/node_modules/vite/node_modules:/home/runner/work/marketing-services/marketing-services/packages/connect/node_modules/.pnpm/vite@5.3.4_@types+node@18.19.41/node_modules:/home/runner/work/marketing-services/marketing-services/packages/connect/node_modules/.pnpm/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.0/node_modules/pnpm/bin/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.0/node_modules/pnpm/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.0/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.0/node_modules/pnpm/bin/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.0/node_modules/pnpm/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.0/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/node_modules", npm_package_version: "0.0.9", npm_lifecycle_event: "build:mf:prod", GITHUB_REF_PROTECTED: "false", npm_package_scripts_build: "vue-tsc && vite build", npm_package_dependencies_uuid: "^10.0.0", GITHUB_WORKSPACE: "/home/runner/work/marketing-services/marketing-services", ACCEPT_EULA: "Y", GITHUB_JOB: "deploy", RUNNER_PERFLOG: "/home/runner/perflog", npm_package_dependencies_lodash: "^4.17.21", GITHUB_SHA: "c79b2aee8651b91bb92854dc0a22991abe545ff0", GITHUB_RUN_ATTEMPT: "1", STATS_D_TC: "true", npm_package_exports___style: "./dist/style.css", npm_package_dependencies_vue_router: "^4.3.3", GITHUB_REF: "refs/heads/main", GITHUB_ACTOR: "qaijunse", ANDROID_SDK_ROOT: "/usr/local/lib/android/sdk", npm_package_license: "UNLICENSED", npm_package_dependencies_email_addresses: "^5.0.0", LEIN_HOME: "/usr/local/lib/lein", npm_package_dependencies_firebase: "^10.12.2", npm_package_dependencies_qrcode: "^1.5.3", GITHUB_PATH: "/home/runner/work/_temp/_runner_file_commands/add_path_f477deb0-7ea3-4e43-84fc-eb86b2519868", JAVA_HOME: "/usr/lib/jvm/temurin-11-jdk-amd64", PWD: "/home/runner/work/marketing-services/marketing-services/packages/connect", GITHUB_ACTOR_ID: "39590157", RUNNER_WORKSPACE: "/home/runner/work/marketing-services", npm_execpath: "/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.0/node_modules/pnpm/bin/pnpm.cjs", HOMEBREW_CLEANUP_PERIODIC_FULL_DAYS: "3650", STATS_TIS: "mining", GITHUB_EVENT_NAME: "workflow_dispatch", HOMEBREW_NO_AUTO_UPDATE: "1", ANDROID_HOME: "/usr/local/lib/android/sdk", GITHUB_SERVER_URL: "https://github.com", GECKOWEBDRIVER: "/usr/local/share/gecko_driver", LEIN_JAR: "/usr/local/lib/lein/self-installs/leiningen-2.11.2-standalone.jar", GHCUP_INSTALL_BASE_PREFIX: "/usr/local", GITHUB_OUTPUT: "/home/runner/work/_temp/_runner_file_commands/set_output_f477deb0-7ea3-4e43-84fc-eb86b2519868", npm_package_exports___types: "./dist/packages/connect/src/app.d.ts", EDGEWEBDRIVER: "/usr/local/share/edge_driver", STATS_EXT: "true", PNPM_SCRIPT_SRC_DIR: "/home/runner/work/marketing-services/marketing-services/packages/connect", npm_package_devDependencies_postcss: "^8.4.38", npm_command: "run-script", ANDROID_NDK: "/usr/local/lib/android/sdk/ndk/27.2.12479018", SGX_AESM_ADDR: "1", CHROME_BIN: "/usr/bin/google-chrome", npm_package_scripts_preview: "vite preview", SELENIUM_JAR_PATH: "/usr/share/java/selenium-server.jar", PNPM_HOME: "/home/runner/setup-pnpm/node_modules/.bin", STATS_EXTP: "https://provjobdprod.z13.web.core.windows.net/settings/provjobdsettings-latest/provjobd.data", ANDROID_NDK_HOME: "/usr/local/lib/android/sdk/ndk/27.2.12479018", GITHUB_STEP_SUMMARY: "/home/runner/work/_temp/_runner_file_commands/step_summary_f477deb0-7ea3-4e43-84fc-eb86b2519868", INIT_CWD: "/home/runner/work/marketing-services/marketing-services/packages/connect", NODE_ENV: "production", FEEDME_NAMESPACE: "dev", FIREBASE_API_KEY: "AIzaSyAj8JdCHtP0Vc5vZobCfgoLzWxPIn0WUG4", FIREBASE_AUTH_DOMAIN: "feedme-dev-4c3ef.firebaseapp.com", FIREBASE_DATABASE_URL: "https://feedme-dev-4c3ef.firebaseio.com", FIREBASE_PROJECT_ID: "feedme-dev-4c3ef", FIREBASE_STORAGE_BUCKET: "feedme-dev-4c3ef.appspot.com", FIREBASE_MESSAGING_SENDER_ID: "458797803788", FIREBASE_APP_ID: "1:458797803788:web:37f2af2926a84288f0c129", FIREBASE_MEASUREMENT_ID: "G-J2QG09D2Q7", ASSET_STORAGE_BUCKET: "feedme-dev-4c3ef.appspot.com", AUTH_URL: "https://portal-v2-dev.feedmeapi.com/", SLACK_WEBHOOK_URL: "https://hooks.slack.com/services/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", MEMBER_APP_URL: "member.feedmedev.cc", CRM_APP_URL: "crm.feedmedev.cc", MARKETING_V1_PORTAL: "https://marketing-v1.feedmedev.cc", CLIENT_ID: "1a362d621873497b277ea55258cc82594ba148d235257f7bd44ea2acc132d8a4" } }, z = Math.floor(Math.random() * 16777215), pe = l.index = parseInt(Math.random() * 16777215, 10), me = (typeof q > "u" || typeof q.pid != "number" ? Math.floor(Math.random() * 1e5) : q.pid) % 65535, ue = (() => {
|
|
321
|
+
var q = { env: { GITHUB_STATE: "/home/runner/work/_temp/_runner_file_commands/save_state_273626a0-664e-47a6-a3a4-a08e6e09f5e1", npm_package_dependencies_zod: "3.22.4", npm_package_devDependencies__types_node: "^18.19.36", STATS_TRP: "true", DEPLOYMENT_BASEPATH: "/opt/runner", DOTNET_NOLOGO: "1", npm_package_dependencies_pinia: "^2.1.7", npm_package_dependencies_vite_plugin_vue_devtools: "^7.6.4", USER: "runner", npm_config_user_agent: "pnpm/9.15.2 npm/? node/v20.18.1 linux x64", CI: "true", npm_package_dependencies_vue: "^3.4.29", RUNNER_ENVIRONMENT: "github-hosted", GITHUB_ENV: "/home/runner/work/_temp/_runner_file_commands/set_env_273626a0-664e-47a6-a3a4-a08e6e09f5e1", PIPX_HOME: "/opt/pipx", npm_package_devDependencies_vite: "^5.3.1", npm_node_execpath: "/opt/hostedtoolcache/node/20.18.1/x64/bin/node", JAVA_HOME_8_X64: "/usr/lib/jvm/temurin-8-jdk-amd64", SHLVL: "1", npm_package_files_0: "dist", HOME: "/home/runner", RUNNER_TEMP: "/home/runner/work/_temp", GITHUB_EVENT_PATH: "/home/runner/work/_temp/_github_workflow/event.json", npm_package_scripts_build_mf_dev: "vite build --mode fmmf", npm_package_dependencies__types_qrcode: "^1.5.5", JAVA_HOME_11_X64: "/usr/lib/jvm/temurin-11-jdk-amd64", PIPX_BIN_DIR: "/opt/pipx_bin", GITHUB_REPOSITORY_OWNER: "feedmepos", npm_package_scripts_build_mf_prod: "vite build --mode fmmf:prod", npm_package_dependencies_change_case: "^5.4.4", NODE_OPTIONS: "--max-old-space-size=8096", GRADLE_HOME: "/usr/share/gradle-8.11.1", ANDROID_NDK_LATEST_HOME: "/usr/local/lib/android/sdk/ndk/27.2.12479018", JAVA_HOME_21_X64: "/usr/lib/jvm/temurin-21-jdk-amd64", STATS_RDCL: "true", GITHUB_RETENTION_DAYS: "90", npm_package_dependencies__feedmepos_mf_common: "1.8.37", npm_package_dependencies_fabric: "^6.4.2", GITHUB_REPOSITORY_OWNER_ID: "54831515", POWERSHELL_DISTRIBUTION_CHANNEL: "GitHub-Actions-ubuntu24", AZURE_EXTENSION_DIR: "/opt/az/azcliextensions", GITHUB_HEAD_REF: "", SYSTEMD_EXEC_PID: "708", npm_package_dependencies__feedmepos_ui_library: "1.3.5", npm_package_dependencies_dayjs: "^1.11.11", npm_package_dependencies_dotenv: "^16.4.5", npm_package_dependencies_moment: "^2.30.1", GITHUB_GRAPHQL_URL: "https://api.github.com/graphql", npm_package_scripts_build_only_dev: "pnpm build:mf:dev", npm_package_devDependencies_tailwindcss: "^3.4.4", npm_package_devDependencies_typescript: "^5.4.5", NVM_DIR: "/home/runner/.nvm", npm_package_scripts_build_dev: "cross-env NODE_OPTIONS=--max-old-space-size=4096 vite build --mode development", npm_package_scripts_build_only_prod: "pnpm build:mf:prod", npm_package_dependencies_xlsx: "^0.18.5", npm_package_devDependencies_vue_tsc: "^2.0.21", DOTNET_SKIP_FIRST_TIME_EXPERIENCE: "1", GOROOT_1_21_X64: "/opt/hostedtoolcache/go/1.21.13/x64", JAVA_HOME_17_X64: "/usr/lib/jvm/temurin-17-jdk-amd64", ImageVersion: "20241215.1.0", npm_package_scripts_dev: "vite", npm_package_scripts_build_prod: "cross-env NODE_OPTIONS=--max-old-space-size=4096 vite build --mode production", npm_package_dependencies_unplugin_auto_import: "^0.17.6", RUNNER_OS: "Linux", GITHUB_API_URL: "https://api.github.com", GOROOT_1_22_X64: "/opt/hostedtoolcache/go/1.22.10/x64", STORE_PATH: "/home/runner/setup-pnpm/node_modules/.bin/store/v3", SWIFT_PATH: "/usr/share/swift/usr/bin", npm_package_type: "module", RUNNER_USER: "runner", STATS_V3PS: "true", CHROMEWEBDRIVER: "/usr/local/share/chromedriver-linux64", GOROOT_1_23_X64: "/opt/hostedtoolcache/go/1.23.4/x64", JOURNAL_STREAM: "8:5679", GITHUB_WORKFLOW: "Publish mf-connect - production", _: "/home/runner/setup-pnpm/node_modules/.bin/pnpm", npm_package_module: "./dist/app.js", npm_package_devDependencies_autoprefixer: "^10.4.19", MEMORY_PRESSURE_WATCH: "/sys/fs/cgroup/system.slice/runner-provisioner.service/memory.pressure", npm_package_devDependencies__types_uuid: "^9.0.8", npm_package_devDependencies_unlayer_types: "^1.111.0", npm_config_registry: "https://registry.npmjs.org/", ACTIONS_RUNNER_ACTION_ARCHIVE_CACHE: "/opt/actionarchivecache", STATS_D: "false", GITHUB_RUN_ID: "12593715966", STATS_VMFE: "true", npm_package_dependencies_bson_objectid: "^2.0.4", npm_package_devDependencies__types_lodash: "^4.17.5", GITHUB_REF_TYPE: "branch", BOOTSTRAP_HASKELL_NONINTERACTIVE: "1", GITHUB_WORKFLOW_SHA: "2c18d7a7d939d9a1e3d2353cdf3fedab4ea06e92", GITHUB_BASE_REF: "", ImageOS: "ubuntu24", npm_package_exports___import: "./dist/app.js", npm_package_devDependencies__vitejs_plugin_vue: "^5.0.5", GITHUB_WORKFLOW_REF: "feedmepos/marketing-services/.github/workflows/[PROD] publish-mf-connect.yml@refs/heads/main", PERFLOG_LOCATION_SETTING: "RUNNER_PERFLOG", GITHUB_ACTION_REPOSITORY: "", npm_package_dependencies_axios: "^1.7.2", npm_config_node_gyp: "/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.2/node_modules/pnpm/dist/node_modules/node-gyp/bin/node-gyp.js", PATH: "/home/runner/work/marketing-services/marketing-services/packages/connect/node_modules/.bin:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.2/node_modules/pnpm/dist/node-gyp-bin:/home/runner/work/marketing-services/marketing-services/packages/connect/node_modules/.bin:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.2/node_modules/pnpm/dist/node-gyp-bin:/home/runner/setup-pnpm/node_modules/.bin:/opt/hostedtoolcache/node/20.18.1/x64/bin:/snap/bin:/home/runner/.local/bin:/opt/pipx_bin:/home/runner/.cargo/bin:/home/runner/.config/composer/vendor/bin:/usr/local/.ghcup/bin:/home/runner/.dotnet/tools:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin", ANT_HOME: "/usr/share/ant", DOTNET_MULTILEVEL_LOOKUP: "0", RUNNER_TRACKING_ID: "github_9f21dfdb-e83e-4dc9-ac0a-a295c25422b9", INVOCATION_ID: "23086001538342f3b9fb35fc2079d4ca", RUNNER_TOOL_CACHE: "/opt/hostedtoolcache", NODE: "/opt/hostedtoolcache/node/20.18.1/x64/bin/node", npm_package_name: "@feedmepos/mf-connect", npm_package_scripts_deploy_dev: "pnpm run build-only:dev && pnpm publish --no-git-checks .", npm_package_dependencies_cross_env: "^7.0.3", GITHUB_ACTION: "__run_5", GITHUB_RUN_NUMBER: "8", GITHUB_TRIGGERING_ACTOR: "qaijunse", RUNNER_ARCH: "X64", XDG_RUNTIME_DIR: "/run/user/1001", AGENT_TOOLSDIRECTORY: "/opt/hostedtoolcache", npm_package_scripts_deploy_prod: "pnpm run build-only:prod && pnpm publish --no-git-checks .", npm_config_frozen_lockfile: "", LANG: "C.UTF-8", VCPKG_INSTALLATION_ROOT: "/usr/local/share/vcpkg", npm_package_dependencies__feedmepos_mf_core_ui: "1.0.10", CONDA: "/usr/share/miniconda", RUNNER_NAME: "GitHub Actions 474", XDG_CONFIG_HOME: "/home/runner/.config", STATS_VMD: "true", GITHUB_REF_NAME: "main", GITHUB_REPOSITORY: "feedmepos/marketing-services", STATS_D_D: "false", npm_package_scripts_build_dts: "vue-tsc --declaration --noEmit false --emitDeclarationOnly -p tsconfig.json --outDir ./dist && mv ./dist/src/* dist", npm_package_scripts_build_types: "vue-tsc --declaration --emitDeclarationOnly -p tsconfig.json --outDir dist --composite false", npm_package_dependencies__feedmepos_core: "^2.10.4", npm_lifecycle_script: "vite build --mode fmmf:prod", STATS_UE: "true", ANDROID_NDK_ROOT: "/usr/local/lib/android/sdk/ndk/27.2.12479018", GITHUB_ACTION_REF: "", DEBIAN_FRONTEND: "noninteractive", npm_package_dependencies_rrule: "^2.8.1", npm_package_dependencies_vue3_lottie: "^3.3.0", GITHUB_REPOSITORY_ID: "615151795", GITHUB_ACTIONS: "true", STATS_PIP: "false", NODE_PATH: "/home/runner/work/marketing-services/marketing-services/packages/connect/node_modules/.pnpm/vite@5.3.4_@types+node@18.19.41/node_modules/vite/bin/node_modules:/home/runner/work/marketing-services/marketing-services/packages/connect/node_modules/.pnpm/vite@5.3.4_@types+node@18.19.41/node_modules/vite/node_modules:/home/runner/work/marketing-services/marketing-services/packages/connect/node_modules/.pnpm/vite@5.3.4_@types+node@18.19.41/node_modules:/home/runner/work/marketing-services/marketing-services/packages/connect/node_modules/.pnpm/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.2/node_modules/pnpm/bin/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.2/node_modules/pnpm/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.2/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.2/node_modules/pnpm/bin/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.2/node_modules/pnpm/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.2/node_modules:/home/runner/setup-pnpm/node_modules/.pnpm/node_modules", npm_package_version: "0.0.11-prod", npm_lifecycle_event: "build:mf:prod", GITHUB_REF_PROTECTED: "false", npm_package_scripts_build: "vue-tsc && vite build", npm_package_dependencies_uuid: "^10.0.0", GITHUB_WORKSPACE: "/home/runner/work/marketing-services/marketing-services", ACCEPT_EULA: "Y", GITHUB_JOB: "deploy", RUNNER_PERFLOG: "/home/runner/perflog", npm_package_dependencies_lodash: "^4.17.21", GITHUB_SHA: "2c18d7a7d939d9a1e3d2353cdf3fedab4ea06e92", GITHUB_RUN_ATTEMPT: "1", STATS_D_TC: "true", npm_package_exports___style: "./dist/style.css", npm_package_dependencies_vue_router: "^4.3.3", GITHUB_REF: "refs/heads/main", GITHUB_ACTOR: "qaijunse", ANDROID_SDK_ROOT: "/usr/local/lib/android/sdk", npm_package_license: "UNLICENSED", npm_package_dependencies_email_addresses: "^5.0.0", npm_package_dependencies_firebase: "^10.12.2", npm_package_dependencies_qrcode: "^1.5.3", GITHUB_PATH: "/home/runner/work/_temp/_runner_file_commands/add_path_273626a0-664e-47a6-a3a4-a08e6e09f5e1", JAVA_HOME: "/usr/lib/jvm/temurin-17-jdk-amd64", PWD: "/home/runner/work/marketing-services/marketing-services/packages/connect", GITHUB_ACTOR_ID: "39590157", RUNNER_WORKSPACE: "/home/runner/work/marketing-services", npm_execpath: "/home/runner/setup-pnpm/node_modules/.pnpm/pnpm@9.15.2/node_modules/pnpm/bin/pnpm.cjs", HOMEBREW_CLEANUP_PERIODIC_FULL_DAYS: "3650", STATS_TIS: "mining", GITHUB_EVENT_NAME: "workflow_dispatch", HOMEBREW_NO_AUTO_UPDATE: "1", ANDROID_HOME: "/usr/local/lib/android/sdk", GITHUB_SERVER_URL: "https://github.com", GECKOWEBDRIVER: "/usr/local/share/gecko_driver", GHCUP_INSTALL_BASE_PREFIX: "/usr/local", GITHUB_OUTPUT: "/home/runner/work/_temp/_runner_file_commands/set_output_273626a0-664e-47a6-a3a4-a08e6e09f5e1", npm_package_exports___types: "./dist/packages/connect/src/app.d.ts", EDGEWEBDRIVER: "/usr/local/share/edge_driver", STATS_EXT: "true", PNPM_SCRIPT_SRC_DIR: "/home/runner/work/marketing-services/marketing-services/packages/connect", npm_package_devDependencies_postcss: "^8.4.38", npm_command: "run-script", ANDROID_NDK: "/usr/local/lib/android/sdk/ndk/27.2.12479018", SGX_AESM_ADDR: "1", CHROME_BIN: "/usr/bin/google-chrome", npm_package_scripts_preview: "vite preview", SELENIUM_JAR_PATH: "/usr/share/java/selenium-server.jar", MEMORY_PRESSURE_WRITE: "c29tZSAyMDAwMDAgMjAwMDAwMAA=", PNPM_HOME: "/home/runner/setup-pnpm/node_modules/.bin", STATS_EXTP: "https://provjobdprod.z13.web.core.windows.net/settings/provjobdsettings-latest/provjobd.data", ANDROID_NDK_HOME: "/usr/local/lib/android/sdk/ndk/27.2.12479018", GITHUB_STEP_SUMMARY: "/home/runner/work/_temp/_runner_file_commands/step_summary_273626a0-664e-47a6-a3a4-a08e6e09f5e1", INIT_CWD: "/home/runner/work/marketing-services/marketing-services/packages/connect", NODE_ENV: "production", FEEDME_NAMESPACE: "prod", FIREBASE_API_KEY: "AIzaSyA_isPR1-9bX7UmRiJIhsIRNNwdn6DdmW4", FIREBASE_AUTH_DOMAIN: "feedme-253402.firebaseapp.com", FIREBASE_DATABASE_URL: "https://feedme-253402.firebaseio.com", FIREBASE_PROJECT_ID: "feedme-253402", FIREBASE_STORAGE_BUCKET: "image.feedme.cc", FIREBASE_MESSAGING_SENDER_ID: "128512026847", FIREBASE_APP_ID: "1:128512026847:web:7c5c8ab7e8b90502dc616a", FIREBASE_MEASUREMENT_ID: "G-LTKS7N2HQS", ASSET_STORAGE_BUCKET: "static.feedme.cc", AUTH_URL: "https://portal-v2.feedmeapi.com/", SLACK_WEBHOOK_URL: "https://hooks.slack.com/services/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", MEMBER_APP_URL: "member.feedme.cc", CRM_APP_URL: "crm.feedme.cc", MARKETING_V1_PORTAL: "https://marketing-v1.feedme.cc", CLIENT_ID: "d5f8840d63dbb758b6c4ee2a5e8b013d15dd25e242c457481326062b83962476" } }, z = Math.floor(Math.random() * 16777215), pe = d.index = parseInt(Math.random() * 16777215, 10), me = (typeof q > "u" || typeof q.pid != "number" ? Math.floor(Math.random() * 1e5) : q.pid) % 65535, ue = (() => {
|
|
322
322
|
try {
|
|
323
323
|
return _Buffer;
|
|
324
324
|
} catch {
|
|
@@ -328,7 +328,7 @@ var q = { env: { GITHUB_STATE: "/home/runner/work/_temp/_runner_file_commands/sa
|
|
|
328
328
|
return null;
|
|
329
329
|
}
|
|
330
330
|
}
|
|
331
|
-
})(),
|
|
331
|
+
})(), Y = function(e) {
|
|
332
332
|
return !!(e != null && e.constructor && typeof e.constructor.isBuffer == "function" && e.constructor.isBuffer(e));
|
|
333
333
|
}, _e = [];
|
|
334
334
|
for (var k = 0; k < 256; k++)
|
|
@@ -337,21 +337,21 @@ var ce = new RegExp("^[0-9a-fA-F]{24}$"), L = [];
|
|
|
337
337
|
k = 0;
|
|
338
338
|
for (; k < 10; ) L[48 + k] = k++;
|
|
339
339
|
for (; k < 16; ) L[55 + k] = L[87 + k] = k++;
|
|
340
|
-
function
|
|
341
|
-
if (!(this instanceof
|
|
342
|
-
if (e && (e instanceof
|
|
340
|
+
function d(e) {
|
|
341
|
+
if (!(this instanceof d)) return new d(e);
|
|
342
|
+
if (e && (e instanceof d || e._bsontype === "ObjectID"))
|
|
343
343
|
return e;
|
|
344
344
|
if (this._bsontype = "ObjectID", e == null || typeof e == "number") {
|
|
345
345
|
this.id = this.generate(e);
|
|
346
346
|
return;
|
|
347
347
|
}
|
|
348
|
-
var i =
|
|
348
|
+
var i = d.isValid(e);
|
|
349
349
|
if (!i && e != null)
|
|
350
350
|
throw new Error(
|
|
351
351
|
"Argument passed in must be a single String of 12 bytes or a string of 24 hex characters"
|
|
352
352
|
);
|
|
353
353
|
if (i && typeof e == "string" && e.length === 24)
|
|
354
|
-
return
|
|
354
|
+
return d.createFromHexString(e);
|
|
355
355
|
if (e != null && e.length === 12)
|
|
356
356
|
this.id = e;
|
|
357
357
|
else {
|
|
@@ -362,25 +362,25 @@ function l(e) {
|
|
|
362
362
|
);
|
|
363
363
|
}
|
|
364
364
|
}
|
|
365
|
-
var Je =
|
|
366
|
-
|
|
367
|
-
|
|
368
|
-
return e = parseInt(e, 10) % 4294967295, new
|
|
365
|
+
var Je = d;
|
|
366
|
+
d.default = d;
|
|
367
|
+
d.createFromTime = function(e) {
|
|
368
|
+
return e = parseInt(e, 10) % 4294967295, new d(Ze(8, e) + "0000000000000000");
|
|
369
369
|
};
|
|
370
|
-
|
|
370
|
+
d.createFromHexString = function(e) {
|
|
371
371
|
if (typeof e > "u" || e != null && e.length !== 24)
|
|
372
372
|
throw new Error(
|
|
373
373
|
"Argument passed in must be a single String of 12 bytes or a string of 24 hex characters"
|
|
374
374
|
);
|
|
375
375
|
for (var i = "", D = 0; D < 24; )
|
|
376
376
|
i += String.fromCharCode(L[e.charCodeAt(D++)] << 4 | L[e.charCodeAt(D++)]);
|
|
377
|
-
return new
|
|
377
|
+
return new d(i);
|
|
378
378
|
};
|
|
379
|
-
|
|
380
|
-
return e == null ? !1 : typeof e == "number" ? !0 : typeof e == "string" ? e.length === 12 || e.length === 24 && ce.test(e) : e instanceof
|
|
379
|
+
d.isValid = function(e) {
|
|
380
|
+
return e == null ? !1 : typeof e == "number" ? !0 : typeof e == "string" ? e.length === 12 || e.length === 24 && ce.test(e) : e instanceof d ? !0 : Y(e) ? d.isValid(e.toString("hex")) : typeof e.toHexString == "function" && ue && (e.id instanceof ue || typeof e.id == "string") ? e.id.length === 12 || e.id.length === 24 && ce.test(e.id) : !1;
|
|
381
381
|
};
|
|
382
|
-
|
|
383
|
-
constructor:
|
|
382
|
+
d.prototype = {
|
|
383
|
+
constructor: d,
|
|
384
384
|
/**
|
|
385
385
|
* Return the ObjectID id as a 24 byte hex string representation
|
|
386
386
|
*
|
|
@@ -394,7 +394,7 @@ l.prototype = {
|
|
|
394
394
|
);
|
|
395
395
|
if (this.id.length === 24)
|
|
396
396
|
return this.id;
|
|
397
|
-
if (
|
|
397
|
+
if (Y(this.id))
|
|
398
398
|
return this.id.toString("hex");
|
|
399
399
|
for (var e = "", i = 0; i < this.id.length; i++)
|
|
400
400
|
e += _e[this.id.charCodeAt(i)];
|
|
@@ -408,7 +408,7 @@ l.prototype = {
|
|
|
408
408
|
* @api public
|
|
409
409
|
*/
|
|
410
410
|
equals: function(e) {
|
|
411
|
-
return e instanceof
|
|
411
|
+
return e instanceof d ? this.toString() === e.toString() : typeof e == "string" && d.isValid(e) && e.length === 12 && Y(this.id) ? e === this.id.toString("binary") : typeof e == "string" && d.isValid(e) && e.length === 24 ? e.toLowerCase() === this.toHexString() : typeof e == "string" && d.isValid(e) && e.length === 12 ? e === this.id : e != null && (e instanceof d || e.toHexString) ? e.toHexString() === this.toHexString() : !1;
|
|
412
412
|
},
|
|
413
413
|
/**
|
|
414
414
|
* Returns the generation date (accurate up to the second) that this ID was generated.
|
|
@@ -418,7 +418,7 @@ l.prototype = {
|
|
|
418
418
|
*/
|
|
419
419
|
getTimestamp: function() {
|
|
420
420
|
var e = /* @__PURE__ */ new Date(), i;
|
|
421
|
-
return
|
|
421
|
+
return Y(this.id) ? i = this.id[3] | this.id[2] << 8 | this.id[1] << 16 | this.id[0] << 24 : i = this.id.charCodeAt(3) | this.id.charCodeAt(2) << 8 | this.id.charCodeAt(1) << 16 | this.id.charCodeAt(0) << 24, e.setTime(Math.floor(i) * 1e3), e;
|
|
422
422
|
},
|
|
423
423
|
/**
|
|
424
424
|
* Generate a 12 byte id buffer used in ObjectID's
|
|
@@ -453,11 +453,11 @@ function Ze(e, i) {
|
|
|
453
453
|
return i = i.toString(16), i.length === e ? i : "00000000".substring(i.length, e) + i;
|
|
454
454
|
}
|
|
455
455
|
var en = Symbol && Symbol.for && Symbol.for("nodejs.util.inspect.custom") || "inspect";
|
|
456
|
-
|
|
456
|
+
d.prototype[en] = function() {
|
|
457
457
|
return "ObjectID(" + this + ")";
|
|
458
458
|
};
|
|
459
|
-
|
|
460
|
-
|
|
459
|
+
d.prototype.toJSON = d.prototype.toHexString;
|
|
460
|
+
d.prototype.toString = d.prototype.toHexString;
|
|
461
461
|
const nn = /* @__PURE__ */ Ce(Je), tn = {
|
|
462
462
|
key: 0,
|
|
463
463
|
class: "grid grid-cols-1 gap-8"
|
|
@@ -465,19 +465,19 @@ const nn = /* @__PURE__ */ Ce(Je), tn = {
|
|
|
465
465
|
__name: "CardDesignSheet",
|
|
466
466
|
emits: ["success"],
|
|
467
467
|
setup(e, { expose: i, emit: D }) {
|
|
468
|
-
const { minor: w } = ne, v = te(),
|
|
469
|
-
|
|
470
|
-
const
|
|
468
|
+
const { minor: w } = ne, v = te(), y = Te(), b = f(!1);
|
|
469
|
+
f(), f(!1);
|
|
470
|
+
const A = f(), h = f(null);
|
|
471
471
|
V(() => {
|
|
472
472
|
var r, o;
|
|
473
|
-
return Math.min((((o = (r =
|
|
473
|
+
return Math.min((((o = (r = A.value) == null ? void 0 : r.design) == null ? void 0 : o.length) ?? 0) + 1, an);
|
|
474
474
|
});
|
|
475
475
|
const E = D, a = V(() => {
|
|
476
476
|
var r, o;
|
|
477
477
|
return ((o = (r = v.membership) == null ? void 0 : r.design) == null ? void 0 : o.filter((u) => u.image)) || [];
|
|
478
|
-
}),
|
|
478
|
+
}), C = f(!1);
|
|
479
479
|
function H(r) {
|
|
480
|
-
|
|
480
|
+
C.value = r;
|
|
481
481
|
}
|
|
482
482
|
function F() {
|
|
483
483
|
b.value = !0;
|
|
@@ -486,7 +486,7 @@ const nn = /* @__PURE__ */ Ce(Je), tn = {
|
|
|
486
486
|
await w(
|
|
487
487
|
async () => {
|
|
488
488
|
var u;
|
|
489
|
-
const r =
|
|
489
|
+
const r = Ne(A.value), o = Ie.parse(r);
|
|
490
490
|
if (o.design = (o == null ? void 0 : o.design) || [], h.value) {
|
|
491
491
|
const p = nn().toHexString(), t = await ie.update(
|
|
492
492
|
ie.designPath(p, h.value),
|
|
@@ -506,41 +506,41 @@ const nn = /* @__PURE__ */ Ce(Je), tn = {
|
|
|
506
506
|
);
|
|
507
507
|
}
|
|
508
508
|
async function U(r, o) {
|
|
509
|
-
r ? h.value = r : o &&
|
|
509
|
+
r ? h.value = r : o && y.open({
|
|
510
510
|
title: "Delete Design",
|
|
511
511
|
message: "Are you sure you want to delete this design?",
|
|
512
512
|
primaryActions: { text: "Delete", close: !0 },
|
|
513
513
|
secondaryActions: { text: "Cancel", close: !1 }
|
|
514
514
|
}).onPrimary(async () => {
|
|
515
515
|
var p, t;
|
|
516
|
-
const u = (p =
|
|
517
|
-
console.log(u), u !== -1 && ((t =
|
|
516
|
+
const u = (p = A.value.design) == null ? void 0 : p.findIndex((R) => R._id == o);
|
|
517
|
+
console.log(u), u !== -1 && ((t = A.value.design) == null || t.splice(u, 1)), await S();
|
|
518
518
|
}).onSecondary(() => {
|
|
519
|
-
|
|
519
|
+
y.close();
|
|
520
520
|
});
|
|
521
521
|
}
|
|
522
522
|
async function B() {
|
|
523
|
-
await v.readMembership(),
|
|
523
|
+
await v.readMembership(), A.value = v.membership;
|
|
524
524
|
}
|
|
525
525
|
return i({
|
|
526
526
|
showSheet: H
|
|
527
527
|
}), ee(async () => {
|
|
528
528
|
await B(), a.value.length || (b.value = !0);
|
|
529
529
|
}), (r, o) => {
|
|
530
|
-
const u =
|
|
531
|
-
return
|
|
530
|
+
const u = g("FmButton"), p = g("FmSideSheet");
|
|
531
|
+
return _(), N(p, {
|
|
532
532
|
"max-width": 560,
|
|
533
533
|
"dismiss-away": !0,
|
|
534
534
|
header: "Manage Design",
|
|
535
|
-
modelValue: n(
|
|
535
|
+
modelValue: n(C),
|
|
536
536
|
"onUpdate:modelValue": [
|
|
537
|
-
o[2] || (o[2] = (t) => J(
|
|
538
|
-
o[3] || (o[3] = (t) =>
|
|
537
|
+
o[2] || (o[2] = (t) => J(C) ? C.value = t : null),
|
|
538
|
+
o[3] || (o[3] = (t) => C.value = t)
|
|
539
539
|
]
|
|
540
540
|
}, Ee({
|
|
541
541
|
default: T(() => [
|
|
542
|
-
n(b) ?
|
|
543
|
-
(
|
|
542
|
+
n(b) ? I("", !0) : (_(), x("div", tn, [
|
|
543
|
+
(_(!0), x(P, null, Q(n(a), (t) => (_(), N(de, {
|
|
544
544
|
key: String(t._id),
|
|
545
545
|
"image-fit": "cover",
|
|
546
546
|
label: "",
|
|
@@ -552,7 +552,7 @@ const nn = /* @__PURE__ */ Ce(Je), tn = {
|
|
|
552
552
|
"delete-button": !1
|
|
553
553
|
}, {
|
|
554
554
|
"delete-button": T(() => [
|
|
555
|
-
|
|
555
|
+
l(u, {
|
|
556
556
|
class: "!text-neutral-50 !bg-neutral-700",
|
|
557
557
|
icon: "delete",
|
|
558
558
|
variant: "tertiary",
|
|
@@ -562,7 +562,7 @@ const nn = /* @__PURE__ */ Ce(Je), tn = {
|
|
|
562
562
|
_: 2
|
|
563
563
|
}, 1032, ["thumbnail"]))), 128))
|
|
564
564
|
])),
|
|
565
|
-
n(b) ? (
|
|
565
|
+
n(b) ? (_(), N(de, {
|
|
566
566
|
key: 1,
|
|
567
567
|
"image-fit": "cover",
|
|
568
568
|
label: "",
|
|
@@ -570,20 +570,20 @@ const nn = /* @__PURE__ */ Ce(Je), tn = {
|
|
|
570
570
|
accept: ".png, .jpg, .jpeg, .gif",
|
|
571
571
|
"recommended-size": "Recommended 16:9 ratio / 1280px x 720px",
|
|
572
572
|
"onUpdate:file": U
|
|
573
|
-
})) :
|
|
573
|
+
})) : I("", !0)
|
|
574
574
|
]),
|
|
575
575
|
_: 2
|
|
576
576
|
}, [
|
|
577
577
|
n(b) ? {
|
|
578
578
|
name: "side-sheet-footer",
|
|
579
579
|
fn: T(() => [
|
|
580
|
-
|
|
581
|
-
|
|
580
|
+
m("div", sn, [
|
|
581
|
+
l(u, {
|
|
582
582
|
label: "Save",
|
|
583
583
|
onClick: S,
|
|
584
584
|
disabled: !n(h)
|
|
585
585
|
}, null, 8, ["disabled"]),
|
|
586
|
-
|
|
586
|
+
l(u, {
|
|
587
587
|
label: "Cancel",
|
|
588
588
|
type: "button",
|
|
589
589
|
variant: "tertiary",
|
|
@@ -595,16 +595,16 @@ const nn = /* @__PURE__ */ Ce(Je), tn = {
|
|
|
595
595
|
} : {
|
|
596
596
|
name: "side-sheet-footer",
|
|
597
597
|
fn: T(() => [
|
|
598
|
-
|
|
599
|
-
|
|
598
|
+
m("div", on, [
|
|
599
|
+
l(u, {
|
|
600
600
|
label: "Add Design",
|
|
601
601
|
onClick: F
|
|
602
602
|
}),
|
|
603
|
-
|
|
603
|
+
l(u, {
|
|
604
604
|
label: "Cancel",
|
|
605
605
|
type: "button",
|
|
606
606
|
variant: "tertiary",
|
|
607
|
-
onClick: o[0] || (o[0] = (t) =>
|
|
607
|
+
onClick: o[0] || (o[0] = (t) => C.value = !1)
|
|
608
608
|
})
|
|
609
609
|
])
|
|
610
610
|
]),
|
|
@@ -613,22 +613,16 @@ const nn = /* @__PURE__ */ Ce(Je), tn = {
|
|
|
613
613
|
]), 1032, ["modelValue"]);
|
|
614
614
|
};
|
|
615
615
|
}
|
|
616
|
-
}), ln = { class: "flex items-center" }, dn = /* @__PURE__ */
|
|
616
|
+
}), ln = { class: "flex items-center" }, dn = /* @__PURE__ */ m("span", { class: "fm-typo-en-title-md-600 fm-step-title line-clamp-2 mr-8" }, " Card ", -1), pn = { class: "px-24 flex flex-col pb-24 gap-y-16" }, mn = { class: "flex items-center justify-end" }, un = /* @__PURE__ */ m("img", {
|
|
617
617
|
src: ke,
|
|
618
618
|
class: "aspect-square w-[150px]"
|
|
619
|
-
}, null, -1), cn = /* @__PURE__ */
|
|
620
|
-
/* @__PURE__ */
|
|
621
|
-
/* @__PURE__ */
|
|
622
|
-
], -1), _n = {
|
|
623
|
-
key: 0,
|
|
624
|
-
class: "flex gap-x-8"
|
|
625
|
-
}, fn = {
|
|
626
|
-
key: 1,
|
|
627
|
-
class: "fm-typo-en-title-sm-800 text-fm-color-primary"
|
|
628
|
-
}, Pn = /* @__PURE__ */ Z({
|
|
619
|
+
}, null, -1), cn = /* @__PURE__ */ m("div", { class: "flex flex-col gap-16 text-center" }, [
|
|
620
|
+
/* @__PURE__ */ m("div", { class: "fm-typo-en-title-sm-800" }, "Create member card"),
|
|
621
|
+
/* @__PURE__ */ m("div", { class: "fm-typo-en-body-md-400 text-fm-color-typo-secondary" }, " Track and manage member card to keep customers engaged with your business. ")
|
|
622
|
+
], -1), _n = { class: "flex gap-x-8" }, Bn = /* @__PURE__ */ Z({
|
|
629
623
|
__name: "Card",
|
|
630
624
|
setup(e) {
|
|
631
|
-
const { minor: i, global: D } = ne, w =
|
|
625
|
+
const { minor: i, global: D } = ne, w = f(), v = f(), y = Oe(), b = te(), A = V(
|
|
632
626
|
() => b.sortedStoreCategories.flatMap((r) => r.bundles)
|
|
633
627
|
), h = [
|
|
634
628
|
{
|
|
@@ -641,18 +635,18 @@ const nn = /* @__PURE__ */ Ce(Je), tn = {
|
|
|
641
635
|
enableSorting: !1,
|
|
642
636
|
cell(r) {
|
|
643
637
|
const o = r.row.original.pf_member;
|
|
644
|
-
return
|
|
638
|
+
return W(
|
|
645
639
|
"div",
|
|
646
640
|
{
|
|
647
641
|
class: "flex items-center gap-x-8"
|
|
648
642
|
},
|
|
649
643
|
[
|
|
650
|
-
|
|
644
|
+
W(Re.FmAvatar, {
|
|
651
645
|
name: o != null && o.photoUrl || o == null ? void 0 : o.name,
|
|
652
646
|
src: (o == null ? void 0 : o.photoUrl) ?? void 0,
|
|
653
647
|
size: "sm"
|
|
654
648
|
}),
|
|
655
|
-
|
|
649
|
+
W("span", { class: "fm-typo-en-body-sm-400" }, o == null ? void 0 : o.name)
|
|
656
650
|
]
|
|
657
651
|
);
|
|
658
652
|
}
|
|
@@ -674,7 +668,7 @@ const nn = /* @__PURE__ */ Ce(Je), tn = {
|
|
|
674
668
|
header: "Bundle",
|
|
675
669
|
accessorFn: (r) => {
|
|
676
670
|
var o;
|
|
677
|
-
return ((o =
|
|
671
|
+
return ((o = A.value.find((u) => u._id === r.bundle)) == null ? void 0 : o.name) || "-";
|
|
678
672
|
}
|
|
679
673
|
},
|
|
680
674
|
{
|
|
@@ -682,12 +676,12 @@ const nn = /* @__PURE__ */ Ce(Je), tn = {
|
|
|
682
676
|
accessorKey: "redeemedAt",
|
|
683
677
|
accessorFn: (r) => r.redeemedAt ? re(r.redeemedAt).format("DD MMM YYYY hh:mmA") : "-"
|
|
684
678
|
}
|
|
685
|
-
], { tableMeta: E, rowData: a, onSort:
|
|
679
|
+
], { tableMeta: E, rowData: a, onSort: C, debouncedFetchData: H, onSearch: F } = Ue(oe.readCards);
|
|
686
680
|
async function S() {
|
|
687
681
|
var r;
|
|
688
682
|
await H(), (r = w.value) == null || r.showSheet(!1);
|
|
689
683
|
}
|
|
690
|
-
const U = V(() =>
|
|
684
|
+
const U = V(() => y.isPremium ? [
|
|
691
685
|
{
|
|
692
686
|
label: "Create cards",
|
|
693
687
|
value: "create",
|
|
@@ -703,7 +697,7 @@ const nn = /* @__PURE__ */ Ce(Je), tn = {
|
|
|
703
697
|
const o = new we(), u = r.map((p) => ({
|
|
704
698
|
CardNumber: p
|
|
705
699
|
}));
|
|
706
|
-
o.addRecords(u), await
|
|
700
|
+
o.addRecords(u), await xe(
|
|
707
701
|
o.buildExcel(),
|
|
708
702
|
`cards-${(/* @__PURE__ */ new Date()).toISOString()}.xlsx`,
|
|
709
703
|
{
|
|
@@ -715,51 +709,50 @@ const nn = /* @__PURE__ */ Ce(Je), tn = {
|
|
|
715
709
|
}
|
|
716
710
|
return ee(async () => {
|
|
717
711
|
await D(async () => {
|
|
718
|
-
await
|
|
712
|
+
await y.readPremium(), await b.readMemberStore(), await b.readMembership(), await S();
|
|
719
713
|
});
|
|
720
714
|
}), (r, o) => {
|
|
721
|
-
const u =
|
|
722
|
-
return
|
|
723
|
-
|
|
715
|
+
const u = g("FmPill"), p = g("FmPageHead"), t = g("FmSearch"), R = g("FmButton"), M = g("FmCard");
|
|
716
|
+
return _(), x(P, null, [
|
|
717
|
+
l(p, {
|
|
724
718
|
title: "Card",
|
|
725
719
|
actions: n(U),
|
|
726
|
-
"onClick:action": o[0] || (o[0] = (
|
|
720
|
+
"onClick:action": o[0] || (o[0] = (c) => {
|
|
727
721
|
var j, $;
|
|
728
|
-
console.log(
|
|
722
|
+
console.log(c), c === "design" && ((j = n(v)) == null || j.showSheet(!0)), c === "create" && (($ = n(w)) == null || $.showSheet(!0));
|
|
729
723
|
})
|
|
730
724
|
}, {
|
|
731
725
|
title: T(() => [
|
|
732
|
-
|
|
726
|
+
m("div", ln, [
|
|
733
727
|
dn,
|
|
734
|
-
|
|
735
|
-
|
|
736
|
-
|
|
737
|
-
|
|
738
|
-
}))
|
|
728
|
+
l(u, {
|
|
729
|
+
class: "ml-8",
|
|
730
|
+
variant: "premium"
|
|
731
|
+
})
|
|
739
732
|
])
|
|
740
733
|
]),
|
|
741
734
|
_: 1
|
|
742
735
|
}, 8, ["actions"]),
|
|
743
|
-
|
|
744
|
-
n(a).length > 0 || n(a).length <= 0 && n(E).searchValue || n(E).pageCount > 0 ? (
|
|
745
|
-
|
|
746
|
-
|
|
736
|
+
m("div", pn, [
|
|
737
|
+
n(a).length > 0 || n(a).length <= 0 && n(E).searchValue || n(E).pageCount > 0 ? (_(), x(P, { key: 0 }, [
|
|
738
|
+
m("div", mn, [
|
|
739
|
+
l(t, {
|
|
747
740
|
class: "mt-4",
|
|
748
741
|
modelValue: n(E).searchValue,
|
|
749
742
|
"onUpdate:modelValue": [
|
|
750
|
-
o[1] || (o[1] = (
|
|
743
|
+
o[1] || (o[1] = (c) => n(E).searchValue = c),
|
|
751
744
|
n(F)
|
|
752
745
|
],
|
|
753
746
|
placeholder: "Search",
|
|
754
747
|
collapsible: ""
|
|
755
748
|
}, null, 8, ["modelValue", "onUpdate:modelValue"]),
|
|
756
|
-
|
|
749
|
+
l(R, {
|
|
757
750
|
icon: "ios_share",
|
|
758
751
|
variant: "tertiary",
|
|
759
752
|
onClick: Se(n(De), ["prevent"])
|
|
760
753
|
}, null, 8, ["onClick"])
|
|
761
754
|
]),
|
|
762
|
-
|
|
755
|
+
l(He, {
|
|
763
756
|
loading: n(E).isLoading,
|
|
764
757
|
"row-data": n(a),
|
|
765
758
|
"row-count": n(E).totalRows,
|
|
@@ -768,15 +761,15 @@ const nn = /* @__PURE__ */ Ce(Je), tn = {
|
|
|
768
761
|
"page-count": n(E).pageCount,
|
|
769
762
|
"page-index": n(E).pageIndex,
|
|
770
763
|
"page-size": n(E).pageSize,
|
|
771
|
-
onSortChange: n(
|
|
772
|
-
onPageChange: o[2] || (o[2] = (
|
|
764
|
+
onSortChange: n(C),
|
|
765
|
+
onPageChange: o[2] || (o[2] = (c) => {
|
|
773
766
|
n(H)({
|
|
774
|
-
pageSize:
|
|
775
|
-
pageIndex:
|
|
767
|
+
pageSize: c.pageSize,
|
|
768
|
+
pageIndex: c.pageIndex
|
|
776
769
|
});
|
|
777
770
|
})
|
|
778
771
|
}, null, 8, ["loading", "row-data", "row-count", "page-count", "page-index", "page-size", "onSortChange"])
|
|
779
|
-
], 64)) : (
|
|
772
|
+
], 64)) : (_(), N(M, {
|
|
780
773
|
key: 1,
|
|
781
774
|
variant: "outlined",
|
|
782
775
|
class: "w-full flex flex-col items-center justify-center gap-y-24 p-24"
|
|
@@ -784,35 +777,37 @@ const nn = /* @__PURE__ */ Ce(Je), tn = {
|
|
|
784
777
|
default: T(() => [
|
|
785
778
|
un,
|
|
786
779
|
cn,
|
|
787
|
-
|
|
788
|
-
|
|
780
|
+
m("div", _n, [
|
|
781
|
+
l(R, {
|
|
789
782
|
variant: "primary",
|
|
790
783
|
label: "Add Card",
|
|
791
784
|
icon: "add",
|
|
785
|
+
disabled: !n(y).isPremium,
|
|
792
786
|
onClick: o[3] || (o[3] = () => {
|
|
793
|
-
var
|
|
794
|
-
return (
|
|
787
|
+
var c;
|
|
788
|
+
return (c = n(w)) == null ? void 0 : c.showSheet(!0);
|
|
795
789
|
})
|
|
796
|
-
}),
|
|
797
|
-
|
|
790
|
+
}, null, 8, ["disabled"]),
|
|
791
|
+
l(R, {
|
|
798
792
|
variant: "secondary",
|
|
799
793
|
label: "Manage Design",
|
|
794
|
+
disabled: !n(y).isPremium,
|
|
800
795
|
onClick: o[4] || (o[4] = () => {
|
|
801
|
-
var
|
|
802
|
-
return (
|
|
796
|
+
var c;
|
|
797
|
+
return (c = n(v)) == null ? void 0 : c.showSheet(!0);
|
|
803
798
|
})
|
|
804
|
-
})
|
|
805
|
-
])
|
|
799
|
+
}, null, 8, ["disabled"])
|
|
800
|
+
])
|
|
806
801
|
]),
|
|
807
802
|
_: 1
|
|
808
803
|
})),
|
|
809
|
-
|
|
804
|
+
l(ze, {
|
|
810
805
|
ref_key: "sheetRef",
|
|
811
806
|
ref: w,
|
|
812
807
|
onSuccess: S,
|
|
813
808
|
onExport: B
|
|
814
809
|
}, null, 512),
|
|
815
|
-
|
|
810
|
+
l(rn, {
|
|
816
811
|
ref_key: "designSheetRef",
|
|
817
812
|
ref: v,
|
|
818
813
|
onSuccess: S
|
|
@@ -823,5 +818,5 @@ const nn = /* @__PURE__ */ Ce(Je), tn = {
|
|
|
823
818
|
}
|
|
824
819
|
});
|
|
825
820
|
export {
|
|
826
|
-
|
|
821
|
+
Bn as default
|
|
827
822
|
};
|