@vcmap/ui 5.1.0 → 5.1.2
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/buildHelpers.js +1 -1
- package/dist/assets/cesium.js +1 -1
- package/dist/assets/{core.8fff97.js → core.753649.js} +609 -611
- package/dist/assets/core.js +1 -1
- package/dist/assets/index-cc59d4fd.js +1 -0
- package/dist/assets/ol.js +1 -1
- package/dist/assets/{ui.301d83.css → ui.a843ac.css} +1 -1
- package/dist/assets/{ui.301d83.js → ui.a843ac.js} +330 -332
- package/dist/assets/ui.js +1 -1
- package/dist/assets/vue.js +2 -2
- package/dist/assets/{vuetify.2fbc17.js → vuetify.50800a.js} +1 -1
- package/dist/assets/vuetify.js +2 -2
- package/dist/index.html +1 -1
- package/package.json +2 -2
- package/src/components/tables/VcsDataTable.vue +7 -1
- package/src/components/viewpoint/VcsViewpointComponent.vue +2 -3
- package/src/pluginHelper.js +4 -2
- package/dist/assets/index-de529e1b.js +0 -1
- /package/dist/assets/{cesium.f4573f.js → cesium.6a1548.js} +0 -0
- /package/dist/assets/{ol.25a933.js → ol.441b59.js} +0 -0
- /package/dist/assets/{vue.806e32.js → vue.118f2c.js} +0 -0
- /package/dist/assets/{vuetify.2fbc17.css → vuetify.50800a.css} +0 -0
package/dist/assets/ui.js
CHANGED
@@ -1 +1 @@
|
|
1
|
-
export * from "./ui.
|
1
|
+
export * from "./ui.a843ac.js";
|
package/dist/assets/vue.js
CHANGED
@@ -13,7 +13,7 @@ function loadCss(href) {
|
|
13
13
|
elem.onerror = reject;
|
14
14
|
document.head.appendChild(elem);
|
15
15
|
});
|
16
|
-
} await loadCss('./assets/vuetify.
|
16
|
+
} await loadCss('./assets/vuetify.50800a.css');import v from "./vue.118f2c.js";
|
17
17
|
const Ne = v.extend().extend({
|
18
18
|
name: "themeable",
|
19
19
|
provide() {
|
package/dist/assets/vuetify.js
CHANGED
package/dist/index.html
CHANGED
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@vcmap/ui",
|
3
|
-
"version": "5.1.
|
3
|
+
"version": "5.1.2",
|
4
4
|
"author": "Virtual City Systems",
|
5
5
|
"license": "MIT",
|
6
6
|
"scripts": {
|
@@ -53,7 +53,7 @@
|
|
53
53
|
},
|
54
54
|
"peerDependencies": {
|
55
55
|
"@vcmap-cesium/engine": "^4.0.3",
|
56
|
-
"@vcmap/core": "^5.1.
|
56
|
+
"@vcmap/core": "^5.1.1",
|
57
57
|
"ol": "^7.5.2",
|
58
58
|
"vue": "~2.7.3",
|
59
59
|
"vuetify": "~2.6.7"
|
@@ -359,10 +359,16 @@
|
|
359
359
|
const last = page.value * itemsPerPageRef.value;
|
360
360
|
return last < numberOfItems.value ? last : numberOfItems.value;
|
361
361
|
});
|
362
|
+
|
362
363
|
watch(
|
363
364
|
() => props.items,
|
364
365
|
() => {
|
365
|
-
|
366
|
+
if (
|
367
|
+
props.serverPagesLength === -1 &&
|
368
|
+
props.serverItemsLength === -1
|
369
|
+
) {
|
370
|
+
page.value = 1;
|
371
|
+
}
|
366
372
|
},
|
367
373
|
);
|
368
374
|
|
@@ -47,13 +47,12 @@
|
|
47
47
|
v-if="animate"
|
48
48
|
id="duration"
|
49
49
|
dense
|
50
|
+
clearable
|
50
51
|
type="number"
|
51
|
-
:min="
|
52
|
+
:min="1"
|
52
53
|
unit="s"
|
53
54
|
:title="$t('components.viewpoint.duration')"
|
54
|
-
placeholder="0 s"
|
55
55
|
v-model.number="duration"
|
56
|
-
:rules="[isPositiveNumber]"
|
57
56
|
/>
|
58
57
|
</v-col>
|
59
58
|
</v-row>
|
package/src/pluginHelper.js
CHANGED
@@ -103,11 +103,13 @@ export async function loadPlugin(name, config) {
|
|
103
103
|
// early escape to bypass module loading for testing, see import("@src/vcsUiApp.js").default.spec.js
|
104
104
|
return null;
|
105
105
|
}
|
106
|
+
const moduleUrl = new URL(module, window.location.href);
|
106
107
|
if (config.version) {
|
107
|
-
const moduleUrl = new URL(module, window.location.href);
|
108
108
|
moduleUrl.searchParams.set('version', config.version);
|
109
|
-
module = moduleUrl.toString();
|
110
109
|
}
|
110
|
+
moduleUrl.searchParams.set('mapVersion', version);
|
111
|
+
module = moduleUrl.toString();
|
112
|
+
|
111
113
|
// if (!context.security.isTrustedUrl(module)) { XXX missing pipeline security
|
112
114
|
// getLogger().warning(`suppressed loading of insecure plugin ${module}`);
|
113
115
|
// return Promise.resolve();
|
@@ -1 +0,0 @@
|
|
1
|
-
import{initAppFromAppConfig as p}from"./ui.301d83.js";p("#app","app.config.json");
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|