sf-i-events 1.0.908 → 1.0.910
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 +44 -5
- package/package.json +3 -2
- package/sf-i-events.d.ts +7 -1
- package/sf-i-events.js +423 -120
- package/src/sf-i-events.ts +442 -130
- package/src/util.ts +372 -326
- package/util.d.ts +2 -0
- package/util.js +39 -1
package/dev/index.html
CHANGED
|
@@ -24,7 +24,7 @@
|
|
|
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
26
|
import { SfIForm } from 'https://esm.run/sf-i-form@1.0.185/sf-i-form.js';
|
|
27
|
-
import { SfIElasticText } from 'https://esm.run/sf-i-elastic-text@1.0.
|
|
27
|
+
import { SfIElasticText } from 'https://esm.run/sf-i-elastic-text@1.0.18/sf-i-elastic-text.js';
|
|
28
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';
|
|
@@ -265,6 +265,15 @@
|
|
|
265
265
|
text-transform: capitalize;
|
|
266
266
|
text-align: left;
|
|
267
267
|
}
|
|
268
|
+
sf-i-events::part(td-head-selected) {
|
|
269
|
+
color: #444;
|
|
270
|
+
font-weight: 400;
|
|
271
|
+
padding-left: 5px;
|
|
272
|
+
vertical-align: middle;
|
|
273
|
+
font-size: 80%;
|
|
274
|
+
text-transform: capitalize;
|
|
275
|
+
text-align: left;
|
|
276
|
+
}
|
|
268
277
|
|
|
269
278
|
sf-i-events::part(td-key) {
|
|
270
279
|
color: white;
|
|
@@ -417,6 +426,19 @@
|
|
|
417
426
|
border-bottom: solid 1px rgba(0, 0, 0, 0.1);
|
|
418
427
|
border-right: solid 1px rgba(0, 0, 0, 0.1);
|
|
419
428
|
|
|
429
|
+
}
|
|
430
|
+
sf-i-events::part(button-icon-selected) {
|
|
431
|
+
|
|
432
|
+
border-width: 0px;
|
|
433
|
+
border-radius: 5px;
|
|
434
|
+
color: #222;
|
|
435
|
+
background: #cdcdcd;
|
|
436
|
+
box-shadow: 1px 1px 10px 0 rgba(0, 0, 0, 0.25), -1px -1px 10px 0 rgba(255, 255, 255, 0.6);
|
|
437
|
+
border-top: solid 1px rgba(255, 255, 255, 0.3);
|
|
438
|
+
border-left: solid 1px rgba(255, 255, 255, 0.3);
|
|
439
|
+
border-bottom: solid 1px rgba(0, 0, 0, 0.1);
|
|
440
|
+
border-right: solid 1px rgba(0, 0, 0, 0.1);
|
|
441
|
+
|
|
420
442
|
}
|
|
421
443
|
|
|
422
444
|
sf-i-events::part(button-icon-small) {
|
|
@@ -493,6 +515,14 @@
|
|
|
493
515
|
background-color: #cd0078;
|
|
494
516
|
}
|
|
495
517
|
|
|
518
|
+
sf-i-events::part(highlight) {
|
|
519
|
+
background-color: greenyellow;
|
|
520
|
+
}
|
|
521
|
+
sf-i-events::part(highlight-count) {
|
|
522
|
+
color: #666;
|
|
523
|
+
font-size: small;
|
|
524
|
+
}
|
|
525
|
+
|
|
496
526
|
sf-i-events::part(compliance-calendar-day-with-compliance) {
|
|
497
527
|
box-shadow: 1px 1px 10px 0 rgba(0, 0, 0, 0.25), -1px -1px 10px 0 rgba(255, 255, 255, 0.6);
|
|
498
528
|
border-radius: 5px;
|
|
@@ -787,7 +817,16 @@
|
|
|
787
817
|
</div>
|
|
788
818
|
|
|
789
819
|
</sf-i-events> -->
|
|
790
|
-
<!-- <sf-i-events
|
|
820
|
+
<!-- <sf-i-events projectid="5a05b884-d7ed-4f63-b623-4d305ea2cfd6" projectname="Standard Radiators Private Limited"
|
|
821
|
+
mode="onboarding"
|
|
822
|
+
locations="{"India":{"Punjab":["Punjab Warehouse"],"Gujarat":["RO & Unit I","Unit II"]}}"
|
|
823
|
+
contractstartdate="01/03/2025" apiid="dwqyez2puoxmu.cloudfront.net/event" username="ninad.t@flagggrc.tech"
|
|
824
|
+
apiidstatutes="dnytrdlrmxgsy.cloudfront.net/statute" apiidcompliances="dnytrdlrmxgsy.cloudfront.net/compliance"
|
|
825
|
+
apiidtags="dnytrdlrmxgsy.cloudfront.net/tagging" apiidusers="dnytrdlrmxgsy.cloudfront.net/userprofile"
|
|
826
|
+
disablesignoff="yes" disableclientresponse="yes">
|
|
827
|
+
|
|
828
|
+
</sf-i-events> -->
|
|
829
|
+
<sf-i-events name="Calendar" apiid="dwqyez2puoxmu.cloudfront.net/event" mode="consumer"
|
|
791
830
|
apiidtags="dnytrdlrmxgsy.cloudfront.net/tagging" apiidstatutes="dnytrdlrmxgsy.cloudfront.net/statute"
|
|
792
831
|
apiiddefinitions="dwqyez2puoxmu.cloudfront.net/definition"
|
|
793
832
|
apiidreportformats="dwqyez2puoxmu.cloudfront.net/reportformat"
|
|
@@ -815,8 +854,8 @@
|
|
|
815
854
|
<sf-i-reporting id="reporting-format" mode="view"></sf-i-reporting>
|
|
816
855
|
</div>
|
|
817
856
|
|
|
818
|
-
</sf-i-events>
|
|
819
|
-
<sf-i-events id="sf-i-events-next" name="Next Compliances" apiid="dwqyez2puoxmu.cloudfront.net/event"
|
|
857
|
+
</sf-i-events>
|
|
858
|
+
<!-- <sf-i-events id="sf-i-events-next" name="Next Compliances" apiid="dwqyez2puoxmu.cloudfront.net/event"
|
|
820
859
|
apiidstatutes="dnytrdlrmxgsy.cloudfront.net/statute" apiidcompliances="dnytrdlrmxgsy.cloudfront.net/compliance"
|
|
821
860
|
apiidreportformats="dwqyez2puoxmu.cloudfront.net/reportformat"
|
|
822
861
|
apiiddefinitions="dwqyez2puoxmu.cloudfront.net/definition" mode="next" fill="solid" username="Local Reporter 1"
|
|
@@ -829,7 +868,7 @@
|
|
|
829
868
|
extract="yes" projectid="41ab3c86-ccc0-4c0e-8e31-cd079a07a710" maxsize="31457280"
|
|
830
869
|
allowdownload="yes"></sf-i-uploader></div>
|
|
831
870
|
<div slot="reporting"><sf-i-reporting id="reporting-format" mode="view"></sf-i-reporting></div>
|
|
832
|
-
</sf-i-events>
|
|
871
|
+
</sf-i-events> -->
|
|
833
872
|
<!-- <sf-i-events name="Calendar" apiid="dwqyez2puoxmu.cloudfront.net/event" mode="consumer"
|
|
834
873
|
apiidtags="dnytrdlrmxgsy.cloudfront.net/tagging" apiidstatutes="dnytrdlrmxgsy.cloudfront.net/statute"
|
|
835
874
|
apiiddefinitions="dwqyez2puoxmu.cloudfront.net/definition"
|
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.910",
|
|
5
5
|
"description": "Superflows Navigation Component",
|
|
6
6
|
"main": "sf-i-events.js",
|
|
7
7
|
"module": "sf-i-events.js",
|
|
@@ -66,7 +66,8 @@
|
|
|
66
66
|
"sf-i-uploader": "^1.0.123",
|
|
67
67
|
"sf-new-feature": "^1.0.1",
|
|
68
68
|
"sinon": "^15.0.1",
|
|
69
|
-
"update": "^0.7.4"
|
|
69
|
+
"update": "^0.7.4",
|
|
70
|
+
"xlsx": "^0.18.5"
|
|
70
71
|
},
|
|
71
72
|
"devDependencies": {
|
|
72
73
|
"@11ty/eleventy": "^1.0.1",
|
package/sf-i-events.d.ts
CHANGED
|
@@ -295,6 +295,11 @@ export declare class SfIEvents extends LitElement {
|
|
|
295
295
|
selectallblock: string;
|
|
296
296
|
graphFilter: string;
|
|
297
297
|
recentlyReported: any;
|
|
298
|
+
registerFilters: {
|
|
299
|
+
[key: string]: {
|
|
300
|
+
[key: string]: boolean;
|
|
301
|
+
};
|
|
302
|
+
};
|
|
298
303
|
static styles: import("lit").CSSResult;
|
|
299
304
|
_SfIEventsC: any;
|
|
300
305
|
_SfRowError: any;
|
|
@@ -511,7 +516,8 @@ export declare class SfIEvents extends LitElement {
|
|
|
511
516
|
renderStatisticsFilters: (eventsContainer: HTMLDivElement) => void;
|
|
512
517
|
renderSelectAllButtons: () => string;
|
|
513
518
|
attachSelectAllListeners: (eventsContainer: HTMLDivElement, buttonSelect: NodeListOf<HTMLButtonElement>) => HTMLButtonElement[];
|
|
514
|
-
renderRegisterEvents: (events: any, meta?: string) => void;
|
|
519
|
+
renderRegisterEvents: (events: any, meta?: string, searchCountryIndex?: number, searchIndex?: number, searchVal?: string) => void;
|
|
520
|
+
processRegisterFilters: (events: any, meta?: string, searchCountryIndex?: number, searchIndex?: number, searchVal?: string) => void;
|
|
515
521
|
checkStartDateEarliness: (value: string) => boolean;
|
|
516
522
|
checkEndDateLateness: (value: string) => boolean;
|
|
517
523
|
attachHandlers: (eventContainer: HTMLDivElement, valueStart: string, valueEnd: string) => void;
|