@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.
- package/dist/_plugin-vue_export-helper-BoB6meVO.cjs +1 -0
- package/dist/_plugin-vue_export-helper-cPvCgR8H.js +695 -0
- package/dist/deck-editor.cjs.js +1 -0
- package/dist/deck-editor.es.js +86 -0
- package/dist/entities-shared.cjs.js +79 -0
- package/dist/entities-shared.es.js +5348 -0
- package/dist/style.css +1 -0
- package/dist/types/components/common/DeckCallout.vue.d.ts +10 -0
- package/dist/types/components/common/DeckCallout.vue.d.ts.map +1 -0
- package/dist/types/components/common/DeckCodeBlock.vue.d.ts +13 -0
- package/dist/types/components/common/DeckCodeBlock.vue.d.ts.map +1 -0
- package/dist/types/components/common/DeckCodeBlockInternal.vue.d.ts +13 -0
- package/dist/types/components/common/DeckCodeBlockInternal.vue.d.ts.map +1 -0
- package/dist/types/components/common/DeckCommandEditor.vue.d.ts +16 -0
- package/dist/types/components/common/DeckCommandEditor.vue.d.ts.map +1 -0
- package/dist/types/components/common/DeckCommandEditorLoading.vue.d.ts +4 -0
- package/dist/types/components/common/DeckCommandEditorLoading.vue.d.ts.map +1 -0
- package/dist/types/components/common/GeneratePatModal.vue.d.ts +14 -0
- package/dist/types/components/common/GeneratePatModal.vue.d.ts.map +1 -0
- package/dist/types/components/common/JsonCodeBlock.vue.d.ts +70 -0
- package/dist/types/components/common/JsonCodeBlock.vue.d.ts.map +1 -0
- package/dist/types/components/common/SensitiveInput.vue.d.ts +73 -0
- package/dist/types/components/common/SensitiveInput.vue.d.ts.map +1 -0
- package/dist/types/components/common/TableTags.vue.d.ts +27 -0
- package/dist/types/components/common/TableTags.vue.d.ts.map +1 -0
- package/dist/types/components/common/TerraformCodeBlock.vue.d.ts +58 -0
- package/dist/types/components/common/TerraformCodeBlock.vue.d.ts.map +1 -0
- package/dist/types/components/common/YamlCodeBlock.vue.d.ts +54 -0
- package/dist/types/components/common/YamlCodeBlock.vue.d.ts.map +1 -0
- package/dist/types/components/entity-base-config-card/ConfigCardDisplay.vue.d.ts +213 -0
- package/dist/types/components/entity-base-config-card/ConfigCardDisplay.vue.d.ts.map +1 -0
- package/dist/types/components/entity-base-config-card/ConfigCardItem.vue.d.ts +58 -0
- package/dist/types/components/entity-base-config-card/ConfigCardItem.vue.d.ts.map +1 -0
- package/dist/types/components/entity-base-config-card/EntityBaseConfigCard.vue.d.ts +335 -0
- package/dist/types/components/entity-base-config-card/EntityBaseConfigCard.vue.d.ts.map +1 -0
- package/dist/types/components/entity-base-config-card/InternalLinkItem.vue.d.ts +20 -0
- package/dist/types/components/entity-base-config-card/InternalLinkItem.vue.d.ts.map +1 -0
- package/dist/types/components/entity-base-config-card/JsonCardItem.vue.d.ts +35 -0
- package/dist/types/components/entity-base-config-card/JsonCardItem.vue.d.ts.map +1 -0
- package/dist/types/components/entity-base-config-card/StatusBadge.vue.d.ts +16 -0
- package/dist/types/components/entity-base-config-card/StatusBadge.vue.d.ts.map +1 -0
- package/dist/types/components/entity-base-form/EntityBaseForm.vue.d.ts +364 -0
- package/dist/types/components/entity-base-form/EntityBaseForm.vue.d.ts.map +1 -0
- package/dist/types/components/entity-base-table/EntityBaseTable.vue.d.ts +326 -0
- package/dist/types/components/entity-base-table/EntityBaseTable.vue.d.ts.map +1 -0
- package/dist/types/components/entity-base-table/EntityBaseTableCell.vue.d.ts +45 -0
- package/dist/types/components/entity-base-table/EntityBaseTableCell.vue.d.ts.map +1 -0
- package/dist/types/components/entity-delete-modal/EntityDeleteModal.vue.d.ts +135 -0
- package/dist/types/components/entity-delete-modal/EntityDeleteModal.vue.d.ts.map +1 -0
- package/dist/types/components/entity-empty-state/EntityEmptyState.vue.d.ts +117 -0
- package/dist/types/components/entity-empty-state/EntityEmptyState.vue.d.ts.map +1 -0
- package/dist/types/components/entity-filter/EntityFilter.vue.d.ts +38 -0
- package/dist/types/components/entity-filter/EntityFilter.vue.d.ts.map +1 -0
- package/dist/types/components/entity-form-block/EntityFormBlock.vue.d.ts +22 -0
- package/dist/types/components/entity-form-block/EntityFormBlock.vue.d.ts.map +1 -0
- package/dist/types/components/entity-form-section/EntityFormSection.vue.d.ts +77 -0
- package/dist/types/components/entity-form-section/EntityFormSection.vue.d.ts.map +1 -0
- package/dist/types/components/entity-link/EntityLink.vue.d.ts +50 -0
- package/dist/types/components/entity-link/EntityLink.vue.d.ts.map +1 -0
- package/dist/types/components/entity-toggle-modal/EntityToggleModal.vue.d.ts +65 -0
- package/dist/types/components/entity-toggle-modal/EntityToggleModal.vue.d.ts.map +1 -0
- package/dist/types/components/onboarding-card/OnboardingCard.vue.d.ts +15 -0
- package/dist/types/components/onboarding-card/OnboardingCard.vue.d.ts.map +1 -0
- package/dist/types/components/permissions-wrapper/PermissionsWrapper.vue.d.ts +56 -0
- package/dist/types/components/permissions-wrapper/PermissionsWrapper.vue.d.ts.map +1 -0
- package/dist/types/composables/index.d.ts +49 -0
- package/dist/types/composables/index.d.ts.map +1 -0
- package/dist/types/composables/useAxios.d.ts +5 -0
- package/dist/types/composables/useAxios.d.ts.map +1 -0
- package/dist/types/composables/useDebouncedFilter.d.ts +11 -0
- package/dist/types/composables/useDebouncedFilter.d.ts.map +1 -0
- package/dist/types/composables/useDeckOptions.d.ts +13 -0
- package/dist/types/composables/useDeckOptions.d.ts.map +1 -0
- package/dist/types/composables/useDeleteUrlBuilder.d.ts +3 -0
- package/dist/types/composables/useDeleteUrlBuilder.d.ts.map +1 -0
- package/dist/types/composables/useErrors.d.ts +11 -0
- package/dist/types/composables/useErrors.d.ts.map +1 -0
- package/dist/types/composables/useExternalLinkCreator.d.ts +2 -0
- package/dist/types/composables/useExternalLinkCreator.d.ts.map +1 -0
- package/dist/types/composables/useFetchUrlBuilder.d.ts +6 -0
- package/dist/types/composables/useFetchUrlBuilder.d.ts.map +1 -0
- package/dist/types/composables/useFetcher.d.ts +40 -0
- package/dist/types/composables/useFetcher.d.ts.map +1 -0
- package/dist/types/composables/useGatewayFeatureSupported.d.ts +11 -0
- package/dist/types/composables/useGatewayFeatureSupported.d.ts.map +1 -0
- package/dist/types/composables/useHelpers.d.ts +12 -0
- package/dist/types/composables/useHelpers.d.ts.map +1 -0
- package/dist/types/composables/useI18n.d.ts +9 -0
- package/dist/types/composables/useI18n.d.ts.map +1 -0
- package/dist/types/composables/useManagedByColumn.d.ts +20 -0
- package/dist/types/composables/useManagedByColumn.d.ts.map +1 -0
- package/dist/types/composables/useManagedByEnabled.d.ts +11 -0
- package/dist/types/composables/useManagedByEnabled.d.ts.map +1 -0
- package/dist/types/composables/useSchema.d.ts +12 -0
- package/dist/types/composables/useSchema.d.ts.map +1 -0
- package/dist/types/composables/useStringHelpers.d.ts +5 -0
- package/dist/types/composables/useStringHelpers.d.ts.map +1 -0
- package/dist/types/composables/useTableState.d.ts +15 -0
- package/dist/types/composables/useTableState.d.ts.map +1 -0
- package/dist/types/composables/useTruncationDetector.d.ts +12 -0
- package/dist/types/composables/useTruncationDetector.d.ts.map +1 -0
- package/dist/types/composables/useValidators.d.ts +8 -0
- package/dist/types/composables/useValidators.d.ts.map +1 -0
- package/dist/types/constants.d.ts +53 -0
- package/dist/types/constants.d.ts.map +1 -0
- package/dist/types/deck-editor.d.ts +18 -0
- package/dist/types/deck-editor.d.ts.map +1 -0
- package/dist/types/index.d.ts +35 -0
- package/dist/types/index.d.ts.map +1 -0
- package/dist/types/types/app-config.d.ts +43 -0
- package/dist/types/types/app-config.d.ts.map +1 -0
- package/dist/types/types/base.d.ts +12 -0
- package/dist/types/types/base.d.ts.map +1 -0
- package/dist/types/types/deck.d.ts +43 -0
- package/dist/types/types/deck.d.ts.map +1 -0
- package/dist/types/types/entity-base-config-card.d.ts +145 -0
- package/dist/types/types/entity-base-config-card.d.ts.map +1 -0
- package/dist/types/types/entity-base-form.d.ts +49 -0
- package/dist/types/types/entity-base-form.d.ts.map +1 -0
- package/dist/types/types/entity-base-table.d.ts +79 -0
- package/dist/types/types/entity-base-table.d.ts.map +1 -0
- package/dist/types/types/entity-delete-modal.d.ts +28 -0
- package/dist/types/types/entity-delete-modal.d.ts.map +1 -0
- package/dist/types/types/entity-empty-state.d.ts +7 -0
- package/dist/types/types/entity-empty-state.d.ts.map +1 -0
- package/dist/types/types/entity-filter.d.ts +48 -0
- package/dist/types/types/entity-filter.d.ts.map +1 -0
- package/dist/types/types/entity-link.d.ts +6 -0
- package/dist/types/types/entity-link.d.ts.map +1 -0
- package/dist/types/types/index.d.ts +14 -0
- package/dist/types/types/index.d.ts.map +1 -0
- package/dist/types/types/onboarding-card.d.ts +37 -0
- package/dist/types/types/onboarding-card.d.ts.map +1 -0
- package/dist/types/types/sensitive-input.d.ts +9 -0
- package/dist/types/types/sensitive-input.d.ts.map +1 -0
- package/dist/types/types/utils.d.ts +13 -0
- package/dist/types/types/utils.d.ts.map +1 -0
- package/dist/types/utils/code-block.d.ts +3 -0
- package/dist/types/utils/code-block.d.ts.map +1 -0
- package/dist/types/utils/managed-by.d.ts +25 -0
- package/dist/types/utils/managed-by.d.ts.map +1 -0
- package/dist/types/utils/shiki.d.ts +4 -0
- package/dist/types/utils/shiki.d.ts.map +1 -0
- package/package.json +5 -5
|
@@ -0,0 +1,213 @@
|
|
|
1
|
+
import type { PropType } from 'vue';
|
|
2
|
+
import { type ConfigCardCodeFormat, type ConfigCardFormat, type KongManagerBaseEntityConfig, type KonnectBaseEntityConfig, type RecordItem, type SupportedEntityType } from '../../types';
|
|
3
|
+
export interface PropList {
|
|
4
|
+
basic?: RecordItem[];
|
|
5
|
+
advanced?: RecordItem[];
|
|
6
|
+
plugin?: RecordItem[];
|
|
7
|
+
}
|
|
8
|
+
declare var __VLS_2: `config-card-item-${string}`, __VLS_3: {
|
|
9
|
+
row: RecordItem;
|
|
10
|
+
}, __VLS_13: `${string}-label`, __VLS_14: {
|
|
11
|
+
row: RecordItem;
|
|
12
|
+
}, __VLS_18: `${string}-label-tooltip`, __VLS_19: {
|
|
13
|
+
row: RecordItem;
|
|
14
|
+
}, __VLS_23: string, __VLS_24: {
|
|
15
|
+
row: RecordItem;
|
|
16
|
+
rowValue: any;
|
|
17
|
+
};
|
|
18
|
+
type __VLS_Slots = {} & {
|
|
19
|
+
[K in NonNullable<typeof __VLS_2>]?: (props: typeof __VLS_3) => any;
|
|
20
|
+
} & {
|
|
21
|
+
[K in NonNullable<typeof __VLS_13>]?: (props: typeof __VLS_14) => any;
|
|
22
|
+
} & {
|
|
23
|
+
[K in NonNullable<typeof __VLS_18>]?: (props: typeof __VLS_19) => any;
|
|
24
|
+
} & {
|
|
25
|
+
[K in NonNullable<typeof __VLS_23>]?: (props: typeof __VLS_24) => any;
|
|
26
|
+
};
|
|
27
|
+
declare const __VLS_base: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
28
|
+
/** The base konnect or kongManger config. Pass additional config props in the shared entity component as needed. */
|
|
29
|
+
config: {
|
|
30
|
+
type: PropType<KonnectBaseEntityConfig | KongManagerBaseEntityConfig>;
|
|
31
|
+
required: false;
|
|
32
|
+
default: () => {};
|
|
33
|
+
};
|
|
34
|
+
entityType: {
|
|
35
|
+
type: PropType<SupportedEntityType>;
|
|
36
|
+
required: true;
|
|
37
|
+
validator: (val: SupportedEntityType) => boolean;
|
|
38
|
+
};
|
|
39
|
+
subEntityType: {
|
|
40
|
+
type: StringConstructor;
|
|
41
|
+
default: string;
|
|
42
|
+
};
|
|
43
|
+
propertyCollections: {
|
|
44
|
+
type: PropType<PropList>;
|
|
45
|
+
required: false;
|
|
46
|
+
default: () => null;
|
|
47
|
+
};
|
|
48
|
+
format: {
|
|
49
|
+
type: PropType<ConfigCardFormat>;
|
|
50
|
+
required: false;
|
|
51
|
+
default: string;
|
|
52
|
+
validator: (val: string) => boolean;
|
|
53
|
+
};
|
|
54
|
+
propListTypes: {
|
|
55
|
+
type: PropType<string[]>;
|
|
56
|
+
required: false;
|
|
57
|
+
default: () => never[];
|
|
58
|
+
};
|
|
59
|
+
/** A record to indicate the entity's configuration, used to populate the JSON/YAML code blocks */
|
|
60
|
+
record: {
|
|
61
|
+
type: PropType<Record<string, any>>;
|
|
62
|
+
required: false;
|
|
63
|
+
default: () => {};
|
|
64
|
+
};
|
|
65
|
+
/**
|
|
66
|
+
* When set, JSON/YAML/TR/deck code blocks use this record instead of `record`
|
|
67
|
+
*/
|
|
68
|
+
codeBlockRecord: {
|
|
69
|
+
type: PropType<Record<string, any>>;
|
|
70
|
+
default: undefined;
|
|
71
|
+
};
|
|
72
|
+
/**
|
|
73
|
+
* When set, JSON/YAML/TR/deck code blocks use this record instead of `codeBlockRecord`
|
|
74
|
+
*/
|
|
75
|
+
codeBlockRecordRedacted: {
|
|
76
|
+
type: PropType<Record<string, any>>;
|
|
77
|
+
default: undefined;
|
|
78
|
+
};
|
|
79
|
+
/**
|
|
80
|
+
* When false/default, strip created_at/ updated_at per KHCP-9837
|
|
81
|
+
* Set true to show full payloads
|
|
82
|
+
*/
|
|
83
|
+
preserveCodeBlockTimestamps: {
|
|
84
|
+
type: BooleanConstructor;
|
|
85
|
+
default: boolean;
|
|
86
|
+
};
|
|
87
|
+
/** Fetcher url for the entity with the filled-in controlPlaneId, workspace, and entity id. */
|
|
88
|
+
fetcherUrl: {
|
|
89
|
+
type: StringConstructor;
|
|
90
|
+
required: false;
|
|
91
|
+
default: string;
|
|
92
|
+
};
|
|
93
|
+
/**
|
|
94
|
+
* A function to format the entity record before displaying it in the code block.
|
|
95
|
+
*/
|
|
96
|
+
codeBlockRecordFormatter: {
|
|
97
|
+
type: PropType<(entityRecord: Record<string, any>, format: ConfigCardCodeFormat) => Record<string, any>>;
|
|
98
|
+
required: false;
|
|
99
|
+
default: (entityRecord: Record<string, any>) => Record<string, any>;
|
|
100
|
+
};
|
|
101
|
+
isDeckCustomizationVisible: {
|
|
102
|
+
type: BooleanConstructor;
|
|
103
|
+
required: false;
|
|
104
|
+
default: boolean;
|
|
105
|
+
};
|
|
106
|
+
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
107
|
+
"deck-customization:close": () => any;
|
|
108
|
+
"request-deck-format": () => any;
|
|
109
|
+
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
110
|
+
/** The base konnect or kongManger config. Pass additional config props in the shared entity component as needed. */
|
|
111
|
+
config: {
|
|
112
|
+
type: PropType<KonnectBaseEntityConfig | KongManagerBaseEntityConfig>;
|
|
113
|
+
required: false;
|
|
114
|
+
default: () => {};
|
|
115
|
+
};
|
|
116
|
+
entityType: {
|
|
117
|
+
type: PropType<SupportedEntityType>;
|
|
118
|
+
required: true;
|
|
119
|
+
validator: (val: SupportedEntityType) => boolean;
|
|
120
|
+
};
|
|
121
|
+
subEntityType: {
|
|
122
|
+
type: StringConstructor;
|
|
123
|
+
default: string;
|
|
124
|
+
};
|
|
125
|
+
propertyCollections: {
|
|
126
|
+
type: PropType<PropList>;
|
|
127
|
+
required: false;
|
|
128
|
+
default: () => null;
|
|
129
|
+
};
|
|
130
|
+
format: {
|
|
131
|
+
type: PropType<ConfigCardFormat>;
|
|
132
|
+
required: false;
|
|
133
|
+
default: string;
|
|
134
|
+
validator: (val: string) => boolean;
|
|
135
|
+
};
|
|
136
|
+
propListTypes: {
|
|
137
|
+
type: PropType<string[]>;
|
|
138
|
+
required: false;
|
|
139
|
+
default: () => never[];
|
|
140
|
+
};
|
|
141
|
+
/** A record to indicate the entity's configuration, used to populate the JSON/YAML code blocks */
|
|
142
|
+
record: {
|
|
143
|
+
type: PropType<Record<string, any>>;
|
|
144
|
+
required: false;
|
|
145
|
+
default: () => {};
|
|
146
|
+
};
|
|
147
|
+
/**
|
|
148
|
+
* When set, JSON/YAML/TR/deck code blocks use this record instead of `record`
|
|
149
|
+
*/
|
|
150
|
+
codeBlockRecord: {
|
|
151
|
+
type: PropType<Record<string, any>>;
|
|
152
|
+
default: undefined;
|
|
153
|
+
};
|
|
154
|
+
/**
|
|
155
|
+
* When set, JSON/YAML/TR/deck code blocks use this record instead of `codeBlockRecord`
|
|
156
|
+
*/
|
|
157
|
+
codeBlockRecordRedacted: {
|
|
158
|
+
type: PropType<Record<string, any>>;
|
|
159
|
+
default: undefined;
|
|
160
|
+
};
|
|
161
|
+
/**
|
|
162
|
+
* When false/default, strip created_at/ updated_at per KHCP-9837
|
|
163
|
+
* Set true to show full payloads
|
|
164
|
+
*/
|
|
165
|
+
preserveCodeBlockTimestamps: {
|
|
166
|
+
type: BooleanConstructor;
|
|
167
|
+
default: boolean;
|
|
168
|
+
};
|
|
169
|
+
/** Fetcher url for the entity with the filled-in controlPlaneId, workspace, and entity id. */
|
|
170
|
+
fetcherUrl: {
|
|
171
|
+
type: StringConstructor;
|
|
172
|
+
required: false;
|
|
173
|
+
default: string;
|
|
174
|
+
};
|
|
175
|
+
/**
|
|
176
|
+
* A function to format the entity record before displaying it in the code block.
|
|
177
|
+
*/
|
|
178
|
+
codeBlockRecordFormatter: {
|
|
179
|
+
type: PropType<(entityRecord: Record<string, any>, format: ConfigCardCodeFormat) => Record<string, any>>;
|
|
180
|
+
required: false;
|
|
181
|
+
default: (entityRecord: Record<string, any>) => Record<string, any>;
|
|
182
|
+
};
|
|
183
|
+
isDeckCustomizationVisible: {
|
|
184
|
+
type: BooleanConstructor;
|
|
185
|
+
required: false;
|
|
186
|
+
default: boolean;
|
|
187
|
+
};
|
|
188
|
+
}>> & Readonly<{
|
|
189
|
+
"onDeck-customization:close"?: (() => any) | undefined;
|
|
190
|
+
"onRequest-deck-format"?: (() => any) | undefined;
|
|
191
|
+
}>, {
|
|
192
|
+
record: Record<string, any>;
|
|
193
|
+
format: "json" | "structured" | "yaml" | "terraform" | "deck";
|
|
194
|
+
config: KonnectBaseEntityConfig | KongManagerBaseEntityConfig;
|
|
195
|
+
fetcherUrl: string;
|
|
196
|
+
subEntityType: string;
|
|
197
|
+
propertyCollections: PropList;
|
|
198
|
+
propListTypes: string[];
|
|
199
|
+
codeBlockRecord: Record<string, any>;
|
|
200
|
+
codeBlockRecordRedacted: Record<string, any>;
|
|
201
|
+
preserveCodeBlockTimestamps: boolean;
|
|
202
|
+
codeBlockRecordFormatter: (entityRecord: Record<string, any>, format: ConfigCardCodeFormat) => Record<string, any>;
|
|
203
|
+
isDeckCustomizationVisible: boolean;
|
|
204
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
205
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
206
|
+
declare const _default: typeof __VLS_export;
|
|
207
|
+
export default _default;
|
|
208
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
209
|
+
new (): {
|
|
210
|
+
$slots: S;
|
|
211
|
+
};
|
|
212
|
+
};
|
|
213
|
+
//# sourceMappingURL=ConfigCardDisplay.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ConfigCardDisplay.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/entity-base-config-card/ConfigCardDisplay.vue"],"names":[],"mappings":"AA4QA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,KAAK,CAAA;AAEnC,OAAO,EAEL,KAAK,oBAAoB,EACzB,KAAK,gBAAgB,EACrB,KAAK,2BAA2B,EAChC,KAAK,uBAAuB,EAC5B,KAAK,UAAU,EAEf,KAAK,mBAAmB,EACzB,MAAM,aAAa,CAAA;AASpB,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;AA0VD,QAAA,IAAI,OAAO,8BAAU,EAAE,OAAO;;CAAU,EAAE,QAAQ,mBAAW,EAAE,QAAQ;;CAAW,EAAE,QAAQ,2BAAW,EAAE,QAAQ;;CAAW,EAAE,QAAQ,QAAW,EAAE,QAAQ;;;CAAY,CAAE;AACzK,KAAK,WAAW,GAAG,EAAE,GACn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 'vue';
|
|
2
|
+
import type { RecordItem } from '../../types';
|
|
3
|
+
declare const _default: typeof __VLS_export;
|
|
4
|
+
export default _default;
|
|
5
|
+
declare const __VLS_export: __VLS_WithSlots<import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
6
|
+
item: {
|
|
7
|
+
type: PropType<RecordItem>;
|
|
8
|
+
required: true;
|
|
9
|
+
};
|
|
10
|
+
slim: {
|
|
11
|
+
type: BooleanConstructor;
|
|
12
|
+
required: false;
|
|
13
|
+
default: boolean;
|
|
14
|
+
};
|
|
15
|
+
truncated: {
|
|
16
|
+
type: BooleanConstructor;
|
|
17
|
+
required: false;
|
|
18
|
+
default: boolean;
|
|
19
|
+
};
|
|
20
|
+
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
|
|
21
|
+
"navigation-click": (record: RecordItem) => any;
|
|
22
|
+
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
23
|
+
item: {
|
|
24
|
+
type: PropType<RecordItem>;
|
|
25
|
+
required: true;
|
|
26
|
+
};
|
|
27
|
+
slim: {
|
|
28
|
+
type: BooleanConstructor;
|
|
29
|
+
required: false;
|
|
30
|
+
default: boolean;
|
|
31
|
+
};
|
|
32
|
+
truncated: {
|
|
33
|
+
type: BooleanConstructor;
|
|
34
|
+
required: false;
|
|
35
|
+
default: boolean;
|
|
36
|
+
};
|
|
37
|
+
}>> & Readonly<{
|
|
38
|
+
"onNavigation-click"?: ((record: RecordItem) => any) | undefined;
|
|
39
|
+
}>, {
|
|
40
|
+
slim: boolean;
|
|
41
|
+
truncated: boolean;
|
|
42
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>, {
|
|
43
|
+
[x: string]: ((props: {
|
|
44
|
+
rowValue: any;
|
|
45
|
+
}) => any) | undefined;
|
|
46
|
+
} & {
|
|
47
|
+
label?: (props: {
|
|
48
|
+
item: RecordItem;
|
|
49
|
+
}) => any;
|
|
50
|
+
} & {
|
|
51
|
+
'label-tooltip'?: (props: {}) => any;
|
|
52
|
+
}>;
|
|
53
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
54
|
+
new (): {
|
|
55
|
+
$slots: S;
|
|
56
|
+
};
|
|
57
|
+
};
|
|
58
|
+
//# sourceMappingURL=ConfigCardItem.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ConfigCardItem.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/entity-base-config-card/ConfigCardItem.vue"],"names":[],"mappings":"AAgeA,OAAO,KAAK,EAAE,QAAQ,EAAO,MAAM,KAAK,CAAA;AAExC,OAAO,KAAK,EAAE,UAAU,EAAsB,MAAM,aAAa,CAAA;wBAa5C,OAAO,YAAY;AAAxC,wBAAyC;AAMzC,QAAA,MAAM,YAAY;;cAmgBE,QAAQ,CAAC,UAAU,CAAC;;;;;;;;;;;;;;;;;cAApB,QAAQ,CAAC,UAAU,CAAC;;;;;;;;;;;;;;;;;;;;;UAd8B,GAAG;;YAC7D,CAAC,KAAK;;KAAgB,KAAK,GAAG;;sBACpB,CAAC,KAAK,IAAiB,KAAK,GAAG;EA4BjD,CAAC;AACL,KAAK,eAAe,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAChC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KACV,CAAA;CACD,CAAC"}
|
|
@@ -0,0 +1,335 @@
|
|
|
1
|
+
import type { PropType } from 'vue';
|
|
2
|
+
import type { AxiosError } from 'axios';
|
|
3
|
+
import type { KonnectBaseEntityConfig, KongManagerBaseEntityConfig, ConfigurationSchema, ConfigCardCodeFormat, PluginConfigurationSchema, RecordItem, SupportedEntityType, PolicyConfigurationSchema } from '../../types';
|
|
4
|
+
import type { HeaderTag } from '@kong/kongponents';
|
|
5
|
+
declare var __VLS_9: {}, __VLS_12: {}, __VLS_74: string, __VLS_75: {
|
|
6
|
+
row: RecordItem;
|
|
7
|
+
rowValue: any;
|
|
8
|
+
record: Record<string, any>;
|
|
9
|
+
};
|
|
10
|
+
type __VLS_Slots = {} & {
|
|
11
|
+
[K in NonNullable<typeof __VLS_74>]?: (props: typeof __VLS_75) => any;
|
|
12
|
+
} & {
|
|
13
|
+
title?: (props: typeof __VLS_9) => any;
|
|
14
|
+
} & {
|
|
15
|
+
actions?: (props: typeof __VLS_12) => any;
|
|
16
|
+
};
|
|
17
|
+
declare const __VLS_base: 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
|
+
/**
|
|
39
|
+
* Sub Entity type, required to generate terraform code for event gateway entities
|
|
40
|
+
*/
|
|
41
|
+
subEntityType: {
|
|
42
|
+
type: StringConstructor;
|
|
43
|
+
default: string;
|
|
44
|
+
};
|
|
45
|
+
/** Record key that contains the plugin configuration */
|
|
46
|
+
pluginConfigKey: {
|
|
47
|
+
type: StringConstructor;
|
|
48
|
+
required: false;
|
|
49
|
+
default: string;
|
|
50
|
+
};
|
|
51
|
+
/** Configuration schema for the plugin configuration section */
|
|
52
|
+
pluginConfigSchema: {
|
|
53
|
+
type: PropType<PluginConfigurationSchema>;
|
|
54
|
+
required: false;
|
|
55
|
+
default: () => {};
|
|
56
|
+
};
|
|
57
|
+
/** Record key that contains the policy configuration */
|
|
58
|
+
policyConfigKey: {
|
|
59
|
+
type: StringConstructor;
|
|
60
|
+
required: false;
|
|
61
|
+
default: string;
|
|
62
|
+
};
|
|
63
|
+
/** Configuration schema for the policy configuration section */
|
|
64
|
+
policyConfigSchema: {
|
|
65
|
+
type: PropType<PolicyConfigurationSchema>;
|
|
66
|
+
required: false;
|
|
67
|
+
default: () => {};
|
|
68
|
+
};
|
|
69
|
+
/**
|
|
70
|
+
* Fetch url for the item to display configuration for.
|
|
71
|
+
* We will handle the replacement of {controlPlaneId}, {workspace}, and {id}.
|
|
72
|
+
* Value should NOT contain config.apiBaseUrl, as we auto include this. Typically this will just an entry from
|
|
73
|
+
* the endpoints file.
|
|
74
|
+
*
|
|
75
|
+
* ex. `/v2/control-planes/{controlPlaneId}/core-entities/snis/{id}`
|
|
76
|
+
*/
|
|
77
|
+
fetchUrl: {
|
|
78
|
+
type: StringConstructor;
|
|
79
|
+
required: true;
|
|
80
|
+
};
|
|
81
|
+
/**
|
|
82
|
+
* Optional key to use to access the record from fetched response.data
|
|
83
|
+
* If not provided, response.data will be used.
|
|
84
|
+
*/
|
|
85
|
+
dataKey: {
|
|
86
|
+
type: StringConstructor;
|
|
87
|
+
required: false;
|
|
88
|
+
default: string;
|
|
89
|
+
};
|
|
90
|
+
/**
|
|
91
|
+
* Function to resolve the record from the fetched response.
|
|
92
|
+
* This prop only works if dataKey is not provided.
|
|
93
|
+
*/
|
|
94
|
+
recordResolver: {
|
|
95
|
+
type: PropType<(data: Record<string, any>) => Record<string, any>>;
|
|
96
|
+
required: false;
|
|
97
|
+
default: (data: Record<string, any>) => Record<string, any>;
|
|
98
|
+
};
|
|
99
|
+
/**
|
|
100
|
+
* A function to format the entity record before displaying it in the code block.
|
|
101
|
+
*/
|
|
102
|
+
codeBlockRecordFormatter: {
|
|
103
|
+
type: PropType<(entityRecord: Record<string, any>, format: ConfigCardCodeFormat) => Record<string, any>>;
|
|
104
|
+
required: false;
|
|
105
|
+
default: (entityRecord: Record<string, any>) => Record<string, any>;
|
|
106
|
+
};
|
|
107
|
+
/**
|
|
108
|
+
* JSON tab show the same nested shape the GET returned
|
|
109
|
+
*/
|
|
110
|
+
codeBlockRecordResolver: {
|
|
111
|
+
type: PropType<(rawData: Record<string, any>) => Record<string, any>>;
|
|
112
|
+
required: false;
|
|
113
|
+
default: undefined;
|
|
114
|
+
};
|
|
115
|
+
/**
|
|
116
|
+
* When true, code blocks keep `created_at`/ `updated_at` (default strips them per KHCP-9837)
|
|
117
|
+
*/
|
|
118
|
+
preserveCodeBlockTimestamps: {
|
|
119
|
+
type: BooleanConstructor;
|
|
120
|
+
required: false;
|
|
121
|
+
default: boolean;
|
|
122
|
+
};
|
|
123
|
+
/**
|
|
124
|
+
* Boolean to control card title visibility.
|
|
125
|
+
*/
|
|
126
|
+
hideTitle: {
|
|
127
|
+
type: BooleanConstructor;
|
|
128
|
+
default: boolean;
|
|
129
|
+
};
|
|
130
|
+
/**
|
|
131
|
+
* The label text to show for the select Format element
|
|
132
|
+
*/
|
|
133
|
+
label: {
|
|
134
|
+
type: StringConstructor;
|
|
135
|
+
default: string;
|
|
136
|
+
required: false;
|
|
137
|
+
};
|
|
138
|
+
/**
|
|
139
|
+
* External link for documentation
|
|
140
|
+
*/
|
|
141
|
+
configCardDoc: {
|
|
142
|
+
type: StringConstructor;
|
|
143
|
+
default: string;
|
|
144
|
+
required: false;
|
|
145
|
+
};
|
|
146
|
+
titleTag: {
|
|
147
|
+
type: PropType<HeaderTag>;
|
|
148
|
+
default: string;
|
|
149
|
+
};
|
|
150
|
+
/**
|
|
151
|
+
* Hide entries from the Format dropdown (eg. ['yaml']). Structured view is always shown
|
|
152
|
+
*/
|
|
153
|
+
formatsToHide: {
|
|
154
|
+
type: PropType<ConfigCardCodeFormat[]>;
|
|
155
|
+
required: false;
|
|
156
|
+
default: () => never[];
|
|
157
|
+
};
|
|
158
|
+
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
|
|
159
|
+
loading: (isLoading: boolean) => any;
|
|
160
|
+
"fetch:success": (data: Record<string, any>) => any;
|
|
161
|
+
"fetch:error": (error: AxiosError<unknown, any, any>) => any;
|
|
162
|
+
configFormatChange: (format: "json" | "structured" | "yaml" | "terraform" | "deck") => any;
|
|
163
|
+
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
164
|
+
/** The base konnect or kongManger config. Pass additional config props in the shared entity component as needed. */
|
|
165
|
+
config: {
|
|
166
|
+
type: PropType<KonnectBaseEntityConfig | KongManagerBaseEntityConfig>;
|
|
167
|
+
required: true;
|
|
168
|
+
validator: (config: KonnectBaseEntityConfig | KongManagerBaseEntityConfig) => boolean;
|
|
169
|
+
};
|
|
170
|
+
/** Schema to configure display of fields */
|
|
171
|
+
configSchema: {
|
|
172
|
+
type: PropType<ConfigurationSchema>;
|
|
173
|
+
required: false;
|
|
174
|
+
default: () => {};
|
|
175
|
+
};
|
|
176
|
+
/**
|
|
177
|
+
* Entity type, required to generate terraform code
|
|
178
|
+
*/
|
|
179
|
+
entityType: {
|
|
180
|
+
type: PropType<SupportedEntityType>;
|
|
181
|
+
required: true;
|
|
182
|
+
validator: (val: SupportedEntityType) => boolean;
|
|
183
|
+
};
|
|
184
|
+
/**
|
|
185
|
+
* Sub Entity type, required to generate terraform code for event gateway entities
|
|
186
|
+
*/
|
|
187
|
+
subEntityType: {
|
|
188
|
+
type: StringConstructor;
|
|
189
|
+
default: string;
|
|
190
|
+
};
|
|
191
|
+
/** Record key that contains the plugin configuration */
|
|
192
|
+
pluginConfigKey: {
|
|
193
|
+
type: StringConstructor;
|
|
194
|
+
required: false;
|
|
195
|
+
default: string;
|
|
196
|
+
};
|
|
197
|
+
/** Configuration schema for the plugin configuration section */
|
|
198
|
+
pluginConfigSchema: {
|
|
199
|
+
type: PropType<PluginConfigurationSchema>;
|
|
200
|
+
required: false;
|
|
201
|
+
default: () => {};
|
|
202
|
+
};
|
|
203
|
+
/** Record key that contains the policy configuration */
|
|
204
|
+
policyConfigKey: {
|
|
205
|
+
type: StringConstructor;
|
|
206
|
+
required: false;
|
|
207
|
+
default: string;
|
|
208
|
+
};
|
|
209
|
+
/** Configuration schema for the policy configuration section */
|
|
210
|
+
policyConfigSchema: {
|
|
211
|
+
type: PropType<PolicyConfigurationSchema>;
|
|
212
|
+
required: false;
|
|
213
|
+
default: () => {};
|
|
214
|
+
};
|
|
215
|
+
/**
|
|
216
|
+
* Fetch url for the item to display configuration for.
|
|
217
|
+
* We will handle the replacement of {controlPlaneId}, {workspace}, and {id}.
|
|
218
|
+
* Value should NOT contain config.apiBaseUrl, as we auto include this. Typically this will just an entry from
|
|
219
|
+
* the endpoints file.
|
|
220
|
+
*
|
|
221
|
+
* ex. `/v2/control-planes/{controlPlaneId}/core-entities/snis/{id}`
|
|
222
|
+
*/
|
|
223
|
+
fetchUrl: {
|
|
224
|
+
type: StringConstructor;
|
|
225
|
+
required: true;
|
|
226
|
+
};
|
|
227
|
+
/**
|
|
228
|
+
* Optional key to use to access the record from fetched response.data
|
|
229
|
+
* If not provided, response.data will be used.
|
|
230
|
+
*/
|
|
231
|
+
dataKey: {
|
|
232
|
+
type: StringConstructor;
|
|
233
|
+
required: false;
|
|
234
|
+
default: string;
|
|
235
|
+
};
|
|
236
|
+
/**
|
|
237
|
+
* Function to resolve the record from the fetched response.
|
|
238
|
+
* This prop only works if dataKey is not provided.
|
|
239
|
+
*/
|
|
240
|
+
recordResolver: {
|
|
241
|
+
type: PropType<(data: Record<string, any>) => Record<string, any>>;
|
|
242
|
+
required: false;
|
|
243
|
+
default: (data: Record<string, any>) => Record<string, any>;
|
|
244
|
+
};
|
|
245
|
+
/**
|
|
246
|
+
* A function to format the entity record before displaying it in the code block.
|
|
247
|
+
*/
|
|
248
|
+
codeBlockRecordFormatter: {
|
|
249
|
+
type: PropType<(entityRecord: Record<string, any>, format: ConfigCardCodeFormat) => Record<string, any>>;
|
|
250
|
+
required: false;
|
|
251
|
+
default: (entityRecord: Record<string, any>) => Record<string, any>;
|
|
252
|
+
};
|
|
253
|
+
/**
|
|
254
|
+
* JSON tab show the same nested shape the GET returned
|
|
255
|
+
*/
|
|
256
|
+
codeBlockRecordResolver: {
|
|
257
|
+
type: PropType<(rawData: Record<string, any>) => Record<string, any>>;
|
|
258
|
+
required: false;
|
|
259
|
+
default: undefined;
|
|
260
|
+
};
|
|
261
|
+
/**
|
|
262
|
+
* When true, code blocks keep `created_at`/ `updated_at` (default strips them per KHCP-9837)
|
|
263
|
+
*/
|
|
264
|
+
preserveCodeBlockTimestamps: {
|
|
265
|
+
type: BooleanConstructor;
|
|
266
|
+
required: false;
|
|
267
|
+
default: boolean;
|
|
268
|
+
};
|
|
269
|
+
/**
|
|
270
|
+
* Boolean to control card title visibility.
|
|
271
|
+
*/
|
|
272
|
+
hideTitle: {
|
|
273
|
+
type: BooleanConstructor;
|
|
274
|
+
default: boolean;
|
|
275
|
+
};
|
|
276
|
+
/**
|
|
277
|
+
* The label text to show for the select Format element
|
|
278
|
+
*/
|
|
279
|
+
label: {
|
|
280
|
+
type: StringConstructor;
|
|
281
|
+
default: string;
|
|
282
|
+
required: false;
|
|
283
|
+
};
|
|
284
|
+
/**
|
|
285
|
+
* External link for documentation
|
|
286
|
+
*/
|
|
287
|
+
configCardDoc: {
|
|
288
|
+
type: StringConstructor;
|
|
289
|
+
default: string;
|
|
290
|
+
required: false;
|
|
291
|
+
};
|
|
292
|
+
titleTag: {
|
|
293
|
+
type: PropType<HeaderTag>;
|
|
294
|
+
default: string;
|
|
295
|
+
};
|
|
296
|
+
/**
|
|
297
|
+
* Hide entries from the Format dropdown (eg. ['yaml']). Structured view is always shown
|
|
298
|
+
*/
|
|
299
|
+
formatsToHide: {
|
|
300
|
+
type: PropType<ConfigCardCodeFormat[]>;
|
|
301
|
+
required: false;
|
|
302
|
+
default: () => never[];
|
|
303
|
+
};
|
|
304
|
+
}>> & Readonly<{
|
|
305
|
+
onLoading?: ((isLoading: boolean) => any) | undefined;
|
|
306
|
+
"onFetch:success"?: ((data: Record<string, any>) => any) | undefined;
|
|
307
|
+
"onFetch:error"?: ((error: AxiosError<unknown, any, any>) => any) | undefined;
|
|
308
|
+
onConfigFormatChange?: ((format: "json" | "structured" | "yaml" | "terraform" | "deck") => any) | undefined;
|
|
309
|
+
}>, {
|
|
310
|
+
label: string;
|
|
311
|
+
titleTag: HeaderTag;
|
|
312
|
+
subEntityType: string;
|
|
313
|
+
preserveCodeBlockTimestamps: boolean;
|
|
314
|
+
codeBlockRecordFormatter: (entityRecord: Record<string, any>, format: ConfigCardCodeFormat) => Record<string, any>;
|
|
315
|
+
configSchema: ConfigurationSchema;
|
|
316
|
+
pluginConfigKey: string;
|
|
317
|
+
pluginConfigSchema: PluginConfigurationSchema;
|
|
318
|
+
policyConfigKey: string;
|
|
319
|
+
policyConfigSchema: PolicyConfigurationSchema;
|
|
320
|
+
dataKey: string;
|
|
321
|
+
recordResolver: (data: Record<string, any>) => Record<string, any>;
|
|
322
|
+
codeBlockRecordResolver: (rawData: Record<string, any>) => Record<string, any>;
|
|
323
|
+
hideTitle: boolean;
|
|
324
|
+
configCardDoc: string;
|
|
325
|
+
formatsToHide: ConfigCardCodeFormat[];
|
|
326
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
327
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
328
|
+
declare const _default: typeof __VLS_export;
|
|
329
|
+
export default _default;
|
|
330
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
331
|
+
new (): {
|
|
332
|
+
$slots: S;
|
|
333
|
+
};
|
|
334
|
+
};
|
|
335
|
+
//# sourceMappingURL=EntityBaseConfigCard.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"EntityBaseConfigCard.vue.d.ts","sour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CAAC;KACV,CAAA;CACD,CAAC"}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import type { PropType } from 'vue';
|
|
2
|
+
import type { RecordItem } from '../../types';
|
|
3
|
+
declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
4
|
+
item: {
|
|
5
|
+
type: PropType<RecordItem>;
|
|
6
|
+
required: true;
|
|
7
|
+
};
|
|
8
|
+
}>, {}, {}, {}, {}, 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
|
+
declare const _default: typeof __VLS_export;
|
|
19
|
+
export default _default;
|
|
20
|
+
//# sourceMappingURL=InternalLinkItem.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"InternalLinkItem.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/entity-base-config-card/InternalLinkItem.vue"],"names":[],"mappings":"AAwEA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,KAAK,CAAA;AACnC,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,aAAa,CAAA;AAwH7C,QAAA,MAAM,YAAY;;cAIE,QAAQ,CAAC,UAAU,CAAC;;;;;;;cAApB,QAAQ,CAAC,UAAU,CAAC;;;;;iFAItC,CAAC;wBACkB,OAAO,YAAY;AAAxC,wBAAyC"}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import type { PropType } from 'vue';
|
|
2
|
+
import type { RecordItem } from '../../types';
|
|
3
|
+
declare const __VLS_export: 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
|
+
}>, {}, {}, {}, {}, 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
|
+
declare const _default: typeof __VLS_export;
|
|
34
|
+
export default _default;
|
|
35
|
+
//# sourceMappingURL=JsonCardItem.vue.d.ts.map
|