Skip to content

Commit 14184e1

Browse files
authored
Export row from table package (#2124)
* export Row from table package * bump vuu ui library packages 1.0.2 * suppress ts warning about global types
1 parent 9cb9232 commit 14184e1

30 files changed

Lines changed: 2496 additions & 394 deletions

File tree

vuu-ui/package-lock.json

Lines changed: 2316 additions & 232 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

vuu-ui/packages/grid-layout/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@heswell/grid-layout",
3-
"version": "1.0.1",
3+
"version": "1.0.2",
44
"description": "VUU Layout Components",
55
"main": "src/index.ts",
66
"author": "heswell",
@@ -12,7 +12,7 @@
1212
},
1313
"types": "src/index.ts",
1414
"dependencies": {
15-
"@vuu-ui/vuu-utils": "1.0.1",
15+
"@vuu-ui/vuu-utils": "1.0.2",
1616
"@salt-ds/core": "1.54.1",
1717
"@salt-ds/lab": "1.0.0-alpha.83",
1818
"@salt-ds/styles": "0.2.1",

vuu-ui/packages/vuu-codemirror/package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@vuu-ui/vuu-codemirror",
3-
"version": "1.0.1",
3+
"version": "1.0.2",
44
"author": "heswell",
55
"main": "src/index.ts",
66
"license": "Apache-2.0",
@@ -11,15 +11,15 @@
1111
"lezer-generate:column": "lezer-generator --output ./src/column-expression-input/column-language-parser/generated/column-parser.js ./src/column-expression-input/column-language-parser/grammar/column.grammar"
1212
},
1313
"devDependencies": {
14-
"@vuu-ui/vuu-table-types": "1.0.1"
14+
"@vuu-ui/vuu-table-types": "1.0.2"
1515
},
1616
"dependencies": {
1717
"@codemirror/autocomplete": "^6.4.2",
1818
"@codemirror/commands": "^6.2.1",
1919
"@codemirror/language": "^6.6.0",
2020
"@codemirror/state": "^6.2.0",
2121
"@codemirror/view": "^6.9.3",
22-
"@vuu-ui/vuu-utils": "1.0.1",
22+
"@vuu-ui/vuu-utils": "1.0.2",
2323
"@lezer/common": "1.2.3",
2424
"@lezer/highlight": "^1.1.3"
2525
},

vuu-ui/packages/vuu-context-menu/package.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@vuu-ui/vuu-context-menu",
3-
"version": "1.0.1",
3+
"version": "1.0.2",
44
"author": "heswell",
55
"main": "src/index.ts",
66
"license": "Apache-2.0",
@@ -10,12 +10,12 @@
1010
"type-defs": "node ../../scripts/build-type-defs.mjs"
1111
},
1212
"devDependencies": {
13-
"@vuu-ui/vuu-data-types": "1.0.1",
14-
"@vuu-ui/vuu-protocol-types": "1.0.1",
15-
"@vuu-ui/vuu-table-types": "1.0.1"
13+
"@vuu-ui/vuu-data-types": "1.0.2",
14+
"@vuu-ui/vuu-protocol-types": "1.0.2",
15+
"@vuu-ui/vuu-table-types": "1.0.2"
1616
},
1717
"dependencies": {
18-
"@vuu-ui/vuu-utils": "1.0.1",
18+
"@vuu-ui/vuu-utils": "1.0.2",
1919
"@salt-ds/core": "1.54.1",
2020
"@salt-ds/styles": "0.2.1",
2121
"@salt-ds/window": "0.1.1"
Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@vuu-ui/vuu-data-local",
3-
"version": "1.0.1",
3+
"version": "1.0.2",
44
"main": "src/index.ts",
55
"author": "heswell",
66
"license": "Apache-2.0",
@@ -11,14 +11,14 @@
1111
"type-defs": "node ../../scripts/build-type-defs.mjs"
1212
},
1313
"devDependencies": {
14-
"@vuu-ui/vuu-data-types": "1.0.1",
15-
"@vuu-ui/vuu-table-types": "1.0.1",
16-
"@vuu-ui/vuu-filter-types": "1.0.1",
17-
"@vuu-ui/vuu-protocol-types": "1.0.1"
14+
"@vuu-ui/vuu-data-types": "1.0.2",
15+
"@vuu-ui/vuu-table-types": "1.0.2",
16+
"@vuu-ui/vuu-filter-types": "1.0.2",
17+
"@vuu-ui/vuu-protocol-types": "1.0.2"
1818
},
1919
"dependencies": {
20-
"@vuu-ui/vuu-filter-parser": "1.0.1",
21-
"@vuu-ui/vuu-utils": "1.0.1"
20+
"@vuu-ui/vuu-filter-parser": "1.0.2",
21+
"@vuu-ui/vuu-utils": "1.0.2"
2222
},
2323
"sideEffects": false
2424
}

vuu-ui/packages/vuu-data-react/package.json

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@vuu-ui/vuu-data-react",
3-
"version": "1.0.1",
3+
"version": "1.0.2",
44
"main": "src/index.ts",
55
"author": "heswell",
66
"license": "Apache-2.0",
@@ -11,21 +11,21 @@
1111
"type-defs": "node ../../scripts/build-type-defs.mjs"
1212
},
1313
"devDependencies": {
14-
"@vuu-ui/vuu-data-types": "1.0.1",
15-
"@vuu-ui/vuu-filter-types": "1.0.1",
16-
"@vuu-ui/vuu-protocol-types": "1.0.1",
17-
"@vuu-ui/vuu-table-types": "1.0.1"
14+
"@vuu-ui/vuu-data-types": "1.0.2",
15+
"@vuu-ui/vuu-filter-types": "1.0.2",
16+
"@vuu-ui/vuu-protocol-types": "1.0.2",
17+
"@vuu-ui/vuu-table-types": "1.0.2"
1818
},
1919
"dependencies": {
20-
"@vuu-ui/vuu-context-menu": "1.0.1",
21-
"@vuu-ui/vuu-data-remote": "1.0.1",
22-
"@vuu-ui/vuu-filter-parser": "1.0.1",
23-
"@vuu-ui/vuu-filters": "1.0.1",
24-
"@vuu-ui/vuu-layout": "1.0.1",
25-
"@vuu-ui/vuu-notifications": "1.0.1",
26-
"@vuu-ui/vuu-ui-controls": "1.0.1",
27-
"@vuu-ui/vuu-utils": "1.0.1",
28-
"@vuu-ui/vuu-table": "1.0.1",
20+
"@vuu-ui/vuu-context-menu": "1.0.2",
21+
"@vuu-ui/vuu-data-remote": "1.0.2",
22+
"@vuu-ui/vuu-filter-parser": "1.0.2",
23+
"@vuu-ui/vuu-filters": "1.0.2",
24+
"@vuu-ui/vuu-layout": "1.0.2",
25+
"@vuu-ui/vuu-notifications": "1.0.2",
26+
"@vuu-ui/vuu-ui-controls": "1.0.2",
27+
"@vuu-ui/vuu-utils": "1.0.2",
28+
"@vuu-ui/vuu-table": "1.0.2",
2929
"@salt-ds/core": "1.54.1",
3030
"@salt-ds/styles": "0.2.1",
3131
"@salt-ds/window": "0.1.1"

vuu-ui/packages/vuu-data-react/src/datasource-provider/useAutoLoginToVuuServer.tsx

Lines changed: 18 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,21 +9,36 @@ export const useAutoLoginToVuuServer = ({
99
autoConnect = true,
1010
// autoLogin = true,
1111
secure = true,
12+
token: tokenProp = "no-token",
13+
user = "steve",
1214
websocketUrl,
1315
}: {
16+
/**
17+
* if true, auth url on vuuserver will be used to get token
18+
* auth url is "/api/authn"
19+
*/
1420
authenticate?: boolean;
21+
/**
22+
* true by default, will go ahead and open websocket connection
23+
*/
1524
autoConnect?: boolean;
1625
autoLogin?: boolean;
1726
secure?: boolean;
27+
/**
28+
* use with no authenticate step, to provide auth token.
29+
* Used when vuu server is performing no token check
30+
*/
31+
token?: string;
32+
user?: string;
1833
websocketUrl?: string;
1934
} = {}) => {
2035
const [errorMessage, setErrorMessage] = useState("");
2136
useEffect(() => {
2237
const connect = async () => {
2338
try {
24-
let token = "no-token";
39+
let token = tokenProp;
2540
if (authenticate) {
26-
const response = await vuuAuthenticate("steve", "xyz", "/api/authn");
41+
const response = await vuuAuthenticate(user, "xyz", "/api/authn");
2742
token = response.token;
2843
}
2944

@@ -50,7 +65,7 @@ export const useAutoLoginToVuuServer = ({
5065
ConnectionManager.disconnect();
5166
}
5267
};
53-
}, [authenticate, autoConnect, secure, websocketUrl]);
68+
}, [authenticate, autoConnect, secure, tokenProp, user, websocketUrl]);
5469

5570
if (errorMessage) {
5671
return (
Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@vuu-ui/vuu-data-remote",
3-
"version": "1.0.1",
3+
"version": "1.0.2",
44
"main": "src/index.ts",
55
"author": "heswell",
66
"license": "Apache-2.0",
@@ -12,13 +12,13 @@
1212
"type-defs": "node ../../scripts/build-type-defs.mjs"
1313
},
1414
"devDependencies": {
15-
"@vuu-ui/vuu-data-types": "1.0.1",
16-
"@vuu-ui/vuu-table-types": "1.0.1",
17-
"@vuu-ui/vuu-filter-types": "1.0.1",
18-
"@vuu-ui/vuu-protocol-types": "1.0.1"
15+
"@vuu-ui/vuu-data-types": "1.0.2",
16+
"@vuu-ui/vuu-table-types": "1.0.2",
17+
"@vuu-ui/vuu-filter-types": "1.0.2",
18+
"@vuu-ui/vuu-protocol-types": "1.0.2"
1919
},
2020
"dependencies": {
21-
"@vuu-ui/vuu-filter-parser": "1.0.1",
22-
"@vuu-ui/vuu-utils": "1.0.1"
21+
"@vuu-ui/vuu-filter-parser": "1.0.2",
22+
"@vuu-ui/vuu-utils": "1.0.2"
2323
}
2424
}
Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@vuu-ui/vuu-data-test",
3-
"version": "1.0.1",
3+
"version": "1.0.2",
44
"main": "src/index.ts",
55
"author": "heswell",
66
"license": "Apache-2.0",
@@ -10,13 +10,13 @@
1010
"type-defs": "node ../../scripts/build-type-defs.mjs"
1111
},
1212
"dependencies": {
13-
"@vuu-ui/vuu-data-local": "1.0.1",
14-
"@vuu-ui/vuu-utils": "1.0.1"
13+
"@vuu-ui/vuu-data-local": "1.0.2",
14+
"@vuu-ui/vuu-utils": "1.0.2"
1515
},
1616
"devDependencies": {
17-
"@vuu-ui/vuu-protocol-types": "1.0.1",
18-
"@vuu-ui/vuu-data-types": "1.0.1",
19-
"@vuu-ui/vuu-table-types": "1.0.1"
17+
"@vuu-ui/vuu-protocol-types": "1.0.2",
18+
"@vuu-ui/vuu-data-types": "1.0.2",
19+
"@vuu-ui/vuu-table-types": "1.0.2"
2020
},
2121
"sideEffects": false
2222
}

vuu-ui/packages/vuu-data-types/package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@vuu-ui/vuu-data-types",
3-
"version": "1.0.1",
3+
"version": "1.0.2",
44
"main": "",
55
"scripts": {
66
"build": "node ../../scripts/run-build-typelib.mjs"
@@ -9,8 +9,8 @@
99
"author": "heswell",
1010
"license": "Apache-2.0",
1111
"devDependencies": {
12-
"@vuu-ui/vuu-filter-types": "1.0.1",
13-
"@vuu-ui/vuu-protocol-types": "1.0.1"
12+
"@vuu-ui/vuu-filter-types": "1.0.2",
13+
"@vuu-ui/vuu-protocol-types": "1.0.2"
1414
},
1515
"dependencies": {},
1616
"peerDependencies": {}

0 commit comments

Comments
 (0)