designertool 0.0.1-dev → 0.0.2-dev
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.map +1 -1
- package/dist/components/Image/ImageCard.vue.d.ts +5 -3
- package/dist/components/display-elements/displayables/Code.vue.d.ts +1 -1
- package/dist/components/share/Tooltip.vue.d.ts +21 -0
- package/dist/composable/generateHtml.d.ts +1 -0
- package/dist/composable/googleMap.d.ts +11 -0
- package/dist/config.d.ts +61 -17
- package/dist/index.css +1 -1
- package/dist/postcard-dt.es.js +37669 -20688
- package/dist/stores/canvas-store.d.ts +9 -0
- package/dist/stores/config-store.d.ts +61 -17
- package/dist/stores/global-store.d.ts +21 -0
- package/dist/stores/history-store.d.ts +1 -0
- package/dist/stores/item-store.d.ts +11 -0
- package/dist/types/api.d.ts +1 -0
- package/dist/types/variable.d.ts +8 -0
- package/package.json +2 -2
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PostcardDesigner.vue.d.ts","sourceRoot":"","sources":["../src/PostcardDesigner.vue"],"names":[],"mappings":"AAAA,OAAO,SAAS,MAAM
|
|
1
|
+
{"version":3,"file":"PostcardDesigner.vue.d.ts","sourceRoot":"","sources":["../src/PostcardDesigner.vue"],"names":[],"mappings":"AAAA,OAAO,SAAS,MAAM,kGAAkG,CAAC;AACzH,cAAc,kGAAkG,CAAC;AACjH,OAAO,gGAAgG,CAAC;AACxG,eAAe,SAAS,CAAC"}
|
|
@@ -1,12 +1,14 @@
|
|
|
1
|
-
import { PropType } from 'vue';
|
|
1
|
+
import type { PropType as __PropType } from 'vue';
|
|
2
2
|
import { S3Image } from '../../types/api';
|
|
3
3
|
declare const _sfc_main: import("vue").DefineComponent<{
|
|
4
4
|
image: {
|
|
5
|
-
type:
|
|
5
|
+
type: __PropType<S3Image>;
|
|
6
|
+
required: true;
|
|
6
7
|
};
|
|
7
8
|
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("imageSelect" | "imageDelete")[], "imageSelect" | "imageDelete", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
8
9
|
image: {
|
|
9
|
-
type:
|
|
10
|
+
type: __PropType<S3Image>;
|
|
11
|
+
required: true;
|
|
10
12
|
};
|
|
11
13
|
}>> & {
|
|
12
14
|
onImageSelect?: ((...args: any[]) => any) | undefined;
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import type { PropType as __PropType } from 'vue';
|
|
2
|
+
declare const _sfc_main: import("vue").DefineComponent<{
|
|
3
|
+
tooltipText: {
|
|
4
|
+
type: __PropType<string>;
|
|
5
|
+
required: true;
|
|
6
|
+
};
|
|
7
|
+
direction: {
|
|
8
|
+
type: __PropType<"top" | "bottom" | "left" | "right">;
|
|
9
|
+
required: true;
|
|
10
|
+
};
|
|
11
|
+
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
12
|
+
tooltipText: {
|
|
13
|
+
type: __PropType<string>;
|
|
14
|
+
required: true;
|
|
15
|
+
};
|
|
16
|
+
direction: {
|
|
17
|
+
type: __PropType<"top" | "bottom" | "left" | "right">;
|
|
18
|
+
required: true;
|
|
19
|
+
};
|
|
20
|
+
}>>, {}, {}>;
|
|
21
|
+
export default _sfc_main;
|
|
@@ -25,6 +25,7 @@ export declare const useMap: () => {
|
|
|
25
25
|
[key: string]: string;
|
|
26
26
|
};
|
|
27
27
|
downloadHtml: () => void;
|
|
28
|
+
returnTheWholeHtml: () => void;
|
|
28
29
|
};
|
|
29
30
|
loading: boolean;
|
|
30
31
|
}, {}, {
|
|
@@ -54,6 +55,7 @@ export declare const useMap: () => {
|
|
|
54
55
|
[key: string]: string;
|
|
55
56
|
};
|
|
56
57
|
downloadHtml: () => void;
|
|
58
|
+
returnTheWholeHtml: () => void;
|
|
57
59
|
};
|
|
58
60
|
}, {
|
|
59
61
|
getFocusedItem: (state: {
|
|
@@ -598,6 +600,7 @@ export declare const useMap: () => {
|
|
|
598
600
|
[key: string]: string;
|
|
599
601
|
};
|
|
600
602
|
downloadHtml: () => void;
|
|
603
|
+
returnTheWholeHtml: () => void;
|
|
601
604
|
};
|
|
602
605
|
loading: boolean;
|
|
603
606
|
};
|
|
@@ -978,6 +981,7 @@ export declare const useMap: () => {
|
|
|
978
981
|
[key: string]: string;
|
|
979
982
|
};
|
|
980
983
|
downloadHtml: () => void;
|
|
984
|
+
returnTheWholeHtml: () => void;
|
|
981
985
|
};
|
|
982
986
|
loading: boolean;
|
|
983
987
|
}>): void;
|
|
@@ -1357,6 +1361,7 @@ export declare const useMap: () => {
|
|
|
1357
1361
|
[key: string]: string;
|
|
1358
1362
|
};
|
|
1359
1363
|
downloadHtml: () => void;
|
|
1364
|
+
returnTheWholeHtml: () => void;
|
|
1360
1365
|
};
|
|
1361
1366
|
loading: boolean;
|
|
1362
1367
|
}) => any>(stateMutator: ReturnType<F> extends Promise<any> ? never : F): void;
|
|
@@ -1382,6 +1387,7 @@ export declare const useMap: () => {
|
|
|
1382
1387
|
[key: string]: string;
|
|
1383
1388
|
};
|
|
1384
1389
|
downloadHtml: () => void;
|
|
1390
|
+
returnTheWholeHtml: () => void;
|
|
1385
1391
|
};
|
|
1386
1392
|
loading: boolean;
|
|
1387
1393
|
}>, options?: ({
|
|
@@ -1407,6 +1413,7 @@ export declare const useMap: () => {
|
|
|
1407
1413
|
[key: string]: string;
|
|
1408
1414
|
};
|
|
1409
1415
|
downloadHtml: () => void;
|
|
1416
|
+
returnTheWholeHtml: () => void;
|
|
1410
1417
|
};
|
|
1411
1418
|
loading: boolean;
|
|
1412
1419
|
}, {}, {
|
|
@@ -1798,6 +1805,7 @@ export declare const useMap: () => {
|
|
|
1798
1805
|
[key: string]: string;
|
|
1799
1806
|
};
|
|
1800
1807
|
downloadHtml: () => void;
|
|
1808
|
+
returnTheWholeHtml: () => void;
|
|
1801
1809
|
};
|
|
1802
1810
|
loading: boolean;
|
|
1803
1811
|
saveStepToHistory: () => void;
|
|
@@ -1826,6 +1834,7 @@ export declare const useMap: () => {
|
|
|
1826
1834
|
[key: string]: string;
|
|
1827
1835
|
};
|
|
1828
1836
|
downloadHtml: () => void;
|
|
1837
|
+
returnTheWholeHtml: () => void;
|
|
1829
1838
|
};
|
|
1830
1839
|
} & import('./pinia/dist/pinia.esm-browser.js').PiniaCustomStateProperties<{
|
|
1831
1840
|
items: import("../types/items").Item[];
|
|
@@ -1852,6 +1861,7 @@ export declare const useMap: () => {
|
|
|
1852
1861
|
[key: string]: string;
|
|
1853
1862
|
};
|
|
1854
1863
|
downloadHtml: () => void;
|
|
1864
|
+
returnTheWholeHtml: () => void;
|
|
1855
1865
|
};
|
|
1856
1866
|
loading: boolean;
|
|
1857
1867
|
}, {}, {
|
|
@@ -1881,6 +1891,7 @@ export declare const useMap: () => {
|
|
|
1881
1891
|
[key: string]: string;
|
|
1882
1892
|
};
|
|
1883
1893
|
downloadHtml: () => void;
|
|
1894
|
+
returnTheWholeHtml: () => void;
|
|
1884
1895
|
};
|
|
1885
1896
|
}>) => {
|
|
1886
1897
|
type: "Color";
|
package/dist/config.d.ts
CHANGED
|
@@ -19,28 +19,56 @@ declare const _default: {
|
|
|
19
19
|
visible: boolean;
|
|
20
20
|
width: number;
|
|
21
21
|
height: number;
|
|
22
|
+
isLetter: boolean;
|
|
22
23
|
};
|
|
23
|
-
|
|
24
|
+
sideSelector: {
|
|
25
|
+
front: boolean;
|
|
26
|
+
back: boolean;
|
|
27
|
+
};
|
|
28
|
+
htmlButtonBehaviour: string;
|
|
29
|
+
onHtmlButtonClick: (html: any) => void;
|
|
30
|
+
merge_variables: ({
|
|
31
|
+
merge_tag: string;
|
|
32
|
+
type: string;
|
|
33
|
+
default_value: string;
|
|
34
|
+
} | {
|
|
35
|
+
merge_tag: string;
|
|
36
|
+
type: string;
|
|
37
|
+
default_value?: undefined;
|
|
38
|
+
})[];
|
|
24
39
|
return_address: {
|
|
25
40
|
company: string;
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
41
|
+
first_name: string;
|
|
42
|
+
last_name: string;
|
|
43
|
+
address_line1: string;
|
|
44
|
+
address_line2: string;
|
|
45
|
+
address_city: string;
|
|
46
|
+
address_state: string;
|
|
47
|
+
address_zip: string;
|
|
33
48
|
};
|
|
34
|
-
example_data: {
|
|
49
|
+
example_data: ({
|
|
35
50
|
company: string;
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
51
|
+
first_name: string;
|
|
52
|
+
last_name: string;
|
|
53
|
+
address_line1: string;
|
|
54
|
+
address_line2: string;
|
|
55
|
+
address_city: string;
|
|
56
|
+
address_state: string;
|
|
57
|
+
address_zip: string;
|
|
58
|
+
image: string;
|
|
59
|
+
image2: string;
|
|
60
|
+
} | {
|
|
61
|
+
company: string;
|
|
62
|
+
first_name: string;
|
|
63
|
+
last_name: string;
|
|
64
|
+
address_line1: string;
|
|
65
|
+
address_line2: string;
|
|
66
|
+
address_city: string;
|
|
67
|
+
address_state: string;
|
|
68
|
+
address_zip: string;
|
|
69
|
+
image?: undefined;
|
|
70
|
+
image2?: undefined;
|
|
71
|
+
})[];
|
|
44
72
|
api: {
|
|
45
73
|
base_url: string;
|
|
46
74
|
project_id: number;
|
|
@@ -125,6 +153,20 @@ declare const _default: {
|
|
|
125
153
|
'wbg-dt-primary-ring': string;
|
|
126
154
|
'wbg-dt-secondary-ring': string;
|
|
127
155
|
'wbg-dt-error-ring': string;
|
|
156
|
+
'sb-color-25': string;
|
|
157
|
+
'sb-color-50': string;
|
|
158
|
+
'sb-color-100': string;
|
|
159
|
+
'sb-color-200': string;
|
|
160
|
+
'sb-color-300': string;
|
|
161
|
+
'sb-color-400': string;
|
|
162
|
+
'sb-color-500': string;
|
|
163
|
+
'sb-color-600': string;
|
|
164
|
+
'sb-color-700': string;
|
|
165
|
+
'sb-color-800': string;
|
|
166
|
+
'sb-color-900': string;
|
|
167
|
+
'sb-color-950': string;
|
|
168
|
+
'tooltip-bg-color': string;
|
|
169
|
+
'tooltip-text-color': string;
|
|
128
170
|
};
|
|
129
171
|
rounding: {
|
|
130
172
|
'wbg-dt-sm': string;
|
|
@@ -141,6 +183,8 @@ declare const _default: {
|
|
|
141
183
|
'wbg-dt-serif': string;
|
|
142
184
|
'wbg-dt-header': string;
|
|
143
185
|
};
|
|
186
|
+
isWrappedInModal: boolean;
|
|
187
|
+
isBackButtonVisible: boolean;
|
|
144
188
|
};
|
|
145
189
|
};
|
|
146
190
|
export default _default;
|