ll-plus 2.3.11 → 2.3.13
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/drawer/index.d.ts +2 -1
- package/es/components/drawer/src/components/second-confirmation/index.d.ts +5 -0
- package/es/components/drawer/src/components/second-confirmation/src/second-confirmation.vue.d.ts +5 -0
- package/es/components/drawer/src/drawer.vue.d.ts +2 -1
- package/es/components/drawer/src/drawer.vue2.mjs +31 -18
- package/es/components/drawer/src/drawer.vue2.mjs.map +1 -1
- package/es/components/modal/index.d.ts +5 -0
- package/es/components/modal/src/modal.d.ts +1 -0
- package/es/components/modal/src/modal.mjs +4 -0
- package/es/components/modal/src/modal.mjs.map +1 -1
- package/es/components/modal/src/modal.vue.d.ts +5 -0
- package/es/components/modal/src/modal.vue2.mjs +24 -6
- package/es/components/modal/src/modal.vue2.mjs.map +1 -1
- package/es/components/table/index.d.ts +8 -0
- package/es/components/table/src/components/main-table.vue.d.ts +4 -0
- package/es/components/table/src/config/main-table.d.ts +1 -0
- package/es/components/table/src/config/main-table.mjs +7 -0
- package/es/components/table/src/config/main-table.mjs.map +1 -1
- package/es/components/table/src/config/table.d.ts +2 -0
- package/es/components/table/src/table.vue.d.ts +8 -0
- package/es/components/tree-search/index.d.ts +3 -0
- package/es/components/tree-search/src/config/tree-search.d.ts +1 -0
- package/es/components/tree-search/src/tree-search.vue.d.ts +3 -0
- package/es/utils/props/runtime.d.ts +2 -2
- package/index.full.js +69 -170
- package/index.full.min.js +22 -22
- package/index.full.min.js.map +1 -1
- package/index.full.min.mjs +19 -19
- package/index.full.min.mjs.map +1 -1
- package/index.full.mjs +69 -170
- package/lib/components/drawer/index.d.ts +2 -1
- package/lib/components/drawer/src/components/second-confirmation/index.d.ts +5 -0
- package/lib/components/drawer/src/components/second-confirmation/src/second-confirmation.vue.d.ts +5 -0
- package/lib/components/drawer/src/drawer.vue.d.ts +2 -1
- package/lib/components/drawer/src/drawer.vue2.js +29 -16
- package/lib/components/drawer/src/drawer.vue2.js.map +1 -1
- package/lib/components/modal/index.d.ts +5 -0
- package/lib/components/modal/src/modal.d.ts +1 -0
- package/lib/components/modal/src/modal.js +4 -0
- package/lib/components/modal/src/modal.js.map +1 -1
- package/lib/components/modal/src/modal.vue.d.ts +5 -0
- package/lib/components/modal/src/modal.vue2.js +24 -6
- package/lib/components/modal/src/modal.vue2.js.map +1 -1
- package/lib/components/table/index.d.ts +8 -0
- package/lib/components/table/src/components/main-table.vue.d.ts +4 -0
- package/lib/components/table/src/config/main-table.d.ts +1 -0
- package/lib/components/table/src/config/main-table.js +7 -0
- package/lib/components/table/src/config/main-table.js.map +1 -1
- package/lib/components/table/src/config/table.d.ts +2 -0
- package/lib/components/table/src/table.vue.d.ts +8 -0
- package/lib/components/tree-search/index.d.ts +3 -0
- package/lib/components/tree-search/src/config/tree-search.d.ts +1 -0
- package/lib/components/tree-search/src/tree-search.vue.d.ts +3 -0
- package/lib/utils/props/runtime.d.ts +2 -2
- package/package.json +1 -1
- package/theme-chalk/css/drawer.css +1 -1
- package/theme-chalk/css/index.css +1 -1
- package/theme-chalk/css/key-value.css +1 -1
- package/theme-chalk/css/modal.css +1 -1
- package/types/packages/components/drawer/index.d.ts +2 -1
- package/types/packages/components/drawer/src/components/second-confirmation/index.d.ts +5 -0
- package/types/packages/components/drawer/src/components/second-confirmation/src/second-confirmation.vue.d.ts +5 -0
- package/types/packages/components/drawer/src/drawer.vue.d.ts +2 -1
- package/types/packages/components/modal/index.d.ts +5 -0
- package/types/packages/components/modal/src/modal.d.ts +1 -0
- package/types/packages/components/modal/src/modal.vue.d.ts +5 -0
- package/types/packages/components/table/index.d.ts +8 -0
- package/types/packages/components/table/src/components/main-table.vue.d.ts +4 -0
- package/types/packages/components/table/src/config/main-table.d.ts +1 -0
- package/types/packages/components/table/src/config/table.d.ts +2 -0
- package/types/packages/components/table/src/table.vue.d.ts +8 -0
- package/types/packages/components/tree-search/index.d.ts +3 -0
- package/types/packages/components/tree-search/src/config/tree-search.d.ts +1 -0
- package/types/packages/components/tree-search/src/tree-search.vue.d.ts +3 -0
- package/types/packages/utils/props/runtime.d.ts +2 -2
|
@@ -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 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;;;;"}
|
|
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 动态插槽显示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":[],"mappings":";;;;AAYO,MAAM,iBAAiB,UAAW,CAAA;AAAA;AAAA;AAAA;AAAA,EAIvC,WAAa,EAAA;AAAA,IACX,IAAM,EAAA,MAAA;AAAA,IACN,OAAS,EAAA,EAAA;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,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;;;;"}
|
|
@@ -11,6 +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: string;
|
|
14
15
|
readonly settingKey: string;
|
|
15
16
|
readonly showIndexColumn: import("ll-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
16
17
|
readonly showOperate: import("ll-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
@@ -29,6 +30,7 @@ export declare const tableProps: {
|
|
|
29
30
|
}) | (() => MainTableProps) | ((new (...args: any[]) => {
|
|
30
31
|
readonly columns: import("ant-design-vue").TableColumnProps[];
|
|
31
32
|
readonly dataSource: any[];
|
|
33
|
+
readonly contentType: string;
|
|
32
34
|
readonly settingKey: string;
|
|
33
35
|
readonly showIndexColumn: import("ll-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
34
36
|
readonly showOperate: import("ll-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
@@ -9,6 +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: string;
|
|
12
13
|
readonly settingKey: string;
|
|
13
14
|
readonly showIndexColumn: import("ll-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
14
15
|
readonly showOperate: import("ll-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
@@ -27,6 +28,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
27
28
|
}) | (() => import("./config").MainTableProps) | ((new (...args: any[]) => {
|
|
28
29
|
readonly columns: import("ant-design-vue").TableColumnProps[];
|
|
29
30
|
readonly dataSource: any[];
|
|
31
|
+
readonly contentType: string;
|
|
30
32
|
readonly settingKey: string;
|
|
31
33
|
readonly showIndexColumn: import("ll-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
32
34
|
readonly showOperate: import("ll-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
@@ -177,6 +179,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
177
179
|
readonly menuSwitchOptions: import("./config").IMenuSwitchOptions;
|
|
178
180
|
}, {}>;
|
|
179
181
|
MainTable: import("vue").DefineComponent<{
|
|
182
|
+
readonly contentType: import("ll-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
180
183
|
readonly settingKey: import("ll-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
181
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>;
|
|
182
185
|
readonly dataSource: import("ll-plus/es/utils").EpPropFinalized<(new (...args: any[]) => any[]) | (() => any[]) | ((new (...args: any[]) => any[]) | (() => any[]))[], unknown, unknown, () => never[], boolean>;
|
|
@@ -247,6 +250,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
247
250
|
props: import("@vue/shared").LooseRequired<{
|
|
248
251
|
readonly columns: import("ant-design-vue").TableColumnProps[];
|
|
249
252
|
readonly dataSource: any[];
|
|
253
|
+
readonly contentType: string;
|
|
250
254
|
readonly settingKey: string;
|
|
251
255
|
readonly showIndexColumn: import("ll-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
252
256
|
readonly showOperate: import("ll-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
@@ -374,6 +378,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
374
378
|
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {
|
|
375
379
|
handleChangeDataSource: (dataSource: any[]) => boolean;
|
|
376
380
|
}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
381
|
+
readonly contentType: import("ll-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
377
382
|
readonly settingKey: import("ll-plus/es/utils").EpPropFinalized<StringConstructor, unknown, unknown, "", boolean>;
|
|
378
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>;
|
|
379
384
|
readonly dataSource: import("ll-plus/es/utils").EpPropFinalized<(new (...args: any[]) => any[]) | (() => any[]) | ((new (...args: any[]) => any[]) | (() => any[]))[], unknown, unknown, () => never[], boolean>;
|
|
@@ -445,6 +450,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
445
450
|
}, {
|
|
446
451
|
readonly columns: import("ant-design-vue").TableColumnProps[];
|
|
447
452
|
readonly dataSource: any[];
|
|
453
|
+
readonly contentType: string;
|
|
448
454
|
readonly settingKey: string;
|
|
449
455
|
readonly showIndexColumn: import("ll-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
450
456
|
readonly showOperate: import("ll-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
@@ -532,6 +538,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
532
538
|
readonly tableProps: import("ll-plus/es/utils").EpPropFinalized<(new (...args: any[]) => {
|
|
533
539
|
readonly columns: import("ant-design-vue").TableColumnProps[];
|
|
534
540
|
readonly dataSource: any[];
|
|
541
|
+
readonly contentType: string;
|
|
535
542
|
readonly settingKey: string;
|
|
536
543
|
readonly showIndexColumn: import("ll-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
537
544
|
readonly showOperate: import("ll-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
@@ -550,6 +557,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
550
557
|
}) | (() => import("./config").MainTableProps) | ((new (...args: any[]) => {
|
|
551
558
|
readonly columns: import("ant-design-vue").TableColumnProps[];
|
|
552
559
|
readonly dataSource: any[];
|
|
560
|
+
readonly contentType: string;
|
|
553
561
|
readonly settingKey: string;
|
|
554
562
|
readonly showIndexColumn: import("ll-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
555
563
|
readonly showOperate: import("ll-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
@@ -29,6 +29,7 @@ export declare const LlTreeSearch: import("ll-plus/es/utils").SFCWithInstall<imp
|
|
|
29
29
|
readonly cancelText: string;
|
|
30
30
|
readonly showCancel: import("ll-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
31
31
|
readonly confirmText: string;
|
|
32
|
+
readonly isConfirmModel: import("ll-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
32
33
|
}>;
|
|
33
34
|
readonly required: false;
|
|
34
35
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
@@ -81,6 +82,7 @@ export declare const LlTreeSearch: import("ll-plus/es/utils").SFCWithInstall<imp
|
|
|
81
82
|
readonly cancelText: string;
|
|
82
83
|
readonly showCancel: import("ll-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
83
84
|
readonly confirmText: string;
|
|
85
|
+
readonly isConfirmModel: import("ll-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
84
86
|
} | undefined;
|
|
85
87
|
readonly drawerConfigProps?: {
|
|
86
88
|
readonly title: string;
|
|
@@ -342,6 +344,7 @@ export declare const LlTreeSearch: import("ll-plus/es/utils").SFCWithInstall<imp
|
|
|
342
344
|
readonly cancelText: string;
|
|
343
345
|
readonly showCancel: import("ll-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
344
346
|
readonly confirmText: string;
|
|
347
|
+
readonly isConfirmModel: import("ll-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
345
348
|
}>;
|
|
346
349
|
readonly required: false;
|
|
347
350
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
@@ -32,6 +32,7 @@ export declare const treeSearchProps: {
|
|
|
32
32
|
readonly cancelText: string;
|
|
33
33
|
readonly showCancel: import("ll-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
34
34
|
readonly confirmText: string;
|
|
35
|
+
readonly isConfirmModel: import("ll-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
35
36
|
}>;
|
|
36
37
|
readonly required: false;
|
|
37
38
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
@@ -28,6 +28,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
28
28
|
readonly cancelText: string;
|
|
29
29
|
readonly showCancel: import("ll-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
30
30
|
readonly confirmText: string;
|
|
31
|
+
readonly isConfirmModel: import("ll-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
31
32
|
}>;
|
|
32
33
|
readonly required: false;
|
|
33
34
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
@@ -80,6 +81,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
80
81
|
readonly cancelText: string;
|
|
81
82
|
readonly showCancel: import("ll-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
82
83
|
readonly confirmText: string;
|
|
84
|
+
readonly isConfirmModel: import("ll-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
83
85
|
} | undefined;
|
|
84
86
|
readonly drawerConfigProps?: {
|
|
85
87
|
readonly title: string;
|
|
@@ -341,6 +343,7 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
341
343
|
readonly cancelText: string;
|
|
342
344
|
readonly showCancel: import("ll-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
343
345
|
readonly confirmText: string;
|
|
346
|
+
readonly isConfirmModel: import("ll-plus/es/utils").EpPropMergeType<BooleanConstructor, unknown, unknown>;
|
|
344
347
|
}>;
|
|
345
348
|
readonly required: false;
|
|
346
349
|
readonly validator: ((val: unknown) => boolean) | undefined;
|
|
@@ -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, NativePropType | EpPropInput<any, any, any, any, any> | {
|
|
31
31
|
__epPropKey: true;
|
|
32
|
-
}
|
|
32
|
+
}>>(props: Props) => { [K in keyof Props]: IfEpProp<Props[K], Props[K], IfNativePropType<Props[K], Props[K], EpPropConvert<Props[K]>>>; };
|
package/index.full.js
CHANGED
|
@@ -115,48 +115,11 @@
|
|
|
115
115
|
return result == "0" && 1 / value == -INFINITY$1 ? "-0" : result;
|
|
116
116
|
}
|
|
117
117
|
|
|
118
|
-
var reWhitespace = /\s/;
|
|
119
|
-
function trimmedEndIndex(string) {
|
|
120
|
-
var index = string.length;
|
|
121
|
-
while (index-- && reWhitespace.test(string.charAt(index))) {
|
|
122
|
-
}
|
|
123
|
-
return index;
|
|
124
|
-
}
|
|
125
|
-
|
|
126
|
-
var reTrimStart = /^\s+/;
|
|
127
|
-
function baseTrim(string) {
|
|
128
|
-
return string ? string.slice(0, trimmedEndIndex(string) + 1).replace(reTrimStart, "") : string;
|
|
129
|
-
}
|
|
130
|
-
|
|
131
118
|
function isObject$1(value) {
|
|
132
119
|
var type = typeof value;
|
|
133
120
|
return value != null && (type == "object" || type == "function");
|
|
134
121
|
}
|
|
135
122
|
|
|
136
|
-
var NAN = 0 / 0;
|
|
137
|
-
var reIsBadHex = /^[-+]0x[0-9a-f]+$/i;
|
|
138
|
-
var reIsBinary = /^0b[01]+$/i;
|
|
139
|
-
var reIsOctal = /^0o[0-7]+$/i;
|
|
140
|
-
var freeParseInt = parseInt;
|
|
141
|
-
function toNumber(value) {
|
|
142
|
-
if (typeof value == "number") {
|
|
143
|
-
return value;
|
|
144
|
-
}
|
|
145
|
-
if (isSymbol(value)) {
|
|
146
|
-
return NAN;
|
|
147
|
-
}
|
|
148
|
-
if (isObject$1(value)) {
|
|
149
|
-
var other = typeof value.valueOf == "function" ? value.valueOf() : value;
|
|
150
|
-
value = isObject$1(other) ? other + "" : other;
|
|
151
|
-
}
|
|
152
|
-
if (typeof value != "string") {
|
|
153
|
-
return value === 0 ? value : +value;
|
|
154
|
-
}
|
|
155
|
-
value = baseTrim(value);
|
|
156
|
-
var isBinary = reIsBinary.test(value);
|
|
157
|
-
return isBinary || reIsOctal.test(value) ? freeParseInt(value.slice(2), isBinary ? 2 : 8) : reIsBadHex.test(value) ? NAN : +value;
|
|
158
|
-
}
|
|
159
|
-
|
|
160
123
|
function identity(value) {
|
|
161
124
|
return value;
|
|
162
125
|
}
|
|
@@ -376,11 +339,11 @@
|
|
|
376
339
|
return object;
|
|
377
340
|
}
|
|
378
341
|
|
|
379
|
-
var nativeMax
|
|
342
|
+
var nativeMax = Math.max;
|
|
380
343
|
function overRest(func, start, transform) {
|
|
381
|
-
start = nativeMax
|
|
344
|
+
start = nativeMax(start === void 0 ? func.length - 1 : start, 0);
|
|
382
345
|
return function() {
|
|
383
|
-
var args = arguments, index = -1, length = nativeMax
|
|
346
|
+
var args = arguments, index = -1, length = nativeMax(args.length - start, 0), array = Array(length);
|
|
384
347
|
while (++index < length) {
|
|
385
348
|
array[index] = args[start + index];
|
|
386
349
|
}
|
|
@@ -759,10 +722,10 @@
|
|
|
759
722
|
MapCache.prototype.has = mapCacheHas;
|
|
760
723
|
MapCache.prototype.set = mapCacheSet;
|
|
761
724
|
|
|
762
|
-
var FUNC_ERROR_TEXT
|
|
725
|
+
var FUNC_ERROR_TEXT = "Expected a function";
|
|
763
726
|
function memoize(func, resolver) {
|
|
764
727
|
if (typeof func != "function" || resolver != null && typeof resolver != "function") {
|
|
765
|
-
throw new TypeError(FUNC_ERROR_TEXT
|
|
728
|
+
throw new TypeError(FUNC_ERROR_TEXT);
|
|
766
729
|
}
|
|
767
730
|
var memoized = function() {
|
|
768
731
|
var args = arguments, key = resolver ? resolver.apply(this, args) : args[0], cache = memoized.cache;
|
|
@@ -1303,95 +1266,6 @@
|
|
|
1303
1266
|
return !!length && isLength(length) && isIndex(key, length) && (isArray$1(object) || isArguments$1(object));
|
|
1304
1267
|
}
|
|
1305
1268
|
|
|
1306
|
-
var now$1 = function() {
|
|
1307
|
-
return root.Date.now();
|
|
1308
|
-
};
|
|
1309
|
-
|
|
1310
|
-
var FUNC_ERROR_TEXT$1 = "Expected a function";
|
|
1311
|
-
var nativeMax = Math.max;
|
|
1312
|
-
var nativeMin = Math.min;
|
|
1313
|
-
function debounce(func, wait, options) {
|
|
1314
|
-
var lastArgs, lastThis, maxWait, result, timerId, lastCallTime, lastInvokeTime = 0, leading = false, maxing = false, trailing = true;
|
|
1315
|
-
if (typeof func != "function") {
|
|
1316
|
-
throw new TypeError(FUNC_ERROR_TEXT$1);
|
|
1317
|
-
}
|
|
1318
|
-
wait = toNumber(wait) || 0;
|
|
1319
|
-
if (isObject$1(options)) {
|
|
1320
|
-
leading = !!options.leading;
|
|
1321
|
-
maxing = "maxWait" in options;
|
|
1322
|
-
maxWait = maxing ? nativeMax(toNumber(options.maxWait) || 0, wait) : maxWait;
|
|
1323
|
-
trailing = "trailing" in options ? !!options.trailing : trailing;
|
|
1324
|
-
}
|
|
1325
|
-
function invokeFunc(time) {
|
|
1326
|
-
var args = lastArgs, thisArg = lastThis;
|
|
1327
|
-
lastArgs = lastThis = void 0;
|
|
1328
|
-
lastInvokeTime = time;
|
|
1329
|
-
result = func.apply(thisArg, args);
|
|
1330
|
-
return result;
|
|
1331
|
-
}
|
|
1332
|
-
function leadingEdge(time) {
|
|
1333
|
-
lastInvokeTime = time;
|
|
1334
|
-
timerId = setTimeout(timerExpired, wait);
|
|
1335
|
-
return leading ? invokeFunc(time) : result;
|
|
1336
|
-
}
|
|
1337
|
-
function remainingWait(time) {
|
|
1338
|
-
var timeSinceLastCall = time - lastCallTime, timeSinceLastInvoke = time - lastInvokeTime, timeWaiting = wait - timeSinceLastCall;
|
|
1339
|
-
return maxing ? nativeMin(timeWaiting, maxWait - timeSinceLastInvoke) : timeWaiting;
|
|
1340
|
-
}
|
|
1341
|
-
function shouldInvoke(time) {
|
|
1342
|
-
var timeSinceLastCall = time - lastCallTime, timeSinceLastInvoke = time - lastInvokeTime;
|
|
1343
|
-
return lastCallTime === void 0 || timeSinceLastCall >= wait || timeSinceLastCall < 0 || maxing && timeSinceLastInvoke >= maxWait;
|
|
1344
|
-
}
|
|
1345
|
-
function timerExpired() {
|
|
1346
|
-
var time = now$1();
|
|
1347
|
-
if (shouldInvoke(time)) {
|
|
1348
|
-
return trailingEdge(time);
|
|
1349
|
-
}
|
|
1350
|
-
timerId = setTimeout(timerExpired, remainingWait(time));
|
|
1351
|
-
}
|
|
1352
|
-
function trailingEdge(time) {
|
|
1353
|
-
timerId = void 0;
|
|
1354
|
-
if (trailing && lastArgs) {
|
|
1355
|
-
return invokeFunc(time);
|
|
1356
|
-
}
|
|
1357
|
-
lastArgs = lastThis = void 0;
|
|
1358
|
-
return result;
|
|
1359
|
-
}
|
|
1360
|
-
function cancel() {
|
|
1361
|
-
if (timerId !== void 0) {
|
|
1362
|
-
clearTimeout(timerId);
|
|
1363
|
-
}
|
|
1364
|
-
lastInvokeTime = 0;
|
|
1365
|
-
lastArgs = lastCallTime = lastThis = timerId = void 0;
|
|
1366
|
-
}
|
|
1367
|
-
function flush() {
|
|
1368
|
-
return timerId === void 0 ? result : trailingEdge(now$1());
|
|
1369
|
-
}
|
|
1370
|
-
function debounced() {
|
|
1371
|
-
var time = now$1(), isInvoking = shouldInvoke(time);
|
|
1372
|
-
lastArgs = arguments;
|
|
1373
|
-
lastThis = this;
|
|
1374
|
-
lastCallTime = time;
|
|
1375
|
-
if (isInvoking) {
|
|
1376
|
-
if (timerId === void 0) {
|
|
1377
|
-
return leadingEdge(lastCallTime);
|
|
1378
|
-
}
|
|
1379
|
-
if (maxing) {
|
|
1380
|
-
clearTimeout(timerId);
|
|
1381
|
-
timerId = setTimeout(timerExpired, wait);
|
|
1382
|
-
return invokeFunc(lastCallTime);
|
|
1383
|
-
}
|
|
1384
|
-
}
|
|
1385
|
-
if (timerId === void 0) {
|
|
1386
|
-
timerId = setTimeout(timerExpired, wait);
|
|
1387
|
-
}
|
|
1388
|
-
return result;
|
|
1389
|
-
}
|
|
1390
|
-
debounced.cancel = cancel;
|
|
1391
|
-
debounced.flush = flush;
|
|
1392
|
-
return debounced;
|
|
1393
|
-
}
|
|
1394
|
-
|
|
1395
1269
|
function last(array) {
|
|
1396
1270
|
var length = array == null ? 0 : array.length;
|
|
1397
1271
|
return length ? array[length - 1] : void 0;
|
|
@@ -1490,23 +1364,6 @@
|
|
|
1490
1364
|
return result;
|
|
1491
1365
|
});
|
|
1492
1366
|
|
|
1493
|
-
var FUNC_ERROR_TEXT = "Expected a function";
|
|
1494
|
-
function throttle$1(func, wait, options) {
|
|
1495
|
-
var leading = true, trailing = true;
|
|
1496
|
-
if (typeof func != "function") {
|
|
1497
|
-
throw new TypeError(FUNC_ERROR_TEXT);
|
|
1498
|
-
}
|
|
1499
|
-
if (isObject$1(options)) {
|
|
1500
|
-
leading = "leading" in options ? !!options.leading : leading;
|
|
1501
|
-
trailing = "trailing" in options ? !!options.trailing : trailing;
|
|
1502
|
-
}
|
|
1503
|
-
return debounce(func, wait, {
|
|
1504
|
-
"leading": leading,
|
|
1505
|
-
"maxWait": wait,
|
|
1506
|
-
"trailing": trailing
|
|
1507
|
-
});
|
|
1508
|
-
}
|
|
1509
|
-
|
|
1510
1367
|
const hasOwnProperty$1 = Object.prototype.hasOwnProperty;
|
|
1511
1368
|
const hasOwn = (val, key) => hasOwnProperty$1.call(val, key);
|
|
1512
1369
|
const isObject = (val) => val !== null && typeof val === "object";
|
|
@@ -46912,6 +46769,7 @@
|
|
|
46912
46769
|
const content = require$$0.ref();
|
|
46913
46770
|
const hasScroll = require$$0.ref(false);
|
|
46914
46771
|
const symbolClass = require$$0.ref(`ll-darwer-${(/* @__PURE__ */ new Date()).getTime()}`);
|
|
46772
|
+
const symbolComparedClass = require$$0.ref(`model-content-${(/* @__PURE__ */ new Date()).getTime()}`);
|
|
46915
46773
|
const getBindValue = require$$0.computed(() => ({
|
|
46916
46774
|
...drawerOptions,
|
|
46917
46775
|
...omit({ ...attrs }, [...Object.keys(drawerProps), "rootClassName"])
|
|
@@ -46942,24 +46800,26 @@
|
|
|
46942
46800
|
const handleConfirm = () => {
|
|
46943
46801
|
emits("confirm");
|
|
46944
46802
|
};
|
|
46945
|
-
const handleResize = async () => {
|
|
46803
|
+
const handleResize = async (value) => {
|
|
46946
46804
|
await require$$0.nextTick();
|
|
46947
46805
|
const ele = document.getElementsByClassName(symbolClass.value)[0];
|
|
46948
|
-
|
|
46949
|
-
|
|
46950
|
-
|
|
46951
|
-
|
|
46806
|
+
const modalBody = ele.getElementsByClassName(symbolComparedClass.value)[0];
|
|
46807
|
+
const resizeObserver = new ResizeObserver((entries) => {
|
|
46808
|
+
const { clientHeight } = entries[0].target;
|
|
46809
|
+
const scrollHeight = ele.clientHeight;
|
|
46810
|
+
hasScroll.value = clientHeight > scrollHeight;
|
|
46811
|
+
console.log(clientHeight, scrollHeight, hasScroll.value);
|
|
46812
|
+
});
|
|
46813
|
+
if (value) {
|
|
46814
|
+
resizeObserver.observe(modalBody);
|
|
46815
|
+
} else {
|
|
46816
|
+
resizeObserver.unobserve(modalBody);
|
|
46952
46817
|
}
|
|
46953
46818
|
};
|
|
46954
46819
|
require$$0.watch(
|
|
46955
46820
|
() => props.open,
|
|
46956
46821
|
(val) => {
|
|
46957
|
-
|
|
46958
|
-
handleResize();
|
|
46959
|
-
window.addEventListener("resize", throttle$1(handleResize, 500));
|
|
46960
|
-
} else {
|
|
46961
|
-
window.removeEventListener("resize", handleResize);
|
|
46962
|
-
}
|
|
46822
|
+
handleResize(val);
|
|
46963
46823
|
}
|
|
46964
46824
|
);
|
|
46965
46825
|
return (_ctx, _cache) => {
|
|
@@ -46980,7 +46840,7 @@
|
|
|
46980
46840
|
require$$0.createElementVNode(
|
|
46981
46841
|
"div",
|
|
46982
46842
|
{
|
|
46983
|
-
class: require$$0.normalizeClass(require$$0.unref(bem).e("container"))
|
|
46843
|
+
class: require$$0.normalizeClass([require$$0.unref(bem).e("container"), hasScroll.value ? require$$0.unref(bem).is("has-scroll") : ""])
|
|
46984
46844
|
},
|
|
46985
46845
|
[
|
|
46986
46846
|
require$$0.createElementVNode(
|
|
@@ -46988,14 +46848,24 @@
|
|
|
46988
46848
|
{
|
|
46989
46849
|
ref_key: "content",
|
|
46990
46850
|
ref: content,
|
|
46991
|
-
style: require$$0.normalizeStyle({ marginBottom: props.showFooter ? "72px" : 0 }),
|
|
46992
46851
|
class: require$$0.normalizeClass([require$$0.unref(bem).e("content"), symbolClass.value])
|
|
46993
46852
|
},
|
|
46994
46853
|
[
|
|
46995
|
-
require$$0.
|
|
46854
|
+
require$$0.createCommentVNode(` <div v-if="hasScroll" :class="bem.e('shandow')" /> `),
|
|
46855
|
+
require$$0.createElementVNode(
|
|
46856
|
+
"div",
|
|
46857
|
+
{
|
|
46858
|
+
class: require$$0.normalizeClass([symbolComparedClass.value])
|
|
46859
|
+
},
|
|
46860
|
+
[
|
|
46861
|
+
require$$0.renderSlot(_ctx.$slots, "default")
|
|
46862
|
+
],
|
|
46863
|
+
2
|
|
46864
|
+
/* CLASS */
|
|
46865
|
+
)
|
|
46996
46866
|
],
|
|
46997
|
-
|
|
46998
|
-
/* CLASS
|
|
46867
|
+
2
|
|
46868
|
+
/* CLASS */
|
|
46999
46869
|
),
|
|
47000
46870
|
props.showFooter ? (require$$0.openBlock(), require$$0.createElementBlock(
|
|
47001
46871
|
"div",
|
|
@@ -59051,6 +58921,10 @@
|
|
|
59051
58921
|
type: definePropType(String),
|
|
59052
58922
|
default: "operate"
|
|
59053
58923
|
},
|
|
58924
|
+
isConfirmModel: {
|
|
58925
|
+
type: Boolean,
|
|
58926
|
+
default: false
|
|
58927
|
+
},
|
|
59054
58928
|
/**
|
|
59055
58929
|
* @description 弹窗class
|
|
59056
58930
|
*/
|
|
@@ -59119,6 +58993,7 @@
|
|
|
59119
58993
|
const modal = require$$0.ref();
|
|
59120
58994
|
const hasScroll = require$$0.ref(false);
|
|
59121
58995
|
const symbolClass = require$$0.ref(`ll-modal-${(/* @__PURE__ */ new Date()).getTime()}`);
|
|
58996
|
+
const symbolComparedClass = require$$0.ref(`model-content-${(/* @__PURE__ */ new Date()).getTime()}`);
|
|
59122
58997
|
const getBindValue = require$$0.computed(() => {
|
|
59123
58998
|
const result = {
|
|
59124
58999
|
...omit({ ...attrs }, [...Object.keys(modalProps), "wrapClassName"])
|
|
@@ -59138,10 +59013,11 @@
|
|
|
59138
59013
|
const handleResize = async (value) => {
|
|
59139
59014
|
await require$$0.nextTick();
|
|
59140
59015
|
const ele = document.getElementsByClassName(symbolClass.value)[0];
|
|
59141
|
-
const modalBody = ele.getElementsByClassName(
|
|
59016
|
+
const modalBody = ele.getElementsByClassName(symbolComparedClass.value)[0];
|
|
59142
59017
|
const resizeObserver = new ResizeObserver((entries) => {
|
|
59143
|
-
const {
|
|
59144
|
-
|
|
59018
|
+
const { clientHeight } = entries[0].target;
|
|
59019
|
+
const scrollHeight = ele.clientHeight;
|
|
59020
|
+
hasScroll.value = clientHeight > scrollHeight;
|
|
59145
59021
|
});
|
|
59146
59022
|
if (value) {
|
|
59147
59023
|
resizeObserver.observe(modalBody);
|
|
@@ -59162,7 +59038,11 @@
|
|
|
59162
59038
|
open: props.open,
|
|
59163
59039
|
title: props.title,
|
|
59164
59040
|
"wrap-class-name": `${require$$0.unref(bem).b()} ${props.wrapClassName}`,
|
|
59165
|
-
class: [
|
|
59041
|
+
class: [
|
|
59042
|
+
props.class,
|
|
59043
|
+
hasScroll.value ? require$$0.unref(bem).is("has-scroll") : "",
|
|
59044
|
+
require$$0.unref(bem).is(props.isConfirmModel ? "confirm-model" : "")
|
|
59045
|
+
],
|
|
59166
59046
|
onCancel: handleCancel,
|
|
59167
59047
|
onOk: handleOk
|
|
59168
59048
|
}), require$$0.createSlots({
|
|
@@ -59170,10 +59050,20 @@
|
|
|
59170
59050
|
require$$0.createElementVNode(
|
|
59171
59051
|
"div",
|
|
59172
59052
|
{
|
|
59173
|
-
class: require$$0.normalizeClass([require$$0.unref(bem).e("container"), require$$0.unref(bem).is(props.type)])
|
|
59053
|
+
class: require$$0.normalizeClass([require$$0.unref(bem).e("container"), symbolClass.value, require$$0.unref(bem).is(props.type)])
|
|
59174
59054
|
},
|
|
59175
59055
|
[
|
|
59176
|
-
require$$0.
|
|
59056
|
+
require$$0.createElementVNode(
|
|
59057
|
+
"div",
|
|
59058
|
+
{
|
|
59059
|
+
class: require$$0.normalizeClass([symbolComparedClass.value])
|
|
59060
|
+
},
|
|
59061
|
+
[
|
|
59062
|
+
require$$0.renderSlot(_ctx.$slots, "default")
|
|
59063
|
+
],
|
|
59064
|
+
2
|
|
59065
|
+
/* CLASS */
|
|
59066
|
+
)
|
|
59177
59067
|
],
|
|
59178
59068
|
2
|
|
59179
59069
|
/* CLASS */
|
|
@@ -59190,11 +59080,13 @@
|
|
|
59190
59080
|
props.showCancel && props.type !== "confirm" ? (require$$0.openBlock(), require$$0.createBlock(require$$0.unref(LlButton), {
|
|
59191
59081
|
key: 0,
|
|
59192
59082
|
label: props.cancelText ? props.cancelText : "\u53D6\u6D88",
|
|
59083
|
+
size: "middle",
|
|
59193
59084
|
onClick: handleCancel
|
|
59194
59085
|
}, null, 8, ["label"])) : require$$0.createCommentVNode("v-if", true),
|
|
59195
59086
|
require$$0.createVNode(require$$0.unref(LlButton), {
|
|
59196
59087
|
type: "primary",
|
|
59197
59088
|
loading: props.loading,
|
|
59089
|
+
size: "middle",
|
|
59198
59090
|
label: props.confirmText ? props.confirmText : props.type === "confirm" ? "\u77E5\u9053\u4E86" : "\u786E\u8BA4",
|
|
59199
59091
|
onClick: handleOk
|
|
59200
59092
|
}, null, 8, ["loading", "label"])
|
|
@@ -61682,6 +61574,13 @@
|
|
|
61682
61574
|
};
|
|
61683
61575
|
|
|
61684
61576
|
const mainTableProps = buildProps({
|
|
61577
|
+
/**
|
|
61578
|
+
* @description 动态插槽显示card和table
|
|
61579
|
+
*/
|
|
61580
|
+
contentType: {
|
|
61581
|
+
type: String,
|
|
61582
|
+
default: ""
|
|
61583
|
+
},
|
|
61685
61584
|
/**
|
|
61686
61585
|
* @description 操作栏编辑操作列的key,用于下次记录用户行为
|
|
61687
61586
|
*/
|