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
package/README.md
ADDED
|
@@ -0,0 +1,174 @@
|
|
|
1
|
+
<h1 align="center">Postcard Designer Tool</h1>
|
|
2
|
+
|
|
3
|
+
## Links
|
|
4
|
+
|
|
5
|
+
- [Repo](https://github.com/webgurus-eu/dmm-designer-web 'dmm-designer-web Repo')
|
|
6
|
+
|
|
7
|
+
- [Live](<Homepage url> 'Live View')
|
|
8
|
+
|
|
9
|
+
- [API](https://dev-designer.directmailmanager.com/api 'API')
|
|
10
|
+
|
|
11
|
+
## User Guide
|
|
12
|
+
|
|
13
|
+
To use the package in your project, before installing you need to first create an .npmrc file using the following details:
|
|
14
|
+
|
|
15
|
+
```sh
|
|
16
|
+
@webgurus-eu:registry=https://npm.pkg.github.com
|
|
17
|
+
//npm.pkg.github.com/:_authToken=${NPM_TOKEN}
|
|
18
|
+
```
|
|
19
|
+
|
|
20
|
+
Install the package in your application:
|
|
21
|
+
|
|
22
|
+
```sh
|
|
23
|
+
$ npm install @webgurus-eu/postcard-designer-tool
|
|
24
|
+
```
|
|
25
|
+
|
|
26
|
+
Default config:
|
|
27
|
+
|
|
28
|
+
```json
|
|
29
|
+
{
|
|
30
|
+
"size": {
|
|
31
|
+
"w": 9,
|
|
32
|
+
"h": 6
|
|
33
|
+
},
|
|
34
|
+
"zoom": 100,
|
|
35
|
+
"backgroundColor": "#ffffff",
|
|
36
|
+
"backgroundImage": null,
|
|
37
|
+
"border": {
|
|
38
|
+
"enabled": false,
|
|
39
|
+
"width": 6,
|
|
40
|
+
"color": "rgba(0, 0, 0, 0)"
|
|
41
|
+
},
|
|
42
|
+
"canvasOffset": {
|
|
43
|
+
"x": 0,
|
|
44
|
+
"y": 0
|
|
45
|
+
},
|
|
46
|
+
"address_box": {
|
|
47
|
+
"visible": true,
|
|
48
|
+
"width": 3.6,
|
|
49
|
+
"height": 2.2
|
|
50
|
+
},
|
|
51
|
+
"merge_variables": [
|
|
52
|
+
"company",
|
|
53
|
+
"firstname",
|
|
54
|
+
"lastname",
|
|
55
|
+
"address1",
|
|
56
|
+
"address2",
|
|
57
|
+
"city",
|
|
58
|
+
"state",
|
|
59
|
+
"zipcode"
|
|
60
|
+
],
|
|
61
|
+
"return_address": {
|
|
62
|
+
"company": "Test",
|
|
63
|
+
"firstname": "Jeff",
|
|
64
|
+
"lastname": "Doe",
|
|
65
|
+
"address1": "425 Main St",
|
|
66
|
+
"address2": "Apt 1",
|
|
67
|
+
"city": "Miami",
|
|
68
|
+
"state": "FL",
|
|
69
|
+
"zipcode": "34689"
|
|
70
|
+
},
|
|
71
|
+
"example_data": [
|
|
72
|
+
{
|
|
73
|
+
"company": "Acme",
|
|
74
|
+
"firstname": "John",
|
|
75
|
+
"lastname": "Doe",
|
|
76
|
+
"address1": "123 Main St",
|
|
77
|
+
"address2": "Apt 1",
|
|
78
|
+
"city": "Los Angeles",
|
|
79
|
+
"state": "CA",
|
|
80
|
+
"zipcode": "12345"
|
|
81
|
+
},
|
|
82
|
+
{
|
|
83
|
+
"company": "Acme",
|
|
84
|
+
"firstname": "Jane",
|
|
85
|
+
"lastname": "Doe",
|
|
86
|
+
"address1": "23 Any street",
|
|
87
|
+
"address2": "Apt 45",
|
|
88
|
+
"city": "Anytown",
|
|
89
|
+
"state": "CA",
|
|
90
|
+
"zipcode": "23452"
|
|
91
|
+
}
|
|
92
|
+
],
|
|
93
|
+
"api": {
|
|
94
|
+
"base_url": "https://dev-designer.directmailmanager.com/api",
|
|
95
|
+
"project_id": 1,
|
|
96
|
+
"user_id": 2
|
|
97
|
+
},
|
|
98
|
+
"user_id": "{INTERNAL_USER_ID}",
|
|
99
|
+
"google": {
|
|
100
|
+
"map_api_key": "{YOUR_GOOGLE_MAPS_API_KEY}",
|
|
101
|
+
"use_predefined_locations": false,
|
|
102
|
+
"to_addresses": ["1 Main St Apt 1, Los Angeles, CA 12345"]
|
|
103
|
+
},
|
|
104
|
+
"fonts": [
|
|
105
|
+
{
|
|
106
|
+
"name": "Arial Black",
|
|
107
|
+
"link": "https://fonts.googleapis.com/css?family=Arial+Black"
|
|
108
|
+
},
|
|
109
|
+
{
|
|
110
|
+
"name": "Courier New",
|
|
111
|
+
"link": "https://fonts.googleapis.com/css?family=Courier+New"
|
|
112
|
+
}
|
|
113
|
+
]
|
|
114
|
+
}
|
|
115
|
+
```
|
|
116
|
+
|
|
117
|
+
Use the component in your application:
|
|
118
|
+
|
|
119
|
+
```js
|
|
120
|
+
<script setup lang="ts">
|
|
121
|
+
import { PostcardDesigner} from "@webgurus-eu/postcard-designer-tool";
|
|
122
|
+
import "@webgurus-eu/postcard-designer-tool/dist/index.css";
|
|
123
|
+
|
|
124
|
+
</script>
|
|
125
|
+
|
|
126
|
+
<template>
|
|
127
|
+
<PostcardDesigner />
|
|
128
|
+
</template>
|
|
129
|
+
|
|
130
|
+
```
|
|
131
|
+
|
|
132
|
+
Available functions to modify the default config:
|
|
133
|
+
|
|
134
|
+
- Every option can be modified by calling the init() function except the fonts, which can be extended by calling the addFont() function:
|
|
135
|
+
|
|
136
|
+
```js
|
|
137
|
+
import { init, addFont } from '@webgurus-eu/postcard-designer-tool';
|
|
138
|
+
|
|
139
|
+
init({
|
|
140
|
+
backgroundColor: '#000000',
|
|
141
|
+
return_address: {
|
|
142
|
+
company: '',
|
|
143
|
+
firstname: 'Chuck',
|
|
144
|
+
lastname: 'Norris',
|
|
145
|
+
address1: '420 Forrest St',
|
|
146
|
+
address2: '',
|
|
147
|
+
city: 'Austin',
|
|
148
|
+
state: 'TX',
|
|
149
|
+
zipcode: '34444',
|
|
150
|
+
},
|
|
151
|
+
});
|
|
152
|
+
|
|
153
|
+
addFont([
|
|
154
|
+
{
|
|
155
|
+
name: 'Kablammo',
|
|
156
|
+
link: 'https://fonts.googleapis.com/css?family=Kablammo',
|
|
157
|
+
},
|
|
158
|
+
{
|
|
159
|
+
name: 'Bebas Neue',
|
|
160
|
+
link: 'https://fonts.googleapis.com/css?family=Bebas+Neue',
|
|
161
|
+
},
|
|
162
|
+
]);
|
|
163
|
+
```
|
|
164
|
+
|
|
165
|
+
## Built With
|
|
166
|
+
|
|
167
|
+
- TypeScript
|
|
168
|
+
- Vue 3
|
|
169
|
+
- Vite
|
|
170
|
+
- Tailwind
|
|
171
|
+
|
|
172
|
+
## Future Updates
|
|
173
|
+
|
|
174
|
+
- [ ] Conversion Tracking
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
declare global {
|
|
2
|
+
interface Window {
|
|
3
|
+
initMap: () => void;
|
|
4
|
+
}
|
|
5
|
+
}
|
|
6
|
+
declare const _sfc_main: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}, {}>;
|
|
7
|
+
export default _sfc_main;
|
|
@@ -0,0 +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"}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}, {}>;
|
|
2
|
+
export default _default;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { PropType } from 'vue';
|
|
2
|
+
import { S3Image } from '../../types/api';
|
|
3
|
+
declare const _sfc_main: import("vue").DefineComponent<{
|
|
4
|
+
image: {
|
|
5
|
+
type: PropType<S3Image>;
|
|
6
|
+
};
|
|
7
|
+
}, {}, 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
|
+
image: {
|
|
9
|
+
type: PropType<S3Image>;
|
|
10
|
+
};
|
|
11
|
+
}>> & {
|
|
12
|
+
onImageSelect?: ((...args: any[]) => any) | undefined;
|
|
13
|
+
onImageDelete?: ((...args: any[]) => any) | undefined;
|
|
14
|
+
}, {}, {}>;
|
|
15
|
+
export default _sfc_main;
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { PropType } from 'vue';
|
|
2
|
+
import { S3Image } from '../../types/api';
|
|
3
|
+
declare const _sfc_main: import("vue").DefineComponent<{
|
|
4
|
+
images: {
|
|
5
|
+
type: PropType<S3Image[]>;
|
|
6
|
+
default: () => never[];
|
|
7
|
+
};
|
|
8
|
+
contentHeight: {
|
|
9
|
+
type: NumberConstructor;
|
|
10
|
+
required: true;
|
|
11
|
+
};
|
|
12
|
+
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "imageSelect"[], "imageSelect", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
13
|
+
images: {
|
|
14
|
+
type: PropType<S3Image[]>;
|
|
15
|
+
default: () => never[];
|
|
16
|
+
};
|
|
17
|
+
contentHeight: {
|
|
18
|
+
type: NumberConstructor;
|
|
19
|
+
required: true;
|
|
20
|
+
};
|
|
21
|
+
}>> & {
|
|
22
|
+
onImageSelect?: ((...args: any[]) => any) | undefined;
|
|
23
|
+
}, {
|
|
24
|
+
images: S3Image[];
|
|
25
|
+
}, {}>;
|
|
26
|
+
export default _sfc_main;
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
declare const _sfc_main: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}, {}>;
|
|
2
|
+
export default _sfc_main;
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
declare const _sfc_main: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "uploadFile"[], "uploadFile", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>> & {
|
|
2
|
+
onUploadFile?: ((...args: any[]) => any) | undefined;
|
|
3
|
+
}, {}, {}>;
|
|
4
|
+
export default _sfc_main;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
declare const _sfc_main: import("vue").DefineComponent<{
|
|
2
|
+
action: {
|
|
3
|
+
type: StringConstructor;
|
|
4
|
+
required: true;
|
|
5
|
+
};
|
|
6
|
+
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "uploadFile"[], "uploadFile", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
7
|
+
action: {
|
|
8
|
+
type: StringConstructor;
|
|
9
|
+
required: true;
|
|
10
|
+
};
|
|
11
|
+
}>> & {
|
|
12
|
+
onUploadFile?: ((...args: any[]) => any) | undefined;
|
|
13
|
+
}, {}, {}>;
|
|
14
|
+
export default _sfc_main;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { PropType } from 'vue';
|
|
2
|
+
import { Photo } from '../../types/unsplash';
|
|
3
|
+
declare const _sfc_main: import("vue").DefineComponent<{
|
|
4
|
+
photo: {
|
|
5
|
+
type: PropType<Photo>;
|
|
6
|
+
};
|
|
7
|
+
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "imageClick"[], "imageClick", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
8
|
+
photo: {
|
|
9
|
+
type: PropType<Photo>;
|
|
10
|
+
};
|
|
11
|
+
}>> & {
|
|
12
|
+
onImageClick?: ((...args: any[]) => any) | undefined;
|
|
13
|
+
}, {}, {}>;
|
|
14
|
+
export default _sfc_main;
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { PropType } from 'vue';
|
|
2
|
+
import { Photo } from '../../types/unsplash';
|
|
3
|
+
declare const _sfc_main: import("vue").DefineComponent<{
|
|
4
|
+
images: {
|
|
5
|
+
type: PropType<Photo[]>;
|
|
6
|
+
};
|
|
7
|
+
search: {
|
|
8
|
+
type: StringConstructor;
|
|
9
|
+
};
|
|
10
|
+
contentHeight: {
|
|
11
|
+
type: NumberConstructor;
|
|
12
|
+
required: true;
|
|
13
|
+
};
|
|
14
|
+
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "imageSelect"[], "imageSelect", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
15
|
+
images: {
|
|
16
|
+
type: PropType<Photo[]>;
|
|
17
|
+
};
|
|
18
|
+
search: {
|
|
19
|
+
type: StringConstructor;
|
|
20
|
+
};
|
|
21
|
+
contentHeight: {
|
|
22
|
+
type: NumberConstructor;
|
|
23
|
+
required: true;
|
|
24
|
+
};
|
|
25
|
+
}>> & {
|
|
26
|
+
onImageSelect?: ((...args: any[]) => any) | undefined;
|
|
27
|
+
}, {}, {}>;
|
|
28
|
+
export default _sfc_main;
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { PropType } from 'vue';
|
|
2
|
+
import { Template } from '../../types/api';
|
|
3
|
+
declare const _sfc_main: import("vue").DefineComponent<{
|
|
4
|
+
templates: {
|
|
5
|
+
type: PropType<Template[]>;
|
|
6
|
+
default: () => never[];
|
|
7
|
+
};
|
|
8
|
+
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, ("clearTemplate" | "setTemplate")[], "clearTemplate" | "setTemplate", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
9
|
+
templates: {
|
|
10
|
+
type: PropType<Template[]>;
|
|
11
|
+
default: () => never[];
|
|
12
|
+
};
|
|
13
|
+
}>> & {
|
|
14
|
+
onClearTemplate?: ((...args: any[]) => any) | undefined;
|
|
15
|
+
onSetTemplate?: ((...args: any[]) => any) | undefined;
|
|
16
|
+
}, {
|
|
17
|
+
templates: Template[];
|
|
18
|
+
}, {}>;
|
|
19
|
+
export default _sfc_main;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
declare const _sfc_main: import("vue").DefineComponent<{
|
|
2
|
+
modelValue: {
|
|
3
|
+
type: StringConstructor;
|
|
4
|
+
default: string;
|
|
5
|
+
};
|
|
6
|
+
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "update:modelValue"[], "update:modelValue", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
7
|
+
modelValue: {
|
|
8
|
+
type: StringConstructor;
|
|
9
|
+
default: string;
|
|
10
|
+
};
|
|
11
|
+
}>> & {
|
|
12
|
+
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
13
|
+
}, {
|
|
14
|
+
modelValue: string;
|
|
15
|
+
}, {}>;
|
|
16
|
+
export default _sfc_main;
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
declare const _sfc_main: import("vue").DefineComponent<{
|
|
2
|
+
modelValue: {
|
|
3
|
+
type: ObjectConstructor;
|
|
4
|
+
default: {
|
|
5
|
+
x: number;
|
|
6
|
+
y: number;
|
|
7
|
+
w: number;
|
|
8
|
+
h: number;
|
|
9
|
+
r: number;
|
|
10
|
+
};
|
|
11
|
+
};
|
|
12
|
+
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "update:modelValue"[], "update:modelValue", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
13
|
+
modelValue: {
|
|
14
|
+
type: ObjectConstructor;
|
|
15
|
+
default: {
|
|
16
|
+
x: number;
|
|
17
|
+
y: number;
|
|
18
|
+
w: number;
|
|
19
|
+
h: number;
|
|
20
|
+
r: number;
|
|
21
|
+
};
|
|
22
|
+
};
|
|
23
|
+
}>> & {
|
|
24
|
+
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
25
|
+
}, {
|
|
26
|
+
modelValue: Record<string, any>;
|
|
27
|
+
}, {}>;
|
|
28
|
+
export default _sfc_main;
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
declare const _sfc_main: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "setOrder"[], "setOrder", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>> & {
|
|
2
|
+
onSetOrder?: ((...args: any[]) => any) | undefined;
|
|
3
|
+
}, {}, {}>;
|
|
4
|
+
export default _sfc_main;
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
declare const _sfc_main: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{}>>, {}, {}>;
|
|
2
|
+
export default _sfc_main;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { Item } from '../../types/items';
|
|
2
|
+
import { PropType } from 'vue';
|
|
3
|
+
declare const _sfc_main: import("vue").DefineComponent<{
|
|
4
|
+
item: {
|
|
5
|
+
type: PropType<Item>;
|
|
6
|
+
required: true;
|
|
7
|
+
};
|
|
8
|
+
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
9
|
+
item: {
|
|
10
|
+
type: PropType<Item>;
|
|
11
|
+
required: true;
|
|
12
|
+
};
|
|
13
|
+
}>>, {}, {}>;
|
|
14
|
+
export default _sfc_main;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { PropType } from 'vue';
|
|
2
|
+
import { Item } from '../../types/items';
|
|
3
|
+
declare const _sfc_main: import("vue").DefineComponent<{
|
|
4
|
+
item: {
|
|
5
|
+
type: PropType<Item>;
|
|
6
|
+
required: true;
|
|
7
|
+
};
|
|
8
|
+
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
9
|
+
item: {
|
|
10
|
+
type: PropType<Item>;
|
|
11
|
+
required: true;
|
|
12
|
+
};
|
|
13
|
+
}>>, {}, {}>;
|
|
14
|
+
export default _sfc_main;
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
declare const _sfc_main: import("vue").DefineComponent<{
|
|
2
|
+
code: {
|
|
3
|
+
type: StringConstructor;
|
|
4
|
+
default: string;
|
|
5
|
+
};
|
|
6
|
+
lineNumbers: {
|
|
7
|
+
type: BooleanConstructor;
|
|
8
|
+
default: boolean;
|
|
9
|
+
};
|
|
10
|
+
enabled: {
|
|
11
|
+
type: BooleanConstructor;
|
|
12
|
+
default: boolean;
|
|
13
|
+
};
|
|
14
|
+
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
15
|
+
code: {
|
|
16
|
+
type: StringConstructor;
|
|
17
|
+
default: string;
|
|
18
|
+
};
|
|
19
|
+
lineNumbers: {
|
|
20
|
+
type: BooleanConstructor;
|
|
21
|
+
default: boolean;
|
|
22
|
+
};
|
|
23
|
+
enabled: {
|
|
24
|
+
type: BooleanConstructor;
|
|
25
|
+
default: boolean;
|
|
26
|
+
};
|
|
27
|
+
}>>, {
|
|
28
|
+
code: string;
|
|
29
|
+
enabled: boolean;
|
|
30
|
+
lineNumbers: boolean;
|
|
31
|
+
}, {}>;
|
|
32
|
+
export default _sfc_main;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
declare const _sfc_main: import("vue").DefineComponent<{
|
|
2
|
+
id: {
|
|
3
|
+
type: NumberConstructor;
|
|
4
|
+
required: true;
|
|
5
|
+
};
|
|
6
|
+
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
7
|
+
id: {
|
|
8
|
+
type: NumberConstructor;
|
|
9
|
+
required: true;
|
|
10
|
+
};
|
|
11
|
+
}>>, {}, {}>;
|
|
12
|
+
export default _sfc_main;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
declare const _sfc_main: import("vue").DefineComponent<{
|
|
2
|
+
id: {
|
|
3
|
+
type: NumberConstructor;
|
|
4
|
+
required: true;
|
|
5
|
+
};
|
|
6
|
+
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
7
|
+
id: {
|
|
8
|
+
type: NumberConstructor;
|
|
9
|
+
required: true;
|
|
10
|
+
};
|
|
11
|
+
}>>, {}, {}>;
|
|
12
|
+
export default _sfc_main;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
declare const _sfc_main: import("vue").DefineComponent<{
|
|
2
|
+
id: {
|
|
3
|
+
type: NumberConstructor;
|
|
4
|
+
required: true;
|
|
5
|
+
};
|
|
6
|
+
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
7
|
+
id: {
|
|
8
|
+
type: NumberConstructor;
|
|
9
|
+
required: true;
|
|
10
|
+
};
|
|
11
|
+
}>>, {}, {}>;
|
|
12
|
+
export default _sfc_main;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
declare const _sfc_main: import("vue").DefineComponent<{
|
|
2
|
+
id: {
|
|
3
|
+
type: NumberConstructor;
|
|
4
|
+
required: true;
|
|
5
|
+
};
|
|
6
|
+
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
7
|
+
id: {
|
|
8
|
+
type: NumberConstructor;
|
|
9
|
+
required: true;
|
|
10
|
+
};
|
|
11
|
+
}>>, {}, {}>;
|
|
12
|
+
export default _sfc_main;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
declare const _sfc_main: import("vue").DefineComponent<{
|
|
2
|
+
id: {
|
|
3
|
+
type: NumberConstructor;
|
|
4
|
+
required: true;
|
|
5
|
+
};
|
|
6
|
+
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
7
|
+
id: {
|
|
8
|
+
type: NumberConstructor;
|
|
9
|
+
required: true;
|
|
10
|
+
};
|
|
11
|
+
}>>, {}, {}>;
|
|
12
|
+
export default _sfc_main;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
declare const _sfc_main: import("vue").DefineComponent<{
|
|
2
|
+
id: {
|
|
3
|
+
type: NumberConstructor;
|
|
4
|
+
required: true;
|
|
5
|
+
};
|
|
6
|
+
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
7
|
+
id: {
|
|
8
|
+
type: NumberConstructor;
|
|
9
|
+
required: true;
|
|
10
|
+
};
|
|
11
|
+
}>>, {}, {}>;
|
|
12
|
+
export default _sfc_main;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { PropType } from 'vue';
|
|
2
|
+
import { Item as ItemType } from '../../types/items';
|
|
3
|
+
declare const _sfc_main: import("vue").DefineComponent<{
|
|
4
|
+
items: {
|
|
5
|
+
type: PropType<ItemType[]>;
|
|
6
|
+
required: true;
|
|
7
|
+
};
|
|
8
|
+
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "elementMoved"[], "elementMoved", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
9
|
+
items: {
|
|
10
|
+
type: PropType<ItemType[]>;
|
|
11
|
+
required: true;
|
|
12
|
+
};
|
|
13
|
+
}>> & {
|
|
14
|
+
onElementMoved?: ((...args: any[]) => any) | undefined;
|
|
15
|
+
}, {}, {}>;
|
|
16
|
+
export default _sfc_main;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import type { PropType as __PropType } from 'vue';
|
|
2
|
+
declare const _sfc_main: import("vue").DefineComponent<{
|
|
3
|
+
isGuidelines: {
|
|
4
|
+
type: __PropType<boolean>;
|
|
5
|
+
required: true;
|
|
6
|
+
};
|
|
7
|
+
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
8
|
+
isGuidelines: {
|
|
9
|
+
type: __PropType<boolean>;
|
|
10
|
+
required: true;
|
|
11
|
+
};
|
|
12
|
+
}>>, {}, {}>;
|
|
13
|
+
export default _sfc_main;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
declare const _sfc_main: import("vue").DefineComponent<{
|
|
2
|
+
selectedIndex: {
|
|
3
|
+
type: NumberConstructor;
|
|
4
|
+
default: number;
|
|
5
|
+
};
|
|
6
|
+
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
7
|
+
selectedIndex: {
|
|
8
|
+
type: NumberConstructor;
|
|
9
|
+
default: number;
|
|
10
|
+
};
|
|
11
|
+
}>>, {
|
|
12
|
+
selectedIndex: number;
|
|
13
|
+
}, {}>;
|
|
14
|
+
export default _sfc_main;
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import { PropType } from 'vue';
|
|
2
|
+
declare const _sfc_main: import("vue").DefineComponent<{
|
|
3
|
+
modelValue: {
|
|
4
|
+
type: StringConstructor;
|
|
5
|
+
default: string;
|
|
6
|
+
};
|
|
7
|
+
options: {
|
|
8
|
+
type: PropType<string[]>;
|
|
9
|
+
default: () => never[];
|
|
10
|
+
};
|
|
11
|
+
label: {
|
|
12
|
+
type: StringConstructor;
|
|
13
|
+
default: string;
|
|
14
|
+
};
|
|
15
|
+
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "update:modelValue"[], "update:modelValue", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
16
|
+
modelValue: {
|
|
17
|
+
type: StringConstructor;
|
|
18
|
+
default: string;
|
|
19
|
+
};
|
|
20
|
+
options: {
|
|
21
|
+
type: PropType<string[]>;
|
|
22
|
+
default: () => never[];
|
|
23
|
+
};
|
|
24
|
+
label: {
|
|
25
|
+
type: StringConstructor;
|
|
26
|
+
default: string;
|
|
27
|
+
};
|
|
28
|
+
}>> & {
|
|
29
|
+
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
30
|
+
}, {
|
|
31
|
+
label: string;
|
|
32
|
+
modelValue: string;
|
|
33
|
+
options: string[];
|
|
34
|
+
}, {}>;
|
|
35
|
+
export default _sfc_main;
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
declare const _sfc_main: import("vue").DefineComponent<{
|
|
2
|
+
modelValue: {
|
|
3
|
+
type: ObjectConstructor;
|
|
4
|
+
default: {
|
|
5
|
+
color: number;
|
|
6
|
+
weight: number;
|
|
7
|
+
radius: number;
|
|
8
|
+
};
|
|
9
|
+
};
|
|
10
|
+
radius: {
|
|
11
|
+
type: BooleanConstructor;
|
|
12
|
+
default: boolean;
|
|
13
|
+
};
|
|
14
|
+
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, "update:modelValue"[], "update:modelValue", import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
15
|
+
modelValue: {
|
|
16
|
+
type: ObjectConstructor;
|
|
17
|
+
default: {
|
|
18
|
+
color: number;
|
|
19
|
+
weight: number;
|
|
20
|
+
radius: number;
|
|
21
|
+
};
|
|
22
|
+
};
|
|
23
|
+
radius: {
|
|
24
|
+
type: BooleanConstructor;
|
|
25
|
+
default: boolean;
|
|
26
|
+
};
|
|
27
|
+
}>> & {
|
|
28
|
+
"onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
|
|
29
|
+
}, {
|
|
30
|
+
radius: boolean;
|
|
31
|
+
modelValue: Record<string, any>;
|
|
32
|
+
}, {}>;
|
|
33
|
+
export default _sfc_main;
|