ecomlab-components-next 0.1.158 → 0.1.160
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/common/headers.js +2 -2
- package/dist/components/ArticleElements/ShortTileArticleBox/ShortTileArticleBox.stories.js +1 -1
- package/dist/components/ConstructorComponents/Tariff/TariffPlan.js +8 -5
- package/dist/components/Table/TableBox/TableBox.stories.js +1 -1
- package/dist/index.js +7 -0
- package/package.json +1 -1
package/dist/common/headers.js
CHANGED
|
@@ -12,6 +12,6 @@ exports["default"] = void 0;
|
|
|
12
12
|
var testToken = 'eyJhbGciOiJFUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2UiOiJ3ZWIiLCJzdWIiOiI0MzgiLCJleHAiOjE3Mzk5Mzc1MTF9.j764rAfDepgBHge2hSOcFHWK2BG_C601Xw542WFhNBaiu8uuQAiFnM-8YSqImjut12hK-EJSPdDePqA5oXEs9Q';
|
|
13
13
|
var _default = exports["default"] = {
|
|
14
14
|
'Accept': 'application/json',
|
|
15
|
-
'Content-Type': 'application/json'
|
|
16
|
-
'Authorization':
|
|
15
|
+
'Content-Type': 'application/json'
|
|
16
|
+
// 'Authorization': `Bearer ${testToken}`
|
|
17
17
|
};
|
|
@@ -16,7 +16,7 @@ var _default = exports["default"] = {
|
|
|
16
16
|
name: ['Как увеличить продажи', 'asdasdsa'],
|
|
17
17
|
author: ["Александрhhhhhhhhhhh Морозовhhhhhhh", "rgb(175, 55, 63)"],
|
|
18
18
|
annotation: 'Когда селлер, торгующий на маркетплейсе, становится популярнее, ему приходится ежедневно обрабатывать… Когда селлер, торгующий на маркетплейсе, становится популярнее, ему приходится ежедневно обрабатывать…',
|
|
19
|
-
photoPreview: [
|
|
19
|
+
photoPreview: [],
|
|
20
20
|
tags: ['какой-то тэг', 'какой-то тэг'],
|
|
21
21
|
date: "14 апреля 2025",
|
|
22
22
|
timeToRead: 100500,
|
|
@@ -22,6 +22,7 @@ var _bxMessageDetail = _interopRequireDefault(require("./imgs/bx-message-detail.
|
|
|
22
22
|
var _bxPackage = _interopRequireDefault(require("./imgs/bx-package.svg"));
|
|
23
23
|
var _bxSlider = _interopRequireDefault(require("./imgs/bx-slider.svg"));
|
|
24
24
|
var _TitlePage = require("../../TitlePage/TitlePage");
|
|
25
|
+
var _headers = _interopRequireDefault(require("@/common/headers"));
|
|
25
26
|
require("./TariffPlan.scss");
|
|
26
27
|
function _interopRequireDefault(e) { return e && e.__esModule ? e : { "default": e }; }
|
|
27
28
|
function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(e) { return e ? t : r; })(e); }
|
|
@@ -32,10 +33,12 @@ function _unsupportedIterableToArray(r, a) { if (r) { if ("string" == typeof r)
|
|
|
32
33
|
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; }
|
|
33
34
|
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; } }
|
|
34
35
|
function _arrayWithHoles(r) { if (Array.isArray(r)) return r; }
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
36
|
+
// const headers = {
|
|
37
|
+
// space: 3459,
|
|
38
|
+
// authorization:
|
|
39
|
+
// `Bearer eyJhbGciOiJFUzI1NiIsInR5cCI6IkpXVCJ9.eyJ1c2UiOiJ3ZWIiLCJzdWIiOiI0MzgiLCJwaWQiOiI0IiwiZXhwIjoxNzUxMDk0NjU1fQ.ESe6xzprVhdErp6sMiyInj6lbcaG5lUQW205IpPjQseHFbwJ50LLnApl6Sq56F0lcI_riqyzj7I0sInc6TnhdQ`
|
|
40
|
+
// }
|
|
41
|
+
|
|
39
42
|
var TariffPlan = function TariffPlan(_ref) {
|
|
40
43
|
var _btns$, _modelsTariff$filter;
|
|
41
44
|
var current = _ref.current;
|
|
@@ -408,7 +411,7 @@ var TariffPlan = function TariffPlan(_ref) {
|
|
|
408
411
|
var url = "https://apps0.ecomru.ru:4453/api/v1/tariff/models?portal_id=1&period=".concat(period);
|
|
409
412
|
fetch(url, {
|
|
410
413
|
method: 'GET',
|
|
411
|
-
headers:
|
|
414
|
+
headers: _headers["default"]
|
|
412
415
|
}).then(function (res) {
|
|
413
416
|
if (res.ok) {
|
|
414
417
|
return res === null || res === void 0 ? void 0 : res.json();
|
|
@@ -15,7 +15,7 @@ var stubHeaders = {
|
|
|
15
15
|
"sort": "date",
|
|
16
16
|
"type": ["hidden", "hidden", "imgSlider", "textWithLink", "text", "text", "author", "num", "num", "imageWithText", "hidden"]
|
|
17
17
|
};
|
|
18
|
-
var stubFetchedData = [[4640, true, [
|
|
18
|
+
var stubFetchedData = [[4640, true, [], ["Automated Data Scraping from thailand-property.com", "/article/automated_data_scraping_from_thailand-propertycom/4640"], "<b>Track real estate prices, monitor listings, analyze agents, and stay ahead of the property market in Southeast Asia.</b><!-- notionvc: 4b1879b8-6433-4a07-b88d-43132f3b1560 -->", "25.04.2025", ["Ivan Asanov", "rgb(214, 90, 90)"], 4, 64, ["https://dl.ecomru.ru/service-files/account_status_ok.png", "Active"], 5], [4135, true, ["https://dl.ecomru.ru:9001/images/842/amazon-logo_842.png"], ["Amazon web scraping", "/article/amazon_web_scraping/4135"], "<p data-start=\"148\" data-end=\"426\" class=\"\" style=\"font-style: normal; white-space: normal; caret-color: rgb(0, 0, 0); color: rgb(0, 0, 0);\">Need up-to-date info from Amazon? We’ve got you. Whether it’s tracking competitors, monitoring prices and product availability, keeping an eye on reviews, or digging into keyword data — we handle it all through regular automated scraping.</p><p data-start=\"428\" data-end=\"608\" class=\"\" style=\"font-style: normal; white-space: normal; caret-color: rgb(0, 0, 0); color: rgb(0, 0, 0);\">You’ll get the data in the format that works best for you — whether that’s via API, Excel/CSV files, JSON, Google Drive or straight into a custom analytics dashboard.</p><p data-start=\"610\" data-end=\"759\" class=\"\" style=\"font-style: normal; white-space: normal; caret-color: rgb(0, 0, 0); color: rgb(0, 0, 0);\">Just drop us a request on our website, and we’ll take care of the rest — pulling the data you need from one of the biggest marketplaces in the world.</p>", "07.04.2025", ["Ivan Asanov", "rgb(214, 90, 90)"], 4, 108, ["https://dl.ecomru.ru/service-files/account_status_ok.png", "Active"], 5], [4745, true, ["https://file.ecomru.ru:4453/api/v1/file/download/67392faf-a0e4-4697-8c5e-14816236ee54"], ["Getting Business Data from Google Maps — The Practical Way", "/article/getting_business_data_from_google_maps_—_the_practical_way/4745"], "If your work depends on knowing what businesses operate in a certain area — and how they’re performing — Google Maps is one of the most reliable places to start. We’ve built a custom scraping system that helps you collect that data at scale, automatically, and in a format you can work with right away.<!-- notionvc: 4d9f2c7b-d455-4b19-9d0c-266f8360f3b0 -->", "02.05.2025", ["Ivan Asanov", "rgb(214, 90, 90)"], 4, 15, ["https://dl.ecomru.ru/service-files/account_status_ok.png", "Active"], 5], [4082, true, ["https://file.ecomru.ru:4453/api/v1/file/download/b4f684b1-0ab7-4edb-8510-9bf22a53ca71"], ["Regular web scraping from One2Car", "/article/regular_web_scraping_from_one2car/4082"], "<b>Across-the-board Data Collection from One2Car</b>", "01.04.2025", ["Ivan Asanov", "rgb(214, 90, 90)"], 4, 198, ["https://dl.ecomru.ru/service-files/account_status_ok.png", "Active"], 5]];
|
|
19
19
|
var _default = exports["default"] = {
|
|
20
20
|
title: 'TableBox',
|
|
21
21
|
component: _TableBox["default"],
|
package/dist/index.js
CHANGED
|
@@ -63,6 +63,12 @@ Object.defineProperty(exports, "ClientsAboutUs", {
|
|
|
63
63
|
return _ClientsAboutUs["default"];
|
|
64
64
|
}
|
|
65
65
|
});
|
|
66
|
+
Object.defineProperty(exports, "DropDownSelector", {
|
|
67
|
+
enumerable: true,
|
|
68
|
+
get: function get() {
|
|
69
|
+
return _DownSelector["default"];
|
|
70
|
+
}
|
|
71
|
+
});
|
|
66
72
|
Object.defineProperty(exports, "Footer", {
|
|
67
73
|
enumerable: true,
|
|
68
74
|
get: function get() {
|
|
@@ -206,4 +212,5 @@ var _ArticleViewV = _interopRequireDefault(require("./components/Article/Article
|
|
|
206
212
|
var _ListOfContent = _interopRequireDefault(require("./components/Article/ListOfContent/ListOfContent"));
|
|
207
213
|
var _ShortTileArticleBox = _interopRequireDefault(require("./components/ArticleElements/ShortTileArticleBox/ShortTileArticleBox"));
|
|
208
214
|
var _LongTileArticleBox = _interopRequireDefault(require("./components/ArticleElements/LongTileArticleBox/LongTileArticleBox"));
|
|
215
|
+
var _DownSelector = _interopRequireDefault(require("./components/Inputs/DropDownSelector/DownSelector"));
|
|
209
216
|
function _interopRequireDefault(e) { return e && e.__esModule ? e : { "default": e }; }
|