@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.
- package/dist/v2coding-ui.esm.js +16 -2
- package/dist/v2coding-ui.min.js +1 -1
- package/dist/v2coding-ui.ssr.js +16 -3
- package/package.json +1 -1
package/dist/v2coding-ui.ssr.js
CHANGED
|
@@ -2680,6 +2680,16 @@ var script$C = {
|
|
|
2680
2680
|
showWordLimit: {
|
|
2681
2681
|
type: Boolean,
|
|
2682
2682
|
default: true
|
|
2683
|
+
},
|
|
2684
|
+
modifier: Function
|
|
2685
|
+
},
|
|
2686
|
+
methods: {
|
|
2687
|
+
onInput: function onInput(val) {
|
|
2688
|
+
if (typeof this.modifier === 'function') {
|
|
2689
|
+
val = this.modifier(val);
|
|
2690
|
+
}
|
|
2691
|
+
|
|
2692
|
+
this.emitChange(val);
|
|
2683
2693
|
}
|
|
2684
2694
|
}
|
|
2685
2695
|
};/* script */
|
|
@@ -2702,8 +2712,11 @@ var __vue_render__$D = function __vue_render__() {
|
|
|
2702
2712
|
"rows": _vm.rows,
|
|
2703
2713
|
"autosize": _vm.autosize,
|
|
2704
2714
|
"show-word-limit": _vm.showWordLimit
|
|
2715
|
+
},
|
|
2716
|
+
on: {
|
|
2717
|
+
"input": _vm.onInput
|
|
2705
2718
|
}
|
|
2706
|
-
}, 'el-input', _vm.$attrs, false), _vm
|
|
2719
|
+
}, 'el-input', _vm.$attrs, false), _vm._listeners));
|
|
2707
2720
|
};
|
|
2708
2721
|
|
|
2709
2722
|
var __vue_staticRenderFns__$D = [];
|
|
@@ -2711,7 +2724,7 @@ var __vue_staticRenderFns__$D = [];
|
|
|
2711
2724
|
|
|
2712
2725
|
var __vue_inject_styles__$D = function __vue_inject_styles__(inject) {
|
|
2713
2726
|
if (!inject) return;
|
|
2714
|
-
inject("data-v-
|
|
2727
|
+
inject("data-v-44711bc5_0", {
|
|
2715
2728
|
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}",
|
|
2716
2729
|
map: undefined,
|
|
2717
2730
|
media: undefined
|
|
@@ -2723,7 +2736,7 @@ var __vue_inject_styles__$D = function __vue_inject_styles__(inject) {
|
|
|
2723
2736
|
var __vue_scope_id__$D = undefined;
|
|
2724
2737
|
/* module identifier */
|
|
2725
2738
|
|
|
2726
|
-
var __vue_module_identifier__$D = "data-v-
|
|
2739
|
+
var __vue_module_identifier__$D = "data-v-44711bc5";
|
|
2727
2740
|
/* functional template */
|
|
2728
2741
|
|
|
2729
2742
|
var __vue_is_functional_template__$D = false;
|