@lightspeed/crane 1.1.1 → 1.1.3
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 +76 -8
- package/dist/app.d.ts +76 -8
- package/dist/app.mjs +1 -1
- package/dist/cli.mjs +10 -23
- package/package.json +6 -5
- package/template/footers/example-footer/ExampleFooter.vue +12 -2
- package/template/footers/example-footer/assets/cart.svg +19 -0
- package/template/footers/example-footer/component/LegalLinks.vue +20 -0
- package/template/footers/example-footer/component/MadeWith.vue +23 -0
- package/template/footers/example-footer/component/ReportAbuse.vue +4 -3
- package/template/footers/example-footer/showcases/1.ts +1 -1
- package/template/headers/example-header/ExampleHeader.vue +38 -4
- package/template/headers/example-header/assets/account_icon.svg +11 -0
- package/template/headers/example-header/assets/lightspeed_logo.png +0 -0
- package/template/headers/example-header/component/Account.vue +20 -0
- package/template/headers/example-header/component/Cart.vue +14 -33
- package/template/headers/example-header/component/Logo.vue +95 -0
- package/template/headers/example-header/component/NavigationMenu.vue +53 -0
- package/template/headers/example-header/settings/translations.ts +6 -2
- package/template/headers/example-header/showcases/1.ts +32 -3
- package/template/headers/example-header/showcases/2.ts +42 -0
- package/template/headers/example-header/showcases/translations.ts +14 -2
- package/template/package.json +1 -1
- package/template/reference/sections/about-us/AboutUs.vue +73 -0
- package/template/reference/sections/about-us/assets/our_company_in_numbers.jpg +0 -0
- package/template/reference/sections/about-us/assets/our_company_in_numbers_preview.jpg +0 -0
- package/template/reference/sections/about-us/assets/our_team.jpg +0 -0
- package/template/reference/sections/about-us/assets/our_team_preview.jpg +0 -0
- package/template/reference/sections/about-us/client.ts +6 -0
- package/template/reference/sections/about-us/component/Image.vue +94 -0
- package/template/reference/sections/about-us/component/Stats.vue +155 -0
- package/template/reference/sections/about-us/component/Title.vue +32 -0
- package/template/reference/sections/about-us/server.ts +6 -0
- package/template/reference/sections/about-us/settings/content.ts +64 -0
- package/template/reference/sections/about-us/settings/design.ts +74 -0
- package/template/reference/sections/about-us/settings/layout.ts +12 -0
- package/template/reference/sections/about-us/settings/translations.ts +151 -0
- package/template/reference/sections/about-us/showcases/1.ts +176 -0
- package/template/reference/sections/about-us/showcases/2.ts +160 -0
- package/template/reference/sections/about-us/showcases/translations.ts +259 -0
- package/template/reference/sections/about-us/type.ts +5 -0
- package/template/reference/sections/about-us/util/visibility-provider.ts +27 -0
- package/template/reference/sections/intro-slider/IntroSlider.vue +77 -0
- package/template/reference/sections/intro-slider/assets/bike_1.jpg +0 -0
- package/template/reference/sections/intro-slider/assets/bike_1@2x.jpg +0 -0
- package/template/reference/sections/intro-slider/assets/bike_2.jpg +0 -0
- package/template/reference/sections/intro-slider/assets/bike_2@2x.jpg +0 -0
- package/template/reference/sections/intro-slider/assets/bike_3.jpg +0 -0
- package/template/reference/sections/intro-slider/assets/bike_3@2x.jpg +0 -0
- package/template/reference/sections/intro-slider/assets/bike_4.jpg +0 -0
- package/template/reference/sections/intro-slider/assets/bike_4@2x.jpg +0 -0
- package/template/reference/sections/intro-slider/assets/bike_5.jpg +0 -0
- package/template/reference/sections/intro-slider/assets/bike_5@2x.jpg +0 -0
- package/template/reference/sections/intro-slider/assets/bike_6.jpg +0 -0
- package/template/reference/sections/intro-slider/assets/bike_6@2x.jpg +0 -0
- package/template/reference/sections/intro-slider/assets/category_1.jpg +0 -0
- package/template/reference/sections/intro-slider/assets/category_1@2x.jpg +0 -0
- package/template/reference/sections/intro-slider/assets/category_2.jpg +0 -0
- package/template/reference/sections/intro-slider/assets/category_2@2x.jpg +0 -0
- package/template/reference/sections/intro-slider/assets/category_3.jpg +0 -0
- package/template/reference/sections/intro-slider/assets/category_3@2x.jpg +0 -0
- package/template/reference/sections/intro-slider/assets/category_5.jpg +0 -0
- package/template/reference/sections/intro-slider/assets/category_5@2x.jpg +0 -0
- package/template/reference/sections/intro-slider/assets/category_6.jpg +0 -0
- package/template/reference/sections/intro-slider/assets/category_6@2x.jpg +0 -0
- package/template/reference/sections/intro-slider/assets/custom_section_showcase_1_preview.png +0 -0
- package/template/reference/sections/intro-slider/assets/custom_section_showcase_2_preview.png +0 -0
- package/template/reference/sections/intro-slider/client.ts +5 -0
- package/template/reference/sections/intro-slider/component/Slider.vue +235 -0
- package/template/reference/sections/intro-slider/component/Title.vue +106 -0
- package/template/reference/sections/intro-slider/entity/color.ts +4 -0
- package/template/reference/sections/intro-slider/server.ts +5 -0
- package/template/reference/sections/intro-slider/settings/content.ts +43 -0
- package/template/reference/sections/intro-slider/settings/design.ts +88 -0
- package/template/reference/sections/intro-slider/settings/layout.ts +12 -0
- package/template/reference/sections/intro-slider/settings/translations.ts +53 -0
- package/template/reference/sections/intro-slider/showcases/1.ts +274 -0
- package/template/reference/sections/intro-slider/showcases/2.ts +270 -0
- package/template/reference/sections/intro-slider/showcases/translations.ts +88 -0
- package/template/reference/sections/intro-slider/type.ts +5 -0
- package/template/reference/sections/tag-lines/TagLines.vue +158 -0
- package/template/reference/sections/tag-lines/assets/explore_our_holiday_gift_guide.jpg +0 -0
- package/template/reference/sections/tag-lines/assets/fall_is_here.jpg +0 -0
- package/template/reference/sections/tag-lines/assets/fall_is_here_preview.jpg +0 -0
- package/template/reference/sections/tag-lines/assets/folding_bikes.jpg +0 -0
- package/template/reference/sections/tag-lines/assets/hybrid_bikes.jpg +0 -0
- package/template/reference/sections/tag-lines/assets/mountain_and_road_bikes.jpg +0 -0
- package/template/reference/sections/tag-lines/assets/shop_chelsea_boots.jpg +0 -0
- package/template/reference/sections/tag-lines/assets/sweater_weather.jpg +0 -0
- package/template/reference/sections/tag-lines/assets/what_we_sell.jpg +0 -0
- package/template/reference/sections/tag-lines/assets/what_we_sell_preview.jpg +0 -0
- package/template/reference/sections/tag-lines/client.ts +5 -0
- package/template/reference/sections/tag-lines/component/HighlightedText.vue +50 -0
- package/template/reference/sections/tag-lines/component/SectionImage.vue +78 -0
- package/template/reference/sections/tag-lines/component/Title.vue +51 -0
- package/template/reference/sections/tag-lines/composables/highlighted-text-image-list.ts +34 -0
- package/template/reference/sections/tag-lines/server.ts +5 -0
- package/template/reference/sections/tag-lines/settings/content.ts +37 -0
- package/template/reference/sections/tag-lines/settings/design.ts +81 -0
- package/template/reference/sections/tag-lines/settings/layout.ts +12 -0
- package/template/reference/sections/tag-lines/settings/translations.ts +61 -0
- package/template/reference/sections/tag-lines/showcases/1.ts +190 -0
- package/template/reference/sections/tag-lines/showcases/2.ts +190 -0
- package/template/reference/sections/tag-lines/showcases/translations.ts +49 -0
- package/template/reference/sections/tag-lines/type.ts +5 -0
- package/template/reference/shared/components/Button.vue +151 -0
- package/template/reference/shared/components/SectionWrapper.vue +26 -0
- package/template/reference/shared/components/Tagline.vue +45 -0
- package/template/reference/shared/utils/color.ts +16 -0
- package/template/reference/shared/utils/styles.ts +12 -0
- package/template/reference/templates/assets/reference_template_apparel_cover_image.jpg +0 -0
- package/template/reference/templates/assets/reference_template_bike_cover_image.jpg +0 -0
- package/template/reference/templates/reference-template-apparel.ts +44 -0
- package/template/reference/templates/reference-template-bike.ts +44 -0
- package/template/sections/example-section/ExampleSection.vue +8 -19
- package/template/sections/example-section/assets/bike_accessories_high.jpg +0 -0
- package/template/sections/example-section/assets/bike_accessories_low.jpg +0 -0
- package/template/sections/example-section/assets/bike_new_arrivals_high.jpg +0 -0
- package/template/sections/example-section/assets/bike_new_arrivals_low.jpg +0 -0
- package/template/sections/example-section/assets/custom_section_showcase_3_preview.jpg +0 -0
- package/template/sections/example-section/assets/fixed_gears_high.jpg +0 -0
- package/template/sections/example-section/assets/fixed_gears_low.jpg +0 -0
- package/template/sections/example-section/assets/repair_service_high.jpg +0 -0
- package/template/sections/example-section/assets/repair_service_low.jpg +0 -0
- package/template/sections/example-section/settings/translations.ts +39 -7
- package/template/sections/example-section/showcases/3.ts +198 -0
- package/template/sections/example-section/showcases/translations.ts +49 -1
- package/template/shared/components/LanguageSelector.vue +75 -0
- package/template/shared/components/SectionWrapper.vue +26 -0
- package/template/templates/template.ts +28 -43
- package/types.d.ts +264 -141
- package/template/headers/example-header/component/SampleComponent.vue +0 -11
|
@@ -18,7 +18,8 @@ export default {
|
|
|
18
18
|
},
|
|
19
19
|
{
|
|
20
20
|
type: 'default',
|
|
21
|
-
id: '
|
|
21
|
+
id: 'slider',
|
|
22
|
+
showcase_id: '001',
|
|
22
23
|
},
|
|
23
24
|
{
|
|
24
25
|
type: 'custom',
|
|
@@ -42,75 +43,66 @@ export default {
|
|
|
42
43
|
settings: {
|
|
43
44
|
image_text: {
|
|
44
45
|
type: 'TEXTAREA',
|
|
45
|
-
text: '$label.
|
|
46
|
+
text: '$label.showcase_2.image_text_1.text',
|
|
46
47
|
},
|
|
47
|
-
|
|
48
48
|
image_content: {
|
|
49
49
|
type: 'IMAGE',
|
|
50
50
|
imageData: {
|
|
51
51
|
set: {
|
|
52
52
|
LOW_RES: {
|
|
53
|
-
url: '
|
|
53
|
+
url: 'new_tshirts_collection_mobile_low.jpeg',
|
|
54
54
|
},
|
|
55
55
|
MOBILE_WEBP_LOW_RES: {
|
|
56
|
-
url: '
|
|
56
|
+
url: 'new_tshirts_collection_mobile_low.jpeg',
|
|
57
57
|
},
|
|
58
58
|
MOBILE_WEBP_HI_RES: {
|
|
59
|
-
url: '
|
|
59
|
+
url: 'new_tshirts_collection_mobile_high.jpeg',
|
|
60
60
|
},
|
|
61
61
|
WEBP_LOW_RES: {
|
|
62
|
-
url: '
|
|
62
|
+
url: 'new_tshirts_collection_pc_low.jpeg',
|
|
63
63
|
},
|
|
64
64
|
WEBP_HI_2X_RES: {
|
|
65
|
-
url: '
|
|
65
|
+
url: 'new_tshirts_collection_pc_high.jpeg',
|
|
66
66
|
},
|
|
67
67
|
},
|
|
68
68
|
borderInfo: {},
|
|
69
69
|
},
|
|
70
70
|
},
|
|
71
|
-
|
|
72
71
|
image_link: {
|
|
73
72
|
type: 'INPUTBOX',
|
|
74
|
-
text: '$label.
|
|
73
|
+
text: '$label.showcase_2.image_link_1.text',
|
|
75
74
|
},
|
|
76
75
|
},
|
|
77
76
|
},
|
|
78
|
-
|
|
79
77
|
{
|
|
80
78
|
settings: {
|
|
81
79
|
image_text: {
|
|
82
80
|
type: 'TEXTAREA',
|
|
83
|
-
text: '$label.
|
|
81
|
+
text: '$label.showcase_2.image_text_2.text',
|
|
84
82
|
},
|
|
85
|
-
|
|
86
83
|
image_content: {
|
|
87
84
|
type: 'IMAGE',
|
|
88
85
|
imageData: {
|
|
89
86
|
set: {
|
|
90
87
|
LOW_RES: {
|
|
91
|
-
url: '
|
|
88
|
+
url: 'autumn_looks_mobile_low.jpeg',
|
|
92
89
|
},
|
|
93
90
|
MOBILE_WEBP_LOW_RES: {
|
|
94
|
-
url: '
|
|
91
|
+
url: 'autumn_looks_mobile_low.jpeg',
|
|
95
92
|
},
|
|
96
93
|
MOBILE_WEBP_HI_RES: {
|
|
97
|
-
url: '
|
|
94
|
+
url: 'autumn_looks_mobile_high.jpeg',
|
|
98
95
|
},
|
|
99
96
|
WEBP_LOW_RES: {
|
|
100
|
-
url: '
|
|
97
|
+
url: 'autumn_looks_pc_low.jpeg',
|
|
101
98
|
},
|
|
102
99
|
WEBP_HI_2X_RES: {
|
|
103
|
-
url: '
|
|
100
|
+
url: 'autumn_looks_pc_high.jpeg',
|
|
104
101
|
},
|
|
105
102
|
},
|
|
106
103
|
borderInfo: {},
|
|
107
104
|
},
|
|
108
105
|
},
|
|
109
|
-
|
|
110
|
-
image_link: {
|
|
111
|
-
type: 'INPUTBOX',
|
|
112
|
-
text: '$label.showcase_1.image_link_1.text',
|
|
113
|
-
},
|
|
114
106
|
},
|
|
115
107
|
},
|
|
116
108
|
|
|
@@ -118,37 +110,31 @@ export default {
|
|
|
118
110
|
settings: {
|
|
119
111
|
image_text: {
|
|
120
112
|
type: 'TEXTAREA',
|
|
121
|
-
text: '$label.
|
|
113
|
+
text: '$label.showcase_2.image_text_3.text',
|
|
122
114
|
},
|
|
123
|
-
|
|
124
115
|
image_content: {
|
|
125
116
|
type: 'IMAGE',
|
|
126
117
|
imageData: {
|
|
127
118
|
set: {
|
|
128
119
|
LOW_RES: {
|
|
129
|
-
url: '
|
|
120
|
+
url: 'bianka_wardrobe_mobile_low.jpeg',
|
|
130
121
|
},
|
|
131
122
|
MOBILE_WEBP_LOW_RES: {
|
|
132
|
-
url: '
|
|
123
|
+
url: 'bianka_wardrobe_mobile_low.jpeg',
|
|
133
124
|
},
|
|
134
125
|
MOBILE_WEBP_HI_RES: {
|
|
135
|
-
url: '
|
|
126
|
+
url: 'bianka_wardrobe_mobile_high.jpeg',
|
|
136
127
|
},
|
|
137
128
|
WEBP_LOW_RES: {
|
|
138
|
-
url: '
|
|
129
|
+
url: 'bianka_wardrobe_pc_low.jpeg',
|
|
139
130
|
},
|
|
140
131
|
WEBP_HI_2X_RES: {
|
|
141
|
-
url: '
|
|
132
|
+
url: 'bianka_wardrobe_pc_high.jpeg',
|
|
142
133
|
},
|
|
143
134
|
},
|
|
144
135
|
borderInfo: {},
|
|
145
136
|
},
|
|
146
137
|
},
|
|
147
|
-
|
|
148
|
-
image_link: {
|
|
149
|
-
type: 'INPUTBOX',
|
|
150
|
-
text: '$label.showcase_1.image_link_1.text',
|
|
151
|
-
},
|
|
152
138
|
},
|
|
153
139
|
},
|
|
154
140
|
|
|
@@ -156,27 +142,26 @@ export default {
|
|
|
156
142
|
settings: {
|
|
157
143
|
image_text: {
|
|
158
144
|
type: 'TEXTAREA',
|
|
159
|
-
text: '$label.
|
|
145
|
+
text: '$label.showcase_2.image_text_4.text',
|
|
160
146
|
},
|
|
161
|
-
|
|
162
147
|
image_content: {
|
|
163
148
|
type: 'IMAGE',
|
|
164
149
|
imageData: {
|
|
165
150
|
set: {
|
|
166
151
|
LOW_RES: {
|
|
167
|
-
url: '
|
|
152
|
+
url: 'story_of_jane_mobile_low.jpeg',
|
|
168
153
|
},
|
|
169
154
|
MOBILE_WEBP_LOW_RES: {
|
|
170
|
-
url: '
|
|
155
|
+
url: 'story_of_jane_mobile_low.jpeg',
|
|
171
156
|
},
|
|
172
157
|
MOBILE_WEBP_HI_RES: {
|
|
173
|
-
url: '
|
|
158
|
+
url: 'story_of_jane_mobile_high.jpeg',
|
|
174
159
|
},
|
|
175
160
|
WEBP_LOW_RES: {
|
|
176
|
-
url: '
|
|
161
|
+
url: 'story_of_jane_pc_low.jpeg',
|
|
177
162
|
},
|
|
178
163
|
WEBP_HI_2X_RES: {
|
|
179
|
-
url: '
|
|
164
|
+
url: 'story_of_jane_pc_high.jpeg',
|
|
180
165
|
},
|
|
181
166
|
},
|
|
182
167
|
borderInfo: {},
|
|
@@ -214,7 +199,7 @@ export default {
|
|
|
214
199
|
},
|
|
215
200
|
},
|
|
216
201
|
layoutId: 'Caption_Under_Image',
|
|
217
|
-
blockName: '$label.
|
|
202
|
+
blockName: '$label.showcase_2.blockName',
|
|
218
203
|
},
|
|
219
204
|
},
|
|
220
205
|
{
|