yahee-components 0.0.36 → 0.0.38

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 (51) hide show
  1. package/es/_virtual/dayjs.min.js +1 -1
  2. package/es/_virtual/lodash.js +1 -1
  3. package/es/annex-upload/annex-upload.vue.js +3 -3
  4. package/es/annex-upload/annex-upload.vue2.js +3 -3
  5. package/es/api/server.js +7 -6
  6. package/es/complex-search/complex-search.vue.js +1 -1
  7. package/es/complex-search/complex-search.vue2.js +14 -14
  8. package/es/copy/copy.vue.js +2 -2
  9. package/es/copy/copy.vue2.js +3 -3
  10. package/es/country-platform-shop-condition/country-platform-shop-condition.vue.js +16 -16
  11. package/es/country-platform-shop-condition/country-platform-shop-condition.vue2.js +5 -5
  12. package/es/drop-down-condition/drop-down-condition.vue.js +1 -1
  13. package/es/drop-down-condition/drop-down-condition.vue2.js +5 -5
  14. package/es/drop-down-condition/style/index.css +5 -0
  15. package/es/image-upload/image-upload.vue.js +4 -4
  16. package/es/image-upload/image-upload.vue2.js +8 -8
  17. package/es/input/input.vue.js +2 -2
  18. package/es/left-condition/left-condition-sub.vue.js +7 -7
  19. package/es/left-condition/left-condition-sub.vue2.js +3 -3
  20. package/es/left-condition/left-condition.vue.js +5 -5
  21. package/es/left-condition-enum/left-condition-enum.vue.js +2 -2
  22. package/es/node_modules/.pnpm/axios@1.7.9/node_modules/axios/lib/defaults/index.js +12 -12
  23. package/es/operation-log/operation-log-content.vue.js +9 -9
  24. package/es/operation-log/operation-log-content.vue2.js +3 -3
  25. package/es/operation-log/operation-log-dialog.vue.js +2 -2
  26. package/es/operation-log/operation-log-dialog.vue2.js +3 -3
  27. package/es/operation-log/operation-log-form.vue.js +1 -1
  28. package/es/operation-log/operation-log-form.vue2.js +7 -7
  29. package/es/operation-log/operation-log.vue.js +11 -11
  30. package/es/operation-log/operation-log.vue2.js +8 -8
  31. package/es/packages/components/api/log-server.js +8 -7
  32. package/es/packages/components/api/server.js +5 -4
  33. package/es/packages/components/api/upload-server.js +13 -12
  34. package/es/packages/components/hooks/useImg.js +1 -1
  35. package/es/{node_modules/.pnpm/dayjs@1.11.13 → packages/components}/node_modules/dayjs/dayjs.min.js +1 -1
  36. package/es/{node_modules/.pnpm/lodash@4.17.21 → packages/components}/node_modules/lodash/lodash.js +625 -625
  37. package/es/{node_modules/.pnpm/v3-infinite-loading@1.3.2 → packages/components}/node_modules/v3-infinite-loading/lib/v3-infinite-loading.es.js +15 -15
  38. package/es/style.css +244 -2
  39. package/es/styles/custom.css +5 -2
  40. package/es/styles/globals.css +4 -2
  41. package/es/styles/index.css +5 -2
  42. package/es/styles/variables.css +4 -2
  43. package/es/utils/translate.js +9 -8
  44. package/lib/drop-down-condition/style/index.css +5 -0
  45. package/lib/style.css +244 -2
  46. package/lib/styles/custom.css +5 -2
  47. package/lib/styles/globals.css +4 -2
  48. package/lib/styles/index.css +5 -2
  49. package/lib/styles/variables.css +4 -2
  50. package/package.json +1 -1
  51. /package/es/{node_modules/.pnpm/element-plus@2.9.1_vue@3.5.13_typescript@5.7.2_ → packages/components}/node_modules/element-plus/es/locale/lang/zh-cn.js +0 -0
@@ -1,4 +1,4 @@
1
- import { defineComponent as C, ref as v, toRefs as $, watch as H, onMounted as N, onUnmounted as M, openBlock as h, createElementBlock as x, withDirectives as O, createElementVNode as r, renderSlot as u, createVNode as R, vShow as T, toDisplayString as g, createCommentVNode as y, nextTick as E, pushScopeId as V, popScopeId as q } from "vue";
1
+ import { defineComponent as C, ref as v, toRefs as $, createElementBlock as h, watch as H, onMounted as N, onUnmounted as M, openBlock as x, withDirectives as O, renderSlot as d, createCommentVNode as g, createElementVNode as r, createVNode as R, vShow as T, toDisplayString as y, nextTick as E, pushScopeId as V, popScopeId as q } from "vue";
2
2
  function D(t, o = null) {
3
3
  if (!t)
4
4
  return !1;
@@ -34,7 +34,7 @@ const b = (t, o) => {
34
34
  F
35
35
  ];
36
36
  function J(t, o) {
37
- return h(), x("div", A, G);
37
+ return x(), h("div", A, G);
38
38
  }
39
39
  const K = /* @__PURE__ */ b(j, [["render", J], ["__scopeId", "data-v-d3e37633"]]), P = { class: "state-error" }, Q = /* @__PURE__ */ C({
40
40
  __name: "InfiniteLoading",
@@ -50,8 +50,8 @@ const K = /* @__PURE__ */ b(j, [["render", J], ["__scopeId", "data-v-d3e37633"]]
50
50
  setup(t, { emit: o }) {
51
51
  const e = t;
52
52
  let n = null, a = 0;
53
- const d = v(null), l = v(""), { top: k, firstload: I, distance: _ } = e, { identifier: L, target: S } = $(e), i = {
54
- infiniteLoading: d,
53
+ const u = v(null), l = v(""), { top: k, firstload: I, distance: _ } = e, { identifier: L, target: S } = $(e), i = {
54
+ infiniteLoading: u,
55
55
  top: k,
56
56
  firstload: I,
57
57
  distance: _,
@@ -64,7 +64,7 @@ const K = /* @__PURE__ */ b(j, [["render", J], ["__scopeId", "data-v-d3e37633"]]
64
64
  l.value = "loading";
65
65
  },
66
66
  async loaded() {
67
- l.value = "loaded", await w(i, a), D(d.value, i.parentEl) && i.emit();
67
+ l.value = "loaded", await w(i, a), D(u.value, i.parentEl) && i.emit();
68
68
  },
69
69
  async complete() {
70
70
  l.value = "complete", await w(i, a), n == null || n.disconnect();
@@ -78,40 +78,40 @@ const K = /* @__PURE__ */ b(j, [["render", J], ["__scopeId", "data-v-d3e37633"]]
78
78
  }
79
79
  return H(L, f), N(async () => {
80
80
  i.parentEl = await U(S), f();
81
- }), M(() => n == null ? void 0 : n.disconnect()), (s, m) => (h(), x("div", {
81
+ }), M(() => n == null ? void 0 : n.disconnect()), (s, m) => (x(), h("div", {
82
82
  ref_key: "infiniteLoading",
83
- ref: d,
83
+ ref: u,
84
84
  class: "v3-infinite-loading"
85
85
  }, [
86
86
  O(r("div", null, [
87
- u(s.$slots, "spinner", {}, () => [
87
+ d(s.$slots, "spinner", {}, () => [
88
88
  R(K)
89
89
  ], !0)
90
90
  ], 512), [
91
91
  [T, l.value == "loading"]
92
92
  ]),
93
- l.value == "complete" ? u(s.$slots, "complete", { key: 0 }, () => {
93
+ l.value == "complete" ? d(s.$slots, "complete", { key: 0 }, () => {
94
94
  var c;
95
95
  return [
96
- r("span", null, g(((c = s.slots) == null ? void 0 : c.complete) || "No more results!"), 1)
96
+ r("span", null, y(((c = s.slots) == null ? void 0 : c.complete) || "No more results!"), 1)
97
97
  ];
98
- }, !0) : y("", !0),
99
- l.value == "error" ? u(s.$slots, "error", {
98
+ }, !0) : g("", !0),
99
+ l.value == "error" ? d(s.$slots, "error", {
100
100
  key: 1,
101
101
  retry: i.emit
102
102
  }, () => {
103
103
  var c;
104
104
  return [
105
105
  r("span", P, [
106
- r("span", null, g(((c = s.slots) == null ? void 0 : c.error) || "Oops something went wrong!"), 1),
106
+ r("span", null, y(((c = s.slots) == null ? void 0 : c.error) || "Oops something went wrong!"), 1),
107
107
  r("button", {
108
108
  class: "retry",
109
109
  onClick: m[0] || (m[0] = //@ts-ignore
110
- (...B) => i.emit(...B))
110
+ (...B) => i.emit && i.emit(...B))
111
111
  }, "retry")
112
112
  ])
113
113
  ];
114
- }, !0) : y("", !0)
114
+ }, !0) : g("", !0)
115
115
  ], 512));
116
116
  }
117
117
  }), X = /* @__PURE__ */ b(Q, [["__scopeId", "data-v-4bdee133"]]);
package/es/style.css CHANGED
@@ -115,6 +115,11 @@
115
115
  display: flex;
116
116
  flex-direction: column;
117
117
  }
118
+ .yahee-drop-down-condition .custom-dropdown-button {
119
+ min-height: 22px;
120
+ height: 22px;
121
+ margin-top: 1px;
122
+ }
118
123
 
119
124
  .scrollable-container {
120
125
  max-height: 700px;
@@ -221,6 +226,240 @@
221
226
  width: 100%;
222
227
  }
223
228
 
229
+ .yahee-operation-log {
230
+ min-width: 350px;
231
+ }
232
+ .yahee-operation-log .yahee-annex-upload {
233
+ width: 100%;
234
+ }
235
+ .yahee-operation-log .d-flex {
236
+ display: flex;
237
+ }
238
+ .yahee-operation-log .text-right {
239
+ text-align: right;
240
+ }
241
+ .yahee-operation-log .marginL6 {
242
+ margin-left: 6px;
243
+ }
244
+ .yahee-operation-log .infinite-list-wrapper {
245
+ overflow: hidden;
246
+ padding: 10px 4px;
247
+ }
248
+ .yahee-operation-log .infinite-list-wrapper .list-item-left {
249
+ display: flex;
250
+ justify-content: flex-start;
251
+ gap: 10px;
252
+ margin-bottom: 18px;
253
+ }
254
+ .yahee-operation-log .infinite-list-wrapper .list-item-left .date {
255
+ margin-top: 6px;
256
+ margin-left: 8px;
257
+ }
258
+ .yahee-operation-log .infinite-list-wrapper .list-item-left .name {
259
+ flex: none;
260
+ height: -moz-fit-content;
261
+ height: fit-content;
262
+ padding: 5px 8px;
263
+ text-align: center;
264
+ border-radius: 2px;
265
+ background: #e8ffe8;
266
+ }
267
+ .yahee-operation-log .infinite-list-wrapper .list-item-left .content {
268
+ border: 1px solid #ccc;
269
+ border-radius: 4px;
270
+ padding: 10px;
271
+ margin-left: -8px;
272
+ background: #f7fff7;
273
+ }
274
+ .yahee-operation-log .infinite-list-wrapper .list-item-right {
275
+ display: flex;
276
+ justify-content: flex-end;
277
+ gap: 10px;
278
+ margin-bottom: 18px;
279
+ }
280
+ .yahee-operation-log .infinite-list-wrapper .list-item-right .date {
281
+ margin-top: 6px;
282
+ margin-right: 8px;
283
+ }
284
+ .yahee-operation-log .infinite-list-wrapper .list-item-right .name {
285
+ flex: none;
286
+ height: -moz-fit-content;
287
+ height: fit-content;
288
+ padding: 5px 8px;
289
+ text-align: center;
290
+ border-radius: 2px;
291
+ background: #f1f1f1;
292
+ }
293
+ .yahee-operation-log .infinite-list-wrapper .list-item-right .content {
294
+ text-align: right;
295
+ padding: 10px;
296
+ margin-right: -8px;
297
+ border: 1px solid #f1f1f1;
298
+ border-radius: 4px;
299
+ background: #fafafa;
300
+ }
301
+ .yahee-operation-log .bg-link {
302
+ color: #3366cc;
303
+ cursor: pointer;
304
+ }
305
+ .yahee-operation-log .imgBox {
306
+ display: flex;
307
+ flex-wrap: wrap;
308
+ }
309
+ .yahee-operation-log .timeBox {
310
+ margin: 0 5px;
311
+ }
312
+ .yahee-operation-log .input-with-select {
313
+ width: 150px;
314
+ }
315
+ .yahee-operation-log .lt-created-time {
316
+ display: block;
317
+ }
318
+ .yahee-operation-log .rt-created-time {
319
+ display: inline-block;
320
+ }
321
+ .yahee-operation-log .content-div {
322
+ width: 100%;
323
+ height: 121px;
324
+ border: 1px solid #ccc;
325
+ padding: 10px;
326
+ box-sizing: border-box;
327
+ }
328
+ .yahee-operation-log .titleRemarks {
329
+ font-size: 14px;
330
+ font-weight: bold;
331
+ padding-left: 5px;
332
+ border-bottom: 1px solid #eee;
333
+ height: 30px;
334
+ line-height: 30px;
335
+ }
336
+ .yahee-operation-log .remarkContent {
337
+ position: relative;
338
+ margin-bottom: 20px;
339
+ border: 1px solid #eee;
340
+ }
341
+ .yahee-operation-log .remarkContent .buttonQuill {
342
+ position: absolute;
343
+ bottom: -35px;
344
+ right: 10px;
345
+ display: flex;
346
+ }
347
+ .yahee-operation-log .remarkContent .buttonQuill button {
348
+ margin-right: 10px;
349
+ }
350
+ .yahee-operation-log .content-main {
351
+ width: 100%;
352
+ }
353
+ .yahee-operation-log .span-backG {
354
+ position: relative;
355
+ display: flex;
356
+ min-height: 70px;
357
+ width: 100%;
358
+ margin-top: 10px;
359
+ }
360
+ .yahee-operation-log .bubble-tail {
361
+ position: absolute;
362
+ right: 85px;
363
+ top: 5px;
364
+ width: 0;
365
+ height: 0;
366
+ border-width: 6px;
367
+ border-style: solid;
368
+ border-color: transparent;
369
+ border-left-width: 9px;
370
+ border-left-color: currentColor;
371
+ color: #eee;
372
+ }
373
+ .yahee-operation-log .leftbubble-tail {
374
+ position: absolute;
375
+ left: 84px;
376
+ top: 5px;
377
+ width: 0;
378
+ height: 0;
379
+ border-width: 7px;
380
+ border-style: solid;
381
+ border-color: transparent;
382
+ margin-bottom: -39px;
383
+ border-right-width: 10px;
384
+ border-right-color: currentColor;
385
+ color: #eee;
386
+ }
387
+ .yahee-operation-log .r-text {
388
+ float: right;
389
+ margin-right: 100px;
390
+ max-width: 420px;
391
+ min-height: 52px;
392
+ }
393
+ .yahee-operation-log .r-text-main {
394
+ background: #fafafa;
395
+ border: 1px solid #ccc;
396
+ border-radius: 2px;
397
+ padding: 4px;
398
+ word-break: break-all;
399
+ text-align: right;
400
+ }
401
+ .yahee-operation-log .l-text {
402
+ margin-left: 100px;
403
+ max-width: 420px;
404
+ min-height: 52px;
405
+ }
406
+ .yahee-operation-log .l-text-main {
407
+ background: #f7fff7;
408
+ border: 1px solid #ccc;
409
+ border-radius: 2px;
410
+ padding: 4px;
411
+ display: inline-block;
412
+ min-width: 123px;
413
+ word-break: break-all;
414
+ }
415
+ .yahee-operation-log .r-name {
416
+ border: 1px solid #ccc;
417
+ position: absolute;
418
+ right: 10px;
419
+ width: 65px;
420
+ line-height: 17px;
421
+ padding: 3px 0 5px;
422
+ text-align: center;
423
+ border: 1px solid #ccc;
424
+ border-radius: 2px;
425
+ background: #f1f1f1;
426
+ word-break: break-all;
427
+ }
428
+ .yahee-operation-log .l-name {
429
+ border: 1px solid #ccc;
430
+ position: absolute;
431
+ left: 10px;
432
+ width: 65px;
433
+ line-height: 17px;
434
+ padding: 3px 0 5px;
435
+ text-align: center;
436
+ border: 1px solid #ccc;
437
+ border-radius: 2px;
438
+ background: #e8ffe8;
439
+ float: right;
440
+ word-break: break-all;
441
+ }
442
+ .yahee-operation-log .text-m {
443
+ word-break: break-all;
444
+ white-space: pre-line;
445
+ }
446
+ .yahee-operation-log .loading {
447
+ display: flex;
448
+ justify-content: center;
449
+ align-items: center;
450
+ margin-bottom: 36px;
451
+ }
452
+ .yahee-operation-log .no-more {
453
+ display: flex;
454
+ justify-content: center;
455
+ align-items: center;
456
+ margin-bottom: 36px;
457
+ }
458
+ .yahee-operation-log .el-form--inline .el-form-item {
459
+ margin-right: 10px !important;
460
+ margin-bottom: 6px !important;
461
+ }
462
+
224
463
  :root {
225
464
  --el-color-primary: #3366cc;
226
465
  --el-text-color-regular: #000;
@@ -237,16 +476,18 @@
237
476
  --text-color-a4: #a4a4a4;
238
477
  --text-color-tag: #737373;
239
478
  --text-color-disabled: #eeeef5;
479
+ --text-color-placeholder: #a8abb2;
240
480
  --border-color-base: #e8ecf2;
241
481
  --border-color-light: #e4e7ed;
242
482
  --border-color-lighter: #ebeef5;
243
483
  --border-color-extra-light: #f2f6fc;
244
484
  --bg-color: #f0f3f9;
485
+ --font-size-extra-large: 20px;
245
486
  --font-size-large: 18px;
246
487
  --font-size-medium: 16px;
247
488
  --font-size-base: 14px;
248
- --font-size-small: 12px;
249
- --font-size-extra-small: 10px;
489
+ --font-size-small: 13px;
490
+ --font-size-extra-small: 12px;
250
491
  --font-family: "Hiragino Sans GB", "Microsoft YaHei","WenQuanYi Micro Hei",Verdana, arial,"Open Sans", sans-serif;
251
492
  --integer-font-family: avenir-heavy, pingfang sc, helvetica neue, arial, sans-serif;
252
493
  --box-shadow-base: 0 2px 12px 0 rgba(0, 0, 0, 0.1);
@@ -937,6 +1178,7 @@
937
1178
  --el-border-color-extra-light: var(--border-color-extra-light);
938
1179
  --el-background-color-base: var(--bg-color);
939
1180
  --el-box-shadow-light: var(--box-shadow-base);
1181
+ --el-font-size-extra-large: var(--font-size-extra-large);
940
1182
  --el-font-size-large: var(--font-size-large);
941
1183
  --el-font-size-medium: var(--font-size-medium);
942
1184
  --el-font-size-base: var(--font-size-base);
@@ -15,16 +15,18 @@
15
15
  --text-color-a4: #a4a4a4;
16
16
  --text-color-tag: #737373;
17
17
  --text-color-disabled: #eeeef5;
18
+ --text-color-placeholder: #a8abb2;
18
19
  --border-color-base: #e8ecf2;
19
20
  --border-color-light: #e4e7ed;
20
21
  --border-color-lighter: #ebeef5;
21
22
  --border-color-extra-light: #f2f6fc;
22
23
  --bg-color: #f0f3f9;
24
+ --font-size-extra-large: 20px;
23
25
  --font-size-large: 18px;
24
26
  --font-size-medium: 16px;
25
27
  --font-size-base: 14px;
26
- --font-size-small: 12px;
27
- --font-size-extra-small: 10px;
28
+ --font-size-small: 13px;
29
+ --font-size-extra-small: 12px;
28
30
  --font-family: "Hiragino Sans GB", "Microsoft YaHei","WenQuanYi Micro Hei",Verdana, arial,"Open Sans", sans-serif;
29
31
  --integer-font-family: avenir-heavy, pingfang sc, helvetica neue, arial, sans-serif;
30
32
  --box-shadow-base: 0 2px 12px 0 rgba(0, 0, 0, 0.1);
@@ -51,6 +53,7 @@
51
53
  --el-border-color-extra-light: var(--border-color-extra-light);
52
54
  --el-background-color-base: var(--bg-color);
53
55
  --el-box-shadow-light: var(--box-shadow-base);
56
+ --el-font-size-extra-large: var(--font-size-extra-large);
54
57
  --el-font-size-large: var(--font-size-large);
55
58
  --el-font-size-medium: var(--font-size-medium);
56
59
  --el-font-size-base: var(--font-size-base);
@@ -15,16 +15,18 @@
15
15
  --text-color-a4: #a4a4a4;
16
16
  --text-color-tag: #737373;
17
17
  --text-color-disabled: #eeeef5;
18
+ --text-color-placeholder: #a8abb2;
18
19
  --border-color-base: #e8ecf2;
19
20
  --border-color-light: #e4e7ed;
20
21
  --border-color-lighter: #ebeef5;
21
22
  --border-color-extra-light: #f2f6fc;
22
23
  --bg-color: #f0f3f9;
24
+ --font-size-extra-large: 20px;
23
25
  --font-size-large: 18px;
24
26
  --font-size-medium: 16px;
25
27
  --font-size-base: 14px;
26
- --font-size-small: 12px;
27
- --font-size-extra-small: 10px;
28
+ --font-size-small: 13px;
29
+ --font-size-extra-small: 12px;
28
30
  --font-family: "Hiragino Sans GB", "Microsoft YaHei","WenQuanYi Micro Hei",Verdana, arial,"Open Sans", sans-serif;
29
31
  --integer-font-family: avenir-heavy, pingfang sc, helvetica neue, arial, sans-serif;
30
32
  --box-shadow-base: 0 2px 12px 0 rgba(0, 0, 0, 0.1);
@@ -15,16 +15,18 @@
15
15
  --text-color-a4: #a4a4a4;
16
16
  --text-color-tag: #737373;
17
17
  --text-color-disabled: #eeeef5;
18
+ --text-color-placeholder: #a8abb2;
18
19
  --border-color-base: #e8ecf2;
19
20
  --border-color-light: #e4e7ed;
20
21
  --border-color-lighter: #ebeef5;
21
22
  --border-color-extra-light: #f2f6fc;
22
23
  --bg-color: #f0f3f9;
24
+ --font-size-extra-large: 20px;
23
25
  --font-size-large: 18px;
24
26
  --font-size-medium: 16px;
25
27
  --font-size-base: 14px;
26
- --font-size-small: 12px;
27
- --font-size-extra-small: 10px;
28
+ --font-size-small: 13px;
29
+ --font-size-extra-small: 12px;
28
30
  --font-family: "Hiragino Sans GB", "Microsoft YaHei","WenQuanYi Micro Hei",Verdana, arial,"Open Sans", sans-serif;
29
31
  --integer-font-family: avenir-heavy, pingfang sc, helvetica neue, arial, sans-serif;
30
32
  --box-shadow-base: 0 2px 12px 0 rgba(0, 0, 0, 0.1);
@@ -715,6 +717,7 @@
715
717
  --el-border-color-extra-light: var(--border-color-extra-light);
716
718
  --el-background-color-base: var(--bg-color);
717
719
  --el-box-shadow-light: var(--box-shadow-base);
720
+ --el-font-size-extra-large: var(--font-size-extra-large);
718
721
  --el-font-size-large: var(--font-size-large);
719
722
  --el-font-size-medium: var(--font-size-medium);
720
723
  --el-font-size-base: var(--font-size-base);
@@ -14,16 +14,18 @@
14
14
  --text-color-a4: #a4a4a4;
15
15
  --text-color-tag: #737373;
16
16
  --text-color-disabled: #eeeef5;
17
+ --text-color-placeholder: #a8abb2;
17
18
  --border-color-base: #e8ecf2;
18
19
  --border-color-light: #e4e7ed;
19
20
  --border-color-lighter: #ebeef5;
20
21
  --border-color-extra-light: #f2f6fc;
21
22
  --bg-color: #f0f3f9;
23
+ --font-size-extra-large: 20px;
22
24
  --font-size-large: 18px;
23
25
  --font-size-medium: 16px;
24
26
  --font-size-base: 14px;
25
- --font-size-small: 12px;
26
- --font-size-extra-small: 10px;
27
+ --font-size-small: 13px;
28
+ --font-size-extra-small: 12px;
27
29
  --font-family: "Hiragino Sans GB", "Microsoft YaHei","WenQuanYi Micro Hei",Verdana, arial,"Open Sans", sans-serif;
28
30
  --integer-font-family: avenir-heavy, pingfang sc, helvetica neue, arial, sans-serif;
29
31
  --box-shadow-base: 0 2px 12px 0 rgba(0, 0, 0, 0.1);
@@ -1,9 +1,10 @@
1
1
  import { sessionStorageProxy as g, storage as l } from "./storage.js";
2
2
  import m from "../_virtual/lodash.js";
3
- import h from "../node_modules/.pnpm/axios@1.7.9/node_modules/axios/lib/axios.js";
3
+ import "../node_modules/.pnpm/axios@1.7.9/node_modules/axios/index.js";
4
4
  import { i18nType as c } from "../static/CommonObject.js";
5
- import { Get as y } from "../api/server.js";
6
- const T = (e) => {
5
+ import { Get as h } from "../api/server.js";
6
+ import y from "../node_modules/.pnpm/axios@1.7.9/node_modules/axios/lib/axios.js";
7
+ const $ = (e) => {
7
8
  var i;
8
9
  const t = g.get("employee") || {}, o = d(e);
9
10
  if (o === 0) return e;
@@ -22,7 +23,7 @@ const T = (e) => {
22
23
  id: o,
23
24
  cn: e
24
25
  }, u = "http://api-tools-test.yahee.com.cn:81/api/translation/addTranslate";
25
- return console.log(u, "url"), h.post(u, p, { withCredentials: !0 }).then((f) => {
26
+ return console.log(u, "url"), y.post(u, p, { withCredentials: !0 }).then((f) => {
26
27
  f.data.code;
27
28
  }), e;
28
29
  }
@@ -36,7 +37,7 @@ function d(e) {
36
37
  }
37
38
  return t;
38
39
  }
39
- function $(e, t = "") {
40
+ function j(e, t = "") {
40
41
  const o = l.get("totalEmployees");
41
42
  if (!e || m.isEmpty(o)) return t;
42
43
  const n = g.get("employee");
@@ -49,9 +50,9 @@ function $(e, t = "") {
49
50
  }
50
51
  function E(e) {
51
52
  const t = "/employee/all";
52
- return y(e ? `${t}?idsStr=${e}` : t);
53
+ return h(e ? `${t}?idsStr=${e}` : t);
53
54
  }
54
55
  export {
55
- T as M2,
56
- $ as translateEmployeeName
56
+ $ as M2,
57
+ j as translateEmployeeName
57
58
  };
@@ -11,6 +11,11 @@
11
11
  display: flex;
12
12
  flex-direction: column;
13
13
  }
14
+ .yahee-drop-down-condition .custom-dropdown-button {
15
+ min-height: 22px;
16
+ height: 22px;
17
+ margin-top: 1px;
18
+ }
14
19
 
15
20
  .scrollable-container {
16
21
  max-height: 700px;