@kong-ui-public/entities-shared 3.68.2-pr.3869.e876c8c8a.0 → 3.68.2

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 (144) hide show
  1. package/dist/_plugin-vue_export-helper-BoB6meVO.cjs +1 -0
  2. package/dist/_plugin-vue_export-helper-cPvCgR8H.js +695 -0
  3. package/dist/deck-editor.cjs.js +1 -0
  4. package/dist/deck-editor.es.js +86 -0
  5. package/dist/entities-shared.cjs.js +79 -0
  6. package/dist/entities-shared.es.js +5348 -0
  7. package/dist/style.css +1 -0
  8. package/dist/types/components/common/DeckCallout.vue.d.ts +10 -0
  9. package/dist/types/components/common/DeckCallout.vue.d.ts.map +1 -0
  10. package/dist/types/components/common/DeckCodeBlock.vue.d.ts +13 -0
  11. package/dist/types/components/common/DeckCodeBlock.vue.d.ts.map +1 -0
  12. package/dist/types/components/common/DeckCodeBlockInternal.vue.d.ts +13 -0
  13. package/dist/types/components/common/DeckCodeBlockInternal.vue.d.ts.map +1 -0
  14. package/dist/types/components/common/DeckCommandEditor.vue.d.ts +16 -0
  15. package/dist/types/components/common/DeckCommandEditor.vue.d.ts.map +1 -0
  16. package/dist/types/components/common/DeckCommandEditorLoading.vue.d.ts +4 -0
  17. package/dist/types/components/common/DeckCommandEditorLoading.vue.d.ts.map +1 -0
  18. package/dist/types/components/common/GeneratePatModal.vue.d.ts +14 -0
  19. package/dist/types/components/common/GeneratePatModal.vue.d.ts.map +1 -0
  20. package/dist/types/components/common/JsonCodeBlock.vue.d.ts +70 -0
  21. package/dist/types/components/common/JsonCodeBlock.vue.d.ts.map +1 -0
  22. package/dist/types/components/common/SensitiveInput.vue.d.ts +73 -0
  23. package/dist/types/components/common/SensitiveInput.vue.d.ts.map +1 -0
  24. package/dist/types/components/common/TableTags.vue.d.ts +27 -0
  25. package/dist/types/components/common/TableTags.vue.d.ts.map +1 -0
  26. package/dist/types/components/common/TerraformCodeBlock.vue.d.ts +58 -0
  27. package/dist/types/components/common/TerraformCodeBlock.vue.d.ts.map +1 -0
  28. package/dist/types/components/common/YamlCodeBlock.vue.d.ts +54 -0
  29. package/dist/types/components/common/YamlCodeBlock.vue.d.ts.map +1 -0
  30. package/dist/types/components/entity-base-config-card/ConfigCardDisplay.vue.d.ts +213 -0
  31. package/dist/types/components/entity-base-config-card/ConfigCardDisplay.vue.d.ts.map +1 -0
  32. package/dist/types/components/entity-base-config-card/ConfigCardItem.vue.d.ts +58 -0
  33. package/dist/types/components/entity-base-config-card/ConfigCardItem.vue.d.ts.map +1 -0
  34. package/dist/types/components/entity-base-config-card/EntityBaseConfigCard.vue.d.ts +335 -0
  35. package/dist/types/components/entity-base-config-card/EntityBaseConfigCard.vue.d.ts.map +1 -0
  36. package/dist/types/components/entity-base-config-card/InternalLinkItem.vue.d.ts +20 -0
  37. package/dist/types/components/entity-base-config-card/InternalLinkItem.vue.d.ts.map +1 -0
  38. package/dist/types/components/entity-base-config-card/JsonCardItem.vue.d.ts +35 -0
  39. package/dist/types/components/entity-base-config-card/JsonCardItem.vue.d.ts.map +1 -0
  40. package/dist/types/components/entity-base-config-card/StatusBadge.vue.d.ts +16 -0
  41. package/dist/types/components/entity-base-config-card/StatusBadge.vue.d.ts.map +1 -0
  42. package/dist/types/components/entity-base-form/EntityBaseForm.vue.d.ts +364 -0
  43. package/dist/types/components/entity-base-form/EntityBaseForm.vue.d.ts.map +1 -0
  44. package/dist/types/components/entity-base-table/EntityBaseTable.vue.d.ts +326 -0
  45. package/dist/types/components/entity-base-table/EntityBaseTable.vue.d.ts.map +1 -0
  46. package/dist/types/components/entity-base-table/EntityBaseTableCell.vue.d.ts +45 -0
  47. package/dist/types/components/entity-base-table/EntityBaseTableCell.vue.d.ts.map +1 -0
  48. package/dist/types/components/entity-delete-modal/EntityDeleteModal.vue.d.ts +135 -0
  49. package/dist/types/components/entity-delete-modal/EntityDeleteModal.vue.d.ts.map +1 -0
  50. package/dist/types/components/entity-empty-state/EntityEmptyState.vue.d.ts +117 -0
  51. package/dist/types/components/entity-empty-state/EntityEmptyState.vue.d.ts.map +1 -0
  52. package/dist/types/components/entity-filter/EntityFilter.vue.d.ts +38 -0
  53. package/dist/types/components/entity-filter/EntityFilter.vue.d.ts.map +1 -0
  54. package/dist/types/components/entity-form-block/EntityFormBlock.vue.d.ts +22 -0
  55. package/dist/types/components/entity-form-block/EntityFormBlock.vue.d.ts.map +1 -0
  56. package/dist/types/components/entity-form-section/EntityFormSection.vue.d.ts +77 -0
  57. package/dist/types/components/entity-form-section/EntityFormSection.vue.d.ts.map +1 -0
  58. package/dist/types/components/entity-link/EntityLink.vue.d.ts +50 -0
  59. package/dist/types/components/entity-link/EntityLink.vue.d.ts.map +1 -0
  60. package/dist/types/components/entity-toggle-modal/EntityToggleModal.vue.d.ts +65 -0
  61. package/dist/types/components/entity-toggle-modal/EntityToggleModal.vue.d.ts.map +1 -0
  62. package/dist/types/components/onboarding-card/OnboardingCard.vue.d.ts +15 -0
  63. package/dist/types/components/onboarding-card/OnboardingCard.vue.d.ts.map +1 -0
  64. package/dist/types/components/permissions-wrapper/PermissionsWrapper.vue.d.ts +56 -0
  65. package/dist/types/components/permissions-wrapper/PermissionsWrapper.vue.d.ts.map +1 -0
  66. package/dist/types/composables/index.d.ts +49 -0
  67. package/dist/types/composables/index.d.ts.map +1 -0
  68. package/dist/types/composables/useAxios.d.ts +5 -0
  69. package/dist/types/composables/useAxios.d.ts.map +1 -0
  70. package/dist/types/composables/useDebouncedFilter.d.ts +11 -0
  71. package/dist/types/composables/useDebouncedFilter.d.ts.map +1 -0
  72. package/dist/types/composables/useDeckOptions.d.ts +13 -0
  73. package/dist/types/composables/useDeckOptions.d.ts.map +1 -0
  74. package/dist/types/composables/useDeleteUrlBuilder.d.ts +3 -0
  75. package/dist/types/composables/useDeleteUrlBuilder.d.ts.map +1 -0
  76. package/dist/types/composables/useErrors.d.ts +11 -0
  77. package/dist/types/composables/useErrors.d.ts.map +1 -0
  78. package/dist/types/composables/useExternalLinkCreator.d.ts +2 -0
  79. package/dist/types/composables/useExternalLinkCreator.d.ts.map +1 -0
  80. package/dist/types/composables/useFetchUrlBuilder.d.ts +6 -0
  81. package/dist/types/composables/useFetchUrlBuilder.d.ts.map +1 -0
  82. package/dist/types/composables/useFetcher.d.ts +40 -0
  83. package/dist/types/composables/useFetcher.d.ts.map +1 -0
  84. package/dist/types/composables/useGatewayFeatureSupported.d.ts +11 -0
  85. package/dist/types/composables/useGatewayFeatureSupported.d.ts.map +1 -0
  86. package/dist/types/composables/useHelpers.d.ts +12 -0
  87. package/dist/types/composables/useHelpers.d.ts.map +1 -0
  88. package/dist/types/composables/useI18n.d.ts +9 -0
  89. package/dist/types/composables/useI18n.d.ts.map +1 -0
  90. package/dist/types/composables/useManagedByColumn.d.ts +20 -0
  91. package/dist/types/composables/useManagedByColumn.d.ts.map +1 -0
  92. package/dist/types/composables/useManagedByEnabled.d.ts +11 -0
  93. package/dist/types/composables/useManagedByEnabled.d.ts.map +1 -0
  94. package/dist/types/composables/useSchema.d.ts +12 -0
  95. package/dist/types/composables/useSchema.d.ts.map +1 -0
  96. package/dist/types/composables/useStringHelpers.d.ts +5 -0
  97. package/dist/types/composables/useStringHelpers.d.ts.map +1 -0
  98. package/dist/types/composables/useTableState.d.ts +15 -0
  99. package/dist/types/composables/useTableState.d.ts.map +1 -0
  100. package/dist/types/composables/useTruncationDetector.d.ts +12 -0
  101. package/dist/types/composables/useTruncationDetector.d.ts.map +1 -0
  102. package/dist/types/composables/useValidators.d.ts +8 -0
  103. package/dist/types/composables/useValidators.d.ts.map +1 -0
  104. package/dist/types/constants.d.ts +53 -0
  105. package/dist/types/constants.d.ts.map +1 -0
  106. package/dist/types/deck-editor.d.ts +18 -0
  107. package/dist/types/deck-editor.d.ts.map +1 -0
  108. package/dist/types/index.d.ts +35 -0
  109. package/dist/types/index.d.ts.map +1 -0
  110. package/dist/types/types/app-config.d.ts +43 -0
  111. package/dist/types/types/app-config.d.ts.map +1 -0
  112. package/dist/types/types/base.d.ts +12 -0
  113. package/dist/types/types/base.d.ts.map +1 -0
  114. package/dist/types/types/deck.d.ts +43 -0
  115. package/dist/types/types/deck.d.ts.map +1 -0
  116. package/dist/types/types/entity-base-config-card.d.ts +145 -0
  117. package/dist/types/types/entity-base-config-card.d.ts.map +1 -0
  118. package/dist/types/types/entity-base-form.d.ts +49 -0
  119. package/dist/types/types/entity-base-form.d.ts.map +1 -0
  120. package/dist/types/types/entity-base-table.d.ts +79 -0
  121. package/dist/types/types/entity-base-table.d.ts.map +1 -0
  122. package/dist/types/types/entity-delete-modal.d.ts +28 -0
  123. package/dist/types/types/entity-delete-modal.d.ts.map +1 -0
  124. package/dist/types/types/entity-empty-state.d.ts +7 -0
  125. package/dist/types/types/entity-empty-state.d.ts.map +1 -0
  126. package/dist/types/types/entity-filter.d.ts +48 -0
  127. package/dist/types/types/entity-filter.d.ts.map +1 -0
  128. package/dist/types/types/entity-link.d.ts +6 -0
  129. package/dist/types/types/entity-link.d.ts.map +1 -0
  130. package/dist/types/types/index.d.ts +14 -0
  131. package/dist/types/types/index.d.ts.map +1 -0
  132. package/dist/types/types/onboarding-card.d.ts +37 -0
  133. package/dist/types/types/onboarding-card.d.ts.map +1 -0
  134. package/dist/types/types/sensitive-input.d.ts +9 -0
  135. package/dist/types/types/sensitive-input.d.ts.map +1 -0
  136. package/dist/types/types/utils.d.ts +13 -0
  137. package/dist/types/types/utils.d.ts.map +1 -0
  138. package/dist/types/utils/code-block.d.ts +3 -0
  139. package/dist/types/utils/code-block.d.ts.map +1 -0
  140. package/dist/types/utils/managed-by.d.ts +25 -0
  141. package/dist/types/utils/managed-by.d.ts.map +1 -0
  142. package/dist/types/utils/shiki.d.ts +4 -0
  143. package/dist/types/utils/shiki.d.ts.map +1 -0
  144. package/package.json +5 -5
@@ -0,0 +1 @@
1
+ {"version":3,"file":"JsonCardItem.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/entity-base-config-card/JsonCardItem.vue"],"names":[],"mappings":"AA0GA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,KAAK,CAAA;AAEnC,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,aAAa,CAAA;AAkH7C,QAAA,MAAM,YAAY;;cAGE,QAAQ,CAAC,UAAU,GAAG,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC;;;;;;;;;;;;;cAA1C,QAAQ,CAAC,UAAU,GAAG,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC;;;;;;;;;;;;;;4EAY5D,CAAC;wBACkB,OAAO,YAAY;AAAxC,wBAAyC"}
@@ -0,0 +1,16 @@
1
+ declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
2
+ status: {
3
+ type: BooleanConstructor;
4
+ default: boolean;
5
+ };
6
+ }>, {}, {}, {}, {}, 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
+ declare const _default: typeof __VLS_export;
15
+ export default _default;
16
+ //# sourceMappingURL=StatusBadge.vue.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"StatusBadge.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/entity-base-config-card/StatusBadge.vue"],"names":[],"mappings":"AAoEA,QAAA,MAAM,YAAY;;;;;;;;;;;;4EAOhB,CAAC;wBACkB,OAAO,YAAY;AAAxC,wBAAyC"}
@@ -0,0 +1,364 @@
1
+ import type { PropType } from 'vue';
2
+ import type { AxiosError } from 'axios';
3
+ import type { BaseFormConfigTab, KonnectBaseFormConfig, KongManagerBaseFormConfig } from '../../types';
4
+ import { SupportedEntityType } from '../../types';
5
+ import type { BadgeAppearance } from '@kong/kongponents';
6
+ declare var __VLS_22: {}, __VLS_35: {}, __VLS_69: {};
7
+ type __VLS_Slots = {} & {
8
+ default?: (props: typeof __VLS_22) => any;
9
+ } & {
10
+ 'form-actions'?: (props: typeof __VLS_35) => any;
11
+ } & {
12
+ 'configuration-slideout-message'?: (props: typeof __VLS_69) => any;
13
+ };
14
+ declare const __VLS_base: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
15
+ /** The base konnect or kongManger config. Pass additional config props in the shared entity component as needed. */
16
+ config: {
17
+ type: PropType<KonnectBaseFormConfig | KongManagerBaseFormConfig>;
18
+ required: true;
19
+ validator: (config: KonnectBaseFormConfig | KongManagerBaseFormConfig) => boolean;
20
+ };
21
+ /** If a valid edit ID is provided, it will put the form in Edit mode instead of Create */
22
+ editId: {
23
+ type: PropType<string | null>;
24
+ required: false;
25
+ default: null;
26
+ };
27
+ /**
28
+ * Entity type, required to generate terraform code
29
+ */
30
+ entityType: {
31
+ type: PropType<SupportedEntityType>;
32
+ required: true;
33
+ validator: (val: SupportedEntityType) => boolean;
34
+ };
35
+ /**
36
+ * Sub entity type, required for event gateway entities to generate terraform code
37
+ */
38
+ subEntityType: {
39
+ type: StringConstructor;
40
+ required: false;
41
+ default: string;
42
+ };
43
+ /**
44
+ * Fetch url for the item to edit. We will handle the replacement of {controlPlaneId}, {workspace}, and {id}.
45
+ * Value should NOT contain config.apiBaseUrl, as we auto include this. Typically this will just an entry from
46
+ * the endpoints file.
47
+ * Required if `editId` is specified.
48
+ *
49
+ * ex. `/v2/control-planes/{controlPlaneId}/core-entities/snis/{id}`
50
+ */
51
+ fetchUrl: {
52
+ type: StringConstructor;
53
+ required: false;
54
+ default: string;
55
+ };
56
+ /** Set this prop to true during Save action. Disables save and cancel buttons */
57
+ isReadonly: {
58
+ type: BooleanConstructor;
59
+ required: false;
60
+ default: boolean;
61
+ };
62
+ /** Used to track form validation, disables save button when false */
63
+ canSubmit: {
64
+ type: BooleanConstructor;
65
+ required: false;
66
+ default: undefined;
67
+ };
68
+ /** If form submission fails, this is the error message to display */
69
+ errorMessage: {
70
+ type: StringConstructor;
71
+ required: false;
72
+ default: string;
73
+ };
74
+ /** Used to populate the Configuration JSON/YAML code blocks */
75
+ formFields: {
76
+ type: PropType<Record<string, any>>;
77
+ required: true;
78
+ };
79
+ /**
80
+ * Set true to disable the form validation upon submission.
81
+ */
82
+ noValidate: {
83
+ type: BooleanConstructor;
84
+ default: boolean;
85
+ };
86
+ /**
87
+ * Wrapper component to use at component's root level.
88
+ */
89
+ wrapperComponent: {
90
+ type: StringConstructor;
91
+ default: string;
92
+ };
93
+ /**
94
+ * Teleport target for the actions
95
+ */
96
+ actionTeleportTarget: {
97
+ type: StringConstructor;
98
+ default: undefined;
99
+ };
100
+ /**
101
+ * Hide the actions
102
+ */
103
+ hideActions: {
104
+ type: BooleanConstructor;
105
+ default: boolean;
106
+ };
107
+ /**
108
+ * Top offset for the slideout
109
+ */
110
+ slidoutTopOffset: {
111
+ type: NumberConstructor;
112
+ default: number;
113
+ };
114
+ /**
115
+ * Controls whether to align action buttons to left
116
+ */
117
+ alignActionButtonToLeft: {
118
+ type: BooleanConstructor;
119
+ default: boolean;
120
+ };
121
+ /**
122
+ * Save and Cancel button text override
123
+ */
124
+ saveButtonText: {
125
+ type: StringConstructor;
126
+ default: undefined;
127
+ };
128
+ cancelButtonText: {
129
+ type: StringConstructor;
130
+ default: undefined;
131
+ };
132
+ /**
133
+ * Override the fetcher URL shown in the slideout code blocks.
134
+ * Useful when the form manages its own fetching (e.g. CustomPluginForm).
135
+ * Should be the fully-resolved URL including the API base.
136
+ */
137
+ slideoutFetchUrl: {
138
+ type: StringConstructor;
139
+ default: undefined;
140
+ };
141
+ /**
142
+ * Override the HTTP request method shown in the slideout JSON code block.
143
+ * Defaults to 'put' when editId is set, 'post' otherwise.
144
+ */
145
+ slideoutRequestMethod: {
146
+ type: PropType<BadgeAppearance>;
147
+ default: undefined;
148
+ };
149
+ /**
150
+ * Override the entity type used for the deck code block in the slideout.
151
+ * Use when the form represents a sub-type (e.g. PluginSchema, CustomPlugin, ClonedPlugin)
152
+ * that has a different decK YAML collection key than the base entityType.
153
+ */
154
+ slideoutDeckEntityType: {
155
+ type: PropType<SupportedEntityType>;
156
+ default: undefined;
157
+ };
158
+ /**
159
+ * Hide tabs from the configuration slideout (eg. ['yaml']).
160
+ */
161
+ tabsToHide: {
162
+ type: PropType<BaseFormConfigTab[]>;
163
+ required: false;
164
+ default: () => never[];
165
+ };
166
+ }>, {
167
+ viewConfig: () => void;
168
+ formCancel: () => void;
169
+ formSubmit: () => void;
170
+ }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
171
+ loading: (isLoading: boolean) => any;
172
+ cancel: () => any;
173
+ submit: () => any;
174
+ "fetch:success": (data: Record<string, any>) => any;
175
+ "fetch:error": (error: AxiosError<unknown, any, any>) => any;
176
+ codeBlockTabChange: (data: string) => any;
177
+ }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
178
+ /** The base konnect or kongManger config. Pass additional config props in the shared entity component as needed. */
179
+ config: {
180
+ type: PropType<KonnectBaseFormConfig | KongManagerBaseFormConfig>;
181
+ required: true;
182
+ validator: (config: KonnectBaseFormConfig | KongManagerBaseFormConfig) => boolean;
183
+ };
184
+ /** If a valid edit ID is provided, it will put the form in Edit mode instead of Create */
185
+ editId: {
186
+ type: PropType<string | null>;
187
+ required: false;
188
+ default: null;
189
+ };
190
+ /**
191
+ * Entity type, required to generate terraform code
192
+ */
193
+ entityType: {
194
+ type: PropType<SupportedEntityType>;
195
+ required: true;
196
+ validator: (val: SupportedEntityType) => boolean;
197
+ };
198
+ /**
199
+ * Sub entity type, required for event gateway entities to generate terraform code
200
+ */
201
+ subEntityType: {
202
+ type: StringConstructor;
203
+ required: false;
204
+ default: string;
205
+ };
206
+ /**
207
+ * Fetch url for the item to edit. We will handle the replacement of {controlPlaneId}, {workspace}, and {id}.
208
+ * Value should NOT contain config.apiBaseUrl, as we auto include this. Typically this will just an entry from
209
+ * the endpoints file.
210
+ * Required if `editId` is specified.
211
+ *
212
+ * ex. `/v2/control-planes/{controlPlaneId}/core-entities/snis/{id}`
213
+ */
214
+ fetchUrl: {
215
+ type: StringConstructor;
216
+ required: false;
217
+ default: string;
218
+ };
219
+ /** Set this prop to true during Save action. Disables save and cancel buttons */
220
+ isReadonly: {
221
+ type: BooleanConstructor;
222
+ required: false;
223
+ default: boolean;
224
+ };
225
+ /** Used to track form validation, disables save button when false */
226
+ canSubmit: {
227
+ type: BooleanConstructor;
228
+ required: false;
229
+ default: undefined;
230
+ };
231
+ /** If form submission fails, this is the error message to display */
232
+ errorMessage: {
233
+ type: StringConstructor;
234
+ required: false;
235
+ default: string;
236
+ };
237
+ /** Used to populate the Configuration JSON/YAML code blocks */
238
+ formFields: {
239
+ type: PropType<Record<string, any>>;
240
+ required: true;
241
+ };
242
+ /**
243
+ * Set true to disable the form validation upon submission.
244
+ */
245
+ noValidate: {
246
+ type: BooleanConstructor;
247
+ default: boolean;
248
+ };
249
+ /**
250
+ * Wrapper component to use at component's root level.
251
+ */
252
+ wrapperComponent: {
253
+ type: StringConstructor;
254
+ default: string;
255
+ };
256
+ /**
257
+ * Teleport target for the actions
258
+ */
259
+ actionTeleportTarget: {
260
+ type: StringConstructor;
261
+ default: undefined;
262
+ };
263
+ /**
264
+ * Hide the actions
265
+ */
266
+ hideActions: {
267
+ type: BooleanConstructor;
268
+ default: boolean;
269
+ };
270
+ /**
271
+ * Top offset for the slideout
272
+ */
273
+ slidoutTopOffset: {
274
+ type: NumberConstructor;
275
+ default: number;
276
+ };
277
+ /**
278
+ * Controls whether to align action buttons to left
279
+ */
280
+ alignActionButtonToLeft: {
281
+ type: BooleanConstructor;
282
+ default: boolean;
283
+ };
284
+ /**
285
+ * Save and Cancel button text override
286
+ */
287
+ saveButtonText: {
288
+ type: StringConstructor;
289
+ default: undefined;
290
+ };
291
+ cancelButtonText: {
292
+ type: StringConstructor;
293
+ default: undefined;
294
+ };
295
+ /**
296
+ * Override the fetcher URL shown in the slideout code blocks.
297
+ * Useful when the form manages its own fetching (e.g. CustomPluginForm).
298
+ * Should be the fully-resolved URL including the API base.
299
+ */
300
+ slideoutFetchUrl: {
301
+ type: StringConstructor;
302
+ default: undefined;
303
+ };
304
+ /**
305
+ * Override the HTTP request method shown in the slideout JSON code block.
306
+ * Defaults to 'put' when editId is set, 'post' otherwise.
307
+ */
308
+ slideoutRequestMethod: {
309
+ type: PropType<BadgeAppearance>;
310
+ default: undefined;
311
+ };
312
+ /**
313
+ * Override the entity type used for the deck code block in the slideout.
314
+ * Use when the form represents a sub-type (e.g. PluginSchema, CustomPlugin, ClonedPlugin)
315
+ * that has a different decK YAML collection key than the base entityType.
316
+ */
317
+ slideoutDeckEntityType: {
318
+ type: PropType<SupportedEntityType>;
319
+ default: undefined;
320
+ };
321
+ /**
322
+ * Hide tabs from the configuration slideout (eg. ['yaml']).
323
+ */
324
+ tabsToHide: {
325
+ type: PropType<BaseFormConfigTab[]>;
326
+ required: false;
327
+ default: () => never[];
328
+ };
329
+ }>> & Readonly<{
330
+ onLoading?: ((isLoading: boolean) => any) | undefined;
331
+ onCancel?: (() => any) | undefined;
332
+ onSubmit?: (() => any) | undefined;
333
+ "onFetch:success"?: ((data: Record<string, any>) => any) | undefined;
334
+ "onFetch:error"?: ((error: AxiosError<unknown, any, any>) => any) | undefined;
335
+ onCodeBlockTabChange?: ((data: string) => any) | undefined;
336
+ }>, {
337
+ subEntityType: string;
338
+ errorMessage: string;
339
+ cancelButtonText: string;
340
+ fetchUrl: string;
341
+ editId: string | null;
342
+ isReadonly: boolean;
343
+ canSubmit: boolean;
344
+ noValidate: boolean;
345
+ wrapperComponent: string;
346
+ actionTeleportTarget: string;
347
+ hideActions: boolean;
348
+ slidoutTopOffset: number;
349
+ alignActionButtonToLeft: boolean;
350
+ saveButtonText: string;
351
+ slideoutFetchUrl: string;
352
+ slideoutRequestMethod: BadgeAppearance;
353
+ slideoutDeckEntityType: SupportedEntityType;
354
+ tabsToHide: ("json" | "yaml" | "terraform" | "deck")[];
355
+ }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
356
+ declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
357
+ declare const _default: typeof __VLS_export;
358
+ export default _default;
359
+ type __VLS_WithSlots<T, S> = T & {
360
+ new (): {
361
+ $slots: S;
362
+ };
363
+ };
364
+ //# sourceMappingURL=EntityBaseForm.vue.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"EntityBaseForm.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/entity-base-form/EntityBaseForm.vue"],"names":[],"mappings":"AA+jBA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,KAAK,CAAA;AAGnC,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,OAAO,CAAA;AACvC,OAAO,KAAK,EAAE,iBAAiB,EAAE,qBAAqB,EAAE,yBAAyB,EAAuB,MAAM,aAAa,CAAA;AAC3H,OAAO,EAA6B,mBAAmB,EAAE,MAAM,aAAa,CAAA;AAE5E,OAAO,KAAK,EAAE,eAAe,EAAO,MAAM,mBAAmB,CAAA;AA4zB7D,QAAA,IAAI,QAAQ,IAAW,EAAE,QAAQ,IAAW,EAAE,QAAQ,IAAY,CAAE;AACpE,KAAK,WAAW,GAAG,EAAE,GACnB;IAAE,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,QAAQ,KAAK,GAAG,CAAA;CAAE,GAC7C;IAAE,cAAc,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,QAAQ,KAAK,GAAG,CAAA;CAAE,GACpD;IAAE,gCAAgC,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,QAAQ,KAAK,GAAG,CAAA;CAAE,CAAC;AAKzE,QAAA,MAAM,UAAU;IAId,oHAAoH;;cAElG,QAAQ,CAAC,qBAAqB,GAAG,yBAAyB,CAAC;;4BAEvD,qBAAqB,GAAG,yBAAyB,KAAG,OAAO;;IAOjF,0FAA0F;;cA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