jamespot-react-core 1.1.187 → 1.1.189

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.
@@ -7,7 +7,6 @@ export declare const DisplayWidget: ({ widget, width, inplace, mode, onWidgetUpd
7
7
  inplace: boolean;
8
8
  mode: WidgetDisplayMode;
9
9
  onWidgetUpdate?: (() => void) | undefined;
10
- onClick: () => void;
11
10
  cannotDisplayComponent?: ((widget: string) => ReactNode) | undefined;
12
11
  levelFallback?: ((level: WidgetWrapperLevel, url: string) => ReactNode | undefined) | undefined;
13
12
  dataCy?: 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,15 +10,14 @@ 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;
20
21
  provider: string;
21
22
  };
22
- export declare const OfficeConfigurationPrompt: ({ handleCallback }: {
23
- handleCallback?: ((isValid: boolean) => void) | undefined;
24
- }) => React.JSX.Element;
23
+ export declare const OfficeConfigurationPrompt: () => React.JSX.Element;
@@ -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;
@@ -7,8 +7,8 @@ export declare const UIWrapper: import("styled-components").StyledComponent<"div
7
7
  borderRadius: string;
8
8
  overflow: string;
9
9
  }, never>;
10
- export declare const WidgetStyleWrapper: React.ForwardRefExoticComponent<{
10
+ export declare const WidgetStyleWrapper: ({ uniqid, onClick, children, }: {
11
11
  uniqid: string;
12
12
  onClick: () => void;
13
13
  children: React.ReactNode;
14
- } & React.RefAttributes<unknown>>;
14
+ }) => React.JSX.Element;
@@ -7,7 +7,7 @@ export declare const getVisibleColumns: (tableColumnsData: {
7
7
  dateFormat?: "date" | "time" | "date-time" | "date-time-sec" | "time-sec" | undefined;
8
8
  numberFormat?: "fr-FR" | "en-EN" | "filesize" | undefined;
9
9
  }[], columns: WidgetTableColumn[]) => {
10
- type: "number" | "uri" | "title" | "date" | "select" | "text" | "email" | "file" | "url" | "datetime" | "transient";
10
+ type: "number" | "uri" | "title" | "url" | "date" | "select" | "text" | "email" | "file" | "datetime" | "transient";
11
11
  name: string;
12
12
  label: string;
13
13
  widget: {} | {
@@ -662,7 +662,7 @@ declare function createStore(initialAsyncReducers: AsyncReducers): import("@redu
662
662
  tvChannelNumImages: 0;
663
663
  tvChannelConfig: {
664
664
  key: string;
665
- backgroundType?: "image" | "color" | undefined;
665
+ backgroundType?: "color" | "image" | undefined;
666
666
  globalShowComment?: boolean | undefined;
667
667
  scaleImg?: boolean | undefined;
668
668
  contents?: {
@@ -816,7 +816,7 @@ declare function createStore(initialAsyncReducers: AsyncReducers): import("@redu
816
816
  tvChannelNumImages: number;
817
817
  tvChannelConfig: {
818
818
  key: string;
819
- backgroundType?: "image" | "color" | undefined;
819
+ backgroundType?: "color" | "image" | undefined;
820
820
  globalShowComment?: boolean | undefined;
821
821
  scaleImg?: boolean | undefined;
822
822
  contents?: {
@@ -1580,7 +1580,7 @@ declare function createStore(initialAsyncReducers: AsyncReducers): import("@redu
1580
1580
  tvChannelNumImages: 0;
1581
1581
  tvChannelConfig: {
1582
1582
  key: string;
1583
- backgroundType?: "image" | "color" | undefined;
1583
+ backgroundType?: "color" | "image" | undefined;
1584
1584
  globalShowComment?: boolean | undefined;
1585
1585
  scaleImg?: boolean | undefined;
1586
1586
  contents?: {
@@ -1734,7 +1734,7 @@ declare function createStore(initialAsyncReducers: AsyncReducers): import("@redu
1734
1734
  tvChannelNumImages: number;
1735
1735
  tvChannelConfig: {
1736
1736
  key: string;
1737
- backgroundType?: "image" | "color" | undefined;
1737
+ backgroundType?: "color" | "image" | undefined;
1738
1738
  globalShowComment?: boolean | undefined;
1739
1739
  scaleImg?: boolean | undefined;
1740
1740
  contents?: {
@@ -2503,7 +2503,7 @@ export declare const useAppDispatch: () => import("@reduxjs/toolkit").ThunkDispa
2503
2503
  tvChannelNumImages: 0;
2504
2504
  tvChannelConfig: {
2505
2505
  key: string;
2506
- backgroundType?: "image" | "color" | undefined;
2506
+ backgroundType?: "color" | "image" | undefined;
2507
2507
  globalShowComment?: boolean | undefined;
2508
2508
  scaleImg?: boolean | undefined;
2509
2509
  contents?: {
@@ -2657,7 +2657,7 @@ export declare const useAppDispatch: () => import("@reduxjs/toolkit").ThunkDispa
2657
2657
  tvChannelNumImages: number;
2658
2658
  tvChannelConfig: {
2659
2659
  key: string;
2660
- backgroundType?: "image" | "color" | undefined;
2660
+ backgroundType?: "color" | "image" | undefined;
2661
2661
  globalShowComment?: boolean | undefined;
2662
2662
  scaleImg?: boolean | undefined;
2663
2663
  contents?: {
@@ -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.187",
3
+ "version": "1.1.189",
4
4
  "description": "Jamespot React Core",
5
5
  "main": "./build/app.bundle.js",
6
6
  "types": "./build/src/App.d.ts",
@@ -56,9 +56,9 @@
56
56
  "eslint-import-resolver-typescript": "^3.6.3",
57
57
  "eslint-plugin-import": "^2.31.0",
58
58
  "history": "^5.3.0",
59
- "jamespot-front-business": "^1.1.85",
60
- "jamespot-react-components": "^1.0.236",
61
- "jamespot-user-api": "^1.0.212",
59
+ "jamespot-front-business": "^1.1.86",
60
+ "jamespot-react-components": "^1.0.238",
61
+ "jamespot-user-api": "^1.0.214",
62
62
  "marked": "^15.0.3",
63
63
  "react": "^17.0.2",
64
64
  "react-dom": "17.0.2",