@redneckz/wildless-cms-uni-blocks 0.14.832 → 0.14.833
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/bin/migration-scripts/{0.14.828.js → 0.14.832.js} +3 -1
- package/bundle/blocks.schema.json +1 -1
- package/bundle/bundle.umd.js +17 -80
- package/bundle/bundle.umd.min.js +1 -1
- package/bundle/components/ApplicationLeadForm/ApplicationLeadForm.d.ts +0 -5
- package/bundle/components/ApplicationLeadForm/ApplicationLeadFormContent.d.ts +5 -0
- package/bundle/components/ApplicationLeadForm/useInitApplicationLead.d.ts +1 -2
- package/dist/components/ApplicationLeadForm/ApplicationLeadForm.d.ts +0 -5
- package/dist/components/ApplicationLeadForm/ApplicationLeadForm.js +5 -10
- package/dist/components/ApplicationLeadForm/ApplicationLeadForm.js.map +1 -1
- package/dist/components/ApplicationLeadForm/ApplicationLeadFormContent.d.ts +5 -0
- package/dist/components/ApplicationLeadForm/ApplicationLeadFormContent.js +7 -0
- package/dist/components/ApplicationLeadForm/ApplicationLeadFormContent.js.map +1 -1
- package/dist/components/ApplicationLeadForm/useInitApplicationLead.d.ts +1 -2
- package/dist/components/ApplicationLeadForm/useInitApplicationLead.js +4 -4
- package/dist/components/ApplicationLeadForm/useInitApplicationLead.js.map +1 -1
- package/dist/components/Blocks.js +0 -6
- package/dist/components/Blocks.js.map +1 -1
- package/dist/components/Blocks.mobile.js +0 -4
- package/dist/components/Blocks.mobile.js.map +1 -1
- package/dist/components/ProductBlock/ProductBlock.js +1 -1
- package/dist/components/ProductBlock/ProductBlock.js.map +1 -1
- package/lib/common.css +1 -1
- package/lib/components/ApplicationLeadForm/ApplicationLeadForm.d.ts +0 -5
- package/lib/components/ApplicationLeadForm/ApplicationLeadForm.js +1 -6
- package/lib/components/ApplicationLeadForm/ApplicationLeadForm.js.map +1 -1
- package/lib/components/ApplicationLeadForm/ApplicationLeadFormContent.d.ts +5 -0
- package/lib/components/ApplicationLeadForm/ApplicationLeadFormContent.js +6 -1
- package/lib/components/ApplicationLeadForm/ApplicationLeadFormContent.js.map +1 -1
- package/lib/components/ApplicationLeadForm/useInitApplicationLead.d.ts +1 -2
- package/lib/components/ApplicationLeadForm/useInitApplicationLead.js +1 -1
- package/lib/components/ApplicationLeadForm/useInitApplicationLead.js.map +1 -1
- package/lib/components/Blocks.js +0 -6
- package/lib/components/Blocks.js.map +1 -1
- package/lib/components/Blocks.mobile.js +0 -4
- package/lib/components/Blocks.mobile.js.map +1 -1
- package/lib/components/ProductBlock/ProductBlock.fixture.d.ts +0 -2
- package/lib/components/ProductBlock/ProductBlock.js +1 -1
- package/lib/components/ProductBlock/ProductBlock.js.map +1 -1
- package/mobile/bundle/bundle.umd.js +17 -40
- package/mobile/bundle/bundle.umd.min.js +1 -1
- package/mobile/bundle/components/ApplicationLeadForm/ApplicationLeadForm.d.ts +0 -5
- package/mobile/bundle/components/ApplicationLeadForm/ApplicationLeadFormContent.d.ts +5 -0
- package/mobile/bundle/components/ApplicationLeadForm/useInitApplicationLead.d.ts +1 -2
- package/mobile/dist/components/ApplicationLeadForm/ApplicationLeadForm.d.ts +0 -5
- package/mobile/dist/components/ApplicationLeadForm/ApplicationLeadForm.js +5 -10
- package/mobile/dist/components/ApplicationLeadForm/ApplicationLeadForm.js.map +1 -1
- package/mobile/dist/components/ApplicationLeadForm/ApplicationLeadFormContent.d.ts +5 -0
- package/mobile/dist/components/ApplicationLeadForm/ApplicationLeadFormContent.js +7 -0
- package/mobile/dist/components/ApplicationLeadForm/ApplicationLeadFormContent.js.map +1 -1
- package/mobile/dist/components/ApplicationLeadForm/useInitApplicationLead.d.ts +1 -2
- package/mobile/dist/components/ApplicationLeadForm/useInitApplicationLead.js +4 -4
- package/mobile/dist/components/ApplicationLeadForm/useInitApplicationLead.js.map +1 -1
- package/mobile/dist/components/Blocks.js +0 -4
- package/mobile/dist/components/Blocks.js.map +1 -1
- package/mobile/dist/components/ProductBlock/ProductBlock.js +1 -1
- package/mobile/dist/components/ProductBlock/ProductBlock.js.map +1 -1
- package/mobile/lib/common.css +1 -1
- package/mobile/lib/components/ApplicationLeadForm/ApplicationLeadForm.d.ts +0 -5
- package/mobile/lib/components/ApplicationLeadForm/ApplicationLeadForm.js +1 -6
- package/mobile/lib/components/ApplicationLeadForm/ApplicationLeadForm.js.map +1 -1
- package/mobile/lib/components/ApplicationLeadForm/ApplicationLeadFormContent.d.ts +5 -0
- package/mobile/lib/components/ApplicationLeadForm/ApplicationLeadFormContent.js +6 -1
- package/mobile/lib/components/ApplicationLeadForm/ApplicationLeadFormContent.js.map +1 -1
- package/mobile/lib/components/ApplicationLeadForm/useInitApplicationLead.d.ts +1 -2
- package/mobile/lib/components/ApplicationLeadForm/useInitApplicationLead.js +1 -1
- package/mobile/lib/components/ApplicationLeadForm/useInitApplicationLead.js.map +1 -1
- package/mobile/lib/components/Blocks.js +0 -4
- package/mobile/lib/components/Blocks.js.map +1 -1
- package/mobile/lib/components/ProductBlock/ProductBlock.js +1 -1
- package/mobile/lib/components/ProductBlock/ProductBlock.js.map +1 -1
- package/mobile/src/components/ApplicationLeadForm/ApplicationLeadForm.tsx +5 -7
- package/mobile/src/components/ApplicationLeadForm/ApplicationLeadFormContent.ts +6 -0
- package/mobile/src/components/ApplicationLeadForm/useInitApplicationLead.ts +1 -2
- package/mobile/src/components/Blocks.ts +0 -4
- package/mobile/src/components/ProductBlock/ProductBlock.example.json +1 -11
- package/mobile/src/components/ProductBlock/ProductBlock.tsx +0 -1
- package/package.json +1 -1
- package/src/components/ApplicationLeadForm/ApplicationLeadForm.tsx +5 -7
- package/src/components/ApplicationLeadForm/ApplicationLeadFormContent.ts +6 -0
- package/src/components/ApplicationLeadForm/useInitApplicationLead.ts +1 -2
- package/src/components/Blocks.mobile.ts +0 -4
- package/src/components/Blocks.ts +0 -6
- package/src/components/ProductBlock/ProductBlock.example.json +1 -11
- package/src/components/ProductBlock/ProductBlock.fixture.tsx +0 -28
- package/src/components/ProductBlock/ProductBlock.tsx +0 -1
- package/src/icons/IconName.ts +4 -4
- package/bundle/components/InvestmentInfo/InvestmentInfo.d.ts +0 -5
- package/bundle/components/InvestmentInfo/InvestmentInfoContent.d.ts +0 -43
- package/bundle/components/RepresentativeOfficeInfo/RepresentativeOfficeInfo.d.ts +0 -5
- package/bundle/components/RepresentativeOfficeInfo/RepresentativeOfficeInfoContent.d.ts +0 -18
- package/bundle/components/UnitBlock/UnitBlock.d.ts +0 -6
- package/bundle/components/UnitBlock/UnitBlockContent.d.ts +0 -6
- package/dist/components/InvestmentInfo/InvestmentInfo.d.ts +0 -5
- package/dist/components/InvestmentInfo/InvestmentInfo.js +0 -47
- package/dist/components/InvestmentInfo/InvestmentInfo.js.map +0 -1
- package/dist/components/InvestmentInfo/InvestmentInfoContent.d.ts +0 -43
- package/dist/components/InvestmentInfo/InvestmentInfoContent.js +0 -2
- package/dist/components/InvestmentInfo/InvestmentInfoContent.js.map +0 -1
- package/dist/components/RepresentativeOfficeInfo/RepresentativeOfficeInfo.d.ts +0 -5
- package/dist/components/RepresentativeOfficeInfo/RepresentativeOfficeInfo.js +0 -26
- package/dist/components/RepresentativeOfficeInfo/RepresentativeOfficeInfo.js.map +0 -1
- package/dist/components/RepresentativeOfficeInfo/RepresentativeOfficeInfoContent.d.ts +0 -18
- package/dist/components/RepresentativeOfficeInfo/RepresentativeOfficeInfoContent.js +0 -2
- package/dist/components/RepresentativeOfficeInfo/RepresentativeOfficeInfoContent.js.map +0 -1
- package/dist/components/UnitBlock/UnitBlock.d.ts +0 -6
- package/dist/components/UnitBlock/UnitBlock.js +0 -11
- package/dist/components/UnitBlock/UnitBlock.js.map +0 -1
- package/dist/components/UnitBlock/UnitBlockContent.d.ts +0 -6
- package/dist/components/UnitBlock/UnitBlockContent.js +0 -2
- package/dist/components/UnitBlock/UnitBlockContent.js.map +0 -1
- package/lib/components/InvestmentInfo/InvestmentInfo.d.ts +0 -5
- package/lib/components/InvestmentInfo/InvestmentInfo.fixture.d.ts +0 -7
- package/lib/components/InvestmentInfo/InvestmentInfo.js +0 -45
- package/lib/components/InvestmentInfo/InvestmentInfo.js.map +0 -1
- package/lib/components/InvestmentInfo/InvestmentInfoContent.d.ts +0 -43
- package/lib/components/InvestmentInfo/InvestmentInfoContent.js +0 -2
- package/lib/components/InvestmentInfo/InvestmentInfoContent.js.map +0 -1
- package/lib/components/RepresentativeOfficeInfo/RepresentativeOfficeInfo.d.ts +0 -5
- package/lib/components/RepresentativeOfficeInfo/RepresentativeOfficeInfo.fixture.d.ts +0 -5
- package/lib/components/RepresentativeOfficeInfo/RepresentativeOfficeInfo.fixture.mobile.d.ts +0 -5
- package/lib/components/RepresentativeOfficeInfo/RepresentativeOfficeInfo.js +0 -24
- package/lib/components/RepresentativeOfficeInfo/RepresentativeOfficeInfo.js.map +0 -1
- package/lib/components/RepresentativeOfficeInfo/RepresentativeOfficeInfoContent.d.ts +0 -18
- package/lib/components/RepresentativeOfficeInfo/RepresentativeOfficeInfoContent.js +0 -2
- package/lib/components/RepresentativeOfficeInfo/RepresentativeOfficeInfoContent.js.map +0 -1
- package/lib/components/UnitBlock/UnitBlock.d.ts +0 -6
- package/lib/components/UnitBlock/UnitBlock.fixture.d.ts +0 -6
- package/lib/components/UnitBlock/UnitBlock.fixture.mobile.d.ts +0 -6
- package/lib/components/UnitBlock/UnitBlock.js +0 -9
- package/lib/components/UnitBlock/UnitBlock.js.map +0 -1
- package/lib/components/UnitBlock/UnitBlockContent.d.ts +0 -6
- package/lib/components/UnitBlock/UnitBlockContent.js +0 -2
- package/lib/components/UnitBlock/UnitBlockContent.js.map +0 -1
- package/mobile/bundle/components/InvestmentInfo/InvestmentInfo.d.ts +0 -5
- package/mobile/bundle/components/InvestmentInfo/InvestmentInfoContent.d.ts +0 -43
- package/mobile/bundle/components/RepresentativeOfficeInfo/RepresentativeOfficeInfo.d.ts +0 -5
- package/mobile/bundle/components/RepresentativeOfficeInfo/RepresentativeOfficeInfoContent.d.ts +0 -18
- package/mobile/bundle/components/UnitBlock/UnitBlock.d.ts +0 -6
- package/mobile/bundle/components/UnitBlock/UnitBlockContent.d.ts +0 -6
- package/mobile/dist/components/InvestmentInfo/InvestmentInfo.d.ts +0 -5
- package/mobile/dist/components/InvestmentInfo/InvestmentInfo.js +0 -47
- package/mobile/dist/components/InvestmentInfo/InvestmentInfo.js.map +0 -1
- package/mobile/dist/components/InvestmentInfo/InvestmentInfoContent.d.ts +0 -43
- package/mobile/dist/components/InvestmentInfo/InvestmentInfoContent.js +0 -2
- package/mobile/dist/components/InvestmentInfo/InvestmentInfoContent.js.map +0 -1
- package/mobile/dist/components/RepresentativeOfficeInfo/RepresentativeOfficeInfo.d.ts +0 -5
- package/mobile/dist/components/RepresentativeOfficeInfo/RepresentativeOfficeInfo.js +0 -26
- package/mobile/dist/components/RepresentativeOfficeInfo/RepresentativeOfficeInfo.js.map +0 -1
- package/mobile/dist/components/RepresentativeOfficeInfo/RepresentativeOfficeInfoContent.d.ts +0 -18
- package/mobile/dist/components/RepresentativeOfficeInfo/RepresentativeOfficeInfoContent.js +0 -2
- package/mobile/dist/components/RepresentativeOfficeInfo/RepresentativeOfficeInfoContent.js.map +0 -1
- package/mobile/dist/components/UnitBlock/UnitBlock.d.ts +0 -6
- package/mobile/dist/components/UnitBlock/UnitBlock.js +0 -11
- package/mobile/dist/components/UnitBlock/UnitBlock.js.map +0 -1
- package/mobile/dist/components/UnitBlock/UnitBlockContent.d.ts +0 -6
- package/mobile/dist/components/UnitBlock/UnitBlockContent.js +0 -2
- package/mobile/dist/components/UnitBlock/UnitBlockContent.js.map +0 -1
- package/mobile/lib/components/InvestmentInfo/InvestmentInfo.d.ts +0 -5
- package/mobile/lib/components/InvestmentInfo/InvestmentInfo.js +0 -45
- package/mobile/lib/components/InvestmentInfo/InvestmentInfo.js.map +0 -1
- package/mobile/lib/components/InvestmentInfo/InvestmentInfoContent.d.ts +0 -43
- package/mobile/lib/components/InvestmentInfo/InvestmentInfoContent.js +0 -2
- package/mobile/lib/components/InvestmentInfo/InvestmentInfoContent.js.map +0 -1
- package/mobile/lib/components/RepresentativeOfficeInfo/RepresentativeOfficeInfo.d.ts +0 -5
- package/mobile/lib/components/RepresentativeOfficeInfo/RepresentativeOfficeInfo.js +0 -24
- package/mobile/lib/components/RepresentativeOfficeInfo/RepresentativeOfficeInfo.js.map +0 -1
- package/mobile/lib/components/RepresentativeOfficeInfo/RepresentativeOfficeInfoContent.d.ts +0 -18
- package/mobile/lib/components/RepresentativeOfficeInfo/RepresentativeOfficeInfoContent.js +0 -2
- package/mobile/lib/components/RepresentativeOfficeInfo/RepresentativeOfficeInfoContent.js.map +0 -1
- package/mobile/lib/components/UnitBlock/UnitBlock.d.ts +0 -6
- package/mobile/lib/components/UnitBlock/UnitBlock.js +0 -9
- package/mobile/lib/components/UnitBlock/UnitBlock.js.map +0 -1
- package/mobile/lib/components/UnitBlock/UnitBlockContent.d.ts +0 -6
- package/mobile/lib/components/UnitBlock/UnitBlockContent.js +0 -2
- package/mobile/lib/components/UnitBlock/UnitBlockContent.js.map +0 -1
- package/mobile/src/components/InvestmentInfo/InvestmentInfo.example.json +0 -53
- package/mobile/src/components/InvestmentInfo/InvestmentInfo.tsx +0 -131
- package/mobile/src/components/InvestmentInfo/InvestmentInfo.ui.json +0 -13
- package/mobile/src/components/InvestmentInfo/InvestmentInfoContent.ts +0 -51
- package/mobile/src/components/RepresentativeOfficeInfo/RepresentativeOfficeInfo.example.json +0 -14
- package/mobile/src/components/RepresentativeOfficeInfo/RepresentativeOfficeInfo.tsx +0 -94
- package/mobile/src/components/RepresentativeOfficeInfo/RepresentativeOfficeInfo.ui.json +0 -24
- package/mobile/src/components/RepresentativeOfficeInfo/RepresentativeOfficeInfoContent.ts +0 -22
- package/mobile/src/components/UnitBlock/UnitBlock.example.json +0 -9
- package/mobile/src/components/UnitBlock/UnitBlock.tsx +0 -17
- package/mobile/src/components/UnitBlock/UnitBlock.ui.json +0 -1
- package/mobile/src/components/UnitBlock/UnitBlockContent.ts +0 -7
- package/src/components/InvestmentInfo/InvestmentInfo.example.json +0 -53
- package/src/components/InvestmentInfo/InvestmentInfo.fixture.tsx +0 -109
- package/src/components/InvestmentInfo/InvestmentInfo.tsx +0 -131
- package/src/components/InvestmentInfo/InvestmentInfo.ui.json +0 -13
- package/src/components/InvestmentInfo/InvestmentInfoContent.ts +0 -51
- package/src/components/RepresentativeOfficeInfo/RepresentativeOfficeInfo.example.json +0 -14
- package/src/components/RepresentativeOfficeInfo/RepresentativeOfficeInfo.fixture.mobile.tsx +0 -47
- package/src/components/RepresentativeOfficeInfo/RepresentativeOfficeInfo.fixture.tsx +0 -47
- package/src/components/RepresentativeOfficeInfo/RepresentativeOfficeInfo.tsx +0 -94
- package/src/components/RepresentativeOfficeInfo/RepresentativeOfficeInfo.ui.json +0 -24
- package/src/components/RepresentativeOfficeInfo/RepresentativeOfficeInfoContent.ts +0 -22
- package/src/components/UnitBlock/UnitBlock.example.json +0 -9
- package/src/components/UnitBlock/UnitBlock.fixture.mobile.tsx +0 -27
- package/src/components/UnitBlock/UnitBlock.fixture.tsx +0 -27
- package/src/components/UnitBlock/UnitBlock.tsx +0 -17
- package/src/components/UnitBlock/UnitBlock.ui.json +0 -1
- package/src/components/UnitBlock/UnitBlockContent.ts +0 -7
|
@@ -1,47 +0,0 @@
|
|
|
1
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
2
|
-
exports.InvestmentInfo = void 0;
|
|
3
|
-
const jsx_runtime_1 = require("@redneckz/uni-jsx/jsx-runtime");
|
|
4
|
-
const uni_jsx_1 = require("@redneckz/uni-jsx");
|
|
5
|
-
const BlockWrapper_1 = require("../../ui-kit/BlockWrapper");
|
|
6
|
-
const RichText_1 = require("../../ui-kit/RichText/RichText");
|
|
7
|
-
const Text_1 = require("../../ui-kit/Text/Text");
|
|
8
|
-
const joinList_1 = require("../../utils/joinList");
|
|
9
|
-
const investmentCellColorMap = {
|
|
10
|
-
yellow: 'bg-yellow',
|
|
11
|
-
green: 'bg-green',
|
|
12
|
-
'green-light': 'bg-green-light',
|
|
13
|
-
'green-dark': 'bg-green-dark',
|
|
14
|
-
};
|
|
15
|
-
const investmentCellSizeMap = {
|
|
16
|
-
XS: 'h-10',
|
|
17
|
-
S: 'h-16',
|
|
18
|
-
M: 'h-24',
|
|
19
|
-
L: 'h-32',
|
|
20
|
-
XL: 'h-52',
|
|
21
|
-
};
|
|
22
|
-
exports.InvestmentInfo = (0, uni_jsx_1.JSX)((props) => {
|
|
23
|
-
const { className = '', __html, isDotted, investmentZeroColumn, investmentColumns, ...rest } = props;
|
|
24
|
-
const columns = investmentColumns ? [...investmentColumns] : [];
|
|
25
|
-
if (investmentZeroColumn) {
|
|
26
|
-
columns.unshift(investmentZeroColumn);
|
|
27
|
-
}
|
|
28
|
-
return ((0, jsx_runtime_1.jsx)(BlockWrapper_1.BlockWrapper, { className: className, defaultPadding: "p-4xl", ...rest, children: (0, jsx_runtime_1.jsxs)("div", { className: "container text-m font-light space-y-4xl", children: [columns?.length ? ((0, jsx_runtime_1.jsxs)("div", { children: [(0, jsx_runtime_1.jsxs)("div", { className: "flex items-end relative pl-3xl pr-lg text-white", children: [(0, joinList_1.joinList)((0, jsx_runtime_1.jsx)("div", { className: "w-px h-4 bg-gray" }))(columns.map(renderInvestmentColumn)), (0, jsx_runtime_1.jsx)("div", { className: "absolute right-3xl w-px h-4 bg-gray" })] }), (0, jsx_runtime_1.jsx)("div", { className: "border-t border-gray -mt-xs mx-3xl" }), (0, jsx_runtime_1.jsx)("div", { className: "flex justify-between text-primary-text mt-s -mx-5xl", children: columns.map(renderInvestmentColumnTitle) })] })) : null, __html ? ((0, jsx_runtime_1.jsx)("div", { className: "max-w-2xl font-light text-base", children: (0, jsx_runtime_1.jsx)(RichText_1.RichText, { __html: __html, isDotted: isDotted, itemSize: "list-s" }) })) : null] }) }));
|
|
29
|
-
});
|
|
30
|
-
const renderInvestmentColumn = (column, i, arr) => {
|
|
31
|
-
const isSecondColumn = i === 1;
|
|
32
|
-
const isLastColumn = i === arr.length - 1;
|
|
33
|
-
const reversedCells = column.cells?.reverse() || [];
|
|
34
|
-
return ((0, jsx_runtime_1.jsx)("div", { className: `${getColumnClasses(isSecondColumn, isLastColumn, column.cells)}`, children: reversedCells.length ? ((0, jsx_runtime_1.jsx)("div", { className: `w-full ${isLastColumn ? 'border-4 border-green-more-dark p-1.5 min-w-72' : ''}`, children: reversedCells.map(renderInvestmentCell) })) : null }, `column_${i}`));
|
|
35
|
-
};
|
|
36
|
-
const getColumnClasses = (isSecondColumn, isLastColumn, cells = []) => [
|
|
37
|
-
cells.length ? 'flex-1' : 'flex-0',
|
|
38
|
-
cells.length && !isSecondColumn && !isLastColumn ? 'pl-s' : '',
|
|
39
|
-
cells.length && !isLastColumn ? 'pr-s pb-3xl' : 'pb-xl',
|
|
40
|
-
].join(' ');
|
|
41
|
-
const renderInvestmentCell = (cell, i) => {
|
|
42
|
-
const cellSize = cell.cellSize || 'XS';
|
|
43
|
-
const cellColor = cell.cellColor || 'green';
|
|
44
|
-
return cell.text ? ((0, jsx_runtime_1.jsx)("div", { className: `flex-1 flex items-center justify-center relative py-xs ${investmentCellSizeMap[cellSize]} ${investmentCellColorMap[cellColor]} ${cellSize === 'XS' ? 'px-s' : 'px-5xl'}`, children: (0, jsx_runtime_1.jsx)(Text_1.Text, { align: "text-center", children: cell.text }) }, `cell_${i}`)) : null;
|
|
45
|
-
};
|
|
46
|
-
const renderInvestmentColumnTitle = (column, i) => column?.title ? ((0, jsx_runtime_1.jsx)("div", { className: "flex-1 max-w-44 text-center px-xs last:pr-4xl last:max-w-52", children: column.title }, `title_${i}`)) : null;
|
|
47
|
-
//# sourceMappingURL=InvestmentInfo.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"InvestmentInfo.js","sourceRoot":"","sources":["../../../src/components/InvestmentInfo/InvestmentInfo.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AACxC,4DAAyD;AACzD,6DAA0D;AAC1D,iDAA8C;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AC,aAAa,CAAC,CAAC,CAAC,OAAO;CACxD,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC;AAEd,MAAM,oBAAoB,GAAG,CAAC,IAAoB,EAAE,CAAS,EAAE,EAAE;IAC/D,MAAM,QAAQ,GAAG,IAAI,CAAC,QAAQ,IAAI,IAAI,CAAC;IACvC,MAAM,SAAS,GAAG,IAAI,CAAC,SAAS,IAAI,OAAO,CAAC;IAE5C,OAAO,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC,CACjB,gCAEE,SAAS,EAAE,0DACT,qBAAqB,CAAC,QAAQ,CAChC,IAAI,sBAAsB,CAAC,SAAS,CAAC,IAAI,QAAQ,KAAK,IAAI,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,QAAQ,EAAE,YAEhF,uBAAC,WAAI,IAAC,KAAK,EAAC,aAAa,YAAE,IAAI,CAAC,IAAI,GAAQ,IALvC,QAAQ,CAAC,EAAE,CAMZ,CACP,CAAC,CAAC,CAAC,IAAI,CAAC;AACX,CAAC,CAAC;AAEF,MAAM,2BAA2B,GAAG,CAAC,MAA+C,EAAE,CAAS,EAAE,EAAE,CACjG,MAAM,EAAE,KAAK,CAAC,CAAC,CAAC,CACd,gCAAwB,SAAS,EAAC,6DAA6D,YAC5F,MAAM,CAAC,KAAK,IADL,SAAS,CAAC,EAAE,CAEhB,CACP,CAAC,CAAC,CAAC,IAAI,CAAC"}
|
|
@@ -1,43 +0,0 @@
|
|
|
1
|
-
import { type BulletsProps } from '../../model/Bullets';
|
|
2
|
-
import { type TextProps, type TitleProps } from '../../model/HeadlineType';
|
|
3
|
-
import { type RichTextProps } from '../../ui-kit/RichText/RichTextProps';
|
|
4
|
-
import { type UniBlockContent } from '../../UniBlock/UniBlockProps';
|
|
5
|
-
/**
|
|
6
|
-
* @title Цвет
|
|
7
|
-
* @enumNames ["Оранжевый", "Светло-зеленый", "Зеленый", "Тёмно-зеленый"]
|
|
8
|
-
*/
|
|
9
|
-
export declare type InvestmentCellColor = 'yellow' | 'green-light' | 'green' | 'green-dark';
|
|
10
|
-
/**
|
|
11
|
-
* @title Высота
|
|
12
|
-
*/
|
|
13
|
-
export declare type InvestmentCellSize = 'XL' | 'L' | 'M' | 'S' | 'XS';
|
|
14
|
-
/**
|
|
15
|
-
* @title Ячейка
|
|
16
|
-
*/
|
|
17
|
-
export declare type InvestmentCell = TextProps & {
|
|
18
|
-
cellColor?: InvestmentCellColor;
|
|
19
|
-
cellSize?: InvestmentCellSize;
|
|
20
|
-
};
|
|
21
|
-
/**
|
|
22
|
-
* @title Элемент данных 1
|
|
23
|
-
*/
|
|
24
|
-
export declare type InvestmentZeroColumn = TitleProps & {
|
|
25
|
-
/** @hidden */
|
|
26
|
-
cells?: InvestmentCell[];
|
|
27
|
-
};
|
|
28
|
-
/**
|
|
29
|
-
* @title Элемент данных
|
|
30
|
-
*/
|
|
31
|
-
export declare type InvestmentColumn = TitleProps & {
|
|
32
|
-
/** @title Ячейки */
|
|
33
|
-
cells?: InvestmentCell[];
|
|
34
|
-
};
|
|
35
|
-
/**
|
|
36
|
-
* @title Блок инвестиций
|
|
37
|
-
*/
|
|
38
|
-
export declare type InvestmentInfoContent = UniBlockContent & RichTextProps & BulletsProps & {
|
|
39
|
-
/** @title Элемент данных 1 */
|
|
40
|
-
investmentZeroColumn?: InvestmentZeroColumn;
|
|
41
|
-
/** @title Остальные элементы данных */
|
|
42
|
-
investmentColumns?: InvestmentColumn[];
|
|
43
|
-
};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"InvestmentInfoContent.js","sourceRoot":"","sources":["../../../src/components/InvestmentInfo/InvestmentInfoContent.ts"],"names":[],"mappings":""}
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
import { type UniBlockProps } from '../../UniBlock/UniBlockProps';
|
|
2
|
-
import { type RepresentativeOfficeInfoContent } from './RepresentativeOfficeInfoContent';
|
|
3
|
-
export interface RepresentativeOfficeInfoProps extends RepresentativeOfficeInfoContent, UniBlockProps {
|
|
4
|
-
}
|
|
5
|
-
export declare const RepresentativeOfficeInfo: import("@redneckz/uni-jsx").UNIComponent<RepresentativeOfficeInfoProps, any, any>;
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
2
|
-
exports.RepresentativeOfficeInfo = void 0;
|
|
3
|
-
const jsx_runtime_1 = require("@redneckz/uni-jsx/jsx-runtime");
|
|
4
|
-
const uni_jsx_1 = require("@redneckz/uni-jsx");
|
|
5
|
-
const BlockWrapper_1 = require("../../ui-kit/BlockWrapper");
|
|
6
|
-
const Heading_1 = require("../../ui-kit/Heading/Heading");
|
|
7
|
-
const Icon_1 = require("../../ui-kit/Icon/Icon");
|
|
8
|
-
const Img_1 = require("../../ui-kit/Img/Img");
|
|
9
|
-
const renderButtonsSection_1 = require("../../ui-kit/LinkButton/renderButtonsSection");
|
|
10
|
-
const RichText_1 = require("../../ui-kit/RichText/RichText");
|
|
11
|
-
const Text_1 = require("../../ui-kit/Text/Text");
|
|
12
|
-
const isIcon_1 = require("../../utils/isIcon");
|
|
13
|
-
const style_1 = require("../../utils/style");
|
|
14
|
-
exports.RepresentativeOfficeInfo = (0, uni_jsx_1.JSX)(({ address, email, telephone, button, className = '', __html, richVersion, icon, title, version = 'primary', ...rest }) => ((0, jsx_runtime_1.jsxs)(BlockWrapper_1.BlockWrapper, { className: (0, style_1.style)('box-border text-left space-y-s', className), version: version, ...rest, children: [(0, jsx_runtime_1.jsxs)("div", { className: "w-full flex justify-between flex-row-reverse", children: [(0, isIcon_1.isIcon)(icon) ? ((0, jsx_runtime_1.jsx)("div", { className: 'w-10 h-7 sm:w-24 sm:h-16', children: (0, jsx_runtime_1.jsx)(Img_1.Img, { image: icon }) })) : null, title ? (0, jsx_runtime_1.jsx)(Heading_1.Heading, { headingType: "h3", as: "h3", title: title }) : null] }), (0, jsx_runtime_1.jsxs)("div", { className: "w-full space-y-m", children: [__html ? renderDescriptionBlock({ __html, richVersion }) : null, renderBlock({
|
|
15
|
-
label: 'Адрес',
|
|
16
|
-
data: address,
|
|
17
|
-
iconName: 'GeolocationIcon',
|
|
18
|
-
}), renderBlock({ label: 'Телефон(факс)', data: telephone, iconName: 'PhoneIcon' }), renderBlock({
|
|
19
|
-
label: 'E-mail',
|
|
20
|
-
data: email,
|
|
21
|
-
iconName: 'MailIcon',
|
|
22
|
-
dataColor: 'text-primary-main',
|
|
23
|
-
}), button?.text ? (0, renderButtonsSection_1.renderButtonsSection)([button]) : null] })] })));
|
|
24
|
-
const renderDescriptionBlock = (props) => ((0, jsx_runtime_1.jsx)("div", { className: "border-b border-main-divider pb-lg", children: (0, jsx_runtime_1.jsx)(RichText_1.RichText, { ...props, itemSize: "list-s" }) }));
|
|
25
|
-
const renderBlock = ({ label, data, iconName, dataColor = '' }) => data ? ((0, jsx_runtime_1.jsxs)("div", { className: "flex gap-s", children: [(0, jsx_runtime_1.jsx)(Icon_1.Icon, { iconVersion: "black", name: iconName, width: "24", height: "24" }), (0, jsx_runtime_1.jsxs)("div", { className: "flex flex-col gap-2xs", children: [(0, jsx_runtime_1.jsx)(Text_1.Text, { size: "text-m", font: "font-light", color: "text-secondary-text", children: label }), (0, jsx_runtime_1.jsx)(Text_1.Text, { size: "text-xl", color: dataColor, children: data })] })] })) : null;
|
|
26
|
-
//# sourceMappingURL=RepresentativeOfficeInfo.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"RepresentativeOfficeInfo.js","sourceRoot":"","sources":["../../../src/components/RepresentativeOfficeInfo/RepresentativeOfficeInfo.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AAExC,4DAAyD;AACzD,0DAAuD;AACvD,iDAA8C;AAC9C,8CAA2C;AAC3C,uFAAoF;AACpF,6DAA0D;AAE1D,iDAA8C;AAG9C,+CAA4C;AAC5C,6CAA0C;AAO7B,QAAA,wBAAwB,GAAG,IAAA,aAAG,EACzC,CAAC,EACC,OAAO,EACP,KAAK,EACL,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AChB,CACF,CAAC;AAEF,MAAM,sBAAsB,GAAG,CAAC,KAAoB,EAAE,EAAE,CAAC,CACvD,gCAAK,SAAS,EAAC,oCAAoC,YACjD,uBAAC,mBAAQ,OAAK,KAAK,EAAE,QAAQ,EAAC,QAAQ,GAAG,GACrC,CACP,CAAC;AASF,MAAM,WAAW,GAAG,CAAC,EAAE,KAAK,EAAE,IAAI,EAAE,QAAQ,EAAE,SAAS,GAAG,EAAE,EAAoB,EAAE,EAAE,CAClF,IAAI,CAAC,CAAC,CAAC,CACL,iCAAK,SAAS,EAAC,YAAY,aACzB,uBAAC,WAAI,IAAC,WAAW,EAAC,OAAO,EAAC,IAAI,EAAE,QAAQ,EAAE,KAAK,EAAC,IAAI,EAAC,MAAM,EAAC,IAAI,GAAG,EACnE,iCAAK,SAAS,EAAC,uBAAuB,aACpC,uBAAC,WAAI,IAAC,IAAI,EAAC,QAAQ,EAAC,IAAI,EAAC,YAAY,EAAC,KAAK,EAAC,qBAAqB,YAC9D,KAAK,GACD,EACP,uBAAC,WAAI,IAAC,IAAI,EAAC,SAAS,EAAC,KAAK,EAAE,SAAS,YAClC,IAAI,GACA,IACH,IACF,CACP,CAAC,CAAC,CAAC,IAAI,CAAC"}
|
package/mobile/dist/components/RepresentativeOfficeInfo/RepresentativeOfficeInfoContent.d.ts
DELETED
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import { type TitleProps } from '../../model/HeadlineType';
|
|
2
|
-
import { type IconProps } from '../../model/Picture';
|
|
3
|
-
import { type LinkButtonContent } from '../../ui-kit/LinkButton/LinkButtonContent';
|
|
4
|
-
import { type RichTextProps } from '../../ui-kit/RichText/RichTextProps';
|
|
5
|
-
import { type UniBlockContent } from '../../UniBlock/UniBlockProps';
|
|
6
|
-
/**
|
|
7
|
-
* @title Блок с информацией о представительстве
|
|
8
|
-
*/
|
|
9
|
-
export declare type RepresentativeOfficeInfoContent = UniBlockContent & TitleProps & RichTextProps & IconProps & {
|
|
10
|
-
/** @title Адрес */
|
|
11
|
-
address?: string;
|
|
12
|
-
/** @title Телефон (факс) */
|
|
13
|
-
telephone?: string;
|
|
14
|
-
/** @title E-mail */
|
|
15
|
-
email?: string;
|
|
16
|
-
/** @title Кнопка */
|
|
17
|
-
button?: LinkButtonContent;
|
|
18
|
-
};
|
package/mobile/dist/components/RepresentativeOfficeInfo/RepresentativeOfficeInfoContent.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"RepresentativeOfficeInfoContent.js","sourceRoot":"","sources":["../../../src/components/RepresentativeOfficeInfo/RepresentativeOfficeInfoContent.ts"],"names":[],"mappings":""}
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import { type UniBlockProps } from '../../UniBlock/UniBlockProps';
|
|
2
|
-
import { type UnitBlockContent } from './UnitBlockContent';
|
|
3
|
-
interface UnitBlockProps extends UnitBlockContent, UniBlockProps {
|
|
4
|
-
}
|
|
5
|
-
export declare const UnitBlock: import("@redneckz/uni-jsx").UNIComponent<UnitBlockProps, any, any>;
|
|
6
|
-
export {};
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
2
|
-
exports.UnitBlock = void 0;
|
|
3
|
-
const jsx_runtime_1 = require("@redneckz/uni-jsx/jsx-runtime");
|
|
4
|
-
const uni_jsx_1 = require("@redneckz/uni-jsx");
|
|
5
|
-
const BlockWrapper_1 = require("../../ui-kit/BlockWrapper");
|
|
6
|
-
const Unit_1 = require("../../ui-kit/Unit/Unit");
|
|
7
|
-
exports.UnitBlock = (0, uni_jsx_1.JSX)((props) => {
|
|
8
|
-
const { prefix, unit, suffix, ...rest } = props;
|
|
9
|
-
return ((0, jsx_runtime_1.jsx)(BlockWrapper_1.BlockWrapper, { defaultPadding: "p-0", ...rest, children: (0, jsx_runtime_1.jsx)(Unit_1.Unit, { prefix: prefix, unit: unit, suffix: suffix }) }));
|
|
10
|
-
});
|
|
11
|
-
//# sourceMappingURL=UnitBlock.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"UnitBlock.js","sourceRoot":"","sources":["../../../src/components/UnitBlock/UnitBlock.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AACxC,4DAAyD;AACzD,iDAA8C;AAMjC,QAAA,SAAS,GAAG,IAAA,aAAG,EAAiB,CAAC,KAAK,EAAE,EAAE;IACrD,MAAM,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM,EAAE,GAAG,IAAI,EAAE,GAAG,KAAK,CAAC;IAEhD,OAAO,CACL,uBAAC,2BAAY,IAAC,cAAc,EAAC,KAAK,KAAK,IAAI,YACzC,uBAAC,WAAI,IAAC,MAAM,EAAE,MAAM,EAAE,IAAI,EAAE,IAAI,EAAE,MAAM,EAAE,MAAM,GAAI,GACvC,CAChB,CAAC;AACJ,CAAC,CAAC,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"UnitBlockContent.js","sourceRoot":"","sources":["../../../src/components/UnitBlock/UnitBlockContent.ts"],"names":[],"mappings":""}
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
import { type UniBlockProps } from '../../UniBlock/UniBlockProps';
|
|
2
|
-
import { type InvestmentInfoContent } from './InvestmentInfoContent';
|
|
3
|
-
export interface InvestmentInfoProps extends InvestmentInfoContent, UniBlockProps {
|
|
4
|
-
}
|
|
5
|
-
export declare const InvestmentInfo: import("@redneckz/uni-jsx").UNIComponent<InvestmentInfoProps, any, any>;
|
|
@@ -1,45 +0,0 @@
|
|
|
1
|
-
import { jsx as _jsx, jsxs as _jsxs } from "@redneckz/uni-jsx/jsx-runtime";
|
|
2
|
-
import { JSX } from '@redneckz/uni-jsx';
|
|
3
|
-
import { BlockWrapper } from '../../ui-kit/BlockWrapper.js';
|
|
4
|
-
import { RichText } from '../../ui-kit/RichText/RichText.js';
|
|
5
|
-
import { Text } from '../../ui-kit/Text/Text.js';
|
|
6
|
-
import { joinList } from '../../utils/joinList.js';
|
|
7
|
-
const investmentCellColorMap = {
|
|
8
|
-
yellow: 'bg-yellow',
|
|
9
|
-
green: 'bg-green',
|
|
10
|
-
'green-light': 'bg-green-light',
|
|
11
|
-
'green-dark': 'bg-green-dark',
|
|
12
|
-
};
|
|
13
|
-
const investmentCellSizeMap = {
|
|
14
|
-
XS: 'h-10',
|
|
15
|
-
S: 'h-16',
|
|
16
|
-
M: 'h-24',
|
|
17
|
-
L: 'h-32',
|
|
18
|
-
XL: 'h-52',
|
|
19
|
-
};
|
|
20
|
-
export const InvestmentInfo = JSX((props) => {
|
|
21
|
-
const { className = '', __html, isDotted, investmentZeroColumn, investmentColumns, ...rest } = props;
|
|
22
|
-
const columns = investmentColumns ? [...investmentColumns] : [];
|
|
23
|
-
if (investmentZeroColumn) {
|
|
24
|
-
columns.unshift(investmentZeroColumn);
|
|
25
|
-
}
|
|
26
|
-
return (_jsx(BlockWrapper, { className: className, defaultPadding: "p-4xl", ...rest, children: _jsxs("div", { className: "container text-m font-light space-y-4xl", children: [columns?.length ? (_jsxs("div", { children: [_jsxs("div", { className: "flex items-end relative pl-3xl pr-lg text-white", children: [joinList(_jsx("div", { className: "w-px h-4 bg-gray" }))(columns.map(renderInvestmentColumn)), _jsx("div", { className: "absolute right-3xl w-px h-4 bg-gray" })] }), _jsx("div", { className: "border-t border-gray -mt-xs mx-3xl" }), _jsx("div", { className: "flex justify-between text-primary-text mt-s -mx-5xl", children: columns.map(renderInvestmentColumnTitle) })] })) : null, __html ? (_jsx("div", { className: "max-w-2xl font-light text-base", children: _jsx(RichText, { __html: __html, isDotted: isDotted, itemSize: "list-s" }) })) : null] }) }));
|
|
27
|
-
});
|
|
28
|
-
const renderInvestmentColumn = (column, i, arr) => {
|
|
29
|
-
const isSecondColumn = i === 1;
|
|
30
|
-
const isLastColumn = i === arr.length - 1;
|
|
31
|
-
const reversedCells = column.cells?.reverse() || [];
|
|
32
|
-
return (_jsx("div", { className: `${getColumnClasses(isSecondColumn, isLastColumn, column.cells)}`, children: reversedCells.length ? (_jsx("div", { className: `w-full ${isLastColumn ? 'border-4 border-green-more-dark p-1.5 min-w-72' : ''}`, children: reversedCells.map(renderInvestmentCell) })) : null }, `column_${i}`));
|
|
33
|
-
};
|
|
34
|
-
const getColumnClasses = (isSecondColumn, isLastColumn, cells = []) => [
|
|
35
|
-
cells.length ? 'flex-1' : 'flex-0',
|
|
36
|
-
cells.length && !isSecondColumn && !isLastColumn ? 'pl-s' : '',
|
|
37
|
-
cells.length && !isLastColumn ? 'pr-s pb-3xl' : 'pb-xl',
|
|
38
|
-
].join(' ');
|
|
39
|
-
const renderInvestmentCell = (cell, i) => {
|
|
40
|
-
const cellSize = cell.cellSize || 'XS';
|
|
41
|
-
const cellColor = cell.cellColor || 'green';
|
|
42
|
-
return cell.text ? (_jsx("div", { className: `flex-1 flex items-center justify-center relative py-xs ${investmentCellSizeMap[cellSize]} ${investmentCellColorMap[cellColor]} ${cellSize === 'XS' ? 'px-s' : 'px-5xl'}`, children: _jsx(Text, { align: "text-center", children: cell.text }) }, `cell_${i}`)) : null;
|
|
43
|
-
};
|
|
44
|
-
const renderInvestmentColumnTitle = (column, i) => column?.title ? (_jsx("div", { className: "flex-1 max-w-44 text-center px-xs last:pr-4xl last:max-w-52", children: column.title }, `title_${i}`)) : null;
|
|
45
|
-
//# sourceMappingURL=InvestmentInfo.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"InvestmentInfo.js","sourceRoot":"","sources":["../../../src/components/InvestmentInfo/InvestmentInfo.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AACxC,OAAO,EAAE,YAAY,EAAE,MAAM,2BAA2B,CAAC;AACzD,OAAO,EAAE,QAAQ,EAAE,MAAM,gCAAgC,CAAC;AAC1D,OAAO,EAAE,IAAI,EAAE,MAAM,wBAAwB,CAAC;AAE9C,OAAO,EAAE,QAAQ,EAAE,MAAM,sBAAsB,CAAC;AAUhD,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CAAC,IAAI,CAAC,GAAG,CAAC,CAAC;AAEd,MAAM,oBAAoB,GAAG,CAAC,IAAoB,EAAE,CAAS,EAAE,EAAE;IAC/D,MAAM,QAAQ,GAAG,IAAI,CAAC,QAAQ,IAAI,IAAI,CAAC;IACvC,MAAM,SAAS,GAAG,IAAI,CAAC,SAAS,IAAI,OAAO,CAAC;IAE5C,OAAO,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC,CACjB,cAEE,SAAS,EAAE,0DACT,qBAAqB,CAAC,QAAQ,CAChC,IAAI,sBAAsB,CAAC,SAAS,CAAC,IAAI,QAAQ,KAAK,IAAI,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,QAAQ,EAAE,YAEhF,KAAC,IAAI,IAAC,KAAK,EAAC,aAAa,YAAE,IAAI,CAAC,IAAI,GAAQ,IALvC,QAAQ,CAAC,EAAE,CAMZ,CACP,CAAC,CAAC,CAAC,IAAI,CAAC;AACX,CAAC,CAAC;AAEF,MAAM,2BAA2B,GAAG,CAAC,MAA+C,EAAE,CAAS,EAAE,EAAE,CACjG,MAAM,EAAE,KAAK,CAAC,CAAC,CAAC,CACd,cAAwB,SAAS,EAAC,6DAA6D,YAC5F,MAAM,CAAC,KAAK,IADL,SAAS,CAAC,EAAE,CAEhB,CACP,CAAC,CAAC,CAAC,IAAI,CAAC"}
|
|
@@ -1,43 +0,0 @@
|
|
|
1
|
-
import { type BulletsProps } from '../../model/Bullets';
|
|
2
|
-
import { type TextProps, type TitleProps } from '../../model/HeadlineType';
|
|
3
|
-
import { type RichTextProps } from '../../ui-kit/RichText/RichTextProps';
|
|
4
|
-
import { type UniBlockContent } from '../../UniBlock/UniBlockProps';
|
|
5
|
-
/**
|
|
6
|
-
* @title Цвет
|
|
7
|
-
* @enumNames ["Оранжевый", "Светло-зеленый", "Зеленый", "Тёмно-зеленый"]
|
|
8
|
-
*/
|
|
9
|
-
export declare type InvestmentCellColor = 'yellow' | 'green-light' | 'green' | 'green-dark';
|
|
10
|
-
/**
|
|
11
|
-
* @title Высота
|
|
12
|
-
*/
|
|
13
|
-
export declare type InvestmentCellSize = 'XL' | 'L' | 'M' | 'S' | 'XS';
|
|
14
|
-
/**
|
|
15
|
-
* @title Ячейка
|
|
16
|
-
*/
|
|
17
|
-
export declare type InvestmentCell = TextProps & {
|
|
18
|
-
cellColor?: InvestmentCellColor;
|
|
19
|
-
cellSize?: InvestmentCellSize;
|
|
20
|
-
};
|
|
21
|
-
/**
|
|
22
|
-
* @title Элемент данных 1
|
|
23
|
-
*/
|
|
24
|
-
export declare type InvestmentZeroColumn = TitleProps & {
|
|
25
|
-
/** @hidden */
|
|
26
|
-
cells?: InvestmentCell[];
|
|
27
|
-
};
|
|
28
|
-
/**
|
|
29
|
-
* @title Элемент данных
|
|
30
|
-
*/
|
|
31
|
-
export declare type InvestmentColumn = TitleProps & {
|
|
32
|
-
/** @title Ячейки */
|
|
33
|
-
cells?: InvestmentCell[];
|
|
34
|
-
};
|
|
35
|
-
/**
|
|
36
|
-
* @title Блок инвестиций
|
|
37
|
-
*/
|
|
38
|
-
export declare type InvestmentInfoContent = UniBlockContent & RichTextProps & BulletsProps & {
|
|
39
|
-
/** @title Элемент данных 1 */
|
|
40
|
-
investmentZeroColumn?: InvestmentZeroColumn;
|
|
41
|
-
/** @title Остальные элементы данных */
|
|
42
|
-
investmentColumns?: InvestmentColumn[];
|
|
43
|
-
};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"InvestmentInfoContent.js","sourceRoot":"","sources":["../../../src/components/InvestmentInfo/InvestmentInfoContent.ts"],"names":[],"mappings":""}
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
import { type UniBlockProps } from '../../UniBlock/UniBlockProps';
|
|
2
|
-
import { type RepresentativeOfficeInfoContent } from './RepresentativeOfficeInfoContent';
|
|
3
|
-
export interface RepresentativeOfficeInfoProps extends RepresentativeOfficeInfoContent, UniBlockProps {
|
|
4
|
-
}
|
|
5
|
-
export declare const RepresentativeOfficeInfo: import("@redneckz/uni-jsx").UNIComponent<RepresentativeOfficeInfoProps, any, any>;
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
import { jsx as _jsx, jsxs as _jsxs } from "@redneckz/uni-jsx/jsx-runtime";
|
|
2
|
-
import { JSX } from '@redneckz/uni-jsx';
|
|
3
|
-
import { BlockWrapper } from '../../ui-kit/BlockWrapper.js';
|
|
4
|
-
import { Heading } from '../../ui-kit/Heading/Heading.js';
|
|
5
|
-
import { Icon } from '../../ui-kit/Icon/Icon.js';
|
|
6
|
-
import { Img } from '../../ui-kit/Img/Img.js';
|
|
7
|
-
import { renderButtonsSection } from '../../ui-kit/LinkButton/renderButtonsSection.js';
|
|
8
|
-
import { RichText } from '../../ui-kit/RichText/RichText.js';
|
|
9
|
-
import { Text } from '../../ui-kit/Text/Text.js';
|
|
10
|
-
import { isIcon } from '../../utils/isIcon.js';
|
|
11
|
-
import { style } from '../../utils/style.js';
|
|
12
|
-
export const RepresentativeOfficeInfo = JSX(({ address, email, telephone, button, className = '', __html, richVersion, icon, title, version = 'primary', ...rest }) => (_jsxs(BlockWrapper, { className: style('box-border text-left space-y-s', className), version: version, ...rest, children: [_jsxs("div", { className: "w-full flex justify-between flex-row-reverse", children: [isIcon(icon) ? (_jsx("div", { className: 'w-10 h-7 sm:w-24 sm:h-16', children: _jsx(Img, { image: icon }) })) : null, title ? _jsx(Heading, { headingType: "h3", as: "h3", title: title }) : null] }), _jsxs("div", { className: "w-full space-y-m", children: [__html ? renderDescriptionBlock({ __html, richVersion }) : null, renderBlock({
|
|
13
|
-
label: 'Адрес',
|
|
14
|
-
data: address,
|
|
15
|
-
iconName: 'GeolocationIcon',
|
|
16
|
-
}), renderBlock({ label: 'Телефон(факс)', data: telephone, iconName: 'PhoneIcon' }), renderBlock({
|
|
17
|
-
label: 'E-mail',
|
|
18
|
-
data: email,
|
|
19
|
-
iconName: 'MailIcon',
|
|
20
|
-
dataColor: 'text-primary-main',
|
|
21
|
-
}), button?.text ? renderButtonsSection([button]) : null] })] })));
|
|
22
|
-
const renderDescriptionBlock = (props) => (_jsx("div", { className: "border-b border-main-divider pb-lg", children: _jsx(RichText, { ...props, itemSize: "list-s" }) }));
|
|
23
|
-
const renderBlock = ({ label, data, iconName, dataColor = '' }) => data ? (_jsxs("div", { className: "flex gap-s", children: [_jsx(Icon, { iconVersion: "black", name: iconName, width: "24", height: "24" }), _jsxs("div", { className: "flex flex-col gap-2xs", children: [_jsx(Text, { size: "text-m", font: "font-light", color: "text-secondary-text", children: label }), _jsx(Text, { size: "text-xl", color: dataColor, children: data })] })] })) : null;
|
|
24
|
-
//# sourceMappingURL=RepresentativeOfficeInfo.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"RepresentativeOfficeInfo.js","sourceRoot":"","sources":["../../../src/components/RepresentativeOfficeInfo/RepresentativeOfficeInfo.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AAExC,OAAO,EAAE,YAAY,EAAE,MAAM,2BAA2B,CAAC;AACzD,OAAO,EAAE,OAAO,EAAE,MAAM,8BAA8B,CAAC;AACvD,OAAO,EAAE,IAAI,EAAE,MAAM,wBAAwB,CAAC;AAC9C,OAAO,EAAE,GAAG,EAAE,MAAM,sBAAsB,CAAC;AAC3C,OAAO,EAAE,oBAAoB,EAAE,MAAM,8CAA8C,CAAC;AACpF,OAAO,EAAE,QAAQ,EAAE,MAAM,gCAAgC,CAAC;AAE1D,OAAO,EAAE,IAAI,EAAE,MAAM,wBAAwB,CAAC;AAG9C,OAAO,EAAE,MAAM,EAAE,MAAM,oBAAoB,CAAC;AAC5C,OAAO,EAAE,KAAK,EAAE,MAAM,mBAAmB,CAAC;AAO1C,MAAM,CAAC,MAAM,wBAAwB,GAAG,GAAG,CACzC,CAAC,EACC,OAAO,EACP,KAAK,EACL,SAAS,EACT,MAAM,EACN,SAAS,GAAG,EAAE,EACd,MAAM,EACN,WAAW,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S,EAAC,oCAAoC,YACjD,KAAC,QAAQ,OAAK,KAAK,EAAE,QAAQ,EAAC,QAAQ,GAAG,GACrC,CACP,CAAC;AASF,MAAM,WAAW,GAAG,CAAC,EAAE,KAAK,EAAE,IAAI,EAAE,QAAQ,EAAE,SAAS,GAAG,EAAE,EAAoB,EAAE,EAAE,CAClF,IAAI,CAAC,CAAC,CAAC,CACL,eAAK,SAAS,EAAC,YAAY,aACzB,KAAC,IAAI,IAAC,WAAW,EAAC,OAAO,EAAC,IAAI,EAAE,QAAQ,EAAE,KAAK,EAAC,IAAI,EAAC,MAAM,EAAC,IAAI,GAAG,EACnE,eAAK,SAAS,EAAC,uBAAuB,aACpC,KAAC,IAAI,IAAC,IAAI,EAAC,QAAQ,EAAC,IAAI,EAAC,YAAY,EAAC,KAAK,EAAC,qBAAqB,YAC9D,KAAK,GACD,EACP,KAAC,IAAI,IAAC,IAAI,EAAC,SAAS,EAAC,KAAK,EAAE,SAAS,YAClC,IAAI,GACA,IACH,IACF,CACP,CAAC,CAAC,CAAC,IAAI,CAAC"}
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import { type TitleProps } from '../../model/HeadlineType';
|
|
2
|
-
import { type IconProps } from '../../model/Picture';
|
|
3
|
-
import { type LinkButtonContent } from '../../ui-kit/LinkButton/LinkButtonContent';
|
|
4
|
-
import { type RichTextProps } from '../../ui-kit/RichText/RichTextProps';
|
|
5
|
-
import { type UniBlockContent } from '../../UniBlock/UniBlockProps';
|
|
6
|
-
/**
|
|
7
|
-
* @title Блок с информацией о представительстве
|
|
8
|
-
*/
|
|
9
|
-
export declare type RepresentativeOfficeInfoContent = UniBlockContent & TitleProps & RichTextProps & IconProps & {
|
|
10
|
-
/** @title Адрес */
|
|
11
|
-
address?: string;
|
|
12
|
-
/** @title Телефон (факс) */
|
|
13
|
-
telephone?: string;
|
|
14
|
-
/** @title E-mail */
|
|
15
|
-
email?: string;
|
|
16
|
-
/** @title Кнопка */
|
|
17
|
-
button?: LinkButtonContent;
|
|
18
|
-
};
|
package/mobile/lib/components/RepresentativeOfficeInfo/RepresentativeOfficeInfoContent.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"RepresentativeOfficeInfoContent.js","sourceRoot":"","sources":["../../../src/components/RepresentativeOfficeInfo/RepresentativeOfficeInfoContent.ts"],"names":[],"mappings":""}
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import { type UniBlockProps } from '../../UniBlock/UniBlockProps';
|
|
2
|
-
import { type UnitBlockContent } from './UnitBlockContent';
|
|
3
|
-
interface UnitBlockProps extends UnitBlockContent, UniBlockProps {
|
|
4
|
-
}
|
|
5
|
-
export declare const UnitBlock: import("@redneckz/uni-jsx").UNIComponent<UnitBlockProps, any, any>;
|
|
6
|
-
export {};
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { jsx as _jsx } from "@redneckz/uni-jsx/jsx-runtime";
|
|
2
|
-
import { JSX } from '@redneckz/uni-jsx';
|
|
3
|
-
import { BlockWrapper } from '../../ui-kit/BlockWrapper.js';
|
|
4
|
-
import { Unit } from '../../ui-kit/Unit/Unit.js';
|
|
5
|
-
export const UnitBlock = JSX((props) => {
|
|
6
|
-
const { prefix, unit, suffix, ...rest } = props;
|
|
7
|
-
return (_jsx(BlockWrapper, { defaultPadding: "p-0", ...rest, children: _jsx(Unit, { prefix: prefix, unit: unit, suffix: suffix }) }));
|
|
8
|
-
});
|
|
9
|
-
//# sourceMappingURL=UnitBlock.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"UnitBlock.js","sourceRoot":"","sources":["../../../src/components/UnitBlock/UnitBlock.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AACxC,OAAO,EAAE,YAAY,EAAE,MAAM,2BAA2B,CAAC;AACzD,OAAO,EAAE,IAAI,EAAE,MAAM,wBAAwB,CAAC;AAM9C,MAAM,CAAC,MAAM,SAAS,GAAG,GAAG,CAAiB,CAAC,KAAK,EAAE,EAAE;IACrD,MAAM,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM,EAAE,GAAG,IAAI,EAAE,GAAG,KAAK,CAAC;IAEhD,OAAO,CACL,KAAC,YAAY,IAAC,cAAc,EAAC,KAAK,KAAK,IAAI,YACzC,KAAC,IAAI,IAAC,MAAM,EAAE,MAAM,EAAE,IAAI,EAAE,IAAI,EAAE,MAAM,EAAE,MAAM,GAAI,GACvC,CAChB,CAAC;AACJ,CAAC,CAAC,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"UnitBlockContent.js","sourceRoot":"","sources":["../../../src/components/UnitBlock/UnitBlockContent.ts"],"names":[],"mappings":""}
|
|
@@ -1,53 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"content": {
|
|
3
|
-
"version": "primary",
|
|
4
|
-
"padding": "",
|
|
5
|
-
"__html": "<ul><li>Пункт 1</li><li>Пункт 2</li><li>Пункт 3</li></ul>",
|
|
6
|
-
"isDotted": true,
|
|
7
|
-
"investmentZeroColumn": {
|
|
8
|
-
"title": "Название 1"
|
|
9
|
-
},
|
|
10
|
-
"investmentColumns": [
|
|
11
|
-
{
|
|
12
|
-
"title": "Название 2",
|
|
13
|
-
"cells": [
|
|
14
|
-
{
|
|
15
|
-
"text": "Ячейка 2-1",
|
|
16
|
-
"cellColor": "green-dark",
|
|
17
|
-
"cellSize": "S"
|
|
18
|
-
}
|
|
19
|
-
]
|
|
20
|
-
},
|
|
21
|
-
{
|
|
22
|
-
"title": "Название 3",
|
|
23
|
-
"cells": [
|
|
24
|
-
{
|
|
25
|
-
"text": "Ячейка 3-1",
|
|
26
|
-
"cellColor": "green-dark",
|
|
27
|
-
"cellSize": "S"
|
|
28
|
-
}
|
|
29
|
-
]
|
|
30
|
-
},
|
|
31
|
-
{
|
|
32
|
-
"title": "Название 4",
|
|
33
|
-
"cells": [
|
|
34
|
-
{
|
|
35
|
-
"text": "Ячейка 4-1",
|
|
36
|
-
"cellColor": "green-dark",
|
|
37
|
-
"cellSize": "L"
|
|
38
|
-
}
|
|
39
|
-
]
|
|
40
|
-
},
|
|
41
|
-
{
|
|
42
|
-
"title": "Название 5",
|
|
43
|
-
"cells": [
|
|
44
|
-
{
|
|
45
|
-
"text": "Ячейка 5-1",
|
|
46
|
-
"cellColor": "green-dark",
|
|
47
|
-
"cellSize": "XL"
|
|
48
|
-
}
|
|
49
|
-
]
|
|
50
|
-
}
|
|
51
|
-
]
|
|
52
|
-
}
|
|
53
|
-
}
|