@datorama/core 22.12.0 → 22.12.1-beta.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.
package/bundle.scss CHANGED
@@ -5206,7 +5206,7 @@ dato-list-v2 .checkmark {
5206
5206
  line-height: 19px;
5207
5207
  }
5208
5208
 
5209
- .simple-bold, .dato-grid.pivot-mode .ag-header .ag-header-row .ag-header-group-cell .ag-header-group-cell-label span {
5209
+ .simple-bold, .dato-grid.pivot-style .ag-header .ag-header-row .ag-header-group-cell .ag-header-group-cell-label span {
5210
5210
  font-size: 14px;
5211
5211
  font-weight: 600;
5212
5212
  line-height: 19px;
@@ -6223,7 +6223,7 @@ dato-grid-header span {
6223
6223
  border-left: none;
6224
6224
  }
6225
6225
 
6226
- .ag-dato-core .ag-row-hover, .ag-dato-core .dato-grid.pivot-mode .ag-row.ag-row-group.ag-row-hover .ag-cell.ag-cell-value, .dato-grid.pivot-mode .ag-row.ag-row-group.ag-row-hover .ag-dato-core .ag-cell.ag-cell-value {
6226
+ .ag-dato-core .ag-row-hover, .ag-dato-core .dato-grid.pivot-style .ag-row.ag-row-group.ag-row-hover .ag-cell.ag-cell-value, .dato-grid.pivot-style .ag-row.ag-row-group.ag-row-hover .ag-dato-core .ag-cell.ag-cell-value {
6227
6227
  background-color: themify(accent-100);
6228
6228
  }
6229
6229
 
@@ -11287,7 +11287,7 @@ dato-button-group.is-round-edges dato-button:last-of-type button {
11287
11287
  line-height: 19px;
11288
11288
  }
11289
11289
 
11290
- .simple-bold, .dato-grid.pivot-mode .ag-header .ag-header-row .ag-header-group-cell .ag-header-group-cell-label span {
11290
+ .simple-bold, .dato-grid.pivot-style .ag-header .ag-header-row .ag-header-group-cell .ag-header-group-cell-label span {
11291
11291
  font-size: 14px;
11292
11292
  font-weight: 600;
11293
11293
  line-height: 19px;
@@ -11376,6 +11376,7 @@ dato-button-group.is-round-edges dato-button:last-of-type button {
11376
11376
 
11377
11377
  /* Header Theme */
11378
11378
  /* Row Theme */
11379
+ /* Row Group Theme */
11379
11380
  dato-input input {
11380
11381
  background-color: themify(primary-0);
11381
11382
  border: themify(primary-200) 1px solid;
@@ -12355,7 +12356,7 @@ dato-input input:disabled:hover {
12355
12356
  border-left: none;
12356
12357
  }
12357
12358
 
12358
- .dato-grid .ag-row-hover, .dato-grid.pivot-mode .ag-row.ag-row-group.ag-row-hover .ag-cell.ag-cell-value {
12359
+ .dato-grid .ag-row-hover, .dato-grid.pivot-style .ag-row.ag-row-group.ag-row-hover .ag-cell.ag-cell-value {
12359
12360
  background-color: themify(accent-100);
12360
12361
  }
12361
12362
 
@@ -14060,38 +14061,19 @@ dato-input input:disabled:hover {
14060
14061
  fill: themify(accent-400);
14061
14062
  }
14062
14063
 
14063
- .dato-grid:not(.pivot-mode) .ag-row {
14064
+ .dato-grid .ag-row {
14064
14065
  cursor: pointer;
14065
14066
  }
14066
14067
 
14067
- .dato-grid:not(.pivot-mode) .ag-row.ag-row-group {
14068
- background-color: themify(primary-0);
14069
- border-bottom: solid 1px themify(primary-200);
14070
- height: 35px;
14071
- }
14072
-
14073
- .dato-grid:not(.pivot-mode) .ag-row.ag-row-group span {
14074
- color: themify(primary-300);
14075
- font-weight: 600;
14076
- }
14077
-
14078
- .dato-grid:not(.pivot-mode) .ag-row.ag-row-group:hover span {
14079
- color: themify(accent-400);
14080
- }
14081
-
14082
- .dato-grid:not(.pivot-mode) .ag-row.ag-row-group:hover .da-grid-icon {
14083
- fill: themify(accent-400);
14084
- }
14085
-
14086
- .dato-grid:not(.pivot-mode) .ag-row.ag-row-selected.ag-row-even {
14068
+ .dato-grid .ag-row.ag-row-selected.ag-row-even {
14087
14069
  background-color: themify(accent-180);
14088
14070
  }
14089
14071
 
14090
- .dato-grid:not(.pivot-mode) .ag-row.actions-hovered:not(.ag-row-selected) {
14072
+ .dato-grid .ag-row.actions-hovered:not(.ag-row-selected) {
14091
14073
  background-color: themify(accent-100);
14092
14074
  }
14093
14075
 
14094
- .dato-grid:not(.pivot-mode) .ag-cell .ag-selection-checkbox {
14076
+ .dato-grid .ag-cell .ag-selection-checkbox {
14095
14077
  display: block;
14096
14078
  position: relative;
14097
14079
  cursor: pointer;
@@ -14104,7 +14086,7 @@ dato-input input:disabled:hover {
14104
14086
  margin-top: -1px;
14105
14087
  }
14106
14088
 
14107
- .dato-grid:not(.pivot-mode) .ag-cell .ag-selection-checkbox .ag-icon {
14089
+ .dato-grid .ag-cell .ag-selection-checkbox .ag-icon {
14108
14090
  height: 100%;
14109
14091
  width: 100%;
14110
14092
  border-radius: 2px;
@@ -14113,7 +14095,7 @@ dato-input input:disabled:hover {
14113
14095
  left: 0;
14114
14096
  }
14115
14097
 
14116
- .dato-grid:not(.pivot-mode) .ag-cell .ag-selection-checkbox .ag-icon:after {
14098
+ .dato-grid .ag-cell .ag-selection-checkbox .ag-icon:after {
14117
14099
  content: "";
14118
14100
  position: absolute;
14119
14101
  display: none;
@@ -14127,52 +14109,52 @@ dato-input input:disabled:hover {
14127
14109
  box-sizing: border-box;
14128
14110
  }
14129
14111
 
14130
- .dato-grid:not(.pivot-mode) .ag-cell .ag-selection-checkbox .ag-icon.ag-icon-checkbox-checked {
14112
+ .dato-grid .ag-cell .ag-selection-checkbox .ag-icon.ag-icon-checkbox-checked {
14131
14113
  background-color: themify(accent-400);
14132
14114
  }
14133
14115
 
14134
- .dato-grid:not(.pivot-mode) .ag-cell .ag-selection-checkbox .ag-icon.ag-icon-checkbox-checked:hover {
14116
+ .dato-grid .ag-cell .ag-selection-checkbox .ag-icon.ag-icon-checkbox-checked:hover {
14135
14117
  background-color: themify(accent-500);
14136
14118
  }
14137
14119
 
14138
- .dato-grid:not(.pivot-mode) .ag-cell .ag-selection-checkbox .ag-icon.ag-icon-checkbox-checked:active {
14120
+ .dato-grid .ag-cell .ag-selection-checkbox .ag-icon.ag-icon-checkbox-checked:active {
14139
14121
  background-color: themify(accent-600);
14140
14122
  }
14141
14123
 
14142
- .dato-grid:not(.pivot-mode) .ag-cell .ag-selection-checkbox .ag-icon.ag-icon-checkbox-checked:after {
14124
+ .dato-grid .ag-cell .ag-selection-checkbox .ag-icon.ag-icon-checkbox-checked:after {
14143
14125
  display: block;
14144
14126
  }
14145
14127
 
14146
- .dato-grid:not(.pivot-mode) .ag-cell .ag-selection-checkbox .ag-icon.ag-icon-checkbox-unchecked,
14147
- .dato-grid:not(.pivot-mode) .ag-cell .ag-selection-checkbox .ag-icon.ag-icon-checkbox-indeterminate {
14128
+ .dato-grid .ag-cell .ag-selection-checkbox .ag-icon.ag-icon-checkbox-unchecked,
14129
+ .dato-grid .ag-cell .ag-selection-checkbox .ag-icon.ag-icon-checkbox-indeterminate {
14148
14130
  background-color: themify(primary-0);
14149
14131
  border: solid 1px themify(primary-300);
14150
14132
  }
14151
14133
 
14152
- .dato-grid:not(.pivot-mode) .ag-cell .ag-selection-checkbox .ag-icon.ag-icon-checkbox-unchecked:hover,
14153
- .dato-grid:not(.pivot-mode) .ag-cell .ag-selection-checkbox .ag-icon.ag-icon-checkbox-indeterminate:hover {
14134
+ .dato-grid .ag-cell .ag-selection-checkbox .ag-icon.ag-icon-checkbox-unchecked:hover,
14135
+ .dato-grid .ag-cell .ag-selection-checkbox .ag-icon.ag-icon-checkbox-indeterminate:hover {
14154
14136
  border-color: themify(accent-500);
14155
14137
  }
14156
14138
 
14157
- .dato-grid:not(.pivot-mode) .ag-cell .ag-selection-checkbox .ag-icon.ag-icon-checkbox-unchecked:active,
14158
- .dato-grid:not(.pivot-mode) .ag-cell .ag-selection-checkbox .ag-icon.ag-icon-checkbox-indeterminate:active {
14139
+ .dato-grid .ag-cell .ag-selection-checkbox .ag-icon.ag-icon-checkbox-unchecked:active,
14140
+ .dato-grid .ag-cell .ag-selection-checkbox .ag-icon.ag-icon-checkbox-indeterminate:active {
14159
14141
  border-color: themify(accent-600);
14160
14142
  }
14161
14143
 
14162
- .dato-grid:not(.pivot-mode) .ag-cell .ag-selection-checkbox + span.ag-cell-value {
14144
+ .dato-grid .ag-cell .ag-selection-checkbox + span.ag-cell-value {
14163
14145
  display: inline;
14164
14146
  margin-left: 12px;
14165
14147
  }
14166
14148
 
14167
- .dato-grid:not(.pivot-mode) .ag-cell .search-highlight {
14149
+ .dato-grid .ag-cell .search-highlight {
14168
14150
  background-color: #FDF2CF;
14169
14151
  }
14170
14152
 
14171
- .dato-grid:not(.pivot-mode) .dato-editable-cell {
14153
+ .dato-grid .dato-editable-cell {
14172
14154
  padding: 2px 0;
14173
14155
  }
14174
14156
 
14175
- .dato-grid:not(.pivot-mode) .dato-editable-cell .value-wrapper {
14157
+ .dato-grid .dato-editable-cell .value-wrapper {
14176
14158
  min-height: 31px;
14177
14159
  line-height: 29px;
14178
14160
  margin: 0 2px;
@@ -14181,69 +14163,69 @@ dato-input input:disabled:hover {
14181
14163
  border: 1px solid transparent;
14182
14164
  }
14183
14165
 
14184
- .dato-grid:not(.pivot-mode) .dato-editable-cell:hover .value-wrapper {
14166
+ .dato-grid .dato-editable-cell:hover .value-wrapper {
14185
14167
  border-color: themify(accent-400);
14186
14168
  }
14187
14169
 
14188
- .dato-grid:not(.pivot-mode) .dato-editable-cell.ag-cell-not-inline-editing {
14170
+ .dato-grid .dato-editable-cell.ag-cell-not-inline-editing {
14189
14171
  display: flex;
14190
14172
  align-items: center;
14191
14173
  }
14192
14174
 
14193
- .dato-grid:not(.pivot-mode) .dato-editable-cell.ag-cell-not-inline-editing .ag-input-text-wrapper, .dato-grid:not(.pivot-mode) .dato-editable-cell.ag-cell-not-inline-editing > span {
14175
+ .dato-grid .dato-editable-cell.ag-cell-not-inline-editing .ag-input-text-wrapper, .dato-grid .dato-editable-cell.ag-cell-not-inline-editing > span {
14194
14176
  width: 100%;
14195
14177
  }
14196
14178
 
14197
- .dato-grid:not(.pivot-mode) .ag-cell-highlight {
14179
+ .dato-grid .ag-cell-highlight {
14198
14180
  background-color: transparent !important;
14199
14181
  }
14200
14182
 
14201
- .dato-grid:not(.pivot-mode) .ag-cell-highlight-animation {
14183
+ .dato-grid .ag-cell-highlight-animation {
14202
14184
  transition: background-color 1s;
14203
14185
  }
14204
14186
 
14205
- .dato-grid:not(.pivot-mode) .ag-row-drag {
14187
+ .dato-grid .ag-row-drag {
14206
14188
  background-position-y: center;
14207
14189
  }
14208
14190
 
14209
- .dato-grid:not(.pivot-mode) .ag-column-drag {
14191
+ .dato-grid .ag-column-drag {
14210
14192
  background-position-y: center;
14211
14193
  }
14212
14194
 
14213
- .dato-grid:not(.pivot-mode) .ag-cell-range-selected-1:not(.ag-cell-focus) {
14195
+ .dato-grid .ag-cell-range-selected-1:not(.ag-cell-focus) {
14214
14196
  background-color: rgba(120, 120, 120, 0.4);
14215
14197
  }
14216
14198
 
14217
- .dato-grid:not(.pivot-mode) .ag-cell-range-selected-2:not(.ag-cell-focus) {
14199
+ .dato-grid .ag-cell-range-selected-2:not(.ag-cell-focus) {
14218
14200
  background-color: rgba(110, 110, 110, 0.4);
14219
14201
  }
14220
14202
 
14221
- .dato-grid:not(.pivot-mode) .ag-cell-range-selected-3:not(.ag-cell-focus) {
14203
+ .dato-grid .ag-cell-range-selected-3:not(.ag-cell-focus) {
14222
14204
  background-color: rgba(100, 100, 100, 0.4);
14223
14205
  }
14224
14206
 
14225
- .dato-grid:not(.pivot-mode) .ag-cell-range-selected-4:not(.ag-cell-focus) {
14207
+ .dato-grid .ag-cell-range-selected-4:not(.ag-cell-focus) {
14226
14208
  background-color: rgba(89, 89, 89, 0.4);
14227
14209
  }
14228
14210
 
14229
- .dato-grid:not(.pivot-mode) .ag-ltr .ag-has-focus .ag-cell-focus {
14211
+ .dato-grid .ag-ltr .ag-has-focus .ag-cell-focus {
14230
14212
  border-color: transparent;
14231
14213
  }
14232
14214
 
14233
- .dato-grid:not(.pivot-mode) .ag-row.ag-row-even .ag-cell-inline-editing {
14215
+ .dato-grid .ag-row.ag-row-even .ag-cell-inline-editing {
14234
14216
  background-color: themify(accent-180);
14235
14217
  }
14236
14218
 
14237
- .dato-grid:not(.pivot-mode) .ag-row.ag-row-odd .ag-cell-inline-editing {
14219
+ .dato-grid .ag-row.ag-row-odd .ag-cell-inline-editing {
14238
14220
  background-color: themify(accent-200);
14239
14221
  }
14240
14222
 
14241
- .dato-grid:not(.pivot-mode) .ag-cell.ag-cell-inline-editing {
14223
+ .dato-grid .ag-cell.ag-cell-inline-editing {
14242
14224
  box-shadow: none;
14243
14225
  padding: 0 2px;
14244
14226
  }
14245
14227
 
14246
- .dato-grid:not(.pivot-mode) .ag-cell.ag-cell-inline-editing input.ag-cell-edit-input[type] {
14228
+ .dato-grid .ag-cell.ag-cell-inline-editing input.ag-cell-edit-input[type] {
14247
14229
  height: 30px;
14248
14230
  min-height: 30px;
14249
14231
  line-height: 30px;
@@ -14256,107 +14238,126 @@ dato-input input:disabled:hover {
14256
14238
  color: themify(primary-600);
14257
14239
  }
14258
14240
 
14259
- .dato-grid:not(.pivot-mode) .ag-cell.ag-cell-inline-editing input.ag-cell-edit-input[type].no-clear-btn {
14241
+ .dato-grid .ag-cell.ag-cell-inline-editing input.ag-cell-edit-input[type].no-clear-btn {
14260
14242
  padding-right: 10px;
14261
14243
  }
14262
14244
 
14263
- .dato-grid:not(.pivot-mode) .ag-cell.ag-cell-inline-editing input.ag-cell-edit-input[type]:focus {
14245
+ .dato-grid .ag-cell.ag-cell-inline-editing input.ag-cell-edit-input[type]:focus {
14264
14246
  outline: none;
14265
14247
  box-shadow: none;
14266
14248
  }
14267
14249
 
14268
- .dato-grid:not(.pivot-mode) .ag-cell.ag-cell-inline-editing input.ag-cell-edit-input[type]:hover {
14250
+ .dato-grid .ag-cell.ag-cell-inline-editing input.ag-cell-edit-input[type]:hover {
14269
14251
  transition: 0.3s all;
14270
14252
  }
14271
14253
 
14272
- .dato-grid:not(.pivot-mode) .ag-cell.ag-cell-inline-editing input.ag-cell-edit-input[type]::-webkit-input-placeholder {
14254
+ .dato-grid .ag-cell.ag-cell-inline-editing input.ag-cell-edit-input[type]::-webkit-input-placeholder {
14273
14255
  color: themify(primary-300);
14274
14256
  }
14275
14257
 
14276
- .dato-grid:not(.pivot-mode) .ag-cell.ag-cell-inline-editing input.ag-cell-edit-input[type]:-moz-placeholder {
14258
+ .dato-grid .ag-cell.ag-cell-inline-editing input.ag-cell-edit-input[type]:-moz-placeholder {
14277
14259
  color: themify(primary-300);
14278
14260
  }
14279
14261
 
14280
- .dato-grid:not(.pivot-mode) .ag-cell.ag-cell-inline-editing input.ag-cell-edit-input[type]::-moz-placeholder {
14262
+ .dato-grid .ag-cell.ag-cell-inline-editing input.ag-cell-edit-input[type]::-moz-placeholder {
14281
14263
  color: themify(primary-300);
14282
14264
  }
14283
14265
 
14284
- .dato-grid:not(.pivot-mode) .ag-cell.ag-cell-inline-editing input.ag-cell-edit-input[type]:-ms-input-placeholder {
14266
+ .dato-grid .ag-cell.ag-cell-inline-editing input.ag-cell-edit-input[type]:-ms-input-placeholder {
14285
14267
  color: themify(primary-300);
14286
14268
  }
14287
14269
 
14288
- .dato-grid:not(.pivot-mode) .ag-cell.ag-cell-inline-editing input.ag-cell-edit-input[type]:hover {
14270
+ .dato-grid .ag-cell.ag-cell-inline-editing input.ag-cell-edit-input[type]:hover {
14289
14271
  border-color: themify(primary-300);
14290
14272
  }
14291
14273
 
14292
- .dato-grid:not(.pivot-mode) .ag-cell.ag-cell-inline-editing input.ag-cell-edit-input[type]:focus {
14274
+ .dato-grid .ag-cell.ag-cell-inline-editing input.ag-cell-edit-input[type]:focus {
14293
14275
  border-color: themify(accent-400) !important;
14294
14276
  }
14295
14277
 
14296
- .dato-grid:not(.pivot-mode) .ag-cell.ag-cell-inline-editing input.ag-cell-edit-input[type][disabled] {
14278
+ .dato-grid .ag-cell.ag-cell-inline-editing input.ag-cell-edit-input[type][disabled] {
14297
14279
  background-color: themify(primary-300, 0.1);
14298
14280
  cursor: not-allowed;
14299
14281
  border: 1px solid transparent;
14300
14282
  color: themify(primary-200);
14301
14283
  }
14302
14284
 
14303
- .dato-grid:not(.pivot-mode) .ag-cell.ag-cell-inline-editing input.ag-cell-edit-input[type][disabled]:hover {
14285
+ .dato-grid .ag-cell.ag-cell-inline-editing input.ag-cell-edit-input[type][disabled]:hover {
14304
14286
  border: 1px solid transparent;
14305
14287
  }
14306
14288
 
14307
- .dato-grid:not(.pivot-mode) .ag-cell.ag-cell-inline-editing input.ag-cell-edit-input[type][disabled] ~ dato-icon path {
14289
+ .dato-grid .ag-cell.ag-cell-inline-editing input.ag-cell-edit-input[type][disabled] ~ dato-icon path {
14308
14290
  fill: themify(primary-200);
14309
14291
  }
14310
14292
 
14311
- .dato-grid:not(.pivot-mode) .ag-cell.ag-cell-inline-editing .ag-input-text-wrapper {
14293
+ .dato-grid .ag-cell.ag-cell-inline-editing .ag-input-text-wrapper {
14312
14294
  width: 100%;
14313
14295
  }
14314
14296
 
14315
- .dato-grid.pivot-mode .ag-row.ag-row-group {
14297
+ .dato-grid:not(.pivot-style) .ag-row.ag-row-group {
14298
+ background-color: themify(primary-0);
14299
+ border-bottom: solid 1px themify(primary-200);
14300
+ height: 35px;
14301
+ }
14302
+
14303
+ .dato-grid:not(.pivot-style) .ag-row.ag-row-group span {
14304
+ color: themify(primary-300);
14305
+ font-weight: 600;
14306
+ }
14307
+
14308
+ .dato-grid:not(.pivot-style) .ag-row.ag-row-group:hover span {
14309
+ color: themify(accent-400);
14310
+ }
14311
+
14312
+ .dato-grid:not(.pivot-style) .ag-row.ag-row-group:hover .da-grid-icon {
14313
+ fill: themify(accent-400);
14314
+ }
14315
+
14316
+ .dato-grid.pivot-style .ag-row.ag-row-group {
14316
14317
  /**
14317
14318
  Because in pivot mode we style the cells themselves,
14318
14319
  we need to reflect the hover state to those cells also
14319
14320
  */
14320
14321
  }
14321
14322
 
14322
- .dato-grid.pivot-mode .ag-row.ag-row-group .bottom-border {
14323
+ .dato-grid.pivot-style .ag-row.ag-row-group .bottom-border {
14323
14324
  border-bottom: 1px solid themify(primary-200);
14324
14325
  }
14325
14326
 
14326
- .dato-grid.pivot-mode .ag-row.ag-row-group:not(.ag-row-hover) {
14327
+ .dato-grid.pivot-style .ag-row.ag-row-group:not(.ag-row-hover) {
14327
14328
  background-color: themify(primary-50);
14328
14329
  }
14329
14330
 
14330
- .dato-grid.pivot-mode .ag-cell {
14331
+ .dato-grid.pivot-style .ag-cell {
14331
14332
  color: themify(primary-500);
14332
14333
  }
14333
14334
 
14334
- .dato-grid.pivot-mode .ag-cell .ag-row-group-leaf-indent {
14335
+ .dato-grid.pivot-style .ag-cell .ag-row-group-leaf-indent {
14335
14336
  margin: 0 !important;
14336
14337
  }
14337
14338
 
14338
- .dato-grid.pivot-mode .ag-header .ag-header-row .ag-header-cell {
14339
+ .dato-grid.pivot-style .ag-header .ag-header-row .ag-header-cell {
14339
14340
  border: none;
14340
14341
  }
14341
14342
 
14342
- .dato-grid.pivot-mode .ag-header .ag-header-row .ag-header-cell dato-grid-column-header {
14343
+ .dato-grid.pivot-style .ag-header .ag-header-row .ag-header-cell dato-grid-column-header {
14343
14344
  display: block;
14344
14345
  height: 100%;
14345
14346
  }
14346
14347
 
14347
- .dato-grid.pivot-mode .ag-header .ag-header-row .ag-header-cell dato-grid-column-header > div {
14348
+ .dato-grid.pivot-style .ag-header .ag-header-row .ag-header-cell dato-grid-column-header > div {
14348
14349
  height: inherit;
14349
14350
  }
14350
14351
 
14351
- .dato-grid.pivot-mode .ag-header .ag-header-row .ag-header-cell dato-grid-column-header > div span {
14352
+ .dato-grid.pivot-style .ag-header .ag-header-row .ag-header-cell dato-grid-column-header > div span {
14352
14353
  color: themify(primary-500);
14353
14354
  }
14354
14355
 
14355
- .dato-grid.pivot-mode .ag-header .ag-header-row .ag-header-cell.top-border {
14356
+ .dato-grid.pivot-style .ag-header .ag-header-row .ag-header-cell.top-border {
14356
14357
  border-top: 1px solid themify(primary-200);
14357
14358
  }
14358
14359
 
14359
- .dato-grid.pivot-mode .ag-header .ag-header-row .ag-header-cell-resize {
14360
+ .dato-grid.pivot-style .ag-header .ag-header-row .ag-header-cell-resize {
14360
14361
  height: 100%;
14361
14362
  margin: 0;
14362
14363
  padding: 0;
@@ -14364,31 +14365,31 @@ dato-input input:disabled:hover {
14364
14365
  border-right: 1px solid themify(primary-200);
14365
14366
  }
14366
14367
 
14367
- .dato-grid.pivot-mode .ag-header .ag-header-row .ag-header-group-cell .ag-header-cell-resize {
14368
+ .dato-grid.pivot-style .ag-header .ag-header-row .ag-header-group-cell .ag-header-cell-resize {
14368
14369
  height: 100%;
14369
14370
  border: none;
14370
14371
  }
14371
14372
 
14372
- .dato-grid.pivot-mode .ag-header .ag-header-row .ag-header-group-cell .ag-header-group-cell-label {
14373
+ .dato-grid.pivot-style .ag-header .ag-header-row .ag-header-group-cell .ag-header-group-cell-label {
14373
14374
  align-items: center;
14374
14375
  }
14375
14376
 
14376
- .dato-grid.pivot-mode .ag-header .ag-header-row .ag-header-group-cell .ag-header-group-cell-label span {
14377
+ .dato-grid.pivot-style .ag-header .ag-header-row .ag-header-group-cell .ag-header-group-cell-label span {
14377
14378
  height: auto;
14378
14379
  color: themify(primary-500);
14379
14380
  }
14380
14381
 
14381
- .dato-grid.pivot-mode .ag-header .ag-header-row .ag-header-group-cell.ag-header-group-cell-with-group {
14382
+ .dato-grid.pivot-style .ag-header .ag-header-row .ag-header-group-cell.ag-header-group-cell-with-group {
14382
14383
  border-top: 1px solid themify(primary-200);
14383
14384
  border-right: 1px solid themify(primary-200);
14384
14385
  background-color: themify(primary-100);
14385
14386
  }
14386
14387
 
14387
- .dato-grid.pivot-mode .ag-header .ag-header-row .ag-header-group-cell.ag-header-group-cell-with-group.empty-pivot-header {
14388
+ .dato-grid.pivot-style .ag-header .ag-header-row .ag-header-group-cell.ag-header-group-cell-with-group.empty-pivot-header {
14388
14389
  display: none;
14389
14390
  }
14390
14391
 
14391
- .dato-grid.pivot-mode .ag-header .ag-header-row .ag-header-group-cell.ag-header-group-cell-with-group.group-pivot-cell .ag-header-group-cell-label {
14392
+ .dato-grid.pivot-style .ag-header .ag-header-row .ag-header-group-cell.ag-header-group-cell-with-group.group-pivot-cell .ag-header-group-cell-label {
14392
14393
  justify-content: center;
14393
14394
  }
14394
14395
 
@@ -14412,6 +14413,7 @@ dato-grid-v2 ag-grid-angular .ag-floating-bottom {
14412
14413
  dato-grid-v2 ag-grid-angular .ag-floating-bottom .ag-row {
14413
14414
  background-color: themify(primary-0) !important;
14414
14415
  border: 1px solid themify(primary-200);
14416
+ border-left: none;
14415
14417
  }
14416
14418
 
14417
14419
  dato-grid-v2 ag-grid-angular .ag-floating-bottom .ag-row .ag-cell {
@@ -13736,7 +13736,7 @@
13736
13736
  type: exports.DatoGridColumnTypes.String,
13737
13737
  menuTabs: ['filterMenuTab'],
13738
13738
  headerComponentFramework: DatoGridColumnHeaderComponent
13739
- }, suppressCellSelection: true, suppressPropertyNamesCheck: true, rowHeight: 35, headerHeight: 30, rowSelection: exports.GridRowSelectionType.MULTIPLE, rowDeselection: true, unSortIcon: true, animateRows: true, rememberGroupStateWhenNewData: true, groupMultiAutoColumn: true, groupDefaultExpanded: -1 }, (isTestEnv() ? { suppressColumnVirtualisation: true, rowBuffer: 99999 } : {}));
13739
+ }, suppressCellSelection: true, suppressPropertyNamesCheck: true, rowHeight: 35, headerHeight: 30, rowSelection: exports.GridRowSelectionType.MULTIPLE, rowDeselection: true, unSortIcon: true, animateRows: true, rememberGroupStateWhenNewData: true, groupMultiAutoColumn: true, groupDefaultExpanded: -1, pivotGridStyle: false }, (isTestEnv() ? { suppressColumnVirtualisation: true, rowBuffer: 99999 } : {}));
13740
13740
  var DEFAULT_GRID_SEARCH_DEBOUNCE_TIME = {
13741
13741
  CLIENT: 200,
13742
13742
  SERVER: 250
@@ -14353,9 +14353,17 @@
14353
14353
  /** Add pivot specific required settings */
14354
14354
  if (params.gridOptions.pivotMode) {
14355
14355
  this.initPivotSecondaryColsProcess(params);
14356
- params.gridOptions.enableV2_1 = true;
14357
14356
  params.gridOptions.saveSettings = false;
14358
- params.gridOptions.defaultColDef = __assign(__assign({}, params.gridOptions.defaultColDef), { cellClass: this.getPivotCellClass.bind(this), headerClass: this.getPivotHeaderClass.bind(this) });
14357
+ }
14358
+ if (params.gridOptions.pivotGridStyle) {
14359
+ params.gridOptions.rowHeight = 30;
14360
+ params.gridOptions.defaultColDef = __assign(__assign({}, params.gridOptions.defaultColDef), { cellClass: this.getPivotCellClass.bind(this), headerClass: this.getPivotHeaderClass.bind(this), cellStyle: function (params) {
14361
+ var style = { lineHeight: '30px' };
14362
+ if (params.colDef.type === exports.DatoGridColumnTypes.Number) {
14363
+ style.textAlign = 'end';
14364
+ }
14365
+ return style;
14366
+ } });
14359
14367
  params.gridOptions.autoGroupColumnDef = __assign(__assign({}, params.gridOptions.autoGroupColumnDef), { cellClass: this.getPivotCellClass.bind(this), headerClass: this.getPivotHeaderClass.bind(this) });
14360
14368
  }
14361
14369
  return params.gridOptions;
@@ -14388,11 +14396,11 @@
14388
14396
  if (leafGroup) {
14389
14397
  if (childIndex % 2 === 0) {
14390
14398
  /** If row is even */
14391
- cellClass += ' primary-0-background-color';
14399
+ cellClass += 'primary-0-background-color';
14392
14400
  }
14393
14401
  }
14394
14402
  else {
14395
- cellClass += 'bottom-border primary-100-background-color pointer dato-simple-bold';
14403
+ cellClass += 'primary-100-background-color pointer dato-simple-bold';
14396
14404
  }
14397
14405
  }
14398
14406
  }
@@ -16188,9 +16196,9 @@
16188
16196
  enumerable: true,
16189
16197
  configurable: true
16190
16198
  });
16191
- Object.defineProperty(DatoGridV2Component.prototype, "isPivotMode", {
16199
+ Object.defineProperty(DatoGridV2Component.prototype, "isPivotStyle", {
16192
16200
  get: function () {
16193
- return this.gridOptions ? this.gridOptions.pivotMode : false;
16201
+ return this.gridOptions ? this.gridOptions.pivotGridStyle : false;
16194
16202
  },
16195
16203
  enumerable: true,
16196
16204
  configurable: true
@@ -16207,7 +16215,7 @@
16207
16215
  DatoGridV2Component = __decorate([
16208
16216
  core.Component({
16209
16217
  selector: 'dato-grid-v2',
16210
- template: "<ag-grid-angular data-auto-id=\"grid\" class=\"dato-grid ag-theme-material\" [class.has-background]=\"enableBackground\" [class.enable-v2_1]=\"enableV2_1\"\n [class.with-multi-selection-col]=\"gridOptions?.showMultiSelectionCheckboxes\" [class.pivot-mode]=\"isPivotMode\">\n</ag-grid-angular>\n<dato-grid-pagination-v2 [class.has-background]=\"enableBackground\"></dato-grid-pagination-v2>\n",
16218
+ template: "<ag-grid-angular data-auto-id=\"grid\" class=\"dato-grid ag-theme-material\" [class.has-background]=\"enableBackground\" [class.enable-v2_1]=\"enableV2_1\"\n [class.with-multi-selection-col]=\"gridOptions?.showMultiSelectionCheckboxes\" [class.pivot-style]=\"isPivotStyle\">\n</ag-grid-angular>\n<dato-grid-pagination-v2 [class.has-background]=\"enableBackground\"></dato-grid-pagination-v2>\n",
16211
16219
  changeDetection: core.ChangeDetectionStrategy.OnPush,
16212
16220
  encapsulation: core.ViewEncapsulation.None,
16213
16221
  styles: ["dato-grid-v2{flex-grow:1;display:flex;flex-direction:column;position:relative}dato-grid-v2 .dato-grid,dato-grid-v2 dato-grid-pagination-v2{position:absolute;left:0;right:0;bottom:0}dato-grid-v2 .dato-grid{top:0;bottom:50px}dato-grid-v2 .grid-hover-actions{position:absolute;z-index:2;transition:opacity .2s ease-in-out}dato-grid-v2 .ag-row-drag{width:initial!important}dato-grid-v2 .da-grid-icon{display:inline-block;line-height:31px;vertical-align:middle;width:initial;height:initial}dato-grid-v2 .da-grid-icon.drag{width:14px;height:14px;margin-right:6px;opacity:0;transition:opacity .3s;transform:translateY(-50%)}dato-grid-v2 .da-grid-icon.folder{width:18px;height:35px;margin:0 8px}dato-grid-v2 .ag-row.ag-row-hover .da-grid-icon.drag{opacity:1}dato-grid-v2 ag-grid-angular.tree .ag-group-contracted,dato-grid-v2 ag-grid-angular.tree .ag-group-expanded{display:inline-block;width:18px;text-align:center}dato-grid-v2 ag-grid-angular.tree .ag-group-checkbox{display:none}dato-grid-v2 ag-grid-angular.tree .ag-row.ag-empty-folder .folder{margin-left:26px}dato-grid-v2 ag-grid-angular.tree .ag-row.ag-row-level-1 .ag-cell-wrapper .ag-row-drag{padding-right:calc(55px * 1)}dato-grid-v2 ag-grid-angular.tree .ag-row .ag-row-group-indent-1{margin-left:0!important;padding-left:0!important}dato-grid-v2 ag-grid-angular.tree .ag-row.ag-row-level-2 .ag-cell-wrapper .ag-row-drag{padding-right:calc(55px * 2)}dato-grid-v2 ag-grid-angular.tree .ag-row .ag-row-group-indent-2{margin-left:0!important;padding-left:0!important}dato-grid-v2 ag-grid-angular.tree .ag-row.ag-row-level-3 .ag-cell-wrapper .ag-row-drag{padding-right:calc(55px * 3)}dato-grid-v2 ag-grid-angular.tree .ag-row .ag-row-group-indent-3{margin-left:0!important;padding-left:0!important}dato-grid-v2 ag-grid-angular.tree .ag-row.ag-row-level-4 .ag-cell-wrapper .ag-row-drag{padding-right:calc(55px * 4)}dato-grid-v2 ag-grid-angular.tree .ag-row .ag-row-group-indent-4{margin-left:0!important;padding-left:0!important}dato-grid-v2 ag-grid-angular.tree .ag-row div[col-id=ag-Grid-AutoColumn]{padding-left:0}dato-grid-v2 ag-grid-angular.tree .ag-row .ag-cell{display:flex;align-items:center}dato-grid-v2 ag-grid-angular.tree .ag-row .ag-cell .ag-group-value>span{display:inline-block;vertical-align:middle}dato-grid-v2 ag-grid-angular.tree .ag-row .ag-cell .initials{border-radius:50%;padding:4px;margin-right:8px;margin-left:20px;width:28px;height:28px;display:inline-block;text-align:center}dato-grid-v2 ag-grid-angular.tree .ag-row-group-leaf-indent{margin-left:0!important}dato-grid-v2 ag-grid-angular.tree .ag-selection-checkbox .ag-icon-checkbox-indeterminate:before{text-align:center;content:'-';display:inline-block;position:absolute;top:0;left:0;right:0;bottom:0;line-height:.5;color:#fff}dato-grid-v2 ag-grid-angular.row-height-35 .ag-cell{line-height:33px}dato-grid-v2 ag-grid-angular.row-height-35 .ag-cell.dato-editable-cell{line-height:29px}dato-grid-v2 ag-grid-angular.row-height-35 .ag-cell.ag-cell-inline-editing{height:35px}dato-grid-v2 ag-grid-angular.row-height-44 .ag-cell{line-height:42px}dato-grid-v2 ag-grid-angular.row-height-44 .ag-cell.dato-editable-cell{line-height:38px}dato-grid-v2 ag-grid-angular.row-height-44 .ag-cell.ag-cell-inline-editing{height:44px}dato-grid-v2 ag-grid-angular.row-height-50 .ag-cell{line-height:48px}dato-grid-v2 ag-grid-angular.row-height-50 .ag-cell.dato-editable-cell{line-height:44px}dato-grid-v2 ag-grid-angular.row-height-50 .ag-cell.ag-cell-inline-editing{height:50px}dato-grid-v2 ag-grid-angular.row-height-59 .ag-cell{line-height:57px}dato-grid-v2 ag-grid-angular.row-height-59 .ag-cell.dato-editable-cell{line-height:53px}dato-grid-v2 ag-grid-angular.row-height-59 .ag-cell.ag-cell-inline-editing{height:59px}dato-grid-v2 ag-grid-angular .ag-cell.checkbox-selection-cell{display:flex}dato-grid-v2 .ag-menu .da-grid-icon svg{vertical-align:middle}dato-grid-v2 .ag-header-cell-sortable .ag-sort-none-icon{opacity:0;transition:opacity .2s}dato-grid-v2 .ag-header-cell-sortable:hover .ag-sort-none-icon{opacity:1}dato-grid-v2 .group-contracted-icon,dato-grid-v2 .group-expanded-icon{width:7px}dato-grid-v2 .group-expanded-icon{transform:rotate(90deg)}dato-grid-v2 .dato-grid .ag-cell{border-top:0;border-bottom:0}dato-grid-v2 .ag-overlay-wrapper ng-component{display:flex}.ag-dnd-ghost{min-width:100px;border:none;display:flex;justify-content:flex-start;align-content:center;align-items:center;cursor:-webkit-grabbing;cursor:grabbing;z-index:10000000}.ag-dnd-ghost .da-grid-icon.column-move-hide svg{height:18px;width:18px}.ag-dnd-ghost .da-grid-icon.column-move svg,.ag-dnd-ghost .da-grid-icon.column-move-pin svg{height:16px;width:16px}"]