sf-i-events 1.0.831 → 1.0.832

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/dev/index.html CHANGED
@@ -22,7 +22,7 @@
22
22
  import {SfISubSelect} from 'https://esm.run/sf-i-sub-select@1.0.83/sf-i-sub-select.js';
23
23
  import {SfIForm} from 'https://esm.run/sf-i-form@1.0.184/sf-i-form.js';
24
24
  import {SfIElasticText} from 'https://esm.run/sf-i-elastic-text@1.0.17/sf-i-elastic-text.js';
25
- import {SfIUploader} from 'https://esm.run/sf-i-uploader@1.0.108/sf-i-uploader.js';
25
+ import {SfIUploader} from 'https://esm.run/sf-i-uploader@1.0.110/sf-i-uploader.js';
26
26
  import {SfIMultitextarea} from 'https://esm.run/sf-i-multitextarea@1.0.23/sf-i-multitextarea.js';
27
27
  import {SfIReporting} from 'https://esm.run/sf-i-reporting@1.0.73/sf-i-reporting.js';
28
28
  import {SfIBricks} from 'https://esm.run/sf-i-bricks@1.0.8/sf-i-bricks.js';
@@ -38,7 +38,7 @@
38
38
  // import {SfIForm} from 'https://unpkg.com/sf-i-form@1.0.184/sf-i-form.js?module';
39
39
  // import {SfIEvents} from 'https://unpkg.com/sf-i-events@1.0.423/sf-i-events.js?module';
40
40
  // import {SfIElasticText} from 'https://unpkg.com/sf-i-elastic-text@1.0.7/sf-i-elastic-text.js?module';
41
- // import {SfIUploader} from 'https://unpkg.com/sf-i-uploader@1.0.108/sf-i-uploader.js?module';
41
+ // import {SfIUploader} from 'https://unpkg.com/sf-i-uploader@1.0.110/sf-i-uploader.js?module';
42
42
  // import {SfRandomText} from 'https://unpkg.com/sf-random-text@1.0.2/sf-random-text.js?module';
43
43
  // import {SfNewFeature} from 'https://unpkg.com/sf-new-feature@1.0.1/sf-new-feature.js?module';
44
44
 
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "sf-i-events",
3
3
  "private": false,
4
- "version": "1.0.831",
4
+ "version": "1.0.832",
5
5
  "description": "Superflows Navigation Component",
6
6
  "main": "sf-i-events.js",
7
7
  "module": "sf-i-events.js",
package/sf-i-events.js CHANGED
@@ -9782,7 +9782,7 @@ let SfIEvents = class SfIEvents extends LitElement {
9782
9782
  let attachment = JSON.parse(event[basicFields[i]] + "");
9783
9783
  html += '<div class="m-20">';
9784
9784
  html += '<div part="detail-head"><strong>' + basicFields[i] + '</strong></div>';
9785
- html += `<sf-i-uploader class="event-attachment" max="10" apiid="1peg5170d3" allowedextensions="[&quot;jpg&quot;,&quot;png&quot;,&quot;pdf&quot;,&quot;xls&quot;,&quot;xlsx&quot;,&quot;doc&quot;,&quot;docx&quot;]" prepopulatedInputArr="${JSON.stringify([{ "key": attachment.key, "ext": attachment.ext }]).replace(/"/g, '&quot;')}" projectid="${this.projectId} " extract="no" mode="view" maximize="yes" hidepreview="yes"></sf-i-uploader>`;
9785
+ html += `<sf-i-uploader class="event-attachment" max="10" apiid="1peg5170d3" allowedextensions="[&quot;jpg&quot;,&quot;png&quot;,&quot;pdf&quot;,&quot;xls&quot;,&quot;xlsx&quot;,&quot;doc&quot;,&quot;docx&quot;]" prepopulatedInputArr="${JSON.stringify([{ "key": attachment.key, "ext": attachment.ext }]).replace(/"/g, '&quot;')}" projectid="${this.projectId} " extract="no" mode="view" maximize="yes" hidepreview="yes" displaydetail="yes"></sf-i-uploader>`;
9786
9786
  html += '</div>';
9787
9787
  }
9788
9788
  }
@@ -10025,10 +10025,10 @@ let SfIEvents = class SfIEvents extends LitElement {
10025
10025
  }
10026
10026
  this._SfDetailContainer.innerHTML = html;
10027
10027
  this._SfDetailContainer.style.display = 'block';
10028
- let attachmentUploaders = this._SfDetailContainer.querySelectorAll('.event-attachment');
10029
- for (let attachmentUploader of attachmentUploaders) {
10030
- attachmentUploader.loadMode();
10031
- }
10028
+ // let attachmentUploaders = (this._SfDetailContainer as HTMLDivElement).querySelectorAll('.event-attachment') as NodeListOf<SfIUploader>
10029
+ // for(let attachmentUploader of attachmentUploaders){
10030
+ // attachmentUploader.loadMode();
10031
+ // }
10032
10032
  (_b = this._SfDetailContainer.querySelector('.button-delete')) === null || _b === void 0 ? void 0 : _b.addEventListener('click', async () => {
10033
10033
  await this.fetchDeleteReview(event["id"], mmddyyyy, entityId, locationId);
10034
10034
  this.setSuccess('Deleted successfully!');
@@ -13411,7 +13411,7 @@ export class SfIEvents extends LitElement {
13411
13411
  let attachment = JSON.parse(event[basicFields[i]] + "");
13412
13412
  html += '<div class="m-20">';
13413
13413
  html += '<div part="detail-head"><strong>'+basicFields[i]+'</strong></div>'
13414
- html += `<sf-i-uploader class="event-attachment" max="10" apiid="1peg5170d3" allowedextensions="[&quot;jpg&quot;,&quot;png&quot;,&quot;pdf&quot;,&quot;xls&quot;,&quot;xlsx&quot;,&quot;doc&quot;,&quot;docx&quot;]" prepopulatedInputArr="${JSON.stringify([{"key":attachment.key,"ext":attachment.ext}]).replace(/"/g,'&quot;')}" projectid="${this.projectId} " extract="no" mode="view" maximize="yes" hidepreview="yes"></sf-i-uploader>`
13414
+ html += `<sf-i-uploader class="event-attachment" max="10" apiid="1peg5170d3" allowedextensions="[&quot;jpg&quot;,&quot;png&quot;,&quot;pdf&quot;,&quot;xls&quot;,&quot;xlsx&quot;,&quot;doc&quot;,&quot;docx&quot;]" prepopulatedInputArr="${JSON.stringify([{"key":attachment.key,"ext":attachment.ext}]).replace(/"/g,'&quot;')}" projectid="${this.projectId} " extract="no" mode="view" maximize="yes" hidepreview="yes" displaydetail="yes"></sf-i-uploader>`
13415
13415
  html += '</div>';
13416
13416
  }
13417
13417
  } else if((event[basicFields[i]] + "").indexOf("[") >= 0) {
@@ -13712,10 +13712,10 @@ export class SfIEvents extends LitElement {
13712
13712
 
13713
13713
  (this._SfDetailContainer as HTMLDivElement).innerHTML = html;
13714
13714
  (this._SfDetailContainer as HTMLDivElement).style.display = 'block';
13715
- let attachmentUploaders = (this._SfDetailContainer as HTMLDivElement).querySelectorAll('.event-attachment') as NodeListOf<SfIUploader>
13716
- for(let attachmentUploader of attachmentUploaders){
13717
- attachmentUploader.loadMode();
13718
- }
13715
+ // let attachmentUploaders = (this._SfDetailContainer as HTMLDivElement).querySelectorAll('.event-attachment') as NodeListOf<SfIUploader>
13716
+ // for(let attachmentUploader of attachmentUploaders){
13717
+ // attachmentUploader.loadMode();
13718
+ // }
13719
13719
  (this._SfDetailContainer as HTMLDivElement).querySelector('.button-delete')?.addEventListener('click', async () => {
13720
13720
 
13721
13721
  await this.fetchDeleteReview(event["id"], mmddyyyy, entityId, locationId);