designertool 0.0.1-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/README.md +174 -0
- package/dist/PostcardDesigner.vue.d.ts +7 -0
- package/dist/PostcardDesigner.vue.d.ts.map +1 -0
- package/dist/assets/icons/template-icons/loading-circle-icon.vue.d.ts +2 -0
- package/dist/components/Image/ImageCard.vue.d.ts +15 -0
- package/dist/components/Image/ImageLibrary.vue.d.ts +26 -0
- package/dist/components/Image/ImageLoadingCard.vue.d.ts +2 -0
- package/dist/components/Image/ImageUpload.vue.d.ts +4 -0
- package/dist/components/Image/ImageUploadUrl.vue.d.ts +14 -0
- package/dist/components/Image/UnsplashPhoto.vue.d.ts +14 -0
- package/dist/components/Image/UnsplashPhotoList.vue.d.ts +28 -0
- package/dist/components/Template/TemplateList.vue.d.ts +19 -0
- package/dist/components/TextEditor/Selects/AlignSelector.vue.d.ts +16 -0
- package/dist/components/TextEditor/Selects/AlignToPageSelector.vue.d.ts +28 -0
- package/dist/components/TextEditor/Selects/OrderSelector.vue.d.ts +4 -0
- package/dist/components/TextEditor/TextFormatter.vue.d.ts +2 -0
- package/dist/components/display-elements/Item.vue.d.ts +14 -0
- package/dist/components/display-elements/ItemWrapper.vue.d.ts +14 -0
- package/dist/components/display-elements/displayables/Code.vue.d.ts +32 -0
- package/dist/components/display-elements/displayables/Image.vue.d.ts +12 -0
- package/dist/components/display-elements/displayables/Map.vue.d.ts +12 -0
- package/dist/components/display-elements/displayables/QrCode.vue.d.ts +12 -0
- package/dist/components/display-elements/displayables/Shape.vue.d.ts +12 -0
- package/dist/components/display-elements/displayables/Text.vue.d.ts +12 -0
- package/dist/components/display-elements/displayables/Tracking.vue.d.ts +12 -0
- package/dist/components/pages/Canvas.vue.d.ts +16 -0
- package/dist/components/pages/EditPage.vue.d.ts +13 -0
- package/dist/components/pages/PreviewPage.vue.d.ts +14 -0
- package/dist/components/share/BaseSelect.vue.d.ts +35 -0
- package/dist/components/share/Border.vue.d.ts +33 -0
- package/dist/components/share/Button.vue.d.ts +38 -0
- package/dist/components/share/Dropdown.vue.d.ts +54 -0
- package/dist/components/share/GoogleAutocomplete.vue.d.ts +76 -0
- package/dist/components/share/GoogleMap.vue.d.ts +76 -0
- package/dist/components/share/HeaderSection.vue.d.ts +28 -0
- package/dist/components/share/IconButton.vue.d.ts +44 -0
- package/dist/components/share/Input.vue.d.ts +74 -0
- package/dist/components/share/Modal.vue.d.ts +75 -0
- package/dist/components/share/Position.vue.d.ts +28 -0
- package/dist/components/share/SidebarTabs.vue.d.ts +28 -0
- package/dist/components/share/Slider.vue.d.ts +33 -0
- package/dist/components/sidebar/Background.vue.d.ts +2 -0
- package/dist/components/sidebar/Image.vue.d.ts +2 -0
- package/dist/components/sidebar/Layer.vue.d.ts +2 -0
- package/dist/components/sidebar/Map.vue.d.ts +2 -0
- package/dist/components/sidebar/Shape.vue.d.ts +2 -0
- package/dist/components/sidebar/Template.vue.d.ts +2 -0
- package/dist/components/sidebar/Text.vue.d.ts +2 -0
- package/dist/components/sidebar/Tracking.vue.d.ts +2 -0
- package/dist/components/sidebar/Variable.vue.d.ts +2 -0
- package/dist/composable/alert.d.ts +2 -0
- package/dist/composable/debouncedRef.d.ts +1 -0
- package/dist/composable/generateHtml.d.ts +18 -0
- package/dist/composable/googleMap.d.ts +2084 -0
- package/dist/composable/preview.d.ts +3 -0
- package/dist/composable/requests.d.ts +3 -0
- package/dist/config.d.ts +146 -0
- package/dist/entry.d.ts +1 -0
- package/dist/index.css +1 -0
- package/dist/index.d.ts +10 -0
- package/dist/layouts/DeviceOverlay.vue.d.ts +13 -0
- package/dist/layouts/MainLayout.vue.d.ts +2 -0
- package/dist/layouts/TheFooter.vue.d.ts +24 -0
- package/dist/layouts/TheSideBar.vue.d.ts +37 -0
- package/dist/layouts/TheToolbar.vue.d.ts +16 -0
- package/dist/postcard-dt.es.js +31940 -0
- package/dist/stores/canvas-store.d.ts +19 -0
- package/dist/stores/config-store.d.ts +153 -0
- package/dist/stores/constants.d.ts +35 -0
- package/dist/stores/global-store.d.ts +2127 -0
- package/dist/stores/history-store.d.ts +34 -0
- package/dist/stores/image-store.d.ts +14 -0
- package/dist/stores/item-store.d.ts +2070 -0
- package/dist/stores/project-store.d.ts +7 -0
- package/dist/stores/template-store.d.ts +9 -0
- package/dist/stores/unsplash-store.d.ts +99 -0
- package/dist/types/api.d.ts +58 -0
- package/dist/types/items.d.ts +92 -0
- package/dist/types/unsplash.d.ts +22 -0
- package/dist/utils/helper-functions.d.ts +11 -0
- package/dist/vite.svg +1 -0
- package/package.json +84 -0
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
export declare function get(url: string, options?: {}, scopedToUser?: boolean): Promise<any>;
|
|
2
|
+
export declare function put(url: string, options?: {}, scopedToUser?: boolean): Promise<Response>;
|
|
3
|
+
export declare function del(url: string, options?: {}, scopedToUser?: boolean): Promise<any>;
|
package/dist/config.d.ts
ADDED
|
@@ -0,0 +1,146 @@
|
|
|
1
|
+
declare const _default: {
|
|
2
|
+
size: {
|
|
3
|
+
w: number;
|
|
4
|
+
h: number;
|
|
5
|
+
};
|
|
6
|
+
zoom: number;
|
|
7
|
+
backgroundColor: string;
|
|
8
|
+
backgroundImage: null;
|
|
9
|
+
border: {
|
|
10
|
+
enabled: boolean;
|
|
11
|
+
width: number;
|
|
12
|
+
color: string;
|
|
13
|
+
};
|
|
14
|
+
canvasOffset: {
|
|
15
|
+
x: number;
|
|
16
|
+
y: number;
|
|
17
|
+
};
|
|
18
|
+
address_box: {
|
|
19
|
+
visible: boolean;
|
|
20
|
+
width: number;
|
|
21
|
+
height: number;
|
|
22
|
+
};
|
|
23
|
+
merge_variables: string[];
|
|
24
|
+
return_address: {
|
|
25
|
+
company: string;
|
|
26
|
+
firstname: string;
|
|
27
|
+
lastname: string;
|
|
28
|
+
address1: string;
|
|
29
|
+
address2: string;
|
|
30
|
+
city: string;
|
|
31
|
+
state: string;
|
|
32
|
+
zipcode: string;
|
|
33
|
+
};
|
|
34
|
+
example_data: {
|
|
35
|
+
company: string;
|
|
36
|
+
firstname: string;
|
|
37
|
+
lastname: string;
|
|
38
|
+
address1: string;
|
|
39
|
+
address2: string;
|
|
40
|
+
city: string;
|
|
41
|
+
state: string;
|
|
42
|
+
zipcode: string;
|
|
43
|
+
}[];
|
|
44
|
+
api: {
|
|
45
|
+
base_url: string;
|
|
46
|
+
project_id: number;
|
|
47
|
+
user_id: number;
|
|
48
|
+
};
|
|
49
|
+
user_id: string;
|
|
50
|
+
google: {
|
|
51
|
+
map_api_key: string;
|
|
52
|
+
use_predefined_locations: boolean;
|
|
53
|
+
to_addresses: string[];
|
|
54
|
+
};
|
|
55
|
+
fonts: {
|
|
56
|
+
name: string;
|
|
57
|
+
link: string;
|
|
58
|
+
}[];
|
|
59
|
+
appearance: {
|
|
60
|
+
colors: {
|
|
61
|
+
'wbg-dt-primary-25': string;
|
|
62
|
+
'wbg-dt-primary-50': string;
|
|
63
|
+
'wbg-dt-primary-100': string;
|
|
64
|
+
'wbg-dt-primary-200': string;
|
|
65
|
+
'wbg-dt-primary-300': string;
|
|
66
|
+
'wbg-dt-primary-400': string;
|
|
67
|
+
'wbg-dt-primary-500': string;
|
|
68
|
+
'wbg-dt-primary-600': string;
|
|
69
|
+
'wbg-dt-primary-700': string;
|
|
70
|
+
'wbg-dt-primary-800': string;
|
|
71
|
+
'wbg-dt-primary-900': string;
|
|
72
|
+
'wbg-dt-primary-950': string;
|
|
73
|
+
'wbg-dt-secondary-25': string;
|
|
74
|
+
'wbg-dt-secondary-50': string;
|
|
75
|
+
'wbg-dt-secondary-100': string;
|
|
76
|
+
'wbg-dt-secondary-200': string;
|
|
77
|
+
'wbg-dt-secondary-300': string;
|
|
78
|
+
'wbg-dt-secondary-400': string;
|
|
79
|
+
'wbg-dt-secondary-500': string;
|
|
80
|
+
'wbg-dt-secondary-600': string;
|
|
81
|
+
'wbg-dt-secondary-700': string;
|
|
82
|
+
'wbg-dt-secondary-800': string;
|
|
83
|
+
'wbg-dt-secondary-900': string;
|
|
84
|
+
'wbg-dt-secondary-950': string;
|
|
85
|
+
'wbg-dt-error-25': string;
|
|
86
|
+
'wbg-dt-error-50': string;
|
|
87
|
+
'wbg-dt-error-100': string;
|
|
88
|
+
'wbg-dt-error-200': string;
|
|
89
|
+
'wbg-dt-error-300': string;
|
|
90
|
+
'wbg-dt-error-400': string;
|
|
91
|
+
'wbg-dt-error-500': string;
|
|
92
|
+
'wbg-dt-error-600': string;
|
|
93
|
+
'wbg-dt-error-700': string;
|
|
94
|
+
'wbg-dt-error-800': string;
|
|
95
|
+
'wbg-dt-error-900': string;
|
|
96
|
+
'wbg-dt-error-950': string;
|
|
97
|
+
'wbg-dt-warning-25': string;
|
|
98
|
+
'wbg-dt-warning-50': string;
|
|
99
|
+
'wbg-dt-warning-100': string;
|
|
100
|
+
'wbg-dt-warning-200': string;
|
|
101
|
+
'wbg-dt-warning-300': string;
|
|
102
|
+
'wbg-dt-warning-400': string;
|
|
103
|
+
'wbg-dt-warning-500': string;
|
|
104
|
+
'wbg-dt-warning-600': string;
|
|
105
|
+
'wbg-dt-warning-700': string;
|
|
106
|
+
'wbg-dt-warning-800': string;
|
|
107
|
+
'wbg-dt-warning-900': string;
|
|
108
|
+
'wbg-dt-warning-950': string;
|
|
109
|
+
'wbg-dt-success-25': string;
|
|
110
|
+
'wbg-dt-success-50': string;
|
|
111
|
+
'wbg-dt-success-100': string;
|
|
112
|
+
'wbg-dt-success-200': string;
|
|
113
|
+
'wbg-dt-success-300': string;
|
|
114
|
+
'wbg-dt-success-400': string;
|
|
115
|
+
'wbg-dt-success-500': string;
|
|
116
|
+
'wbg-dt-success-600': string;
|
|
117
|
+
'wbg-dt-success-700': string;
|
|
118
|
+
'wbg-dt-success-800': string;
|
|
119
|
+
'wbg-dt-success-900': string;
|
|
120
|
+
'wbg-dt-success-950': string;
|
|
121
|
+
'wbg-dt-light': string;
|
|
122
|
+
'wbg-dt-dark': string;
|
|
123
|
+
'wbg-dt-off-white': string;
|
|
124
|
+
'wbg-dt-light-blue': string;
|
|
125
|
+
'wbg-dt-primary-ring': string;
|
|
126
|
+
'wbg-dt-secondary-ring': string;
|
|
127
|
+
'wbg-dt-error-ring': string;
|
|
128
|
+
};
|
|
129
|
+
rounding: {
|
|
130
|
+
'wbg-dt-sm': string;
|
|
131
|
+
'wbg-dt-def': string;
|
|
132
|
+
'wbg-dt-md': string;
|
|
133
|
+
'wbg-dt-lg': string;
|
|
134
|
+
'wbg-dt-xl': string;
|
|
135
|
+
'wbg-dt-2xl': string;
|
|
136
|
+
'wbg-dt-full': string;
|
|
137
|
+
'wbg-dt-sidebar': string;
|
|
138
|
+
};
|
|
139
|
+
fonts: {
|
|
140
|
+
'wbg-dt-sans': string;
|
|
141
|
+
'wbg-dt-serif': string;
|
|
142
|
+
'wbg-dt-header': string;
|
|
143
|
+
};
|
|
144
|
+
};
|
|
145
|
+
};
|
|
146
|
+
export default _default;
|
package/dist/entry.d.ts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default as PostcardDesigner } from './PostcardDesigner.vue';
|