n20-common-lib 2.22.38 → 2.22.39

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,10 +1,11 @@
1
1
  {
2
2
  "name": "n20-common-lib",
3
- "version": "2.22.38",
3
+ "version": "2.22.39",
4
4
  "private": false,
5
5
  "scripts": {
6
6
  "serve": "vue-cli-service serve",
7
7
  "build": "node versionInfo.js && npm run build:css && vue-cli-service build --testTheme",
8
+ "prepublishOnly": "npm run build:css",
8
9
  "test:unit": "vue-cli-service test:unit",
9
10
  "lint": "vue-cli-service lint",
10
11
  "build:Jenkins_1": "vue-cli-service build --serverConfig ./server-config-jenkins.jsonc",
@@ -14,9 +14,14 @@ export default {
14
14
  column: {
15
15
  type: Number,
16
16
  default: 2
17
+ },
18
+ autoResize: {
19
+ type: Boolean,
20
+ default: true
17
21
  }
18
22
  },
19
23
  created() {
24
+ if (!this.autoResize) return
20
25
  this.resize()
21
26
  window.addEventListener('resize', this.resize)
22
27
  },