@v2coding/ui 0.1.52 → 0.1.53

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.
@@ -8139,26 +8139,44 @@ var script$f = {
8139
8139
 
8140
8140
  this.$refs.form.resetValues(values, all);
8141
8141
  },
8142
- clearValidate: function clearValidate() {
8142
+ getValues: function getValues() {
8143
8143
  if (!this.$refs.form) {
8144
8144
  return;
8145
8145
  }
8146
8146
 
8147
- this.$refs.form.clearValidate();
8147
+ return this.$refs.form.getValues();
8148
8148
  },
8149
- getValues: function getValues() {
8149
+ setValues: function setValues(values) {
8150
8150
  if (!this.$refs.form) {
8151
8151
  return;
8152
8152
  }
8153
8153
 
8154
- return this.$refs.form.getValues();
8154
+ this.$refs.form.setValues(values);
8155
8155
  },
8156
- setValues: function setValues(values) {
8156
+ validate: function validate() {
8157
+ var _this$$refs$form;
8158
+
8157
8159
  if (!this.$refs.form) {
8158
8160
  return;
8159
8161
  }
8160
8162
 
8161
- this.$refs.form.setValues(values);
8163
+ return (_this$$refs$form = this.$refs.form).validate.apply(_this$$refs$form, arguments);
8164
+ },
8165
+ validateField: function validateField() {
8166
+ var _this$$refs$form2;
8167
+
8168
+ if (!this.$refs.form) {
8169
+ return;
8170
+ }
8171
+
8172
+ return (_this$$refs$form2 = this.$refs.form).validateField.apply(_this$$refs$form2, arguments);
8173
+ },
8174
+ clearValidate: function clearValidate() {
8175
+ if (!this.$refs.form) {
8176
+ return;
8177
+ }
8178
+
8179
+ this.$refs.form.clearValidate();
8162
8180
  },
8163
8181
  onSubmit: function onSubmit(formData) {
8164
8182
  var _this2 = this;
@@ -8278,8 +8296,8 @@ var __vue_staticRenderFns__$e = [];
8278
8296
 
8279
8297
  var __vue_inject_styles__$f = function __vue_inject_styles__(inject) {
8280
8298
  if (!inject) return;
8281
- inject("data-v-3f84d6b9_0", {
8282
- source: ".action-button[data-v-3f84d6b9]{text-align:right;margin:0 -20px -20px;padding:10px 20px;border-top:1px solid #e8e8e8}",
8299
+ inject("data-v-fd63290a_0", {
8300
+ source: ".action-button[data-v-fd63290a]{text-align:right;margin:0 -20px -20px;padding:10px 20px;border-top:1px solid #e8e8e8}",
8283
8301
  map: undefined,
8284
8302
  media: undefined
8285
8303
  });
@@ -8287,10 +8305,10 @@ var __vue_inject_styles__$f = function __vue_inject_styles__(inject) {
8287
8305
  /* scoped */
8288
8306
 
8289
8307
 
8290
- var __vue_scope_id__$f = "data-v-3f84d6b9";
8308
+ var __vue_scope_id__$f = "data-v-fd63290a";
8291
8309
  /* module identifier */
8292
8310
 
8293
- var __vue_module_identifier__$f = "data-v-3f84d6b9";
8311
+ var __vue_module_identifier__$f = "data-v-fd63290a";
8294
8312
  /* functional template */
8295
8313
 
8296
8314
  var __vue_is_functional_template__$f = false;
@@ -8575,14 +8593,32 @@ var script$d = {
8575
8593
 
8576
8594
  this.$refs.form.setValues(values);
8577
8595
  },
8578
- clearValidate: function clearValidate() {
8596
+ validate: function validate() {
8579
8597
  var _this$$refs$form;
8580
8598
 
8581
8599
  if (!this.$refs.form) {
8582
8600
  return;
8583
8601
  }
8584
8602
 
8585
- (_this$$refs$form = this.$refs.form).clearValidate.apply(_this$$refs$form, arguments);
8603
+ return (_this$$refs$form = this.$refs.form).validate.apply(_this$$refs$form, arguments);
8604
+ },
8605
+ validateField: function validateField() {
8606
+ var _this$$refs$form2;
8607
+
8608
+ if (!this.$refs.form) {
8609
+ return;
8610
+ }
8611
+
8612
+ return (_this$$refs$form2 = this.$refs.form).validateField.apply(_this$$refs$form2, arguments);
8613
+ },
8614
+ clearValidate: function clearValidate() {
8615
+ var _this$$refs$form3;
8616
+
8617
+ if (!this.$refs.form) {
8618
+ return;
8619
+ }
8620
+
8621
+ (_this$$refs$form3 = this.$refs.form).clearValidate.apply(_this$$refs$form3, arguments);
8586
8622
  },
8587
8623
  onSubmit: function onSubmit(formData) {
8588
8624
  var _this2 = this;
@@ -8698,7 +8734,7 @@ var __vue_staticRenderFns__$c = [];
8698
8734
 
8699
8735
  var __vue_inject_styles__$d = function __vue_inject_styles__(inject) {
8700
8736
  if (!inject) return;
8701
- inject("data-v-4b8320b5_0", {
8737
+ inject("data-v-35f09272_0", {
8702
8738
  source: ".ui-form-drawer{display:flex;flex-direction:column;padding:0;outline:0}.ui-form-drawer .el-drawer-body{flex:1;padding:0;overflow:hidden;display:flex;flex-direction:column}.ui-form-drawer .el-drawer-body>.el-form{flex:1;overflow:auto}.ui-form-drawer .el-drawer-body>.action-button{flex:none}.ui-form-drawer .ui-form-drawer-wrapper{flex:1;overflow:hidden}.ui-form-drawer .ui-form-drawer-wrapper .el-form{width:100%;height:100%;overflow:auto;padding:16px;box-sizing:border-box}.ui-form-drawer .action-button{flex:none;padding:16px;border-top:1px solid #e8eaec;display:flex;flex-direction:row-reverse}.ui-form-drawer .action-button button+button{margin-right:16px}.ui-form-drawer .action-button::after{content:'';clear:both}",
8703
8739
  map: undefined,
8704
8740
  media: undefined
@@ -8710,7 +8746,7 @@ var __vue_inject_styles__$d = function __vue_inject_styles__(inject) {
8710
8746
  var __vue_scope_id__$d = undefined;
8711
8747
  /* module identifier */
8712
8748
 
8713
- var __vue_module_identifier__$d = "data-v-4b8320b5";
8749
+ var __vue_module_identifier__$d = "data-v-35f09272";
8714
8750
  /* functional template */
8715
8751
 
8716
8752
  var __vue_is_functional_template__$d = false;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@v2coding/ui",
3
- "version": "0.1.52",
3
+ "version": "0.1.53",
4
4
  "description": "",
5
5
 
6
6
  "main": "dist/v2coding-ui.ssr.js",