sf-i-events 1.0.940 → 1.0.941
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 +2 -2
- package/package.json +1 -1
- package/sf-i-events.js +8 -7
- package/src/sf-i-events.ts +8 -7
package/dev/index.html
CHANGED
|
@@ -941,7 +941,7 @@
|
|
|
941
941
|
</div>
|
|
942
942
|
|
|
943
943
|
</sf-i-events> -->
|
|
944
|
-
|
|
944
|
+
<sf-i-events name="Calendar" apiid="dwqyez2puoxmu.cloudfront.net/event" mode="consumer"
|
|
945
945
|
apiidtags="dnytrdlrmxgsy.cloudfront.net/tagging" apiidstatutes="dnytrdlrmxgsy.cloudfront.net/statute"
|
|
946
946
|
apiiddefinitions="dwqyez2puoxmu.cloudfront.net/definition"
|
|
947
947
|
apiidreportformats="dwqyez2puoxmu.cloudfront.net/reportformat"
|
|
@@ -969,7 +969,7 @@
|
|
|
969
969
|
<sf-i-reporting id="reporting-format" mode="view"></sf-i-reporting>
|
|
970
970
|
</div>
|
|
971
971
|
|
|
972
|
-
</sf-i-events>
|
|
972
|
+
</sf-i-events>
|
|
973
973
|
<!-- <sf-i-events id="sf-i-events-next" name="Next Compliances" apiid="dwqyez2puoxmu.cloudfront.net/event"
|
|
974
974
|
apiidstatutes="dnytrdlrmxgsy.cloudfront.net/statute" apiidcompliances="dnytrdlrmxgsy.cloudfront.net/compliance"
|
|
975
975
|
apiidreportformats="dwqyez2puoxmu.cloudfront.net/reportformat"
|
package/package.json
CHANGED
package/sf-i-events.js
CHANGED
|
@@ -2616,13 +2616,13 @@ let SfIEvents = class SfIEvents extends LitElement {
|
|
|
2616
2616
|
${isReviewed ? `<button
|
|
2617
2617
|
id="input-checkbox-review-${mmddSanitized}-${itemNumber}"
|
|
2618
2618
|
part="button-icon-reviewed"
|
|
2619
|
-
class="d-flex align-center ml-10 button-icon-review">
|
|
2620
|
-
|
|
2619
|
+
class="material-symbols-outlined d-flex align-center ml-10 button-icon-review">
|
|
2620
|
+
flag_check
|
|
2621
2621
|
</button>` : `<button
|
|
2622
2622
|
id="input-checkbox-review-${mmddSanitized}-${itemNumber}"
|
|
2623
2623
|
part="button-icon-review"
|
|
2624
|
-
class="ml-10 button-icon-review">
|
|
2625
|
-
Mark
|
|
2624
|
+
class="d-flex align-center ml-10 button-icon-review">
|
|
2625
|
+
<span class="material-symbols-outlined" title="Mark as reviewed">flag</span> Mark Understood
|
|
2626
2626
|
</button>`}
|
|
2627
2627
|
` : ''}
|
|
2628
2628
|
|
|
@@ -2918,7 +2918,7 @@ let SfIEvents = class SfIEvents extends LitElement {
|
|
|
2918
2918
|
let approverStr = event.concise == null ? this.getApproverStringFromEvent(event) : "";
|
|
2919
2919
|
let graphParam = this.getGraphParam(event);
|
|
2920
2920
|
// console.log("graphParam", graphParam.split(';')[0]);
|
|
2921
|
-
html += '<div class="d-flex align-center event-user-labels-container"><div part="badge-filter-name" class="graphparamname graphparamname1 mb-20' + (event.concise == null ? "" : ' hide') + '">' + graphParam.split(';')[0] + '</div>' + reporterStr + approverStr + ((event.concise == null && ((event.reportformat == null || event.reportformat.length == 0) && (event.customreporting == null) && (event.reportedlocationsflag != true))) ? ('<button id="button-list-reporting-' + mmdd.replace('/', '-') + '-' + j + '-" part="button-list-reporting" class="material-icons ml-10 mb-20 button-list-reporting">edit_note</button>') : '') + (((event.module == "compliances" || event.module == null) && event.concise == null) ? (event.review ? ('<button id="input-checkbox-review-' + mmdd.replace('/', '-') + '-' + j + '" part="button-icon-reviewed" class="d-flex align-center mb-20 ml-10 button-icon-review"
|
|
2921
|
+
html += '<div class="d-flex align-center event-user-labels-container"><div part="badge-filter-name" class="graphparamname graphparamname1 mb-20' + (event.concise == null ? "" : ' hide') + '">' + graphParam.split(';')[0] + '</div>' + reporterStr + approverStr + ((event.concise == null && ((event.reportformat == null || event.reportformat.length == 0) && (event.customreporting == null) && (event.reportedlocationsflag != true))) ? ('<button id="button-list-reporting-' + mmdd.replace('/', '-') + '-' + j + '-" part="button-list-reporting" class="material-icons ml-10 mb-20 button-list-reporting">edit_note</button>') : '') + (((event.module == "compliances" || event.module == null) && event.concise == null) ? (event.review ? ('<button id="input-checkbox-review-' + mmdd.replace('/', '-') + '-' + j + '" part="button-icon-reviewed" class="material-symbols-outlined d-flex align-center mb-20 ml-10 button-icon-review">flag_check</button>') : ('<button id="input-checkbox-review-' + mmdd.replace('/', '-') + '-' + j + '" part="button-icon-review" class="d-flex align-center mb-20 ml-10 button-icon-review"><span class="material-symbols-outlined" title="Mark as reviewed">flag</span> Mark Understood</button>')) : '') + '</div>';
|
|
2922
2922
|
// }
|
|
2923
2923
|
return html;
|
|
2924
2924
|
};
|
|
@@ -13178,7 +13178,7 @@ let SfIEvents = class SfIEvents extends LitElement {
|
|
|
13178
13178
|
reportingReporting.editdisable = (this.myRole == this.TAB_REPORTER || this.myRole == this.TAB_FUNCTION_HEAD) ? "false" : "true";
|
|
13179
13179
|
// reportingReporting.mode = (this.myRole == this.TAB_REPORTER || this.myRole == this.TAB_APPROVER || this.myRole == this.TAB_FUNCTION_HEAD) ? "edit" : "view"
|
|
13180
13180
|
// reportingReporting.editdisable = (this.myRole == this.TAB_REPORTER || this.myRole == this.TAB_APPROVER || this.myRole == this.TAB_FUNCTION_HEAD) ? "false" : "true"
|
|
13181
|
-
reportingReporting.flow = "reporting"
|
|
13181
|
+
// reportingReporting.flow = "reporting"
|
|
13182
13182
|
setTimeout(() => {
|
|
13183
13183
|
reportingReporting.loadMode();
|
|
13184
13184
|
console.log('list-customreporting', reportingSchemaJson);
|
|
@@ -13262,7 +13262,8 @@ let SfIEvents = class SfIEvents extends LitElement {
|
|
|
13262
13262
|
if (reportingReporting != null) {
|
|
13263
13263
|
reportformatvalues = reportingReporting.selectedValues();
|
|
13264
13264
|
}
|
|
13265
|
-
|
|
13265
|
+
let comparedObj = Util.compareObjects(reportformatvalues, JSON.parse(listEvent.reportformatvalues));
|
|
13266
|
+
console.log('reportformatvalues', reportformatvalues, comparedObj);
|
|
13266
13267
|
// return;
|
|
13267
13268
|
var clickEvent = new MouseEvent("click", {
|
|
13268
13269
|
"view": window,
|
package/src/sf-i-events.ts
CHANGED
|
@@ -4847,13 +4847,13 @@ export class SfIEvents extends LitElement {
|
|
|
4847
4847
|
${isReviewed ? `<button
|
|
4848
4848
|
id="input-checkbox-review-${mmddSanitized}-${itemNumber}"
|
|
4849
4849
|
part="button-icon-reviewed"
|
|
4850
|
-
class="d-flex align-center ml-10 button-icon-review">
|
|
4851
|
-
|
|
4850
|
+
class="material-symbols-outlined d-flex align-center ml-10 button-icon-review">
|
|
4851
|
+
flag_check
|
|
4852
4852
|
</button>` : `<button
|
|
4853
4853
|
id="input-checkbox-review-${mmddSanitized}-${itemNumber}"
|
|
4854
4854
|
part="button-icon-review"
|
|
4855
|
-
class="ml-10 button-icon-review">
|
|
4856
|
-
Mark
|
|
4855
|
+
class="d-flex align-center ml-10 button-icon-review">
|
|
4856
|
+
<span class="material-symbols-outlined" title="Mark as reviewed">flag</span> Mark Understood
|
|
4857
4857
|
</button>`}
|
|
4858
4858
|
` : ''}
|
|
4859
4859
|
|
|
@@ -5191,7 +5191,7 @@ export class SfIEvents extends LitElement {
|
|
|
5191
5191
|
|
|
5192
5192
|
let graphParam = this.getGraphParam(event);
|
|
5193
5193
|
// console.log("graphParam", graphParam.split(';')[0]);
|
|
5194
|
-
html += '<div class="d-flex align-center event-user-labels-container"><div part="badge-filter-name" class="graphparamname graphparamname1 mb-20' + (event.concise == null ? "" : ' hide') + '">' + graphParam.split(';')[0] + '</div>' + reporterStr + approverStr + ((event.concise == null && ((event.reportformat == null || event.reportformat.length == 0) && (event.customreporting == null) && (event.reportedlocationsflag != true))) ? ('<button id="button-list-reporting-' + mmdd.replace('/', '-') + '-' + j + '-" part="button-list-reporting" class="material-icons ml-10 mb-20 button-list-reporting">edit_note</button>') : '') + (((event.module == "compliances" || event.module == null) && event.concise == null) ? (event.review ? ('<button id="input-checkbox-review-' + mmdd.replace('/', '-') + '-' + j + '" part="button-icon-reviewed" class="d-flex align-center mb-20 ml-10 button-icon-review"
|
|
5194
|
+
html += '<div class="d-flex align-center event-user-labels-container"><div part="badge-filter-name" class="graphparamname graphparamname1 mb-20' + (event.concise == null ? "" : ' hide') + '">' + graphParam.split(';')[0] + '</div>' + reporterStr + approverStr + ((event.concise == null && ((event.reportformat == null || event.reportformat.length == 0) && (event.customreporting == null) && (event.reportedlocationsflag != true))) ? ('<button id="button-list-reporting-' + mmdd.replace('/', '-') + '-' + j + '-" part="button-list-reporting" class="material-icons ml-10 mb-20 button-list-reporting">edit_note</button>') : '') + (((event.module == "compliances" || event.module == null) && event.concise == null) ? (event.review ? ('<button id="input-checkbox-review-' + mmdd.replace('/', '-') + '-' + j + '" part="button-icon-reviewed" class="material-symbols-outlined d-flex align-center mb-20 ml-10 button-icon-review">flag_check</button>') : ('<button id="input-checkbox-review-' + mmdd.replace('/', '-') + '-' + j + '" part="button-icon-review" class="d-flex align-center mb-20 ml-10 button-icon-review"><span class="material-symbols-outlined" title="Mark as reviewed">flag</span> Mark Understood</button>')) : '') + '</div>';
|
|
5195
5195
|
// }
|
|
5196
5196
|
|
|
5197
5197
|
return html;
|
|
@@ -17019,7 +17019,7 @@ export class SfIEvents extends LitElement {
|
|
|
17019
17019
|
reportingReporting.editdisable = (this.myRole == this.TAB_REPORTER || this.myRole == this.TAB_FUNCTION_HEAD) ? "false" : "true"
|
|
17020
17020
|
// reportingReporting.mode = (this.myRole == this.TAB_REPORTER || this.myRole == this.TAB_APPROVER || this.myRole == this.TAB_FUNCTION_HEAD) ? "edit" : "view"
|
|
17021
17021
|
// reportingReporting.editdisable = (this.myRole == this.TAB_REPORTER || this.myRole == this.TAB_APPROVER || this.myRole == this.TAB_FUNCTION_HEAD) ? "false" : "true"
|
|
17022
|
-
reportingReporting.flow = "reporting"
|
|
17022
|
+
// reportingReporting.flow = "reporting"
|
|
17023
17023
|
setTimeout(() => {
|
|
17024
17024
|
reportingReporting.loadMode();
|
|
17025
17025
|
console.log('list-customreporting', reportingSchemaJson);
|
|
@@ -17112,7 +17112,8 @@ export class SfIEvents extends LitElement {
|
|
|
17112
17112
|
if (reportingReporting != null) {
|
|
17113
17113
|
reportformatvalues = reportingReporting!.selectedValues()
|
|
17114
17114
|
}
|
|
17115
|
-
|
|
17115
|
+
let comparedObj = Util.compareObjects(reportformatvalues, JSON.parse(listEvent.reportformatvalues))
|
|
17116
|
+
console.log('reportformatvalues', reportformatvalues, comparedObj)
|
|
17116
17117
|
// return;
|
|
17117
17118
|
var clickEvent = new MouseEvent("click", {
|
|
17118
17119
|
"view": window,
|