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.
@@ -1 +1 @@
1
- {"version":3,"file":"PostcardDesigner.vue.d.ts","sourceRoot":"","sources":["../src/PostcardDesigner.vue"],"names":[],"mappings":"AAAA,OAAO,SAAS,MAAM,+GAA+G,CAAC;AACtI,cAAc,+GAA+G,CAAC;AAC9H,OAAO,6GAA6G,CAAC;AACrH,eAAe,SAAS,CAAC"}
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: PropType<S3Image>;
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: PropType<S3Image>;
10
+ type: __PropType<S3Image>;
11
+ required: true;
10
12
  };
11
13
  }>> & {
12
14
  onImageSelect?: ((...args: any[]) => any) | undefined;
@@ -25,8 +25,8 @@ declare const _sfc_main: import("vue").DefineComponent<{
25
25
  default: boolean;
26
26
  };
27
27
  }>>, {
28
- code: string;
29
28
  enabled: boolean;
29
+ code: string;
30
30
  lineNumbers: boolean;
31
31
  }, {}>;
32
32
  export default _sfc_main;
@@ -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;
@@ -15,4 +15,5 @@ export declare const useHtmlGenerator: () => {
15
15
  [key: string]: string;
16
16
  };
17
17
  downloadHtml: () => void;
18
+ returnTheWholeHtml: () => void;
18
19
  };
@@ -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
- merge_variables: string[];
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
- firstname: string;
27
- lastname: string;
28
- address1: string;
29
- address2: string;
30
- city: string;
31
- state: string;
32
- zipcode: string;
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
- firstname: string;
37
- lastname: string;
38
- address1: string;
39
- address2: string;
40
- city: string;
41
- state: string;
42
- zipcode: string;
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;