giime 0.6.27 → 0.6.28
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/index.css +204 -0
- package/es/components/index.mjs +5 -0
- package/es/components/index.mjs.map +1 -1
- package/es/components/src/composite/index.d.ts +1 -0
- package/es/components/src/composite/index.mjs +5 -0
- package/es/components/src/composite/index.mjs.map +1 -1
- package/es/components/src/composite/tableCustom/TableCustom.vue.d.ts +556 -0
- package/es/components/src/composite/tableCustom/TableCustom.vue.mjs +8 -0
- package/es/components/src/composite/tableCustom/TableCustom.vue.mjs.map +1 -0
- package/es/components/src/composite/tableCustom/TableCustom.vue2.mjs +331 -0
- package/es/components/src/composite/tableCustom/TableCustom.vue2.mjs.map +1 -0
- package/es/components/src/composite/tableCustom/TableCustom.vue3.mjs +4 -0
- package/es/components/src/composite/tableCustom/TableCustom.vue3.mjs.map +1 -0
- package/es/components/src/composite/tableCustom/customOperate/CustomOperate.vue.d.ts +64 -0
- package/es/components/src/composite/tableCustom/customOperate/CustomOperate.vue.mjs +7 -0
- package/es/components/src/composite/tableCustom/customOperate/CustomOperate.vue.mjs.map +1 -0
- package/es/components/src/composite/tableCustom/customOperate/CustomOperate.vue2.mjs +469 -0
- package/es/components/src/composite/tableCustom/customOperate/CustomOperate.vue2.mjs.map +1 -0
- package/es/components/src/composite/tableCustom/customOperate/CustomOperate.vue3.mjs +4 -0
- package/es/components/src/composite/tableCustom/customOperate/CustomOperate.vue3.mjs.map +1 -0
- package/es/components/src/composite/tableCustom/customOperate/customOperate.d.ts +42 -0
- package/es/components/src/composite/tableCustom/customOperate/customOperate.mjs +13 -0
- package/es/components/src/composite/tableCustom/customOperate/customOperate.mjs.map +1 -0
- package/es/components/src/composite/tableCustom/customOperate/index.d.ts +66 -0
- package/es/components/src/composite/tableCustom/customOperate/index.mjs +10 -0
- package/es/components/src/composite/tableCustom/customOperate/index.mjs.map +1 -0
- package/es/components/src/composite/tableCustom/index.d.ts +1347 -0
- package/es/components/src/composite/tableCustom/index.mjs +12 -0
- package/es/components/src/composite/tableCustom/index.mjs.map +1 -0
- package/es/components/src/composite/tableCustom/tableCustom.d.ts +170 -0
- package/es/components/src/composite/tableCustom/tableCustom.mjs +16 -0
- package/es/components/src/composite/tableCustom/tableCustom.mjs.map +1 -0
- package/es/components/src/composite/tableCustom/tableCustomHeader/TableCustomHeader.vue.d.ts +79 -0
- package/es/components/src/composite/tableCustom/tableCustomHeader/TableCustomHeader.vue.mjs +7 -0
- package/es/components/src/composite/tableCustom/tableCustomHeader/TableCustomHeader.vue.mjs.map +1 -0
- package/es/components/src/composite/tableCustom/tableCustomHeader/TableCustomHeader.vue2.mjs +553 -0
- package/es/components/src/composite/tableCustom/tableCustomHeader/TableCustomHeader.vue2.mjs.map +1 -0
- package/es/components/src/composite/tableCustom/tableCustomHeader/TableCustomHeader.vue3.mjs +4 -0
- package/es/components/src/composite/tableCustom/tableCustomHeader/TableCustomHeader.vue3.mjs.map +1 -0
- package/es/components/src/composite/tableCustom/tableCustomHeader/index.d.ts +81 -0
- package/es/components/src/composite/tableCustom/tableCustomHeader/index.mjs +10 -0
- package/es/components/src/composite/tableCustom/tableCustomHeader/index.mjs.map +1 -0
- package/es/components/src/composite/tableCustom/tableCustomHeader/tableCustomHeader.d.ts +30 -0
- package/es/components/src/composite/tableCustom/tableCustomHeader/tableCustomHeader.mjs +32 -0
- package/es/components/src/composite/tableCustom/tableCustomHeader/tableCustomHeader.mjs.map +1 -0
- package/es/giime/component.mjs +2 -0
- package/es/giime/component.mjs.map +1 -1
- package/es/giime/index.mjs +6 -0
- package/es/giime/index.mjs.map +1 -1
- package/es/giime/version.d.ts +1 -1
- package/es/giime/version.mjs +1 -1
- package/es/giime/version.mjs.map +1 -1
- package/es/hooks/base/index.d.ts +1 -0
- package/es/hooks/base/index.mjs +1 -0
- package/es/hooks/base/index.mjs.map +1 -1
- package/es/hooks/base/useComputedFields/index.d.ts +4 -1
- package/es/hooks/base/useComputedFields/index.mjs.map +1 -1
- package/es/hooks/base/useElementRemainingHeight/index.d.ts +22 -0
- package/es/hooks/base/useElementRemainingHeight/index.mjs +16 -0
- package/es/hooks/base/useElementRemainingHeight/index.mjs.map +1 -0
- package/es/hooks/index.mjs +1 -0
- package/es/hooks/index.mjs.map +1 -1
- package/es/index.css +204 -0
- package/global.d.ts +1 -0
- package/lib/components/index.js +25 -14
- package/lib/components/index.js.map +1 -1
- package/lib/components/src/composite/index.d.ts +1 -0
- package/lib/components/src/composite/index.js +11 -0
- package/lib/components/src/composite/index.js.map +1 -1
- package/lib/components/src/composite/tableCustom/TableCustom.vue.d.ts +556 -0
- package/lib/components/src/composite/tableCustom/TableCustom.vue.js +12 -0
- package/lib/components/src/composite/tableCustom/TableCustom.vue.js.map +1 -0
- package/lib/components/src/composite/tableCustom/TableCustom.vue2.js +335 -0
- package/lib/components/src/composite/tableCustom/TableCustom.vue2.js.map +1 -0
- package/lib/components/src/composite/tableCustom/TableCustom.vue3.js +8 -0
- package/lib/components/src/composite/tableCustom/TableCustom.vue3.js.map +1 -0
- package/lib/components/src/composite/tableCustom/customOperate/CustomOperate.vue.d.ts +64 -0
- package/lib/components/src/composite/tableCustom/customOperate/CustomOperate.vue.js +11 -0
- package/lib/components/src/composite/tableCustom/customOperate/CustomOperate.vue.js.map +1 -0
- package/lib/components/src/composite/tableCustom/customOperate/CustomOperate.vue2.js +473 -0
- package/lib/components/src/composite/tableCustom/customOperate/CustomOperate.vue2.js.map +1 -0
- package/lib/components/src/composite/tableCustom/customOperate/CustomOperate.vue3.js +8 -0
- package/lib/components/src/composite/tableCustom/customOperate/CustomOperate.vue3.js.map +1 -0
- package/lib/components/src/composite/tableCustom/customOperate/customOperate.d.ts +42 -0
- package/lib/components/src/composite/tableCustom/customOperate/customOperate.js +16 -0
- package/lib/components/src/composite/tableCustom/customOperate/customOperate.js.map +1 -0
- package/lib/components/src/composite/tableCustom/customOperate/index.d.ts +66 -0
- package/lib/components/src/composite/tableCustom/customOperate/index.js +17 -0
- package/lib/components/src/composite/tableCustom/customOperate/index.js.map +1 -0
- package/lib/components/src/composite/tableCustom/index.d.ts +1347 -0
- package/lib/components/src/composite/tableCustom/index.js +22 -0
- package/lib/components/src/composite/tableCustom/index.js.map +1 -0
- package/lib/components/src/composite/tableCustom/tableCustom.d.ts +170 -0
- package/lib/components/src/composite/tableCustom/tableCustom.js +19 -0
- package/lib/components/src/composite/tableCustom/tableCustom.js.map +1 -0
- package/lib/components/src/composite/tableCustom/tableCustomHeader/TableCustomHeader.vue.d.ts +79 -0
- package/lib/components/src/composite/tableCustom/tableCustomHeader/TableCustomHeader.vue.js +11 -0
- package/lib/components/src/composite/tableCustom/tableCustomHeader/TableCustomHeader.vue.js.map +1 -0
- package/lib/components/src/composite/tableCustom/tableCustomHeader/TableCustomHeader.vue2.js +557 -0
- package/lib/components/src/composite/tableCustom/tableCustomHeader/TableCustomHeader.vue2.js.map +1 -0
- package/lib/components/src/composite/tableCustom/tableCustomHeader/TableCustomHeader.vue3.js +8 -0
- package/lib/components/src/composite/tableCustom/tableCustomHeader/TableCustomHeader.vue3.js.map +1 -0
- package/lib/components/src/composite/tableCustom/tableCustomHeader/index.d.ts +81 -0
- package/lib/components/src/composite/tableCustom/tableCustomHeader/index.js +16 -0
- package/lib/components/src/composite/tableCustom/tableCustomHeader/index.js.map +1 -0
- package/lib/components/src/composite/tableCustom/tableCustomHeader/tableCustomHeader.d.ts +30 -0
- package/lib/components/src/composite/tableCustom/tableCustomHeader/tableCustomHeader.js +34 -0
- package/lib/components/src/composite/tableCustom/tableCustomHeader/tableCustomHeader.js.map +1 -0
- package/lib/giime/component.js +10 -8
- package/lib/giime/component.js.map +1 -1
- package/lib/giime/index.js +81 -68
- package/lib/giime/index.js.map +1 -1
- package/lib/giime/version.d.ts +1 -1
- package/lib/giime/version.js +1 -1
- package/lib/giime/version.js.map +1 -1
- package/lib/hooks/base/index.d.ts +1 -0
- package/lib/hooks/base/index.js +2 -0
- package/lib/hooks/base/index.js.map +1 -1
- package/lib/hooks/base/useComputedFields/index.d.ts +4 -1
- package/lib/hooks/base/useComputedFields/index.js.map +1 -1
- package/lib/hooks/base/useElementRemainingHeight/index.d.ts +22 -0
- package/lib/hooks/base/useElementRemainingHeight/index.js +18 -0
- package/lib/hooks/base/useElementRemainingHeight/index.js.map +1 -0
- package/lib/hooks/index.js +38 -36
- package/lib/hooks/index.js.map +1 -1
- package/lib/index.css +204 -0
- package/package.json +1 -1
|
@@ -0,0 +1,81 @@
|
|
|
1
|
+
import TableCustomHeader from './TableCustomHeader.vue';
|
|
2
|
+
export declare const GmTableCustomHeader: import("../../../../../utils").SFCWithInstall<import("vue").DefineComponent<{
|
|
3
|
+
isShowDrawer: {
|
|
4
|
+
required: true;
|
|
5
|
+
type: import("vue").PropType<boolean>;
|
|
6
|
+
};
|
|
7
|
+
colPropsList: {
|
|
8
|
+
required: true;
|
|
9
|
+
type: import("vue").PropType<import("../../index.js").TableColumnProProps[]>;
|
|
10
|
+
};
|
|
11
|
+
keyWord: {
|
|
12
|
+
type: StringConstructor;
|
|
13
|
+
required: true;
|
|
14
|
+
};
|
|
15
|
+
type: {
|
|
16
|
+
type: StringConstructor;
|
|
17
|
+
required: true;
|
|
18
|
+
};
|
|
19
|
+
colDefaultPropsList: {
|
|
20
|
+
type: import("vue").PropType<import("../../index.js").TableColumnProProps[]>;
|
|
21
|
+
default: () => never[];
|
|
22
|
+
};
|
|
23
|
+
disabledRemoteCol: {
|
|
24
|
+
type: BooleanConstructor;
|
|
25
|
+
default: boolean;
|
|
26
|
+
};
|
|
27
|
+
dragHeader: {
|
|
28
|
+
type: BooleanConstructor;
|
|
29
|
+
default: boolean;
|
|
30
|
+
};
|
|
31
|
+
}, {
|
|
32
|
+
isInited: import("vue").Ref<boolean>;
|
|
33
|
+
submitSettings: (options?: {
|
|
34
|
+
hiddenMessage?: boolean | undefined;
|
|
35
|
+
} | undefined) => Promise<void>;
|
|
36
|
+
syncPropsList: () => void;
|
|
37
|
+
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
38
|
+
"update:isShowDrawer": (isShowDrawer: boolean) => void;
|
|
39
|
+
"update:colPropsList": (colPropsList: import("../../index.js").TableColumnProProps[]) => void;
|
|
40
|
+
updateColumns: () => void;
|
|
41
|
+
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
42
|
+
isShowDrawer: {
|
|
43
|
+
required: true;
|
|
44
|
+
type: import("vue").PropType<boolean>;
|
|
45
|
+
};
|
|
46
|
+
colPropsList: {
|
|
47
|
+
required: true;
|
|
48
|
+
type: import("vue").PropType<import("../../index.js").TableColumnProProps[]>;
|
|
49
|
+
};
|
|
50
|
+
keyWord: {
|
|
51
|
+
type: StringConstructor;
|
|
52
|
+
required: true;
|
|
53
|
+
};
|
|
54
|
+
type: {
|
|
55
|
+
type: StringConstructor;
|
|
56
|
+
required: true;
|
|
57
|
+
};
|
|
58
|
+
colDefaultPropsList: {
|
|
59
|
+
type: import("vue").PropType<import("../../index.js").TableColumnProProps[]>;
|
|
60
|
+
default: () => never[];
|
|
61
|
+
};
|
|
62
|
+
disabledRemoteCol: {
|
|
63
|
+
type: BooleanConstructor;
|
|
64
|
+
default: boolean;
|
|
65
|
+
};
|
|
66
|
+
dragHeader: {
|
|
67
|
+
type: BooleanConstructor;
|
|
68
|
+
default: boolean;
|
|
69
|
+
};
|
|
70
|
+
}>> & {
|
|
71
|
+
"onUpdate:isShowDrawer"?: ((isShowDrawer: boolean) => any) | undefined;
|
|
72
|
+
"onUpdate:colPropsList"?: ((colPropsList: import("../../index.js").TableColumnProProps[]) => any) | undefined;
|
|
73
|
+
onUpdateColumns?: (() => any) | undefined;
|
|
74
|
+
}, {
|
|
75
|
+
colDefaultPropsList: import("../../index.js").TableColumnProProps[];
|
|
76
|
+
disabledRemoteCol: boolean;
|
|
77
|
+
dragHeader: boolean;
|
|
78
|
+
}, {}>> & Record<string, any>;
|
|
79
|
+
export type TableCustomHeaderInstance = InstanceType<typeof TableCustomHeader>;
|
|
80
|
+
export * from './tableCustomHeader';
|
|
81
|
+
export default GmTableCustomHeader;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import '../../../../../utils/index.mjs';
|
|
2
|
+
import './TableCustomHeader.vue.mjs';
|
|
3
|
+
export { tableCustomHeaderProps } from './tableCustomHeader.mjs';
|
|
4
|
+
import { withInstall } from '../../../../../utils/src/vue/install.mjs';
|
|
5
|
+
import _sfc_main from './TableCustomHeader.vue2.mjs';
|
|
6
|
+
|
|
7
|
+
const GmTableCustomHeader = withInstall(_sfc_main);
|
|
8
|
+
|
|
9
|
+
export { GmTableCustomHeader, GmTableCustomHeader as default };
|
|
10
|
+
//# sourceMappingURL=index.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.mjs","sources":["../../../../../../../../packages/components/src/composite/tableCustom/tableCustomHeader/index.ts"],"sourcesContent":["import { withInstall } from '@giime/utils';\nimport TableCustomHeader from './TableCustomHeader.vue';\n\nexport const GmTableCustomHeader = withInstall(TableCustomHeader);\nexport type TableCustomHeaderInstance = InstanceType<typeof TableCustomHeader>;\nexport * from './tableCustomHeader';\nexport default GmTableCustomHeader;\n"],"names":["TableCustomHeader"],"mappings":";;;;;;AAGa,MAAA,mBAAA,GAAsB,YAAYA,SAAiB;;;;"}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import type { TableColumnProProps } from '../../tablePro/tableColumnPro/tableColumnPro';
|
|
2
|
+
import type { PropType } from 'vue';
|
|
3
|
+
export declare const tableCustomHeaderProps: {
|
|
4
|
+
/**
|
|
5
|
+
* 每个列表的唯一key
|
|
6
|
+
*/
|
|
7
|
+
keyWord: {
|
|
8
|
+
type: StringConstructor;
|
|
9
|
+
required: true;
|
|
10
|
+
};
|
|
11
|
+
/**
|
|
12
|
+
* 自定义值 类型
|
|
13
|
+
*/
|
|
14
|
+
type: {
|
|
15
|
+
type: StringConstructor;
|
|
16
|
+
required: true;
|
|
17
|
+
};
|
|
18
|
+
colDefaultPropsList: {
|
|
19
|
+
type: PropType<TableColumnProProps[]>;
|
|
20
|
+
default: () => never[];
|
|
21
|
+
};
|
|
22
|
+
disabledRemoteCol: {
|
|
23
|
+
type: BooleanConstructor;
|
|
24
|
+
default: boolean;
|
|
25
|
+
};
|
|
26
|
+
dragHeader: {
|
|
27
|
+
type: BooleanConstructor;
|
|
28
|
+
default: boolean;
|
|
29
|
+
};
|
|
30
|
+
};
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
const tableCustomHeaderProps = {
|
|
2
|
+
/**
|
|
3
|
+
* 每个列表的唯一key
|
|
4
|
+
*/
|
|
5
|
+
keyWord: {
|
|
6
|
+
type: String,
|
|
7
|
+
required: true
|
|
8
|
+
},
|
|
9
|
+
/**
|
|
10
|
+
* 自定义值 类型
|
|
11
|
+
*/
|
|
12
|
+
type: {
|
|
13
|
+
type: String,
|
|
14
|
+
required: true
|
|
15
|
+
},
|
|
16
|
+
colDefaultPropsList: {
|
|
17
|
+
type: Array,
|
|
18
|
+
default: () => []
|
|
19
|
+
},
|
|
20
|
+
// 是否禁用 远程列的配置
|
|
21
|
+
disabledRemoteCol: {
|
|
22
|
+
type: Boolean,
|
|
23
|
+
default: false
|
|
24
|
+
},
|
|
25
|
+
dragHeader: {
|
|
26
|
+
type: Boolean,
|
|
27
|
+
default: true
|
|
28
|
+
}
|
|
29
|
+
};
|
|
30
|
+
|
|
31
|
+
export { tableCustomHeaderProps };
|
|
32
|
+
//# sourceMappingURL=tableCustomHeader.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"tableCustomHeader.mjs","sources":["../../../../../../../../packages/components/src/composite/tableCustom/tableCustomHeader/tableCustomHeader.ts"],"sourcesContent":["import type { TableColumnProProps } from '../../tablePro/tableColumnPro/tableColumnPro';\nimport type { PropType } from 'vue';\n\n// interface TableColumnProProps {\n// label: string; // 表头名称\n// prop: string; // 展示字段 && 唯一标识\n// width?: number; // 字段宽度\n// slot?: boolean; // 是否开启插槽\n// formatter?: (row: Record<string, any>, column: TableColumnCtx<any>) => string; // 格式化内容 开启插槽后无效\n// sortable?: boolean | string; // 是否开启排序\n// tooltip?: boolean; // 是否开启超出tooltip\n// [key: string]: any; // 其他属性\n// }\n\nexport const tableCustomHeaderProps = {\n /**\n * 每个列表的唯一key\n */\n keyWord: {\n type: String,\n required: true as const,\n },\n /**\n * 自定义值 类型\n */\n type: {\n type: String,\n required: true as const,\n },\n colDefaultPropsList: {\n type: Array as PropType<TableColumnProProps[]>,\n default: () => [],\n },\n // 是否禁用 远程列的配置\n disabledRemoteCol: {\n type: Boolean,\n default: false,\n },\n dragHeader: {\n type: Boolean,\n default: true,\n },\n};\n"],"names":[],"mappings":"AAcO,MAAM,sBAAyB,GAAA;AAAA;AAAA;AAAA;AAAA,EAIpC,OAAS,EAAA;AAAA,IACP,IAAM,EAAA,MAAA;AAAA,IACN,QAAU,EAAA,IAAA;AAAA,GACZ;AAAA;AAAA;AAAA;AAAA,EAIA,IAAM,EAAA;AAAA,IACJ,IAAM,EAAA,MAAA;AAAA,IACN,QAAU,EAAA,IAAA;AAAA,GACZ;AAAA,EACA,mBAAqB,EAAA;AAAA,IACnB,IAAM,EAAA,KAAA;AAAA,IACN,OAAA,EAAS,MAAM,EAAC;AAAA,GAClB;AAAA;AAAA,EAEA,iBAAmB,EAAA;AAAA,IACjB,IAAM,EAAA,OAAA;AAAA,IACN,OAAS,EAAA,KAAA;AAAA,GACX;AAAA,EACA,UAAY,EAAA;AAAA,IACV,IAAM,EAAA,OAAA;AAAA,IACN,OAAS,EAAA,IAAA;AAAA,GACX;AACF;;;;"}
|
package/es/giime/component.mjs
CHANGED
|
@@ -126,6 +126,7 @@ import { GmTableHeaderForm } from '../components/src/composite/tablePro/tableHea
|
|
|
126
126
|
import { GmTablePagination } from '../components/src/composite/tablePro/tablePagination/index.mjs';
|
|
127
127
|
import { GmTableToolbar } from '../components/src/composite/tablePro/tableToolbar/index.mjs';
|
|
128
128
|
import { GmTableCtx } from '../components/src/composite/tablePro/tableCtx/index.mjs';
|
|
129
|
+
import { GmTableCustom } from '../components/src/composite/tableCustom/index.mjs';
|
|
129
130
|
import { GmOperateButton } from '../components/src/composite/operateButton/index.mjs';
|
|
130
131
|
import { GmOperateButtonForm } from '../components/src/composite/operateButton/operateButtonForm/index.mjs';
|
|
131
132
|
import { GmAliCategoryCascader } from '../components/src/business/aliCategoryCascader/index.mjs';
|
|
@@ -262,6 +263,7 @@ var Components = [
|
|
|
262
263
|
GmTablePagination,
|
|
263
264
|
GmTableToolbar,
|
|
264
265
|
GmTableCtx,
|
|
266
|
+
GmTableCustom,
|
|
265
267
|
// 自定义操作按钮
|
|
266
268
|
GmOperateButton,
|
|
267
269
|
GmOperateButtonForm,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"component.mjs","sources":["../../../../packages/giime/component.ts"],"sourcesContent":["/* eslint-disable sort-imports */\nimport {\n // 基础组件\n GmAffix,\n GmAlert,\n GmAnchor,\n GmAnchorLink,\n GmAside,\n GmAutoResizer,\n GmAutocomplete,\n GmAvatar,\n GmBacktop,\n GmBadge,\n GmBreadcrumb,\n GmBreadcrumbItem,\n GmButton,\n GmButtonGroup,\n GmCalendar,\n GmCard,\n GmCarousel,\n GmCarouselItem,\n GmCascader,\n GmCascaderPanel,\n GmCheckTag,\n GmCheckbox,\n GmCheckboxButton,\n GmCheckboxGroup,\n GmCol,\n GmCollapse,\n GmCollapseItem,\n GmCollapseTransition,\n GmColorPicker,\n GmConfigProvider,\n GmContainer,\n GmCountdown,\n GmDatePicker,\n GmDescriptions,\n GmDescriptionsItem,\n GmDialog,\n GmDivider,\n GmDrawer,\n GmDropdown,\n GmDropdownItem,\n GmDropdownMenu,\n GmEmpty,\n GmFooter,\n GmForm,\n GmFormItem,\n GmHeader,\n GmIcon,\n GmImage,\n GmImageViewer,\n GmInput,\n GmInputNumber,\n GmLink,\n GmMain,\n GmMenu,\n GmMenuItem,\n GmMenuItemGroup,\n GmOption,\n GmOptionGroup,\n GmPageHeader,\n GmPagination,\n GmPopconfirm,\n GmPopover,\n GmPopper,\n GmProgress,\n GmRadio,\n GmRadioButton,\n GmRadioGroup,\n GmRate,\n GmResult,\n GmRow,\n GmScrollbar,\n GmSelect,\n GmSelectV2,\n GmSkeleton,\n GmSkeletonItem,\n GmSlider,\n GmSpace,\n GmStatistic,\n GmStep,\n GmSteps,\n GmSubMenu,\n GmSwitch,\n GmTabPane,\n GmTable,\n GmTableColumn,\n GmTableV2,\n GmTabs,\n GmTag,\n GmText,\n GmTimePicker,\n GmTimeSelect,\n GmTimeline,\n GmTimelineItem,\n GmTooltip,\n GmTooltipV2,\n GmTour,\n GmTourStep,\n GmTransfer,\n GmTree,\n GmTreeSelect,\n GmTreeV2,\n GmUpload,\n GmWatermark,\n GmStatus,\n GmCopyIcon,\n GmChart,\n // 复合组件\n // -- 搜索模块\n GmSearchForm,\n GmSearchFormInput,\n GmSearchFormSelect,\n GmSearchFormSelectV2,\n GmSearchFormCascader,\n GmSearchFormDatePicker,\n GmSearchFormNumberInterval,\n GmNumberInterval,\n GmDialogForm,\n GmDrawerForm,\n GmFormItemModule,\n GmSelectOptions,\n GmImportDialog,\n GmPreviewFile,\n GmFileComponent,\n // --表格模块\n GmTablePro,\n GmTableColumnPro,\n GmTableHeaderForm,\n GmTablePagination,\n GmTableToolbar,\n GmTableCtx,\n // 自定义操作按钮\n GmOperateButton,\n GmOperateButtonForm,\n // 业务组件\n GmAliCategoryCascader,\n GmCompanyCategoryCascader,\n} from '@giime/components';\n\nimport type { Plugin } from 'vue';\n\nexport default [\n GmAffix,\n GmAlert,\n GmAnchor,\n GmAnchorLink,\n GmAside,\n GmAutoResizer,\n GmAutocomplete,\n GmAvatar,\n GmBacktop,\n GmBadge,\n GmBreadcrumb,\n GmBreadcrumbItem,\n GmButton,\n GmButtonGroup,\n GmCalendar,\n GmCard,\n GmCarousel,\n GmCarouselItem,\n GmCascader,\n GmCascaderPanel,\n GmCheckTag,\n GmCheckbox,\n GmCheckboxButton,\n GmCheckboxGroup,\n GmCol,\n GmCollapse,\n GmCollapseItem,\n GmCollapseTransition,\n GmColorPicker,\n GmConfigProvider,\n GmContainer,\n GmCountdown,\n GmDatePicker,\n GmDescriptions,\n GmDescriptionsItem,\n GmDialog,\n GmDivider,\n GmDrawer,\n GmDropdown,\n GmDropdownItem,\n GmDropdownMenu,\n GmEmpty,\n GmFooter,\n GmForm,\n GmFormItem,\n GmHeader,\n GmIcon,\n GmImage,\n GmImageViewer,\n GmInput,\n GmInputNumber,\n GmLink,\n GmMain,\n GmMenu,\n GmMenuItem,\n GmMenuItemGroup,\n GmOption,\n GmOptionGroup,\n GmPageHeader,\n GmPagination,\n GmPopconfirm,\n GmPopover,\n GmPopper,\n GmProgress,\n GmRadio,\n GmRadioButton,\n GmRadioGroup,\n GmRate,\n GmResult,\n GmRow,\n GmScrollbar,\n GmSelect,\n GmSelectV2,\n GmSkeleton,\n GmSkeletonItem,\n GmSlider,\n GmSpace,\n GmStatistic,\n GmStep,\n GmSteps,\n GmSubMenu,\n GmSwitch,\n GmTabPane,\n GmTable,\n GmTableColumn,\n GmTableV2,\n GmTabs,\n GmTag,\n GmText,\n GmTimePicker,\n GmTimeSelect,\n GmTimeline,\n GmTimelineItem,\n GmTooltip,\n GmTooltipV2,\n GmTour,\n GmTourStep,\n GmTransfer,\n GmTree,\n GmTreeSelect,\n GmTreeV2,\n GmUpload,\n GmWatermark,\n GmStatus,\n GmCopyIcon,\n GmChart,\n // 复合组件\n // -- 搜索模块\n GmSearchForm,\n GmSearchFormInput,\n GmSearchFormSelect,\n GmSearchFormSelectV2,\n GmSearchFormCascader,\n GmSearchFormDatePicker,\n GmSearchFormNumberInterval,\n GmNumberInterval,\n GmDialogForm,\n GmDrawerForm,\n GmFormItemModule,\n GmSelectOptions,\n GmImportDialog,\n GmPreviewFile,\n GmFileComponent,\n // --表格模块\n GmTablePro,\n GmTableColumnPro,\n GmTableHeaderForm,\n GmTablePagination,\n GmTableToolbar,\n GmTableCtx,\n // 自定义操作按钮\n GmOperateButton,\n GmOperateButtonForm,\n // 业务组件\n GmAliCategoryCascader,\n GmCompanyCategoryCascader,\n] as Plugin[];\n"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"component.mjs","sources":["../../../../packages/giime/component.ts"],"sourcesContent":["/* eslint-disable sort-imports */\nimport {\n // 基础组件\n GmAffix,\n GmAlert,\n GmAnchor,\n GmAnchorLink,\n GmAside,\n GmAutoResizer,\n GmAutocomplete,\n GmAvatar,\n GmBacktop,\n GmBadge,\n GmBreadcrumb,\n GmBreadcrumbItem,\n GmButton,\n GmButtonGroup,\n GmCalendar,\n GmCard,\n GmCarousel,\n GmCarouselItem,\n GmCascader,\n GmCascaderPanel,\n GmCheckTag,\n GmCheckbox,\n GmCheckboxButton,\n GmCheckboxGroup,\n GmCol,\n GmCollapse,\n GmCollapseItem,\n GmCollapseTransition,\n GmColorPicker,\n GmConfigProvider,\n GmContainer,\n GmCountdown,\n GmDatePicker,\n GmDescriptions,\n GmDescriptionsItem,\n GmDialog,\n GmDivider,\n GmDrawer,\n GmDropdown,\n GmDropdownItem,\n GmDropdownMenu,\n GmEmpty,\n GmFooter,\n GmForm,\n GmFormItem,\n GmHeader,\n GmIcon,\n GmImage,\n GmImageViewer,\n GmInput,\n GmInputNumber,\n GmLink,\n GmMain,\n GmMenu,\n GmMenuItem,\n GmMenuItemGroup,\n GmOption,\n GmOptionGroup,\n GmPageHeader,\n GmPagination,\n GmPopconfirm,\n GmPopover,\n GmPopper,\n GmProgress,\n GmRadio,\n GmRadioButton,\n GmRadioGroup,\n GmRate,\n GmResult,\n GmRow,\n GmScrollbar,\n GmSelect,\n GmSelectV2,\n GmSkeleton,\n GmSkeletonItem,\n GmSlider,\n GmSpace,\n GmStatistic,\n GmStep,\n GmSteps,\n GmSubMenu,\n GmSwitch,\n GmTabPane,\n GmTable,\n GmTableColumn,\n GmTableV2,\n GmTabs,\n GmTag,\n GmText,\n GmTimePicker,\n GmTimeSelect,\n GmTimeline,\n GmTimelineItem,\n GmTooltip,\n GmTooltipV2,\n GmTour,\n GmTourStep,\n GmTransfer,\n GmTree,\n GmTreeSelect,\n GmTreeV2,\n GmUpload,\n GmWatermark,\n GmStatus,\n GmCopyIcon,\n GmChart,\n // 复合组件\n // -- 搜索模块\n GmSearchForm,\n GmSearchFormInput,\n GmSearchFormSelect,\n GmSearchFormSelectV2,\n GmSearchFormCascader,\n GmSearchFormDatePicker,\n GmSearchFormNumberInterval,\n GmNumberInterval,\n GmDialogForm,\n GmDrawerForm,\n GmFormItemModule,\n GmSelectOptions,\n GmImportDialog,\n GmPreviewFile,\n GmFileComponent,\n // --表格模块\n GmTablePro,\n GmTableColumnPro,\n GmTableHeaderForm,\n GmTablePagination,\n GmTableToolbar,\n GmTableCtx,\n GmTableCustom,\n // 自定义操作按钮\n GmOperateButton,\n GmOperateButtonForm,\n // 业务组件\n GmAliCategoryCascader,\n GmCompanyCategoryCascader,\n} from '@giime/components';\n\nimport type { Plugin } from 'vue';\n\nexport default [\n GmAffix,\n GmAlert,\n GmAnchor,\n GmAnchorLink,\n GmAside,\n GmAutoResizer,\n GmAutocomplete,\n GmAvatar,\n GmBacktop,\n GmBadge,\n GmBreadcrumb,\n GmBreadcrumbItem,\n GmButton,\n GmButtonGroup,\n GmCalendar,\n GmCard,\n GmCarousel,\n GmCarouselItem,\n GmCascader,\n GmCascaderPanel,\n GmCheckTag,\n GmCheckbox,\n GmCheckboxButton,\n GmCheckboxGroup,\n GmCol,\n GmCollapse,\n GmCollapseItem,\n GmCollapseTransition,\n GmColorPicker,\n GmConfigProvider,\n GmContainer,\n GmCountdown,\n GmDatePicker,\n GmDescriptions,\n GmDescriptionsItem,\n GmDialog,\n GmDivider,\n GmDrawer,\n GmDropdown,\n GmDropdownItem,\n GmDropdownMenu,\n GmEmpty,\n GmFooter,\n GmForm,\n GmFormItem,\n GmHeader,\n GmIcon,\n GmImage,\n GmImageViewer,\n GmInput,\n GmInputNumber,\n GmLink,\n GmMain,\n GmMenu,\n GmMenuItem,\n GmMenuItemGroup,\n GmOption,\n GmOptionGroup,\n GmPageHeader,\n GmPagination,\n GmPopconfirm,\n GmPopover,\n GmPopper,\n GmProgress,\n GmRadio,\n GmRadioButton,\n GmRadioGroup,\n GmRate,\n GmResult,\n GmRow,\n GmScrollbar,\n GmSelect,\n GmSelectV2,\n GmSkeleton,\n GmSkeletonItem,\n GmSlider,\n GmSpace,\n GmStatistic,\n GmStep,\n GmSteps,\n GmSubMenu,\n GmSwitch,\n GmTabPane,\n GmTable,\n GmTableColumn,\n GmTableV2,\n GmTabs,\n GmTag,\n GmText,\n GmTimePicker,\n GmTimeSelect,\n GmTimeline,\n GmTimelineItem,\n GmTooltip,\n GmTooltipV2,\n GmTour,\n GmTourStep,\n GmTransfer,\n GmTree,\n GmTreeSelect,\n GmTreeV2,\n GmUpload,\n GmWatermark,\n GmStatus,\n GmCopyIcon,\n GmChart,\n // 复合组件\n // -- 搜索模块\n GmSearchForm,\n GmSearchFormInput,\n GmSearchFormSelect,\n GmSearchFormSelectV2,\n GmSearchFormCascader,\n GmSearchFormDatePicker,\n GmSearchFormNumberInterval,\n GmNumberInterval,\n GmDialogForm,\n GmDrawerForm,\n GmFormItemModule,\n GmSelectOptions,\n GmImportDialog,\n GmPreviewFile,\n GmFileComponent,\n // --表格模块\n GmTablePro,\n GmTableColumnPro,\n GmTableHeaderForm,\n GmTablePagination,\n GmTableToolbar,\n GmTableCtx,\n GmTableCustom,\n // 自定义操作按钮\n GmOperateButton,\n GmOperateButtonForm,\n // 业务组件\n GmAliCategoryCascader,\n GmCompanyCategoryCascader,\n] as Plugin[];\n"],"names":[],"mappings":"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"}
|
package/es/giime/index.mjs
CHANGED
|
@@ -291,6 +291,11 @@ export { fileComponentProps } from '../components/src/composite/fileComponent/fi
|
|
|
291
291
|
export { GmFileComponent } from '../components/src/composite/fileComponent/index.mjs';
|
|
292
292
|
export { previewFileProps } from '../components/src/composite/previewFile/previewFile.mjs';
|
|
293
293
|
export { GmPreviewFile } from '../components/src/composite/previewFile/index.mjs';
|
|
294
|
+
export { tableCustomHeaderProps } from '../components/src/composite/tableCustom/tableCustomHeader/tableCustomHeader.mjs';
|
|
295
|
+
export { GmTableCustomHeader } from '../components/src/composite/tableCustom/tableCustomHeader/index.mjs';
|
|
296
|
+
export { customOperateButtonProps, customOperateProps } from '../components/src/composite/tableCustom/customOperate/customOperate.mjs';
|
|
297
|
+
export { GmCustomOperate } from '../components/src/composite/tableCustom/customOperate/index.mjs';
|
|
298
|
+
export { GmTableCustom } from '../components/src/composite/tableCustom/index.mjs';
|
|
294
299
|
export { messageTypes, normalizeMessageOptions } from '../components/src/plugins/message/method.mjs';
|
|
295
300
|
export { GmMessage } from '../components/src/plugins/message/index.mjs';
|
|
296
301
|
export { GmLoading } from '../components/src/plugins/loading/index.mjs';
|
|
@@ -310,6 +315,7 @@ export { useRectSelect } from '../hooks/base/useRectSelect/index.mjs';
|
|
|
310
315
|
export { usePageHtmlClass } from '../hooks/base/usePageHtmlClass/index.mjs';
|
|
311
316
|
export { useComputedFields } from '../hooks/base/useComputedFields/index.mjs';
|
|
312
317
|
export { useAxios } from '../hooks/base/useAxios/index.mjs';
|
|
318
|
+
export { useElementRemainingHeight } from '../hooks/base/useElementRemainingHeight/index.mjs';
|
|
313
319
|
export { useLoginStore } from '../hooks/store/useLogin/index.mjs';
|
|
314
320
|
export { useCustomSettingsStore } from '../hooks/store/useCustomSettings/index.mjs';
|
|
315
321
|
export { useLineListStore } from '../hooks/store/useLineList/index.mjs';
|
package/es/giime/index.mjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.mjs","sources":["../../../../packages/giime/index.ts"],"sourcesContent":["import installer from './defaults';\nimport './tailwind.css';\nexport * from '@giime/utils';\nexport * from '@giime/components';\nexport * from '@giime/hooks';\n// export * from '@giime/api'; // 用户通过giime/es/api 导入类型\nexport const install = installer.install;\nexport const version = installer.version;\nexport default installer;\n"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.mjs","sources":["../../../../packages/giime/index.ts"],"sourcesContent":["import installer from './defaults';\nimport './tailwind.css';\nexport * from '@giime/utils';\nexport * from '@giime/components';\nexport * from '@giime/hooks';\n// export * from '@giime/api'; // 用户通过giime/es/api 导入类型\nexport const install = installer.install;\nexport const version = installer.version;\nexport default installer;\n"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAMO,MAAM,UAAU,SAAU,CAAA,QAAA;AAC1B,MAAM,UAAU,SAAU,CAAA;;;;"}
|
package/es/giime/version.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const version = "0.6.
|
|
1
|
+
export declare const version = "0.6.28";
|
package/es/giime/version.mjs
CHANGED
package/es/giime/version.mjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"version.mjs","sources":["../../../../packages/giime/version.ts"],"sourcesContent":["export const version = '0.6.
|
|
1
|
+
{"version":3,"file":"version.mjs","sources":["../../../../packages/giime/version.ts"],"sourcesContent":["export const version = '0.6.28';\n"],"names":[],"mappings":"AAAO,MAAM,OAAU,GAAA;;;;"}
|
package/es/hooks/base/index.d.ts
CHANGED
package/es/hooks/base/index.mjs
CHANGED
|
@@ -7,4 +7,5 @@ export { useRectSelect } from './useRectSelect/index.mjs';
|
|
|
7
7
|
export { usePageHtmlClass } from './usePageHtmlClass/index.mjs';
|
|
8
8
|
export { useComputedFields } from './useComputedFields/index.mjs';
|
|
9
9
|
export { useAxios } from './useAxios/index.mjs';
|
|
10
|
+
export { useElementRemainingHeight } from './useElementRemainingHeight/index.mjs';
|
|
10
11
|
//# sourceMappingURL=index.mjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.mjs","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.mjs","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;"}
|
|
@@ -10,6 +10,9 @@ import { type Ref, type UnwrapRef } from 'vue';
|
|
|
10
10
|
* // 多个状态
|
|
11
11
|
* const statusList = useComputedFields(queryParams, ['status1', 'status2', 'status3']);
|
|
12
12
|
* // 多个时间点
|
|
13
|
-
* const timePoints = useComputedFields(queryParams, ['create_time_start', 'create_time_end']);
|
|
13
|
+
* const timePoints = useComputedFields<string[]>(queryParams, ['create_time_start', 'create_time_end']);
|
|
14
|
+
* 配合组件使用:
|
|
15
|
+
* <gm-search-form-date-picker v-model="createTime" prop="createTime" label="创建时间" type="daterange" />
|
|
16
|
+
*
|
|
14
17
|
*/
|
|
15
18
|
export declare const useComputedFields: <R = unknown, T extends Ref<Record<string, any>> = Ref<Record<string, any>>, K extends keyof UnwrapRef<T> & string = keyof UnwrapRef<T> & string>(queryParams: T, fields: K[]) => import("vue").WritableComputedRef<R extends unknown ? UnwrapRef<T>[K][] : R>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.mjs","sources":["../../../../../../packages/hooks/base/useComputedFields/index.ts"],"sourcesContent":["import { type Ref, type UnwrapRef, computed } from 'vue';\n\n/**\n * 创建字段数组的computed属性\n * @param queryParams 查询参数对象\n * @param fields 字段名数组\n * @returns computed数组\n * @example\n * // 价格区间\n * const priceRange = useComputedFields(queryParams, ['min_price', 'max_price']);\n * // 多个状态\n * const statusList = useComputedFields(queryParams, ['status1', 'status2', 'status3']);\n * // 多个时间点\n * const timePoints = useComputedFields(queryParams, ['create_time_start', 'create_time_end']);\n */\nexport const useComputedFields = <\n R = unknown,\n T extends Ref<Record<string, any>> = Ref<Record<string, any>>,\n K extends keyof UnwrapRef<T> & string = keyof UnwrapRef<T> & string,\n>(\n queryParams: T,\n fields: K[],\n) => {\n type InferredType = R extends unknown ? Array<UnwrapRef<T>[K]> : R;\n\n return computed<InferredType>({\n get: () => {\n return fields.map(field => queryParams.value[field]) as unknown as InferredType;\n },\n set: (val: InferredType) => {\n val = (val ?? ([] as InferredType)) as InferredType & any[];\n if (!Array.isArray(val)) {\n console.warn('Value array length does not match fields array length');\n\n return;\n }\n fields.forEach((field, index) => {\n queryParams.value[field] = (val as Array<UnwrapRef<T>[K]>)[index];\n });\n },\n });\n};\n"],"names":[],"mappings":";;
|
|
1
|
+
{"version":3,"file":"index.mjs","sources":["../../../../../../packages/hooks/base/useComputedFields/index.ts"],"sourcesContent":["import { type Ref, type UnwrapRef, computed } from 'vue';\n\n/**\n * 创建字段数组的computed属性\n * @param queryParams 查询参数对象\n * @param fields 字段名数组\n * @returns computed数组\n * @example\n * // 价格区间\n * const priceRange = useComputedFields(queryParams, ['min_price', 'max_price']);\n * // 多个状态\n * const statusList = useComputedFields(queryParams, ['status1', 'status2', 'status3']);\n * // 多个时间点\n * const timePoints = useComputedFields<string[]>(queryParams, ['create_time_start', 'create_time_end']);\n * 配合组件使用:\n * <gm-search-form-date-picker v-model=\"createTime\" prop=\"createTime\" label=\"创建时间\" type=\"daterange\" />\n *\n */\nexport const useComputedFields = <\n R = unknown,\n T extends Ref<Record<string, any>> = Ref<Record<string, any>>,\n K extends keyof UnwrapRef<T> & string = keyof UnwrapRef<T> & string,\n>(\n queryParams: T,\n fields: K[],\n) => {\n type InferredType = R extends unknown ? Array<UnwrapRef<T>[K]> : R;\n\n return computed<InferredType>({\n get: () => {\n return fields.map(field => queryParams.value[field]) as unknown as InferredType;\n },\n set: (val: InferredType) => {\n val = (val ?? ([] as InferredType)) as InferredType & any[];\n if (!Array.isArray(val)) {\n console.warn('Value array length does not match fields array length');\n\n return;\n }\n fields.forEach((field, index) => {\n queryParams.value[field] = (val as Array<UnwrapRef<T>[K]>)[index];\n });\n },\n });\n};\n"],"names":[],"mappings":";;AAkBa,MAAA,iBAAA,GAAoB,CAK/B,WAAA,EACA,MACG,KAAA;AAGH,EAAA,OAAO,QAAuB,CAAA;AAAA,IAC5B,KAAK,MAAM;AACT,MAAA,OAAO,OAAO,GAAI,CAAA,CAAA,KAAA,KAAS,WAAY,CAAA,KAAA,CAAM,KAAK,CAAC,CAAA,CAAA;AAAA,KACrD;AAAA,IACA,GAAA,EAAK,CAAC,GAAsB,KAAA;AAC1B,MAAA,GAAA,GAAO,OAAQ,EAAC,CAAA;AAChB,MAAA,IAAI,CAAC,KAAA,CAAM,OAAQ,CAAA,GAAG,CAAG,EAAA;AACvB,QAAA,OAAA,CAAQ,KAAK,uDAAuD,CAAA,CAAA;AAEpE,QAAA,OAAA;AAAA,OACF;AACA,MAAO,MAAA,CAAA,OAAA,CAAQ,CAAC,KAAA,EAAO,KAAU,KAAA;AAC/B,QAAA,WAAA,CAAY,KAAM,CAAA,KAAK,CAAK,GAAA,GAAA,CAA+B,KAAK,CAAA,CAAA;AAAA,OACjE,CAAA,CAAA;AAAA,KACH;AAAA,GACD,CAAA,CAAA;AACH;;;;"}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { type MaybeComputedElementRef } from '@vueuse/core';
|
|
2
|
+
export interface UseElementRemainingHeightOptions {
|
|
3
|
+
/**
|
|
4
|
+
* 底部偏移量,用于预留空间给分页器等元素
|
|
5
|
+
* @default 0
|
|
6
|
+
*/
|
|
7
|
+
bottomOffset?: number;
|
|
8
|
+
/**
|
|
9
|
+
* 最小高度(单位:px)
|
|
10
|
+
* @default 0
|
|
11
|
+
*/
|
|
12
|
+
minHeight?: number;
|
|
13
|
+
}
|
|
14
|
+
/**
|
|
15
|
+
* 计算元素剩余高度
|
|
16
|
+
* @param target 元素引用
|
|
17
|
+
* @param options 配置选项
|
|
18
|
+
*/
|
|
19
|
+
export declare function useElementRemainingHeight(target: MaybeComputedElementRef, options?: UseElementRemainingHeightOptions): {
|
|
20
|
+
/**剩余高度 */
|
|
21
|
+
height: import("vue").ComputedRef<number>;
|
|
22
|
+
};
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { computed } from 'vue';
|
|
2
|
+
import { useWindowSize, useElementBounding } from '@vueuse/core';
|
|
3
|
+
|
|
4
|
+
function useElementRemainingHeight(target, options = {}) {
|
|
5
|
+
const { bottomOffset = 0, minHeight = 0 } = options;
|
|
6
|
+
const windowSize = useWindowSize();
|
|
7
|
+
const targetBounding = useElementBounding(target);
|
|
8
|
+
const height = computed(() => Math.max(Math.floor(windowSize.height.value - targetBounding.top.value - bottomOffset), minHeight));
|
|
9
|
+
return {
|
|
10
|
+
/**剩余高度 */
|
|
11
|
+
height
|
|
12
|
+
};
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
export { useElementRemainingHeight };
|
|
16
|
+
//# sourceMappingURL=index.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.mjs","sources":["../../../../../../packages/hooks/base/useElementRemainingHeight/index.ts"],"sourcesContent":["import { computed, ref, watchEffect } from 'vue';\nimport { useElementBounding, useWindowSize, type MaybeComputedElementRef } from '@vueuse/core';\n\nexport interface UseElementRemainingHeightOptions {\n /**\n * 底部偏移量,用于预留空间给分页器等元素\n * @default 0\n */\n bottomOffset?: number;\n /**\n * 最小高度(单位:px)\n * @default 0\n */\n minHeight?: number;\n}\n\n/**\n * 计算元素剩余高度\n * @param target 元素引用\n * @param options 配置选项\n */\nexport function useElementRemainingHeight(target: MaybeComputedElementRef, options: UseElementRemainingHeightOptions = {}) {\n const { bottomOffset = 0, minHeight = 0 } = options;\n\n // 获取窗口尺寸\n const windowSize = useWindowSize();\n\n // 获取元素位置信息\n const targetBounding = useElementBounding(target);\n\n /**\n * 高度 - 顶部距离 - 底部偏移\n */\n const height = computed(() => Math.max(Math.floor(windowSize.height.value - targetBounding.top.value - bottomOffset), minHeight));\n\n return {\n /**剩余高度 */\n height,\n };\n}\n"],"names":[],"mappings":";;;AAqBO,SAAS,yBAA0B,CAAA,MAAA,EAAiC,OAA4C,GAAA,EAAI,EAAA;AACzH,EAAA,MAAM,EAAE,YAAA,GAAe,CAAG,EAAA,SAAA,GAAY,GAAM,GAAA,OAAA,CAAA;AAG5C,EAAA,MAAM,aAAa,aAAc,EAAA,CAAA;AAGjC,EAAM,MAAA,cAAA,GAAiB,mBAAmB,MAAM,CAAA,CAAA;AAKhD,EAAA,MAAM,SAAS,QAAS,CAAA,MAAM,IAAK,CAAA,GAAA,CAAI,KAAK,KAAM,CAAA,UAAA,CAAW,MAAO,CAAA,KAAA,GAAQ,eAAe,GAAI,CAAA,KAAA,GAAQ,YAAY,CAAA,EAAG,SAAS,CAAC,CAAA,CAAA;AAEhI,EAAO,OAAA;AAAA;AAAA,IAEL,MAAA;AAAA,GACF,CAAA;AACF;;;;"}
|
package/es/hooks/index.mjs
CHANGED
|
@@ -9,6 +9,7 @@ export { useRectSelect } from './base/useRectSelect/index.mjs';
|
|
|
9
9
|
export { usePageHtmlClass } from './base/usePageHtmlClass/index.mjs';
|
|
10
10
|
export { useComputedFields } from './base/useComputedFields/index.mjs';
|
|
11
11
|
export { useAxios } from './base/useAxios/index.mjs';
|
|
12
|
+
export { useElementRemainingHeight } from './base/useElementRemainingHeight/index.mjs';
|
|
12
13
|
export { useLoginStore } from './store/useLogin/index.mjs';
|
|
13
14
|
export { useCustomSettingsStore } from './store/useCustomSettings/index.mjs';
|
|
14
15
|
export { useLineListStore } from './store/useLineList/index.mjs';
|
package/es/hooks/index.mjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.mjs","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.mjs","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
package/es/index.css
CHANGED
|
@@ -605,6 +605,21 @@ video {
|
|
|
605
605
|
.gm-w-1 {
|
|
606
606
|
width: 0.25rem;
|
|
607
607
|
}
|
|
608
|
+
.gm-w-14 {
|
|
609
|
+
width: 3.5rem;
|
|
610
|
+
}
|
|
611
|
+
.gm-w-24 {
|
|
612
|
+
width: 6rem;
|
|
613
|
+
}
|
|
614
|
+
.gm-w-28 {
|
|
615
|
+
width: 7rem;
|
|
616
|
+
}
|
|
617
|
+
.gm-w-32 {
|
|
618
|
+
width: 8rem;
|
|
619
|
+
}
|
|
620
|
+
.gm-w-36 {
|
|
621
|
+
width: 9rem;
|
|
622
|
+
}
|
|
608
623
|
.gm-w-\[120px\] {
|
|
609
624
|
width: 120px;
|
|
610
625
|
}
|
|
@@ -631,10 +646,17 @@ video {
|
|
|
631
646
|
--tw-rotate: 180deg;
|
|
632
647
|
transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
|
|
633
648
|
}
|
|
649
|
+
.gm-rotate-90 {
|
|
650
|
+
--tw-rotate: 90deg;
|
|
651
|
+
transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
|
|
652
|
+
}
|
|
634
653
|
.-gm-scale-x-100 {
|
|
635
654
|
--tw-scale-x: -1;
|
|
636
655
|
transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
|
|
637
656
|
}
|
|
657
|
+
.gm-cursor-grabbing {
|
|
658
|
+
cursor: grabbing;
|
|
659
|
+
}
|
|
638
660
|
.gm-cursor-pointer {
|
|
639
661
|
cursor: pointer;
|
|
640
662
|
}
|
|
@@ -681,6 +703,19 @@ video {
|
|
|
681
703
|
.gm-border {
|
|
682
704
|
border-width: 1px;
|
|
683
705
|
}
|
|
706
|
+
.gm-border-y-0 {
|
|
707
|
+
border-top-width: 0px;
|
|
708
|
+
border-bottom-width: 0px;
|
|
709
|
+
}
|
|
710
|
+
.gm-border-b {
|
|
711
|
+
border-bottom-width: 1px;
|
|
712
|
+
}
|
|
713
|
+
.gm-border-b-0 {
|
|
714
|
+
border-bottom-width: 0px;
|
|
715
|
+
}
|
|
716
|
+
.gm-border-l {
|
|
717
|
+
border-left-width: 1px;
|
|
718
|
+
}
|
|
684
719
|
.gm-border-dashed {
|
|
685
720
|
border-style: dashed;
|
|
686
721
|
}
|
|
@@ -692,6 +727,14 @@ video {
|
|
|
692
727
|
--tw-border-opacity: 1;
|
|
693
728
|
border-color: rgb(103 232 249 / var(--tw-border-opacity));
|
|
694
729
|
}
|
|
730
|
+
.gm-border-gray-200 {
|
|
731
|
+
--tw-border-opacity: 1;
|
|
732
|
+
border-color: rgb(229 231 235 / var(--tw-border-opacity));
|
|
733
|
+
}
|
|
734
|
+
.gm-border-white {
|
|
735
|
+
--tw-border-opacity: 1;
|
|
736
|
+
border-color: rgb(255 255 255 / var(--tw-border-opacity));
|
|
737
|
+
}
|
|
695
738
|
.gm-bg-\[\#f5f5f5\] {
|
|
696
739
|
--tw-bg-opacity: 1;
|
|
697
740
|
background-color: rgb(245 245 245 / var(--tw-bg-opacity));
|
|
@@ -704,6 +747,10 @@ video {
|
|
|
704
747
|
--tw-bg-opacity: 1;
|
|
705
748
|
background-color: rgb(236 254 255 / var(--tw-bg-opacity));
|
|
706
749
|
}
|
|
750
|
+
.gm-bg-gray-200 {
|
|
751
|
+
--tw-bg-opacity: 1;
|
|
752
|
+
background-color: rgb(229 231 235 / var(--tw-bg-opacity));
|
|
753
|
+
}
|
|
707
754
|
.gm-bg-opacity-50 {
|
|
708
755
|
--tw-bg-opacity: 0.5;
|
|
709
756
|
}
|
|
@@ -713,9 +760,16 @@ video {
|
|
|
713
760
|
.gm-p-1 {
|
|
714
761
|
padding: 0.25rem;
|
|
715
762
|
}
|
|
763
|
+
.gm-p-2 {
|
|
764
|
+
padding: 0.5rem;
|
|
765
|
+
}
|
|
716
766
|
.gm-p-4 {
|
|
717
767
|
padding: 1rem;
|
|
718
768
|
}
|
|
769
|
+
.gm-px-2 {
|
|
770
|
+
padding-left: 0.5rem;
|
|
771
|
+
padding-right: 0.5rem;
|
|
772
|
+
}
|
|
719
773
|
.gm-px-4 {
|
|
720
774
|
padding-left: 1rem;
|
|
721
775
|
padding-right: 1rem;
|
|
@@ -755,12 +809,19 @@ video {
|
|
|
755
809
|
.gm-font-bold {
|
|
756
810
|
font-weight: 700;
|
|
757
811
|
}
|
|
812
|
+
.gm-font-semibold {
|
|
813
|
+
font-weight: 600;
|
|
814
|
+
}
|
|
758
815
|
.gm-leading-\[32px\] {
|
|
759
816
|
line-height: 32px;
|
|
760
817
|
}
|
|
761
818
|
.gm-leading-\[40px\] {
|
|
762
819
|
line-height: 40px;
|
|
763
820
|
}
|
|
821
|
+
.gm-text-\[\#333\] {
|
|
822
|
+
--tw-text-opacity: 1;
|
|
823
|
+
color: rgb(51 51 51 / var(--tw-text-opacity));
|
|
824
|
+
}
|
|
764
825
|
.gm-text-\[\#777\] {
|
|
765
826
|
--tw-text-opacity: 1;
|
|
766
827
|
color: rgb(119 119 119 / var(--tw-text-opacity));
|
|
@@ -769,6 +830,10 @@ video {
|
|
|
769
830
|
--tw-text-opacity: 1;
|
|
770
831
|
color: rgb(153 153 153 / var(--tw-text-opacity));
|
|
771
832
|
}
|
|
833
|
+
.gm-text-amber-400 {
|
|
834
|
+
--tw-text-opacity: 1;
|
|
835
|
+
color: rgb(251 191 36 / var(--tw-text-opacity));
|
|
836
|
+
}
|
|
772
837
|
.gm-text-blue-500 {
|
|
773
838
|
--tw-text-opacity: 1;
|
|
774
839
|
color: rgb(59 130 246 / var(--tw-text-opacity));
|
|
@@ -785,6 +850,10 @@ video {
|
|
|
785
850
|
--tw-text-opacity: 1;
|
|
786
851
|
color: rgb(107 114 128 / var(--tw-text-opacity));
|
|
787
852
|
}
|
|
853
|
+
.gm-text-gray-600 {
|
|
854
|
+
--tw-text-opacity: 1;
|
|
855
|
+
color: rgb(75 85 99 / var(--tw-text-opacity));
|
|
856
|
+
}
|
|
788
857
|
.gm-text-gray-700 {
|
|
789
858
|
--tw-text-opacity: 1;
|
|
790
859
|
color: rgb(55 65 81 / var(--tw-text-opacity));
|
|
@@ -943,4 +1012,139 @@ video {
|
|
|
943
1012
|
|
|
944
1013
|
.gm-number-interval-single[data-v-4e6f4d6f]:hover .gm-number-interval-close[data-v-4e6f4d6f] {
|
|
945
1014
|
display: flex;
|
|
1015
|
+
}
|
|
1016
|
+
@charset "UTF-8";
|
|
1017
|
+
.custom-operate-drawer .el-drawer__header {
|
|
1018
|
+
padding: 10px 15px;
|
|
1019
|
+
margin: 0;
|
|
1020
|
+
border-bottom: 1px solid #ebeef5;
|
|
1021
|
+
}
|
|
1022
|
+
.custom-operate-drawer .el-drawer__title {
|
|
1023
|
+
font-size: 14px;
|
|
1024
|
+
color: #333;
|
|
1025
|
+
}
|
|
1026
|
+
.custom-operate-drawer .el-drawer__body {
|
|
1027
|
+
padding: 15px;
|
|
1028
|
+
}
|
|
1029
|
+
.custom-operate-drawer .el-drawer__footer {
|
|
1030
|
+
padding: 10px 15px;
|
|
1031
|
+
border-top: 1px solid #ebeef5;
|
|
1032
|
+
}
|
|
1033
|
+
.custom-operate-drawer .el-checkbox {
|
|
1034
|
+
display: flex;
|
|
1035
|
+
align-items: center;
|
|
1036
|
+
}
|
|
1037
|
+
.custom-operate-drawer .el-input__inner {
|
|
1038
|
+
text-align: center;
|
|
1039
|
+
}
|
|
1040
|
+
.custom-operate-drawer .el-input__suffix {
|
|
1041
|
+
position: absolute;
|
|
1042
|
+
right: 10px;
|
|
1043
|
+
}
|
|
1044
|
+
.custom-operate-drawer .custom-content li {
|
|
1045
|
+
display: flex;
|
|
1046
|
+
align-items: center;
|
|
1047
|
+
justify-content: center;
|
|
1048
|
+
height: 44px;
|
|
1049
|
+
}
|
|
1050
|
+
.custom-operate-drawer .custom-group {
|
|
1051
|
+
max-height: calc(100vh - 226px);
|
|
1052
|
+
overflow-y: auto;
|
|
1053
|
+
}
|
|
1054
|
+
.custom-operate-drawer .custom-group::-webkit-scrollbar {
|
|
1055
|
+
/*滚动条整体样式*/
|
|
1056
|
+
width: 4px;
|
|
1057
|
+
/*高宽分别对应横竖滚动条的尺寸*/
|
|
1058
|
+
height: 1px;
|
|
1059
|
+
}
|
|
1060
|
+
.custom-operate-drawer .custom-group::-webkit-scrollbar-thumb {
|
|
1061
|
+
/*滚动条里面小方块*/
|
|
1062
|
+
border-radius: 10px;
|
|
1063
|
+
box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.1);
|
|
1064
|
+
background: #999;
|
|
1065
|
+
}
|
|
1066
|
+
.custom-operate-drawer .custom-group::-webkit-scrollbar-track {
|
|
1067
|
+
/*滚动条里面轨道*/
|
|
1068
|
+
box-shadow: inset 0 0 3px rgba(0, 0, 0, 0.1);
|
|
1069
|
+
border-radius: 10px;
|
|
1070
|
+
background: #eee;
|
|
1071
|
+
}
|
|
1072
|
+
[data-v-98c2e804] .gmTableNoBorder .el-table__body .el-table__cell {
|
|
1073
|
+
border-right: none;
|
|
1074
|
+
}
|
|
1075
|
+
|
|
1076
|
+
[data-v-98c2e804] .gmTableNoBorder .el-table__inner-wrapper:before {
|
|
1077
|
+
height: 0;
|
|
1078
|
+
}
|
|
1079
|
+
|
|
1080
|
+
[data-v-98c2e804] .gmTableNoBorder.el-table--border .el-table__inner-wrapper:after {
|
|
1081
|
+
height: 0;
|
|
1082
|
+
}
|
|
1083
|
+
|
|
1084
|
+
[data-v-98c2e804] .gmTableNoBorder.el-table--border:after {
|
|
1085
|
+
height: 0;
|
|
1086
|
+
}
|
|
1087
|
+
|
|
1088
|
+
[data-v-98c2e804] .gmTableNoBorder.el-table--border:before {
|
|
1089
|
+
height: 0;
|
|
1090
|
+
}
|
|
1091
|
+
|
|
1092
|
+
[data-v-98c2e804] .gmTableNoBorder .el-table__border-left-patch {
|
|
1093
|
+
height: 0;
|
|
1094
|
+
}
|
|
1095
|
+
@charset "UTF-8";
|
|
1096
|
+
.table-custom-header-drawer .el-drawer__header {
|
|
1097
|
+
padding: 10px 15px;
|
|
1098
|
+
margin: 0;
|
|
1099
|
+
border-bottom: 1px solid #ebeef5;
|
|
1100
|
+
}
|
|
1101
|
+
.table-custom-header-drawer .el-drawer__title {
|
|
1102
|
+
font-size: 14px;
|
|
1103
|
+
color: #333;
|
|
1104
|
+
}
|
|
1105
|
+
.table-custom-header-drawer .el-drawer__body {
|
|
1106
|
+
padding: 15px;
|
|
1107
|
+
}
|
|
1108
|
+
.table-custom-header-drawer .el-drawer__footer {
|
|
1109
|
+
padding: 10px 15px;
|
|
1110
|
+
border-top: 1px solid #ebeef5;
|
|
1111
|
+
}
|
|
1112
|
+
.table-custom-header-drawer .el-checkbox {
|
|
1113
|
+
display: flex;
|
|
1114
|
+
align-items: center;
|
|
1115
|
+
}
|
|
1116
|
+
.table-custom-header-drawer .el-input__inner {
|
|
1117
|
+
text-align: center;
|
|
1118
|
+
}
|
|
1119
|
+
.table-custom-header-drawer .el-input__suffix {
|
|
1120
|
+
position: absolute;
|
|
1121
|
+
right: 10px;
|
|
1122
|
+
}
|
|
1123
|
+
.table-custom-header-drawer .custom-content li {
|
|
1124
|
+
display: flex;
|
|
1125
|
+
align-items: center;
|
|
1126
|
+
justify-content: center;
|
|
1127
|
+
height: 44px;
|
|
1128
|
+
}
|
|
1129
|
+
.table-custom-header-drawer .custom-group {
|
|
1130
|
+
max-height: calc(100vh - 226px);
|
|
1131
|
+
overflow-y: auto;
|
|
1132
|
+
}
|
|
1133
|
+
.table-custom-header-drawer .custom-group::-webkit-scrollbar {
|
|
1134
|
+
/*滚动条整体样式*/
|
|
1135
|
+
width: 4px;
|
|
1136
|
+
/*高宽分别对应横竖滚动条的尺寸*/
|
|
1137
|
+
height: 1px;
|
|
1138
|
+
}
|
|
1139
|
+
.table-custom-header-drawer .custom-group::-webkit-scrollbar-thumb {
|
|
1140
|
+
/*滚动条里面小方块*/
|
|
1141
|
+
border-radius: 10px;
|
|
1142
|
+
box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.1);
|
|
1143
|
+
background: #999;
|
|
1144
|
+
}
|
|
1145
|
+
.table-custom-header-drawer .custom-group::-webkit-scrollbar-track {
|
|
1146
|
+
/*滚动条里面轨道*/
|
|
1147
|
+
box-shadow: inset 0 0 3px rgba(0, 0, 0, 0.1);
|
|
1148
|
+
border-radius: 10px;
|
|
1149
|
+
background: #eee;
|
|
946
1150
|
}
|