@v2coding/ui 0.1.14 → 0.1.15

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.
@@ -4727,7 +4727,7 @@ var script$p = {
4727
4727
  },
4728
4728
  createAttachmentUrl: {
4729
4729
  type: String,
4730
- default: '/System/SystemSysAttachment/create'
4730
+ default: '/System/Sys/SystemSysAttachment/create'
4731
4731
  },
4732
4732
  createAttachmentParams: null,
4733
4733
  createAttachment: {
@@ -4872,8 +4872,8 @@ var __vue_render__$o = function __vue_render__() {
4872
4872
  class: {
4873
4873
  disabled: _vm.uploading
4874
4874
  }
4875
- }, [_vm._v("浏览...")])]) : _vm._e(), _vm._ssrNode(" <div class=\"files\" data-v-46b6568f>" + _vm._ssrList(_vm.pickerValue, function (url, index) {
4876
- return !!url ? "<div class=\"file\" data-v-46b6568f><i class=\"el-icon-document\" data-v-46b6568f> </i> <a" + _vm._ssrAttr("href", url) + " target=\"_blank\" data-v-46b6568f>" + _vm._ssrEscape(_vm._s(_vm.getFileName(url))) + "</a> " + (_vm.hasDeleteBtn ? "<span class=\"close\" data-v-46b6568f><i class=\"el-icon-close\" data-v-46b6568f></i></span>" : "<!---->") + "</div>" : "<!---->";
4875
+ }, [_vm._v("浏览...")])]) : _vm._e(), _vm._ssrNode(" <div class=\"files\" data-v-112cf62d>" + _vm._ssrList(_vm.pickerValue, function (url, index) {
4876
+ return !!url ? "<div class=\"file\" data-v-112cf62d><i class=\"el-icon-document\" data-v-112cf62d> </i> <a" + _vm._ssrAttr("href", url) + " target=\"_blank\" data-v-112cf62d>" + _vm._ssrEscape(_vm._s(_vm.getFileName(url))) + "</a> " + (_vm.hasDeleteBtn ? "<span class=\"close\" data-v-112cf62d><i class=\"el-icon-close\" data-v-112cf62d></i></span>" : "<!---->") + "</div>" : "<!---->";
4877
4877
  }) + "</div>")], 2);
4878
4878
  };
4879
4879
 
@@ -4882,8 +4882,8 @@ var __vue_staticRenderFns__$o = [];
4882
4882
 
4883
4883
  var __vue_inject_styles__$p = function __vue_inject_styles__(inject) {
4884
4884
  if (!inject) return;
4885
- inject("data-v-46b6568f_0", {
4886
- source: ".ui-file-upload-field[data-v-46b6568f]{width:100%}.ui-file-upload-field .uploader[data-v-46b6568f]{margin-bottom:5px}.ui-file-upload-field .uploader.disabled[data-v-46b6568f] .el-upload{cursor:not-allowed;pointer-events:none}.ui-file-upload-field .uploader.disabled[data-v-46b6568f] .el-upload .upload-btn{color:#888c94;background-color:#edeef0}.ui-file-upload-field .upload-btn[data-v-46b6568f]{padding:5px 10px;line-height:1;background-color:#409eff;color:#fff;font-size:12px;transition:background-color .3s}.ui-file-upload-field .upload-btn[data-v-46b6568f]:hover{background-color:#0d84ff}.ui-file-upload-field .files .file[data-v-46b6568f]{color:#606266;font-size:14px;transition:all .3s;cursor:pointer;line-height:28px;display:flex;align-items:center}.ui-file-upload-field .files .file a[data-v-46b6568f]{flex:1;color:#606266;transition:all .3s;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.ui-file-upload-field .files .file .close[data-v-46b6568f]{color:transparent;width:28px;text-align:center;visibility:hidden;transition:color .3s;font-weight:700}.ui-file-upload-field .files .file[data-v-46b6568f]:hover{background-color:#f5f7fa}.ui-file-upload-field .files .file:hover a[data-v-46b6568f]{color:#409eff}.ui-file-upload-field .files .file:hover .close[data-v-46b6568f]{color:#409eff;visibility:visible}",
4885
+ inject("data-v-112cf62d_0", {
4886
+ source: ".ui-file-upload-field[data-v-112cf62d]{width:100%}.ui-file-upload-field .uploader[data-v-112cf62d]{margin-bottom:5px}.ui-file-upload-field .uploader.disabled[data-v-112cf62d] .el-upload{cursor:not-allowed;pointer-events:none}.ui-file-upload-field .uploader.disabled[data-v-112cf62d] .el-upload .upload-btn{color:#888c94;background-color:#edeef0}.ui-file-upload-field .upload-btn[data-v-112cf62d]{padding:5px 10px;line-height:1;background-color:#409eff;color:#fff;font-size:12px;transition:background-color .3s}.ui-file-upload-field .upload-btn[data-v-112cf62d]:hover{background-color:#0d84ff}.ui-file-upload-field .files .file[data-v-112cf62d]{color:#606266;font-size:14px;transition:all .3s;cursor:pointer;line-height:28px;display:flex;align-items:center}.ui-file-upload-field .files .file a[data-v-112cf62d]{flex:1;color:#606266;transition:all .3s;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.ui-file-upload-field .files .file .close[data-v-112cf62d]{color:transparent;width:28px;text-align:center;visibility:hidden;transition:color .3s;font-weight:700}.ui-file-upload-field .files .file[data-v-112cf62d]:hover{background-color:#f5f7fa}.ui-file-upload-field .files .file:hover a[data-v-112cf62d]{color:#409eff}.ui-file-upload-field .files .file:hover .close[data-v-112cf62d]{color:#409eff;visibility:visible}",
4887
4887
  map: undefined,
4888
4888
  media: undefined
4889
4889
  });
@@ -4891,10 +4891,10 @@ var __vue_inject_styles__$p = function __vue_inject_styles__(inject) {
4891
4891
  /* scoped */
4892
4892
 
4893
4893
 
4894
- var __vue_scope_id__$p = "data-v-46b6568f";
4894
+ var __vue_scope_id__$p = "data-v-112cf62d";
4895
4895
  /* module identifier */
4896
4896
 
4897
- var __vue_module_identifier__$p = "data-v-46b6568f";
4897
+ var __vue_module_identifier__$p = "data-v-112cf62d";
4898
4898
  /* functional template */
4899
4899
 
4900
4900
  var __vue_is_functional_template__$p = false;
@@ -7017,6 +7017,8 @@ var script$h = {
7017
7017
  * @public
7018
7018
  */
7019
7019
  resetValues: function resetValues(values) {
7020
+ var all = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : true;
7021
+
7020
7022
  if (!Objects.isObject(values)) {
7021
7023
  values = {};
7022
7024
  }
@@ -7025,7 +7027,7 @@ var script$h = {
7025
7027
  formItems.forEach(function (item) {
7026
7028
  if (Object.prototype.hasOwnProperty.call(values, item.name)) {
7027
7029
  item.resetField(values[item.name]);
7028
- } else {
7030
+ } else if (all) {
7029
7031
  item.resetField();
7030
7032
  }
7031
7033
  });
@@ -7316,8 +7318,8 @@ var __vue_staticRenderFns__$g = [];
7316
7318
 
7317
7319
  var __vue_inject_styles__$h = function __vue_inject_styles__(inject) {
7318
7320
  if (!inject) return;
7319
- inject("data-v-2a9aa6b4_0", {
7320
- source: ".el-form--inline[data-v-2a9aa6b4] .el-form-item{display:inline-flex}",
7321
+ inject("data-v-33599c0b_0", {
7322
+ source: ".el-form--inline[data-v-33599c0b] .el-form-item{display:inline-flex}",
7321
7323
  map: undefined,
7322
7324
  media: undefined
7323
7325
  });
@@ -7325,10 +7327,10 @@ var __vue_inject_styles__$h = function __vue_inject_styles__(inject) {
7325
7327
  /* scoped */
7326
7328
 
7327
7329
 
7328
- var __vue_scope_id__$h = "data-v-2a9aa6b4";
7330
+ var __vue_scope_id__$h = "data-v-33599c0b";
7329
7331
  /* module identifier */
7330
7332
 
7331
- var __vue_module_identifier__$h = "data-v-2a9aa6b4";
7333
+ var __vue_module_identifier__$h = "data-v-33599c0b";
7332
7334
  /* functional template */
7333
7335
 
7334
7336
  var __vue_is_functional_template__$h = false;
@@ -7479,11 +7481,13 @@ var script$g = {
7479
7481
  this.$refs.form.onSubmit();
7480
7482
  },
7481
7483
  resetValues: function resetValues(values) {
7484
+ var all = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : true;
7485
+
7482
7486
  if (!this.$refs.form) {
7483
7487
  return;
7484
7488
  }
7485
7489
 
7486
- this.$refs.form.resetValues(values);
7490
+ this.$refs.form.resetValues(values, all);
7487
7491
  },
7488
7492
  clearValidate: function clearValidate() {
7489
7493
  if (!this.$refs.form) {
@@ -7624,8 +7628,8 @@ var __vue_staticRenderFns__$f = [];
7624
7628
 
7625
7629
  var __vue_inject_styles__$g = function __vue_inject_styles__(inject) {
7626
7630
  if (!inject) return;
7627
- inject("data-v-02f7d8d6_0", {
7628
- source: ".action-button[data-v-02f7d8d6]{text-align:right;margin:0 -20px -20px;padding:10px 20px;border-top:1px solid #e8e8e8}",
7631
+ inject("data-v-3f84d6b9_0", {
7632
+ source: ".action-button[data-v-3f84d6b9]{text-align:right;margin:0 -20px -20px;padding:10px 20px;border-top:1px solid #e8e8e8}",
7629
7633
  map: undefined,
7630
7634
  media: undefined
7631
7635
  });
@@ -7633,10 +7637,10 @@ var __vue_inject_styles__$g = function __vue_inject_styles__(inject) {
7633
7637
  /* scoped */
7634
7638
 
7635
7639
 
7636
- var __vue_scope_id__$g = "data-v-02f7d8d6";
7640
+ var __vue_scope_id__$g = "data-v-3f84d6b9";
7637
7641
  /* module identifier */
7638
7642
 
7639
- var __vue_module_identifier__$g = "data-v-02f7d8d6";
7643
+ var __vue_module_identifier__$g = "data-v-3f84d6b9";
7640
7644
  /* functional template */
7641
7645
 
7642
7646
  var __vue_is_functional_template__$g = false;
@@ -8248,11 +8252,13 @@ var script$e = {
8248
8252
  }))();
8249
8253
  },
8250
8254
  resetValues: function resetValues(values) {
8255
+ var all = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : true;
8256
+
8251
8257
  if (!this.$refs.form) {
8252
8258
  return;
8253
8259
  }
8254
8260
 
8255
- this.$refs.form.resetValues(values);
8261
+ this.$refs.form.resetValues(values, all);
8256
8262
  },
8257
8263
  getValues: function getValues() {
8258
8264
  if (!this.$refs.form) {
@@ -8387,7 +8393,7 @@ var __vue_staticRenderFns__$d = [];
8387
8393
 
8388
8394
  var __vue_inject_styles__$e = function __vue_inject_styles__(inject) {
8389
8395
  if (!inject) return;
8390
- inject("data-v-61a29de6_0", {
8396
+ inject("data-v-93265614_0", {
8391
8397
  source: ".ui-form-drawer{display:flex;flex-direction:column;padding:0;outline:0}.ui-form-drawer .ui-drawer-body{flex:1;padding:0;overflow:hidden;display:flex;flex-direction:column}.ui-form-drawer .ui-drawer-body>.el-form{flex:1;overflow:auto}.ui-form-drawer .ui-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}",
8392
8398
  map: undefined,
8393
8399
  media: undefined
@@ -8399,7 +8405,7 @@ var __vue_inject_styles__$e = function __vue_inject_styles__(inject) {
8399
8405
  var __vue_scope_id__$e = undefined;
8400
8406
  /* module identifier */
8401
8407
 
8402
- var __vue_module_identifier__$e = "data-v-61a29de6";
8408
+ var __vue_module_identifier__$e = "data-v-93265614";
8403
8409
  /* functional template */
8404
8410
 
8405
8411
  var __vue_is_functional_template__$e = false;
@@ -11403,6 +11409,13 @@ var script$7 = {
11403
11409
  getValues: function getValues() {
11404
11410
  return this.$refs.form.getValues();
11405
11411
  },
11412
+ setValues: function setValues(values) {
11413
+ return this.$refs.form.setValues(values);
11414
+ },
11415
+ resetValues: function resetValues(values) {
11416
+ var all = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : true;
11417
+ return this.$refs.form.resetValues(values, all);
11418
+ },
11406
11419
  getSearchParams: function getSearchParams() {
11407
11420
  var _this = this;
11408
11421
 
@@ -11522,7 +11535,7 @@ var __vue_staticRenderFns__$7 = [];
11522
11535
 
11523
11536
  var __vue_inject_styles__$7 = function __vue_inject_styles__(inject) {
11524
11537
  if (!inject) return;
11525
- inject("data-v-1bff1b12_0", {
11538
+ inject("data-v-357d8daf_0", {
11526
11539
  source: ".ui-table-select{display:flex;align-items:center;flex-wrap:wrap}.ui-table-select .el-row{width:100%}.ui-table-select .fill{flex:1}.ui-table-select .el-form-item{margin-bottom:10px}.ui-table-select .el-form-item:last-child{margin-right:0}.ui-table-select .el-form-item,.ui-table-select .el-form-item.el-form-item--mini{margin-bottom:10px}",
11527
11540
  map: undefined,
11528
11541
  media: undefined
@@ -11534,7 +11547,7 @@ var __vue_inject_styles__$7 = function __vue_inject_styles__(inject) {
11534
11547
  var __vue_scope_id__$7 = undefined;
11535
11548
  /* module identifier */
11536
11549
 
11537
- var __vue_module_identifier__$7 = "data-v-1bff1b12";
11550
+ var __vue_module_identifier__$7 = "data-v-357d8daf";
11538
11551
  /* functional template */
11539
11552
 
11540
11553
  var __vue_is_functional_template__$7 = false;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@v2coding/ui",
3
- "version": "0.1.14",
3
+ "version": "0.1.15",
4
4
  "description": "",
5
5
 
6
6
  "main": "dist/v2coding-ui.ssr.js",