@redneckz/wildless-cms-uni-blocks 0.2.69 → 0.2.72
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 +933 -0
- package/bundle/bundle.umd.js +878 -0
- package/bundle/bundle.umd.min.js +1 -0
- package/dist/BaseTile.d.ts +2 -12
- package/dist/BaseTile.js.map +1 -1
- package/dist/BaseTileContent.d.ts +13 -0
- package/dist/BaseTileContent.js +2 -0
- package/dist/BaseTileContent.js.map +1 -0
- package/dist/BenefitsBlock.d.ts +1 -10
- package/dist/BenefitsBlock.js.map +1 -1
- package/dist/BenefitsBlockContent.d.ts +10 -0
- package/dist/BenefitsBlockContent.js +2 -0
- package/dist/BenefitsBlockContent.js.map +1 -0
- package/dist/BlockContent.d.ts +15 -0
- package/dist/BlockContent.js +2 -0
- package/dist/BlockContent.js.map +1 -0
- package/dist/Blocks.d.ts +0 -15
- package/dist/Blocks.js +7 -7
- package/dist/Blocks.js.map +1 -1
- package/dist/ContentPage.d.ts +1 -1
- package/dist/ExchangeRateTile.d.ts +1 -3
- package/dist/ExchangeRateTile.js.map +1 -1
- package/dist/ExchangeRateTileContent.d.ts +3 -0
- package/dist/ExchangeRateTileContent.js +2 -0
- package/dist/ExchangeRateTileContent.js.map +1 -0
- package/dist/Footer/Contacts.d.ts +2 -1
- package/dist/Footer/Contacts.js.map +1 -1
- package/dist/Footer/Footer.d.ts +2 -8
- package/dist/Footer/Footer.js +1 -1
- package/dist/Footer/Footer.js.map +1 -1
- package/dist/Footer/Footer.mobile.d.ts +1 -1
- package/dist/Footer/FooterContent.d.ts +13 -0
- package/dist/Footer/FooterContent.js +2 -0
- package/dist/Footer/FooterContent.js.map +1 -0
- package/dist/Footer/FooterLink.d.ts +1 -1
- package/dist/Footer/Sitemap.d.ts +2 -1
- package/dist/Footer/Sitemap.js.map +1 -1
- package/dist/Footer/SocialMedia.d.ts +2 -1
- package/dist/Footer/SocialMedia.js.map +1 -1
- package/dist/Gallery.d.ts +2 -13
- package/dist/Gallery.js.map +1 -1
- package/dist/Gallery.mobile.d.ts +1 -1
- package/dist/Gallery.mobile.js.map +1 -1
- package/dist/GalleryContent.d.ts +13 -0
- package/dist/GalleryContent.js +2 -0
- package/dist/GalleryContent.js.map +1 -0
- package/dist/Header/HeaderContent.d.ts +2 -3
- package/dist/Header/isSubItemActive.d.ts +1 -1
- package/dist/Header/isTopItemActive.d.ts +1 -1
- package/dist/Img.d.ts +1 -1
- package/dist/MobileAppTile.d.ts +1 -9
- package/dist/MobileAppTile.js.map +1 -1
- package/dist/MobileAppTileContent.d.ts +9 -0
- package/dist/MobileAppTileContent.js +2 -0
- package/dist/MobileAppTileContent.js.map +1 -0
- package/dist/MobileBlocks.js +2 -2
- package/dist/MobileBlocks.js.map +1 -1
- package/dist/Placeholder.d.ts +1 -3
- package/dist/Placeholder.js.map +1 -1
- package/dist/PlaceholderContent.d.ts +3 -0
- package/dist/PlaceholderContent.js +2 -0
- package/dist/PlaceholderContent.js.map +1 -0
- package/dist/ProductBlock.d.ts +2 -4
- package/dist/ProductBlock.js.map +1 -1
- package/dist/ProductBlock.mobile.d.ts +1 -1
- package/dist/ProductBlock.mobile.js.map +1 -1
- package/dist/ProductBlockContent.d.ts +5 -0
- package/dist/ProductBlockContent.js +2 -0
- package/dist/ProductBlockContent.js.map +1 -0
- package/dist/ProductBlockInner.d.ts +1 -5
- package/dist/ProductBlockInner.js.map +1 -1
- package/dist/ProductBlockInnerContent.d.ts +5 -0
- package/dist/ProductBlockInnerContent.js +2 -0
- package/dist/ProductBlockInnerContent.js.map +1 -0
- package/dist/ProductGallery.d.ts +1 -14
- package/dist/ProductGallery.js.map +1 -1
- package/dist/ProductGalleryContent.d.ts +14 -0
- package/dist/ProductGalleryContent.js +2 -0
- package/dist/ProductGalleryContent.js.map +1 -0
- package/dist/ProductTile.d.ts +1 -5
- package/dist/ProductTile.js.map +1 -1
- package/dist/ProductTileContent.d.ts +5 -0
- package/dist/ProductTileContent.js +2 -0
- package/dist/ProductTileContent.js.map +1 -0
- package/dist/PromoTile.d.ts +1 -4
- package/dist/PromoTile.js.map +1 -1
- package/dist/PromoTileContent.d.ts +4 -0
- package/dist/PromoTileContent.js +2 -0
- package/dist/PromoTileContent.js.map +1 -0
- package/dist/StepsBlock.d.ts +1 -10
- package/dist/StepsBlock.js.map +1 -1
- package/dist/StepsBlockContent.d.ts +10 -0
- package/dist/StepsBlockContent.js +2 -0
- package/dist/StepsBlockContent.js.map +1 -0
- package/dist/TextBlock.d.ts +2 -11
- package/dist/TextBlock.js.map +1 -1
- package/dist/TextBlockContent.d.ts +10 -0
- package/dist/TextBlockContent.js +2 -0
- package/dist/TextBlockContent.js.map +1 -0
- package/dist/Tile.d.ts +2 -2
- package/dist/Tile.js.map +1 -1
- package/dist/TileContent.d.ts +2 -0
- package/dist/TileContent.js +2 -0
- package/dist/TileContent.js.map +1 -0
- package/dist/content-page-repository/transformContentPage.js.map +1 -1
- package/dist/content-page-repository/transformPicture.d.ts +1 -1
- package/dist/index.d.ts +5 -3
- package/dist/index.js +3 -1
- package/dist/index.js.map +1 -1
- package/dist/mergeTopItems.d.ts +2 -2
- package/dist/mergeTopItems.js.map +1 -1
- package/dist/model/BlockVersion.d.ts +1 -0
- package/dist/model/BlockVersion.js +2 -0
- package/dist/model/BlockVersion.js.map +1 -0
- package/dist/model/ButtonVersion.d.ts +1 -0
- package/dist/model/ButtonVersion.js +2 -0
- package/dist/model/ButtonVersion.js.map +1 -0
- package/dist/model/LinkContent.d.ts +5 -0
- package/dist/model/LinkContent.js +2 -0
- package/dist/model/LinkContent.js.map +1 -0
- package/dist/model/Picture.d.ts +17 -0
- package/dist/model/Picture.js +2 -0
- package/dist/model/Picture.js.map +1 -0
- package/dist/model/SitemapContent.d.ts +7 -0
- package/dist/model/SitemapContent.js +2 -0
- package/dist/model/SitemapContent.js.map +1 -0
- package/dist/types.d.ts +2 -32
- package/dist/ui-kit/Breadcrumb.d.ts +1 -1
- package/dist/ui-kit/Button.d.ts +1 -8
- package/dist/ui-kit/Button.js.map +1 -1
- package/dist/ui-kit/ButtonProps.d.ts +9 -0
- package/dist/ui-kit/ButtonProps.js +2 -0
- package/dist/ui-kit/ButtonProps.js.map +1 -0
- package/dist/ui-kit/Icon.d.ts +1 -10
- package/dist/ui-kit/Icon.js.map +1 -1
- package/dist/ui-kit/IconButton.d.ts +1 -6
- package/dist/ui-kit/IconButton.js.map +1 -1
- package/dist/ui-kit/IconButtonProps.d.ts +6 -0
- package/dist/ui-kit/IconButtonProps.js +2 -0
- package/dist/ui-kit/IconButtonProps.js.map +1 -0
- package/dist/ui-kit/IconProps.d.ts +10 -0
- package/dist/ui-kit/IconProps.js +2 -0
- package/dist/ui-kit/IconProps.js.map +1 -0
- package/dist/ui-kit/Title.d.ts +1 -10
- package/dist/ui-kit/Title.js +3 -9
- package/dist/ui-kit/Title.js.map +1 -1
- package/dist/ui-kit/TitleProps.d.ts +10 -0
- package/dist/ui-kit/TitleProps.js +10 -0
- package/dist/ui-kit/TitleProps.js.map +1 -0
- package/dist/ui-kit/TopItem.d.ts +1 -1
- package/dist/useLink.d.ts +5 -2
- package/dist/useLink.js.map +1 -1
- package/dist/useSitemap.d.ts +1 -1
- package/lib/BaseTile.d.ts +2 -12
- package/lib/BaseTile.js.map +1 -1
- package/lib/BaseTileContent.d.ts +13 -0
- package/lib/BaseTileContent.js +2 -0
- package/lib/BaseTileContent.js.map +1 -0
- package/lib/BenefitsBlock.d.ts +1 -10
- package/lib/BenefitsBlock.js.map +1 -1
- package/lib/BenefitsBlockContent.d.ts +10 -0
- package/lib/BenefitsBlockContent.js +2 -0
- package/lib/BenefitsBlockContent.js.map +1 -0
- package/lib/BlockContent.d.ts +15 -0
- package/lib/BlockContent.js +2 -0
- package/lib/BlockContent.js.map +1 -0
- package/lib/Blocks.d.ts +0 -15
- package/lib/Blocks.js +5 -5
- package/lib/Blocks.js.map +1 -1
- package/lib/ContentPage.d.ts +1 -1
- package/lib/ExchangeRateTile.d.ts +1 -3
- package/lib/ExchangeRateTile.js.map +1 -1
- package/lib/ExchangeRateTileContent.d.ts +3 -0
- package/lib/ExchangeRateTileContent.js +2 -0
- package/lib/ExchangeRateTileContent.js.map +1 -0
- package/lib/Footer/Contacts.d.ts +2 -1
- package/lib/Footer/Contacts.js.map +1 -1
- package/lib/Footer/Footer.d.ts +2 -8
- package/lib/Footer/Footer.js +1 -1
- package/lib/Footer/Footer.js.map +1 -1
- package/lib/Footer/Footer.mobile.d.ts +1 -1
- package/lib/Footer/FooterContent.d.ts +13 -0
- package/lib/Footer/FooterContent.js +2 -0
- package/lib/Footer/FooterContent.js.map +1 -0
- package/lib/Footer/FooterLink.d.ts +1 -1
- package/lib/Footer/Sitemap.d.ts +2 -1
- package/lib/Footer/Sitemap.js.map +1 -1
- package/lib/Footer/SocialMedia.d.ts +2 -1
- package/lib/Footer/SocialMedia.js.map +1 -1
- package/lib/Gallery.d.ts +2 -13
- package/lib/Gallery.js.map +1 -1
- package/lib/Gallery.mobile.d.ts +1 -1
- package/lib/Gallery.mobile.js.map +1 -1
- package/lib/GalleryContent.d.ts +13 -0
- package/lib/GalleryContent.js +2 -0
- package/lib/GalleryContent.js.map +1 -0
- package/lib/Header/HeaderContent.d.ts +2 -3
- package/lib/Header/isSubItemActive.d.ts +1 -1
- package/lib/Header/isTopItemActive.d.ts +1 -1
- package/lib/Img.d.ts +1 -1
- package/lib/MobileAppTile.d.ts +1 -9
- package/lib/MobileAppTile.js.map +1 -1
- package/lib/MobileAppTileContent.d.ts +9 -0
- package/lib/MobileAppTileContent.js +2 -0
- package/lib/MobileAppTileContent.js.map +1 -0
- package/lib/MobileBlocks.js +1 -1
- package/lib/MobileBlocks.js.map +1 -1
- package/lib/Placeholder.d.ts +1 -3
- package/lib/Placeholder.js.map +1 -1
- package/lib/PlaceholderContent.d.ts +3 -0
- package/lib/PlaceholderContent.js +2 -0
- package/lib/PlaceholderContent.js.map +1 -0
- package/lib/ProductBlock.d.ts +2 -4
- package/lib/ProductBlock.js.map +1 -1
- package/lib/ProductBlock.mobile.d.ts +1 -1
- package/lib/ProductBlock.mobile.js.map +1 -1
- package/lib/ProductBlockContent.d.ts +5 -0
- package/lib/ProductBlockContent.js +2 -0
- package/lib/ProductBlockContent.js.map +1 -0
- package/lib/ProductBlockInner.d.ts +1 -5
- package/lib/ProductBlockInner.js.map +1 -1
- package/lib/ProductBlockInnerContent.d.ts +5 -0
- package/lib/ProductBlockInnerContent.js +2 -0
- package/lib/ProductBlockInnerContent.js.map +1 -0
- package/lib/ProductGallery.d.ts +1 -14
- package/lib/ProductGallery.js.map +1 -1
- package/lib/ProductGalleryContent.d.ts +14 -0
- package/lib/ProductGalleryContent.js +2 -0
- package/lib/ProductGalleryContent.js.map +1 -0
- package/lib/ProductTile.d.ts +1 -5
- package/lib/ProductTile.js.map +1 -1
- package/lib/ProductTileContent.d.ts +5 -0
- package/lib/ProductTileContent.js +2 -0
- package/lib/ProductTileContent.js.map +1 -0
- package/lib/PromoTile.d.ts +1 -4
- package/lib/PromoTile.js.map +1 -1
- package/lib/PromoTileContent.d.ts +4 -0
- package/lib/PromoTileContent.js +2 -0
- package/lib/PromoTileContent.js.map +1 -0
- package/lib/StepsBlock.d.ts +1 -10
- package/lib/StepsBlock.js.map +1 -1
- package/lib/StepsBlockContent.d.ts +10 -0
- package/lib/StepsBlockContent.js +2 -0
- package/lib/StepsBlockContent.js.map +1 -0
- package/lib/TextBlock.d.ts +2 -11
- package/lib/TextBlock.js.map +1 -1
- package/lib/TextBlockContent.d.ts +10 -0
- package/lib/TextBlockContent.js +2 -0
- package/lib/TextBlockContent.js.map +1 -0
- package/lib/Tile.d.ts +2 -2
- package/lib/Tile.js.map +1 -1
- package/lib/TileContent.d.ts +2 -0
- package/lib/TileContent.js +2 -0
- package/lib/TileContent.js.map +1 -0
- package/lib/common.css +1 -1
- package/lib/content-page-repository/transformContentPage.js.map +1 -1
- package/lib/content-page-repository/transformPicture.d.ts +1 -1
- package/lib/index.d.ts +5 -3
- package/lib/index.js +1 -0
- package/lib/index.js.map +1 -1
- package/lib/mergeTopItems.d.ts +2 -2
- package/lib/mergeTopItems.js.map +1 -1
- package/lib/model/BlockVersion.d.ts +1 -0
- package/lib/model/BlockVersion.js +2 -0
- package/lib/model/BlockVersion.js.map +1 -0
- package/lib/model/ButtonVersion.d.ts +1 -0
- package/lib/model/ButtonVersion.js +2 -0
- package/lib/model/ButtonVersion.js.map +1 -0
- package/lib/model/LinkContent.d.ts +5 -0
- package/lib/model/LinkContent.js +2 -0
- package/lib/model/LinkContent.js.map +1 -0
- package/lib/model/Picture.d.ts +17 -0
- package/lib/model/Picture.js +2 -0
- package/lib/model/Picture.js.map +1 -0
- package/lib/model/SitemapContent.d.ts +7 -0
- package/lib/model/SitemapContent.js +2 -0
- package/lib/model/SitemapContent.js.map +1 -0
- package/lib/types.d.ts +2 -32
- package/lib/ui-kit/Breadcrumb.d.ts +1 -1
- package/lib/ui-kit/Button.d.ts +1 -8
- package/lib/ui-kit/Button.js.map +1 -1
- package/lib/ui-kit/ButtonProps.d.ts +9 -0
- package/lib/ui-kit/ButtonProps.js +2 -0
- package/lib/ui-kit/ButtonProps.js.map +1 -0
- package/lib/ui-kit/Icon.d.ts +1 -10
- package/lib/ui-kit/Icon.js.map +1 -1
- package/lib/ui-kit/IconButton.d.ts +1 -6
- package/lib/ui-kit/IconButton.js.map +1 -1
- package/lib/ui-kit/IconButtonProps.d.ts +6 -0
- package/lib/ui-kit/IconButtonProps.js +2 -0
- package/lib/ui-kit/IconButtonProps.js.map +1 -0
- package/lib/ui-kit/IconProps.d.ts +10 -0
- package/lib/ui-kit/IconProps.js +2 -0
- package/lib/ui-kit/IconProps.js.map +1 -0
- package/lib/ui-kit/Title.d.ts +1 -10
- package/lib/ui-kit/Title.js +1 -7
- package/lib/ui-kit/Title.js.map +1 -1
- package/lib/ui-kit/TitleProps.d.ts +10 -0
- package/lib/ui-kit/TitleProps.js +8 -0
- package/lib/ui-kit/TitleProps.js.map +1 -0
- package/lib/ui-kit/TopItem.d.ts +1 -1
- package/lib/useLink.d.ts +5 -2
- package/lib/useLink.js.map +1 -1
- package/lib/useSitemap.d.ts +1 -1
- package/package.json +6 -2
- package/src/BaseTile.tsx +5 -13
- package/src/BaseTileContent.ts +14 -0
- package/src/BenefitsBlock.tsx +2 -12
- package/src/BenefitsBlockContent.ts +12 -0
- package/src/BlockContent.ts +30 -0
- package/src/Blocks.ts +12 -30
- package/src/ContentPage.tsx +1 -1
- package/src/ExchangeRateTile.tsx +2 -5
- package/src/ExchangeRateTileContent.ts +3 -0
- package/src/Footer/Contacts.tsx +2 -1
- package/src/Footer/Footer.mobile.tsx +1 -1
- package/src/Footer/Footer.tsx +3 -10
- package/src/Footer/FooterContent.ts +15 -0
- package/src/Footer/FooterLink.ts +1 -1
- package/src/Footer/HorizontalNavigation.tsx +2 -2
- package/src/Footer/Sitemap.tsx +3 -2
- package/src/Footer/SocialMedia.tsx +4 -2
- package/src/Footer/TextInformation.tsx +1 -1
- package/src/Gallery.fixture.tsx +1 -1
- package/src/Gallery.mobile.tsx +2 -1
- package/src/Gallery.tsx +2 -15
- package/src/GalleryContent.ts +15 -0
- package/src/Header/HeaderContent.ts +2 -3
- package/src/Header/isSubItemActive.ts +1 -1
- package/src/Header/isTopItemActive.ts +1 -1
- package/src/Img.tsx +1 -1
- package/src/MobileAppTile.tsx +1 -11
- package/src/MobileAppTileContent.ts +11 -0
- package/src/MobileBlocks.ts +1 -1
- package/src/Placeholder.tsx +1 -4
- package/src/PlaceholderContent.ts +3 -0
- package/src/ProductBlock.fixture.tsx +1 -1
- package/src/ProductBlock.mobile.tsx +1 -1
- package/src/ProductBlock.tsx +3 -5
- package/src/ProductBlockContent.ts +6 -0
- package/src/ProductBlockInner.tsx +2 -6
- package/src/ProductBlockInnerContent.ts +6 -0
- package/src/ProductGallery.fixture.tsx +1 -1
- package/src/ProductGallery.tsx +2 -16
- package/src/ProductGalleryContent.ts +16 -0
- package/src/ProductTile.fixture.tsx +1 -1
- package/src/ProductTile.tsx +3 -7
- package/src/ProductTileContent.ts +6 -0
- package/src/PromoTile.tsx +1 -5
- package/src/PromoTileContent.ts +5 -0
- package/src/StepsBlock.tsx +2 -12
- package/src/StepsBlockContent.ts +12 -0
- package/src/TextBlock.fixture.tsx +1 -1
- package/src/TextBlock.tsx +3 -12
- package/src/TextBlockContent.ts +12 -0
- package/src/Tile.fixture.tsx +1 -1
- package/src/Tile.tsx +4 -3
- package/src/TileContent.ts +3 -0
- package/src/content-page-repository/transformContentPage.ts +2 -1
- package/src/content-page-repository/transformPicture.ts +1 -1
- package/src/index.ts +6 -11
- package/src/mergeTopItems.ts +5 -5
- package/src/model/BlockVersion.ts +1 -0
- package/src/model/ButtonVersion.ts +1 -0
- package/src/model/LinkContent.ts +5 -0
- package/src/model/Picture.ts +19 -0
- package/src/model/SitemapContent.ts +9 -0
- package/src/types.ts +2 -56
- package/src/ui-kit/Breadcrumb.tsx +1 -1
- package/src/ui-kit/Button.tsx +2 -9
- package/src/ui-kit/ButtonProps.ts +10 -0
- package/src/ui-kit/Icon.tsx +1 -32
- package/src/ui-kit/IconButton.tsx +2 -7
- package/src/ui-kit/IconButtonProps.ts +7 -0
- package/src/ui-kit/IconProps.ts +31 -0
- package/src/ui-kit/Title.tsx +1 -13
- package/src/ui-kit/TitleProps.ts +12 -0
- package/src/ui-kit/TopItem.tsx +1 -1
- package/src/useLink.ts +2 -2
- package/src/useSitemap.ts +1 -1
- package/dist/Footer/index.d.ts +0 -2
- package/dist/Footer/index.js +0 -5
- package/dist/Footer/index.js.map +0 -1
- package/dist/Header/index.d.ts +0 -3
- package/dist/Header/index.js +0 -5
- package/dist/Header/index.js.map +0 -1
- package/lib/Footer/index.d.ts +0 -2
- package/lib/Footer/index.js +0 -2
- package/lib/Footer/index.js.map +0 -1
- package/lib/Header/index.d.ts +0 -3
- package/lib/Header/index.js +0 -2
- package/lib/Header/index.js.map +0 -1
- package/src/Footer/index.ts +0 -2
- package/src/Header/index.ts +0 -3
|
@@ -0,0 +1 @@
|
|
|
1
|
+
!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports):"function"==typeof define&&define.amd?define(["exports"],t):t((e="undefined"!=typeof globalThis?globalThis:e||self).UniBlocks={})}(this,(function(e){"use strict";const t=(e,n)=>{t._jsx=e,t._jsxs=n||e};t.vue=e=>{t(((t,{children:n,dangerouslySetInnerHTML:r,...a}={})=>{const i=Object.assign({},a,r?{innerHTML:r.__html}:{});return e(t,i,"string"!=typeof t?()=>n:n)}))};const n=(...e)=>t._jsx(...e),r=(...e)=>t._jsxs(...e),a=e=>(e._tmpl||(e._tmpl=function(t,n){const{children:r,...a}=t||{},i=n?.slots?.default,l=r||i&&i();return e(Object.assign(a,l&&{children:l}),n)},e._tmpl.inheritAttrs=!1),e._tmpl),i=new class{_={PROD_BRANCH:"master",FORCED_DRAFT_FLOW:!1};setup(e){this._=e}get TEST_BRANCH(){return this._.TEST_BRANCH}get RC_BRANCH(){return this._.RC_BRANCH}get PROD_BRANCH(){return this._.PROD_BRANCH}get FORCED_DRAFT_FLOW(){return this._.FORCED_DRAFT_FLOW}get ENABLE_ASSIST(){return this._.ENABLE_ASSIST}get SITEMAP(){return this._.SITEMAP}get CDN(){return this._.CDN}},l="likesToken";const s=a((({HeadComponent:e,data:t,children:a})=>{const{title:i,description:l,keywords:s,robots:c,og:o}=t;return r(e,{children:[n("title",{children:i}),n("meta",{name:"viewport",content:"width=device-width, initial-scale=1"}),l&&n("meta",{name:"description",content:l}),s&&n("meta",{name:"keywords",content:s.join(",")}),c&&n("meta",{name:"robots",content:c.join(",")}),o?Object.entries(o).map((([e,t])=>n("meta",{name:`og:${e}`,content:t},e))):null,a]})})),c=a((({className:e,onClick:t,ariaLabel:r})=>n("button",{type:"button",className:`border-0 w-[36px] bg-inherit cursor-pointer ${e||""}`,onClick:t,"aria-label":r,children:o()}))),o=()=>{const e={stroke:"#292D32",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5"};return r("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",children:[n("path",{...e,strokeMiterlimit:"10",d:"M21.48 11.95c.5-1.4-.4-2.6-1.9-2.6h-4c-.6 0-1.1-.5-1-1.2l.5-3.2c.2-.9-.4-1.9-1.3-2.2-.8-.3-1.8.1-2.2.7l-4.1 6.1M7.48 18.35l3.1 2.4c.4.4 1.3.6 1.9.6h3.8c1.2 0 2.5-.9 2.8-2.1l1.24-3.77"}),n("path",{...e,d:"M2.38 18.35v-9.8c0-1.4.6-1.9 2-1.9h1c1.4 0 2 .5 2 1.9v9.8c0 1.4-.6 1.9-2 1.9h-1c-1.4 0-2-.5-2-1.9Z"})]})},m=a((({className:e,context:t})=>{const a=t.useLikeService();return r("div",{className:`border-main border-2 border-solid bg-white flex w-[125px] items-center justify-center gap-3 p-2 font-sans ${e||""}`,children:[n(c,{onClick:a.like,ariaLabel:"Поставить отметку «лайк»"}),n(c,{onClick:a.dislike,className:"rotate-180",ariaLabel:"Поставить отметку «дизлайк»"}),n("span",{className:"select-none",children:a.likeCount})]})})),d=a((({className:e,image:t})=>r("picture",{className:`${e||""}`,children:[t.sources?.length?t.sources.map((({src:e,format:t},r)=>n("source",{srcSet:e,type:h(t)},`${r}_${e}`))):null,n("img",{src:t.src,alt:t.alt||t.title,title:t.title,...t?.size})]})));function h(e){return e?`image/${String(e)}`:void 0}const x={primary:"bg-primary-main",secondary:"bg-white"},u={primary:"text-primary-text",secondary:"text-white"},p=a((({className:e,text:t,children:a,version:i="primary"})=>r("div",{className:`inline-block flex ${e||""}`,role:"listitem",children:[n("div",{className:`inline-block w-[8px] h-[8px] min-w-[8px] min-h-[8px] rounded-full mt-2 ${x[i]}`}),n("span",{className:`text-base font-normal font-sans mx-3 ${u[i]}`,children:t||a})]}))),f={primary:"text-white bg-primary-main hover:bg-primary-hover active:bg-primary-active",secondary:"text-primary-main bg-secondary-light hover:bg-secondary-hover active:bg-secondary-active"},b={primary:"bg-secondary-dark text-secondary-text",secondary:"bg-secondary-light text-secondary-text"},g="inline-block rounded-md px-8 py-2 text-center font-sans",N=a((({className:e,text:t,href:r,target:a,onClick:i,children:l,disabled:s,version:c="primary",ariaLabel:o})=>s?n("div",{role:"button","aria-disabled":"true","aria-label":o,tabIndex:"-1",className:`${g} select-none ${b[c]} ${e||""}`,children:n("div",l?{children:l}:{className:"text-sm font-medium py-1.5",children:t})}):n("a",{className:`${g} no-underline ${f[c]} ${e||""}`,href:r,target:a,onClick:i,"aria-label":o,children:n("div",l?{children:l}:{className:"text-sm font-medium py-1.5",children:t})}))),v=a((({className:e,name:t,alt:r=`Icon ${t}`,title:a=r,...l})=>n("img",{className:e,src:`${i.CDN||""}icons/${t}.svg`,alt:r,title:a,...l}))),y=a((e=>n(N,{...e,children:e.icon?r("div",{className:"flex items-center",children:[n("div",{className:"mr-2",children:n(v,{name:e.icon,width:"24",height:"24"})}),r("div",{children:[n("div",{className:"text-xxs text-left",children:e.aboveText}),n("div",{className:"text-sm font-medium text-left",children:e.text})]})]}):null})));var w;!function(e){e.XL="text-title-lg",e.L="text-title",e.M="text-title-sm",e.S="text-title-xs"}(w||(w={}));const k=a((({size:e="L",className:t,children:r,...a})=>n("XL"===e?"h1":"h2",{className:$(w[e],t),...a,children:r}))),$=(...e)=>e.filter(Boolean).join(" "),S="/mobile",C=e=>e?.includes("//"),_=(e,t,n=((e,t)=>e===t))=>n(L(e),j(L(C(e)?t.href:t.pathname))),L=e=>(e||"").replace(/\/?\?.*/,""),j=e=>(e||"").replace(S,""),D=e=>{if(!C(e))return;const t=e,n=t.indexOf("//"),r=t.indexOf("/",n+"//".length);return-1!==r?t.substring(0,r):t},T=(e,t)=>{if(!e)return e;const n=R(e,t),r=t?.pathname.startsWith(S);return r&&!C(n)?`/mobile${n}`:n},R=(e,t)=>{if(!e)return e;const n=D(t?.href);return n?e.replace(n,"")||"/":e};var A=Object.freeze({__proto__:null,MOBILE_URL_PATH:S,isURL:C,isHrefActive:_,withoutQuery:L,withoutMobilePath:j,getOrigin:D,adjustHref:T,toRelativeHref:R});const I=(e,t)=>e;function B({router:e,handlerDecorator:t=I},n){const r=T(n.href,e);return{...n,href:r,ariaLabel:n.text,onClick:t((t=>{const a=r&&!C(r),i=!n.target||"_self"===n.target;a&&i&&(t.preventDefault(),e.push(r))}),n)}}const O=e=>{const t="col-span-",n=e.split(/\s+/).find((e=>e.startsWith(t)));return n?parseInt(n.substring(t.length),10):12},P=a((({className:e,context:t,title:a,titleSize:i,description:l,children:s,buttons:c,image:o,items:m,version:h="primary"})=>{const x=t.useRouter(),{handlerDecorator:u}=t;return r("div",{className:"font-sans flex flex-col grow h-full",children:[a&&n(k,{size:i||M(e),className:"font-medium m-0 mb-4 whitespace-pre-wrap max-w-[600px]",children:a}),r("div",{className:"flex grow justify-between",children:[r("div",{className:"flex flex-col justify-between items-start",children:[r("div",{children:[l?n("div",{className:"font-normal text-base max-w-[600px] mb-5",children:l}):null,s,m?.length?Z(m,h):null]}),c?.length?n("div",{className:"flex mt-9 gap-3",children:c.map(((e,t)=>function(e,t){return e?.text?n(y,{...e},String(t)):null}(B({router:x,handlerDecorator:u},e),t)))}):null]}),o?.src&&n(d,{className:"mt-auto ml-7",image:o})]})]})}));function M(e=""){const t=O(e);return t<=4?"S":t<=8?"M":"L"}function Z(e=[],t){return n("section",{className:"max-w-[600px]",role:"list",children:e.map(((e,r)=>n(p,{className:r?"mt-2.5":"",text:e,version:t},String(r))))})}const F={primary:"bg-white text-primary-text",secondary:"bg-primary-main text-white"},H=a((e=>{const{children:t,className:r,version:a="primary"}=e;return n("section",{className:`font-sans p-9 min-h-[320px] box-border ${r||""} ${F[a]} ${V(r)} `,children:n(P,{...e,children:t})})}));function V(e=""){const t=O(e);return t<=6?"pr-9":t<=8?"pr-[4.75rem]":"pr-[9.4rem]"}const E=a((({className:e,context:t,title:r})=>n(H,{className:e,context:t,title:r,description:"Блок в разработке...",children:n("figure",{className:"m-0 min-w-[600px]",children:z()})}))),z=(e=3)=>W(100,e).map((e=>Math.floor(e))).map(U),U=(e=100,t)=>n("div",{style:{width:`${e}%`},className:"h-4 mt-2 bg-secondary-light"},String(t)),W=(e,t)=>[e].concat(t>0?W(e/1.618,t-1):[]),J=({blockClassName:e,block:t,render:n})=>n({blockClassName:e,block:t}),G=a((({className:e,context:t,blocksRegistry:a,data:{style:i,blocks:l,likeControl:s,colorPalette:c="pc"},blockDecorator:o=J})=>r("section",{className:"relative","data-theme":c,children:[n("div",{className:`grid grid-cols-12 gap-1 ${X(i)} ${e||""}`,children:l?.length?l.map((function e(r,i){const{type:l}=r;l in a||console.warn(`No block with "${l}" is registered`);const s=a[l]||E;return o({blockClassName:X(r.style),block:r,render:r=>{const{version:a,content:c,blocks:o}=r.block;return n(s,{className:r.blockClassName,version:a,context:t,...c,children:o?.length?o.map(e):null},`${l}-${i}`)}},`block-${i}`)})):null}),s&&n("div",{className:"flex items-end absolute bottom-0 right-0 h-full pointer-events-none",children:n(m,{className:"rounded-tl-lg sticky bottom-0 pointer-events-auto",context:t})})]})));function X(e){return e?e.join(" "):""}function Q(e){const{mobile:t}=e;return t?{...e,style:t.style?.length?t.style:e.style}:e}const q=a((({className:e,title:t,benefits:a})=>r("section",{className:`font-sans text-primary-text bg-white p-12 pb-2 flex flex-col items-center ${e||""}`,children:[n("h2",{className:"font-medium text-title m-0 max-w-[47rem] text-center",children:t}),a?.length?n("div",{className:"grid grid-cols-2 gap-5 mt-9",children:a.map(K)}):null]}))),K=(e,t)=>r("div",{className:"flex items-center p-10 gap-5 max-w-[580px]",children:[e.icon&&n(v,{className:"h-[70px] w-[70px] min-w-[70px] min-h-[70px]",name:e.icon,width:"70",height:"70"}),r("div",{children:[n("h3",{className:"font-medium text-xl m-0",children:e.label}),e.description&&n("div",{className:"font-normal text-sm mt-2",children:e.description})]})]},String(t)),Y="https://www.cbr-xml-daily.ru/daily_json.js",ee=["USD","EUR"],te={USD:"DollarIcon",EUR:"EuroIcon"},ne=[{text:"Все показатели",href:"https://cbr.ru/currency_base/daily/"}],re=a((({className:e,context:t,title:a})=>{const{data:i}=t.useAsyncData(Y,le);return n(H,{className:e,context:t,title:a||"Курсы обмена валют",buttons:ne,children:r("table",{children:[n("thead",{children:r("tr",{children:[n(ae,{children:"Валюта"}),n(ae,{className:"pl-11",children:"Курс"})]})}),n("tbody",{children:ee.map((e=>{const t=(i?.Valute||{})[e]?.Value;return r("tr",{children:[n(ie,{className:"pt-4",children:r("div",{className:"flex items-center",children:[n(v,{name:te[e],width:"24",height:"24"}),n("span",{className:"ml-2",children:e})]})}),n(ie,{className:"pt-4 pl-11",children:ce(t)})]},e)}))})]})})})),ae=a((({className:e="",children:t})=>n("th",{className:`text-left font-normal text-sm text-secondary-text ${e}`,children:t}))),ie=a((({className:e="",children:t})=>n("td",{className:`text-left font-normal text-base text-primary-text ${e}`,children:t})));async function le(){const e=await fetch(Y);return await e.json()}const se=new Intl.NumberFormat("ru",{style:"currency",currency:"RUB"}),ce=e=>e?se.format(e):"",oe=a((({className:e,viewBox:t,fill:r="none",paths:a,...i})=>n("svg",{xmlns:"http://www.w3.org/2000/svg",className:e,viewBox:t,fill:r,children:a.map((({d:e,fill:t,...r},a)=>n("path",{d:e,fill:t||"currentColor",...i,...r},a)))}))),me=["m13.72 25.51 4.42-4.33v-2.95l-4.42 4.32v2.96Zm0-10.98 4.42-4.35V7.41l-4.42 4.31v2.8Zm0 3.63 4.42-4.33v-2.78l-4.42 4.32v2.8ZM12.46 7.44l-.6-.56V0h-.66v6.22l-.58-.57V0h-.67v5l-.59-.58V0H8.7v6.56l4.44 4.33V0h-.67v7.44Zm1.26 14.35 4.42-4.33v-2.78L13.72 19v2.8Zm-5.03-.61 4.44 4.33v-2.96l-4.44-4.32v2.95Zm8.79-16.76-.59.58V0h-.66v5.66l-.6.56V0h-.66v6.87l-.58.57V0h-.67v10.9l4.42-4.34V0h-.66v4.42Zm-8.79 5.76 4.44 4.35v-2.8L8.69 7.4v2.77Zm0 3.65 4.44 4.33v-2.8l-4.44-4.3v2.77Zm0 3.63 4.44 4.33V19l-4.44-4.31v2.78Zm26.37 2.29H24.3a2.25 2.25 0 0 0 .36-1.22 2.32 2.32 0 0 0-2.33-2.31 2.32 2.32 0 0 0-2.31 2.31c0 .5.16.96.43 1.34a.74.74 0 0 0-.33.61c0 .26.14.49.33.62a2.32 2.32 0 0 0-.43 1.34 2.31 2.31 0 0 0 2.31 2.31 2.32 2.32 0 0 0 2.33-2.31c0-.45-.13-.87-.36-1.22h8.01v.49h-.8v.68h.8v.7h-.8v1.3h.8v-.58h1.17v.58h.79v-1.3h-.79v-.7h.79v-.68h-.79v-.5h1.58a.56.56 0 0 0 .56-.56v-.34a.57.57 0 0 0-.56-.56Zm-11.53 2.7a1.2 1.2 0 0 1-2.4 0c0-.24.08-.47.2-.66l.34-.56a.97.97 0 0 1-.34-.75c0-.3.13-.56.33-.74l-.32-.56a1.13 1.13 0 0 1-.2-.66 1.2 1.2 0 0 1 2.4 0c0 .49-.56 1.65-.56 1.65v.62c-.01.01.55 1.17.55 1.66ZM4.67 18.34v2.89c0 2.75 1.2 4.53 1.9 5.21l4.58 4.5c1.28 1.25 1.5 1.66 1.79 2.37v-3.2c0-2.84-1.44-3.94-2.19-4.67-1.73-1.68-2.89-2.8-3.82-3.73a8.98 8.98 0 0 1-2.26-3.37Zm6.08 14.24c-1.73-1.7-2.89-2.8-3.82-3.73a10 10 0 0 1-2.25-2.98v2.49a7.87 7.87 0 0 0 1.89 5.24l4.58 4.47c1.28 1.25 1.5 1.85 1.79 2.55v-3.37c0-2.85-1.45-3.95-2.19-4.67Z","M19.88 5.34c-.32 0-.64 0-.96.02V6.7a18.5 18.5 0 1 1 .95 36.94A18.5 18.5 0 0 1 1.35 25.17c0-5.67 2.55-10.73 6.58-14.13V9.32A19.78 19.78 0 0 0 0 25.17C0 36.12 8.9 45 19.88 45a19.85 19.85 0 0 0 19.86-19.83c0-10.95-8.9-19.83-19.87-19.83Z","M33.93 35.53c.3-.41.6-.85.87-1.3v-2.66h-.87v3.96Zm2.54-4.92c.12-.4.24-.78.34-1.16h-2.88v.7h.43c.77-.02 1.63-.03 2.11.46Zm-19.19-1.27h-.78v7.91h.78v-7.9Z","M14.7 27.83h2.58c.67 0 1.14.14 1.4.4.27.25.4.72.4 1.38v7.4c0 .66-.12 1.12-.4 1.38-.4.41-1.16.41-1.78.41l-.4-.01v3.5l.78.14v-2.88c1.2 0 1.97-.4 2.34-1.22v4.29h.26l.5-.01V29.74c0-.68.13-1.16.4-1.43.25-.27.72-.4 1.37-.4.67 0 1.65-.1 2.16.4.26.27.38.76.38 1.43v3.8h-1.77v-4.06h-.77v12.99c.26-.03.5-.07.77-.12V34.3h1.77v7.64c.36-.1.72-.21 1.08-.34v-7c0-.8.19-1.4 1-1.67l-.9-4.87h1.8l.3 5.31h.22l.3-5.31h1.88l-1.01 4.87c.84.3 1.01.81 1.01 1.66v4.53a16.63 16.63 0 0 0 1.5-1.27v-9.83h5.25l.1-.72H24.93l.17.89c-.38-.72-1.12-1.08-2.2-1.08h-.77c-1.3 0-2.1.52-2.4 1.55-.27-1.08-1.1-1.62-2.46-1.62h-3.36v14.52c.26.09.52.18.78.25V27.84Zm16.29 5.58-.85-.8.85-4.37v5.17Z","M27.66 40.79c.27-.14.55-.28.8-.43v-5.98h-.8v6.4Z"],de=a((({className:e,href:t,children:a,targetBlank:i})=>r("a",{className:`inline-flex items-center font-sans no-underline ${e||""}`,href:t||"https://rshb.ru/",target:i?"_blank":"_self",children:[n(oe,{className:"text-primary-main w-10",viewBox:"0 0 40 45",paths:me.map((e=>({d:e})))}),n("span",{className:"text-black text-base font-medium ml-2.5",children:a||"Россельхозбанк"})]}))),he=a((({className:e,context:t})=>{const{term:a,setTerm:i}=t.useSearch();return r("form",{className:`relative ${e||""}`,children:[r("div",{className:"absolute rounded h-full flex items-center justify-center pl-4 max-w-[170px] gap-3.5 pointer-events-none",children:[n("div",{className:"w-[24px] h-[24px]",children:n(v,{name:"LoupeIcon",width:"24",height:"24"})}),!a&&n("span",{className:"font-sans font-normal text-base text-secondary-text",children:"Поиск по сайту"})]}),n("input",{className:"pl-12 w-full font-sans font-normal text-base text-black border border-solid border-main-divider rounded h-full box-border outline-none pr-[6%]",value:a,onChange:e=>i(e.target.value),type:"text",name:"s"}),a&&n("button",{type:"submit",className:"absolute font-sans font-normal text-sm cursor-pointer bg-transparent hover:bg-primary-hover active:bg-primary-active text-primary-main hover:text-white border-none px-5 py-2 rounded top-1 right-1 outline-none",onClick:e=>{e.preventDefault(),console.log("click")},children:"Найти"})]})})),xe=a((({className:e,items:t,hasButton:a,context:i})=>{const l=i.useRouter(),{handlerDecorator:s}=i;return r("div",{className:`flex flex-col ${e||""}`,children:[t?.length?t.map(ue):null,a?n(N,{className:"my-4",...B({router:l,handlerDecorator:s},{text:"Обратная связь",href:"/",target:"_blank"})}):null]})})),ue=(e,t)=>{const{type:a,text:i,description:l}=e;return r("div",{className:"mb-4",children:[n("div",{children:pe(a,i)}),n("div",{className:"font-sans text-sm text-secondary-text",children:l})]},String(t))},pe=(e,t)=>{switch(e){case"tel":return n("a",{className:"font-sans font-medium text-xl text-primary-text no-underline",href:`tel:${fe(t)}`,children:t});case"email":return n("a",{className:"font-sans font-medium text-xl text-primary-text no-underline",href:`mailto:${t}`,children:t});default:return n("span",{children:t})}},fe=e=>e.replaceAll(/(\-|\s|\(|\)|\D+)/g,""),be=a((({className:e,links:t,context:r})=>{const a=r.useRouter(),{handlerDecorator:i}=r;return n("div",{className:`${e||""}`,children:t?.length?n("div",{className:"flex justify-between items-center gap-5 py-5 border-solid border-x-0 border-y border-y-main-divider",children:t.map(((e,t)=>n(ge,{index:t,...B({router:a,handlerDecorator:i},e)},String(t))))}):null})})),ge=a((({className:e,index:t,text:r,href:a,target:i,onClick:l})=>n("a",{className:`font-sans font-normal text-sm text-secondary-text hover:text-primary-text inline-block no-underline max-w-[292px] ${e||""}`,href:a,target:i,onClick:l,children:r||`Документ ${t}`}))),Ne=e=>t=>e?.href===t?.href;function ve(e,t){return(r=e,a=t,(r||[]).map((e=>a?.find(Ne(e))||e))).concat((n=e,(t||[]).filter((e=>!n?.find(Ne(e))))));var n,r,a}function ye(e){const{data:t}=e(ke(),we);return t||{}}async function we(){const e=await fetch(ke());return await e.json()}function ke(){return`/wcms-resources/${i.SITEMAP||"sitemap"}.json`}const $e=a((({className:e,items:t,context:r})=>{const a=ve(ye(r.useAsyncData).topItems,t),i={router:r.useRouter(),handlerDecorator:r.handlerDecorator};return n("div",{className:`flex items-start justify-start gap-11 xl:gap-5 ${e||""}`,children:a?.map(((e,t)=>Se(e,t,i)))})})),Se=(e,t,{router:a,handlerDecorator:i})=>{const{text:l,href:s,items:c,target:o}=e;return r("div",{className:"flex flex-col w-[235px] gap-[14px]",children:[n("a",{className:"block font-sans font-medium text-base text-primary-text no-underline",href:s,target:o||"_self",children:l||`Раздел ${t}`}),c?.map(((e,t)=>n(Ce,{...B({router:a,handlerDecorator:i},e)},String(t))))]},String(t))},Ce=a((({text:e,href:t,target:r,index:a})=>n("a",{className:"block font-sans font-normal text-base text-secondary-text hover:text-primary-main no-underline",href:t,target:r||"_self",children:e||`Раздел ${a}`}))),_e=[{origins:["t.me","telegram.org"],icon:"TelegramIcon",label:"Телеграм"},{origins:["vk.com"],icon:"VKIcon",label:"ВКонтакте"},{origins:["ok.ru"],icon:"OkIcon",label:"Одноклассники"}],Le=a((({className:e,media:t,context:r})=>{const a=r.useRouter(),{handlerDecorator:i}=r;return n("div",{className:`flex items-end justify-end gap-2 pt-[30px] pb-7 ${e||""}`,children:t?.map(((e,t)=>n(je,{...B({router:a,handlerDecorator:i},e)},String(t))))})})),je=a((({href:e})=>{const{icon:t,label:r}=_e.find((({origins:t})=>t.some((t=>e?.includes(t)))))||{};return n("a",{className:"flex items-center justify-center border-solid border border-main-divider rounded-full no-underline outline-none w-9 h-9",href:e,target:"_blank",rel:"noopener noreferrer","aria-label":r,children:t&&n(v,{className:"block",name:t})})})),De=a((({className:e,links:t,context:a})=>{const i=a.useRouter(),{handlerDecorator:l}=a;return r("div",{className:`${e||""}`,children:[n("div",{className:"pt-5 pb-[5px]",children:n("span",{className:"font-sans font-normal text-xs text-secondary-text",children:`© 2000-${(new Date).getFullYear()} АО «Россельхозбанк» Генеральная лицензия Банка России № 3349 от 12.08.2015 г.`})}),t?.length?n("div",{className:"flex justify-start items-start gap-5 pt-[5px]",children:t.map(((e,t)=>n(Te,{index:t,...B({router:i,handlerDecorator:l},e)},String(t))))}):null]})})),Te=a((({className:e,index:t,text:r,href:a,target:i,onClick:l})=>n("a",{className:`font-sans font-normal text-xs text-secondary-text visited:text-secondary-text hover:text-primary-text inline-block no-underline max-w-[292px] ${e||""}`,href:a,target:i,onClick:l,children:r||`Документ ${t}`}))),Re=a((({className:e,documents:t,relatedEnterprises:a,contacts:i,socialMedia:l,topItems:s,context:c})=>r("footer",{className:`${e} px-9 py-10 bg-white`,children:[r("div",{className:"flex items-stretch gap-32 pb-8 xl:gap-8",children:[n(de,{className:"w-[280px] xl:w-[220px]"}),n(he,{context:c,className:"grow"})]}),r("div",{className:"flex items-stretch gap-32 xl:gap-8",children:[n(xe,{className:"w-[280px] shrink-0 overflow-hidden xl:w-[220px]",items:i,context:c,hasButton:!0}),n($e,{className:"pt-[3px]",context:c,items:s})]}),n(Le,{media:l,context:c}),n(be,{links:a,context:c}),n(De,{links:t,context:c})]}))),Ae=a((({className:e,onClick:t,ariaLabel:a})=>n("button",{className:`${e} border-none no-underline w-12 h-12 rounded-3xl bg-white flex text-black hover:text-primary-main`,style:{boxShadow:"0px 4px 25px rgba(0, 0, 0, 0.07)"},onClick:t,"aria-label":a,children:r("svg",{className:"m-auto",width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[n("path",{d:"M7 12L3 8L7 4",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round"}),n("path",{d:"M14 9C14.5523 9 15 8.55228 15 8C15 7.44772 14.5523 7 14 7L14 9ZM8 7C7.44772 7 7 7.44772 7 8C7 8.55229 7.44772 9 8 9L8 7ZM14 7L8 7L8 9L14 9L14 7Z",fill:"currentColor"})]})}))),Ie=a((({title:e,description:t,context:a,cards:i=[],className:l})=>{const[s,c]=a.useState(0);const o=i?.length>3,m=o&&i?.length-s>3,d=o&&s>0;return r("section",{className:`relative font-sans text-primary-text bg-white p-12 overflow-hidden ${l}`,children:[r("div",{className:"flex flex-col items-center mb-8",children:[n(k,{className:"font-medium m-0 text-centers",children:e}),t?n("div",{className:"font-normal text-base max-w-[600px] mt-3",children:t}):null]}),n("div",{className:`flex ${i?.length<=3?"justify-center":""} duration-1000`,style:{transform:`translateX(-${384*s}px)`},role:"list",children:i?.map(Be)}),d&&n(Ae,{className:"absolute top-1/2 left-8",onClick:function(){c(s-1)},ariaLabel:"Пролистать влево"}),m&&n(Ae,{className:"absolute top-1/2 right-1 z-20 rotate-180",onClick:function(){c(s+1)},ariaLabel:"Пролистать вправо"}),n("div",{className:"absolute top-0 right-0 bottom-0 w-[84px]",style:{background:"linear-gradient(270deg, #FFFFFF 34.89%, rgba(255, 255, 255, 0) 92.52%)"}})]})}));function Be(e,t){return r("div",{className:"box-border border-solid border rounded-md border-main-divider p-7 mx-2 flex flex-col justify-between items-stretch min-w-[364px] w-[364px] w-full",role:"listitem",children:[r("div",{children:[e.image?.src?n("div",{className:"flex justify-center",children:n(d,{className:"mb-6",image:e.image})}):null,e.title?n("h4",{className:"font-medium text-xl m-0 "+(e.description||e.items?.length?"":"text-center"),children:e.title}):null,e.description?n("div",{className:"font-normal text-sm text-secondary-text mt-2",children:e.description}):null,e.items?.length?Oe(e.items):null]}),e.href?n(N,{className:"mt-6",text:"Подробнее",version:"secondary",href:e.href}):null]},t)}function Oe(e=[]){return n("section",{className:"max-w-[308px] mt-2",role:"list",children:e.map(((e,t)=>n(p,{children:n("span",{className:"text-sm text-secondary-text",children:e})},String(t))))})}const Pe=a((({className:e,text:t,href:a,target:i,active:l,onClick:s,children:c})=>r("a",{className:`relative inline-block bg-transparent text-center no-underline ${e||""}`,href:a,target:i,onClick:s,children:[n("span",{className:`font-sans font-normal text-base ${l?"text-primary-main":"text-primary-text hover:text-primary-main"}`,children:t||c}),l?n("div",{className:"absolute left-0 -bottom-2 w-full h-[2px] bg-primary-main"}):null]}))),Me=a((({className:e,text:t,href:r,target:a,active:i,flat:l,onClick:s,children:c,ariaLabel:o})=>n("a",{className:`inline-block border border-solid bg-transparent text-center no-underline ${l?"":"px-4 py-2"} ${i?"border-primary-main rounded-md":"border-transparent"} ${e||""}`,href:r,target:a,onClick:s,rel:"noopener noreferrer","aria-label":o,children:n("span",{className:`font-sans font-normal text-sm ${i?"text-primary-main":(l?"text-primary-text":"text-secondary-text")+" hover:text-primary-main"}`,children:t||c})}))),Ze=a((({className:e,children:t,ariaLabel:r})=>n("button",{type:"button",className:`border-0 p-0 w-[24px] flex items-center bg-inherit cursor-pointer ${e||""}`,disabled:!0,"aria-label":r,children:t}))),Fe=a((({context:e,className:t,defaultLocation:a=""})=>{const[i,l]=e.useGeolocation(a);return r("div",{className:`flex items-center ${t||""}`,children:[n(Me,{className:"mr-5",flat:!0,href:"#",text:i,ariaLabel:"Местоположение",onClick:l}),n(Me,{className:"mr-7",flat:!0,href:"#",text:"Офисы и банкоматы",ariaLabel:"Список всех доступных офисов и банкоматов"}),n(Ze,{className:"mr-5 text-primary-text hover:text-primary-main",ariaLabel:"Поиск по сайту",children:n(v,{name:"LoupeIcon","aria-hidden":"true"})}),n(Ze,{className:"mr-5 text-primary-text hover:text-primary-main",ariaLabel:"Профиль",children:n(v,{name:"ProfileIcon","aria-hidden":"true"})}),n(Ze,{className:"mr-5 text-secondary-light hover:text-secondary-active min-w-[32px] min-h-[32px]",ariaLabel:"Дополнительные ссылки",children:n(v,{name:"GridIcon","aria-hidden":"true"})})]})}));const He=a((({className:e,defaultLocation:t,context:a,topItems:i})=>{const l=a.useRouter(),s=ye(a.useAsyncData),{handlerDecorator:c}=a,o=ve(s.topItems,i),m=o.find(function(e){return t=>_(t.href,e,((e,t)=>t.startsWith(e)))}(l)),d=m?.items,h=d?.find(function(e){return t=>_(t.href,e)}(l)),x=o.map(((e,t)=>n(Me,{active:e===m,...B({router:l,handlerDecorator:c},e),ariaLabel:e.text},String(t)))),u=d?.map((e=>n(Pe,{className:"mr-8",active:e===h,...B({router:l,handlerDecorator:c},e)},e.href)));return r("header",{className:`pt-5 pb-8 px-20 bg-white ${e||""}`,children:[r("div",{className:"flex items-center",children:[n(de,{className:"mr-8"}),x,n(Fe,{context:a,className:"ml-auto",defaultLocation:t})]}),n("div",{className:"mt-5 h-[1px] bg-main-divider"}),n("nav",{className:"mt-5",children:u})]})})),Ve=a((({className:e,context:t,title:a="Мобильное приложение",qr:i,buttons:l=[]})=>n(H,{className:e,context:t,title:a,buttons:l,children:r("div",{className:"flex items-center",children:[i?.src&&i?.href&&n("a",{href:i.href,target:"_blank",children:n("img",{src:i.src,alt:a,title:a,width:"164",height:"164",className:"w-[90px] h-[90px] min-w-[90px] min-h-[90px] bg-secondary-light"})}),n("span",{className:"font-normal text-sm text-secondary-text ml-4",children:"Наведите камеру телефона на QR-код и скачайте приложение"})]})}))),Ee=a((({className:e,context:t,title:a,titleSize:i,description:l,benefits:s,buttons:c,image:o,items:m})=>r("div",{className:`flex grow justify-between items-stretch ${e||""}`,children:[r("div",{className:"flex flex-col",children:[a&&n(k,{size:i||"XL",className:"font-medium m-0 mb-4 whitespace-pre-wrap max-w-[600px]",children:a}),n(P,{context:t,description:l,items:m,buttons:c,children:s?.length?n("div",{className:"flex gap-6 mt-6 mb-3.5",children:s.map(ze)}):null})]}),o?.src&&n(d,{className:"mt-auto",image:o})]})));function ze(e,t){return r("div",{className:"flex gap-4 items-center",children:[e.icon&&n(v,{className:"w-[50px] h-[50px] min-w-[50px] min-h-[50px] bg-main rounded-full p-[10px] box-border",name:e.icon,width:"24",height:"24"}),r("div",{className:"flex gap-1 flex-col h-full",children:[n("h4",{className:"font-medium text-xl m-0",children:e.label}),e.description&&n("div",{className:"font-normal text-sm text-secondary-text",children:e.description})]})]},String(t))}const Ue=a((({text:e,href:t,target:r,onClick:a,className:i,children:l})=>t?n("a",{className:`no-underline ${i||""}`,href:t,target:r,onClick:a,children:n("span",{className:`${i||""}`,children:e||l})}):n("span",{className:`${i||""}`,children:e||l})));function We(e){return t=>t.reduce(((t,n,r)=>t.length?t.concat({...e,key:r},n):[n]),[])}const Je=a((e=>{const{context:t,className:a,breadcrumbs:i}=e,l=t.useRouter(),{handlerDecorator:s}=t;return r("section",{className:`font-sans bg-white pt-10 pl-[50px] pb-[50px] pr-[7.5rem] ${a||""}`,children:[i?.length?n("div",{className:"text-xs mb-6",children:We(n("span",{className:"text-secondary-text mx-2",children:"/"}))(i.map(((e,t)=>n(Ue,{...B({router:l,handlerDecorator:s},{className:"text-secondary-text",...e})},String(t)))))}):null,n(Ee,{...e})]})})),Ge=a((({className:e,context:t,duration:a=0,slides:i=[]})=>{const l=i.map((e=>e.nav)),s=i.map((e=>e.productBlock)),[c,o]=t.useState(0);return r("section",{className:`font-sans bg-white overflow-hidden w-100 ${e||""}`,children:[n("div",{className:"flex duration-1000",style:{transform:`translateX(-${c}00%)`},role:"list",children:s.map(((e,r)=>function(e,t,r){return n("section",{className:"flex grow-0 shrink-0 basis-full",role:"listitem",children:n("div",{className:"p-10 flex grow",children:n(Ee,{className:"pl-2.5 pt-2.5 pb-1.5 pr-[6.25rem]",context:r,...e})})},String(t))}(e,r,t)))}),n("div",{className:"border-t border-solid border-main-divider flex",children:l.map(((e,t)=>function({slide:e,i:t,activeSlideIndex:a,onClick:i,duration:l}){const s=t===a,c=s?"animate-slide":"";return r("button",{type:"button",onClick:i,className:"group relative overflow-hidden border-0 bg-inherit cursor-pointer text-left px-0 py-4 grow basis-0",children:[r("div",{className:"border-0 border-r border-solid border-main-divider px-6",children:[n("div",{className:"text-sm font-medium group-hover:text-primary-text "+(s?"text-primary-text":"text-secondary-text"),children:e?.title}),n("div",{className:"text-xs text-secondary-text",children:e.desc})]}),n("div",{className:`absolute bottom-0 left-0 w-full h-[3px] bg-primary-main -translate-x-full ${c}`,style:{animationDuration:`${l}s`}})]},String(t))}({slide:e,i:t,activeSlideIndex:c,onClick:()=>o(t),duration:a})))})]})}));const Xe=a((e=>{const{benefits:t,version:a}=e;return n(H,{...e,children:r("div",{className:"flex mt-5 mb-1",children:[t?.length?n("div",{className:"mr-8",children:t.map(Qe)}):null,t?.length?n("div",{className:"pt-1",children:t.map(((e,t)=>function(e,t,r="primary"){return n("div",{className:`text-sm ${t?"mt-4":""} ${{primary:"text-secondary-text",secondary:"text-white"}[r]}`,children:e.label},String(t))}(e,t,a)))}):null]})})}));function Qe(e,t){return n("div",{className:"text-xl font-medium "+(t?"mt-2.5":""),children:e.description},String(t))}const qe=a((({className:e,context:t,title:a="Акции и спецпредложения",date:i,description:l,buttons:s=[],version:c})=>n(H,{className:e,context:t,title:a,buttons:s,version:c,children:r("div",{children:[i&&n("div",{className:"text-sm mb-2",children:Ke(i)}),n("div",{className:"text-base",children:l})]})})));function Ke(e){return new Date(e).toLocaleString("ru-RU",{day:"numeric",month:"long",year:"numeric"}).replace("г.","")}const Ye=a((({className:e,title:t,steps:a})=>r("section",{className:`font-sans text-primary-text bg-white px-12 py-12 flex flex-col items-center ${e||""}`,children:[n(k,{className:"font-medium m-0 max-w-[47rem] text-center",children:t}),a?.length?r("div",{children:[n("div",{className:"flex mt-9 items-center px-[88px]",children:We(n("div",{className:"h-0.5 w-full bg-secondary-light"}))(a.map(((e,t)=>et(e,t))))}),n("div",{className:"flex mt-9 justify-between gap-x-24",children:a.map(tt)})]}):null]}))),et=(e,t)=>n("div",{className:"flex flex-col items-center text-center relative",children:n("div",{className:"h-[100px] w-[100px] min-w-[100px] min-h-[100px] bg-secondary-light rounded-full p-[26px] box-border z-10",children:e.icon&&n(v,{name:e.icon,width:"48",height:"48"})||n("span",{className:"font-medium text-title-sm text-secondary-text",children:t+1})})},String(t)),tt=(e,t)=>n("div",{className:"flex flex-col items-center text-center relative w-[276px]",children:r("div",{className:"max-w-min",children:[n("h5",{className:"font-medium text-xl m-0 mt-4 whitespace-nowrap px-3",children:e.label}),e.description&&n("div",{className:"font-normal text-sm text-secondary-text mt-2",children:e.description})]})},String(t)),nt={primary:{background:"bg-white",icon:"bg-primary-main text-white",title:"text-base",description:"text-secondary-text"},secondary:{background:"bg-primary-main",icon:"bg-white text-primary-main",title:"text-white",description:"text-white"},"secondary-light":{background:"bg-primary-main/10",icon:"bg-primary-main text-white",title:"text-base",description:"text-secondary-text"}},rt=a((({title:e,description:t,blockVersion:a="primary",iconVersion:i,image:l,className:s})=>{const c=nt[a];return r("section",{className:`font-sans px-9 py-4 flex ${c.background} ${s||""}`,children:[i&&"small"===i?at(c.icon):null,i&&"big"===i?it(l):null,r("div",{className:"py-0.5",children:[e&&n("div",{className:`font-medium mb-1 ${c.title}`,children:e}),t&&n("div",{className:`text-sm ${c.description}`,children:t})]})]})}));function at(e){return n("div",{className:"pt-1.5 pr-4",children:n("div",{className:`rounded-full h-4 w-4 text-center text-xs ${e}`,children:"i"})})}function it(e){return e?.src?n(d,{className:"pt-0.5 pr-3",image:e}):null}const lt={Header:He,Footer:Re,Placeholder:E,Tile:H,PromoTile:qe,TextBlock:rt,ProductTile:Xe,ProductBlock:Je,StepsBlock:Ye,BenefitsBlock:q,ProductGallery:Ge,ExchangeRateTile:re,MobileAppTile:Ve,Gallery:Ie},st=a((({className:e,context:t})=>n("footer",{className:`${e} px-9 py-2 bg-white rounded-bl-3xl rounded-br-3xl`,children:n(De,{context:t})}))),ct=a((({title:e,description:t,cards:a=[],className:i})=>r("section",{className:`relative font-sans text-primary-text bg-white p-4 overflow-hidden ${i}`,children:[r("div",{className:"flex flex-col items-center mb-8",children:[n(k,{className:"font-medium m-0 text-centers",children:e}),t?n("div",{className:"font-normal text-base max-w-[600px] mt-3",children:t}):null]}),n("div",{className:"horizontal-list no-scrollbar",role:"list",children:a?.map(ot)})]})));function ot(e,t){return r("div",{className:"box-border horizontal-list-item border-solid border rounded-md border-main-divider p-4 mx-1 flex flex-col justify-between items-stretch",role:"listitem",children:[r("div",{children:[e.image?.src?n("div",{className:"flex justify-center",children:n(d,{className:"mb-6",image:e.image})}):null,e.title?n("h4",{className:"font-medium text-xl m-0 "+(e.description||e.items?.length?"":"text-center"),children:e.title}):null,e.description?n("div",{className:"font-normal text-sm text-secondary-text mt-2",children:e.description}):null,e.items?.length?mt(e.items):null]}),e.href?n(N,{className:"mt-6",text:"Подробнее",version:"secondary",href:e.href}):null]},t)}function mt(e=[]){return n("section",{className:"max-w-[308px] mt-2",role:"list",children:e.map(((e,t)=>n(p,{children:n("span",{className:"text-sm text-secondary-text",children:e})},String(t))))})}const dt=a((({titleSize:e,image:t,benefits:r,...a})=>{const{className:i}=a;return n("section",{className:`font-sans bg-white pt-10 pl-[50px] pb-[50px] pr-[7.5rem] ${i||""}`,children:n(Ee,{...a,titleSize:"L"})})})),ht={Header:He,Footer:st,Placeholder:E,Tile:H,ProductTile:Xe,ProductBlock:dt,TextBlock:rt,ExchangeRateTile:re,MobileAppTile:Ve,Gallery:ct};e.Blocks=lt,e.ContentPage=G,e.ContentPageHead=s,e.DaDataAPI=function(e=""){return{getFetcherAddress:async function(){if(!("geolocation"in navigator))return null;try{const t=await(async()=>new Promise((e=>navigator.geolocation.getCurrentPosition((({coords:t})=>e(t))))))(),n=await fetch(`${e}/geolocate`,{method:"POST",mode:"cors",body:JSON.stringify({lat:t.latitude,lon:t.longitude,count:1})});return(await n.json())?.suggestions?.[0]?.data?.city}catch(e){return console.error(e),null}}}},e.LikeAPI=function(e,t=""){async function n(){try{const e=JSON.parse(globalThis.localStorage.getItem(l)||"");if(e?.token)return e}catch(e){}try{const e=await fetch(`${t}/assist/v1/public/auth`,{method:"POST",mode:"cors",headers:{"Content-Type":"application/json"},body:JSON.stringify({prefix:"guest"})}),{token:n,name:r}=await e.json();return globalThis.localStorage.setItem(l,JSON.stringify({token:n,name:r})),{token:n,name:r}}catch(e){return console.error(e),{}}}return{getLikeCount:async function(...r){if(!r.length)return[];const{token:a}=await n();try{const n=await fetch(`${t}/assist/v1/public/projects/${e}/nodes/likes`,{method:"POST",mode:"cors",headers:{"Content-Type":"application/json",Authorization:a},body:JSON.stringify({node_ids:r})}),{likes:i}=await n.json();return i||[]}catch(e){return console.error(e),[]}},like:async function(r){if(!r)return 0;const{token:a,name:i}=await n();try{const n=await fetch(`${t}/assist/v1/public/projects/${e}/nodes/like`,{method:"POST",mode:"cors",headers:{"Content-Type":"application/json",Authorization:a,UserID:i},body:JSON.stringify({node_id:r,user_name:i})}),{likes:l}=await n.json();return l||0}catch(e){return console.error(e),0}},dislike:async function(r){if(!r)return 0;const{token:a,name:i}=await n();try{const n=await fetch(`${t}/assist/v1/public/projects/${e}/nodes/unlike`,{method:"POST",mode:"cors",headers:{"Content-Type":"application/json",Authorization:a,UserID:i},body:JSON.stringify({node_id:r,user_name:i})}),{likes:l}=await n.json();return l||0}catch(e){return console.error(e),0}}}},e.MobileBlocks=ht,e.joinList=We,e.projectSettings=i,e.setup=t,e.toMobilePage=function(e){const t=e.blocks?.filter((({mobile:e})=>!e?.hidden)).map(Q);return{...e,blocks:t}},e.url=A,Object.defineProperty(e,"__esModule",{value:!0})}));
|
package/dist/BaseTile.d.ts
CHANGED
|
@@ -1,15 +1,5 @@
|
|
|
1
|
-
import type {
|
|
2
|
-
import type {
|
|
3
|
-
import type { TitleSize } from './ui-kit/Title';
|
|
4
|
-
export interface BaseTileContent {
|
|
5
|
-
title?: string;
|
|
6
|
-
titleSize?: TitleSize;
|
|
7
|
-
description?: string;
|
|
8
|
-
image?: Picture;
|
|
9
|
-
items?: string[];
|
|
10
|
-
buttons?: IconButtonProps[];
|
|
11
|
-
version?: BlockVersion;
|
|
12
|
-
}
|
|
1
|
+
import type { BaseTileContent } from './BaseTileContent';
|
|
2
|
+
import type { UniBlockProps } from './types';
|
|
13
3
|
export interface BaseTileProps extends BaseTileContent, UniBlockProps {
|
|
14
4
|
}
|
|
15
5
|
export declare const BaseTile: (props: import("@redneckz/uni-jsx").PropsWithChildren<BaseTileProps, any>, context?: any) => any;
|
package/dist/BaseTile.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"BaseTile.js","sourceRoot":"","sources":["../src/BaseTile.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;
|
|
1
|
+
{"version":3,"file":"BaseTile.js","sourceRoot":"","sources":["../src/BaseTile.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AAExC,+BAA4B;AAG5B,kDAA+C;AAC/C,oDAAiD;AAEjD,0CAAuC;AACvC,uCAAoC;AACpC,mDAAgD;AAIhD,MAAM,aAAa,GAAG,wDAAwD,CAAC;AAElE,QAAA,QAAQ,GAAG,IAAA,aAAG,EACzB,CAAC,EACC,SAAS,EACT,OAAO,EACP,KAAK,EACL,SAAS,EACT,WAAW,EACX,QAAQ,EACR,OAAO,EACP,KAAK,EACL,KAAK,EACL,OAAO,GAAG,SAAS,GACpB,EAAE,EAAE;IACH,MAAM,MAAM,GAAG,OAAO,CAAC,SAAS,EAAE,CAAC;IACnC,MAAM,EAAE,gBAAgB,EAAE,GAAG,OAAO,CAAC;IACrC,OAAO,CACL,iCAAK,SAAS,EAAE,qCAAqC,aAClD,KAAK,IAAI,CACR,uBAAC,aAAK,IAAC,IAAI,EAAE,SAAS,IAAI,uBAAuB,CAAC,SAAS,CAAC,EAAE,SAAS,EAAE,aAAa,YACnF,KAAK,GACA,CACT,EACD,iCAAK,SAAS,EAAC,2BAA2B,aACxC,iCAAK,SAAS,EAAC,2CAA2C,aACxD,4CACG,WAAW,CAAC,CAAC,CAAC,CACb,gCAAK,SAAS,EAAC,0CAA0C,YAAE,WAAW,GAAO,CAC9E,CAAC,CAAC,CAAC,IAAI,EACP,QAAQ,EACR,KAAK,EAAE,MAAM,CAAC,CAAC,CAAC,WAAW,CAAC,KAAK,EAAE,OAAO,CAAC,CAAC,CAAC,CAAC,IAAI,IAC/C,E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AqB,MAAM,IAArB,MAAM,CAAC,CAAC,CAAC,CAAgB,CAAC,CAAC,CAAC,IAAI,CAAC;AAC1E,CAAC"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import type { BlockVersion } from './model/BlockVersion';
|
|
2
|
+
import type { Picture } from './model/Picture';
|
|
3
|
+
import type { IconButtonProps } from './ui-kit/IconButtonProps';
|
|
4
|
+
import type { TitleSize } from './ui-kit/TitleProps';
|
|
5
|
+
export interface BaseTileContent {
|
|
6
|
+
title?: string;
|
|
7
|
+
titleSize?: TitleSize;
|
|
8
|
+
description?: string;
|
|
9
|
+
image?: Picture;
|
|
10
|
+
items?: string[];
|
|
11
|
+
buttons?: Omit<IconButtonProps, 'className' | 'onClick' | 'ariaLabel'>[];
|
|
12
|
+
version?: BlockVersion;
|
|
13
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"BaseTileContent.js","sourceRoot":"","sources":["../src/BaseTileContent.ts"],"names":[],"mappings":""}
|
package/dist/BenefitsBlock.d.ts
CHANGED
|
@@ -1,14 +1,5 @@
|
|
|
1
|
+
import type { BenefitsBlockContent } from './BenefitsBlockContent';
|
|
1
2
|
import type { UniBlockProps } from './types';
|
|
2
|
-
import { IconName } from './ui-kit/Icon';
|
|
3
|
-
export interface Benefit {
|
|
4
|
-
label: string;
|
|
5
|
-
description?: string;
|
|
6
|
-
icon?: IconName;
|
|
7
|
-
}
|
|
8
|
-
export interface BenefitsBlockContent {
|
|
9
|
-
title?: string;
|
|
10
|
-
benefits?: Benefit[];
|
|
11
|
-
}
|
|
12
3
|
export interface BenefitsBlockProps extends BenefitsBlockContent, UniBlockProps {
|
|
13
4
|
}
|
|
14
5
|
export declare const BenefitsBlock: (props: import("@redneckz/uni-jsx").PropsWithChildren<BenefitsBlockProps, any>, context?: any) => any;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"BenefitsBlock.js","sourceRoot":"","sources":["../src/BenefitsBlock.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;
|
|
1
|
+
{"version":3,"file":"BenefitsBlock.js","sourceRoot":"","sources":["../src/BenefitsBlock.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AAGxC,wCAAqC;AAIxB,QAAA,aAAa,GAAG,IAAA,aAAG,EAAqB,CAAC,EAAE,SAAS,EAAE,KAAK,EAAE,QAAQ,EAAE,EAAE,EAAE;IACtF,OAAO,CACL,qCACE,SAAS,EAAE,6EACT,SAAS,IAAI,EACf,EAAE,aAEF,+BAAI,SAAS,EAAC,sDAAsD,YAAE,KAAK,GAAM,EAChF,QAAQ,EAAE,MAAM,CAAC,CAAC,CAAC,CAClB,gCAAK,SAAS,EAAC,6BAA6B,YAAE,QAAQ,CAAC,GAAG,CAAC,UAAU,CAAC,GAAO,CAC9E,CAAC,CAAC,CAAC,IAAI,IACA,CACX,CAAC;AACJ,CAAC,CAAC,CAAC;AAEH,MAAM,UAAU,GAAG,CAAC,OAAgB,EAAE,CAAS,EAAE,EAAE;IACjD,OAAO,CACL,iCAAqB,SAAS,EAAC,4CAA4C,aACxE,OAAO,CAAC,IAAI,IAAI,CACf,uBAAC,WAAI,IACH,SAAS,EAAC,6CAA6C,EACvD,IAAI,EAAE,OAAO,CAAC,IAAI,EAClB,KAAK,EAAC,IAAI,EACV,MAAM,EAAC,IAAI,GACX,CACH,EACD,4CACE,+BAAI,SAAS,EAAC,yBAAyB,YAAE,OAAO,CAAC,KAAK,GAAM,EAC3D,OAAO,CAAC,WAAW,IAAI,CACtB,gCAAK,SAAS,EAAC,0BAA0B,YAAE,OAAO,CAAC,WAAW,GAAO,CACtE,IACG,KAdE,MAAM,CAAC,CAAC,CAAC,CAeb,CACP,CAAC;AACJ,CAAC,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"BenefitsBlockContent.js","sourceRoot":"","sources":["../src/BenefitsBlockContent.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import type { BenefitsBlockContent } from './BenefitsBlockContent';
|
|
2
|
+
import type { ExchangeRateTileContent } from './ExchangeRateTileContent';
|
|
3
|
+
import type { FooterContent } from './Footer/FooterContent';
|
|
4
|
+
import type { GalleryContent } from './GalleryContent';
|
|
5
|
+
import type { HeaderContent } from './Header/HeaderContent';
|
|
6
|
+
import type { MobileAppTileContent } from './MobileAppTileContent';
|
|
7
|
+
import type { PlaceholderContent } from './PlaceholderContent';
|
|
8
|
+
import type { ProductBlockContent } from './ProductBlockContent';
|
|
9
|
+
import type { ProductGalleryContent } from './ProductGalleryContent';
|
|
10
|
+
import type { ProductTileContent } from './ProductTileContent';
|
|
11
|
+
import type { PromoTileContent } from './PromoTileContent';
|
|
12
|
+
import type { StepsBlockContent } from './StepsBlockContent';
|
|
13
|
+
import type { TextBlockContent } from './TextBlockContent';
|
|
14
|
+
import type { TileContent } from './TileContent';
|
|
15
|
+
export declare type BlockContent = HeaderContent | FooterContent | PlaceholderContent | TileContent | PromoTileContent | TextBlockContent | ProductTileContent | ProductBlockContent | StepsBlockContent | BenefitsBlockContent | ProductGalleryContent | ExchangeRateTileContent | MobileAppTileContent | GalleryContent;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"BlockContent.js","sourceRoot":"","sources":["../src/BlockContent.ts"],"names":[],"mappings":""}
|
package/dist/Blocks.d.ts
CHANGED
|
@@ -1,17 +1,3 @@
|
|
|
1
|
-
import { BenefitsBlockContent } from './BenefitsBlock';
|
|
2
|
-
import { ExchangeRateTileContent } from './ExchangeRateTile';
|
|
3
|
-
import { FooterContent } from './Footer/index';
|
|
4
|
-
import { HeaderContent } from './Header/index';
|
|
5
|
-
import { MobileAppTileContent } from './MobileAppTile';
|
|
6
|
-
import { PlaceholderContent } from './Placeholder';
|
|
7
|
-
import { ProductBlockInnerContent } from './ProductBlockInner';
|
|
8
|
-
import { ProductGalleryContent } from './ProductGallery';
|
|
9
|
-
import { StepsBlockContent } from './StepsBlock';
|
|
10
|
-
import { ProductTileContent } from './ProductTile';
|
|
11
|
-
import { BaseTileContent } from './BaseTile';
|
|
12
|
-
import { PromoTileContent } from './PromoTile';
|
|
13
|
-
import { TextBlockContent } from './TextBlock';
|
|
14
|
-
import { GalleryContent } from './Gallery';
|
|
15
1
|
export declare const Blocks: {
|
|
16
2
|
Header: (props: import("@redneckz/uni-jsx").PropsWithChildren<import("./Header/Header").HeaderProps, any>, context?: any) => any;
|
|
17
3
|
Footer: (props: import("@redneckz/uni-jsx").PropsWithChildren<import("./Footer/Footer").FooterProps, any>, context?: any) => any;
|
|
@@ -28,4 +14,3 @@ export declare const Blocks: {
|
|
|
28
14
|
MobileAppTile: (props: import("@redneckz/uni-jsx").PropsWithChildren<import("./MobileAppTile").MobileAppTileProps, any>, context?: any) => any;
|
|
29
15
|
Gallery: (props: import("@redneckz/uni-jsx").PropsWithChildren<import("./Gallery").GalleryProps, any>, context?: any) => any;
|
|
30
16
|
};
|
|
31
|
-
export declare type BlockContent = HeaderContent | FooterContent | PlaceholderContent | BaseTileContent | TextBlockContent | ProductTileContent | PromoTileContent | ProductBlockInnerContent | StepsBlockContent | BenefitsBlockContent | ProductGalleryContent | ExchangeRateTileContent | MobileAppTileContent | GalleryContent;
|
package/dist/Blocks.js
CHANGED
|
@@ -2,21 +2,21 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
2
2
|
exports.Blocks = void 0;
|
|
3
3
|
const BenefitsBlock_1 = require("./BenefitsBlock");
|
|
4
4
|
const ExchangeRateTile_1 = require("./ExchangeRateTile");
|
|
5
|
-
const
|
|
6
|
-
const
|
|
5
|
+
const Footer_1 = require("./Footer/Footer");
|
|
6
|
+
const Gallery_1 = require("./Gallery");
|
|
7
|
+
const Header_1 = require("./Header/Header");
|
|
7
8
|
const MobileAppTile_1 = require("./MobileAppTile");
|
|
8
9
|
const Placeholder_1 = require("./Placeholder");
|
|
9
10
|
const ProductBlock_1 = require("./ProductBlock");
|
|
10
11
|
const ProductGallery_1 = require("./ProductGallery");
|
|
11
|
-
const StepsBlock_1 = require("./StepsBlock");
|
|
12
12
|
const ProductTile_1 = require("./ProductTile");
|
|
13
13
|
const PromoTile_1 = require("./PromoTile");
|
|
14
|
-
const
|
|
14
|
+
const StepsBlock_1 = require("./StepsBlock");
|
|
15
15
|
const TextBlock_1 = require("./TextBlock");
|
|
16
|
-
const
|
|
16
|
+
const Tile_1 = require("./Tile");
|
|
17
17
|
exports.Blocks = {
|
|
18
|
-
Header:
|
|
19
|
-
Footer:
|
|
18
|
+
Header: Header_1.Header,
|
|
19
|
+
Footer: Footer_1.Footer,
|
|
20
20
|
Placeholder: Placeholder_1.Placeholder,
|
|
21
21
|
Tile: Tile_1.Tile,
|
|
22
22
|
PromoTile: PromoTile_1.PromoTile,
|
package/dist/Blocks.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Blocks.js","sourceRoot":"","sources":["../src/Blocks.ts"],"names":[],"mappings":";;AAAA,
|
|
1
|
+
{"version":3,"file":"Blocks.js","sourceRoot":"","sources":["../src/Blocks.ts"],"names":[],"mappings":";;AAAA,mDAAgD;AAChD,yDAAsD;AACtD,4CAAyC;AACzC,uCAAoC;AACpC,4CAAyC;AACzC,mDAAgD;AAChD,+CAA4C;AAC5C,iDAA8C;AAC9C,qDAAkD;AAClD,+CAA4C;AAC5C,2CAAwC;AACxC,6CAA0C;AAC1C,2CAAwC;AACxC,iCAA8B;AAEjB,QAAA,MAAM,GAAG;IACpB,MAAM,EAAN,eAAM;IACN,MAAM,EAAN,eAAM;IACN,WAAW,EAAX,yBAAW;IACX,IAAI,EAAJ,WAAI;IACJ,SAAS,EAAT,qBAAS;IACT,SAAS,EAAT,qBAAS;IACT,WAAW,EAAX,yBAAW;IACX,YAAY,EAAZ,2BAAY;IACZ,UAAU,EAAV,uBAAU;IACV,aAAa,EAAb,6BAAa;IACb,cAAc,EAAd,+BAAc;IACd,gBAAgB,EAAhB,mCAAgB;IAChB,aAAa,EAAb,6BAAa;IACb,OAAO,EAAP,iBAAO;CACR,CAAC"}
|
package/dist/ContentPage.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { PropsWithChildren } from '@redneckz/uni-jsx';
|
|
2
|
-
import type { BlockContent } from './
|
|
2
|
+
import type { BlockContent } from './BlockContent';
|
|
3
3
|
import type { BlockDef, ContentPageDef, UniBlockProps } from './types';
|
|
4
4
|
interface BlockDecoratorProps<VNode> {
|
|
5
5
|
blockClassName: string;
|
|
@@ -1,7 +1,5 @@
|
|
|
1
|
+
import type { ExchangeRateTileContent } from './ExchangeRateTileContent';
|
|
1
2
|
import type { UniBlockProps } from './types';
|
|
2
|
-
export interface ExchangeRateTileContent {
|
|
3
|
-
title?: string;
|
|
4
|
-
}
|
|
5
3
|
export interface ExchangeRateTileProps extends ExchangeRateTileContent, UniBlockProps {
|
|
6
4
|
}
|
|
7
5
|
export declare const ExchangeRateTile: (props: import("@redneckz/uni-jsx").PropsWithChildren<ExchangeRateTileProps, any>, context?: any) => any;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ExchangeRateTile.js","sourceRoot":"","sources":["../src/ExchangeRateTile.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;
|
|
1
|
+
{"version":3,"file":"ExchangeRateTile.js","sourceRoot":"","sources":["../src/ExchangeRateTile.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AAExC,iCAA8B;AAG9B,wCAAqC;AAIrC,MAAM,qBAAqB,GAAG,4CAA4C,CAAC;AAE3E,MAAM,cAAc,GAAG,CAAC,KAAK,EAAE,KAAK,CAAC,CAAC;AACtC,MAAM,kBAAkB,GAAG;IACzB,GAAG,EAAE,YAAY;IACjB,GAAG,EAAE,UAAU;CAChB,CAAC;AAEF,MAAM,OAAO,GAAkB;IAC7B;QACE,IAAI,EAAE,gBAAgB;QACtB,IAAI,EAAE,qCAAqC;KAC5C;CACF,CAAC;AAEW,QAAA,gBAAgB,GAAG,IAAA,a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AAEH,MAAM,UAAU,GAAG,IAAA,aAAG,EAAyB,CAAC,EAAE,SAAS,GAAG,EAAE,EAAE,QAAQ,EAAE,EAAE,EAAE,CAAC,CAC/E,+BAAI,SAAS,EAAE,qDAAqD,SAAS,EAAE,YAAG,QAAQ,GAAM,CACjG,CAAC,CAAC;AAEH,KAAK,UAAU,iBAAiB;IAG9B,MAAM,QAAQ,GAAG,MAAM,KAAK,CAAC,qBAAqB,CAAC,CAAC;IACpD,OAAO,MAAM,QAAQ,CAAC,IAAI,EAAE,CAAC;AAC/B,CAAC;AAED,MAAM,oBAAoB,GAAG,IAAI,IAAI,CAAC,YAAY,CAAC,IAAI,EAAE,EAAE,KAAK,EAAE,UAAU,EAAE,QAAQ,EAAE,KAAK,EAAE,CAAC,CAAC;AAEjG,MAAM,cAAc,GAAG,CAAC,KAAc,EAAE,EAAE,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,oBAAoB,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ExchangeRateTileContent.js","sourceRoot":"","sources":["../src/ExchangeRateTileContent.ts"],"names":[],"mappings":""}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Contacts.js","sourceRoot":"","sources":["../../src/Footer/Contacts.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AAExC,6CAA0C;AAC1C,wCAAqC;
|
|
1
|
+
{"version":3,"file":"Contacts.js","sourceRoot":"","sources":["../../src/Footer/Contacts.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AAExC,6CAA0C;AAC1C,wCAAqC;AAQxB,QAAA,QAAQ,GAAG,IAAA,aAAG,EAAgB,CAAC,EAAE,SAAS,EAAE,KAAK,EAAE,SAAS,EAAE,OAAO,EAAE,EAAE,EAAE;IACtF,MAAM,MAAM,GAAG,OAAO,CAAC,SAAS,EAAE,CAAC;IACnC,MAAM,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,2CAAO,IAAI,GAAQ,CAAC;KAC9B;AACH,CAAC,CAAC;AAEF,MAAM,SAAS,GAAG,CAAC,CAAS,EAAE,EAAE,CAAC,CAAC,CAAC,UAAU,CAAC,oBAAoB,EAAE,EAAE,CAAC,CAAC"}
|
package/dist/Footer/Footer.d.ts
CHANGED
|
@@ -1,11 +1,5 @@
|
|
|
1
|
-
import type {
|
|
2
|
-
|
|
3
|
-
documents?: LinkContent[];
|
|
4
|
-
relatedEnterprises?: LinkContent[];
|
|
5
|
-
contacts?: ContactInfo[];
|
|
6
|
-
socialMedia?: Omit<LinkContent, 'text'>[];
|
|
7
|
-
topItems?: TopMenuItem[];
|
|
8
|
-
}
|
|
1
|
+
import type { UniBlockProps } from '../types';
|
|
2
|
+
import type { FooterContent } from './FooterContent';
|
|
9
3
|
export interface FooterProps extends FooterContent, UniBlockProps {
|
|
10
4
|
}
|
|
11
5
|
export declare const Footer: (props: import("@redneckz/uni-jsx").PropsWithChildren<FooterProps, any>, context?: any) => any;
|
package/dist/Footer/Footer.js
CHANGED
|
@@ -5,9 +5,9 @@ const uni_jsx_1 = require("@redneckz/uni-jsx");
|
|
|
5
5
|
const Logo_1 = require("../ui-kit/Logo");
|
|
6
6
|
const SearchBar_1 = require("../ui-kit/SearchBar");
|
|
7
7
|
const Contacts_1 = require("./Contacts");
|
|
8
|
+
const HorizontalNavigation_1 = require("./HorizontalNavigation");
|
|
8
9
|
const Sitemap_1 = require("./Sitemap");
|
|
9
10
|
const SocialMedia_1 = require("./SocialMedia");
|
|
10
|
-
const HorizontalNavigation_1 = require("./HorizontalNavigation");
|
|
11
11
|
const TextInformation_1 = require("./TextInformation");
|
|
12
12
|
const LEFT_COL_WIDTH_FULL_HD = 'w-[280px]';
|
|
13
13
|
const LEFT_COL_WIDTH_SMALL_DESKTOP = 'xl:w-[220px]';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Footer.js","sourceRoot":"","sources":["../../src/Footer/Footer.tsx"],"names":[],"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AAC;AACJ,CAAC,CACF,CAAC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { UniBlockProps } from '../types';
|
|
2
|
-
import type { FooterContent } from './
|
|
2
|
+
import type { FooterContent } from './FooterContent';
|
|
3
3
|
export interface FooterProps extends FooterContent, UniBlockProps {
|
|
4
4
|
}
|
|
5
5
|
export declare const Footer: (props: import("@redneckz/uni-jsx").PropsWithChildren<FooterProps, any>, context?: any) => any;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import type { LinkContent } from '../model/LinkContent';
|
|
2
|
+
import type { SitemapContent } from '../model/SitemapContent';
|
|
3
|
+
export interface ContactInfo {
|
|
4
|
+
text: string;
|
|
5
|
+
type: 'tel' | 'email';
|
|
6
|
+
description: string;
|
|
7
|
+
}
|
|
8
|
+
export interface FooterContent extends SitemapContent {
|
|
9
|
+
documents?: LinkContent[];
|
|
10
|
+
relatedEnterprises?: LinkContent[];
|
|
11
|
+
contacts?: ContactInfo[];
|
|
12
|
+
socialMedia?: Omit<LinkContent, 'text'>[];
|
|
13
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"FooterContent.js","sourceRoot":"","sources":["../../src/Footer/FooterContent.ts"],"names":[],"mappings":""}
|
package/dist/Footer/Sitemap.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Sitemap.js","sourceRoot":"","sources":["../../src/Footer/Sitemap.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;
|
|
1
|
+
{"version":3,"file":"Sitemap.js","sourceRoot":"","sources":["../../src/Footer/Sitemap.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AACxC,oDAAiD;AAIjD,wCAAqC;AACrC,8CAA2C;AAK9B,QAAA,OAAO,GAAG,IAAA,aAAG,EAAe,CAAC,EAAE,SAAS,EAAE,KAAK,EAAE,OAAO,EAAE,EAAE,EAAE;IACzE,MAAM,OAAO,GAAG,IAAA,uBAAU,EAAC,OAA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E,CAAC,CACzE,8BACE,SAAS,EAAC,gGAAgG,EAC1G,IAAI,EAAE,IAAI,EACV,MAAM,EAAE,MAAM,IAAI,OAAO,YAExB,IAAI,IAAI,UAAU,KAAK,EAAE,GACxB,CACL,CAAC,CAAC"}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import type { LinkContent
|
|
1
|
+
import type { LinkContent } from '../model/LinkContent';
|
|
2
|
+
import type { UniBlockProps } from '../types';
|
|
2
3
|
export interface SocialMediaProps extends UniBlockProps {
|
|
3
4
|
media?: Omit<LinkContent, 'text'>[];
|
|
4
5
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SocialMedia.js","sourceRoot":"","sources":["../../src/Footer/SocialMedia.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;
|
|
1
|
+
{"version":3,"file":"SocialMedia.js","sourceRoot":"","sources":["../../src/Footer/SocialMedia.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AAGxC,yCAAsC;AAEtC,wCAAqC;AAErC,MAAM,SAAS,GAAgE;IAC7E,EAAE,OAAO,EAAE,CAAC,MAAM,EAAE,cAAc,CAAC,EAAE,IAAI,EAAE,cAAc,EAAE,KAAK,EAAE,UAAU,EAAE;IAC9E,EAAE,OAAO,EAAE,CAAC,QAAQ,CAAC,EAAE,IAAI,EAAE,QAAQ,EAAE,KAAK,EAAE,WAAW,EAAE;IAC3D,EAAE,OAAO,EAAE,CAAC,OAAO,CAAC,EAAE,IAAI,EAAE,QAAQ,EAAE,KAAK,EAAE,eAAe,EAAE;CAC/D,CAAC;AAMW,QAAA,WAAW,GAAG,IAAA,aAAG,EAAmB,CAAC,EAAE,SAAS,EAAE,KAAK,EAAE,OAAO,EAAE,EAAE,EAAE;IACjF,MAAM,MAAM,GAAG,OAAO,CAAC,SAAS,EAAE,CAAC;IACnC,MAAM,EAAE,gBAAgB,EAAE,GAAG,OAAO,CAAC;IACrC,OAAO,CACL,gCAAK,SAAS,EAAE,mDAAmD,SAAS,IAAI,EAAE,EAAE,YACjF,KAAK,EAAE,GAAG,CAAC,CAAC,CAAC,EAAE,KAAK,EAAE,EAAE,CAAC,CACxB,uBAAC,WAAW,OAAyB,IAAA,iBAAO,EAAC,EAAE,MAAM,EAAE,gBAAgB,EAAE,EAAE,CAAC,CAAC,IAA3D,MAAM,CAAC,KAAK,CAAC,CAAkD,CAClF,CAAC,GACE,CACP,CAAC;AACJ,CAAC,CAAC,CAAC;AAMH,MAAM,WAAW,GAAG,IAAA,aAAG,EAAmB,CAAC,EAAE,IAAI,EAAE,EAAE,EAAE;IACrD,MAAM,EAAE,IAAI,EAAE,KAAK,EAAE,GACnB,SAAS,CAAC,IAAI,CAAC,CAAC,EAAE,OAAO,EAAE,EAAE,EAAE,CAAC,OAAO,CAAC,IAAI,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,IAAI,EAAE,QAAQ,CAAC,CAAC,CAAC,CAAC,CAAC,IAAI,EAAE,CAAC;IAChF,OAAO,CACL,8BACE,SAAS,EAAC,yHAAyH,EACnI,IAAI,EAAE,IAAI,EACV,MAAM,EAAC,QAAQ,EACf,GAAG,EAAC,qBAAqB,gBACb,KAAK,YAEhB,IAAI,IAAI,uBAAC,WAAI,IAAC,SAAS,EAAC,OAAO,EAAC,IAAI,EAAE,IAAI,GAAI,CAAC,yBAAyB,GACvE,CACL,CAAC;AACJ,CAAC,CAAC,CAAC"}
|
package/dist/Gallery.d.ts
CHANGED
|
@@ -1,16 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
3
|
-
title?: string;
|
|
4
|
-
description?: string;
|
|
5
|
-
image?: Picture;
|
|
6
|
-
href?: string;
|
|
7
|
-
items?: string[];
|
|
8
|
-
}
|
|
9
|
-
export interface GalleryContent {
|
|
10
|
-
title?: string;
|
|
11
|
-
description?: string;
|
|
12
|
-
cards?: GalleryCard[];
|
|
13
|
-
}
|
|
1
|
+
import type { GalleryContent } from './GalleryContent';
|
|
2
|
+
import { UniBlockProps } from './types';
|
|
14
3
|
export interface GalleryProps extends GalleryContent, UniBlockProps {
|
|
15
4
|
}
|
|
16
5
|
export declare const Gallery: (props: import("@redneckz/uni-jsx").PropsWithChildren<GalleryProps, any>, context?: any) => any;
|
package/dist/Gallery.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Gallery.js","sourceRoot":"","sources":["../src/Gallery.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;
|
|
1
|
+
{"version":3,"file":"Gallery.js","sourceRoot":"","sources":["../src/Gallery.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AAExC,+BAA4B;AAE5B,sDAAmD;AACnD,kDAA+C;AAC/C,4CAAyC;AACzC,0CAAuC;AAIvC,MAAM,UAAU,GAAG,GAAG,CAAC;AACvB,MAAM,yBAAyB,GAAG,CAAC,CAAC;AAEvB,QAAA,OAAO,GAAG,IAAA,aAAG,EACxB,CAAC,EAAE,KAAK,EAAE,WAAW,EAAE,OAAO,EAAE,KAAK,GAAG,EAAE,EAAE,SAAS,EAAE,EAAE,EAAE;IACzD,MAAM,CAAC,eAAe,EAAE,kBAAkB,CAAC,GAAG,OAAO,CAAC,QAAQ,CAAC,CAAC,CAAC,CAAC;IAElE,SAAS,eAAe;QACtB,kBAAkB,CAAC,eAAe,GAAG,CAAC,CAAC,CAAC;IAC1C,CAAC;IAED,SAAS,eAAe;QACtB,kBAAkB,CAAC,eAAe,GAAG,CAAC,CAAC,CAAC;IAC1C,CAAC;IAED,MAAM,wBAAwB,GAAG,KAAK,EAAE,MAAM,GAAG,yBAAyB,CAAC;IAE3E,MAAM,cAAc,GAClB,wBAAwB,IAAI,KAAK,EAAE,MAAM,GAAG,eAAe,GAAG,yBAAyB,CAAC;IAE1F,MAAM,cAAc,GAAG,wBAAwB,IAAI,eAAe,GAAG,CAAC,CAAC;IAEvE,OAAO,CACL,qCACE,SAAS,EAAE,sEAAsE,SAAS,EAAE,aAE5F,iCAAK,SAAS,EAAC,iCAAi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,+BACE,SAAS,EAAE,2BACT,CAAC,IAAI,CAAC,WAAW,IAAI,CAAC,IAAI,CAAC,KAAK,EAAE,MAAM,CAAC,CAAC,CAAC,aAAa,CAAC,CAAC,CAAC,EAC7D,EAAE,YAED,IAAI,CAAC,KAAK,GACR,CACN,CAAC,CAAC,CAAC,IAAI,EACP,IAAI,CAAC,WAAW,CAAC,CAAC,CAAC,CAClB,gCAAK,SAAS,EAAC,8CAA8C,YAAE,IAAI,CAAC,WAAW,GAAO,CACvF,CAAC,CAAC,CAAC,IAAI,EACP,IAAI,CAAC,KAAK,EAAE,MAAM,CAAC,CAAC,CAAC,WAAW,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,IAAI,IAChD,EACL,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC,CACX,uBAAC,eAAM,IAAC,SAAS,EAAC,MAAM,EAAC,IAAI,EAAC,wDAAW,EAAC,OAAO,EAAC,WAAW,EAAC,IAAI,EAAE,IAAI,CAAC,IAAI,GAAI,CAClF,CAAC,CAAC,CAAC,IAAI,KAxBH,GAAG,CAyBJ,CACP,CAAC;AACJ,CAAC;AAED,SAAS,WAAW,CAAC,QAAkB,EAAE;IACvC,OAAO,CACL,oCAAS,SAAS,EAAC,oBAAoB,EAAC,IAAI,EAAC,MAAM,YAChD,KAAK,CAAC,GAAG,CAAC,CAAC,IAAI,EAAE,CAAC,EAAE,EAAE,CAAC,CACtB,uBAAC,qBAAS,cACR,iCAAM,SAAS,EAAC,6BAA6B,YAAE,IAAI,GAAQ,IAD7C,MAAM,CAAC,CAAC,CAAC,CAEb,CACb,CAAC,GACM,CACX,CAAC;AACJ,CAAC"}
|
package/dist/Gallery.mobile.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { GalleryProps } from './Gallery';
|
|
1
|
+
import type { GalleryProps } from './Gallery';
|
|
2
2
|
export declare const Gallery: (props: import("@redneckz/uni-jsx").PropsWithChildren<GalleryProps, any>, context?: any) => any;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Gallery.mobile.js","sourceRoot":"","sources":["../src/Gallery.mobile.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;
|
|
1
|
+
{"version":3,"file":"Gallery.mobile.js","sourceRoot":"","sources":["../src/Gallery.mobile.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AAGxC,+BAA4B;AAC5B,kDAA+C;AAC/C,4CAAyC;AACzC,0CAAuC;AAE1B,QAAA,OAAO,GAAG,IAAA,aAAG,EAAe,CAAC,EAAE,KAAK,EAAE,WAAW,EAAE,KAAK,GAAG,EAAE,EAAE,SAAS,EAAE,EAAE,EAAE;IACzF,OAAO,CACL,qCACE,SAAS,EAAE,qEAAqE,SAAS,EAAE,aAE3F,iCAAK,SAAS,EAAC,iCAAiC,aAC9C,uBAAC,aAAK,IAAC,SAAS,EAAC,8BAA8B,YAAE,KAAK,GAAS,EAC9D,WAAW,CAAC,CAAC,CAAC,CACb,gCAAK,SAAS,EAAC,0CAA0C,YAAE,WAAW,GAAO,CAC9E,CAAC,CAAC,CAAC,IAAI,IACJ,EACN,gCAAK,SAAS,EAAC,8BAA8B,EAAC,IAAI,EAAC,MAAM,YACtD,KAAK,EAAE,GAAG,CAAC,UAAU,CAAC,GACnB,IACE,CACX,CAAC;AACJ,CAAC,CAAC,CAAC;AAEH,SAAS,UAAU,CAAC,IAAiB,EAAE,GAAW;IAChD,OAAO,CACL,iCACE,SAAS,EAAC,yIAAyI,EACnJ,IAAI,EAAC,UAAU,aAGf,4CACG,IAAI,CAAC,KAAK,EAAE,GAAG,CAAC,CAAC,CAAC,CACjB,gCAAK,SAAS,EAAC,qBAAqB,YAClC,uBAAC,SAAG,IAAC,SAAS,EAAC,MAAM,EAAC,KAAK,EAAE,IAAI,CAAC,KAAK,GAAI,GACvC,CACP,CAAC,CAAC,CAAC,IAAI,EACP,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CACZ,+BACE,SAAS,EAAE,2BACT,CAAC,IAAI,CAAC,WAAW,IAAI,CAAC,IAAI,CAAC,KAAK,EAAE,MAAM,CAAC,CAAC,CAAC,aAAa,CAAC,CAAC,CAAC,EAC7D,EAAE,YAED,IAAI,CAAC,KAAK,GACR,CACN,CAAC,CAAC,CAAC,IAAI,EACP,IAAI,CAAC,WAAW,CAAC,CAAC,CAAC,CAClB,gCAAK,SAAS,EAAC,8CAA8C,YAAE,IAAI,CAAC,WAAW,GAAO,CACvF,CAAC,CAAC,CAAC,IAAI,EACP,IAAI,CAAC,KAAK,EAAE,MAAM,CAAC,CAAC,CAAC,WAAW,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,IAAI,IAChD,EACL,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC,CACX,uBAAC,eAAM,IAAC,SAAS,EAAC,MAAM,EAAC,IAAI,EAAC,wDAAW,EAAC,OAAO,EAAC,WAAW,EAAC,IAAI,EAAE,IAAI,CAAC,IAAI,GAAI,CAClF,CAAC,CAAC,CAAC,IAAI,KAxBH,GAAG,CAyBJ,CACP,CAAC;AACJ,CAAC;AAED,SAAS,WAAW,CAAC,QAAkB,EAAE;IACvC,OAAO,CACL,oCAAS,SAAS,EAAC,oBAAoB,EAAC,IAAI,EAAC,MAAM,YAChD,KAAK,CAAC,GAAG,CAAC,CAAC,IAAI,EAAE,CAAC,EAAE,EAAE,CAAC,CACtB,uBAAC,qBAAS,cACR,iCAAM,SAAS,EAAC,6BAA6B,YAAE,IAAI,GAAQ,IAD7C,MAAM,CAAC,CAAC,CAAC,CAEb,CACb,CAAC,GACM,CACX,CAAC;AACJ,CAAC"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import type { Picture } from './model/Picture';
|
|
2
|
+
export interface GalleryCard {
|
|
3
|
+
title?: string;
|
|
4
|
+
description?: string;
|
|
5
|
+
image?: Picture;
|
|
6
|
+
href?: string;
|
|
7
|
+
items?: string[];
|
|
8
|
+
}
|
|
9
|
+
export interface GalleryContent {
|
|
10
|
+
title?: string;
|
|
11
|
+
description?: string;
|
|
12
|
+
cards?: GalleryCard[];
|
|
13
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"GalleryContent.js","sourceRoot":"","sources":["../src/GalleryContent.ts"],"names":[],"mappings":""}
|
package/dist/Img.d.ts
CHANGED
package/dist/MobileAppTile.d.ts
CHANGED
|
@@ -1,13 +1,5 @@
|
|
|
1
|
-
import type {
|
|
1
|
+
import type { MobileAppTileContent } from './MobileAppTileContent';
|
|
2
2
|
import type { UniBlockProps } from './types';
|
|
3
|
-
export interface QRCode {
|
|
4
|
-
src?: string;
|
|
5
|
-
href?: string;
|
|
6
|
-
}
|
|
7
|
-
export interface MobileAppTileContent extends BaseTileContent {
|
|
8
|
-
title?: string;
|
|
9
|
-
qr?: QRCode;
|
|
10
|
-
}
|
|
11
3
|
export interface MobileAppTileProps extends MobileAppTileContent, UniBlockProps {
|
|
12
4
|
}
|
|
13
5
|
export declare const MobileAppTile: (props: import("@redneckz/uni-jsx").PropsWithChildren<MobileAppTileProps, any>, context?: any) => any;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"MobileAppTile.js","sourceRoot":"","sources":["../src/MobileAppTile.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;
|
|
1
|
+
{"version":3,"file":"MobileAppTile.js","sourceRoot":"","sources":["../src/MobileAppTile.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AAExC,iCAA8B;AAKjB,QAAA,aAAa,GAAG,IAAA,aAAG,EAC9B,CAAC,EAAE,SAAS,EAAE,OAAO,EAAE,KAAK,GAAG,sBAAsB,EAAE,EAAE,EAAE,OAAO,GAAG,EAAE,EAAE,EAAE,EAAE;IAC3E,OAAO,CACL,uBAAC,WAAI,IAAC,SAAS,EAAE,SAAS,EAAE,OAAO,EAAE,OAAO,EAAE,KAAK,EAAE,KAAK,EAAE,OAAO,EAAE,OAAO,YAC1E,iCAAK,SAAS,EAAC,mBAAmB,aAC/B,EAAE,EAAE,GAAG,IAAI,EAAE,EAAE,IAAI,IAAI,CACtB,8BAAG,IAAI,EAAE,EAAE,CAAC,IAAI,EAAE,MAAM,EAAC,QAAQ,YAC/B,gCACE,GAAG,EAAE,EAAE,CAAC,GAAG,EACX,GAAG,EAAE,KAAK,EACV,KAAK,EAAE,KAAK,EACZ,KAAK,EAAC,KAAK,EACX,MAAM,EAAC,KAAK,EACZ,SAAS,EAAC,gEAAgE,GAC1E,GACA,CACL,EACD,iCAAM,SAAS,EAAC,8CAA8C,+SAEvD,IACH,GACD,CACR,CAAC;AACJ,CAAC,CACF,CAAC"}
|