@cmstops/pro-compo 3.9.2-alpha.22 → 3.9.2-alpha.24

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.
Files changed (37) hide show
  1. package/es/contentDetailList/component.js +1 -1
  2. package/es/contentModal/components/ViewAllColumn/MediaFilter/index.js +6 -177
  3. package/es/contentModal/components/ViewAllColumn/index.js +0 -1
  4. package/es/contentModal/script/api.js +1 -7
  5. package/es/selectAddTo/component.js +23 -102
  6. package/es/selectAddTo/components/SelectAddToView.js +91 -0
  7. package/es/selectAddTo/components/SelectAddToView.vue_vue_type_style_index_0_scoped_true_lang.js +2 -0
  8. package/es/selectAddTo/components/ViewAllColumn/MediaFilter/index.js +1 -4
  9. package/es/selectAddTo/components/ViewAllColumn/index.js +21 -18
  10. package/es/selectAddTo/components/ViewAllColumn/script/useTableColumns.js +31 -7
  11. package/es/selectAddTo/components/ViewAllColumn/script/useViewAllColumnState.js +3 -14
  12. package/es/selectAddTo/index.js +1 -10
  13. package/es/selectAddTo/script/api.js +1 -14
  14. package/es/selectAddTo/script/useSelectAddToState.js +16 -67
  15. package/es/selectAddTo/style/index.less +3 -3
  16. package/es/style.css +24 -18
  17. package/lib/contentDetailList/component.js +1 -1
  18. package/lib/contentModal/components/ViewAllColumn/MediaFilter/index.js +5 -176
  19. package/lib/contentModal/components/ViewAllColumn/index.js +0 -1
  20. package/lib/contentModal/script/api.js +0 -7
  21. package/lib/index.js +1 -1
  22. package/lib/selectAddTo/component.js +22 -101
  23. package/lib/selectAddTo/components/SelectAddToView.js +92 -0
  24. package/lib/selectAddTo/components/SelectAddToView.vue_vue_type_style_index_0_scoped_true_lang.js +3 -0
  25. package/lib/selectAddTo/components/ViewAllColumn/MediaFilter/index.js +1 -4
  26. package/lib/selectAddTo/components/ViewAllColumn/index.js +20 -17
  27. package/lib/selectAddTo/components/ViewAllColumn/script/useTableColumns.js +34 -6
  28. package/lib/selectAddTo/components/ViewAllColumn/script/useViewAllColumnState.js +3 -14
  29. package/lib/selectAddTo/index.js +2 -12
  30. package/lib/selectAddTo/script/api.js +0 -15
  31. package/lib/selectAddTo/script/useSelectAddToState.js +16 -67
  32. package/lib/selectAddTo/style/index.less +3 -3
  33. package/package.json +138 -138
  34. package/es/contentModal/components/ViewAllColumn/columnTree/index.js +0 -151
  35. package/es/selectAddTo/components/ViewAllColumn/columnTree/index.js +0 -151
  36. package/lib/contentModal/components/ViewAllColumn/columnTree/index.js +0 -152
  37. package/lib/selectAddTo/components/ViewAllColumn/columnTree/index.js +0 -152
package/package.json CHANGED
@@ -1,138 +1,138 @@
1
- {
2
- "name": "@cmstops/pro-compo",
3
- "version": "3.9.2-alpha.22",
4
- "description": "",
5
- "keywords": [
6
- "vue",
7
- "arco-design"
8
- ],
9
- "author": "",
10
- "license": "MIT",
11
- "main": "dist/index.cjs.js",
12
- "module": "dist/index.esm.js",
13
- "types": "dist/index.d.ts",
14
- "umd": {
15
- "file": "dist/index.min.js",
16
- "style": "dist/index.min.css",
17
- "module": "ArcoComponents"
18
- },
19
- "scripts": {
20
- "dev": "start-storybook STORYBOOK_ENV=dev -p 9528",
21
- "build": "npm run build:component && npm run build:style && npm run dtsgen",
22
- "build:component": "arco-vue-scripts build:material-library",
23
- "build:style": "arco-vue-scripts build:style -M",
24
- "dtsgen": "arco-vue-scripts dtsgen 'components/**/*.{ts,tsx,vue}'",
25
- "docgen": "arco-vue-scripts docgen",
26
- "build:doc": "npx storybook build",
27
- "test": "arco-vue-scripts test",
28
- "add:component": "node ./scripts/add-component.js",
29
- "prepublishOnly": "npm run build"
30
- },
31
- "husky": {
32
- "hooks": {
33
- "commit-msg": "commitlint -E HUSKY_GIT_PARAMS",
34
- "pre-commit": "lint-staged"
35
- }
36
- },
37
- "lint-staged": {
38
- "*.{js,ts,jsx,tsx,vue}": [
39
- "eslint --fix",
40
- "prettier --write"
41
- ],
42
- "*.{less,css}": [
43
- "stylelint --fix",
44
- "prettier --write"
45
- ]
46
- },
47
- "peerDependencies": {
48
- "@arco-design/web-vue": "~2",
49
- "@arco-iconbox/vue-cmstop-icons": "^0.0.34",
50
- "@popperjs/core": "^2.11.8",
51
- "colorthief": "^2.4.0",
52
- "cropperjs": "^1.6.1",
53
- "dayjs": "^1.11.9",
54
- "diff": "^5.2.0",
55
- "gif-to-canvas": "^1.0.0",
56
- "gif.js": "^0.2.0",
57
- "tus-js-client": "^3.1.1",
58
- "vue": "^3.2.0",
59
- "vuedraggable": "^4.1.0"
60
- },
61
- "devDependencies": {
62
- "@arco-design/web-vue": "~2",
63
- "@arco-iconbox/vue-cmstop-icons": "^0.0.34",
64
- "@babel/core": "^7.14.6",
65
- "@babel/plugin-proposal-class-properties": "^7.14.5",
66
- "@babel/plugin-syntax-dynamic-import": "^7.8.3",
67
- "@babel/preset-env": "^7.14.7",
68
- "@babel/preset-typescript": "^7.14.5",
69
- "@cmstops/arco-vue-scripts": "^0.2.11",
70
- "@commitlint/cli": "^11.0.0",
71
- "@commitlint/config-conventional": "^12.0.1",
72
- "@popperjs/core": "^2.11.8",
73
- "@storybook/addon-actions": "^6.3.0",
74
- "@storybook/addon-docs": "^7.6.7",
75
- "@storybook/addon-essentials": "^6.3.0",
76
- "@storybook/addon-links": "^6.3.0",
77
- "@storybook/builder-webpack5": "^6.5.9",
78
- "@storybook/manager-webpack5": "^6.5.9",
79
- "@storybook/vue3": "^6.3.0",
80
- "@types/diff": "^5.2.1",
81
- "@types/fs-extra": "^9.0.6",
82
- "@types/jest": "^29.5.5",
83
- "@types/node": "^20.6.2",
84
- "@types/tus-js-client": "1.5.1",
85
- "@typescript-eslint/eslint-plugin": "^4.18.0",
86
- "@typescript-eslint/parser": "^4.12.0",
87
- "@vue/babel-plugin-jsx": "^1.0.6",
88
- "@vue/test-utils": "^2.0.0-beta.14",
89
- "axios": "^1.7.7",
90
- "babel-loader": "^8.2.2",
91
- "colorthief": "^2.4.0",
92
- "cropperjs": "^1.6.1",
93
- "dayjs": "^1.11.9",
94
- "diff": "^5.2.0",
95
- "eslint": "^7.21.0",
96
- "eslint-config-airbnb-base": "^14.2.1",
97
- "eslint-config-prettier": "^8.3.0",
98
- "eslint-import-resolver-typescript": "^2.4.0",
99
- "eslint-plugin-import": "^2.22.1",
100
- "eslint-plugin-prettier": "^3.3.1",
101
- "eslint-plugin-vue": "^7.7.0",
102
- "fast-glob": "^3.2.7",
103
- "fs-extra": "^9.1.0",
104
- "gif-to-canvas": "^1.0.0",
105
- "gif.js": "^0.2.0",
106
- "html2canvas": "^1.4.1",
107
- "husky": "^4.3.7",
108
- "jest": "^29.7.0",
109
- "less": "^4.1.1",
110
- "less-loader": "^7.3.0",
111
- "lint-staged": "^10.5.3",
112
- "prettier": "^2.2.1",
113
- "qrcodejs2-fix": "^0.0.1",
114
- "stylelint": "^13.8.0",
115
- "stylelint-config-prettier": "^8.0.2",
116
- "stylelint-config-rational-order": "^0.1.2",
117
- "stylelint-config-standard": "^20.0.0",
118
- "stylelint-order": "^4.1.0",
119
- "tus-js-client": "^3.1.1",
120
- "typescript": "^4.2.4",
121
- "vue": "^3.2.0",
122
- "vue-loader": "^16.2.0",
123
- "vuedraggable": "^4.1.0",
124
- "webpack": "^5.88.2"
125
- },
126
- "arcoMeta": {
127
- "type": "vue-library",
128
- "title": "@cmstops/pro-compo",
129
- "category": [
130
- "数据展示"
131
- ]
132
- },
133
- "files": [
134
- "es",
135
- "lib",
136
- "dist"
137
- ]
138
- }
1
+ {
2
+ "name": "@cmstops/pro-compo",
3
+ "version": "3.9.2-alpha.24",
4
+ "description": "",
5
+ "keywords": [
6
+ "vue",
7
+ "arco-design"
8
+ ],
9
+ "author": "",
10
+ "license": "MIT",
11
+ "main": "dist/index.cjs.js",
12
+ "module": "dist/index.esm.js",
13
+ "types": "dist/index.d.ts",
14
+ "umd": {
15
+ "file": "dist/index.min.js",
16
+ "style": "dist/index.min.css",
17
+ "module": "ArcoComponents"
18
+ },
19
+ "scripts": {
20
+ "dev": "start-storybook STORYBOOK_ENV=dev -p 9528",
21
+ "build": "npm run build:component && npm run build:style && npm run dtsgen",
22
+ "build:component": "arco-vue-scripts build:material-library",
23
+ "build:style": "arco-vue-scripts build:style -M",
24
+ "dtsgen": "arco-vue-scripts dtsgen 'components/**/*.{ts,tsx,vue}'",
25
+ "docgen": "arco-vue-scripts docgen",
26
+ "build:doc": "npx storybook build",
27
+ "test": "arco-vue-scripts test",
28
+ "add:component": "node ./scripts/add-component.js",
29
+ "prepublishOnly": "npm run build"
30
+ },
31
+ "husky": {
32
+ "hooks": {
33
+ "commit-msg": "commitlint -E HUSKY_GIT_PARAMS",
34
+ "pre-commit": "lint-staged"
35
+ }
36
+ },
37
+ "lint-staged": {
38
+ "*.{js,ts,jsx,tsx,vue}": [
39
+ "eslint --fix",
40
+ "prettier --write"
41
+ ],
42
+ "*.{less,css}": [
43
+ "stylelint --fix",
44
+ "prettier --write"
45
+ ]
46
+ },
47
+ "peerDependencies": {
48
+ "@arco-design/web-vue": "~2",
49
+ "@arco-iconbox/vue-cmstop-icons": "^0.0.34",
50
+ "@popperjs/core": "^2.11.8",
51
+ "colorthief": "^2.4.0",
52
+ "cropperjs": "^1.6.1",
53
+ "dayjs": "^1.11.9",
54
+ "diff": "^5.2.0",
55
+ "gif-to-canvas": "^1.0.0",
56
+ "gif.js": "^0.2.0",
57
+ "tus-js-client": "^3.1.1",
58
+ "vue": "^3.2.0",
59
+ "vuedraggable": "^4.1.0"
60
+ },
61
+ "devDependencies": {
62
+ "@arco-design/web-vue": "~2",
63
+ "@arco-iconbox/vue-cmstop-icons": "^0.0.34",
64
+ "@babel/core": "^7.14.6",
65
+ "@babel/plugin-proposal-class-properties": "^7.14.5",
66
+ "@babel/plugin-syntax-dynamic-import": "^7.8.3",
67
+ "@babel/preset-env": "^7.14.7",
68
+ "@babel/preset-typescript": "^7.14.5",
69
+ "@cmstops/arco-vue-scripts": "^0.2.11",
70
+ "@commitlint/cli": "^11.0.0",
71
+ "@commitlint/config-conventional": "^12.0.1",
72
+ "@popperjs/core": "^2.11.8",
73
+ "@storybook/addon-actions": "^6.3.0",
74
+ "@storybook/addon-docs": "^7.6.7",
75
+ "@storybook/addon-essentials": "^6.3.0",
76
+ "@storybook/addon-links": "^6.3.0",
77
+ "@storybook/builder-webpack5": "^6.5.9",
78
+ "@storybook/manager-webpack5": "^6.5.9",
79
+ "@storybook/vue3": "^6.3.0",
80
+ "@types/diff": "^5.2.1",
81
+ "@types/fs-extra": "^9.0.6",
82
+ "@types/jest": "^29.5.5",
83
+ "@types/node": "^20.6.2",
84
+ "@types/tus-js-client": "1.5.1",
85
+ "@typescript-eslint/eslint-plugin": "^4.18.0",
86
+ "@typescript-eslint/parser": "^4.12.0",
87
+ "@vue/babel-plugin-jsx": "^1.0.6",
88
+ "@vue/test-utils": "^2.0.0-beta.14",
89
+ "axios": "^1.7.7",
90
+ "babel-loader": "^8.2.2",
91
+ "colorthief": "^2.4.0",
92
+ "cropperjs": "^1.6.1",
93
+ "dayjs": "^1.11.9",
94
+ "diff": "^5.2.0",
95
+ "eslint": "^7.21.0",
96
+ "eslint-config-airbnb-base": "^14.2.1",
97
+ "eslint-config-prettier": "^8.3.0",
98
+ "eslint-import-resolver-typescript": "^2.4.0",
99
+ "eslint-plugin-import": "^2.22.1",
100
+ "eslint-plugin-prettier": "^3.3.1",
101
+ "eslint-plugin-vue": "^7.7.0",
102
+ "fast-glob": "^3.2.7",
103
+ "fs-extra": "^9.1.0",
104
+ "gif-to-canvas": "^1.0.0",
105
+ "gif.js": "^0.2.0",
106
+ "html2canvas": "^1.4.1",
107
+ "husky": "^4.3.7",
108
+ "jest": "^29.7.0",
109
+ "less": "^4.1.1",
110
+ "less-loader": "^7.3.0",
111
+ "lint-staged": "^10.5.3",
112
+ "prettier": "^2.2.1",
113
+ "qrcodejs2-fix": "^0.0.1",
114
+ "stylelint": "^13.8.0",
115
+ "stylelint-config-prettier": "^8.0.2",
116
+ "stylelint-config-rational-order": "^0.1.2",
117
+ "stylelint-config-standard": "^20.0.0",
118
+ "stylelint-order": "^4.1.0",
119
+ "tus-js-client": "^3.1.1",
120
+ "typescript": "^4.2.4",
121
+ "vue": "^3.2.0",
122
+ "vue-loader": "^16.2.0",
123
+ "vuedraggable": "^4.1.0",
124
+ "webpack": "^5.88.2"
125
+ },
126
+ "arcoMeta": {
127
+ "type": "vue-library",
128
+ "title": "@cmstops/pro-compo",
129
+ "category": [
130
+ "数据展示"
131
+ ]
132
+ },
133
+ "files": [
134
+ "es",
135
+ "lib",
136
+ "dist"
137
+ ]
138
+ }
@@ -1,151 +0,0 @@
1
- import { defineComponent, ref, computed, watch, openBlock, createElementBlock, createVNode, unref, withCtx, createElementVNode, createCommentVNode, normalizeStyle, createTextVNode, toDisplayString } from "vue";
2
- import { Popover, InputSearch, Scrollbar, Tree, Button } from "@arco-design/web-vue";
3
- import { IconDragDotVertical, IconCaretRight } from "@arco-design/web-vue/es/icon";
4
- import { getCategoryPath } from "../../../script/api.js";
5
- const _hoisted_1 = { class: "column-selection-container" };
6
- const _hoisted_2 = { class: "search-column" };
7
- const _sfc_main = defineComponent({
8
- ...{ name: "columnTree" },
9
- __name: "index",
10
- props: {
11
- column_id: {},
12
- tree: {},
13
- height: {},
14
- userInfo: {}
15
- },
16
- emits: ["update:column_id"],
17
- setup(__props, { emit: __emit }) {
18
- const props = __props;
19
- const emit = __emit;
20
- const treeOptions = {
21
- title: "alias",
22
- isLeaf: "leaf"
23
- };
24
- const selectAlias = ref("\u5168\u90E8\u5185\u5BB9");
25
- const lastSearchKey = ref(window.localStorage.getItem("lastSearchKey") || "");
26
- const searchKey = ref("");
27
- const aTreeRef = ref();
28
- const treeData = computed(() => {
29
- if (!searchKey.value)
30
- return props.tree;
31
- return searchData(searchKey.value);
32
- });
33
- const searchData = (keyword) => {
34
- const loop = (data) => {
35
- const result = [];
36
- data.forEach((item) => {
37
- var _a;
38
- if ((_a = item.alias) == null ? void 0 : _a.includes(keyword)) {
39
- result.push({ ...item });
40
- } else if (item.children) {
41
- const filterData = loop(item.children);
42
- if (filterData.length) {
43
- result.push({
44
- ...item,
45
- children: filterData
46
- });
47
- }
48
- }
49
- });
50
- return result;
51
- };
52
- return loop(props.tree);
53
- };
54
- const clickLastItem = () => {
55
- aTreeRef.value.selectNode(lastSearchKey.value, true);
56
- };
57
- watch(
58
- () => props.column_id,
59
- (val) => {
60
- setSelectAlias(val);
61
- }
62
- );
63
- const setSelectAlias = async (id) => {
64
- if (id === "all") {
65
- selectAlias.value = "\u5168\u90E8\u5185\u5BB9";
66
- return;
67
- }
68
- const { code, message } = await getCategoryPath(props.userInfo.BASE_API, {
69
- repo: props.userInfo.repository_id,
70
- category: id
71
- });
72
- if (code === 0) {
73
- const pathArr = [];
74
- for (const i of message) {
75
- pathArr.push(i.category_alias);
76
- }
77
- selectAlias.value = pathArr.join("/");
78
- }
79
- };
80
- const AddColumnSelected = (selectedKeys, data) => {
81
- lastSearchKey.value = selectedKeys[0];
82
- window.localStorage.setItem("lastSearchKey", lastSearchKey.value);
83
- emit("update:column_id", data.node.id);
84
- };
85
- return (_ctx, _cache) => {
86
- return openBlock(), createElementBlock("div", _hoisted_1, [
87
- createVNode(unref(Popover), {
88
- "content-style": { minWidth: "120px" },
89
- "content-class": "column-selection-popover-content",
90
- position: "bottom",
91
- trigger: "click"
92
- }, {
93
- content: withCtx(() => [
94
- createElementVNode("div", _hoisted_2, [
95
- createVNode(unref(InputSearch), {
96
- modelValue: searchKey.value,
97
- "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => searchKey.value = $event),
98
- placeholder: "\u8BF7\u8F93\u5165\u680F\u76EE\u540D\u79F0"
99
- }, null, 8, ["modelValue"])
100
- ]),
101
- lastSearchKey.value ? (openBlock(), createElementBlock("div", {
102
- key: 0,
103
- class: "last-search-key",
104
- onClick: clickLastItem
105
- }, "\u4E0A\u4E00\u6B21\u9009\u62E9 ")) : createCommentVNode("v-if", true),
106
- createElementVNode("div", {
107
- style: normalizeStyle({ minHeight: props.height + "px" }),
108
- class: "column-selection-main"
109
- }, [
110
- createElementVNode("div", {
111
- style: normalizeStyle({ height: props.height + "px" }),
112
- class: "column-v"
113
- }, [
114
- createVNode(unref(Scrollbar), {
115
- "outer-class": "column-outer-scrollbar",
116
- style: { "height": "100%", "overflow": "auto" }
117
- }, {
118
- default: withCtx(() => [
119
- createVNode(unref(Tree), {
120
- ref_key: "aTreeRef",
121
- ref: aTreeRef,
122
- data: treeData.value,
123
- "default-expand-all": false,
124
- "field-names": treeOptions,
125
- "block-node": "",
126
- "check-strictly": "",
127
- onSelect: AddColumnSelected
128
- }, null, 8, ["data"])
129
- ]),
130
- _: 1
131
- })
132
- ], 4)
133
- ], 4)
134
- ]),
135
- default: withCtx(() => [
136
- createVNode(unref(Button), { class: "button" }, {
137
- default: withCtx(() => [
138
- createVNode(unref(IconDragDotVertical)),
139
- createTextVNode(" " + toDisplayString(selectAlias.value) + " ", 1),
140
- createVNode(unref(IconCaretRight))
141
- ]),
142
- _: 1
143
- })
144
- ]),
145
- _: 1
146
- })
147
- ]);
148
- };
149
- }
150
- });
151
- export { _sfc_main as default };
@@ -1,151 +0,0 @@
1
- import { defineComponent, ref, computed, watch, openBlock, createElementBlock, createVNode, unref, withCtx, createElementVNode, createCommentVNode, normalizeStyle, createTextVNode, toDisplayString } from "vue";
2
- import { Popover, InputSearch, Scrollbar, Tree, Button } from "@arco-design/web-vue";
3
- import { IconDragDotVertical, IconCaretRight } from "@arco-design/web-vue/es/icon";
4
- import { getCategoryPath } from "../../../script/api.js";
5
- const _hoisted_1 = { class: "column-selection-container" };
6
- const _hoisted_2 = { class: "search-column" };
7
- const _sfc_main = defineComponent({
8
- ...{ name: "columnTree" },
9
- __name: "index",
10
- props: {
11
- column_id: {},
12
- tree: {},
13
- height: {},
14
- userInfo: {}
15
- },
16
- emits: ["update:column_id"],
17
- setup(__props, { emit: __emit }) {
18
- const props = __props;
19
- const emit = __emit;
20
- const treeOptions = {
21
- title: "alias",
22
- isLeaf: "leaf"
23
- };
24
- const selectAlias = ref("\u5168\u90E8\u5185\u5BB9");
25
- const lastSearchKey = ref(window.localStorage.getItem("lastSearchKey") || "");
26
- const searchKey = ref("");
27
- const aTreeRef = ref();
28
- const treeData = computed(() => {
29
- if (!searchKey.value)
30
- return props.tree;
31
- return searchData(searchKey.value);
32
- });
33
- const searchData = (keyword) => {
34
- const loop = (data) => {
35
- const result = [];
36
- data.forEach((item) => {
37
- var _a;
38
- if ((_a = item.alias) == null ? void 0 : _a.includes(keyword)) {
39
- result.push({ ...item });
40
- } else if (item.children) {
41
- const filterData = loop(item.children);
42
- if (filterData.length) {
43
- result.push({
44
- ...item,
45
- children: filterData
46
- });
47
- }
48
- }
49
- });
50
- return result;
51
- };
52
- return loop(props.tree);
53
- };
54
- const clickLastItem = () => {
55
- aTreeRef.value.selectNode(lastSearchKey.value, true);
56
- };
57
- watch(
58
- () => props.column_id,
59
- (val) => {
60
- setSelectAlias(val);
61
- }
62
- );
63
- const setSelectAlias = async (id) => {
64
- if (id === "all") {
65
- selectAlias.value = "\u5168\u90E8\u5185\u5BB9";
66
- return;
67
- }
68
- const { code, message } = await getCategoryPath(props.userInfo.BASE_API, {
69
- repo: props.userInfo.repository_id,
70
- category: id
71
- });
72
- if (code === 0) {
73
- const pathArr = [];
74
- for (const i of message) {
75
- pathArr.push(i.category_alias);
76
- }
77
- selectAlias.value = pathArr.join("/");
78
- }
79
- };
80
- const AddColumnSelected = (selectedKeys, data) => {
81
- lastSearchKey.value = selectedKeys[0];
82
- window.localStorage.setItem("lastSearchKey", lastSearchKey.value);
83
- emit("update:column_id", data.node.id);
84
- };
85
- return (_ctx, _cache) => {
86
- return openBlock(), createElementBlock("div", _hoisted_1, [
87
- createVNode(unref(Popover), {
88
- "content-style": { minWidth: "120px" },
89
- "content-class": "column-selection-popover-content",
90
- position: "bottom",
91
- trigger: "click"
92
- }, {
93
- content: withCtx(() => [
94
- createElementVNode("div", _hoisted_2, [
95
- createVNode(unref(InputSearch), {
96
- modelValue: searchKey.value,
97
- "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => searchKey.value = $event),
98
- placeholder: "\u8BF7\u8F93\u5165\u680F\u76EE\u540D\u79F0"
99
- }, null, 8, ["modelValue"])
100
- ]),
101
- lastSearchKey.value ? (openBlock(), createElementBlock("div", {
102
- key: 0,
103
- class: "last-search-key",
104
- onClick: clickLastItem
105
- }, "\u4E0A\u4E00\u6B21\u9009\u62E9 ")) : createCommentVNode("v-if", true),
106
- createElementVNode("div", {
107
- style: normalizeStyle({ minHeight: props.height + "px" }),
108
- class: "column-selection-main"
109
- }, [
110
- createElementVNode("div", {
111
- style: normalizeStyle({ height: props.height + "px" }),
112
- class: "column-v"
113
- }, [
114
- createVNode(unref(Scrollbar), {
115
- "outer-class": "column-outer-scrollbar",
116
- style: { "height": "100%", "overflow": "auto" }
117
- }, {
118
- default: withCtx(() => [
119
- createVNode(unref(Tree), {
120
- ref_key: "aTreeRef",
121
- ref: aTreeRef,
122
- data: treeData.value,
123
- "default-expand-all": false,
124
- "field-names": treeOptions,
125
- "block-node": "",
126
- "check-strictly": "",
127
- onSelect: AddColumnSelected
128
- }, null, 8, ["data"])
129
- ]),
130
- _: 1
131
- })
132
- ], 4)
133
- ], 4)
134
- ]),
135
- default: withCtx(() => [
136
- createVNode(unref(Button), { class: "button" }, {
137
- default: withCtx(() => [
138
- createVNode(unref(IconDragDotVertical)),
139
- createTextVNode(" " + toDisplayString(selectAlias.value) + " ", 1),
140
- createVNode(unref(IconCaretRight))
141
- ]),
142
- _: 1
143
- })
144
- ]),
145
- _: 1
146
- })
147
- ]);
148
- };
149
- }
150
- });
151
- export { _sfc_main as default };