@yoobic/yobi 8.5.0-74 → 8.5.0-75

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.
@@ -7,7 +7,7 @@ import './index-604330b3.js';
7
7
  import './_commonjsHelpers-f4d11124.js';
8
8
 
9
9
  /*!
10
- * Signature Pad v4.0.9 | https://github.com/szimek/signature_pad
10
+ * Signature Pad v4.0.10 | https://github.com/szimek/signature_pad
11
11
  * (c) 2022 Szymon Nowak | Released under the MIT license
12
12
  */
13
13
 
@@ -2471,6 +2471,7 @@ const YooGridComponent = class {
2471
2471
  ];
2472
2472
  }
2473
2473
  renderAgGrid() {
2474
+ var _a;
2474
2475
  /**
2475
2476
  * Important note about the current rendering of the ag-grid when it is empty:
2476
2477
  * It must ALWAYS be rendered event if it is empty. Indeed, if "updateGridConfig" is then called to modify the filters for example,
@@ -2481,7 +2482,8 @@ const YooGridComponent = class {
2481
2482
  'select-all': this.isSelectionMode && this.isSelectAll,
2482
2483
  [this.gridClass || '']: true,
2483
2484
  [this.entityType || '']: true,
2484
- 'readonly': this.isReadonly
2485
+ 'readonly': this.isReadonly,
2486
+ 'with-selection': ((_a = this.selection) === null || _a === void 0 ? void 0 : _a.length) > 0
2485
2487
  };
2486
2488
  return [
2487
2489
  h("div", { class: { 'ag-grid-container': true, empty: this.isEmptyAgGrid && !this.hideEmptyState } }, this.finalGridConfig && h("yoo-ag-grid", { class: agClass, config: this.finalGridConfig }), this.isEmptyAgGrid && !this.hideEmptyState && this.renderEmptyState())
@@ -48,8 +48,7 @@ const Header = ({ logo, title, textColor, error, closeClick }) => [
48
48
  'error-content': true,
49
49
  web: isWeb()
50
50
  } },
51
- h("p", null, translate(error)),
52
- h("a", { class: "link", style: { color: `var(--${isWeb() ? 'danger' : 'light'})` }, href: "mailto:support@yoobic.com" }, translate('YOOBICNEEDHELP'))))),
51
+ h("p", null, translate(error))))),
53
52
  h("header", { class: "header" },
54
53
  h("img", { src: logo, alt: "app logo" }),
55
54
  h(LoginTitle, { style: { color: textColor }, title: title }))