@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.
@@ -7715,28 +7715,44 @@ var script$f = {
7715
7715
  this.$refs.form.resetValues(values, all);
7716
7716
  },
7717
7717
 
7718
- clearValidate() {
7718
+ getValues() {
7719
7719
  if (!this.$refs.form) {
7720
7720
  return;
7721
7721
  }
7722
7722
 
7723
- this.$refs.form.clearValidate();
7723
+ return this.$refs.form.getValues();
7724
7724
  },
7725
7725
 
7726
- getValues() {
7726
+ setValues(values) {
7727
7727
  if (!this.$refs.form) {
7728
7728
  return;
7729
7729
  }
7730
7730
 
7731
- return this.$refs.form.getValues();
7731
+ this.$refs.form.setValues(values);
7732
7732
  },
7733
7733
 
7734
- setValues(values) {
7734
+ validate() {
7735
7735
  if (!this.$refs.form) {
7736
7736
  return;
7737
7737
  }
7738
7738
 
7739
- this.$refs.form.setValues(values);
7739
+ return this.$refs.form.validate(...arguments);
7740
+ },
7741
+
7742
+ validateField() {
7743
+ if (!this.$refs.form) {
7744
+ return;
7745
+ }
7746
+
7747
+ return this.$refs.form.validateField(...arguments);
7748
+ },
7749
+
7750
+ clearValidate() {
7751
+ if (!this.$refs.form) {
7752
+ return;
7753
+ }
7754
+
7755
+ this.$refs.form.clearValidate();
7740
7756
  },
7741
7757
 
7742
7758
  onSubmit(formData) {
@@ -7864,8 +7880,8 @@ var __vue_staticRenderFns__$e = [];
7864
7880
 
7865
7881
  const __vue_inject_styles__$f = function (inject) {
7866
7882
  if (!inject) return;
7867
- inject("data-v-3f84d6b9_0", {
7868
- source: ".action-button[data-v-3f84d6b9]{text-align:right;margin:0 -20px -20px;padding:10px 20px;border-top:1px solid #e8e8e8}",
7883
+ inject("data-v-fd63290a_0", {
7884
+ source: ".action-button[data-v-fd63290a]{text-align:right;margin:0 -20px -20px;padding:10px 20px;border-top:1px solid #e8e8e8}",
7869
7885
  map: undefined,
7870
7886
  media: undefined
7871
7887
  });
@@ -7873,7 +7889,7 @@ const __vue_inject_styles__$f = function (inject) {
7873
7889
  /* scoped */
7874
7890
 
7875
7891
 
7876
- const __vue_scope_id__$f = "data-v-3f84d6b9";
7892
+ const __vue_scope_id__$f = "data-v-fd63290a";
7877
7893
  /* module identifier */
7878
7894
 
7879
7895
  const __vue_module_identifier__$f = undefined;
@@ -8158,6 +8174,22 @@ var script$d = {
8158
8174
  this.$refs.form.setValues(values);
8159
8175
  },
8160
8176
 
8177
+ validate() {
8178
+ if (!this.$refs.form) {
8179
+ return;
8180
+ }
8181
+
8182
+ return this.$refs.form.validate(...arguments);
8183
+ },
8184
+
8185
+ validateField() {
8186
+ if (!this.$refs.form) {
8187
+ return;
8188
+ }
8189
+
8190
+ return this.$refs.form.validateField(...arguments);
8191
+ },
8192
+
8161
8193
  clearValidate() {
8162
8194
  if (!this.$refs.form) {
8163
8195
  return;
@@ -8284,7 +8316,7 @@ var __vue_staticRenderFns__$c = [];
8284
8316
 
8285
8317
  const __vue_inject_styles__$d = function (inject) {
8286
8318
  if (!inject) return;
8287
- inject("data-v-4b8320b5_0", {
8319
+ inject("data-v-35f09272_0", {
8288
8320
  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}",
8289
8321
  map: undefined,
8290
8322
  media: undefined