From de27221f806967bec3e04f7f87cd5b6ea9b44593 Mon Sep 17 00:00:00 2001 From: Maksym Portianoi Date: Wed, 22 May 2024 09:25:37 -0400 Subject: [PATCH] fix(entitybasetable): ktable props and events [KHCP-11890] (#1412) * fix(entitybasetable): ktable props and events [KHCP-11890] * chore(deps): bump @kong/kongponents * fix(entitybasetable): fix initial params object [KHCP-11890] * chore(deps): bump @kong/kongponents --- package.json | 2 +- .../analytics/analytics-chart/package.json | 4 +- .../analytics-metric-provider/package.json | 4 +- .../analytics/dashboard-renderer/package.json | 4 +- packages/analytics/metric-cards/package.json | 4 +- packages/core/app-layout/package.json | 4 +- packages/core/documentation/package.json | 4 +- packages/core/expressions/package.json | 4 +- packages/core/forms/package.json | 4 +- packages/core/misc-widgets/package.json | 4 +- packages/core/sandbox-layout/package.json | 4 +- .../entities-certificates/package.json | 4 +- .../package.json | 4 +- .../entities-consumer-groups/package.json | 4 +- .../entities/entities-consumers/package.json | 4 +- .../entities-data-plane-nodes/package.json | 2 +- .../entities-gateway-services/package.json | 4 +- .../entities/entities-key-sets/package.json | 4 +- packages/entities/entities-keys/package.json | 4 +- .../entities/entities-plugins/package.json | 4 +- .../entities/entities-routes/package.json | 4 +- .../entities/entities-shared/package.json | 4 +- .../sandbox/pages/EntityBaseTablePage.vue | 1 + .../entity-base-table/EntityBaseTable.vue | 3 - packages/entities/entities-snis/package.json | 4 +- .../entities-upstreams-targets/package.json | 4 +- .../entities/entities-vaults/package.json | 4 +- packages/portal/document-viewer/package.json | 4 +- packages/portal/spec-renderer/package.json | 4 +- pnpm-lock.yaml | 127 +++++++++--------- 30 files changed, 119 insertions(+), 116 deletions(-) diff --git a/package.json b/package.json index f632d0e7f9..9e4775bb31 100644 --- a/package.json +++ b/package.json @@ -25,7 +25,7 @@ "@digitalroute/cz-conventional-changelog-for-jira": "^8.0.1", "@evilmartians/lefthook": "^1.6.10", "@kong/design-tokens": "1.12.12", - "@kong/kongponents": "9.0.0-alpha.156", + "@kong/kongponents": "9.0.0-alpha.158", "@rushstack/eslint-patch": "^1.7.2", "@types/flat": "^5.0.5", "@types/js-yaml": "^4.0.9", diff --git a/packages/analytics/analytics-chart/package.json b/packages/analytics/analytics-chart/package.json index 622fe0fc21..e6a2bb6482 100644 --- a/packages/analytics/analytics-chart/package.json +++ b/packages/analytics/analytics-chart/package.json @@ -22,14 +22,14 @@ }, "peerDependencies": { "@kong-ui-public/i18n": "workspace:^", - "@kong/kongponents": "^9.0.0-alpha.156", + "@kong/kongponents": "^9.0.0-alpha.158", "vue": ">= 3.3.13 < 4" }, "devDependencies": { "@kong-ui-public/i18n": "workspace:^", "@kong-ui-public/sandbox-layout": "workspace:^", "@kong/design-tokens": "1.12.12", - "@kong/kongponents": "9.0.0-alpha.156", + "@kong/kongponents": "9.0.0-alpha.158", "@types/uuid": "^9.0.8", "file-saver": "^2.0.5", "lodash.mapkeys": "^4.6.0", diff --git a/packages/analytics/analytics-metric-provider/package.json b/packages/analytics/analytics-metric-provider/package.json index 1acdb83c27..4606d6bc0e 100644 --- a/packages/analytics/analytics-metric-provider/package.json +++ b/packages/analytics/analytics-metric-provider/package.json @@ -60,14 +60,14 @@ "@kong-ui-public/analytics-config-store": "workspace:^", "@kong-ui-public/analytics-utilities": "workspace:^", "@kong-ui-public/i18n": "workspace:^", - "@kong/kongponents": "^9.0.0-alpha.156" + "@kong/kongponents": "^9.0.0-alpha.158" }, "devDependencies": { "@kong-ui-public/analytics-config-store": "workspace:^", "@kong-ui-public/analytics-utilities": "workspace:^", "@kong-ui-public/i18n": "workspace:^", "@kong/design-tokens": "1.12.12", - "@kong/kongponents": "9.0.0-alpha.156", + "@kong/kongponents": "9.0.0-alpha.158", "pinia": ">= 2.1.7 < 3" } } diff --git a/packages/analytics/dashboard-renderer/package.json b/packages/analytics/dashboard-renderer/package.json index e9a0dde4a0..b7e14834c8 100644 --- a/packages/analytics/dashboard-renderer/package.json +++ b/packages/analytics/dashboard-renderer/package.json @@ -46,7 +46,7 @@ "@kong-ui-public/i18n": "workspace:^", "@kong-ui-public/sandbox-layout": "workspace:^", "@kong/design-tokens": "1.12.12", - "@kong/kongponents": "9.0.0-alpha.156", + "@kong/kongponents": "9.0.0-alpha.158", "json-schema-to-ts": "^3.0.1", "pinia": ">= 2.1.7 < 3", "swrv": "^1.0.4", @@ -75,7 +75,7 @@ "@kong-ui-public/analytics-metric-provider": "workspace:^", "@kong-ui-public/analytics-utilities": "workspace:^", "@kong-ui-public/i18n": "workspace:^", - "@kong/kongponents": "^9.0.0-alpha.156", + "@kong/kongponents": "^9.0.0-alpha.158", "swrv": "^1.0.4", "vue": ">= 3.3.13 < 4" }, diff --git a/packages/analytics/metric-cards/package.json b/packages/analytics/metric-cards/package.json index 84e1ca936d..981b055f89 100644 --- a/packages/analytics/metric-cards/package.json +++ b/packages/analytics/metric-cards/package.json @@ -39,12 +39,12 @@ "test:unit:open": "cross-env FORCE_COLOR=1 vitest --ui" }, "peerDependencies": { - "@kong/kongponents": "^9.0.0-alpha.156", + "@kong/kongponents": "^9.0.0-alpha.158", "vue": ">= 3.3.13 < 4" }, "devDependencies": { "@kong/design-tokens": "1.12.12", - "@kong/kongponents": "9.0.0-alpha.156", + "@kong/kongponents": "9.0.0-alpha.158", "vue": "^3.4.26" }, "dependencies": { diff --git a/packages/core/app-layout/package.json b/packages/core/app-layout/package.json index 79c6238861..d4ece15552 100644 --- a/packages/core/app-layout/package.json +++ b/packages/core/app-layout/package.json @@ -39,7 +39,7 @@ "test:unit:open": "cross-env FORCE_COLOR=1 vitest --ui" }, "peerDependencies": { - "@kong/kongponents": "^9.0.0-alpha.156", + "@kong/kongponents": "^9.0.0-alpha.158", "vue": ">= 3.3.13 < 4", "vue-router": "^4.3.2" }, @@ -51,7 +51,7 @@ }, "devDependencies": { "@kong/design-tokens": "1.12.12", - "@kong/kongponents": "9.0.0-alpha.156", + "@kong/kongponents": "9.0.0-alpha.158", "@types/lodash.clonedeep": "^4.5.9", "vue": "^3.4.26", "vue-router": "^4.3.2" diff --git a/packages/core/documentation/package.json b/packages/core/documentation/package.json index 6176fba7c5..72dc787ad4 100644 --- a/packages/core/documentation/package.json +++ b/packages/core/documentation/package.json @@ -45,13 +45,13 @@ }, "peerDependencies": { "@kong-ui-public/i18n": "workspace:^", - "@kong/kongponents": "^9.0.0-alpha.156", + "@kong/kongponents": "^9.0.0-alpha.158", "vue": "^3.4.26" }, "devDependencies": { "@kong-ui-public/i18n": "workspace:^", "@kong/design-tokens": "1.12.12", - "@kong/kongponents": "9.0.0-alpha.156", + "@kong/kongponents": "9.0.0-alpha.158", "axios": "^1.6.8", "vue": ">= 3.3.13 < 4" }, diff --git a/packages/core/expressions/package.json b/packages/core/expressions/package.json index 1313a82dc2..3e9d72b8a0 100644 --- a/packages/core/expressions/package.json +++ b/packages/core/expressions/package.json @@ -39,7 +39,7 @@ "devDependencies": { "@kong/atc-router": "1.6.0-rc.1", "@kong/design-tokens": "1.12.12", - "@kong/kongponents": "9.0.0-alpha.156", + "@kong/kongponents": "9.0.0-alpha.158", "monaco-editor": "0.21.3", "vite-plugin-monaco-editor": "^1.1.0", "vite-plugin-top-level-await": "^1.4.1", @@ -65,7 +65,7 @@ }, "peerDependencies": { "@kong/atc-router": "^1.6.0-rc.1", - "@kong/kongponents": "^9.0.0-alpha.156", + "@kong/kongponents": "^9.0.0-alpha.158", "monaco-editor": "0.21.3", "vue": "^3.4.26" }, diff --git a/packages/core/forms/package.json b/packages/core/forms/package.json index 3f18e9ec54..8f5050f6b3 100644 --- a/packages/core/forms/package.json +++ b/packages/core/forms/package.json @@ -56,13 +56,13 @@ }, "peerDependencies": { "@kong-ui-public/i18n": "workspace:^", - "@kong/kongponents": "^9.0.0-alpha.156", + "@kong/kongponents": "^9.0.0-alpha.158", "vue": "^3.4.26" }, "devDependencies": { "@kong-ui-public/i18n": "workspace:^", "@kong/design-tokens": "1.12.12", - "@kong/kongponents": "9.0.0-alpha.156", + "@kong/kongponents": "9.0.0-alpha.158", "@types/lodash-es": "^4.17.12", "pug": "^3.0.2" }, diff --git a/packages/core/misc-widgets/package.json b/packages/core/misc-widgets/package.json index c1f3f191e7..4b8993b3bd 100644 --- a/packages/core/misc-widgets/package.json +++ b/packages/core/misc-widgets/package.json @@ -40,12 +40,12 @@ }, "peerDependencies": { "@kong-ui-public/i18n": "workspace:^", - "@kong/kongponents": "^9.0.0-alpha.156", + "@kong/kongponents": "^9.0.0-alpha.158", "vue": ">= 3.3.13 < 4" }, "devDependencies": { "@kong-ui-public/i18n": "workspace:^", - "@kong/kongponents": "9.0.0-alpha.156", + "@kong/kongponents": "9.0.0-alpha.158", "vue": "^3.4.26" }, "repository": { diff --git a/packages/core/sandbox-layout/package.json b/packages/core/sandbox-layout/package.json index 57fe446310..84eb60560b 100644 --- a/packages/core/sandbox-layout/package.json +++ b/packages/core/sandbox-layout/package.json @@ -40,7 +40,7 @@ }, "devDependencies": { "@kong/design-tokens": "1.12.12", - "@kong/kongponents": "9.0.0-alpha.156", + "@kong/kongponents": "9.0.0-alpha.158", "vue": "^3.4.26", "vue-router": "^4.3.2" }, @@ -62,7 +62,7 @@ "errorLimit": "200KB" }, "peerDependencies": { - "@kong/kongponents": "^9.0.0-alpha.156", + "@kong/kongponents": "^9.0.0-alpha.158", "vue": ">= 3.3.13 < 4" }, "dependencies": { diff --git a/packages/entities/entities-certificates/package.json b/packages/entities/entities-certificates/package.json index 153bcf0733..5256830bf0 100644 --- a/packages/entities/entities-certificates/package.json +++ b/packages/entities/entities-certificates/package.json @@ -22,7 +22,7 @@ }, "peerDependencies": { "@kong-ui-public/i18n": "workspace:^", - "@kong/kongponents": "^9.0.0-alpha.156", + "@kong/kongponents": "^9.0.0-alpha.158", "axios": "^1.6.8", "vue": ">= 3.3.13 < 4", "vue-router": "^4.3.2" @@ -30,7 +30,7 @@ "devDependencies": { "@kong-ui-public/i18n": "workspace:^", "@kong/design-tokens": "1.12.12", - "@kong/kongponents": "9.0.0-alpha.156", + "@kong/kongponents": "9.0.0-alpha.158", "axios": "^1.6.8", "vue": "^3.4.26", "vue-router": "^4.3.2" diff --git a/packages/entities/entities-consumer-credentials/package.json b/packages/entities/entities-consumer-credentials/package.json index 7ae22787d0..1625019749 100644 --- a/packages/entities/entities-consumer-credentials/package.json +++ b/packages/entities/entities-consumer-credentials/package.json @@ -22,7 +22,7 @@ }, "peerDependencies": { "@kong-ui-public/i18n": "workspace:^", - "@kong/kongponents": "^9.0.0-alpha.156", + "@kong/kongponents": "^9.0.0-alpha.158", "axios": "^1.6.8", "vue": ">= 3.3.13 < 4", "vue-router": "^4.3.2" @@ -30,7 +30,7 @@ "devDependencies": { "@kong-ui-public/i18n": "workspace:^", "@kong/design-tokens": "1.12.12", - "@kong/kongponents": "9.0.0-alpha.156", + "@kong/kongponents": "9.0.0-alpha.158", "axios": "^1.6.8", "vue": "^3.4.26", "vue-router": "^4.3.2" diff --git a/packages/entities/entities-consumer-groups/package.json b/packages/entities/entities-consumer-groups/package.json index 85468f78af..dc83cb671e 100644 --- a/packages/entities/entities-consumer-groups/package.json +++ b/packages/entities/entities-consumer-groups/package.json @@ -22,7 +22,7 @@ }, "peerDependencies": { "@kong-ui-public/i18n": "workspace:^", - "@kong/kongponents": "^9.0.0-alpha.156", + "@kong/kongponents": "^9.0.0-alpha.158", "axios": "^1.6.8", "vue": ">= 3.3.13 < 4", "vue-router": "^4.3.2" @@ -30,7 +30,7 @@ "devDependencies": { "@kong-ui-public/i18n": "workspace:^", "@kong/design-tokens": "1.12.12", - "@kong/kongponents": "9.0.0-alpha.156", + "@kong/kongponents": "9.0.0-alpha.158", "axios": "^1.6.8", "vue": "^3.4.26", "vue-router": "^4.3.2" diff --git a/packages/entities/entities-consumers/package.json b/packages/entities/entities-consumers/package.json index d54e18ed72..09f74b6339 100644 --- a/packages/entities/entities-consumers/package.json +++ b/packages/entities/entities-consumers/package.json @@ -22,7 +22,7 @@ }, "peerDependencies": { "@kong-ui-public/i18n": "workspace:^", - "@kong/kongponents": "^9.0.0-alpha.156", + "@kong/kongponents": "^9.0.0-alpha.158", "axios": "^1.6.8", "vue": ">= 3.3.13 < 4", "vue-router": "^4.3.2" @@ -30,7 +30,7 @@ "devDependencies": { "@kong-ui-public/i18n": "workspace:^", "@kong/design-tokens": "1.12.12", - "@kong/kongponents": "9.0.0-alpha.156", + "@kong/kongponents": "9.0.0-alpha.158", "axios": "^1.6.8", "vue": "^3.4.26", "vue-router": "^4.3.2" diff --git a/packages/entities/entities-data-plane-nodes/package.json b/packages/entities/entities-data-plane-nodes/package.json index a6493935a5..1b74da22bf 100644 --- a/packages/entities/entities-data-plane-nodes/package.json +++ b/packages/entities/entities-data-plane-nodes/package.json @@ -30,7 +30,7 @@ "devDependencies": { "@kong-ui-public/i18n": "workspace:^", "@kong/design-tokens": "1.12.12", - "@kong/kongponents": "9.0.0-alpha.156", + "@kong/kongponents": "9.0.0-alpha.158", "axios": "^1.6.8", "vue": "^3.4.26", "vue-router": "^4.3.2" diff --git a/packages/entities/entities-gateway-services/package.json b/packages/entities/entities-gateway-services/package.json index efe38d1a91..f4ce500ee5 100644 --- a/packages/entities/entities-gateway-services/package.json +++ b/packages/entities/entities-gateway-services/package.json @@ -22,7 +22,7 @@ }, "peerDependencies": { "@kong-ui-public/i18n": "workspace:^", - "@kong/kongponents": "^9.0.0-alpha.156", + "@kong/kongponents": "^9.0.0-alpha.158", "axios": "^1.6.8", "vue": ">= 3.3.13 < 4", "vue-router": "^4.3.2" @@ -30,7 +30,7 @@ "devDependencies": { "@kong-ui-public/i18n": "workspace:^", "@kong/design-tokens": "1.12.12", - "@kong/kongponents": "9.0.0-alpha.156", + "@kong/kongponents": "9.0.0-alpha.158", "axios": "^1.6.8", "vue": "^3.4.26", "vue-router": "^4.3.2" diff --git a/packages/entities/entities-key-sets/package.json b/packages/entities/entities-key-sets/package.json index d83d8921fc..49b6fce1e1 100644 --- a/packages/entities/entities-key-sets/package.json +++ b/packages/entities/entities-key-sets/package.json @@ -22,14 +22,14 @@ }, "peerDependencies": { "@kong-ui-public/i18n": "workspace:^", - "@kong/kongponents": "^9.0.0-alpha.156", + "@kong/kongponents": "^9.0.0-alpha.158", "axios": "^1.6.8", "vue": ">= 3.3.13 < 4", "vue-router": "^4.3.2" }, "devDependencies": { "@kong-ui-public/i18n": "workspace:^", - "@kong/kongponents": "9.0.0-alpha.156", + "@kong/kongponents": "9.0.0-alpha.158", "axios": "^1.6.8", "vue": "^3.4.26", "vue-router": "^4.3.2" diff --git a/packages/entities/entities-keys/package.json b/packages/entities/entities-keys/package.json index d6053a8e95..69c0936bde 100644 --- a/packages/entities/entities-keys/package.json +++ b/packages/entities/entities-keys/package.json @@ -22,7 +22,7 @@ }, "peerDependencies": { "@kong-ui-public/i18n": "workspace:^", - "@kong/kongponents": "^9.0.0-alpha.156", + "@kong/kongponents": "^9.0.0-alpha.158", "axios": "^1.6.8", "vue": ">= 3.3.13 < 4", "vue-router": "^4.3.2" @@ -30,7 +30,7 @@ "devDependencies": { "@kong-ui-public/i18n": "workspace:^", "@kong/design-tokens": "1.12.12", - "@kong/kongponents": "9.0.0-alpha.156", + "@kong/kongponents": "9.0.0-alpha.158", "axios": "^1.6.8", "vue": "^3.4.26", "vue-router": "^4.3.2" diff --git a/packages/entities/entities-plugins/package.json b/packages/entities/entities-plugins/package.json index 01d7644ef2..5f151ab2fd 100644 --- a/packages/entities/entities-plugins/package.json +++ b/packages/entities/entities-plugins/package.json @@ -26,7 +26,7 @@ }, "peerDependencies": { "@kong-ui-public/i18n": "workspace:^", - "@kong/kongponents": "^9.0.0-alpha.156", + "@kong/kongponents": "^9.0.0-alpha.158", "axios": "^1.6.8", "vue": ">= 3.3.13 < 4", "vue-router": "^4.3.2" @@ -34,7 +34,7 @@ "devDependencies": { "@kong-ui-public/i18n": "workspace:^", "@kong/design-tokens": "1.12.12", - "@kong/kongponents": "9.0.0-alpha.156", + "@kong/kongponents": "9.0.0-alpha.158", "axios": "^1.6.8", "vue": "^3.4.26", "vue-router": "^4.3.2" diff --git a/packages/entities/entities-routes/package.json b/packages/entities/entities-routes/package.json index dba0476724..c61058b864 100644 --- a/packages/entities/entities-routes/package.json +++ b/packages/entities/entities-routes/package.json @@ -22,7 +22,7 @@ }, "peerDependencies": { "@kong-ui-public/i18n": "workspace:^", - "@kong/kongponents": "^9.0.0-alpha.156", + "@kong/kongponents": "^9.0.0-alpha.158", "axios": "^1.6.8", "vue": ">= 3.3.13 < 4", "vue-router": "^4.3.2" @@ -30,7 +30,7 @@ "devDependencies": { "@kong-ui-public/i18n": "workspace:^", "@kong/design-tokens": "1.12.12", - "@kong/kongponents": "9.0.0-alpha.156", + "@kong/kongponents": "9.0.0-alpha.158", "@types/lodash.isequal": "^4.5.8", "axios": "^1.6.8", "vite-plugin-monaco-editor": "^1.1.0", diff --git a/packages/entities/entities-shared/package.json b/packages/entities/entities-shared/package.json index 8a50f6bbac..0cef4f604f 100644 --- a/packages/entities/entities-shared/package.json +++ b/packages/entities/entities-shared/package.json @@ -22,7 +22,7 @@ }, "peerDependencies": { "@kong-ui-public/i18n": "workspace:^", - "@kong/kongponents": "^9.0.0-alpha.156", + "@kong/kongponents": "^9.0.0-alpha.158", "axios": "^1.6.8", "vue": ">= 3.3.13 < 4", "vue-router": "^4.3.2" @@ -30,7 +30,7 @@ "devDependencies": { "@kong-ui-public/i18n": "workspace:^", "@kong/design-tokens": "1.12.12", - "@kong/kongponents": "9.0.0-alpha.156", + "@kong/kongponents": "9.0.0-alpha.158", "axios": "^1.6.8", "vue": "^3.4.26", "vue-router": "^4.3.2" diff --git a/packages/entities/entities-shared/sandbox/pages/EntityBaseTablePage.vue b/packages/entities/entities-shared/sandbox/pages/EntityBaseTablePage.vue index 86af81d21c..72fc604f7b 100644 --- a/packages/entities/entities-shared/sandbox/pages/EntityBaseTablePage.vue +++ b/packages/entities/entities-shared/sandbox/pages/EntityBaseTablePage.vue @@ -5,6 +5,7 @@ :fetcher="fetcher" :fetcher-cache-key="fetchCacheKey" :is-loading="isLoading" + preferences-storage-key="entity-base-table-preferences" :query="query" :table-headers="headers" title="Title" diff --git a/packages/entities/entities-shared/src/components/entity-base-table/EntityBaseTable.vue b/packages/entities/entities-shared/src/components/entity-base-table/EntityBaseTable.vue index c049d1aaab..00b879e160 100644 --- a/packages/entities/entities-shared/src/components/entity-base-table/EntityBaseTable.vue +++ b/packages/entities/entities-shared/src/components/entity-base-table/EntityBaseTable.vue @@ -32,7 +32,6 @@ :sortable="!disableSorting" :table-preferences="tablePreferences" @empty-state-action-click="handleEmptyStateCtaClicked" - @ktable-empty-state-cta-clicked="handleEmptyStateCtaClicked" @row:click="handleRowClick" @sort="(params: any) => handleSortChanged(params)" @update:table-preferences="handleUpdateTablePreferences" @@ -363,9 +362,7 @@ const tablePreferences = ref(getTablePreferences(cacheId.value const combinedInitialFetcherParams = computed((): Partial => { // Pass the preferencesStorageKey regardless; if no entry is found, it will return the default const userTablePreferences = getTablePreferences(cacheId.value) - // Return the props.initialFetcherParams, appending any stored user preferences - return { ...props.initialFetcherParams, ...userTablePreferences, diff --git a/packages/entities/entities-snis/package.json b/packages/entities/entities-snis/package.json index e2d12302df..0cec379ead 100644 --- a/packages/entities/entities-snis/package.json +++ b/packages/entities/entities-snis/package.json @@ -22,7 +22,7 @@ }, "peerDependencies": { "@kong-ui-public/i18n": "workspace:^", - "@kong/kongponents": "^9.0.0-alpha.156", + "@kong/kongponents": "^9.0.0-alpha.158", "axios": "^1.6.8", "vue": ">= 3.3.13 < 4", "vue-router": "^4.3.2" @@ -30,7 +30,7 @@ "devDependencies": { "@kong-ui-public/i18n": "workspace:^", "@kong/design-tokens": "1.12.12", - "@kong/kongponents": "9.0.0-alpha.156", + "@kong/kongponents": "9.0.0-alpha.158", "axios": "^1.6.8", "vue": "^3.4.26", "vue-router": "^4.3.2" diff --git a/packages/entities/entities-upstreams-targets/package.json b/packages/entities/entities-upstreams-targets/package.json index b048344818..c9dc7f2216 100644 --- a/packages/entities/entities-upstreams-targets/package.json +++ b/packages/entities/entities-upstreams-targets/package.json @@ -22,7 +22,7 @@ }, "peerDependencies": { "@kong-ui-public/i18n": "workspace:^", - "@kong/kongponents": "^9.0.0-alpha.156", + "@kong/kongponents": "^9.0.0-alpha.158", "axios": "^1.6.8", "vue": ">= 3.3.13 < 4", "vue-router": "^4.3.2" @@ -30,7 +30,7 @@ "devDependencies": { "@kong-ui-public/i18n": "workspace:^", "@kong/design-tokens": "1.12.12", - "@kong/kongponents": "9.0.0-alpha.156", + "@kong/kongponents": "9.0.0-alpha.158", "axios": "^1.6.8", "vue": "^3.4.26", "vue-router": "^4.3.2" diff --git a/packages/entities/entities-vaults/package.json b/packages/entities/entities-vaults/package.json index e82fc83ef2..971e6bd6e1 100644 --- a/packages/entities/entities-vaults/package.json +++ b/packages/entities/entities-vaults/package.json @@ -22,7 +22,7 @@ }, "peerDependencies": { "@kong-ui-public/i18n": "workspace:^", - "@kong/kongponents": "^9.0.0-alpha.156", + "@kong/kongponents": "^9.0.0-alpha.158", "axios": "^1.6.8", "vue": ">= 3.3.13 < 4", "vue-router": "^4.3.2" @@ -30,7 +30,7 @@ "devDependencies": { "@kong-ui-public/i18n": "workspace:^", "@kong/design-tokens": "1.12.12", - "@kong/kongponents": "9.0.0-alpha.156", + "@kong/kongponents": "9.0.0-alpha.158", "axios": "^1.6.8", "vue": "^3.4.26", "vue-router": "^4.3.2" diff --git a/packages/portal/document-viewer/package.json b/packages/portal/document-viewer/package.json index 2e97800ede..e88f9fb67d 100644 --- a/packages/portal/document-viewer/package.json +++ b/packages/portal/document-viewer/package.json @@ -37,12 +37,12 @@ "test:component:open": "BABEL_ENV=cypress cross-env FORCE_COLOR=1 cypress open --component -b chrome --project '../../../.'" }, "peerDependencies": { - "@kong/kongponents": "^9.0.0-alpha.156", + "@kong/kongponents": "^9.0.0-alpha.158", "vue": ">= 3.3.13 < 4" }, "devDependencies": { "@kong/design-tokens": "1.12.12", - "@kong/kongponents": "9.0.0-alpha.156", + "@kong/kongponents": "9.0.0-alpha.158", "@types/prismjs": "^1.26.3", "@vitejs/plugin-vue-jsx": "^3.1.0", "vue": "^3.4.26" diff --git a/packages/portal/spec-renderer/package.json b/packages/portal/spec-renderer/package.json index dde07cfba4..622df798be 100644 --- a/packages/portal/spec-renderer/package.json +++ b/packages/portal/spec-renderer/package.json @@ -39,12 +39,12 @@ "test:unit:open": "cross-env FORCE_COLOR=1 vitest --ui" }, "peerDependencies": { - "@kong/kongponents": "^9.0.0-alpha.156", + "@kong/kongponents": "^9.0.0-alpha.158", "vue": ">= 3.3.13 < 4" }, "devDependencies": { "@kong/design-tokens": "1.12.12", - "@kong/kongponents": "9.0.0-alpha.156", + "@kong/kongponents": "9.0.0-alpha.158", "@modyfi/vite-plugin-yaml": "^1.1.0", "@types/lodash.clonedeep": "^4.5.9", "@types/uuid": "^9.0.8", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 9f9c0f1cbc..dda7aa6ae7 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -27,8 +27,8 @@ importers: specifier: 1.12.12 version: 1.12.12 '@kong/kongponents': - specifier: 9.0.0-alpha.156 - version: 9.0.0-alpha.156(axios@1.6.8)(vue-router@4.3.2)(vue@3.4.27) + specifier: 9.0.0-alpha.158 + version: 9.0.0-alpha.158(axios@1.6.8)(vue-router@4.3.2)(vue@3.4.27) '@rushstack/eslint-patch': specifier: ^1.7.2 version: 1.7.2 @@ -256,8 +256,8 @@ importers: specifier: 1.12.12 version: 1.12.12 '@kong/kongponents': - specifier: 9.0.0-alpha.156 - version: 9.0.0-alpha.156(axios@1.6.8)(vue-router@4.3.2)(vue@3.4.27) + specifier: 9.0.0-alpha.158 + version: 9.0.0-alpha.158(axios@1.6.8)(vue-router@4.3.2)(vue@3.4.27) '@types/uuid': specifier: ^9.0.8 version: 9.0.8 @@ -323,8 +323,8 @@ importers: specifier: 1.12.12 version: 1.12.12 '@kong/kongponents': - specifier: 9.0.0-alpha.156 - version: 9.0.0-alpha.156(axios@1.6.8)(vue-router@4.3.2)(vue@3.4.27) + specifier: 9.0.0-alpha.158 + version: 9.0.0-alpha.158(axios@1.6.8)(vue-router@4.3.2)(vue@3.4.27) pinia: specifier: '>= 2.1.7 < 3' version: 2.1.7(typescript@5.3.3)(vue@3.4.27) @@ -376,8 +376,8 @@ importers: specifier: 1.12.12 version: 1.12.12 '@kong/kongponents': - specifier: 9.0.0-alpha.156 - version: 9.0.0-alpha.156(axios@1.6.8)(vue-router@4.3.2)(vue@3.4.27) + specifier: 9.0.0-alpha.158 + version: 9.0.0-alpha.158(axios@1.6.8)(vue-router@4.3.2)(vue@3.4.27) json-schema-to-ts: specifier: ^3.0.1 version: 3.0.1 @@ -404,8 +404,8 @@ importers: specifier: 1.12.12 version: 1.12.12 '@kong/kongponents': - specifier: 9.0.0-alpha.156 - version: 9.0.0-alpha.156(axios@1.6.8)(vue-router@4.3.2)(vue@3.4.27) + specifier: 9.0.0-alpha.158 + version: 9.0.0-alpha.158(axios@1.6.8)(vue-router@4.3.2)(vue@3.4.27) vue: specifier: ^3.4.26 version: 3.4.27(typescript@5.3.3) @@ -444,8 +444,8 @@ importers: specifier: 1.12.12 version: 1.12.12 '@kong/kongponents': - specifier: 9.0.0-alpha.156 - version: 9.0.0-alpha.156(axios@1.6.8)(vue-router@4.3.2)(vue@3.4.27) + specifier: 9.0.0-alpha.158 + version: 9.0.0-alpha.158(axios@1.6.8)(vue-router@4.3.2)(vue@3.4.27) '@types/lodash.clonedeep': specifier: ^4.5.9 version: 4.5.9 @@ -512,8 +512,8 @@ importers: specifier: 1.12.12 version: 1.12.12 '@kong/kongponents': - specifier: 9.0.0-alpha.156 - version: 9.0.0-alpha.156(axios@1.6.8)(vue-router@4.3.2)(vue@3.3.13) + specifier: 9.0.0-alpha.158 + version: 9.0.0-alpha.158(axios@1.6.8)(vue-router@4.3.2)(vue@3.3.13) axios: specifier: ^1.6.8 version: 1.6.8 @@ -546,8 +546,8 @@ importers: specifier: 1.12.12 version: 1.12.12 '@kong/kongponents': - specifier: 9.0.0-alpha.156 - version: 9.0.0-alpha.156(axios@1.6.8)(vue-router@4.3.2)(vue@3.4.27) + specifier: 9.0.0-alpha.158 + version: 9.0.0-alpha.158(axios@1.6.8)(vue-router@4.3.2)(vue@3.4.27) monaco-editor: specifier: 0.21.3 version: 0.21.3 @@ -583,8 +583,8 @@ importers: specifier: 1.12.12 version: 1.12.12 '@kong/kongponents': - specifier: 9.0.0-alpha.156 - version: 9.0.0-alpha.156(axios@1.6.8)(vue-router@4.3.2)(vue@3.4.27) + specifier: 9.0.0-alpha.158 + version: 9.0.0-alpha.158(axios@1.6.8)(vue-router@4.3.2)(vue@3.4.27) '@types/lodash-es': specifier: ^4.17.12 version: 4.17.12 @@ -610,8 +610,8 @@ importers: specifier: workspace:^ version: link:../i18n '@kong/kongponents': - specifier: 9.0.0-alpha.156 - version: 9.0.0-alpha.156(axios@1.6.8)(vue-router@4.3.2)(vue@3.4.27) + specifier: 9.0.0-alpha.158 + version: 9.0.0-alpha.158(axios@1.6.8)(vue-router@4.3.2)(vue@3.4.27) vue: specifier: ^3.4.26 version: 3.4.27(typescript@5.3.3) @@ -626,8 +626,8 @@ importers: specifier: 1.12.12 version: 1.12.12 '@kong/kongponents': - specifier: 9.0.0-alpha.156 - version: 9.0.0-alpha.156(axios@1.6.8)(vue-router@4.3.2)(vue@3.4.27) + specifier: 9.0.0-alpha.158 + version: 9.0.0-alpha.158(axios@1.6.8)(vue-router@4.3.2)(vue@3.4.27) vue: specifier: ^3.4.26 version: 3.4.27(typescript@5.3.3) @@ -654,8 +654,8 @@ importers: specifier: 1.12.12 version: 1.12.12 '@kong/kongponents': - specifier: 9.0.0-alpha.156 - version: 9.0.0-alpha.156(axios@1.6.8)(vue-router@4.3.2)(vue@3.4.27) + specifier: 9.0.0-alpha.158 + version: 9.0.0-alpha.158(axios@1.6.8)(vue-router@4.3.2)(vue@3.4.27) axios: specifier: ^1.6.8 version: 1.6.8 @@ -682,8 +682,8 @@ importers: specifier: 1.12.12 version: 1.12.12 '@kong/kongponents': - specifier: 9.0.0-alpha.156 - version: 9.0.0-alpha.156(axios@1.6.8)(vue-router@4.3.2)(vue@3.4.27) + specifier: 9.0.0-alpha.158 + version: 9.0.0-alpha.158(axios@1.6.8)(vue-router@4.3.2)(vue@3.4.27) axios: specifier: ^1.6.8 version: 1.6.8 @@ -710,8 +710,8 @@ importers: specifier: 1.12.12 version: 1.12.12 '@kong/kongponents': - specifier: 9.0.0-alpha.156 - version: 9.0.0-alpha.156(axios@1.6.8)(vue-router@4.3.2)(vue@3.4.27) + specifier: 9.0.0-alpha.158 + version: 9.0.0-alpha.158(axios@1.6.8)(vue-router@4.3.2)(vue@3.4.27) axios: specifier: ^1.6.8 version: 1.6.8 @@ -738,8 +738,8 @@ importers: specifier: 1.12.12 version: 1.12.12 '@kong/kongponents': - specifier: 9.0.0-alpha.156 - version: 9.0.0-alpha.156(axios@1.6.8)(vue-router@4.3.2)(vue@3.4.27) + specifier: 9.0.0-alpha.158 + version: 9.0.0-alpha.158(axios@1.6.8)(vue-router@4.3.2)(vue@3.4.27) axios: specifier: ^1.6.8 version: 1.6.8 @@ -766,8 +766,8 @@ importers: specifier: 1.12.12 version: 1.12.12 '@kong/kongponents': - specifier: 9.0.0-alpha.156 - version: 9.0.0-alpha.156(axios@1.6.8)(vue-router@4.3.2)(vue@3.4.27) + specifier: 9.0.0-alpha.158 + version: 9.0.0-alpha.158(axios@1.6.8)(vue-router@4.3.2)(vue@3.4.27) axios: specifier: ^1.6.8 version: 1.6.8 @@ -794,8 +794,8 @@ importers: specifier: 1.12.12 version: 1.12.12 '@kong/kongponents': - specifier: 9.0.0-alpha.156 - version: 9.0.0-alpha.156(axios@1.6.8)(vue-router@4.3.2)(vue@3.4.27) + specifier: 9.0.0-alpha.158 + version: 9.0.0-alpha.158(axios@1.6.8)(vue-router@4.3.2)(vue@3.4.27) axios: specifier: ^1.6.8 version: 1.6.8 @@ -819,8 +819,8 @@ importers: specifier: workspace:^ version: link:../../core/i18n '@kong/kongponents': - specifier: 9.0.0-alpha.156 - version: 9.0.0-alpha.156(axios@1.6.8)(vue-router@4.3.2)(vue@3.4.27) + specifier: 9.0.0-alpha.158 + version: 9.0.0-alpha.158(axios@1.6.8)(vue-router@4.3.2)(vue@3.4.27) axios: specifier: ^1.6.8 version: 1.6.8 @@ -847,8 +847,8 @@ importers: specifier: 1.12.12 version: 1.12.12 '@kong/kongponents': - specifier: 9.0.0-alpha.156 - version: 9.0.0-alpha.156(axios@1.6.8)(vue-router@4.3.2)(vue@3.4.27) + specifier: 9.0.0-alpha.158 + version: 9.0.0-alpha.158(axios@1.6.8)(vue-router@4.3.2)(vue@3.4.27) axios: specifier: ^1.6.8 version: 1.6.8 @@ -893,8 +893,8 @@ importers: specifier: 1.12.12 version: 1.12.12 '@kong/kongponents': - specifier: 9.0.0-alpha.156 - version: 9.0.0-alpha.156(axios@1.6.8)(vue-router@4.3.2)(vue@3.4.27) + specifier: 9.0.0-alpha.158 + version: 9.0.0-alpha.158(axios@1.6.8)(vue-router@4.3.2)(vue@3.4.27) axios: specifier: ^1.6.8 version: 1.6.8 @@ -931,8 +931,8 @@ importers: specifier: 1.12.12 version: 1.12.12 '@kong/kongponents': - specifier: 9.0.0-alpha.156 - version: 9.0.0-alpha.156(axios@1.6.8)(vue-router@4.3.2)(vue@3.4.27) + specifier: 9.0.0-alpha.158 + version: 9.0.0-alpha.158(axios@1.6.8)(vue-router@4.3.2)(vue@3.4.27) '@types/lodash.isequal': specifier: ^4.5.8 version: 4.5.8 @@ -968,8 +968,8 @@ importers: specifier: 1.12.12 version: 1.12.12 '@kong/kongponents': - specifier: 9.0.0-alpha.156 - version: 9.0.0-alpha.156(axios@1.6.8)(vue-router@4.3.2)(vue@3.4.27) + specifier: 9.0.0-alpha.158 + version: 9.0.0-alpha.158(axios@1.6.8)(vue-router@4.3.2)(vue@3.4.27) axios: specifier: ^1.6.8 version: 1.6.8 @@ -996,8 +996,8 @@ importers: specifier: 1.12.12 version: 1.12.12 '@kong/kongponents': - specifier: 9.0.0-alpha.156 - version: 9.0.0-alpha.156(axios@1.6.8)(vue-router@4.3.2)(vue@3.4.27) + specifier: 9.0.0-alpha.158 + version: 9.0.0-alpha.158(axios@1.6.8)(vue-router@4.3.2)(vue@3.4.27) axios: specifier: ^1.6.8 version: 1.6.8 @@ -1024,8 +1024,8 @@ importers: specifier: 1.12.12 version: 1.12.12 '@kong/kongponents': - specifier: 9.0.0-alpha.156 - version: 9.0.0-alpha.156(axios@1.6.8)(vue-router@4.3.2)(vue@3.4.27) + specifier: 9.0.0-alpha.158 + version: 9.0.0-alpha.158(axios@1.6.8)(vue-router@4.3.2)(vue@3.4.27) axios: specifier: ^1.6.8 version: 1.6.8 @@ -1052,8 +1052,8 @@ importers: specifier: 1.12.12 version: 1.12.12 '@kong/kongponents': - specifier: 9.0.0-alpha.156 - version: 9.0.0-alpha.156(axios@1.6.8)(vue-router@4.3.2)(vue@3.4.27) + specifier: 9.0.0-alpha.158 + version: 9.0.0-alpha.158(axios@1.6.8)(vue-router@4.3.2)(vue@3.4.27) axios: specifier: ^1.6.8 version: 1.6.8 @@ -1077,8 +1077,8 @@ importers: specifier: 1.12.12 version: 1.12.12 '@kong/kongponents': - specifier: 9.0.0-alpha.156 - version: 9.0.0-alpha.156(axios@1.6.8)(vue-router@4.3.2)(vue@3.4.27) + specifier: 9.0.0-alpha.158 + version: 9.0.0-alpha.158(axios@1.6.8)(vue-router@4.3.2)(vue@3.4.27) '@types/prismjs': specifier: ^1.26.3 version: 1.26.3 @@ -1111,8 +1111,8 @@ importers: specifier: 1.12.12 version: 1.12.12 '@kong/kongponents': - specifier: 9.0.0-alpha.156 - version: 9.0.0-alpha.156(axios@1.6.8)(vue-router@4.3.2)(vue@3.4.27) + specifier: 9.0.0-alpha.158 + version: 9.0.0-alpha.158(axios@1.6.8)(vue-router@4.3.2)(vue@3.4.27) '@modyfi/vite-plugin-yaml': specifier: ^1.1.0 version: 1.1.0(vite@5.2.11) @@ -2415,8 +2415,8 @@ packages: vue-router: 4.3.2(vue@3.4.27) dev: false - /@kong/kongponents@9.0.0-alpha.156(axios@1.6.8)(vue-router@4.3.2)(vue@3.3.13): - resolution: {integrity: sha512-AXBmo63qgfwtFe+xdcNdEkfyXJrH5y91yjgR3EE9EDXpTw4f2WfaFh80kbwaQVs1pkUeKcKwzDw8KFu2EGjCkQ==} + /@kong/kongponents@9.0.0-alpha.158(axios@1.6.8)(vue-router@4.3.2)(vue@3.3.13): + resolution: {integrity: sha512-f/z5LVjHPd5JFEptDg4MEyrH+ncqR52RCwM7HfJKVBDoPGXOBrHlLQtLaieUOCLx+6b6kvDx/3kPd49hVFQ30w==} engines: {node: '>=v16.20.2'} peerDependencies: axios: ^1.6.8 @@ -2440,8 +2440,8 @@ packages: vue-router: 4.3.2(vue@3.4.27) dev: true - /@kong/kongponents@9.0.0-alpha.156(axios@1.6.8)(vue-router@4.3.2)(vue@3.4.27): - resolution: {integrity: sha512-AXBmo63qgfwtFe+xdcNdEkfyXJrH5y91yjgR3EE9EDXpTw4f2WfaFh80kbwaQVs1pkUeKcKwzDw8KFu2EGjCkQ==} + /@kong/kongponents@9.0.0-alpha.158(axios@1.6.8)(vue-router@4.3.2)(vue@3.4.27): + resolution: {integrity: sha512-f/z5LVjHPd5JFEptDg4MEyrH+ncqR52RCwM7HfJKVBDoPGXOBrHlLQtLaieUOCLx+6b6kvDx/3kPd49hVFQ30w==} engines: {node: '>=v16.20.2'} peerDependencies: axios: ^1.6.8 @@ -3809,7 +3809,7 @@ packages: '@swagger-api/apidom-ns-asyncapi-2': 0.99.2 '@swagger-api/apidom-ns-openapi-2': 0.99.2 '@swagger-api/apidom-ns-openapi-3-0': 0.99.2 - '@swagger-api/apidom-ns-openapi-3-1': 0.99.2 + '@swagger-api/apidom-ns-openapi-3-1': 0.99.1 '@swagger-api/apidom-ns-workflows-1': 0.99.2 '@swagger-api/apidom-parser-adapter-api-design-systems-json': 0.99.2 '@swagger-api/apidom-parser-adapter-api-design-systems-yaml': 0.99.2 @@ -4198,6 +4198,11 @@ packages: /@types/lodash@4.17.1: resolution: {integrity: sha512-X+2qazGS3jxLAIz5JDXDzglAF3KpijdhFxlf/V1+hEsOUc+HnWi81L/uv/EvGuV90WY+7mPGFCUDGfQC3Gj95Q==} + dev: false + + /@types/lodash@4.17.4: + resolution: {integrity: sha512-wYCP26ZLxaT3R39kiN2+HcJ4kTd3U1waI/cY7ivWYqFP6pW3ZNpvi6Wd6PHZx7T/t8z0vlkXMg3QYLa7DZ/IJQ==} + dev: true /@types/markdown-it@13.0.7: resolution: {integrity: sha512-U/CBi2YUUcTHBt5tjO2r5QV/x0Po6nsYwQU4Y04fBS6vfoImaiZ6f8bi3CjTCxBPQSO1LMyUqkByzi8AidyxfA==} @@ -15467,7 +15472,7 @@ packages: vue: ^3.2.0 dependencies: '@popperjs/core': 2.11.8 - '@types/lodash': 4.17.1 + '@types/lodash': 4.17.4 '@types/resize-observer-browser': 0.1.11 date-fns: 2.30.0 date-fns-tz: 2.0.1(date-fns@2.30.0) @@ -15483,7 +15488,7 @@ packages: vue: ^3.2.0 dependencies: '@popperjs/core': 2.11.8 - '@types/lodash': 4.17.1 + '@types/lodash': 4.17.4 '@types/resize-observer-browser': 0.1.11 date-fns: 2.30.0 date-fns-tz: 2.0.1(date-fns@2.30.0)