@lightspeed/crane 1.0.3 → 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 -6
- package/package.json +7 -3
- package/template/footers/example-footer/ExampleFooter.vue +51 -0
- package/template/footers/example-footer/assets/example_footer_showcase_1_preview.png +0 -0
- package/template/footers/example-footer/assets/sample_image.jpg +0 -0
- package/template/footers/example-footer/client.ts +5 -0
- 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/server.ts +5 -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 +13 -0
- package/template/footers/example-footer/showcases/translations.ts +9 -0
- package/template/footers/example-footer/type.ts +5 -0
- package/template/headers/example-header/ExampleHeader.vue +30 -0
- package/template/headers/example-header/assets/cart.svg +20 -0
- package/template/headers/example-header/assets/example_header_showcase_1_preview.png +0 -0
- package/template/headers/example-header/assets/sample_image.jpg +0 -0
- package/template/headers/example-header/assets/search.svg +13 -0
- package/template/headers/example-header/client.ts +5 -0
- package/template/headers/example-header/component/Cart.vue +64 -0
- package/template/headers/example-header/component/SampleComponent.vue +11 -0
- package/template/headers/example-header/component/SearchForm.vue +89 -0
- package/template/headers/example-header/server.ts +5 -0
- package/template/headers/example-header/settings/content.ts +1 -0
- package/template/headers/example-header/settings/design.ts +1 -0
- package/template/headers/example-header/settings/layout.ts +1 -0
- package/template/headers/example-header/settings/translations.ts +5 -0
- package/template/headers/example-header/showcases/1.ts +11 -0
- package/template/headers/example-header/showcases/translations.ts +5 -0
- package/template/headers/example-header/type.ts +5 -0
- 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 +6 -0
- package/template/templates/template.ts +177 -118
- package/types.d.ts +14 -1
|
@@ -18,117 +18,157 @@ export default {
|
|
|
18
18
|
type: 'TEXTAREA',
|
|
19
19
|
text: '$label.showcase_1.section_description.text',
|
|
20
20
|
},
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
21
|
+
|
|
22
|
+
images: {
|
|
23
|
+
type: 'DECK',
|
|
24
|
+
cards: [
|
|
25
|
+
{
|
|
26
|
+
settings: {
|
|
27
|
+
image_text: {
|
|
28
|
+
type: 'TEXTAREA',
|
|
29
|
+
text: '$label.showcase_1.image_text_1.text',
|
|
30
|
+
},
|
|
31
|
+
|
|
32
|
+
image_content: {
|
|
33
|
+
type: 'IMAGE',
|
|
34
|
+
imageData: {
|
|
35
|
+
set: {
|
|
36
|
+
LOW_RES: {
|
|
37
|
+
url: 'new_arrivals_mobile_low.jpeg',
|
|
38
|
+
},
|
|
39
|
+
MOBILE_WEBP_LOW_RES: {
|
|
40
|
+
url: 'new_arrivals_mobile_low.jpeg',
|
|
41
|
+
},
|
|
42
|
+
MOBILE_WEBP_HI_RES: {
|
|
43
|
+
url: 'new_arrivals_mobile_high.jpeg',
|
|
44
|
+
},
|
|
45
|
+
WEBP_LOW_RES: {
|
|
46
|
+
url: 'new_arrivals_pc_low.jpeg',
|
|
47
|
+
},
|
|
48
|
+
WEBP_HI_2X_RES: {
|
|
49
|
+
url: 'new_arrivals_pc_high.jpeg',
|
|
50
|
+
},
|
|
51
|
+
},
|
|
52
|
+
borderInfo: {},
|
|
53
|
+
},
|
|
54
|
+
},
|
|
55
|
+
|
|
56
|
+
image_link: {
|
|
57
|
+
type: 'INPUTBOX',
|
|
58
|
+
text: '$label.showcase_1.image_link_1.text',
|
|
59
|
+
},
|
|
55
60
|
},
|
|
56
61
|
},
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
62
|
+
|
|
63
|
+
{
|
|
64
|
+
settings: {
|
|
65
|
+
image_text: {
|
|
66
|
+
type: 'TEXTAREA',
|
|
67
|
+
text: '$label.showcase_1.image_text_2.text',
|
|
68
|
+
},
|
|
69
|
+
|
|
70
|
+
image_content: {
|
|
71
|
+
type: 'IMAGE',
|
|
72
|
+
imageData: {
|
|
73
|
+
set: {
|
|
74
|
+
LOW_RES: {
|
|
75
|
+
url: 'sport_look_mobile_low.jpeg',
|
|
76
|
+
},
|
|
77
|
+
MOBILE_WEBP_LOW_RES: {
|
|
78
|
+
url: 'sport_look_mobile_low.jpeg',
|
|
79
|
+
},
|
|
80
|
+
MOBILE_WEBP_HI_RES: {
|
|
81
|
+
url: 'sport_look_mobile_high.jpeg',
|
|
82
|
+
},
|
|
83
|
+
WEBP_LOW_RES: {
|
|
84
|
+
url: 'sport_look_pc_low.jpeg',
|
|
85
|
+
},
|
|
86
|
+
WEBP_HI_2X_RES: {
|
|
87
|
+
url: 'sport_look_pc_high.jpeg',
|
|
88
|
+
},
|
|
89
|
+
},
|
|
90
|
+
borderInfo: {},
|
|
91
|
+
},
|
|
92
|
+
},
|
|
93
|
+
|
|
94
|
+
image_link: {
|
|
95
|
+
type: 'INPUTBOX',
|
|
96
|
+
text: '$label.showcase_1.image_link_1.text',
|
|
97
|
+
},
|
|
78
98
|
},
|
|
79
99
|
},
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
100
|
+
|
|
101
|
+
{
|
|
102
|
+
settings: {
|
|
103
|
+
image_text: {
|
|
104
|
+
type: 'TEXTAREA',
|
|
105
|
+
text: '$label.showcase_1.image_text_3.text',
|
|
106
|
+
},
|
|
107
|
+
|
|
108
|
+
image_content: {
|
|
109
|
+
type: 'IMAGE',
|
|
110
|
+
imageData: {
|
|
111
|
+
set: {
|
|
112
|
+
LOW_RES: {
|
|
113
|
+
url: 'summer_accessories_mobile_low.jpeg',
|
|
114
|
+
},
|
|
115
|
+
MOBILE_WEBP_LOW_RES: {
|
|
116
|
+
url: 'summer_accessories_mobile_low.jpeg',
|
|
117
|
+
},
|
|
118
|
+
MOBILE_WEBP_HI_RES: {
|
|
119
|
+
url: 'summer_accessories_mobile_high.jpeg',
|
|
120
|
+
},
|
|
121
|
+
WEBP_LOW_RES: {
|
|
122
|
+
url: 'summer_accessories_pc_low.jpeg',
|
|
123
|
+
},
|
|
124
|
+
WEBP_HI_2X_RES: {
|
|
125
|
+
url: 'summer_accessories_pc_high.jpeg',
|
|
126
|
+
},
|
|
127
|
+
},
|
|
128
|
+
borderInfo: {},
|
|
129
|
+
},
|
|
130
|
+
},
|
|
131
|
+
|
|
132
|
+
image_link: {
|
|
133
|
+
type: 'INPUTBOX',
|
|
134
|
+
text: '$label.showcase_1.image_link_1.text',
|
|
135
|
+
},
|
|
101
136
|
},
|
|
102
137
|
},
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
138
|
+
|
|
139
|
+
{
|
|
140
|
+
settings: {
|
|
141
|
+
image_text: {
|
|
142
|
+
type: 'TEXTAREA',
|
|
143
|
+
text: '$label.showcase_1.image_text_4.text',
|
|
144
|
+
},
|
|
145
|
+
|
|
146
|
+
image_content: {
|
|
147
|
+
type: 'IMAGE',
|
|
148
|
+
imageData: {
|
|
149
|
+
set: {
|
|
150
|
+
LOW_RES: {
|
|
151
|
+
url: 'trending_footwear_mobile_low.jpeg',
|
|
152
|
+
},
|
|
153
|
+
MOBILE_WEBP_LOW_RES: {
|
|
154
|
+
url: 'trending_footwear_mobile_low.jpeg',
|
|
155
|
+
},
|
|
156
|
+
MOBILE_WEBP_HI_RES: {
|
|
157
|
+
url: 'trending_footwear_mobile_high.jpeg',
|
|
158
|
+
},
|
|
159
|
+
WEBP_LOW_RES: {
|
|
160
|
+
url: 'trending_footwear_pc_low.jpeg',
|
|
161
|
+
},
|
|
162
|
+
WEBP_HI_2X_RES: {
|
|
163
|
+
url: 'trending_footwear_pc_high.jpeg',
|
|
164
|
+
},
|
|
165
|
+
},
|
|
166
|
+
borderInfo: {},
|
|
167
|
+
},
|
|
168
|
+
},
|
|
124
169
|
},
|
|
125
170
|
},
|
|
126
|
-
|
|
127
|
-
},
|
|
128
|
-
},
|
|
129
|
-
image_link_1: {
|
|
130
|
-
type: 'TEXTAREA',
|
|
131
|
-
text: '$label.showcase_1.image_link_1.text',
|
|
171
|
+
],
|
|
132
172
|
},
|
|
133
173
|
},
|
|
134
174
|
design: {
|
|
@@ -13,117 +13,141 @@ export default {
|
|
|
13
13
|
type: 'INPUTBOX',
|
|
14
14
|
text: '$label.showcase_2.section_title.text',
|
|
15
15
|
},
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
16
|
+
|
|
17
|
+
images: {
|
|
18
|
+
type: 'DECK',
|
|
19
|
+
cards: [
|
|
20
|
+
{
|
|
21
|
+
settings: {
|
|
22
|
+
image_text: {
|
|
23
|
+
type: 'TEXTAREA',
|
|
24
|
+
text: '$label.showcase_2.image_text_1.text',
|
|
25
|
+
},
|
|
26
|
+
image_content: {
|
|
27
|
+
type: 'IMAGE',
|
|
28
|
+
imageData: {
|
|
29
|
+
set: {
|
|
30
|
+
LOW_RES: {
|
|
31
|
+
url: 'new_tshirts_collection_mobile_low.jpeg',
|
|
32
|
+
},
|
|
33
|
+
MOBILE_WEBP_LOW_RES: {
|
|
34
|
+
url: 'new_tshirts_collection_mobile_low.jpeg',
|
|
35
|
+
},
|
|
36
|
+
MOBILE_WEBP_HI_RES: {
|
|
37
|
+
url: 'new_tshirts_collection_mobile_high.jpeg',
|
|
38
|
+
},
|
|
39
|
+
WEBP_LOW_RES: {
|
|
40
|
+
url: 'new_tshirts_collection_pc_low.jpeg',
|
|
41
|
+
},
|
|
42
|
+
WEBP_HI_2X_RES: {
|
|
43
|
+
url: 'new_tshirts_collection_pc_high.jpeg',
|
|
44
|
+
},
|
|
45
|
+
},
|
|
46
|
+
borderInfo: {},
|
|
47
|
+
},
|
|
48
|
+
},
|
|
49
|
+
image_link: {
|
|
50
|
+
type: 'INPUTBOX',
|
|
51
|
+
text: '$label.showcase_2.image_link_1.text',
|
|
52
|
+
},
|
|
50
53
|
},
|
|
51
54
|
},
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
55
|
+
{
|
|
56
|
+
settings: {
|
|
57
|
+
image_text: {
|
|
58
|
+
type: 'TEXTAREA',
|
|
59
|
+
text: '$label.showcase_2.image_text_2.text',
|
|
60
|
+
},
|
|
61
|
+
image_content: {
|
|
62
|
+
type: 'IMAGE',
|
|
63
|
+
imageData: {
|
|
64
|
+
set: {
|
|
65
|
+
LOW_RES: {
|
|
66
|
+
url: 'autumn_looks_mobile_low.jpeg',
|
|
67
|
+
},
|
|
68
|
+
MOBILE_WEBP_LOW_RES: {
|
|
69
|
+
url: 'autumn_looks_mobile_low.jpeg',
|
|
70
|
+
},
|
|
71
|
+
MOBILE_WEBP_HI_RES: {
|
|
72
|
+
url: 'autumn_looks_mobile_high.jpeg',
|
|
73
|
+
},
|
|
74
|
+
WEBP_LOW_RES: {
|
|
75
|
+
url: 'autumn_looks_pc_low.jpeg',
|
|
76
|
+
},
|
|
77
|
+
WEBP_HI_2X_RES: {
|
|
78
|
+
url: 'autumn_looks_pc_high.jpeg',
|
|
79
|
+
},
|
|
80
|
+
},
|
|
81
|
+
borderInfo: {},
|
|
82
|
+
},
|
|
83
|
+
},
|
|
73
84
|
},
|
|
74
85
|
},
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
86
|
+
|
|
87
|
+
{
|
|
88
|
+
settings: {
|
|
89
|
+
image_text: {
|
|
90
|
+
type: 'TEXTAREA',
|
|
91
|
+
text: '$label.showcase_2.image_text_3.text',
|
|
92
|
+
},
|
|
93
|
+
image_content: {
|
|
94
|
+
type: 'IMAGE',
|
|
95
|
+
imageData: {
|
|
96
|
+
set: {
|
|
97
|
+
LOW_RES: {
|
|
98
|
+
url: 'bianka_wardrobe_mobile_low.jpeg',
|
|
99
|
+
},
|
|
100
|
+
MOBILE_WEBP_LOW_RES: {
|
|
101
|
+
url: 'bianka_wardrobe_mobile_low.jpeg',
|
|
102
|
+
},
|
|
103
|
+
MOBILE_WEBP_HI_RES: {
|
|
104
|
+
url: 'bianka_wardrobe_mobile_high.jpeg',
|
|
105
|
+
},
|
|
106
|
+
WEBP_LOW_RES: {
|
|
107
|
+
url: 'bianka_wardrobe_pc_low.jpeg',
|
|
108
|
+
},
|
|
109
|
+
WEBP_HI_2X_RES: {
|
|
110
|
+
url: 'bianka_wardrobe_pc_high.jpeg',
|
|
111
|
+
},
|
|
112
|
+
},
|
|
113
|
+
borderInfo: {},
|
|
114
|
+
},
|
|
115
|
+
},
|
|
96
116
|
},
|
|
97
117
|
},
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
118
|
+
|
|
119
|
+
{
|
|
120
|
+
settings: {
|
|
121
|
+
image_text: {
|
|
122
|
+
type: 'TEXTAREA',
|
|
123
|
+
text: '$label.showcase_2.image_text_4.text',
|
|
124
|
+
},
|
|
125
|
+
image_content: {
|
|
126
|
+
type: 'IMAGE',
|
|
127
|
+
imageData: {
|
|
128
|
+
set: {
|
|
129
|
+
LOW_RES: {
|
|
130
|
+
url: 'story_of_jane_mobile_low.jpeg',
|
|
131
|
+
},
|
|
132
|
+
MOBILE_WEBP_LOW_RES: {
|
|
133
|
+
url: 'story_of_jane_mobile_low.jpeg',
|
|
134
|
+
},
|
|
135
|
+
MOBILE_WEBP_HI_RES: {
|
|
136
|
+
url: 'story_of_jane_mobile_high.jpeg',
|
|
137
|
+
},
|
|
138
|
+
WEBP_LOW_RES: {
|
|
139
|
+
url: 'story_of_jane_pc_low.jpeg',
|
|
140
|
+
},
|
|
141
|
+
WEBP_HI_2X_RES: {
|
|
142
|
+
url: 'story_of_jane_pc_high.jpeg',
|
|
143
|
+
},
|
|
144
|
+
},
|
|
145
|
+
borderInfo: {},
|
|
146
|
+
},
|
|
147
|
+
},
|
|
119
148
|
},
|
|
120
149
|
},
|
|
121
|
-
|
|
122
|
-
},
|
|
123
|
-
},
|
|
124
|
-
image_link_1: {
|
|
125
|
-
type: 'TEXTAREA',
|
|
126
|
-
text: '$label.showcase_2.image_link_1.text',
|
|
150
|
+
],
|
|
127
151
|
},
|
|
128
152
|
},
|
|
129
153
|
design: {
|
|
@@ -10,6 +10,9 @@ export default {
|
|
|
10
10
|
'$label.showcase_1.image_text_3.text': 'Summer accessories',
|
|
11
11
|
'$label.showcase_1.image_text_4.text': 'Trending footwear',
|
|
12
12
|
'$label.showcase_1.image_link_1.text': '/products',
|
|
13
|
+
|
|
14
|
+
'$label.card_button_title': 'Card button',
|
|
15
|
+
|
|
13
16
|
'$label.showcase_2.blockName': 'Reference section — Apparel',
|
|
14
17
|
'$label.showcase_2.section_title.text': 'Trending collections',
|
|
15
18
|
'$label.showcase_2.image_text_1.text': 'New t-shirts collection',
|
|
@@ -17,6 +20,7 @@ export default {
|
|
|
17
20
|
'$label.showcase_2.image_text_3.text': 'Bianka\'s wardrobe',
|
|
18
21
|
'$label.showcase_2.image_text_4.text': 'Story of Jane',
|
|
19
22
|
'$label.showcase_2.image_link_1.text': '/products',
|
|
23
|
+
'$label.template_standard_showcase_1.section_title.text': 'Something really catchy',
|
|
20
24
|
},
|
|
21
25
|
|
|
22
26
|
nl: {
|
|
@@ -30,6 +34,7 @@ export default {
|
|
|
30
34
|
'$label.showcase_1.image_text_3.text': 'Zomeraccessoires',
|
|
31
35
|
'$label.showcase_1.image_text_4.text': 'Trending schoenen',
|
|
32
36
|
'$label.showcase_1.image_link_1.text': '/products',
|
|
37
|
+
|
|
33
38
|
'$label.showcase_2.blockName': 'Referentiesectie — Kleding',
|
|
34
39
|
'$label.showcase_2.section_title.text': 'Trending collecties',
|
|
35
40
|
'$label.showcase_2.image_text_1.text': 'Nieuwe t-shirtscollectie',
|
|
@@ -37,5 +42,6 @@ export default {
|
|
|
37
42
|
'$label.showcase_2.image_text_3.text': 'Bianka\'s kledingkast',
|
|
38
43
|
'$label.showcase_2.image_text_4.text': 'Verhaal van Jane',
|
|
39
44
|
'$label.showcase_2.image_link_1.text': '/products',
|
|
45
|
+
'$label.template_standard_showcase_1.section_title.text': 'Iets heel pakkends',
|
|
40
46
|
},
|
|
41
47
|
} as const;
|