@watermarkinsights/ripple 3.9.0 → 3.10.0-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-dbbea5a8.js → chartFunctions-05b9dcc7.js} +418 -417
- package/dist/cjs/{functions-15e21d53.js → functions-71c85bae.js} +506 -532
- package/dist/cjs/{global-b0e0eac2.js → global-f98992f4.js} +60 -60
- package/dist/cjs/{http-service-9e8c4dd5.js → http-service-494d81de.js} +49 -49
- package/dist/cjs/{index-acad7ab3.js → index-98c6524c.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 +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 +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 +117 -117
- 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 +222 -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 -136
- 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.css +0 -1
- 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.css +6 -15
- package/dist/collection/components/charts/wm-chart/wm-chart.js +332 -332
- package/dist/collection/components/charts/wm-progress-monitor/wm-progress-indicator.css +6 -15
- package/dist/collection/components/charts/wm-progress-monitor/wm-progress-indicator.js +199 -199
- package/dist/collection/components/charts/wm-progress-monitor/wm-progress-monitor.css +0 -1
- 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.css +0 -1
- package/dist/collection/components/wm-action-menu/wm-action-menu.js +460 -460
- package/dist/collection/components/wm-button/wm-button.css +33 -25
- package/dist/collection/components/wm-button/wm-button.js +491 -491
- package/dist/collection/components/wm-datepicker/priv-datepicker/priv-datepicker.css +4 -4
- package/dist/collection/components/wm-datepicker/priv-datepicker/priv-datepicker.js +1024 -1024
- package/dist/collection/components/wm-datepicker/wm-datepicker.css +2 -2
- package/dist/collection/components/wm-datepicker/wm-datepicker.js +471 -471
- package/dist/collection/components/wm-input/wm-input.css +2 -2
- package/dist/collection/components/wm-input/wm-input.js +423 -423
- package/dist/collection/components/wm-menuitem/wm-menuitem.css +0 -1
- package/dist/collection/components/wm-menuitem/wm-menuitem.js +444 -444
- package/dist/collection/components/wm-modal/wm-modal-footer.css +0 -1
- package/dist/collection/components/wm-modal/wm-modal-footer.js +141 -141
- package/dist/collection/components/wm-modal/wm-modal-header.css +0 -1
- package/dist/collection/components/wm-modal/wm-modal-header.js +92 -92
- package/dist/collection/components/wm-modal/wm-modal.css +0 -1
- package/dist/collection/components/wm-modal/wm-modal.js +461 -461
- package/dist/collection/components/wm-navigation/wm-navigation-hamburger.css +2 -2
- package/dist/collection/components/wm-navigation/wm-navigation-hamburger.js +162 -162
- package/dist/collection/components/wm-navigation/wm-navigation-item.css +0 -1
- package/dist/collection/components/wm-navigation/wm-navigation-item.js +121 -121
- package/dist/collection/components/wm-navigation/wm-navigation.css +0 -1
- package/dist/collection/components/wm-navigation/wm-navigation.js +211 -211
- package/dist/collection/components/wm-navigator/priv-navigator-button/priv-navigator-button.css +0 -1
- 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.css +0 -1
- package/dist/collection/components/wm-navigator/priv-navigator-item/priv-navigator-item.js +114 -114
- package/dist/collection/components/wm-navigator/wm-navigator.css +0 -1
- package/dist/collection/components/wm-navigator/wm-navigator.js +468 -468
- package/dist/collection/components/wm-option/wm-option.css +3 -3
- package/dist/collection/components/wm-option/wm-option.js +414 -414
- package/dist/collection/components/wm-pagination/wm-pagination.css +0 -1
- package/dist/collection/components/wm-pagination/wm-pagination.js +368 -368
- package/dist/collection/components/wm-search/wm-search.css +0 -1
- package/dist/collection/components/wm-search/wm-search.js +480 -480
- package/dist/collection/components/wm-select/wm-select.css +3 -3
- package/dist/collection/components/wm-select/wm-select.js +718 -718
- package/dist/collection/components/wm-snackbar/wm-snackbar.css +3 -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 -3
- 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.css +0 -1
- 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.css +0 -1
- 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 -3
- package/dist/collection/components/wm-tag-input/wm-tag-input.js +810 -810
- package/dist/collection/components/wm-timepicker/wm-timepicker.css +3 -3
- package/dist/collection/components/wm-timepicker/wm-timepicker.js +583 -583
- package/dist/collection/components/wm-toggletip/wm-toggletip.css +2 -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 +33 -25
- package/dist/collection/components/wm-uploader/wm-network-uploader/wm-network-uploader.js +785 -785
- package/dist/collection/components/wm-uploader/wm-uploader.css +33 -25
- 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 +418 -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-303e1644.js → chartFunctions-b24ba065.js} +418 -418
- package/dist/esm/{functions-e552a8b5.js → functions-117d1a51.js} +506 -532
- package/dist/esm/{global-fa341013.js → global-6a9c8257.js} +60 -60
- package/dist/esm/{http-service-5d037e16.js → http-service-3dc3b3e7.js} +49 -49
- package/dist/esm/{index-7603f98e.js → index-d649a861.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 +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 +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 +117 -117
- 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 +222 -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 -136
- 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-b24ba065.js +1 -0
- package/dist/esm-es5/functions-117d1a51.js +15 -0
- package/dist/esm-es5/global-6a9c8257.js +1 -0
- package/dist/esm-es5/{http-service-5d037e16.js → http-service-3dc3b3e7.js} +1 -1
- package/dist/esm-es5/index-d649a861.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-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 +1 -0
- package/dist/ripple/{p-aa104594.system.entry.js → p-03d6014a.system.entry.js} +1 -1
- package/dist/ripple/{p-90ed3268.system.entry.js → p-099df7b7.system.entry.js} +1 -1
- package/dist/ripple/p-0cffec65.entry.js +1 -0
- package/dist/ripple/p-0ebed4b8.system.entry.js +1 -0
- package/dist/ripple/p-13e2891c.system.js +1 -0
- package/dist/ripple/p-18261104.system.entry.js +1 -0
- package/dist/ripple/p-1b1e006a.entry.js +1 -0
- package/dist/ripple/p-1e7fc028.entry.js +1 -0
- package/dist/ripple/{p-32336c78.system.entry.js → p-210039cc.system.entry.js} +1 -1
- package/dist/ripple/p-22759dd5.entry.js +1 -0
- package/dist/ripple/p-25b81952.entry.js +1 -0
- package/dist/ripple/{p-e490e37f.system.entry.js → p-269fa39c.system.entry.js} +1 -1
- package/dist/ripple/p-26c9f5af.entry.js +1 -0
- package/dist/ripple/p-276ed011.js +16 -0
- package/dist/ripple/p-2b6246d9.entry.js +1 -0
- package/dist/ripple/{p-3b3e847c.system.entry.js → p-2b63995f.system.entry.js} +1 -1
- package/dist/ripple/p-2c8a26f2.js +1 -0
- package/dist/ripple/p-38bb7f05.system.entry.js +1 -0
- package/dist/ripple/{p-888bec42.js → p-43f1298b.js} +0 -0
- package/dist/ripple/p-4f581ab3.entry.js +1 -0
- package/dist/ripple/p-50be3b44.js +1 -0
- package/dist/ripple/p-5176b826.system.js +15 -0
- package/dist/ripple/p-5627e44d.entry.js +1 -0
- package/dist/ripple/p-570fb53b.entry.js +1 -0
- package/dist/ripple/p-57f2feb0.entry.js +1 -0
- package/dist/ripple/p-5d6cc9da.system.js +1 -0
- package/dist/ripple/p-5e164260.system.entry.js +1 -0
- package/dist/ripple/{p-64053e24.system.entry.js → p-64e8fb6e.system.entry.js} +1 -1
- package/dist/ripple/p-6c295beb.entry.js +1 -0
- package/dist/ripple/p-6c751341.entry.js +1 -0
- package/dist/ripple/p-6cf47163.entry.js +1 -0
- package/dist/ripple/{p-6bc557fa.js → p-6f59ed45.js} +1 -1
- package/dist/ripple/p-772576d7.system.entry.js +1 -0
- package/dist/ripple/p-7779bfbe.system.entry.js +1 -0
- package/dist/ripple/p-7c2b1682.entry.js +1 -0
- package/dist/ripple/p-81ddf5a0.entry.js +1 -0
- package/dist/ripple/p-83d22032.system.entry.js +1 -0
- package/dist/ripple/p-846e9391.entry.js +1 -0
- package/dist/ripple/{p-7d26d093.system.entry.js → p-8a96b188.system.entry.js} +1 -1
- package/dist/ripple/p-8cf7ce7e.system.entry.js +1 -0
- package/dist/ripple/p-969af068.system.entry.js +1 -0
- package/dist/ripple/p-9a4aca88.system.entry.js +1 -0
- package/dist/ripple/p-9aa6cd9f.entry.js +1 -0
- package/dist/ripple/p-9c20bc1f.system.entry.js +1 -0
- package/dist/ripple/p-9d02957d.system.js +1 -0
- package/dist/ripple/p-9d49f21e.entry.js +1 -0
- package/dist/ripple/p-9d8c246d.system.entry.js +1 -0
- package/dist/ripple/p-9df8a520.entry.js +1 -0
- package/dist/ripple/{p-ae6cfbca.system.entry.js → p-a1511315.system.entry.js} +1 -1
- package/dist/ripple/p-a1a2efca.system.entry.js +1 -0
- package/dist/ripple/{p-1a7a33e0.system.js → p-a224d536.system.js} +1 -1
- package/dist/ripple/p-a5a47a23.entry.js +1 -0
- package/dist/ripple/p-b16373b9.system.entry.js +1 -0
- package/dist/ripple/p-b547bcf2.entry.js +1 -0
- package/dist/ripple/{p-1df2adee.system.entry.js → p-bfc1ab2e.system.entry.js} +1 -1
- package/dist/ripple/p-c8bb4b2b.entry.js +1 -0
- package/dist/ripple/p-d09fb6b5.entry.js +1 -0
- package/dist/ripple/{p-b4efa7d1.system.entry.js → p-ddf157c8.system.entry.js} +1 -1
- package/dist/ripple/p-e1b076be.entry.js +1 -0
- package/dist/ripple/p-e7a7d732.entry.js +1 -0
- package/dist/ripple/p-e8e2228d.system.entry.js +1 -0
- package/dist/ripple/p-ebae8cae.system.entry.js +1 -0
- package/dist/ripple/p-efe7728e.entry.js +1 -0
- package/dist/ripple/p-f54c4b0e.system.js +1 -0
- package/dist/ripple/{p-08b7ec08.system.js → p-f5df5903.system.js} +0 -0
- package/dist/ripple/{p-a6d6eae7.js → p-fd8070fb.js} +0 -0
- package/dist/ripple/{p-fda5a778.system.entry.js → p-ffb97b6d.system.entry.js} +1 -1
- package/dist/ripple/ripple.esm.js +1 -1
- package/dist/ripple/ripple.js +1 -1
- 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 +35 -35
- 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 +30 -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 -28
- 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 +4 -6
- package/package.json +47 -47
- package/dist/esm-es5/chartFunctions-303e1644.js +0 -1
- package/dist/esm-es5/functions-e552a8b5.js +0 -15
- package/dist/esm-es5/global-fa341013.js +0 -1
- package/dist/esm-es5/index-7603f98e.js +0 -1
- package/dist/ripple/p-01d2c1ab.entry.js +0 -1
- package/dist/ripple/p-02a3c14f.entry.js +0 -1
- package/dist/ripple/p-1116a297.entry.js +0 -1
- package/dist/ripple/p-13a746ea.entry.js +0 -1
- package/dist/ripple/p-175eba9d.system.js +0 -15
- package/dist/ripple/p-1d0742b0.entry.js +0 -1
- package/dist/ripple/p-2409192f.entry.js +0 -1
- package/dist/ripple/p-313b6073.system.js +0 -1
- package/dist/ripple/p-358bde27.entry.js +0 -1
- package/dist/ripple/p-35ce3ff8.entry.js +0 -1
- package/dist/ripple/p-3bed42bf.entry.js +0 -1
- package/dist/ripple/p-3fa5f0f0.system.entry.js +0 -1
- package/dist/ripple/p-431220d3.entry.js +0 -1
- package/dist/ripple/p-461f08d4.entry.js +0 -1
- package/dist/ripple/p-4d59fe86.entry.js +0 -1
- package/dist/ripple/p-4f42da30.system.entry.js +0 -1
- package/dist/ripple/p-50db2d6a.system.entry.js +0 -1
- package/dist/ripple/p-5c099280.entry.js +0 -1
- package/dist/ripple/p-6910f965.entry.js +0 -1
- package/dist/ripple/p-69f21f1a.system.entry.js +0 -1
- package/dist/ripple/p-6a6408b8.system.js +0 -1
- package/dist/ripple/p-7fae0cc2.entry.js +0 -1
- package/dist/ripple/p-823380c1.system.entry.js +0 -1
- package/dist/ripple/p-83fe767e.entry.js +0 -1
- package/dist/ripple/p-89372ba5.system.entry.js +0 -1
- package/dist/ripple/p-936fbfff.entry.js +0 -1
- package/dist/ripple/p-9d69aa46.system.entry.js +0 -1
- package/dist/ripple/p-a0c3ef16.system.js +0 -1
- package/dist/ripple/p-a216c161.system.entry.js +0 -1
- package/dist/ripple/p-a51453f6.entry.js +0 -1
- package/dist/ripple/p-a9e0ce88.entry.js +0 -1
- package/dist/ripple/p-b3c71506.js +0 -1
- package/dist/ripple/p-b4724251.entry.js +0 -1
- package/dist/ripple/p-b6b5c946.entry.js +0 -1
- package/dist/ripple/p-b786a5fd.system.entry.js +0 -1
- package/dist/ripple/p-ba76563e.system.entry.js +0 -1
- package/dist/ripple/p-bd5a6394.entry.js +0 -1
- package/dist/ripple/p-c77d79be.entry.js +0 -1
- package/dist/ripple/p-c9541d4d.system.entry.js +0 -1
- package/dist/ripple/p-ca7c628f.entry.js +0 -1
- package/dist/ripple/p-cae4ebf4.system.entry.js +0 -1
- package/dist/ripple/p-cf648440.entry.js +0 -1
- package/dist/ripple/p-d93d5885.entry.js +0 -1
- package/dist/ripple/p-d9d82a0d.js +0 -1
- package/dist/ripple/p-e51562cd.system.entry.js +0 -1
- package/dist/ripple/p-eaedb11d.system.entry.js +0 -1
- package/dist/ripple/p-ed8115b9.system.entry.js +0 -1
- package/dist/ripple/p-f24ff348.system.js +0 -1
- package/dist/ripple/p-f37b54be.js +0 -16
- package/dist/ripple/p-f5f8bb25.system.entry.js +0 -1
- package/dist/ripple/p-f9c3a2ce.entry.js +0 -1
- package/dist/types/components/charts/priv-chart-popover/priv-chart-popover.d.ts +0 -27
- package/dist/types/components/charts/wm-progress-monitor/wm-progress-indicator.d.ts +0 -26
- package/dist/types/components/charts/wm-progress-monitor/wm-progress-monitor.d.ts +0 -17
|
@@ -1,62 +1,62 @@
|
|
|
1
|
-
const version = "3.
|
|
1
|
+
const version = "3.10.0-0";
|
|
2
2
|
|
|
3
|
-
// PRINT RIPPLE VERSION IN CONSOLE
|
|
4
|
-
// test envs return 0 for plugin.length
|
|
5
|
-
// do not print version number there as it causes issues
|
|
6
|
-
if (window.navigator.plugins.length > 0) {
|
|
7
|
-
console.log("Ripple component library", version);
|
|
8
|
-
}
|
|
9
|
-
// USER-IS-TABBING CLASSES (FOR FOCUS INDICATORS)
|
|
10
|
-
// Dispatching events to track whether user is navigating with keyboard or mouse
|
|
11
|
-
function wmComponentKeys(ev) {
|
|
12
|
-
if (ev.key == "Tab") {
|
|
13
|
-
var event = new Event("wmUserIsTabbing");
|
|
14
|
-
window.dispatchEvent(event);
|
|
15
|
-
document.querySelector("body").classList.add("wmcl-user-is-tabbing");
|
|
16
|
-
}
|
|
17
|
-
if (ev.key == "ArrowLeft" ||
|
|
18
|
-
ev.key == "ArrowUp" ||
|
|
19
|
-
ev.key == "ArrowRight" ||
|
|
20
|
-
ev.key == "ArrowDown") {
|
|
21
|
-
var event = new Event("wmUserIsKeying");
|
|
22
|
-
window.dispatchEvent(event);
|
|
23
|
-
document.querySelector("body").classList.add("wmcl-user-is-keying");
|
|
24
|
-
}
|
|
25
|
-
}
|
|
26
|
-
function wmComponentMouseDownOnce() {
|
|
27
|
-
var event = new Event("wmUserIsNotTabbing");
|
|
28
|
-
window.dispatchEvent(event);
|
|
29
|
-
document.querySelector("body").classList.remove("wmcl-user-is-tabbing");
|
|
30
|
-
document.querySelector("body").classList.remove("wmcl-user-is-keying");
|
|
31
|
-
}
|
|
32
|
-
window.addEventListener("keydown", wmComponentKeys);
|
|
33
|
-
window.addEventListener("mousedown", wmComponentMouseDownOnce);
|
|
34
|
-
// TOOLTIP
|
|
35
|
-
// Add a tooltip element
|
|
36
|
-
// This allows tooltips to be always at the highest stacking context (always on top)
|
|
37
|
-
// Element is added withing a container to avoid performance impact
|
|
38
|
-
const tooltipContainer = document.createElement("div");
|
|
39
|
-
tooltipContainer.id = "wm-tooltip-container";
|
|
40
|
-
const tooltipEl = document.createElement("div");
|
|
41
|
-
tooltipEl.id = "wm-tooltip";
|
|
42
|
-
tooltipEl.setAttribute("aria-hidden", "true");
|
|
43
|
-
tooltipEl.style.position = "fixed";
|
|
44
|
-
tooltipEl.style.overflow = "hidden";
|
|
45
|
-
tooltipEl.style.pointerEvents = "none";
|
|
46
|
-
tooltipEl.style.lineHeight = "normal";
|
|
47
|
-
tooltipEl.style.fontFamily = "inherit";
|
|
48
|
-
tooltipEl.style.fontSize = "0.875rem";
|
|
49
|
-
tooltipEl.style.textTransform = "none";
|
|
50
|
-
tooltipEl.style.fontWeight = "normal";
|
|
51
|
-
tooltipEl.style.background = "black";
|
|
52
|
-
tooltipEl.style.color = "#fff";
|
|
53
|
-
tooltipEl.style.zIndex = "999999";
|
|
54
|
-
tooltipEl.style.maxWidth = "13.75rem";
|
|
55
|
-
tooltipEl.style.marginRight = "1.5rem";
|
|
56
|
-
tooltipEl.style.padding = "0.375rem";
|
|
57
|
-
tooltipEl.style.transitionProperty = "opacity";
|
|
58
|
-
tooltipEl.style.transitionDelay = "opacity";
|
|
59
|
-
tooltipEl.style.opacity = "0";
|
|
60
|
-
tooltipContainer.appendChild(tooltipEl);
|
|
61
|
-
const body = document.querySelector("body");
|
|
3
|
+
// PRINT RIPPLE VERSION IN CONSOLE
|
|
4
|
+
// test envs return 0 for plugin.length
|
|
5
|
+
// do not print version number there as it causes issues
|
|
6
|
+
if (window.navigator.plugins.length > 0) {
|
|
7
|
+
console.log("Ripple component library", version);
|
|
8
|
+
}
|
|
9
|
+
// USER-IS-TABBING CLASSES (FOR FOCUS INDICATORS)
|
|
10
|
+
// Dispatching events to track whether user is navigating with keyboard or mouse
|
|
11
|
+
function wmComponentKeys(ev) {
|
|
12
|
+
if (ev.key == "Tab") {
|
|
13
|
+
var event = new Event("wmUserIsTabbing");
|
|
14
|
+
window.dispatchEvent(event);
|
|
15
|
+
document.querySelector("body").classList.add("wmcl-user-is-tabbing");
|
|
16
|
+
}
|
|
17
|
+
if (ev.key == "ArrowLeft" ||
|
|
18
|
+
ev.key == "ArrowUp" ||
|
|
19
|
+
ev.key == "ArrowRight" ||
|
|
20
|
+
ev.key == "ArrowDown") {
|
|
21
|
+
var event = new Event("wmUserIsKeying");
|
|
22
|
+
window.dispatchEvent(event);
|
|
23
|
+
document.querySelector("body").classList.add("wmcl-user-is-keying");
|
|
24
|
+
}
|
|
25
|
+
}
|
|
26
|
+
function wmComponentMouseDownOnce() {
|
|
27
|
+
var event = new Event("wmUserIsNotTabbing");
|
|
28
|
+
window.dispatchEvent(event);
|
|
29
|
+
document.querySelector("body").classList.remove("wmcl-user-is-tabbing");
|
|
30
|
+
document.querySelector("body").classList.remove("wmcl-user-is-keying");
|
|
31
|
+
}
|
|
32
|
+
window.addEventListener("keydown", wmComponentKeys);
|
|
33
|
+
window.addEventListener("mousedown", wmComponentMouseDownOnce);
|
|
34
|
+
// TOOLTIP
|
|
35
|
+
// Add a tooltip element
|
|
36
|
+
// This allows tooltips to be always at the highest stacking context (always on top)
|
|
37
|
+
// Element is added withing a container to avoid performance impact
|
|
38
|
+
const tooltipContainer = document.createElement("div");
|
|
39
|
+
tooltipContainer.id = "wm-tooltip-container";
|
|
40
|
+
const tooltipEl = document.createElement("div");
|
|
41
|
+
tooltipEl.id = "wm-tooltip";
|
|
42
|
+
tooltipEl.setAttribute("aria-hidden", "true");
|
|
43
|
+
tooltipEl.style.position = "fixed";
|
|
44
|
+
tooltipEl.style.overflow = "hidden";
|
|
45
|
+
tooltipEl.style.pointerEvents = "none";
|
|
46
|
+
tooltipEl.style.lineHeight = "normal";
|
|
47
|
+
tooltipEl.style.fontFamily = "inherit";
|
|
48
|
+
tooltipEl.style.fontSize = "0.875rem";
|
|
49
|
+
tooltipEl.style.textTransform = "none";
|
|
50
|
+
tooltipEl.style.fontWeight = "normal";
|
|
51
|
+
tooltipEl.style.background = "black";
|
|
52
|
+
tooltipEl.style.color = "#fff";
|
|
53
|
+
tooltipEl.style.zIndex = "999999";
|
|
54
|
+
tooltipEl.style.maxWidth = "13.75rem";
|
|
55
|
+
tooltipEl.style.marginRight = "1.5rem";
|
|
56
|
+
tooltipEl.style.padding = "0.375rem";
|
|
57
|
+
tooltipEl.style.transitionProperty = "opacity";
|
|
58
|
+
tooltipEl.style.transitionDelay = "opacity";
|
|
59
|
+
tooltipEl.style.opacity = "0";
|
|
60
|
+
tooltipContainer.appendChild(tooltipEl);
|
|
61
|
+
const body = document.querySelector("body");
|
|
62
62
|
body.appendChild(tooltipContainer);
|
|
@@ -1,52 +1,52 @@
|
|
|
1
|
-
const getRequest = async (url) => {
|
|
2
|
-
const response = await fetch(url);
|
|
3
|
-
if (!!response && !!response.ok) {
|
|
4
|
-
return await response.json();
|
|
5
|
-
}
|
|
6
|
-
else {
|
|
7
|
-
throw new Error(response.statusText);
|
|
8
|
-
}
|
|
9
|
-
};
|
|
10
|
-
const postRequest = async (url, payload) => {
|
|
11
|
-
const response = await fetch(url, {
|
|
12
|
-
method: "POST",
|
|
13
|
-
headers: { "Content-Type": "application/json; charset=utf-8" },
|
|
14
|
-
body: JSON.stringify(payload),
|
|
15
|
-
});
|
|
16
|
-
if (!!response && !!response.ok) {
|
|
17
|
-
return await response.json();
|
|
18
|
-
}
|
|
19
|
-
else {
|
|
20
|
-
throw new Error(response.statusText);
|
|
21
|
-
}
|
|
22
|
-
};
|
|
23
|
-
const deleteRequest = async (url) => {
|
|
24
|
-
const response = await fetch(url, { method: "DELETE" });
|
|
25
|
-
if (!!response && !!response.ok) {
|
|
26
|
-
return await response.json();
|
|
27
|
-
}
|
|
28
|
-
else {
|
|
29
|
-
throw new Error(response.statusText);
|
|
30
|
-
}
|
|
31
|
-
};
|
|
32
|
-
const putRequest = (url, file, onProgress) => {
|
|
33
|
-
return new Promise((resolve, reject) => {
|
|
34
|
-
// there's no way to track progress with the fetch API, so using XHR
|
|
35
|
-
const req = new XMLHttpRequest();
|
|
36
|
-
req.upload.addEventListener("progress", (ev) => onProgress(ev));
|
|
37
|
-
req.addEventListener("readystatechange", function () {
|
|
38
|
-
if (this.readyState === 4 && this.status === 200) {
|
|
39
|
-
resolve(this);
|
|
40
|
-
}
|
|
41
|
-
else if (this.readyState === 4 && this.status !== 200) {
|
|
42
|
-
reject();
|
|
43
|
-
}
|
|
44
|
-
});
|
|
45
|
-
req.onerror = () => reject();
|
|
46
|
-
req.open("PUT", url, true);
|
|
47
|
-
req.setRequestHeader("Content-Disposition", `attachment;filename="${file.name}"`);
|
|
48
|
-
req.send(file);
|
|
49
|
-
});
|
|
1
|
+
const getRequest = async (url) => {
|
|
2
|
+
const response = await fetch(url);
|
|
3
|
+
if (!!response && !!response.ok) {
|
|
4
|
+
return await response.json();
|
|
5
|
+
}
|
|
6
|
+
else {
|
|
7
|
+
throw new Error(response.statusText);
|
|
8
|
+
}
|
|
9
|
+
};
|
|
10
|
+
const postRequest = async (url, payload) => {
|
|
11
|
+
const response = await fetch(url, {
|
|
12
|
+
method: "POST",
|
|
13
|
+
headers: { "Content-Type": "application/json; charset=utf-8" },
|
|
14
|
+
body: JSON.stringify(payload),
|
|
15
|
+
});
|
|
16
|
+
if (!!response && !!response.ok) {
|
|
17
|
+
return await response.json();
|
|
18
|
+
}
|
|
19
|
+
else {
|
|
20
|
+
throw new Error(response.statusText);
|
|
21
|
+
}
|
|
22
|
+
};
|
|
23
|
+
const deleteRequest = async (url) => {
|
|
24
|
+
const response = await fetch(url, { method: "DELETE" });
|
|
25
|
+
if (!!response && !!response.ok) {
|
|
26
|
+
return await response.json();
|
|
27
|
+
}
|
|
28
|
+
else {
|
|
29
|
+
throw new Error(response.statusText);
|
|
30
|
+
}
|
|
31
|
+
};
|
|
32
|
+
const putRequest = (url, file, onProgress) => {
|
|
33
|
+
return new Promise((resolve, reject) => {
|
|
34
|
+
// there's no way to track progress with the fetch API, so using XHR
|
|
35
|
+
const req = new XMLHttpRequest();
|
|
36
|
+
req.upload.addEventListener("progress", (ev) => onProgress(ev));
|
|
37
|
+
req.addEventListener("readystatechange", function () {
|
|
38
|
+
if (this.readyState === 4 && this.status === 200) {
|
|
39
|
+
resolve(this);
|
|
40
|
+
}
|
|
41
|
+
else if (this.readyState === 4 && this.status !== 200) {
|
|
42
|
+
reject();
|
|
43
|
+
}
|
|
44
|
+
});
|
|
45
|
+
req.onerror = () => reject();
|
|
46
|
+
req.open("PUT", url, true);
|
|
47
|
+
req.setRequestHeader("Content-Disposition", `attachment;filename="${file.name}"`);
|
|
48
|
+
req.send(file);
|
|
49
|
+
});
|
|
50
50
|
};
|
|
51
51
|
|
|
52
52
|
export { postRequest as a, deleteRequest as d, getRequest as g, putRequest as p };
|
|
@@ -347,6 +347,7 @@ const setAccessor = (elm, memberName, oldValue, newValue, isSvg, flags) => {
|
|
|
347
347
|
// Workaround for Safari, moving the <input> caret when re-assigning the same valued
|
|
348
348
|
if (memberName === 'list') {
|
|
349
349
|
isProp = false;
|
|
350
|
+
// tslint:disable-next-line: triple-equals
|
|
350
351
|
}
|
|
351
352
|
else if (oldValue == null || elm[memberName] != n) {
|
|
352
353
|
elm[memberName] = n;
|
|
@@ -891,29 +892,6 @@ const then = (promise, thenFn) => {
|
|
|
891
892
|
};
|
|
892
893
|
const addHydratedFlag = (elm) => elm.classList.add('hydrated')
|
|
893
894
|
;
|
|
894
|
-
/**
|
|
895
|
-
* Parse a new property value for a given property type.
|
|
896
|
-
*
|
|
897
|
-
* While the prop value can reasonably be expected to be of `any` type as far as TypeScript's type checker is concerned,
|
|
898
|
-
* it is not safe to assume that the string returned by evaluating `typeof propValue` matches:
|
|
899
|
-
* 1. `any`, the type given to `propValue` in the function signature
|
|
900
|
-
* 2. the type stored from `propType`.
|
|
901
|
-
*
|
|
902
|
-
* This function provides the capability to parse/coerce a property's value to potentially any other JavaScript type.
|
|
903
|
-
*
|
|
904
|
-
* Property values represented in TSX preserve their type information. In the example below, the number 0 is passed to
|
|
905
|
-
* a component. This `propValue` will preserve its type information (`typeof propValue === 'number'`). Note that is
|
|
906
|
-
* based on the type of the value being passed in, not the type declared of the class member decorated with `@Prop`.
|
|
907
|
-
* ```tsx
|
|
908
|
-
* <my-cmp prop-val={0}></my-cmp>
|
|
909
|
-
* ```
|
|
910
|
-
*
|
|
911
|
-
* HTML prop values on the other hand, will always a string
|
|
912
|
-
*
|
|
913
|
-
* @param propValue the new value to coerce to some type
|
|
914
|
-
* @param propType the type of the prop, expressed as a binary number
|
|
915
|
-
* @returns the parsed/coerced value
|
|
916
|
-
*/
|
|
917
895
|
const parsePropertyValue = (propValue, propType) => {
|
|
918
896
|
// ensure this value is of the correct prop type
|
|
919
897
|
if (propValue != null && !isComplexType(propValue)) {
|
|
@@ -1019,14 +997,14 @@ const proxyComponent = (Cstr, cmpMeta, flags) => {
|
|
|
1019
997
|
prototype.attributeChangedCallback = function (attrName, _oldValue, newValue) {
|
|
1020
998
|
plt.jmp(() => {
|
|
1021
999
|
const propName = attrNameToPropName.get(attrName);
|
|
1022
|
-
// In a
|
|
1000
|
+
// In a webcomponent lifecyle the attributeChangedCallback runs prior to connectedCallback
|
|
1023
1001
|
// in the case where an attribute was set inline.
|
|
1024
1002
|
// ```html
|
|
1025
1003
|
// <my-component some-attribute="some-value"></my-component>
|
|
1026
1004
|
// ```
|
|
1027
1005
|
//
|
|
1028
|
-
// There is an edge case where a developer sets the attribute inline on a custom element and then
|
|
1029
|
-
//
|
|
1006
|
+
// There is an edge case where a developer sets the attribute inline on a custom element and then programatically
|
|
1007
|
+
// changes it before it has been upgraded as shown below:
|
|
1030
1008
|
//
|
|
1031
1009
|
// ```html
|
|
1032
1010
|
// <!-- this component has _not_ been upgraded yet -->
|
|
@@ -1036,13 +1014,13 @@ const proxyComponent = (Cstr, cmpMeta, flags) => {
|
|
|
1036
1014
|
// el = document.querySelector("#test");
|
|
1037
1015
|
// el.someAttribute = "another-value";
|
|
1038
1016
|
// // upgrade component
|
|
1039
|
-
//
|
|
1017
|
+
// cutsomElements.define('my-component', MyComponent);
|
|
1040
1018
|
// </script>
|
|
1041
1019
|
// ```
|
|
1042
1020
|
// In this case if we do not unshadow here and use the value of the shadowing property, attributeChangedCallback
|
|
1043
1021
|
// will be called with `newValue = "some-value"` and will set the shadowed property (this.someAttribute = "another-value")
|
|
1044
1022
|
// 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
|
|
1023
|
+
// the connectedCallback attempts to unshadow it will use "some-value" as the intial value rather than "another-value"
|
|
1046
1024
|
//
|
|
1047
1025
|
// The case where the attribute was NOT set inline but was not set programmatically shall be handled/unshadowed
|
|
1048
1026
|
// by connectedCallback as this attributeChangedCallback will not fire.
|
|
@@ -1056,14 +1034,6 @@ const proxyComponent = (Cstr, cmpMeta, flags) => {
|
|
|
1056
1034
|
newValue = this[propName];
|
|
1057
1035
|
delete this[propName];
|
|
1058
1036
|
}
|
|
1059
|
-
else if (prototype.hasOwnProperty(propName) &&
|
|
1060
|
-
typeof this[propName] === 'number' &&
|
|
1061
|
-
this[propName] == newValue) {
|
|
1062
|
-
// if the propName exists on the prototype of `Cstr`, this update may be a result of Stencil using native
|
|
1063
|
-
// APIs to reflect props as attributes. Calls to `setAttribute(someElement, propName)` will result in
|
|
1064
|
-
// `propName` to be converted to a `DOMString`, which may not be what we want for other primitive props.
|
|
1065
|
-
return;
|
|
1066
|
-
}
|
|
1067
1037
|
this[propName] = newValue === null && typeof this[propName] === 'boolean' ? false : newValue;
|
|
1068
1038
|
});
|
|
1069
1039
|
};
|
|
@@ -1149,7 +1119,7 @@ const initializeComponent = async (elm, hostRef, cmpMeta, hmrVersionId, Cstr) =>
|
|
|
1149
1119
|
const ancestorComponent = hostRef.$ancestorComponent$;
|
|
1150
1120
|
const schedule = () => scheduleUpdate(hostRef, true);
|
|
1151
1121
|
if (ancestorComponent && ancestorComponent['s-rc']) {
|
|
1152
|
-
// this is the
|
|
1122
|
+
// this is the intial load and this component it has an ancestor component
|
|
1153
1123
|
// but the ancestor component has NOT fired its will update lifecycle yet
|
|
1154
1124
|
// so let's just cool our jets and wait for the ancestor to continue first
|
|
1155
1125
|
// this will get fired off when the ancestor component
|
|
@@ -1232,73 +1202,71 @@ const bootstrapLazy = (lazyBundles, options = {}) => {
|
|
|
1232
1202
|
let isBootstrapping = true;
|
|
1233
1203
|
Object.assign(plt, options);
|
|
1234
1204
|
plt.$resourcesUrl$ = new URL(options.resourcesUrl || './', doc.baseURI).href;
|
|
1235
|
-
lazyBundles.map((lazyBundle) => {
|
|
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
|
-
|
|
1261
|
-
|
|
1262
|
-
|
|
1263
|
-
|
|
1264
|
-
|
|
1265
|
-
|
|
1266
|
-
|
|
1267
|
-
|
|
1205
|
+
lazyBundles.map((lazyBundle) => lazyBundle[1].map((compactMeta) => {
|
|
1206
|
+
const cmpMeta = {
|
|
1207
|
+
$flags$: compactMeta[0],
|
|
1208
|
+
$tagName$: compactMeta[1],
|
|
1209
|
+
$members$: compactMeta[2],
|
|
1210
|
+
$listeners$: compactMeta[3],
|
|
1211
|
+
};
|
|
1212
|
+
{
|
|
1213
|
+
cmpMeta.$members$ = compactMeta[2];
|
|
1214
|
+
}
|
|
1215
|
+
{
|
|
1216
|
+
cmpMeta.$listeners$ = compactMeta[3];
|
|
1217
|
+
}
|
|
1218
|
+
{
|
|
1219
|
+
cmpMeta.$attrsToReflect$ = [];
|
|
1220
|
+
}
|
|
1221
|
+
{
|
|
1222
|
+
cmpMeta.$watchers$ = {};
|
|
1223
|
+
}
|
|
1224
|
+
const tagName = cmpMeta.$tagName$;
|
|
1225
|
+
const HostElement = class extends HTMLElement {
|
|
1226
|
+
// StencilLazyHost
|
|
1227
|
+
constructor(self) {
|
|
1228
|
+
// @ts-ignore
|
|
1229
|
+
super(self);
|
|
1230
|
+
self = this;
|
|
1231
|
+
registerHost(self, cmpMeta);
|
|
1232
|
+
if (cmpMeta.$flags$ & 1 /* shadowDomEncapsulation */) {
|
|
1233
|
+
// this component is using shadow dom
|
|
1234
|
+
// and this browser supports shadow dom
|
|
1235
|
+
// add the read-only property "shadowRoot" to the host element
|
|
1236
|
+
// adding the shadow root build conditionals to minimize runtime
|
|
1237
|
+
{
|
|
1268
1238
|
{
|
|
1269
|
-
{
|
|
1270
|
-
self.attachShadow({ mode: 'open' });
|
|
1271
|
-
}
|
|
1239
|
+
self.attachShadow({ mode: 'open' });
|
|
1272
1240
|
}
|
|
1273
1241
|
}
|
|
1274
1242
|
}
|
|
1275
|
-
|
|
1276
|
-
|
|
1277
|
-
|
|
1278
|
-
|
|
1279
|
-
|
|
1280
|
-
if (isBootstrapping) {
|
|
1281
|
-
// connectedCallback will be processed once all components have been registered
|
|
1282
|
-
deferredConnectedCallbacks.push(this);
|
|
1283
|
-
}
|
|
1284
|
-
else {
|
|
1285
|
-
plt.jmp(() => connectedCallback(this));
|
|
1286
|
-
}
|
|
1243
|
+
}
|
|
1244
|
+
connectedCallback() {
|
|
1245
|
+
if (appLoadFallback) {
|
|
1246
|
+
clearTimeout(appLoadFallback);
|
|
1247
|
+
appLoadFallback = null;
|
|
1287
1248
|
}
|
|
1288
|
-
|
|
1289
|
-
|
|
1249
|
+
if (isBootstrapping) {
|
|
1250
|
+
// connectedCallback will be processed once all components have been registered
|
|
1251
|
+
deferredConnectedCallbacks.push(this);
|
|
1290
1252
|
}
|
|
1291
|
-
|
|
1292
|
-
|
|
1253
|
+
else {
|
|
1254
|
+
plt.jmp(() => connectedCallback(this));
|
|
1293
1255
|
}
|
|
1294
|
-
};
|
|
1295
|
-
cmpMeta.$lazyBundleId$ = lazyBundle[0];
|
|
1296
|
-
if (!exclude.includes(tagName) && !customElements.get(tagName)) {
|
|
1297
|
-
cmpTags.push(tagName);
|
|
1298
|
-
customElements.define(tagName, proxyComponent(HostElement, cmpMeta, 1 /* isElementConstructor */));
|
|
1299
1256
|
}
|
|
1300
|
-
|
|
1301
|
-
|
|
1257
|
+
disconnectedCallback() {
|
|
1258
|
+
plt.jmp(() => disconnectedCallback(this));
|
|
1259
|
+
}
|
|
1260
|
+
componentOnReady() {
|
|
1261
|
+
return getHostRef(this).$onReadyPromise$;
|
|
1262
|
+
}
|
|
1263
|
+
};
|
|
1264
|
+
cmpMeta.$lazyBundleId$ = lazyBundle[0];
|
|
1265
|
+
if (!exclude.includes(tagName) && !customElements.get(tagName)) {
|
|
1266
|
+
cmpTags.push(tagName);
|
|
1267
|
+
customElements.define(tagName, proxyComponent(HostElement, cmpMeta, 1 /* isElementConstructor */));
|
|
1268
|
+
}
|
|
1269
|
+
}));
|
|
1302
1270
|
{
|
|
1303
1271
|
visibilityStyle.innerHTML = cmpTags + HYDRATED_CSS;
|
|
1304
1272
|
visibilityStyle.setAttribute('data-styles', '');
|
|
@@ -1,32 +1,32 @@
|
|
|
1
|
-
//List of icon codes with more indicative descriptors to create labels for icon-only buttons
|
|
2
|
-
function getIconCodeFromName(icon) {
|
|
3
|
-
return iconCodes[icon] || icon;
|
|
4
|
-
}
|
|
5
|
-
const iconCodes = {
|
|
6
|
-
close: "f156",
|
|
7
|
-
pencil: "f3eb",
|
|
8
|
-
cancel: "f739",
|
|
9
|
-
check: "f12c",
|
|
10
|
-
delete: "f1c0",
|
|
11
|
-
magnify: "f349",
|
|
12
|
-
export: "f207",
|
|
13
|
-
"dots-vertical": "f1d9",
|
|
14
|
-
"arrow-left": "f04d",
|
|
15
|
-
"arrow-right": "f054",
|
|
16
|
-
"chevron-left": "f141",
|
|
17
|
-
"chevron-right": "f142",
|
|
18
|
-
"menu-left": "f35e",
|
|
19
|
-
"menu-down": "f35d",
|
|
20
|
-
"keyboard-backspace": "f30d",
|
|
21
|
-
"file-tree": "f645",
|
|
22
|
-
"sort-alphabetical": "f4bb",
|
|
23
|
-
"checkbox-marked-circle": "f133",
|
|
24
|
-
"account-settings": "f630",
|
|
25
|
-
"backup-restore": "f06f",
|
|
26
|
-
};
|
|
27
|
-
const defaultMode = "planning";
|
|
28
|
-
const getWmMode = (ref) => {
|
|
29
|
-
return ref.getAttribute("mode") || document.documentElement.getAttribute("mode") || defaultMode;
|
|
1
|
+
//List of icon codes with more indicative descriptors to create labels for icon-only buttons
|
|
2
|
+
function getIconCodeFromName(icon) {
|
|
3
|
+
return iconCodes[icon] || icon;
|
|
4
|
+
}
|
|
5
|
+
const iconCodes = {
|
|
6
|
+
close: "f156",
|
|
7
|
+
pencil: "f3eb",
|
|
8
|
+
cancel: "f739",
|
|
9
|
+
check: "f12c",
|
|
10
|
+
delete: "f1c0",
|
|
11
|
+
magnify: "f349",
|
|
12
|
+
export: "f207",
|
|
13
|
+
"dots-vertical": "f1d9",
|
|
14
|
+
"arrow-left": "f04d",
|
|
15
|
+
"arrow-right": "f054",
|
|
16
|
+
"chevron-left": "f141",
|
|
17
|
+
"chevron-right": "f142",
|
|
18
|
+
"menu-left": "f35e",
|
|
19
|
+
"menu-down": "f35d",
|
|
20
|
+
"keyboard-backspace": "f30d",
|
|
21
|
+
"file-tree": "f645",
|
|
22
|
+
"sort-alphabetical": "f4bb",
|
|
23
|
+
"checkbox-marked-circle": "f133",
|
|
24
|
+
"account-settings": "f630",
|
|
25
|
+
"backup-restore": "f06f",
|
|
26
|
+
};
|
|
27
|
+
const defaultMode = "planning";
|
|
28
|
+
const getWmMode = (ref) => {
|
|
29
|
+
return ref.getAttribute("mode") || document.documentElement.getAttribute("mode") || defaultMode;
|
|
30
30
|
};
|
|
31
31
|
|
|
32
32
|
export { getWmMode as a, getIconCodeFromName as g };
|
package/dist/esm/loader.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { p as promiseResolve, b as bootstrapLazy } from './index-
|
|
2
|
-
import './global-
|
|
1
|
+
import { p as promiseResolve, b as bootstrapLazy } from './index-d649a861.js';
|
|
2
|
+
import './global-6a9c8257.js';
|
|
3
3
|
|
|
4
4
|
/*
|
|
5
|
-
Stencil Client Patch Esm v2.
|
|
5
|
+
Stencil Client Patch Esm v2.8.1 | MIT Licensed | https://stenciljs.com
|
|
6
6
|
*/
|
|
7
7
|
const patchEsm = () => {
|
|
8
8
|
return promiseResolve();
|
|
File without changes
|
|
@@ -1 +1 @@
|
|
|
1
|
-
var __assign=this&&this.__assign||function(){return(__assign=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var s in t=arguments[r])Object.prototype.hasOwnProperty.call(t,s)&&(e[s]=t[s]);return e}).apply(this,arguments)},StyleNode=function(){this.start=0,this.end=0,this.previous=null,this.parent=null,this.rules=null,this.parsedCssText="",this.cssText="",this.atRule=!1,this.type=0,this.keyframesName="",this.selector="",this.parsedSelector=""};function parse(e){return parseCss(lex(e=clean(e)),e)}function clean(e){return e.replace(RX.comments,"").replace(RX.port,"")}function lex(e){var t=new StyleNode;t.start=0,t.end=e.length;for(var r=t,n=0,s=e.length;n<s;n++)if(e[n]===OPEN_BRACE){r.rules||(r.rules=[]);var o=r,a=o.rules[o.rules.length-1]||null;(r=new StyleNode).start=n+1,r.parent=o,r.previous=a,o.rules.push(r)}else e[n]===CLOSE_BRACE&&(r.end=n+1,r=r.parent||t);return t}function parseCss(e,t){var r=t.substring(e.start,e.end-1);if(e.parsedCssText=e.cssText=r.trim(),e.parent){var n=e.previous?e.previous.end:e.parent.start;r=(r=(r=_expandUnicodeEscapes(r=t.substring(n,e.start-1))).replace(RX.multipleSpaces," ")).substring(r.lastIndexOf(";")+1);var s=e.parsedSelector=e.selector=r.trim();e.atRule=0===s.indexOf(AT_START),e.atRule?0===s.indexOf(MEDIA_START)?e.type=types.MEDIA_RULE:s.match(RX.keyframesRule)&&(e.type=types.KEYFRAMES_RULE,e.keyframesName=e.selector.split(RX.multipleSpaces).pop()):0===s.indexOf(VAR_START)?e.type=types.MIXIN_RULE:e.type=types.STYLE_RULE}var o=e.rules;if(o)for(var a=0,i=o.length,l=void 0;a<i&&(l=o[a]);a++)parseCss(l,t);return e}function _expandUnicodeEscapes(e){return e.replace(/\\([0-9a-f]{1,6})\s/gi,(function(){for(var e=arguments[1],t=6-e.length;t--;)e="0"+e;return"\\"+e}))}var types={STYLE_RULE:1,KEYFRAMES_RULE:7,MEDIA_RULE:4,MIXIN_RULE:1e3},OPEN_BRACE="{",CLOSE_BRACE="}",RX={comments:/\/\*[^*]*\*+([^/*][^*]*\*+)*\//gim,port:/@import[^;]*;/gim,customProp:/(?:^[^;\-\s}]+)?--[^;{}]*?:[^{};]*?(?:[;\n]|$)/gim,mixinProp:/(?:^[^;\-\s}]+)?--[^;{}]*?:[^{};]*?{[^}]*?}(?:[;\n]|$)?/gim,mixinApply:/@apply\s*\(?[^);]*\)?\s*(?:[;\n]|$)?/gim,varApply:/[^;:]*?:[^;]*?var\([^;]*\)(?:[;\n]|$)?/gim,keyframesRule:/^@[^\s]*keyframes/,multipleSpaces:/\s+/g},VAR_START="--",MEDIA_START="@media",AT_START="@";function findRegex(e,t,r){e.lastIndex=0;var n=t.substring(r).match(e);if(n){var s=r+n.index;return{start:s,end:s+n[0].length}}return null}var VAR_USAGE_START=/\bvar\(/,VAR_ASSIGN_START=/\B--[\w-]+\s*:/,COMMENTS=/\/\*[^*]*\*+([^/*][^*]*\*+)*\//gim,TRAILING_LINES=/^[\t ]+\n/gm;function resolveVar(e,t,r){return e[t]?e[t]:r?executeTemplate(r,e):""}function findVarEndIndex(e,t){for(var r=0,n=t;n<e.length;n++){var s=e[n];if("("===s)r++;else if(")"===s&&--r<=0)return n+1}return n}function parseVar(e,t){var r=findRegex(VAR_USAGE_START,e,t);if(!r)return null;var n=findVarEndIndex(e,r.start),s=e.substring(r.end,n-1).split(","),o=s[0],a=s.slice(1);return{start:r.start,end:n,propName:o.trim(),fallback:a.length>0?a.join(",").trim():void 0}}function compileVar(e,t,r){var n=parseVar(e,r);if(!n)return t.push(e.substring(r,e.length)),e.length;var s=n.propName,o=null!=n.fallback?compileTemplate(n.fallback):void 0;return t.push(e.substring(r,n.start),(function(e){return resolveVar(e,s,o)})),n.end}function executeTemplate(e,t){for(var r="",n=0;n<e.length;n++){var s=e[n];r+="string"==typeof s?s:s(t)}return r}function findEndValue(e,t){for(var r=!1,n=!1,s=t;s<e.length;s++){var o=e[s];if(r)n&&'"'===o&&(r=!1),n||"'"!==o||(r=!1);else if('"'===o)r=!0,n=!0;else if("'"===o)r=!0,n=!1;else{if(";"===o)return s+1;if("}"===o)return s}}return s}function removeCustomAssigns(e){for(var t="",r=0;;){var n=findRegex(VAR_ASSIGN_START,e,r),s=n?n.start:e.length;if(t+=e.substring(r,s),!n)break;r=findEndValue(e,s)}return t}function compileTemplate(e){var t=0;e=removeCustomAssigns(e=e.replace(COMMENTS,"")).replace(TRAILING_LINES,"");for(var r=[];t<e.length;)t=compileVar(e,r,t);return r}function resolveValues(e){var t={};e.forEach((function(e){e.declarations.forEach((function(e){t[e.prop]=e.value}))}));for(var r={},n=Object.entries(t),s=function(e){var t=!1;if(n.forEach((function(e){var n=e[0],s=executeTemplate(e[1],r);s!==r[n]&&(r[n]=s,t=!0)})),!t)return"break"},o=0;o<10;o++){if("break"===s())break}return r}function getSelectors(e,t){if(void 0===t&&(t=0),!e.rules)return[];var r=[];return e.rules.filter((function(e){return e.type===types.STYLE_RULE})).forEach((function(e){var n=getDeclarations(e.cssText);n.length>0&&e.parsedSelector.split(",").forEach((function(e){e=e.trim(),r.push({selector:e,declarations:n,specificity:computeSpecificity(),nu:t})})),t++})),r}function computeSpecificity(e){return 1}var IMPORTANT="!important",FIND_DECLARATIONS=/(?:^|[;\s{]\s*)(--[\w-]*?)\s*:\s*(?:((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};{])+)|\{([^}]*)\}(?:(?=[;\s}])|$))/gm;function getDeclarations(e){for(var t,r=[];t=FIND_DECLARATIONS.exec(e.trim());){var n=normalizeValue(t[2]),s=n.value,o=n.important;r.push({prop:t[1].trim(),value:compileTemplate(s),important:o})}return r}function normalizeValue(e){var t=(e=e.replace(/\s+/gim," ").trim()).endsWith(IMPORTANT);return t&&(e=e.substr(0,e.length-IMPORTANT.length).trim()),{value:e,important:t}}function getActiveSelectors(e,t,r){var n=[],s=getScopesForElement(t,e);return r.forEach((function(e){return n.push(e)})),s.forEach((function(e){return n.push(e)})),sortSelectors(getSelectorsForScopes(n).filter((function(t){return matches(e,t.selector)})))}function getScopesForElement(e,t){for(var r=[];t;){var n=e.get(t);n&&r.push(n),t=t.parentElement}return r}function getSelectorsForScopes(e){var t=[];return e.forEach((function(e){t.push.apply(t,e.selectors)})),t}function sortSelectors(e){return e.sort((function(e,t){return e.specificity===t.specificity?e.nu-t.nu:e.specificity-t.specificity})),e}function matches(e,t){return":root"===t||"html"===t||e.matches(t)}function parseCSS(e){var t=parse(e),r=compileTemplate(e);return{original:e,template:r,selectors:getSelectors(t),usesCssVars:r.length>1}}function addGlobalStyle(e,t){if(e.some((function(e){return e.styleEl===t})))return!1;var r=parseCSS(t.textContent);return r.styleEl=t,e.push(r),!0}function updateGlobalScopes(e){var t=resolveValues(getSelectorsForScopes(e));e.forEach((function(e){e.usesCssVars&&(e.styleEl.textContent=executeTemplate(e.template,t))}))}function reScope(e,t){var r=e.template.map((function(r){return"string"==typeof r?replaceScope(r,e.scopeId,t):r})),n=e.selectors.map((function(r){return __assign(__assign({},r),{selector:replaceScope(r.selector,e.scopeId,t)})}));return __assign(__assign({},e),{template:r,selectors:n,scopeId:t})}function replaceScope(e,t,r){return e=replaceAll(e,"\\.".concat(t),".".concat(r))}function replaceAll(e,t,r){return e.replace(new RegExp(t,"g"),r)}function loadDocument(e,t){return loadDocumentStyles(e,t),loadDocumentLinks(e,t).then((function(){updateGlobalScopes(t)}))}function startWatcher(e,t){"undefined"!=typeof MutationObserver&&new MutationObserver((function(){loadDocumentStyles(e,t)&&updateGlobalScopes(t)})).observe(document.head,{childList:!0})}function loadDocumentLinks(e,t){for(var r=[],n=e.querySelectorAll('link[rel="stylesheet"][href]:not([data-no-shim])'),s=0;s<n.length;s++)r.push(addGlobalLink(e,t,n[s]));return Promise.all(r)}function loadDocumentStyles(e,t){return Array.from(e.querySelectorAll("style:not([data-styles]):not([data-no-shim])")).map((function(e){return addGlobalStyle(t,e)})).some(Boolean)}function addGlobalLink(e,t,r){var n=r.href;return fetch(n).then((function(e){return e.text()})).then((function(s){if(hasCssVariables(s)&&r.parentNode){hasRelativeUrls(s)&&(s=fixRelativeUrls(s,n));var o=e.createElement("style");o.setAttribute("data-styles",""),o.textContent=s,addGlobalStyle(t,o),r.parentNode.insertBefore(o,r),r.remove()}})).catch((function(e){console.error(e)}))}var CSS_VARIABLE_REGEXP=/[\s;{]--[-a-zA-Z0-9]+\s*:/m;function hasCssVariables(e){return e.indexOf("var(")>-1||CSS_VARIABLE_REGEXP.test(e)}var CSS_URL_REGEXP=/url[\s]*\([\s]*['"]?(?!(?:https?|data)\:|\/)([^\'\"\)]*)[\s]*['"]?\)[\s]*/gim;function hasRelativeUrls(e){return CSS_URL_REGEXP.lastIndex=0,CSS_URL_REGEXP.test(e)}function fixRelativeUrls(e,t){var r=t.replace(/[^/]*$/,"");return e.replace(CSS_URL_REGEXP,(function(e,t){var n=r+t;return e.replace(t,n)}))}var CustomStyle=function(){function e(e,t){this.win=e,this.doc=t,this.count=0,this.hostStyleMap=new WeakMap,this.hostScopeMap=new WeakMap,this.globalScopes=[],this.scopesMap=new Map,this.didInit=!1}return e.prototype.i=function(){var e=this;return this.didInit||!this.win.requestAnimationFrame?Promise.resolve():(this.didInit=!0,new Promise((function(t){e.win.requestAnimationFrame((function(){startWatcher(e.doc,e.globalScopes),loadDocument(e.doc,e.globalScopes).then((function(){return t()}))}))})))},e.prototype.addLink=function(e){var t=this;return addGlobalLink(this.doc,this.globalScopes,e).then((function(){t.updateGlobal()}))},e.prototype.addGlobalStyle=function(e){addGlobalStyle(this.globalScopes,e)&&this.updateGlobal()},e.prototype.createHostStyle=function(e,t,r,n){if(this.hostScopeMap.has(e))throw new Error("host style already created");var s=this.registerHostTemplate(r,t,n),o=this.doc.createElement("style");return o.setAttribute("data-no-shim",""),s.usesCssVars?n?(o["s-sc"]=t="".concat(s.scopeId,"-").concat(this.count),o.textContent="/*needs update*/",this.hostStyleMap.set(e,o),this.hostScopeMap.set(e,reScope(s,t)),this.count++):(s.styleEl=o,s.usesCssVars||(o.textContent=executeTemplate(s.template,{})),this.globalScopes.push(s),this.updateGlobal(),this.hostScopeMap.set(e,s)):o.textContent=r,o},e.prototype.removeHost=function(e){var t=this.hostStyleMap.get(e);t&&t.remove(),this.hostStyleMap.delete(e),this.hostScopeMap.delete(e)},e.prototype.updateHost=function(e){var t=this.hostScopeMap.get(e);if(t&&t.usesCssVars&&t.isScoped){var r=this.hostStyleMap.get(e);if(r){var n=resolveValues(getActiveSelectors(e,this.hostScopeMap,this.globalScopes));r.textContent=executeTemplate(t.template,n)}}},e.prototype.updateGlobal=function(){updateGlobalScopes(this.globalScopes)},e.prototype.registerHostTemplate=function(e,t,r){var n=this.scopesMap.get(t);return n||((n=parseCSS(e)).scopeId=t,n.isScoped=r,this.scopesMap.set(t,n)),n},e}();!function(e){!e||e.__cssshim||e.CSS&&e.CSS.supports&&e.CSS.supports("color","var(--c)")||(e.__cssshim=new CustomStyle(e,e.document))}("undefined"!=typeof window&&window);
|
|
1
|
+
var __assign=this&&this.__assign||function(){return(__assign=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var s in t=arguments[r])Object.prototype.hasOwnProperty.call(t,s)&&(e[s]=t[s]);return e}).apply(this,arguments)},StyleNode=function(){this.start=0,this.end=0,this.previous=null,this.parent=null,this.rules=null,this.parsedCssText="",this.cssText="",this.atRule=!1,this.type=0,this.keyframesName="",this.selector="",this.parsedSelector=""};function parse(e){return parseCss(lex(e=clean(e)),e)}function clean(e){return e.replace(RX.comments,"").replace(RX.port,"")}function lex(e){var t=new StyleNode;t.start=0,t.end=e.length;for(var r=t,n=0,s=e.length;n<s;n++)if(e[n]===OPEN_BRACE){r.rules||(r.rules=[]);var o=r,a=o.rules[o.rules.length-1]||null;(r=new StyleNode).start=n+1,r.parent=o,r.previous=a,o.rules.push(r)}else e[n]===CLOSE_BRACE&&(r.end=n+1,r=r.parent||t);return t}function parseCss(e,t){var r=t.substring(e.start,e.end-1);if(e.parsedCssText=e.cssText=r.trim(),e.parent){var n=e.previous?e.previous.end:e.parent.start;r=(r=(r=_expandUnicodeEscapes(r=t.substring(n,e.start-1))).replace(RX.multipleSpaces," ")).substring(r.lastIndexOf(";")+1);var s=e.parsedSelector=e.selector=r.trim();e.atRule=0===s.indexOf(AT_START),e.atRule?0===s.indexOf(MEDIA_START)?e.type=types.MEDIA_RULE:s.match(RX.keyframesRule)&&(e.type=types.KEYFRAMES_RULE,e.keyframesName=e.selector.split(RX.multipleSpaces).pop()):0===s.indexOf(VAR_START)?e.type=types.MIXIN_RULE:e.type=types.STYLE_RULE}var o=e.rules;if(o)for(var a=0,i=o.length,l=void 0;a<i&&(l=o[a]);a++)parseCss(l,t);return e}function _expandUnicodeEscapes(e){return e.replace(/\\([0-9a-f]{1,6})\s/gi,(function(){for(var e=arguments[1],t=6-e.length;t--;)e="0"+e;return"\\"+e}))}var types={STYLE_RULE:1,KEYFRAMES_RULE:7,MEDIA_RULE:4,MIXIN_RULE:1e3},OPEN_BRACE="{",CLOSE_BRACE="}",RX={comments:/\/\*[^*]*\*+([^/*][^*]*\*+)*\//gim,port:/@import[^;]*;/gim,customProp:/(?:^[^;\-\s}]+)?--[^;{}]*?:[^{};]*?(?:[;\n]|$)/gim,mixinProp:/(?:^[^;\-\s}]+)?--[^;{}]*?:[^{};]*?{[^}]*?}(?:[;\n]|$)?/gim,mixinApply:/@apply\s*\(?[^);]*\)?\s*(?:[;\n]|$)?/gim,varApply:/[^;:]*?:[^;]*?var\([^;]*\)(?:[;\n]|$)?/gim,keyframesRule:/^@[^\s]*keyframes/,multipleSpaces:/\s+/g},VAR_START="--",MEDIA_START="@media",AT_START="@";function findRegex(e,t,r){e.lastIndex=0;var n=t.substring(r).match(e);if(n){var s=r+n.index;return{start:s,end:s+n[0].length}}return null}var VAR_USAGE_START=/\bvar\(/,VAR_ASSIGN_START=/\B--[\w-]+\s*:/,COMMENTS=/\/\*[^*]*\*+([^/*][^*]*\*+)*\//gim,TRAILING_LINES=/^[\t ]+\n/gm;function resolveVar(e,t,r){return e[t]?e[t]:r?executeTemplate(r,e):""}function findVarEndIndex(e,t){for(var r=0,n=t;n<e.length;n++){var s=e[n];if("("===s)r++;else if(")"===s&&--r<=0)return n+1}return n}function parseVar(e,t){var r=findRegex(VAR_USAGE_START,e,t);if(!r)return null;var n=findVarEndIndex(e,r.start),s=e.substring(r.end,n-1).split(","),o=s[0],a=s.slice(1);return{start:r.start,end:n,propName:o.trim(),fallback:a.length>0?a.join(",").trim():void 0}}function compileVar(e,t,r){var n=parseVar(e,r);if(!n)return t.push(e.substring(r,e.length)),e.length;var s=n.propName,o=null!=n.fallback?compileTemplate(n.fallback):void 0;return t.push(e.substring(r,n.start),(function(e){return resolveVar(e,s,o)})),n.end}function executeTemplate(e,t){for(var r="",n=0;n<e.length;n++){var s=e[n];r+="string"==typeof s?s:s(t)}return r}function findEndValue(e,t){for(var r=!1,n=!1,s=t;s<e.length;s++){var o=e[s];if(r)n&&'"'===o&&(r=!1),n||"'"!==o||(r=!1);else if('"'===o)r=!0,n=!0;else if("'"===o)r=!0,n=!1;else{if(";"===o)return s+1;if("}"===o)return s}}return s}function removeCustomAssigns(e){for(var t="",r=0;;){var n=findRegex(VAR_ASSIGN_START,e,r),s=n?n.start:e.length;if(t+=e.substring(r,s),!n)break;r=findEndValue(e,s)}return t}function compileTemplate(e){var t=0;e=removeCustomAssigns(e=e.replace(COMMENTS,"")).replace(TRAILING_LINES,"");for(var r=[];t<e.length;)t=compileVar(e,r,t);return r}function resolveValues(e){var t={};e.forEach((function(e){e.declarations.forEach((function(e){t[e.prop]=e.value}))}));for(var r={},n=Object.entries(t),s=function(e){var t=!1;if(n.forEach((function(e){var n=e[0],s=executeTemplate(e[1],r);s!==r[n]&&(r[n]=s,t=!0)})),!t)return"break"},o=0;o<10;o++){if("break"===s())break}return r}function getSelectors(e,t){if(void 0===t&&(t=0),!e.rules)return[];var r=[];return e.rules.filter((function(e){return e.type===types.STYLE_RULE})).forEach((function(e){var n=getDeclarations(e.cssText);n.length>0&&e.parsedSelector.split(",").forEach((function(e){e=e.trim(),r.push({selector:e,declarations:n,specificity:computeSpecificity(),nu:t})})),t++})),r}function computeSpecificity(e){return 1}var IMPORTANT="!important",FIND_DECLARATIONS=/(?:^|[;\s{]\s*)(--[\w-]*?)\s*:\s*(?:((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};{])+)|\{([^}]*)\}(?:(?=[;\s}])|$))/gm;function getDeclarations(e){for(var t,r=[];t=FIND_DECLARATIONS.exec(e.trim());){var n=normalizeValue(t[2]),s=n.value,o=n.important;r.push({prop:t[1].trim(),value:compileTemplate(s),important:o})}return r}function normalizeValue(e){var t=(e=e.replace(/\s+/gim," ").trim()).endsWith(IMPORTANT);return t&&(e=e.substr(0,e.length-IMPORTANT.length).trim()),{value:e,important:t}}function getActiveSelectors(e,t,r){var n=[],s=getScopesForElement(t,e);return r.forEach((function(e){return n.push(e)})),s.forEach((function(e){return n.push(e)})),sortSelectors(getSelectorsForScopes(n).filter((function(t){return matches(e,t.selector)})))}function getScopesForElement(e,t){for(var r=[];t;){var n=e.get(t);n&&r.push(n),t=t.parentElement}return r}function getSelectorsForScopes(e){var t=[];return e.forEach((function(e){t.push.apply(t,e.selectors)})),t}function sortSelectors(e){return e.sort((function(e,t){return e.specificity===t.specificity?e.nu-t.nu:e.specificity-t.specificity})),e}function matches(e,t){return":root"===t||"html"===t||e.matches(t)}function parseCSS(e){var t=parse(e),r=compileTemplate(e);return{original:e,template:r,selectors:getSelectors(t),usesCssVars:r.length>1}}function addGlobalStyle(e,t){if(e.some((function(e){return e.styleEl===t})))return!1;var r=parseCSS(t.textContent);return r.styleEl=t,e.push(r),!0}function updateGlobalScopes(e){var t=resolveValues(getSelectorsForScopes(e));e.forEach((function(e){e.usesCssVars&&(e.styleEl.textContent=executeTemplate(e.template,t))}))}function reScope(e,t){var r=e.template.map((function(r){return"string"==typeof r?replaceScope(r,e.scopeId,t):r})),n=e.selectors.map((function(r){return __assign(__assign({},r),{selector:replaceScope(r.selector,e.scopeId,t)})}));return __assign(__assign({},e),{template:r,selectors:n,scopeId:t})}function replaceScope(e,t,r){return e=replaceAll(e,"\\."+t,"."+r)}function replaceAll(e,t,r){return e.replace(new RegExp(t,"g"),r)}function loadDocument(e,t){return loadDocumentStyles(e,t),loadDocumentLinks(e,t).then((function(){updateGlobalScopes(t)}))}function startWatcher(e,t){"undefined"!=typeof MutationObserver&&new MutationObserver((function(){loadDocumentStyles(e,t)&&updateGlobalScopes(t)})).observe(document.head,{childList:!0})}function loadDocumentLinks(e,t){for(var r=[],n=e.querySelectorAll('link[rel="stylesheet"][href]:not([data-no-shim])'),s=0;s<n.length;s++)r.push(addGlobalLink(e,t,n[s]));return Promise.all(r)}function loadDocumentStyles(e,t){return Array.from(e.querySelectorAll("style:not([data-styles]):not([data-no-shim])")).map((function(e){return addGlobalStyle(t,e)})).some(Boolean)}function addGlobalLink(e,t,r){var n=r.href;return fetch(n).then((function(e){return e.text()})).then((function(s){if(hasCssVariables(s)&&r.parentNode){hasRelativeUrls(s)&&(s=fixRelativeUrls(s,n));var o=e.createElement("style");o.setAttribute("data-styles",""),o.textContent=s,addGlobalStyle(t,o),r.parentNode.insertBefore(o,r),r.remove()}})).catch((function(e){console.error(e)}))}var CSS_VARIABLE_REGEXP=/[\s;{]--[-a-zA-Z0-9]+\s*:/m;function hasCssVariables(e){return e.indexOf("var(")>-1||CSS_VARIABLE_REGEXP.test(e)}var CSS_URL_REGEXP=/url[\s]*\([\s]*['"]?(?!(?:https?|data)\:|\/)([^\'\"\)]*)[\s]*['"]?\)[\s]*/gim;function hasRelativeUrls(e){return CSS_URL_REGEXP.lastIndex=0,CSS_URL_REGEXP.test(e)}function fixRelativeUrls(e,t){var r=t.replace(/[^/]*$/,"");return e.replace(CSS_URL_REGEXP,(function(e,t){var n=r+t;return e.replace(t,n)}))}var CustomStyle=function(){function e(e,t){this.win=e,this.doc=t,this.count=0,this.hostStyleMap=new WeakMap,this.hostScopeMap=new WeakMap,this.globalScopes=[],this.scopesMap=new Map,this.didInit=!1}return e.prototype.i=function(){var e=this;return this.didInit||!this.win.requestAnimationFrame?Promise.resolve():(this.didInit=!0,new Promise((function(t){e.win.requestAnimationFrame((function(){startWatcher(e.doc,e.globalScopes),loadDocument(e.doc,e.globalScopes).then((function(){return t()}))}))})))},e.prototype.addLink=function(e){var t=this;return addGlobalLink(this.doc,this.globalScopes,e).then((function(){t.updateGlobal()}))},e.prototype.addGlobalStyle=function(e){addGlobalStyle(this.globalScopes,e)&&this.updateGlobal()},e.prototype.createHostStyle=function(e,t,r,n){if(this.hostScopeMap.has(e))throw new Error("host style already created");var s=this.registerHostTemplate(r,t,n),o=this.doc.createElement("style");return o.setAttribute("data-no-shim",""),s.usesCssVars?n?(o["s-sc"]=t=s.scopeId+"-"+this.count,o.textContent="/*needs update*/",this.hostStyleMap.set(e,o),this.hostScopeMap.set(e,reScope(s,t)),this.count++):(s.styleEl=o,s.usesCssVars||(o.textContent=executeTemplate(s.template,{})),this.globalScopes.push(s),this.updateGlobal(),this.hostScopeMap.set(e,s)):o.textContent=r,o},e.prototype.removeHost=function(e){var t=this.hostStyleMap.get(e);t&&t.remove(),this.hostStyleMap.delete(e),this.hostScopeMap.delete(e)},e.prototype.updateHost=function(e){var t=this.hostScopeMap.get(e);if(t&&t.usesCssVars&&t.isScoped){var r=this.hostStyleMap.get(e);if(r){var n=resolveValues(getActiveSelectors(e,this.hostScopeMap,this.globalScopes));r.textContent=executeTemplate(t.template,n)}}},e.prototype.updateGlobal=function(){updateGlobalScopes(this.globalScopes)},e.prototype.registerHostTemplate=function(e,t,r){var n=this.scopesMap.get(t);return n||((n=parseCSS(e)).scopeId=t,n.isScoped=r,this.scopesMap.set(t,n)),n},e}();!function(e){!e||e.__cssshim||e.CSS&&e.CSS.supports&&e.CSS.supports("color","var(--c)")||(e.__cssshim=new CustomStyle(e,e.document))}("undefined"!=typeof window&&window);
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|