@baosight/erm 1.3.1 → 1.3.3

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/lib/index.d.ts CHANGED
@@ -4,8 +4,10 @@ import ermList from "./ermList";
4
4
  import ermForm from "./ermForm";
5
5
  import ermAttach from "./ermAttach";
6
6
  import ermGrid from "./ermGrid";
7
+ import * as EFMUI from "@baosight/efm";
8
+ import * as EFM from '@baosight/efm';
7
9
  import { ermFormHelper, ermListHelper } from "./utils/ermHelper";
8
- export { ermList, ermForm, ermAttach, ermFormHelper, ermListHelper, ermGrid };
10
+ export { ermList, ermForm, ermAttach, ermFormHelper, ermListHelper, ermGrid, EFM, EFMUI };
9
11
  declare const _default: {
10
12
  install: (app: App<any>) => void;
11
13
  };
package/lib/index.esm.css CHANGED
@@ -1,106 +1,4 @@
1
1
  @charset "UTF-8";
2
- .baseStyle[data-v-a440e92e] {
3
- width: 99%;
4
- height: 100%;
5
- }
6
-
7
- [data-v-a440e92e] .ag-header-group-cell {
8
- border-right-style: solid;
9
- border-right-width: 1px;
10
- border-right-color: #cecece;
11
- display: flex;
12
- justify-content: center;
13
- align-items: center;
14
- }
15
-
16
- [data-v-a440e92e] .ag-header-cell-label {
17
- display: flex;
18
- justify-content: center;
19
- align-items: center;
20
- }
21
-
22
- [data-v-a440e92e] .ag-root-wrapper {
23
- cursor: default;
24
- position: relative;
25
- display: flex;
26
- flex-direction: column;
27
- overflow: hidden;
28
- white-space: normal;
29
- border: 1px solid #cecece !important; /* 设置最外边的边框 */
30
- margin-right: 2px !important;
31
- margin-left: 2px !important;
32
- margin-bottom: 60px !important;
33
- }
34
-
35
- [data-v-a440e92e] .ag-header-cell:first-child .ag-header-cell-label {
36
- text-align: center !important;
37
- }
38
-
39
- .ag-theme-alpine[data-v-a440e92e] {
40
- /* and between columns */
41
- --ag-cell-horizontal-border: solid #cecece;
42
- --ag-header-cell-horizontal-border: solid #cecece;
43
- --ag-header-foreground-color: #3a7af9;
44
- }
45
-
46
- [data-v-a440e92e] .ag-header-cell {
47
- border-right-style: solid;
48
- border-right-width: 1px;
49
- border-right-color: #cecece; /* 深灰色底边框 */
50
- }
51
-
52
- /* 如果你想要更具体的样式,比如只针对第一个表头列 */
53
- .ag-header-cell[data-v-a440e92e]:first-child {
54
- border-left: none; /* 移除左侧边框,如果需要的话 */
55
- }
56
-
57
- /* 或者针对最后一列 */
58
- .ag-header-cell[data-v-a440e92e]:last-child {
59
- border-right: none; /* 移除右侧边框,如果需要的话 */
60
- }
61
-
62
- /* 选中行的样式 */
63
- [data-v-a440e92e] .ag-row-selected::before {
64
- background-color: rgba(183, 249, 177, 0.5803921569);
65
- }
66
-
67
- /* 选中焦点行的样式 */
68
- [data-v-a440e92e] .ag-row-hover.ag-row-selected::before {
69
- background-color: rgba(183, 249, 177, 0.5803921569);
70
- background-image: none;
71
- }
72
-
73
- /* 表头的样式 */
74
- [data-v-a440e92e] .ag-header {
75
- background-color: #dbefff;
76
- text-align: center;
77
- }
78
-
79
- [data-v-a440e92e] .ag-checkbox-input-wrapper.ag-disabled {
80
- opacity: 1;
81
- }
82
-
83
- /* 默认行的背景色 */
84
- [data-v-a440e92e] .ag-row-odd {
85
- background-color: aliceblue;
86
- }
87
-
88
- /* 取消选中行的样式 */
89
- [data-v-a440e92e] .ag-row-hover:not(.ag-row-selected)::before {
90
- background-color: #ecf0f1;
91
- }
92
-
93
- .loading-overlay[data-v-a440e92e] {
94
- position: absolute;
95
- top: 0;
96
- left: 0;
97
- right: 0;
98
- bottom: 0;
99
- background-color: rgba(255, 255, 255, 0.5);
100
- display: flex;
101
- z-index: 1000;
102
- }
103
-
104
2
  .rowContent[data-v-1b695265] {
105
3
  display: flex;
106
4
  flex-direction: row;
@@ -171,6 +69,67 @@
171
69
  border-color: red;
172
70
  }
173
71
  }
72
+ .container[data-v-87a0d832] {
73
+ width: 100%;
74
+ height: 100%;
75
+ position: relative;
76
+ }
77
+
78
+ .box[data-v-87a0d832] {
79
+ display: flex;
80
+ justify-content: center;
81
+ align-items: center;
82
+ height: 100vh;
83
+ }
84
+
85
+ .goods-card[data-v-87a0d832] {
86
+ display: flex;
87
+ flex-direction: column;
88
+ justify-content: flex-start;
89
+ }
90
+
91
+ .card-desc[data-v-87a0d832] {
92
+ text-align: left;
93
+ }
94
+
95
+ .button-area[data-v-87a0d832] {
96
+ display: flex;
97
+ justify-content: space-between;
98
+ align-items: center;
99
+ top: 20px;
100
+ margin-top: 5%;
101
+ margin-left: 5%;
102
+ margin-right: 5%;
103
+ margin-bottom: 5%;
104
+ position: sticky;
105
+ z-index: 1000;
106
+ }
107
+
108
+ .button-type[data-v-87a0d832] {
109
+ font-size: 14px;
110
+ border-radius: 10px;
111
+ font-family: "阿里巴巴普惠体Regular";
112
+ position: relative;
113
+ }
114
+
115
+ .slot-left[data-v-87a0d832] {
116
+ margin-top: 20px;
117
+ margin-left: 20px;
118
+ width: 100%;
119
+ height: 60px;
120
+ }
121
+
122
+ .slot-right[data-v-87a0d832] {
123
+ margin-top: 20px;
124
+ width: 100%;
125
+ height: 60px;
126
+ border-radius: 10px;
127
+ color: white;
128
+ font-size: 16px;
129
+ font-weight: 600;
130
+ font-family: "阿里巴巴普惠体Light";
131
+ }
132
+
174
133
  .swiperButton[data-v-35c7b3ce] {
175
134
  height: 100%;
176
135
  }
@@ -527,65 +486,114 @@ nav[data-v-35c7b3ce] .jh-button[data-v-35c7b3ce] {
527
486
  color: #fff; /* 勾选后的文字颜色 */
528
487
  }
529
488
 
530
- .container[data-v-87a0d832] {
531
- width: 100%;
489
+ .baseStyle[data-v-a440e92e] {
490
+ width: 99%;
532
491
  height: 100%;
533
- position: relative;
534
492
  }
535
493
 
536
- .box[data-v-87a0d832] {
494
+ [data-v-a440e92e] .ag-header-group-cell {
495
+ border-right-style: solid;
496
+ border-right-width: 1px;
497
+ border-right-color: #cecece;
537
498
  display: flex;
538
499
  justify-content: center;
539
500
  align-items: center;
540
- height: 100vh;
541
501
  }
542
502
 
543
- .goods-card[data-v-87a0d832] {
503
+ [data-v-a440e92e] .ag-header-cell-label {
504
+ display: flex;
505
+ justify-content: center;
506
+ align-items: center;
507
+ }
508
+
509
+ [data-v-a440e92e] .ag-root-wrapper {
510
+ cursor: default;
511
+ position: relative;
544
512
  display: flex;
545
513
  flex-direction: column;
546
- justify-content: flex-start;
514
+ overflow: hidden;
515
+ white-space: normal;
516
+ border: 1px solid #cecece !important; /* 设置最外边的边框 */
517
+ margin-right: 2px !important;
518
+ margin-left: 2px !important;
519
+ margin-bottom: 60px !important;
547
520
  }
548
521
 
549
- .card-desc[data-v-87a0d832] {
550
- text-align: left;
522
+ [data-v-a440e92e] .ag-header-cell:first-child .ag-header-cell-label {
523
+ text-align: center !important;
551
524
  }
552
525
 
553
- .button-area[data-v-87a0d832] {
554
- display: flex;
555
- justify-content: space-between;
556
- align-items: center;
557
- top: 20px;
558
- margin-top: 5%;
559
- margin-left: 5%;
560
- margin-right: 5%;
561
- margin-bottom: 5%;
562
- position: sticky;
563
- z-index: 1000;
526
+ .ag-theme-alpine[data-v-a440e92e] {
527
+ /* and between columns */
528
+ --ag-cell-horizontal-border: solid #cecece;
529
+ --ag-header-cell-horizontal-border: solid #cecece;
530
+ --ag-header-foreground-color: #3a7af9;
564
531
  }
565
532
 
566
- .button-type[data-v-87a0d832] {
567
- font-size: 14px;
568
- border-radius: 10px;
569
- font-family: "阿里巴巴普惠体Regular";
570
- position: relative;
533
+ [data-v-a440e92e] .ag-header-cell {
534
+ border-right-style: solid;
535
+ border-right-width: 1px;
536
+ border-right-color: #cecece; /* 深灰色底边框 */
571
537
  }
572
538
 
573
- .slot-left[data-v-87a0d832] {
574
- margin-top: 20px;
575
- margin-left: 20px;
576
- width: 100%;
577
- height: 60px;
539
+ /* 如果你想要更具体的样式,比如只针对第一个表头列 */
540
+ .ag-header-cell[data-v-a440e92e]:first-child {
541
+ border-left: none; /* 移除左侧边框,如果需要的话 */
578
542
  }
579
543
 
580
- .slot-right[data-v-87a0d832] {
581
- margin-top: 20px;
582
- width: 100%;
583
- height: 60px;
584
- border-radius: 10px;
585
- color: white;
586
- font-size: 16px;
587
- font-weight: 600;
588
- font-family: "阿里巴巴普惠体Light";
544
+ /* 或者针对最后一列 */
545
+ .ag-header-cell[data-v-a440e92e]:last-child {
546
+ border-right: none; /* 移除右侧边框,如果需要的话 */
547
+ }
548
+
549
+ /* 选中行的样式 */
550
+ [data-v-a440e92e] .ag-row-selected::before {
551
+ background-color: rgba(183, 249, 177, 0.5803921569);
552
+ }
553
+
554
+ /* 选中焦点行的样式 */
555
+ [data-v-a440e92e] .ag-row-hover.ag-row-selected::before {
556
+ background-color: rgba(183, 249, 177, 0.5803921569);
557
+ background-image: none;
558
+ }
559
+
560
+ /* 表头的样式 */
561
+ [data-v-a440e92e] .ag-header {
562
+ background-color: #dbefff;
563
+ text-align: center;
564
+ }
565
+
566
+ [data-v-a440e92e] .ag-checkbox-input-wrapper.ag-disabled {
567
+ opacity: 1;
568
+ }
569
+
570
+ /* 默认行的背景色 */
571
+ [data-v-a440e92e] .ag-row-odd {
572
+ background-color: aliceblue;
573
+ }
574
+
575
+ /* 取消选中行的样式 */
576
+ [data-v-a440e92e] .ag-row-hover:not(.ag-row-selected)::before {
577
+ background-color: #ecf0f1;
578
+ }
579
+
580
+ .loading-overlay[data-v-a440e92e] {
581
+ position: absolute;
582
+ top: 0;
583
+ left: 0;
584
+ right: 0;
585
+ bottom: 0;
586
+ background-color: rgba(255, 255, 255, 0.5);
587
+ display: flex;
588
+ z-index: 1000;
589
+ }
590
+
591
+ [data-v-804c414a] .van-checkbox {
592
+ padding: 5px 0;
593
+ }
594
+
595
+ [data-v-6e3557b8] .van-checkbox {
596
+ padding: 5px 0;
589
597
  }
590
598
 
591
599
  [data-v-7351fe97] .van-popup {
@@ -615,12 +623,4 @@ nav[data-v-35c7b3ce] .jh-button[data-v-35c7b3ce] {
615
623
  overflow: hidden;
616
624
  overflow-y: auto;
617
625
  height: calc(100% - 100px);
618
- }
619
-
620
- [data-v-6e3557b8] .van-checkbox {
621
- padding: 5px 0;
622
- }
623
-
624
- [data-v-804c414a] .van-checkbox {
625
- padding: 5px 0;
626
626
  }