@kong-ui-public/entities-shared 3.10.13 → 3.10.14
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/entities-shared.es.js +1288 -1284
- package/dist/entities-shared.umd.js +29 -29
- package/dist/style.css +1 -1
- package/dist/types/components/common/TableTags.vue.d.ts +3 -0
- package/dist/types/components/common/TableTags.vue.d.ts.map +1 -1
- package/dist/types/components/entity-base-form/EntityBaseForm.vue.d.ts +2 -2
- package/dist/types/components/entity-base-table/EntityBaseTable.vue.d.ts +5 -5
- package/dist/types/components/entity-base-table/EntityBaseTable.vue.d.ts.map +1 -1
- package/dist/types/components/entity-delete-modal/EntityDeleteModal.vue.d.ts +1 -1
- package/dist/types/types/entity-base-table.d.ts +8 -0
- package/dist/types/types/entity-base-table.d.ts.map +1 -1
- package/package.json +1 -1
package/dist/style.css
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
.config-card-fieldset[data-v-68ca83ec]{border:solid 1px #e0e4ea;border-radius:4px;margin-bottom:8px;margin-top:4px}.config-card-fieldset-title[data-v-68ca83ec]{font-size:14px;padding:0 8px;width:auto}fieldset.config-card-fieldset .config-card-details-row{width:unset}.config-card-json-item .config-card-details-row,fieldset.config-card-fieldset .config-card-details-row{margin:0 16px}.config-card-json-item .config-card-details-row:last-of-type,fieldset.config-card-fieldset .config-card-details-row:last-of-type{border-bottom:none}[data-v-c96811e5] .k-button.navigation-button{font-size:14px;font-weight:400}.config-card-details-row[data-v-761f7e64]{align-items:center;border-bottom:var(--3ccdd5d2);box-sizing:border-box;display:var(--4b1da305);padding:16px 16px 16px 0;width:100%}.config-card-details-row .config-card-details-label[data-v-761f7e64]{box-sizing:border-box;padding-right:16px;width:var(--cd20788a)}.config-card-details-row .config-card-details-label label[data-v-761f7e64]{color:#3a3f51;display:inline-flex;max-width:100%}.config-card-details-row .config-card-details-label label .label-content[data-v-761f7e64]{line-height:initial;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.config-card-details-row .config-card-details-label label .k-popover[data-v-761f7e64]{min-width:0}.config-card-details-row .config-card-details-value[data-v-761f7e64]{box-sizing:border-box;width:var(--cd1becd4)}.config-card-details-row .config-card-details-value .truncated[data-v-761f7e64]{display:inline-block;line-height:initial;max-width:20ch;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.config-card-details-row .config-card-details-value span.attrs-data-text[data-v-761f7e64]{overflow-wrap:anywhere}.config-card-details-row .config-card-details-value .copy-uuid-array[data-v-761f7e64] .k-copy:not(:last-of-type){margin-bottom:8px}.config-card-details-row .config-card-details-value .method-badge-array[data-v-761f7e64]{display:flex;flex-wrap:wrap;row-gap:10px}.config-card-details-row .config-badge[data-v-761f7e64]{margin-right:4px}.config-card-details-row[data-v-761f7e64] .k-label{margin-bottom:0}.config-card-details-row[data-v-761f7e64] .k-label .kong-icon-infoFilled{display:flex}.config-card-details-row[data-v-761f7e64] .config-card-details-row{width:auto}.json-content.k-code-block{border-top-left-radius:0;border-top-right-radius:0}.json-endpoint{align-items:baseline;background-color:#000933;border-bottom:1px solid rgba(255,255,255,.2);border-top-left-radius:8px;border-top-right-radius:8px;display:flex;padding:8px 0 8px 12px}.json-endpoint .k-code-block{flex:auto;z-index:2}.json-endpoint .k-code-block .code-block-content{padding-bottom:0;padding-top:0}.json-endpoint .k-code-block .code-block-secondary-actions{margin-top:0!important}.json-endpoint code{direction:rtl;max-width:var(--454fa8c4);overflow:hidden!important;text-align:left;text-overflow:ellipsis;white-space:nowrap}.config-card-prop-section-title[data-v-d15be7fe]{color:#000933;font-size:16px;font-weight:600;margin-bottom:16px;margin-top:48px}.kong-ui-entity-base-config-card .config-card-actions[data-v-7ef5c755]{align-items:center;display:flex}.kong-ui-entity-base-config-card .config-card-actions .config-format-select-label[data-v-7ef5c755]{margin-bottom:0;margin-right:8px}.kong-ui-entity-base-config-card .config-card-prop-section-title[data-v-7ef5c755]{color:#000933;font-size:16px;font-weight:600;margin-bottom:16px;margin-top:48px}.kong-ui-entity-base-config-card[data-v-7ef5c755] .config-card-details-row:last-of-type{border-bottom:none}.kong-ui-entity-base-config-card .book-icon[data-v-7ef5c755]{margin-left:8px;padding:0}.kong-ui-entity-base-form[data-v-6210a67a]{box-sizing:border-box;max-width:1536px;width:100%}.kong-ui-entity-base-form .form-actions[data-v-6210a67a]{align-items:center;display:flex;justify-content:flex-end;margin-top:24px}.kong-ui-entity-base-form .form-actions[data-v-6210a67a] .k-button:last-of-type,.kong-ui-entity-base-form .form-actions[data-v-6210a67a] .k-button:nth-last-of-type(2){margin-left:16px}.kong-ui-entity-base-form[data-v-6210a67a] .k-slideout-title{color:#000933!important;font-size:24px!important;font-weight:700!important;line-height:32px!important;margin-bottom:16px!important}.kong-ui-entity-base-form[data-v-6210a67a] .k-card.content-card{padding:0 16px!important}.kong-ui-entity-base-form[data-v-6210a67a] .tab-item>div.tab-link.has-panels{color:#6c7489!important;font-size:14px!important;font-weight:700!important;line-height:24px!important}.kong-ui-entity-base-form[data-v-6210a67a] .tab-item.active>div.tab-link.has-panels{color:#000933!important;font-weight:600!important}.content-wrapper[data-v-b252463e] .k-tooltip{word-break:break-all}.kong-ui-entity-base-table .toolbar-container[data-v-
|
|
1
|
+
.config-card-fieldset[data-v-68ca83ec]{border:solid 1px #e0e4ea;border-radius:4px;margin-bottom:8px;margin-top:4px}.config-card-fieldset-title[data-v-68ca83ec]{font-size:14px;padding:0 8px;width:auto}fieldset.config-card-fieldset .config-card-details-row{width:unset}.config-card-json-item .config-card-details-row,fieldset.config-card-fieldset .config-card-details-row{margin:0 16px}.config-card-json-item .config-card-details-row:last-of-type,fieldset.config-card-fieldset .config-card-details-row:last-of-type{border-bottom:none}[data-v-c96811e5] .k-button.navigation-button{font-size:14px;font-weight:400}.config-card-details-row[data-v-761f7e64]{align-items:center;border-bottom:var(--3ccdd5d2);box-sizing:border-box;display:var(--4b1da305);padding:16px 16px 16px 0;width:100%}.config-card-details-row .config-card-details-label[data-v-761f7e64]{box-sizing:border-box;padding-right:16px;width:var(--cd20788a)}.config-card-details-row .config-card-details-label label[data-v-761f7e64]{color:#3a3f51;display:inline-flex;max-width:100%}.config-card-details-row .config-card-details-label label .label-content[data-v-761f7e64]{line-height:initial;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.config-card-details-row .config-card-details-label label .k-popover[data-v-761f7e64]{min-width:0}.config-card-details-row .config-card-details-value[data-v-761f7e64]{box-sizing:border-box;width:var(--cd1becd4)}.config-card-details-row .config-card-details-value .truncated[data-v-761f7e64]{display:inline-block;line-height:initial;max-width:20ch;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.config-card-details-row .config-card-details-value span.attrs-data-text[data-v-761f7e64]{overflow-wrap:anywhere}.config-card-details-row .config-card-details-value .copy-uuid-array[data-v-761f7e64] .k-copy:not(:last-of-type){margin-bottom:8px}.config-card-details-row .config-card-details-value .method-badge-array[data-v-761f7e64]{display:flex;flex-wrap:wrap;row-gap:10px}.config-card-details-row .config-badge[data-v-761f7e64]{margin-right:4px}.config-card-details-row[data-v-761f7e64] .k-label{margin-bottom:0}.config-card-details-row[data-v-761f7e64] .k-label .kong-icon-infoFilled{display:flex}.config-card-details-row[data-v-761f7e64] .config-card-details-row{width:auto}.json-content.k-code-block{border-top-left-radius:0;border-top-right-radius:0}.json-endpoint{align-items:baseline;background-color:#000933;border-bottom:1px solid rgba(255,255,255,.2);border-top-left-radius:8px;border-top-right-radius:8px;display:flex;padding:8px 0 8px 12px}.json-endpoint .k-code-block{flex:auto;z-index:2}.json-endpoint .k-code-block .code-block-content{padding-bottom:0;padding-top:0}.json-endpoint .k-code-block .code-block-secondary-actions{margin-top:0!important}.json-endpoint code{direction:rtl;max-width:var(--454fa8c4);overflow:hidden!important;text-align:left;text-overflow:ellipsis;white-space:nowrap}.config-card-prop-section-title[data-v-d15be7fe]{color:#000933;font-size:16px;font-weight:600;margin-bottom:16px;margin-top:48px}.kong-ui-entity-base-config-card .config-card-actions[data-v-7ef5c755]{align-items:center;display:flex}.kong-ui-entity-base-config-card .config-card-actions .config-format-select-label[data-v-7ef5c755]{margin-bottom:0;margin-right:8px}.kong-ui-entity-base-config-card .config-card-prop-section-title[data-v-7ef5c755]{color:#000933;font-size:16px;font-weight:600;margin-bottom:16px;margin-top:48px}.kong-ui-entity-base-config-card[data-v-7ef5c755] .config-card-details-row:last-of-type{border-bottom:none}.kong-ui-entity-base-config-card .book-icon[data-v-7ef5c755]{margin-left:8px;padding:0}.kong-ui-entity-base-form[data-v-6210a67a]{box-sizing:border-box;max-width:1536px;width:100%}.kong-ui-entity-base-form .form-actions[data-v-6210a67a]{align-items:center;display:flex;justify-content:flex-end;margin-top:24px}.kong-ui-entity-base-form .form-actions[data-v-6210a67a] .k-button:last-of-type,.kong-ui-entity-base-form .form-actions[data-v-6210a67a] .k-button:nth-last-of-type(2){margin-left:16px}.kong-ui-entity-base-form[data-v-6210a67a] .k-slideout-title{color:#000933!important;font-size:24px!important;font-weight:700!important;line-height:32px!important;margin-bottom:16px!important}.kong-ui-entity-base-form[data-v-6210a67a] .k-card.content-card{padding:0 16px!important}.kong-ui-entity-base-form[data-v-6210a67a] .tab-item>div.tab-link.has-panels{color:#6c7489!important;font-size:14px!important;font-weight:700!important;line-height:24px!important}.kong-ui-entity-base-form[data-v-6210a67a] .tab-item.active>div.tab-link.has-panels{color:#000933!important;font-weight:600!important}.content-wrapper[data-v-b252463e] .k-tooltip{word-break:break-all}.kong-ui-entity-base-table .toolbar-container[data-v-499e74da]{align-items:center;display:flex;width:100%}.kong-ui-entity-base-table .toolbar-button-container[data-v-499e74da]{margin-left:auto}.kong-ui-entity-base-table :deep(.k-table){table-layout:fixed}.kong-ui-entity-delete-modal .message[data-v-4361d622],.kong-ui-entity-delete-modal .description[data-v-4361d622]{line-height:24px;margin:0}.kong-ui-entity-delete-modal .message strong[data-v-4361d622]{font-weight:600}.kong-ui-entity-delete-modal .description[data-v-4361d622]{margin-top:32px}.kong-ui-entity-delete-error[data-v-4361d622]{margin-bottom:16px}.kong-ui-entity-filter-input[data-v-10fa27a5]{width:100%}.kong-ui-entity-filter-clear[data-v-10fa27a5]{cursor:pointer}.kong-ui-entity-filter[data-v-10fa27a5]{display:flex;position:relative}.kong-ui-entity-filter[data-v-10fa27a5] .menu-content{flex-direction:column}.kong-ui-entity-filter[data-v-10fa27a5] .k-menu-item-divider hr{margin:12px 0}.kong-ui-entity-filter-backdrop[data-v-10fa27a5]{bottom:0;left:0;position:fixed;right:0;top:0;z-index:1050}.kong-ui-entity-filter-menu[data-v-10fa27a5]{background-color:#fff;border:1px solid #afb7c5;border-radius:4px;box-shadow:0 4px 20px #e0e4ea;left:0;margin-top:16px;padding:8px 0 12px;position:absolute;top:100%;width:300px;z-index:1060}.kong-ui-entity-filter-menu-item[data-v-10fa27a5]{border-bottom:1px solid #e0e4ea;color:#6c7489;font-size:12px;font-weight:400;line-height:16px;list-style:none;margin:0 20px;padding:16px 0;position:relative;white-space:nowrap}.menu-item-title[data-v-10fa27a5]{align-items:center;cursor:pointer;display:flex;line-height:24px}.menu-item-title.expanded[data-v-10fa27a5]{color:#232633}.menu-item-expand-icon[data-v-10fa27a5]{margin-left:auto}.menu-item-expand-icon.expanded[data-v-10fa27a5]{transform:rotate(180deg)}.menu-item-indicator[data-v-10fa27a5]{background-color:#0044f4;border-radius:50%;height:4px;margin-left:4px;width:4px}.menu-item-body[data-v-10fa27a5]{align-items:center;display:flex;justify-content:space-between;margin-top:16px}.menu-item-body[data-v-10fa27a5] .input{padding-bottom:4px!important;padding-top:4px!important}.menu-item-body[data-v-10fa27a5] .k-input{width:100%}.menu-item-body[data-v-10fa27a5] .k-select-input .input{font-size:12px}.menu-item-body[data-v-10fa27a5] .k-select-input .input::placeholder{color:#00000073!important;font-size:12px}.menu-item-label[data-v-10fa27a5]{margin-bottom:0;margin-right:12px}.menu-item-buttons[data-v-10fa27a5]{display:flex;justify-content:space-between;margin:10px 0 6px}.filter-clear-button-container[data-v-10fa27a5]{padding:12px 20px 0}fieldset[data-v-b1f74200]{margin:0;min-width:0;padding:0}.kong-ui-entity-form-section[data-v-b1f74200]{border:0}.kong-ui-entity-form-section .form-section-wrapper[data-v-b1f74200]{column-gap:16px;display:flex;flex-direction:column;padding-bottom:64px;row-gap:12px;width:100%}@media (min-width: 1024px){.kong-ui-entity-form-section .form-section-wrapper[data-v-b1f74200]{flex-direction:row}}.kong-ui-entity-form-section .form-section-wrapper .form-section-info[data-v-b1f74200]{flex:1}@media (min-width: 1024px){.kong-ui-entity-form-section .form-section-wrapper .form-section-info[data-v-b1f74200]{max-width:350px}.kong-ui-entity-form-section .form-section-wrapper .form-section-info.sticky[data-v-b1f74200]{height:fit-content;margin-bottom:16px;position:sticky;top:16px}}.kong-ui-entity-form-section .form-section-wrapper .form-section-info .form-section-title[data-v-b1f74200]{color:#000933;font-size:16px;font-weight:700;line-height:20px;margin-bottom:8px;margin-top:0}.kong-ui-entity-form-section .form-section-wrapper .form-section-info .form-section-description[data-v-b1f74200],.kong-ui-entity-form-section .form-section-wrapper .form-section-info .form-section-description p[data-v-b1f74200],.kong-ui-entity-form-section .form-section-wrapper .form-section-info .form-section-description[data-v-b1f74200] p{color:#000933;font-size:14px;font-weight:400;line-height:20px;margin:0}.kong-ui-entity-form-section .form-section-wrapper .form-section-info .form-section-footer[data-v-b1f74200]{margin-top:32px}.kong-ui-entity-form-section .form-section-wrapper .form-section-content[data-v-b1f74200]{flex:1}.kong-ui-entity-form-section .form-section-wrapper .form-section-content[data-v-b1f74200]>*:not(:first-child){margin-top:24px}.kong-ui-entity-form-section.has-divider .form-section-wrapper[data-v-b1f74200]{border-bottom:1px solid #e0e4ea}.kong-ui-public-entity-link[data-v-60e3ef7c]{align-items:center;display:flex}.kong-ui-public-entity-link .deleted-entity[data-v-60e3ef7c]{font-style:italic}.kong-ui-public-entity-link .entity-link[data-v-60e3ef7c]{display:flex}.kong-ui-public-entity-link .entity-link[data-v-60e3ef7c] .external-link-icon{color:#0044f4;margin-left:4px;padding:2px}.kong-ui-public-entity-link .entity-link-label[data-v-60e3ef7c]{display:inline-block;font-weight:400;max-width:20ch;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.kong-ui-public-entity-link .copy-uuid-tooltip[data-v-60e3ef7c]{align-items:center;cursor:pointer;display:flex}.kong-ui-public-entity-link .copy-uuid-tooltip .entity-link-copy-id[data-v-60e3ef7c]{margin-left:2px}
|
|
@@ -2,6 +2,7 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
2
2
|
/** The tags to display in the table */
|
|
3
3
|
tags: {
|
|
4
4
|
type: (StringConstructor | ArrayConstructor)[];
|
|
5
|
+
default: () => never[];
|
|
5
6
|
};
|
|
6
7
|
tagMaxWidth: {
|
|
7
8
|
type: StringConstructor;
|
|
@@ -11,12 +12,14 @@ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropT
|
|
|
11
12
|
/** The tags to display in the table */
|
|
12
13
|
tags: {
|
|
13
14
|
type: (StringConstructor | ArrayConstructor)[];
|
|
15
|
+
default: () => never[];
|
|
14
16
|
};
|
|
15
17
|
tagMaxWidth: {
|
|
16
18
|
type: StringConstructor;
|
|
17
19
|
default: undefined;
|
|
18
20
|
};
|
|
19
21
|
}>> & Readonly<{}>, {
|
|
22
|
+
tags: string | unknown[];
|
|
20
23
|
tagMaxWidth: string;
|
|
21
24
|
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
22
25
|
export default _default;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TableTags.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/common/TableTags.vue"],"names":[],"mappings":";
|
|
1
|
+
{"version":3,"file":"TableTags.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/common/TableTags.vue"],"names":[],"mappings":";IAmNE,uCAAuC;;;;;;;;;;IAAvC,uCAAuC;;;;;;;;;;;;;AANzC,wBAgBG"}
|
|
@@ -83,9 +83,9 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
|
|
|
83
83
|
default: string;
|
|
84
84
|
};
|
|
85
85
|
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
|
|
86
|
+
loading: (isLoading: boolean) => any;
|
|
86
87
|
cancel: () => any;
|
|
87
88
|
submit: () => any;
|
|
88
|
-
loading: (isLoading: boolean) => any;
|
|
89
89
|
"fetch:success": (data: Record<string, any>) => any;
|
|
90
90
|
"fetch:error": (error: AxiosError<unknown, any>) => any;
|
|
91
91
|
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
@@ -160,9 +160,9 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
|
|
|
160
160
|
default: string;
|
|
161
161
|
};
|
|
162
162
|
}>> & Readonly<{
|
|
163
|
+
onLoading?: ((isLoading: boolean) => any) | undefined;
|
|
163
164
|
onCancel?: (() => any) | undefined;
|
|
164
165
|
onSubmit?: (() => any) | undefined;
|
|
165
|
-
onLoading?: ((isLoading: boolean) => any) | undefined;
|
|
166
166
|
"onFetch:success"?: ((data: Record<string, any>) => any) | undefined;
|
|
167
167
|
"onFetch:error"?: ((error: AxiosError<unknown, any>) => any) | undefined;
|
|
168
168
|
}>, {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { PropType } from 'vue';
|
|
2
|
-
import type {
|
|
2
|
+
import type { HeaderTag, TablePreferences, SortHandlerFunctionParam, TableDataFetcherParams } from '@kong/kongponents';
|
|
3
3
|
import type { BaseTableHeaders, EmptyStateOptions, FetcherResponse, TableSortParams, TableErrorMessage } from '../../types';
|
|
4
4
|
declare function __VLS_template(): {
|
|
5
5
|
slots: Partial<Record<NonNullable<string | number>, (_: {
|
|
@@ -165,7 +165,7 @@ declare function __VLS_template(): {
|
|
|
165
165
|
hideToolbar: boolean;
|
|
166
166
|
}> & Omit<Readonly<import("@kong/kongponents/dist/types").TableDataProps> & Readonly<{
|
|
167
167
|
[x: `on${Capitalize<any>}`]: ((...args: any) => any) | undefined;
|
|
168
|
-
}>, "sortable" | "
|
|
168
|
+
}>, "sortable" | "loading" | "error" | "maxHeight" | "initialFetcherParams" | "cacheIdentifier" | "fetcherCacheKey" | "hidePagination" | "hideToolbar" | "headers" | "rowAttrs" | "cellAttrs" | "tablePreferences" | "searchInput" | "clientSort" | "hidePaginationWhenOptional" | "resizeColumns" | "rowHover" | "rowLink" | "rowBulkActionEnabled" | "rowKey" | "emptyStateTitle" | "emptyStateMessage" | "emptyStateActionMessage" | "emptyStateIconVariant" | "errorStateTitle" | "errorStateMessage" | "errorStateActionMessage" | "paginationAttributes" | "rowExpandable" | "hideHeaders" | "nested"> & import("vue").ShallowUnwrapRef<{}> & {} & import("vue").ComponentCustomProperties & {} & {
|
|
169
169
|
$slots: Partial<Record<`column-${string}`, (_: {
|
|
170
170
|
column: any;
|
|
171
171
|
}) => any>> & Partial<Record<`tooltip-${string}`, (_: {
|
|
@@ -176,7 +176,7 @@ declare function __VLS_template(): {
|
|
|
176
176
|
rowValue: any;
|
|
177
177
|
}) => any>> & {
|
|
178
178
|
toolbar?(_: {
|
|
179
|
-
state: SwrvStateData;
|
|
179
|
+
state: import("@kong/kongponents/dist/types").SwrvStateData;
|
|
180
180
|
}): any;
|
|
181
181
|
"bulk-actions"?(_: {
|
|
182
182
|
selectedRows: Record<string, any>[];
|
|
@@ -306,7 +306,7 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
|
|
|
306
306
|
};
|
|
307
307
|
hideToolbar: {
|
|
308
308
|
type: BooleanConstructor;
|
|
309
|
-
default:
|
|
309
|
+
default: undefined;
|
|
310
310
|
};
|
|
311
311
|
}>, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {} & {
|
|
312
312
|
sort: (sortParams: TableSortParams) => any;
|
|
@@ -418,7 +418,7 @@ declare const __VLS_component: import("vue").DefineComponent<import("vue").Extra
|
|
|
418
418
|
};
|
|
419
419
|
hideToolbar: {
|
|
420
420
|
type: BooleanConstructor;
|
|
421
|
-
default:
|
|
421
|
+
default: undefined;
|
|
422
422
|
};
|
|
423
423
|
}>> & Readonly<{
|
|
424
424
|
onSort?: ((sortParams: TableSortParams) => any) | undefined;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"EntityBaseTable.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/entity-base-table/EntityBaseTable.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"EntityBaseTable.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/entity-base-table/EntityBaseTable.vue"],"names":[],"mappings":"AAibA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,KAAK,CAAA;AAInC,OAAO,KAAK,EAAE,SAAS,EAAE,gBAAgB,EAAE,wBAAwB,EAAE,sBAAsB,EAAE,MAAM,mBAAmB,CAAA;AAGtH,OAAO,KAAK,EACV,gBAAgB,EAChB,iBAAiB,EACjB,eAAe,EAEf,eAAe,EACf,iBAAiB,EAElB,MAAM,aAAa,CAAA;AAmbpB,iBAAS,cAAc;;;;;UAuK+D,GAAG;kCAElD,GAAG;kCACH,GAAG;;;YACZ,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;6CA7mBjC,8BA1YK;;;;;;;8CA0YL,8BAhYC;;;;;;;;;0CAgYD,8BAlXO;;2EAkXP,8BA1WI;;;;;;;;;;;;;;;;;;;;;;;;;;;wCAu0BY,GAAG,8CAA8C,GAAG,yBAAyB,GAAG,6DAC1E,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;0CA9dzB,8BA1ZmC;;;;;;WAihCrB,OAAO,IAA6B;EAEjD;AAyJD,KAAK,oBAAoB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAC9D,QAAA,MAAM,eAAe;;cAcD,QAAQ,CAAC,gBAAgB,CAAC;;;;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
}>, {
|
|
86
|
-
title: string;
|
|
87
86
|
error: string;
|
|
87
|
+
title: string;
|
|
88
88
|
entityName: string;
|
|
89
89
|
needConfirm: boolean;
|
|
90
90
|
description: string;
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import type { RouteLocationRaw } from 'vue-router';
|
|
2
2
|
import type { Field, KongManagerConfig, KonnectConfig } from './index';
|
|
3
|
+
import type { TableState } from '@kong/kongponents/dist/types';
|
|
3
4
|
export interface KonnectBaseTableConfig extends KonnectConfig {
|
|
4
5
|
/** Additional message to show when there are no records */
|
|
5
6
|
additionMessageForEmptyState?: string;
|
|
@@ -63,5 +64,12 @@ export type TableErrorMessage = {
|
|
|
63
64
|
title?: string;
|
|
64
65
|
message?: string;
|
|
65
66
|
} | null;
|
|
67
|
+
export interface TableStateParams {
|
|
68
|
+
state: TableState;
|
|
69
|
+
hasData: boolean;
|
|
70
|
+
}
|
|
71
|
+
export interface EntityBaseTableStateParams extends TableStateParams {
|
|
72
|
+
query: string;
|
|
73
|
+
}
|
|
66
74
|
export {};
|
|
67
75
|
//# sourceMappingURL=entity-base-table.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"entity-base-table.d.ts","sourceRoot":"","sources":["../../../src/types/entity-base-table.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,YAAY,CAAA;AAClD,OAAO,KAAK,EAAE,KAAK,EAAE,iBAAiB,EAAE,aAAa,EAAE,MAAM,SAAS,CAAA;
|
|
1
|
+
{"version":3,"file":"entity-base-table.d.ts","sourceRoot":"","sources":["../../../src/types/entity-base-table.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,YAAY,CAAA;AAClD,OAAO,KAAK,EAAE,KAAK,EAAE,iBAAiB,EAAE,aAAa,EAAE,MAAM,SAAS,CAAA;AACtE,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,8BAA8B,CAAA;AAE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