@kong-ui-public/entities-redis-configurations 1.8.18-pr.2782.db07c11a2.0 → 1.8.19-pr.2781.b1238e65f.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 (64) hide show
  1. package/package.json +8 -8
  2. package/dist/entities-redis-configurations.es.js +0 -4223
  3. package/dist/entities-redis-configurations.umd.js +0 -1
  4. package/dist/style.css +0 -1
  5. package/dist/types/components/CloudAuthFields.vue.d.ts +0 -45
  6. package/dist/types/components/CloudAuthFields.vue.d.ts.map +0 -1
  7. package/dist/types/components/ClusterNodes.vue.d.ts +0 -16
  8. package/dist/types/components/ClusterNodes.vue.d.ts.map +0 -1
  9. package/dist/types/components/DeleteWarningModal.vue.d.ts +0 -18
  10. package/dist/types/components/DeleteWarningModal.vue.d.ts.map +0 -1
  11. package/dist/types/components/FieldArrayCardContainer.vue.d.ts +0 -57
  12. package/dist/types/components/FieldArrayCardContainer.vue.d.ts.map +0 -1
  13. package/dist/types/components/LinkedPluginList.vue.d.ts +0 -70
  14. package/dist/types/components/LinkedPluginList.vue.d.ts.map +0 -1
  15. package/dist/types/components/LinkedPluginListModal.vue.d.ts +0 -50
  16. package/dist/types/components/LinkedPluginListModal.vue.d.ts.map +0 -1
  17. package/dist/types/components/LinkedPluginsInline.vue.d.ts +0 -26
  18. package/dist/types/components/LinkedPluginsInline.vue.d.ts.map +0 -1
  19. package/dist/types/components/PluginItem.vue.d.ts +0 -7
  20. package/dist/types/components/PluginItem.vue.d.ts.map +0 -1
  21. package/dist/types/components/RedisConfigurationConfigCard.vue.d.ts +0 -63
  22. package/dist/types/components/RedisConfigurationConfigCard.vue.d.ts.map +0 -1
  23. package/dist/types/components/RedisConfigurationForm.vue.d.ts +0 -91
  24. package/dist/types/components/RedisConfigurationForm.vue.d.ts.map +0 -1
  25. package/dist/types/components/RedisConfigurationFormModal.vue.d.ts +0 -25
  26. package/dist/types/components/RedisConfigurationFormModal.vue.d.ts.map +0 -1
  27. package/dist/types/components/RedisConfigurationList.vue.d.ts +0 -114
  28. package/dist/types/components/RedisConfigurationList.vue.d.ts.map +0 -1
  29. package/dist/types/components/RedisConfigurationSelector.vue.d.ts +0 -39
  30. package/dist/types/components/RedisConfigurationSelector.vue.d.ts.map +0 -1
  31. package/dist/types/components/SentinelNodes.vue.d.ts +0 -16
  32. package/dist/types/components/SentinelNodes.vue.d.ts.map +0 -1
  33. package/dist/types/composables/index.d.ts +0 -6
  34. package/dist/types/composables/index.d.ts.map +0 -1
  35. package/dist/types/composables/useI18n.d.ts +0 -9
  36. package/dist/types/composables/useI18n.d.ts.map +0 -1
  37. package/dist/types/composables/useLinkedPlugins.d.ts +0 -27
  38. package/dist/types/composables/useLinkedPlugins.d.ts.map +0 -1
  39. package/dist/types/composables/useRedisConfigurationForm.d.ts +0 -231
  40. package/dist/types/composables/useRedisConfigurationForm.d.ts.map +0 -1
  41. package/dist/types/composables/useRedisConfigurationSelector.d.ts +0 -11
  42. package/dist/types/composables/useRedisConfigurationSelector.d.ts.map +0 -1
  43. package/dist/types/composables/useVaultSecretPicker.d.ts +0 -6
  44. package/dist/types/composables/useVaultSecretPicker.d.ts.map +0 -1
  45. package/dist/types/constants.d.ts +0 -7
  46. package/dist/types/constants.d.ts.map +0 -1
  47. package/dist/types/helpers.d.ts +0 -23
  48. package/dist/types/helpers.d.ts.map +0 -1
  49. package/dist/types/index.d.ts +0 -44
  50. package/dist/types/index.d.ts.map +0 -1
  51. package/dist/types/partials-endpoints.d.ts +0 -26
  52. package/dist/types/partials-endpoints.d.ts.map +0 -1
  53. package/dist/types/types/index.d.ts +0 -6
  54. package/dist/types/types/index.d.ts.map +0 -1
  55. package/dist/types/types/redis-configuration-config.d.ts +0 -14
  56. package/dist/types/types/redis-configuration-config.d.ts.map +0 -1
  57. package/dist/types/types/redis-configuration-form.d.ts +0 -73
  58. package/dist/types/types/redis-configuration-form.d.ts.map +0 -1
  59. package/dist/types/types/redis-configuration-linked-plugins.d.ts +0 -11
  60. package/dist/types/types/redis-configuration-linked-plugins.d.ts.map +0 -1
  61. package/dist/types/types/redis-configuration-list.d.ts +0 -31
  62. package/dist/types/types/redis-configuration-list.d.ts.map +0 -1
  63. package/dist/types/types/redis-configuration.d.ts +0 -76
  64. package/dist/types/types/redis-configuration.d.ts.map +0 -1
@@ -1,26 +0,0 @@
1
- import type { PropType } from 'vue';
2
- import type { KongManagerConfig, KonnectConfig } from '@kong-ui-public/entities-shared';
3
- declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
4
- config: {
5
- type: PropType<KonnectConfig | KongManagerConfig>;
6
- required: true;
7
- validator: (config: KonnectConfig | KongManagerConfig) => boolean;
8
- };
9
- partialId: {
10
- type: StringConstructor;
11
- required: true;
12
- };
13
- }>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
14
- config: {
15
- type: PropType<KonnectConfig | KongManagerConfig>;
16
- required: true;
17
- validator: (config: KonnectConfig | KongManagerConfig) => boolean;
18
- };
19
- partialId: {
20
- type: StringConstructor;
21
- required: true;
22
- };
23
- }>> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
24
- declare const _default: typeof __VLS_export;
25
- export default _default;
26
- //# sourceMappingURL=LinkedPluginsInline.vue.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"LinkedPluginsInline.vue.d.ts","sourceRoot":"","sources":["../../../src/components/LinkedPluginsInline.vue"],"names":[],"mappings":"AAuEA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,KAAK,CAAA;AACnC,OAAO,KAAK,EAAE,iBAAiB,EAAE,aAAa,EAAE,MAAM,iCAAiC,CAAA;AA2FvF,QAAA,MAAM,YAAY;;cAGE,QAAQ,CAAC,aAAa,GAAG,iBAAiB,CAAC;;4BAEvC,aAAa,GAAG,iBAAiB;;;;;;;;cAFrC,QAAQ,CAAC,aAAa,GAAG,iBAAiB,CAAC;;4BAEvC,aAAa,GAAG,iBAAiB;;;;;;iGAYvD,CAAC;wBACkB,OAAO,YAAY;AAAxC,wBAAyC"}
@@ -1,7 +0,0 @@
1
- type __VLS_Props = {
2
- pluginName: string;
3
- };
4
- declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
5
- declare const _default: typeof __VLS_export;
6
- export default _default;
7
- //# sourceMappingURL=PluginItem.vue.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"PluginItem.vue.d.ts","sourceRoot":"","sources":["../../../src/components/PluginItem.vue"],"names":[],"mappings":"AA8BA,KAAK,WAAW,GAAG;IACjB,UAAU,EAAE,MAAM,CAAA;CACnB,CAAC;AA6CF,QAAA,MAAM,YAAY,kSAEhB,CAAC;wBACkB,OAAO,YAAY;AAAxC,wBAAyC"}
@@ -1,63 +0,0 @@
1
- import type { PropType } from 'vue';
2
- import type { AxiosError } from 'axios';
3
- import type { KonnectRedisConfigurationEntityConfig, KongManagerRedisConfigurationEntityConfig, RedisConfigurationResponse } from '../types';
4
- import '@kong-ui-public/entities-shared/dist/style.css';
5
- declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
6
- /** The base konnect or kongManger config. Pass additional config props in the shared entity component as needed. */
7
- config: {
8
- type: PropType<KonnectRedisConfigurationEntityConfig | KongManagerRedisConfigurationEntityConfig>;
9
- required: true;
10
- validator: (config: KonnectRedisConfigurationEntityConfig | KongManagerRedisConfigurationEntityConfig) => boolean;
11
- };
12
- /**
13
- * External link for documentation that determines visibility of Documentation button
14
- */
15
- configCardDoc: {
16
- type: StringConstructor;
17
- default: string;
18
- required: false;
19
- };
20
- /**
21
- * Control visibility of card title content
22
- */
23
- hideTitle: {
24
- type: BooleanConstructor;
25
- default: boolean;
26
- };
27
- }>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
28
- loading: (isLoading: boolean) => any;
29
- "fetch:success": (data: RedisConfigurationResponse) => any;
30
- "fetch:error": (error: AxiosError<unknown, any>) => any;
31
- }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
32
- /** The base konnect or kongManger config. Pass additional config props in the shared entity component as needed. */
33
- config: {
34
- type: PropType<KonnectRedisConfigurationEntityConfig | KongManagerRedisConfigurationEntityConfig>;
35
- required: true;
36
- validator: (config: KonnectRedisConfigurationEntityConfig | KongManagerRedisConfigurationEntityConfig) => boolean;
37
- };
38
- /**
39
- * External link for documentation that determines visibility of Documentation button
40
- */
41
- configCardDoc: {
42
- type: StringConstructor;
43
- default: string;
44
- required: false;
45
- };
46
- /**
47
- * Control visibility of card title content
48
- */
49
- hideTitle: {
50
- type: BooleanConstructor;
51
- default: boolean;
52
- };
53
- }>> & Readonly<{
54
- onLoading?: ((isLoading: boolean) => any) | undefined;
55
- "onFetch:success"?: ((data: RedisConfigurationResponse) => any) | undefined;
56
- "onFetch:error"?: ((error: AxiosError<unknown, any>) => any) | undefined;
57
- }>, {
58
- configCardDoc: string;
59
- hideTitle: boolean;
60
- }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
61
- declare const _default: typeof __VLS_export;
62
- export default _default;
63
- //# sourceMappingURL=RedisConfigurationConfigCard.vue.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"RedisConfigurationConfigCard.vue.d.ts","sourceRoot":"","sources":["../../../src/components/RedisConfigurationConfigCard.vue"],"names":[],"mappings":"AAqbA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,KAAK,CAAA;AAEnC,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,OAAO,CAAA;AAQvC,OAAO,KAAK,EACV,qCAAqC,EACrC,yCAAyC,EACzC,0BAA0B,EAE3B,MAAM,UAAU,CAAA;AAGjB,OAAO,gDAAgD,CAAA;AAgevD,QAAA,MAAM,YAAY;IAGhB,oHAAoH;;cAElG,QAAQ,CAAC,qCAAqC,GAAG,yCAAyC,CAAC;;4BAEvF,qCAAqC,GAAG,yCAAyC,KAAG,OAAO;;IAQjH;;OAEG;;;;;;IAMH;;OAEG;;;;;;;;;;IAtBH,oHAAoH;;cAElG,QAAQ,CAAC,qCAAqC,GAAG,yCAAyC,CAAC;;4BAEvF,qCAAqC,GAAG,yCAAyC,KAAG,OAAO;;IAQjH;;OAEG;;;;;;IAMH;;OAEG;;;;;;;;;;;;4EAMH,CAAC;wBACkB,OAAO,YAAY;AAAxC,wBAAyC"}
@@ -1,91 +0,0 @@
1
- import '@kong-ui-public/entities-shared/dist/style.css';
2
- import '@kong-ui-public/entities-vaults/dist/style.css';
3
- import { PartialType } from '../types';
4
- import type { PropType } from 'vue';
5
- import type { KongManagerRedisConfigurationFormConfig, KonnectRedisConfigurationFormConfig, RedisConfigurationResponse } from '../types';
6
- import type { AxiosError } from 'axios';
7
- declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
8
- config: {
9
- type: PropType<KonnectRedisConfigurationFormConfig | KongManagerRedisConfigurationFormConfig>;
10
- required: true;
11
- validator: (config: KonnectRedisConfigurationFormConfig | KongManagerRedisConfigurationFormConfig) => boolean;
12
- };
13
- /** If a valid partialId is provided, it will put the form in Edit mode instead of Create */
14
- partialId: {
15
- type: StringConstructor;
16
- required: false;
17
- default: string;
18
- };
19
- /**
20
- * Teleport target for the actions
21
- */
22
- actionTeleportTarget: {
23
- type: StringConstructor;
24
- default: null;
25
- };
26
- /**
27
- * Top offset for the slideout
28
- */
29
- slidoutTopOffset: {
30
- type: NumberConstructor;
31
- default: number;
32
- };
33
- /**
34
- * Set disabled partial type, only for create mode
35
- */
36
- disabledPartialType: {
37
- type: PropType<PartialType>;
38
- default: string;
39
- };
40
- }>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
41
- loading: (isLoading: boolean) => any;
42
- error: (error: AxiosError<unknown, any>) => any;
43
- update: (data: RedisConfigurationResponse) => any;
44
- cancel: () => any;
45
- }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
46
- config: {
47
- type: PropType<KonnectRedisConfigurationFormConfig | KongManagerRedisConfigurationFormConfig>;
48
- required: true;
49
- validator: (config: KonnectRedisConfigurationFormConfig | KongManagerRedisConfigurationFormConfig) => boolean;
50
- };
51
- /** If a valid partialId is provided, it will put the form in Edit mode instead of Create */
52
- partialId: {
53
- type: StringConstructor;
54
- required: false;
55
- default: string;
56
- };
57
- /**
58
- * Teleport target for the actions
59
- */
60
- actionTeleportTarget: {
61
- type: StringConstructor;
62
- default: null;
63
- };
64
- /**
65
- * Top offset for the slideout
66
- */
67
- slidoutTopOffset: {
68
- type: NumberConstructor;
69
- default: number;
70
- };
71
- /**
72
- * Set disabled partial type, only for create mode
73
- */
74
- disabledPartialType: {
75
- type: PropType<PartialType>;
76
- default: string;
77
- };
78
- }>> & Readonly<{
79
- onLoading?: ((isLoading: boolean) => any) | undefined;
80
- onError?: ((error: AxiosError<unknown, any>) => any) | undefined;
81
- onUpdate?: ((data: RedisConfigurationResponse) => any) | undefined;
82
- onCancel?: (() => any) | undefined;
83
- }>, {
84
- partialId: string;
85
- actionTeleportTarget: string;
86
- slidoutTopOffset: number;
87
- disabledPartialType: PartialType;
88
- }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
89
- declare const _default: typeof __VLS_export;
90
- export default _default;
91
- //# sourceMappingURL=RedisConfigurationForm.vue.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"RedisConfigurationForm.vue.d.ts","sourceRoot":"","sources":["../../../src/components/RedisConfigurationForm.vue"],"names":[],"mappings":"AA8uBA,OAAO,gDAAgD,CAAA;AACvD,OAAO,gDAAgD,CAAA;AAMvD,OAAO,EAAa,WAAW,EAAgB,MAAM,UAAU,CAAA;AAW/D,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,KAAK,CAAA;AACnC,OAAO,KAAK,EACV,uCAAuC,EACvC,mCAAmC,EACnC,0BAA0B,EAC3B,MAAM,UAAU,CAAA;AACjB,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,OAAO,CAAA;AAu/CvC,QAAA,MAAM,YAAY;;cAIE,QAAQ,CAAC,mCAAmC,GAAG,uCAAuC,CAAC;;4BAEnF,mCAAmC,GAAG,uCAAuC;;IAOnG,4FAA4F;;;;;;IAM5F;;OAEG;;;;;IAKH;;OAEG;;;;;IAKH;;OAEG;;cAEe,QAAQ,CAAC,WAAW,CAAC;;;;;;;;;;cAjCrB,QAAQ,CAAC,mCAAmC,GAAG,uCAAuC,CAAC;;4BAEnF,mCAAmC,GAAG,uCAAuC;;IAOnG,4FAA4F;;;;;;IAM5F;;OAEG;;;;;IAKH;;OAEG;;;;;IAKH;;OAEG;;cAEe,QAAQ,CAAC,WAAW,CAAC;;;;;;;;;;;;;4EAIvC,CAAC;wBACkB,OAAO,YAAY;AAAxC,wBAAyC"}
@@ -1,25 +0,0 @@
1
- import { type RedisConfigurationResponse } from '../types';
2
- export interface RedisConfigurationFormModalProps {
3
- /** Whether the modal is visible */
4
- visible: boolean;
5
- /** The partial type to create */
6
- partialType?: 'redis-ce' | 'redis-ee';
7
- }
8
- declare const __VLS_export: import("vue").DefineComponent<RedisConfigurationFormModalProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
9
- created: (data: RedisConfigurationResponse) => any;
10
- toast: (payload: {
11
- message: string;
12
- appearance: "success" | "danger";
13
- }) => any;
14
- "modal-close": () => any;
15
- }, string, import("vue").PublicProps, Readonly<RedisConfigurationFormModalProps> & Readonly<{
16
- onCreated?: ((data: RedisConfigurationResponse) => any) | undefined;
17
- onToast?: ((payload: {
18
- message: string;
19
- appearance: "success" | "danger";
20
- }) => any) | undefined;
21
- "onModal-close"?: (() => any) | undefined;
22
- }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
23
- declare const _default: typeof __VLS_export;
24
- export default _default;
25
- //# sourceMappingURL=RedisConfigurationFormModal.vue.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"RedisConfigurationFormModal.vue.d.ts","sourceRoot":"","sources":["../../../src/components/RedisConfigurationFormModal.vue"],"names":[],"mappings":"AA2JA,OAAO,EAAe,KAAK,0BAA0B,EAAE,MAAM,UAAU,CAAA;AAMvE,MAAM,WAAW,gCAAgC;IAC/C,mCAAmC;IACnC,OAAO,EAAE,OAAO,CAAA;IAChB,iCAAiC;IACjC,WAAW,CAAC,EAAE,UAAU,GAAG,UAAU,CAAA;CACtC;AAmMD,QAAA,MAAM,YAAY;;;iBAzLc,MAAM;oBAAc,SAAS,GAAG,QAAQ;;;;;;iBAAxC,MAAM;oBAAc,SAAS,GAAG,QAAQ;;;kFA4LtE,CAAC;wBACkB,OAAO,YAAY;AAAxC,wBAAyC"}
@@ -1,114 +0,0 @@
1
- import type { PropType } from 'vue';
2
- import type { KonnectRedisConfigurationListConfig, KongManagerRedisConfigurationListConfig, EntityRow, CopyEventPayload } from '../types';
3
- import type { AxiosError } from 'axios';
4
- declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
5
- /** The base konnect or kongManger config. Pass additional config props in the shared entity component as needed. */
6
- config: {
7
- type: PropType<KonnectRedisConfigurationListConfig | KongManagerRedisConfigurationListConfig>;
8
- required: true;
9
- validator: (config: KonnectRedisConfigurationListConfig | KongManagerRedisConfigurationListConfig) => boolean;
10
- };
11
- cacheIdentifier: {
12
- type: StringConstructor;
13
- default: string;
14
- };
15
- /** A synchronous or asynchronous function, that returns a boolean, that evaluates if the user can create a new entity */
16
- canCreate: {
17
- type: PropType<() => boolean | Promise<boolean>>;
18
- required: false;
19
- default: () => Promise<boolean>;
20
- };
21
- /** A synchronous or asynchronous function, that returns a boolean, that evaluates if the user can delete a given entity */
22
- canDelete: {
23
- type: PropType<(row: EntityRow) => boolean | Promise<boolean>>;
24
- required: false;
25
- default: () => Promise<boolean>;
26
- };
27
- /** A synchronous or asynchronous function, that returns a boolean, that evaluates if the user can edit a given entity */
28
- canEdit: {
29
- type: PropType<(row: EntityRow) => boolean | Promise<boolean>>;
30
- required: false;
31
- default: () => Promise<boolean>;
32
- };
33
- /** A synchronous or asynchronous function, that returns a boolean, that evaluates if the user can retrieve (view details) a given entity */
34
- canRetrieve: {
35
- type: PropType<(row: EntityRow) => boolean | Promise<boolean>>;
36
- required: false;
37
- default: () => Promise<boolean>;
38
- };
39
- /** default to false, setting to true will teleport the toolbar button to the destination in the consuming app */
40
- useActionOutside: {
41
- type: BooleanConstructor;
42
- default: boolean;
43
- };
44
- }>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
45
- error: (error: AxiosError<unknown, any>) => any;
46
- "click:learn-more": () => any;
47
- "click:plugin": (param: {
48
- id: string;
49
- plugin: string;
50
- }) => any;
51
- "copy:error": (payload: CopyEventPayload) => any;
52
- "copy:success": (payload: CopyEventPayload) => any;
53
- "delete:success": (key: EntityRow) => any;
54
- }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
55
- /** The base konnect or kongManger config. Pass additional config props in the shared entity component as needed. */
56
- config: {
57
- type: PropType<KonnectRedisConfigurationListConfig | KongManagerRedisConfigurationListConfig>;
58
- required: true;
59
- validator: (config: KonnectRedisConfigurationListConfig | KongManagerRedisConfigurationListConfig) => boolean;
60
- };
61
- cacheIdentifier: {
62
- type: StringConstructor;
63
- default: string;
64
- };
65
- /** A synchronous or asynchronous function, that returns a boolean, that evaluates if the user can create a new entity */
66
- canCreate: {
67
- type: PropType<() => boolean | Promise<boolean>>;
68
- required: false;
69
- default: () => Promise<boolean>;
70
- };
71
- /** A synchronous or asynchronous function, that returns a boolean, that evaluates if the user can delete a given entity */
72
- canDelete: {
73
- type: PropType<(row: EntityRow) => boolean | Promise<boolean>>;
74
- required: false;
75
- default: () => Promise<boolean>;
76
- };
77
- /** A synchronous or asynchronous function, that returns a boolean, that evaluates if the user can edit a given entity */
78
- canEdit: {
79
- type: PropType<(row: EntityRow) => boolean | Promise<boolean>>;
80
- required: false;
81
- default: () => Promise<boolean>;
82
- };
83
- /** A synchronous or asynchronous function, that returns a boolean, that evaluates if the user can retrieve (view details) a given entity */
84
- canRetrieve: {
85
- type: PropType<(row: EntityRow) => boolean | Promise<boolean>>;
86
- required: false;
87
- default: () => Promise<boolean>;
88
- };
89
- /** default to false, setting to true will teleport the toolbar button to the destination in the consuming app */
90
- useActionOutside: {
91
- type: BooleanConstructor;
92
- default: boolean;
93
- };
94
- }>> & Readonly<{
95
- onError?: ((error: AxiosError<unknown, any>) => any) | undefined;
96
- "onClick:learn-more"?: (() => any) | undefined;
97
- "onClick:plugin"?: ((param: {
98
- id: string;
99
- plugin: string;
100
- }) => any) | undefined;
101
- "onCopy:error"?: ((payload: CopyEventPayload) => any) | undefined;
102
- "onCopy:success"?: ((payload: CopyEventPayload) => any) | undefined;
103
- "onDelete:success"?: ((key: EntityRow) => any) | undefined;
104
- }>, {
105
- cacheIdentifier: string;
106
- canCreate: () => boolean | Promise<boolean>;
107
- canDelete: (row: EntityRow) => boolean | Promise<boolean>;
108
- canEdit: (row: EntityRow) => boolean | Promise<boolean>;
109
- canRetrieve: (row: EntityRow) => boolean | Promise<boolean>;
110
- useActionOutside: boolean;
111
- }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
112
- declare const _default: typeof __VLS_export;
113
- export default _default;
114
- //# sourceMappingURL=RedisConfigurationList.vue.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"RedisConfigurationList.vue.d.ts","sourceRoot":"","sources":["../../../src/components/RedisConfigurationList.vue"],"names":[],"mappings":"AA+iBA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,KAAK,CAAA;AACnC,OAAO,KAAK,EACV,mCAAmC,EACnC,uCAAuC,EACvC,SAAS,EAET,gBAAgB,EAEjB,MAAM,UAAU,CAAA;AAEjB,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,OAAO,CAAA;AAs6BvC,QAAA,MAAM,YAAY;IAGhB,oHAAoH;;cAElG,QAAQ,CAAC,mCAAmC,GAAG,uCAAuC,CAAC;;4BAEnF,mCAAmC,GAAG,uCAAuC,KAAG,OAAO;;;;;;IAW7G,yHAAyH;;cAErG,QAAQ,CAAC,MAAM,OAAO,GAAG,OAAO,CAAC,OAAO,CAAC,CAAC;;;;IAI9D,2HAA2H;;cAEvG,QAAQ,CAAC,CAAC,GAAG,EAAE,SAAS,KAAK,OAAO,GAAG,OAAO,CAAC,OAAO,CAAC,CAAC;;;;IAI5E,yHAAyH;;cAErG,QAAQ,CAAC,CAAC,GAAG,EAAE,SAAS,KAAK,OAAO,GAAG,OAAO,CAAC,OAAO,CAAC,CAAC;;;;IAI5E,4IAA4I;;cAExH,QAAQ,CAAC,CAAC,GAAG,EAAE,SAAS,KAAK,OAAO,GAAG,OAAO,CAAC,OAAO,CAAC,CAAC;;;;IAI5E,iHAAiH;;;;;;;;;YA38BhF,MAAM;gBAAU,MAAM;;;;;;IAo6BvD,oHAAoH;;cAElG,QAAQ,CAAC,mCAAmC,GAAG,uCAAuC,CAAC;;4BAEnF,mCAAmC,GAAG,uCAAuC,KAAG,OAAO;;;;;;IAW7G,yHAAyH;;cAErG,QAAQ,CAAC,MAAM,OAAO,GAAG,OAAO,CAAC,OAAO,CAAC,CAAC;;;;IAI9D,2HAA2H;;cAEvG,QAAQ,CAAC,CAAC,GAAG,EAAE,SAAS,KAAK,OAAO,GAAG,OAAO,CAAC,OAAO,CAAC,CAAC;;;;IAI5E,yHAAyH;;cAErG,QAAQ,CAAC,CAAC,GAAG,EAAE,SAAS,KAAK,OAAO,GAAG,OAAO,CAAC,OAAO,CAAC,CAAC;;;;IAI5E,4IAA4I;;cAExH,QAAQ,CAAC,CAAC,GAAG,EAAE,SAAS,KAAK,OAAO,GAAG,OAAO,CAAC,OAAO,CAAC,CAAC;;;;IAI5E,iHAAiH;;;;;;;;;YA38BhF,MAAM;gBAAU,MAAM;;;;;;;qBAq7BpB,OAAO,GAAG,OAAO,CAAC,OAAO,CAAC;qBAM1B,SAAS,KAAK,OAAO,GAAG,OAAO,CAAC,OAAO,CAAC;mBAMxC,SAAS,KAAK,OAAO,GAAG,OAAO,CAAC,OAAO,CAAC;uBAMxC,SAAS,KAAK,OAAO,GAAG,OAAO,CAAC,OAAO,CAAC;;4EAU3E,CAAC;wBACkB,OAAO,YAAY;AAAxC,wBAAyC"}
@@ -1,39 +0,0 @@
1
- import type { SelectItem } from '@kong/kongponents';
2
- type __VLS_Props = {
3
- /** The selected redis configuration ID */
4
- modelValue?: string;
5
- /** Redis type filter: 'redis-ce', 'redis-ee' */
6
- redisType?: 'redis-ce' | 'redis-ee';
7
- /** Placeholder text for the selector */
8
- placeholder?: string;
9
- /** Text to show when no items are available */
10
- emptyStateText?: string;
11
- /** Whether to show the create new configuration button */
12
- showCreateButton?: boolean;
13
- /** Text for the create new configuration button */
14
- createButtonText?: string;
15
- };
16
- declare const __VLS_export: import("vue").DefineComponent<__VLS_Props, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
17
- "update:modelValue": (value: string | undefined) => any;
18
- change: (item: SelectItem<string | number> | null) => any;
19
- toast: (payload: {
20
- message: string;
21
- appearance: "success" | "danger";
22
- }) => any;
23
- "modal-close": () => any;
24
- "create-new": () => any;
25
- "error-change": (error: Error | null) => any;
26
- }, string, import("vue").PublicProps, Readonly<__VLS_Props> & Readonly<{
27
- "onUpdate:modelValue"?: ((value: string | undefined) => any) | undefined;
28
- onChange?: ((item: SelectItem<string | number> | null) => any) | undefined;
29
- onToast?: ((payload: {
30
- message: string;
31
- appearance: "success" | "danger";
32
- }) => any) | undefined;
33
- "onModal-close"?: (() => any) | undefined;
34
- "onCreate-new"?: (() => any) | undefined;
35
- "onError-change"?: ((error: Error | null) => any) | undefined;
36
- }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
37
- declare const _default: typeof __VLS_export;
38
- export default _default;
39
- //# sourceMappingURL=RedisConfigurationSelector.vue.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"RedisConfigurationSelector.vue.d.ts","sourceRoot":"","sources":["../../../src/components/RedisConfigurationSelector.vue"],"names":[],"mappings":"AAyMA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,mBAAmB,CAAA;AAUnD,KAAK,WAAW,GAAG;IACjB,0CAA0C;IAC1C,UAAU,CAAC,EAAE,MAAM,CAAA;IACnB,gDAAgD;IAChD,SAAS,CAAC,EAAE,UAAU,GAAG,UAAU,CAAA;IACnC,wCAAwC;IACxC,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,+CAA+C;IAC/C,cAAc,CAAC,EAAE,MAAM,CAAA;IACvB,0DAA0D;IAC1D,gBAAgB,CAAC,EAAE,OAAO,CAAA;IAC1B,mDAAmD;IACnD,gBAAgB,CAAC,EAAE,MAAM,CAAA;CAC1B,CAAC;AAiQF,QAAA,MAAM,YAAY;;;;iBAjPc,MAAM;oBAAc,SAAS,GAAG,QAAQ;;;;;;;;;iBAAxC,MAAM;oBAAc,SAAS,GAAG,QAAQ;;;;;kFAoPtE,CAAC;wBACkB,OAAO,YAAY;AAAxC,wBAAyC"}
@@ -1,16 +0,0 @@
1
- import type { Identifiable, SentinelNode } from '../types';
2
- type __VLS_Props = {
3
- readonly?: boolean;
4
- };
5
- type __VLS_ModelProps = {
6
- modelValue: Array<Identifiable<SentinelNode>>;
7
- };
8
- type __VLS_PublicProps = __VLS_Props & __VLS_ModelProps;
9
- declare const __VLS_export: import("vue").DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
10
- "update:modelValue": (value: Identifiable<SentinelNode>[]) => any;
11
- }, string, import("vue").PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
12
- "onUpdate:modelValue"?: ((value: Identifiable<SentinelNode>[]) => any) | undefined;
13
- }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, false, {}, any>;
14
- declare const _default: typeof __VLS_export;
15
- export default _default;
16
- //# sourceMappingURL=SentinelNodes.vue.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"SentinelNodes.vue.d.ts","sourceRoot":"","sources":["../../../src/components/SentinelNodes.vue"],"names":[],"mappings":"AA8FA,OAAO,KAAK,EAAE,YAAY,EAAE,YAAY,EAAE,MAAM,UAAU,CAAA;AAG1D,KAAK,WAAW,GAAG;IACjB,QAAQ,CAAC,EAAE,OAAO,CAAA;CACnB,CAAC;AAgBF,KAAK,gBAAgB,GAAG;IACxB,UAAU,EAAE,KAAK,CAAC,YAAY,CAAC,YAAY,CAAC,CAAC,CAAC;CAC7C,CAAC;AAKF,KAAK,iBAAiB,GAAG,WAAW,GAAG,gBAAgB,CAAC;AAiLxD,QAAA,MAAM,YAAY;;;;kFAGhB,CAAC;wBACkB,OAAO,YAAY;AAAxC,wBAAyC"}
@@ -1,6 +0,0 @@
1
- import useI18n from './useI18n';
2
- declare const _default: {
3
- useI18n: typeof useI18n;
4
- };
5
- export default _default;
6
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/composables/index.ts"],"names":[],"mappings":"AAAA,OAAO,OAAO,MAAM,WAAW,CAAA;;;;AAG/B,wBAEC"}
@@ -1,9 +0,0 @@
1
- import { createI18n, i18nTComponent } from '@kong-ui-public/i18n';
2
- import english from '../locales/en.json';
3
- interface UseI18nReturn {
4
- i18n: ReturnType<typeof createI18n<typeof english>>;
5
- i18nT: ReturnType<typeof i18nTComponent<typeof english>>;
6
- }
7
- export default function useI18n(): UseI18nReturn;
8
- export {};
9
- //# sourceMappingURL=useI18n.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"useI18n.d.ts","sourceRoot":"","sources":["../../../src/composables/useI18n.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,cAAc,EAAE,MAAM,sBAAsB,CAAA;AACjE,OAAO,OAAO,MAAM,oBAAoB,CAAA;AAExC,UAAU,aAAa;IACrB,IAAI,EAAE,UAAU,CAAC,OAAO,UAAU,CAAC,OAAO,OAAO,CAAC,CAAC,CAAA;IACnD,KAAK,EAAE,UAAU,CAAC,OAAO,cAAc,CAAC,OAAO,OAAO,CAAC,CAAC,CAAA;CACzD;AAED,MAAM,CAAC,OAAO,UAAU,OAAO,IAAI,aAAa,CAO/C"}
@@ -1,27 +0,0 @@
1
- import { type KongManagerConfig, type KonnectConfig } from '@kong-ui-public/entities-shared';
2
- import type { RedisConfigurationLinkedPluginsResponse } from '../types';
3
- type RequestParams = {
4
- partialId: string;
5
- size?: number;
6
- offset?: string | null;
7
- query?: string;
8
- };
9
- export declare function buildLinksCacheKey(partialId: string): string;
10
- export declare const useLinkedPluginsFetcher: (config: KonnectConfig | KongManagerConfig) => {
11
- fetcher: (params: RequestParams) => Promise<RedisConfigurationLinkedPluginsResponse>;
12
- };
13
- export declare const useLinkedPlugins: (param: {
14
- partialId: string;
15
- config: KonnectConfig | KongManagerConfig;
16
- requestParams?: RequestParams;
17
- }) => import("vue").Ref<{
18
- id: string;
19
- name: string;
20
- instance_name?: string | undefined;
21
- }[], import("..").RedisConfigurationLinkedPlugin[] | {
22
- id: string;
23
- name: string;
24
- instance_name?: string | undefined;
25
- }[]>;
26
- export {};
27
- //# sourceMappingURL=useLinkedPlugins.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"useLinkedPlugins.d.ts","sourceRoot":"","sources":["../../../src/composables/useLinkedPlugins.ts"],"names":[],"mappings":"AAAA,OAAO,EAAY,KAAK,iBAAiB,EAAE,KAAK,aAAa,EAAE,MAAM,iCAAiC,CAAA;AAMtG,OAAO,KAAK,EAAE,uCAAuC,EAAE,MAAM,UAAU,CAAA;AAEvE,KAAK,aAAa,GAAG;IACnB,SAAS,EAAE,MAAM,CAAA;IACjB,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,MAAM,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;IACtB,KAAK,CAAC,EAAE,MAAM,CAAA;CACf,CAAA;AAED,wBAAgB,kBAAkB,CAAC,SAAS,EAAE,MAAM,UAEnD;AAED,eAAO,MAAM,uBAAuB,GAAI,QAAQ,aAAa,GAAG,iBAAiB;sBAIrD,aAAa;CAwBxC,CAAA;AAED,eAAO,MAAM,gBAAgB,GAAI,OAAO;IACtC,SAAS,EAAE,MAAM,CAAA;IACjB,MAAM,EAAE,aAAa,GAAG,iBAAiB,CAAA;IACzC,aAAa,CAAC,EAAE,aAAa,CAAA;CAC9B;;;;;;;;IAkBA,CAAA"}