@bagelink/vue 0.0.605 → 0.0.610
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/form/inputs/FileUpload.vue.d.ts +11 -11
- package/dist/components/form/inputs/SignaturePad.vue.d.ts.map +1 -1
- package/dist/index.cjs +34 -23
- package/dist/index.mjs +34 -23
- package/dist/style.css +52 -54
- package/package.json +12 -12
- package/src/components/DataPreview.vue +1 -4
- package/src/components/TableSchema.vue +1 -0
- package/src/components/form/inputs/SignaturePad.vue +3 -2
|
@@ -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;
|
|
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"}
|
|
@@ -6,16 +6,16 @@ declare function browse(): void;
|
|
|
6
6
|
declare function __VLS_template(): {
|
|
7
7
|
files?(_: {
|
|
8
8
|
files: import('@vue-macros/reactivity-transform/macros.js').ReactiveVariable<{
|
|
9
|
-
organization?: string[];
|
|
9
|
+
organization?: string[] | undefined;
|
|
10
10
|
name: string;
|
|
11
11
|
url: string;
|
|
12
|
-
mimetype?: string;
|
|
13
|
-
size?: number;
|
|
14
|
-
extension?: string;
|
|
15
|
-
path?: string;
|
|
16
|
-
id?: string;
|
|
17
|
-
created_at?: Date | string;
|
|
18
|
-
updated_at?: Date | string;
|
|
12
|
+
mimetype?: string | undefined;
|
|
13
|
+
size?: number | undefined;
|
|
14
|
+
extension?: string | undefined;
|
|
15
|
+
path?: string | undefined;
|
|
16
|
+
id?: string | undefined;
|
|
17
|
+
created_at?: (Date | string) | undefined;
|
|
18
|
+
updated_at?: (Date | string) | undefined;
|
|
19
19
|
}[]>;
|
|
20
20
|
fileQueue: import('@vue-macros/reactivity-transform/macros.js').ReactiveVariable<{
|
|
21
21
|
file: {
|
|
@@ -30,9 +30,9 @@ declare function __VLS_template(): {
|
|
|
30
30
|
text: () => Promise<string>;
|
|
31
31
|
};
|
|
32
32
|
progress: number;
|
|
33
|
-
uploading?: boolean;
|
|
34
|
-
name?: string;
|
|
35
|
-
uploaded?: boolean;
|
|
33
|
+
uploading?: boolean | undefined;
|
|
34
|
+
name?: string | undefined;
|
|
35
|
+
uploaded?: boolean | undefined;
|
|
36
36
|
}[]>;
|
|
37
37
|
}): any;
|
|
38
38
|
placeholder?(_: {
|
|
@@ -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;AAoB9D,iBAAS,IAAI,CAAC,MAAM,CAAC,EAAE,UAAU,sBAGhC;AAKD,iBAAS,IAAI,SAMZ;AAgBD,iBAAS,YAAY,CAAC,IAAI,EAAE,SAAS,QA0BpC;;
|
|
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;AAoB9D,iBAAS,IAAI,CAAC,MAAM,CAAC,EAAE,UAAU,sBAGhC;AAKD,iBAAS,IAAI,SAMZ;AAgBD,iBAAS,YAAY,CAAC,IAAI,EAAE,SAAS,QA0BpC;;gBAwIY,mBAAmB;YACvB,MAAM;aACL,MAAM;YACP,MAAM;oBACE,OAAO;gBACX,SAAS;eACV,OAAO;iBACL,MAAM;aACV,UAAU;;;;;;;uBAnMM,MAAM;;gBA2LnB,mBAAmB;YACvB,MAAM;aACL,MAAM;YACP,MAAM;oBACE,OAAO;gBACX,SAAS;eACV,OAAO;iBACL,MAAM;aACV,UAAU;;AAfpB,wBAiBG;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
|
@@ -6359,7 +6359,7 @@ function useVerticalVirtualList(options, list) {
|
|
|
6359
6359
|
containerRef
|
|
6360
6360
|
};
|
|
6361
6361
|
}
|
|
6362
|
-
const _withScopeId$3 = (n2) => (vue.pushScopeId("data-v-
|
|
6362
|
+
const _withScopeId$3 = (n2) => (vue.pushScopeId("data-v-d01cb754"), n2 = n2(), vue.popScopeId(), n2);
|
|
6363
6363
|
const _hoisted_1$C = {
|
|
6364
6364
|
key: 0,
|
|
6365
6365
|
class: "loading-table-wrapper z-99 h-100 w-100 absolute inset"
|
|
@@ -6393,7 +6393,7 @@ const _sfc_main$F = /* @__PURE__ */ vue.defineComponent({
|
|
|
6393
6393
|
emits: /* @__PURE__ */ vue.mergeModels(["update:selectedItems", "orderBy", "select"], ["update:loading", "update:itemHeight"]),
|
|
6394
6394
|
setup(__props, { emit: __emit }) {
|
|
6395
6395
|
vue.useCssVars((_ctx) => ({
|
|
6396
|
-
"
|
|
6396
|
+
"02b73339": vue.unref(computedItemHiehgt)
|
|
6397
6397
|
}));
|
|
6398
6398
|
const props2 = __props;
|
|
6399
6399
|
const emit2 = __emit;
|
|
@@ -6598,7 +6598,7 @@ const _sfc_main$F = /* @__PURE__ */ vue.defineComponent({
|
|
|
6598
6598
|
};
|
|
6599
6599
|
}
|
|
6600
6600
|
});
|
|
6601
|
-
const TableSchema = /* @__PURE__ */ _export_sfc(_sfc_main$F, [["__scopeId", "data-v-
|
|
6601
|
+
const TableSchema = /* @__PURE__ */ _export_sfc(_sfc_main$F, [["__scopeId", "data-v-d01cb754"]]);
|
|
6602
6602
|
const _sfc_main$E = {};
|
|
6603
6603
|
const _hoisted_1$B = { class: "flex space-between" };
|
|
6604
6604
|
function _sfc_render$1(_ctx, _cache) {
|
|
@@ -6729,7 +6729,7 @@ const _sfc_main$C = /* @__PURE__ */ vue.defineComponent({
|
|
|
6729
6729
|
};
|
|
6730
6730
|
}
|
|
6731
6731
|
});
|
|
6732
|
-
const DataPreview = /* @__PURE__ */ _export_sfc(_sfc_main$C, [["__scopeId", "data-v-
|
|
6732
|
+
const DataPreview = /* @__PURE__ */ _export_sfc(_sfc_main$C, [["__scopeId", "data-v-0ffde6c7"]]);
|
|
6733
6733
|
const _hoisted_1$z = {
|
|
6734
6734
|
key: 0,
|
|
6735
6735
|
class: "card_label"
|
|
@@ -41487,7 +41487,7 @@ const getTextContentFromNodes = ($from, maxMatch = 500) => {
|
|
|
41487
41487
|
parent,
|
|
41488
41488
|
index: index2
|
|
41489
41489
|
})) || node.textContent || "%leaf%";
|
|
41490
|
-
textBefore += chunk.slice(0, Math.max(0, sliceEndPos - pos));
|
|
41490
|
+
textBefore += node.isAtom ? chunk : chunk.slice(0, Math.max(0, sliceEndPos - pos));
|
|
41491
41491
|
});
|
|
41492
41492
|
return textBefore;
|
|
41493
41493
|
};
|
|
@@ -44395,6 +44395,11 @@ let Editor$1 = class Editor2 extends EventEmitter {
|
|
|
44395
44395
|
}
|
|
44396
44396
|
const state2 = this.state.apply(transaction);
|
|
44397
44397
|
const selectionHasChanged = !this.state.selection.eq(state2.selection);
|
|
44398
|
+
this.emit("beforeTransaction", {
|
|
44399
|
+
editor: this,
|
|
44400
|
+
transaction,
|
|
44401
|
+
nextState: state2
|
|
44402
|
+
});
|
|
44398
44403
|
this.view.updateState(state2);
|
|
44399
44404
|
this.emit("transaction", {
|
|
44400
44405
|
editor: this,
|
|
@@ -49856,12 +49861,12 @@ function useDebouncedRef(value) {
|
|
|
49856
49861
|
class Editor extends Editor$1 {
|
|
49857
49862
|
constructor(options = {}) {
|
|
49858
49863
|
super(options);
|
|
49859
|
-
this.vueRenderers = vue.reactive(/* @__PURE__ */ new Map());
|
|
49860
49864
|
this.contentComponent = null;
|
|
49865
|
+
this.appContext = null;
|
|
49861
49866
|
this.reactiveState = useDebouncedRef(this.view.state);
|
|
49862
49867
|
this.reactiveExtensionStorage = useDebouncedRef(this.extensionStorage);
|
|
49863
|
-
this.on("
|
|
49864
|
-
this.reactiveState.value =
|
|
49868
|
+
this.on("beforeTransaction", ({ nextState }) => {
|
|
49869
|
+
this.reactiveState.value = nextState;
|
|
49865
49870
|
this.reactiveExtensionStorage.value = this.extensionStorage;
|
|
49866
49871
|
});
|
|
49867
49872
|
return vue.markRaw(this);
|
|
@@ -49908,6 +49913,16 @@ const EditorContent = vue.defineComponent({
|
|
|
49908
49913
|
const element = vue.unref(rootEl2.value);
|
|
49909
49914
|
rootEl2.value.append(...editor.options.element.childNodes);
|
|
49910
49915
|
editor.contentComponent = instance.ctx._;
|
|
49916
|
+
if (instance) {
|
|
49917
|
+
editor.appContext = {
|
|
49918
|
+
...instance.appContext,
|
|
49919
|
+
provides: {
|
|
49920
|
+
// @ts-ignore
|
|
49921
|
+
...instance.provides,
|
|
49922
|
+
...instance.appContext.provides
|
|
49923
|
+
}
|
|
49924
|
+
};
|
|
49925
|
+
}
|
|
49911
49926
|
editor.setOptions({
|
|
49912
49927
|
element
|
|
49913
49928
|
});
|
|
@@ -49926,6 +49941,7 @@ const EditorContent = vue.defineComponent({
|
|
|
49926
49941
|
});
|
|
49927
49942
|
}
|
|
49928
49943
|
editor.contentComponent = null;
|
|
49944
|
+
editor.appContext = null;
|
|
49929
49945
|
if (!editor.options.element.firstChild) {
|
|
49930
49946
|
return;
|
|
49931
49947
|
}
|
|
@@ -49938,24 +49954,11 @@ const EditorContent = vue.defineComponent({
|
|
|
49938
49954
|
return { rootEl: rootEl2 };
|
|
49939
49955
|
},
|
|
49940
49956
|
render() {
|
|
49941
|
-
const vueRenderers = [];
|
|
49942
|
-
if (this.editor) {
|
|
49943
|
-
this.editor.vueRenderers.forEach((vueRenderer) => {
|
|
49944
|
-
const node = vue.h(vue.Teleport, {
|
|
49945
|
-
to: vueRenderer.teleportElement,
|
|
49946
|
-
key: vueRenderer.id
|
|
49947
|
-
}, vue.h(vueRenderer.component, {
|
|
49948
|
-
ref: vueRenderer.id,
|
|
49949
|
-
...vueRenderer.props
|
|
49950
|
-
}));
|
|
49951
|
-
vueRenderers.push(node);
|
|
49952
|
-
});
|
|
49953
|
-
}
|
|
49954
49957
|
return vue.h("div", {
|
|
49955
49958
|
ref: (el) => {
|
|
49956
49959
|
this.rootEl = el;
|
|
49957
49960
|
}
|
|
49958
|
-
}
|
|
49961
|
+
});
|
|
49959
49962
|
}
|
|
49960
49963
|
});
|
|
49961
49964
|
vue.defineComponent({
|
|
@@ -56342,10 +56345,18 @@ const _sfc_main$a = /* @__PURE__ */ vue.defineComponent({
|
|
|
56342
56345
|
});
|
|
56343
56346
|
return (_ctx, _cache) => {
|
|
56344
56347
|
return vue.openBlock(), vue.createElementBlock("div", {
|
|
56345
|
-
class: "bgl_input signature-pad",
|
|
56348
|
+
class: "bgl_input signature-pad relative",
|
|
56346
56349
|
onTouchmove: _cache[0] || (_cache[0] = vue.withModifiers(() => {
|
|
56347
56350
|
}, ["prevent"]))
|
|
56348
56351
|
}, [
|
|
56352
|
+
!_ctx.disabled ? (vue.openBlock(), vue.createBlock(vue.unref(Btn), {
|
|
56353
|
+
key: 0,
|
|
56354
|
+
flat: "",
|
|
56355
|
+
thin: "",
|
|
56356
|
+
icon: "refresh",
|
|
56357
|
+
class: "position-bottom-end",
|
|
56358
|
+
onClick: clear
|
|
56359
|
+
})) : vue.createCommentVNode("", true),
|
|
56349
56360
|
vue.createElementVNode("canvas", {
|
|
56350
56361
|
ref_key: "vCanvas",
|
|
56351
56362
|
ref: vCanvas,
|
package/dist/index.mjs
CHANGED
|
@@ -6357,7 +6357,7 @@ function useVerticalVirtualList(options, list) {
|
|
|
6357
6357
|
containerRef
|
|
6358
6358
|
};
|
|
6359
6359
|
}
|
|
6360
|
-
const _withScopeId$3 = (n2) => (pushScopeId("data-v-
|
|
6360
|
+
const _withScopeId$3 = (n2) => (pushScopeId("data-v-d01cb754"), n2 = n2(), popScopeId(), n2);
|
|
6361
6361
|
const _hoisted_1$C = {
|
|
6362
6362
|
key: 0,
|
|
6363
6363
|
class: "loading-table-wrapper z-99 h-100 w-100 absolute inset"
|
|
@@ -6391,7 +6391,7 @@ const _sfc_main$F = /* @__PURE__ */ defineComponent({
|
|
|
6391
6391
|
emits: /* @__PURE__ */ mergeModels(["update:selectedItems", "orderBy", "select"], ["update:loading", "update:itemHeight"]),
|
|
6392
6392
|
setup(__props, { emit: __emit }) {
|
|
6393
6393
|
useCssVars((_ctx) => ({
|
|
6394
|
-
"
|
|
6394
|
+
"02b73339": unref(computedItemHiehgt)
|
|
6395
6395
|
}));
|
|
6396
6396
|
const props2 = __props;
|
|
6397
6397
|
const emit2 = __emit;
|
|
@@ -6596,7 +6596,7 @@ const _sfc_main$F = /* @__PURE__ */ defineComponent({
|
|
|
6596
6596
|
};
|
|
6597
6597
|
}
|
|
6598
6598
|
});
|
|
6599
|
-
const TableSchema = /* @__PURE__ */ _export_sfc(_sfc_main$F, [["__scopeId", "data-v-
|
|
6599
|
+
const TableSchema = /* @__PURE__ */ _export_sfc(_sfc_main$F, [["__scopeId", "data-v-d01cb754"]]);
|
|
6600
6600
|
const _sfc_main$E = {};
|
|
6601
6601
|
const _hoisted_1$B = { class: "flex space-between" };
|
|
6602
6602
|
function _sfc_render$1(_ctx, _cache) {
|
|
@@ -6727,7 +6727,7 @@ const _sfc_main$C = /* @__PURE__ */ defineComponent({
|
|
|
6727
6727
|
};
|
|
6728
6728
|
}
|
|
6729
6729
|
});
|
|
6730
|
-
const DataPreview = /* @__PURE__ */ _export_sfc(_sfc_main$C, [["__scopeId", "data-v-
|
|
6730
|
+
const DataPreview = /* @__PURE__ */ _export_sfc(_sfc_main$C, [["__scopeId", "data-v-0ffde6c7"]]);
|
|
6731
6731
|
const _hoisted_1$z = {
|
|
6732
6732
|
key: 0,
|
|
6733
6733
|
class: "card_label"
|
|
@@ -41485,7 +41485,7 @@ const getTextContentFromNodes = ($from, maxMatch = 500) => {
|
|
|
41485
41485
|
parent,
|
|
41486
41486
|
index: index2
|
|
41487
41487
|
})) || node.textContent || "%leaf%";
|
|
41488
|
-
textBefore += chunk.slice(0, Math.max(0, sliceEndPos - pos));
|
|
41488
|
+
textBefore += node.isAtom ? chunk : chunk.slice(0, Math.max(0, sliceEndPos - pos));
|
|
41489
41489
|
});
|
|
41490
41490
|
return textBefore;
|
|
41491
41491
|
};
|
|
@@ -44393,6 +44393,11 @@ let Editor$1 = class Editor2 extends EventEmitter {
|
|
|
44393
44393
|
}
|
|
44394
44394
|
const state2 = this.state.apply(transaction);
|
|
44395
44395
|
const selectionHasChanged = !this.state.selection.eq(state2.selection);
|
|
44396
|
+
this.emit("beforeTransaction", {
|
|
44397
|
+
editor: this,
|
|
44398
|
+
transaction,
|
|
44399
|
+
nextState: state2
|
|
44400
|
+
});
|
|
44396
44401
|
this.view.updateState(state2);
|
|
44397
44402
|
this.emit("transaction", {
|
|
44398
44403
|
editor: this,
|
|
@@ -49854,12 +49859,12 @@ function useDebouncedRef(value) {
|
|
|
49854
49859
|
class Editor extends Editor$1 {
|
|
49855
49860
|
constructor(options = {}) {
|
|
49856
49861
|
super(options);
|
|
49857
|
-
this.vueRenderers = reactive(/* @__PURE__ */ new Map());
|
|
49858
49862
|
this.contentComponent = null;
|
|
49863
|
+
this.appContext = null;
|
|
49859
49864
|
this.reactiveState = useDebouncedRef(this.view.state);
|
|
49860
49865
|
this.reactiveExtensionStorage = useDebouncedRef(this.extensionStorage);
|
|
49861
|
-
this.on("
|
|
49862
|
-
this.reactiveState.value =
|
|
49866
|
+
this.on("beforeTransaction", ({ nextState }) => {
|
|
49867
|
+
this.reactiveState.value = nextState;
|
|
49863
49868
|
this.reactiveExtensionStorage.value = this.extensionStorage;
|
|
49864
49869
|
});
|
|
49865
49870
|
return markRaw(this);
|
|
@@ -49906,6 +49911,16 @@ const EditorContent = defineComponent({
|
|
|
49906
49911
|
const element = unref(rootEl2.value);
|
|
49907
49912
|
rootEl2.value.append(...editor.options.element.childNodes);
|
|
49908
49913
|
editor.contentComponent = instance.ctx._;
|
|
49914
|
+
if (instance) {
|
|
49915
|
+
editor.appContext = {
|
|
49916
|
+
...instance.appContext,
|
|
49917
|
+
provides: {
|
|
49918
|
+
// @ts-ignore
|
|
49919
|
+
...instance.provides,
|
|
49920
|
+
...instance.appContext.provides
|
|
49921
|
+
}
|
|
49922
|
+
};
|
|
49923
|
+
}
|
|
49909
49924
|
editor.setOptions({
|
|
49910
49925
|
element
|
|
49911
49926
|
});
|
|
@@ -49924,6 +49939,7 @@ const EditorContent = defineComponent({
|
|
|
49924
49939
|
});
|
|
49925
49940
|
}
|
|
49926
49941
|
editor.contentComponent = null;
|
|
49942
|
+
editor.appContext = null;
|
|
49927
49943
|
if (!editor.options.element.firstChild) {
|
|
49928
49944
|
return;
|
|
49929
49945
|
}
|
|
@@ -49936,24 +49952,11 @@ const EditorContent = defineComponent({
|
|
|
49936
49952
|
return { rootEl: rootEl2 };
|
|
49937
49953
|
},
|
|
49938
49954
|
render() {
|
|
49939
|
-
const vueRenderers = [];
|
|
49940
|
-
if (this.editor) {
|
|
49941
|
-
this.editor.vueRenderers.forEach((vueRenderer) => {
|
|
49942
|
-
const node = h$2(Teleport, {
|
|
49943
|
-
to: vueRenderer.teleportElement,
|
|
49944
|
-
key: vueRenderer.id
|
|
49945
|
-
}, h$2(vueRenderer.component, {
|
|
49946
|
-
ref: vueRenderer.id,
|
|
49947
|
-
...vueRenderer.props
|
|
49948
|
-
}));
|
|
49949
|
-
vueRenderers.push(node);
|
|
49950
|
-
});
|
|
49951
|
-
}
|
|
49952
49955
|
return h$2("div", {
|
|
49953
49956
|
ref: (el) => {
|
|
49954
49957
|
this.rootEl = el;
|
|
49955
49958
|
}
|
|
49956
|
-
}
|
|
49959
|
+
});
|
|
49957
49960
|
}
|
|
49958
49961
|
});
|
|
49959
49962
|
defineComponent({
|
|
@@ -56340,10 +56343,18 @@ const _sfc_main$a = /* @__PURE__ */ defineComponent({
|
|
|
56340
56343
|
});
|
|
56341
56344
|
return (_ctx, _cache) => {
|
|
56342
56345
|
return openBlock(), createElementBlock("div", {
|
|
56343
|
-
class: "bgl_input signature-pad",
|
|
56346
|
+
class: "bgl_input signature-pad relative",
|
|
56344
56347
|
onTouchmove: _cache[0] || (_cache[0] = withModifiers(() => {
|
|
56345
56348
|
}, ["prevent"]))
|
|
56346
56349
|
}, [
|
|
56350
|
+
!_ctx.disabled ? (openBlock(), createBlock(unref(Btn), {
|
|
56351
|
+
key: 0,
|
|
56352
|
+
flat: "",
|
|
56353
|
+
thin: "",
|
|
56354
|
+
icon: "refresh",
|
|
56355
|
+
class: "position-bottom-end",
|
|
56356
|
+
onClick: clear
|
|
56357
|
+
})) : createCommentVNode("", true),
|
|
56347
56358
|
createElementVNode("canvas", {
|
|
56348
56359
|
ref_key: "vCanvas",
|
|
56349
56360
|
ref: vCanvas,
|
package/dist/style.css
CHANGED
|
@@ -640,19 +640,19 @@ a[data-v-59ea4a90] {
|
|
|
640
640
|
}
|
|
641
641
|
}
|
|
642
642
|
|
|
643
|
-
.selected[data-v-
|
|
643
|
+
.selected[data-v-d01cb754] {
|
|
644
644
|
background: var(--bgl-primary-tint);
|
|
645
645
|
}
|
|
646
|
-
tbody tr.selected[data-v-
|
|
646
|
+
tbody tr.selected[data-v-d01cb754]:hover {
|
|
647
647
|
background: var(--bgl-primary-light);
|
|
648
648
|
}
|
|
649
|
-
.loading-table[data-v-
|
|
649
|
+
.loading-table[data-v-d01cb754] {
|
|
650
650
|
position: relative;
|
|
651
651
|
}
|
|
652
|
-
.inset[data-v-
|
|
652
|
+
.inset[data-v-d01cb754] {
|
|
653
653
|
inset: 0;
|
|
654
654
|
}
|
|
655
|
-
.loading-table-animation[data-v-
|
|
655
|
+
.loading-table-animation[data-v-d01cb754] {
|
|
656
656
|
--size: 60px;
|
|
657
657
|
top: 30vh;
|
|
658
658
|
inset-inline-start: calc(50% - var(--size));
|
|
@@ -660,9 +660,9 @@ tbody tr.selected[data-v-84e79d8d]:hover {
|
|
|
660
660
|
border-top: 4px solid var(--bgl-primary);
|
|
661
661
|
width: var(--size);
|
|
662
662
|
height: var(--size);
|
|
663
|
-
animation: loading-table-
|
|
663
|
+
animation: loading-table-d01cb754 1s linear infinite;
|
|
664
664
|
}
|
|
665
|
-
@keyframes loading-table-
|
|
665
|
+
@keyframes loading-table-d01cb754 {
|
|
666
666
|
0% {
|
|
667
667
|
transform: translate(-50%, -50%) rotate(0deg);
|
|
668
668
|
}
|
|
@@ -670,51 +670,52 @@ tbody tr.selected[data-v-84e79d8d]:hover {
|
|
|
670
670
|
transform: translate(-50%, -50%) rotate(360deg);
|
|
671
671
|
}
|
|
672
672
|
}
|
|
673
|
-
.list-arrows[data-v-
|
|
673
|
+
.list-arrows[data-v-d01cb754] {
|
|
674
674
|
opacity: 0;
|
|
675
675
|
}
|
|
676
|
-
.list-arrows .bgl_icon-font[data-v-
|
|
676
|
+
.list-arrows .bgl_icon-font[data-v-d01cb754] {
|
|
677
677
|
transition: all ease-in-out 0.2s;
|
|
678
678
|
}
|
|
679
|
-
.list-arrows.sorted[data-v-
|
|
679
|
+
.list-arrows.sorted[data-v-d01cb754] {
|
|
680
680
|
opacity: 1;
|
|
681
681
|
}
|
|
682
|
-
.col img[data-v-
|
|
682
|
+
.col img[data-v-d01cb754] {
|
|
683
683
|
height: 35px;
|
|
684
684
|
margin-top: -14px;
|
|
685
685
|
margin-bottom: -14px;
|
|
686
686
|
border-radius: 5px;
|
|
687
687
|
}
|
|
688
|
-
.list-arrows.sorted .desc[data-v-
|
|
688
|
+
.list-arrows.sorted .desc[data-v-d01cb754] {
|
|
689
689
|
transform: rotate(180deg);
|
|
690
|
+
display: inline-block;
|
|
690
691
|
}
|
|
691
|
-
table[data-v-
|
|
692
|
+
table[data-v-d01cb754] {
|
|
692
693
|
border-collapse: separate;
|
|
693
694
|
border-spacing: 0 15px;
|
|
694
695
|
border-collapse: collapse;
|
|
695
696
|
width: 100%;
|
|
696
697
|
}
|
|
697
|
-
th[data-v-
|
|
698
|
+
th[data-v-d01cb754] {
|
|
698
699
|
font-size: 0.8rem;
|
|
699
700
|
color: var(--bgl-black-tint);
|
|
700
701
|
position: sticky;
|
|
701
702
|
top: 0;
|
|
702
703
|
z-index: 2;
|
|
703
704
|
background: var(--bgl-white);
|
|
704
|
-
height: var(--
|
|
705
|
+
height: var(--02b73339);
|
|
705
706
|
vertical-align: bottom;
|
|
706
707
|
font-weight: 400;
|
|
707
708
|
text-align: start;
|
|
708
709
|
}
|
|
709
|
-
.embedded-field[data-v-
|
|
710
|
+
.embedded-field[data-v-d01cb754] {
|
|
710
711
|
margin-bottom: -0.2rem;
|
|
711
712
|
margin-top: -0.2rem;
|
|
712
713
|
}
|
|
713
|
-
.row[data-v-
|
|
714
|
+
.row[data-v-d01cb754] {
|
|
714
715
|
border-bottom: 1px solid var(--border-color);
|
|
715
716
|
cursor: pointer;
|
|
716
717
|
}
|
|
717
|
-
.row.first-row[data-v-
|
|
718
|
+
.row.first-row[data-v-d01cb754] {
|
|
718
719
|
font-size: 0.8rem;
|
|
719
720
|
color: var(--bgl-black-tint);
|
|
720
721
|
position: sticky;
|
|
@@ -723,7 +724,7 @@ th[data-v-84e79d8d] {
|
|
|
723
724
|
background: var(--bgl-white);
|
|
724
725
|
vertical-align: bottom;
|
|
725
726
|
}
|
|
726
|
-
.row.first-row[data-v-
|
|
727
|
+
.row.first-row[data-v-d01cb754]::after {
|
|
727
728
|
content: '';
|
|
728
729
|
border-bottom: 1px solid var(--border-color);
|
|
729
730
|
position: absolute;
|
|
@@ -731,30 +732,30 @@ th[data-v-84e79d8d] {
|
|
|
731
732
|
right: 0;
|
|
732
733
|
bottom: -1px;
|
|
733
734
|
}
|
|
734
|
-
.first-row .col[data-v-
|
|
735
|
+
.first-row .col[data-v-d01cb754] {
|
|
735
736
|
cursor: pointer;
|
|
736
737
|
background: var(--bgl-white);
|
|
737
738
|
}
|
|
738
|
-
.col[data-v-
|
|
739
|
+
.col[data-v-d01cb754] {
|
|
739
740
|
white-space: nowrap;
|
|
740
741
|
padding: 0.75rem 1rem;
|
|
741
742
|
transition: var(--bgl-transition);
|
|
742
743
|
line-height: 1;
|
|
743
744
|
align-items: center;
|
|
744
745
|
}
|
|
745
|
-
.col[data-v-
|
|
746
|
+
.col[data-v-d01cb754]:has(.bagel-input) {
|
|
746
747
|
padding: 0rem 0.25rem;
|
|
747
748
|
}
|
|
748
|
-
.col > div[data-v-
|
|
749
|
+
.col > div[data-v-d01cb754] {
|
|
749
750
|
display: flex;
|
|
750
751
|
gap: 0.5rem;
|
|
751
752
|
}
|
|
752
|
-
.max-col-width[data-v-
|
|
753
|
+
.max-col-width[data-v-d01cb754] {
|
|
753
754
|
max-width: 30vw;
|
|
754
755
|
overflow: hidden;
|
|
755
756
|
text-overflow: ellipsis;
|
|
756
757
|
}
|
|
757
|
-
.col.check .bgl_icon-font[data-v-
|
|
758
|
+
.col.check .bgl_icon-font[data-v-d01cb754] {
|
|
758
759
|
border-radius: 100%;
|
|
759
760
|
background: var(--bgl-blue-20);
|
|
760
761
|
color: var(--bgl-primary);
|
|
@@ -765,35 +766,35 @@ th[data-v-84e79d8d] {
|
|
|
765
766
|
justify-content: center;
|
|
766
767
|
margin-top: -2px;
|
|
767
768
|
}
|
|
768
|
-
.rows[data-v-
|
|
769
|
+
.rows[data-v-d01cb754] {
|
|
769
770
|
font-size: 0.88em;
|
|
770
771
|
}
|
|
771
|
-
.table-list[data-v-
|
|
772
|
+
.table-list[data-v-d01cb754] {
|
|
772
773
|
height: 100%;
|
|
773
774
|
position: relative;
|
|
774
775
|
padding-left: 0 !important;
|
|
775
776
|
padding-right: 0 !important;
|
|
776
777
|
overflow: auto;
|
|
777
778
|
}
|
|
778
|
-
.BagelTable .table-list[data-v-
|
|
779
|
+
.BagelTable .table-list[data-v-d01cb754] {
|
|
779
780
|
overflow: unset;
|
|
780
781
|
}
|
|
781
|
-
.row-item[data-v-
|
|
782
|
-
height: var(--
|
|
782
|
+
.row-item[data-v-d01cb754] {
|
|
783
|
+
height: var(--02b73339);
|
|
783
784
|
transition: all 200ms ease;
|
|
784
785
|
}
|
|
785
|
-
.row-item[data-v-
|
|
786
|
+
.row-item[data-v-d01cb754]:hover {
|
|
786
787
|
background: var(--bgl-gray-light);
|
|
787
788
|
}
|
|
788
|
-
.row-item input[type='checkbox'][data-v-
|
|
789
|
+
.row-item input[type='checkbox'][data-v-d01cb754] {
|
|
789
790
|
margin-top: 0.45rem !important;
|
|
790
791
|
accent-color: var(--bgl-primary);
|
|
791
792
|
}
|
|
792
|
-
.infinite-wrapper[data-v-
|
|
793
|
+
.infinite-wrapper[data-v-d01cb754] {
|
|
793
794
|
overflow-y: auto;
|
|
794
795
|
width: 100%;
|
|
795
796
|
}
|
|
796
|
-
input[type='checkbox'][data-v-
|
|
797
|
+
input[type='checkbox'][data-v-d01cb754] {
|
|
797
798
|
margin-top: 0.3rem !important;
|
|
798
799
|
accent-color: var(--bgl-primary);
|
|
799
800
|
transform: scale(1.2);
|
|
@@ -805,7 +806,7 @@ input[type='checkbox'][data-v-84e79d8d] {
|
|
|
805
806
|
height: 0.85rem;
|
|
806
807
|
width: 0.85rem;
|
|
807
808
|
}
|
|
808
|
-
input[type='checkbox'][data-v-
|
|
809
|
+
input[type='checkbox'][data-v-d01cb754]::before {
|
|
809
810
|
content: '';
|
|
810
811
|
height: 0.85rem;
|
|
811
812
|
width: 0.85rem;
|
|
@@ -818,18 +819,18 @@ input[type='checkbox'][data-v-84e79d8d]::before {
|
|
|
818
819
|
transform: scale(1);
|
|
819
820
|
position: absolute;
|
|
820
821
|
}
|
|
821
|
-
input[type='checkbox'][data-v-
|
|
822
|
+
input[type='checkbox'][data-v-d01cb754]:hover::before {
|
|
822
823
|
opacity: 0.2;
|
|
823
824
|
transform: scale(2);
|
|
824
825
|
}
|
|
825
|
-
[lang='he'] [dir='ltr'][data-v-
|
|
826
|
+
[lang='he'] [dir='ltr'][data-v-d01cb754] {
|
|
826
827
|
text-align: right;
|
|
827
828
|
}
|
|
828
|
-
th input[type='checkbox'][data-v-
|
|
829
|
+
th input[type='checkbox'][data-v-d01cb754] {
|
|
829
830
|
transform: translateY(0.2rem) scale(1.2);
|
|
830
831
|
accent-color: var(--bgl-primary);
|
|
831
832
|
}
|
|
832
|
-
th[data-v-
|
|
833
|
+
th[data-v-d01cb754]::after {
|
|
833
834
|
content: '';
|
|
834
835
|
border-bottom: 1px solid var(--border-color);
|
|
835
836
|
position: absolute;
|
|
@@ -837,49 +838,46 @@ th[data-v-84e79d8d]::after {
|
|
|
837
838
|
right: 0;
|
|
838
839
|
bottom: -1px;
|
|
839
840
|
}
|
|
840
|
-
tr[data-v-
|
|
841
|
+
tr[data-v-d01cb754] {
|
|
841
842
|
border-bottom: 1px solid var(--border-color);
|
|
842
843
|
cursor: pointer;
|
|
843
844
|
align-items: center;
|
|
844
845
|
}
|
|
845
|
-
td[data-v-
|
|
846
|
-
th[data-v-
|
|
846
|
+
td[data-v-d01cb754],
|
|
847
|
+
th[data-v-d01cb754] {
|
|
847
848
|
white-space: nowrap;
|
|
848
849
|
padding: 0.75rem 0.65rem;
|
|
849
850
|
transition: var(--bgl-transition);
|
|
850
851
|
line-height: 1;
|
|
851
852
|
}
|
|
852
|
-
tbody tr[data-v-
|
|
853
|
+
tbody tr[data-v-d01cb754] {
|
|
853
854
|
font-size: 0.88em;
|
|
854
|
-
height: var(--
|
|
855
|
+
height: var(--02b73339);
|
|
855
856
|
transition: all 200ms ease;
|
|
856
857
|
}
|
|
857
|
-
tbody tr[data-v-
|
|
858
|
+
tbody tr[data-v-d01cb754]:hover {
|
|
858
859
|
background: var(--bgl-gray-light);
|
|
859
860
|
}
|
|
860
861
|
|
|
861
|
-
[data-v-
|
|
862
|
-
/* outline: rebeccapurple 1px solid; */
|
|
863
|
-
}
|
|
864
|
-
.data[data-v-d1cbc45f] {
|
|
862
|
+
data[data-v-0ffde6c7] {
|
|
865
863
|
font-size: var(--input-font-size);
|
|
866
864
|
border: 1.1px solid var(--border-color);
|
|
867
865
|
padding: 20px;
|
|
868
866
|
border-radius: var(--input-border-radius);
|
|
869
867
|
}
|
|
870
|
-
.data-row[data-v-
|
|
868
|
+
.data-row[data-v-0ffde6c7] {
|
|
871
869
|
display: flex;
|
|
872
870
|
justify-content: space-between;
|
|
873
871
|
border-bottom: 1px solid var(--border-color);
|
|
874
872
|
align-items: center;
|
|
875
873
|
min-height: 50px;
|
|
876
874
|
}
|
|
877
|
-
.data-row .bagel-input.shrink[data-v-
|
|
878
|
-
.data-row .bagel-input.shrink input[data-v-
|
|
875
|
+
.data-row .bagel-input.shrink[data-v-0ffde6c7],
|
|
876
|
+
.data-row .bagel-input.shrink input[data-v-0ffde6c7] {
|
|
879
877
|
min-width: 140px !important;
|
|
880
878
|
/* margin-top: -0.45rem !important; */
|
|
881
879
|
}
|
|
882
|
-
.data-link[data-v-
|
|
880
|
+
.data-link[data-v-0ffde6c7] {
|
|
883
881
|
display: block;
|
|
884
882
|
font-size: var(--input-font-size);
|
|
885
883
|
margin-bottom: 2px;
|
|
@@ -887,7 +885,7 @@ tbody tr[data-v-84e79d8d]:hover {
|
|
|
887
885
|
color: var(--input-color);
|
|
888
886
|
}
|
|
889
887
|
@media screen and (max-width: 910px) {
|
|
890
|
-
.data-row[data-v-
|
|
888
|
+
.data-row[data-v-0ffde6c7] {
|
|
891
889
|
display: block;
|
|
892
890
|
/* min-height: 80px; */
|
|
893
891
|
padding-bottom: 1rem;
|
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.610",
|
|
5
5
|
"description": "Bagel core sdk packages",
|
|
6
6
|
"author": {
|
|
7
7
|
"name": "Neveh Allon",
|
|
@@ -53,7 +53,7 @@
|
|
|
53
53
|
"devDependencies": {
|
|
54
54
|
"@types/leaflet": "^1.9.12",
|
|
55
55
|
"@types/signature_pad": "^2.3.6",
|
|
56
|
-
"@vue-macros/reactivity-transform": "^0.4.
|
|
56
|
+
"@vue-macros/reactivity-transform": "^0.4.7",
|
|
57
57
|
"vue": "^3.4.33"
|
|
58
58
|
},
|
|
59
59
|
"peerDependencies": {
|
|
@@ -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.5",
|
|
109
|
+
"@tiptap/extension-table": "^2.5.5",
|
|
110
|
+
"@tiptap/extension-table-cell": "^2.5.5",
|
|
111
|
+
"@tiptap/extension-table-header": "^2.5.5",
|
|
112
|
+
"@tiptap/extension-table-row": "^2.5.5",
|
|
113
|
+
"@tiptap/extension-youtube": "^2.5.5",
|
|
114
|
+
"@tiptap/pm": "^2.5.5",
|
|
115
|
+
"@tiptap/starter-kit": "^2.5.5",
|
|
116
|
+
"@tiptap/vue-3": "^2.5.5",
|
|
117
117
|
"@vuepic/vue-datepicker": "^8.8.1",
|
|
118
118
|
"@vueuse/core": "^10.11.0",
|
|
119
119
|
"axios": "^1.7.2",
|
|
@@ -121,7 +121,7 @@
|
|
|
121
121
|
"leaflet": "^1.9.4",
|
|
122
122
|
"libphonenumber-js": "1.11.4",
|
|
123
123
|
"signature_pad": "^5.0.2",
|
|
124
|
-
"type-fest": "^4.
|
|
124
|
+
"type-fest": "^4.23.0"
|
|
125
125
|
},
|
|
126
126
|
"scripts": {
|
|
127
127
|
"dev": "tsx watch src/index.ts",
|
|
@@ -84,10 +84,7 @@ const computedSchema = $computed(() => getFallbackSchema([itemData.value], props
|
|
|
84
84
|
</template>
|
|
85
85
|
|
|
86
86
|
<style scoped>
|
|
87
|
-
|
|
88
|
-
/* outline: rebeccapurple 1px solid; */
|
|
89
|
-
}
|
|
90
|
-
.data {
|
|
87
|
+
data {
|
|
91
88
|
font-size: var(--input-font-size);
|
|
92
89
|
border: 1.1px solid var(--border-color);
|
|
93
90
|
padding: 20px;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
<script setup lang="ts">
|
|
2
2
|
import SignaturePad from 'signature_pad'
|
|
3
3
|
import type { Options as SignaturePadOptions } from 'signature_pad'
|
|
4
|
-
|
|
4
|
+
import { Btn } from '@bagelink/vue'
|
|
5
5
|
import { onMounted, watch } from 'vue'
|
|
6
6
|
|
|
7
7
|
interface WaterMark {
|
|
@@ -127,7 +127,8 @@ defineExpose({
|
|
|
127
127
|
</script>
|
|
128
128
|
|
|
129
129
|
<template>
|
|
130
|
-
<div class="bgl_input signature-pad" @touchmove.prevent>
|
|
130
|
+
<div class="bgl_input signature-pad relative" @touchmove.prevent>
|
|
131
|
+
<Btn v-if="!disabled" flat thin icon="refresh" class="position-bottom-end" @click="clear" />
|
|
131
132
|
<canvas ref="vCanvas" class="canvas" :disabled="disabled" />
|
|
132
133
|
</div>
|
|
133
134
|
</template>
|