@kong-ui-public/entities-shared 3.33.1 → 3.33.2-pr.2609.f4d92e2e4.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 (104) hide show
  1. package/package.json +1 -1
  2. package/dist/entities-shared.es.js +0 -4729
  3. package/dist/entities-shared.umd.js +0 -54
  4. package/dist/style.css +0 -1
  5. package/dist/types/components/common/JsonCodeBlock.vue.d.ts +0 -58
  6. package/dist/types/components/common/JsonCodeBlock.vue.d.ts.map +0 -1
  7. package/dist/types/components/common/TableTags.vue.d.ts +0 -26
  8. package/dist/types/components/common/TableTags.vue.d.ts.map +0 -1
  9. package/dist/types/components/common/TerraformCodeBlock.vue.d.ts +0 -46
  10. package/dist/types/components/common/TerraformCodeBlock.vue.d.ts.map +0 -1
  11. package/dist/types/components/common/YamlCodeBlock.vue.d.ts +0 -16
  12. package/dist/types/components/common/YamlCodeBlock.vue.d.ts.map +0 -1
  13. package/dist/types/components/entity-base-config-card/ConfigCardDisplay.vue.d.ts +0 -151
  14. package/dist/types/components/entity-base-config-card/ConfigCardDisplay.vue.d.ts.map +0 -1
  15. package/dist/types/components/entity-base-config-card/ConfigCardItem.vue.d.ts +0 -116
  16. package/dist/types/components/entity-base-config-card/ConfigCardItem.vue.d.ts.map +0 -1
  17. package/dist/types/components/entity-base-config-card/EntityBaseConfigCard.vue.d.ts +0 -284
  18. package/dist/types/components/entity-base-config-card/EntityBaseConfigCard.vue.d.ts.map +0 -1
  19. package/dist/types/components/entity-base-config-card/InternalLinkItem.vue.d.ts +0 -19
  20. package/dist/types/components/entity-base-config-card/InternalLinkItem.vue.d.ts.map +0 -1
  21. package/dist/types/components/entity-base-config-card/JsonCardItem.vue.d.ts +0 -34
  22. package/dist/types/components/entity-base-config-card/JsonCardItem.vue.d.ts.map +0 -1
  23. package/dist/types/components/entity-base-config-card/StatusBadge.vue.d.ts +0 -15
  24. package/dist/types/components/entity-base-config-card/StatusBadge.vue.d.ts.map +0 -1
  25. package/dist/types/components/entity-base-form/EntityBaseForm.vue.d.ts +0 -288
  26. package/dist/types/components/entity-base-form/EntityBaseForm.vue.d.ts.map +0 -1
  27. package/dist/types/components/entity-base-table/EntityBaseTable.vue.d.ts +0 -325
  28. package/dist/types/components/entity-base-table/EntityBaseTable.vue.d.ts.map +0 -1
  29. package/dist/types/components/entity-base-table/EntityBaseTableCell.vue.d.ts +0 -44
  30. package/dist/types/components/entity-base-table/EntityBaseTableCell.vue.d.ts.map +0 -1
  31. package/dist/types/components/entity-delete-modal/EntityDeleteModal.vue.d.ts +0 -96
  32. package/dist/types/components/entity-delete-modal/EntityDeleteModal.vue.d.ts.map +0 -1
  33. package/dist/types/components/entity-empty-state/EntityEmptyState.vue.d.ts +0 -116
  34. package/dist/types/components/entity-empty-state/EntityEmptyState.vue.d.ts.map +0 -1
  35. package/dist/types/components/entity-filter/EntityFilter.vue.d.ts +0 -37
  36. package/dist/types/components/entity-filter/EntityFilter.vue.d.ts.map +0 -1
  37. package/dist/types/components/entity-form-block/EntityFormBlock.vue.d.ts +0 -20
  38. package/dist/types/components/entity-form-block/EntityFormBlock.vue.d.ts.map +0 -1
  39. package/dist/types/components/entity-form-section/EntityFormSection.vue.d.ts +0 -76
  40. package/dist/types/components/entity-form-section/EntityFormSection.vue.d.ts.map +0 -1
  41. package/dist/types/components/entity-link/EntityLink.vue.d.ts +0 -49
  42. package/dist/types/components/entity-link/EntityLink.vue.d.ts.map +0 -1
  43. package/dist/types/components/entity-toggle-modal/EntityToggleModal.vue.d.ts +0 -64
  44. package/dist/types/components/entity-toggle-modal/EntityToggleModal.vue.d.ts.map +0 -1
  45. package/dist/types/components/icons/IconFilter.vue.d.ts +0 -15
  46. package/dist/types/components/icons/IconFilter.vue.d.ts.map +0 -1
  47. package/dist/types/components/permissions-wrapper/PermissionsWrapper.vue.d.ts +0 -55
  48. package/dist/types/components/permissions-wrapper/PermissionsWrapper.vue.d.ts.map +0 -1
  49. package/dist/types/composables/index.d.ts +0 -39
  50. package/dist/types/composables/index.d.ts.map +0 -1
  51. package/dist/types/composables/useAxios.d.ts +0 -5
  52. package/dist/types/composables/useAxios.d.ts.map +0 -1
  53. package/dist/types/composables/useDebouncedFilter.d.ts +0 -11
  54. package/dist/types/composables/useDebouncedFilter.d.ts.map +0 -1
  55. package/dist/types/composables/useDeleteUrlBuilder.d.ts +0 -3
  56. package/dist/types/composables/useDeleteUrlBuilder.d.ts.map +0 -1
  57. package/dist/types/composables/useErrors.d.ts +0 -11
  58. package/dist/types/composables/useErrors.d.ts.map +0 -1
  59. package/dist/types/composables/useExternalLinkCreator.d.ts +0 -2
  60. package/dist/types/composables/useExternalLinkCreator.d.ts.map +0 -1
  61. package/dist/types/composables/useFetchUrlBuilder.d.ts +0 -6
  62. package/dist/types/composables/useFetchUrlBuilder.d.ts.map +0 -1
  63. package/dist/types/composables/useFetcher.d.ts +0 -40
  64. package/dist/types/composables/useFetcher.d.ts.map +0 -1
  65. package/dist/types/composables/useGatewayFeatureSupported.d.ts +0 -11
  66. package/dist/types/composables/useGatewayFeatureSupported.d.ts.map +0 -1
  67. package/dist/types/composables/useHelpers.d.ts +0 -7
  68. package/dist/types/composables/useHelpers.d.ts.map +0 -1
  69. package/dist/types/composables/useI18n.d.ts +0 -9
  70. package/dist/types/composables/useI18n.d.ts.map +0 -1
  71. package/dist/types/composables/useSchema.d.ts +0 -11
  72. package/dist/types/composables/useSchema.d.ts.map +0 -1
  73. package/dist/types/composables/useStringHelpers.d.ts +0 -5
  74. package/dist/types/composables/useStringHelpers.d.ts.map +0 -1
  75. package/dist/types/composables/useTableState.d.ts +0 -15
  76. package/dist/types/composables/useTableState.d.ts.map +0 -1
  77. package/dist/types/composables/useTruncationDetector.d.ts +0 -12
  78. package/dist/types/composables/useTruncationDetector.d.ts.map +0 -1
  79. package/dist/types/composables/useValidators.d.ts +0 -8
  80. package/dist/types/composables/useValidators.d.ts.map +0 -1
  81. package/dist/types/index.d.ts +0 -25
  82. package/dist/types/index.d.ts.map +0 -1
  83. package/dist/types/types/app-config.d.ts +0 -35
  84. package/dist/types/types/app-config.d.ts.map +0 -1
  85. package/dist/types/types/base.d.ts +0 -12
  86. package/dist/types/types/base.d.ts.map +0 -1
  87. package/dist/types/types/entity-base-config-card.d.ts +0 -112
  88. package/dist/types/types/entity-base-config-card.d.ts.map +0 -1
  89. package/dist/types/types/entity-base-form.d.ts +0 -19
  90. package/dist/types/types/entity-base-form.d.ts.map +0 -1
  91. package/dist/types/types/entity-base-table.d.ts +0 -79
  92. package/dist/types/types/entity-base-table.d.ts.map +0 -1
  93. package/dist/types/types/entity-delete-modal.d.ts +0 -28
  94. package/dist/types/types/entity-delete-modal.d.ts.map +0 -1
  95. package/dist/types/types/entity-empty-state.d.ts +0 -7
  96. package/dist/types/types/entity-empty-state.d.ts.map +0 -1
  97. package/dist/types/types/entity-filter.d.ts +0 -46
  98. package/dist/types/types/entity-filter.d.ts.map +0 -1
  99. package/dist/types/types/entity-link.d.ts +0 -6
  100. package/dist/types/types/entity-link.d.ts.map +0 -1
  101. package/dist/types/types/index.d.ts +0 -11
  102. package/dist/types/types/index.d.ts.map +0 -1
  103. package/dist/types/types/utils.d.ts +0 -13
  104. package/dist/types/types/utils.d.ts.map +0 -1
@@ -1,151 +0,0 @@
1
- import type { PropType } from 'vue';
2
- import type { RecordItem, KonnectBaseEntityConfig, KongManagerBaseEntityConfig, SupportedEntityType } from '../../types';
3
- export interface PropList {
4
- basic?: RecordItem[];
5
- advanced?: RecordItem[];
6
- plugin?: RecordItem[];
7
- }
8
- export type CodeFormat = 'yaml' | 'json' | 'terraform';
9
- export type Format = 'structured' | CodeFormat;
10
- declare var __VLS_2: `config-card-item-${string}`, __VLS_3: {
11
- key: string;
12
- item: RecordItem;
13
- }, __VLS_11: `${string}-label`, __VLS_12: {
14
- row: RecordItem;
15
- }, __VLS_16: `${string}-label-tooltip`, __VLS_17: {
16
- row: RecordItem;
17
- }, __VLS_21: string, __VLS_22: {
18
- row: RecordItem;
19
- rowValue: any;
20
- };
21
- type __VLS_Slots = {} & {
22
- [K in NonNullable<typeof __VLS_2>]?: (props: typeof __VLS_3) => any;
23
- } & {
24
- [K in NonNullable<typeof __VLS_11>]?: (props: typeof __VLS_12) => any;
25
- } & {
26
- [K in NonNullable<typeof __VLS_16>]?: (props: typeof __VLS_17) => any;
27
- } & {
28
- [K in NonNullable<typeof __VLS_21>]?: (props: typeof __VLS_22) => any;
29
- };
30
- declare const __VLS_component: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
31
- /** The base konnect or kongManger config. Pass additional config props in the shared entity component as needed. */
32
- config: {
33
- type: PropType<KonnectBaseEntityConfig | KongManagerBaseEntityConfig>;
34
- required: false;
35
- default: () => {};
36
- };
37
- entityType: {
38
- type: PropType<SupportedEntityType>;
39
- required: true;
40
- validator: (val: SupportedEntityType) => boolean;
41
- };
42
- subEntityType: {
43
- type: StringConstructor;
44
- default: string;
45
- };
46
- propertyCollections: {
47
- type: PropType<PropList>;
48
- required: false;
49
- default: () => null;
50
- };
51
- format: {
52
- type: PropType<Format>;
53
- required: false;
54
- default: string;
55
- validator: (val: string) => boolean;
56
- };
57
- propListTypes: {
58
- type: PropType<string[]>;
59
- required: false;
60
- default: () => never[];
61
- };
62
- /** A record to indicate the entity's configuration, used to populate the JSON/YAML code blocks */
63
- record: {
64
- type: PropType<Record<string, any>>;
65
- required: false;
66
- default: () => {};
67
- };
68
- /** Fetcher url for the entity with the filled-in controlPlaneId, workspace, and entity id. */
69
- fetcherUrl: {
70
- type: StringConstructor;
71
- required: false;
72
- default: string;
73
- };
74
- /**
75
- * A function to format the entity record before displaying it in the code block.
76
- */
77
- codeBlockRecordFormatter: {
78
- type: PropType<(entityRecord: Record<string, any>, format: CodeFormat) => Record<string, any>>;
79
- required: false;
80
- default: (entityRecord: Record<string, any>) => Record<string, any>;
81
- };
82
- }>, void, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
83
- /** The base konnect or kongManger config. Pass additional config props in the shared entity component as needed. */
84
- config: {
85
- type: PropType<KonnectBaseEntityConfig | KongManagerBaseEntityConfig>;
86
- required: false;
87
- default: () => {};
88
- };
89
- entityType: {
90
- type: PropType<SupportedEntityType>;
91
- required: true;
92
- validator: (val: SupportedEntityType) => boolean;
93
- };
94
- subEntityType: {
95
- type: StringConstructor;
96
- default: string;
97
- };
98
- propertyCollections: {
99
- type: PropType<PropList>;
100
- required: false;
101
- default: () => null;
102
- };
103
- format: {
104
- type: PropType<Format>;
105
- required: false;
106
- default: string;
107
- validator: (val: string) => boolean;
108
- };
109
- propListTypes: {
110
- type: PropType<string[]>;
111
- required: false;
112
- default: () => never[];
113
- };
114
- /** A record to indicate the entity's configuration, used to populate the JSON/YAML code blocks */
115
- record: {
116
- type: PropType<Record<string, any>>;
117
- required: false;
118
- default: () => {};
119
- };
120
- /** Fetcher url for the entity with the filled-in controlPlaneId, workspace, and entity id. */
121
- fetcherUrl: {
122
- type: StringConstructor;
123
- required: false;
124
- default: string;
125
- };
126
- /**
127
- * A function to format the entity record before displaying it in the code block.
128
- */
129
- codeBlockRecordFormatter: {
130
- type: PropType<(entityRecord: Record<string, any>, format: CodeFormat) => Record<string, any>>;
131
- required: false;
132
- default: (entityRecord: Record<string, any>) => Record<string, any>;
133
- };
134
- }>> & Readonly<{}>, {
135
- format: Format;
136
- config: KonnectBaseEntityConfig | KongManagerBaseEntityConfig;
137
- fetcherUrl: string;
138
- subEntityType: string;
139
- propertyCollections: PropList;
140
- propListTypes: string[];
141
- record: Record<string, any>;
142
- codeBlockRecordFormatter: (entityRecord: Record<string, any>, format: CodeFormat) => Record<string, any>;
143
- }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
144
- declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
145
- export default _default;
146
- type __VLS_WithSlots<T, S> = T & {
147
- new (): {
148
- $slots: S;
149
- };
150
- };
151
- //# sourceMappingURL=ConfigCardDisplay.vue.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"ConfigCardDisplay.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/entity-base-config-card/ConfigCardDisplay.vue"],"names":[],"mappings":"AAsLA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,KAAK,CAAA;AAEnC,OAAO,KAAK,EAAE,UAAU,EAAE,uBAAuB,EAAE,2BAA2B,EAAE,mBAAmB,EAAE,MAAM,aAAa,CAAA;AAQxH,MAAM,WAAW,QAAQ;IACvB,KAAK,CAAC,EAAE,UAAU,EAAE,CAAA;IACpB,QAAQ,CAAC,EAAE,UAAU,EAAE,CAAA;IACvB,MAAM,CAAC,EAAE,UAAU,EAAE,CAAA;CACtB;AAED,MAAM,MAAM,UAAU,GAAG,MAAM,GAAG,MAAM,GAAG,WAAW,CAAA;AACtD,MAAM,MAAM,MAAM,GAAG,YAAY,GAAG,UAAU,CAAA;AA2N9C,QAAA,IAAI,OAAO,8BAAU,EAAE,OAAO;;;CAAU,EAAE,QAAQ,mBAAW,EAAE,QAAQ;;CAAU,EAAE,QAAQ,2BAAW,EAAE,QAAQ;;CAAW,EAAE,QAAQ,QAAW,EAAE,QAAQ;;;CAAY,CAAE;AACxK,KAAK,WAAW,GAAG,EAAE,GACnB;KAAG,CAAC,IAAI,WAAW,CAAC,OAAO,OAAO,CAAC,CAAC,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,OAAO,KAAK,GAAG;CAAE,GACvE;KAAG,CAAC,IAAI,WAAW,CAAC,OAAO,QAAQ,CAAC,CAAC,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,QAAQ,KAAK,GAAG;CAAE,GACzE;KAAG,CAAC,IAAI,WAAW,CAAC,OAAO,QAAQ,CAAC,CAAC,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,QAAQ,KAAK,GAAG;CAAE,GACzE;KAAG,CAAC,IAAI,WAAW,CAAC,OAAO,QAAQ,CAAC,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AAG,CAAC;;;;;;;;;;6CAFD,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,UAAU,UAAU,KAAK,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC;4EAK3G,CAAC;wBACkB,eAAe,CAAC,OAAO,eAAe,EAAE,WAAW,CAAC;AAAzE,wBAA0E;AAE1E,KAAK,eAAe,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAChC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
@@ -1,116 +0,0 @@
1
- import type { PropType } from 'vue';
2
- import type { RecordItem } from '../../types';
3
- declare const _default: __VLS_WithSlots<import("vue").DefineComponent<import("vue").ExtractPropTypes<{
4
- item: {
5
- type: PropType<RecordItem>;
6
- required: true;
7
- };
8
- slim: {
9
- type: BooleanConstructor;
10
- required: false;
11
- default: boolean;
12
- };
13
- truncated: {
14
- type: BooleanConstructor;
15
- required: false;
16
- default: boolean;
17
- };
18
- }>, void, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
19
- "navigation-click": (record: RecordItem) => any;
20
- }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
21
- item: {
22
- type: PropType<RecordItem>;
23
- required: true;
24
- };
25
- slim: {
26
- type: BooleanConstructor;
27
- required: false;
28
- default: boolean;
29
- };
30
- truncated: {
31
- type: BooleanConstructor;
32
- required: false;
33
- default: boolean;
34
- };
35
- }>> & Readonly<{
36
- "onNavigation-click"?: ((record: RecordItem) => any) | undefined;
37
- }>, {
38
- slim: boolean;
39
- truncated: boolean;
40
- }, {}, {
41
- JsonCardItem: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
42
- item: {
43
- type: PropType<RecordItem | Record<string, any>>;
44
- required: true;
45
- };
46
- index: {
47
- type: NumberConstructor;
48
- default: number;
49
- };
50
- isArrayItem: {
51
- type: BooleanConstructor;
52
- default: boolean;
53
- };
54
- }>, void, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
55
- item: {
56
- type: PropType<RecordItem | Record<string, any>>;
57
- required: true;
58
- };
59
- index: {
60
- type: NumberConstructor;
61
- default: number;
62
- };
63
- isArrayItem: {
64
- type: BooleanConstructor;
65
- default: boolean;
66
- };
67
- }>> & Readonly<{}>, {
68
- index: number;
69
- isArrayItem: boolean;
70
- }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
71
- StatusBadge: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
72
- status: {
73
- type: BooleanConstructor;
74
- default: boolean;
75
- };
76
- }>, void, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
77
- status: {
78
- type: BooleanConstructor;
79
- default: boolean;
80
- };
81
- }>> & Readonly<{}>, {
82
- status: boolean;
83
- }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
84
- InternalLinkItem: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
85
- item: {
86
- type: PropType<RecordItem>;
87
- required: true;
88
- };
89
- }>, void, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
90
- "navigation-click": (record: RecordItem) => any;
91
- }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
92
- item: {
93
- type: PropType<RecordItem>;
94
- required: true;
95
- };
96
- }>> & Readonly<{
97
- "onNavigation-click"?: ((record: RecordItem) => any) | undefined;
98
- }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
99
- }, {}, string, import("vue").ComponentProvideOptions, true, {}, any>, {
100
- [x: string]: ((props: {
101
- rowValue: any;
102
- }) => any) | undefined;
103
- } & {
104
- label?: (props: {
105
- item: RecordItem;
106
- }) => any;
107
- } & {
108
- 'label-tooltip'?: (props: {}) => any;
109
- }>;
110
- export default _default;
111
- type __VLS_WithSlots<T, S> = T & {
112
- new (): {
113
- $slots: S;
114
- };
115
- };
116
- //# sourceMappingURL=ConfigCardItem.vue.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"ConfigCardItem.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/entity-base-config-card/ConfigCardItem.vue"],"names":[],"mappings":"AAqbA,OAAO,KAAK,EAAE,QAAQ,EAAO,MAAM,KAAK,CAAA;AAExC,OAAO,KAAK,EAAE,UAAU,EAAsB,MAAM,aAAa,CAAA;;;cAskB7C,QAAQ,CAAC,UAAU,CAAC;;;;;;;;;;;;;;;;;cAApB,QAAQ,CAAC,UAAU,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;UA7D8B,GAAG;;YAC7D,CAAC,KAAK;;KAAgB,KAAK,GAAG;;sBACpB,CAAC,KAAK,IAAiB,KAAK,GAAG;;AA/frD,wBA8kBC;AACD,KAAK,eAAe,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAChC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
@@ -1,284 +0,0 @@
1
- import type { PropType } from 'vue';
2
- import type { AxiosError } from 'axios';
3
- import type { KonnectBaseEntityConfig, KongManagerBaseEntityConfig, ConfigurationSchema, PluginConfigurationSchema, RecordItem, SupportedEntityType, PolicyConfigurationSchema } from '../../types';
4
- import { type CodeFormat, type Format } from './ConfigCardDisplay.vue';
5
- import type { HeaderTag } from '@kong/kongponents';
6
- declare var __VLS_8: {}, __VLS_11: {}, __VLS_53: string, __VLS_54: {
7
- row: RecordItem;
8
- rowValue: any;
9
- record: Record<string, any>;
10
- };
11
- type __VLS_Slots = {} & {
12
- [K in NonNullable<typeof __VLS_53>]?: (props: typeof __VLS_54) => any;
13
- } & {
14
- title?: (props: typeof __VLS_8) => any;
15
- } & {
16
- actions?: (props: typeof __VLS_11) => any;
17
- };
18
- declare const __VLS_component: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
19
- /** The base konnect or kongManger config. Pass additional config props in the shared entity component as needed. */
20
- config: {
21
- type: PropType<KonnectBaseEntityConfig | KongManagerBaseEntityConfig>;
22
- required: true;
23
- validator: (config: KonnectBaseEntityConfig | KongManagerBaseEntityConfig) => boolean;
24
- };
25
- /** Schema to configure display of fields */
26
- configSchema: {
27
- type: PropType<ConfigurationSchema>;
28
- required: false;
29
- default: () => {};
30
- };
31
- /**
32
- * Entity type, required to generate terraform code
33
- */
34
- entityType: {
35
- type: PropType<SupportedEntityType>;
36
- required: true;
37
- validator: (val: SupportedEntityType) => boolean;
38
- };
39
- /**
40
- * Sub Entity type, required to generate terraform code for event gateway entities
41
- */
42
- subEntityType: {
43
- type: StringConstructor;
44
- default: string;
45
- };
46
- /** Record key that contains the plugin configuration */
47
- pluginConfigKey: {
48
- type: StringConstructor;
49
- required: false;
50
- default: string;
51
- };
52
- /** Configuration schema for the plugin configuration section */
53
- pluginConfigSchema: {
54
- type: PropType<PluginConfigurationSchema>;
55
- required: false;
56
- default: () => {};
57
- };
58
- /** Record key that contains the policy configuration */
59
- policyConfigKey: {
60
- type: StringConstructor;
61
- required: false;
62
- default: string;
63
- };
64
- /** Configuration schema for the policy configuration section */
65
- policyConfigSchema: {
66
- type: PropType<PolicyConfigurationSchema>;
67
- required: false;
68
- default: () => {};
69
- };
70
- /**
71
- * Fetch url for the item to display configuration for.
72
- * We will handle the replacement of {controlPlaneId}, {workspace}, and {id}.
73
- * Value should NOT contain config.apiBaseUrl, as we auto include this. Typically this will just an entry from
74
- * the endpoints file.
75
- *
76
- * ex. `/v2/control-planes/{controlPlaneId}/core-entities/snis/{id}`
77
- */
78
- fetchUrl: {
79
- type: StringConstructor;
80
- required: true;
81
- };
82
- /**
83
- * Optional key to use to access the record from fetched response.data
84
- * If not provided, response.data will be used.
85
- */
86
- dataKey: {
87
- type: StringConstructor;
88
- required: false;
89
- default: string;
90
- };
91
- /**
92
- * Function to resolve the record from the fetched response.
93
- * This prop only works if dataKey is not provided.
94
- */
95
- recordResolver: {
96
- type: PropType<(data: any) => any>;
97
- required: false;
98
- default: (data: any) => any;
99
- };
100
- /**
101
- * A function to format the entity record before displaying it in the code block.
102
- */
103
- codeBlockRecordFormatter: {
104
- type: PropType<(entityRecord: Record<string, any>, format: CodeFormat) => Record<string, any>>;
105
- required: false;
106
- default: (entityRecord: Record<string, any>) => Record<string, any>;
107
- };
108
- /**
109
- * Boolean to control card title visibility.
110
- */
111
- hideTitle: {
112
- type: BooleanConstructor;
113
- default: boolean;
114
- };
115
- /**
116
- * The label text to show for the select Format element
117
- */
118
- label: {
119
- type: StringConstructor;
120
- default: string;
121
- required: false;
122
- };
123
- /**
124
- * External link for documentation
125
- */
126
- configCardDoc: {
127
- type: StringConstructor;
128
- default: string;
129
- required: false;
130
- };
131
- titleTag: {
132
- type: PropType<HeaderTag>;
133
- default: string;
134
- };
135
- }>, void, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
136
- loading: (isLoading: boolean) => any;
137
- "fetch:success": (data: Record<string, any>) => any;
138
- "fetch:error": (error: AxiosError<unknown, any>) => any;
139
- configFormatChange: (format: Format) => any;
140
- }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
141
- /** The base konnect or kongManger config. Pass additional config props in the shared entity component as needed. */
142
- config: {
143
- type: PropType<KonnectBaseEntityConfig | KongManagerBaseEntityConfig>;
144
- required: true;
145
- validator: (config: KonnectBaseEntityConfig | KongManagerBaseEntityConfig) => boolean;
146
- };
147
- /** Schema to configure display of fields */
148
- configSchema: {
149
- type: PropType<ConfigurationSchema>;
150
- required: false;
151
- default: () => {};
152
- };
153
- /**
154
- * Entity type, required to generate terraform code
155
- */
156
- entityType: {
157
- type: PropType<SupportedEntityType>;
158
- required: true;
159
- validator: (val: SupportedEntityType) => boolean;
160
- };
161
- /**
162
- * Sub Entity type, required to generate terraform code for event gateway entities
163
- */
164
- subEntityType: {
165
- type: StringConstructor;
166
- default: string;
167
- };
168
- /** Record key that contains the plugin configuration */
169
- pluginConfigKey: {
170
- type: StringConstructor;
171
- required: false;
172
- default: string;
173
- };
174
- /** Configuration schema for the plugin configuration section */
175
- pluginConfigSchema: {
176
- type: PropType<PluginConfigurationSchema>;
177
- required: false;
178
- default: () => {};
179
- };
180
- /** Record key that contains the policy configuration */
181
- policyConfigKey: {
182
- type: StringConstructor;
183
- required: false;
184
- default: string;
185
- };
186
- /** Configuration schema for the policy configuration section */
187
- policyConfigSchema: {
188
- type: PropType<PolicyConfigurationSchema>;
189
- required: false;
190
- default: () => {};
191
- };
192
- /**
193
- * Fetch url for the item to display configuration for.
194
- * We will handle the replacement of {controlPlaneId}, {workspace}, and {id}.
195
- * Value should NOT contain config.apiBaseUrl, as we auto include this. Typically this will just an entry from
196
- * the endpoints file.
197
- *
198
- * ex. `/v2/control-planes/{controlPlaneId}/core-entities/snis/{id}`
199
- */
200
- fetchUrl: {
201
- type: StringConstructor;
202
- required: true;
203
- };
204
- /**
205
- * Optional key to use to access the record from fetched response.data
206
- * If not provided, response.data will be used.
207
- */
208
- dataKey: {
209
- type: StringConstructor;
210
- required: false;
211
- default: string;
212
- };
213
- /**
214
- * Function to resolve the record from the fetched response.
215
- * This prop only works if dataKey is not provided.
216
- */
217
- recordResolver: {
218
- type: PropType<(data: any) => any>;
219
- required: false;
220
- default: (data: any) => any;
221
- };
222
- /**
223
- * A function to format the entity record before displaying it in the code block.
224
- */
225
- codeBlockRecordFormatter: {
226
- type: PropType<(entityRecord: Record<string, any>, format: CodeFormat) => Record<string, any>>;
227
- required: false;
228
- default: (entityRecord: Record<string, any>) => Record<string, any>;
229
- };
230
- /**
231
- * Boolean to control card title visibility.
232
- */
233
- hideTitle: {
234
- type: BooleanConstructor;
235
- default: boolean;
236
- };
237
- /**
238
- * The label text to show for the select Format element
239
- */
240
- label: {
241
- type: StringConstructor;
242
- default: string;
243
- required: false;
244
- };
245
- /**
246
- * External link for documentation
247
- */
248
- configCardDoc: {
249
- type: StringConstructor;
250
- default: string;
251
- required: false;
252
- };
253
- titleTag: {
254
- type: PropType<HeaderTag>;
255
- default: string;
256
- };
257
- }>> & Readonly<{
258
- onLoading?: ((isLoading: boolean) => any) | undefined;
259
- "onFetch:success"?: ((data: Record<string, any>) => any) | undefined;
260
- "onFetch:error"?: ((error: AxiosError<unknown, any>) => any) | undefined;
261
- onConfigFormatChange?: ((format: Format) => any) | undefined;
262
- }>, {
263
- label: string;
264
- subEntityType: string;
265
- codeBlockRecordFormatter: (entityRecord: Record<string, any>, format: CodeFormat) => Record<string, any>;
266
- configSchema: ConfigurationSchema;
267
- pluginConfigKey: string;
268
- pluginConfigSchema: PluginConfigurationSchema;
269
- policyConfigKey: string;
270
- policyConfigSchema: PolicyConfigurationSchema;
271
- dataKey: string;
272
- recordResolver: (data: any) => any;
273
- hideTitle: boolean;
274
- configCardDoc: string;
275
- titleTag: HeaderTag;
276
- }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
277
- declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
278
- export default _default;
279
- type __VLS_WithSlots<T, S> = T & {
280
- new (): {
281
- $slots: S;
282
- };
283
- };
284
- //# sourceMappingURL=EntityBaseConfigCard.vue.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"EntityBaseConfigCard.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/entity-base-config-card/EntityBaseConfigCard.vue"],"names":[],"mappings":"AA0oBA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,KAAK,CAAA;AAEnC,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,OAAO,CAAA;AACvC,OAAO,KAAK,EACV,uBAAuB,EACvB,2BAA2B,EAC3B,mBAAmB,EACnB,yBAAyB,EACzB,UAAU,EAEV,mBAAmB,EACnB,yBAAyB,EAC1B,MAAM,aAAa,CAAA;AAGpB,OAA0B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O,eAAe,EAAE,WAAW,CAAC;AAAzE,wBAA0E;AAE1E,KAAK,eAAe,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAChC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
@@ -1,19 +0,0 @@
1
- import type { PropType } from 'vue';
2
- import type { RecordItem } from '../../types';
3
- declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
4
- item: {
5
- type: PropType<RecordItem>;
6
- required: true;
7
- };
8
- }>, void, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
9
- "navigation-click": (record: RecordItem) => any;
10
- }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
11
- item: {
12
- type: PropType<RecordItem>;
13
- required: true;
14
- };
15
- }>> & Readonly<{
16
- "onNavigation-click"?: ((record: RecordItem) => any) | undefined;
17
- }>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
18
- export default _default;
19
- //# sourceMappingURL=InternalLinkItem.vue.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"InternalLinkItem.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/entity-base-config-card/InternalLinkItem.vue"],"names":[],"mappings":"AAuCA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,KAAK,CAAA;AACnC,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,aAAa,CAAA;;;cA8FzB,QAAQ,CAAC,UAAU,CAAC;;;;;;;cAApB,QAAQ,CAAC,UAAU,CAAC;;;;;;AANxC,wBAUG"}
@@ -1,34 +0,0 @@
1
- import type { PropType } from 'vue';
2
- import type { RecordItem } from '../../types';
3
- declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
4
- item: {
5
- type: PropType<RecordItem | Record<string, any>>;
6
- required: true;
7
- };
8
- index: {
9
- type: NumberConstructor;
10
- default: number;
11
- };
12
- isArrayItem: {
13
- type: BooleanConstructor;
14
- default: boolean;
15
- };
16
- }>, void, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
17
- item: {
18
- type: PropType<RecordItem | Record<string, any>>;
19
- required: true;
20
- };
21
- index: {
22
- type: NumberConstructor;
23
- default: number;
24
- };
25
- isArrayItem: {
26
- type: BooleanConstructor;
27
- default: boolean;
28
- };
29
- }>> & Readonly<{}>, {
30
- index: number;
31
- isArrayItem: boolean;
32
- }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
33
- export default _default;
34
- //# sourceMappingURL=JsonCardItem.vue.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"JsonCardItem.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/entity-base-config-card/JsonCardItem.vue"],"names":[],"mappings":"AAyGA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,KAAK,CAAA;AAEnC,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,aAAa,CAAA;;;cAqJzB,QAAQ,CAAC,UAAU,GAAG,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC;;;;;;;;;;;;;cAA1C,QAAQ,CAAC,UAAU,GAAG,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC;;;;;;;;;;;;;;;AAL9D,wBAiBG"}
@@ -1,15 +0,0 @@
1
- declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
2
- status: {
3
- type: BooleanConstructor;
4
- default: boolean;
5
- };
6
- }>, void, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
7
- status: {
8
- type: BooleanConstructor;
9
- default: boolean;
10
- };
11
- }>> & Readonly<{}>, {
12
- status: boolean;
13
- }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
14
- export default _default;
15
- //# sourceMappingURL=StatusBadge.vue.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"StatusBadge.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/entity-base-config-card/StatusBadge.vue"],"names":[],"mappings":";;;;;;;;;;;;;AAmFA,wBASG"}