@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,326 @@
|
|
|
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_23: {}, __VLS_25: {}, __VLS_28: {}, __VLS_38: string, __VLS_39: {
|
|
6
|
+
row: any;
|
|
7
|
+
rowKey: string | ((row: Record<string, any>) => string);
|
|
8
|
+
rowValue: any;
|
|
9
|
+
}, __VLS_42: {
|
|
10
|
+
row: any;
|
|
11
|
+
}, __VLS_50: {};
|
|
12
|
+
type __VLS_Slots = {} & {
|
|
13
|
+
[K in NonNullable<typeof __VLS_38>]?: (props: typeof __VLS_39) => any;
|
|
14
|
+
} & {
|
|
15
|
+
'toolbar-filter'?: (props: typeof __VLS_23) => any;
|
|
16
|
+
} & {
|
|
17
|
+
'toolbar-button'?: (props: typeof __VLS_25) => any;
|
|
18
|
+
} & {
|
|
19
|
+
'empty-state'?: (props: typeof __VLS_28) => any;
|
|
20
|
+
} & {
|
|
21
|
+
actions?: (props: typeof __VLS_42) => any;
|
|
22
|
+
} & {
|
|
23
|
+
'outside-actions'?: (props: typeof __VLS_50) => any;
|
|
24
|
+
};
|
|
25
|
+
declare const __VLS_base: 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
|
+
}>, {}, {}, {}, {}, 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
|
+
errorMessage: string | TableErrorMessage;
|
|
294
|
+
isLoading: boolean;
|
|
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: "default" | "offset";
|
|
317
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
318
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
319
|
+
declare const _default: typeof __VLS_export;
|
|
320
|
+
export default _default;
|
|
321
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
322
|
+
new (): {
|
|
323
|
+
$slots: S;
|
|
324
|
+
};
|
|
325
|
+
};
|
|
326
|
+
//# sourceMappingURL=EntityBaseTable.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"EntityBaseTable.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/entity-base-table/EntityBaseTable.vue"],"names":[],"mappings":"AAydA,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;AAGjK,OAAO,KAAK,EACV,gBAAgB,EAChB,iBAAiB,EACjB,eAAe,EAEf,eAAe,EACf,iBAAiB,EAClB,MAAM,aAAa,CAAA;AAskBpB,QAAA,IAAyB,QAAQ,IAAW,EAAE,QAAQ,IAAW,EAAE,QAAQ,IAAW,EAAE,QAAQ,QAAW,EAAE,QAAQ;;;;CAAW,EAAE,QAAQ;;CAA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;cAK9D,QAAQ,CAAC,CAAC,GAAG,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,KAAK,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC;;;IAG/E,iGAAiG;;;;;IAKjG,wEAAwE;;cAEtD,QAAQ,CAAC,gBAAgB,CAAC;;;;;;;;;cAS1B,QAAQ,CAAC,SAAS,CAAC;;;IAGrC,2GAA2G;;;;;;;;;;;;;IAa3G;;OAEG;;;;2BAIkB,OAAO;;IAO5B;;OAEG;;cAEe,QAAQ,CAAC,SAAS,GAAG,QAAQ,CAAC;;2BAE3B,MAAM;;;;;;;;;;;;;;;qBAtIU,sBAAsB,KAAK,OAAO,CAAC,eAAe,CAAC;;;;;;iCAyCnD,wBAAwB,KAAK,KAAK,CAAC,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC;;;;;;6BAkCtD,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,KAAK,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC;yBAK9C,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,KAAK,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC;;;;;;;;4EA8D9E,CAAC;AACH,QAAA,MAAM,YAAY,EAAS,eAAe,CAAC,OAAO,UAAU,EAAE,WAAW,CAAC,CAAC;wBACtD,OAAO,YAAY;AAAxC,wBAAyC;AACzC,KAAK,eAAe,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAChC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KACV,CAAA;CACD,CAAC"}
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
import type { PropType } from 'vue';
|
|
2
|
+
declare var __VLS_7: {}, __VLS_9: {};
|
|
3
|
+
type __VLS_Slots = {} & {
|
|
4
|
+
default?: (props: typeof __VLS_7) => any;
|
|
5
|
+
} & {
|
|
6
|
+
default?: (props: typeof __VLS_9) => any;
|
|
7
|
+
};
|
|
8
|
+
declare const __VLS_base: 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
|
+
}>, {}, {}, {}, {}, 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 __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
38
|
+
declare const _default: typeof __VLS_export;
|
|
39
|
+
export default _default;
|
|
40
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
41
|
+
new (): {
|
|
42
|
+
$slots: S;
|
|
43
|
+
};
|
|
44
|
+
};
|
|
45
|
+
//# sourceMappingURL=EntityBaseTableCell.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"EntityBaseTableCell.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/entity-base-table/EntityBaseTableCell.vue"],"names":[],"mappings":"AA8IA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,KAAK,CAAA;AAoKnC,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;AAO/C,QAAA,MAAM,UAAU;;;;;;cAOY,QAAQ,CAAC,WAAW,GAAG,IAAI,CAAC;;;;;;;;;;;;;cAA5B,QAAQ,CAAC,WAAW,GAAG,IAAI,CAAC;;;;;;;;;4EAQtD,CAAC;AACH,QAAA,MAAM,YAAY,EAAS,eAAe,CAAC,OAAO,UAAU,EAAE,WAAW,CAAC,CAAC;wBACtD,OAAO,YAAY;AAAxC,wBAAyC;AACzC,KAAK,eAAe,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAChC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KACV,CAAA;CACD,CAAC"}
|
|
@@ -0,0 +1,135 @@
|
|
|
1
|
+
import type { PropType } from 'vue';
|
|
2
|
+
import type { EntityTypes } from '../../types';
|
|
3
|
+
declare var __VLS_19: {}, __VLS_29: {}, __VLS_31: {};
|
|
4
|
+
type __VLS_Slots = {} & {
|
|
5
|
+
message?: (props: typeof __VLS_19) => any;
|
|
6
|
+
} & {
|
|
7
|
+
description?: (props: typeof __VLS_29) => any;
|
|
8
|
+
} & {
|
|
9
|
+
extra?: (props: typeof __VLS_31) => any;
|
|
10
|
+
};
|
|
11
|
+
declare const __VLS_base: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
12
|
+
visible: {
|
|
13
|
+
type: BooleanConstructor;
|
|
14
|
+
required: true;
|
|
15
|
+
};
|
|
16
|
+
title: {
|
|
17
|
+
type: StringConstructor;
|
|
18
|
+
default: string;
|
|
19
|
+
};
|
|
20
|
+
entityType: {
|
|
21
|
+
type: PropType<EntityTypes>;
|
|
22
|
+
required: true;
|
|
23
|
+
};
|
|
24
|
+
entityName: {
|
|
25
|
+
type: StringConstructor;
|
|
26
|
+
default: string;
|
|
27
|
+
};
|
|
28
|
+
entityTypeDisplay: {
|
|
29
|
+
type: StringConstructor;
|
|
30
|
+
default: string;
|
|
31
|
+
};
|
|
32
|
+
needConfirm: {
|
|
33
|
+
type: BooleanConstructor;
|
|
34
|
+
default: boolean;
|
|
35
|
+
};
|
|
36
|
+
description: {
|
|
37
|
+
type: StringConstructor;
|
|
38
|
+
default: string;
|
|
39
|
+
};
|
|
40
|
+
actionPending: {
|
|
41
|
+
type: BooleanConstructor;
|
|
42
|
+
default: boolean;
|
|
43
|
+
};
|
|
44
|
+
confirmDisabled: {
|
|
45
|
+
type: BooleanConstructor;
|
|
46
|
+
default: boolean;
|
|
47
|
+
};
|
|
48
|
+
error: {
|
|
49
|
+
type: StringConstructor;
|
|
50
|
+
default: string;
|
|
51
|
+
};
|
|
52
|
+
confirmationPrompt: {
|
|
53
|
+
type: StringConstructor;
|
|
54
|
+
default: string;
|
|
55
|
+
};
|
|
56
|
+
stackedCopy: {
|
|
57
|
+
type: BooleanConstructor;
|
|
58
|
+
default: boolean;
|
|
59
|
+
};
|
|
60
|
+
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
|
|
61
|
+
cancel: () => any;
|
|
62
|
+
proceed: () => any;
|
|
63
|
+
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
64
|
+
visible: {
|
|
65
|
+
type: BooleanConstructor;
|
|
66
|
+
required: true;
|
|
67
|
+
};
|
|
68
|
+
title: {
|
|
69
|
+
type: StringConstructor;
|
|
70
|
+
default: string;
|
|
71
|
+
};
|
|
72
|
+
entityType: {
|
|
73
|
+
type: PropType<EntityTypes>;
|
|
74
|
+
required: true;
|
|
75
|
+
};
|
|
76
|
+
entityName: {
|
|
77
|
+
type: StringConstructor;
|
|
78
|
+
default: string;
|
|
79
|
+
};
|
|
80
|
+
entityTypeDisplay: {
|
|
81
|
+
type: StringConstructor;
|
|
82
|
+
default: string;
|
|
83
|
+
};
|
|
84
|
+
needConfirm: {
|
|
85
|
+
type: BooleanConstructor;
|
|
86
|
+
default: boolean;
|
|
87
|
+
};
|
|
88
|
+
description: {
|
|
89
|
+
type: StringConstructor;
|
|
90
|
+
default: string;
|
|
91
|
+
};
|
|
92
|
+
actionPending: {
|
|
93
|
+
type: BooleanConstructor;
|
|
94
|
+
default: boolean;
|
|
95
|
+
};
|
|
96
|
+
confirmDisabled: {
|
|
97
|
+
type: BooleanConstructor;
|
|
98
|
+
default: boolean;
|
|
99
|
+
};
|
|
100
|
+
error: {
|
|
101
|
+
type: StringConstructor;
|
|
102
|
+
default: string;
|
|
103
|
+
};
|
|
104
|
+
confirmationPrompt: {
|
|
105
|
+
type: StringConstructor;
|
|
106
|
+
default: string;
|
|
107
|
+
};
|
|
108
|
+
stackedCopy: {
|
|
109
|
+
type: BooleanConstructor;
|
|
110
|
+
default: boolean;
|
|
111
|
+
};
|
|
112
|
+
}>> & Readonly<{
|
|
113
|
+
onCancel?: (() => any) | undefined;
|
|
114
|
+
onProceed?: (() => any) | undefined;
|
|
115
|
+
}>, {
|
|
116
|
+
error: string;
|
|
117
|
+
title: string;
|
|
118
|
+
description: string;
|
|
119
|
+
entityName: string;
|
|
120
|
+
entityTypeDisplay: string;
|
|
121
|
+
needConfirm: boolean;
|
|
122
|
+
actionPending: boolean;
|
|
123
|
+
confirmDisabled: boolean;
|
|
124
|
+
confirmationPrompt: string;
|
|
125
|
+
stackedCopy: boolean;
|
|
126
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
127
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
128
|
+
declare const _default: typeof __VLS_export;
|
|
129
|
+
export default _default;
|
|
130
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
131
|
+
new (): {
|
|
132
|
+
$slots: S;
|
|
133
|
+
};
|
|
134
|
+
};
|
|
135
|
+
//# sourceMappingURL=EntityDeleteModal.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"EntityDeleteModal.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/entity-delete-modal/EntityDeleteModal.vue"],"names":[],"mappings":"AAyMA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,KAAK,CAAA;AAGnC,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,aAAa,CAAA;AAkQ9C,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,WAAW,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,QAAQ,KAAK,GAAG,CAAA;CAAE,GACjD;IAAE,KAAK,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,QAAQ,KAAK,GAAG,CAAA;CAAE,CAAC;AAK9C,QAAA,MAAM,UAAU;;;;;;;;;;cAYI,QAAQ,CAAC,WAAW,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;cAArB,QAAQ,CAAC,WAAW,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4EA0CvC,CAAC;AACH,QAAA,MAAM,YAAY,EAAS,eAAe,CAAC,OAAO,UAAU,EAAE,WAAW,CAAC,CAAC;wBACtD,OAAO,YAAY;AAAxC,wBAAyC;AACzC,KAAK,eAAe,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAChC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KACV,CAAA;CACD,CAAC"}
|
|
@@ -0,0 +1,117 @@
|
|
|
1
|
+
import { type PropType } from 'vue';
|
|
2
|
+
import type { EmptyStateFeature, AppearanceTypes } from '../../types/entity-empty-state';
|
|
3
|
+
declare var __VLS_1: {}, __VLS_3: {}, __VLS_5: {}, __VLS_7: {}, __VLS_9: {}, __VLS_11: {}, __VLS_47: `feature-${number}-icon`, __VLS_48: {}, __VLS_50: {};
|
|
4
|
+
type __VLS_Slots = {} & {
|
|
5
|
+
[K in NonNullable<typeof __VLS_47>]?: (props: typeof __VLS_48) => any;
|
|
6
|
+
} & {
|
|
7
|
+
image?: (props: typeof __VLS_1) => any;
|
|
8
|
+
} & {
|
|
9
|
+
title?: (props: typeof __VLS_3) => any;
|
|
10
|
+
} & {
|
|
11
|
+
default?: (props: typeof __VLS_5) => any;
|
|
12
|
+
} & {
|
|
13
|
+
pricing?: (props: typeof __VLS_7) => any;
|
|
14
|
+
} & {
|
|
15
|
+
message?: (props: typeof __VLS_9) => any;
|
|
16
|
+
} & {
|
|
17
|
+
actions?: (props: typeof __VLS_11) => any;
|
|
18
|
+
} & {
|
|
19
|
+
bottom?: (props: typeof __VLS_50) => any;
|
|
20
|
+
};
|
|
21
|
+
declare const __VLS_base: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
22
|
+
appearance: {
|
|
23
|
+
type: PropType<AppearanceTypes>;
|
|
24
|
+
default: () => string;
|
|
25
|
+
validator: (value: AppearanceTypes) => boolean;
|
|
26
|
+
};
|
|
27
|
+
title: {
|
|
28
|
+
type: StringConstructor;
|
|
29
|
+
default: string;
|
|
30
|
+
};
|
|
31
|
+
description: {
|
|
32
|
+
type: StringConstructor;
|
|
33
|
+
default: string;
|
|
34
|
+
};
|
|
35
|
+
pricing: {
|
|
36
|
+
type: StringConstructor;
|
|
37
|
+
default: string;
|
|
38
|
+
};
|
|
39
|
+
/** A synchronous or asynchronous function, that returns a boolean, that evaluates if the user can create a new entity */
|
|
40
|
+
canCreate: {
|
|
41
|
+
type: PropType<() => boolean | Promise<boolean>>;
|
|
42
|
+
required: false;
|
|
43
|
+
default: () => Promise<boolean>;
|
|
44
|
+
};
|
|
45
|
+
actionButtonText: {
|
|
46
|
+
type: StringConstructor;
|
|
47
|
+
default: string;
|
|
48
|
+
};
|
|
49
|
+
learnMore: {
|
|
50
|
+
type: BooleanConstructor;
|
|
51
|
+
default: boolean;
|
|
52
|
+
};
|
|
53
|
+
features: {
|
|
54
|
+
type: PropType<EmptyStateFeature[]>;
|
|
55
|
+
default: () => never[];
|
|
56
|
+
};
|
|
57
|
+
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
|
|
58
|
+
"click:create": () => any;
|
|
59
|
+
"click:learn-more": () => any;
|
|
60
|
+
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
61
|
+
appearance: {
|
|
62
|
+
type: PropType<AppearanceTypes>;
|
|
63
|
+
default: () => string;
|
|
64
|
+
validator: (value: AppearanceTypes) => boolean;
|
|
65
|
+
};
|
|
66
|
+
title: {
|
|
67
|
+
type: StringConstructor;
|
|
68
|
+
default: string;
|
|
69
|
+
};
|
|
70
|
+
description: {
|
|
71
|
+
type: StringConstructor;
|
|
72
|
+
default: string;
|
|
73
|
+
};
|
|
74
|
+
pricing: {
|
|
75
|
+
type: StringConstructor;
|
|
76
|
+
default: string;
|
|
77
|
+
};
|
|
78
|
+
/** A synchronous or asynchronous function, that returns a boolean, that evaluates if the user can create a new entity */
|
|
79
|
+
canCreate: {
|
|
80
|
+
type: PropType<() => boolean | Promise<boolean>>;
|
|
81
|
+
required: false;
|
|
82
|
+
default: () => Promise<boolean>;
|
|
83
|
+
};
|
|
84
|
+
actionButtonText: {
|
|
85
|
+
type: StringConstructor;
|
|
86
|
+
default: string;
|
|
87
|
+
};
|
|
88
|
+
learnMore: {
|
|
89
|
+
type: BooleanConstructor;
|
|
90
|
+
default: boolean;
|
|
91
|
+
};
|
|
92
|
+
features: {
|
|
93
|
+
type: PropType<EmptyStateFeature[]>;
|
|
94
|
+
default: () => never[];
|
|
95
|
+
};
|
|
96
|
+
}>> & Readonly<{
|
|
97
|
+
"onClick:create"?: (() => any) | undefined;
|
|
98
|
+
"onClick:learn-more"?: (() => any) | undefined;
|
|
99
|
+
}>, {
|
|
100
|
+
title: string;
|
|
101
|
+
learnMore: boolean;
|
|
102
|
+
description: string;
|
|
103
|
+
appearance: AppearanceTypes;
|
|
104
|
+
actionButtonText: string;
|
|
105
|
+
features: EmptyStateFeature[];
|
|
106
|
+
pricing: string;
|
|
107
|
+
canCreate: () => boolean | Promise<boolean>;
|
|
108
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
109
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
110
|
+
declare const _default: typeof __VLS_export;
|
|
111
|
+
export default _default;
|
|
112
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
113
|
+
new (): {
|
|
114
|
+
$slots: S;
|
|
115
|
+
};
|
|
116
|
+
};
|
|
117
|
+
//# sourceMappingURL=EntityEmptyState.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"EntityEmptyState.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/entity-empty-state/EntityEmptyState.vue"],"names":[],"mappings":"AA8UA,OAAO,EAAE,KAAK,QAAQ,EAAiD,MAAM,KAAK,CAAA;AAIlF,OAAO,KAAK,EAAE,iBAAiB,EAAE,eAAe,EAAE,MAAM,gCAAgC,CAAA;AAyUxF,QAAA,IAAI,OAAO,IAAU,EAAE,OAAO,IAAU,EAAE,OAAO,IAAU,EAAE,OAAO,IAAU,EAAE,OAAO,IAAU,EAAE,QAAQ,IAAW,EAAE,QAAQ,0BAAW,EAAE,QAAQ,IAAW,EAAE,QAAQ,IAAY,CAAE;AACxL,KAAK,WAAW,GAAG,EAAE,GACnB;KAAG,CAAC,IAAI,WAAW,CAAC,OAAO,QAAQ,CAAC,CAAC,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,QAAQ,KA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,CAAC;wBACtD,OAAO,YAAY;AAAxC,wBAAyC;AACzC,KAAK,eAAe,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAChC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KACV,CAAA;CACD,CAAC"}
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import type { PropType } from 'vue';
|
|
2
|
+
import type { ExactMatchFilterConfig, FuzzyMatchFilterConfig } from '../../types';
|
|
3
|
+
declare const __VLS_export: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
4
|
+
config: {
|
|
5
|
+
type: PropType<ExactMatchFilterConfig | FuzzyMatchFilterConfig>;
|
|
6
|
+
required: true;
|
|
7
|
+
default: () => {
|
|
8
|
+
isExactMatch: boolean;
|
|
9
|
+
placeholder: string;
|
|
10
|
+
};
|
|
11
|
+
};
|
|
12
|
+
modelValue: {
|
|
13
|
+
type: StringConstructor;
|
|
14
|
+
required: true;
|
|
15
|
+
};
|
|
16
|
+
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
|
|
17
|
+
"update:modelValue": (query: string) => any;
|
|
18
|
+
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
19
|
+
config: {
|
|
20
|
+
type: PropType<ExactMatchFilterConfig | FuzzyMatchFilterConfig>;
|
|
21
|
+
required: true;
|
|
22
|
+
default: () => {
|
|
23
|
+
isExactMatch: boolean;
|
|
24
|
+
placeholder: string;
|
|
25
|
+
};
|
|
26
|
+
};
|
|
27
|
+
modelValue: {
|
|
28
|
+
type: StringConstructor;
|
|
29
|
+
required: true;
|
|
30
|
+
};
|
|
31
|
+
}>> & Readonly<{
|
|
32
|
+
"onUpdate:modelValue"?: ((query: string) => any) | undefined;
|
|
33
|
+
}>, {
|
|
34
|
+
config: ExactMatchFilterConfig | FuzzyMatchFilterConfig;
|
|
35
|
+
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
36
|
+
declare const _default: typeof __VLS_export;
|
|
37
|
+
export default _default;
|
|
38
|
+
//# sourceMappingURL=EntityFilter.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"EntityFilter.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/entity-filter/EntityFilter.vue"],"names":[],"mappings":"AA4ZA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,KAAK,CAAA;AAInC,OAAO,KAAK,EAAE,sBAAsB,EAAE,sBAAsB,EAAE,MAAM,aAAa,CAAA;AA8iBjF,QAAA,MAAM,YAAY;;cAKE,QAAQ,CAAC,sBAAsB,GAAG,sBAAsB,CAAC;;;;;;;;;;;;;;;cAAzD,QAAQ,CAAC,sBAAsB,GAAG,sBAAsB,CAAC;;;;;;;;;;;;;;;4EAa3E,CAAC;wBACkB,OAAO,YAAY;AAAxC,wBAAyC"}
|