xianniu-ui 0.8.24 → 0.8.26

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": "xianniu-ui",
3
- "version": "0.8.24",
3
+ "version": "0.8.26",
4
4
  "private": false,
5
5
  "main": "lib/xianniu-ui.umd.min.js",
6
6
  "scripts": {
@@ -10,7 +10,8 @@
10
10
  "style": "gulp --gulpfile ./packages/style/gulpfile.js",
11
11
  "play": "cross-env NODE_ENV=development PLAY_ENV=true vue-cli-service serve",
12
12
  "deploy": "bash deploy.sh",
13
- "lint": "vue-cli-service lint"
13
+ "lint": "vue-cli-service lint",
14
+ "release": "node ./build/release.js"
14
15
  },
15
16
  "license": "MIT",
16
17
  "files": [
@@ -48,6 +49,7 @@
48
49
  "eslint-plugin-vue": "^6.2.2",
49
50
  "highlight.js": "^9.3.0",
50
51
  "html-loader": "^3.0.1",
52
+ "inquirer": "^8.2.6",
51
53
  "markdown-it": "^8.4.2",
52
54
  "markdown-it-anchor": "^5.3.0",
53
55
  "markdown-it-chain": "^1.3.0",
@@ -56,6 +58,7 @@
56
58
  "mini-css-extract-plugin": "^0.4.1",
57
59
  "sass": "^1.32.6",
58
60
  "sass-loader": "^8.0.2",
61
+ "shelljs": "^0.8.5",
59
62
  "transliteration": "^1.1.11",
60
63
  "vue-template-compiler": "^2.7.14"
61
64
  }
@@ -113,7 +113,7 @@
113
113
  ? ['00:00:00', '23:59:59']
114
114
  : item.defaultTime
115
115
  "
116
- @on-change="onChangeDate"
116
+ @on-change="item.change && item.change($event, item.prop)"
117
117
  @on-format="onChangeDateFormat"
118
118
  />
119
119
  </el-form-item>
@@ -244,16 +244,16 @@ export default {
244
244
  return flag;
245
245
  };
246
246
  },
247
- btnLabelWidth(){
248
- const {lastLabelWidth,labelWidth} = this
249
- let w = labelWidth
250
- if(lastLabelWidth!=null){
251
- w=lastLabelWidth
252
- } else if(this.form.value.length === 1 || !this.isColl){
253
- w=0
247
+ btnLabelWidth() {
248
+ const { lastLabelWidth, labelWidth } = this;
249
+ let w = labelWidth;
250
+ if (lastLabelWidth != null) {
251
+ w = lastLabelWidth;
252
+ } else if (this.form.value.length === 1 || !this.isColl) {
253
+ w = 0;
254
254
  }
255
- return w
256
- }
255
+ return w;
256
+ },
257
257
  },
258
258
  data() {
259
259
  return {
@@ -315,15 +315,15 @@ export default {
315
315
  this.$emit("on-search", formValue);
316
316
  },
317
317
  onReset() {
318
- this.resetFields()
318
+ this.resetFields();
319
319
  this.$emit("on-reset");
320
320
  this.$emit("on-search", {});
321
321
  },
322
- onChangeDate() {
323
- // console.log(val);
322
+ onChangeDate(val) {
323
+ console.log(val);
324
324
  },
325
- onChangeDateFormat() {
326
- // console.log(val);
325
+ onChangeDateFormat(val) {
326
+ console.log(val);
327
327
  },
328
328
  handleChangeCity({ cityCodeLast: cityCode, cityNameLast: cityName }) {
329
329
  this.city = { cityCode, cityName };
@@ -10,6 +10,6 @@
10
10
  cursor: pointer;
11
11
  }
12
12
  &__tooltip{
13
- max-width: 300px;
13
+ max-width: 300px !important;
14
14
  }
15
15
  }