@flowerforce/flower-core 3.3.1-beta.2 → 4.0.1-beta.1
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.cjs.js +238 -266
- package/dist/index.esm.js +228 -265
- package/dist/src/constants/index.d.ts +5 -0
- package/dist/src/event-emitter/index.d.ts +1 -0
- package/dist/src/index.d.ts +6 -8
- package/dist/src/interfaces/CoreInterface.d.ts +23 -17
- package/dist/src/interfaces/ReducerInterface.d.ts +109 -109
- package/dist/src/{rules-matcher/interface.d.ts → interfaces/RulesMatcherInterface.d.ts} +1 -1
- package/dist/src/interfaces/SelectorsInterface.d.ts +34 -25
- package/dist/src/interfaces/Store.d.ts +2 -10
- package/dist/src/interfaces/UtilsInterface.d.ts +1 -1
- package/dist/src/interfaces/index.d.ts +3 -0
- package/dist/src/rules-matcher/RulesMatcher.d.ts +2 -0
- package/dist/src/rules-matcher/index.d.ts +2 -0
- package/dist/src/rules-matcher/utils.d.ts +2 -3
- package/dist/src/state-manager/index.d.ts +2 -0
- package/dist/src/state-manager/state-functions/FlowerCoreMergedReducers.d.ts +2 -0
- package/dist/src/state-manager/state-functions/FlowerCoreStateFunctions.d.ts +5 -0
- package/dist/src/state-manager/state-functions/FlowerDataStateFunctions.d.ts +2 -0
- package/dist/src/state-manager/state-functions/index.d.ts +4 -0
- package/dist/src/state-manager/state-selectors/FlowerCoreStateSelectors.d.ts +2 -0
- package/dist/src/state-manager/state-selectors/FlowerDataStateSelectors.d.ts +2 -0
- package/dist/src/state-manager/state-selectors/FlowerSelectorsMerged.d.ts +2 -0
- package/dist/src/state-manager/state-selectors/index.d.ts +4 -0
- package/dist/src/{FlowerCoreStateUtils.d.ts → utils/FlowerCoreStateUtils.d.ts} +2 -2
- package/dist/src/{CoreUtils.d.ts → utils/FlowerCoreUtils.d.ts} +1 -2
- package/dist/src/utils/FlowerDataCoreUtils.d.ts +2 -0
- package/dist/src/utils/FlowerFlowUtils.d.ts +3 -0
- package/dist/src/utils/index.d.ts +4 -0
- package/package.json +1 -1
- package/dist/src/FlowerCoreStateFunctions.d.ts +0 -5
- package/dist/src/FlowerCoreStateSelectors.d.ts +0 -2
- package/dist/src/RulesMatcher.d.ts +0 -5
- package/dist/src/devtoolState.d.ts +0 -2
- /package/dist/src/{Emitter.d.ts → event-emitter/Emitter.d.ts} +0 -0
@@ -1,6 +1,5 @@
|
|
1
|
-
import { RulesMatcherUtils } from '
|
1
|
+
import { RulesMatcherUtils } from '../interfaces';
|
2
2
|
/**
|
3
3
|
* Defines a utility object named rulesMatcherUtils, which contains various helper functions used for processing rules and data in a rule-matching context.
|
4
4
|
*/
|
5
|
-
declare const rulesMatcherUtils: RulesMatcherUtils;
|
6
|
-
export default rulesMatcherUtils;
|
5
|
+
export declare const rulesMatcherUtils: RulesMatcherUtils;
|
@@ -0,0 +1,5 @@
|
|
1
|
+
import { CoreReducersFunctions } from '../../interfaces/ReducerInterface';
|
2
|
+
/**
|
3
|
+
* These functions are Redux reducers used in a Flux architecture for managing state transitions and updates in a Flower application.
|
4
|
+
*/
|
5
|
+
export declare const FlowerCoreBaseReducers: CoreReducersFunctions;
|
@@ -0,0 +1,4 @@
|
|
1
|
+
export type { CoreReducersFunctions, DataReducersFunctions } from '../../interfaces';
|
2
|
+
export { FlowerCoreBaseReducers } from './FlowerCoreStateFunctions';
|
3
|
+
export { FlowerCoreDataReducers } from './FlowerDataStateFunctions';
|
4
|
+
export { FlowerCoreReducers } from './FlowerCoreMergedReducers';
|
@@ -0,0 +1,4 @@
|
|
1
|
+
export type { IFlowerSelectors, IDataSelectors } from '../../interfaces';
|
2
|
+
export { FlowerCoreStateBaseSelectors } from './FlowerCoreStateSelectors';
|
3
|
+
export { FlowerCoreStateDataSelectors } from './FlowerDataStateSelectors';
|
4
|
+
export { FlowerCoreStateSelectors } from './FlowerSelectorsMerged';
|
@@ -1,6 +1,6 @@
|
|
1
|
-
import { CoreStateUtils } from '
|
1
|
+
import { CoreStateUtils } from '../interfaces/UtilsInterface';
|
2
2
|
export declare const FlowerStateUtils: CoreStateUtils;
|
3
|
-
export declare const
|
3
|
+
export declare const generateData: (data: Record<string, any>) => {
|
4
4
|
isSubmitted: any;
|
5
5
|
isDirty: boolean;
|
6
6
|
hasFocus: any;
|
@@ -1,5 +1,4 @@
|
|
1
|
-
import { CoreUtilitiesFunctions } from '
|
2
|
-
export declare const flattenRules: (ob: Record<string, any>) => Record<string, any>;
|
1
|
+
import { CoreUtilitiesFunctions } from '../interfaces/CoreInterface';
|
3
2
|
/**
|
4
3
|
* Defines a collection of utility functions for processing rules, nodes and graph-like structures
|
5
4
|
*/
|
package/package.json
CHANGED
@@ -1,5 +0,0 @@
|
|
1
|
-
import { ReducersFunctions } from './interfaces/ReducerInterface';
|
2
|
-
/**
|
3
|
-
* These functions are Redux reducers used in a Flux architecture for managing state transitions and updates in a Flower application.
|
4
|
-
*/
|
5
|
-
export declare const FlowerCoreReducers: ReducersFunctions;
|
@@ -1,5 +0,0 @@
|
|
1
|
-
import { FunctionRule } from './interfaces';
|
2
|
-
export declare const MatchRules: {
|
3
|
-
rulesMatcher: (rules?: Record<string, any> | Record<string, any>[] | FunctionRule, formValue?: Record<string, any>, apply?: boolean, options?: Record<string, any>) => boolean[];
|
4
|
-
utils: import("./rules-matcher/interface").RulesMatcherUtils;
|
5
|
-
};
|
File without changes
|