From 3abb7f25d986ca255e70c0603dec1420ad51e8a3 Mon Sep 17 00:00:00 2001
From: nage1234 <88926279+nage1234@users.noreply.github.com>
Date: Tue, 26 Mar 2024 23:40:58 +0530
Subject: [PATCH 01/23] PAC-1569-added codes for Packs API fetch
---
plugins/packs-integrations.js | 98 +++++++++++++++++++++++++++++++++--
1 file changed, 95 insertions(+), 3 deletions(-)
diff --git a/plugins/packs-integrations.js b/plugins/packs-integrations.js
index 695c7550b9..91c622be49 100644
--- a/plugins/packs-integrations.js
+++ b/plugins/packs-integrations.js
@@ -1,3 +1,26 @@
+import api from "../src/services/api";
+import { setTimeout } from "timers/promises";
+
+const layerMap = {
+ k8s: "Kubernetes",
+ cni: "network",
+ os: "operating system",
+ servicemesh: "service mesh",
+ monitoring: "monitoring",
+ csi: "storage",
+ logging: "logging",
+ "load balancer": "load balancer",
+ ingress: "ingress",
+ authentication: "authentication",
+ registry: "registry",
+ "system app": "system app",
+ spectro: "spectro",
+ security: "security",
+ serverless: "serverless",
+ "app services": "app services",
+
+}
+
function generateIntegrationData(allContent) {
const packsData = allContent["docusaurus-plugin-content-docs"].default.loadedVersions[0].docs
.filter((doc) => {
@@ -20,14 +43,83 @@ function generatePacksData(allContent) {
return packsData;
}
+function combineAPICustomPackData(packsMData, packsPaletteDetailsData, customPacksData) {
+ const filteredPalattePackData = packsPaletteDetailsData.filter((packContent) => {
+ const packName = packContent.name;
+ return ((packsMData[packName].spec.layer === "addon" && packsMData[packName].spec.addonType) || packsMData[packName].spec.layer !== "addon");
+ });
+ return filteredPalattePackData.map((packContent) => {
+ const packName = packContent.name;
+ if (packsMData[packName]) {
+ const packMDValue = packsMData[packName];
+ const layer = packMDValue.spec.layer === "addon" ? packMDValue.spec.addonType : layerMap[packMDValue.spec.layer];
+ return {
+ fields: {
+ sidebar_label: packMDValue.spec.name,
+ title: packMDValue.spec.displayName,
+ description: 'dynamically generated',
+ hide_table_of_contents: true,
+ type: 'integration',
+ category: [layer],
+ sidebar_class_name: 'hide-from-sidebar',
+ logoUrl: packMDValue.spec.registries[0].logoUrl,
+ tags: [],
+ slug: '/integrations/${packMDValue.spec.name}',
+ id: 'integrations/${packMDValue.spec.name}',
+ }
+ };
+ }
+ });
+}
+
+async function fetchPackListItems(queryParams, packDataArr, counter) {
+ const payload = {filter: { type: ["spectro", "oci"],environment:["aws"]}};
+ counter+=1;
+ if(counter%10 === 0) {
+ await setTimeout(2000);
+ }
+ const response = await api.post('/v1/packs/search'+queryParams, payload);
+ const tempPackArr = packDataArr.concat(response.data.items);
+ if(response.data.listmeta.continue) {
+ return fetchPackListItems("?limit=100&continue="+response.data.listmeta.continue, tempPackArr, counter);
+ } else {
+ return tempPackArr;
+ }
+}
+
async function pluginPacksAndIntegrationsData() {
return {
name: "plugin-packs-integrations",
- async contentLoaded({ allContent, actions }) {
+ async loadContent() {
+ const packDataArr = await fetchPackListItems("?limit=100", [], 0);
+ const packUrl = "v1/packs/";
+ const packMDMap = new Map();
+ let apiPacksData = [];
+ let counter = 0;
+ let promises = new Array();
+ for (let i = 0; i < packDataArr.length; i++) {
+ counter+=1
+ const packData = packDataArr[i];
+ packMDMap[packData.spec.name]=packData;
+ promises.push(api.get(packUrl + packData.spec.registries[0].latestPackUid));
+ if(counter%10 === 0 || i === packDataArr.length-1) {
+ await setTimeout(2000);
+ const response2 = await Promise.all(promises);
+ apiPacksData = apiPacksData.concat(response2.map((pack) => pack.data));
+ promises = [];
+ }
+ }
+ return {packsPaletteData: packMDMap, packsPaletteDetailsData: apiPacksData} ;
+ },
+ async contentLoaded({ allContent, content, actions }) {
const { setGlobalData } = actions;
+ const { packsPaletteData, packsPaletteDetailsData } = content;
const integrationsData = generateIntegrationData(allContent);
- const packsData = generatePacksData(allContent);
- setGlobalData({ integrations: integrationsData, packs: packsData });
+ const customPacksData = generatePacksData(allContent);
+ //console.log("hello here packData is ---- ", customPacksData);
+ //console.log("hello here packData is ---- ", packsPaletteDetailsData.length);
+ const unionPackData = combineAPICustomPackData(packsPaletteData, packsPaletteDetailsData, customPacksData)
+ setGlobalData({ integrations: integrationsData, packs: unionPackData });
},
};
}
From 5d5b209e59be6d9b2d0d61eeb16f1d18a83e986a Mon Sep 17 00:00:00 2001
From: nage1234 <88926279+nage1234@users.noreply.github.com>
Date: Sun, 31 Mar 2024 23:21:33 +0530
Subject: [PATCH 02/23] PAC-1569-added few components for filtering, changed
exisitng Technology card as per mockup
---
package-lock.json | 636 +++++++++---------
package.json | 3 +-
plugins/packs-integrations.js | 14 +-
src/components/IconMapper/IconMapper.tsx | 31 +
.../Integrations/IntegrationTypes.ts | 1 +
.../CategorySelector/AdditionalFilters.tsx | 34 +
.../CategorySelector/CategorySelector.tsx | 26 -
.../CategorySelector/CloudProviderSelecor.tsx | 34 +
.../CategorySelector/CustomLabel.module.scss | 9 +
.../CategorySelector/CustomLabel.tsx | 16 +
.../CategorySelector/TypeSelector.tsx | 36 +
.../additionalFilters.antd.css | 9 +
.../Technologies/CategorySelector/index.ts | 3 -
.../Technologies/PackCardIcon.module.scss | 12 +
src/components/Technologies/PackCardIcon.tsx | 34 +
src/components/Technologies/PackConstants.ts | 54 ++
.../Technologies/PackFilters.module.scss | 8 +
src/components/Technologies/PacksFilters.tsx | 36 +
.../Technologies/Technologies.module.scss | 17 +-
src/components/Technologies/Technologies.tsx | 96 +--
.../Technologies/TechnologyCard.tsx | 18 +-
.../Technologies/technologies.antd.css | 12 +
src/theme/Root/Root.tsx | 2 +
static/assets/packs/app_layer.svg | 1 +
static/assets/packs/authentication_layer.svg | 4 +
static/assets/packs/cni_layer.svg | 11 +
static/assets/packs/csi_layer.svg | 4 +
static/assets/packs/ingress_layer.svg | 5 +
static/assets/packs/k8s_layer.svg | 3 +
static/assets/packs/load_balancer_layer.svg | 10 +
static/assets/packs/logging_layer.svg | 3 +
static/assets/packs/misc_layer.svg | 3 +
static/assets/packs/monitoring_layer.svg | 3 +
static/assets/packs/os_layer.svg | 3 +
static/assets/packs/registry_layer.svg | 3 +
static/assets/packs/security_layer.svg | 3 +
static/assets/packs/service_mesh_layer.svg | 3 +
static/assets/packs/system_app_layer.svg | 3 +
38 files changed, 790 insertions(+), 413 deletions(-)
create mode 100644 src/components/Technologies/CategorySelector/AdditionalFilters.tsx
delete mode 100644 src/components/Technologies/CategorySelector/CategorySelector.tsx
create mode 100644 src/components/Technologies/CategorySelector/CloudProviderSelecor.tsx
create mode 100644 src/components/Technologies/CategorySelector/CustomLabel.module.scss
create mode 100644 src/components/Technologies/CategorySelector/CustomLabel.tsx
create mode 100644 src/components/Technologies/CategorySelector/TypeSelector.tsx
create mode 100644 src/components/Technologies/CategorySelector/additionalFilters.antd.css
delete mode 100644 src/components/Technologies/CategorySelector/index.ts
create mode 100644 src/components/Technologies/PackCardIcon.module.scss
create mode 100644 src/components/Technologies/PackCardIcon.tsx
create mode 100644 src/components/Technologies/PackConstants.ts
create mode 100644 src/components/Technologies/PackFilters.module.scss
create mode 100644 src/components/Technologies/PacksFilters.tsx
create mode 100644 src/components/Technologies/technologies.antd.css
create mode 100644 static/assets/packs/app_layer.svg
create mode 100644 static/assets/packs/authentication_layer.svg
create mode 100644 static/assets/packs/cni_layer.svg
create mode 100644 static/assets/packs/csi_layer.svg
create mode 100644 static/assets/packs/ingress_layer.svg
create mode 100644 static/assets/packs/k8s_layer.svg
create mode 100644 static/assets/packs/load_balancer_layer.svg
create mode 100644 static/assets/packs/logging_layer.svg
create mode 100644 static/assets/packs/misc_layer.svg
create mode 100644 static/assets/packs/monitoring_layer.svg
create mode 100644 static/assets/packs/os_layer.svg
create mode 100644 static/assets/packs/registry_layer.svg
create mode 100644 static/assets/packs/security_layer.svg
create mode 100644 static/assets/packs/service_mesh_layer.svg
create mode 100644 static/assets/packs/system_app_layer.svg
diff --git a/package-lock.json b/package-lock.json
index d9917d74ad..08094f9af0 100644
--- a/package-lock.json
+++ b/package-lock.json
@@ -8,6 +8,7 @@
"name": "spectro-cloud-docs",
"version": "4.2.0",
"dependencies": {
+ "@ant-design/icons": "^4.8.3",
"@commitlint/cli": "^17.6.7",
"@commitlint/config-conventional": "^17.6.7",
"@docusaurus/core": "^3.1.1",
@@ -19,7 +20,7 @@
"@fortawesome/free-solid-svg-icons": "^6.4.0",
"@fortawesome/react-fontawesome": "^0.2.0",
"@mdx-js/react": "^3.0.0",
- "antd": "^5.6.2",
+ "antd": "^4.22.6",
"axios-retry": "^3.8.0",
"babel-plugin-macros": "^3.1.0",
"clsx": "^1.2.1",
@@ -261,42 +262,24 @@
}
},
"node_modules/@ant-design/colors": {
- "version": "7.0.0",
- "license": "MIT",
+ "version": "6.0.0",
+ "resolved": "https://registry.npmjs.org/@ant-design/colors/-/colors-6.0.0.tgz",
+ "integrity": "sha512-qAZRvPzfdWHtfameEGP2Qvuf838NhergR35o+EuVyB5XvSA98xod5r4utvi4TJ3ywmevm290g9nsCG5MryrdWQ==",
"dependencies": {
"@ctrl/tinycolor": "^3.4.0"
}
},
- "node_modules/@ant-design/cssinjs": {
- "version": "1.18.1",
- "license": "MIT",
- "dependencies": {
- "@babel/runtime": "^7.11.1",
- "@emotion/hash": "^0.8.0",
- "@emotion/unitless": "^0.7.5",
- "classnames": "^2.3.1",
- "csstype": "3.1.2",
- "rc-util": "^5.35.0",
- "stylis": "^4.0.13"
- },
- "peerDependencies": {
- "react": ">=16.0.0",
- "react-dom": ">=16.0.0"
- }
- },
- "node_modules/@ant-design/cssinjs/node_modules/csstype": {
- "version": "3.1.2",
- "license": "MIT"
- },
"node_modules/@ant-design/icons": {
- "version": "5.2.6",
- "license": "MIT",
+ "version": "4.8.3",
+ "resolved": "https://registry.npmjs.org/@ant-design/icons/-/icons-4.8.3.tgz",
+ "integrity": "sha512-HGlIQZzrEbAhpJR6+IGdzfbPym94Owr6JZkJ2QCCnOkPVIWMO2xgIVcOKnl8YcpijIo39V7l2qQL5fmtw56cMw==",
"dependencies": {
- "@ant-design/colors": "^7.0.0",
+ "@ant-design/colors": "^6.0.0",
"@ant-design/icons-svg": "^4.3.0",
"@babel/runtime": "^7.11.2",
"classnames": "^2.2.6",
- "rc-util": "^5.31.1"
+ "lodash": "^4.17.15",
+ "rc-util": "^5.9.4"
},
"engines": {
"node": ">=8"
@@ -307,8 +290,9 @@
}
},
"node_modules/@ant-design/icons-svg": {
- "version": "4.3.1",
- "license": "MIT"
+ "version": "4.4.2",
+ "resolved": "https://registry.npmjs.org/@ant-design/icons-svg/-/icons-svg-4.4.2.tgz",
+ "integrity": "sha512-vHbT+zJEVzllwP+CM+ul7reTEfBR0vgxFe7+lREAsAA7YGsYpboiq2sQNeQeRvh09GfQgs/GyFEvZpJ9cLXpXA=="
},
"node_modules/@ant-design/react-slick": {
"version": "1.0.2",
@@ -2415,7 +2399,8 @@
},
"node_modules/@ctrl/tinycolor": {
"version": "3.6.1",
- "license": "MIT",
+ "resolved": "https://registry.npmjs.org/@ctrl/tinycolor/-/tinycolor-3.6.1.tgz",
+ "integrity": "sha512-SITSV6aIXsuVNV3f3O0f2n/cgyEDWoSqtZMYiAmcsYHydcKrOz3gUxB/iXd/Qf08+IZX4KpgNbvUdMBmWz+kcA==",
"engines": {
"node": ">=10"
}
@@ -3313,14 +3298,6 @@
"node": ">=18.0"
}
},
- "node_modules/@emotion/hash": {
- "version": "0.8.0",
- "license": "MIT"
- },
- "node_modules/@emotion/unitless": {
- "version": "0.7.5",
- "license": "MIT"
- },
"node_modules/@eslint-community/eslint-utils": {
"version": "4.4.0",
"devOptional": true,
@@ -4952,61 +4929,10 @@
"version": "1.0.0-next.24",
"license": "MIT"
},
- "node_modules/@rc-component/color-picker": {
- "version": "1.4.1",
- "license": "MIT",
- "dependencies": {
- "@babel/runtime": "^7.10.1",
- "@ctrl/tinycolor": "^3.6.0",
- "classnames": "^2.2.6",
- "rc-util": "^5.30.0"
- },
- "peerDependencies": {
- "react": ">=16.9.0",
- "react-dom": ">=16.9.0"
- }
- },
- "node_modules/@rc-component/context": {
- "version": "1.4.0",
- "license": "MIT",
- "dependencies": {
- "@babel/runtime": "^7.10.1",
- "rc-util": "^5.27.0"
- },
- "peerDependencies": {
- "react": ">=16.9.0",
- "react-dom": ">=16.9.0"
- }
- },
- "node_modules/@rc-component/mini-decimal": {
- "version": "1.1.0",
- "license": "MIT",
- "dependencies": {
- "@babel/runtime": "^7.18.0"
- },
- "engines": {
- "node": ">=8.x"
- }
- },
- "node_modules/@rc-component/mutate-observer": {
- "version": "1.1.0",
- "license": "MIT",
- "dependencies": {
- "@babel/runtime": "^7.18.0",
- "classnames": "^2.3.2",
- "rc-util": "^5.24.4"
- },
- "engines": {
- "node": ">=8.x"
- },
- "peerDependencies": {
- "react": ">=16.9.0",
- "react-dom": ">=16.9.0"
- }
- },
"node_modules/@rc-component/portal": {
"version": "1.1.2",
- "license": "MIT",
+ "resolved": "https://registry.npmjs.org/@rc-component/portal/-/portal-1.1.2.tgz",
+ "integrity": "sha512-6f813C0IsasTZms08kfA8kPAGxbbkYToa8ALaiDIGGECU4i9hj8Plgbx0sNJDrey3EtHO30hmdaxtT0138xZcg==",
"dependencies": {
"@babel/runtime": "^7.18.0",
"classnames": "^2.3.2",
@@ -5020,43 +4946,6 @@
"react-dom": ">=16.9.0"
}
},
- "node_modules/@rc-component/tour": {
- "version": "1.11.1",
- "license": "MIT",
- "dependencies": {
- "@babel/runtime": "^7.18.0",
- "@rc-component/portal": "^1.0.0-9",
- "@rc-component/trigger": "^1.3.6",
- "classnames": "^2.3.2",
- "rc-util": "^5.24.4"
- },
- "engines": {
- "node": ">=8.x"
- },
- "peerDependencies": {
- "react": ">=16.9.0",
- "react-dom": ">=16.9.0"
- }
- },
- "node_modules/@rc-component/trigger": {
- "version": "1.18.2",
- "license": "MIT",
- "dependencies": {
- "@babel/runtime": "^7.23.2",
- "@rc-component/portal": "^1.1.0",
- "classnames": "^2.3.2",
- "rc-motion": "^2.0.0",
- "rc-resize-observer": "^1.3.1",
- "rc-util": "^5.38.0"
- },
- "engines": {
- "node": ">=8.x"
- },
- "peerDependencies": {
- "react": ">=16.9.0",
- "react-dom": ">=16.9.0"
- }
- },
"node_modules/@redocly/ajv": {
"version": "8.11.0",
"license": "MIT",
@@ -7466,57 +7355,53 @@
"license": "MIT"
},
"node_modules/antd": {
- "version": "5.12.2",
- "license": "MIT",
+ "version": "4.24.16",
+ "resolved": "https://registry.npmjs.org/antd/-/antd-4.24.16.tgz",
+ "integrity": "sha512-zZrK4UYxHtU6tGOOf0uG/kBRx1kTvypfuSB3GqE/SBQxFhZ/TZ+yj7Z1qwI8vGfMtUUJdLeuoCAqGDa1zPsXnQ==",
"dependencies": {
- "@ant-design/colors": "^7.0.0",
- "@ant-design/cssinjs": "^1.18.1",
- "@ant-design/icons": "^5.2.6",
+ "@ant-design/colors": "^6.0.0",
+ "@ant-design/icons": "^4.8.2",
"@ant-design/react-slick": "~1.0.2",
- "@babel/runtime": "^7.23.4",
+ "@babel/runtime": "^7.18.3",
"@ctrl/tinycolor": "^3.6.1",
- "@rc-component/color-picker": "~1.4.1",
- "@rc-component/mutate-observer": "^1.1.0",
- "@rc-component/tour": "~1.11.1",
- "@rc-component/trigger": "^1.18.2",
- "classnames": "^2.3.2",
- "copy-to-clipboard": "^3.3.3",
- "dayjs": "^1.11.1",
- "qrcode.react": "^3.1.0",
- "rc-cascader": "~3.20.0",
- "rc-checkbox": "~3.1.0",
- "rc-collapse": "~3.7.2",
- "rc-dialog": "~9.3.4",
- "rc-drawer": "~6.5.2",
- "rc-dropdown": "~4.1.0",
- "rc-field-form": "~1.41.0",
- "rc-image": "~7.5.1",
- "rc-input": "~1.3.6",
- "rc-input-number": "~8.4.0",
- "rc-mentions": "~2.9.1",
- "rc-menu": "~9.12.4",
+ "classnames": "^2.2.6",
+ "copy-to-clipboard": "^3.2.0",
+ "lodash": "^4.17.21",
+ "moment": "^2.29.2",
+ "rc-cascader": "~3.7.3",
+ "rc-checkbox": "~3.0.1",
+ "rc-collapse": "~3.4.2",
+ "rc-dialog": "~9.0.2",
+ "rc-drawer": "~6.3.0",
+ "rc-dropdown": "~4.0.1",
+ "rc-field-form": "~1.38.2",
+ "rc-image": "~5.13.0",
+ "rc-input": "~0.1.4",
+ "rc-input-number": "~7.3.11",
+ "rc-mentions": "~1.13.1",
+ "rc-menu": "~9.8.4",
"rc-motion": "^2.9.0",
- "rc-notification": "~5.3.0",
- "rc-pagination": "~4.0.3",
- "rc-picker": "~3.14.6",
- "rc-progress": "~3.5.1",
- "rc-rate": "~2.12.0",
- "rc-resize-observer": "^1.4.0",
- "rc-segmented": "~2.2.2",
- "rc-select": "~14.10.0",
- "rc-slider": "~10.5.0",
- "rc-steps": "~6.0.1",
- "rc-switch": "~4.1.0",
- "rc-table": "~7.36.0",
- "rc-tabs": "~12.14.1",
- "rc-textarea": "~1.5.3",
- "rc-tooltip": "~6.1.2",
- "rc-tree": "~5.8.2",
- "rc-tree-select": "~5.15.0",
- "rc-upload": "~4.3.5",
- "rc-util": "^5.38.1",
- "scroll-into-view-if-needed": "^3.1.0",
- "throttle-debounce": "^5.0.0"
+ "rc-notification": "~4.6.1",
+ "rc-pagination": "~3.2.0",
+ "rc-picker": "~2.7.6",
+ "rc-progress": "~3.4.2",
+ "rc-rate": "~2.9.3",
+ "rc-resize-observer": "^1.3.1",
+ "rc-segmented": "~2.3.0",
+ "rc-select": "~14.1.18",
+ "rc-slider": "~10.0.1",
+ "rc-steps": "~5.0.0",
+ "rc-switch": "~3.2.2",
+ "rc-table": "~7.26.0",
+ "rc-tabs": "~12.5.10",
+ "rc-textarea": "~0.4.7",
+ "rc-tooltip": "~5.2.2",
+ "rc-tree": "~5.7.12",
+ "rc-tree-select": "~5.5.5",
+ "rc-trigger": "^5.3.4",
+ "rc-upload": "~4.3.6",
+ "rc-util": "^5.37.0",
+ "scroll-into-view-if-needed": "^2.2.25"
},
"funding": {
"type": "opencollective",
@@ -7798,7 +7683,8 @@
},
"node_modules/array-tree-filter": {
"version": "2.1.0",
- "license": "MIT"
+ "resolved": "https://registry.npmjs.org/array-tree-filter/-/array-tree-filter-2.1.0.tgz",
+ "integrity": "sha512-4ROwICNlNw/Hqa9v+rk5h22KjmzB1JGTMVKP2AKJBOCgb0yL0ASf0+YvCcLNNwquOHNX48jkeZIJ3a+oOQqKcw=="
},
"node_modules/array-union": {
"version": "2.1.0",
@@ -8014,7 +7900,8 @@
},
"node_modules/async-validator": {
"version": "4.2.5",
- "license": "MIT"
+ "resolved": "https://registry.npmjs.org/async-validator/-/async-validator-4.2.5.tgz",
+ "integrity": "sha512-7HhHjtERjqlNbZtqNqy2rckN/SpOOlmDliet+lP7k+eKZEjPk3DgyeU9lIXLdeLz0uBbbVp+9Qdow9wJWgwwfg=="
},
"node_modules/asynciterator.prototype": {
"version": "1.0.0",
@@ -9137,6 +9024,15 @@
"node": ">=0.10.0"
}
},
+ "node_modules/bin-wrapper/node_modules/is-retry-allowed": {
+ "version": "1.2.0",
+ "resolved": "https://registry.npmjs.org/is-retry-allowed/-/is-retry-allowed-1.2.0.tgz",
+ "integrity": "sha512-RUbUeKwvm3XG2VYamhJL1xFktgjvPzL0Hq8C+6yrWIswDy3BIXGqCxhxkc30N9jqK311gVU137K8Ei55/zVJRg==",
+ "dev": true,
+ "engines": {
+ "node": ">=0.10.0"
+ }
+ },
"node_modules/bin-wrapper/node_modules/json-buffer": {
"version": "3.0.0",
"resolved": "https://registry.npmjs.org/json-buffer/-/json-buffer-3.0.0.tgz",
@@ -10741,8 +10637,9 @@
}
},
"node_modules/compute-scroll-into-view": {
- "version": "3.1.0",
- "license": "MIT"
+ "version": "1.0.20",
+ "resolved": "https://registry.npmjs.org/compute-scroll-into-view/-/compute-scroll-into-view-1.0.20.tgz",
+ "integrity": "sha512-UCB0ioiyj8CRjtrvaceBLqqhZCVP+1B8+NWQhmdsm0VXOJtobBCf1dBQmebCCo34qZmUwZfIH2MZLqNHazrfjg=="
},
"node_modules/concat-map": {
"version": "0.0.1",
@@ -11669,6 +11566,21 @@
"node": ">=12"
}
},
+ "node_modules/date-fns": {
+ "version": "2.30.0",
+ "resolved": "https://registry.npmjs.org/date-fns/-/date-fns-2.30.0.tgz",
+ "integrity": "sha512-fnULvOpxnC5/Vg3NCiWelDsLiUc9bRwAPs/+LfTLNvetFCtCTN+yQz15C/fs4AwX1R9K5GLtLfn8QW+dWisaAw==",
+ "dependencies": {
+ "@babel/runtime": "^7.21.0"
+ },
+ "engines": {
+ "node": ">=0.11"
+ },
+ "funding": {
+ "type": "opencollective",
+ "url": "https://opencollective.com/date-fns"
+ }
+ },
"node_modules/dateformat": {
"version": "3.0.3",
"dev": true,
@@ -11679,7 +11591,8 @@
},
"node_modules/dayjs": {
"version": "1.11.10",
- "license": "MIT"
+ "resolved": "https://registry.npmjs.org/dayjs/-/dayjs-1.11.10.tgz",
+ "integrity": "sha512-vjAczensTgRcqDERK0SR2XMwsF/tSvnvlv6VcF2GIhg6Sx4yOIt/irsr1RDJsKiIyBzJDpCoXiWWq28MqH2cnQ=="
},
"node_modules/debounce": {
"version": "1.2.1",
@@ -12956,6 +12869,11 @@
"dev": true,
"license": "MIT"
},
+ "node_modules/dom-align": {
+ "version": "1.12.4",
+ "resolved": "https://registry.npmjs.org/dom-align/-/dom-align-1.12.4.tgz",
+ "integrity": "sha512-R8LUSEay/68zE5c8/3BDxiTEvgb4xZTF0RKmAHfiEVN3klfIpXfi2/QCoiWPccVQ0J/ZGdz9OjzL4uJEP/MRAw=="
+ },
"node_modules/dom-converter": {
"version": "0.2.0",
"license": "MIT",
@@ -13146,6 +13064,15 @@
"node": ">=0.10.0"
}
},
+ "node_modules/download/node_modules/is-retry-allowed": {
+ "version": "1.2.0",
+ "resolved": "https://registry.npmjs.org/is-retry-allowed/-/is-retry-allowed-1.2.0.tgz",
+ "integrity": "sha512-RUbUeKwvm3XG2VYamhJL1xFktgjvPzL0Hq8C+6yrWIswDy3BIXGqCxhxkc30N9jqK311gVU137K8Ei55/zVJRg==",
+ "dev": true,
+ "engines": {
+ "node": ">=0.10.0"
+ }
+ },
"node_modules/download/node_modules/is-stream": {
"version": "1.1.0",
"resolved": "https://registry.npmjs.org/is-stream/-/is-stream-1.1.0.tgz",
@@ -21694,6 +21621,18 @@
"node": ">=0.10.0"
}
},
+ "node_modules/is-relative": {
+ "version": "1.0.0",
+ "resolved": "https://registry.npmjs.org/is-relative/-/is-relative-1.0.0.tgz",
+ "integrity": "sha512-Kw/ReK0iqwKeu0MITLFuj0jbPAmEiOsIwyIXvvbfa6QfmN9pkD1M+8pdk7Rl/dTKbH34/XBFMbgD4iMJhLQbGA==",
+ "dev": true,
+ "dependencies": {
+ "is-unc-path": "^1.0.0"
+ },
+ "engines": {
+ "node": ">=0.10.0"
+ }
+ },
"node_modules/is-retry-allowed": {
"version": "2.2.0",
"resolved": "https://registry.npmjs.org/is-retry-allowed/-/is-retry-allowed-2.2.0.tgz",
@@ -31221,6 +31160,14 @@
"node": ">=0.10.0"
}
},
+ "node_modules/moment": {
+ "version": "2.30.1",
+ "resolved": "https://registry.npmjs.org/moment/-/moment-2.30.1.tgz",
+ "integrity": "sha512-uEmtNhbDOrWPFS+hdjFCBfy9f2YoyzRpwcl+DqpC6taX21FzsTLQVbMV/W7PzNSX6x/bhC1zA3c2UQ5NzH6how==",
+ "engines": {
+ "node": "*"
+ }
+ },
"node_modules/mozjpeg": {
"version": "7.1.1",
"resolved": "https://registry.npmjs.org/mozjpeg/-/mozjpeg-7.1.1.tgz",
@@ -53323,13 +53270,6 @@
"teleport": ">=0.2.0"
}
},
- "node_modules/qrcode.react": {
- "version": "3.1.0",
- "license": "ISC",
- "peerDependencies": {
- "react": "^16.8.0 || ^17.0.0 || ^18.0.0"
- }
- },
"node_modules/qs": {
"version": "6.5.3",
"dev": true,
@@ -53469,16 +53409,33 @@
"rc": "cli.js"
}
},
+ "node_modules/rc-align": {
+ "version": "4.0.15",
+ "resolved": "https://registry.npmjs.org/rc-align/-/rc-align-4.0.15.tgz",
+ "integrity": "sha512-wqJtVH60pka/nOX7/IspElA8gjPNQKIx/ZqJ6heATCkXpe1Zg4cPVrMD2vC96wjsFFL8WsmhPbx9tdMo1qqlIA==",
+ "dependencies": {
+ "@babel/runtime": "^7.10.1",
+ "classnames": "2.x",
+ "dom-align": "^1.7.0",
+ "rc-util": "^5.26.0",
+ "resize-observer-polyfill": "^1.5.1"
+ },
+ "peerDependencies": {
+ "react": ">=16.9.0",
+ "react-dom": ">=16.9.0"
+ }
+ },
"node_modules/rc-cascader": {
- "version": "3.20.0",
- "license": "MIT",
+ "version": "3.7.3",
+ "resolved": "https://registry.npmjs.org/rc-cascader/-/rc-cascader-3.7.3.tgz",
+ "integrity": "sha512-KBpT+kzhxDW+hxPiNk4zaKa99+Lie2/8nnI11XF+FIOPl4Bj9VlFZi61GrnWzhLGA7VEN+dTxAkNOjkySDa0dA==",
"dependencies": {
"@babel/runtime": "^7.12.5",
"array-tree-filter": "^2.1.0",
"classnames": "^2.3.1",
- "rc-select": "~14.10.0",
- "rc-tree": "~5.8.1",
- "rc-util": "^5.37.0"
+ "rc-select": "~14.1.0",
+ "rc-tree": "~5.7.0",
+ "rc-util": "^5.6.1"
},
"peerDependencies": {
"react": ">=16.9.0",
@@ -53486,8 +53443,9 @@
}
},
"node_modules/rc-checkbox": {
- "version": "3.1.0",
- "license": "MIT",
+ "version": "3.0.1",
+ "resolved": "https://registry.npmjs.org/rc-checkbox/-/rc-checkbox-3.0.1.tgz",
+ "integrity": "sha512-k7nxDWxYF+jDI0ZcCvuvj71xONmWRVe5+1MKcERRR9MRyP3tZ69b+yUCSXXh+sik4/Hc9P5wHr2nnUoGS2zBjA==",
"dependencies": {
"@babel/runtime": "^7.10.1",
"classnames": "^2.3.2",
@@ -53499,13 +53457,15 @@
}
},
"node_modules/rc-collapse": {
- "version": "3.7.2",
- "license": "MIT",
+ "version": "3.4.2",
+ "resolved": "https://registry.npmjs.org/rc-collapse/-/rc-collapse-3.4.2.tgz",
+ "integrity": "sha512-jpTwLgJzkhAgp2Wpi3xmbTbbYExg6fkptL67Uu5LCRVEj6wqmy0DHTjjeynsjOLsppHGHu41t1ELntZ0lEvS/Q==",
"dependencies": {
"@babel/runtime": "^7.10.1",
"classnames": "2.x",
"rc-motion": "^2.3.4",
- "rc-util": "^5.27.0"
+ "rc-util": "^5.2.1",
+ "shallowequal": "^1.1.0"
},
"peerDependencies": {
"react": ">=16.9.0",
@@ -53513,8 +53473,9 @@
}
},
"node_modules/rc-dialog": {
- "version": "9.3.4",
- "license": "MIT",
+ "version": "9.0.2",
+ "resolved": "https://registry.npmjs.org/rc-dialog/-/rc-dialog-9.0.2.tgz",
+ "integrity": "sha512-s3U+24xWUuB6Bn2Lk/Qt6rufy+uT+QvWkiFhNBcO9APLxcFFczWamaq7x9h8SCuhfc1nHcW4y8NbMsnAjNnWyg==",
"dependencies": {
"@babel/runtime": "^7.10.1",
"@rc-component/portal": "^1.0.0-8",
@@ -53528,14 +53489,15 @@
}
},
"node_modules/rc-drawer": {
- "version": "6.5.2",
- "license": "MIT",
+ "version": "6.3.0",
+ "resolved": "https://registry.npmjs.org/rc-drawer/-/rc-drawer-6.3.0.tgz",
+ "integrity": "sha512-uBZVb3xTAR+dBV53d/bUhTctCw3pwcwJoM7g5aX+7vgwt2zzVzoJ6aqFjYJpBlZ9zp0dVYN8fV+hykFE7c4lig==",
"dependencies": {
"@babel/runtime": "^7.10.1",
"@rc-component/portal": "^1.1.1",
"classnames": "^2.2.6",
"rc-motion": "^2.6.1",
- "rc-util": "^5.36.0"
+ "rc-util": "^5.21.2"
},
"peerDependencies": {
"react": ">=16.9.0",
@@ -53543,12 +53505,13 @@
}
},
"node_modules/rc-dropdown": {
- "version": "4.1.0",
- "license": "MIT",
+ "version": "4.0.1",
+ "resolved": "https://registry.npmjs.org/rc-dropdown/-/rc-dropdown-4.0.1.tgz",
+ "integrity": "sha512-OdpXuOcme1rm45cR0Jzgfl1otzmU4vuBVb+etXM8vcaULGokAKVpKlw8p6xzspG7jGd/XxShvq+N3VNEfk/l5g==",
"dependencies": {
"@babel/runtime": "^7.18.3",
- "@rc-component/trigger": "^1.7.0",
"classnames": "^2.2.6",
+ "rc-trigger": "^5.3.1",
"rc-util": "^5.17.0"
},
"peerDependencies": {
@@ -53557,8 +53520,9 @@
}
},
"node_modules/rc-field-form": {
- "version": "1.41.0",
- "license": "MIT",
+ "version": "1.38.2",
+ "resolved": "https://registry.npmjs.org/rc-field-form/-/rc-field-form-1.38.2.tgz",
+ "integrity": "sha512-O83Oi1qPyEv31Sg+Jwvsj6pXc8uQI2BtIAkURr5lvEYHVggXJhdU/nynK8wY1gbw0qR48k731sN5ON4egRCROA==",
"dependencies": {
"@babel/runtime": "^7.18.0",
"async-validator": "^4.1.0",
@@ -53573,15 +53537,16 @@
}
},
"node_modules/rc-image": {
- "version": "7.5.1",
- "license": "MIT",
+ "version": "5.13.0",
+ "resolved": "https://registry.npmjs.org/rc-image/-/rc-image-5.13.0.tgz",
+ "integrity": "sha512-iZTOmw5eWo2+gcrJMMcnd7SsxVHl3w5xlyCgsULUdJhJbnuI8i/AL0tVOsE7aLn9VfOh1qgDT3mC2G75/c7mqg==",
"dependencies": {
"@babel/runtime": "^7.11.2",
"@rc-component/portal": "^1.0.2",
"classnames": "^2.2.6",
- "rc-dialog": "~9.3.4",
+ "rc-dialog": "~9.0.0",
"rc-motion": "^2.6.2",
- "rc-util": "^5.34.1"
+ "rc-util": "^5.0.6"
},
"peerDependencies": {
"react": ">=16.9.0",
@@ -53589,8 +53554,9 @@
}
},
"node_modules/rc-input": {
- "version": "1.3.11",
- "license": "MIT",
+ "version": "0.1.4",
+ "resolved": "https://registry.npmjs.org/rc-input/-/rc-input-0.1.4.tgz",
+ "integrity": "sha512-FqDdNz+fV2dKNgfXzcSLKvC+jEs1709t7nD+WdfjrdSaOcefpgc7BUJYadc3usaING+b7ediMTfKxuJBsEFbXA==",
"dependencies": {
"@babel/runtime": "^7.11.1",
"classnames": "^2.2.1",
@@ -53602,14 +53568,13 @@
}
},
"node_modules/rc-input-number": {
- "version": "8.4.0",
- "license": "MIT",
+ "version": "7.3.11",
+ "resolved": "https://registry.npmjs.org/rc-input-number/-/rc-input-number-7.3.11.tgz",
+ "integrity": "sha512-aMWPEjFeles6PQnMqP5eWpxzsvHm9rh1jQOWXExUEIxhX62Fyl/ptifLHOn17+waDG1T/YUb6flfJbvwRhHrbA==",
"dependencies": {
"@babel/runtime": "^7.10.1",
- "@rc-component/mini-decimal": "^1.0.1",
"classnames": "^2.2.5",
- "rc-input": "~1.3.5",
- "rc-util": "^5.28.0"
+ "rc-util": "^5.23.0"
},
"peerDependencies": {
"react": ">=16.9.0",
@@ -53617,16 +53582,16 @@
}
},
"node_modules/rc-mentions": {
- "version": "2.9.1",
- "license": "MIT",
+ "version": "1.13.1",
+ "resolved": "https://registry.npmjs.org/rc-mentions/-/rc-mentions-1.13.1.tgz",
+ "integrity": "sha512-FCkaWw6JQygtOz0+Vxz/M/NWqrWHB9LwqlY2RtcuFqWJNFK9njijOOzTSsBGANliGufVUzx/xuPHmZPBV0+Hgw==",
"dependencies": {
- "@babel/runtime": "^7.22.5",
- "@rc-component/trigger": "^1.5.0",
+ "@babel/runtime": "^7.10.1",
"classnames": "^2.2.6",
- "rc-input": "~1.3.5",
- "rc-menu": "~9.12.0",
- "rc-textarea": "~1.5.0",
- "rc-util": "^5.34.1"
+ "rc-menu": "~9.8.0",
+ "rc-textarea": "^0.4.0",
+ "rc-trigger": "^5.0.4",
+ "rc-util": "^5.22.5"
},
"peerDependencies": {
"react": ">=16.9.0",
@@ -53634,14 +53599,15 @@
}
},
"node_modules/rc-menu": {
- "version": "9.12.4",
- "license": "MIT",
+ "version": "9.8.4",
+ "resolved": "https://registry.npmjs.org/rc-menu/-/rc-menu-9.8.4.tgz",
+ "integrity": "sha512-lmw2j8I2fhdIzHmC9ajfImfckt0WDb2KVJJBBRIsxPEw2kGkEfjLMUoB1NgiNT/Q5cC8PdjGOGQjHJIJMwyNMw==",
"dependencies": {
"@babel/runtime": "^7.10.1",
- "@rc-component/trigger": "^1.17.0",
"classnames": "2.x",
"rc-motion": "^2.4.3",
- "rc-overflow": "^1.3.1",
+ "rc-overflow": "^1.2.8",
+ "rc-trigger": "^5.1.2",
"rc-util": "^5.27.0"
},
"peerDependencies": {
@@ -53651,7 +53617,8 @@
},
"node_modules/rc-motion": {
"version": "2.9.0",
- "license": "MIT",
+ "resolved": "https://registry.npmjs.org/rc-motion/-/rc-motion-2.9.0.tgz",
+ "integrity": "sha512-XIU2+xLkdIr1/h6ohPZXyPBMvOmuyFZQ/T0xnawz+Rh+gh4FINcnZmMT5UTIj6hgI0VLDjTaPeRd+smJeSPqiQ==",
"dependencies": {
"@babel/runtime": "^7.11.1",
"classnames": "^2.2.1",
@@ -53663,12 +53630,13 @@
}
},
"node_modules/rc-notification": {
- "version": "5.3.0",
- "license": "MIT",
+ "version": "4.6.1",
+ "resolved": "https://registry.npmjs.org/rc-notification/-/rc-notification-4.6.1.tgz",
+ "integrity": "sha512-NSmFYwrrdY3+un1GvDAJQw62Xi9LNMSsoQyo95tuaYrcad5Bn9gJUL8AREufRxSQAQnr64u3LtP3EUyLYT6bhw==",
"dependencies": {
"@babel/runtime": "^7.10.1",
"classnames": "2.x",
- "rc-motion": "^2.9.0",
+ "rc-motion": "^2.2.0",
"rc-util": "^5.20.1"
},
"engines": {
@@ -53681,7 +53649,8 @@
},
"node_modules/rc-overflow": {
"version": "1.3.2",
- "license": "MIT",
+ "resolved": "https://registry.npmjs.org/rc-overflow/-/rc-overflow-1.3.2.tgz",
+ "integrity": "sha512-nsUm78jkYAoPygDAcGZeC2VwIg/IBGSodtOY3pMof4W3M9qRJgqaDYm03ZayHlde3I6ipliAxbN0RUcGf5KOzw==",
"dependencies": {
"@babel/runtime": "^7.11.1",
"classnames": "^2.2.1",
@@ -53694,12 +53663,12 @@
}
},
"node_modules/rc-pagination": {
- "version": "4.0.3",
- "license": "MIT",
+ "version": "3.2.0",
+ "resolved": "https://registry.npmjs.org/rc-pagination/-/rc-pagination-3.2.0.tgz",
+ "integrity": "sha512-5tIXjB670WwwcAJzAqp2J+cOBS9W3cH/WU1EiYwXljuZ4vtZXKlY2Idq8FZrnYBz8KhN3vwPo9CoV/SJS6SL1w==",
"dependencies": {
"@babel/runtime": "^7.10.1",
- "classnames": "^2.3.2",
- "rc-util": "^5.38.0"
+ "classnames": "^2.2.1"
},
"peerDependencies": {
"react": ">=16.9.0",
@@ -53707,43 +53676,31 @@
}
},
"node_modules/rc-picker": {
- "version": "3.14.6",
- "license": "MIT",
+ "version": "2.7.6",
+ "resolved": "https://registry.npmjs.org/rc-picker/-/rc-picker-2.7.6.tgz",
+ "integrity": "sha512-H9if/BUJUZBOhPfWcPeT15JUI3/ntrG9muzERrXDkSoWmDj4yzmBvumozpxYrHwjcKnjyDGAke68d+whWwvhHA==",
"dependencies": {
"@babel/runtime": "^7.10.1",
- "@rc-component/trigger": "^1.5.0",
"classnames": "^2.2.1",
- "rc-util": "^5.30.0"
+ "date-fns": "2.x",
+ "dayjs": "1.x",
+ "moment": "^2.24.0",
+ "rc-trigger": "^5.0.4",
+ "rc-util": "^5.37.0",
+ "shallowequal": "^1.1.0"
},
"engines": {
"node": ">=8.x"
},
"peerDependencies": {
- "date-fns": ">= 2.x",
- "dayjs": ">= 1.x",
- "luxon": ">= 3.x",
- "moment": ">= 2.x",
"react": ">=16.9.0",
"react-dom": ">=16.9.0"
- },
- "peerDependenciesMeta": {
- "date-fns": {
- "optional": true
- },
- "dayjs": {
- "optional": true
- },
- "luxon": {
- "optional": true
- },
- "moment": {
- "optional": true
- }
}
},
"node_modules/rc-progress": {
- "version": "3.5.1",
- "license": "MIT",
+ "version": "3.4.2",
+ "resolved": "https://registry.npmjs.org/rc-progress/-/rc-progress-3.4.2.tgz",
+ "integrity": "sha512-iAGhwWU+tsayP+Jkl9T4+6rHeQTG9kDz8JAHZk4XtQOcYN5fj9H34NXNEdRdZx94VUDHMqCb1yOIvi8eJRh67w==",
"dependencies": {
"@babel/runtime": "^7.10.1",
"classnames": "^2.2.6",
@@ -53755,8 +53712,9 @@
}
},
"node_modules/rc-rate": {
- "version": "2.12.0",
- "license": "MIT",
+ "version": "2.9.3",
+ "resolved": "https://registry.npmjs.org/rc-rate/-/rc-rate-2.9.3.tgz",
+ "integrity": "sha512-2THssUSnRhtqIouQIIXqsZGzRczvp4WsH4WvGuhiwm+LG2fVpDUJliP9O1zeDOZvYfBE/Bup4SgHun/eCkbjgQ==",
"dependencies": {
"@babel/runtime": "^7.10.1",
"classnames": "^2.2.5",
@@ -53772,7 +53730,8 @@
},
"node_modules/rc-resize-observer": {
"version": "1.4.0",
- "license": "MIT",
+ "resolved": "https://registry.npmjs.org/rc-resize-observer/-/rc-resize-observer-1.4.0.tgz",
+ "integrity": "sha512-PnMVyRid9JLxFavTjeDXEXo65HCRqbmLBw9xX9gfC4BZiSzbLXKzW3jPz+J0P71pLbD5tBMTT+mkstV5gD0c9Q==",
"dependencies": {
"@babel/runtime": "^7.20.7",
"classnames": "^2.2.1",
@@ -53785,8 +53744,9 @@
}
},
"node_modules/rc-segmented": {
- "version": "2.2.2",
- "license": "MIT",
+ "version": "2.3.0",
+ "resolved": "https://registry.npmjs.org/rc-segmented/-/rc-segmented-2.3.0.tgz",
+ "integrity": "sha512-I3FtM5Smua/ESXutFfb8gJ8ZPcvFR+qUgeeGFQHBOvRiRKyAk4aBE5nfqrxXx+h8/vn60DQjOt6i4RNtrbOobg==",
"dependencies": {
"@babel/runtime": "^7.11.1",
"classnames": "^2.2.1",
@@ -53799,16 +53759,17 @@
}
},
"node_modules/rc-select": {
- "version": "14.10.0",
- "license": "MIT",
+ "version": "14.1.18",
+ "resolved": "https://registry.npmjs.org/rc-select/-/rc-select-14.1.18.tgz",
+ "integrity": "sha512-4JgY3oG2Yz68ECMUSCON7mtxuJvCSj+LJpHEg/AONaaVBxIIrmI/ZTuMJkyojall/X50YdBe5oMKqHHPNiPzEg==",
"dependencies": {
"@babel/runtime": "^7.10.1",
- "@rc-component/trigger": "^1.5.0",
"classnames": "2.x",
"rc-motion": "^2.0.1",
- "rc-overflow": "^1.3.1",
+ "rc-overflow": "^1.0.0",
+ "rc-trigger": "^5.0.4",
"rc-util": "^5.16.1",
- "rc-virtual-list": "^3.5.2"
+ "rc-virtual-list": "^3.2.0"
},
"engines": {
"node": ">=8.x"
@@ -53819,12 +53780,14 @@
}
},
"node_modules/rc-slider": {
- "version": "10.5.0",
- "license": "MIT",
+ "version": "10.0.1",
+ "resolved": "https://registry.npmjs.org/rc-slider/-/rc-slider-10.0.1.tgz",
+ "integrity": "sha512-igTKF3zBet7oS/3yNiIlmU8KnZ45npmrmHlUUio8PNbIhzMcsh+oE/r2UD42Y6YD2D/s+kzCQkzQrPD6RY435Q==",
"dependencies": {
"@babel/runtime": "^7.10.1",
"classnames": "^2.2.5",
- "rc-util": "^5.27.0"
+ "rc-util": "^5.18.1",
+ "shallowequal": "^1.1.0"
},
"engines": {
"node": ">=8.x"
@@ -53835,8 +53798,9 @@
}
},
"node_modules/rc-steps": {
- "version": "6.0.1",
- "license": "MIT",
+ "version": "5.0.0",
+ "resolved": "https://registry.npmjs.org/rc-steps/-/rc-steps-5.0.0.tgz",
+ "integrity": "sha512-9TgRvnVYirdhbV0C3syJFj9EhCRqoJAsxt4i1rED5o8/ZcSv5TLIYyo4H8MCjLPvbe2R+oBAm/IYBEtC+OS1Rw==",
"dependencies": {
"@babel/runtime": "^7.16.7",
"classnames": "^2.2.3",
@@ -53851,12 +53815,13 @@
}
},
"node_modules/rc-switch": {
- "version": "4.1.0",
- "license": "MIT",
+ "version": "3.2.2",
+ "resolved": "https://registry.npmjs.org/rc-switch/-/rc-switch-3.2.2.tgz",
+ "integrity": "sha512-+gUJClsZZzvAHGy1vZfnwySxj+MjLlGRyXKXScrtCTcmiYNPzxDFOxdQ/3pK1Kt/0POvwJ/6ALOR8gwdXGhs+A==",
"dependencies": {
- "@babel/runtime": "^7.21.0",
+ "@babel/runtime": "^7.10.1",
"classnames": "^2.2.1",
- "rc-util": "^5.30.0"
+ "rc-util": "^5.0.1"
},
"peerDependencies": {
"react": ">=16.9.0",
@@ -53864,15 +53829,15 @@
}
},
"node_modules/rc-table": {
- "version": "7.36.0",
- "license": "MIT",
+ "version": "7.26.0",
+ "resolved": "https://registry.npmjs.org/rc-table/-/rc-table-7.26.0.tgz",
+ "integrity": "sha512-0cD8e6S+DTGAt5nBZQIPFYEaIukn17sfa5uFL98faHlH/whZzD8ii3dbFL4wmUDEL4BLybhYop+QUfZJ4CPvNQ==",
"dependencies": {
"@babel/runtime": "^7.10.1",
- "@rc-component/context": "^1.4.0",
"classnames": "^2.2.5",
"rc-resize-observer": "^1.1.0",
- "rc-util": "^5.37.0",
- "rc-virtual-list": "^3.11.1"
+ "rc-util": "^5.22.5",
+ "shallowequal": "^1.1.0"
},
"engines": {
"node": ">=8.x"
@@ -53883,16 +53848,17 @@
}
},
"node_modules/rc-tabs": {
- "version": "12.14.1",
- "license": "MIT",
+ "version": "12.5.10",
+ "resolved": "https://registry.npmjs.org/rc-tabs/-/rc-tabs-12.5.10.tgz",
+ "integrity": "sha512-Ay0l0jtd4eXepFH9vWBvinBjqOpqzcsJTerBGwJy435P2S90Uu38q8U/mvc1sxUEVOXX5ZCFbxcWPnfG3dH+tQ==",
"dependencies": {
"@babel/runtime": "^7.11.2",
"classnames": "2.x",
- "rc-dropdown": "~4.1.0",
- "rc-menu": "~9.12.0",
+ "rc-dropdown": "~4.0.0",
+ "rc-menu": "~9.8.0",
"rc-motion": "^2.6.2",
"rc-resize-observer": "^1.0.0",
- "rc-util": "^5.34.1"
+ "rc-util": "^5.16.0"
},
"engines": {
"node": ">=8.x"
@@ -53903,14 +53869,15 @@
}
},
"node_modules/rc-textarea": {
- "version": "1.5.3",
- "license": "MIT",
+ "version": "0.4.7",
+ "resolved": "https://registry.npmjs.org/rc-textarea/-/rc-textarea-0.4.7.tgz",
+ "integrity": "sha512-IQPd1CDI3mnMlkFyzt2O4gQ2lxUsnBAeJEoZGJnkkXgORNqyM9qovdrCj9NzcRfpHgLdzaEbU3AmobNFGUznwQ==",
"dependencies": {
"@babel/runtime": "^7.10.1",
"classnames": "^2.2.1",
- "rc-input": "~1.3.5",
"rc-resize-observer": "^1.0.0",
- "rc-util": "^5.27.0"
+ "rc-util": "^5.24.4",
+ "shallowequal": "^1.1.0"
},
"peerDependencies": {
"react": ">=16.9.0",
@@ -53918,12 +53885,13 @@
}
},
"node_modules/rc-tooltip": {
- "version": "6.1.2",
- "license": "MIT",
+ "version": "5.2.2",
+ "resolved": "https://registry.npmjs.org/rc-tooltip/-/rc-tooltip-5.2.2.tgz",
+ "integrity": "sha512-jtQzU/18S6EI3lhSGoDYhPqNpWajMtS5VV/ld1LwyfrDByQpYmw/LW6U7oFXXLukjfDHQ7Ju705A82PRNFWYhg==",
"dependencies": {
"@babel/runtime": "^7.11.2",
- "@rc-component/trigger": "^1.18.0",
- "classnames": "^2.3.1"
+ "classnames": "^2.3.1",
+ "rc-trigger": "^5.0.0"
},
"peerDependencies": {
"react": ">=16.9.0",
@@ -53931,8 +53899,9 @@
}
},
"node_modules/rc-tree": {
- "version": "5.8.2",
- "license": "MIT",
+ "version": "5.7.12",
+ "resolved": "https://registry.npmjs.org/rc-tree/-/rc-tree-5.7.12.tgz",
+ "integrity": "sha512-LXA5nY2hG5koIAlHW5sgXgLpOMz+bFRbnZZ+cCg0tQs4Wv1AmY7EDi1SK7iFXhslYockbqUerQan82jljoaItg==",
"dependencies": {
"@babel/runtime": "^7.10.1",
"classnames": "2.x",
@@ -53949,13 +53918,14 @@
}
},
"node_modules/rc-tree-select": {
- "version": "5.15.0",
- "license": "MIT",
+ "version": "5.5.5",
+ "resolved": "https://registry.npmjs.org/rc-tree-select/-/rc-tree-select-5.5.5.tgz",
+ "integrity": "sha512-k2av7jF6tW9bIO4mQhaVdV4kJ1c54oxV3/hHVU+oD251Gb5JN+m1RbJFTMf1o0rAFqkvto33rxMdpafaGKQRJw==",
"dependencies": {
"@babel/runtime": "^7.10.1",
"classnames": "2.x",
- "rc-select": "~14.10.0",
- "rc-tree": "~5.8.1",
+ "rc-select": "~14.1.0",
+ "rc-tree": "~5.7.0",
"rc-util": "^5.16.1"
},
"peerDependencies": {
@@ -53963,9 +53933,29 @@
"react-dom": "*"
}
},
+ "node_modules/rc-trigger": {
+ "version": "5.3.4",
+ "resolved": "https://registry.npmjs.org/rc-trigger/-/rc-trigger-5.3.4.tgz",
+ "integrity": "sha512-mQv+vas0TwKcjAO2izNPkqR4j86OemLRmvL2nOzdP9OWNWA1ivoTt5hzFqYNW9zACwmTezRiN8bttrC7cZzYSw==",
+ "dependencies": {
+ "@babel/runtime": "^7.18.3",
+ "classnames": "^2.2.6",
+ "rc-align": "^4.0.0",
+ "rc-motion": "^2.0.0",
+ "rc-util": "^5.19.2"
+ },
+ "engines": {
+ "node": ">=8.x"
+ },
+ "peerDependencies": {
+ "react": ">=16.9.0",
+ "react-dom": ">=16.9.0"
+ }
+ },
"node_modules/rc-upload": {
- "version": "4.3.5",
- "license": "MIT",
+ "version": "4.3.6",
+ "resolved": "https://registry.npmjs.org/rc-upload/-/rc-upload-4.3.6.tgz",
+ "integrity": "sha512-Bt7ESeG5tT3IY82fZcP+s0tQU2xmo1W6P3S8NboUUliquJLQYLkUcsaExi3IlBVr43GQMCjo30RA2o0i70+NjA==",
"dependencies": {
"@babel/runtime": "^7.18.3",
"classnames": "^2.2.5",
@@ -53977,8 +53967,9 @@
}
},
"node_modules/rc-util": {
- "version": "5.38.1",
- "license": "MIT",
+ "version": "5.39.1",
+ "resolved": "https://registry.npmjs.org/rc-util/-/rc-util-5.39.1.tgz",
+ "integrity": "sha512-OW/ERynNDgNr4y0oiFmtes3rbEamXw7GHGbkbNd9iRr7kgT03T6fT0b9WpJ3mbxKhyOcAHnGcIoh5u/cjrC2OQ==",
"dependencies": {
"@babel/runtime": "^7.18.3",
"react-is": "^18.2.0"
@@ -53990,11 +53981,13 @@
},
"node_modules/rc-util/node_modules/react-is": {
"version": "18.2.0",
- "license": "MIT"
+ "resolved": "https://registry.npmjs.org/react-is/-/react-is-18.2.0.tgz",
+ "integrity": "sha512-xWGDIW6x921xtzPkhiULtthJHoJvBbF3q26fzloPCK0hsvxtPVelvftw3zjbHWSkR2km9Z+4uxbDDK/6Zw9B8w=="
},
"node_modules/rc-virtual-list": {
- "version": "3.11.3",
- "license": "MIT",
+ "version": "3.11.4",
+ "resolved": "https://registry.npmjs.org/rc-virtual-list/-/rc-virtual-list-3.11.4.tgz",
+ "integrity": "sha512-NbBi0fvyIu26gP69nQBiWgUMTPX3mr4FcuBQiVqagU0BnuX8WQkiivnMs105JROeuUIFczLrlgUhLQwTWV1XDA==",
"dependencies": {
"@babel/runtime": "^7.20.0",
"classnames": "^2.2.6",
@@ -54005,8 +53998,8 @@
"node": ">=8.x"
},
"peerDependencies": {
- "react": "*",
- "react-dom": "*"
+ "react": ">=16.9.0",
+ "react-dom": ">=16.9.0"
}
},
"node_modules/rc/node_modules/strip-json-comments": {
@@ -56820,10 +56813,11 @@
}
},
"node_modules/scroll-into-view-if-needed": {
- "version": "3.1.0",
- "license": "MIT",
+ "version": "2.2.31",
+ "resolved": "https://registry.npmjs.org/scroll-into-view-if-needed/-/scroll-into-view-if-needed-2.2.31.tgz",
+ "integrity": "sha512-dGCXy99wZQivjmjIqihaBQNjryrz5rueJY7eHfTdyWEiR4ttYpsajb14rn9s5d4DY4EcY6+4+U/maARBXJedkA==",
"dependencies": {
- "compute-scroll-into-view": "^3.0.2"
+ "compute-scroll-into-view": "^1.0.20"
}
},
"node_modules/search-insights": {
@@ -61905,10 +61899,6 @@
"postcss": "^8.2.15"
}
},
- "node_modules/stylis": {
- "version": "4.3.0",
- "license": "MIT"
- },
"node_modules/stylus": {
"version": "0.59.0",
"dev": true,
diff --git a/package.json b/package.json
index b5a57e9dd0..44bf3d647c 100644
--- a/package.json
+++ b/package.json
@@ -34,6 +34,7 @@
"react-live": ">=3.1.1 <4.0.0"
},
"dependencies": {
+ "@ant-design/icons": "^4.8.3",
"@commitlint/cli": "^17.6.7",
"@commitlint/config-conventional": "^17.6.7",
"@docusaurus/core": "^3.1.1",
@@ -45,7 +46,7 @@
"@fortawesome/free-solid-svg-icons": "^6.4.0",
"@fortawesome/react-fontawesome": "^0.2.0",
"@mdx-js/react": "^3.0.0",
- "antd": "^5.6.2",
+ "antd": "^4.22.6",
"axios-retry": "^3.8.0",
"babel-plugin-macros": "^3.1.0",
"clsx": "^1.2.1",
diff --git a/plugins/packs-integrations.js b/plugins/packs-integrations.js
index 91c622be49..c6b0b27a9c 100644
--- a/plugins/packs-integrations.js
+++ b/plugins/packs-integrations.js
@@ -1,7 +1,8 @@
import api from "../src/services/api";
import { setTimeout } from "timers/promises";
+import { packTypeNames } from "../src/components/Technologies/PackConstants";
-const layerMap = {
+/*const layerMap = {
k8s: "Kubernetes",
cni: "network",
os: "operating system",
@@ -19,7 +20,7 @@ const layerMap = {
serverless: "serverless",
"app services": "app services",
-}
+}*/
function generateIntegrationData(allContent) {
const packsData = allContent["docusaurus-plugin-content-docs"].default.loadedVersions[0].docs
@@ -52,15 +53,19 @@ function combineAPICustomPackData(packsMData, packsPaletteDetailsData, customPac
const packName = packContent.name;
if (packsMData[packName]) {
const packMDValue = packsMData[packName];
- const layer = packMDValue.spec.layer === "addon" ? packMDValue.spec.addonType : layerMap[packMDValue.spec.layer];
+ const packType = packMDValue.spec.layer === "addon" ? packMDValue.spec.addonType : packMDValue.spec.layer;
+ const layer = packMDValue.spec.layer === "addon" ? packMDValue.spec.addonType : packTypeNames[packMDValue.spec.layer];
return {
fields: {
sidebar_label: packMDValue.spec.name,
+ name: packMDValue.spec.name,
title: packMDValue.spec.displayName,
description: 'dynamically generated',
hide_table_of_contents: true,
+ cloudTypes: packMDValue.spec.cloudTypes,
type: 'integration',
category: [layer],
+ packType: packType,
sidebar_class_name: 'hide-from-sidebar',
logoUrl: packMDValue.spec.registries[0].logoUrl,
tags: [],
@@ -74,11 +79,14 @@ function combineAPICustomPackData(packsMData, packsPaletteDetailsData, customPac
async function fetchPackListItems(queryParams, packDataArr, counter) {
const payload = {filter: { type: ["spectro", "oci"],environment:["aws"]}};
+ //const payload = {filter: { type: ["spectro", "oci"], layer: ["os", "k8s"], environment:["aws"]}}
+ //const payload = {filter: { type: ["spectro", "oci"], layer: ["addon"], "environment":["all"] }};
counter+=1;
if(counter%10 === 0) {
await setTimeout(2000);
}
const response = await api.post('/v1/packs/search'+queryParams, payload);
+ console.log("response.data.listmeta.count = ", response.data.listmeta.count);
const tempPackArr = packDataArr.concat(response.data.items);
if(response.data.listmeta.continue) {
return fetchPackListItems("?limit=100&continue="+response.data.listmeta.continue, tempPackArr, counter);
diff --git a/src/components/IconMapper/IconMapper.tsx b/src/components/IconMapper/IconMapper.tsx
index 22c06aaa02..6a594bfa58 100644
--- a/src/components/IconMapper/IconMapper.tsx
+++ b/src/components/IconMapper/IconMapper.tsx
@@ -18,6 +18,21 @@ import RolesIcon from "@site/static/assets/icons/roles.svg";
import TeamsIcon from "@site/static/assets/icons/teams.svg";
import WorkspacesIcon from "@site/static/assets/icons/workspaces.svg";
import TerraformIcon from "@site/static/assets/icons/terraform.svg";
+import K8sIcon from '@site/static/assets/packs/k8s_layer.svg';
+import CniIcon from '@site/static/assets/packs/cni_layer.svg';
+import OsIcon from '@site/static/assets/packs/os_layer.svg';
+import ServiceMeshIcon from '@site/static/assets/packs/service_mesh_layer.svg';
+import MonitoringIcon from '@site/static/assets/packs/monitoring_layer.svg';
+import CsiIcon from '@site/static/assets/packs/csi_layer.svg';
+import LoggingIcon from '@site/static/assets/packs/logging_layer.svg';
+import LoadBalancerIcon from '@site/static/assets/packs/load_balancer_layer.svg';
+import IngressIcon from '@site/static/assets/packs/ingress_layer.svg';
+import AuthenticationIcon from '@site/static/assets/packs/authentication_layer.svg';
+import RegistryIcon from '@site/static/assets/packs/registry_layer.svg';
+import SystemAppIcon from '@site/static/assets/packs/system_app_layer.svg';
+import SecurityIcon from '@site/static/assets/packs/security_layer.svg';
+import AppServicesIcon from '@site/static/assets/packs/app_layer.svg';
+import MiscIcon from '@site/static/assets/packs/misc_layer.svg';
import { IconProp } from "@fortawesome/fontawesome-svg-core";
import { fontAwesomeIcons } from "./dynamicFontAwesomeImports";
@@ -44,6 +59,22 @@ export const icons: IconsMap = {
teams: