@zjlab-fe/data-hub-ui 0.0.8 → 0.1.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/build/index.html +20 -0
- package/build/static/main.e27916db0c5de839c618.js +2 -0
- package/build/static/main.e27916db0c5de839c618.js.LICENSE.txt +124 -0
- package/dist/types/components/file-preview/json-preview/index.d.ts +2 -0
- package/dist/types/components/uploadDrawer/fileUploadDrawer.d.ts +1 -1
- package/dist/types/components/uploadDrawer/fileUploadDrawerList.d.ts +1 -1
- package/dist/types/demo/demoLayout/index.d.ts +2 -0
- package/dist/types/demo/doc-site/components/index.d.ts +1 -0
- package/dist/types/demo/doc-site/header/index.d.ts +1 -0
- package/dist/types/demo/doc-site/index.d.ts +0 -0
- package/dist/types/demo/docLayout/index.d.ts +2 -0
- package/dist/types/demo/router/index.d.ts +6 -2
- package/es/index.js +1 -1
- package/lib/index.js +1 -1
- package/package.json +100 -94
- package/webpack.common.js +54 -0
package/build/index.html
ADDED
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
<!doctype html><html lang="en"><head><meta charset="utf-8"/><meta name="viewport" content="width=device-width,initial-scale=1"/><title>title</title><script>// Single Page Apps for GitHub Pages
|
|
2
|
+
// MIT License
|
|
3
|
+
// https://github.com/rafgraph/spa-github-pages
|
|
4
|
+
// This script checks to see if a redirect is present in the query string,
|
|
5
|
+
// converts it back into the correct url and adds it to the
|
|
6
|
+
// browser's history using window.history.replaceState(...),
|
|
7
|
+
// which won't cause the browser to attempt to load the new url.
|
|
8
|
+
// When the single page app is loaded further down in this file,
|
|
9
|
+
// the correct url will be waiting in the browser's history for
|
|
10
|
+
// the single page app to route accordingly.
|
|
11
|
+
(function(l) {
|
|
12
|
+
if (l.search[1] === '/' ) {
|
|
13
|
+
var decoded = l.search.slice(1).split('&').map(function(s) {
|
|
14
|
+
return s.replace(/~and~/g, '&')
|
|
15
|
+
}).join('?');
|
|
16
|
+
window.history.replaceState(null, null,
|
|
17
|
+
l.pathname.slice(0, -1) + decoded + l.hash
|
|
18
|
+
);
|
|
19
|
+
}
|
|
20
|
+
}(window.location))</script></head><body><div id="root"></div><script defer="defer" src="/fe-assets/data-hub-ui/static/main.e27916db0c5de839c618.js"></script></body></html>
|