@cxbox-ui/core 1.37.2-alpha.1 → 1.37.2-alpha.11
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/actions/index.d.ts +14 -18
- package/dist/api/ObservableApi.d.ts +10 -2
- package/dist/api/ObservableApiWrapper.d.ts +1 -1
- package/dist/cxbox-ui-core.cjs.development.js +956 -500
- package/dist/cxbox-ui-core.cjs.production.min.js +1 -1
- package/dist/cxbox-ui-core.esm.js +799 -335
- package/dist/cxbox-ui-core.modern.development.js +788 -331
- package/dist/cxbox-ui-core.modern.js +788 -331
- package/dist/cxbox-ui-core.modern.production.min.js +1 -1
- package/dist/epics/screen/apiErrorEpic.d.ts +0 -1
- package/dist/index.d.ts +1 -0
- package/dist/interfaces/bc.d.ts +5 -4
- package/dist/interfaces/session.d.ts +1 -0
- package/dist/interfaces/widget.d.ts +2 -1
- package/dist/middlewares/autosaveMiddleware.d.ts +2 -17
- package/dist/middlewares/index.d.ts +2 -12
- package/dist/middlewares/popupMiddleware.d.ts +2 -0
- package/dist/middlewares/preInvokeMiddleware.d.ts +2 -5
- package/dist/middlewares/requiredFieldsMiddleware.d.ts +3 -6
- package/dist/utils/api.d.ts +1 -10
- package/dist/utils/apiError.d.ts +19 -0
- package/dist/utils/bc.d.ts +1 -1
- package/dist/utils/cancelRequestEpic.d.ts +1 -1
- package/dist/utils/combineMiddlewares.d.ts +1 -12
- package/dist/utils/filters.d.ts +2 -2
- package/dist/utils/index.d.ts +1 -0
- package/dist/utils/strings.d.ts +2 -2
- package/package.json +2 -2
package/dist/utils/filters.d.ts
CHANGED
|
@@ -33,7 +33,7 @@ export declare function getSorters(sorters: BcSorter[]): Record<string, string>;
|
|
|
33
33
|
* @param defaultFilters string representation of filters
|
|
34
34
|
* @category Utils
|
|
35
35
|
*/
|
|
36
|
-
export declare function parseFilters(defaultFilters
|
|
36
|
+
export declare function parseFilters(defaultFilters?: string): BcFilter[];
|
|
37
37
|
/**
|
|
38
38
|
* Parse sorter string into separate sorter objects.
|
|
39
39
|
* String representation of sorters is url based:
|
|
@@ -48,7 +48,7 @@ export declare function parseFilters(defaultFilters: string): BcFilter[];
|
|
|
48
48
|
* @param sorters string representation of sorters
|
|
49
49
|
* @category Utils
|
|
50
50
|
*/
|
|
51
|
-
export declare function parseSorters(sorters
|
|
51
|
+
export declare function parseSorters(sorters?: string): BcSorter[];
|
|
52
52
|
/**
|
|
53
53
|
* Returns appropriate filtration type for specified field type.
|
|
54
54
|
*
|
package/dist/utils/index.d.ts
CHANGED
package/dist/utils/strings.d.ts
CHANGED
|
@@ -13,10 +13,10 @@ export declare function getTemplate(literals: TemplateStringsArray, ...placehold
|
|
|
13
13
|
*
|
|
14
14
|
* @param bcName Business component name
|
|
15
15
|
* @param includeSelf If result hierarchy should include target bc or only ancestors
|
|
16
|
-
* @param
|
|
16
|
+
* @param state
|
|
17
17
|
* @category Utils
|
|
18
18
|
*/
|
|
19
|
-
export declare function buildBcUrl(bcName: string, includeSelf
|
|
19
|
+
export declare function buildBcUrl(bcName: string, includeSelf: boolean, state: Store): string;
|
|
20
20
|
export declare function splitBcUrl(bcUrl: string): string[];
|
|
21
21
|
/**
|
|
22
22
|
* If there is a template in the field name then returns the formatted string
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cxbox-ui/core",
|
|
3
|
-
"version": "1.37.2-alpha.
|
|
3
|
+
"version": "1.37.2-alpha.11",
|
|
4
4
|
"description": "CXBox RTK business logic",
|
|
5
5
|
"author": "cxbox",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -23,7 +23,7 @@
|
|
|
23
23
|
"format:check": "prettier --list-different \"(src|examples)/**/*.{ts,tsx}\" \"docs/*/**.md\"",
|
|
24
24
|
"lint": "eslint src",
|
|
25
25
|
"test": "jest --runInBand",
|
|
26
|
-
"type-tests": "yarn tsc -p src/tests/tsconfig.typetests.
|
|
26
|
+
"type-tests": "yarn tsc -p src/tests/tsconfig.typetests.json",
|
|
27
27
|
"prepack": "npm run build-prepare",
|
|
28
28
|
"gen:schema": "node ./node_modules/@cxbox-ui/schema/bin/build-schema"
|
|
29
29
|
},
|