@kong-ui-public/entities-shared 3.30.3 → 3.30.4-pr.2439.ad3fb9fba.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 +2 -2
  2. package/dist/entities-shared.es.js +0 -4655
  3. package/dist/entities-shared.umd.js +0 -52
  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 -37
  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 -137
  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 -240
  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 -269
  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 -103
  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,137 +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_7: `${string}-label`, __VLS_8: {
11
- row: RecordItem;
12
- }, __VLS_12: `${string}-label-tooltip`, __VLS_13: {
13
- row: RecordItem;
14
- }, __VLS_17: string, __VLS_18: {
15
- row: RecordItem;
16
- rowValue: any;
17
- };
18
- type __VLS_Slots = {} & {
19
- [K in NonNullable<typeof __VLS_7>]?: (props: typeof __VLS_8) => any;
20
- } & {
21
- [K in NonNullable<typeof __VLS_12>]?: (props: typeof __VLS_13) => any;
22
- } & {
23
- [K in NonNullable<typeof __VLS_17>]?: (props: typeof __VLS_18) => any;
24
- };
25
- declare const __VLS_component: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
26
- /** The base konnect or kongManger config. Pass additional config props in the shared entity component as needed. */
27
- config: {
28
- type: PropType<KonnectBaseEntityConfig | KongManagerBaseEntityConfig>;
29
- required: false;
30
- default: () => {};
31
- };
32
- entityType: {
33
- type: PropType<SupportedEntityType>;
34
- required: true;
35
- validator: (val: SupportedEntityType) => boolean;
36
- };
37
- propertyCollections: {
38
- type: PropType<PropList>;
39
- required: false;
40
- default: () => null;
41
- };
42
- format: {
43
- type: PropType<Format>;
44
- required: false;
45
- default: string;
46
- validator: (val: string) => boolean;
47
- };
48
- propListTypes: {
49
- type: PropType<string[]>;
50
- required: false;
51
- default: () => never[];
52
- };
53
- /** A record to indicate the entity's configuration, used to populate the JSON/YAML code blocks */
54
- record: {
55
- type: PropType<Record<string, any>>;
56
- required: false;
57
- default: () => {};
58
- };
59
- /** Fetcher url for the entity with the filled-in controlPlaneId, workspace, and entity id. */
60
- fetcherUrl: {
61
- type: StringConstructor;
62
- required: false;
63
- default: string;
64
- };
65
- /**
66
- * A function to format the entity record before displaying it in the code block.
67
- */
68
- codeBlockRecordFormatter: {
69
- type: PropType<(entityRecord: Record<string, any>, format: CodeFormat) => Record<string, any>>;
70
- required: false;
71
- default: (entityRecord: Record<string, any>) => Record<string, any>;
72
- };
73
- }>, void, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
74
- /** The base konnect or kongManger config. Pass additional config props in the shared entity component as needed. */
75
- config: {
76
- type: PropType<KonnectBaseEntityConfig | KongManagerBaseEntityConfig>;
77
- required: false;
78
- default: () => {};
79
- };
80
- entityType: {
81
- type: PropType<SupportedEntityType>;
82
- required: true;
83
- validator: (val: SupportedEntityType) => boolean;
84
- };
85
- propertyCollections: {
86
- type: PropType<PropList>;
87
- required: false;
88
- default: () => null;
89
- };
90
- format: {
91
- type: PropType<Format>;
92
- required: false;
93
- default: string;
94
- validator: (val: string) => boolean;
95
- };
96
- propListTypes: {
97
- type: PropType<string[]>;
98
- required: false;
99
- default: () => never[];
100
- };
101
- /** A record to indicate the entity's configuration, used to populate the JSON/YAML code blocks */
102
- record: {
103
- type: PropType<Record<string, any>>;
104
- required: false;
105
- default: () => {};
106
- };
107
- /** Fetcher url for the entity with the filled-in controlPlaneId, workspace, and entity id. */
108
- fetcherUrl: {
109
- type: StringConstructor;
110
- required: false;
111
- default: string;
112
- };
113
- /**
114
- * A function to format the entity record before displaying it in the code block.
115
- */
116
- codeBlockRecordFormatter: {
117
- type: PropType<(entityRecord: Record<string, any>, format: CodeFormat) => Record<string, any>>;
118
- required: false;
119
- default: (entityRecord: Record<string, any>) => Record<string, any>;
120
- };
121
- }>> & Readonly<{}>, {
122
- format: Format;
123
- config: KonnectBaseEntityConfig | KongManagerBaseEntityConfig;
124
- fetcherUrl: string;
125
- propertyCollections: PropList;
126
- propListTypes: string[];
127
- record: Record<string, any>;
128
- codeBlockRecordFormatter: (entityRecord: Record<string, any>, format: CodeFormat) => Record<string, any>;
129
- }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
130
- declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
131
- export default _default;
132
- type __VLS_WithSlots<T, S> = T & {
133
- new (): {
134
- $slots: S;
135
- };
136
- };
137
- //# 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":"AAwKA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,KAAK,CAAA;AAEnC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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,240 +0,0 @@
1
- import type { PropType } from 'vue';
2
- import type { AxiosError } from 'axios';
3
- import type { KonnectBaseEntityConfig, KongManagerBaseEntityConfig, ConfigurationSchema, PluginConfigurationSchema, RecordItem, SupportedEntityType } from '../../types';
4
- import { type CodeFormat } 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
- };
10
- type __VLS_Slots = {} & {
11
- [K in NonNullable<typeof __VLS_53>]?: (props: typeof __VLS_54) => any;
12
- } & {
13
- title?: (props: typeof __VLS_8) => any;
14
- } & {
15
- actions?: (props: typeof __VLS_11) => any;
16
- };
17
- declare const __VLS_component: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
18
- /** The base konnect or kongManger config. Pass additional config props in the shared entity component as needed. */
19
- config: {
20
- type: PropType<KonnectBaseEntityConfig | KongManagerBaseEntityConfig>;
21
- required: true;
22
- validator: (config: KonnectBaseEntityConfig | KongManagerBaseEntityConfig) => boolean;
23
- };
24
- /** Schema to configure display of fields */
25
- configSchema: {
26
- type: PropType<ConfigurationSchema>;
27
- required: false;
28
- default: () => {};
29
- };
30
- /**
31
- * Entity type, required to generate terraform code
32
- */
33
- entityType: {
34
- type: PropType<SupportedEntityType>;
35
- required: true;
36
- validator: (val: SupportedEntityType) => boolean;
37
- };
38
- /** Record key that contains the plugin configuration */
39
- pluginConfigKey: {
40
- type: StringConstructor;
41
- required: false;
42
- default: string;
43
- };
44
- /** Configuration schema for the plugin configuration section */
45
- pluginConfigSchema: {
46
- type: PropType<PluginConfigurationSchema>;
47
- required: false;
48
- default: () => {};
49
- };
50
- /**
51
- * Fetch url for the item to display configuration for.
52
- * We will handle the replacement of {controlPlaneId}, {workspace}, and {id}.
53
- * Value should NOT contain config.apiBaseUrl, as we auto include this. Typically this will just an entry from
54
- * the endpoints file.
55
- *
56
- * ex. `/v2/control-planes/{controlPlaneId}/core-entities/snis/{id}`
57
- */
58
- fetchUrl: {
59
- type: StringConstructor;
60
- required: true;
61
- };
62
- /**
63
- * Optional key to use to access the record from fetched response.data
64
- * If not provided, response.data will be used.
65
- */
66
- dataKey: {
67
- type: StringConstructor;
68
- required: false;
69
- default: string;
70
- };
71
- /**
72
- * Function to resolve the record from the fetched response.
73
- * This prop only works if dataKey is not provided.
74
- */
75
- recordResolver: {
76
- type: PropType<(data: any) => any>;
77
- required: false;
78
- default: (data: any) => any;
79
- };
80
- /**
81
- * A function to format the entity record before displaying it in the code block.
82
- */
83
- codeBlockRecordFormatter: {
84
- type: PropType<(entityRecord: Record<string, any>, format: CodeFormat) => Record<string, any>>;
85
- required: false;
86
- default: (entityRecord: Record<string, any>) => Record<string, any>;
87
- };
88
- /**
89
- * Boolean to control card title visibility.
90
- */
91
- hideTitle: {
92
- type: BooleanConstructor;
93
- default: boolean;
94
- };
95
- /**
96
- * The label text to show for the select Format element
97
- */
98
- label: {
99
- type: StringConstructor;
100
- default: string;
101
- required: false;
102
- };
103
- /**
104
- * External link for documentation
105
- */
106
- configCardDoc: {
107
- type: StringConstructor;
108
- default: string;
109
- required: false;
110
- };
111
- titleTag: {
112
- type: PropType<HeaderTag>;
113
- default: string;
114
- };
115
- }>, void, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
116
- loading: (isLoading: boolean) => any;
117
- "fetch:success": (data: Record<string, any>) => any;
118
- "fetch:error": (error: AxiosError<unknown, any>) => any;
119
- }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
120
- /** The base konnect or kongManger config. Pass additional config props in the shared entity component as needed. */
121
- config: {
122
- type: PropType<KonnectBaseEntityConfig | KongManagerBaseEntityConfig>;
123
- required: true;
124
- validator: (config: KonnectBaseEntityConfig | KongManagerBaseEntityConfig) => boolean;
125
- };
126
- /** Schema to configure display of fields */
127
- configSchema: {
128
- type: PropType<ConfigurationSchema>;
129
- required: false;
130
- default: () => {};
131
- };
132
- /**
133
- * Entity type, required to generate terraform code
134
- */
135
- entityType: {
136
- type: PropType<SupportedEntityType>;
137
- required: true;
138
- validator: (val: SupportedEntityType) => boolean;
139
- };
140
- /** Record key that contains the plugin configuration */
141
- pluginConfigKey: {
142
- type: StringConstructor;
143
- required: false;
144
- default: string;
145
- };
146
- /** Configuration schema for the plugin configuration section */
147
- pluginConfigSchema: {
148
- type: PropType<PluginConfigurationSchema>;
149
- required: false;
150
- default: () => {};
151
- };
152
- /**
153
- * Fetch url for the item to display configuration for.
154
- * We will handle the replacement of {controlPlaneId}, {workspace}, and {id}.
155
- * Value should NOT contain config.apiBaseUrl, as we auto include this. Typically this will just an entry from
156
- * the endpoints file.
157
- *
158
- * ex. `/v2/control-planes/{controlPlaneId}/core-entities/snis/{id}`
159
- */
160
- fetchUrl: {
161
- type: StringConstructor;
162
- required: true;
163
- };
164
- /**
165
- * Optional key to use to access the record from fetched response.data
166
- * If not provided, response.data will be used.
167
- */
168
- dataKey: {
169
- type: StringConstructor;
170
- required: false;
171
- default: string;
172
- };
173
- /**
174
- * Function to resolve the record from the fetched response.
175
- * This prop only works if dataKey is not provided.
176
- */
177
- recordResolver: {
178
- type: PropType<(data: any) => any>;
179
- required: false;
180
- default: (data: any) => any;
181
- };
182
- /**
183
- * A function to format the entity record before displaying it in the code block.
184
- */
185
- codeBlockRecordFormatter: {
186
- type: PropType<(entityRecord: Record<string, any>, format: CodeFormat) => Record<string, any>>;
187
- required: false;
188
- default: (entityRecord: Record<string, any>) => Record<string, any>;
189
- };
190
- /**
191
- * Boolean to control card title visibility.
192
- */
193
- hideTitle: {
194
- type: BooleanConstructor;
195
- default: boolean;
196
- };
197
- /**
198
- * The label text to show for the select Format element
199
- */
200
- label: {
201
- type: StringConstructor;
202
- default: string;
203
- required: false;
204
- };
205
- /**
206
- * External link for documentation
207
- */
208
- configCardDoc: {
209
- type: StringConstructor;
210
- default: string;
211
- required: false;
212
- };
213
- titleTag: {
214
- type: PropType<HeaderTag>;
215
- default: string;
216
- };
217
- }>> & Readonly<{
218
- onLoading?: ((isLoading: boolean) => any) | undefined;
219
- "onFetch:success"?: ((data: Record<string, any>) => any) | undefined;
220
- "onFetch:error"?: ((error: AxiosError<unknown, any>) => any) | undefined;
221
- }>, {
222
- label: string;
223
- codeBlockRecordFormatter: (entityRecord: Record<string, any>, format: CodeFormat) => Record<string, any>;
224
- configSchema: ConfigurationSchema;
225
- pluginConfigKey: string;
226
- pluginConfigSchema: PluginConfigurationSchema;
227
- dataKey: string;
228
- recordResolver: (data: any) => any;
229
- hideTitle: boolean;
230
- configCardDoc: string;
231
- titleTag: HeaderTag;
232
- }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
233
- declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
234
- export default _default;
235
- type __VLS_WithSlots<T, S> = T & {
236
- new (): {
237
- $slots: S;
238
- };
239
- };
240
- //# 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":"AA8jBA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,KAAK,CAAA;AAEnC,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,OAAO,CAAA;AACvC,OAAO,KAAK,EACV,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AG;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"}