@redneckz/wildless-cms-uni-blocks 0.6.24 → 0.6.26
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/bundle/blocks.schema.json +1 -1
- package/bundle/bundle.umd.js +97 -58
- package/bundle/bundle.umd.min.js +1 -1
- package/bundle/components/BenefitsBlock/BenefitsBlock.d.ts +2 -1
- package/bundle/components/Catalog/CatalogContent.d.ts +2 -0
- package/bundle/components/ContentPage/computeAPIFallback.d.ts +1 -1
- package/bundle/components/ContentPage/normalizePage.d.ts +1 -1
- package/bundle/components/Header/HeaderContent.d.ts +1 -2
- package/bundle/components/InvestmentGallery/InvestmentGallery.d.ts +5 -0
- package/bundle/components/InvestmentGallery/InvestmentGalleryCard.d.ts +7 -0
- package/bundle/components/InvestmentGallery/InvestmentGalleryContent.d.ts +50 -0
- package/bundle/content-page-repository/ContentPageRepository.d.ts +12 -9
- package/bundle/model/BorderVersion.d.ts +6 -0
- package/bundle/services/sitemap/useSitemap.d.ts +2 -2
- package/bundle/ui-kit/CurrencyInput/{adjustValue .d.ts → adjustValue.d.ts} +0 -0
- package/dist/components/BenefitsBlock/BenefitsBlock.d.ts +2 -1
- package/dist/components/BenefitsBlock/BenefitsBlock.js +5 -9
- package/dist/components/BenefitsBlock/BenefitsBlock.js.map +1 -1
- package/dist/components/Blocks.js +2 -0
- package/dist/components/Blocks.js.map +1 -1
- package/dist/components/Catalog/CatalogContent.d.ts +2 -0
- package/dist/components/ContentPage/computeAPIFallback.d.ts +1 -1
- package/dist/components/ContentPage/computeAPIFallback.js +1 -1
- package/dist/components/ContentPage/computeAPIFallback.js.map +1 -1
- package/dist/components/ContentPage/normalizeBlock.js +4 -8
- package/dist/components/ContentPage/normalizeBlock.js.map +1 -1
- package/dist/components/ContentPage/normalizeBlock.mobile.js +4 -8
- package/dist/components/ContentPage/normalizeBlock.mobile.js.map +1 -1
- package/dist/components/ContentPage/normalizePage.d.ts +1 -1
- package/dist/components/ContentPage/normalizePage.js +1 -6
- package/dist/components/ContentPage/normalizePage.js.map +1 -1
- package/dist/components/Header/Header.js +9 -9
- package/dist/components/Header/Header.js.map +1 -1
- package/dist/components/Header/Header.mobile.js +6 -6
- package/dist/components/Header/Header.mobile.js.map +1 -1
- package/dist/components/Header/HeaderContent.d.ts +1 -2
- package/dist/components/InvestmentGallery/InvestmentGallery.d.ts +5 -0
- package/dist/components/InvestmentGallery/InvestmentGallery.js +40 -0
- package/dist/components/InvestmentGallery/InvestmentGallery.js.map +1 -0
- package/dist/components/InvestmentGallery/InvestmentGalleryCard.d.ts +7 -0
- package/dist/components/InvestmentGallery/InvestmentGalleryCard.js +24 -0
- package/dist/components/InvestmentGallery/InvestmentGalleryCard.js.map +1 -0
- package/dist/components/InvestmentGallery/InvestmentGalleryContent.d.ts +50 -0
- package/dist/components/InvestmentGallery/InvestmentGalleryContent.js +2 -0
- package/dist/components/InvestmentGallery/InvestmentGalleryContent.js.map +1 -0
- package/dist/components/PictureText/PictureText.js +2 -2
- package/dist/components/PictureText/PictureText.js.map +1 -1
- package/dist/components/ProductGallery/ProductGallery.js +2 -2
- package/dist/components/ProductGallery/ProductGallery.js.map +1 -1
- package/dist/components/Recommendation/Recommendation.js +7 -5
- package/dist/components/Recommendation/Recommendation.js.map +1 -1
- package/dist/components/StepsBlock/StepsBlock.mobile.js +1 -5
- package/dist/components/StepsBlock/StepsBlock.mobile.js.map +1 -1
- package/dist/content-page-repository/ContentPageRepository.d.ts +12 -9
- package/dist/content-page-repository/ContentPageRepository.js +24 -35
- package/dist/content-page-repository/ContentPageRepository.js.map +1 -1
- package/dist/model/BorderVersion.d.ts +6 -0
- package/dist/model/BorderVersion.js +7 -0
- package/dist/model/BorderVersion.js.map +1 -0
- package/dist/services/sitemap/useSitemap.d.ts +2 -2
- package/dist/services/sitemap/useSitemap.js.map +1 -1
- package/dist/ui-kit/BenefitItem/BenefitItem.js +3 -3
- package/dist/ui-kit/BenefitItem/BenefitItem.js.map +1 -1
- package/dist/ui-kit/Breadcrumb.js +1 -8
- package/dist/ui-kit/Breadcrumb.js.map +1 -1
- package/dist/ui-kit/CurrencyInput/CurrencyInput.js +1 -1
- package/dist/ui-kit/CurrencyInput/CurrencyInput.js.map +1 -1
- package/dist/ui-kit/CurrencyInput/{adjustValue .d.ts → adjustValue.d.ts} +0 -0
- package/{mobile/dist/ui-kit/CurrencyInput/adjustValue .js → dist/ui-kit/CurrencyInput/adjustValue.js} +1 -1
- package/dist/ui-kit/CurrencyInput/adjustValue.js.map +1 -0
- package/dist/ui-kit/Tags/Tags.js +2 -2
- package/dist/ui-kit/Tags/Tags.js.map +1 -1
- package/lib/common.css +1 -1
- package/lib/components/BenefitsBlock/BenefitsBlock.d.ts +2 -1
- package/lib/components/BenefitsBlock/BenefitsBlock.js +5 -9
- package/lib/components/BenefitsBlock/BenefitsBlock.js.map +1 -1
- package/lib/components/Blocks.js +2 -0
- package/lib/components/Blocks.js.map +1 -1
- package/lib/components/Catalog/CatalogContent.d.ts +2 -0
- package/lib/components/ContentPage/computeAPIFallback.d.ts +1 -1
- package/lib/components/ContentPage/computeAPIFallback.js +1 -1
- package/lib/components/ContentPage/computeAPIFallback.js.map +1 -1
- package/lib/components/ContentPage/normalizeBlock.js +4 -8
- package/lib/components/ContentPage/normalizeBlock.js.map +1 -1
- package/lib/components/ContentPage/normalizeBlock.mobile.js +4 -8
- package/lib/components/ContentPage/normalizeBlock.mobile.js.map +1 -1
- package/lib/components/ContentPage/normalizePage.d.ts +1 -1
- package/lib/components/ContentPage/normalizePage.js +1 -6
- package/lib/components/ContentPage/normalizePage.js.map +1 -1
- package/lib/components/Header/Header.js +9 -9
- package/lib/components/Header/Header.js.map +1 -1
- package/lib/components/Header/Header.mobile.js +6 -6
- package/lib/components/Header/Header.mobile.js.map +1 -1
- package/lib/components/Header/HeaderContent.d.ts +1 -2
- package/lib/components/InvestmentGallery/InvestmentGallery.d.ts +5 -0
- package/lib/components/InvestmentGallery/InvestmentGallery.fixture.d.ts +7 -0
- package/lib/components/InvestmentGallery/InvestmentGallery.js +38 -0
- package/lib/components/InvestmentGallery/InvestmentGallery.js.map +1 -0
- package/lib/components/InvestmentGallery/InvestmentGalleryCard.d.ts +7 -0
- package/lib/components/InvestmentGallery/InvestmentGalleryCard.js +22 -0
- package/lib/components/InvestmentGallery/InvestmentGalleryCard.js.map +1 -0
- package/lib/components/InvestmentGallery/InvestmentGalleryContent.d.ts +50 -0
- package/lib/components/InvestmentGallery/InvestmentGalleryContent.js +2 -0
- package/lib/components/InvestmentGallery/InvestmentGalleryContent.js.map +1 -0
- package/lib/components/PictureText/PictureText.js +2 -2
- package/lib/components/PictureText/PictureText.js.map +1 -1
- package/lib/components/ProductGallery/ProductGallery.js +2 -2
- package/lib/components/ProductGallery/ProductGallery.js.map +1 -1
- package/lib/components/Recommendation/Recommendation.js +7 -5
- package/lib/components/Recommendation/Recommendation.js.map +1 -1
- package/lib/components/StepsBlock/StepsBlock.mobile.js +1 -5
- package/lib/components/StepsBlock/StepsBlock.mobile.js.map +1 -1
- package/lib/content-page-repository/ContentPageRepository.d.ts +12 -9
- package/lib/content-page-repository/ContentPageRepository.js +24 -35
- package/lib/content-page-repository/ContentPageRepository.js.map +1 -1
- package/lib/model/BorderVersion.d.ts +6 -0
- package/lib/model/BorderVersion.js +5 -0
- package/lib/model/BorderVersion.js.map +1 -0
- package/lib/services/sitemap/useSitemap.d.ts +2 -2
- package/lib/services/sitemap/useSitemap.js.map +1 -1
- package/lib/ui-kit/BenefitItem/BenefitItem.js +3 -3
- package/lib/ui-kit/BenefitItem/BenefitItem.js.map +1 -1
- package/lib/ui-kit/Breadcrumb.js +1 -8
- package/lib/ui-kit/Breadcrumb.js.map +1 -1
- package/lib/ui-kit/CurrencyInput/CurrencyInput.js +1 -1
- package/lib/ui-kit/CurrencyInput/CurrencyInput.js.map +1 -1
- package/lib/ui-kit/CurrencyInput/{adjustValue .d.ts → adjustValue.d.ts} +0 -0
- package/lib/ui-kit/CurrencyInput/{adjustValue .js → adjustValue.js} +1 -1
- package/lib/ui-kit/CurrencyInput/adjustValue.js.map +1 -0
- package/lib/ui-kit/Tags/Tags.js +2 -2
- package/lib/ui-kit/Tags/Tags.js.map +1 -1
- package/mobile/bundle/bundle.umd.js +9 -13
- package/mobile/bundle/bundle.umd.min.js +1 -1
- package/mobile/bundle/components/BenefitsBlock/BenefitsBlock.d.ts +2 -1
- package/mobile/bundle/components/Catalog/CatalogContent.d.ts +2 -0
- package/mobile/bundle/components/ContentPage/computeAPIFallback.d.ts +1 -1
- package/mobile/bundle/components/ContentPage/normalizePage.d.ts +1 -1
- package/mobile/bundle/components/Header/HeaderContent.d.ts +1 -2
- package/mobile/bundle/components/InvestmentGallery/InvestmentGallery.d.ts +5 -0
- package/mobile/bundle/components/InvestmentGallery/InvestmentGalleryCard.d.ts +7 -0
- package/mobile/bundle/components/InvestmentGallery/InvestmentGalleryContent.d.ts +50 -0
- package/mobile/bundle/content-page-repository/ContentPageRepository.d.ts +12 -9
- package/mobile/bundle/model/BorderVersion.d.ts +6 -0
- package/mobile/bundle/services/sitemap/useSitemap.d.ts +2 -2
- package/mobile/bundle/ui-kit/CurrencyInput/{adjustValue .d.ts → adjustValue.d.ts} +0 -0
- package/mobile/dist/components/BenefitsBlock/BenefitsBlock.d.ts +2 -1
- package/mobile/dist/components/BenefitsBlock/BenefitsBlock.js +5 -9
- package/mobile/dist/components/BenefitsBlock/BenefitsBlock.js.map +1 -1
- package/mobile/dist/components/Catalog/CatalogContent.d.ts +2 -0
- package/mobile/dist/components/ContentPage/computeAPIFallback.d.ts +1 -1
- package/mobile/dist/components/ContentPage/computeAPIFallback.js +1 -1
- package/mobile/dist/components/ContentPage/computeAPIFallback.js.map +1 -1
- package/mobile/dist/components/ContentPage/normalizeBlock.js +4 -8
- package/mobile/dist/components/ContentPage/normalizeBlock.js.map +1 -1
- package/mobile/dist/components/ContentPage/normalizePage.d.ts +1 -1
- package/mobile/dist/components/ContentPage/normalizePage.js +1 -6
- package/mobile/dist/components/ContentPage/normalizePage.js.map +1 -1
- package/mobile/dist/components/Header/Header.js +6 -6
- package/mobile/dist/components/Header/Header.js.map +1 -1
- package/mobile/dist/components/Header/HeaderContent.d.ts +1 -2
- package/mobile/dist/components/InvestmentGallery/InvestmentGallery.d.ts +5 -0
- package/mobile/dist/components/InvestmentGallery/InvestmentGallery.js +40 -0
- package/mobile/dist/components/InvestmentGallery/InvestmentGallery.js.map +1 -0
- package/mobile/dist/components/InvestmentGallery/InvestmentGalleryCard.d.ts +7 -0
- package/mobile/dist/components/InvestmentGallery/InvestmentGalleryCard.js +24 -0
- package/mobile/dist/components/InvestmentGallery/InvestmentGalleryCard.js.map +1 -0
- package/mobile/dist/components/InvestmentGallery/InvestmentGalleryContent.d.ts +50 -0
- package/mobile/dist/components/InvestmentGallery/InvestmentGalleryContent.js +2 -0
- package/mobile/dist/components/InvestmentGallery/InvestmentGalleryContent.js.map +1 -0
- package/mobile/dist/components/PictureText/PictureText.js +2 -2
- package/mobile/dist/components/PictureText/PictureText.js.map +1 -1
- package/mobile/dist/components/Recommendation/Recommendation.js +7 -5
- package/mobile/dist/components/Recommendation/Recommendation.js.map +1 -1
- package/mobile/dist/components/StepsBlock/StepsBlock.js +1 -5
- package/mobile/dist/components/StepsBlock/StepsBlock.js.map +1 -1
- package/mobile/dist/content-page-repository/ContentPageRepository.d.ts +12 -9
- package/mobile/dist/content-page-repository/ContentPageRepository.js +24 -35
- package/mobile/dist/content-page-repository/ContentPageRepository.js.map +1 -1
- package/mobile/dist/model/BorderVersion.d.ts +6 -0
- package/mobile/dist/model/BorderVersion.js +7 -0
- package/mobile/dist/model/BorderVersion.js.map +1 -0
- package/mobile/dist/services/sitemap/useSitemap.d.ts +2 -2
- package/mobile/dist/services/sitemap/useSitemap.js.map +1 -1
- package/mobile/dist/ui-kit/BenefitItem/BenefitItem.js +3 -3
- package/mobile/dist/ui-kit/BenefitItem/BenefitItem.js.map +1 -1
- package/mobile/dist/ui-kit/Breadcrumb.js +1 -8
- package/mobile/dist/ui-kit/Breadcrumb.js.map +1 -1
- package/mobile/dist/ui-kit/CurrencyInput/CurrencyInput.js +1 -1
- package/mobile/dist/ui-kit/CurrencyInput/CurrencyInput.js.map +1 -1
- package/mobile/dist/ui-kit/CurrencyInput/{adjustValue .d.ts → adjustValue.d.ts} +0 -0
- package/{dist/ui-kit/CurrencyInput/adjustValue .js → mobile/dist/ui-kit/CurrencyInput/adjustValue.js} +1 -1
- package/mobile/dist/ui-kit/CurrencyInput/adjustValue.js.map +1 -0
- package/mobile/dist/ui-kit/Tags/Tags.js +2 -2
- package/mobile/dist/ui-kit/Tags/Tags.js.map +1 -1
- package/mobile/lib/components/BenefitsBlock/BenefitsBlock.d.ts +2 -1
- package/mobile/lib/components/BenefitsBlock/BenefitsBlock.js +5 -9
- package/mobile/lib/components/BenefitsBlock/BenefitsBlock.js.map +1 -1
- package/mobile/lib/components/Catalog/CatalogContent.d.ts +2 -0
- package/mobile/lib/components/ContentPage/computeAPIFallback.d.ts +1 -1
- package/mobile/lib/components/ContentPage/computeAPIFallback.js +1 -1
- package/mobile/lib/components/ContentPage/computeAPIFallback.js.map +1 -1
- package/mobile/lib/components/ContentPage/normalizeBlock.js +4 -8
- package/mobile/lib/components/ContentPage/normalizeBlock.js.map +1 -1
- package/mobile/lib/components/ContentPage/normalizePage.d.ts +1 -1
- package/mobile/lib/components/ContentPage/normalizePage.js +1 -6
- package/mobile/lib/components/ContentPage/normalizePage.js.map +1 -1
- package/mobile/lib/components/Header/Header.js +6 -6
- package/mobile/lib/components/Header/Header.js.map +1 -1
- package/mobile/lib/components/Header/HeaderContent.d.ts +1 -2
- package/mobile/lib/components/InvestmentGallery/InvestmentGallery.d.ts +5 -0
- package/mobile/lib/components/InvestmentGallery/InvestmentGallery.js +38 -0
- package/mobile/lib/components/InvestmentGallery/InvestmentGallery.js.map +1 -0
- package/mobile/lib/components/InvestmentGallery/InvestmentGalleryCard.d.ts +7 -0
- package/mobile/lib/components/InvestmentGallery/InvestmentGalleryCard.js +22 -0
- package/mobile/lib/components/InvestmentGallery/InvestmentGalleryCard.js.map +1 -0
- package/mobile/lib/components/InvestmentGallery/InvestmentGalleryContent.d.ts +50 -0
- package/mobile/lib/components/InvestmentGallery/InvestmentGalleryContent.js +2 -0
- package/mobile/lib/components/InvestmentGallery/InvestmentGalleryContent.js.map +1 -0
- package/mobile/lib/components/PictureText/PictureText.js +2 -2
- package/mobile/lib/components/PictureText/PictureText.js.map +1 -1
- package/mobile/lib/components/Recommendation/Recommendation.js +7 -5
- package/mobile/lib/components/Recommendation/Recommendation.js.map +1 -1
- package/mobile/lib/components/StepsBlock/StepsBlock.js +1 -5
- package/mobile/lib/components/StepsBlock/StepsBlock.js.map +1 -1
- package/mobile/lib/content-page-repository/ContentPageRepository.d.ts +12 -9
- package/mobile/lib/content-page-repository/ContentPageRepository.js +24 -35
- package/mobile/lib/content-page-repository/ContentPageRepository.js.map +1 -1
- package/mobile/lib/model/BorderVersion.d.ts +6 -0
- package/mobile/lib/model/BorderVersion.js +5 -0
- package/mobile/lib/model/BorderVersion.js.map +1 -0
- package/mobile/lib/services/sitemap/useSitemap.d.ts +2 -2
- package/mobile/lib/services/sitemap/useSitemap.js.map +1 -1
- package/mobile/lib/ui-kit/BenefitItem/BenefitItem.js +3 -3
- package/mobile/lib/ui-kit/BenefitItem/BenefitItem.js.map +1 -1
- package/mobile/lib/ui-kit/Breadcrumb.js +1 -8
- package/mobile/lib/ui-kit/Breadcrumb.js.map +1 -1
- package/mobile/lib/ui-kit/CurrencyInput/CurrencyInput.js +1 -1
- package/mobile/lib/ui-kit/CurrencyInput/CurrencyInput.js.map +1 -1
- package/mobile/lib/ui-kit/CurrencyInput/{adjustValue .d.ts → adjustValue.d.ts} +0 -0
- package/mobile/lib/ui-kit/CurrencyInput/{adjustValue .js → adjustValue.js} +1 -1
- package/mobile/lib/ui-kit/CurrencyInput/adjustValue.js.map +1 -0
- package/mobile/lib/ui-kit/Tags/Tags.js +2 -2
- package/mobile/lib/ui-kit/Tags/Tags.js.map +1 -1
- package/mobile/src/components/BenefitsBlock/BenefitsBlock.tsx +14 -21
- package/mobile/src/components/Catalog/CatalogContent.ts +2 -0
- package/mobile/src/components/ContentPage/computeAPIFallback.ts +20 -21
- package/mobile/src/components/ContentPage/normalizeBlock.ts +15 -18
- package/mobile/src/components/ContentPage/normalizePage.ts +2 -7
- package/mobile/src/components/Header/Header.tsx +11 -11
- package/mobile/src/components/Header/HeaderContent.ts +1 -2
- package/mobile/src/components/InvestmentGallery/InvestmentGallery.example.json +64 -0
- package/mobile/src/components/InvestmentGallery/InvestmentGallery.tsx +103 -0
- package/mobile/src/components/InvestmentGallery/InvestmentGallery.ui.json +11 -0
- package/mobile/src/components/InvestmentGallery/InvestmentGalleryCard.tsx +91 -0
- package/mobile/src/components/InvestmentGallery/InvestmentGalleryContent.ts +54 -0
- package/mobile/src/components/PictureText/PictureText.tsx +3 -3
- package/mobile/src/components/Recommendation/Recommendation.tsx +9 -7
- package/mobile/src/components/StepsBlock/StepsBlock.tsx +1 -7
- package/mobile/src/content-page-repository/ContentPageRepository.ts +27 -45
- package/mobile/src/model/BorderVersion.ts +10 -0
- package/mobile/src/services/sitemap/useSitemap.ts +4 -4
- package/mobile/src/ui-kit/BenefitItem/BenefitItem.tsx +6 -5
- package/mobile/src/ui-kit/Breadcrumb.tsx +8 -11
- package/mobile/src/ui-kit/CurrencyInput/CurrencyInput.tsx +1 -1
- package/mobile/src/ui-kit/CurrencyInput/{adjustValue .ts → adjustValue.ts} +0 -0
- package/mobile/src/ui-kit/Tags/Tags.tsx +3 -5
- package/package.json +1 -1
- package/src/components/BenefitsBlock/BenefitsBlock.tsx +14 -21
- package/src/components/Blocks.ts +2 -0
- package/src/components/Catalog/CatalogContent.ts +2 -0
- package/src/components/ContentPage/computeAPIFallback.ts +20 -21
- package/src/components/ContentPage/normalizeBlock.mobile.ts +15 -18
- package/src/components/ContentPage/normalizeBlock.ts +10 -12
- package/src/components/ContentPage/normalizePage.ts +2 -7
- package/src/components/Header/Header.mobile.tsx +11 -11
- package/src/components/Header/Header.tsx +17 -12
- package/src/components/Header/HeaderContent.ts +1 -2
- package/src/components/InvestmentGallery/InvestmentGallery.example.json +64 -0
- package/src/components/InvestmentGallery/InvestmentGallery.fixture.tsx +79 -0
- package/src/components/InvestmentGallery/InvestmentGallery.tsx +103 -0
- package/src/components/InvestmentGallery/InvestmentGallery.ui.json +11 -0
- package/src/components/InvestmentGallery/InvestmentGalleryCard.tsx +91 -0
- package/src/components/InvestmentGallery/InvestmentGalleryContent.ts +54 -0
- package/src/components/PictureText/PictureText.tsx +3 -3
- package/src/components/ProductGallery/ProductGallery.tsx +3 -4
- package/src/components/Recommendation/Recommendation.tsx +9 -7
- package/src/components/StepsBlock/StepsBlock.mobile.tsx +1 -7
- package/src/content-page-repository/ContentPageRepository.ts +27 -45
- package/src/model/BorderVersion.ts +10 -0
- package/src/services/sitemap/useSitemap.ts +4 -4
- package/src/ui-kit/BenefitItem/BenefitItem.tsx +6 -5
- package/src/ui-kit/Breadcrumb.tsx +8 -11
- package/src/ui-kit/CurrencyInput/CurrencyInput.tsx +1 -1
- package/src/ui-kit/CurrencyInput/{adjustValue .ts → adjustValue.ts} +0 -0
- package/src/ui-kit/Tags/Tags.tsx +3 -5
- package/dist/ui-kit/CurrencyInput/adjustValue .js.map +0 -1
- package/lib/ui-kit/CurrencyInput/adjustValue .js.map +0 -1
- package/mobile/dist/ui-kit/CurrencyInput/adjustValue .js.map +0 -1
- package/mobile/lib/ui-kit/CurrencyInput/adjustValue .js.map +0 -1
|
@@ -6,50 +6,39 @@ const find = util.promisify(glob);
|
|
|
6
6
|
const bySlug = (slug) => (content) => content.slug === slug;
|
|
7
7
|
const byCustomPageType = (type) => (content) => type ? content._customPageType === type : !content._customPageType;
|
|
8
8
|
const not = (predicate) => (_) => !predicate(_);
|
|
9
|
-
export
|
|
10
|
-
|
|
11
|
-
|
|
9
|
+
export class ContentPageRepository {
|
|
10
|
+
options;
|
|
11
|
+
static inst = new ContentPageRepository();
|
|
12
|
+
cache = {};
|
|
13
|
+
constructor(options = {
|
|
14
|
+
contentDir: 'content',
|
|
15
|
+
publicDir: 'public',
|
|
16
|
+
}) {
|
|
17
|
+
this.options = options;
|
|
12
18
|
}
|
|
13
|
-
async
|
|
14
|
-
|
|
15
|
-
const pages = await Promise.all(pagePaths.map(readPage));
|
|
16
|
-
return pagePaths.reduce((result, path, i) => ({
|
|
17
|
-
...result,
|
|
18
|
-
[path]: pages[i],
|
|
19
|
-
}), {});
|
|
19
|
+
async listAllContentPages() {
|
|
20
|
+
return find(`${this.options.contentDir}/**/*.page.json`);
|
|
20
21
|
}
|
|
21
|
-
async
|
|
22
|
-
|
|
22
|
+
async getAllContentPages() {
|
|
23
|
+
const pagePaths = await this.listAllContentPages();
|
|
24
|
+
return Promise.all(pagePaths.map((_) => this.readPage(_)));
|
|
23
25
|
}
|
|
24
|
-
async
|
|
25
|
-
const pages = await getAllContentPages();
|
|
26
|
+
async getSecondaryContentPages(customPageType) {
|
|
27
|
+
const pages = await this.getAllContentPages();
|
|
26
28
|
return pages.filter(not(bySlug(INDEX_PAGE_SLUG))).filter(byCustomPageType(customPageType));
|
|
27
29
|
}
|
|
28
|
-
async
|
|
29
|
-
const pages = await getAllContentPages();
|
|
30
|
+
async getContentPageBySlug(slug) {
|
|
31
|
+
const pages = await this.getAllContentPages();
|
|
30
32
|
return pages.find(bySlug(slug));
|
|
31
33
|
}
|
|
32
|
-
async
|
|
33
|
-
return
|
|
34
|
+
async getIndexPage() {
|
|
35
|
+
return this.getContentPageBySlug(INDEX_PAGE_SLUG);
|
|
34
36
|
}
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
cache[filePath] = await transformContentPage(filePath, {
|
|
39
|
-
contentDir,
|
|
40
|
-
publicDir,
|
|
41
|
-
});
|
|
37
|
+
async readPage(filePath) {
|
|
38
|
+
if (!(filePath in this.cache)) {
|
|
39
|
+
this.cache[filePath] = await transformContentPage(filePath, this.options);
|
|
42
40
|
}
|
|
43
|
-
return cache[filePath];
|
|
41
|
+
return this.cache[filePath];
|
|
44
42
|
}
|
|
45
|
-
return {
|
|
46
|
-
listAllContentPages,
|
|
47
|
-
getAllContentPagesMap,
|
|
48
|
-
getAllContentPages,
|
|
49
|
-
getContentPageBySlug,
|
|
50
|
-
getSecondaryContentPages,
|
|
51
|
-
getIndexPage,
|
|
52
|
-
readPage,
|
|
53
|
-
};
|
|
54
43
|
}
|
|
55
44
|
//# sourceMappingURL=ContentPageRepository.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ContentPageRepository.js","sourceRoot":"","sources":["../../src/content-page-repository/ContentPageRepository.ts"],"names":[],"mappings":"AAAA,OAAO,IAAI,MAAM,MAAM,CAAC;AACxB,OAAO,IAAI,MAAM,MAAM,CAAC;AAGxB,OAAO,EAAE,oBAAoB,EAAE,MAAM,wBAAwB,CAAC;AAE9D,MAAM,eAAe,GAAG,OAAO,CAAC;AAChC,MAAM,IAAI,GAAG,IAAI,CAAC,SAAS,CAAC,IAAI,CAAC,CAAC;AAElC,MAAM,MAAM,GAAG,CAAC,IAAY,EAAE,EAAE,CAAC,CAAC,OAAuB,EAAE,EAAE,CAAC,OAAO,CAAC,IAAI,KAAK,IAAI,CAAC;AACpF,MAAM,gBAAgB,GAAG,CAAC,IAAa,EAAE,EAAE,CAAC,CAAC,OAAuB,EAAE,EAAE,CACtE,IAAI,CAAC,CAAC,CAAC,OAAO,CAAC,eAAe,KAAK,IAAI,CAAC,CAAC,CAAC,CAAC,OAAO,CAAC,eAAe,CAAC;AAErE,MAAM,GAAG,GACP,CAAM,SAA8B,EAAE,EAAE,CACxC,CAAC,CAAM,EAAE,EAAE,CACT,CAAC,SAAS,CAAC,CAAC,CAAC,CAAC;AAElB,MAAM,
|
|
1
|
+
{"version":3,"file":"ContentPageRepository.js","sourceRoot":"","sources":["../../src/content-page-repository/ContentPageRepository.ts"],"names":[],"mappings":"AAAA,OAAO,IAAI,MAAM,MAAM,CAAC;AACxB,OAAO,IAAI,MAAM,MAAM,CAAC;AAGxB,OAAO,EAAE,oBAAoB,EAAE,MAAM,wBAAwB,CAAC;AAE9D,MAAM,eAAe,GAAG,OAAO,CAAC;AAChC,MAAM,IAAI,GAAG,IAAI,CAAC,SAAS,CAAC,IAAI,CAAC,CAAC;AAElC,MAAM,MAAM,GAAG,CAAC,IAAY,EAAE,EAAE,CAAC,CAAC,OAAuB,EAAE,EAAE,CAAC,OAAO,CAAC,IAAI,KAAK,IAAI,CAAC;AACpF,MAAM,gBAAgB,GAAG,CAAC,IAAa,EAAE,EAAE,CAAC,CAAC,OAAuB,EAAE,EAAE,CACtE,IAAI,CAAC,CAAC,CAAC,OAAO,CAAC,eAAe,KAAK,IAAI,CAAC,CAAC,CAAC,CAAC,OAAO,CAAC,eAAe,CAAC;AAErE,MAAM,GAAG,GACP,CAAM,SAA8B,EAAE,EAAE,CACxC,CAAC,CAAM,EAAE,EAAE,CACT,CAAC,SAAS,CAAC,CAAC,CAAC,CAAC;AAElB,MAAM,OAAO,qBAAqB;IAMb;IALZ,MAAM,CAAU,IAAI,GAAG,IAAI,qBAAqB,EAAE,CAAC;IAElD,KAAK,GAAmC,EAAE,CAAC;IAEnD,YACmB,UAAiC;QAChD,UAAU,EAAE,SAAS;QACrB,SAAS,EAAE,QAAQ;KACpB;QAHgB,YAAO,GAAP,OAAO,CAGvB;IACA,CAAC;IAEJ,KAAK,CAAC,mBAAmB;QACvB,OAAO,IAAI,CAAC,GAAG,IAAI,CAAC,OAAO,CAAC,UAAU,iBAAiB,CAAC,CAAC;IAC3D,CAAC;IAED,KAAK,CAAC,kBAAkB;QACtB,MAAM,SAAS,GAAG,MAAM,IAAI,CAAC,mBAAmB,EAAE,CAAC;QAEnD,OAAO,OAAO,CAAC,GAAG,CAAC,SAAS,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,IAAI,CAAC,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;IAC7D,CAAC;IAED,KAAK,CAAC,wBAAwB,CAAC,cAAuB;QACpD,MAAM,KAAK,GAAG,MAAM,IAAI,CAAC,kBAAkB,EAAE,CAAC;QAE9C,OAAO,KAAK,CAAC,MAAM,CAAC,GAAG,CAAC,MAAM,CAAC,eAAe,CAAC,CAAC,CAAC,CAAC,MAAM,CAAC,gBAAgB,CAAC,cAAc,CAAC,CAAC,CAAC;IAC7F,CAAC;IAED,KAAK,CAAC,oBAAoB,CAAC,IAAY;QACrC,MAAM,KAAK,GAAG,MAAM,IAAI,CAAC,kBAAkB,EAAE,CAAC;QAE9C,OAAO,KAAK,CAAC,IAAI,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,CAAC;IAClC,CAAC;IAED,KAAK,CAAC,YAAY;QAChB,OAAO,IAAI,CAAC,oBAAoB,CAAC,eAAe,CAAC,CAAC;IACpD,CAAC;IAED,KAAK,CAAC,QAAQ,CAAC,QAAgB;QAC7B,IAAI,CAAC,CAAC,QAAQ,IAAI,IAAI,CAAC,KAAK,CAAC,EAAE;YAC7B,IAAI,CAAC,KAAK,CAAC,QAAQ,CAAC,GAAG,MAAM,oBAAoB,CAAC,QAAQ,EAAE,IAAI,CAAC,OAAO,CAAC,CAAC;SAC3E;QAED,OAAO,IAAI,CAAC,KAAK,CAAC,QAAQ,CAAC,CAAC;IAC9B,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"BorderVersion.js","sourceRoot":"","sources":["../../src/model/BorderVersion.ts"],"names":[],"mappings":"AAMA,MAAM,CAAC,MAAM,qBAAqB,GAAkC;IAClE,OAAO,EAAE,oBAAoB;IAC7B,SAAS,EAAE,iBAAiB;CAC7B,CAAC"}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import type { HeaderContent } from '../../components/Header/HeaderContent';
|
|
2
1
|
import type { Fallback } from '../../model/Fallback';
|
|
3
|
-
|
|
2
|
+
import type { SitemapProps } from './SitemapProps';
|
|
3
|
+
export declare function useSitemap(fallback?: Fallback): SitemapProps;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useSitemap.js","sourceRoot":"","sources":["../../../src/services/sitemap/useSitemap.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,0CAA0C,CAAC;AAExE,OAAO,EAAE,eAAe,EAAE,MAAM,uBAAuB,CAAC;
|
|
1
|
+
{"version":3,"file":"useSitemap.js","sourceRoot":"","sources":["../../../src/services/sitemap/useSitemap.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,0CAA0C,CAAC;AAExE,OAAO,EAAE,eAAe,EAAE,MAAM,uBAAuB,CAAC;AACxD,OAAO,EAAE,eAAe,EAAE,MAAM,uBAAuB,CAAC;AAGxD,MAAM,UAAU,UAAU,CAAC,WAAqB,EAAE;IAChD,MAAM,EAAE,IAAI,EAAE,GAAG,YAAY,CAC3B,mBAAmB,eAAe,CAAC,OAAO,IAAI,SAAS,OAAO,EAC9D,eAAe,EACf,EAAE,QAAQ,EAAE,CACb,CAAC;IAEF,OAAO,IAAI,IAAI,EAAE,CAAC;AACpB,CAAC"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx as _jsx, jsxs as _jsxs } from "@redneckz/uni-jsx/jsx-runtime";
|
|
2
2
|
import { JSX } from '@redneckz/uni-jsx';
|
|
3
|
-
import { Img } from '../Img/Img.js';
|
|
4
3
|
import { getIconWithVersion } from '../../utils/getIconWithVersion.js';
|
|
4
|
+
import { Img } from '../Img/Img.js';
|
|
5
5
|
const titleStyleMap = {
|
|
6
6
|
primary: 'text-primary-text',
|
|
7
7
|
secondary: 'text-white',
|
|
@@ -14,9 +14,9 @@ export const BenefitItem = JSX((props) => {
|
|
|
14
14
|
const { className = '', icon, label, description, version = 'primary', benefitsVersion = 'normal', } = props;
|
|
15
15
|
const listItemAlign = description ? 'items-start' : 'items-center';
|
|
16
16
|
const calcVersion = benefitsVersion === 'white' ? 'secondary' : 'primary';
|
|
17
|
-
return (_jsxs("div", { className: `flex gap-5 ${listItemAlign} ${className}`, children: [icon ? (_jsx("div", { className:
|
|
17
|
+
return (_jsxs("div", { className: `flex gap-5 ${listItemAlign} ${className}`, children: [icon ? (_jsx("div", { className: getBenefitIconBgStyle(version, benefitsVersion), children: _jsx(Img, { className: "w-6 h-6", image: getIconWithVersion(icon, calcVersion), asSVG: true }) })) : null, _jsxs("div", { className: "gap-0.5", children: [label ? _jsx("div", { className: `text-h6 ${titleStyleMap[version]}`, children: label }) : null, description ? (_jsx("div", { className: `text-m-light ${descStyleMap[version]}`, children: description })) : null] })] }));
|
|
18
18
|
});
|
|
19
|
-
function
|
|
19
|
+
function getBenefitIconBgStyle(version, benefitsVersion) {
|
|
20
20
|
let bgColorStyle = 'bg-primary-main text-black';
|
|
21
21
|
if (version === 'secondary') {
|
|
22
22
|
bgColorStyle = 'bg-white/30 text-black';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"BenefitItem.js","sourceRoot":"","sources":["../../../src/ui-kit/BenefitItem/BenefitItem.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AAGxC,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"BenefitItem.js","sourceRoot":"","sources":["../../../src/ui-kit/BenefitItem/BenefitItem.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AAGxC,OAAO,EAAE,kBAAkB,EAAE,MAAM,gCAAgC,CAAC;AACpE,OAAO,EAAE,GAAG,EAAE,MAAM,YAAY,CAAC;AAGjC,MAAM,aAAa,GAAiC;IAClD,OAAO,EAAE,mBAAmB;IAC5B,SAAS,EAAE,YAAY;CACxB,CAAC;AAEF,MAAM,YAAY,GAAiC;IACjD,OAAO,EAAE,qBAAqB;IAC9B,SAAS,EAAE,YAAY;CACxB,CAAC;AAIF,MAAM,CAAC,MAAM,WAAW,GAAG,GAAG,CAAsB,CAAC,KAAK,EAAE,EAAE;IAC5D,MAAM,EACJ,SAAS,GAAG,EAAE,EACd,IAAI,EACJ,KAAK,EACL,WAAW,EACX,OAAO,GAAG,SAAS,EACnB,eAAe,GAAG,QAAQ,GAC3B,GAAG,KAAK,CAAC;IACV,MAAM,aAAa,GAAG,WAAW,CAAC,CAAC,CAAC,aAAa,CAAC,CAAC,CAAC,cAAc,CAAC;IACnE,MAAM,WAAW,GAAG,eAAe,KAAK,OAAO,CAAC,CAAC,CAAC,WAAW,CAAC,CAAC,CAAC,SAAS,CAAC;IAE1E,OAAO,CACL,eAAK,SAAS,EAAE,cAAc,aAAa,IAAI,SAAS,EAAE,aACvD,IAAI,CAAC,CAAC,CAAC,CACN,cAAK,SAAS,EAAE,qBAAqB,CAAC,OAAO,EAAE,eAAe,CAAC,YAC7D,KAAC,GAAG,IAAC,SAAS,EAAC,SAAS,EAAC,KAAK,EAAE,kBAAkB,CAAC,IAAI,EAAE,WAAW,CAAC,EAAE,KAAK,SAAG,GAC3E,CACP,CAAC,CAAC,CAAC,IAAI,EACR,eAAK,SAAS,EAAC,SAAS,aACrB,KAAK,CAAC,CAAC,CAAC,cAAK,SAAS,EAAE,WAAW,aAAa,CAAC,OAAO,CAAC,EAAE,YAAG,KAAK,GAAO,CAAC,CAAC,CAAC,IAAI,EACjF,WAAW,CAAC,CAAC,CAAC,CACb,cAAK,SAAS,EAAE,gBAAgB,YAAY,CAAC,OAAO,CAAC,EAAE,YAAG,WAAW,GAAO,CAC7E,CAAC,CAAC,CAAC,IAAI,IACJ,IACF,CACP,CAAC;AACJ,CAAC,CAAC,CAAC;AAEH,SAAS,qBAAqB,CAAC,OAAqB,EAAE,eAA4B;IAChF,IAAI,YAAY,GAAG,4BAA4B,CAAC;IAEhD,IAAI,OAAO,KAAK,WAAW,EAAE;QAC3B,YAAY,GAAG,wBAAwB,CAAC;KACzC;SAAM,IAAI,eAAe,KAAK,QAAQ,EAAE;QACvC,YAAY,GAAG,sCAAsC,CAAC;KACvD;IAED,OAAO,iGAAiG,YAAY,EAAE,CAAC;AACzH,CAAC"}
|
|
@@ -1,11 +1,4 @@
|
|
|
1
1
|
import { jsx as _jsx } from "@redneckz/uni-jsx/jsx-runtime";
|
|
2
2
|
import { JSX } from '@redneckz/uni-jsx';
|
|
3
|
-
export const Breadcrumb = JSX(({ text, href, target, onClick, className = '', children }) => {
|
|
4
|
-
if (href) {
|
|
5
|
-
return (_jsx("a", { className: `no-underline ${className}`, href: href, target: target, onClick: onClick, children: _jsx("span", { className: className, children: text || children }) }));
|
|
6
|
-
}
|
|
7
|
-
else {
|
|
8
|
-
return _jsx("span", { className: className, children: text || children });
|
|
9
|
-
}
|
|
10
|
-
});
|
|
3
|
+
export const Breadcrumb = JSX(({ text, href, target, onClick, className = '', children }) => href ? (_jsx("a", { className: `no-underline ${className}`, href: href, target: target, onClick: onClick, children: _jsx("span", { className: className, children: text || children }) })) : (_jsx("span", { className: className, children: text || children })));
|
|
11
4
|
//# sourceMappingURL=Breadcrumb.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Breadcrumb.js","sourceRoot":"","sources":["../../src/ui-kit/Breadcrumb.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AAQxC,MAAM,CAAC,MAAM,UAAU,GAAG,GAAG,CAC3B,CAAC,EAAE,IAAI,EAAE,IAAI,EAAE,MAAM,EAAE,OAAO,EAAE,SAAS,GAAG,EAAE,EAAE,QAAQ,EAAE,EAAE,EAAE
|
|
1
|
+
{"version":3,"file":"Breadcrumb.js","sourceRoot":"","sources":["../../src/ui-kit/Breadcrumb.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AAQxC,MAAM,CAAC,MAAM,UAAU,GAAG,GAAG,CAC3B,CAAC,EAAE,IAAI,EAAE,IAAI,EAAE,MAAM,EAAE,OAAO,EAAE,SAAS,GAAG,EAAE,EAAE,QAAQ,EAAE,EAAE,EAAE,CAC5D,IAAI,CAAC,CAAC,CAAC,CACL,YAAG,SAAS,EAAE,gBAAgB,SAAS,EAAE,EAAE,IAAI,EAAE,IAAI,EAAE,MAAM,EAAE,MAAM,EAAE,OAAO,EAAE,OAAO,YACrF,eAAM,SAAS,EAAE,SAAS,YAAG,IAAI,IAAI,QAAQ,GAAQ,GACnD,CACL,CAAC,CAAC,CAAC,CACF,eAAM,SAAS,EAAE,SAAS,YAAG,IAAI,IAAI,QAAQ,GAAQ,CACtD,CACJ,CAAC"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx as _jsx } from "@redneckz/uni-jsx/jsx-runtime";
|
|
2
2
|
import { JSX } from '@redneckz/uni-jsx';
|
|
3
3
|
import { clamp } from '../../utils/clamp.js';
|
|
4
|
-
import { adjustValue, localNumberFormat } from './adjustValue
|
|
4
|
+
import { adjustValue, localNumberFormat } from './adjustValue.js';
|
|
5
5
|
import { useCallback } from '@redneckz/uni-jsx/lib/hooks';
|
|
6
6
|
import { Input } from '../Input/Input.js';
|
|
7
7
|
export const CurrencyInput = JSX(({ className = '', onChange, minValue = 0, maxValue = 300000, ...inputProps }) => {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CurrencyInput.js","sourceRoot":"","sources":["../../../src/ui-kit/CurrencyInput/CurrencyInput.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AACxC,OAAO,EAAE,KAAK,EAAE,MAAM,mBAAmB,CAAC;AAC1C,OAAO,EAAE,WAAW,EAAE,iBAAiB,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"CurrencyInput.js","sourceRoot":"","sources":["../../../src/ui-kit/CurrencyInput/CurrencyInput.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AACxC,OAAO,EAAE,KAAK,EAAE,MAAM,mBAAmB,CAAC;AAC1C,OAAO,EAAE,WAAW,EAAE,iBAAiB,EAAE,MAAM,eAAe,CAAC;AAC/D,OAAO,EAAE,WAAW,EAAE,MAAM,6BAA6B,CAAC;AAC1D,OAAO,EAAE,KAAK,EAAE,MAAM,gBAAgB,CAAC;AAGvC,MAAM,CAAC,MAAM,aAAa,GAAG,GAAG,CAC9B,CAAC,EAAE,SAAS,GAAG,EAAE,EAAE,QAAQ,EAAE,QAAQ,GAAG,CAAC,EAAE,QAAQ,GAAG,MAAM,EAAE,GAAG,UAAU,EAAE,EAAE,EAAE;IAC/E,MAAM,YAAY,GAAG,WAAW,CAC9B,CAAC,UAAkB,EAAE,EAAE;QACrB,IAAI,CAAC,QAAQ,EAAE;YACb,OAAO;SACR;QACD,MAAM,WAAW,GAAG,WAAW,CAAC,UAAU,CAAC,CAAC;QAC5C,MAAM,QAAQ,GAAG,aAAa,CAAC,WAAW,EAAE,KAAK,CAAC,MAAM,CAAC,WAAW,CAAC,EAAE,QAAQ,EAAE,QAAQ,CAAC,CAAC,CAAC;QAC5F,QAAQ,CAAC,MAAM,CAAC,QAAQ,CAAC,CAAC,CAAC;IAC7B,CAAC,EACD,CAAC,QAAQ,CAAC,CACX,CAAC;IAEF,MAAM,UAAU,GAAG,WAAW,CAC5B,CAAC,UAAkB,EAAE,EAAE;QACrB,IAAI,CAAC,QAAQ,EAAE;YACb,OAAO;SACR;QACD,QAAQ,CAAC,iBAAiB,CAAC,UAAU,CAAC,CAAC,CAAC;IAC1C,CAAC,EACD,CAAC,QAAQ,CAAC,CACX,CAAC;IAEF,OAAO,CACL,KAAC,KAAK,IACJ,SAAS,EAAE,SAAS,EACpB,cAAc,EAAC,QAAQ,EACvB,QAAQ,EAAE,YAAY,EACtB,MAAM,EAAE,UAAU,KACd,UAAU,YAEd,eAAM,SAAS,EAAC,yCAAyC,uBAAS,GAC5D,CACT,CAAC;AACJ,CAAC,CACF,CAAC;AAEF,MAAM,aAAa,GAAG,CAAC,GAAW,EAAE,QAAgB,EAAU,EAAE,CAC9D,MAAM,CAAC,GAAG,CAAC,KAAK,QAAQ,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,MAAM,CAAC,QAAQ,CAAC,CAAC"}
|
|
File without changes
|
|
@@ -16,4 +16,4 @@ const setZeroStart = (val) => {
|
|
|
16
16
|
return newVal.startsWith('.') ? newVal.replace('.', '0.') : newVal;
|
|
17
17
|
};
|
|
18
18
|
const replaceCommaToDot = (val) => String(val.replace(',', '.').replace(/[^.\d]/g, ''));
|
|
19
|
-
//# sourceMappingURL=adjustValue
|
|
19
|
+
//# sourceMappingURL=adjustValue.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"adjustValue.js","sourceRoot":"","sources":["../../../src/ui-kit/CurrencyInput/adjustValue.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,MAAM,+BAA+B,CAAC;AAElE,MAAM,CAAC,MAAM,WAAW,GAAG,CAAC,GAAW,EAAE,EAAE,CACzC,UAAU,CAAC,YAAY,CAAC,iBAAiB,CAAC,iBAAiB,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,CAAC;AAEtE,MAAM,CAAC,MAAM,iBAAiB,GAAG,CAAC,GAAW,EAAU,EAAE,CACvD,IAAI,IAAI,CAAC,YAAY,CAAC,OAAO,EAAE;IAC7B,qBAAqB,EAAE,CAAC;IACxB,qBAAqB,EAAE,CAAC;CACzB,CAAC;KACC,MAAM,CAAC,MAAM,CAAC,iBAAiB,CAAC,GAAG,CAAC,CAAC,CAAC;KACtC,OAAO,CAAC,GAAG,EAAE,GAAG,CAAC,CAAC;AAEvB,MAAM,CAAC,MAAM,UAAU,GAAG,CAAC,GAAW,EAAU,EAAE;IAChD,MAAM,OAAO,GAAG,GAAG,CAAC,KAAK,CAAC,KAAK,CAAC,IAAI,EAAE,CAAC;IAEvC,OAAO,OAAO,CAAC,MAAM,GAAG,CAAC,CAAC,CAAC,CAAC,GAAG,CAAC,KAAK,CAAC,CAAC,EAAE,GAAG,CAAC,WAAW,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,CAAC,GAAG,CAAC;AACvE,CAAC,CAAC;AAEF,MAAM,YAAY,GAAG,CAAC,GAAW,EAAU,EAAE;IAC3C,MAAM,WAAW,GAAG,GAAG,CAAC,OAAO,CAAC,GAAG,CAAC,KAAK,CAAC,IAAI,GAAG,CAAC,MAAM,KAAK,CAAC,CAAC;IAC/D,MAAM,MAAM,GAAG,WAAW,CAAC,CAAC,CAAC,GAAG,CAAC,OAAO,CAAC,GAAG,EAAE,IAAI,CAAC,CAAC,CAAC,CAAC,GAAG,CAAC;IAE1D,OAAO,MAAM,CAAC,UAAU,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,MAAM,CAAC,OAAO,CAAC,GAAG,EAAE,IAAI,CAAC,CAAC,CAAC,CAAC,MAAM,CAAC;AACrE,CAAC,CAAC;AAEF,MAAM,iBAAiB,GAAG,CAAC,GAAW,EAAU,EAAE,CAChD,MAAM,CAAC,GAAG,CAAC,OAAO,CAAC,GAAG,EAAE,GAAG,CAAC,CAAC,OAAO,CAAC,SAAS,EAAE,EAAE,CAAC,CAAC,CAAC"}
|
|
@@ -2,7 +2,7 @@ import { jsx as _jsx } from "@redneckz/uni-jsx/jsx-runtime";
|
|
|
2
2
|
import { JSX } from '@redneckz/uni-jsx';
|
|
3
3
|
export const Tags = JSX((props) => {
|
|
4
4
|
const { tags, className = '' } = props;
|
|
5
|
-
return tags?.length ? (_jsx("div", { className: `flex flex-wrap gap-2 ${className}`, children: tags.map(
|
|
5
|
+
return tags?.length ? (_jsx("div", { className: `flex flex-wrap gap-2 ${className}`, children: tags.map(renderTag) })) : null;
|
|
6
6
|
});
|
|
7
|
-
const renderTag = (tag, key) => (_jsx("span", { className: "text-m-light py-2 px-2.5 border-solid border rounded-md border-color-stroke", children: tag }, key));
|
|
7
|
+
const renderTag = (tag, key) => (_jsx("span", { className: "text-m-light py-2 px-2.5 border-solid border rounded-md border-color-stroke", children: tag }, String(key)));
|
|
8
8
|
//# sourceMappingURL=Tags.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Tags.js","sourceRoot":"","sources":["../../../src/ui-kit/Tags/Tags.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AAQxC,MAAM,CAAC,MAAM,IAAI,GAAG,GAAG,CAAY,CAAC,KAAK,EAAE,EAAE;IAC3C,MAAM,EAAE,IAAI,EAAE,SAAS,GAAG,EAAE,EAAE,GAAG,KAAK,CAAC;IAEvC,OAAO,IAAI,EAAE,MAAM,CAAC,CAAC,CAAC,CACpB,cAAK,SAAS,EAAE,wBAAwB,SAAS,EAAE,
|
|
1
|
+
{"version":3,"file":"Tags.js","sourceRoot":"","sources":["../../../src/ui-kit/Tags/Tags.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AAQxC,MAAM,CAAC,MAAM,IAAI,GAAG,GAAG,CAAY,CAAC,KAAK,EAAE,EAAE;IAC3C,MAAM,EAAE,IAAI,EAAE,SAAS,GAAG,EAAE,EAAE,GAAG,KAAK,CAAC;IAEvC,OAAO,IAAI,EAAE,MAAM,CAAC,CAAC,CAAC,CACpB,cAAK,SAAS,EAAE,wBAAwB,SAAS,EAAE,YAAG,IAAI,CAAC,GAAG,CAAC,SAAS,CAAC,GAAO,CACjF,CAAC,CAAC,CAAC,IAAI,CAAC;AACX,CAAC,CAAC,CAAC;AAEH,MAAM,SAAS,GAAG,CAAC,GAAW,EAAE,GAAW,EAAE,EAAE,CAAC,CAC9C,eAEE,SAAS,EAAC,6EAA6E,YAEtF,GAAG,IAHC,MAAM,CAAC,GAAG,CAAC,CAIX,CACR,CAAC"}
|
|
@@ -1,19 +1,12 @@
|
|
|
1
1
|
import { JSX } from '@redneckz/uni-jsx';
|
|
2
|
-
import
|
|
2
|
+
import { BlockVersion, VersionStyleMap } from '../../model/BlockVersion';
|
|
3
3
|
import type { UniBlockProps } from '../../model/JSXBlock';
|
|
4
4
|
import { BlockWrapper } from '../../ui-kit/BlockWrapper';
|
|
5
5
|
import { Heading } from '../../ui-kit/Heading/Heading';
|
|
6
6
|
import { Img } from '../../ui-kit/Img/Img';
|
|
7
|
+
import { getIconWithVersion } from '../../utils/getIconWithVersion';
|
|
7
8
|
import type { BenefitsBlockContent, ListBenefitDef, TextBenefitDef } from './BenefitsBlockContent';
|
|
8
9
|
import { BenefitBlockItemProps, DescriptionDef } from './BenefitsBlockContent';
|
|
9
|
-
import { getIconWithVersion } from '../../utils/getIconWithVersion';
|
|
10
|
-
|
|
11
|
-
export interface BenefitsBlockProps extends BenefitsBlockContent, UniBlockProps {}
|
|
12
|
-
|
|
13
|
-
const benefitsBlockStyleMap = {
|
|
14
|
-
primary: 'bg-white',
|
|
15
|
-
secondary: 'bg-primary-main',
|
|
16
|
-
};
|
|
17
10
|
|
|
18
11
|
const benefitsTextStyleMap = {
|
|
19
12
|
primary: '',
|
|
@@ -30,10 +23,12 @@ const benefitsIconStyleMap = {
|
|
|
30
23
|
secondary: 'bg-white/30 text-black',
|
|
31
24
|
};
|
|
32
25
|
|
|
26
|
+
interface BenefitsBlockProps extends BenefitsBlockContent, UniBlockProps {}
|
|
27
|
+
|
|
33
28
|
export const BenefitsBlock = JSX<BenefitsBlockProps>(
|
|
34
29
|
({ className = '', title, benefitList, version = 'primary', ...rest }) => (
|
|
35
30
|
<BlockWrapper
|
|
36
|
-
className={`font-sans text-primary-text p-12 flex flex-col items-center ${className} ${
|
|
31
|
+
className={`font-sans text-primary-text p-12 flex flex-col items-center ${className} ${VersionStyleMap[version]}`}
|
|
37
32
|
{...rest}
|
|
38
33
|
>
|
|
39
34
|
{title ? (
|
|
@@ -44,19 +39,17 @@ export const BenefitsBlock = JSX<BenefitsBlockProps>(
|
|
|
44
39
|
title={title}
|
|
45
40
|
/>
|
|
46
41
|
) : null}
|
|
47
|
-
{benefitList?.length ?
|
|
42
|
+
{benefitList?.length ? (
|
|
43
|
+
<div className="flex flex-wrap w-full justify-center gap-x-20 mt-8">
|
|
44
|
+
{benefitList.map(renderStep(version))}
|
|
45
|
+
</div>
|
|
46
|
+
) : null}
|
|
48
47
|
</BlockWrapper>
|
|
49
48
|
),
|
|
50
49
|
);
|
|
51
50
|
|
|
52
|
-
const renderBenefits = (benefitList: BenefitBlockItemProps[], version: BlockVersion) => (
|
|
53
|
-
<div className="flex flex-wrap w-full justify-center gap-x-20 mt-8">
|
|
54
|
-
{benefitList.map(renderStep(version))}
|
|
55
|
-
</div>
|
|
56
|
-
);
|
|
57
|
-
|
|
58
51
|
const renderStep = (version: BlockVersion) => (benefit: BenefitBlockItemProps, i: number) => {
|
|
59
|
-
const description =
|
|
52
|
+
const description = benefit.description;
|
|
60
53
|
|
|
61
54
|
return (
|
|
62
55
|
<div key={String(i)} className="flex items-center basis-1/2 max-w-[500px] mb-14">
|
|
@@ -78,8 +71,8 @@ const renderStep = (version: BlockVersion) => (benefit: BenefitBlockItemProps, i
|
|
|
78
71
|
);
|
|
79
72
|
};
|
|
80
73
|
|
|
81
|
-
const renderDescription = (description: DescriptionDef, version: BlockVersion) => {
|
|
82
|
-
const benefitType = description
|
|
74
|
+
const renderDescription = (description: DescriptionDef | undefined, version: BlockVersion) => {
|
|
75
|
+
const benefitType = description?.benefitType || null;
|
|
83
76
|
|
|
84
77
|
return description && benefitType ? (
|
|
85
78
|
<div className={`text-l-light mt-2 ${benefitsDescriptionStyleMap[version]}`}>
|
|
@@ -90,7 +83,7 @@ const renderDescription = (description: DescriptionDef, version: BlockVersion) =
|
|
|
90
83
|
) : null;
|
|
91
84
|
};
|
|
92
85
|
|
|
93
|
-
const renderTextBenefit = (description?: TextBenefitDef) =>
|
|
86
|
+
const renderTextBenefit = (description?: TextBenefitDef) => description?.name || null;
|
|
94
87
|
|
|
95
88
|
const renderListBenefit = (description?: ListBenefitDef) => {
|
|
96
89
|
const listStyleType = description?.bullets ? 'list-disc pl-6' : '';
|
|
@@ -2,6 +2,7 @@ import type { HeadlineCommonProps } from '../../model/HeadlineType';
|
|
|
2
2
|
import type { ProductColorVersion } from '../../model/ProductColorVersion';
|
|
3
3
|
import type { ButtonWithIconProps } from '../../ui-kit/Button/ButtonProps';
|
|
4
4
|
import type { ImageContent } from '../../ui-kit/Img/ImgProps';
|
|
5
|
+
import type { BlockVersion } from '../../model/BlockVersion';
|
|
5
6
|
|
|
6
7
|
export interface CatalogCardType extends HeadlineCommonProps, ImageContent {
|
|
7
8
|
/** @title Цена в рублях */
|
|
@@ -24,4 +25,5 @@ export interface CatalogCardType extends HeadlineCommonProps, ImageContent {
|
|
|
24
25
|
export type CatalogContent = HeadlineCommonProps & {
|
|
25
26
|
/** @title Список карточек */
|
|
26
27
|
cards?: CatalogCardType[];
|
|
28
|
+
version?: BlockVersion;
|
|
27
29
|
};
|
|
@@ -6,27 +6,26 @@ interface FallbackData {
|
|
|
6
6
|
data: unknown;
|
|
7
7
|
}
|
|
8
8
|
|
|
9
|
-
export const computeAPIFallback =
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
};
|
|
9
|
+
export const computeAPIFallback = async (blocksRegistry: BlocksRegistry): Promise<Fallback> => {
|
|
10
|
+
const blocksFallbackMap = await Promise.all(Object.keys(blocksRegistry).map(loadBlockFallback));
|
|
11
|
+
const pageFallbackMap = getPageFallbackMap(blocksFallbackMap);
|
|
12
|
+
const fallbackData = await Promise.allSettled(
|
|
13
|
+
Object.entries(pageFallbackMap).map(async ([key, fetcher]) => {
|
|
14
|
+
const data = await fetcher();
|
|
15
|
+
|
|
16
|
+
return { key, data };
|
|
17
|
+
}),
|
|
18
|
+
);
|
|
19
|
+
|
|
20
|
+
return fallbackData
|
|
21
|
+
.filter((d): d is PromiseFulfilledResult<FallbackData> => d.status === 'fulfilled')
|
|
22
|
+
.reduce((res, item) => {
|
|
23
|
+
return {
|
|
24
|
+
...res,
|
|
25
|
+
[item.value.key]: item.value.data,
|
|
26
|
+
};
|
|
27
|
+
}, {});
|
|
28
|
+
};
|
|
30
29
|
|
|
31
30
|
export async function loadBlockFallback(blockName: string): Promise<FallbackMap | undefined> {
|
|
32
31
|
try {
|
|
@@ -4,26 +4,23 @@ import { mapSlot } from './mapSlot';
|
|
|
4
4
|
|
|
5
5
|
export function normalizeBlock<S extends Slot>(block?: S, blocksRegistry?: BlocksRegistry): S {
|
|
6
6
|
const { mobile, ...rest } = (block || {}) as BlockDef;
|
|
7
|
-
|
|
8
|
-
const normalizedBlock = mobile
|
|
7
|
+
const result = mobile
|
|
9
8
|
? { ...rest, ...mobile, content: { ...rest.content, ...mobile.content } }
|
|
10
9
|
: block;
|
|
11
10
|
|
|
12
|
-
return {
|
|
13
|
-
...mapSlot((blocks) => filterBlocks(blocks, blocksRegistry))(normalizedBlock || {}),
|
|
14
|
-
} as S;
|
|
11
|
+
return mapSlot(filterBlocks(blocksRegistry))(result || {}) as S;
|
|
15
12
|
}
|
|
16
13
|
|
|
17
|
-
const filterBlocks =
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
(block
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
14
|
+
const filterBlocks =
|
|
15
|
+
(blocksRegistry?: BlocksRegistry) =>
|
|
16
|
+
(blocks?: BlockDef[]): BlockDef[] =>
|
|
17
|
+
blocks
|
|
18
|
+
? blocks
|
|
19
|
+
?.filter(
|
|
20
|
+
(block) =>
|
|
21
|
+
blocksRegistry &&
|
|
22
|
+
(block?.type || block?.mobile?.type || '') in blocksRegistry &&
|
|
23
|
+
!block.mobile?.hidden,
|
|
24
|
+
)
|
|
25
|
+
.map((block) => normalizeBlock(block, blocksRegistry))
|
|
26
|
+
: [];
|
|
@@ -4,10 +4,5 @@ import { normalizeBlock } from './normalizeBlock';
|
|
|
4
4
|
|
|
5
5
|
export const normalizePage =
|
|
6
6
|
(blocksRegistry: BlocksRegistry) =>
|
|
7
|
-
(contentPage: ContentPageDef | undefined | null): ContentPageDef
|
|
8
|
-
|
|
9
|
-
return undefined;
|
|
10
|
-
}
|
|
11
|
-
|
|
12
|
-
return normalizeBlock(contentPage, blocksRegistry);
|
|
13
|
-
};
|
|
7
|
+
(contentPage: ContentPageDef | undefined | null): ContentPageDef =>
|
|
8
|
+
contentPage ? normalizeBlock(contentPage, blocksRegistry) : {};
|
|
@@ -5,7 +5,6 @@ import type { Fallback } from '../../model/Fallback';
|
|
|
5
5
|
import type { UniBlockProps } from '../../model/JSXBlock';
|
|
6
6
|
import { findActiveSubItem } from '../../services/sitemap/findActiveSubItem';
|
|
7
7
|
import { isTopItemActive } from '../../services/sitemap/isTopItemActive';
|
|
8
|
-
import { mergeTopItems } from '../../services/sitemap/mergeTopItems';
|
|
9
8
|
import { useSitemap } from '../../services/sitemap/useSitemap';
|
|
10
9
|
import { HeaderItem } from '../../ui-kit/HeaderItem/HeaderItem';
|
|
11
10
|
import type { TopItemProps } from '../../ui-kit/TopItem/TopItem';
|
|
@@ -19,15 +18,14 @@ import { HeaderTop } from './HeaderTop';
|
|
|
19
18
|
export interface HeaderProps extends HeaderContent, UniBlockProps {}
|
|
20
19
|
|
|
21
20
|
export const Header = JSX<HeaderProps>(
|
|
22
|
-
({ className = '', defaultLocation, bgColor = 'bg-white', context,
|
|
21
|
+
({ className = '', defaultLocation, bgColor = 'bg-white', context, page }) => {
|
|
23
22
|
const { handlerDecorator } = context;
|
|
24
23
|
const router = context.useRouter();
|
|
25
24
|
|
|
26
25
|
const fallback: Fallback | undefined = page?.fallback;
|
|
27
|
-
const
|
|
26
|
+
const { topItems, dispositions } = useSitemap(fallback);
|
|
28
27
|
|
|
29
|
-
const
|
|
30
|
-
const activeTopItem = mergedItems.find(isTopItemActive(router));
|
|
28
|
+
const activeTopItem = topItems?.find(isTopItemActive(router));
|
|
31
29
|
const subItems = activeTopItem?.items;
|
|
32
30
|
const activeSubItem = findActiveSubItem(router)(subItems);
|
|
33
31
|
|
|
@@ -58,15 +56,17 @@ export const Header = JSX<HeaderProps>(
|
|
|
58
56
|
<HeaderBurger
|
|
59
57
|
context={context}
|
|
60
58
|
onClick={toggleBurgerMenu}
|
|
61
|
-
burgerSubMenu={
|
|
59
|
+
burgerSubMenu={dispositions}
|
|
62
60
|
defaultLocation={defaultLocation}
|
|
63
61
|
>
|
|
64
62
|
<AccordionItemsList>
|
|
65
|
-
{
|
|
66
|
-
|
|
67
|
-
<
|
|
68
|
-
|
|
69
|
-
|
|
63
|
+
{topItems?.map((item, i) => {
|
|
64
|
+
item?.text ? (
|
|
65
|
+
<AccordionItem key={String(i)} context={context} label={item.text}>
|
|
66
|
+
<LinkList context={context} documents={item.items} />
|
|
67
|
+
</AccordionItem>
|
|
68
|
+
) : null;
|
|
69
|
+
})}
|
|
70
70
|
</AccordionItemsList>
|
|
71
71
|
</HeaderBurger>
|
|
72
72
|
) : null}
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import type { BgColorVersion } from '../../model/BgColorVersion';
|
|
2
2
|
import type { LinkProps } from '../../model/LinkProps';
|
|
3
3
|
import type { IconProps, Picture } from '../../model/Picture';
|
|
4
|
-
import type { SitemapProps } from '../../services/sitemap/SitemapProps';
|
|
5
4
|
|
|
6
5
|
/**
|
|
7
6
|
* @title Пункт подменю
|
|
@@ -31,7 +30,7 @@ export interface Logo {
|
|
|
31
30
|
* @title Шапка (для мобильных горизонтальная прокрутка shift+mouseScroll)
|
|
32
31
|
* @required ["defaultLocation", "topItems"]
|
|
33
32
|
*/
|
|
34
|
-
export interface HeaderContent
|
|
33
|
+
export interface HeaderContent {
|
|
35
34
|
logo?: Logo;
|
|
36
35
|
/**
|
|
37
36
|
* @title Город по-умолчанию
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
{
|
|
2
|
+
"title": "Заголовок блока",
|
|
3
|
+
"cards": [
|
|
4
|
+
{
|
|
5
|
+
"image": {
|
|
6
|
+
"format": "webp",
|
|
7
|
+
"size": {
|
|
8
|
+
"width": 180,
|
|
9
|
+
"height": 180
|
|
10
|
+
}
|
|
11
|
+
},
|
|
12
|
+
"title": "Заголовок карточки",
|
|
13
|
+
"description": "Описание",
|
|
14
|
+
"additionalDescription": "Дополнительное описание",
|
|
15
|
+
"cardList":[
|
|
16
|
+
{
|
|
17
|
+
"parametr": "Параметр",
|
|
18
|
+
"parametrDesccription": "Описание"
|
|
19
|
+
},
|
|
20
|
+
{
|
|
21
|
+
"parametr": "Параметр",
|
|
22
|
+
"parametrDesccription": "Описание"
|
|
23
|
+
},
|
|
24
|
+
{
|
|
25
|
+
"parametr": "Параметр",
|
|
26
|
+
"parametrDesccription": "Описание"
|
|
27
|
+
}
|
|
28
|
+
]
|
|
29
|
+
},
|
|
30
|
+
{
|
|
31
|
+
"image": {
|
|
32
|
+
"format": "webp",
|
|
33
|
+
"size": {
|
|
34
|
+
"width": 180,
|
|
35
|
+
"height": 180
|
|
36
|
+
}
|
|
37
|
+
},
|
|
38
|
+
"title": "Заголовок 2",
|
|
39
|
+
"description": "Описание 2",
|
|
40
|
+
"socialMedia": [
|
|
41
|
+
{ "href": "https://t.me" },
|
|
42
|
+
{ "href": "https://vk.com" },
|
|
43
|
+
{ "href": "https://ok.ru" }
|
|
44
|
+
]
|
|
45
|
+
},
|
|
46
|
+
{
|
|
47
|
+
"image": {
|
|
48
|
+
"format": "webp",
|
|
49
|
+
"size": {
|
|
50
|
+
"width": 180,
|
|
51
|
+
"height": 180
|
|
52
|
+
}
|
|
53
|
+
},
|
|
54
|
+
"title": "Заголовок 3",
|
|
55
|
+
"description": "Описание 3",
|
|
56
|
+
"socialMedia": [
|
|
57
|
+
{ "href": "https://t.me" },
|
|
58
|
+
{ "href": "https://vk.com" },
|
|
59
|
+
{ "href": "https://ok.ru" }
|
|
60
|
+
]
|
|
61
|
+
}
|
|
62
|
+
],
|
|
63
|
+
"version": "primary"
|
|
64
|
+
}
|