@epie/bi-crud 2.0.14 → 2.0.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.
@@ -9853,7 +9853,7 @@ function Parse (method, {
9853
9853
  }
9854
9854
  }
9855
9855
 
9856
- function _isSlot$3(s) {
9856
+ function _isSlot$5(s) {
9857
9857
  return typeof s === 'function' || Object.prototype.toString.call(s) === '[object Object]' && !isVNode(s);
9858
9858
  }
9859
9859
 
@@ -10105,7 +10105,7 @@ function useRender$3(ctx) {
10105
10105
 
10106
10106
  return createVNode(resolveComponent("el-col"), mergeProps({
10107
10107
  "span": baseSpan
10108
- }, e), _isSlot$3(FormItem) ? FormItem : {
10108
+ }, e), _isSlot$5(FormItem) ? FormItem : {
10109
10109
  default: () => [FormItem]
10110
10110
  });
10111
10111
  }); // el-form
@@ -10124,7 +10124,7 @@ function useRender$3(ctx) {
10124
10124
  default: () => {
10125
10125
  return ctx.inline ? children : withDirectives(createVNode(resolveComponent("el-row"), {
10126
10126
  "gutter": 10
10127
- }, _isSlot$3(children) ? children : {
10127
+ }, _isSlot$5(children) ? children : {
10128
10128
  default: () => [children]
10129
10129
  }), [[resolveDirective("loading"), ctx.loading]]);
10130
10130
  }
@@ -10152,14 +10152,14 @@ function useRender$3(ctx) {
10152
10152
  "onClick": () => {
10153
10153
  ctx.submit();
10154
10154
  }
10155
- }, _isSlot$3(saveButtonText) ? saveButtonText : {
10155
+ }, _isSlot$5(saveButtonText) ? saveButtonText : {
10156
10156
  default: () => [saveButtonText]
10157
10157
  });
10158
10158
  } else if (vnode == "close") {
10159
10159
  return createVNode(resolveComponent("el-button"), {
10160
10160
  "size": style.size,
10161
10161
  "onClick": ctx.close
10162
- }, _isSlot$3(closeButtonText) ? closeButtonText : {
10162
+ }, _isSlot$5(closeButtonText) ? closeButtonText : {
10163
10163
  default: () => [closeButtonText]
10164
10164
  });
10165
10165
  } else {
@@ -11427,7 +11427,7 @@ var ExportBtn = defineComponent({
11427
11427
  }
11428
11428
  });
11429
11429
 
11430
- function _isSlot$2(s) {
11430
+ function _isSlot$4(s) {
11431
11431
  return typeof s === 'function' || Object.prototype.toString.call(s) === '[object Object]' && !isVNode(s);
11432
11432
  }
11433
11433
 
@@ -11553,7 +11553,7 @@ var SearchKey = defineComponent({
11553
11553
  "modelValue": ctx.selectField,
11554
11554
  "onUpdate:modelValue": $event => ctx.selectField = $event,
11555
11555
  "onChange": ctx.onFieldChange
11556
- }, _isSlot$2(_slot = ctx.fieldList.map((e, i) => createVNode(resolveComponent("el-option"), {
11556
+ }, _isSlot$4(_slot = ctx.fieldList.map((e, i) => createVNode(resolveComponent("el-option"), {
11557
11557
  "key": i,
11558
11558
  "label": e.label,
11559
11559
  "value": e.value
@@ -11805,6 +11805,10 @@ const ContextMenu = {
11805
11805
 
11806
11806
  };
11807
11807
 
11808
+ function _isSlot$3(s) {
11809
+ return typeof s === 'function' || Object.prototype.toString.call(s) === '[object Object]' && !isVNode(s);
11810
+ }
11811
+
11808
11812
  function useElTable({
11809
11813
  Table
11810
11814
  }) {
@@ -12224,7 +12228,17 @@ function useRender$2({
12224
12228
  default: () => d.label
12225
12229
  });
12226
12230
  } else if (d) {
12227
- return d.label;
12231
+ return createVNode(resolveComponent("el-tag"), {
12232
+ "style": "margin: 0 2px"
12233
+ }, {
12234
+ default: () => [d.label]
12235
+ });
12236
+ } else if (!!v) {
12237
+ return createVNode(resolveComponent("el-tag"), {
12238
+ "style": "margin: 0 2px"
12239
+ }, _isSlot$3(v) ? v : {
12240
+ default: () => [v]
12241
+ });
12228
12242
  } else {
12229
12243
  return v;
12230
12244
  }
@@ -13121,7 +13135,7 @@ var ErrorMessage = defineComponent({
13121
13135
 
13122
13136
  });
13123
13137
 
13124
- function _isSlot$1(s) {
13138
+ function _isSlot$2(s) {
13125
13139
  return typeof s === 'function' || Object.prototype.toString.call(s) === '[object Object]' && !isVNode(s);
13126
13140
  }
13127
13141
 
@@ -13188,7 +13202,7 @@ function useRender$1(ctx) {
13188
13202
  "lg": {
13189
13203
  span: 6
13190
13204
  }
13191
- }, e), _isSlot$1(FormItem) ? FormItem : {
13205
+ }, e), _isSlot$2(FormItem) ? FormItem : {
13192
13206
  default: () => [FormItem]
13193
13207
  });
13194
13208
  });
@@ -13208,7 +13222,7 @@ function useRender$1(ctx) {
13208
13222
  default: () => [createVNode(resolveComponent("el-form-item"), {
13209
13223
  "label-width": "auto",
13210
13224
  "label": ""
13211
- }, _isSlot$1(_slot = renderOp()) ? _slot : {
13225
+ }, _isSlot$2(_slot = renderOp()) ? _slot : {
13212
13226
  default: () => [_slot]
13213
13227
  })]
13214
13228
  }); // el-form
@@ -13348,6 +13362,10 @@ var InlineSearch = defineComponent({
13348
13362
 
13349
13363
  });
13350
13364
 
13365
+ function _isSlot$1(s) {
13366
+ return typeof s === 'function' || Object.prototype.toString.call(s) === '[object Object]' && !isVNode(s);
13367
+ }
13368
+
13351
13369
  function useRender({
13352
13370
  columns,
13353
13371
  data,
@@ -13434,7 +13452,17 @@ function useRender({
13434
13452
  default: () => d.label
13435
13453
  });
13436
13454
  } else if (d) {
13437
- return d.label;
13455
+ return createVNode(resolveComponent("el-tag"), {
13456
+ "style": "margin: 0 2px"
13457
+ }, {
13458
+ default: () => [d.label]
13459
+ });
13460
+ } else if (!!v) {
13461
+ return createVNode(resolveComponent("el-tag"), {
13462
+ "style": "margin: 0 2px"
13463
+ }, _isSlot$1(v) ? v : {
13464
+ default: () => [v]
13465
+ });
13438
13466
  } else {
13439
13467
  return v;
13440
13468
  }
@@ -9856,7 +9856,7 @@
9856
9856
  }
9857
9857
  }
9858
9858
 
9859
- function _isSlot$3(s) {
9859
+ function _isSlot$5(s) {
9860
9860
  return typeof s === 'function' || Object.prototype.toString.call(s) === '[object Object]' && !vue.isVNode(s);
9861
9861
  }
9862
9862
 
@@ -10108,7 +10108,7 @@
10108
10108
 
10109
10109
  return vue.createVNode(vue.resolveComponent("el-col"), vue.mergeProps({
10110
10110
  "span": baseSpan
10111
- }, e), _isSlot$3(FormItem) ? FormItem : {
10111
+ }, e), _isSlot$5(FormItem) ? FormItem : {
10112
10112
  default: () => [FormItem]
10113
10113
  });
10114
10114
  }); // el-form
@@ -10127,7 +10127,7 @@
10127
10127
  default: () => {
10128
10128
  return ctx.inline ? children : vue.withDirectives(vue.createVNode(vue.resolveComponent("el-row"), {
10129
10129
  "gutter": 10
10130
- }, _isSlot$3(children) ? children : {
10130
+ }, _isSlot$5(children) ? children : {
10131
10131
  default: () => [children]
10132
10132
  }), [[vue.resolveDirective("loading"), ctx.loading]]);
10133
10133
  }
@@ -10155,14 +10155,14 @@
10155
10155
  "onClick": () => {
10156
10156
  ctx.submit();
10157
10157
  }
10158
- }, _isSlot$3(saveButtonText) ? saveButtonText : {
10158
+ }, _isSlot$5(saveButtonText) ? saveButtonText : {
10159
10159
  default: () => [saveButtonText]
10160
10160
  });
10161
10161
  } else if (vnode == "close") {
10162
10162
  return vue.createVNode(vue.resolveComponent("el-button"), {
10163
10163
  "size": style.size,
10164
10164
  "onClick": ctx.close
10165
- }, _isSlot$3(closeButtonText) ? closeButtonText : {
10165
+ }, _isSlot$5(closeButtonText) ? closeButtonText : {
10166
10166
  default: () => [closeButtonText]
10167
10167
  });
10168
10168
  } else {
@@ -11430,7 +11430,7 @@
11430
11430
  }
11431
11431
  });
11432
11432
 
11433
- function _isSlot$2(s) {
11433
+ function _isSlot$4(s) {
11434
11434
  return typeof s === 'function' || Object.prototype.toString.call(s) === '[object Object]' && !vue.isVNode(s);
11435
11435
  }
11436
11436
 
@@ -11556,7 +11556,7 @@
11556
11556
  "modelValue": ctx.selectField,
11557
11557
  "onUpdate:modelValue": $event => ctx.selectField = $event,
11558
11558
  "onChange": ctx.onFieldChange
11559
- }, _isSlot$2(_slot = ctx.fieldList.map((e, i) => vue.createVNode(vue.resolveComponent("el-option"), {
11559
+ }, _isSlot$4(_slot = ctx.fieldList.map((e, i) => vue.createVNode(vue.resolveComponent("el-option"), {
11560
11560
  "key": i,
11561
11561
  "label": e.label,
11562
11562
  "value": e.value
@@ -11808,6 +11808,10 @@
11808
11808
 
11809
11809
  };
11810
11810
 
11811
+ function _isSlot$3(s) {
11812
+ return typeof s === 'function' || Object.prototype.toString.call(s) === '[object Object]' && !vue.isVNode(s);
11813
+ }
11814
+
11811
11815
  function useElTable({
11812
11816
  Table
11813
11817
  }) {
@@ -12227,7 +12231,17 @@
12227
12231
  default: () => d.label
12228
12232
  });
12229
12233
  } else if (d) {
12230
- return d.label;
12234
+ return vue.createVNode(vue.resolveComponent("el-tag"), {
12235
+ "style": "margin: 0 2px"
12236
+ }, {
12237
+ default: () => [d.label]
12238
+ });
12239
+ } else if (!!v) {
12240
+ return vue.createVNode(vue.resolveComponent("el-tag"), {
12241
+ "style": "margin: 0 2px"
12242
+ }, _isSlot$3(v) ? v : {
12243
+ default: () => [v]
12244
+ });
12231
12245
  } else {
12232
12246
  return v;
12233
12247
  }
@@ -13124,7 +13138,7 @@
13124
13138
 
13125
13139
  });
13126
13140
 
13127
- function _isSlot$1(s) {
13141
+ function _isSlot$2(s) {
13128
13142
  return typeof s === 'function' || Object.prototype.toString.call(s) === '[object Object]' && !vue.isVNode(s);
13129
13143
  }
13130
13144
 
@@ -13191,7 +13205,7 @@
13191
13205
  "lg": {
13192
13206
  span: 6
13193
13207
  }
13194
- }, e), _isSlot$1(FormItem) ? FormItem : {
13208
+ }, e), _isSlot$2(FormItem) ? FormItem : {
13195
13209
  default: () => [FormItem]
13196
13210
  });
13197
13211
  });
@@ -13211,7 +13225,7 @@
13211
13225
  default: () => [vue.createVNode(vue.resolveComponent("el-form-item"), {
13212
13226
  "label-width": "auto",
13213
13227
  "label": ""
13214
- }, _isSlot$1(_slot = renderOp()) ? _slot : {
13228
+ }, _isSlot$2(_slot = renderOp()) ? _slot : {
13215
13229
  default: () => [_slot]
13216
13230
  })]
13217
13231
  }); // el-form
@@ -13351,6 +13365,10 @@
13351
13365
 
13352
13366
  });
13353
13367
 
13368
+ function _isSlot$1(s) {
13369
+ return typeof s === 'function' || Object.prototype.toString.call(s) === '[object Object]' && !vue.isVNode(s);
13370
+ }
13371
+
13354
13372
  function useRender({
13355
13373
  columns,
13356
13374
  data,
@@ -13437,7 +13455,17 @@
13437
13455
  default: () => d.label
13438
13456
  });
13439
13457
  } else if (d) {
13440
- return d.label;
13458
+ return vue.createVNode(vue.resolveComponent("el-tag"), {
13459
+ "style": "margin: 0 2px"
13460
+ }, {
13461
+ default: () => [d.label]
13462
+ });
13463
+ } else if (!!v) {
13464
+ return vue.createVNode(vue.resolveComponent("el-tag"), {
13465
+ "style": "margin: 0 2px"
13466
+ }, _isSlot$1(v) ? v : {
13467
+ default: () => [v]
13468
+ });
13441
13469
  } else {
13442
13470
  return v;
13443
13471
  }
@@ -4,6 +4,7 @@ export declare const UserList: ({
4
4
  createTime: string;
5
5
  price: number;
6
6
  status: number;
7
+ statusx: string;
7
8
  hook: string;
8
9
  } | {
9
10
  id: number;
@@ -11,6 +12,15 @@ export declare const UserList: ({
11
12
  createTime: string;
12
13
  price: number;
13
14
  status: number;
15
+ statusx: string;
16
+ hook?: undefined;
17
+ } | {
18
+ id: number;
19
+ name: string;
20
+ createTime: string;
21
+ price: number;
22
+ status: number;
23
+ statusx?: undefined;
14
24
  hook?: undefined;
15
25
  })[];
16
26
  export declare const TestService: {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@epie/bi-crud",
3
3
  "simpleName": "bi-crud",
4
- "version": "2.0.14",
4
+ "version": "2.0.15",
5
5
  "private": false,
6
6
  "main": "lib/bi-crud.umd.js",
7
7
  "module": "lib/bi-crud.esm.js",