@revolist/revogrid 3.2.18 → 3.3.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.
@@ -225,9 +225,9 @@ var isArguments_1 = isArguments;
225
225
  * _.isArray(_.noop);
226
226
  * // => false
227
227
  */
228
- var isArray$1 = Array.isArray;
228
+ var isArray = Array.isArray;
229
229
 
230
- var isArray_1 = isArray$1;
230
+ var isArray_1 = isArray;
231
231
 
232
232
  /**
233
233
  * This method returns `false`.
@@ -5900,123 +5900,91 @@ const PSEUDO_GROUP_ITEM_ID = `${GRID_INTERNALS}-id`;
5900
5900
  const PSEUDO_GROUP_ITEM_VALUE = `${GRID_INTERNALS}-value`;
5901
5901
  const PSEUDO_GROUP_COLUMN = `${GRID_INTERNALS}-column`;
5902
5902
  const GROUP_EXPANDED = `${GRID_INTERNALS}-expanded`;
5903
+ const GROUP_ORIGINAL_INDEX = `${GRID_INTERNALS}-original-index`;
5903
5904
  const GROUP_EXPAND_BTN = `group-expand`;
5904
5905
  const GROUP_EXPAND_EVENT = `groupExpandClick`;
5905
5906
  const GROUPING_ROW_TYPE = 'rgRow';
5906
5907
 
5907
- /**
5908
- * Do actual grouping
5909
- * @param array - items to group
5910
- * @param f - function responsible for grouping, returns property to group by
5911
- */
5912
- function groupBy(array, f) {
5913
- const groupsOrder = [];
5914
- const itemsByGroup = {};
5915
- array.forEach((item, i) => {
5916
- // get grouping values
5917
- const groupKeys = JSON.stringify(f(item));
5918
- // new group identification
5919
- if (!itemsByGroup[groupKeys]) {
5920
- itemsByGroup[groupKeys] = new Map();
5921
- // create group parents
5922
- groupsOrder.push({
5923
- children: itemsByGroup[groupKeys],
5924
- id: groupKeys,
5925
- });
5926
- }
5927
- // save to group with previous index
5928
- itemsByGroup[groupKeys].set(i, item);
5929
- });
5930
- return groupsOrder;
5931
- }
5932
5908
  /**
5933
5909
  * Gather data for grouping
5934
5910
  * @param array - flat data array
5935
- * @param mapFunc - mapping function for stringify
5911
+ * @param groupIds - ids of groups
5936
5912
  * @param expanded - potentially expanded items if present
5937
5913
  */
5938
- function gatherGrouping(array, mapFunc, { prevExpanded, expandedAll }) {
5939
- // build groups
5940
- const groupsOrder = groupBy(array, mapFunc);
5941
- const itemsMirror = []; // grouped source
5942
- const pseudoGroupTest = {}; // check if group header exists
5943
- // item index in source
5944
- let itemIndex = 0;
5945
- // to save max group depth
5946
- let groupingDepth = 0;
5914
+ function gatherGrouping(array, groupIds, { prevExpanded, expandedAll }) {
5915
+ const groupedItems = new Map();
5916
+ array.forEach((item, originalIndex) => {
5917
+ const groupLevelValues = groupIds.map((groupId) => item[groupId] || null);
5918
+ const lastLevelValue = groupLevelValues.pop();
5919
+ let currentGroupLevel = groupedItems;
5920
+ groupLevelValues.forEach((value) => {
5921
+ if (!currentGroupLevel.has(value)) {
5922
+ currentGroupLevel.set(value, new Map());
5923
+ }
5924
+ currentGroupLevel = currentGroupLevel.get(value);
5925
+ });
5926
+ if (!currentGroupLevel.has(lastLevelValue)) {
5927
+ currentGroupLevel.set(lastLevelValue, []);
5928
+ }
5929
+ item[GROUP_ORIGINAL_INDEX] = originalIndex;
5930
+ const lastLevelItems = currentGroupLevel.get(lastLevelValue);
5931
+ lastLevelItems.push(item);
5932
+ });
5933
+ let itemIndex = -1;
5934
+ const groupingDepth = groupIds.length;
5947
5935
  // collapse all groups in the beginning
5948
5936
  const trimmed = {};
5949
5937
  // index mapping
5950
5938
  const oldNewIndexMap = {};
5951
- // go through groups
5952
- groupsOrder.forEach(group => {
5953
- const parseGroup = getParsedGroup(group.id);
5954
- // extra precaution and type safe guard
5955
- if (!parseGroup) {
5956
- return;
5957
- }
5958
- let depth = 0;
5959
- let skipTrim = !!expandedAll;
5960
- let isExpanded = skipTrim;
5961
- const children = [];
5962
- // add group headers
5963
- parseGroup.reduce((prevVal, groupValue) => {
5964
- prevVal.push(groupValue);
5965
- const newVal = prevVal.join(',');
5966
- // if header not added, add new header
5967
- if (!pseudoGroupTest[newVal]) {
5968
- isExpanded = expandedAll || (prevExpanded && prevExpanded[newVal]);
5969
- itemsMirror.push(getPseudoGroup(groupValue, newVal, depth, group.id, isExpanded));
5970
- // if not first level auto collapse
5971
- if (depth && !isExpanded && !skipTrim) {
5972
- // check if parent expanded, expand this layer too
5973
- const parent = prevVal.slice(0, prevVal.length - 1);
5974
- if (!(prevExpanded && parent.length && prevExpanded[parent.join(',')])) {
5939
+ // check if group header exists
5940
+ const pseudoGroupTest = {};
5941
+ const sourceWithGroups = [];
5942
+ function flattenGroupMaps(groupedValues, parentIds, isExpanded) {
5943
+ const depth = parentIds.length;
5944
+ groupedValues.forEach((innerGroupedValues, groupId) => {
5945
+ const levelIds = [...parentIds, groupId];
5946
+ const mergedIds = levelIds.join(',');
5947
+ const isGroupExpanded = isExpanded && (!!expandedAll || !!(prevExpanded === null || prevExpanded === void 0 ? void 0 : prevExpanded[mergedIds]));
5948
+ sourceWithGroups.push({
5949
+ [PSEUDO_GROUP_ITEM]: groupId,
5950
+ [GROUP_DEPTH]: depth,
5951
+ [PSEUDO_GROUP_ITEM_ID]: JSON.stringify(levelIds),
5952
+ [PSEUDO_GROUP_ITEM_VALUE]: mergedIds,
5953
+ [GROUP_EXPANDED]: isGroupExpanded,
5954
+ });
5955
+ itemIndex += 1;
5956
+ if (!isGroupExpanded && depth) {
5957
+ trimmed[itemIndex] = true;
5958
+ }
5959
+ if (Array.isArray(innerGroupedValues)) {
5960
+ innerGroupedValues.forEach((value) => {
5961
+ itemIndex += 1;
5962
+ if (!isGroupExpanded) {
5975
5963
  trimmed[itemIndex] = true;
5976
5964
  }
5977
- }
5978
- itemIndex++;
5979
- pseudoGroupTest[newVal] = children;
5965
+ oldNewIndexMap[value[GROUP_ORIGINAL_INDEX]] = itemIndex;
5966
+ const pseudoGroupTestIds = levelIds.map((_value, index) => levelIds.slice(0, index + 1).join(','));
5967
+ pseudoGroupTestIds.forEach((pseudoGroupTestId) => {
5968
+ if (!pseudoGroupTest[pseudoGroupTestId]) {
5969
+ pseudoGroupTest[pseudoGroupTestId] = [];
5970
+ }
5971
+ pseudoGroupTest[pseudoGroupTestId].push(itemIndex);
5972
+ });
5973
+ });
5974
+ sourceWithGroups.push(...innerGroupedValues);
5980
5975
  }
5981
- // calculate depth
5982
- depth++;
5983
- groupingDepth = depth;
5984
- return prevVal;
5985
- }, []);
5986
- // add regular items
5987
- group.children.forEach((item, oldIndex) => {
5988
- // hide items if group colapsed
5989
- if (!isExpanded && !skipTrim) {
5990
- // collapse rgRow
5991
- trimmed[itemIndex] = true;
5976
+ else {
5977
+ flattenGroupMaps(innerGroupedValues, levelIds, isGroupExpanded);
5992
5978
  }
5993
- // add items to new source
5994
- itemsMirror.push(item);
5995
- oldNewIndexMap[oldIndex] = itemIndex;
5996
- children.push(itemIndex);
5997
- itemIndex++;
5998
5979
  });
5999
- });
5980
+ }
5981
+ flattenGroupMaps(groupedItems, [], true);
6000
5982
  return {
6001
- // updates source mirror
6002
- sourceWithGroups: itemsMirror,
6003
- // largest depth for grouping
5983
+ sourceWithGroups,
6004
5984
  depth: groupingDepth,
6005
- // used for expand/collapse grouping values
6006
5985
  trimmed,
6007
- // used for mapping old values to new
6008
5986
  oldNewIndexMap,
6009
- // used to get child items in group
6010
- childrenByGroup: pseudoGroupTest,
6011
- };
6012
- }
6013
- function getPseudoGroup(groupValue, value, depth, id, isExpanded = false) {
6014
- return {
6015
- [PSEUDO_GROUP_ITEM]: groupValue,
6016
- [GROUP_DEPTH]: depth,
6017
- [PSEUDO_GROUP_ITEM_ID]: id,
6018
- [PSEUDO_GROUP_ITEM_VALUE]: value,
6019
- [GROUP_EXPANDED]: isExpanded,
5987
+ childrenByGroup: pseudoGroupTest, // used to get child items in group
6020
5988
  };
6021
5989
  }
6022
5990
  function getGroupingName(rgRow) {
@@ -6028,9 +5996,6 @@ function isGrouping(rgRow) {
6028
5996
  function isGroupingColumn(column) {
6029
5997
  return column && typeof column[PSEUDO_GROUP_COLUMN] !== 'undefined';
6030
5998
  }
6031
- function isArray(data) {
6032
- return typeof data.push !== 'undefined';
6033
- }
6034
5999
  function measureEqualDepth(groupA, groupB) {
6035
6000
  const ln = groupA.length;
6036
6001
  let i = 0;
@@ -6044,7 +6009,7 @@ function measureEqualDepth(groupA, groupB) {
6044
6009
  function getParsedGroup(id) {
6045
6010
  const parseGroup = JSON.parse(id);
6046
6011
  // extra precaution and type safe guard
6047
- if (!isArray(parseGroup)) {
6012
+ if (!Array.isArray(parseGroup)) {
6048
6013
  return null;
6049
6014
  }
6050
6015
  return parseGroup;
@@ -6291,19 +6256,18 @@ class ExportFilePlugin extends BasePlugin {
6291
6256
  // provide collapse data
6292
6257
  function doCollapse(pIndex, source) {
6293
6258
  const model = source[pIndex];
6294
- const currentId = model[PSEUDO_GROUP_ITEM_ID];
6259
+ const collapseValue = model[PSEUDO_GROUP_ITEM_VALUE];
6295
6260
  const trimmed = {};
6296
6261
  let i = pIndex + 1;
6297
6262
  const total = source.length;
6298
6263
  while (i < total) {
6299
6264
  const currentModel = source[i];
6300
6265
  if (isGrouping(currentModel)) {
6301
- if (currentId !== currentModel[PSEUDO_GROUP_ITEM_ID]) {
6266
+ const currentValue = currentModel[PSEUDO_GROUP_ITEM_VALUE];
6267
+ if (!currentValue.length || !currentValue.startsWith(collapseValue + ',')) {
6302
6268
  break;
6303
6269
  }
6304
- else {
6305
- currentModel[GROUP_EXPANDED] = false;
6306
- }
6270
+ currentModel[GROUP_EXPANDED] = false;
6307
6271
  }
6308
6272
  trimmed[i++] = true;
6309
6273
  }
@@ -6543,7 +6507,7 @@ class GroupingRowPlugin extends BasePlugin {
6543
6507
  * sorting applied need to clear grouping and apply again
6544
6508
  * based on new results whole grouping order will changed
6545
6509
  */
6546
- this.addEventListener('afterSortingApply', () => this.doSourceUpdate());
6510
+ this.addEventListener('afterSortingApply', () => this.doSourceUpdate(Object.assign({}, this.options)));
6547
6511
  /**
6548
6512
  * Apply logic for focus inside of grouping
6549
6513
  * We can't focus on grouping rows, navigation only inside of groups for now
@@ -6563,6 +6527,7 @@ class GroupingRowPlugin extends BasePlugin {
6563
6527
  * Initiated when need to reapply grouping
6564
6528
  */
6565
6529
  doSourceUpdate(options) {
6530
+ var _a;
6566
6531
  if (!this.hasProps) {
6567
6532
  return;
6568
6533
  }
@@ -6575,11 +6540,9 @@ class GroupingRowPlugin extends BasePlugin {
6575
6540
  * Group again
6576
6541
  * @param oldNewIndexMap - provides us mapping with new indexes vs old indexes
6577
6542
  */
6578
- const { sourceWithGroups, depth, trimmed, oldNewIndexMap, childrenByGroup } = gatherGrouping(source,
6579
- // filter
6580
- item => { var _a; return (_a = this.options) === null || _a === void 0 ? void 0 : _a.props.map(key => item[key]); }, Object.assign({ prevExpanded }, options));
6543
+ const { sourceWithGroups, depth, trimmed, oldNewIndexMap, childrenByGroup } = gatherGrouping(source, ((_a = this.options) === null || _a === void 0 ? void 0 : _a.props) || [], Object.assign({ prevExpanded }, options));
6581
6544
  // setup source
6582
- this.providers.dataProvider.setData(sourceWithGroups, GROUPING_ROW_TYPE, { depth, customRenderer: options.groupLabelTemplate }, true);
6545
+ this.providers.dataProvider.setData(sourceWithGroups, GROUPING_ROW_TYPE, { depth, customRenderer: options === null || options === void 0 ? void 0 : options.groupLabelTemplate }, true);
6583
6546
  this.updateTrimmed(trimmed, childrenByGroup, oldNewIndexes, oldNewIndexMap);
6584
6547
  }
6585
6548
  /**
@@ -6588,14 +6551,13 @@ class GroupingRowPlugin extends BasePlugin {
6588
6551
  * If source came from other plugin
6589
6552
  */
6590
6553
  onDataSet(data) {
6554
+ var _a;
6591
6555
  if (!this.hasProps || !(data === null || data === void 0 ? void 0 : data.source) || !data.source.length) {
6592
6556
  return;
6593
6557
  }
6594
6558
  const source = data.source.filter(s => !isGrouping(s));
6595
6559
  const expanded = this.revogrid.grouping || {};
6596
- const { sourceWithGroups, depth, trimmed, oldNewIndexMap, childrenByGroup } = gatherGrouping(source,
6597
- // filter
6598
- item => { var _a; return (_a = this.options) === null || _a === void 0 ? void 0 : _a.props.map(key => item[key]); }, Object.assign({}, (expanded || {})));
6560
+ const { sourceWithGroups, depth, trimmed, oldNewIndexMap, childrenByGroup } = gatherGrouping(source, ((_a = this.options) === null || _a === void 0 ? void 0 : _a.props) || [], Object.assign({}, (expanded || {})));
6599
6561
  data.source = sourceWithGroups;
6600
6562
  this.providers.dataProvider.setGrouping({ depth });
6601
6563
  this.updateTrimmed(trimmed, childrenByGroup, oldNewIndexMap);
@@ -25728,11 +25690,15 @@ const GroupingRowRenderer = (props) => {
25728
25690
  if (!hasExpand) {
25729
25691
  return h(RowRenderer, Object.assign({}, props, { rowClass: "groupingRow", depth: depth }));
25730
25692
  }
25693
+ if (groupingCustomRenderer) {
25694
+ return (h(RowRenderer, Object.assign({}, props, { rowClass: "groupingRow", depth: depth }),
25695
+ h("div", { onClick: e => expandEvent(e, model, itemIndex) }, groupingCustomRenderer(h, { name, itemIndex, expanded, depth }))));
25696
+ }
25731
25697
  return (h(RowRenderer, Object.assign({}, props, { rowClass: "groupingRow", depth: depth }),
25732
25698
  h("button", { class: { [GROUP_EXPAND_BTN]: true }, onClick: e => expandEvent(e, model, itemIndex) },
25733
25699
  h("svg", { "aria-hidden": "true", style: { transform: `rotate(${!expanded ? -90 : 0}deg)` }, focusable: "false", viewBox: "0 0 448 512" },
25734
25700
  h("path", { fill: "currentColor", d: "M207.029 381.476L12.686 187.132c-9.373-9.373-9.373-24.569 0-33.941l22.667-22.667c9.357-9.357 24.522-9.375 33.901-.04L224 284.505l154.745-154.021c9.379-9.335 24.544-9.317 33.901.04l22.667 22.667c9.373 9.373 9.373 24.569 0 33.941L240.971 381.476c-9.373 9.372-24.569 9.372-33.942 0z" }))),
25735
- groupingCustomRenderer ? groupingCustomRenderer(h, { name, itemIndex, expanded, depth }) : name));
25701
+ name));
25736
25702
  };
25737
25703
 
25738
25704
  const revogrDataStyleCss = ".revo-drag-icon{-webkit-mask-image:url(\"data:image/svg+xml,%3C%3Fxml version='1.0' encoding='UTF-8'%3F%3E%3Csvg viewBox='0 0 438 383' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink'%3E%3Cg%3E%3Cpath d='M421.875,70.40625 C426.432292,70.40625 430.175781,68.9414062 433.105469,66.0117188 C436.035156,63.0820312 437.5,59.3385417 437.5,54.78125 L437.5,54.78125 L437.5,15.71875 C437.5,11.1614583 436.035156,7.41796875 433.105469,4.48828125 C430.175781,1.55859375 426.432292,0.09375 421.875,0.09375 L421.875,0.09375 L15.625,0.09375 C11.0677083,0.09375 7.32421875,1.55859375 4.39453125,4.48828125 C1.46484375,7.41796875 0,11.1614583 0,15.71875 L0,15.71875 L0,54.78125 C0,59.3385417 1.46484375,63.0820312 4.39453125,66.0117188 C7.32421875,68.9414062 11.0677083,70.40625 15.625,70.40625 L15.625,70.40625 L421.875,70.40625 Z M421.875,226.65625 C426.432292,226.65625 430.175781,225.191406 433.105469,222.261719 C436.035156,219.332031 437.5,215.588542 437.5,211.03125 L437.5,211.03125 L437.5,171.96875 C437.5,167.411458 436.035156,163.667969 433.105469,160.738281 C430.175781,157.808594 426.432292,156.34375 421.875,156.34375 L421.875,156.34375 L15.625,156.34375 C11.0677083,156.34375 7.32421875,157.808594 4.39453125,160.738281 C1.46484375,163.667969 0,167.411458 0,171.96875 L0,171.96875 L0,211.03125 C0,215.588542 1.46484375,219.332031 4.39453125,222.261719 C7.32421875,225.191406 11.0677083,226.65625 15.625,226.65625 L15.625,226.65625 L421.875,226.65625 Z M421.875,382.90625 C426.432292,382.90625 430.175781,381.441406 433.105469,378.511719 C436.035156,375.582031 437.5,371.838542 437.5,367.28125 L437.5,367.28125 L437.5,328.21875 C437.5,323.661458 436.035156,319.917969 433.105469,316.988281 C430.175781,314.058594 426.432292,312.59375 421.875,312.59375 L421.875,312.59375 L15.625,312.59375 C11.0677083,312.59375 7.32421875,314.058594 4.39453125,316.988281 C1.46484375,319.917969 0,323.661458 0,328.21875 L0,328.21875 L0,367.28125 C0,371.838542 1.46484375,375.582031 4.39453125,378.511719 C7.32421875,381.441406 11.0677083,382.90625 15.625,382.90625 L15.625,382.90625 L421.875,382.90625 Z'%3E%3C/path%3E%3C/g%3E%3C/svg%3E\");mask-image:url(\"data:image/svg+xml,%3C%3Fxml version='1.0' encoding='UTF-8'%3F%3E%3Csvg viewBox='0 0 438 383' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink'%3E%3Cg%3E%3Cpath d='M421.875,70.40625 C426.432292,70.40625 430.175781,68.9414062 433.105469,66.0117188 C436.035156,63.0820312 437.5,59.3385417 437.5,54.78125 L437.5,54.78125 L437.5,15.71875 C437.5,11.1614583 436.035156,7.41796875 433.105469,4.48828125 C430.175781,1.55859375 426.432292,0.09375 421.875,0.09375 L421.875,0.09375 L15.625,0.09375 C11.0677083,0.09375 7.32421875,1.55859375 4.39453125,4.48828125 C1.46484375,7.41796875 0,11.1614583 0,15.71875 L0,15.71875 L0,54.78125 C0,59.3385417 1.46484375,63.0820312 4.39453125,66.0117188 C7.32421875,68.9414062 11.0677083,70.40625 15.625,70.40625 L15.625,70.40625 L421.875,70.40625 Z M421.875,226.65625 C426.432292,226.65625 430.175781,225.191406 433.105469,222.261719 C436.035156,219.332031 437.5,215.588542 437.5,211.03125 L437.5,211.03125 L437.5,171.96875 C437.5,167.411458 436.035156,163.667969 433.105469,160.738281 C430.175781,157.808594 426.432292,156.34375 421.875,156.34375 L421.875,156.34375 L15.625,156.34375 C11.0677083,156.34375 7.32421875,157.808594 4.39453125,160.738281 C1.46484375,163.667969 0,167.411458 0,171.96875 L0,171.96875 L0,211.03125 C0,215.588542 1.46484375,219.332031 4.39453125,222.261719 C7.32421875,225.191406 11.0677083,226.65625 15.625,226.65625 L15.625,226.65625 L421.875,226.65625 Z M421.875,382.90625 C426.432292,382.90625 430.175781,381.441406 433.105469,378.511719 C436.035156,375.582031 437.5,371.838542 437.5,367.28125 L437.5,367.28125 L437.5,328.21875 C437.5,323.661458 436.035156,319.917969 433.105469,316.988281 C430.175781,314.058594 426.432292,312.59375 421.875,312.59375 L421.875,312.59375 L15.625,312.59375 C11.0677083,312.59375 7.32421875,314.058594 4.39453125,316.988281 C1.46484375,319.917969 0,323.661458 0,328.21875 L0,328.21875 L0,367.28125 C0,371.838542 1.46484375,375.582031 4.39453125,378.511719 C7.32421875,381.441406 11.0677083,382.90625 15.625,382.90625 L15.625,382.90625 L421.875,382.90625 Z'%3E%3C/path%3E%3C/g%3E%3C/svg%3E\");width:11px;height:7px;background-size:cover;background-repeat:no-repeat}.revo-alt-icon{-webkit-mask-image:url(\"data:image/svg+xml,%3C%3Fxml version='1.0' encoding='UTF-8'%3F%3E%3Csvg viewBox='0 0 384 383' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink'%3E%3Cg%3E%3Cpath d='M192.4375,383 C197.424479,383 201.663411,381.254557 205.154297,377.763672 L205.154297,377.763672 L264.25,318.667969 C270.234375,312.683594 271.605794,306.075846 268.364258,298.844727 C265.122721,291.613607 259.51237,287.998047 251.533203,287.998047 L251.533203,287.998047 L213.382812,287.998047 L213.382812,212.445312 L288.935547,212.445312 L288.935547,250.595703 C288.935547,258.57487 292.551107,264.185221 299.782227,267.426758 C307.013346,270.668294 313.621094,269.296875 319.605469,263.3125 L319.605469,263.3125 L378.701172,204.216797 C382.192057,200.725911 383.9375,196.486979 383.9375,191.5 C383.9375,186.513021 382.192057,182.274089 378.701172,178.783203 L378.701172,178.783203 L319.605469,119.6875 C313.621094,114.201823 307.013346,112.955078 299.782227,115.947266 C292.551107,118.939453 288.935547,124.42513 288.935547,132.404297 L288.935547,132.404297 L288.935547,170.554688 L213.382812,170.554688 L213.382812,95.0019531 L251.533203,95.0019531 C259.51237,95.0019531 264.998047,91.3863932 267.990234,84.1552734 C270.982422,76.9241536 269.735677,70.3164062 264.25,64.3320312 L264.25,64.3320312 L205.154297,5.23632812 C201.663411,1.74544271 197.424479,0 192.4375,0 C187.450521,0 183.211589,1.74544271 179.720703,5.23632812 L179.720703,5.23632812 L120.625,64.3320312 C114.640625,70.3164062 113.269206,76.9241536 116.510742,84.1552734 C119.752279,91.3863932 125.36263,95.0019531 133.341797,95.0019531 L133.341797,95.0019531 L171.492188,95.0019531 L171.492188,170.554688 L95.9394531,170.554688 L95.9394531,132.404297 C95.9394531,124.42513 92.3238932,118.814779 85.0927734,115.573242 C77.8616536,112.331706 71.2539062,113.703125 65.2695312,119.6875 L65.2695312,119.6875 L6.17382812,178.783203 C2.68294271,182.274089 0.9375,186.513021 0.9375,191.5 C0.9375,196.486979 2.68294271,200.725911 6.17382812,204.216797 L6.17382812,204.216797 L65.2695312,263.3125 C71.2539062,268.798177 77.8616536,270.044922 85.0927734,267.052734 C92.3238932,264.060547 95.9394531,258.57487 95.9394531,250.595703 L95.9394531,250.595703 L95.9394531,212.445312 L171.492188,212.445312 L171.492188,287.998047 L133.341797,287.998047 C125.36263,287.998047 119.876953,291.613607 116.884766,298.844727 C113.892578,306.075846 115.139323,312.683594 120.625,318.667969 L120.625,318.667969 L179.720703,377.763672 C183.211589,381.254557 187.450521,383 192.4375,383 Z'%3E%3C/path%3E%3C/g%3E%3C/svg%3E\");mask-image:url(\"data:image/svg+xml,%3C%3Fxml version='1.0' encoding='UTF-8'%3F%3E%3Csvg viewBox='0 0 384 383' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink'%3E%3Cg%3E%3Cpath d='M192.4375,383 C197.424479,383 201.663411,381.254557 205.154297,377.763672 L205.154297,377.763672 L264.25,318.667969 C270.234375,312.683594 271.605794,306.075846 268.364258,298.844727 C265.122721,291.613607 259.51237,287.998047 251.533203,287.998047 L251.533203,287.998047 L213.382812,287.998047 L213.382812,212.445312 L288.935547,212.445312 L288.935547,250.595703 C288.935547,258.57487 292.551107,264.185221 299.782227,267.426758 C307.013346,270.668294 313.621094,269.296875 319.605469,263.3125 L319.605469,263.3125 L378.701172,204.216797 C382.192057,200.725911 383.9375,196.486979 383.9375,191.5 C383.9375,186.513021 382.192057,182.274089 378.701172,178.783203 L378.701172,178.783203 L319.605469,119.6875 C313.621094,114.201823 307.013346,112.955078 299.782227,115.947266 C292.551107,118.939453 288.935547,124.42513 288.935547,132.404297 L288.935547,132.404297 L288.935547,170.554688 L213.382812,170.554688 L213.382812,95.0019531 L251.533203,95.0019531 C259.51237,95.0019531 264.998047,91.3863932 267.990234,84.1552734 C270.982422,76.9241536 269.735677,70.3164062 264.25,64.3320312 L264.25,64.3320312 L205.154297,5.23632812 C201.663411,1.74544271 197.424479,0 192.4375,0 C187.450521,0 183.211589,1.74544271 179.720703,5.23632812 L179.720703,5.23632812 L120.625,64.3320312 C114.640625,70.3164062 113.269206,76.9241536 116.510742,84.1552734 C119.752279,91.3863932 125.36263,95.0019531 133.341797,95.0019531 L133.341797,95.0019531 L171.492188,95.0019531 L171.492188,170.554688 L95.9394531,170.554688 L95.9394531,132.404297 C95.9394531,124.42513 92.3238932,118.814779 85.0927734,115.573242 C77.8616536,112.331706 71.2539062,113.703125 65.2695312,119.6875 L65.2695312,119.6875 L6.17382812,178.783203 C2.68294271,182.274089 0.9375,186.513021 0.9375,191.5 C0.9375,196.486979 2.68294271,200.725911 6.17382812,204.216797 L6.17382812,204.216797 L65.2695312,263.3125 C71.2539062,268.798177 77.8616536,270.044922 85.0927734,267.052734 C92.3238932,264.060547 95.9394531,258.57487 95.9394531,250.595703 L95.9394531,250.595703 L95.9394531,212.445312 L171.492188,212.445312 L171.492188,287.998047 L133.341797,287.998047 C125.36263,287.998047 119.876953,291.613607 116.884766,298.844727 C113.892578,306.075846 115.139323,312.683594 120.625,318.667969 L120.625,318.667969 L179.720703,377.763672 C183.211589,381.254557 187.450521,383 192.4375,383 Z'%3E%3C/path%3E%3C/g%3E%3C/svg%3E\");width:11px;height:11px;background-size:cover;background-repeat:no-repeat}.arrow-down{position:absolute;right:5px;top:0}.arrow-down svg{width:8px;margin-top:5px;margin-left:5px;opacity:0.4}.cell-value-wrapper{margin-right:10px;overflow:hidden;text-overflow:ellipsis}.revo-button{position:relative;overflow:hidden;color:#fff;background-color:#6200ee;height:34px;line-height:34px;padding:0 15px;outline:0;border:0;border-radius:7px;box-sizing:border-box;cursor:pointer}.revo-button.green{background-color:#2ee072;border:1px solid #20d565}.revo-button.red{background-color:#E0662E;border:1px solid #d55920}.revo-button:disabled,.revo-button[disabled]{cursor:not-allowed !important;filter:opacity(0.35) !important}.revo-button.light{border:2px solid #cedefa;line-height:32px;background:none;color:#4876ca;box-shadow:none}revogr-data{display:block;width:100%;position:relative}revogr-data .rgRow{position:absolute;width:100%;left:0}revogr-data .rgRow.groupingRow{font-weight:600}revogr-data .rgRow.groupingRow .group-expand{width:25px;height:100%;max-height:25px;margin-right:2px;background-color:transparent;border-color:transparent}revogr-data .rgRow.groupingRow .group-expand svg{width:7px}revogr-data .revo-draggable{border:none;height:32px;display:inline-flex;outline:0;padding:0;font-size:0.8125rem;box-sizing:border-box;align-items:center;white-space:nowrap;vertical-align:middle;justify-content:center;text-decoration:none;width:24px;height:100%;cursor:pointer}revogr-data .revo-draggable>.revo-drag-icon{vertical-align:middle;display:inline-block;pointer-events:none;transition:background-color 300ms cubic-bezier(0.4, 0, 0.2, 1) 0ms, box-shadow 300ms cubic-bezier(0.4, 0, 0.2, 1) 0ms}revogr-data .rgCell{top:0;position:absolute;box-sizing:border-box;height:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}revogr-data .rgCell.align-center{text-align:center}revogr-data .rgCell.align-left{text-align:left}revogr-data .rgCell.align-right{text-align:right}";