nuudel-core 0.4.3 → 0.4.6
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 +1 -1
- package/build/main/lib/common/helper.d.ts +1 -1
- package/build/main/lib/controls/formFields/RNFieldBooleanEdit.d.ts +1 -1
- package/build/main/lib/controls/formFields/RNFieldChoiceEdit.d.ts +1 -1
- package/build/main/lib/controls/formFields/RNFieldDateEdit.d.ts +1 -1
- package/build/main/lib/controls/formFields/RNFieldImageEdit.d.ts +1 -1
- package/build/main/lib/controls/formFields/RNFieldLookupEdit.d.ts +1 -1
- package/build/main/lib/controls/formFields/RNFieldNumberEdit.d.ts +1 -1
- package/build/main/lib/controls/formFields/RNFieldObjectEdit.d.ts +1 -1
- package/build/main/lib/controls/formFields/RNFieldTextEdit.d.ts +1 -1
- package/build/main/lib/controls/formFields/RNFieldUrlEdit.d.ts +1 -1
- package/build/main/lib/services/fetcher.d.ts +0 -1
- package/build/main/lib/services/fetcher.js +1 -2
- package/build/module/lib/common/helper.d.ts +1 -1
- package/build/module/lib/controls/formFields/RNFieldBooleanEdit.d.ts +1 -1
- package/build/module/lib/controls/formFields/RNFieldChoiceEdit.d.ts +1 -1
- package/build/module/lib/controls/formFields/RNFieldDateEdit.d.ts +1 -1
- package/build/module/lib/controls/formFields/RNFieldImageEdit.d.ts +1 -1
- package/build/module/lib/controls/formFields/RNFieldLookupEdit.d.ts +1 -1
- package/build/module/lib/controls/formFields/RNFieldNumberEdit.d.ts +1 -1
- package/build/module/lib/controls/formFields/RNFieldObjectEdit.d.ts +1 -1
- package/build/module/lib/controls/formFields/RNFieldTextEdit.d.ts +1 -1
- package/build/module/lib/controls/formFields/RNFieldUrlEdit.d.ts +1 -1
- package/build/module/lib/services/fetcher.d.ts +0 -1
- package/build/module/lib/services/fetcher.js +1 -2
- package/package.json +3 -4
package/README.md
CHANGED
|
@@ -24,7 +24,7 @@ git config --global push.default current
|
|
|
24
24
|
|
|
25
25
|
# npm
|
|
26
26
|
|
|
27
|
-
export NODE_AUTH_TOKEN=
|
|
27
|
+
export NODE_AUTH_TOKEN=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
|
|
28
28
|
npm login --registry=https://npm.pkg.github.com --scope=c0des1gn
|
|
29
29
|
npm login --registry=registry.npmjs.org
|
|
30
30
|
yarn
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export declare const signOut: (router?: any, option?: any) => boolean;
|
|
2
|
-
export declare const getNewToken: () => Promise<import("@apollo/client").
|
|
2
|
+
export declare const getNewToken: () => Promise<import("@apollo/client").InteropApolloQueryResult<any>>;
|
|
3
3
|
export declare const onErrors: ({ graphQLErrors, networkError, operation, forward, }: {
|
|
4
4
|
graphQLErrors: any;
|
|
5
5
|
networkError: any;
|
|
@@ -11,9 +11,9 @@ declare const _default: import("react-redux").ConnectedComponent<React.FunctionC
|
|
|
11
11
|
active?: boolean;
|
|
12
12
|
client: any;
|
|
13
13
|
listname: string;
|
|
14
|
-
value: any;
|
|
15
14
|
disabled?: boolean;
|
|
16
15
|
required?: boolean;
|
|
16
|
+
value: any;
|
|
17
17
|
description?: string;
|
|
18
18
|
valueChanged: (newValue: any) => void;
|
|
19
19
|
errorMessage?: string;
|
|
@@ -11,9 +11,9 @@ declare const _default: import("react-redux").ConnectedComponent<React.FunctionC
|
|
|
11
11
|
active?: boolean;
|
|
12
12
|
client: any;
|
|
13
13
|
listname: string;
|
|
14
|
-
value: any;
|
|
15
14
|
disabled?: boolean;
|
|
16
15
|
required?: boolean;
|
|
16
|
+
value: any;
|
|
17
17
|
description?: string;
|
|
18
18
|
valueChanged: (newValue: any) => void;
|
|
19
19
|
errorMessage?: string;
|
|
@@ -12,9 +12,9 @@ declare const _default: import("react-redux").ConnectedComponent<React.FunctionC
|
|
|
12
12
|
active?: boolean;
|
|
13
13
|
client: any;
|
|
14
14
|
listname: string;
|
|
15
|
-
value: any;
|
|
16
15
|
disabled?: boolean;
|
|
17
16
|
required?: boolean;
|
|
17
|
+
value: any;
|
|
18
18
|
description?: string;
|
|
19
19
|
valueChanged: (newValue: any) => void;
|
|
20
20
|
errorMessage?: string;
|
|
@@ -10,9 +10,9 @@ declare const _default: import("react-redux").ConnectedComponent<React.FunctionC
|
|
|
10
10
|
active?: boolean;
|
|
11
11
|
client: any;
|
|
12
12
|
listname: string;
|
|
13
|
-
value: any;
|
|
14
13
|
disabled?: boolean;
|
|
15
14
|
required?: boolean;
|
|
15
|
+
value: any;
|
|
16
16
|
description?: string;
|
|
17
17
|
valueChanged: (newValue: any) => void;
|
|
18
18
|
errorMessage?: string;
|
|
@@ -10,9 +10,9 @@ declare const _default: import("react-redux").ConnectedComponent<React.FunctionC
|
|
|
10
10
|
active?: boolean;
|
|
11
11
|
client: any;
|
|
12
12
|
listname: string;
|
|
13
|
-
value: any;
|
|
14
13
|
disabled?: boolean;
|
|
15
14
|
required?: boolean;
|
|
15
|
+
value: any;
|
|
16
16
|
description?: string;
|
|
17
17
|
valueChanged: (newValue: any) => void;
|
|
18
18
|
errorMessage?: string;
|
|
@@ -11,9 +11,9 @@ declare const _default: import("react-redux").ConnectedComponent<React.FunctionC
|
|
|
11
11
|
active?: boolean;
|
|
12
12
|
client: any;
|
|
13
13
|
listname: string;
|
|
14
|
-
value: any;
|
|
15
14
|
disabled?: boolean;
|
|
16
15
|
required?: boolean;
|
|
16
|
+
value: any;
|
|
17
17
|
description?: string;
|
|
18
18
|
valueChanged: (newValue: any) => void;
|
|
19
19
|
errorMessage?: string;
|
|
@@ -11,9 +11,9 @@ declare const _default: import("react-redux").ConnectedComponent<React.FunctionC
|
|
|
11
11
|
active?: boolean;
|
|
12
12
|
client: any;
|
|
13
13
|
listname: string;
|
|
14
|
-
value: any;
|
|
15
14
|
disabled?: boolean;
|
|
16
15
|
required?: boolean;
|
|
16
|
+
value: any;
|
|
17
17
|
description?: string;
|
|
18
18
|
valueChanged: (newValue: any) => void;
|
|
19
19
|
errorMessage?: string;
|
|
@@ -11,9 +11,9 @@ declare const _default: import("react-redux").ConnectedComponent<React.FunctionC
|
|
|
11
11
|
active?: boolean;
|
|
12
12
|
client: any;
|
|
13
13
|
listname: string;
|
|
14
|
-
value: any;
|
|
15
14
|
disabled?: boolean;
|
|
16
15
|
required?: boolean;
|
|
16
|
+
value: any;
|
|
17
17
|
description?: string;
|
|
18
18
|
valueChanged: (newValue: any) => void;
|
|
19
19
|
errorMessage?: string;
|
|
@@ -11,9 +11,9 @@ declare const _default: import("react-redux").ConnectedComponent<React.FunctionC
|
|
|
11
11
|
active?: boolean;
|
|
12
12
|
client: any;
|
|
13
13
|
listname: string;
|
|
14
|
-
value: any;
|
|
15
14
|
disabled?: boolean;
|
|
16
15
|
required?: boolean;
|
|
16
|
+
value: any;
|
|
17
17
|
description?: string;
|
|
18
18
|
valueChanged: (newValue: any) => void;
|
|
19
19
|
errorMessage?: string;
|
|
@@ -7,7 +7,6 @@ exports.fetcher = void 0;
|
|
|
7
7
|
const axios_1 = __importDefault(require("axios"));
|
|
8
8
|
const UI_1 = require("../common/UI");
|
|
9
9
|
const nuudel_utils_1 = require("nuudel-utils");
|
|
10
|
-
require("../common/envConfig");
|
|
11
10
|
const pathname = 'api/graphql';
|
|
12
11
|
const fetcher = async (query, variables = {}, headers = {}) => {
|
|
13
12
|
var _a, _b, _c;
|
|
@@ -26,4 +25,4 @@ const fetcher = async (query, variables = {}, headers = {}) => {
|
|
|
26
25
|
}).then((res) => res.data);
|
|
27
26
|
};
|
|
28
27
|
exports.fetcher = fetcher;
|
|
29
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
28
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZmV0Y2hlci5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL3NyYy9saWIvc2VydmljZXMvZmV0Y2hlci50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7Ozs7QUFBQ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
|
|
1
1
|
export declare const signOut: (router?: any, option?: any) => boolean;
|
|
2
|
-
export declare const getNewToken: () => Promise<import("@apollo/client").
|
|
2
|
+
export declare const getNewToken: () => Promise<import("@apollo/client").InteropApolloQueryResult<any>>;
|
|
3
3
|
export declare const onErrors: ({ graphQLErrors, networkError, operation, forward, }: {
|
|
4
4
|
graphQLErrors: any;
|
|
5
5
|
networkError: any;
|
|
@@ -11,9 +11,9 @@ declare const _default: import("react-redux").ConnectedComponent<React.FunctionC
|
|
|
11
11
|
active?: boolean;
|
|
12
12
|
client: any;
|
|
13
13
|
listname: string;
|
|
14
|
-
value: any;
|
|
15
14
|
disabled?: boolean;
|
|
16
15
|
required?: boolean;
|
|
16
|
+
value: any;
|
|
17
17
|
description?: string;
|
|
18
18
|
valueChanged: (newValue: any) => void;
|
|
19
19
|
errorMessage?: string;
|
|
@@ -11,9 +11,9 @@ declare const _default: import("react-redux").ConnectedComponent<React.FunctionC
|
|
|
11
11
|
active?: boolean;
|
|
12
12
|
client: any;
|
|
13
13
|
listname: string;
|
|
14
|
-
value: any;
|
|
15
14
|
disabled?: boolean;
|
|
16
15
|
required?: boolean;
|
|
16
|
+
value: any;
|
|
17
17
|
description?: string;
|
|
18
18
|
valueChanged: (newValue: any) => void;
|
|
19
19
|
errorMessage?: string;
|
|
@@ -12,9 +12,9 @@ declare const _default: import("react-redux").ConnectedComponent<React.FunctionC
|
|
|
12
12
|
active?: boolean;
|
|
13
13
|
client: any;
|
|
14
14
|
listname: string;
|
|
15
|
-
value: any;
|
|
16
15
|
disabled?: boolean;
|
|
17
16
|
required?: boolean;
|
|
17
|
+
value: any;
|
|
18
18
|
description?: string;
|
|
19
19
|
valueChanged: (newValue: any) => void;
|
|
20
20
|
errorMessage?: string;
|
|
@@ -10,9 +10,9 @@ declare const _default: import("react-redux").ConnectedComponent<React.FunctionC
|
|
|
10
10
|
active?: boolean;
|
|
11
11
|
client: any;
|
|
12
12
|
listname: string;
|
|
13
|
-
value: any;
|
|
14
13
|
disabled?: boolean;
|
|
15
14
|
required?: boolean;
|
|
15
|
+
value: any;
|
|
16
16
|
description?: string;
|
|
17
17
|
valueChanged: (newValue: any) => void;
|
|
18
18
|
errorMessage?: string;
|
|
@@ -10,9 +10,9 @@ declare const _default: import("react-redux").ConnectedComponent<React.FunctionC
|
|
|
10
10
|
active?: boolean;
|
|
11
11
|
client: any;
|
|
12
12
|
listname: string;
|
|
13
|
-
value: any;
|
|
14
13
|
disabled?: boolean;
|
|
15
14
|
required?: boolean;
|
|
15
|
+
value: any;
|
|
16
16
|
description?: string;
|
|
17
17
|
valueChanged: (newValue: any) => void;
|
|
18
18
|
errorMessage?: string;
|
|
@@ -11,9 +11,9 @@ declare const _default: import("react-redux").ConnectedComponent<React.FunctionC
|
|
|
11
11
|
active?: boolean;
|
|
12
12
|
client: any;
|
|
13
13
|
listname: string;
|
|
14
|
-
value: any;
|
|
15
14
|
disabled?: boolean;
|
|
16
15
|
required?: boolean;
|
|
16
|
+
value: any;
|
|
17
17
|
description?: string;
|
|
18
18
|
valueChanged: (newValue: any) => void;
|
|
19
19
|
errorMessage?: string;
|
|
@@ -11,9 +11,9 @@ declare const _default: import("react-redux").ConnectedComponent<React.FunctionC
|
|
|
11
11
|
active?: boolean;
|
|
12
12
|
client: any;
|
|
13
13
|
listname: string;
|
|
14
|
-
value: any;
|
|
15
14
|
disabled?: boolean;
|
|
16
15
|
required?: boolean;
|
|
16
|
+
value: any;
|
|
17
17
|
description?: string;
|
|
18
18
|
valueChanged: (newValue: any) => void;
|
|
19
19
|
errorMessage?: string;
|
|
@@ -11,9 +11,9 @@ declare const _default: import("react-redux").ConnectedComponent<React.FunctionC
|
|
|
11
11
|
active?: boolean;
|
|
12
12
|
client: any;
|
|
13
13
|
listname: string;
|
|
14
|
-
value: any;
|
|
15
14
|
disabled?: boolean;
|
|
16
15
|
required?: boolean;
|
|
16
|
+
value: any;
|
|
17
17
|
description?: string;
|
|
18
18
|
valueChanged: (newValue: any) => void;
|
|
19
19
|
errorMessage?: string;
|
|
@@ -11,9 +11,9 @@ declare const _default: import("react-redux").ConnectedComponent<React.FunctionC
|
|
|
11
11
|
active?: boolean;
|
|
12
12
|
client: any;
|
|
13
13
|
listname: string;
|
|
14
|
-
value: any;
|
|
15
14
|
disabled?: boolean;
|
|
16
15
|
required?: boolean;
|
|
16
|
+
value: any;
|
|
17
17
|
description?: string;
|
|
18
18
|
valueChanged: (newValue: any) => void;
|
|
19
19
|
errorMessage?: string;
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import axios from 'axios';
|
|
2
2
|
import { UI } from '../common/UI';
|
|
3
3
|
import { isServer } from 'nuudel-utils';
|
|
4
|
-
import '../common/envConfig';
|
|
5
4
|
const pathname = 'api/graphql';
|
|
6
5
|
export const fetcher = async (query, variables = {}, headers = {}) => axios({
|
|
7
6
|
url: `${process?.env?.NEXT_PUBLIC_WEB || ''}/${pathname}`,
|
|
@@ -19,4 +18,4 @@ export const fetcher = async (query, variables = {}, headers = {}) => axios({
|
|
|
19
18
|
...headers,
|
|
20
19
|
},
|
|
21
20
|
}).then((res) => res.data);
|
|
22
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
21
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZmV0Y2hlci5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL3NyYy9saWIvc2VydmljZXMvZmV0Y2hlci50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEtBQUssTUFBTSxPQUFPLENBQUM7QUFDMUIsT0FBTyxFQUFFLEVBQUUsRUFBRSxNQUFNLGNBQWMsQ0FBQztBQUNsQyxPQUFPLEVBQUUsUUFBUSxFQUFFLE1BQU0sY0FBYyxDQUFDO0FBRXhDLE1BQU0sUUFBUSxHQUFXLGFBQWEsQ0FBQztBQUV2QyxNQUFNLENBQUMsTUFBTSxPQUFPLEdBQUcsS0FBSyxFQUMxQixLQUFhLEVBQ2IsWUFBaUIsRUFBRSxFQUNuQixVQUFlLEVBQUUsRUFDakIsRUFBRSxDQUNGLEtBQUssQ0FBQztJQUNKLEdBQUcsRUFBRSxHQUFHLE9BQU8sRUFBRSxHQUFHLEVBQUUsZUFBZSxJQUFJLEVBQUUsSUFBSSxRQUFRLEVBQUU7SUFDekQsTUFBTSxFQUFFLE1BQU07SUFDZCxJQUFJLEVBQUU7UUFDSixLQUFLLEVBQUUsS0FBSztRQUNaLFNBQVMsRUFBRSxTQUFTO0tBQ3JCO0lBQ0QsT0FBTyxFQUFFO1FBQ1AsR0FBRyxDQUFDLENBQUMsUUFBUTtZQUNYLENBQUMsQ0FBQyxNQUFNLEVBQUUsQ0FBQyxPQUFPLEVBQUU7WUFDcEIsQ0FBQyxDQUFDLENBQUMsT0FBTyxFQUFFLEdBQUcsRUFBRSxLQUFLO2dCQUN0QixDQUFDLENBQUMsRUFBRTtnQkFDSixDQUFDLENBQUMsRUFBRSxhQUFhLEVBQUUsVUFBVSxPQUFPLEVBQUUsR0FBRyxFQUFFLEtBQUssRUFBRSxFQUFFLENBQUM7UUFDdkQsR0FBRyxPQUFPO0tBQ1g7Q0FDRixDQUFDLENBQUMsSUFBSSxDQUFDLENBQUMsR0FBRyxFQUFFLEVBQUUsQ0FBQyxHQUFHLENBQUMsSUFBSSxDQUFDLENBQUMifQ==
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "nuudel-core",
|
|
3
|
-
"version": "0.4.
|
|
3
|
+
"version": "0.4.6",
|
|
4
4
|
"description": "Web components for react with material UI",
|
|
5
5
|
"main": "build/main/index.js",
|
|
6
6
|
"typings": "build/main/index.d.ts",
|
|
@@ -57,14 +57,13 @@
|
|
|
57
57
|
"postversion": "git push && git push --tags"
|
|
58
58
|
},
|
|
59
59
|
"dependencies": {
|
|
60
|
-
"@apollo/client": "^3.8.
|
|
60
|
+
"@apollo/client": "^3.8.10",
|
|
61
61
|
"@apollo/react-hooks": "^4.0.0",
|
|
62
62
|
"@ckeditor/ckeditor5-build-classic": "38.1.1",
|
|
63
63
|
"@ckeditor/ckeditor5-react": "6.1.0",
|
|
64
64
|
"@ckeditor/ckeditor5-source-editing": "38.1.1",
|
|
65
65
|
"@dnd-kit/core": "^6.0.8",
|
|
66
66
|
"@dnd-kit/sortable": "^7.0.2",
|
|
67
|
-
"@next/env": "^16.2.0",
|
|
68
67
|
"graphql": "^16.13.1",
|
|
69
68
|
"graphql-2-json-schema": "^0.10.0",
|
|
70
69
|
"graphql-tag": "^2.12.6",
|
|
@@ -127,7 +126,7 @@
|
|
|
127
126
|
"swr": "^2.1.5"
|
|
128
127
|
},
|
|
129
128
|
"resolutions": {
|
|
130
|
-
"@apollo/react-hooks/@apollo/client": "^3.8.
|
|
129
|
+
"@apollo/react-hooks/@apollo/client": "^3.8.10"
|
|
131
130
|
},
|
|
132
131
|
"files": [
|
|
133
132
|
"build/main",
|