jamespot-react-core 1.1.174 → 1.1.176
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/235.bundle.js +544 -0
- package/build/235.bundle.js.map +1 -0
- package/build/app.bundle.js +954 -785
- package/build/app.bundle.js.map +1 -1
- package/build/src/components/editors/components/EditorSave.d.ts +6 -0
- package/build/src/components/widgets/wrapper/JRCWidgetCheckListWrapper.d.ts +1 -3
- package/build/src/components/widgets/wrapper/JRCWidgetPresenceWrapper.d.ts +1 -1
- package/build/src/components/widgets/wrapper/JRCWidgetPresenceWrapperClosing.d.ts +2 -2
- package/build/src/components/widgets/wrapper/JRCWidgetQuickSurveyWrapper.d.ts +9 -0
- package/build/src/components/widgets/wrapper/components/WidgetInlineInputText.d.ts +6 -0
- package/build/src/components/widgets/wrapper/components/WidgetIsPending.d.ts +3 -0
- package/build/src/hooks/index.d.ts +2 -1
- package/build/src/hooks/useNGEvent.d.ts +9 -0
- package/build/src/registry/ext-component-list.d.ts +3 -0
- package/package.json +4 -4
- package/build/823.bundle.js +0 -525
- package/build/823.bundle.js.map +0 -1
|
@@ -3,9 +3,7 @@ import React from 'react';
|
|
|
3
3
|
export declare const CSSRowLinkWrapper: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {
|
|
4
4
|
border?: boolean | undefined;
|
|
5
5
|
}, never>;
|
|
6
|
-
export declare const
|
|
7
|
-
border?: boolean | undefined;
|
|
8
|
-
}, never>;
|
|
6
|
+
export declare const CSSWidgetCheckListWrapper: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
|
|
9
7
|
type JRCWidgetCheckListWrapperProps = {
|
|
10
8
|
widget: WidgetCheckListType;
|
|
11
9
|
inplace: boolean;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
1
|
import { WidgetDisplayMode, WidgetPresenceType } from 'jamespot-user-api';
|
|
2
|
+
import React from 'react';
|
|
3
3
|
export declare const CSSWidgetPresenceWrapper: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
|
|
4
4
|
export declare const CSSWidgetPresenceState: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
|
|
5
5
|
export declare const JRCWidgetPresenceWrapper: ({ widget, mode, }: {
|
|
@@ -9,6 +9,6 @@ export declare const WidgetPresenceWrapperClosing: ({ mode, uniqid, isClosed, }:
|
|
|
9
9
|
} & Pick<{
|
|
10
10
|
limit?: number | boolean | undefined;
|
|
11
11
|
limitValue?: number | undefined;
|
|
12
|
-
closing?: boolean | undefined;
|
|
13
|
-
isClosed?: boolean | undefined;
|
|
12
|
+
closing?: boolean | 0 | 1 | undefined;
|
|
13
|
+
isClosed?: boolean | 0 | 1 | undefined;
|
|
14
14
|
}, "isClosed">) => React.JSX.Element;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { WidgetDisplayMode, WidgetQuickSurveyType } from 'jamespot-user-api';
|
|
2
|
+
import React from 'react';
|
|
3
|
+
type JRCWidgetQuickSurveyWrapperProps = {
|
|
4
|
+
widget: WidgetQuickSurveyType;
|
|
5
|
+
inplace: boolean;
|
|
6
|
+
mode?: WidgetDisplayMode;
|
|
7
|
+
};
|
|
8
|
+
export declare const JRCWidgetQuickSurveyWrapper: ({ widget, inplace, mode }: JRCWidgetQuickSurveyWrapperProps) => React.JSX.Element;
|
|
9
|
+
export {};
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
export declare const CSSWrapper: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
|
|
3
|
+
export declare const WidgetInlineInputText: ({ placeholder, handleClick, }: {
|
|
4
|
+
placeholder: string;
|
|
5
|
+
handleClick: (label: string) => void;
|
|
6
|
+
}) => React.JSX.Element;
|
|
@@ -2,4 +2,5 @@ import useWindowDimension from './useWindowDimension';
|
|
|
2
2
|
import useAbortController from './useAbortController';
|
|
3
3
|
import useToggleFullScreen from './useToggleFullScreen';
|
|
4
4
|
import useCommentRT from './useCommentRT';
|
|
5
|
-
|
|
5
|
+
import { useNGEvent } from './useNGEvent';
|
|
6
|
+
export { useWindowDimension, useAbortController, useToggleFullScreen, useCommentRT, useNGEvent };
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This hook catch angular event
|
|
3
|
+
*
|
|
4
|
+
* - ngLocationChangeSuccess - Trigger when angular router change path
|
|
5
|
+
* Use it only when you'r not in Router context. Otherwise, use useLocation from react-router-dom
|
|
6
|
+
*/
|
|
7
|
+
export declare const useNGEvent: () => {
|
|
8
|
+
pathname: string;
|
|
9
|
+
};
|
|
@@ -111,6 +111,7 @@ declare const _default: {
|
|
|
111
111
|
readonly ModalContentForm: "JRCModalContentForm";
|
|
112
112
|
readonly ModalForm: "JRCModalForm";
|
|
113
113
|
readonly ModalImg: "JRCModalImg";
|
|
114
|
+
readonly ModalUserList: "JRCModalUserList";
|
|
114
115
|
readonly ModalLayout: "JRCModalLayout";
|
|
115
116
|
readonly PageNotLogged: "JRCPageNotLogged";
|
|
116
117
|
readonly Pagination: "JRCPagination";
|
|
@@ -163,6 +164,8 @@ declare const _default: {
|
|
|
163
164
|
readonly WidgetEmptyInplace: "JRCWidgetEmptyInplace";
|
|
164
165
|
readonly WidgetCheckList: "JRCWidgetCheckList";
|
|
165
166
|
readonly WidgetCheckListEditor: "JRCWidgetCheckListEditor";
|
|
167
|
+
readonly WidgetQuickSurvey: "JRCWidgetQuickSurvey";
|
|
168
|
+
readonly WidgetQuickSurveyEditor: "JRCWidgetQuickSurveyEditor";
|
|
166
169
|
readonly JRCAvatar: "JRCAvatar";
|
|
167
170
|
readonly JRCCommentsBloc: "JRCCommentsBloc";
|
|
168
171
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "jamespot-react-core",
|
|
3
|
-
"version": "1.1.
|
|
3
|
+
"version": "1.1.176",
|
|
4
4
|
"description": "Jamespot React Core",
|
|
5
5
|
"main": "./build/app.bundle.js",
|
|
6
6
|
"types": "./build/src/App.d.ts",
|
|
@@ -53,9 +53,9 @@
|
|
|
53
53
|
"dependencies": {
|
|
54
54
|
"@reduxjs/toolkit": "^1.9.0",
|
|
55
55
|
"history": "^5.3.0",
|
|
56
|
-
"jamespot-front-business": "^1.1.
|
|
57
|
-
"jamespot-react-components": "^1.0.
|
|
58
|
-
"jamespot-user-api": "^1.0.
|
|
56
|
+
"jamespot-front-business": "^1.1.78",
|
|
57
|
+
"jamespot-react-components": "^1.0.221",
|
|
58
|
+
"jamespot-user-api": "^1.0.202",
|
|
59
59
|
"react": "^17.0.2",
|
|
60
60
|
"react-dom": "^17.0.2",
|
|
61
61
|
"react-hook-form": "^7.25.0",
|