@gisce/react-ooui 2.0.0-alpha.15 → 2.0.0-alpha.17

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,6 +1,6 @@
1
1
  {
2
2
  "name": "@gisce/react-ooui",
3
- "version": "2.0.0-alpha.15",
3
+ "version": "2.0.0-alpha.17",
4
4
  "engines": {
5
5
  "node": "20.5.0"
6
6
  },
@@ -35,7 +35,7 @@
35
35
  "dependencies": {
36
36
  "@ant-design/plots": "^1.0.9",
37
37
  "@gisce/fiber-diagram": "^1.1.0-rc.3",
38
- "@gisce/ooui": "^0.22.3",
38
+ "@gisce/ooui": "1.0.0-alpha.1",
39
39
  "@gisce/react-formiga-components": "^1.0.9-rc.21",
40
40
  "@gisce/react-formiga-table": "^0.8.6",
41
41
  "@monaco-editor/react": "^4.4.5",
@@ -102,6 +102,7 @@
102
102
  "storybook": "^7.4.6",
103
103
  "typescript": "^5.0.4",
104
104
  "vite": "4.4.8",
105
+ "vite-bundle-visualizer": "^0.10.0",
105
106
  "vite-plugin-dts": "^3.6.0",
106
107
  "vite-plugin-package-version": "1.0.2",
107
108
  "vite-tsconfig-paths": "3.5.0"
@@ -1014,7 +1014,7 @@ function Form(props: FormProps, ref: any) {
1014
1014
  let mustBlockButtons = false;
1015
1015
 
1016
1016
  try {
1017
- if (formHasChanges() || getCurrentId() === undefined) {
1017
+ if (!readOnly && (formHasChanges() || getCurrentId() === undefined)) {
1018
1018
  mustBlockButtons = true;
1019
1019
  updateOperationInProgress(true);
1020
1020
  if (submitMode === "2many") {