@lx-frontend/wrap-element-ui 1.0.17-beta.0 → 1.0.17-beta.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/package.json +13 -13
- package/src/components/EditableTable/features/bizEditCell.vue +0 -2
- package/src/components/EditableTable/features/bizTableOperatePopover.vue +1 -2
- package/src/components/EditableTable/index.vue +1 -3
- package/src/components/EditableTable/types/index.ts +0 -1
- package/src/components/SearchForm/index.vue +1 -0
package/package.json
CHANGED
|
@@ -1,10 +1,22 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@lx-frontend/wrap-element-ui",
|
|
3
|
-
"version": "1.0.17-beta.
|
|
3
|
+
"version": "1.0.17-beta.2",
|
|
4
4
|
"description": "wrap-element-ui",
|
|
5
5
|
"author": "",
|
|
6
6
|
"main": "src/components/index.ts",
|
|
7
7
|
"private": false,
|
|
8
|
+
"scripts": {
|
|
9
|
+
"clean": "rimraf dist",
|
|
10
|
+
"dev": "cross-env MODE=development storybook dev -p 6006",
|
|
11
|
+
"dist": "cross-env MODE=production pnpm build:lib && storybook dev -p 6006",
|
|
12
|
+
"build:lib": "pnpm clean && vite build",
|
|
13
|
+
"build:sb": "cross-env MODE=production rimraf storybook-static && pnpm build:lib && storybook build",
|
|
14
|
+
"preview": "serve ./storybook-static",
|
|
15
|
+
"publish:dev": "npm publish --access public --tag beta",
|
|
16
|
+
"publish:prod": "npm publish --access public",
|
|
17
|
+
"cdn": "gulp oss",
|
|
18
|
+
"lint": "eslint src"
|
|
19
|
+
},
|
|
8
20
|
"files": [
|
|
9
21
|
"README.md",
|
|
10
22
|
"package.json",
|
|
@@ -57,17 +69,5 @@
|
|
|
57
69
|
"vite-plugin-lib-inject-css": "^2.1.1",
|
|
58
70
|
"vite-tsconfig-paths": "^4.3.2",
|
|
59
71
|
"vue-template-compiler": "^2.6.10"
|
|
60
|
-
},
|
|
61
|
-
"scripts": {
|
|
62
|
-
"clean": "rimraf dist",
|
|
63
|
-
"dev": "cross-env MODE=development storybook dev -p 6006",
|
|
64
|
-
"dist": "cross-env MODE=production pnpm build:lib && storybook dev -p 6006",
|
|
65
|
-
"build:lib": "pnpm clean && vite build",
|
|
66
|
-
"build:sb": "cross-env MODE=production rimraf storybook-static && pnpm build:lib && storybook build",
|
|
67
|
-
"preview": "serve ./storybook-static",
|
|
68
|
-
"publish:dev": "npm publish --access public --tag beta",
|
|
69
|
-
"publish:prod": "npm publish --access public",
|
|
70
|
-
"cdn": "gulp oss",
|
|
71
|
-
"lint": "eslint src"
|
|
72
72
|
}
|
|
73
73
|
}
|
|
@@ -31,7 +31,6 @@
|
|
|
31
31
|
</template>
|
|
32
32
|
|
|
33
33
|
<script setup lang="ts">
|
|
34
|
-
import { defineEmits, defineProps } from 'vue';
|
|
35
34
|
import { IColumnConfig } from '../types'
|
|
36
35
|
|
|
37
36
|
defineProps<{
|
|
@@ -39,7 +38,6 @@ defineProps<{
|
|
|
39
38
|
value: any;
|
|
40
39
|
}>()
|
|
41
40
|
|
|
42
|
-
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
|
43
41
|
const emit = defineEmits<{
|
|
44
42
|
(e: 'input', value: any): void;
|
|
45
43
|
}>()
|
|
@@ -41,7 +41,7 @@
|
|
|
41
41
|
</template>
|
|
42
42
|
|
|
43
43
|
<script setup lang="ts">
|
|
44
|
-
import {
|
|
44
|
+
import { ref } from 'vue';
|
|
45
45
|
import { IDefaultOperationType } from '../types';
|
|
46
46
|
|
|
47
47
|
defineProps<{
|
|
@@ -53,7 +53,6 @@ defineProps<{
|
|
|
53
53
|
scope: any
|
|
54
54
|
}>()
|
|
55
55
|
|
|
56
|
-
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
|
57
56
|
const emit = defineEmits<{
|
|
58
57
|
(e: 'edit'): void
|
|
59
58
|
(e: 'delete'): void
|
|
@@ -315,7 +315,7 @@ import BizTableHeaderPopover from './features/bizTableHeaderPopover/index.vue'
|
|
|
315
315
|
import BizEditCell from './features/bizEditCell.vue'
|
|
316
316
|
import BizTableOperatePopover from './features/bizTableOperatePopover.vue'
|
|
317
317
|
|
|
318
|
-
import { computed,
|
|
318
|
+
import { computed, nextTick, ref, watch } from 'vue';
|
|
319
319
|
import { Message } from 'element-ui';
|
|
320
320
|
import omit from 'lodash/omit';
|
|
321
321
|
|
|
@@ -558,8 +558,6 @@ const beforeDragStart = () => {
|
|
|
558
558
|
return true;
|
|
559
559
|
};
|
|
560
560
|
|
|
561
|
-
// eslint-disable-next-line @typescript-eslint/ban-ts-comment
|
|
562
|
-
// @ts-ignore
|
|
563
561
|
useDragSort({
|
|
564
562
|
emit,
|
|
565
563
|
props,
|
|
@@ -88,7 +88,6 @@ type _IColumnConfigRequired = {
|
|
|
88
88
|
/** 自定义颜色表头label */
|
|
89
89
|
customColorLabel?: boolean;
|
|
90
90
|
filters?: FilterListType;
|
|
91
|
-
selectOptions?: { label: string; value: string }[];
|
|
92
91
|
}
|
|
93
92
|
|
|
94
93
|
export type IColumnConfigRequired = _IColumnConfigRequired & Partial<Omit<TableColumn, keyof _IColumnConfigRequired>>
|