mayak-common-library-payload 0.1.24 → 0.1.26
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/index.d.mts +29 -52
- package/dist/index.d.ts +29 -52
- package/dist/index.js +4 -4
- package/dist/index.mjs +4 -4
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
2
|
import * as react from 'react';
|
|
3
|
-
import { ReactNode, FC,
|
|
3
|
+
import { PropsWithChildren, ReactNode, FC, MouseEventHandler, ReactElement, ButtonHTMLAttributes, MouseEvent, DetailedHTMLProps, InputHTMLAttributes, TextareaHTMLAttributes } from 'react';
|
|
4
4
|
import * as zustand from 'zustand';
|
|
5
5
|
import { StateCreator } from 'zustand';
|
|
6
6
|
import { CheckboxProps } from '@mui/material/Checkbox';
|
|
@@ -42,7 +42,15 @@ declare const SITE: {
|
|
|
42
42
|
};
|
|
43
43
|
type Site = (typeof SITE)[keyof typeof SITE];
|
|
44
44
|
|
|
45
|
-
interface
|
|
45
|
+
interface HProps extends PropsWithChildren {
|
|
46
|
+
className?: string;
|
|
47
|
+
smallerXs?: boolean;
|
|
48
|
+
leftXs?: boolean;
|
|
49
|
+
bold?: boolean;
|
|
50
|
+
uppercase?: boolean;
|
|
51
|
+
catalog?: boolean;
|
|
52
|
+
}
|
|
53
|
+
interface IWorker {
|
|
46
54
|
imageUrl?: string | null;
|
|
47
55
|
description?: ReactNode | null;
|
|
48
56
|
fullName?: string | null;
|
|
@@ -55,6 +63,7 @@ interface IWorker$2 {
|
|
|
55
63
|
email?: string | null;
|
|
56
64
|
bgImage?: string | null;
|
|
57
65
|
}
|
|
66
|
+
|
|
58
67
|
interface INumberText {
|
|
59
68
|
number?: number | null;
|
|
60
69
|
text?: string | null;
|
|
@@ -68,7 +77,7 @@ interface AboutCompanyMainProps {
|
|
|
68
77
|
title?: string | null;
|
|
69
78
|
content: ReactNode;
|
|
70
79
|
box?: IBoxItem$6[] | null;
|
|
71
|
-
workerCeo?: IWorker
|
|
80
|
+
workerCeo?: IWorker | null;
|
|
72
81
|
className?: string;
|
|
73
82
|
site?: Site;
|
|
74
83
|
actionButton?: ReactNode | null;
|
|
@@ -120,7 +129,7 @@ interface IAnyLevelBlock {
|
|
|
120
129
|
declare function AnyLevelBlock({ block1, block2, className, }: IAnyLevelBlock): react_jsx_runtime.JSX.Element;
|
|
121
130
|
|
|
122
131
|
interface AnyQuestionsBlockProps {
|
|
123
|
-
worker?: IWorker
|
|
132
|
+
worker?: IWorker | null;
|
|
124
133
|
className?: string;
|
|
125
134
|
title?: string;
|
|
126
135
|
}
|
|
@@ -252,9 +261,13 @@ interface IOfficeItem {
|
|
|
252
261
|
weekend?: boolean;
|
|
253
262
|
email?: string;
|
|
254
263
|
site?: string;
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
264
|
+
workTimeLabel?: string;
|
|
265
|
+
workingHoursLabel?: string;
|
|
266
|
+
weekendLabel?: string;
|
|
267
|
+
weekendSubLabel?: string;
|
|
268
|
+
instagram?: string | null;
|
|
269
|
+
whatsapp?: string | null;
|
|
270
|
+
telegram?: string | null;
|
|
258
271
|
}
|
|
259
272
|
interface BlockContactsProps {
|
|
260
273
|
className?: string;
|
|
@@ -271,50 +284,23 @@ interface BlockImagesProps {
|
|
|
271
284
|
}
|
|
272
285
|
declare function BlockImages({ className, images, title, }: BlockImagesProps): react_jsx_runtime.JSX.Element;
|
|
273
286
|
|
|
274
|
-
interface IWorker$1 {
|
|
275
|
-
imageUrl?: string | null;
|
|
276
|
-
description?: ReactNode | null;
|
|
277
|
-
firstName?: string | null;
|
|
278
|
-
lastName?: string | null;
|
|
279
|
-
fullName?: string | null;
|
|
280
|
-
position?: string | null;
|
|
281
|
-
instagram?: string | null;
|
|
282
|
-
facebook?: string | null;
|
|
283
|
-
youTube?: string | null;
|
|
284
|
-
linkedIn?: string | null;
|
|
285
|
-
phone?: string | null;
|
|
286
|
-
email?: string | null;
|
|
287
|
-
}
|
|
288
287
|
interface BlockOurTeamProps {
|
|
289
288
|
title?: string | null;
|
|
290
289
|
text?: string | null;
|
|
291
|
-
team?: IWorker
|
|
290
|
+
team?: IWorker[] | null;
|
|
292
291
|
className?: string;
|
|
293
292
|
full?: boolean;
|
|
294
293
|
}
|
|
295
294
|
declare const BlockOurTeam: FC<BlockOurTeamProps>;
|
|
296
295
|
|
|
297
|
-
interface IWorker {
|
|
298
|
-
imageUrl?: string;
|
|
299
|
-
description?: string;
|
|
300
|
-
firstName?: string;
|
|
301
|
-
lastName?: string;
|
|
302
|
-
fullName?: string;
|
|
303
|
-
position?: string;
|
|
304
|
-
instagram?: string;
|
|
305
|
-
facebook?: string;
|
|
306
|
-
youTube?: string;
|
|
307
|
-
linkedIn?: string;
|
|
308
|
-
phone?: string;
|
|
309
|
-
email?: string;
|
|
310
|
-
}
|
|
311
296
|
interface IBlockOurTeam {
|
|
312
297
|
title?: string;
|
|
313
|
-
text?: string;
|
|
298
|
+
text?: string | null;
|
|
299
|
+
btnLabel?: string;
|
|
314
300
|
team?: IWorker[];
|
|
315
|
-
className?: string;
|
|
301
|
+
className?: string | null;
|
|
316
302
|
}
|
|
317
|
-
declare function BlockOurTeamGrid({ team, title, text, className, }: IBlockOurTeam): react_jsx_runtime.JSX.Element | null;
|
|
303
|
+
declare function BlockOurTeamGrid({ team, title, text, className, btnLabel, }: IBlockOurTeam): react_jsx_runtime.JSX.Element | null;
|
|
318
304
|
|
|
319
305
|
interface CallConsultProps {
|
|
320
306
|
className?: string;
|
|
@@ -557,9 +543,9 @@ declare function ServicesTexts({ text1, text2, text3, title2, title, subtitle, c
|
|
|
557
543
|
|
|
558
544
|
interface SocialBlockProps {
|
|
559
545
|
className?: string;
|
|
560
|
-
instagram?: string;
|
|
561
|
-
whatsapp?: string;
|
|
562
|
-
telegram?: string;
|
|
546
|
+
instagram?: string | null;
|
|
547
|
+
whatsapp?: string | null;
|
|
548
|
+
telegram?: string | null;
|
|
563
549
|
}
|
|
564
550
|
declare const SocialBlock: FC<SocialBlockProps>;
|
|
565
551
|
|
|
@@ -1460,15 +1446,6 @@ interface IPaginatorSimpleProps {
|
|
|
1460
1446
|
}
|
|
1461
1447
|
declare function PaginatorSimple({ total }: IPaginatorSimpleProps): react_jsx_runtime.JSX.Element;
|
|
1462
1448
|
|
|
1463
|
-
interface HProps extends PropsWithChildren {
|
|
1464
|
-
className?: string;
|
|
1465
|
-
smallerXs?: boolean;
|
|
1466
|
-
leftXs?: boolean;
|
|
1467
|
-
bold?: boolean;
|
|
1468
|
-
uppercase?: boolean;
|
|
1469
|
-
catalog?: boolean;
|
|
1470
|
-
}
|
|
1471
|
-
|
|
1472
1449
|
declare const H1: FC<HProps>;
|
|
1473
1450
|
|
|
1474
1451
|
declare const H2: FC<HProps>;
|
|
@@ -1539,7 +1516,7 @@ interface AreaCardProps extends IArea {
|
|
|
1539
1516
|
declare const AreaCard: FC<AreaCardProps>;
|
|
1540
1517
|
|
|
1541
1518
|
interface IRealtorCard {
|
|
1542
|
-
realtor?: IWorker
|
|
1519
|
+
realtor?: IWorker;
|
|
1543
1520
|
site: Site;
|
|
1544
1521
|
actionComponent?: ReactNode;
|
|
1545
1522
|
}
|
package/dist/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
2
|
import * as react from 'react';
|
|
3
|
-
import { ReactNode, FC,
|
|
3
|
+
import { PropsWithChildren, ReactNode, FC, MouseEventHandler, ReactElement, ButtonHTMLAttributes, MouseEvent, DetailedHTMLProps, InputHTMLAttributes, TextareaHTMLAttributes } from 'react';
|
|
4
4
|
import * as zustand from 'zustand';
|
|
5
5
|
import { StateCreator } from 'zustand';
|
|
6
6
|
import { CheckboxProps } from '@mui/material/Checkbox';
|
|
@@ -42,7 +42,15 @@ declare const SITE: {
|
|
|
42
42
|
};
|
|
43
43
|
type Site = (typeof SITE)[keyof typeof SITE];
|
|
44
44
|
|
|
45
|
-
interface
|
|
45
|
+
interface HProps extends PropsWithChildren {
|
|
46
|
+
className?: string;
|
|
47
|
+
smallerXs?: boolean;
|
|
48
|
+
leftXs?: boolean;
|
|
49
|
+
bold?: boolean;
|
|
50
|
+
uppercase?: boolean;
|
|
51
|
+
catalog?: boolean;
|
|
52
|
+
}
|
|
53
|
+
interface IWorker {
|
|
46
54
|
imageUrl?: string | null;
|
|
47
55
|
description?: ReactNode | null;
|
|
48
56
|
fullName?: string | null;
|
|
@@ -55,6 +63,7 @@ interface IWorker$2 {
|
|
|
55
63
|
email?: string | null;
|
|
56
64
|
bgImage?: string | null;
|
|
57
65
|
}
|
|
66
|
+
|
|
58
67
|
interface INumberText {
|
|
59
68
|
number?: number | null;
|
|
60
69
|
text?: string | null;
|
|
@@ -68,7 +77,7 @@ interface AboutCompanyMainProps {
|
|
|
68
77
|
title?: string | null;
|
|
69
78
|
content: ReactNode;
|
|
70
79
|
box?: IBoxItem$6[] | null;
|
|
71
|
-
workerCeo?: IWorker
|
|
80
|
+
workerCeo?: IWorker | null;
|
|
72
81
|
className?: string;
|
|
73
82
|
site?: Site;
|
|
74
83
|
actionButton?: ReactNode | null;
|
|
@@ -120,7 +129,7 @@ interface IAnyLevelBlock {
|
|
|
120
129
|
declare function AnyLevelBlock({ block1, block2, className, }: IAnyLevelBlock): react_jsx_runtime.JSX.Element;
|
|
121
130
|
|
|
122
131
|
interface AnyQuestionsBlockProps {
|
|
123
|
-
worker?: IWorker
|
|
132
|
+
worker?: IWorker | null;
|
|
124
133
|
className?: string;
|
|
125
134
|
title?: string;
|
|
126
135
|
}
|
|
@@ -252,9 +261,13 @@ interface IOfficeItem {
|
|
|
252
261
|
weekend?: boolean;
|
|
253
262
|
email?: string;
|
|
254
263
|
site?: string;
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
264
|
+
workTimeLabel?: string;
|
|
265
|
+
workingHoursLabel?: string;
|
|
266
|
+
weekendLabel?: string;
|
|
267
|
+
weekendSubLabel?: string;
|
|
268
|
+
instagram?: string | null;
|
|
269
|
+
whatsapp?: string | null;
|
|
270
|
+
telegram?: string | null;
|
|
258
271
|
}
|
|
259
272
|
interface BlockContactsProps {
|
|
260
273
|
className?: string;
|
|
@@ -271,50 +284,23 @@ interface BlockImagesProps {
|
|
|
271
284
|
}
|
|
272
285
|
declare function BlockImages({ className, images, title, }: BlockImagesProps): react_jsx_runtime.JSX.Element;
|
|
273
286
|
|
|
274
|
-
interface IWorker$1 {
|
|
275
|
-
imageUrl?: string | null;
|
|
276
|
-
description?: ReactNode | null;
|
|
277
|
-
firstName?: string | null;
|
|
278
|
-
lastName?: string | null;
|
|
279
|
-
fullName?: string | null;
|
|
280
|
-
position?: string | null;
|
|
281
|
-
instagram?: string | null;
|
|
282
|
-
facebook?: string | null;
|
|
283
|
-
youTube?: string | null;
|
|
284
|
-
linkedIn?: string | null;
|
|
285
|
-
phone?: string | null;
|
|
286
|
-
email?: string | null;
|
|
287
|
-
}
|
|
288
287
|
interface BlockOurTeamProps {
|
|
289
288
|
title?: string | null;
|
|
290
289
|
text?: string | null;
|
|
291
|
-
team?: IWorker
|
|
290
|
+
team?: IWorker[] | null;
|
|
292
291
|
className?: string;
|
|
293
292
|
full?: boolean;
|
|
294
293
|
}
|
|
295
294
|
declare const BlockOurTeam: FC<BlockOurTeamProps>;
|
|
296
295
|
|
|
297
|
-
interface IWorker {
|
|
298
|
-
imageUrl?: string;
|
|
299
|
-
description?: string;
|
|
300
|
-
firstName?: string;
|
|
301
|
-
lastName?: string;
|
|
302
|
-
fullName?: string;
|
|
303
|
-
position?: string;
|
|
304
|
-
instagram?: string;
|
|
305
|
-
facebook?: string;
|
|
306
|
-
youTube?: string;
|
|
307
|
-
linkedIn?: string;
|
|
308
|
-
phone?: string;
|
|
309
|
-
email?: string;
|
|
310
|
-
}
|
|
311
296
|
interface IBlockOurTeam {
|
|
312
297
|
title?: string;
|
|
313
|
-
text?: string;
|
|
298
|
+
text?: string | null;
|
|
299
|
+
btnLabel?: string;
|
|
314
300
|
team?: IWorker[];
|
|
315
|
-
className?: string;
|
|
301
|
+
className?: string | null;
|
|
316
302
|
}
|
|
317
|
-
declare function BlockOurTeamGrid({ team, title, text, className, }: IBlockOurTeam): react_jsx_runtime.JSX.Element | null;
|
|
303
|
+
declare function BlockOurTeamGrid({ team, title, text, className, btnLabel, }: IBlockOurTeam): react_jsx_runtime.JSX.Element | null;
|
|
318
304
|
|
|
319
305
|
interface CallConsultProps {
|
|
320
306
|
className?: string;
|
|
@@ -557,9 +543,9 @@ declare function ServicesTexts({ text1, text2, text3, title2, title, subtitle, c
|
|
|
557
543
|
|
|
558
544
|
interface SocialBlockProps {
|
|
559
545
|
className?: string;
|
|
560
|
-
instagram?: string;
|
|
561
|
-
whatsapp?: string;
|
|
562
|
-
telegram?: string;
|
|
546
|
+
instagram?: string | null;
|
|
547
|
+
whatsapp?: string | null;
|
|
548
|
+
telegram?: string | null;
|
|
563
549
|
}
|
|
564
550
|
declare const SocialBlock: FC<SocialBlockProps>;
|
|
565
551
|
|
|
@@ -1460,15 +1446,6 @@ interface IPaginatorSimpleProps {
|
|
|
1460
1446
|
}
|
|
1461
1447
|
declare function PaginatorSimple({ total }: IPaginatorSimpleProps): react_jsx_runtime.JSX.Element;
|
|
1462
1448
|
|
|
1463
|
-
interface HProps extends PropsWithChildren {
|
|
1464
|
-
className?: string;
|
|
1465
|
-
smallerXs?: boolean;
|
|
1466
|
-
leftXs?: boolean;
|
|
1467
|
-
bold?: boolean;
|
|
1468
|
-
uppercase?: boolean;
|
|
1469
|
-
catalog?: boolean;
|
|
1470
|
-
}
|
|
1471
|
-
|
|
1472
1449
|
declare const H1: FC<HProps>;
|
|
1473
1450
|
|
|
1474
1451
|
declare const H2: FC<HProps>;
|
|
@@ -1539,7 +1516,7 @@ interface AreaCardProps extends IArea {
|
|
|
1539
1516
|
declare const AreaCard: FC<AreaCardProps>;
|
|
1540
1517
|
|
|
1541
1518
|
interface IRealtorCard {
|
|
1542
|
-
realtor?: IWorker
|
|
1519
|
+
realtor?: IWorker;
|
|
1543
1520
|
site: Site;
|
|
1544
1521
|
actionComponent?: ReactNode;
|
|
1545
1522
|
}
|