@masterkeymaterial/ui 0.2.13 → 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
|
@@ -22,7 +22,6 @@ interface IDropOutput {
|
|
|
22
22
|
data?: any;
|
|
23
23
|
}
|
|
24
24
|
interface IFileMetadata {
|
|
25
|
-
url: string | null;
|
|
26
25
|
base64: string | null;
|
|
27
26
|
name: string;
|
|
28
27
|
size: number;
|
|
@@ -1026,6 +1025,7 @@ interface IGridConfig<T> {
|
|
|
1026
1025
|
actionsLine: IGridConfigActions[];
|
|
1027
1026
|
actionsLineConfig: IActionsLineConfig;
|
|
1028
1027
|
InativeRule: (linha: any) => boolean;
|
|
1028
|
+
SelectionDisabledRule?: (linha: any) => boolean;
|
|
1029
1029
|
colunas: IColuna<T>[];
|
|
1030
1030
|
filterSearchIcon: string;
|
|
1031
1031
|
filterBarStartCollapsed: boolean;
|
|
@@ -1049,8 +1049,6 @@ interface IGridConfig<T> {
|
|
|
1049
1049
|
onUnselected?: (linha: any, selecionados: any[]) => void;
|
|
1050
1050
|
onSelectionChanged?: (linha: any, selecionados: any[]) => void;
|
|
1051
1051
|
startSelected?: (linha: any) => boolean;
|
|
1052
|
-
ruleSelectRow?: (linha: any, selecionados: any[]) => Promise<boolean>;
|
|
1053
|
-
ruleUnSelectRow?: (linha: any, selecionados: any[]) => Promise<boolean>;
|
|
1054
1052
|
isSelected: WritableSignal<boolean>;
|
|
1055
1053
|
selectionMode: 'single' | 'multiple' | 'none';
|
|
1056
1054
|
hasError: boolean;
|
|
@@ -1083,8 +1081,8 @@ interface IDadosDaLinha {
|
|
|
1083
1081
|
hue: number | undefined;
|
|
1084
1082
|
inativo: boolean;
|
|
1085
1083
|
selecionado: boolean;
|
|
1086
|
-
isSelecionando: boolean;
|
|
1087
1084
|
groupName: string;
|
|
1085
|
+
isSelectionDisabled?: boolean;
|
|
1088
1086
|
isColapsed?: boolean;
|
|
1089
1087
|
isGroup?: boolean;
|
|
1090
1088
|
isFullLine?: {
|
|
@@ -1117,7 +1115,6 @@ declare class MkGrid {
|
|
|
1117
1115
|
gridTemplateColumns: _angular_core.WritableSignal<string>;
|
|
1118
1116
|
inputSearchText: _angular_core.WritableSignal<string>;
|
|
1119
1117
|
selectedRows: _angular_core.WritableSignal<string[]>;
|
|
1120
|
-
selecionandoLinhas: _angular_core.WritableSignal<string[]>;
|
|
1121
1118
|
gruposColapsed: _angular_core.WritableSignal<string[]>;
|
|
1122
1119
|
isAgrupado: _angular_core.WritableSignal<boolean>;
|
|
1123
1120
|
isAgrupadoLimpo: _angular_core.WritableSignal<boolean>;
|
|
@@ -1197,9 +1194,9 @@ declare class MkGrid {
|
|
|
1197
1194
|
protected onClickOpenCloseFilterZone(): void;
|
|
1198
1195
|
onChangeTodosSelecionados(todosSelecionados: boolean): Promise<void>;
|
|
1199
1196
|
onClickRow(linha: IDadosDaLinha): Promise<void>;
|
|
1200
|
-
|
|
1201
|
-
selectLinha(
|
|
1202
|
-
desselecionarLinha(
|
|
1197
|
+
clearSelections(): void;
|
|
1198
|
+
selectLinha(id: string, dados?: any): Promise<void>;
|
|
1199
|
+
desselecionarLinha(id: string, dados?: any): Promise<void>;
|
|
1203
1200
|
onClickGroup(dadosDaLinha: IDadosDaLinha): void;
|
|
1204
1201
|
onRecolherGroups(): void;
|
|
1205
1202
|
onExpandirGroups(): void;
|