ecomlab-components-next 0.1.31 → 0.1.33

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 (107) hide show
  1. package/dist/common/fetchUrls.js +7 -2
  2. package/dist/common/headers.js +2 -1
  3. package/dist/common/hooks/useDebounce.js +37 -0
  4. package/dist/common/hooks/useTextSelectionInModal.js +41 -0
  5. package/dist/components/Article/ArcticleWiki/ArcticleWiki.stories.js +152 -0
  6. package/dist/components/Article/ArcticleWiki/ArticleWiki.js +775 -0
  7. package/dist/components/Article/ArcticleWiki/ArticleWiki.scss +278 -0
  8. package/dist/components/Article/ArticleViewV2/ArticleViewV2.js +791 -0
  9. package/dist/components/Article/ArticleViewV2/ArticleViewV2.scss +245 -0
  10. package/dist/components/Article/ArticleViewV2/ArticleViewV2.stories.js +166 -0
  11. package/dist/components/Article/ArticleViewV2/img/bell.svg +9 -0
  12. package/dist/components/Article/ArticleViewV2/img/btn-add-round.svg +4 -0
  13. package/dist/components/Article/ArticleViewV2/img/calendar_icon.svg +6 -0
  14. package/dist/components/Article/ArticleViewV2/img/close-round.svg +3 -0
  15. package/dist/components/Article/ArticleViewV2/img/close.svg +9 -0
  16. package/dist/components/Article/ArticleViewV2/img/copy_icon.svg +5 -0
  17. package/dist/components/Article/ArticleViewV2/img/dndMenu.svg +1 -0
  18. package/dist/components/Article/ArticleViewV2/img/info.svg +9 -0
  19. package/dist/components/Article/ArticleViewV2/img/ok_icon.svg +5 -0
  20. package/dist/components/Article/ArticleViewV2/img/plus_circle.svg +6 -0
  21. package/dist/components/Article/ArticleViewV2/img/share_icon.svg +5 -0
  22. package/dist/components/Article/ArticleViewV2/img/tg.svg +3 -0
  23. package/dist/components/Article/ArticleViewV2/img/tg_icon.svg +5 -0
  24. package/dist/components/Article/ArticleViewV2/img/time_icon.svg +6 -0
  25. package/dist/components/Article/ArticleViewV2/img/view_icon.svg +6 -0
  26. package/dist/components/Article/ArticleViewV2/img/vk_icon.svg +5 -0
  27. package/dist/components/Article/ArticleViewV2/img/whatsapp_icon.svg +5 -0
  28. package/dist/components/Article/Breadcrumb/Breadcrumb.js +69 -0
  29. package/dist/components/Article/Breadcrumb/Breadcrumb.scss +96 -0
  30. package/dist/components/Article/Breadcrumb/img/drop-right.svg +3 -0
  31. package/dist/components/Article/Breadcrumb/img/home_icon.svg +5 -0
  32. package/dist/components/Article/EditWrapper/EditWrapper.js +108 -0
  33. package/dist/components/Article/EditWrapper/EditWrapper.scss +93 -0
  34. package/dist/components/Article/EditWrapper/img/bx-grid-vertical.svg +5 -0
  35. package/dist/components/Article/Editor/Editor.js +92 -0
  36. package/dist/components/Article/Editor/Editor.scss +35 -0
  37. package/dist/components/Article/Editor/img/copy.svg +6 -0
  38. package/dist/components/Article/FormBtn/FormBtn.js +229 -0
  39. package/dist/components/Article/FormBtn/FormBtn.scss +458 -0
  40. package/dist/components/Article/FormBtn/ModalBitrixForm/ModalBitrixForm.js +282 -0
  41. package/dist/components/Article/FormBtn/ModalBitrixForm/ModalBitrixForm.scss +140 -0
  42. package/dist/components/Article/FormBtn/ModalBitrixForm/img/close_icon.svg +3 -0
  43. package/dist/components/Article/FormBtn/ModalBitrixForm/img/done_icon.svg +3 -0
  44. package/dist/components/Article/FormBtn/ModalBitrixForm/img/ozon.svg +9 -0
  45. package/dist/components/Article/FormBtn/ModalBitrixForm/img/ozon_bkg.svg +9 -0
  46. package/dist/components/Article/FormBtn/ModalBitrixForm/validationFunc.js +14 -0
  47. package/dist/components/Article/FormBtn/img/clos_icon.svg +6 -0
  48. package/dist/components/Article/FormBtn/img/close-icon.svg +3 -0
  49. package/dist/components/Article/ImgArticle/ImgArticle.js +297 -0
  50. package/dist/components/Article/ImgArticle/ImgArticle.scss +169 -0
  51. package/dist/components/Article/ImgArticle/img/noPhoto.png +0 -0
  52. package/dist/components/Article/InformationBlock/InformationBlock.js +200 -0
  53. package/dist/components/Article/InformationBlock/InformationBlock.scss +89 -0
  54. package/dist/components/Article/InformationBlock/img/bell.svg +9 -0
  55. package/dist/components/Article/ListOfContent/ListOfContent.js +110 -0
  56. package/dist/components/Article/ListOfContent/ListOfContent.scss +115 -0
  57. package/dist/components/Article/ListOfContent/img/time_icon.svg +3 -0
  58. package/dist/components/Article/ListOfContent/img/view_icon.svg +3 -0
  59. package/dist/components/Article/ModalMiltilevelSidebarSettings/ModalMiltilevelSidebarSettings.js +973 -0
  60. package/dist/components/Article/ModalMiltilevelSidebarSettings/ModalMiltilevelSidebarSettings.scss +254 -0
  61. package/dist/components/Article/ModalMiltilevelSidebarSettings/ModalMiltilevelSidebarSettings.stories.js +76 -0
  62. package/dist/components/Article/ModalMiltilevelSidebarSettings/img/bx-cog.png +0 -0
  63. package/dist/components/Article/ModalMiltilevelSidebarSettings/img/bx-cog.svg +4 -0
  64. package/dist/components/Article/ModalMiltilevelSidebarSettings/img/bx-trash.png +0 -0
  65. package/dist/components/Article/ModalMiltilevelSidebarSettings/img/bx-trash.svg +4 -0
  66. package/dist/components/Article/ModalMiltilevelSidebarSettings/img/drop_icon.svg +5 -0
  67. package/dist/components/Article/ModalMiltilevelSidebarSettings/img/edit_icon.svg +6 -0
  68. package/dist/components/Article/ModalMiltilevelSidebarSettings/img/trash_icon.svg +8 -0
  69. package/dist/components/Article/ModalReplaceBlock/ModalReplaceBlock.js +85 -0
  70. package/dist/components/Article/ModalReplaceBlock/ModalReplaceBlock.scss +72 -0
  71. package/dist/components/Article/SelectedBlocks/SelectedBlocks.js +281 -0
  72. package/dist/components/Article/SelectedBlocks/SelectedBlocks.scss +0 -0
  73. package/dist/components/Article/SocialMedia/ModalSelectionSocialMedia/ModalSelectionSocialMedia.js +130 -0
  74. package/dist/components/Article/SocialMedia/ModalSelectionSocialMedia/ModalSelectionSocialMedia.scss +65 -0
  75. package/dist/components/Article/SocialMedia/ModalSelectionSocialMedia/img/Facebook.svg +4 -0
  76. package/dist/components/Article/SocialMedia/ModalSelectionSocialMedia/img/OK.svg +4 -0
  77. package/dist/components/Article/SocialMedia/ModalSelectionSocialMedia/img/Xcom.svg +9 -0
  78. package/dist/components/Article/SocialMedia/ModalSelectionSocialMedia/img/linkedin.svg +5 -0
  79. package/dist/components/Article/SocialMedia/ModalSelectionSocialMedia/img/tg.svg +4 -0
  80. package/dist/components/Article/SocialMedia/ModalSelectionSocialMedia/img/vk.svg +4 -0
  81. package/dist/components/Article/SocialMedia/ModalSelectionSocialMedia/img/wtsp.svg +4 -0
  82. package/dist/components/Article/SocialMedia/SocialMedia.js +242 -0
  83. package/dist/components/Article/SocialMedia/SocialMedia.scss +57 -0
  84. package/dist/components/Article/SocialMedia/img/dzen.svg +4 -0
  85. package/dist/components/Article/SocialMedia/img/facebook.svg +4 -0
  86. package/dist/components/Article/SocialMedia/img/insta.svg +9 -0
  87. package/dist/components/Article/SocialMedia/img/linkendIn.svg +5 -0
  88. package/dist/components/Article/SocialMedia/img/ok.svg +4 -0
  89. package/dist/components/Article/SocialMedia/img/pikabu.svg +9 -0
  90. package/dist/components/Article/SocialMedia/img/telegram.svg +4 -0
  91. package/dist/components/Article/SocialMedia/img/vcru.svg +0 -0
  92. package/dist/components/Article/SocialMedia/img/vk.svg +4 -0
  93. package/dist/components/Article/SocialMedia/img/wp.svg +4 -0
  94. package/dist/components/Article/SocialMedia/img/x.svg +9 -0
  95. package/dist/components/Article/TextArticle/TextArticle.js +257 -0
  96. package/dist/components/Article/TextArticle/TextArticle.scss +156 -0
  97. package/dist/components/Article/TextArticle/img/dndMenu.svg +1 -0
  98. package/dist/components/Article/TitleText/TitleText.js +157 -0
  99. package/dist/components/Article/TitleText/TitleText.scss +74 -0
  100. package/dist/components/Article/VideoArticle/VideoArticle.js +248 -0
  101. package/dist/components/Article/VideoArticle/VideoArticle.scss +147 -0
  102. package/dist/components/Buttons/ButtonActionDrop/ButtonActionDrop.js +109 -0
  103. package/dist/components/Buttons/ButtonActionDrop/ButtonActionDrop.scss +97 -0
  104. package/dist/components/Buttons/ButtonActionDrop/img/bx-dots-horizontal-rounded.svg +3 -0
  105. package/dist/components/ConstructorComponents/MainContainer/MainContainer.js +2 -73
  106. package/dist/components/ConstructorComponents/MainContainer/MainContainer.stories.js +73 -3
  107. package/package.json +3 -2
@@ -3,7 +3,7 @@
3
3
  Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
5
  });
6
- exports.VladimirModalHttps = exports.VladimirModalHttp = exports.VladimirHttps = exports.VladimirHttp = exports.ValeriyaHttps = exports.ValeriyaHttp = exports.ValeriyaArticlesHttps = exports.SergeyYandexHttps = exports.SergeyOzonPerfHttps = exports.RavshanArticlesHttps = exports.OlegPaymentHttps = exports.OlegPaymentHttp = exports.OlegOrdersHttps = exports.OlegOrdersHttp = exports.OlegHttps = exports.OlegHttp = exports.Oleg2Https = exports.Oleg2Http = exports.KonstantinHttps = exports.KonstantinHttp = exports.ArtemVideoHttps = exports.ArtemVideoHttp = exports.ArtemTransferHttps = exports.ArtemTransferHttp = exports.ArtemPhotoHttps = exports.ArtemNotificationsHttps = exports.ArtemNotificationsHttp = exports.ArtemHttps = exports.ArtemHttp = exports.AndreyHttps = exports.AndreyHttp = exports.AndreyCatalogHttps = exports.AndreyCatalogHttp = void 0;
6
+ exports.VladimirModalHttps = exports.VladimirModalHttp = exports.VladimirHttps = exports.VladimirHttp = exports.ValeriyaHttps = exports.ValeriyaHttp = exports.ValeriyaArticlesHttps = exports.SergeyYandexHttps = exports.SergeyOzonPerfHttps = exports.RavshanHttps = exports.RavshanHttp = exports.RavshanArticlesHttps = exports.OlegPaymentHttps = exports.OlegPaymentHttp = exports.OlegOrdersHttps = exports.OlegOrdersHttp = exports.OlegHttps = exports.OlegHttp = exports.Oleg2Https = exports.Oleg2Http = exports.KonstantinHttps = exports.KonstantinHttp = exports.ArtemVideoHttps = exports.ArtemVideoHttp = exports.ArtemTransferHttps = exports.ArtemTransferHttp = exports.ArtemPhotoHttps = exports.ArtemNotificationsHttps = exports.ArtemNotificationsHttp = exports.ArtemHttps = exports.ArtemHttp = exports.AndreyHttps = exports.AndreyHttp = exports.AndreyCatalogHttps = exports.AndreyCatalogHttp = void 0;
7
7
  // Vladimir auth/signup/reset-pass/
8
8
 
9
9
  var VladimirHttps = exports.VladimirHttps = 'https://apps1.ecomru.ru:4432';
@@ -68,4 +68,9 @@ var SergeyYandexHttps = exports.SergeyYandexHttps = 'https://apps1.ecomru.ru:444
68
68
  var SergeyOzonPerfHttps = exports.SergeyOzonPerfHttps = 'https://apps1.ecomru.ru:4441';
69
69
 
70
70
  // Ravshan articles
71
- var RavshanArticlesHttps = exports.RavshanArticlesHttps = 'https://apps0.ecomru.ru:4447';
71
+ var RavshanArticlesHttps = exports.RavshanArticlesHttps = 'https://apps0.ecomru.ru:4447';
72
+
73
+ // Ravshan notification methods
74
+
75
+ var RavshanHttps = exports.RavshanHttps = 'https://apps0.ecomru.ru:4447';
76
+ var RavshanHttp = exports.RavshanHttp = 'https://apps0.ecomru.ru:4447';
@@ -8,7 +8,8 @@ exports["default"] = void 0;
8
8
 
9
9
  // const cookies = new Cookies()
10
10
 
11
- var testToken = 'eyJhbGciOiJFUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2UiOiJ3ZWIiLCJzdWIiOiIyNTgiLCJleHAiOjE3MTY1OTk5MDZ9.dmgDqCzikGOZt82AnmoAuc845bx4E3phoid6vZHVgr36z5fJQUXDV8Ns-S7fyvQmMl5pMPDyHesdiKXoveu8uw';
11
+ // const testToken = 'eyJhbGciOiJFUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2UiOiJ3ZWIiLCJzdWIiOiIyNTgiLCJleHAiOjE3MTY1OTk5MDZ9.dmgDqCzikGOZt82AnmoAuc845bx4E3phoid6vZHVgr36z5fJQUXDV8Ns-S7fyvQmMl5pMPDyHesdiKXoveu8uw'
12
+ var testToken = 'eyJhbGciOiJFUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2UiOiJ3ZWIiLCJzdWIiOiI0MzgiLCJleHAiOjE3Mzk4NzI4MTZ9.fGsDIlX5CkUyk9I-sxgsjo7fW7eZech-TGRHS3PLYmYRVbzUsxOPBDKbuL-oyPiPij-0K6nnuL4z8LKNXc8__A';
12
13
  var _default = exports["default"] = {
13
14
  'Accept': 'application/json',
14
15
  'Content-Type': 'application/json',
@@ -0,0 +1,37 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.useDebounce = useDebounce;
7
+ var _react = require("react");
8
+ function _slicedToArray(r, e) { return _arrayWithHoles(r) || _iterableToArrayLimit(r, e) || _unsupportedIterableToArray(r, e) || _nonIterableRest(); }
9
+ function _nonIterableRest() { throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
10
+ function _unsupportedIterableToArray(r, a) { if (r) { if ("string" == typeof r) return _arrayLikeToArray(r, a); var t = {}.toString.call(r).slice(8, -1); return "Object" === t && r.constructor && (t = r.constructor.name), "Map" === t || "Set" === t ? Array.from(r) : "Arguments" === t || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? _arrayLikeToArray(r, a) : void 0; } }
11
+ function _arrayLikeToArray(r, a) { (null == a || a > r.length) && (a = r.length); for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e]; return n; }
12
+ function _iterableToArrayLimit(r, l) { var t = null == r ? null : "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (null != t) { var e, n, i, u, a = [], f = !0, o = !1; try { if (i = (t = t.call(r)).next, 0 === l) { if (Object(t) !== t) return; f = !1; } else for (; !(f = (e = i.call(t)).done) && (a.push(e.value), a.length !== l); f = !0); } catch (r) { o = !0, n = r; } finally { try { if (!f && null != t["return"] && (u = t["return"](), Object(u) !== u)) return; } finally { if (o) throw n; } } return a; } }
13
+ function _arrayWithHoles(r) { if (Array.isArray(r)) return r; }
14
+ function useDebounce(callback, delay) {
15
+ var timer = (0, _react.useRef)();
16
+ var _useState = (0, _react.useState)(null),
17
+ _useState2 = _slicedToArray(_useState, 2),
18
+ prevId = _useState2[0],
19
+ setPrevId = _useState2[1];
20
+ var debounceCallback = (0, _react.useCallback)(function () {
21
+ var _args;
22
+ for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {
23
+ args[_key] = arguments[_key];
24
+ }
25
+ var id = args === null || args === void 0 || (_args = args[(args === null || args === void 0 ? void 0 : args.length) - 1]) === null || _args === void 0 ? void 0 : _args.attribute_id;
26
+ if (timer.current) {
27
+ if (prevId === id) {
28
+ clearTimeout(timer.current);
29
+ }
30
+ }
31
+ setPrevId(id);
32
+ timer.current = setTimeout(function () {
33
+ callback.apply(void 0, args);
34
+ }, delay);
35
+ }, [callback, delay, prevId]);
36
+ return debounceCallback;
37
+ }
@@ -0,0 +1,41 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.useTextSelectionInModal = void 0;
7
+ var _react = require("react");
8
+ function _slicedToArray(r, e) { return _arrayWithHoles(r) || _iterableToArrayLimit(r, e) || _unsupportedIterableToArray(r, e) || _nonIterableRest(); }
9
+ function _nonIterableRest() { throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
10
+ function _unsupportedIterableToArray(r, a) { if (r) { if ("string" == typeof r) return _arrayLikeToArray(r, a); var t = {}.toString.call(r).slice(8, -1); return "Object" === t && r.constructor && (t = r.constructor.name), "Map" === t || "Set" === t ? Array.from(r) : "Arguments" === t || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? _arrayLikeToArray(r, a) : void 0; } }
11
+ function _arrayLikeToArray(r, a) { (null == a || a > r.length) && (a = r.length); for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e]; return n; }
12
+ function _iterableToArrayLimit(r, l) { var t = null == r ? null : "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (null != t) { var e, n, i, u, a = [], f = !0, o = !1; try { if (i = (t = t.call(r)).next, 0 === l) { if (Object(t) !== t) return; f = !1; } else for (; !(f = (e = i.call(t)).done) && (a.push(e.value), a.length !== l); f = !0); } catch (r) { o = !0, n = r; } finally { try { if (!f && null != t["return"] && (u = t["return"](), Object(u) !== u)) return; } finally { if (o) throw n; } } return a; } }
13
+ function _arrayWithHoles(r) { if (Array.isArray(r)) return r; }
14
+ var useTextSelectionInModal = exports.useTextSelectionInModal = function useTextSelectionInModal(modalSelector) {
15
+ var _useState = (0, _react.useState)(false),
16
+ _useState2 = _slicedToArray(_useState, 2),
17
+ isTextSelected = _useState2[0],
18
+ setIsTextSelected = _useState2[1];
19
+ (0, _react.useEffect)(function () {
20
+ var _document;
21
+ var modalElement = (_document = document) === null || _document === void 0 ? void 0 : _document.querySelector(modalSelector);
22
+ if (!modalElement) {
23
+ return;
24
+ }
25
+ var handleSelectionChange = function handleSelectionChange() {
26
+ var selection = document.getSelection();
27
+ if (!selection || selection.rangeCount === 0 || selection.isCollapsed) {
28
+ setIsTextSelected(false);
29
+ return;
30
+ }
31
+ var range = selection.getRangeAt(0);
32
+ var isInModal = modalElement.contains(range.commonAncestorContainer);
33
+ setIsTextSelected(isInModal);
34
+ };
35
+ document.addEventListener('selectionchange', handleSelectionChange);
36
+ return function () {
37
+ document.removeEventListener('selectionchange', handleSelectionChange);
38
+ };
39
+ }, [modalSelector]);
40
+ return isTextSelected;
41
+ };
@@ -0,0 +1,152 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports["default"] = exports.Default = void 0;
7
+ var _ArticleWiki = _interopRequireDefault(require("./ArticleWiki"));
8
+ var _addonActions = require("@storybook/addon-actions");
9
+ var _args;
10
+ function _interopRequireDefault(e) { return e && e.__esModule ? e : { "default": e }; }
11
+ function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
12
+ function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
13
+ function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
14
+ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
15
+ var apiData = {
16
+ "id": 3947,
17
+ "cpu": "/zakon_o_zaschite_prav_potrebitelej/3947",
18
+ "date": "2025-02-14T11:30:18.554719",
19
+ "name": "ЗАКОН О ЗАЩИТЕ ПРАВ ПОТРЕБИТЕЛЕЙ",
20
+ "title": "1111111",
21
+ "views": 97,
22
+ "active": true,
23
+ "author": ["Елена", "rgb(224, 173, 46)"],
24
+ "blocks": [{
25
+ "content": [{
26
+ "value": "Настоящий Закон регулирует отношения, возникающие между потребителями и изготовителями, исполнителями, импортерами, продавцами, владельцами агрегаторов информации о товарах (услугах) при продаже товаров (выполнении работ, оказании услуг), устанавливает права потребителей на приобретение товаров (работ, услуг) надлежащего качества и безопасных для жизни, здоровья, имущества потребителей и окружающей среды, получение информации о товарах (работах, услугах) и об их изготовителях (исполнителях, продавцах), о владельцах агрегаторов информации о товарах (услугах), просвещение, государственную и общественную защиту их интересов, а также определяет механизм реализации этих прав.",
27
+ "properties": {}
28
+ }],
29
+ "block_id": 938,
30
+ "block_type": "text",
31
+ "block_before": null
32
+ }, {
33
+ "content": [{
34
+ "value": "https://dl.ecomru.ru:9001/images/438/172_4_2023-06-27_103438.601349_438.png",
35
+ "properties": {
36
+ "alt": "2222"
37
+ }
38
+ }],
39
+ "block_id": 913,
40
+ "block_type": "image",
41
+ "block_before": 938
42
+ }, {
43
+ "content": [{
44
+ "value": "Продавец вправе установить на товар гарантийный срок, если он не установлен изготовителем. Если гарантийный срок установлен изготовителем, продавец вправе установить гарантийный срок большей продолжительности, чем гарантийный срок, установленный изготовителем",
45
+ "properties": {}
46
+ }],
47
+ "block_id": 937,
48
+ "block_type": "text",
49
+ "block_before": 913
50
+ }, {
51
+ "content": [{
52
+ "value": "<span style=\"color: rgb(0, 0, 0); font-family: &quot;Times New Roman&quot;; font-size: 20px; font-style: normal; font-weight: 400; text-indent: 36px;\"><u>Основные понятия, используемые в настоящем Законе:</u></span>",
53
+ "properties": {}
54
+ }],
55
+ "block_id": 914,
56
+ "block_type": "title",
57
+ "block_before": 937
58
+ }, {
59
+ "content": [{
60
+ "value": "",
61
+ "properties": {}
62
+ }],
63
+ "block_id": 917,
64
+ "block_type": "form",
65
+ "block_before": 914
66
+ }, {
67
+ "content": [{
68
+ "value": "https://dl.ecomru.ru:9001/videos/438/video_438_2.mp4",
69
+ "properties": {
70
+ "alt": ""
71
+ }
72
+ }],
73
+ "block_id": 916,
74
+ "block_type": "video",
75
+ "block_before": 917
76
+ }, {
77
+ "content": [{
78
+ "value": "<span style=\"color: rgb(0, 0, 0); font-family: &quot;Times New Roman&quot;; font-size: 20px; font-style: normal; text-indent: 36px; white-space-collapse: collapse;\"><b>исполнитель</b></span><span style=\"color: rgb(0, 0, 0); font-family: &quot;Times New Roman&quot;; font-size: 20px; font-style: normal; font-weight: 400; text-indent: 36px; white-space-collapse: collapse;\"> - организация независимо от ее организационно-правовой формы, а также индивидуальный предприниматель, выполняющие работы или оказывающие услуги потребителям по возмездному договору</span>",
79
+ "properties": {}
80
+ }],
81
+ "block_id": 918,
82
+ "block_type": "text",
83
+ "block_before": 916
84
+ }, {
85
+ "content": [{
86
+ "value": "https://dl.ecomru.ru:9001/images/438/photo_146328-08-2022_00-07-08_438.jpg",
87
+ "properties": {
88
+ "alt": ""
89
+ }
90
+ }],
91
+ "block_id": 924,
92
+ "block_type": "image",
93
+ "block_before": 918
94
+ }, {
95
+ "content": [{
96
+ "value": "информация см на сайте&nbsp;<a href=\"https://www.consultant.ru/document/cons_doc_LAW_305/\" target=\"_blank\" style=\"color: blue;\"></a><a href=\"https://www.consultant.ru/document/cons_doc_LAW_305/\" target=\"_blank\" style=\"color: blue;\"><a href=\"https://apps1.ecomru.ru:4450/docs#/\" target=\"_blank\" style=\"color: blue;\">https://apps1.ecomru.ru:4450/docs#/</a></a>",
97
+ "properties": {}
98
+ }],
99
+ "block_id": 919,
100
+ "block_type": "info",
101
+ "block_before": 924
102
+ }, {
103
+ "content": [{
104
+ "value": "",
105
+ "properties": {
106
+ "vc.ru": "https://vc.ru/",
107
+ "pikabu": "https://pikabu.ru/"
108
+ }
109
+ }],
110
+ "block_id": 921,
111
+ "block_type": "social",
112
+ "block_before": 919
113
+ }],
114
+ "status": "active",
115
+ "language": "ru",
116
+ "level_id": 618,
117
+ "short_name": "ЗАКОН О ЗАЩИТЕ ПРАВ ПОТРЕБИТЕЛЕЙ",
118
+ "description": "1111111111111",
119
+ "reading_time_min": 4
120
+ };
121
+ var _default = exports["default"] = {
122
+ title: 'ArticleWiki',
123
+ component: _ArticleWiki["default"],
124
+ args: (_args = {
125
+ isNew: false,
126
+ articleTitle: 'Заголовок',
127
+ // articleTitleRef={articleTitleRef}
128
+ setArticleTitle: (0, _addonActions.action)('setArticleTitle'),
129
+ setContentChanged: (0, _addonActions.action)('setContentChanged'),
130
+ readonly: false,
131
+ loading: false,
132
+ apiData: apiData,
133
+ contentData: [],
134
+ // setContentData={setContentDataCallback}
135
+ setListOfContent: (0, _addonActions.action)('setContentChanged'),
136
+ portalId: 3,
137
+ // publishEventSource={publishButtonRef.current}
138
+ setChanged: (0, _addonActions.action)('setChanged'),
139
+ // title={seoTitle}
140
+ // setTitle={e => setSeoTitle(e)}
141
+ // description={seoDescription}
142
+ // setDescription={e => setSeoDescription(e)}
143
+ // contentLinks={contentLinks}
144
+ // articleId={articleId}
145
+ // hiddenSeo
146
+ listLinks: [{
147
+ "title": "<span style=\"color: rgb(0, 0, 0); font-family: &quot;Times New Roman&quot;; font-size: 20px; font-style: normal; font-weight: 400; text-indent: 36px;\"><u>Основные понятия, используемые в настоящем Законе:</u></span>",
148
+ "id": 914
149
+ }]
150
+ }, _defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_args, "isNew", false), "activeLang", 'ru'), "setCurrentArticle", (0, _addonActions.action)('setCurrentArticle')), "setTitle", (0, _addonActions.action)('setTitle')), "setDescription", (0, _addonActions.action)('setDescription')), "pageValue", 'article'), "setPageValue", (0, _addonActions.action)('setPageValue')), "statusText", ''), "setStatusText", (0, _addonActions.action)('setStatusText')), "fetchGetBreadcrumbs", function fetchGetBreadcrumbs() {}), _defineProperty(_args, "setSelectedItemId", (0, _addonActions.action)('setSelectedItemId')))
151
+ };
152
+ var Default = exports.Default = {};