jamespot-react-core 1.1.186 → 1.1.188

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.
@@ -1,7 +1,7 @@
1
1
  import React, { 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
- export declare const DisplayWidget: ({ widget, width, inplace, mode, onWidgetUpdate, cannotDisplayComponent, levelFallback, }: {
4
+ export declare const DisplayWidget: ({ widget, width, inplace, mode, onWidgetUpdate, cannotDisplayComponent, levelFallback, dataCy, }: {
5
5
  widget: CombinedWidgetType;
6
6
  width?: number | undefined;
7
7
  inplace: boolean;
@@ -10,4 +10,5 @@ export declare const DisplayWidget: ({ widget, width, inplace, mode, onWidgetUpd
10
10
  onClick: () => void;
11
11
  cannotDisplayComponent?: ((widget: string) => ReactNode) | undefined;
12
12
  levelFallback?: ((level: WidgetWrapperLevel, url: string) => ReactNode | undefined) | undefined;
13
+ dataCy?: string | undefined;
13
14
  }) => React.JSX.Element;
@@ -9,6 +9,7 @@ type WidgetWrapperCoreProps = {
9
9
  width?: number | undefined;
10
10
  onWidgetUpdate?: () => void;
11
11
  cannotDisplayComponent?: (widget: string) => ReactNode;
12
+ dataCy?: string;
12
13
  };
13
- export declare const WidgetWrapperCore: ({ uniqid, widgetObject, widget, inplace, mode, width, onWidgetUpdate, cannotDisplayComponent, }: WidgetWrapperCoreProps) => React.JSX.Element;
14
+ export declare const WidgetWrapperCore: ({ uniqid, widgetObject, widget, inplace, mode, width, onWidgetUpdate, cannotDisplayComponent, dataCy, }: WidgetWrapperCoreProps) => React.JSX.Element;
14
15
  export default WidgetWrapperCore;
@@ -1,9 +1,10 @@
1
1
  import React from 'react';
2
2
  import { WidgetArticleTitleType, WidgetDisplayMode } from 'jamespot-user-api';
3
- export declare const JRCWidgetArticleTitleWrapper: ({ widget, inplace, mode, }: {
3
+ export declare const JRCWidgetArticleTitleWrapper: ({ widget, inplace, mode, dataCy, }: {
4
4
  widget: WidgetArticleTitleType;
5
5
  inplace: boolean;
6
6
  mode?: "view" | "edit" | "preview" | undefined;
7
+ dataCy?: string | undefined;
7
8
  }) => React.JSX.Element;
8
9
  export declare const Toolbar: ({ heading, onClick }: {
9
10
  heading?: string | undefined;
@@ -1,6 +1,5 @@
1
1
  import React from 'react';
2
- export declare const UIHeader: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
3
- export declare const UIHeaderFlex: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
2
+ export declare const UIDropdown: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
4
3
  export declare const WidgetCalendarCalDavHeader: ({ uniqid, isConfigurationValid, handleLogout, }: {
5
4
  uniqid: string;
6
5
  isConfigurationValid: boolean;
@@ -1,6 +1,5 @@
1
1
  import React from 'react';
2
- export declare const UIHeader: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
3
- export declare const UIHeaderFlex: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
2
+ export declare const UIDropdown: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
4
3
  export declare const WidgetContactCardDavHeader: ({ uniqid, isConfigurationValid, handleLogout, }: {
5
4
  uniqid: string;
6
5
  isConfigurationValid: boolean;
@@ -1,11 +1,8 @@
1
1
  import React from 'react';
2
- export declare const UIHeaderWrapper: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {
3
- backroundColor: string;
2
+ export declare const UIDropdown: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
3
+ export declare const UICount: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {
4
4
  color: string;
5
5
  }, never>;
6
- export declare const UIHeader: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
7
- export declare const UICount: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
8
- export declare const UIHeaderFlex: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
9
6
  export declare const WidgetEmailsImapHeader: ({ uniqid, isConfigurationValid, handleLogout, }: {
10
7
  uniqid: string;
11
8
  isConfigurationValid: boolean;
@@ -10,10 +10,11 @@ export type JRCWidgetEmailsImapProps = {
10
10
  inplace: boolean;
11
11
  mode?: WidgetDisplayMode;
12
12
  };
13
- export declare const officeConfigurationInitalState: {
13
+ export declare const officeConfigurationInitialState: {
14
14
  username: string;
15
15
  password: string;
16
16
  hostname: string;
17
+ imapPort: number;
17
18
  imapMailbox: string;
18
19
  cardDavAddressBook: string;
19
20
  calDavCalendar: string;
@@ -1,7 +1,6 @@
1
1
  import React from 'react';
2
2
  export declare const UIHeaderWrapper: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {
3
3
  backroundColor: string;
4
- color: string;
5
4
  }, never>;
6
5
  export declare const UIHeader: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
7
6
  export declare const UICount: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
@@ -9,5 +8,5 @@ export declare const UIHeaderFlex: import("styled-components").StyledComponent<"
9
8
  export declare const WidgetHeader: ({ uniqid, dropdown, subHeader, }: {
10
9
  uniqid: string;
11
10
  dropdown?: (() => React.ReactNode) | undefined;
12
- subHeader?: (() => React.ReactNode) | undefined;
11
+ subHeader?: ((color: string) => React.ReactNode) | undefined;
13
12
  }) => React.JSX.Element;
@@ -4,10 +4,12 @@ export declare const UITitle: import("styled-components").StyledComponent<"div",
4
4
  fontSize: string;
5
5
  fontWeight: string;
6
6
  textAlign: string;
7
+ color: string;
7
8
  }, never>;
8
- export declare const WidgetIntranetTitle: ({ uniqid, textAlign, fontSize, fontWeight, }: {
9
+ export declare const WidgetIntranetTitle: ({ uniqid, textAlign, fontSize, fontWeight, color, }: {
9
10
  uniqid: string;
10
11
  textAlign: string;
11
12
  fontSize: string;
12
13
  fontWeight: string;
14
+ color: string;
13
15
  }) => React.JSX.Element;
@@ -15,6 +15,7 @@ declare const _default: {
15
15
  readonly CardImg: "JRCCardImg";
16
16
  readonly Checkbox: "JRCCheckbox";
17
17
  readonly ClickAwayListener: "ClickAwayListener";
18
+ readonly Collapse: "JRCCollapse";
18
19
  readonly Column: "JRCColumn";
19
20
  readonly ColumnCenter: "JRCColumnCenter";
20
21
  readonly ColumnLeft: "JRCColumnLeft";
@@ -1,4 +1,4 @@
1
- import { ApplicationType, jUserList, Model, Readable, TinyMCECommonOptions, TinyMCEDynamicOptions, TinyMCEExtendedOptions } from 'jamespot-user-api';
1
+ import { ApplicationType, jUserList, MailDefaultFrequencies, Model, Readable, TinyMCECommonOptions, TinyMCEDynamicOptions, TinyMCEExtendedOptions } from 'jamespot-user-api';
2
2
  import { MouseEvent } from 'react';
3
3
  import { RouteObject } from 'react-router-dom';
4
4
  import { TwoColLayoutRoute, TwoColLayoutRoutes } from '../components/types';
@@ -94,6 +94,9 @@ export interface WindowJ {
94
94
  jUserCurrent?: jUserList;
95
95
  jamespotReactTheme: any;
96
96
  applications: ApplicationType[];
97
+ properties: {
98
+ mailDefaultFrequency: MailDefaultFrequencies;
99
+ };
97
100
  hooks: {
98
101
  [name: string]: any;
99
102
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "jamespot-react-core",
3
- "version": "1.1.186",
3
+ "version": "1.1.188",
4
4
  "description": "Jamespot React Core",
5
5
  "main": "./build/app.bundle.js",
6
6
  "types": "./build/src/App.d.ts",
@@ -57,8 +57,8 @@
57
57
  "eslint-plugin-import": "^2.31.0",
58
58
  "history": "^5.3.0",
59
59
  "jamespot-front-business": "^1.1.85",
60
- "jamespot-react-components": "^1.0.235",
61
- "jamespot-user-api": "^1.0.211",
60
+ "jamespot-react-components": "^1.0.237",
61
+ "jamespot-user-api": "^1.0.213",
62
62
  "marked": "^15.0.3",
63
63
  "react": "^17.0.2",
64
64
  "react-dom": "17.0.2",