ToolJet/frontend/src/Editor/Components/CustomComponent
Johnson Cherian f5c0f186e0
Parameters support on RunJS (#7033)
* feat: resolve passed arguments in runjs

* feat: added popup form for runs params

* fix: fixed issue with close function of popupover with codehinter

* feat: added input for runjs args

* style: for runjs args

* fix: added support for params in custom components

* fix: fixed default query param for runjs

* fix: remove debuggers

* refactor: removed commented code

* fix: removed unused code

* style: arguments input style in event manager

* refactor: Moved argument list to separate component

* refactor: moved runjs components to single folder

* fix: minor refactorings

* fix: renamed arguments to parameters for compoennts

* refactor:  reanamed argument to parameter in runjs

* refactor: removed commented code

* fix: added hasPramSupported flag against runjs queries

* Update frontend/src/Editor/Inspector/ActionConfigurationPanels/RunjsParamters.jsx

Co-authored-by: Kavin Venkatachalam <50441969+kavinvenkatachalam@users.noreply.github.com>

* Update frontend/src/Editor/QueryManager/QueryEditors/Runjs/ParameterForm.jsx

Co-authored-by: Kavin Venkatachalam <50441969+kavinvenkatachalam@users.noreply.github.com>

* fix: prevent duplication of name

* fix: fixed issue that blocked query params from returning

* fix: remove extra params from runjs

* fix: updated reference to current satte

* fix: updated `query.run()` signature

* fix: added duplicate check on param add and update

* fix: added additonal null check for params runjs

* feat: resolve runjs params default value without currentState

* fix: hide defaultvalue of runjs in events form

* fix: minor UX experience in runjs params

* fix: set runjs default values to events on creation

* style: updated the runjs param UI

* style: runjs param form minor ux improvement

* fix: close modal on add button click again

---------

Co-authored-by: Kavin Venkatachalam <50441969+kavinvenkatachalam@users.noreply.github.com>
2023-07-20 16:35:39 +05:30
..
CustomComponent.jsx Parameters support on RunJS (#7033) 2023-07-20 16:35:39 +05:30
iframe.html Parameters support on RunJS (#7033) 2023-07-20 16:35:39 +05:30