@kong-ui-public/entities-plugins 9.261.0 → 9.262.0
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/dist/entities-plugins.es.js +5538 -5520
- package/dist/entities-plugins.umd.js +79 -79
- package/dist/style.css +1 -1
- package/dist/types/components/fields/kong-identity/ConfigFormContent.vue.d.ts.map +1 -1
- package/dist/types/components/fields/kong-identity/KongIdentityField.vue.d.ts.map +1 -1
- package/dist/types/components/free-form/plugins/key-auth/context.d.ts +9 -0
- package/dist/types/components/free-form/plugins/key-auth/context.d.ts.map +1 -0
- package/dist/types/components/free-form/shared/plugin-context/index.d.ts +26 -0
- package/dist/types/components/free-form/shared/plugin-context/index.d.ts.map +1 -0
- package/dist/types/index.d.ts +2 -0
- package/dist/types/index.d.ts.map +1 -1
- package/package.json +5 -5
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ConfigFormContent.vue.d.ts","sourceRoot":"","sources":["../../../../../src/components/fields/kong-identity/ConfigFormContent.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"ConfigFormContent.vue.d.ts","sourceRoot":"","sources":["../../../../../src/components/fields/kong-identity/ConfigFormContent.vue"],"names":[],"mappings":"AA6ZA,OAAO,KAAK,EAAE,iBAAiB,EAA2B,MAAM,gBAAgB,CAAA;AAuehF,QAAA,MAAM,YAAY;;;;;;iFAEhB,CAAC;wBACkB,OAAO,YAAY;AAAxC,wBAAyC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"KongIdentityField.vue.d.ts","sourceRoot":"","sources":["../../../../../src/components/fields/kong-identity/KongIdentityField.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"KongIdentityField.vue.d.ts","sourceRoot":"","sources":["../../../../../src/components/fields/kong-identity/KongIdentityField.vue"],"names":[],"mappings":"AAyOA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,SAAS,CAAA;AAIvC,KAAK,WAAW,GAAG;IACjB,sBAAsB,CAAC,EAAE,OAAO,CAAA;IAChC,aAAa,CAAC,EAAE,OAAO,CAAA;CACxB,CAAC;AAiFF,KAAK,gBAAgB,GAAG;IACxB,UAAU,CAAC,EAAE,QAAQ,CAAC;CACrB,CAAC;AAKF,KAAK,iBAAiB,GAAG,WAAW,GAAG,gBAAgB,CAAC;AAyOxD,QAAA,MAAM,YAAY;;;;kFAGhB,CAAC;wBACkB,OAAO,YAAY;AAAxC,wBAAyC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
export interface KeyAuthContext {
|
|
2
|
+
/**
|
|
3
|
+
* Enables the Kong Identity "centrally managed consumers" flow: the `identity_realms`
|
|
4
|
+
* field, its realms fetch, and the "Centrally managed consumers" mode option.
|
|
5
|
+
* Defaults to `true` when no context is provided.
|
|
6
|
+
*/
|
|
7
|
+
identityRealmsEnabled?: boolean;
|
|
8
|
+
}
|
|
9
|
+
//# sourceMappingURL=context.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"context.d.ts","sourceRoot":"","sources":["../../../../../../src/components/free-form/plugins/key-auth/context.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,cAAc;IAC7B;;;;OAIG;IACH,qBAAqB,CAAC,EAAE,OAAO,CAAA;CAChC"}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import type { InjectionKey } from 'vue';
|
|
2
|
+
import type { KeyAuthContext } from '../../plugins/key-auth/context';
|
|
3
|
+
/**
|
|
4
|
+
* Central registry mapping each plugin that needs host-injected context to its context type.
|
|
5
|
+
* Add one entry per plugin here.
|
|
6
|
+
*/
|
|
7
|
+
export interface PluginContextRegistry {
|
|
8
|
+
'key-auth': KeyAuthContext;
|
|
9
|
+
}
|
|
10
|
+
export type PluginName = keyof PluginContextRegistry;
|
|
11
|
+
/** Exported for tests that need to provide context via `global.provide` without a wrapper component. */
|
|
12
|
+
export declare const PLUGIN_CONTEXT_KEY: InjectionKey<Partial<PluginContextRegistry>>;
|
|
13
|
+
/**
|
|
14
|
+
* Registers context for a specific plugin, to be read by that plugin's form via
|
|
15
|
+
* `usePluginContext`. Safe to call multiple times — once per plugin — from the
|
|
16
|
+
* same component.
|
|
17
|
+
*/
|
|
18
|
+
export declare function providePluginContext<K extends PluginName>(pluginName: K, context: PluginContextRegistry[K]): void;
|
|
19
|
+
/**
|
|
20
|
+
* Reads the context registered for a plugin via `providePluginContext` in an
|
|
21
|
+
* ancestor component. Returns `undefined` (and logs a warning) if nothing was
|
|
22
|
+
* registered for `pluginName` — callers decide for themselves whether a
|
|
23
|
+
* missing context is fatal.
|
|
24
|
+
*/
|
|
25
|
+
export declare function usePluginContext<K extends PluginName>(pluginName: K): PluginContextRegistry[K] | undefined;
|
|
26
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/components/free-form/shared/plugin-context/index.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAA6B,YAAY,EAAE,MAAM,KAAK,CAAA;AAClE,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,gCAAgC,CAAA;AAEpE;;;GAGG;AACH,MAAM,WAAW,qBAAqB;IACpC,UAAU,EAAE,cAAc,CAAA;CAC3B;AAED,MAAM,MAAM,UAAU,GAAG,MAAM,qBAAqB,CAAA;AAEpD,wGAAwG;AACxG,eAAO,MAAM,kBAAkB,EAAyC,YAAY,CAAC,OAAO,CAAC,qBAAqB,CAAC,CAAC,CAAA;AAUpH;;;;GAIG;AACH,wBAAgB,oBAAoB,CAAC,CAAC,SAAS,UAAU,EACvD,UAAU,EAAE,CAAC,EACb,OAAO,EAAE,qBAAqB,CAAC,CAAC,CAAC,GAChC,IAAI,CAeN;AAED;;;;;GAKG;AACH,wBAAgB,gBAAgB,CAAC,CAAC,SAAS,UAAU,EAAE,UAAU,EAAE,CAAC,GAAG,qBAAqB,CAAC,CAAC,CAAC,GAAG,SAAS,CAc1G"}
|
package/dist/types/index.d.ts
CHANGED
|
@@ -26,6 +26,8 @@ export { useProvideFreeFormPluginLayout, } from './components/free-form/shared/l
|
|
|
26
26
|
export type { PluginConfigurationBaseProps, PluginFormLayoutComponent, PluginFormLayoutProps, } from './components/free-form/shared/layout/provider';
|
|
27
27
|
export { pluginConfigRegistry, } from './components/free-form/shared/plugin-registry';
|
|
28
28
|
export type { ResolvedPluginFormConfig, } from './components/free-form/shared/plugin-registry';
|
|
29
|
+
export { providePluginContext, usePluginContext, } from './components/free-form/shared/plugin-context';
|
|
30
|
+
export type { PluginContextRegistry, PluginName as PluginContextName, } from './components/free-form/shared/plugin-context';
|
|
29
31
|
export { provideEditorStore, useEditorStore } from './components/free-form/plugins/datakit/composables';
|
|
30
32
|
export type { DatakitPluginData, NodeInstance, NodePhase } from './components/free-form/plugins/datakit/types';
|
|
31
33
|
export type { AuthMode } from './components/fields/kong-identity/types';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,UAAU,MAAM,mEAAmE,CAAA;AAC1F,OAAO,SAAS,MAAM,uEAAuE,CAAA;AAC7F,OAAO,gBAAgB,MAAM,mCAAmC,CAAA;AAChE,OAAO,UAAU,MAAM,6BAA6B,CAAA;AACpD,OAAO,UAAU,MAAM,6BAA6B,CAAA;AACpD,OAAO,YAAY,MAAM,+BAA+B,CAAA;AACxD,OAAO,aAAa,MAAM,gCAAgC,CAAA;AAC1D,OAAO,gBAAgB,MAAM,0CAA0C,CAAA;AACvE,OAAO,gBAAgB,MAAM,0CAA0C,CAAA;AACvE,OAAO,gBAAgB,MAAM,mCAAmC,CAAA;AAChE,OAAO,wBAAwB,MAAM,2CAA2C,CAAA;AAChF,OAAO,4BAA4B,MAAM,+CAA+C,CAAA;AACxF,OAAO,2BAA2B,MAAM,8CAA8C,CAAA;AACtF,OAAO,UAAU,MAAM,8C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A;AAErD,YAAY,EACV,qBAAqB,EACrB,UAAU,IAAI,iBAAiB,GAChC,MAAM,8CAA8C,CAAA;AAErD,OAAO,EAAE,kBAAkB,EAAE,cAAc,EAAE,MAAM,oDAAoD,CAAA;AAEvG,YAAY,EAAE,iBAAiB,EAAE,YAAY,EAAE,SAAS,EAAE,MAAM,8CAA8C,CAAA;AAE9G,YAAY,EAAE,QAAQ,EAAE,MAAM,yCAAyC,CAAA;AAEvE,cAAc,SAAS,CAAA;AAEvB,OAAO,EAAE,eAAe,EAAE,CAAA;AAE1B,cAAc,aAAa,CAAA;AAE3B;;;GAGG;AACH,OAAO,EAAE,gBAAgB,EAAE,UAAU,EAAE,MAAM,uCAAuC,CAAA;AAEpF,cAAc,YAAY,CAAA"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@kong-ui-public/entities-plugins",
|
|
3
|
-
"version": "9.
|
|
3
|
+
"version": "9.262.0",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"main": "./dist/entities-plugins.umd.js",
|
|
6
6
|
"module": "./dist/entities-plugins.es.js",
|
|
@@ -55,8 +55,8 @@
|
|
|
55
55
|
"vue": ">= 3.3.13 < 4",
|
|
56
56
|
"vue-router": "^4.6.4 || ^5.0.6",
|
|
57
57
|
"zod": ">= 4.1.3 < 5",
|
|
58
|
-
"@kong-ui-public/i18n": "^2.5.1",
|
|
59
58
|
"@kong-ui-public/entities-shared": "^3.62.1",
|
|
59
|
+
"@kong-ui-public/i18n": "^2.5.1",
|
|
60
60
|
"@kong-ui-public/monaco-editor": "^0.24.13"
|
|
61
61
|
},
|
|
62
62
|
"peerDependenciesMeta": {
|
|
@@ -93,8 +93,8 @@
|
|
|
93
93
|
"zod": "^4.4.3",
|
|
94
94
|
"@kong-ui-public/entities-vaults": "^4.16.24",
|
|
95
95
|
"@kong-ui-public/i18n": "^2.5.1",
|
|
96
|
-
"@kong-ui-public/
|
|
97
|
-
"@kong-ui-public/
|
|
96
|
+
"@kong-ui-public/entities-shared": "^3.62.1",
|
|
97
|
+
"@kong-ui-public/monaco-editor": "^0.24.13"
|
|
98
98
|
},
|
|
99
99
|
"repository": {
|
|
100
100
|
"type": "git",
|
|
@@ -115,9 +115,9 @@
|
|
|
115
115
|
"lodash-es": "^4.18.1",
|
|
116
116
|
"marked": "^14.1.4",
|
|
117
117
|
"@kong-ui-public/entities-consumers": "^4.7.19",
|
|
118
|
+
"@kong-ui-public/entities-consumer-groups": "^4.7.22",
|
|
118
119
|
"@kong-ui-public/entities-gateway-services": "^3.26.0",
|
|
119
120
|
"@kong-ui-public/entities-plugins-icon": "^1.7.2",
|
|
120
|
-
"@kong-ui-public/entities-consumer-groups": "^4.7.22",
|
|
121
121
|
"@kong-ui-public/entities-plugins-metadata": "^1.15.1",
|
|
122
122
|
"@kong-ui-public/entities-redis-configurations": "^1.18.21",
|
|
123
123
|
"@kong-ui-public/entities-routes": "^3.26.14",
|