@manuscripts/article-editor 1.9.4 → 1.9.5-LEAN-3083-2
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/src/components/Sidebar/Sidebar.js +1 -2
- package/dist/cjs/src/components/Sidebar/Sidebar.js.map +1 -1
- package/dist/cjs/src/components/metadata/AuthorModalViews.js +7 -3
- package/dist/cjs/src/components/metadata/AuthorModalViews.js.map +1 -1
- package/dist/cjs/src/components/metadata/AuthorsPage.js +1 -11
- package/dist/cjs/src/components/metadata/AuthorsPage.js.map +1 -1
- package/dist/cjs/src/components/projects/ManuscriptPageContainer.js +0 -14
- package/dist/cjs/src/components/projects/ManuscriptPageContainer.js.map +1 -1
- package/dist/cjs/src/hooks/use-create-editor.js +2 -22
- package/dist/cjs/src/hooks/use-create-editor.js.map +1 -1
- package/dist/cjs/src/hooks/use-tracked-model-management.js +10 -0
- package/dist/cjs/src/hooks/use-tracked-model-management.js.map +1 -1
- package/dist/cjs/src/lib/authors.js +3 -1
- package/dist/cjs/src/lib/authors.js.map +1 -1
- package/dist/es/src/components/Sidebar/Sidebar.js +1 -2
- package/dist/es/src/components/Sidebar/Sidebar.js.map +1 -1
- package/dist/es/src/components/metadata/AuthorModalViews.js +7 -3
- package/dist/es/src/components/metadata/AuthorModalViews.js.map +1 -1
- package/dist/es/src/components/metadata/AuthorsPage.js +0 -9
- package/dist/es/src/components/metadata/AuthorsPage.js.map +1 -1
- package/dist/es/src/components/projects/ManuscriptPageContainer.js +0 -14
- package/dist/es/src/components/projects/ManuscriptPageContainer.js.map +1 -1
- package/dist/es/src/hooks/use-create-editor.js +2 -22
- package/dist/es/src/hooks/use-create-editor.js.map +1 -1
- package/dist/es/src/hooks/use-tracked-model-management.js +10 -0
- package/dist/es/src/hooks/use-tracked-model-management.js.map +1 -1
- package/dist/es/src/lib/authors.js +3 -1
- package/dist/es/src/lib/authors.js.map +1 -1
- package/dist/types/src/components/metadata/AuthorsPage.d.ts +0 -1
- package/dist/types/src/store/useStore.d.ts +1 -1
- package/package.json +5 -6
- package/dist/cjs/src/components/SelectField.js +0 -24
- package/dist/cjs/src/components/SelectField.js.map +0 -1
- package/dist/cjs/src/components/library/BibliographyImportButton.js +0 -149
- package/dist/cjs/src/components/library/BibliographyImportButton.js.map +0 -1
- package/dist/cjs/src/components/library/CitationEditor.js +0 -227
- package/dist/cjs/src/components/library/CitationEditor.js.map +0 -1
- package/dist/cjs/src/components/library/CitationModal.js +0 -262
- package/dist/cjs/src/components/library/CitationModal.js.map +0 -1
- package/dist/cjs/src/components/library/CitationSearch.js +0 -214
- package/dist/cjs/src/components/library/CitationSearch.js.map +0 -1
- package/dist/cjs/src/components/library/CitationSearchSection.js +0 -133
- package/dist/cjs/src/components/library/CitationSearchSection.js.map +0 -1
- package/dist/cjs/src/components/library/CitationViewer.js +0 -53
- package/dist/cjs/src/components/library/CitationViewer.js.map +0 -1
- package/dist/cjs/src/components/library/ReferenceForm.js +0 -419
- package/dist/cjs/src/components/library/ReferenceForm.js.map +0 -1
- package/dist/cjs/src/components/library/ReferencesEditor.js +0 -70
- package/dist/cjs/src/components/library/ReferencesEditor.js.map +0 -1
- package/dist/cjs/src/components/library/ReferencesViewer.js +0 -33
- package/dist/cjs/src/components/library/ReferencesViewer.js.map +0 -1
- package/dist/cjs/src/components/library/SearchResults.js +0 -126
- package/dist/cjs/src/components/library/SearchResults.js.map +0 -1
- package/dist/cjs/src/components/metadata/AuthorsInlineViewContainer.js +0 -94
- package/dist/cjs/src/components/metadata/AuthorsInlineViewContainer.js.map +0 -1
- package/dist/cjs/src/components/projects/icons/DeleteIcon.js +0 -27
- package/dist/cjs/src/components/projects/icons/DeleteIcon.js.map +0 -1
- package/dist/cjs/src/components/projects/icons/GroupIcon.js +0 -29
- package/dist/cjs/src/components/projects/icons/GroupIcon.js.map +0 -1
- package/dist/cjs/src/components/projects/icons/LinkIcon.js +0 -23
- package/dist/cjs/src/components/projects/icons/LinkIcon.js.map +0 -1
- package/dist/cjs/src/components/projects/icons/TemplateIcon.js +0 -23
- package/dist/cjs/src/components/projects/icons/TemplateIcon.js.map +0 -1
- package/dist/cjs/src/lib/select-styles.js +0 -40
- package/dist/cjs/src/lib/select-styles.js.map +0 -1
- package/dist/cjs/src/lib/sources.js +0 -36
- package/dist/cjs/src/lib/sources.js.map +0 -1
- package/dist/es/src/components/SelectField.js +0 -17
- package/dist/es/src/components/SelectField.js.map +0 -1
- package/dist/es/src/components/library/BibliographyImportButton.js +0 -120
- package/dist/es/src/components/library/BibliographyImportButton.js.map +0 -1
- package/dist/es/src/components/library/CitationEditor.js +0 -198
- package/dist/es/src/components/library/CitationEditor.js.map +0 -1
- package/dist/es/src/components/library/CitationModal.js +0 -232
- package/dist/es/src/components/library/CitationModal.js.map +0 -1
- package/dist/es/src/components/library/CitationSearch.js +0 -184
- package/dist/es/src/components/library/CitationSearch.js.map +0 -1
- package/dist/es/src/components/library/CitationSearchSection.js +0 -103
- package/dist/es/src/components/library/CitationSearchSection.js.map +0 -1
- package/dist/es/src/components/library/CitationViewer.js +0 -46
- package/dist/es/src/components/library/CitationViewer.js.map +0 -1
- package/dist/es/src/components/library/ReferenceForm.js +0 -389
- package/dist/es/src/components/library/ReferenceForm.js.map +0 -1
- package/dist/es/src/components/library/ReferencesEditor.js +0 -43
- package/dist/es/src/components/library/ReferencesEditor.js.map +0 -1
- package/dist/es/src/components/library/ReferencesViewer.js +0 -26
- package/dist/es/src/components/library/ReferencesViewer.js.map +0 -1
- package/dist/es/src/components/library/SearchResults.js +0 -119
- package/dist/es/src/components/library/SearchResults.js.map +0 -1
- package/dist/es/src/components/metadata/AuthorsInlineViewContainer.js +0 -65
- package/dist/es/src/components/metadata/AuthorsInlineViewContainer.js.map +0 -1
- package/dist/es/src/components/projects/icons/DeleteIcon.js +0 -20
- package/dist/es/src/components/projects/icons/DeleteIcon.js.map +0 -1
- package/dist/es/src/components/projects/icons/GroupIcon.js +0 -22
- package/dist/es/src/components/projects/icons/GroupIcon.js.map +0 -1
- package/dist/es/src/components/projects/icons/LinkIcon.js +0 -16
- package/dist/es/src/components/projects/icons/LinkIcon.js.map +0 -1
- package/dist/es/src/components/projects/icons/TemplateIcon.js +0 -16
- package/dist/es/src/components/projects/icons/TemplateIcon.js.map +0 -1
- package/dist/es/src/lib/select-styles.js +0 -37
- package/dist/es/src/lib/select-styles.js.map +0 -1
- package/dist/es/src/lib/sources.js +0 -33
- package/dist/es/src/lib/sources.js.map +0 -1
- package/dist/types/src/components/SelectField.d.ts +0 -23
- package/dist/types/src/components/library/BibliographyImportButton.d.ts +0 -23
- package/dist/types/src/components/library/CitationEditor.d.ts +0 -30
- package/dist/types/src/components/library/CitationModal.d.ts +0 -17
- package/dist/types/src/components/library/CitationSearch.d.ts +0 -22
- package/dist/types/src/components/library/CitationSearchSection.d.ts +0 -34
- package/dist/types/src/components/library/CitationViewer.d.ts +0 -18
- package/dist/types/src/components/library/ReferenceForm.d.ts +0 -51
- package/dist/types/src/components/library/ReferencesEditor.d.ts +0 -22
- package/dist/types/src/components/library/ReferencesViewer.d.ts +0 -9
- package/dist/types/src/components/library/SearchResults.d.ts +0 -26
- package/dist/types/src/components/metadata/AuthorsInlineViewContainer.d.ts +0 -23
- package/dist/types/src/components/projects/icons/DeleteIcon.d.ts +0 -13
- package/dist/types/src/components/projects/icons/GroupIcon.d.ts +0 -15
- package/dist/types/src/components/projects/icons/LinkIcon.d.ts +0 -13
- package/dist/types/src/components/projects/icons/TemplateIcon.d.ts +0 -13
- package/dist/types/src/lib/select-styles.d.ts +0 -13
- package/dist/types/src/lib/sources.d.ts +0 -25
|
@@ -1,51 +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 { BibliographicName, BibliographyItem } from '@manuscripts/json-schema';
|
|
13
|
-
import { FormikProps } from 'formik';
|
|
14
|
-
import React from 'react';
|
|
15
|
-
export declare const LabelContainer: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
|
|
16
|
-
export declare const FormField: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
|
|
17
|
-
export declare const FlexForm: import("styled-components").StyledComponent<React.ForwardRefExoticComponent<Omit<React.DetailedHTMLProps<React.FormHTMLAttributes<HTMLFormElement>, HTMLFormElement>, "ref"> & React.RefAttributes<HTMLFormElement>>, import("styled-components").DefaultTheme, {}, never>;
|
|
18
|
-
export declare const FormFields: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
|
|
19
|
-
interface OptionType {
|
|
20
|
-
label: string;
|
|
21
|
-
value: any;
|
|
22
|
-
}
|
|
23
|
-
export interface ReferenceFormValues {
|
|
24
|
-
_id: string;
|
|
25
|
-
title?: string;
|
|
26
|
-
author?: BibliographicName[];
|
|
27
|
-
DOI?: string;
|
|
28
|
-
issued?: {
|
|
29
|
-
_id: string;
|
|
30
|
-
'date-parts'?: Array<Array<string | number>>;
|
|
31
|
-
} | '';
|
|
32
|
-
type: string;
|
|
33
|
-
'container-title'?: string;
|
|
34
|
-
URL?: string;
|
|
35
|
-
issue?: string | number;
|
|
36
|
-
volume?: string | number;
|
|
37
|
-
supplement?: string | number;
|
|
38
|
-
page?: string | number;
|
|
39
|
-
}
|
|
40
|
-
export declare const buildInitialValues: (item: BibliographyItem) => ReferenceFormValues;
|
|
41
|
-
export declare const bibliographyItemTypeOptions: OptionType[];
|
|
42
|
-
declare const ReferenceForm: React.FC<{
|
|
43
|
-
item: BibliographyItem;
|
|
44
|
-
formMikRef: React.Ref<FormikProps<ReferenceFormValues>>;
|
|
45
|
-
disableDelete: boolean;
|
|
46
|
-
deleteCallback: () => void;
|
|
47
|
-
handleCancel: () => void;
|
|
48
|
-
saveCallback: (item: BibliographyItem) => void;
|
|
49
|
-
}>;
|
|
50
|
-
export default ReferenceForm;
|
|
51
|
-
export declare const AddAffiliationContainer: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
|
|
@@ -1,22 +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) 2023 Atypon Systems LLC. All Rights Reserved.
|
|
11
|
-
*/
|
|
12
|
-
import { Model } from '@manuscripts/json-schema';
|
|
13
|
-
import { Build } from '@manuscripts/transform';
|
|
14
|
-
import React from 'react';
|
|
15
|
-
interface Props {
|
|
16
|
-
saveModel: <T extends Model>(model: T | Build<T> | Partial<T>) => Promise<T>;
|
|
17
|
-
deleteModel: (id: string) => Promise<string>;
|
|
18
|
-
modelMap: Map<string, Model>;
|
|
19
|
-
referenceID?: string;
|
|
20
|
-
}
|
|
21
|
-
export declare const ReferencesEditor: React.FC<Props>;
|
|
22
|
-
export {};
|
|
@@ -1,26 +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 { BibliographyItem } from '@manuscripts/json-schema';
|
|
13
|
-
import { Build } from '@manuscripts/transform';
|
|
14
|
-
import React from 'react';
|
|
15
|
-
export declare const SearchResults: React.FC<{
|
|
16
|
-
error?: string;
|
|
17
|
-
searching: boolean;
|
|
18
|
-
showMoreSearching?: boolean;
|
|
19
|
-
results?: {
|
|
20
|
-
items: Array<Build<BibliographyItem>>;
|
|
21
|
-
total: number;
|
|
22
|
-
};
|
|
23
|
-
handleSelect: (id: string, item: Build<BibliographyItem>) => void;
|
|
24
|
-
selected: Map<string, Build<BibliographyItem>>;
|
|
25
|
-
fetching: Set<string>;
|
|
26
|
-
}>;
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { GenericStore } from '../../store';
|
|
3
|
-
export declare const ExpanderButton: import("styled-components").StyledComponent<"button", import("styled-components").DefaultTheme, {
|
|
4
|
-
type: "button" | "submit" | "reset";
|
|
5
|
-
} & {
|
|
6
|
-
danger?: boolean | undefined;
|
|
7
|
-
disabled?: boolean | undefined;
|
|
8
|
-
mini?: boolean | undefined;
|
|
9
|
-
} & {
|
|
10
|
-
defaultColor?: boolean | undefined;
|
|
11
|
-
size?: number | undefined;
|
|
12
|
-
iconColor?: string | undefined;
|
|
13
|
-
} & {
|
|
14
|
-
size: number;
|
|
15
|
-
defaultColor: boolean;
|
|
16
|
-
}, "type" | "size" | "defaultColor">;
|
|
17
|
-
interface Props {
|
|
18
|
-
showAuthorEditButton: boolean;
|
|
19
|
-
disableEditButton?: boolean;
|
|
20
|
-
subscribe: GenericStore['subscribe'];
|
|
21
|
-
}
|
|
22
|
-
declare const AuthorsInlineViewContainer: React.FC<Props>;
|
|
23
|
-
export default AuthorsInlineViewContainer;
|
|
@@ -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) 2022 Atypon Systems LLC. All Rights Reserved.
|
|
11
|
-
*/
|
|
12
|
-
import React from 'react';
|
|
13
|
-
export declare const DeleteIcon: React.FC;
|
|
@@ -1,15 +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) 2022 Atypon Systems LLC. All Rights Reserved.
|
|
11
|
-
*/
|
|
12
|
-
import React from 'react';
|
|
13
|
-
export declare const GroupIcon: React.FC<{
|
|
14
|
-
numberOfCitations: number;
|
|
15
|
-
}>;
|
|
@@ -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) 2022 Atypon Systems LLC. All Rights Reserved.
|
|
11
|
-
*/
|
|
12
|
-
import React from 'react';
|
|
13
|
-
export declare const LinkIcon: React.FC;
|
|
@@ -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) 2022 Atypon Systems LLC. All Rights Reserved.
|
|
11
|
-
*/
|
|
12
|
-
import React from 'react';
|
|
13
|
-
export declare const TemplateIcon: React.FC;
|
|
@@ -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) 2020 Atypon Systems LLC. All Rights Reserved.
|
|
11
|
-
*/
|
|
12
|
-
import { StylesConfig } from 'react-select';
|
|
13
|
-
export declare const selectStyles: StylesConfig<any, boolean>;
|
|
@@ -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 { BibliographyItem } from '@manuscripts/json-schema';
|
|
13
|
-
import { Build } from '@manuscripts/transform';
|
|
14
|
-
type SearchInterface = (query: string, limit: number, mailto: string) => Promise<{
|
|
15
|
-
items: Array<Build<BibliographyItem>>;
|
|
16
|
-
total: number;
|
|
17
|
-
}>;
|
|
18
|
-
export interface LibrarySource {
|
|
19
|
-
id: string;
|
|
20
|
-
name: string;
|
|
21
|
-
fetch: (item: Partial<BibliographyItem>, mailto: string) => Promise<Partial<BibliographyItem>>;
|
|
22
|
-
search: SearchInterface;
|
|
23
|
-
}
|
|
24
|
-
export declare const sources: LibrarySource[];
|
|
25
|
-
export {};
|