@v2coding/ui 1.0.0 → 1.1.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.
@@ -2144,7 +2144,18 @@ var script$C = {
2144
2144
  showWordLimit: {
2145
2145
  type: Boolean,
2146
2146
  default: true
2147
+ },
2148
+ modifier: Function
2149
+ },
2150
+ methods: {
2151
+ onInput(val) {
2152
+ if (typeof this.modifier === 'function') {
2153
+ val = this.modifier(val);
2154
+ }
2155
+
2156
+ this.emitChange(val);
2147
2157
  }
2158
+
2148
2159
  }
2149
2160
  };
2150
2161
 
@@ -2168,8 +2179,11 @@ var __vue_render__$D = function () {
2168
2179
  "rows": _vm.rows,
2169
2180
  "autosize": _vm.autosize,
2170
2181
  "show-word-limit": _vm.showWordLimit
2182
+ },
2183
+ on: {
2184
+ "input": _vm.onInput
2171
2185
  }
2172
- }, 'el-input', _vm.$attrs, false), _vm.$listeners));
2186
+ }, 'el-input', _vm.$attrs, false), _vm._listeners));
2173
2187
  };
2174
2188
 
2175
2189
  var __vue_staticRenderFns__$D = [];
@@ -2177,7 +2191,7 @@ var __vue_staticRenderFns__$D = [];
2177
2191
 
2178
2192
  const __vue_inject_styles__$D = function (inject) {
2179
2193
  if (!inject) return;
2180
- inject("data-v-208093e4_0", {
2194
+ inject("data-v-44711bc5_0", {
2181
2195
  source: ".el-input__suffix-inner{display:flex;align-items:center;height:100%}.el-input--large .el-input__count .el-input__count-inner{line-height:38px}.el-input--medium .el-input__count .el-input__count-inner{line-height:34px}.el-input--mini .el-input__count .el-input__count-inner{line-height:26px}",
2182
2196
  map: undefined,
2183
2197
  media: undefined