@watermarkinsights/ripple 3.10.0-0 → 3.10.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/{chartFunctions-05b9dcc7.js → chartFunctions-829efa13.js} +420 -417
- package/dist/cjs/{functions-71c85bae.js → functions-3b1b7c26.js} +542 -512
- package/dist/cjs/{global-f98992f4.js → global-68b6a831.js} +60 -60
- package/dist/cjs/{http-service-494d81de.js → http-service-9e8c4dd5.js} +49 -49
- package/dist/cjs/{index-98c6524c.js → index-df6a3611.js} +100 -65
- package/dist/cjs/{interfaces-a3338581.js → interfaces-30a74c1f.js} +29 -29
- package/dist/cjs/loader.cjs.js +4 -4
- package/dist/cjs/priv-chart-popover.cjs.entry.js +87 -87
- package/dist/cjs/priv-datepicker.cjs.entry.js +659 -659
- package/dist/cjs/priv-navigator-button.cjs.entry.js +19 -19
- package/dist/cjs/priv-navigator-item.cjs.entry.js +24 -24
- package/dist/cjs/ripple.cjs.js +4 -4
- package/dist/cjs/wm-action-menu_2.cjs.entry.js +342 -342
- package/dist/cjs/wm-button.cjs.entry.js +228 -228
- package/dist/cjs/wm-chart-slice.cjs.entry.js +14 -14
- package/dist/cjs/wm-chart.cjs.entry.js +117 -116
- package/dist/cjs/wm-datepicker.cjs.entry.js +267 -267
- package/dist/cjs/wm-input.cjs.entry.js +136 -136
- package/dist/cjs/wm-modal-footer.cjs.entry.js +32 -32
- package/dist/cjs/wm-modal-header.cjs.entry.js +35 -35
- package/dist/cjs/wm-modal.cjs.entry.js +164 -164
- package/dist/cjs/wm-navigation_3.cjs.entry.js +229 -222
- package/dist/cjs/wm-navigator.cjs.entry.js +269 -269
- package/dist/cjs/wm-network-uploader.cjs.entry.js +454 -454
- package/dist/cjs/wm-option_2.cjs.entry.js +487 -487
- package/dist/cjs/wm-pagination.cjs.entry.js +168 -168
- package/dist/cjs/wm-progress-indicator_3.cjs.entry.js +136 -135
- package/dist/cjs/wm-search.cjs.entry.js +233 -233
- package/dist/cjs/wm-snackbar.cjs.entry.js +172 -172
- package/dist/cjs/wm-tab-item_3.cjs.entry.js +298 -298
- package/dist/cjs/wm-tag-input.cjs.entry.js +581 -581
- package/dist/cjs/wm-timepicker.cjs.entry.js +385 -385
- package/dist/cjs/wm-toggletip.cjs.entry.js +126 -126
- package/dist/cjs/wm-uploader.cjs.entry.js +380 -380
- package/dist/cjs/wm-wrapper.cjs.entry.js +13 -13
- package/dist/collection/collection-manifest.json +2 -2
- package/dist/collection/components/charts/priv-chart-popover/priv-chart-popover.js +258 -258
- package/dist/collection/components/charts/wm-chart/wm-chart-slice.js +115 -115
- package/dist/collection/components/charts/wm-chart/wm-chart.js +334 -332
- package/dist/collection/components/charts/wm-progress-monitor/wm-progress-indicator.js +201 -199
- package/dist/collection/components/charts/wm-progress-monitor/wm-progress-monitor.js +88 -88
- package/dist/collection/components/charts/wm-progress-monitor/wm-progress-slice.js +111 -111
- package/dist/collection/components/wm-action-menu/wm-action-menu.js +460 -460
- package/dist/collection/components/wm-button/wm-button.css +1 -2
- package/dist/collection/components/wm-button/wm-button.js +491 -491
- package/dist/collection/components/wm-datepicker/priv-datepicker/priv-datepicker.css +3 -4
- package/dist/collection/components/wm-datepicker/priv-datepicker/priv-datepicker.js +1024 -1024
- package/dist/collection/components/wm-datepicker/wm-datepicker.css +1 -2
- package/dist/collection/components/wm-datepicker/wm-datepicker.js +471 -471
- package/dist/collection/components/wm-input/wm-input.css +1 -2
- 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 +461 -461
- package/dist/collection/components/wm-navigation/wm-navigation-hamburger.css +1 -2
- package/dist/collection/components/wm-navigation/wm-navigation-hamburger.js +162 -162
- package/dist/collection/components/wm-navigation/wm-navigation-item.js +121 -121
- package/dist/collection/components/wm-navigation/wm-navigation.js +218 -211
- 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.css +2 -3
- package/dist/collection/components/wm-option/wm-option.js +414 -414
- package/dist/collection/components/wm-pagination/wm-pagination.js +368 -368
- package/dist/collection/components/wm-search/wm-search.js +480 -480
- package/dist/collection/components/wm-select/wm-select.css +2 -3
- package/dist/collection/components/wm-select/wm-select.js +718 -718
- package/dist/collection/components/wm-snackbar/wm-snackbar.css +2 -3
- package/dist/collection/components/wm-snackbar/wm-snackbar.js +297 -297
- package/dist/collection/components/wm-tabs/wm-tab-item/wm-tab-item.css +2 -2
- 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.css +2 -3
- package/dist/collection/components/wm-tag-input/wm-tag-input.js +810 -810
- package/dist/collection/components/wm-timepicker/wm-timepicker.css +2 -3
- package/dist/collection/components/wm-timepicker/wm-timepicker.js +583 -583
- package/dist/collection/components/wm-toggletip/wm-toggletip.css +1 -2
- package/dist/collection/components/wm-toggletip/wm-toggletip.js +241 -241
- package/dist/collection/components/wm-uploader/wm-network-uploader/wm-network-uploader.css +1 -2
- package/dist/collection/components/wm-uploader/wm-network-uploader/wm-network-uploader.js +785 -785
- package/dist/collection/components/wm-uploader/wm-uploader.css +1 -2
- package/dist/collection/components/wm-uploader/wm-uploader.js +780 -780
- 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/chartFunctions.js +421 -418
- package/dist/collection/global/functions.js +468 -468
- package/dist/collection/global/global.js +67 -67
- 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 +43 -43
- package/dist/collection/lang/piglatin.js +93 -93
- package/dist/esm/{chartFunctions-b24ba065.js → chartFunctions-1ea300b2.js} +420 -417
- package/dist/esm/{functions-117d1a51.js → functions-124ec8e6.js} +542 -512
- package/dist/esm/{global-6a9c8257.js → global-482afd31.js} +60 -60
- package/dist/esm/{http-service-3dc3b3e7.js → http-service-5d037e16.js} +49 -49
- package/dist/esm/{index-d649a861.js → index-17c79cc6.js} +100 -65
- package/dist/esm/{interfaces-2b97fab2.js → interfaces-61c6305b.js} +29 -29
- package/dist/esm/loader.js +4 -4
- package/dist/esm/polyfills/core-js.js +0 -0
- package/dist/esm/polyfills/css-shim.js +1 -1
- 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 +87 -87
- package/dist/esm/priv-datepicker.entry.js +659 -659
- package/dist/esm/priv-navigator-button.entry.js +19 -19
- package/dist/esm/priv-navigator-item.entry.js +24 -24
- package/dist/esm/ripple.js +4 -4
- package/dist/esm/wm-action-menu_2.entry.js +342 -342
- package/dist/esm/wm-button.entry.js +228 -228
- package/dist/esm/wm-chart-slice.entry.js +14 -14
- package/dist/esm/wm-chart.entry.js +117 -116
- package/dist/esm/wm-datepicker.entry.js +267 -267
- package/dist/esm/wm-input.entry.js +136 -136
- package/dist/esm/wm-modal-footer.entry.js +32 -32
- package/dist/esm/wm-modal-header.entry.js +35 -35
- package/dist/esm/wm-modal.entry.js +164 -164
- package/dist/esm/wm-navigation_3.entry.js +229 -222
- package/dist/esm/wm-navigator.entry.js +269 -269
- package/dist/esm/wm-network-uploader.entry.js +454 -454
- package/dist/esm/wm-option_2.entry.js +487 -487
- package/dist/esm/wm-pagination.entry.js +168 -168
- package/dist/esm/wm-progress-indicator_3.entry.js +136 -135
- package/dist/esm/wm-search.entry.js +233 -233
- package/dist/esm/wm-snackbar.entry.js +172 -172
- package/dist/esm/wm-tab-item_3.entry.js +298 -298
- package/dist/esm/wm-tag-input.entry.js +581 -581
- package/dist/esm/wm-timepicker.entry.js +385 -385
- package/dist/esm/wm-toggletip.entry.js +126 -126
- package/dist/esm/wm-uploader.entry.js +380 -380
- package/dist/esm/wm-wrapper.entry.js +13 -13
- package/dist/esm-es5/chartFunctions-1ea300b2.js +1 -0
- package/dist/esm-es5/functions-124ec8e6.js +15 -0
- package/dist/esm-es5/global-482afd31.js +1 -0
- package/dist/esm-es5/{http-service-3dc3b3e7.js → http-service-5d037e16.js} +1 -1
- package/dist/esm-es5/index-17c79cc6.js +1 -0
- package/dist/esm-es5/{interfaces-2b97fab2.js → interfaces-61c6305b.js} +0 -0
- package/dist/esm-es5/loader.js +1 -1
- package/dist/esm-es5/priv-chart-popover.entry.js +1 -1
- package/dist/esm-es5/priv-datepicker.entry.js +1 -1
- package/dist/esm-es5/priv-navigator-button.entry.js +1 -1
- package/dist/esm-es5/priv-navigator-item.entry.js +1 -1
- package/dist/esm-es5/ripple.js +1 -1
- package/dist/esm-es5/wm-action-menu_2.entry.js +1 -1
- package/dist/esm-es5/wm-button.entry.js +1 -1
- package/dist/esm-es5/wm-chart-slice.entry.js +1 -1
- package/dist/esm-es5/wm-chart.entry.js +1 -1
- package/dist/esm-es5/wm-datepicker.entry.js +1 -1
- package/dist/esm-es5/wm-input.entry.js +1 -1
- package/dist/esm-es5/wm-modal-footer.entry.js +1 -1
- package/dist/esm-es5/wm-modal-header.entry.js +1 -1
- package/dist/esm-es5/wm-modal.entry.js +1 -1
- package/dist/esm-es5/wm-navigation_3.entry.js +1 -1
- package/dist/esm-es5/wm-navigator.entry.js +1 -1
- package/dist/esm-es5/wm-network-uploader.entry.js +1 -1
- package/dist/esm-es5/wm-option_2.entry.js +1 -1
- package/dist/esm-es5/wm-pagination.entry.js +1 -1
- package/dist/esm-es5/wm-progress-indicator_3.entry.js +1 -1
- package/dist/esm-es5/wm-search.entry.js +1 -1
- package/dist/esm-es5/wm-snackbar.entry.js +1 -1
- package/dist/esm-es5/wm-tab-item_3.entry.js +1 -1
- package/dist/esm-es5/wm-tag-input.entry.js +1 -1
- package/dist/esm-es5/wm-timepicker.entry.js +1 -1
- package/dist/esm-es5/wm-toggletip.entry.js +1 -1
- package/dist/esm-es5/wm-uploader.entry.js +1 -1
- package/dist/esm-es5/wm-wrapper.entry.js +1 -1
- package/dist/loader/index.d.ts +0 -1
- package/dist/ripple/{p-f5df5903.system.js → p-08b7ec08.system.js} +0 -0
- package/dist/ripple/p-09f954eb.system.js +1 -0
- package/dist/ripple/p-0c7c9b89.entry.js +1 -0
- package/dist/ripple/{p-ddf157c8.system.entry.js → p-14eab45c.system.entry.js} +1 -1
- package/dist/ripple/{p-0ebed4b8.system.entry.js → p-1acaa65d.system.entry.js} +1 -1
- package/dist/ripple/p-1ace795c.system.entry.js +1 -0
- package/dist/ripple/p-1edf9946.system.entry.js +1 -0
- package/dist/ripple/p-1f35a8f1.js +16 -0
- package/dist/ripple/{p-6cf47163.entry.js → p-1fe3ad2b.entry.js} +1 -1
- package/dist/ripple/p-259f7450.system.entry.js +1 -0
- package/dist/ripple/{p-6c295beb.entry.js → p-262c75ff.entry.js} +1 -1
- package/dist/ripple/{p-099df7b7.system.entry.js → p-27253ed2.system.entry.js} +1 -1
- package/dist/ripple/p-28b051a3.system.entry.js +1 -0
- package/dist/ripple/p-2a66f447.entry.js +1 -0
- package/dist/ripple/p-313b6073.system.js +1 -0
- package/dist/ripple/{p-efe7728e.entry.js → p-37553d4e.entry.js} +1 -1
- package/dist/ripple/{p-570fb53b.entry.js → p-3a940fd1.entry.js} +1 -1
- package/dist/ripple/p-426b392a.entry.js +1 -0
- package/dist/ripple/p-557dd7f5.system.entry.js +1 -0
- package/dist/ripple/{p-2b6246d9.entry.js → p-57c94258.entry.js} +1 -1
- package/dist/ripple/{p-bfc1ab2e.system.entry.js → p-59678b70.system.entry.js} +1 -1
- package/dist/ripple/{p-7c2b1682.entry.js → p-5b213951.entry.js} +1 -1
- package/dist/ripple/p-5f4686a3.system.js +15 -0
- package/dist/ripple/p-68361541.entry.js +1 -0
- package/dist/ripple/p-6bf64cc9.system.entry.js +1 -0
- package/dist/ripple/p-726b9452.system.js +1 -0
- package/dist/ripple/{p-4f581ab3.entry.js → p-76e184fb.entry.js} +1 -1
- package/dist/ripple/p-77415d3b.entry.js +1 -0
- package/dist/ripple/p-7c2a8479.entry.js +1 -0
- package/dist/ripple/p-7ec83929.entry.js +1 -0
- package/dist/ripple/p-84a3d723.entry.js +1 -0
- package/dist/ripple/{p-269fa39c.system.entry.js → p-87a7ab75.system.entry.js} +1 -1
- package/dist/ripple/p-87c13bc7.js +1 -0
- package/dist/ripple/{p-43f1298b.js → p-888bec42.js} +0 -0
- package/dist/ripple/{p-1e7fc028.entry.js → p-962f51ff.entry.js} +1 -1
- package/dist/ripple/{p-e7a7d732.entry.js → p-96898754.entry.js} +1 -1
- package/dist/ripple/p-96b8d112.system.entry.js +1 -0
- package/dist/ripple/p-9a52566b.system.entry.js +1 -0
- package/dist/ripple/p-9a5281d9.system.js +1 -0
- package/dist/ripple/p-9bbdf766.entry.js +1 -0
- package/dist/ripple/{p-ffb97b6d.system.entry.js → p-9d3b13d8.system.entry.js} +1 -1
- package/dist/ripple/{p-03d6014a.system.entry.js → p-9debb1cd.system.entry.js} +1 -1
- package/dist/ripple/p-a0635779.entry.js +1 -0
- package/dist/ripple/p-a37fe057.system.entry.js +1 -0
- package/dist/ripple/{p-fd8070fb.js → p-a6d6eae7.js} +0 -0
- package/dist/ripple/{p-22759dd5.entry.js → p-aeda3309.entry.js} +1 -1
- package/dist/ripple/{p-6c751341.entry.js → p-b0536ddb.entry.js} +1 -1
- package/dist/ripple/{p-a5a47a23.entry.js → p-b5df33e3.entry.js} +1 -1
- package/dist/ripple/{p-57f2feb0.entry.js → p-bd5d5a76.entry.js} +1 -1
- package/dist/ripple/p-beb10404.system.entry.js +1 -0
- package/dist/ripple/{p-e8e2228d.system.entry.js → p-c02c7a93.system.entry.js} +1 -1
- package/dist/ripple/p-c2abdcba.js +1 -0
- package/dist/ripple/{p-210039cc.system.entry.js → p-c332f020.system.entry.js} +1 -1
- package/dist/ripple/p-caaae868.entry.js +1 -0
- package/dist/ripple/{p-25b81952.entry.js → p-ccf1547c.entry.js} +1 -1
- package/dist/ripple/p-d3438746.system.js +1 -0
- package/dist/ripple/{p-64e8fb6e.system.entry.js → p-d8544aaa.system.entry.js} +1 -1
- package/dist/ripple/p-daa4d5b2.system.entry.js +1 -0
- package/dist/ripple/{p-a1511315.system.entry.js → p-db44eb6f.system.entry.js} +1 -1
- package/dist/ripple/p-de192292.system.entry.js +1 -0
- package/dist/ripple/p-e8006085.system.entry.js +1 -0
- package/dist/ripple/{p-2b63995f.system.entry.js → p-f17076c4.system.entry.js} +1 -1
- package/dist/ripple/p-f1a93fa1.system.entry.js +1 -0
- package/dist/ripple/p-fc7bf66e.entry.js +1 -0
- package/dist/ripple/p-fd8883a5.entry.js +1 -0
- package/dist/ripple/p-fd9b3760.system.entry.js +1 -0
- package/dist/ripple/p-fe281d40.js +1 -0
- package/dist/ripple/ripple.esm.js +1 -1
- package/dist/ripple/ripple.js +1 -1
- package/dist/types/components/charts/priv-chart-popover/priv-chart-popover.d.ts +27 -0
- package/dist/types/components/charts/wm-chart/wm-chart-slice.d.ts +11 -11
- package/dist/types/components/charts/wm-chart/wm-chart.d.ts +36 -35
- package/dist/types/components/charts/wm-progress-monitor/wm-progress-indicator.d.ts +27 -0
- package/dist/types/components/charts/wm-progress-monitor/wm-progress-monitor.d.ts +17 -0
- package/dist/types/components/charts/wm-progress-monitor/wm-progress-slice.d.ts +10 -10
- package/dist/types/components/wm-action-menu/wm-action-menu.d.ts +48 -48
- package/dist/types/components/wm-button/wm-button.d.ts +43 -43
- package/dist/types/components/wm-datepicker/priv-datepicker/priv-datepicker.d.ts +80 -80
- 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-navigation/wm-navigation-hamburger.d.ts +21 -21
- package/dist/types/components/wm-navigation/wm-navigation-item.d.ts +13 -13
- package/dist/types/components/wm-navigation/wm-navigation.d.ts +28 -30
- 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/chartFunctions.d.ts +29 -29
- package/dist/types/global/functions.d.ts +42 -42
- package/dist/types/global/global.d.ts +1 -1
- package/dist/types/global/interfaces.d.ts +44 -44
- 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/dist/types/stencil-public-runtime.d.ts +6 -4
- package/package.json +47 -47
- package/dist/esm-es5/chartFunctions-b24ba065.js +0 -1
- package/dist/esm-es5/functions-117d1a51.js +0 -15
- package/dist/esm-es5/global-6a9c8257.js +0 -1
- package/dist/esm-es5/index-d649a861.js +0 -1
- package/dist/ripple/p-0cffec65.entry.js +0 -1
- package/dist/ripple/p-13e2891c.system.js +0 -1
- package/dist/ripple/p-18261104.system.entry.js +0 -1
- package/dist/ripple/p-1b1e006a.entry.js +0 -1
- package/dist/ripple/p-26c9f5af.entry.js +0 -1
- package/dist/ripple/p-276ed011.js +0 -16
- package/dist/ripple/p-2c8a26f2.js +0 -1
- package/dist/ripple/p-38bb7f05.system.entry.js +0 -1
- package/dist/ripple/p-50be3b44.js +0 -1
- package/dist/ripple/p-5176b826.system.js +0 -15
- package/dist/ripple/p-5627e44d.entry.js +0 -1
- package/dist/ripple/p-5d6cc9da.system.js +0 -1
- package/dist/ripple/p-5e164260.system.entry.js +0 -1
- package/dist/ripple/p-6f59ed45.js +0 -1
- package/dist/ripple/p-772576d7.system.entry.js +0 -1
- package/dist/ripple/p-7779bfbe.system.entry.js +0 -1
- package/dist/ripple/p-81ddf5a0.entry.js +0 -1
- package/dist/ripple/p-83d22032.system.entry.js +0 -1
- package/dist/ripple/p-846e9391.entry.js +0 -1
- package/dist/ripple/p-8a96b188.system.entry.js +0 -1
- package/dist/ripple/p-8cf7ce7e.system.entry.js +0 -1
- package/dist/ripple/p-969af068.system.entry.js +0 -1
- package/dist/ripple/p-9a4aca88.system.entry.js +0 -1
- package/dist/ripple/p-9aa6cd9f.entry.js +0 -1
- package/dist/ripple/p-9c20bc1f.system.entry.js +0 -1
- package/dist/ripple/p-9d02957d.system.js +0 -1
- package/dist/ripple/p-9d49f21e.entry.js +0 -1
- package/dist/ripple/p-9d8c246d.system.entry.js +0 -1
- package/dist/ripple/p-9df8a520.entry.js +0 -1
- package/dist/ripple/p-a1a2efca.system.entry.js +0 -1
- package/dist/ripple/p-a224d536.system.js +0 -1
- package/dist/ripple/p-b16373b9.system.entry.js +0 -1
- package/dist/ripple/p-b547bcf2.entry.js +0 -1
- package/dist/ripple/p-c8bb4b2b.entry.js +0 -1
- package/dist/ripple/p-d09fb6b5.entry.js +0 -1
- package/dist/ripple/p-e1b076be.entry.js +0 -1
- package/dist/ripple/p-ebae8cae.system.entry.js +0 -1
- package/dist/ripple/p-f54c4b0e.system.js +0 -1
|
@@ -1,64 +1,64 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
const version = "3.10.0
|
|
3
|
+
const version = "3.10.0";
|
|
4
4
|
|
|
5
|
-
// PRINT RIPPLE VERSION IN CONSOLE
|
|
6
|
-
// test envs return 0 for plugin.length
|
|
7
|
-
// do not print version number there as it causes issues
|
|
8
|
-
if (window.navigator.plugins.length > 0) {
|
|
9
|
-
console.log("Ripple component library", version);
|
|
10
|
-
}
|
|
11
|
-
// USER-IS-TABBING CLASSES (FOR FOCUS INDICATORS)
|
|
12
|
-
// Dispatching events to track whether user is navigating with keyboard or mouse
|
|
13
|
-
function wmComponentKeys(ev) {
|
|
14
|
-
if (ev.key == "Tab") {
|
|
15
|
-
var event = new Event("wmUserIsTabbing");
|
|
16
|
-
window.dispatchEvent(event);
|
|
17
|
-
document.querySelector("body").classList.add("wmcl-user-is-tabbing");
|
|
18
|
-
}
|
|
19
|
-
if (ev.key == "ArrowLeft" ||
|
|
20
|
-
ev.key == "ArrowUp" ||
|
|
21
|
-
ev.key == "ArrowRight" ||
|
|
22
|
-
ev.key == "ArrowDown") {
|
|
23
|
-
var event = new Event("wmUserIsKeying");
|
|
24
|
-
window.dispatchEvent(event);
|
|
25
|
-
document.querySelector("body").classList.add("wmcl-user-is-keying");
|
|
26
|
-
}
|
|
27
|
-
}
|
|
28
|
-
function wmComponentMouseDownOnce() {
|
|
29
|
-
var event = new Event("wmUserIsNotTabbing");
|
|
30
|
-
window.dispatchEvent(event);
|
|
31
|
-
document.querySelector("body").classList.remove("wmcl-user-is-tabbing");
|
|
32
|
-
document.querySelector("body").classList.remove("wmcl-user-is-keying");
|
|
33
|
-
}
|
|
34
|
-
window.addEventListener("keydown", wmComponentKeys);
|
|
35
|
-
window.addEventListener("mousedown", wmComponentMouseDownOnce);
|
|
36
|
-
// TOOLTIP
|
|
37
|
-
// Add a tooltip element
|
|
38
|
-
// This allows tooltips to be always at the highest stacking context (always on top)
|
|
39
|
-
// Element is added withing a container to avoid performance impact
|
|
40
|
-
const tooltipContainer = document.createElement("div");
|
|
41
|
-
tooltipContainer.id = "wm-tooltip-container";
|
|
42
|
-
const tooltipEl = document.createElement("div");
|
|
43
|
-
tooltipEl.id = "wm-tooltip";
|
|
44
|
-
tooltipEl.setAttribute("aria-hidden", "true");
|
|
45
|
-
tooltipEl.style.position = "fixed";
|
|
46
|
-
tooltipEl.style.overflow = "hidden";
|
|
47
|
-
tooltipEl.style.pointerEvents = "none";
|
|
48
|
-
tooltipEl.style.lineHeight = "normal";
|
|
49
|
-
tooltipEl.style.fontFamily = "inherit";
|
|
50
|
-
tooltipEl.style.fontSize = "0.875rem";
|
|
51
|
-
tooltipEl.style.textTransform = "none";
|
|
52
|
-
tooltipEl.style.fontWeight = "normal";
|
|
53
|
-
tooltipEl.style.background = "black";
|
|
54
|
-
tooltipEl.style.color = "#fff";
|
|
55
|
-
tooltipEl.style.zIndex = "999999";
|
|
56
|
-
tooltipEl.style.maxWidth = "13.75rem";
|
|
57
|
-
tooltipEl.style.marginRight = "1.5rem";
|
|
58
|
-
tooltipEl.style.padding = "0.375rem";
|
|
59
|
-
tooltipEl.style.transitionProperty = "opacity";
|
|
60
|
-
tooltipEl.style.transitionDelay = "opacity";
|
|
61
|
-
tooltipEl.style.opacity = "0";
|
|
62
|
-
tooltipContainer.appendChild(tooltipEl);
|
|
63
|
-
const body = document.querySelector("body");
|
|
5
|
+
// PRINT RIPPLE VERSION IN CONSOLE
|
|
6
|
+
// test envs return 0 for plugin.length
|
|
7
|
+
// do not print version number there as it causes issues
|
|
8
|
+
if (window.navigator.plugins.length > 0) {
|
|
9
|
+
console.log("Ripple component library", version);
|
|
10
|
+
}
|
|
11
|
+
// USER-IS-TABBING CLASSES (FOR FOCUS INDICATORS)
|
|
12
|
+
// Dispatching events to track whether user is navigating with keyboard or mouse
|
|
13
|
+
function wmComponentKeys(ev) {
|
|
14
|
+
if (ev.key == "Tab") {
|
|
15
|
+
var event = new Event("wmUserIsTabbing");
|
|
16
|
+
window.dispatchEvent(event);
|
|
17
|
+
document.querySelector("body").classList.add("wmcl-user-is-tabbing");
|
|
18
|
+
}
|
|
19
|
+
if (ev.key == "ArrowLeft" ||
|
|
20
|
+
ev.key == "ArrowUp" ||
|
|
21
|
+
ev.key == "ArrowRight" ||
|
|
22
|
+
ev.key == "ArrowDown") {
|
|
23
|
+
var event = new Event("wmUserIsKeying");
|
|
24
|
+
window.dispatchEvent(event);
|
|
25
|
+
document.querySelector("body").classList.add("wmcl-user-is-keying");
|
|
26
|
+
}
|
|
27
|
+
}
|
|
28
|
+
function wmComponentMouseDownOnce() {
|
|
29
|
+
var event = new Event("wmUserIsNotTabbing");
|
|
30
|
+
window.dispatchEvent(event);
|
|
31
|
+
document.querySelector("body").classList.remove("wmcl-user-is-tabbing");
|
|
32
|
+
document.querySelector("body").classList.remove("wmcl-user-is-keying");
|
|
33
|
+
}
|
|
34
|
+
window.addEventListener("keydown", wmComponentKeys);
|
|
35
|
+
window.addEventListener("mousedown", wmComponentMouseDownOnce);
|
|
36
|
+
// TOOLTIP
|
|
37
|
+
// Add a tooltip element
|
|
38
|
+
// This allows tooltips to be always at the highest stacking context (always on top)
|
|
39
|
+
// Element is added withing a container to avoid performance impact
|
|
40
|
+
const tooltipContainer = document.createElement("div");
|
|
41
|
+
tooltipContainer.id = "wm-tooltip-container";
|
|
42
|
+
const tooltipEl = document.createElement("div");
|
|
43
|
+
tooltipEl.id = "wm-tooltip";
|
|
44
|
+
tooltipEl.setAttribute("aria-hidden", "true");
|
|
45
|
+
tooltipEl.style.position = "fixed";
|
|
46
|
+
tooltipEl.style.overflow = "hidden";
|
|
47
|
+
tooltipEl.style.pointerEvents = "none";
|
|
48
|
+
tooltipEl.style.lineHeight = "normal";
|
|
49
|
+
tooltipEl.style.fontFamily = "inherit";
|
|
50
|
+
tooltipEl.style.fontSize = "0.875rem";
|
|
51
|
+
tooltipEl.style.textTransform = "none";
|
|
52
|
+
tooltipEl.style.fontWeight = "normal";
|
|
53
|
+
tooltipEl.style.background = "black";
|
|
54
|
+
tooltipEl.style.color = "#fff";
|
|
55
|
+
tooltipEl.style.zIndex = "999999";
|
|
56
|
+
tooltipEl.style.maxWidth = "13.75rem";
|
|
57
|
+
tooltipEl.style.marginRight = "1.5rem";
|
|
58
|
+
tooltipEl.style.padding = "0.375rem";
|
|
59
|
+
tooltipEl.style.transitionProperty = "opacity";
|
|
60
|
+
tooltipEl.style.transitionDelay = "opacity";
|
|
61
|
+
tooltipEl.style.opacity = "0";
|
|
62
|
+
tooltipContainer.appendChild(tooltipEl);
|
|
63
|
+
const body = document.querySelector("body");
|
|
64
64
|
body.appendChild(tooltipContainer);
|
|
@@ -1,54 +1,54 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
const getRequest = async (url) => {
|
|
4
|
-
const response = await fetch(url);
|
|
5
|
-
if (!!response && !!response.ok) {
|
|
6
|
-
return await response.json();
|
|
7
|
-
}
|
|
8
|
-
else {
|
|
9
|
-
throw new Error(response.statusText);
|
|
10
|
-
}
|
|
11
|
-
};
|
|
12
|
-
const postRequest = async (url, payload) => {
|
|
13
|
-
const response = await fetch(url, {
|
|
14
|
-
method: "POST",
|
|
15
|
-
headers: { "Content-Type": "application/json; charset=utf-8" },
|
|
16
|
-
body: JSON.stringify(payload),
|
|
17
|
-
});
|
|
18
|
-
if (!!response && !!response.ok) {
|
|
19
|
-
return await response.json();
|
|
20
|
-
}
|
|
21
|
-
else {
|
|
22
|
-
throw new Error(response.statusText);
|
|
23
|
-
}
|
|
24
|
-
};
|
|
25
|
-
const deleteRequest = async (url) => {
|
|
26
|
-
const response = await fetch(url, { method: "DELETE" });
|
|
27
|
-
if (!!response && !!response.ok) {
|
|
28
|
-
return await response.json();
|
|
29
|
-
}
|
|
30
|
-
else {
|
|
31
|
-
throw new Error(response.statusText);
|
|
32
|
-
}
|
|
33
|
-
};
|
|
34
|
-
const putRequest = (url, file, onProgress) => {
|
|
35
|
-
return new Promise((resolve, reject) => {
|
|
36
|
-
// there's no way to track progress with the fetch API, so using XHR
|
|
37
|
-
const req = new XMLHttpRequest();
|
|
38
|
-
req.upload.addEventListener("progress", (ev) => onProgress(ev));
|
|
39
|
-
req.addEventListener("readystatechange", function () {
|
|
40
|
-
if (this.readyState === 4 && this.status === 200) {
|
|
41
|
-
resolve(this);
|
|
42
|
-
}
|
|
43
|
-
else if (this.readyState === 4 && this.status !== 200) {
|
|
44
|
-
reject();
|
|
45
|
-
}
|
|
46
|
-
});
|
|
47
|
-
req.onerror = () => reject();
|
|
48
|
-
req.open("PUT", url, true);
|
|
49
|
-
req.setRequestHeader("Content-Disposition", `attachment;filename="${file.name}"`);
|
|
50
|
-
req.send(file);
|
|
51
|
-
});
|
|
3
|
+
const getRequest = async (url) => {
|
|
4
|
+
const response = await fetch(url);
|
|
5
|
+
if (!!response && !!response.ok) {
|
|
6
|
+
return await response.json();
|
|
7
|
+
}
|
|
8
|
+
else {
|
|
9
|
+
throw new Error(response.statusText);
|
|
10
|
+
}
|
|
11
|
+
};
|
|
12
|
+
const postRequest = async (url, payload) => {
|
|
13
|
+
const response = await fetch(url, {
|
|
14
|
+
method: "POST",
|
|
15
|
+
headers: { "Content-Type": "application/json; charset=utf-8" },
|
|
16
|
+
body: JSON.stringify(payload),
|
|
17
|
+
});
|
|
18
|
+
if (!!response && !!response.ok) {
|
|
19
|
+
return await response.json();
|
|
20
|
+
}
|
|
21
|
+
else {
|
|
22
|
+
throw new Error(response.statusText);
|
|
23
|
+
}
|
|
24
|
+
};
|
|
25
|
+
const deleteRequest = async (url) => {
|
|
26
|
+
const response = await fetch(url, { method: "DELETE" });
|
|
27
|
+
if (!!response && !!response.ok) {
|
|
28
|
+
return await response.json();
|
|
29
|
+
}
|
|
30
|
+
else {
|
|
31
|
+
throw new Error(response.statusText);
|
|
32
|
+
}
|
|
33
|
+
};
|
|
34
|
+
const putRequest = (url, file, onProgress) => {
|
|
35
|
+
return new Promise((resolve, reject) => {
|
|
36
|
+
// there's no way to track progress with the fetch API, so using XHR
|
|
37
|
+
const req = new XMLHttpRequest();
|
|
38
|
+
req.upload.addEventListener("progress", (ev) => onProgress(ev));
|
|
39
|
+
req.addEventListener("readystatechange", function () {
|
|
40
|
+
if (this.readyState === 4 && this.status === 200) {
|
|
41
|
+
resolve(this);
|
|
42
|
+
}
|
|
43
|
+
else if (this.readyState === 4 && this.status !== 200) {
|
|
44
|
+
reject();
|
|
45
|
+
}
|
|
46
|
+
});
|
|
47
|
+
req.onerror = () => reject();
|
|
48
|
+
req.open("PUT", url, true);
|
|
49
|
+
req.setRequestHeader("Content-Disposition", `attachment;filename="${file.name}"`);
|
|
50
|
+
req.send(file);
|
|
51
|
+
});
|
|
52
52
|
};
|
|
53
53
|
|
|
54
54
|
exports.deleteRequest = deleteRequest;
|
|
@@ -369,7 +369,6 @@ const setAccessor = (elm, memberName, oldValue, newValue, isSvg, flags) => {
|
|
|
369
369
|
// Workaround for Safari, moving the <input> caret when re-assigning the same valued
|
|
370
370
|
if (memberName === 'list') {
|
|
371
371
|
isProp = false;
|
|
372
|
-
// tslint:disable-next-line: triple-equals
|
|
373
372
|
}
|
|
374
373
|
else if (oldValue == null || elm[memberName] != n) {
|
|
375
374
|
elm[memberName] = n;
|
|
@@ -914,6 +913,29 @@ const then = (promise, thenFn) => {
|
|
|
914
913
|
};
|
|
915
914
|
const addHydratedFlag = (elm) => elm.classList.add('hydrated')
|
|
916
915
|
;
|
|
916
|
+
/**
|
|
917
|
+
* Parse a new property value for a given property type.
|
|
918
|
+
*
|
|
919
|
+
* While the prop value can reasonably be expected to be of `any` type as far as TypeScript's type checker is concerned,
|
|
920
|
+
* it is not safe to assume that the string returned by evaluating `typeof propValue` matches:
|
|
921
|
+
* 1. `any`, the type given to `propValue` in the function signature
|
|
922
|
+
* 2. the type stored from `propType`.
|
|
923
|
+
*
|
|
924
|
+
* This function provides the capability to parse/coerce a property's value to potentially any other JavaScript type.
|
|
925
|
+
*
|
|
926
|
+
* Property values represented in TSX preserve their type information. In the example below, the number 0 is passed to
|
|
927
|
+
* a component. This `propValue` will preserve its type information (`typeof propValue === 'number'`). Note that is
|
|
928
|
+
* based on the type of the value being passed in, not the type declared of the class member decorated with `@Prop`.
|
|
929
|
+
* ```tsx
|
|
930
|
+
* <my-cmp prop-val={0}></my-cmp>
|
|
931
|
+
* ```
|
|
932
|
+
*
|
|
933
|
+
* HTML prop values on the other hand, will always a string
|
|
934
|
+
*
|
|
935
|
+
* @param propValue the new value to coerce to some type
|
|
936
|
+
* @param propType the type of the prop, expressed as a binary number
|
|
937
|
+
* @returns the parsed/coerced value
|
|
938
|
+
*/
|
|
917
939
|
const parsePropertyValue = (propValue, propType) => {
|
|
918
940
|
// ensure this value is of the correct prop type
|
|
919
941
|
if (propValue != null && !isComplexType(propValue)) {
|
|
@@ -947,7 +969,10 @@ const setValue = (ref, propName, newVal, cmpMeta) => {
|
|
|
947
969
|
const flags = hostRef.$flags$;
|
|
948
970
|
const instance = hostRef.$lazyInstance$ ;
|
|
949
971
|
newVal = parsePropertyValue(newVal, cmpMeta.$members$[propName][0]);
|
|
950
|
-
|
|
972
|
+
// explicitly check for NaN on both sides, as `NaN === NaN` is always false
|
|
973
|
+
const areBothNaN = Number.isNaN(oldVal) && Number.isNaN(newVal);
|
|
974
|
+
const didValueChange = newVal !== oldVal && !areBothNaN;
|
|
975
|
+
if ((!(flags & 8 /* isConstructingInstance */) || oldVal === undefined) && didValueChange) {
|
|
951
976
|
// gadzooks! the property's value has changed!!
|
|
952
977
|
// set our new value!
|
|
953
978
|
hostRef.$instanceValues$.set(propName, newVal);
|
|
@@ -1019,14 +1044,14 @@ const proxyComponent = (Cstr, cmpMeta, flags) => {
|
|
|
1019
1044
|
prototype.attributeChangedCallback = function (attrName, _oldValue, newValue) {
|
|
1020
1045
|
plt.jmp(() => {
|
|
1021
1046
|
const propName = attrNameToPropName.get(attrName);
|
|
1022
|
-
// In a
|
|
1047
|
+
// In a web component lifecycle the attributeChangedCallback runs prior to connectedCallback
|
|
1023
1048
|
// in the case where an attribute was set inline.
|
|
1024
1049
|
// ```html
|
|
1025
1050
|
// <my-component some-attribute="some-value"></my-component>
|
|
1026
1051
|
// ```
|
|
1027
1052
|
//
|
|
1028
|
-
// There is an edge case where a developer sets the attribute inline on a custom element and then
|
|
1029
|
-
// changes it before it has been upgraded as shown below:
|
|
1053
|
+
// There is an edge case where a developer sets the attribute inline on a custom element and then
|
|
1054
|
+
// programmatically changes it before it has been upgraded as shown below:
|
|
1030
1055
|
//
|
|
1031
1056
|
// ```html
|
|
1032
1057
|
// <!-- this component has _not_ been upgraded yet -->
|
|
@@ -1036,13 +1061,13 @@ const proxyComponent = (Cstr, cmpMeta, flags) => {
|
|
|
1036
1061
|
// el = document.querySelector("#test");
|
|
1037
1062
|
// el.someAttribute = "another-value";
|
|
1038
1063
|
// // upgrade component
|
|
1039
|
-
//
|
|
1064
|
+
// customElements.define('my-component', MyComponent);
|
|
1040
1065
|
// </script>
|
|
1041
1066
|
// ```
|
|
1042
1067
|
// In this case if we do not unshadow here and use the value of the shadowing property, attributeChangedCallback
|
|
1043
1068
|
// will be called with `newValue = "some-value"` and will set the shadowed property (this.someAttribute = "another-value")
|
|
1044
1069
|
// to the value that was set inline i.e. "some-value" from above example. When
|
|
1045
|
-
// the connectedCallback attempts to unshadow it will use "some-value" as the
|
|
1070
|
+
// the connectedCallback attempts to unshadow it will use "some-value" as the initial value rather than "another-value"
|
|
1046
1071
|
//
|
|
1047
1072
|
// The case where the attribute was NOT set inline but was not set programmatically shall be handled/unshadowed
|
|
1048
1073
|
// by connectedCallback as this attributeChangedCallback will not fire.
|
|
@@ -1056,6 +1081,14 @@ const proxyComponent = (Cstr, cmpMeta, flags) => {
|
|
|
1056
1081
|
newValue = this[propName];
|
|
1057
1082
|
delete this[propName];
|
|
1058
1083
|
}
|
|
1084
|
+
else if (prototype.hasOwnProperty(propName) &&
|
|
1085
|
+
typeof this[propName] === 'number' &&
|
|
1086
|
+
this[propName] == newValue) {
|
|
1087
|
+
// if the propName exists on the prototype of `Cstr`, this update may be a result of Stencil using native
|
|
1088
|
+
// APIs to reflect props as attributes. Calls to `setAttribute(someElement, propName)` will result in
|
|
1089
|
+
// `propName` to be converted to a `DOMString`, which may not be what we want for other primitive props.
|
|
1090
|
+
return;
|
|
1091
|
+
}
|
|
1059
1092
|
this[propName] = newValue === null && typeof this[propName] === 'boolean' ? false : newValue;
|
|
1060
1093
|
});
|
|
1061
1094
|
};
|
|
@@ -1141,7 +1174,7 @@ const initializeComponent = async (elm, hostRef, cmpMeta, hmrVersionId, Cstr) =>
|
|
|
1141
1174
|
const ancestorComponent = hostRef.$ancestorComponent$;
|
|
1142
1175
|
const schedule = () => scheduleUpdate(hostRef, true);
|
|
1143
1176
|
if (ancestorComponent && ancestorComponent['s-rc']) {
|
|
1144
|
-
// this is the
|
|
1177
|
+
// this is the initial load and this component it has an ancestor component
|
|
1145
1178
|
// but the ancestor component has NOT fired its will update lifecycle yet
|
|
1146
1179
|
// so let's just cool our jets and wait for the ancestor to continue first
|
|
1147
1180
|
// this will get fired off when the ancestor component
|
|
@@ -1224,71 +1257,73 @@ const bootstrapLazy = (lazyBundles, options = {}) => {
|
|
|
1224
1257
|
let isBootstrapping = true;
|
|
1225
1258
|
Object.assign(plt, options);
|
|
1226
1259
|
plt.$resourcesUrl$ = new URL(options.resourcesUrl || './', doc.baseURI).href;
|
|
1227
|
-
lazyBundles.map((lazyBundle) =>
|
|
1228
|
-
|
|
1229
|
-
|
|
1230
|
-
|
|
1231
|
-
|
|
1232
|
-
|
|
1233
|
-
|
|
1234
|
-
|
|
1235
|
-
|
|
1236
|
-
|
|
1237
|
-
|
|
1238
|
-
|
|
1239
|
-
|
|
1240
|
-
|
|
1241
|
-
|
|
1242
|
-
|
|
1243
|
-
|
|
1244
|
-
|
|
1245
|
-
|
|
1246
|
-
|
|
1247
|
-
|
|
1248
|
-
|
|
1249
|
-
|
|
1250
|
-
|
|
1251
|
-
|
|
1252
|
-
|
|
1253
|
-
|
|
1254
|
-
|
|
1255
|
-
|
|
1256
|
-
|
|
1257
|
-
|
|
1258
|
-
|
|
1259
|
-
|
|
1260
|
+
lazyBundles.map((lazyBundle) => {
|
|
1261
|
+
lazyBundle[1].map((compactMeta) => {
|
|
1262
|
+
const cmpMeta = {
|
|
1263
|
+
$flags$: compactMeta[0],
|
|
1264
|
+
$tagName$: compactMeta[1],
|
|
1265
|
+
$members$: compactMeta[2],
|
|
1266
|
+
$listeners$: compactMeta[3],
|
|
1267
|
+
};
|
|
1268
|
+
{
|
|
1269
|
+
cmpMeta.$members$ = compactMeta[2];
|
|
1270
|
+
}
|
|
1271
|
+
{
|
|
1272
|
+
cmpMeta.$listeners$ = compactMeta[3];
|
|
1273
|
+
}
|
|
1274
|
+
{
|
|
1275
|
+
cmpMeta.$attrsToReflect$ = [];
|
|
1276
|
+
}
|
|
1277
|
+
{
|
|
1278
|
+
cmpMeta.$watchers$ = {};
|
|
1279
|
+
}
|
|
1280
|
+
const tagName = cmpMeta.$tagName$;
|
|
1281
|
+
const HostElement = class extends HTMLElement {
|
|
1282
|
+
// StencilLazyHost
|
|
1283
|
+
constructor(self) {
|
|
1284
|
+
// @ts-ignore
|
|
1285
|
+
super(self);
|
|
1286
|
+
self = this;
|
|
1287
|
+
registerHost(self, cmpMeta);
|
|
1288
|
+
if (cmpMeta.$flags$ & 1 /* shadowDomEncapsulation */) {
|
|
1289
|
+
// this component is using shadow dom
|
|
1290
|
+
// and this browser supports shadow dom
|
|
1291
|
+
// add the read-only property "shadowRoot" to the host element
|
|
1292
|
+
// adding the shadow root build conditionals to minimize runtime
|
|
1260
1293
|
{
|
|
1261
|
-
|
|
1294
|
+
{
|
|
1295
|
+
self.attachShadow({ mode: 'open' });
|
|
1296
|
+
}
|
|
1262
1297
|
}
|
|
1263
1298
|
}
|
|
1264
1299
|
}
|
|
1265
|
-
|
|
1266
|
-
|
|
1267
|
-
|
|
1268
|
-
|
|
1269
|
-
|
|
1300
|
+
connectedCallback() {
|
|
1301
|
+
if (appLoadFallback) {
|
|
1302
|
+
clearTimeout(appLoadFallback);
|
|
1303
|
+
appLoadFallback = null;
|
|
1304
|
+
}
|
|
1305
|
+
if (isBootstrapping) {
|
|
1306
|
+
// connectedCallback will be processed once all components have been registered
|
|
1307
|
+
deferredConnectedCallbacks.push(this);
|
|
1308
|
+
}
|
|
1309
|
+
else {
|
|
1310
|
+
plt.jmp(() => connectedCallback(this));
|
|
1311
|
+
}
|
|
1270
1312
|
}
|
|
1271
|
-
|
|
1272
|
-
|
|
1273
|
-
deferredConnectedCallbacks.push(this);
|
|
1313
|
+
disconnectedCallback() {
|
|
1314
|
+
plt.jmp(() => disconnectedCallback(this));
|
|
1274
1315
|
}
|
|
1275
|
-
|
|
1276
|
-
|
|
1316
|
+
componentOnReady() {
|
|
1317
|
+
return getHostRef(this).$onReadyPromise$;
|
|
1277
1318
|
}
|
|
1319
|
+
};
|
|
1320
|
+
cmpMeta.$lazyBundleId$ = lazyBundle[0];
|
|
1321
|
+
if (!exclude.includes(tagName) && !customElements.get(tagName)) {
|
|
1322
|
+
cmpTags.push(tagName);
|
|
1323
|
+
customElements.define(tagName, proxyComponent(HostElement, cmpMeta, 1 /* isElementConstructor */));
|
|
1278
1324
|
}
|
|
1279
|
-
|
|
1280
|
-
|
|
1281
|
-
}
|
|
1282
|
-
componentOnReady() {
|
|
1283
|
-
return getHostRef(this).$onReadyPromise$;
|
|
1284
|
-
}
|
|
1285
|
-
};
|
|
1286
|
-
cmpMeta.$lazyBundleId$ = lazyBundle[0];
|
|
1287
|
-
if (!exclude.includes(tagName) && !customElements.get(tagName)) {
|
|
1288
|
-
cmpTags.push(tagName);
|
|
1289
|
-
customElements.define(tagName, proxyComponent(HostElement, cmpMeta, 1 /* isElementConstructor */));
|
|
1290
|
-
}
|
|
1291
|
-
}));
|
|
1325
|
+
});
|
|
1326
|
+
});
|
|
1292
1327
|
{
|
|
1293
1328
|
visibilityStyle.innerHTML = cmpTags + HYDRATED_CSS;
|
|
1294
1329
|
visibilityStyle.setAttribute('data-styles', '');
|
|
@@ -1,34 +1,34 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
//List of icon codes with more indicative descriptors to create labels for icon-only buttons
|
|
4
|
-
function getIconCodeFromName(icon) {
|
|
5
|
-
return iconCodes[icon] || icon;
|
|
6
|
-
}
|
|
7
|
-
const iconCodes = {
|
|
8
|
-
close: "f156",
|
|
9
|
-
pencil: "f3eb",
|
|
10
|
-
cancel: "f739",
|
|
11
|
-
check: "f12c",
|
|
12
|
-
delete: "f1c0",
|
|
13
|
-
magnify: "f349",
|
|
14
|
-
export: "f207",
|
|
15
|
-
"dots-vertical": "f1d9",
|
|
16
|
-
"arrow-left": "f04d",
|
|
17
|
-
"arrow-right": "f054",
|
|
18
|
-
"chevron-left": "f141",
|
|
19
|
-
"chevron-right": "f142",
|
|
20
|
-
"menu-left": "f35e",
|
|
21
|
-
"menu-down": "f35d",
|
|
22
|
-
"keyboard-backspace": "f30d",
|
|
23
|
-
"file-tree": "f645",
|
|
24
|
-
"sort-alphabetical": "f4bb",
|
|
25
|
-
"checkbox-marked-circle": "f133",
|
|
26
|
-
"account-settings": "f630",
|
|
27
|
-
"backup-restore": "f06f",
|
|
28
|
-
};
|
|
29
|
-
const defaultMode = "planning";
|
|
30
|
-
const getWmMode = (ref) => {
|
|
31
|
-
return ref.getAttribute("mode") || document.documentElement.getAttribute("mode") || defaultMode;
|
|
3
|
+
//List of icon codes with more indicative descriptors to create labels for icon-only buttons
|
|
4
|
+
function getIconCodeFromName(icon) {
|
|
5
|
+
return iconCodes[icon] || icon;
|
|
6
|
+
}
|
|
7
|
+
const iconCodes = {
|
|
8
|
+
close: "f156",
|
|
9
|
+
pencil: "f3eb",
|
|
10
|
+
cancel: "f739",
|
|
11
|
+
check: "f12c",
|
|
12
|
+
delete: "f1c0",
|
|
13
|
+
magnify: "f349",
|
|
14
|
+
export: "f207",
|
|
15
|
+
"dots-vertical": "f1d9",
|
|
16
|
+
"arrow-left": "f04d",
|
|
17
|
+
"arrow-right": "f054",
|
|
18
|
+
"chevron-left": "f141",
|
|
19
|
+
"chevron-right": "f142",
|
|
20
|
+
"menu-left": "f35e",
|
|
21
|
+
"menu-down": "f35d",
|
|
22
|
+
"keyboard-backspace": "f30d",
|
|
23
|
+
"file-tree": "f645",
|
|
24
|
+
"sort-alphabetical": "f4bb",
|
|
25
|
+
"checkbox-marked-circle": "f133",
|
|
26
|
+
"account-settings": "f630",
|
|
27
|
+
"backup-restore": "f06f",
|
|
28
|
+
};
|
|
29
|
+
const defaultMode = "planning";
|
|
30
|
+
const getWmMode = (ref) => {
|
|
31
|
+
return ref.getAttribute("mode") || document.documentElement.getAttribute("mode") || defaultMode;
|
|
32
32
|
};
|
|
33
33
|
|
|
34
34
|
exports.getIconCodeFromName = getIconCodeFromName;
|