jamespot-react-core 1.1.130 → 1.1.132

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.
@@ -22,7 +22,7 @@ declare class App implements ReactCore {
22
22
  tinymceCommonOptions?: TinyMCECommonOptions;
23
23
  constructor(store: JInjectStore, ActionCreators: object, registry: ReactRegistry, locale: SupportedLanguages, translation: ReactTranslation, socket: ReactSocket);
24
24
  require: (extensionName: string, args?: any) => void;
25
- unmountExtension: (extensionName: string) => void;
25
+ unmountExtension: (extensionName: string, args?: any) => void;
26
26
  extensionAdd(extensionName: string, load: () => void): void;
27
27
  routeAdd(route: string, extensionName: string, idDiv: string, gabarit?: Gabarit, gabaritOptions?: object): void;
28
28
  transitionTo(stateName: string, args: {}, options?: {
@@ -4,6 +4,7 @@ declare const _default: {
4
4
  readonly AppContainer: "JRCAppContainer";
5
5
  readonly AppHeader: "JRCAppHeader";
6
6
  readonly AppLeftColumn: "JRCAppLeftColumn";
7
+ readonly Attachments: "JRCAttachments";
7
8
  readonly AutocompleteAudienceField: "JRCAutocompleteAudienceField";
8
9
  readonly AutocompleteCommunityField: "JRCAutocompleteCommunityField";
9
10
  readonly AutocompleteTaxonomyField: "JRCAutocompleteTaxonomyField";
@@ -23,6 +24,7 @@ declare const _default: {
23
24
  readonly ColumnCenter: "JRCColumnCenter";
24
25
  readonly ColumnLeft: "JRCColumnLeft";
25
26
  readonly ColumnRight: "JRCColumnRight";
27
+ readonly CommentsBloc: "JRCCommentsBloc";
26
28
  readonly ConditionalWrapper: "JRCConditionalWrapper";
27
29
  readonly Container: "JRCContainer";
28
30
  readonly Date: "JRCDate";
@@ -128,6 +130,7 @@ declare const _default: {
128
130
  readonly TinyMCEVideoUploadModal: "JRCTinyMCEVideoUploadModal";
129
131
  readonly Tooltip: "JRCTooltip";
130
132
  readonly Typography: "JRCTypography";
133
+ readonly UserPopup: "JRCUserPopup";
131
134
  readonly ValidationButton: "JRCValidationButton";
132
135
  readonly WidgetArticleAttachment: "JRCWidgetArticleAttachment";
133
136
  readonly WidgetArticleAttachmentEditor: "JRCWidgetArticleAttachmentEditor";
@@ -2,7 +2,6 @@ import { ApplicationType, jUserList, Model, Namespaces, Readable, RTMessageWsPre
2
2
  import * as React from 'react';
3
3
  import { useDisplay, useDisplayList } from '../displayer/useDisplay';
4
4
  import { ReactRegistry } from '../registry/Registry';
5
- import { JrComponentListType } from '../registry/types';
6
5
  import { ReactRouter } from './router';
7
6
  import { ReactTranslation, SupportedLanguages, TranslationKeys } from './translation';
8
7
  import { AnyRTHandlerFunction } from 'jamespot-user-api';
@@ -42,7 +41,10 @@ export type ReactLoadedExtensions = {
42
41
  };
43
42
  export interface ReactExtension {
44
43
  initExtension: (args?: any) => void;
45
- unmountExtension: (node?: Element) => void;
44
+ unmountExtension: (args?: {
45
+ node?: Element;
46
+ params?: any;
47
+ }) => void;
46
48
  }
47
49
  export interface ReactExtensionContainer {
48
50
  default: ReactExtension;
@@ -135,7 +137,6 @@ export interface WindowJ {
135
137
  config: JConfig;
136
138
  resources: TranslationKeys;
137
139
  jUserCurrent: jUserList;
138
- jamespotReactComponentList: JrComponentListType;
139
140
  jamespotReactTheme: any;
140
141
  applications: ApplicationType[];
141
142
  hooks: {
@@ -152,6 +153,8 @@ export interface WindowJ {
152
153
  };
153
154
  networks: Networks;
154
155
  tinymceDynamicOptions: TinyMCEDynamicOptions;
156
+ userHighlightFields: string[];
157
+ userAccountStatus: 0 | 1;
155
158
  }
156
159
  export type IsAppActivateProps = {
157
160
  dependency: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "jamespot-react-core",
3
- "version": "1.1.130",
3
+ "version": "1.1.132",
4
4
  "description": "Jamespot React Core",
5
5
  "main": "./build/app.bundle.js",
6
6
  "types": "./build/src/App.d.ts",
@@ -50,9 +50,9 @@
50
50
  "dependencies": {
51
51
  "@reduxjs/toolkit": "^1.9.0",
52
52
  "history": "^5.3.0",
53
- "jamespot-front-business": "^1.1.36",
54
- "jamespot-react-components": "^1.0.168",
55
- "jamespot-user-api": "^1.0.140",
53
+ "jamespot-front-business": "^1.1.38",
54
+ "jamespot-react-components": "^1.0.170",
55
+ "jamespot-user-api": "^1.0.142",
56
56
  "react": "^17.0.2",
57
57
  "react-dom": "^17.0.2",
58
58
  "react-hook-form": "^7.25.0",