Skip to content
Merged
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
349 changes: 247 additions & 102 deletions src/components/BootstrapBlazor.DockView/wwwroot/js/dockview-core.esm.js

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -547,7 +547,7 @@ const createFloatingGroup = (group, rect, groupType) => {
dockview.moveGroupOrPanel({
from: { groupId: group.id, panelId: panel.id },
to: { group: floatingGroup, position: 'center', index },
skipRemoveGroup: true,
keepEmptyGroups: true,
})
})
dockview.setVisible(group, false)
Expand Down
8 changes: 6 additions & 2 deletions src/components/BootstrapBlazor.UniverSheet/wwwroot/univer.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { addScript, addLink, getTheme } from '../BootstrapBlazor/modules/utility.js'
import { addScript, addLink, getTheme } from '../BootstrapBlazor/modules/utility.js'
import DataService from './data-service.js'

const loadAssets = async lang => {
const loadAssets2 = async lang => {
await addScript('./_content/BootstrapBlazor.UniverSheet/univer/react.production.min.js');
await addScript('./_content/BootstrapBlazor.UniverSheet/univer/react-dom.production.min.js');
await addScript('./_content/BootstrapBlazor.UniverSheet/univer/rxjs.umd.min.js');
Expand All @@ -26,6 +26,10 @@ const loadAssets = async lang => {
await addLink('./_content/BootstrapBlazor.UniverSheet/univer/univer-sheet.bundle.css');
}

const loadAssets = async lang => {
await addScript('./_content/BootstrapBlazor.UniverSheet/univer/univer-bundle.js');
await addLink('./_content/BootstrapBlazor.UniverSheet/univer/univer-sheet.bundle.css');
}
export async function createUniverSheetAsync(sheet) {
sheet.lang = sheet.lang ?? 'en-US';
await loadAssets(sheet.lang);
Expand Down

Large diffs are not rendered by default.

Loading