@abi-software/scaffoldvuer 1.9.0-beta.3 → 1.9.1-beta.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@abi-software/scaffoldvuer",
3
- "version": "1.9.0-beta.3",
3
+ "version": "1.9.1-beta.0",
4
4
  "license": "Apache-2.0",
5
5
  "repository": {
6
6
  "type": "git",
@@ -41,7 +41,7 @@
41
41
  "*.js"
42
42
  ],
43
43
  "dependencies": {
44
- "@abi-software/map-utilities": "^1.5.0-beta.3",
44
+ "@abi-software/map-utilities": "^1.5.0",
45
45
  "@abi-software/sparc-annotation": "^0.3.2",
46
46
  "@abi-software/svg-sprite": "^1.0.1",
47
47
  "@element-plus/icons-vue": "^2.3.1",
@@ -360,7 +360,7 @@
360
360
  </template>
361
361
  </el-popover>
362
362
  </el-row>
363
- <el-row>
363
+ <el-row v-if="showLocalSettings">
364
364
  <el-popover
365
365
  :visible="hoverVisibilities[4].value"
366
366
  content="Change background color"
@@ -706,6 +706,14 @@ export default {
706
706
  type: String,
707
707
  default: "https://mapcore-demo.org/current/flatmap/v3/"
708
708
  },
709
+ /**
710
+ * The option to show local settings UI
711
+ * (background colour, viewing mode, etc.)
712
+ */
713
+ showLocalSettings: {
714
+ type: Boolean,
715
+ default: true,
716
+ },
709
717
  },
710
718
  provide() {
711
719
  return {
@@ -1,36 +0,0 @@
1
- import { defineConfig } from 'vite'
2
- import rootConfig from './vite.config.js'
3
- import { nodePolyfills } from 'vite-plugin-node-polyfills'
4
- import vue from '@vitejs/plugin-vue'
5
-
6
- // defineWorkspace provides a nice type hinting DX
7
- export default defineConfig((configEnv) => {
8
- const config = rootConfig(configEnv);
9
- config.css.extract = false
10
- config.plugins.push(
11
- nodePolyfills({
12
- // To add only specific polyfills, add them here. If no option is passed, adds all polyfills
13
- include: ['path']
14
- })
15
- );
16
- // config.plugins.push(
17
- // cssInjectedByJsPlugin()
18
- // );
19
- config.plugins[0] = vue({
20
- template: {
21
- compilerOptions: {
22
- isCustomElement: (tag) => tag.includes('scaffoldvuer-wc')
23
- }
24
- }
25
- }),
26
- config.build = {
27
- lib: {
28
- entry: './src/ScaffoldVuer-wc.js',
29
- name: 'scaffoldvuer-wc',
30
- // the proper extensions will be added
31
- fileName: 'scaffoldvuer-wc'
32
- },
33
- }
34
-
35
- return config;
36
- })