@isettingkit/business-rules 1.0.24 → 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.
- package/dist/index.es.d.ts +43 -0
- package/dist/index.es.js +2777 -1156
- package/package.json +2 -1
package/dist/index.es.d.ts
CHANGED
|
@@ -26,6 +26,10 @@ export declare const convertRangeToString: (value: {
|
|
|
26
26
|
to: number;
|
|
27
27
|
}) => string;
|
|
28
28
|
|
|
29
|
+
export declare const DragAndDropBoxes: (props: IDragAndDropBoxes) => JSX.Element;
|
|
30
|
+
|
|
31
|
+
export declare const DraggableList: (props: IDraggableList) => JSX.Element;
|
|
32
|
+
|
|
29
33
|
export declare const DropdownMenu: (props: IDropdownMenu) => JSX.Element;
|
|
30
34
|
|
|
31
35
|
export declare const DropdownMenuContainer: (props: IDropdownMenuContainer) => JSX.Element;
|
|
@@ -135,8 +139,44 @@ export declare interface ICheckpickerField {
|
|
|
135
139
|
invalid?: boolean;
|
|
136
140
|
}
|
|
137
141
|
|
|
142
|
+
export declare type IClientLabel = string;
|
|
143
|
+
|
|
144
|
+
export declare interface IDragAndDropBoxes {
|
|
145
|
+
group?: string;
|
|
146
|
+
left: IDragAndDropColumn;
|
|
147
|
+
right: IDragAndDropColumn;
|
|
148
|
+
onMove?: (payload: {
|
|
149
|
+
item: string;
|
|
150
|
+
from: "left" | "right";
|
|
151
|
+
to: "left" | "right";
|
|
152
|
+
}) => void;
|
|
153
|
+
}
|
|
154
|
+
|
|
155
|
+
export declare interface IDragAndDropColumn {
|
|
156
|
+
emptyMessage?: string;
|
|
157
|
+
highlightFirst?: boolean;
|
|
158
|
+
items: IClientLabel[];
|
|
159
|
+
legend: string;
|
|
160
|
+
}
|
|
161
|
+
|
|
162
|
+
export declare interface IDraggableList {
|
|
163
|
+
emptyMessage?: string;
|
|
164
|
+
id: IListSide;
|
|
165
|
+
group: string;
|
|
166
|
+
legend: string;
|
|
167
|
+
initialItems: IClientLabel[];
|
|
168
|
+
highlightFirst?: boolean;
|
|
169
|
+
onMove?: (payload: {
|
|
170
|
+
item: string;
|
|
171
|
+
from: IListSide;
|
|
172
|
+
to: IListSide;
|
|
173
|
+
}) => void;
|
|
174
|
+
}
|
|
175
|
+
|
|
138
176
|
export declare interface IDropdownMenu {
|
|
139
177
|
isOpen: boolean;
|
|
178
|
+
headerActive?: boolean;
|
|
179
|
+
headerPath?: string;
|
|
140
180
|
links: TLinkItem[];
|
|
141
181
|
onClick: () => void;
|
|
142
182
|
title: string;
|
|
@@ -153,6 +193,7 @@ export declare interface IDropdownMenuGroup {
|
|
|
153
193
|
id: string;
|
|
154
194
|
title: string;
|
|
155
195
|
links: TLinkItem[];
|
|
196
|
+
path?: string;
|
|
156
197
|
}
|
|
157
198
|
|
|
158
199
|
export declare interface IFilter {
|
|
@@ -190,6 +231,8 @@ export declare interface IFormFilter {
|
|
|
190
231
|
noFiltersLabel?: string;
|
|
191
232
|
}
|
|
192
233
|
|
|
234
|
+
declare type IListSide = "left" | "right";
|
|
235
|
+
|
|
193
236
|
declare interface IModalRules {
|
|
194
237
|
children: React.ReactNode;
|
|
195
238
|
onCloseModal: () => void;
|