hy-dispatch-ui-v3 0.2.52 → 0.2.54

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 (116) hide show
  1. package/dist/tailwind.css +53 -0
  2. package/es/components/hyBatchUploadDialog/batchUploadDialog.vue.mjs +45 -11
  3. package/es/components/hyConfirmDialog/confirmDialog.vue.mjs +12 -22
  4. package/es/components/hyDialog/dialog.vue.mjs +9 -7
  5. package/es/components/hyForm/cpns/arrayItem.vue.mjs +5 -5
  6. package/es/components/hyForm/cpns/extraItem.vue.mjs +6 -1
  7. package/es/components/hyForm/cpns/formItem.vue.mjs +29 -14
  8. package/es/components/hyForm/js/index.mjs +29 -25
  9. package/es/components/hyForm/js/useAppForm.mjs +15 -30
  10. package/es/components/hyIconBox/iconBox.vue.mjs +1 -1
  11. package/es/components/hyIconBox/style/iconBox.scss +1 -1
  12. package/es/components/hyMap/index.mjs +6 -0
  13. package/es/components/hyMap/js/index.mjs +59 -0
  14. package/es/components/hyMap/map.vue.mjs +59 -0
  15. package/es/components/hyOrgCascader/js/index.mjs +53 -0
  16. package/es/components/hyOrgCascader/orgCascader.vue.mjs +22 -25
  17. package/es/components/hySearch/search.vue.mjs +6 -8
  18. package/es/components/hyTable/cpns/columnSelect.vue.mjs +10 -18
  19. package/es/components/hyTable/table.vue.mjs +8 -11
  20. package/es/components/hyTableActionButton/tableActionButton.vue.mjs +6 -3
  21. package/es/components/hyTableForm/batchTableForm.vue.mjs +182 -135
  22. package/es/components/hyTableForm/js/index.mjs +2 -2
  23. package/es/components/hyTableForm/tableForm.vue.mjs +29 -20
  24. package/es/components/hyTooltip/tooltip.vue.mjs +1 -1
  25. package/es/components/hyTree/js/index.mjs +6 -4
  26. package/es/components/hyTree/tree.vue.mjs +7 -1
  27. package/es/components/index.mjs +1 -0
  28. package/es/hooks/index.mjs +1 -0
  29. package/es/hooks/useApi.mjs +11 -5
  30. package/es/hooks/useAudioPlayerConfig.mjs +13 -5
  31. package/es/hooks/useEnsureHyIcon.mjs +11 -5
  32. package/es/hooks/useLocale.mjs +6 -5
  33. package/es/hooks/usePermissionMap.mjs +13 -5
  34. package/es/hooks/useSubscribe.mjs +28 -0
  35. package/es/hooks/useTooltipConfig.mjs +11 -5
  36. package/es/hooks/useUserAvatarMap.mjs +13 -5
  37. package/es/hooks/useVideoPlayerConfig.mjs +13 -5
  38. package/es/index.mjs +3 -2
  39. package/es/static/map/CFCASIPInput.min.js +258 -0
  40. package/es/static/map/MarkerCluster.css +75 -0
  41. package/es/static/map/bigemap.css +838 -0
  42. package/es/static/map/bigemap.js +5 -0
  43. package/es/static/map/bm.geometryutil.js +754 -0
  44. package/es/static/map/bmDraw.css +329 -0
  45. package/es/static/map/bmDraw.js +181 -0
  46. package/es/static/map/car.png +0 -0
  47. package/es/static/map/markercluster.js +2679 -0
  48. package/es/static/map/moveMarker.js +74 -0
  49. package/es/utils/form.mjs +38 -2
  50. package/es/utils/index.mjs +1 -2
  51. package/es/utils/map/hook/bigMap.mjs +1136 -0
  52. package/es/utils/map/hook/gaode.mjs +683 -0
  53. package/es/utils/map/hook/leafletjs.mjs +1336 -0
  54. package/es/utils/map/index.mjs +291 -0
  55. package/es/utils/map/js/mapProxy.mjs +38 -0
  56. package/es/utils/map/js/webgis.mjs +153 -0
  57. package/es/version.mjs +1 -1
  58. package/lib/components/hyBatchUploadDialog/batchUploadDialog.vue.js +46 -12
  59. package/lib/components/hyConfirmDialog/confirmDialog.vue.js +13 -23
  60. package/lib/components/hyDialog/dialog.vue.js +9 -7
  61. package/lib/components/hyForm/cpns/arrayItem.vue.js +4 -4
  62. package/lib/components/hyForm/cpns/extraItem.vue.js +6 -1
  63. package/lib/components/hyForm/cpns/formItem.vue.js +26 -11
  64. package/lib/components/hyForm/js/index.js +29 -23
  65. package/lib/components/hyForm/js/useAppForm.js +14 -29
  66. package/lib/components/hyIconBox/iconBox.vue.js +1 -1
  67. package/lib/components/hyIconBox/style/iconBox.scss +1 -1
  68. package/lib/components/hyMap/index.js +11 -0
  69. package/lib/components/hyMap/js/index.js +61 -0
  70. package/lib/components/hyMap/map.vue.js +63 -0
  71. package/lib/components/hyOrgCascader/js/index.js +56 -0
  72. package/lib/components/hyOrgCascader/orgCascader.vue.js +21 -24
  73. package/lib/components/hySearch/search.vue.js +4 -6
  74. package/lib/components/hyTable/cpns/columnSelect.vue.js +12 -20
  75. package/lib/components/hyTable/table.vue.js +17 -20
  76. package/lib/components/hyTableActionButton/tableActionButton.vue.js +5 -2
  77. package/lib/components/hyTableForm/batchTableForm.vue.js +181 -134
  78. package/lib/components/hyTableForm/js/index.js +1 -1
  79. package/lib/components/hyTableForm/tableForm.vue.js +29 -20
  80. package/lib/components/hyTooltip/tooltip.vue.js +1 -1
  81. package/lib/components/hyTree/js/index.js +6 -4
  82. package/lib/components/hyTree/tree.vue.js +7 -1
  83. package/lib/components/index.js +22 -20
  84. package/lib/hooks/index.js +3 -0
  85. package/lib/hooks/useApi.js +10 -4
  86. package/lib/hooks/useAudioPlayerConfig.js +12 -4
  87. package/lib/hooks/useEnsureHyIcon.js +10 -4
  88. package/lib/hooks/useLocale.js +5 -4
  89. package/lib/hooks/usePermissionMap.js +12 -4
  90. package/lib/hooks/useSubscribe.js +31 -0
  91. package/lib/hooks/useTooltipConfig.js +10 -4
  92. package/lib/hooks/useUserAvatarMap.js +12 -4
  93. package/lib/hooks/useVideoPlayerConfig.js +12 -4
  94. package/lib/index.js +27 -22
  95. package/lib/static/map/CFCASIPInput.min.js +258 -0
  96. package/lib/static/map/MarkerCluster.css +75 -0
  97. package/lib/static/map/bigemap.css +838 -0
  98. package/lib/static/map/bigemap.js +5 -0
  99. package/lib/static/map/bm.geometryutil.js +754 -0
  100. package/lib/static/map/bmDraw.css +329 -0
  101. package/lib/static/map/bmDraw.js +181 -0
  102. package/lib/static/map/car.png +0 -0
  103. package/lib/static/map/markercluster.js +2679 -0
  104. package/lib/static/map/moveMarker.js +74 -0
  105. package/lib/utils/form.js +38 -0
  106. package/lib/utils/index.js +2 -2
  107. package/lib/utils/map/hook/bigMap.js +1140 -0
  108. package/lib/utils/map/hook/gaode.js +687 -0
  109. package/lib/utils/map/hook/leafletjs.js +1360 -0
  110. package/lib/utils/map/index.js +298 -0
  111. package/lib/utils/map/js/mapProxy.js +44 -0
  112. package/lib/utils/map/js/webgis.js +162 -0
  113. package/lib/version.js +1 -1
  114. package/package.json +16 -1
  115. package/es/utils/bus.mjs +0 -5
  116. package/lib/utils/bus.js +0 -7
@@ -54,7 +54,7 @@ const _sfc_main = /* @__PURE__ */ Object.assign(__default__, {
54
54
  return (_ctx, _cache) => {
55
55
  return openBlock(), createElementBlock("div", { class: "hy-icon-box" }, [
56
56
  createVNode(unref(ElTooltip), {
57
- "open-delay": 500,
57
+ "show-after": 500,
58
58
  class: "item",
59
59
  effect: "dark",
60
60
  placement: "top",
@@ -1,5 +1,6 @@
1
1
  .hy-icon-box {
2
2
  display: inline-block;
3
+ color: rgb(var(--hy-main));
3
4
  border-radius: 4px;
4
5
  & + & {
5
6
  margin-left: 12px;
@@ -11,7 +12,6 @@
11
12
  justify-content: center;
12
13
  padding: 5px;
13
14
  user-select: none;
14
- color: rgb(var(--hy-main));
15
15
  border-radius: 100%;
16
16
  background:
17
17
  radial-gradient(
@@ -0,0 +1,6 @@
1
+ import _sfc_main from './map.vue.mjs';
2
+ import { withInstall } from '../../utils/handler.mjs';
3
+
4
+ const HyMap = withInstall(_sfc_main);
5
+
6
+ export { HyMap, HyMap as default };
@@ -0,0 +1,59 @@
1
+ import Map from '../../../utils/map/index.mjs';
2
+ import { nextTick } from 'vue';
3
+
4
+ const useAppMapWrapper = (hy) => {
5
+ const {
6
+ props: { mapConfig },
7
+ mapRef,
8
+ emits
9
+ } = hy;
10
+ const hyMap = null;
11
+ const map = null;
12
+ function newMap(mapType) {
13
+ hy.hyMap = new Map({
14
+ ...mapConfig,
15
+ mapType,
16
+ BM: window.BM
17
+ // defaultMapStyle: 'amap://styles/b5d280643c6525a8f6b2a07521f639ef', // 地图样式
18
+ // bmHttpsUrl: 'http://www.bigemap.com:9000' /* 内网部署的地址 */,
19
+ // bmUiName:
20
+ // 'bigemap.amap-map' /* bmUiName 内网部署的地址里面的离线地图名称 */,
21
+ // crs: null,
22
+ // layersUrlList: [
23
+ // {
24
+ // layersUrls:
25
+ // 'http://t7.tianditu.gov.cn/vec_w/wmts?SERVICE=WMTS&REQUEST=GetTile&VERSION=1.0.0&LAYER=vec&STYLE=default&TILEMATRIXSET=w&FORMAT=tiles&TILEMATRIX={z}&TILEROW={y}&TILECOL={x}&tk={mapKey},http://t7.tianditu.gov.cn/cva_w/wmts?SERVICE=WMTS&REQUEST=GetTile&VERSION=1.0.0&LAYER=cva&STYLE=default&TILEMATRIXSET=w&FORMAT=tiles&TILECOL={x}&TILEROW={y}&TILEMATRIX={z}&tk={mapKey}',
26
+ // filter: mapFilters[0].filter,
27
+ // key: 'db848f59ddd50debfb774811bbdfb327',
28
+ // },
29
+ // ], // 地图瓦片地址
30
+ });
31
+ setTimeout(() => {
32
+ hy.initMap();
33
+ }, 800);
34
+ }
35
+ function initMap() {
36
+ hy.map = hy.hyMap.InitMap(mapRef.value, {
37
+ minZoom: mapConfig.minZoom || 8,
38
+ maxZoom: mapConfig.maxZoom || 18,
39
+ center: mapConfig.center || {
40
+ lat: 22.553681,
41
+ lng: 113.931936
42
+ },
43
+ zoom: mapConfig.zoom || 14,
44
+ completeCallbacks: () => {
45
+ nextTick(() => {
46
+ emits("complete", hy.hyMap, hy.map);
47
+ });
48
+ }
49
+ });
50
+ }
51
+ return {
52
+ hyMap,
53
+ map,
54
+ newMap,
55
+ initMap
56
+ };
57
+ };
58
+
59
+ export { useAppMapWrapper };
@@ -0,0 +1,59 @@
1
+ import { ref, onMounted, openBlock, createElementBlock, createElementVNode } from 'vue';
2
+ import { useAppMapWrapper } from './js/index.mjs';
3
+ import { useMixins } from '../../hooks/useMixins.mjs';
4
+
5
+ import "@hy-dispatch-ui-v3/static/map/bigemap.css";
6
+
7
+ import "@hy-dispatch-ui-v3/static/map/MarkerCluster.css";
8
+
9
+ import "@hy-dispatch-ui-v3/static/map/bmDraw.css";
10
+
11
+ const _sfc_main = {
12
+ __name: "map",
13
+ props: {
14
+ // 地图配置
15
+ mapConfig: {
16
+ type: Object,
17
+ default: () => ({})
18
+ },
19
+ // 地图类型 gaode leaflet bugMap
20
+ mapType: {
21
+ type: String,
22
+ default: "gaode"
23
+ }
24
+ },
25
+ emits: ["complete"],
26
+ setup(__props, { emit: __emit }) {
27
+ const props = __props;
28
+ const emits = __emit;
29
+ const mapRef = ref();
30
+ const { newMap } = useMixins(
31
+ {
32
+ props,
33
+ emits,
34
+ mapRef
35
+ },
36
+ [useAppMapWrapper]
37
+ );
38
+ onMounted(() => {
39
+ newMap(props.mapType);
40
+ });
41
+ return (_ctx, _cache) => {
42
+ return openBlock(), createElementBlock("div", { class: "w-full h-full p-5 box-border border-border border relative" }, [
43
+ createElementVNode(
44
+ "div",
45
+ {
46
+ ref_key: "mapRef",
47
+ ref: mapRef,
48
+ class: "w-full h-full rounded overflow-hidden"
49
+ },
50
+ null,
51
+ 512
52
+ /* NEED_PATCH */
53
+ )
54
+ ]);
55
+ };
56
+ }
57
+ };
58
+
59
+ export { _sfc_main as default };
@@ -0,0 +1,53 @@
1
+ import axios from 'axios';
2
+ import { unref } from 'vue';
3
+ import { useApi } from '../../../hooks/useApi.mjs';
4
+
5
+ let throttleFn = null;
6
+ let cancelSource = null;
7
+ function getOrgTreeSimple() {
8
+ const { api } = useApi();
9
+ if (!throttleFn) {
10
+ if (cancelSource) {
11
+ cancelSource.cancel("\u4E2D\u65AD\u8BF7\u6C42");
12
+ }
13
+ cancelSource = axios.CancelToken.source();
14
+ throttleFn = new Promise((resolve, reject) => {
15
+ unref(api).post(
16
+ "organization/orgTreeSimple",
17
+ {},
18
+ { cancelToken: cancelSource.token }
19
+ ).then((res) => {
20
+ resolve(res.data);
21
+ throttleFn = null;
22
+ }).catch((err) => {
23
+ reject(err);
24
+ });
25
+ });
26
+ return throttleFn;
27
+ } else {
28
+ return throttleFn;
29
+ }
30
+ }
31
+ function orgTreeDatahandler(data) {
32
+ const cascaderMap = /* @__PURE__ */ new Map();
33
+ const handler = (list = [], parentIdsList = []) => {
34
+ (list || []).forEach((item) => {
35
+ item.label = item.companyName;
36
+ item.value = item.id;
37
+ item.parentIdsList = [...parentIdsList, item.id];
38
+ cascaderMap.set(item.value, item);
39
+ if (item.children && item.children.length > 0) {
40
+ handler(item.children, item.parentIdsList);
41
+ } else {
42
+ delete item.children;
43
+ }
44
+ });
45
+ };
46
+ handler(data);
47
+ return {
48
+ cascaderData: data,
49
+ cascaderDataMap: cascaderMap
50
+ };
51
+ }
52
+
53
+ export { getOrgTreeSimple, orgTreeDatahandler };
@@ -1,7 +1,8 @@
1
- import { defineComponent, useModel, useTemplateRef, ref, computed, watch, openBlock, createElementBlock, createElementVNode, normalizeStyle, createVNode, unref, renderSlot, toDisplayString, createCommentVNode, createBlock, normalizeClass, mergeModels } from 'vue';
1
+ import { defineComponent, useModel, useTemplateRef, ref, computed, watch, onUnmounted, openBlock, createElementBlock, createElementVNode, normalizeStyle, createVNode, unref, renderSlot, toDisplayString, createCommentVNode, createBlock, normalizeClass, mergeModels } from 'vue';
2
2
  import { ElCascader } from 'element-plus';
3
- import { useApi } from '../../hooks/useApi.mjs';
3
+ import { getOrgTreeSimple, orgTreeDatahandler } from './js/index.mjs';
4
4
  import { useLocale } from '../../hooks/useLocale.mjs';
5
+ import { useSubscribe } from '../../hooks/useSubscribe.mjs';
5
6
 
6
7
  import "./style/orgCascader.scss";
7
8
 
@@ -81,9 +82,10 @@ const _sfc_main = /* @__PURE__ */ Object.assign(__default__, {
81
82
  setup(__props, { emit: __emit }) {
82
83
  const props = __props;
83
84
  const emits = __emit;
84
- const { api } = useApi();
85
+ const { subOrgCascader, unsubOrgCascader } = useSubscribe();
85
86
  const modelValue = useModel(__props, "modelValue");
86
87
  const cascaderRef = useTemplateRef("cascaderRef");
88
+ const loading = ref(true);
87
89
  const focusType = ref(false);
88
90
  const cascaderValue = ref(null);
89
91
  const cascaderOptions = ref([]);
@@ -92,29 +94,16 @@ const _sfc_main = /* @__PURE__ */ Object.assign(__default__, {
92
94
  const target = cascaderValueMap.value.get(modelValue.value);
93
95
  return target?.companyName;
94
96
  });
95
- function getCascaderData() {
96
- unref(api).post("organization/orgTreeSimple").then((res) => {
97
- handlerData(res.data);
98
- });
97
+ async function getCascaderData() {
98
+ loading.value = true;
99
+ const data = await getOrgTreeSimple();
100
+ handlerData(data || []);
101
+ loading.value = false;
99
102
  }
100
103
  function handlerData(data) {
101
- const cascaderMap = /* @__PURE__ */ new Map();
102
- const handler = (list = [], parentIdsList = []) => {
103
- (list || []).forEach((item) => {
104
- item.label = item.companyName;
105
- item.value = item.id;
106
- item.parentIdsList = [...parentIdsList, item.id];
107
- cascaderMap.set(item.value, item);
108
- if (item.children && item.children.length > 0) {
109
- handler(item.children, item.parentIdsList);
110
- } else {
111
- delete item.children;
112
- }
113
- });
114
- };
115
- handler(data);
116
- cascaderOptions.value = data;
117
- cascaderValueMap.value = cascaderMap;
104
+ const { cascaderData, cascaderDataMap } = orgTreeDatahandler(data);
105
+ cascaderOptions.value = cascaderData;
106
+ cascaderValueMap.value = cascaderDataMap;
118
107
  if (modelValue.value) {
119
108
  setDefaultValue(modelValue.value);
120
109
  }
@@ -142,6 +131,7 @@ const _sfc_main = /* @__PURE__ */ Object.assign(__default__, {
142
131
  }
143
132
  if (props.defaultGetData) {
144
133
  getCascaderData();
134
+ subOrgCascader(getCascaderData);
145
135
  }
146
136
  watch(
147
137
  () => props.options,
@@ -159,6 +149,9 @@ const _sfc_main = /* @__PURE__ */ Object.assign(__default__, {
159
149
  },
160
150
  { immediate: true, deep: true }
161
151
  );
152
+ onUnmounted(() => {
153
+ unsubOrgCascader(getCascaderData);
154
+ });
162
155
  return (_ctx, _cache) => {
163
156
  return openBlock(), createElementBlock("div", { class: "relative" }, [
164
157
  __props.contentType ? (openBlock(), createElementBlock("div", {
@@ -231,7 +224,11 @@ const _sfc_main = /* @__PURE__ */ Object.assign(__default__, {
231
224
  "show-all-levels": false,
232
225
  "virtual-scroll": "",
233
226
  onChange: onChangeHanlder
234
- }, null, 8, ["modelValue", "onUpdate:modelValue", "class", "size", "options", "clearable", "disabled", "placeholder"]))
227
+ }, null, 8, ["modelValue", "onUpdate:modelValue", "class", "size", "options", "clearable", "disabled", "placeholder"])),
228
+ loading.value ? (openBlock(), createElementBlock("div", {
229
+ key: 2,
230
+ class: "absolute left-0 right-0 top-0 bottom-0 cursor-wait"
231
+ })) : createCommentVNode("v-if", true)
235
232
  ]);
236
233
  };
237
234
  }
@@ -1,11 +1,12 @@
1
- import { defineComponent, useTemplateRef, computed, unref, onUnmounted, openBlock, createElementBlock, normalizeClass, createElementVNode, createVNode, withCtx, toDisplayString, Fragment, createCommentVNode, withDirectives, normalizeStyle, vShow, mergeProps, renderList, createBlock, createSlots, renderSlot } from 'vue';
1
+ import { defineComponent, useTemplateRef, computed, unref, onUnmounted, openBlock, createElementBlock, normalizeClass, createElementVNode, createVNode, toDisplayString, Fragment, createCommentVNode, withDirectives, normalizeStyle, withCtx, vShow, mergeProps, renderList, createBlock, createSlots, renderSlot } from 'vue';
2
2
  import { ElIcon, ElForm } from 'element-plus';
3
- import { Filter, ArrowDown } from '@element-plus/icons-vue';
3
+ import { ArrowDown } from '@element-plus/icons-vue';
4
4
  import _sfc_main$1 from './cpns/searchItem.vue.mjs';
5
5
  import { useShrink, isEmptyValue } from './js/index.mjs';
6
6
  import { resetAppSearchValue } from './js/useAppSearch.mjs';
7
7
  import { useLocale } from '../../hooks/useLocale.mjs';
8
8
  import { isArray, isObject } from '../../utils/is.mjs';
9
+ import { HyIcon } from '../hyIcon/index.mjs';
9
10
 
10
11
  import "./style/search.scss";
11
12
 
@@ -134,12 +135,9 @@ const _sfc_main = /* @__PURE__ */ Object.assign(__default__, {
134
135
  },
135
136
  [
136
137
  createElementVNode("div", { class: "flex items-center gap-2" }, [
137
- createVNode(unref(ElIcon), { size: "12" }, {
138
- default: withCtx(() => [
139
- createVNode(unref(Filter))
140
- ]),
141
- _: 1
142
- /* STABLE */
138
+ createVNode(unref(HyIcon), {
139
+ "svg-name": "ops-button-screen",
140
+ "class-name": "!w-3 !h-3"
143
141
  }),
144
142
  createElementVNode(
145
143
  "span",
@@ -1,10 +1,11 @@
1
1
  import { useTemplateRef, ref, computed, unref, watch, openBlock, createBlock, withCtx, createElementVNode, toDisplayString, createVNode, normalizeClass, createCommentVNode, createElementBlock, Fragment, renderList, createTextVNode, nextTick } from 'vue';
2
2
  import Sortable from 'sortablejs';
3
- import { ElPopover, ElIcon, ElCheckboxGroup, ElMessage } from 'element-plus';
4
- import { CircleClose, Warning, Edit } from '@element-plus/icons-vue';
3
+ import { ElPopover, ElCheckboxGroup, ElIcon, ElMessage } from 'element-plus';
4
+ import { Warning } from '@element-plus/icons-vue';
5
5
  import { tableColumnShowHandler, tableColumnHandler } from '../js/index.mjs';
6
6
  import _sfc_main$1 from './columnSelectItem.vue.mjs';
7
7
  import { useLocale } from '../../../hooks/useLocale.mjs';
8
+ import { HyIcon } from '../../hyIcon/index.mjs';
8
9
  import { HyTooltip } from '../../hyTooltip/index.mjs';
9
10
  import { HyButton } from '../../hyButton/index.mjs';
10
11
  import { isEmpty } from '../../../utils/is.mjs';
@@ -174,12 +175,10 @@ const _sfc_main = {
174
175
  {
175
176
  reference: withCtx(() => [
176
177
  createElementVNode("div", { class: "flex items-center gap-[10px] clickBox px-3 rounded hover:bg-background-2" }, [
177
- createVNode(unref(ElIcon), null, {
178
- default: withCtx(() => [
179
- createVNode(unref(Edit))
180
- ]),
181
- _: 1
182
- /* STABLE */
178
+ createCommentVNode(" <el-icon><Edit /></el-icon> "),
179
+ createVNode(unref(HyIcon), {
180
+ "svg-name": "ops-button-edit-column",
181
+ "class-name": "!w-3 !h-3"
183
182
  }),
184
183
  createElementVNode(
185
184
  "span",
@@ -200,17 +199,10 @@ const _sfc_main = {
200
199
  1
201
200
  /* TEXT */
202
201
  ),
203
- createVNode(unref(ElIcon), {
204
- class: "clickBox",
205
- color: "rgb(var(--hy-danger-2))",
206
- size: "18",
202
+ createVNode(unref(HyIcon), {
203
+ "svg-name": "layout-dialog-close-v2",
204
+ "class-name": "!w-[18px] !h-[18px] cursor-pointer",
207
205
  onClick: closePopover
208
- }, {
209
- default: withCtx(() => [
210
- createVNode(unref(CircleClose))
211
- ]),
212
- _: 1
213
- /* STABLE */
214
206
  })
215
207
  ]),
216
208
  createElementVNode("div", { class: "h-[364px] px-4 pt-[11px] pb-1 scroll-body overflow-y-auto" }, [
@@ -1,6 +1,6 @@
1
- import { defineComponent, useModel, useTemplateRef, openBlock, createElementBlock, createCommentVNode, createElementVNode, createBlock, unref, createVNode, withCtx, toDisplayString, renderSlot, normalizeClass, createSlots, renderList, normalizeProps, guardReactiveProps, mergeProps, Fragment, withModifiers, mergeModels } from 'vue';
2
- import { ElIcon, ElTable, ElTableColumn, ElDropdown, ElDropdownMenu, ElDropdownItem, ElAutoResizer, ElPagination } from 'element-plus';
3
- import { Filter, MoreFilled } from '@element-plus/icons-vue';
1
+ import { defineComponent, useModel, useTemplateRef, openBlock, createElementBlock, createCommentVNode, createElementVNode, createBlock, unref, createVNode, toDisplayString, withCtx, renderSlot, normalizeClass, createSlots, renderList, normalizeProps, guardReactiveProps, mergeProps, Fragment, withModifiers, mergeModels } from 'vue';
2
+ import { ElTable, ElTableColumn, ElDropdown, ElIcon, ElDropdownMenu, ElDropdownItem, ElAutoResizer, ElPagination } from 'element-plus';
3
+ import { MoreFilled } from '@element-plus/icons-vue';
4
4
  import { operatorFilterHandler, operatorClickHandler, operatorDisabledHandler, operatorDisableTextdHandler, renderContentHandler, renderHeaderHandler, useAppTableWrapper } from './js/index.mjs';
5
5
  import { useAppTableSearch } from './js/search.mjs';
6
6
  import _sfc_main$2 from './cpns/headerItem.vue.mjs';
@@ -8,10 +8,10 @@ import _sfc_main$1 from './cpns/columnSelect.vue.mjs';
8
8
  import _sfc_main$3 from './cpns/virtualTable.vue.mjs';
9
9
  import { useLocale } from '../../hooks/useLocale.mjs';
10
10
  import { useMixins } from '../../hooks/useMixins.mjs';
11
+ import { HyIcon } from '../hyIcon/index.mjs';
11
12
  import { HyTooltip } from '../hyTooltip/index.mjs';
12
13
  import { HyInputSearch } from '../hyInput/index.mjs';
13
14
  import { HyButton } from '../hyButton/index.mjs';
14
- import { HyIcon } from '../hyIcon/index.mjs';
15
15
  import { HySearch } from '../hySearch/index.mjs';
16
16
  import { parseRem } from '../../utils/adaptive.mjs';
17
17
  import { isEmpty } from '../../utils/is.mjs';
@@ -62,7 +62,7 @@ const _sfc_main = /* @__PURE__ */ Object.assign(__default__, {
62
62
  isShowAllSelect: {
63
63
  // 全选禁用
64
64
  type: Boolean,
65
- default: () => false
65
+ default: true
66
66
  },
67
67
  emptyText: {
68
68
  // 空数据时显示的文本内容
@@ -304,12 +304,9 @@ const _sfc_main = /* @__PURE__ */ Object.assign(__default__, {
304
304
  class: "h-[32px] flex items-center gap-[10px] clickBox px-3 select-none rounded hover:bg-background-2",
305
305
  onClick: unref(switchShowFilter)
306
306
  }, [
307
- createVNode(unref(ElIcon), { size: "12" }, {
308
- default: withCtx(() => [
309
- createVNode(unref(Filter))
310
- ]),
311
- _: 1
312
- /* STABLE */
307
+ createVNode(unref(HyIcon), {
308
+ "svg-name": "ops-button-screen",
309
+ "class-name": "!w-3 !h-3"
313
310
  }),
314
311
  createElementVNode(
315
312
  "span",
@@ -5,7 +5,7 @@ import { useLocale } from '../../hooks/useLocale.mjs';
5
5
  import { HyTooltip } from '../hyTooltip/index.mjs';
6
6
  import { HyButton } from '../hyButton/index.mjs';
7
7
  import { HyIcon } from '../hyIcon/index.mjs';
8
- import { isPermission, isBoolean } from '../../utils/is.mjs';
8
+ import { isPermission } from '../../utils/is.mjs';
9
9
 
10
10
  import "./style/tableActionButton.scss";
11
11
 
@@ -115,8 +115,11 @@ const _sfc_main = /* @__PURE__ */ Object.assign(__default__, {
115
115
  return false;
116
116
  }
117
117
  const show = unref(operate.show);
118
- if (isBoolean(show)) return show;
119
- return true;
118
+ if (operate.show === null || operate.show === void 0) {
119
+ return true;
120
+ } else {
121
+ return !!show;
122
+ }
120
123
  }
121
124
  watch(() => props.operateList, setSelectedData, { deep: true, immediate: true });
122
125
  __expose({});