@watermarkinsights/ripple 3.6.0-0 → 3.6.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-653e695c.js → functions-068b9a56.js} +1128 -486
- package/dist/cjs/{global-e676a97a.js → global-51e309da.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 +2 -2
- package/dist/cjs/priv-chart-popover.cjs.entry.js +79 -79
- 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 +2 -2
- package/dist/cjs/wm-action-menu_2.cjs.entry.js +341 -341
- package/dist/cjs/wm-button.cjs.entry.js +218 -218
- package/dist/cjs/wm-chart-slice.cjs.entry.js +13 -13
- package/dist/cjs/wm-chart.cjs.entry.js +475 -475
- package/dist/cjs/wm-datepicker.cjs.entry.js +256 -256
- package/dist/cjs/wm-input.cjs.entry.js +134 -133
- 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 -492
- package/dist/cjs/wm-pagination.cjs.entry.js +167 -167
- package/dist/cjs/wm-search.cjs.entry.js +231 -231
- package/dist/cjs/wm-snackbar.cjs.entry.js +170 -170
- package/dist/cjs/wm-tab-item_3.cjs.entry.js +300 -300
- package/dist/cjs/wm-tag-input.cjs.entry.js +570 -556
- package/dist/cjs/wm-timepicker.cjs.entry.js +380 -379
- package/dist/cjs/wm-toggletip.cjs.entry.js +124 -124
- package/dist/cjs/wm-uploader.cjs.entry.js +347 -356
- 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 +485 -485
- package/dist/collection/components/wm-chart/priv-chart-popover/priv-chart-popover.css +1 -0
- 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.css +4 -0
- package/dist/collection/components/wm-chart/wm-chart.js +719 -719
- package/dist/collection/components/wm-datepicker/priv-datepicker/priv-datepicker.js +1015 -1015
- package/dist/collection/components/wm-datepicker/wm-datepicker.js +462 -462
- package/dist/collection/components/wm-input/wm-input.js +424 -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 +479 -479
- package/dist/collection/components/wm-select/wm-select.js +720 -718
- package/dist/collection/components/wm-snackbar/wm-snackbar.js +297 -297
- package/dist/collection/components/wm-tabs/wm-tab-item/wm-tab-item.js +219 -219
- package/dist/collection/components/wm-tabs/wm-tab-list/wm-tab-list.js +331 -331
- 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 -787
- package/dist/collection/components/wm-timepicker/wm-timepicker.js +580 -579
- 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.css +9 -16
- package/dist/collection/components/wm-uploader/wm-uploader.js +748 -790
- 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 -0
- package/dist/collection/lang/piglatin.js +93 -93
- package/dist/esm/{functions-e528c934.js → functions-122ab496.js} +1128 -486
- package/dist/esm/{global-39a2f585.js → global-c36ac692.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 +2 -2
- 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 +79 -79
- 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 +2 -2
- package/dist/esm/wm-action-menu_2.entry.js +341 -341
- package/dist/esm/wm-button.entry.js +218 -218
- package/dist/esm/wm-chart-slice.entry.js +13 -13
- package/dist/esm/wm-chart.entry.js +475 -475
- package/dist/esm/wm-datepicker.entry.js +256 -256
- package/dist/esm/wm-input.entry.js +134 -133
- 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 -492
- package/dist/esm/wm-pagination.entry.js +167 -167
- package/dist/esm/wm-search.entry.js +231 -231
- package/dist/esm/wm-snackbar.entry.js +170 -170
- package/dist/esm/wm-tab-item_3.entry.js +300 -300
- package/dist/esm/wm-tag-input.entry.js +570 -556
- package/dist/esm/wm-timepicker.entry.js +380 -379
- package/dist/esm/wm-toggletip.entry.js +124 -124
- package/dist/esm/wm-uploader.entry.js +347 -356
- package/dist/esm/wm-wrapper.entry.js +12 -12
- package/dist/ripple/{p-b3d5ea85.entry.js → p-067909ce.entry.js} +1 -1
- package/dist/ripple/p-08e67884.js +16 -0
- package/dist/ripple/{p-1e0c41a9.entry.js → p-1c23f228.entry.js} +1 -1
- package/dist/ripple/p-2aa79663.entry.js +1 -0
- package/dist/ripple/{p-d8ecd974.entry.js → p-2b3f75eb.entry.js} +1 -1
- package/dist/ripple/{p-65e3a656.entry.js → p-3ff67fd5.entry.js} +1 -1
- package/dist/ripple/{p-aa973691.entry.js → p-4629470d.entry.js} +1 -1
- package/dist/ripple/{p-dc9c9fda.entry.js → p-4b1f14bb.entry.js} +1 -1
- package/dist/ripple/{p-e9e8334e.entry.js → p-4b72f4eb.entry.js} +1 -1
- package/dist/ripple/{p-8cd1396e.entry.js → p-54c39a0b.entry.js} +1 -1
- package/dist/ripple/p-7da00f33.entry.js +1 -0
- package/dist/ripple/{p-092b01f3.entry.js → p-803b19aa.entry.js} +1 -1
- package/dist/ripple/{p-43f1298b.js → p-888bec42.js} +0 -0
- package/dist/ripple/p-888c18c3.entry.js +1 -0
- package/dist/ripple/p-8c93b893.js +1 -0
- package/dist/ripple/{p-8923b7d0.entry.js → p-97884327.entry.js} +1 -1
- package/dist/ripple/{p-33524565.entry.js → p-9a8fbfad.entry.js} +1 -1
- package/dist/ripple/p-a2b02aec.entry.js +1 -0
- package/dist/ripple/{p-fcdc6395.entry.js → p-a61b07de.entry.js} +1 -1
- package/dist/ripple/{p-fd8070fb.js → p-a6d6eae7.js} +0 -0
- package/dist/ripple/p-e36853fd.entry.js +1 -0
- package/dist/ripple/{p-4cc71463.entry.js → p-ecbb441f.entry.js} +1 -1
- package/dist/ripple/{p-efdaf3b6.entry.js → p-f6bed262.entry.js} +1 -1
- package/dist/ripple/p-f95c2283.entry.js +1 -0
- 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 -91
- 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 -82
- package/dist/types/components/wm-wrapper/wm-wrapper.d.ts +7 -7
- package/dist/types/components.d.ts +24 -28
- 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 -46
- package/dist/ripple/p-588b4475.js +0 -16
- package/dist/ripple/p-67e288fe.entry.js +0 -1
- package/dist/ripple/p-690b4f41.entry.js +0 -1
- package/dist/ripple/p-754d3d41.entry.js +0 -1
- package/dist/ripple/p-a53165df.entry.js +0 -1
- package/dist/ripple/p-c9dcb2ef.js +0 -1
- package/dist/ripple/p-e7616311.entry.js +0 -1
- package/dist/ripple/p-ec9697db.entry.js +0 -1
|
@@ -1,82 +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
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
}
|
|
82
|
-
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 {
|
|
@@ -267,9 +267,7 @@ export namespace Components {
|
|
|
267
267
|
"tooltipText"?: string;
|
|
268
268
|
}
|
|
269
269
|
interface WmUploader {
|
|
270
|
-
"buttonPosition": "left" | "right";
|
|
271
270
|
"buttonText": string;
|
|
272
|
-
"buttonType": "primary" | "secondary";
|
|
273
271
|
"emptyStateText": string;
|
|
274
272
|
"fileTypes": string;
|
|
275
273
|
"files"?: string;
|
|
@@ -528,9 +526,9 @@ declare namespace LocalJSX {
|
|
|
528
526
|
interface PrivNavigatorItem {
|
|
529
527
|
"focused"?: boolean;
|
|
530
528
|
"link"?: string;
|
|
531
|
-
"onKeydownOnNavItem"?: (event: CustomEvent<{
|
|
532
|
-
navItem: HTMLPrivNavigatorItemElement;
|
|
533
|
-
key: string;
|
|
529
|
+
"onKeydownOnNavItem"?: (event: CustomEvent<{
|
|
530
|
+
navItem: HTMLPrivNavigatorItemElement;
|
|
531
|
+
key: string;
|
|
534
532
|
}>) => void;
|
|
535
533
|
"selected"?: boolean;
|
|
536
534
|
}
|
|
@@ -543,13 +541,13 @@ declare namespace LocalJSX {
|
|
|
543
541
|
"onMenuLoaded"?: (event: CustomEvent<any>) => void;
|
|
544
542
|
"onWmActionMenuLoaded"?: (event: CustomEvent<any>) => void;
|
|
545
543
|
"tooltip"?: string;
|
|
546
|
-
"tooltipPosition"?: | "top"
|
|
547
|
-
| "bottom"
|
|
548
|
-
| "left"
|
|
549
|
-
| "right"
|
|
550
|
-
| "bottom-left"
|
|
551
|
-
| "bottom-right"
|
|
552
|
-
| "top-right"
|
|
544
|
+
"tooltipPosition"?: | "top"
|
|
545
|
+
| "bottom"
|
|
546
|
+
| "left"
|
|
547
|
+
| "right"
|
|
548
|
+
| "bottom-left"
|
|
549
|
+
| "bottom-right"
|
|
550
|
+
| "top-right"
|
|
553
551
|
| "top-left";
|
|
554
552
|
}
|
|
555
553
|
interface WmButton {
|
|
@@ -755,9 +753,9 @@ declare namespace LocalJSX {
|
|
|
755
753
|
"onWmSnackbarSnackFinished"?: (event: CustomEvent<Object>) => void;
|
|
756
754
|
}
|
|
757
755
|
interface WmTabItem {
|
|
758
|
-
"onKeydownOnTabItem"?: (event: CustomEvent<{
|
|
759
|
-
tabItem: HTMLWmTabItemElement;
|
|
760
|
-
key: string;
|
|
756
|
+
"onKeydownOnTabItem"?: (event: CustomEvent<{
|
|
757
|
+
tabItem: HTMLWmTabItemElement;
|
|
758
|
+
key: string;
|
|
761
759
|
}>) => void;
|
|
762
760
|
"onTabItemLoaded"?: (event: CustomEvent<{ tab: HTMLWmTabItemElement }>) => void;
|
|
763
761
|
"onTabSelected"?: (event: CustomEvent<{ tabId: string }>) => void;
|
|
@@ -815,10 +813,10 @@ declare namespace LocalJSX {
|
|
|
815
813
|
"label"?: string;
|
|
816
814
|
"labelPosition"?: "top" | "left" | "none";
|
|
817
815
|
"onWmTimepickerNewValidValue"?: (event: CustomEvent<{ value: string }>) => void;
|
|
818
|
-
"onWmTimepickerOnChange"?: (event: CustomEvent<{
|
|
819
|
-
// deprecated in favor of wmTimepickerNewValidValue and standard input event
|
|
820
|
-
value: string;
|
|
821
|
-
isValid: boolean;
|
|
816
|
+
"onWmTimepickerOnChange"?: (event: CustomEvent<{
|
|
817
|
+
// deprecated in favor of wmTimepickerNewValidValue and standard input event
|
|
818
|
+
value: string;
|
|
819
|
+
isValid: boolean;
|
|
822
820
|
}>) => void;
|
|
823
821
|
"preventValidation"?: string;
|
|
824
822
|
"requiredField"?: boolean;
|
|
@@ -831,9 +829,7 @@ declare namespace LocalJSX {
|
|
|
831
829
|
"tooltipText"?: string;
|
|
832
830
|
}
|
|
833
831
|
interface WmUploader {
|
|
834
|
-
"buttonPosition"?: "left" | "right";
|
|
835
832
|
"buttonText": string;
|
|
836
|
-
"buttonType"?: "primary" | "secondary";
|
|
837
833
|
"emptyStateText": string;
|
|
838
834
|
"fileTypes"?: string;
|
|
839
835
|
"files"?: string;
|
|
@@ -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,46 +1,47 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "@watermarkinsights/ripple",
|
|
3
|
-
"version": "3.6.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
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
"@
|
|
35
|
-
"@
|
|
36
|
-
"@stencil/
|
|
37
|
-
"@stencil/
|
|
38
|
-
"@
|
|
39
|
-
"@types/
|
|
40
|
-
"
|
|
41
|
-
"jest
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"name": "@watermarkinsights/ripple",
|
|
3
|
+
"version": "3.6.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
|
+
}
|