ll-plus 2.3.13 → 2.3.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/es/components/index.mjs +1 -1
- package/es/components/table/index.d.ts +8 -8
- package/es/components/table/index.mjs +1 -1
- package/es/components/table/src/components/main-table.vue.d.ts +4 -4
- package/es/components/table/src/config/index.mjs +1 -1
- package/es/components/table/src/config/main-table.d.ts +2 -1
- package/es/components/table/src/config/main-table.mjs +4 -2
- package/es/components/table/src/config/main-table.mjs.map +1 -1
- package/es/components/table/src/config/table.d.ts +2 -2
- package/es/components/table/src/table.vue.d.ts +8 -8
- package/es/components/table/src/table.vue2.mjs +1 -0
- package/es/components/table/src/table.vue2.mjs.map +1 -1
- package/es/index.mjs +1 -1
- package/es/utils/props/runtime.d.ts +2 -2
- package/index.full.js +5 -1
- package/index.full.min.js +15 -15
- package/index.full.min.js.map +1 -1
- package/index.full.min.mjs +15 -15
- package/index.full.min.mjs.map +1 -1
- package/index.full.mjs +5 -2
- package/lib/components/index.js +1 -0
- package/lib/components/index.js.map +1 -1
- package/lib/components/table/index.d.ts +8 -8
- package/lib/components/table/index.js +1 -0
- package/lib/components/table/index.js.map +1 -1
- package/lib/components/table/src/components/main-table.vue.d.ts +4 -4
- package/lib/components/table/src/config/index.js +1 -0
- package/lib/components/table/src/config/index.js.map +1 -1
- package/lib/components/table/src/config/main-table.d.ts +2 -1
- package/lib/components/table/src/config/main-table.js +4 -1
- package/lib/components/table/src/config/main-table.js.map +1 -1
- package/lib/components/table/src/config/table.d.ts +2 -2
- package/lib/components/table/src/table.vue.d.ts +8 -8
- package/lib/components/table/src/table.vue2.js +1 -0
- package/lib/components/table/src/table.vue2.js.map +1 -1
- package/lib/index.js +1 -0
- package/lib/index.js.map +1 -1
- package/lib/utils/props/runtime.d.ts +2 -2
- package/package.json +1 -1
- package/types/packages/components/table/index.d.ts +8 -8
- package/types/packages/components/table/src/components/main-table.vue.d.ts +4 -4
- package/types/packages/components/table/src/config/main-table.d.ts +2 -1
- package/types/packages/components/table/src/config/table.d.ts +2 -2
- package/types/packages/components/table/src/table.vue.d.ts +8 -8
- package/types/packages/utils/props/runtime.d.ts +2 -2
package/index.full.mjs
CHANGED
|
@@ -61552,13 +61552,15 @@ const tableHeaderSearchEmits = {
|
|
|
61552
61552
|
// 返回值要明确返回一个布尔类型要不然vue会警告
|
|
61553
61553
|
};
|
|
61554
61554
|
|
|
61555
|
+
const tableContentType = ["table", "card"];
|
|
61555
61556
|
const mainTableProps = buildProps({
|
|
61556
61557
|
/**
|
|
61557
61558
|
* @description 动态插槽显示card和table
|
|
61558
61559
|
*/
|
|
61559
61560
|
contentType: {
|
|
61560
61561
|
type: String,
|
|
61561
|
-
|
|
61562
|
+
values: tableContentType,
|
|
61563
|
+
default: "table"
|
|
61562
61564
|
},
|
|
61563
61565
|
/**
|
|
61564
61566
|
* @description 操作栏编辑操作列的key,用于下次记录用户行为
|
|
@@ -69500,6 +69502,7 @@ var _sfc_main$f = /* @__PURE__ */ defineComponent({
|
|
|
69500
69502
|
if (newValue) {
|
|
69501
69503
|
newNaTableptions.value = { ...newValue };
|
|
69502
69504
|
originDataSource.value = [...newValue.dataSource];
|
|
69505
|
+
contentType.value = newNaTableptions.value.contentType;
|
|
69503
69506
|
}
|
|
69504
69507
|
},
|
|
69505
69508
|
{
|
|
@@ -77091,4 +77094,4 @@ var installer = makeInstaller([...Components]);
|
|
|
77091
77094
|
|
|
77092
77095
|
const install = installer.install;
|
|
77093
77096
|
|
|
77094
|
-
export { DEFAULT_METHOD, DEFAULT_TYPE, ILlUploadDragProps, ImenuSwitchType, LlAdvancedFiltering, LlAdvancedFilteringParams, LlAdvancedFilteringTags, LlApiComponent, LlAvatar, LlButton, LlCascader, LlCheckbox, LlCheckboxGroup, LlCodeEditor, LlConfigProvider, LlDatePicker, LlDateRange, LlDescriptions, LlDescriptionsItem, LlDrawer, LlDropdown, LlDropdownButton, LlEasyCron, LlEmpty, LlForm, LlFormComponent, LlFormItem, LlIcon, LlIconBase, LlIconPicker, LlInput, LlInputNumber, LlKeyValue, LlModal, LlNumberRange, LlOperateIcon, LlOperateTree, LlRadio, LlRadioButton, LlRadioGroup, LlSecondConfirmation, LlSegmented, LlSelect, LlSelectGroup, LlSelectOptGroup, LlSelectOption, LlSpace, LlSteps, LlSwitch, LlTable, LlTabsSimple, LlTagGroup, LlTextarea, LlTimePicker, LlTimeRange, LlTooltip, LlTree, LlTreeSearch, LlUploadDrag, LlUploadImage, LlUriInput, OperateTreeEmits, TypeEnum, advancedFilteringEmits, advancedFilteringParamsEmits, advancedFilteringParamsProps, advancedFilteringProps, advancedFilteringTagsEmits, apiComponentEmits, apiComponentProps, apiModalEmits, apiModalProps, apiUrlEmits, apiUrlProps, avatarEmits, avatarProps, avatarType, batchEditingEmits, batchEditingOptions, batchEditingProps, bodyEmits, bodyList, bodyProps, buttonProps, checkboxGroupProps, checkboxProps, checkedType, clickInputEmits, clickInputProps, codeEditorEmits, codeEditorProps, codeThemeList, contentTypeOptions, customOverlay, dateUtil, installer as default, defaultOptions, descriptionsItemProps, descriptionsProps, drawerEmits, drawerOptions, drawerProps, dropdownButtonEmits, dropdownButtonProps, dropdownEmits, dropdownProps, easyCronEmits, easyCronProps, emptyProps, formColumns, formComponentProps, formOptions, formProps, formatToDate, formatToDateTime, formdataTableColumns, getHttpMethodUri, getKeyValueItem, headersTableColumns, httpUriOptions, iconBaseProps, iconPickerModalEmits, iconPickerModalProps, iconPickerProps, iconPickerSearchEmits, iconPickerSearchProps, iconProps, iconTypes, inputNumberEmits, inputNumberProps, inputProps, install, jsonTableColumns, jsonXmlEmits, jsonXmlOptions, jsonXmlProps, jsonXmlTableEmits, jsonXmlTableProps, jsonXmlTableRowEmits, jsonXmlTableRowProps, jsonXmlTypeOptions, keyValueEmits, keyValueItemEmits, keyValueItemProps, keyValueProps, mainTableEmits, mainTableProps, menuSwitchRadioList, methods, modalEmits, modalProps, numberRangeEmits, numberRangeProps, operateIconEmits, operateIconProps, operateTreeEmits, operateTreeProps, paramsOptions, paramsTableColumns, paramsTableEmits, paramsTableProps, paramsTableRowProps, placement, requestList, secondConfirmationProps, selectGroupData, selectGroupEmits, selectGroupFormType, selectGroupProps, selectOptGroupProps, selectOptionProps, tableHeaderSearchEmits, tableHeaderSearchProps, tablePaginationProps, tableProps, tabsSimpleEmits, tabsSimpleProps, tagGroupEmits, tagGroupProps, tooltipProps, treeEmits, treeProps, treeSearchEmits, treeSearchEmits1, treeSearchOperateWayType, treeSearchProps, treeSelectDirectoryTitleEmits, treeSelectDirectoryTitleProps, treeSelectHeaderSearchEmits, treeSelectHeaderSearchProps, typeRules, uploadImageEmits, uploadImageProps, uriInputEmits, uriInputProps, url, useSecondConfirmation, useTabEmits, useTabProps, useTabSetup };
|
|
77097
|
+
export { DEFAULT_METHOD, DEFAULT_TYPE, ILlUploadDragProps, ImenuSwitchType, LlAdvancedFiltering, LlAdvancedFilteringParams, LlAdvancedFilteringTags, LlApiComponent, LlAvatar, LlButton, LlCascader, LlCheckbox, LlCheckboxGroup, LlCodeEditor, LlConfigProvider, LlDatePicker, LlDateRange, LlDescriptions, LlDescriptionsItem, LlDrawer, LlDropdown, LlDropdownButton, LlEasyCron, LlEmpty, LlForm, LlFormComponent, LlFormItem, LlIcon, LlIconBase, LlIconPicker, LlInput, LlInputNumber, LlKeyValue, LlModal, LlNumberRange, LlOperateIcon, LlOperateTree, LlRadio, LlRadioButton, LlRadioGroup, LlSecondConfirmation, LlSegmented, LlSelect, LlSelectGroup, LlSelectOptGroup, LlSelectOption, LlSpace, LlSteps, LlSwitch, LlTable, LlTabsSimple, LlTagGroup, LlTextarea, LlTimePicker, LlTimeRange, LlTooltip, LlTree, LlTreeSearch, LlUploadDrag, LlUploadImage, LlUriInput, OperateTreeEmits, TypeEnum, advancedFilteringEmits, advancedFilteringParamsEmits, advancedFilteringParamsProps, advancedFilteringProps, advancedFilteringTagsEmits, apiComponentEmits, apiComponentProps, apiModalEmits, apiModalProps, apiUrlEmits, apiUrlProps, avatarEmits, avatarProps, avatarType, batchEditingEmits, batchEditingOptions, batchEditingProps, bodyEmits, bodyList, bodyProps, buttonProps, checkboxGroupProps, checkboxProps, checkedType, clickInputEmits, clickInputProps, codeEditorEmits, codeEditorProps, codeThemeList, contentTypeOptions, customOverlay, dateUtil, installer as default, defaultOptions, descriptionsItemProps, descriptionsProps, drawerEmits, drawerOptions, drawerProps, dropdownButtonEmits, dropdownButtonProps, dropdownEmits, dropdownProps, easyCronEmits, easyCronProps, emptyProps, formColumns, formComponentProps, formOptions, formProps, formatToDate, formatToDateTime, formdataTableColumns, getHttpMethodUri, getKeyValueItem, headersTableColumns, httpUriOptions, iconBaseProps, iconPickerModalEmits, iconPickerModalProps, iconPickerProps, iconPickerSearchEmits, iconPickerSearchProps, iconProps, iconTypes, inputNumberEmits, inputNumberProps, inputProps, install, jsonTableColumns, jsonXmlEmits, jsonXmlOptions, jsonXmlProps, jsonXmlTableEmits, jsonXmlTableProps, jsonXmlTableRowEmits, jsonXmlTableRowProps, jsonXmlTypeOptions, keyValueEmits, keyValueItemEmits, keyValueItemProps, keyValueProps, mainTableEmits, mainTableProps, menuSwitchRadioList, methods, modalEmits, modalProps, numberRangeEmits, numberRangeProps, operateIconEmits, operateIconProps, operateTreeEmits, operateTreeProps, paramsOptions, paramsTableColumns, paramsTableEmits, paramsTableProps, paramsTableRowProps, placement, requestList, secondConfirmationProps, selectGroupData, selectGroupEmits, selectGroupFormType, selectGroupProps, selectOptGroupProps, selectOptionProps, tableContentType, tableHeaderSearchEmits, tableHeaderSearchProps, tablePaginationProps, tableProps, tabsSimpleEmits, tabsSimpleProps, tagGroupEmits, tagGroupProps, tooltipProps, treeEmits, treeProps, treeSearchEmits, treeSearchEmits1, treeSearchOperateWayType, treeSearchProps, treeSelectDirectoryTitleEmits, treeSelectDirectoryTitleProps, treeSelectHeaderSearchEmits, treeSelectHeaderSearchProps, typeRules, uploadImageEmits, uploadImageProps, uriInputEmits, uriInputProps, url, useSecondConfirmation, useTabEmits, useTabProps, useTabSetup };
|
package/lib/components/index.js
CHANGED
|
@@ -277,6 +277,7 @@ exports.tableHeaderSearchEmits = headerSearch.tableHeaderSearchEmits;
|
|
|
277
277
|
exports.tableHeaderSearchProps = headerSearch.tableHeaderSearchProps;
|
|
278
278
|
exports.mainTableEmits = mainTable.mainTableEmits;
|
|
279
279
|
exports.mainTableProps = mainTable.mainTableProps;
|
|
280
|
+
exports.tableContentType = mainTable.tableContentType;
|
|
280
281
|
exports.tablePaginationProps = pagination.tablePaginationProps;
|
|
281
282
|
exports.tableProps = table$1.tableProps;
|
|
282
283
|
exports.tabsSimpleEmits = tabsSimple.tabsSimpleEmits;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -9,7 +9,7 @@ export declare const LlTable: import("ll-plus/es/utils").SFCWithInstall<import("
|
|
|
9
9
|
readonly tableProps: import("ll-plus/es/utils").EpPropFinalized<(new (...args: any[]) => {
|
|
10
10
|
readonly columns: import("ant-design-vue").TableColumnProps[];
|
|
11
11
|
readonly dataSource: any[];
|
|
12
|
-
readonly contentType:
|
|
12
|
+
readonly contentType: import("ll-plus/es/utils").EpPropMergeType<StringConstructor, "card" | "table", unknown>;
|
|
13
13
|
readonly settingKey: string;
|
|
14
14
|
readonly showIndexColumn: import("ll-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
15
15
|
readonly showOperate: import("ll-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
@@ -28,7 +28,7 @@ export declare const LlTable: import("ll-plus/es/utils").SFCWithInstall<import("
|
|
|
28
28
|
}) | (() => import("./src/config").MainTableProps) | ((new (...args: any[]) => {
|
|
29
29
|
readonly columns: import("ant-design-vue").TableColumnProps[];
|
|
30
30
|
readonly dataSource: any[];
|
|
31
|
-
readonly contentType:
|
|
31
|
+
readonly contentType: import("ll-plus/es/utils").EpPropMergeType<StringConstructor, "card" | "table", unknown>;
|
|
32
32
|
readonly settingKey: string;
|
|
33
33
|
readonly showIndexColumn: import("ll-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
34
34
|
readonly showOperate: import("ll-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
@@ -179,7 +179,7 @@ export declare const LlTable: import("ll-plus/es/utils").SFCWithInstall<import("
|
|
|
179
179
|
readonly menuSwitchOptions: import("./src/config").IMenuSwitchOptions;
|
|
180
180
|
}, {}>;
|
|
181
181
|
MainTable: import("vue").DefineComponent<{
|
|
182
|
-
readonly contentType: import("ll-plus/es/utils").EpPropFinalized<StringConstructor,
|
|
182
|
+
readonly contentType: import("ll-plus/es/utils").EpPropFinalized<StringConstructor, "card" | "table", unknown, "table", boolean>;
|
|
183
183
|
readonly settingKey: import("ll-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
184
184
|
readonly columns: import("ll-plus/es/utils").EpPropFinalized<(new (...args: any[]) => import("ant-design-vue").TableColumnProps[]) | (() => import("ant-design-vue").TableColumnProps[]) | ((new (...args: any[]) => import("ant-design-vue").TableColumnProps[]) | (() => import("ant-design-vue").TableColumnProps[]))[], unknown, unknown, () => never[], boolean>;
|
|
185
185
|
readonly dataSource: import("ll-plus/es/utils").EpPropFinalized<(new (...args: any[]) => any[]) | (() => any[]) | ((new (...args: any[]) => any[]) | (() => any[]))[], unknown, unknown, () => never[], boolean>;
|
|
@@ -250,7 +250,7 @@ export declare const LlTable: import("ll-plus/es/utils").SFCWithInstall<import("
|
|
|
250
250
|
props: import("@vue/shared").LooseRequired<{
|
|
251
251
|
readonly columns: import("ant-design-vue").TableColumnProps[];
|
|
252
252
|
readonly dataSource: any[];
|
|
253
|
-
readonly contentType:
|
|
253
|
+
readonly contentType: import("ll-plus/es/utils").EpPropMergeType<StringConstructor, "card" | "table", unknown>;
|
|
254
254
|
readonly settingKey: string;
|
|
255
255
|
readonly showIndexColumn: import("ll-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
256
256
|
readonly showOperate: import("ll-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
@@ -378,7 +378,7 @@ export declare const LlTable: import("ll-plus/es/utils").SFCWithInstall<import("
|
|
|
378
378
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
379
379
|
handleChangeDataSource: (dataSource: any[]) => boolean;
|
|
380
380
|
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
381
|
-
readonly contentType: import("ll-plus/es/utils").EpPropFinalized<StringConstructor,
|
|
381
|
+
readonly contentType: import("ll-plus/es/utils").EpPropFinalized<StringConstructor, "card" | "table", unknown, "table", boolean>;
|
|
382
382
|
readonly settingKey: import("ll-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
383
383
|
readonly columns: import("ll-plus/es/utils").EpPropFinalized<(new (...args: any[]) => import("ant-design-vue").TableColumnProps[]) | (() => import("ant-design-vue").TableColumnProps[]) | ((new (...args: any[]) => import("ant-design-vue").TableColumnProps[]) | (() => import("ant-design-vue").TableColumnProps[]))[], unknown, unknown, () => never[], boolean>;
|
|
384
384
|
readonly dataSource: import("ll-plus/es/utils").EpPropFinalized<(new (...args: any[]) => any[]) | (() => any[]) | ((new (...args: any[]) => any[]) | (() => any[]))[], unknown, unknown, () => never[], boolean>;
|
|
@@ -450,7 +450,7 @@ export declare const LlTable: import("ll-plus/es/utils").SFCWithInstall<import("
|
|
|
450
450
|
}, {
|
|
451
451
|
readonly columns: import("ant-design-vue").TableColumnProps[];
|
|
452
452
|
readonly dataSource: any[];
|
|
453
|
-
readonly contentType:
|
|
453
|
+
readonly contentType: import("ll-plus/es/utils").EpPropMergeType<StringConstructor, "card" | "table", unknown>;
|
|
454
454
|
readonly settingKey: string;
|
|
455
455
|
readonly showIndexColumn: import("ll-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
456
456
|
readonly showOperate: import("ll-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
@@ -538,7 +538,7 @@ export declare const LlTable: import("ll-plus/es/utils").SFCWithInstall<import("
|
|
|
538
538
|
readonly tableProps: import("ll-plus/es/utils").EpPropFinalized<(new (...args: any[]) => {
|
|
539
539
|
readonly columns: import("ant-design-vue").TableColumnProps[];
|
|
540
540
|
readonly dataSource: any[];
|
|
541
|
-
readonly contentType:
|
|
541
|
+
readonly contentType: import("ll-plus/es/utils").EpPropMergeType<StringConstructor, "card" | "table", unknown>;
|
|
542
542
|
readonly settingKey: string;
|
|
543
543
|
readonly showIndexColumn: import("ll-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
544
544
|
readonly showOperate: import("ll-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
@@ -557,7 +557,7 @@ export declare const LlTable: import("ll-plus/es/utils").SFCWithInstall<import("
|
|
|
557
557
|
}) | (() => import("./src/config").MainTableProps) | ((new (...args: any[]) => {
|
|
558
558
|
readonly columns: import("ant-design-vue").TableColumnProps[];
|
|
559
559
|
readonly dataSource: any[];
|
|
560
|
-
readonly contentType:
|
|
560
|
+
readonly contentType: import("ll-plus/es/utils").EpPropMergeType<StringConstructor, "card" | "table", unknown>;
|
|
561
561
|
readonly settingKey: string;
|
|
562
562
|
readonly showIndexColumn: import("ll-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
563
563
|
readonly showOperate: import("ll-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
@@ -20,6 +20,7 @@ exports.tableHeaderSearchEmits = headerSearch.tableHeaderSearchEmits;
|
|
|
20
20
|
exports.tableHeaderSearchProps = headerSearch.tableHeaderSearchProps;
|
|
21
21
|
exports.mainTableEmits = mainTable.mainTableEmits;
|
|
22
22
|
exports.mainTableProps = mainTable.mainTableProps;
|
|
23
|
+
exports.tableContentType = mainTable.tableContentType;
|
|
23
24
|
exports.tablePaginationProps = pagination.tablePaginationProps;
|
|
24
25
|
exports.tableProps = table.tableProps;
|
|
25
26
|
exports.LlTable = LlTable;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sources":["../../../../packages/components/table/index.ts"],"sourcesContent":["import { withInstall } from '@ll-plus/utils'\n\nimport Table from './src/table.vue'\n\nexport const LlTable = withInstall(Table)\nexport default LlTable\nexport * from './src/config'\n\ndeclare module 'vue' {\n export interface GlobalComponents {\n LlTable: typeof Table\n }\n}\n"],"names":["withInstall","Table"],"mappings":";;;;;;;;;;;;;;AAIa,MAAA,OAAA,GAAUA,wBAAYC,eAAK
|
|
1
|
+
{"version":3,"file":"index.js","sources":["../../../../packages/components/table/index.ts"],"sourcesContent":["import { withInstall } from '@ll-plus/utils'\n\nimport Table from './src/table.vue'\n\nexport const LlTable = withInstall(Table)\nexport default LlTable\nexport * from './src/config'\n\ndeclare module 'vue' {\n export interface GlobalComponents {\n LlTable: typeof Table\n }\n}\n"],"names":["withInstall","Table"],"mappings":";;;;;;;;;;;;;;AAIa,MAAA,OAAA,GAAUA,wBAAYC,eAAK;;;;;;;;;;;;;;"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
declare const _default: import("vue").DefineComponent<{
|
|
2
|
-
readonly contentType: import("ll-plus/es/utils").EpPropFinalized<StringConstructor,
|
|
2
|
+
readonly contentType: import("ll-plus/es/utils").EpPropFinalized<StringConstructor, "card" | "table", unknown, "table", boolean>;
|
|
3
3
|
readonly settingKey: import("ll-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
4
4
|
readonly columns: import("ll-plus/es/utils").EpPropFinalized<(new (...args: any[]) => import("ant-design-vue").TableColumnProps[]) | (() => import("ant-design-vue").TableColumnProps[]) | ((new (...args: any[]) => import("ant-design-vue").TableColumnProps[]) | (() => import("ant-design-vue").TableColumnProps[]))[], unknown, unknown, () => never[], boolean>;
|
|
5
5
|
readonly dataSource: import("ll-plus/es/utils").EpPropFinalized<(new (...args: any[]) => any[]) | (() => any[]) | ((new (...args: any[]) => any[]) | (() => any[]))[], unknown, unknown, () => never[], boolean>;
|
|
@@ -70,7 +70,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
70
70
|
props: import("@vue/shared").LooseRequired<{
|
|
71
71
|
readonly columns: import("ant-design-vue").TableColumnProps[];
|
|
72
72
|
readonly dataSource: any[];
|
|
73
|
-
readonly contentType:
|
|
73
|
+
readonly contentType: import("ll-plus/es/utils").EpPropMergeType<StringConstructor, "card" | "table", unknown>;
|
|
74
74
|
readonly settingKey: string;
|
|
75
75
|
readonly showIndexColumn: import("ll-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
76
76
|
readonly showOperate: import("ll-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
@@ -198,7 +198,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
198
198
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
199
199
|
handleChangeDataSource: (dataSource: any[]) => boolean;
|
|
200
200
|
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
201
|
-
readonly contentType: import("ll-plus/es/utils").EpPropFinalized<StringConstructor,
|
|
201
|
+
readonly contentType: import("ll-plus/es/utils").EpPropFinalized<StringConstructor, "card" | "table", unknown, "table", boolean>;
|
|
202
202
|
readonly settingKey: import("ll-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
203
203
|
readonly columns: import("ll-plus/es/utils").EpPropFinalized<(new (...args: any[]) => import("ant-design-vue").TableColumnProps[]) | (() => import("ant-design-vue").TableColumnProps[]) | ((new (...args: any[]) => import("ant-design-vue").TableColumnProps[]) | (() => import("ant-design-vue").TableColumnProps[]))[], unknown, unknown, () => never[], boolean>;
|
|
204
204
|
readonly dataSource: import("ll-plus/es/utils").EpPropFinalized<(new (...args: any[]) => any[]) | (() => any[]) | ((new (...args: any[]) => any[]) | (() => any[]))[], unknown, unknown, () => never[], boolean>;
|
|
@@ -270,7 +270,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
270
270
|
}, {
|
|
271
271
|
readonly columns: import("ant-design-vue").TableColumnProps[];
|
|
272
272
|
readonly dataSource: any[];
|
|
273
|
-
readonly contentType:
|
|
273
|
+
readonly contentType: import("ll-plus/es/utils").EpPropMergeType<StringConstructor, "card" | "table", unknown>;
|
|
274
274
|
readonly settingKey: string;
|
|
275
275
|
readonly showIndexColumn: import("ll-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
276
276
|
readonly showOperate: import("ll-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
@@ -13,6 +13,7 @@ exports.tableHeaderSearchEmits = headerSearch.tableHeaderSearchEmits;
|
|
|
13
13
|
exports.tableHeaderSearchProps = headerSearch.tableHeaderSearchProps;
|
|
14
14
|
exports.mainTableEmits = mainTable.mainTableEmits;
|
|
15
15
|
exports.mainTableProps = mainTable.mainTableProps;
|
|
16
|
+
exports.tableContentType = mainTable.tableContentType;
|
|
16
17
|
exports.tablePaginationProps = pagination.tablePaginationProps;
|
|
17
18
|
exports.tableProps = table.tableProps;
|
|
18
19
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;"}
|
|
@@ -5,8 +5,9 @@ export interface ITableScroll {
|
|
|
5
5
|
x: number | string | boolean;
|
|
6
6
|
y: number | string;
|
|
7
7
|
}
|
|
8
|
+
export declare const tableContentType: readonly ["table", "card"];
|
|
8
9
|
export declare const mainTableProps: {
|
|
9
|
-
readonly contentType: import("ll-plus/es/utils").EpPropFinalized<StringConstructor,
|
|
10
|
+
readonly contentType: import("ll-plus/es/utils").EpPropFinalized<StringConstructor, "card" | "table", unknown, "table", boolean>;
|
|
10
11
|
readonly settingKey: import("ll-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
11
12
|
readonly columns: import("ll-plus/es/utils").EpPropFinalized<(new (...args: any[]) => TableColumnProps[]) | (() => TableColumnProps[]) | ((new (...args: any[]) => TableColumnProps[]) | (() => TableColumnProps[]))[], unknown, unknown, () => never[], boolean>;
|
|
12
13
|
readonly dataSource: import("ll-plus/es/utils").EpPropFinalized<(new (...args: any[]) => any[]) | (() => any[]) | ((new (...args: any[]) => any[]) | (() => any[]))[], unknown, unknown, () => never[], boolean>;
|
|
@@ -4,13 +4,15 @@ require('../../../../utils/index.js');
|
|
|
4
4
|
var runtime = require('../../../../utils/props/runtime.js');
|
|
5
5
|
|
|
6
6
|
"use strict";
|
|
7
|
+
const tableContentType = ["table", "card"];
|
|
7
8
|
const mainTableProps = runtime.buildProps({
|
|
8
9
|
/**
|
|
9
10
|
* @description 动态插槽显示card和table
|
|
10
11
|
*/
|
|
11
12
|
contentType: {
|
|
12
13
|
type: String,
|
|
13
|
-
|
|
14
|
+
values: tableContentType,
|
|
15
|
+
default: "table"
|
|
14
16
|
},
|
|
15
17
|
/**
|
|
16
18
|
* @description 操作栏编辑操作列的key,用于下次记录用户行为
|
|
@@ -121,4 +123,5 @@ const mainTableEmits = {
|
|
|
121
123
|
|
|
122
124
|
exports.mainTableEmits = mainTableEmits;
|
|
123
125
|
exports.mainTableProps = mainTableProps;
|
|
126
|
+
exports.tableContentType = tableContentType;
|
|
124
127
|
//# sourceMappingURL=main-table.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"main-table.js","sources":["../../../../../../packages/components/table/src/config/main-table.ts"],"sourcesContent":["import { buildProps, definePropType } from '@ll-plus/utils'\n\nimport MainTable from '../components/main-table.vue'\n\nimport type { ExtractPropTypes } from 'vue'\nimport type { TableColumnProps } from 'ant-design-vue'\n\n// ITableScroll\nexport interface ITableScroll {\n x: number | string | boolean\n y: number | string\n}\nexport const mainTableProps = buildProps({\n /**\n * @description 动态插槽显示card和table\n */\n contentType: {\n type: String,\n default: ''\n },\n /**\n * @description 操作栏编辑操作列的key,用于下次记录用户行为\n */\n settingKey: {\n type: String,\n default: ''\n },\n /**\n * @description 列设置\n */\n columns: {\n type: definePropType<TableColumnProps[]>(Array),\n default: () => []\n },\n /**\n * @description 数据源\n */\n dataSource: {\n type: definePropType<any[]>(Array),\n default: () => []\n },\n /**\n * @description 是否数据拖拽\n */\n showDrag: {\n type: Boolean\n },\n /**\n * @description 是否显示#序列\n */\n showIndexColumn: {\n type: Boolean,\n default: true\n },\n /**\n * @description 展示操作列的\n */\n showOperate: {\n type: Boolean,\n default: true\n },\n /**\n * @description 是否显示操作栏上的设置\n */\n showSetting: {\n type: Boolean,\n default: true\n },\n /**\n * @description table的scroll\n */\n scroll: {\n type: definePropType<ITableScroll>(Object)\n },\n /**\n * @description 展开的key\n */\n expandedRowKeys: {\n type: definePropType<string[]>(Array)\n },\n /**\n * @description 是否隐藏分页\n */\n hiddenPagination: {\n type: Boolean\n },\n /**\n * @description 设置行属性同表格的customRow属性\n */\n customRowProps: {\n type: Function\n },\n /**\n * @description 点击展开图标时触发\n */\n expand: {\n type: Function\n },\n /**\n * @description 分页、排序、筛选变化时触发\n */\n change: {\n type: Function\n },\n /**\n * @description 展开的行变化时触发\n */\n expandedRowsChange: {\n type: Function\n },\n /**\n * @description 拖动列改变列的宽度时触发\n */\n resizeColumn: {\n type: Function\n },\n /**\n * @description 拖拽后的change\n */\n dragChange: {\n type: Function\n }\n} as const)\n\nexport const mainTableEmits = {\n handleChangeDataSource: (dataSource: any[]) => !!dataSource\n}\n\n// props\nexport type MainTableProps = ExtractPropTypes<typeof mainTableProps>\n\n// emits\nexport type MainTableEmits = typeof mainTableEmits\n\n// instance\nexport type MainTableInstance = InstanceType<typeof MainTable>\n"],"names":["buildProps","definePropType"],"mappings":";;;;;;
|
|
1
|
+
{"version":3,"file":"main-table.js","sources":["../../../../../../packages/components/table/src/config/main-table.ts"],"sourcesContent":["import { buildProps, definePropType } from '@ll-plus/utils'\n\nimport MainTable from '../components/main-table.vue'\n\nimport type { ExtractPropTypes } from 'vue'\nimport type { TableColumnProps } from 'ant-design-vue'\n\n// ITableScroll\nexport interface ITableScroll {\n x: number | string | boolean\n y: number | string\n}\n\n// 弹窗定位的位置\nexport const tableContentType = ['table', 'card'] as const\nexport const mainTableProps = buildProps({\n /**\n * @description 动态插槽显示card和table\n */\n contentType: {\n type: String,\n values: tableContentType,\n default: 'table'\n },\n /**\n * @description 操作栏编辑操作列的key,用于下次记录用户行为\n */\n settingKey: {\n type: String,\n default: ''\n },\n /**\n * @description 列设置\n */\n columns: {\n type: definePropType<TableColumnProps[]>(Array),\n default: () => []\n },\n /**\n * @description 数据源\n */\n dataSource: {\n type: definePropType<any[]>(Array),\n default: () => []\n },\n /**\n * @description 是否数据拖拽\n */\n showDrag: {\n type: Boolean\n },\n /**\n * @description 是否显示#序列\n */\n showIndexColumn: {\n type: Boolean,\n default: true\n },\n /**\n * @description 展示操作列的\n */\n showOperate: {\n type: Boolean,\n default: true\n },\n /**\n * @description 是否显示操作栏上的设置\n */\n showSetting: {\n type: Boolean,\n default: true\n },\n /**\n * @description table的scroll\n */\n scroll: {\n type: definePropType<ITableScroll>(Object)\n },\n /**\n * @description 展开的key\n */\n expandedRowKeys: {\n type: definePropType<string[]>(Array)\n },\n /**\n * @description 是否隐藏分页\n */\n hiddenPagination: {\n type: Boolean\n },\n /**\n * @description 设置行属性同表格的customRow属性\n */\n customRowProps: {\n type: Function\n },\n /**\n * @description 点击展开图标时触发\n */\n expand: {\n type: Function\n },\n /**\n * @description 分页、排序、筛选变化时触发\n */\n change: {\n type: Function\n },\n /**\n * @description 展开的行变化时触发\n */\n expandedRowsChange: {\n type: Function\n },\n /**\n * @description 拖动列改变列的宽度时触发\n */\n resizeColumn: {\n type: Function\n },\n /**\n * @description 拖拽后的change\n */\n dragChange: {\n type: Function\n }\n} as const)\n\nexport const mainTableEmits = {\n handleChangeDataSource: (dataSource: any[]) => !!dataSource\n}\n\n// props\nexport type MainTableProps = ExtractPropTypes<typeof mainTableProps>\n\n// emits\nexport type MainTableEmits = typeof mainTableEmits\n\n// instance\nexport type MainTableInstance = InstanceType<typeof MainTable>\n"],"names":["buildProps","definePropType"],"mappings":";;;;;;AAca,MAAA,gBAAA,GAAmB,CAAC,OAAA,EAAS,MAAM,EAAA;AACzC,MAAM,iBAAiBA,kBAAW,CAAA;AAAA;AAAA;AAAA;AAAA,EAIvC,WAAa,EAAA;AAAA,IACX,IAAM,EAAA,MAAA;AAAA,IACN,MAAQ,EAAA,gBAAA;AAAA,IACR,OAAS,EAAA,OAAA;AAAA,GACX;AAAA;AAAA;AAAA;AAAA,EAIA,UAAY,EAAA;AAAA,IACV,IAAM,EAAA,MAAA;AAAA,IACN,OAAS,EAAA,EAAA;AAAA,GACX;AAAA;AAAA;AAAA;AAAA,EAIA,OAAS,EAAA;AAAA,IACP,IAAA,EAAMC,uBAAmC,KAAK,CAAA;AAAA,IAC9C,OAAA,EAAS,MAAM,EAAC;AAAA,GAClB;AAAA;AAAA;AAAA;AAAA,EAIA,UAAY,EAAA;AAAA,IACV,IAAA,EAAMA,uBAAsB,KAAK,CAAA;AAAA,IACjC,OAAA,EAAS,MAAM,EAAC;AAAA,GAClB;AAAA;AAAA;AAAA;AAAA,EAIA,QAAU,EAAA;AAAA,IACR,IAAM,EAAA,OAAA;AAAA,GACR;AAAA;AAAA;AAAA;AAAA,EAIA,eAAiB,EAAA;AAAA,IACf,IAAM,EAAA,OAAA;AAAA,IACN,OAAS,EAAA,IAAA;AAAA,GACX;AAAA;AAAA;AAAA;AAAA,EAIA,WAAa,EAAA;AAAA,IACX,IAAM,EAAA,OAAA;AAAA,IACN,OAAS,EAAA,IAAA;AAAA,GACX;AAAA;AAAA;AAAA;AAAA,EAIA,WAAa,EAAA;AAAA,IACX,IAAM,EAAA,OAAA;AAAA,IACN,OAAS,EAAA,IAAA;AAAA,GACX;AAAA;AAAA;AAAA;AAAA,EAIA,MAAQ,EAAA;AAAA,IACN,IAAA,EAAMA,uBAA6B,MAAM,CAAA;AAAA,GAC3C;AAAA;AAAA;AAAA;AAAA,EAIA,eAAiB,EAAA;AAAA,IACf,IAAA,EAAMA,uBAAyB,KAAK,CAAA;AAAA,GACtC;AAAA;AAAA;AAAA;AAAA,EAIA,gBAAkB,EAAA;AAAA,IAChB,IAAM,EAAA,OAAA;AAAA,GACR;AAAA;AAAA;AAAA;AAAA,EAIA,cAAgB,EAAA;AAAA,IACd,IAAM,EAAA,QAAA;AAAA,GACR;AAAA;AAAA;AAAA;AAAA,EAIA,MAAQ,EAAA;AAAA,IACN,IAAM,EAAA,QAAA;AAAA,GACR;AAAA;AAAA;AAAA;AAAA,EAIA,MAAQ,EAAA;AAAA,IACN,IAAM,EAAA,QAAA;AAAA,GACR;AAAA;AAAA;AAAA;AAAA,EAIA,kBAAoB,EAAA;AAAA,IAClB,IAAM,EAAA,QAAA;AAAA,GACR;AAAA;AAAA;AAAA;AAAA,EAIA,YAAc,EAAA;AAAA,IACZ,IAAM,EAAA,QAAA;AAAA,GACR;AAAA;AAAA;AAAA;AAAA,EAIA,UAAY,EAAA;AAAA,IACV,IAAM,EAAA,QAAA;AAAA,GACR;AACF,CAAU,EAAA;AAEH,MAAM,cAAiB,GAAA;AAAA,EAC5B,sBAAwB,EAAA,CAAC,UAAsB,KAAA,CAAC,CAAC,UAAA;AACnD;;;;;;"}
|
|
@@ -11,7 +11,7 @@ export declare const tableProps: {
|
|
|
11
11
|
readonly tableProps: import("ll-plus/es/utils").EpPropFinalized<(new (...args: any[]) => {
|
|
12
12
|
readonly columns: import("ant-design-vue").TableColumnProps[];
|
|
13
13
|
readonly dataSource: any[];
|
|
14
|
-
readonly contentType:
|
|
14
|
+
readonly contentType: import("ll-plus/es/utils").EpPropMergeType<StringConstructor, "card" | "table", unknown>;
|
|
15
15
|
readonly settingKey: string;
|
|
16
16
|
readonly showIndexColumn: import("ll-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
17
17
|
readonly showOperate: import("ll-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
@@ -30,7 +30,7 @@ export declare const tableProps: {
|
|
|
30
30
|
}) | (() => MainTableProps) | ((new (...args: any[]) => {
|
|
31
31
|
readonly columns: import("ant-design-vue").TableColumnProps[];
|
|
32
32
|
readonly dataSource: any[];
|
|
33
|
-
readonly contentType:
|
|
33
|
+
readonly contentType: import("ll-plus/es/utils").EpPropMergeType<StringConstructor, "card" | "table", unknown>;
|
|
34
34
|
readonly settingKey: string;
|
|
35
35
|
readonly showIndexColumn: import("ll-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
36
36
|
readonly showOperate: import("ll-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
@@ -9,7 +9,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
9
9
|
readonly tableProps: import("ll-plus/es/utils").EpPropFinalized<(new (...args: any[]) => {
|
|
10
10
|
readonly columns: import("ant-design-vue").TableColumnProps[];
|
|
11
11
|
readonly dataSource: any[];
|
|
12
|
-
readonly contentType:
|
|
12
|
+
readonly contentType: import("ll-plus/es/utils").EpPropMergeType<StringConstructor, "card" | "table", unknown>;
|
|
13
13
|
readonly settingKey: string;
|
|
14
14
|
readonly showIndexColumn: import("ll-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
15
15
|
readonly showOperate: import("ll-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
@@ -28,7 +28,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
28
28
|
}) | (() => import("./config").MainTableProps) | ((new (...args: any[]) => {
|
|
29
29
|
readonly columns: import("ant-design-vue").TableColumnProps[];
|
|
30
30
|
readonly dataSource: any[];
|
|
31
|
-
readonly contentType:
|
|
31
|
+
readonly contentType: import("ll-plus/es/utils").EpPropMergeType<StringConstructor, "card" | "table", unknown>;
|
|
32
32
|
readonly settingKey: string;
|
|
33
33
|
readonly showIndexColumn: import("ll-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
34
34
|
readonly showOperate: import("ll-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
@@ -179,7 +179,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
179
179
|
readonly menuSwitchOptions: import("./config").IMenuSwitchOptions;
|
|
180
180
|
}, {}>;
|
|
181
181
|
MainTable: import("vue").DefineComponent<{
|
|
182
|
-
readonly contentType: import("ll-plus/es/utils").EpPropFinalized<StringConstructor,
|
|
182
|
+
readonly contentType: import("ll-plus/es/utils").EpPropFinalized<StringConstructor, "card" | "table", unknown, "table", boolean>;
|
|
183
183
|
readonly settingKey: import("ll-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
184
184
|
readonly columns: import("ll-plus/es/utils").EpPropFinalized<(new (...args: any[]) => import("ant-design-vue").TableColumnProps[]) | (() => import("ant-design-vue").TableColumnProps[]) | ((new (...args: any[]) => import("ant-design-vue").TableColumnProps[]) | (() => import("ant-design-vue").TableColumnProps[]))[], unknown, unknown, () => never[], boolean>;
|
|
185
185
|
readonly dataSource: import("ll-plus/es/utils").EpPropFinalized<(new (...args: any[]) => any[]) | (() => any[]) | ((new (...args: any[]) => any[]) | (() => any[]))[], unknown, unknown, () => never[], boolean>;
|
|
@@ -250,7 +250,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
250
250
|
props: import("@vue/shared").LooseRequired<{
|
|
251
251
|
readonly columns: import("ant-design-vue").TableColumnProps[];
|
|
252
252
|
readonly dataSource: any[];
|
|
253
|
-
readonly contentType:
|
|
253
|
+
readonly contentType: import("ll-plus/es/utils").EpPropMergeType<StringConstructor, "card" | "table", unknown>;
|
|
254
254
|
readonly settingKey: string;
|
|
255
255
|
readonly showIndexColumn: import("ll-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
256
256
|
readonly showOperate: import("ll-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
@@ -378,7 +378,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
378
378
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
379
379
|
handleChangeDataSource: (dataSource: any[]) => boolean;
|
|
380
380
|
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
381
|
-
readonly contentType: import("ll-plus/es/utils").EpPropFinalized<StringConstructor,
|
|
381
|
+
readonly contentType: import("ll-plus/es/utils").EpPropFinalized<StringConstructor, "card" | "table", unknown, "table", boolean>;
|
|
382
382
|
readonly settingKey: import("ll-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
383
383
|
readonly columns: import("ll-plus/es/utils").EpPropFinalized<(new (...args: any[]) => import("ant-design-vue").TableColumnProps[]) | (() => import("ant-design-vue").TableColumnProps[]) | ((new (...args: any[]) => import("ant-design-vue").TableColumnProps[]) | (() => import("ant-design-vue").TableColumnProps[]))[], unknown, unknown, () => never[], boolean>;
|
|
384
384
|
readonly dataSource: import("ll-plus/es/utils").EpPropFinalized<(new (...args: any[]) => any[]) | (() => any[]) | ((new (...args: any[]) => any[]) | (() => any[]))[], unknown, unknown, () => never[], boolean>;
|
|
@@ -450,7 +450,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
450
450
|
}, {
|
|
451
451
|
readonly columns: import("ant-design-vue").TableColumnProps[];
|
|
452
452
|
readonly dataSource: any[];
|
|
453
|
-
readonly contentType:
|
|
453
|
+
readonly contentType: import("ll-plus/es/utils").EpPropMergeType<StringConstructor, "card" | "table", unknown>;
|
|
454
454
|
readonly settingKey: string;
|
|
455
455
|
readonly showIndexColumn: import("ll-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
456
456
|
readonly showOperate: import("ll-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
@@ -538,7 +538,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
538
538
|
readonly tableProps: import("ll-plus/es/utils").EpPropFinalized<(new (...args: any[]) => {
|
|
539
539
|
readonly columns: import("ant-design-vue").TableColumnProps[];
|
|
540
540
|
readonly dataSource: any[];
|
|
541
|
-
readonly contentType:
|
|
541
|
+
readonly contentType: import("ll-plus/es/utils").EpPropMergeType<StringConstructor, "card" | "table", unknown>;
|
|
542
542
|
readonly settingKey: string;
|
|
543
543
|
readonly showIndexColumn: import("ll-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
544
544
|
readonly showOperate: import("ll-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
@@ -557,7 +557,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
557
557
|
}) | (() => import("./config").MainTableProps) | ((new (...args: any[]) => {
|
|
558
558
|
readonly columns: import("ant-design-vue").TableColumnProps[];
|
|
559
559
|
readonly dataSource: any[];
|
|
560
|
-
readonly contentType:
|
|
560
|
+
readonly contentType: import("ll-plus/es/utils").EpPropMergeType<StringConstructor, "card" | "table", unknown>;
|
|
561
561
|
readonly settingKey: string;
|
|
562
562
|
readonly showIndexColumn: import("ll-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
563
563
|
readonly showOperate: import("ll-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"table.vue2.js","sources":["../../../../../packages/components/table/src/table.vue"],"sourcesContent":["<template>\n <a-spin :spinning=\"props.loading\" wrapper-class-name=\"ll-table-spin-wrapper\">\n <div :class=\"bem.b()\">\n <!-- 头部seach -->\n <header-search\n v-bind=\"headerSearchProps\"\n @change=\"handleSwitchMenuChange\"\n >\n <!-- header-slot -->\n <template #header>\n <slot name=\"header\" />\n </template>\n <slot name=\"header\"></slot>\n <!-- left-slot -->\n <template #headerLeft>\n <slot name=\"headerLeft\"></slot>\n </template>\n <!-- middle-slot -->\n <template #headerMiddle>\n <slot name=\"headerMiddle\"></slot>\n </template>\n <!-- right-slot -->\n <template #headerRight>\n <slot name=\"headerRight\"></slot>\n </template>\n </header-search>\n <!-- slot-content table和card默认table -->\n <div\n :class=\"[\n bem.m('fixed-height'),\n !newNaTableptions.dataSource!.length ? bem.m('empty') : ''\n ]\"\n >\n <slot :name=\"contentType\">\n <main-table\n v-bind=\"newNaTableptions\"\n @handle-change-data-source=\"handleChangeDataSource\"\n >\n <!-- tableHeaderCell-slot -->\n <template #tableHeaderCell=\"slots\">\n <slot name=\"tableHeaderCell\" v-bind=\"slots\"></slot>\n </template>\n <!-- tableBodyCell-slot -->\n <template #tableBodyCell=\"slots\">\n <slot name=\"tableBodyCell\" v-bind=\"slots\"></slot>\n </template>\n <!--tableOperate-slot -->\n <template #tableOperate=\"slots\">\n <slot name=\"tableOperate\" v-bind=\"slots\"></slot>\n </template>\n <!-- tableRowExpand-slot -->\n <template v-if=\"$slots.expandedRow\" #expandedRow=\"slots\">\n <slot name=\"expandedRow\" v-bind=\"slots\"></slot>\n </template>\n <!-- expandColumnTitle-slot -->\n <template #expandedTitle>\n <slot name=\"expandedTitle\"> </slot>\n </template>\n <!-- empty-slot -->\n <template #emptyText>\n <slot name=\"emptyText\"></slot>\n </template>\n <!-- customFilterDropdown-slot -->\n <template\n v-if=\"$slots.customFilterDropdown\"\n #customFilterDropdown=\"slots\"\n >\n <slot name=\"customFilterDropdown\" v-bind=\"slots\"></slot>\n </template>\n <!-- customFilterIcon-slot -->\n <template v-if=\"$slots.customFilterIcon\" #customFilterIcon=\"slots\">\n <slot name=\"customFilterIcon\" v-bind=\"slots\"></slot>\n </template>\n <!-- summary-slot -->\n <template v-if=\"$slots.summary\" #summary=\"slots\">\n <slot name=\"summary\" v-bind=\"slots\"></slot>\n </template>\n </main-table>\n </slot>\n </div>\n <!-- 底部分页 -->\n <template\n v-if=\"\n newNaTableptions.dataSource!.length &&\n !newNaTableptions.hiddenPagination\n \"\n >\n <pagination v-bind=\"paginationProps\" />\n </template>\n </div>\n </a-spin>\n</template>\n<script lang=\"ts\" setup>\nimport { ref, watch, provide } from 'vue'\n\nimport { ImenuSwitchType } from './config'\nimport { createNamespace } from '@ll-plus/utils'\n\nimport HeaderSearch from './components/header-search.vue'\nimport MainTable from './components/main-table.vue'\nimport Pagination from './components/pagination.vue'\n\nimport { tableProps } from './config'\n\n// 1.defineOptions\ndefineOptions({ name: 'LlTable' })\n\n// 2.props\nconst props = defineProps(tableProps)\n// 3.ref\n// 表格数据\nconst originDataSource = ref()\nconst newNaTableptions = ref<any>({\n dataSource: [],\n columns: []\n})\n// 菜单切换/内容插槽\nconst contentType = ref(ImenuSwitchType.TABLE) // 菜单切换\nconst bem = createNamespace('table')\n\n// 4.methods\n// 拖拽完成后获取拖拽后的数据\nconst handleChangeDataSource = (dataSource: any[]) => {\n newNaTableptions.value.dataSource = dataSource\n}\n// 切换菜单内容\nconst handleSwitchMenuChange = (v: ImenuSwitchType) => {\n contentType.value = v\n}\n\n// 5.watch\nwatch(\n () => props.tableProps,\n (newValue: any) => {\n if (newValue) {\n newNaTableptions.value = { ...newValue }\n originDataSource.value = [...newValue.dataSource]\n }\n },\n {\n deep: true,\n immediate: true\n }\n)\n// 6.其他\nprovide('contentType', contentType)\n</script>\n"],"names":["ref","ImenuSwitchType","createNamespace","watch","provide"],"mappings":";;;;;;;;;;;;;;;;;;;;AA4GA,IAAA,MAAM,KAAQ,GAAA,OAAA,CAAA;AAGd,IAAA,MAAM,mBAAmBA,OAAI,EAAA,CAAA;AAC7B,IAAA,MAAM,mBAAmBA,OAAS,CAAA;AAAA,MAChC,YAAY,EAAC;AAAA,MACb,SAAS,EAAC;AAAA,KACX,CAAA,CAAA;AAED,IAAM,MAAA,WAAA,GAAcA,OAAI,CAAAC,4BAAA,CAAgB,KAAK,CAAA,CAAA;AAC7C,IAAM,MAAA,GAAA,GAAMC,gCAAgB,OAAO,CAAA,CAAA;AAInC,IAAM,MAAA,sBAAA,GAAyB,CAAC,UAAsB,KAAA;AACpD,MAAA,gBAAA,CAAiB,MAAM,UAAa,GAAA,UAAA,CAAA;AAAA,KACtC,CAAA;AAEA,IAAM,MAAA,sBAAA,GAAyB,CAAC,CAAuB,KAAA;AACrD,MAAA,WAAA,CAAY,KAAQ,GAAA,CAAA,CAAA;AAAA,KACtB,CAAA;AAGA,IAAAC,SAAA;AAAA,MACE,MAAM,KAAM,CAAA,UAAA;AAAA,MACZ,CAAC,QAAkB,KAAA;AACjB,QAAA,IAAI,QAAU,EAAA;AACZ,UAAiB,gBAAA,CAAA,KAAA,GAAQ,EAAE,GAAG,QAAS,EAAA,CAAA;AACvC,UAAA,gBAAA,CAAiB,KAAQ,GAAA,CAAC,GAAG,QAAA,CAAS,UAAU,CAAA,CAAA;AAAA,
|
|
1
|
+
{"version":3,"file":"table.vue2.js","sources":["../../../../../packages/components/table/src/table.vue"],"sourcesContent":["<template>\n <a-spin :spinning=\"props.loading\" wrapper-class-name=\"ll-table-spin-wrapper\">\n <div :class=\"bem.b()\">\n <!-- 头部seach -->\n <header-search\n v-bind=\"headerSearchProps\"\n @change=\"handleSwitchMenuChange\"\n >\n <!-- header-slot -->\n <template #header>\n <slot name=\"header\" />\n </template>\n <slot name=\"header\"></slot>\n <!-- left-slot -->\n <template #headerLeft>\n <slot name=\"headerLeft\"></slot>\n </template>\n <!-- middle-slot -->\n <template #headerMiddle>\n <slot name=\"headerMiddle\"></slot>\n </template>\n <!-- right-slot -->\n <template #headerRight>\n <slot name=\"headerRight\"></slot>\n </template>\n </header-search>\n <!-- slot-content table和card默认table -->\n <div\n :class=\"[\n bem.m('fixed-height'),\n !newNaTableptions.dataSource!.length ? bem.m('empty') : ''\n ]\"\n >\n <slot :name=\"contentType\">\n <main-table\n v-bind=\"newNaTableptions\"\n @handle-change-data-source=\"handleChangeDataSource\"\n >\n <!-- tableHeaderCell-slot -->\n <template #tableHeaderCell=\"slots\">\n <slot name=\"tableHeaderCell\" v-bind=\"slots\"></slot>\n </template>\n <!-- tableBodyCell-slot -->\n <template #tableBodyCell=\"slots\">\n <slot name=\"tableBodyCell\" v-bind=\"slots\"></slot>\n </template>\n <!--tableOperate-slot -->\n <template #tableOperate=\"slots\">\n <slot name=\"tableOperate\" v-bind=\"slots\"></slot>\n </template>\n <!-- tableRowExpand-slot -->\n <template v-if=\"$slots.expandedRow\" #expandedRow=\"slots\">\n <slot name=\"expandedRow\" v-bind=\"slots\"></slot>\n </template>\n <!-- expandColumnTitle-slot -->\n <template #expandedTitle>\n <slot name=\"expandedTitle\"> </slot>\n </template>\n <!-- empty-slot -->\n <template #emptyText>\n <slot name=\"emptyText\"></slot>\n </template>\n <!-- customFilterDropdown-slot -->\n <template\n v-if=\"$slots.customFilterDropdown\"\n #customFilterDropdown=\"slots\"\n >\n <slot name=\"customFilterDropdown\" v-bind=\"slots\"></slot>\n </template>\n <!-- customFilterIcon-slot -->\n <template v-if=\"$slots.customFilterIcon\" #customFilterIcon=\"slots\">\n <slot name=\"customFilterIcon\" v-bind=\"slots\"></slot>\n </template>\n <!-- summary-slot -->\n <template v-if=\"$slots.summary\" #summary=\"slots\">\n <slot name=\"summary\" v-bind=\"slots\"></slot>\n </template>\n </main-table>\n </slot>\n </div>\n <!-- 底部分页 -->\n <template\n v-if=\"\n newNaTableptions.dataSource!.length &&\n !newNaTableptions.hiddenPagination\n \"\n >\n <pagination v-bind=\"paginationProps\" />\n </template>\n </div>\n </a-spin>\n</template>\n<script lang=\"ts\" setup>\nimport { ref, watch, provide } from 'vue'\n\nimport { ImenuSwitchType } from './config'\nimport { createNamespace } from '@ll-plus/utils'\n\nimport HeaderSearch from './components/header-search.vue'\nimport MainTable from './components/main-table.vue'\nimport Pagination from './components/pagination.vue'\n\nimport { tableProps } from './config'\n\n// 1.defineOptions\ndefineOptions({ name: 'LlTable' })\n\n// 2.props\nconst props = defineProps(tableProps)\n// 3.ref\n// 表格数据\nconst originDataSource = ref()\nconst newNaTableptions = ref<any>({\n dataSource: [],\n columns: []\n})\n// 菜单切换/内容插槽\nconst contentType = ref(ImenuSwitchType.TABLE) // 菜单切换\nconst bem = createNamespace('table')\n\n// 4.methods\n// 拖拽完成后获取拖拽后的数据\nconst handleChangeDataSource = (dataSource: any[]) => {\n newNaTableptions.value.dataSource = dataSource\n}\n// 切换菜单内容\nconst handleSwitchMenuChange = (v: ImenuSwitchType) => {\n contentType.value = v\n}\n\n// 5.watch\nwatch(\n () => props.tableProps,\n (newValue: any) => {\n if (newValue) {\n newNaTableptions.value = { ...newValue }\n originDataSource.value = [...newValue.dataSource]\n contentType.value = newNaTableptions.value.contentType\n }\n },\n {\n deep: true,\n immediate: true\n }\n)\n// 6.其他\nprovide('contentType', contentType)\n</script>\n"],"names":["ref","ImenuSwitchType","createNamespace","watch","provide"],"mappings":";;;;;;;;;;;;;;;;;;;;AA4GA,IAAA,MAAM,KAAQ,GAAA,OAAA,CAAA;AAGd,IAAA,MAAM,mBAAmBA,OAAI,EAAA,CAAA;AAC7B,IAAA,MAAM,mBAAmBA,OAAS,CAAA;AAAA,MAChC,YAAY,EAAC;AAAA,MACb,SAAS,EAAC;AAAA,KACX,CAAA,CAAA;AAED,IAAM,MAAA,WAAA,GAAcA,OAAI,CAAAC,4BAAA,CAAgB,KAAK,CAAA,CAAA;AAC7C,IAAM,MAAA,GAAA,GAAMC,gCAAgB,OAAO,CAAA,CAAA;AAInC,IAAM,MAAA,sBAAA,GAAyB,CAAC,UAAsB,KAAA;AACpD,MAAA,gBAAA,CAAiB,MAAM,UAAa,GAAA,UAAA,CAAA;AAAA,KACtC,CAAA;AAEA,IAAM,MAAA,sBAAA,GAAyB,CAAC,CAAuB,KAAA;AACrD,MAAA,WAAA,CAAY,KAAQ,GAAA,CAAA,CAAA;AAAA,KACtB,CAAA;AAGA,IAAAC,SAAA;AAAA,MACE,MAAM,KAAM,CAAA,UAAA;AAAA,MACZ,CAAC,QAAkB,KAAA;AACjB,QAAA,IAAI,QAAU,EAAA;AACZ,UAAiB,gBAAA,CAAA,KAAA,GAAQ,EAAE,GAAG,QAAS,EAAA,CAAA;AACvC,UAAA,gBAAA,CAAiB,KAAQ,GAAA,CAAC,GAAG,QAAA,CAAS,UAAU,CAAA,CAAA;AAChD,UAAY,WAAA,CAAA,KAAA,GAAQ,iBAAiB,KAAM,CAAA,WAAA,CAAA;AAAA,SAC7C;AAAA,OACF;AAAA,MACA;AAAA,QACE,IAAM,EAAA,IAAA;AAAA,QACN,SAAW,EAAA,IAAA;AAAA,OACb;AAAA,KACF,CAAA;AAEA,IAAAC,WAAA,CAAQ,eAAe,WAAW,CAAA,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
package/lib/index.js
CHANGED
|
@@ -269,6 +269,7 @@ exports.tableHeaderSearchEmits = headerSearch.tableHeaderSearchEmits;
|
|
|
269
269
|
exports.tableHeaderSearchProps = headerSearch.tableHeaderSearchProps;
|
|
270
270
|
exports.mainTableEmits = mainTable.mainTableEmits;
|
|
271
271
|
exports.mainTableProps = mainTable.mainTableProps;
|
|
272
|
+
exports.tableContentType = mainTable.tableContentType;
|
|
272
273
|
exports.tablePaginationProps = pagination.tablePaginationProps;
|
|
273
274
|
exports.tableProps = table$1.tableProps;
|
|
274
275
|
exports.LlTable = index$z.LlTable;
|
package/lib/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sources":["../../packages/ll-plus/index.ts"],"sourcesContent":["import installer from './defaults'\n// 按需导入 import {ZIcon} from 'll-plus'\nexport * from '@ll-plus/components/index'\n\nexport const install = installer.install\nexport default installer\n"],"names":["installer"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAIO,MAAM,UAAUA,gBAAU,CAAA
|
|
1
|
+
{"version":3,"file":"index.js","sources":["../../packages/ll-plus/index.ts"],"sourcesContent":["import installer from './defaults'\n// 按需导入 import {ZIcon} from 'll-plus'\nexport * from '@ll-plus/components/index'\n\nexport const install = installer.install\nexport default installer\n"],"names":["installer"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAIO,MAAM,UAAUA,gBAAU,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -27,6 +27,6 @@ export declare const buildProp: <Type = never, Value = never, Validator = never,
|
|
|
27
27
|
export type TestProps = Record<string, {
|
|
28
28
|
[epPropKey]: true;
|
|
29
29
|
} | NativePropType | EpPropInput<any, any, any, any, any>>;
|
|
30
|
-
export declare const buildProps: <Props extends Record<string,
|
|
30
|
+
export declare const buildProps: <Props extends Record<string, {
|
|
31
31
|
__epPropKey: true;
|
|
32
|
-
}
|
|
32
|
+
} | NativePropType | EpPropInput<any, any, any, any, any>>>(props: Props) => { [K in keyof Props]: IfEpProp<Props[K], Props[K], IfNativePropType<Props[K], Props[K], EpPropConvert<Props[K]>>>; };
|
package/package.json
CHANGED
|
@@ -9,7 +9,7 @@ export declare const LlTable: import("ll-plus/es/utils").SFCWithInstall<import("
|
|
|
9
9
|
readonly tableProps: import("ll-plus/es/utils").EpPropFinalized<(new (...args: any[]) => {
|
|
10
10
|
readonly columns: import("ant-design-vue").TableColumnProps[];
|
|
11
11
|
readonly dataSource: any[];
|
|
12
|
-
readonly contentType:
|
|
12
|
+
readonly contentType: import("ll-plus/es/utils").EpPropMergeType<StringConstructor, "card" | "table", unknown>;
|
|
13
13
|
readonly settingKey: string;
|
|
14
14
|
readonly showIndexColumn: import("ll-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
15
15
|
readonly showOperate: import("ll-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
@@ -28,7 +28,7 @@ export declare const LlTable: import("ll-plus/es/utils").SFCWithInstall<import("
|
|
|
28
28
|
}) | (() => import("./src/config").MainTableProps) | ((new (...args: any[]) => {
|
|
29
29
|
readonly columns: import("ant-design-vue").TableColumnProps[];
|
|
30
30
|
readonly dataSource: any[];
|
|
31
|
-
readonly contentType:
|
|
31
|
+
readonly contentType: import("ll-plus/es/utils").EpPropMergeType<StringConstructor, "card" | "table", unknown>;
|
|
32
32
|
readonly settingKey: string;
|
|
33
33
|
readonly showIndexColumn: import("ll-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
34
34
|
readonly showOperate: import("ll-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
@@ -179,7 +179,7 @@ export declare const LlTable: import("ll-plus/es/utils").SFCWithInstall<import("
|
|
|
179
179
|
readonly menuSwitchOptions: import("./src/config").IMenuSwitchOptions;
|
|
180
180
|
}, {}>;
|
|
181
181
|
MainTable: import("vue").DefineComponent<{
|
|
182
|
-
readonly contentType: import("ll-plus/es/utils").EpPropFinalized<StringConstructor,
|
|
182
|
+
readonly contentType: import("ll-plus/es/utils").EpPropFinalized<StringConstructor, "card" | "table", unknown, "table", boolean>;
|
|
183
183
|
readonly settingKey: import("ll-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
184
184
|
readonly columns: import("ll-plus/es/utils").EpPropFinalized<(new (...args: any[]) => import("ant-design-vue").TableColumnProps[]) | (() => import("ant-design-vue").TableColumnProps[]) | ((new (...args: any[]) => import("ant-design-vue").TableColumnProps[]) | (() => import("ant-design-vue").TableColumnProps[]))[], unknown, unknown, () => never[], boolean>;
|
|
185
185
|
readonly dataSource: import("ll-plus/es/utils").EpPropFinalized<(new (...args: any[]) => any[]) | (() => any[]) | ((new (...args: any[]) => any[]) | (() => any[]))[], unknown, unknown, () => never[], boolean>;
|
|
@@ -250,7 +250,7 @@ export declare const LlTable: import("ll-plus/es/utils").SFCWithInstall<import("
|
|
|
250
250
|
props: import("@vue/shared").LooseRequired<{
|
|
251
251
|
readonly columns: import("ant-design-vue").TableColumnProps[];
|
|
252
252
|
readonly dataSource: any[];
|
|
253
|
-
readonly contentType:
|
|
253
|
+
readonly contentType: import("ll-plus/es/utils").EpPropMergeType<StringConstructor, "card" | "table", unknown>;
|
|
254
254
|
readonly settingKey: string;
|
|
255
255
|
readonly showIndexColumn: import("ll-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
256
256
|
readonly showOperate: import("ll-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
@@ -378,7 +378,7 @@ export declare const LlTable: import("ll-plus/es/utils").SFCWithInstall<import("
|
|
|
378
378
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
379
379
|
handleChangeDataSource: (dataSource: any[]) => boolean;
|
|
380
380
|
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
381
|
-
readonly contentType: import("ll-plus/es/utils").EpPropFinalized<StringConstructor,
|
|
381
|
+
readonly contentType: import("ll-plus/es/utils").EpPropFinalized<StringConstructor, "card" | "table", unknown, "table", boolean>;
|
|
382
382
|
readonly settingKey: import("ll-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
383
383
|
readonly columns: import("ll-plus/es/utils").EpPropFinalized<(new (...args: any[]) => import("ant-design-vue").TableColumnProps[]) | (() => import("ant-design-vue").TableColumnProps[]) | ((new (...args: any[]) => import("ant-design-vue").TableColumnProps[]) | (() => import("ant-design-vue").TableColumnProps[]))[], unknown, unknown, () => never[], boolean>;
|
|
384
384
|
readonly dataSource: import("ll-plus/es/utils").EpPropFinalized<(new (...args: any[]) => any[]) | (() => any[]) | ((new (...args: any[]) => any[]) | (() => any[]))[], unknown, unknown, () => never[], boolean>;
|
|
@@ -450,7 +450,7 @@ export declare const LlTable: import("ll-plus/es/utils").SFCWithInstall<import("
|
|
|
450
450
|
}, {
|
|
451
451
|
readonly columns: import("ant-design-vue").TableColumnProps[];
|
|
452
452
|
readonly dataSource: any[];
|
|
453
|
-
readonly contentType:
|
|
453
|
+
readonly contentType: import("ll-plus/es/utils").EpPropMergeType<StringConstructor, "card" | "table", unknown>;
|
|
454
454
|
readonly settingKey: string;
|
|
455
455
|
readonly showIndexColumn: import("ll-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
456
456
|
readonly showOperate: import("ll-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
@@ -538,7 +538,7 @@ export declare const LlTable: import("ll-plus/es/utils").SFCWithInstall<import("
|
|
|
538
538
|
readonly tableProps: import("ll-plus/es/utils").EpPropFinalized<(new (...args: any[]) => {
|
|
539
539
|
readonly columns: import("ant-design-vue").TableColumnProps[];
|
|
540
540
|
readonly dataSource: any[];
|
|
541
|
-
readonly contentType:
|
|
541
|
+
readonly contentType: import("ll-plus/es/utils").EpPropMergeType<StringConstructor, "card" | "table", unknown>;
|
|
542
542
|
readonly settingKey: string;
|
|
543
543
|
readonly showIndexColumn: import("ll-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
544
544
|
readonly showOperate: import("ll-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
@@ -557,7 +557,7 @@ export declare const LlTable: import("ll-plus/es/utils").SFCWithInstall<import("
|
|
|
557
557
|
}) | (() => import("./src/config").MainTableProps) | ((new (...args: any[]) => {
|
|
558
558
|
readonly columns: import("ant-design-vue").TableColumnProps[];
|
|
559
559
|
readonly dataSource: any[];
|
|
560
|
-
readonly contentType:
|
|
560
|
+
readonly contentType: import("ll-plus/es/utils").EpPropMergeType<StringConstructor, "card" | "table", unknown>;
|
|
561
561
|
readonly settingKey: string;
|
|
562
562
|
readonly showIndexColumn: import("ll-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
563
563
|
readonly showOperate: import("ll-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
declare const _default: import("vue").DefineComponent<{
|
|
2
|
-
readonly contentType: import("ll-plus/es/utils").EpPropFinalized<StringConstructor,
|
|
2
|
+
readonly contentType: import("ll-plus/es/utils").EpPropFinalized<StringConstructor, "card" | "table", unknown, "table", boolean>;
|
|
3
3
|
readonly settingKey: import("ll-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
4
4
|
readonly columns: import("ll-plus/es/utils").EpPropFinalized<(new (...args: any[]) => import("ant-design-vue").TableColumnProps[]) | (() => import("ant-design-vue").TableColumnProps[]) | ((new (...args: any[]) => import("ant-design-vue").TableColumnProps[]) | (() => import("ant-design-vue").TableColumnProps[]))[], unknown, unknown, () => never[], boolean>;
|
|
5
5
|
readonly dataSource: import("ll-plus/es/utils").EpPropFinalized<(new (...args: any[]) => any[]) | (() => any[]) | ((new (...args: any[]) => any[]) | (() => any[]))[], unknown, unknown, () => never[], boolean>;
|
|
@@ -70,7 +70,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
70
70
|
props: import("@vue/shared").LooseRequired<{
|
|
71
71
|
readonly columns: import("ant-design-vue").TableColumnProps[];
|
|
72
72
|
readonly dataSource: any[];
|
|
73
|
-
readonly contentType:
|
|
73
|
+
readonly contentType: import("ll-plus/es/utils").EpPropMergeType<StringConstructor, "card" | "table", unknown>;
|
|
74
74
|
readonly settingKey: string;
|
|
75
75
|
readonly showIndexColumn: import("ll-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
76
76
|
readonly showOperate: import("ll-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
@@ -198,7 +198,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
198
198
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
199
199
|
handleChangeDataSource: (dataSource: any[]) => boolean;
|
|
200
200
|
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
201
|
-
readonly contentType: import("ll-plus/es/utils").EpPropFinalized<StringConstructor,
|
|
201
|
+
readonly contentType: import("ll-plus/es/utils").EpPropFinalized<StringConstructor, "card" | "table", unknown, "table", boolean>;
|
|
202
202
|
readonly settingKey: import("ll-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
203
203
|
readonly columns: import("ll-plus/es/utils").EpPropFinalized<(new (...args: any[]) => import("ant-design-vue").TableColumnProps[]) | (() => import("ant-design-vue").TableColumnProps[]) | ((new (...args: any[]) => import("ant-design-vue").TableColumnProps[]) | (() => import("ant-design-vue").TableColumnProps[]))[], unknown, unknown, () => never[], boolean>;
|
|
204
204
|
readonly dataSource: import("ll-plus/es/utils").EpPropFinalized<(new (...args: any[]) => any[]) | (() => any[]) | ((new (...args: any[]) => any[]) | (() => any[]))[], unknown, unknown, () => never[], boolean>;
|
|
@@ -270,7 +270,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
270
270
|
}, {
|
|
271
271
|
readonly columns: import("ant-design-vue").TableColumnProps[];
|
|
272
272
|
readonly dataSource: any[];
|
|
273
|
-
readonly contentType:
|
|
273
|
+
readonly contentType: import("ll-plus/es/utils").EpPropMergeType<StringConstructor, "card" | "table", unknown>;
|
|
274
274
|
readonly settingKey: string;
|
|
275
275
|
readonly showIndexColumn: import("ll-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
276
276
|
readonly showOperate: import("ll-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
@@ -5,8 +5,9 @@ export interface ITableScroll {
|
|
|
5
5
|
x: number | string | boolean;
|
|
6
6
|
y: number | string;
|
|
7
7
|
}
|
|
8
|
+
export declare const tableContentType: readonly ["table", "card"];
|
|
8
9
|
export declare const mainTableProps: {
|
|
9
|
-
readonly contentType: import("ll-plus/es/utils").EpPropFinalized<StringConstructor,
|
|
10
|
+
readonly contentType: import("ll-plus/es/utils").EpPropFinalized<StringConstructor, "card" | "table", unknown, "table", boolean>;
|
|
10
11
|
readonly settingKey: import("ll-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
11
12
|
readonly columns: import("ll-plus/es/utils").EpPropFinalized<(new (...args: any[]) => TableColumnProps[]) | (() => TableColumnProps[]) | ((new (...args: any[]) => TableColumnProps[]) | (() => TableColumnProps[]))[], unknown, unknown, () => never[], boolean>;
|
|
12
13
|
readonly dataSource: import("ll-plus/es/utils").EpPropFinalized<(new (...args: any[]) => any[]) | (() => any[]) | ((new (...args: any[]) => any[]) | (() => any[]))[], unknown, unknown, () => never[], boolean>;
|
|
@@ -11,7 +11,7 @@ export declare const tableProps: {
|
|
|
11
11
|
readonly tableProps: import("ll-plus/es/utils").EpPropFinalized<(new (...args: any[]) => {
|
|
12
12
|
readonly columns: import("ant-design-vue").TableColumnProps[];
|
|
13
13
|
readonly dataSource: any[];
|
|
14
|
-
readonly contentType:
|
|
14
|
+
readonly contentType: import("ll-plus/es/utils").EpPropMergeType<StringConstructor, "card" | "table", unknown>;
|
|
15
15
|
readonly settingKey: string;
|
|
16
16
|
readonly showIndexColumn: import("ll-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
17
17
|
readonly showOperate: import("ll-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
@@ -30,7 +30,7 @@ export declare const tableProps: {
|
|
|
30
30
|
}) | (() => MainTableProps) | ((new (...args: any[]) => {
|
|
31
31
|
readonly columns: import("ant-design-vue").TableColumnProps[];
|
|
32
32
|
readonly dataSource: any[];
|
|
33
|
-
readonly contentType:
|
|
33
|
+
readonly contentType: import("ll-plus/es/utils").EpPropMergeType<StringConstructor, "card" | "table", unknown>;
|
|
34
34
|
readonly settingKey: string;
|
|
35
35
|
readonly showIndexColumn: import("ll-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
36
36
|
readonly showOperate: import("ll-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|