Skip to content

Commit 275a17f

Browse files
committed
Remove universal loader component
1 parent db50969 commit 275a17f

File tree

8 files changed

+324
-241
lines changed

8 files changed

+324
-241
lines changed

TestingArena/ArenaVueUiXy.vue

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,6 @@ import Box from "./Box.vue";
66
import convertArrayToObject from "./convertModel";
77
import { useArena } from "../src/useArena";
88
9-
const xyLoader = () => import('vue-data-ui/vue-ui-xy')
10-
119
const { local, build, vduiLocal, vduiBuild, toggleTable, toggleLabels, toggleStack } = useArena()
1210
1311
const dates = [
@@ -1400,7 +1398,7 @@ onMounted(async () => {
14001398
</template>
14011399

14021400
<template #VDUI-local>
1403-
<LocalVueDataUi :loader="xyLoader" :dataset="isPropsToggled ? alternateDataset : dataset"
1401+
<LocalVueDataUi component="VueUiXy" :dataset="isPropsToggled ? alternateDataset : dataset"
14041402
:config="isPropsToggled ? alternateConfig : config" :key="`VDUI-lodal_${step}`"
14051403
:selectedXIndex="selectedIndex"
14061404
@selectLegend="selectLegend" @selectX="selectX" ref="vduiLocal">
@@ -1496,7 +1494,7 @@ onMounted(async () => {
14961494
</template>
14971495

14981496
<template #VDUI-build>
1499-
<VueDataUi :loader="xyLoader" :dataset="isPropsToggled ? alternateDataset : dataset" :config="isPropsToggled ? alternateConfig : config" :key="`VDUI-build_${step}`"
1497+
<VueDataUi component="VueUiXy" :dataset="isPropsToggled ? alternateDataset : dataset" :config="isPropsToggled ? alternateConfig : config" :key="`VDUI-build_${step}`"
15001498
@selectLegend="selectLegend" @selectX="selectX" ref="vduiBuild">
15011499
<template #time-label="{x, y, fontSize, fill, transform, absoluteIndex, content, textAnchor }">
15021500
<g @click="() => selectTimeLabel({x, y, fontSize, absoluteIndex })">

package.json

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -73,11 +73,6 @@
7373
"import": "./dist/components/*.js",
7474
"default": "./dist/components/*.js"
7575
},
76-
"./universal": {
77-
"types": "./dist/types/universal.d.ts",
78-
"import": "./dist/universal.js",
79-
"default": "./dist/universal.js"
80-
},
8176
"./style.css": "./dist/style.css"
8277
},
8378
"sideEffects": [
@@ -119,4 +114,4 @@
119114
"vitest": "^3.2.4",
120115
"vue": "^3.5.21"
121116
}
122-
}
117+
}

src/components/universal-registry.js

Lines changed: 0 additions & 67 deletions
This file was deleted.

0 commit comments

Comments
 (0)