@yoobic/yobi 8.5.3 → 8.5.5

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 (33) hide show
  1. package/dist/cjs/design-system.cjs.js +1 -1
  2. package/dist/cjs/loader.cjs.js +1 -1
  3. package/dist/cjs/yoo-form-carousel.cjs.entry.js +2 -1
  4. package/dist/cjs/yoo-form-document.cjs.entry.js +1 -1
  5. package/dist/cjs/yoo-input-bar.cjs.entry.js +2 -2
  6. package/dist/cjs/yoo-kpi.cjs.entry.js +2 -2
  7. package/dist/cjs/yoo-photo-editor.cjs.entry.js +1 -1
  8. package/dist/cjs/yoo-progress-bar.cjs.entry.js +2 -2
  9. package/dist/collection/components/1.atoms/progress-bar/progress-bar.css +1 -1
  10. package/dist/collection/components/1.atoms/progress-bar/progress-bar.js +2 -2
  11. package/dist/collection/components/3.organisms/photo-editor/photo-editor.js +1 -1
  12. package/dist/collection/components/form/form-carousel/form-carousel.js +20 -1
  13. package/dist/collection/components/form/form-document/form-document.js +1 -1
  14. package/dist/collection/feature-platform/insight/kpi/kpi.css +6 -0
  15. package/dist/collection/feature-platform/insight/kpi/kpi.js +1 -1
  16. package/dist/design-system/design-system.esm.js +1 -1
  17. package/dist/design-system/yoo-form-carousel.entry.js +2 -1
  18. package/dist/design-system/yoo-form-document.entry.js +1 -1
  19. package/dist/design-system/yoo-input-bar.entry.js +2 -2
  20. package/dist/design-system/yoo-kpi.entry.js +2 -2
  21. package/dist/design-system/yoo-photo-editor.entry.js +1 -1
  22. package/dist/design-system/yoo-progress-bar.entry.js +2 -2
  23. package/dist/esm/design-system.js +1 -1
  24. package/dist/esm/loader.js +1 -1
  25. package/dist/esm/yoo-form-carousel.entry.js +2 -1
  26. package/dist/esm/yoo-form-document.entry.js +1 -1
  27. package/dist/esm/yoo-input-bar.entry.js +2 -2
  28. package/dist/esm/yoo-kpi.entry.js +2 -2
  29. package/dist/esm/yoo-photo-editor.entry.js +1 -1
  30. package/dist/esm/yoo-progress-bar.entry.js +2 -2
  31. package/dist/types/components/form/form-carousel/form-carousel.d.ts +1 -0
  32. package/dist/types/components.d.ts +2 -0
  33. package/package.json +1 -1
@@ -34,6 +34,7 @@ const YooFormCarouselComponent = class {
34
34
  this.allowOrientation = false;
35
35
  this.instant = false;
36
36
  this.displayPhotoCounter = true;
37
+ this.navbarVisiblity = 'visible';
37
38
  this.currentActiveIndex = 0;
38
39
  this.showPhotoCounts = this.displayPhotoCounter;
39
40
  this.visibility = false;
@@ -259,7 +260,7 @@ const YooFormCarouselComponent = class {
259
260
  var _a, _b;
260
261
  const toggleNavbarVisibility = (show) => this.photoEditorElements[index$1].navbarVisiblity = show ? 'visible' : 'hidden';
261
262
  if (this.previewMode || this.usePhotoEditor) {
262
- return (index.h("yoo-photo-editor", { ref: (el) => (this.photoEditorElements[index$1] = el), src: src, isReadonly: true, zoomable: this.previewMode, annotations: ((_a = this.annotations) === null || _a === void 0 ? void 0 : _a.length) && this.annotations[index$1], drawings: ((_b = this.drawings) === null || _b === void 0 ? void 0 : _b.length) && this.drawings[index$1], extraActions: this.topBarActions, onImageClicked: () => {
263
+ return (index.h("yoo-photo-editor", { ref: (el) => (this.photoEditorElements[index$1] = el), src: src, isReadonly: true, zoomable: this.previewMode, annotations: ((_a = this.annotations) === null || _a === void 0 ? void 0 : _a.length) && this.annotations[index$1], drawings: ((_b = this.drawings) === null || _b === void 0 ? void 0 : _b.length) && this.drawings[index$1], extraActions: this.topBarActions, navbarVisiblity: this.navbarVisiblity, onImageClicked: () => {
263
264
  this.isPhotoClicked = !this.isPhotoClicked;
264
265
  this.showDetail.emit(index$1);
265
266
  this.photoEditorClicked.emit(this.isPhotoClicked);
@@ -130,7 +130,7 @@ const YooFormDocumentComponent = class {
130
130
  }
131
131
  }
132
132
  renderCardFile() {
133
- return (index.h("yoo-card-file", { isVisible: this.isVisible, file: this.document }));
133
+ return (index.h("yoo-card-file", { type: index$1.getType(this.document), isVisible: this.isVisible, file: this.document }));
134
134
  }
135
135
  renderBase() {
136
136
  var _a;
@@ -20,7 +20,7 @@ function race(...args) {
20
20
  }
21
21
 
22
22
  /**
23
- * @license Angular v14.2.6
23
+ * @license Angular v14.2.7
24
24
  * (c) 2010-2022 Google LLC. https://angular.io/
25
25
  * License: MIT
26
26
  */
@@ -7252,7 +7252,7 @@ class Version {
7252
7252
  /**
7253
7253
  * @publicApi
7254
7254
  */
7255
- const VERSION = new Version('14.2.6');
7255
+ const VERSION = new Version('14.2.7');
7256
7256
 
7257
7257
  /**
7258
7258
  * @license
@@ -9,7 +9,7 @@ require('./index-ec5dad3e.js');
9
9
  require('./_commonjsHelpers-94df2ea7.js');
10
10
  require('./lodash-a9050d79.js');
11
11
 
12
- const kpiCss = "svg:not(:root){overflow:hidden}:host{display:-ms-flexbox;display:flex;-ms-flex:1;flex:1;-ms-flex-direction:column;flex-direction:column;min-height:0}:host .photo-container{position:relative;width:100%;height:100%}:host .empty-state{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;-ms-flex-direction:column;flex-direction:column;height:100%}:host .empty-state yoo-empty-state{height:6.25rem}:host .empty-state div{color:var(--text-color-80, rgba(128, 127, 131, 0.8));font-size:var(--font-size-16, 1rem)}";
12
+ const kpiCss = "svg:not(:root){overflow:hidden}:host{display:-ms-flexbox;display:flex;-ms-flex:1;flex:1;-ms-flex-direction:column;flex-direction:column;min-height:0}:host .photo-container{position:relative;width:100%;height:100%}:host .photo-container yoo-form-carousel{display:block;-ms-flex:1;flex:1;height:100%;overflow:hidden}:host .empty-state{display:-ms-flexbox;display:flex;-ms-flex-align:center;align-items:center;-ms-flex-pack:center;justify-content:center;-ms-flex-direction:column;flex-direction:column;height:100%}:host .empty-state yoo-empty-state{height:6.25rem}:host .empty-state div{color:var(--text-color-80, rgba(128, 127, 131, 0.8));font-size:var(--font-size-16, 1rem)}";
13
13
 
14
14
  const YooKpiComponent = class {
15
15
  constructor(hostRef) {
@@ -111,7 +111,7 @@ const YooKpiComponent = class {
111
111
  case 'calendar':
112
112
  return null;
113
113
  case 'carousel':
114
- return this.photosSrc ? (index.h("div", { class: "photo-container" }, index.h("yoo-form-carousel", { ref: (el) => (this.carousel = el), usePhotoEditor: true, mediaSrc: this.photosSrc.map((src) => src === null || src === void 0 ? void 0 : src.value), annotations: this.photosSrc.map((src) => src === null || src === void 0 ? void 0 : src.annotations), drawings: this.photosSrc.map((src) => src === null || src === void 0 ? void 0 : src.drawings), class: { light: true, 'form-preview': this.isFormPreview } }))) : (index.h("div", { class: "empty-state" }, index.h("yoo-empty-state", { type: "photo" }), index.h("div", null, index$1.translate('LISTEMPTY'))));
114
+ return this.photosSrc ? (index.h("div", { class: "photo-container" }, index.h("yoo-form-carousel", { ref: (el) => (this.carousel = el), usePhotoEditor: true, navbarVisiblity: "hidden", mediaSrc: this.photosSrc.map((src) => src === null || src === void 0 ? void 0 : src.value), annotations: this.photosSrc.map((src) => src === null || src === void 0 ? void 0 : src.annotations), drawings: this.photosSrc.map((src) => src === null || src === void 0 ? void 0 : src.drawings), class: { light: true, 'form-preview': this.isFormPreview } }))) : (index.h("div", { class: "empty-state" }, index.h("yoo-empty-state", { type: "photo" }), index.h("div", null, index$1.translate('LISTEMPTY'))));
115
115
  case 'grid':
116
116
  return (index.h("yoo-pivot-table", { ref: (el) => (this.pivotTable = el), onEdited: (ev) => this.onEdited(ev), onRowClick: (ev) => this.onChartClick(ev), onRowDoubleClick: (ev) => this.onChartDoubleClick(ev), config: this.config, definition: this.definition, isFullScreen: this.isFullScreen, gridClass: "grid-alternate no-border", class: {
117
117
  'rounded': (_b = (_a = this.host) === null || _a === void 0 ? void 0 : _a.classList) === null || _b === void 0 ? void 0 : _b.contains('rounded')
@@ -345,7 +345,7 @@ const YooPhotoEditorComponent = class {
345
345
  }
346
346
  get isTextEditMode() {
347
347
  var _a;
348
- return !!(this.mode === 'text' && ((_a = this.activeAnnotation) === null || _a === void 0 ? void 0 : _a.type) == 'text');
348
+ return !!(this.mode === 'text' && ((_a = this.activeAnnotation) === null || _a === void 0 ? void 0 : _a.type) === 'text');
349
349
  }
350
350
  get isDrawMode() {
351
351
  return !!(this.mode === 'draw' && !this.isReadonly);
@@ -20,7 +20,7 @@ const DEFAULT_SHAPES = {
20
20
  'semi-circle': 'M 0, y a r,r 0 1,1 d,0'
21
21
  };
22
22
 
23
- const progressBarCss = "svg:not(:root){overflow:hidden}:host{position:relative;display:block;--svg-width:100%;--svg-fill:var(--transparent, transparent);--stroke-width-line:3;--stroke-width-circle:3;--progress-value-font-size:var(--font-size-16, 1rem);--progress-value-font-weight:var(--font-weight-400, 400);--progress-value-color:var(--dark, #000000);--progress-bar-color:unset;--progress-bar-display:block;--trail-bar-color:var(--stable-light, #f1f1f1);--trail-bar-display:block}:host svg{width:var(--svg-width)}:host svg #trail{stroke-linecap:round;display:var(--trail-bar-display);stroke:var(--trail-bar-color)}:host svg #progress{display:var(--progress-bar-display);stroke:var(--progress-bar-color)}:host svg #progress:not([x2=\"0%\"]){stroke-linecap:round}:host #value{color:var(--progress-value-color);font-weight:var(--progress-value-font-weight);font-size:var(--progress-value-font-size);fill:var(--progress-value-color)}:host([shape=line]){display:inline-grid;grid-gap:var(--spacing-08, 0.5rem);grid-template-columns:1fr auto;place-items:center;width:100%}:host([shape=line]) svg{overflow:unset}:host([shape=line]) svg:not(.has-markers){height:var(--spacing-04, 0.25rem)}:host([shape=line]) svg:not(.has-markers) line{stroke-width:var(--stroke-width-line)}:host([shape=line]) svg .marker{font-size:var(--font-size-12, 0.75rem);-webkit-transform:translate(calc(var(--spacing-16, 1rem) * -1), calc(var(--spacing-16, 1rem) * 1.5));transform:translate(calc(var(--spacing-16, 1rem) * -1), calc(var(--spacing-16, 1rem) * 1.5))}:host([shape=line]) span{width:100%;text-align:center}:host([shape=line][x=right]) span{text-align:right}:host([shape=line][x=left]) span{text-align:left}:host([shape=line][y=bottom]),:host([shape=line][y=top]),:host([shape=line].no-value){grid-template-columns:initial;line-height:1}:host([shape=line][y=top]) svg{-ms-flex-order:1;order:1}:host([shape=line][y=top]) span{-ms-flex-order:0;order:0}:host([shape=circle]),:host([shape=semi-circle]){--progress-value-tsx:-50%;--progress-value-tsy:-50%;display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;margin:0 auto}:host([shape=circle]) svg,:host([shape=semi-circle]) svg{overflow:initial;fill:var(--svg-fill)}:host([shape=circle]) svg path,:host([shape=semi-circle]) svg path{stroke-width:var(--stroke-width-circle)}:host([shape=circle]) #value,:host([shape=semi-circle]) #value{position:absolute;top:50%;left:50%;display:-ms-flexbox;display:flex;-ms-flex-align:baseline;align-items:baseline;-webkit-transform:translate(var(--progress-value-tsx), var(--progress-value-tsy));transform:translate(var(--progress-value-tsx), var(--progress-value-tsy))}:host([shape=semi-circle]){--progress-value-tsy:calc(-50% + var(--spacing-08, 0.5rem))}:host([metric=points]){--progress-bar-display:none;--trail-bar-display:none}:host([metric=step]){--progress-bar-color:var(--app-color, #5a30f4)}:host([shape=line].rtl){direction:ltr}:host([shape=line].rtl) svg{-webkit-transform:scaleX(-1);transform:scaleX(-1)}";
23
+ const progressBarCss = "svg:not(:root){overflow:hidden}:host{position:relative;display:block;--svg-width:100%;--svg-fill:var(--transparent, transparent);--stroke-width-line:3;--stroke-width-circle:3;--progress-value-font-size:var(--font-size-16, 1rem);--progress-value-font-weight:var(--font-weight-400, 400);--progress-value-color:var(--dark, #000000);--progress-bar-color:unset;--progress-bar-display:block;--trail-bar-color:var(--stable-light, #f1f1f1);--trail-bar-display:block}:host svg{width:var(--svg-width)}:host svg #trail{stroke-linecap:round;display:var(--trail-bar-display);stroke:var(--trail-bar-color)}:host svg #progress{display:var(--progress-bar-display);stroke:var(--progress-bar-color)}:host svg #progress:not([x2=\"0%\"]){stroke-linecap:round}:host #value{color:var(--progress-value-color);font-weight:var(--progress-value-font-weight);font-size:var(--progress-value-font-size);fill:var(--progress-value-color)}:host([shape=line]){display:inline-grid;grid-gap:var(--spacing-08, 0.5rem);grid-template-columns:1fr auto;place-items:center;width:100%}:host([shape=line]) svg{overflow:unset}:host([shape=line]) svg:not(.has-markers){height:var(--spacing-04, 0.25rem)}:host([shape=line]) svg:not(.has-markers) line{stroke-width:var(--stroke-width-line)}:host([shape=line]) svg .marker{font-size:var(--font-size-12, 0.75rem);-webkit-transform:translate(calc(var(--spacing-16, 1rem) * -1), calc(var(--spacing-16, 1rem) * 1.5));transform:translate(calc(var(--spacing-16, 1rem) * -1), calc(var(--spacing-16, 1rem) * 1.5))}:host([shape=line]) span{width:100%;text-align:center}:host([shape=line][x=right]) span{text-align:right}:host([shape=line][x=left]) span{text-align:left}:host([shape=line][y=bottom]),:host([shape=line][y=top]),:host([shape=line].no-value){grid-template-columns:initial;line-height:1}:host([shape=line][y=top]) svg{-ms-flex-order:1;order:1}:host([shape=line][y=top]) span{-ms-flex-order:0;order:0}:host([shape=circle]),:host([shape=semi-circle]){--progress-value-tsx:-50%;--progress-value-tsy:-50%;display:-ms-flexbox;display:flex;-ms-flex-pack:center;justify-content:center;margin:0 auto}:host([shape=circle]) svg,:host([shape=semi-circle]) svg{overflow:initial;fill:var(--svg-fill)}:host([shape=circle]) svg path,:host([shape=semi-circle]) svg path{stroke-width:var(--stroke-width-circle)}:host([shape=circle]) #value,:host([shape=semi-circle]) #value{position:absolute;top:50%;left:50%;display:-ms-flexbox;display:flex;-ms-flex-align:baseline;align-items:baseline;-webkit-transform:translate(var(--progress-value-tsx), var(--progress-value-tsy));transform:translate(var(--progress-value-tsx), var(--progress-value-tsy))}:host([shape=semi-circle]){--progress-value-tsy:calc(-50% + var(--spacing-08, 0.5rem))}:host([metric=points]:not([max-value])){--progress-bar-display:none;--trail-bar-display:none}:host([metric=step]){--progress-bar-color:var(--app-color, #5a30f4)}:host([shape=line].rtl){direction:ltr}:host([shape=line].rtl) svg{-webkit-transform:scaleX(-1);transform:scaleX(-1)}";
24
24
 
25
25
  const YooProgressBarComponent = class {
26
26
  constructor(hostRef) {
@@ -199,7 +199,7 @@ const YooProgressBarComponent = class {
199
199
  }
200
200
  getProgress(progress = this.value) {
201
201
  const currentProgress = progress || 0;
202
- const withMaxValue = !!(lodash.isFinite(this.maxValue) && this.maxValue) && !this.isMetric.points;
202
+ const withMaxValue = !!(lodash.isFinite(this.maxValue) && this.maxValue);
203
203
  const newProgress = withMaxValue ? (currentProgress / this.maxValue) * 100 : currentProgress;
204
204
  return this.truncateProgress(newProgress) || 0;
205
205
  }
@@ -324,7 +324,7 @@ svg:not(:root) {
324
324
  --progress-value-tsy: calc(-50% + var(--spacing-08, 0.5rem));
325
325
  }
326
326
 
327
- :host([metric=points]) {
327
+ :host([metric=points]:not([max-value])) {
328
328
  --progress-bar-display: none;
329
329
  --trail-bar-display: none;
330
330
  }
@@ -177,7 +177,7 @@ export class YooProgressBarComponent {
177
177
  }
178
178
  getProgress(progress = this.value) {
179
179
  const currentProgress = progress || 0;
180
- const withMaxValue = !!(isFinite(this.maxValue) && this.maxValue) && !this.isMetric.points;
180
+ const withMaxValue = !!(isFinite(this.maxValue) && this.maxValue);
181
181
  const newProgress = withMaxValue ? (currentProgress / this.maxValue) * 100 : currentProgress;
182
182
  return this.truncateProgress(newProgress) || 0;
183
183
  }
@@ -497,7 +497,7 @@ export class YooProgressBarComponent {
497
497
  "text": "If set, the progress will be the result of the value / maxValue\nif not, the progress display will be by default the one from the value"
498
498
  },
499
499
  "attribute": "max-value",
500
- "reflect": false
500
+ "reflect": true
501
501
  },
502
502
  "hideProgressValue": {
503
503
  "type": "boolean",
@@ -160,7 +160,7 @@ export class YooPhotoEditorComponent {
160
160
  }
161
161
  get isTextEditMode() {
162
162
  var _a;
163
- return !!(this.mode === 'text' && ((_a = this.activeAnnotation) === null || _a === void 0 ? void 0 : _a.type) == 'text');
163
+ return !!(this.mode === 'text' && ((_a = this.activeAnnotation) === null || _a === void 0 ? void 0 : _a.type) === 'text');
164
164
  }
165
165
  get isDrawMode() {
166
166
  return !!(this.mode === 'draw' && !this.isReadonly);
@@ -18,6 +18,7 @@ export class YooFormCarouselComponent {
18
18
  this.allowOrientation = false;
19
19
  this.instant = false;
20
20
  this.displayPhotoCounter = true;
21
+ this.navbarVisiblity = 'visible';
21
22
  this.currentActiveIndex = 0;
22
23
  this.showPhotoCounts = this.displayPhotoCounter;
23
24
  this.visibility = false;
@@ -243,7 +244,7 @@ export class YooFormCarouselComponent {
243
244
  var _a, _b;
244
245
  const toggleNavbarVisibility = (show) => this.photoEditorElements[index].navbarVisiblity = show ? 'visible' : 'hidden';
245
246
  if (this.previewMode || this.usePhotoEditor) {
246
- return (h("yoo-photo-editor", { ref: (el) => (this.photoEditorElements[index] = el), src: src, isReadonly: true, zoomable: this.previewMode, annotations: ((_a = this.annotations) === null || _a === void 0 ? void 0 : _a.length) && this.annotations[index], drawings: ((_b = this.drawings) === null || _b === void 0 ? void 0 : _b.length) && this.drawings[index], extraActions: this.topBarActions, onImageClicked: () => {
247
+ return (h("yoo-photo-editor", { ref: (el) => (this.photoEditorElements[index] = el), src: src, isReadonly: true, zoomable: this.previewMode, annotations: ((_a = this.annotations) === null || _a === void 0 ? void 0 : _a.length) && this.annotations[index], drawings: ((_b = this.drawings) === null || _b === void 0 ? void 0 : _b.length) && this.drawings[index], extraActions: this.topBarActions, navbarVisiblity: this.navbarVisiblity, onImageClicked: () => {
247
248
  this.isPhotoClicked = !this.isPhotoClicked;
248
249
  this.showDetail.emit(index);
249
250
  this.photoEditorClicked.emit(this.isPhotoClicked);
@@ -851,6 +852,24 @@ export class YooFormCarouselComponent {
851
852
  },
852
853
  "attribute": "hide-secondary-actions",
853
854
  "reflect": false
855
+ },
856
+ "navbarVisiblity": {
857
+ "type": "string",
858
+ "mutable": false,
859
+ "complexType": {
860
+ "original": "'hidden' | 'visible' | 'disabled'",
861
+ "resolved": "\"disabled\" | \"hidden\" | \"visible\"",
862
+ "references": {}
863
+ },
864
+ "required": false,
865
+ "optional": true,
866
+ "docs": {
867
+ "tags": [],
868
+ "text": ""
869
+ },
870
+ "attribute": "navbar-visiblity",
871
+ "reflect": false,
872
+ "defaultValue": "'visible'"
854
873
  }
855
874
  };
856
875
  }
@@ -113,7 +113,7 @@ export class YooFormDocumentComponent {
113
113
  }
114
114
  }
115
115
  renderCardFile() {
116
- return (h("yoo-card-file", { isVisible: this.isVisible, file: this.document }));
116
+ return (h("yoo-card-file", { type: getType(this.document), isVisible: this.isVisible, file: this.document }));
117
117
  }
118
118
  renderBase() {
119
119
  var _a;
@@ -216,6 +216,12 @@ svg:not(:root) {
216
216
  width: 100%;
217
217
  height: 100%;
218
218
  }
219
+ :host .photo-container yoo-form-carousel {
220
+ display: block;
221
+ flex: 1;
222
+ height: 100%;
223
+ overflow: hidden;
224
+ }
219
225
  :host .empty-state {
220
226
  display: flex;
221
227
  align-items: center;
@@ -91,7 +91,7 @@ export class YooKpiComponent {
91
91
  case 'calendar':
92
92
  return null;
93
93
  case 'carousel':
94
- return this.photosSrc ? (h("div", { class: "photo-container" }, h("yoo-form-carousel", { ref: (el) => (this.carousel = el), usePhotoEditor: true, mediaSrc: this.photosSrc.map((src) => src === null || src === void 0 ? void 0 : src.value), annotations: this.photosSrc.map((src) => src === null || src === void 0 ? void 0 : src.annotations), drawings: this.photosSrc.map((src) => src === null || src === void 0 ? void 0 : src.drawings), class: { light: true, 'form-preview': this.isFormPreview } }))) : (h("div", { class: "empty-state" }, h("yoo-empty-state", { type: "photo" }), h("div", null, translate('LISTEMPTY'))));
94
+ return this.photosSrc ? (h("div", { class: "photo-container" }, h("yoo-form-carousel", { ref: (el) => (this.carousel = el), usePhotoEditor: true, navbarVisiblity: "hidden", mediaSrc: this.photosSrc.map((src) => src === null || src === void 0 ? void 0 : src.value), annotations: this.photosSrc.map((src) => src === null || src === void 0 ? void 0 : src.annotations), drawings: this.photosSrc.map((src) => src === null || src === void 0 ? void 0 : src.drawings), class: { light: true, 'form-preview': this.isFormPreview } }))) : (h("div", { class: "empty-state" }, h("yoo-empty-state", { type: "photo" }), h("div", null, translate('LISTEMPTY'))));
95
95
  case 'grid':
96
96
  return (h("yoo-pivot-table", { ref: (el) => (this.pivotTable = el), onEdited: (ev) => this.onEdited(ev), onRowClick: (ev) => this.onChartClick(ev), onRowDoubleClick: (ev) => this.onChartDoubleClick(ev), config: this.config, definition: this.definition, isFullScreen: this.isFullScreen, gridClass: "grid-alternate no-border", class: {
97
97
  'rounded': (_b = (_a = this.host) === null || _a === void 0 ? void 0 : _a.classList) === null || _b === void 0 ? void 0 : _b.contains('rounded')