@abi-software/scaffoldvuer 0.4.0-vue3.5 → 0.4.0-vue3.6

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": "0.4.0-vue3.5",
3
+ "version": "0.4.0-vue3.6",
4
4
  "license": "Apache-2.0",
5
5
  "repository": {
6
6
  "type": "git",
@@ -9,9 +9,7 @@
9
9
  "scripts": {
10
10
  "serve": "vite --host --force",
11
11
  "build-bundle": "vite build",
12
- "lint": "vue-cli-service lint --ext .js,.vue src",
13
- "build:bundle": "vue-cli-service build --target lib --name scaffoldvuer ./src/components/index.js",
14
- "build:wc": "vue-cli-service build --target lib --name scaffoldvuer-wc ./src/ScaffoldVuer-wc.js --mode wc --env bundle --no-clean",
12
+ "build-static": "vite build -c vite.static-build.js",
15
13
  "styleguide": "vue-cli-service styleguidist",
16
14
  "styleguide:build": "vue-cli-service styleguidist:build",
17
15
  "changelog": "auto-changelog -p --output CHANGELOG.md --template keepachangelog",
@@ -2018,34 +2018,7 @@ export default {
2018
2018
  background-color: var(--white);
2019
2019
  font-weight: 500;
2020
2020
  color: rgb(48, 49, 51);
2021
- width:60px;
2022
- :deep(.el-select__wrapper) {
2023
- padding: 0px;
2024
- min-height: 26px;
2025
- color: rgb(48, 49, 51);
2026
- }
2027
- &.viewing-mode {
2028
- :deep(.el-select__wrapper) {
2029
- line-height:30px
2030
- }
2031
- }
2032
-
2033
- :deep()
2034
- .el-select__selected-item {
2035
- color: $app-primary-color;
2036
- height: 22px;
2037
- border: none;
2038
- font-family: "Asap", sans-serif;
2039
- line-height: 22px;
2040
- &is-focus, &:focus {
2041
- border: 1px solid $app-primary-color;
2042
- }
2043
- }
2044
-
2045
- :deep(.el-input),
2046
- :deep(.el-input__icon) {
2047
- line-height: 22px;
2048
- }
2021
+ width: 150px!important;
2049
2022
  }
2050
2023
 
2051
2024
  :deep(.scaffold_viewer_dropdown) {
package/vite.config.js CHANGED
@@ -40,10 +40,12 @@ export default defineConfig(({ command, mode }) => {
40
40
  fileName: 'scaffoldvuer',
41
41
  },
42
42
  rollupOptions: {
43
- external: ["vue"],
43
+ external: ["vue", "@abi-software/flatmapvuer", "@abi-software/svg-sprite"],
44
44
  output: {
45
45
  globals: {
46
46
  vue: "Vue",
47
+ "@abi-software/flatmapvuer": "@abi-software/flatmapvuer",
48
+ "@abi-software/svg-sprite": "@abi-software/svg-sprite"
47
49
  },
48
50
  },
49
51
  },
@@ -0,0 +1,12 @@
1
+ import { defineConfig } from 'vite'
2
+ import rootConfig from './vite.config.js'
3
+
4
+ // defineWorkspace provides a nice type hinting DX
5
+ export default defineConfig((configEnv) => {
6
+ const config = rootConfig(configEnv);
7
+ config.build = {
8
+ outDir: "test-html"
9
+ };
10
+
11
+ return config;
12
+ })
package/vue.config.js DELETED
@@ -1,41 +0,0 @@
1
-
2
- const nodeExternals = require('webpack-node-externals');
3
-
4
- module.exports = {
5
- configureWebpack: config => {
6
- if(process.env.NODE_ENV === 'production') {
7
- config.externals = [ nodeExternals({allowlist: [/^element-ui/]}) ];
8
- }
9
- },
10
- chainWebpack: config => {
11
- // GraphQL Loader
12
- config.module
13
- .rule('shader')
14
- .test(/\.(vs|fs)$/i)
15
- .use('raw-loader')
16
- .loader('raw-loader')
17
- .end()
18
- const fontsRule = config.module.rule('fonts')
19
- fontsRule.uses.clear()
20
- config.module
21
- .rule('fonts')
22
- .test(/\.(ttf|otf|eot|woff|woff2)$/)
23
- .use('base64-inline-loader')
24
- .loader('base64-inline-loader')
25
- .tap(options => {
26
- // modify the options...
27
- return options
28
- })
29
- .end()
30
- },
31
- css: {
32
- sourceMap: process.env.NODE_ENV === 'wc',
33
- extract: process.env.NODE_ENV !== 'wc',
34
- //Import variables into all stylesheets.
35
- loaderOptions: {
36
- sass: {
37
- prependData: `@import '@/assets/styles';`
38
- }
39
- }
40
- }
41
- }