aio-table 2.1.0 → 5.0.1

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 (4) hide show
  1. package/README.md +792 -1
  2. package/index.css +119 -44
  3. package/index.js +1521 -687
  4. package/package.json +3 -3
package/index.css CHANGED
@@ -9,6 +9,8 @@
9
9
  position: relative;
10
10
  color:#999;
11
11
  font-size:14px;
12
+ overflow: hidden;
13
+ height:500px;
12
14
  }
13
15
  .aio-table.rtl{
14
16
  direction:rtl;
@@ -16,7 +18,7 @@
16
18
  .aio-table-body{
17
19
  display: flex;
18
20
  width:100%;
19
- overflow:hidden;
21
+ flex:1;
20
22
  }
21
23
  .aio-table-unit{
22
24
  display: grid;
@@ -58,20 +60,20 @@
58
60
  background-color: #868e9e;
59
61
  }
60
62
  .aio-table-title{
61
- background:#fff;
62
63
  display:flex;
63
64
  align-items: center;
64
65
  padding:0 6px;
65
66
  position:sticky;
66
67
  box-sizing:border-box;
67
68
  position: -webkit-sticky;
69
+ background: #fff;
68
70
  z-index:100;
69
71
  border-bottom:1px solid #ddd;
70
72
  border-left:1px solid #ddd;
71
- box-shadow: 1px 4px 6px -2px rgba(0,0,0,0.2);
73
+ box-shadow: 1px 4px 6px -2px rgba(0,0,0,0.1);
72
74
  }
73
75
  .aio-table.rtl .aio-table-title{
74
- box-shadow: -1px 4px 6px -2px rgba(0,0,0,0.2);
76
+ box-shadow: -1px 4px 6px -2px rgba(0,0,0,0.1);
75
77
  }
76
78
  .aio-table-title-text{
77
79
  flex:1;
@@ -101,16 +103,30 @@
101
103
  .aio-table-cell{
102
104
  display:flex;
103
105
  align-items: center;
104
- background:#fff;
105
- padding:6px 8px;
106
+ padding:0 8px;
106
107
  box-sizing: border-box;
107
108
  position: relative;
108
- box-shadow: 1px 4px 6px -2px rgba(0,0,0,0.2);
109
+ box-shadow: 3px 4px 6px -2px rgba(0,0,0,0.1);
109
110
  white-space:nowrap;
110
111
  text-overflow:ellipsis;
112
+ background:#fff;
113
+ }
114
+ .aio-table-content{
115
+ width:100%;
116
+ overflow:hidden;
117
+ display: flex;
118
+ }
119
+ .aio-table-icon{
120
+ height:24px;
121
+ display:flex;
122
+ font-size:16px;
123
+ align-items: center;
124
+ justify-content: center;
125
+ width:fit-content;
111
126
  }
127
+
112
128
  .aio-table.rtl .aio-table-cell{
113
- box-shadow: -1px 4px 6px -2px rgba(0,0,0,0.2);
129
+ box-shadow: -3px 4px 6px -2px rgba(0,0,0,0.1);
114
130
  }
115
131
 
116
132
  .aio-table-input-container{
@@ -126,19 +142,23 @@
126
142
  justify-content: flex-start;
127
143
  max-height:75%;
128
144
  }
145
+ .aio-table-input-container.on-template{
146
+ flex:1;
147
+ position: absolute;
148
+ max-height:100%;
149
+ }
129
150
  .aio-table-input{
130
151
  border:none;
131
152
  outline:none;
132
153
  flex:1;
133
154
  width:100%;
134
155
  position:relative;
135
- color:inherit;
156
+ color:inherit;
136
157
  font-size:inherit;
137
158
 
138
159
  }
139
160
  select.aio-table-input{
140
161
  background: rgba(0,0,0,0.02);
141
-
142
162
  }
143
163
  .aio-table-input-border{
144
164
  height:2px;
@@ -152,19 +172,11 @@ select.aio-table-input{
152
172
  width:100%;
153
173
  transition: 0.3s;
154
174
  }
155
- .aio-table-icon{
156
- height:24px;
157
- display:flex;
158
- font-size:16px;
159
- align-items: center;
160
- justify-content: center;
161
- }
162
175
 
163
176
  .aio-table-nodata{
164
177
  display:flex;
165
178
  align-items: center;
166
179
  justify-content: center;
167
- background:#fff;
168
180
  }
169
181
 
170
182
  .aio-table-paging{
@@ -265,6 +277,8 @@ select.aio-table-paging-button{
265
277
  }
266
278
  .aio-table-filter-icon button{
267
279
  color:inherit;
280
+ height:100%;
281
+ background:none;
268
282
  }
269
283
 
270
284
  .aio-table-filter-item{
@@ -314,21 +328,6 @@ select.aio-table-paging-button{
314
328
  align-items: center;
315
329
  justify-content: center;
316
330
  margin-bottom: 6px;
317
- font-size:16px;
318
- font-weight:bold;
319
- }
320
-
321
- .aio-table-checkbox{
322
- width:100%;
323
- height:100%;
324
- display:flex;
325
- align-items: center;
326
- justify-content: center;
327
- cursor:pointer;
328
- }
329
- .aio-table-checkbox.disabled{
330
- opacity:0.2;
331
- cursor:not-allowed;
332
331
  }
333
332
  .aio-table-group{
334
333
  display:flex;
@@ -338,18 +337,30 @@ select.aio-table-paging-button{
338
337
  white-space:nowrap;
339
338
  background:#fff;
340
339
  text-overflow:ellipsis;
340
+ overflow: hidden;
341
341
  position:relative;
342
- box-shadow: 1px 4px 6px -2px rgba(0,0,0,0.2);
342
+ box-shadow: 1px 4px 6px -2px rgba(0,0,0,0.1);
343
+ }
344
+ .aio-table-group-text{
345
+ height:100%;
346
+ display: flex;
347
+ flex:1;
348
+ align-items: center;
349
+ white-space: pre-wrap;
343
350
  }
344
351
  .aio-table-toolbar{
345
- background:#fff;
346
- padding:6px;
352
+ padding:0 6px;
347
353
  display:flex;
348
354
  align-items: center;
349
355
  flex-shrink:0;
350
- border-bottom:1px solid #ddd;
356
+ height:36px;
357
+ }
358
+ @media print{
359
+ .aio-table-toolbar{
360
+ display:none;
361
+ }
351
362
  }
352
- .aio-table-toolbar-dropdown{
363
+ .aio-table-toolbar-button{
353
364
  background:dodgerblue;
354
365
  color:#fff;
355
366
  height:30px;
@@ -358,7 +369,7 @@ select.aio-table-paging-button{
358
369
  }
359
370
 
360
371
  .aio-table-splitter{
361
- width:1px;
372
+ width:2px;
362
373
  background:#ddd;
363
374
  position:relative;
364
375
  display: flex;
@@ -372,7 +383,7 @@ select.aio-table-paging-button{
372
383
  cursor:col-resize;
373
384
  position:absolute;
374
385
  height:100%;
375
- width:5px;
386
+ width:6px;
376
387
  flex:1;
377
388
  background:red;
378
389
  }
@@ -381,7 +392,7 @@ select.aio-table-paging-button{
381
392
  flex:1;
382
393
  border-radius:36px;
383
394
  margin:0 6px;
384
- background:rgba(0,0,0,.06);
395
+ background:#fff;
385
396
  height:30px;
386
397
  display:flex;
387
398
  align-items: center;
@@ -407,7 +418,7 @@ select.aio-table-paging-button{
407
418
  .aio-table-cell-gantt .r-range-slider{
408
419
  flex:1;
409
420
  padding:0;
410
- height:100%;
421
+ height:24px;
411
422
  }
412
423
  .aio-table-cell-gantt .r-range-slider-fill{
413
424
  height:16px !important;
@@ -415,10 +426,74 @@ select.aio-table-paging-button{
415
426
  }
416
427
  .aio-table-cell-gantt .r-range-slider-fill-container div:not(.r-range-slider-fill){
417
428
  z-index:1;
418
- color:#fff;
419
429
  font-size:10px;
420
430
  }
421
431
  .aio-table-cell-gantt .r-range-slider-point{
422
432
  border-radius:0;
423
433
  background:rgba(0, 174, 255, 0);
424
- }
434
+ }
435
+ .aio-table-arrow-up,.aio-table-arrow-down{
436
+ width:30px;
437
+ height:24px;
438
+ display:flex;
439
+ align-items: center;
440
+ justify-content: flex-end;
441
+ }
442
+ .aio-table-arrow-up:after{
443
+ content:'';
444
+ border-bottom:8px solid;
445
+ border-left:8px solid transparent;
446
+ border-right:8px solid transparent;
447
+ }
448
+ .aio-table-arrow-down:after{
449
+ content:'';
450
+ border-top:8px solid;
451
+ border-left:8px solid transparent;
452
+ border-right:8px solid transparent;
453
+ }
454
+ .aio-table-card{
455
+ background:#fff;
456
+ position:relative;
457
+ display:flex;
458
+ box-sizing: border-box;
459
+ }
460
+
461
+ .r-layout-item{
462
+ overflow:auto;
463
+ display:flex;
464
+ position: relative;
465
+ flex-grow:0;
466
+ flex-shrink: 0;
467
+ }
468
+ .r-layout-parent{
469
+ position:relative;
470
+ display:flex;
471
+ flex-grow:0;
472
+ flex-shrink: 0;
473
+ overflow:auto;
474
+ }
475
+ .r-layout-html{
476
+ position: absolute;
477
+ width:100%;
478
+ height:100%;
479
+ left:0;
480
+ top:0;
481
+ overflow:hidden;
482
+ }
483
+ .r-layout-gap{
484
+ flex-shrink:0;
485
+ }
486
+ .r-layout-gap:last-child{
487
+ display:none;
488
+ }
489
+
490
+ @media screen and (max-width: 768px) {
491
+ .r-layout-hide-in-small {
492
+ display: none !important;
493
+ }
494
+ }
495
+ @media screen and (min-width: 768px) {
496
+ .r-layout-hide-in-large {
497
+ display: none !important;
498
+ }
499
+ }