@manuscripts/article-editor 3.9.1-LEAN-2023.0 → 3.9.1-LEAN-4533.1
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 +8 -1
- package/dist/cjs/EditorApp.js.map +1 -1
- package/dist/cjs/Main.js +3 -3
- package/dist/cjs/Main.js.map +1 -1
- package/dist/cjs/components/inspector/SnapshotsList.js +14 -2
- package/dist/cjs/components/inspector/SnapshotsList.js.map +1 -1
- package/dist/cjs/components/projects/EditorElement.js +5 -4
- package/dist/cjs/components/projects/EditorElement.js.map +1 -1
- package/dist/cjs/components/projects/Inspector.js +7 -1
- package/dist/cjs/components/projects/Inspector.js.map +1 -1
- package/dist/cjs/components/projects/ManuscriptPageContainer.js +4 -3
- package/dist/cjs/components/projects/ManuscriptPageContainer.js.map +1 -1
- package/dist/cjs/components/tools/CompareDocumentsModal.js +170 -0
- package/dist/cjs/components/tools/CompareDocumentsModal.js.map +1 -0
- package/dist/cjs/components/track-changes/TrackChangesPanel.js +16 -3
- package/dist/cjs/components/track-changes/TrackChangesPanel.js.map +1 -1
- package/dist/cjs/components/track-changes/suggestion-list/Suggestion.js +7 -3
- package/dist/cjs/components/track-changes/suggestion-list/Suggestion.js.map +1 -1
- package/dist/cjs/components/track-changes/suggestion-list/SuggestionList.js +6 -2
- package/dist/cjs/components/track-changes/suggestion-list/SuggestionList.js.map +1 -1
- package/dist/cjs/hooks/use-compare-documents.js +69 -0
- package/dist/cjs/hooks/use-compare-documents.js.map +1 -0
- package/dist/cjs/hooks/use-create-editor.js +30 -13
- package/dist/cjs/hooks/use-create-editor.js.map +1 -1
- package/dist/cjs/index.js +3 -3
- package/dist/cjs/index.js.map +1 -1
- package/dist/cjs/lib/change-handlers.js +5 -28
- package/dist/cjs/lib/change-handlers.js.map +1 -1
- package/dist/cjs/lib/comparison/compare-documents.js +53 -0
- package/dist/cjs/lib/comparison/compare-documents.js.map +1 -0
- package/dist/cjs/lib/comparison/compare-paragraph-like.js +388 -0
- package/dist/cjs/lib/comparison/compare-paragraph-like.js.map +1 -0
- package/dist/cjs/lib/comparison/compare-table-element.js +567 -0
- package/dist/cjs/lib/comparison/compare-table-element.js.map +1 -0
- package/dist/cjs/lib/comparison/create-dataTracked-attrs.js +60 -0
- package/dist/cjs/lib/comparison/create-dataTracked-attrs.js.map +1 -0
- package/dist/cjs/lib/comparison/distribute-nodes.js +131 -0
- package/dist/cjs/lib/comparison/distribute-nodes.js.map +1 -0
- package/dist/cjs/lib/comparison/rebuild-nodes-tree.js +76 -0
- package/dist/cjs/lib/comparison/rebuild-nodes-tree.js.map +1 -0
- package/dist/cjs/lib/{__tests__/layout.test.js → tracking.js} +38 -25
- package/dist/cjs/lib/tracking.js.map +1 -0
- package/dist/cjs/store/Store.js +7 -2
- package/dist/cjs/store/Store.js.map +1 -1
- package/dist/es/EditorApp.js +8 -1
- package/dist/es/EditorApp.js.map +1 -1
- package/dist/es/Main.js +3 -3
- package/dist/es/Main.js.map +1 -1
- package/dist/es/components/inspector/SnapshotsList.js +15 -3
- package/dist/es/components/inspector/SnapshotsList.js.map +1 -1
- package/dist/es/components/projects/EditorElement.js +5 -4
- package/dist/es/components/projects/EditorElement.js.map +1 -1
- package/dist/es/components/projects/Inspector.js +7 -1
- package/dist/es/components/projects/Inspector.js.map +1 -1
- package/dist/es/components/projects/ManuscriptPageContainer.js +4 -3
- package/dist/es/components/projects/ManuscriptPageContainer.js.map +1 -1
- package/dist/es/components/tools/CompareDocumentsModal.js +140 -0
- package/dist/es/components/tools/CompareDocumentsModal.js.map +1 -0
- package/dist/es/components/track-changes/TrackChangesPanel.js +16 -3
- package/dist/es/components/track-changes/TrackChangesPanel.js.map +1 -1
- package/dist/es/components/track-changes/suggestion-list/Suggestion.js +7 -3
- package/dist/es/components/track-changes/suggestion-list/Suggestion.js.map +1 -1
- package/dist/es/components/track-changes/suggestion-list/SuggestionList.js +6 -2
- package/dist/es/components/track-changes/suggestion-list/SuggestionList.js.map +1 -1
- package/dist/es/hooks/use-compare-documents.js +65 -0
- package/dist/es/hooks/use-compare-documents.js.map +1 -0
- package/dist/es/hooks/use-create-editor.js +31 -14
- package/dist/es/hooks/use-create-editor.js.map +1 -1
- package/dist/es/index.js +3 -3
- package/dist/es/index.js.map +1 -1
- package/dist/es/lib/change-handlers.js +1 -23
- package/dist/es/lib/change-handlers.js.map +1 -1
- package/dist/es/lib/comparison/compare-documents.js +48 -0
- package/dist/es/lib/comparison/compare-documents.js.map +1 -0
- package/dist/es/lib/comparison/compare-paragraph-like.js +378 -0
- package/dist/es/lib/comparison/compare-paragraph-like.js.map +1 -0
- package/dist/es/lib/comparison/compare-table-element.js +559 -0
- package/dist/es/lib/comparison/compare-table-element.js.map +1 -0
- package/dist/es/lib/comparison/create-dataTracked-attrs.js +54 -0
- package/dist/es/lib/comparison/create-dataTracked-attrs.js.map +1 -0
- package/dist/es/lib/comparison/distribute-nodes.js +127 -0
- package/dist/es/lib/comparison/distribute-nodes.js.map +1 -0
- package/dist/es/lib/comparison/rebuild-nodes-tree.js +72 -0
- package/dist/es/lib/comparison/rebuild-nodes-tree.js.map +1 -0
- package/dist/es/lib/tracking.js +46 -0
- package/dist/es/lib/tracking.js.map +1 -0
- package/dist/es/store/Store.js +7 -2
- package/dist/es/store/Store.js.map +1 -1
- package/dist/types/EditorApp.d.ts +2 -1
- package/dist/types/Main.d.ts +1 -1
- package/dist/types/components/projects/Inspector.d.ts +1 -1
- package/dist/types/components/projects/ManuscriptPageContainer.d.ts +1 -1
- package/dist/types/components/projects/inputs.d.ts +1 -1
- package/dist/types/components/tools/CompareDocumentsModal.d.ts +11 -0
- package/dist/types/components/track-changes/TrackChangesPanel.d.ts +1 -1
- package/dist/types/components/track-changes/suggestion-list/Suggestion.d.ts +1 -1
- package/dist/types/components/track-changes/suggestion-list/SuggestionList.d.ts +3 -3
- package/dist/types/{lib/__tests__/preferences.test.d.ts → hooks/use-compare-documents.d.ts} +13 -1
- package/dist/types/index.d.ts +1 -1
- package/dist/types/lib/change-handlers.d.ts +0 -1
- package/dist/types/lib/comparison/compare-documents.d.ts +16 -0
- package/dist/types/lib/{__tests__/roles.test.d.ts → comparison/compare-paragraph-like.d.ts} +12 -1
- package/dist/{es/__mocks__/fileMock.js → types/lib/comparison/compare-table-element.d.ts} +11 -3
- package/dist/{es/__mocks__/styleMock.js → types/lib/comparison/create-dataTracked-attrs.d.ts} +5 -3
- package/dist/{cjs/__mocks__/styleMock.js → types/lib/comparison/distribute-nodes.d.ts} +9 -5
- package/dist/{cjs/__mocks__/fileMock.js → types/lib/comparison/rebuild-nodes-tree.d.ts} +4 -5
- package/dist/types/lib/{__tests__/layout.test.d.ts → tracking.d.ts} +17 -0
- package/dist/types/store/Store.d.ts +3 -1
- package/package.json +84 -77
- package/dist/cjs/__mocks__/fileMock.js.map +0 -1
- package/dist/cjs/__mocks__/styleMock.js.map +0 -1
- package/dist/cjs/lib/__tests__/layout.test.js.map +0 -1
- package/dist/cjs/lib/__tests__/preferences.test.js +0 -50
- package/dist/cjs/lib/__tests__/preferences.test.js.map +0 -1
- package/dist/cjs/lib/__tests__/roles.test.js +0 -32
- package/dist/cjs/lib/__tests__/roles.test.js.map +0 -1
- package/dist/es/__mocks__/fileMock.js.map +0 -1
- package/dist/es/__mocks__/styleMock.js.map +0 -1
- package/dist/es/lib/__tests__/layout.test.js +0 -33
- package/dist/es/lib/__tests__/layout.test.js.map +0 -1
- package/dist/es/lib/__tests__/preferences.test.js +0 -25
- package/dist/es/lib/__tests__/preferences.test.js.map +0 -1
- package/dist/es/lib/__tests__/roles.test.js +0 -30
- package/dist/es/lib/__tests__/roles.test.js.map +0 -1
- package/dist/types/__mocks__/fileMock.d.ts +0 -13
- package/dist/types/__mocks__/styleMock.d.ts +0 -13
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@manuscripts/article-editor",
|
3
|
-
"version": "3.9.1-LEAN-
|
3
|
+
"version": "3.9.1-LEAN-4533.1",
|
4
4
|
"license": "CPAL-1.0",
|
5
5
|
"description": "React components for editing and viewing manuscripts",
|
6
6
|
"repository": "github:Atypon-OpenSource/manuscripts-article-editor",
|
@@ -13,91 +13,98 @@
|
|
13
13
|
"module": "dist/es",
|
14
14
|
"types": "dist/types",
|
15
15
|
"scripts": {
|
16
|
-
"dev": "
|
17
|
-
"build": "
|
18
|
-
"build:cjs": "tsc --outDir dist/cjs --module commonjs",
|
19
|
-
"build:es": "tsc --outDir dist/es --declarationDir dist/types --declaration",
|
16
|
+
"dev": "concurrently 'yarn:build:* --watch'",
|
17
|
+
"build": "concurrently 'yarn:build:*'",
|
18
|
+
"build:cjs": "tsc --outDir dist/cjs --module commonjs --project tsconfig.build.json",
|
19
|
+
"build:es": "tsc --outDir dist/es --declarationDir dist/types --declaration --project tsconfig.build.json",
|
20
20
|
"test": "TZ=UTC jest --runInBand --detectOpenHandles --forceExit",
|
21
|
+
"test:integration": "TZ=UTC jest --config=jest.integration.config.js --runInBand --detectOpenHandles --forceExit",
|
22
|
+
"test:unit": "TZ=UTC jest --runInBand --detectOpenHandles --forceExit --testPathIgnorePatterns=Storyshots",
|
23
|
+
"test:storyshots": "TZ=UTC jest --runInBand --detectOpenHandles --forceExit --testPathPattern=Storyshots",
|
24
|
+
"test:watch": "jest --runInBand --testPathIgnorePatterns=Storyshots.test.ts --watch",
|
21
25
|
"lint": "eslint src types --ext .ts,.tsx --max-warnings 0",
|
26
|
+
"lint:fix": "eslint src types --fix --ext .ts,.tsx --max-warnings 0",
|
22
27
|
"typecheck": "tsc --noEmit",
|
23
28
|
"prettier": "prettier --write \"{src,stories,tests}/**/*.{js,ts,tsx,css}\"",
|
24
|
-
"
|
29
|
+
"stats": "ALLOW_MISSING_VARIABLES=1 yarn --silent build --json > stats.json",
|
30
|
+
"preversion": "concurrently typecheck lint",
|
25
31
|
"prepare": "husky install",
|
26
|
-
"version": "
|
32
|
+
"version": "ALLOW_MISSING_VARIABLES=1 yarn build"
|
27
33
|
},
|
28
34
|
"dependencies": {
|
29
|
-
"@fontsource/lato": "5.
|
30
|
-
"@fontsource/pt-sans": "5.
|
31
|
-
"@fontsource/pt-serif": "5.
|
32
|
-
"@
|
33
|
-
"@manuscripts/
|
34
|
-
"@manuscripts/
|
35
|
-
"@manuscripts/style-guide": "2.1.
|
36
|
-
"@manuscripts/track-changes-plugin": "1.10.
|
37
|
-
"@manuscripts/transform": "3.1.1-LEAN-
|
38
|
-
"@popperjs/core": "2.11.8",
|
39
|
-
"
|
40
|
-
"
|
41
|
-
"
|
42
|
-
"
|
43
|
-
"
|
44
|
-
"
|
45
|
-
"prosemirror-utils": "
|
46
|
-
"
|
47
|
-
"
|
48
|
-
"
|
49
|
-
"
|
50
|
-
"react": "18.3.1",
|
51
|
-
"react-
|
52
|
-
"react-
|
53
|
-
"react-
|
54
|
-
"
|
55
|
-
"
|
56
|
-
"
|
57
|
-
"
|
58
|
-
"
|
59
|
-
"use-sync-external-store": "1.5.0",
|
60
|
-
"uuid": "9.0.1"
|
35
|
+
"@fontsource/lato": "^4.5.10",
|
36
|
+
"@fontsource/pt-sans": "^4.5.11",
|
37
|
+
"@fontsource/pt-serif": "^4.5.11",
|
38
|
+
"@manuscripts/body-editor": "2.9.1-LEAN-4533.0",
|
39
|
+
"@manuscripts/json-schema": "2.2.11",
|
40
|
+
"@manuscripts/library": "1.3.14",
|
41
|
+
"@manuscripts/style-guide": "2.1.13",
|
42
|
+
"@manuscripts/track-changes-plugin": "1.10.8",
|
43
|
+
"@manuscripts/transform": "3.1.1-LEAN-4533.0",
|
44
|
+
"@popperjs/core": "^2.11.8",
|
45
|
+
"@types/use-sync-external-store": "^0.0.6",
|
46
|
+
"autotrack": "^2.4.1",
|
47
|
+
"axios": "^1.6.7",
|
48
|
+
"html-react-parser": "^5.1.16",
|
49
|
+
"http-status-codes": "^2.2.0",
|
50
|
+
"lodash": "^4.17.21",
|
51
|
+
"prosemirror-utils": "^0.9.6",
|
52
|
+
"react": "^18.3.1",
|
53
|
+
"react-dnd": "^16.0.1",
|
54
|
+
"react-dnd-html5-backend": "^16.0.1",
|
55
|
+
"react-dom": "^18.3.1",
|
56
|
+
"react-is": "^18.3.1",
|
57
|
+
"react-modal": "^3.16.1",
|
58
|
+
"react-popper": "^2.0.0",
|
59
|
+
"react-select": "^5.7.3",
|
60
|
+
"styled-components": "^5.2.0",
|
61
|
+
"use-sync-external-store": "^1.2.2",
|
62
|
+
"uuid": "^9.0.0",
|
63
|
+
"yarn-run-all": "^3.1.1",
|
64
|
+
"diff-match-patch": "^1.0.5"
|
61
65
|
},
|
62
66
|
"devDependencies": {
|
63
|
-
"@babel/core": "7.
|
64
|
-
"@babel/preset-env": "7.
|
65
|
-
"@babel/preset-react": "7.
|
66
|
-
"@babel/preset-typescript": "7.
|
67
|
-
"@manuscripts/eslint-config": "0.5.1",
|
68
|
-
"@types/
|
69
|
-
"@types/
|
70
|
-
"@types/
|
71
|
-
"@types/
|
72
|
-
"@types/
|
73
|
-
"@types/
|
74
|
-
"@types/
|
75
|
-
"@types/
|
76
|
-
"@
|
77
|
-
"@
|
78
|
-
"
|
79
|
-
"eslint": "
|
80
|
-
"
|
81
|
-
"
|
82
|
-
"eslint
|
83
|
-
"eslint-
|
84
|
-
"eslint-plugin-
|
85
|
-
"eslint-plugin-
|
86
|
-
"eslint-plugin-
|
87
|
-
"eslint-plugin-
|
88
|
-
"eslint-plugin-
|
89
|
-
"eslint-plugin-
|
90
|
-
"eslint-plugin-
|
91
|
-
"eslint-plugin-
|
92
|
-
"
|
93
|
-
"
|
94
|
-
"
|
95
|
-
"
|
96
|
-
"
|
97
|
-
"
|
98
|
-
"
|
67
|
+
"@babel/core": "^7.20.5",
|
68
|
+
"@babel/preset-env": "^7.20.2",
|
69
|
+
"@babel/preset-react": "^7.18.6",
|
70
|
+
"@babel/preset-typescript": "^7.18.6",
|
71
|
+
"@manuscripts/eslint-config": "^0.5.1",
|
72
|
+
"@types/diff-match-patch": "^1.0.36",
|
73
|
+
"@types/dompurify": "^2.0.4",
|
74
|
+
"@types/google.analytics": "^0.0.45",
|
75
|
+
"@types/jest": "^29.2.4",
|
76
|
+
"@types/lodash": "^4.14.202",
|
77
|
+
"@types/react": "^18.3.1",
|
78
|
+
"@types/react-dom": "^18.3.0",
|
79
|
+
"@types/react-modal": "^3.10.6",
|
80
|
+
"@types/styled-components": "^5.1.4",
|
81
|
+
"@types/uuid": "^9.0.8",
|
82
|
+
"@typescript-eslint/eslint-plugin": "^5.47.0",
|
83
|
+
"@typescript-eslint/parser": "^5.47.0",
|
84
|
+
"babel-jest": "^29.3.1",
|
85
|
+
"concurrently": "^7.6.0",
|
86
|
+
"eslint": "^8.46.0",
|
87
|
+
"eslint-config-prettier": "^8.5.0",
|
88
|
+
"eslint-plugin-header": "^3.1.1",
|
89
|
+
"eslint-plugin-import": "^2.26.0",
|
90
|
+
"eslint-plugin-jest": "^27.1.7",
|
91
|
+
"eslint-plugin-jsx-a11y": "^6.6.1",
|
92
|
+
"eslint-plugin-mdx": "^2.0.5",
|
93
|
+
"eslint-plugin-prettier": "^4.2.1",
|
94
|
+
"eslint-plugin-promise": "^6.1.1",
|
95
|
+
"eslint-plugin-react": "^7.31.11",
|
96
|
+
"eslint-plugin-react-hooks": "^4.6.0",
|
97
|
+
"eslint-plugin-simple-import-sort": "^8.0.0",
|
98
|
+
"husky": "^8.0.2",
|
99
|
+
"jest": "^29.3.1",
|
100
|
+
"jest-environment-jsdom": "^29.3.1",
|
101
|
+
"jest-junit": "^15.0.0",
|
102
|
+
"jest-styled-components": "^7.1.1",
|
103
|
+
"prettier": "^2.8.1",
|
104
|
+
"react-dnd-test-backend": "^16.0.1",
|
105
|
+
"typescript": "^4.0.5"
|
99
106
|
},
|
100
|
-
"
|
101
|
-
"
|
107
|
+
"resolutions": {
|
108
|
+
"@types/react": "^18.3.1"
|
102
109
|
}
|
103
110
|
}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"fileMock.js","sourceRoot":"","sources":["../../../src/__mocks__/fileMock.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;GAUG;;AAEH,kBAAe,gBAAgB,CAAA"}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"styleMock.js","sourceRoot":"","sources":["../../../src/__mocks__/styleMock.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;GAUG;;AAEH,kBAAe,EAAE,CAAA"}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"layout.test.js","sourceRoot":"","sources":["../../../../src/lib/__tests__/layout.test.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;GAUG;;;;;AAEH,uDAAqC;AAErC,QAAQ,CAAC,0BAA0B,EAAE,GAAG,EAAE;IACxC,EAAE,CAAC,KAAK,EAAE,GAAG,EAAE;QACb,MAAM,UAAU,GAAG,gBAAa,CAAC,GAAG,CAAC,KAAK,CAAC,CAAA;QAC3C,MAAM,CAAC,UAAU,CAAC,CAAC,OAAO,CAAC,EAAE,IAAI,EAAE,GAAG,EAAE,SAAS,EAAE,KAAK,EAAE,CAAC,CAAA;IAC7D,CAAC,CAAC,CAAA;IAEF,EAAE,CAAC,KAAK,EAAE,GAAG,EAAE;QACb,MAAM,GAAG,GAAG;YACV,IAAI,EAAE,EAAE;YACR,SAAS,EAAE,IAAI;SAChB,CAAA;QACD,MAAM,SAAS,GAAG,gBAAa,CAAC,GAAG,CAAC,KAAK,EAAE,GAAG,CAAC,CAAA;QAC/C,MAAM,CAAC,SAAS,CAAC,CAAC,OAAO,CAAC,GAAG,CAAC,CAAA;QAC9B,mGAAmG;IACrG,CAAC,CAAC,CAAA;IAEF,EAAE,CAAC,QAAQ,EAAE,GAAG,EAAE;QAChB,gBAAa,CAAC,MAAM,EAAE,CAAA;QACtB,MAAM,OAAO,GAAG,MAAM,CAAC,YAAY,CAAA;QACnC,MAAM,CAAC,OAAO,CAAC,OAAO,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,EAAE,CAAA;IAC/C,CAAC,CAAC,CAAA;AACJ,CAAC,CAAC,CAAA"}
|
@@ -1,50 +0,0 @@
|
|
1
|
-
"use strict";
|
2
|
-
/*!
|
3
|
-
* 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.
|
4
|
-
*
|
5
|
-
* 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.
|
6
|
-
*
|
7
|
-
* The Original Code is manuscripts-frontend.
|
8
|
-
*
|
9
|
-
* The Original Developer is the Initial Developer. The Initial Developer of the Original Code is Atypon Systems LLC.
|
10
|
-
*
|
11
|
-
* All portions of the code written by Atypon Systems LLC are Copyright (c) 2019 Atypon Systems LLC. All Rights Reserved.
|
12
|
-
*/
|
13
|
-
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
14
|
-
if (k2 === undefined) k2 = k;
|
15
|
-
var desc = Object.getOwnPropertyDescriptor(m, k);
|
16
|
-
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
17
|
-
desc = { enumerable: true, get: function() { return m[k]; } };
|
18
|
-
}
|
19
|
-
Object.defineProperty(o, k2, desc);
|
20
|
-
}) : (function(o, m, k, k2) {
|
21
|
-
if (k2 === undefined) k2 = k;
|
22
|
-
o[k2] = m[k];
|
23
|
-
}));
|
24
|
-
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
25
|
-
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
26
|
-
}) : function(o, v) {
|
27
|
-
o["default"] = v;
|
28
|
-
});
|
29
|
-
var __importStar = (this && this.__importStar) || function (mod) {
|
30
|
-
if (mod && mod.__esModule) return mod;
|
31
|
-
var result = {};
|
32
|
-
if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
|
33
|
-
__setModuleDefault(result, mod);
|
34
|
-
return result;
|
35
|
-
};
|
36
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
37
|
-
const preferences_1 = __importStar(require("../preferences"));
|
38
|
-
describe('preferences', () => {
|
39
|
-
it('have defaults', () => {
|
40
|
-
expect(preferences_1.default.get()).toEqual(preferences_1.defaults);
|
41
|
-
});
|
42
|
-
it('can be set and removed', () => {
|
43
|
-
const prefs = { locale: 'ar' };
|
44
|
-
expect(preferences_1.default.set(prefs)).toEqual(prefs);
|
45
|
-
expect(preferences_1.default.get()).toEqual(prefs);
|
46
|
-
preferences_1.default.remove();
|
47
|
-
expect(preferences_1.default.get()).toEqual(preferences_1.defaults); // check that we're back to defaults
|
48
|
-
});
|
49
|
-
});
|
50
|
-
//# sourceMappingURL=preferences.test.js.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"preferences.test.js","sourceRoot":"","sources":["../../../../src/lib/__tests__/preferences.test.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;GAUG;;;;;;;;;;;;;;;;;;;;;;;;;AAEH,8DAA6D;AAE7D,QAAQ,CAAC,aAAa,EAAE,GAAG,EAAE;IAC3B,EAAE,CAAC,eAAe,EAAE,GAAG,EAAE;QACvB,MAAM,CAAC,qBAAK,CAAC,GAAG,EAAE,CAAC,CAAC,OAAO,CAAC,sBAAQ,CAAC,CAAA;IACvC,CAAC,CAAC,CAAA;IAEF,EAAE,CAAC,wBAAwB,EAAE,GAAG,EAAE;QAChC,MAAM,KAAK,GAAgB,EAAE,MAAM,EAAE,IAAI,EAAE,CAAA;QAC3C,MAAM,CAAC,qBAAK,CAAC,GAAG,CAAC,KAAK,CAAC,CAAC,CAAC,OAAO,CAAC,KAAK,CAAC,CAAA;QACvC,MAAM,CAAC,qBAAK,CAAC,GAAG,EAAE,CAAC,CAAC,OAAO,CAAC,KAAK,CAAC,CAAA;QAElC,qBAAK,CAAC,MAAM,EAAE,CAAA;QACd,MAAM,CAAC,qBAAK,CAAC,GAAG,EAAE,CAAC,CAAC,OAAO,CAAC,sBAAQ,CAAC,CAAA,CAAC,oCAAoC;IAC5E,CAAC,CAAC,CAAA;AACJ,CAAC,CAAC,CAAA"}
|
@@ -1,32 +0,0 @@
|
|
1
|
-
"use strict";
|
2
|
-
/*!
|
3
|
-
* 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.
|
4
|
-
*
|
5
|
-
* 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.
|
6
|
-
*
|
7
|
-
* The Original Code is manuscripts-frontend.
|
8
|
-
*
|
9
|
-
* The Original Developer is the Initial Developer. The Initial Developer of the Original Code is Atypon Systems LLC.
|
10
|
-
*
|
11
|
-
* All portions of the code written by Atypon Systems LLC are Copyright (c) 2019 Atypon Systems LLC. All Rights Reserved.
|
12
|
-
*/
|
13
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
14
|
-
const roles_1 = require("../roles");
|
15
|
-
describe('roles', () => {
|
16
|
-
const project = {
|
17
|
-
owners: ['User_A'],
|
18
|
-
viewers: ['User_B'],
|
19
|
-
writers: ['User_C'],
|
20
|
-
};
|
21
|
-
it('isOwner must return true if the user is an owner', () => expect((0, roles_1.isOwner)(project, 'User_A')).toBeTruthy());
|
22
|
-
it('isOwner must return false if the user is not an owner', () => expect((0, roles_1.isOwner)(project, 'User_D')).toBeFalsy());
|
23
|
-
it('isWriter must return true if the user is a writer', () => expect((0, roles_1.isWriter)(project, 'User_C')).toBeTruthy());
|
24
|
-
it('isWriter must return false if the user is not a writer', () => expect((0, roles_1.isWriter)(project, 'User_D')).toBeFalsy());
|
25
|
-
it('isViewer must return true if the user is a viewer', () => expect((0, roles_1.isViewer)(project, 'User_B')).toBeTruthy());
|
26
|
-
it('isViewer must return false if the user is not a viewer', () => expect((0, roles_1.isViewer)(project, 'User_D')).toBeFalsy());
|
27
|
-
it('getRole must return owner if the user is an owner', () => expect((0, roles_1.getUserRole)(project, 'User_A')).toBe(roles_1.ProjectRole.owner));
|
28
|
-
it('getRole must return writer if the user is a writer', () => expect((0, roles_1.getUserRole)(project, 'User_C')).toBe(roles_1.ProjectRole.writer));
|
29
|
-
it('getRole must return viewer if the user is a viewer', () => expect((0, roles_1.getUserRole)(project, 'User_B')).toBe(roles_1.ProjectRole.viewer));
|
30
|
-
it('getRole must return null if the user not in the project', () => expect((0, roles_1.getUserRole)(project, 'User_D')).toBeNull());
|
31
|
-
});
|
32
|
-
//# sourceMappingURL=roles.test.js.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"roles.test.js","sourceRoot":"","sources":["../../../../src/lib/__tests__/roles.test.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;GAUG;;AAIH,oCAAgF;AAEhF,QAAQ,CAAC,OAAO,EAAE,GAAG,EAAE;IACrB,MAAM,OAAO,GAAY;QACvB,MAAM,EAAE,CAAC,QAAQ,CAAC;QAClB,OAAO,EAAE,CAAC,QAAQ,CAAC;QACnB,OAAO,EAAE,CAAC,QAAQ,CAAC;KACT,CAAA;IAEZ,EAAE,CAAC,kDAAkD,EAAE,GAAG,EAAE,CAC1D,MAAM,CAAC,IAAA,eAAO,EAAC,OAAO,EAAE,QAAQ,CAAC,CAAC,CAAC,UAAU,EAAE,CAAC,CAAA;IAElD,EAAE,CAAC,uDAAuD,EAAE,GAAG,EAAE,CAC/D,MAAM,CAAC,IAAA,eAAO,EAAC,OAAO,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,EAAE,CAAC,CAAA;IAEjD,EAAE,CAAC,mDAAmD,EAAE,GAAG,EAAE,CAC3D,MAAM,CAAC,IAAA,gBAAQ,EAAC,OAAO,EAAE,QAAQ,CAAC,CAAC,CAAC,UAAU,EAAE,CAAC,CAAA;IAEnD,EAAE,CAAC,wDAAwD,EAAE,GAAG,EAAE,CAChE,MAAM,CAAC,IAAA,gBAAQ,EAAC,OAAO,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,EAAE,CAAC,CAAA;IAElD,EAAE,CAAC,mDAAmD,EAAE,GAAG,EAAE,CAC3D,MAAM,CAAC,IAAA,gBAAQ,EAAC,OAAO,EAAE,QAAQ,CAAC,CAAC,CAAC,UAAU,EAAE,CAAC,CAAA;IAEnD,EAAE,CAAC,wDAAwD,EAAE,GAAG,EAAE,CAChE,MAAM,CAAC,IAAA,gBAAQ,EAAC,OAAO,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,EAAE,CAAC,CAAA;IAElD,EAAE,CAAC,mDAAmD,EAAE,GAAG,EAAE,CAC3D,MAAM,CAAC,IAAA,mBAAW,EAAC,OAAO,EAAE,QAAQ,CAAC,CAAC,CAAC,IAAI,CAAC,mBAAW,CAAC,KAAK,CAAC,CAAC,CAAA;IAEjE,EAAE,CAAC,oDAAoD,EAAE,GAAG,EAAE,CAC5D,MAAM,CAAC,IAAA,mBAAW,EAAC,OAAO,EAAE,QAAQ,CAAC,CAAC,CAAC,IAAI,CAAC,mBAAW,CAAC,MAAM,CAAC,CAAC,CAAA;IAElE,EAAE,CAAC,oDAAoD,EAAE,GAAG,EAAE,CAC5D,MAAM,CAAC,IAAA,mBAAW,EAAC,OAAO,EAAE,QAAQ,CAAC,CAAC,CAAC,IAAI,CAAC,mBAAW,CAAC,MAAM,CAAC,CAAC,CAAA;IAElE,EAAE,CAAC,yDAAyD,EAAE,GAAG,EAAE,CACjE,MAAM,CAAC,IAAA,mBAAW,EAAC,OAAO,EAAE,QAAQ,CAAC,CAAC,CAAC,QAAQ,EAAE,CAAC,CAAA;AACtD,CAAC,CAAC,CAAA"}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"fileMock.js","sourceRoot":"","sources":["../../../src/__mocks__/fileMock.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AAEH,eAAe,gBAAgB,CAAA"}
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"styleMock.js","sourceRoot":"","sources":["../../../src/__mocks__/styleMock.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AAEH,eAAe,EAAE,CAAA"}
|
@@ -1,33 +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
|
-
import LayoutStorage from '../layout';
|
13
|
-
describe('layout state persistence', () => {
|
14
|
-
it('get', () => {
|
15
|
-
const loadResult = LayoutStorage.get('foo');
|
16
|
-
expect(loadResult).toEqual({ size: 200, collapsed: false });
|
17
|
-
});
|
18
|
-
it('set', () => {
|
19
|
-
const bar = {
|
20
|
-
size: 10,
|
21
|
-
collapsed: true,
|
22
|
-
};
|
23
|
-
const setResult = LayoutStorage.set('foo', bar);
|
24
|
-
expect(setResult).toEqual(bar);
|
25
|
-
// expect(Layout.get('foo')).toEqual(bar) // FIXME: I think this not being met is indicating a bug?
|
26
|
-
});
|
27
|
-
it('remove', () => {
|
28
|
-
LayoutStorage.remove();
|
29
|
-
const storage = window.localStorage;
|
30
|
-
expect(storage.getItem('layout')).toBeFalsy();
|
31
|
-
});
|
32
|
-
});
|
33
|
-
//# sourceMappingURL=layout.test.js.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"layout.test.js","sourceRoot":"","sources":["../../../../src/lib/__tests__/layout.test.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AAEH,OAAO,aAAa,MAAM,WAAW,CAAA;AAErC,QAAQ,CAAC,0BAA0B,EAAE,GAAG,EAAE;IACxC,EAAE,CAAC,KAAK,EAAE,GAAG,EAAE;QACb,MAAM,UAAU,GAAG,aAAa,CAAC,GAAG,CAAC,KAAK,CAAC,CAAA;QAC3C,MAAM,CAAC,UAAU,CAAC,CAAC,OAAO,CAAC,EAAE,IAAI,EAAE,GAAG,EAAE,SAAS,EAAE,KAAK,EAAE,CAAC,CAAA;IAC7D,CAAC,CAAC,CAAA;IAEF,EAAE,CAAC,KAAK,EAAE,GAAG,EAAE;QACb,MAAM,GAAG,GAAG;YACV,IAAI,EAAE,EAAE;YACR,SAAS,EAAE,IAAI;SAChB,CAAA;QACD,MAAM,SAAS,GAAG,aAAa,CAAC,GAAG,CAAC,KAAK,EAAE,GAAG,CAAC,CAAA;QAC/C,MAAM,CAAC,SAAS,CAAC,CAAC,OAAO,CAAC,GAAG,CAAC,CAAA;QAC9B,mGAAmG;IACrG,CAAC,CAAC,CAAA;IAEF,EAAE,CAAC,QAAQ,EAAE,GAAG,EAAE;QAChB,aAAa,CAAC,MAAM,EAAE,CAAA;QACtB,MAAM,OAAO,GAAG,MAAM,CAAC,YAAY,CAAA;QACnC,MAAM,CAAC,OAAO,CAAC,OAAO,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,EAAE,CAAA;IAC/C,CAAC,CAAC,CAAA;AACJ,CAAC,CAAC,CAAA"}
|
@@ -1,25 +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
|
-
import Prefs, { defaults } from '../preferences';
|
13
|
-
describe('preferences', () => {
|
14
|
-
it('have defaults', () => {
|
15
|
-
expect(Prefs.get()).toEqual(defaults);
|
16
|
-
});
|
17
|
-
it('can be set and removed', () => {
|
18
|
-
const prefs = { locale: 'ar' };
|
19
|
-
expect(Prefs.set(prefs)).toEqual(prefs);
|
20
|
-
expect(Prefs.get()).toEqual(prefs);
|
21
|
-
Prefs.remove();
|
22
|
-
expect(Prefs.get()).toEqual(defaults); // check that we're back to defaults
|
23
|
-
});
|
24
|
-
});
|
25
|
-
//# sourceMappingURL=preferences.test.js.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"preferences.test.js","sourceRoot":"","sources":["../../../../src/lib/__tests__/preferences.test.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AAEH,OAAO,KAAK,EAAE,EAAE,QAAQ,EAAe,MAAM,gBAAgB,CAAA;AAE7D,QAAQ,CAAC,aAAa,EAAE,GAAG,EAAE;IAC3B,EAAE,CAAC,eAAe,EAAE,GAAG,EAAE;QACvB,MAAM,CAAC,KAAK,CAAC,GAAG,EAAE,CAAC,CAAC,OAAO,CAAC,QAAQ,CAAC,CAAA;IACvC,CAAC,CAAC,CAAA;IAEF,EAAE,CAAC,wBAAwB,EAAE,GAAG,EAAE;QAChC,MAAM,KAAK,GAAgB,EAAE,MAAM,EAAE,IAAI,EAAE,CAAA;QAC3C,MAAM,CAAC,KAAK,CAAC,GAAG,CAAC,KAAK,CAAC,CAAC,CAAC,OAAO,CAAC,KAAK,CAAC,CAAA;QACvC,MAAM,CAAC,KAAK,CAAC,GAAG,EAAE,CAAC,CAAC,OAAO,CAAC,KAAK,CAAC,CAAA;QAElC,KAAK,CAAC,MAAM,EAAE,CAAA;QACd,MAAM,CAAC,KAAK,CAAC,GAAG,EAAE,CAAC,CAAC,OAAO,CAAC,QAAQ,CAAC,CAAA,CAAC,oCAAoC;IAC5E,CAAC,CAAC,CAAA;AACJ,CAAC,CAAC,CAAA"}
|
@@ -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
|
-
import { getUserRole, isOwner, isViewer, isWriter, ProjectRole } from '../roles';
|
13
|
-
describe('roles', () => {
|
14
|
-
const project = {
|
15
|
-
owners: ['User_A'],
|
16
|
-
viewers: ['User_B'],
|
17
|
-
writers: ['User_C'],
|
18
|
-
};
|
19
|
-
it('isOwner must return true if the user is an owner', () => expect(isOwner(project, 'User_A')).toBeTruthy());
|
20
|
-
it('isOwner must return false if the user is not an owner', () => expect(isOwner(project, 'User_D')).toBeFalsy());
|
21
|
-
it('isWriter must return true if the user is a writer', () => expect(isWriter(project, 'User_C')).toBeTruthy());
|
22
|
-
it('isWriter must return false if the user is not a writer', () => expect(isWriter(project, 'User_D')).toBeFalsy());
|
23
|
-
it('isViewer must return true if the user is a viewer', () => expect(isViewer(project, 'User_B')).toBeTruthy());
|
24
|
-
it('isViewer must return false if the user is not a viewer', () => expect(isViewer(project, 'User_D')).toBeFalsy());
|
25
|
-
it('getRole must return owner if the user is an owner', () => expect(getUserRole(project, 'User_A')).toBe(ProjectRole.owner));
|
26
|
-
it('getRole must return writer if the user is a writer', () => expect(getUserRole(project, 'User_C')).toBe(ProjectRole.writer));
|
27
|
-
it('getRole must return viewer if the user is a viewer', () => expect(getUserRole(project, 'User_B')).toBe(ProjectRole.viewer));
|
28
|
-
it('getRole must return null if the user not in the project', () => expect(getUserRole(project, 'User_D')).toBeNull());
|
29
|
-
});
|
30
|
-
//# sourceMappingURL=roles.test.js.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"roles.test.js","sourceRoot":"","sources":["../../../../src/lib/__tests__/roles.test.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AAIH,OAAO,EAAE,WAAW,EAAE,OAAO,EAAE,QAAQ,EAAE,QAAQ,EAAE,WAAW,EAAE,MAAM,UAAU,CAAA;AAEhF,QAAQ,CAAC,OAAO,EAAE,GAAG,EAAE;IACrB,MAAM,OAAO,GAAY;QACvB,MAAM,EAAE,CAAC,QAAQ,CAAC;QAClB,OAAO,EAAE,CAAC,QAAQ,CAAC;QACnB,OAAO,EAAE,CAAC,QAAQ,CAAC;KACT,CAAA;IAEZ,EAAE,CAAC,kDAAkD,EAAE,GAAG,EAAE,CAC1D,MAAM,CAAC,OAAO,CAAC,OAAO,EAAE,QAAQ,CAAC,CAAC,CAAC,UAAU,EAAE,CAAC,CAAA;IAElD,EAAE,CAAC,uDAAuD,EAAE,GAAG,EAAE,CAC/D,MAAM,CAAC,OAAO,CAAC,OAAO,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,EAAE,CAAC,CAAA;IAEjD,EAAE,CAAC,mDAAmD,EAAE,GAAG,EAAE,CAC3D,MAAM,CAAC,QAAQ,CAAC,OAAO,EAAE,QAAQ,CAAC,CAAC,CAAC,UAAU,EAAE,CAAC,CAAA;IAEnD,EAAE,CAAC,wDAAwD,EAAE,GAAG,EAAE,CAChE,MAAM,CAAC,QAAQ,CAAC,OAAO,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,EAAE,CAAC,CAAA;IAElD,EAAE,CAAC,mDAAmD,EAAE,GAAG,EAAE,CAC3D,MAAM,CAAC,QAAQ,CAAC,OAAO,EAAE,QAAQ,CAAC,CAAC,CAAC,UAAU,EAAE,CAAC,CAAA;IAEnD,EAAE,CAAC,wDAAwD,EAAE,GAAG,EAAE,CAChE,MAAM,CAAC,QAAQ,CAAC,OAAO,EAAE,QAAQ,CAAC,CAAC,CAAC,SAAS,EAAE,CAAC,CAAA;IAElD,EAAE,CAAC,mDAAmD,EAAE,GAAG,EAAE,CAC3D,MAAM,CAAC,WAAW,CAAC,OAAO,EAAE,QAAQ,CAAC,CAAC,CAAC,IAAI,CAAC,WAAW,CAAC,KAAK,CAAC,CAAC,CAAA;IAEjE,EAAE,CAAC,oDAAoD,EAAE,GAAG,EAAE,CAC5D,MAAM,CAAC,WAAW,CAAC,OAAO,EAAE,QAAQ,CAAC,CAAC,CAAC,IAAI,CAAC,WAAW,CAAC,MAAM,CAAC,CAAC,CAAA;IAElE,EAAE,CAAC,oDAAoD,EAAE,GAAG,EAAE,CAC5D,MAAM,CAAC,WAAW,CAAC,OAAO,EAAE,QAAQ,CAAC,CAAC,CAAC,IAAI,CAAC,WAAW,CAAC,MAAM,CAAC,CAAC,CAAA;IAElE,EAAE,CAAC,yDAAyD,EAAE,GAAG,EAAE,CACjE,MAAM,CAAC,WAAW,CAAC,OAAO,EAAE,QAAQ,CAAC,CAAC,CAAC,QAAQ,EAAE,CAAC,CAAA;AACtD,CAAC,CAAC,CAAA"}
|
@@ -1,13 +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
|
-
declare const _default: "test-file-stub";
|
13
|
-
export default _default;
|
@@ -1,13 +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
|
-
declare const _default: {};
|
13
|
-
export default _default;
|