@bagelink/vue 0.0.196 → 0.0.200

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.
@@ -15,7 +15,6 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
15
15
  to?: string | undefined;
16
16
  round?: boolean | undefined;
17
17
  is?: string | undefined;
18
- borderColor?: string | undefined;
19
18
  }>, {
20
19
  loading: boolean;
21
20
  round: boolean;
@@ -39,7 +38,6 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<__
39
38
  to?: string | undefined;
40
39
  round?: boolean | undefined;
41
40
  is?: string | undefined;
42
- borderColor?: string | undefined;
43
41
  }>, {
44
42
  loading: boolean;
45
43
  round: boolean;
@@ -1 +1 @@
1
- {"version":3,"file":"Btn.vue.d.ts","sourceRoot":"","sources":["../../src/components/Btn.vue"],"names":[],"mappings":"AAuCA;AAOA,OAAO,KAAK,EAAE,aAAa,EAAE,SAAS,EAAE,MAAM,eAAe,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAoT9D,wBAAwG;AACxG,KAAK,sBAAsB,CAAC,CAAC,IAAI,CAAC,SAAS,SAAS,GAAG,KAAK,GAAG,CAAC,CAAC;AACjE,KAAK,6BAA6B,CAAC,CAAC,IAAI;KAAG,CAAC,IAAI,MAAM,CAAC,CAAC,CAAC,GAAG,EAAE,SAAS,IAAI,CAAC,CAAC,EAAE,CAAC,CAAC,GAAG;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,sBAAsB,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAA;KAAE,GAAG;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;QAAC,QAAQ,EAAE,IAAI,CAAA;KAAE;CAAE,CAAC;AAC9M,KAAK,kBAAkB,CAAC,CAAC,EAAE,CAAC,IAAI;KAE1B,CAAC,IAAI,MAAM,IAAI,CAAC,CAAC,EAAE,MAAM,CAAC,CAAC,GAAG,CAAC,SAAS,MAAM,CAAC,GAAG,cAAc,CAAC,CAAC,CAAC,CAAC,CAAC,GAAG;QACxE,OAAO,EAAE,CAAC,CAAC,CAAC,CAAC,CAAA;KACb,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;CACT,CAAC;AACN,KAAK,cAAc,CAAC,CAAC,IAAI;KAAG,CAAC,IAAI,MAAM,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;CAAG,GAAG,EAAE,CAAC;AACxD,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAAE,QAAO;QAClD,MAAM,EAAE,CAAC,CAAC;KACT,CAAA;CAAE,CAAC"}
1
+ {"version":3,"file":"Btn.vue.d.ts","sourceRoot":"","sources":["../../src/components/Btn.vue"],"names":[],"mappings":"AAuCA;AAOA,OAAO,KAAK,EAAE,aAAa,EAAE,SAAS,EAAE,MAAM,eAAe,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA4T9D,wBAAwG;AACxG,KAAK,sBAAsB,CAAC,CAAC,IAAI,CAAC,SAAS,SAAS,GAAG,KAAK,GAAG,CAAC,CAAC;AACjE,KAAK,6BAA6B,CAAC,CAAC,IAAI;KAAG,CAAC,IAAI,MAAM,CAAC,CAAC,CAAC,GAAG,EAAE,SAAS,IAAI,CAAC,CAAC,EAAE,CAAC,CAAC,GAAG;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,sBAAsB,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAA;KAAE,GAAG;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;QAAC,QAAQ,EAAE,IAAI,CAAA;KAAE;CAAE,CAAC;AAC9M,KAAK,kBAAkB,CAAC,CAAC,EAAE,CAAC,IAAI;KAE1B,CAAC,IAAI,MAAM,IAAI,CAAC,CAAC,EAAE,MAAM,CAAC,CAAC,GAAG,CAAC,SAAS,MAAM,CAAC,GAAG,cAAc,CAAC,CAAC,CAAC,CAAC,CAAC,GAAG;QACxE,OAAO,EAAE,CAAC,CAAC,CAAC,CAAC,CAAA;KACb,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;CACT,CAAC;AACN,KAAK,cAAc,CAAC,CAAC,IAAI;KAAG,CAAC,IAAI,MAAM,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;CAAG,GAAG,EAAE,CAAC;AACxD,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAAE,QAAO;QAClD,MAAM,EAAE,CAAC,CAAC;KACT,CAAA;CAAE,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"MiscFields.vue.d.ts","sourceRoot":"","sources":["../../../src/components/formkit/MiscFields.vue"],"names":[],"mappings":"AAiBA;;aAgHW,OAAO,MAAM,EAAE,GAAG,CAAC;iBACf,MAAM;;aADV,OAAO,MAAM,EAAE,GAAG,CAAC;iBACf,MAAM;;AAPrB,wBASG;AACH,KAAK,sBAAsB,CAAC,CAAC,IAAI,CAAC,SAAS,SAAS,GAAG,KAAK,GAAG,CAAC,CAAC;AACjE,KAAK,6BAA6B,CAAC,CAAC,IAAI;KAAG,CAAC,IAAI,MAAM,CAAC,CAAC,CAAC,GAAG,EAAE,SAAS,IAAI,CAAC,CAAC,EAAE,CAAC,CAAC,GAAG;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,sBAAsB,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAA;KAAE,GAAG;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;QAAC,QAAQ,EAAE,IAAI,CAAA;KAAE;CAAE,CAAC"}
1
+ {"version":3,"file":"MiscFields.vue.d.ts","sourceRoot":"","sources":["../../../src/components/formkit/MiscFields.vue"],"names":[],"mappings":"AAiBA;;aAgHU,OAAO,MAAM,EAAE,GAAG,CAAC;iBACf,MAAM;;aADV,OAAO,MAAM,EAAE,GAAG,CAAC;iBACf,MAAM;;AAPpB,wBASG;AACH,KAAK,sBAAsB,CAAC,CAAC,IAAI,CAAC,SAAS,SAAS,GAAG,KAAK,GAAG,CAAC,CAAC;AACjE,KAAK,6BAA6B,CAAC,CAAC,IAAI;KAAG,CAAC,IAAI,MAAM,CAAC,CAAC,CAAC,GAAG,EAAE,SAAS,IAAI,CAAC,CAAC,EAAE,CAAC,CAAC,GAAG;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,sBAAsB,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAA;KAAE,GAAG;QAAE,IAAI,EAAE,OAAO,KAAK,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;QAAC,QAAQ,EAAE,IAAI,CAAA;KAAE;CAAE,CAAC"}
package/dist/index.cjs CHANGED
@@ -14681,30 +14681,39 @@ const _sfc_main$R = /* @__PURE__ */ vue.defineComponent({
14681
14681
  value: {},
14682
14682
  to: {},
14683
14683
  round: { type: Boolean, default: false },
14684
- is: { default: "button" },
14685
- borderColor: {}
14684
+ is: { default: "button" }
14686
14685
  },
14687
14686
  setup(__props) {
14688
14687
  vue.useCssVars((_ctx) => ({
14689
- "7d77cfe0": computedBackgroundColor.value,
14690
- "44b26a2a": cumputedTextColor.value
14688
+ "e0356e0a": computedBackgroundColor.value,
14689
+ "458dc816": cumputedTextColor.value
14691
14690
  }));
14692
14691
  const slots = vue.useSlots();
14693
14692
  const props2 = __props;
14694
- const computedTheme = vue.computed(() => (props2 == null ? void 0 : props2.color) || (props2 == null ? void 0 : props2.theme));
14693
+ const computedTheme = vue.computed(
14694
+ () => (props2 == null ? void 0 : props2.color) || (props2 == null ? void 0 : props2.theme)
14695
+ );
14695
14696
  const computedDefaultColors = vue.computed(
14696
14697
  () => ({
14697
14698
  backgroundColor: "var(--bgl-primary)",
14698
14699
  color: props2.flat ? "var(--bgl-black)" : "var(--bgl-white)"
14699
14700
  })
14700
14701
  );
14702
+ function getThemeColors(theme) {
14703
+ return {
14704
+ ...computedDefaultColors.value,
14705
+ ...theme,
14706
+ color: props2.flat ? theme.backgroundColor : theme.color
14707
+ };
14708
+ }
14701
14709
  const themes = {
14702
- red: { ...computedDefaultColors.value, backgroundColor: "var(--bgl-red)" },
14703
- black: { ...computedDefaultColors.value, backgroundColor: "var(--bgl-black)" },
14704
- green: { ...computedDefaultColors.value, backgroundColor: "var(--bgl-green)", color: "var(--bgl-white)" },
14705
- gray: { ...computedDefaultColors.value, backgroundColor: "var(--bgl-gray-light)", color: "var(--bgl-black)" },
14706
- light: { ...computedDefaultColors.value, backgroundColor: "var(--bgl-primary-light)", color: "var(--bgl-primary)" },
14707
- "gray-light": { ...computedDefaultColors.value, backgroundColor: "var(--bgl-gray-light)", color: "var(--bgl-gray)" }
14710
+ red: getThemeColors({ backgroundColor: "var(--bgl-red)" }),
14711
+ black: getThemeColors({ backgroundColor: "var(--bgl-black)" }),
14712
+ green: getThemeColors({ backgroundColor: "var(--bgl-green)", color: "var(--bgl-white)" }),
14713
+ blue: getThemeColors({ backgroundColor: "var(--bgl-blue)", color: "var(--bgl-white)" }),
14714
+ gray: getThemeColors({ backgroundColor: "var(--bgl-gray-light)", color: "var(--bgl-black)" }),
14715
+ light: getThemeColors({ backgroundColor: "var(--bgl-primary-light)", color: "var(--bgl-primary)" }),
14716
+ "gray-light": getThemeColors({ backgroundColor: "var(--bgl-gray-light)", color: "var(--bgl-gray)" })
14708
14717
  };
14709
14718
  const cumputedTextColor = vue.computed(
14710
14719
  () => {
@@ -14729,7 +14738,7 @@ const _sfc_main$R = /* @__PURE__ */ vue.defineComponent({
14729
14738
  btn: !_ctx.icon || vue.unref(slots)["default"] || _ctx.value,
14730
14739
  thin: _ctx.thin,
14731
14740
  round: _ctx.round,
14732
- "btn-txt": _ctx.flat,
14741
+ "flatBtn": _ctx.flat,
14733
14742
  "btn-border": _ctx.border
14734
14743
  })
14735
14744
  }, {
@@ -14761,7 +14770,7 @@ const _export_sfc = (sfc, props2) => {
14761
14770
  }
14762
14771
  return target;
14763
14772
  };
14764
- const Btn = /* @__PURE__ */ _export_sfc(_sfc_main$R, [["__scopeId", "data-v-86c248d5"]]);
14773
+ const Btn = /* @__PURE__ */ _export_sfc(_sfc_main$R, [["__scopeId", "data-v-718ff632"]]);
14765
14774
  const _hoisted_1$X = { class: "tool-bar" };
14766
14775
  const _hoisted_2$P = { class: "modal-title" };
14767
14776
  const _hoisted_3$I = { class: "modal-footer mt-3" };
@@ -17286,7 +17295,7 @@ const _sfc_main$z = /* @__PURE__ */ vue.defineComponent({
17286
17295
  };
17287
17296
  }
17288
17297
  });
17289
- const ContactArrayFormKit = /* @__PURE__ */ _export_sfc(_sfc_main$z, [["__scopeId", "data-v-61e13dd7"]]);
17298
+ const ContactArrayFormKit = /* @__PURE__ */ _export_sfc(_sfc_main$z, [["__scopeId", "data-v-f93bb259"]]);
17290
17299
  const _hoisted_1$H = { class: "bagel-input" };
17291
17300
  const _hoisted_2$C = { class: "mt-1" };
17292
17301
  const _hoisted_3$y = {
@@ -17470,7 +17479,7 @@ const _sfc_main$y = /* @__PURE__ */ vue.defineComponent({
17470
17479
  };
17471
17480
  }
17472
17481
  });
17473
- const AddressArray = /* @__PURE__ */ _export_sfc(_sfc_main$y, [["__scopeId", "data-v-01e485e2"]]);
17482
+ const AddressArray = /* @__PURE__ */ _export_sfc(_sfc_main$y, [["__scopeId", "data-v-77d03b04"]]);
17474
17483
  const _hoisted_1$G = { class: "bagel-input" };
17475
17484
  const _hoisted_2$B = { class: "mt-1" };
17476
17485
  const _hoisted_3$x = {
@@ -17687,7 +17696,7 @@ const _sfc_main$x = /* @__PURE__ */ vue.defineComponent({
17687
17696
  };
17688
17697
  }
17689
17698
  });
17690
- const BankDetailsArray = /* @__PURE__ */ _export_sfc(_sfc_main$x, [["__scopeId", "data-v-c63408c1"]]);
17699
+ const BankDetailsArray = /* @__PURE__ */ _export_sfc(_sfc_main$x, [["__scopeId", "data-v-a0d366d4"]]);
17691
17700
  const _hoisted_1$F = { class: "misc-wrap" };
17692
17701
  const _sfc_main$w = /* @__PURE__ */ vue.defineComponent({
17693
17702
  __name: "MiscFields",
@@ -17734,7 +17743,7 @@ const _sfc_main$w = /* @__PURE__ */ vue.defineComponent({
17734
17743
  };
17735
17744
  }
17736
17745
  });
17737
- const MiscFieldsBtns = /* @__PURE__ */ _export_sfc(_sfc_main$w, [["__scopeId", "data-v-91b04350"]]);
17746
+ const MiscFieldsBtns = /* @__PURE__ */ _export_sfc(_sfc_main$w, [["__scopeId", "data-v-a096417d"]]);
17738
17747
  const _withScopeId$1 = (n) => (vue.pushScopeId("data-v-d0543d4b"), n = n(), vue.popScopeId(), n);
17739
17748
  const _hoisted_1$E = ["title"];
17740
17749
  const _hoisted_2$A = { class: "switch" };
@@ -21995,7 +22004,7 @@ const _sfc_main$a = /* @__PURE__ */ vue.defineComponent({
21995
22004
  };
21996
22005
  }
21997
22006
  });
21998
- const TableField = /* @__PURE__ */ _export_sfc(_sfc_main$a, [["__scopeId", "data-v-b01223bc"]]);
22007
+ const TableField = /* @__PURE__ */ _export_sfc(_sfc_main$a, [["__scopeId", "data-v-1d1376d2"]]);
21999
22008
  const _hoisted_1$k = ["title"];
22000
22009
  const _hoisted_2$h = { key: 0 };
22001
22010
  const _hoisted_3$f = ["value", "title", "placeholder"];
package/dist/index.mjs CHANGED
@@ -14679,30 +14679,39 @@ const _sfc_main$R = /* @__PURE__ */ defineComponent({
14679
14679
  value: {},
14680
14680
  to: {},
14681
14681
  round: { type: Boolean, default: false },
14682
- is: { default: "button" },
14683
- borderColor: {}
14682
+ is: { default: "button" }
14684
14683
  },
14685
14684
  setup(__props) {
14686
14685
  useCssVars((_ctx) => ({
14687
- "7d77cfe0": computedBackgroundColor.value,
14688
- "44b26a2a": cumputedTextColor.value
14686
+ "e0356e0a": computedBackgroundColor.value,
14687
+ "458dc816": cumputedTextColor.value
14689
14688
  }));
14690
14689
  const slots = useSlots();
14691
14690
  const props2 = __props;
14692
- const computedTheme = computed(() => (props2 == null ? void 0 : props2.color) || (props2 == null ? void 0 : props2.theme));
14691
+ const computedTheme = computed(
14692
+ () => (props2 == null ? void 0 : props2.color) || (props2 == null ? void 0 : props2.theme)
14693
+ );
14693
14694
  const computedDefaultColors = computed(
14694
14695
  () => ({
14695
14696
  backgroundColor: "var(--bgl-primary)",
14696
14697
  color: props2.flat ? "var(--bgl-black)" : "var(--bgl-white)"
14697
14698
  })
14698
14699
  );
14700
+ function getThemeColors(theme) {
14701
+ return {
14702
+ ...computedDefaultColors.value,
14703
+ ...theme,
14704
+ color: props2.flat ? theme.backgroundColor : theme.color
14705
+ };
14706
+ }
14699
14707
  const themes = {
14700
- red: { ...computedDefaultColors.value, backgroundColor: "var(--bgl-red)" },
14701
- black: { ...computedDefaultColors.value, backgroundColor: "var(--bgl-black)" },
14702
- green: { ...computedDefaultColors.value, backgroundColor: "var(--bgl-green)", color: "var(--bgl-white)" },
14703
- gray: { ...computedDefaultColors.value, backgroundColor: "var(--bgl-gray-light)", color: "var(--bgl-black)" },
14704
- light: { ...computedDefaultColors.value, backgroundColor: "var(--bgl-primary-light)", color: "var(--bgl-primary)" },
14705
- "gray-light": { ...computedDefaultColors.value, backgroundColor: "var(--bgl-gray-light)", color: "var(--bgl-gray)" }
14708
+ red: getThemeColors({ backgroundColor: "var(--bgl-red)" }),
14709
+ black: getThemeColors({ backgroundColor: "var(--bgl-black)" }),
14710
+ green: getThemeColors({ backgroundColor: "var(--bgl-green)", color: "var(--bgl-white)" }),
14711
+ blue: getThemeColors({ backgroundColor: "var(--bgl-blue)", color: "var(--bgl-white)" }),
14712
+ gray: getThemeColors({ backgroundColor: "var(--bgl-gray-light)", color: "var(--bgl-black)" }),
14713
+ light: getThemeColors({ backgroundColor: "var(--bgl-primary-light)", color: "var(--bgl-primary)" }),
14714
+ "gray-light": getThemeColors({ backgroundColor: "var(--bgl-gray-light)", color: "var(--bgl-gray)" })
14706
14715
  };
14707
14716
  const cumputedTextColor = computed(
14708
14717
  () => {
@@ -14727,7 +14736,7 @@ const _sfc_main$R = /* @__PURE__ */ defineComponent({
14727
14736
  btn: !_ctx.icon || unref(slots)["default"] || _ctx.value,
14728
14737
  thin: _ctx.thin,
14729
14738
  round: _ctx.round,
14730
- "btn-txt": _ctx.flat,
14739
+ "flatBtn": _ctx.flat,
14731
14740
  "btn-border": _ctx.border
14732
14741
  })
14733
14742
  }, {
@@ -14759,7 +14768,7 @@ const _export_sfc = (sfc, props2) => {
14759
14768
  }
14760
14769
  return target;
14761
14770
  };
14762
- const Btn = /* @__PURE__ */ _export_sfc(_sfc_main$R, [["__scopeId", "data-v-86c248d5"]]);
14771
+ const Btn = /* @__PURE__ */ _export_sfc(_sfc_main$R, [["__scopeId", "data-v-718ff632"]]);
14763
14772
  const _hoisted_1$X = { class: "tool-bar" };
14764
14773
  const _hoisted_2$P = { class: "modal-title" };
14765
14774
  const _hoisted_3$I = { class: "modal-footer mt-3" };
@@ -17284,7 +17293,7 @@ const _sfc_main$z = /* @__PURE__ */ defineComponent({
17284
17293
  };
17285
17294
  }
17286
17295
  });
17287
- const ContactArrayFormKit = /* @__PURE__ */ _export_sfc(_sfc_main$z, [["__scopeId", "data-v-61e13dd7"]]);
17296
+ const ContactArrayFormKit = /* @__PURE__ */ _export_sfc(_sfc_main$z, [["__scopeId", "data-v-f93bb259"]]);
17288
17297
  const _hoisted_1$H = { class: "bagel-input" };
17289
17298
  const _hoisted_2$C = { class: "mt-1" };
17290
17299
  const _hoisted_3$y = {
@@ -17468,7 +17477,7 @@ const _sfc_main$y = /* @__PURE__ */ defineComponent({
17468
17477
  };
17469
17478
  }
17470
17479
  });
17471
- const AddressArray = /* @__PURE__ */ _export_sfc(_sfc_main$y, [["__scopeId", "data-v-01e485e2"]]);
17480
+ const AddressArray = /* @__PURE__ */ _export_sfc(_sfc_main$y, [["__scopeId", "data-v-77d03b04"]]);
17472
17481
  const _hoisted_1$G = { class: "bagel-input" };
17473
17482
  const _hoisted_2$B = { class: "mt-1" };
17474
17483
  const _hoisted_3$x = {
@@ -17685,7 +17694,7 @@ const _sfc_main$x = /* @__PURE__ */ defineComponent({
17685
17694
  };
17686
17695
  }
17687
17696
  });
17688
- const BankDetailsArray = /* @__PURE__ */ _export_sfc(_sfc_main$x, [["__scopeId", "data-v-c63408c1"]]);
17697
+ const BankDetailsArray = /* @__PURE__ */ _export_sfc(_sfc_main$x, [["__scopeId", "data-v-a0d366d4"]]);
17689
17698
  const _hoisted_1$F = { class: "misc-wrap" };
17690
17699
  const _sfc_main$w = /* @__PURE__ */ defineComponent({
17691
17700
  __name: "MiscFields",
@@ -17732,7 +17741,7 @@ const _sfc_main$w = /* @__PURE__ */ defineComponent({
17732
17741
  };
17733
17742
  }
17734
17743
  });
17735
- const MiscFieldsBtns = /* @__PURE__ */ _export_sfc(_sfc_main$w, [["__scopeId", "data-v-91b04350"]]);
17744
+ const MiscFieldsBtns = /* @__PURE__ */ _export_sfc(_sfc_main$w, [["__scopeId", "data-v-a096417d"]]);
17736
17745
  const _withScopeId$1 = (n) => (pushScopeId("data-v-d0543d4b"), n = n(), popScopeId(), n);
17737
17746
  const _hoisted_1$E = ["title"];
17738
17747
  const _hoisted_2$A = { class: "switch" };
@@ -21993,7 +22002,7 @@ const _sfc_main$a = /* @__PURE__ */ defineComponent({
21993
22002
  };
21994
22003
  }
21995
22004
  });
21996
- const TableField = /* @__PURE__ */ _export_sfc(_sfc_main$a, [["__scopeId", "data-v-b01223bc"]]);
22005
+ const TableField = /* @__PURE__ */ _export_sfc(_sfc_main$a, [["__scopeId", "data-v-1d1376d2"]]);
21997
22006
  const _hoisted_1$k = ["title"];
21998
22007
  const _hoisted_2$h = { key: 0 };
21999
22008
  const _hoisted_3$f = ["value", "title", "placeholder"];
package/dist/style.css CHANGED
@@ -306,16 +306,16 @@
306
306
  }
307
307
  }
308
308
 
309
- .loading[data-v-86c248d5] {
309
+ .loading[data-v-718ff632] {
310
310
  border: 1px solid var(--bgl-white);
311
311
  border-bottom: 2px solid var(--bgl-white);
312
- animation: spin-86c248d5 1s linear infinite;
312
+ animation: spin-718ff632 1s linear infinite;
313
313
  border-radius: 100px;
314
314
  width: 1rem;
315
315
  height: 1rem;
316
316
  margin: auto;
317
317
  }
318
- @keyframes spin-86c248d5 {
318
+ @keyframes spin-718ff632 {
319
319
  0% {
320
320
  transform: rotate(0deg);
321
321
  }
@@ -323,7 +323,7 @@
323
323
  transform: rotate(360deg);
324
324
  }
325
325
  }
326
- .btn-icon[data-v-86c248d5] {
326
+ .btn-icon[data-v-718ff632] {
327
327
  height: var(--btn-height);
328
328
  width: var(--btn-height);
329
329
  border-radius: 100%;
@@ -333,101 +333,97 @@
333
333
  flex-shrink: 0;
334
334
  transition: var(--bgl-transition);
335
335
  }
336
- .btn[data-v-86c248d5] {
337
- background: var(--bgl-primary);
338
- color: var(--bgl-white);
336
+ .btn[data-v-718ff632] {
339
337
  padding-left: var(--btn-padding);
340
338
  padding-right: var(--btn-padding);
341
339
  transition: var(--bgl-transition);
342
340
  text-decoration: none;
343
341
  }
344
- .btn[disabled="true"][data-v-86c248d5] {
342
+ .btn[disabled="true"][data-v-718ff632] {
345
343
  opacity: 0.5;
346
344
  cursor: not-allowed;
347
345
  }
348
- .btn-flex[data-v-86c248d5] {
346
+ .btn-flex[data-v-718ff632] {
349
347
  display: flex;
350
348
  align-items: center;
351
349
  gap: 0.5rem;
352
350
  justify-content: center;
353
351
  }
354
- .btn .icon-font[data-v-86c248d5] {
352
+ .btn .icon-font[data-v-718ff632] {
355
353
  font-size: calc(var(--input-font-size) * 1.3);
356
354
  }
357
- .btn[data-v-86c248d5]:hover,
358
- .btn-icon[data-v-86c248d5]:hover {
355
+ .btn[data-v-718ff632],
356
+ .btn-icon[data-v-718ff632] {
357
+ background-color: var(--e0356e0a);
358
+ color: var(--458dc816);
359
+ }
360
+ .btn[data-v-718ff632]:hover,
361
+ .btn-icon[data-v-718ff632]:hover {
359
362
  filter: var(--bgl-hover-filter);
360
363
  }
361
- .btn[data-v-86c248d5]:active,
362
- .btn-icon[data-v-86c248d5]:active {
364
+ .btn[data-v-718ff632]:active,
365
+ .btn-icon[data-v-718ff632]:active {
363
366
  filter: var(--bgl-active-filter);
364
367
  }
365
- .btn[data-v-86c248d5],
366
- .btn-icon[data-v-86c248d5] {
367
- background-color: var(--7d77cfe0);
368
- color: var(--44b26a2a);
369
- }
370
- .btn.btn-txt[data-v-86c248d5] {
371
- color: var(--bgl-primary);
368
+ .btn.flatBtn[data-v-718ff632] {
372
369
  padding-left: var(--btn-padding);
373
370
  padding-right: var(--btn-padding);
374
371
  background: transparent;
375
372
  }
376
- .btn-icon.btn-txt[data-v-86c248d5] {
377
- color: var(--bgl-primary);
373
+ .btn-icon.flatBtn[data-v-718ff632] {
378
374
  background: transparent;
379
375
  }
380
- .btn.btn-txt[data-v-86c248d5]:hover,
381
- .btn-icon.btn-txt[data-v-86c248d5]:hover {
376
+ .btn.flatBtn[data-v-718ff632]:hover,
377
+ .btn-icon.flatBtn[data-v-718ff632]:hover {
382
378
  filter: var(--bgl-active-filter);
383
379
  }
384
- .btn.btn-txt[data-v-86c248d5]:active,
385
- .btn-icon.btn-txt[data-v-86c248d5]:active {
380
+ .btn.flatBtn[data-v-718ff632]:active,
381
+ .btn-icon.flatBtn[data-v-718ff632]:active {
386
382
  background: var(--bgl-white);
387
383
  filter: var(--bgl-hover-filter);
388
384
  }
389
- .btn.btn-txt.red[data-v-86c248d5],
390
- .btn-icon.btn-txt.red[data-v-86c248d5] {
385
+ .btn.flatBtn.red[data-v-718ff632],
386
+ .btn-icon.flatBtn.red[data-v-718ff632] {
391
387
  color: var(--bgl-red);
392
388
  }
393
- .btn.btn-txt.light[data-v-86c248d5],
394
- .btn-icon.btn-txt.light[data-v-86c248d5] {
389
+ .btn.flatBtn.light[data-v-718ff632],
390
+ .btn-icon.flatBtn.light[data-v-718ff632] {
395
391
  color: var(--bgl-primary-tint);
396
392
  }
397
- .btn.btn-txt.black[data-v-86c248d5],
398
- .btn-icon.btn-txt.black[data-v-86c248d5] {
393
+ .btn.flatBtn.black[data-v-718ff632],
394
+ .btn-icon.flatBtn.black[data-v-718ff632] {
399
395
  color: var(--bgl-black);
400
396
  }
401
- .btn.btn-txt.gray[data-v-86c248d5],
402
- .btn-icon.btn-txt.gray[data-v-86c248d5] {
397
+ .btn.flatBtn.gray[data-v-718ff632],
398
+ .btn-icon.flatBtn.gray[data-v-718ff632] {
403
399
  color: var(--bgl-gray);
404
400
  }
405
- .btn.thin[data-v-86c248d5] {
401
+ .btn.thin[data-v-718ff632] {
406
402
  padding-left: calc(var(--btn-padding) / 2);
407
403
  padding-right: calc(var(--btn-padding) / 2);
408
404
  }
409
- .btn.round[data-v-86c248d5] {
405
+ .btn.round[data-v-718ff632] {
410
406
  border-radius: calc(var(--btn-border-radius) * 2);
411
407
  }
412
- .btn-icon.thin[data-v-86c248d5] {
408
+ .btn-icon.thin[data-v-718ff632] {
413
409
  height: calc(var(--btn-height) / 1.5);
414
410
  width: calc(var(--btn-height) / 1.5);
415
411
  line-height: 1;
416
412
  }
417
- [dir="rtl"] .icon-font[data-v-86c248d5] {
413
+ [dir="rtl"] .icon-font[data-v-718ff632] {
418
414
  transform: rotateY(180deg);
419
415
  }
420
- .btn-border[data-v-86c248d5] {
421
- outline: 1px solid var(--7d77cfe0);
422
- color: var(--7d77cfe0);
423
- background: var(--bgl-white);
416
+ .btn-border[data-v-718ff632] {
417
+ outline: 1px solid var(--e0356e0a);
418
+ color: var(--e0356e0a);
419
+ background: transparent;
424
420
  }
425
- .btn-border[data-v-86c248d5]:hover {
426
- color: var(--44b26a2a);
427
- background: var(--7d77cfe0);
421
+ .btn-border[data-v-718ff632]:hover {
422
+ color: var(--bgl-white);
423
+ background: var(--e0356e0a);
428
424
  filter: brightness(100%);
429
425
  }
430
- .btn-border[data-v-86c248d5]:active {
426
+ .btn-border[data-v-718ff632]:active {
431
427
  filter: brightness(80%);
432
428
  }
433
429
  .bg-dark {
@@ -1140,34 +1136,34 @@ th[data-v-f3a410c2] {
1140
1136
  border: none;
1141
1137
  }
1142
1138
 
1143
- .bglform-contact[data-v-61e13dd7] {
1139
+ .bglform-contact[data-v-f93bb259] {
1144
1140
  display: flex;
1145
1141
  align-items: center;
1146
1142
  gap: 0.5rem;
1147
1143
  max-width: 700px;
1148
1144
  position: relative;
1149
1145
  }
1150
- .bglform-contact-label[data-v-61e13dd7] {
1146
+ .bglform-contact-label[data-v-f93bb259] {
1151
1147
  flex-basis: 140px;
1152
1148
  }
1153
- .bglform-contact input[type="checkbox"][data-v-61e13dd7] {
1149
+ .bglform-contact input[type="checkbox"][data-v-f93bb259] {
1154
1150
  width: 30px;
1155
1151
  min-width: 0;
1156
1152
  }
1157
- .light.thin.btn-txt.btn[data-v-61e13dd7] {
1153
+ .light.thin.flatBtn.btn[data-v-f93bb259] {
1158
1154
  padding-left: calc(var(--btn-padding) / 4);
1159
1155
  padding-right: calc(var(--btn-padding) / 4);
1160
1156
  }
1161
- .add-btn[data-v-61e13dd7] {
1157
+ .add-btn[data-v-f93bb259] {
1162
1158
  display: flex;
1163
1159
  gap: 0.5rem;
1164
1160
  align-items: center;
1165
1161
  margin-inline-start: 1rem;
1166
1162
  }
1167
- .add-btn[data-v-61e13dd7]:active {
1163
+ .add-btn[data-v-f93bb259]:active {
1168
1164
  background: none !important;
1169
1165
  }
1170
- .add-btn[data-v-61e13dd7]::before {
1166
+ .add-btn[data-v-f93bb259]::before {
1171
1167
  content: "+";
1172
1168
  font-size: 10px;
1173
1169
  background: var(--bgl-blue-light);
@@ -1179,15 +1175,16 @@ th[data-v-f3a410c2] {
1179
1175
  justify-content: center;
1180
1176
  color: var(--bgl-primary);
1181
1177
  }
1182
- .add-btn[data-v-61e13dd7]:hover::before {
1178
+ .add-btn[data-v-f93bb259]:hover::before {
1183
1179
  background: var(--bgl-primary);
1184
1180
  color: var(--bgl-white);
1185
1181
  }
1186
1182
  @media screen and (max-width: 910px) {
1187
- .bglform-contact-label[data-v-61e13dd7] {
1183
+ .bglform-contact-label[data-v-f93bb259] {
1188
1184
  min-width: 0;
1189
1185
  }
1190
1186
  }
1187
+
1191
1188
  .bglform-contact-confirm {
1192
1189
  position: absolute;
1193
1190
  background: rgba(255, 255, 255, 0.5);
@@ -1200,45 +1197,45 @@ th[data-v-f3a410c2] {
1200
1197
  backdrop-filter: blur(1px);
1201
1198
  }
1202
1199
 
1203
- .bglform-contact[data-v-01e485e2] {
1200
+ .bglform-contact[data-v-77d03b04] {
1204
1201
  display: flex;
1205
1202
  gap: 0.5rem;
1206
1203
  max-width: 700px;
1207
1204
  position: relative;
1208
1205
  }
1209
- .bglform-contact-label[data-v-01e485e2] {
1206
+ .bglform-contact-label[data-v-77d03b04] {
1210
1207
  flex-basis: 140px;
1211
1208
  }
1212
- .bglform-contact-address[data-v-01e485e2] {
1209
+ .bglform-contact-address[data-v-77d03b04] {
1213
1210
  display: flex;
1214
1211
  flex-direction: column;
1215
1212
  gap: 0.5rem;
1216
1213
  }
1217
- .bglform-contact input[type="checkbox"][data-v-01e485e2] {
1214
+ .bglform-contact input[type="checkbox"][data-v-77d03b04] {
1218
1215
  width: 30px;
1219
1216
  min-width: 0;
1220
1217
  }
1221
- .light.thin.btn-txt.btn[data-v-01e485e2] {
1218
+ .light.thin.flatBtn.btn[data-v-77d03b04] {
1222
1219
  padding-left: calc(var(--btn-padding) / 4);
1223
1220
  padding-right: calc(var(--btn-padding) / 4);
1224
1221
  }
1225
- .bglform-address-del[data-v-01e485e2] {
1222
+ .bglform-address-del[data-v-77d03b04] {
1226
1223
  margin-top: 6px;
1227
1224
  }
1228
- .bglform-contact-address-flex[data-v-01e485e2] {
1225
+ .bglform-contact-address-flex[data-v-77d03b04] {
1229
1226
  display: flex;
1230
1227
  gap: 0.5rem;
1231
1228
  }
1232
- .add-btn[data-v-01e485e2] {
1229
+ .add-btn[data-v-77d03b04] {
1233
1230
  display: flex;
1234
1231
  gap: 0.5rem;
1235
1232
  align-items: center;
1236
1233
  margin-inline-start: 1rem;
1237
1234
  }
1238
- .add-btn[data-v-01e485e2]:active {
1235
+ .add-btn[data-v-77d03b04]:active {
1239
1236
  background: none !important;
1240
1237
  }
1241
- .add-btn[data-v-01e485e2]::before {
1238
+ .add-btn[data-v-77d03b04]::before {
1242
1239
  content: "+";
1243
1240
  font-size: 10px;
1244
1241
  background: var(--bgl-blue-light);
@@ -1250,18 +1247,19 @@ th[data-v-f3a410c2] {
1250
1247
  justify-content: center;
1251
1248
  color: var(--bgl-primary);
1252
1249
  }
1253
- .add-btn[data-v-01e485e2]:hover::before {
1250
+ .add-btn[data-v-77d03b04]:hover::before {
1254
1251
  background: var(--bgl-primary);
1255
1252
  color: var(--bgl-white);
1256
1253
  }
1257
1254
  @media screen and (max-width: 910px) {
1258
- .bglform-contact-address-flex[data-v-01e485e2] {
1255
+ .bglform-contact-address-flex[data-v-77d03b04] {
1259
1256
  flex-wrap: wrap;
1260
1257
  }
1261
- .bglform-contact-label[data-v-01e485e2] {
1258
+ .bglform-contact-label[data-v-77d03b04] {
1262
1259
  min-width: 0;
1263
1260
  }
1264
1261
  }
1262
+
1265
1263
  .bglform-contact-confirm {
1266
1264
  position: absolute;
1267
1265
  background: rgba(255, 255, 255, 0.5);
@@ -1274,45 +1272,45 @@ th[data-v-f3a410c2] {
1274
1272
  backdrop-filter: blur(1px);
1275
1273
  }
1276
1274
 
1277
- .bglform-contact[data-v-c63408c1] {
1275
+ .bglform-contact[data-v-a0d366d4] {
1278
1276
  display: flex;
1279
1277
  gap: 0.5rem;
1280
1278
  max-width: 700px;
1281
1279
  position: relative;
1282
1280
  }
1283
- .bglform-contact-label[data-v-c63408c1] {
1281
+ .bglform-contact-label[data-v-a0d366d4] {
1284
1282
  flex-basis: 140px;
1285
1283
  }
1286
- .bglform-contact-address[data-v-c63408c1] {
1284
+ .bglform-contact-address[data-v-a0d366d4] {
1287
1285
  display: flex;
1288
1286
  flex-direction: column;
1289
1287
  gap: 0.5rem;
1290
1288
  }
1291
- .bglform-contact input[type="checkbox"][data-v-c63408c1] {
1289
+ .bglform-contact input[type="checkbox"][data-v-a0d366d4] {
1292
1290
  width: 30px;
1293
1291
  min-width: 0;
1294
1292
  }
1295
- .light.thin.btn-txt.btn[data-v-c63408c1] {
1293
+ .light.thin.flatBtn.btn[data-v-a0d366d4] {
1296
1294
  padding-left: calc(var(--btn-padding) / 4);
1297
1295
  padding-right: calc(var(--btn-padding) / 4);
1298
1296
  }
1299
- .bglform-address-del[data-v-c63408c1] {
1297
+ .bglform-address-del[data-v-a0d366d4] {
1300
1298
  margin-top: 6px;
1301
1299
  }
1302
- .bglform-contact-address-flex[data-v-c63408c1] {
1300
+ .bglform-contact-address-flex[data-v-a0d366d4] {
1303
1301
  display: flex;
1304
1302
  gap: 0.5rem;
1305
1303
  }
1306
- .add-btn[data-v-c63408c1] {
1304
+ .add-btn[data-v-a0d366d4] {
1307
1305
  display: flex;
1308
1306
  gap: 0.5rem;
1309
1307
  align-items: center;
1310
1308
  margin-inline-start: 1rem;
1311
1309
  }
1312
- .add-btn[data-v-c63408c1]:active {
1310
+ .add-btn[data-v-a0d366d4]:active {
1313
1311
  background: none !important;
1314
1312
  }
1315
- .add-btn[data-v-c63408c1]::before {
1313
+ .add-btn[data-v-a0d366d4]::before {
1316
1314
  content: "+";
1317
1315
  font-size: 10px;
1318
1316
  background: var(--bgl-blue-light);
@@ -1324,51 +1322,52 @@ th[data-v-f3a410c2] {
1324
1322
  justify-content: center;
1325
1323
  color: var(--bgl-primary);
1326
1324
  }
1327
- .add-btn[data-v-c63408c1]:hover::before {
1325
+ .add-btn[data-v-a0d366d4]:hover::before {
1328
1326
  background: var(--bgl-primary);
1329
1327
  color: var(--bgl-white);
1330
1328
  }
1331
1329
  @media screen and (max-width: 910px) {
1332
- .bglform-contact-address-flex[data-v-c63408c1] {
1330
+ .bglform-contact-address-flex[data-v-a0d366d4] {
1333
1331
  flex-wrap: wrap;
1334
1332
  }
1335
- .bglform-contact-label[data-v-c63408c1] {
1333
+ .bglform-contact-label[data-v-a0d366d4] {
1336
1334
  min-width: 0;
1337
1335
  }
1338
1336
  }
1339
- .misc-wrap[data-v-91b04350] {
1340
- display: flex;
1341
- gap: 1rem;
1342
- border-top: 1px solid var(--border-color);
1343
- padding-top: 0.5rem;
1344
- margin-bottom: auto;
1337
+
1338
+ .misc-wrap[data-v-a096417d] {
1339
+ display: flex;
1340
+ gap: 1rem;
1341
+ border-top: 1px solid var(--border-color);
1342
+ padding-top: 0.5rem;
1343
+ margin-bottom: auto;
1345
1344
  }
1346
- .gray.thin.btn-txt.btn.add-btn[data-v-91b04350] {
1347
- display: flex;
1348
- gap: 0.5rem;
1349
- align-items: center;
1350
- padding-left: 0;
1351
- padding-right: 0;
1352
- transition: var(--bgl-transition);
1345
+ .gray.thin.flatBtn.btn.add-btn[data-v-a096417d] {
1346
+ display: flex;
1347
+ gap: 0.5rem;
1348
+ align-items: center;
1349
+ padding-left: 0;
1350
+ padding-right: 0;
1351
+ transition: var(--bgl-transition);
1353
1352
  }
1354
- .add-btn[data-v-91b04350]:active {
1355
- background: none !important;
1353
+ .add-btn[data-v-a096417d]:active {
1354
+ background: none !important;
1356
1355
  }
1357
- .add-btn[data-v-91b04350]::before {
1358
- content: "+";
1359
- font-size: 10px;
1360
- background: var(--bgl-gray-light);
1361
- border-radius: 100%;
1362
- height: 14px;
1363
- width: 14px;
1364
- display: flex;
1365
- align-items: center;
1366
- justify-content: center;
1367
- color: var(--bgl-gray);
1356
+ .add-btn[data-v-a096417d]::before {
1357
+ content: "+";
1358
+ font-size: 10px;
1359
+ background: var(--bgl-gray-light);
1360
+ border-radius: 100%;
1361
+ height: 14px;
1362
+ width: 14px;
1363
+ display: flex;
1364
+ align-items: center;
1365
+ justify-content: center;
1366
+ color: var(--bgl-gray);
1368
1367
  }
1369
- .add-btn[data-v-91b04350]:hover::before {
1370
- background: var(--bgl-primary);
1371
- color: var(--bgl-white);
1368
+ .add-btn[data-v-a096417d]:hover::before {
1369
+ background: var(--bgl-primary);
1370
+ color: var(--bgl-white);
1372
1371
  }
1373
1372
 
1374
1373
  .checkbox-label {
@@ -2028,87 +2027,87 @@ input[type='email'][data-v-ed81a514] {
2028
2027
  background: transparent;
2029
2028
  }
2030
2029
 
2031
- .table-side-scroll[data-v-b01223bc] {
2030
+ .table-side-scroll[data-v-1d1376d2] {
2032
2031
  overflow: auto;
2033
2032
  margin-inline-start: -1rem;
2034
2033
  padding-inline-start: 1rem;
2035
2034
  padding-bottom: 1rem;
2036
2035
  }
2037
- .table-field-wrap[data-v-b01223bc] {
2036
+ .table-field-wrap[data-v-1d1376d2] {
2038
2037
  margin-bottom: -1rem;
2039
2038
  }
2040
- .table-cell[data-v-b01223bc] {
2039
+ .table-cell[data-v-1d1376d2] {
2041
2040
  border-inline-end: 1px solid var(--border-color);
2042
2041
  border-bottom: 1px solid var(--border-color);
2043
2042
  }
2044
- .table-row[data-v-b01223bc] {
2043
+ .table-row[data-v-1d1376d2] {
2045
2044
  transition: var(--bgl-transition);
2046
2045
  position: relative;
2047
2046
  width: max-content;
2048
2047
  }
2049
- .table-row[data-v-b01223bc]:hover {
2048
+ .table-row[data-v-1d1376d2]:hover {
2050
2049
  background: var(--bgl-gray-light);
2051
2050
  }
2052
- .table-reorder[data-v-b01223bc] {
2051
+ .table-reorder[data-v-1d1376d2] {
2053
2052
  opacity: 0;
2054
2053
  width: 2rem;
2055
2054
  text-align: center;
2056
2055
  position: absolute;
2057
2056
  margin-inline-start: -2rem;
2058
2057
  }
2059
- .table-row:hover .table-reorder[data-v-b01223bc] {
2058
+ .table-row:hover .table-reorder[data-v-1d1376d2] {
2060
2059
  opacity: 1;
2061
2060
  cursor: grab;
2062
2061
  }
2063
- .table-reorder[data-v-b01223bc]:active {
2062
+ .table-reorder[data-v-1d1376d2]:active {
2064
2063
  opacity: 1;
2065
2064
  cursor: grab;
2066
2065
  }
2067
- .btn.thin.btn-txt[data-v-b01223bc] {
2066
+ .btn.thin.flatBtn[data-v-1d1376d2] {
2068
2067
  margin-inline-start: -1rem;
2069
2068
  margin-top: 1rem;
2070
2069
  }
2071
- .table-header[data-v-b01223bc] {
2070
+ .table-header[data-v-1d1376d2] {
2072
2071
  display: flex;
2073
2072
  width: max-content;
2074
2073
  }
2075
- .header-col[data-v-b01223bc] {
2074
+ .header-col[data-v-1d1376d2] {
2076
2075
  min-width: calc(var(--input-height) * 3);
2077
2076
  font-size: 13px;
2078
2077
  color: var(--input-color);
2079
2078
  padding: 10px 0;
2080
2079
  border-bottom: 1px solid var(--border-color);
2081
2080
  }
2082
- .table-cell[data-v-b01223bc],
2083
- .header-col[data-v-b01223bc] {
2081
+ .table-cell[data-v-1d1376d2],
2082
+ .header-col[data-v-1d1376d2] {
2084
2083
  width: 160px;
2085
2084
  }
2086
- .table-cell.check[data-v-b01223bc],
2087
- .header-col.check[data-v-b01223bc] {
2085
+ .table-cell.check[data-v-1d1376d2],
2086
+ .header-col.check[data-v-1d1376d2] {
2088
2087
  width: 100px;
2089
2088
  }
2090
- .table-cell.date[data-v-b01223bc],
2091
- .header-col.date[data-v-b01223bc] {
2089
+ .table-cell.date[data-v-1d1376d2],
2090
+ .header-col.date[data-v-1d1376d2] {
2092
2091
  width: 140px;
2093
2092
  }
2094
- .header-col.small-text[data-v-b01223bc],
2095
- .header-col.text[data-v-b01223bc],
2096
- .header-col.long-text[data-v-b01223bc],
2097
- .header-col.json[data-v-b01223bc],
2098
- .table-cell.small-text[data-v-b01223bc],
2099
- .table-cell.text[data-v-b01223bc],
2100
- .table-cell.long-text[data-v-b01223bc],
2101
- .table-cell.json[data-v-b01223bc] {
2093
+ .header-col.small-text[data-v-1d1376d2],
2094
+ .header-col.text[data-v-1d1376d2],
2095
+ .header-col.long-text[data-v-1d1376d2],
2096
+ .header-col.json[data-v-1d1376d2],
2097
+ .table-cell.small-text[data-v-1d1376d2],
2098
+ .table-cell.text[data-v-1d1376d2],
2099
+ .table-cell.long-text[data-v-1d1376d2],
2100
+ .table-cell.json[data-v-1d1376d2] {
2102
2101
  width: 240px;
2103
2102
  }
2104
- .table-cell.small-text .bagel-input[data-v-b01223bc],
2105
- .table-cell.text .bagel-input[data-v-b01223bc],
2106
- .table-cell.long-text .bagel-input[data-v-b01223bc],
2107
- .table-cell.json .bagel-input[data-v-b01223bc] {
2103
+ .table-cell.small-text .bagel-input[data-v-1d1376d2],
2104
+ .table-cell.text .bagel-input[data-v-1d1376d2],
2105
+ .table-cell.long-text .bagel-input[data-v-1d1376d2],
2106
+ .table-cell.json .bagel-input[data-v-1d1376d2] {
2108
2107
  height: 40px;
2109
2108
  overflow: auto;
2110
2109
  }
2111
- .table-action[data-v-b01223bc] {
2110
+ .table-action[data-v-1d1376d2] {
2112
2111
  text-align: center;
2113
2112
  position: sticky;
2114
2113
  opacity: 0;
@@ -2118,19 +2117,19 @@ input[type='email'][data-v-ed81a514] {
2118
2117
  margin-top: -1px;
2119
2118
  background: var(--border-color);
2120
2119
  }
2121
- .table-action>.icon-font[data-v-b01223bc] {
2120
+ .table-action>.icon-font[data-v-1d1376d2] {
2122
2121
  padding: 11.4px;
2123
2122
  cursor: pointer;
2124
2123
  transition: var(--bgl-transition);
2125
2124
  }
2126
- .table-action:hover>.icon-font[data-v-b01223bc] {
2125
+ .table-action:hover>.icon-font[data-v-1d1376d2] {
2127
2126
  background: var(--bgl-red);
2128
2127
  color: var(--bgl-white);
2129
2128
  }
2130
- .table-action:active>.icon-font[data-v-b01223bc] {
2129
+ .table-action:active>.icon-font[data-v-1d1376d2] {
2131
2130
  filter: brightness(90%);
2132
2131
  }
2133
- .table-row:hover .table-action[data-v-b01223bc] {
2132
+ .table-row:hover .table-action[data-v-1d1376d2] {
2134
2133
  opacity: 1;
2135
2134
  }
2136
2135
 
@@ -3026,11 +3025,11 @@ label.active {
3026
3025
  .label-count-0 label {
3027
3026
  display: none;
3028
3027
  }
3029
- .label-count-0 button.btn.btn-txt {
3028
+ .label-count-0 button.btn.flatBtn {
3030
3029
  /* background: var(--bgl-blue-light); */
3031
3030
  margin-right: 5px;
3032
3031
  }
3033
- .label-count-0 button.btn.btn-txt:hover {
3032
+ .label-count-0 button.btn.flatBtn:hover {
3034
3033
  background: var(--bgl-hover-filter);
3035
3034
  }
3036
3035
  .formkit-outer.label-count-0 {
@@ -3081,7 +3080,7 @@ input[type="color"]::-moz-color-swatch:hover {
3081
3080
  }
3082
3081
  button,
3083
3082
  .btn,
3084
- .btn-txt,
3083
+ .flatBtn,
3085
3084
  .btn-icon {
3086
3085
  font-family: inherit;
3087
3086
  white-space: nowrap;
@@ -4,5 +4,5 @@ export type { Tables, TableToTypeMapping } from '@bagelink/sdk';
4
4
  export type { StorageFile } from './file';
5
5
  export * from './BagelField';
6
6
  export * from './BtnOptions';
7
- export type ThemeType = 'light' | 'red' | 'gray' | 'gray-light' | 'black' | 'green';
7
+ export type ThemeType = 'light' | 'red' | 'gray' | 'gray-light' | 'black' | 'green' | 'blue';
8
8
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/types/index.ts"],"names":[],"mappings":"AAAA,YAAY,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AACrD,YAAY,EAAE,oBAAoB,EAAE,SAAS,EAAE,MAAM,EAAE,MAAM,UAAU,CAAC;AACxE,YAAY,EAAE,MAAM,EAAE,kBAAkB,EAAE,MAAM,eAAe,CAAC;AAChE,YAAY,EAAE,WAAW,EAAE,MAAM,QAAQ,CAAC;AAC1C,cAAc,cAAc,CAAC;AAC7B,cAAc,cAAc,CAAC;AAE7B,MAAM,MAAM,SAAS,GAAG,OAAO,GAAG,KAAK,GAAG,MAAM,GAAG,YAAY,GAAG,OAAO,GAAG,OAAO,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/types/index.ts"],"names":[],"mappings":"AAAA,YAAY,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AACrD,YAAY,EAAE,oBAAoB,EAAE,SAAS,EAAE,MAAM,EAAE,MAAM,UAAU,CAAC;AACxE,YAAY,EAAE,MAAM,EAAE,kBAAkB,EAAE,MAAM,eAAe,CAAC;AAChE,YAAY,EAAE,WAAW,EAAE,MAAM,QAAQ,CAAC;AAC1C,cAAc,cAAc,CAAC;AAC7B,cAAc,cAAc,CAAC;AAE7B,MAAM,MAAM,SAAS,GAAG,OAAO,GAAG,KAAK,GAAG,MAAM,GAAG,YAAY,GAAG,OAAO,GAAG,OAAO,GAAE,MAAM,CAAC"}
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@bagelink/vue",
3
3
  "type": "module",
4
- "version": "0.0.196",
4
+ "version": "0.0.200",
5
5
  "description": "Bagel core sdk packages",
6
6
  "author": {
7
7
  "name": "Neveh Allon",
@@ -10,7 +10,7 @@
10
10
  btn: !icon || slots['default'] || value,
11
11
  thin,
12
12
  round,
13
- 'btn-txt': flat,
13
+ 'flatBtn': flat,
14
14
  'btn-border': border
15
15
  }"
16
16
  >
@@ -62,7 +62,6 @@ const props = withDefaults(
62
62
  to?: string;
63
63
  round?: boolean;
64
64
  is?: string;
65
- borderColor?: string
66
65
  }>(),
67
66
  {
68
67
  loading: false,
@@ -74,23 +73,35 @@ const props = withDefaults(
74
73
  },
75
74
  );
76
75
 
77
- const computedTheme = $computed(() => (props?.color || props?.theme));
76
+ const computedTheme = $computed(
77
+ () => (props?.color || props?.theme)
78
+ );
78
79
 
79
80
  const computedDefaultColors = $computed(
80
81
  () => ({
81
82
  backgroundColor: 'var(--bgl-primary)',
82
83
  color: props.flat ? 'var(--bgl-black)' : 'var(--bgl-white)'
83
- }
84
- )
84
+ })
85
85
  )
86
86
 
87
+ function getThemeColors(theme: Partial<typeof computedDefaultColors>): typeof computedDefaultColors {
88
+ return ({
89
+ ...computedDefaultColors,
90
+ ...theme,
91
+ color: props.flat
92
+ ? theme.backgroundColor as string
93
+ : theme.color as string,
94
+ })
95
+ }
96
+
87
97
  const themes: { [key in ThemeType]: typeof computedDefaultColors } = {
88
- red: { ...computedDefaultColors, backgroundColor: 'var(--bgl-red)', },
89
- black: { ...computedDefaultColors, backgroundColor: 'var(--bgl-black)' },
90
- green: { ...computedDefaultColors, backgroundColor: 'var(--bgl-green)', color: 'var(--bgl-white)' },
91
- gray: { ...computedDefaultColors, backgroundColor: 'var(--bgl-gray-light)', color: 'var(--bgl-black)' },
92
- light: { ...computedDefaultColors, backgroundColor: 'var(--bgl-primary-light)', color: 'var(--bgl-primary)' },
93
- 'gray-light': { ...computedDefaultColors, backgroundColor: 'var(--bgl-gray-light)', color: 'var(--bgl-gray)' },
98
+ red: getThemeColors({ backgroundColor: 'var(--bgl-red)' }),
99
+ black: getThemeColors({ backgroundColor: 'var(--bgl-black)' }),
100
+ green: getThemeColors({ backgroundColor: 'var(--bgl-green)', color: 'var(--bgl-white)' }),
101
+ blue: getThemeColors({ backgroundColor: 'var(--bgl-blue)', color: 'var(--bgl-white)' }),
102
+ gray: getThemeColors({ backgroundColor: 'var(--bgl-gray-light)', color: 'var(--bgl-black)' }),
103
+ light: getThemeColors({ backgroundColor: 'var(--bgl-primary-light)', color: 'var(--bgl-primary)' }),
104
+ 'gray-light': getThemeColors({ backgroundColor: 'var(--bgl-gray-light)', color: 'var(--bgl-gray)' }),
94
105
  };
95
106
 
96
107
  const cumputedTextColor = $computed(
@@ -135,8 +146,6 @@ const computedBackgroundColor = $computed(
135
146
  }
136
147
 
137
148
  .btn {
138
- background: var(--bgl-primary);
139
- color: var(--bgl-white);
140
149
  padding-left: var(--btn-padding);
141
150
  padding-right: var(--btn-padding);
142
151
  transition: var(--bgl-transition);
@@ -159,6 +168,12 @@ const computedBackgroundColor = $computed(
159
168
  font-size: calc(var(--input-font-size) * 1.3);
160
169
  }
161
170
 
171
+ .btn,
172
+ .btn-icon {
173
+ background-color: v-bind(computedBackgroundColor);
174
+ color: v-bind(cumputedTextColor);
175
+ }
176
+
162
177
  .btn:hover,
163
178
  .btn-icon:hover {
164
179
  filter: var(--bgl-hover-filter);
@@ -169,53 +184,45 @@ const computedBackgroundColor = $computed(
169
184
  filter: var(--bgl-active-filter);
170
185
  }
171
186
 
172
- .btn,
173
- .btn-icon {
174
- background-color: v-bind(computedBackgroundColor);
175
- color: v-bind(cumputedTextColor);
176
187
 
177
- }
178
-
179
- .btn.btn-txt {
180
- color: var(--bgl-primary);
188
+ .btn.flatBtn {
181
189
  padding-left: var(--btn-padding);
182
190
  padding-right: var(--btn-padding);
183
191
  background: transparent;
184
192
  }
185
193
 
186
- .btn-icon.btn-txt {
187
- color: var(--bgl-primary);
194
+ .btn-icon.flatBtn {
188
195
  background: transparent;
189
196
  }
190
197
 
191
- .btn.btn-txt:hover,
192
- .btn-icon.btn-txt:hover {
198
+ .btn.flatBtn:hover,
199
+ .btn-icon.flatBtn:hover {
193
200
  filter: var(--bgl-active-filter);
194
201
  }
195
202
 
196
- .btn.btn-txt:active,
197
- .btn-icon.btn-txt:active {
203
+ .btn.flatBtn:active,
204
+ .btn-icon.flatBtn:active {
198
205
  background: var(--bgl-white);
199
206
  filter: var(--bgl-hover-filter);
200
207
  }
201
208
 
202
- .btn.btn-txt.red,
203
- .btn-icon.btn-txt.red {
209
+ .btn.flatBtn.red,
210
+ .btn-icon.flatBtn.red {
204
211
  color: var(--bgl-red);
205
212
  }
206
213
 
207
- .btn.btn-txt.light,
208
- .btn-icon.btn-txt.light {
214
+ .btn.flatBtn.light,
215
+ .btn-icon.flatBtn.light {
209
216
  color: var(--bgl-primary-tint);
210
217
  }
211
218
 
212
- .btn.btn-txt.black,
213
- .btn-icon.btn-txt.black {
219
+ .btn.flatBtn.black,
220
+ .btn-icon.flatBtn.black {
214
221
  color: var(--bgl-black);
215
222
  }
216
223
 
217
- .btn.btn-txt.gray,
218
- .btn-icon.btn-txt.gray {
224
+ .btn.flatBtn.gray,
225
+ .btn-icon.flatBtn.gray {
219
226
  color: var(--bgl-gray);
220
227
  }
221
228
 
@@ -241,11 +248,11 @@ const computedBackgroundColor = $computed(
241
248
  .btn-border {
242
249
  outline: 1px solid v-bind(computedBackgroundColor);
243
250
  color: v-bind(computedBackgroundColor);
244
- background: var(--bgl-white);
251
+ background: transparent;
245
252
  }
246
253
 
247
254
  .btn-border:hover {
248
- color: v-bind(cumputedTextColor);
255
+ color: var(--bgl-white);
249
256
  background: v-bind(computedBackgroundColor);
250
257
  filter: brightness(100%);
251
258
  }
@@ -193,7 +193,7 @@ onMounted(() => {
193
193
  cursor: grab;
194
194
  }
195
195
 
196
- .btn.thin.btn-txt {
196
+ .btn.thin.flatBtn {
197
197
  margin-inline-start: -1rem;
198
198
  margin-top: 1rem;
199
199
  }
@@ -195,7 +195,7 @@ watch(
195
195
  min-width: 0;
196
196
  }
197
197
 
198
- .light.thin.btn-txt.btn {
198
+ .light.thin.flatBtn.btn {
199
199
  padding-left: calc(var(--btn-padding) / 4);
200
200
  padding-right: calc(var(--btn-padding) / 4);
201
201
  }
@@ -246,4 +246,5 @@ watch(
246
246
  .bglform-contact-label {
247
247
  min-width: 0;
248
248
  }
249
- }</style>
249
+ }
250
+ </style>
@@ -219,7 +219,7 @@ watch(
219
219
  min-width: 0;
220
220
  }
221
221
 
222
- .light.thin.btn-txt.btn {
222
+ .light.thin.flatBtn.btn {
223
223
  padding-left: calc(var(--btn-padding) / 4);
224
224
  padding-right: calc(var(--btn-padding) / 4);
225
225
  }
@@ -270,4 +270,5 @@ watch(
270
270
  .bglform-contact-label {
271
271
  min-width: 0;
272
272
  }
273
- }</style>
273
+ }
274
+ </style>
@@ -161,7 +161,7 @@ watch(
161
161
  min-width: 0;
162
162
  }
163
163
 
164
- .light.thin.btn-txt.btn {
164
+ .light.thin.flatBtn.btn {
165
165
  padding-left: calc(var(--btn-padding) / 4);
166
166
  padding-right: calc(var(--btn-padding) / 4);
167
167
  }
@@ -199,4 +199,5 @@ watch(
199
199
  .bglform-contact-label {
200
200
  min-width: 0;
201
201
  }
202
- }</style>
202
+ }
203
+ </style>
@@ -1,74 +1,74 @@
1
1
  <template>
2
- <div class="misc-wrap">
3
- <Btn
4
- class="add-btn"
5
- color="gray"
6
- flat
7
- @click="addToField(field)"
8
- v-for="(field, i) in fields.filter(
2
+ <div class="misc-wrap">
3
+ <Btn
4
+ class="add-btn"
5
+ color="gray"
6
+ flat
7
+ @click="addToField(field)"
8
+ v-for="(field, i) in fields.filter(
9
9
  (field: any) => field.value?.length === 0,
10
10
  )"
11
- :key="i"
12
- thin
13
- >
14
- {{ addBtnLabel }} {{ field.context?.label }}
15
- </Btn>
16
- </div>
11
+ :key="i"
12
+ thin
13
+ >
14
+ {{ addBtnLabel }} {{ field.context?.label }}
15
+ </Btn>
16
+ </div>
17
17
  </template>
18
18
 
19
19
  <script lang="ts" setup>
20
20
  import { Btn } from "@bagelink/vue";
21
21
 
22
22
  const props = defineProps<{
23
- context: Record<string, any>;
24
- addBtnLabel: string;
23
+ context: Record<string, any>;
24
+ addBtnLabel: string;
25
25
  }>();
26
26
 
27
27
  const fields = $computed(() => props.context?.node?.parent?.children || []);
28
28
 
29
29
  const addToField = (field: any) => {
30
- field.input([{}]);
31
- console.log(fields);
30
+ field.input([{}]);
31
+ console.log(fields);
32
32
  };
33
33
  </script>
34
34
 
35
35
  <style scoped>
36
36
  .misc-wrap {
37
- display: flex;
38
- gap: 1rem;
39
- border-top: 1px solid var(--border-color);
40
- padding-top: 0.5rem;
41
- margin-bottom: auto;
37
+ display: flex;
38
+ gap: 1rem;
39
+ border-top: 1px solid var(--border-color);
40
+ padding-top: 0.5rem;
41
+ margin-bottom: auto;
42
42
  }
43
43
 
44
- .gray.thin.btn-txt.btn.add-btn {
45
- display: flex;
46
- gap: 0.5rem;
47
- align-items: center;
48
- padding-left: 0;
49
- padding-right: 0;
50
- transition: var(--bgl-transition);
44
+ .gray.thin.flatBtn.btn.add-btn {
45
+ display: flex;
46
+ gap: 0.5rem;
47
+ align-items: center;
48
+ padding-left: 0;
49
+ padding-right: 0;
50
+ transition: var(--bgl-transition);
51
51
  }
52
52
 
53
53
  .add-btn:active {
54
- background: none !important;
54
+ background: none !important;
55
55
  }
56
56
 
57
57
  .add-btn::before {
58
- content: "+";
59
- font-size: 10px;
60
- background: var(--bgl-gray-light);
61
- border-radius: 100%;
62
- height: 14px;
63
- width: 14px;
64
- display: flex;
65
- align-items: center;
66
- justify-content: center;
67
- color: var(--bgl-gray);
58
+ content: "+";
59
+ font-size: 10px;
60
+ background: var(--bgl-gray-light);
61
+ border-radius: 100%;
62
+ height: 14px;
63
+ width: 14px;
64
+ display: flex;
65
+ align-items: center;
66
+ justify-content: center;
67
+ color: var(--bgl-gray);
68
68
  }
69
69
 
70
70
  .add-btn:hover::before {
71
- background: var(--bgl-primary);
72
- color: var(--bgl-white);
71
+ background: var(--bgl-primary);
72
+ color: var(--bgl-white);
73
73
  }
74
74
  </style>
@@ -1,6 +1,6 @@
1
1
  button,
2
2
  .btn,
3
- .btn-txt,
3
+ .flatBtn,
4
4
  .btn-icon {
5
5
  font-family: inherit;
6
6
  white-space: nowrap;
@@ -291,12 +291,12 @@ label.active {
291
291
  display: none;
292
292
  }
293
293
 
294
- .label-count-0 button.btn.btn-txt {
294
+ .label-count-0 button.btn.flatBtn {
295
295
  /* background: var(--bgl-blue-light); */
296
296
  margin-right: 5px;
297
297
  }
298
298
 
299
- .label-count-0 button.btn.btn-txt:hover {
299
+ .label-count-0 button.btn.flatBtn:hover {
300
300
  background: var(--bgl-hover-filter);
301
301
  }
302
302
 
@@ -5,4 +5,4 @@ export type { StorageFile } from './file';
5
5
  export * from './BagelField';
6
6
  export * from './BtnOptions';
7
7
 
8
- export type ThemeType = 'light' | 'red' | 'gray' | 'gray-light' | 'black' | 'green';
8
+ export type ThemeType = 'light' | 'red' | 'gray' | 'gray-light' | 'black' | 'green'| 'blue';