sf-i-events 1.0.872 → 1.0.874

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.
@@ -1,7 +1,7 @@
1
- /**
2
- * @license
3
- * Copyright 2022 Superflows.dev
4
- * SPDX-License-Identifier: MIT
5
- */
6
- export {};
1
+ /**
2
+ * @license
3
+ * Copyright 2022 Superflows.dev
4
+ * SPDX-License-Identifier: MIT
5
+ */
6
+ export {};
7
7
  //# sourceMappingURL=sf-i-form_test.d.ts.map
@@ -1,18 +1,18 @@
1
- /**
2
- * @license
3
- * Copyright 2022 Superflows.dev
4
- * SPDX-License-Identifier: MIT
5
- */
6
- import { SfIEvents } from '../sf-i-events.js';
7
- // import { stub } from 'sinon';
8
- // import {fixture, assert} from '@open-wc/testing';
9
- import { assert } from '@open-wc/testing';
10
- // import {html} from 'lit/static-html.js';
11
- //const TIMEOUT = 2000;
12
- suite('sf-i-events > left menu', () => {
13
- test('is defined', () => {
14
- const el = document.createElement('sf-i-events');
15
- assert.instanceOf(el, SfIEvents);
16
- });
17
- });
1
+ /**
2
+ * @license
3
+ * Copyright 2022 Superflows.dev
4
+ * SPDX-License-Identifier: MIT
5
+ */
6
+ import { SfIEvents } from '../sf-i-events.js';
7
+ // import { stub } from 'sinon';
8
+ // import {fixture, assert} from '@open-wc/testing';
9
+ import { assert } from '@open-wc/testing';
10
+ // import {html} from 'lit/static-html.js';
11
+ //const TIMEOUT = 2000;
12
+ suite('sf-i-events > left menu', () => {
13
+ test('is defined', () => {
14
+ const el = document.createElement('sf-i-events');
15
+ assert.instanceOf(el, SfIEvents);
16
+ });
17
+ });
18
18
  //# sourceMappingURL=sf-i-form_test.js.map
package/util.d.ts CHANGED
@@ -1,50 +1,50 @@
1
- declare function createDiagonalPattern1(color: string): CanvasPattern | null;
2
- declare function createDiagonalPattern2(color: string): CanvasPattern | null;
3
- declare function createDiagonalPattern3(color: string): CanvasPattern | null;
4
- declare function readCookie(key: string): string;
5
- declare function callApi(url: string, data: string, authorization: any): Promise<unknown>;
6
- declare function callApiPresignedDelete(url: string): Promise<unknown>;
7
- declare function callApiPresignedGet(url: string): Promise<unknown>;
8
- declare function callApiPresigned(url: string, data: string): Promise<unknown>;
9
- declare function getRandomColor(): string;
10
- declare function isInteger(value: string): boolean;
11
- declare function clearListeners(old_element: HTMLElement): Node;
12
- declare function jsonObjectToHtml(json: any): string;
13
- declare function convertToCSV(arr: any[]): string;
14
- declare function parseCsv(csv: string): any;
15
- declare function titleCase(str: string): string;
16
- declare function alphabeticalSort(arr: string[]): string[];
17
- declare function percentageString(val: number, valTotal: number): string;
18
- declare function getCurrentFiscal(): number;
19
- declare function getDateTimeStrings(unixTimestamp: number): string;
20
- declare function getUsermap(): any;
21
- declare function setFeatures(features: any): void;
22
- declare function getFeatures(): any;
23
- declare const exportFunctions: {
24
- callApiPresignedDelete: typeof callApiPresignedDelete;
25
- callApiPresignedGet: typeof callApiPresignedGet;
26
- callApiPresigned: typeof callApiPresigned;
27
- jsonObjectToHtml: typeof jsonObjectToHtml;
28
- clearListeners: typeof clearListeners;
29
- isInteger: typeof isInteger;
30
- callApi: typeof callApi;
31
- validateName: (name: string) => boolean;
32
- readCookie: typeof readCookie;
33
- timeSince: (date: number) => string;
34
- createDiagonalPattern1: typeof createDiagonalPattern1;
35
- createDiagonalPattern2: typeof createDiagonalPattern2;
36
- createDiagonalPattern3: typeof createDiagonalPattern3;
37
- getRandomColor: typeof getRandomColor;
38
- convertToCSV: typeof convertToCSV;
39
- parseCsv: typeof parseCsv;
40
- titleCase: typeof titleCase;
41
- alphabeticalSort: typeof alphabeticalSort;
42
- percentageString: typeof percentageString;
43
- getCurrentFiscal: typeof getCurrentFiscal;
44
- getDateTimeStrings: typeof getDateTimeStrings;
45
- getUsermap: typeof getUsermap;
46
- setFeatures: typeof setFeatures;
47
- getFeatures: typeof getFeatures;
48
- };
49
- export default exportFunctions;
1
+ declare function createDiagonalPattern1(color: string): CanvasPattern | null;
2
+ declare function createDiagonalPattern2(color: string): CanvasPattern | null;
3
+ declare function createDiagonalPattern3(color: string): CanvasPattern | null;
4
+ declare function readCookie(key: string): string;
5
+ declare function callApi(url: string, data: string, authorization: any): Promise<unknown>;
6
+ declare function callApiPresignedDelete(url: string): Promise<unknown>;
7
+ declare function callApiPresignedGet(url: string): Promise<unknown>;
8
+ declare function callApiPresigned(url: string, data: string): Promise<unknown>;
9
+ declare function getRandomColor(): string;
10
+ declare function isInteger(value: string): boolean;
11
+ declare function clearListeners(old_element: HTMLElement): Node;
12
+ declare function jsonObjectToHtml(json: any): string;
13
+ declare function convertToCSV(arr: any[]): string;
14
+ declare function parseCsv(csv: string): any;
15
+ declare function titleCase(str: string): string;
16
+ declare function alphabeticalSort(arr: string[]): string[];
17
+ declare function percentageString(val: number, valTotal: number): string;
18
+ declare function getCurrentFiscal(): number;
19
+ declare function getDateTimeStrings(unixTimestamp: number): string;
20
+ declare function getUsermap(): any;
21
+ declare function setFeatures(features: any): void;
22
+ declare function getFeatures(): any;
23
+ declare const exportFunctions: {
24
+ callApiPresignedDelete: typeof callApiPresignedDelete;
25
+ callApiPresignedGet: typeof callApiPresignedGet;
26
+ callApiPresigned: typeof callApiPresigned;
27
+ jsonObjectToHtml: typeof jsonObjectToHtml;
28
+ clearListeners: typeof clearListeners;
29
+ isInteger: typeof isInteger;
30
+ callApi: typeof callApi;
31
+ validateName: (name: string) => boolean;
32
+ readCookie: typeof readCookie;
33
+ timeSince: (date: number) => string;
34
+ createDiagonalPattern1: typeof createDiagonalPattern1;
35
+ createDiagonalPattern2: typeof createDiagonalPattern2;
36
+ createDiagonalPattern3: typeof createDiagonalPattern3;
37
+ getRandomColor: typeof getRandomColor;
38
+ convertToCSV: typeof convertToCSV;
39
+ parseCsv: typeof parseCsv;
40
+ titleCase: typeof titleCase;
41
+ alphabeticalSort: typeof alphabeticalSort;
42
+ percentageString: typeof percentageString;
43
+ getCurrentFiscal: typeof getCurrentFiscal;
44
+ getDateTimeStrings: typeof getDateTimeStrings;
45
+ getUsermap: typeof getUsermap;
46
+ setFeatures: typeof setFeatures;
47
+ getFeatures: typeof getFeatures;
48
+ };
49
+ export default exportFunctions;
50
50
  //# sourceMappingURL=util.d.ts.map