ll-plus 2.1.0 → 2.1.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/es/components/advanced-filtering/index.d.ts +2 -0
- package/es/components/advanced-filtering/src/advanced-filtering.vue.d.ts +1 -0
- package/es/components/advanced-filtering/src/components/advanced-filtering-params.vue.d.ts +1 -0
- package/es/components/drawer/src/drawer.vue2.mjs +0 -1
- package/es/components/drawer/src/drawer.vue2.mjs.map +1 -1
- package/es/components/form/index.d.ts +2 -1
- package/es/components/form/index.mjs +3 -1
- package/es/components/form/index.mjs.map +1 -1
- package/es/components/form/src/config/components.d.ts +1 -0
- package/es/components/form/src/config/components.mjs +5 -0
- package/es/components/form/src/config/components.mjs.map +1 -0
- package/es/components/form/src/{form.d.ts → config/form.d.ts} +15 -7
- package/es/components/form/src/{form.mjs → config/form.mjs} +2 -2
- package/es/components/form/src/config/form.mjs.map +1 -0
- package/es/components/form/src/config/index.d.ts +2 -0
- package/es/components/form/src/config/index.mjs +5 -0
- package/es/components/form/src/config/index.mjs.map +1 -0
- package/es/components/form/src/form.vue.d.ts +2 -1
- package/es/components/form/src/form.vue2.mjs +11 -2
- package/es/components/form/src/form.vue2.mjs.map +1 -1
- package/es/components/index.mjs +2 -1
- package/es/components/index.mjs.map +1 -1
- package/es/components/table/index.d.ts +8 -17
- package/es/components/table/src/components/main-table.vue.d.ts +4 -13
- package/es/components/table/src/config/main-table.d.ts +1 -6
- package/es/components/table/src/config/main-table.mjs +2 -1
- 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 -17
- package/es/index.mjs +2 -1
- package/es/index.mjs.map +1 -1
- package/index.full.js +13 -3
- package/index.full.min.js +10 -10
- package/index.full.min.js.map +1 -1
- package/index.full.min.mjs +10 -10
- package/index.full.min.mjs.map +1 -1
- package/index.full.mjs +13 -4
- package/lib/components/advanced-filtering/index.d.ts +2 -0
- package/lib/components/advanced-filtering/src/advanced-filtering.vue.d.ts +1 -0
- package/lib/components/advanced-filtering/src/components/advanced-filtering-params.vue.d.ts +1 -0
- package/lib/components/drawer/src/drawer.vue2.js +0 -1
- package/lib/components/drawer/src/drawer.vue2.js.map +1 -1
- package/lib/components/form/index.d.ts +2 -1
- package/lib/components/form/index.js +4 -1
- package/lib/components/form/index.js.map +1 -1
- package/lib/components/form/src/config/components.d.ts +1 -0
- package/lib/components/form/src/config/components.js +7 -0
- package/lib/components/form/src/config/components.js.map +1 -0
- package/{types/packages/components/form/src → lib/components/form/src/config}/form.d.ts +15 -7
- package/lib/components/form/src/{form.js → config/form.js} +2 -2
- package/lib/components/form/src/config/form.js.map +1 -0
- package/lib/components/form/src/config/index.d.ts +2 -0
- package/lib/components/form/src/config/index.js +10 -0
- package/lib/components/form/src/config/index.js.map +1 -0
- package/lib/components/form/src/form.vue.d.ts +2 -1
- package/lib/components/form/src/form.vue2.js +11 -2
- package/lib/components/form/src/form.vue2.js.map +1 -1
- package/lib/components/index.js +3 -1
- package/lib/components/index.js.map +1 -1
- package/lib/components/table/index.d.ts +8 -17
- package/lib/components/table/src/components/main-table.vue.d.ts +4 -13
- package/lib/components/table/src/config/main-table.d.ts +1 -6
- package/lib/components/table/src/config/main-table.js +2 -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 -17
- package/lib/index.js +3 -1
- package/lib/index.js.map +1 -1
- package/package.json +1 -1
- package/theme-chalk/css/button.css +1 -1
- package/theme-chalk/css/index.css +1 -1
- package/theme-chalk/fonts/iconfont.js +1 -1
- package/theme-chalk/fonts/iconfont.json +7 -0
- package/types/packages/components/advanced-filtering/index.d.ts +2 -0
- package/types/packages/components/advanced-filtering/src/advanced-filtering.vue.d.ts +1 -0
- package/types/packages/components/advanced-filtering/src/components/advanced-filtering-params.vue.d.ts +1 -0
- package/types/packages/components/form/index.d.ts +2 -1
- package/types/packages/components/form/src/config/components.d.ts +1 -0
- package/{lib/components/form/src → types/packages/components/form/src/config}/form.d.ts +15 -7
- package/types/packages/components/form/src/config/index.d.ts +2 -0
- package/types/packages/components/form/src/form.vue.d.ts +2 -1
- package/types/packages/components/table/index.d.ts +8 -17
- package/types/packages/components/table/src/components/main-table.vue.d.ts +4 -13
- package/types/packages/components/table/src/config/main-table.d.ts +1 -6
- package/types/packages/components/table/src/config/table.d.ts +2 -2
- package/types/packages/components/table/src/table.vue.d.ts +8 -17
- package/es/components/form/src/form.mjs.map +0 -1
- package/lib/components/form/src/form.js.map +0 -1
|
@@ -4125,6 +4125,7 @@ export declare const LlAdvancedFiltering: import("ll-plus/es/utils").SFCWithInst
|
|
|
4125
4125
|
resetFields: () => Promise<any>;
|
|
4126
4126
|
getBindValue: (item: any) => import("lodash").Omit<any, "label">;
|
|
4127
4127
|
getFormItemClass: (item?: any) => string;
|
|
4128
|
+
readonly checkedType: string[];
|
|
4128
4129
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
4129
4130
|
readonly formColumns: import("ll-plus/es/utils").EpPropFinalized<(new (...args: any[]) => any[]) | (() => any[]) | ((new (...args: any[]) => any[]) | (() => any[]))[], unknown, unknown, () => never[], boolean>;
|
|
4130
4131
|
readonly formOptions: import("ll-plus/es/utils").EpPropFinalized<(new (...args: any[]) => Partial<import("vue").ExtractPropTypes<{
|
|
@@ -12596,6 +12597,7 @@ export declare const LlAdvancedFilteringParams: import("ll-plus/es/utils").SFCWi
|
|
|
12596
12597
|
resetFields: () => Promise<any>;
|
|
12597
12598
|
getBindValue: (item: any) => import("lodash").Omit<any, "label">;
|
|
12598
12599
|
getFormItemClass: (item?: any) => string;
|
|
12600
|
+
readonly checkedType: string[];
|
|
12599
12601
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
12600
12602
|
readonly formColumns: import("ll-plus/es/utils").EpPropFinalized<(new (...args: any[]) => any[]) | (() => any[]) | ((new (...args: any[]) => any[]) | (() => any[]))[], unknown, unknown, () => never[], boolean>;
|
|
12601
12603
|
readonly formOptions: import("ll-plus/es/utils").EpPropFinalized<(new (...args: any[]) => Partial<import("vue").ExtractPropTypes<{
|
|
@@ -4122,6 +4122,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
4122
4122
|
resetFields: () => Promise<any>;
|
|
4123
4123
|
getBindValue: (item: any) => import("lodash").Omit<any, "label">;
|
|
4124
4124
|
getFormItemClass: (item?: any) => string;
|
|
4125
|
+
readonly checkedType: string[];
|
|
4125
4126
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
4126
4127
|
readonly formColumns: import("ll-plus/es/utils").EpPropFinalized<(new (...args: any[]) => any[]) | (() => any[]) | ((new (...args: any[]) => any[]) | (() => any[]))[], unknown, unknown, () => never[], boolean>;
|
|
4127
4128
|
readonly formOptions: import("ll-plus/es/utils").EpPropFinalized<(new (...args: any[]) => Partial<import("vue").ExtractPropTypes<{
|
|
@@ -2534,6 +2534,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
2534
2534
|
resetFields: () => Promise<any>;
|
|
2535
2535
|
getBindValue: (item: any) => import("lodash").Omit<any, "label">;
|
|
2536
2536
|
getFormItemClass: (item?: any) => string;
|
|
2537
|
+
readonly checkedType: string[];
|
|
2537
2538
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
2538
2539
|
readonly formColumns: import("ll-plus/es/utils").EpPropFinalized<(new (...args: any[]) => any[]) | (() => any[]) | ((new (...args: any[]) => any[]) | (() => any[]))[], unknown, unknown, () => never[], boolean>;
|
|
2539
2540
|
readonly formOptions: import("ll-plus/es/utils").EpPropFinalized<(new (...args: any[]) => Partial<import("vue").ExtractPropTypes<{
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"drawer.vue2.mjs","sources":["../../../../../packages/components/drawer/src/drawer.vue"],"sourcesContent":["<template>\n <Drawer\n v-bind=\"getBindValue\"\n :title=\"props.title\"\n :open=\"props.open\"\n :root-class-name=\"bem.b()\"\n @close=\"handleClose\"\n >\n <template #title>\n <slot name=\"title\" />\n </template>\n <template #extra>\n <slot name=\"extra\" />\n </template>\n <div :class=\"bem.e('container')\">\n <div\n ref=\"content\"\n :style=\"{ marginBottom: props.showFooter ? '72px' : 0 }\"\n :class=\"[bem.e('content'), symbolClass]\"\n >\n <slot />\n </div>\n <div\n v-if=\"props.showFooter\"\n :class=\"[bem.e('footer'), hasScroll ? bem.is('has-scroll') : '']\"\n >\n <slot name=\"footer\">\n <div :class=\"bem.e('footer-left')\">\n <slot name=\"footer-left\" />\n </div>\n <div :class=\"bem.e('footer-right')\">\n <slot name=\"footer-right\">\n <ll-button\n v-if=\"showCancel\"\n :class=\"bem.m('cancel')\"\n :label=\"props.cancelText\"\n @click=\"handleCancel\"\n >\n </ll-button>\n <ll-button\n type=\"primary\"\n :loading=\"props.loading\"\n :label=\"props.confirmText\"\n @click=\"handleConfirm\"\n >\n </ll-button>\n </slot>\n </div>\n </slot>\n </div>\n </div>\n </Drawer>\n</template>\n\n<script setup lang=\"ts\">\nimport { ref, computed, watch, nextTick, useAttrs } from 'vue'\nimport { Drawer } from 'ant-design-vue'\nimport { createNamespace } from '@ll-plus/utils'\nimport { throttle, omit } from 'lodash-es'\nimport { drawerProps, drawerEmits, drawerOptions } from './drawer'\nimport { useSecondConfirmation } from './components/second-confirmation'\n\ndefineOptions({ name: 'LlDrawer' })\n\nconst props = defineProps(drawerProps)\n\nconst emits = defineEmits(drawerEmits)\n\nconst attrs = useAttrs()\n\nconst bem = createNamespace('drawer')\n\nconst content = ref<HTMLElement>()\n\nconst hasScroll = ref(false)\n\nconst symbolClass = ref(`ll-darwer-${new Date().getTime()}`)\n\nconst getBindValue = computed(() => ({\n ...drawerOptions,\n ...omit({ ...attrs }, [...Object.keys(drawerProps), 'rootClassName'])\n}))\n\nconst handleClose = (): void => {\n if (props.useClose) {\n
|
|
1
|
+
{"version":3,"file":"drawer.vue2.mjs","sources":["../../../../../packages/components/drawer/src/drawer.vue"],"sourcesContent":["<template>\n <Drawer\n v-bind=\"getBindValue\"\n :title=\"props.title\"\n :open=\"props.open\"\n :root-class-name=\"bem.b()\"\n @close=\"handleClose\"\n >\n <template #title>\n <slot name=\"title\" />\n </template>\n <template #extra>\n <slot name=\"extra\" />\n </template>\n <div :class=\"bem.e('container')\">\n <div\n ref=\"content\"\n :style=\"{ marginBottom: props.showFooter ? '72px' : 0 }\"\n :class=\"[bem.e('content'), symbolClass]\"\n >\n <slot />\n </div>\n <div\n v-if=\"props.showFooter\"\n :class=\"[bem.e('footer'), hasScroll ? bem.is('has-scroll') : '']\"\n >\n <slot name=\"footer\">\n <div :class=\"bem.e('footer-left')\">\n <slot name=\"footer-left\" />\n </div>\n <div :class=\"bem.e('footer-right')\">\n <slot name=\"footer-right\">\n <ll-button\n v-if=\"showCancel\"\n :class=\"bem.m('cancel')\"\n :label=\"props.cancelText\"\n @click=\"handleCancel\"\n >\n </ll-button>\n <ll-button\n type=\"primary\"\n :loading=\"props.loading\"\n :label=\"props.confirmText\"\n @click=\"handleConfirm\"\n >\n </ll-button>\n </slot>\n </div>\n </slot>\n </div>\n </div>\n </Drawer>\n</template>\n\n<script setup lang=\"ts\">\nimport { ref, computed, watch, nextTick, useAttrs } from 'vue'\nimport { Drawer } from 'ant-design-vue'\nimport { createNamespace } from '@ll-plus/utils'\nimport { throttle, omit } from 'lodash-es'\nimport { drawerProps, drawerEmits, drawerOptions } from './drawer'\nimport { useSecondConfirmation } from './components/second-confirmation'\n\ndefineOptions({ name: 'LlDrawer' })\n\nconst props = defineProps(drawerProps)\n\nconst emits = defineEmits(drawerEmits)\n\nconst attrs = useAttrs()\n\nconst bem = createNamespace('drawer')\n\nconst content = ref<HTMLElement>()\n\nconst hasScroll = ref(false)\n\nconst symbolClass = ref(`ll-darwer-${new Date().getTime()}`)\n\nconst getBindValue = computed(() => ({\n ...drawerOptions,\n ...omit({ ...attrs }, [...Object.keys(drawerProps), 'rootClassName'])\n}))\n\nconst handleClose = (): void => {\n if (props.useClose) {\n emits('close')\n } else {\n handleCancel()\n return\n }\n emits('update:open')\n}\nconst handleCancel = (): void => {\n if (props.cancelConfirm) {\n useSecondConfirmation(\n props.cancelConfirmOptions || {\n title: '温馨提示',\n message: '你有未保存的更改,确定关闭?'\n }\n ).then(async () => {\n // 点击保存按钮则关闭弹窗和抽屉\n emits('cancel')\n })\n return\n }\n emits('cancel')\n}\nconst handleConfirm = (): void => {\n emits('confirm')\n}\nconst handleResize = async () => {\n await nextTick()\n const ele = document.getElementsByClassName(symbolClass.value)[0]\n if (ele) {\n setTimeout(() => {\n hasScroll.value = ele.scrollHeight > ele.clientHeight\n }, 0)\n }\n}\nwatch(\n () => props.open,\n val => {\n if (val) {\n handleResize()\n window.addEventListener('resize', throttle(handleResize, 1000))\n } else {\n window.removeEventListener('resize', handleResize)\n }\n }\n)\n</script>\n"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAgEA,IAAA,MAAM,KAAQ,GAAA,OAAA,CAAA;AAEd,IAAA,MAAM,KAAQ,GAAA,MAAA,CAAA;AAEd,IAAA,MAAM,QAAQ,QAAS,EAAA,CAAA;AAEvB,IAAM,MAAA,GAAA,GAAM,gBAAgB,QAAQ,CAAA,CAAA;AAEpC,IAAA,MAAM,UAAU,GAAiB,EAAA,CAAA;AAEjC,IAAM,MAAA,SAAA,GAAY,IAAI,KAAK,CAAA,CAAA;AAE3B,IAAM,MAAA,WAAA,GAAc,IAAI,CAAa,UAAA,EAAA,iBAAA,IAAI,MAAO,EAAA,OAAA,EAAS,CAAE,CAAA,CAAA,CAAA;AAE3D,IAAM,MAAA,YAAA,GAAe,SAAS,OAAO;AAAA,MACnC,GAAG,aAAA;AAAA,MACH,GAAG,IAAA,CAAK,EAAE,GAAG,KAAM,EAAA,EAAG,CAAC,GAAG,MAAO,CAAA,IAAA,CAAK,WAAW,CAAA,EAAG,eAAe,CAAC,CAAA;AAAA,KACpE,CAAA,CAAA,CAAA;AAEF,IAAA,MAAM,cAAc,MAAY;AAC9B,MAAA,IAAI,MAAM,QAAU,EAAA;AAClB,QAAA,KAAA,CAAM,OAAO,CAAA,CAAA;AAAA,OACR,MAAA;AACL,QAAa,YAAA,EAAA,CAAA;AACb,QAAA,OAAA;AAAA,OACF;AACA,MAAA,KAAA,CAAM,aAAa,CAAA,CAAA;AAAA,KACrB,CAAA;AACA,IAAA,MAAM,eAAe,MAAY;AAC/B,MAAA,IAAI,MAAM,aAAe,EAAA;AACvB,QAAA,qBAAA;AAAA,UACE,MAAM,oBAAwB,IAAA;AAAA,YAC5B,KAAO,EAAA,0BAAA;AAAA,YACP,OAAS,EAAA,sFAAA;AAAA,WACX;AAAA,SACF,CAAE,KAAK,YAAY;AAEjB,UAAA,KAAA,CAAM,QAAQ,CAAA,CAAA;AAAA,SACf,CAAA,CAAA;AACD,QAAA,OAAA;AAAA,OACF;AACA,MAAA,KAAA,CAAM,QAAQ,CAAA,CAAA;AAAA,KAChB,CAAA;AACA,IAAA,MAAM,gBAAgB,MAAY;AAChC,MAAA,KAAA,CAAM,SAAS,CAAA,CAAA;AAAA,KACjB,CAAA;AACA,IAAA,MAAM,eAAe,YAAY;AAC/B,MAAA,MAAM,QAAS,EAAA,CAAA;AACf,MAAA,MAAM,MAAM,QAAS,CAAA,sBAAA,CAAuB,WAAY,CAAA,KAAK,EAAE,CAAC,CAAA,CAAA;AAChE,MAAA,IAAI,GAAK,EAAA;AACP,QAAA,UAAA,CAAW,MAAM;AACf,UAAU,SAAA,CAAA,KAAA,GAAQ,GAAI,CAAA,YAAA,GAAe,GAAI,CAAA,YAAA,CAAA;AAAA,WACxC,CAAC,CAAA,CAAA;AAAA,OACN;AAAA,KACF,CAAA;AACA,IAAA,KAAA;AAAA,MACE,MAAM,KAAM,CAAA,IAAA;AAAA,MACZ,CAAO,GAAA,KAAA;AACL,QAAA,IAAI,GAAK,EAAA;AACP,UAAa,YAAA,EAAA,CAAA;AACb,UAAA,MAAA,CAAO,gBAAiB,CAAA,QAAA,EAAU,QAAS,CAAA,YAAA,EAAc,GAAI,CAAC,CAAA,CAAA;AAAA,SACzD,MAAA;AACL,UAAO,MAAA,CAAA,mBAAA,CAAoB,UAAU,YAAY,CAAA,CAAA;AAAA,SACnD;AAAA,OACF;AAAA,KACF,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -1390,6 +1390,7 @@ export declare const LlForm: import("ll-plus/es/utils").SFCWithInstall<import("v
|
|
|
1390
1390
|
resetFields: () => Promise<any>;
|
|
1391
1391
|
getBindValue: (item: any) => import("lodash").Omit<any, "label">;
|
|
1392
1392
|
getFormItemClass: (item?: any) => string;
|
|
1393
|
+
readonly checkedType: string[];
|
|
1393
1394
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
1394
1395
|
readonly formColumns: import("ll-plus/es/utils").EpPropFinalized<(new (...args: any[]) => any[]) | (() => any[]) | ((new (...args: any[]) => any[]) | (() => any[]))[], unknown, unknown, () => never[], boolean>;
|
|
1395
1396
|
readonly formOptions: import("ll-plus/es/utils").EpPropFinalized<(new (...args: any[]) => Partial<import("vue").ExtractPropTypes<{
|
|
@@ -2763,7 +2764,7 @@ export declare const LlForm: import("ll-plus/es/utils").SFCWithInstall<import("v
|
|
|
2763
2764
|
};
|
|
2764
2765
|
}, {}>>;
|
|
2765
2766
|
export default LlForm;
|
|
2766
|
-
export * from './src/
|
|
2767
|
+
export * from './src/config';
|
|
2767
2768
|
declare module 'vue' {
|
|
2768
2769
|
interface GlobalComponents {
|
|
2769
2770
|
LlForm: typeof Form;
|
|
@@ -1,7 +1,9 @@
|
|
|
1
1
|
import '../../utils/index.mjs';
|
|
2
2
|
import Form from './src/form.vue.mjs';
|
|
3
|
-
|
|
3
|
+
import './src/config/index.mjs';
|
|
4
4
|
import { withInstall } from '../../utils/with-install.mjs';
|
|
5
|
+
export { formProps } from './src/config/form.mjs';
|
|
6
|
+
export { checkedType } from './src/config/components.mjs';
|
|
5
7
|
|
|
6
8
|
"use strict";
|
|
7
9
|
const LlForm = withInstall(Form);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.mjs","sources":["../../../../packages/components/form/index.ts"],"sourcesContent":["import { withInstall } from '@ll-plus/utils'\n\nimport Form from './src/form.vue'\n\nexport const LlForm = withInstall(Form)\nexport default LlForm\nexport * from './src/
|
|
1
|
+
{"version":3,"file":"index.mjs","sources":["../../../../packages/components/form/index.ts"],"sourcesContent":["import { withInstall } from '@ll-plus/utils'\n\nimport Form from './src/form.vue'\n\nexport const LlForm = withInstall(Form)\nexport default LlForm\nexport * from './src/config'\n\ndeclare module 'vue' {\n export interface GlobalComponents {\n LlForm: typeof Form\n }\n}\n"],"names":[],"mappings":";;;;;;;;AAIa,MAAA,MAAA,GAAS,YAAY,IAAI;;;;"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const checkedType: string[];
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"components.mjs","sources":["../../../../../../packages/components/form/src/config/components.ts"],"sourcesContent":["// import {\n// LlButton,\n// LlCascader,\n// LlCheckbox,\n// LlCheckboxGroup,\n// LlDatePicker,\n// LlDateRange,\n// LlInput,\n// LlInputNumber,\n// LlRadio,\n// LlRadioGroup,\n// LlSelect,\n// LlSwitch,\n// LlTextarea,\n// LlTimePicker,\n// LlTimeRange,\n// LlTreeSearch\n// } from '@ll-plus/components/index'\n\nexport const checkedType = ['radio', 'checkbox', 'switch']\n\n// export const componentTypes = {\n// button: LlButton,\n// cascader: LlCascader,\n// checkbox: LlCheckbox,\n// 'checked-group': LlCheckboxGroup,\n// 'date-picker': LlDatePicker,\n// 'date-ranger': LlDateRange\n// // input: LlInput,\n// // 'input-number': LlInputNumber\n// // radio: LlRadio\n// // 'radio-group': LlRadioGroup,\n// // select: LlSelect,\n// // switch: LlSwitch,\n// // textarea: LlTextarea,\n// // 'time-picker': LlTimePicker,\n// // 'time-range': LlTimeRange\n// // 'tree-search': LlTreeSearch\n// }\n"],"names":[],"mappings":";AAmBO,MAAM,WAAc,GAAA,CAAC,OAAS,EAAA,UAAA,EAAY,QAAQ;;;;"}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import type { ExtractPropTypes } from 'vue';
|
|
2
2
|
import type { FormItemProps, ColProps } from 'ant-design-vue';
|
|
3
|
-
import type { TooltipProps } from '
|
|
4
|
-
import type Form from '
|
|
5
|
-
type FormType<T = any> = ('input' | 'input-number' | 'cascader' | 'checkbox' | 'checkbox-
|
|
3
|
+
import type { TooltipProps } from 'll-plus/es/components';
|
|
4
|
+
import type Form from '../form.vue';
|
|
5
|
+
type FormType<T = any> = ('input' | 'input-number' | 'cascader' | 'checkbox' | 'checkbox-group' | 'code-editor' | 'date-picker' | 'time-picker' | 'date-range' | 'time-range' | 'radio' | 'radio-group' | 'select' | 'switch' | 'textarea' | 'upload-image') & T;
|
|
6
6
|
export interface BasicFormColumn extends FormItemProps {
|
|
7
7
|
label?: string;
|
|
8
8
|
key: string;
|
|
@@ -958,7 +958,9 @@ export declare const formProps: {
|
|
|
958
958
|
default: import("ant-design-vue/es/grid/Row").Gutter | [import("ant-design-vue/es/grid/Row").Gutter, import("ant-design-vue/es/grid/Row").Gutter];
|
|
959
959
|
};
|
|
960
960
|
wrap: {
|
|
961
|
-
type: BooleanConstructor;
|
|
961
|
+
type: BooleanConstructor; /**
|
|
962
|
+
* @description 展开的行变化时触发
|
|
963
|
+
*/
|
|
962
964
|
default: any;
|
|
963
965
|
};
|
|
964
966
|
}>>) | (() => Partial<ExtractPropTypes<{
|
|
@@ -1004,7 +1006,9 @@ export declare const formProps: {
|
|
|
1004
1006
|
default: import("ant-design-vue/es/grid/Row").Gutter | [import("ant-design-vue/es/grid/Row").Gutter, import("ant-design-vue/es/grid/Row").Gutter];
|
|
1005
1007
|
};
|
|
1006
1008
|
wrap: {
|
|
1007
|
-
type: BooleanConstructor;
|
|
1009
|
+
type: BooleanConstructor; /**
|
|
1010
|
+
* @description 展开的行变化时触发
|
|
1011
|
+
*/
|
|
1008
1012
|
default: any;
|
|
1009
1013
|
};
|
|
1010
1014
|
}>>) | ((new (...args: any[]) => Partial<ExtractPropTypes<{
|
|
@@ -1050,7 +1054,9 @@ export declare const formProps: {
|
|
|
1050
1054
|
default: import("ant-design-vue/es/grid/Row").Gutter | [import("ant-design-vue/es/grid/Row").Gutter, import("ant-design-vue/es/grid/Row").Gutter];
|
|
1051
1055
|
};
|
|
1052
1056
|
wrap: {
|
|
1053
|
-
type: BooleanConstructor;
|
|
1057
|
+
type: BooleanConstructor; /**
|
|
1058
|
+
* @description 展开的行变化时触发
|
|
1059
|
+
*/
|
|
1054
1060
|
default: any;
|
|
1055
1061
|
};
|
|
1056
1062
|
}>>) | (() => Partial<ExtractPropTypes<{
|
|
@@ -1096,7 +1102,9 @@ export declare const formProps: {
|
|
|
1096
1102
|
default: import("ant-design-vue/es/grid/Row").Gutter | [import("ant-design-vue/es/grid/Row").Gutter, import("ant-design-vue/es/grid/Row").Gutter];
|
|
1097
1103
|
};
|
|
1098
1104
|
wrap: {
|
|
1099
|
-
type: BooleanConstructor;
|
|
1105
|
+
type: BooleanConstructor; /**
|
|
1106
|
+
* @description 展开的行变化时触发
|
|
1107
|
+
*/
|
|
1100
1108
|
default: any;
|
|
1101
1109
|
};
|
|
1102
1110
|
}>>))[], unknown, unknown, () => {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import '
|
|
2
|
-
import { buildProps, definePropType } from '
|
|
1
|
+
import '../../../../utils/index.mjs';
|
|
2
|
+
import { buildProps, definePropType } from '../../../../utils/props/runtime.mjs';
|
|
3
3
|
|
|
4
4
|
"use strict";
|
|
5
5
|
const formProps = buildProps({
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"form.mjs","sources":["../../../../../../packages/components/form/src/config/form.ts"],"sourcesContent":["import { buildProps, definePropType } from '@ll-plus/utils'\n\nimport type { ExtractPropTypes } from 'vue'\nimport type {\n FormItemProps,\n RowProps,\n ColProps,\n FormProps as AntFormProps\n} from 'ant-design-vue'\nimport type { TooltipProps } from '@ll-plus/components'\nimport type Form from '../form.vue'\n\ntype FormType<T = any> = (\n | 'input'\n | 'input-number'\n | 'cascader'\n | 'checkbox'\n | 'checkbox-group'\n | 'code-editor'\n | 'date-picker'\n | 'time-picker'\n | 'date-range'\n | 'time-range'\n | 'radio'\n | 'radio-group'\n | 'select'\n | 'switch'\n | 'textarea'\n | 'upload-image'\n) &\n T\n\nexport interface BasicFormColumn extends FormItemProps {\n label?: string\n key: string\n spanCol?: number | 24 // 一行几条\n colOptions?: ColProps\n tip?: string\n tipConfig?: TooltipProps\n type: FormType\n unit?: string\n change?: () => void\n [key: string]: any\n}\n\nexport type FormColumn<T = any> = BasicFormColumn & T\n\ntype FormData = Record<string, any>\n\nexport const formProps = buildProps({\n /**\n * @description 表单项列表\n */\n formColumns: {\n type: definePropType<FormColumn[]>(Array),\n default: () => []\n },\n /**\n * @description 展开的行变化时触发\n */\n formOptions: {\n type: definePropType<AntFormProps>(Object),\n default: () => ({\n layout: 'horizontal'\n })\n },\n /**\n * @description 展开的行变化时触发\n */\n formData: {\n type: definePropType<FormData>(Object),\n default: () => ({})\n },\n /**\n * @description 展开的行变化时触发\n */\n rowOptions: {\n type: definePropType<RowProps>(Object),\n default: () => ({\n gutter: 16\n })\n },\n /**\n * @description 表单加载状态\n */\n loading: {\n type: Boolean,\n default: false\n }\n} as const)\n\n// props\nexport type FormProps = ExtractPropTypes<typeof formProps>\n\n// instance\nexport type FormInstance = InstanceType<typeof Form>\n"],"names":[],"mappings":";;;;AAiDO,MAAM,YAAY,UAAW,CAAA;AAAA;AAAA;AAAA;AAAA,EAIlC,WAAa,EAAA;AAAA,IACX,IAAA,EAAM,eAA6B,KAAK,CAAA;AAAA,IACxC,OAAA,EAAS,MAAM,EAAC;AAAA,GAClB;AAAA;AAAA;AAAA;AAAA,EAIA,WAAa,EAAA;AAAA,IACX,IAAA,EAAM,eAA6B,MAAM,CAAA;AAAA,IACzC,SAAS,OAAO;AAAA,MACd,MAAQ,EAAA,YAAA;AAAA,KACV,CAAA;AAAA,GACF;AAAA;AAAA;AAAA;AAAA,EAIA,QAAU,EAAA;AAAA,IACR,IAAA,EAAM,eAAyB,MAAM,CAAA;AAAA,IACrC,OAAA,EAAS,OAAO,EAAC,CAAA;AAAA,GACnB;AAAA;AAAA;AAAA;AAAA,EAIA,UAAY,EAAA;AAAA,IACV,IAAA,EAAM,eAAyB,MAAM,CAAA;AAAA,IACrC,SAAS,OAAO;AAAA,MACd,MAAQ,EAAA,EAAA;AAAA,KACV,CAAA;AAAA,GACF;AAAA;AAAA;AAAA;AAAA,EAIA,OAAS,EAAA;AAAA,IACP,IAAM,EAAA,OAAA;AAAA,IACN,OAAS,EAAA,KAAA;AAAA,GACX;AACF,CAAU;;;;"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.mjs","sources":[],"sourcesContent":[],"names":[],"mappings":";;;"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type
|
|
1
|
+
import { type FormColumn } from './config';
|
|
2
2
|
declare const _default: import("vue").DefineComponent<{
|
|
3
3
|
readonly formColumns: import("ll-plus/es/utils").EpPropFinalized<(new (...args: any[]) => any[]) | (() => any[]) | ((new (...args: any[]) => any[]) | (() => any[]))[], unknown, unknown, () => never[], boolean>;
|
|
4
4
|
readonly formOptions: import("ll-plus/es/utils").EpPropFinalized<(new (...args: any[]) => Partial<import("vue").ExtractPropTypes<{
|
|
@@ -1390,6 +1390,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
1390
1390
|
resetFields: () => Promise<any>;
|
|
1391
1391
|
getBindValue: (item: FormColumn) => import("lodash").Omit<any, "label">;
|
|
1392
1392
|
getFormItemClass: (item?: any) => string;
|
|
1393
|
+
readonly checkedType: string[];
|
|
1393
1394
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
1394
1395
|
readonly formColumns: import("ll-plus/es/utils").EpPropFinalized<(new (...args: any[]) => any[]) | (() => any[]) | ((new (...args: any[]) => any[]) | (() => any[]))[], unknown, unknown, () => never[], boolean>;
|
|
1395
1396
|
readonly formOptions: import("ll-plus/es/utils").EpPropFinalized<(new (...args: any[]) => Partial<import("vue").ExtractPropTypes<{
|
|
@@ -1,8 +1,10 @@
|
|
|
1
1
|
import { defineComponent, reactive, ref, resolveComponent, openBlock, createElementBlock, normalizeClass, unref, createVNode, withCtx, mergeProps, normalizeProps, guardReactiveProps, Fragment, renderList, createBlock, renderSlot, createElementVNode, toDisplayString, createCommentVNode, resolveDynamicComponent } from 'vue';
|
|
2
2
|
import { omit } from 'lodash-es';
|
|
3
|
-
import
|
|
3
|
+
import './config/index.mjs';
|
|
4
4
|
import '../../../utils/index.mjs';
|
|
5
|
+
import { formProps } from './config/form.mjs';
|
|
5
6
|
import { createNamespace } from '../../../utils/create-namespace.mjs';
|
|
7
|
+
import { checkedType } from './config/components.mjs';
|
|
6
8
|
|
|
7
9
|
"use strict";
|
|
8
10
|
var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
@@ -122,7 +124,14 @@ var _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
122
124
|
item,
|
|
123
125
|
index
|
|
124
126
|
}, () => [
|
|
125
|
-
(openBlock(), createBlock(resolveDynamicComponent(`ll-${item.type}`), mergeProps({
|
|
127
|
+
unref(checkedType).includes(item.type) ? (openBlock(), createBlock(resolveDynamicComponent(`ll-${item.type}`), mergeProps({
|
|
128
|
+
key: 0,
|
|
129
|
+
checked: formData[item.key],
|
|
130
|
+
"onUpdate:checked": ($event) => formData[item.key] = $event
|
|
131
|
+
}, getBindValue(item), {
|
|
132
|
+
onChange: item.change
|
|
133
|
+
}), null, 16, ["checked", "onUpdate:checked", "onChange"])) : (openBlock(), createBlock(resolveDynamicComponent(`ll-${item.type}`), mergeProps({
|
|
134
|
+
key: 1,
|
|
126
135
|
value: formData[item.key],
|
|
127
136
|
"onUpdate:value": ($event) => formData[item.key] = $event
|
|
128
137
|
}, getBindValue(item), {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"form.vue2.mjs","sources":["../../../../../packages/components/form/src/form.vue"],"sourcesContent":["<template>\n <div :class=\"bem.b()\">\n <a-spin :spinning=\"props.loading\">\n <a-form ref=\"formRef\" v-bind=\"props.formOptions\" :model=\"props.formData\">\n <a-row v-bind=\"props.rowOptions\">\n <a-col\n v-for=\"(item, index) in props.formColumns\"\n :key=\"index\"\n v-bind=\"item?.colOptions ?? {}\"\n :span=\"item?.spanCol ?? 24\"\n >\n <slot name=\"formItem\" :item=\"item\" :index=\"index\">\n <ll-form-item\n :name=\"item?.key ?? index\"\n :class=\"getFormItemClass(item)\"\n v-bind=\"getBindValue(item)\"\n >\n <template #label>\n <slot name=\"label\" :item=\"item\" :index=\"index\">\n <span>{{ item.label }}</span>\n <span v-if=\"item?.tip\" :class=\"bem.e('tooltip-wrapper')\">\n <ll-tooltip\n style=\"margin-left: 8px\"\n :overlay-class-name=\"bem.e('tooltip')\"\n :arrow-point-at-center=\"true\"\n :max-width=\"item?.tipConfig?.maxWidth ?? 406\"\n :placement=\"item?.tipConfig?.placement ?? 'top'\"\n :tip=\"item.tip\"\n :font-size=\"'16px'\"\n v-bind=\"item?.tipConfig\"\n />\n </span>\n </slot>\n </template>\n <slot name=\"content\" :item=\"item\" :index=\"index\">\n <component\n
|
|
1
|
+
{"version":3,"file":"form.vue2.mjs","sources":["../../../../../packages/components/form/src/form.vue"],"sourcesContent":["<template>\n <div :class=\"bem.b()\">\n <a-spin :spinning=\"props.loading\">\n <a-form ref=\"formRef\" v-bind=\"props.formOptions\" :model=\"props.formData\">\n <a-row v-bind=\"props.rowOptions\">\n <a-col\n v-for=\"(item, index) in props.formColumns\"\n :key=\"index\"\n v-bind=\"item?.colOptions ?? {}\"\n :span=\"item?.spanCol ?? 24\"\n >\n <slot name=\"formItem\" :item=\"item\" :index=\"index\">\n <ll-form-item\n :name=\"item?.key ?? index\"\n :class=\"getFormItemClass(item)\"\n v-bind=\"getBindValue(item)\"\n >\n <template #label>\n <slot name=\"label\" :item=\"item\" :index=\"index\">\n <span>{{ item.label }}</span>\n <span v-if=\"item?.tip\" :class=\"bem.e('tooltip-wrapper')\">\n <ll-tooltip\n style=\"margin-left: 8px\"\n :overlay-class-name=\"bem.e('tooltip')\"\n :arrow-point-at-center=\"true\"\n :max-width=\"item?.tipConfig?.maxWidth ?? 406\"\n :placement=\"item?.tipConfig?.placement ?? 'top'\"\n :tip=\"item.tip\"\n :font-size=\"'16px'\"\n v-bind=\"item?.tipConfig\"\n />\n </span>\n </slot>\n </template>\n <slot name=\"content\" :item=\"item\" :index=\"index\">\n <template v-if=\"checkedType.includes(item.type)\">\n <component\n :is=\"`ll-${item.type}`\"\n v-model:checked=\"formData[item.key]\"\n v-bind=\"getBindValue(item)\"\n @change=\"item.change\"\n />\n </template>\n <template v-else>\n <component\n :is=\"`ll-${item.type}`\"\n v-model:value=\"formData[item.key]\"\n v-bind=\"getBindValue(item)\"\n @change=\"item.change\"\n />\n </template>\n </slot>\n </ll-form-item>\n </slot>\n </a-col>\n </a-row>\n </a-form>\n </a-spin>\n </div>\n</template>\n<script setup lang=\"ts\">\nimport { omit } from 'lodash-es'\nimport { reactive, ref } from 'vue'\nimport {\n formProps,\n checkedType,\n // componentTypes,\n type FormColumn\n} from './config'\n\nimport { createNamespace } from '@ll-plus/utils'\n\n// 定义组件名称\ndefineOptions({ name: 'LlForm' })\n\n// Props\nconst props = defineProps(formProps)\n\nconst bem = createNamespace('form')\n\nconst formData = reactive(props.formData)\n\nconst formRef = ref()\n\nconst validate = async () => {\n return await formRef.value.validateFields()\n}\n\nconst resetFields = async () => {\n return await formRef.value.resetFields()\n}\n\nconst getBindValue = (item: FormColumn) => {\n const obj = { ...item }\n return omit(obj, ['label'])\n}\n\nconst getFormItemClass = (item = {} as FormColumn) => {\n if (props.formOptions.layout === 'horizontal') {\n if (item?.labelCol) {\n return item.labelCol.span && item.labelCol.span >= 24\n ? bem.is('label-top')\n : bem.is('label-left')\n } else {\n return bem.is('label-left')\n }\n }\n return bem.is('label-top')\n}\n\ndefineExpose({\n validate,\n resetFields\n})\n</script>\n"],"names":[],"mappings":";;;;;;;;;;;;;;AA4EA,IAAA,MAAM,KAAQ,GAAA,OAAA,CAAA;AAEd,IAAM,MAAA,GAAA,GAAM,gBAAgB,MAAM,CAAA,CAAA;AAElC,IAAM,MAAA,QAAA,GAAW,QAAS,CAAA,KAAA,CAAM,QAAQ,CAAA,CAAA;AAExC,IAAA,MAAM,UAAU,GAAI,EAAA,CAAA;AAEpB,IAAA,MAAM,WAAW,YAAY;AAC3B,MAAO,OAAA,MAAM,OAAQ,CAAA,KAAA,CAAM,cAAe,EAAA,CAAA;AAAA,KAC5C,CAAA;AAEA,IAAA,MAAM,cAAc,YAAY;AAC9B,MAAO,OAAA,MAAM,OAAQ,CAAA,KAAA,CAAM,WAAY,EAAA,CAAA;AAAA,KACzC,CAAA;AAEA,IAAM,MAAA,YAAA,GAAe,CAAC,IAAqB,KAAA;AACzC,MAAM,MAAA,GAAA,GAAM,EAAE,GAAG,IAAK,EAAA,CAAA;AACtB,MAAA,OAAO,IAAK,CAAA,GAAA,EAAK,CAAC,OAAO,CAAC,CAAA,CAAA;AAAA,KAC5B,CAAA;AAEA,IAAA,MAAM,gBAAmB,GAAA,CAAC,IAAO,GAAA,EAAqB,KAAA;AACpD,MAAI,IAAA,KAAA,CAAM,WAAY,CAAA,MAAA,KAAW,YAAc,EAAA;AAC7C,QAAA,IAAI,MAAM,QAAU,EAAA;AAClB,UAAA,OAAO,IAAK,CAAA,QAAA,CAAS,IAAQ,IAAA,IAAA,CAAK,QAAS,CAAA,IAAA,IAAQ,EAC/C,GAAA,GAAA,CAAI,EAAG,CAAA,WAAW,CAClB,GAAA,GAAA,CAAI,GAAG,YAAY,CAAA,CAAA;AAAA,SAClB,MAAA;AACL,UAAO,OAAA,GAAA,CAAI,GAAG,YAAY,CAAA,CAAA;AAAA,SAC5B;AAAA,OACF;AACA,MAAO,OAAA,GAAA,CAAI,GAAG,WAAW,CAAA,CAAA;AAAA,KAC3B,CAAA;AAEA,IAAa,QAAA,CAAA;AAAA,MACX,QAAA;AAAA,MACA,WAAA;AAAA,KACD,CAAA,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
package/es/components/index.mjs
CHANGED
|
@@ -46,7 +46,8 @@ export { useSecondConfirmation } from './drawer/src/components/second-confirmati
|
|
|
46
46
|
export { secondConfirmationProps } from './drawer/src/components/second-confirmation/src/second-confirmation.mjs';
|
|
47
47
|
export { LlSecondConfirmation } from './drawer/src/components/second-confirmation/index.mjs';
|
|
48
48
|
export { emptyProps, url } from './empty/src/empty.mjs';
|
|
49
|
-
export { formProps } from './form/src/form.mjs';
|
|
49
|
+
export { formProps } from './form/src/config/form.mjs';
|
|
50
|
+
export { checkedType } from './form/src/config/components.mjs';
|
|
50
51
|
export { iconProps } from './icon/src/icon.mjs';
|
|
51
52
|
export { iconBaseProps, iconTypes } from './icon-base/src/icon-base.mjs';
|
|
52
53
|
export { inputProps } from './input/src/input.mjs';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.mjs","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.mjs","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -7,6 +7,7 @@ export declare const LlTable: import("ll-plus/es/utils").SFCWithInstall<import("
|
|
|
7
7
|
readonly menuSwitchOptions: import("./src/config").IMenuSwitchOptions;
|
|
8
8
|
} & {}) | (() => import("./src/config").TableHeaderSearchProps))[], unknown, unknown, () => import("ll-plus/es/utils").Mutable<{}>, boolean>;
|
|
9
9
|
readonly tableProps: import("ll-plus/es/utils").EpPropFinalized<(new (...args: any[]) => {
|
|
10
|
+
readonly settingKey: string;
|
|
10
11
|
readonly columns: import("ant-design-vue").TableColumnProps[];
|
|
11
12
|
readonly dataSource: any[];
|
|
12
13
|
readonly showIndexColumn: import("ll-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
@@ -14,7 +15,6 @@ export declare const LlTable: import("ll-plus/es/utils").SFCWithInstall<import("
|
|
|
14
15
|
readonly showSetting: import("ll-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
15
16
|
} & {
|
|
16
17
|
readonly change?: Function | undefined;
|
|
17
|
-
readonly settingKey?: string | undefined;
|
|
18
18
|
readonly showDrag?: import("ll-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown> | undefined;
|
|
19
19
|
readonly scroll?: import("./src/config").ITableScroll | undefined;
|
|
20
20
|
readonly expandedRowKeys?: string[] | undefined;
|
|
@@ -25,6 +25,7 @@ export declare const LlTable: import("ll-plus/es/utils").SFCWithInstall<import("
|
|
|
25
25
|
readonly resizeColumn?: Function | undefined;
|
|
26
26
|
readonly dragChange?: Function | undefined;
|
|
27
27
|
}) | (() => import("./src/config").MainTableProps) | ((new (...args: any[]) => {
|
|
28
|
+
readonly settingKey: string;
|
|
28
29
|
readonly columns: import("ant-design-vue").TableColumnProps[];
|
|
29
30
|
readonly dataSource: any[];
|
|
30
31
|
readonly showIndexColumn: import("ll-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
@@ -32,7 +33,6 @@ export declare const LlTable: import("ll-plus/es/utils").SFCWithInstall<import("
|
|
|
32
33
|
readonly showSetting: import("ll-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
33
34
|
} & {
|
|
34
35
|
readonly change?: Function | undefined;
|
|
35
|
-
readonly settingKey?: string | undefined;
|
|
36
36
|
readonly showDrag?: import("ll-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown> | undefined;
|
|
37
37
|
readonly scroll?: import("./src/config").ITableScroll | undefined;
|
|
38
38
|
readonly expandedRowKeys?: string[] | undefined;
|
|
@@ -177,12 +177,7 @@ export declare const LlTable: import("ll-plus/es/utils").SFCWithInstall<import("
|
|
|
177
177
|
readonly menuSwitchOptions: import("./src/config").IMenuSwitchOptions;
|
|
178
178
|
}, {}>;
|
|
179
179
|
MainTable: import("vue").DefineComponent<{
|
|
180
|
-
readonly settingKey:
|
|
181
|
-
readonly type: import("vue").PropType<string>;
|
|
182
|
-
readonly required: false;
|
|
183
|
-
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
184
|
-
__epPropKey: true;
|
|
185
|
-
};
|
|
180
|
+
readonly settingKey: import("ll-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
186
181
|
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>;
|
|
187
182
|
readonly dataSource: import("ll-plus/es/utils").EpPropFinalized<(new (...args: any[]) => any[]) | (() => any[]) | ((new (...args: any[]) => any[]) | (() => any[]))[], unknown, unknown, () => never[], boolean>;
|
|
188
183
|
readonly showDrag: {
|
|
@@ -250,13 +245,13 @@ export declare const LlTable: import("ll-plus/es/utils").SFCWithInstall<import("
|
|
|
250
245
|
};
|
|
251
246
|
}, {
|
|
252
247
|
props: import("@vue/shared").LooseRequired<{
|
|
248
|
+
readonly settingKey: string;
|
|
253
249
|
readonly columns: import("ant-design-vue").TableColumnProps[];
|
|
254
250
|
readonly dataSource: any[];
|
|
255
251
|
readonly showIndexColumn: import("ll-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
256
252
|
readonly showOperate: import("ll-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
257
253
|
readonly showSetting: import("ll-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
258
254
|
readonly change?: Function | undefined;
|
|
259
|
-
readonly settingKey?: string | undefined;
|
|
260
255
|
readonly showDrag?: import("ll-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown> | undefined;
|
|
261
256
|
readonly scroll?: import("./src/config").ITableScroll | undefined;
|
|
262
257
|
readonly expandedRowKeys?: string[] | undefined;
|
|
@@ -378,12 +373,7 @@ export declare const LlTable: import("ll-plus/es/utils").SFCWithInstall<import("
|
|
|
378
373
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
379
374
|
handleChangeDataSource: (dataSource: any[]) => boolean;
|
|
380
375
|
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
381
|
-
readonly settingKey:
|
|
382
|
-
readonly type: import("vue").PropType<string>;
|
|
383
|
-
readonly required: false;
|
|
384
|
-
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
385
|
-
__epPropKey: true;
|
|
386
|
-
};
|
|
376
|
+
readonly settingKey: import("ll-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
387
377
|
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>;
|
|
388
378
|
readonly dataSource: import("ll-plus/es/utils").EpPropFinalized<(new (...args: any[]) => any[]) | (() => any[]) | ((new (...args: any[]) => any[]) | (() => any[]))[], unknown, unknown, () => never[], boolean>;
|
|
389
379
|
readonly showDrag: {
|
|
@@ -452,6 +442,7 @@ export declare const LlTable: import("ll-plus/es/utils").SFCWithInstall<import("
|
|
|
452
442
|
}>> & {
|
|
453
443
|
onHandleChangeDataSource?: ((dataSource: any[]) => any) | undefined;
|
|
454
444
|
}, {
|
|
445
|
+
readonly settingKey: string;
|
|
455
446
|
readonly columns: import("ant-design-vue").TableColumnProps[];
|
|
456
447
|
readonly dataSource: any[];
|
|
457
448
|
readonly showIndexColumn: import("ll-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
@@ -538,6 +529,7 @@ export declare const LlTable: import("ll-plus/es/utils").SFCWithInstall<import("
|
|
|
538
529
|
readonly menuSwitchOptions: import("./src/config").IMenuSwitchOptions;
|
|
539
530
|
} & {}) | (() => import("./src/config").TableHeaderSearchProps))[], unknown, unknown, () => import("ll-plus/es/utils").Mutable<{}>, boolean>;
|
|
540
531
|
readonly tableProps: import("ll-plus/es/utils").EpPropFinalized<(new (...args: any[]) => {
|
|
532
|
+
readonly settingKey: string;
|
|
541
533
|
readonly columns: import("ant-design-vue").TableColumnProps[];
|
|
542
534
|
readonly dataSource: any[];
|
|
543
535
|
readonly showIndexColumn: import("ll-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
@@ -545,7 +537,6 @@ export declare const LlTable: import("ll-plus/es/utils").SFCWithInstall<import("
|
|
|
545
537
|
readonly showSetting: import("ll-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
546
538
|
} & {
|
|
547
539
|
readonly change?: Function | undefined;
|
|
548
|
-
readonly settingKey?: string | undefined;
|
|
549
540
|
readonly showDrag?: import("ll-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown> | undefined;
|
|
550
541
|
readonly scroll?: import("./src/config").ITableScroll | undefined;
|
|
551
542
|
readonly expandedRowKeys?: string[] | undefined;
|
|
@@ -556,6 +547,7 @@ export declare const LlTable: import("ll-plus/es/utils").SFCWithInstall<import("
|
|
|
556
547
|
readonly resizeColumn?: Function | undefined;
|
|
557
548
|
readonly dragChange?: Function | undefined;
|
|
558
549
|
}) | (() => import("./src/config").MainTableProps) | ((new (...args: any[]) => {
|
|
550
|
+
readonly settingKey: string;
|
|
559
551
|
readonly columns: import("ant-design-vue").TableColumnProps[];
|
|
560
552
|
readonly dataSource: any[];
|
|
561
553
|
readonly showIndexColumn: import("ll-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
@@ -563,7 +555,6 @@ export declare const LlTable: import("ll-plus/es/utils").SFCWithInstall<import("
|
|
|
563
555
|
readonly showSetting: import("ll-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
564
556
|
} & {
|
|
565
557
|
readonly change?: Function | undefined;
|
|
566
|
-
readonly settingKey?: string | undefined;
|
|
567
558
|
readonly showDrag?: import("ll-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown> | undefined;
|
|
568
559
|
readonly scroll?: import("./src/config").ITableScroll | undefined;
|
|
569
560
|
readonly expandedRowKeys?: string[] | undefined;
|
|
@@ -1,10 +1,5 @@
|
|
|
1
1
|
declare const _default: import("vue").DefineComponent<{
|
|
2
|
-
readonly settingKey:
|
|
3
|
-
readonly type: import("vue").PropType<string>;
|
|
4
|
-
readonly required: false;
|
|
5
|
-
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
6
|
-
__epPropKey: true;
|
|
7
|
-
};
|
|
2
|
+
readonly settingKey: import("ll-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
8
3
|
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>;
|
|
9
4
|
readonly dataSource: import("ll-plus/es/utils").EpPropFinalized<(new (...args: any[]) => any[]) | (() => any[]) | ((new (...args: any[]) => any[]) | (() => any[]))[], unknown, unknown, () => never[], boolean>;
|
|
10
5
|
readonly showDrag: {
|
|
@@ -72,13 +67,13 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
72
67
|
};
|
|
73
68
|
}, {
|
|
74
69
|
props: import("@vue/shared").LooseRequired<{
|
|
70
|
+
readonly settingKey: string;
|
|
75
71
|
readonly columns: import("ant-design-vue").TableColumnProps[];
|
|
76
72
|
readonly dataSource: any[];
|
|
77
73
|
readonly showIndexColumn: import("ll-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
78
74
|
readonly showOperate: import("ll-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
79
75
|
readonly showSetting: import("ll-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
80
76
|
readonly change?: Function | undefined;
|
|
81
|
-
readonly settingKey?: string | undefined;
|
|
82
77
|
readonly showDrag?: import("ll-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown> | undefined;
|
|
83
78
|
readonly scroll?: import("../config").ITableScroll | undefined;
|
|
84
79
|
readonly expandedRowKeys?: string[] | undefined;
|
|
@@ -200,12 +195,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
200
195
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
201
196
|
handleChangeDataSource: (dataSource: any[]) => boolean;
|
|
202
197
|
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
203
|
-
readonly settingKey:
|
|
204
|
-
readonly type: import("vue").PropType<string>;
|
|
205
|
-
readonly required: false;
|
|
206
|
-
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
207
|
-
__epPropKey: true;
|
|
208
|
-
};
|
|
198
|
+
readonly settingKey: import("ll-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
209
199
|
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>;
|
|
210
200
|
readonly dataSource: import("ll-plus/es/utils").EpPropFinalized<(new (...args: any[]) => any[]) | (() => any[]) | ((new (...args: any[]) => any[]) | (() => any[]))[], unknown, unknown, () => never[], boolean>;
|
|
211
201
|
readonly showDrag: {
|
|
@@ -274,6 +264,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
274
264
|
}>> & {
|
|
275
265
|
onHandleChangeDataSource?: ((dataSource: any[]) => any) | undefined;
|
|
276
266
|
}, {
|
|
267
|
+
readonly settingKey: string;
|
|
277
268
|
readonly columns: import("ant-design-vue").TableColumnProps[];
|
|
278
269
|
readonly dataSource: any[];
|
|
279
270
|
readonly showIndexColumn: import("ll-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
@@ -6,12 +6,7 @@ export interface ITableScroll {
|
|
|
6
6
|
y: number | string;
|
|
7
7
|
}
|
|
8
8
|
export declare const mainTableProps: {
|
|
9
|
-
readonly settingKey:
|
|
10
|
-
readonly type: import("vue").PropType<string>;
|
|
11
|
-
readonly required: false;
|
|
12
|
-
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
13
|
-
__epPropKey: true;
|
|
14
|
-
};
|
|
9
|
+
readonly settingKey: import("ll-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
15
10
|
readonly columns: import("ll-plus/es/utils").EpPropFinalized<(new (...args: any[]) => TableColumnProps[]) | (() => TableColumnProps[]) | ((new (...args: any[]) => TableColumnProps[]) | (() => TableColumnProps[]))[], unknown, unknown, () => never[], boolean>;
|
|
16
11
|
readonly dataSource: import("ll-plus/es/utils").EpPropFinalized<(new (...args: any[]) => any[]) | (() => any[]) | ((new (...args: any[]) => any[]) | (() => any[]))[], unknown, unknown, () => never[], boolean>;
|
|
17
12
|
readonly showDrag: {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"main-table.mjs","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 操作栏编辑操作列的key,用于下次记录用户行为\n */\n settingKey: {\n type: String\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":[],"mappings":";;;;AAYO,MAAM,iBAAiB,UAAW,CAAA;AAAA;AAAA;AAAA;AAAA,EAIvC,UAAY,EAAA;AAAA,IACV,IAAM,EAAA,MAAA;AAAA,
|
|
1
|
+
{"version":3,"file":"main-table.mjs","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 操作栏编辑操作列的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":[],"mappings":";;;;AAYO,MAAM,iBAAiB,UAAW,CAAA;AAAA;AAAA;AAAA;AAAA,EAIvC,UAAY,EAAA;AAAA,IACV,IAAM,EAAA,MAAA;AAAA,IACN,OAAS,EAAA,EAAA;AAAA,GACX;AAAA;AAAA;AAAA;AAAA,EAIA,OAAS,EAAA;AAAA,IACP,IAAA,EAAM,eAAmC,KAAK,CAAA;AAAA,IAC9C,OAAA,EAAS,MAAM,EAAC;AAAA,GAClB;AAAA;AAAA;AAAA;AAAA,EAIA,UAAY,EAAA;AAAA,IACV,IAAA,EAAM,eAAsB,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,EAAM,eAA6B,MAAM,CAAA;AAAA,GAC3C;AAAA;AAAA;AAAA;AAAA,EAIA,eAAiB,EAAA;AAAA,IACf,IAAA,EAAM,eAAyB,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;;;;"}
|
|
@@ -9,6 +9,7 @@ export declare const tableProps: {
|
|
|
9
9
|
readonly menuSwitchOptions: import("./header-search").IMenuSwitchOptions;
|
|
10
10
|
} & {}) | (() => TableHeaderSearchProps))[], unknown, unknown, () => import("ll-plus/es/utils").Mutable<{}>, boolean>;
|
|
11
11
|
readonly tableProps: import("ll-plus/es/utils").EpPropFinalized<(new (...args: any[]) => {
|
|
12
|
+
readonly settingKey: string;
|
|
12
13
|
readonly columns: import("ant-design-vue").TableColumnProps[];
|
|
13
14
|
readonly dataSource: any[];
|
|
14
15
|
readonly showIndexColumn: import("ll-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
@@ -16,7 +17,6 @@ export declare const tableProps: {
|
|
|
16
17
|
readonly showSetting: import("ll-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
17
18
|
} & {
|
|
18
19
|
readonly change?: Function | undefined;
|
|
19
|
-
readonly settingKey?: string | undefined;
|
|
20
20
|
readonly showDrag?: import("ll-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown> | undefined;
|
|
21
21
|
readonly scroll?: import("./main-table").ITableScroll | undefined;
|
|
22
22
|
readonly expandedRowKeys?: string[] | undefined;
|
|
@@ -27,6 +27,7 @@ export declare const tableProps: {
|
|
|
27
27
|
readonly resizeColumn?: Function | undefined;
|
|
28
28
|
readonly dragChange?: Function | undefined;
|
|
29
29
|
}) | (() => MainTableProps) | ((new (...args: any[]) => {
|
|
30
|
+
readonly settingKey: string;
|
|
30
31
|
readonly columns: import("ant-design-vue").TableColumnProps[];
|
|
31
32
|
readonly dataSource: any[];
|
|
32
33
|
readonly showIndexColumn: import("ll-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
@@ -34,7 +35,6 @@ export declare const tableProps: {
|
|
|
34
35
|
readonly showSetting: import("ll-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
35
36
|
} & {
|
|
36
37
|
readonly change?: Function | undefined;
|
|
37
|
-
readonly settingKey?: string | undefined;
|
|
38
38
|
readonly showDrag?: import("ll-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown> | undefined;
|
|
39
39
|
readonly scroll?: import("./main-table").ITableScroll | undefined;
|
|
40
40
|
readonly expandedRowKeys?: string[] | undefined;
|