@baosight/erm 1.3.2 → 1.3.4

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
@@ -69,169 +69,6 @@
69
69
  border-color: red;
70
70
  }
71
71
  }
72
- .baseStyle[data-v-a440e92e] {
73
- width: 99%;
74
- height: 100%;
75
- }
76
-
77
- [data-v-a440e92e] .ag-header-group-cell {
78
- border-right-style: solid;
79
- border-right-width: 1px;
80
- border-right-color: #cecece;
81
- display: flex;
82
- justify-content: center;
83
- align-items: center;
84
- }
85
-
86
- [data-v-a440e92e] .ag-header-cell-label {
87
- display: flex;
88
- justify-content: center;
89
- align-items: center;
90
- }
91
-
92
- [data-v-a440e92e] .ag-root-wrapper {
93
- cursor: default;
94
- position: relative;
95
- display: flex;
96
- flex-direction: column;
97
- overflow: hidden;
98
- white-space: normal;
99
- border: 1px solid #cecece !important; /* 设置最外边的边框 */
100
- margin-right: 2px !important;
101
- margin-left: 2px !important;
102
- margin-bottom: 60px !important;
103
- }
104
-
105
- [data-v-a440e92e] .ag-header-cell:first-child .ag-header-cell-label {
106
- text-align: center !important;
107
- }
108
-
109
- .ag-theme-alpine[data-v-a440e92e] {
110
- /* and between columns */
111
- --ag-cell-horizontal-border: solid #cecece;
112
- --ag-header-cell-horizontal-border: solid #cecece;
113
- --ag-header-foreground-color: #3a7af9;
114
- }
115
-
116
- [data-v-a440e92e] .ag-header-cell {
117
- border-right-style: solid;
118
- border-right-width: 1px;
119
- border-right-color: #cecece; /* 深灰色底边框 */
120
- }
121
-
122
- /* 如果你想要更具体的样式,比如只针对第一个表头列 */
123
- .ag-header-cell[data-v-a440e92e]:first-child {
124
- border-left: none; /* 移除左侧边框,如果需要的话 */
125
- }
126
-
127
- /* 或者针对最后一列 */
128
- .ag-header-cell[data-v-a440e92e]:last-child {
129
- border-right: none; /* 移除右侧边框,如果需要的话 */
130
- }
131
-
132
- /* 选中行的样式 */
133
- [data-v-a440e92e] .ag-row-selected::before {
134
- background-color: rgba(183, 249, 177, 0.5803921569);
135
- }
136
-
137
- /* 选中焦点行的样式 */
138
- [data-v-a440e92e] .ag-row-hover.ag-row-selected::before {
139
- background-color: rgba(183, 249, 177, 0.5803921569);
140
- background-image: none;
141
- }
142
-
143
- /* 表头的样式 */
144
- [data-v-a440e92e] .ag-header {
145
- background-color: #dbefff;
146
- text-align: center;
147
- }
148
-
149
- [data-v-a440e92e] .ag-checkbox-input-wrapper.ag-disabled {
150
- opacity: 1;
151
- }
152
-
153
- /* 默认行的背景色 */
154
- [data-v-a440e92e] .ag-row-odd {
155
- background-color: aliceblue;
156
- }
157
-
158
- /* 取消选中行的样式 */
159
- [data-v-a440e92e] .ag-row-hover:not(.ag-row-selected)::before {
160
- background-color: #ecf0f1;
161
- }
162
-
163
- .loading-overlay[data-v-a440e92e] {
164
- position: absolute;
165
- top: 0;
166
- left: 0;
167
- right: 0;
168
- bottom: 0;
169
- background-color: rgba(255, 255, 255, 0.5);
170
- display: flex;
171
- z-index: 1000;
172
- }
173
-
174
- .container[data-v-87a0d832] {
175
- width: 100%;
176
- height: 100%;
177
- position: relative;
178
- }
179
-
180
- .box[data-v-87a0d832] {
181
- display: flex;
182
- justify-content: center;
183
- align-items: center;
184
- height: 100vh;
185
- }
186
-
187
- .goods-card[data-v-87a0d832] {
188
- display: flex;
189
- flex-direction: column;
190
- justify-content: flex-start;
191
- }
192
-
193
- .card-desc[data-v-87a0d832] {
194
- text-align: left;
195
- }
196
-
197
- .button-area[data-v-87a0d832] {
198
- display: flex;
199
- justify-content: space-between;
200
- align-items: center;
201
- top: 20px;
202
- margin-top: 5%;
203
- margin-left: 5%;
204
- margin-right: 5%;
205
- margin-bottom: 5%;
206
- position: sticky;
207
- z-index: 1000;
208
- }
209
-
210
- .button-type[data-v-87a0d832] {
211
- font-size: 14px;
212
- border-radius: 10px;
213
- font-family: "阿里巴巴普惠体Regular";
214
- position: relative;
215
- }
216
-
217
- .slot-left[data-v-87a0d832] {
218
- margin-top: 20px;
219
- margin-left: 20px;
220
- width: 100%;
221
- height: 60px;
222
- }
223
-
224
- .slot-right[data-v-87a0d832] {
225
- margin-top: 20px;
226
- width: 100%;
227
- height: 60px;
228
- border-radius: 10px;
229
- color: white;
230
- font-size: 16px;
231
- font-weight: 600;
232
- font-family: "阿里巴巴普惠体Light";
233
- }
234
-
235
72
  .swiperButton[data-v-35c7b3ce] {
236
73
  height: 100%;
237
74
  }
@@ -588,6 +425,173 @@ nav[data-v-35c7b3ce] .jh-button[data-v-35c7b3ce] {
588
425
  color: #fff; /* 勾选后的文字颜色 */
589
426
  }
590
427
 
428
+ .baseStyle[data-v-a440e92e] {
429
+ width: 99%;
430
+ height: 100%;
431
+ }
432
+
433
+ [data-v-a440e92e] .ag-header-group-cell {
434
+ border-right-style: solid;
435
+ border-right-width: 1px;
436
+ border-right-color: #cecece;
437
+ display: flex;
438
+ justify-content: center;
439
+ align-items: center;
440
+ }
441
+
442
+ [data-v-a440e92e] .ag-header-cell-label {
443
+ display: flex;
444
+ justify-content: center;
445
+ align-items: center;
446
+ }
447
+
448
+ [data-v-a440e92e] .ag-root-wrapper {
449
+ cursor: default;
450
+ position: relative;
451
+ display: flex;
452
+ flex-direction: column;
453
+ overflow: hidden;
454
+ white-space: normal;
455
+ border: 1px solid #cecece !important; /* 设置最外边的边框 */
456
+ margin-right: 2px !important;
457
+ margin-left: 2px !important;
458
+ margin-bottom: 60px !important;
459
+ }
460
+
461
+ [data-v-a440e92e] .ag-header-cell:first-child .ag-header-cell-label {
462
+ text-align: center !important;
463
+ }
464
+
465
+ .ag-theme-alpine[data-v-a440e92e] {
466
+ /* and between columns */
467
+ --ag-cell-horizontal-border: solid #cecece;
468
+ --ag-header-cell-horizontal-border: solid #cecece;
469
+ --ag-header-foreground-color: #3a7af9;
470
+ }
471
+
472
+ [data-v-a440e92e] .ag-header-cell {
473
+ border-right-style: solid;
474
+ border-right-width: 1px;
475
+ border-right-color: #cecece; /* 深灰色底边框 */
476
+ }
477
+
478
+ /* 如果你想要更具体的样式,比如只针对第一个表头列 */
479
+ .ag-header-cell[data-v-a440e92e]:first-child {
480
+ border-left: none; /* 移除左侧边框,如果需要的话 */
481
+ }
482
+
483
+ /* 或者针对最后一列 */
484
+ .ag-header-cell[data-v-a440e92e]:last-child {
485
+ border-right: none; /* 移除右侧边框,如果需要的话 */
486
+ }
487
+
488
+ /* 选中行的样式 */
489
+ [data-v-a440e92e] .ag-row-selected::before {
490
+ background-color: rgba(183, 249, 177, 0.5803921569);
491
+ }
492
+
493
+ /* 选中焦点行的样式 */
494
+ [data-v-a440e92e] .ag-row-hover.ag-row-selected::before {
495
+ background-color: rgba(183, 249, 177, 0.5803921569);
496
+ background-image: none;
497
+ }
498
+
499
+ /* 表头的样式 */
500
+ [data-v-a440e92e] .ag-header {
501
+ background-color: #dbefff;
502
+ text-align: center;
503
+ }
504
+
505
+ [data-v-a440e92e] .ag-checkbox-input-wrapper.ag-disabled {
506
+ opacity: 1;
507
+ }
508
+
509
+ /* 默认行的背景色 */
510
+ [data-v-a440e92e] .ag-row-odd {
511
+ background-color: aliceblue;
512
+ }
513
+
514
+ /* 取消选中行的样式 */
515
+ [data-v-a440e92e] .ag-row-hover:not(.ag-row-selected)::before {
516
+ background-color: #ecf0f1;
517
+ }
518
+
519
+ .loading-overlay[data-v-a440e92e] {
520
+ position: absolute;
521
+ top: 0;
522
+ left: 0;
523
+ right: 0;
524
+ bottom: 0;
525
+ background-color: rgba(255, 255, 255, 0.5);
526
+ display: flex;
527
+ z-index: 1000;
528
+ }
529
+
530
+ .container[data-v-87a0d832] {
531
+ width: 100%;
532
+ height: 100%;
533
+ position: relative;
534
+ }
535
+
536
+ .box[data-v-87a0d832] {
537
+ display: flex;
538
+ justify-content: center;
539
+ align-items: center;
540
+ height: 100vh;
541
+ }
542
+
543
+ .goods-card[data-v-87a0d832] {
544
+ display: flex;
545
+ flex-direction: column;
546
+ justify-content: flex-start;
547
+ }
548
+
549
+ .card-desc[data-v-87a0d832] {
550
+ text-align: left;
551
+ }
552
+
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;
564
+ }
565
+
566
+ .button-type[data-v-87a0d832] {
567
+ font-size: 14px;
568
+ border-radius: 10px;
569
+ font-family: "阿里巴巴普惠体Regular";
570
+ position: relative;
571
+ }
572
+
573
+ .slot-left[data-v-87a0d832] {
574
+ margin-top: 20px;
575
+ margin-left: 20px;
576
+ width: 100%;
577
+ height: 60px;
578
+ }
579
+
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";
589
+ }
590
+
591
+ [data-v-804c414a] .van-checkbox {
592
+ padding: 5px 0;
593
+ }
594
+
591
595
  [data-v-7351fe97] .van-popup {
592
596
  max-height: 80%;
593
597
  }
@@ -617,10 +621,6 @@ nav[data-v-35c7b3ce] .jh-button[data-v-35c7b3ce] {
617
621
  height: calc(100% - 100px);
618
622
  }
619
623
 
620
- [data-v-804c414a] .van-checkbox {
621
- padding: 5px 0;
622
- }
623
-
624
624
  [data-v-6e3557b8] .van-checkbox {
625
625
  padding: 5px 0;
626
626
  }