sf-i-events 1.0.901 → 1.0.903
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 +6 -6
- package/package.json +2 -2
- package/sf-i-events.js +6 -2
- package/src/sf-i-events.ts +10 -5
package/dev/index.html
CHANGED
|
@@ -25,7 +25,7 @@
|
|
|
25
25
|
import { SfISubSelect } from 'https://esm.run/sf-i-sub-select@1.0.83/sf-i-sub-select.js';
|
|
26
26
|
import { SfIForm } from 'https://esm.run/sf-i-form@1.0.185/sf-i-form.js';
|
|
27
27
|
import { SfIElasticText } from 'https://esm.run/sf-i-elastic-text@1.0.17/sf-i-elastic-text.js';
|
|
28
|
-
import { SfIUploader } from 'https://esm.run/sf-i-uploader@1.0.
|
|
28
|
+
import { SfIUploader } from 'https://esm.run/sf-i-uploader@1.0.123/sf-i-uploader.js';
|
|
29
29
|
import { SfIMultitextarea } from 'https://esm.run/sf-i-multitextarea@1.0.23/sf-i-multitextarea.js';
|
|
30
30
|
// import { SfIReporting } from 'https://esm.run/sf-i-reporting@1.0.89/sf-i-reporting.js';
|
|
31
31
|
import { SfIReporting } from '../../sf-i-reporting/sf-i-reporting.js';
|
|
@@ -44,7 +44,7 @@
|
|
|
44
44
|
// import {SfIForm} from 'https://unpkg.com/sf-i-form@1.0.184/sf-i-form.js?module';
|
|
45
45
|
// import {SfIEvents} from 'https://unpkg.com/sf-i-events@1.0.423/sf-i-events.js?module';
|
|
46
46
|
// import {SfIElasticText} from 'https://unpkg.com/sf-i-elastic-text@1.0.7/sf-i-elastic-text.js?module';
|
|
47
|
-
// import {SfIUploader} from 'https://unpkg.com/sf-i-uploader@1.0.
|
|
47
|
+
// import {SfIUploader} from 'https://unpkg.com/sf-i-uploader@1.0.123/sf-i-uploader.js?module';
|
|
48
48
|
// import {SfRandomText} from 'https://unpkg.com/sf-random-text@1.0.2/sf-random-text.js?module';
|
|
49
49
|
// import {SfNewFeature} from 'https://unpkg.com/sf-new-feature@1.0.1/sf-new-feature.js?module';
|
|
50
50
|
|
|
@@ -757,7 +757,7 @@
|
|
|
757
757
|
</div>
|
|
758
758
|
|
|
759
759
|
</sf-i-events> -->
|
|
760
|
-
<sf-i-events name="Calendar" apiid="dwqyez2puoxmu.cloudfront.net/event" mode="consumer"
|
|
760
|
+
<!-- <sf-i-events name="Calendar" apiid="dwqyez2puoxmu.cloudfront.net/event" mode="consumer"
|
|
761
761
|
apiidtags="dnytrdlrmxgsy.cloudfront.net/tagging" apiidstatutes="dnytrdlrmxgsy.cloudfront.net/statute"
|
|
762
762
|
apiiddefinitions="dwqyez2puoxmu.cloudfront.net/definition"
|
|
763
763
|
apiidreportformats="dwqyez2puoxmu.cloudfront.net/reportformat"
|
|
@@ -786,8 +786,8 @@
|
|
|
786
786
|
<sf-i-reporting id="reporting-format" mode="view"></sf-i-reporting>
|
|
787
787
|
</div>
|
|
788
788
|
|
|
789
|
-
</sf-i-events>
|
|
790
|
-
|
|
789
|
+
</sf-i-events> -->
|
|
790
|
+
<sf-i-events name="Calendar" apiid="dwqyez2puoxmu.cloudfront.net/event" mode="consumer"
|
|
791
791
|
apiidtags="dnytrdlrmxgsy.cloudfront.net/tagging" apiidstatutes="dnytrdlrmxgsy.cloudfront.net/statute"
|
|
792
792
|
apiiddefinitions="dwqyez2puoxmu.cloudfront.net/definition"
|
|
793
793
|
apiidreportformats="dwqyez2puoxmu.cloudfront.net/reportformat"
|
|
@@ -815,7 +815,7 @@
|
|
|
815
815
|
<sf-i-reporting id="reporting-format" mode="view"></sf-i-reporting>
|
|
816
816
|
</div>
|
|
817
817
|
|
|
818
|
-
</sf-i-events>
|
|
818
|
+
</sf-i-events>
|
|
819
819
|
<!-- <sf-i-events id="sf-i-events-next" name="Next Compliances" apiid="dwqyez2puoxmu.cloudfront.net/event"
|
|
820
820
|
apiidstatutes="dnytrdlrmxgsy.cloudfront.net/statute" apiidcompliances="dnytrdlrmxgsy.cloudfront.net/compliance"
|
|
821
821
|
apiidreportformats="dwqyez2puoxmu.cloudfront.net/reportformat"
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "sf-i-events",
|
|
3
3
|
"private": false,
|
|
4
|
-
"version": "1.0.
|
|
4
|
+
"version": "1.0.903",
|
|
5
5
|
"description": "Superflows Navigation Component",
|
|
6
6
|
"main": "sf-i-events.js",
|
|
7
7
|
"module": "sf-i-events.js",
|
|
@@ -63,7 +63,7 @@
|
|
|
63
63
|
"sf-i-reporting": "^1.0.89",
|
|
64
64
|
"sf-i-select": "^1.0.80",
|
|
65
65
|
"sf-i-sub-select": "^1.0.68",
|
|
66
|
-
"sf-i-uploader": "^1.0.
|
|
66
|
+
"sf-i-uploader": "^1.0.123",
|
|
67
67
|
"sf-new-feature": "^1.0.1",
|
|
68
68
|
"sinon": "^15.0.1",
|
|
69
69
|
"update": "^0.7.4"
|
package/sf-i-events.js
CHANGED
|
@@ -2578,7 +2578,7 @@ let SfIEvents = class SfIEvents extends LitElement {
|
|
|
2578
2578
|
type="checkbox"
|
|
2579
2579
|
/>
|
|
2580
2580
|
${isBulk ? '<div class="lds-dual-ring1 bulk-loader mr-10"></div>' : ''}
|
|
2581
|
-
${isReportedLocation ? '<div class="material-symbols-outlined mr-10">
|
|
2581
|
+
${isReportedLocation ? '<div class="material-symbols-outlined mr-10">arrow_or_edge</div>' : ''}
|
|
2582
2582
|
<sf-i-elastic-text
|
|
2583
2583
|
class="stream-event-title${!isBulk ? ' button-event-title' : ''}"
|
|
2584
2584
|
id="stream-event-title-${mmddSanitized}-${itemNumber}-${moduleType}-${(isReportedLocation) ? 'reportedlocations' : ''}"
|
|
@@ -4377,7 +4377,9 @@ let SfIEvents = class SfIEvents extends LitElement {
|
|
|
4377
4377
|
}
|
|
4378
4378
|
this._SfUploader[0].querySelector('#uploader').addEventListener('analysisInProgress', (_ev) => {
|
|
4379
4379
|
console.log('uploader analysisInProgress', _ev);
|
|
4380
|
-
listReportingContainer.querySelector('.uploader-analysis-message')
|
|
4380
|
+
if (listReportingContainer.querySelector('.uploader-analysis-message') != null) {
|
|
4381
|
+
listReportingContainer.querySelector('.uploader-analysis-message').style.display = "block";
|
|
4382
|
+
}
|
|
4381
4383
|
});
|
|
4382
4384
|
this._SfUploader[0].querySelector('#uploader').addEventListener('analysisCompleted', (_ev) => {
|
|
4383
4385
|
console.log('uploader analysisInProgress', _ev);
|
|
@@ -4394,9 +4396,11 @@ let SfIEvents = class SfIEvents extends LitElement {
|
|
|
4394
4396
|
}
|
|
4395
4397
|
this._SfUploader[0].querySelector('#uploader').prepopulatedInputArr = JSON.stringify([]);
|
|
4396
4398
|
console.log('uploader', this._SfUploader[0].querySelector('#uploader'));
|
|
4399
|
+
this._SfUploader[0].querySelector('#uploader').current = 0;
|
|
4397
4400
|
this._SfUploader[0].querySelector('#uploader').loadMode();
|
|
4398
4401
|
if (docs.length > 0) {
|
|
4399
4402
|
this._SfUploader[0].querySelector('#uploader').prepopulatedInputArr = JSON.stringify(docs);
|
|
4403
|
+
this._SfUploader[0].querySelector('#uploader').current = docs.length;
|
|
4400
4404
|
this._SfUploader[0].querySelector('#uploader').loadMode();
|
|
4401
4405
|
}
|
|
4402
4406
|
if (this.myRole == this.TAB_APPROVER || event.approved) {
|
package/src/sf-i-events.ts
CHANGED
|
@@ -4796,7 +4796,7 @@ export class SfIEvents extends LitElement {
|
|
|
4796
4796
|
type="checkbox"
|
|
4797
4797
|
/>
|
|
4798
4798
|
${isBulk ? '<div class="lds-dual-ring1 bulk-loader mr-10"></div>' : ''}
|
|
4799
|
-
${isReportedLocation ? '<div class="material-symbols-outlined mr-10">
|
|
4799
|
+
${isReportedLocation ? '<div class="material-symbols-outlined mr-10">arrow_or_edge</div>' : ''}
|
|
4800
4800
|
<sf-i-elastic-text
|
|
4801
4801
|
class="stream-event-title${!isBulk ? ' button-event-title' : ''}"
|
|
4802
4802
|
id="stream-event-title-${mmddSanitized}-${itemNumber}-${moduleType}-${(isReportedLocation) ? 'reportedlocations' : ''}"
|
|
@@ -6778,7 +6778,10 @@ export class SfIEvents extends LitElement {
|
|
|
6778
6778
|
}
|
|
6779
6779
|
this._SfUploader[0].querySelector('#uploader').addEventListener('analysisInProgress', (_ev: any) => {
|
|
6780
6780
|
console.log('uploader analysisInProgress', _ev);
|
|
6781
|
-
|
|
6781
|
+
|
|
6782
|
+
if ((listReportingContainer.querySelector('.uploader-analysis-message') as HTMLDivElement) != null) {
|
|
6783
|
+
(listReportingContainer.querySelector('.uploader-analysis-message') as HTMLDivElement).style.display = "block"
|
|
6784
|
+
}
|
|
6782
6785
|
});
|
|
6783
6786
|
this._SfUploader[0].querySelector('#uploader').addEventListener('analysisCompleted', (_ev: any) => {
|
|
6784
6787
|
console.log('uploader analysisInProgress', _ev);
|
|
@@ -6798,10 +6801,12 @@ export class SfIEvents extends LitElement {
|
|
|
6798
6801
|
|
|
6799
6802
|
(this._SfUploader[0].querySelector('#uploader') as SfIUploader)!.prepopulatedInputArr = JSON.stringify([]);
|
|
6800
6803
|
console.log('uploader', (this._SfUploader[0].querySelector('#uploader') as SfIUploader));
|
|
6804
|
+
(this._SfUploader[0].querySelector('#uploader') as SfIUploader)!.current = 0;
|
|
6801
6805
|
(this._SfUploader[0].querySelector('#uploader') as SfIUploader)!.loadMode();
|
|
6802
6806
|
|
|
6803
6807
|
if (docs.length > 0) {
|
|
6804
6808
|
(this._SfUploader[0].querySelector('#uploader') as SfIUploader)!.prepopulatedInputArr = JSON.stringify(docs);
|
|
6809
|
+
(this._SfUploader[0].querySelector('#uploader') as SfIUploader)!.current = docs.length;
|
|
6805
6810
|
(this._SfUploader[0].querySelector('#uploader') as SfIUploader)!.loadMode();
|
|
6806
6811
|
}
|
|
6807
6812
|
|
|
@@ -7131,7 +7136,7 @@ export class SfIEvents extends LitElement {
|
|
|
7131
7136
|
const j = idArr[5];
|
|
7132
7137
|
const module = idArr[6];
|
|
7133
7138
|
const flag = idArr[7];
|
|
7134
|
-
if(flag != null && flag == "reportedlocations"){
|
|
7139
|
+
if (flag != null && flag == "reportedlocations") {
|
|
7135
7140
|
return;
|
|
7136
7141
|
}
|
|
7137
7142
|
var yyyy = this.getYearFromMonthBetween(this.sdate, this.edate, idArr[3]);
|
|
@@ -11406,7 +11411,7 @@ export class SfIEvents extends LitElement {
|
|
|
11406
11411
|
const j = idArr[5];
|
|
11407
11412
|
const module = idArr[6];
|
|
11408
11413
|
const flag = idArr[7];
|
|
11409
|
-
if(flag != null && flag == "reportedlocations"){
|
|
11414
|
+
if (flag != null && flag == "reportedlocations") {
|
|
11410
11415
|
return;
|
|
11411
11416
|
}
|
|
11412
11417
|
var yyyy = this.getYearFromMonthBetween(this.sdate, this.edate, idArr[3]);
|
|
@@ -12031,7 +12036,7 @@ export class SfIEvents extends LitElement {
|
|
|
12031
12036
|
const j = idArr[5];
|
|
12032
12037
|
const module = idArr[6];
|
|
12033
12038
|
const flag = idArr[7];
|
|
12034
|
-
if(flag != null && flag == "reportedlocations"){
|
|
12039
|
+
if (flag != null && flag == "reportedlocations") {
|
|
12035
12040
|
return;
|
|
12036
12041
|
}
|
|
12037
12042
|
var yyyy = this.getYearFromMonthBetween(this.sdate, this.edate, idArr[3]);
|