@redneckz/wildless-cms-uni-blocks 0.14.147 → 0.14.148
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/bundle/blocks.schema.json +1 -1
- package/bundle/bundle.umd.js +2 -2
- package/bundle/bundle.umd.min.js +1 -1
- package/bundle/components/OfficesAtmsMap/OfficesAtmsMapContent.d.ts +2 -3
- package/dist/components/OfficesAtmsMap/OfficesAtmsMapContent.d.ts +2 -3
- package/dist/components/OfficesAtmsMap/OfficesAtmsMapLayout.js +2 -2
- package/dist/components/OfficesAtmsMap/OfficesAtmsMapLayout.js.map +1 -1
- package/lib/components/OfficesAtmsMap/OfficesAtmsMapContent.d.ts +2 -3
- package/lib/components/OfficesAtmsMap/OfficesAtmsMapLayout.js +2 -2
- package/lib/components/OfficesAtmsMap/OfficesAtmsMapLayout.js.map +1 -1
- package/mobile/bundle/bundle.umd.js +2 -2
- package/mobile/bundle/bundle.umd.min.js +1 -1
- package/mobile/bundle/components/OfficesAtmsMap/OfficesAtmsMapContent.d.ts +2 -3
- package/mobile/dist/components/OfficesAtmsMap/OfficesAtmsMapContent.d.ts +2 -3
- package/mobile/dist/components/OfficesAtmsMap/OfficesAtmsMapLayout.js +2 -2
- package/mobile/dist/components/OfficesAtmsMap/OfficesAtmsMapLayout.js.map +1 -1
- package/mobile/lib/components/OfficesAtmsMap/OfficesAtmsMapContent.d.ts +2 -3
- package/mobile/lib/components/OfficesAtmsMap/OfficesAtmsMapLayout.js +2 -2
- package/mobile/lib/components/OfficesAtmsMap/OfficesAtmsMapLayout.js.map +1 -1
- package/mobile/src/components/OfficesAtmsMap/OfficesAtmsMap.ui.json +3 -0
- package/mobile/src/components/OfficesAtmsMap/OfficesAtmsMapContent.ts +2 -3
- package/mobile/src/components/OfficesAtmsMap/OfficesAtmsMapLayout.tsx +4 -8
- package/package.json +1 -1
- package/src/components/OfficesAtmsMap/OfficesAtmsMap.fixture.mobile.tsx +4 -2
- package/src/components/OfficesAtmsMap/OfficesAtmsMap.fixture.tsx +4 -2
- package/src/components/OfficesAtmsMap/OfficesAtmsMap.ui.json +3 -0
- package/src/components/OfficesAtmsMap/OfficesAtmsMapContent.ts +2 -3
- package/src/components/OfficesAtmsMap/OfficesAtmsMapLayout.tsx +4 -8
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { type UniBlockContent } from '../../model/JSXBlock';
|
|
2
2
|
import { type Picture } from '../../model/Picture';
|
|
3
|
+
import { type RichTextProps } from '../../ui-kit/RichText/RichTextProps';
|
|
3
4
|
/**
|
|
4
5
|
* @title Пункт
|
|
5
6
|
*/
|
|
@@ -19,10 +20,8 @@ export declare type OfficesDef = {
|
|
|
19
20
|
* @title Банкоматам
|
|
20
21
|
* @default {"dataType": "atms"}
|
|
21
22
|
*/
|
|
22
|
-
export declare type AtmsDef = {
|
|
23
|
+
export declare type AtmsDef = RichTextProps & {
|
|
23
24
|
dataType: 'atms';
|
|
24
|
-
/** @title Описание */
|
|
25
|
-
description: string;
|
|
26
25
|
/** @title Список */
|
|
27
26
|
list?: ItemList[];
|
|
28
27
|
};
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { type UniBlockContent } from '../../model/JSXBlock';
|
|
2
2
|
import { type Picture } from '../../model/Picture';
|
|
3
|
+
import { type RichTextProps } from '../../ui-kit/RichText/RichTextProps';
|
|
3
4
|
/**
|
|
4
5
|
* @title Пункт
|
|
5
6
|
*/
|
|
@@ -19,10 +20,8 @@ export declare type OfficesDef = {
|
|
|
19
20
|
* @title Банкоматам
|
|
20
21
|
* @default {"dataType": "atms"}
|
|
21
22
|
*/
|
|
22
|
-
export declare type AtmsDef = {
|
|
23
|
+
export declare type AtmsDef = RichTextProps & {
|
|
23
24
|
dataType: 'atms';
|
|
24
|
-
/** @title Описание */
|
|
25
|
-
description: string;
|
|
26
25
|
/** @title Список */
|
|
27
26
|
list?: ItemList[];
|
|
28
27
|
};
|
|
@@ -7,7 +7,7 @@ const useForm_1 = require("../../hooks/useForm");
|
|
|
7
7
|
const ClientOnly_1 = require("../../ui-kit/ClientOnly");
|
|
8
8
|
const Heading_1 = require("../../ui-kit/Heading/Heading");
|
|
9
9
|
const Img_1 = require("../../ui-kit/Img/Img");
|
|
10
|
-
const
|
|
10
|
+
const RichText_1 = require("../../ui-kit/RichText/RichText");
|
|
11
11
|
const Text_1 = require("../../ui-kit/Text/Text");
|
|
12
12
|
const YandexMap_1 = require("../../ui-kit/YandexMap/YandexMap");
|
|
13
13
|
const style_1 = require("../../utils/style");
|
|
@@ -25,5 +25,5 @@ exports.OfficesAtmsMapLayout = (0, uni_jsx_1.JSX)(({ className, data = [], rende
|
|
|
25
25
|
}, [data, filtrationState]);
|
|
26
26
|
return ((0, jsx_runtime_1.jsxs)("div", { className: (0, style_1.style)('space-y-1', className), children: [(0, jsx_runtime_1.jsxs)("div", { className: "bg-white", children: [(0, jsx_runtime_1.jsxs)("div", { className: "pt-6xl px-6xl", children: [(0, jsx_runtime_1.jsxs)("div", { className: "flex gap-xs pb-2xl", children: [(0, jsx_runtime_1.jsx)(Heading_1.Heading, { headingType: "h2", children: title }), lengthItems ? ((0, jsx_runtime_1.jsx)(Text_1.Text, { size: "text-h2", color: "text-secondary-text", children: `(${lengthItems})` })) : null] }), descriptionData ? renderDescriptionBlock(descriptionData) : null, (0, renderFiltrationForm_1.renderFiltrationForm)(Object.keys(initFilterState), { field, reset })] }), (0, jsx_runtime_1.jsx)("div", { className: "h-[600px]", children: (0, jsx_runtime_1.jsx)(ClientOnly_1.ClientOnly, { children: (0, jsx_runtime_1.jsx)(YandexMap_1.YandexMap, { points: points, className: "h-full" }) }) })] }), filteredItems.map(renderCard)] }));
|
|
27
27
|
});
|
|
28
|
-
const renderDescriptionBlock = ({
|
|
28
|
+
const renderDescriptionBlock = ({ __html, list }) => __html || list?.length ? ((0, jsx_runtime_1.jsxs)("div", { className: "p-xl mb-2xl border-b sm:border border-main-divider sm:rounded-md", children: [__html ? (0, jsx_runtime_1.jsx)(RichText_1.RichText, { __html: __html }) : null, list?.length ? ((0, jsx_runtime_1.jsx)("div", { className: "flex flex-col sm:flex-row gap-2xl sm:flex-wrap pt-xs", children: list.map((item, i) => ((0, jsx_runtime_1.jsxs)("div", { className: "flex gap-xs items-center", children: [item?.image ? (0, jsx_runtime_1.jsx)(Img_1.Img, { image: item.image }) : null, item?.text ? ((0, jsx_runtime_1.jsx)(Text_1.Text, { size: "text-m", font: "font-light", children: item.text })) : null] }, String(i)))) })) : null] })) : null;
|
|
29
29
|
//# sourceMappingURL=OfficesAtmsMapLayout.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"OfficesAtmsMapLayout.js","sourceRoot":"","sources":["../../../src/components/OfficesAtmsMap/OfficesAtmsMapLayout.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AACxC,uDAAsD;AACtD,iDAA8C;AAE9C,wDAAqD;AACrD,0DAAuD;AACvD,8CAA2C;AAC3C,
|
|
1
|
+
{"version":3,"file":"OfficesAtmsMapLayout.js","sourceRoot":"","sources":["../../../src/components/OfficesAtmsMap/OfficesAtmsMapLayout.tsx"],"names":[],"mappings":";;;AAAA,+CAAwC;AACxC,uDAAsD;AACtD,iDAA8C;AAE9C,wDAAqD;AACrD,0DAAuD;AACvD,8CAA2C;AAC3C,6DAA0D;AAC1D,iDAA8C;AAC9C,gEAA6D;AAC7D,6CAA0C;AAG1C,iEAA8D;AAE9D,MAAM,iBAAiB,GAAG,GAAG,EAAE,CAAC,IAAI,CAAC;AACrC,MAAM,kBAAkB,GAAG,GAAG,EAAE,CAAC,EAAE,CAAC;AAcvB,QAAA,oBAAoB,GAAG,IAAA,aAAG,EACrC,CAAC,EACC,SAAS,EACT,IAAI,GAAG,EAAE,EACT,UAAU,GAAG,iBAAiB,EAC9B,WAAW,GAAG,kBAAkB,EAChC,eAAe,GAAG,EAAE,EACpB,eAAe,EACf,KAAK,GACN,EAAE,EAAE;IACH,MAAM,CAAC,eAAe,EAAE,EAA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,IACjE,EACN,gCAAK,SAAS,EAAC,WAAW,YACxB,uBAAC,uBAAU,cACT,uBAAC,qBAAS,IAAC,MAAM,EAAE,MAAM,EAAE,SAAS,EAAC,QAAQ,GAAG,GACrC,GACT,IACF,EACL,aAAa,CAAC,GAAG,CAAC,UAAU,CAAC,IAC1B,CACP,CAAC;AACJ,CAAC,CACF,CAAC;AAEF,MAAM,sBAAsB,GAAG,CAAC,EAAE,MAAM,EAAE,IAAI,EAAW,EAAE,EAAE,CAC3D,MAAM,IAAI,IAAI,EAAE,MAAM,CAAC,CAAC,CAAC,CACvB,iCAAK,SAAS,EAAC,kEAAkE,aAC9E,MAAM,CAAC,CAAC,CAAC,uBAAC,mBAAQ,IAAC,MAAM,EAAE,MAAM,GAAI,CAAC,CAAC,CAAC,IAAI,EAC5C,IAAI,EAAE,MAAM,CAAC,CAAC,CAAC,CACd,gCAAK,SAAS,EAAC,sDAAsD,YAClE,IAAI,CAAC,GAAG,CAAC,CAAC,IAAI,EAAE,CAAC,EAAE,EAAE,CAAC,CACrB,iCAAqB,SAAS,EAAC,0BAA0B,aACtD,IAAI,EAAE,KAAK,CAAC,CAAC,CAAC,uBAAC,SAAG,IAAC,KAAK,EAAE,IAAI,CAAC,KAAK,GAAI,CAAC,CAAC,CAAC,IAAI,EAC/C,IAAI,EAAE,IAAI,CAAC,CAAC,CAAC,CACZ,uBAAC,WAAI,IAAC,IAAI,EAAC,QAAQ,EAAC,IAAI,EAAC,YAAY,YAClC,IAAI,CAAC,IAAI,GACL,CACR,CAAC,CAAC,CAAC,IAAI,KANA,MAAM,CAAC,CAAC,CAAC,CAOb,CACP,CAAC,GACE,CACP,CAAC,CAAC,CAAC,IAAI,IACJ,CACP,CAAC,CAAC,CAAC,IAAI,CAAC"}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { type UniBlockContent } from '../../model/JSXBlock';
|
|
2
2
|
import { type Picture } from '../../model/Picture';
|
|
3
|
+
import { type RichTextProps } from '../../ui-kit/RichText/RichTextProps';
|
|
3
4
|
/**
|
|
4
5
|
* @title Пункт
|
|
5
6
|
*/
|
|
@@ -19,10 +20,8 @@ export declare type OfficesDef = {
|
|
|
19
20
|
* @title Банкоматам
|
|
20
21
|
* @default {"dataType": "atms"}
|
|
21
22
|
*/
|
|
22
|
-
export declare type AtmsDef = {
|
|
23
|
+
export declare type AtmsDef = RichTextProps & {
|
|
23
24
|
dataType: 'atms';
|
|
24
|
-
/** @title Описание */
|
|
25
|
-
description: string;
|
|
26
25
|
/** @title Список */
|
|
27
26
|
list?: ItemList[];
|
|
28
27
|
};
|
|
@@ -5,7 +5,7 @@ import { useForm } from '../../hooks/useForm.js';
|
|
|
5
5
|
import { ClientOnly } from '../../ui-kit/ClientOnly.js';
|
|
6
6
|
import { Heading } from '../../ui-kit/Heading/Heading.js';
|
|
7
7
|
import { Img } from '../../ui-kit/Img/Img.js';
|
|
8
|
-
import {
|
|
8
|
+
import { RichText } from '../../ui-kit/RichText/RichText.js';
|
|
9
9
|
import { Text } from '../../ui-kit/Text/Text.js';
|
|
10
10
|
import { YandexMap } from '../../ui-kit/YandexMap/YandexMap.js';
|
|
11
11
|
import { style } from '../../utils/style.js';
|
|
@@ -23,5 +23,5 @@ export const OfficesAtmsMapLayout = JSX(({ className, data = [], renderCard = de
|
|
|
23
23
|
}, [data, filtrationState]);
|
|
24
24
|
return (_jsxs("div", { className: style('space-y-1', className), children: [_jsxs("div", { className: "bg-white", children: [_jsxs("div", { className: "pt-6xl px-6xl", children: [_jsxs("div", { className: "flex gap-xs pb-2xl", children: [_jsx(Heading, { headingType: "h2", children: title }), lengthItems ? (_jsx(Text, { size: "text-h2", color: "text-secondary-text", children: `(${lengthItems})` })) : null] }), descriptionData ? renderDescriptionBlock(descriptionData) : null, renderFiltrationForm(Object.keys(initFilterState), { field, reset })] }), _jsx("div", { className: "h-[600px]", children: _jsx(ClientOnly, { children: _jsx(YandexMap, { points: points, className: "h-full" }) }) })] }), filteredItems.map(renderCard)] }));
|
|
25
25
|
});
|
|
26
|
-
const renderDescriptionBlock = ({
|
|
26
|
+
const renderDescriptionBlock = ({ __html, list }) => __html || list?.length ? (_jsxs("div", { className: "p-xl mb-2xl border-b sm:border border-main-divider sm:rounded-md", children: [__html ? _jsx(RichText, { __html: __html }) : null, list?.length ? (_jsx("div", { className: "flex flex-col sm:flex-row gap-2xl sm:flex-wrap pt-xs", children: list.map((item, i) => (_jsxs("div", { className: "flex gap-xs items-center", children: [item?.image ? _jsx(Img, { image: item.image }) : null, item?.text ? (_jsx(Text, { size: "text-m", font: "font-light", children: item.text })) : null] }, String(i)))) })) : null] })) : null;
|
|
27
27
|
//# sourceMappingURL=OfficesAtmsMapLayout.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"OfficesAtmsMapLayout.js","sourceRoot":"","sources":["../../../src/components/OfficesAtmsMap/OfficesAtmsMapLayout.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AACxC,OAAO,EAAE,OAAO,EAAE,MAAM,6BAA6B,CAAC;AACtD,OAAO,EAAE,OAAO,EAAE,MAAM,qBAAqB,CAAC;AAE9C,OAAO,EAAE,UAAU,EAAE,MAAM,yBAAyB,CAAC;AACrD,OAAO,EAAE,OAAO,EAAE,MAAM,8BAA8B,CAAC;AACvD,OAAO,EAAE,GAAG,EAAE,MAAM,sBAAsB,CAAC;AAC3C,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"OfficesAtmsMapLayout.js","sourceRoot":"","sources":["../../../src/components/OfficesAtmsMap/OfficesAtmsMapLayout.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,mBAAmB,CAAC;AACxC,OAAO,EAAE,OAAO,EAAE,MAAM,6BAA6B,CAAC;AACtD,OAAO,EAAE,OAAO,EAAE,MAAM,qBAAqB,CAAC;AAE9C,OAAO,EAAE,UAAU,EAAE,MAAM,yBAAyB,CAAC;AACrD,OAAO,EAA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E,IAAI,CAAC,GAAG,CAAC,CAAC,IAAI,EAAE,CAAC,EAAE,EAAE,CAAC,CACrB,eAAqB,SAAS,EAAC,0BAA0B,aACtD,IAAI,EAAE,KAAK,CAAC,CAAC,CAAC,KAAC,GAAG,IAAC,KAAK,EAAE,IAAI,CAAC,KAAK,GAAI,CAAC,CAAC,CAAC,IAAI,EAC/C,IAAI,EAAE,IAAI,CAAC,CAAC,CAAC,CACZ,KAAC,IAAI,IAAC,IAAI,EAAC,QAAQ,EAAC,IAAI,EAAC,YAAY,YAClC,IAAI,CAAC,IAAI,GACL,CACR,CAAC,CAAC,CAAC,IAAI,KANA,MAAM,CAAC,CAAC,CAAC,CAOb,CACP,CAAC,GACE,CACP,CAAC,CAAC,CAAC,IAAI,IACJ,CACP,CAAC,CAAC,CAAC,IAAI,CAAC"}
|
|
@@ -4410,7 +4410,7 @@
|
|
|
4410
4410
|
}, [data, filtrationState]);
|
|
4411
4411
|
return (jsxs("div", { className: style('space-y-1', className), children: [jsxs("div", { className: "bg-white", children: [jsxs("div", { className: "pt-6xl px-6xl", children: [jsxs("div", { className: "flex gap-xs pb-2xl", children: [jsx(Heading, { headingType: "h2", children: title }), lengthItems ? (jsx(Text, { size: "text-h2", color: "text-secondary-text", children: `(${lengthItems})` })) : null] }), descriptionData ? renderDescriptionBlock$1(descriptionData) : null, renderFiltrationForm(Object.keys(initFilterState), { field, reset })] }), jsx("div", { className: "h-[600px]", children: jsx(ClientOnly, { children: jsx(YandexMap, { points: points, className: "h-full" }) }) })] }), filteredItems.map(renderCard)] }));
|
|
4412
4412
|
});
|
|
4413
|
-
const renderDescriptionBlock$1 = ({
|
|
4413
|
+
const renderDescriptionBlock$1 = ({ __html, list }) => __html || list?.length ? (jsxs("div", { className: "p-xl mb-2xl border-b sm:border border-main-divider sm:rounded-md", children: [__html ? jsx(RichText, { __html: __html }) : null, list?.length ? (jsx("div", { className: "flex flex-col sm:flex-row gap-2xl sm:flex-wrap pt-xs", children: list.map((item, i) => (jsxs("div", { className: "flex gap-xs items-center", children: [item?.image ? jsx(Img, { image: item.image }) : null, item?.text ? (jsx(Text, { size: "text-m", font: "font-light", children: item.text })) : null] }, String(i)))) })) : null] })) : null;
|
|
4414
4414
|
|
|
4415
4415
|
const colorStyle = {
|
|
4416
4416
|
yellow: { border: 'border-yellow-light', text: 'text-yellow' },
|
|
@@ -5741,7 +5741,7 @@
|
|
|
5741
5741
|
|
|
5742
5742
|
const joinList = (sep) => (list) => list.reduce((acc, el, i) => (acc.length ? acc.concat({ ...sep, key: `sep-${i}` }, el) : [el]), []);
|
|
5743
5743
|
|
|
5744
|
-
const packageVersion = "0.14.
|
|
5744
|
+
const packageVersion = "0.14.147";
|
|
5745
5745
|
|
|
5746
5746
|
exports.Blocks = Blocks;
|
|
5747
5747
|
exports.ContentPage = ContentPage;
|