hy-dispatch-ui-v3 0.2.53 → 0.2.55

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 +39 -10
  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 +5 -4
  26. package/es/components/hyTree/tree.vue.mjs +5 -0
  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 +40 -11
  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 +5 -4
  82. package/lib/components/hyTree/tree.vue.js +5 -0
  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
@@ -0,0 +1,329 @@
1
+ /* ================================================================== */
2
+ /* Toolbars
3
+ /* ================================================================== */
4
+
5
+ .bigemap-draw-section {
6
+ position: relative;
7
+ }
8
+ .bigemap-draw-drag-icon{
9
+ background-color: #fff;
10
+ border: 2px solid #111;
11
+ border-radius: 10px;
12
+ }
13
+ .bigemap-draw-toolbar {
14
+ margin-top: 12px;
15
+ }
16
+
17
+ .bigemap-draw-toolbar-top {
18
+ margin-top: 0;
19
+ }
20
+
21
+ .bigemap-draw-toolbar-notop a:first-child {
22
+ border-top-right-radius: 0;
23
+ }
24
+
25
+ .bigemap-draw-toolbar-nobottom a:last-child {
26
+ border-bottom-right-radius: 0;
27
+ }
28
+
29
+ .bigemap-draw-toolbar a {
30
+ background-image: url('images/spritesheet.png');
31
+ background-image: linear-gradient(transparent, transparent), url('images/spritesheet.svg');
32
+ background-repeat: no-repeat;
33
+ background-size: 300px 30px;
34
+ background-clip: padding-box;
35
+ }
36
+
37
+ .bigemap-retina .bigemap-draw-toolbar a {
38
+ background-image: url('images/spritesheet-2x.png');
39
+ background-image: linear-gradient(transparent, transparent), url('images/spritesheet.svg');
40
+ }
41
+
42
+ .bigemap-draw a {
43
+ display: block;
44
+ text-align: center;
45
+ text-decoration: none;
46
+ }
47
+
48
+ .bigemap-draw a .sr-only {
49
+ position: absolute;
50
+ width: 1px;
51
+ height: 1px;
52
+ padding: 0;
53
+ margin: -1px;
54
+ overflow: hidden;
55
+ clip: rect(0, 0, 0, 0);
56
+ border: 0;
57
+ }
58
+
59
+ /* ================================================================== */
60
+ /* Toolbar actions menu
61
+ /* ================================================================== */
62
+
63
+ .bigemap-draw-actions {
64
+ display: none;
65
+ list-style: none;
66
+ margin: 0;
67
+ padding: 0;
68
+ position: absolute;
69
+ left: 26px; /* bigemap-draw-toolbar.left + bigemap-draw-toolbar.width */
70
+ top: 0;
71
+ white-space: nowrap;
72
+ }
73
+
74
+ .bigemap-touch .bigemap-draw-actions {
75
+ left: 32px;
76
+ }
77
+
78
+ .bigemap-right .bigemap-draw-actions {
79
+ right: 26px;
80
+ left: auto;
81
+ }
82
+
83
+ .bigemap-touch .bigemap-right .bigemap-draw-actions {
84
+ right: 32px;
85
+ left: auto;
86
+ }
87
+
88
+ .bigemap-draw-actions li {
89
+ display: inline-block;
90
+ }
91
+
92
+ .bigemap-draw-actions li:first-child a {
93
+ border-left: none;
94
+ }
95
+
96
+ .bigemap-draw-actions li:last-child a {
97
+ -webkit-border-radius: 0 4px 4px 0;
98
+ border-radius: 0 4px 4px 0;
99
+ }
100
+
101
+ .bigemap-right .bigemap-draw-actions li:last-child a {
102
+ -webkit-border-radius: 0;
103
+ border-radius: 0;
104
+ }
105
+
106
+ .bigemap-right .bigemap-draw-actions li:first-child a {
107
+ -webkit-border-radius: 4px 0 0 4px;
108
+ border-radius: 4px 0 0 4px;
109
+ }
110
+
111
+ .bigemap-draw-actions a {
112
+ background-color: #919187;
113
+ border-left: 1px solid #AAA;
114
+ color: #FFF;
115
+ font: 11px/19px "Helvetica Neue", Arial, Helvetica, sans-serif;
116
+ line-height: 28px;
117
+ text-decoration: none;
118
+ padding-left: 10px;
119
+ padding-right: 10px;
120
+ height: 28px;
121
+ }
122
+
123
+ .bigemap-touch .bigemap-draw-actions a {
124
+ font-size: 12px;
125
+ line-height: 30px;
126
+ height: 30px;
127
+ }
128
+
129
+ .bigemap-draw-actions-bottom {
130
+ margin-top: 0;
131
+ }
132
+
133
+ .bigemap-draw-actions-top {
134
+ margin-top: 1px;
135
+ }
136
+
137
+ .bigemap-draw-actions-top a,
138
+ .bigemap-draw-actions-bottom a {
139
+ height: 27px;
140
+ line-height: 27px;
141
+ }
142
+
143
+ .bigemap-draw-actions a:hover {
144
+ background-color: #A0A098;
145
+ }
146
+
147
+ .bigemap-draw-actions-top.bigemap-draw-actions-bottom a {
148
+ height: 26px;
149
+ line-height: 26px;
150
+ }
151
+
152
+ /* ================================================================== */
153
+ /* Draw toolbar
154
+ /* ================================================================== */
155
+
156
+ .bigemap-draw-toolbar .bigemap-draw-draw-polyline {
157
+ background-position: -2px -2px;
158
+ }
159
+
160
+ .bigemap-touch .bigemap-draw-toolbar .bigemap-draw-draw-polyline {
161
+ background-position: 0 -1px;
162
+ }
163
+
164
+ .bigemap-draw-toolbar .bigemap-draw-draw-polygon {
165
+ background-position: -31px -2px;
166
+ }
167
+
168
+ .bigemap-touch .bigemap-draw-toolbar .bigemap-draw-draw-polygon {
169
+ background-position: -29px -1px;
170
+ }
171
+
172
+ .bigemap-draw-toolbar .bigemap-draw-draw-rectangle {
173
+ background-position: -62px -2px;
174
+ }
175
+
176
+ .bigemap-touch .bigemap-draw-toolbar .bigemap-draw-draw-rectangle {
177
+ background-position: -60px -1px;
178
+ }
179
+
180
+ .bigemap-draw-toolbar .bigemap-draw-draw-circle {
181
+ background-position: -92px -2px;
182
+ }
183
+
184
+ .bigemap-touch .bigemap-draw-toolbar .bigemap-draw-draw-circle {
185
+ background-position: -90px -1px;
186
+ }
187
+
188
+ .bigemap-draw-toolbar .bigemap-draw-draw-marker {
189
+ background-position: -122px -2px;
190
+ }
191
+
192
+ .bigemap-touch .bigemap-draw-toolbar .bigemap-draw-draw-marker {
193
+ background-position: -120px -1px;
194
+ }
195
+
196
+ .bigemap-draw-toolbar .bigemap-draw-draw-circlemarker {
197
+ background-position: -273px -2px;
198
+ }
199
+
200
+ .bigemap-touch .bigemap-draw-toolbar .bigemap-draw-draw-circlemarker {
201
+ background-position: -271px -1px;
202
+ }
203
+
204
+ /* ================================================================== */
205
+ /* Edit toolbar
206
+ /* ================================================================== */
207
+
208
+ .bigemap-draw-toolbar .bigemap-draw-edit-edit {
209
+ background-position: -152px -2px;
210
+ }
211
+
212
+ .bigemap-touch .bigemap-draw-toolbar .bigemap-draw-edit-edit {
213
+ background-position: -150px -1px;
214
+ }
215
+
216
+ .bigemap-draw-toolbar .bigemap-draw-edit-remove {
217
+ background-position: -182px -2px;
218
+ }
219
+
220
+ .bigemap-touch .bigemap-draw-toolbar .bigemap-draw-edit-remove {
221
+ background-position: -180px -1px;
222
+ }
223
+
224
+ .bigemap-draw-toolbar .bigemap-draw-edit-edit.bigemap-disabled {
225
+ background-position: -212px -2px;
226
+ }
227
+
228
+ .bigemap-touch .bigemap-draw-toolbar .bigemap-draw-edit-edit.bigemap-disabled {
229
+ background-position: -210px -1px;
230
+ }
231
+
232
+ .bigemap-draw-toolbar .bigemap-draw-edit-remove.bigemap-disabled {
233
+ background-position: -242px -2px;
234
+ }
235
+
236
+ .bigemap-touch .bigemap-draw-toolbar .bigemap-draw-edit-remove.bigemap-disabled {
237
+ background-position: -240px -2px;
238
+ }
239
+
240
+ /* ================================================================== */
241
+ /* Drawing styles
242
+ /* ================================================================== */
243
+
244
+ .bigemap-mouse-marker {
245
+ background-color: #fff;
246
+ cursor: crosshair;
247
+ }
248
+
249
+ .bigemap-draw-tooltip {
250
+ background: rgb(54, 54, 54);
251
+ background: rgba(0, 0, 0, 0.5);
252
+ border: 1px solid transparent;
253
+ -webkit-border-radius: 4px;
254
+ border-radius: 4px;
255
+ color: #fff;
256
+ font: 12px/18px "Helvetica Neue", Arial, Helvetica, sans-serif;
257
+ margin-left: 20px;
258
+ margin-top: -21px;
259
+ padding: 4px 8px;
260
+ position: absolute;
261
+ visibility: hidden;
262
+ white-space: nowrap;
263
+ z-index: 6;
264
+ }
265
+
266
+ .bigemap-draw-tooltip:before {
267
+ border-right: 6px solid black;
268
+ border-right-color: rgba(0, 0, 0, 0.5);
269
+ border-top: 6px solid transparent;
270
+ border-bottom: 6px solid transparent;
271
+ content: "";
272
+ position: absolute;
273
+ top: 7px;
274
+ left: -7px;
275
+ }
276
+
277
+ .bigemap-error-draw-tooltip {
278
+ background-color: #F2DEDE;
279
+ border: 1px solid #E6B6BD;
280
+ color: #B94A48;
281
+ }
282
+
283
+ .bigemap-error-draw-tooltip:before {
284
+ border-right-color: #E6B6BD;
285
+ }
286
+
287
+ .bigemap-draw-tooltip-single {
288
+ margin-top: -12px
289
+ }
290
+
291
+ .bigemap-draw-tooltip-subtext {
292
+ color: #f8d5e4;
293
+ }
294
+
295
+ .bigemap-draw-guide-dash {
296
+ font-size: 1%;
297
+ opacity: 0.6;
298
+ position: absolute;
299
+ width: 5px;
300
+ height: 5px;
301
+ }
302
+
303
+ /* ================================================================== */
304
+ /* Edit styles
305
+ /* ================================================================== */
306
+
307
+ .bigemap-edit-marker-selected {
308
+ background-color: rgba(254, 87, 161, 0.1);
309
+ border: 4px dashed rgba(254, 87, 161, 0.6);
310
+ -webkit-border-radius: 4px;
311
+ border-radius: 4px;
312
+ box-sizing: content-box;
313
+ }
314
+
315
+ .bigemap-edit-move {
316
+ cursor: move;
317
+ }
318
+
319
+ .bigemap-edit-resize {
320
+ cursor: pointer;
321
+ }
322
+
323
+ /* ================================================================== */
324
+ /* Old IE styles
325
+ /* ================================================================== */
326
+
327
+ .bigemap-oldie .bigemap-draw-toolbar {
328
+ border: 1px solid #999;
329
+ }