@masterkeymaterial/ui 0.2.15 → 0.2.16
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;
|
|
@@ -1048,8 +1049,6 @@ interface IGridConfig<T> {
|
|
|
1048
1049
|
onUnselected?: (linha: any, selecionados: any[]) => void;
|
|
1049
1050
|
onSelectionChanged?: (linha: any, selecionados: any[]) => void;
|
|
1050
1051
|
startSelected?: (linha: any) => boolean;
|
|
1051
|
-
ruleSelectRow?: (linha: any, selecionados: any[]) => Promise<boolean>;
|
|
1052
|
-
ruleUnSelectRow?: (linha: any, selecionados: any[]) => Promise<boolean>;
|
|
1053
1052
|
isSelected: WritableSignal<boolean>;
|
|
1054
1053
|
selectionMode: 'single' | 'multiple' | 'none';
|
|
1055
1054
|
hasError: boolean;
|
|
@@ -1082,8 +1081,8 @@ interface IDadosDaLinha {
|
|
|
1082
1081
|
hue: number | undefined;
|
|
1083
1082
|
inativo: boolean;
|
|
1084
1083
|
selecionado: boolean;
|
|
1085
|
-
isSelecionando: boolean;
|
|
1086
1084
|
groupName: string;
|
|
1085
|
+
isSelectionDisabled?: boolean;
|
|
1087
1086
|
isColapsed?: boolean;
|
|
1088
1087
|
isGroup?: boolean;
|
|
1089
1088
|
isFullLine?: {
|
|
@@ -1116,7 +1115,6 @@ declare class MkGrid {
|
|
|
1116
1115
|
gridTemplateColumns: _angular_core.WritableSignal<string>;
|
|
1117
1116
|
inputSearchText: _angular_core.WritableSignal<string>;
|
|
1118
1117
|
selectedRows: _angular_core.WritableSignal<string[]>;
|
|
1119
|
-
selecionandoLinhas: _angular_core.WritableSignal<string[]>;
|
|
1120
1118
|
gruposColapsed: _angular_core.WritableSignal<string[]>;
|
|
1121
1119
|
isAgrupado: _angular_core.WritableSignal<boolean>;
|
|
1122
1120
|
isAgrupadoLimpo: _angular_core.WritableSignal<boolean>;
|
|
@@ -1196,9 +1194,9 @@ declare class MkGrid {
|
|
|
1196
1194
|
protected onClickOpenCloseFilterZone(): void;
|
|
1197
1195
|
onChangeTodosSelecionados(todosSelecionados: boolean): Promise<void>;
|
|
1198
1196
|
onClickRow(linha: IDadosDaLinha): Promise<void>;
|
|
1199
|
-
|
|
1200
|
-
selectLinha(
|
|
1201
|
-
desselecionarLinha(
|
|
1197
|
+
clearSelections(): void;
|
|
1198
|
+
selectLinha(id: string, dados?: any): Promise<void>;
|
|
1199
|
+
desselecionarLinha(id: string, dados?: any): Promise<void>;
|
|
1202
1200
|
onClickGroup(dadosDaLinha: IDadosDaLinha): void;
|
|
1203
1201
|
onRecolherGroups(): void;
|
|
1204
1202
|
onExpandirGroups(): void;
|