@sankhyalabs/sankhyablocks 1.0.5 → 1.0.8
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 +6 -1
- package/dist/index.js +17129 -0
- package/dist/index.js.map +1 -0
- package/{build → dist}/types/application/AppParameterProvider.d.ts +0 -0
- package/{build → dist}/types/application/SankhyaAppProvider.d.ts +3 -2
- package/{build → dist}/types/http/fetchers/application-config-fetcher.d.ts +0 -0
- package/dist/types/http/fetchers/dataunit-fetcher.d.ts +10 -0
- package/{build → dist}/types/http/fetchers/form-config-fetcher.d.ts +0 -0
- package/{build → dist}/types/http/fetchers/grid-config-fetcher.d.ts +0 -0
- package/{build → dist}/types/http/fetchers/parameters-fecher.d.ts +0 -0
- package/{build → dist}/types/index.d.ts +1 -0
- package/{build → dist}/types/utils/urlutils.d.ts +0 -0
- package/{build → dist}/types/workspace/workspace.d.ts +0 -0
- package/package.json +6 -5
- package/tsconfig.json +1 -1
- package/build/index.js +0 -9176
- package/build/index.js.map +0 -1
- package/build/types/http/fetchers/dataunit-fetcher.d.ts +0 -10
|
File without changes
|
|
@@ -2,9 +2,10 @@ import { DataUnit } from "@sankhyalabs/core";
|
|
|
2
2
|
import ApplicationUtils from "@sankhyalabs/ezui/dist/types/utils/ApplicationUtils";
|
|
3
3
|
import AppParameterProvider from "./AppParameterProvider";
|
|
4
4
|
export default class SankhyaAppProvider extends ApplicationUtils {
|
|
5
|
-
private static
|
|
6
|
-
private static
|
|
5
|
+
private static _urlParams;
|
|
6
|
+
private static _dataUnitByEntity;
|
|
7
7
|
private static _parameters;
|
|
8
|
+
private static _dataUnitFetcher;
|
|
8
9
|
static get parameters(): AppParameterProvider;
|
|
9
10
|
static getResourceID(defaultValue?: string): string;
|
|
10
11
|
static temOpcional(opcional: string): boolean;
|
|
File without changes
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { DataUnit } from "@sankhyalabs/core";
|
|
2
|
+
export default class DataUnitFetcher {
|
|
3
|
+
private templateByQuery;
|
|
4
|
+
constructor();
|
|
5
|
+
private buldTemplates;
|
|
6
|
+
getDataUnit(entityName: string, resourceID: string): DataUnit;
|
|
7
|
+
private loadMetadata;
|
|
8
|
+
private loadData;
|
|
9
|
+
private saveData;
|
|
10
|
+
}
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
@@ -2,3 +2,4 @@ import SankhyaAppProvider from "./application/SankhyaAppProvider";
|
|
|
2
2
|
import DataUnitFetcher from "./http/fetchers/dataunit-fetcher";
|
|
3
3
|
import ApplicationConfigFetcher from "./http/fetchers/application-config-fetcher";
|
|
4
4
|
export { SankhyaAppProvider, DataUnitFetcher, ApplicationConfigFetcher };
|
|
5
|
+
export * from "@sankhyalabs/core";
|
|
File without changes
|
|
File without changes
|
package/package.json
CHANGED
|
@@ -1,12 +1,13 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sankhyalabs/sankhyablocks",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.8",
|
|
4
4
|
"description": "Projeto para integração do design system ez-ui com as regras de negocio/framework do ERP Sankhya",
|
|
5
|
-
"main": "
|
|
6
|
-
"types": "
|
|
5
|
+
"main": "dist/index.js",
|
|
6
|
+
"types": "dist/types/index.d.ts",
|
|
7
7
|
"scripts": {
|
|
8
8
|
"start": "webpack serve --config webpack.config.demo.js",
|
|
9
9
|
"build": "webpack && tsc",
|
|
10
|
+
"dev": "set isDev=true&& tsc && webpack",
|
|
10
11
|
"build:demo": "webpack --config webpack.config.demo.js",
|
|
11
12
|
"test": "jest --silent",
|
|
12
13
|
"coverage": "npm run test -- --coverage",
|
|
@@ -25,6 +26,7 @@
|
|
|
25
26
|
"utils"
|
|
26
27
|
],
|
|
27
28
|
"devDependencies": {
|
|
29
|
+
"@sankhyalabs/core": "^1.0.32",
|
|
28
30
|
"@babel/cli": "^7.17.6",
|
|
29
31
|
"@babel/core": "^7.17.9",
|
|
30
32
|
"@babel/plugin-proposal-class-properties": "^7.16.0",
|
|
@@ -73,8 +75,7 @@
|
|
|
73
75
|
]
|
|
74
76
|
},
|
|
75
77
|
"dependencies": {
|
|
76
|
-
"@sankhyalabs/
|
|
77
|
-
"@sankhyalabs/ezui": "^1.1.77",
|
|
78
|
+
"@sankhyalabs/ezui": "^1.1.81",
|
|
78
79
|
"graphql-request": "^4.2.0"
|
|
79
80
|
}
|
|
80
81
|
}
|