@vuu-ui/vuu-data-react 0.8.86 → 0.8.87
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/cjs/datasource-provider/VuuDataSourceProvider.js +20 -0
- package/cjs/datasource-provider/VuuDataSourceProvider.js.map +1 -0
- package/cjs/index.js +2 -0
- package/cjs/index.js.map +1 -1
- package/esm/datasource-provider/VuuDataSourceProvider.js +18 -0
- package/esm/datasource-provider/VuuDataSourceProvider.js.map +1 -0
- package/esm/index.js +1 -0
- package/esm/index.js.map +1 -1
- package/package.json +12 -12
- package/types/datasource-provider/index.d.ts +1 -0
- package/types/index.d.ts +1 -0
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
var jsxRuntime = require('react/jsx-runtime');
|
|
4
|
+
var vuuDataRemote = require('@vuu-ui/vuu-data-remote');
|
|
5
|
+
var vuuUtils = require('@vuu-ui/vuu-utils');
|
|
6
|
+
|
|
7
|
+
const VuuDataSourceProvider = ({
|
|
8
|
+
children
|
|
9
|
+
}) => /* @__PURE__ */ jsxRuntime.jsx(
|
|
10
|
+
vuuUtils.DataSourceProvider,
|
|
11
|
+
{
|
|
12
|
+
VuuDataSource: vuuDataRemote.VuuDataSource,
|
|
13
|
+
getServerAPI: vuuDataRemote.getServerAPI,
|
|
14
|
+
isLocalData: false,
|
|
15
|
+
children
|
|
16
|
+
}
|
|
17
|
+
);
|
|
18
|
+
|
|
19
|
+
exports.VuuDataSourceProvider = VuuDataSourceProvider;
|
|
20
|
+
//# sourceMappingURL=VuuDataSourceProvider.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"VuuDataSourceProvider.js","sources":["../../src/datasource-provider/VuuDataSourceProvider.tsx"],"sourcesContent":["import { VuuDataSource, getServerAPI } from \"@vuu-ui/vuu-data-remote\";\nimport { DataSourceProvider } from \"@vuu-ui/vuu-utils\";\nimport { ReactNode } from \"react\";\n\nexport const VuuDataSourceProvider = ({\n children\n}: {\n children: ReactNode;\n}) => (\n <DataSourceProvider\n VuuDataSource={VuuDataSource}\n getServerAPI={getServerAPI}\n isLocalData={false}\n >\n {children}\n </DataSourceProvider>\n);\n"],"names":["jsx","DataSourceProvider","VuuDataSource","getServerAPI"],"mappings":";;;;;;AAIO,MAAM,wBAAwB,CAAC;AAAA,EACpC,QAAA;AACF,CAGE,qBAAAA,cAAA;AAAA,EAACC,2BAAA;AAAA,EAAA;AAAA,mBACCC,2BAAA;AAAA,kBACAC,0BAAA;AAAA,IACA,WAAa,EAAA,KAAA;AAAA,IAEZ,QAAA;AAAA,GAAA;AACH;;;;"}
|
package/cjs/index.js
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
var dateEditingUtils = require('./data-editing/date-editing-utils.js');
|
|
4
|
+
var VuuDataSourceProvider = require('./datasource-provider/VuuDataSourceProvider.js');
|
|
4
5
|
var useLookupValues = require('./hooks/useLookupValues.js');
|
|
5
6
|
var useVuuMenuActions = require('./hooks/useVuuMenuActions.js');
|
|
6
7
|
var useVuuTables = require('./hooks/useVuuTables.js');
|
|
@@ -12,6 +13,7 @@ var SessionEditingForm = require('./session-editing-form/SessionEditingForm.js')
|
|
|
12
13
|
|
|
13
14
|
|
|
14
15
|
exports.getDataItemEditControl = dateEditingUtils.getDataItemEditControl;
|
|
16
|
+
exports.VuuDataSourceProvider = VuuDataSourceProvider.VuuDataSourceProvider;
|
|
15
17
|
exports.useLookupValues = useLookupValues.useLookupValues;
|
|
16
18
|
exports.useVuuMenuActions = useVuuMenuActions.useVuuMenuActions;
|
|
17
19
|
exports.useVuuTables = useVuuTables.useVuuTables;
|
package/cjs/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { jsx } from 'react/jsx-runtime';
|
|
2
|
+
import { VuuDataSource, getServerAPI } from '@vuu-ui/vuu-data-remote';
|
|
3
|
+
import { DataSourceProvider } from '@vuu-ui/vuu-utils';
|
|
4
|
+
|
|
5
|
+
const VuuDataSourceProvider = ({
|
|
6
|
+
children
|
|
7
|
+
}) => /* @__PURE__ */ jsx(
|
|
8
|
+
DataSourceProvider,
|
|
9
|
+
{
|
|
10
|
+
VuuDataSource,
|
|
11
|
+
getServerAPI,
|
|
12
|
+
isLocalData: false,
|
|
13
|
+
children
|
|
14
|
+
}
|
|
15
|
+
);
|
|
16
|
+
|
|
17
|
+
export { VuuDataSourceProvider };
|
|
18
|
+
//# sourceMappingURL=VuuDataSourceProvider.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"VuuDataSourceProvider.js","sources":["../../src/datasource-provider/VuuDataSourceProvider.tsx"],"sourcesContent":["import { VuuDataSource, getServerAPI } from \"@vuu-ui/vuu-data-remote\";\nimport { DataSourceProvider } from \"@vuu-ui/vuu-utils\";\nimport { ReactNode } from \"react\";\n\nexport const VuuDataSourceProvider = ({\n children\n}: {\n children: ReactNode;\n}) => (\n <DataSourceProvider\n VuuDataSource={VuuDataSource}\n getServerAPI={getServerAPI}\n isLocalData={false}\n >\n {children}\n </DataSourceProvider>\n);\n"],"names":[],"mappings":";;;;AAIO,MAAM,wBAAwB,CAAC;AAAA,EACpC,QAAA;AACF,CAGE,qBAAA,GAAA;AAAA,EAAC,kBAAA;AAAA,EAAA;AAAA,IACC,aAAA;AAAA,IACA,YAAA;AAAA,IACA,WAAa,EAAA,KAAA;AAAA,IAEZ,QAAA;AAAA,GAAA;AACH;;;;"}
|
package/esm/index.js
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
export { getDataItemEditControl } from './data-editing/date-editing-utils.js';
|
|
2
|
+
export { VuuDataSourceProvider } from './datasource-provider/VuuDataSourceProvider.js';
|
|
2
3
|
export { useLookupValues } from './hooks/useLookupValues.js';
|
|
3
4
|
export { useVuuMenuActions } from './hooks/useVuuMenuActions.js';
|
|
4
5
|
export { useVuuTables } from './hooks/useVuuTables.js';
|
package/esm/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;"}
|
package/package.json
CHANGED
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
{
|
|
2
|
-
"version": "0.8.
|
|
2
|
+
"version": "0.8.87",
|
|
3
3
|
"author": "heswell",
|
|
4
4
|
"license": "Apache-2.0",
|
|
5
5
|
"devDependencies": {
|
|
6
|
-
"@vuu-ui/vuu-data-types": "0.8.
|
|
7
|
-
"@vuu-ui/vuu-filter-types": "0.8.
|
|
8
|
-
"@vuu-ui/vuu-popups": "0.8.
|
|
9
|
-
"@vuu-ui/vuu-protocol-types": "0.8.
|
|
10
|
-
"@vuu-ui/vuu-table-types": "0.8.
|
|
6
|
+
"@vuu-ui/vuu-data-types": "0.8.87",
|
|
7
|
+
"@vuu-ui/vuu-filter-types": "0.8.87",
|
|
8
|
+
"@vuu-ui/vuu-popups": "0.8.87",
|
|
9
|
+
"@vuu-ui/vuu-protocol-types": "0.8.87",
|
|
10
|
+
"@vuu-ui/vuu-table-types": "0.8.87"
|
|
11
11
|
},
|
|
12
12
|
"dependencies": {
|
|
13
|
-
"@vuu-ui/vuu-data-remote": "0.8.
|
|
14
|
-
"@vuu-ui/vuu-filter-parser": "0.8.
|
|
15
|
-
"@vuu-ui/vuu-popups": "0.8.
|
|
16
|
-
"@vuu-ui/vuu-ui-controls": "0.8.
|
|
17
|
-
"@vuu-ui/vuu-utils": "0.8.
|
|
18
|
-
"@vuu-ui/vuu-table": "0.8.
|
|
13
|
+
"@vuu-ui/vuu-data-remote": "0.8.87",
|
|
14
|
+
"@vuu-ui/vuu-filter-parser": "0.8.87",
|
|
15
|
+
"@vuu-ui/vuu-popups": "0.8.87",
|
|
16
|
+
"@vuu-ui/vuu-ui-controls": "0.8.87",
|
|
17
|
+
"@vuu-ui/vuu-utils": "0.8.87",
|
|
18
|
+
"@vuu-ui/vuu-table": "0.8.87",
|
|
19
19
|
"@salt-ds/core": "1.34.0",
|
|
20
20
|
"@salt-ds/styles": "0.2.1",
|
|
21
21
|
"@salt-ds/window": "0.1.1"
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./VuuDataSourceProvider";
|