@soma-vertical-web/multi-lib 0.0.35 → 0.0.36
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/cms/Sections/BannerCarousel/BannerCarousel.d.ts +3 -0
- package/cms/Sections/BannerCarousel/Composite/Controllers.d.ts +3 -0
- package/cms/Sections/BannerCarousel/index.d.ts +8 -0
- package/cms/helpers/index.d.ts +6 -0
- package/cms/index.d.ts +1 -0
- package/contexts/hooks/useMediator.d.ts +1 -0
- package/data/actions/masterDataServices.d.ts +8 -0
- package/index.js +14 -14
- package/index.mjs +2140 -1933
- package/layout/utils/ObserverOrNot/index.d.ts +10 -0
- package/package.json +1 -1
- package/style.css +1 -1
- package/types/cms/Sections/BannerCarousel/index.d.ts +14 -0
- package/types/data/actions/index.d.ts +25 -0
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
import { BannerCarouselControllersType } from '../../../../types/cms/Sections/BannerCarousel';
|
|
2
|
+
|
|
3
|
+
export declare const Controllers: ({ prevOnClick, nextOnClick, onBulletClick, currentPage, totalPages, position, hideControllers, left, isFirst, ICONS, }: BannerCarouselControllersType) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { ICONSType } from '../../../types/constants';
|
|
2
|
+
|
|
3
|
+
export declare function generateBannerCarousel({ ICONS }: {
|
|
4
|
+
ICONS: ICONSType;
|
|
5
|
+
}): import('../../../types/cms/Factories').ISection;
|
|
6
|
+
export declare const Component: {
|
|
7
|
+
[x: string]: (data: import('../../../types/cms/Sections/BannerCarousel').BannerCarouselSectionType) => import("react/jsx-runtime").JSX.Element;
|
|
8
|
+
};
|
package/cms/helpers/index.d.ts
CHANGED
|
@@ -9,4 +9,10 @@ export declare const convertDraftToHTML: (contentState: ContentState) => BlockDa
|
|
|
9
9
|
export declare const CREATE_CONTENT: (jsonData: string) => EditorState;
|
|
10
10
|
export declare const GET_CONTENT_STATE: (jsonData: string) => ContentState;
|
|
11
11
|
export declare const EXTENDED_BLOCK_RENDER_MAP: Immutable.Map<any, any>;
|
|
12
|
+
export declare const controllersPositionsAdapter: (position: string) => {
|
|
13
|
+
position: string;
|
|
14
|
+
shouldRender: string;
|
|
15
|
+
alignItems: string;
|
|
16
|
+
left: string;
|
|
17
|
+
};
|
|
12
18
|
export {};
|
package/cms/index.d.ts
CHANGED
|
@@ -12,6 +12,7 @@ export declare const clientCMS: {
|
|
|
12
12
|
SingleBannerSection: (data: import('../types/cms/Sections/Banner').BannerSectionType) => import("react/jsx-runtime").JSX.Element;
|
|
13
13
|
TextContentSection: ({ data, ICONS }: import('../types/cms/Sections/TextContent').TextContentSectionProps) => import("react/jsx-runtime").JSX.Element;
|
|
14
14
|
TextContent: ({ data, ICONS }: import('../types/cms/Sections/TextContent').TextContentProps) => import("react/jsx-runtime").JSX.Element;
|
|
15
|
+
BannerCarousel: (data: import('../types/cms/Sections/BannerCarousel').BannerCarouselSectionType) => import("react/jsx-runtime").JSX.Element;
|
|
15
16
|
};
|
|
16
17
|
helpers: typeof helpers;
|
|
17
18
|
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare function useMediator<T>(event: string, handler: (data: T) => void): void;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { GetMasterDataDocumentsProps, PostDocumentProps, UpdateDocumentProps } from '../../types/data/actions';
|
|
2
|
+
|
|
3
|
+
export declare function postDocument({ apiUrl, body, masterDataEntity, fetchOptions }: PostDocumentProps): Promise<any>;
|
|
4
|
+
export declare function getMasterDataDocuments<T extends string>({ searchFields, masterDataEntity, mode, scrollToken, apiUrl, fetchOptions, }: GetMasterDataDocumentsProps<T>): Promise<{
|
|
5
|
+
data: any;
|
|
6
|
+
scrollId: any;
|
|
7
|
+
}>;
|
|
8
|
+
export declare function updateDocument({ documentId, masterDataEntity, apiUrl, body, fetchOptions, }: UpdateDocumentProps): Promise<number>;
|