@archbase/core 3.0.0 → 3.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.
- package/dist/context/ArchbaseAppContext.d.ts +1 -1
- package/dist/context/ArchbaseGlobalProvider.d.ts +1 -2
- package/dist/context/ArchbaseSimpleAppContext.d.ts +1 -1
- package/dist/errorboundary/ArchbaseErrorBoundary.d.ts +2 -2
- package/dist/errorboundary/ArchbaseErrorBoundaryContext.d.ts +1 -1
- package/dist/errorboundary/index.d.ts +6 -6
- package/dist/errorboundary/types.d.ts +1 -1
- package/dist/fallback/ArchbaseSafeMigrationWrapper.d.ts +2 -10
- package/dist/hooks/ArchbaseDepencyManager.d.ts +1 -55
- package/dist/hooks/lifecycle/index.d.ts +4 -4
- package/dist/hooks/useArchbasePassiveLayoutEffect.d.ts +1 -1
- package/dist/hooks/useArchbasePasswordRemember.d.ts +3 -3
- package/dist/hooks/useArchbaseResizeObserver.d.ts +1 -1
- package/dist/index.d.ts +1 -3
- package/dist/locales/config.d.ts +0 -3
- package/dist/locales/en/translation.json.d.ts +627 -0
- package/dist/locales/es/translation.json.d.ts +536 -0
- package/dist/locales/pt-BR/translation.json.d.ts +628 -0
- package/dist/rsql/parser/lexer/LexerProcessor.d.ts +2 -2
- package/dist/types/types.d.ts +1 -1
- package/dist/utils/deepFilter.d.ts +1 -1
- package/dist/utils/deepFind.d.ts +1 -1
- package/dist/utils/deepForEach.d.ts +1 -1
- package/dist/utils/deepMap.d.ts +1 -1
- package/dist/utils/filter.d.ts +1 -1
- package/dist/utils/getElementName.d.ts +1 -1
- package/dist/utils/groupByType.d.ts +1 -1
- package/dist/utils/hasChildren.d.ts +1 -1
- package/dist/utils/hasComplexChildren.d.ts +1 -1
- package/dist/utils/onlyText.d.ts +1 -1
- package/dist/utils/onlyValid.d.ts +1 -1
- package/dist/validator/ArchbaseValidator.d.ts +1 -1
- package/package.json +8 -7
- package/dist/archbase-core-3.0.0.tgz +0 -0
package/dist/utils/deepMap.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { ReactNode } from 'react';
|
|
2
2
|
export declare const deepMap: (children: ReactNode | ReactNode[], deepMapFn: (child: ReactNode, index?: number, children?: ReactNode[]) => ReactNode) => ReactNode[];
|
package/dist/utils/filter.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { ReactNode } from 'react';
|
|
2
2
|
export declare const filter: (children: ReactNode | ReactNode[], filterFn: (child: ReactNode, index?: number, children?: ReactNode[]) => boolean) => ReactNode[];
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { ReactNode } from 'react';
|
|
2
2
|
export declare const getElementName: (element: ReactNode) => string | null;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { ComponentClass, FunctionComponent, ReactNode } from 'react';
|
|
2
2
|
export declare const groupByType: (children: ReactNode | ReactNode[], types?: (ComponentClass<any> | FunctionComponent | string)[], rest?: string) => Record<string, ReactNode[]>;
|
package/dist/utils/onlyText.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { ReactNode } from 'react';
|
|
2
2
|
export declare const onlyValid: (children: ReactNode | ReactNode[]) => ReactNode[];
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { ValidatorOptions, ValidationError } from './index';
|
|
1
2
|
export interface DataSourceValidationError {
|
|
2
3
|
errorMessage: string;
|
|
3
4
|
debugMessage: string;
|
|
@@ -6,7 +7,6 @@ export interface DataSourceValidationError {
|
|
|
6
7
|
export interface IDataSourceValidator {
|
|
7
8
|
validateEntity<T>(value: T): DataSourceValidationError[];
|
|
8
9
|
}
|
|
9
|
-
import { ValidatorOptions, ValidationError } from './index';
|
|
10
10
|
export declare class ArchbaseValidator implements IDataSourceValidator {
|
|
11
11
|
constructor();
|
|
12
12
|
validateEntity<T>(value: T): DataSourceValidationError[];
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@archbase/core",
|
|
3
|
-
"version": "3.0.
|
|
3
|
+
"version": "3.0.2",
|
|
4
4
|
"description": "Core utilities and foundation for Archbase React v3",
|
|
5
5
|
"author": "Edson Martins <edsonmartins2005@gmail.com>",
|
|
6
6
|
"license": "MIT",
|
|
@@ -36,8 +36,8 @@
|
|
|
36
36
|
"@mantine/modals": "8.3.12",
|
|
37
37
|
"@mantine/notifications": "8.3.12",
|
|
38
38
|
"@mantine/spotlight": "8.3.12",
|
|
39
|
-
"react": "^18.3.0 || ^19.
|
|
40
|
-
"react-dom": "^18.3.0 || ^19.
|
|
39
|
+
"react": "^18.3.0 || ^19.2.0",
|
|
40
|
+
"react-dom": "^18.3.0 || ^19.2.0"
|
|
41
41
|
},
|
|
42
42
|
"dependencies": {
|
|
43
43
|
"@juggle/resize-observer": "^3.4.0",
|
|
@@ -65,20 +65,21 @@
|
|
|
65
65
|
"validator": "^13.11.0"
|
|
66
66
|
},
|
|
67
67
|
"devDependencies": {
|
|
68
|
-
"@types/react": "^19.0.
|
|
68
|
+
"@types/react": "^19.0.6",
|
|
69
69
|
"@types/react-dom": "^19.0.2",
|
|
70
70
|
"@types/validator": "^13.15.10",
|
|
71
71
|
"@vitejs/plugin-react": "^4.3.4",
|
|
72
|
-
"react": "^19.
|
|
73
|
-
"react-dom": "^19.
|
|
72
|
+
"react": "^19.2.3",
|
|
73
|
+
"react-dom": "^19.2.3",
|
|
74
74
|
"typescript": "~5.7.2",
|
|
75
75
|
"vite": "^6.0.3",
|
|
76
|
+
"vite-plugin-dts": "^4.5.4",
|
|
76
77
|
"vite-plugin-external": "^6.2.2",
|
|
77
78
|
"vitest": "^2.1.8"
|
|
78
79
|
},
|
|
79
80
|
"scripts": {
|
|
80
81
|
"dev": "NODE_OPTIONS=\"--max-old-space-size=16384\" vite build --watch",
|
|
81
|
-
"build": "NODE_OPTIONS=\"--max-old-space-size=16384\" vite build
|
|
82
|
+
"build": "NODE_OPTIONS=\"--max-old-space-size=16384\" vite build",
|
|
82
83
|
"test": "vitest run",
|
|
83
84
|
"test:watch": "vitest",
|
|
84
85
|
"test:coverage": "vitest run --coverage",
|
|
Binary file
|