@bagelink/vue 0.0.650 → 0.0.654

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 (31) hide show
  1. package/dist/components/Drop.vue.d.ts +34 -0
  2. package/dist/components/Drop.vue.d.ts.map +1 -0
  3. package/dist/components/FileUploader.vue.d.ts +60 -0
  4. package/dist/components/FileUploader.vue.d.ts.map +1 -0
  5. package/dist/components/form/ItemRef.vue.d.ts +1 -0
  6. package/dist/components/form/ItemRef.vue.d.ts.map +1 -1
  7. package/dist/components/form/inputs/FileUpload.vue.d.ts.map +1 -1
  8. package/dist/components/form/inputs/RadioGroup.vue.d.ts +35 -40
  9. package/dist/components/form/inputs/RadioGroup.vue.d.ts.map +1 -1
  10. package/dist/components/form/inputs/SelectField.vue.d.ts +1 -4
  11. package/dist/components/form/inputs/SelectField.vue.d.ts.map +1 -1
  12. package/dist/components/form/inputs/SignaturePad.vue.d.ts.map +1 -1
  13. package/dist/index.cjs +41 -36
  14. package/dist/index.mjs +41 -36
  15. package/dist/plugins/modal.d.ts +1 -1
  16. package/dist/plugins/modal.d.ts.map +1 -1
  17. package/dist/style.css +19 -19
  18. package/dist/types/index.d.ts +1 -1
  19. package/dist/types/index.d.ts.map +1 -1
  20. package/package.json +3 -3
  21. package/src/components/form/inputs/FileUpload.vue +2 -2
  22. package/src/components/form/inputs/FileUploadURL.vue +2 -2
  23. package/src/components/form/inputs/RadioGroup.vue +15 -5
  24. package/src/components/form/inputs/SignaturePad.vue +1 -0
  25. package/src/components/formkit/FileUploader.vue +2 -2
  26. package/src/plugins/modal.ts +1 -1
  27. package/src/types/index.ts +1 -1
  28. package/dist/components/Popover.vue.d.ts +0 -10
  29. package/dist/components/Popover.vue.d.ts.map +0 -1
  30. package/dist/types/materialIcon.d.ts +0 -2
  31. package/dist/types/materialIcon.d.ts.map +0 -1
package/dist/index.mjs CHANGED
@@ -5453,7 +5453,7 @@ const _hoisted_1$K = { class: "full-nav" };
5453
5453
  const _hoisted_2$A = { class: "nav-scroll" };
5454
5454
  const _hoisted_3$o = { class: "nav-links-wrapper" };
5455
5455
  const _hoisted_4$g = { class: "tooltip" };
5456
- const _hoisted_5$e = { class: "bot-buttons-wrapper" };
5456
+ const _hoisted_5$f = { class: "bot-buttons-wrapper" };
5457
5457
  const _hoisted_6$9 = { class: "tooltip" };
5458
5458
  const _sfc_main$O = /* @__PURE__ */ defineComponent({
5459
5459
  __name: "NavBar",
@@ -5509,7 +5509,7 @@ const _sfc_main$O = /* @__PURE__ */ defineComponent({
5509
5509
  }), 128))
5510
5510
  ])
5511
5511
  ]),
5512
- createElementVNode("div", _hoisted_5$e, [
5512
+ createElementVNode("div", _hoisted_5$f, [
5513
5513
  (openBlock(true), createElementBlock(Fragment$1, null, renderList(_ctx.footerLinks, (link) => {
5514
5514
  return openBlock(), createBlock(resolveDynamicComponent(link.to ? "router-link" : "div"), {
5515
5515
  key: link.label,
@@ -6372,7 +6372,7 @@ const _hoisted_3$k = [
6372
6372
  _hoisted_2$t
6373
6373
  ];
6374
6374
  const _hoisted_4$e = { class: "infinite-wrapper" };
6375
- const _hoisted_5$d = { class: "row first-row" };
6375
+ const _hoisted_5$e = { class: "row first-row" };
6376
6376
  const _hoisted_6$8 = { key: 0 };
6377
6377
  const _hoisted_7$4 = ["onClick"];
6378
6378
  const _hoisted_8$2 = { class: "flex" };
@@ -6521,7 +6521,7 @@ const _sfc_main$G = /* @__PURE__ */ defineComponent({
6521
6521
  }), [
6522
6522
  loading.value ? (openBlock(), createElementBlock("div", _hoisted_1$D, _hoisted_3$k)) : (openBlock(), createElementBlock("div", normalizeProps(mergeProps({ key: 1 }, unref(wrapperProps))), [
6523
6523
  createElementVNode("table", _hoisted_4$e, [
6524
- createElementVNode("thead", _hoisted_5$d, [
6524
+ createElementVNode("thead", _hoisted_5$e, [
6525
6525
  unref(isSelectable) ? (openBlock(), createElementBlock("th", _hoisted_6$8, [
6526
6526
  createElementVNode("input", {
6527
6527
  ref_key: "allSelector",
@@ -6643,7 +6643,7 @@ const _hoisted_2$s = {
6643
6643
  };
6644
6644
  const _hoisted_3$j = { class: "key" };
6645
6645
  const _hoisted_4$d = { class: "m-0" };
6646
- const _hoisted_5$c = { key: 1 };
6646
+ const _hoisted_5$d = { key: 1 };
6647
6647
  const _hoisted_6$7 = {
6648
6648
  key: 0,
6649
6649
  class: "data-row"
@@ -6713,7 +6713,7 @@ const _sfc_main$D = /* @__PURE__ */ defineComponent({
6713
6713
  ])) : createCommentVNode("", true)
6714
6714
  ], 64);
6715
6715
  }), 128)),
6716
- !((_a2 = _ctx.schema) == null ? void 0 : _a2.length) ? (openBlock(), createElementBlock("div", _hoisted_5$c, [
6716
+ !((_a2 = _ctx.schema) == null ? void 0 : _a2.length) ? (openBlock(), createElementBlock("div", _hoisted_5$d, [
6717
6717
  (openBlock(true), createElementBlock(Fragment$1, null, renderList(computedSchema.value, ({ id, label }) => {
6718
6718
  return openBlock(), createElementBlock(Fragment$1, { key: id }, [
6719
6719
  !isUnset(itemData.value[id]) ? (openBlock(), createElementBlock("div", _hoisted_6$7, [
@@ -16065,7 +16065,7 @@ const _hoisted_4$c = {
16065
16065
  key: 2,
16066
16066
  class: "ms-auto ps-05 me-05"
16067
16067
  };
16068
- const _hoisted_5$b = ["value"];
16068
+ const _hoisted_5$c = ["value"];
16069
16069
  const _hoisted_6$6 = { class: "selectinput-options" };
16070
16070
  const _hoisted_7$2 = ["onClick"];
16071
16071
  const _sfc_main$m = /* @__PURE__ */ defineComponent({
@@ -16296,7 +16296,7 @@ const _sfc_main$m = /* @__PURE__ */ defineComponent({
16296
16296
  value: unref(selectedItems),
16297
16297
  required: "",
16298
16298
  onInput: _cache[2] || (_cache[2] = ($event) => updateOpen(true))
16299
- }, null, 40, _hoisted_5$b)) : createCommentVNode("", true)
16299
+ }, null, 40, _hoisted_5$c)) : createCommentVNode("", true)
16300
16300
  ])
16301
16301
  ])
16302
16302
  ]),
@@ -18789,7 +18789,7 @@ const _hoisted_1$q = ["title"];
18789
18789
  const _hoisted_2$k = { class: "bagel-input" };
18790
18790
  const _hoisted_3$f = { class: "table-side-scroll" };
18791
18791
  const _hoisted_4$b = { class: "table-header" };
18792
- const _hoisted_5$a = { class: "table-reorder" };
18792
+ const _hoisted_5$b = { class: "table-reorder" };
18793
18793
  const _hoisted_6$5 = { class: "table-action" };
18794
18794
  const _sfc_main$l = /* @__PURE__ */ defineComponent({
18795
18795
  __name: "TableField",
@@ -18887,7 +18887,7 @@ const _sfc_main$l = /* @__PURE__ */ defineComponent({
18887
18887
  key: row.id,
18888
18888
  class: "flex table-row"
18889
18889
  }, [
18890
- createElementVNode("div", _hoisted_5$a, [
18890
+ createElementVNode("div", _hoisted_5$b, [
18891
18891
  createVNode(unref(_sfc_main$P), { icon: "more_vert" })
18892
18892
  ]),
18893
18893
  (openBlock(true), createElementBlock(Fragment$1, null, renderList((_a3 = unref(entityMeta)) == null ? void 0 : _a3.fields, (field) => {
@@ -18940,7 +18940,7 @@ const _hoisted_1$p = ["title"];
18940
18940
  const _hoisted_2$j = ["for"];
18941
18941
  const _hoisted_3$e = ["id", "title", "autocomplete", "type", "placeholder", "disabled", "required", "pattern"];
18942
18942
  const _hoisted_4$a = ["id", "title", "type", "rows", "placeholder", "disabled", "required", "pattern"];
18943
- const _hoisted_5$9 = { key: 2 };
18943
+ const _hoisted_5$a = { key: 2 };
18944
18944
  const _sfc_main$k = /* @__PURE__ */ defineComponent({
18945
18945
  __name: "TextInput",
18946
18946
  props: {
@@ -19056,7 +19056,7 @@ const _sfc_main$k = /* @__PURE__ */ defineComponent({
19056
19056
  }, _ctx.nativeInputAttrs, { onInput: updateInputVal }), null, 16, _hoisted_4$a)), [
19057
19057
  [vModelText, unref(inputVal)]
19058
19058
  ]),
19059
- _ctx.helptext ? (openBlock(), createElementBlock("p", _hoisted_5$9, toDisplayString(_ctx.helptext), 1)) : createCommentVNode("", true)
19059
+ _ctx.helptext ? (openBlock(), createElementBlock("p", _hoisted_5$a, toDisplayString(_ctx.helptext), 1)) : createCommentVNode("", true)
19060
19060
  ], 8, _hoisted_2$j),
19061
19061
  _ctx.iconStart ? (openBlock(), createBlock(unref(_sfc_main$P), {
19062
19062
  key: 0,
@@ -19151,7 +19151,7 @@ const _hoisted_3$d = {
19151
19151
  class: "time-wrap"
19152
19152
  };
19153
19153
  const _hoisted_4$9 = ["id", "name", "value"];
19154
- const _hoisted_5$8 = ["for"];
19154
+ const _hoisted_5$9 = ["for"];
19155
19155
  const _sfc_main$h = /* @__PURE__ */ defineComponent({
19156
19156
  __name: "DatePicker",
19157
19157
  props: {
@@ -19214,7 +19214,7 @@ const _sfc_main$h = /* @__PURE__ */ defineComponent({
19214
19214
  ]),
19215
19215
  createElementVNode("label", {
19216
19216
  for: `${hr2}_${_ctx.id}`
19217
- }, toDisplayString(hr2), 9, _hoisted_5$8)
19217
+ }, toDisplayString(hr2), 9, _hoisted_5$9)
19218
19218
  ], 64);
19219
19219
  }), 128))
19220
19220
  ])) : createCommentVNode("", true)
@@ -19226,7 +19226,7 @@ const _hoisted_1$l = { class: "bagel-input" };
19226
19226
  const _hoisted_2$g = { class: "pb-025" };
19227
19227
  const _hoisted_3$c = { class: "flex gap-05 flex-wrap" };
19228
19228
  const _hoisted_4$8 = ["id", "name", "value", "checked"];
19229
- const _hoisted_5$7 = ["for"];
19229
+ const _hoisted_5$8 = ["for"];
19230
19230
  const _sfc_main$g = /* @__PURE__ */ defineComponent({
19231
19231
  __name: "RadioPillsInput",
19232
19232
  props: {
@@ -19286,7 +19286,7 @@ const _sfc_main$g = /* @__PURE__ */ defineComponent({
19286
19286
  }, null, 40, _hoisted_4$8),
19287
19287
  createElementVNode("label", {
19288
19288
  for: `${_ctx.id}-${getValue(option2)}`
19289
- }, toDisplayString(getLabel(option2)), 9, _hoisted_5$7)
19289
+ }, toDisplayString(getLabel(option2)), 9, _hoisted_5$8)
19290
19290
  ]);
19291
19291
  }), 128))
19292
19292
  ])
@@ -19295,7 +19295,7 @@ const _sfc_main$g = /* @__PURE__ */ defineComponent({
19295
19295
  }
19296
19296
  });
19297
19297
  const RadioPillsInput = /* @__PURE__ */ _export_sfc(_sfc_main$g, [["__scopeId", "data-v-d86ce838"]]);
19298
- const _withScopeId$2 = (n2) => (pushScopeId("data-v-e74abda1"), n2 = n2(), popScopeId(), n2);
19298
+ const _withScopeId$2 = (n2) => (pushScopeId("data-v-21c953c3"), n2 = n2(), popScopeId(), n2);
19299
19299
  const _hoisted_1$k = { class: "bagel-input" };
19300
19300
  const _hoisted_2$f = {
19301
19301
  key: 0,
@@ -19306,7 +19306,7 @@ const _hoisted_4$7 = {
19306
19306
  key: 1,
19307
19307
  class: "multi-image-item previewName"
19308
19308
  };
19309
- const _hoisted_5$6 = ["src"];
19309
+ const _hoisted_5$7 = ["src"];
19310
19310
  const _hoisted_6$4 = { class: "no-margin" };
19311
19311
  const _hoisted_7$1 = {
19312
19312
  key: 0,
@@ -19483,7 +19483,7 @@ const _sfc_main$f = /* @__PURE__ */ defineComponent({
19483
19483
  class: "preview",
19484
19484
  src: file.url,
19485
19485
  alt: ""
19486
- }, null, 8, _hoisted_5$6),
19486
+ }, null, 8, _hoisted_5$7),
19487
19487
  createElementVNode("p", _hoisted_6$4, toDisplayString(file.name), 1),
19488
19488
  createVNode(unref(Btn), {
19489
19489
  thin: "",
@@ -19542,7 +19542,7 @@ const _sfc_main$f = /* @__PURE__ */ defineComponent({
19542
19542
  };
19543
19543
  }
19544
19544
  });
19545
- const $el = /* @__PURE__ */ _export_sfc(_sfc_main$f, [["__scopeId", "data-v-e74abda1"]]);
19545
+ const $el = /* @__PURE__ */ _export_sfc(_sfc_main$f, [["__scopeId", "data-v-21c953c3"]]);
19546
19546
  const _withScopeId$1 = (n2) => (pushScopeId("data-v-06b95183"), n2 = n2(), popScopeId(), n2);
19547
19547
  const _hoisted_1$j = ["title"];
19548
19548
  const _hoisted_2$e = /* @__PURE__ */ _withScopeId$1(() => /* @__PURE__ */ createElementVNode("span", { class: "slider round" }, null, -1));
@@ -19550,7 +19550,7 @@ const _hoisted_3$a = [
19550
19550
  _hoisted_2$e
19551
19551
  ];
19552
19552
  const _hoisted_4$6 = ["id", "required"];
19553
- const _hoisted_5$5 = ["for"];
19553
+ const _hoisted_5$6 = ["for"];
19554
19554
  const _sfc_main$e = /* @__PURE__ */ defineComponent({
19555
19555
  __name: "ToggleInput",
19556
19556
  props: /* @__PURE__ */ mergeModels({
@@ -19592,7 +19592,7 @@ const _sfc_main$e = /* @__PURE__ */ defineComponent({
19592
19592
  renderSlot(_ctx.$slots, "label", {}, () => [
19593
19593
  createTextVNode(toDisplayString(_ctx.label), 1)
19594
19594
  ], true)
19595
- ], 8, _hoisted_5$5)
19595
+ ], 8, _hoisted_5$6)
19596
19596
  ], 10, _hoisted_1$j);
19597
19597
  };
19598
19598
  }
@@ -45725,7 +45725,7 @@ const _hoisted_1$h = ["aria-expanded"];
45725
45725
  const _hoisted_2$c = { class: "p-075 tel-countryp-dropdown" };
45726
45726
  const _hoisted_3$9 = ["aria-selected", "onClick", "onMousemove"];
45727
45727
  const _hoisted_4$5 = { class: "tel-country" };
45728
- const _hoisted_5$4 = { key: 1 };
45728
+ const _hoisted_5$5 = { key: 1 };
45729
45729
  const _hoisted_6$3 = ["id", "required", "placeholder", "disabled", "autocomplete", "pattern", "minlength", "maxlength", "name", "readonly", "tabindex", "aria-describedby"];
45730
45730
  const _sfc_main$c = /* @__PURE__ */ defineComponent({
45731
45731
  __name: "TelInput",
@@ -46017,7 +46017,7 @@ const _sfc_main$c = /* @__PURE__ */ defineComponent({
46017
46017
  country: pb.iso2
46018
46018
  }, null, 8, ["country"])) : createCommentVNode("", true),
46019
46019
  createElementVNode("p", _hoisted_4$5, toDisplayString(pb.name), 1),
46020
- computedDropDownOptions.value.showDialCodeInList ? (openBlock(), createElementBlock("span", _hoisted_5$4, " +" + toDisplayString(pb.dialCode), 1)) : createCommentVNode("", true)
46020
+ computedDropDownOptions.value.showDialCodeInList ? (openBlock(), createElementBlock("span", _hoisted_5$5, " +" + toDisplayString(pb.dialCode), 1)) : createCommentVNode("", true)
46021
46021
  ], 40, _hoisted_3$9);
46022
46022
  }), 128))
46023
46023
  ], 2)
@@ -46711,7 +46711,8 @@ const _sfc_main$b = /* @__PURE__ */ defineComponent({
46711
46711
  }
46712
46712
  }
46713
46713
  const defaultOptions2 = ref({
46714
- penColor: "rgb(0, 0, 0)"
46714
+ penColor: "rgb(0, 0, 0)",
46715
+ backgroundColor: "rgb(255, 255, 255)"
46715
46716
  });
46716
46717
  const signatureOptions = computed(() => ({ ...defaultOptions2.value, ...props2.sigOption }));
46717
46718
  watch(
@@ -47220,13 +47221,14 @@ const _sfc_main$9 = /* @__PURE__ */ defineComponent({
47220
47221
  }
47221
47222
  });
47222
47223
  const index = /* @__PURE__ */ _export_sfc(_sfc_main$9, [["__scopeId", "data-v-e3cd444d"]]);
47223
- const _hoisted_1$d = ["name", "value"];
47224
- const _hoisted_2$a = ["src", "alt"];
47225
- const _hoisted_3$8 = {
47224
+ const _hoisted_1$d = ["for"];
47225
+ const _hoisted_2$a = ["id", "name", "value"];
47226
+ const _hoisted_3$8 = ["src", "alt"];
47227
+ const _hoisted_4$4 = {
47226
47228
  key: 0,
47227
47229
  class: "m-0"
47228
47230
  };
47229
- const _hoisted_4$4 = {
47231
+ const _hoisted_5$4 = {
47230
47232
  key: 1,
47231
47233
  class: "txt-gray txt-12 m-0"
47232
47234
  };
@@ -47248,15 +47250,17 @@ const _sfc_main$8 = /* @__PURE__ */ defineComponent({
47248
47250
  (openBlock(true), createElementBlock(Fragment$1, null, renderList(_ctx.options, (opt, index2) => {
47249
47251
  return openBlock(), createElementBlock("label", {
47250
47252
  key: index2,
47251
- class: "border round p-1 flex bg-gray-light mb-05 gap-075 active-list-item hover"
47253
+ class: "border round p-1 flex bg-gray-light mb-05 gap-075 active-list-item hover",
47254
+ for: opt.id
47252
47255
  }, [
47253
47256
  withDirectives(createElementVNode("input", {
47257
+ id: opt.id,
47254
47258
  "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => selectedOption.value = $event),
47255
47259
  class: "radio-input-list",
47256
47260
  type: "radio",
47257
47261
  name: _ctx.groupName,
47258
47262
  value: opt.value
47259
- }, null, 8, _hoisted_1$d), [
47263
+ }, null, 8, _hoisted_2$a), [
47260
47264
  [vModelRadio, selectedOption.value]
47261
47265
  ]),
47262
47266
  opt.imgSrc ? (openBlock(), createElementBlock("img", {
@@ -47265,11 +47269,12 @@ const _sfc_main$8 = /* @__PURE__ */ defineComponent({
47265
47269
  width: "60",
47266
47270
  src: opt.imgSrc,
47267
47271
  alt: opt.imgAlt
47268
- }, null, 8, _hoisted_2$a)) : createCommentVNode("", true),
47272
+ }, null, 8, _hoisted_3$8)) : createCommentVNode("", true),
47269
47273
  createElementVNode("div", null, [
47270
- opt.label ? (openBlock(), createElementBlock("p", _hoisted_3$8, toDisplayString(opt.label), 1)) : createCommentVNode("", true),
47271
- opt.subLabel ? (openBlock(), createElementBlock("p", _hoisted_4$4, toDisplayString(opt.subLabel), 1)) : createCommentVNode("", true)
47274
+ opt.label ? (openBlock(), createElementBlock("p", _hoisted_4$4, toDisplayString(opt.label), 1)) : createCommentVNode("", true),
47275
+ opt.subLabel ? (openBlock(), createElementBlock("p", _hoisted_5$4, toDisplayString(opt.subLabel), 1)) : createCommentVNode("", true)
47272
47276
  ]),
47277
+ renderSlot(_ctx.$slots, "radioItem", mergeProps({ ref_for: true }, opt), void 0, true),
47273
47278
  _ctx.deletable ? (openBlock(), createBlock(unref(Btn), {
47274
47279
  key: 1,
47275
47280
  class: "ms-auto",
@@ -47278,13 +47283,13 @@ const _sfc_main$8 = /* @__PURE__ */ defineComponent({
47278
47283
  icon: "delete",
47279
47284
  onClick: ($event) => _ctx.$emit("delete", opt)
47280
47285
  }, null, 8, ["onClick"])) : createCommentVNode("", true)
47281
- ]);
47286
+ ], 8, _hoisted_1$d);
47282
47287
  }), 128))
47283
47288
  ]);
47284
47289
  };
47285
47290
  }
47286
47291
  });
47287
- const RadioGroup = /* @__PURE__ */ _export_sfc(_sfc_main$8, [["__scopeId", "data-v-a921574e"]]);
47292
+ const RadioGroup = /* @__PURE__ */ _export_sfc(_sfc_main$8, [["__scopeId", "data-v-1cf4a0b0"]]);
47288
47293
  function _isPlaceholder(a2) {
47289
47294
  return a2 != null && typeof a2 === "object" && a2["@@functional/placeholder"] === true;
47290
47295
  }
@@ -44,7 +44,7 @@ export interface ModalFormComponentProps {
44
44
  modalOptions: ModalFormOptions;
45
45
  }
46
46
  export interface ModalApi {
47
- showModal: (options: ModalOptions, slots?: Record<string, any>) => void;
47
+ showModal: (options: ModalOptions, slots?: Record<string, any>) => ModalComponentProps | undefined;
48
48
  showModalForm: (options: ModalFormOptions, slots?: Record<string, any>) => ModalFormComponentProps | undefined;
49
49
  hideModal: (index?: number) => void;
50
50
  confirm: (options: ConfirmModalUserOptions) => Promise<boolean>;
@@ -1 +1 @@
1
- {"version":3,"file":"modal.d.ts","sourceRoot":"","sources":["../../src/plugins/modal.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,EAAE,MAAM,KAAK,CAAA;AAC/C,OAAO,KAAK,EAAE,cAAc,EAAE,UAAU,EAAE,MAAM,eAAe,CAAA;AAG/D,MAAM,WAAW,YAAY;IAC5B,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,WAAW,CAAC,EAAE,OAAO,CAAA;IACrB,IAAI,CAAC,EAAE,OAAO,CAAA;IACd,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,OAAO,CAAC,EAAE,UAAU,EAAE,CAAA;IACtB,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,OAAO,CAAC,EAAE,OAAO,CAAA;CACjB;AAED,MAAM,WAAW,gBAAgB;IAChC,MAAM,CAAC,EAAE,OAAO,CAAA;IAChB,OAAO,CAAC,EAAE,MAAM,CAAA;IAChB,SAAS,CAAC,EAAE,OAAO,CAAA;IACnB,OAAO,CAAC,EAAE,MAAM,CAAA;I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,EAAE,GAAG,CAAC,KAAK,mBAAmB,GAAG,SAAS,CAAA;IAClG,aAAa,EAAE,CAAC,OAAO,EAAE,gBAAgB,EAAE,KAAK,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,KAAK,uBAAuB,GAAG,SAAS,CAAA;IAC9G,SAAS,EAAE,CAAC,KAAK,CAAC,EAAE,MAAM,KAAK,IAAI,CAAA;IACnC,OAAO,EAAE,CAAC,OAAO,EAAE,uBAAuB,KAAK,OAAO,CAAC,OAAO,CAAC,CAAA;CAC/D;AAED,eAAO,MAAM,WAAW,EAAE,YAAY,CAAC,QAAQ,CAAmB,CAAA;AAElE,wBAAgB,QAAQ,IAAI,QAAQ,CAInC;AAED,eAAO,MAAM,WAAW,EAAE,MAmDzB,CAAA"}
package/dist/style.css CHANGED
@@ -1716,7 +1716,7 @@ display: block;
1716
1716
  color: var(--bgl-white);
1717
1717
  }
1718
1718
 
1719
- .bagel-input .fileUploadWrap[data-v-e74abda1] {
1719
+ .bagel-input .fileUploadWrap[data-v-21c953c3] {
1720
1720
  --width: 320px;
1721
1721
  outline: 1px solid var(--border-color);
1722
1722
  border-radius: var(--input-border-radius);
@@ -1729,7 +1729,7 @@ display: block;
1729
1729
  overflow-y: auto;
1730
1730
  background: var(--input-bg);
1731
1731
  }
1732
- .previewName[data-v-e74abda1] {
1732
+ .previewName[data-v-21c953c3] {
1733
1733
  padding: 0.5rem;
1734
1734
  text-align: start;
1735
1735
  color: var(--input-color);
@@ -1739,18 +1739,18 @@ display: block;
1739
1739
  align-items: center;
1740
1740
  padding-inline: 14px;
1741
1741
  }
1742
- .previewName p[data-v-e74abda1] {
1742
+ .previewName p[data-v-21c953c3] {
1743
1743
  overflow: hidden;
1744
1744
  text-overflow: ellipsis;
1745
1745
  white-space: nowrap;
1746
1746
  }
1747
- .imagePreviewWrap[data-v-e74abda1] {
1747
+ .imagePreviewWrap[data-v-21c953c3] {
1748
1748
  background: var(--input-bg);
1749
1749
  border-radius: var(--input-border-radius);
1750
1750
  padding: 5px;
1751
1751
  min-height: 90px;
1752
1752
  }
1753
- img.preview[data-v-e74abda1] {
1753
+ img.preview[data-v-21c953c3] {
1754
1754
  /* max-height: calc(var(--width) / 2); */
1755
1755
  /* max-width: calc(var(--width) * 2); */
1756
1756
  width: 40px;
@@ -1760,7 +1760,7 @@ img.preview[data-v-e74abda1] {
1760
1760
  background: var(--bgl-gray-light);
1761
1761
  box-shadow: 0 0 10px #00000012;
1762
1762
  }
1763
- img.preview.single[data-v-e74abda1] {
1763
+ img.preview.single[data-v-21c953c3] {
1764
1764
  max-width: var(--width);
1765
1765
  width: calc(100% - 2.75rem);
1766
1766
  object-fit: contain;
@@ -1768,11 +1768,11 @@ img.preview.single[data-v-e74abda1] {
1768
1768
  max-height: calc(var(--width) / 2);
1769
1769
  margin: 1rem;
1770
1770
  }
1771
- .fileUploadWrap.dragover[data-v-e74abda1],
1772
- .fileUploadWrap[data-v-e74abda1]:hover {
1771
+ .fileUploadWrap.dragover[data-v-21c953c3],
1772
+ .fileUploadWrap[data-v-21c953c3]:hover {
1773
1773
  box-shadow: inset 0 0 10px #00000012;
1774
1774
  }
1775
- .bagel-input .fileUploadWrap.fileDropZone[data-v-e74abda1] {
1775
+ .bagel-input .fileUploadWrap.fileDropZone[data-v-21c953c3] {
1776
1776
  background: var(--input-bg);
1777
1777
  display: flex;
1778
1778
  align-items: center;
@@ -1780,7 +1780,7 @@ img.preview.single[data-v-e74abda1] {
1780
1780
  color: var(--bgl-gray);
1781
1781
  flex-direction: column;
1782
1782
  }
1783
- .pie[data-v-e74abda1] {
1783
+ .pie[data-v-21c953c3] {
1784
1784
  width: 30px;
1785
1785
  height: 30px;
1786
1786
  position: relative;
@@ -1788,7 +1788,7 @@ img.preview.single[data-v-e74abda1] {
1788
1788
  align-items: center;
1789
1789
  justify-content: center;
1790
1790
  }
1791
- .pie[data-v-e74abda1]:before {
1791
+ .pie[data-v-21c953c3]:before {
1792
1792
  content: '';
1793
1793
  position: absolute;
1794
1794
  border-radius: 50%;
@@ -1806,26 +1806,26 @@ img.preview.single[data-v-e74abda1] {
1806
1806
  #000 calc(100% - var(--b))
1807
1807
  );
1808
1808
  }
1809
- .pie .success[data-v-e74abda1] {
1809
+ .pie .success[data-v-21c953c3] {
1810
1810
  transform: scale(0);
1811
1811
  opacity: 0;
1812
1812
  transition: all 0.3s ease-in-out;
1813
1813
  }
1814
- .pie .progress[data-v-e74abda1] {
1814
+ .pie .progress[data-v-21c953c3] {
1815
1815
  position: absolute;
1816
1816
  font-size: 10px;
1817
1817
  }
1818
- .pie.complete .progress[data-v-e74abda1] {
1818
+ .pie.complete .progress[data-v-21c953c3] {
1819
1819
  display: none;
1820
1820
  }
1821
- .pie.complete .success[data-v-e74abda1] {
1821
+ .pie.complete .success[data-v-21c953c3] {
1822
1822
  transform: scale(1.3);
1823
1823
  opacity: 1;
1824
1824
  }
1825
- .pie.complete[data-v-e74abda1]:before {
1825
+ .pie.complete[data-v-21c953c3]:before {
1826
1826
  background: conic-gradient(var(--bgl-green) calc(var(--p) * 1%), #0000 0);
1827
1827
  }
1828
- .pie.complete[data-v-e74abda1] {
1828
+ .pie.complete[data-v-21c953c3] {
1829
1829
  color: var(--bgl-green);
1830
1830
  }
1831
1831
 
@@ -2177,12 +2177,12 @@ input[type="number"][data-v-4c741194] {
2177
2177
  }
2178
2178
  }
2179
2179
 
2180
- .radio-input-list[data-v-a921574e]{
2180
+ .radio-input-list[data-v-1cf4a0b0]{
2181
2181
  width: auto;
2182
2182
  transform: scale(1.4);
2183
2183
  margin-inline-end: 0.6rem;
2184
2184
  }
2185
- .active-list-item[data-v-a921574e]:has(:checked){
2185
+ .active-list-item[data-v-1cf4a0b0]:has(:checked){
2186
2186
  background: var(--bgl-primary-light) !important;
2187
2187
  border-color: var(--bgl-primary) !important;
2188
2188
  accent-color: var(--bgl-primary);
@@ -1,5 +1,5 @@
1
1
  import { MaterialIcons } from './materialIcons';
2
- export type { ModalFormComponentProps, ModalApi, ModalComponentProps, ModalFormOptions, ModalOptions, } from '../plugins/modal';
2
+ export type { ModalComponentProps as ModalFormComponentProps, ModalApi, ModalComponentProps, ModalFormOptions, ModalOptions, } from '../plugins/modal';
3
3
  export type { MaterialIcons };
4
4
  export type { Tables, TableToTypeMapping } from '../../../sdk/src/index.ts';
5
5
  export type { StorageFile } from './file';
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/types/index.ts"],"names":[],"mappings":"AAAA,YAAY,EACX,uBAAuB,EACvB,QAAQ,EACR,mBAAmB,EACnB,gBAAgB,EAChB,YAAY,GACZ,MAAM,kBAAkB,CAAA;AAEzB,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAA;AAEpD,YAAY,EAAE,aAAa,EAAE,CAAA;AAC7B,YAAY,EAAE,MAAM,EAAE,kBAAkB,EAAE,MAAM,eAAe,CAAA;AAC/D,YAAY,EAAE,WAAW,EAAE,MAAM,QAAQ,CAAA;AACzC,YAAY,EAAE,OAAO,EAAE,MAAM,WAAW,CAAA;AAExC,cAAc,cAAc,CAAA;AAC5B,cAAc,aAAa,CAAA;AAE3B,MAAM,MAAM,GAAG,GAAG;IACjB,KAAK,EAAE,MAAM,CAAA;IACb,EAAE,EAAE,MAAM,CAAA;IACV,IAAI,CAAC,EAAE,aAAa,CAAA;CACpB,GAAG,MAAM,CAAA;AAEV,MAAM,MAAM,SAAS,GACpB,OAAO,GACL,OAAO,GACP,KAAK,GACL,MAAM,GACN,YAAY,GACZ,OAAO,GACP,OAAO,GACP,SAAS,GACT,MAAM,CAAA;AAET,MAAM,MAAM,MAAM,GACf,MAAM,GACN,MAAM,GACN,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,GACnB;IAAE,KAAK,EAAE,MAAM,CAAC;IAAC,KAAK,EAAE,MAAM,GAAG,MAAM,CAAA;CAAE,CAAA"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/types/index.ts"],"names":[],"mappings":"AAAA,YAAY,EACX,mBAAmB,IAAI,uBAAuB,EAC9C,QAAQ,EACR,mBAAmB,EACnB,gBAAgB,EAChB,YAAY,GACZ,MAAM,kBAAkB,CAAA;AAEzB,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAA;AAEpD,YAAY,EAAE,aAAa,EAAE,CAAA;AAC7B,YAAY,EAAE,MAAM,EAAE,kBAAkB,EAAE,MAAM,eAAe,CAAA;AAC/D,YAAY,EAAE,WAAW,EAAE,MAAM,QAAQ,CAAA;AACzC,YAAY,EAAE,OAAO,EAAE,MAAM,WAAW,CAAA;AAExC,cAAc,cAAc,CAAA;AAC5B,cAAc,aAAa,CAAA;AAE3B,MAAM,MAAM,GAAG,GAAG;IACjB,KAAK,EAAE,MAAM,CAAA;IACb,EAAE,EAAE,MAAM,CAAA;IACV,IAAI,CAAC,EAAE,aAAa,CAAA;CACpB,GAAG,MAAM,CAAA;AAEV,MAAM,MAAM,SAAS,GACpB,OAAO,GACL,OAAO,GACP,KAAK,GACL,MAAM,GACN,YAAY,GACZ,OAAO,GACP,OAAO,GACP,SAAS,GACT,MAAM,CAAA;AAET,MAAM,MAAM,MAAM,GACf,MAAM,GACN,MAAM,GACN,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,GACnB;IAAE,KAAK,EAAE,MAAM,CAAC;IAAC,KAAK,EAAE,MAAM,GAAG,MAAM,CAAA;CAAE,CAAA"}
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@bagelink/vue",
3
3
  "type": "module",
4
- "version": "0.0.650",
4
+ "version": "0.0.654",
5
5
  "description": "Bagel core sdk packages",
6
6
  "author": {
7
7
  "name": "Neveh Allon",
@@ -52,8 +52,8 @@
52
52
  ],
53
53
  "devDependencies": {
54
54
  "@types/signature_pad": "^2.3.6",
55
- "@vue-macros/reactivity-transform": "^1.0.0",
56
- "vue": "^3.4.34"
55
+ "@vue-macros/reactivity-transform": "^1.0.1",
56
+ "vue": "^3.4.35"
57
57
  },
58
58
  "peerDependencies": {
59
59
  "@bagelink/sdk": "*",
@@ -1,6 +1,6 @@
1
1
  <script setup lang="ts">
2
2
  import { onMounted, watch } from 'vue'
3
- import { Btn, MaterialIcon, type StorageFile, useBagel } from '@bagelink/vue'
3
+ import { Btn, Icon, type StorageFile, useBagel } from '@bagelink/vue'
4
4
 
5
5
  const props = defineProps<{
6
6
  label?: string
@@ -227,7 +227,7 @@ function drop(e: DragEvent) {
227
227
  <span v-if="fileQ.progress < 100" class="progress">
228
228
  {{ `${fileQ.progress.toFixed(0)}` }}
229
229
  </span>
230
- <MaterialIcon class="success" icon="check" />
230
+ <Icon class="success" icon="check" />
231
231
  </div>
232
232
  </div>
233
233
  </template>
@@ -1,6 +1,6 @@
1
1
  <script setup lang="ts">
2
2
  import { watch } from 'vue'
3
- import { Btn, MaterialIcon, type StorageFile, useBagel } from '@bagelink/vue'
3
+ import { Btn, Icon, type StorageFile, useBagel } from '@bagelink/vue'
4
4
 
5
5
  const props = defineProps<{
6
6
  label: string
@@ -174,7 +174,7 @@ function drop(e: DragEvent) {
174
174
  <span v-if="fileQ.progress < 100" class="progress">
175
175
  {{ `${fileQ.progress.toFixed(0)}` }}
176
176
  </span>
177
- <MaterialIcon class="success" icon="check" />
177
+ <Icon class="success" icon="check" />
178
178
  </div>
179
179
  </div>
180
180
  </template>
@@ -1,11 +1,20 @@
1
- <script setup lang="ts">
1
+ <script setup lang="ts" generic="T">
2
2
  import { Btn } from '@bagelink/vue'
3
3
 
4
+ export interface RadioOption<T> {
5
+ imgAlt?: string
6
+ imgSrc?: string
7
+ subLabel?: string
8
+ label?: string
9
+ value: object
10
+ id: string
11
+ contextObj: T
12
+ }
13
+
4
14
  defineProps<{
5
15
  groupName: string
6
- options: { imgAlt?: string, imgSrc?: string, subLabel?: string, label?: string, value: any, id: string }[]
16
+ options: RadioOption<T>[]
7
17
  deletable?: boolean
8
- // defaultValue?: any
9
18
  }>()
10
19
 
11
20
  defineEmits(['delete'])
@@ -19,16 +28,16 @@ const selectedOption = defineModel('modelValue')
19
28
  v-for="(opt, index) in options"
20
29
  :key="index"
21
30
  class="border round p-1 flex bg-gray-light mb-05 gap-075 active-list-item hover"
31
+ :for="opt.id"
22
32
  >
23
33
  <input
34
+ :id="opt.id"
24
35
  v-model="selectedOption"
25
36
  class="radio-input-list"
26
37
  type="radio"
27
38
  :name="groupName"
28
39
  :value="opt.value"
29
40
  >
30
- <!-- :checked="selectedOption === opt.value" -->
31
-
32
41
  <img
33
42
  v-if="opt.imgSrc"
34
43
  class="bg-white shadow-light py-025 rounded"
@@ -40,6 +49,7 @@ const selectedOption = defineModel('modelValue')
40
49
  <p v-if="opt.label" class="m-0">{{ opt.label }}</p>
41
50
  <p v-if="opt.subLabel" class="txt-gray txt-12 m-0">{{ opt.subLabel }}</p>
42
51
  </div>
52
+ <slot name="radioItem" v-bind="opt" />
43
53
  <Btn
44
54
  v-if="deletable"
45
55
  class="ms-auto"
@@ -57,6 +57,7 @@ function undo() {
57
57
 
58
58
  const defaultOptions = $ref<SignaturePadOptions>({
59
59
  penColor: 'rgb(0, 0, 0)',
60
+ backgroundColor: 'rgb(255, 255, 255)',
60
61
  })
61
62
 
62
63
  const signatureOptions = $computed(() => ({ ...defaultOptions, ...props.sigOption }))
@@ -11,7 +11,7 @@ interface UploadFile {
11
11
 
12
12
  import { onMounted, onUnmounted } from 'vue'
13
13
 
14
- import { Btn, MaterialIcon, useBagel } from '@bagelink/vue'
14
+ import { Btn, Icon, useBagel } from '@bagelink/vue'
15
15
 
16
16
  const props = withDefaults(
17
17
  defineProps<{
@@ -205,7 +205,7 @@ function onDrop(e: DragEvent) {
205
205
  >{{
206
206
  `${item.progress.toFixed(0)}`
207
207
  }}</span>
208
- <MaterialIcon
208
+ <Icon
209
209
  class="success"
210
210
  icon="check"
211
211
  />
@@ -50,7 +50,7 @@ export interface ModalFormComponentProps {
50
50
  }
51
51
 
52
52
  export interface ModalApi {
53
- showModal: (options: ModalOptions, slots?: Record<string, any>) => void
53
+ showModal: (options: ModalOptions, slots?: Record<string, any>) => ModalComponentProps | undefined
54
54
  showModalForm: (options: ModalFormOptions, slots?: Record<string, any>) => ModalFormComponentProps | undefined
55
55
  hideModal: (index?: number) => void
56
56
  confirm: (options: ConfirmModalUserOptions) => Promise<boolean>
@@ -1,5 +1,5 @@
1
1
  export type {
2
- ModalFormComponentProps,
2
+ ModalComponentProps as ModalFormComponentProps,
3
3
  ModalApi,
4
4
  ModalComponentProps,
5
5
  ModalFormOptions,
@@ -1,10 +0,0 @@
1
- declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}, {}>, {
2
- trigger?(_: {}): any;
3
- }>;
4
- export default _default;
5
- type __VLS_WithTemplateSlots<T, S> = T & {
6
- new (): {
7
- $slots: S;
8
- };
9
- };
10
- //# sourceMappingURL=Popover.vue.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Popover.vue.d.ts","sourceRoot":"","sources":["../../src/components/Popover.vue"],"names":[],"mappings":"AAoBA;AAEA,OAAO,6BAA6B,CAAC;;;;AAmHrC,wBAAwG;AACxG,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAAE,QAAO;QAClD,MAAM,EAAE,CAAC,CAAC;KACT,CAAA;CAAE,CAAC"}