Implemented utilities in React to make porting easier for pgAdmin tools.
Branch
------
master
Details
-------
https://git.postgresql.org/gitweb?p=pgadmin4.git;a=commitdiff;h=bc4e8a3c8265dc0bea46146f0118d5a3a7217937
Author: Aditya Toshniwal <aditya.toshniwal@enterprisedb.com>
Modified Files
--------------
web/package.json | 13 +-
web/pgadmin/browser/static/js/node_view.jsx | 26 +-
web/pgadmin/static/img/cleaning_services_black.svg | 1 +
web/pgadmin/static/img/content_paste.svg | 1 +
web/pgadmin/static/img/filter_alt_black.svg | 1 +
web/pgadmin/static/img/fonticon/commit.svg | 2 +-
web/pgadmin/static/img/fonticon/format_case.svg | 1 +
web/pgadmin/static/img/fonticon/regex.svg | 1 +
web/pgadmin/static/img/fonticon/rollback.svg | 2 +-
web/pgadmin/static/js/SchemaView/FormView.jsx | 5 +-
web/pgadmin/static/js/SchemaView/MappedControl.jsx | 8 +-
web/pgadmin/static/js/SchemaView/base_schema.ui.js | 2 +-
web/pgadmin/static/js/SchemaView/index.jsx | 70 +-
web/pgadmin/static/js/Theme/index.jsx | 25 +-
web/pgadmin/static/js/Theme/standard.js | 5 +-
web/pgadmin/static/js/api_instance.js | 6 +-
web/pgadmin/static/js/components/Buttons.jsx | 104 +-
web/pgadmin/static/js/components/CodeMirror.jsx | 312 +++-
web/pgadmin/static/js/components/ExternalIcon.jsx | 34 +
.../static/js/components/FormComponents.jsx | 29 +-
web/pgadmin/static/js/components/JsonEditor.jsx | 60 +
web/pgadmin/static/js/components/Loader.jsx | 5 +-
web/pgadmin/static/js/components/Menu.jsx | 83 ++
web/pgadmin/static/js/components/ShortcutTitle.jsx | 63 +
web/pgadmin/static/js/components/TabPanel.jsx | 9 +-
web/pgadmin/static/js/custom_hooks.js | 75 +-
web/pgadmin/static/js/custom_prop_types.js | 14 +-
web/pgadmin/static/js/helpers/EventBus.js | 44 +
web/pgadmin/static/js/helpers/Layout.jsx | 179 +++
web/pgadmin/static/js/helpers/Notifier.jsx | 2 +-
web/pgadmin/static/js/keyboard_shortcuts.js | 5 +-
web/pgadmin/static/js/tree/tree_init.tsx | 2 +-
web/pgadmin/static/js/tree/tree_nodes.ts | 2 +-
web/pgadmin/static/js/utils.js | 20 +
web/pgadmin/static/scss/_codemirror.overrides.scss | 1 +
web/pgadmin/static/scss/pgadmin.scss | 2 +
.../javascript/SchemaView/SchemaView.spec.js | 179 ++-
.../javascript/components/CodeMirror.spec.js | 159 +-
.../javascript/components/FormComponents.spec.js | 4 +-
web/regression/javascript/components/Menu.spec.js | 158 ++
.../javascript/components/ShortcutTitle.spec.js | 85 ++
.../jasmine_capture_warnings_beforeall.js | 8 +-
web/webpack.config.js | 23 +-
web/webpack.shim.js | 4 +-
web/webpack.test.config.js | 21 +-
web/yarn.lock | 1526 +++++++++++++++++++-
46 files changed, 3100 insertions(+), 281 deletions(-)