@watermarkinsights/ripple 3.8.0-4 → 3.8.0-5
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-1f0edc61.js → functions-83193a8d.js} +506 -532
- package/dist/cjs/{global-80d74e31.js → global-2f521eb7.js} +65 -65
- package/dist/cjs/{http-service-9e8c4dd5.js → http-service-494d81de.js} +49 -49
- package/dist/cjs/{index-0e7e3668.js → index-cd179539.js} +64 -96
- package/dist/cjs/{interfaces-30a74c1f.js → interfaces-a3338581.js} +29 -29
- package/dist/cjs/loader.cjs.js +3 -3
- package/dist/cjs/priv-chart-popover.cjs.entry.js +79 -79
- package/dist/cjs/priv-datepicker.cjs.entry.js +674 -674
- 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 +3 -3
- 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 +475 -475
- package/dist/cjs/wm-datepicker.cjs.entry.js +273 -273
- 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 +220 -220
- package/dist/cjs/wm-navigator.cjs.entry.js +269 -269
- package/dist/cjs/wm-network-uploader.cjs.entry.js +422 -422
- package/dist/cjs/wm-option_2.cjs.entry.js +497 -497
- package/dist/cjs/wm-pagination.cjs.entry.js +168 -168
- 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 +348 -348
- package/dist/cjs/wm-wrapper.cjs.entry.js +13 -13
- package/dist/collection/collection-manifest.json +2 -2
- package/dist/collection/components/wm-action-menu/wm-action-menu.js +460 -460
- package/dist/collection/components/wm-button/wm-button.css +6 -1
- package/dist/collection/components/wm-button/wm-button.js +491 -491
- 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 +115 -115
- package/dist/collection/components/wm-chart/wm-chart.js +718 -718
- package/dist/collection/components/wm-datepicker/priv-datepicker/priv-datepicker.css +4 -3
- package/dist/collection/components/wm-datepicker/priv-datepicker/priv-datepicker.js +1039 -1039
- package/dist/collection/components/wm-datepicker/wm-datepicker.css +2 -1
- package/dist/collection/components/wm-datepicker/wm-datepicker.js +483 -483
- package/dist/collection/components/wm-input/wm-input.css +2 -1
- 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 +2 -1
- package/dist/collection/components/wm-navigation/wm-navigation-hamburger.js +152 -152
- package/dist/collection/components/wm-navigation/wm-navigation-item.js +105 -105
- package/dist/collection/components/wm-navigation/wm-navigation.js +193 -193
- 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 +3 -2
- 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 -480
- package/dist/collection/components/wm-select/wm-select.css +3 -2
- package/dist/collection/components/wm-select/wm-select.js +720 -720
- package/dist/collection/components/wm-snackbar/wm-snackbar.css +3 -2
- 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 +3 -2
- package/dist/collection/components/wm-tag-input/wm-tag-input.js +810 -810
- package/dist/collection/components/wm-timepicker/wm-timepicker.css +3 -2
- package/dist/collection/components/wm-timepicker/wm-timepicker.js +583 -583
- package/dist/collection/components/wm-toggletip/wm-toggletip.css +2 -1
- package/dist/collection/components/wm-toggletip/wm-toggletip.js +241 -241
- package/dist/collection/components/wm-uploader/wm-network-uploader/wm-network-uploader.css +2 -1
- package/dist/collection/components/wm-uploader/wm-network-uploader/wm-network-uploader.js +753 -753
- package/dist/collection/components/wm-uploader/wm-uploader.css +2 -1
- 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 +468 -468
- 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-b130b95f.js → functions-7eebdc16.js} +506 -532
- package/dist/esm/{global-22a1aa43.js → global-0dc2eb57.js} +65 -65
- package/dist/esm/{http-service-5d037e16.js → http-service-3dc3b3e7.js} +49 -49
- package/dist/esm/{index-cd8f9ae2.js → index-66f8130e.js} +64 -96
- package/dist/esm/{interfaces-61c6305b.js → interfaces-2b97fab2.js} +29 -29
- package/dist/esm/loader.js +3 -3
- 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 +79 -79
- package/dist/esm/priv-datepicker.entry.js +674 -674
- 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 +3 -3
- 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 +475 -475
- package/dist/esm/wm-datepicker.entry.js +273 -273
- 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 +220 -220
- package/dist/esm/wm-navigator.entry.js +269 -269
- package/dist/esm/wm-network-uploader.entry.js +422 -422
- package/dist/esm/wm-option_2.entry.js +497 -497
- package/dist/esm/wm-pagination.entry.js +168 -168
- 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 +348 -348
- package/dist/esm/wm-wrapper.entry.js +13 -13
- package/dist/esm-es5/functions-7eebdc16.js +15 -0
- package/dist/esm-es5/{global-22a1aa43.js → global-0dc2eb57.js} +1 -1
- package/dist/esm-es5/{http-service-5d037e16.js → http-service-3dc3b3e7.js} +1 -1
- package/dist/esm-es5/index-66f8130e.js +1 -0
- package/dist/esm-es5/{interfaces-61c6305b.js → interfaces-2b97fab2.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-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 +1 -0
- package/dist/ripple/{p-880d231c.system.js → p-00e0bf57.system.js} +1 -1
- package/dist/ripple/p-061a0f47.entry.js +1 -0
- package/dist/ripple/p-0b345e33.system.entry.js +1 -0
- package/dist/ripple/p-0b746618.entry.js +1 -0
- package/dist/ripple/p-0c58f50d.entry.js +1 -0
- package/dist/ripple/p-0d8bd4ee.entry.js +1 -0
- package/dist/ripple/p-0f8d7b58.system.entry.js +1 -0
- package/dist/ripple/p-119a14c1.entry.js +1 -0
- package/dist/ripple/{p-26d5f144.system.js → p-149db379.system.js} +1 -1
- package/dist/ripple/{p-040262af.system.entry.js → p-18af6ca6.system.entry.js} +1 -1
- package/dist/ripple/{p-12bd075c.system.entry.js → p-1ec7130b.system.entry.js} +1 -1
- package/dist/ripple/{p-c19298a5.system.entry.js → p-261ea633.system.entry.js} +1 -1
- package/dist/ripple/{p-9a9743f5.system.entry.js → p-2d49a016.system.entry.js} +1 -1
- package/dist/ripple/p-312f22ca.entry.js +1 -0
- package/dist/ripple/p-37907055.entry.js +1 -0
- package/dist/ripple/p-3c592c3b.entry.js +1 -0
- package/dist/ripple/{p-888bec42.js → p-43f1298b.js} +0 -0
- package/dist/ripple/p-48b385e6.entry.js +1 -0
- package/dist/ripple/p-501404ff.entry.js +1 -0
- package/dist/ripple/p-593e891e.entry.js +1 -0
- package/dist/ripple/p-5a08d74b.entry.js +1 -0
- package/dist/ripple/p-5a87e7d6.entry.js +1 -0
- package/dist/ripple/p-62a0f6a4.system.entry.js +1 -0
- package/dist/ripple/{p-e2398de1.js → p-6b6643f9.js} +1 -1
- package/dist/ripple/p-7093d32b.entry.js +1 -0
- package/dist/ripple/p-716fd2fa.system.entry.js +1 -0
- package/dist/ripple/{p-450d329a.system.entry.js → p-71bb4f49.system.entry.js} +1 -1
- package/dist/ripple/{p-e758db14.system.entry.js → p-7a9aac92.system.entry.js} +1 -1
- package/dist/ripple/{p-504579c2.system.entry.js → p-7bc744bf.system.entry.js} +1 -1
- package/dist/ripple/p-7fc8d607.system.entry.js +1 -0
- package/dist/ripple/p-820a1198.entry.js +1 -0
- package/dist/ripple/p-8b0eb05e.entry.js +1 -0
- package/dist/ripple/p-8bc0b663.system.entry.js +1 -0
- package/dist/ripple/p-99548d58.system.js +1 -0
- package/dist/ripple/p-99db8501.entry.js +1 -0
- package/dist/ripple/p-9b8f993d.entry.js +1 -0
- package/dist/ripple/p-9baa3039.js +1 -0
- package/dist/ripple/p-9d02957d.system.js +1 -0
- package/dist/ripple/p-a59094c9.system.entry.js +1 -0
- package/dist/ripple/p-a59713ca.entry.js +1 -0
- package/dist/ripple/p-a7e0ab85.entry.js +1 -0
- package/dist/ripple/{p-a5177480.system.entry.js → p-b3ce2033.system.entry.js} +1 -1
- package/dist/ripple/{p-6b8753b3.system.entry.js → p-bb31d263.system.entry.js} +1 -1
- package/dist/ripple/p-c34de6f3.system.entry.js +1 -0
- package/dist/ripple/p-c3615fa0.system.entry.js +1 -0
- package/dist/ripple/p-c45caf33.system.entry.js +1 -0
- package/dist/ripple/{p-6eed4845.system.entry.js → p-c652f945.system.entry.js} +1 -1
- package/dist/ripple/p-c68975d3.entry.js +1 -0
- package/dist/ripple/p-ca21ca3a.js +16 -0
- package/dist/ripple/p-cb283dba.system.entry.js +1 -0
- package/dist/ripple/p-ceabb993.entry.js +1 -0
- package/dist/ripple/p-d044fcf4.system.js +15 -0
- package/dist/ripple/p-d0643c9b.entry.js +1 -0
- package/dist/ripple/p-de09f545.system.entry.js +1 -0
- package/dist/ripple/{p-db4f099c.system.entry.js → p-dea73ebd.system.entry.js} +1 -1
- package/dist/ripple/p-e639b06c.system.entry.js +1 -0
- package/dist/ripple/{p-eb63bbcb.system.entry.js → p-eb0c2d8f.system.entry.js} +1 -1
- package/dist/ripple/p-f4fcd826.entry.js +1 -0
- package/dist/ripple/{p-08b7ec08.system.js → p-f5df5903.system.js} +0 -0
- package/dist/ripple/{p-08987f25.system.entry.js → p-f781014a.system.entry.js} +1 -1
- package/dist/ripple/p-f927e5da.entry.js +1 -0
- package/dist/ripple/{p-a6d6eae7.js → p-fd8070fb.js} +0 -0
- package/dist/ripple/p-ffc746cb.entry.js +1 -0
- package/dist/ripple/ripple.esm.js +1 -1
- package/dist/ripple/ripple.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 +43 -43
- 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 +11 -11
- package/dist/types/components/wm-chart/wm-chart.d.ts +82 -82
- package/dist/types/components/wm-datepicker/priv-datepicker/priv-datepicker.d.ts +80 -80
- package/dist/types/components/wm-datepicker/wm-datepicker.d.ts +42 -42
- 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 +20 -20
- package/dist/types/components/wm-navigation/wm-navigation-item.d.ts +11 -11
- package/dist/types/components/wm-navigation/wm-navigation.d.ts +28 -28
- 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 +42 -42
- 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/dist/types/stencil-public-runtime.d.ts +4 -6
- package/package.json +47 -47
- package/dist/esm-es5/functions-b130b95f.js +0 -15
- package/dist/esm-es5/index-cd8f9ae2.js +0 -1
- package/dist/ripple/p-08f8a387.system.js +0 -15
- package/dist/ripple/p-11e94b56.system.entry.js +0 -1
- package/dist/ripple/p-16b81b95.system.entry.js +0 -1
- package/dist/ripple/p-1aa63d75.entry.js +0 -1
- package/dist/ripple/p-1bc95574.system.entry.js +0 -1
- package/dist/ripple/p-20856a2d.system.js +0 -1
- package/dist/ripple/p-244877c8.entry.js +0 -1
- package/dist/ripple/p-28c23453.system.entry.js +0 -1
- package/dist/ripple/p-313b6073.system.js +0 -1
- package/dist/ripple/p-38062c39.js +0 -1
- package/dist/ripple/p-3ba3afca.entry.js +0 -1
- package/dist/ripple/p-3faf2b4d.entry.js +0 -1
- package/dist/ripple/p-4372e470.entry.js +0 -1
- package/dist/ripple/p-4be373bc.entry.js +0 -1
- package/dist/ripple/p-5345ef2c.entry.js +0 -1
- package/dist/ripple/p-5866f8c0.entry.js +0 -1
- package/dist/ripple/p-64176f58.entry.js +0 -1
- package/dist/ripple/p-6aa11b0c.system.entry.js +0 -1
- package/dist/ripple/p-6c1a8429.system.entry.js +0 -1
- package/dist/ripple/p-764fa608.entry.js +0 -1
- package/dist/ripple/p-7e118839.entry.js +0 -1
- package/dist/ripple/p-8a0450fd.entry.js +0 -1
- package/dist/ripple/p-8dd28361.entry.js +0 -1
- package/dist/ripple/p-91e122c6.entry.js +0 -1
- package/dist/ripple/p-97909b0f.entry.js +0 -1
- package/dist/ripple/p-a6cc08a5.system.entry.js +0 -1
- package/dist/ripple/p-a8584619.system.entry.js +0 -1
- package/dist/ripple/p-a9dd6fe1.entry.js +0 -1
- package/dist/ripple/p-add208d8.entry.js +0 -1
- package/dist/ripple/p-b3568fc3.system.entry.js +0 -1
- package/dist/ripple/p-b635fdfe.system.entry.js +0 -1
- package/dist/ripple/p-bfef8d9c.entry.js +0 -1
- package/dist/ripple/p-c0fd9e19.system.entry.js +0 -1
- package/dist/ripple/p-ce80b46d.entry.js +0 -1
- package/dist/ripple/p-d0ab4cf2.entry.js +0 -1
- package/dist/ripple/p-d0d3421d.system.entry.js +0 -1
- package/dist/ripple/p-d43a4e01.entry.js +0 -1
- package/dist/ripple/p-d4e46468.entry.js +0 -1
- package/dist/ripple/p-ddf5044a.entry.js +0 -1
- package/dist/ripple/p-e03a7b17.entry.js +0 -1
- package/dist/ripple/p-ea22b946.js +0 -16
- package/dist/ripple/p-ef344252.entry.js +0 -1
- package/dist/ripple/p-f44803ff.system.entry.js +0 -1
- package/dist/ripple/p-fa35e47b.entry.js +0 -1
|
@@ -1,69 +1,69 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
const version = "3.8.0-
|
|
3
|
+
const version = "3.8.0-5";
|
|
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
|
-
var key = ev.key || ev.keyCode;
|
|
15
|
-
if (key == "Tab" || key === 9) {
|
|
16
|
-
var event = new Event("wmUserIsTabbing");
|
|
17
|
-
window.dispatchEvent(event);
|
|
18
|
-
document.querySelector("body").classList.add("wmcl-user-is-tabbing");
|
|
19
|
-
}
|
|
20
|
-
if (key == "ArrowLeft" ||
|
|
21
|
-
key === 37 ||
|
|
22
|
-
key == "ArrowUp" ||
|
|
23
|
-
key === 38 ||
|
|
24
|
-
key == "ArrowRight" ||
|
|
25
|
-
key === 39 ||
|
|
26
|
-
key == "ArrowDown" ||
|
|
27
|
-
key === 40) {
|
|
28
|
-
var event = new Event("wmUserIsKeying");
|
|
29
|
-
window.dispatchEvent(event);
|
|
30
|
-
document.querySelector("body").classList.add("wmcl-user-is-keying");
|
|
31
|
-
}
|
|
32
|
-
}
|
|
33
|
-
function wmComponentMouseDownOnce() {
|
|
34
|
-
var event = new Event("wmUserIsNotTabbing");
|
|
35
|
-
window.dispatchEvent(event);
|
|
36
|
-
document.querySelector("body").classList.remove("wmcl-user-is-tabbing");
|
|
37
|
-
document.querySelector("body").classList.remove("wmcl-user-is-keying");
|
|
38
|
-
}
|
|
39
|
-
window.addEventListener("keydown", wmComponentKeys);
|
|
40
|
-
window.addEventListener("mousedown", wmComponentMouseDownOnce);
|
|
41
|
-
// TOOLTIP
|
|
42
|
-
// Add a tooltip element
|
|
43
|
-
// This allows tooltips to be always at the highest stacking context (always on top)
|
|
44
|
-
// Element is added withing a container to avoid performance impact
|
|
45
|
-
const tooltipContainer = document.createElement("div");
|
|
46
|
-
tooltipContainer.id = "wm-tooltip-container";
|
|
47
|
-
const tooltipEl = document.createElement("div");
|
|
48
|
-
tooltipEl.id = "wm-tooltip";
|
|
49
|
-
tooltipEl.setAttribute("aria-hidden", "true");
|
|
50
|
-
tooltipEl.style.position = "fixed";
|
|
51
|
-
tooltipEl.style.overflow = "hidden";
|
|
52
|
-
tooltipEl.style.pointerEvents = "none";
|
|
53
|
-
tooltipEl.style.lineHeight = "normal";
|
|
54
|
-
tooltipEl.style.fontFamily = "inherit";
|
|
55
|
-
tooltipEl.style.fontSize = "0.875rem";
|
|
56
|
-
tooltipEl.style.textTransform = "none";
|
|
57
|
-
tooltipEl.style.fontWeight = "normal";
|
|
58
|
-
tooltipEl.style.background = "black";
|
|
59
|
-
tooltipEl.style.color = "#fff";
|
|
60
|
-
tooltipEl.style.zIndex = "999999";
|
|
61
|
-
tooltipEl.style.maxWidth = "13.75rem";
|
|
62
|
-
tooltipEl.style.marginRight = "1.5rem";
|
|
63
|
-
tooltipEl.style.padding = "0.375rem";
|
|
64
|
-
tooltipEl.style.transitionProperty = "opacity";
|
|
65
|
-
tooltipEl.style.transitionDelay = "opacity";
|
|
66
|
-
tooltipEl.style.opacity = "0";
|
|
67
|
-
tooltipContainer.appendChild(tooltipEl);
|
|
68
|
-
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
|
+
var key = ev.key || ev.keyCode;
|
|
15
|
+
if (key == "Tab" || key === 9) {
|
|
16
|
+
var event = new Event("wmUserIsTabbing");
|
|
17
|
+
window.dispatchEvent(event);
|
|
18
|
+
document.querySelector("body").classList.add("wmcl-user-is-tabbing");
|
|
19
|
+
}
|
|
20
|
+
if (key == "ArrowLeft" ||
|
|
21
|
+
key === 37 ||
|
|
22
|
+
key == "ArrowUp" ||
|
|
23
|
+
key === 38 ||
|
|
24
|
+
key == "ArrowRight" ||
|
|
25
|
+
key === 39 ||
|
|
26
|
+
key == "ArrowDown" ||
|
|
27
|
+
key === 40) {
|
|
28
|
+
var event = new Event("wmUserIsKeying");
|
|
29
|
+
window.dispatchEvent(event);
|
|
30
|
+
document.querySelector("body").classList.add("wmcl-user-is-keying");
|
|
31
|
+
}
|
|
32
|
+
}
|
|
33
|
+
function wmComponentMouseDownOnce() {
|
|
34
|
+
var event = new Event("wmUserIsNotTabbing");
|
|
35
|
+
window.dispatchEvent(event);
|
|
36
|
+
document.querySelector("body").classList.remove("wmcl-user-is-tabbing");
|
|
37
|
+
document.querySelector("body").classList.remove("wmcl-user-is-keying");
|
|
38
|
+
}
|
|
39
|
+
window.addEventListener("keydown", wmComponentKeys);
|
|
40
|
+
window.addEventListener("mousedown", wmComponentMouseDownOnce);
|
|
41
|
+
// TOOLTIP
|
|
42
|
+
// Add a tooltip element
|
|
43
|
+
// This allows tooltips to be always at the highest stacking context (always on top)
|
|
44
|
+
// Element is added withing a container to avoid performance impact
|
|
45
|
+
const tooltipContainer = document.createElement("div");
|
|
46
|
+
tooltipContainer.id = "wm-tooltip-container";
|
|
47
|
+
const tooltipEl = document.createElement("div");
|
|
48
|
+
tooltipEl.id = "wm-tooltip";
|
|
49
|
+
tooltipEl.setAttribute("aria-hidden", "true");
|
|
50
|
+
tooltipEl.style.position = "fixed";
|
|
51
|
+
tooltipEl.style.overflow = "hidden";
|
|
52
|
+
tooltipEl.style.pointerEvents = "none";
|
|
53
|
+
tooltipEl.style.lineHeight = "normal";
|
|
54
|
+
tooltipEl.style.fontFamily = "inherit";
|
|
55
|
+
tooltipEl.style.fontSize = "0.875rem";
|
|
56
|
+
tooltipEl.style.textTransform = "none";
|
|
57
|
+
tooltipEl.style.fontWeight = "normal";
|
|
58
|
+
tooltipEl.style.background = "black";
|
|
59
|
+
tooltipEl.style.color = "#fff";
|
|
60
|
+
tooltipEl.style.zIndex = "999999";
|
|
61
|
+
tooltipEl.style.maxWidth = "13.75rem";
|
|
62
|
+
tooltipEl.style.marginRight = "1.5rem";
|
|
63
|
+
tooltipEl.style.padding = "0.375rem";
|
|
64
|
+
tooltipEl.style.transitionProperty = "opacity";
|
|
65
|
+
tooltipEl.style.transitionDelay = "opacity";
|
|
66
|
+
tooltipEl.style.opacity = "0";
|
|
67
|
+
tooltipContainer.appendChild(tooltipEl);
|
|
68
|
+
const body = document.querySelector("body");
|
|
69
69
|
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,6 +369,7 @@ 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
|
|
372
373
|
}
|
|
373
374
|
else if (oldValue == null || elm[memberName] != n) {
|
|
374
375
|
elm[memberName] = n;
|
|
@@ -908,29 +909,6 @@ const then = (promise, thenFn) => {
|
|
|
908
909
|
};
|
|
909
910
|
const addHydratedFlag = (elm) => elm.classList.add('hydrated')
|
|
910
911
|
;
|
|
911
|
-
/**
|
|
912
|
-
* Parse a new property value for a given property type.
|
|
913
|
-
*
|
|
914
|
-
* While the prop value can reasonably be expected to be of `any` type as far as TypeScript's type checker is concerned,
|
|
915
|
-
* it is not safe to assume that the string returned by evaluating `typeof propValue` matches:
|
|
916
|
-
* 1. `any`, the type given to `propValue` in the function signature
|
|
917
|
-
* 2. the type stored from `propType`.
|
|
918
|
-
*
|
|
919
|
-
* This function provides the capability to parse/coerce a property's value to potentially any other JavaScript type.
|
|
920
|
-
*
|
|
921
|
-
* Property values represented in TSX preserve their type information. In the example below, the number 0 is passed to
|
|
922
|
-
* a component. This `propValue` will preserve its type information (`typeof propValue === 'number'`). Note that is
|
|
923
|
-
* based on the type of the value being passed in, not the type declared of the class member decorated with `@Prop`.
|
|
924
|
-
* ```tsx
|
|
925
|
-
* <my-cmp prop-val={0}></my-cmp>
|
|
926
|
-
* ```
|
|
927
|
-
*
|
|
928
|
-
* HTML prop values on the other hand, will always a string
|
|
929
|
-
*
|
|
930
|
-
* @param propValue the new value to coerce to some type
|
|
931
|
-
* @param propType the type of the prop, expressed as a binary number
|
|
932
|
-
* @returns the parsed/coerced value
|
|
933
|
-
*/
|
|
934
912
|
const parsePropertyValue = (propValue, propType) => {
|
|
935
913
|
// ensure this value is of the correct prop type
|
|
936
914
|
if (propValue != null && !isComplexType(propValue)) {
|
|
@@ -1036,14 +1014,14 @@ const proxyComponent = (Cstr, cmpMeta, flags) => {
|
|
|
1036
1014
|
prototype.attributeChangedCallback = function (attrName, _oldValue, newValue) {
|
|
1037
1015
|
plt.jmp(() => {
|
|
1038
1016
|
const propName = attrNameToPropName.get(attrName);
|
|
1039
|
-
// In a
|
|
1017
|
+
// In a webcomponent lifecyle the attributeChangedCallback runs prior to connectedCallback
|
|
1040
1018
|
// in the case where an attribute was set inline.
|
|
1041
1019
|
// ```html
|
|
1042
1020
|
// <my-component some-attribute="some-value"></my-component>
|
|
1043
1021
|
// ```
|
|
1044
1022
|
//
|
|
1045
|
-
// There is an edge case where a developer sets the attribute inline on a custom element and then
|
|
1046
|
-
//
|
|
1023
|
+
// There is an edge case where a developer sets the attribute inline on a custom element and then programatically
|
|
1024
|
+
// changes it before it has been upgraded as shown below:
|
|
1047
1025
|
//
|
|
1048
1026
|
// ```html
|
|
1049
1027
|
// <!-- this component has _not_ been upgraded yet -->
|
|
@@ -1053,13 +1031,13 @@ const proxyComponent = (Cstr, cmpMeta, flags) => {
|
|
|
1053
1031
|
// el = document.querySelector("#test");
|
|
1054
1032
|
// el.someAttribute = "another-value";
|
|
1055
1033
|
// // upgrade component
|
|
1056
|
-
//
|
|
1034
|
+
// cutsomElements.define('my-component', MyComponent);
|
|
1057
1035
|
// </script>
|
|
1058
1036
|
// ```
|
|
1059
1037
|
// In this case if we do not unshadow here and use the value of the shadowing property, attributeChangedCallback
|
|
1060
1038
|
// will be called with `newValue = "some-value"` and will set the shadowed property (this.someAttribute = "another-value")
|
|
1061
1039
|
// to the value that was set inline i.e. "some-value" from above example. When
|
|
1062
|
-
// the connectedCallback attempts to unshadow it will use "some-value" as the
|
|
1040
|
+
// the connectedCallback attempts to unshadow it will use "some-value" as the intial value rather than "another-value"
|
|
1063
1041
|
//
|
|
1064
1042
|
// The case where the attribute was NOT set inline but was not set programmatically shall be handled/unshadowed
|
|
1065
1043
|
// by connectedCallback as this attributeChangedCallback will not fire.
|
|
@@ -1073,14 +1051,6 @@ const proxyComponent = (Cstr, cmpMeta, flags) => {
|
|
|
1073
1051
|
newValue = this[propName];
|
|
1074
1052
|
delete this[propName];
|
|
1075
1053
|
}
|
|
1076
|
-
else if (prototype.hasOwnProperty(propName) &&
|
|
1077
|
-
typeof this[propName] === 'number' &&
|
|
1078
|
-
this[propName] == newValue) {
|
|
1079
|
-
// if the propName exists on the prototype of `Cstr`, this update may be a result of Stencil using native
|
|
1080
|
-
// APIs to reflect props as attributes. Calls to `setAttribute(someElement, propName)` will result in
|
|
1081
|
-
// `propName` to be converted to a `DOMString`, which may not be what we want for other primitive props.
|
|
1082
|
-
return;
|
|
1083
|
-
}
|
|
1084
1054
|
this[propName] = newValue === null && typeof this[propName] === 'boolean' ? false : newValue;
|
|
1085
1055
|
});
|
|
1086
1056
|
};
|
|
@@ -1166,7 +1136,7 @@ const initializeComponent = async (elm, hostRef, cmpMeta, hmrVersionId, Cstr) =>
|
|
|
1166
1136
|
const ancestorComponent = hostRef.$ancestorComponent$;
|
|
1167
1137
|
const schedule = () => scheduleUpdate(hostRef, true);
|
|
1168
1138
|
if (ancestorComponent && ancestorComponent['s-rc']) {
|
|
1169
|
-
// this is the
|
|
1139
|
+
// this is the intial load and this component it has an ancestor component
|
|
1170
1140
|
// but the ancestor component has NOT fired its will update lifecycle yet
|
|
1171
1141
|
// so let's just cool our jets and wait for the ancestor to continue first
|
|
1172
1142
|
// this will get fired off when the ancestor component
|
|
@@ -1249,73 +1219,71 @@ const bootstrapLazy = (lazyBundles, options = {}) => {
|
|
|
1249
1219
|
let isBootstrapping = true;
|
|
1250
1220
|
Object.assign(plt, options);
|
|
1251
1221
|
plt.$resourcesUrl$ = new URL(options.resourcesUrl || './', doc.baseURI).href;
|
|
1252
|
-
lazyBundles.map((lazyBundle) => {
|
|
1253
|
-
|
|
1254
|
-
|
|
1255
|
-
|
|
1256
|
-
|
|
1257
|
-
|
|
1258
|
-
|
|
1259
|
-
|
|
1260
|
-
|
|
1261
|
-
|
|
1262
|
-
|
|
1263
|
-
|
|
1264
|
-
|
|
1265
|
-
|
|
1266
|
-
|
|
1267
|
-
|
|
1268
|
-
|
|
1269
|
-
{
|
|
1270
|
-
|
|
1271
|
-
|
|
1272
|
-
|
|
1273
|
-
|
|
1274
|
-
|
|
1275
|
-
|
|
1276
|
-
|
|
1277
|
-
|
|
1278
|
-
|
|
1279
|
-
|
|
1280
|
-
|
|
1281
|
-
|
|
1282
|
-
|
|
1283
|
-
|
|
1284
|
-
|
|
1222
|
+
lazyBundles.map((lazyBundle) => lazyBundle[1].map((compactMeta) => {
|
|
1223
|
+
const cmpMeta = {
|
|
1224
|
+
$flags$: compactMeta[0],
|
|
1225
|
+
$tagName$: compactMeta[1],
|
|
1226
|
+
$members$: compactMeta[2],
|
|
1227
|
+
$listeners$: compactMeta[3],
|
|
1228
|
+
};
|
|
1229
|
+
{
|
|
1230
|
+
cmpMeta.$members$ = compactMeta[2];
|
|
1231
|
+
}
|
|
1232
|
+
{
|
|
1233
|
+
cmpMeta.$listeners$ = compactMeta[3];
|
|
1234
|
+
}
|
|
1235
|
+
{
|
|
1236
|
+
cmpMeta.$attrsToReflect$ = [];
|
|
1237
|
+
}
|
|
1238
|
+
{
|
|
1239
|
+
cmpMeta.$watchers$ = {};
|
|
1240
|
+
}
|
|
1241
|
+
const tagName = cmpMeta.$tagName$;
|
|
1242
|
+
const HostElement = class extends HTMLElement {
|
|
1243
|
+
// StencilLazyHost
|
|
1244
|
+
constructor(self) {
|
|
1245
|
+
// @ts-ignore
|
|
1246
|
+
super(self);
|
|
1247
|
+
self = this;
|
|
1248
|
+
registerHost(self, cmpMeta);
|
|
1249
|
+
if (cmpMeta.$flags$ & 1 /* shadowDomEncapsulation */) {
|
|
1250
|
+
// this component is using shadow dom
|
|
1251
|
+
// and this browser supports shadow dom
|
|
1252
|
+
// add the read-only property "shadowRoot" to the host element
|
|
1253
|
+
// adding the shadow root build conditionals to minimize runtime
|
|
1254
|
+
{
|
|
1285
1255
|
{
|
|
1286
|
-
{
|
|
1287
|
-
self.attachShadow({ mode: 'open' });
|
|
1288
|
-
}
|
|
1256
|
+
self.attachShadow({ mode: 'open' });
|
|
1289
1257
|
}
|
|
1290
1258
|
}
|
|
1291
1259
|
}
|
|
1292
|
-
|
|
1293
|
-
|
|
1294
|
-
|
|
1295
|
-
|
|
1296
|
-
|
|
1297
|
-
if (isBootstrapping) {
|
|
1298
|
-
// connectedCallback will be processed once all components have been registered
|
|
1299
|
-
deferredConnectedCallbacks.push(this);
|
|
1300
|
-
}
|
|
1301
|
-
else {
|
|
1302
|
-
plt.jmp(() => connectedCallback(this));
|
|
1303
|
-
}
|
|
1260
|
+
}
|
|
1261
|
+
connectedCallback() {
|
|
1262
|
+
if (appLoadFallback) {
|
|
1263
|
+
clearTimeout(appLoadFallback);
|
|
1264
|
+
appLoadFallback = null;
|
|
1304
1265
|
}
|
|
1305
|
-
|
|
1306
|
-
|
|
1266
|
+
if (isBootstrapping) {
|
|
1267
|
+
// connectedCallback will be processed once all components have been registered
|
|
1268
|
+
deferredConnectedCallbacks.push(this);
|
|
1307
1269
|
}
|
|
1308
|
-
|
|
1309
|
-
|
|
1270
|
+
else {
|
|
1271
|
+
plt.jmp(() => connectedCallback(this));
|
|
1310
1272
|
}
|
|
1311
|
-
};
|
|
1312
|
-
cmpMeta.$lazyBundleId$ = lazyBundle[0];
|
|
1313
|
-
if (!exclude.includes(tagName) && !customElements.get(tagName)) {
|
|
1314
|
-
cmpTags.push(tagName);
|
|
1315
|
-
customElements.define(tagName, proxyComponent(HostElement, cmpMeta, 1 /* isElementConstructor */));
|
|
1316
1273
|
}
|
|
1317
|
-
|
|
1318
|
-
|
|
1274
|
+
disconnectedCallback() {
|
|
1275
|
+
plt.jmp(() => disconnectedCallback(this));
|
|
1276
|
+
}
|
|
1277
|
+
componentOnReady() {
|
|
1278
|
+
return getHostRef(this).$onReadyPromise$;
|
|
1279
|
+
}
|
|
1280
|
+
};
|
|
1281
|
+
cmpMeta.$lazyBundleId$ = lazyBundle[0];
|
|
1282
|
+
if (!exclude.includes(tagName) && !customElements.get(tagName)) {
|
|
1283
|
+
cmpTags.push(tagName);
|
|
1284
|
+
customElements.define(tagName, proxyComponent(HostElement, cmpMeta, 1 /* isElementConstructor */));
|
|
1285
|
+
}
|
|
1286
|
+
}));
|
|
1319
1287
|
{
|
|
1320
1288
|
visibilityStyle.innerHTML = cmpTags + HYDRATED_CSS;
|
|
1321
1289
|
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;
|
package/dist/cjs/loader.cjs.js
CHANGED
|
@@ -2,11 +2,11 @@
|
|
|
2
2
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
|
-
const index = require('./index-
|
|
6
|
-
require('./global-
|
|
5
|
+
const index = require('./index-cd179539.js');
|
|
6
|
+
require('./global-2f521eb7.js');
|
|
7
7
|
|
|
8
8
|
/*
|
|
9
|
-
Stencil Client Patch Esm v2.
|
|
9
|
+
Stencil Client Patch Esm v2.8.1 | MIT Licensed | https://stenciljs.com
|
|
10
10
|
*/
|
|
11
11
|
const patchEsm = () => {
|
|
12
12
|
return index.promiseResolve();
|