@mythpe/quasar-ui-qui 0.1.55 → 0.1.57
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/package.json
CHANGED
|
@@ -656,10 +656,7 @@ defineExpose({
|
|
|
656
656
|
:item="dialogItem"
|
|
657
657
|
name="title"
|
|
658
658
|
>
|
|
659
|
-
<MCol
|
|
660
|
-
v-if="!!getTableTitle"
|
|
661
|
-
col="12"
|
|
662
|
-
>
|
|
659
|
+
<MCol col="12">
|
|
663
660
|
<div class="row justify-between q-col-gutter-md">
|
|
664
661
|
<div
|
|
665
662
|
v-if="!noBackBtn"
|
|
@@ -672,23 +669,24 @@ defineExpose({
|
|
|
672
669
|
/>
|
|
673
670
|
</div>
|
|
674
671
|
<div class="col">
|
|
675
|
-
<div
|
|
672
|
+
<div
|
|
673
|
+
class="text-h5 bordered-bottom ellipsis"
|
|
674
|
+
v-if="!!getTableTitle"
|
|
675
|
+
>
|
|
676
676
|
{{ getTableTitle }}
|
|
677
677
|
</div>
|
|
678
678
|
</div>
|
|
679
|
-
|
|
680
679
|
<!-- Add Btn -->
|
|
681
|
-
<
|
|
680
|
+
<div
|
|
682
681
|
v-if="hasAddBtn && (addTopBtn===undefined?(pluginOptions.datatable?.addTopBtn===undefined?!0:pluginOptions.datatable?.addTopBtn):addTopBtn)"
|
|
682
|
+
class="col-auto"
|
|
683
683
|
>
|
|
684
|
-
<
|
|
685
|
-
|
|
686
|
-
|
|
687
|
-
|
|
688
|
-
|
|
689
|
-
|
|
690
|
-
</div>
|
|
691
|
-
</template>
|
|
684
|
+
<MBtn
|
|
685
|
+
:label="getFormTitle"
|
|
686
|
+
no-caps
|
|
687
|
+
@click="openCreateDialog()"
|
|
688
|
+
/>
|
|
689
|
+
</div>
|
|
692
690
|
</div>
|
|
693
691
|
</MCol>
|
|
694
692
|
</slot>
|
|
@@ -1438,80 +1436,3 @@ defineExpose({
|
|
|
1438
1436
|
</q-page-sticky>
|
|
1439
1437
|
</div>
|
|
1440
1438
|
</template>
|
|
1441
|
-
|
|
1442
|
-
<style lang="sass">
|
|
1443
|
-
.touch
|
|
1444
|
-
.m--datatable-fab-tooltip
|
|
1445
|
-
display: none
|
|
1446
|
-
|
|
1447
|
-
.body--light
|
|
1448
|
-
.m--datatable
|
|
1449
|
-
.q-table__top,
|
|
1450
|
-
.q-table__bottom,
|
|
1451
|
-
thead tr:first-child th
|
|
1452
|
-
background: #fff
|
|
1453
|
-
|
|
1454
|
-
.body--dark
|
|
1455
|
-
.m--datatable
|
|
1456
|
-
.q-table__top,
|
|
1457
|
-
.q-table__bottom,
|
|
1458
|
-
thead tr:first-child th
|
|
1459
|
-
background: var(--q-dark-page)
|
|
1460
|
-
|
|
1461
|
-
.m--datatable-component
|
|
1462
|
-
.m--datatable.m--datatable-grid
|
|
1463
|
-
.q-table__top
|
|
1464
|
-
padding-left: 0
|
|
1465
|
-
padding-right: 0
|
|
1466
|
-
|
|
1467
|
-
&__fab
|
|
1468
|
-
margin-bottom: 12rem
|
|
1469
|
-
|
|
1470
|
-
&__fixed
|
|
1471
|
-
thead tr th
|
|
1472
|
-
position: sticky
|
|
1473
|
-
z-index: 1
|
|
1474
|
-
|
|
1475
|
-
thead tr:first-child th
|
|
1476
|
-
top: 0
|
|
1477
|
-
|
|
1478
|
-
.m--datatable:not(.m--datatable-grid)
|
|
1479
|
-
max-height: 80vh
|
|
1480
|
-
|
|
1481
|
-
.m--datatable:not(.m--datatable-grid).q-table--dense
|
|
1482
|
-
&.q-table--loading thead tr:last-child th
|
|
1483
|
-
top: 26px
|
|
1484
|
-
|
|
1485
|
-
.m--datatable:not(.m--datatable-grid):not(.q-table--dense)
|
|
1486
|
-
&.q-table--loading thead tr:last-child th
|
|
1487
|
-
top: 55px
|
|
1488
|
-
|
|
1489
|
-
.q-table__bottom
|
|
1490
|
-
justify-content: start !important
|
|
1491
|
-
|
|
1492
|
-
.q-table__separator.col
|
|
1493
|
-
display: none !important
|
|
1494
|
-
|
|
1495
|
-
.q-table__top
|
|
1496
|
-
align-items: center
|
|
1497
|
-
|
|
1498
|
-
.q-table__separator.col
|
|
1499
|
-
display: none !important
|
|
1500
|
-
|
|
1501
|
-
.q-table__control:last-child
|
|
1502
|
-
padding-left: 8px
|
|
1503
|
-
display: block
|
|
1504
|
-
flex: 10000 1 0
|
|
1505
|
-
width: auto
|
|
1506
|
-
min-width: 0
|
|
1507
|
-
max-width: 100%
|
|
1508
|
-
|
|
1509
|
-
.m--dialog-card
|
|
1510
|
-
.q-card__actions
|
|
1511
|
-
.q-btn
|
|
1512
|
-
padding: 4px 16px !important
|
|
1513
|
-
|
|
1514
|
-
.grid-style-transition
|
|
1515
|
-
transition: transform .28s, background-color .28s
|
|
1516
|
-
|
|
1517
|
-
</style>
|
package/src/index.sass
CHANGED
|
@@ -6,6 +6,8 @@
|
|
|
6
6
|
|
|
7
7
|
//@import 'quasar/src/css/variables.sass'
|
|
8
8
|
@import './style/ckeditor5.sass'
|
|
9
|
-
@import './style/main.sass'
|
|
10
9
|
@import './style/m-container.sass'
|
|
10
|
+
@import './style/m-dt.sass'
|
|
11
|
+
@import './style/main.sass'
|
|
11
12
|
@import './style/print.sass'
|
|
13
|
+
@import './style/transition'
|
package/src/style/ckeditor5.sass
CHANGED
|
@@ -0,0 +1,76 @@
|
|
|
1
|
+
|
|
2
|
+
$fixed-dt-height: 80vh !default
|
|
3
|
+
|
|
4
|
+
.touch
|
|
5
|
+
.m--datatable-fab-tooltip
|
|
6
|
+
display: none
|
|
7
|
+
|
|
8
|
+
.body--light
|
|
9
|
+
.m--datatable
|
|
10
|
+
.q-table__top,
|
|
11
|
+
.q-table__bottom,
|
|
12
|
+
thead tr:first-child th
|
|
13
|
+
background: #fff
|
|
14
|
+
|
|
15
|
+
.body--dark
|
|
16
|
+
.m--datatable
|
|
17
|
+
.q-table__top,
|
|
18
|
+
.q-table__bottom,
|
|
19
|
+
thead tr:first-child th
|
|
20
|
+
background: var(--q-dark-page)
|
|
21
|
+
|
|
22
|
+
.m--datatable-component
|
|
23
|
+
.m--datatable.m--datatable-grid
|
|
24
|
+
.q-table__top
|
|
25
|
+
padding-left: 0
|
|
26
|
+
padding-right: 0
|
|
27
|
+
|
|
28
|
+
&__fab
|
|
29
|
+
margin-bottom: 12rem
|
|
30
|
+
|
|
31
|
+
&__fixed
|
|
32
|
+
thead tr th
|
|
33
|
+
position: sticky
|
|
34
|
+
z-index: 1
|
|
35
|
+
|
|
36
|
+
thead tr:first-child th
|
|
37
|
+
top: 0
|
|
38
|
+
|
|
39
|
+
.m--datatable:not(.m--datatable-grid)
|
|
40
|
+
max-height: $fixed-dt-height
|
|
41
|
+
|
|
42
|
+
.m--datatable:not(.m--datatable-grid).q-table--dense
|
|
43
|
+
&.q-table--loading thead tr:last-child th
|
|
44
|
+
top: 26px
|
|
45
|
+
|
|
46
|
+
.m--datatable:not(.m--datatable-grid):not(.q-table--dense)
|
|
47
|
+
&.q-table--loading thead tr:last-child th
|
|
48
|
+
top: 55px
|
|
49
|
+
|
|
50
|
+
.q-table__bottom
|
|
51
|
+
justify-content: start !important
|
|
52
|
+
|
|
53
|
+
.q-table__separator.col
|
|
54
|
+
display: none !important
|
|
55
|
+
|
|
56
|
+
.q-table__top
|
|
57
|
+
align-items: center
|
|
58
|
+
|
|
59
|
+
.q-table__separator.col
|
|
60
|
+
display: none !important
|
|
61
|
+
|
|
62
|
+
.q-table__control:last-child
|
|
63
|
+
padding-left: 8px
|
|
64
|
+
display: block
|
|
65
|
+
flex: 10000 1 0
|
|
66
|
+
width: auto
|
|
67
|
+
min-width: 0
|
|
68
|
+
max-width: 100%
|
|
69
|
+
|
|
70
|
+
.m--dialog-card
|
|
71
|
+
.q-card__actions
|
|
72
|
+
.q-btn
|
|
73
|
+
padding: 4px 16px !important
|
|
74
|
+
|
|
75
|
+
.grid-style-transition
|
|
76
|
+
transition: transform .28s, background-color .28s
|