@lx-frontend/wrap-element-ui 1.0.17-beta.2 → 1.0.19-beta.0

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 CHANGED
@@ -1,22 +1,10 @@
1
1
  {
2
2
  "name": "@lx-frontend/wrap-element-ui",
3
- "version": "1.0.17-beta.2",
3
+ "version": "1.0.19-beta.0",
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
- },
20
8
  "files": [
21
9
  "README.md",
22
10
  "package.json",
@@ -69,5 +57,17 @@
69
57
  "vite-plugin-lib-inject-css": "^2.1.1",
70
58
  "vite-tsconfig-paths": "^4.3.2",
71
59
  "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
  }
@@ -231,7 +231,7 @@
231
231
  <!-- 自定义编辑 -->
232
232
  <slot
233
233
  v-if="column.editSlotName"
234
- v-bind="{scope, column}"
234
+ v-bind="returnAnyType({ scope, column })"
235
235
  :name="column.editSlotName"
236
236
  />
237
237
  <!-- 内置编辑类型 -->
@@ -425,6 +425,10 @@ const showingColumns = ref<string[]>([]); // 表格中实际展示的列
425
425
  const leftFixedColumnCount = ref(0) // 左侧固定列数量
426
426
  const viewSettingDragSortOptions = ref<IColumnConfig[]>([])
427
427
 
428
+ const returnAnyType = (params): any => {
429
+ return params
430
+ }
431
+
428
432
  const actualColumns = computed(() => {
429
433
  const res: IColumnConfig[] = [];
430
434
  let cnt = leftFixedColumnCount.value;
@@ -558,6 +562,7 @@ const beforeDragStart = () => {
558
562
  return true;
559
563
  };
560
564
 
565
+ // @ts-ignore
561
566
  useDragSort({
562
567
  emit,
563
568
  props,
@@ -88,6 +88,7 @@ type _IColumnConfigRequired = {
88
88
  /** 自定义颜色表头label */
89
89
  customColorLabel?: boolean;
90
90
  filters?: FilterListType;
91
+ selectOptions?: any
91
92
  }
92
93
 
93
94
  export type IColumnConfigRequired = _IColumnConfigRequired & Partial<Omit<TableColumn, keyof _IColumnConfigRequired>>