@redneckz/wildless-cms-uni-blocks 0.14.241 → 0.14.243

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.
Files changed (40) hide show
  1. package/bundle/blocks.schema.json +1 -1
  2. package/bundle/bundle.umd.js +7 -3
  3. package/bundle/bundle.umd.min.js +1 -1
  4. package/bundle/components/MobileAppTile/MobileAppTile.d.ts +1 -1
  5. package/bundle/components/MobileAppTile/MobileAppTileContent.d.ts +2 -0
  6. package/dist/components/Footer/iconsMap.js +4 -0
  7. package/dist/components/Footer/iconsMap.js.map +1 -1
  8. package/dist/components/MobileAppTile/MobileAppTile.d.ts +1 -1
  9. package/dist/components/MobileAppTile/MobileAppTile.js +3 -3
  10. package/dist/components/MobileAppTile/MobileAppTile.js.map +1 -1
  11. package/dist/components/MobileAppTile/MobileAppTileContent.d.ts +2 -0
  12. package/lib/components/Footer/iconsMap.js +4 -0
  13. package/lib/components/Footer/iconsMap.js.map +1 -1
  14. package/lib/components/MobileAppTile/MobileAppTile.d.ts +1 -1
  15. package/lib/components/MobileAppTile/MobileAppTile.js +3 -3
  16. package/lib/components/MobileAppTile/MobileAppTile.js.map +1 -1
  17. package/lib/components/MobileAppTile/MobileAppTileContent.d.ts +2 -0
  18. package/mobile/bundle/bundle.umd.js +7 -3
  19. package/mobile/bundle/bundle.umd.min.js +1 -1
  20. package/mobile/bundle/components/MobileAppTile/MobileAppTile.d.ts +1 -1
  21. package/mobile/bundle/components/MobileAppTile/MobileAppTileContent.d.ts +2 -0
  22. package/mobile/dist/components/Footer/iconsMap.js +4 -0
  23. package/mobile/dist/components/Footer/iconsMap.js.map +1 -1
  24. package/mobile/dist/components/MobileAppTile/MobileAppTile.d.ts +1 -1
  25. package/mobile/dist/components/MobileAppTile/MobileAppTile.js +3 -3
  26. package/mobile/dist/components/MobileAppTile/MobileAppTile.js.map +1 -1
  27. package/mobile/dist/components/MobileAppTile/MobileAppTileContent.d.ts +2 -0
  28. package/mobile/lib/components/Footer/iconsMap.js +4 -0
  29. package/mobile/lib/components/Footer/iconsMap.js.map +1 -1
  30. package/mobile/lib/components/MobileAppTile/MobileAppTile.d.ts +1 -1
  31. package/mobile/lib/components/MobileAppTile/MobileAppTile.js +3 -3
  32. package/mobile/lib/components/MobileAppTile/MobileAppTile.js.map +1 -1
  33. package/mobile/lib/components/MobileAppTile/MobileAppTileContent.d.ts +2 -0
  34. package/mobile/src/components/Footer/iconsMap.ts +4 -0
  35. package/mobile/src/components/MobileAppTile/MobileAppTile.tsx +4 -3
  36. package/mobile/src/components/MobileAppTile/MobileAppTileContent.ts +2 -0
  37. package/package.json +1 -1
  38. package/src/components/Footer/iconsMap.ts +4 -0
  39. package/src/components/MobileAppTile/MobileAppTile.tsx +4 -3
  40. package/src/components/MobileAppTile/MobileAppTileContent.ts +2 -0
@@ -2,4 +2,4 @@ import { type UniBlockProps } from '../../UniBlock/UniBlockProps';
2
2
  import { type MobileAppTileContent } from './MobileAppTileContent';
3
3
  export interface MobileAppTileProps extends MobileAppTileContent, UniBlockProps {
4
4
  }
5
- export declare const MobileAppTile: import("@redneckz/uni-jsx").UNIComponent<MobileAppTileProps, any, any>;
5
+ export declare const MobileAppTile: import("../../UniBlock/UniBlock").UniBlockComponent<MobileAppTileProps>;
@@ -1,5 +1,6 @@
1
1
  import { type AdditionalDescriptionProps, type DescriptionProps, type HeadlineCommonProps, type TitleProps } from '../../model/HeadlineType';
2
2
  import { type Picture } from '../../model/Picture';
3
+ import { type HeadingType } from '../../ui-kit/Heading/HeadingProps';
3
4
  import { type ImageContent } from '../../ui-kit/Img/ImgProps';
4
5
  import { type ButtonsSectionContent } from '../../ui-kit/LinkButton/ButtonsSectionContent';
5
6
  import { type ListContent } from '../../ui-kit/List/ListContent';
@@ -10,4 +11,5 @@ import { type UniBlockContent } from '../../UniBlock/UniBlockProps';
10
11
  export declare type MobileAppTileContent = UniBlockContent & AdditionalDescriptionProps & HeadlineCommonProps & TitleProps & DescriptionProps & ButtonsSectionContent & ListContent & ImageContent & {
11
12
  /** @title QR-код */
12
13
  qr?: Picture;
14
+ headingType?: HeadingType;
13
15
  };
@@ -21,6 +21,10 @@ exports.ICONS_MAP = [
21
21
  origins: ['play.google.com'],
22
22
  iconMapped: { icon: 'PlayMarketIcon' },
23
23
  },
24
+ {
25
+ origins: ['appgallery.huawei.com'],
26
+ iconMapped: { icon: 'HuaweiIcon' },
27
+ },
24
28
  {
25
29
  origins: ['youtube.com'],
26
30
  iconMapped: { icon: 'YoutubeIcon' },
@@ -1 +1 @@
1
- {"version":3,"file":"iconsMap.js","sourceRoot":"","sources":["../../../src/components/Footer/iconsMap.ts"],"names":[],"mappings":";;AAQa,QAAA,SAAS,GAAwB;IAC5C;QACE,OAAO,EAAE,CAAC,MAAM,EAAE,cAAc,CAAC;QACjC,UAAU,EAAE,EAAE,IAAI,EAAE,cAAc,EAAE;KACrC;IACD;QACE,OAAO,EAAE,CAAC,QAAQ,CAAC;QACnB,UAAU,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE;KAC/B;IACD;QACE,OAAO,EAAE,CAAC,OAAO,CAAC;QAClB,UAAU,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE;KAC/B;IACD;QACE,OAAO,EAAE,CAAC,gBAAgB,CAAC;QAC3B,UAAU,EAAE,EAAE,IAAI,EAAE,WAAW,EAAE;KAClC;IACD;QACE,OAAO,EAAE,CAAC,iBAAiB,CAAC;QAC5B,UAAU,EAAE,EAAE,IAAI,EAAE,gBAAgB,EAAE;KACvC;IACD;QACE,OAAO,EAAE,CAAC,aAAa,CAAC;QACxB,UAAU,EAAE,EAAE,IAAI,EAAE,aAAa,EAAE;KACpC;IACD;QACE,OAAO,EAAE,CAAC,WAAW,CAAC;QACtB,UAAU,EAAE,EAAE,IAAI,EAAE,YAAY,EAAE;KACnC;IACD;QACE,OAAO,EAAE,CAAC,SAAS,CAAC;QACpB,UAAU,EAAE,EAAE,IAAI,EAAE,UAAU,EAAE;KACjC;CACF,CAAC"}
1
+ {"version":3,"file":"iconsMap.js","sourceRoot":"","sources":["../../../src/components/Footer/iconsMap.ts"],"names":[],"mappings":";;AAQa,QAAA,SAAS,GAAwB;IAC5C;QACE,OAAO,EAAE,CAAC,MAAM,EAAE,cAAc,CAAC;QACjC,UAAU,EAAE,EAAE,IAAI,EAAE,cAAc,EAAE;KACrC;IACD;QACE,OAAO,EAAE,CAAC,QAAQ,CAAC;QACnB,UAAU,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE;KAC/B;IACD;QACE,OAAO,EAAE,CAAC,OAAO,CAAC;QAClB,UAAU,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE;KAC/B;IACD;QACE,OAAO,EAAE,CAAC,gBAAgB,CAAC;QAC3B,UAAU,EAAE,EAAE,IAAI,EAAE,WAAW,EAAE;KAClC;IACD;QACE,OAAO,EAAE,CAAC,iBAAiB,CAAC;QAC5B,UAAU,EAAE,EAAE,IAAI,EAAE,gBAAgB,EAAE;KACvC;IACD;QACE,OAAO,EAAE,CAAC,uBAAuB,CAAC;QAClC,UAAU,EAAE,EAAE,IAAI,EAAE,YAAY,EAAE;KACnC;IACD;QACE,OAAO,EAAE,CAAC,aAAa,CAAC;QACxB,UAAU,EAAE,EAAE,IAAI,EAAE,aAAa,EAAE;KACpC;IACD;QACE,OAAO,EAAE,CAAC,WAAW,CAAC;QACtB,UAAU,EAAE,EAAE,IAAI,EAAE,YAAY,EAAE;KACnC;IACD;QACE,OAAO,EAAE,CAAC,SAAS,CAAC;QACpB,UAAU,EAAE,EAAE,IAAI,EAAE,UAAU,EAAE;KACjC;CACF,CAAC"}
@@ -2,4 +2,4 @@ import { type UniBlockProps } from '../../UniBlock/UniBlockProps';
2
2
  import { type MobileAppTileContent } from './MobileAppTileContent';
3
3
  export interface MobileAppTileProps extends MobileAppTileContent, UniBlockProps {
4
4
  }
5
- export declare const MobileAppTile: import("@redneckz/uni-jsx").UNIComponent<MobileAppTileProps, any, any>;
5
+ export declare const MobileAppTile: import("../../UniBlock/UniBlock").UniBlockComponent<MobileAppTileProps>;
@@ -1,7 +1,6 @@
1
1
  Object.defineProperty(exports, "__esModule", { value: true });
2
2
  exports.MobileAppTile = void 0;
3
3
  const jsx_runtime_1 = require("@redneckz/uni-jsx/jsx-runtime");
4
- const uni_jsx_1 = require("@redneckz/uni-jsx");
5
4
  const BaseTile_1 = require("../../ui-kit/BaseTile/BaseTile");
6
5
  const BlockWrapper_1 = require("../../ui-kit/BlockWrapper");
7
6
  const Heading_1 = require("../../ui-kit/Heading/Heading");
@@ -9,10 +8,11 @@ const Img_1 = require("../../ui-kit/Img/Img");
9
8
  const renderButtonsSection_1 = require("../../ui-kit/LinkButton/renderButtonsSection");
10
9
  const List_1 = require("../../ui-kit/List/List");
11
10
  const Text_1 = require("../../ui-kit/Text/Text");
11
+ const UniBlock_1 = require("../../UniBlock/UniBlock");
12
12
  const style_1 = require("../../utils/style");
13
- exports.MobileAppTile = (0, uni_jsx_1.JSX)(({ className, padding, align = 'text-left', buttons = [], description, image, items, qr, additionalDescription = '', title = 'Мобильное приложение', version = 'primary', ...rest }) => {
13
+ exports.MobileAppTile = (0, UniBlock_1.UniBlock)(({ className, padding, align = 'text-left', buttons = [], description, image, items, qr, headingType, additionalDescription = '', title = 'Мобильное приложение', version = 'primary', ...rest }) => {
14
14
  const containerStyle = version === 'secondary' ? 'p-m min-w-32' : 'min-w-24';
15
15
  const img = image?.src ? (0, jsx_runtime_1.jsx)(Img_1.Img, { className: "hidden lg:block", image: image }) : null;
16
- return ((0, jsx_runtime_1.jsx)(BlockWrapper_1.BlockWrapper, { className: (0, style_1.style)('min-h-80', className), padding: "p-0", version: version, ...rest, children: (0, jsx_runtime_1.jsxs)(BaseTile_1.BaseTile, { className: "h-full", padding: padding, defaultPadding: "p-6xl", title: (0, jsx_runtime_1.jsx)(Heading_1.Heading, { headingType: "h3", title: title, className: (0, style_1.style)('whitespace-pre-wrap', align) }), rightImage: img, buttons: (0, renderButtonsSection_1.renderButtonsSection)(buttons, { className: 'flex-wrap' }), children: [description ? ((0, jsx_runtime_1.jsx)(Text_1.Text, { size: "text-xl", "font-weight": "font-light", children: description })) : null, (0, jsx_runtime_1.jsxs)("div", { className: (0, style_1.style)('gap-m', 'flex flex-1 flex-col', 'flex-col items-start @xl:flex-row @xl:items-center'), children: [(0, jsx_runtime_1.jsx)(List_1.List, { items: items, listItemSize: "M" }), (0, jsx_runtime_1.jsx)(Text_1.Text, { size: "text-m", "font-weight": "font-light", color: "text-secondary-text", children: additionalDescription }), qr?.src ? ((0, jsx_runtime_1.jsx)("div", { className: (0, style_1.style)('flex justify-center bg-white rounded-md @xl:-order-1', containerStyle), children: (0, jsx_runtime_1.jsx)(Img_1.Img, { className: "w-fit", image: qr }) })) : null, image?.src ? (0, jsx_runtime_1.jsx)(Img_1.Img, { className: "lg:hidden", image: image }) : null] })] }) }));
16
+ return ((0, jsx_runtime_1.jsx)(BlockWrapper_1.BlockWrapper, { className: (0, style_1.style)('min-h-80', className), padding: "p-0", version: version, ...rest, children: (0, jsx_runtime_1.jsxs)(BaseTile_1.BaseTile, { className: "h-full", padding: padding, defaultPadding: "p-6xl", title: (0, jsx_runtime_1.jsx)(Heading_1.Heading, { headingType: headingType, title: title, className: (0, style_1.style)('whitespace-pre-wrap', align) }), rightImage: img, buttons: (0, renderButtonsSection_1.renderButtonsSection)(buttons, { className: 'flex-wrap' }), children: [description ? ((0, jsx_runtime_1.jsx)(Text_1.Text, { size: "text-xl", "font-weight": "font-light", children: description })) : null, (0, jsx_runtime_1.jsxs)("div", { className: (0, style_1.style)('gap-m', 'flex flex-1 flex-col', 'flex-col items-start @xl:flex-row @xl:items-center'), children: [(0, jsx_runtime_1.jsx)(List_1.List, { items: items, listItemSize: "M" }), (0, jsx_runtime_1.jsx)(Text_1.Text, { size: "text-m", "font-weight": "font-light", color: "text-secondary-text", children: additionalDescription }), qr?.src ? ((0, jsx_runtime_1.jsx)("div", { className: (0, style_1.style)('flex justify-center bg-white rounded-md @xl:-order-1', containerStyle), children: (0, jsx_runtime_1.jsx)(Img_1.Img, { className: "w-fit", image: qr }) })) : null, image?.src ? (0, jsx_runtime_1.jsx)(Img_1.Img, { className: "lg:hidden", image: image }) : null] })] }) }));
17
17
  });
18
18
  //# sourceMappingURL=MobileAppTile.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"MobileAppTile.js","sourceRoot":"","sources":["../../../src/components/MobileAppTile/MobileAppTile.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AACxC,6DAA0D;AAC1D,4DAAyD;AACzD,0DAAuD;AACvD,8CAA2C;AAC3C,uFAAoF;AACpF,iDAA8C;AAC9C,iDAA8C;AAE9C,6CAA0C;AAI7B,QAAA,aAAa,GAAG,IAAA,aAAG,EAC9B,CAAC,EACC,SAAS,EACT,OAAO,EACP,KAAK,GAAG,WAAW,EACnB,OAAO,GAAG,EAAE,EACZ,WAAW,EACX,KAAK,EACL,KAAK,EACL,EAAE,EACF,qBAAqB,GAAG,EAAE,EAC1B,KAAK,GAAG,sBAAsB,EAC9B,OAAO,GAAG,SAAS,EACnB,GAAG,IAAI,EACR,EAAE,EAAE;IACH,MAAM,cAAc,GAAG,OAAO,KAAK,WAAW,CAAC,CAAC,CAAC,cAAc,CAAC,CAAC,CAAC,UAAU,CAAC;IAE7E,MAAM,GAAG,GAAG,KAAK,EAAE,GAAG,CAAC,CAAC,CAAC,uBAAC,SAAG,IAAC,SAAS,EAAC,iBAAiB,EAAC,KAAK,EAAE,KAAK,GAAI,CAAC,CAAC,CAAC,IAAI,CAAC;IAElF,OAAO,CACL,uBAAC,2BAAY,IACX,SAAS,EAAE,IAAA,aAAK,EAAC,UAAU,EAAE,SAAS,CAAC,EACvC,OAAO,EAAC,KAAK,EACb,OAAO,EAAE,OAAO,KACZ,IAAI,YAER,wBAAC,mBAAQ,IACP,SAAS,EAAC,QAAQ,EAClB,OAAO,EAAE,OAAO,EAChB,cAAc,EAAC,OAAO,EACtB,KAAK,EACH,uBAAC,iBAAO,IACN,WAAW,EAAC,IAAI,EAChB,KAAK,EAAE,KAAK,EACZ,SAAS,EAAE,IAAA,aAAK,EAAC,qBAAqB,EAAE,KAAK,CAAC,GAC9C,EAEJ,UAAU,EAAE,GAAG,EACf,OAAO,EAAE,IAAA,2CAAoB,EAAC,OAAO,EAAE,EAAE,SAAS,EAAE,WAAW,EAAE,CAAC,aAEjE,WAAW,CAAC,CAAC,CAAC,CACb,uBAAC,WAAI,IAAC,IAAI,EAAC,SAAS,iBAAa,YAAY,YAC1C,WAAW,GACP,CACR,CAAC,CAAC,CAAC,IAAI,EACR,iCACE,SAAS,EAAE,IAAA,aAAK,EACd,OAAO,EACP,sBAAsB,EACtB,oDAAoD,CACrD,aAED,uBAAC,WAAI,IAAC,KAAK,EAAE,KAAK,EAAE,YAAY,EAAC,GAAG,GAAG,EACvC,uBAAC,WAAI,IAAC,IAAI,EAAC,QAAQ,iBAAa,YAAY,EAAC,KAAK,EAAC,qBAAqB,YACrE,qBAAqB,GACjB,EACN,EAAE,EAAE,GAAG,CAAC,CAAC,CAAC,CACT,gCACE,SAAS,EAAE,IAAA,aAAK,EACd,sDAAsD,EACtD,cAAc,CACf,YAED,uBAAC,SAAG,IAAC,SAAS,EAAC,OAAO,EAAC,KAAK,EAAE,EAAE,GAAI,GAChC,CACP,CAAC,CAAC,CAAC,IAAI,EACP,KAAK,EAAE,GAAG,CAAC,CAAC,CAAC,uBAAC,SAAG,IAAC,SAAS,EAAC,WAAW,EAAC,KAAK,EAAE,KAAK,GAAI,CAAC,CAAC,CAAC,IAAI,IAC5D,IACG,GACE,CAChB,CAAC;AACJ,CAAC,CACF,CAAC"}
1
+ {"version":3,"file":"MobileAppTile.js","sourceRoot":"","sources":["../../../src/components/MobileAppTile/MobileAppTile.tsx"],"names":[],"mappings":";;;AAAA,6DAA0D;AAC1D,4DAAyD;AACzD,0DAAuD;AACvD,8CAA2C;AAC3C,uFAAoF;AACpF,iDAA8C;AAC9C,iDAA8C;AAC9C,sDAAm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EACd,OAAO,EACP,sBAAsB,EACtB,oDAAoD,CACrD,aAED,uBAAC,WAAI,IAAC,KAAK,EAAE,KAAK,EAAE,YAAY,EAAC,GAAG,GAAG,EACvC,uBAAC,WAAI,IAAC,IAAI,EAAC,QAAQ,iBAAa,YAAY,EAAC,KAAK,EAAC,qBAAqB,YACrE,qBAAqB,GACjB,EACN,EAAE,EAAE,GAAG,CAAC,CAAC,CAAC,CACT,gCACE,SAAS,EAAE,IAAA,aAAK,EACd,sDAAsD,EACtD,cAAc,CACf,YAED,uBAAC,SAAG,IAAC,SAAS,EAAC,OAAO,EAAC,KAAK,EAAE,EAAE,GAAI,GAChC,CACP,CAAC,CAAC,CAAC,IAAI,EACP,KAAK,EAAE,GAAG,CAAC,CAAC,CAAC,uBAAC,SAAG,IAAC,SAAS,EAAC,WAAW,EAAC,KAAK,EAAE,KAAK,GAAI,CAAC,CAAC,CAAC,IAAI,IAC5D,IACG,GACE,CAChB,CAAC;AACJ,CAAC,CACF,CAAC"}
@@ -1,5 +1,6 @@
1
1
  import { type AdditionalDescriptionProps, type DescriptionProps, type HeadlineCommonProps, type TitleProps } from '../../model/HeadlineType';
2
2
  import { type Picture } from '../../model/Picture';
3
+ import { type HeadingType } from '../../ui-kit/Heading/HeadingProps';
3
4
  import { type ImageContent } from '../../ui-kit/Img/ImgProps';
4
5
  import { type ButtonsSectionContent } from '../../ui-kit/LinkButton/ButtonsSectionContent';
5
6
  import { type ListContent } from '../../ui-kit/List/ListContent';
@@ -10,4 +11,5 @@ import { type UniBlockContent } from '../../UniBlock/UniBlockProps';
10
11
  export declare type MobileAppTileContent = UniBlockContent & AdditionalDescriptionProps & HeadlineCommonProps & TitleProps & DescriptionProps & ButtonsSectionContent & ListContent & ImageContent & {
11
12
  /** @title QR-код */
12
13
  qr?: Picture;
14
+ headingType?: HeadingType;
13
15
  };
@@ -19,6 +19,10 @@ export const ICONS_MAP = [
19
19
  origins: ['play.google.com'],
20
20
  iconMapped: { icon: 'PlayMarketIcon' },
21
21
  },
22
+ {
23
+ origins: ['appgallery.huawei.com'],
24
+ iconMapped: { icon: 'HuaweiIcon' },
25
+ },
22
26
  {
23
27
  origins: ['youtube.com'],
24
28
  iconMapped: { icon: 'YoutubeIcon' },
@@ -1 +1 @@
1
- {"version":3,"file":"iconsMap.js","sourceRoot":"","sources":["../../../src/components/Footer/iconsMap.ts"],"names":[],"mappings":"AAQA,MAAM,CAAC,MAAM,SAAS,GAAwB;IAC5C;QACE,OAAO,EAAE,CAAC,MAAM,EAAE,cAAc,CAAC;QACjC,UAAU,EAAE,EAAE,IAAI,EAAE,cAAc,EAAE;KACrC;IACD;QACE,OAAO,EAAE,CAAC,QAAQ,CAAC;QACnB,UAAU,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE;KAC/B;IACD;QACE,OAAO,EAAE,CAAC,OAAO,CAAC;QAClB,UAAU,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE;KAC/B;IACD;QACE,OAAO,EAAE,CAAC,gBAAgB,CAAC;QAC3B,UAAU,EAAE,EAAE,IAAI,EAAE,WAAW,EAAE;KAClC;IACD;QACE,OAAO,EAAE,CAAC,iBAAiB,CAAC;QAC5B,UAAU,EAAE,EAAE,IAAI,EAAE,gBAAgB,EAAE;KACvC;IACD;QACE,OAAO,EAAE,CAAC,aAAa,CAAC;QACxB,UAAU,EAAE,EAAE,IAAI,EAAE,aAAa,EAAE;KACpC;IACD;QACE,OAAO,EAAE,CAAC,WAAW,CAAC;QACtB,UAAU,EAAE,EAAE,IAAI,EAAE,YAAY,EAAE;KACnC;IACD;QACE,OAAO,EAAE,CAAC,SAAS,CAAC;QACpB,UAAU,EAAE,EAAE,IAAI,EAAE,UAAU,EAAE;KACjC;CACF,CAAC"}
1
+ {"version":3,"file":"iconsMap.js","sourceRoot":"","sources":["../../../src/components/Footer/iconsMap.ts"],"names":[],"mappings":"AAQA,MAAM,CAAC,MAAM,SAAS,GAAwB;IAC5C;QACE,OAAO,EAAE,CAAC,MAAM,EAAE,cAAc,CAAC;QACjC,UAAU,EAAE,EAAE,IAAI,EAAE,cAAc,EAAE;KACrC;IACD;QACE,OAAO,EAAE,CAAC,QAAQ,CAAC;QACnB,UAAU,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE;KAC/B;IACD;QACE,OAAO,EAAE,CAAC,OAAO,CAAC;QAClB,UAAU,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE;KAC/B;IACD;QACE,OAAO,EAAE,CAAC,gBAAgB,CAAC;QAC3B,UAAU,EAAE,EAAE,IAAI,EAAE,WAAW,EAAE;KAClC;IACD;QACE,OAAO,EAAE,CAAC,iBAAiB,CAAC;QAC5B,UAAU,EAAE,EAAE,IAAI,EAAE,gBAAgB,EAAE;KACvC;IACD;QACE,OAAO,EAAE,CAAC,uBAAuB,CAAC;QAClC,UAAU,EAAE,EAAE,IAAI,EAAE,YAAY,EAAE;KACnC;IACD;QACE,OAAO,EAAE,CAAC,aAAa,CAAC;QACxB,UAAU,EAAE,EAAE,IAAI,EAAE,aAAa,EAAE;KACpC;IACD;QACE,OAAO,EAAE,CAAC,WAAW,CAAC;QACtB,UAAU,EAAE,EAAE,IAAI,EAAE,YAAY,EAAE;KACnC;IACD;QACE,OAAO,EAAE,CAAC,SAAS,CAAC;QACpB,UAAU,EAAE,EAAE,IAAI,EAAE,UAAU,EAAE;KACjC;CACF,CAAC"}
@@ -2,4 +2,4 @@ import { type UniBlockProps } from '../../UniBlock/UniBlockProps';
2
2
  import { type MobileAppTileContent } from './MobileAppTileContent';
3
3
  export interface MobileAppTileProps extends MobileAppTileContent, UniBlockProps {
4
4
  }
5
- export declare const MobileAppTile: import("@redneckz/uni-jsx").UNIComponent<MobileAppTileProps, any, any>;
5
+ export declare const MobileAppTile: import("../../UniBlock/UniBlock").UniBlockComponent<MobileAppTileProps>;
@@ -1,5 +1,4 @@
1
1
  import { jsx as _jsx, jsxs as _jsxs } from "@redneckz/uni-jsx/jsx-runtime";
2
- import { JSX } from '@redneckz/uni-jsx';
3
2
  import { BaseTile } from '../../ui-kit/BaseTile/BaseTile.js';
4
3
  import { BlockWrapper } from '../../ui-kit/BlockWrapper.js';
5
4
  import { Heading } from '../../ui-kit/Heading/Heading.js';
@@ -7,10 +6,11 @@ import { Img } from '../../ui-kit/Img/Img.js';
7
6
  import { renderButtonsSection } from '../../ui-kit/LinkButton/renderButtonsSection.js';
8
7
  import { List } from '../../ui-kit/List/List.js';
9
8
  import { Text } from '../../ui-kit/Text/Text.js';
9
+ import { UniBlock } from '../../UniBlock/UniBlock.js';
10
10
  import { style } from '../../utils/style.js';
11
- export const MobileAppTile = JSX(({ className, padding, align = 'text-left', buttons = [], description, image, items, qr, additionalDescription = '', title = 'Мобильное приложение', version = 'primary', ...rest }) => {
11
+ export const MobileAppTile = UniBlock(({ className, padding, align = 'text-left', buttons = [], description, image, items, qr, headingType, additionalDescription = '', title = 'Мобильное приложение', version = 'primary', ...rest }) => {
12
12
  const containerStyle = version === 'secondary' ? 'p-m min-w-32' : 'min-w-24';
13
13
  const img = image?.src ? _jsx(Img, { className: "hidden lg:block", image: image }) : null;
14
- return (_jsx(BlockWrapper, { className: style('min-h-80', className), padding: "p-0", version: version, ...rest, children: _jsxs(BaseTile, { className: "h-full", padding: padding, defaultPadding: "p-6xl", title: _jsx(Heading, { headingType: "h3", title: title, className: style('whitespace-pre-wrap', align) }), rightImage: img, buttons: renderButtonsSection(buttons, { className: 'flex-wrap' }), children: [description ? (_jsx(Text, { size: "text-xl", "font-weight": "font-light", children: description })) : null, _jsxs("div", { className: style('gap-m', 'flex flex-1 flex-col', 'flex-col items-start @xl:flex-row @xl:items-center'), children: [_jsx(List, { items: items, listItemSize: "M" }), _jsx(Text, { size: "text-m", "font-weight": "font-light", color: "text-secondary-text", children: additionalDescription }), qr?.src ? (_jsx("div", { className: style('flex justify-center bg-white rounded-md @xl:-order-1', containerStyle), children: _jsx(Img, { className: "w-fit", image: qr }) })) : null, image?.src ? _jsx(Img, { className: "lg:hidden", image: image }) : null] })] }) }));
14
+ return (_jsx(BlockWrapper, { className: style('min-h-80', className), padding: "p-0", version: version, ...rest, children: _jsxs(BaseTile, { className: "h-full", padding: padding, defaultPadding: "p-6xl", title: _jsx(Heading, { headingType: headingType, title: title, className: style('whitespace-pre-wrap', align) }), rightImage: img, buttons: renderButtonsSection(buttons, { className: 'flex-wrap' }), children: [description ? (_jsx(Text, { size: "text-xl", "font-weight": "font-light", children: description })) : null, _jsxs("div", { className: style('gap-m', 'flex flex-1 flex-col', 'flex-col items-start @xl:flex-row @xl:items-center'), children: [_jsx(List, { items: items, listItemSize: "M" }), _jsx(Text, { size: "text-m", "font-weight": "font-light", color: "text-secondary-text", children: additionalDescription }), qr?.src ? (_jsx("div", { className: style('flex justify-center bg-white rounded-md @xl:-order-1', containerStyle), children: _jsx(Img, { className: "w-fit", image: qr }) })) : null, image?.src ? _jsx(Img, { className: "lg:hidden", image: image }) : null] })] }) }));
15
15
  });
16
16
  //# sourceMappingURL=MobileAppTile.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"MobileAppTile.js","sourceRoot":"","sources":["../../../src/components/MobileAppTile/MobileAppTile.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AACxC,OAAO,EAAE,QAAQ,EAAE,MAAM,gCAAgC,CAAC;AAC1D,OAAO,EAAE,YAAY,EAAE,MAAM,2BAA2B,CAAC;AACzD,OAAO,EAAE,OAAO,EAAE,MAAM,8BAA8B,CAAC;AACvD,OAAO,EAAE,GAAG,EAAE,MAAM,sBAAsB,CAAC;AAC3C,OAAO,EAAE,oBAAoB,EAAE,MAAM,8CAA8C,CAAC;AACpF,OAAO,EAAE,IAAI,EAAE,MAAM,wBAAwB,CAAC;AAC9C,OAAO,EAAE,IAAI,EAAE,MAAM,wBAAwB,CAAC;AAE9C,OAAO,EAAE,KAAK,EAAE,MAAM,mBAAmB,CAAC;AAI1C,MAAM,CAAC,MAAM,aAAa,GAAG,GAAG,CAC9B,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EAAE,EAAE,GAAG,CAAC,CAAC,CAAC,CACT,cACE,SAAS,EAAE,KAAK,CACd,sDAAsD,EACtD,cAAc,CACf,YAED,KAAC,GAAG,IAAC,SAAS,EAAC,OAAO,EAAC,KAAK,EAAE,EAAE,GAAI,GAChC,CACP,CAAC,CAAC,CAAC,IAAI,EACP,KAAK,EAAE,GAAG,CAAC,CAAC,CAAC,KAAC,GAAG,IAAC,SAAS,EAAC,WAAW,EAAC,KAAK,EAAE,KAAK,GAAI,CAAC,CAAC,CAAC,IAAI,IAC5D,IACG,GACE,CAChB,CAAC;AACJ,CAAC,CACF,CAAC"}
@@ -1,5 +1,6 @@
1
1
  import { type AdditionalDescriptionProps, type DescriptionProps, type HeadlineCommonProps, type TitleProps } from '../../model/HeadlineType';
2
2
  import { type Picture } from '../../model/Picture';
3
+ import { type HeadingType } from '../../ui-kit/Heading/HeadingProps';
3
4
  import { type ImageContent } from '../../ui-kit/Img/ImgProps';
4
5
  import { type ButtonsSectionContent } from '../../ui-kit/LinkButton/ButtonsSectionContent';
5
6
  import { type ListContent } from '../../ui-kit/List/ListContent';
@@ -10,4 +11,5 @@ import { type UniBlockContent } from '../../UniBlock/UniBlockProps';
10
11
  export declare type MobileAppTileContent = UniBlockContent & AdditionalDescriptionProps & HeadlineCommonProps & TitleProps & DescriptionProps & ButtonsSectionContent & ListContent & ImageContent & {
11
12
  /** @title QR-код */
12
13
  qr?: Picture;
14
+ headingType?: HeadingType;
13
15
  };
@@ -3119,6 +3119,10 @@
3119
3119
  origins: ['play.google.com'],
3120
3120
  iconMapped: { icon: 'PlayMarketIcon' },
3121
3121
  },
3122
+ {
3123
+ origins: ['appgallery.huawei.com'],
3124
+ iconMapped: { icon: 'HuaweiIcon' },
3125
+ },
3122
3126
  {
3123
3127
  origins: ['youtube.com'],
3124
3128
  iconMapped: { icon: 'YoutubeIcon' },
@@ -3831,10 +3835,10 @@
3831
3835
  return docFormat.includes('/') ? docFormat.replace(regexp, '') : docFormat;
3832
3836
  };
3833
3837
 
3834
- const MobileAppTile = JSX(({ className, padding, align = 'text-left', buttons = [], description, image, items, qr, additionalDescription = '', title = 'Мобильное приложение', version = 'primary', ...rest }) => {
3838
+ const MobileAppTile = UniBlock(({ className, padding, align = 'text-left', buttons = [], description, image, items, qr, headingType, additionalDescription = '', title = 'Мобильное приложение', version = 'primary', ...rest }) => {
3835
3839
  const containerStyle = version === 'secondary' ? 'p-m min-w-32' : 'min-w-24';
3836
3840
  const img = image?.src ? jsx(Img, { className: "hidden lg:block", image: image }) : null;
3837
- return (jsx(BlockWrapper, { className: style('min-h-80', className), padding: "p-0", version: version, ...rest, children: jsxs(BaseTile, { className: "h-full", padding: padding, defaultPadding: "p-6xl", title: jsx(Heading, { headingType: "h3", title: title, className: style('whitespace-pre-wrap', align) }), rightImage: img, buttons: renderButtonsSection(buttons, { className: 'flex-wrap' }), children: [description ? (jsx(Text, { size: "text-xl", "font-weight": "font-light", children: description })) : null, jsxs("div", { className: style('gap-m', 'flex flex-1 flex-col', 'flex-col items-start @xl:flex-row @xl:items-center'), children: [jsx(List, { items: items, listItemSize: "M" }), jsx(Text, { size: "text-m", "font-weight": "font-light", color: "text-secondary-text", children: additionalDescription }), qr?.src ? (jsx("div", { className: style('flex justify-center bg-white rounded-md @xl:-order-1', containerStyle), children: jsx(Img, { className: "w-fit", image: qr }) })) : null, image?.src ? jsx(Img, { className: "lg:hidden", image: image }) : null] })] }) }));
3841
+ return (jsx(BlockWrapper, { className: style('min-h-80', className), padding: "p-0", version: version, ...rest, children: jsxs(BaseTile, { className: "h-full", padding: padding, defaultPadding: "p-6xl", title: jsx(Heading, { headingType: headingType, title: title, className: style('whitespace-pre-wrap', align) }), rightImage: img, buttons: renderButtonsSection(buttons, { className: 'flex-wrap' }), children: [description ? (jsx(Text, { size: "text-xl", "font-weight": "font-light", children: description })) : null, jsxs("div", { className: style('gap-m', 'flex flex-1 flex-col', 'flex-col items-start @xl:flex-row @xl:items-center'), children: [jsx(List, { items: items, listItemSize: "M" }), jsx(Text, { size: "text-m", "font-weight": "font-light", color: "text-secondary-text", children: additionalDescription }), qr?.src ? (jsx("div", { className: style('flex justify-center bg-white rounded-md @xl:-order-1', containerStyle), children: jsx(Img, { className: "w-fit", image: qr }) })) : null, image?.src ? jsx(Img, { className: "lg:hidden", image: image }) : null] })] }) }));
3838
3842
  });
3839
3843
 
3840
3844
  const badgeBgStyleMap = {
@@ -5661,7 +5665,7 @@
5661
5665
 
5662
5666
  const joinList = (sep) => (list) => list.reduce((acc, el, i) => (acc.length ? acc.concat({ ...sep, key: `sep-${i}` }, el) : [el]), []);
5663
5667
 
5664
- const packageVersion = "0.14.240";
5668
+ const packageVersion = "0.14.242";
5665
5669
 
5666
5670
  exports.Blocks = Blocks;
5667
5671
  exports.ContentPage = ContentPage;