@bagelink/vue 0.0.602 → 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 +6 -0
- package/dist/components/DataPreview.vue.d.ts.map +1 -1
- package/dist/components/Drop.vue.d.ts +34 -0
- package/dist/components/Drop.vue.d.ts.map +1 -0
- package/dist/components/FileUploader.vue.d.ts +60 -0
- package/dist/components/FileUploader.vue.d.ts.map +1 -0
- package/dist/components/TableSchema.vue.d.ts.map +1 -1
- package/dist/components/form/ItemRef.vue.d.ts +1 -0
- package/dist/components/form/ItemRef.vue.d.ts.map +1 -1
- package/dist/components/form/inputs/FileUpload.vue.d.ts +11 -11
- package/dist/components/form/inputs/SelectField.vue.d.ts +1 -4
- package/dist/components/form/inputs/SelectField.vue.d.ts.map +1 -1
- package/dist/components/form/inputs/SignaturePad.vue.d.ts.map +1 -1
- package/dist/composables/index.d.ts +2 -0
- package/dist/composables/index.d.ts.map +1 -1
- package/dist/index.cjs +94 -49
- package/dist/index.mjs +95 -50
- package/dist/style.css +70 -72
- package/dist/utils/index.d.ts.map +1 -1
- package/package.json +13 -13
- package/src/components/DataPreview.vue +49 -21
- package/src/components/TableSchema.vue +14 -12
- package/src/components/form/inputs/FileUpload.vue +1 -1
- package/src/components/form/inputs/SignaturePad.vue +3 -2
- package/src/composables/index.ts +14 -0
- package/src/utils/index.ts +2 -1
- package/tsconfig.json +2 -0
- package/dist/components/Popover.vue.d.ts +0 -10
- package/dist/components/Popover.vue.d.ts.map +0 -1
- package/dist/types/materialIcon.d.ts +0 -2
- package/dist/types/materialIcon.d.ts.map +0 -1
|
@@ -14,6 +14,9 @@ declare const __VLS_component: import('vue').DefineComponent<{
|
|
|
14
14
|
title: {
|
|
15
15
|
type: import('vue').PropType<string>;
|
|
16
16
|
};
|
|
17
|
+
excludeUnset: {
|
|
18
|
+
type: import('vue').PropType<boolean>;
|
|
19
|
+
};
|
|
17
20
|
}, {}, unknown, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
18
21
|
data: import('vue').PropType<Record<string, any>>;
|
|
19
22
|
showFields: {
|
|
@@ -25,6 +28,9 @@ declare const __VLS_component: import('vue').DefineComponent<{
|
|
|
25
28
|
title: {
|
|
26
29
|
type: import('vue').PropType<string>;
|
|
27
30
|
};
|
|
31
|
+
excludeUnset: {
|
|
32
|
+
type: import('vue').PropType<boolean>;
|
|
33
|
+
};
|
|
28
34
|
}>>, {}, {}>;
|
|
29
35
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, ReturnType<typeof __VLS_template>>;
|
|
30
36
|
export default _default;
|
|
@@ -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;
|
|
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"}
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
type Option = {
|
|
2
|
+
label: string;
|
|
3
|
+
value: string;
|
|
4
|
+
} | string | number;
|
|
5
|
+
declare const _default: import("vue").DefineComponent<__VLS_TypePropsToRuntimeProps<{
|
|
6
|
+
modelValue: string | number;
|
|
7
|
+
options: Option[];
|
|
8
|
+
placeholder?: string | undefined;
|
|
9
|
+
label?: string | undefined;
|
|
10
|
+
id: string;
|
|
11
|
+
required: boolean;
|
|
12
|
+
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
13
|
+
"update:modelValue": (...args: any[]) => void;
|
|
14
|
+
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
|
15
|
+
modelValue: string | number;
|
|
16
|
+
options: Option[];
|
|
17
|
+
placeholder?: string | undefined;
|
|
18
|
+
label?: string | undefined;
|
|
19
|
+
id: string;
|
|
20
|
+
required: boolean;
|
|
21
|
+
}>>> & {
|
|
22
|
+
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
23
|
+
}, {}, {}>;
|
|
24
|
+
export default _default;
|
|
25
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
26
|
+
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
27
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
28
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
29
|
+
} : {
|
|
30
|
+
type: import('vue').PropType<T[K]>;
|
|
31
|
+
required: true;
|
|
32
|
+
};
|
|
33
|
+
};
|
|
34
|
+
//# sourceMappingURL=Drop.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Drop.vue.d.ts","sourceRoot":"","sources":["../../src/components/Drop.vue"],"names":[],"mappings":"AAcA;AAMA,KAAK,MAAM,GAAG;IACZ,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,MAAM,CAAC;CACf,GAAG,MAAM,GAAG,MAAM,CAAC;;gBA8KN,MAAM,GAAG,MAAM;aAClB,MAAM,EAAE;;;QAGb,MAAM;cACA,OAAO;;;;gBALL,MAAM,GAAG,MAAM;aAClB,MAAM,EAAE;;;QAGb,MAAM;cACA,OAAO;;;;AAXnB,wBAcG;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"}
|
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
2
|
+
id?: string | undefined;
|
|
3
|
+
private?: 0 | 1 | undefined;
|
|
4
|
+
singleFile?: boolean | undefined;
|
|
5
|
+
beforeUpload?: (() => Promise<any>) | undefined;
|
|
6
|
+
dragDropLabel?: string | undefined;
|
|
7
|
+
browseLabel?: string | undefined;
|
|
8
|
+
}>, {
|
|
9
|
+
private: number;
|
|
10
|
+
entity: string;
|
|
11
|
+
id: string;
|
|
12
|
+
beforeUpload: () => Promise<void>;
|
|
13
|
+
dragDropLabel: string;
|
|
14
|
+
browseLabel: string;
|
|
15
|
+
}>, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
16
|
+
done: (...args: any[]) => void;
|
|
17
|
+
complete: (...args: any[]) => void;
|
|
18
|
+
}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<__VLS_WithDefaults<__VLS_TypePropsToRuntimeProps<{
|
|
19
|
+
id?: string | undefined;
|
|
20
|
+
private?: 0 | 1 | undefined;
|
|
21
|
+
singleFile?: boolean | undefined;
|
|
22
|
+
beforeUpload?: (() => Promise<any>) | undefined;
|
|
23
|
+
dragDropLabel?: string | undefined;
|
|
24
|
+
browseLabel?: string | undefined;
|
|
25
|
+
}>, {
|
|
26
|
+
private: number;
|
|
27
|
+
entity: string;
|
|
28
|
+
id: string;
|
|
29
|
+
beforeUpload: () => Promise<void>;
|
|
30
|
+
dragDropLabel: string;
|
|
31
|
+
browseLabel: string;
|
|
32
|
+
}>>> & {
|
|
33
|
+
onDone?: ((...args: any[]) => any) | undefined;
|
|
34
|
+
onComplete?: ((...args: any[]) => any) | undefined;
|
|
35
|
+
}, {
|
|
36
|
+
id: string;
|
|
37
|
+
private: 1 | 0;
|
|
38
|
+
beforeUpload: () => Promise<any>;
|
|
39
|
+
dragDropLabel: string;
|
|
40
|
+
browseLabel: string;
|
|
41
|
+
}, {}>;
|
|
42
|
+
export default _default;
|
|
43
|
+
type __VLS_NonUndefinedable<T> = T extends undefined ? never : T;
|
|
44
|
+
type __VLS_TypePropsToRuntimeProps<T> = {
|
|
45
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? {
|
|
46
|
+
type: import('vue').PropType<__VLS_NonUndefinedable<T[K]>>;
|
|
47
|
+
} : {
|
|
48
|
+
type: import('vue').PropType<T[K]>;
|
|
49
|
+
required: true;
|
|
50
|
+
};
|
|
51
|
+
};
|
|
52
|
+
type __VLS_WithDefaults<P, D> = {
|
|
53
|
+
[K in keyof Pick<P, keyof P>]: K extends keyof D ? __VLS_Prettify<P[K] & {
|
|
54
|
+
default: D[K];
|
|
55
|
+
}> : P[K];
|
|
56
|
+
};
|
|
57
|
+
type __VLS_Prettify<T> = {
|
|
58
|
+
[K in keyof T]: T[K];
|
|
59
|
+
} & {};
|
|
60
|
+
//# sourceMappingURL=FileUploader.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"FileUploader.vue.d.ts","sourceRoot":"","sources":["../../src/components/FileUploader.vue"],"names":[],"mappings":"AAiDA;;;;;0BA6YuB,QAAQ,GAAG,CAAC;;;;;;;;;;;;;;;;;0BAAZ,QAAQ,GAAG,CAAC;;;;;;;;;;;;;;QAJ5B,MAAM;aAED,CAAC,GAAG,CAAC;kBAEA,MAAM,QAAQ,GAAG,CAAC;mBACjB,MAAM;iBACR,MAAM;;AARtB,wBAeG;AAGH,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"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TableSchema.vue.d.ts","sourceRoot":"","sources":["../../src/components/TableSchema.vue"],"names":[],"mappings":"AAEA,OAAO,EAEN,KAAK,cAAc,EAKnB,MAAM,eAAe,CAAA;
|
|
1
|
+
{"version":3,"file":"TableSchema.vue.d.ts","sourceRoot":"","sources":["../../src/components/TableSchema.vue"],"names":[],"mappings":"AAEA,OAAO,EAEN,KAAK,cAAc,EAKnB,MAAM,eAAe,CAAA;AAqKtB,iBAAS,cAAc;;;MAyV+D,GAAG,GAIxF;AAmCD,QAAA,MAAM,eAAe;aAvYV,OAAO,KAAK,EAAE,QAAQ,CAAC,GAAG,CAAC;gBACxB,OAAO,KAAK,EAAE,QAAQ,CAAC,GAAG,CAAC;;;;;;kBAwZ4J,IAAI;;;6DATvK,cAAc;;;;;;;;;;aAhZrC,OAAO,KAAK,EAAE,QAAQ,CAAC,GAAG,CAAC;gBACxB,OAAO,KAAK,EAAE,QAAQ,CAAC,GAAG,CAAC;;;;;;kBAwZ4J,IAAI;;;6DATvK,cAAc;;;;;;;;;UAM9C,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":"ItemRef.vue.d.ts","sourceRoot":"","sources":["../../../src/components/form/ItemRef.vue"],"names":[],"mappings":"AAoBA;AAIA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,YAAY,CAAC;;
|
|
1
|
+
{"version":3,"file":"ItemRef.vue.d.ts","sourceRoot":"","sources":["../../../src/components/form/ItemRef.vue"],"names":[],"mappings":"AAoBA;AAIA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,YAAY,CAAC;AACzC,OAAO,EAAqB,UAAU,EAAE,MAAM,eAAe,CAAC;;gBAoIjD,OAAO,MAAM,EAAE,GAAG,CAAC;WACxB,UAAU;YACT,MAAM;;gBAFF,OAAO,MAAM,EAAE,GAAG,CAAC;WACxB,UAAU;YACT,MAAM;;AARf,wBAUG;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"}
|
|
@@ -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?(_: {
|
|
@@ -4,8 +4,6 @@ declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_T
|
|
|
4
4
|
field: SelectBagelField;
|
|
5
5
|
modelValue: any;
|
|
6
6
|
small?: boolean | undefined;
|
|
7
|
-
label?: string | undefined;
|
|
8
|
-
description?: string | undefined;
|
|
9
7
|
}>, {
|
|
10
8
|
description: string;
|
|
11
9
|
editMode: boolean;
|
|
@@ -19,8 +17,6 @@ declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_T
|
|
|
19
17
|
field: SelectBagelField;
|
|
20
18
|
modelValue: any;
|
|
21
19
|
small?: boolean | undefined;
|
|
22
|
-
label?: string | undefined;
|
|
23
|
-
description?: string | undefined;
|
|
24
20
|
}>, {
|
|
25
21
|
description: string;
|
|
26
22
|
editMode: boolean;
|
|
@@ -32,6 +28,7 @@ declare const _default: import("vue").DefineComponent<__VLS_WithDefaults<__VLS_T
|
|
|
32
28
|
}, {
|
|
33
29
|
description: string;
|
|
34
30
|
label: string;
|
|
31
|
+
placeholder: string;
|
|
35
32
|
editMode: boolean;
|
|
36
33
|
}, {}>;
|
|
37
34
|
export default _default;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SelectField.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/form/inputs/SelectField.vue"],"names":[],"mappings":"AA6CA;AAOA,OAAO,EAAE,KAAK,gBAAgB,EAAE,MAAM,eAAe,CAAC;;;
|
|
1
|
+
{"version":3,"file":"SelectField.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/form/inputs/SelectField.vue"],"names":[],"mappings":"AA6CA;AAOA,OAAO,EAAE,KAAK,gBAAgB,EAAE,MAAM,eAAe,CAAC;;;WA6U5C,gBAAgB;gBACX,GAAG;;;;;;;;;;;;WADR,gBAAgB;gBACX,GAAG;;;;;;;;;;;;;;cAFJ,OAAO;;AANrB,wBAYG;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"}
|
|
@@ -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"}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { BglFormSchemaFnT, BglFormSchemaT } from '..';
|
|
2
|
+
import { Ref, UnwrapRef } from 'vue';
|
|
2
3
|
|
|
3
4
|
interface useBglSchemaParamsT {
|
|
4
5
|
schema?: BglFormSchemaFnT;
|
|
@@ -6,5 +7,6 @@ interface useBglSchemaParamsT {
|
|
|
6
7
|
data?: any[];
|
|
7
8
|
}
|
|
8
9
|
export declare function useBglSchema({ schema, showFields, data }?: useBglSchemaParamsT): BglFormSchemaT;
|
|
10
|
+
export declare function useLocalStorage<T>(key: string, initialValue: T): Ref<UnwrapRef<T>>;
|
|
9
11
|
export {};
|
|
10
12
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/composables/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,gBAAgB,EAAE,KAAK,cAAc,EAAqB,MAAM,eAAe,CAAA;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/composables/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,gBAAgB,EAAE,KAAK,cAAc,EAAqB,MAAM,eAAe,CAAA;AAC7F,OAAO,KAAK,EAAE,GAAG,EAAE,SAAS,EAAE,MAAM,KAAK,CAAA;AAGzC,UAAU,mBAAmB;IAC5B,MAAM,CAAC,EAAE,gBAAgB,CAAA;IACzB,UAAU,CAAC,EAAE,MAAM,EAAE,CAAA;IACrB,IAAI,CAAC,EAAE,GAAG,EAAE,CAAA;CACZ;AAED,wBAAgB,YAAY,CAC3B,EAAE,MAAM,EAAE,UAAU,EAAE,IAAI,EAAE,GAAE,mBAAwB,GACpD,cAAc,CAahB;AAED,wBAAgB,eAAe,CAAC,CAAC,EAAE,GAAG,EAAE,MAAM,EAAE,YAAY,EAAE,CAAC,GAAG,GAAG,CAAC,SAAS,CAAC,CAAC,CAAC,CAAC,CAUlF"}
|
package/dist/index.cjs
CHANGED
|
@@ -5264,7 +5264,8 @@ function debounce$2(fn3, delay = 500) {
|
|
|
5264
5264
|
timeout = setTimeout(fn3, delay);
|
|
5265
5265
|
}
|
|
5266
5266
|
function keyToLabel(key) {
|
|
5267
|
-
|
|
5267
|
+
if (key === void 0) return key;
|
|
5268
|
+
return key.split("_").map((k2) => k2.charAt(0).toUpperCase() + k2.slice(1)).join(" ") || key;
|
|
5268
5269
|
}
|
|
5269
5270
|
async function copyText(text, cb) {
|
|
5270
5271
|
await navigator.clipboard.writeText(text);
|
|
@@ -5418,6 +5419,15 @@ function useBglSchema({ schema, showFields, data: data2 } = {}) {
|
|
|
5418
5419
|
}
|
|
5419
5420
|
return getFallbackSchema(data2, showFields);
|
|
5420
5421
|
}
|
|
5422
|
+
function useLocalStorage(key, initialValue) {
|
|
5423
|
+
const storedValue = localStorage.getItem(key);
|
|
5424
|
+
const initial = storedValue ? JSON.parse(storedValue) : initialValue;
|
|
5425
|
+
const value = vue.ref(initial);
|
|
5426
|
+
vue.watch(() => value.value, (val) => {
|
|
5427
|
+
localStorage.setItem(key, JSON.stringify(val));
|
|
5428
|
+
}, { immediate: true, deep: true });
|
|
5429
|
+
return value;
|
|
5430
|
+
}
|
|
5421
5431
|
const _sfc_main$O = /* @__PURE__ */ vue.defineComponent({
|
|
5422
5432
|
__name: "MaterialIcon",
|
|
5423
5433
|
props: {
|
|
@@ -6349,7 +6359,7 @@ function useVerticalVirtualList(options, list) {
|
|
|
6349
6359
|
containerRef
|
|
6350
6360
|
};
|
|
6351
6361
|
}
|
|
6352
|
-
const _withScopeId$3 = (n2) => (vue.pushScopeId("data-v-
|
|
6362
|
+
const _withScopeId$3 = (n2) => (vue.pushScopeId("data-v-d01cb754"), n2 = n2(), vue.popScopeId(), n2);
|
|
6353
6363
|
const _hoisted_1$C = {
|
|
6354
6364
|
key: 0,
|
|
6355
6365
|
class: "loading-table-wrapper z-99 h-100 w-100 absolute inset"
|
|
@@ -6383,7 +6393,7 @@ const _sfc_main$F = /* @__PURE__ */ vue.defineComponent({
|
|
|
6383
6393
|
emits: /* @__PURE__ */ vue.mergeModels(["update:selectedItems", "orderBy", "select"], ["update:loading", "update:itemHeight"]),
|
|
6384
6394
|
setup(__props, { emit: __emit }) {
|
|
6385
6395
|
vue.useCssVars((_ctx) => ({
|
|
6386
|
-
"
|
|
6396
|
+
"02b73339": vue.unref(computedItemHiehgt)
|
|
6387
6397
|
}));
|
|
6388
6398
|
const props2 = __props;
|
|
6389
6399
|
const emit2 = __emit;
|
|
@@ -6484,7 +6494,11 @@ const _sfc_main$F = /* @__PURE__ */ vue.defineComponent({
|
|
|
6484
6494
|
}
|
|
6485
6495
|
function toggleSelectItem(item) {
|
|
6486
6496
|
if (!computedSelectedItems.value.length) {
|
|
6487
|
-
|
|
6497
|
+
const obj = { ...item };
|
|
6498
|
+
Object.keys(obj).forEach((key) => {
|
|
6499
|
+
if (key.startsWith("_transformed_")) delete obj[key];
|
|
6500
|
+
});
|
|
6501
|
+
emit2("select", obj);
|
|
6488
6502
|
return;
|
|
6489
6503
|
}
|
|
6490
6504
|
const index2 = computedSelectedItems.value.indexOf(item.id);
|
|
@@ -6584,7 +6598,7 @@ const _sfc_main$F = /* @__PURE__ */ vue.defineComponent({
|
|
|
6584
6598
|
};
|
|
6585
6599
|
}
|
|
6586
6600
|
});
|
|
6587
|
-
const TableSchema = /* @__PURE__ */ _export_sfc(_sfc_main$F, [["__scopeId", "data-v-
|
|
6601
|
+
const TableSchema = /* @__PURE__ */ _export_sfc(_sfc_main$F, [["__scopeId", "data-v-d01cb754"]]);
|
|
6588
6602
|
const _sfc_main$E = {};
|
|
6589
6603
|
const _hoisted_1$B = { class: "flex space-between" };
|
|
6590
6604
|
function _sfc_render$1(_ctx, _cache) {
|
|
@@ -6627,16 +6641,23 @@ const _hoisted_2$s = {
|
|
|
6627
6641
|
const _hoisted_3$i = { class: "key" };
|
|
6628
6642
|
const _hoisted_4$c = { class: "m-0" };
|
|
6629
6643
|
const _hoisted_5$c = { key: 1 };
|
|
6630
|
-
const _hoisted_6$7 = {
|
|
6631
|
-
|
|
6632
|
-
|
|
6633
|
-
|
|
6644
|
+
const _hoisted_6$7 = {
|
|
6645
|
+
key: 0,
|
|
6646
|
+
class: "data-row"
|
|
6647
|
+
};
|
|
6648
|
+
const _hoisted_7$3 = { class: "key" };
|
|
6649
|
+
const _hoisted_8$1 = { class: "m-0" };
|
|
6650
|
+
const _hoisted_9$1 = {
|
|
6651
|
+
key: 0,
|
|
6652
|
+
class: "m-0"
|
|
6653
|
+
};
|
|
6634
6654
|
const _sfc_main$C = /* @__PURE__ */ vue.defineComponent({
|
|
6635
6655
|
__name: "DataPreview",
|
|
6636
6656
|
props: /* @__PURE__ */ vue.mergeModels({
|
|
6637
6657
|
showFields: {},
|
|
6638
6658
|
schema: {},
|
|
6639
|
-
title: {}
|
|
6659
|
+
title: {},
|
|
6660
|
+
excludeUnset: { type: Boolean }
|
|
6640
6661
|
}, {
|
|
6641
6662
|
"data": { default: {} },
|
|
6642
6663
|
"dataModifiers": {}
|
|
@@ -6645,12 +6666,25 @@ const _sfc_main$C = /* @__PURE__ */ vue.defineComponent({
|
|
|
6645
6666
|
setup(__props) {
|
|
6646
6667
|
const props2 = __props;
|
|
6647
6668
|
const itemData = vue.useModel(__props, "data");
|
|
6648
|
-
|
|
6649
|
-
()
|
|
6650
|
-
|
|
6651
|
-
|
|
6652
|
-
|
|
6653
|
-
|
|
6669
|
+
function dataTransform(dataValue) {
|
|
6670
|
+
if (!dataValue) return dataValue;
|
|
6671
|
+
if (Array.isArray(dataValue)) return dataValue.map(dataTransform);
|
|
6672
|
+
if (typeof dataValue === "object") {
|
|
6673
|
+
Object.keys(dataValue).forEach((key) => {
|
|
6674
|
+
dataValue[key] = dataTransform(dataValue[key]);
|
|
6675
|
+
});
|
|
6676
|
+
}
|
|
6677
|
+
if (typeof dataValue === "string" && /\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}/.test(dataValue)) {
|
|
6678
|
+
const date2 = new Date(dataValue);
|
|
6679
|
+
return date2.toDateString();
|
|
6680
|
+
}
|
|
6681
|
+
return dataValue;
|
|
6682
|
+
}
|
|
6683
|
+
function isUnset(value) {
|
|
6684
|
+
if (!props2.excludeUnset) return false;
|
|
6685
|
+
return value === void 0 || value === null || value === "" || value.length === 0;
|
|
6686
|
+
}
|
|
6687
|
+
const computedSchema = vue.computed(() => getFallbackSchema([itemData.value], props2.showFields));
|
|
6654
6688
|
return (_ctx, _cache) => {
|
|
6655
6689
|
var _a2;
|
|
6656
6690
|
return __props.data ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_1$A, [
|
|
@@ -6678,17 +6712,16 @@ const _sfc_main$C = /* @__PURE__ */ vue.defineComponent({
|
|
|
6678
6712
|
}), 128)),
|
|
6679
6713
|
!((_a2 = _ctx.schema) == null ? void 0 : _a2.length) ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_5$c, [
|
|
6680
6714
|
(vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(computedSchema.value, ({ id, label }) => {
|
|
6681
|
-
return vue.openBlock(), vue.createElementBlock(
|
|
6682
|
-
|
|
6683
|
-
|
|
6684
|
-
|
|
6685
|
-
|
|
6686
|
-
vue.createElementVNode("
|
|
6687
|
-
|
|
6688
|
-
|
|
6689
|
-
|
|
6690
|
-
|
|
6691
|
-
]);
|
|
6715
|
+
return vue.openBlock(), vue.createElementBlock(vue.Fragment, { key: id }, [
|
|
6716
|
+
!isUnset(itemData.value[id]) ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_6$7, [
|
|
6717
|
+
vue.createElementVNode("div", _hoisted_7$3, [
|
|
6718
|
+
vue.createElementVNode("p", _hoisted_8$1, vue.toDisplayString(label), 1)
|
|
6719
|
+
]),
|
|
6720
|
+
vue.createElementVNode("div", null, [
|
|
6721
|
+
id ? (vue.openBlock(), vue.createElementBlock("p", _hoisted_9$1, vue.toDisplayString(dataTransform(itemData.value[id])), 1)) : vue.createCommentVNode("", true)
|
|
6722
|
+
])
|
|
6723
|
+
])) : vue.createCommentVNode("", true)
|
|
6724
|
+
], 64);
|
|
6692
6725
|
}), 128))
|
|
6693
6726
|
])) : vue.createCommentVNode("", true),
|
|
6694
6727
|
vue.renderSlot(_ctx.$slots, "footer", {}, void 0, true)
|
|
@@ -6696,7 +6729,7 @@ const _sfc_main$C = /* @__PURE__ */ vue.defineComponent({
|
|
|
6696
6729
|
};
|
|
6697
6730
|
}
|
|
6698
6731
|
});
|
|
6699
|
-
const DataPreview = /* @__PURE__ */ _export_sfc(_sfc_main$C, [["__scopeId", "data-v-
|
|
6732
|
+
const DataPreview = /* @__PURE__ */ _export_sfc(_sfc_main$C, [["__scopeId", "data-v-0ffde6c7"]]);
|
|
6700
6733
|
const _hoisted_1$z = {
|
|
6701
6734
|
key: 0,
|
|
6702
6735
|
class: "card_label"
|
|
@@ -28865,7 +28898,7 @@ const _sfc_main$f = /* @__PURE__ */ vue.defineComponent({
|
|
|
28865
28898
|
}
|
|
28866
28899
|
});
|
|
28867
28900
|
const RadioPillsInput = /* @__PURE__ */ _export_sfc(_sfc_main$f, [["__scopeId", "data-v-681173be"]]);
|
|
28868
|
-
const _withScopeId$2 = (n2) => (vue.pushScopeId("data-v-
|
|
28901
|
+
const _withScopeId$2 = (n2) => (vue.pushScopeId("data-v-6716fd45"), n2 = n2(), vue.popScopeId(), n2);
|
|
28869
28902
|
const _hoisted_1$j = { class: "bagel-input" };
|
|
28870
28903
|
const _hoisted_2$e = {
|
|
28871
28904
|
key: 0,
|
|
@@ -29109,7 +29142,7 @@ const _sfc_main$e = /* @__PURE__ */ vue.defineComponent({
|
|
|
29109
29142
|
};
|
|
29110
29143
|
}
|
|
29111
29144
|
});
|
|
29112
|
-
const $el = /* @__PURE__ */ _export_sfc(_sfc_main$e, [["__scopeId", "data-v-
|
|
29145
|
+
const $el = /* @__PURE__ */ _export_sfc(_sfc_main$e, [["__scopeId", "data-v-6716fd45"]]);
|
|
29113
29146
|
const _withScopeId$1 = (n2) => (vue.pushScopeId("data-v-eceeebfb"), n2 = n2(), vue.popScopeId(), n2);
|
|
29114
29147
|
const _hoisted_1$i = ["title"];
|
|
29115
29148
|
const _hoisted_2$d = /* @__PURE__ */ _withScopeId$1(() => /* @__PURE__ */ vue.createElementVNode("span", { class: "slider round" }, null, -1));
|
|
@@ -41454,7 +41487,7 @@ const getTextContentFromNodes = ($from, maxMatch = 500) => {
|
|
|
41454
41487
|
parent,
|
|
41455
41488
|
index: index2
|
|
41456
41489
|
})) || node.textContent || "%leaf%";
|
|
41457
|
-
textBefore += chunk.slice(0, Math.max(0, sliceEndPos - pos));
|
|
41490
|
+
textBefore += node.isAtom ? chunk : chunk.slice(0, Math.max(0, sliceEndPos - pos));
|
|
41458
41491
|
});
|
|
41459
41492
|
return textBefore;
|
|
41460
41493
|
};
|
|
@@ -44362,6 +44395,11 @@ let Editor$1 = class Editor2 extends EventEmitter {
|
|
|
44362
44395
|
}
|
|
44363
44396
|
const state2 = this.state.apply(transaction);
|
|
44364
44397
|
const selectionHasChanged = !this.state.selection.eq(state2.selection);
|
|
44398
|
+
this.emit("beforeTransaction", {
|
|
44399
|
+
editor: this,
|
|
44400
|
+
transaction,
|
|
44401
|
+
nextState: state2
|
|
44402
|
+
});
|
|
44365
44403
|
this.view.updateState(state2);
|
|
44366
44404
|
this.emit("transaction", {
|
|
44367
44405
|
editor: this,
|
|
@@ -49823,12 +49861,12 @@ function useDebouncedRef(value) {
|
|
|
49823
49861
|
class Editor extends Editor$1 {
|
|
49824
49862
|
constructor(options = {}) {
|
|
49825
49863
|
super(options);
|
|
49826
|
-
this.vueRenderers = vue.reactive(/* @__PURE__ */ new Map());
|
|
49827
49864
|
this.contentComponent = null;
|
|
49865
|
+
this.appContext = null;
|
|
49828
49866
|
this.reactiveState = useDebouncedRef(this.view.state);
|
|
49829
49867
|
this.reactiveExtensionStorage = useDebouncedRef(this.extensionStorage);
|
|
49830
|
-
this.on("
|
|
49831
|
-
this.reactiveState.value =
|
|
49868
|
+
this.on("beforeTransaction", ({ nextState }) => {
|
|
49869
|
+
this.reactiveState.value = nextState;
|
|
49832
49870
|
this.reactiveExtensionStorage.value = this.extensionStorage;
|
|
49833
49871
|
});
|
|
49834
49872
|
return vue.markRaw(this);
|
|
@@ -49875,6 +49913,16 @@ const EditorContent = vue.defineComponent({
|
|
|
49875
49913
|
const element = vue.unref(rootEl2.value);
|
|
49876
49914
|
rootEl2.value.append(...editor.options.element.childNodes);
|
|
49877
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
|
+
}
|
|
49878
49926
|
editor.setOptions({
|
|
49879
49927
|
element
|
|
49880
49928
|
});
|
|
@@ -49893,6 +49941,7 @@ const EditorContent = vue.defineComponent({
|
|
|
49893
49941
|
});
|
|
49894
49942
|
}
|
|
49895
49943
|
editor.contentComponent = null;
|
|
49944
|
+
editor.appContext = null;
|
|
49896
49945
|
if (!editor.options.element.firstChild) {
|
|
49897
49946
|
return;
|
|
49898
49947
|
}
|
|
@@ -49905,24 +49954,11 @@ const EditorContent = vue.defineComponent({
|
|
|
49905
49954
|
return { rootEl: rootEl2 };
|
|
49906
49955
|
},
|
|
49907
49956
|
render() {
|
|
49908
|
-
const vueRenderers = [];
|
|
49909
|
-
if (this.editor) {
|
|
49910
|
-
this.editor.vueRenderers.forEach((vueRenderer) => {
|
|
49911
|
-
const node = vue.h(vue.Teleport, {
|
|
49912
|
-
to: vueRenderer.teleportElement,
|
|
49913
|
-
key: vueRenderer.id
|
|
49914
|
-
}, vue.h(vueRenderer.component, {
|
|
49915
|
-
ref: vueRenderer.id,
|
|
49916
|
-
...vueRenderer.props
|
|
49917
|
-
}));
|
|
49918
|
-
vueRenderers.push(node);
|
|
49919
|
-
});
|
|
49920
|
-
}
|
|
49921
49957
|
return vue.h("div", {
|
|
49922
49958
|
ref: (el) => {
|
|
49923
49959
|
this.rootEl = el;
|
|
49924
49960
|
}
|
|
49925
|
-
}
|
|
49961
|
+
});
|
|
49926
49962
|
}
|
|
49927
49963
|
});
|
|
49928
49964
|
vue.defineComponent({
|
|
@@ -56309,10 +56345,18 @@ const _sfc_main$a = /* @__PURE__ */ vue.defineComponent({
|
|
|
56309
56345
|
});
|
|
56310
56346
|
return (_ctx, _cache) => {
|
|
56311
56347
|
return vue.openBlock(), vue.createElementBlock("div", {
|
|
56312
|
-
class: "bgl_input signature-pad",
|
|
56348
|
+
class: "bgl_input signature-pad relative",
|
|
56313
56349
|
onTouchmove: _cache[0] || (_cache[0] = vue.withModifiers(() => {
|
|
56314
56350
|
}, ["prevent"]))
|
|
56315
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),
|
|
56316
56360
|
vue.createElementVNode("canvas", {
|
|
56317
56361
|
ref_key: "vCanvas",
|
|
56318
56362
|
ref: vCanvas,
|
|
@@ -63616,4 +63660,5 @@ exports.useBglSchema = useBglSchema;
|
|
|
63616
63660
|
exports.useEscape = useEscape;
|
|
63617
63661
|
exports.useI18nT = useI18nT;
|
|
63618
63662
|
exports.useLang = useLang;
|
|
63663
|
+
exports.useLocalStorage = useLocalStorage;
|
|
63619
63664
|
exports.useModal = useModal;
|