@gx-design-vue/pro-table 0.1.9 → 0.1.10

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.
@@ -188,7 +188,12 @@ declare const GProTable: import("vue").DefineComponent<{
188
188
  };
189
189
  expandedRowRender: {
190
190
  type: import("vue").PropType<import("ant-design-vue/es/vc-table/interface").ExpandedRowRender<any>>;
191
- default: any;
191
+ default: any; /**
192
+ * @Author gx12358
193
+ * @DateTime 2022/1/21
194
+ * @lastTime 2022/1/21
195
+ * @description Tabel-loading hooks 方法
196
+ */
192
197
  };
193
198
  expandRowByClick: {
194
199
  type: import("vue").PropType<boolean>;
@@ -217,7 +222,12 @@ declare const GProTable: import("vue").DefineComponent<{
217
222
  indentSize: {
218
223
  type: import("vue").PropType<number>;
219
224
  default: any;
220
- };
225
+ }; /**
226
+ * @Author gx12358
227
+ * @DateTime 2022/1/21
228
+ * @lastTime 2022/1/21
229
+ * @description Tabel-scroll hooks 方法
230
+ */
221
231
  expandIconColumnIndex: {
222
232
  type: import("vue").PropType<number>;
223
233
  default: any;
@@ -228,6 +238,12 @@ declare const GProTable: import("vue").DefineComponent<{
228
238
  };
229
239
  expandedRowClassName: {
230
240
  type: import("vue").PropType<import("ant-design-vue/es/vc-table/interface").RowClassName<any>>;
241
+ /**
242
+ * @Author gx12358
243
+ * @DateTime 2022/1/21
244
+ * @lastTime 2022/1/21
245
+ * @description Tabel-colums hooks 方法
246
+ */
231
247
  default: any;
232
248
  };
233
249
  childrenColumnName: {
@@ -268,7 +284,12 @@ declare const GProTable: import("vue").DefineComponent<{
268
284
  };
269
285
  onChange: {
270
286
  type: import("vue").PropType<(pagination: import("ant-design-vue/es/table/interface").TablePaginationConfig, filters: Record<string, import("ant-design-vue/es/table/interface").FilterValue | null>, sorter: import("ant-design-vue/es/table/interface").SorterResult<any> | import("ant-design-vue/es/table/interface").SorterResult<any>[], extra: import("ant-design-vue/es/table/interface").TableCurrentDataSource<any>) => void>;
271
- default: any;
287
+ default: any; /**
288
+ * @Author gx12358
289
+ * @DateTime 2022/1/21
290
+ * @lastTime 2022/1/21
291
+ * @description Tabel-datasource hooks 方法
292
+ */
272
293
  };
273
294
  onResizeColumn: {
274
295
  type: import("vue").PropType<(w: number, col: import("ant-design-vue/es/table/interface").ColumnType<any>) => void>;
@@ -533,7 +554,12 @@ declare const GProTable: import("vue").DefineComponent<{
533
554
  };
534
555
  expandedRowRender: {
535
556
  type: import("vue").PropType<import("ant-design-vue/es/vc-table/interface").ExpandedRowRender<any>>;
536
- default: any;
557
+ default: any; /**
558
+ * @Author gx12358
559
+ * @DateTime 2022/1/21
560
+ * @lastTime 2022/1/21
561
+ * @description Tabel-loading hooks 方法
562
+ */
537
563
  };
538
564
  expandRowByClick: {
539
565
  type: import("vue").PropType<boolean>;
@@ -562,7 +588,12 @@ declare const GProTable: import("vue").DefineComponent<{
562
588
  indentSize: {
563
589
  type: import("vue").PropType<number>;
564
590
  default: any;
565
- };
591
+ }; /**
592
+ * @Author gx12358
593
+ * @DateTime 2022/1/21
594
+ * @lastTime 2022/1/21
595
+ * @description Tabel-scroll hooks 方法
596
+ */
566
597
  expandIconColumnIndex: {
567
598
  type: import("vue").PropType<number>;
568
599
  default: any;
@@ -573,6 +604,12 @@ declare const GProTable: import("vue").DefineComponent<{
573
604
  };
574
605
  expandedRowClassName: {
575
606
  type: import("vue").PropType<import("ant-design-vue/es/vc-table/interface").RowClassName<any>>;
607
+ /**
608
+ * @Author gx12358
609
+ * @DateTime 2022/1/21
610
+ * @lastTime 2022/1/21
611
+ * @description Tabel-colums hooks 方法
612
+ */
576
613
  default: any;
577
614
  };
578
615
  childrenColumnName: {
@@ -613,7 +650,12 @@ declare const GProTable: import("vue").DefineComponent<{
613
650
  };
614
651
  onChange: {
615
652
  type: import("vue").PropType<(pagination: import("ant-design-vue/es/table/interface").TablePaginationConfig, filters: Record<string, import("ant-design-vue/es/table/interface").FilterValue | null>, sorter: import("ant-design-vue/es/table/interface").SorterResult<any> | import("ant-design-vue/es/table/interface").SorterResult<any>[], extra: import("ant-design-vue/es/table/interface").TableCurrentDataSource<any>) => void>;
616
- default: any;
653
+ default: any; /**
654
+ * @Author gx12358
655
+ * @DateTime 2022/1/21
656
+ * @lastTime 2022/1/21
657
+ * @description Tabel-datasource hooks 方法
658
+ */
617
659
  };
618
660
  onResizeColumn: {
619
661
  type: import("vue").PropType<(w: number, col: import("ant-design-vue/es/table/interface").ColumnType<any>) => void>;
@@ -30003,7 +30003,7 @@ const GProTable = defineComponent({
30003
30003
  "toolBarBtn": toolBarBtn
30004
30004
  }, null);
30005
30005
  return () => {
30006
- var _a, _b;
30006
+ var _a, _b, _c;
30007
30007
  const headerTitleRender = getSlotVNode(slots, props2, "headerTitle");
30008
30008
  const titleTipRender = getSlotVNode(slots, props2, "titleTip");
30009
30009
  const toolBarBtnRender = getSlotVNode(slots, props2, "toolBarBtn");
@@ -30018,7 +30018,7 @@ const GProTable = defineComponent({
30018
30018
  "modal": props2.modalScroll,
30019
30019
  "searchMap": formDataRef.value,
30020
30020
  "prefixCls": baseClassName,
30021
- "loading": !!unref(getLoading),
30021
+ "loading": (_b = unref(getBindValues).loading) == null ? void 0 : _b.spinning,
30022
30022
  "onSearch": handleTableSubmit,
30023
30023
  "defaultParams": defaultParamsRef
30024
30024
  }, {
@@ -30026,9 +30026,7 @@ const GProTable = defineComponent({
30026
30026
  var _a2;
30027
30027
  return (_a2 = slots.search) == null ? void 0 : _a2.call(slots);
30028
30028
  } : null
30029
- }), !needVirtualScroll.value && toolbarDom(headerTitleRender, toolBarBtnRender, titleTipRender), !!((_b = props2.customRender) != null ? _b : slots.customRender) ? createVNode(Spin$1, {
30030
- "spinning": !!unref(getLoading)
30031
- }, {
30029
+ }), !needVirtualScroll.value && toolbarDom(headerTitleRender, toolBarBtnRender, titleTipRender), !!((_c = props2.customRender) != null ? _c : slots.customRender) ? createVNode(Spin$1, unref(getBindValues).loading, {
30032
30030
  default: () => {
30033
30031
  var _a2;
30034
30032
  return [renderCustomize(), !!((_a2 = dataSourceRef.value) == null ? void 0 : _a2.length) && createVNode(Pagination$2, mergeProps({