@kong-ui-public/entities-shared 3.33.1 → 3.33.2-pr.2609.f4d92e2e4.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (104) hide show
  1. package/package.json +1 -1
  2. package/dist/entities-shared.es.js +0 -4729
  3. package/dist/entities-shared.umd.js +0 -54
  4. package/dist/style.css +0 -1
  5. package/dist/types/components/common/JsonCodeBlock.vue.d.ts +0 -58
  6. package/dist/types/components/common/JsonCodeBlock.vue.d.ts.map +0 -1
  7. package/dist/types/components/common/TableTags.vue.d.ts +0 -26
  8. package/dist/types/components/common/TableTags.vue.d.ts.map +0 -1
  9. package/dist/types/components/common/TerraformCodeBlock.vue.d.ts +0 -46
  10. package/dist/types/components/common/TerraformCodeBlock.vue.d.ts.map +0 -1
  11. package/dist/types/components/common/YamlCodeBlock.vue.d.ts +0 -16
  12. package/dist/types/components/common/YamlCodeBlock.vue.d.ts.map +0 -1
  13. package/dist/types/components/entity-base-config-card/ConfigCardDisplay.vue.d.ts +0 -151
  14. package/dist/types/components/entity-base-config-card/ConfigCardDisplay.vue.d.ts.map +0 -1
  15. package/dist/types/components/entity-base-config-card/ConfigCardItem.vue.d.ts +0 -116
  16. package/dist/types/components/entity-base-config-card/ConfigCardItem.vue.d.ts.map +0 -1
  17. package/dist/types/components/entity-base-config-card/EntityBaseConfigCard.vue.d.ts +0 -284
  18. package/dist/types/components/entity-base-config-card/EntityBaseConfigCard.vue.d.ts.map +0 -1
  19. package/dist/types/components/entity-base-config-card/InternalLinkItem.vue.d.ts +0 -19
  20. package/dist/types/components/entity-base-config-card/InternalLinkItem.vue.d.ts.map +0 -1
  21. package/dist/types/components/entity-base-config-card/JsonCardItem.vue.d.ts +0 -34
  22. package/dist/types/components/entity-base-config-card/JsonCardItem.vue.d.ts.map +0 -1
  23. package/dist/types/components/entity-base-config-card/StatusBadge.vue.d.ts +0 -15
  24. package/dist/types/components/entity-base-config-card/StatusBadge.vue.d.ts.map +0 -1
  25. package/dist/types/components/entity-base-form/EntityBaseForm.vue.d.ts +0 -288
  26. package/dist/types/components/entity-base-form/EntityBaseForm.vue.d.ts.map +0 -1
  27. package/dist/types/components/entity-base-table/EntityBaseTable.vue.d.ts +0 -325
  28. package/dist/types/components/entity-base-table/EntityBaseTable.vue.d.ts.map +0 -1
  29. package/dist/types/components/entity-base-table/EntityBaseTableCell.vue.d.ts +0 -44
  30. package/dist/types/components/entity-base-table/EntityBaseTableCell.vue.d.ts.map +0 -1
  31. package/dist/types/components/entity-delete-modal/EntityDeleteModal.vue.d.ts +0 -96
  32. package/dist/types/components/entity-delete-modal/EntityDeleteModal.vue.d.ts.map +0 -1
  33. package/dist/types/components/entity-empty-state/EntityEmptyState.vue.d.ts +0 -116
  34. package/dist/types/components/entity-empty-state/EntityEmptyState.vue.d.ts.map +0 -1
  35. package/dist/types/components/entity-filter/EntityFilter.vue.d.ts +0 -37
  36. package/dist/types/components/entity-filter/EntityFilter.vue.d.ts.map +0 -1
  37. package/dist/types/components/entity-form-block/EntityFormBlock.vue.d.ts +0 -20
  38. package/dist/types/components/entity-form-block/EntityFormBlock.vue.d.ts.map +0 -1
  39. package/dist/types/components/entity-form-section/EntityFormSection.vue.d.ts +0 -76
  40. package/dist/types/components/entity-form-section/EntityFormSection.vue.d.ts.map +0 -1
  41. package/dist/types/components/entity-link/EntityLink.vue.d.ts +0 -49
  42. package/dist/types/components/entity-link/EntityLink.vue.d.ts.map +0 -1
  43. package/dist/types/components/entity-toggle-modal/EntityToggleModal.vue.d.ts +0 -64
  44. package/dist/types/components/entity-toggle-modal/EntityToggleModal.vue.d.ts.map +0 -1
  45. package/dist/types/components/icons/IconFilter.vue.d.ts +0 -15
  46. package/dist/types/components/icons/IconFilter.vue.d.ts.map +0 -1
  47. package/dist/types/components/permissions-wrapper/PermissionsWrapper.vue.d.ts +0 -55
  48. package/dist/types/components/permissions-wrapper/PermissionsWrapper.vue.d.ts.map +0 -1
  49. package/dist/types/composables/index.d.ts +0 -39
  50. package/dist/types/composables/index.d.ts.map +0 -1
  51. package/dist/types/composables/useAxios.d.ts +0 -5
  52. package/dist/types/composables/useAxios.d.ts.map +0 -1
  53. package/dist/types/composables/useDebouncedFilter.d.ts +0 -11
  54. package/dist/types/composables/useDebouncedFilter.d.ts.map +0 -1
  55. package/dist/types/composables/useDeleteUrlBuilder.d.ts +0 -3
  56. package/dist/types/composables/useDeleteUrlBuilder.d.ts.map +0 -1
  57. package/dist/types/composables/useErrors.d.ts +0 -11
  58. package/dist/types/composables/useErrors.d.ts.map +0 -1
  59. package/dist/types/composables/useExternalLinkCreator.d.ts +0 -2
  60. package/dist/types/composables/useExternalLinkCreator.d.ts.map +0 -1
  61. package/dist/types/composables/useFetchUrlBuilder.d.ts +0 -6
  62. package/dist/types/composables/useFetchUrlBuilder.d.ts.map +0 -1
  63. package/dist/types/composables/useFetcher.d.ts +0 -40
  64. package/dist/types/composables/useFetcher.d.ts.map +0 -1
  65. package/dist/types/composables/useGatewayFeatureSupported.d.ts +0 -11
  66. package/dist/types/composables/useGatewayFeatureSupported.d.ts.map +0 -1
  67. package/dist/types/composables/useHelpers.d.ts +0 -7
  68. package/dist/types/composables/useHelpers.d.ts.map +0 -1
  69. package/dist/types/composables/useI18n.d.ts +0 -9
  70. package/dist/types/composables/useI18n.d.ts.map +0 -1
  71. package/dist/types/composables/useSchema.d.ts +0 -11
  72. package/dist/types/composables/useSchema.d.ts.map +0 -1
  73. package/dist/types/composables/useStringHelpers.d.ts +0 -5
  74. package/dist/types/composables/useStringHelpers.d.ts.map +0 -1
  75. package/dist/types/composables/useTableState.d.ts +0 -15
  76. package/dist/types/composables/useTableState.d.ts.map +0 -1
  77. package/dist/types/composables/useTruncationDetector.d.ts +0 -12
  78. package/dist/types/composables/useTruncationDetector.d.ts.map +0 -1
  79. package/dist/types/composables/useValidators.d.ts +0 -8
  80. package/dist/types/composables/useValidators.d.ts.map +0 -1
  81. package/dist/types/index.d.ts +0 -25
  82. package/dist/types/index.d.ts.map +0 -1
  83. package/dist/types/types/app-config.d.ts +0 -35
  84. package/dist/types/types/app-config.d.ts.map +0 -1
  85. package/dist/types/types/base.d.ts +0 -12
  86. package/dist/types/types/base.d.ts.map +0 -1
  87. package/dist/types/types/entity-base-config-card.d.ts +0 -112
  88. package/dist/types/types/entity-base-config-card.d.ts.map +0 -1
  89. package/dist/types/types/entity-base-form.d.ts +0 -19
  90. package/dist/types/types/entity-base-form.d.ts.map +0 -1
  91. package/dist/types/types/entity-base-table.d.ts +0 -79
  92. package/dist/types/types/entity-base-table.d.ts.map +0 -1
  93. package/dist/types/types/entity-delete-modal.d.ts +0 -28
  94. package/dist/types/types/entity-delete-modal.d.ts.map +0 -1
  95. package/dist/types/types/entity-empty-state.d.ts +0 -7
  96. package/dist/types/types/entity-empty-state.d.ts.map +0 -1
  97. package/dist/types/types/entity-filter.d.ts +0 -46
  98. package/dist/types/types/entity-filter.d.ts.map +0 -1
  99. package/dist/types/types/entity-link.d.ts +0 -6
  100. package/dist/types/types/entity-link.d.ts.map +0 -1
  101. package/dist/types/types/index.d.ts +0 -11
  102. package/dist/types/types/index.d.ts.map +0 -1
  103. package/dist/types/types/utils.d.ts +0 -13
  104. package/dist/types/types/utils.d.ts.map +0 -1
@@ -1,288 +0,0 @@
1
- import type { PropType } from 'vue';
2
- import type { AxiosError } from 'axios';
3
- import type { KonnectBaseFormConfig, KongManagerBaseFormConfig } from '../../types';
4
- import { SupportedEntityType } from '../../types';
5
- declare var __VLS_21: {}, __VLS_33: {};
6
- type __VLS_Slots = {} & {
7
- default?: (props: typeof __VLS_21) => any;
8
- } & {
9
- 'form-actions'?: (props: typeof __VLS_33) => any;
10
- };
11
- declare const __VLS_component: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
12
- /** The base konnect or kongManger config. Pass additional config props in the shared entity component as needed. */
13
- config: {
14
- type: PropType<KonnectBaseFormConfig | KongManagerBaseFormConfig>;
15
- required: true;
16
- validator: (config: KonnectBaseFormConfig | KongManagerBaseFormConfig) => boolean;
17
- };
18
- /** If a valid edit ID is provided, it will put the form in Edit mode instead of Create */
19
- editId: {
20
- type: StringConstructor;
21
- required: false;
22
- default: string;
23
- };
24
- /**
25
- * Entity type, required to generate terraform code
26
- */
27
- entityType: {
28
- type: PropType<SupportedEntityType>;
29
- required: true;
30
- validator: (val: SupportedEntityType) => boolean;
31
- };
32
- /**
33
- * Sub entity type, required for event gateway entities to generate terraform code
34
- */
35
- subEntityType: {
36
- type: StringConstructor;
37
- required: false;
38
- default: string;
39
- };
40
- /**
41
- * Fetch url for the item to edit. We will handle the replacement of {controlPlaneId}, {workspace}, and {id}.
42
- * Value should NOT contain config.apiBaseUrl, as we auto include this. Typically this will just an entry from
43
- * the endpoints file.
44
- * Required if `editId` is specified.
45
- *
46
- * ex. `/v2/control-planes/{controlPlaneId}/core-entities/snis/{id}`
47
- */
48
- fetchUrl: {
49
- type: StringConstructor;
50
- required: false;
51
- default: string;
52
- };
53
- /** Set this prop to true during Save action. Disables save and cancel buttons */
54
- isReadonly: {
55
- type: BooleanConstructor;
56
- required: false;
57
- default: boolean;
58
- };
59
- /** Used to track form validation, disables save button when false */
60
- canSubmit: {
61
- type: BooleanConstructor;
62
- required: false;
63
- default: undefined;
64
- };
65
- /** If form submission fails, this is the error message to display */
66
- errorMessage: {
67
- type: StringConstructor;
68
- required: false;
69
- default: string;
70
- };
71
- /** Used to populate the Configuration JSON/YAML code blocks */
72
- formFields: {
73
- type: PropType<Record<string, any>>;
74
- required: true;
75
- };
76
- /**
77
- * Set true to disable the form validation upon submission.
78
- */
79
- noValidate: {
80
- type: BooleanConstructor;
81
- default: boolean;
82
- };
83
- /**
84
- * Wrapper component to use at component's root level.
85
- */
86
- wrapperComponent: {
87
- type: StringConstructor;
88
- default: string;
89
- };
90
- /**
91
- * Teleport target for the actions
92
- */
93
- actionTeleportTarget: {
94
- type: StringConstructor;
95
- default: undefined;
96
- };
97
- /**
98
- * Hide the actions
99
- */
100
- hideActions: {
101
- type: BooleanConstructor;
102
- default: boolean;
103
- };
104
- /**
105
- * Top offset for the slideout
106
- */
107
- slidoutTopOffset: {
108
- type: NumberConstructor;
109
- default: number;
110
- };
111
- /**
112
- * Controls whether to align action buttons to left
113
- */
114
- alignActionButtonToLeft: {
115
- type: BooleanConstructor;
116
- default: boolean;
117
- };
118
- /**
119
- * Save and Cancel button text override
120
- */
121
- saveButtonText: {
122
- type: StringConstructor;
123
- default: undefined;
124
- };
125
- cancelButtonText: {
126
- type: StringConstructor;
127
- default: undefined;
128
- };
129
- }>, {
130
- viewConfig: () => void;
131
- formCancel: () => void;
132
- formSubmit: () => void;
133
- }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
134
- loading: (isLoading: boolean) => any;
135
- cancel: () => any;
136
- "fetch:success": (data: Record<string, any>) => any;
137
- "fetch:error": (error: AxiosError<unknown, any>) => any;
138
- submit: () => any;
139
- codeBlockTabChange: (data: string) => any;
140
- }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
141
- /** The base konnect or kongManger config. Pass additional config props in the shared entity component as needed. */
142
- config: {
143
- type: PropType<KonnectBaseFormConfig | KongManagerBaseFormConfig>;
144
- required: true;
145
- validator: (config: KonnectBaseFormConfig | KongManagerBaseFormConfig) => boolean;
146
- };
147
- /** If a valid edit ID is provided, it will put the form in Edit mode instead of Create */
148
- editId: {
149
- type: StringConstructor;
150
- required: false;
151
- default: string;
152
- };
153
- /**
154
- * Entity type, required to generate terraform code
155
- */
156
- entityType: {
157
- type: PropType<SupportedEntityType>;
158
- required: true;
159
- validator: (val: SupportedEntityType) => boolean;
160
- };
161
- /**
162
- * Sub entity type, required for event gateway entities to generate terraform code
163
- */
164
- subEntityType: {
165
- type: StringConstructor;
166
- required: false;
167
- default: string;
168
- };
169
- /**
170
- * Fetch url for the item to edit. We will handle the replacement of {controlPlaneId}, {workspace}, and {id}.
171
- * Value should NOT contain config.apiBaseUrl, as we auto include this. Typically this will just an entry from
172
- * the endpoints file.
173
- * Required if `editId` is specified.
174
- *
175
- * ex. `/v2/control-planes/{controlPlaneId}/core-entities/snis/{id}`
176
- */
177
- fetchUrl: {
178
- type: StringConstructor;
179
- required: false;
180
- default: string;
181
- };
182
- /** Set this prop to true during Save action. Disables save and cancel buttons */
183
- isReadonly: {
184
- type: BooleanConstructor;
185
- required: false;
186
- default: boolean;
187
- };
188
- /** Used to track form validation, disables save button when false */
189
- canSubmit: {
190
- type: BooleanConstructor;
191
- required: false;
192
- default: undefined;
193
- };
194
- /** If form submission fails, this is the error message to display */
195
- errorMessage: {
196
- type: StringConstructor;
197
- required: false;
198
- default: string;
199
- };
200
- /** Used to populate the Configuration JSON/YAML code blocks */
201
- formFields: {
202
- type: PropType<Record<string, any>>;
203
- required: true;
204
- };
205
- /**
206
- * Set true to disable the form validation upon submission.
207
- */
208
- noValidate: {
209
- type: BooleanConstructor;
210
- default: boolean;
211
- };
212
- /**
213
- * Wrapper component to use at component's root level.
214
- */
215
- wrapperComponent: {
216
- type: StringConstructor;
217
- default: string;
218
- };
219
- /**
220
- * Teleport target for the actions
221
- */
222
- actionTeleportTarget: {
223
- type: StringConstructor;
224
- default: undefined;
225
- };
226
- /**
227
- * Hide the actions
228
- */
229
- hideActions: {
230
- type: BooleanConstructor;
231
- default: boolean;
232
- };
233
- /**
234
- * Top offset for the slideout
235
- */
236
- slidoutTopOffset: {
237
- type: NumberConstructor;
238
- default: number;
239
- };
240
- /**
241
- * Controls whether to align action buttons to left
242
- */
243
- alignActionButtonToLeft: {
244
- type: BooleanConstructor;
245
- default: boolean;
246
- };
247
- /**
248
- * Save and Cancel button text override
249
- */
250
- saveButtonText: {
251
- type: StringConstructor;
252
- default: undefined;
253
- };
254
- cancelButtonText: {
255
- type: StringConstructor;
256
- default: undefined;
257
- };
258
- }>> & Readonly<{
259
- onLoading?: ((isLoading: boolean) => any) | undefined;
260
- onCancel?: (() => any) | undefined;
261
- "onFetch:success"?: ((data: Record<string, any>) => any) | undefined;
262
- "onFetch:error"?: ((error: AxiosError<unknown, any>) => any) | undefined;
263
- onSubmit?: (() => any) | undefined;
264
- onCodeBlockTabChange?: ((data: string) => any) | undefined;
265
- }>, {
266
- subEntityType: string;
267
- fetchUrl: string;
268
- editId: string;
269
- isReadonly: boolean;
270
- canSubmit: boolean;
271
- errorMessage: string;
272
- noValidate: boolean;
273
- wrapperComponent: string;
274
- actionTeleportTarget: string;
275
- hideActions: boolean;
276
- slidoutTopOffset: number;
277
- alignActionButtonToLeft: boolean;
278
- saveButtonText: string;
279
- cancelButtonText: string;
280
- }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
281
- declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
282
- export default _default;
283
- type __VLS_WithSlots<T, S> = T & {
284
- new (): {
285
- $slots: S;
286
- };
287
- };
288
- //# sourceMappingURL=EntityBaseForm.vue.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"EntityBaseForm.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/entity-base-form/EntityBaseForm.vue"],"names":[],"mappings":"AAubA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,KAAK,CAAA;AAGnC,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,OAAO,CAAA;AACvC,OAAO,KAAK,EAAE,qBAAqB,EAAE,yBAAyB,EAAE,MAAM,aAAa,CAAA;AACnF,OAAO,EAA6B,mBAAmB,EAAE,MAAM,aAAa,CAAA;AAunB5E,QAAA,IAAI,QAAQ,IAAW,EAAE,QAAQ,IAAY,CAAE;AAC/C,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,CAAC;AA+JvD,QAAA,MAAM,eAAe;IAMnB,oHAAoH;;cAElG,QAA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CAAC,GAAG;IAChC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
@@ -1,325 +0,0 @@
1
- import type { PropType } from 'vue';
2
- import type { TableStateParams } from '../../types';
3
- import type { HeaderTag, TablePreferences, SortHandlerFunctionParam, TableDataFetcherParams, TableDataProps, TablePaginationAttributes } from '@kong/kongponents';
4
- import type { BaseTableHeaders, EmptyStateOptions, FetcherResponse, TableSortParams, TableErrorMessage } from '../../types';
5
- declare var __VLS_22: {}, __VLS_24: {}, __VLS_27: {}, __VLS_35: string | number, __VLS_36: {
6
- row: any;
7
- rowKey: NoInfer<string | ((row: Record<string, any>) => string)> | undefined;
8
- rowValue: any;
9
- }, __VLS_39: {
10
- row: any;
11
- }, __VLS_47: {};
12
- type __VLS_Slots = {} & {
13
- [K in NonNullable<typeof __VLS_35>]?: (props: typeof __VLS_36) => any;
14
- } & {
15
- 'toolbar-filter'?: (props: typeof __VLS_22) => any;
16
- } & {
17
- 'toolbar-button'?: (props: typeof __VLS_24) => any;
18
- } & {
19
- 'empty-state'?: (props: typeof __VLS_27) => any;
20
- } & {
21
- actions?: (props: typeof __VLS_39) => any;
22
- } & {
23
- 'outside-actions'?: (props: typeof __VLS_47) => any;
24
- };
25
- declare const __VLS_component: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
26
- tableHeaders: {
27
- type: PropType<BaseTableHeaders>;
28
- required: true;
29
- default: () => {};
30
- };
31
- fetcher: {
32
- type: PropType<(param: TableDataFetcherParams) => Promise<FetcherResponse>>;
33
- required: true;
34
- default: () => Promise<{
35
- data: never[];
36
- total: number;
37
- }>;
38
- };
39
- initialFetcherParams: {
40
- type: PropType<Partial<Omit<TableDataFetcherParams<string, string>, "query">>>;
41
- default: null;
42
- };
43
- rowKey: {
44
- type: PropType<TableDataProps["rowKey"]>;
45
- default: string;
46
- };
47
- cacheIdentifier: {
48
- type: StringConstructor;
49
- default: string;
50
- };
51
- fetcherCacheKey: {
52
- type: NumberConstructor;
53
- default: number;
54
- };
55
- isLoading: {
56
- type: BooleanConstructor;
57
- default: boolean;
58
- };
59
- query: {
60
- type: StringConstructor;
61
- default: string;
62
- };
63
- enableClientSort: {
64
- type: BooleanConstructor;
65
- default: boolean;
66
- };
67
- sortHandlerFunction: {
68
- type: PropType<(param: SortHandlerFunctionParam) => Array<Record<string, any>>>;
69
- default: null;
70
- };
71
- enableEntityActions: {
72
- type: BooleanConstructor;
73
- default: boolean;
74
- };
75
- emptyStateOptions: {
76
- type: PropType<EmptyStateOptions>;
77
- default: () => {};
78
- };
79
- errorMessage: {
80
- type: PropType<string | TableErrorMessage>;
81
- default: null;
82
- };
83
- paginationAttributes: {
84
- type: PropType<TablePaginationAttributes>;
85
- default: () => {};
86
- };
87
- hidePaginationWhenOptional: {
88
- type: BooleanConstructor;
89
- default: boolean;
90
- };
91
- disableSorting: {
92
- type: BooleanConstructor;
93
- default: undefined;
94
- };
95
- cellAttributes: {
96
- type: PropType<(params: Record<string, any>) => Record<string, any>>;
97
- default: () => {};
98
- };
99
- rowAttributes: {
100
- type: PropType<(row: Record<string, any>) => Record<string, any>>;
101
- default: () => {};
102
- };
103
- /** tableKey to use for user table preferences. If empty, will fallback to default preferences */
104
- preferencesStorageKey: {
105
- type: StringConstructor;
106
- default: string;
107
- };
108
- /** default table preferences to use if no user preferences are found */
109
- defaultTablePreferences: {
110
- type: PropType<TablePreferences>;
111
- default: null;
112
- required: false;
113
- };
114
- title: {
115
- type: StringConstructor;
116
- default: string;
117
- };
118
- titleTag: {
119
- type: PropType<HeaderTag>;
120
- default: string;
121
- };
122
- /** default to false, setting to true will suppress the row click event even if "@click:row" is attached */
123
- disableRowClick: {
124
- type: BooleanConstructor;
125
- default: boolean;
126
- };
127
- hidePagination: {
128
- type: BooleanConstructor;
129
- default: boolean;
130
- };
131
- hideToolbar: {
132
- type: BooleanConstructor;
133
- default: undefined;
134
- };
135
- /**
136
- * @deprecated in favour of `paginationAttributes`
137
- */
138
- disablePaginationPageJump: {
139
- type: BooleanConstructor;
140
- default: undefined;
141
- validator: (value: boolean) => boolean;
142
- };
143
- /**
144
- * @deprecated in favour of `paginationAttributes`
145
- */
146
- paginationType: {
147
- type: PropType<"default" | "offset">;
148
- default: undefined;
149
- validator: (value: string) => boolean;
150
- };
151
- }>, void, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
152
- sort: (sortParams: TableSortParams) => any;
153
- state: (state: TableStateParams) => any;
154
- "click:row": (row: BaseTableHeaders) => any;
155
- "clear-search-input": () => any;
156
- "empty-state-cta-clicked": () => any;
157
- }, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
158
- tableHeaders: {
159
- type: PropType<BaseTableHeaders>;
160
- required: true;
161
- default: () => {};
162
- };
163
- fetcher: {
164
- type: PropType<(param: TableDataFetcherParams) => Promise<FetcherResponse>>;
165
- required: true;
166
- default: () => Promise<{
167
- data: never[];
168
- total: number;
169
- }>;
170
- };
171
- initialFetcherParams: {
172
- type: PropType<Partial<Omit<TableDataFetcherParams<string, string>, "query">>>;
173
- default: null;
174
- };
175
- rowKey: {
176
- type: PropType<TableDataProps["rowKey"]>;
177
- default: string;
178
- };
179
- cacheIdentifier: {
180
- type: StringConstructor;
181
- default: string;
182
- };
183
- fetcherCacheKey: {
184
- type: NumberConstructor;
185
- default: number;
186
- };
187
- isLoading: {
188
- type: BooleanConstructor;
189
- default: boolean;
190
- };
191
- query: {
192
- type: StringConstructor;
193
- default: string;
194
- };
195
- enableClientSort: {
196
- type: BooleanConstructor;
197
- default: boolean;
198
- };
199
- sortHandlerFunction: {
200
- type: PropType<(param: SortHandlerFunctionParam) => Array<Record<string, any>>>;
201
- default: null;
202
- };
203
- enableEntityActions: {
204
- type: BooleanConstructor;
205
- default: boolean;
206
- };
207
- emptyStateOptions: {
208
- type: PropType<EmptyStateOptions>;
209
- default: () => {};
210
- };
211
- errorMessage: {
212
- type: PropType<string | TableErrorMessage>;
213
- default: null;
214
- };
215
- paginationAttributes: {
216
- type: PropType<TablePaginationAttributes>;
217
- default: () => {};
218
- };
219
- hidePaginationWhenOptional: {
220
- type: BooleanConstructor;
221
- default: boolean;
222
- };
223
- disableSorting: {
224
- type: BooleanConstructor;
225
- default: undefined;
226
- };
227
- cellAttributes: {
228
- type: PropType<(params: Record<string, any>) => Record<string, any>>;
229
- default: () => {};
230
- };
231
- rowAttributes: {
232
- type: PropType<(row: Record<string, any>) => Record<string, any>>;
233
- default: () => {};
234
- };
235
- /** tableKey to use for user table preferences. If empty, will fallback to default preferences */
236
- preferencesStorageKey: {
237
- type: StringConstructor;
238
- default: string;
239
- };
240
- /** default table preferences to use if no user preferences are found */
241
- defaultTablePreferences: {
242
- type: PropType<TablePreferences>;
243
- default: null;
244
- required: false;
245
- };
246
- title: {
247
- type: StringConstructor;
248
- default: string;
249
- };
250
- titleTag: {
251
- type: PropType<HeaderTag>;
252
- default: string;
253
- };
254
- /** default to false, setting to true will suppress the row click event even if "@click:row" is attached */
255
- disableRowClick: {
256
- type: BooleanConstructor;
257
- default: boolean;
258
- };
259
- hidePagination: {
260
- type: BooleanConstructor;
261
- default: boolean;
262
- };
263
- hideToolbar: {
264
- type: BooleanConstructor;
265
- default: undefined;
266
- };
267
- /**
268
- * @deprecated in favour of `paginationAttributes`
269
- */
270
- disablePaginationPageJump: {
271
- type: BooleanConstructor;
272
- default: undefined;
273
- validator: (value: boolean) => boolean;
274
- };
275
- /**
276
- * @deprecated in favour of `paginationAttributes`
277
- */
278
- paginationType: {
279
- type: PropType<"default" | "offset">;
280
- default: undefined;
281
- validator: (value: string) => boolean;
282
- };
283
- }>> & Readonly<{
284
- onSort?: ((sortParams: TableSortParams) => any) | undefined;
285
- onState?: ((state: TableStateParams) => any) | undefined;
286
- "onClick:row"?: ((row: BaseTableHeaders) => any) | undefined;
287
- "onClear-search-input"?: (() => any) | undefined;
288
- "onEmpty-state-cta-clicked"?: (() => any) | undefined;
289
- }>, {
290
- title: string;
291
- query: string;
292
- titleTag: HeaderTag;
293
- isLoading: boolean;
294
- errorMessage: string | TableErrorMessage;
295
- tableHeaders: BaseTableHeaders;
296
- fetcher: (param: TableDataFetcherParams) => Promise<FetcherResponse>;
297
- initialFetcherParams: Partial<Omit<TableDataFetcherParams<string, string>, "query">>;
298
- rowKey: NoInfer<string | ((row: Record<string, any>) => string)> | undefined;
299
- cacheIdentifier: string;
300
- fetcherCacheKey: number;
301
- enableClientSort: boolean;
302
- sortHandlerFunction: (param: SortHandlerFunctionParam) => Array<Record<string, any>>;
303
- enableEntityActions: boolean;
304
- emptyStateOptions: EmptyStateOptions;
305
- paginationAttributes: TablePaginationAttributes;
306
- hidePaginationWhenOptional: boolean;
307
- disableSorting: boolean;
308
- cellAttributes: (params: Record<string, any>) => Record<string, any>;
309
- rowAttributes: (row: Record<string, any>) => Record<string, any>;
310
- preferencesStorageKey: string;
311
- defaultTablePreferences: TablePreferences<string>;
312
- disableRowClick: boolean;
313
- hidePagination: boolean;
314
- hideToolbar: boolean;
315
- disablePaginationPageJump: boolean;
316
- paginationType: "offset" | "default";
317
- }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
318
- declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
319
- export default _default;
320
- type __VLS_WithSlots<T, S> = T & {
321
- new (): {
322
- $slots: S;
323
- };
324
- };
325
- //# sourceMappingURL=EntityBaseTable.vue.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"EntityBaseTable.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/entity-base-table/EntityBaseTable.vue"],"names":[],"mappings":"AA6cA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,KAAK,CAAA;AAEnC,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,aAAa,CAAA;AAGnD,OAAO,KAAK,EAAE,SAAS,EAAE,gBAAgB,EAAE,wBAAwB,EAAE,sBAAsB,EAAE,cAAc,EAAE,yBAAyB,EAAE,MAAM,mBAAmB,CAAA;AAGj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_8: {};
3
- type __VLS_Slots = {} & {
4
- default?: (props: typeof __VLS_6) => any;
5
- } & {
6
- default?: (props: typeof __VLS_8) => any;
7
- };
8
- declare const __VLS_component: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
9
- keyName: {
10
- type: StringConstructor;
11
- required: true;
12
- };
13
- rowEl: {
14
- type: PropType<HTMLElement | null>;
15
- required: true;
16
- };
17
- tooltip: {
18
- type: BooleanConstructor;
19
- default: boolean;
20
- };
21
- }>, void, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
22
- keyName: {
23
- type: StringConstructor;
24
- required: true;
25
- };
26
- rowEl: {
27
- type: PropType<HTMLElement | null>;
28
- required: true;
29
- };
30
- tooltip: {
31
- type: BooleanConstructor;
32
- default: boolean;
33
- };
34
- }>> & Readonly<{}>, {
35
- tooltip: boolean;
36
- }, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
37
- declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>;
38
- export default _default;
39
- type __VLS_WithSlots<T, S> = T & {
40
- new (): {
41
- $slots: S;
42
- };
43
- };
44
- //# sourceMappingURL=EntityBaseTableCell.vue.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"EntityBaseTableCell.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/entity-base-table/EntityBaseTableCell.vue"],"names":[],"mappings":"AA6IA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,KAAK,CAAA;AAqKnC,QAAA,IAAI,OAAO,IAAU,EAAE,OAAO,IAAW,CAAE;AAC3C,KAAK,WAAW,GAAG,EAAE,GACnB;IAAE,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,OAAO,KAAK,GAAG,CAAA;CAAE,GAC5C;IAAE,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,OAAO,KAAK,GAAG,CAAA;CAAE,CAAC;AAoC/C,QAAA,MAAM,eAAe;;;;;;cASO,QAAQ,CAAC,WAAW,GAAG,IAAI,CAAC;;;;;;;;;;;;;cAA5B,QAAQ,CAAC,WAAW,GAAG,IAAI,CAAC;;;;;;;;;4EAQtD,CAAC;wBACkB,eAAe,CAAC,OAAO,eAAe,EAAE,WAAW,CAAC;AAAzE,wBAA0E;AAE1E,KAAK,eAAe,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAChC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}