@bagelink/vue 0.0.667 → 0.0.671

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.
@@ -3,11 +3,11 @@ export interface RadioOption<T> {
3
3
  imgSrc?: string;
4
4
  subLabel?: string;
5
5
  label?: string;
6
- value: object;
6
+ value: any;
7
7
  id: string;
8
8
  contextObj: T;
9
9
  }
10
- declare const _default: <ContextObjType extends Record<string, unknown>>(__VLS_props: Awaited<typeof __VLS_setup>["props"], __VLS_ctx?: __VLS_Prettify<Pick<Awaited<typeof __VLS_setup>, "attrs" | "emit" | "slots">>, __VLS_expose?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
10
+ declare const _default: <ContextObjType>(__VLS_props: Awaited<typeof __VLS_setup>["props"], __VLS_ctx?: __VLS_Prettify<Pick<Awaited<typeof __VLS_setup>, "attrs" | "emit" | "slots">>, __VLS_expose?: NonNullable<Awaited<typeof __VLS_setup>>["expose"], __VLS_setup?: Promise<{
11
11
  props: __VLS_Prettify<__VLS_OmitKeepDiscriminatedUnion<(Partial<{}> & Omit<{
12
12
  onDelete?: ((...args: any[]) => any) | undefined;
13
13
  } & import('vue').VNodeProps & import('vue').AllowedComponentProps & import('vue').ComponentCustomProps & Readonly<import('vue').ExtractPropTypes<{}>> & {
@@ -27,7 +27,7 @@ declare const _default: <ContextObjType extends Record<string, unknown>>(__VLS_p
27
27
  imgSrc?: string;
28
28
  subLabel?: string;
29
29
  label?: string;
30
- value: object;
30
+ value: any;
31
31
  id: string;
32
32
  contextObj: ContextObjType;
33
33
  }): any;
@@ -1 +1 @@
1
- {"version":3,"file":"RadioGroup.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/form/inputs/RadioGroup.vue"],"names":[],"mappings":"AAIA,MAAM,WAAW,WAAW,CAAC,CAAC;IAC7B,MAAM,CAAC,EAAE,MAAM,CAAA;IACf,MAAM,CAAC,EAAE,MAAM,CAAA;IACf,QAAQ,CAAC,EAAE,MAAM,CAAA;IACjB,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,KAAK,EAAE,MAAM,CAAA;IACb,EAAE,EAAE,MAAM,CAAA;IACV,UAAU,EAAE,CAAC,CAAA;CACb;yBAGgB,cAAc,SAAS,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,eAClD,OAAO,CAAC,OAAO,WAAW,CAAC,CAAC,OAAO,CAAC,cACrC,cAAc,CAAC,IAAI,CAAC,OAAO,CAAC,OAAO,WAAW,CAAC,EAAE,OAAO,GAAG,MAAM,GAAG,OAAO,CAAC,CAAC,iBAC1E,WAAW,CAAC,OAAO,CAAC,OAAO,WAAW,CAAC,CAAC,CAAC,QAAQ,CAAC;WAqN1D,cAAc,CAAC,gCAAgC,CAAC;;;;;mBAV3C,MAAM;iBACR,WAAW,CAAC,cAAc,CAAC,EAAE;oBAC1B,OAAO;;qBAEL,GAAG;MAMuG,6EAAkC,CAAC,6GAAwD;oBACpM,OAAO,KAAK,EAAE,gBAAgB,CAAC,EAAE,CAAC,GAAG,IAAI;WAClD,GAAG;WACH,UAAU;;qBArOP,MAAM;qBACN,MAAM;uBACJ,MAAM;oBACT,MAAM;mBACP,MAAM;gBACT,MAAM;;YA+LqB,GAAG;MAiCK;;;;;YAII,OAAO,CAAC,OAAO,WAAW,CAAC;;AA/NvE,wBA+N2E"}
1
+ {"version":3,"file":"RadioGroup.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/form/inputs/RadioGroup.vue"],"names":[],"mappings":"AAIA,MAAM,WAAW,WAAW,CAAC,CAAC;IAC7B,MAAM,CAAC,EAAE,MAAM,CAAA;IACf,MAAM,CAAC,EAAE,MAAM,CAAA;IACf,QAAQ,CAAC,EAAE,MAAM,CAAA;IACjB,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,KAAK,EAAE,GAAG,CAAA;IACV,EAAE,EAAE,MAAM,CAAA;IACV,UAAU,EAAE,CAAC,CAAA;CACb;yBAGgB,cAAc,eAClB,OAAO,CAAC,OAAO,WAAW,CAAC,CAAC,OAAO,CAAC,cACrC,cAAc,CAAC,IAAI,CAAC,OAAO,CAAC,OAAO,WAAW,CAAC,EAAE,OAAO,GAAG,MAAM,GAAG,OAAO,CAAC,CAAC,iBAC1E,WAAW,CAAC,OAAO,CAAC,OAAO,WAAW,CAAC,CAAC,CAAC,QAAQ,CAAC;WAqN1D,cAAc,CAAC,gCAAgC,CAAC;;;;;mBAV3C,MAAM;iBACR,WAAW,CAAC,cAAc,CAAC,EAAE;oBAC1B,OAAO;;qBAEL,GAAG;MAMuG,6EAAkC,CAAC,6GAAwD;oBACpM,OAAO,KAAK,EAAE,gBAAgB,CAAC,EAAE,CAAC,GAAG,IAAI;WAClD,GAAG;WACH,UAAU;;qBArOP,MAAM;qBACN,MAAM;uBACJ,MAAM;oBACT,MAAM;mBACP,GAAG;gBACN,MAAM;;YA+LqB,GAAG;MAiCK;;;;;YAII,OAAO,CAAC,OAAO,WAAW,CAAC;;AA/NvE,wBA+N2E"}
package/dist/index.cjs CHANGED
@@ -6364,7 +6364,7 @@ function useVerticalVirtualList(options, list) {
6364
6364
  containerRef
6365
6365
  };
6366
6366
  }
6367
- const _withScopeId$3 = (n2) => (vue.pushScopeId("data-v-6653fb41"), n2 = n2(), vue.popScopeId(), n2);
6367
+ const _withScopeId$3 = (n2) => (vue.pushScopeId("data-v-a4afe8dc"), n2 = n2(), vue.popScopeId(), n2);
6368
6368
  const _hoisted_1$D = {
6369
6369
  key: 0,
6370
6370
  class: "loading-table-wrapper z-99 h-100 w-100 absolute inset"
@@ -6398,7 +6398,7 @@ const _sfc_main$G = /* @__PURE__ */ vue.defineComponent({
6398
6398
  emits: /* @__PURE__ */ vue.mergeModels(["update:selectedItems", "orderBy", "select"], ["update:loading", "update:itemHeight"]),
6399
6399
  setup(__props, { emit: __emit }) {
6400
6400
  vue.useCssVars((_ctx) => ({
6401
- "96a68704": vue.unref(computedItemHiehgt)
6401
+ "15f476b1": vue.unref(computedItemHiehgt)
6402
6402
  }));
6403
6403
  const props2 = __props;
6404
6404
  const emit2 = __emit;
@@ -6603,7 +6603,7 @@ const _sfc_main$G = /* @__PURE__ */ vue.defineComponent({
6603
6603
  };
6604
6604
  }
6605
6605
  });
6606
- const TableSchema = /* @__PURE__ */ _export_sfc(_sfc_main$G, [["__scopeId", "data-v-6653fb41"]]);
6606
+ const TableSchema = /* @__PURE__ */ _export_sfc(_sfc_main$G, [["__scopeId", "data-v-a4afe8dc"]]);
6607
6607
  const _sfc_main$F = {};
6608
6608
  const _hoisted_1$C = { class: "flex space-between" };
6609
6609
  function _sfc_render$1(_ctx, _cache) {
@@ -47251,9 +47251,9 @@ const _sfc_main$8 = /* @__PURE__ */ vue.defineComponent({
47251
47251
  const selectedOption = vue.useModel(__props, "modelValue");
47252
47252
  return (_ctx, _cache) => {
47253
47253
  return vue.openBlock(), vue.createElementBlock("div", null, [
47254
- (vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(_ctx.options, (opt, index2) => {
47254
+ (vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(_ctx.options, (opt) => {
47255
47255
  return vue.openBlock(), vue.createElementBlock("label", {
47256
- key: index2,
47256
+ key: opt.id,
47257
47257
  class: "border round p-1 flex bg-gray-light mb-05 gap-075 active-list-item hover",
47258
47258
  for: opt.id
47259
47259
  }, [
@@ -47281,7 +47281,7 @@ const _sfc_main$8 = /* @__PURE__ */ vue.defineComponent({
47281
47281
  ]),
47282
47282
  vue.renderSlot(_ctx.$slots, "radioItem", vue.mergeProps({ ref_for: true }, opt), void 0, true)
47283
47283
  ]),
47284
- !_ctx.deletable ? (vue.openBlock(), vue.createBlock(vue.unref(Btn), {
47284
+ _ctx.deletable ? (vue.openBlock(), vue.createBlock(vue.unref(Btn), {
47285
47285
  key: 0,
47286
47286
  class: "ms-auto",
47287
47287
  flat: "",
@@ -47295,7 +47295,7 @@ const _sfc_main$8 = /* @__PURE__ */ vue.defineComponent({
47295
47295
  };
47296
47296
  }
47297
47297
  });
47298
- const RadioGroup = /* @__PURE__ */ _export_sfc(_sfc_main$8, [["__scopeId", "data-v-751ec522"]]);
47298
+ const RadioGroup = /* @__PURE__ */ _export_sfc(_sfc_main$8, [["__scopeId", "data-v-667d5432"]]);
47299
47299
  function _isPlaceholder(a2) {
47300
47300
  return a2 != null && typeof a2 === "object" && a2["@@functional/placeholder"] === true;
47301
47301
  }
package/dist/index.mjs CHANGED
@@ -6362,7 +6362,7 @@ function useVerticalVirtualList(options, list) {
6362
6362
  containerRef
6363
6363
  };
6364
6364
  }
6365
- const _withScopeId$3 = (n2) => (pushScopeId("data-v-6653fb41"), n2 = n2(), popScopeId(), n2);
6365
+ const _withScopeId$3 = (n2) => (pushScopeId("data-v-a4afe8dc"), n2 = n2(), popScopeId(), n2);
6366
6366
  const _hoisted_1$D = {
6367
6367
  key: 0,
6368
6368
  class: "loading-table-wrapper z-99 h-100 w-100 absolute inset"
@@ -6396,7 +6396,7 @@ const _sfc_main$G = /* @__PURE__ */ defineComponent({
6396
6396
  emits: /* @__PURE__ */ mergeModels(["update:selectedItems", "orderBy", "select"], ["update:loading", "update:itemHeight"]),
6397
6397
  setup(__props, { emit: __emit }) {
6398
6398
  useCssVars((_ctx) => ({
6399
- "96a68704": unref(computedItemHiehgt)
6399
+ "15f476b1": unref(computedItemHiehgt)
6400
6400
  }));
6401
6401
  const props2 = __props;
6402
6402
  const emit2 = __emit;
@@ -6601,7 +6601,7 @@ const _sfc_main$G = /* @__PURE__ */ defineComponent({
6601
6601
  };
6602
6602
  }
6603
6603
  });
6604
- const TableSchema = /* @__PURE__ */ _export_sfc(_sfc_main$G, [["__scopeId", "data-v-6653fb41"]]);
6604
+ const TableSchema = /* @__PURE__ */ _export_sfc(_sfc_main$G, [["__scopeId", "data-v-a4afe8dc"]]);
6605
6605
  const _sfc_main$F = {};
6606
6606
  const _hoisted_1$C = { class: "flex space-between" };
6607
6607
  function _sfc_render$1(_ctx, _cache) {
@@ -47249,9 +47249,9 @@ const _sfc_main$8 = /* @__PURE__ */ defineComponent({
47249
47249
  const selectedOption = useModel(__props, "modelValue");
47250
47250
  return (_ctx, _cache) => {
47251
47251
  return openBlock(), createElementBlock("div", null, [
47252
- (openBlock(true), createElementBlock(Fragment$1, null, renderList(_ctx.options, (opt, index2) => {
47252
+ (openBlock(true), createElementBlock(Fragment$1, null, renderList(_ctx.options, (opt) => {
47253
47253
  return openBlock(), createElementBlock("label", {
47254
- key: index2,
47254
+ key: opt.id,
47255
47255
  class: "border round p-1 flex bg-gray-light mb-05 gap-075 active-list-item hover",
47256
47256
  for: opt.id
47257
47257
  }, [
@@ -47279,7 +47279,7 @@ const _sfc_main$8 = /* @__PURE__ */ defineComponent({
47279
47279
  ]),
47280
47280
  renderSlot(_ctx.$slots, "radioItem", mergeProps({ ref_for: true }, opt), void 0, true)
47281
47281
  ]),
47282
- !_ctx.deletable ? (openBlock(), createBlock(unref(Btn), {
47282
+ _ctx.deletable ? (openBlock(), createBlock(unref(Btn), {
47283
47283
  key: 0,
47284
47284
  class: "ms-auto",
47285
47285
  flat: "",
@@ -47293,7 +47293,7 @@ const _sfc_main$8 = /* @__PURE__ */ defineComponent({
47293
47293
  };
47294
47294
  }
47295
47295
  });
47296
- const RadioGroup = /* @__PURE__ */ _export_sfc(_sfc_main$8, [["__scopeId", "data-v-751ec522"]]);
47296
+ const RadioGroup = /* @__PURE__ */ _export_sfc(_sfc_main$8, [["__scopeId", "data-v-667d5432"]]);
47297
47297
  function _isPlaceholder(a2) {
47298
47298
  return a2 != null && typeof a2 === "object" && a2["@@functional/placeholder"] === true;
47299
47299
  }
package/dist/style.css CHANGED
@@ -647,19 +647,19 @@ a[data-v-26f1062f] {
647
647
  }
648
648
  }
649
649
 
650
- .selected[data-v-6653fb41] {
650
+ .selected[data-v-a4afe8dc] {
651
651
  background: var(--bgl-primary-tint);
652
652
  }
653
- tbody tr.selected[data-v-6653fb41]:hover {
653
+ tbody tr.selected[data-v-a4afe8dc]:hover {
654
654
  background: var(--bgl-primary-light);
655
655
  }
656
- .loading-table[data-v-6653fb41] {
656
+ .loading-table[data-v-a4afe8dc] {
657
657
  position: relative;
658
658
  }
659
- .inset[data-v-6653fb41] {
659
+ .inset[data-v-a4afe8dc] {
660
660
  inset: 0;
661
661
  }
662
- .loading-table-animation[data-v-6653fb41] {
662
+ .loading-table-animation[data-v-a4afe8dc] {
663
663
  --size: 60px;
664
664
  top: 30vh;
665
665
  inset-inline-start: calc(50% - var(--size));
@@ -667,9 +667,9 @@ tbody tr.selected[data-v-6653fb41]:hover {
667
667
  border-top: 4px solid var(--bgl-primary);
668
668
  width: var(--size);
669
669
  height: var(--size);
670
- animation: loading-table-6653fb41 1s linear infinite;
670
+ animation: loading-table-a4afe8dc 1s linear infinite;
671
671
  }
672
- @keyframes loading-table-6653fb41 {
672
+ @keyframes loading-table-a4afe8dc {
673
673
  0% {
674
674
  transform: translate(-50%, -50%) rotate(0deg);
675
675
  }
@@ -677,52 +677,52 @@ tbody tr.selected[data-v-6653fb41]:hover {
677
677
  transform: translate(-50%, -50%) rotate(360deg);
678
678
  }
679
679
  }
680
- .list-arrows[data-v-6653fb41] {
680
+ .list-arrows[data-v-a4afe8dc] {
681
681
  opacity: 0;
682
682
  }
683
- .list-arrows .bgl_icon-font[data-v-6653fb41] {
683
+ .list-arrows .bgl_icon-font[data-v-a4afe8dc] {
684
684
  transition: all ease-in-out 0.2s;
685
685
  }
686
- .list-arrows.sorted[data-v-6653fb41] {
686
+ .list-arrows.sorted[data-v-a4afe8dc] {
687
687
  opacity: 1;
688
688
  }
689
- .col img[data-v-6653fb41] {
689
+ .col img[data-v-a4afe8dc] {
690
690
  height: 35px;
691
691
  margin-top: -14px;
692
692
  margin-bottom: -14px;
693
693
  border-radius: 5px;
694
694
  }
695
- .list-arrows.sorted .desc[data-v-6653fb41] {
695
+ .list-arrows.sorted .desc[data-v-a4afe8dc] {
696
696
  transform: rotate(180deg);
697
697
  display: inline-block;
698
698
  }
699
- table[data-v-6653fb41] {
699
+ table[data-v-a4afe8dc] {
700
700
  border-collapse: separate;
701
701
  border-spacing: 0 15px;
702
702
  border-collapse: collapse;
703
703
  width: 100%;
704
704
  }
705
- th[data-v-6653fb41] {
705
+ th[data-v-a4afe8dc] {
706
706
  font-size: 0.8rem;
707
707
  color: var(--bgl-black-tint);
708
708
  position: sticky;
709
709
  top: 0;
710
710
  z-index: 2;
711
711
  background: var(--bgl-white);
712
- height: var(--96a68704);
712
+ height: var(--15f476b1);
713
713
  vertical-align: bottom;
714
714
  font-weight: 400;
715
715
  text-align: start;
716
716
  }
717
- .embedded-field[data-v-6653fb41] {
717
+ .embedded-field[data-v-a4afe8dc] {
718
718
  margin-bottom: -0.2rem;
719
719
  margin-top: -0.2rem;
720
720
  }
721
- .row[data-v-6653fb41] {
721
+ .row[data-v-a4afe8dc] {
722
722
  border-bottom: 1px solid var(--border-color);
723
723
  cursor: pointer;
724
724
  }
725
- .row.first-row[data-v-6653fb41] {
725
+ .row.first-row[data-v-a4afe8dc] {
726
726
  font-size: 0.8rem;
727
727
  color: var(--bgl-black-tint);
728
728
  position: sticky;
@@ -731,7 +731,7 @@ th[data-v-6653fb41] {
731
731
  background: var(--bgl-white);
732
732
  vertical-align: bottom;
733
733
  }
734
- .row.first-row[data-v-6653fb41]::after {
734
+ .row.first-row[data-v-a4afe8dc]::after {
735
735
  content: '';
736
736
  border-bottom: 1px solid var(--border-color);
737
737
  position: absolute;
@@ -739,30 +739,30 @@ th[data-v-6653fb41] {
739
739
  right: 0;
740
740
  bottom: -1px;
741
741
  }
742
- .first-row .col[data-v-6653fb41] {
742
+ .first-row .col[data-v-a4afe8dc] {
743
743
  cursor: pointer;
744
744
  background: var(--bgl-white);
745
745
  }
746
- .col[data-v-6653fb41] {
746
+ .col[data-v-a4afe8dc] {
747
747
  white-space: nowrap;
748
748
  padding: 0.75rem 1rem;
749
749
  transition: var(--bgl-transition);
750
750
  line-height: 1;
751
751
  align-items: center;
752
752
  }
753
- .col[data-v-6653fb41]:has(.bagel-input) {
753
+ .col[data-v-a4afe8dc]:has(.bagel-input) {
754
754
  padding: 0rem 0.25rem;
755
755
  }
756
- .col > div[data-v-6653fb41] {
756
+ .col > div[data-v-a4afe8dc] {
757
757
  display: flex;
758
758
  gap: 0.5rem;
759
759
  }
760
- .max-col-width[data-v-6653fb41] {
760
+ .max-col-width[data-v-a4afe8dc] {
761
761
  max-width: 30vw;
762
762
  overflow: hidden;
763
763
  text-overflow: ellipsis;
764
764
  }
765
- .col.check .bgl_icon-font[data-v-6653fb41] {
765
+ .col.check .bgl_icon-font[data-v-a4afe8dc] {
766
766
  border-radius: 100%;
767
767
  background: var(--bgl-blue-20);
768
768
  color: var(--bgl-primary);
@@ -773,35 +773,35 @@ th[data-v-6653fb41] {
773
773
  justify-content: center;
774
774
  margin-top: -2px;
775
775
  }
776
- .rows[data-v-6653fb41] {
776
+ .rows[data-v-a4afe8dc] {
777
777
  font-size: 0.88em;
778
778
  }
779
- .table-list[data-v-6653fb41] {
779
+ .table-list[data-v-a4afe8dc] {
780
780
  height: 100%;
781
781
  position: relative;
782
782
  padding-left: 0 !important;
783
783
  padding-right: 0 !important;
784
784
  overflow: auto;
785
785
  }
786
- .BagelTable .table-list[data-v-6653fb41] {
786
+ .BagelTable .table-list[data-v-a4afe8dc] {
787
787
  overflow: unset;
788
788
  }
789
- .row-item[data-v-6653fb41] {
790
- height: var(--96a68704);
789
+ .row-item[data-v-a4afe8dc] {
790
+ height: var(--15f476b1);
791
791
  transition: all 200ms ease;
792
792
  }
793
- .row-item[data-v-6653fb41]:hover {
793
+ .row-item[data-v-a4afe8dc]:hover {
794
794
  background: var(--bgl-gray-light);
795
795
  }
796
- .row-item input[type='checkbox'][data-v-6653fb41] {
796
+ .row-item input[type='checkbox'][data-v-a4afe8dc] {
797
797
  margin-top: 0.45rem !important;
798
798
  accent-color: var(--bgl-accent-color);
799
799
  }
800
- .infinite-wrapper[data-v-6653fb41] {
800
+ .infinite-wrapper[data-v-a4afe8dc] {
801
801
  overflow-y: auto;
802
802
  width: 100%;
803
803
  }
804
- input[type='checkbox'][data-v-6653fb41] {
804
+ input[type='checkbox'][data-v-a4afe8dc] {
805
805
  margin-top: 0.3rem !important;
806
806
  accent-color: var(--bgl-accent-color);
807
807
  transform: scale(1.2);
@@ -813,7 +813,7 @@ input[type='checkbox'][data-v-6653fb41] {
813
813
  height: 0.85rem;
814
814
  width: 0.85rem;
815
815
  }
816
- input[type='checkbox'][data-v-6653fb41]::before {
816
+ input[type='checkbox'][data-v-a4afe8dc]::before {
817
817
  content: '';
818
818
  height: 0.85rem;
819
819
  width: 0.85rem;
@@ -826,18 +826,18 @@ input[type='checkbox'][data-v-6653fb41]::before {
826
826
  transform: scale(1);
827
827
  position: absolute;
828
828
  }
829
- input[type='checkbox'][data-v-6653fb41]:hover::before {
829
+ input[type='checkbox'][data-v-a4afe8dc]:hover::before {
830
830
  opacity: 0.2;
831
831
  transform: scale(2);
832
832
  }
833
- [lang='he'] [dir='ltr'][data-v-6653fb41] {
833
+ [lang='he'] [dir='ltr'][data-v-a4afe8dc] {
834
834
  text-align: right;
835
835
  }
836
- th input[type='checkbox'][data-v-6653fb41] {
836
+ th input[type='checkbox'][data-v-a4afe8dc] {
837
837
  transform: translateY(0.2rem) scale(1.2);
838
838
  accent-color: var(--bgl-accent-color);
839
839
  }
840
- th[data-v-6653fb41]::after {
840
+ th[data-v-a4afe8dc]::after {
841
841
  content: '';
842
842
  border-bottom: 1px solid var(--border-color);
843
843
  position: absolute;
@@ -845,24 +845,24 @@ th[data-v-6653fb41]::after {
845
845
  right: 0;
846
846
  bottom: -1px;
847
847
  }
848
- tr[data-v-6653fb41] {
848
+ tr[data-v-a4afe8dc] {
849
849
  border-bottom: 1px solid var(--border-color);
850
850
  cursor: pointer;
851
851
  align-items: center;
852
852
  }
853
- td[data-v-6653fb41],
854
- th[data-v-6653fb41] {
853
+ td[data-v-a4afe8dc],
854
+ th[data-v-a4afe8dc] {
855
855
  white-space: nowrap;
856
856
  padding: 0.75rem 0.65rem;
857
857
  transition: var(--bgl-transition);
858
858
  line-height: 1;
859
859
  }
860
- tbody tr[data-v-6653fb41] {
860
+ tbody tr[data-v-a4afe8dc] {
861
861
  font-size: 0.88em;
862
- height: var(--96a68704);
862
+ height: var(--15f476b1);
863
863
  transition: all 200ms ease;
864
864
  }
865
- tbody tr[data-v-6653fb41]:hover {
865
+ tbody tr[data-v-a4afe8dc]:hover {
866
866
  background: var(--bgl-gray-light);
867
867
  }
868
868
 
@@ -2177,12 +2177,12 @@ input[type="number"][data-v-4c741194] {
2177
2177
  }
2178
2178
  }
2179
2179
 
2180
- .radio-input-list[data-v-751ec522]{
2180
+ .radio-input-list[data-v-667d5432]{
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-751ec522]:has(:checked){
2185
+ .active-list-item[data-v-667d5432]:has(:checked){
2186
2186
  background: var(--bgl-primary-light) !important;
2187
2187
  border-color: var(--bgl-primary) !important;
2188
2188
  accent-color: var(--bgl-accent-color);
@@ -8423,6 +8423,10 @@ select {
8423
8423
  .table-list-wrap {
8424
8424
  overflow: auto;
8425
8425
  }
8426
+ [dir="rtl"] .data-row .bgl_icon-font,
8427
+ [dir="rtl"] .embedded-field .bgl_icon-font {
8428
+ transform: rotateY(180deg) !important;
8429
+ }
8426
8430
  .copy-url {
8427
8431
  background-color: var(--bgl-gray-light);
8428
8432
  border-radius: var(--btn-border-radius);
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@bagelink/vue",
3
3
  "type": "module",
4
- "version": "0.0.667",
4
+ "version": "0.0.671",
5
5
  "description": "Bagel core sdk packages",
6
6
  "author": {
7
7
  "name": "Neveh Allon",
@@ -259,6 +259,7 @@ function toggleSelectAll(event: Event) {
259
259
  </div>
260
260
  </template>
261
261
 
262
+
262
263
  <style scoped>
263
264
  .selected {
264
265
  background: var(--bgl-primary-tint);
@@ -346,6 +347,7 @@ th {
346
347
  margin-top: -0.2rem;
347
348
  }
348
349
 
350
+
349
351
  .row {
350
352
  border-bottom: 1px solid var(--border-color);
351
353
  cursor: pointer;
@@ -1,4 +1,4 @@
1
- <script setup lang="ts" generic="ContextObjType extends Record<string, unknown>">
1
+ <script setup lang="ts" generic="ContextObjType">
2
2
  import { Btn } from '@bagelink/vue'
3
3
 
4
4
  export interface RadioOption<T> {
@@ -6,7 +6,7 @@ export interface RadioOption<T> {
6
6
  imgSrc?: string
7
7
  subLabel?: string
8
8
  label?: string
9
- value: object
9
+ value: any
10
10
  id: string
11
11
  contextObj: T
12
12
  }
@@ -25,8 +25,8 @@ const selectedOption = defineModel('modelValue')
25
25
  <template>
26
26
  <div>
27
27
  <label
28
- v-for="(opt, index) in options"
29
- :key="index"
28
+ v-for="opt in options"
29
+ :key="opt.id"
30
30
  class="border round p-1 flex bg-gray-light mb-05 gap-075 active-list-item hover"
31
31
  :for="opt.id"
32
32
  >
@@ -53,7 +53,7 @@ const selectedOption = defineModel('modelValue')
53
53
  <slot name="radioItem" v-bind="opt" />
54
54
  </div>
55
55
  <Btn
56
- v-if="!deletable"
56
+ v-if="deletable"
57
57
  class="ms-auto"
58
58
  flat thin icon="delete"
59
59
  @click="$emit('delete', opt)"
@@ -209,6 +209,10 @@
209
209
  .table-list-wrap {
210
210
  overflow: auto;
211
211
  }
212
+ [dir="rtl"] .data-row .bgl_icon-font,
213
+ [dir="rtl"] .embedded-field .bgl_icon-font {
214
+ transform: rotateY(180deg) !important;
215
+ }
212
216
 
213
217
  .copy-url {
214
218
  background-color: var(--bgl-gray-light);