@feedmepos/mf-connect 0.1.86-prod → 0.1.88-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 (98) hide show
  1. package/dist/{Analytic-NBYws-xJ.js → Analytic-DH7MUeMg.js} +11 -11
  2. package/dist/{App-B9uc4uAB.js → App-BvOPZUJF.js} +7 -7
  3. package/dist/{Bin-Dd-7uENK.js → Bin-CWAeC7oL.js} +8 -8
  4. package/dist/{Broadcast-C57geedD.js → Broadcast-Vpm-osZ1.js} +8 -8
  5. package/dist/{CampaignTypeDialog.vue_vue_type_script_setup_true_lang-kp9alY2C.js → CampaignTypeDialog.vue_vue_type_script_setup_true_lang-v9vJnYoW.js} +7 -7
  6. package/dist/{Card-0JNty6vz.js → Card--1s6c8KY.js} +19 -19
  7. package/dist/{Collections-DEWu2bk5.js → Collections-CEP5FIKv.js} +8 -8
  8. package/dist/{Credit-B1HqzpDi.js → Credit-B6jG7J-g.js} +8 -8
  9. package/dist/{EditCampaignSheet.vue_vue_type_script_setup_true_lang-mmkn3juE.js → EditCampaignSheet.vue_vue_type_script_setup_true_lang-CQebWG2S.js} +33 -33
  10. package/dist/{EffectSheet.vue_vue_type_style_index_0_lang-DFbCf9em.js → EffectSheet.vue_vue_type_style_index_0_lang-I7kWbSCC.js} +6 -6
  11. package/dist/{Experience-BeXr3SDh.js → Experience-CbDjWVOA.js} +8 -8
  12. package/dist/{FileSaver.min-Dd3kdScu.js → FileSaver.min-BYIWYkDq.js} +1 -1
  13. package/dist/{Game-HM2JItCg.js → Game-IHq538Bo.js} +9 -9
  14. package/dist/{ImageInput.vue_vue_type_script_setup_true_lang-Dd1o2By9.js → ImageInput.vue_vue_type_script_setup_true_lang-BcDVLOQ_.js} +1 -1
  15. package/dist/{Index-CvArBvmi.js → Index-D9n_K2ME.js} +10 -10
  16. package/dist/{LottieAnimation.vue_vue_type_script_setup_true_lang-bmE6aMf9.js → LottieAnimation.vue_vue_type_script_setup_true_lang-qsD4oq17.js} +1 -1
  17. package/dist/{MainLayout-BlcAKDUD.js → MainLayout-Bc70mjxN.js} +1 -1
  18. package/dist/{Marketing-CdKTCEpI.js → Marketing-CpKGEo3O.js} +6 -6
  19. package/dist/{Member-9amfN0s7.js → Member-hrhNxwha.js} +12 -12
  20. package/dist/{MemberList-5V8Xdu9g.js → MemberList-n8QLDF4q.js} +27 -27
  21. package/dist/{MemberTransactions-Ch3eSP7_.js → MemberTransactions-j9hVfdXy.js} +1 -1
  22. package/dist/{MessageInput.vue_vue_type_script_setup_true_lang-D2M6xz4y.js → MessageInput.vue_vue_type_script_setup_true_lang-BqZzvVzE.js} +9 -9
  23. package/dist/{Mission-lmqffCWr.js → Mission-C8RMYHS3.js} +9 -9
  24. package/dist/{Overview-CJRz8io0.js → Overview-BCV9GgGm.js} +19 -19
  25. package/dist/{Point-CnJ69ymH.js → Point-D0FZORv-.js} +8 -8
  26. package/dist/{Promotion-FLyLR9hV.js → Promotion-BTGNqPNj.js} +9 -9
  27. package/dist/{Queue-nZRf2HuR.js → Queue-C7GqeBJW.js} +11 -11
  28. package/dist/{Record-Cj-ppR2D.js → Record-BeBFQIEI.js} +9 -9
  29. package/dist/{Reward-EOCgH_D6.js → Reward-Kg5NPKOW.js} +16 -16
  30. package/dist/{RewardGroup.vue_vue_type_script_setup_true_lang-Bmm4Q5iv.js → RewardGroup.vue_vue_type_script_setup_true_lang-CM10gZbi.js} +12 -12
  31. package/dist/RuleGroup.vue_vue_type_script_setup_true_lang-I6R4IoFi.js +1889 -0
  32. package/dist/{Segment-Bit8pzO7.js → Segment-CedyZCDq.js} +25 -25
  33. package/dist/{SelectItems.vue_vue_type_script_setup_true_lang-BrPoO5ew.js → SelectItems.vue_vue_type_script_setup_true_lang-DClugt2g.js} +2 -2
  34. package/dist/{SendCollectionSheet.vue_vue_type_script_setup_true_lang-BoYZSL1N.js → SendCollectionSheet.vue_vue_type_script_setup_true_lang-CYLrSMH0.js} +13 -13
  35. package/dist/{SendVoucherSheet.vue_vue_type_script_setup_true_lang-AcbNYbsb.js → SendVoucherSheet.vue_vue_type_script_setup_true_lang-D6zlvgMa.js} +49 -48
  36. package/dist/Setting-CkieobUB.js +1989 -0
  37. package/dist/{SettingAdvertisements-OyBbygXk.js → SettingAdvertisements-QtQravAS.js} +12 -12
  38. package/dist/{Store-C3u_SOcu.js → Store-Dg_Yt9y4.js} +289 -285
  39. package/dist/{StoreRewards-BMVKJb6e.js → StoreRewards-D2Yjoezr.js} +15 -15
  40. package/dist/{StoreTransactions.vue_vue_type_script_setup_true_lang-Bzs1JqM4.js → StoreTransactions.vue_vue_type_script_setup_true_lang-CLaGyjd9.js} +20 -20
  41. package/dist/TargetLocationInput.vue_vue_type_script_setup_true_lang-DoAu3ED_.js +140 -0
  42. package/dist/{Tier-DI25GNig.js → Tier-I0cBxFGl.js} +22 -22
  43. package/dist/{Title-DJS3Lro_.js → Title-DkOrhFzS.js} +21 -21
  44. package/dist/{Transaction-C8BbInlR.js → Transaction-DpkU2Z6k.js} +2 -2
  45. package/dist/{UserRuleGroup.vue_vue_type_script_setup_true_lang-i0Rmd6-t.js → UserRuleGroup.vue_vue_type_script_setup_true_lang-DhriFqY7.js} +6 -6
  46. package/dist/{Voucher-CuNm_1Ys.js → Voucher-D3IusL1Y.js} +12 -12
  47. package/dist/{VoucherEditor.vue_vue_type_script_setup_true_lang-B1Xv8osE.js → VoucherEditor.vue_vue_type_script_setup_true_lang-BjbJ9RtI.js} +12 -12
  48. package/dist/{ZodTextField.vue_vue_type_script_setup_true_lang-2lAQ7itS.js → ZodTextField.vue_vue_type_script_setup_true_lang-CfDMVHu8.js} +2 -2
  49. package/dist/{app-CrlU8BQt.js → app-B4ceipxD.js} +373 -83
  50. package/dist/app.js +1 -1
  51. package/dist/{business-DSJ3vlHq.js → business--9g8v1Jk.js} +1 -1
  52. package/dist/{campaign-BkGl-Azc.js → campaign-CHNmre5g.js} +1 -1
  53. package/dist/{campaign-CD5LYcGE.js → campaign-DDyRrYaq.js} +8 -8
  54. package/dist/{campaign.enum-VymUXOzy.js → campaign.enum-B60QwrsD.js} +1 -1
  55. package/dist/{campaign.fn-BySZ29iI.js → campaign.fn-DkT_XzKV.js} +66 -66
  56. package/dist/{collectible.enum-CaoiTdBM.js → collectible.enum-CXihiAPI.js} +1 -1
  57. package/dist/{collection.fn-CdOHMaS5.js → collection.fn-135DMEWY.js} +2 -2
  58. package/dist/{dto-DXSxijtu.js → dto-CFddY1Mk.js} +4 -4
  59. package/dist/{effect-CQg8wIhY.js → effect-CAbTi9gd.js} +1 -1
  60. package/dist/{email-addresses-D1vS-M__.js → email-addresses-DabtIvSg.js} +2 -2
  61. package/dist/{export-CPwQDq5v.js → export-Cnb1qaSr.js} +3 -3
  62. package/dist/{helper-Ddi9Ypo8.js → helper-TmvjXMkn.js} +1 -1
  63. package/dist/{index-DoE5X--7.js → index-BB3m_Vvq.js} +2 -2
  64. package/dist/{index-CvQcsgQS.js → index-BOZq4xp0.js} +3 -3
  65. package/dist/{index-CBNZMw5T.js → index-C71oKRli.js} +1 -1
  66. package/dist/{index-LtGRDAPs.js → index-CGZ7y8Nw.js} +1 -1
  67. package/dist/{index-Dw_aPOsa.js → index-CLvNN2TN.js} +6 -6
  68. package/dist/{index-Cssv_Y-f.js → index-CR6n1KJO.js} +4 -4
  69. package/dist/{index-EvaDAbW_.js → index-D83ZCuxk.js} +1 -1
  70. package/dist/{index-NlM6a88a.js → index-DE6QO1GD.js} +1 -1
  71. package/dist/{index-C74X6b5n.js → index-DRSol6ON.js} +1 -1
  72. package/dist/{index-BCtUj5K0.js → index-DYfvKVuf.js} +1 -1
  73. package/dist/{index-DuufBhXS.js → index-DhzPWYCm.js} +1 -1
  74. package/dist/{index-e2Rb4HHN.js → index-DvfZn-AO.js} +3 -3
  75. package/dist/{index-CIG3I6UQ.js → index-H-ZlVzI4.js} +3 -3
  76. package/dist/{index.esm2017-qspgWl2R.js → index.esm2017-DFzo1fgU.js} +1 -1
  77. package/dist/{loading-BiX4mF7V.js → loading-Bxz_czvo.js} +1 -1
  78. package/dist/{lodash-BiybCWQB.js → lodash-BxKnmCIx.js} +1 -1
  79. package/dist/{membership-Dnkc7J8U.js → membership-8JAQtDJg.js} +3 -3
  80. package/dist/{money-BKxUbqL2.js → money-Diy9s426.js} +1 -1
  81. package/dist/{number-s7gy0q08.js → number-X7dL-fLQ.js} +1 -1
  82. package/dist/{objectid-B7dlIhZI.js → objectid-YtPYacEi.js} +2 -2
  83. package/dist/{plugins-_4R196pf.js → plugins-BZVsan_J.js} +3 -3
  84. package/dist/{reward-D624Kic_.js → reward-DBMDUfD_.js} +1 -1
  85. package/dist/{rule-u0unBmVJ.js → rule-D7c4bEcg.js} +3 -3
  86. package/dist/{rule-builder-BC_A9GsJ.js → rule-builder-CsB4hJee.js} +1 -1
  87. package/dist/{template-B-WEfANP.js → template-B1BsXMbV.js} +7 -7
  88. package/dist/{timezone-DWWhMtv-.js → timezone-3lPXoGaK.js} +2 -2
  89. package/dist/{trigger-VG08oklM.js → trigger-CCc-xwrQ.js} +5 -5
  90. package/dist/{usePagination-U8tHccOt.js → usePagination-RN_u8hW4.js} +1 -1
  91. package/dist/{user-B5TU4FOd.js → user-DPbEx8dH.js} +1 -1
  92. package/dist/{vue-i18n-CfjKmwVs.js → vue-i18n-DpB0kfM3.js} +109 -109
  93. package/dist/{xlsx-Cxfclh15.js → xlsx-CmTsMcSJ.js} +1 -1
  94. package/dist/{zod-D4HcRDps.js → zod-DvaskSX-.js} +1 -1
  95. package/package.json +1 -1
  96. package/dist/RuleGroup.vue_vue_type_script_setup_true_lang-Dh6mmPWI.js +0 -1767
  97. package/dist/Setting-CWWXCdg7.js +0 -1982
  98. package/dist/TargetLocationInput.vue_vue_type_script_setup_true_lang-BF75L_C-.js +0 -139
@@ -1,25 +1,25 @@
1
1
  import { defineComponent as W, ref as V, computed as G, onMounted as Y, resolveComponent as b, openBlock as w, createBlock as C, unref as e, isRef as Q, withCtx as F, createElementVNode as s, createVNode as u, createElementBlock as P, createTextVNode as X, resolveDynamicComponent as M, toDisplayString as B, Fragment as q, createCommentVNode as $, h as v } from "vue";
2
2
  import { _ as ee } from "./campaign-CpzFl8Vr.js";
3
3
  import { useDialog as z, components as O } from "@feedmepos/ui-library";
4
- import "./index-BCtUj5K0.js";
5
- import { u as te } from "./loading-BiX4mF7V.js";
6
- import { C as J, u as oe } from "./membership-Dnkc7J8U.js";
7
- import { p as I, f as N } from "./plugins-_4R196pf.js";
8
- import { u as ae } from "./vue-i18n-CfjKmwVs.js";
9
- import { F as ne } from "./index-CvQcsgQS.js";
4
+ import "./index-DYfvKVuf.js";
5
+ import { u as te } from "./loading-Bxz_czvo.js";
6
+ import { C as J, u as oe } from "./membership-8JAQtDJg.js";
7
+ import { p as I, f as N } from "./plugins-BZVsan_J.js";
8
+ import { u as ae } from "./vue-i18n-DpB0kfM3.js";
9
+ import { F as ne } from "./index-BOZq4xp0.js";
10
10
  import { c as se } from "./object-qECH92oz.js";
11
11
  import { u as Z } from "./app-wDQR6dpb.js";
12
- import { u as re } from "./business-DSJ3vlHq.js";
12
+ import { u as re } from "./business--9g8v1Jk.js";
13
13
  import { useCoreStore as ie } from "@feedmepos/mf-common";
14
- import { Z as x } from "./zod-D4HcRDps.js";
15
- import { _ as le } from "./ZodTextField.vue_vue_type_script_setup_true_lang-2lAQ7itS.js";
16
- import { _ as de } from "./ImageInput.vue_vue_type_script_setup_true_lang-Dd1o2By9.js";
17
- import { _ as ce } from "./TargetLocationInput.vue_vue_type_script_setup_true_lang-BF75L_C-.js";
18
- import { _ as me, a as pe } from "./EffectSheet.vue_vue_type_style_index_0_lang-DFbCf9em.js";
19
- import { i as ue, F as fe, h as K, t as ye } from "./helper-Ddi9Ypo8.js";
14
+ import { Z as x } from "./zod-DvaskSX-.js";
15
+ import { _ as le } from "./ZodTextField.vue_vue_type_script_setup_true_lang-CfDMVHu8.js";
16
+ import { _ as de } from "./ImageInput.vue_vue_type_script_setup_true_lang-BcDVLOQ_.js";
17
+ import { _ as ce } from "./TargetLocationInput.vue_vue_type_script_setup_true_lang-DoAu3ED_.js";
18
+ import { _ as me, a as pe } from "./EffectSheet.vue_vue_type_style_index_0_lang-I7kWbSCC.js";
19
+ import { i as ue, F as fe, h as K, t as ye } from "./helper-TmvjXMkn.js";
20
20
  import { useRouter as we } from "vue-router";
21
- import { m as j } from "./index-C74X6b5n.js";
22
- import { R as A } from "./app-CrlU8BQt.js";
21
+ import { m as j } from "./index-DRSol6ON.js";
22
+ import { R as A } from "./app-B4ceipxD.js";
23
23
  const ge = {
24
24
  key: 0,
25
25
  class: "flex flex-col space-y-16 pr-12"
@@ -1,31 +1,31 @@
1
1
  import { defineComponent as H, mergeModels as ee, useModel as ye, computed as P, onMounted as ae, watch as Q, resolveComponent as O, openBlock as E, createBlock as q, withCtx as W, createVNode as R, unref as n, ref as M, h as r, isRef as he, createElementVNode as x, createElementBlock as V, Fragment as X, renderList as te, toDisplayString as L, createTextVNode as ve, resolveDynamicComponent as be, onBeforeMount as _e } from "vue";
2
2
  import { components as b, useDialog as Se } from "@feedmepos/ui-library";
3
- import { r as oe } from "./index-Cssv_Y-f.js";
4
- import "./index-e2Rb4HHN.js";
5
- import { s as xe } from "./index-LtGRDAPs.js";
3
+ import { r as oe } from "./index-CR6n1KJO.js";
4
+ import "./index-DvfZn-AO.js";
5
+ import { s as xe } from "./index-CGZ7y8Nw.js";
6
6
  import { h as y } from "./moment-D7p2TMB-.js";
7
7
  import { _ as j } from "./FilterChip.vue_vue_type_script_setup_true_lang-DaU-9GzO.js";
8
8
  import { s as K } from "./index-CuvNtC_M.js";
9
- import { f as J } from "./number-s7gy0q08.js";
10
- import { u as ne } from "./business-DSJ3vlHq.js";
11
- import { u as re, _ as se } from "./usePagination-U8tHccOt.js";
12
- import { a as Z, c as we, p as De } from "./plugins-_4R196pf.js";
13
- import { g as le } from "./user-B5TU4FOd.js";
14
- import { B as ie, e as ce } from "./export-CPwQDq5v.js";
15
- import { u as ue } from "./campaign-BkGl-Azc.js";
16
- import "./index-BCtUj5K0.js";
17
- import "./index-CvQcsgQS.js";
18
- import "./index-Dw_aPOsa.js";
19
- import "./index-CBNZMw5T.js";
20
- import "./index-CIG3I6UQ.js";
21
- import { u as me } from "./vue-i18n-CfjKmwVs.js";
9
+ import { f as J } from "./number-X7dL-fLQ.js";
10
+ import { u as ne } from "./business--9g8v1Jk.js";
11
+ import { u as re, _ as se } from "./usePagination-RN_u8hW4.js";
12
+ import { a as Z, c as we, p as De } from "./plugins-BZVsan_J.js";
13
+ import { g as le } from "./user-DPbEx8dH.js";
14
+ import { B as ie, e as ce } from "./export-Cnb1qaSr.js";
15
+ import { u as ue } from "./campaign-CHNmre5g.js";
16
+ import "./index-DYfvKVuf.js";
17
+ import "./index-BOZq4xp0.js";
18
+ import "./index-CLvNN2TN.js";
19
+ import "./index-C71oKRli.js";
20
+ import "./index-H-ZlVzI4.js";
21
+ import { u as me } from "./vue-i18n-DpB0kfM3.js";
22
22
  import { o as Y } from "./objectId-dwaoBfJX.js";
23
23
  import { useRouter as Re } from "vue-router";
24
- import { t as G } from "./index-DuufBhXS.js";
25
- import { R as z } from "./app-CrlU8BQt.js";
26
- import { u as Ce } from "./loading-BiX4mF7V.js";
24
+ import { t as G } from "./index-DhzPWYCm.js";
25
+ import { R as z } from "./app-B4ceipxD.js";
26
+ import { u as Ce } from "./loading-Bxz_czvo.js";
27
27
  import { useCoreStore as Te } from "@feedmepos/mf-common";
28
- import { m as Fe } from "./index-C74X6b5n.js";
28
+ import { m as Fe } from "./index-DRSol6ON.js";
29
29
  function Ie(m) {
30
30
  let f = "";
31
31
  switch (m) {
@@ -0,0 +1,140 @@
1
+ import { defineComponent as N, ref as U, computed as w, watch as M, resolveComponent as v, openBlock as a, createElementBlock as i, Fragment as p, toDisplayString as F, createCommentVNode as T, createElementVNode as j, createVNode as h, unref as n, renderList as S, createBlock as k, isRef as $, withCtx as C } from "vue";
2
+ import { u as q } from "./business--9g8v1Jk.js";
3
+ import { u as D } from "./vue-i18n-DpB0kfM3.js";
4
+ function K(l, s, o) {
5
+ return l.some(
6
+ o instanceof Function ? o : (u) => u === s
7
+ ) || l.push(s), l;
8
+ }
9
+ function O(l, s, o) {
10
+ return l.filter(
11
+ o instanceof Function ? (u) => !o(u) : (u) => u !== s
12
+ );
13
+ }
14
+ const R = {
15
+ key: 0,
16
+ class: "fm-typo-en-body-lg-400"
17
+ }, z = {
18
+ key: 1,
19
+ class: "space-y-4"
20
+ }, A = { key: 0 }, G = { key: 1 }, H = { key: 2 }, W = /* @__PURE__ */ N({
21
+ __name: "TargetLocationInput",
22
+ props: {
23
+ label: {
24
+ type: String
25
+ },
26
+ type: {
27
+ type: String,
28
+ default: "select"
29
+ },
30
+ modelValue: {
31
+ type: Object,
32
+ required: !0
33
+ }
34
+ },
35
+ emits: ["update:model-value"],
36
+ setup(l, { emit: s }) {
37
+ const o = q(), { t: u } = D(), c = l, r = U(""), B = w(() => o.locations.filter(
38
+ (d) => {
39
+ var t;
40
+ return d.name.toLowerCase().includes(r.value.toLowerCase()) || ((t = d == null ? void 0 : d.code) == null ? void 0 : t.toLowerCase().includes(r.value.toLowerCase()));
41
+ }
42
+ )), b = s;
43
+ function L(d, t) {
44
+ const m = d ? K(c.modelValue || [], t.toString()) : O(
45
+ c.modelValue || o.locations.map((g) => g._id.toString()),
46
+ t.toString()
47
+ );
48
+ return b("update:model-value", m);
49
+ }
50
+ const V = U(!1), I = w(() => {
51
+ var m, g;
52
+ const t = ((m = c.modelValue) == null ? void 0 : m.slice(0, 5).map((f) => {
53
+ var y;
54
+ return ((y = o.locationById(f)) == null ? void 0 : y.name) || f;
55
+ })) || [];
56
+ return c.modelValue && ((g = c.modelValue) == null ? void 0 : g.length) > 5 && t.push(`+${c.modelValue.length - 5} more`), t;
57
+ });
58
+ return M(V, (d) => {
59
+ d && (r.value = "");
60
+ }), (d, t) => {
61
+ const m = v("FmCheckbox"), g = v("FmChip"), f = v("FmField"), y = v("FmTextField"), E = v("FmMenu");
62
+ return a(), i(p, null, [
63
+ l.label ? (a(), i("div", R, F(l.label), 1)) : T("", !0),
64
+ l.type === "checkbox" ? (a(), i("div", z, [
65
+ j("div", null, [
66
+ h(m, {
67
+ value: null,
68
+ indeterminate: l.modelValue != null && l.modelValue.length > 0 && l.modelValue.length < n(o).locations.length,
69
+ label: n(u)("connect.setting.location.allLocations"),
70
+ "model-value": l.modelValue == null || l.modelValue.length === n(o).locations.length,
71
+ "onUpdate:modelValue": t[0] || (t[0] = (e) => b("update:model-value", e ? null : []))
72
+ }, null, 8, ["indeterminate", "label", "model-value"])
73
+ ]),
74
+ (a(!0), i(p, null, S(n(o).locations, (e) => (a(), i("div", {
75
+ key: e._id.toString()
76
+ }, [
77
+ h(m, {
78
+ value: e._id.toString(),
79
+ label: `${e.code ? `${e.code} - ` : ""} ${e.name}`,
80
+ "model-value": !l.modelValue || l.modelValue.includes(e._id.toString()),
81
+ "onUpdate:modelValue": (x) => L(x, e._id.toString())
82
+ }, null, 8, ["value", "label", "model-value", "onUpdate:modelValue"])
83
+ ]))), 128))
84
+ ])) : (a(), k(E, {
85
+ key: 2,
86
+ modelValue: n(V),
87
+ "onUpdate:modelValue": t[3] || (t[3] = (e) => $(V) ? V.value = e : null),
88
+ onMenuChanged: t[4] || (t[4] = (e) => V.value = e),
89
+ placement: "top-end"
90
+ }, {
91
+ "menu-button": C(() => [
92
+ h(f, {
93
+ "append-icon": n(V) ? "expand_more" : "expand_less",
94
+ class: "!h-auto"
95
+ }, {
96
+ default: C(() => [
97
+ !l.modelValue || l.modelValue.length == n(o).locations.length ? (a(), i("div", A, F(n(u)("connect.setting.location.allLocations")), 1)) : l.modelValue.length ? (a(), i("div", H, [
98
+ (a(!0), i(p, null, S(n(I), (e) => (a(), k(g, {
99
+ key: e,
100
+ label: e,
101
+ class: "max-w-[130px] text-ellipsis"
102
+ }, null, 8, ["label"]))), 128))
103
+ ])) : (a(), i("div", G, F(n(u)("connect.setting.location.noLocations")), 1))
104
+ ]),
105
+ _: 1
106
+ }, 8, ["append-icon"])
107
+ ]),
108
+ default: C(() => [
109
+ h(y, {
110
+ modelValue: n(r),
111
+ "onUpdate:modelValue": t[1] || (t[1] = (e) => $(r) ? r.value = e : null),
112
+ placeholder: n(u)("connect.setting.location.searchLocations"),
113
+ class: "my-8"
114
+ }, null, 8, ["modelValue", "placeholder"]),
115
+ h(m, {
116
+ class: "my-8",
117
+ value: null,
118
+ indeterminate: l.modelValue != null && l.modelValue.length > 0 && l.modelValue.length < n(o).locations.length,
119
+ label: n(u)("connect.setting.location.allLocations"),
120
+ "model-value": l.modelValue == null || l.modelValue.length === n(o).locations.length,
121
+ "onUpdate:modelValue": t[2] || (t[2] = (e) => b("update:model-value", e ? null : []))
122
+ }, null, 8, ["indeterminate", "label", "model-value"]),
123
+ (a(!0), i(p, null, S(n(B), (e) => (a(), k(m, {
124
+ class: "my-8",
125
+ key: e._id.toString(),
126
+ value: e._id.toString(),
127
+ label: `${e.code ? `${e.code} - ` : ""} ${e.name}`,
128
+ "model-value": !l.modelValue || l.modelValue.includes(e._id.toString()),
129
+ "onUpdate:modelValue": (x) => L(x, e._id.toString())
130
+ }, null, 8, ["value", "label", "model-value", "onUpdate:modelValue"]))), 128))
131
+ ]),
132
+ _: 1
133
+ }, 8, ["modelValue"]))
134
+ ], 64);
135
+ };
136
+ }
137
+ });
138
+ export {
139
+ W as _
140
+ };