@isettingkit/business-rules 1.0.25 → 1.0.26

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.
@@ -145,19 +145,32 @@ export declare interface IDragAndDropBoxes {
145
145
  group?: string;
146
146
  left: IDragAndDropColumn;
147
147
  right: IDragAndDropColumn;
148
+ onMove?: (payload: {
149
+ item: string;
150
+ from: "left" | "right";
151
+ to: "left" | "right";
152
+ }) => void;
148
153
  }
149
154
 
150
155
  export declare interface IDragAndDropColumn {
156
+ emptyMessage?: string;
151
157
  highlightFirst?: boolean;
152
158
  items: IClientLabel[];
153
159
  legend: string;
154
160
  }
155
161
 
156
162
  export declare interface IDraggableList {
163
+ emptyMessage?: string;
164
+ id: IListSide;
165
+ group: string;
157
166
  legend: string;
158
167
  initialItems: IClientLabel[];
159
- group: string;
160
168
  highlightFirst?: boolean;
169
+ onMove?: (payload: {
170
+ item: string;
171
+ from: IListSide;
172
+ to: IListSide;
173
+ }) => void;
161
174
  }
162
175
 
163
176
  export declare interface IDropdownMenu {
@@ -218,6 +231,8 @@ export declare interface IFormFilter {
218
231
  noFiltersLabel?: string;
219
232
  }
220
233
 
234
+ declare type IListSide = "left" | "right";
235
+
221
236
  declare interface IModalRules {
222
237
  children: React.ReactNode;
223
238
  onCloseModal: () => void;