@swimlane/ngx-datatable 20.0.0 → 21.0.0-alpha.0

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 (148) hide show
  1. package/fesm2022/swimlane-ngx-datatable.mjs +6842 -0
  2. package/fesm2022/swimlane-ngx-datatable.mjs.map +1 -0
  3. package/{swimlane-ngx-datatable.d.ts → index.d.ts} +1 -0
  4. package/lib/components/body/body-cell.component.d.ts +29 -21
  5. package/lib/components/body/body-group-header-template.directive.d.ts +5 -3
  6. package/lib/components/body/body-group-header.directive.d.ts +15 -7
  7. package/lib/components/body/body-row-def.component.d.ts +34 -0
  8. package/lib/components/body/body-row-wrapper.component.d.ts +35 -20
  9. package/lib/components/body/body-row.component.d.ts +29 -32
  10. package/lib/components/body/body.component.d.ts +89 -67
  11. package/lib/components/body/ghost-loader/ghost-loader.component.d.ts +12 -0
  12. package/lib/components/body/progress-bar.component.d.ts +3 -0
  13. package/lib/components/body/scroller.component.d.ts +6 -6
  14. package/lib/components/body/selection.component.d.ts +22 -23
  15. package/lib/components/body/summary/summary-row.component.d.ts +6 -2
  16. package/lib/components/columns/column-cell.directive.d.ts +6 -2
  17. package/lib/components/columns/column-ghost-cell.directive.d.ts +6 -0
  18. package/lib/components/columns/column-header.directive.d.ts +5 -3
  19. package/lib/components/columns/column.directive.d.ts +44 -16
  20. package/lib/components/columns/tree.directive.d.ts +3 -1
  21. package/lib/components/datatable.component.d.ts +143 -74
  22. package/lib/components/footer/footer-template.directive.d.ts +5 -3
  23. package/lib/components/footer/footer.component.d.ts +5 -1
  24. package/lib/components/footer/footer.directive.d.ts +8 -3
  25. package/lib/components/footer/pager.component.d.ts +8 -3
  26. package/lib/components/header/header-cell.component.d.ts +20 -17
  27. package/lib/components/header/header.component.d.ts +43 -35
  28. package/lib/components/row-detail/row-detail-template.directive.d.ts +5 -3
  29. package/lib/components/row-detail/row-detail.directive.d.ts +10 -6
  30. package/lib/directives/disable-row.directive.d.ts +22 -0
  31. package/lib/directives/draggable.directive.d.ts +13 -7
  32. package/lib/directives/long-press.directive.d.ts +18 -4
  33. package/lib/directives/orderable.directive.d.ts +23 -9
  34. package/lib/directives/resizeable.directive.d.ts +9 -4
  35. package/lib/directives/visibility.directive.d.ts +4 -2
  36. package/lib/ngx-datatable.module.d.ts +33 -1
  37. package/lib/services/column-changes.service.d.ts +4 -1
  38. package/lib/services/scrollbar-helper.service.d.ts +3 -1
  39. package/lib/types/internal.types.d.ts +31 -0
  40. package/lib/types/public.types.d.ts +142 -0
  41. package/lib/types/table-column.type.d.ts +39 -66
  42. package/lib/utils/column-helper.d.ts +2 -2
  43. package/lib/utils/column-prop-getters.d.ts +1 -1
  44. package/lib/utils/column.d.ts +7 -14
  45. package/lib/utils/keys.d.ts +6 -6
  46. package/lib/utils/math.d.ts +4 -3
  47. package/lib/utils/selection.d.ts +2 -2
  48. package/lib/utils/sort.d.ts +5 -5
  49. package/lib/utils/table-token.d.ts +7 -0
  50. package/lib/utils/tree.d.ts +2 -2
  51. package/package.json +16 -12
  52. package/public-api.d.ts +4 -11
  53. package/LICENSE +0 -22
  54. package/README.md +0 -47
  55. package/assets/app.css +0 -302
  56. package/assets/data/100k.json +0 -100002
  57. package/assets/data/company.json +0 -505
  58. package/assets/data/company_tree.json +0 -61
  59. package/assets/data/forRowGrouping.json +0 -227
  60. package/assets/fonts/data-table.eot +0 -0
  61. package/assets/fonts/data-table.svg +0 -26
  62. package/assets/fonts/data-table.ttf +0 -0
  63. package/assets/fonts/data-table.woff +0 -0
  64. package/assets/icons-reference.html +0 -395
  65. package/assets/icons.css +0 -105
  66. package/bundles/swimlane-ngx-datatable.umd.js +0 -5900
  67. package/bundles/swimlane-ngx-datatable.umd.js.map +0 -1
  68. package/esm2015/lib/components/body/body-cell.component.js +0 -361
  69. package/esm2015/lib/components/body/body-group-header-template.directive.js +0 -15
  70. package/esm2015/lib/components/body/body-group-header.directive.js +0 -54
  71. package/esm2015/lib/components/body/body-row-wrapper.component.js +0 -106
  72. package/esm2015/lib/components/body/body-row.component.js +0 -213
  73. package/esm2015/lib/components/body/body.component.js +0 -716
  74. package/esm2015/lib/components/body/progress-bar.component.js +0 -17
  75. package/esm2015/lib/components/body/scroller.component.js +0 -83
  76. package/esm2015/lib/components/body/selection.component.js +0 -140
  77. package/esm2015/lib/components/body/summary/summary-row.component.js +0 -81
  78. package/esm2015/lib/components/columns/column-cell.directive.js +0 -13
  79. package/esm2015/lib/components/columns/column-header.directive.js +0 -13
  80. package/esm2015/lib/components/columns/column.directive.js +0 -65
  81. package/esm2015/lib/components/columns/tree.directive.js +0 -13
  82. package/esm2015/lib/components/datatable.component.js +0 -925
  83. package/esm2015/lib/components/footer/footer-template.directive.js +0 -13
  84. package/esm2015/lib/components/footer/footer.component.js +0 -75
  85. package/esm2015/lib/components/footer/footer.directive.js +0 -22
  86. package/esm2015/lib/components/footer/pager.component.js +0 -136
  87. package/esm2015/lib/components/header/header-cell.component.js +0 -191
  88. package/esm2015/lib/components/header/header.component.js +0 -297
  89. package/esm2015/lib/components/row-detail/row-detail-template.directive.js +0 -15
  90. package/esm2015/lib/components/row-detail/row-detail.directive.js +0 -55
  91. package/esm2015/lib/directives/draggable.directive.js +0 -102
  92. package/esm2015/lib/directives/long-press.directive.js +0 -103
  93. package/esm2015/lib/directives/orderable.directive.js +0 -131
  94. package/esm2015/lib/directives/resizeable.directive.js +0 -89
  95. package/esm2015/lib/directives/visibility.directive.js +0 -62
  96. package/esm2015/lib/events.js +0 -7
  97. package/esm2015/lib/ngx-datatable.module.js +0 -96
  98. package/esm2015/lib/services/column-changes.service.js +0 -21
  99. package/esm2015/lib/services/dimensions-helper.service.js +0 -14
  100. package/esm2015/lib/services/scrollbar-helper.service.js +0 -34
  101. package/esm2015/lib/types/click.type.js +0 -6
  102. package/esm2015/lib/types/column-mode.type.js +0 -7
  103. package/esm2015/lib/types/contextmenu.type.js +0 -6
  104. package/esm2015/lib/types/selection.type.js +0 -9
  105. package/esm2015/lib/types/sort-direction.type.js +0 -6
  106. package/esm2015/lib/types/sort-prop-dir.type.js +0 -2
  107. package/esm2015/lib/types/sort.type.js +0 -6
  108. package/esm2015/lib/types/table-column.type.js +0 -2
  109. package/esm2015/lib/utils/camel-case.js +0 -28
  110. package/esm2015/lib/utils/column-helper.js +0 -95
  111. package/esm2015/lib/utils/column-prop-getters.js +0 -96
  112. package/esm2015/lib/utils/column.js +0 -69
  113. package/esm2015/lib/utils/elm-from-point.js +0 -38
  114. package/esm2015/lib/utils/id.js +0 -8
  115. package/esm2015/lib/utils/keys.js +0 -10
  116. package/esm2015/lib/utils/math.js +0 -146
  117. package/esm2015/lib/utils/prefixes.js +0 -40
  118. package/esm2015/lib/utils/row-height-cache.js +0 -138
  119. package/esm2015/lib/utils/selection.js +0 -40
  120. package/esm2015/lib/utils/sort.js +0 -127
  121. package/esm2015/lib/utils/throttle.js +0 -60
  122. package/esm2015/lib/utils/translate.js +0 -25
  123. package/esm2015/lib/utils/tree.js +0 -103
  124. package/esm2015/public-api.js +0 -64
  125. package/esm2015/swimlane-ngx-datatable.js +0 -5
  126. package/fesm2015/swimlane-ngx-datatable.js +0 -5218
  127. package/fesm2015/swimlane-ngx-datatable.js.map +0 -1
  128. package/index.css +0 -198
  129. package/index.scss +0 -315
  130. package/lib/events.d.ts +0 -3
  131. package/lib/services/dimensions-helper.service.d.ts +0 -7
  132. package/lib/types/click.type.d.ts +0 -4
  133. package/lib/types/column-mode.type.d.ts +0 -5
  134. package/lib/types/contextmenu.type.d.ts +0 -4
  135. package/lib/types/selection.type.d.ts +0 -7
  136. package/lib/types/sort-direction.type.d.ts +0 -4
  137. package/lib/types/sort-prop-dir.type.d.ts +0 -6
  138. package/lib/types/sort.type.d.ts +0 -4
  139. package/lib/utils/elm-from-point.d.ts +0 -8
  140. package/lib/utils/prefixes.d.ts +0 -1
  141. package/lib/utils/translate.d.ts +0 -1
  142. package/swimlane-ngx-datatable.metadata.json +0 -1
  143. package/themes/bootstrap.css +0 -67
  144. package/themes/bootstrap.scss +0 -101
  145. package/themes/dark.css +0 -75
  146. package/themes/dark.scss +0 -120
  147. package/themes/material.css +0 -305
  148. package/themes/material.scss +0 -480
@@ -1,101 +0,0 @@
1
- /*
2
- bootstrap table theme
3
- */
4
-
5
- .ngx-datatable.bootstrap {
6
- box-shadow: none;
7
- font-size: 13px;
8
- .datatable-header {
9
- height: unset !important;
10
- .datatable-header-cell {
11
- vertical-align: bottom;
12
- padding: 0.75rem;
13
- border-bottom: 1px solid #d1d4d7;
14
- .datatable-header-cell-label {
15
- line-height: 24px;
16
- }
17
- }
18
- }
19
- .datatable-body {
20
- .datatable-body-row {
21
- vertical-align: top;
22
- border-top: 1px solid #d1d4d7;
23
- &.datatable-row-even {
24
- background-color: rgba(0, 0, 0, 0.05);
25
- }
26
- &.active {
27
- background-color: #1483ff;
28
- color: #fff;
29
- }
30
- .datatable-body-cell {
31
- padding: 0.75rem;
32
- text-align: left;
33
- vertical-align: top;
34
- }
35
- }
36
- .empty-row {
37
- $alert-padding-y: 0.75rem !default;
38
- $alert-padding-x: 1.25rem !default;
39
- position: relative;
40
- padding: $alert-padding-y $alert-padding-x;
41
- margin-bottom: 0;
42
- }
43
- }
44
- .datatable-footer {
45
- background: #424242;
46
- color: #ededed;
47
- margin-top: -1px;
48
- .page-count {
49
- line-height: 50px;
50
- height: 50px;
51
- padding: 0 1.2rem;
52
- }
53
- .datatable-pager {
54
- margin: 0 10px;
55
- vertical-align: top;
56
- ul {
57
- li {
58
- margin: 10px 0px;
59
- &:not(.disabled) {
60
- &.active,
61
- &:hover {
62
- a {
63
- background-color: #545454;
64
- font-weight: bold;
65
- }
66
- }
67
- }
68
- }
69
- }
70
- a {
71
- height: 22px;
72
- min-width: 24px;
73
- line-height: 22px;
74
- padding: 0;
75
- border-radius: 3px;
76
- margin: 0 3px;
77
- text-align: center;
78
- vertical-align: top;
79
- text-decoration: none;
80
- vertical-align: bottom;
81
- color: #ededed;
82
- }
83
- .datatable-icon-left,
84
- .datatable-icon-skip,
85
- .datatable-icon-right,
86
- .datatable-icon-prev {
87
- font-size: 18px;
88
- line-height: 27px;
89
- padding: 0 3px;
90
- }
91
- }
92
- }
93
- // Summary row styles
94
- .datatable-summary-row {
95
- .datatable-body-row {
96
- .datatable-body-cell {
97
- font-weight: bold;
98
- }
99
- }
100
- }
101
- }
package/themes/dark.css DELETED
@@ -1,75 +0,0 @@
1
- .ngx-datatable.dark {
2
- box-shadow: none;
3
- background: #1b1e27;
4
- border: 1px solid #2f3646;
5
- color: #fff;
6
- font-size: 13px; }
7
- .ngx-datatable.dark .datatable-header {
8
- background: #181b24;
9
- color: #72809b; }
10
- .ngx-datatable.dark .datatable-header .datatable-header-cell {
11
- text-align: left;
12
- padding: 0.5rem 1.2rem;
13
- font-weight: bold; }
14
- .ngx-datatable.dark .datatable-header .datatable-header-cell .datatable-header-cell-label {
15
- line-height: 24px; }
16
- .ngx-datatable.dark .datatable-body {
17
- background: #1a1e28; }
18
- .ngx-datatable.dark .datatable-body .datatable-body-row {
19
- border-top: 1px solid #2f3646; }
20
- .ngx-datatable.dark .datatable-body .datatable-body-row .datatable-body-cell {
21
- text-align: left;
22
- padding: 0.5rem 1.2rem;
23
- vertical-align: top; }
24
- .ngx-datatable.dark .datatable-body .datatable-body-row:hover {
25
- background: #171b24;
26
- transition-property: background;
27
- transition-duration: 0.3s;
28
- transition-timing-function: linear; }
29
- .ngx-datatable.dark .datatable-body .datatable-body-row:focus {
30
- background-color: #232837; }
31
- .ngx-datatable.dark .datatable-body .datatable-body-row.active {
32
- background-color: #1483ff;
33
- color: #fff; }
34
- .ngx-datatable.dark .datatable-footer {
35
- background: #232837;
36
- color: #72809b;
37
- margin-top: -1px; }
38
- .ngx-datatable.dark .datatable-footer .page-count {
39
- line-height: 50px;
40
- height: 50px;
41
- padding: 0 1.2rem; }
42
- .ngx-datatable.dark .datatable-footer .datatable-pager {
43
- margin: 0 10px;
44
- vertical-align: top; }
45
- .ngx-datatable.dark .datatable-footer .datatable-pager ul li {
46
- margin: 10px 0px; }
47
- .ngx-datatable.dark .datatable-footer .datatable-pager ul li:not(.disabled).active a,
48
- .ngx-datatable.dark .datatable-footer .datatable-pager ul li:not(.disabled):hover a {
49
- background-color: #455066;
50
- font-weight: bold; }
51
- .ngx-datatable.dark .datatable-footer .datatable-pager a {
52
- height: 22px;
53
- min-width: 24px;
54
- line-height: 22px;
55
- padding: 0;
56
- border-radius: 3px;
57
- margin: 0 3px;
58
- text-align: center;
59
- vertical-align: top;
60
- text-decoration: none;
61
- vertical-align: bottom;
62
- color: #72809b; }
63
- .ngx-datatable.dark .datatable-footer .datatable-pager .datatable-icon-left,
64
- .ngx-datatable.dark .datatable-footer .datatable-pager .datatable-icon-skip,
65
- .ngx-datatable.dark .datatable-footer .datatable-pager .datatable-icon-right,
66
- .ngx-datatable.dark .datatable-footer .datatable-pager .datatable-icon-prev {
67
- font-size: 18px;
68
- line-height: 27px;
69
- padding: 0 3px; }
70
- .ngx-datatable.dark .datatable-summary-row .datatable-body-row {
71
- background-color: #14171f; }
72
- .ngx-datatable.dark .datatable-summary-row .datatable-body-row:hover {
73
- background-color: #14171f; }
74
- .ngx-datatable.dark .datatable-summary-row .datatable-body-row .datatable-body-cell {
75
- font-weight: bold; }
package/themes/dark.scss DELETED
@@ -1,120 +0,0 @@
1
- .ngx-datatable.dark {
2
- box-shadow: none;
3
- background: #1b1e27;
4
- border: 1px solid #2f3646;
5
- color: #fff;
6
- font-size: 13px;
7
-
8
- .datatable-header {
9
- background: #181b24;
10
- color: #72809b;
11
-
12
- .datatable-header-cell {
13
- text-align: left;
14
- padding: 0.5rem 1.2rem;
15
- font-weight: bold;
16
-
17
- .datatable-header-cell-label {
18
- line-height: 24px;
19
- }
20
- }
21
- }
22
-
23
- .datatable-body {
24
- background: #1a1e28;
25
-
26
- .datatable-body-row {
27
- border-top: 1px solid #2f3646;
28
-
29
- .datatable-body-cell {
30
- text-align: left;
31
- padding: 0.5rem 1.2rem;
32
- vertical-align: top;
33
- }
34
-
35
- &:hover {
36
- background: #171b24;
37
- transition-property: background;
38
- transition-duration: 0.3s;
39
- transition-timing-function: linear;
40
- }
41
-
42
- &:focus {
43
- background-color: #232837;
44
- }
45
-
46
- &.active {
47
- background-color: #1483ff;
48
- color: #fff;
49
- }
50
- }
51
- }
52
-
53
- .datatable-footer {
54
- background: #232837;
55
- color: #72809b;
56
- margin-top: -1px;
57
-
58
- .page-count {
59
- line-height: 50px;
60
- height: 50px;
61
- padding: 0 1.2rem;
62
- }
63
-
64
- .datatable-pager {
65
- margin: 0 10px;
66
- vertical-align: top;
67
-
68
- ul {
69
- li {
70
- margin: 10px 0px;
71
-
72
- &:not(.disabled) {
73
- &.active a,
74
- &:hover a {
75
- background-color: #455066;
76
- font-weight: bold;
77
- }
78
- }
79
- }
80
- }
81
-
82
- a {
83
- height: 22px;
84
- min-width: 24px;
85
- line-height: 22px;
86
- padding: 0;
87
- border-radius: 3px;
88
- margin: 0 3px;
89
- text-align: center;
90
- vertical-align: top;
91
- text-decoration: none;
92
- vertical-align: bottom;
93
- color: #72809b;
94
- }
95
-
96
- .datatable-icon-left,
97
- .datatable-icon-skip,
98
- .datatable-icon-right,
99
- .datatable-icon-prev {
100
- font-size: 18px;
101
- line-height: 27px;
102
- padding: 0 3px;
103
- }
104
- }
105
- }
106
-
107
- .datatable-summary-row {
108
- .datatable-body-row {
109
- background-color: #14171f;
110
-
111
- &:hover {
112
- background-color: #14171f;
113
- }
114
-
115
- .datatable-body-cell {
116
- font-weight: bold;
117
- }
118
- }
119
- }
120
- }
@@ -1,305 +0,0 @@
1
- /*
2
- This stylesheet uses scss valiables for most of the colors / background-colors of the table
3
- to enable the customization of the displayed table without cloning the stylesheet into the
4
- own application.
5
-
6
- To modify table colors, add the following lines to the scss file of your application
7
- (this example modifies the color of the selected row - selectionType = single, multi or multiClick):
8
-
9
- $ngx-datatable-selected-active-background: yellow;
10
- $ngx-datatable-selected-active-background-hover: rgba(yellow, 0.2);
11
-
12
- @import '~@swimlane/ngx-datatable/index.css';
13
- @import '~@swimlane/ngx-datatable/themes/material.scss';
14
- @import '~@swimlane/ngx-datatable/assets/icons.css';
15
-
16
- That's all.
17
- */
18
- .ngx-datatable.material {
19
- background: #fff;
20
- box-shadow: 0 5px 5px -3px rgba(0, 0, 0, 0.2), 0 8px 10px 1px rgba(0, 0, 0, 0.14), 0 3px 14px 2px rgba(0, 0, 0, 0.12);
21
- /**
22
- * Shared Styles
23
- */
24
- /**
25
- * Global Row Styles
26
- */
27
- /**
28
- * Header Styles
29
- */
30
- /**
31
- * Body Styles
32
- */
33
- /**
34
- * Footer Styles
35
- */ }
36
- .ngx-datatable.material.striped .datatable-row-odd {
37
- background: #eee; }
38
- .ngx-datatable.material.single-selection .datatable-body-row.active,
39
- .ngx-datatable.material.single-selection .datatable-body-row.active .datatable-row-group, .ngx-datatable.material.multi-selection .datatable-body-row.active,
40
- .ngx-datatable.material.multi-selection .datatable-body-row.active .datatable-row-group, .ngx-datatable.material.multi-click-selection .datatable-body-row.active,
41
- .ngx-datatable.material.multi-click-selection .datatable-body-row.active .datatable-row-group {
42
- background-color: #304ffe;
43
- color: #fff; }
44
- .ngx-datatable.material.single-selection .datatable-body-row.active:hover,
45
- .ngx-datatable.material.single-selection .datatable-body-row.active:hover .datatable-row-group, .ngx-datatable.material.multi-selection .datatable-body-row.active:hover,
46
- .ngx-datatable.material.multi-selection .datatable-body-row.active:hover .datatable-row-group, .ngx-datatable.material.multi-click-selection .datatable-body-row.active:hover,
47
- .ngx-datatable.material.multi-click-selection .datatable-body-row.active:hover .datatable-row-group {
48
- background-color: #193ae4;
49
- color: #fff; }
50
- .ngx-datatable.material.single-selection .datatable-body-row.active:focus,
51
- .ngx-datatable.material.single-selection .datatable-body-row.active:focus .datatable-row-group, .ngx-datatable.material.multi-selection .datatable-body-row.active:focus,
52
- .ngx-datatable.material.multi-selection .datatable-body-row.active:focus .datatable-row-group, .ngx-datatable.material.multi-click-selection .datatable-body-row.active:focus,
53
- .ngx-datatable.material.multi-click-selection .datatable-body-row.active:focus .datatable-row-group {
54
- background-color: #2041ef;
55
- color: #fff; }
56
- .ngx-datatable.material:not(.cell-selection) .datatable-body-row:hover,
57
- .ngx-datatable.material:not(.cell-selection) .datatable-body-row:hover .datatable-row-group {
58
- background-color: #eee;
59
- transition-property: background;
60
- transition-duration: 0.3s;
61
- transition-timing-function: linear; }
62
- .ngx-datatable.material:not(.cell-selection) .datatable-body-row:focus,
63
- .ngx-datatable.material:not(.cell-selection) .datatable-body-row:focus .datatable-row-group {
64
- background-color: #ddd; }
65
- .ngx-datatable.material.cell-selection .datatable-body-cell:hover,
66
- .ngx-datatable.material.cell-selection .datatable-body-cell:hover .datatable-row-group {
67
- background-color: #eee;
68
- transition-property: background;
69
- transition-duration: 0.3s;
70
- transition-timing-function: linear; }
71
- .ngx-datatable.material.cell-selection .datatable-body-cell:focus,
72
- .ngx-datatable.material.cell-selection .datatable-body-cell:focus .datatable-row-group {
73
- background-color: #ddd; }
74
- .ngx-datatable.material.cell-selection .datatable-body-cell.active,
75
- .ngx-datatable.material.cell-selection .datatable-body-cell.active .datatable-row-group {
76
- background-color: #304ffe;
77
- color: #fff; }
78
- .ngx-datatable.material.cell-selection .datatable-body-cell.active:hover,
79
- .ngx-datatable.material.cell-selection .datatable-body-cell.active:hover .datatable-row-group {
80
- background-color: #193ae4;
81
- color: #fff; }
82
- .ngx-datatable.material.cell-selection .datatable-body-cell.active:focus,
83
- .ngx-datatable.material.cell-selection .datatable-body-cell.active:focus .datatable-row-group {
84
- background-color: #2041ef;
85
- color: #fff; }
86
- .ngx-datatable.material .empty-row {
87
- height: 50px;
88
- text-align: left;
89
- padding: 0.5rem 1.2rem;
90
- vertical-align: top;
91
- border-top: 0; }
92
- .ngx-datatable.material .loading-row {
93
- text-align: left;
94
- padding: 0.5rem 1.2rem;
95
- vertical-align: top;
96
- border-top: 0; }
97
- .ngx-datatable.material .datatable-header .datatable-row-left,
98
- .ngx-datatable.material .datatable-body .datatable-row-left {
99
- background-color: #fff;
100
- background-position: 100% 0;
101
- background-repeat: repeat-y;
102
- background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAQAAAABCAYAAAD5PA/NAAAAFklEQVQIHWPSkNeSBmJhTQVtbiDNCgASagIIuJX8OgAAAABJRU5ErkJggg==); }
103
- .ngx-datatable.material .datatable-header .datatable-row-right,
104
- .ngx-datatable.material .datatable-body .datatable-row-right {
105
- background-position: 0 0;
106
- background-color: #fff;
107
- background-repeat: repeat-y;
108
- background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAQAAAABCAYAAAD5PA/NAAAAFklEQVQI12PQkNdi1VTQ5gbSwkAsDQARLAIGtOSFUAAAAABJRU5ErkJggg==); }
109
- .ngx-datatable.material .datatable-header {
110
- border-bottom: 1px solid rgba(0, 0, 0, 0.12); }
111
- .ngx-datatable.material .datatable-header .datatable-header-cell {
112
- text-align: left;
113
- padding: 0.9rem 1.2rem;
114
- font-weight: 400;
115
- background-color: #fff;
116
- color: rgba(0, 0, 0, 0.54);
117
- vertical-align: bottom;
118
- font-size: 12px;
119
- font-weight: 500; }
120
- .ngx-datatable.material .datatable-header .datatable-header-cell .datatable-header-cell-wrapper {
121
- position: relative; }
122
- .ngx-datatable.material .datatable-header .datatable-header-cell.longpress .draggable::after {
123
- transition: transform 400ms ease, opacity 400ms ease;
124
- opacity: 0.5;
125
- transform: scale(1); }
126
- .ngx-datatable.material .datatable-header .datatable-header-cell .draggable::after {
127
- content: ' ';
128
- position: absolute;
129
- top: 50%;
130
- left: 50%;
131
- margin: -30px 0 0 -30px;
132
- height: 60px;
133
- width: 60px;
134
- background: #eee;
135
- border-radius: 100%;
136
- opacity: 1;
137
- filter: none;
138
- transform: scale(0);
139
- z-index: 9999;
140
- pointer-events: none; }
141
- .ngx-datatable.material .datatable-header .datatable-header-cell.dragging .resize-handle {
142
- border-right: none; }
143
- .ngx-datatable.material .datatable-header .resize-handle {
144
- border-right: solid 1px #eee; }
145
- .ngx-datatable.material .datatable-body {
146
- position: relative; }
147
- .ngx-datatable.material .datatable-body .datatable-row-detail {
148
- background: #f5f5f5;
149
- padding: 10px; }
150
- .ngx-datatable.material .datatable-body .datatable-group-header {
151
- background: #f5f5f5;
152
- border-bottom: solid 1px #d9d8d9;
153
- border-top: solid 1px #d9d8d9; }
154
- .ngx-datatable.material .datatable-body .datatable-body-row .datatable-body-cell {
155
- text-align: left;
156
- padding: 0.9rem 1.2rem;
157
- vertical-align: top;
158
- border-top: 0;
159
- color: rgba(0, 0, 0, 0.87);
160
- transition: width 0.3s ease;
161
- font-size: 14px;
162
- font-weight: 400; }
163
- .ngx-datatable.material .datatable-body .datatable-body-row .datatable-body-group-cell {
164
- text-align: left;
165
- padding: 0.9rem 1.2rem;
166
- vertical-align: top;
167
- border-top: 0;
168
- color: rgba(0, 0, 0, 0.87);
169
- transition: width 0.3s ease;
170
- font-size: 14px;
171
- font-weight: 400; }
172
- .ngx-datatable.material .datatable-body .progress-linear {
173
- display: block;
174
- position: sticky;
175
- width: 100%;
176
- height: 5px;
177
- padding: 0;
178
- margin: 0;
179
- top: 0; }
180
- .ngx-datatable.material .datatable-body .progress-linear .container {
181
- display: block;
182
- position: relative;
183
- overflow: hidden;
184
- width: 100%;
185
- height: 5px;
186
- -webkit-transform: translate(0, 0) scale(1, 1);
187
- transform: translate(0, 0) scale(1, 1);
188
- background-color: #aad1f9; }
189
- .ngx-datatable.material .datatable-body .progress-linear .container .bar {
190
- transition: all 0.2s linear;
191
- -webkit-animation: query 0.8s infinite cubic-bezier(0.39, 0.575, 0.565, 1);
192
- animation: query 0.8s infinite cubic-bezier(0.39, 0.575, 0.565, 1);
193
- transition: -webkit-transform 0.2s linear;
194
- transition: transform 0.2s linear;
195
- background-color: #106cc8;
196
- position: absolute;
197
- left: 0;
198
- top: 0;
199
- bottom: 0;
200
- width: 100%;
201
- height: 5px; }
202
- .ngx-datatable.material .datatable-footer {
203
- border-top: 1px solid rgba(0, 0, 0, 0.12);
204
- font-size: 12px;
205
- font-weight: 400;
206
- color: rgba(0, 0, 0, 0.54); }
207
- .ngx-datatable.material .datatable-footer .page-count {
208
- line-height: 50px;
209
- height: 50px;
210
- padding: 0 1.2rem; }
211
- .ngx-datatable.material .datatable-footer .datatable-pager {
212
- margin: 0 10px; }
213
- .ngx-datatable.material .datatable-footer .datatable-pager li {
214
- vertical-align: middle; }
215
- .ngx-datatable.material .datatable-footer .datatable-pager li.disabled a {
216
- color: rgba(0, 0, 0, 0.26) !important;
217
- background-color: transparent !important; }
218
- .ngx-datatable.material .datatable-footer .datatable-pager li.active a {
219
- background-color: rgba(158, 158, 158, 0.2);
220
- font-weight: bold; }
221
- .ngx-datatable.material .datatable-footer .datatable-pager a {
222
- height: 22px;
223
- min-width: 24px;
224
- line-height: 22px;
225
- padding: 0 6px;
226
- border-radius: 3px;
227
- margin: 6px 3px;
228
- text-align: center;
229
- vertical-align: top;
230
- color: rgba(0, 0, 0, 0.54);
231
- text-decoration: none;
232
- vertical-align: bottom; }
233
- .ngx-datatable.material .datatable-footer .datatable-pager a:hover {
234
- color: rgba(0, 0, 0, 0.75);
235
- background-color: rgba(158, 158, 158, 0.2); }
236
- .ngx-datatable.material .datatable-footer .datatable-pager .datatable-icon-left,
237
- .ngx-datatable.material .datatable-footer .datatable-pager .datatable-icon-skip,
238
- .ngx-datatable.material .datatable-footer .datatable-pager .datatable-icon-right,
239
- .ngx-datatable.material .datatable-footer .datatable-pager .datatable-icon-prev {
240
- font-size: 20px;
241
- line-height: 20px;
242
- padding: 0 3px; }
243
- .ngx-datatable.material .datatable-summary-row .datatable-body-row {
244
- background-color: #ddd; }
245
- .ngx-datatable.material .datatable-summary-row .datatable-body-row:hover {
246
- background-color: #ddd; }
247
- .ngx-datatable.material .datatable-summary-row .datatable-body-row .datatable-body-cell {
248
- font-weight: bold; }
249
-
250
- /**
251
- * Checkboxes
252
- **/
253
- .datatable-checkbox {
254
- position: relative;
255
- margin: 0;
256
- cursor: pointer;
257
- vertical-align: middle;
258
- display: inline-block;
259
- box-sizing: border-box;
260
- padding: 0; }
261
- .datatable-checkbox input[type='checkbox'] {
262
- position: relative;
263
- margin: 0 1rem 0 0;
264
- cursor: pointer;
265
- outline: none; }
266
- .datatable-checkbox input[type='checkbox']:before {
267
- -webkit-transition: all 0.3s ease-in-out;
268
- -moz-transition: all 0.3s ease-in-out;
269
- transition: all 0.3s ease-in-out;
270
- content: '';
271
- position: absolute;
272
- left: 0;
273
- z-index: 1;
274
- width: 1rem;
275
- height: 1rem;
276
- border: 2px solid #f2f2f2; }
277
- .datatable-checkbox input[type='checkbox']:checked:before {
278
- -webkit-transform: rotate(-45deg);
279
- -moz-transform: rotate(-45deg);
280
- -ms-transform: rotate(-45deg);
281
- transform: rotate(-45deg);
282
- height: 0.5rem;
283
- border-color: #009688;
284
- border-top-style: none;
285
- border-right-style: none; }
286
- .datatable-checkbox input[type='checkbox']:after {
287
- content: '';
288
- position: absolute;
289
- top: 0;
290
- left: 0;
291
- width: 1rem;
292
- height: 1rem;
293
- background: #fff;
294
- cursor: pointer; }
295
-
296
- /**
297
- * Progress bar animations
298
- */
299
- @keyframes query {
300
- 0% {
301
- opacity: 1;
302
- transform: translateX(35%) scale(0.3, 1); }
303
- 100% {
304
- opacity: 0;
305
- transform: translateX(-50%) scale(0, 1); } }