designertool 0.19.0 → 0.21.0
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/PostcardDesigner.vue.d.ts +1 -0
- package/dist/components/display-elements/displayables/QrCode.vue.d.ts +3 -1
- package/dist/components/share/Modal.vue.d.ts +19 -69
- package/dist/composable/googleMap.d.ts +9 -1
- package/dist/designertool.js +43375 -73103
- package/dist/layouts/SubscribeOverlay.vue.d.ts +2 -0
- package/dist/stores/api-store.d.ts +4 -0
- package/dist/stores/global-store.d.ts +9 -1
- package/dist/stores/item-store.d.ts +9 -1
- package/dist/types/api.d.ts +1 -0
- package/dist/types/items.d.ts +1 -0
- package/package.json +1 -1
- package/dist/designertool.js.map +0 -1
|
@@ -8,5 +8,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
8
8
|
type: NumberConstructor;
|
|
9
9
|
required: true;
|
|
10
10
|
};
|
|
11
|
-
}>> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {
|
|
11
|
+
}>> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {
|
|
12
|
+
imageElement: any;
|
|
13
|
+
}, any>;
|
|
12
14
|
export default _default;
|
|
@@ -1,80 +1,30 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
type: {
|
|
15
|
-
type: StringConstructor;
|
|
16
|
-
default: string;
|
|
17
|
-
};
|
|
18
|
-
icon: {
|
|
19
|
-
type: StringConstructor;
|
|
20
|
-
};
|
|
21
|
-
hasCloseX: {
|
|
22
|
-
type: BooleanConstructor;
|
|
23
|
-
default: boolean;
|
|
24
|
-
};
|
|
25
|
-
hasActions: {
|
|
26
|
-
type: BooleanConstructor;
|
|
27
|
-
default: boolean;
|
|
28
|
-
};
|
|
29
|
-
action: {
|
|
30
|
-
type: StringConstructor;
|
|
31
|
-
default: string;
|
|
32
|
-
};
|
|
33
|
-
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
1
|
+
import { nextTick } from 'vue';
|
|
2
|
+
interface Props {
|
|
3
|
+
isOpen: boolean;
|
|
4
|
+
title: string;
|
|
5
|
+
description: string;
|
|
6
|
+
type?: 'error' | 'warning' | 'success';
|
|
7
|
+
icon?: string;
|
|
8
|
+
hasCloseX?: boolean;
|
|
9
|
+
hasActions?: boolean;
|
|
10
|
+
hasCancelButton?: boolean;
|
|
11
|
+
action?: string;
|
|
12
|
+
}
|
|
13
|
+
declare const _default: import('vue').DefineComponent<Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
34
14
|
confirmAction: (...args: any[]) => void;
|
|
35
15
|
closeModal: (...args: any[]) => void;
|
|
36
|
-
}, string, import('vue').PublicProps, Readonly<
|
|
37
|
-
isOpen: {
|
|
38
|
-
type: BooleanConstructor;
|
|
39
|
-
required: true;
|
|
40
|
-
};
|
|
41
|
-
title: {
|
|
42
|
-
type: StringConstructor;
|
|
43
|
-
required: true;
|
|
44
|
-
};
|
|
45
|
-
description: {
|
|
46
|
-
type: StringConstructor;
|
|
47
|
-
default: string;
|
|
48
|
-
};
|
|
49
|
-
type: {
|
|
50
|
-
type: StringConstructor;
|
|
51
|
-
default: string;
|
|
52
|
-
};
|
|
53
|
-
icon: {
|
|
54
|
-
type: StringConstructor;
|
|
55
|
-
};
|
|
56
|
-
hasCloseX: {
|
|
57
|
-
type: BooleanConstructor;
|
|
58
|
-
default: boolean;
|
|
59
|
-
};
|
|
60
|
-
hasActions: {
|
|
61
|
-
type: BooleanConstructor;
|
|
62
|
-
default: boolean;
|
|
63
|
-
};
|
|
64
|
-
action: {
|
|
65
|
-
type: StringConstructor;
|
|
66
|
-
default: string;
|
|
67
|
-
};
|
|
68
|
-
}>> & Readonly<{
|
|
16
|
+
}, string, import('vue').PublicProps, Readonly<Props> & Readonly<{
|
|
69
17
|
onConfirmAction?: ((...args: any[]) => any) | undefined;
|
|
70
18
|
onCloseModal?: ((...args: any[]) => any) | undefined;
|
|
71
19
|
}>, {
|
|
72
|
-
type:
|
|
20
|
+
type: "error" | "warning" | "success";
|
|
73
21
|
description: string;
|
|
74
22
|
hasCloseX: boolean;
|
|
75
23
|
hasActions: boolean;
|
|
24
|
+
hasCancelButton: boolean;
|
|
76
25
|
action: string;
|
|
77
|
-
}, {}, {}, {}, string, import('vue').ComponentProvideOptions,
|
|
26
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
|
|
27
|
+
modalRef: any;
|
|
78
28
|
cancelButtonRef: ({
|
|
79
29
|
$: import('vue').ComponentInternalInstance;
|
|
80
30
|
$data: {};
|
|
@@ -140,7 +90,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
140
90
|
errorCaptured?: ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void) | ((err: unknown, instance: import('vue').ComponentPublicInstance | null, info: string) => boolean | void)[];
|
|
141
91
|
};
|
|
142
92
|
$forceUpdate: () => void;
|
|
143
|
-
$nextTick: typeof
|
|
93
|
+
$nextTick: typeof nextTick;
|
|
144
94
|
$watch<T extends string | ((...args: any) => any)>(source: T, cb: T extends (...args: any) => infer R ? (...args: [R, R, import('@vue/reactivity').OnCleanup]) => any : (...args: [any, any, import('@vue/reactivity').OnCleanup]) => any, options?: import('vue').WatchOptions): import('vue').WatchStopHandle;
|
|
145
95
|
} & Readonly<{
|
|
146
96
|
size: string;
|
|
@@ -337,6 +337,7 @@ export declare const useMap: () => {
|
|
|
337
337
|
weight: number;
|
|
338
338
|
} | undefined;
|
|
339
339
|
keepRatio?: boolean | undefined;
|
|
340
|
+
style?: string | undefined;
|
|
340
341
|
} | {
|
|
341
342
|
type: "Text";
|
|
342
343
|
id: number;
|
|
@@ -354,6 +355,7 @@ export declare const useMap: () => {
|
|
|
354
355
|
weight: number;
|
|
355
356
|
} | undefined;
|
|
356
357
|
keepRatio?: boolean | undefined;
|
|
358
|
+
style?: string | undefined;
|
|
357
359
|
} | {
|
|
358
360
|
type: "Color";
|
|
359
361
|
id: number;
|
|
@@ -371,6 +373,7 @@ export declare const useMap: () => {
|
|
|
371
373
|
weight: number;
|
|
372
374
|
} | undefined;
|
|
373
375
|
keepRatio?: boolean | undefined;
|
|
376
|
+
style?: string | undefined;
|
|
374
377
|
} | {
|
|
375
378
|
type: "Shape";
|
|
376
379
|
id: number;
|
|
@@ -388,6 +391,7 @@ export declare const useMap: () => {
|
|
|
388
391
|
weight: number;
|
|
389
392
|
} | undefined;
|
|
390
393
|
keepRatio?: boolean | undefined;
|
|
394
|
+
style?: string | undefined;
|
|
391
395
|
} | {
|
|
392
396
|
type: "QrCode";
|
|
393
397
|
location?: {
|
|
@@ -412,6 +416,7 @@ export declare const useMap: () => {
|
|
|
412
416
|
weight: number;
|
|
413
417
|
} | undefined;
|
|
414
418
|
keepRatio?: boolean | undefined;
|
|
419
|
+
style?: string | undefined;
|
|
415
420
|
} | {
|
|
416
421
|
type: "Conversion";
|
|
417
422
|
stringValue?: string | undefined;
|
|
@@ -430,6 +435,7 @@ export declare const useMap: () => {
|
|
|
430
435
|
weight: number;
|
|
431
436
|
} | undefined;
|
|
432
437
|
keepRatio?: boolean | undefined;
|
|
438
|
+
style?: string | undefined;
|
|
433
439
|
} | {
|
|
434
440
|
type: "GoogleMap";
|
|
435
441
|
location?: {
|
|
@@ -458,6 +464,7 @@ export declare const useMap: () => {
|
|
|
458
464
|
weight: number;
|
|
459
465
|
} | undefined;
|
|
460
466
|
keepRatio?: boolean | undefined;
|
|
467
|
+
style?: string | undefined;
|
|
461
468
|
} | {
|
|
462
469
|
type: "StreetView";
|
|
463
470
|
location?: {
|
|
@@ -480,12 +487,13 @@ export declare const useMap: () => {
|
|
|
480
487
|
weight: number;
|
|
481
488
|
} | undefined;
|
|
482
489
|
keepRatio?: boolean | undefined;
|
|
490
|
+
style?: string | undefined;
|
|
483
491
|
} | undefined;
|
|
484
492
|
getFocusedItemType(): string;
|
|
485
493
|
}, {
|
|
486
494
|
setItemState(state: import('../types/items').ItemState): void;
|
|
487
495
|
pushItemsToState(elList: NodeListOf<Element>): void;
|
|
488
|
-
getElementPosition(
|
|
496
|
+
getElementPosition(styleStr: string): import('../types/items').Position;
|
|
489
497
|
getElementBorder(el: Element): import('../types/items').Border;
|
|
490
498
|
getElementStyle(el: Element): {
|
|
491
499
|
[key: string]: string;
|