@bagelink/vue 0.0.625 → 0.0.629
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/components/DataPreview.vue.d.ts.map +1 -1
- package/dist/components/dashboard/Lineart.vue.d.ts.map +1 -1
- package/dist/components/form/inputs/SignaturePad.vue.d.ts.map +1 -1
- package/dist/index.cjs +20 -19
- package/dist/index.mjs +20 -19
- package/dist/style.css +79 -77
- package/package.json +10 -10
- package/src/components/Btn.vue +3 -2
- package/src/components/DataPreview.vue +4 -4
- package/src/components/dashboard/Lineart.vue +2 -2
- package/src/components/form/inputs/Checkbox.vue +4 -3
- package/src/components/form/inputs/SignaturePad.vue +3 -4
- package/src/components/form/inputs/TextInput.vue +1 -1
- package/src/components/layout/Tabs.vue +1 -1
- package/src/components/layout/TabsNav.vue +2 -2
- package/src/styles/layout.css +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DataPreview.vue.d.ts","sourceRoot":"","sources":["../../src/components/DataPreview.vue"],"names":[],"mappings":"AAEA,OAAO,EAEN,KAAK,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":"
|
|
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,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 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SignaturePad.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/form/inputs/SignaturePad.vue"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,OAAO,IAAI,mBAAmB,EAAE,MAAM,eAAe,CAAA;AAMnE,UAAU,SAAS;IAClB,IAAI,EAAE,MAAM,CAAA;IACZ,CAAC,EAAE,MAAM,CAAA;IACT,CAAC,EAAE,MAAM,CAAA;IACT,EAAE,EAAE,MAAM,CAAA;IACV,EAAE,EAAE,MAAM,CAAA;IACV,IAAI,EAAE,MAAM,CAAA;IACZ,SAAS,EAAE,MAAM,CAAA;IACjB,WAAW,EAAE,MAAM,CAAA;IACnB,KAAK,EAAE,MAAM,CAAA;CACb;AAED,KAAK,UAAU,GAAG,WAAW,GAAG,YAAY,GAAG,eAAe,CAAA;
|
|
1
|
+
{"version":3,"file":"SignaturePad.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/form/inputs/SignaturePad.vue"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,OAAO,IAAI,mBAAmB,EAAE,MAAM,eAAe,CAAA;AAMnE,UAAU,SAAS;IAClB,IAAI,EAAE,MAAM,CAAA;IACZ,CAAC,EAAE,MAAM,CAAA;IACT,CAAC,EAAE,MAAM,CAAA;IACT,EAAE,EAAE,MAAM,CAAA;IACV,EAAE,EAAE,MAAM,CAAA;IACV,IAAI,EAAE,MAAM,CAAA;IACZ,SAAS,EAAE,MAAM,CAAA;IACjB,WAAW,EAAE,MAAM,CAAA;IACnB,KAAK,EAAE,MAAM,CAAA;CACb;AAED,KAAK,UAAU,GAAG,WAAW,GAAG,YAAY,GAAG,eAAe,CAAA;AAuB9D,iBAAS,IAAI,CAAC,MAAM,CAAC,EAAE,UAAU,sBAGhC;AAKD,iBAAS,IAAI,SAMZ;AAgBD,iBAAS,YAAY,CAAC,IAAI,EAAE,SAAS,QA0BpC;;gBA6IY,mBAAmB;YACvB,MAAM;aACL,MAAM;YACP,MAAM;oBACE,OAAO;gBACX,SAAS;eACV,OAAO;iBACL,MAAM;aACV,UAAU;gBACP,OAAO;;;;;;;;;uBAzMM,MAAM;;gBAgMnB,mBAAmB;YACvB,MAAM;aACL,MAAM;YACP,MAAM;oBACE,OAAO;gBACX,SAAS;eACV,OAAO;iBACL,MAAM;aACV,UAAU;gBACP,OAAO;;;;eAAP,OAAO;;AAhBpB,wBAkBG;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;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"}
|
package/dist/index.cjs
CHANGED
|
@@ -5578,8 +5578,8 @@ const _sfc_main$M = /* @__PURE__ */ vue.defineComponent({
|
|
|
5578
5578
|
},
|
|
5579
5579
|
setup(__props) {
|
|
5580
5580
|
vue.useCssVars((_ctx) => ({
|
|
5581
|
-
"
|
|
5582
|
-
"
|
|
5581
|
+
"50d471e9": computedBackgroundColor.value,
|
|
5582
|
+
"e0dc88f8": cumputedTextColor.value
|
|
5583
5583
|
}));
|
|
5584
5584
|
const props2 = __props;
|
|
5585
5585
|
const isComponent = vue.computed(() => {
|
|
@@ -5668,7 +5668,7 @@ const _sfc_main$M = /* @__PURE__ */ vue.defineComponent({
|
|
|
5668
5668
|
};
|
|
5669
5669
|
}
|
|
5670
5670
|
});
|
|
5671
|
-
const Btn = /* @__PURE__ */ _export_sfc(_sfc_main$M, [["__scopeId", "data-v-
|
|
5671
|
+
const Btn = /* @__PURE__ */ _export_sfc(_sfc_main$M, [["__scopeId", "data-v-26f1062f"]]);
|
|
5672
5672
|
const _hoisted_1$H = {
|
|
5673
5673
|
key: 0,
|
|
5674
5674
|
class: "tool-bar"
|
|
@@ -6679,7 +6679,7 @@ const _sfc_main$C = /* @__PURE__ */ vue.defineComponent({
|
|
|
6679
6679
|
dataValue[key] = dataTransform(dataValue[key]);
|
|
6680
6680
|
});
|
|
6681
6681
|
}
|
|
6682
|
-
if (
|
|
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-
|
|
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"
|
|
@@ -28647,7 +28647,12 @@ const _sfc_main$j = /* @__PURE__ */ vue.defineComponent({
|
|
|
28647
28647
|
(...args) => _ctx.onFocusout && _ctx.onFocusout(...args)),
|
|
28648
28648
|
onInput: updateInputVal
|
|
28649
28649
|
}), null, 16, _hoisted_3$d)), [
|
|
28650
|
-
[
|
|
28650
|
+
[
|
|
28651
|
+
vue.vModelDynamic,
|
|
28652
|
+
vue.unref(inputVal),
|
|
28653
|
+
void 0,
|
|
28654
|
+
{ trim: true }
|
|
28655
|
+
]
|
|
28651
28656
|
]) : vue.withDirectives((vue.openBlock(), vue.createElementBlock("textarea", vue.mergeProps({
|
|
28652
28657
|
key: 1,
|
|
28653
28658
|
id: _ctx.id,
|
|
@@ -28679,7 +28684,7 @@ const _sfc_main$j = /* @__PURE__ */ vue.defineComponent({
|
|
|
28679
28684
|
};
|
|
28680
28685
|
}
|
|
28681
28686
|
});
|
|
28682
|
-
const TextInput = /* @__PURE__ */ _export_sfc(_sfc_main$j, [["__scopeId", "data-v-
|
|
28687
|
+
const TextInput = /* @__PURE__ */ _export_sfc(_sfc_main$j, [["__scopeId", "data-v-82137f41"]]);
|
|
28683
28688
|
const _hoisted_1$n = { class: "primary-checkbox" };
|
|
28684
28689
|
const _sfc_main$i = /* @__PURE__ */ vue.defineComponent({
|
|
28685
28690
|
__name: "Checkbox",
|
|
@@ -28705,7 +28710,7 @@ const _sfc_main$i = /* @__PURE__ */ vue.defineComponent({
|
|
|
28705
28710
|
};
|
|
28706
28711
|
}
|
|
28707
28712
|
});
|
|
28708
|
-
const Checkbox = /* @__PURE__ */ _export_sfc(_sfc_main$i, [["__scopeId", "data-v-
|
|
28713
|
+
const Checkbox = /* @__PURE__ */ _export_sfc(_sfc_main$i, [["__scopeId", "data-v-bf11f9a2"]]);
|
|
28709
28714
|
const _hoisted_1$m = ["title"];
|
|
28710
28715
|
const _hoisted_2$h = ["id", "placeholder", "required"];
|
|
28711
28716
|
const _sfc_main$h = /* @__PURE__ */ vue.defineComponent({
|
|
@@ -41491,7 +41496,7 @@ const getTextContentFromNodes = ($from, maxMatch = 500) => {
|
|
|
41491
41496
|
parent,
|
|
41492
41497
|
index: index2
|
|
41493
41498
|
})) || node.textContent || "%leaf%";
|
|
41494
|
-
textBefore += node.isAtom ? chunk : chunk.slice(0, Math.max(0, sliceEndPos - pos));
|
|
41499
|
+
textBefore += node.isAtom && !node.isText ? chunk : chunk.slice(0, Math.max(0, sliceEndPos - pos));
|
|
41495
41500
|
});
|
|
41496
41501
|
return textBefore;
|
|
41497
41502
|
};
|
|
@@ -49956,11 +49961,10 @@ const EditorContent = vue.defineComponent({
|
|
|
49956
49961
|
if (instance) {
|
|
49957
49962
|
editor.appContext = {
|
|
49958
49963
|
...instance.appContext,
|
|
49959
|
-
|
|
49960
|
-
|
|
49961
|
-
|
|
49962
|
-
|
|
49963
|
-
}
|
|
49964
|
+
// Vue internally uses prototype chain to forward/shadow injects across the entire component chain
|
|
49965
|
+
// so don't use object spread operator or 'Object.assign' and just set `provides` as is on editor's appContext
|
|
49966
|
+
// @ts-expect-error forward instance's 'provides' into appContext
|
|
49967
|
+
provides: instance.provides
|
|
49964
49968
|
};
|
|
49965
49969
|
}
|
|
49966
49970
|
editor.setOptions({
|
|
@@ -52880,10 +52884,7 @@ const Table = Node$2.create({
|
|
|
52880
52884
|
columnResizing({
|
|
52881
52885
|
handleWidth: this.options.handleWidth,
|
|
52882
52886
|
cellMinWidth: this.options.cellMinWidth,
|
|
52883
|
-
// @ts-ignore (incorrect type)
|
|
52884
52887
|
View: this.options.View,
|
|
52885
|
-
// TODO: PR for @types/prosemirror-tables
|
|
52886
|
-
// @ts-ignore (incorrect type)
|
|
52887
52888
|
lastColumnResizable: this.options.lastColumnResizable
|
|
52888
52889
|
})
|
|
52889
52890
|
] : [],
|
|
@@ -56367,7 +56368,7 @@ const _sfc_main$a = /* @__PURE__ */ vue.defineComponent({
|
|
|
56367
56368
|
function resizeCanvas(c2) {
|
|
56368
56369
|
let url;
|
|
56369
56370
|
if (!isEmpty2()) url = save2();
|
|
56370
|
-
const ratio = props2.ratio
|
|
56371
|
+
const ratio = props2.ratio ?? 1 / 2;
|
|
56371
56372
|
const { width } = c2.getBoundingClientRect();
|
|
56372
56373
|
c2.width = props2.width ? Number(props2.width.replace(/px/g, "")) : width;
|
|
56373
56374
|
c2.height = props2.height ? Number(props2.height.replace(/px/g, "")) : width * ratio;
|
|
@@ -63230,7 +63231,7 @@ const _sfc_main$2 = /* @__PURE__ */ vue.defineComponent({
|
|
|
63230
63231
|
};
|
|
63231
63232
|
}
|
|
63232
63233
|
});
|
|
63233
|
-
const TabsNav = /* @__PURE__ */ _export_sfc(_sfc_main$2, [["__scopeId", "data-v-
|
|
63234
|
+
const TabsNav = /* @__PURE__ */ _export_sfc(_sfc_main$2, [["__scopeId", "data-v-38a31955"]]);
|
|
63234
63235
|
const _hoisted_1$1 = { key: 0 };
|
|
63235
63236
|
const _sfc_main$1 = /* @__PURE__ */ vue.defineComponent({
|
|
63236
63237
|
__name: "TabsBody",
|
package/dist/index.mjs
CHANGED
|
@@ -5576,8 +5576,8 @@ const _sfc_main$M = /* @__PURE__ */ defineComponent({
|
|
|
5576
5576
|
},
|
|
5577
5577
|
setup(__props) {
|
|
5578
5578
|
useCssVars((_ctx) => ({
|
|
5579
|
-
"
|
|
5580
|
-
"
|
|
5579
|
+
"50d471e9": computedBackgroundColor.value,
|
|
5580
|
+
"e0dc88f8": cumputedTextColor.value
|
|
5581
5581
|
}));
|
|
5582
5582
|
const props2 = __props;
|
|
5583
5583
|
const isComponent = computed(() => {
|
|
@@ -5666,7 +5666,7 @@ const _sfc_main$M = /* @__PURE__ */ defineComponent({
|
|
|
5666
5666
|
};
|
|
5667
5667
|
}
|
|
5668
5668
|
});
|
|
5669
|
-
const Btn = /* @__PURE__ */ _export_sfc(_sfc_main$M, [["__scopeId", "data-v-
|
|
5669
|
+
const Btn = /* @__PURE__ */ _export_sfc(_sfc_main$M, [["__scopeId", "data-v-26f1062f"]]);
|
|
5670
5670
|
const _hoisted_1$H = {
|
|
5671
5671
|
key: 0,
|
|
5672
5672
|
class: "tool-bar"
|
|
@@ -6677,7 +6677,7 @@ const _sfc_main$C = /* @__PURE__ */ defineComponent({
|
|
|
6677
6677
|
dataValue[key] = dataTransform(dataValue[key]);
|
|
6678
6678
|
});
|
|
6679
6679
|
}
|
|
6680
|
-
if (
|
|
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-
|
|
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"
|
|
@@ -28645,7 +28645,12 @@ const _sfc_main$j = /* @__PURE__ */ defineComponent({
|
|
|
28645
28645
|
(...args) => _ctx.onFocusout && _ctx.onFocusout(...args)),
|
|
28646
28646
|
onInput: updateInputVal
|
|
28647
28647
|
}), null, 16, _hoisted_3$d)), [
|
|
28648
|
-
[
|
|
28648
|
+
[
|
|
28649
|
+
vModelDynamic,
|
|
28650
|
+
unref(inputVal),
|
|
28651
|
+
void 0,
|
|
28652
|
+
{ trim: true }
|
|
28653
|
+
]
|
|
28649
28654
|
]) : withDirectives((openBlock(), createElementBlock("textarea", mergeProps({
|
|
28650
28655
|
key: 1,
|
|
28651
28656
|
id: _ctx.id,
|
|
@@ -28677,7 +28682,7 @@ const _sfc_main$j = /* @__PURE__ */ defineComponent({
|
|
|
28677
28682
|
};
|
|
28678
28683
|
}
|
|
28679
28684
|
});
|
|
28680
|
-
const TextInput = /* @__PURE__ */ _export_sfc(_sfc_main$j, [["__scopeId", "data-v-
|
|
28685
|
+
const TextInput = /* @__PURE__ */ _export_sfc(_sfc_main$j, [["__scopeId", "data-v-82137f41"]]);
|
|
28681
28686
|
const _hoisted_1$n = { class: "primary-checkbox" };
|
|
28682
28687
|
const _sfc_main$i = /* @__PURE__ */ defineComponent({
|
|
28683
28688
|
__name: "Checkbox",
|
|
@@ -28703,7 +28708,7 @@ const _sfc_main$i = /* @__PURE__ */ defineComponent({
|
|
|
28703
28708
|
};
|
|
28704
28709
|
}
|
|
28705
28710
|
});
|
|
28706
|
-
const Checkbox = /* @__PURE__ */ _export_sfc(_sfc_main$i, [["__scopeId", "data-v-
|
|
28711
|
+
const Checkbox = /* @__PURE__ */ _export_sfc(_sfc_main$i, [["__scopeId", "data-v-bf11f9a2"]]);
|
|
28707
28712
|
const _hoisted_1$m = ["title"];
|
|
28708
28713
|
const _hoisted_2$h = ["id", "placeholder", "required"];
|
|
28709
28714
|
const _sfc_main$h = /* @__PURE__ */ defineComponent({
|
|
@@ -41489,7 +41494,7 @@ const getTextContentFromNodes = ($from, maxMatch = 500) => {
|
|
|
41489
41494
|
parent,
|
|
41490
41495
|
index: index2
|
|
41491
41496
|
})) || node.textContent || "%leaf%";
|
|
41492
|
-
textBefore += node.isAtom ? chunk : chunk.slice(0, Math.max(0, sliceEndPos - pos));
|
|
41497
|
+
textBefore += node.isAtom && !node.isText ? chunk : chunk.slice(0, Math.max(0, sliceEndPos - pos));
|
|
41493
41498
|
});
|
|
41494
41499
|
return textBefore;
|
|
41495
41500
|
};
|
|
@@ -49954,11 +49959,10 @@ const EditorContent = defineComponent({
|
|
|
49954
49959
|
if (instance) {
|
|
49955
49960
|
editor.appContext = {
|
|
49956
49961
|
...instance.appContext,
|
|
49957
|
-
|
|
49958
|
-
|
|
49959
|
-
|
|
49960
|
-
|
|
49961
|
-
}
|
|
49962
|
+
// Vue internally uses prototype chain to forward/shadow injects across the entire component chain
|
|
49963
|
+
// so don't use object spread operator or 'Object.assign' and just set `provides` as is on editor's appContext
|
|
49964
|
+
// @ts-expect-error forward instance's 'provides' into appContext
|
|
49965
|
+
provides: instance.provides
|
|
49962
49966
|
};
|
|
49963
49967
|
}
|
|
49964
49968
|
editor.setOptions({
|
|
@@ -52878,10 +52882,7 @@ const Table = Node$2.create({
|
|
|
52878
52882
|
columnResizing({
|
|
52879
52883
|
handleWidth: this.options.handleWidth,
|
|
52880
52884
|
cellMinWidth: this.options.cellMinWidth,
|
|
52881
|
-
// @ts-ignore (incorrect type)
|
|
52882
52885
|
View: this.options.View,
|
|
52883
|
-
// TODO: PR for @types/prosemirror-tables
|
|
52884
|
-
// @ts-ignore (incorrect type)
|
|
52885
52886
|
lastColumnResizable: this.options.lastColumnResizable
|
|
52886
52887
|
})
|
|
52887
52888
|
] : [],
|
|
@@ -56365,7 +56366,7 @@ const _sfc_main$a = /* @__PURE__ */ defineComponent({
|
|
|
56365
56366
|
function resizeCanvas(c2) {
|
|
56366
56367
|
let url;
|
|
56367
56368
|
if (!isEmpty2()) url = save2();
|
|
56368
|
-
const ratio = props2.ratio
|
|
56369
|
+
const ratio = props2.ratio ?? 1 / 2;
|
|
56369
56370
|
const { width } = c2.getBoundingClientRect();
|
|
56370
56371
|
c2.width = props2.width ? Number(props2.width.replace(/px/g, "")) : width;
|
|
56371
56372
|
c2.height = props2.height ? Number(props2.height.replace(/px/g, "")) : width * ratio;
|
|
@@ -63228,7 +63229,7 @@ const _sfc_main$2 = /* @__PURE__ */ defineComponent({
|
|
|
63228
63229
|
};
|
|
63229
63230
|
}
|
|
63230
63231
|
});
|
|
63231
|
-
const TabsNav = /* @__PURE__ */ _export_sfc(_sfc_main$2, [["__scopeId", "data-v-
|
|
63232
|
+
const TabsNav = /* @__PURE__ */ _export_sfc(_sfc_main$2, [["__scopeId", "data-v-38a31955"]]);
|
|
63232
63233
|
const _hoisted_1$1 = { key: 0 };
|
|
63233
63234
|
const _sfc_main$1 = /* @__PURE__ */ defineComponent({
|
|
63234
63235
|
__name: "TabsBody",
|
package/dist/style.css
CHANGED
|
@@ -254,19 +254,19 @@
|
|
|
254
254
|
}
|
|
255
255
|
}
|
|
256
256
|
|
|
257
|
-
a[data-v-
|
|
257
|
+
a[data-v-26f1062f] {
|
|
258
258
|
text-decoration: none;
|
|
259
259
|
}
|
|
260
|
-
.loading[data-v-
|
|
260
|
+
.loading[data-v-26f1062f] {
|
|
261
261
|
border: 1px solid var(--bgl-white);
|
|
262
262
|
border-bottom: 2px solid var(--bgl-white);
|
|
263
|
-
animation: spin-
|
|
263
|
+
animation: spin-26f1062f 1s linear infinite;
|
|
264
264
|
border-radius: 100px;
|
|
265
265
|
width: 1rem;
|
|
266
266
|
height: 1rem;
|
|
267
267
|
margin: auto;
|
|
268
268
|
}
|
|
269
|
-
@keyframes spin-
|
|
269
|
+
@keyframes spin-26f1062f {
|
|
270
270
|
0% {
|
|
271
271
|
transform: rotate(0deg);
|
|
272
272
|
}
|
|
@@ -274,7 +274,7 @@ a[data-v-59ea4a90] {
|
|
|
274
274
|
transform: rotate(360deg);
|
|
275
275
|
}
|
|
276
276
|
}
|
|
277
|
-
.bgl_btn-icon[data-v-
|
|
277
|
+
.bgl_btn-icon[data-v-26f1062f] {
|
|
278
278
|
height: var(--btn-height);
|
|
279
279
|
width: var(--btn-height);
|
|
280
280
|
border-radius: 100%;
|
|
@@ -284,101 +284,102 @@ a[data-v-59ea4a90] {
|
|
|
284
284
|
flex-shrink: 0;
|
|
285
285
|
transition: var(--bgl-transition);
|
|
286
286
|
}
|
|
287
|
-
.bgl_btn[data-v-
|
|
287
|
+
.bgl_btn[data-v-26f1062f] {
|
|
288
288
|
padding-left: var(--btn-padding);
|
|
289
289
|
padding-right: var(--btn-padding);
|
|
290
290
|
transition: var(--bgl-transition);
|
|
291
291
|
text-decoration: none;
|
|
292
292
|
}
|
|
293
|
-
.bgl_btn[disabled="true"][data-v-
|
|
293
|
+
.bgl_btn[disabled="true"][data-v-26f1062f] {
|
|
294
294
|
opacity: 0.5;
|
|
295
295
|
cursor: not-allowed;
|
|
296
296
|
}
|
|
297
|
-
.bgl_btn-flex[data-v-
|
|
297
|
+
.bgl_btn-flex[data-v-26f1062f] {
|
|
298
298
|
display: flex;
|
|
299
299
|
align-items: center;
|
|
300
300
|
gap: 0.5rem;
|
|
301
301
|
justify-content: center;
|
|
302
302
|
}
|
|
303
|
-
.bgl_btn .bgl_.bgl_icon-font[data-v-
|
|
303
|
+
.bgl_btn .bgl_.bgl_icon-font[data-v-26f1062f] {
|
|
304
304
|
font-size: calc(var(--input-font-size) * 1.3);
|
|
305
305
|
}
|
|
306
|
-
.bgl_btn[data-v-
|
|
307
|
-
.bgl_btn-icon[data-v-
|
|
308
|
-
background-color: var(--
|
|
309
|
-
color: var(--
|
|
306
|
+
.bgl_btn[data-v-26f1062f],
|
|
307
|
+
.bgl_btn-icon[data-v-26f1062f] {
|
|
308
|
+
background-color: var(--50d471e9);
|
|
309
|
+
color: var(--e0dc88f8);
|
|
310
310
|
}
|
|
311
|
-
.bgl_btn[data-v-
|
|
312
|
-
.bgl_btn-icon[data-v-
|
|
311
|
+
.bgl_btn[data-v-26f1062f]:hover,
|
|
312
|
+
.bgl_btn-icon[data-v-26f1062f]:hover {
|
|
313
313
|
filter: var(--bgl-hover-filter);
|
|
314
314
|
}
|
|
315
|
-
.bgl_btn[data-v-
|
|
316
|
-
.bgl_btn-icon[data-v-
|
|
315
|
+
.bgl_btn[data-v-26f1062f]:active,
|
|
316
|
+
.bgl_btn-icon[data-v-26f1062f]:active {
|
|
317
317
|
filter: var(--bgl-active-filter);
|
|
318
318
|
}
|
|
319
|
-
.bgl_btn.bgl_flatBtn[data-v-
|
|
319
|
+
.bgl_btn.bgl_flatBtn[data-v-26f1062f] {
|
|
320
320
|
padding-left: var(--btn-padding);
|
|
321
321
|
padding-right: var(--btn-padding);
|
|
322
322
|
background: transparent;
|
|
323
323
|
}
|
|
324
|
-
.bgl_btn-icon.bgl_flatBtn[data-v-
|
|
324
|
+
.bgl_btn-icon.bgl_flatBtn[data-v-26f1062f] {
|
|
325
325
|
background: transparent;
|
|
326
326
|
}
|
|
327
|
-
.bgl_btn.bgl_flatBtn[data-v-
|
|
328
|
-
.bgl_btn-icon.bgl_flatBtn[data-v-
|
|
329
|
-
filter: var(--bgl-
|
|
327
|
+
.bgl_btn.bgl_flatBtn[data-v-26f1062f]:hover,
|
|
328
|
+
.bgl_btn-icon.bgl_flatBtn[data-v-26f1062f]:hover {
|
|
329
|
+
filter: var(--bgl-hover-filter);
|
|
330
|
+
background: var(--bgl-gray-20);
|
|
330
331
|
}
|
|
331
|
-
.bgl_btn.bgl_flatBtn[data-v-
|
|
332
|
-
.bgl_btn-icon.bgl_flatBtn[data-v-
|
|
332
|
+
.bgl_btn.bgl_flatBtn[data-v-26f1062f]:active,
|
|
333
|
+
.bgl_btn-icon.bgl_flatBtn[data-v-26f1062f]:active {
|
|
333
334
|
background: var(--bgl-gray-40);
|
|
334
|
-
filter: var(--bgl-
|
|
335
|
+
filter: var(--bgl-active-filter);
|
|
335
336
|
}
|
|
336
|
-
.bgl_btn.bgl_flatBtn.red[data-v-
|
|
337
|
-
.bgl_btn-icon.bgl_flatBtn.red[data-v-
|
|
337
|
+
.bgl_btn.bgl_flatBtn.red[data-v-26f1062f],
|
|
338
|
+
.bgl_btn-icon.bgl_flatBtn.red[data-v-26f1062f] {
|
|
338
339
|
color: var(--bgl-red);
|
|
339
340
|
}
|
|
340
|
-
.bgl_btn.bgl_flatBtn.white[data-v-
|
|
341
|
-
.bgl_btn-icon.bgl_flatBtn.white[data-v-
|
|
341
|
+
.bgl_btn.bgl_flatBtn.white[data-v-26f1062f],
|
|
342
|
+
.bgl_btn-icon.bgl_flatBtn.white[data-v-26f1062f] {
|
|
342
343
|
color: var(--bgl-white);
|
|
343
344
|
}
|
|
344
|
-
.bgl_btn.bgl_flatBtn.light[data-v-
|
|
345
|
-
.bgl_btn-icon.bgl_flatBtn.light[data-v-
|
|
345
|
+
.bgl_btn.bgl_flatBtn.light[data-v-26f1062f],
|
|
346
|
+
.bgl_btn-icon.bgl_flatBtn.light[data-v-26f1062f] {
|
|
346
347
|
color: var(--bgl-primary-tint);
|
|
347
348
|
}
|
|
348
|
-
.bgl_btn.bgl_flatBtn.black[data-v-
|
|
349
|
-
.bgl_btn-icon.bgl_flatBtn.black[data-v-
|
|
349
|
+
.bgl_btn.bgl_flatBtn.black[data-v-26f1062f],
|
|
350
|
+
.bgl_btn-icon.bgl_flatBtn.black[data-v-26f1062f] {
|
|
350
351
|
color: var(--bgl-black);
|
|
351
352
|
}
|
|
352
|
-
.bgl_btn.bgl_flatBtn.gray[data-v-
|
|
353
|
-
.bgl_btn-icon.bgl_flatBtn.gray[data-v-
|
|
353
|
+
.bgl_btn.bgl_flatBtn.gray[data-v-26f1062f],
|
|
354
|
+
.bgl_btn-icon.bgl_flatBtn.gray[data-v-26f1062f] {
|
|
354
355
|
color: var(--bgl-gray);
|
|
355
356
|
}
|
|
356
|
-
.bgl_btn.thin[data-v-
|
|
357
|
+
.bgl_btn.thin[data-v-26f1062f] {
|
|
357
358
|
padding-inline: calc(var(--btn-padding) / 3);
|
|
358
359
|
border-radius: calc(var(--btn-border-radius) / 1.5);
|
|
359
360
|
}
|
|
360
|
-
.bgl_btn.round[data-v-
|
|
361
|
+
.bgl_btn.round[data-v-26f1062f] {
|
|
361
362
|
border-radius: calc(var(--btn-border-radius) * 2);
|
|
362
363
|
}
|
|
363
|
-
.bgl_btn-icon.thin[data-v-
|
|
364
|
+
.bgl_btn-icon.thin[data-v-26f1062f] {
|
|
364
365
|
height: calc(var(--btn-height) / 1.5);
|
|
365
366
|
width: calc(var(--btn-height) / 1.5);
|
|
366
367
|
line-height: 1;
|
|
367
368
|
}
|
|
368
|
-
[dir="rtl"] .bgl_.bgl_icon-font[data-v-
|
|
369
|
+
[dir="rtl"] .bgl_.bgl_icon-font[data-v-26f1062f] {
|
|
369
370
|
transform: rotateY(180deg);
|
|
370
371
|
}
|
|
371
|
-
.bgl_btn-border[data-v-
|
|
372
|
-
outline: 1px solid var(--
|
|
373
|
-
color: var(--
|
|
372
|
+
.bgl_btn-border[data-v-26f1062f] {
|
|
373
|
+
outline: 1px solid var(--50d471e9);
|
|
374
|
+
color: var(--50d471e9);
|
|
374
375
|
background: transparent;
|
|
375
376
|
}
|
|
376
|
-
.bgl_btn-border[data-v-
|
|
377
|
+
.bgl_btn-border[data-v-26f1062f]:hover {
|
|
377
378
|
color: var(--bgl-white);
|
|
378
|
-
background: var(--
|
|
379
|
+
background: var(--50d471e9);
|
|
379
380
|
filter: brightness(100%);
|
|
380
381
|
}
|
|
381
|
-
.bgl_btn-border[data-v-
|
|
382
|
+
.bgl_btn-border[data-v-26f1062f]:active {
|
|
382
383
|
filter: brightness(80%);
|
|
383
384
|
}
|
|
384
385
|
.bg-dark {
|
|
@@ -865,25 +866,25 @@ tbody tr[data-v-d01cb754]:hover {
|
|
|
865
866
|
background: var(--bgl-gray-light);
|
|
866
867
|
}
|
|
867
868
|
|
|
868
|
-
data[data-v-
|
|
869
|
+
data[data-v-4d174f13] {
|
|
869
870
|
font-size: var(--input-font-size);
|
|
870
871
|
border: 1.1px solid var(--border-color);
|
|
871
872
|
padding: 20px;
|
|
872
873
|
border-radius: var(--input-border-radius);
|
|
873
874
|
}
|
|
874
|
-
.data-row[data-v-
|
|
875
|
+
.data-row[data-v-4d174f13] {
|
|
875
876
|
display: flex;
|
|
876
877
|
justify-content: space-between;
|
|
877
878
|
border-bottom: 1px solid var(--border-color);
|
|
878
879
|
align-items: center;
|
|
879
880
|
min-height: 50px;
|
|
880
881
|
}
|
|
881
|
-
.data-row .bagel-input.shrink[data-v-
|
|
882
|
-
.data-row .bagel-input.shrink input[data-v-
|
|
882
|
+
.data-row .bagel-input.shrink[data-v-4d174f13],
|
|
883
|
+
.data-row .bagel-input.shrink input[data-v-4d174f13] {
|
|
883
884
|
min-width: 140px !important;
|
|
884
885
|
/* margin-top: -0.45rem !important; */
|
|
885
886
|
}
|
|
886
|
-
.data-link[data-v-
|
|
887
|
+
.data-link[data-v-4d174f13] {
|
|
887
888
|
display: block;
|
|
888
889
|
font-size: var(--input-font-size);
|
|
889
890
|
margin-bottom: 2px;
|
|
@@ -891,7 +892,7 @@ data[data-v-d3655508] {
|
|
|
891
892
|
color: var(--input-color);
|
|
892
893
|
}
|
|
893
894
|
@media screen and (max-width: 910px) {
|
|
894
|
-
.data-row[data-v-
|
|
895
|
+
.data-row[data-v-4d174f13] {
|
|
895
896
|
display: block;
|
|
896
897
|
/* min-height: 80px; */
|
|
897
898
|
padding-bottom: 1rem;
|
|
@@ -2157,66 +2158,66 @@ svg.leaflet-image-layer.leaflet-interactive path {
|
|
|
2157
2158
|
font-size: var(--label-font-size);
|
|
2158
2159
|
}
|
|
2159
2160
|
|
|
2160
|
-
.bagel-input textarea[data-v-
|
|
2161
|
+
.bagel-input textarea[data-v-82137f41] {
|
|
2161
2162
|
min-height: unset;
|
|
2162
2163
|
font-size: var(--input-font-size);
|
|
2163
2164
|
}
|
|
2164
|
-
.bagel-input.text-input textarea[data-v-
|
|
2165
|
+
.bagel-input.text-input textarea[data-v-82137f41] {
|
|
2165
2166
|
resize: none;
|
|
2166
2167
|
}
|
|
2167
|
-
.code textarea[data-v-
|
|
2168
|
+
.code textarea[data-v-82137f41] {
|
|
2168
2169
|
font-family: 'Inconsolata', monospace;
|
|
2169
2170
|
background: var(--bgl-black) !important;
|
|
2170
2171
|
color: var(--bgl-white) !important;
|
|
2171
2172
|
}
|
|
2172
|
-
.code textarea[data-v-
|
|
2173
|
+
.code textarea[data-v-82137f41]::placeholder {
|
|
2173
2174
|
color: var(--bgl-white) !important;
|
|
2174
2175
|
opacity: 0.3;
|
|
2175
2176
|
}
|
|
2176
|
-
.bagel-input.small[data-v-
|
|
2177
|
+
.bagel-input.small[data-v-82137f41] {
|
|
2177
2178
|
margin-bottom: 0;
|
|
2178
2179
|
height: 30px;
|
|
2179
2180
|
}
|
|
2180
|
-
.bagel-input.dense label[data-v-
|
|
2181
|
+
.bagel-input.dense label[data-v-82137f41] {
|
|
2181
2182
|
display: flex;
|
|
2182
2183
|
align-items: center;
|
|
2183
2184
|
gap: 0.5rem;
|
|
2184
2185
|
}
|
|
2185
|
-
.bagel-input input[data-v-
|
|
2186
|
+
.bagel-input input[data-v-82137f41]:disabled {
|
|
2186
2187
|
background: #f5f5f5;
|
|
2187
2188
|
}
|
|
2188
|
-
.bagel-input label[data-v-
|
|
2189
|
+
.bagel-input label[data-v-82137f41] {
|
|
2189
2190
|
font-size: var(--label-font-size);
|
|
2190
2191
|
}
|
|
2191
|
-
.textInputIconWrap[data-v-
|
|
2192
|
+
.textInputIconWrap[data-v-82137f41] {
|
|
2192
2193
|
position: relative;
|
|
2193
2194
|
}
|
|
2194
|
-
.textInputIconWrap .bgl_icon-font[data-v-
|
|
2195
|
+
.textInputIconWrap .bgl_icon-font[data-v-82137f41] {
|
|
2195
2196
|
position: absolute;
|
|
2196
2197
|
inset-inline-end: 0.7rem;
|
|
2197
2198
|
bottom: 50%;
|
|
2198
2199
|
line-height: 0;
|
|
2199
2200
|
color: var(--bgl-gray);
|
|
2200
2201
|
}
|
|
2201
|
-
.txtInputIconStart .iconStart[data-v-
|
|
2202
|
+
.txtInputIconStart .iconStart[data-v-82137f41] {
|
|
2202
2203
|
position: absolute;
|
|
2203
2204
|
inset-inline-start: 0.7rem;
|
|
2204
2205
|
top: 50%;
|
|
2205
2206
|
line-height: 0;
|
|
2206
2207
|
color: var(--bgl-gray);
|
|
2207
2208
|
}
|
|
2208
|
-
.txtInputIconStart textarea[data-v-
|
|
2209
|
+
.txtInputIconStart textarea[data-v-82137f41] {
|
|
2209
2210
|
padding-inline-start: 2rem;
|
|
2210
2211
|
}
|
|
2211
|
-
.bagel-input.small textarea[data-v-
|
|
2212
|
+
.bagel-input.small textarea[data-v-82137f41] {
|
|
2212
2213
|
height: 30px;
|
|
2213
2214
|
}
|
|
2214
2215
|
|
|
2215
|
-
.primary-checkbox input[data-v-
|
|
2216
|
+
.primary-checkbox input[data-v-bf11f9a2] {
|
|
2216
2217
|
appearance: none;
|
|
2217
2218
|
accent-color: var(--bgl-primary);
|
|
2218
|
-
height: calc(var(--input-height) /
|
|
2219
|
-
width: calc(var(--input-height) /
|
|
2219
|
+
height: calc(var(--input-height) / 1.75);
|
|
2220
|
+
width: calc(var(--input-height) / 1.75);
|
|
2220
2221
|
min-width: 0;
|
|
2221
2222
|
display: flex;
|
|
2222
2223
|
justify-content: center;
|
|
@@ -2224,9 +2225,9 @@ svg.leaflet-image-layer.leaflet-interactive path {
|
|
|
2224
2225
|
cursor: pointer;
|
|
2225
2226
|
border-radius: 100%;
|
|
2226
2227
|
background: var(--bgl-white);
|
|
2227
|
-
border: 2px solid var(--
|
|
2228
|
+
border: 2px solid var(--bgl-gray);
|
|
2228
2229
|
}
|
|
2229
|
-
.primary-checkbox[data-v-
|
|
2230
|
+
.primary-checkbox[data-v-bf11f9a2] {
|
|
2230
2231
|
height:var(--input-height);
|
|
2231
2232
|
width:var(--input-height);
|
|
2232
2233
|
display: flex;
|
|
@@ -2235,14 +2236,15 @@ svg.leaflet-image-layer.leaflet-interactive path {
|
|
|
2235
2236
|
transition: var(--bgl-transition);
|
|
2236
2237
|
transform: scale(0.8);
|
|
2237
2238
|
}
|
|
2238
|
-
.primary-checkbox[data-v-
|
|
2239
|
+
.primary-checkbox[data-v-bf11f9a2]:hover {
|
|
2239
2240
|
filter: brightness(90%);
|
|
2240
2241
|
}
|
|
2241
|
-
.primary-checkbox[data-v-
|
|
2242
|
+
.primary-checkbox[data-v-bf11f9a2]:active {
|
|
2242
2243
|
filter: brightness(80%);
|
|
2243
2244
|
}
|
|
2244
|
-
.primary-checkbox input[data-v-
|
|
2245
|
+
.primary-checkbox input[data-v-bf11f9a2]:checked {
|
|
2245
2246
|
background: var(--bgl-primary);
|
|
2247
|
+
box-shadow: inset 0 0 0px 2px white;
|
|
2246
2248
|
}
|
|
2247
2249
|
|
|
2248
2250
|
.datetime-wrap {
|
|
@@ -2984,7 +2986,7 @@ input[type="number"][data-v-4c741194] {
|
|
|
2984
2986
|
color: var(--bgl-primary) !important;
|
|
2985
2987
|
}
|
|
2986
2988
|
|
|
2987
|
-
.bgl_tabs_wrap[data-v-
|
|
2989
|
+
.bgl_tabs_wrap[data-v-38a31955] {
|
|
2988
2990
|
background: var(--input-bg);
|
|
2989
2991
|
border-radius: calc(var(--input-border-radius) * 1.4);
|
|
2990
2992
|
padding-inline: calc(var(--btn-padding) / 8);
|
|
@@ -2992,7 +2994,7 @@ input[type="number"][data-v-4c741194] {
|
|
|
2992
2994
|
box-shadow: inset 0 0 10px #00000012;
|
|
2993
2995
|
gap: 0.25rem;
|
|
2994
2996
|
}
|
|
2995
|
-
.bgl_tab[data-v-
|
|
2997
|
+
.bgl_tab[data-v-38a31955] {
|
|
2996
2998
|
border: none;
|
|
2997
2999
|
background: transparent;
|
|
2998
3000
|
cursor: pointer;
|
|
@@ -3003,10 +3005,10 @@ input[type="number"][data-v-4c741194] {
|
|
|
3003
3005
|
border-radius: var(--input-border-radius);
|
|
3004
3006
|
transition: var(--bgl-transition);
|
|
3005
3007
|
}
|
|
3006
|
-
.bgl_tab[data-v-
|
|
3008
|
+
.bgl_tab[data-v-38a31955]:hover {
|
|
3007
3009
|
background: rgba(255, 255, 255, .4);
|
|
3008
3010
|
}
|
|
3009
|
-
.bgl_tabs_wrap[data-v-
|
|
3011
|
+
.bgl_tabs_wrap[data-v-38a31955]::before {
|
|
3010
3012
|
content: '';
|
|
3011
3013
|
position: absolute;
|
|
3012
3014
|
top: calc(var(--btn-padding) / 8);
|
|
@@ -3086,7 +3088,7 @@ input[type="number"][data-v-4c741194] {
|
|
|
3086
3088
|
align-items: flex-start !important;
|
|
3087
3089
|
}
|
|
3088
3090
|
.align-items-center {
|
|
3089
|
-
align-items: center;
|
|
3091
|
+
align-items: center !important;
|
|
3090
3092
|
}
|
|
3091
3093
|
.align-items-baseline {
|
|
3092
3094
|
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.
|
|
4
|
+
"version": "0.0.629",
|
|
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.
|
|
109
|
-
"@tiptap/extension-table": "^2.5.
|
|
110
|
-
"@tiptap/extension-table-cell": "^2.5.
|
|
111
|
-
"@tiptap/extension-table-header": "^2.5.
|
|
112
|
-
"@tiptap/extension-table-row": "^2.5.
|
|
113
|
-
"@tiptap/extension-youtube": "^2.5.
|
|
114
|
-
"@tiptap/pm": "^2.5.
|
|
115
|
-
"@tiptap/starter-kit": "^2.5.
|
|
116
|
-
"@tiptap/vue-3": "^2.5.
|
|
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",
|
package/src/components/Btn.vue
CHANGED
|
@@ -202,13 +202,14 @@ a {
|
|
|
202
202
|
|
|
203
203
|
.bgl_btn.bgl_flatBtn:hover,
|
|
204
204
|
.bgl_btn-icon.bgl_flatBtn:hover {
|
|
205
|
-
filter: var(--bgl-
|
|
205
|
+
filter: var(--bgl-hover-filter);
|
|
206
|
+
background: var(--bgl-gray-20);
|
|
206
207
|
}
|
|
207
208
|
|
|
208
209
|
.bgl_btn.bgl_flatBtn:active,
|
|
209
210
|
.bgl_btn-icon.bgl_flatBtn:active {
|
|
210
211
|
background: var(--bgl-gray-40);
|
|
211
|
-
filter: var(--bgl-
|
|
212
|
+
filter: var(--bgl-active-filter);
|
|
212
213
|
}
|
|
213
214
|
|
|
214
215
|
.bgl_btn.bgl_flatBtn.red,
|
|
@@ -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
|
-
|
|
29
|
-
|
|
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
|
|
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) /
|
|
19
|
-
width: calc(var(--input-height) /
|
|
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(--
|
|
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
|
|
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"
|
|
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
|
|
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
|
-
|
|
25
|
-
|
|
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[]>([])
|