@bagelink/vue 0.0.136 → 0.0.140

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/index.mjs CHANGED
@@ -17048,6 +17048,10 @@ const _sfc_main$t = /* @__PURE__ */ defineComponent({
17048
17048
  setup(__props) {
17049
17049
  const bagel = useBagel();
17050
17050
  const props2 = __props;
17051
+ const formPlaceholders = computed(() => {
17052
+ var _a, _b;
17053
+ return (_b = (_a = props2.context) == null ? void 0 : _a.attrs) == null ? void 0 : _b.formPlaceholders;
17054
+ });
17051
17055
  let val = ref([]);
17052
17056
  let deleteCandidate = ref(-1);
17053
17057
  const del2 = (i2) => {
@@ -17090,22 +17094,22 @@ const _sfc_main$t = /* @__PURE__ */ defineComponent({
17090
17094
  return openBlock(), createElementBlock("div", _hoisted_1$C, [
17091
17095
  createElementVNode("div", _hoisted_2$x, [
17092
17096
  (openBlock(true), createElementBlock(Fragment$1, null, renderList(unref(val), (contact, i2) => {
17093
- var _a, _b, _c, _d, _e, _f, _g, _h, _i, _j;
17097
+ var _a, _b, _c, _d, _e, _f;
17094
17098
  return openBlock(), createElementBlock("div", {
17095
17099
  class: "bglform-contact mb-2",
17096
17100
  key: i2
17097
17101
  }, [
17098
17102
  unref(deleteCandidate) === i2 ? (openBlock(), createElementBlock("div", _hoisted_3$u, [
17099
- createElementVNode("p", _hoisted_4$g, toDisplayString((_b = (_a = _ctx.context) == null ? void 0 : _a.formPlaceholders) == null ? void 0 : _b.sure), 1),
17103
+ createElementVNode("p", _hoisted_4$g, toDisplayString((_a = formPlaceholders.value) == null ? void 0 : _a.sure), 1),
17100
17104
  createVNode(unref(Btn), {
17101
17105
  thin: "",
17102
17106
  color: "red",
17103
17107
  onClick: ($event) => deleteContact(contact.id)
17104
17108
  }, {
17105
17109
  default: withCtx(() => {
17106
- var _a2, _b2;
17110
+ var _a2;
17107
17111
  return [
17108
- createTextVNode(toDisplayString((_b2 = (_a2 = _ctx.context) == null ? void 0 : _a2.formPlaceholders) == null ? void 0 : _b2.delete), 1)
17112
+ createTextVNode(toDisplayString((_a2 = formPlaceholders.value) == null ? void 0 : _a2.delete), 1)
17109
17113
  ];
17110
17114
  }),
17111
17115
  _: 2
@@ -17115,9 +17119,9 @@ const _sfc_main$t = /* @__PURE__ */ defineComponent({
17115
17119
  onClick: _cache[0] || (_cache[0] = ($event) => isRef(deleteCandidate) ? deleteCandidate.value = -1 : deleteCandidate = -1)
17116
17120
  }, {
17117
17121
  default: withCtx(() => {
17118
- var _a2, _b2;
17122
+ var _a2;
17119
17123
  return [
17120
- createTextVNode(toDisplayString((_b2 = (_a2 = _ctx.context) == null ? void 0 : _a2.formPlaceholders) == null ? void 0 : _b2.cancel), 1)
17124
+ createTextVNode(toDisplayString((_a2 = formPlaceholders.value) == null ? void 0 : _a2.cancel), 1)
17121
17125
  ];
17122
17126
  }),
17123
17127
  _: 1
@@ -17131,22 +17135,22 @@ const _sfc_main$t = /* @__PURE__ */ defineComponent({
17131
17135
  class: "bglform-contact-label",
17132
17136
  "onUpdate:modelValue": ($event) => contact.label = $event,
17133
17137
  type: "text",
17134
- placeholder: (_d = (_c = _ctx.context) == null ? void 0 : _c.formPlaceholders) == null ? void 0 : _d.label
17138
+ placeholder: (_b = formPlaceholders.value) == null ? void 0 : _b.label
17135
17139
  }, null, 8, _hoisted_5$e), [
17136
17140
  [vModelText, contact.label]
17137
17141
  ]),
17138
- ((_e = _ctx.context) == null ? void 0 : _e.id) === "email" ? withDirectives((openBlock(), createElementBlock("input", {
17142
+ ((_c = _ctx.context) == null ? void 0 : _c.id) === "email" ? withDirectives((openBlock(), createElementBlock("input", {
17139
17143
  key: 1,
17140
17144
  "onUpdate:modelValue": ($event) => contact.email = $event,
17141
- placeholder: (_g = (_f = _ctx.context) == null ? void 0 : _f.formPlaceholders) == null ? void 0 : _g.email,
17145
+ placeholder: (_d = formPlaceholders.value) == null ? void 0 : _d.email,
17142
17146
  type: "email"
17143
17147
  }, null, 8, _hoisted_6$b)), [
17144
17148
  [vModelText, contact.email]
17145
17149
  ]) : createCommentVNode("", true),
17146
- ((_h = _ctx.context) == null ? void 0 : _h.id) === "phone" ? withDirectives((openBlock(), createElementBlock("input", {
17150
+ ((_e = _ctx.context) == null ? void 0 : _e.id) === "phone" ? withDirectives((openBlock(), createElementBlock("input", {
17147
17151
  key: 2,
17148
17152
  "onUpdate:modelValue": ($event) => contact.phone = $event,
17149
- placeholder: (_j = (_i = _ctx.context) == null ? void 0 : _i.formPlaceholders) == null ? void 0 : _j.phone,
17153
+ placeholder: (_f = formPlaceholders.value) == null ? void 0 : _f.phone,
17150
17154
  type: "tel"
17151
17155
  }, null, 8, _hoisted_7$7)), [
17152
17156
  [vModelText, contact.phone]
@@ -17168,9 +17172,9 @@ const _sfc_main$t = /* @__PURE__ */ defineComponent({
17168
17172
  onClick: _cache[1] || (_cache[1] = ($event) => unref(val).push({}))
17169
17173
  }, {
17170
17174
  default: withCtx(() => {
17171
- var _a, _b, _c;
17175
+ var _a, _b;
17172
17176
  return [
17173
- createTextVNode(toDisplayString((_b = (_a = _ctx.context) == null ? void 0 : _a.formPlaceholders) == null ? void 0 : _b.add) + " " + toDisplayString((_c = _ctx.context) == null ? void 0 : _c.label), 1)
17177
+ createTextVNode(toDisplayString((_a = formPlaceholders.value) == null ? void 0 : _a.add) + " " + toDisplayString((_b = _ctx.context) == null ? void 0 : _b.label), 1)
17174
17178
  ];
17175
17179
  }),
17176
17180
  _: 1
@@ -17180,7 +17184,7 @@ const _sfc_main$t = /* @__PURE__ */ defineComponent({
17180
17184
  };
17181
17185
  }
17182
17186
  });
17183
- const ContactArrayFormKit = /* @__PURE__ */ _export_sfc(_sfc_main$t, [["__scopeId", "data-v-33e63930"]]);
17187
+ const ContactArrayFormKit = /* @__PURE__ */ _export_sfc(_sfc_main$t, [["__scopeId", "data-v-0533667e"]]);
17184
17188
  const _hoisted_1$B = { class: "bagel-input" };
17185
17189
  const _hoisted_2$w = { class: "mt-1" };
17186
17190
  const _hoisted_3$t = {
@@ -17204,6 +17208,10 @@ const _sfc_main$s = /* @__PURE__ */ defineComponent({
17204
17208
  setup(__props) {
17205
17209
  const bagel = useBagel();
17206
17210
  const props2 = __props;
17211
+ const formPlaceholders = computed(() => {
17212
+ var _a, _b;
17213
+ return (_b = (_a = props2.context) == null ? void 0 : _a.attrs) == null ? void 0 : _b.formPlaceholders;
17214
+ });
17207
17215
  let val = ref([]);
17208
17216
  const addNew = () => {
17209
17217
  if (!val.value)
@@ -17252,22 +17260,22 @@ const _sfc_main$s = /* @__PURE__ */ defineComponent({
17252
17260
  return openBlock(), createElementBlock("div", _hoisted_1$B, [
17253
17261
  createElementVNode("div", _hoisted_2$w, [
17254
17262
  (openBlock(true), createElementBlock(Fragment$1, null, renderList(unref(val), (address, i2) => {
17255
- var _a, _b, _c, _d, _e, _f, _g, _h, _i, _j, _k, _l;
17263
+ var _a, _b, _c, _d, _e, _f;
17256
17264
  return openBlock(), createElementBlock("div", {
17257
17265
  class: "bglform-contact mb-3",
17258
17266
  key: i2
17259
17267
  }, [
17260
17268
  unref(deleteCandidate) === i2 ? (openBlock(), createElementBlock("div", _hoisted_3$t, [
17261
- createElementVNode("p", _hoisted_4$f, toDisplayString((_b = (_a = _ctx.context) == null ? void 0 : _a.formPlaceholders) == null ? void 0 : _b.sure), 1),
17269
+ createElementVNode("p", _hoisted_4$f, toDisplayString((_a = formPlaceholders.value) == null ? void 0 : _a.sure), 1),
17262
17270
  createVNode(unref(Btn), {
17263
17271
  thin: "",
17264
17272
  color: "red",
17265
17273
  onClick: ($event) => deleteContact(address.id)
17266
17274
  }, {
17267
17275
  default: withCtx(() => {
17268
- var _a2, _b2;
17276
+ var _a2;
17269
17277
  return [
17270
- createTextVNode(toDisplayString((_b2 = (_a2 = _ctx.context) == null ? void 0 : _a2.formPlaceholders) == null ? void 0 : _b2.delete), 1)
17278
+ createTextVNode(toDisplayString((_a2 = formPlaceholders.value) == null ? void 0 : _a2.delete), 1)
17271
17279
  ];
17272
17280
  }),
17273
17281
  _: 2
@@ -17277,9 +17285,9 @@ const _sfc_main$s = /* @__PURE__ */ defineComponent({
17277
17285
  onClick: _cache[0] || (_cache[0] = ($event) => isRef(deleteCandidate) ? deleteCandidate.value = -1 : deleteCandidate = -1)
17278
17286
  }, {
17279
17287
  default: withCtx(() => {
17280
- var _a2, _b2;
17288
+ var _a2;
17281
17289
  return [
17282
- createTextVNode(toDisplayString((_b2 = (_a2 = _ctx.context) == null ? void 0 : _a2.formPlaceholders) == null ? void 0 : _b2.cancel), 1)
17290
+ createTextVNode(toDisplayString((_a2 = formPlaceholders.value) == null ? void 0 : _a2.cancel), 1)
17283
17291
  ];
17284
17292
  }),
17285
17293
  _: 1
@@ -17293,14 +17301,14 @@ const _sfc_main$s = /* @__PURE__ */ defineComponent({
17293
17301
  class: "bglform-contact-label",
17294
17302
  "onUpdate:modelValue": ($event) => address.label = $event,
17295
17303
  type: "text",
17296
- placeholder: (_d = (_c = _ctx.context) == null ? void 0 : _c.formPlaceholders) == null ? void 0 : _d.label
17304
+ placeholder: (_b = formPlaceholders.value) == null ? void 0 : _b.label
17297
17305
  }, null, 8, _hoisted_5$d), [
17298
17306
  [vModelText, address.label]
17299
17307
  ]),
17300
17308
  createElementVNode("div", _hoisted_6$a, [
17301
17309
  withDirectives(createElementVNode("input", {
17302
17310
  "onUpdate:modelValue": ($event) => address.street = $event,
17303
- placeholder: (_f = (_e = _ctx.context) == null ? void 0 : _e.formPlaceholders) == null ? void 0 : _f.street,
17311
+ placeholder: (_c = formPlaceholders.value) == null ? void 0 : _c.street,
17304
17312
  type: "text"
17305
17313
  }, null, 8, _hoisted_7$6), [
17306
17314
  [vModelText, address.street]
@@ -17308,14 +17316,14 @@ const _sfc_main$s = /* @__PURE__ */ defineComponent({
17308
17316
  createElementVNode("div", _hoisted_8$3, [
17309
17317
  withDirectives(createElementVNode("input", {
17310
17318
  "onUpdate:modelValue": ($event) => address.city = $event,
17311
- placeholder: (_h = (_g = _ctx.context) == null ? void 0 : _g.formPlaceholders) == null ? void 0 : _h.city,
17319
+ placeholder: (_d = formPlaceholders.value) == null ? void 0 : _d.city,
17312
17320
  type: "text"
17313
17321
  }, null, 8, _hoisted_9$3), [
17314
17322
  [vModelText, address.city]
17315
17323
  ]),
17316
17324
  withDirectives(createElementVNode("input", {
17317
17325
  "onUpdate:modelValue": ($event) => address.postal_code = $event,
17318
- placeholder: (_j = (_i = _ctx.context) == null ? void 0 : _i.formPlaceholders) == null ? void 0 : _j.zip,
17326
+ placeholder: (_e = formPlaceholders.value) == null ? void 0 : _e.zip,
17319
17327
  type: "text"
17320
17328
  }, null, 8, _hoisted_10$2), [
17321
17329
  [vModelText, address.postal_code]
@@ -17323,7 +17331,7 @@ const _sfc_main$s = /* @__PURE__ */ defineComponent({
17323
17331
  ]),
17324
17332
  withDirectives(createElementVNode("input", {
17325
17333
  "onUpdate:modelValue": ($event) => address.country = $event,
17326
- placeholder: (_l = (_k = _ctx.context) == null ? void 0 : _k.formPlaceholders) == null ? void 0 : _l.country,
17334
+ placeholder: (_f = formPlaceholders.value) == null ? void 0 : _f.country,
17327
17335
  type: "text"
17328
17336
  }, null, 8, _hoisted_11$1), [
17329
17337
  [vModelText, address.country]
@@ -17347,9 +17355,9 @@ const _sfc_main$s = /* @__PURE__ */ defineComponent({
17347
17355
  onClick: addNew
17348
17356
  }, {
17349
17357
  default: withCtx(() => {
17350
- var _a, _b, _c;
17358
+ var _a, _b;
17351
17359
  return [
17352
- createTextVNode(toDisplayString((_b = (_a = _ctx.context) == null ? void 0 : _a.formPlaceholders) == null ? void 0 : _b.add) + " " + toDisplayString((_c = _ctx.context) == null ? void 0 : _c.label), 1)
17360
+ createTextVNode(toDisplayString((_a = formPlaceholders.value) == null ? void 0 : _a.add) + " " + toDisplayString((_b = _ctx.context) == null ? void 0 : _b.label), 1)
17353
17361
  ];
17354
17362
  }),
17355
17363
  _: 1
@@ -17359,7 +17367,7 @@ const _sfc_main$s = /* @__PURE__ */ defineComponent({
17359
17367
  };
17360
17368
  }
17361
17369
  });
17362
- const AddressArray = /* @__PURE__ */ _export_sfc(_sfc_main$s, [["__scopeId", "data-v-0b835e6e"]]);
17370
+ const AddressArray = /* @__PURE__ */ _export_sfc(_sfc_main$s, [["__scopeId", "data-v-98a4f943"]]);
17363
17371
  const _hoisted_1$A = { class: "bagel-input" };
17364
17372
  const _hoisted_2$v = { class: "mt-1" };
17365
17373
  const _hoisted_3$s = {
@@ -17388,6 +17396,10 @@ const _sfc_main$r = /* @__PURE__ */ defineComponent({
17388
17396
  setup(__props) {
17389
17397
  const bagel = useBagel();
17390
17398
  const props2 = __props;
17399
+ const formPlaceholders = computed(() => {
17400
+ var _a, _b;
17401
+ return (_b = (_a = props2.context) == null ? void 0 : _a.attrs) == null ? void 0 : _b.formPlaceholders;
17402
+ });
17391
17403
  let val = ref([]);
17392
17404
  let deleteCandidate = ref(-1);
17393
17405
  const del2 = (i2) => {
@@ -17430,22 +17442,22 @@ const _sfc_main$r = /* @__PURE__ */ defineComponent({
17430
17442
  return openBlock(), createElementBlock("div", _hoisted_1$A, [
17431
17443
  createElementVNode("div", _hoisted_2$v, [
17432
17444
  (openBlock(true), createElementBlock(Fragment$1, null, renderList(unref(val), (bank_account, i2) => {
17433
- var _a, _b, _c, _d, _e, _f, _g, _h, _i, _j, _k, _l, _m, _n, _o, _p;
17445
+ var _a, _b, _c, _d, _e, _f, _g, _h;
17434
17446
  return openBlock(), createElementBlock("div", {
17435
17447
  class: "bglform-contact mb-3",
17436
17448
  key: i2
17437
17449
  }, [
17438
17450
  unref(deleteCandidate) === i2 ? (openBlock(), createElementBlock("div", _hoisted_3$s, [
17439
- createElementVNode("p", _hoisted_4$e, toDisplayString((_b = (_a = _ctx.context) == null ? void 0 : _a.formPlaceholders) == null ? void 0 : _b.sure), 1),
17451
+ createElementVNode("p", _hoisted_4$e, toDisplayString((_a = formPlaceholders.value) == null ? void 0 : _a.sure), 1),
17440
17452
  createVNode(unref(Btn), {
17441
17453
  thin: "",
17442
17454
  color: "red",
17443
17455
  onClick: ($event) => deleteContact(bank_account.id)
17444
17456
  }, {
17445
17457
  default: withCtx(() => {
17446
- var _a2, _b2;
17458
+ var _a2;
17447
17459
  return [
17448
- createTextVNode(toDisplayString((_b2 = (_a2 = _ctx.context) == null ? void 0 : _a2.formPlaceholders) == null ? void 0 : _b2.delete), 1)
17460
+ createTextVNode(toDisplayString((_a2 = formPlaceholders.value) == null ? void 0 : _a2.delete), 1)
17449
17461
  ];
17450
17462
  }),
17451
17463
  _: 2
@@ -17455,9 +17467,9 @@ const _sfc_main$r = /* @__PURE__ */ defineComponent({
17455
17467
  onClick: _cache[0] || (_cache[0] = ($event) => isRef(deleteCandidate) ? deleteCandidate.value = -1 : deleteCandidate = -1)
17456
17468
  }, {
17457
17469
  default: withCtx(() => {
17458
- var _a2, _b2;
17470
+ var _a2;
17459
17471
  return [
17460
- createTextVNode(toDisplayString((_b2 = (_a2 = _ctx.context) == null ? void 0 : _a2.formPlaceholders) == null ? void 0 : _b2.cancel), 1)
17472
+ createTextVNode(toDisplayString((_a2 = formPlaceholders.value) == null ? void 0 : _a2.cancel), 1)
17461
17473
  ];
17462
17474
  }),
17463
17475
  _: 1
@@ -17471,14 +17483,14 @@ const _sfc_main$r = /* @__PURE__ */ defineComponent({
17471
17483
  class: "bglform-contact-label",
17472
17484
  "onUpdate:modelValue": ($event) => bank_account.label = $event,
17473
17485
  type: "text",
17474
- placeholder: (_d = (_c = _ctx.context) == null ? void 0 : _c.formPlaceholders) == null ? void 0 : _d.label
17486
+ placeholder: (_b = formPlaceholders.value) == null ? void 0 : _b.label
17475
17487
  }, null, 8, _hoisted_5$c), [
17476
17488
  [vModelText, bank_account.label]
17477
17489
  ]),
17478
17490
  createElementVNode("div", _hoisted_6$9, [
17479
17491
  withDirectives(createElementVNode("input", {
17480
17492
  "onUpdate:modelValue": ($event) => bank_account.bank_name = $event,
17481
- placeholder: (_f = (_e = _ctx.context) == null ? void 0 : _e.formPlaceholders) == null ? void 0 : _f.bankName,
17493
+ placeholder: (_c = formPlaceholders.value) == null ? void 0 : _c.bankName,
17482
17494
  type: "text",
17483
17495
  required: ""
17484
17496
  }, null, 8, _hoisted_7$5), [
@@ -17487,7 +17499,7 @@ const _sfc_main$r = /* @__PURE__ */ defineComponent({
17487
17499
  createElementVNode("div", _hoisted_8$2, [
17488
17500
  withDirectives(createElementVNode("input", {
17489
17501
  "onUpdate:modelValue": ($event) => bank_account.branch = $event,
17490
- placeholder: (_h = (_g = _ctx.context) == null ? void 0 : _g.formPlaceholders) == null ? void 0 : _h.bankBranch,
17502
+ placeholder: (_d = formPlaceholders.value) == null ? void 0 : _d.bankBranch,
17491
17503
  type: "text",
17492
17504
  required: ""
17493
17505
  }, null, 8, _hoisted_9$2), [
@@ -17495,7 +17507,7 @@ const _sfc_main$r = /* @__PURE__ */ defineComponent({
17495
17507
  ]),
17496
17508
  withDirectives(createElementVNode("input", {
17497
17509
  "onUpdate:modelValue": ($event) => bank_account.account_number = $event,
17498
- placeholder: (_j = (_i = _ctx.context) == null ? void 0 : _i.formPlaceholders) == null ? void 0 : _j.bankAccount,
17510
+ placeholder: (_e = formPlaceholders.value) == null ? void 0 : _e.bankAccount,
17499
17511
  type: "text",
17500
17512
  required: ""
17501
17513
  }, null, 8, _hoisted_10$1), [
@@ -17505,7 +17517,7 @@ const _sfc_main$r = /* @__PURE__ */ defineComponent({
17505
17517
  createElementVNode("div", _hoisted_11, [
17506
17518
  withDirectives(createElementVNode("input", {
17507
17519
  "onUpdate:modelValue": ($event) => bank_account.bank_account_holder = $event,
17508
- placeholder: (_l = (_k = _ctx.context) == null ? void 0 : _k.formPlaceholders) == null ? void 0 : _l.bankAccountHolder,
17520
+ placeholder: (_f = formPlaceholders.value) == null ? void 0 : _f.bankAccountHolder,
17509
17521
  type: "text",
17510
17522
  required: ""
17511
17523
  }, null, 8, _hoisted_12), [
@@ -17513,7 +17525,7 @@ const _sfc_main$r = /* @__PURE__ */ defineComponent({
17513
17525
  ]),
17514
17526
  withDirectives(createElementVNode("input", {
17515
17527
  "onUpdate:modelValue": ($event) => bank_account.bank_account_holder_id = $event,
17516
- placeholder: (_n = (_m = _ctx.context) == null ? void 0 : _m.formPlaceholders) == null ? void 0 : _n.bankAccountHolderID,
17528
+ placeholder: (_g = formPlaceholders.value) == null ? void 0 : _g.bankAccountHolderID,
17517
17529
  type: "text"
17518
17530
  }, null, 8, _hoisted_13), [
17519
17531
  [vModelText, bank_account.bank_account_holder_id]
@@ -17534,7 +17546,7 @@ const _sfc_main$r = /* @__PURE__ */ defineComponent({
17534
17546
  ]),
17535
17547
  withDirectives(createElementVNode("input", {
17536
17548
  "onUpdate:modelValue": ($event) => bank_account.bank_address = $event,
17537
- placeholder: (_p = (_o = _ctx.context) == null ? void 0 : _o.formPlaceholders) == null ? void 0 : _p.bankAddress,
17549
+ placeholder: (_h = formPlaceholders.value) == null ? void 0 : _h.bankAddress,
17538
17550
  type: "text"
17539
17551
  }, null, 8, _hoisted_16), [
17540
17552
  [vModelText, bank_account.bank_address]
@@ -17559,9 +17571,9 @@ const _sfc_main$r = /* @__PURE__ */ defineComponent({
17559
17571
  onClick: _cache[1] || (_cache[1] = ($event) => unref(val).push({}))
17560
17572
  }, {
17561
17573
  default: withCtx(() => {
17562
- var _a, _b, _c;
17574
+ var _a, _b;
17563
17575
  return [
17564
- createTextVNode(toDisplayString((_b = (_a = _ctx.context) == null ? void 0 : _a.formPlaceholders) == null ? void 0 : _b.add) + " " + toDisplayString((_c = _ctx.context) == null ? void 0 : _c.label), 1)
17576
+ createTextVNode(toDisplayString((_a = formPlaceholders.value) == null ? void 0 : _a.add) + " " + toDisplayString((_b = _ctx.context) == null ? void 0 : _b.label), 1)
17565
17577
  ];
17566
17578
  }),
17567
17579
  _: 1
@@ -17571,7 +17583,7 @@ const _sfc_main$r = /* @__PURE__ */ defineComponent({
17571
17583
  };
17572
17584
  }
17573
17585
  });
17574
- const BankDetailsArray = /* @__PURE__ */ _export_sfc(_sfc_main$r, [["__scopeId", "data-v-60b0c498"]]);
17586
+ const BankDetailsArray = /* @__PURE__ */ _export_sfc(_sfc_main$r, [["__scopeId", "data-v-0928eb22"]]);
17575
17587
  const _hoisted_1$z = { class: "misc-wrap" };
17576
17588
  const _sfc_main$q = /* @__PURE__ */ defineComponent({
17577
17589
  __name: "MiscFields",
@@ -28321,9 +28333,10 @@ const _hoisted_7 = { class: "whatsapp-footer" };
28321
28333
  const _sfc_main = /* @__PURE__ */ defineComponent({
28322
28334
  __name: "MsgTemplate",
28323
28335
  props: {
28324
- whatsappTemplateSchema: { type: Function },
28336
+ whatsappTemplateSchema: {},
28325
28337
  router: {},
28326
- route: {}
28338
+ route: {},
28339
+ previewLabel: { default: "Preview" }
28327
28340
  },
28328
28341
  setup(__props) {
28329
28342
  const props2 = __props;
@@ -28436,7 +28449,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
28436
28449
  createElementVNode("div", {
28437
28450
  class: normalizeClass(["whatsapp-preview", { whatsappHebrew: ((_a = unref(localWhatsappData)) == null ? void 0 : _a.language) === "he" }])
28438
28451
  }, [
28439
- createTextVNode(" Preview "),
28452
+ createTextVNode(toDisplayString(_ctx.previewLabel) + " ", 1),
28440
28453
  createElementVNode("div", _hoisted_5, [
28441
28454
  createElementVNode("b", null, toDisplayString((_c = (_b = unref(localWhatsappData)) == null ? void 0 : _b.headerText) == null ? void 0 : _c.replace(regex2, replaceHeader)), 1),
28442
28455
  createElementVNode("p", _hoisted_6, toDisplayString((_e = (_d = unref(localWhatsappData)) == null ? void 0 : _d.bodyText) == null ? void 0 : _e.replace(regex2, replaceBody)), 1),
@@ -28449,7 +28462,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
28449
28462
  };
28450
28463
  }
28451
28464
  });
28452
- const MsgTemplate = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-b1fdb496"]]);
28465
+ const MsgTemplate = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-7031e613"]]);
28453
28466
  export {
28454
28467
  AddressInput,
28455
28468
  BagelVue,
package/dist/style.css CHANGED
@@ -1159,34 +1159,34 @@ th[data-v-fa7146ce] {
1159
1159
  border: none;
1160
1160
  }
1161
1161
 
1162
- .bglform-contact[data-v-33e63930] {
1162
+ .bglform-contact[data-v-0533667e] {
1163
1163
  display: flex;
1164
1164
  align-items: center;
1165
1165
  gap: 0.5rem;
1166
1166
  max-width: 700px;
1167
1167
  position: relative;
1168
1168
  }
1169
- .bglform-contact-label[data-v-33e63930] {
1169
+ .bglform-contact-label[data-v-0533667e] {
1170
1170
  flex-basis: 140px;
1171
1171
  }
1172
- .bglform-contact input[type='checkbox'][data-v-33e63930] {
1172
+ .bglform-contact input[type='checkbox'][data-v-0533667e] {
1173
1173
  width: 30px;
1174
1174
  min-width: 0;
1175
1175
  }
1176
- .light.thin.btn-txt.btn[data-v-33e63930] {
1176
+ .light.thin.btn-txt.btn[data-v-0533667e] {
1177
1177
  padding-left: calc(var(--btn-padding) / 4);
1178
1178
  padding-right: calc(var(--btn-padding) / 4);
1179
1179
  }
1180
- .add-btn[data-v-33e63930] {
1180
+ .add-btn[data-v-0533667e] {
1181
1181
  display: flex;
1182
1182
  gap: 0.5rem;
1183
1183
  align-items: center;
1184
1184
  margin-inline-start: 1rem;
1185
1185
  }
1186
- .add-btn[data-v-33e63930]:active {
1186
+ .add-btn[data-v-0533667e]:active {
1187
1187
  background: none !important;
1188
1188
  }
1189
- .add-btn[data-v-33e63930]::before {
1189
+ .add-btn[data-v-0533667e]::before {
1190
1190
  content: '+';
1191
1191
  font-size: 10px;
1192
1192
  background: var(--bgl-blue-light);
@@ -1198,12 +1198,12 @@ th[data-v-fa7146ce] {
1198
1198
  justify-content: center;
1199
1199
  color: var(--bgl-blue);
1200
1200
  }
1201
- .add-btn[data-v-33e63930]:hover::before {
1201
+ .add-btn[data-v-0533667e]:hover::before {
1202
1202
  background: var(--bgl-blue);
1203
1203
  color: var(--bgl-white);
1204
1204
  }
1205
1205
  @media screen and (max-width: 910px) {
1206
- .bglform-contact-label[data-v-33e63930] {
1206
+ .bglform-contact-label[data-v-0533667e] {
1207
1207
  min-width: 0;
1208
1208
  }
1209
1209
  }
@@ -1220,45 +1220,45 @@ th[data-v-fa7146ce] {
1220
1220
  backdrop-filter: blur(1px);
1221
1221
  }
1222
1222
 
1223
- .bglform-contact[data-v-0b835e6e] {
1223
+ .bglform-contact[data-v-98a4f943] {
1224
1224
  display: flex;
1225
1225
  gap: 0.5rem;
1226
1226
  max-width: 700px;
1227
1227
  position: relative;
1228
1228
  }
1229
- .bglform-contact-label[data-v-0b835e6e] {
1229
+ .bglform-contact-label[data-v-98a4f943] {
1230
1230
  flex-basis: 140px;
1231
1231
  }
1232
- .bglform-contact-address[data-v-0b835e6e] {
1232
+ .bglform-contact-address[data-v-98a4f943] {
1233
1233
  display: flex;
1234
1234
  flex-direction: column;
1235
1235
  gap: 0.5rem;
1236
1236
  }
1237
- .bglform-contact input[type='checkbox'][data-v-0b835e6e] {
1237
+ .bglform-contact input[type='checkbox'][data-v-98a4f943] {
1238
1238
  width: 30px;
1239
1239
  min-width: 0;
1240
1240
  }
1241
- .light.thin.btn-txt.btn[data-v-0b835e6e] {
1241
+ .light.thin.btn-txt.btn[data-v-98a4f943] {
1242
1242
  padding-left: calc(var(--btn-padding) / 4);
1243
1243
  padding-right: calc(var(--btn-padding) / 4);
1244
1244
  }
1245
- .bglform-address-del[data-v-0b835e6e] {
1245
+ .bglform-address-del[data-v-98a4f943] {
1246
1246
  margin-top: 6px;
1247
1247
  }
1248
- .bglform-contact-address-flex[data-v-0b835e6e] {
1248
+ .bglform-contact-address-flex[data-v-98a4f943] {
1249
1249
  display: flex;
1250
1250
  gap: 0.5rem;
1251
1251
  }
1252
- .add-btn[data-v-0b835e6e] {
1252
+ .add-btn[data-v-98a4f943] {
1253
1253
  display: flex;
1254
1254
  gap: 0.5rem;
1255
1255
  align-items: center;
1256
1256
  margin-inline-start: 1rem;
1257
1257
  }
1258
- .add-btn[data-v-0b835e6e]:active {
1258
+ .add-btn[data-v-98a4f943]:active {
1259
1259
  background: none !important;
1260
1260
  }
1261
- .add-btn[data-v-0b835e6e]::before {
1261
+ .add-btn[data-v-98a4f943]::before {
1262
1262
  content: '+';
1263
1263
  font-size: 10px;
1264
1264
  background: var(--bgl-blue-light);
@@ -1270,15 +1270,15 @@ th[data-v-fa7146ce] {
1270
1270
  justify-content: center;
1271
1271
  color: var(--bgl-blue);
1272
1272
  }
1273
- .add-btn[data-v-0b835e6e]:hover::before {
1273
+ .add-btn[data-v-98a4f943]:hover::before {
1274
1274
  background: var(--bgl-blue);
1275
1275
  color: var(--bgl-white);
1276
1276
  }
1277
1277
  @media screen and (max-width: 910px) {
1278
- .bglform-contact-address-flex[data-v-0b835e6e] {
1278
+ .bglform-contact-address-flex[data-v-98a4f943] {
1279
1279
  flex-wrap: wrap;
1280
1280
  }
1281
- .bglform-contact-label[data-v-0b835e6e] {
1281
+ .bglform-contact-label[data-v-98a4f943] {
1282
1282
  min-width: 0;
1283
1283
  }
1284
1284
  }
@@ -1295,45 +1295,45 @@ th[data-v-fa7146ce] {
1295
1295
  backdrop-filter: blur(1px);
1296
1296
  }
1297
1297
 
1298
- .bglform-contact[data-v-60b0c498] {
1298
+ .bglform-contact[data-v-0928eb22] {
1299
1299
  display: flex;
1300
1300
  gap: 0.5rem;
1301
1301
  max-width: 700px;
1302
1302
  position: relative;
1303
1303
  }
1304
- .bglform-contact-label[data-v-60b0c498] {
1304
+ .bglform-contact-label[data-v-0928eb22] {
1305
1305
  flex-basis: 140px;
1306
1306
  }
1307
- .bglform-contact-address[data-v-60b0c498] {
1307
+ .bglform-contact-address[data-v-0928eb22] {
1308
1308
  display: flex;
1309
1309
  flex-direction: column;
1310
1310
  gap: 0.5rem;
1311
1311
  }
1312
- .bglform-contact input[type='checkbox'][data-v-60b0c498] {
1312
+ .bglform-contact input[type='checkbox'][data-v-0928eb22] {
1313
1313
  width: 30px;
1314
1314
  min-width: 0;
1315
1315
  }
1316
- .light.thin.btn-txt.btn[data-v-60b0c498] {
1316
+ .light.thin.btn-txt.btn[data-v-0928eb22] {
1317
1317
  padding-left: calc(var(--btn-padding) / 4);
1318
1318
  padding-right: calc(var(--btn-padding) / 4);
1319
1319
  }
1320
- .bglform-address-del[data-v-60b0c498] {
1320
+ .bglform-address-del[data-v-0928eb22] {
1321
1321
  margin-top: 6px;
1322
1322
  }
1323
- .bglform-contact-address-flex[data-v-60b0c498] {
1323
+ .bglform-contact-address-flex[data-v-0928eb22] {
1324
1324
  display: flex;
1325
1325
  gap: 0.5rem;
1326
1326
  }
1327
- .add-btn[data-v-60b0c498] {
1327
+ .add-btn[data-v-0928eb22] {
1328
1328
  display: flex;
1329
1329
  gap: 0.5rem;
1330
1330
  align-items: center;
1331
1331
  margin-inline-start: 1rem;
1332
1332
  }
1333
- .add-btn[data-v-60b0c498]:active {
1333
+ .add-btn[data-v-0928eb22]:active {
1334
1334
  background: none !important;
1335
1335
  }
1336
- .add-btn[data-v-60b0c498]::before {
1336
+ .add-btn[data-v-0928eb22]::before {
1337
1337
  content: '+';
1338
1338
  font-size: 10px;
1339
1339
  background: var(--bgl-blue-light);
@@ -1345,15 +1345,15 @@ th[data-v-fa7146ce] {
1345
1345
  justify-content: center;
1346
1346
  color: var(--bgl-blue);
1347
1347
  }
1348
- .add-btn[data-v-60b0c498]:hover::before {
1348
+ .add-btn[data-v-0928eb22]:hover::before {
1349
1349
  background: var(--bgl-blue);
1350
1350
  color: var(--bgl-white);
1351
1351
  }
1352
1352
  @media screen and (max-width: 910px) {
1353
- .bglform-contact-address-flex[data-v-60b0c498] {
1353
+ .bglform-contact-address-flex[data-v-0928eb22] {
1354
1354
  flex-wrap: wrap;
1355
1355
  }
1356
- .bglform-contact-label[data-v-60b0c498] {
1356
+ .bglform-contact-label[data-v-0928eb22] {
1357
1357
  min-width: 0;
1358
1358
  }
1359
1359
  }
@@ -2225,10 +2225,10 @@ input[type='email'][data-v-ed81a514] {
2225
2225
  }
2226
2226
  }
2227
2227
 
2228
- .btn-end[data-v-b1fdb496] {
2228
+ .btn-end[data-v-7031e613] {
2229
2229
  text-align: end;
2230
2230
  }
2231
- .whatsapp-preview[data-v-b1fdb496] {
2231
+ .whatsapp-preview[data-v-7031e613] {
2232
2232
  direction: ltr;
2233
2233
  width: 400px;
2234
2234
  padding: 1rem;
@@ -2240,18 +2240,18 @@ input[type='email'][data-v-ed81a514] {
2240
2240
  top: 15px;
2241
2241
  flex: 1 1 40%;
2242
2242
  }
2243
- .whatsapp-wrap[data-v-b1fdb496] {
2243
+ .whatsapp-wrap[data-v-7031e613] {
2244
2244
  display: flex;
2245
2245
  gap: 1rem;
2246
2246
  max-width: 1200px;
2247
2247
  overflow: auto;
2248
2248
  height: 100%;
2249
2249
  }
2250
- .create-template-form[data-v-b1fdb496] {
2250
+ .create-template-form[data-v-7031e613] {
2251
2251
  flex: 1 0 50%;
2252
2252
  min-width: 300px;
2253
2253
  }
2254
- .whatsapp-msg[data-v-b1fdb496] {
2254
+ .whatsapp-msg[data-v-7031e613] {
2255
2255
  background: var(--whatsapp-green);
2256
2256
  border-radius: 0.5rem;
2257
2257
  border-start-start-radius: 0px;
@@ -2262,7 +2262,7 @@ input[type='email'][data-v-ed81a514] {
2262
2262
  position: relative;
2263
2263
  min-height: 30px;
2264
2264
  }
2265
- .whatsapp-msg[data-v-b1fdb496]::after {
2265
+ .whatsapp-msg[data-v-7031e613]::after {
2266
2266
  content: '';
2267
2267
  inset-inline-start: -5px;
2268
2268
  border-radius: 0.1rem;
@@ -2273,27 +2273,27 @@ input[type='email'][data-v-ed81a514] {
2273
2273
  background: var(--whatsapp-green);
2274
2274
  position: absolute;
2275
2275
  }
2276
- .whatsapp-body[data-v-b1fdb496] {
2276
+ .whatsapp-body[data-v-7031e613] {
2277
2277
  margin: 2px 0;
2278
2278
  }
2279
- .whatsapp-footer[data-v-b1fdb496] {
2279
+ .whatsapp-footer[data-v-7031e613] {
2280
2280
  margin: 0;
2281
2281
  opacity: 0.6;
2282
2282
  font-size: 0.8rem;
2283
2283
  }
2284
- .whatsappHebrew[data-v-b1fdb496] {
2284
+ .whatsappHebrew[data-v-7031e613] {
2285
2285
  direction: rtl;
2286
2286
  }
2287
- .whatsappHebrew .whatsapp-msg[data-v-b1fdb496]::after {
2287
+ .whatsappHebrew .whatsapp-msg[data-v-7031e613]::after {
2288
2288
  transform: skew(-45deg);
2289
2289
  }
2290
2290
  @media screen and (max-width: 1200px) {
2291
- .whatsapp-preview[data-v-b1fdb496] {
2291
+ .whatsapp-preview[data-v-7031e613] {
2292
2292
  width: 300px;
2293
2293
  }
2294
2294
  }
2295
2295
  @media screen and (max-width: 910px) {
2296
- .whatsapp-preview[data-v-b1fdb496] {
2296
+ .whatsapp-preview[data-v-7031e613] {
2297
2297
  display: none;
2298
2298
  }
2299
2299
  }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@bagelink/vue",
3
3
  "type": "module",
4
- "version": "0.0.136",
4
+ "version": "0.0.140",
5
5
  "description": "Bagel core sdk packages",
6
6
  "author": {
7
7
  "name": "Neveh Allon",