@wavemaker/react-runtime 11.15.3-rc.647481 → 11.15.4-rc.647493
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/components/basic/richtexteditor/index.js +53 -9
- package/components/chart/index.js +2 -11
- package/components/common/AppSpinner.js +4 -1
- package/components/container/panel/components/panel-content/index.js +18 -0
- package/components/container/wizard/index.js +1 -1
- package/components/data/form/base-form/index.js +156 -105
- package/components/data/form/form-context.js +17 -1
- package/components/data/form/form-controller/hooks/index.js +127 -0
- package/components/data/form/form-controller/utils.js +52 -1
- package/components/data/form/form-controller/withFormController.js +10 -162
- package/components/data/form/form-dynamic-section/index.js +46 -0
- package/components/data/form/form-dynamic-section/props.js +5 -0
- package/components/data/form/index.js +5 -0
- package/components/data/list/hooks/useListEffects.js +10 -3
- package/components/data/list/hooks/useListEventHandlers.js +20 -15
- package/components/data/list/index.js +7 -8
- package/components/data/list/utils/list-helpers.js +21 -1
- package/components/data/list/utils/list-widget-methods.js +2 -0
- package/components/data/list/utils/widget-instance-utils.js +82 -0
- package/components/data/pagination/components/BasicPagination.js +1 -0
- package/components/data/pagination/components/PageSizeSelector.js +11 -3
- package/components/data/pagination/index.js +1 -2
- package/components/data/table/hooks/useServerSideSorting.js +10 -16
- package/components/data/table/index.js +55 -57
- package/components/data/table/utils/buildSelectionColumns.js +23 -32
- package/components/data/table/utils/index.js +7 -2
- package/components/dialogs/index.js +6 -0
- package/components/input/default/checkbox/index.js +5 -2
- package/components/input/epoch/date/components/DatePickerPopover.js +17 -2
- package/components/input/epoch/date/index.js +21 -17
- package/components/input/epoch/datetime/index.js +2 -4
- package/components/navigation/popover/index.js +8 -21
- package/components/page/partial-container/index.js +19 -1
- package/context/WidgetProvider.js +28 -14
- package/core/proxy-service.js +1 -2
- package/core/util/compare.js +6 -0
- package/higherOrder/BasePage.js +1 -1
- package/higherOrder/withBaseWrapper.js +22 -8
- package/libs/index.js +3 -10
- package/libs/prefab/index.js +20 -0
- package/package-lock.json +111 -82
- package/package.json +2 -2
- package/utils/lib-error-skipper.js +5 -2
- package/utils/state-persistance.js +42 -33
- package/utils/widget-cleanup-util.js +30 -0
- package/variables/live-variable.js +18 -0
package/package-lock.json
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wavemaker/react-runtime",
|
|
3
|
-
"version": "11.15.
|
|
3
|
+
"version": "11.15.4-rc.647493",
|
|
4
4
|
"lockfileVersion": 3,
|
|
5
5
|
"requires": true,
|
|
6
6
|
"packages": {
|
|
7
7
|
"": {
|
|
8
8
|
"name": "@wavemaker/react-runtime",
|
|
9
|
-
"version": "11.15.
|
|
9
|
+
"version": "11.15.4-rc.647493",
|
|
10
10
|
"license": "MIT",
|
|
11
11
|
"dependencies": {
|
|
12
12
|
"@base-ui-components/react": "1.0.0-alpha.8",
|
|
@@ -59,7 +59,7 @@
|
|
|
59
59
|
"@types/react": "^19.2.8",
|
|
60
60
|
"@types/react-color": "^3.0.13",
|
|
61
61
|
"@types/react-dom": "^19.2.3",
|
|
62
|
-
"@wavemaker/variables": "11.15.
|
|
62
|
+
"@wavemaker/variables": "11.15.4-rc.647493",
|
|
63
63
|
"babel-plugin-module-resolver": "^5.0.2",
|
|
64
64
|
"eslint": "^9",
|
|
65
65
|
"eslint-config-next": "15.1.4",
|
|
@@ -3211,8 +3211,8 @@
|
|
|
3211
3211
|
}
|
|
3212
3212
|
},
|
|
3213
3213
|
"node_modules/@mui/x-date-pickers": {
|
|
3214
|
-
"version": "8.28.
|
|
3215
|
-
"integrity": "sha512-
|
|
3214
|
+
"version": "8.28.5",
|
|
3215
|
+
"integrity": "sha512-cjjJAe1cbg3tAJsCBokExqkr6aWLA8orEjPy7xFm7PDMOPp7Fi/kjwLZre0BE9s/0dMKeIlqvyICOjrKZAsqpA==",
|
|
3216
3216
|
"license": "MIT",
|
|
3217
3217
|
"dependencies": {
|
|
3218
3218
|
"@babel/runtime": "^7.28.4",
|
|
@@ -3787,8 +3787,8 @@
|
|
|
3787
3787
|
}
|
|
3788
3788
|
},
|
|
3789
3789
|
"node_modules/@types/node": {
|
|
3790
|
-
"version": "20.19.
|
|
3791
|
-
"integrity": "sha512-
|
|
3790
|
+
"version": "20.19.41",
|
|
3791
|
+
"integrity": "sha512-ECymXOukMnOoVkC2bb1Vc/w/836DXncOg5m8Xj1RH7xSHZJWNYY6Zh7EH477vcnD5egKNNfy2RpNOmuChhFPgQ==",
|
|
3792
3792
|
"dev": true,
|
|
3793
3793
|
"license": "MIT",
|
|
3794
3794
|
"dependencies": {
|
|
@@ -3863,16 +3863,16 @@
|
|
|
3863
3863
|
"license": "MIT"
|
|
3864
3864
|
},
|
|
3865
3865
|
"node_modules/@typescript-eslint/eslint-plugin": {
|
|
3866
|
-
"version": "8.59.
|
|
3867
|
-
"integrity": "sha512-
|
|
3866
|
+
"version": "8.59.3",
|
|
3867
|
+
"integrity": "sha512-PwFvSKsXGShKGW6n5bZOhGHEcCZXM8HofLK9fNsEwZXzFRjoY+XT1Vsf1zgyXdwTr0ZYz1/2tkZ0DBTT9jZjhw==",
|
|
3868
3868
|
"dev": true,
|
|
3869
3869
|
"license": "MIT",
|
|
3870
3870
|
"dependencies": {
|
|
3871
3871
|
"@eslint-community/regexpp": "^4.12.2",
|
|
3872
|
-
"@typescript-eslint/scope-manager": "8.59.
|
|
3873
|
-
"@typescript-eslint/type-utils": "8.59.
|
|
3874
|
-
"@typescript-eslint/utils": "8.59.
|
|
3875
|
-
"@typescript-eslint/visitor-keys": "8.59.
|
|
3872
|
+
"@typescript-eslint/scope-manager": "8.59.3",
|
|
3873
|
+
"@typescript-eslint/type-utils": "8.59.3",
|
|
3874
|
+
"@typescript-eslint/utils": "8.59.3",
|
|
3875
|
+
"@typescript-eslint/visitor-keys": "8.59.3",
|
|
3876
3876
|
"ignore": "^7.0.5",
|
|
3877
3877
|
"natural-compare": "^1.4.0",
|
|
3878
3878
|
"ts-api-utils": "^2.5.0"
|
|
@@ -3885,7 +3885,7 @@
|
|
|
3885
3885
|
"url": "https://opencollective.com/typescript-eslint"
|
|
3886
3886
|
},
|
|
3887
3887
|
"peerDependencies": {
|
|
3888
|
-
"@typescript-eslint/parser": "^8.59.
|
|
3888
|
+
"@typescript-eslint/parser": "^8.59.3",
|
|
3889
3889
|
"eslint": "^8.57.0 || ^9.0.0 || ^10.0.0",
|
|
3890
3890
|
"typescript": ">=4.8.4 <6.1.0"
|
|
3891
3891
|
}
|
|
@@ -3900,15 +3900,15 @@
|
|
|
3900
3900
|
}
|
|
3901
3901
|
},
|
|
3902
3902
|
"node_modules/@typescript-eslint/parser": {
|
|
3903
|
-
"version": "8.59.
|
|
3904
|
-
"integrity": "sha512-
|
|
3903
|
+
"version": "8.59.3",
|
|
3904
|
+
"integrity": "sha512-HPwA+hVkfcriajbNvTmZv4VRauibay+cWArYUYq7u7W7PmGShMxbPxLvrwDme55a6d5alG3nrYfhyJ/G28XlLg==",
|
|
3905
3905
|
"dev": true,
|
|
3906
3906
|
"license": "MIT",
|
|
3907
3907
|
"dependencies": {
|
|
3908
|
-
"@typescript-eslint/scope-manager": "8.59.
|
|
3909
|
-
"@typescript-eslint/types": "8.59.
|
|
3910
|
-
"@typescript-eslint/typescript-estree": "8.59.
|
|
3911
|
-
"@typescript-eslint/visitor-keys": "8.59.
|
|
3908
|
+
"@typescript-eslint/scope-manager": "8.59.3",
|
|
3909
|
+
"@typescript-eslint/types": "8.59.3",
|
|
3910
|
+
"@typescript-eslint/typescript-estree": "8.59.3",
|
|
3911
|
+
"@typescript-eslint/visitor-keys": "8.59.3",
|
|
3912
3912
|
"debug": "^4.4.3"
|
|
3913
3913
|
},
|
|
3914
3914
|
"engines": {
|
|
@@ -3924,13 +3924,13 @@
|
|
|
3924
3924
|
}
|
|
3925
3925
|
},
|
|
3926
3926
|
"node_modules/@typescript-eslint/project-service": {
|
|
3927
|
-
"version": "8.59.
|
|
3928
|
-
"integrity": "sha512
|
|
3927
|
+
"version": "8.59.3",
|
|
3928
|
+
"integrity": "sha512-ECiUWa/KYRGDFUqTNehaRgzDshnJfkTABJxVemHk4ko22gcr0ukloKjWvyQ64g8YCV/UI47kN1dbmjf/GaQYng==",
|
|
3929
3929
|
"dev": true,
|
|
3930
3930
|
"license": "MIT",
|
|
3931
3931
|
"dependencies": {
|
|
3932
|
-
"@typescript-eslint/tsconfig-utils": "^8.59.
|
|
3933
|
-
"@typescript-eslint/types": "^8.59.
|
|
3932
|
+
"@typescript-eslint/tsconfig-utils": "^8.59.3",
|
|
3933
|
+
"@typescript-eslint/types": "^8.59.3",
|
|
3934
3934
|
"debug": "^4.4.3"
|
|
3935
3935
|
},
|
|
3936
3936
|
"engines": {
|
|
@@ -3945,13 +3945,13 @@
|
|
|
3945
3945
|
}
|
|
3946
3946
|
},
|
|
3947
3947
|
"node_modules/@typescript-eslint/scope-manager": {
|
|
3948
|
-
"version": "8.59.
|
|
3949
|
-
"integrity": "sha512-
|
|
3948
|
+
"version": "8.59.3",
|
|
3949
|
+
"integrity": "sha512-t2LvZnoEfzKtnPjgeEu41xw5gxq9mQVfYy4OoZ4Vlt0sk3JwxmhCca/AR7DwOiHrjWgjAj6as4AhRLKSDfvZIA==",
|
|
3950
3950
|
"dev": true,
|
|
3951
3951
|
"license": "MIT",
|
|
3952
3952
|
"dependencies": {
|
|
3953
|
-
"@typescript-eslint/types": "8.59.
|
|
3954
|
-
"@typescript-eslint/visitor-keys": "8.59.
|
|
3953
|
+
"@typescript-eslint/types": "8.59.3",
|
|
3954
|
+
"@typescript-eslint/visitor-keys": "8.59.3"
|
|
3955
3955
|
},
|
|
3956
3956
|
"engines": {
|
|
3957
3957
|
"node": "^18.18.0 || ^20.9.0 || >=21.1.0"
|
|
@@ -3962,8 +3962,8 @@
|
|
|
3962
3962
|
}
|
|
3963
3963
|
},
|
|
3964
3964
|
"node_modules/@typescript-eslint/tsconfig-utils": {
|
|
3965
|
-
"version": "8.59.
|
|
3966
|
-
"integrity": "sha512-
|
|
3965
|
+
"version": "8.59.3",
|
|
3966
|
+
"integrity": "sha512-PcIJHjmaREXLgIAIzLnSY9VucEzz8FKXsRgFa1DmdGCK/5tJpW03TKJF01Q6VZd1lLdz2sIKPWaDUZN9dp//dw==",
|
|
3967
3967
|
"dev": true,
|
|
3968
3968
|
"license": "MIT",
|
|
3969
3969
|
"engines": {
|
|
@@ -3978,14 +3978,14 @@
|
|
|
3978
3978
|
}
|
|
3979
3979
|
},
|
|
3980
3980
|
"node_modules/@typescript-eslint/type-utils": {
|
|
3981
|
-
"version": "8.59.
|
|
3982
|
-
"integrity": "sha512-
|
|
3981
|
+
"version": "8.59.3",
|
|
3982
|
+
"integrity": "sha512-g71d8QD8UaiHGvrJwyIS1hCX5r63w6Jll+4VEYhEAHXTDIqX1JgxhTAbEHtKntL9kuc4jRo7/GWw5xfCepSccQ==",
|
|
3983
3983
|
"dev": true,
|
|
3984
3984
|
"license": "MIT",
|
|
3985
3985
|
"dependencies": {
|
|
3986
|
-
"@typescript-eslint/types": "8.59.
|
|
3987
|
-
"@typescript-eslint/typescript-estree": "8.59.
|
|
3988
|
-
"@typescript-eslint/utils": "8.59.
|
|
3986
|
+
"@typescript-eslint/types": "8.59.3",
|
|
3987
|
+
"@typescript-eslint/typescript-estree": "8.59.3",
|
|
3988
|
+
"@typescript-eslint/utils": "8.59.3",
|
|
3989
3989
|
"debug": "^4.4.3",
|
|
3990
3990
|
"ts-api-utils": "^2.5.0"
|
|
3991
3991
|
},
|
|
@@ -4002,8 +4002,8 @@
|
|
|
4002
4002
|
}
|
|
4003
4003
|
},
|
|
4004
4004
|
"node_modules/@typescript-eslint/types": {
|
|
4005
|
-
"version": "8.59.
|
|
4006
|
-
"integrity": "sha512-
|
|
4005
|
+
"version": "8.59.3",
|
|
4006
|
+
"integrity": "sha512-ePFoH0g4ludssdRFqqDxQePCxU4WQyRa9+XVwjm7yLn0FKhMeoetC+qBEEI1Eyb1pGSDveTIT09Bvw2WhlGayg==",
|
|
4007
4007
|
"dev": true,
|
|
4008
4008
|
"license": "MIT",
|
|
4009
4009
|
"engines": {
|
|
@@ -4015,15 +4015,15 @@
|
|
|
4015
4015
|
}
|
|
4016
4016
|
},
|
|
4017
4017
|
"node_modules/@typescript-eslint/typescript-estree": {
|
|
4018
|
-
"version": "8.59.
|
|
4019
|
-
"integrity": "sha512-
|
|
4018
|
+
"version": "8.59.3",
|
|
4019
|
+
"integrity": "sha512-CbRjVRAf7Lr9Kr8RopKcbY45p2VfmmHrm0ygOCYFi7oU8q19m0Fs/6iHS7kNOmwpp+ob07ZVcAqlxUod9lYdmg==",
|
|
4020
4020
|
"dev": true,
|
|
4021
4021
|
"license": "MIT",
|
|
4022
4022
|
"dependencies": {
|
|
4023
|
-
"@typescript-eslint/project-service": "8.59.
|
|
4024
|
-
"@typescript-eslint/tsconfig-utils": "8.59.
|
|
4025
|
-
"@typescript-eslint/types": "8.59.
|
|
4026
|
-
"@typescript-eslint/visitor-keys": "8.59.
|
|
4023
|
+
"@typescript-eslint/project-service": "8.59.3",
|
|
4024
|
+
"@typescript-eslint/tsconfig-utils": "8.59.3",
|
|
4025
|
+
"@typescript-eslint/types": "8.59.3",
|
|
4026
|
+
"@typescript-eslint/visitor-keys": "8.59.3",
|
|
4027
4027
|
"debug": "^4.4.3",
|
|
4028
4028
|
"minimatch": "^10.2.2",
|
|
4029
4029
|
"semver": "^7.7.3",
|
|
@@ -4051,8 +4051,8 @@
|
|
|
4051
4051
|
}
|
|
4052
4052
|
},
|
|
4053
4053
|
"node_modules/@typescript-eslint/typescript-estree/node_modules/brace-expansion": {
|
|
4054
|
-
"version": "5.0.
|
|
4055
|
-
"integrity": "sha512-
|
|
4054
|
+
"version": "5.0.6",
|
|
4055
|
+
"integrity": "sha512-kLpxurY4Z4r9sgMsyG0Z9uzsBlgiU/EFKhj/h91/8yHu0edo7XuixOIH3VcJ8kkxs6/jPzoI6U9Vj3WqbMQ94g==",
|
|
4056
4056
|
"dev": true,
|
|
4057
4057
|
"license": "MIT",
|
|
4058
4058
|
"dependencies": {
|
|
@@ -4078,8 +4078,8 @@
|
|
|
4078
4078
|
}
|
|
4079
4079
|
},
|
|
4080
4080
|
"node_modules/@typescript-eslint/typescript-estree/node_modules/semver": {
|
|
4081
|
-
"version": "7.
|
|
4082
|
-
"integrity": "sha512-
|
|
4081
|
+
"version": "7.8.0",
|
|
4082
|
+
"integrity": "sha512-AcM7dV/5ul4EekoQ29Agm5vri8JNqRyj39o0qpX6vDF2GZrtutZl5RwgD1XnZjiTAfncsJhMI48QQH3sN87YNA==",
|
|
4083
4083
|
"dev": true,
|
|
4084
4084
|
"license": "ISC",
|
|
4085
4085
|
"bin": {
|
|
@@ -4090,15 +4090,15 @@
|
|
|
4090
4090
|
}
|
|
4091
4091
|
},
|
|
4092
4092
|
"node_modules/@typescript-eslint/utils": {
|
|
4093
|
-
"version": "8.59.
|
|
4094
|
-
"integrity": "sha512-
|
|
4093
|
+
"version": "8.59.3",
|
|
4094
|
+
"integrity": "sha512-JAvT14goBzRzzzZyqq3P9BLArIxTtQURUtFgQ/V7FO+eU+Gg6ES+5ymOPP1wRxXcxAYeivCk4uS3jCKWI1K8Zg==",
|
|
4095
4095
|
"dev": true,
|
|
4096
4096
|
"license": "MIT",
|
|
4097
4097
|
"dependencies": {
|
|
4098
4098
|
"@eslint-community/eslint-utils": "^4.9.1",
|
|
4099
|
-
"@typescript-eslint/scope-manager": "8.59.
|
|
4100
|
-
"@typescript-eslint/types": "8.59.
|
|
4101
|
-
"@typescript-eslint/typescript-estree": "8.59.
|
|
4099
|
+
"@typescript-eslint/scope-manager": "8.59.3",
|
|
4100
|
+
"@typescript-eslint/types": "8.59.3",
|
|
4101
|
+
"@typescript-eslint/typescript-estree": "8.59.3"
|
|
4102
4102
|
},
|
|
4103
4103
|
"engines": {
|
|
4104
4104
|
"node": "^18.18.0 || ^20.9.0 || >=21.1.0"
|
|
@@ -4113,12 +4113,12 @@
|
|
|
4113
4113
|
}
|
|
4114
4114
|
},
|
|
4115
4115
|
"node_modules/@typescript-eslint/visitor-keys": {
|
|
4116
|
-
"version": "8.59.
|
|
4117
|
-
"integrity": "sha512-
|
|
4116
|
+
"version": "8.59.3",
|
|
4117
|
+
"integrity": "sha512-f1UQF7ggd42YiwI5wGrRaPsa+P0CINBlrkLPmGfpq/u/I/oVtecoEIfFR9ag/oa1sLOsRNZ6xehf6qMZhQGBDg==",
|
|
4118
4118
|
"dev": true,
|
|
4119
4119
|
"license": "MIT",
|
|
4120
4120
|
"dependencies": {
|
|
4121
|
-
"@typescript-eslint/types": "8.59.
|
|
4121
|
+
"@typescript-eslint/types": "8.59.3",
|
|
4122
4122
|
"eslint-visitor-keys": "^5.0.0"
|
|
4123
4123
|
},
|
|
4124
4124
|
"engines": {
|
|
@@ -4392,8 +4392,8 @@
|
|
|
4392
4392
|
]
|
|
4393
4393
|
},
|
|
4394
4394
|
"node_modules/@wavemaker/variables": {
|
|
4395
|
-
"version": "11.15.
|
|
4396
|
-
"integrity": "sha512-
|
|
4395
|
+
"version": "11.15.4-rc.647493",
|
|
4396
|
+
"integrity": "sha512-aFE57G0iVDJTp2mbKA2uqACBWKmT7DVm+/uIOAjdO3zmsT8EwY6jRej97sSHxq06qzcuasX+A6BhNrsNNfMeIw==",
|
|
4397
4397
|
"dev": true,
|
|
4398
4398
|
"license": "ISC",
|
|
4399
4399
|
"dependencies": {
|
|
@@ -4434,6 +4434,17 @@
|
|
|
4434
4434
|
"acorn": "^6.0.0 || ^7.0.0 || ^8.0.0"
|
|
4435
4435
|
}
|
|
4436
4436
|
},
|
|
4437
|
+
"node_modules/agent-base": {
|
|
4438
|
+
"version": "6.0.2",
|
|
4439
|
+
"integrity": "sha512-RZNwNclF7+MS/8bDg70amg32dyeZGZxiDuQmZxKLAlQjr3jGyLx+4Kkk58UO7D2QdgFIQCovuSuZESne6RG6XQ==",
|
|
4440
|
+
"license": "MIT",
|
|
4441
|
+
"dependencies": {
|
|
4442
|
+
"debug": "4"
|
|
4443
|
+
},
|
|
4444
|
+
"engines": {
|
|
4445
|
+
"node": ">= 6.0.0"
|
|
4446
|
+
}
|
|
4447
|
+
},
|
|
4437
4448
|
"node_modules/ajv": {
|
|
4438
4449
|
"version": "6.15.0",
|
|
4439
4450
|
"integrity": "sha512-fgFx7Hfoq60ytK2c7DhnF8jIvzYgOMxfugjLOSMHjLIPgenqa7S7oaagATUq99mV6IYvN2tRmC0wnTYX6iPbMw==",
|
|
@@ -4727,12 +4738,13 @@
|
|
|
4727
4738
|
}
|
|
4728
4739
|
},
|
|
4729
4740
|
"node_modules/axios": {
|
|
4730
|
-
"version": "1.16.
|
|
4731
|
-
"integrity": "sha512-
|
|
4741
|
+
"version": "1.16.1",
|
|
4742
|
+
"integrity": "sha512-caYkukvroVPO8KrzuJEb50Hm07KwfBZPEC3VeFHTsqWHvKTsy54hjJz9BS/cdaypROE2rH6xvm9mHX4fgWkr3A==",
|
|
4732
4743
|
"license": "MIT",
|
|
4733
4744
|
"dependencies": {
|
|
4734
4745
|
"follow-redirects": "^1.16.0",
|
|
4735
4746
|
"form-data": "^4.0.5",
|
|
4747
|
+
"https-proxy-agent": "^5.0.1",
|
|
4736
4748
|
"proxy-from-env": "^2.1.0"
|
|
4737
4749
|
}
|
|
4738
4750
|
},
|
|
@@ -4867,8 +4879,8 @@
|
|
|
4867
4879
|
"license": "MIT"
|
|
4868
4880
|
},
|
|
4869
4881
|
"node_modules/baseline-browser-mapping": {
|
|
4870
|
-
"version": "2.10.
|
|
4871
|
-
"integrity": "sha512-
|
|
4882
|
+
"version": "2.10.29",
|
|
4883
|
+
"integrity": "sha512-Asa2krT+XTPZINCS+2QcyS8WTkObE77RwkydwF7h6DmnKqbvlalz93m/dnphUyCa6SWSP51VgtEUf2FN+gelFQ==",
|
|
4872
4884
|
"license": "Apache-2.0",
|
|
4873
4885
|
"bin": {
|
|
4874
4886
|
"baseline-browser-mapping": "dist/cli.cjs"
|
|
@@ -5506,8 +5518,8 @@
|
|
|
5506
5518
|
}
|
|
5507
5519
|
},
|
|
5508
5520
|
"node_modules/dompurify": {
|
|
5509
|
-
"version": "3.4.
|
|
5510
|
-
"integrity": "sha512-
|
|
5521
|
+
"version": "3.4.3",
|
|
5522
|
+
"integrity": "sha512-VVwJidIJcp1hpg2OMXML3ZVRPYSZiq4aX7qBh83BSIpOaRDqI+qxhXjjIWnpzkOXhmp0L81lnoME1mnCc9H48A==",
|
|
5511
5523
|
"license": "(MPL-2.0 OR Apache-2.0)",
|
|
5512
5524
|
"optionalDependencies": {
|
|
5513
5525
|
"@types/trusted-types": "^2.0.7"
|
|
@@ -5527,8 +5539,8 @@
|
|
|
5527
5539
|
}
|
|
5528
5540
|
},
|
|
5529
5541
|
"node_modules/electron-to-chromium": {
|
|
5530
|
-
"version": "1.5.
|
|
5531
|
-
"integrity": "sha512-
|
|
5542
|
+
"version": "1.5.356",
|
|
5543
|
+
"integrity": "sha512-9NgFd7m5t5MCJ5rUSjJITUXAH9mEGlrlofnMf4YEr+pz6JlP7cWmTAH+JFmbPnaSW8koVTkuW7pacORWAnA5Yw==",
|
|
5532
5544
|
"dev": true,
|
|
5533
5545
|
"license": "ISC"
|
|
5534
5546
|
},
|
|
@@ -6492,8 +6504,8 @@
|
|
|
6492
6504
|
}
|
|
6493
6505
|
},
|
|
6494
6506
|
"node_modules/get-east-asian-width": {
|
|
6495
|
-
"version": "1.
|
|
6496
|
-
"integrity": "sha512-
|
|
6507
|
+
"version": "1.6.0",
|
|
6508
|
+
"integrity": "sha512-QRbvDIbx6YklUe6RxeTeleMR0yv3cYH6PsPZHcnVn7xv7zO1BHN8r0XETu8n6Ye3Q+ahtSarc3WgtNWmehIBfA==",
|
|
6497
6509
|
"license": "MIT",
|
|
6498
6510
|
"engines": {
|
|
6499
6511
|
"node": ">=18"
|
|
@@ -6765,6 +6777,18 @@
|
|
|
6765
6777
|
"integrity": "sha512-24e6ynE2H+OKt4kqsOvNd8kBpV65zoxbA4BVsEOB3ARVWQki/DHzaUoC5KuON/BiccDaCCTZBuOcfZs70kR8bQ==",
|
|
6766
6778
|
"license": "MIT"
|
|
6767
6779
|
},
|
|
6780
|
+
"node_modules/https-proxy-agent": {
|
|
6781
|
+
"version": "5.0.1",
|
|
6782
|
+
"integrity": "sha512-dFcAjpTQFgoLMzC2VwU+C/CbS7uRL0lWmxDITmqm7C+7F0Odmj6s9l6alZc6AELXhrnggM2CeWSXHGOdX2YtwA==",
|
|
6783
|
+
"license": "MIT",
|
|
6784
|
+
"dependencies": {
|
|
6785
|
+
"agent-base": "6",
|
|
6786
|
+
"debug": "4"
|
|
6787
|
+
},
|
|
6788
|
+
"engines": {
|
|
6789
|
+
"node": ">= 6"
|
|
6790
|
+
}
|
|
6791
|
+
},
|
|
6768
6792
|
"node_modules/human-signals": {
|
|
6769
6793
|
"version": "8.0.1",
|
|
6770
6794
|
"integrity": "sha512-eKCa6bwnJhvxj14kZk5NCPc6Hb6BdsU9DZcOnmQKSnO1VKrfV0zCvtttPZUsBvjmNDn8rpcJfpwSYnHBjc95MQ==",
|
|
@@ -6963,8 +6987,8 @@
|
|
|
6963
6987
|
}
|
|
6964
6988
|
},
|
|
6965
6989
|
"node_modules/is-bun-module/node_modules/semver": {
|
|
6966
|
-
"version": "7.
|
|
6967
|
-
"integrity": "sha512-
|
|
6990
|
+
"version": "7.8.0",
|
|
6991
|
+
"integrity": "sha512-AcM7dV/5ul4EekoQ29Agm5vri8JNqRyj39o0qpX6vDF2GZrtutZl5RwgD1XnZjiTAfncsJhMI48QQH3sN87YNA==",
|
|
6968
6992
|
"dev": true,
|
|
6969
6993
|
"license": "ISC",
|
|
6970
6994
|
"bin": {
|
|
@@ -7366,11 +7390,11 @@
|
|
|
7366
7390
|
}
|
|
7367
7391
|
},
|
|
7368
7392
|
"node_modules/js-cookie": {
|
|
7369
|
-
"version": "3.0.
|
|
7370
|
-
"integrity": "sha512-
|
|
7393
|
+
"version": "3.0.6",
|
|
7394
|
+
"integrity": "sha512-mYhz0Og/Wv8bZJcBC6rRzYG+rYf8DyQSK3rcUbuGHQIgSsX6uynAIVoaPgqf0udH2AGS953hGFy3w6on1rJzMw==",
|
|
7371
7395
|
"license": "MIT",
|
|
7372
7396
|
"engines": {
|
|
7373
|
-
"node": ">=
|
|
7397
|
+
"node": ">=20"
|
|
7374
7398
|
}
|
|
7375
7399
|
},
|
|
7376
7400
|
"node_modules/js-tokens": {
|
|
@@ -7550,8 +7574,8 @@
|
|
|
7550
7574
|
}
|
|
7551
7575
|
},
|
|
7552
7576
|
"node_modules/lint-staged/node_modules/yaml": {
|
|
7553
|
-
"version": "2.
|
|
7554
|
-
"integrity": "sha512-
|
|
7577
|
+
"version": "2.9.0",
|
|
7578
|
+
"integrity": "sha512-2AvhNX3mb8zd6Zy7INTtSpl1F15HW6Wnqj0srWlkKLcpYl/gMIMJiyuGq2KeI2YFxUPjdlB+3Lc10seMLtL4cA==",
|
|
7555
7579
|
"license": "ISC",
|
|
7556
7580
|
"bin": {
|
|
7557
7581
|
"yaml": "bin.mjs"
|
|
@@ -7938,8 +7962,8 @@
|
|
|
7938
7962
|
}
|
|
7939
7963
|
},
|
|
7940
7964
|
"node_modules/node-releases": {
|
|
7941
|
-
"version": "2.0.
|
|
7942
|
-
"integrity": "sha512-
|
|
7965
|
+
"version": "2.0.44",
|
|
7966
|
+
"integrity": "sha512-5WUyunoPMsvvEhS8AxHtRzP+oA8UCkJ7YRxatWKjngndhDGLiqEVAQKWjFAiAiuL8zMRGzGSJxFnLetoa43qGQ==",
|
|
7943
7967
|
"dev": true,
|
|
7944
7968
|
"license": "MIT"
|
|
7945
7969
|
},
|
|
@@ -8614,8 +8638,8 @@
|
|
|
8614
8638
|
"license": "MIT"
|
|
8615
8639
|
},
|
|
8616
8640
|
"node_modules/react-redux": {
|
|
8617
|
-
"version": "9.
|
|
8618
|
-
"integrity": "sha512-
|
|
8641
|
+
"version": "9.3.0",
|
|
8642
|
+
"integrity": "sha512-KQopgqFo/p/fgmAs5qz6p5RWaNAzq40WAu7fJIXnQpYxFPbJYtsJPWvGeF2rOBaY/kEuV77AVsX8TsQzKm+A/g==",
|
|
8619
8643
|
"license": "MIT",
|
|
8620
8644
|
"dependencies": {
|
|
8621
8645
|
"@types/use-sync-external-store": "^0.0.6",
|
|
@@ -8716,6 +8740,11 @@
|
|
|
8716
8740
|
"react-is": "^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0"
|
|
8717
8741
|
}
|
|
8718
8742
|
},
|
|
8743
|
+
"node_modules/recharts/node_modules/reselect": {
|
|
8744
|
+
"version": "5.1.1",
|
|
8745
|
+
"integrity": "sha512-K/BG6eIky/SBpzfHZv/dd+9JBFiS4SWV7FIujVyJRux6e45+73RaUHXLmIR1f7WOMaQ0U1km6qwklRQxpJJY0w==",
|
|
8746
|
+
"license": "MIT"
|
|
8747
|
+
},
|
|
8719
8748
|
"node_modules/redux": {
|
|
8720
8749
|
"version": "5.0.1",
|
|
8721
8750
|
"integrity": "sha512-M9/ELqF6fy8FwmkpnF0S3YKOqMyoWJ4+CS5Efg2ct3oY9daQvd/Pc71FpGZsVsbl3Cpb+IIcjBDUnnyBdQbq4w==",
|
|
@@ -8825,8 +8854,8 @@
|
|
|
8825
8854
|
}
|
|
8826
8855
|
},
|
|
8827
8856
|
"node_modules/reselect": {
|
|
8828
|
-
"version": "5.
|
|
8829
|
-
"integrity": "sha512-
|
|
8857
|
+
"version": "5.2.0",
|
|
8858
|
+
"integrity": "sha512-AgZ3UOZm3YndfrJ4OYjgrT7bmCm/1iqkjvEfH/oYjzh6PD2qw4QuT3jjnXIrpdt4MTpMXclMT3lXbmRY+XRakw==",
|
|
8830
8859
|
"license": "MIT"
|
|
8831
8860
|
},
|
|
8832
8861
|
"node_modules/resolve": {
|
|
@@ -9076,8 +9105,8 @@
|
|
|
9076
9105
|
}
|
|
9077
9106
|
},
|
|
9078
9107
|
"node_modules/sharp/node_modules/semver": {
|
|
9079
|
-
"version": "7.
|
|
9080
|
-
"integrity": "sha512-
|
|
9108
|
+
"version": "7.8.0",
|
|
9109
|
+
"integrity": "sha512-AcM7dV/5ul4EekoQ29Agm5vri8JNqRyj39o0qpX6vDF2GZrtutZl5RwgD1XnZjiTAfncsJhMI48QQH3sN87YNA==",
|
|
9081
9110
|
"license": "ISC",
|
|
9082
9111
|
"optional": true,
|
|
9083
9112
|
"bin": {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wavemaker/react-runtime",
|
|
3
|
-
"version": "11.15.
|
|
3
|
+
"version": "11.15.4-rc.647493",
|
|
4
4
|
"description": "React runtime package for Wavemaker",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"repository": {
|
|
@@ -78,7 +78,7 @@
|
|
|
78
78
|
"@types/react": "^19.2.8",
|
|
79
79
|
"@types/react-color": "^3.0.13",
|
|
80
80
|
"@types/react-dom": "^19.2.3",
|
|
81
|
-
"@wavemaker/variables": "11.15.
|
|
81
|
+
"@wavemaker/variables": "11.15.4-rc.647493",
|
|
82
82
|
"babel-plugin-module-resolver": "^5.0.2",
|
|
83
83
|
"eslint": "^9",
|
|
84
84
|
"eslint-config-next": "15.1.4",
|
|
@@ -20,7 +20,8 @@ function _arrayLikeToArray(r, a) { (null == a || a > r.length) && (a = r.length)
|
|
|
20
20
|
|
|
21
21
|
var UNSUPPORTED_LIBRARIES = {
|
|
22
22
|
jquery: {
|
|
23
|
-
|
|
23
|
+
// Use specific jQuery patterns - avoid matching Wavemaker vars like $index, $data
|
|
24
|
+
identifiers: ["jQuery", "$(", "$."],
|
|
24
25
|
errorMessage: "jQuery is not supported in React App",
|
|
25
26
|
notificationMessage: "jQuery functionality is not supported. Check console for details."
|
|
26
27
|
}
|
|
@@ -107,7 +108,9 @@ function detectUnsupportedLibrary(error) {
|
|
|
107
108
|
*/
|
|
108
109
|
var isJQueryError = exports.isJQueryError = function isJQueryError(error) {
|
|
109
110
|
if (!(error !== null && error !== void 0 && error.stack)) return false;
|
|
110
|
-
|
|
111
|
+
|
|
112
|
+
// Use specific jQuery patterns - avoid matching Wavemaker vars like $index, $data
|
|
113
|
+
var UnSupportedFunctionality = ["jQuery", "$(", "$."];
|
|
111
114
|
|
|
112
115
|
// Check if error message contains jQuery references
|
|
113
116
|
if (error.message && UnSupportedFunctionality.some(function (func) {
|
|
@@ -211,6 +211,41 @@ var uriToJson = function uriToJson(encodedObj) {
|
|
|
211
211
|
}
|
|
212
212
|
};
|
|
213
213
|
|
|
214
|
+
// URL state update batching - prevents Chrome IPC flooding (crbug.com/1038223) when many
|
|
215
|
+
// widgets call replaceState during the same React commit phase (e.g., multiple tables mounting)
|
|
216
|
+
var pendingUrlStates = null;
|
|
217
|
+
var urlStateRafId = null;
|
|
218
|
+
var flushPendingUrlState = function flushPendingUrlState() {
|
|
219
|
+
urlStateRafId = null;
|
|
220
|
+
if (pendingUrlStates === null) return;
|
|
221
|
+
var states = pendingUrlStates;
|
|
222
|
+
pendingUrlStates = null;
|
|
223
|
+
var currentUrl = window.location.href;
|
|
224
|
+
var url = new URL(window.location.href);
|
|
225
|
+
var urlParams = new URLSearchParams(url.search);
|
|
226
|
+
if ((0, _lodashEs.keys)(states).length > 0) {
|
|
227
|
+
var encodedState = jsonToUri(states);
|
|
228
|
+
urlParams["delete"](WM_STATE_URL_PARAM);
|
|
229
|
+
var newSearch = urlParams.toString();
|
|
230
|
+
if (newSearch) newSearch += "&";
|
|
231
|
+
newSearch += "".concat(WM_STATE_URL_PARAM, "=").concat(encodedState);
|
|
232
|
+
url.search = newSearch ? "?" + newSearch : "";
|
|
233
|
+
} else {
|
|
234
|
+
urlParams["delete"](WM_STATE_URL_PARAM);
|
|
235
|
+
url.search = urlParams.toString();
|
|
236
|
+
}
|
|
237
|
+
if (currentUrl !== url.toString() && !pageNavigationPending) {
|
|
238
|
+
var newPath = url.pathname + url.search;
|
|
239
|
+
window.history.replaceState(_objectSpread({}, window.history.state), "", newPath);
|
|
240
|
+
}
|
|
241
|
+
};
|
|
242
|
+
var scheduleUrlStateUpdate = function scheduleUrlStateUpdate(states) {
|
|
243
|
+
pendingUrlStates = states;
|
|
244
|
+
if (urlStateRafId === null) {
|
|
245
|
+
urlStateRafId = requestAnimationFrame(flushPendingUrlState);
|
|
246
|
+
}
|
|
247
|
+
};
|
|
248
|
+
|
|
214
249
|
// Get all widget states from storage
|
|
215
250
|
var getAllStates = function getAllStates(storage) {
|
|
216
251
|
switch (storage) {
|
|
@@ -229,6 +264,10 @@ var getAllStates = function getAllStates(storage) {
|
|
|
229
264
|
return {};
|
|
230
265
|
}
|
|
231
266
|
case "URL":
|
|
267
|
+
// Use pending state when available - ensures consistency when URL updates are batched
|
|
268
|
+
if (pendingUrlStates !== null) {
|
|
269
|
+
return _objectSpread({}, pendingUrlStates);
|
|
270
|
+
}
|
|
232
271
|
// Get the raw URL parameter value
|
|
233
272
|
var searchParams = window.location.search;
|
|
234
273
|
var match = searchParams.match(new RegExp("[?&]".concat(WM_STATE_URL_PARAM, "=([^&]+)")));
|
|
@@ -251,39 +290,9 @@ var setAllStates = function setAllStates(storage, states) {
|
|
|
251
290
|
sessionStorage.setItem(getStorageKey(), JSON.stringify(states));
|
|
252
291
|
break;
|
|
253
292
|
case "URL":
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
if ((0, _lodashEs.keys)(states).length > 0) {
|
|
258
|
-
// Use Angular's encoding approach
|
|
259
|
-
var encodedState = jsonToUri(states);
|
|
260
|
-
|
|
261
|
-
// Remove existing wm_state param
|
|
262
|
-
urlParams["delete"](WM_STATE_URL_PARAM);
|
|
263
|
-
|
|
264
|
-
// Build URL manually to avoid double encoding
|
|
265
|
-
var newSearch = urlParams.toString();
|
|
266
|
-
if (newSearch) {
|
|
267
|
-
newSearch += "&";
|
|
268
|
-
}
|
|
269
|
-
newSearch += "".concat(WM_STATE_URL_PARAM, "=").concat(encodedState);
|
|
270
|
-
url.search = newSearch ? "?" + newSearch : "";
|
|
271
|
-
} else {
|
|
272
|
-
urlParams["delete"](WM_STATE_URL_PARAM);
|
|
273
|
-
url.search = urlParams.toString();
|
|
274
|
-
}
|
|
275
|
-
if (currentUrl !== url.toString()) {
|
|
276
|
-
// Skip URL state update if page navigation is pending to prevent
|
|
277
|
-
// URL update from overwriting the pending router.push()
|
|
278
|
-
if (pageNavigationPending) {
|
|
279
|
-
return;
|
|
280
|
-
}
|
|
281
|
-
|
|
282
|
-
// Use window.history.replaceState() to update URL without triggering re-render
|
|
283
|
-
// This is more efficient than router.replace() which causes component re-renders
|
|
284
|
-
var newPath = url.pathname + url.search;
|
|
285
|
-
window.history.replaceState(_objectSpread({}, window.history.state), "", newPath);
|
|
286
|
-
}
|
|
293
|
+
// Batch URL updates via requestAnimationFrame to prevent Chrome IPC flooding
|
|
294
|
+
// when many widgets (tables, lists, etc.) update state during the same commit phase
|
|
295
|
+
scheduleUrlStateUpdate(states);
|
|
287
296
|
break;
|
|
288
297
|
}
|
|
289
298
|
};
|
|
@@ -5,10 +5,40 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
5
5
|
value: true
|
|
6
6
|
});
|
|
7
7
|
exports.createWidgetCleanup = void 0;
|
|
8
|
+
exports.removeWidgetsFromContext = removeWidgetsFromContext;
|
|
8
9
|
var _toConsumableArray2 = _interopRequireDefault(require("@babel/runtime/helpers/toConsumableArray"));
|
|
9
10
|
var _defineProperty2 = _interopRequireDefault(require("@babel/runtime/helpers/defineProperty"));
|
|
10
11
|
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
11
12
|
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { (0, _defineProperty2["default"])(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
13
|
+
/**
|
|
14
|
+
* Removes widgets from page context, cleans up registry, and returns the new context.
|
|
15
|
+
* Returns prev unchanged if no widgets were present.
|
|
16
|
+
*
|
|
17
|
+
* @param prev - Current page context
|
|
18
|
+
* @param names - Widget names to remove
|
|
19
|
+
* @returns New context with widgets removed, or prev if no changes
|
|
20
|
+
*/
|
|
21
|
+
function removeWidgetsFromContext(prev, proxy, names) {
|
|
22
|
+
var widgets = prev === null || prev === void 0 ? void 0 : prev.Widgets;
|
|
23
|
+
if (!widgets) return prev;
|
|
24
|
+
var hasChanges = names.some(function (name) {
|
|
25
|
+
return name in widgets;
|
|
26
|
+
});
|
|
27
|
+
if (!hasChanges) return prev;
|
|
28
|
+
var registry = prev === null || prev === void 0 ? void 0 : prev.overriddenPropsRegistry;
|
|
29
|
+
var nextWidgets = _objectSpread({}, widgets);
|
|
30
|
+
names.forEach(function (name) {
|
|
31
|
+
nextWidgets[name] = undefined;
|
|
32
|
+
registry === null || registry === void 0 || registry.destroy(name);
|
|
33
|
+
if (proxy.Widgets) {
|
|
34
|
+
proxy.Widgets[name] = null;
|
|
35
|
+
}
|
|
36
|
+
});
|
|
37
|
+
return _objectSpread(_objectSpread({}, prev), {}, {
|
|
38
|
+
Widgets: nextWidgets
|
|
39
|
+
});
|
|
40
|
+
}
|
|
41
|
+
|
|
12
42
|
/**
|
|
13
43
|
* Configuration for the widget cleanup utility
|
|
14
44
|
*/
|