|
1 | 1 | import { addScript, addLink, getTheme } from '../BootstrapBlazor/modules/utility.js' |
2 | 2 | import DataService from './data-service.js' |
3 | 3 |
|
4 | | -const loadAssets2 = async lang => { |
5 | | - await addScript('./_content/BootstrapBlazor.UniverSheet/univer/react.production.min.js'); |
6 | | - await addScript('./_content/BootstrapBlazor.UniverSheet/univer/react-dom.production.min.js'); |
7 | | - await addScript('./_content/BootstrapBlazor.UniverSheet/univer/rxjs.umd.min.js'); |
8 | | - await addScript('./_content/BootstrapBlazor.UniverSheet/univer/univerjs.presets.umd.min.js'); |
9 | | - await addScript('./_content/BootstrapBlazor.UniverSheet/univer/univerjs.preset-sheets-core/index.umd.min.js'); |
10 | | - await addScript('./_content/BootstrapBlazor.UniverSheet/univer/univerjs.preset-sheets-drawing/index.umd.min.js'); |
11 | | - await addScript('./_content/BootstrapBlazor.UniverSheet/univer/univerjs.sheets-zen-editor/index.umd.min.js'); |
12 | | - await addScript('./_content/BootstrapBlazor.UniverSheet/univer/univerjs.preset-sheets-data-validation/index.umd.min.js'); |
13 | | - await addScript('./_content/BootstrapBlazor.UniverSheet/univer/univerjs.preset-sheets-thread-comment/index.umd.min.js'); |
14 | | - await addScript('./_content/BootstrapBlazor.UniverSheet/univer/univerjs.preset-sheets-hyper-link/index.umd.min.js'); |
15 | | - await addScript('./_content/BootstrapBlazor.UniverSheet/univer/univerjs.preset-sheets-filter/index.umd.min.js'); |
16 | | - await addScript('./_content/BootstrapBlazor.UniverSheet/univer/univerjs.preset-sheets-conditional-formatting/index.umd.min.js'); |
17 | | - await addScript('./_content/BootstrapBlazor.UniverSheet/univer/univerjs.preset-sheets-advanced/index.umd.min.js'); |
18 | | - |
19 | | - await addScript(`./_content/BootstrapBlazor.UniverSheet/univer/univerjs.preset-sheets-core/locales/${lang}.js`); |
20 | | - await addScript(`./_content/BootstrapBlazor.UniverSheet/univer/univerjs.preset-sheets-drawing/locales/${lang}.js`); |
21 | | - await addScript(`./_content/BootstrapBlazor.UniverSheet/univer/univerjs.sheets-zen-editor/locales/${lang}.js`); |
22 | | - await addScript(`./_content/BootstrapBlazor.UniverSheet/univer/univerjs.preset-sheets-data-validation/locales/${lang}.js`); |
23 | | - await addScript(`./_content/BootstrapBlazor.UniverSheet/univer/univerjs.preset-sheets-thread-comment/locales/${lang}.js`); |
24 | | - await addScript(`./_content/BootstrapBlazor.UniverSheet/univer/univerjs.preset-sheets-advanced/locales/${lang}.js`); |
25 | | - |
26 | | - await addLink('./_content/BootstrapBlazor.UniverSheet/univer/univer-sheet.bundle.css'); |
27 | | -} |
28 | | - |
29 | 4 | const loadAssets = async lang => { |
| 5 | + await addLink('./_content/BootstrapBlazor.UniverSheet/css/univer-sheet.bundle.css'); |
30 | 6 | await addScript('./_content/BootstrapBlazor.UniverSheet/univer/univer-bundle.js'); |
31 | 7 | } |
32 | 8 |
|
|
0 commit comments