@uxland/primary-shell 5.6.13 → 5.6.14

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/dist/index.js CHANGED
@@ -16294,7 +16294,7 @@ const bootstrapActivityHistoryItem = (te) => {
16294
16294
  <dss-action-menu position="bottom-start">
16295
16295
  <dss-action-menu-item lefticon="view_timeline" label=${translate("actions.cronogram")} @click=${te._raiseEcapCronogramEvent}></dss-action-menu-item>
16296
16296
  <!-- <dss-action-menu-item lefticon="file_download" label=${translate("actions.exportPdf")} @click=${() => te.api.broker.send(new ExportPdf())}></dss-action-menu-item> -->
16297
- <dss-action-menu-item lefticon="info" label=${translate("actions.entryLegend")}></dss-action-menu-item>
16297
+ <!-- <dss-action-menu-item lefticon="info" label=${translate("actions.entryLegend")}></dss-action-menu-item> -->
16298
16298
  </dss-action-menu>
16299
16299
  </div>
16300
16300
  </div>`}
@@ -16324,7 +16324,7 @@ const bootstrapActivityHistoryItem = (te) => {
16324
16324
  <dss-action-menu-item @click=${() => te.api.broker.send(new ExportPdf())} lefticon="file_download" label=${translate("actions.exportPdf")}></dss-action-menu-item>
16325
16325
  </dss-action-menu>
16326
16326
  </div> -->
16327
- <dss-button label="${translate("actions.entryLegend")}" size="md" variant="secondary" icon="info"></dss-button>
16327
+ <!-- <dss-button label="${translate("actions.entryLegend")}" size="md" variant="secondary" icon="info"></dss-button> -->
16328
16328
  <dss-button label="${translate("actions.cronogram")}" size="md" variant="primary" icon="view_timeline" @click=${te._raiseEcapCronogramEvent}></dss-button>
16329
16329
  </div>
16330
16330
  </div>
@@ -16337,7 +16337,7 @@ var __defProp$i = Object.defineProperty, __getOwnPropDesc$7 = Object.getOwnPrope
16337
16337
  };
16338
16338
  let ActivityHistoryMain = class extends PrimariaRegionHost(h$q) {
16339
16339
  constructor() {
16340
- super(...arguments), this.subscriptions = [], this.maximized = !1, this.searchQuery = "";
16340
+ super(...arguments), this.subscriptions = [], this._searchTimeout = null, this.maximized = !1, this.searchQuery = "";
16341
16341
  }
16342
16342
  render() {
16343
16343
  return ke$1`${template$b(this)}`;
@@ -16368,7 +16368,9 @@ let ActivityHistoryMain = class extends PrimariaRegionHost(h$q) {
16368
16368
  this.scrollToClosestDate(J);
16369
16369
  }
16370
16370
  _handleSearchChange(te) {
16371
- typeof te.detail == "string" && (this.searchQuery = te.detail, this.api.broker.send(new SearchActivityHistoryItems(this.searchQuery)));
16371
+ typeof te.detail == "string" && (this.searchQuery = te.detail, this._searchTimeout && clearTimeout(this._searchTimeout), this._searchTimeout = setTimeout(() => {
16372
+ this.api.broker.send(new SearchActivityHistoryItems(this.searchQuery));
16373
+ }, 300));
16372
16374
  }
16373
16375
  async _raiseEcapCronogramEvent() {
16374
16376
  const te = await this.api.broker.send("get_patient_cip");