jamespot-react-core 1.1.189 → 1.1.190

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,6 +1,7 @@
1
1
  import React from 'react';
2
2
  export type CommentsBlocProps = {
3
3
  articleId: number;
4
+ articleUri: string;
4
5
  variant?: 'modal' | 'inline';
5
6
  canComment: boolean;
6
7
  commentType?: 'comment' | 'commentResponse';
@@ -10,4 +11,4 @@ export type CommentsBlocProps = {
10
11
  canSelectResponse: boolean;
11
12
  };
12
13
  };
13
- export declare const CommentsBloc: ({ articleId, variant, canComment, commentType, socialQuestion, }: CommentsBlocProps) => React.JSX.Element;
14
+ export declare const CommentsBloc: ({ articleId, variant, canComment, commentType, socialQuestion, articleUri, }: CommentsBlocProps) => React.JSX.Element;
@@ -0,0 +1,8 @@
1
+ import React from 'react';
2
+ export type AddReportModalProps = {
3
+ onClose: () => void;
4
+ articleId: number;
5
+ articleUri: string;
6
+ commentUri: string;
7
+ };
8
+ export declare const AddReportModal: ({ onClose, articleId, articleUri, commentUri }: AddReportModalProps) => React.JSX.Element;
@@ -15,6 +15,7 @@ export declare const officeConfigurationInitialState: {
15
15
  password: string;
16
16
  hostname: string;
17
17
  imapPort: number;
18
+ imapConnectionSecurity: "none";
18
19
  imapMailbox: string;
19
20
  cardDavAddressBook: string;
20
21
  calDavCalendar: string;
@@ -1,6 +1,6 @@
1
1
  /// <reference types="react" />
2
2
  import { Reducer } from '@reduxjs/toolkit';
3
- import { Application, Comment, Hook, Model, Share, studio, TVDisplay, UserCurrent, WedocApp, Bookmark, MediaLibrary, MagicPad, jland, Faq, AssetReservation, Animations, AdminLogs, Widget, WidgetEditor } from 'jamespot-front-business';
3
+ import { Application, Comment, Hook, Model, Share, studio, TVDisplay, UserCurrent, WedocApp, Bookmark, MediaLibrary, MagicPad, jland, Faq, AssetReservation, Animations, AdminLogs, Widget, WidgetEditor, ContentReport } from 'jamespot-front-business';
4
4
  import { ApplicationType, HookListType, jUserList, Model as ModelType, NetworkType, TinyMCECommonOptions, TinyMCEExtendedOptions } from 'jamespot-user-api';
5
5
  import { ArticleActionsType, ArticleSelectorType } from './slice/Article.slice';
6
6
  import { GenericActionsType } from './slice/Generic.actions';
@@ -33,6 +33,7 @@ export type AsyncReducers = {
33
33
  [AssetReservation.slice.name]: typeof AssetReservation.slice.reducer;
34
34
  [Bookmark.slice.name]: typeof Bookmark.slice.reducer;
35
35
  [Comment.slice.name]: typeof Comment.slice.reducer;
36
+ [ContentReport.slice.name]: typeof ContentReport.slice.reducer;
36
37
  [Faq.slice.name]: typeof Faq.slice.reducer;
37
38
  [MagicPad.slice.name]: typeof MagicPad.slice.reducer;
38
39
  [MediaLibrary.slice.name]: typeof MediaLibrary.slice.reducer;
@@ -377,6 +378,7 @@ declare function createStore(initialAsyncReducers: AsyncReducers): import("@redu
377
378
  bookmarkList: import("jamespot-front-business").bookmarkListState;
378
379
  bookmarkEdit: import("jamespot-front-business").bookmarkEditState;
379
380
  }>;
381
+ contentReport: import("jamespot-front-business").ContentReportSliceRootState;
380
382
  faq: import("redux").CombinedState<{
381
383
  config: {
382
384
  loading: "idle" | "pending";
@@ -1295,6 +1297,7 @@ declare function createStore(initialAsyncReducers: AsyncReducers): import("@redu
1295
1297
  bookmarkList: import("jamespot-front-business").bookmarkListState;
1296
1298
  bookmarkEdit: import("jamespot-front-business").bookmarkEditState;
1297
1299
  }>;
1300
+ contentReport: import("jamespot-front-business").ContentReportSliceRootState;
1298
1301
  faq: import("redux").CombinedState<{
1299
1302
  config: {
1300
1303
  loading: "idle" | "pending";
@@ -2218,6 +2221,7 @@ export declare const useAppDispatch: () => import("@reduxjs/toolkit").ThunkDispa
2218
2221
  bookmarkList: import("jamespot-front-business").bookmarkListState;
2219
2222
  bookmarkEdit: import("jamespot-front-business").bookmarkEditState;
2220
2223
  }>;
2224
+ contentReport: import("jamespot-front-business").ContentReportSliceRootState;
2221
2225
  faq: import("redux").CombinedState<{
2222
2226
  config: {
2223
2227
  loading: "idle" | "pending";
@@ -4,6 +4,7 @@
4
4
  export declare const coreComponentsMapping: {
5
5
  readonly Audience: "Audience";
6
6
  readonly Avatar: "Avatar";
7
+ readonly AddReportModal: "AddReportModal";
7
8
  readonly CommentsBloc: "CommentsBloc";
8
9
  readonly DisplayForm: "DisplayForm";
9
10
  readonly EditorsPortal: "EditorsPortal";
@@ -4,6 +4,7 @@
4
4
  export { Audience } from '../components/Audience';
5
5
  export { AIModal } from '../components/tinymce/extension/AIModal';
6
6
  export { Avatar } from '../components/Avatar';
7
+ export { AddReportModal } from '../components/comments/AddReportModal';
7
8
  export { CommentsBloc } from '../components/CommentsBloc';
8
9
  export { DisplayForm } from '../displayer/DisplayForm.component';
9
10
  export { EditorsPortal } from '../components/editors/EditorsPortal';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "jamespot-react-core",
3
- "version": "1.1.189",
3
+ "version": "1.1.190",
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.86",
60
- "jamespot-react-components": "^1.0.238",
61
- "jamespot-user-api": "^1.0.214",
59
+ "jamespot-front-business": "^1.1.87",
60
+ "jamespot-react-components": "^1.0.239",
61
+ "jamespot-user-api": "^1.0.215",
62
62
  "marked": "^15.0.3",
63
63
  "react": "^17.0.2",
64
64
  "react-dom": "17.0.2",