@watermarkinsights/ripple 3.7.0-3 → 3.7.0
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/README.md +3 -3
- package/dist/cjs/{functions-f0693632.js → functions-13b0e88e.js} +442 -442
- package/dist/cjs/{global-69ca443d.js → global-c802d13c.js} +65 -65
- package/dist/cjs/{http-service-494d81de.js → http-service-9e8c4dd5.js} +49 -49
- package/dist/cjs/{interfaces-a3338581.js → interfaces-30a74c1f.js} +29 -29
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/priv-chart-popover.cjs.entry.js +78 -78
- package/dist/cjs/priv-datepicker.cjs.entry.js +667 -667
- package/dist/cjs/priv-navigator-button.cjs.entry.js +18 -18
- package/dist/cjs/priv-navigator-item.cjs.entry.js +23 -23
- package/dist/cjs/ripple.cjs.js +1 -1
- package/dist/cjs/wm-action-menu_2.cjs.entry.js +341 -341
- package/dist/cjs/wm-button.cjs.entry.js +236 -236
- package/dist/cjs/wm-chart-slice.cjs.entry.js +13 -13
- package/dist/cjs/wm-chart.cjs.entry.js +474 -474
- package/dist/cjs/wm-datepicker.cjs.entry.js +262 -262
- package/dist/cjs/wm-input.cjs.entry.js +134 -134
- package/dist/cjs/wm-modal-footer.cjs.entry.js +31 -31
- package/dist/cjs/wm-modal-header.cjs.entry.js +34 -34
- package/dist/cjs/wm-modal.cjs.entry.js +161 -161
- package/dist/cjs/wm-navigator.cjs.entry.js +268 -268
- package/dist/cjs/wm-network-uploader.cjs.entry.js +420 -420
- package/dist/cjs/wm-option_2.cjs.entry.js +494 -494
- package/dist/cjs/wm-pagination.cjs.entry.js +167 -167
- package/dist/cjs/wm-search.cjs.entry.js +232 -231
- package/dist/cjs/wm-snackbar.cjs.entry.js +170 -170
- package/dist/cjs/wm-tab-item_3.cjs.entry.js +296 -296
- package/dist/cjs/wm-tag-input.cjs.entry.js +570 -570
- package/dist/cjs/wm-timepicker.cjs.entry.js +380 -380
- package/dist/cjs/wm-toggletip.cjs.entry.js +124 -124
- package/dist/cjs/wm-uploader.cjs.entry.js +346 -346
- package/dist/cjs/wm-wrapper.cjs.entry.js +12 -12
- package/dist/collection/components/wm-action-menu/wm-action-menu.js +460 -460
- package/dist/collection/components/wm-button/wm-button.js +503 -503
- package/dist/collection/components/wm-chart/priv-chart-popover/priv-chart-popover.js +232 -232
- package/dist/collection/components/wm-chart/wm-chart-slice.js +64 -64
- package/dist/collection/components/wm-chart/wm-chart.js +718 -718
- package/dist/collection/components/wm-datepicker/priv-datepicker/priv-datepicker.js +1015 -1015
- package/dist/collection/components/wm-datepicker/wm-datepicker.js +468 -468
- package/dist/collection/components/wm-input/wm-input.js +423 -423
- package/dist/collection/components/wm-menuitem/wm-menuitem.js +444 -444
- package/dist/collection/components/wm-modal/wm-modal-footer.js +141 -141
- package/dist/collection/components/wm-modal/wm-modal-header.js +92 -92
- package/dist/collection/components/wm-modal/wm-modal.js +459 -459
- package/dist/collection/components/wm-navigator/priv-navigator-button/priv-navigator-button.js +97 -97
- package/dist/collection/components/wm-navigator/priv-navigator-item/priv-navigator-item.js +114 -114
- package/dist/collection/components/wm-navigator/wm-navigator.js +468 -468
- package/dist/collection/components/wm-option/wm-option.js +422 -422
- package/dist/collection/components/wm-pagination/wm-pagination.js +368 -368
- package/dist/collection/components/wm-search/wm-search.js +480 -479
- package/dist/collection/components/wm-select/wm-select.js +720 -720
- package/dist/collection/components/wm-snackbar/wm-snackbar.js +297 -297
- package/dist/collection/components/wm-tabs/wm-tab-item/wm-tab-item.js +216 -216
- package/dist/collection/components/wm-tabs/wm-tab-list/wm-tab-list.js +330 -330
- package/dist/collection/components/wm-tabs/wm-tab-panel/wm-tab-panel.js +104 -104
- package/dist/collection/components/wm-tag-input/wm-tag-input.js +801 -801
- package/dist/collection/components/wm-timepicker/wm-timepicker.js +580 -580
- package/dist/collection/components/wm-toggletip/wm-toggletip.js +241 -241
- package/dist/collection/components/wm-uploader/wm-network-uploader/wm-network-uploader.js +753 -753
- package/dist/collection/components/wm-uploader/wm-uploader.js +748 -748
- package/dist/collection/components/wm-wrapper/wm-wrapper.js +27 -27
- package/dist/collection/dev/scripts.js +20 -20
- package/dist/collection/global/__mocks__/functions.js +6 -6
- package/dist/collection/global/functions.js +445 -445
- package/dist/collection/global/global.js +72 -72
- package/dist/collection/global/interfaces.js +49 -49
- package/dist/collection/global/services/__mocks__/http-service.js +130 -130
- package/dist/collection/global/services/http-service.js +50 -50
- package/dist/collection/lang/lang.js +5 -5
- package/dist/collection/lang/missing.js +39 -39
- package/dist/collection/lang/piglatin.js +93 -93
- package/dist/esm/{functions-cbfc81d1.js → functions-6ddad20e.js} +442 -442
- package/dist/esm/{global-a12289f9.js → global-a4da88c7.js} +65 -65
- package/dist/esm/{http-service-3dc3b3e7.js → http-service-5d037e16.js} +49 -49
- package/dist/esm/{interfaces-2b97fab2.js → interfaces-61c6305b.js} +29 -29
- package/dist/esm/loader.js +1 -1
- package/dist/esm/polyfills/core-js.js +0 -0
- package/dist/esm/polyfills/dom.js +0 -0
- package/dist/esm/polyfills/es5-html-element.js +0 -0
- package/dist/esm/polyfills/index.js +0 -0
- package/dist/esm/polyfills/system.js +0 -0
- package/dist/esm/priv-chart-popover.entry.js +78 -78
- package/dist/esm/priv-datepicker.entry.js +667 -667
- package/dist/esm/priv-navigator-button.entry.js +18 -18
- package/dist/esm/priv-navigator-item.entry.js +23 -23
- package/dist/esm/ripple.js +1 -1
- package/dist/esm/wm-action-menu_2.entry.js +341 -341
- package/dist/esm/wm-button.entry.js +236 -236
- package/dist/esm/wm-chart-slice.entry.js +13 -13
- package/dist/esm/wm-chart.entry.js +474 -474
- package/dist/esm/wm-datepicker.entry.js +262 -262
- package/dist/esm/wm-input.entry.js +134 -134
- package/dist/esm/wm-modal-footer.entry.js +31 -31
- package/dist/esm/wm-modal-header.entry.js +34 -34
- package/dist/esm/wm-modal.entry.js +161 -161
- package/dist/esm/wm-navigator.entry.js +268 -268
- package/dist/esm/wm-network-uploader.entry.js +420 -420
- package/dist/esm/wm-option_2.entry.js +494 -494
- package/dist/esm/wm-pagination.entry.js +167 -167
- package/dist/esm/wm-search.entry.js +232 -231
- package/dist/esm/wm-snackbar.entry.js +170 -170
- package/dist/esm/wm-tab-item_3.entry.js +296 -296
- package/dist/esm/wm-tag-input.entry.js +570 -570
- package/dist/esm/wm-timepicker.entry.js +380 -380
- package/dist/esm/wm-toggletip.entry.js +124 -124
- package/dist/esm/wm-uploader.entry.js +346 -346
- package/dist/esm/wm-wrapper.entry.js +12 -12
- package/dist/ripple/{p-5585f23e.entry.js → p-0068e871.entry.js} +1 -1
- package/dist/ripple/{p-7d9c18b9.entry.js → p-00999aeb.entry.js} +1 -1
- package/dist/ripple/{p-cd466a5b.entry.js → p-08b273ba.entry.js} +1 -1
- package/dist/ripple/{p-266e4bc2.entry.js → p-196b4c55.entry.js} +1 -1
- package/dist/ripple/{p-e3765b8e.entry.js → p-1a3df227.entry.js} +1 -1
- package/dist/ripple/{p-30f13477.entry.js → p-3590a57f.entry.js} +1 -1
- package/dist/ripple/{p-8a4bac13.entry.js → p-3a178ac8.entry.js} +1 -1
- package/dist/ripple/{p-74438aab.entry.js → p-46371fad.entry.js} +1 -1
- package/dist/ripple/p-5548fc7c.js +1 -0
- package/dist/ripple/{p-da1435f1.entry.js → p-5c73fd59.entry.js} +1 -1
- package/dist/ripple/{p-0c488d9d.entry.js → p-66513af1.entry.js} +1 -1
- package/dist/ripple/{p-bd05632b.entry.js → p-828316d6.entry.js} +1 -1
- package/dist/ripple/{p-b5edcf38.js → p-857a0bc0.js} +0 -0
- package/dist/ripple/{p-43f1298b.js → p-888bec42.js} +0 -0
- package/dist/ripple/{p-2caeca6b.entry.js → p-9624967f.entry.js} +1 -1
- package/dist/ripple/{p-938a5ba4.entry.js → p-99e2c5f6.entry.js} +1 -1
- package/dist/ripple/{p-fd8070fb.js → p-a6d6eae7.js} +0 -0
- package/dist/ripple/{p-b9656d44.entry.js → p-b495e06c.entry.js} +1 -1
- package/dist/ripple/{p-4870d369.entry.js → p-b8aa478f.entry.js} +1 -1
- package/dist/ripple/{p-4414cb64.entry.js → p-bf985c5d.entry.js} +1 -1
- package/dist/ripple/{p-c0b0510a.entry.js → p-cd6de442.entry.js} +1 -1
- package/dist/ripple/{p-111f705a.entry.js → p-cfdf1a79.entry.js} +1 -1
- package/dist/ripple/{p-ad73d523.entry.js → p-d22c957d.entry.js} +1 -1
- package/dist/ripple/{p-f3569e91.entry.js → p-e43b4eda.entry.js} +1 -1
- package/dist/ripple/ripple.esm.js +1 -1
- package/dist/types/components/wm-action-menu/wm-action-menu.d.ts +48 -48
- package/dist/types/components/wm-button/wm-button.d.ts +44 -44
- package/dist/types/components/wm-chart/priv-chart-popover/priv-chart-popover.d.ts +23 -23
- package/dist/types/components/wm-chart/wm-chart-slice.d.ts +8 -8
- package/dist/types/components/wm-chart/wm-chart.d.ts +82 -82
- package/dist/types/components/wm-datepicker/priv-datepicker/priv-datepicker.d.ts +76 -76
- package/dist/types/components/wm-datepicker/wm-datepicker.d.ts +41 -41
- package/dist/types/components/wm-input/wm-input.d.ts +46 -46
- package/dist/types/components/wm-menuitem/wm-menuitem.d.ts +34 -34
- package/dist/types/components/wm-modal/wm-modal-footer.d.ts +15 -15
- package/dist/types/components/wm-modal/wm-modal-header.d.ts +12 -12
- package/dist/types/components/wm-modal/wm-modal.d.ts +41 -41
- package/dist/types/components/wm-navigator/priv-navigator-button/priv-navigator-button.d.ts +10 -10
- package/dist/types/components/wm-navigator/priv-navigator-item/priv-navigator-item.d.ts +13 -13
- package/dist/types/components/wm-navigator/wm-navigator.d.ts +61 -61
- package/dist/types/components/wm-option/wm-option.d.ts +32 -32
- package/dist/types/components/wm-pagination/wm-pagination.d.ts +32 -32
- package/dist/types/components/wm-search/wm-search.d.ts +86 -86
- package/dist/types/components/wm-select/wm-select.d.ts +66 -66
- package/dist/types/components/wm-snackbar/wm-snackbar.d.ts +35 -35
- package/dist/types/components/wm-tabs/wm-tab-item/wm-tab-item.d.ts +38 -38
- package/dist/types/components/wm-tabs/wm-tab-list/wm-tab-list.d.ts +53 -53
- package/dist/types/components/wm-tabs/wm-tab-panel/wm-tab-panel.d.ts +20 -20
- package/dist/types/components/wm-tag-input/wm-tag-input.d.ts +92 -92
- package/dist/types/components/wm-timepicker/wm-timepicker.d.ts +61 -61
- package/dist/types/components/wm-toggletip/wm-toggletip.d.ts +27 -27
- package/dist/types/components/wm-uploader/wm-network-uploader/wm-network-uploader.d.ts +85 -85
- package/dist/types/components/wm-uploader/wm-uploader.d.ts +80 -80
- package/dist/types/components/wm-wrapper/wm-wrapper.d.ts +7 -7
- package/dist/types/components.d.ts +24 -24
- package/dist/types/global/__mocks__/functions.d.ts +6 -6
- package/dist/types/global/functions.d.ts +40 -40
- package/dist/types/global/global.d.ts +1 -1
- package/dist/types/global/interfaces.d.ts +34 -34
- package/dist/types/global/services/__mocks__/http-service.d.ts +6 -6
- package/dist/types/global/services/http-service.d.ts +4 -4
- package/dist/types/lang/lang.d.ts +5 -5
- package/package.json +47 -47
- package/dist/ripple/p-c296ff27.js +0 -1
|
@@ -1,80 +1,80 @@
|
|
|
1
|
-
import { EventEmitter } from "../../stencil-public-runtime";
|
|
2
|
-
interface UploadedFile {
|
|
3
|
-
name: string;
|
|
4
|
-
id: string;
|
|
5
|
-
type: string;
|
|
6
|
-
lastUpdated: string;
|
|
7
|
-
progress?: number;
|
|
8
|
-
}
|
|
9
|
-
interface ErrorFile {
|
|
10
|
-
name: string;
|
|
11
|
-
message: string;
|
|
12
|
-
}
|
|
13
|
-
export declare class Uploader {
|
|
14
|
-
el: HTMLWmUploaderElement;
|
|
15
|
-
private liveRegion?;
|
|
16
|
-
private inputEl?;
|
|
17
|
-
uploaderType: "1" | "2" | null;
|
|
18
|
-
type: "1" | "2" | null;
|
|
19
|
-
get tempUploaderType(): "1" | "2";
|
|
20
|
-
buttonText: string;
|
|
21
|
-
info?: string;
|
|
22
|
-
emptyStateText: string;
|
|
23
|
-
icon: string;
|
|
24
|
-
fileTypes: string;
|
|
25
|
-
maxSize: number;
|
|
26
|
-
maxFiles?: number;
|
|
27
|
-
sortBy: "name" | "date";
|
|
28
|
-
files?: string;
|
|
29
|
-
private fileList;
|
|
30
|
-
filesToUpload: File[];
|
|
31
|
-
isTabbing: boolean;
|
|
32
|
-
rejectedFiles?: string;
|
|
33
|
-
errorList: ErrorFile[];
|
|
34
|
-
notif?: {
|
|
35
|
-
id: number;
|
|
36
|
-
message: string;
|
|
37
|
-
} | null;
|
|
38
|
-
numFilesInProgress?: number | null;
|
|
39
|
-
private srProgress?;
|
|
40
|
-
private inputId;
|
|
41
|
-
wmUploaderFilesSelected: EventEmitter;
|
|
42
|
-
wmFilesSelected: EventEmitter;
|
|
43
|
-
wmUploaderDeleteFile: EventEmitter;
|
|
44
|
-
wmDeleteFile: EventEmitter;
|
|
45
|
-
wmUploaderDownloadFile: EventEmitter;
|
|
46
|
-
wmDownloadFile: EventEmitter;
|
|
47
|
-
toggleTabbingOn(): void;
|
|
48
|
-
toggleTabbingOff(): void;
|
|
49
|
-
handleUploadProgress(ev: CustomEvent): void;
|
|
50
|
-
parseFiles(): void;
|
|
51
|
-
parseRejectedFiles(): void;
|
|
52
|
-
setMaxSize(): void;
|
|
53
|
-
uploadNotifications(newNum: number, oldNum: number): void;
|
|
54
|
-
isValidSize(size: number): boolean;
|
|
55
|
-
isDuplicate(name: string): UploadedFile | undefined;
|
|
56
|
-
isEmpty(): boolean;
|
|
57
|
-
isDisabled(): boolean;
|
|
58
|
-
isItemUploading(item: UploadedFile): boolean;
|
|
59
|
-
clearErrors(): void;
|
|
60
|
-
handleFiles(ev: Event): void;
|
|
61
|
-
downloadFile(file: UploadedFile): void;
|
|
62
|
-
deleteFile(file: UploadedFile): void;
|
|
63
|
-
componentWillLoad(): void;
|
|
64
|
-
componentDidLoad(): void;
|
|
65
|
-
renderUploadSvg(): any;
|
|
66
|
-
renderIcon(): any;
|
|
67
|
-
renderInfo(): any;
|
|
68
|
-
renderNotif(): any;
|
|
69
|
-
renderUploadButton(classes: string): any;
|
|
70
|
-
renderEmptyState(): any;
|
|
71
|
-
renderErrorList(): any;
|
|
72
|
-
renderFileInProgress(item: UploadedFile): any;
|
|
73
|
-
renderFile(item: UploadedFile): any;
|
|
74
|
-
renderFileList(): any;
|
|
75
|
-
renderHeader(): any;
|
|
76
|
-
renderFooter(): any;
|
|
77
|
-
renderWithItems(): any;
|
|
78
|
-
render(): any;
|
|
79
|
-
}
|
|
80
|
-
export {};
|
|
1
|
+
import { EventEmitter } from "../../stencil-public-runtime";
|
|
2
|
+
interface UploadedFile {
|
|
3
|
+
name: string;
|
|
4
|
+
id: string;
|
|
5
|
+
type: string;
|
|
6
|
+
lastUpdated: string;
|
|
7
|
+
progress?: number;
|
|
8
|
+
}
|
|
9
|
+
interface ErrorFile {
|
|
10
|
+
name: string;
|
|
11
|
+
message: string;
|
|
12
|
+
}
|
|
13
|
+
export declare class Uploader {
|
|
14
|
+
el: HTMLWmUploaderElement;
|
|
15
|
+
private liveRegion?;
|
|
16
|
+
private inputEl?;
|
|
17
|
+
uploaderType: "1" | "2" | null;
|
|
18
|
+
type: "1" | "2" | null;
|
|
19
|
+
get tempUploaderType(): "1" | "2";
|
|
20
|
+
buttonText: string;
|
|
21
|
+
info?: string;
|
|
22
|
+
emptyStateText: string;
|
|
23
|
+
icon: string;
|
|
24
|
+
fileTypes: string;
|
|
25
|
+
maxSize: number;
|
|
26
|
+
maxFiles?: number;
|
|
27
|
+
sortBy: "name" | "date";
|
|
28
|
+
files?: string;
|
|
29
|
+
private fileList;
|
|
30
|
+
filesToUpload: File[];
|
|
31
|
+
isTabbing: boolean;
|
|
32
|
+
rejectedFiles?: string;
|
|
33
|
+
errorList: ErrorFile[];
|
|
34
|
+
notif?: {
|
|
35
|
+
id: number;
|
|
36
|
+
message: string;
|
|
37
|
+
} | null;
|
|
38
|
+
numFilesInProgress?: number | null;
|
|
39
|
+
private srProgress?;
|
|
40
|
+
private inputId;
|
|
41
|
+
wmUploaderFilesSelected: EventEmitter;
|
|
42
|
+
wmFilesSelected: EventEmitter;
|
|
43
|
+
wmUploaderDeleteFile: EventEmitter;
|
|
44
|
+
wmDeleteFile: EventEmitter;
|
|
45
|
+
wmUploaderDownloadFile: EventEmitter;
|
|
46
|
+
wmDownloadFile: EventEmitter;
|
|
47
|
+
toggleTabbingOn(): void;
|
|
48
|
+
toggleTabbingOff(): void;
|
|
49
|
+
handleUploadProgress(ev: CustomEvent): void;
|
|
50
|
+
parseFiles(): void;
|
|
51
|
+
parseRejectedFiles(): void;
|
|
52
|
+
setMaxSize(): void;
|
|
53
|
+
uploadNotifications(newNum: number, oldNum: number): void;
|
|
54
|
+
isValidSize(size: number): boolean;
|
|
55
|
+
isDuplicate(name: string): UploadedFile | undefined;
|
|
56
|
+
isEmpty(): boolean;
|
|
57
|
+
isDisabled(): boolean;
|
|
58
|
+
isItemUploading(item: UploadedFile): boolean;
|
|
59
|
+
clearErrors(): void;
|
|
60
|
+
handleFiles(ev: Event): void;
|
|
61
|
+
downloadFile(file: UploadedFile): void;
|
|
62
|
+
deleteFile(file: UploadedFile): void;
|
|
63
|
+
componentWillLoad(): void;
|
|
64
|
+
componentDidLoad(): void;
|
|
65
|
+
renderUploadSvg(): any;
|
|
66
|
+
renderIcon(): any;
|
|
67
|
+
renderInfo(): any;
|
|
68
|
+
renderNotif(): any;
|
|
69
|
+
renderUploadButton(classes: string): any;
|
|
70
|
+
renderEmptyState(): any;
|
|
71
|
+
renderErrorList(): any;
|
|
72
|
+
renderFileInProgress(item: UploadedFile): any;
|
|
73
|
+
renderFile(item: UploadedFile): any;
|
|
74
|
+
renderFileList(): any;
|
|
75
|
+
renderHeader(): any;
|
|
76
|
+
renderFooter(): any;
|
|
77
|
+
renderWithItems(): any;
|
|
78
|
+
render(): any;
|
|
79
|
+
}
|
|
80
|
+
export {};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { EventEmitter } from "../../stencil-public-runtime";
|
|
2
|
-
export declare class Wrapper {
|
|
3
|
-
el: any;
|
|
4
|
-
wmWrapperLoaded: EventEmitter<void>;
|
|
5
|
-
componentDidLoad(): void;
|
|
6
|
-
render(): void;
|
|
7
|
-
}
|
|
1
|
+
import { EventEmitter } from "../../stencil-public-runtime";
|
|
2
|
+
export declare class Wrapper {
|
|
3
|
+
el: any;
|
|
4
|
+
wmWrapperLoaded: EventEmitter<void>;
|
|
5
|
+
componentDidLoad(): void;
|
|
6
|
+
render(): void;
|
|
7
|
+
}
|
|
@@ -45,13 +45,13 @@ export namespace Components {
|
|
|
45
45
|
"disabled": boolean;
|
|
46
46
|
"labelForIdenticalButtons"?: string;
|
|
47
47
|
"tooltip"?: string;
|
|
48
|
-
"tooltipPosition"?: | "top"
|
|
49
|
-
| "bottom"
|
|
50
|
-
| "left"
|
|
51
|
-
| "right"
|
|
52
|
-
| "bottom-left"
|
|
53
|
-
| "bottom-right"
|
|
54
|
-
| "top-right"
|
|
48
|
+
"tooltipPosition"?: | "top"
|
|
49
|
+
| "bottom"
|
|
50
|
+
| "left"
|
|
51
|
+
| "right"
|
|
52
|
+
| "bottom-left"
|
|
53
|
+
| "bottom-right"
|
|
54
|
+
| "top-right"
|
|
55
55
|
| "top-left";
|
|
56
56
|
}
|
|
57
57
|
interface WmButton {
|
|
@@ -526,9 +526,9 @@ declare namespace LocalJSX {
|
|
|
526
526
|
interface PrivNavigatorItem {
|
|
527
527
|
"focused"?: boolean;
|
|
528
528
|
"link"?: string;
|
|
529
|
-
"onKeydownOnNavItem"?: (event: CustomEvent<{
|
|
530
|
-
navItem: HTMLPrivNavigatorItemElement;
|
|
531
|
-
key: string;
|
|
529
|
+
"onKeydownOnNavItem"?: (event: CustomEvent<{
|
|
530
|
+
navItem: HTMLPrivNavigatorItemElement;
|
|
531
|
+
key: string;
|
|
532
532
|
}>) => void;
|
|
533
533
|
"selected"?: boolean;
|
|
534
534
|
}
|
|
@@ -541,13 +541,13 @@ declare namespace LocalJSX {
|
|
|
541
541
|
"onMenuLoaded"?: (event: CustomEvent<any>) => void;
|
|
542
542
|
"onWmActionMenuLoaded"?: (event: CustomEvent<any>) => void;
|
|
543
543
|
"tooltip"?: string;
|
|
544
|
-
"tooltipPosition"?: | "top"
|
|
545
|
-
| "bottom"
|
|
546
|
-
| "left"
|
|
547
|
-
| "right"
|
|
548
|
-
| "bottom-left"
|
|
549
|
-
| "bottom-right"
|
|
550
|
-
| "top-right"
|
|
544
|
+
"tooltipPosition"?: | "top"
|
|
545
|
+
| "bottom"
|
|
546
|
+
| "left"
|
|
547
|
+
| "right"
|
|
548
|
+
| "bottom-left"
|
|
549
|
+
| "bottom-right"
|
|
550
|
+
| "top-right"
|
|
551
551
|
| "top-left";
|
|
552
552
|
}
|
|
553
553
|
interface WmButton {
|
|
@@ -753,9 +753,9 @@ declare namespace LocalJSX {
|
|
|
753
753
|
"onWmSnackbarSnackFinished"?: (event: CustomEvent<Object>) => void;
|
|
754
754
|
}
|
|
755
755
|
interface WmTabItem {
|
|
756
|
-
"onKeydownOnTabItem"?: (event: CustomEvent<{
|
|
757
|
-
tabItem: HTMLWmTabItemElement;
|
|
758
|
-
key: string;
|
|
756
|
+
"onKeydownOnTabItem"?: (event: CustomEvent<{
|
|
757
|
+
tabItem: HTMLWmTabItemElement;
|
|
758
|
+
key: string;
|
|
759
759
|
}>) => void;
|
|
760
760
|
"onTabItemLoaded"?: (event: CustomEvent<{ tab: HTMLWmTabItemElement }>) => void;
|
|
761
761
|
"onTabSelected"?: (event: CustomEvent<{ tabId: string }>) => void;
|
|
@@ -813,10 +813,10 @@ declare namespace LocalJSX {
|
|
|
813
813
|
"label"?: string;
|
|
814
814
|
"labelPosition"?: "top" | "left" | "none";
|
|
815
815
|
"onWmTimepickerNewValidValue"?: (event: CustomEvent<{ value: string }>) => void;
|
|
816
|
-
"onWmTimepickerOnChange"?: (event: CustomEvent<{
|
|
817
|
-
// deprecated in favor of wmTimepickerNewValidValue and standard input event
|
|
818
|
-
value: string;
|
|
819
|
-
isValid: boolean;
|
|
816
|
+
"onWmTimepickerOnChange"?: (event: CustomEvent<{
|
|
817
|
+
// deprecated in favor of wmTimepickerNewValidValue and standard input event
|
|
818
|
+
value: string;
|
|
819
|
+
isValid: boolean;
|
|
820
820
|
}>) => void;
|
|
821
821
|
"preventValidation"?: string;
|
|
822
822
|
"requiredField"?: boolean;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
export declare const generateId: () => string;
|
|
2
|
-
export declare const getTextDir: () => string;
|
|
3
|
-
export declare const intl: {
|
|
4
|
-
formatMessage: (_: string) => string;
|
|
5
|
-
};
|
|
6
|
-
export declare const adjustTooltipPosition: () => string;
|
|
1
|
+
export declare const generateId: () => string;
|
|
2
|
+
export declare const getTextDir: () => string;
|
|
3
|
+
export declare const intl: {
|
|
4
|
+
formatMessage: (_: string) => string;
|
|
5
|
+
};
|
|
6
|
+
export declare const adjustTooltipPosition: () => string;
|
|
@@ -1,40 +1,40 @@
|
|
|
1
|
-
import { TooltipPosition } from "./interfaces";
|
|
2
|
-
export declare const intl: import("@formatjs/intl").IntlShape<string>;
|
|
3
|
-
export declare function generateId(): string;
|
|
4
|
-
export declare function debounce(fn: any, wait: number): (this: any) => void;
|
|
5
|
-
export declare function getTextDir(): string;
|
|
6
|
-
export declare function getPosition(el: HTMLElement): {
|
|
7
|
-
x: number;
|
|
8
|
-
y: number;
|
|
9
|
-
};
|
|
10
|
-
export declare function findParentWithScrollbar(el: HTMLElement): HTMLElement | undefined;
|
|
11
|
-
export declare function findParentWithHiddenOverflow(el: HTMLElement): HTMLElement | undefined;
|
|
12
|
-
export declare function getClosableElementMeasurements(fixedEl: HTMLElement, closableEl: HTMLElement): {
|
|
13
|
-
closableElHeight: number;
|
|
14
|
-
closableElWidth: number;
|
|
15
|
-
spaceAbove: number;
|
|
16
|
-
spaceBelow: number;
|
|
17
|
-
spaceLeft: number;
|
|
18
|
-
spaceRight: number;
|
|
19
|
-
};
|
|
20
|
-
export declare function shouldOpenUp(fixedEl: HTMLElement, //the element visible on the page when the component is closed
|
|
21
|
-
closableEl: HTMLElement, //the dropdown/popup/etc that becomes visible when the component is open
|
|
22
|
-
offsetAbove?: number, // if closableEl covers a part of fixedEl, that part should be offset
|
|
23
|
-
offsetBelow?: number): boolean;
|
|
24
|
-
export declare function shouldOpenDown(fixedEl: HTMLElement, //the element visible on the page when the component is closed
|
|
25
|
-
closableEl: HTMLElement, //the dropdown/popup/etc that becomes visible when the component is open
|
|
26
|
-
offsetAbove?: number, // if closableEl covers a part of fixedEl, that part should be offset
|
|
27
|
-
offsetBelow?: number): boolean;
|
|
28
|
-
export declare function shouldShiftRight(fixedEl: HTMLElement, closableEl: HTMLElement): boolean;
|
|
29
|
-
export declare function shouldShiftLeft(fixedEl: HTMLElement, closableEl: HTMLElement): boolean;
|
|
30
|
-
export declare function adjustTooltipPosition(tPos: TooltipPosition, el: HTMLElement, tooltipEl: HTMLElement): TooltipPosition;
|
|
31
|
-
export declare function hasRoomRight(x: any, spaceNeeded: number): boolean;
|
|
32
|
-
export declare function checkForActiveElInShadow(element: HTMLElement): HTMLElement;
|
|
33
|
-
export declare function checkForFocusableElInShadow(element: HTMLElement): HTMLElement;
|
|
34
|
-
export declare function isFocusable(element: any): boolean;
|
|
35
|
-
export declare function getFirstFocusableDescendant(element: HTMLElement): HTMLElement | undefined;
|
|
36
|
-
export declare function hasValidType(file: File, types: string): any;
|
|
37
|
-
export declare function getAcceptedMimeTypesList(acceptedExtensions: string[]): any;
|
|
38
|
-
export declare function snakeCaseToCamelCase(str: string): string;
|
|
39
|
-
export declare function getNewIndexToFocus(currentIndex: number, direction: string, listLength: number): number;
|
|
40
|
-
export declare function isRelatedTarget(ev: FocusEvent, id: string): boolean | null;
|
|
1
|
+
import { TooltipPosition } from "./interfaces";
|
|
2
|
+
export declare const intl: import("@formatjs/intl").IntlShape<string>;
|
|
3
|
+
export declare function generateId(): string;
|
|
4
|
+
export declare function debounce(fn: any, wait: number): (this: any) => void;
|
|
5
|
+
export declare function getTextDir(): string;
|
|
6
|
+
export declare function getPosition(el: HTMLElement): {
|
|
7
|
+
x: number;
|
|
8
|
+
y: number;
|
|
9
|
+
};
|
|
10
|
+
export declare function findParentWithScrollbar(el: HTMLElement): HTMLElement | undefined;
|
|
11
|
+
export declare function findParentWithHiddenOverflow(el: HTMLElement): HTMLElement | undefined;
|
|
12
|
+
export declare function getClosableElementMeasurements(fixedEl: HTMLElement, closableEl: HTMLElement): {
|
|
13
|
+
closableElHeight: number;
|
|
14
|
+
closableElWidth: number;
|
|
15
|
+
spaceAbove: number;
|
|
16
|
+
spaceBelow: number;
|
|
17
|
+
spaceLeft: number;
|
|
18
|
+
spaceRight: number;
|
|
19
|
+
};
|
|
20
|
+
export declare function shouldOpenUp(fixedEl: HTMLElement, //the element visible on the page when the component is closed
|
|
21
|
+
closableEl: HTMLElement, //the dropdown/popup/etc that becomes visible when the component is open
|
|
22
|
+
offsetAbove?: number, // if closableEl covers a part of fixedEl, that part should be offset
|
|
23
|
+
offsetBelow?: number): boolean;
|
|
24
|
+
export declare function shouldOpenDown(fixedEl: HTMLElement, //the element visible on the page when the component is closed
|
|
25
|
+
closableEl: HTMLElement, //the dropdown/popup/etc that becomes visible when the component is open
|
|
26
|
+
offsetAbove?: number, // if closableEl covers a part of fixedEl, that part should be offset
|
|
27
|
+
offsetBelow?: number): boolean;
|
|
28
|
+
export declare function shouldShiftRight(fixedEl: HTMLElement, closableEl: HTMLElement): boolean;
|
|
29
|
+
export declare function shouldShiftLeft(fixedEl: HTMLElement, closableEl: HTMLElement): boolean;
|
|
30
|
+
export declare function adjustTooltipPosition(tPos: TooltipPosition, el: HTMLElement, tooltipEl: HTMLElement): TooltipPosition;
|
|
31
|
+
export declare function hasRoomRight(x: any, spaceNeeded: number): boolean;
|
|
32
|
+
export declare function checkForActiveElInShadow(element: HTMLElement): HTMLElement;
|
|
33
|
+
export declare function checkForFocusableElInShadow(element: HTMLElement): HTMLElement;
|
|
34
|
+
export declare function isFocusable(element: any): boolean;
|
|
35
|
+
export declare function getFirstFocusableDescendant(element: HTMLElement): HTMLElement | undefined;
|
|
36
|
+
export declare function hasValidType(file: File, types: string): any;
|
|
37
|
+
export declare function getAcceptedMimeTypesList(acceptedExtensions: string[]): any;
|
|
38
|
+
export declare function snakeCaseToCamelCase(str: string): string;
|
|
39
|
+
export declare function getNewIndexToFocus(currentIndex: number, direction: string, listLength: number): number;
|
|
40
|
+
export declare function isRelatedTarget(ev: FocusEvent, id: string): boolean | null;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export {};
|
|
1
|
+
export {};
|
|
@@ -1,34 +1,34 @@
|
|
|
1
|
-
export declare type Notification = {
|
|
2
|
-
message: string;
|
|
3
|
-
id: string;
|
|
4
|
-
link: string;
|
|
5
|
-
newWindow: boolean;
|
|
6
|
-
};
|
|
7
|
-
export declare type label = string | undefined;
|
|
8
|
-
export declare type CssClassMap = {
|
|
9
|
-
[className: string]: boolean;
|
|
10
|
-
};
|
|
11
|
-
interface IconLabels {
|
|
12
|
-
[index: string]: string;
|
|
13
|
-
}
|
|
14
|
-
export declare type Product = {
|
|
15
|
-
description?: string;
|
|
16
|
-
samlLinkUrl?: string;
|
|
17
|
-
iconUrl: string;
|
|
18
|
-
id: string;
|
|
19
|
-
linkUrl: string;
|
|
20
|
-
name: string;
|
|
21
|
-
};
|
|
22
|
-
export declare type NavigatorPayload = {
|
|
23
|
-
connection_name?: string;
|
|
24
|
-
current_product_id: string;
|
|
25
|
-
email: string;
|
|
26
|
-
logout_url: string;
|
|
27
|
-
products: Product[];
|
|
28
|
-
};
|
|
29
|
-
export declare const iconLabels: IconLabels;
|
|
30
|
-
export declare function getIconCodeFromName(icon: string): string;
|
|
31
|
-
export declare const defaultMode = "planning";
|
|
32
|
-
export declare const getWmMode: (ref?: any) => any;
|
|
33
|
-
export declare type TooltipPosition = "top" | "bottom" | "left" | "right" | "bottom-left" | "bottom-right" | "top-right" | "top-left";
|
|
34
|
-
export {};
|
|
1
|
+
export declare type Notification = {
|
|
2
|
+
message: string;
|
|
3
|
+
id: string;
|
|
4
|
+
link: string;
|
|
5
|
+
newWindow: boolean;
|
|
6
|
+
};
|
|
7
|
+
export declare type label = string | undefined;
|
|
8
|
+
export declare type CssClassMap = {
|
|
9
|
+
[className: string]: boolean;
|
|
10
|
+
};
|
|
11
|
+
interface IconLabels {
|
|
12
|
+
[index: string]: string;
|
|
13
|
+
}
|
|
14
|
+
export declare type Product = {
|
|
15
|
+
description?: string;
|
|
16
|
+
samlLinkUrl?: string;
|
|
17
|
+
iconUrl: string;
|
|
18
|
+
id: string;
|
|
19
|
+
linkUrl: string;
|
|
20
|
+
name: string;
|
|
21
|
+
};
|
|
22
|
+
export declare type NavigatorPayload = {
|
|
23
|
+
connection_name?: string;
|
|
24
|
+
current_product_id: string;
|
|
25
|
+
email: string;
|
|
26
|
+
logout_url: string;
|
|
27
|
+
products: Product[];
|
|
28
|
+
};
|
|
29
|
+
export declare const iconLabels: IconLabels;
|
|
30
|
+
export declare function getIconCodeFromName(icon: string): string;
|
|
31
|
+
export declare const defaultMode = "planning";
|
|
32
|
+
export declare const getWmMode: (ref?: any) => any;
|
|
33
|
+
export declare type TooltipPosition = "top" | "bottom" | "left" | "right" | "bottom-left" | "bottom-right" | "top-right" | "top-left";
|
|
34
|
+
export {};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
export declare const getRequest: (url: string) => Promise<any>;
|
|
2
|
-
export declare const postRequest: (url: string, payload: any) => Promise<void | {
|
|
3
|
-
url: string;
|
|
4
|
-
}>;
|
|
5
|
-
export declare const deleteRequest: (url: string) => Promise<void>;
|
|
6
|
-
export declare const putRequest: (_url: string, _file: any) => Promise<void>;
|
|
1
|
+
export declare const getRequest: (url: string) => Promise<any>;
|
|
2
|
+
export declare const postRequest: (url: string, payload: any) => Promise<void | {
|
|
3
|
+
url: string;
|
|
4
|
+
}>;
|
|
5
|
+
export declare const deleteRequest: (url: string) => Promise<void>;
|
|
6
|
+
export declare const putRequest: (_url: string, _file: any) => Promise<void>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export declare const getRequest: (url: string) => Promise<any>;
|
|
2
|
-
export declare const postRequest: (url: string, payload: Object) => Promise<any>;
|
|
3
|
-
export declare const deleteRequest: (url: string) => Promise<any>;
|
|
4
|
-
export declare const putRequest: (url: string, file: File, onProgress: Function) => Promise<unknown>;
|
|
1
|
+
export declare const getRequest: (url: string) => Promise<any>;
|
|
2
|
+
export declare const postRequest: (url: string, payload: Object) => Promise<any>;
|
|
3
|
+
export declare const deleteRequest: (url: string) => Promise<any>;
|
|
4
|
+
export declare const putRequest: (url: string, file: File, onProgress: Function) => Promise<unknown>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import en from "./compiled-lang/en.json";
|
|
2
|
-
import fr from "./compiled-lang/fr.json";
|
|
3
|
-
import es from "./compiled-lang/es.json";
|
|
4
|
-
import pig from "./compiled-lang/pig.json";
|
|
5
|
-
export { en, fr, es, pig };
|
|
1
|
+
import en from "./compiled-lang/en.json";
|
|
2
|
+
import fr from "./compiled-lang/fr.json";
|
|
3
|
+
import es from "./compiled-lang/es.json";
|
|
4
|
+
import pig from "./compiled-lang/pig.json";
|
|
5
|
+
export { en, fr, es, pig };
|
package/package.json
CHANGED
|
@@ -1,47 +1,47 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "@watermarkinsights/ripple",
|
|
3
|
-
"version": "3.7.0
|
|
4
|
-
"description": "Ripple Component Library",
|
|
5
|
-
"license": "MIT",
|
|
6
|
-
"module": "dist/index.js",
|
|
7
|
-
"main": "dist/index.cjs.js",
|
|
8
|
-
"unpkg": "dist/ripple/ripple.js",
|
|
9
|
-
"types": "dist/types/components.d.ts",
|
|
10
|
-
"collection": "dist/collection/collection-manifest.json",
|
|
11
|
-
"files": [
|
|
12
|
-
"dist/"
|
|
13
|
-
],
|
|
14
|
-
"es2017": "dist/esm/index.mjs",
|
|
15
|
-
"es2015": "dist/esm/index.mjs",
|
|
16
|
-
"scripts": {
|
|
17
|
-
"local.pss": "sh ./scripts/build-local-pss.sh",
|
|
18
|
-
"local.aqua": "sh ./scripts/build-local-aqf.sh",
|
|
19
|
-
"local.ripple": "sh ./scripts/build-local-ripple.sh",
|
|
20
|
-
"local.wrappers": "sh ./scripts/build-local-wrappers.sh",
|
|
21
|
-
"build": "stencil build",
|
|
22
|
-
"release": "sh ./scripts/release.sh",
|
|
23
|
-
"start": "stencil build --dev --watch --serve",
|
|
24
|
-
"test": "stencil test --spec --e2e",
|
|
25
|
-
"test.snapshot": "stencil test --spec --e2e -u",
|
|
26
|
-
"test.watch": "stencil test --spec --e2e --watch",
|
|
27
|
-
"test.watchAll": "stencil test --spec --e2e --watchAll",
|
|
28
|
-
"test.coverage": "stencil test --spec --coverage --collectCoverageFrom='src/**/*.{js,jsx,ts,tsx}'",
|
|
29
|
-
"extract": "formatjs extract './src/**/*.tsx' --out-file './src/lang/en.json' && node './src/lang/piglatin.js'",
|
|
30
|
-
"compile": "formatjs compile-folder ./src/lang src/lang/compiled-lang/ --ast",
|
|
31
|
-
"missing": "node './src/lang/missing.js'"
|
|
32
|
-
},
|
|
33
|
-
"devDependencies": {
|
|
34
|
-
"@axe-core/puppeteer": "^4.1.1",
|
|
35
|
-
"@formatjs/cli": "^4.2.11",
|
|
36
|
-
"@stencil/core": "^2.5.2",
|
|
37
|
-
"@stencil/react-output-target": "^0.0.9",
|
|
38
|
-
"@stencil/sass": "^1.4.1",
|
|
39
|
-
"@types/jest": "^26.0.23",
|
|
40
|
-
"@types/puppeteer": "^5.4.3",
|
|
41
|
-
"jest": "^26.6.3",
|
|
42
|
-
"jest-cli": "^26.6.3"
|
|
43
|
-
},
|
|
44
|
-
"dependencies": {
|
|
45
|
-
"@formatjs/intl": "^1.10.5"
|
|
46
|
-
}
|
|
47
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"name": "@watermarkinsights/ripple",
|
|
3
|
+
"version": "3.7.0",
|
|
4
|
+
"description": "Ripple Component Library",
|
|
5
|
+
"license": "MIT",
|
|
6
|
+
"module": "dist/index.js",
|
|
7
|
+
"main": "dist/index.cjs.js",
|
|
8
|
+
"unpkg": "dist/ripple/ripple.js",
|
|
9
|
+
"types": "dist/types/components.d.ts",
|
|
10
|
+
"collection": "dist/collection/collection-manifest.json",
|
|
11
|
+
"files": [
|
|
12
|
+
"dist/"
|
|
13
|
+
],
|
|
14
|
+
"es2017": "dist/esm/index.mjs",
|
|
15
|
+
"es2015": "dist/esm/index.mjs",
|
|
16
|
+
"scripts": {
|
|
17
|
+
"local.pss": "sh ./scripts/build-local-pss.sh",
|
|
18
|
+
"local.aqua": "sh ./scripts/build-local-aqf.sh",
|
|
19
|
+
"local.ripple": "sh ./scripts/build-local-ripple.sh",
|
|
20
|
+
"local.wrappers": "sh ./scripts/build-local-wrappers.sh",
|
|
21
|
+
"build": "stencil build",
|
|
22
|
+
"release": "sh ./scripts/release.sh",
|
|
23
|
+
"start": "stencil build --dev --watch --serve",
|
|
24
|
+
"test": "stencil test --spec --e2e",
|
|
25
|
+
"test.snapshot": "stencil test --spec --e2e -u",
|
|
26
|
+
"test.watch": "stencil test --spec --e2e --watch",
|
|
27
|
+
"test.watchAll": "stencil test --spec --e2e --watchAll",
|
|
28
|
+
"test.coverage": "stencil test --spec --coverage --collectCoverageFrom='src/**/*.{js,jsx,ts,tsx}'",
|
|
29
|
+
"extract": "formatjs extract './src/**/*.tsx' --out-file './src/lang/en.json' && node './src/lang/piglatin.js'",
|
|
30
|
+
"compile": "formatjs compile-folder ./src/lang src/lang/compiled-lang/ --ast",
|
|
31
|
+
"missing": "node './src/lang/missing.js'"
|
|
32
|
+
},
|
|
33
|
+
"devDependencies": {
|
|
34
|
+
"@axe-core/puppeteer": "^4.1.1",
|
|
35
|
+
"@formatjs/cli": "^4.2.11",
|
|
36
|
+
"@stencil/core": "^2.5.2",
|
|
37
|
+
"@stencil/react-output-target": "^0.0.9",
|
|
38
|
+
"@stencil/sass": "^1.4.1",
|
|
39
|
+
"@types/jest": "^26.0.23",
|
|
40
|
+
"@types/puppeteer": "^5.4.3",
|
|
41
|
+
"jest": "^26.6.3",
|
|
42
|
+
"jest-cli": "^26.6.3"
|
|
43
|
+
},
|
|
44
|
+
"dependencies": {
|
|
45
|
+
"@formatjs/intl": "^1.10.5"
|
|
46
|
+
}
|
|
47
|
+
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
window.navigator.plugins.length>0&&console.log("Ripple component library","3.7.0-3"),window.addEventListener("keydown",(function(n){var o=n.key||n.keyCode;if("Tab"==o||9===o){var e=new Event("wmUserIsTabbing");window.dispatchEvent(e),document.querySelector("body").classList.add("wmcl-user-is-tabbing")}"ArrowLeft"!=o&&37!==o&&"ArrowUp"!=o&&38!==o&&"ArrowRight"!=o&&39!==o&&"ArrowDown"!=o&&40!==o||(e=new Event("wmUserIsKeying"),window.dispatchEvent(e),document.querySelector("body").classList.add("wmcl-user-is-keying"))})),window.addEventListener("mousedown",(function(){var n=new Event("wmUserIsNotTabbing");window.dispatchEvent(n),document.querySelector("body").classList.remove("wmcl-user-is-tabbing"),document.querySelector("body").classList.remove("wmcl-user-is-keying")}));const n=document.createElement("div");n.id="wm-tooltip-container";const o=document.createElement("div");o.id="wm-tooltip",o.setAttribute("aria-hidden","true"),o.style.position="fixed",o.style.overflow="hidden",o.style.pointerEvents="none",o.style.lineHeight="normal",o.style.fontFamily="inherit",o.style.fontSize="0.875rem",o.style.textTransform="none",o.style.fontWeight="normal",o.style.background="black",o.style.color="#fff",o.style.zIndex="999999",o.style.maxWidth="13.75rem",o.style.marginRight="1.5rem",o.style.padding="0.375rem",o.style.transitionProperty="opacity",o.style.transitionDelay="opacity",o.style.opacity="0",n.appendChild(o),document.querySelector("body").appendChild(n);
|