@lightspeed/crane 1.1.0 → 1.1.1
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/app.d.mts +147 -10
- package/dist/app.d.ts +147 -10
- package/dist/app.mjs +1 -1
- package/dist/cli.mjs +22 -11
- package/package.json +5 -2
- package/template/footers/example-footer/ExampleFooter.vue +36 -2
- package/template/footers/example-footer/component/ReportAbuse.vue +18 -0
- package/template/footers/example-footer/entity/color.ts +4 -0
- package/template/footers/example-footer/settings/content.ts +3 -0
- package/template/footers/example-footer/settings/design.ts +11 -0
- package/template/footers/example-footer/settings/translations.ts +12 -0
- package/template/footers/example-footer/showcases/1.ts +2 -0
- package/template/footers/example-footer/showcases/translations.ts +9 -0
- package/template/footers/example-footer/type.ts +2 -2
- package/template/headers/example-header/ExampleHeader.vue +20 -7
- package/template/headers/example-header/assets/cart.svg +20 -0
- package/template/headers/example-header/assets/search.svg +13 -0
- package/template/headers/example-header/component/Cart.vue +64 -0
- package/template/headers/example-header/component/SearchForm.vue +89 -0
- package/template/headers/example-header/showcases/1.ts +11 -0
- package/template/headers/example-header/type.ts +2 -2
- package/template/package.json +3 -2
- package/template/sections/example-section/component/image/ImagesGrid.vue +18 -37
- package/template/sections/example-section/settings/content.ts +53 -55
- package/template/sections/example-section/settings/translations.ts +27 -24
- package/template/sections/example-section/showcases/1.ts +143 -103
- package/template/sections/example-section/showcases/2.ts +127 -103
- package/template/sections/example-section/showcases/translations.ts +4 -0
- package/template/templates/template.ts +143 -103
- package/types.d.ts +14 -1
- package/template/footers/example-footer/component/SampleComponent.vue +0 -11
- package/template/headers/settings/content.ts +0 -1
- package/template/headers/settings/design.ts +0 -1
- package/template/headers/settings/layout.ts +0 -1
- /package/template/{footers → headers/example-header}/settings/content.ts +0 -0
- /package/template/{footers → headers/example-header}/settings/design.ts +0 -0
- /package/template/{footers → headers/example-header}/settings/layout.ts +0 -0
- /package/template/{footers → headers/example-header}/settings/translations.ts +0 -0
- /package/template/headers/{settings → example-header/showcases}/translations.ts +0 -0
|
@@ -34,117 +34,157 @@ export default {
|
|
|
34
34
|
type: 'INPUTBOX',
|
|
35
35
|
text: '$label.template_standard_showcase_1.section_title.text',
|
|
36
36
|
},
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
37
|
+
|
|
38
|
+
images: {
|
|
39
|
+
type: 'DECK',
|
|
40
|
+
cards: [
|
|
41
|
+
{
|
|
42
|
+
settings: {
|
|
43
|
+
image_text: {
|
|
44
|
+
type: 'TEXTAREA',
|
|
45
|
+
text: '$label.showcase_1.image_text_1.text',
|
|
46
|
+
},
|
|
47
|
+
|
|
48
|
+
image_content: {
|
|
49
|
+
type: 'IMAGE',
|
|
50
|
+
imageData: {
|
|
51
|
+
set: {
|
|
52
|
+
LOW_RES: {
|
|
53
|
+
url: 'new_arrivals_mobile_low.jpeg',
|
|
54
|
+
},
|
|
55
|
+
MOBILE_WEBP_LOW_RES: {
|
|
56
|
+
url: 'new_arrivals_mobile_low.jpeg',
|
|
57
|
+
},
|
|
58
|
+
MOBILE_WEBP_HI_RES: {
|
|
59
|
+
url: 'new_arrivals_mobile_high.jpeg',
|
|
60
|
+
},
|
|
61
|
+
WEBP_LOW_RES: {
|
|
62
|
+
url: 'new_arrivals_pc_low.jpeg',
|
|
63
|
+
},
|
|
64
|
+
WEBP_HI_2X_RES: {
|
|
65
|
+
url: 'new_arrivals_pc_high.jpeg',
|
|
66
|
+
},
|
|
67
|
+
},
|
|
68
|
+
borderInfo: {},
|
|
69
|
+
},
|
|
70
|
+
},
|
|
71
|
+
|
|
72
|
+
image_link: {
|
|
73
|
+
type: 'INPUTBOX',
|
|
74
|
+
text: '$label.showcase_1.image_link_1.text',
|
|
75
|
+
},
|
|
71
76
|
},
|
|
72
77
|
},
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
78
|
+
|
|
79
|
+
{
|
|
80
|
+
settings: {
|
|
81
|
+
image_text: {
|
|
82
|
+
type: 'TEXTAREA',
|
|
83
|
+
text: '$label.showcase_1.image_text_2.text',
|
|
84
|
+
},
|
|
85
|
+
|
|
86
|
+
image_content: {
|
|
87
|
+
type: 'IMAGE',
|
|
88
|
+
imageData: {
|
|
89
|
+
set: {
|
|
90
|
+
LOW_RES: {
|
|
91
|
+
url: 'sport_look_mobile_low.jpeg',
|
|
92
|
+
},
|
|
93
|
+
MOBILE_WEBP_LOW_RES: {
|
|
94
|
+
url: 'sport_look_mobile_low.jpeg',
|
|
95
|
+
},
|
|
96
|
+
MOBILE_WEBP_HI_RES: {
|
|
97
|
+
url: 'sport_look_mobile_high.jpeg',
|
|
98
|
+
},
|
|
99
|
+
WEBP_LOW_RES: {
|
|
100
|
+
url: 'sport_look_pc_low.jpeg',
|
|
101
|
+
},
|
|
102
|
+
WEBP_HI_2X_RES: {
|
|
103
|
+
url: 'sport_look_pc_high.jpeg',
|
|
104
|
+
},
|
|
105
|
+
},
|
|
106
|
+
borderInfo: {},
|
|
107
|
+
},
|
|
108
|
+
},
|
|
109
|
+
|
|
110
|
+
image_link: {
|
|
111
|
+
type: 'INPUTBOX',
|
|
112
|
+
text: '$label.showcase_1.image_link_1.text',
|
|
113
|
+
},
|
|
94
114
|
},
|
|
95
115
|
},
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
116
|
+
|
|
117
|
+
{
|
|
118
|
+
settings: {
|
|
119
|
+
image_text: {
|
|
120
|
+
type: 'TEXTAREA',
|
|
121
|
+
text: '$label.showcase_1.image_text_3.text',
|
|
122
|
+
},
|
|
123
|
+
|
|
124
|
+
image_content: {
|
|
125
|
+
type: 'IMAGE',
|
|
126
|
+
imageData: {
|
|
127
|
+
set: {
|
|
128
|
+
LOW_RES: {
|
|
129
|
+
url: 'summer_accessories_mobile_low.jpeg',
|
|
130
|
+
},
|
|
131
|
+
MOBILE_WEBP_LOW_RES: {
|
|
132
|
+
url: 'summer_accessories_mobile_low.jpeg',
|
|
133
|
+
},
|
|
134
|
+
MOBILE_WEBP_HI_RES: {
|
|
135
|
+
url: 'summer_accessories_mobile_high.jpeg',
|
|
136
|
+
},
|
|
137
|
+
WEBP_LOW_RES: {
|
|
138
|
+
url: 'summer_accessories_pc_low.jpeg',
|
|
139
|
+
},
|
|
140
|
+
WEBP_HI_2X_RES: {
|
|
141
|
+
url: 'summer_accessories_pc_high.jpeg',
|
|
142
|
+
},
|
|
143
|
+
},
|
|
144
|
+
borderInfo: {},
|
|
145
|
+
},
|
|
146
|
+
},
|
|
147
|
+
|
|
148
|
+
image_link: {
|
|
149
|
+
type: 'INPUTBOX',
|
|
150
|
+
text: '$label.showcase_1.image_link_1.text',
|
|
151
|
+
},
|
|
117
152
|
},
|
|
118
153
|
},
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
154
|
+
|
|
155
|
+
{
|
|
156
|
+
settings: {
|
|
157
|
+
image_text: {
|
|
158
|
+
type: 'TEXTAREA',
|
|
159
|
+
text: '$label.showcase_1.image_text_4.text',
|
|
160
|
+
},
|
|
161
|
+
|
|
162
|
+
image_content: {
|
|
163
|
+
type: 'IMAGE',
|
|
164
|
+
imageData: {
|
|
165
|
+
set: {
|
|
166
|
+
LOW_RES: {
|
|
167
|
+
url: 'trending_footwear_mobile_low.jpeg',
|
|
168
|
+
},
|
|
169
|
+
MOBILE_WEBP_LOW_RES: {
|
|
170
|
+
url: 'trending_footwear_mobile_low.jpeg',
|
|
171
|
+
},
|
|
172
|
+
MOBILE_WEBP_HI_RES: {
|
|
173
|
+
url: 'trending_footwear_mobile_high.jpeg',
|
|
174
|
+
},
|
|
175
|
+
WEBP_LOW_RES: {
|
|
176
|
+
url: 'trending_footwear_pc_low.jpeg',
|
|
177
|
+
},
|
|
178
|
+
WEBP_HI_2X_RES: {
|
|
179
|
+
url: 'trending_footwear_pc_high.jpeg',
|
|
180
|
+
},
|
|
181
|
+
},
|
|
182
|
+
borderInfo: {},
|
|
183
|
+
},
|
|
184
|
+
},
|
|
140
185
|
},
|
|
141
186
|
},
|
|
142
|
-
|
|
143
|
-
},
|
|
144
|
-
},
|
|
145
|
-
image_link_1: {
|
|
146
|
-
type: 'TEXTAREA',
|
|
147
|
-
text: '$label.showcase_2.image_link_1.text',
|
|
187
|
+
],
|
|
148
188
|
},
|
|
149
189
|
},
|
|
150
190
|
design: {
|
package/types.d.ts
CHANGED
|
@@ -12,7 +12,8 @@ type ButtonType =
|
|
|
12
12
|
| 'HYPER_LINK'
|
|
13
13
|
| 'MAIL_LINK'
|
|
14
14
|
| 'TEL_LINK'
|
|
15
|
-
| 'GO_TO_STORE_LINK'
|
|
15
|
+
| 'GO_TO_STORE_LINK'
|
|
16
|
+
| 'GO_TO_PAGE';
|
|
16
17
|
|
|
17
18
|
interface ButtonContentData {
|
|
18
19
|
readonly title: string;
|
|
@@ -21,6 +22,8 @@ interface ButtonContentData {
|
|
|
21
22
|
readonly email?: string;
|
|
22
23
|
readonly phone?: string;
|
|
23
24
|
readonly tileId?: string;
|
|
25
|
+
readonly pageId?: string;
|
|
26
|
+
readonly pageUrl?: string;
|
|
24
27
|
}
|
|
25
28
|
|
|
26
29
|
interface ImageInfoData {
|
|
@@ -191,6 +194,16 @@ interface TextareaContentEditor {
|
|
|
191
194
|
readonly placeholder: Record<string, string>;
|
|
192
195
|
}
|
|
193
196
|
|
|
197
|
+
interface ExternalContentData {
|
|
198
|
+
readonly reportAbuse?: ReportAbuse;
|
|
199
|
+
}
|
|
200
|
+
|
|
201
|
+
interface ReportAbuse {
|
|
202
|
+
readonly url: string,
|
|
203
|
+
readonly title: string,
|
|
204
|
+
readonly target: string,
|
|
205
|
+
}
|
|
206
|
+
|
|
194
207
|
interface ButtonContentEditor {
|
|
195
208
|
readonly type: 'BUTTON';
|
|
196
209
|
readonly label: Record<string, string>;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export default {} as const;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export default {} as const;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export default [] as const;
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|