@manuscripts/article-editor 3.8.91 → 3.9.0
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/dist/cjs/EditorApp.js +2 -7
- package/dist/cjs/EditorApp.js.map +1 -1
- package/dist/cjs/Main.js +2 -2
- package/dist/cjs/Main.js.map +1 -1
- package/dist/cjs/api/Api.js +9 -3
- package/dist/cjs/api/Api.js.map +1 -1
- package/dist/cjs/components/Page.js +0 -7
- package/dist/cjs/components/Page.js.map +1 -1
- package/dist/cjs/index.js +2 -20
- package/dist/cjs/index.js.map +1 -1
- package/dist/cjs/lib/attrs-change-filter.js +3 -3
- package/dist/cjs/lib/attrs-change-filter.js.map +1 -1
- package/dist/cjs/lib/node-content-retriever.js.map +1 -1
- package/dist/cjs/store/Store.js.map +1 -1
- package/dist/es/EditorApp.js +2 -7
- package/dist/es/EditorApp.js.map +1 -1
- package/dist/es/Main.js +2 -2
- package/dist/es/Main.js.map +1 -1
- package/dist/es/api/Api.js +9 -3
- package/dist/es/api/Api.js.map +1 -1
- package/dist/es/components/Page.js +0 -7
- package/dist/es/components/Page.js.map +1 -1
- package/dist/es/index.js +3 -21
- package/dist/es/index.js.map +1 -1
- package/dist/es/lib/attrs-change-filter.js +3 -3
- package/dist/es/lib/attrs-change-filter.js.map +1 -1
- package/dist/es/lib/node-content-retriever.js.map +1 -1
- package/dist/es/store/Store.js.map +1 -1
- package/dist/types/EditorApp.d.ts +1 -1
- package/dist/types/api/Api.d.ts +3 -2
- package/dist/types/store/Store.d.ts +0 -2
- package/package.json +3 -5
- package/dist/cjs/lib/authorization.js +0 -31
- package/dist/cjs/lib/authorization.js.map +0 -1
- package/dist/cjs/lib/client.js +0 -31
- package/dist/cjs/lib/client.js.map +0 -1
- package/dist/cjs/lib/token.js +0 -25
- package/dist/cjs/lib/token.js.map +0 -1
- package/dist/cjs/lib/user-id.js +0 -25
- package/dist/cjs/lib/user-id.js.map +0 -1
- package/dist/cjs/lib/user.js +0 -29
- package/dist/cjs/lib/user.js.map +0 -1
- package/dist/cjs/store/TokenData.js +0 -68
- package/dist/cjs/store/TokenData.js.map +0 -1
- package/dist/es/lib/authorization.js +0 -24
- package/dist/es/lib/authorization.js.map +0 -1
- package/dist/es/lib/client.js +0 -26
- package/dist/es/lib/client.js.map +0 -1
- package/dist/es/lib/token.js +0 -22
- package/dist/es/lib/token.js.map +0 -1
- package/dist/es/lib/user-id.js +0 -22
- package/dist/es/lib/user-id.js.map +0 -1
- package/dist/es/lib/user.js +0 -22
- package/dist/es/lib/user.js.map +0 -1
- package/dist/es/store/TokenData.js +0 -61
- package/dist/es/store/TokenData.js.map +0 -1
- package/dist/types/lib/authorization.d.ts +0 -13
- package/dist/types/lib/client.d.ts +0 -13
- package/dist/types/lib/token.d.ts +0 -18
- package/dist/types/lib/user-id.d.ts +0 -18
- package/dist/types/lib/user.d.ts +0 -20
- package/dist/types/store/TokenData.d.ts +0 -30
@@ -1,18 +0,0 @@
|
|
1
|
-
/*!
|
2
|
-
* The contents of this file are subject to the Common Public Attribution License Version 1.0 (the “License”); you may not use this file except in compliance with the License. You may obtain a copy of the License at https://mpapp-public.gitlab.io/manuscripts-frontend/LICENSE. The License is based on the Mozilla Public License Version 1.1 but Sections 14 and 15 have been added to cover use of software over a computer network and provide for limited attribution for the Original Developer. In addition, Exhibit A has been modified to be consistent with Exhibit B.
|
3
|
-
*
|
4
|
-
* Software distributed under the License is distributed on an “AS IS” basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License for the specific language governing rights and limitations under the License.
|
5
|
-
*
|
6
|
-
* The Original Code is manuscripts-frontend.
|
7
|
-
*
|
8
|
-
* The Original Developer is the Initial Developer. The Initial Developer of the Original Code is Atypon Systems LLC.
|
9
|
-
*
|
10
|
-
* All portions of the code written by Atypon Systems LLC are Copyright (c) 2019 Atypon Systems LLC. All Rights Reserved.
|
11
|
-
*/
|
12
|
-
export declare const USER_ID_KEY = "userID";
|
13
|
-
declare const _default: {
|
14
|
-
get: () => string | null;
|
15
|
-
set: (userID: string) => string;
|
16
|
-
remove: () => void;
|
17
|
-
};
|
18
|
-
export default _default;
|
package/dist/types/lib/user.d.ts
DELETED
@@ -1,20 +0,0 @@
|
|
1
|
-
/*!
|
2
|
-
* The contents of this file are subject to the Common Public Attribution License Version 1.0 (the “License”); you may not use this file except in compliance with the License. You may obtain a copy of the License at https://mpapp-public.gitlab.io/manuscripts-frontend/LICENSE. The License is based on the Mozilla Public License Version 1.1 but Sections 14 and 15 have been added to cover use of software over a computer network and provide for limited attribution for the Original Developer. In addition, Exhibit A has been modified to be consistent with Exhibit B.
|
3
|
-
*
|
4
|
-
* Software distributed under the License is distributed on an “AS IS” basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License for the specific language governing rights and limitations under the License.
|
5
|
-
*
|
6
|
-
* The Original Code is manuscripts-frontend.
|
7
|
-
*
|
8
|
-
* The Original Developer is the Initial Developer. The Initial Developer of the Original Code is Atypon Systems LLC.
|
9
|
-
*
|
10
|
-
* All portions of the code written by Atypon Systems LLC are Copyright (c) 2019 Atypon Systems LLC. All Rights Reserved.
|
11
|
-
*/
|
12
|
-
export interface TokenPayload {
|
13
|
-
userID: string;
|
14
|
-
email: string;
|
15
|
-
deviceID: string;
|
16
|
-
aud: string;
|
17
|
-
iss: string;
|
18
|
-
iat: number;
|
19
|
-
}
|
20
|
-
export declare const getCurrentUserId: () => string | null;
|
@@ -1,30 +0,0 @@
|
|
1
|
-
/*!
|
2
|
-
* The contents of this file are subject to the Common Public Attribution License Version 1.0 (the “License”); you may not use this file except in compliance with the License. You may obtain a copy of the License at https://mpapp-public.gitlab.io/manuscripts-frontend/LICENSE. The License is based on the Mozilla Public License Version 1.1 but Sections 14 and 15 have been added to cover use of software over a computer network and provide for limited attribution for the Original Developer. In addition, Exhibit A has been modified to be consistent with Exhibit B.
|
3
|
-
*
|
4
|
-
* Software distributed under the License is distributed on an “AS IS” basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License for the specific language governing rights and limitations under the License.
|
5
|
-
*
|
6
|
-
* The Original Code is manuscripts-frontend.
|
7
|
-
*
|
8
|
-
* The Original Developer is the Initial Developer. The Initial Developer of the Original Code is Atypon Systems LLC.
|
9
|
-
*
|
10
|
-
* All portions of the code written by Atypon Systems LLC are Copyright (c) 2019 Atypon Systems LLC. All Rights Reserved.
|
11
|
-
*/
|
12
|
-
export interface TokenActions {
|
13
|
-
delete: () => void;
|
14
|
-
update: (token: string) => void;
|
15
|
-
}
|
16
|
-
export declare class TokenData {
|
17
|
-
private token;
|
18
|
-
private loaded;
|
19
|
-
private data;
|
20
|
-
constructor();
|
21
|
-
getTokenActions(): {
|
22
|
-
delete: () => void;
|
23
|
-
update: (token: string) => void;
|
24
|
-
userID?: string | undefined;
|
25
|
-
userProfileID?: string | undefined;
|
26
|
-
} | null;
|
27
|
-
private parseToken;
|
28
|
-
private deleteToken;
|
29
|
-
private updateToken;
|
30
|
-
}
|