@feedmepos/mf-connect 0.0.28-prod → 0.0.30-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.
Files changed (64) hide show
  1. package/dist/{Analytic-zePfeaJ8.js → Analytic-CMw4c42B.js} +8 -8
  2. package/dist/{App-DoJIzLZX.js → App-DgQEvhoW.js} +41 -41
  3. package/dist/{Broadcast-CjKEjend.js → Broadcast-DZ0QPkD7.js} +7 -7
  4. package/dist/{CampaignTypeDialog.vue_vue_type_script_setup_true_lang-CLfPnwwA.js → CampaignTypeDialog.vue_vue_type_script_setup_true_lang-DjbB5yP1.js} +8 -8
  5. package/dist/{Card-CAa06jQK.js → Card-DLS4WEBw.js} +36 -36
  6. package/dist/{Collections-1Sn-K2RI.js → Collections-CtAWEIcO.js} +137 -138
  7. package/dist/{Credit-DmEBNtvC.js → Credit-D7pQXqEt.js} +7 -7
  8. package/dist/{EditCampaignSheet.vue_vue_type_script_setup_true_lang-C36lFGES.js → EditCampaignSheet.vue_vue_type_script_setup_true_lang-BXz2IKaK.js} +21 -21
  9. package/dist/{EffectSheet.vue_vue_type_style_index_0_lang-DA2cZ139.js → EffectSheet.vue_vue_type_style_index_0_lang-Cw-KLvgf.js} +5 -5
  10. package/dist/{Experience-Dn8qQUIo.js → Experience-_UabVSY7.js} +7 -7
  11. package/dist/{Game-QnvPORdU.js → Game-CHMBITlG.js} +7 -7
  12. package/dist/{Marketing-4QXTJvLt.js → Marketing-BHv9eyo6.js} +4 -4
  13. package/dist/{Member-tk4Jxb-q.js → Member-BkqNzcG3.js} +3 -3
  14. package/dist/{MemberList-B898N6zA.js → MemberList-FfxRRSLP.js} +76 -76
  15. package/dist/{MemberTransactions-BbdsbQqh.js → MemberTransactions-DvCtHUkt.js} +1 -1
  16. package/dist/{MessageInput.vue_vue_type_script_setup_true_lang-Ct7Vc_Ik.js → MessageInput.vue_vue_type_script_setup_true_lang-MaCtf4Xn.js} +2 -2
  17. package/dist/{Mission-DiOdia3J.js → Mission-OrOKxoPz.js} +7 -7
  18. package/dist/{Point-DyvajcmR.js → Point-CTKv_6wI.js} +7 -7
  19. package/dist/{Promotion-BQ-1dZaK.js → Promotion-D3pQZxX7.js} +8 -8
  20. package/dist/{RuleGroup.vue_vue_type_script_setup_true_lang-Dx9-QqeK.js → RuleGroup.vue_vue_type_script_setup_true_lang-CE9TmOhA.js} +94 -92
  21. package/dist/Segment-DSX0DD-P.js +434 -0
  22. package/dist/{Setting-BgJYDQ2u.js → Setting-CzxXS6LJ.js} +7 -7
  23. package/dist/{Store-Clv8qG7p.js → Store-BfiGvIid.js} +11 -11
  24. package/dist/{StoreRewards-IZjC2nTN.js → StoreRewards-Bm39d1Cc.js} +10 -10
  25. package/dist/StoreTransactions.vue_vue_type_script_setup_true_lang-CHVFEK2H.js +890 -0
  26. package/dist/{TargetLocationInput.vue_vue_type_script_setup_true_lang-aiclx2-7.js → TargetLocationInput.vue_vue_type_script_setup_true_lang-DdtJ3kNK.js} +1 -1
  27. package/dist/{Tier-ClyCt9KM.js → Tier-BP44jWgR.js} +13 -13
  28. package/dist/{Title-D6PaK72H.js → Title-Ct8QWL2Q.js} +13 -13
  29. package/dist/{Transaction-CLiY-R9h.js → Transaction-RP2dj85O.js} +1 -1
  30. package/dist/{Voucher-DYJDRt0u.js → Voucher-BQ6Kq-jX.js} +10 -10
  31. package/dist/{app-DBR_YmVt.js → app-Bzct9xVo.js} +24 -24
  32. package/dist/{app-OXHo6S1u.js → app-DiKC7FId.js} +1 -1
  33. package/dist/app.js +1 -1
  34. package/dist/{business-CSmJnfxU.js → business-iGcoCCSb.js} +1 -1
  35. package/dist/{campaign-BfzDFYy4.js → campaign-DeEhf0-p.js} +2 -2
  36. package/dist/{collection.fn-B3fehEh0.js → collection.fn-DV5EnxQc.js} +2 -2
  37. package/dist/{dto-D1k_7uk-.js → dto-D27dJqWy.js} +180 -180
  38. package/dist/{effect-Bp1S3oSk.js → effect-cdw61g2Y.js} +1 -1
  39. package/dist/{export-CET2lLBf.js → export-CLtQanYU.js} +3 -3
  40. package/dist/{helper-C6m_E9sn.js → helper-O1xiribY.js} +1 -1
  41. package/dist/{index-CQbf7JEL.js → index-3_r2IGAF.js} +2 -2
  42. package/dist/{index-DcGAYeSq.js → index-Bpb0PhDQ.js} +1 -1
  43. package/dist/{index-vtedTQkR.js → index-BzFp6WIZ.js} +1 -1
  44. package/dist/{index-CCTaLZTz.js → index-C6kizPcL.js} +5 -3
  45. package/dist/{index-BELLwClJ.js → index-C9iPmltA.js} +1 -1
  46. package/dist/{index-B-cD3OOl.js → index-DG0RrwCN.js} +5 -5
  47. package/dist/{index-B1877KRd.js → index-DLxzqdlK.js} +3 -3
  48. package/dist/{index-BaYn8lfH.js → index-DOMUfanW.js} +12 -7
  49. package/dist/{index-C208T65R.js → index-PO2CtKXo.js} +1 -1
  50. package/dist/{index-BzeGWwDC.js → index-X-EzXcGs.js} +3 -3
  51. package/dist/{index-BEi_LnV_.js → index-dbSbwT_z.js} +1 -1
  52. package/dist/{index-JyK7n__U.js → index-rOKsnWx1.js} +16 -14
  53. package/dist/{index.esm2017-D14o0xmi.js → index.esm2017-Dp0jAeUG.js} +30 -30
  54. package/dist/{loading-CTZia9no.js → loading-C7oH4e0j.js} +4 -4
  55. package/dist/{membership-Cdywxyet.js → membership-D0G_5G-y.js} +3 -3
  56. package/dist/{money-epFszMWD.js → money-B6MghTDE.js} +1 -1
  57. package/dist/{number-Ciw2FH5f.js → number-qKhyhzHd.js} +1 -1
  58. package/dist/{rule-DTOaDgf-.js → rule-BIAblb97.js} +2 -2
  59. package/dist/{rule-builder-DR45Z_8u.js → rule-builder-JAqgqMza.js} +1 -1
  60. package/dist/{template-BqcNGFEN.js → template-0FGOnSoC.js} +4 -4
  61. package/dist/{xlsx-Dn1FUo_C.js → xlsx-DD6vbwKN.js} +226 -226
  62. package/package.json +1 -1
  63. package/dist/Segment-ET69WJXK.js +0 -445
  64. package/dist/StoreTransactions.vue_vue_type_script_setup_true_lang-C0zTQM7S.js +0 -818
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@feedmepos/mf-connect",
3
- "version": "0.0.28-prod",
3
+ "version": "0.0.30-prod",
4
4
  "type": "module",
5
5
  "files": [
6
6
  "dist"
@@ -1,445 +0,0 @@
1
- import { defineComponent as A, onMounted as E, openBlock as p, createElementBlock as b, createElementVNode as a, toDisplayString as M, unref as e, createVNode as n, createCommentVNode as q, ref as w, computed as j, resolveComponent as u, createBlock as B, isRef as G, createSlots as J, withCtx as g, Fragment as V, reactive as W, watch as Q, onBeforeMount as X, renderList as ee, h as I } from "vue";
2
- import { _ as te } from "./campaign-CpzFl8Vr.js";
3
- import { F as N, p as oe, u as ae } from "./loading-CTZia9no.js";
4
- import { components as L } from "@feedmepos/ui-library";
5
- import { l as se } from "./lodash-B5I3zXaY.js";
6
- import { _ as ne, Z as le } from "./ZodTextField.vue_vue_type_script_setup_true_lang-3LlSDiq0.js";
7
- import { a as ie } from "./index-B1877KRd.js";
8
- import { u as re } from "./app-wDQR6dpb.js";
9
- import { R as me } from "./rule-builder-DR45Z_8u.js";
10
- import { _ as ce } from "./RuleGroup.vue_vue_type_script_setup_true_lang-Dx9-QqeK.js";
11
- import { h as P } from "./moment-BWErdI6_.js";
12
- import { u as de, _ as ue } from "./usePagination-JoYaROkV.js";
13
- import { s as k } from "./membership-Cdywxyet.js";
14
- import { o as pe } from "./objectId-dwaoBfJX.js";
15
- import { u as fe } from "./business-CSmJnfxU.js";
16
- import { m as ge } from "./index-vtedTQkR.js";
17
- const _e = ie.extend({
18
- _id: N.optional(),
19
- business: N.optional()
20
- }), ve = { class: "space-y-16 pr-12" }, ye = { class: "fm-typo-en-title-md-800" }, he = { class: "flex space-x-8" }, Se = { class: "fm-typo-en-title-md-800 text-fm-color-primary" }, be = { class: "text-fm-color-typo-secondary" }, xe = /* @__PURE__ */ a("div", null, "contacts in your segment", -1), we = {
21
- key: 0,
22
- class: "w-full flex flex-col gap-16 items-center pt-16"
23
- }, Fe = /* @__PURE__ */ a("div", { class: "fm-typo-en-body-lg-600" }, "No data found", -1), Ce = /* @__PURE__ */ a("div", { class: "fm-typo-en-body-sm-400 text-fm-color-typo-secondary" }, " No data to show at the current moment. ", -1), ke = [
24
- Fe,
25
- Ce
26
- ], Me = /* @__PURE__ */ A({
27
- __name: "ReviewSegment",
28
- props: {
29
- title: {},
30
- segment: {}
31
- },
32
- setup(D) {
33
- const _ = D, x = [
34
- {
35
- header: "Name",
36
- accessorFn: (s) => s.name
37
- },
38
- {
39
- header: "Customer Since",
40
- accessorFn: (s) => P(pe(s._id.toString())).format("DD MMM YYYY")
41
- },
42
- {
43
- header: "Birthday",
44
- accessorFn: (s) => P(s.birthday).format("DD MMM YYYY")
45
- },
46
- {
47
- header: "Last Visit",
48
- accessorFn: (s) => P(s.stats.lastVisit).format("DD MMM YYYY")
49
- }
50
- ], v = async (s) => _.segment._id ? await k.paginateSegmentUsers(_.segment._id, {
51
- limit: r.value.pageSize,
52
- skip: s.pageIndex ?? 0,
53
- sortBy: "_id",
54
- search: s.searchValue,
55
- descending: !0
56
- }) : { resources: [], meta: { totalResources: 0, totalPages: 0 } }, { tableMeta: r, rowData: c, onSort: m, debouncedFetchData: d, onSearch: l } = de(v);
57
- return E(async () => {
58
- await d();
59
- }), (s, F) => (p(), b("div", ve, [
60
- a("div", ye, M(_.title), 1),
61
- a("div", he, [
62
- a("div", Se, M(s.segment.members.length), 1),
63
- a("div", be, [
64
- xe,
65
- a("div", null, "as of " + M(e(P)(s.segment.lastUpdated).format("DD MMM YYYY")), 1)
66
- ])
67
- ]),
68
- n(ue, {
69
- loading: e(r).isLoading,
70
- "row-data": e(c),
71
- "row-count": e(r).totalRows,
72
- "column-defs": x,
73
- "page-size": e(r).pageSize,
74
- "page-count": e(r).pageCount,
75
- "page-index": e(r).pageIndex,
76
- onSortChange: e(m),
77
- onPageChange: F[0] || (F[0] = (h) => e(d)({ pageSize: h.pageSize, pageIndex: h.pageIndex }))
78
- }, null, 8, ["loading", "row-data", "row-count", "page-size", "page-count", "page-index", "onSortChange"]),
79
- e(c).length == 0 ? (p(), b("div", we, ke)) : q("", !0)
80
- ]));
81
- }
82
- }), $e = { class: "flex items-center gap-x-8" }, Re = /* @__PURE__ */ a("div", null, "Review segment", -1), Ie = {
83
- key: 0,
84
- class: "space-y-16 pr-12"
85
- }, Ve = /* @__PURE__ */ a("div", { class: "fm-typo-en-title-sm-800" }, "Segment Filter", -1), Pe = { class: "flex items-center gap-8" }, Be = /* @__PURE__ */ A({
86
- __name: "SegmentSheet",
87
- emits: ["update:model-value"],
88
- setup(D, { expose: _, emit: x }) {
89
- const v = re(), r = w(!1), c = w(!1), m = {
90
- name: "",
91
- rule: me.scaffoldGroup(),
92
- members: []
93
- }, d = _e, l = w(m), s = j(() => {
94
- const t = d.safeParse(l.value);
95
- return t.success ? [] : t.error.errors;
96
- });
97
- function F(t) {
98
- r.value = !0, c.value = !1, t ? l.value = { ...t } : l.value = { ...m };
99
- }
100
- function h() {
101
- r.value = !1;
102
- }
103
- async function Y() {
104
- d.safeParse(l.value).success && (c.value = !0);
105
- }
106
- function C() {
107
- c.value = !1;
108
- }
109
- async function z() {
110
- o("update:model-value", l.value);
111
- }
112
- E(async () => {
113
- });
114
- const o = x;
115
- return _({
116
- showSheet: F,
117
- hideSheet: h
118
- }), (t, i) => {
119
- const S = u("FmButton"), $ = u("FmSideSheet");
120
- return p(), B($, {
121
- modelValue: e(r),
122
- "onUpdate:modelValue": i[5] || (i[5] = (y) => G(r) ? r.value = y : null),
123
- header: "Add segment",
124
- "dismiss-away": "",
125
- "close-button": !0,
126
- "max-width": 1100
127
- }, J({
128
- "side-sheet-footer": g(() => [
129
- a("div", Pe, [
130
- e(c) ? (p(), b(V, { key: 0 }, [
131
- n(S, {
132
- label: "Save Segment",
133
- onClick: z,
134
- loading: e(v).isLoading,
135
- disabled: e(s).length > 0 || e(v).isLoading
136
- }, null, 8, ["loading", "disabled"]),
137
- n(S, {
138
- label: "Cancel",
139
- onClick: i[3] || (i[3] = (y) => C()),
140
- variant: "tertiary"
141
- })
142
- ], 64)) : (p(), b(V, { key: 1 }, [
143
- n(S, {
144
- label: "Review Segment",
145
- disabled: e(s).length > 0 || e(v).isLoading,
146
- onClick: Y
147
- }, null, 8, ["disabled"]),
148
- n(S, {
149
- label: "Cancel",
150
- onClick: i[4] || (i[4] = (y) => h()),
151
- variant: "tertiary"
152
- })
153
- ], 64))
154
- ])
155
- ]),
156
- default: g(() => {
157
- var y;
158
- return [
159
- e(c) ? (p(), B(Me, {
160
- key: 1,
161
- title: e(l).name,
162
- segment: e(l)
163
- }, null, 8, ["title", "segment"])) : (p(), b("div", Ie, [
164
- n(ne, {
165
- modelValue: e(l).name,
166
- "onUpdate:modelValue": i[1] || (i[1] = (R) => e(l).name = R),
167
- label: "Segment title",
168
- schema: e(le).typeAtPath(e(d), "name")
169
- }, null, 8, ["modelValue", "schema"]),
170
- Ve,
171
- n(ce, {
172
- "trigger-type": "MEMBERSHIP_JOINED",
173
- includeOnly: "user",
174
- "model-value": (y = e(l)) == null ? void 0 : y.rule,
175
- "onUpdate:modelValue": i[2] || (i[2] = (R) => {
176
- e(l).rule = R;
177
- })
178
- }, null, 8, ["model-value"])
179
- ]))
180
- ];
181
- }),
182
- _: 2
183
- }, [
184
- e(c) ? {
185
- name: "side-sheet-header",
186
- fn: g(() => [
187
- a("div", $e, [
188
- n(S, {
189
- icon: "arrow_back",
190
- variant: "tertiary",
191
- onClick: i[0] || (i[0] = (y) => c.value = !1)
192
- }),
193
- Re
194
- ])
195
- ]),
196
- key: "0"
197
- } : void 0
198
- ]), 1032, ["modelValue"]);
199
- };
200
- }
201
- }), De = { class: "flex items-center" }, Ye = /* @__PURE__ */ a("span", { class: "fm-typo-en-title-md-600 fm-step-title line-clamp-2 mr-8" }, " Segments ", -1), ze = { class: "px-24 flex flex-col gap-y-16" }, Le = { class: "fm-typo-en-body-md-600 text-fm-color-typo-secondary" }, Ae = { class: "fm-typo-en-body-md-600" }, Ue = { class: "fm-typo-en-body-md-600 text-fm-color-typo-secondary" }, Ne = /* @__PURE__ */ a("img", {
202
- src: te,
203
- class: "aspect-square w-[150px]"
204
- }, null, -1), Ee = /* @__PURE__ */ a("div", { class: "flex flex-col gap-16 text-center" }, [
205
- /* @__PURE__ */ a("div", { class: "fm-typo-en-title-sm-800" }, "Create customer segments"),
206
- /* @__PURE__ */ a("div", { class: "fm-typo-en-body-md-400 text-fm-color-typo-secondary" }, " Segments allow you to categorize your customers based on various criteria, enabling targeted marketing and personalized experiences. ")
207
- ], -1), st = /* @__PURE__ */ A({
208
- __name: "Segment",
209
- setup(D) {
210
- const { minor: _ } = ae, x = fe(), v = w(0), r = [
211
- {
212
- header: "Name",
213
- accessorFn: (o) => o.name
214
- },
215
- {
216
- header: "Total Customers in this Segment",
217
- accessorFn: (o) => o.memberCount ?? 0
218
- },
219
- {
220
- header: "% of customers",
221
- accessorFn: (o) => ((o.memberCount ?? 0) * 100 / v.value).toFixed(2)
222
- },
223
- {
224
- header: "Actions",
225
- meta: {
226
- maxWidth: "100px"
227
- },
228
- cell(o) {
229
- return I("div", { class: "flex items-center justify-end" }, [
230
- I(
231
- L.FmMenu,
232
- {
233
- placement: "bottom-end",
234
- onClick: (t) => {
235
- t.stopPropagation();
236
- }
237
- },
238
- {
239
- "menu-button": () => I(L.FmButton, {
240
- icon: "more_vert",
241
- iconColor: "neutral-gray-400",
242
- variant: "tertiary"
243
- }),
244
- default: () => [
245
- I(
246
- L.FmMenuItem,
247
- {
248
- onClick: async (t) => {
249
- t.stopPropagation(), h(o.row.original);
250
- }
251
- },
252
- {
253
- label: I(
254
- "div",
255
- {
256
- class: "text-fm-color-typo-error fm-typo-en-body-md-400"
257
- },
258
- "Remove"
259
- )
260
- }
261
- )
262
- ]
263
- }
264
- )
265
- ]);
266
- }
267
- }
268
- ], c = W({ searchKey: "", columnFilters: [] }), m = w({
269
- searchValue: "",
270
- pageSize: 10,
271
- pageCount: 0,
272
- pageIndex: 0,
273
- totalRows: 0,
274
- isLoading: !1
275
- }), d = w([]), l = w(null), s = async (o) => {
276
- d.value = [], m.value.isLoading = !0;
277
- const t = await k.readAll({
278
- limit: o.pageSize,
279
- skip: o.pageIndex ?? 0,
280
- sortBy: "_id",
281
- search: m.value.searchValue,
282
- descending: !0
283
- });
284
- d.value = t.resources, m.value.totalRows = t.meta.totalResources ?? 0, m.value.pageCount = t.meta.totalPages ?? 0, m.value.isLoading = !1;
285
- };
286
- async function F() {
287
- await _(
288
- async () => {
289
- await k.refreshSegments(), await s({ pageSize: 10, pageIndex: 0 });
290
- },
291
- { message: "Refreshing segmentations" }
292
- );
293
- }
294
- async function h(o) {
295
- await oe.remove(`Are you sure you want to remove ${o.name}?`) && await _(
296
- async () => {
297
- await k.delete(o._id), await s({ pageSize: 10, pageIndex: 0 });
298
- },
299
- {
300
- message: `Removing ${o.name}`,
301
- successMessage: `Removed ${o.name} successfully`
302
- }
303
- );
304
- }
305
- async function Y(o) {
306
- await _(
307
- async () => {
308
- var t;
309
- if (o._id) {
310
- const { members: i, _id: S, ...$ } = o;
311
- await k.update(o._id, $);
312
- } else
313
- await k.create(o);
314
- await s({ pageSize: 10, pageIndex: 0 }), (t = l.value) == null || t.hideSheet();
315
- },
316
- {
317
- message: "Saving segment",
318
- successMessage: "Segment saved"
319
- }
320
- );
321
- }
322
- function C(o) {
323
- var t;
324
- (t = l.value) == null || t.showSheet(o);
325
- }
326
- const z = j(() => x.isPremium ? [
327
- {
328
- label: "Refresh segments",
329
- value: "refresh"
330
- },
331
- {
332
- label: "Add segment",
333
- value: "add",
334
- isPrimary: !0,
335
- prependIcon: "add"
336
- }
337
- ] : []);
338
- return Q(
339
- () => m.value.searchValue,
340
- se.debounce(() => {
341
- s({ pageSize: 10, pageIndex: 0 });
342
- }, 500)
343
- ), X(async () => {
344
- const { meta: o } = await ge.read({
345
- limit: 1,
346
- skip: 0,
347
- sortBy: "_id",
348
- search: m.value.searchValue,
349
- descending: !1
350
- });
351
- v.value = o.totalResources ?? 0, await s({ pageSize: 10, pageIndex: 0 }), await x.readPremium();
352
- }), (o, t) => {
353
- const i = u("FmPill"), S = u("FmPageHead"), $ = u("FmTable"), y = u("FmIcon"), R = u("FmMenuItem"), H = u("FmMenu"), T = u("FmListItem"), O = u("FmList"), K = u("FmButton"), Z = u("FmCard");
354
- return p(), b(V, null, [
355
- n(S, {
356
- title: "Segments",
357
- actions: e(z),
358
- "onClick:action": t[0] || (t[0] = (f) => f === "add" ? C() : F())
359
- }, {
360
- title: g(() => [
361
- a("div", De, [
362
- Ye,
363
- n(i, { variant: "premium" })
364
- ])
365
- ]),
366
- _: 1
367
- }, 8, ["actions"]),
368
- a("div", ze, [
369
- e(d).length > 0 || e(m).searchValue ? (p(), b(V, { key: 0 }, [
370
- n($, {
371
- class: "xs:hidden",
372
- "row-data": e(d),
373
- "column-defs": r,
374
- "search-value": e(c).searchKey,
375
- "column-filter": [],
376
- "hide-footer": !0,
377
- onRowClick: t[1] || (t[1] = (f) => {
378
- C(f.original);
379
- })
380
- }, null, 8, ["row-data", "search-value"]),
381
- n(O, { class: "w-full hidden xs:block" }, {
382
- default: g(() => [
383
- (p(!0), b(V, null, ee(e(d), (f) => (p(), B(T, {
384
- key: f._id.toString(),
385
- tag: "label",
386
- onClick: (U) => C(f)
387
- }, {
388
- default: g(() => [
389
- a("div", null, [
390
- a("div", Le, M((f.memberCount ?? 0).toLocaleString()) + " total customers ", 1),
391
- a("div", Ae, M(f.name), 1),
392
- a("div", Ue, M(((f.memberCount ?? 0) * 100 / e(v)).toFixed(2)) + "% of customers ", 1)
393
- ])
394
- ]),
395
- append: g(() => [
396
- n(H, { "stop-click-propagation": !0 }, {
397
- "menu-button": g(() => [
398
- n(y, { name: "more_vert" })
399
- ]),
400
- default: g(() => [
401
- n(R, {
402
- class: "text-fm-color-typo-error fm-typo-en-body-md-400",
403
- label: "Remove",
404
- "onUpdate:modelValue": (U) => U && h(f)
405
- }, null, 8, ["onUpdate:modelValue"])
406
- ]),
407
- _: 2
408
- }, 1024)
409
- ]),
410
- _: 2
411
- }, 1032, ["onClick"]))), 128))
412
- ]),
413
- _: 1
414
- })
415
- ], 64)) : (p(), B(Z, {
416
- key: 1,
417
- variant: "outlined",
418
- class: "w-full flex flex-col items-center justify-center gap-y-24 p-24"
419
- }, {
420
- default: g(() => [
421
- Ne,
422
- Ee,
423
- n(K, {
424
- variant: "primary",
425
- label: "Create segment",
426
- disabled: !e(x).isPremium,
427
- icon: "add",
428
- onClick: t[2] || (t[2] = (f) => C())
429
- }, null, 8, ["disabled"])
430
- ]),
431
- _: 1
432
- })),
433
- n(Be, {
434
- ref_key: "sheetRef",
435
- ref: l,
436
- "onUpdate:modelValue": Y
437
- }, null, 512)
438
- ])
439
- ], 64);
440
- };
441
- }
442
- });
443
- export {
444
- st as default
445
- };