dhx-suite 7.3.13 → 8.0.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/codebase/suite.min.css +1 -1
- package/codebase/suite.min.js +3 -3
- package/codebase/types/ts-all/sources/entry.d.ts +1 -1
- package/codebase/types/ts-chart/index.d.ts +1 -0
- package/codebase/types/ts-chart/sources/Chart.d.ts +8 -6
- package/codebase/types/ts-chart/sources/Export.d.ts +10 -0
- package/codebase/types/ts-chart/sources/Legend.d.ts +1 -0
- package/codebase/types/ts-chart/sources/ProChart.d.ts +7 -0
- package/codebase/types/ts-chart/sources/series/CalendarHeatMap.d.ts +20 -0
- package/codebase/types/ts-chart/sources/series/index.d.ts +2 -0
- package/codebase/types/ts-chart/sources/shapes/legend.d.ts +1 -0
- package/codebase/types/ts-chart/sources/types.d.ts +42 -10
- package/codebase/types/ts-colorpicker/sources/types.d.ts +2 -0
- package/codebase/types/ts-combobox/sources/types.d.ts +2 -0
- package/codebase/types/ts-common/dom.d.ts +2 -0
- package/codebase/types/ts-common/html.d.ts +2 -0
- package/codebase/types/ts-common/types.d.ts +1 -0
- package/codebase/types/ts-data/sources/types.d.ts +8 -4
- package/codebase/types/ts-form/sources/Form.d.ts +1 -1
- package/codebase/types/ts-form/sources/ProForm.d.ts +1 -2
- package/codebase/types/ts-form/sources/elements/checkbox.d.ts +1 -0
- package/codebase/types/ts-form/sources/elements/checkboxGroup.d.ts +6 -6
- package/codebase/types/ts-form/sources/elements/radioGroup.d.ts +6 -6
- package/codebase/types/ts-form/sources/elements/radiobutton.d.ts +9 -1
- package/codebase/types/ts-form/sources/elements/select.d.ts +3 -3
- package/codebase/types/ts-form/sources/elements/sliderform.d.ts +0 -1
- package/codebase/types/ts-form/sources/elements/textarea.d.ts +0 -1
- package/codebase/types/ts-form/sources/elements/timeinput.d.ts +1 -0
- package/codebase/types/ts-form/sources/helper.d.ts +1 -1
- package/codebase/types/ts-form/sources/types.d.ts +55 -36
- package/codebase/types/ts-grid/sources/Grid.d.ts +4 -5
- package/codebase/types/ts-grid/sources/ProGrid.d.ts +1 -0
- package/codebase/types/ts-grid/sources/Selection.d.ts +5 -1
- package/codebase/types/ts-grid/sources/types.d.ts +51 -5
- package/codebase/types/ts-grid/sources/ui/Cells.d.ts +10 -10
- package/codebase/types/ts-grid/sources/ui/FixedCols.d.ts +3 -3
- package/codebase/types/ts-grid/sources/ui/FixedRows.d.ts +2 -2
- package/codebase/types/ts-grid/sources/ui/content/ComboFilter.d.ts +21 -0
- package/codebase/types/ts-grid/sources/ui/content/InputFilter.d.ts +22 -0
- package/codebase/types/ts-grid/sources/ui/content/SelectFilter.d.ts +20 -0
- package/codebase/types/ts-grid/sources/ui/editors/DateEditor.d.ts +16 -0
- package/codebase/types/ts-grid/sources/ui/render.d.ts +4 -1
- package/codebase/types/ts-layout/sources/Cell.d.ts +10 -0
- package/codebase/types/ts-layout/sources/Layout.d.ts +3 -0
- package/codebase/types/ts-layout/sources/types.d.ts +5 -0
- package/codebase/types/ts-message/sources/message.d.ts +3 -1
- package/codebase/types/ts-navbar/sources/types.d.ts +16 -0
- package/codebase/types/ts-popup/sources/Popup.d.ts +1 -0
- package/codebase/types/ts-popup/sources/types.d.ts +2 -0
- package/codebase/types/ts-slider/sources/types.d.ts +2 -0
- package/codebase/types/ts-tabbar/sources/Tabbar.d.ts +1 -0
- package/codebase/types/ts-timepicker/sources/Timepicker.d.ts +3 -1
- package/codebase/types/ts-timepicker/sources/types.d.ts +2 -0
- package/codebase/types/ts-toolbar/sources/Toolbar.d.ts +1 -0
- package/package.json +1 -1
- package/readme.txt +1 -1
- package/whatsnew.txt +160 -0
- package/codebase/types/ts-form/sources/elements/proCombo.d.ts +0 -6
|
@@ -55,6 +55,7 @@ export interface IFormConfig extends IBlockConfig {
|
|
|
55
55
|
hidden?: boolean;
|
|
56
56
|
}
|
|
57
57
|
export declare enum FormEvents {
|
|
58
|
+
beforeChange = "beforeChange",
|
|
58
59
|
change = "change",
|
|
59
60
|
click = "click",
|
|
60
61
|
focus = "focus",
|
|
@@ -77,15 +78,16 @@ export declare enum FormEvents {
|
|
|
77
78
|
}
|
|
78
79
|
export interface IFormEventHandlersMap {
|
|
79
80
|
[key: string]: (...args: any[]) => any;
|
|
81
|
+
[FormEvents.beforeChange]: (name: string, value: any) => boolean | void;
|
|
80
82
|
[FormEvents.change]: (name: string, value: any) => void;
|
|
81
83
|
[FormEvents.click]: (name: string, event: Event) => void;
|
|
82
84
|
[FormEvents.focus]: (name: string, value: any, id?: string) => void;
|
|
83
85
|
[FormEvents.blur]: (name: string, value: any, id?: string) => void;
|
|
84
86
|
[FormEvents.keydown]: (event: KeyboardEvent, name: string, id?: string) => void;
|
|
85
|
-
[FormEvents.beforeHide]: (name: string, value?: any) => boolean | void;
|
|
86
|
-
[FormEvents.afterHide]: (name: string, value?: any) => void;
|
|
87
|
-
[FormEvents.beforeShow]: (name: string, value?: any) => boolean | void;
|
|
88
|
-
[FormEvents.afterShow]: (name: string, value?: any) => void;
|
|
87
|
+
[FormEvents.beforeHide]: (name: string, value?: any, id?: string) => boolean | void;
|
|
88
|
+
[FormEvents.afterHide]: (name: string, value?: any, id?: string) => void;
|
|
89
|
+
[FormEvents.beforeShow]: (name: string, value?: any, id?: string) => boolean | void;
|
|
90
|
+
[FormEvents.afterShow]: (name: string, value?: any, id?: string) => void;
|
|
89
91
|
[FormEvents.beforeValidate]: (name: string, value: any) => boolean | void;
|
|
90
92
|
[FormEvents.afterValidate]: (name: string, value: any, isValid: boolean) => void;
|
|
91
93
|
[FormEvents.beforeChangeProperties]: (name: string, props: any) => boolean | void;
|
|
@@ -400,7 +402,8 @@ export interface IRadioButtonConfig {
|
|
|
400
402
|
checked?: boolean;
|
|
401
403
|
value?: string;
|
|
402
404
|
text?: string;
|
|
403
|
-
|
|
405
|
+
hidden?: boolean;
|
|
406
|
+
disabled?: boolean;
|
|
404
407
|
$name?: string;
|
|
405
408
|
$required?: boolean;
|
|
406
409
|
$validationStatus?: ValidationStatus;
|
|
@@ -425,12 +428,12 @@ export interface IRadioGroup {
|
|
|
425
428
|
setValue(value: string): void;
|
|
426
429
|
focus(id?: string): void;
|
|
427
430
|
blur(): void;
|
|
428
|
-
show(): void;
|
|
429
|
-
hide(init?: boolean): void;
|
|
430
|
-
isVisible(): boolean;
|
|
431
|
-
disable(): void;
|
|
432
|
-
enable(): void;
|
|
433
|
-
isDisabled(): boolean;
|
|
431
|
+
show(id?: string): void;
|
|
432
|
+
hide(id?: string, init?: boolean): void;
|
|
433
|
+
isVisible(id?: string): boolean;
|
|
434
|
+
disable(id?: string): void;
|
|
435
|
+
enable(id?: string): void;
|
|
436
|
+
isDisabled(id?: string): boolean;
|
|
434
437
|
clear(): void;
|
|
435
438
|
validate(silent?: boolean): boolean;
|
|
436
439
|
clearValidate(): void;
|
|
@@ -505,6 +508,7 @@ export interface ICheckboxGroupItemConfig {
|
|
|
505
508
|
disabled?: boolean;
|
|
506
509
|
name?: string;
|
|
507
510
|
required?: boolean;
|
|
511
|
+
hidden?: boolean;
|
|
508
512
|
$validationStatus?: ValidationStatus;
|
|
509
513
|
$group?: boolean;
|
|
510
514
|
}
|
|
@@ -531,12 +535,12 @@ export interface ICheckboxGroup {
|
|
|
531
535
|
setValue(value: ICheckboxGroupValue): void;
|
|
532
536
|
focus(id?: string): void;
|
|
533
537
|
blur(): void;
|
|
534
|
-
show(): void;
|
|
535
|
-
hide(init?: boolean): void;
|
|
536
|
-
isVisible(): boolean;
|
|
537
|
-
disable(): void;
|
|
538
|
-
enable(): void;
|
|
539
|
-
isDisabled(): boolean;
|
|
538
|
+
show(id?: string): void;
|
|
539
|
+
hide(id?: string, init?: boolean): void;
|
|
540
|
+
isVisible(id?: string): boolean;
|
|
541
|
+
disable(id?: string): void;
|
|
542
|
+
enable(id?: string): void;
|
|
543
|
+
isDisabled(id?: string): boolean;
|
|
540
544
|
clear(): void;
|
|
541
545
|
validate(silent?: boolean): boolean;
|
|
542
546
|
clearValidate(): void;
|
|
@@ -735,9 +739,9 @@ export interface ISelect {
|
|
|
735
739
|
show(): void;
|
|
736
740
|
hide(init?: boolean): void;
|
|
737
741
|
isVisible(): boolean;
|
|
738
|
-
disable(): void;
|
|
739
|
-
enable(): void;
|
|
740
|
-
isDisabled(): boolean;
|
|
742
|
+
disable(value?: string | number): void;
|
|
743
|
+
enable(value?: string | number): void;
|
|
744
|
+
isDisabled(value?: string | number): boolean;
|
|
741
745
|
validate(silent?: boolean): boolean;
|
|
742
746
|
clearValidate(): void;
|
|
743
747
|
setValue(value: string | number): void;
|
|
@@ -881,11 +885,13 @@ export declare type IItemConfig = IInputConfig | IButtonConfig | IComboConfig |
|
|
|
881
885
|
export declare type IBlock = IBlockConfig | IItemConfig[];
|
|
882
886
|
export declare enum ItemEvent {
|
|
883
887
|
click = "click",
|
|
888
|
+
beforeChange = "beforeChange",
|
|
884
889
|
change = "change",
|
|
885
890
|
input = "input",
|
|
886
891
|
focus = "focus",
|
|
887
892
|
blur = "blur",
|
|
888
893
|
keydown = "keydown",
|
|
894
|
+
beforeChangeOptions = "beforeChangeOptions",
|
|
889
895
|
changeOptions = "changeOptions",
|
|
890
896
|
beforeShow = "beforeShow",
|
|
891
897
|
afterShow = "afterShow",
|
|
@@ -918,6 +924,7 @@ export interface IButtonHandlersMap extends IBaseHandlersMap {
|
|
|
918
924
|
[ItemEvent.afterChangeProperties]: (properties: IButtonProps) => void;
|
|
919
925
|
}
|
|
920
926
|
export interface IColorPickerEventHandlersMap extends IBaseHandlersMap {
|
|
927
|
+
[ItemEvent.beforeChange]: (value: string) => boolean | void;
|
|
921
928
|
[ItemEvent.change]: (value: string) => void;
|
|
922
929
|
[ItemEvent.focus]: (value: string) => void;
|
|
923
930
|
[ItemEvent.blur]: (value: string) => void;
|
|
@@ -933,6 +940,7 @@ export interface IColorPickerEventHandlersMap extends IBaseHandlersMap {
|
|
|
933
940
|
[ItemEvent.afterChangeProperties]: (properties: IColorpickerProps) => void;
|
|
934
941
|
}
|
|
935
942
|
export interface IComboEventHandlersMap extends IBaseHandlersMap {
|
|
943
|
+
[ItemEvent.beforeChange]: (value: Id | Id[]) => boolean | void;
|
|
936
944
|
[ItemEvent.change]: (value: Id | Id[]) => void;
|
|
937
945
|
[ItemEvent.focus]: (value: Id | Id[]) => void;
|
|
938
946
|
[ItemEvent.blur]: (value: Id | Id[]) => void;
|
|
@@ -947,6 +955,7 @@ export interface IComboEventHandlersMap extends IBaseHandlersMap {
|
|
|
947
955
|
[ItemEvent.afterChangeProperties]: (properties: IComboProps) => void;
|
|
948
956
|
}
|
|
949
957
|
export interface IDatePickerEventHandlersMap extends IBaseHandlersMap {
|
|
958
|
+
[ItemEvent.beforeChange]: (value: string | Date) => boolean | void;
|
|
950
959
|
[ItemEvent.change]: (value: string | Date) => void;
|
|
951
960
|
[ItemEvent.focus]: (value: string | Date) => void;
|
|
952
961
|
[ItemEvent.blur]: (value: string | Date) => void;
|
|
@@ -962,34 +971,37 @@ export interface IDatePickerEventHandlersMap extends IBaseHandlersMap {
|
|
|
962
971
|
[ItemEvent.afterChangeProperties]: (properties: IDatePickerProps) => void;
|
|
963
972
|
}
|
|
964
973
|
export interface IRadioGroupEventHandlersMap extends IBaseHandlersMap {
|
|
974
|
+
[ItemEvent.beforeChange]: (value: string) => boolean | void;
|
|
965
975
|
[ItemEvent.change]: (value: string) => void;
|
|
966
976
|
[ItemEvent.focus]: (value: string, id: string) => void;
|
|
967
977
|
[ItemEvent.blur]: (value: string, id: string) => void;
|
|
968
978
|
[ItemEvent.keydown]: (event: KeyboardEvent, id: string) => void;
|
|
969
|
-
[ItemEvent.beforeHide]: (value: string, init
|
|
970
|
-
[ItemEvent.beforeShow]: (value: string) => boolean | void;
|
|
971
|
-
[ItemEvent.afterHide]: (value: string, init
|
|
972
|
-
[ItemEvent.afterShow]: (value: string) => void;
|
|
979
|
+
[ItemEvent.beforeHide]: (value: string, id?: string, init?: boolean) => boolean | void;
|
|
980
|
+
[ItemEvent.beforeShow]: (value: string, id?: string) => boolean | void;
|
|
981
|
+
[ItemEvent.afterHide]: (value: string, id?: string, init?: boolean) => void;
|
|
982
|
+
[ItemEvent.afterShow]: (value: string, id?: string) => void;
|
|
973
983
|
[ItemEvent.beforeValidate]: (value: string) => boolean | void;
|
|
974
984
|
[ItemEvent.afterValidate]: (value: string, isValidate: boolean) => void;
|
|
975
985
|
[ItemEvent.beforeChangeProperties]: (properties: ICheckboxGroupProps) => boolean | void;
|
|
976
986
|
[ItemEvent.afterChangeProperties]: (properties: ICheckboxGroupProps) => void;
|
|
977
987
|
}
|
|
978
988
|
export interface ICheckboxGroupEventHandlersMap extends IBaseHandlersMap {
|
|
989
|
+
[ItemEvent.beforeChange]: (value: ICheckboxGroupValue) => boolean | void;
|
|
979
990
|
[ItemEvent.change]: (value: ICheckboxGroupValue) => void;
|
|
980
991
|
[ItemEvent.focus]: (value: ICheckboxGroupValue, id: string) => void;
|
|
981
992
|
[ItemEvent.blur]: (value: ICheckboxGroupValue, id: string) => void;
|
|
982
993
|
[ItemEvent.keydown]: (event: KeyboardEvent, id: string) => void;
|
|
983
|
-
[ItemEvent.beforeHide]: (value: ICheckboxGroupValue, init
|
|
984
|
-
[ItemEvent.beforeShow]: (value: ICheckboxGroupValue) => boolean | void;
|
|
985
|
-
[ItemEvent.afterHide]: (value: ICheckboxGroupValue, init
|
|
986
|
-
[ItemEvent.afterShow]: (value: ICheckboxGroupValue) => void;
|
|
994
|
+
[ItemEvent.beforeHide]: (value: ICheckboxGroupValue, id?: string, init?: boolean) => boolean | void;
|
|
995
|
+
[ItemEvent.beforeShow]: (value: ICheckboxGroupValue, id?: string) => boolean | void;
|
|
996
|
+
[ItemEvent.afterHide]: (value: ICheckboxGroupValue, id?: string, init?: boolean) => void;
|
|
997
|
+
[ItemEvent.afterShow]: (value: ICheckboxGroupValue, id?: string) => void;
|
|
987
998
|
[ItemEvent.beforeValidate]: (value: ICheckboxGroupValue) => boolean | void;
|
|
988
999
|
[ItemEvent.afterValidate]: (value: ICheckboxGroupValue, isValidate: boolean) => void;
|
|
989
1000
|
[ItemEvent.beforeChangeProperties]: (properties: ICheckboxGroupProps) => boolean | void;
|
|
990
1001
|
[ItemEvent.afterChangeProperties]: (properties: ICheckboxGroupProps) => void;
|
|
991
1002
|
}
|
|
992
1003
|
export interface ICheckboxEventHandlersMap extends IBaseHandlersMap {
|
|
1004
|
+
[ItemEvent.beforeChange]: (value: string | boolean) => boolean | void;
|
|
993
1005
|
[ItemEvent.change]: (value: string | boolean) => void;
|
|
994
1006
|
[ItemEvent.focus]: (value: string | boolean, id?: string) => void;
|
|
995
1007
|
[ItemEvent.blur]: (value: string | boolean, id?: string) => void;
|
|
@@ -1004,10 +1016,12 @@ export interface ICheckboxEventHandlersMap extends IBaseHandlersMap {
|
|
|
1004
1016
|
[ItemEvent.afterChangeProperties]: (properties: ICheckboxProps) => void;
|
|
1005
1017
|
}
|
|
1006
1018
|
export interface ISelectEventHandlersMap extends IBaseHandlersMap {
|
|
1019
|
+
[ItemEvent.beforeChange]: (value: string | number) => boolean | void;
|
|
1007
1020
|
[ItemEvent.change]: (value: string | number) => void;
|
|
1008
1021
|
[ItemEvent.focus]: (value: string | number) => void;
|
|
1009
1022
|
[ItemEvent.blur]: (value: string | number) => void;
|
|
1010
1023
|
[ItemEvent.keydown]: (event: KeyboardEvent) => void;
|
|
1024
|
+
[ItemEvent.beforeChangeOptions]: (options: IOption[]) => boolean | void;
|
|
1011
1025
|
[ItemEvent.changeOptions]: (options: IOption[]) => void;
|
|
1012
1026
|
[ItemEvent.beforeHide]: (value: string | number, init: boolean) => boolean | void;
|
|
1013
1027
|
[ItemEvent.beforeShow]: (value: string | number) => boolean | void;
|
|
@@ -1019,6 +1033,7 @@ export interface ISelectEventHandlersMap extends IBaseHandlersMap {
|
|
|
1019
1033
|
[ItemEvent.afterChangeProperties]: (properties: ISelectProps) => void;
|
|
1020
1034
|
}
|
|
1021
1035
|
export interface ISliderFormEventHandlersMap extends IBaseHandlersMap {
|
|
1036
|
+
[ItemEvent.beforeChange]: (value: number[]) => boolean | void;
|
|
1022
1037
|
[ItemEvent.change]: (value: number[]) => void;
|
|
1023
1038
|
[ItemEvent.focus]: (value: number[]) => void;
|
|
1024
1039
|
[ItemEvent.blur]: (value: number[]) => void;
|
|
@@ -1031,6 +1046,7 @@ export interface ISliderFormEventHandlersMap extends IBaseHandlersMap {
|
|
|
1031
1046
|
[ItemEvent.afterChangeProperties]: (properties: ISliderProps) => void;
|
|
1032
1047
|
}
|
|
1033
1048
|
export interface ITimePickerEventHandlersMap extends IBaseHandlersMap {
|
|
1049
|
+
[ItemEvent.beforeChange]: (value: string | ITimeObject) => boolean | void;
|
|
1034
1050
|
[ItemEvent.change]: (value: string | ITimeObject) => void;
|
|
1035
1051
|
[ItemEvent.focus]: (value: string | ITimeObject) => void;
|
|
1036
1052
|
[ItemEvent.blur]: (value: string | ITimeObject) => void;
|
|
@@ -1046,6 +1062,7 @@ export interface ITimePickerEventHandlersMap extends IBaseHandlersMap {
|
|
|
1046
1062
|
[ItemEvent.afterChangeProperties]: (properties: ITimePickerProps) => void;
|
|
1047
1063
|
}
|
|
1048
1064
|
export interface ISimpleVaultEventHandlersMap extends IBaseHandlersMap {
|
|
1065
|
+
[ItemEvent.beforeChange]: (value: ISimpleVaultValue[]) => boolean | void;
|
|
1049
1066
|
[ItemEvent.change]: (value: ISimpleVaultValue[]) => void;
|
|
1050
1067
|
[ItemEvent.beforeHide]: (value: ISimpleVaultValue[], init: boolean) => boolean | void;
|
|
1051
1068
|
[ItemEvent.beforeShow]: (value: ISimpleVaultValue[]) => boolean | void;
|
|
@@ -1065,6 +1082,7 @@ export interface ISimpleVaultEventHandlersMap extends IBaseHandlersMap {
|
|
|
1065
1082
|
[ItemEvent.afterChangeProperties]: (properties: ISimpleVaultProps) => void;
|
|
1066
1083
|
}
|
|
1067
1084
|
export interface ITextAreaEventHandlersMap extends IBaseHandlersMap {
|
|
1085
|
+
[ItemEvent.beforeChange]: (value: string) => boolean | void;
|
|
1068
1086
|
[ItemEvent.change]: (value: string) => void;
|
|
1069
1087
|
[ItemEvent.focus]: (value: string) => void;
|
|
1070
1088
|
[ItemEvent.blur]: (value: string) => void;
|
|
@@ -1080,6 +1098,7 @@ export interface ITextAreaEventHandlersMap extends IBaseHandlersMap {
|
|
|
1080
1098
|
[ItemEvent.afterChangeProperties]: (properties: IInputProps | ITextProps | ITextAreaProps) => void;
|
|
1081
1099
|
}
|
|
1082
1100
|
export interface IInputEventHandlersMap extends IBaseHandlersMap {
|
|
1101
|
+
[ItemEvent.beforeChange]: (value: string | number) => boolean | void;
|
|
1083
1102
|
[ItemEvent.change]: (value: string | number) => void;
|
|
1084
1103
|
[ItemEvent.focus]: (value: string | number) => void;
|
|
1085
1104
|
[ItemEvent.blur]: (value: string | number) => void;
|
|
@@ -1095,18 +1114,18 @@ export interface IInputEventHandlersMap extends IBaseHandlersMap {
|
|
|
1095
1114
|
[ItemEvent.afterChangeProperties]: (properties: IInputProps | ITextProps | ITextAreaProps) => void;
|
|
1096
1115
|
}
|
|
1097
1116
|
export interface ISpacerHandlersMap extends IBaseHandlersMap {
|
|
1098
|
-
[ItemEvent.beforeHide]: (
|
|
1099
|
-
[ItemEvent.beforeShow]: (
|
|
1100
|
-
[ItemEvent.afterHide]: (
|
|
1101
|
-
[ItemEvent.afterShow]: (
|
|
1117
|
+
[ItemEvent.beforeHide]: (init: boolean) => boolean | void;
|
|
1118
|
+
[ItemEvent.beforeShow]: () => boolean | void;
|
|
1119
|
+
[ItemEvent.afterHide]: (init: boolean) => void;
|
|
1120
|
+
[ItemEvent.afterShow]: () => void;
|
|
1102
1121
|
[ItemEvent.beforeChangeProperties]: (properties: IBaseLayoutItem) => boolean | void;
|
|
1103
1122
|
[ItemEvent.afterChangeProperties]: (properties: IBaseLayoutItem) => void;
|
|
1104
1123
|
}
|
|
1105
1124
|
export interface IContainerHandlersMap extends IBaseHandlersMap {
|
|
1106
|
-
[ItemEvent.beforeHide]: (
|
|
1107
|
-
[ItemEvent.beforeShow]: (
|
|
1108
|
-
[ItemEvent.afterHide]: (
|
|
1109
|
-
[ItemEvent.afterShow]: (
|
|
1125
|
+
[ItemEvent.beforeHide]: (init: boolean) => boolean | void;
|
|
1126
|
+
[ItemEvent.beforeShow]: () => boolean | void;
|
|
1127
|
+
[ItemEvent.afterHide]: (init: boolean) => void;
|
|
1128
|
+
[ItemEvent.afterShow]: () => void;
|
|
1110
1129
|
[ItemEvent.beforeChangeProperties]: (properties: IBaseLayoutItem) => boolean | void;
|
|
1111
1130
|
[ItemEvent.afterChangeProperties]: (properties: IBaseLayoutItem) => void;
|
|
1112
1131
|
}
|
|
@@ -4,8 +4,7 @@ import { Id, ITouchParam } from "../../ts-common/types";
|
|
|
4
4
|
import { View } from "../../ts-common/view";
|
|
5
5
|
import { DataEvents, DragEvents, IDataCollection, IDataEventsHandlersMap, IDataItem, IDragEventsHandlersMap } from "../../ts-data";
|
|
6
6
|
import { Exporter } from "./Exporter";
|
|
7
|
-
import { Dirs, EditorType, GridEvents, IAdjustBy, ICellRect, ICol, IContentList, ICoords, IEventHandlersMap, IGrid, IGridConfig, IRow, IScrollState, ISelection, ISpan, GridSystemEvents, ISystemEventHandlersMap, IColumnsWidth, ISortingState, SortFunction } from "./types";
|
|
8
|
-
import { Combobox } from "../../ts-combobox";
|
|
7
|
+
import { Dirs, EditorType, GridEvents, IAdjustBy, ICellRect, ICol, IContentList, ICoords, IEventHandlersMap, IGrid, IGridConfig, IRow, IScrollState, ISelection, ISpan, GridSystemEvents, ISystemEventHandlersMap, IColumnsWidth, ISortingState, SortFunction, IHeaderFilter } from "./types";
|
|
9
8
|
export declare class Grid extends View implements IGrid {
|
|
10
9
|
data: IDataCollection;
|
|
11
10
|
config: IGridConfig;
|
|
@@ -48,7 +47,7 @@ export declare class Grid extends View implements IGrid {
|
|
|
48
47
|
editCell(rowId: Id, colId: Id, editorType?: EditorType): void;
|
|
49
48
|
editEnd(withoutSave?: boolean): void;
|
|
50
49
|
getSortingState(): ISortingState;
|
|
51
|
-
getHeaderFilter(colId: Id):
|
|
50
|
+
getHeaderFilter(colId: Id): IHeaderFilter;
|
|
52
51
|
/** @deprecated See a documentation: https://docs.dhtmlx.com/ */
|
|
53
52
|
edit(rowId: Id, colId: Id, editorType?: EditorType): void;
|
|
54
53
|
paint(): void;
|
|
@@ -66,8 +65,8 @@ export declare class Grid extends View implements IGrid {
|
|
|
66
65
|
protected _prepareData(data: IDataItem[] | IDataCollection): any[] | IDataItem[];
|
|
67
66
|
protected _adjustColumnsWidth(rows: IRow[], cols: ICol[], adjust?: IAdjustBy): IColumnsWidth;
|
|
68
67
|
protected _prepareColumnData(data: any, type: "header" | "footer"): IRow[];
|
|
69
|
-
|
|
70
|
-
|
|
68
|
+
protected _dragStart(event: any): void;
|
|
69
|
+
protected _getRowGhost(ids: Id[]): HTMLDivElement;
|
|
71
70
|
private _init;
|
|
72
71
|
private _attachDataCollection;
|
|
73
72
|
private _setMarks;
|
|
@@ -9,6 +9,7 @@ export declare class ProGrid extends Grid implements IProGrid {
|
|
|
9
9
|
protected _setEventHandlers(): void;
|
|
10
10
|
protected _prepareData(data: IDataItem[] | IDataCollection): any;
|
|
11
11
|
protected _prepareDataFromTo(data: IDataCollection, from: number, to: number): IDataItem[];
|
|
12
|
+
protected _dragStart(event: any): void;
|
|
12
13
|
private _lazyLoad;
|
|
13
14
|
private _getColumnGhost;
|
|
14
15
|
private _dragStartColumn;
|
|
@@ -22,8 +22,12 @@ export declare class Selection implements ISelection {
|
|
|
22
22
|
protected _removeCell(row: any, col: any): void;
|
|
23
23
|
protected _removeCells(): void;
|
|
24
24
|
protected _init(): void;
|
|
25
|
-
protected _toHTML(row: IRow, column: ICol, last?: boolean): any;
|
|
25
|
+
protected _toHTML(row: IRow, column: ICol, last?: boolean, skipRow?: boolean): any;
|
|
26
26
|
protected _isUnselected(): boolean;
|
|
27
27
|
protected _findIndex(cell?: ICell): number;
|
|
28
28
|
protected _setBrowserFocus(): void;
|
|
29
|
+
protected _getReverseScrollState(scrollState: any): {
|
|
30
|
+
x: number;
|
|
31
|
+
y: number;
|
|
32
|
+
};
|
|
29
33
|
}
|
|
@@ -6,6 +6,7 @@ import { Exporter } from "./Exporter";
|
|
|
6
6
|
import { Combobox } from "../../ts-combobox";
|
|
7
7
|
import { IHandlers, Id } from "../../ts-common/types";
|
|
8
8
|
import { ScrollView } from "../../ts-common/ScrollView";
|
|
9
|
+
import { ICalendarConfig } from "../../ts-calendar";
|
|
9
10
|
export interface IGridConfig extends IDragConfig {
|
|
10
11
|
columns?: ICol[];
|
|
11
12
|
spans?: ISpan[];
|
|
@@ -17,6 +18,8 @@ export interface IGridConfig extends IDragConfig {
|
|
|
17
18
|
rowCss?: (row: IRow) => string;
|
|
18
19
|
leftSplit?: number;
|
|
19
20
|
topSplit?: number;
|
|
21
|
+
rightSplit?: number;
|
|
22
|
+
bottomSplit?: number;
|
|
20
23
|
selection?: ISelectionType;
|
|
21
24
|
multiselection?: boolean;
|
|
22
25
|
dragItem?: IDragType;
|
|
@@ -55,6 +58,7 @@ export interface IGridConfig extends IDragConfig {
|
|
|
55
58
|
editor?: IEditor;
|
|
56
59
|
};
|
|
57
60
|
$resizing?: string | number;
|
|
61
|
+
$scrollBarWidth?: IScrollBarWidth;
|
|
58
62
|
groupTitleTemplate?: (groupName: string, groupItems: IDataItem[]) => string;
|
|
59
63
|
/** @deprecated See a documentation: https://docs.dhtmlx.com/ */
|
|
60
64
|
editing?: boolean;
|
|
@@ -67,6 +71,10 @@ export interface IGridConfig extends IDragConfig {
|
|
|
67
71
|
/** @deprecated See a documentation: https://docs.dhtmlx.com/ */
|
|
68
72
|
splitAt?: number;
|
|
69
73
|
}
|
|
74
|
+
export interface IScrollBarWidth {
|
|
75
|
+
x: number;
|
|
76
|
+
y: number;
|
|
77
|
+
}
|
|
70
78
|
interface ICellObj {
|
|
71
79
|
col: ICol;
|
|
72
80
|
row: IRow;
|
|
@@ -78,16 +86,25 @@ export interface IScrollState {
|
|
|
78
86
|
left: number;
|
|
79
87
|
top: number;
|
|
80
88
|
}
|
|
89
|
+
interface IFixedColumns {
|
|
90
|
+
left: ICol[];
|
|
91
|
+
right: ICol[];
|
|
92
|
+
}
|
|
93
|
+
interface IFixedRows {
|
|
94
|
+
top: IRow[];
|
|
95
|
+
bottom: IRow[];
|
|
96
|
+
}
|
|
81
97
|
export interface IRendererConfig extends IGridConfig {
|
|
82
98
|
scroll?: IScrollState;
|
|
83
99
|
datacollection: any;
|
|
84
100
|
currentColumns?: ICol[];
|
|
85
101
|
currentRows?: IRow[];
|
|
102
|
+
fixedColumns?: IFixedColumns;
|
|
103
|
+
fixedRows?: IFixedRows;
|
|
86
104
|
firstColId?: Id;
|
|
87
105
|
headerHeight?: number;
|
|
88
106
|
footerHeight?: number;
|
|
89
107
|
events?: IEventSystem<GridEvents, IEventHandlersMap>;
|
|
90
|
-
fixedColumnsWidth?: number;
|
|
91
108
|
selection: any;
|
|
92
109
|
sortBy?: Id;
|
|
93
110
|
sortDir?: string;
|
|
@@ -136,7 +153,7 @@ export interface IGrid {
|
|
|
136
153
|
editCell(rowId: Id, colId: Id, editorType?: EditorType): void;
|
|
137
154
|
editEnd(withoutSave?: boolean): void;
|
|
138
155
|
getSortingState(): ISortingState;
|
|
139
|
-
getHeaderFilter(colId: Id):
|
|
156
|
+
getHeaderFilter(colId: Id): IHeaderFilter;
|
|
140
157
|
/** @deprecated See a documentation: https://docs.dhtmlx.com/ */
|
|
141
158
|
edit(rowId: Id, colId: Id, editorType?: EditorType): void;
|
|
142
159
|
}
|
|
@@ -147,6 +164,26 @@ export declare type EditorType = "input" | "select" | "datePicker" | "checkbox"
|
|
|
147
164
|
export interface IComboEditorConfig {
|
|
148
165
|
newOptions?: boolean;
|
|
149
166
|
}
|
|
167
|
+
export interface IBaseHandlersMap {
|
|
168
|
+
[key: string]: (...args: any[]) => any;
|
|
169
|
+
}
|
|
170
|
+
export declare enum HeaderFilterEvent {
|
|
171
|
+
change = "change"
|
|
172
|
+
}
|
|
173
|
+
export interface IHeaderFilter {
|
|
174
|
+
column: ICol;
|
|
175
|
+
config: IRendererConfig;
|
|
176
|
+
value: string | string[];
|
|
177
|
+
events: IEventSystem<HeaderFilterEvent>;
|
|
178
|
+
data?: any[];
|
|
179
|
+
id?: Id;
|
|
180
|
+
filterConfig?: IComboFilterConfig;
|
|
181
|
+
getFilter(): HTMLElement | Combobox;
|
|
182
|
+
setValue(value: string | string[]): void;
|
|
183
|
+
clear(): void;
|
|
184
|
+
focus(): void;
|
|
185
|
+
blur(): void;
|
|
186
|
+
}
|
|
150
187
|
export interface ICellRect extends ICoords, ISizes {
|
|
151
188
|
}
|
|
152
189
|
export declare type colType = "string" | "number" | "boolean" | "date" | "percent" | any;
|
|
@@ -159,14 +196,14 @@ export interface ICol {
|
|
|
159
196
|
maxWidth?: number;
|
|
160
197
|
mark?: IMark | MarkFunction;
|
|
161
198
|
type?: colType;
|
|
199
|
+
format?: string;
|
|
162
200
|
editorType?: EditorType;
|
|
163
|
-
editorConfig?: IComboEditorConfig;
|
|
201
|
+
editorConfig?: IComboEditorConfig | ICalendarConfig;
|
|
164
202
|
editable?: boolean;
|
|
165
203
|
resizable?: boolean;
|
|
166
204
|
sortable?: boolean;
|
|
167
205
|
options?: any[];
|
|
168
206
|
draggable?: boolean;
|
|
169
|
-
format?: string;
|
|
170
207
|
htmlEnable?: boolean;
|
|
171
208
|
template?: (cellValue: any, row: IRow, col: ICol) => string;
|
|
172
209
|
hidden?: boolean;
|
|
@@ -183,6 +220,7 @@ export interface ICol {
|
|
|
183
220
|
$width?: number;
|
|
184
221
|
$fixed?: boolean;
|
|
185
222
|
$htmlEnable?: boolean;
|
|
223
|
+
/** @deprecated See a documentation: https://docs.dhtmlx.com/ */
|
|
186
224
|
dateFormat?: string;
|
|
187
225
|
/** @deprecated See a documentation: https://docs.dhtmlx.com/ */
|
|
188
226
|
editing?: boolean;
|
|
@@ -266,6 +304,7 @@ export declare enum GridEvents {
|
|
|
266
304
|
scroll = "scroll",
|
|
267
305
|
expand = "expand",
|
|
268
306
|
filterChange = "filterChange",
|
|
307
|
+
beforeFilter = "beforeFilter",
|
|
269
308
|
beforeResizeStart = "beforeResizeStart",
|
|
270
309
|
resize = "resize",
|
|
271
310
|
afterResizeEnd = "afterResizeEnd",
|
|
@@ -326,7 +365,8 @@ export interface IEventHandlersMap {
|
|
|
326
365
|
[GridEvents.scroll]: (scrollState: ICoords) => void;
|
|
327
366
|
[GridEvents.beforeSort]: (col: ICol, dir: Dirs) => void | boolean;
|
|
328
367
|
[GridEvents.afterSort]: (col: ICol, dir: Dirs) => void;
|
|
329
|
-
[GridEvents.filterChange]: (value: string, colId: Id, filterId: fixedRowContent) => void;
|
|
368
|
+
[GridEvents.filterChange]: (value: string | string[], colId: Id, filterId: fixedRowContent) => void;
|
|
369
|
+
[GridEvents.beforeFilter]: (value: string, colId: Id) => void | boolean;
|
|
330
370
|
[GridEvents.beforeResizeStart]: (col: ICol, e: MouseEvent) => boolean | void;
|
|
331
371
|
[GridEvents.resize]: (col: ICol, e: MouseEvent) => void;
|
|
332
372
|
[GridEvents.afterResizeEnd]: (col: ICol, e: MouseEvent) => void;
|
|
@@ -490,4 +530,10 @@ export interface IGridSelectionEventsHandlersMap {
|
|
|
490
530
|
[GridSelectionEvents.beforeUnSelect]: (row: IRow, col: ICol) => boolean | void;
|
|
491
531
|
}
|
|
492
532
|
export declare type TRowStatus = "firstFilledRow" | "firstEmptyRow";
|
|
533
|
+
export declare enum Split {
|
|
534
|
+
left = "leftSplit",
|
|
535
|
+
right = "rightSplit",
|
|
536
|
+
top = "topSplit",
|
|
537
|
+
bottom = "bottomSplit"
|
|
538
|
+
}
|
|
493
539
|
export {};
|
|
@@ -1,20 +1,20 @@
|
|
|
1
|
-
import { GridEvents, ICol, ICoords,
|
|
1
|
+
import { GridEvents, GridSystemEvents, ICol, ICoords, IGridConfig, IRendererConfig, ISpan, Split } from "../types";
|
|
2
2
|
declare type mouseEvents = GridEvents.cellClick | GridEvents.cellMouseOver | GridEvents.cellMouseDown | GridEvents.cellDblClick | GridEvents.cellRightClick;
|
|
3
3
|
declare type touchEvents = GridSystemEvents.cellTouchEnd | GridSystemEvents.cellTouchMove;
|
|
4
4
|
declare function handleMouse(rowStart: number, colStart: number, conf: IRendererConfig, type: mouseEvents & touchEvents, e: any): void;
|
|
5
5
|
export declare function getHandlers(row: number, column: number, conf: IRendererConfig): {
|
|
6
|
-
onclick: (number |
|
|
7
|
-
onmouseover: (number |
|
|
8
|
-
onmousedown: (number |
|
|
9
|
-
ondblclick: (number |
|
|
10
|
-
oncontextmenu: (number |
|
|
11
|
-
ontouchstart: (number |
|
|
12
|
-
ontouchmove: (number |
|
|
13
|
-
ontouchend: (number |
|
|
6
|
+
onclick: (number | GridEvents | IRendererConfig | typeof handleMouse)[];
|
|
7
|
+
onmouseover: (number | GridEvents | IRendererConfig | typeof handleMouse)[];
|
|
8
|
+
onmousedown: (number | GridEvents | IRendererConfig | typeof handleMouse)[];
|
|
9
|
+
ondblclick: (number | GridEvents | IRendererConfig | typeof handleMouse)[];
|
|
10
|
+
oncontextmenu: (number | GridEvents | IRendererConfig | typeof handleMouse)[];
|
|
11
|
+
ontouchstart: (number | GridEvents | IRendererConfig | typeof handleMouse)[];
|
|
12
|
+
ontouchmove: (number | GridSystemEvents | IRendererConfig | typeof handleMouse)[];
|
|
13
|
+
ontouchend: (number | GridSystemEvents | IRendererConfig | typeof handleMouse)[];
|
|
14
14
|
};
|
|
15
15
|
export declare function getTreeCell(content: any, row: any, col: ICol, conf: IRendererConfig): any;
|
|
16
16
|
export declare function getCells(conf: IRendererConfig): any[];
|
|
17
|
-
export declare function getSpans(config: IRendererConfig,
|
|
17
|
+
export declare function getSpans(config: IRendererConfig, mode?: Split): any[];
|
|
18
18
|
export declare function getShifts(conf: IRendererConfig): ICoords;
|
|
19
19
|
export declare function normalizeSpan(span: ISpan, renderConfig: IGridConfig): {
|
|
20
20
|
$renderFrom: string[];
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { ILayoutState, IRendererConfig } from "./../types";
|
|
2
|
-
export declare function getFixedColsHeader(renderConfig: IRendererConfig, layout: ILayoutState): any;
|
|
3
|
-
export declare function getFixedCols(renderConfig: IRendererConfig, layout: ILayoutState): any[];
|
|
1
|
+
import { ILayoutState, IRendererConfig, Split } from "./../types";
|
|
2
|
+
export declare function getFixedColsHeader(renderConfig: IRendererConfig, layout: ILayoutState, mode: Split.left | Split.right): any;
|
|
3
|
+
export declare function getFixedCols(renderConfig: IRendererConfig, layout: ILayoutState, mode: Split.left | Split.right): any[];
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { IFixedRowsConfig, IRendererConfig,
|
|
1
|
+
import { IFixedRowsConfig, ILayoutState, IRendererConfig, Split } from "../types";
|
|
2
2
|
export declare function getRows(config: IRendererConfig, rowsConfig: IFixedRowsConfig): any[];
|
|
3
3
|
export declare function getFixedSpans(config: IRendererConfig, rowsConfig: IFixedRowsConfig): any[];
|
|
4
4
|
export declare function getFixedRows(config: IRendererConfig, rowsConfig: IFixedRowsConfig): any;
|
|
5
|
-
export declare function getFixedDataRows(config: IRendererConfig, layout: ILayoutState): any[];
|
|
5
|
+
export declare function getFixedDataRows(config: IRendererConfig, layout: ILayoutState, mode: Split.top | Split.bottom): any[];
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { Combobox } from "../../../../ts-combobox";
|
|
2
|
+
import { IEventSystem } from "../../../../ts-common/events";
|
|
3
|
+
import { IHeaderFilter, HeaderFilterEvent, ICol, IRendererConfig, IComboFilterConfig } from "../../types";
|
|
4
|
+
export declare class ComboFilter implements IHeaderFilter {
|
|
5
|
+
column: ICol;
|
|
6
|
+
config: IRendererConfig;
|
|
7
|
+
data: any[];
|
|
8
|
+
value: string | string[];
|
|
9
|
+
filterConfig: IComboFilterConfig;
|
|
10
|
+
events: IEventSystem<HeaderFilterEvent>;
|
|
11
|
+
private _filter;
|
|
12
|
+
private _isFocused;
|
|
13
|
+
constructor(column: any, config?: any, data?: any, value?: any, conf?: any);
|
|
14
|
+
protected initFilter(): void;
|
|
15
|
+
protected initHandlers(): void;
|
|
16
|
+
getFilter(): Combobox;
|
|
17
|
+
setValue(value: string | string[]): void;
|
|
18
|
+
clear(): void;
|
|
19
|
+
focus(): void;
|
|
20
|
+
blur(): void;
|
|
21
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { IEventSystem } from "../../../../ts-common/events";
|
|
2
|
+
import { Id } from "../../../../ts-common/types";
|
|
3
|
+
import { IBaseHandlersMap, IHeaderFilter, HeaderFilterEvent, ICol, IRendererConfig } from "../../types";
|
|
4
|
+
export declare class InputFilter implements IHeaderFilter {
|
|
5
|
+
column: ICol;
|
|
6
|
+
config: IRendererConfig;
|
|
7
|
+
value: string;
|
|
8
|
+
id: Id;
|
|
9
|
+
events: IEventSystem<HeaderFilterEvent>;
|
|
10
|
+
private _filter;
|
|
11
|
+
private _isFocused;
|
|
12
|
+
protected _handlers: IBaseHandlersMap;
|
|
13
|
+
protected _inputDelay: any;
|
|
14
|
+
constructor(column: any, config: any, id: any, value: any);
|
|
15
|
+
protected initHandlers(): void;
|
|
16
|
+
protected initFilter(): void;
|
|
17
|
+
getFilter(): HTMLElement;
|
|
18
|
+
setValue(value: string): void;
|
|
19
|
+
clear(): void;
|
|
20
|
+
focus(): void;
|
|
21
|
+
blur(): void;
|
|
22
|
+
}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { IEventSystem } from "../../../../ts-common/events";
|
|
2
|
+
import { IBaseHandlersMap, IHeaderFilter, HeaderFilterEvent, ICol, IRendererConfig } from "../../types";
|
|
3
|
+
export declare class SelectFilter implements IHeaderFilter {
|
|
4
|
+
column: ICol;
|
|
5
|
+
config: IRendererConfig;
|
|
6
|
+
data: any[];
|
|
7
|
+
value: string;
|
|
8
|
+
events: IEventSystem<HeaderFilterEvent>;
|
|
9
|
+
private _filter;
|
|
10
|
+
private _isFocused;
|
|
11
|
+
protected _handlers: IBaseHandlersMap;
|
|
12
|
+
constructor(column: any, config: any, uniqueData: any, value: any);
|
|
13
|
+
protected initHandlers(): void;
|
|
14
|
+
protected initFilter(): void;
|
|
15
|
+
getFilter(): HTMLElement;
|
|
16
|
+
setValue(value: string): void;
|
|
17
|
+
clear(): void;
|
|
18
|
+
focus(): void;
|
|
19
|
+
blur(): void;
|
|
20
|
+
}
|
|
@@ -15,5 +15,21 @@ export declare class DateEditor implements IEditor {
|
|
|
15
15
|
constructor(row: IRow, col: ICol, config: IRendererConfig);
|
|
16
16
|
endEdit(withoutSave?: boolean, calendarChange?: boolean): void;
|
|
17
17
|
toHTML(): any;
|
|
18
|
+
protected _cleanConfig(col: ICol): {
|
|
19
|
+
date?: string | Date;
|
|
20
|
+
css?: string;
|
|
21
|
+
mark?: (a: Date) => string;
|
|
22
|
+
disabledDates?: (a: Date) => boolean;
|
|
23
|
+
weekStart?: "monday" | "sunday" | "saturday";
|
|
24
|
+
weekNumbers?: boolean;
|
|
25
|
+
mode?: import("../../../../ts-calendar").ViewMode;
|
|
26
|
+
timePicker?: boolean;
|
|
27
|
+
timeFormat?: 12 | 24;
|
|
28
|
+
thisMonthOnly?: boolean;
|
|
29
|
+
width?: string | number;
|
|
30
|
+
$rangeMark?: (a: Date) => string;
|
|
31
|
+
block?: (a: Date) => boolean;
|
|
32
|
+
view?: import("../../../../ts-calendar").ViewMode;
|
|
33
|
+
};
|
|
18
34
|
protected _initHandlers(): void;
|
|
19
35
|
}
|
|
@@ -1,4 +1,7 @@
|
|
|
1
|
-
import { IGrid, IRendererConfig, IRow,
|
|
1
|
+
import { IGrid, IGridConfig, IProGrid, IRendererConfig, IRow, Split, IScrollBarWidth } from "../types";
|
|
2
|
+
export declare const BORDERS = 2;
|
|
3
|
+
export declare function calcScrollBarWidth(config: IGridConfig | IRendererConfig): IScrollBarWidth;
|
|
2
4
|
export declare function getRenderConfig(obj: any, data: IRow[], wrapperSizes: any): IRendererConfig;
|
|
5
|
+
export declare function getEvents(config: IRendererConfig, mode?: Split): {};
|
|
3
6
|
export declare function render(vm: any, obj: IGrid, htmlEvents: any, selection: any, uid: string): any;
|
|
4
7
|
export declare function proRender(vm: any, obj: IProGrid, htmlEvents: any, selection: any, uid: string): any;
|
|
@@ -14,6 +14,8 @@ export declare class Cell extends View implements ICell {
|
|
|
14
14
|
protected _parent: ILayout;
|
|
15
15
|
protected _ui: IViewLike;
|
|
16
16
|
protected _resizerHandlers: any;
|
|
17
|
+
protected _progress: boolean;
|
|
18
|
+
protected _stopProgressDefault: boolean;
|
|
17
19
|
private _isLastFlexCell;
|
|
18
20
|
private _afterWindowResized;
|
|
19
21
|
constructor(parent: string | HTMLElement | ILayout, config: ICellConfig);
|
|
@@ -31,7 +33,12 @@ export declare class Cell extends View implements ICell {
|
|
|
31
33
|
getCellView(): any;
|
|
32
34
|
attach(component: any, config?: any): IViewLike;
|
|
33
35
|
attachHTML(html: string): void;
|
|
36
|
+
detach(): void;
|
|
37
|
+
progressShow(): void;
|
|
38
|
+
progressHide(): void;
|
|
39
|
+
isVisibleProgress(): boolean;
|
|
34
40
|
toVDOM(nodes?: any[]): any;
|
|
41
|
+
protected _getProgressBar(): any;
|
|
35
42
|
protected _getCss(_content?: boolean): string;
|
|
36
43
|
protected _initHandlers(): void;
|
|
37
44
|
protected _getCollapsedSize(cell: ICell, nextCell: ICell): number;
|
|
@@ -41,6 +48,9 @@ export declare class Cell extends View implements ICell {
|
|
|
41
48
|
protected _getAnyFlexCell(selfInclude?: boolean): any;
|
|
42
49
|
protected _getResizerView(): any;
|
|
43
50
|
protected _isXDirection(): any;
|
|
51
|
+
protected _checkProgress(): boolean;
|
|
52
|
+
protected _checkAutoProgress(): boolean;
|
|
53
|
+
protected _calculateProgressState(): void;
|
|
44
54
|
protected _calculateStyle(): any;
|
|
45
55
|
private _resizedWindow;
|
|
46
56
|
private _resetCellsSize;
|