@kong-ui-public/entities-plugins 9.207.1 → 9.208.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.
Files changed (23) hide show
  1. package/dist/entities-plugins.es.js +8322 -8140
  2. package/dist/entities-plugins.umd.js +101 -101
  3. package/dist/style.css +1 -1
  4. package/dist/types/components/fields/key-auth-identity-realms/Base.vue.d.ts +7 -2
  5. package/dist/types/components/fields/key-auth-identity-realms/Base.vue.d.ts.map +1 -1
  6. package/dist/types/components/fields/key-auth-identity-realms/const.d.ts +4 -0
  7. package/dist/types/components/fields/key-auth-identity-realms/const.d.ts.map +1 -0
  8. package/dist/types/components/fields/kong-identity/ConfigFormContent.vue.d.ts +4 -0
  9. package/dist/types/components/fields/kong-identity/ConfigFormContent.vue.d.ts.map +1 -0
  10. package/dist/types/components/{free-form/plugins/key-auth/KeyAuthForm.vue.d.ts → fields/kong-identity/ConfigFormWithIdentity.vue.d.ts} +2 -2
  11. package/dist/types/components/fields/kong-identity/ConfigFormWithIdentity.vue.d.ts.map +1 -0
  12. package/dist/types/components/fields/kong-identity/KongIdentityField.vue.d.ts +17 -0
  13. package/dist/types/components/fields/kong-identity/KongIdentityField.vue.d.ts.map +1 -0
  14. package/dist/types/components/fields/kong-identity/types.d.ts +6 -0
  15. package/dist/types/components/fields/kong-identity/types.d.ts.map +1 -0
  16. package/dist/types/components/free-form/plugins/basic-auth/index.d.ts +3 -0
  17. package/dist/types/components/free-form/plugins/basic-auth/index.d.ts.map +1 -0
  18. package/dist/types/components/free-form/plugins/key-auth/IdentityRealmsField.vue.d.ts.map +1 -1
  19. package/dist/types/components/free-form/plugins/key-auth/index.d.ts.map +1 -1
  20. package/package.json +7 -7
  21. package/dist/types/components/free-form/plugins/basic-auth.d.ts +0 -3
  22. package/dist/types/components/free-form/plugins/basic-auth.d.ts.map +0 -1
  23. package/dist/types/components/free-form/plugins/key-auth/KeyAuthForm.vue.d.ts.map +0 -1
@@ -1,10 +1,15 @@
1
+ import type { MultiselectItem } from '@kong/kongponents';
1
2
  import type { IdentityRealmItem } from './types';
3
+ type __VLS_Props = {
4
+ realms?: MultiselectItem[];
5
+ };
2
6
  type __VLS_ModelProps = {
3
7
  modelValue?: IdentityRealmItem[];
4
8
  };
5
- declare const __VLS_export: import("vue").DefineComponent<__VLS_ModelProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
9
+ type __VLS_PublicProps = __VLS_Props & __VLS_ModelProps;
10
+ declare const __VLS_export: import("vue").DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
6
11
  "update:modelValue": (value: IdentityRealmItem[]) => any;
7
- }, string, import("vue").PublicProps, Readonly<__VLS_ModelProps> & Readonly<{
12
+ }, string, import("vue").PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
8
13
  "onUpdate:modelValue"?: ((value: IdentityRealmItem[]) => any) | undefined;
9
14
  }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
10
15
  declare const _default: typeof __VLS_export;
@@ -1 +1 @@
1
- {"version":3,"file":"Base.vue.d.ts","sourceRoot":"","sources":["../../../../../src/components/fields/key-auth-identity-realms/Base.vue"],"names":[],"mappings":"AAiIA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,SAAS,CAAA;AAwGhD,KAAK,gBAAgB,GAAG;IACxB,UAAU,CAAC,EAAE,iBAAiB,EAAE,CAAC;CAChC,CAAC;AAqDF,QAAA,MAAM,YAAY;;;;kFAGhB,CAAC;wBACkB,OAAO,YAAY;AAAxC,wBAAyC"}
1
+ {"version":3,"file":"Base.vue.d.ts","sourceRoot":"","sources":["../../../../../src/components/fields/key-auth-identity-realms/Base.vue"],"names":[],"mappings":"AA8IA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAA;AAGxD,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,SAAS,CAAA;AAOhD,KAAK,WAAW,GAAG;IACjB,MAAM,CAAC,EAAE,eAAe,EAAE,CAAA;CAC3B,CAAC;AAgHF,KAAK,gBAAgB,GAAG;IACxB,UAAU,CAAC,EAAE,iBAAiB,EAAE,CAAC;CAChC,CAAC;AAKF,KAAK,iBAAiB,GAAG,WAAW,GAAG,gBAAgB,CAAC;AAgDxD,QAAA,MAAM,YAAY;;;;kFAGhB,CAAC;wBACkB,OAAO,YAAY;AAAxC,wBAAyC"}
@@ -0,0 +1,4 @@
1
+ import type { InjectionKey, Ref } from 'vue';
2
+ import type { MultiselectItem } from '@kong/kongponents';
3
+ export declare const FETCHED_REALMS_KEY: InjectionKey<Ref<MultiselectItem[]>>;
4
+ //# sourceMappingURL=const.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"const.d.ts","sourceRoot":"","sources":["../../../../../src/components/fields/key-auth-identity-realms/const.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,GAAG,EAAE,MAAM,KAAK,CAAA;AAC5C,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAA;AAExD,eAAO,MAAM,kBAAkB,EAAE,YAAY,CAAC,GAAG,CAAC,eAAe,EAAE,CAAC,CAA4B,CAAA"}
@@ -0,0 +1,4 @@
1
+ declare const __VLS_export: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
2
+ declare const _default: typeof __VLS_export;
3
+ export default _default;
4
+ //# sourceMappingURL=ConfigFormContent.vue.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ConfigFormContent.vue.d.ts","sourceRoot":"","sources":["../../../../../src/components/fields/kong-identity/ConfigFormContent.vue"],"names":[],"mappings":"AA0VA,QAAA,MAAM,YAAY,+QAChB,CAAC;wBACkB,OAAO,YAAY;AAAxC,wBAAyC"}
@@ -1,5 +1,5 @@
1
1
  import { AUTOFILL_SLOT_NAME } from '@kong-ui-public/forms';
2
- import type { Props } from '../../shared/layout/StandardLayout.vue';
2
+ import type { Props } from '../../free-form/shared/layout/StandardLayout.vue';
3
3
  type __VLS_Props = Props;
4
4
  type __VLS_Slots = {
5
5
  [K in typeof AUTOFILL_SLOT_NAME]: () => any;
@@ -13,4 +13,4 @@ type __VLS_WithSlots<T, S> = T & {
13
13
  $slots: S;
14
14
  };
15
15
  };
16
- //# sourceMappingURL=KeyAuthForm.vue.d.ts.map
16
+ //# sourceMappingURL=ConfigFormWithIdentity.vue.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ConfigFormWithIdentity.vue.d.ts","sourceRoot":"","sources":["../../../../../src/components/fields/kong-identity/ConfigFormWithIdentity.vue"],"names":[],"mappings":"AA0BA,OAAO,EAAiB,kBAAkB,EAAE,MAAM,uBAAuB,CAAA;AAIzE,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,kDAAkD,CAAA;AAE7E,KAAK,WAAW,GAAG,KAAK,CAAC;AAGzB,KAAK,WAAW,GAAG;KAChB,CAAC,IAAI,OAAO,kBAAkB,GAAG,MAAM,GAAG;CAC5C,CAAC;AAqCF,QAAA,MAAM,UAAU,kSAEd,CAAC;AACH,QAAA,MAAM,YAAY,EAAS,eAAe,CAAC,OAAO,UAAU,EAAE,WAAW,CAAC,CAAC;wBACtD,OAAO,YAAY;AAAxC,wBAAyC;AACzC,KAAK,eAAe,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAChC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KACV,CAAA;CACD,CAAC"}
@@ -0,0 +1,17 @@
1
+ import type { AuthMode } from './types';
2
+ type __VLS_Props = {
3
+ identityRealmsInSchema?: boolean;
4
+ hasExistingRealms?: boolean;
5
+ };
6
+ type __VLS_ModelProps = {
7
+ modelValue?: AuthMode;
8
+ };
9
+ type __VLS_PublicProps = __VLS_Props & __VLS_ModelProps;
10
+ declare const __VLS_export: import("vue").DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
11
+ "update:modelValue": (value: AuthMode | undefined) => any;
12
+ }, string, import("vue").PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
13
+ "onUpdate:modelValue"?: ((value: AuthMode | undefined) => any) | undefined;
14
+ }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
15
+ declare const _default: typeof __VLS_export;
16
+ export default _default;
17
+ //# sourceMappingURL=KongIdentityField.vue.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"KongIdentityField.vue.d.ts","sourceRoot":"","sources":["../../../../../src/components/fields/kong-identity/KongIdentityField.vue"],"names":[],"mappings":"AAkMA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,SAAS,CAAA;AAIvC,KAAK,WAAW,GAAG;IACjB,sBAAsB,CAAC,EAAE,OAAO,CAAA;IAChC,iBAAiB,CAAC,EAAE,OAAO,CAAA;CAC5B,CAAC;AAmEF,KAAK,gBAAgB,GAAG;IACxB,UAAU,CAAC,EAAE,QAAQ,CAAC;CACrB,CAAC;AAKF,KAAK,iBAAiB,GAAG,WAAW,GAAG,gBAAgB,CAAC;AAqNxD,QAAA,MAAM,YAAY;;;;kFAGhB,CAAC;wBACkB,OAAO,YAAY;AAAxC,wBAAyC"}
@@ -0,0 +1,6 @@
1
+ export interface KongIdentityPrincipals {
2
+ enabled: boolean;
3
+ directory: string;
4
+ }
5
+ export type AuthMode = 'kong-identity' | 'consumers' | 'centrally-managed';
6
+ //# sourceMappingURL=types.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../src/components/fields/kong-identity/types.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,sBAAsB;IACrC,OAAO,EAAE,OAAO,CAAA;IAChB,SAAS,EAAE,MAAM,CAAA;CAClB;AAED,MAAM,MAAM,QAAQ,GAAG,eAAe,GAAG,WAAW,GAAG,mBAAmB,CAAA"}
@@ -0,0 +1,3 @@
1
+ declare const _default: import("../../shared/types.ts").PluginFormConfig;
2
+ export default _default;
3
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/components/free-form/plugins/basic-auth/index.ts"],"names":[],"mappings":";AAGA,wBAQE"}
@@ -1 +1 @@
1
- {"version":3,"file":"IdentityRealmsField.vue.d.ts","sourceRoot":"","sources":["../../../../../../src/components/free-form/plugins/key-auth/IdentityRealmsField.vue"],"names":[],"mappings":"AA0DA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAA;AACxD,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,oBAAoB,CAAA;AAE5D,KAAK,WAAW,GAAG;IACjB,IAAI,EAAE,MAAM,CAAA;IACZ,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,eAAe,CAAC,EAAE,eAAe,CAAA;IACjC,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,cAAc,CAAC,EAAE,kBAAkB,CAAA;CACpC,CAAC;AA6EF,QAAA,IAAI,OAAO,IAAW,CAAE;AACxB,KAAK,WAAW,GAAG,EAAE,GACnB;IAAE,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,OAAO,KAAK,GAAG,CAAA;CAAE,CAAC;AAK/C,QAAA,MAAM,UAAU,kSAEd,CAAC;AACH,QAAA,MAAM,YAAY,EAAS,eAAe,CAAC,OAAO,UAAU,EAAE,WAAW,CAAC,CAAC;wBACtD,OAAO,YAAY;AAAxC,wBAAyC;AACzC,KAAK,eAAe,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAChC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KACV,CAAA;CACD,CAAC"}
1
+ {"version":3,"file":"IdentityRealmsField.vue.d.ts","sourceRoot":"","sources":["../../../../../../src/components/free-form/plugins/key-auth/IdentityRealmsField.vue"],"names":[],"mappings":"AAsEA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAA;AACxD,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,oBAAoB,CAAA;AAE5D,KAAK,WAAW,GAAG;IACjB,IAAI,EAAE,MAAM,CAAA;IACZ,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,eAAe,CAAC,EAAE,eAAe,CAAA;IACjC,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,cAAc,CAAC,EAAE,kBAAkB,CAAA;CACpC,CAAC;AAmFF,QAAA,IAAI,OAAO,IAAW,CAAE;AACxB,KAAK,WAAW,GAAG,EAAE,GACnB;IAAE,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,OAAO,KAAK,GAAG,CAAA;CAAE,CAAC;AAK/C,QAAA,MAAM,UAAU,kSAEd,CAAC;AACH,QAAA,MAAM,YAAY,EAAS,eAAe,CAAC,OAAO,UAAU,EAAE,WAAW,CAAC,CAAC;wBACtD,OAAO,YAAY;AAAxC,wBAAyC;AACzC,KAAK,eAAe,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAChC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KACV,CAAA;CACD,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/components/free-form/plugins/key-auth/index.ts"],"names":[],"mappings":";AAGA,wBAGE"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/components/free-form/plugins/key-auth/index.ts"],"names":[],"mappings":";AAIA,wBASE"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kong-ui-public/entities-plugins",
3
- "version": "9.207.1",
3
+ "version": "9.208.0",
4
4
  "type": "module",
5
5
  "main": "./dist/entities-plugins.umd.js",
6
6
  "module": "./dist/entities-plugins.es.js",
@@ -50,9 +50,9 @@
50
50
  "vue": ">= 3.3.13 < 4",
51
51
  "vue-router": "^4.6.4 || ^5.0.6",
52
52
  "zod": ">= 4.1.3 < 5",
53
+ "@kong-ui-public/i18n": "^2.4.6",
53
54
  "@kong-ui-public/monaco-editor": "^0.22.10",
54
- "@kong-ui-public/entities-shared": "^3.47.2",
55
- "@kong-ui-public/i18n": "^2.4.6"
55
+ "@kong-ui-public/entities-shared": "^3.47.2"
56
56
  },
57
57
  "peerDependenciesMeta": {
58
58
  "@playwright/test": {
@@ -86,8 +86,8 @@
86
86
  "vue": "^3.5.33",
87
87
  "vue-router": "^5.0.7",
88
88
  "zod": "^4.3.6",
89
- "@kong-ui-public/entities-shared": "^3.47.2",
90
89
  "@kong-ui-public/entities-vaults": "^4.8.0",
90
+ "@kong-ui-public/entities-shared": "^3.47.2",
91
91
  "@kong-ui-public/i18n": "^2.4.6",
92
92
  "@kong-ui-public/monaco-editor": "^0.22.10"
93
93
  },
@@ -109,14 +109,14 @@
109
109
  "lodash-es": "^4.18.1",
110
110
  "marked": "^14.1.4",
111
111
  "@kong-ui-public/entities-consumer-groups": "^4.5.12",
112
- "@kong-ui-public/entities-consumers": "^4.4.11",
113
112
  "@kong-ui-public/entities-gateway-services": "^3.20.11",
113
+ "@kong-ui-public/entities-consumers": "^4.4.11",
114
+ "@kong-ui-public/entities-plugins-icon": "^1.6.5",
114
115
  "@kong-ui-public/entities-plugins-metadata": "^1.13.3",
115
116
  "@kong-ui-public/entities-redis-configurations": "^1.15.14",
116
117
  "@kong-ui-public/entities-routes": "^3.22.14",
117
118
  "@kong-ui-public/entities-vaults": "^4.8.0",
118
- "@kong-ui-public/forms": "^4.25.0",
119
- "@kong-ui-public/entities-plugins-icon": "^1.6.5"
119
+ "@kong-ui-public/forms": "^4.25.0"
120
120
  },
121
121
  "scripts": {
122
122
  "dev": "cross-env USE_SANDBOX=true vite",
@@ -1,3 +0,0 @@
1
- declare const _default: import("../shared/types").PluginFormConfig;
2
- export default _default;
3
- //# sourceMappingURL=basic-auth.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"basic-auth.d.ts","sourceRoot":"","sources":["../../../../../src/components/free-form/plugins/basic-auth.ts"],"names":[],"mappings":";AAEA,wBAOE"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"KeyAuthForm.vue.d.ts","sourceRoot":"","sources":["../../../../../../src/components/free-form/plugins/key-auth/KeyAuthForm.vue"],"names":[],"mappings":"AA+CA,OAAO,EAAiB,kBAAkB,EAAgB,MAAM,uBAAuB,CAAA;AAQvF,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,wCAAwC,CAAA;AAEnE,KAAK,WAAW,GAAG,KAAK,CAAC;AAGzB,KAAK,WAAW,GAAG;KAChB,CAAC,IAAI,OAAO,kBAAkB,GAAG,MAAM,GAAG;CAC5C,CAAC;AAoFF,QAAA,MAAM,UAAU,kSAEd,CAAC;AACH,QAAA,MAAM,YAAY,EAAS,eAAe,CAAC,OAAO,UAAU,EAAE,WAAW,CAAC,CAAC;wBACtD,OAAO,YAAY;AAAxC,wBAAyC;AACzC,KAAK,eAAe,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAChC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KACV,CAAA;CACD,CAAC"}