Skip to content

Commit

Permalink
Merge pull request #181 from scaife-viewer/feature/embed-widget
Browse files Browse the repository at this point in the history
Add Embed Widget
  • Loading branch information
jacobwegner authored Nov 28, 2023
2 parents 82f5f3c + b9981de commit 642f66f
Show file tree
Hide file tree
Showing 3 changed files with 276 additions and 236 deletions.
79 changes: 37 additions & 42 deletions frontend/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,41 +16,42 @@
"@fortawesome/fontawesome-svg-core": "^1.2.32",
"@fortawesome/free-solid-svg-icons": "^5.15.1",
"@fortawesome/vue-fontawesome": "^2.0.0",
"@scaife-viewer/common": "https://gitpkg.vercel.app/scaife-viewer/frontend/packages/common?3721bc6bbc2d78cfe050c490afe6529eab217860",
"@scaife-viewer/reader-alignments-mode": "https://gitpkg.vercel.app/scaife-viewer/frontend/packages/reader-alignments-mode?3721bc6bbc2d78cfe050c490afe6529eab217860",
"@scaife-viewer/reader-commentaries-mode": "https://gitpkg.vercel.app/scaife-viewer/frontend/packages/reader-commentaries-mode?3721bc6bbc2d78cfe050c490afe6529eab217860",
"@scaife-viewer/reader-dictionary-entries-mode": "https://gitpkg.vercel.app/scaife-viewer/frontend/packages/reader-dictionary-entries-mode?3721bc6bbc2d78cfe050c490afe6529eab217860",
"@scaife-viewer/reader-image-mode": "https://gitpkg.vercel.app/scaife-viewer/frontend/packages/reader-image-mode?3721bc6bbc2d78cfe050c490afe6529eab217860",
"@scaife-viewer/reader-interlinear-mode": "https://gitpkg.vercel.app/scaife-viewer/frontend/packages/reader-interlinear-mode?3721bc6bbc2d78cfe050c490afe6529eab217860",
"@scaife-viewer/reader-metrical-mode": "https://gitpkg.vercel.app/scaife-viewer/frontend/packages/reader-metrical-mode?3721bc6bbc2d78cfe050c490afe6529eab217860",
"@scaife-viewer/reader-named-entities-mode": "https://gitpkg.vercel.app/scaife-viewer/frontend/packages/reader-named-entities-mode?3721bc6bbc2d78cfe050c490afe6529eab217860",
"@scaife-viewer/reader-syntax-trees-mode": "https://gitpkg.vercel.app/scaife-viewer/frontend/packages/reader-syntax-trees-mode?3721bc6bbc2d78cfe050c490afe6529eab217860",
"@scaife-viewer/reader-tei-fallback-mode": "https://gitpkg.vercel.app/scaife-viewer/frontend/packages/reader-tei-fallback-mode?3721bc6bbc2d78cfe050c490afe6529eab217860",
"@scaife-viewer/reader-grammatical-entries-mode": "https://gitpkg.vercel.app/scaife-viewer/frontend/packages/reader-grammatical-entries-mode?3721bc6bbc2d78cfe050c490afe6529eab217860",
"@scaife-viewer/skeleton": "https://gitpkg.vercel.app/scaife-viewer/frontend/packages/skeleton?3721bc6bbc2d78cfe050c490afe6529eab217860",
"@scaife-viewer/store": "https://gitpkg.vercel.app/scaife-viewer/frontend/packages/store?3721bc6bbc2d78cfe050c490afe6529eab217860",
"@scaife-viewer/widget-audio": "https://gitpkg.vercel.app/scaife-viewer/frontend/packages/widget-audio?3721bc6bbc2d78cfe050c490afe6529eab217860",
"@scaife-viewer/widget-commentary": "https://gitpkg.vercel.app/scaife-viewer/frontend/packages/widget-commentary?3721bc6bbc2d78cfe050c490afe6529eab217860",
"@scaife-viewer/widget-dictionary-entries": "https://gitpkg.vercel.app/scaife-viewer/frontend/packages/widget-dictionary-entries?3721bc6bbc2d78cfe050c490afe6529eab217860",
"@scaife-viewer/widget-display-mode": "https://gitpkg.vercel.app/scaife-viewer/frontend/packages/widget-display-mode?3721bc6bbc2d78cfe050c490afe6529eab217860",
"@scaife-viewer/widget-library": "https://gitpkg.vercel.app/scaife-viewer/frontend/packages/widget-library?3721bc6bbc2d78cfe050c490afe6529eab217860",
"@scaife-viewer/widget-metadata": "https://gitpkg.vercel.app/scaife-viewer/frontend/packages/widget-metadata?3721bc6bbc2d78cfe050c490afe6529eab217860",
"@scaife-viewer/widget-morphology": "https://gitpkg.vercel.app/scaife-viewer/frontend/packages/widget-morphology?3721bc6bbc2d78cfe050c490afe6529eab217860",
"@scaife-viewer/widget-named-entities": "https://gitpkg.vercel.app/scaife-viewer/frontend/packages/widget-named-entities?3721bc6bbc2d78cfe050c490afe6529eab217860",
"@scaife-viewer/widget-grammatical-entries": "https://gitpkg.vercel.app/scaife-viewer/frontend/packages/widget-grammatical-entries?3721bc6bbc2d78cfe050c490afe6529eab217860",
"@scaife-viewer/widget-new-alexandria": "https://gitpkg.vercel.app/scaife-viewer/frontend/packages/widget-new-alexandria?b48935fa4737773a8d1b8460c75660ba26f3e0c9",
"@scaife-viewer/widget-passage-ancestors": "https://gitpkg.vercel.app/scaife-viewer/frontend/packages/widget-passage-ancestors?3721bc6bbc2d78cfe050c490afe6529eab217860",
"@scaife-viewer/widget-passage-children": "https://gitpkg.vercel.app/scaife-viewer/frontend/packages/widget-passage-children?3721bc6bbc2d78cfe050c490afe6529eab217860",
"@scaife-viewer/widget-passage-lemma-traversal": "https://gitpkg.vercel.app/scaife-viewer/frontend/packages/widget-passage-lemma-traversal?3721bc6bbc2d78cfe050c490afe6529eab217860",
"@scaife-viewer/widget-passage-reference": "https://gitpkg.vercel.app/scaife-viewer/frontend/packages/widget-passage-reference?3721bc6bbc2d78cfe050c490afe6529eab217860",
"@scaife-viewer/widget-passage-siblings": "https://gitpkg.vercel.app/scaife-viewer/frontend/packages/widget-passage-siblings?3721bc6bbc2d78cfe050c490afe6529eab217860",
"@scaife-viewer/widget-reader": "https://gitpkg.vercel.app/scaife-viewer/frontend/packages/widget-reader?3721bc6bbc2d78cfe050c490afe6529eab217860",
"@scaife-viewer/widget-scholia": "https://gitpkg.vercel.app/scaife-viewer/frontend/packages/widget-scholia?3721bc6bbc2d78cfe050c490afe6529eab217860",
"@scaife-viewer/widget-text-size": "https://gitpkg.vercel.app/scaife-viewer/frontend/packages/widget-text-size?3721bc6bbc2d78cfe050c490afe6529eab217860",
"@scaife-viewer/widget-text-width": "https://gitpkg.vercel.app/scaife-viewer/frontend/packages/widget-text-width?3721bc6bbc2d78cfe050c490afe6529eab217860",
"@scaife-viewer/widget-toc": "https://gitpkg.vercel.app/scaife-viewer/frontend/packages/widget-toc?3721bc6bbc2d78cfe050c490afe6529eab217860",
"@scaife-viewer/widget-token-annotations": "https://gitpkg.vercel.app/scaife-viewer/frontend/packages/widget-token-annotations?3721bc6bbc2d78cfe050c490afe6529eab217860",
"@scaife-viewer/widget-word-list": "https://gitpkg.vercel.app/scaife-viewer/frontend/packages/widget-word-list?3721bc6bbc2d78cfe050c490afe6529eab217860",
"@scaife-viewer/common": "^0.6.0",
"@scaife-viewer/reader-alignments-mode": "^0.6.0",
"@scaife-viewer/reader-commentaries-mode": "^0.6.0",
"@scaife-viewer/reader-dictionary-entries-mode": "^0.6.0",
"@scaife-viewer/reader-grammatical-entries-mode": "^0.6.0",
"@scaife-viewer/reader-image-mode": "^0.6.0",
"@scaife-viewer/reader-interlinear-mode": "^0.6.0",
"@scaife-viewer/reader-metrical-mode": "^0.6.0",
"@scaife-viewer/reader-named-entities-mode": "^0.6.0",
"@scaife-viewer/reader-syntax-trees-mode": "^0.6.0",
"@scaife-viewer/reader-tei-fallback-mode": "^0.6.0",
"@scaife-viewer/skeleton": "^0.6.0",
"@scaife-viewer/store": "^0.6.0",
"@scaife-viewer/widget-audio": "^0.6.0",
"@scaife-viewer/widget-commentary": "^0.6.0",
"@scaife-viewer/widget-dictionary-entries": "^0.6.0",
"@scaife-viewer/widget-display-mode": "^0.6.0",
"@scaife-viewer/widget-embed": "^0.6.0",
"@scaife-viewer/widget-grammatical-entries": "^0.6.0",
"@scaife-viewer/widget-library": "^0.6.0",
"@scaife-viewer/widget-metadata": "^0.6.0",
"@scaife-viewer/widget-morphology": "^0.6.0",
"@scaife-viewer/widget-named-entities": "^0.6.0",
"@scaife-viewer/widget-new-alexandria": "^0.6.0",
"@scaife-viewer/widget-passage-ancestors": "^0.6.0",
"@scaife-viewer/widget-passage-children": "^0.6.0",
"@scaife-viewer/widget-passage-lemma-traversal": "^0.6.0",
"@scaife-viewer/widget-passage-reference": "^0.6.0",
"@scaife-viewer/widget-passage-siblings": "^0.6.0",
"@scaife-viewer/widget-reader": "^0.6.0",
"@scaife-viewer/widget-scholia": "^0.6.0",
"@scaife-viewer/widget-text-size": "^0.6.0",
"@scaife-viewer/widget-text-width": "^0.6.0",
"@scaife-viewer/widget-toc": "^0.6.0",
"@scaife-viewer/widget-token-annotations": "^0.6.0",
"@scaife-viewer/widget-word-list": "^0.6.0",
"apollo-boost": "^0.4.9",
"core-js": "^3.6.5",
"graphql-tag": "^2.11.0",
Expand Down Expand Up @@ -96,11 +97,5 @@
"browserslist": [
"> 1%",
"last 2 versions"
],
"resolutions": {
"@scaife-viewer/widget-reader": "https://gitpkg.vercel.app/scaife-viewer/frontend/packages/widget-reader?3721bc6bbc2d78cfe050c490afe6529eab217860",
"@scaife-viewer/common": "https://gitpkg.vercel.app/scaife-viewer/frontend/packages/common?3721bc6bbc2d78cfe050c490afe6529eab217860",
"@scaife-viewer/store": "https://gitpkg.vercel.app/scaife-viewer/frontend/packages/store?3721bc6bbc2d78cfe050c490afe6529eab217860",
"@scaife-viewer/vue-treant": "https://gitpkg.vercel.app/scaife-viewer/frontend/packages/vue-treant?3721bc6bbc2d78cfe050c490afe6529eab217860"
}
]
}
2 changes: 2 additions & 0 deletions frontend/src/views/ReaderView.vue
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@
import AudioWidget from '@scaife-viewer/widget-audio';
import WordListWidget from '@scaife-viewer/widget-word-list';
import NewAlexandriaWidget from '@scaife-viewer/widget-new-alexandria';
import EmbedWidget from '@scaife-viewer/widget-embed';
// import EHNewAlexandriaWidget from '../widgets/EHNewAlexandriaWidget.vue';
Expand Down Expand Up @@ -91,6 +92,7 @@
NewAlexandriaWidget,
WordListWidget,
ScholiaWidget,
EmbedWidget,
// EHNewAlexandriaWidget,
];
},
Expand Down
Loading

0 comments on commit 642f66f

Please sign in to comment.