sf-i-events 1.0.867 → 1.0.869
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 +4 -4
- package/package.json +3 -3
- package/sf-i-events.d.ts +1 -1
- package/sf-i-events.js +194 -62
- package/src/sf-i-events.ts +179 -52
- package/src/util.ts +9 -1
- package/util.d.ts +4 -0
- package/util.js +9 -1
package/dev/index.html
CHANGED
|
@@ -23,9 +23,9 @@
|
|
|
23
23
|
import { LitElement, html, css } from 'https://esm.run/lit-element/lit-element.js';
|
|
24
24
|
import { SfISelect } from 'https://esm.run/sf-i-select@1.0.92/sf-i-select.js';
|
|
25
25
|
import { SfISubSelect } from 'https://esm.run/sf-i-sub-select@1.0.83/sf-i-sub-select.js';
|
|
26
|
-
import { SfIForm } from 'https://esm.run/sf-i-form@1.0.
|
|
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.119/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';
|
|
@@ -747,7 +747,7 @@
|
|
|
747
747
|
username="Local Reporter 1" userprofileid="e9684b5d-ddbc-46d3-ae07-51706bf75410"
|
|
748
748
|
projectid="41ab3c86-ccc0-4c0e-8e31-cd079a07a710" projectname="ABC Global"
|
|
749
749
|
countryid="07d73b44-648d-4301-82c4-d6df43397824" myrole="reporter" showregisterexport="false"
|
|
750
|
-
features="["notices","
|
|
750
|
+
features="["notices","contracts"]"
|
|
751
751
|
eventfielddependencies="[{"type": "foreignkey", "parent": "country", "child": "state"},{"type": "foreignkey", "parent": "category", "child": "subcategory"},{"type": "foreignkey", "parent": "frequency", "child": "subfrequency"}]"
|
|
752
752
|
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"}]"
|
|
753
753
|
eventpreviewfields="["obligation"]"
|
|
@@ -774,7 +774,7 @@
|
|
|
774
774
|
username="Local Approver 1" userprofileid="c44dcd04-aebb-4417-ba6b-fac170efd5d0"
|
|
775
775
|
projectid="41ab3c86-ccc0-4c0e-8e31-cd079a07a710" projectname="ABC Global"
|
|
776
776
|
countryid="07d73b44-648d-4301-82c4-d6df43397824" myrole="approver" showregisterexport="false"
|
|
777
|
-
features="["notices","
|
|
777
|
+
features="["notices","contracts"]"
|
|
778
778
|
eventfielddependencies="[{"type": "foreignkey", "parent": "country", "child": "state"},{"type": "foreignkey", "parent": "category", "child": "subcategory"},{"type": "foreignkey", "parent": "frequency", "child": "subfrequency"}]"
|
|
779
779
|
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"}]"
|
|
780
780
|
eventpreviewfields="["obligation"]"
|
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.869",
|
|
5
5
|
"description": "Superflows Navigation Component",
|
|
6
6
|
"main": "sf-i-events.js",
|
|
7
7
|
"module": "sf-i-events.js",
|
|
@@ -58,12 +58,12 @@
|
|
|
58
58
|
"sf-checklist": "^1.0.17",
|
|
59
59
|
"sf-i-bricks": "^1.0.8",
|
|
60
60
|
"sf-i-elastic-text": "^1.0.17",
|
|
61
|
-
"sf-i-form": "^1.0.
|
|
61
|
+
"sf-i-form": "^1.0.186",
|
|
62
62
|
"sf-i-multitextarea": "^1.0.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.119",
|
|
67
67
|
"sf-new-feature": "^1.0.1",
|
|
68
68
|
"sinon": "^15.0.1",
|
|
69
69
|
"update": "^0.7.4"
|
package/sf-i-events.d.ts
CHANGED
|
@@ -464,7 +464,7 @@ export declare class SfIEvents extends LitElement {
|
|
|
464
464
|
renderLatestCompliance: (mmddyyyy: string, event: any) => any;
|
|
465
465
|
getCompletenessStatus: (event: any) => "rejected" | "not-started" | "pending-approval" | "approved";
|
|
466
466
|
getTimelinessStatus: (mmdd: string, event: any, completeness: string) => "late-executed" | "late-reported" | "late-approved" | "past-due-date" | "in-time";
|
|
467
|
-
getComplianceStatus: (completeness: string, timeliness: string, percentage?: string, event?: any) => "active" | "expired" | "scheduled" | "not-complied" | "partially-complied" | "complied" | "complied-with-gaps" | "reported-non-compliance" | "about-to-expire";
|
|
467
|
+
getComplianceStatus: (completeness: string, timeliness: string, percentage?: string, event?: any) => "active" | "expired" | "scheduled" | "not-complied" | "partially-complied" | "complied" | "complied-with-gaps" | "reported-non-compliance" | "terminated" | "about-to-expire";
|
|
468
468
|
numcalled: number;
|
|
469
469
|
updateStats: (event: any, partStatus: string, lateStatus: string, complianceStatus: string) => void;
|
|
470
470
|
renderCalendarGraphs: (showGraph: boolean, parametersTitle: string, showBackgroundButton: boolean) => string;
|