@vuu-ui/vuu-data-react 4.0.0-alpha.1 → 4.0.0-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/package.json
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"version": "4.0.0-alpha.
|
|
2
|
+
"version": "4.0.0-alpha.11",
|
|
3
3
|
"main": "./src/index.js",
|
|
4
4
|
"author": "heswell",
|
|
5
5
|
"type": "module",
|
|
@@ -11,25 +11,25 @@
|
|
|
11
11
|
"type-defs": "node ../../scripts/build-type-defs.mjs"
|
|
12
12
|
},
|
|
13
13
|
"devDependencies": {
|
|
14
|
-
"@vuu-ui/vuu-data-types": "4.0.0-alpha.
|
|
15
|
-
"@vuu-ui/vuu-filter-types": "4.0.0-alpha.
|
|
16
|
-
"@vuu-ui/vuu-protocol-types": "4.0.0-alpha.
|
|
17
|
-
"@vuu-ui/vuu-table-types": "4.0.0-alpha.
|
|
14
|
+
"@vuu-ui/vuu-data-types": "4.0.0-alpha.11",
|
|
15
|
+
"@vuu-ui/vuu-filter-types": "4.0.0-alpha.11",
|
|
16
|
+
"@vuu-ui/vuu-protocol-types": "4.0.0-alpha.11",
|
|
17
|
+
"@vuu-ui/vuu-table-types": "4.0.0-alpha.11"
|
|
18
18
|
},
|
|
19
19
|
"dependencies": {
|
|
20
|
-
"@vuu-ui/vuu-context-menu": "4.0.0-alpha.
|
|
21
|
-
"@vuu-ui/vuu-data-remote": "4.0.0-alpha.
|
|
22
|
-
"@vuu-ui/vuu-filter-parser": "4.0.0-alpha.
|
|
23
|
-
"@vuu-ui/vuu-filters": "4.0.0-alpha.
|
|
24
|
-
"@vuu-ui/vuu-layout": "4.0.0-alpha.
|
|
25
|
-
"@vuu-ui/vuu-notifications": "4.0.0-alpha.
|
|
26
|
-
"@vuu-ui/vuu-ui-controls": "4.0.0-alpha.
|
|
27
|
-
"@vuu-ui/vuu-utils": "4.0.0-alpha.
|
|
28
|
-
"@vuu-ui/vuu-table": "4.0.0-alpha.
|
|
20
|
+
"@vuu-ui/vuu-context-menu": "4.0.0-alpha.11",
|
|
21
|
+
"@vuu-ui/vuu-data-remote": "4.0.0-alpha.11",
|
|
22
|
+
"@vuu-ui/vuu-filter-parser": "4.0.0-alpha.11",
|
|
23
|
+
"@vuu-ui/vuu-filters": "4.0.0-alpha.11",
|
|
24
|
+
"@vuu-ui/vuu-layout": "4.0.0-alpha.11",
|
|
25
|
+
"@vuu-ui/vuu-notifications": "4.0.0-alpha.11",
|
|
26
|
+
"@vuu-ui/vuu-ui-controls": "4.0.0-alpha.11",
|
|
27
|
+
"@vuu-ui/vuu-utils": "4.0.0-alpha.11",
|
|
28
|
+
"@vuu-ui/vuu-table": "4.0.0-alpha.11",
|
|
29
29
|
"@salt-ds/core": "1.67.0",
|
|
30
30
|
"@salt-ds/styles": "0.2.1",
|
|
31
31
|
"@salt-ds/window": "0.1.1",
|
|
32
|
-
"@vuu-ui/core": "4.0.0-alpha.
|
|
32
|
+
"@vuu-ui/core": "4.0.0-alpha.11"
|
|
33
33
|
},
|
|
34
34
|
"peerDependencies": {
|
|
35
35
|
"clsx": "^2.0.0",
|
|
@@ -44,6 +44,7 @@
|
|
|
44
44
|
"exports": {
|
|
45
45
|
".": {
|
|
46
46
|
"import": "./src/index.js",
|
|
47
|
+
"default": "./src/index.js",
|
|
47
48
|
"types": "./types/index.d.ts"
|
|
48
49
|
}
|
|
49
50
|
},
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { jsx } from "react/jsx-runtime";
|
|
2
|
+
import { useModal } from "@vuu-ui/core";
|
|
2
3
|
import { Range, buildColumnMap, dataSourceRowToEntity, messageHasDataRows, queryClosest } from "@vuu-ui/vuu-utils";
|
|
3
4
|
import { Button } from "@salt-ds/core";
|
|
4
5
|
import { useCallback, useMemo, useRef, useState } from "react";
|
|
5
6
|
import { UnsavedChangesReport } from "./UnsavedChangesReport.js";
|
|
6
7
|
import { buildValidationChecker, getEditValidationRules } from "./edit-rule-validation-checker.js";
|
|
7
8
|
import { CLEAN_FORM, buildFormEditState } from "./form-edit-state.js";
|
|
8
|
-
import { useModal } from "@vuu-ui/vuu-ui-controls";
|
|
9
9
|
const CLEAN_VALIDATION = {
|
|
10
10
|
ok: true,
|
|
11
11
|
messages: {}
|
|
@@ -5,9 +5,9 @@ import { getFilterPredicate } from "@vuu-ui/vuu-filter-parser";
|
|
|
5
5
|
import { NotificationType, useNotifications } from "@vuu-ui/vuu-notifications";
|
|
6
6
|
import { BulkEditPanel, isTableLocation } from "@vuu-ui/vuu-table";
|
|
7
7
|
import { getLayoutComponent, isActionMessage, isCustomComponentActionMessage, isSessionTableActionMessage, useData } from "@vuu-ui/vuu-utils";
|
|
8
|
+
import { useModal } from "@vuu-ui/core";
|
|
8
9
|
import { useCallback } from "react";
|
|
9
10
|
import { SessionEditingForm } from "../session-editing-form/index.js";
|
|
10
|
-
import { useModal } from "@vuu-ui/vuu-ui-controls";
|
|
11
11
|
const isRoot = (menu)=>"ROOT" === menu.name;
|
|
12
12
|
const isCellMenu = (options)=>"cell" === options.context;
|
|
13
13
|
const isRowMenu = (options)=>"row" === options.context;
|