sf-i-events 1.0.945 → 1.0.946
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 +31 -1
- package/package.json +1 -1
- package/sf-i-events.js +3 -1
- package/src/sf-i-events.ts +3 -1
package/dev/index.html
CHANGED
|
@@ -1085,6 +1085,36 @@
|
|
|
1085
1085
|
|
|
1086
1086
|
</sf-i-events> -->
|
|
1087
1087
|
<sf-i-events name="Calendar" apiid="dwqyez2puoxmu.cloudfront.net/event" mode="consumer"
|
|
1088
|
+
apiidtags="dnytrdlrmxgsy.cloudfront.net/tagging" apiidstatutes="dnytrdlrmxgsy.cloudfront.net/statute"
|
|
1089
|
+
apiiddefinitions="dwqyez2puoxmu.cloudfront.net/definition"
|
|
1090
|
+
apiidreportformats="dwqyez2puoxmu.cloudfront.net/reportformat"
|
|
1091
|
+
apiidnotices="gghnbi7hku2qj5twrea6xxcaya0aqeis.lambda-url.us-east-1.on.aws"
|
|
1092
|
+
apiidagreements="swago3unro2te55ikvjuqwcrr40wluqh.lambda-url.us-east-1.on.aws"
|
|
1093
|
+
apiidlicenses="lbtsbsctcdsyah4qdszkv4rctq0tnvel.lambda-url.us-east-1.on.aws"
|
|
1094
|
+
apiidrcmresources="jra3sghasmaxn5aiq7rtv6pjzq0oeuaw.lambda-url.us-east-1.on.aws" fill="solid"
|
|
1095
|
+
username="Local Approver 1" userprofileid="c44dcd04-aebb-4417-ba6b-fac170efd5d0"
|
|
1096
|
+
projectid="41ab3c86-ccc0-4c0e-8e31-cd079a07a710" projectname="ABC Global"
|
|
1097
|
+
countryid="07d73b44-648d-4301-82c4-d6df43397824" selectedcriteria="Country - India" myrole="approver"
|
|
1098
|
+
showregisterexport="false"
|
|
1099
|
+
features="["notices","contracts","licenses","rcmresources"]"
|
|
1100
|
+
eventfielddependencies="[{"type": "foreignkey", "parent": "country", "child": "state"},{"type": "foreignkey", "parent": "category", "child": "subcategory"},{"type": "foreignkey", "parent": "frequency", "child": "subfrequency"}]"
|
|
1101
|
+
eventfields="[{"type": "sf-i-select", "apiId": "dnytrdlrmxgsy.cloudfront.net/riskarea", "field": "riskarea"},{"type": "sf-i-select", "apiId": "dnytrdlrmxgsy.cloudfront.net/jurisdiction", "field": "jurisdiction"},{"type": "sf-i-select", "apiId": "dnytrdlrmxgsy.cloudfront.net/updatetype", "field": "updatetype"},{"type": "sf-i-select", "apiId": "dnytrdlrmxgsy.cloudfront.net/country", "field": "country"},{"type": "sf-i-select", "apiId": "dnytrdlrmxgsy.cloudfront.net/specificity", "field": "specificity"},{"type": "sf-i-select", "apiId": "dnytrdlrmxgsy.cloudfront.net/risk", "field": "risk"},{"type": "sf-i-select", "apiId": "dnytrdlrmxgsy.cloudfront.net/frequency", "field": "frequency"},{"type": "sf-i-select", "apiId": "dnytrdlrmxgsy.cloudfront.net/category", "field": "category"},{"type": "sf-i-select", "apiId": "dnytrdlrmxgsy.cloudfront.net/obligationtype", "field": "obligationtype"},{"type": "sf-i-sub-select", "apiId": "dnytrdlrmxgsy.cloudfront.net/state", "field": "state"},{"type": "sf-i-sub-select", "apiId": "dnytrdlrmxgsy.cloudfront.net/subfrequency", "field": "subfrequency"},{"type": "sf-i-sub-select", "apiId": "dnytrdlrmxgsy.cloudfront.net/subcategory", "field": "subcategory"},{"type": "sf-i-form", "apiId": "dnytrdlrmxgsy.cloudfront.net/statute", "field": "statute", "projectField": "name"}]"
|
|
1102
|
+
eventpreviewfields="["obligation"]"
|
|
1103
|
+
eventhidefields="["comments","documents","lastupdated","approved","tags"]"
|
|
1104
|
+
calendarstartdd="01" calendarstartmm="04" calendarstartyyyy="2025">
|
|
1105
|
+
|
|
1106
|
+
<div slot="uploader">
|
|
1107
|
+
<sf-i-uploader id="uploader" max="10" apiid="1peg5170d3"
|
|
1108
|
+
allowedextensions="["jpg","jpeg","png","pdf","xls","xlsx","doc","docx","zip"]"
|
|
1109
|
+
extract="yes" projectid="41ab3c86-ccc0-4c0e-8e31-cd079a07a710" maxsize="31457280"
|
|
1110
|
+
allowdownload="yes"></sf-i-uploader>
|
|
1111
|
+
</div>
|
|
1112
|
+
<div slot="reporting">
|
|
1113
|
+
<sf-i-reporting id="reporting-format" mode="view"></sf-i-reporting>
|
|
1114
|
+
</div>
|
|
1115
|
+
|
|
1116
|
+
</sf-i-events>
|
|
1117
|
+
<!-- <sf-i-events name="Calendar" apiid="dwqyez2puoxmu.cloudfront.net/event" mode="consumer"
|
|
1088
1118
|
apiidtags="dnytrdlrmxgsy.cloudfront.net/tagging" apiidstatutes="dnytrdlrmxgsy.cloudfront.net/statute"
|
|
1089
1119
|
apiiddefinitions="dwqyez2puoxmu.cloudfront.net/definition"
|
|
1090
1120
|
apiidreportformats="dwqyez2puoxmu.cloudfront.net/reportformat"
|
|
@@ -1112,7 +1142,7 @@
|
|
|
1112
1142
|
<sf-i-reporting id="reporting-format" mode="view"></sf-i-reporting>
|
|
1113
1143
|
</div>
|
|
1114
1144
|
|
|
1115
|
-
</sf-i-events>
|
|
1145
|
+
</sf-i-events> -->
|
|
1116
1146
|
<script>
|
|
1117
1147
|
|
|
1118
1148
|
function setCookie(name, value, days) {
|
package/package.json
CHANGED
package/sf-i-events.js
CHANGED
|
@@ -13264,10 +13264,12 @@ let SfIEvents = class SfIEvents extends LitElement {
|
|
|
13264
13264
|
return;
|
|
13265
13265
|
}
|
|
13266
13266
|
let reportformatvalues = {};
|
|
13267
|
+
let reportformatvaluesStr = "";
|
|
13267
13268
|
let reportingReporting = this._SfDetailContainer.querySelector('#reporting-reporting');
|
|
13268
13269
|
console.log('renew reporting', reportingReporting);
|
|
13269
13270
|
if (reportingReporting != null) {
|
|
13270
13271
|
reportformatvalues = reportingReporting.selectedValues();
|
|
13272
|
+
reportformatvaluesStr = JSON.stringify(reportingReporting.selectedValues());
|
|
13271
13273
|
}
|
|
13272
13274
|
let comparedObj = Util.compareObjects(reportformatvalues, JSON.parse(listEvent.reportformatvalues));
|
|
13273
13275
|
console.log('reportformatvalues', reportformatvalues, JSON.parse(listEvent.reportformatvalues), comparedObj);
|
|
@@ -13287,7 +13289,7 @@ let SfIEvents = class SfIEvents extends LitElement {
|
|
|
13287
13289
|
console.log('mmddyyyy', mmddyyyy);
|
|
13288
13290
|
if (await this.uploadReview(entityId, locationId, mmddyyyy, listEvent["id"], comments, approved, (_a = listEvent.module) !== null && _a !== void 0 ? _a : "compliance")) {
|
|
13289
13291
|
if (approved) {
|
|
13290
|
-
await this.renewRCMResource(listEvent,
|
|
13292
|
+
await this.renewRCMResource(listEvent, reportformatvaluesStr);
|
|
13291
13293
|
}
|
|
13292
13294
|
else {
|
|
13293
13295
|
console.log('renew reporting', reportformatvalues);
|
package/src/sf-i-events.ts
CHANGED
|
@@ -17114,10 +17114,12 @@ export class SfIEvents extends LitElement {
|
|
|
17114
17114
|
return;
|
|
17115
17115
|
}
|
|
17116
17116
|
let reportformatvalues: any = {}
|
|
17117
|
+
let reportformatvaluesStr: string = ""
|
|
17117
17118
|
let reportingReporting = (this._SfDetailContainer as HTMLDivElement).querySelector('#reporting-reporting') as SfIReporting
|
|
17118
17119
|
console.log('renew reporting', reportingReporting)
|
|
17119
17120
|
if (reportingReporting != null) {
|
|
17120
17121
|
reportformatvalues = reportingReporting!.selectedValues()
|
|
17122
|
+
reportformatvaluesStr = JSON.stringify(reportingReporting!.selectedValues())
|
|
17121
17123
|
}
|
|
17122
17124
|
let comparedObj = Util.compareObjects(reportformatvalues, JSON.parse(listEvent.reportformatvalues))
|
|
17123
17125
|
console.log('reportformatvalues', reportformatvalues, JSON.parse(listEvent.reportformatvalues),comparedObj)
|
|
@@ -17138,7 +17140,7 @@ export class SfIEvents extends LitElement {
|
|
|
17138
17140
|
console.log('mmddyyyy', mmddyyyy)
|
|
17139
17141
|
if (await this.uploadReview(entityId, locationId, mmddyyyy, listEvent["id"], comments, approved, listEvent.module ?? "compliance")) {
|
|
17140
17142
|
if (approved) {
|
|
17141
|
-
await this.renewRCMResource(listEvent,
|
|
17143
|
+
await this.renewRCMResource(listEvent, reportformatvaluesStr);
|
|
17142
17144
|
} else {
|
|
17143
17145
|
console.log('renew reporting', reportformatvalues)
|
|
17144
17146
|
}
|