@corva/dc-platform-shared 0.0.0-3891cdc
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/CLI/assets/DevCenterLogo.js +1 -0
- package/CLI/components/App/App.css.js +1 -0
- package/CLI/components/App/App.js +1 -0
- package/CLI/components/App/components/AppBar/AppBar.js +1 -0
- package/CLI/constants/index.js +1 -0
- package/CLI/context/auth.js +1 -0
- package/CLI/hocs/effects/useProvideAuth.js +1 -0
- package/CLI/hocs/utils.js +1 -0
- package/CLI/hocs/withAppDataProviderHOC.js +1 -0
- package/CLI/hocs/withCLIAppSettingsHOC.js +1 -0
- package/CLI/hocs/withCorvaMagicHOC.js +1 -0
- package/CLI/hocs/withDevCenterRouterHOC.js +1 -0
- package/CLI/hocs/withGridLayoutHOC/withGridLayoutHOC.css.js +1 -0
- package/CLI/hocs/withGridLayoutHOC/withGridLayoutHOC.global.css.js +1 -0
- package/CLI/hocs/withGridLayoutHOC/withGridLayoutHOC.js +1 -0
- package/CLI/hocs/withPDFLayoutHOC.js +1 -0
- package/CLI/hocs/withReactRouterHOC.js +1 -0
- package/CLI/index.js +1 -0
- package/CLI/screens/LoginScreen/LoginScreen.css.js +1 -0
- package/CLI/screens/LoginScreen/LoginScreen.js +1 -0
- package/CLI/screens/LoginScreen/components/Auth.js +1 -0
- package/CLI/screens/LoginScreen/components/AuthStep.js +1 -0
- package/CLI/screens/LoginScreen/components/EmailStep.js +1 -0
- package/CLI/screens/LoginScreen/components/IconLogo.js +1 -0
- package/CLI/screens/LoginScreen/components/SSOButton.js +1 -0
- package/CLI/screens/OAuthCallbackScreen/index.js +1 -0
- package/LICENSE +0 -0
- package/README.md +27 -0
- package/_virtual/_commonjsHelpers.js +1 -0
- package/_virtual/arrayLikeToArray.js +1 -0
- package/_virtual/arrayWithHoles.js +1 -0
- package/_virtual/arrayWithoutHoles.js +1 -0
- package/_virtual/iterableToArray.js +1 -0
- package/_virtual/iterableToArrayLimit.js +1 -0
- package/_virtual/nonIterableRest.js +1 -0
- package/_virtual/nonIterableSpread.js +1 -0
- package/_virtual/regeneratorRuntime.js +1 -0
- package/_virtual/typeof.js +1 -0
- package/_virtual/unsupportedIterableToArray.js +1 -0
- package/assets/2d1e493e7f3afb84f4a5c8aded37a718.svg +3 -0
- package/assets/319d9b9a39d511547cf55d1336a8eca4.svg +1 -0
- package/assets/55de612562c712e3a9d6ea86000e18c7.svg +9 -0
- package/assets/67f05495a7dbbee777bb0c7974f4588a.jpg +0 -0
- package/assets/b1dce244ca65e361a28be5801cf93d73.svg +3 -0
- package/assets/fb9a5d3233e9e3e310d6d297e6ddcc55.svg +3 -0
- package/cjs/devcenter/webpack/DevServerEntryPoint.js +1 -0
- package/cjs/devcenter/webpack/DevServerIsolatedAppEntryPoint.js +1 -0
- package/cjs/devcenter/webpack/constants.js +1 -0
- package/cjs/devcenter/webpack/index.js +1 -0
- package/cjs/devcenter/webpack/plugins/checkCorvaUIVersion.js +1 -0
- package/cjs/devcenter/webpack/public/DevCenterIsolatedAppPage.html +28 -0
- package/cjs/devcenter/webpack/public/favicon.ico +0 -0
- package/cjs/devcenter/webpack/public/index.html +28 -0
- package/cjs/devcenter/webpack/utils/middlewares.js +1 -0
- package/cjs/devcenter/webpack/utils/serializeDotEnv.js +1 -0
- package/cjs/devcenter/webpack/validators/dependencies.js +1 -0
- package/cjs/devcenter/webpack/validators/index.js +1 -0
- package/cjs/devcenter/webpack/webpack.config.common.js +1 -0
- package/cjs/devcenter/webpack/webpack.config.dev.js +1 -0
- package/cjs/devcenter/webpack/webpack.config.prod.js +1 -0
- package/cjs/index.js +1 -0
- package/clients/auth0/index.js +1 -0
- package/components/AppsGridDragHandle/AppsGridDragHandle.js +1 -0
- package/components/AppsGridDragHandle/AppsGridDragHandle.scss.js +1 -0
- package/components/GridLockButton/index.js +1 -0
- package/components/Login/components/Chip.js +1 -0
- package/components/Login/components/EmailField.js +1 -0
- package/components/Login/components/HiddenEmailField.js +1 -0
- package/components/Login/components/Login.global.css.js +1 -0
- package/components/Login/components/Login.js +1 -0
- package/components/Login/components/LogoIcon.js +1 -0
- package/components/Login/components/OrDivider.js +1 -0
- package/components/Login/components/PasswordField.js +1 -0
- package/components/Login/components/Step.js +1 -0
- package/components/Login/components/StepContent.js +1 -0
- package/components/Login/components/StepFooter.js +1 -0
- package/components/Login/components/StepHeader.js +1 -0
- package/components/Login/index.js +1 -0
- package/components/index.js +1 -0
- package/ext-cjs/@babel/runtime/helpers/arrayLikeToArray.js +1 -0
- package/ext-cjs/@babel/runtime/helpers/arrayWithHoles.js +1 -0
- package/ext-cjs/@babel/runtime/helpers/arrayWithoutHoles.js +1 -0
- package/ext-cjs/@babel/runtime/helpers/asyncToGenerator.js +1 -0
- package/ext-cjs/@babel/runtime/helpers/defineProperty.js +1 -0
- package/ext-cjs/@babel/runtime/helpers/iterableToArray.js +1 -0
- package/ext-cjs/@babel/runtime/helpers/iterableToArrayLimit.js +1 -0
- package/ext-cjs/@babel/runtime/helpers/nonIterableRest.js +1 -0
- package/ext-cjs/@babel/runtime/helpers/nonIterableSpread.js +1 -0
- package/ext-cjs/@babel/runtime/helpers/regeneratorRuntime.js +1 -0
- package/ext-cjs/@babel/runtime/helpers/slicedToArray.js +1 -0
- package/ext-cjs/@babel/runtime/helpers/taggedTemplateLiteral.js +1 -0
- package/ext-cjs/@babel/runtime/helpers/toConsumableArray.js +1 -0
- package/ext-cjs/@babel/runtime/helpers/typeof.js +1 -0
- package/ext-cjs/@babel/runtime/helpers/unsupportedIterableToArray.js +1 -0
- package/ext-cjs/@babel/runtime/regenerator/index.js +1 -0
- package/ext-esm/auth0-js/dist/auth0.min.esm.js +1 -0
- package/ext-esm/style-inject/dist/style-inject.es.js +1 -0
- package/index.js +1 -0
- package/package.json +166 -0
- package/utils/devcenter.js +1 -0
- package/utils/recaptcha.js +1 -0
package/package.json
ADDED
|
@@ -0,0 +1,166 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@corva/dc-platform-shared",
|
|
3
|
+
"version": "0.0.0-3891cdc",
|
|
4
|
+
"description": "A library to share internal DC platform specific code",
|
|
5
|
+
"main": "./dist",
|
|
6
|
+
"module": "./src/index.js",
|
|
7
|
+
"repository": "git@github.com:corva-ai/corva-dc-platform-shared.git",
|
|
8
|
+
"author": "Oleksandr Krupko <oleksandr.krupko@corva.ai>",
|
|
9
|
+
"license": "MIT",
|
|
10
|
+
"scripts": {
|
|
11
|
+
"lint": "eslint --cache ./src/",
|
|
12
|
+
"lint-staged": "lint-staged",
|
|
13
|
+
"build": "./scripts/build.sh production",
|
|
14
|
+
"build-watch": "./scripts/build.sh development -w",
|
|
15
|
+
"get-changelog": "conventional-changelog -r 2 -p angular",
|
|
16
|
+
"release": "git fetch --tags && git add -A && standard-version -a",
|
|
17
|
+
"start": "yarn generate-css-themes && cross-env NODE_ENV=local rollup -c -w",
|
|
18
|
+
"test": "jest",
|
|
19
|
+
"test-coverage": "jest --watchAll --coverage && http-serve coverage",
|
|
20
|
+
"test-watch": "jest --watch"
|
|
21
|
+
},
|
|
22
|
+
"lint-staged": {
|
|
23
|
+
"*.js": [
|
|
24
|
+
"eslint --fix"
|
|
25
|
+
]
|
|
26
|
+
},
|
|
27
|
+
"standard-version": {
|
|
28
|
+
"skip": {
|
|
29
|
+
"tag": true
|
|
30
|
+
}
|
|
31
|
+
},
|
|
32
|
+
"jest": {
|
|
33
|
+
"collectCoverageFrom": [
|
|
34
|
+
"./**/*.{js,jsx,mjs}"
|
|
35
|
+
],
|
|
36
|
+
"coverageReporters": [
|
|
37
|
+
"html",
|
|
38
|
+
"text-summary"
|
|
39
|
+
],
|
|
40
|
+
"moduleNameMapper": {
|
|
41
|
+
"~(.*)": "<rootDir>/src/$1",
|
|
42
|
+
"\\.(css|less|scss)$": "identity-obj-proxy"
|
|
43
|
+
},
|
|
44
|
+
"setupFiles": [
|
|
45
|
+
"<rootDir>/jest/setEnvVars.js"
|
|
46
|
+
],
|
|
47
|
+
"testMatch": [
|
|
48
|
+
"**/__tests__/**/?(*.)+(spec|test).[jt]s?(x)"
|
|
49
|
+
],
|
|
50
|
+
"transform": {
|
|
51
|
+
"^.+\\.jsx?$": "babel-jest",
|
|
52
|
+
"^.+\\.mjs$": "babel-jest",
|
|
53
|
+
"^.+\\.svg$": "<rootDir>/jest/svgTransform.js"
|
|
54
|
+
},
|
|
55
|
+
"transformIgnorePatterns": [
|
|
56
|
+
"node_modules/(?!@ngrx|(?!deck.gl)|ng-dynamic)"
|
|
57
|
+
],
|
|
58
|
+
"moduleFileExtensions": [
|
|
59
|
+
"js",
|
|
60
|
+
"jsx",
|
|
61
|
+
"json",
|
|
62
|
+
"mjs",
|
|
63
|
+
"node"
|
|
64
|
+
]
|
|
65
|
+
},
|
|
66
|
+
"dependencies": {
|
|
67
|
+
"@babel/core": "^7.12.10",
|
|
68
|
+
"@babel/plugin-transform-react-jsx": "^7.12.11",
|
|
69
|
+
"@babel/plugin-transform-runtime": "^7.12.10",
|
|
70
|
+
"@babel/preset-env": "^7.12.11",
|
|
71
|
+
"@babel/preset-react": "^7.12.10",
|
|
72
|
+
"@corva/eslint-config-browser": "^0.0.4",
|
|
73
|
+
"@date-io/moment": "1.3.13",
|
|
74
|
+
"@material-ui/core": "4.11.2",
|
|
75
|
+
"@material-ui/icons": "4.9.1",
|
|
76
|
+
"@material-ui/lab": "4.0.0-alpha.57",
|
|
77
|
+
"@material-ui/pickers": "3.2.10",
|
|
78
|
+
"@pmmmwh/react-refresh-webpack-plugin": "0.5.10",
|
|
79
|
+
"babel-eslint": "10.0.3",
|
|
80
|
+
"babel-jest": "^26.3.0",
|
|
81
|
+
"babel-loader": "8.1.0",
|
|
82
|
+
"babel-plugin-file-loader": "^2.0.0",
|
|
83
|
+
"babel-plugin-root-import": "^6.5.0",
|
|
84
|
+
"chalk": "4.1.1",
|
|
85
|
+
"classnames": "2.2.6",
|
|
86
|
+
"clean-webpack-plugin": "3.0.0",
|
|
87
|
+
"copy-webpack-plugin": "6.1.1",
|
|
88
|
+
"css-loader": "3.4.2",
|
|
89
|
+
"dotenv": "^10.0.0",
|
|
90
|
+
"eslint-config-airbnb": "17.1.0",
|
|
91
|
+
"eslint-plugin-jest-dom": "^3.2.3",
|
|
92
|
+
"eslint-plugin-prettier": "3.1.1",
|
|
93
|
+
"eslint-plugin-testing-library": "^3.9.2",
|
|
94
|
+
"express": "4.17.1",
|
|
95
|
+
"fs": "0.0.1-security",
|
|
96
|
+
"html-webpack-plugin": "4.5.2",
|
|
97
|
+
"jest": "^26.4.1",
|
|
98
|
+
"jsona": "1.5.1",
|
|
99
|
+
"lodash": "4.17.20",
|
|
100
|
+
"mini-css-extract-plugin": "0.9.0",
|
|
101
|
+
"moment": "2.29.4",
|
|
102
|
+
"node-fetch": "^2.6.1",
|
|
103
|
+
"optimize-css-assets-webpack-plugin": "5.0.3",
|
|
104
|
+
"path": "0.12.7",
|
|
105
|
+
"postcss": "8.4.11",
|
|
106
|
+
"postcss-import": "12.0.1",
|
|
107
|
+
"postcss-loader": "4.2.0",
|
|
108
|
+
"postcss-preset-env": "6.7.0",
|
|
109
|
+
"prettier": "^2.1.2",
|
|
110
|
+
"process": "^0.11.10",
|
|
111
|
+
"prop-types": "15.7.2",
|
|
112
|
+
"react": "17.0.1",
|
|
113
|
+
"react-dom": "17.0.1",
|
|
114
|
+
"react-grid-layout": "1.3.4",
|
|
115
|
+
"react-router": "3.2.1",
|
|
116
|
+
"react-sizeme": "2.5.2",
|
|
117
|
+
"rollup-plugin-copy": "^3.4.0",
|
|
118
|
+
"sass": "^1.51.0",
|
|
119
|
+
"semver": "7.2.1",
|
|
120
|
+
"style-loader": "1.0.0",
|
|
121
|
+
"svg-url-loader": "6.0.0",
|
|
122
|
+
"terser-webpack-plugin": "4.2.3",
|
|
123
|
+
"uuid": "3.4.0",
|
|
124
|
+
"webpack": "5.88.2",
|
|
125
|
+
"webpack-cli": "5.1.4",
|
|
126
|
+
"webpack-dev-server": "4.15.1",
|
|
127
|
+
"webpack-manifest-plugin": "5.0.0",
|
|
128
|
+
"webpack-merge": "5.9.0"
|
|
129
|
+
},
|
|
130
|
+
"peerDependencies": {
|
|
131
|
+
"@corva/ui": "*"
|
|
132
|
+
},
|
|
133
|
+
"devDependencies": {
|
|
134
|
+
"@corva/ui": "0.0.0-c08cd534",
|
|
135
|
+
"@rollup/plugin-babel": "^5.2.1",
|
|
136
|
+
"@rollup/plugin-commonjs": "^15.0.0",
|
|
137
|
+
"@rollup/plugin-image": "^2.0.6",
|
|
138
|
+
"@rollup/plugin-json": "^4.1.0",
|
|
139
|
+
"@rollup/plugin-node-resolve": "^9.0.0",
|
|
140
|
+
"@testing-library/jest-dom": "5.16.5",
|
|
141
|
+
"@testing-library/react": "^11.1.0",
|
|
142
|
+
"@testing-library/react-hooks": "^8.0.1",
|
|
143
|
+
"babel-plugin-external-helpers": "^6.22.0",
|
|
144
|
+
"conventional-changelog-cli": "^2.1.0",
|
|
145
|
+
"cross-env": "^7.0.3",
|
|
146
|
+
"git-conventional-commits": "^1.1.0",
|
|
147
|
+
"identity-obj-proxy": "^3.0.0",
|
|
148
|
+
"lint-staged": "^10.5.4",
|
|
149
|
+
"postcss-url": "9.0.0",
|
|
150
|
+
"pre-commit": "1.2.2",
|
|
151
|
+
"rollup": "^2.28.2",
|
|
152
|
+
"rollup-plugin-cleanup": "^3.2.1",
|
|
153
|
+
"rollup-plugin-css-bundle": "^1.0.4",
|
|
154
|
+
"rollup-plugin-css-only": "^2.1.0",
|
|
155
|
+
"rollup-plugin-node-externals": "^2.2.0",
|
|
156
|
+
"rollup-plugin-postcss": "^4.0.2",
|
|
157
|
+
"rollup-plugin-rename-node-modules": "^1.0.1",
|
|
158
|
+
"rollup-plugin-terser": "^7.0.2",
|
|
159
|
+
"rollup-plugin-visualizer": "^4.1.1",
|
|
160
|
+
"sass-loader": "10.1.1",
|
|
161
|
+
"standard-version": "^9.0.0"
|
|
162
|
+
},
|
|
163
|
+
"engines": {
|
|
164
|
+
"node": ">=16"
|
|
165
|
+
}
|
|
166
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{DEV_CENTER_CLI_APP_ID as n}from"@corva/ui/constants";var o=function(o){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:n;return t===+(null==o?void 0:o.maximizeDC)};function t(n){var o,t;return{push:function(o){"string"==typeof o?n.push(o):n.push({pathname:o.pathname,query:o.query})},location:{pathname:null==n||null===(o=n.location)||void 0===o?void 0:o.pathname,query:null==n||null===(t=n.location)||void 0===t?void 0:t.query}}}export{t as createDevCenterRouter,o as isAppMaximized};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
var c=(process.env.REACT_APP_API_URL||"").includes("api.corva.ai")?"6LcD9rIiAAAAABAlTq0c4mpbiwdcEN10wDbqcYT4":"6LcdL7IiAAAAAAgBjpeKEf_b_T-mqDAjOvuNOjCz";function e(){var e=document.createElement("script");e.async=!0,e.src="https://www.google.com/recaptcha/enterprise.js?render=".concat(c),document.body.appendChild(e)}export{c as GOOGLE_RECAPTCHA_KEY,e as initializeRecaptcha};
|