jamespot-react-core 1.2.35 → 1.2.37
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/build/850.6fab37b5f8dec1f9aa5d.chunk.js +2 -0
- package/build/850.6fab37b5f8dec1f9aa5d.chunk.js.map +1 -0
- package/build/899.62cfe11b9e0dc3e35807.chunk.js +648 -0
- package/build/899.62cfe11b9e0dc3e35807.chunk.js.map +1 -0
- package/build/app.bundle.js +3800 -3799
- package/build/app.bundle.js.LICENSE.txt +10 -0
- package/build/app.bundle.js.map +1 -1
- package/build/jest.config.d.ts +3 -16
- package/build/socket.sharedworker.6e975754295fd9584be6.js +2 -0
- package/build/socket.sharedworker.6e975754295fd9584be6.js.map +1 -0
- package/build/src/App.d.ts +2 -1
- package/build/src/components/Audience.d.ts +2 -3
- package/build/src/components/Avatar.d.ts +1 -2
- package/build/src/components/CommentsBloc.d.ts +1 -2
- package/build/src/components/Empty.d.ts +1 -2
- package/build/src/components/ExtensionProvider.component.d.ts +2 -2
- package/build/src/components/FullPageLayout.d.ts +1 -2
- package/build/src/components/IfAppIsActivated.component.d.ts +0 -1
- package/build/src/components/RTProvider.component.d.ts +4 -2
- package/build/src/components/Toaster.d.ts +1 -2
- package/build/src/components/TwoColLayout.d.ts +1 -2
- package/build/src/components/comments/AddReportModal.d.ts +1 -2
- package/build/src/components/comments/CommentsBlocAddCommentWidgetsWrapper.d.ts +1 -2
- package/build/src/components/comments/CommentsBlocCommentWidgetsWrapper.d.ts +1 -2
- package/build/src/components/editors/Editor.d.ts +1 -2
- package/build/src/components/editors/EditorPopup.d.ts +1 -2
- package/build/src/components/editors/EditorPosition.d.ts +2 -3
- package/build/src/components/editors/EditorTabDisplayLevel.d.ts +1 -2
- package/build/src/components/editors/EditorTabWidgetSelection.d.ts +1 -2
- package/build/src/components/editors/EditorTabWidgets.d.ts +1 -2
- package/build/src/components/editors/EditorTabWrapper.d.ts +1 -2
- package/build/src/components/editors/EditorWrapper.d.ts +2 -3
- package/build/src/components/editors/EditorsPortal.d.ts +1 -2
- package/build/src/components/editors/components/EditorInputColor.d.ts +2 -3
- package/build/src/components/editors/components/EditorInputNumber.d.ts +2 -3
- package/build/src/components/editors/components/EditorInputSelect.d.ts +2 -3
- package/build/src/components/editors/components/EditorSave.d.ts +1 -2
- package/build/src/components/editors/states/EditorIsBusy.d.ts +1 -2
- package/build/src/components/editors/states/EditorIsInitialize.d.ts +2 -2
- package/build/src/components/editors/states/EditorIsLocked.d.ts +1 -2
- package/build/src/components/editors/style.d.ts +2 -2
- package/build/src/components/modals/ModalAudience.d.ts +1 -2
- package/build/src/components/tinymce/JRCInputTinyMCEWithExt.d.ts +1 -2
- package/build/src/components/tinymce/JRCInputTinyMCEWithExtRaw.d.ts +1 -2
- package/build/src/components/tinymce/extension/AIModal.d.ts +1 -2
- package/build/src/components/tinymce/extension/MarkdownModal.d.ts +1 -2
- package/build/src/components/widgets/Widget.d.ts +6 -6
- package/build/src/components/widgets/Widget.style.d.ts +1 -1
- package/build/src/components/widgets/WidgetLayer/WidgetLayer.d.ts +3 -3
- package/build/src/components/widgets/WidgetList/WidgetList.d.ts +4 -5
- package/build/src/components/widgets/WidgetList/WidgetList.style.d.ts +5 -5
- package/build/src/components/widgets/WidgetState.d.ts +1 -2
- package/build/src/components/widgets/WidgetWrapperCore.d.ts +2 -2
- package/build/src/components/widgets/WidgetWrapperCoreEditHover.d.ts +1 -2
- package/build/src/components/widgets/components/WidgetEditorPanel.d.ts +1 -2
- package/build/src/components/widgets/components/WidgetUploader.d.ts +2 -2
- package/build/src/components/widgets/hooks.d.ts +1 -2
- package/build/src/components/widgets/wrapper/JRCWidgetArticleAttachmentWrapper.d.ts +4 -5
- package/build/src/components/widgets/wrapper/JRCWidgetArticleButtonWrapper.d.ts +2 -3
- package/build/src/components/widgets/wrapper/JRCWidgetArticleGalleryWrapper.d.ts +3 -4
- package/build/src/components/widgets/wrapper/JRCWidgetArticleImageWrapper.d.ts +4 -5
- package/build/src/components/widgets/wrapper/JRCWidgetArticleSliderWrapper.d.ts +3 -4
- package/build/src/components/widgets/wrapper/JRCWidgetArticleTextWrapper.d.ts +2 -3
- package/build/src/components/widgets/wrapper/JRCWidgetArticleTitleWrapper.d.ts +5 -6
- package/build/src/components/widgets/wrapper/JRCWidgetCalendarCalDavWrapper.d.ts +3 -3
- package/build/src/components/widgets/wrapper/JRCWidgetCheckListWrapper.d.ts +2 -3
- package/build/src/components/widgets/wrapper/JRCWidgetContactCardDavWrapper.d.ts +3 -3
- package/build/src/components/widgets/wrapper/JRCWidgetDatasourceTableWrapper.d.ts +2 -22
- package/build/src/components/widgets/wrapper/JRCWidgetEmailsImapWrapper.d.ts +3 -3
- package/build/src/components/widgets/wrapper/JRCWidgetExcelDatasourceTableWrapper.d.ts +2 -22
- package/build/src/components/widgets/wrapper/JRCWidgetIconWrapper.d.ts +1 -2
- package/build/src/components/widgets/wrapper/JRCWidgetLuccaAbsenceWrapper.d.ts +1 -2
- package/build/src/components/widgets/wrapper/JRCWidgetPresenceWrapper.d.ts +2 -3
- package/build/src/components/widgets/wrapper/JRCWidgetPresenceWrapperClosing.d.ts +2 -3
- package/build/src/components/widgets/wrapper/JRCWidgetQuickSurveyWrapper.d.ts +1 -2
- package/build/src/components/widgets/wrapper/WidgetCalendarCalDav/WidgetCalendarCalDavHeader.d.ts +1 -2
- package/build/src/components/widgets/wrapper/WidgetContactCardDav/WidgetContactCardDavHeader.d.ts +1 -2
- package/build/src/components/widgets/wrapper/WidgetEmailsImap/WidgetEmailsImapHeader.d.ts +1 -2
- package/build/src/components/widgets/wrapper/WidgetLicenseWrapper.d.ts +2 -2
- package/build/src/components/widgets/wrapper/components/OfficeConfigurationPrompt.d.ts +1 -2
- package/build/src/components/widgets/wrapper/components/WidgetFooterView.d.ts +4 -5
- package/build/src/components/widgets/wrapper/components/WidgetHeader.d.ts +4 -4
- package/build/src/components/widgets/wrapper/components/WidgetHeaderEdit.d.ts +2 -3
- package/build/src/components/widgets/wrapper/components/WidgetInlineInputText.d.ts +1 -2
- package/build/src/components/widgets/wrapper/components/WidgetIntranetTitle.d.ts +1 -2
- package/build/src/components/widgets/wrapper/components/WidgetIsPending.d.ts +1 -2
- package/build/src/components/widgets/wrapper/components/WidgetRemove.d.ts +1 -2
- package/build/src/components/widgets/wrapper/components/WidgetScroll.d.ts +5 -5
- package/build/src/components/widgets/wrapper/components/WidgetStylePadding.d.ts +3 -3
- package/build/src/components/widgets/wrapper/components/WidgetStyleWrapper.d.ts +4 -4
- package/build/src/components/widgets/wrapper/components/WidgetTitle.d.ts +1 -2
- package/build/src/components/widgets/wrapper/components/WidgetTitleEdit.d.ts +1 -2
- package/build/src/components/widgets/wrapper/utils.d.ts +3 -10
- package/build/src/displayer/DisplayForm.component.d.ts +3 -3
- package/build/src/displayer/components/DisplayRender.d.ts +10 -11
- package/build/src/displayer/components/inputs/Date.d.ts +2 -3
- package/build/src/displayer/components/inputs/DateTime.d.ts +2 -3
- package/build/src/displayer/components/inputs/DefaultInput.d.ts +1 -2
- package/build/src/displayer/components/inputs/InputAudience.d.ts +1 -2
- package/build/src/displayer/components/inputs/InputCheckbox.d.ts +1 -2
- package/build/src/displayer/components/inputs/InputEmail.d.ts +1 -2
- package/build/src/displayer/components/inputs/InputFile.d.ts +1 -2
- package/build/src/displayer/components/inputs/InputImage.d.ts +2 -3
- package/build/src/displayer/components/inputs/InputRichText.d.ts +1 -2
- package/build/src/displayer/components/inputs/InputSelect.d.ts +1 -2
- package/build/src/displayer/components/inputs/InputTaxonomy.d.ts +4 -111
- package/build/src/displayer/components/inputs/InputTextarea.d.ts +1 -2
- package/build/src/displayer/components/inputs/OrientedLink.d.ts +1 -2
- package/build/src/displayer/types.d.ts +1 -1
- package/build/src/displayer/useDisplay.d.ts +1 -2
- package/build/src/hooks/useAI.d.ts +1 -1
- package/build/src/hooks/useMarkdownModal.d.ts +1 -1
- package/build/src/redux/slice/Article.slice.d.ts +16 -16
- package/build/src/redux/slice/User.slice.d.ts +16 -16
- package/build/src/redux/store.d.ts +225 -1876
- package/build/src/registry/ext-component-list.d.ts +184 -188
- package/build/src/registry/types.common.d.ts +2 -2
- package/build/src/utils/router.d.ts +3 -2
- package/build/src/utils/types.d.ts +3 -0
- package/jest.config.ts +9 -7
- package/package.json +56 -66
- package/build/199.83ea2a609bf40e7e1d98.chunk.js +0 -648
- package/build/199.83ea2a609bf40e7e1d98.chunk.js.map +0 -1
- package/build/758.ccf07af0a14a905ce759.chunk.js +0 -2
- package/build/758.ccf07af0a14a905ce759.chunk.js.map +0 -1
- package/build/socket.sharedworker.36b2317446c7c433029e.js +0 -2
- package/build/socket.sharedworker.36b2317446c7c433029e.js.map +0 -1
- package/build/src/components/widgets/utils.test.d.ts +0 -1
- package/build/src/components/widgets/wrapper/utils.test.d.ts +0 -1
- package/build/src/initReactCore.d.ts +0 -0
- package/build/tsconfig.tsbuildinfo +0 -1
|
@@ -1,8 +1,7 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
1
|
export type AddReportModalProps = {
|
|
3
2
|
onClose: () => void;
|
|
4
3
|
articleId: number;
|
|
5
4
|
articleUri: string;
|
|
6
5
|
commentUri: string;
|
|
7
6
|
};
|
|
8
|
-
export declare const AddReportModal: ({ onClose, articleId, articleUri, commentUri }: AddReportModalProps) =>
|
|
7
|
+
export declare const AddReportModal: ({ onClose, articleId, articleUri, commentUri }: AddReportModalProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { WidgetWrapperProps } from 'jamespot-user-api';
|
|
2
|
-
import React from 'react';
|
|
3
2
|
export declare const CommentsBlocAddCommentWidgetsWrapper: ({ widgets }: {
|
|
4
3
|
widgets: WidgetWrapperProps[];
|
|
5
|
-
}) =>
|
|
4
|
+
}) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { jCommentList, WidgetDisplayMode, WidgetWrapperProps } from 'jamespot-user-api';
|
|
2
|
-
import React from 'react';
|
|
3
2
|
export declare const CommentsBlocCommentWidgetsWrapper: (props: {
|
|
4
3
|
comment: jCommentList;
|
|
5
4
|
widgets: WidgetWrapperProps[];
|
|
@@ -7,4 +6,4 @@ export declare const CommentsBlocCommentWidgetsWrapper: (props: {
|
|
|
7
6
|
inplace: boolean;
|
|
8
7
|
handleWidgetUpdate: () => void;
|
|
9
8
|
handleWidgetRemove: () => void;
|
|
10
|
-
}) =>
|
|
9
|
+
}) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
1
|
/**
|
|
3
2
|
*
|
|
4
3
|
* level 1 : Icon only (iOS like)
|
|
@@ -9,4 +8,4 @@ import React from 'react';
|
|
|
9
8
|
*/
|
|
10
9
|
export declare const EditorTabDisplayLevel: ({ uniqid }: {
|
|
11
10
|
uniqid: string;
|
|
12
|
-
}) =>
|
|
11
|
+
}) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,8 +1,7 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
1
|
export declare const CSSEditorPortalWrapper: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
|
|
3
2
|
export declare const CSSEditorPortalPopupWrapper: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {
|
|
4
3
|
isActive: boolean;
|
|
5
4
|
}, never>;
|
|
6
5
|
export declare const CSSEditorPortalRow: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
|
|
7
6
|
export declare const CSSEditorPortalFreeSpace: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
|
|
8
|
-
export declare const EditorsPortal: () =>
|
|
7
|
+
export declare const EditorsPortal: () => import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,8 +1,7 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
1
|
export declare const Label: import("styled-components").StyledComponent<"label", import("styled-components").DefaultTheme, {}, never>;
|
|
3
2
|
export declare const Fieldset: import("styled-components").StyledComponent<"fieldset", import("styled-components").DefaultTheme, {}, never>;
|
|
4
3
|
export declare const EditorInputColor: ({ label, initialValue, handleChange, }: {
|
|
5
4
|
label: string;
|
|
6
|
-
initialValue?: string
|
|
5
|
+
initialValue?: string;
|
|
7
6
|
handleChange: (color: string) => void;
|
|
8
|
-
}) =>
|
|
7
|
+
}) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
1
|
export declare const EditorInputNumber: ({ label, initialValue, handleChange, }: {
|
|
3
2
|
label: string;
|
|
4
|
-
initialValue?: string
|
|
3
|
+
initialValue?: string;
|
|
5
4
|
handleChange: (value: string) => void;
|
|
6
|
-
}) =>
|
|
5
|
+
}) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
1
|
export type EditorSelectOption = {
|
|
3
2
|
label: string;
|
|
4
3
|
value: string;
|
|
@@ -10,7 +9,7 @@ export declare const EditorInputSelect: ({ label, options, initialValue, require
|
|
|
10
9
|
label: string;
|
|
11
10
|
value: string;
|
|
12
11
|
}[];
|
|
13
|
-
initialValue?: string
|
|
12
|
+
initialValue?: string;
|
|
14
13
|
required: boolean;
|
|
15
14
|
handleChange: (value: string) => void;
|
|
16
|
-
}) =>
|
|
15
|
+
}) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { ReactElement } from 'react';
|
|
2
2
|
export declare const EditorIsInitialize: ({ uniqid, children }: {
|
|
3
3
|
uniqid: string;
|
|
4
4
|
children: ReactElement;
|
|
5
|
-
}) =>
|
|
5
|
+
}) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -8,7 +8,7 @@ export declare const CSSEditorAction: import("styled-components").StyledComponen
|
|
|
8
8
|
export declare const CSSEditorLabel: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
|
|
9
9
|
export declare const CSSEditorMask: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
|
|
10
10
|
export declare const CSSEditor: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {
|
|
11
|
-
position:
|
|
11
|
+
position: "left" | "right";
|
|
12
12
|
}, never>;
|
|
13
13
|
export declare const CSSEditorContent: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
|
|
14
14
|
export declare const CSSEditorTab: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
|
|
@@ -16,7 +16,7 @@ export declare const CSSEditorIsBusy: import("styled-components").StyledComponen
|
|
|
16
16
|
export declare const CSSEditorIsLocked: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
|
|
17
17
|
export declare const CSSEditorMenu: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
|
|
18
18
|
export declare const CSSEditorMenuButton: import("styled-components").StyledComponent<"button", import("styled-components").DefaultTheme, {
|
|
19
|
-
isActive?: boolean
|
|
19
|
+
isActive?: boolean;
|
|
20
20
|
}, never>;
|
|
21
21
|
export declare const CSSInputWrapper: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
|
|
22
22
|
export declare const CSSEditorWidget: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
1
|
import { Control } from 'react-hook-form';
|
|
3
2
|
export type ModalAudienceProps = {
|
|
4
3
|
open: boolean;
|
|
@@ -9,4 +8,4 @@ export type ModalAudienceProps = {
|
|
|
9
8
|
onSubmit: () => void;
|
|
10
9
|
name?: string;
|
|
11
10
|
};
|
|
12
|
-
export declare const ModalAudience: ({ open, closeHandler, title, control, warningMessage, onSubmit, name, }: ModalAudienceProps) =>
|
|
11
|
+
export declare const ModalAudience: ({ open, closeHandler, title, control, warningMessage, onSubmit, name, }: ModalAudienceProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
1
|
import { JRCInputTinyMCEProps } from 'jamespot-react-components';
|
|
3
2
|
import { FieldValues } from 'react-hook-form';
|
|
4
3
|
export type JRCInputTinyMCEWithExtProps<T extends FieldValues> = Omit<JRCInputTinyMCEProps<T>, 'commonOptions' | 'mentionsQueries' | 'additionalExtensions'>;
|
|
5
|
-
export declare const JRCInputTinyMCEWithExt: <T extends FieldValues = FieldValues>(props: JRCInputTinyMCEWithExtProps<T>) =>
|
|
4
|
+
export declare const JRCInputTinyMCEWithExt: <T extends FieldValues = FieldValues>(props: JRCInputTinyMCEWithExtProps<T>) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
1
|
import { JRCInputTinyMCERawProps } from 'jamespot-react-components';
|
|
3
2
|
export type JRCInputTinyMCEWithExtProps = Omit<JRCInputTinyMCERawProps, 'commonOptions' | 'mentionsQueries' | 'additionalExtensions'>;
|
|
4
|
-
export declare const JRCInputTinyMCEWithExtRaw: (props: JRCInputTinyMCEWithExtProps) =>
|
|
3
|
+
export declare const JRCInputTinyMCEWithExtRaw: (props: JRCInputTinyMCEWithExtProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
1
|
import { JiaTextEnhanceQuery } from '../../../hooks/useAI';
|
|
3
2
|
export type AIModalProps = {
|
|
4
3
|
query: JiaTextEnhanceQuery | undefined;
|
|
5
4
|
};
|
|
6
|
-
export declare const AIModal: ({ query }: AIModalProps) =>
|
|
5
|
+
export declare const AIModal: ({ query }: AIModalProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,7 +1,6 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
1
|
export type MarkdownModalProps = {
|
|
3
2
|
onInsert: (html: string) => void;
|
|
4
3
|
open: boolean;
|
|
5
4
|
close: () => void;
|
|
6
5
|
};
|
|
7
|
-
export declare const MarkdownModal: ({ onInsert, open, close }: MarkdownModalProps) =>
|
|
6
|
+
export declare const MarkdownModal: ({ onInsert, open, close }: MarkdownModalProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { ReactNode } from 'react';
|
|
2
2
|
import { CombinedWidgetType, WidgetDisplayMode, WidgetWrapperLevel } from 'jamespot-user-api';
|
|
3
3
|
export declare const CSSWidgetWithTitle: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
|
|
4
4
|
export declare const DisplayWidget: ({ widget, width, inplace, mode, onWidgetUpdate, cannotDisplayComponent, levelFallback, dataCy, }: {
|
|
@@ -6,8 +6,8 @@ export declare const DisplayWidget: ({ widget, width, inplace, mode, onWidgetUpd
|
|
|
6
6
|
width?: number | undefined;
|
|
7
7
|
inplace: boolean;
|
|
8
8
|
mode: WidgetDisplayMode;
|
|
9
|
-
onWidgetUpdate?: (
|
|
10
|
-
cannotDisplayComponent?: (
|
|
11
|
-
levelFallback?: (
|
|
12
|
-
dataCy?: string
|
|
13
|
-
}) =>
|
|
9
|
+
onWidgetUpdate?: () => void;
|
|
10
|
+
cannotDisplayComponent?: (widget: string) => ReactNode;
|
|
11
|
+
levelFallback?: (level: WidgetWrapperLevel, url: string) => ReactNode | undefined;
|
|
12
|
+
dataCy?: string;
|
|
13
|
+
}) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
export declare const CSSHiddenDiv: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
|
|
2
2
|
export declare const CSSEmptyText: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
|
|
3
3
|
export declare const CSSWrapperText: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {
|
|
4
|
-
color?: string
|
|
4
|
+
color?: string;
|
|
5
5
|
}, never>;
|
|
6
6
|
export declare const CSSUploadFileWrapper: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
|
|
7
7
|
export declare const CSSWidgetWrapper: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { ReactElement } from 'react';
|
|
2
2
|
import { WidgetDisplayMode } from 'jamespot-user-api';
|
|
3
3
|
export declare const WidgetLayer: ({ uniqid, mode }: {
|
|
4
4
|
uniqid: string;
|
|
5
5
|
mode: WidgetDisplayMode;
|
|
6
|
-
}) =>
|
|
6
|
+
}) => import("react/jsx-runtime").JSX.Element;
|
|
7
7
|
export type Vector = {
|
|
8
8
|
x: number;
|
|
9
9
|
y: number;
|
|
@@ -12,4 +12,4 @@ export declare const DraggableHandler: ({ position, children, onMouseUp, }: {
|
|
|
12
12
|
position: Vector;
|
|
13
13
|
children: ReactElement;
|
|
14
14
|
onMouseUp: (position: Vector) => void;
|
|
15
|
-
}) =>
|
|
15
|
+
}) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,11 +1,10 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
1
|
import { WidgetWrapperProps } from 'jamespot-user-api';
|
|
3
2
|
type WidgetListMode = 'button' | 'list' | 'gallery' | 'custom' | 'article' | 'comment';
|
|
4
3
|
export declare const WidgetList: ({ mode, view, children, namespace, onChange, }: {
|
|
5
|
-
mode?: WidgetListMode
|
|
6
|
-
view?: string
|
|
4
|
+
mode?: WidgetListMode;
|
|
5
|
+
view?: string;
|
|
7
6
|
children?: any;
|
|
8
|
-
namespace?: string
|
|
7
|
+
namespace?: string;
|
|
9
8
|
onChange: (widget: WidgetWrapperProps) => void;
|
|
10
|
-
}) =>
|
|
9
|
+
}) => import("react/jsx-runtime").JSX.Element;
|
|
11
10
|
export {};
|
|
@@ -7,16 +7,16 @@ export declare const CSSWidgetButton: import("styled-components").StyledComponen
|
|
|
7
7
|
height: number;
|
|
8
8
|
}, never>;
|
|
9
9
|
export declare const CSSWrapWidgetWrapper: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {
|
|
10
|
-
column?: boolean
|
|
10
|
+
column?: boolean;
|
|
11
11
|
}, never>;
|
|
12
12
|
export declare const CSSWrapTitle: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
|
|
13
13
|
export declare const CSSWrapWidget: import("styled-components").StyledComponent<"button", import("styled-components").DefaultTheme, {
|
|
14
14
|
open: boolean;
|
|
15
15
|
index: number;
|
|
16
|
-
full?: boolean
|
|
17
|
-
parentIsColumn?: boolean
|
|
16
|
+
full?: boolean;
|
|
17
|
+
parentIsColumn?: boolean;
|
|
18
18
|
}, never>;
|
|
19
19
|
export declare const Flex: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {
|
|
20
|
-
direction:
|
|
21
|
-
gap?: number
|
|
20
|
+
direction: "row" | "column";
|
|
21
|
+
gap?: number;
|
|
22
22
|
}, never>;
|
|
@@ -1,7 +1,6 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
1
|
import { WidgetKeys } from 'jamespot-user-api';
|
|
3
2
|
export declare const WidgetState: ({ uniqid, inplace }: {
|
|
4
3
|
name: WidgetKeys;
|
|
5
4
|
uniqid: string;
|
|
6
5
|
inplace: boolean;
|
|
7
|
-
}) =>
|
|
6
|
+
}) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { jCommentList, WidgetContext, WidgetDisplayMode, WidgetWrapperProps } from 'jamespot-user-api';
|
|
2
|
-
import
|
|
2
|
+
import { ReactNode } from 'react';
|
|
3
3
|
type WidgetWrapperCoreProps = {
|
|
4
4
|
uniqid: string;
|
|
5
5
|
widgetObject?: Partial<jCommentList>;
|
|
@@ -12,5 +12,5 @@ type WidgetWrapperCoreProps = {
|
|
|
12
12
|
cannotDisplayComponent?: (widget: string) => ReactNode;
|
|
13
13
|
dataCy?: string;
|
|
14
14
|
};
|
|
15
|
-
export declare const WidgetWrapperCore: ({ uniqid, widgetObject, widget, inplace, mode, width, context, onWidgetUpdate, cannotDisplayComponent, dataCy, }: WidgetWrapperCoreProps) =>
|
|
15
|
+
export declare const WidgetWrapperCore: ({ uniqid, widgetObject, widget, inplace, mode, width, context, onWidgetUpdate, cannotDisplayComponent, dataCy, }: WidgetWrapperCoreProps) => import("react/jsx-runtime").JSX.Element;
|
|
16
16
|
export default WidgetWrapperCore;
|
|
@@ -1,7 +1,6 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
1
|
import { WidgetKeys } from 'jamespot-user-api';
|
|
3
2
|
export declare const WrapperEditMode: import("styled-components").StyledComponent<"button", import("styled-components").DefaultTheme, {}, never>;
|
|
4
3
|
export declare const WidgetWrapperCoreEditHover: ({ uniqid, name }: {
|
|
5
4
|
uniqid: string;
|
|
6
5
|
name: WidgetKeys;
|
|
7
|
-
}) =>
|
|
6
|
+
}) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,2 +1 @@
|
|
|
1
|
-
|
|
2
|
-
export declare const EditorsPanel: () => React.ReactPortal | null;
|
|
1
|
+
export declare const EditorsPanel: () => import("react").ReactPortal | null;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { ReactNode } from 'react';
|
|
2
2
|
import { jFileLittle } from 'jamespot-user-api';
|
|
3
3
|
export declare const CSSHidden: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
|
|
4
4
|
type InplaceUploaderProps = {
|
|
@@ -11,5 +11,5 @@ type InplaceUploaderProps = {
|
|
|
11
11
|
onUploadEnd: () => void;
|
|
12
12
|
onUploadSuccess: (files: jFileLittle[]) => void;
|
|
13
13
|
};
|
|
14
|
-
export declare const WidgetUploader: ({ children, initialFiles, initialClick, multiple, accept, onUploadStart, onUploadEnd, onUploadSuccess, }: InplaceUploaderProps) =>
|
|
14
|
+
export declare const WidgetUploader: ({ children, initialFiles, initialClick, multiple, accept, onUploadStart, onUploadEnd, onUploadSuccess, }: InplaceUploaderProps) => import("react/jsx-runtime").JSX.Element;
|
|
15
15
|
export {};
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
import { jObjectBase, Namespaces } from 'jamespot-user-api';
|
|
3
2
|
export declare function useComponentVisible(initialIsVisible?: boolean): {
|
|
4
3
|
ref: import("react").MutableRefObject<null>;
|
|
@@ -8,7 +7,7 @@ export declare function useComponentVisible(initialIsVisible?: boolean): {
|
|
|
8
7
|
export type FitType = Record<'type', string[]>;
|
|
9
8
|
export declare function fitConditions(conditions: FitType[], o: jObjectBase): boolean;
|
|
10
9
|
export declare function fitAudience(audience: string[], messageAudience: string[]): boolean;
|
|
11
|
-
export declare const useArticleRT: (conditions: FitType[], audience: string[], fn?: Array<Namespaces[
|
|
10
|
+
export declare const useArticleRT: (conditions: FitType[], audience: string[], fn?: Array<Namespaces["JAMESPOT"]>) => {
|
|
12
11
|
rtObjects: jObjectBase[];
|
|
13
12
|
rtLastObject: jObjectBase | undefined;
|
|
14
13
|
};
|
|
@@ -1,10 +1,9 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
1
|
import { WidgetArticleAttachmentType, WidgetDisplayMode } from 'jamespot-user-api';
|
|
3
|
-
export declare const wedocWindowOpen: (idFile: number, hash: string, target?:
|
|
2
|
+
export declare const wedocWindowOpen: (idFile: number, hash: string, target?: "_blank") => void;
|
|
4
3
|
export declare function getWedocFilePath(idFile: number, hash: string): string;
|
|
5
4
|
export declare const CSSWrapper: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
|
|
6
5
|
export declare const JRCWidgetArticleAttachmentWrapper: ({ widget, inplace, mode, }: {
|
|
7
6
|
widget: WidgetArticleAttachmentType;
|
|
8
|
-
inplace?: boolean
|
|
9
|
-
mode?:
|
|
10
|
-
}) =>
|
|
7
|
+
inplace?: boolean;
|
|
8
|
+
mode?: WidgetDisplayMode;
|
|
9
|
+
}) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,7 +1,6 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
1
|
import { WidgetArticleButtonType, WidgetDisplayMode } from 'jamespot-user-api';
|
|
3
2
|
export declare const JRCWidgetArticleButtonWrapper: ({ widget, mode, }: {
|
|
4
3
|
widget: WidgetArticleButtonType;
|
|
5
4
|
inplace: boolean;
|
|
6
|
-
mode?:
|
|
7
|
-
}) =>
|
|
5
|
+
mode?: WidgetDisplayMode;
|
|
6
|
+
}) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,7 +1,6 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
1
|
import { WidgetArticleGalleryType, WidgetDisplayMode } from 'jamespot-user-api';
|
|
3
2
|
export declare const JRCWidgetArticleGalleryWrapper: ({ widget, inplace, mode, }: {
|
|
4
3
|
widget: WidgetArticleGalleryType;
|
|
5
|
-
inplace?: boolean
|
|
6
|
-
mode?:
|
|
7
|
-
}) =>
|
|
4
|
+
inplace?: boolean;
|
|
5
|
+
mode?: WidgetDisplayMode;
|
|
6
|
+
}) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,9 +1,8 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
1
|
import { WidgetArticleImageType, WidgetDisplayMode } from 'jamespot-user-api';
|
|
3
2
|
export declare const strToTimestamp: (str: string) => undefined | number;
|
|
4
3
|
export declare const JRCWidgetArticleImageWrapper: ({ widget, width, inplace, mode, }: {
|
|
5
4
|
widget: WidgetArticleImageType;
|
|
6
|
-
inplace?: boolean
|
|
7
|
-
mode?:
|
|
8
|
-
width?: number
|
|
9
|
-
}) =>
|
|
5
|
+
inplace?: boolean;
|
|
6
|
+
mode?: WidgetDisplayMode;
|
|
7
|
+
width?: number;
|
|
8
|
+
}) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,9 +1,8 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
1
|
import { WidgetArticleSliderType, WidgetDisplayMode } from 'jamespot-user-api';
|
|
3
2
|
export declare const strToTimestamp: (str: string) => undefined | number;
|
|
4
3
|
export declare const JRCWidgetArticleSliderWrapper: ({ widget, mode, width, }: {
|
|
5
4
|
widget: WidgetArticleSliderType;
|
|
6
5
|
inplace: boolean;
|
|
7
|
-
mode?:
|
|
8
|
-
width?: number
|
|
9
|
-
}) =>
|
|
6
|
+
mode?: WidgetDisplayMode;
|
|
7
|
+
width?: number;
|
|
8
|
+
}) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { WidgetArticleTextType, WidgetDisplayMode } from 'jamespot-user-api';
|
|
2
|
-
import React from 'react';
|
|
3
2
|
export declare const JRCWidgetArticleTextWrapper: ({ widget, mode, }: {
|
|
4
3
|
widget: WidgetArticleTextType;
|
|
5
4
|
inplace: boolean;
|
|
6
|
-
mode?:
|
|
7
|
-
}) =>
|
|
5
|
+
mode?: WidgetDisplayMode;
|
|
6
|
+
}) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,12 +1,11 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
1
|
import { WidgetArticleTitleType, WidgetDisplayMode } from 'jamespot-user-api';
|
|
3
2
|
export declare const JRCWidgetArticleTitleWrapper: ({ widget, inplace, mode, dataCy, }: {
|
|
4
3
|
widget: WidgetArticleTitleType;
|
|
5
4
|
inplace: boolean;
|
|
6
|
-
mode?:
|
|
7
|
-
dataCy?: string
|
|
8
|
-
}) =>
|
|
5
|
+
mode?: WidgetDisplayMode;
|
|
6
|
+
dataCy?: string;
|
|
7
|
+
}) => import("react/jsx-runtime").JSX.Element;
|
|
9
8
|
export declare const Toolbar: ({ heading, onClick }: {
|
|
10
|
-
heading?: string
|
|
9
|
+
heading?: string;
|
|
11
10
|
onClick: (size: string) => void;
|
|
12
|
-
}) =>
|
|
11
|
+
}) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { WidgetCalendarCalDavType, WidgetDisplayMode, WidgetWrapperLevel } from 'jamespot-user-api';
|
|
2
|
-
import
|
|
2
|
+
import { ReactNode } from 'react';
|
|
3
3
|
export type JRCWidgetCalendarCalDavWrapperProps = {
|
|
4
4
|
widget: WidgetCalendarCalDavType;
|
|
5
5
|
inplace: boolean;
|
|
6
6
|
mode?: WidgetDisplayMode;
|
|
7
|
-
levelFallback?: (level: WidgetWrapperLevel, url: string) =>
|
|
7
|
+
levelFallback?: (level: WidgetWrapperLevel, url: string) => ReactNode | undefined;
|
|
8
8
|
};
|
|
9
|
-
export declare const JRCWidgetCalendarCalDavWrapper: ({ widget, mode, levelFallback, }: JRCWidgetCalendarCalDavWrapperProps) =>
|
|
9
|
+
export declare const JRCWidgetCalendarCalDavWrapper: ({ widget, mode, levelFallback, }: JRCWidgetCalendarCalDavWrapperProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { WidgetCheckListType, WidgetDisplayMode } from 'jamespot-user-api';
|
|
2
|
-
import React from 'react';
|
|
3
2
|
export declare const CSSRowLinkWrapper: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {
|
|
4
|
-
border?: boolean
|
|
3
|
+
border?: boolean;
|
|
5
4
|
}, never>;
|
|
6
5
|
export declare const CSSWidgetCheckListWrapper: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
|
|
7
6
|
type JRCWidgetCheckListWrapperProps = {
|
|
@@ -10,5 +9,5 @@ type JRCWidgetCheckListWrapperProps = {
|
|
|
10
9
|
mode?: WidgetDisplayMode;
|
|
11
10
|
onWidgetUpdate?: () => void;
|
|
12
11
|
};
|
|
13
|
-
export declare const JRCWidgetCheckListWrapper: ({ widget, inplace, mode, onWidgetUpdate, }: JRCWidgetCheckListWrapperProps) =>
|
|
12
|
+
export declare const JRCWidgetCheckListWrapper: ({ widget, inplace, mode, onWidgetUpdate, }: JRCWidgetCheckListWrapperProps) => import("react/jsx-runtime").JSX.Element;
|
|
14
13
|
export {};
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { WidgetContactCardDavType, WidgetDisplayMode, WidgetWrapperLevel } from 'jamespot-user-api';
|
|
2
|
-
import
|
|
2
|
+
import { ReactNode } from 'react';
|
|
3
3
|
export type JRCWidgetContactCardDavProps = {
|
|
4
4
|
widget: WidgetContactCardDavType;
|
|
5
5
|
inplace: boolean;
|
|
6
6
|
mode?: WidgetDisplayMode;
|
|
7
|
-
levelFallback?: (level: WidgetWrapperLevel, url: string) =>
|
|
7
|
+
levelFallback?: (level: WidgetWrapperLevel, url: string) => ReactNode | undefined;
|
|
8
8
|
};
|
|
9
|
-
export declare const JRCWidgetContactCardDavWrapper: ({ widget, mode, levelFallback }: JRCWidgetContactCardDavProps) =>
|
|
9
|
+
export declare const JRCWidgetContactCardDavWrapper: ({ widget, mode, levelFallback }: JRCWidgetContactCardDavProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,27 +1,7 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
1
|
import { WidgetDatasourceTableContent, WidgetDisplayMode } from 'jamespot-user-api';
|
|
3
2
|
export declare const Wrapper: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
|
|
4
3
|
export declare const AbsoluteWrapper: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
|
|
5
|
-
export declare const WidgetDatasourceTableWrapper: ({ uri, limit, tableHeadColor, tableHeadTextColor, tableHeadIconColor, tableRowColor, tableRowTextColor, tableColumnsData, tableBorderRadius, tableSizedColumns, tableSizedColumnsWidth, mode, }: {
|
|
6
|
-
limit?: number | boolean | undefined;
|
|
7
|
-
uri?: string | undefined;
|
|
8
|
-
tableColumnsData?: {
|
|
9
|
-
name?: string | undefined;
|
|
10
|
-
label?: string | undefined;
|
|
11
|
-
isVisible?: boolean | undefined;
|
|
12
|
-
textEllipsis?: boolean | undefined;
|
|
13
|
-
dateFormat?: "date" | "time" | "date-time" | "date-time-sec" | "time-sec" | undefined;
|
|
14
|
-
numberFormat?: "fr-FR" | "en-EN" | "filesize" | undefined;
|
|
15
|
-
}[] | undefined;
|
|
16
|
-
tableHeadColor?: string | undefined;
|
|
17
|
-
tableHeadTextColor?: string | undefined;
|
|
18
|
-
tableHeadIconColor?: string | undefined;
|
|
19
|
-
tableRowColor?: string | undefined;
|
|
20
|
-
tableRowTextColor?: string | undefined;
|
|
21
|
-
tableBorderRadius?: number | undefined;
|
|
22
|
-
tableSizedColumns?: boolean | undefined;
|
|
23
|
-
tableSizedColumnsWidth?: number | undefined;
|
|
24
|
-
} & {
|
|
4
|
+
export declare const WidgetDatasourceTableWrapper: ({ uri, limit, tableHeadColor, tableHeadTextColor, tableHeadIconColor, tableRowColor, tableRowTextColor, tableColumnsData, tableBorderRadius, tableSizedColumns, tableSizedColumnsWidth, mode, }: WidgetDatasourceTableContent & {
|
|
25
5
|
uniqid: string;
|
|
26
6
|
mode: WidgetDisplayMode;
|
|
27
|
-
}) =>
|
|
7
|
+
}) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { WidgetDisplayMode, WidgetEmailsImapType, WidgetWrapperLevel } from 'jamespot-user-api';
|
|
2
|
-
import
|
|
2
|
+
import { ReactNode } from 'react';
|
|
3
3
|
export type JRCWidgetEmailsImapProps = {
|
|
4
4
|
widget: WidgetEmailsImapType;
|
|
5
5
|
inplace: boolean;
|
|
6
6
|
mode?: WidgetDisplayMode;
|
|
7
|
-
levelFallback?: (level: WidgetWrapperLevel, url: string) =>
|
|
7
|
+
levelFallback?: (level: WidgetWrapperLevel, url: string) => ReactNode | undefined;
|
|
8
8
|
};
|
|
9
|
-
export declare const JRCWidgetEmailsImapWrapper: ({ widget, mode, levelFallback }: JRCWidgetEmailsImapProps) =>
|
|
9
|
+
export declare const JRCWidgetEmailsImapWrapper: ({ widget, mode, levelFallback }: JRCWidgetEmailsImapProps) => import("react/jsx-runtime").JSX.Element;
|