@masterkeymaterial/ui 0.2.15 → 0.2.17
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/package.json
CHANGED
|
@@ -1025,6 +1025,7 @@ interface IGridConfig<T> {
|
|
|
1025
1025
|
actionsLine: IGridConfigActions[];
|
|
1026
1026
|
actionsLineConfig: IActionsLineConfig;
|
|
1027
1027
|
InativeRule: (linha: any) => boolean;
|
|
1028
|
+
SelectionDisabledRule?: (linha: any) => boolean;
|
|
1028
1029
|
colunas: IColuna<T>[];
|
|
1029
1030
|
filterSearchIcon: string;
|
|
1030
1031
|
filterBarStartCollapsed: boolean;
|
|
@@ -1044,13 +1045,10 @@ interface IGridConfig<T> {
|
|
|
1044
1045
|
showActionsTop: boolean;
|
|
1045
1046
|
showPagination: boolean;
|
|
1046
1047
|
timeRequest?: number;
|
|
1047
|
-
onSelected?: (linha: any, selecionados: any[]) => void;
|
|
1048
|
-
onUnselected?: (linha: any, selecionados: any[]) => void;
|
|
1049
|
-
onSelectionChanged?: (linha: any, selecionados: any[]) => void;
|
|
1048
|
+
onSelected?: (linha: any, selecionados: any[]) => Promise<void> | void;
|
|
1049
|
+
onUnselected?: (linha: any, selecionados: any[]) => Promise<void> | void;
|
|
1050
|
+
onSelectionChanged?: (linha: any, selecionados: any[]) => Promise<void> | void;
|
|
1050
1051
|
startSelected?: (linha: any) => boolean;
|
|
1051
|
-
ruleSelectRow?: (linha: any, selecionados: any[]) => Promise<boolean>;
|
|
1052
|
-
ruleUnSelectRow?: (linha: any, selecionados: any[]) => Promise<boolean>;
|
|
1053
|
-
isSelected: WritableSignal<boolean>;
|
|
1054
1052
|
selectionMode: 'single' | 'multiple' | 'none';
|
|
1055
1053
|
hasError: boolean;
|
|
1056
1054
|
hasVerticalLine: boolean;
|
|
@@ -1082,8 +1080,8 @@ interface IDadosDaLinha {
|
|
|
1082
1080
|
hue: number | undefined;
|
|
1083
1081
|
inativo: boolean;
|
|
1084
1082
|
selecionado: boolean;
|
|
1085
|
-
isSelecionando: boolean;
|
|
1086
1083
|
groupName: string;
|
|
1084
|
+
isSelectionDisabled?: boolean;
|
|
1087
1085
|
isColapsed?: boolean;
|
|
1088
1086
|
isGroup?: boolean;
|
|
1089
1087
|
isFullLine?: {
|
|
@@ -1116,7 +1114,6 @@ declare class MkGrid {
|
|
|
1116
1114
|
gridTemplateColumns: _angular_core.WritableSignal<string>;
|
|
1117
1115
|
inputSearchText: _angular_core.WritableSignal<string>;
|
|
1118
1116
|
selectedRows: _angular_core.WritableSignal<string[]>;
|
|
1119
|
-
selecionandoLinhas: _angular_core.WritableSignal<string[]>;
|
|
1120
1117
|
gruposColapsed: _angular_core.WritableSignal<string[]>;
|
|
1121
1118
|
isAgrupado: _angular_core.WritableSignal<boolean>;
|
|
1122
1119
|
isAgrupadoLimpo: _angular_core.WritableSignal<boolean>;
|
|
@@ -1196,9 +1193,9 @@ declare class MkGrid {
|
|
|
1196
1193
|
protected onClickOpenCloseFilterZone(): void;
|
|
1197
1194
|
onChangeTodosSelecionados(todosSelecionados: boolean): Promise<void>;
|
|
1198
1195
|
onClickRow(linha: IDadosDaLinha): Promise<void>;
|
|
1199
|
-
|
|
1200
|
-
|
|
1201
|
-
desselecionarLinha(
|
|
1196
|
+
clearSelections(): void;
|
|
1197
|
+
selecionarLinha(id: string, dados?: any): Promise<void>;
|
|
1198
|
+
desselecionarLinha(id: string, dados?: any): Promise<void>;
|
|
1202
1199
|
onClickGroup(dadosDaLinha: IDadosDaLinha): void;
|
|
1203
1200
|
onRecolherGroups(): void;
|
|
1204
1201
|
onExpandirGroups(): void;
|