@sprucelabs/heartwood-view-controllers 121.0.5 → 121.1.0
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.
- package/build/.spruce/schemas/heartwoodViewControllers/v2021_02_11/list.schema.js +12 -0
- package/build/.spruce/schemas/schemas.types.d.ts +18 -0
- package/build/esm/.spruce/schemas/heartwoodViewControllers/v2021_02_11/list.schema.js +12 -0
- package/build/esm/.spruce/schemas/schemas.types.d.ts +18 -0
- package/build/esm/schemas/v2021_02_11/cards/card.builder.d.ts +44 -0
- package/build/esm/schemas/v2021_02_11/cards/cardBody.builder.d.ts +33 -0
- package/build/esm/schemas/v2021_02_11/cards/cardHeader.builder.d.ts +11 -0
- package/build/esm/schemas/v2021_02_11/cards/cardSection.builder.d.ts +33 -0
- package/build/esm/schemas/v2021_02_11/dialog.builder.d.ts +44 -0
- package/build/esm/schemas/v2021_02_11/formSection.builder.d.ts +11 -0
- package/build/esm/schemas/v2021_02_11/forms/bigForm.builder.d.ts +11 -0
- package/build/esm/schemas/v2021_02_11/forms/form.builder.d.ts +11 -0
- package/build/esm/schemas/v2021_02_11/layout.builder.d.ts +44 -0
- package/build/esm/schemas/v2021_02_11/list.builder.d.ts +11 -0
- package/build/esm/schemas/v2021_02_11/list.builder.js +9 -0
- package/build/esm/schemas/v2021_02_11/lockScreen.builder.d.ts +44 -0
- package/build/esm/schemas/v2021_02_11/skillView.builder.d.ts +44 -0
- package/build/esm/schemas/v2021_02_11/toolBelt.builder.d.ts +44 -0
- package/build/esm/tests/utilities/interaction.utility.d.ts +1 -0
- package/build/esm/tests/utilities/interactor.d.ts +1 -0
- package/build/esm/tests/utilities/interactor.js +14 -0
- package/build/esm/types/heartwood.types.d.ts +1 -0
- package/build/esm/viewControllers/list/List.vc.d.ts +2 -0
- package/build/esm/viewControllers/list/List.vc.js +28 -3
- package/build/schemas/v2021_02_11/cards/card.builder.d.ts +44 -0
- package/build/schemas/v2021_02_11/cards/cardBody.builder.d.ts +33 -0
- package/build/schemas/v2021_02_11/cards/cardHeader.builder.d.ts +11 -0
- package/build/schemas/v2021_02_11/cards/cardSection.builder.d.ts +33 -0
- package/build/schemas/v2021_02_11/dialog.builder.d.ts +44 -0
- package/build/schemas/v2021_02_11/formSection.builder.d.ts +11 -0
- package/build/schemas/v2021_02_11/forms/bigForm.builder.d.ts +11 -0
- package/build/schemas/v2021_02_11/forms/form.builder.d.ts +11 -0
- package/build/schemas/v2021_02_11/layout.builder.d.ts +44 -0
- package/build/schemas/v2021_02_11/list.builder.d.ts +11 -0
- package/build/schemas/v2021_02_11/list.builder.js +11 -0
- package/build/schemas/v2021_02_11/lockScreen.builder.d.ts +44 -0
- package/build/schemas/v2021_02_11/skillView.builder.d.ts +44 -0
- package/build/schemas/v2021_02_11/toolBelt.builder.d.ts +44 -0
- package/build/tests/utilities/interaction.utility.d.ts +1 -0
- package/build/tests/utilities/interactor.d.ts +1 -0
- package/build/tests/utilities/interactor.js +12 -0
- package/build/types/heartwood.types.d.ts +1 -0
- package/build/viewControllers/list/List.vc.d.ts +2 -0
- package/build/viewControllers/list/List.vc.js +16 -2
- package/package.json +1 -1
|
@@ -29,6 +29,18 @@ const listSchema = {
|
|
|
29
29
|
type: 'boolean',
|
|
30
30
|
options: undefined
|
|
31
31
|
},
|
|
32
|
+
/** Allow drag and drop sorting. */
|
|
33
|
+
'shouldAllowDragAndDropSorting': {
|
|
34
|
+
label: 'Allow drag and drop sorting',
|
|
35
|
+
type: 'boolean',
|
|
36
|
+
options: undefined
|
|
37
|
+
},
|
|
38
|
+
/** Drag and drop sort handler. */
|
|
39
|
+
'onDragAndDropSort': {
|
|
40
|
+
label: 'Drag and drop sort handler',
|
|
41
|
+
type: 'raw',
|
|
42
|
+
options: { valueType: `(rowIds: string[]) => boolean | Promise<boolean | void> | void`, }
|
|
43
|
+
},
|
|
32
44
|
/** Column widths. */
|
|
33
45
|
'columnWidths': {
|
|
34
46
|
label: 'Column widths',
|
|
@@ -11486,6 +11486,10 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
|
|
|
11486
11486
|
'controller'?: (HeartwoodTypes.ListViewController) | undefined | null;
|
|
11487
11487
|
/** Render row dividers. */
|
|
11488
11488
|
'shouldRenderRowDividers'?: boolean | undefined | null;
|
|
11489
|
+
/** Allow drag and drop sorting. */
|
|
11490
|
+
'shouldAllowDragAndDropSorting'?: boolean | undefined | null;
|
|
11491
|
+
/** Drag and drop sort handler. */
|
|
11492
|
+
'onDragAndDropSort'?: ((rowIds: string[]) => boolean | Promise<boolean | void> | void) | undefined | null;
|
|
11489
11493
|
/** Column widths. */
|
|
11490
11494
|
'columnWidths'?: (number | 'fill' | 'content')[] | undefined | null;
|
|
11491
11495
|
/** Row height. */
|
|
@@ -11519,6 +11523,20 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
|
|
|
11519
11523
|
type: 'boolean';
|
|
11520
11524
|
options: undefined;
|
|
11521
11525
|
};
|
|
11526
|
+
/** Allow drag and drop sorting. */
|
|
11527
|
+
'shouldAllowDragAndDropSorting': {
|
|
11528
|
+
label: 'Allow drag and drop sorting';
|
|
11529
|
+
type: 'boolean';
|
|
11530
|
+
options: undefined;
|
|
11531
|
+
};
|
|
11532
|
+
/** Drag and drop sort handler. */
|
|
11533
|
+
'onDragAndDropSort': {
|
|
11534
|
+
label: 'Drag and drop sort handler';
|
|
11535
|
+
type: 'raw';
|
|
11536
|
+
options: {
|
|
11537
|
+
valueType: `(rowIds: string[]) => boolean | Promise<boolean | void> | void`;
|
|
11538
|
+
};
|
|
11539
|
+
};
|
|
11522
11540
|
/** Column widths. */
|
|
11523
11541
|
'columnWidths': {
|
|
11524
11542
|
label: 'Column widths';
|
|
@@ -24,6 +24,18 @@ const listSchema = {
|
|
|
24
24
|
type: 'boolean',
|
|
25
25
|
options: undefined
|
|
26
26
|
},
|
|
27
|
+
/** Allow drag and drop sorting. */
|
|
28
|
+
'shouldAllowDragAndDropSorting': {
|
|
29
|
+
label: 'Allow drag and drop sorting',
|
|
30
|
+
type: 'boolean',
|
|
31
|
+
options: undefined
|
|
32
|
+
},
|
|
33
|
+
/** Drag and drop sort handler. */
|
|
34
|
+
'onDragAndDropSort': {
|
|
35
|
+
label: 'Drag and drop sort handler',
|
|
36
|
+
type: 'raw',
|
|
37
|
+
options: { valueType: `(rowIds: string[]) => boolean | Promise<boolean | void> | void`, }
|
|
38
|
+
},
|
|
27
39
|
/** Column widths. */
|
|
28
40
|
'columnWidths': {
|
|
29
41
|
label: 'Column widths',
|
|
@@ -11486,6 +11486,10 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
|
|
|
11486
11486
|
'controller'?: (HeartwoodTypes.ListViewController) | undefined | null;
|
|
11487
11487
|
/** Render row dividers. */
|
|
11488
11488
|
'shouldRenderRowDividers'?: boolean | undefined | null;
|
|
11489
|
+
/** Allow drag and drop sorting. */
|
|
11490
|
+
'shouldAllowDragAndDropSorting'?: boolean | undefined | null;
|
|
11491
|
+
/** Drag and drop sort handler. */
|
|
11492
|
+
'onDragAndDropSort'?: ((rowIds: string[]) => boolean | Promise<boolean | void> | void) | undefined | null;
|
|
11489
11493
|
/** Column widths. */
|
|
11490
11494
|
'columnWidths'?: (number | 'fill' | 'content')[] | undefined | null;
|
|
11491
11495
|
/** Row height. */
|
|
@@ -11519,6 +11523,20 @@ declare module '@sprucelabs/spruce-core-schemas/build/.spruce/schemas/core.schem
|
|
|
11519
11523
|
type: 'boolean';
|
|
11520
11524
|
options: undefined;
|
|
11521
11525
|
};
|
|
11526
|
+
/** Allow drag and drop sorting. */
|
|
11527
|
+
'shouldAllowDragAndDropSorting': {
|
|
11528
|
+
label: 'Allow drag and drop sorting';
|
|
11529
|
+
type: 'boolean';
|
|
11530
|
+
options: undefined;
|
|
11531
|
+
};
|
|
11532
|
+
/** Drag and drop sort handler. */
|
|
11533
|
+
'onDragAndDropSort': {
|
|
11534
|
+
label: 'Drag and drop sort handler';
|
|
11535
|
+
type: 'raw';
|
|
11536
|
+
options: {
|
|
11537
|
+
valueType: `(rowIds: string[]) => boolean | Promise<boolean | void> | void`;
|
|
11538
|
+
};
|
|
11539
|
+
};
|
|
11522
11540
|
/** Column widths. */
|
|
11523
11541
|
'columnWidths': {
|
|
11524
11542
|
label: 'Column widths';
|
|
@@ -6849,6 +6849,17 @@ declare const _default: {
|
|
|
6849
6849
|
type: "boolean";
|
|
6850
6850
|
label: string;
|
|
6851
6851
|
};
|
|
6852
|
+
shouldAllowDragAndDropSorting: {
|
|
6853
|
+
type: "boolean";
|
|
6854
|
+
label: string;
|
|
6855
|
+
};
|
|
6856
|
+
onDragAndDropSort: {
|
|
6857
|
+
type: "raw";
|
|
6858
|
+
label: string;
|
|
6859
|
+
options: {
|
|
6860
|
+
valueType: string;
|
|
6861
|
+
};
|
|
6862
|
+
};
|
|
6852
6863
|
};
|
|
6853
6864
|
};
|
|
6854
6865
|
};
|
|
@@ -13967,6 +13978,17 @@ declare const _default: {
|
|
|
13967
13978
|
type: "boolean";
|
|
13968
13979
|
label: string;
|
|
13969
13980
|
};
|
|
13981
|
+
shouldAllowDragAndDropSorting: {
|
|
13982
|
+
type: "boolean";
|
|
13983
|
+
label: string;
|
|
13984
|
+
};
|
|
13985
|
+
onDragAndDropSort: {
|
|
13986
|
+
type: "raw";
|
|
13987
|
+
label: string;
|
|
13988
|
+
options: {
|
|
13989
|
+
valueType: string;
|
|
13990
|
+
};
|
|
13991
|
+
};
|
|
13970
13992
|
};
|
|
13971
13993
|
};
|
|
13972
13994
|
};
|
|
@@ -21083,6 +21105,17 @@ declare const _default: {
|
|
|
21083
21105
|
type: "boolean";
|
|
21084
21106
|
label: string;
|
|
21085
21107
|
};
|
|
21108
|
+
shouldAllowDragAndDropSorting: {
|
|
21109
|
+
type: "boolean";
|
|
21110
|
+
label: string;
|
|
21111
|
+
};
|
|
21112
|
+
onDragAndDropSort: {
|
|
21113
|
+
type: "raw";
|
|
21114
|
+
label: string;
|
|
21115
|
+
options: {
|
|
21116
|
+
valueType: string;
|
|
21117
|
+
};
|
|
21118
|
+
};
|
|
21086
21119
|
};
|
|
21087
21120
|
};
|
|
21088
21121
|
};
|
|
@@ -28154,6 +28187,17 @@ declare const _default: {
|
|
|
28154
28187
|
type: "boolean";
|
|
28155
28188
|
label: string;
|
|
28156
28189
|
};
|
|
28190
|
+
shouldAllowDragAndDropSorting: {
|
|
28191
|
+
type: "boolean";
|
|
28192
|
+
label: string;
|
|
28193
|
+
};
|
|
28194
|
+
onDragAndDropSort: {
|
|
28195
|
+
type: "raw";
|
|
28196
|
+
label: string;
|
|
28197
|
+
options: {
|
|
28198
|
+
valueType: string;
|
|
28199
|
+
};
|
|
28200
|
+
};
|
|
28157
28201
|
};
|
|
28158
28202
|
};
|
|
28159
28203
|
};
|
|
@@ -6904,6 +6904,17 @@ declare const _default: {
|
|
|
6904
6904
|
type: "boolean";
|
|
6905
6905
|
label: string;
|
|
6906
6906
|
};
|
|
6907
|
+
shouldAllowDragAndDropSorting: {
|
|
6908
|
+
type: "boolean";
|
|
6909
|
+
label: string;
|
|
6910
|
+
};
|
|
6911
|
+
onDragAndDropSort: {
|
|
6912
|
+
type: "raw";
|
|
6913
|
+
label: string;
|
|
6914
|
+
options: {
|
|
6915
|
+
valueType: string;
|
|
6916
|
+
};
|
|
6917
|
+
};
|
|
6907
6918
|
};
|
|
6908
6919
|
};
|
|
6909
6920
|
};
|
|
@@ -14020,6 +14031,17 @@ declare const _default: {
|
|
|
14020
14031
|
type: "boolean";
|
|
14021
14032
|
label: string;
|
|
14022
14033
|
};
|
|
14034
|
+
shouldAllowDragAndDropSorting: {
|
|
14035
|
+
type: "boolean";
|
|
14036
|
+
label: string;
|
|
14037
|
+
};
|
|
14038
|
+
onDragAndDropSort: {
|
|
14039
|
+
type: "raw";
|
|
14040
|
+
label: string;
|
|
14041
|
+
options: {
|
|
14042
|
+
valueType: string;
|
|
14043
|
+
};
|
|
14044
|
+
};
|
|
14023
14045
|
};
|
|
14024
14046
|
};
|
|
14025
14047
|
};
|
|
@@ -21091,6 +21113,17 @@ declare const _default: {
|
|
|
21091
21113
|
type: "boolean";
|
|
21092
21114
|
label: string;
|
|
21093
21115
|
};
|
|
21116
|
+
shouldAllowDragAndDropSorting: {
|
|
21117
|
+
type: "boolean";
|
|
21118
|
+
label: string;
|
|
21119
|
+
};
|
|
21120
|
+
onDragAndDropSort: {
|
|
21121
|
+
type: "raw";
|
|
21122
|
+
label: string;
|
|
21123
|
+
options: {
|
|
21124
|
+
valueType: string;
|
|
21125
|
+
};
|
|
21126
|
+
};
|
|
21094
21127
|
};
|
|
21095
21128
|
};
|
|
21096
21129
|
};
|
|
@@ -6826,6 +6826,17 @@ declare const _default: {
|
|
|
6826
6826
|
type: "boolean";
|
|
6827
6827
|
label: string;
|
|
6828
6828
|
};
|
|
6829
|
+
shouldAllowDragAndDropSorting: {
|
|
6830
|
+
type: "boolean";
|
|
6831
|
+
label: string;
|
|
6832
|
+
};
|
|
6833
|
+
onDragAndDropSort: {
|
|
6834
|
+
type: "raw";
|
|
6835
|
+
label: string;
|
|
6836
|
+
options: {
|
|
6837
|
+
valueType: string;
|
|
6838
|
+
};
|
|
6839
|
+
};
|
|
6829
6840
|
};
|
|
6830
6841
|
};
|
|
6831
6842
|
};
|
|
@@ -6854,6 +6854,17 @@ declare const _default: {
|
|
|
6854
6854
|
type: "boolean";
|
|
6855
6855
|
label: string;
|
|
6856
6856
|
};
|
|
6857
|
+
shouldAllowDragAndDropSorting: {
|
|
6858
|
+
type: "boolean";
|
|
6859
|
+
label: string;
|
|
6860
|
+
};
|
|
6861
|
+
onDragAndDropSort: {
|
|
6862
|
+
type: "raw";
|
|
6863
|
+
label: string;
|
|
6864
|
+
options: {
|
|
6865
|
+
valueType: string;
|
|
6866
|
+
};
|
|
6867
|
+
};
|
|
6857
6868
|
};
|
|
6858
6869
|
};
|
|
6859
6870
|
};
|
|
@@ -13970,6 +13981,17 @@ declare const _default: {
|
|
|
13970
13981
|
type: "boolean";
|
|
13971
13982
|
label: string;
|
|
13972
13983
|
};
|
|
13984
|
+
shouldAllowDragAndDropSorting: {
|
|
13985
|
+
type: "boolean";
|
|
13986
|
+
label: string;
|
|
13987
|
+
};
|
|
13988
|
+
onDragAndDropSort: {
|
|
13989
|
+
type: "raw";
|
|
13990
|
+
label: string;
|
|
13991
|
+
options: {
|
|
13992
|
+
valueType: string;
|
|
13993
|
+
};
|
|
13994
|
+
};
|
|
13973
13995
|
};
|
|
13974
13996
|
};
|
|
13975
13997
|
};
|
|
@@ -21041,6 +21063,17 @@ declare const _default: {
|
|
|
21041
21063
|
type: "boolean";
|
|
21042
21064
|
label: string;
|
|
21043
21065
|
};
|
|
21066
|
+
shouldAllowDragAndDropSorting: {
|
|
21067
|
+
type: "boolean";
|
|
21068
|
+
label: string;
|
|
21069
|
+
};
|
|
21070
|
+
onDragAndDropSort: {
|
|
21071
|
+
type: "raw";
|
|
21072
|
+
label: string;
|
|
21073
|
+
options: {
|
|
21074
|
+
valueType: string;
|
|
21075
|
+
};
|
|
21076
|
+
};
|
|
21044
21077
|
};
|
|
21045
21078
|
};
|
|
21046
21079
|
};
|
|
@@ -6880,6 +6880,17 @@ declare const _default: {
|
|
|
6880
6880
|
type: "boolean";
|
|
6881
6881
|
label: string;
|
|
6882
6882
|
};
|
|
6883
|
+
shouldAllowDragAndDropSorting: {
|
|
6884
|
+
type: "boolean";
|
|
6885
|
+
label: string;
|
|
6886
|
+
};
|
|
6887
|
+
onDragAndDropSort: {
|
|
6888
|
+
type: "raw";
|
|
6889
|
+
label: string;
|
|
6890
|
+
options: {
|
|
6891
|
+
valueType: string;
|
|
6892
|
+
};
|
|
6893
|
+
};
|
|
6883
6894
|
};
|
|
6884
6895
|
};
|
|
6885
6896
|
};
|
|
@@ -13998,6 +14009,17 @@ declare const _default: {
|
|
|
13998
14009
|
type: "boolean";
|
|
13999
14010
|
label: string;
|
|
14000
14011
|
};
|
|
14012
|
+
shouldAllowDragAndDropSorting: {
|
|
14013
|
+
type: "boolean";
|
|
14014
|
+
label: string;
|
|
14015
|
+
};
|
|
14016
|
+
onDragAndDropSort: {
|
|
14017
|
+
type: "raw";
|
|
14018
|
+
label: string;
|
|
14019
|
+
options: {
|
|
14020
|
+
valueType: string;
|
|
14021
|
+
};
|
|
14022
|
+
};
|
|
14001
14023
|
};
|
|
14002
14024
|
};
|
|
14003
14025
|
};
|
|
@@ -21114,6 +21136,17 @@ declare const _default: {
|
|
|
21114
21136
|
type: "boolean";
|
|
21115
21137
|
label: string;
|
|
21116
21138
|
};
|
|
21139
|
+
shouldAllowDragAndDropSorting: {
|
|
21140
|
+
type: "boolean";
|
|
21141
|
+
label: string;
|
|
21142
|
+
};
|
|
21143
|
+
onDragAndDropSort: {
|
|
21144
|
+
type: "raw";
|
|
21145
|
+
label: string;
|
|
21146
|
+
options: {
|
|
21147
|
+
valueType: string;
|
|
21148
|
+
};
|
|
21149
|
+
};
|
|
21117
21150
|
};
|
|
21118
21151
|
};
|
|
21119
21152
|
};
|
|
@@ -28185,6 +28218,17 @@ declare const _default: {
|
|
|
28185
28218
|
type: "boolean";
|
|
28186
28219
|
label: string;
|
|
28187
28220
|
};
|
|
28221
|
+
shouldAllowDragAndDropSorting: {
|
|
28222
|
+
type: "boolean";
|
|
28223
|
+
label: string;
|
|
28224
|
+
};
|
|
28225
|
+
onDragAndDropSort: {
|
|
28226
|
+
type: "raw";
|
|
28227
|
+
label: string;
|
|
28228
|
+
options: {
|
|
28229
|
+
valueType: string;
|
|
28230
|
+
};
|
|
28231
|
+
};
|
|
28188
28232
|
};
|
|
28189
28233
|
};
|
|
28190
28234
|
};
|
|
@@ -6660,6 +6660,17 @@ declare const _default: {
|
|
|
6660
6660
|
type: "boolean";
|
|
6661
6661
|
label: string;
|
|
6662
6662
|
};
|
|
6663
|
+
shouldAllowDragAndDropSorting: {
|
|
6664
|
+
type: "boolean";
|
|
6665
|
+
label: string;
|
|
6666
|
+
};
|
|
6667
|
+
onDragAndDropSort: {
|
|
6668
|
+
type: "raw";
|
|
6669
|
+
label: string;
|
|
6670
|
+
options: {
|
|
6671
|
+
valueType: string;
|
|
6672
|
+
};
|
|
6673
|
+
};
|
|
6663
6674
|
};
|
|
6664
6675
|
};
|
|
6665
6676
|
};
|
|
@@ -6851,6 +6851,17 @@ declare const _default: {
|
|
|
6851
6851
|
type: "boolean";
|
|
6852
6852
|
label: string;
|
|
6853
6853
|
};
|
|
6854
|
+
shouldAllowDragAndDropSorting: {
|
|
6855
|
+
type: "boolean";
|
|
6856
|
+
label: string;
|
|
6857
|
+
};
|
|
6858
|
+
onDragAndDropSort: {
|
|
6859
|
+
type: "raw";
|
|
6860
|
+
label: string;
|
|
6861
|
+
options: {
|
|
6862
|
+
valueType: string;
|
|
6863
|
+
};
|
|
6864
|
+
};
|
|
6854
6865
|
};
|
|
6855
6866
|
};
|
|
6856
6867
|
};
|
|
@@ -6776,6 +6776,17 @@ declare const _default: {
|
|
|
6776
6776
|
type: "boolean";
|
|
6777
6777
|
label: string;
|
|
6778
6778
|
};
|
|
6779
|
+
shouldAllowDragAndDropSorting: {
|
|
6780
|
+
type: "boolean";
|
|
6781
|
+
label: string;
|
|
6782
|
+
};
|
|
6783
|
+
onDragAndDropSort: {
|
|
6784
|
+
type: "raw";
|
|
6785
|
+
label: string;
|
|
6786
|
+
options: {
|
|
6787
|
+
valueType: string;
|
|
6788
|
+
};
|
|
6789
|
+
};
|
|
6779
6790
|
};
|
|
6780
6791
|
};
|
|
6781
6792
|
};
|
|
@@ -6860,6 +6860,17 @@ declare const _default: {
|
|
|
6860
6860
|
type: "boolean";
|
|
6861
6861
|
label: string;
|
|
6862
6862
|
};
|
|
6863
|
+
shouldAllowDragAndDropSorting: {
|
|
6864
|
+
type: "boolean";
|
|
6865
|
+
label: string;
|
|
6866
|
+
};
|
|
6867
|
+
onDragAndDropSort: {
|
|
6868
|
+
type: "raw";
|
|
6869
|
+
label: string;
|
|
6870
|
+
options: {
|
|
6871
|
+
valueType: string;
|
|
6872
|
+
};
|
|
6873
|
+
};
|
|
6863
6874
|
};
|
|
6864
6875
|
};
|
|
6865
6876
|
};
|
|
@@ -13978,6 +13989,17 @@ declare const _default: {
|
|
|
13978
13989
|
type: "boolean";
|
|
13979
13990
|
label: string;
|
|
13980
13991
|
};
|
|
13992
|
+
shouldAllowDragAndDropSorting: {
|
|
13993
|
+
type: "boolean";
|
|
13994
|
+
label: string;
|
|
13995
|
+
};
|
|
13996
|
+
onDragAndDropSort: {
|
|
13997
|
+
type: "raw";
|
|
13998
|
+
label: string;
|
|
13999
|
+
options: {
|
|
14000
|
+
valueType: string;
|
|
14001
|
+
};
|
|
14002
|
+
};
|
|
13981
14003
|
};
|
|
13982
14004
|
};
|
|
13983
14005
|
};
|
|
@@ -21094,6 +21116,17 @@ declare const _default: {
|
|
|
21094
21116
|
type: "boolean";
|
|
21095
21117
|
label: string;
|
|
21096
21118
|
};
|
|
21119
|
+
shouldAllowDragAndDropSorting: {
|
|
21120
|
+
type: "boolean";
|
|
21121
|
+
label: string;
|
|
21122
|
+
};
|
|
21123
|
+
onDragAndDropSort: {
|
|
21124
|
+
type: "raw";
|
|
21125
|
+
label: string;
|
|
21126
|
+
options: {
|
|
21127
|
+
valueType: string;
|
|
21128
|
+
};
|
|
21129
|
+
};
|
|
21097
21130
|
};
|
|
21098
21131
|
};
|
|
21099
21132
|
};
|
|
@@ -28165,6 +28198,17 @@ declare const _default: {
|
|
|
28165
28198
|
type: "boolean";
|
|
28166
28199
|
label: string;
|
|
28167
28200
|
};
|
|
28201
|
+
shouldAllowDragAndDropSorting: {
|
|
28202
|
+
type: "boolean";
|
|
28203
|
+
label: string;
|
|
28204
|
+
};
|
|
28205
|
+
onDragAndDropSort: {
|
|
28206
|
+
type: "raw";
|
|
28207
|
+
label: string;
|
|
28208
|
+
options: {
|
|
28209
|
+
valueType: string;
|
|
28210
|
+
};
|
|
28211
|
+
};
|
|
28168
28212
|
};
|
|
28169
28213
|
};
|
|
28170
28214
|
};
|
|
@@ -6603,6 +6603,17 @@ declare const _default: {
|
|
|
6603
6603
|
type: "boolean";
|
|
6604
6604
|
label: string;
|
|
6605
6605
|
};
|
|
6606
|
+
shouldAllowDragAndDropSorting: {
|
|
6607
|
+
type: "boolean";
|
|
6608
|
+
label: string;
|
|
6609
|
+
};
|
|
6610
|
+
onDragAndDropSort: {
|
|
6611
|
+
type: "raw";
|
|
6612
|
+
label: string;
|
|
6613
|
+
options: {
|
|
6614
|
+
valueType: string;
|
|
6615
|
+
};
|
|
6616
|
+
};
|
|
6606
6617
|
};
|
|
6607
6618
|
};
|
|
6608
6619
|
export default _default;
|
|
@@ -30,6 +30,15 @@ export default buildSchema({
|
|
|
30
30
|
}, shouldRenderRowDividers: {
|
|
31
31
|
type: 'boolean',
|
|
32
32
|
label: 'Render row dividers',
|
|
33
|
+
}, shouldAllowDragAndDropSorting: {
|
|
34
|
+
type: 'boolean',
|
|
35
|
+
label: 'Allow drag and drop sorting',
|
|
36
|
+
}, onDragAndDropSort: {
|
|
37
|
+
type: 'raw',
|
|
38
|
+
label: 'Drag and drop sort handler',
|
|
39
|
+
options: {
|
|
40
|
+
valueType: '(rowIds: string[]) => boolean | Promise<boolean | void> | void',
|
|
41
|
+
},
|
|
33
42
|
} }, columnWidthFields), { defaultRowHeight: {
|
|
34
43
|
type: 'select',
|
|
35
44
|
label: 'Row height',
|
|
@@ -6905,6 +6905,17 @@ declare const _default: {
|
|
|
6905
6905
|
type: "boolean";
|
|
6906
6906
|
label: string;
|
|
6907
6907
|
};
|
|
6908
|
+
shouldAllowDragAndDropSorting: {
|
|
6909
|
+
type: "boolean";
|
|
6910
|
+
label: string;
|
|
6911
|
+
};
|
|
6912
|
+
onDragAndDropSort: {
|
|
6913
|
+
type: "raw";
|
|
6914
|
+
label: string;
|
|
6915
|
+
options: {
|
|
6916
|
+
valueType: string;
|
|
6917
|
+
};
|
|
6918
|
+
};
|
|
6908
6919
|
};
|
|
6909
6920
|
};
|
|
6910
6921
|
};
|
|
@@ -14023,6 +14034,17 @@ declare const _default: {
|
|
|
14023
14034
|
type: "boolean";
|
|
14024
14035
|
label: string;
|
|
14025
14036
|
};
|
|
14037
|
+
shouldAllowDragAndDropSorting: {
|
|
14038
|
+
type: "boolean";
|
|
14039
|
+
label: string;
|
|
14040
|
+
};
|
|
14041
|
+
onDragAndDropSort: {
|
|
14042
|
+
type: "raw";
|
|
14043
|
+
label: string;
|
|
14044
|
+
options: {
|
|
14045
|
+
valueType: string;
|
|
14046
|
+
};
|
|
14047
|
+
};
|
|
14026
14048
|
};
|
|
14027
14049
|
};
|
|
14028
14050
|
};
|
|
@@ -21139,6 +21161,17 @@ declare const _default: {
|
|
|
21139
21161
|
type: "boolean";
|
|
21140
21162
|
label: string;
|
|
21141
21163
|
};
|
|
21164
|
+
shouldAllowDragAndDropSorting: {
|
|
21165
|
+
type: "boolean";
|
|
21166
|
+
label: string;
|
|
21167
|
+
};
|
|
21168
|
+
onDragAndDropSort: {
|
|
21169
|
+
type: "raw";
|
|
21170
|
+
label: string;
|
|
21171
|
+
options: {
|
|
21172
|
+
valueType: string;
|
|
21173
|
+
};
|
|
21174
|
+
};
|
|
21142
21175
|
};
|
|
21143
21176
|
};
|
|
21144
21177
|
};
|
|
@@ -28210,6 +28243,17 @@ declare const _default: {
|
|
|
28210
28243
|
type: "boolean";
|
|
28211
28244
|
label: string;
|
|
28212
28245
|
};
|
|
28246
|
+
shouldAllowDragAndDropSorting: {
|
|
28247
|
+
type: "boolean";
|
|
28248
|
+
label: string;
|
|
28249
|
+
};
|
|
28250
|
+
onDragAndDropSort: {
|
|
28251
|
+
type: "raw";
|
|
28252
|
+
label: string;
|
|
28253
|
+
options: {
|
|
28254
|
+
valueType: string;
|
|
28255
|
+
};
|
|
28256
|
+
};
|
|
28213
28257
|
};
|
|
28214
28258
|
};
|
|
28215
28259
|
};
|