@redneckz/wildless-cms-uni-blocks 0.2.100 → 0.2.104

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 (286) hide show
  1. package/bundle/blocks.schema.json +1 -1
  2. package/bundle/bundle.umd.js +126 -64
  3. package/bundle/bundle.umd.min.js +1 -1
  4. package/dist/components/BlockContent.d.ts +3 -2
  5. package/dist/components/Blocks.d.ts +1 -0
  6. package/dist/components/Blocks.js +2 -0
  7. package/dist/components/Blocks.js.map +1 -1
  8. package/dist/components/Footer/FooterContent.d.ts +1 -1
  9. package/dist/components/Footer/Sitemap.d.ts +1 -1
  10. package/dist/components/Footer/Sitemap.js +2 -2
  11. package/dist/components/Footer/Sitemap.js.map +1 -1
  12. package/dist/components/Header/Header.js +13 -9
  13. package/dist/components/Header/Header.js.map +1 -1
  14. package/dist/components/Header/HeaderContent.d.ts +8 -1
  15. package/dist/components/Header/HeaderSecondaryMenu.d.ts +2 -1
  16. package/dist/components/Header/HeaderSecondaryMenu.js +14 -2
  17. package/dist/components/Header/HeaderSecondaryMenu.js.map +1 -1
  18. package/dist/components/Header/HeaderSecondaryMenuButton.js +1 -1
  19. package/dist/components/Header/HeaderSecondaryMenuButton.js.map +1 -1
  20. package/dist/components/Headline/HeadlineContent.d.ts +2 -9
  21. package/dist/components/MobileBlocks.d.ts +1 -0
  22. package/dist/components/MobileBlocks.js +2 -0
  23. package/dist/components/MobileBlocks.js.map +1 -1
  24. package/dist/components/Navigation/Navigation.d.ts +5 -0
  25. package/dist/components/Navigation/Navigation.js +16 -0
  26. package/dist/components/Navigation/Navigation.js.map +1 -0
  27. package/dist/components/Navigation/NavigationContent.d.ts +10 -0
  28. package/dist/components/Navigation/NavigationContent.js +2 -0
  29. package/dist/components/Navigation/NavigationContent.js.map +1 -0
  30. package/dist/components/Navigation/NavigationItem.d.ts +4 -0
  31. package/dist/components/Navigation/NavigationItem.js +6 -0
  32. package/dist/components/Navigation/NavigationItem.js.map +1 -0
  33. package/dist/components/StepsBlock/StepsBlock.d.ts +1 -1
  34. package/dist/components/StepsBlock/StepsBlock.js +3 -3
  35. package/dist/components/StepsBlock/StepsBlock.js.map +1 -1
  36. package/dist/components/StepsBlock/StepsBlockContent.d.ts +5 -2
  37. package/dist/hooks/useLink.js +2 -1
  38. package/dist/hooks/useLink.js.map +1 -1
  39. package/dist/index.d.ts +1 -1
  40. package/dist/index.js.map +1 -1
  41. package/dist/model/BgColorVersion.d.ts +8 -0
  42. package/dist/model/BgColorVersion.js +2 -0
  43. package/dist/model/BgColorVersion.js.map +1 -0
  44. package/dist/services/sitemap/SitemapProps.d.ts +13 -0
  45. package/dist/services/sitemap/SitemapProps.js +2 -0
  46. package/dist/services/sitemap/SitemapProps.js.map +1 -0
  47. package/dist/services/sitemap/findActiveSubItem.d.ts +3 -0
  48. package/dist/services/sitemap/findActiveSubItem.js +13 -0
  49. package/dist/services/sitemap/findActiveSubItem.js.map +1 -0
  50. package/dist/services/sitemap/isHrefActive.d.ts +4 -0
  51. package/dist/services/sitemap/isHrefActive.js +9 -0
  52. package/dist/services/sitemap/isHrefActive.js.map +1 -0
  53. package/dist/services/sitemap/isSubItemActive.d.ts +3 -0
  54. package/dist/services/sitemap/isSubItemActive.js +6 -0
  55. package/dist/services/sitemap/isSubItemActive.js.map +1 -0
  56. package/dist/services/sitemap/isTopItemActive.d.ts +3 -0
  57. package/dist/services/sitemap/isTopItemActive.js +7 -0
  58. package/dist/services/sitemap/isTopItemActive.js.map +1 -0
  59. package/dist/services/sitemap/mergeTopItems.d.ts +2 -0
  60. package/dist/{mergeTopItems.js → services/sitemap/mergeTopItems.js} +1 -3
  61. package/dist/services/sitemap/mergeTopItems.js.map +1 -0
  62. package/dist/services/sitemap/useSitemap.d.ts +3 -0
  63. package/dist/{hooks → services/sitemap}/useSitemap.js +1 -1
  64. package/dist/services/sitemap/useSitemap.js.map +1 -0
  65. package/dist/ui-kit/HeaderItem/HeaderItem.js +16 -4
  66. package/dist/ui-kit/HeaderItem/HeaderItem.js.map +1 -1
  67. package/dist/ui-kit/Icon/IconProps.d.ts +83 -45
  68. package/dist/ui-kit/Icon/IconProps.js +62 -43
  69. package/dist/ui-kit/Icon/IconProps.js.map +1 -1
  70. package/dist/ui-kit/Logo/Logo.d.ts +1 -0
  71. package/dist/ui-kit/Logo/Logo.js +10 -2
  72. package/dist/ui-kit/Logo/Logo.js.map +1 -1
  73. package/dist/ui-kit/SearchBar.js +2 -3
  74. package/dist/ui-kit/SearchBar.js.map +1 -1
  75. package/dist/ui-kit/TopItem/TopItem.d.ts +2 -0
  76. package/dist/ui-kit/TopItem/TopItem.js +19 -7
  77. package/dist/ui-kit/TopItem/TopItem.js.map +1 -1
  78. package/dist/utils/adjustHref.d.ts +4 -0
  79. package/dist/utils/adjustHref.js +21 -0
  80. package/dist/utils/adjustHref.js.map +1 -0
  81. package/dist/utils/maxBy.d.ts +2 -0
  82. package/dist/utils/maxBy.js +7 -0
  83. package/dist/utils/maxBy.js.map +1 -0
  84. package/dist/utils/url.d.ts +0 -13
  85. package/dist/utils/url.js +2 -26
  86. package/dist/utils/url.js.map +1 -1
  87. package/dist/utils/withoutMobilePath.d.ts +2 -0
  88. package/dist/utils/withoutMobilePath.js +6 -0
  89. package/dist/utils/withoutMobilePath.js.map +1 -0
  90. package/lib/common.css +1 -1
  91. package/lib/components/BlockContent.d.ts +3 -2
  92. package/lib/components/Blocks.d.ts +1 -0
  93. package/lib/components/Blocks.js +2 -0
  94. package/lib/components/Blocks.js.map +1 -1
  95. package/lib/components/Footer/FooterContent.d.ts +1 -1
  96. package/lib/components/Footer/Sitemap.d.ts +1 -1
  97. package/lib/components/Footer/Sitemap.js +2 -2
  98. package/lib/components/Footer/Sitemap.js.map +1 -1
  99. package/lib/components/Header/Header.fixture.d.ts +4 -1
  100. package/lib/components/Header/Header.js +13 -9
  101. package/lib/components/Header/Header.js.map +1 -1
  102. package/lib/components/Header/HeaderContent.d.ts +8 -1
  103. package/lib/components/Header/HeaderSecondaryMenu.d.ts +2 -1
  104. package/lib/components/Header/HeaderSecondaryMenu.js +14 -2
  105. package/lib/components/Header/HeaderSecondaryMenu.js.map +1 -1
  106. package/lib/components/Header/HeaderSecondaryMenuButton.js +1 -1
  107. package/lib/components/Header/HeaderSecondaryMenuButton.js.map +1 -1
  108. package/lib/components/Headline/HeadlineContent.d.ts +2 -9
  109. package/lib/components/MobileBlocks.d.ts +1 -0
  110. package/lib/components/MobileBlocks.js +2 -0
  111. package/lib/components/MobileBlocks.js.map +1 -1
  112. package/lib/components/Navigation/Navigation.d.ts +5 -0
  113. package/lib/components/Navigation/Navigation.fixture.d.ts +2 -0
  114. package/lib/components/Navigation/Navigation.js +14 -0
  115. package/lib/components/Navigation/Navigation.js.map +1 -0
  116. package/lib/components/Navigation/NavigationContent.d.ts +10 -0
  117. package/lib/components/Navigation/NavigationContent.js +2 -0
  118. package/lib/components/Navigation/NavigationContent.js.map +1 -0
  119. package/lib/components/Navigation/NavigationItem.d.ts +4 -0
  120. package/lib/components/Navigation/NavigationItem.js +4 -0
  121. package/lib/components/Navigation/NavigationItem.js.map +1 -0
  122. package/lib/components/StepsBlock/StepsBlock.d.ts +1 -1
  123. package/lib/components/StepsBlock/StepsBlock.js +3 -3
  124. package/lib/components/StepsBlock/StepsBlock.js.map +1 -1
  125. package/lib/components/StepsBlock/StepsBlockContent.d.ts +5 -2
  126. package/lib/hooks/useLink.js +2 -1
  127. package/lib/hooks/useLink.js.map +1 -1
  128. package/lib/index.d.ts +1 -1
  129. package/lib/index.js.map +1 -1
  130. package/lib/model/BgColorVersion.d.ts +8 -0
  131. package/lib/model/BgColorVersion.js +2 -0
  132. package/lib/model/BgColorVersion.js.map +1 -0
  133. package/lib/services/sitemap/SitemapProps.d.ts +13 -0
  134. package/lib/services/sitemap/SitemapProps.js +2 -0
  135. package/lib/services/sitemap/SitemapProps.js.map +1 -0
  136. package/lib/services/sitemap/findActiveSubItem.d.ts +3 -0
  137. package/lib/services/sitemap/findActiveSubItem.js +10 -0
  138. package/lib/services/sitemap/findActiveSubItem.js.map +1 -0
  139. package/lib/services/sitemap/isHrefActive.d.ts +4 -0
  140. package/lib/services/sitemap/isHrefActive.js +6 -0
  141. package/lib/services/sitemap/isHrefActive.js.map +1 -0
  142. package/lib/services/sitemap/isSubItemActive.d.ts +3 -0
  143. package/lib/services/sitemap/isSubItemActive.js +3 -0
  144. package/lib/services/sitemap/isSubItemActive.js.map +1 -0
  145. package/lib/services/sitemap/isTopItemActive.d.ts +3 -0
  146. package/lib/services/sitemap/isTopItemActive.js +4 -0
  147. package/lib/services/sitemap/isTopItemActive.js.map +1 -0
  148. package/lib/services/sitemap/mergeTopItems.d.ts +2 -0
  149. package/lib/{mergeTopItems.js → services/sitemap/mergeTopItems.js} +1 -3
  150. package/lib/services/sitemap/mergeTopItems.js.map +1 -0
  151. package/lib/services/sitemap/useSitemap.d.ts +3 -0
  152. package/lib/{hooks → services/sitemap}/useSitemap.js +1 -1
  153. package/lib/services/sitemap/useSitemap.js.map +1 -0
  154. package/lib/ui-kit/HeaderItem/HeaderItem.js +16 -4
  155. package/lib/ui-kit/HeaderItem/HeaderItem.js.map +1 -1
  156. package/lib/ui-kit/Icon/IconProps.d.ts +83 -45
  157. package/lib/ui-kit/Icon/IconProps.js +62 -43
  158. package/lib/ui-kit/Icon/IconProps.js.map +1 -1
  159. package/lib/ui-kit/Logo/Logo.d.ts +1 -0
  160. package/lib/ui-kit/Logo/Logo.js +10 -2
  161. package/lib/ui-kit/Logo/Logo.js.map +1 -1
  162. package/lib/ui-kit/SearchBar.js +2 -3
  163. package/lib/ui-kit/SearchBar.js.map +1 -1
  164. package/lib/ui-kit/TopItem/TopItem.d.ts +2 -0
  165. package/lib/ui-kit/TopItem/TopItem.js +19 -7
  166. package/lib/ui-kit/TopItem/TopItem.js.map +1 -1
  167. package/lib/utils/adjustHref.d.ts +4 -0
  168. package/lib/utils/adjustHref.js +18 -0
  169. package/lib/utils/adjustHref.js.map +1 -0
  170. package/lib/utils/maxBy.d.ts +2 -0
  171. package/lib/utils/maxBy.js +3 -0
  172. package/lib/utils/maxBy.js.map +1 -0
  173. package/lib/utils/url.d.ts +0 -13
  174. package/lib/utils/url.js +1 -21
  175. package/lib/utils/url.js.map +1 -1
  176. package/lib/utils/withoutMobilePath.d.ts +2 -0
  177. package/lib/utils/withoutMobilePath.js +3 -0
  178. package/lib/utils/withoutMobilePath.js.map +1 -0
  179. package/package.json +4 -2
  180. package/src/components/BlockContent.ts +4 -2
  181. package/src/components/Blocks.ts +2 -0
  182. package/src/components/ContentPage/ContentPage.page.json +28 -15
  183. package/src/components/Footer/FooterContent.ts +1 -1
  184. package/src/components/Footer/Sitemap.tsx +4 -3
  185. package/src/components/Header/Header.fixture.tsx +4 -18
  186. package/src/components/Header/Header.tsx +56 -45
  187. package/src/components/Header/HeaderContent.ts +8 -1
  188. package/src/components/Header/HeaderSecondaryMenu.tsx +25 -12
  189. package/src/components/Header/HeaderSecondaryMenuButton.tsx +2 -4
  190. package/src/components/Headline/HeadlineContent.ts +2 -10
  191. package/src/components/MobileBlocks.ts +2 -0
  192. package/src/components/Navigation/Navigation.fixture.tsx +28 -0
  193. package/src/components/Navigation/Navigation.tsx +39 -0
  194. package/src/components/Navigation/NavigationContent.ts +11 -0
  195. package/src/components/Navigation/NavigationItem.tsx +17 -0
  196. package/src/components/PictureText/PictureText.example.json +2 -2
  197. package/src/components/PictureText/PictureText.fixture.tsx +2 -2
  198. package/src/components/StepsBlock/StepsBlock.example.json +3 -1
  199. package/src/components/StepsBlock/StepsBlock.tsx +21 -16
  200. package/src/components/StepsBlock/StepsBlockContent.ts +5 -2
  201. package/src/hooks/useLink.ts +2 -1
  202. package/src/icons/Calendar2Icon.svg +1 -0
  203. package/src/icons/CalendarCircleIcon.svg +1 -0
  204. package/src/icons/CalendarTickIcon.svg +1 -0
  205. package/src/icons/CardIcon.svg +1 -0
  206. package/src/icons/CardPosIcon.svg +1 -0
  207. package/src/icons/CardTickIcon.svg +1 -0
  208. package/src/icons/CardWithGemIcon.svg +1 -0
  209. package/src/icons/ChartSquareIcon.svg +1 -0
  210. package/src/icons/CreditCardsIcon.svg +1 -0
  211. package/src/icons/DischountStarIcon.svg +1 -0
  212. package/src/icons/{DiscountShape.svg → DiscountShapeIcon.svg} +0 -0
  213. package/src/icons/{DocumentText.svg → DocumentTextIcon.svg} +0 -0
  214. package/src/icons/EarthIcon.svg +1 -0
  215. package/src/icons/EmptyWalletChangeIcon.svg +1 -0
  216. package/src/icons/GlobalIcon.svg +1 -0
  217. package/src/icons/GridIcon.svg +1 -1
  218. package/src/icons/GridIconWhite.svg +4 -0
  219. package/src/icons/InterestGrowthIcon.svg +1 -0
  220. package/src/icons/InterestIcon.svg +1 -0
  221. package/src/icons/JCBIcon.svg +1 -0
  222. package/src/icons/MasterCardIcon.svg +1 -0
  223. package/src/icons/MinusIcon.svg +1 -0
  224. package/src/icons/MirIcon.svg +1 -0
  225. package/src/icons/MoneyIcon.svg +1 -0
  226. package/src/icons/MoneyInsuranceIcon.svg +1 -0
  227. package/src/icons/MonitorMobileIcon.svg +1 -0
  228. package/src/icons/OfficeIcon.svg +1 -0
  229. package/src/icons/PercentageRoundIcon.svg +1 -0
  230. package/src/icons/PersonalCardIcon.svg +1 -0
  231. package/src/icons/PlusIcon.svg +1 -0
  232. package/src/icons/Profile2UserIcon.svg +1 -0
  233. package/src/icons/RoundRubleIcon.svg +1 -0
  234. package/src/icons/SafeIcon.svg +1 -0
  235. package/src/icons/ShieldTickIcon.svg +1 -0
  236. package/src/icons/SmallClockIcon.svg +1 -0
  237. package/src/icons/UnionPayIcon.svg +1 -0
  238. package/src/icons/UserTickIcon.svg +1 -0
  239. package/src/icons/VisaIcon.svg +1 -0
  240. package/src/icons/WalletAdd2Icon.svg +1 -0
  241. package/src/icons/WalletAddIcon.svg +1 -0
  242. package/src/icons/WalletWithMoneyIcon.svg +1 -0
  243. package/src/index.ts +1 -1
  244. package/src/model/BgColorVersion.ts +8 -0
  245. package/src/services/sitemap/SitemapProps.ts +15 -0
  246. package/src/services/sitemap/findActiveSubItem.ts +14 -0
  247. package/src/services/sitemap/isHrefActive.ts +13 -0
  248. package/src/services/sitemap/isSubItemActive.ts +8 -0
  249. package/src/services/sitemap/isTopItemActive.ts +9 -0
  250. package/src/{mergeTopItems.spec.ts → services/sitemap/mergeTopItems.spec.ts} +0 -0
  251. package/src/{mergeTopItems.ts → services/sitemap/mergeTopItems.ts} +3 -4
  252. package/src/{hooks → services/sitemap}/useSitemap.ts +3 -3
  253. package/src/ui-kit/HeaderItem/HeaderItem.tsx +32 -18
  254. package/src/ui-kit/Icon/IconProps.ts +44 -6
  255. package/src/ui-kit/Logo/Logo.tsx +30 -18
  256. package/src/ui-kit/SearchBar.tsx +13 -18
  257. package/src/ui-kit/TopItem/TopItem.tsx +46 -19
  258. package/src/utils/adjustHref.spec.ts +25 -0
  259. package/src/utils/adjustHref.ts +24 -0
  260. package/src/utils/maxBy.spec.ts +11 -0
  261. package/src/utils/maxBy.ts +7 -0
  262. package/src/utils/url.spec.ts +1 -37
  263. package/src/utils/url.ts +2 -39
  264. package/src/utils/withoutMobilePath.ts +3 -0
  265. package/dist/components/Header/isSubItemActive.d.ts +0 -3
  266. package/dist/components/Header/isSubItemActive.js +0 -8
  267. package/dist/components/Header/isSubItemActive.js.map +0 -1
  268. package/dist/components/Header/isTopItemActive.d.ts +0 -3
  269. package/dist/components/Header/isTopItemActive.js +0 -8
  270. package/dist/components/Header/isTopItemActive.js.map +0 -1
  271. package/dist/hooks/useSitemap.d.ts +0 -3
  272. package/dist/hooks/useSitemap.js.map +0 -1
  273. package/dist/mergeTopItems.d.ts +0 -2
  274. package/dist/mergeTopItems.js.map +0 -1
  275. package/lib/components/Header/isSubItemActive.d.ts +0 -3
  276. package/lib/components/Header/isSubItemActive.js +0 -5
  277. package/lib/components/Header/isSubItemActive.js.map +0 -1
  278. package/lib/components/Header/isTopItemActive.d.ts +0 -3
  279. package/lib/components/Header/isTopItemActive.js +0 -5
  280. package/lib/components/Header/isTopItemActive.js.map +0 -1
  281. package/lib/hooks/useSitemap.d.ts +0 -3
  282. package/lib/hooks/useSitemap.js.map +0 -1
  283. package/lib/mergeTopItems.d.ts +0 -2
  284. package/lib/mergeTopItems.js.map +0 -1
  285. package/src/components/Header/isSubItemActive.ts +0 -7
  286. package/src/components/Header/isTopItemActive.ts +0 -8
@@ -6,6 +6,7 @@ const Gallery_mobile_1 = require("./Gallery/Gallery.mobile");
6
6
  const Header_1 = require("./Header/Header");
7
7
  const Headline_1 = require("./Headline/Headline");
8
8
  const MobileAppTile_1 = require("./MobileAppTile/MobileAppTile");
9
+ const Navigation_1 = require("./Navigation/Navigation");
9
10
  const PictureText_1 = require("./PictureText/PictureText");
10
11
  const Placeholder_1 = require("./Placeholder/Placeholder");
11
12
  const ProductBlock_mobile_1 = require("./ProductBlock/ProductBlock.mobile");
@@ -25,5 +26,6 @@ exports.MobileBlocks = {
25
26
  ProductTile: ProductTile_1.ProductTile,
26
27
  TextBlock: TextBlock_1.TextBlock,
27
28
  Tile: Tile_1.Tile,
29
+ Navigation: Navigation_1.Navigation,
28
30
  };
29
31
  //# sourceMappingURL=MobileBlocks.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"MobileBlocks.js","sourceRoot":"","sources":["../../src/components/MobileBlocks.ts"],"names":[],"mappings":";;AAAA,0EAAuE;AACvE,0DAAgD;AAChD,6DAAmD;AACnD,4CAAyC;AACzC,kDAA+C;AAC/C,iEAA8D;AAC9D,2DAAwD;AACxD,2DAAwD;AACxD,4EAAkE;AAClE,2DAAwD;AACxD,qDAAkD;AAClD,sCAAmC;AAEtB,QAAA,YAAY,GAAG;IAC1B,gBAAgB,EAAhB,mCAAgB;IAChB,MAAM,EAAN,sBAAM;IACN,OAAO,EAAP,wBAAO;IACP,MAAM,EAAN,eAAM;IACN,QAAQ,EAAR,mBAAQ;IACR,aAAa,EAAb,6BAAa;IACb,WAAW,EAAX,yBAAW;IACX,WAAW,EAAX,yBAAW;IACX,YAAY,EAAZ,kCAAY;IACZ,WAAW,EAAX,yBAAW;IACX,SAAS,EAAT,qBAAS;IACT,IAAI,EAAJ,WAAI;CACL,CAAC"}
1
+ {"version":3,"file":"MobileBlocks.js","sourceRoot":"","sources":["../../src/components/MobileBlocks.ts"],"names":[],"mappings":";;AAAA,0EAAuE;AACvE,0DAAgD;AAChD,6DAAmD;AACnD,4CAAyC;AACzC,kDAA+C;AAC/C,iEAA8D;AAC9D,wDAAqD;AACrD,2DAAwD;AACxD,2DAAwD;AACxD,4EAAkE;AAClE,2DAAwD;AACxD,qDAAkD;AAClD,sCAAmC;AAEtB,QAAA,YAAY,GAAG;IAC1B,gBAAgB,EAAhB,mCAAgB;IAChB,MAAM,EAAN,sBAAM;IACN,OAAO,EAAP,wBAAO;IACP,MAAM,EAAN,eAAM;IACN,QAAQ,EAAR,mBAAQ;IACR,aAAa,EAAb,6BAAa;IACb,WAAW,EAAX,yBAAW;IACX,WAAW,EAAX,yBAAW;IACX,YAAY,EAAZ,kCAAY;IACZ,WAAW,EAAX,yBAAW;IACX,SAAS,EAAT,qBAAS;IACT,IAAI,EAAJ,WAAI;IACJ,UAAU,EAAV,uBAAU;CACX,CAAC"}
@@ -0,0 +1,5 @@
1
+ import type { UniBlockProps } from '../../types';
2
+ import { NavigationContent } from './NavigationContent';
3
+ export interface NavigationProps extends NavigationContent, UniBlockProps {
4
+ }
5
+ export declare const Navigation: (props: import("@redneckz/uni-jsx").PropsWithChildren<NavigationProps, any>, context?: any) => any;
@@ -0,0 +1,16 @@
1
+ Object.defineProperty(exports, "__esModule", { value: true });
2
+ exports.Navigation = void 0;
3
+ const jsx_runtime_1 = require("@redneckz/uni-jsx/jsx-runtime");
4
+ const uni_jsx_1 = require("@redneckz/uni-jsx");
5
+ const useLink_1 = require("../../hooks/useLink");
6
+ const findActiveSubItem_1 = require("../../services/sitemap/findActiveSubItem");
7
+ const NavigationItem_1 = require("./NavigationItem");
8
+ exports.Navigation = (0, uni_jsx_1.JSX)(({ className, context, title, buttons }) => {
9
+ const router = context.useRouter();
10
+ const { handlerDecorator } = context;
11
+ const activeButton = (0, findActiveSubItem_1.findActiveSubItem)(router)(buttons);
12
+ return ((0, jsx_runtime_1.jsxs)("section", { className: `font-sans text-primary-text rounded-[40px] flex items-center justify-between ${className || ''}`, children: [(0, jsx_runtime_1.jsx)("h2", { className: "font-medium text-xl m-0", children: title }), buttons?.length ? ((0, jsx_runtime_1.jsx)("div", { className: "flex rounded-md overflow-hidden bg-white", children: buttons
13
+ .filter(({ text }) => text)
14
+ .map((button, i) => ((0, jsx_runtime_1.jsx)(NavigationItem_1.NavigationItem, { className: "first:rounded-tl-md first:rounded-bl-md last:rounded-tr-md last:rounded-br-md", isActive: button === activeButton, ...(0, useLink_1.useLink)({ router, handlerDecorator }, button) }, String(i)))) })) : null] }));
15
+ });
16
+ //# sourceMappingURL=Navigation.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Navigation.js","sourceRoot":"","sources":["../../../src/components/Navigation/Navigation.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AACxC,iDAA8C;AAC9C,gFAA6E;AAG7E,qDAAkD;AAIrC,QAAA,UAAU,GAAG,IAAA,aAAG,EAAkB,CAAC,EAAE,SAAS,EAAE,OAAO,EAAE,KAAK,EAAE,OAAO,EAAE,EAAE,EAAE;IACxF,MAAM,MAAM,GAAG,OAAO,CAAC,SAAS,EAAE,CAAC;IACnC,MAAM,EAAE,gBAAgB,EAAE,GAAG,OAAO,CAAC;IAErC,MAAM,YAAY,GAAG,IAAA,qCAAiB,EAAC,MAAM,CAAC,CAAC,OAAO,CAAC,CAAC;IAExD,OAAO,CACL,qCACE,SAAS,EAAE,gFACT,SAAS,IAAI,EACf,EAAE,aAEF,+BAAI,SAAS,EAAC,yBAAyB,YAAE,KAAK,GAAM,EACnD,OAAO,EAAE,MAAM,CAAC,CAAC,CAAC,CACjB,gCAAK,SAAS,EAAC,0CAA0C,YACtD,OAAO;qBACL,MAAM,CAAC,CAAC,EAAE,IAAI,EAAE,EAAE,EAAE,CAAC,IAAI,CAAC;qBAC1B,GAAG,CAAC,CAAC,MAAM,EAAE,CAAC,EAAE,EAAE,CAAC,CAClB,uBAAC,+BAAc,IAEb,SAAS,EAAC,+EAA+E,EACzF,QAAQ,EAAE,MAAM,KAAK,YAAY,KAC7B,IAAA,iBAAO,EAAC,EAAE,MAAM,EAAE,gBAAgB,EAAE,EAAE,MAAM,CAAC,IAH5C,MAAM,CAAC,CAAC,CAAC,CAId,CACH,CAAC,GACA,CACP,CAAC,CAAC,CAAC,IAAI,IACA,CACX,CAAC;AACJ,CAAC,CAAC,CAAC"}
@@ -0,0 +1,10 @@
1
+ import type { ButtonProps } from '../../ui-kit/Button/ButtonProps';
2
+ /**
3
+ * @title Навигация
4
+ */
5
+ export interface NavigationContent {
6
+ /** @title Заголовок */
7
+ title?: string;
8
+ /** @title Список ссылок */
9
+ buttons?: ButtonProps[];
10
+ }
@@ -0,0 +1,2 @@
1
+ Object.defineProperty(exports, "__esModule", { value: true });
2
+ //# sourceMappingURL=NavigationContent.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"NavigationContent.js","sourceRoot":"","sources":["../../../src/components/Navigation/NavigationContent.ts"],"names":[],"mappings":""}
@@ -0,0 +1,4 @@
1
+ import type { ButtonProps } from '../../ui-kit/Button/ButtonProps';
2
+ export declare const NavigationItem: (props: import("@redneckz/uni-jsx").PropsWithChildren<ButtonProps & {
3
+ isActive: boolean;
4
+ }, any>, context?: any) => any;
@@ -0,0 +1,6 @@
1
+ Object.defineProperty(exports, "__esModule", { value: true });
2
+ exports.NavigationItem = void 0;
3
+ const jsx_runtime_1 = require("@redneckz/uni-jsx/jsx-runtime");
4
+ const uni_jsx_1 = require("@redneckz/uni-jsx");
5
+ exports.NavigationItem = (0, uni_jsx_1.JSX)(({ className, text, onClick, href, target, isActive }) => ((0, jsx_runtime_1.jsx)("a", { className: `bg-inherit no-underline px-4 py-2.5 cursor-pointer rounded text-sm border border-solid hover:text-primary-main ${className || ''} ${isActive ? 'border-primary-main text-primary-main' : 'border-white text-secondary-text'}`, onClick: onClick, href: href, target: target, children: text })));
6
+ //# sourceMappingURL=NavigationItem.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"NavigationItem.js","sourceRoot":"","sources":["../../../src/components/Navigation/NavigationItem.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AAG3B,QAAA,cAAc,GAAG,IAAA,aAAG,EAC/B,CAAC,EAAE,SAAS,EAAE,IAAI,EAAE,OAAO,EAAE,IAAI,EAAE,MAAM,EAAE,QAAQ,EAAE,EAAE,EAAE,CAAC,CACxD,8BACE,SAAS,EAAE,kHACT,SAAS,IAAI,EACf,IAAI,QAAQ,CAAC,CAAC,CAAC,uCAAuC,CAAC,CAAC,CAAC,kCAAkC,EAAE,EAC7F,OAAO,EAAE,OAAO,EAChB,IAAI,EAAE,IAAI,EACV,MAAM,EAAE,MAAM,YAEb,IAAI,GACH,CACL,CACF,CAAC"}
@@ -1,5 +1,5 @@
1
- import type { StepsBlockContent } from './StepsBlockContent';
2
1
  import type { UniBlockProps } from '../../types';
2
+ import type { StepsBlockContent } from './StepsBlockContent';
3
3
  export interface StepsBlockProps extends StepsBlockContent, UniBlockProps {
4
4
  }
5
5
  export declare const StepsBlock: (props: import("@redneckz/uni-jsx").PropsWithChildren<StepsBlockProps, any>, context?: any) => any;
@@ -5,13 +5,13 @@ const uni_jsx_1 = require("@redneckz/uni-jsx");
5
5
  const Icon_1 = require("../../ui-kit/Icon/Icon");
6
6
  const Title_1 = require("../../ui-kit/Title/Title");
7
7
  const joinList_1 = require("../../utils/joinList");
8
- exports.StepsBlock = (0, uni_jsx_1.JSX)(({ className, title, steps }) => {
9
- return ((0, jsx_runtime_1.jsxs)("section", { className: `font-sans text-primary-text bg-white px-12 py-12 flex flex-col items-center ${className || ''}`, children: [(0, jsx_runtime_1.jsx)(Title_1.Title, { className: "font-medium m-0 max-w-[47rem] text-center", children: title }), steps?.length ? ((0, jsx_runtime_1.jsxs)("div", { children: [(0, jsx_runtime_1.jsx)("div", { className: "flex mt-9 items-center px-[88px]", children: (0, joinList_1.joinList)((0, jsx_runtime_1.jsx)("div", { className: "h-0.5 w-full bg-secondary-light" }))(steps.map((step, i) => renderStepIcon(step, i))) }), (0, jsx_runtime_1.jsx)("div", { className: "flex mt-9 justify-between gap-x-24", children: steps.map(renderStepTitle) })] })) : null] }));
8
+ exports.StepsBlock = (0, uni_jsx_1.JSX)(({ className, title, showLines = true, steps }) => {
9
+ return ((0, jsx_runtime_1.jsxs)("section", { className: `box-border font-sans text-primary-text bg-white px-20 py-[50px] flex flex-col items-center ${className || ''}`, children: [(0, jsx_runtime_1.jsx)(Title_1.Title, { className: "font-medium m-0 max-w-[47rem] text-center", children: title }), steps?.length ? ((0, jsx_runtime_1.jsxs)("div", { className: `box-border py-0.5 mb-0.5 ${title ? 'mt-9' : ''}`, children: [(0, jsx_runtime_1.jsx)("div", { className: "flex items-center px-[88px]", children: (0, joinList_1.joinList)((0, jsx_runtime_1.jsx)("div", { className: `h-0.5 w-full bg-secondary-light ${!showLines ? 'opacity-0' : ''}` }))(steps.map((step, i) => renderStepIcon(step, i))) }), (0, jsx_runtime_1.jsx)("div", { className: "flex justify-between gap-x-[101px]", children: steps.map(renderStepTitle) })] })) : null] }));
10
10
  });
11
11
  const renderStepIcon = (step, i) => {
12
12
  return ((0, jsx_runtime_1.jsx)("div", { className: "flex flex-col items-center text-center relative", children: (0, jsx_runtime_1.jsx)("div", { className: "h-[100px] w-[100px] min-w-[100px] min-h-[100px] bg-secondary-light rounded-full p-[26px] box-border z-10", children: (step.icon && (0, jsx_runtime_1.jsx)(Icon_1.Icon, { name: step.icon, width: "48", height: "48" })) || ((0, jsx_runtime_1.jsx)("span", { className: "font-medium text-title-sm text-secondary-text", children: i + 1 })) }) }, String(i)));
13
13
  };
14
14
  const renderStepTitle = (step, i) => {
15
- return ((0, jsx_runtime_1.jsx)("div", { className: "flex flex-col items-center text-center relative w-[276px]", children: (0, jsx_runtime_1.jsxs)("div", { className: "max-w-min", children: [(0, jsx_runtime_1.jsx)("h5", { className: "font-medium text-xl m-0 mt-4 whitespace-nowrap px-3", children: step.label }), step.description && ((0, jsx_runtime_1.jsx)("div", { className: "font-normal text-sm text-secondary-text mt-2", children: step.description }))] }) }, String(i)));
15
+ return ((0, jsx_runtime_1.jsxs)("div", { className: "flex flex-col items-center text-center relative w-[276px] whitespace-pre-line overflow-hidden", children: [step.label && (0, jsx_runtime_1.jsx)("div", { className: "font-medium text-xl m-0 mt-4", children: step.label }), step.description && ((0, jsx_runtime_1.jsx)("div", { className: `font-normal text-sm text-secondary-text ${step.label ? 'mt-2' : 'mt-4'}`, children: step.description }))] }, String(i)));
16
16
  };
17
17
  //# sourceMappingURL=StepsBlock.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"StepsBlock.js","sourceRoot":"","sources":["../../../src/components/StepsBlock/StepsBlock.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AAGxC,iDAA8C;AAC9C,oDAAiD;AACjD,mDAAgD;AAInC,QAAA,UAAU,GAAG,IAAA,aAAG,EAAkB,CAAC,EAAE,SAAS,EAAE,KAAK,EAAE,KAAK,EAAE,EAAE,EAAE;IAC7E,OAAO,CACL,qCACE,SAAS,EAAE,+EACT,SAAS,IAAI,EACf,EAAE,aAEF,uBAAC,aAAK,IAAC,SAAS,EAAC,2CAA2C,YAAE,KAAK,GAAS,EAC3E,KAAK,EAAE,MAAM,CAAC,CAAC,CAAC,CACf,4CACE,gCAAK,SAAS,EAAC,kCAAkC,YAC9C,IAAA,mBAAQ,EAAC,gCAAK,SAAS,EAAC,iCAAiC,GAAO,CAAC,CAChE,KAAK,CAAC,GAAG,CAAC,CAAC,IAAI,EAAE,CAAC,EAAE,EAAE,CAAC,cAAc,CAAC,IAAI,EAAE,CAAC,CAAC,CAAC,CAChD,GACG,EACN,gCAAK,SAAS,EAAC,oCAAoC,YAAE,KAAK,CAAC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,IAAI,gCAAK,SAAS,EAAC,8BAA8B,YAAE,IAAI,CAAC,KAAK,GAAO,EAC9E,IAAI,CAAC,WAAW,IAAI,CACnB,gCAAK,SAAS,EAAE,2CAA2C,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,MAAM,EAAE,YACtF,IAAI,CAAC,WAAW,GACb,CACP,KARI,MAAM,CAAC,CAAC,CAAC,CASV,CACP,CAAC;AACJ,CAAC,CAAC"}
@@ -4,7 +4,7 @@ import type { IconName } from '../../ui-kit/Icon/IconProps';
4
4
  */
5
5
  export interface Step {
6
6
  /** @title Название */
7
- label: string;
7
+ label?: string;
8
8
  /** @title Описание */
9
9
  description?: string;
10
10
  icon?: IconName;
@@ -15,9 +15,12 @@ export interface Step {
15
15
  export interface StepsBlockContent {
16
16
  /** @title Заголовок */
17
17
  title?: string;
18
+ /** @title Линии */
19
+ showLines?: boolean;
18
20
  /**
19
21
  * @title Шаги
20
- * @maxItems 6
22
+ * @minItems 2
23
+ * @maxItems 3
21
24
  */
22
25
  steps?: Step[];
23
26
  }
@@ -1,9 +1,10 @@
1
1
  Object.defineProperty(exports, "__esModule", { value: true });
2
2
  exports.useLink = void 0;
3
+ const adjustHref_1 = require("../utils/adjustHref");
3
4
  const url_1 = require("../utils/url");
4
5
  const defaultHandlerDecorator = (handler) => handler;
5
6
  function useLink({ router, handlerDecorator = defaultHandlerDecorator, }, link) {
6
- const href = (0, url_1.adjustHref)(link.href, router);
7
+ const href = (0, adjustHref_1.adjustHref)(link.href, router);
7
8
  return {
8
9
  ...link,
9
10
  href,
@@ -1 +1 @@
1
- {"version":3,"file":"useLink.js","sourceRoot":"","sources":["../../src/hooks/useLink.ts"],"names":[],"mappings":";;AAEA,sCAAiD;AAEjD,MAAM,uBAAuB,GAAqB,CAAC,OAAO,EAAE,EAAE,CAAC,OAAO,CAAC;AAEvE,SAAgB,OAAO,CACrB,EACE,MAAM,EACN,gBAAgB,GAAG,uBAAuB,GACc,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AAK,OAAO,CAAC;YAC9D,IAAI,WAAW,IAAI,aAAa,EAAE;gBAChC,EAAE,CAAC,cAAc,EAAE,CAAC;gBACpB,MAAM,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;aACnB;QACH,CAAC,EAAE,IAAI,CAAC;KACT,CAAC;AACJ,CAAC;AArBD,0BAqBC"}
package/dist/index.d.ts CHANGED
@@ -10,9 +10,9 @@ export { ContentPageHead } from './components/ContentPage/ContentPageHead';
10
10
  export { toMobilePage } from './components/ContentPage/toMobilePage';
11
11
  export { MobileBlocks } from './components/MobileBlocks';
12
12
  export type { Img, ImgSource, Picture } from './model/Picture';
13
- export type { SitemapProps as SitemapContent } from './model/SitemapProps';
14
13
  export { projectSettings } from './ProjectSettings';
15
14
  export type { ProjectSettings } from './ProjectSettings';
15
+ export type { SitemapProps as SitemapContent } from './services/sitemap/SitemapProps';
16
16
  export type { BlockDef, ContentPageDef, ContentPageMeta, UniBlockProps } from './types';
17
17
  export { joinList } from './utils/joinList';
18
18
  export * as url from './utils/url';
package/dist/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA0C;AAAjC,gGAAA,KAAK,OAAA;AACd,6CAA4C;AAAnC,sGAAA,SAAS,OAAA;AAClB,yCAAwC;AAA/B,kGAAA,OAAO,OAAA;AAEhB,8CAA6C;AAApC,gGAAA,MAAM,OAAA;AACf,oEAAmE;AAA1D,0GAAA,WAAW,OAAA;AAWpB,4EAA2E;AAAlE,kHAAA,eAAe,OAAA;AACxB,sEAAqE;AAA5D,4GAAA,YAAY,OAAA;AACrB,0DAAyD;AAAhD,4GAAA,YAAY,OAAA;AAGrB,qDAAoD;AAA3C,kHAAA,eAAe,OAAA;AAGxB,6CAA4C;AAAnC,oGAAA,QAAQ,OAAA;AACjB,mDAAmC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA0C;AAAjC,gGAAA,KAAK,OAAA;AACd,6CAA4C;AAAnC,sGAAA,SAAS,OAAA;AAClB,yCAAwC;AAA/B,kGAAA,OAAO,OAAA;AAEhB,8CAA6C;AAApC,gGAAA,MAAM,OAAA;AACf,oEAAmE;AAA1D,0GAAA,WAAW,OAAA;AAWpB,4EAA2E;AAAlE,kHAAA,eAAe,OAAA;AACxB,sEAAqE;AAA5D,4GAAA,YAAY,OAAA;AACrB,0DAAyD;AAAhD,4GAAA,YAAY,OAAA;AAErB,qDAAoD;AAA3C,kHAAA,eAAe,OAAA;AAIxB,6CAA4C;AAAnC,oGAAA,QAAQ,OAAA;AACjB,mDAAmC"}
@@ -0,0 +1,8 @@
1
+ /**
2
+ * @title Цвет фона
3
+ * @enumNames [
4
+ * "Прозрачный",
5
+ * "Белый"
6
+ * ]
7
+ */
8
+ export declare type BgColorVersion = 'transparent' | 'bg-white';
@@ -0,0 +1,2 @@
1
+ Object.defineProperty(exports, "__esModule", { value: true });
2
+ //# sourceMappingURL=BgColorVersion.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"BgColorVersion.js","sourceRoot":"","sources":["../../src/model/BgColorVersion.ts"],"names":[],"mappings":""}
@@ -0,0 +1,13 @@
1
+ import type { LinkProps } from '../../model/LinkProps';
2
+ /**
3
+ * @title Ссылка
4
+ * @required ["text", "href"]
5
+ */
6
+ export interface TopMenuItem extends LinkProps {
7
+ /** @hidden */
8
+ items?: LinkProps[];
9
+ }
10
+ export interface SitemapProps {
11
+ /** @title Дополнительное меню */
12
+ topItems?: TopMenuItem[];
13
+ }
@@ -0,0 +1,2 @@
1
+ Object.defineProperty(exports, "__esModule", { value: true });
2
+ //# sourceMappingURL=SitemapProps.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"SitemapProps.js","sourceRoot":"","sources":["../../../src/services/sitemap/SitemapProps.ts"],"names":[],"mappings":""}
@@ -0,0 +1,3 @@
1
+ import type { Router } from '../../components/ContentPage/ContentPageContext';
2
+ import type { LinkProps } from '../../model/LinkProps';
3
+ export declare const findActiveSubItem: (router: Router) => <T extends LinkProps>(items?: T[]) => T | null;
@@ -0,0 +1,13 @@
1
+ Object.defineProperty(exports, "__esModule", { value: true });
2
+ exports.findActiveSubItem = void 0;
3
+ const maxBy_1 = require("../../utils/maxBy");
4
+ const isSubItemActive_1 = require("./isSubItemActive");
5
+ const findActiveSubItem = (router) => (items = []) => {
6
+ const possibleActiveSubItems = items?.filter((0, isSubItemActive_1.isSubItemActive)(router));
7
+ const activeSubItem = possibleActiveSubItems?.length
8
+ ? (0, maxBy_1.maxBy)((_) => _.href?.length || 0)(possibleActiveSubItems) // More specific item with max length
9
+ : null;
10
+ return activeSubItem;
11
+ };
12
+ exports.findActiveSubItem = findActiveSubItem;
13
+ //# sourceMappingURL=findActiveSubItem.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"findActiveSubItem.js","sourceRoot":"","sources":["../../../src/services/sitemap/findActiveSubItem.ts"],"names":[],"mappings":";;AAEA,6CAA0C;AAC1C,uDAAoD;AAE7C,MAAM,iBAAiB,GAC5B,CAAC,MAAc,EAAE,EAAE,CACnB,CAAsB,QAAa,EAAE,EAAY,EAAE;IACjD,MAAM,sBAAsB,GAAG,KAAK,EAAE,MAAM,CAAC,IAAA,iCAAe,EAAC,MAAM,CAAC,CAAC,CAAC;IACtE,MAAM,aAAa,GAAG,sBAAsB,EAAE,MAAM;QAClD,CAAC,CAAC,IAAA,aAAK,EAAC,CAAC,CAAI,EAAE,EAAE,CAAC,CAAC,CAAC,IAAI,EAAE,MAAM,IAAI,CAAC,CAAC,CAAC,sBAAsB,CAAC,CAAC,qCAAqC;QACpG,CAAC,CAAC,IAAI,CAAC;IACT,OAAO,aAAa,CAAC;AACvB,CAAC,CAAC;AARS,QAAA,iBAAiB,qBAQ1B"}
@@ -0,0 +1,4 @@
1
+ export declare const isHrefActive: (href: string | undefined, router: {
2
+ pathname?: string | undefined;
3
+ href?: string | undefined;
4
+ }, cmp?: (href: string, baseHref: string) => boolean) => boolean;
@@ -0,0 +1,9 @@
1
+ Object.defineProperty(exports, "__esModule", { value: true });
2
+ exports.isHrefActive = void 0;
3
+ const url_1 = require("../../utils/url");
4
+ const withoutMobilePath_1 = require("../../utils/withoutMobilePath");
5
+ const isHrefActive = (href, router, cmp = (href, baseHref) => baseHref.startsWith(href)) => {
6
+ return cmp((0, url_1.withoutQuery)(href), (0, withoutMobilePath_1.withoutMobilePath)((0, url_1.withoutQuery)((0, url_1.isURL)(href) ? router.href : router.pathname)));
7
+ };
8
+ exports.isHrefActive = isHrefActive;
9
+ //# sourceMappingURL=isHrefActive.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"isHrefActive.js","sourceRoot":"","sources":["../../../src/services/sitemap/isHrefActive.ts"],"names":[],"mappings":";;AAAA,yCAAsD;AACtD,qEAAkE;AAE3D,MAAM,YAAY,GAAG,CAC1B,IAAwB,EACxB,MAA4C,EAC5C,MAAmD,CAAC,IAAI,EAAE,QAAQ,EAAE,EAAE,CAAC,QAAQ,CAAC,UAAU,CAAC,IAAI,CAAC,EAChG,EAAE;IACF,OAAO,GAAG,CACR,IAAA,kBAAY,EAAC,IAAI,CAAC,EAClB,IAAA,qCAAiB,EAAC,IAAA,kBAAY,EAAC,IAAA,WAAK,EAAC,IAAI,CAAC,CAAC,CAAC,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,CAAC,MAAM,CAAC,QAAQ,CAAC,CAAC,CAC7E,CAAC;AACJ,CAAC,CAAC;AATW,QAAA,YAAY,gBASvB"}
@@ -0,0 +1,3 @@
1
+ import type { Router } from '../../components/ContentPage/ContentPageContext';
2
+ import type { LinkProps } from '../../model/LinkProps';
3
+ export declare const isSubItemActive: (router: Router) => (subItem: LinkProps) => boolean;
@@ -0,0 +1,6 @@
1
+ Object.defineProperty(exports, "__esModule", { value: true });
2
+ exports.isSubItemActive = void 0;
3
+ const isHrefActive_1 = require("./isHrefActive");
4
+ const isSubItemActive = (router) => (subItem) => (0, isHrefActive_1.isHrefActive)(subItem.href, router);
5
+ exports.isSubItemActive = isSubItemActive;
6
+ //# sourceMappingURL=isSubItemActive.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"isSubItemActive.js","sourceRoot":"","sources":["../../../src/services/sitemap/isSubItemActive.ts"],"names":[],"mappings":";;AAEA,iDAA8C;AAEvC,MAAM,eAAe,GAC1B,CAAC,MAAc,EAAE,EAAE,CACnB,CAAC,OAAkB,EAAW,EAAE,CAC9B,IAAA,2BAAY,EAAC,OAAO,CAAC,IAAI,EAAE,MAAM,CAAC,CAAC;AAH1B,QAAA,eAAe,mBAGW"}
@@ -0,0 +1,3 @@
1
+ import type { Router } from '../../components/ContentPage/ContentPageContext';
2
+ import { TopMenuItem } from './SitemapProps';
3
+ export declare const isTopItemActive: (router: Router) => (topItem: TopMenuItem) => boolean;
@@ -0,0 +1,7 @@
1
+ Object.defineProperty(exports, "__esModule", { value: true });
2
+ exports.isTopItemActive = void 0;
3
+ const isHrefActive_1 = require("./isHrefActive");
4
+ const isSubItemActive_1 = require("./isSubItemActive");
5
+ const isTopItemActive = (router) => (topItem) => topItem.items?.some((0, isSubItemActive_1.isSubItemActive)(router)) || (0, isHrefActive_1.isHrefActive)(topItem.href, router);
6
+ exports.isTopItemActive = isTopItemActive;
7
+ //# sourceMappingURL=isTopItemActive.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"isTopItemActive.js","sourceRoot":"","sources":["../../../src/services/sitemap/isTopItemActive.ts"],"names":[],"mappings":";;AACA,iDAA8C;AAC9C,uDAAoD;AAG7C,MAAM,eAAe,GAC1B,CAAC,MAAc,EAAE,EAAE,CACnB,CAAC,OAAoB,EAAW,EAAE,CAChC,OAAO,CAAC,KAAK,EAAE,IAAI,CAAC,IAAA,iCAAe,EAAC,MAAM,CAAC,CAAC,IAAI,IAAA,2BAAY,EAAC,OAAO,CAAC,IAAI,EAAE,MAAM,CAAC,CAAC;AAH1E,QAAA,eAAe,mBAG2D"}
@@ -0,0 +1,2 @@
1
+ import type { LinkProps } from '../../model/LinkProps';
2
+ export declare const mergeTopItems: <L extends LinkProps>(left?: L[] | undefined, right?: L[] | undefined) => L[];
@@ -3,8 +3,6 @@ exports.mergeTopItems = void 0;
3
3
  const cmp = (a) => (b) => a?.href === b?.href;
4
4
  const substitute = (items, substitution) => (items || []).map((_) => substitution?.find(cmp(_)) || _);
5
5
  const subtract = (minuend, subtrahend) => (minuend || []).filter((_) => !subtrahend?.find(cmp(_)));
6
- function mergeTopItems(left, right) {
7
- return substitute(left, right).concat(subtract(right, left));
8
- }
6
+ const mergeTopItems = (left, right) => substitute(left, right).concat(subtract(right, left));
9
7
  exports.mergeTopItems = mergeTopItems;
10
8
  //# sourceMappingURL=mergeTopItems.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"mergeTopItems.js","sourceRoot":"","sources":["../../../src/services/sitemap/mergeTopItems.ts"],"names":[],"mappings":";;AAEA,MAAM,GAAG,GAAG,CAAC,CAAa,EAAE,EAAE,CAAC,CAAC,CAAa,EAAE,EAAE,CAAC,CAAC,EAAE,IAAI,KAAK,CAAC,EAAE,IAAI,CAAC;AAEtE,MAAM,UAAU,GAAG,CAAsB,KAAW,EAAE,YAAkB,EAAO,EAAE,CAC/E,CAAC,KAAK,IAAI,EAAE,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,YAAY,EAAE,IAAI,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC;AAE5D,MAAM,QAAQ,GAAG,CAAsB,OAAa,EAAE,UAAgB,EAAO,EAAE,CAC7E,CAAC,OAAO,IAAI,EAAE,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,UAAU,EAAE,IAAI,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;AAEpD,MAAM,aAAa,GAAG,CAAsB,IAAU,EAAE,KAAW,EAAO,EAAE,CACjF,UAAU,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC,MAAM,CAAC,QAAQ,CAAC,KAAK,EAAE,IAAI,CAAC,CAAC,CAAC;AAD3C,QAAA,aAAa,iBAC8B"}
@@ -0,0 +1,3 @@
1
+ import type { AsyncDataHook } from '../../components/ContentPage/ContentPageContext';
2
+ import type { HeaderContent } from '../../components/Header/HeaderContent';
3
+ export declare function useSitemap(useAsyncData: AsyncDataHook): HeaderContent;
@@ -1,6 +1,6 @@
1
1
  Object.defineProperty(exports, "__esModule", { value: true });
2
2
  exports.useSitemap = void 0;
3
- const ProjectSettings_1 = require("../ProjectSettings");
3
+ const ProjectSettings_1 = require("../../ProjectSettings");
4
4
  function useSitemap(useAsyncData) {
5
5
  const { data } = useAsyncData(sitemapURL(), fetchSitemap);
6
6
  return data || {};
@@ -0,0 +1 @@
1
+ {"version":3,"file":"useSitemap.js","sourceRoot":"","sources":["../../../src/services/sitemap/useSitemap.ts"],"names":[],"mappings":";;AAEA,2DAAwD;AAExD,SAAgB,UAAU,CAAC,YAA2B;IACpD,MAAM,EAAE,IAAI,EAAE,GAAG,YAAY,CAAC,UAAU,EAAE,EAAE,YAAY,CAAC,CAAC;IAC1D,OAAO,IAAI,IAAI,EAAE,CAAC;AACpB,CAAC;AAHD,gCAGC;AAED,KAAK,UAAU,YAAY;IACzB,MAAM,QAAQ,GAAG,MAAM,KAAK,CAAC,UAAU,EAAE,CAAC,CAAC;IAC3C,OAAO,MAAM,QAAQ,CAAC,IAAI,EAAE,CAAC;AAC/B,CAAC;AAED,SAAS,UAAU;IACjB,OAAO,mBAAmB,iCAAe,CAAC,OAAO,IAAI,SAAS,OAAO,CAAC;AACxE,CAAC"}
@@ -2,8 +2,20 @@ Object.defineProperty(exports, "__esModule", { value: true });
2
2
  exports.HeaderItem = void 0;
3
3
  const jsx_runtime_1 = require("@redneckz/uni-jsx/jsx-runtime");
4
4
  const uni_jsx_1 = require("@redneckz/uni-jsx");
5
- exports.HeaderItem = (0, uni_jsx_1.JSX)(({ className, text, href, target, active, onClick, children }) => {
6
- const textStyle = active ? 'text-primary-main' : 'text-primary-text hover:text-primary-main';
7
- return ((0, jsx_runtime_1.jsxs)("a", { className: `relative inline-block bg-transparent text-center no-underline ${className || ''}`, href: href, target: target, onClick: onClick, children: [(0, jsx_runtime_1.jsx)("span", { className: `font-sans font-normal text-base ${textStyle}`, children: text || children }), active ? ((0, jsx_runtime_1.jsx)("div", { className: "absolute left-0 -bottom-2 w-full h-[2px] bg-primary-main" })) : null] }));
8
- });
5
+ const TEXT_CLASSES = 'font-sans font-normal text-base';
6
+ const BORDER_CLASSES = 'absolute left-0 -bottom-2 w-full h-[2px]';
7
+ exports.HeaderItem = (0, uni_jsx_1.JSX)(({ className, text, href, target, active, onClick, children, bgColor = 'bg-white' }) => ((0, jsx_runtime_1.jsxs)("a", { className: `relative inline-block bg-transparent text-center no-underline ${className || ''}`, href: href, target: target, onClick: onClick, children: [(0, jsx_runtime_1.jsx)("span", { className: getTextClasses(bgColor, active), children: text || children }), active ? (0, jsx_runtime_1.jsx)("div", { className: getBorderClasses(bgColor, active) }) : null] })));
8
+ const getTextClasses = (bgColor, active) => {
9
+ let classes = 'text-white';
10
+ if (bgColor === 'bg-white') {
11
+ classes = active ? 'text-primary-main' : 'text-primary-text hover:text-primary-main';
12
+ }
13
+ return `${classes} ${TEXT_CLASSES}`;
14
+ };
15
+ const getBorderClasses = (bgColor, active) => {
16
+ if (!active) {
17
+ return BORDER_CLASSES;
18
+ }
19
+ return `${bgColor === 'bg-white' ? bgColor : 'bg-primary-main'} ${BORDER_CLASSES}`;
20
+ };
9
21
  //# sourceMappingURL=HeaderItem.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"HeaderItem.js","sourceRoot":"","sources":["../../../src/ui-kit/HeaderItem/HeaderItem.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AAK3B,QAAA,UAAU,GAAG,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AAO,EAAE,MAAM,CAAC,GAAI,CAAC,CAAC,CAAC,IAAI,IACpE,CACL,CACF,CAAC;AAEF,MAAM,cAAc,GAAG,CAAC,OAAuB,EAAE,MAAgB,EAAE,EAAE;IACnE,IAAI,OAAO,GAAG,YAAY,CAAC;IAC3B,IAAI,OAAO,KAAK,UAAU,EAAE;QAC1B,OAAO,GAAG,MAAM,CAAC,CAAC,CAAC,mBAAmB,CAAC,CAAC,CAAC,2CAA2C,CAAC;KACtF;IAED,OAAO,GAAG,OAAO,IAAI,YAAY,EAAE,CAAC;AACtC,CAAC,CAAC;AAEF,MAAM,gBAAgB,GAAG,CAAC,OAAuB,EAAE,MAAgB,EAAE,EAAE;IACrE,IAAI,CAAC,MAAM,EAAE;QACX,OAAO,cAAc,CAAC;KACvB;IAED,OAAO,GAAG,OAAO,KAAK,UAAU,CAAC,CAAC,CAAC,OAAO,CAAC,CAAC,CAAC,iBAAiB,IAAI,cAAc,EAAE,CAAC;AACrF,CAAC,CAAC"}
@@ -2,100 +2,138 @@
2
2
  * Icons sorted by name
3
3
  */
4
4
  export declare enum IconMap {
5
- '' = 0,
6
- 'ActualBalanceIcon' = 1,
7
- 'AppleIcon' = 2,
5
+ 'ActualBalanceIcon' = 0,
6
+ 'AppleIcon' = 1,
7
+ 'Calendar2Icon' = 2,
8
8
  'CalendarCircleIcon' = 3,
9
9
  'CalendarIcon' = 4,
10
- 'CalendarWhiteIcon' = 5,
11
- 'CardIcon' = 6,
12
- 'CardPosIcon' = 7,
13
- 'CardTickIcon' = 8,
14
- 'ClockIcon' = 9,
15
- 'ComfortableCompIcon' = 10,
16
- 'DiscountShape' = 11,
17
- 'DocIcon' = 12,
18
- 'DocumentText' = 13,
19
- 'DollarIcon' = 14,
20
- 'EmptyWalletChangeIcon' = 15,
21
- 'EmptyWalletIcon' = 16,
22
- 'EmptyWalletWhiteIcon' = 17,
23
- 'EuroIcon' = 18,
24
- 'GlassIcon' = 19,
25
- 'GridIcon' = 20,
26
- 'JCBIcon' = 21,
27
- 'LoupeIcon' = 22,
28
- 'MasterCardIcon' = 23,
29
- 'MinusIcon' = 24,
30
- 'MirIcon' = 25,
31
- 'MoneyIcon' = 26,
32
- 'MonitorMobileIcon' = 27,
33
- 'NewDocIcon' = 28,
34
- 'OkIcon' = 29,
35
- 'PassSendIcon' = 30,
36
- 'PercentageSquareIcon' = 31,
37
- 'PercentageSquareWhiteIcon' = 32,
38
- 'PlayMarketIcon' = 33,
39
- 'PlusIcon' = 34,
40
- 'Profile2UserIcon' = 35,
41
- 'ProfileIcon' = 36,
42
- 'ShieldTickIcon' = 37,
43
- 'SignDocsIcon' = 38,
44
- 'TelegramIcon' = 39,
45
- 'UnionPayIcon' = 40,
46
- 'UserIcon' = 41,
47
- 'VisaIcon' = 42,
48
- 'VKIcon' = 43,
49
- 'WalletIcon' = 44
10
+ 'CalendarTickIcon' = 5,
11
+ 'CalendarWhiteIcon' = 6,
12
+ 'CardWithGemIcon' = 7,
13
+ 'ChartSquareIcon' = 8,
14
+ 'CardIcon' = 9,
15
+ 'CardPosIcon' = 10,
16
+ 'CardTickIcon' = 11,
17
+ 'ClockIcon' = 12,
18
+ 'ComfortableCompIcon' = 13,
19
+ 'CreditCardsIcon' = 14,
20
+ 'DiscountShapeIcon' = 15,
21
+ 'DocIcon' = 16,
22
+ 'DocumentTextIcon' = 17,
23
+ 'DollarIcon' = 18,
24
+ 'EarthIcon' = 19,
25
+ 'EmptyWalletChangeIcon' = 20,
26
+ 'EmptyWalletIcon' = 21,
27
+ 'EmptyWalletWhiteIcon' = 22,
28
+ 'EuroIcon' = 23,
29
+ 'GlassIcon' = 24,
30
+ 'GlobalIcon' = 25,
31
+ 'GridIcon' = 26,
32
+ 'GridIconWhite' = 27,
33
+ 'InterestGrowthIcon' = 28,
34
+ 'InterestIcon' = 29,
35
+ 'JCBIcon' = 30,
36
+ 'LoupeIcon' = 31,
37
+ 'MasterCardIcon' = 32,
38
+ 'MinusIcon' = 33,
39
+ 'MirIcon' = 34,
40
+ 'MoneyIcon' = 35,
41
+ 'MoneyInsuranceIcon' = 36,
42
+ 'MonitorMobileIcon' = 37,
43
+ 'NewDocIcon' = 38,
44
+ 'OfficeIcon' = 39,
45
+ 'OkIcon' = 40,
46
+ 'PassSendIcon' = 41,
47
+ 'PercentageRoundIcon' = 42,
48
+ 'PercentageSquareIcon' = 43,
49
+ 'PercentageSquareWhiteIcon' = 44,
50
+ 'PersonalCardIcon' = 45,
51
+ 'PlayMarketIcon' = 46,
52
+ 'PlusIcon' = 47,
53
+ 'Profile2UserIcon' = 48,
54
+ 'ProfileIcon' = 49,
55
+ 'RoundRubleIcon' = 50,
56
+ 'SafeIcon' = 51,
57
+ 'ShieldTickIcon' = 52,
58
+ 'SignDocsIcon' = 53,
59
+ 'SmallClockIcon' = 54,
60
+ 'TelegramIcon' = 55,
61
+ 'UnionPayIcon' = 56,
62
+ 'UserTickIcon' = 57,
63
+ 'VisaIcon' = 58,
64
+ 'VKIcon' = 59,
65
+ 'WalletAdd' = 60,
66
+ 'WalletAdd2' = 61,
67
+ 'WalletIcon' = 62,
68
+ 'WalletWithMoneyIcon' = 63
50
69
  }
51
70
  /**
52
71
  * @title Иконка
53
72
  * @enumNames [
54
- * "",
55
73
  * "Деньги",
56
74
  * "Лого «Apple»",
75
+ * "Календарь 2",
57
76
  * "Скруглённый календарь",
58
77
  * "Календарь",
78
+ * "Календарь с галочкой",
59
79
  * "Календарь белый",
80
+ * "Карта с драгоценностями",
81
+ * "Деньги внутри кошелька",
60
82
  * "Кред. карта",
61
83
  * "Кред. карта под наклоном",
62
84
  * "Кред. карта с галочкой",
63
85
  * "Часы",
64
86
  * "Кресло",
65
87
  * "Скидка",
88
+ * "Кредитные карты",
89
+ * "Огромная скидка",
66
90
  * "Документ",
67
91
  * "Документ с текстом",
68
92
  * "Доллар",
69
93
  * "Пустой кошелёк с возвратом",
70
94
  * "Пустой кошелёк",
71
- * "Пустой кошелёк белый",
95
+ * "Пустой кошелёк (белый)",
72
96
  * "Евро",
73
97
  * "Зеркало",
98
+ * "Глобус",
74
99
  * "Сетка",
100
+ * "Сетка (белая)",
101
+ * "Диаграмма роста",
102
+ * "Скидка",
75
103
  * "JCB",
76
104
  * "Лупа",
77
105
  * "MasterCard",
78
106
  * "Минус",
79
107
  * "МИР",
80
108
  * "Деньги",
109
+ * "Денежное страхование",
81
110
  * "Монитор и мобильный",
82
111
  * "Новый документ",
112
+ * "Офис",
83
113
  * "Лого «Одноклассники»",
84
114
  * "Бизнес",
115
+ * "Проценты (круг.)",
85
116
  * "Проценты",
86
117
  * "Проценты белые",
118
+ * "Персональная карта",
87
119
  * "Лого «PlayMarket»",
88
120
  * "Плюс",
89
121
  * "Профиль, 2 персоны",
90
122
  * "Профиль",
123
+ * "Рубль (круг.)",
124
+ * "Сейф",
91
125
  * "Безопасность",
92
126
  * "Подписанные документы",
127
+ * "Маленькие часы",
93
128
  * "Лого «Telegram»",
94
129
  * "UnionPay",
95
130
  * "Пользователь",
96
131
  * "Visa",
97
132
  * "Лого «VK»",
133
+ * "Пополнение карты",
134
+ * "Кошелёк с плюсом",
98
135
  * "Кошелёк",
136
+ * "Кошелёк с деньгами",
99
137
  * ]
100
138
  */
101
139
  export declare type IconName = keyof typeof IconMap;