@lightspeed/crane 1.4.2 → 2.0.0
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/CHANGELOG.md +33 -0
- package/UPGRADE.md +19 -0
- package/dist/app.d.mts +1 -1028
- package/dist/app.d.ts +1 -1028
- package/dist/app.mjs +1 -1
- package/dist/cli.mjs +20 -7
- package/package.json +3 -2
- package/template/footers/example-footer/ExampleFooter.vue +1 -1
- package/template/footers/example-footer/client.ts +1 -1
- package/template/footers/example-footer/component/LegalLinks.vue +1 -1
- package/template/footers/example-footer/component/MadeWith.vue +1 -1
- package/template/footers/example-footer/component/ReportAbuse.vue +1 -1
- package/template/footers/example-footer/entity/color.ts +2 -2
- package/template/footers/example-footer/server.ts +1 -1
- package/template/headers/example-header/client.ts +1 -1
- package/template/headers/example-header/component/Account.vue +1 -1
- package/template/headers/example-header/component/Cart.vue +1 -1
- package/template/headers/example-header/component/CategoriesDropdown.vue +1 -1
- package/template/headers/example-header/component/Logo.vue +1 -1
- package/template/headers/example-header/component/NavigationMenu.vue +1 -1
- package/template/headers/example-header/component/SearchForm.vue +1 -1
- package/template/headers/example-header/server.ts +1 -1
- package/template/index.d.ts +1 -1
- package/template/layouts/catalog/example-catalog/Main.vue +1 -1
- package/template/layouts/catalog/example-catalog/slots/custom-bottom-bar/client.ts +1 -1
- package/template/layouts/catalog/example-catalog/slots/custom-bottom-bar/server.ts +1 -1
- package/template/layouts/category/example-category/Main.vue +1 -1
- package/template/layouts/category/example-category/settings/content.ts +1 -1
- package/template/layouts/category/example-category/settings/design.ts +1 -1
- package/template/layouts/product/example-product/Main.vue +1 -1
- package/template/layouts/product/example-product/settings/content.ts +1 -1
- package/template/layouts/product/example-product/settings/design.ts +1 -1
- package/template/package.json +6 -3
- package/template/page-templates/example-template/pages/catalog.ts +1 -1
- package/template/page-templates/example-template/pages/category.ts +1 -1
- package/template/page-templates/example-template/pages/product.ts +1 -1
- package/template/preview/sections/preview.html +1 -1
- package/template/preview/shared/api-routes.ts +347 -39
- package/template/preview/shared/mock.ts +43 -41
- package/template/preview/shared/preview.ts +205 -126
- package/template/preview/shared/utils.ts +208 -62
- package/template/preview/ssr-server.ts +429 -0
- package/template/preview/vite.config.js +64 -65
- package/template/reference/sections/about-us/AboutUs.vue +1 -1
- package/template/reference/sections/about-us/client.ts +1 -1
- package/template/reference/sections/about-us/component/Image.vue +1 -1
- package/template/reference/sections/about-us/component/Stats.vue +2 -2
- package/template/reference/sections/about-us/component/Title.vue +1 -1
- package/template/reference/sections/about-us/server.ts +1 -1
- package/template/reference/sections/about-us/util/visibility-provider.ts +1 -1
- package/template/reference/sections/featured-products/FeaturedProducts.vue +65 -0
- package/template/reference/sections/featured-products/assets/arrow.svg +3 -0
- package/template/reference/sections/featured-products/assets/custom_section_showcase_1_preview.png +0 -0
- package/template/reference/sections/featured-products/client.ts +5 -0
- package/template/reference/sections/featured-products/component/ProductItem.vue +71 -0
- package/template/reference/sections/featured-products/component/Title.vue +31 -0
- package/template/reference/sections/featured-products/entity/color.ts +4 -0
- package/template/reference/sections/featured-products/server.ts +5 -0
- package/template/reference/sections/featured-products/settings/content.ts +14 -0
- package/template/reference/sections/featured-products/settings/design.ts +33 -0
- package/template/reference/sections/featured-products/settings/translations.ts +24 -0
- package/template/reference/sections/featured-products/showcases/1.ts +28 -0
- package/template/reference/sections/featured-products/showcases/translations.ts +16 -0
- package/template/reference/sections/featured-products/type.ts +5 -0
- package/template/reference/sections/intro-slider/IntroSlider.vue +1 -1
- package/template/reference/sections/intro-slider/client.ts +1 -1
- package/template/reference/sections/intro-slider/component/Slider.vue +8 -2
- package/template/reference/sections/intro-slider/component/Title.vue +1 -1
- package/template/reference/sections/intro-slider/entity/color.ts +2 -2
- package/template/reference/sections/intro-slider/server.ts +1 -1
- package/template/reference/sections/tag-lines/TagLines.vue +1 -1
- package/template/reference/sections/tag-lines/client.ts +1 -1
- package/template/reference/sections/tag-lines/component/SectionImage.vue +1 -1
- package/template/reference/sections/tag-lines/component/Title.vue +1 -1
- package/template/reference/sections/tag-lines/composables/highlighted-text-image-list.ts +2 -2
- package/template/reference/sections/tag-lines/server.ts +1 -1
- package/template/reference/sections/trending-categories/TrendingCategories.vue +70 -0
- package/template/reference/sections/trending-categories/assets/arrow.svg +3 -0
- package/template/reference/sections/trending-categories/assets/custom_section_showcase_1_preview.png +0 -0
- package/template/reference/sections/trending-categories/client.ts +5 -0
- package/template/reference/sections/trending-categories/component/CategoryItem.vue +62 -0
- package/template/reference/sections/trending-categories/component/Title.vue +32 -0
- package/template/reference/sections/trending-categories/entity/color.ts +4 -0
- package/template/reference/sections/trending-categories/server.ts +5 -0
- package/template/reference/sections/trending-categories/settings/content.ts +14 -0
- package/template/reference/sections/trending-categories/settings/design.ts +33 -0
- package/template/reference/sections/trending-categories/settings/translations.ts +24 -0
- package/template/reference/sections/trending-categories/showcases/1.ts +36 -0
- package/template/reference/sections/trending-categories/showcases/translations.ts +22 -0
- package/template/reference/sections/trending-categories/type.ts +5 -0
- package/template/reference/shared/components/Button.vue +1 -1
- package/template/reference/templates/reference-template-apparel/pages/catalog.ts +1 -1
- package/template/reference/templates/reference-template-apparel/pages/category.ts +1 -1
- package/template/reference/templates/reference-template-apparel/pages/home.ts +10 -0
- package/template/reference/templates/reference-template-apparel/pages/product.ts +1 -1
- package/template/reference/templates/reference-template-bike/pages/catalog.ts +1 -1
- package/template/reference/templates/reference-template-bike/pages/category.ts +1 -1
- package/template/reference/templates/reference-template-bike/pages/home.ts +10 -0
- package/template/reference/templates/reference-template-bike/pages/product.ts +1 -1
- package/template/sections/example-section/ExampleSection.vue +8 -1
- package/template/sections/example-section/client.ts +1 -1
- package/template/sections/example-section/component/button/Button.vue +1 -1
- package/template/sections/example-section/component/image/Image.vue +1 -1
- package/template/sections/example-section/component/image/ImagesGrid.vue +1 -1
- package/template/sections/example-section/component/selectbox/Selectbox.vue +1 -1
- package/template/sections/example-section/component/title/Title.vue +1 -1
- package/template/sections/example-section/component/toggle/Toggle.vue +1 -1
- package/template/sections/example-section/entity/color.ts +2 -2
- package/template/sections/example-section/server.ts +1 -1
- package/template/sections/example-section/settings/translations.ts +1 -1
- package/template/sections/example-section/showcases/translations.ts +13 -13
- package/template/shared/components/LanguageSelector.vue +1 -1
- package/template/shared/translation.ts +16 -0
- package/template/shared/utils.ts +3 -1
- package/template/tsconfig.json +1 -0
- package/types.d.ts +6 -457
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
export default {
|
|
2
|
+
section_title: {
|
|
3
|
+
type: 'TEXT',
|
|
4
|
+
label: '$label.section_title.label',
|
|
5
|
+
colors: ['#FFFFFF66', '#0000004D', '#00000099', '#64C7FF66', '#F9947266', '#C794CD66', '#FFD17466'],
|
|
6
|
+
sizes: [18, 20, 22, 24, 26, 28, 30, 32, 34, 36, 38, 40, 42, 44, 46, 48, 50, 52, 54, 56, 58, 60],
|
|
7
|
+
defaults: {
|
|
8
|
+
font: 'global.fontFamily.body',
|
|
9
|
+
size: 40,
|
|
10
|
+
bold: true,
|
|
11
|
+
italic: false,
|
|
12
|
+
color: '#313131',
|
|
13
|
+
visible: true,
|
|
14
|
+
},
|
|
15
|
+
},
|
|
16
|
+
background: {
|
|
17
|
+
type: 'BACKGROUND',
|
|
18
|
+
label: '$label.background.label',
|
|
19
|
+
colors: [
|
|
20
|
+
'#FFFFFF66',
|
|
21
|
+
'#0000004D',
|
|
22
|
+
'#00000099',
|
|
23
|
+
'#64C7FF66',
|
|
24
|
+
'#F9947266',
|
|
25
|
+
'#C794CD66',
|
|
26
|
+
'#FFD17466',
|
|
27
|
+
],
|
|
28
|
+
defaults: {
|
|
29
|
+
style: 'COLOR',
|
|
30
|
+
color: 'global.color.background',
|
|
31
|
+
},
|
|
32
|
+
},
|
|
33
|
+
} as const;
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
export default {
|
|
2
|
+
en: {
|
|
3
|
+
'$label.section_title.label': 'Main title',
|
|
4
|
+
'$label.section_title.placeholder':
|
|
5
|
+
'This will be the main title for this section',
|
|
6
|
+
'$label.trending_categories.label': 'Trending categories',
|
|
7
|
+
|
|
8
|
+
'$label.background.label': 'Background',
|
|
9
|
+
},
|
|
10
|
+
|
|
11
|
+
nl: {
|
|
12
|
+
'$label.section_title.label': 'Hoofdtitel',
|
|
13
|
+
'$label.section_title.placeholder':
|
|
14
|
+
'Dit wordt de hoofdtitel voor deze sectie',
|
|
15
|
+
'$label.trending_categories.label': 'Trending categorieën',
|
|
16
|
+
},
|
|
17
|
+
|
|
18
|
+
fr: {
|
|
19
|
+
'$label.section_title.label': 'Titre principal',
|
|
20
|
+
'$label.section_title.placeholder':
|
|
21
|
+
'Ce sera le titre principal de cette section',
|
|
22
|
+
'$label.trending_categories.label': 'Catégories tendance',
|
|
23
|
+
},
|
|
24
|
+
} as const;
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
export default {
|
|
2
|
+
showcaseId: '1',
|
|
3
|
+
previewImage: {
|
|
4
|
+
set: {
|
|
5
|
+
ORIGINAL: {
|
|
6
|
+
url: 'custom_section_showcase_1_preview.png',
|
|
7
|
+
},
|
|
8
|
+
},
|
|
9
|
+
},
|
|
10
|
+
blockName: '$label.showcase_1.blockName',
|
|
11
|
+
content: {
|
|
12
|
+
section_title: {
|
|
13
|
+
type: 'INPUTBOX',
|
|
14
|
+
text: '$label.showcase_1.section_title.text',
|
|
15
|
+
},
|
|
16
|
+
trending_categories: {
|
|
17
|
+
type: 'CATEGORY_SELECTOR',
|
|
18
|
+
maxCategories: 4,
|
|
19
|
+
},
|
|
20
|
+
},
|
|
21
|
+
design: {
|
|
22
|
+
section_title: {
|
|
23
|
+
type: 'TEXT',
|
|
24
|
+
font: 'global.fontFamily.body',
|
|
25
|
+
size: 44,
|
|
26
|
+
bold: true,
|
|
27
|
+
italic: false,
|
|
28
|
+
color: '#333',
|
|
29
|
+
},
|
|
30
|
+
background: {
|
|
31
|
+
type: 'BACKGROUND',
|
|
32
|
+
style: 'COLOR',
|
|
33
|
+
color: 'global.color.background',
|
|
34
|
+
},
|
|
35
|
+
},
|
|
36
|
+
} as const;
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
export default {
|
|
2
|
+
en: {
|
|
3
|
+
'$label.showcase_1.blockName': 'Reference Section — Trending Categories',
|
|
4
|
+
'$label.showcase_1.section_title.text': 'Trending categories',
|
|
5
|
+
'$label.showcase_1.section_description.text':
|
|
6
|
+
'Discover our trending categories',
|
|
7
|
+
},
|
|
8
|
+
|
|
9
|
+
nl: {
|
|
10
|
+
'$label.showcase_1.blockName': 'Referentiesectie — Trending categorieën',
|
|
11
|
+
'$label.showcase_1.section_title.text': 'Trending categorieën',
|
|
12
|
+
'$label.showcase_1.section_description.text':
|
|
13
|
+
'Ontdek onze trending categorieën',
|
|
14
|
+
},
|
|
15
|
+
|
|
16
|
+
fr: {
|
|
17
|
+
'$label.showcase_1.blockName': 'Section de référence — Catégories tendance',
|
|
18
|
+
'$label.showcase_1.section_title.text': 'Catégories tendance',
|
|
19
|
+
'$label.showcase_1.section_description.text':
|
|
20
|
+
'Découvrez nos catégories tendance',
|
|
21
|
+
},
|
|
22
|
+
} as const;
|
|
@@ -3,6 +3,10 @@
|
|
|
3
3
|
class="example-section"
|
|
4
4
|
:style="backgroundStyle"
|
|
5
5
|
>
|
|
6
|
+
<div class="example-section__static-text-example">
|
|
7
|
+
<h2>{{ t('$label.shared.title') }}</h2>
|
|
8
|
+
</div>
|
|
9
|
+
<div class="example-section__blank_space" />
|
|
6
10
|
<CustomSectionExampleTitle />
|
|
7
11
|
<div class="example-section__blank_space" />
|
|
8
12
|
<CustomSectionExampleImagesGrid />
|
|
@@ -16,7 +20,8 @@
|
|
|
16
20
|
<script setup lang="ts">
|
|
17
21
|
import {
|
|
18
22
|
useBackgroundElementDesign,
|
|
19
|
-
|
|
23
|
+
useTranslation,
|
|
24
|
+
} from '@lightspeed/crane-api';
|
|
20
25
|
import { computed } from 'vue';
|
|
21
26
|
import { Design } from './type.ts';
|
|
22
27
|
import CustomSectionExampleTitle from './component/title/Title.vue';
|
|
@@ -26,6 +31,8 @@ import Selectbox from './component/selectbox/Selectbox.vue';
|
|
|
26
31
|
import Toggle from './component/toggle/Toggle.vue';
|
|
27
32
|
import Button from './component/button/Button.vue';
|
|
28
33
|
|
|
34
|
+
const { t } = useTranslation();
|
|
35
|
+
|
|
29
36
|
const backgroundDesign = useBackgroundElementDesign<Design>('background');
|
|
30
37
|
const background = computed(() => ({
|
|
31
38
|
type: backgroundDesign.background?.type,
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
|
|
9
9
|
<script setup lang="ts">
|
|
10
10
|
import { computed } from 'vue';
|
|
11
|
-
import { useBackgroundElementDesign, useSelectboxElementContent } from '@lightspeed/crane';
|
|
11
|
+
import { useBackgroundElementDesign, useSelectboxElementContent } from '@lightspeed/crane-api';
|
|
12
12
|
import { Content, Design } from '../../type.ts';
|
|
13
13
|
import { isDark } from '../../../../shared/utils.ts';
|
|
14
14
|
|
|
@@ -20,7 +20,7 @@
|
|
|
20
20
|
import { computed } from 'vue';
|
|
21
21
|
import {
|
|
22
22
|
useInputboxElementContent, useTextareaElementContent, useTextElementDesign, useTextareaElementDesign,
|
|
23
|
-
} from '@lightspeed/crane';
|
|
23
|
+
} from '@lightspeed/crane-api';
|
|
24
24
|
import { Content, Design } from '../../type.ts';
|
|
25
25
|
|
|
26
26
|
const titleContent = useInputboxElementContent<Content>('section_title');
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
|
|
9
9
|
<script setup lang="ts">
|
|
10
10
|
import { computed } from 'vue';
|
|
11
|
-
import { useBackgroundElementDesign, useToggleElementContent } from '@lightspeed/crane';
|
|
11
|
+
import { useBackgroundElementDesign, useToggleElementContent } from '@lightspeed/crane-api';
|
|
12
12
|
import { Content, Design } from '../../type.ts';
|
|
13
13
|
import { isDark } from '../../../../shared/utils.ts';
|
|
14
14
|
|
|
@@ -126,7 +126,7 @@ export default {
|
|
|
126
126
|
|
|
127
127
|
'$label.info.label': 'Content.ts: Info',
|
|
128
128
|
'$label.info.description': 'Content.ts: Ceci est une section d\'information où vous '
|
|
129
|
-
|
|
129
|
+
+ 'pouvez fournir des conseils utiles sur l\'utilisation de la section personnalisée',
|
|
130
130
|
'$label.info.button.label': 'En savoir plus',
|
|
131
131
|
},
|
|
132
132
|
} as const;
|
|
@@ -3,8 +3,8 @@ export default {
|
|
|
3
3
|
'$label.showcase_1.blockName': 'Reference Section — Retail',
|
|
4
4
|
'$label.showcase_1.section_title.text': 'Trending collections',
|
|
5
5
|
'$label.showcase_1.section_description.text': 'Discover our favorite pieces this season, and indulge yourself in '
|
|
6
|
-
|
|
7
|
-
|
|
6
|
+
+ 'these timeless pieces suitable for every occasion. We offer free shipping and returns, and 24/7 fashion '
|
|
7
|
+
+ 'advice through our mobile app.',
|
|
8
8
|
'$label.showcase_1.image_text_1.text': 'New Arrivals',
|
|
9
9
|
'$label.showcase_1.image_text_2.text': 'Sport look',
|
|
10
10
|
'$label.showcase_1.image_text_3.text': 'Summer accessories',
|
|
@@ -86,8 +86,8 @@ export default {
|
|
|
86
86
|
'$label.showcase_1.blockName': 'Referentiesectie — Detailhandel',
|
|
87
87
|
'$label.showcase_1.section_title.text': 'Trending collecties',
|
|
88
88
|
'$label.showcase_1.section_description.text': 'Ontdek onze favoriete stukken van dit seizoen en verwen jezelf met '
|
|
89
|
-
|
|
90
|
-
|
|
89
|
+
+ 'deze tijdloze stukken die geschikt zijn voor elke gelegenheid. Wij bieden gratis verzending en retourneren, '
|
|
90
|
+
+ 'en 24/7 modeadvies via onze mobiele app.',
|
|
91
91
|
'$label.showcase_1.image_text_1.text': 'Nieuw binnen',
|
|
92
92
|
'$label.showcase_1.image_text_2.text': 'Sportieve look',
|
|
93
93
|
'$label.showcase_1.image_text_3.text': 'Zomeraccessoires',
|
|
@@ -128,7 +128,7 @@ export default {
|
|
|
128
128
|
|
|
129
129
|
'$label.showcase_1.info.label': 'Content.ts: Info',
|
|
130
130
|
'$label.showcase_1.info.description': 'Content.ts: Dit is een informatiedeel waar je enkele nuttige tips '
|
|
131
|
-
|
|
131
|
+
+ 'kunt geven over het gebruik van aangepaste secties',
|
|
132
132
|
'$label.showcase_1.info.button.label': 'Content.ts: Meer informatie',
|
|
133
133
|
|
|
134
134
|
'$label.showcase_2.button.label': 'Content.ts: Knop',
|
|
@@ -144,7 +144,7 @@ export default {
|
|
|
144
144
|
|
|
145
145
|
'$label.showcase_2.info.label': 'Content.ts: Info',
|
|
146
146
|
'$label.showcase_2.info.description': 'Content.ts: Dit is een informatiedeel waar je enkele '
|
|
147
|
-
|
|
147
|
+
+ 'nuttige tips kunt geven over het gebruik van aangepaste secties',
|
|
148
148
|
'$label.showcase_2.info.button.label': 'Content.ts: Meer informatie',
|
|
149
149
|
|
|
150
150
|
'$label.showcase_3.button.label': 'Content.ts: Knop',
|
|
@@ -160,7 +160,7 @@ export default {
|
|
|
160
160
|
|
|
161
161
|
'$label.showcase_3.info.label': 'Content.ts: Info',
|
|
162
162
|
'$label.showcase_3.info.description': 'Content.ts: Dit is een informatiedeel waar je enkele nuttige tips '
|
|
163
|
-
|
|
163
|
+
+ 'kunt geven over het gebruik van aangepaste secties',
|
|
164
164
|
'$label.showcase_3.info.button.label': 'Content.ts: Meer informatie',
|
|
165
165
|
},
|
|
166
166
|
|
|
@@ -168,8 +168,8 @@ export default {
|
|
|
168
168
|
'$label.showcase_1.blockName': 'Section de référence — Vente au détail',
|
|
169
169
|
'$label.showcase_1.section_title.text': 'Collections tendance',
|
|
170
170
|
'$label.showcase_1.section_description.text': 'Découvrez nos pièces préférées de cette saison et offrez-vous ces '
|
|
171
|
-
|
|
172
|
-
|
|
171
|
+
+ 'pièces intemporelles adaptées à toutes les occasions. Nous offrons la livraison et les retours gratuits, ainsi '
|
|
172
|
+
+ 'que des conseils de mode 24/7 via notre application mobile.',
|
|
173
173
|
'$label.showcase_1.image_text_1.text': 'Nouveautés',
|
|
174
174
|
'$label.showcase_1.image_text_2.text': 'Look sportif',
|
|
175
175
|
'$label.showcase_1.image_text_3.text': 'Accessoires d\'été',
|
|
@@ -195,7 +195,7 @@ export default {
|
|
|
195
195
|
'$label.showcase_3.image_text_3.text': 'Service de réparation',
|
|
196
196
|
'$label.showcase_3.image_text_4.text': 'Accessoires pour vélos',
|
|
197
197
|
'$label.showcase_1.info.text': 'Showcase 1: Ceci est une section d\'information où vous pouvez fournir des conseils utiles sur '
|
|
198
|
-
|
|
198
|
+
+ 'l\'utilisation de la section personnalisée',
|
|
199
199
|
'$label.showcase_2.info.text': 'Showcase 2: Ceci est une zone pour des conseils utiles sur l\'utilisation de la section personnalisée',
|
|
200
200
|
'$label.showcase_1.info.button.title': 'Showcase 1: Apprendre',
|
|
201
201
|
'$label.showcase_2.info.button.title': 'Showcase 2: Plus',
|
|
@@ -213,7 +213,7 @@ export default {
|
|
|
213
213
|
|
|
214
214
|
'$label.showcase_1.info.label': 'Content.ts: Info',
|
|
215
215
|
'$label.showcase_1.info.description': 'Content.ts: Ceci est une section d\'information où vous pouvez '
|
|
216
|
-
|
|
216
|
+
+ 'fournir des conseils utiles sur l\'utilisation de la section personnalisée',
|
|
217
217
|
'$label.showcase_1.info.button.label': 'Content.ts: En savoir plus',
|
|
218
218
|
|
|
219
219
|
'$label.showcase_2.button.label': 'Content.ts: Bouton',
|
|
@@ -229,7 +229,7 @@ export default {
|
|
|
229
229
|
|
|
230
230
|
'$label.showcase_2.info.label': 'Content.ts: Info',
|
|
231
231
|
'$label.showcase_2.info.description': 'Content.ts: Ceci est une section d\'information où vous pouvez fournir '
|
|
232
|
-
|
|
232
|
+
+ 'des conseils utiles sur l\'utilisation de la section personnalisée',
|
|
233
233
|
'$label.showcase_2.info.button.label': 'Content.ts: En savoir plus',
|
|
234
234
|
|
|
235
235
|
'$label.showcase_3.button.label': 'Content.ts: Bouton',
|
|
@@ -245,7 +245,7 @@ export default {
|
|
|
245
245
|
|
|
246
246
|
'$label.showcase_3.info.label': 'Content.ts: Info',
|
|
247
247
|
'$label.showcase_3.info.description': 'Content.ts: Ceci est une section d\'information où vous pouvez fournir '
|
|
248
|
-
|
|
248
|
+
+ 'des conseils utiles sur l\'utilisation de la section personnalisée',
|
|
249
249
|
'$label.showcase_3.info.button.label': 'Content.ts: En savoir plus',
|
|
250
250
|
},
|
|
251
251
|
} as const;
|
|
@@ -20,7 +20,7 @@
|
|
|
20
20
|
</template>
|
|
21
21
|
|
|
22
22
|
<script setup lang="ts">
|
|
23
|
-
import { useVueBaseProps } from '@lightspeed/crane';
|
|
23
|
+
import { useVueBaseProps } from '@lightspeed/crane-api';
|
|
24
24
|
import { computed } from 'vue';
|
|
25
25
|
import { Design } from '../../headers/example-header/type.ts';
|
|
26
26
|
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
export default {
|
|
2
|
+
en: {
|
|
3
|
+
'$label.shared.title': 'Title',
|
|
4
|
+
'$label.shared.description': 'Description',
|
|
5
|
+
},
|
|
6
|
+
|
|
7
|
+
nl: {
|
|
8
|
+
'$label.shared.title': 'Titel',
|
|
9
|
+
'$label.shared.description': 'Beschrijving',
|
|
10
|
+
},
|
|
11
|
+
|
|
12
|
+
fr: {
|
|
13
|
+
'$label.shared.title': 'Titre',
|
|
14
|
+
'$label.shared.description': 'Description',
|
|
15
|
+
},
|
|
16
|
+
} as const;
|
package/template/shared/utils.ts
CHANGED