@dazhicheng/ui 1.1.1 → 1.4.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/components/tt-form/src/components/FormFilter.vue.d.ts.map +1 -1
- package/dist/components/tt-form/src/form-render/form.vue.d.ts +1 -1
- package/dist/components/tt-form/src/index.vue.d.ts +4 -4
- package/dist/components/tt-loading/index.d.ts +17 -0
- package/dist/components/tt-loading/index.d.ts.map +1 -0
- package/dist/components/tt-loading/src/directive.d.ts +10 -0
- package/dist/components/tt-loading/src/directive.d.ts.map +1 -0
- package/dist/components/tt-loading/src/loading.vue.d.ts +13 -0
- package/dist/components/tt-loading/src/loading.vue.d.ts.map +1 -0
- package/dist/components/tt-loading/src/service.d.ts +26 -0
- package/dist/components/tt-loading/src/service.d.ts.map +1 -0
- package/dist/components/tt-loading/src/type.d.ts +21 -0
- package/dist/components/tt-loading/src/type.d.ts.map +1 -0
- package/dist/components/tt-part/index.d.ts +3 -3
- package/dist/components/tt-part/index.vue.d.ts +1 -1
- package/dist/components/tt-table/index.d.ts +128 -0
- package/dist/components/tt-table/index.d.ts.map +1 -0
- package/dist/components/tt-table/src/Table.vue.d.ts +1746 -0
- package/dist/components/tt-table/src/Table.vue.d.ts.map +1 -0
- package/dist/components/tt-table/src/TableForm.vue.d.ts +163 -0
- package/dist/components/tt-table/src/TableForm.vue.d.ts.map +1 -0
- package/dist/components/tt-table/src/componentMap.d.ts +9 -0
- package/dist/components/tt-table/src/componentMap.d.ts.map +1 -0
- package/dist/components/tt-table/src/components/RowContext.d.ts +25 -0
- package/dist/components/tt-table/src/components/RowContext.d.ts.map +1 -0
- package/dist/components/tt-table/src/components/TableAction.vue.d.ts +80 -0
- package/dist/components/tt-table/src/components/TableAction.vue.d.ts.map +1 -0
- package/dist/components/tt-table/src/components/TableButtons.d.ts +31 -0
- package/dist/components/tt-table/src/components/TableButtons.d.ts.map +1 -0
- package/dist/components/tt-table/src/components/TableToobalTools.vue.d.ts +1685 -0
- package/dist/components/tt-table/src/components/TableToobalTools.vue.d.ts.map +1 -0
- package/dist/components/tt-table/src/emits.d.ts +2 -0
- package/dist/components/tt-table/src/emits.d.ts.map +1 -0
- package/dist/components/tt-table/src/enum.d.ts +3 -0
- package/dist/components/tt-table/src/enum.d.ts.map +1 -0
- package/dist/components/tt-table/src/hooks/useCache.d.ts +21 -0
- package/dist/components/tt-table/src/hooks/useCache.d.ts.map +1 -0
- package/dist/components/tt-table/src/hooks/useCellArea.d.ts +16 -0
- package/dist/components/tt-table/src/hooks/useCellArea.d.ts.map +1 -0
- package/dist/components/tt-table/src/hooks/useColumns.d.ts +32 -0
- package/dist/components/tt-table/src/hooks/useColumns.d.ts.map +1 -0
- package/dist/components/tt-table/src/hooks/useDataSource.d.ts +30 -0
- package/dist/components/tt-table/src/hooks/useDataSource.d.ts.map +1 -0
- package/dist/components/tt-table/src/hooks/useFullscreen.d.ts +12 -0
- package/dist/components/tt-table/src/hooks/useFullscreen.d.ts.map +1 -0
- package/dist/components/tt-table/src/hooks/useLeftRightSlot.d.ts +1083 -0
- package/dist/components/tt-table/src/hooks/useLeftRightSlot.d.ts.map +1 -0
- package/dist/components/tt-table/src/hooks/usePagination.d.ts +103 -0
- package/dist/components/tt-table/src/hooks/usePagination.d.ts.map +1 -0
- package/dist/components/tt-table/src/hooks/useRowSelection.d.ts +31 -0
- package/dist/components/tt-table/src/hooks/useRowSelection.d.ts.map +1 -0
- package/dist/components/tt-table/src/hooks/useTable.d.ts +8 -0
- package/dist/components/tt-table/src/hooks/useTable.d.ts.map +1 -0
- package/dist/components/tt-table/src/hooks/useTableContext.d.ts +44 -0
- package/dist/components/tt-table/src/hooks/useTableContext.d.ts.map +1 -0
- package/dist/components/tt-table/src/hooks/useTableEvent.d.ts +102 -0
- package/dist/components/tt-table/src/hooks/useTableEvent.d.ts.map +1 -0
- package/dist/components/tt-table/src/hooks/useTableForm.d.ts +15 -0
- package/dist/components/tt-table/src/hooks/useTableForm.d.ts.map +1 -0
- package/dist/components/tt-table/src/hooks/useTableFormEvent.d.ts +12 -0
- package/dist/components/tt-table/src/hooks/useTableFormEvent.d.ts.map +1 -0
- package/dist/components/tt-table/src/hooks/useTableHeight.d.ts +16 -0
- package/dist/components/tt-table/src/hooks/useTableHeight.d.ts.map +1 -0
- package/dist/components/tt-table/src/hooks/useTableRender.d.ts +82 -0
- package/dist/components/tt-table/src/hooks/useTableRender.d.ts.map +1 -0
- package/dist/components/tt-table/src/hooks/useTableSlot.d.ts +12 -0
- package/dist/components/tt-table/src/hooks/useTableSlot.d.ts.map +1 -0
- package/dist/components/tt-table/src/props.d.ts +485 -0
- package/dist/components/tt-table/src/props.d.ts.map +1 -0
- package/dist/components/tt-table/src/toolProps.d.ts +102 -0
- package/dist/components/tt-table/src/toolProps.d.ts.map +1 -0
- package/dist/components/tt-table/src/types/table.d.ts +493 -0
- package/dist/components/tt-table/src/types/table.d.ts.map +1 -0
- package/dist/components/tt-table/src/types/tableAction.d.ts +27 -0
- package/dist/components/tt-table/src/types/tableAction.d.ts.map +1 -0
- package/dist/components/tt-table/src/types/tableForm.d.ts +66 -0
- package/dist/components/tt-table/src/types/tableForm.d.ts.map +1 -0
- package/dist/components/tt-table/src/types/tableTools.d.ts +66 -0
- package/dist/components/tt-table/src/types/tableTools.d.ts.map +1 -0
- package/dist/components/tt-table/src/utils/context.d.ts +19 -0
- package/dist/components/tt-table/src/utils/context.d.ts.map +1 -0
- package/dist/components/tt-table/src/utils/filters.d.ts +110 -0
- package/dist/components/tt-table/src/utils/filters.d.ts.map +1 -0
- package/dist/components/tt-table/src/utils/table-api.d.ts +269 -0
- package/dist/components/tt-table/src/utils/table-api.d.ts.map +1 -0
- package/dist/components/tt-table/src/utils/table-form-api.d.ts +89 -0
- package/dist/components/tt-table/src/utils/table-form-api.d.ts.map +1 -0
- package/dist/components/tt-table/src/utils/vxeTable.d.ts +29 -0
- package/dist/components/tt-table/src/utils/vxeTable.d.ts.map +1 -0
- package/dist/components/tt-validate/src/Field.d.ts +1 -1
- package/dist/components/tt-validate/src/Form.d.ts +1 -1
- package/dist/{event-uB4aPtFy.js → event-BgJv9iWk.js} +1 -1
- package/dist/hooks/useSetup.d.ts +6 -0
- package/dist/hooks/useSetup.d.ts.map +1 -0
- package/dist/hooks/useTemplateSlot.d.ts +10 -0
- package/dist/hooks/useTemplateSlot.d.ts.map +1 -0
- package/dist/{icon-vcRgBOnR.js → icon-C9BsRQqM.js} +2 -2
- package/dist/{index-DE2yohHu.js → index-64J4mWP7.js} +2 -2
- package/dist/{index-CMMUpVFZ.js → index-B3w7HVvP.js} +6 -6
- package/dist/{index-Czf6JBRl.js → index-BQgaGlJA.js} +8 -8
- package/dist/{index-DT5rBqSy.js → index-Bq5RXWp8.js} +5 -5
- package/dist/{index-vljoqWNo.js → index-CB2v0taz.js} +1 -1
- package/dist/{index-D_IdZK7s.js → index-C_u1XOy0.js} +7 -7
- package/dist/{index-CRljSNoY.js → index-CdyRKSi4.js} +3 -3
- package/dist/{index-D8ISpbRW.js → index-CjcGE9Xi.js} +10 -10
- package/dist/{index-DqLyz5eN.js → index-CzDjdhem.js} +5 -5
- package/dist/{index-3UkObRxv.js → index-D6x6ZHVk.js} +5 -5
- package/dist/{index-DM7o1Y9_.js → index-DHXyFJLO.js} +1 -1
- package/dist/{index-BtqEcZqo.js → index-DXGnUvsQ.js} +9 -9
- package/dist/{index-BTf1_B_5.js → index-DY3FsmvZ.js} +2 -2
- package/dist/{index-Dn38FMIM.js → index-Dp1l-3ez.js} +2 -2
- package/dist/{index-Dz2-tV0Q.js → index-LRY3g1Bz.js} +6 -6
- package/dist/{index-Mg3lmVPp.js → index-hI7UMWGr.js} +1 -1
- package/dist/index-iFd1yQ1C.js +55785 -0
- package/dist/index.d.ts +3 -11
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +25 -17
- package/dist/{panel-time-pick.vue2-ChVAZVCn.js → panel-time-pick.vue2-C7R5HGb8.js} +10 -10
- package/dist/style.css +1 -1
- package/dist/{use-form-common-props-CiRVSa0R.js → use-form-common-props-CDmM4Wn1.js} +1 -1
- package/dist/{use-form-item-DuAhca9z.js → use-form-item-Bv38v7TO.js} +2 -2
- package/dist/{util-B7hHTw8E.js → util-CWdgKsYq.js} +6 -6
- package/package.json +5 -3
- package/dist/index-DxTPuBYV.js +0 -47918
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Table.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/tt-table/src/Table.vue"],"names":[],"mappings":"AAAA,OAy0BO,KAAK,EAAE,GAAG,EAAE,MAAM,KAAK,CAAC;AAC/B,OAAO,KAAK,EAGV,iBAAiB,EAEjB,eAAe,EACf,YAAY,EAEZ,eAAe,EAChB,MAAM,WAAW,CAAC;AACnB,OAAO,KAAK,EAAE,uBAAuB,EAAkB,YAAY,EAAE,MAAM,eAAe,CAAC;AAM3F,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,mBAAmB,CAAC;AAKpD,OAAO,EAGL,QAAQ,EAYT,MAAM,KAAK,CAAC;AAmlBb,iBAAS,cAAc;WA0eT,OAAO,IAA6B;;+BA3gCzB,UAAU,KAAK,IAAI;mBAN/B,CAAC,KAAK,EAAE,UAAU,KAAK,IAAI;yBACrB,CAAC,KAAK,EAAE,UAAU,KAAK,IAAI;uBAC7B,CAAC,KAAK,EAAE,UAAU,KAAK,IAAI;qBAC7B,CAAC,KAAK,EAAE,UAAU,KAAK,IAAI;oBAC5B,CAAC,KAAK,EAAE,UAAU,KAAK,IAAI;iBAC9B,CAAC,KAAK,EAAE,UAAU,KAAK,IAAI;;+BACb,UAAU,KAAK,IAAI;mBAN/B,CAAC,KAAK,EAAE,UAAU,KAAK,IAAI;yBACrB,CAAC,KAAK,EAAE,UAAU,KAAK,IAAI;uBAC7B,CAAC,KAAK,EAAE,UAAU,KAAK,IAAI;qBAC7B,CAAC,KAAK,EAAE,UAAU,KAAK,IAAI;oBAC5B,CAAC,KAAK,EAAE,UAAU,KAA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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;kBA6oCpE,CAAC;wBACkB,uBAAuB,CAAC,OAAO,eAAe,EAAE,oBAAoB,CAAC,OAAO,CAAC,CAAC;AAAnG,wBAAoG;AAEpG,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IACxC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
|
|
@@ -0,0 +1,163 @@
|
|
|
1
|
+
import { TtTableProps } from './types/table';
|
|
2
|
+
import { TtTableExtendedTableFormApi, TtTableFormProps } from './types/tableForm';
|
|
3
|
+
import { Recordable } from '../../../../../utils/src';
|
|
4
|
+
declare function __VLS_template(): {
|
|
5
|
+
attrs: Partial<{}>;
|
|
6
|
+
slots: Readonly<{
|
|
7
|
+
[key: string]: (props: Recordable) => void;
|
|
8
|
+
/** form下方的插槽 */
|
|
9
|
+
"header-down": (props: Recordable) => void;
|
|
10
|
+
/** table左侧插槽 */
|
|
11
|
+
"table-left": (props: Recordable) => void;
|
|
12
|
+
/** table右侧插槽 */
|
|
13
|
+
"table-right": (props: Recordable) => void;
|
|
14
|
+
/** 表格上方的插槽 */
|
|
15
|
+
"table-top": (props: Recordable) => void;
|
|
16
|
+
/** 表格下方的插槽 */
|
|
17
|
+
"table-bottom": (props: Recordable) => void;
|
|
18
|
+
default: (props: Recordable) => void;
|
|
19
|
+
/** 工具栏左侧插槽 */
|
|
20
|
+
"t-toolbar_tools-left": (props: Recordable) => void;
|
|
21
|
+
/** 工具栏右侧插槽 */
|
|
22
|
+
"t-toolbar_tools-right": (props: Recordable) => void;
|
|
23
|
+
/** 操作 */
|
|
24
|
+
"t-toolbar_tools": (props: Recordable) => void;
|
|
25
|
+
}> & {
|
|
26
|
+
[key: string]: (props: Recordable) => void;
|
|
27
|
+
/** form下方的插槽 */
|
|
28
|
+
"header-down": (props: Recordable) => void;
|
|
29
|
+
/** table左侧插槽 */
|
|
30
|
+
"table-left": (props: Recordable) => void;
|
|
31
|
+
/** table右侧插槽 */
|
|
32
|
+
"table-right": (props: Recordable) => void;
|
|
33
|
+
/** 表格上方的插槽 */
|
|
34
|
+
"table-top": (props: Recordable) => void;
|
|
35
|
+
/** 表格下方的插槽 */
|
|
36
|
+
"table-bottom": (props: Recordable) => void;
|
|
37
|
+
default: (props: Recordable) => void;
|
|
38
|
+
/** 工具栏左侧插槽 */
|
|
39
|
+
"t-toolbar_tools-left": (props: Recordable) => void;
|
|
40
|
+
/** 工具栏右侧插槽 */
|
|
41
|
+
"t-toolbar_tools-right": (props: Recordable) => void;
|
|
42
|
+
/** 操作 */
|
|
43
|
+
"t-toolbar_tools": (props: Recordable) => void;
|
|
44
|
+
};
|
|
45
|
+
refs: {
|
|
46
|
+
elFullscreen: HTMLDivElement;
|
|
47
|
+
};
|
|
48
|
+
rootEl: HTMLDivElement;
|
|
49
|
+
};
|
|
50
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
51
|
+
declare const __VLS_component: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
52
|
+
tableData: {
|
|
53
|
+
type: import('vue').PropType<globalThis.Recordable[]>;
|
|
54
|
+
default: () => never[];
|
|
55
|
+
};
|
|
56
|
+
table: {
|
|
57
|
+
type: import('vue').PropType<Partial<TtTableProps>>;
|
|
58
|
+
default: {};
|
|
59
|
+
};
|
|
60
|
+
useSearchForm: any;
|
|
61
|
+
form: {
|
|
62
|
+
type: import('vue').PropType<Partial<import('vben-core-form-ui').VbenFormProps>>;
|
|
63
|
+
default: () => {};
|
|
64
|
+
};
|
|
65
|
+
handleSearchInfoFn: {
|
|
66
|
+
type: import('vue').PropType<Fn>;
|
|
67
|
+
default: null;
|
|
68
|
+
};
|
|
69
|
+
tableRefreshBefore: {
|
|
70
|
+
type: import('vue').PropType<Fn>;
|
|
71
|
+
default: null;
|
|
72
|
+
};
|
|
73
|
+
toolConfig: {
|
|
74
|
+
type: import('vue').PropType<import('../../../index').TtTableToolsProps>;
|
|
75
|
+
default: null;
|
|
76
|
+
};
|
|
77
|
+
tableRowId: {
|
|
78
|
+
type: StringConstructor;
|
|
79
|
+
default: () => any;
|
|
80
|
+
};
|
|
81
|
+
testId: {
|
|
82
|
+
type: StringConstructor;
|
|
83
|
+
default: undefined;
|
|
84
|
+
};
|
|
85
|
+
tableFormApi: {
|
|
86
|
+
type: import('vue').PropType<TtTableExtendedTableFormApi>;
|
|
87
|
+
};
|
|
88
|
+
splitter: {
|
|
89
|
+
type: import('vue').PropType<Partial<SjzyColumnsLayoutProps>>;
|
|
90
|
+
default: () => {};
|
|
91
|
+
};
|
|
92
|
+
}>, {
|
|
93
|
+
instance: import('vue').ComponentInternalInstance | null;
|
|
94
|
+
setTableProps: (props: Partial<TtTableProps>) => void;
|
|
95
|
+
setFormProps: import('vben-core-form-ui').ExtendedFormApi["setState"];
|
|
96
|
+
tableMethods: import('../../../index').TtTableMethods;
|
|
97
|
+
formMethods: import('../../../index').TtTableRenderFormInstance;
|
|
98
|
+
setProps: (props: Partial<TtTableFormProps>) => void;
|
|
99
|
+
reload: import('../../../index').TtTableMethods["reload"];
|
|
100
|
+
selectedKeys: import('vue').MaybeRef<import('../../../index').TtSelectRowKeysType>;
|
|
101
|
+
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
102
|
+
tableData: {
|
|
103
|
+
type: import('vue').PropType<globalThis.Recordable[]>;
|
|
104
|
+
default: () => never[];
|
|
105
|
+
};
|
|
106
|
+
table: {
|
|
107
|
+
type: import('vue').PropType<Partial<TtTableProps>>;
|
|
108
|
+
default: {};
|
|
109
|
+
};
|
|
110
|
+
useSearchForm: any;
|
|
111
|
+
form: {
|
|
112
|
+
type: import('vue').PropType<Partial<import('vben-core-form-ui').VbenFormProps>>;
|
|
113
|
+
default: () => {};
|
|
114
|
+
};
|
|
115
|
+
handleSearchInfoFn: {
|
|
116
|
+
type: import('vue').PropType<Fn>;
|
|
117
|
+
default: null;
|
|
118
|
+
};
|
|
119
|
+
tableRefreshBefore: {
|
|
120
|
+
type: import('vue').PropType<Fn>;
|
|
121
|
+
default: null;
|
|
122
|
+
};
|
|
123
|
+
toolConfig: {
|
|
124
|
+
type: import('vue').PropType<import('../../../index').TtTableToolsProps>;
|
|
125
|
+
default: null;
|
|
126
|
+
};
|
|
127
|
+
tableRowId: {
|
|
128
|
+
type: StringConstructor;
|
|
129
|
+
default: () => any;
|
|
130
|
+
};
|
|
131
|
+
testId: {
|
|
132
|
+
type: StringConstructor;
|
|
133
|
+
default: undefined;
|
|
134
|
+
};
|
|
135
|
+
tableFormApi: {
|
|
136
|
+
type: import('vue').PropType<TtTableExtendedTableFormApi>;
|
|
137
|
+
};
|
|
138
|
+
splitter: {
|
|
139
|
+
type: import('vue').PropType<Partial<SjzyColumnsLayoutProps>>;
|
|
140
|
+
default: () => {};
|
|
141
|
+
};
|
|
142
|
+
}>> & Readonly<{}>, {
|
|
143
|
+
form: Partial<import('vben-core-form-ui').VbenFormProps<import('vben-core-form-ui').BaseFormComponentType>>;
|
|
144
|
+
table: Partial<TtTableProps>;
|
|
145
|
+
testId: string;
|
|
146
|
+
tableRowId: string;
|
|
147
|
+
useSearchForm: any;
|
|
148
|
+
tableData: globalThis.Recordable<any>[];
|
|
149
|
+
handleSearchInfoFn: Fn<any, any>;
|
|
150
|
+
toolConfig: import('../../../index').TtTableToolsProps;
|
|
151
|
+
tableRefreshBefore: Fn<any, any>;
|
|
152
|
+
splitter: SjzyColumnsLayoutProps;
|
|
153
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {
|
|
154
|
+
elFullscreen: HTMLDivElement;
|
|
155
|
+
}, HTMLDivElement>;
|
|
156
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
157
|
+
export default _default;
|
|
158
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
159
|
+
new (): {
|
|
160
|
+
$slots: S;
|
|
161
|
+
};
|
|
162
|
+
};
|
|
163
|
+
//# sourceMappingURL=TableForm.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"TableForm.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/tt-table/src/TableForm.vue"],"names":[],"mappings":"AA8bA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,eAAe,CAAC;AAClD,OAAO,KAAK,EAAE,2BAA2B,EAAyB,gBAAgB,EAAE,MAAM,mBAAmB,CAAC;AAM9G,OAAO,EAAE,UAAU,EAAE,MAAM,mBAAmB,CAAC;AA+X/C,iBAAS,cAAc;WAsJT,OAAO,IAA6B;;+BAtdzB,UAAU,KAAK,IAAI;QAjB1C,gBAAgB;uBACD,CAAC,KAAK,EAAE,UAAU,KAAK,IAAI;QAC1C,gBAAgB;sBACF,CAAC,KAAK,EAAE,UAAU,KAAK,IAAI;QACzC,gBAAgB;uBACD,CAAC,KAAK,EAAE,UAAU,KAAK,IAAI;QAC1C,cAAc;qBACD,CAAC,KAAK,EAAE,UAAU,KAAK,IAAI;QACxC,cAAc;wBACE,CAAC,KAAK,EAAE,UAAU,KAAK,IAAI;iBAClC,CAAC,KAAK,EAAE,UAAU,KAAK,IAAI;QACpC,cAAc;gCACU,CAAC,KAAK,EAAE,UAAU,KAAK,IAAI;QACnD,cAAc;iCACW,CAAC,KAAK,EAAE,UAAU,KAAK,IAAI;QACpD,SAAS;2BACU,CAAC,KAAK,EAAE,UAAU,KAAK,IAAI;;+BACvB,UAAU,KAAK,IAAI;QAjB1C,gBAAgB;uBACD,CAAC,KAAK,EAAE,UAAU,KAAK,IAAI;QAC1C,gBAAgB;sBACF,CAAC,KAAK,EAAE,UAAU,KAAK,IAAI;QACzC,gBAAgB;uBACD,CAAC,KAAK,EAAE,UAAU,KAAK,IAAI;QAC1C,cAAc;qBACD,CAAC,KAAK,EAAE,UAAU,KAAK,IAAI;QACxC,cAAc;wBACE,CAAC,KAAK,EAAE,UAAU,KAAK,IAAI;iBAClC,CAAC,KAAK,EAAE,UAAU,KAAK,IAAI;QACpC,cAAc;gCACU,CAAC,KAAK,EAAE,UAAU,KAAK,IAAI;QACnD,cAAc;iCACW,CAAC,KAAK,EAAE,UAAU,KAAK,IAAI;QACpD,SAAS;2BACU,CAAC,KAAK,EAAE,UAAU,KAAK,IAAI;;;;;;EA4d/C;AAgCD,KAAK,oBAAoB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAC9D,QAAA,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;kBAUnB,CAAC;wBACkB,uBAAuB,CAAC,OAAO,eAAe,EAAE,oBAAoB,CAAC,OAAO,CAAC,CAAC;AAAnG,wBAAoG;AAEpG,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IACxC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { Component } from 'vue';
|
|
2
|
+
import { TtActionComponentType } from './types/tableAction';
|
|
3
|
+
declare const componentMap: Map<TtActionComponentType, Component>;
|
|
4
|
+
/** 添加表格组件 */
|
|
5
|
+
export declare function addTableComponent(compName: TtActionComponentType, component: Component): void;
|
|
6
|
+
/** 删除表格组件 */
|
|
7
|
+
export declare function delTableComponent(compName: TtActionComponentType): void;
|
|
8
|
+
export { componentMap };
|
|
9
|
+
//# sourceMappingURL=componentMap.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"componentMap.d.ts","sourceRoot":"","sources":["../../../../src/components/tt-table/src/componentMap.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,KAAK,CAAC;AACrC,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,qBAAqB,CAAC;AAEjE,QAAA,MAAM,YAAY,uCAA8C,CAAC;AAEjE,aAAa;AACb,wBAAgB,iBAAiB,CAAC,QAAQ,EAAE,qBAAqB,EAAE,SAAS,EAAE,SAAS,QAEtF;AAED,aAAa;AACb,wBAAgB,iBAAiB,CAAC,QAAQ,EAAE,qBAAqB,QAEhE;AAED,OAAO,EAAE,YAAY,EAAE,CAAC"}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { ComputedRef, InjectionKey } from 'vue';
|
|
2
|
+
/**
|
|
3
|
+
* 行上下文 Key - 用于 provide/inject 当前行索引
|
|
4
|
+
*/
|
|
5
|
+
export declare const ROW_INDEX_KEY: InjectionKey<ComputedRef<number>>;
|
|
6
|
+
/**
|
|
7
|
+
* 行上下文包装组件
|
|
8
|
+
* 用于在渲染表格行时提供当前行索引给子组件
|
|
9
|
+
*/
|
|
10
|
+
export declare const RowContext: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
11
|
+
/** 当前行索引 */
|
|
12
|
+
rowIndex: {
|
|
13
|
+
type: NumberConstructor;
|
|
14
|
+
required: true;
|
|
15
|
+
};
|
|
16
|
+
}>, () => import('vue').VNode<import('vue').RendererNode, import('vue').RendererElement, {
|
|
17
|
+
[key: string]: any;
|
|
18
|
+
}>[] | undefined, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
19
|
+
/** 当前行索引 */
|
|
20
|
+
rowIndex: {
|
|
21
|
+
type: NumberConstructor;
|
|
22
|
+
required: true;
|
|
23
|
+
};
|
|
24
|
+
}>> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
25
|
+
//# sourceMappingURL=RowContext.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"RowContext.d.ts","sourceRoot":"","sources":["../../../../../src/components/tt-table/src/components/RowContext.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,YAAY,EAAE,MAAM,KAAK,CAAC;AAGrD;;GAEG;AACH,eAAO,MAAM,aAAa,EAAE,YAAY,CAAC,WAAW,CAAC,MAAM,CAAC,CAAsB,CAAC;AAEnF;;;GAGG;AACH,eAAO,MAAM,UAAU;IAGnB,YAAY;;;;;;;;IAAZ,YAAY;;;;;iGAed,CAAC"}
|
|
@@ -0,0 +1,80 @@
|
|
|
1
|
+
import { PropType, VNode } from 'vue';
|
|
2
|
+
import { TtActionItem } from '../types/tableAction';
|
|
3
|
+
declare function __VLS_template(): {
|
|
4
|
+
attrs: Partial<{}>;
|
|
5
|
+
slots: Readonly<{
|
|
6
|
+
[slotName: string]: (props: any) => VNode;
|
|
7
|
+
default: () => VNode;
|
|
8
|
+
}> & {
|
|
9
|
+
[slotName: string]: (props: any) => VNode;
|
|
10
|
+
default: () => VNode;
|
|
11
|
+
};
|
|
12
|
+
refs: {};
|
|
13
|
+
rootEl: HTMLDivElement;
|
|
14
|
+
};
|
|
15
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
16
|
+
declare const __VLS_component: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
17
|
+
/** 操作项 */
|
|
18
|
+
actions: {
|
|
19
|
+
type: PropType<TtActionItem[]>;
|
|
20
|
+
default: () => never[];
|
|
21
|
+
};
|
|
22
|
+
/** 当前行索引(从0开始,用于生成唯一 testid) */
|
|
23
|
+
rowIndex: {
|
|
24
|
+
type: NumberConstructor;
|
|
25
|
+
default: undefined;
|
|
26
|
+
};
|
|
27
|
+
/** vxe-table 插槽上下文对象(包含 $rowIndex 等参数) */
|
|
28
|
+
slotContext: {
|
|
29
|
+
type: PropType<Record<string, any>>;
|
|
30
|
+
default: undefined;
|
|
31
|
+
};
|
|
32
|
+
/** 是否分割线 */
|
|
33
|
+
divider: any;
|
|
34
|
+
/** 是否清除冒泡 */
|
|
35
|
+
stopButtonPropagation: any;
|
|
36
|
+
/** 显示buttton的个数 默认是2 */
|
|
37
|
+
showBtnNums: any;
|
|
38
|
+
/** width */
|
|
39
|
+
popoverWidth: any;
|
|
40
|
+
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
41
|
+
/** 操作项 */
|
|
42
|
+
actions: {
|
|
43
|
+
type: PropType<TtActionItem[]>;
|
|
44
|
+
default: () => never[];
|
|
45
|
+
};
|
|
46
|
+
/** 当前行索引(从0开始,用于生成唯一 testid) */
|
|
47
|
+
rowIndex: {
|
|
48
|
+
type: NumberConstructor;
|
|
49
|
+
default: undefined;
|
|
50
|
+
};
|
|
51
|
+
/** vxe-table 插槽上下文对象(包含 $rowIndex 等参数) */
|
|
52
|
+
slotContext: {
|
|
53
|
+
type: PropType<Record<string, any>>;
|
|
54
|
+
default: undefined;
|
|
55
|
+
};
|
|
56
|
+
/** 是否分割线 */
|
|
57
|
+
divider: any;
|
|
58
|
+
/** 是否清除冒泡 */
|
|
59
|
+
stopButtonPropagation: any;
|
|
60
|
+
/** 显示buttton的个数 默认是2 */
|
|
61
|
+
showBtnNums: any;
|
|
62
|
+
/** width */
|
|
63
|
+
popoverWidth: any;
|
|
64
|
+
}>> & Readonly<{}>, {
|
|
65
|
+
rowIndex: number;
|
|
66
|
+
actions: TtActionItem[];
|
|
67
|
+
slotContext: Record<string, any>;
|
|
68
|
+
divider: any;
|
|
69
|
+
stopButtonPropagation: any;
|
|
70
|
+
showBtnNums: any;
|
|
71
|
+
popoverWidth: any;
|
|
72
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, HTMLDivElement>;
|
|
73
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
74
|
+
export default _default;
|
|
75
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
76
|
+
new (): {
|
|
77
|
+
$slots: S;
|
|
78
|
+
};
|
|
79
|
+
};
|
|
80
|
+
//# sourceMappingURL=TableAction.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"TableAction.vue.d.ts","sourceRoot":"","sources":["../../../../../src/components/tt-table/src/components/TableAction.vue"],"names":[],"mappings":"AA4RA,OAAO,KAAK,EAAe,QAAQ,EAAE,MAAM,KAAK,CAAC;AACjD,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,sBAAsB,CAAC;AAYzD,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,KAAK,CAAC;AA6LjC,iBAAS,cAAc;WAyNT,OAAO,IAA6B;;oCAnXpB,GAAG,KAAK,KAAK;iBADhC,MAAM,KAAK;;oCACQ,GAAG,KAAK,KAAK;iBADhC,MAAM,KAAK;;;;EAyXrB;AAmDD,KAAK,oBAAoB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAC9D,QAAA,MAAM,eAAe;IAMnB,UAAU;;cAEO,QAAQ,CAAC,YAAY,EAAE,CAAC;;;IAGzC,gCAAgC;;;;;IAKhC,0CAA0C;;cAExB,QAAQ,CAAC,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC;;;IAG/C,YAAY;;IAEZ,aAAa;;IAEb,wBAAwB;;IAExB,YAAY;;;IArBZ,UAAU;;cAEO,QAAQ,CAAC,YAAY,EAAE,CAAC;;;IAGzC,gCAAgC;;;;;IAKhC,0CAA0C;;cAExB,QAAQ,CAAC,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC;;;IAG/C,YAAY;;IAEZ,aAAa;;IAEb,wBAAwB;;IAExB,YAAY;;;;;;;;;;uFAIZ,CAAC;wBACkB,uBAAuB,CAAC,OAAO,eAAe,EAAE,oBAAoB,CAAC,OAAO,CAAC,CAAC;AAAnG,wBAAoG;AAEpG,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IACxC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import { PropType } from 'vue';
|
|
2
|
+
import { TtActionItem } from '../types/tableAction';
|
|
3
|
+
declare const _default: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
|
|
4
|
+
/** 按钮acitons */
|
|
5
|
+
actions: {
|
|
6
|
+
type: PropType<TtActionItem[]>;
|
|
7
|
+
default: () => never[];
|
|
8
|
+
};
|
|
9
|
+
/** 分割线 */
|
|
10
|
+
divider: any;
|
|
11
|
+
/** 是否阻止默认行为 */
|
|
12
|
+
stopButtonPropagation: any;
|
|
13
|
+
}>, () => import("vue/jsx-runtime").JSX.Element, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
14
|
+
/** 按钮acitons */
|
|
15
|
+
actions: {
|
|
16
|
+
type: PropType<TtActionItem[]>;
|
|
17
|
+
default: () => never[];
|
|
18
|
+
};
|
|
19
|
+
/** 分割线 */
|
|
20
|
+
divider: any;
|
|
21
|
+
/** 是否阻止默认行为 */
|
|
22
|
+
stopButtonPropagation: any;
|
|
23
|
+
}>> & Readonly<{}>, {
|
|
24
|
+
actions: TtActionItem[];
|
|
25
|
+
divider: any;
|
|
26
|
+
stopButtonPropagation: any;
|
|
27
|
+
}, {}, {}, {
|
|
28
|
+
disabledTip: import('vue').Directive;
|
|
29
|
+
}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
30
|
+
export default _default;
|
|
31
|
+
//# sourceMappingURL=TableButtons.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"TableButtons.d.ts","sourceRoot":"","sources":["../../../../../src/components/tt-table/src/components/TableButtons.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAe,QAAQ,EAAE,MAAM,KAAK,CAAC;AACjD,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,sBAAsB,CAAC;AAYzD,OAAO,4BAA4B,CAAC;;IAQhC,gBAAgB;;cAEC,QAAQ,CAAC,YAAY,EAAE,CAAC;;;IAGzC,UAAU;;IAEV,eAAe;;;IAPf,gBAAgB;;cAEC,QAAQ,CAAC,YAAY,EAAE,CAAC;;;IAGzC,UAAU;;IAEV,eAAe;;;;;;;;;AAbnB,wBA0JG"}
|