@panpanzhao/component-ui 0.0.38 → 0.0.40

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.
@@ -3507,18 +3507,18 @@ var button_default = /*#__PURE__*/__webpack_require__.n(button_);
3507
3507
  formModel: {},
3508
3508
  expandModel: null,
3509
3509
  defaultTools: [{
3510
- label: this.dialog.cancelButtonText || "取消",
3511
- type: this.confirmButtonType,
3510
+ label: this.dialog.confirmButtonText || "确认",
3511
+ type: this.confirmButtonType || "primary",
3512
3512
  loading: false,
3513
3513
  on: {
3514
- click: this.close
3514
+ click: this.submit
3515
3515
  }
3516
3516
  }, {
3517
- label: this.dialog.confirmButtonText || "确认",
3518
- type: this.confirmButtonType || "primary",
3517
+ label: this.dialog.cancelButtonText || "取消",
3518
+ type: this.confirmButtonType,
3519
3519
  loading: false,
3520
3520
  on: {
3521
- click: this.submit
3521
+ click: this.close
3522
3522
  }
3523
3523
  }]
3524
3524
  };
@@ -3846,18 +3846,18 @@ var drawer_default = /*#__PURE__*/__webpack_require__.n(drawer_);
3846
3846
  show: false,
3847
3847
  formModel: {},
3848
3848
  defaultTools: [{
3849
- label: this.drawer.cancelButtonText || "取消",
3850
- type: this.confirmButtonType,
3849
+ label: this.drawer.confirmButtonText || "确认",
3850
+ type: this.confirmButtonType || "primary",
3851
3851
  loading: false,
3852
3852
  on: {
3853
- click: this.close
3853
+ click: this.submit
3854
3854
  }
3855
3855
  }, {
3856
- label: this.drawer.confirmButtonText || "确认",
3857
- type: this.confirmButtonType || "primary",
3856
+ label: this.drawer.cancelButtonText || "取消",
3857
+ type: this.confirmButtonType,
3858
3858
  loading: false,
3859
3859
  on: {
3860
- click: this.submit
3860
+ click: this.close
3861
3861
  }
3862
3862
  }]
3863
3863
  };
@@ -7117,8 +7117,8 @@ table_operate_src.install = function (Vue) {
7117
7117
  Vue.component(table_operate_src.name, table_operate_src);
7118
7118
  };
7119
7119
  /* harmony default export */ var table_operate = (table_operate_src);
7120
- // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??ref--5!./node_modules/vue-loader/lib??vue-loader-options!./src/components/crud/src/index.vue?vue&type=template&id=e071860a&
7121
- var srcvue_type_template_id_e071860a_render = function render() {
7120
+ // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??ref--5!./node_modules/vue-loader/lib??vue-loader-options!./src/components/crud/src/index.vue?vue&type=template&id=19b757ca&
7121
+ var srcvue_type_template_id_19b757ca_render = function render() {
7122
7122
  var _vm = this,
7123
7123
  _c = _vm._self._c
7124
7124
  return _c("div", { staticClass: "crud" }, [
@@ -7185,11 +7185,11 @@ var srcvue_type_template_id_e071860a_render = function render() {
7185
7185
  ),
7186
7186
  ])
7187
7187
  }
7188
- var srcvue_type_template_id_e071860a_staticRenderFns = []
7189
- srcvue_type_template_id_e071860a_render._withStripped = true
7188
+ var srcvue_type_template_id_19b757ca_staticRenderFns = []
7189
+ srcvue_type_template_id_19b757ca_render._withStripped = true
7190
7190
 
7191
7191
 
7192
- // CONCATENATED MODULE: ./src/components/crud/src/index.vue?vue&type=template&id=e071860a&
7192
+ // CONCATENATED MODULE: ./src/components/crud/src/index.vue?vue&type=template&id=19b757ca&
7193
7193
 
7194
7194
  // CONCATENATED MODULE: ./node_modules/babel-loader/lib!./node_modules/vue-loader/lib??vue-loader-options!./src/components/crud/src/index.vue?vue&type=script&lang=js&
7195
7195
 
@@ -7355,6 +7355,7 @@ srcvue_type_template_id_e071860a_render._withStripped = true
7355
7355
  label: "删除",
7356
7356
  loading: false,
7357
7357
  sort: 30,
7358
+ type: "danger",
7358
7359
  on: {
7359
7360
  click: this.handleDelete
7360
7361
  }
@@ -7519,8 +7520,8 @@ srcvue_type_template_id_e071860a_render._withStripped = true
7519
7520
 
7520
7521
  var crud_src_component = normalizeComponent(
7521
7522
  components_crud_srcvue_type_script_lang_js_,
7522
- srcvue_type_template_id_e071860a_render,
7523
- srcvue_type_template_id_e071860a_staticRenderFns,
7523
+ srcvue_type_template_id_19b757ca_render,
7524
+ srcvue_type_template_id_19b757ca_staticRenderFns,
7524
7525
  false,
7525
7526
  null,
7526
7527
  null,
@@ -1541,18 +1541,18 @@ var external_lodash_ = __webpack_require__(2);
1541
1541
  formModel: {},
1542
1542
  expandModel: null,
1543
1543
  defaultTools: [{
1544
- label: this.dialog.cancelButtonText || "取消",
1545
- type: this.confirmButtonType,
1544
+ label: this.dialog.confirmButtonText || "确认",
1545
+ type: this.confirmButtonType || "primary",
1546
1546
  loading: false,
1547
1547
  on: {
1548
- click: this.close
1548
+ click: this.submit
1549
1549
  }
1550
1550
  }, {
1551
- label: this.dialog.confirmButtonText || "确认",
1552
- type: this.confirmButtonType || "primary",
1551
+ label: this.dialog.cancelButtonText || "取消",
1552
+ type: this.confirmButtonType,
1553
1553
  loading: false,
1554
1554
  on: {
1555
- click: this.submit
1555
+ click: this.close
1556
1556
  }
1557
1557
  }]
1558
1558
  };
@@ -2086,7 +2086,7 @@ module.exports = require("element-ui/lib/message-box");
2086
2086
  // ESM COMPAT FLAG
2087
2087
  __webpack_require__.r(__webpack_exports__);
2088
2088
 
2089
- // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??ref--5!./node_modules/vue-loader/lib??vue-loader-options!./src/components/crud/src/index.vue?vue&type=template&id=e071860a&
2089
+ // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??ref--5!./node_modules/vue-loader/lib??vue-loader-options!./src/components/crud/src/index.vue?vue&type=template&id=19b757ca&
2090
2090
  var render = function render() {
2091
2091
  var _vm = this,
2092
2092
  _c = _vm._self._c
@@ -2158,7 +2158,7 @@ var staticRenderFns = []
2158
2158
  render._withStripped = true
2159
2159
 
2160
2160
 
2161
- // CONCATENATED MODULE: ./src/components/crud/src/index.vue?vue&type=template&id=e071860a&
2161
+ // CONCATENATED MODULE: ./src/components/crud/src/index.vue?vue&type=template&id=19b757ca&
2162
2162
 
2163
2163
  // EXTERNAL MODULE: external "@panpanzhao/component-ui/lib/components/table-search"
2164
2164
  var table_search_ = __webpack_require__(28);
@@ -2344,6 +2344,7 @@ var external_lodash_ = __webpack_require__(2);
2344
2344
  label: "删除",
2345
2345
  loading: false,
2346
2346
  sort: 30,
2347
+ type: "danger",
2347
2348
  on: {
2348
2349
  click: this.handleDelete
2349
2350
  }
@@ -1112,18 +1112,18 @@ var external_lodash_ = __webpack_require__(2);
1112
1112
  formModel: {},
1113
1113
  expandModel: null,
1114
1114
  defaultTools: [{
1115
- label: this.dialog.cancelButtonText || "取消",
1116
- type: this.confirmButtonType,
1115
+ label: this.dialog.confirmButtonText || "确认",
1116
+ type: this.confirmButtonType || "primary",
1117
1117
  loading: false,
1118
1118
  on: {
1119
- click: this.close
1119
+ click: this.submit
1120
1120
  }
1121
1121
  }, {
1122
- label: this.dialog.confirmButtonText || "确认",
1123
- type: this.confirmButtonType || "primary",
1122
+ label: this.dialog.cancelButtonText || "取消",
1123
+ type: this.confirmButtonType,
1124
1124
  loading: false,
1125
1125
  on: {
1126
- click: this.submit
1126
+ click: this.close
1127
1127
  }
1128
1128
  }]
1129
1129
  };
@@ -1108,18 +1108,18 @@ var external_lodash_ = __webpack_require__(2);
1108
1108
  show: false,
1109
1109
  formModel: {},
1110
1110
  defaultTools: [{
1111
- label: this.drawer.cancelButtonText || "取消",
1112
- type: this.confirmButtonType,
1111
+ label: this.drawer.confirmButtonText || "确认",
1112
+ type: this.confirmButtonType || "primary",
1113
1113
  loading: false,
1114
1114
  on: {
1115
- click: this.close
1115
+ click: this.submit
1116
1116
  }
1117
1117
  }, {
1118
- label: this.drawer.confirmButtonText || "确认",
1119
- type: this.confirmButtonType || "primary",
1118
+ label: this.drawer.cancelButtonText || "取消",
1119
+ type: this.confirmButtonType,
1120
1120
  loading: false,
1121
1121
  on: {
1122
- click: this.submit
1122
+ click: this.close
1123
1123
  }
1124
1124
  }]
1125
1125
  };
@@ -1541,18 +1541,18 @@ var external_lodash_ = __webpack_require__(2);
1541
1541
  formModel: {},
1542
1542
  expandModel: null,
1543
1543
  defaultTools: [{
1544
- label: this.dialog.cancelButtonText || "取消",
1545
- type: this.confirmButtonType,
1544
+ label: this.dialog.confirmButtonText || "确认",
1545
+ type: this.confirmButtonType || "primary",
1546
1546
  loading: false,
1547
1547
  on: {
1548
- click: this.close
1548
+ click: this.submit
1549
1549
  }
1550
1550
  }, {
1551
- label: this.dialog.confirmButtonText || "确认",
1552
- type: this.confirmButtonType || "primary",
1551
+ label: this.dialog.cancelButtonText || "取消",
1552
+ type: this.confirmButtonType,
1553
1553
  loading: false,
1554
1554
  on: {
1555
- click: this.submit
1555
+ click: this.close
1556
1556
  }
1557
1557
  }]
1558
1558
  };