sf-i-events 1.0.748 → 1.0.749

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/index.html CHANGED
@@ -1,11 +1,11 @@
1
- <!DOCTYPE html>
2
-
3
- <html>
4
- <head>
5
- <meta charset="utf-8" />
6
- <title>Lit Starter Kit</title>
7
- </head>
8
- <body>
9
- <a href="/dev/index.html">Component Demo</a>
10
- </body>
11
- </html>
1
+ <!DOCTYPE html>
2
+
3
+ <html>
4
+ <head>
5
+ <meta charset="utf-8" />
6
+ <title>Lit Starter Kit</title>
7
+ </head>
8
+ <body>
9
+ <a href="/dev/index.html">Component Demo</a>
10
+ </body>
11
+ </html>
package/package.json CHANGED
@@ -1,96 +1,96 @@
1
- {
2
- "name": "sf-i-events",
3
- "private": false,
4
- "version": "1.0.748",
5
- "description": "Superflows Navigation Component",
6
- "main": "sf-i-events.js",
7
- "module": "sf-i-events.js",
8
- "type": "module",
9
- "scripts": {
10
- "build": "tsc",
11
- "build:watch": "tsc --watch",
12
- "clean": "rimraf sf-i-events.{d.ts,d.ts.map,js,js.map} test/sf-i-events.{d.ts,d.ts.map,js,js.map} test/sf-i-events_test.{d.ts,d.ts.map,js,js.map}",
13
- "lint": "npm run lint:lit-analyzer && npm run lint:eslint",
14
- "lint:eslint": "eslint 'src/**/*.ts'",
15
- "lint:lit-analyzer": "lit-analyzer",
16
- "format": "prettier \"**/*.{cjs,html,js,json,md,ts}\" --ignore-path ./.eslintignore --write",
17
- "analyze": "cem analyze --litelement --globs \"src/**/*.ts\"",
18
- "analyze:watch": "cem analyze --litelement --globs \"src/**/*.ts\" --watch",
19
- "serve": "wds --watch",
20
- "serve:prod": "MODE=prod npm run serve",
21
- "test": "npm run test:dev && npm run test:prod",
22
- "test:dev": "wtr --verbose=true --coverage --silent=false",
23
- "test:watch": "wtr --watch",
24
- "test:prod": "MODE=prod wtr",
25
- "test:prod:watch": "MODE=prod wtr --watch",
26
- "checksize": "rollup -c ; cat sf-i-events.bundled.js | gzip -9 | wc -c ; rm sf-i-events.bundled.js"
27
- },
28
- "keywords": [
29
- "superflows",
30
- "react",
31
- "serverless",
32
- "buttons",
33
- "input",
34
- "navigation",
35
- "building blocks",
36
- "lego",
37
- "search",
38
- "notifications",
39
- "login",
40
- "sign in",
41
- "profile",
42
- "menu",
43
- "brand",
44
- "lit",
45
- "lit-element",
46
- "navigation-bar",
47
- "web component",
48
- "browser"
49
- ],
50
- "author": "Superflows-dev",
51
- "license": "MIT",
52
- "repository": "superflows-dev/sf-i-events",
53
- "dependencies": {
54
- "chart.js": "3.9.0",
55
- "fs": "^0.0.1-security",
56
- "lit": "^2.2.4",
57
- "patternomaly": "^1.3.2",
58
- "sf-i-elastic-text": "^1.0.17",
59
- "sf-i-form": "^1.0.106",
60
- "sf-i-multitextarea": "^1.0.7",
61
- "sf-i-reporting": "^1.0.10",
62
- "sf-i-select": "^1.0.80",
63
- "sf-i-sub-select": "^1.0.68",
64
- "sf-i-uploader": "^1.0.98",
65
- "sinon": "^15.0.1",
66
- "update": "^0.7.4"
67
- },
68
- "devDependencies": {
69
- "@11ty/eleventy": "^1.0.1",
70
- "@11ty/eleventy-plugin-syntaxhighlight": "^4.0.0",
71
- "@babel/cli": "^7.21.5",
72
- "@babel/core": "^7.21.8",
73
- "@babel/plugin-proposal-class-properties": "^7.18.6",
74
- "@babel/preset-env": "^7.21.5",
75
- "@custom-elements-manifest/analyzer": "^0.6.3",
76
- "@open-wc/testing": "^3.1.7",
77
- "@rollup/plugin-node-resolve": "^13.3.0",
78
- "@rollup/plugin-replace": "^4.0.0",
79
- "@typescript-eslint/eslint-plugin": "^5.25.0",
80
- "@typescript-eslint/parser": "^5.25.0",
81
- "@web/dev-server": "^0.1.31",
82
- "@web/dev-server-legacy": "^1.0.0",
83
- "@web/test-runner": "^0.13.27",
84
- "@web/test-runner-playwright": "^0.8.8",
85
- "@webcomponents/webcomponentsjs": "^2.6.0",
86
- "eslint": "^8.15.0",
87
- "lit-analyzer": "^1.2.1",
88
- "prettier": "^2.6.2",
89
- "rimraf": "^3.0.2",
90
- "rollup": "^2.73.0",
91
- "rollup-plugin-summary": "^1.4.3",
92
- "rollup-plugin-terser": "^7.0.2",
93
- "typescript": "~4.7.4"
94
- },
95
- "customElements": "custom-elements.json"
96
- }
1
+ {
2
+ "name": "sf-i-events",
3
+ "private": false,
4
+ "version": "1.0.749",
5
+ "description": "Superflows Navigation Component",
6
+ "main": "sf-i-events.js",
7
+ "module": "sf-i-events.js",
8
+ "type": "module",
9
+ "scripts": {
10
+ "build": "tsc",
11
+ "build:watch": "tsc --watch",
12
+ "clean": "rimraf sf-i-events.{d.ts,d.ts.map,js,js.map} test/sf-i-events.{d.ts,d.ts.map,js,js.map} test/sf-i-events_test.{d.ts,d.ts.map,js,js.map}",
13
+ "lint": "npm run lint:lit-analyzer && npm run lint:eslint",
14
+ "lint:eslint": "eslint 'src/**/*.ts'",
15
+ "lint:lit-analyzer": "lit-analyzer",
16
+ "format": "prettier \"**/*.{cjs,html,js,json,md,ts}\" --ignore-path ./.eslintignore --write",
17
+ "analyze": "cem analyze --litelement --globs \"src/**/*.ts\"",
18
+ "analyze:watch": "cem analyze --litelement --globs \"src/**/*.ts\" --watch",
19
+ "serve": "wds --watch",
20
+ "serve:prod": "MODE=prod npm run serve",
21
+ "test": "npm run test:dev && npm run test:prod",
22
+ "test:dev": "wtr --verbose=true --coverage --silent=false",
23
+ "test:watch": "wtr --watch",
24
+ "test:prod": "MODE=prod wtr",
25
+ "test:prod:watch": "MODE=prod wtr --watch",
26
+ "checksize": "rollup -c ; cat sf-i-events.bundled.js | gzip -9 | wc -c ; rm sf-i-events.bundled.js"
27
+ },
28
+ "keywords": [
29
+ "superflows",
30
+ "react",
31
+ "serverless",
32
+ "buttons",
33
+ "input",
34
+ "navigation",
35
+ "building blocks",
36
+ "lego",
37
+ "search",
38
+ "notifications",
39
+ "login",
40
+ "sign in",
41
+ "profile",
42
+ "menu",
43
+ "brand",
44
+ "lit",
45
+ "lit-element",
46
+ "navigation-bar",
47
+ "web component",
48
+ "browser"
49
+ ],
50
+ "author": "Superflows-dev",
51
+ "license": "MIT",
52
+ "repository": "superflows-dev/sf-i-events",
53
+ "dependencies": {
54
+ "chart.js": "3.9.0",
55
+ "fs": "^0.0.1-security",
56
+ "lit": "^2.2.4",
57
+ "patternomaly": "^1.3.2",
58
+ "sf-i-elastic-text": "^1.0.17",
59
+ "sf-i-form": "^1.0.106",
60
+ "sf-i-multitextarea": "^1.0.7",
61
+ "sf-i-reporting": "^1.0.21",
62
+ "sf-i-select": "^1.0.80",
63
+ "sf-i-sub-select": "^1.0.68",
64
+ "sf-i-uploader": "^1.0.98",
65
+ "sinon": "^15.0.1",
66
+ "update": "^0.7.4"
67
+ },
68
+ "devDependencies": {
69
+ "@11ty/eleventy": "^1.0.1",
70
+ "@11ty/eleventy-plugin-syntaxhighlight": "^4.0.0",
71
+ "@babel/cli": "^7.21.5",
72
+ "@babel/core": "^7.21.8",
73
+ "@babel/plugin-proposal-class-properties": "^7.18.6",
74
+ "@babel/preset-env": "^7.21.5",
75
+ "@custom-elements-manifest/analyzer": "^0.6.3",
76
+ "@open-wc/testing": "^3.1.7",
77
+ "@rollup/plugin-node-resolve": "^13.3.0",
78
+ "@rollup/plugin-replace": "^4.0.0",
79
+ "@typescript-eslint/eslint-plugin": "^5.25.0",
80
+ "@typescript-eslint/parser": "^5.25.0",
81
+ "@web/dev-server": "^0.1.31",
82
+ "@web/dev-server-legacy": "^1.0.0",
83
+ "@web/test-runner": "^0.13.27",
84
+ "@web/test-runner-playwright": "^0.8.8",
85
+ "@webcomponents/webcomponentsjs": "^2.6.0",
86
+ "eslint": "^8.15.0",
87
+ "lit-analyzer": "^1.2.1",
88
+ "prettier": "^2.6.2",
89
+ "rimraf": "^3.0.2",
90
+ "rollup": "^2.73.0",
91
+ "rollup-plugin-summary": "^1.4.3",
92
+ "rollup-plugin-terser": "^7.0.2",
93
+ "typescript": "~4.7.4"
94
+ },
95
+ "customElements": "custom-elements.json"
96
+ }
package/rollup.config.js CHANGED
@@ -1,38 +1,38 @@
1
- /**
2
- * @license
3
- * Copyright 2018 Google LLC
4
- * SPDX-License-Identifier: BSD-3-Clause
5
- */
6
-
7
- import summary from 'rollup-plugin-summary';
8
- import {terser} from 'rollup-plugin-terser';
9
- import resolve from '@rollup/plugin-node-resolve';
10
- import replace from '@rollup/plugin-replace';
11
-
12
- export default {
13
- input: 'sf-i-events.js',
14
- output: {
15
- file: 'sf-i-events.bundled.js',
16
- format: 'esm',
17
- },
18
- onwarn(warning) {
19
- if (warning.code !== 'THIS_IS_UNDEFINED') {
20
- console.error(`(!) ${warning.message}`);
21
- }
22
- },
23
- plugins: [
24
- replace({'Reflect.decorate': 'undefined'}),
25
- resolve(),
26
- terser({
27
- ecma: 2017,
28
- module: true,
29
- warnings: true,
30
- mangle: {
31
- properties: {
32
- regex: /^__/,
33
- },
34
- },
35
- }),
36
- summary(),
37
- ],
38
- };
1
+ /**
2
+ * @license
3
+ * Copyright 2018 Google LLC
4
+ * SPDX-License-Identifier: BSD-3-Clause
5
+ */
6
+
7
+ import summary from 'rollup-plugin-summary';
8
+ import {terser} from 'rollup-plugin-terser';
9
+ import resolve from '@rollup/plugin-node-resolve';
10
+ import replace from '@rollup/plugin-replace';
11
+
12
+ export default {
13
+ input: 'sf-i-events.js',
14
+ output: {
15
+ file: 'sf-i-events.bundled.js',
16
+ format: 'esm',
17
+ },
18
+ onwarn(warning) {
19
+ if (warning.code !== 'THIS_IS_UNDEFINED') {
20
+ console.error(`(!) ${warning.message}`);
21
+ }
22
+ },
23
+ plugins: [
24
+ replace({'Reflect.decorate': 'undefined'}),
25
+ resolve(),
26
+ terser({
27
+ ecma: 2017,
28
+ module: true,
29
+ warnings: true,
30
+ mangle: {
31
+ properties: {
32
+ regex: /^__/,
33
+ },
34
+ },
35
+ }),
36
+ summary(),
37
+ ],
38
+ };
package/sf-i-events.d.ts CHANGED
@@ -49,6 +49,7 @@ export declare class SfIEvents extends LitElement {
49
49
  TAB_VIEWER: string;
50
50
  TAB_STATUTES: string;
51
51
  TAB_COMPLIANCES: string;
52
+ TAB_NOTICES: string;
52
53
  TAB_ENTITIES: string;
53
54
  TAB_LOCATIONS: string;
54
55
  TAB_TAGS: string;
@@ -141,6 +142,7 @@ export declare class SfIEvents extends LitElement {
141
142
  apiIdDetail: string;
142
143
  apiIdUsers: string;
143
144
  apiIdTags: string;
145
+ apiIdNotices: string;
144
146
  apiMethodList: string;
145
147
  apiMethodDetail: string;
146
148
  apiBodyList: string;
@@ -163,6 +165,7 @@ export declare class SfIEvents extends LitElement {
163
165
  myOnboardingTab: string;
164
166
  myOnboardingTabGroup: string;
165
167
  myRcmTab: string;
168
+ myNoticesTab: string;
166
169
  myRole: string;
167
170
  chart: any;
168
171
  chartBase64: any;
@@ -184,6 +187,7 @@ export declare class SfIEvents extends LitElement {
184
187
  triggers: any;
185
188
  monthNames: string[];
186
189
  events: any;
190
+ notices: any;
187
191
  statistics: any;
188
192
  statisticsMeta: any;
189
193
  statisticsFiltersData: any;
@@ -443,7 +447,7 @@ export declare class SfIEvents extends LitElement {
443
447
  getApproverStringFromEvent: (event: any) => string;
444
448
  getApproverDetailStringFromEvent: (event: any) => string;
445
449
  renderLatestCompliance: (mmddyyyy: string, event: any) => any;
446
- getCompletenessStatus: (event: any) => "not-started" | "pending-approval" | "rejected" | "approved";
450
+ getCompletenessStatus: (event: any) => "rejected" | "not-started" | "pending-approval" | "approved";
447
451
  getTimelinessStatus: (mmdd: string, event: any, completeness: string) => "late-executed" | "late-reported" | "late-approved" | "past-due-date" | "in-time";
448
452
  getComplianceStatus: (completeness: string, timeliness: string) => "scheduled" | "not-complied" | "partially-complied" | "complied";
449
453
  numcalled: number;
@@ -583,6 +587,8 @@ export declare class SfIEvents extends LitElement {
583
587
  renderPieCsv: (pieData: any, csv: string, param: string) => string;
584
588
  renderGraph: (divContainer: HTMLDivElement, pieData: any, partData: any, lateData: any, complianceData: any, param: string) => void;
585
589
  renderEventDetailShort: (compliance: any) => void;
590
+ fetchNoticeDetails: (listEvent: any) => Promise<void>;
591
+ renderNoticeDetails: (listEvent: any, mmddyyyy: string) => Promise<void>;
586
592
  fetchEventDetails: (listEvent: any, mmddyyyy: any, currentColumnButton: HTMLButtonElement | null, eventsContainer: HTMLDivElement) => Promise<void>;
587
593
  renderEventDetail: (event: any, mmddyyyy: any, currentColumnButton: HTMLButtonElement | null, eventsContainer: HTMLDivElement) => void;
588
594
  renderCalendar: () => void;
@@ -699,11 +705,11 @@ export declare class SfIEvents extends LitElement {
699
705
  uploadUnTriggerEvent: (untrigger: any) => Promise<void>;
700
706
  uploadTriggerMyEvent: (complianceid: string, message: string, countryname: string, entityname: string, locationname: string, statute: string, subcategory: string) => Promise<void>;
701
707
  uploadTriggerEvent: (triggeredCompliances: any) => Promise<void>;
702
- uploadAudit: (entityId: string, locationId: string, mmddyyyy: string, eventid: string, comments: string, approved: any) => Promise<void>;
708
+ uploadAudit: (entityId: string, locationId: string, mmddyyyy: string, eventid: string, comments: string, approved: any, module?: string) => Promise<void>;
703
709
  uploadAuditsBulk: (bulkBody: any) => Promise<void>;
704
- uploadReview: (entityId: string, locationId: string, mmddyyyy: string, eventid: string, comments: string, approved: any) => Promise<void>;
710
+ uploadReview: (entityId: string, locationId: string, mmddyyyy: string, eventid: string, comments: string, approved: any, module?: string) => Promise<void>;
705
711
  uploadReviewsBulk: (bulkBody: any) => Promise<void>;
706
- uploadReport: (entityId: string, locationId: string, mmddyyyy: string, eventid: string, comments: string, doc: string, docs: any, event: any, reportformatvalues?: string, reportformatschema?: string) => Promise<void>;
712
+ uploadReport: (entityId: string, locationId: string, mmddyyyy: string, eventid: string, comments: string, doc: string, docs: any, event: any, reportformatvalues?: string, reportformatschema?: string, module?: string) => Promise<void>;
707
713
  uploadReportsBulk: (bulkBody: any) => Promise<void>;
708
714
  uploadMapping: () => Promise<void>;
709
715
  uploadEvents: () => Promise<void>;
@@ -780,6 +786,7 @@ export declare class SfIEvents extends LitElement {
780
786
  renderAppropriateStream: (startDate: string, endDate: string, showGraph?: boolean) => void;
781
787
  fetchRegisters: (searchString?: string) => Promise<any>;
782
788
  fetchAndYearlyRenderUserCalendar_2: (startDate?: string, endDate?: string, searchString?: string, list?: string, month?: string) => Promise<void>;
789
+ fetchAndRenderNotices: (startDate?: string, endDate?: string, searchString?: string, list?: string, month?: string) => Promise<void>;
783
790
  fetchStatistics: (startDate: string | undefined, endDate: string | undefined, filtercriteria: string, filterid: string) => Promise<any>;
784
791
  fetchBulkReportingData: () => Promise<void>;
785
792
  fetchUserCalendar: () => Promise<void>;