ngx-bimplus-components 0.0.239 → 0.0.240-packageUpdates-1.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.
@@ -6524,7 +6524,7 @@ var FilterStructureFetcher = class {
6524
6524
  static fetchObjectFilterStructureFromSelection(projectId, filter, selectionObject, api) {
6525
6525
  const isTemporary = !filter.id;
6526
6526
  let filterId = filter.id ? filter.id : "";
6527
- let observeable = null;
6527
+ let observeable;
6528
6528
  if (!isTemporary) observeable = from(api.exportService.createExportSelection(projectId, JSON.stringify(selectionObject))).pipe(concatMap((selectionObj) => {
6529
6529
  if (!selectionObj?.id) throw new Error("Failed to create selection object");
6530
6530
  return from(api.objectFilters.getSelectionFilteredObjects(selectionObj.id, filterId, void 0, void 0));
@@ -11405,8 +11405,7 @@ var LinksToDocumentsComponent = class LinksToDocumentsComponent extends BimplusL
11405
11405
  if (typeof callbackF !== "function" || !this.project || !this.api) return;
11406
11406
  setTimeout(() => {
11407
11407
  const isLocalhost = window.location.href.includes("localhost");
11408
- let access_token = "";
11409
- access_token = this.api?.getAccessToken();
11408
+ let access_token = this.api?.getAccessToken();
11410
11409
  if (!access_token) {
11411
11410
  access_token = window.localStorage.getItem("access_token");
11412
11411
  if (!access_token) return;
@@ -12936,7 +12935,7 @@ var AutoResizeTextareaDirective = class AutoResizeTextareaDirective {
12936
12935
  calculateLineHeight() {
12937
12936
  const style = window.getComputedStyle(this.input, null);
12938
12937
  const lineHeight = style.getPropertyValue("line-height");
12939
- let newLineHeight = 0;
12938
+ let newLineHeight;
12940
12939
  if (lineHeight === "normal") newLineHeight = (parseFloat(style.getPropertyValue("font-size")) || 16) * 1.14;
12941
12940
  else newLineHeight = parseFloat(lineHeight);
12942
12941
  this.avgLineHeight = Math.trunc(newLineHeight);