@isettingkit/business-rules 3.1.0 → 3.1.2
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/README.md +5 -0
- package/dist/index.es.d.ts +3 -3
- package/dist/index.es.js +1216 -1276
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -2,6 +2,11 @@
|
|
|
2
2
|
|
|
3
3
|
isettingkit is a modular UI toolkit designed to streamline the creation and management of business rule-driven interfaces. It offers a suite of reusable components, utilities, and type definitions to facilitate the development of dynamic, rule-based forms and configurations.
|
|
4
4
|
|
|
5
|
+
## Packages
|
|
6
|
+
|
|
7
|
+
- [isettingkit-input](https://github.com/selsa-inube/isettingkit-input)
|
|
8
|
+
- [isettingkit-view](https://github.com/selsa-inube/isettingkit-view)
|
|
9
|
+
|
|
5
10
|
## 📁 Project Structure
|
|
6
11
|
|
|
7
12
|
The src directory is organized into the following primary modules:
|
package/dist/index.es.d.ts
CHANGED
|
@@ -188,14 +188,14 @@ declare interface IBusinessRules_3 {
|
|
|
188
188
|
editionMode?: "classic" | "versioned";
|
|
189
189
|
textValues: IRulesFormTextValues_3;
|
|
190
190
|
decisionTemplate: IRuleDecision;
|
|
191
|
-
|
|
191
|
+
isRulesModalOpen: boolean;
|
|
192
192
|
selectedDecision: IRuleDecision | null;
|
|
193
193
|
loading: boolean;
|
|
194
194
|
configureDecisionModal: boolean;
|
|
195
195
|
handleOpenModal?: () => void;
|
|
196
196
|
handleCloseModal?: () => void;
|
|
197
197
|
handleSubmitForm?: (dataDecision: IRuleDecision) => void;
|
|
198
|
-
handleOpenRulesModal?: (checkedItems
|
|
198
|
+
handleOpenRulesModal?: (checkedItems?: IOption[], decision?: IRuleDecision | null) => void;
|
|
199
199
|
handleDelete?: (id: string) => void;
|
|
200
200
|
terms?: boolean;
|
|
201
201
|
onRemoveCondition?: (conditionName: string) => void;
|
|
@@ -205,7 +205,7 @@ declare interface IBusinessRules_3 {
|
|
|
205
205
|
withEditOption?: boolean;
|
|
206
206
|
configurateDecisionOptions?: IOption[];
|
|
207
207
|
withTerm?: boolean;
|
|
208
|
-
|
|
208
|
+
handleCloseRulesModal?: () => void;
|
|
209
209
|
}
|
|
210
210
|
|
|
211
211
|
export declare interface IBusinessRuleView {
|