procode-lowcode-core 1.0.0 → 1.0.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.
@@ -5,7 +5,7 @@ declare class UIEffectProcessor {
5
5
  private invoke;
6
6
  constructor(initialUiState: UIState, invoke: any);
7
7
  getModifiedUiSchema(): import("../UIElement/UIElementDefinations/ScreenSchema").ScreenSchema;
8
- getModifiedViewModel(): import("..").ViewModel;
8
+ getModifiedViewModel(): import("../DataModel/ViewModel").ViewModel;
9
9
  getModifiedUiState(): UIState;
10
10
  applyEffect(): void;
11
11
  private processRules;
@@ -1,17 +1,11 @@
1
1
  export { default as Core, default } from "./ApplicationStart/Core";
2
2
  export type { CoreProps } from "./ApplicationStart/Core";
3
- export * as Interfaces from './interfaces';
4
- export type { prcElement, AppState, ValueLoadType, MetaDataState } from './BasicTypes';
3
+ export { EventService } from './Services/EventService';
5
4
  export type { default as IActionFactory } from './Action/IActionFactory';
6
- export { StandardActionType } from './Action/IActionFactory';
7
5
  export type { default as IAdapterProvider } from './Adapter/IAdapterProvider';
8
- export { AdapterType } from './Adapter/IAdapterProvider';
9
- export type { IViewModelHandler, QueryFilters } from './DataModel/IViewModelHandler';
10
- export type { ViewModel } from './DataModel/ViewModel';
6
+ export type { IViewModelHandler } from './DataModel/IViewModelHandler';
11
7
  export type { IStorage } from './StorageManager/IStorage';
12
- export type { default as IValidationFactory, ValidationFcResponse } from './Validation/IValidationFactory';
13
- export { StandardValidationType } from './Validation/IValidationFactory';
8
+ export type { default as IValidationFactory } from './Validation/IValidationFactory';
9
+ export type { ISchemaReaderProvider } from './UIElement/ISchemaReaderProvider';
14
10
  export declare const coreStyles = "./Assets/styles/index.scss";
15
- export declare const coreBaseStyles = "./Assets/styles/_core-base.scss";
16
11
  export declare const getCoreStylesPath: () => string;
17
- export declare const getCoreBaseStylesPath: () => string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "procode-lowcode-core",
3
- "version": "1.0.0",
3
+ "version": "1.0.2",
4
4
  "description": "ProCode Core Library - React framework for low-code applications",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",
@@ -56,7 +56,9 @@
56
56
  "react-dom": "^18.2.0",
57
57
  "react-dotenv": "^0.1.3",
58
58
  "react-redux": "^8.0.5",
59
- "react-router-dom": "^6.6.1"
59
+ "react-router-dom": "^6.6.1",
60
+ "axios": "^1.6.7",
61
+ "redux-saga": "^1.2.3"
60
62
  },
61
63
  "devDependencies": {
62
64
  "@rollup/plugin-commonjs": "^26.0.1",
@@ -64,7 +66,7 @@
64
66
  "@rollup/plugin-node-resolve": "^15.2.3",
65
67
  "@types/react": "^18.0.26",
66
68
  "@types/react-dom": "^18.0.9",
67
- "@vitejs/plugin-react": "^3.0.0",
69
+ "@vitejs/plugin-react": "^5.0.4",
68
70
  "rimraf": "^5.0.10",
69
71
  "rollup": "^4.18.0",
70
72
  "rollup-plugin-copy": "^3.5.0",
@@ -73,6 +75,6 @@
73
75
  "rollup-plugin-typescript2": "^0.36.0",
74
76
  "sass": "^1.38.0",
75
77
  "typescript": "^4.9.3",
76
- "vite": "^4.0.0"
78
+ "vite": "^7.1.9"
77
79
  }
78
80
  }
package/src/index.ts CHANGED
@@ -5,36 +5,29 @@
5
5
  export { default as Core, default } from "./ApplicationStart/Core";
6
6
  export type { CoreProps } from "./ApplicationStart/Core";
7
7
 
8
- // Interfaces and Types Export
9
- export * as Interfaces from './interfaces';
10
-
11
- // Individual Key Exports for Direct Import
12
- // Basic Types
13
- export type { prcElement, AppState, ValueLoadType, MetaDataState } from './BasicTypes';
8
+ // Event Service (if needed for external usage)
9
+ export { EventService } from './Services/EventService';
14
10
 
15
11
  // Action Interfaces
16
12
  export type { default as IActionFactory } from './Action/IActionFactory';
17
- export { StandardActionType } from './Action/IActionFactory';
18
13
 
19
- // Adapter Interfaces
14
+ // Adapter Interfaces
20
15
  export type { default as IAdapterProvider } from './Adapter/IAdapterProvider';
21
- export { AdapterType } from './Adapter/IAdapterProvider';
22
16
 
23
17
  // Data Model Interfaces
24
- export type { IViewModelHandler, QueryFilters } from './DataModel/IViewModelHandler';
25
- export type { ViewModel } from './DataModel/ViewModel';
18
+ export type { IViewModelHandler } from './DataModel/IViewModelHandler';
26
19
 
27
20
  // Storage Interface
28
21
  export type { IStorage } from './StorageManager/IStorage';
29
22
 
30
23
  // Validation Interfaces
31
- export type { default as IValidationFactory, ValidationFcResponse } from './Validation/IValidationFactory';
32
- export { StandardValidationType } from './Validation/IValidationFactory';
24
+ export type { default as IValidationFactory } from './Validation/IValidationFactory';
25
+
26
+ // Schema Reader Interface
27
+ export type { ISchemaReaderProvider } from './UIElement/ISchemaReaderProvider';
33
28
 
34
29
  // Core Styles Path (for SCSS imports)
35
30
  export const coreStyles = './Assets/styles/index.scss';
36
- export const coreBaseStyles = './Assets/styles/_core-base.scss';
37
31
 
38
32
  // Utility function to get styles path
39
33
  export const getCoreStylesPath = () => coreStyles;
40
- export const getCoreBaseStylesPath = () => coreBaseStyles;
@@ -1,32 +0,0 @@
1
- export type { prcElement, AppState, ValueLoadType, MetaDataState } from './BasicTypes';
2
- export { ScreenUIType } from './BasicTypes/Enum';
3
- export type { default as IActionFactory } from './Action/IActionFactory';
4
- export { StandardActionType } from './Action/IActionFactory';
5
- export type { default as IAdapterProvider, ScreenMapper } from './Adapter/IAdapterProvider';
6
- export { AdapterType } from './Adapter/IAdapterProvider';
7
- export type { IViewModelHandler, QueryFilters } from './DataModel/IViewModelHandler';
8
- export type { ViewModel } from './DataModel/ViewModel';
9
- export type { IStorage } from './StorageManager/IStorage';
10
- export type { default as IValidationFactory, ValidationFcResponse } from './Validation/IValidationFactory';
11
- export { StandardValidationType } from './Validation/IValidationFactory';
12
- export type { ISchemaReaderProvider } from './UIElement/ISchemaReaderProvider';
13
- export type { BaseScreenElement, Style, ToolTip, Label, HelperText, ExecuteMode } from './UIElement/UIElementDefinations/BaseScreenElement';
14
- export type { CompositeScreenElement } from './UIElement/UIElementDefinations/CompositeScreenElement';
15
- export type { ScreenElement } from './UIElement/UIElementDefinations/ScreenElement';
16
- export type { ScreenSchema, Expression, Condition, Rule, RuleInterpreter } from './UIElement/UIElementDefinations/ScreenSchema';
17
- export type { WidgetElement } from './UIElement/UIElementDefinations/Elements/WidgetElement';
18
- export type { IteratorElement } from './UIElement/UIElementDefinations/Elements/IteratorElement';
19
- export type { ContainerElement } from './UIElement/UIElementDefinations/Elements/ContainerElement';
20
- export type { CellElement } from './UIElement/UIElementDefinations/Elements/CellElement';
21
- export type { FormElement } from './UIElement/UIElementDefinations/Elements/FormElement';
22
- export type { LayoutElement } from './UIElement/UIElementDefinations/Elements/LayoutElement';
23
- export type { DrawerElement } from './UIElement/UIElementDefinations/Elements/DrawerElement';
24
- export type { OffsetProps } from './UIElement/UIElementDefinations/Elements/OffsetElement';
25
- export type { ApiConfig, ResponseConfig, AlertType } from './UIElement/UIElementDefinations/ApiConfig';
26
- export type { ResponseFormat } from './Services/helpers/coreResponseFormatter';
27
- export type { CustomAxiosRequestConfig } from './Services/CentralService';
28
- export type { CoreProps } from './ApplicationStart/Core';
29
- export type { UIState } from './RuleInterpreter/Types';
30
- export { ValueReplacePolicy } from './RuleInterpreter/Enums';
31
- export { EventService } from './Services/EventService';
32
- export type { ValidationFcProperties } from './Validation/Types';
package/src/interfaces.ts DELETED
@@ -1,84 +0,0 @@
1
- // ProCode Core - Comprehensive Interface Exports
2
- // This file exports all interfaces, types, and enums for external usage
3
-
4
- // Basic Types
5
- export type { prcElement, AppState, ValueLoadType, MetaDataState } from './BasicTypes';
6
- export { ScreenUIType } from './BasicTypes/Enum';
7
-
8
- // Action Interfaces
9
- export type { default as IActionFactory } from './Action/IActionFactory';
10
- export { StandardActionType } from './Action/IActionFactory';
11
-
12
- // Adapter Interfaces
13
- export type { default as IAdapterProvider, ScreenMapper } from './Adapter/IAdapterProvider';
14
- export { AdapterType } from './Adapter/IAdapterProvider';
15
-
16
- // Data Model Interfaces
17
- export type { IViewModelHandler, QueryFilters } from './DataModel/IViewModelHandler';
18
- export type { ViewModel } from './DataModel/ViewModel';
19
-
20
- // Storage Interfaces
21
- export type { IStorage } from './StorageManager/IStorage';
22
-
23
- // Validation Interfaces
24
- export type { default as IValidationFactory, ValidationFcResponse } from './Validation/IValidationFactory';
25
- export { StandardValidationType } from './Validation/IValidationFactory';
26
-
27
- // Schema Reader Interface
28
- export type { ISchemaReaderProvider } from './UIElement/ISchemaReaderProvider';
29
-
30
- // UI Element Definitions
31
- export type {
32
- BaseScreenElement,
33
- Style,
34
- ToolTip,
35
- Label,
36
- HelperText,
37
- ExecuteMode
38
- } from './UIElement/UIElementDefinations/BaseScreenElement';
39
-
40
- export type { CompositeScreenElement } from './UIElement/UIElementDefinations/CompositeScreenElement';
41
-
42
- export type { ScreenElement } from './UIElement/UIElementDefinations/ScreenElement';
43
-
44
- export type {
45
- ScreenSchema,
46
- Expression,
47
- Condition,
48
- Rule,
49
- RuleInterpreter
50
- } from './UIElement/UIElementDefinations/ScreenSchema';
51
-
52
- // Element Types
53
- export type { WidgetElement } from './UIElement/UIElementDefinations/Elements/WidgetElement';
54
- export type { IteratorElement } from './UIElement/UIElementDefinations/Elements/IteratorElement';
55
- export type { ContainerElement } from './UIElement/UIElementDefinations/Elements/ContainerElement';
56
- export type { CellElement } from './UIElement/UIElementDefinations/Elements/CellElement';
57
- export type { FormElement } from './UIElement/UIElementDefinations/Elements/FormElement';
58
- export type { LayoutElement } from './UIElement/UIElementDefinations/Elements/LayoutElement';
59
- export type { DrawerElement } from './UIElement/UIElementDefinations/Elements/DrawerElement';
60
- export type { OffsetProps } from './UIElement/UIElementDefinations/Elements/OffsetElement';
61
-
62
- // API Configuration
63
- export type {
64
- ApiConfig,
65
- ResponseConfig,
66
- AlertType
67
- } from './UIElement/UIElementDefinations/ApiConfig';
68
-
69
- // Service Interfaces
70
- export type { ResponseFormat } from './Services/helpers/coreResponseFormatter';
71
- export type { CustomAxiosRequestConfig } from './Services/CentralService';
72
-
73
- // Core Props (Main Component Interface)
74
- export type { CoreProps } from './ApplicationStart/Core';
75
-
76
- // Rule Interpreter Types
77
- export type { UIState } from './RuleInterpreter/Types';
78
- export { ValueReplacePolicy } from './RuleInterpreter/Enums';
79
-
80
- // Event Service (if needed for external usage)
81
- export { EventService } from './Services/EventService';
82
-
83
- // Validation Types
84
- export type { ValidationFcProperties } from './Validation/Types';