@bagelink/vue 0.0.625 → 0.0.627

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.
@@ -1 +1 @@
1
- {"version":3,"file":"DataPreview.vue.d.ts","sourceRoot":"","sources":["../../src/components/DataPreview.vue"],"names":[],"mappings":"AAEA,OAAO,EAEN,KAAK,cAAc,EAKnB,MAAM,eAAe,CAAA;AA8CtB,iBAAS,cAAc;oBA0LM,GAAG;EAG/B;AAwBD,QAAA,MAAM,eAAe;UA3Nb,OAAO,KAAK,EAAE,QAAQ,CAAC,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC;;;;;;;;;;;;;;UAA3C,OAAO,KAAK,EAAE,QAAQ,CAAC,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC;;;;;;;;;;;;;YAyOjD,CAAC;wBACkB,uBAAuB,CAAC,OAAO,eAAe,EAAE,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAAvG,wBAAwG;AAGxG,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAAE,QAAO;QAClD,MAAM,EAAE,CAAC,CAAC;KACT,CAAA;CAAE,CAAC"}
1
+ {"version":3,"file":"DataPreview.vue.d.ts","sourceRoot":"","sources":["../../src/components/DataPreview.vue"],"names":[],"mappings":"AAEA,OAAO,EAEN,KAAK,cAAc,EAMnB,MAAM,eAAe,CAAA;AA6CtB,iBAAS,cAAc;oBA0LM,GAAG;EAG/B;AAwBD,QAAA,MAAM,eAAe;UA3Nb,OAAO,KAAK,EAAE,QAAQ,CAAC,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC;;;;;;;;;;;;;;UAA3C,OAAO,KAAK,EAAE,QAAQ,CAAC,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC;;;;;;;;;;;;;YAyOjD,CAAC;wBACkB,uBAAuB,CAAC,OAAO,eAAe,EAAE,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAAvG,wBAAwG;AAGxG,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":"Lineart.vue.d.ts","sourceRoot":"","sources":["../../../src/components/dashboard/Lineart.vue"],"names":[],"mappings":"AAWA,OAAO,KAAK,EAAa,IAAI,EAAE,MAAM,wBAAwB,CAAA;;UA+SV,IAAI,EAAE;YAAU,MAAM;;UAAtB,IAAI,EAAE;YAAU,MAAM;;AALzE,wBAMG;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":"Lineart.vue.d.ts","sourceRoot":"","sources":["../../../src/components/dashboard/Lineart.vue"],"names":[],"mappings":"AAUA,OAAO,KAAK,EAAa,IAAI,EAAE,MAAM,wBAAwB,CAAA;;UAgTV,IAAI,EAAE;YAAU,MAAM;;UAAtB,IAAI,EAAE;YAAU,MAAM;;AALzE,wBAMG;AACH,KAAK,sBAAsB,CAAC,CAAC,IAAI,CAAC,SAAS,SAAS,GAAG,KAAK,GAAG,CAAC,CAAC;AACjE,KAAK,6BAA6B,CAAC,CAAC,IAAI;KAAG,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I;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"}
package/dist/index.cjs CHANGED
@@ -6679,7 +6679,7 @@ const _sfc_main$C = /* @__PURE__ */ vue.defineComponent({
6679
6679
  dataValue[key] = dataTransform(dataValue[key]);
6680
6680
  });
6681
6681
  }
6682
- if (typeof dataValue === "string" && /\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}/.test(dataValue)) {
6682
+ if (isDate$1(dataValue)) {
6683
6683
  const date2 = new Date(dataValue);
6684
6684
  return date2.toDateString();
6685
6685
  }
@@ -6734,7 +6734,7 @@ const _sfc_main$C = /* @__PURE__ */ vue.defineComponent({
6734
6734
  };
6735
6735
  }
6736
6736
  });
6737
- const DataPreview = /* @__PURE__ */ _export_sfc(_sfc_main$C, [["__scopeId", "data-v-d3655508"]]);
6737
+ const DataPreview = /* @__PURE__ */ _export_sfc(_sfc_main$C, [["__scopeId", "data-v-4d174f13"]]);
6738
6738
  const _hoisted_1$z = {
6739
6739
  key: 0,
6740
6740
  class: "card_label"
@@ -28705,7 +28705,7 @@ const _sfc_main$i = /* @__PURE__ */ vue.defineComponent({
28705
28705
  };
28706
28706
  }
28707
28707
  });
28708
- const Checkbox = /* @__PURE__ */ _export_sfc(_sfc_main$i, [["__scopeId", "data-v-0878583e"]]);
28708
+ const Checkbox = /* @__PURE__ */ _export_sfc(_sfc_main$i, [["__scopeId", "data-v-bf11f9a2"]]);
28709
28709
  const _hoisted_1$m = ["title"];
28710
28710
  const _hoisted_2$h = ["id", "placeholder", "required"];
28711
28711
  const _sfc_main$h = /* @__PURE__ */ vue.defineComponent({
@@ -41491,7 +41491,7 @@ const getTextContentFromNodes = ($from, maxMatch = 500) => {
41491
41491
  parent,
41492
41492
  index: index2
41493
41493
  })) || node.textContent || "%leaf%";
41494
- textBefore += node.isAtom ? chunk : chunk.slice(0, Math.max(0, sliceEndPos - pos));
41494
+ textBefore += node.isAtom && !node.isText ? chunk : chunk.slice(0, Math.max(0, sliceEndPos - pos));
41495
41495
  });
41496
41496
  return textBefore;
41497
41497
  };
@@ -49956,11 +49956,10 @@ const EditorContent = vue.defineComponent({
49956
49956
  if (instance) {
49957
49957
  editor.appContext = {
49958
49958
  ...instance.appContext,
49959
- provides: {
49960
- // @ts-ignore
49961
- ...instance.provides,
49962
- ...instance.appContext.provides
49963
- }
49959
+ // Vue internally uses prototype chain to forward/shadow injects across the entire component chain
49960
+ // so don't use object spread operator or 'Object.assign' and just set `provides` as is on editor's appContext
49961
+ // @ts-expect-error forward instance's 'provides' into appContext
49962
+ provides: instance.provides
49964
49963
  };
49965
49964
  }
49966
49965
  editor.setOptions({
@@ -52880,10 +52879,7 @@ const Table = Node$2.create({
52880
52879
  columnResizing({
52881
52880
  handleWidth: this.options.handleWidth,
52882
52881
  cellMinWidth: this.options.cellMinWidth,
52883
- // @ts-ignore (incorrect type)
52884
52882
  View: this.options.View,
52885
- // TODO: PR for @types/prosemirror-tables
52886
- // @ts-ignore (incorrect type)
52887
52883
  lastColumnResizable: this.options.lastColumnResizable
52888
52884
  })
52889
52885
  ] : [],
@@ -56367,7 +56363,7 @@ const _sfc_main$a = /* @__PURE__ */ vue.defineComponent({
56367
56363
  function resizeCanvas(c2) {
56368
56364
  let url;
56369
56365
  if (!isEmpty2()) url = save2();
56370
- const ratio = props2.ratio || 1 / 2;
56366
+ const ratio = props2.ratio ?? 1 / 2;
56371
56367
  const { width } = c2.getBoundingClientRect();
56372
56368
  c2.width = props2.width ? Number(props2.width.replace(/px/g, "")) : width;
56373
56369
  c2.height = props2.height ? Number(props2.height.replace(/px/g, "")) : width * ratio;
@@ -63230,7 +63226,7 @@ const _sfc_main$2 = /* @__PURE__ */ vue.defineComponent({
63230
63226
  };
63231
63227
  }
63232
63228
  });
63233
- const TabsNav = /* @__PURE__ */ _export_sfc(_sfc_main$2, [["__scopeId", "data-v-718e118e"]]);
63229
+ const TabsNav = /* @__PURE__ */ _export_sfc(_sfc_main$2, [["__scopeId", "data-v-38a31955"]]);
63234
63230
  const _hoisted_1$1 = { key: 0 };
63235
63231
  const _sfc_main$1 = /* @__PURE__ */ vue.defineComponent({
63236
63232
  __name: "TabsBody",
package/dist/index.mjs CHANGED
@@ -6677,7 +6677,7 @@ const _sfc_main$C = /* @__PURE__ */ defineComponent({
6677
6677
  dataValue[key] = dataTransform(dataValue[key]);
6678
6678
  });
6679
6679
  }
6680
- if (typeof dataValue === "string" && /\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}/.test(dataValue)) {
6680
+ if (isDate$1(dataValue)) {
6681
6681
  const date2 = new Date(dataValue);
6682
6682
  return date2.toDateString();
6683
6683
  }
@@ -6732,7 +6732,7 @@ const _sfc_main$C = /* @__PURE__ */ defineComponent({
6732
6732
  };
6733
6733
  }
6734
6734
  });
6735
- const DataPreview = /* @__PURE__ */ _export_sfc(_sfc_main$C, [["__scopeId", "data-v-d3655508"]]);
6735
+ const DataPreview = /* @__PURE__ */ _export_sfc(_sfc_main$C, [["__scopeId", "data-v-4d174f13"]]);
6736
6736
  const _hoisted_1$z = {
6737
6737
  key: 0,
6738
6738
  class: "card_label"
@@ -28703,7 +28703,7 @@ const _sfc_main$i = /* @__PURE__ */ defineComponent({
28703
28703
  };
28704
28704
  }
28705
28705
  });
28706
- const Checkbox = /* @__PURE__ */ _export_sfc(_sfc_main$i, [["__scopeId", "data-v-0878583e"]]);
28706
+ const Checkbox = /* @__PURE__ */ _export_sfc(_sfc_main$i, [["__scopeId", "data-v-bf11f9a2"]]);
28707
28707
  const _hoisted_1$m = ["title"];
28708
28708
  const _hoisted_2$h = ["id", "placeholder", "required"];
28709
28709
  const _sfc_main$h = /* @__PURE__ */ defineComponent({
@@ -41489,7 +41489,7 @@ const getTextContentFromNodes = ($from, maxMatch = 500) => {
41489
41489
  parent,
41490
41490
  index: index2
41491
41491
  })) || node.textContent || "%leaf%";
41492
- textBefore += node.isAtom ? chunk : chunk.slice(0, Math.max(0, sliceEndPos - pos));
41492
+ textBefore += node.isAtom && !node.isText ? chunk : chunk.slice(0, Math.max(0, sliceEndPos - pos));
41493
41493
  });
41494
41494
  return textBefore;
41495
41495
  };
@@ -49954,11 +49954,10 @@ const EditorContent = defineComponent({
49954
49954
  if (instance) {
49955
49955
  editor.appContext = {
49956
49956
  ...instance.appContext,
49957
- provides: {
49958
- // @ts-ignore
49959
- ...instance.provides,
49960
- ...instance.appContext.provides
49961
- }
49957
+ // Vue internally uses prototype chain to forward/shadow injects across the entire component chain
49958
+ // so don't use object spread operator or 'Object.assign' and just set `provides` as is on editor's appContext
49959
+ // @ts-expect-error forward instance's 'provides' into appContext
49960
+ provides: instance.provides
49962
49961
  };
49963
49962
  }
49964
49963
  editor.setOptions({
@@ -52878,10 +52877,7 @@ const Table = Node$2.create({
52878
52877
  columnResizing({
52879
52878
  handleWidth: this.options.handleWidth,
52880
52879
  cellMinWidth: this.options.cellMinWidth,
52881
- // @ts-ignore (incorrect type)
52882
52880
  View: this.options.View,
52883
- // TODO: PR for @types/prosemirror-tables
52884
- // @ts-ignore (incorrect type)
52885
52881
  lastColumnResizable: this.options.lastColumnResizable
52886
52882
  })
52887
52883
  ] : [],
@@ -56365,7 +56361,7 @@ const _sfc_main$a = /* @__PURE__ */ defineComponent({
56365
56361
  function resizeCanvas(c2) {
56366
56362
  let url;
56367
56363
  if (!isEmpty2()) url = save2();
56368
- const ratio = props2.ratio || 1 / 2;
56364
+ const ratio = props2.ratio ?? 1 / 2;
56369
56365
  const { width } = c2.getBoundingClientRect();
56370
56366
  c2.width = props2.width ? Number(props2.width.replace(/px/g, "")) : width;
56371
56367
  c2.height = props2.height ? Number(props2.height.replace(/px/g, "")) : width * ratio;
@@ -63228,7 +63224,7 @@ const _sfc_main$2 = /* @__PURE__ */ defineComponent({
63228
63224
  };
63229
63225
  }
63230
63226
  });
63231
- const TabsNav = /* @__PURE__ */ _export_sfc(_sfc_main$2, [["__scopeId", "data-v-718e118e"]]);
63227
+ const TabsNav = /* @__PURE__ */ _export_sfc(_sfc_main$2, [["__scopeId", "data-v-38a31955"]]);
63232
63228
  const _hoisted_1$1 = { key: 0 };
63233
63229
  const _sfc_main$1 = /* @__PURE__ */ defineComponent({
63234
63230
  __name: "TabsBody",
package/dist/style.css CHANGED
@@ -865,25 +865,25 @@ tbody tr[data-v-d01cb754]:hover {
865
865
  background: var(--bgl-gray-light);
866
866
  }
867
867
 
868
- data[data-v-d3655508] {
868
+ data[data-v-4d174f13] {
869
869
  font-size: var(--input-font-size);
870
870
  border: 1.1px solid var(--border-color);
871
871
  padding: 20px;
872
872
  border-radius: var(--input-border-radius);
873
873
  }
874
- .data-row[data-v-d3655508] {
874
+ .data-row[data-v-4d174f13] {
875
875
  display: flex;
876
876
  justify-content: space-between;
877
877
  border-bottom: 1px solid var(--border-color);
878
878
  align-items: center;
879
879
  min-height: 50px;
880
880
  }
881
- .data-row .bagel-input.shrink[data-v-d3655508],
882
- .data-row .bagel-input.shrink input[data-v-d3655508] {
881
+ .data-row .bagel-input.shrink[data-v-4d174f13],
882
+ .data-row .bagel-input.shrink input[data-v-4d174f13] {
883
883
  min-width: 140px !important;
884
884
  /* margin-top: -0.45rem !important; */
885
885
  }
886
- .data-link[data-v-d3655508] {
886
+ .data-link[data-v-4d174f13] {
887
887
  display: block;
888
888
  font-size: var(--input-font-size);
889
889
  margin-bottom: 2px;
@@ -891,7 +891,7 @@ data[data-v-d3655508] {
891
891
  color: var(--input-color);
892
892
  }
893
893
  @media screen and (max-width: 910px) {
894
- .data-row[data-v-d3655508] {
894
+ .data-row[data-v-4d174f13] {
895
895
  display: block;
896
896
  /* min-height: 80px; */
897
897
  padding-bottom: 1rem;
@@ -2212,11 +2212,11 @@ svg.leaflet-image-layer.leaflet-interactive path {
2212
2212
  height: 30px;
2213
2213
  }
2214
2214
 
2215
- .primary-checkbox input[data-v-0878583e] {
2215
+ .primary-checkbox input[data-v-bf11f9a2] {
2216
2216
  appearance: none;
2217
2217
  accent-color: var(--bgl-primary);
2218
- height: calc(var(--input-height) / 2.75);
2219
- width: calc(var(--input-height) / 2.75);
2218
+ height: calc(var(--input-height) / 1.75);
2219
+ width: calc(var(--input-height) / 1.75);
2220
2220
  min-width: 0;
2221
2221
  display: flex;
2222
2222
  justify-content: center;
@@ -2224,9 +2224,9 @@ svg.leaflet-image-layer.leaflet-interactive path {
2224
2224
  cursor: pointer;
2225
2225
  border-radius: 100%;
2226
2226
  background: var(--bgl-white);
2227
- border: 2px solid var(--input-bg);
2227
+ border: 2px solid var(--bgl-gray);
2228
2228
  }
2229
- .primary-checkbox[data-v-0878583e] {
2229
+ .primary-checkbox[data-v-bf11f9a2] {
2230
2230
  height:var(--input-height);
2231
2231
  width:var(--input-height);
2232
2232
  display: flex;
@@ -2235,14 +2235,15 @@ svg.leaflet-image-layer.leaflet-interactive path {
2235
2235
  transition: var(--bgl-transition);
2236
2236
  transform: scale(0.8);
2237
2237
  }
2238
- .primary-checkbox[data-v-0878583e]:hover {
2238
+ .primary-checkbox[data-v-bf11f9a2]:hover {
2239
2239
  filter: brightness(90%);
2240
2240
  }
2241
- .primary-checkbox[data-v-0878583e]:active {
2241
+ .primary-checkbox[data-v-bf11f9a2]:active {
2242
2242
  filter: brightness(80%);
2243
2243
  }
2244
- .primary-checkbox input[data-v-0878583e]:checked {
2244
+ .primary-checkbox input[data-v-bf11f9a2]:checked {
2245
2245
  background: var(--bgl-primary);
2246
+ box-shadow: inset 0 0 0px 2px white;
2246
2247
  }
2247
2248
 
2248
2249
  .datetime-wrap {
@@ -2984,7 +2985,7 @@ input[type="number"][data-v-4c741194] {
2984
2985
  color: var(--bgl-primary) !important;
2985
2986
  }
2986
2987
 
2987
- .bgl_tabs_wrap[data-v-718e118e] {
2988
+ .bgl_tabs_wrap[data-v-38a31955] {
2988
2989
  background: var(--input-bg);
2989
2990
  border-radius: calc(var(--input-border-radius) * 1.4);
2990
2991
  padding-inline: calc(var(--btn-padding) / 8);
@@ -2992,7 +2993,7 @@ input[type="number"][data-v-4c741194] {
2992
2993
  box-shadow: inset 0 0 10px #00000012;
2993
2994
  gap: 0.25rem;
2994
2995
  }
2995
- .bgl_tab[data-v-718e118e] {
2996
+ .bgl_tab[data-v-38a31955] {
2996
2997
  border: none;
2997
2998
  background: transparent;
2998
2999
  cursor: pointer;
@@ -3003,10 +3004,10 @@ input[type="number"][data-v-4c741194] {
3003
3004
  border-radius: var(--input-border-radius);
3004
3005
  transition: var(--bgl-transition);
3005
3006
  }
3006
- .bgl_tab[data-v-718e118e]:hover {
3007
+ .bgl_tab[data-v-38a31955]:hover {
3007
3008
  background: rgba(255, 255, 255, .4);
3008
3009
  }
3009
- .bgl_tabs_wrap[data-v-718e118e]::before {
3010
+ .bgl_tabs_wrap[data-v-38a31955]::before {
3010
3011
  content: '';
3011
3012
  position: absolute;
3012
3013
  top: calc(var(--btn-padding) / 8);
@@ -3086,7 +3087,7 @@ input[type="number"][data-v-4c741194] {
3086
3087
  align-items: flex-start !important;
3087
3088
  }
3088
3089
  .align-items-center {
3089
- align-items: center;
3090
+ align-items: center !important;
3090
3091
  }
3091
3092
  .align-items-baseline {
3092
3093
  align-items: baseline;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@bagelink/vue",
3
3
  "type": "module",
4
- "version": "0.0.625",
4
+ "version": "0.0.627",
5
5
  "description": "Bagel core sdk packages",
6
6
  "author": {
7
7
  "name": "Neveh Allon",
@@ -105,15 +105,15 @@
105
105
  "access": "public"
106
106
  },
107
107
  "dependencies": {
108
- "@tiptap/extension-image": "^2.5.7",
109
- "@tiptap/extension-table": "^2.5.7",
110
- "@tiptap/extension-table-cell": "^2.5.7",
111
- "@tiptap/extension-table-header": "^2.5.7",
112
- "@tiptap/extension-table-row": "^2.5.7",
113
- "@tiptap/extension-youtube": "^2.5.7",
114
- "@tiptap/pm": "^2.5.7",
115
- "@tiptap/starter-kit": "^2.5.7",
116
- "@tiptap/vue-3": "^2.5.7",
108
+ "@tiptap/extension-image": "^2.5.8",
109
+ "@tiptap/extension-table": "^2.5.8",
110
+ "@tiptap/extension-table-cell": "^2.5.8",
111
+ "@tiptap/extension-table-header": "^2.5.8",
112
+ "@tiptap/extension-table-row": "^2.5.8",
113
+ "@tiptap/extension-youtube": "^2.5.8",
114
+ "@tiptap/pm": "^2.5.8",
115
+ "@tiptap/starter-kit": "^2.5.8",
116
+ "@tiptap/vue-3": "^2.5.8",
117
117
  "@vuepic/vue-datepicker": "^8.8.1",
118
118
  "@vueuse/core": "^10.11.0",
119
119
  "axios": "^1.7.2",
@@ -5,6 +5,7 @@ import {
5
5
  Title,
6
6
  getFallbackSchema,
7
7
  iffer,
8
+ isDate,
8
9
  keyToLabel,
9
10
  } from '@bagelink/vue'
10
11
 
@@ -25,13 +26,12 @@ function dataTransform(dataValue: any): any {
25
26
  dataValue[key] = dataTransform(dataValue[key])
26
27
  })
27
28
  }
28
- if (
29
- typeof dataValue === 'string'
30
- && /\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}/.test(dataValue)
31
- ) {
29
+
30
+ if (isDate(dataValue)) {
32
31
  const date = new Date(dataValue)
33
32
  return date.toDateString()
34
33
  }
34
+
35
35
  return dataValue
36
36
  }
37
37
 
@@ -1,5 +1,4 @@
1
1
  <script lang="ts" setup>
2
- import { onMounted, onUnmounted } from 'vue'
3
2
  import {
4
3
  Area,
5
4
  Chart,
@@ -9,6 +8,7 @@ import {
9
8
  Tooltip,
10
9
  } from 'vue3-charts'
11
10
  import type { ChartAxis, Data } from 'vue3-charts/dist/types'
11
+ import { onMounted, onUnmounted } from 'vue'
12
12
 
13
13
  const props = defineProps<{ data: Data[], locale: string }>()
14
14
 
@@ -109,7 +109,7 @@ function dotStyling(ctx: Record<string, any>) {
109
109
  <Chart
110
110
  v-if="chartSize"
111
111
  :size="chartSize"
112
- :data="data"
112
+ :data
113
113
  :margin="chartMargin"
114
114
  :axis="axisConfig"
115
115
  >
@@ -15,8 +15,8 @@ const val = defineModel('modelValue', {
15
15
  .primary-checkbox input {
16
16
  appearance: none;
17
17
  accent-color: var(--bgl-primary);
18
- height: calc(var(--input-height) / 2.75);
19
- width: calc(var(--input-height) / 2.75);
18
+ height: calc(var(--input-height) / 1.75);
19
+ width: calc(var(--input-height) / 1.75);
20
20
  min-width: 0;
21
21
  display: flex;
22
22
  justify-content: center;
@@ -24,7 +24,7 @@ const val = defineModel('modelValue', {
24
24
  cursor: pointer;
25
25
  border-radius: 100%;
26
26
  background: var(--bgl-white);
27
- border: 2px solid var(--input-bg);
27
+ border: 2px solid var(--bgl-gray);
28
28
  }
29
29
 
30
30
  .primary-checkbox {
@@ -47,5 +47,6 @@ const val = defineModel('modelValue', {
47
47
 
48
48
  .primary-checkbox input:checked {
49
49
  background: var(--bgl-primary);
50
+ box-shadow: inset 0 0 0px 2px white;
50
51
  }
51
52
  </style>
@@ -29,8 +29,7 @@ const props = withDefaults(defineProps<{
29
29
  defaultUrl?: string
30
30
  format?: FormatType
31
31
  clearable?: boolean
32
- }>(),
33
- {
32
+ }>(), {
34
33
  clearable: true,
35
34
  })
36
35
 
@@ -104,7 +103,7 @@ function draw() {
104
103
  function resizeCanvas(c: HTMLCanvasElement) {
105
104
  let url
106
105
  if (!isEmpty()) url = save()
107
- const ratio = props.ratio || 1 / 2
106
+ const ratio = props.ratio ?? 1 / 2
108
107
  const { width } = c.getBoundingClientRect()
109
108
  c.width = props.width ? Number(props.width.replace(/px/g, '')) : width
110
109
  c.height = props.height ? Number(props.height.replace(/px/g, '')) : width * ratio
@@ -131,7 +130,7 @@ defineExpose({
131
130
  </script>
132
131
 
133
132
  <template>
134
- <div class="bgl_input signature-pad relative" @touchmove.prevent :class="{'bg-transparent':disabled}">
133
+ <div class="bgl_input signature-pad relative" :class="{ 'bg-transparent': disabled }" @touchmove.prevent>
135
134
  <Btn v-if="clearable && !disabled" flat thin icon="refresh" class="position-bottom-end" @click="clear" />
136
135
  <canvas ref="vCanvas" class="canvas" :disabled />
137
136
  </div>
@@ -36,7 +36,7 @@ const tabComponent = defineComponent({
36
36
 
37
37
  z
38
38
  <template>
39
- <TabsNav v-model="slctTab" :tabs="tabs" :group="group" class="mb-05" />
39
+ <TabsNav v-model="slctTab" :tabs :group class="mb-05" />
40
40
  <div v-if="currentTab">
41
41
  <template v-if="slots[currentTab]">
42
42
  <slot :name="currentTab" />
@@ -21,8 +21,8 @@ const emit = defineEmits(['update:modelValue'])
21
21
  const { currentTab } = useTabs(props.group)
22
22
  currentTab.value
23
23
  = props.modelValue || typeof props.tabs[0] === 'string'
24
- ? props.tabs[0]
25
- : props.tabs[0].id
24
+ ? props.tabs[0]
25
+ : props.tabs[0].id
26
26
 
27
27
  const tabsWrap = ref<HTMLElement | null>(null)
28
28
  const tabs = ref<HTMLElement[]>([])
@@ -57,7 +57,7 @@
57
57
  }
58
58
 
59
59
  .align-items-center {
60
- align-items: center;
60
+ align-items: center !important;
61
61
  }
62
62
 
63
63
  .align-items-baseline {