sf-i-events 1.0.909 → 1.0.911
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 +40 -1
- package/package.json +3 -2
- package/sf-i-events.d.ts +8 -1
- package/sf-i-events.js +411 -119
- package/src/sf-i-events.ts +433 -131
- 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;
|
|
@@ -786,6 +816,15 @@
|
|
|
786
816
|
<sf-i-reporting id="reporting-format" mode="view"></sf-i-reporting>
|
|
787
817
|
</div>
|
|
788
818
|
|
|
819
|
+
</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
|
+
|
|
789
828
|
</sf-i-events> -->
|
|
790
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"
|
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.911",
|
|
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,12 @@ 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
|
+
};
|
|
303
|
+
tablecols: string[];
|
|
298
304
|
static styles: import("lit").CSSResult;
|
|
299
305
|
_SfIEventsC: any;
|
|
300
306
|
_SfRowError: any;
|
|
@@ -511,7 +517,8 @@ export declare class SfIEvents extends LitElement {
|
|
|
511
517
|
renderStatisticsFilters: (eventsContainer: HTMLDivElement) => void;
|
|
512
518
|
renderSelectAllButtons: () => string;
|
|
513
519
|
attachSelectAllListeners: (eventsContainer: HTMLDivElement, buttonSelect: NodeListOf<HTMLButtonElement>) => HTMLButtonElement[];
|
|
514
|
-
renderRegisterEvents: (events: any, meta?: string) => void;
|
|
520
|
+
renderRegisterEvents: (events: any, meta?: string, searchCountryIndex?: number, searchIndex?: number, searchVal?: string) => void;
|
|
521
|
+
processRegisterFilters: (events: any, meta?: string, searchCountryIndex?: number, searchIndex?: number, searchVal?: string) => void;
|
|
515
522
|
checkStartDateEarliness: (value: string) => boolean;
|
|
516
523
|
checkEndDateLateness: (value: string) => boolean;
|
|
517
524
|
attachHandlers: (eventContainer: HTMLDivElement, valueStart: string, valueEnd: string) => void;
|