@interopio/iocd-cli 0.0.33 → 0.0.34
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/README.md +758 -72
- package/dist/commands/apps.command.js +1 -1
- package/dist/commands/apps.command.js.map +1 -1
- package/dist/services/license.service.js +14 -14
- package/dist/templates/groups/apps/groups/.gitignore.template +23 -23
- package/dist/templates/groups/apps/groups/README.md +15 -15
- package/dist/templates/groups/apps/groups/config/web-group-dev.json +12 -12
- package/dist/templates/groups/apps/groups/index.html +17 -17
- package/dist/templates/groups/apps/groups/iocd.app.json +19 -19
- package/dist/templates/groups/apps/groups/package.json +25 -25
- package/dist/templates/groups/apps/groups/public/manifest.json +24 -24
- package/dist/templates/groups/apps/groups/public/robots.txt +3 -3
- package/dist/templates/groups/apps/groups/src/App.css +38 -38
- package/dist/templates/groups/apps/groups/src/App.tsx +11 -11
- package/dist/templates/groups/apps/groups/src/index.css +13 -13
- package/dist/templates/groups/apps/groups/src/index.tsx +19 -19
- package/dist/templates/groups/apps/groups/vite.config.ts +8 -8
- package/dist/templates/groups/template.json +12 -12
- package/dist/templates/ioconnect-desktop/.github/actions/setup-smctl/action.yml +121 -121
- package/dist/templates/ioconnect-desktop/.github/workflows/build.yml +395 -395
- package/dist/templates/ioconnect-desktop/.gitignore.template +14 -14
- package/dist/templates/ioconnect-desktop/README.md +758 -13
- package/dist/templates/ioconnect-desktop/config/forge.config.js +59 -59
- package/dist/templates/ioconnect-desktop/config/iocd.cli.config.json +16 -16
- package/dist/templates/ioconnect-desktop/config/mac-build/entitlements.mac.plist +44 -44
- package/dist/templates/ioconnect-desktop/config/win-build/template.nuspectemplate +32 -32
- package/dist/templates/ioconnect-desktop/modifications/base/iocd/config/system.json.merge +2 -2
- package/dist/templates/ioconnect-desktop/modifications/base/iocd/config/system.json.merge-autoUpdate +9 -9
- package/dist/templates/ioconnect-desktop/package.json +32 -32
- package/dist/templates/ioconnect-desktop/template.json +6 -6
- package/dist/templates/launchpad/apps/launchpad/.eslintrc.json +3 -3
- package/dist/templates/launchpad/apps/launchpad/.gitignore.template +1 -1
- package/dist/templates/launchpad/apps/launchpad/config/iocd.app.def.dev.json +56 -56
- package/dist/templates/launchpad/apps/launchpad/config/iocd.system.build.json +2 -2
- package/dist/templates/launchpad/apps/launchpad/config/iocd.system.dev.json +2 -2
- package/dist/templates/launchpad/apps/launchpad/index.html +16 -16
- package/dist/templates/launchpad/apps/launchpad/iocd.app.json +27 -27
- package/dist/templates/launchpad/apps/launchpad/package-lock.json +2778 -2778
- package/dist/templates/launchpad/apps/launchpad/package.json +21 -21
- package/dist/templates/launchpad/apps/launchpad/src/app/app.tsx +41 -41
- package/dist/templates/launchpad/apps/launchpad/src/app/constants.ts +27 -27
- package/dist/templates/launchpad/apps/launchpad/src/components/logo.tsx +11 -11
- package/dist/templates/launchpad/apps/launchpad/src/components/main-context-menu.tsx +161 -161
- package/dist/templates/launchpad/apps/launchpad/src/components/notifications-button.tsx +44 -44
- package/dist/templates/launchpad/apps/launchpad/src/main.tsx +6 -6
- package/dist/templates/launchpad/apps/launchpad/src/styles.css +16 -16
- package/dist/templates/launchpad/apps/launchpad/tsconfig.json +10 -10
- package/dist/templates/launchpad/apps/launchpad/vite.config.ts +13 -13
- package/dist/templates/launchpad/template.json +12 -12
- package/dist/templates/splash/apps/splash/assets/styles/style.css +39 -39
- package/dist/templates/splash/apps/splash/iocd.app.json +7 -7
- package/dist/templates/splash/apps/splash/script.js +53 -53
- package/dist/templates/splash/apps/splash/splash.html +25 -25
- package/dist/templates/splash/template.json +12 -12
- package/dist/templates/tests/template.json +8 -8
- package/dist/templates/tests/tests/interopio-wdio-iocd-service-0.1.0.tgz +0 -0
- package/dist/templates/tests/tests/package-lock.json +7283 -7283
- package/dist/templates/tests/tests/package.json +22 -22
- package/dist/templates/tests/tests/tests/sample.spec.ts +30 -30
- package/dist/templates/tests/tests/tsconfig.json +10 -10
- package/dist/templates/tests/tests/wdio.config.ts +32 -32
- package/dist/templates/workspaces/apps/workspaces/README.md +15 -15
- package/dist/templates/workspaces/apps/workspaces/config/workspaces-dev.json +20 -20
- package/dist/templates/workspaces/apps/workspaces/index.html +17 -17
- package/dist/templates/workspaces/apps/workspaces/iocd.app.json +19 -19
- package/dist/templates/workspaces/apps/workspaces/package.json +29 -29
- package/dist/templates/workspaces/apps/workspaces/public/manifest.json +25 -25
- package/dist/templates/workspaces/apps/workspaces/public/robots.txt +3 -3
- package/dist/templates/workspaces/apps/workspaces/src/App.css +38 -38
- package/dist/templates/workspaces/apps/workspaces/src/App.tsx +102 -102
- package/dist/templates/workspaces/apps/workspaces/src/index.css +3 -3
- package/dist/templates/workspaces/apps/workspaces/src/index.tsx +28 -28
- package/dist/templates/workspaces/apps/workspaces/src/logo.svg +7 -7
- package/dist/templates/workspaces/apps/workspaces/src/reportWebVitals.ts +15 -15
- package/dist/templates/workspaces/apps/workspaces/src/setupTests.ts +5 -5
- package/dist/templates/workspaces/apps/workspaces/vite.config.ts +8 -8
- package/dist/templates/workspaces/template.json +12 -12
- package/package.json +83 -83
- package/scripts/copy-assets.js +19 -15
- package/scripts/delete-dist.js +12 -12
- package/scripts/generate-schema.js +50 -50
- package/scripts/handle-gitignore-templates.js +157 -157
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"apps.command.js","sourceRoot":"","sources":["../../src/commands/apps.command.ts"],"names":[],"mappings":";;;;;;AAAA,yCAAoC;AACpC,4CAAyC;AACzC,0DAAsD;AACtD,0EAAgE;AAChE,mEAA+D;AAE/D,MAAM,MAAM,GAAG,eAAM,CAAC,WAAW,CAAC,cAAc,CAAC,CAAC;AAErC,QAAA,WAAW,GAAG,IAAI,mBAAO,CAAC,MAAM,CAAC;KAC3C,WAAW,CAAC,iCAAiC,CAAC,CAAC;AAElD,mBAAW;KACR,OAAO,CAAC,SAAS,CAAC;KAClB,WAAW,CAAC,oDAAoD,CAAC;KACjE,MAAM,CAAC,WAAW,EAAE,wBAAwB,CAAC;K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AAC,iCAAiC,CAAC,CAAC;IACjD,CAAC;SAAM,CAAC;QACN,MAAM,CAAC,IAAI,CAAC,8BAA8B,CAAC,CAAC;QAC5C,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,EAAE;YACjB,MAAM,CAAC,IAAI,CAAC,KAAK,GAAG,CAAC,IAAI,KAAK,GAAG,CAAC,IAAI,GAAG,CAAC,CAAC;QAC7C,CAAC,CAAC,CAAC;IAEL,CAAC;IACD,MAAM,eAAe,GAAG,IAAI,kCAAe,EAAE,CAAC;IAC9C,MAAM,GAAG,GAAG,eAAe,CAAC,gCAAgC,EAAE,CAAC;IAC/D,4CAA4C;IAC5C,MAAM,QAAQ,GAAG,GAAG,CAAC,MAAM,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,IAAI,KAAK,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC;IACrE,IAAI,QAAQ,CAAC,MAAM,GAAG,CAAC,EAAE,CAAC;QACxB,MAAM,CAAC,IAAI,CAAC,wCAAwC,CAAC,CAAC;QACtD,QAAQ,CAAC,OAAO,CAAC,CAAC,CAAC,EAAE;YACnB,MAAM,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,IAAI,KAAK,CAAC,CAAC,WAAW,EAAE,CAAC,CAAC;QAC/C,CAAC,CAAC,CAAC;IACL,CAAC;AACH,CAAC,CAAA"}
|
|
@@ -8,20 +8,20 @@ const jsonwebtoken_1 = __importDefault(require("jsonwebtoken"));
|
|
|
8
8
|
const logger_1 = require("../utils/logger");
|
|
9
9
|
const fs_1 = require("fs");
|
|
10
10
|
const path_1 = require("../utils/path");
|
|
11
|
-
exports.prodPublicKey = `-----BEGIN PUBLIC KEY-----
|
|
12
|
-
MIICIjANBgkqhkiG9w0BAQEFAAOCAg8AMIICCgKCAgEAoaL0vbGVpI6fw/YY6vvf
|
|
13
|
-
QFHA097QBPIzLf+8LccaFaN7kz/p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+g2myVWqPfyv5+q9KlqrySb7Po/PGsdpth4Jqkqhl49hQv
|
|
16
|
+
6D0sp2wRHEqjtblOz4ZYyh++02Xir+mhAYxPPrhx4ymm4jPmiqYP5aUky4udPydF
|
|
17
|
+
lBHj/sKGzlU/kcd/jiws7l0Iy7DDV0ajRkbJ3C18hW7rs0xRxhGdySaj0VBA7vtR
|
|
18
|
+
Z7zjDADNm9KqLQPB9nKGPSBLzQBYW+mQP92seyKRd2f29g4hFkX+kkZnS7CAvfLs
|
|
19
|
+
jIBw7GlHuTiZCMAgiPatU/7WxneD8Qs/s+cMMk5CTImWL/BWdtd18TMjL1G/LiTA
|
|
20
|
+
3uNFnbdzrRYAC33/02W73dyk64uYtZ9rPkMJnYMMWMU8zpauQxzezxuSYCEtp2N8
|
|
21
|
+
6YsWnPaZkrdZKQxUsQ2AoDJ+GWYlMJZoNh+wj0pyZcZ/BEAGCvK3DcGlgjb2mgJX
|
|
22
|
+
SBAqI8x0afhfXqckthbsIaqi+0kdAgQV0VDKI0OCZgesrjwPlawmBbpgCdZ28oc3
|
|
23
|
+
4w1zLjAq74LInPITHxMzaaECAwEAAQ==
|
|
24
|
+
-----END PUBLIC KEY-----
|
|
25
25
|
`;
|
|
26
26
|
class LicenseService {
|
|
27
27
|
logger = logger_1.Logger.getInstance("license.service");
|
|
@@ -1,23 +1,23 @@
|
|
|
1
|
-
# See https://help.github.com/articles/ignoring-files/ for more about ignoring files.
|
|
2
|
-
|
|
3
|
-
# dependencies
|
|
4
|
-
/node_modules
|
|
5
|
-
/.pnp
|
|
6
|
-
.pnp.js
|
|
7
|
-
|
|
8
|
-
# testing
|
|
9
|
-
/coverage
|
|
10
|
-
|
|
11
|
-
# production
|
|
12
|
-
/build
|
|
13
|
-
|
|
14
|
-
# misc
|
|
15
|
-
.DS_Store
|
|
16
|
-
.env.local
|
|
17
|
-
.env.development.local
|
|
18
|
-
.env.test.local
|
|
19
|
-
.env.production.local
|
|
20
|
-
|
|
21
|
-
npm-debug.log*
|
|
22
|
-
yarn-debug.log*
|
|
23
|
-
yarn-error.log*
|
|
1
|
+
# See https://help.github.com/articles/ignoring-files/ for more about ignoring files.
|
|
2
|
+
|
|
3
|
+
# dependencies
|
|
4
|
+
/node_modules
|
|
5
|
+
/.pnp
|
|
6
|
+
.pnp.js
|
|
7
|
+
|
|
8
|
+
# testing
|
|
9
|
+
/coverage
|
|
10
|
+
|
|
11
|
+
# production
|
|
12
|
+
/build
|
|
13
|
+
|
|
14
|
+
# misc
|
|
15
|
+
.DS_Store
|
|
16
|
+
.env.local
|
|
17
|
+
.env.development.local
|
|
18
|
+
.env.test.local
|
|
19
|
+
.env.production.local
|
|
20
|
+
|
|
21
|
+
npm-debug.log*
|
|
22
|
+
yarn-debug.log*
|
|
23
|
+
yarn-error.log*
|
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
# Web Group App for io.Connect Desktop
|
|
2
|
-
|
|
3
|
-
Template for creating a [custom Web Group App](https://docs.interop.io/desktop/capabilities/windows/window-management/overview/index.html#extending_web_groups) for **io.Connect Desktop**.
|
|
4
|
-
|
|
5
|
-
## Prerequisites
|
|
6
|
-
|
|
7
|
-
For an **io.Connect Desktop** project, **io.Connect Desktop** 9.0 or newer is required.
|
|
8
|
-
|
|
9
|
-
## Usage
|
|
10
|
-
|
|
11
|
-
- Run `npm install` to install all dependencies.
|
|
12
|
-
- Run `npm run start` to start the app.
|
|
13
|
-
- Open the `webGroup.json` definition file located in the `%LocalAppData%\interop.io\io.Connect Desktop\Desktop\config\apps` folder, set the `"disabled"` property to `false`, and set the `"url"` property of the `"details"` top-level key to the location of your Web Group App (the default is `http://localhost:5173`).
|
|
14
|
-
- Set the `"groupType"` property of the `stickywindows.json` file located in `%LocalAppData%\interop.io\io.Connect Desktop\Desktop\config` to `"Web"`.
|
|
15
|
-
- Start **io.Connect Desktop** to start using and modifying your Web Group App.
|
|
1
|
+
# Web Group App for io.Connect Desktop
|
|
2
|
+
|
|
3
|
+
Template for creating a [custom Web Group App](https://docs.interop.io/desktop/capabilities/windows/window-management/overview/index.html#extending_web_groups) for **io.Connect Desktop**.
|
|
4
|
+
|
|
5
|
+
## Prerequisites
|
|
6
|
+
|
|
7
|
+
For an **io.Connect Desktop** project, **io.Connect Desktop** 9.0 or newer is required.
|
|
8
|
+
|
|
9
|
+
## Usage
|
|
10
|
+
|
|
11
|
+
- Run `npm install` to install all dependencies.
|
|
12
|
+
- Run `npm run start` to start the app.
|
|
13
|
+
- Open the `webGroup.json` definition file located in the `%LocalAppData%\interop.io\io.Connect Desktop\Desktop\config\apps` folder, set the `"disabled"` property to `false`, and set the `"url"` property of the `"details"` top-level key to the location of your Web Group App (the default is `http://localhost:5173`).
|
|
14
|
+
- Set the `"groupType"` property of the `stickywindows.json` file located in `%LocalAppData%\interop.io\io.Connect Desktop\Desktop\config` to `"Web"`.
|
|
15
|
+
- Start **io.Connect Desktop** to start using and modifying your Web Group App.
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "web-group-app",
|
|
3
|
-
"type": "webGroup",
|
|
4
|
-
"hidden": true,
|
|
5
|
-
"details": {
|
|
6
|
-
"url": "http://localhost:5175/",
|
|
7
|
-
"captureErrors": true,
|
|
8
|
-
"preloadScripts": [],
|
|
9
|
-
"pool": {
|
|
10
|
-
"min": 5
|
|
11
|
-
}
|
|
12
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"name": "web-group-app",
|
|
3
|
+
"type": "webGroup",
|
|
4
|
+
"hidden": true,
|
|
5
|
+
"details": {
|
|
6
|
+
"url": "http://localhost:5175/",
|
|
7
|
+
"captureErrors": true,
|
|
8
|
+
"preloadScripts": [],
|
|
9
|
+
"pool": {
|
|
10
|
+
"min": 5
|
|
11
|
+
}
|
|
12
|
+
}
|
|
13
13
|
}
|
|
@@ -1,18 +1,18 @@
|
|
|
1
|
-
<!doctype html>
|
|
2
|
-
<html lang="en" style="height: 100%;">
|
|
3
|
-
|
|
4
|
-
<head>
|
|
5
|
-
<meta charset="utf-8" />
|
|
6
|
-
<link rel="shortcut icon" href="/favicon.ico" />
|
|
7
|
-
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no" />
|
|
8
|
-
<meta name="theme-color" content="#000000" />
|
|
9
|
-
<link rel="manifest" href="/manifest.json" />
|
|
10
|
-
<title>{{name}}</title>
|
|
11
|
-
</head>
|
|
12
|
-
|
|
13
|
-
<body style="overflow: hidden; margin: 0px; height: 100%; width: 100%;">
|
|
14
|
-
<div id="root" style="display: flex; flex-direction: row; overflow: hidden; height: 100%; width: 100%;"></div>
|
|
15
|
-
<script type="module" src="/src/index.tsx"></script>
|
|
16
|
-
</body>
|
|
17
|
-
|
|
1
|
+
<!doctype html>
|
|
2
|
+
<html lang="en" style="height: 100%;">
|
|
3
|
+
|
|
4
|
+
<head>
|
|
5
|
+
<meta charset="utf-8" />
|
|
6
|
+
<link rel="shortcut icon" href="/favicon.ico" />
|
|
7
|
+
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no" />
|
|
8
|
+
<meta name="theme-color" content="#000000" />
|
|
9
|
+
<link rel="manifest" href="/manifest.json" />
|
|
10
|
+
<title>{{name}}</title>
|
|
11
|
+
</head>
|
|
12
|
+
|
|
13
|
+
<body style="overflow: hidden; margin: 0px; height: 100%; width: 100%;">
|
|
14
|
+
<div id="root" style="display: flex; flex-direction: row; overflow: hidden; height: 100%; width: 100%;"></div>
|
|
15
|
+
<script type="module" src="/src/index.tsx"></script>
|
|
16
|
+
</body>
|
|
17
|
+
|
|
18
18
|
</html>
|
|
@@ -1,20 +1,20 @@
|
|
|
1
|
-
{
|
|
2
|
-
"dev": {
|
|
3
|
-
"script": "start",
|
|
4
|
-
"modifications": [
|
|
5
|
-
{
|
|
6
|
-
"source": "/config/web-group-dev.json",
|
|
7
|
-
"destination": "/modifications/dev/iocd/config/apps/webGroup.json"
|
|
8
|
-
}
|
|
9
|
-
]
|
|
10
|
-
},
|
|
11
|
-
"build": {
|
|
12
|
-
"script": "build",
|
|
13
|
-
"modifications": [
|
|
14
|
-
{
|
|
15
|
-
"source": "/dist/",
|
|
16
|
-
"destination": "/modifications/build/iocd/assets/webGroups/app-react"
|
|
17
|
-
}
|
|
18
|
-
]
|
|
19
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"dev": {
|
|
3
|
+
"script": "start",
|
|
4
|
+
"modifications": [
|
|
5
|
+
{
|
|
6
|
+
"source": "/config/web-group-dev.json",
|
|
7
|
+
"destination": "/modifications/dev/iocd/config/apps/webGroup.json"
|
|
8
|
+
}
|
|
9
|
+
]
|
|
10
|
+
},
|
|
11
|
+
"build": {
|
|
12
|
+
"script": "build",
|
|
13
|
+
"modifications": [
|
|
14
|
+
{
|
|
15
|
+
"source": "/dist/",
|
|
16
|
+
"destination": "/modifications/build/iocd/assets/webGroups/app-react"
|
|
17
|
+
}
|
|
18
|
+
]
|
|
19
|
+
}
|
|
20
20
|
}
|
|
@@ -1,26 +1,26 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "groups-react",
|
|
3
|
-
"private": true,
|
|
4
|
-
"version": "0.0.0",
|
|
5
|
-
"type": "module",
|
|
6
|
-
"scripts": {
|
|
7
|
-
"start": "vite --port 5175",
|
|
8
|
-
"build": "tsc -b && vite build"
|
|
9
|
-
},
|
|
10
|
-
"dependencies": {
|
|
11
|
-
"@interopio/desktop": "^6.8.4",
|
|
12
|
-
"@interopio/groups-ui-react": "^3.0.0",
|
|
13
|
-
"@interopio/react-hooks": "^3.5.12",
|
|
14
|
-
"react": "18.0.0",
|
|
15
|
-
"react-dom": "18.0.0"
|
|
16
|
-
},
|
|
17
|
-
"devDependencies": {
|
|
18
|
-
"@types/node": "^22.8.6",
|
|
19
|
-
"@types/react": "^18.3.12",
|
|
20
|
-
"@types/react-dom": "^18.3.1",
|
|
21
|
-
"@vitejs/plugin-react": "^4.3.3",
|
|
22
|
-
"globals": "^15.11.0",
|
|
23
|
-
"vite": "^7.1.5",
|
|
24
|
-
"typescript": "^4.6.4"
|
|
25
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"name": "groups-react",
|
|
3
|
+
"private": true,
|
|
4
|
+
"version": "0.0.0",
|
|
5
|
+
"type": "module",
|
|
6
|
+
"scripts": {
|
|
7
|
+
"start": "vite --port 5175",
|
|
8
|
+
"build": "tsc -b && vite build"
|
|
9
|
+
},
|
|
10
|
+
"dependencies": {
|
|
11
|
+
"@interopio/desktop": "^6.8.4",
|
|
12
|
+
"@interopio/groups-ui-react": "^3.0.0",
|
|
13
|
+
"@interopio/react-hooks": "^3.5.12",
|
|
14
|
+
"react": "18.0.0",
|
|
15
|
+
"react-dom": "18.0.0"
|
|
16
|
+
},
|
|
17
|
+
"devDependencies": {
|
|
18
|
+
"@types/node": "^22.8.6",
|
|
19
|
+
"@types/react": "^18.3.12",
|
|
20
|
+
"@types/react-dom": "^18.3.1",
|
|
21
|
+
"@vitejs/plugin-react": "^4.3.3",
|
|
22
|
+
"globals": "^15.11.0",
|
|
23
|
+
"vite": "^7.1.5",
|
|
24
|
+
"typescript": "^4.6.4"
|
|
25
|
+
}
|
|
26
26
|
}
|
|
@@ -1,25 +1,25 @@
|
|
|
1
|
-
{
|
|
2
|
-
"short_name": "io.Connect Web Group App",
|
|
3
|
-
"name": "io.Connect Web Group App",
|
|
4
|
-
"icons": [
|
|
5
|
-
{
|
|
6
|
-
"src": "favicon.ico",
|
|
7
|
-
"sizes": "64x64 32x32 24x24 16x16",
|
|
8
|
-
"type": "image/x-icon"
|
|
9
|
-
},
|
|
10
|
-
{
|
|
11
|
-
"src": "logo192.png",
|
|
12
|
-
"type": "image/png",
|
|
13
|
-
"sizes": "192x192"
|
|
14
|
-
},
|
|
15
|
-
{
|
|
16
|
-
"src": "logo512.png",
|
|
17
|
-
"type": "image/png",
|
|
18
|
-
"sizes": "512x512"
|
|
19
|
-
}
|
|
20
|
-
],
|
|
21
|
-
"start_url": ".",
|
|
22
|
-
"display": "standalone",
|
|
23
|
-
"theme_color": "#000000",
|
|
24
|
-
"background_color": "#ffffff"
|
|
1
|
+
{
|
|
2
|
+
"short_name": "io.Connect Web Group App",
|
|
3
|
+
"name": "io.Connect Web Group App",
|
|
4
|
+
"icons": [
|
|
5
|
+
{
|
|
6
|
+
"src": "favicon.ico",
|
|
7
|
+
"sizes": "64x64 32x32 24x24 16x16",
|
|
8
|
+
"type": "image/x-icon"
|
|
9
|
+
},
|
|
10
|
+
{
|
|
11
|
+
"src": "logo192.png",
|
|
12
|
+
"type": "image/png",
|
|
13
|
+
"sizes": "192x192"
|
|
14
|
+
},
|
|
15
|
+
{
|
|
16
|
+
"src": "logo512.png",
|
|
17
|
+
"type": "image/png",
|
|
18
|
+
"sizes": "512x512"
|
|
19
|
+
}
|
|
20
|
+
],
|
|
21
|
+
"start_url": ".",
|
|
22
|
+
"display": "standalone",
|
|
23
|
+
"theme_color": "#000000",
|
|
24
|
+
"background_color": "#ffffff"
|
|
25
25
|
}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
# https://www.robotstxt.org/robotstxt.html
|
|
2
|
-
User-agent: *
|
|
3
|
-
Disallow:
|
|
1
|
+
# https://www.robotstxt.org/robotstxt.html
|
|
2
|
+
User-agent: *
|
|
3
|
+
Disallow:
|
|
@@ -1,38 +1,38 @@
|
|
|
1
|
-
.App {
|
|
2
|
-
text-align: center;
|
|
3
|
-
}
|
|
4
|
-
|
|
5
|
-
.App-logo {
|
|
6
|
-
height: 40vmin;
|
|
7
|
-
pointer-events: none;
|
|
8
|
-
}
|
|
9
|
-
|
|
10
|
-
@media (prefers-reduced-motion: no-preference) {
|
|
11
|
-
.App-logo {
|
|
12
|
-
animation: App-logo-spin infinite 20s linear;
|
|
13
|
-
}
|
|
14
|
-
}
|
|
15
|
-
|
|
16
|
-
.App-header {
|
|
17
|
-
background-color: #282c34;
|
|
18
|
-
min-height: 100vh;
|
|
19
|
-
display: flex;
|
|
20
|
-
flex-direction: column;
|
|
21
|
-
align-items: center;
|
|
22
|
-
justify-content: center;
|
|
23
|
-
font-size: calc(10px + 2vmin);
|
|
24
|
-
color: white;
|
|
25
|
-
}
|
|
26
|
-
|
|
27
|
-
.App-link {
|
|
28
|
-
color: #61dafb;
|
|
29
|
-
}
|
|
30
|
-
|
|
31
|
-
@keyframes App-logo-spin {
|
|
32
|
-
from {
|
|
33
|
-
transform: rotate(0deg);
|
|
34
|
-
}
|
|
35
|
-
to {
|
|
36
|
-
transform: rotate(360deg);
|
|
37
|
-
}
|
|
38
|
-
}
|
|
1
|
+
.App {
|
|
2
|
+
text-align: center;
|
|
3
|
+
}
|
|
4
|
+
|
|
5
|
+
.App-logo {
|
|
6
|
+
height: 40vmin;
|
|
7
|
+
pointer-events: none;
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
@media (prefers-reduced-motion: no-preference) {
|
|
11
|
+
.App-logo {
|
|
12
|
+
animation: App-logo-spin infinite 20s linear;
|
|
13
|
+
}
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
.App-header {
|
|
17
|
+
background-color: #282c34;
|
|
18
|
+
min-height: 100vh;
|
|
19
|
+
display: flex;
|
|
20
|
+
flex-direction: column;
|
|
21
|
+
align-items: center;
|
|
22
|
+
justify-content: center;
|
|
23
|
+
font-size: calc(10px + 2vmin);
|
|
24
|
+
color: white;
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
.App-link {
|
|
28
|
+
color: #61dafb;
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
@keyframes App-logo-spin {
|
|
32
|
+
from {
|
|
33
|
+
transform: rotate(0deg);
|
|
34
|
+
}
|
|
35
|
+
to {
|
|
36
|
+
transform: rotate(360deg);
|
|
37
|
+
}
|
|
38
|
+
}
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import React, { useContext } from 'react'
|
|
2
|
-
import Group from "@interopio/groups-ui-react";
|
|
3
|
-
import "@interopio/groups-ui-react/dist/styles/groups.css";
|
|
4
|
-
import { IOConnectContext } from '@interopio/react-hooks';
|
|
5
|
-
|
|
6
|
-
const App = () => {
|
|
7
|
-
(window as any).io = useContext(IOConnectContext);
|
|
8
|
-
return <Group />
|
|
9
|
-
};
|
|
10
|
-
|
|
11
|
-
export default App;
|
|
1
|
+
import React, { useContext } from 'react'
|
|
2
|
+
import Group from "@interopio/groups-ui-react";
|
|
3
|
+
import "@interopio/groups-ui-react/dist/styles/groups.css";
|
|
4
|
+
import { IOConnectContext } from '@interopio/react-hooks';
|
|
5
|
+
|
|
6
|
+
const App = () => {
|
|
7
|
+
(window as any).io = useContext(IOConnectContext);
|
|
8
|
+
return <Group />
|
|
9
|
+
};
|
|
10
|
+
|
|
11
|
+
export default App;
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
body {
|
|
2
|
-
margin: 0;
|
|
3
|
-
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen',
|
|
4
|
-
'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue',
|
|
5
|
-
sans-serif;
|
|
6
|
-
-webkit-font-smoothing: antialiased;
|
|
7
|
-
-moz-osx-font-smoothing: grayscale;
|
|
8
|
-
}
|
|
9
|
-
|
|
10
|
-
code {
|
|
11
|
-
font-family: source-code-pro, Menlo, Monaco, Consolas, 'Courier New',
|
|
12
|
-
monospace;
|
|
13
|
-
}
|
|
1
|
+
body {
|
|
2
|
+
margin: 0;
|
|
3
|
+
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen',
|
|
4
|
+
'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue',
|
|
5
|
+
sans-serif;
|
|
6
|
+
-webkit-font-smoothing: antialiased;
|
|
7
|
+
-moz-osx-font-smoothing: grayscale;
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
code {
|
|
11
|
+
font-family: source-code-pro, Menlo, Monaco, Consolas, 'Courier New',
|
|
12
|
+
monospace;
|
|
13
|
+
}
|
|
@@ -1,19 +1,19 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import ReactDOM from 'react-dom/client';
|
|
3
|
-
import App from './App';
|
|
4
|
-
import { IOConnectProvider } from "@interopio/react-hooks";
|
|
5
|
-
import IODesktop from '@interopio/desktop';
|
|
6
|
-
|
|
7
|
-
ReactDOM.createRoot(document.getElementById('root')!).render(
|
|
8
|
-
<React.StrictMode>
|
|
9
|
-
<IOConnectProvider settings={{
|
|
10
|
-
desktop: {
|
|
11
|
-
factory: (config: any) => {
|
|
12
|
-
return IODesktop();
|
|
13
|
-
}
|
|
14
|
-
}
|
|
15
|
-
}}>
|
|
16
|
-
<App />
|
|
17
|
-
</IOConnectProvider>
|
|
18
|
-
</React.StrictMode >
|
|
19
|
-
);
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import ReactDOM from 'react-dom/client';
|
|
3
|
+
import App from './App';
|
|
4
|
+
import { IOConnectProvider } from "@interopio/react-hooks";
|
|
5
|
+
import IODesktop from '@interopio/desktop';
|
|
6
|
+
|
|
7
|
+
ReactDOM.createRoot(document.getElementById('root')!).render(
|
|
8
|
+
<React.StrictMode>
|
|
9
|
+
<IOConnectProvider settings={{
|
|
10
|
+
desktop: {
|
|
11
|
+
factory: (config: any) => {
|
|
12
|
+
return IODesktop();
|
|
13
|
+
}
|
|
14
|
+
}
|
|
15
|
+
}}>
|
|
16
|
+
<App />
|
|
17
|
+
</IOConnectProvider>
|
|
18
|
+
</React.StrictMode >
|
|
19
|
+
);
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { defineConfig } from 'vite'
|
|
2
|
-
import react from '@vitejs/plugin-react'
|
|
3
|
-
|
|
4
|
-
// https://vite.dev/config/
|
|
5
|
-
export default defineConfig({
|
|
6
|
-
plugins: [react()],
|
|
7
|
-
base: './'
|
|
8
|
-
})
|
|
1
|
+
import { defineConfig } from 'vite'
|
|
2
|
+
import react from '@vitejs/plugin-react'
|
|
3
|
+
|
|
4
|
+
// https://vite.dev/config/
|
|
5
|
+
export default defineConfig({
|
|
6
|
+
plugins: [react()],
|
|
7
|
+
base: './'
|
|
8
|
+
})
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "groups",
|
|
3
|
-
"displayName": "Groups App",
|
|
4
|
-
"description": "Adds custom groups application support to io.Connect Desktop",
|
|
5
|
-
"version": "1.0.0",
|
|
6
|
-
"type": "application",
|
|
7
|
-
"setupUI": {
|
|
8
|
-
"text": "Add a custom groups app",
|
|
9
|
-
"separate": false,
|
|
10
|
-
"selected": false
|
|
11
|
-
}
|
|
12
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"name": "groups",
|
|
3
|
+
"displayName": "Groups App",
|
|
4
|
+
"description": "Adds custom groups application support to io.Connect Desktop",
|
|
5
|
+
"version": "1.0.0",
|
|
6
|
+
"type": "application",
|
|
7
|
+
"setupUI": {
|
|
8
|
+
"text": "Add a custom groups app",
|
|
9
|
+
"separate": false,
|
|
10
|
+
"selected": false
|
|
11
|
+
}
|
|
12
|
+
}
|