rayyy-vue-table-components 1.2.24 → 1.2.25
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/README.md +139 -0
- package/dist/index.es.js +2367 -2364
- package/dist/index.umd.js +1 -1
- package/dist/rayyy-vue-table-components.css +1 -1
- package/dist/src/components/layout/MainPanel.vue.d.ts +2 -0
- package/dist/src/types/components.d.ts +2 -0
- package/package.json +1 -1
- package/src/components/layout/MainPanel.vue +3 -3
- package/src/components/layout/SearchableListPanel.vue +1 -1
- package/src/types/components.d.ts +2 -0
|
@@ -2,6 +2,7 @@ type __VLS_Props = {
|
|
|
2
2
|
title?: string;
|
|
3
3
|
showBack?: boolean | string | object;
|
|
4
4
|
depth?: number;
|
|
5
|
+
maxHeight?: string;
|
|
5
6
|
};
|
|
6
7
|
declare function __VLS_template(): {
|
|
7
8
|
attrs: Partial<{}>;
|
|
@@ -15,6 +16,7 @@ declare function __VLS_template(): {
|
|
|
15
16
|
};
|
|
16
17
|
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
17
18
|
declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
|
|
19
|
+
maxHeight: string;
|
|
18
20
|
title: string;
|
|
19
21
|
showBack: boolean | string | object;
|
|
20
22
|
depth: number;
|
package/package.json
CHANGED
|
@@ -6,11 +6,13 @@ const props = withDefaults(
|
|
|
6
6
|
title?: string
|
|
7
7
|
showBack?: boolean | string | object
|
|
8
8
|
depth?: number
|
|
9
|
+
maxHeight?: string
|
|
9
10
|
}>(),
|
|
10
11
|
{
|
|
11
12
|
title: '',
|
|
12
13
|
showBack: false,
|
|
13
14
|
depth: 1,
|
|
15
|
+
maxHeight: 'calc(100vh-120px)',
|
|
14
16
|
},
|
|
15
17
|
)
|
|
16
18
|
</script>
|
|
@@ -18,7 +20,7 @@ const props = withDefaults(
|
|
|
18
20
|
<template>
|
|
19
21
|
<function-header :title="props.title" :showBack="props.showBack" :depth="props.depth" />
|
|
20
22
|
|
|
21
|
-
<el-scrollbar class="max-h-[
|
|
23
|
+
<el-scrollbar :class="`max-h-[${props.maxHeight}] max-w-screen overflow-auto`">
|
|
22
24
|
<div v-if="$slots.searchBar" class="px-4 pt-1.5">
|
|
23
25
|
<slot name="searchBar" />
|
|
24
26
|
</div>
|
|
@@ -33,5 +35,3 @@ const props = withDefaults(
|
|
|
33
35
|
<slot name="footer" />
|
|
34
36
|
</div>
|
|
35
37
|
</template>
|
|
36
|
-
|
|
37
|
-
|
|
@@ -50,7 +50,7 @@ const changePageSize = (limit: number) => {
|
|
|
50
50
|
:show-filter="showAllFeatures || showFilter"
|
|
51
51
|
:show-search="showAllFeatures || showSearch"
|
|
52
52
|
:badge-value="badgeValue"
|
|
53
|
-
:
|
|
53
|
+
:filter-drawer-size="filterDrawerSize"
|
|
54
54
|
@keydown:enter="search"
|
|
55
55
|
@update:clear="clearable"
|
|
56
56
|
>
|