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,27 +1,7 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
1
|
import { WidgetDisplayMode, WidgetExcelDatasourceTableContent } 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 WidgetExcelDatasourceTableWrapper: ({ 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 WidgetExcelDatasourceTableWrapper: ({ uri, limit, tableHeadColor, tableHeadTextColor, tableHeadIconColor, tableRowColor, tableRowTextColor, tableColumnsData, tableBorderRadius, tableSizedColumns, tableSizedColumnsWidth, mode, }: WidgetExcelDatasourceTableContent & {
|
|
25
5
|
uniqid: string;
|
|
26
6
|
mode: WidgetDisplayMode;
|
|
27
|
-
}) =>
|
|
7
|
+
}) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { WidgetKeys, WidgetWrapperLevel } from 'jamespot-user-api';
|
|
2
|
-
import React from 'react';
|
|
3
2
|
export declare const CSSIconAbsoluteA: import("styled-components").StyledComponent<"a", import("styled-components").DefaultTheme, {
|
|
4
3
|
color: string | undefined;
|
|
5
4
|
}, never>;
|
|
@@ -8,4 +7,4 @@ export declare const JRCWidgetIconWrapper: ({ uniqid, name, url, level, }: {
|
|
|
8
7
|
name: WidgetKeys;
|
|
9
8
|
url: string;
|
|
10
9
|
level: WidgetWrapperLevel;
|
|
11
|
-
}) =>
|
|
10
|
+
}) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
1
|
export declare const UIOverlay: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
|
|
3
2
|
export declare const JRCWidgetLuccaAbsenceWrapper: ({ uniqid }: {
|
|
4
3
|
uniqid: string;
|
|
5
|
-
}) =>
|
|
4
|
+
}) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,10 +1,9 @@
|
|
|
1
1
|
import { WidgetDisplayMode, WidgetPresenceType } from 'jamespot-user-api';
|
|
2
|
-
import React from 'react';
|
|
3
2
|
export declare const CSSWidgetPresenceWrapper: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
|
|
4
3
|
export declare const CSSWidgetPresenceState: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
|
|
5
4
|
export declare const CSSWidgetPresenceIsClosed: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
|
|
6
5
|
export declare const JRCWidgetPresenceWrapper: ({ widget, mode, }: {
|
|
7
6
|
widget: WidgetPresenceType;
|
|
8
7
|
inplace: boolean;
|
|
9
|
-
mode?:
|
|
10
|
-
}) =>
|
|
8
|
+
mode?: WidgetDisplayMode;
|
|
9
|
+
}) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,10 +1,9 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
1
|
import { WidgetDisplayMode, WidgetPresenceContent } from 'jamespot-user-api';
|
|
3
2
|
export declare const CSSPaddingMd: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
|
|
4
3
|
export declare const CSSHref: import("styled-components").StyledComponent<"a", import("styled-components").DefaultTheme, {}, never>;
|
|
5
4
|
export declare const CSSHorizontalAlign: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
|
|
6
5
|
export declare const WidgetPresenceWrapperClosing: ({ mode, uniqid, content, }: {
|
|
7
|
-
mode?:
|
|
6
|
+
mode?: WidgetDisplayMode;
|
|
8
7
|
uniqid: string;
|
|
9
8
|
content: WidgetPresenceContent;
|
|
10
|
-
}) =>
|
|
9
|
+
}) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,9 +1,8 @@
|
|
|
1
1
|
import { WidgetDisplayMode, WidgetQuickSurveyType } from 'jamespot-user-api';
|
|
2
|
-
import React from 'react';
|
|
3
2
|
type JRCWidgetQuickSurveyWrapperProps = {
|
|
4
3
|
widget: WidgetQuickSurveyType;
|
|
5
4
|
inplace: boolean;
|
|
6
5
|
mode?: WidgetDisplayMode;
|
|
7
6
|
};
|
|
8
|
-
export declare const JRCWidgetQuickSurveyWrapper: ({ widget, inplace, mode }: JRCWidgetQuickSurveyWrapperProps) =>
|
|
7
|
+
export declare const JRCWidgetQuickSurveyWrapper: ({ widget, inplace, mode }: JRCWidgetQuickSurveyWrapperProps) => import("react/jsx-runtime").JSX.Element;
|
|
9
8
|
export {};
|
package/build/src/components/widgets/wrapper/WidgetCalendarCalDav/WidgetCalendarCalDavHeader.d.ts
CHANGED
|
@@ -1,7 +1,6 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
1
|
export declare const UIDropdown: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
|
|
3
2
|
export declare const WidgetCalendarCalDavHeader: ({ uniqid, isConfigurationValid, handleLogout, }: {
|
|
4
3
|
uniqid: string;
|
|
5
4
|
isConfigurationValid: boolean;
|
|
6
5
|
handleLogout: () => void;
|
|
7
|
-
}) =>
|
|
6
|
+
}) => import("react/jsx-runtime").JSX.Element;
|
package/build/src/components/widgets/wrapper/WidgetContactCardDav/WidgetContactCardDavHeader.d.ts
CHANGED
|
@@ -1,7 +1,6 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
1
|
export declare const UIDropdown: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
|
|
3
2
|
export declare const WidgetContactCardDavHeader: ({ uniqid, isConfigurationValid, handleLogout, }: {
|
|
4
3
|
uniqid: string;
|
|
5
4
|
isConfigurationValid: boolean;
|
|
6
5
|
handleLogout: () => void;
|
|
7
|
-
}) =>
|
|
6
|
+
}) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
1
|
export declare const UIDropdown: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
|
|
3
2
|
export declare const UICount: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {
|
|
4
3
|
color: string;
|
|
@@ -7,4 +6,4 @@ export declare const WidgetEmailsImapHeader: ({ uniqid, isConfigurationValid, ha
|
|
|
7
6
|
uniqid: string;
|
|
8
7
|
isConfigurationValid: boolean;
|
|
9
8
|
handleLogout: () => void;
|
|
10
|
-
}) =>
|
|
9
|
+
}) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { LicenseHookListType } from 'jamespot-user-api';
|
|
2
|
-
import
|
|
2
|
+
import { ReactNode } from 'react';
|
|
3
3
|
export declare const WidgetLicenseWrapper: ({ children, name }: {
|
|
4
4
|
children: ReactNode;
|
|
5
5
|
name: keyof LicenseHookListType;
|
|
6
|
-
}) =>
|
|
6
|
+
}) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { WidgetDisplayMode, WidgetEmailsImapType } from 'jamespot-user-api';
|
|
2
|
-
import React from 'react';
|
|
3
2
|
export declare const UIForm: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {
|
|
4
3
|
isLocked: boolean;
|
|
5
4
|
}, never>;
|
|
@@ -22,4 +21,4 @@ export declare const officeConfigurationInitialState: {
|
|
|
22
21
|
calDavCalendar: string;
|
|
23
22
|
provider: string;
|
|
24
23
|
};
|
|
25
|
-
export declare const OfficeConfigurationPrompt: () =>
|
|
24
|
+
export declare const OfficeConfigurationPrompt: () => import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,11 +1,10 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
1
|
import { WidgetsName, Rights, WidgetDisplayMode } from 'jamespot-user-api';
|
|
3
2
|
export declare const Footer: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
|
|
4
3
|
export declare const Button: import("styled-components").StyledComponent<"button", import("styled-components").DefaultTheme, {}, never>;
|
|
5
4
|
export declare const WidgetFooterView: ({ name, uniqid, mode, collaborationRights, handleOpenEditor, }: {
|
|
6
5
|
name: WidgetsName;
|
|
7
6
|
uniqid: string;
|
|
8
|
-
mode?:
|
|
9
|
-
collaborationRights?: Pick<Rights, "update"
|
|
10
|
-
handleOpenEditor?: (
|
|
11
|
-
}) =>
|
|
7
|
+
mode?: WidgetDisplayMode;
|
|
8
|
+
collaborationRights?: Pick<Rights, "update">;
|
|
9
|
+
handleOpenEditor?: () => void;
|
|
10
|
+
}) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { ReactNode } from 'react';
|
|
2
2
|
export declare const UIHeaderWrapper: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {
|
|
3
3
|
backroundColor: string;
|
|
4
4
|
}, never>;
|
|
@@ -7,6 +7,6 @@ export declare const UICount: import("styled-components").StyledComponent<"div",
|
|
|
7
7
|
export declare const UIHeaderFlex: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
|
|
8
8
|
export declare const WidgetHeader: ({ uniqid, dropdown, subHeader, }: {
|
|
9
9
|
uniqid: string;
|
|
10
|
-
dropdown?: (
|
|
11
|
-
subHeader?: (
|
|
12
|
-
}) =>
|
|
10
|
+
dropdown?: () => ReactNode;
|
|
11
|
+
subHeader?: (color: string) => ReactNode;
|
|
12
|
+
}) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
1
|
import { WidgetsName } from 'jamespot-user-api';
|
|
3
2
|
export declare const CSSModalFooter: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
|
|
4
3
|
export declare const CSSWidgetHeaderEdit: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
|
|
@@ -7,5 +6,5 @@ export declare const CSSWidgetHeaderEditActions: import("styled-components").Sty
|
|
|
7
6
|
export declare const WidgetHeaderEdit: ({ uniqid, name, handleOpenEditor, }: {
|
|
8
7
|
uniqid: string;
|
|
9
8
|
name: WidgetsName;
|
|
10
|
-
handleOpenEditor?: (
|
|
11
|
-
}) =>
|
|
9
|
+
handleOpenEditor?: () => void;
|
|
10
|
+
}) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
1
|
export declare const CSSWrapper: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
|
|
3
2
|
export declare const WidgetInlineInputText: ({ placeholder, handleClick, }: {
|
|
4
3
|
placeholder: string;
|
|
5
4
|
handleClick: (label: string) => void;
|
|
6
|
-
}) =>
|
|
5
|
+
}) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
1
|
export declare const CSSWidgetTitle: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
|
|
3
2
|
export declare const UITitle: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {
|
|
4
3
|
fontSize: string;
|
|
@@ -12,4 +11,4 @@ export declare const WidgetIntranetTitle: ({ uniqid, textAlign, fontSize, fontWe
|
|
|
12
11
|
fontSize: string;
|
|
13
12
|
fontWeight: string;
|
|
14
13
|
color: string;
|
|
15
|
-
}) =>
|
|
14
|
+
}) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,3 +1,2 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
1
|
export declare const Wrapper: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
|
|
3
|
-
export declare const WidgetIsPending: () =>
|
|
2
|
+
export declare const WidgetIsPending: () => import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,8 +1,7 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
1
|
export declare const Button: import("styled-components").StyledComponent<"button", import("styled-components").DefaultTheme, {}, never>;
|
|
3
2
|
export declare const Footer: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
|
|
4
3
|
export declare const WidgetRemove: ({ id, type, uniqid }: {
|
|
5
4
|
id: number;
|
|
6
5
|
type: string;
|
|
7
6
|
uniqid: string;
|
|
8
|
-
}) =>
|
|
7
|
+
}) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { ReactNode } from 'react';
|
|
2
2
|
export declare const UIFlex: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
|
|
3
3
|
export declare const UIScrollWrapper: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
|
|
4
4
|
export declare const UIScroll: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
|
|
5
5
|
export declare const WidgetScroll: ({ header, scrollable, footer, }: {
|
|
6
|
-
header?: (
|
|
7
|
-
scrollable?: (
|
|
8
|
-
footer?: (
|
|
9
|
-
}) =>
|
|
6
|
+
header?: () => ReactNode;
|
|
7
|
+
scrollable?: () => ReactNode;
|
|
8
|
+
footer?: () => ReactNode;
|
|
9
|
+
}) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { ReactNode } from 'react';
|
|
2
2
|
export declare const UIWrapper: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
|
|
3
3
|
export declare const WidgetStylePadding: ({ uniqid, children }: {
|
|
4
4
|
uniqid: string;
|
|
5
|
-
children:
|
|
6
|
-
}) =>
|
|
5
|
+
children: ReactNode;
|
|
6
|
+
}) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { ReactNode } from 'react';
|
|
2
2
|
export declare const UIWrapper: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
|
|
3
|
-
export declare const WidgetStyleWrapper: ({ uniqid, onClick, children
|
|
3
|
+
export declare const WidgetStyleWrapper: ({ uniqid, onClick, children }: {
|
|
4
4
|
uniqid: string;
|
|
5
5
|
onClick: () => void;
|
|
6
|
-
children:
|
|
7
|
-
}) =>
|
|
6
|
+
children: ReactNode;
|
|
7
|
+
}) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
1
|
export declare const CSSWidgetTitle: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
|
|
3
2
|
export declare const WidgetTitle: ({ uniqid }: {
|
|
4
3
|
uniqid: string;
|
|
5
|
-
}) =>
|
|
4
|
+
}) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,14 +1,7 @@
|
|
|
1
|
-
import { WidgetTableColumn } from 'jamespot-user-api';
|
|
2
|
-
export declare const getVisibleColumns: (tableColumnsData: {
|
|
3
|
-
name?: string | undefined;
|
|
4
|
-
label?: string | undefined;
|
|
5
|
-
isVisible?: boolean | undefined;
|
|
6
|
-
textEllipsis?: boolean | undefined;
|
|
7
|
-
dateFormat?: "date" | "time" | "date-time" | "date-time-sec" | "time-sec" | undefined;
|
|
8
|
-
numberFormat?: "fr-FR" | "en-EN" | "filesize" | undefined;
|
|
9
|
-
}[], columns: WidgetTableColumn[]) => {
|
|
10
|
-
type: "number" | "uri" | "title" | "url" | "date" | "select" | "text" | "email" | "file" | "datetime" | "transient";
|
|
1
|
+
import { WidgetTableColumn, WidgetTableColumnsData } from 'jamespot-user-api';
|
|
2
|
+
export declare const getVisibleColumns: (tableColumnsData: WidgetTableColumnsData, columns: WidgetTableColumn[]) => {
|
|
11
3
|
name: string;
|
|
4
|
+
type: "number" | "text" | "date" | "datetime" | "file" | "select" | "email" | "url" | "transient" | "uri" | "title";
|
|
12
5
|
label: string;
|
|
13
6
|
widget: {} | {
|
|
14
7
|
type: "text";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { DisplayFormFieldsConfig, DisplayFormRef } from './types';
|
|
2
2
|
import { useForm, Control, FieldValues } from 'react-hook-form';
|
|
3
|
-
import
|
|
3
|
+
import { ForwardedRef, ReactNode } from 'react';
|
|
4
4
|
type FormFn<TFieldValues extends FieldValues> = Omit<ReturnType<typeof useForm<TFieldValues>>, 'handleSubmit' | 'control' | 'reset'>;
|
|
5
5
|
export type DisplayFormProps<TFieldValues extends FieldValues> = {
|
|
6
6
|
type: string;
|
|
@@ -23,8 +23,8 @@ export type DisplayFormProps<TFieldValues extends FieldValues> = {
|
|
|
23
23
|
*
|
|
24
24
|
* This component display an array of attributes only if this attribute is activated on the platform
|
|
25
25
|
*/
|
|
26
|
-
declare const _DisplayForm: <TFieldValues extends FieldValues>({ onInit, ...props }: DisplayFormProps<TFieldValues>, ref: ForwardedRef<DisplayFormRef>) =>
|
|
26
|
+
declare const _DisplayForm: <TFieldValues extends FieldValues>({ onInit, ...props }: DisplayFormProps<TFieldValues>, ref: ForwardedRef<DisplayFormRef>) => import("react/jsx-runtime").JSX.Element;
|
|
27
27
|
export declare const DisplayForm: <TFieldValues extends FieldValues>(props: DisplayFormProps<TFieldValues> & {
|
|
28
|
-
ref?:
|
|
28
|
+
ref?: ForwardedRef<DisplayFormRef>;
|
|
29
29
|
}) => ReturnType<typeof _DisplayForm>;
|
|
30
30
|
export {};
|
|
@@ -1,13 +1,12 @@
|
|
|
1
1
|
import { RenderAttributeProps } from '../types';
|
|
2
|
-
import React from 'react';
|
|
3
2
|
import { WidgetOption } from '../displayer.utils';
|
|
4
|
-
export declare function DisplayDate({ object, attribute }: RenderAttributeProps):
|
|
5
|
-
export declare function DisplayDateTime({ object, attribute }: RenderAttributeProps):
|
|
6
|
-
export declare function DisplayDefault({ object, attribute }: RenderAttributeProps):
|
|
7
|
-
export declare function DisplayEmail({ object, attribute }: RenderAttributeProps):
|
|
8
|
-
export declare function DisplayFile({ object, attribute }: RenderAttributeProps):
|
|
9
|
-
export declare function DisplayImage({ object, attribute }: RenderAttributeProps):
|
|
10
|
-
export declare const DisplayRadio: (options: WidgetOption[]) => ({ object, attribute }: RenderAttributeProps) =>
|
|
11
|
-
export declare function DisplayRichText({ object, attribute }: RenderAttributeProps):
|
|
12
|
-
export declare function DisplayTag({ object, attribute }: RenderAttributeProps):
|
|
13
|
-
export declare function DisplayUrl({ object, attribute }: RenderAttributeProps):
|
|
3
|
+
export declare function DisplayDate({ object, attribute }: RenderAttributeProps): import("react/jsx-runtime").JSX.Element | null;
|
|
4
|
+
export declare function DisplayDateTime({ object, attribute }: RenderAttributeProps): import("react/jsx-runtime").JSX.Element | null;
|
|
5
|
+
export declare function DisplayDefault({ object, attribute }: RenderAttributeProps): import("react/jsx-runtime").JSX.Element | null;
|
|
6
|
+
export declare function DisplayEmail({ object, attribute }: RenderAttributeProps): import("react/jsx-runtime").JSX.Element | null;
|
|
7
|
+
export declare function DisplayFile({ object, attribute }: RenderAttributeProps): import("react/jsx-runtime").JSX.Element | null;
|
|
8
|
+
export declare function DisplayImage({ object, attribute }: RenderAttributeProps): import("react/jsx-runtime").JSX.Element | null;
|
|
9
|
+
export declare const DisplayRadio: (options: WidgetOption[]) => ({ object, attribute }: RenderAttributeProps) => import("react/jsx-runtime").JSX.Element | null;
|
|
10
|
+
export declare function DisplayRichText({ object, attribute }: RenderAttributeProps): import("react/jsx-runtime").JSX.Element | null;
|
|
11
|
+
export declare function DisplayTag({ object, attribute }: RenderAttributeProps): import("react/jsx-runtime").JSX.Element | null;
|
|
12
|
+
export declare function DisplayUrl({ object, attribute }: RenderAttributeProps): import("react/jsx-runtime").JSX.Element | null;
|
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
1
|
import { DisplayInputComponentProps } from '../../types';
|
|
3
2
|
import type { FieldValues } from 'react-hook-form';
|
|
4
|
-
export declare const InputDate: <TFieldValues extends FieldValues>(props: DisplayInputComponentProps<TFieldValues>) =>
|
|
5
|
-
export declare const SearchDate: <TFieldValues extends FieldValues>(props: DisplayInputComponentProps<TFieldValues>) =>
|
|
3
|
+
export declare const InputDate: <TFieldValues extends FieldValues>(props: DisplayInputComponentProps<TFieldValues>) => import("react/jsx-runtime").JSX.Element;
|
|
4
|
+
export declare const SearchDate: <TFieldValues extends FieldValues>(props: DisplayInputComponentProps<TFieldValues>) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
1
|
import { DisplayInputComponentProps } from '../../types';
|
|
3
2
|
import type { FieldValues } from 'react-hook-form';
|
|
4
|
-
export declare const InputDateTime: <TFieldValues extends FieldValues>(props: DisplayInputComponentProps<TFieldValues>) =>
|
|
5
|
-
export declare const SearchDateTime: <TFieldValues extends FieldValues>(props: DisplayInputComponentProps<TFieldValues>) =>
|
|
3
|
+
export declare const InputDateTime: <TFieldValues extends FieldValues>(props: DisplayInputComponentProps<TFieldValues>) => import("react/jsx-runtime").JSX.Element;
|
|
4
|
+
export declare const SearchDateTime: <TFieldValues extends FieldValues>(props: DisplayInputComponentProps<TFieldValues>) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
1
|
import { DisplayInputComponentProps } from '../../types';
|
|
3
2
|
import type { FieldValues } from 'react-hook-form';
|
|
4
|
-
export declare const DefaultInput: <TFieldValues extends FieldValues>(props: DisplayInputComponentProps<TFieldValues>) =>
|
|
3
|
+
export declare const DefaultInput: <TFieldValues extends FieldValues>(props: DisplayInputComponentProps<TFieldValues>) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
1
|
import { DisplayInputComponentProps } from '../../types';
|
|
3
2
|
import { FieldValues } from 'react-hook-form';
|
|
4
|
-
export declare const InputAudience: <TFieldValues extends FieldValues>(props: DisplayInputComponentProps<TFieldValues>) =>
|
|
3
|
+
export declare const InputAudience: <TFieldValues extends FieldValues>(props: DisplayInputComponentProps<TFieldValues>) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
1
|
import { DisplayInputComponentProps } from '../../types';
|
|
3
2
|
import type { FieldValues } from 'react-hook-form';
|
|
4
3
|
import { WidgetOption } from '../../displayer.utils';
|
|
@@ -7,5 +6,5 @@ type CheckboxConfig = {
|
|
|
7
6
|
direction?: 'row' | 'column' | 'two-columns';
|
|
8
7
|
requireable?: boolean;
|
|
9
8
|
};
|
|
10
|
-
export declare const InputCheckbox: (options: WidgetOption[], config: CheckboxConfig) => <TFieldValues extends FieldValues>({ widget: _, ...props }: DisplayInputComponentProps<TFieldValues>) =>
|
|
9
|
+
export declare const InputCheckbox: (options: WidgetOption[], config: CheckboxConfig) => <TFieldValues extends FieldValues>({ widget: _, ...props }: DisplayInputComponentProps<TFieldValues>) => import("react/jsx-runtime").JSX.Element;
|
|
11
10
|
export {};
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
1
|
import { DisplayInputComponentProps } from '../../types';
|
|
3
2
|
import type { FieldValues } from 'react-hook-form';
|
|
4
|
-
export declare const InputEmail: <TFieldValues extends FieldValues>(props: DisplayInputComponentProps<TFieldValues>) =>
|
|
3
|
+
export declare const InputEmail: <TFieldValues extends FieldValues>(props: DisplayInputComponentProps<TFieldValues>) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
1
|
import { DisplayInputComponentProps } from '../../types';
|
|
3
2
|
import type { FieldValues } from 'react-hook-form';
|
|
4
|
-
export declare const InputFile: <TFieldValues extends FieldValues>(props: DisplayInputComponentProps<TFieldValues>) =>
|
|
3
|
+
export declare const InputFile: <TFieldValues extends FieldValues>(props: DisplayInputComponentProps<TFieldValues>) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { DisplayInputComponentProps } from '../../types';
|
|
3
1
|
import type { FieldValues } from 'react-hook-form';
|
|
4
|
-
|
|
2
|
+
import { DisplayInputComponentProps } from '../../types';
|
|
3
|
+
export declare const InputImage: <TFieldValues extends FieldValues>(props: DisplayInputComponentProps<TFieldValues>) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
1
|
import { DisplayInputComponentProps } from '../../types';
|
|
3
2
|
import type { FieldValues } from 'react-hook-form';
|
|
4
|
-
export declare const InputRichText: <TFieldValues extends FieldValues>(props: DisplayInputComponentProps<TFieldValues>) =>
|
|
3
|
+
export declare const InputRichText: <TFieldValues extends FieldValues>(props: DisplayInputComponentProps<TFieldValues>) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
1
|
import { DisplayInputComponentProps } from '../../types';
|
|
3
2
|
import type { FieldValues } from 'react-hook-form';
|
|
4
3
|
import { WidgetOption } from '../../displayer.utils';
|
|
@@ -6,5 +5,5 @@ type InputSelectConfig = {
|
|
|
6
5
|
name: string;
|
|
7
6
|
placeholder: string;
|
|
8
7
|
};
|
|
9
|
-
export declare const InputSelect: (options: WidgetOption[], config: InputSelectConfig) => <TFieldValues extends FieldValues>(props: DisplayInputComponentProps<TFieldValues>) =>
|
|
8
|
+
export declare const InputSelect: (options: WidgetOption[], config: InputSelectConfig) => <TFieldValues extends FieldValues>(props: DisplayInputComponentProps<TFieldValues>) => import("react/jsx-runtime").JSX.Element;
|
|
10
9
|
export {};
|
|
@@ -1,120 +1,13 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import type { DisplayInputComponentProps } from '../../types';
|
|
3
1
|
import type { WidgetTaxonomy } from 'jamespot-user-api';
|
|
4
2
|
import { FieldValues, Path } from 'react-hook-form';
|
|
3
|
+
import type { DisplayInputComponentProps } from '../../types';
|
|
5
4
|
type InputTaxonomyConfig<T extends FieldValues = FieldValues> = {
|
|
6
5
|
name: Path<T>;
|
|
7
6
|
placeholder: string;
|
|
8
7
|
type: string;
|
|
9
8
|
limit?: number;
|
|
10
9
|
};
|
|
11
|
-
export declare const InputTaxonomy: <TFieldValues extends FieldValues>(widget: WidgetTaxonomy, config: InputTaxonomyConfig<TFieldValues>) => (props:
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
description?: string | undefined;
|
|
15
|
-
widget: {
|
|
16
|
-
type: "text";
|
|
17
|
-
} | {
|
|
18
|
-
type: "textarea";
|
|
19
|
-
params?: {
|
|
20
|
-
class: "mceEditor";
|
|
21
|
-
mention: "1";
|
|
22
|
-
} | undefined;
|
|
23
|
-
} | {
|
|
24
|
-
type: "number";
|
|
25
|
-
} | {
|
|
26
|
-
type: "date";
|
|
27
|
-
format: string;
|
|
28
|
-
} | {
|
|
29
|
-
type: "datetime";
|
|
30
|
-
} | {
|
|
31
|
-
type: "datePicker";
|
|
32
|
-
} | {
|
|
33
|
-
type: "select";
|
|
34
|
-
options: Record<string, string>;
|
|
35
|
-
params?: {
|
|
36
|
-
data?: string | undefined;
|
|
37
|
-
defaultValue?: string | undefined;
|
|
38
|
-
explain?: 1 | undefined;
|
|
39
|
-
} | undefined;
|
|
40
|
-
} | {
|
|
41
|
-
type: "embed";
|
|
42
|
-
} | {
|
|
43
|
-
type: "email";
|
|
44
|
-
} | {
|
|
45
|
-
type: "url";
|
|
46
|
-
params: {
|
|
47
|
-
target?: "_blank" | undefined;
|
|
48
|
-
};
|
|
49
|
-
} | {
|
|
50
|
-
type: "refUser";
|
|
51
|
-
} | {
|
|
52
|
-
type: "radio";
|
|
53
|
-
options: Record<string, string>;
|
|
54
|
-
} | {
|
|
55
|
-
type: "checkbox";
|
|
56
|
-
options: Record<string, string>;
|
|
57
|
-
} | {
|
|
58
|
-
type: "orientedlinks";
|
|
59
|
-
params: {
|
|
60
|
-
'jcomplete-multiple': "0" | "1";
|
|
61
|
-
showAdd: "0" | "1";
|
|
62
|
-
supportedTypes: string[];
|
|
63
|
-
};
|
|
64
|
-
} | {
|
|
65
|
-
type: "taxonomy";
|
|
66
|
-
params: {
|
|
67
|
-
idTaxonomy: string;
|
|
68
|
-
type?: string | undefined;
|
|
69
|
-
limit?: number | undefined;
|
|
70
|
-
};
|
|
71
|
-
} | {
|
|
72
|
-
type: "uri";
|
|
73
|
-
params: {
|
|
74
|
-
type: string;
|
|
75
|
-
class: string;
|
|
76
|
-
'jcomplete-url': string;
|
|
77
|
-
};
|
|
78
|
-
} | {
|
|
79
|
-
type: "transient";
|
|
80
|
-
} | {
|
|
81
|
-
type: "multiattribute";
|
|
82
|
-
} | {
|
|
83
|
-
type: "tel";
|
|
84
|
-
} | {
|
|
85
|
-
type: "toggle";
|
|
86
|
-
} | {
|
|
87
|
-
type: "place";
|
|
88
|
-
options: Record<string, string>;
|
|
89
|
-
} | {
|
|
90
|
-
type: "color";
|
|
91
|
-
options: {
|
|
92
|
-
colors: string;
|
|
93
|
-
defaultColor: string;
|
|
94
|
-
};
|
|
95
|
-
} | {
|
|
96
|
-
type: "link";
|
|
97
|
-
} | {
|
|
98
|
-
type: "file";
|
|
99
|
-
} | {
|
|
100
|
-
type: "image";
|
|
101
|
-
params?: {
|
|
102
|
-
avatar?: boolean | undefined;
|
|
103
|
-
} | undefined;
|
|
104
|
-
} | {
|
|
105
|
-
type: "audience";
|
|
106
|
-
options?: {
|
|
107
|
-
disableEveryoneAudience?: boolean | undefined;
|
|
108
|
-
views?: ("user" | "folder" | "group" | "businessContact")[] | undefined;
|
|
109
|
-
} | undefined;
|
|
110
|
-
};
|
|
111
|
-
mandatory: boolean;
|
|
112
|
-
dataCy?: string | undefined;
|
|
113
|
-
width?: string | undefined;
|
|
114
|
-
margin?: string | undefined;
|
|
115
|
-
readOnly?: boolean | undefined;
|
|
116
|
-
srOnly?: string | undefined;
|
|
117
|
-
} & {
|
|
118
|
-
displayModal?: boolean | undefined;
|
|
119
|
-
}) => React.JSX.Element;
|
|
10
|
+
export declare const InputTaxonomy: <TFieldValues extends FieldValues>(widget: WidgetTaxonomy, config: InputTaxonomyConfig<TFieldValues>) => (props: DisplayInputComponentProps<TFieldValues> & {
|
|
11
|
+
displayModal?: boolean;
|
|
12
|
+
}) => import("react/jsx-runtime").JSX.Element;
|
|
120
13
|
export {};
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
1
|
import { DisplayInputComponentProps } from '../../types';
|
|
3
2
|
import type { FieldValues } from 'react-hook-form';
|
|
4
|
-
export declare const InputTextarea: <TFieldValues extends FieldValues>(props: DisplayInputComponentProps<TFieldValues>) =>
|
|
3
|
+
export declare const InputTextarea: <TFieldValues extends FieldValues>(props: DisplayInputComponentProps<TFieldValues>) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
1
|
import { DisplayInputComponentProps } from '../../types';
|
|
3
2
|
import type { FieldValues } from 'react-hook-form';
|
|
4
|
-
export declare const OrientedLinkInput: (type?: string, isRequired?: boolean) => <TFieldValues extends FieldValues>({ widget, ...props }: DisplayInputComponentProps<TFieldValues>) =>
|
|
3
|
+
export declare const OrientedLinkInput: (type?: string, isRequired?: boolean) => <TFieldValues extends FieldValues>({ widget, ...props }: DisplayInputComponentProps<TFieldValues>) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -21,7 +21,7 @@ export type ConfigurableAudience = ConfigurableField<'publishTo', {
|
|
|
21
21
|
views?: Array<'folder' | 'user' | 'group' | 'businessContact'>;
|
|
22
22
|
}>;
|
|
23
23
|
export type ConfigurableFields = ConfigurableAudience;
|
|
24
|
-
export declare const ensureConfigurableField: (field: unknown) => field is
|
|
24
|
+
export declare const ensureConfigurableField: (field: unknown) => field is ConfigurableFields;
|
|
25
25
|
export type FieldExtra = {
|
|
26
26
|
name: string;
|
|
27
27
|
extra: FieldConfigExtra;
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
1
|
import { Widget } from 'jamespot-user-api';
|
|
3
2
|
import { Displayer, Fields, FieldsWith, DisplayFormFieldsConfig } from './types';
|
|
4
3
|
import type { FieldValues, FieldPath } from 'react-hook-form';
|
|
@@ -10,7 +9,7 @@ import type { FieldValues, FieldPath } from 'react-hook-form';
|
|
|
10
9
|
*/
|
|
11
10
|
export declare function useDisplay<TFieldValues extends FieldValues = FieldValues, Properties extends FieldPath<TFieldValues> = FieldPath<TFieldValues>>(fields: Fields<TFieldValues> | 'all', type: string, bypassRequiredFields?: boolean): Displayer<TFieldValues>;
|
|
12
11
|
export declare function useDisplayList<TFieldValues extends FieldValues = FieldValues>(fields: FieldsWith<'render', TFieldValues>, type: string): {
|
|
13
|
-
accessor: (object: Object) =>
|
|
12
|
+
accessor: (object: Object) => import("react/jsx-runtime").JSX.Element;
|
|
14
13
|
disableSortBy: true | undefined;
|
|
15
14
|
id: string;
|
|
16
15
|
Header: string;
|