@dao-style/core 1.23.0 → 1.23.1-beta.1

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.
@@ -86,6 +86,10 @@ export declare const tableProps: {
86
86
  type: PropType<SelectablePropType>;
87
87
  default: boolean;
88
88
  };
89
+ selectionType: {
90
+ type: PropType<"multiple" | "single">;
91
+ default: string;
92
+ };
89
93
  selectedRows: {
90
94
  type: PropType<DataPropType>;
91
95
  default: () => never[];
@@ -32,6 +32,7 @@ declare const DaoTable: {
32
32
  hideSearch: boolean;
33
33
  noRounded: boolean;
34
34
  selectable: import("./table-props").SelectablePropType;
35
+ selectionType: "multiple" | "single";
35
36
  selectedRows: import("./table-props").DataPropType;
36
37
  expandedRows: import("./table-props").DataPropType;
37
38
  highlight: boolean;
@@ -98,6 +99,10 @@ declare const DaoTable: {
98
99
  type: import("vue").PropType<import("./table-props").SelectablePropType>;
99
100
  default: boolean;
100
101
  };
102
+ selectionType: {
103
+ type: import("vue").PropType<"multiple" | "single">;
104
+ default: string;
105
+ };
101
106
  selectedRows: {
102
107
  type: import("vue").PropType<import("./table-props").DataPropType>;
103
108
  default: () => never[];
@@ -212,7 +217,7 @@ declare const DaoTable: {
212
217
  "onRow-click"?: ((...args: any[]) => any) | undefined;
213
218
  onOnHighlight?: ((...args: any[]) => any) | undefined;
214
219
  onOffHighlight?: ((...args: any[]) => any) | undefined;
215
- } & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "search" | "compact" | "sort" | "data" | "columns" | "loading" | "searchPlaceholder" | "total" | "selectedFormat" | "deselectText" | "removeText" | "showHeader" | "expandable" | "pageSize" | "pageSizeOptions" | "pageFormat" | "currentPage" | "pageSizerWidth" | "noShadow" | "searchOptions" | "fuzzy" | "hideRefresh" | "hideSearch" | "noRounded" | "selectable" | "selectedRows" | "expandedRows" | "highlight" | "highlightedRow" | "emptyText" | "pageLayout" | "hideBatchBar" | "hideToolbar" | "hideSetting">;
220
+ } & import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, "search" | "compact" | "sort" | "data" | "columns" | "loading" | "searchPlaceholder" | "total" | "selectedFormat" | "deselectText" | "removeText" | "showHeader" | "expandable" | "pageSize" | "pageSizeOptions" | "pageFormat" | "currentPage" | "pageSizerWidth" | "noShadow" | "searchOptions" | "fuzzy" | "hideRefresh" | "hideSearch" | "noRounded" | "selectable" | "selectionType" | "selectedRows" | "expandedRows" | "highlight" | "highlightedRow" | "emptyText" | "pageLayout" | "hideBatchBar" | "hideToolbar" | "hideSetting">;
216
221
  $attrs: {
217
222
  [x: string]: unknown;
218
223
  };
@@ -283,6 +288,10 @@ declare const DaoTable: {
283
288
  type: import("vue").PropType<import("./table-props").SelectablePropType>;
284
289
  default: boolean;
285
290
  };
291
+ selectionType: {
292
+ type: import("vue").PropType<"multiple" | "single">;
293
+ default: string;
294
+ };
286
295
  selectedRows: {
287
296
  type: import("vue").PropType<import("./table-props").DataPropType>;
288
297
  default: () => never[];
@@ -497,6 +506,7 @@ declare const DaoTable: {
497
506
  isRowSelected: (row: Record<string, unknown>) => boolean;
498
507
  toggleSelected: (row: Record<string, unknown>) => void;
499
508
  toggleSelectedAll: () => void;
509
+ handleSelectSingleRow: (row: Record<string, unknown>) => void;
500
510
  withDefaultValue: typeof import("../../utils/default-value").default;
501
511
  batchDelete: () => void;
502
512
  deselect: () => void;
@@ -581,6 +591,7 @@ declare const DaoTable: {
581
591
  hideSearch: boolean;
582
592
  noRounded: boolean;
583
593
  selectable: import("./table-props").SelectablePropType;
594
+ selectionType: "multiple" | "single";
584
595
  selectedRows: import("./table-props").DataPropType;
585
596
  expandedRows: import("./table-props").DataPropType;
586
597
  highlight: boolean;
@@ -667,6 +678,10 @@ declare const DaoTable: {
667
678
  type: import("vue").PropType<import("./table-props").SelectablePropType>;
668
679
  default: boolean;
669
680
  };
681
+ selectionType: {
682
+ type: import("vue").PropType<"multiple" | "single">;
683
+ default: string;
684
+ };
670
685
  selectedRows: {
671
686
  type: import("vue").PropType<import("./table-props").DataPropType>;
672
687
  default: () => never[];
@@ -881,6 +896,7 @@ declare const DaoTable: {
881
896
  isRowSelected: (row: Record<string, unknown>) => boolean;
882
897
  toggleSelected: (row: Record<string, unknown>) => void;
883
898
  toggleSelectedAll: () => void;
899
+ handleSelectSingleRow: (row: Record<string, unknown>) => void;
884
900
  withDefaultValue: typeof import("../../utils/default-value").default;
885
901
  batchDelete: () => void;
886
902
  deselect: () => void;
@@ -1000,6 +1016,10 @@ declare const DaoTable: {
1000
1016
  type: import("vue").PropType<import("./table-props").SelectablePropType>;
1001
1017
  default: boolean;
1002
1018
  };
1019
+ selectionType: {
1020
+ type: import("vue").PropType<"multiple" | "single">;
1021
+ default: string;
1022
+ };
1003
1023
  selectedRows: {
1004
1024
  type: import("vue").PropType<import("./table-props").DataPropType>;
1005
1025
  default: () => never[];
@@ -1214,6 +1234,7 @@ declare const DaoTable: {
1214
1234
  isRowSelected: (row: Record<string, unknown>) => boolean;
1215
1235
  toggleSelected: (row: Record<string, unknown>) => void;
1216
1236
  toggleSelectedAll: () => void;
1237
+ handleSelectSingleRow: (row: Record<string, unknown>) => void;
1217
1238
  withDefaultValue: typeof import("../../utils/default-value").default;
1218
1239
  batchDelete: () => void;
1219
1240
  deselect: () => void;
@@ -1298,6 +1319,7 @@ declare const DaoTable: {
1298
1319
  hideSearch: boolean;
1299
1320
  noRounded: boolean;
1300
1321
  selectable: import("./table-props").SelectablePropType;
1322
+ selectionType: "multiple" | "single";
1301
1323
  selectedRows: import("./table-props").DataPropType;
1302
1324
  expandedRows: import("./table-props").DataPropType;
1303
1325
  highlight: boolean;
@@ -60,6 +60,10 @@ declare const _default: import("vue").DefineComponent<{
60
60
  type: import("vue").PropType<import("./table-props").SelectablePropType>;
61
61
  default: boolean;
62
62
  };
63
+ selectionType: {
64
+ type: import("vue").PropType<"multiple" | "single">;
65
+ default: string;
66
+ };
63
67
  selectedRows: {
64
68
  type: import("vue").PropType<DataPropType>;
65
69
  default: () => never[];
@@ -249,6 +253,7 @@ declare const _default: import("vue").DefineComponent<{
249
253
  isRowSelected: (row: Record<string, unknown>) => boolean;
250
254
  toggleSelected: (row: Record<string, unknown>) => void;
251
255
  toggleSelectedAll: () => void;
256
+ handleSelectSingleRow: (row: Record<string, unknown>) => void;
252
257
  withDefaultValue: typeof withDefaultValue;
253
258
  batchDelete: () => void;
254
259
  deselect: () => void;
@@ -364,6 +369,10 @@ declare const _default: import("vue").DefineComponent<{
364
369
  type: import("vue").PropType<import("./table-props").SelectablePropType>;
365
370
  default: boolean;
366
371
  };
372
+ selectionType: {
373
+ type: import("vue").PropType<"multiple" | "single">;
374
+ default: string;
375
+ };
367
376
  selectedRows: {
368
377
  type: import("vue").PropType<DataPropType>;
369
378
  default: () => never[];
@@ -504,6 +513,7 @@ declare const _default: import("vue").DefineComponent<{
504
513
  hideSearch: boolean;
505
514
  noRounded: boolean;
506
515
  selectable: import("./table-props").SelectablePropType;
516
+ selectionType: "multiple" | "single";
507
517
  selectedRows: DataPropType;
508
518
  expandedRows: DataPropType;
509
519
  highlight: boolean;