ku4web-components 6.4.82 → 6.4.85
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/angular/index.js +1 -1
- package/angular/index.mjs +1 -1
- package/dist/cjs/app-globals-3a1e7e63.js +5 -0
- package/dist/cjs/css-shim-af499675.js +6 -0
- package/dist/cjs/dom-0e8e7262.js +75 -0
- package/dist/cjs/index-31267995.js +3093 -0
- package/dist/cjs/index-517c4086.js +14 -0
- package/dist/cjs/{index-a7b6d98c.js → index-845c56d4.js} +1 -1
- package/dist/cjs/index-a80ad36d.js +10 -0
- package/dist/cjs/{index-f78c109e.js → index-d1d73823.js} +1 -1
- package/dist/cjs/index-d6fca091.js +10 -0
- package/dist/cjs/ku4-carousel-controls.cjs.entry.js +6 -6
- package/dist/cjs/ku4-carousel-slide.cjs.entry.js +1 -1
- package/dist/cjs/ku4-carousel.cjs.entry.js +14 -7
- package/dist/cjs/ku4-col.cjs.entry.js +1 -1
- package/dist/cjs/ku4-drawer.cjs.entry.js +1 -1
- package/dist/cjs/ku4-feature.cjs.entry.js +2 -2
- package/dist/cjs/ku4-focus-trap.cjs.entry.js +26 -26
- package/dist/cjs/ku4-form.cjs.entry.js +3 -3
- package/dist/cjs/ku4-grid.cjs.entry.js +1 -1
- package/dist/cjs/ku4-label.cjs.entry.js +2 -2
- package/dist/cjs/ku4-mask.cjs.entry.js +2 -2
- package/dist/cjs/ku4-modal.cjs.entry.js +3 -3
- package/dist/cjs/ku4-panel.cjs.entry.js +1 -1
- package/dist/cjs/ku4-preview.cjs.entry.js +43 -14
- package/dist/cjs/ku4-tab-list.cjs.entry.js +4 -4
- package/dist/cjs/ku4-tab-panel.cjs.entry.js +3 -3
- package/dist/cjs/ku4-tab.cjs.entry.js +3 -3
- package/dist/cjs/ku4-table.cjs.entry.js +1 -1
- package/dist/cjs/ku4-tooltip.cjs.entry.js +2 -2
- package/dist/cjs/ku4-validation.cjs.entry.js +2 -2
- package/dist/cjs/ku4web-components.cjs.js +103 -8
- package/dist/cjs/loader.cjs.js +19 -3
- package/dist/cjs/{shadow-css-78860e39.js → shadow-css-546083ef.js} +1 -1
- package/dist/cjs/{uid-97baaecc.js → uid-65cb3869.js} +1 -1
- package/dist/cjs/uid-8ec2f63e.js +11 -0
- package/dist/collection/capabilities/a11y/aria.js +26 -0
- package/dist/collection/capabilities/angular/index.js +24 -0
- package/dist/collection/capabilities/decorators/deprecated.js +20 -0
- package/dist/collection/capabilities/decorators/index.js +3 -0
- package/dist/collection/capabilities/decorators/memoize.js +7 -0
- package/dist/collection/capabilities/dom/isFocusable.js +7 -0
- package/dist/collection/capabilities/dom/queryFocusable.js +2 -0
- package/dist/collection/capabilities/identity/uid.js +6 -0
- package/dist/collection/capabilities/mask/index.js +5 -0
- package/dist/collection/capabilities/mask/patterns/date.js +40 -0
- package/dist/collection/capabilities/mask/patterns/index.js +7 -0
- package/dist/collection/capabilities/react/index.js +25 -0
- package/dist/collection/capabilities/testing/html.js +14 -0
- package/dist/collection/capabilities/testing/styles.js +14 -0
- package/dist/collection/capabilities/vue/index.js +28 -0
- package/dist/collection/capabilities/vue3/index.js +26 -0
- package/dist/collection/collection-manifest.json +31 -0
- package/dist/collection/components/ku4-carousel/ku4-carousel.css +221 -0
- package/dist/collection/components/ku4-carousel/ku4-carousel.js +369 -0
- package/dist/collection/components/ku4-carousel-controls/ku4-carousel-controls.css +32 -0
- package/dist/collection/components/ku4-carousel-controls/ku4-carousel-controls.js +112 -0
- package/dist/collection/components/ku4-carousel-slide/ku4-carousel-slide.css +3 -0
- package/dist/collection/components/ku4-carousel-slide/ku4-carousel-slide.js +159 -0
- package/dist/collection/components/ku4-col/ku4-col.css +601 -0
- package/dist/collection/components/ku4-col/ku4-col.js +288 -0
- package/dist/collection/components/ku4-drawer/ku4-drawer.css +56 -0
- package/dist/collection/components/ku4-drawer/ku4-drawer.js +163 -0
- package/dist/collection/components/ku4-feature/ku4-feature.js +70 -0
- package/dist/collection/components/ku4-focus-trap/ku4-focus-trap.css +3 -0
- package/dist/collection/components/ku4-focus-trap/ku4-focus-trap.js +441 -0
- package/dist/collection/components/ku4-form/ku4-form.js +225 -0
- package/dist/collection/components/ku4-grid/ku4-grid.css +751 -0
- package/dist/collection/components/ku4-grid/ku4-grid.js +408 -0
- package/dist/collection/components/ku4-label/ku4-label.css +36 -0
- package/dist/collection/components/ku4-label/ku4-label.js +115 -0
- package/dist/collection/components/ku4-mask/ku4-mask.css +3 -0
- package/dist/collection/components/ku4-mask/ku4-mask.js +458 -0
- package/dist/collection/components/ku4-modal/ku4-modal.css +85 -0
- package/dist/collection/components/ku4-modal/ku4-modal.js +208 -0
- package/dist/collection/components/ku4-panel/ku4-panel.css +14 -0
- package/dist/collection/components/ku4-panel/ku4-panel.js +119 -0
- package/dist/collection/components/ku4-preview/ku4-preview.css +23 -0
- package/dist/collection/components/ku4-preview/ku4-preview.js +266 -0
- package/dist/collection/components/ku4-tab/ku4-tab.css +82 -0
- package/dist/collection/components/ku4-tab/ku4-tab.js +191 -0
- package/dist/collection/components/ku4-tab-list/ku4-tab-list.css +6 -0
- package/dist/collection/components/ku4-tab-list/ku4-tab-list.js +118 -0
- package/dist/collection/components/ku4-tab-panel/ku4-tab-panel.css +26 -0
- package/dist/collection/components/ku4-tab-panel/ku4-tab-panel.js +166 -0
- package/dist/collection/components/ku4-table/ku4-table.css +116 -0
- package/dist/collection/components/ku4-table/ku4-table.js +120 -0
- package/dist/collection/components/ku4-tooltip/ku4-tooltip.css +56 -0
- package/dist/collection/components/ku4-tooltip/ku4-tooltip.js +274 -0
- package/dist/collection/components/ku4-validation/ku4-validation.css +19 -0
- package/dist/collection/components/ku4-validation/ku4-validation.js +364 -0
- package/dist/collection/components/ku4-validation/validate.js +14 -0
- package/dist/collection/index.js +1 -0
- package/dist/collection/security.js +27 -0
- package/dist/esm/app-globals-0f993ce5.js +3 -0
- package/dist/esm/css-shim-5697df59.js +4 -0
- package/dist/esm/dom-1d32cb7b.js +73 -0
- package/dist/esm/index-135dacad.js +3 -0
- package/dist/esm/{index-81a98b72.js → index-45c399b0.js} +1 -1
- package/dist/esm/{index-bdb0771a.js → index-49940d9d.js} +1 -1
- package/dist/esm/index-52b04dce.js +3057 -0
- package/dist/esm/index-bbaf160c.js +3 -0
- package/dist/esm/index-f13d1b41.js +3 -0
- package/dist/esm/ku4-carousel-controls.entry.js +6 -6
- package/dist/esm/ku4-carousel-slide.entry.js +1 -1
- package/dist/esm/ku4-carousel.entry.js +14 -7
- package/dist/esm/ku4-col.entry.js +1 -1
- package/dist/esm/ku4-drawer.entry.js +1 -1
- package/dist/esm/ku4-feature.entry.js +2 -2
- package/dist/esm/ku4-focus-trap.entry.js +3 -3
- package/dist/esm/ku4-form.entry.js +3 -3
- package/dist/esm/ku4-grid.entry.js +1 -1
- package/dist/esm/ku4-label.entry.js +2 -2
- package/dist/esm/ku4-mask.entry.js +2 -2
- package/dist/esm/ku4-modal.entry.js +3 -3
- package/dist/esm/ku4-panel.entry.js +1 -1
- package/dist/esm/ku4-preview.entry.js +34 -5
- package/dist/esm/ku4-tab-list.entry.js +4 -4
- package/dist/esm/ku4-tab-panel.entry.js +3 -3
- package/dist/esm/ku4-tab.entry.js +3 -3
- package/dist/esm/ku4-table.entry.js +1 -1
- package/dist/esm/ku4-tooltip.entry.js +2 -2
- package/dist/esm/ku4-validation.entry.js +2 -2
- package/dist/esm/ku4web-components.js +103 -8
- package/dist/esm/loader.js +19 -3
- package/dist/esm/polyfills/css-shim.js +1 -1
- package/dist/esm/{shadow-css-4d56fa31.js → shadow-css-dfa0587f.js} +1 -1
- package/dist/esm/{uid-1ec3509b.js → uid-18bb1d2b.js} +1 -1
- package/dist/esm/uid-a7ff854d.js +9 -0
- package/dist/esm-es5/{index-81a98b72.js → index-45c399b0.js} +1 -1
- package/dist/esm-es5/{index-bdb0771a.js → index-49940d9d.js} +1 -1
- package/dist/esm-es5/{index-316624d1.js → index-bbaf160c.js} +1 -1
- package/dist/esm-es5/ku4-carousel-controls.entry.js +1 -1
- package/dist/esm-es5/ku4-carousel-slide.entry.js +1 -1
- package/dist/esm-es5/ku4-carousel.entry.js +1 -1
- package/dist/esm-es5/ku4-col.entry.js +1 -1
- package/dist/esm-es5/ku4-drawer.entry.js +1 -1
- package/dist/esm-es5/ku4-feature.entry.js +1 -1
- package/dist/esm-es5/ku4-focus-trap.entry.js +1 -1
- package/dist/esm-es5/ku4-form.entry.js +1 -1
- package/dist/esm-es5/ku4-grid.entry.js +1 -1
- package/dist/esm-es5/ku4-label.entry.js +1 -1
- package/dist/esm-es5/ku4-mask.entry.js +1 -1
- package/dist/esm-es5/ku4-modal.entry.js +1 -1
- package/dist/esm-es5/ku4-panel.entry.js +1 -1
- package/dist/esm-es5/ku4-preview.entry.js +1 -1
- package/dist/esm-es5/ku4-tab-list.entry.js +1 -1
- package/dist/esm-es5/ku4-tab-panel.entry.js +1 -1
- package/dist/esm-es5/ku4-tab.entry.js +1 -1
- package/dist/esm-es5/ku4-table.entry.js +1 -1
- package/dist/esm-es5/ku4-tooltip.entry.js +1 -1
- package/dist/esm-es5/ku4-validation.entry.js +1 -1
- package/dist/esm-es5/ku4web-components.js +1 -1
- package/dist/esm-es5/loader.js +1 -1
- package/dist/esm-es5/{shadow-css-4d56fa31.js → shadow-css-dfa0587f.js} +0 -0
- package/dist/esm-es5/uid-18bb1d2b.js +1 -0
- package/dist/index.js +1 -1
- package/dist/ku4web-components/app-globals-0f993ce5.js +3 -0
- package/dist/ku4web-components/app-globals-497eb362.system.js +1 -0
- package/dist/ku4web-components/css-shim-2eb8ce1f.system.js +1 -0
- package/dist/ku4web-components/css-shim-5697df59.js +4 -0
- package/dist/ku4web-components/dom-1d32cb7b.js +73 -0
- package/dist/ku4web-components/dom-e6a9d306.system.js +21 -0
- package/dist/ku4web-components/index-135dacad.js +3 -0
- package/dist/ku4web-components/index-4036ffa2.system.js +1 -0
- package/dist/ku4web-components/index-52b04dce.js +3057 -0
- package/dist/ku4web-components/index-9bb2580f.system.js +1 -0
- package/dist/ku4web-components/index-dcd9a8a7.system.js +1 -0
- package/dist/ku4web-components/index-f13d1b41.js +3 -0
- package/dist/ku4web-components/index.esm.js +1 -0
- package/dist/ku4web-components/index.system.js +1 -0
- package/dist/ku4web-components/ku4-carousel-controls.entry.js +89 -0
- package/dist/ku4web-components/ku4-carousel-controls.system.entry.js +1 -0
- package/dist/ku4web-components/ku4-carousel-slide.entry.js +47 -0
- package/dist/ku4web-components/ku4-carousel-slide.system.entry.js +1 -0
- package/dist/ku4web-components/ku4-carousel.entry.js +175 -0
- package/dist/ku4web-components/ku4-carousel.system.entry.js +1 -0
- package/dist/ku4web-components/ku4-col.entry.js +75 -0
- package/dist/ku4web-components/ku4-col.system.entry.js +1 -0
- package/dist/ku4web-components/ku4-drawer.entry.js +35 -0
- package/dist/ku4web-components/ku4-drawer.system.entry.js +1 -0
- package/dist/ku4web-components/ku4-feature.entry.js +29 -0
- package/dist/ku4web-components/ku4-feature.system.entry.js +1 -0
- package/dist/ku4web-components/ku4-focus-trap.entry.js +323 -0
- package/dist/ku4web-components/ku4-focus-trap.system.entry.js +1 -0
- package/dist/ku4web-components/ku4-form.entry.js +112 -0
- package/dist/ku4web-components/ku4-form.system.entry.js +1 -0
- package/dist/ku4web-components/ku4-grid.entry.js +108 -0
- package/dist/ku4web-components/ku4-grid.system.entry.js +1 -0
- package/dist/ku4web-components/ku4-label.entry.js +70 -0
- package/dist/ku4web-components/ku4-label.system.entry.js +1 -0
- package/dist/ku4web-components/ku4-mask.entry.js +342 -0
- package/dist/ku4web-components/ku4-mask.system.entry.js +1 -0
- package/dist/ku4web-components/ku4-modal.entry.js +75 -0
- package/dist/ku4web-components/ku4-modal.system.entry.js +1 -0
- package/dist/ku4web-components/ku4-panel.entry.js +49 -0
- package/dist/ku4web-components/ku4-panel.system.entry.js +1 -0
- package/dist/ku4web-components/ku4-preview.entry.js +128 -0
- package/dist/ku4web-components/ku4-preview.system.entry.js +1 -0
- package/dist/ku4web-components/ku4-tab-list.entry.js +76 -0
- package/dist/ku4web-components/ku4-tab-list.system.entry.js +1 -0
- package/dist/ku4web-components/ku4-tab-panel.entry.js +72 -0
- package/dist/ku4web-components/ku4-tab-panel.system.entry.js +1 -0
- package/dist/ku4web-components/ku4-tab.entry.js +63 -0
- package/dist/ku4web-components/ku4-tab.system.entry.js +1 -0
- package/dist/ku4web-components/ku4-table.entry.js +79 -0
- package/dist/ku4web-components/ku4-table.system.entry.js +1 -0
- package/dist/ku4web-components/ku4-tooltip.entry.js +120 -0
- package/dist/ku4web-components/ku4-tooltip.system.entry.js +1 -0
- package/dist/ku4web-components/ku4-validation.entry.js +162 -0
- package/dist/ku4web-components/ku4-validation.system.entry.js +1 -0
- package/dist/ku4web-components/ku4web-components.css +299 -1
- package/dist/ku4web-components/ku4web-components.esm.js +129 -1
- package/dist/ku4web-components/ku4web-components.js +1 -1
- package/dist/ku4web-components/ku4web-components.system.js +1 -0
- package/dist/ku4web-components/{p-0adeb8e4.entry.js → p-005353c6.entry.js} +1 -1
- package/dist/ku4web-components/{p-66b8247f.entry.js → p-09f09ad6.entry.js} +1 -1
- package/dist/ku4web-components/{p-6b9e3523.system.entry.js → p-09f10910.system.entry.js} +1 -1
- package/dist/ku4web-components/{p-32e9a8d0.system.entry.js → p-0d156607.system.entry.js} +1 -1
- package/dist/ku4web-components/p-0eae47a2.entry.js +1 -0
- package/dist/ku4web-components/{p-818caf0f.entry.js → p-1380f375.entry.js} +1 -1
- package/dist/ku4web-components/{p-95698618.system.entry.js → p-138904dc.system.entry.js} +1 -1
- package/dist/ku4web-components/{p-acb43765.system.entry.js → p-1cdd4c7f.system.entry.js} +1 -1
- package/dist/ku4web-components/{p-61214088.entry.js → p-1fbc37de.entry.js} +1 -1
- package/dist/ku4web-components/{p-5fcea805.entry.js → p-20d3e65d.entry.js} +1 -1
- package/dist/ku4web-components/{p-6cfd9011.system.entry.js → p-24bf4b99.system.entry.js} +1 -1
- package/dist/ku4web-components/p-2c059443.js +1 -0
- package/dist/ku4web-components/{p-5f9d0077.entry.js → p-38453b51.entry.js} +1 -1
- package/dist/ku4web-components/{p-7bfc256a.system.entry.js → p-3b70ff65.system.entry.js} +1 -1
- package/dist/ku4web-components/{p-e6b3a708.js → p-42dd73f2.js} +1 -1
- package/dist/ku4web-components/{p-136e5a03.system.entry.js → p-4d4d3cc4.system.entry.js} +1 -1
- package/dist/ku4web-components/{p-097ba217.entry.js → p-509b8f00.entry.js} +1 -1
- package/dist/ku4web-components/{p-073cefec.system.entry.js → p-53605e68.system.entry.js} +1 -1
- package/dist/ku4web-components/{p-050f184b.system.entry.js → p-5a60b1d4.system.entry.js} +1 -1
- package/dist/ku4web-components/{p-3a0d1ff7.system.entry.js → p-5a6bad52.system.entry.js} +1 -1
- package/dist/ku4web-components/{p-a0d0c99e.system.entry.js → p-5c6c6207.system.entry.js} +1 -1
- package/dist/ku4web-components/{p-881e100a.js → p-5e796581.js} +0 -0
- package/dist/ku4web-components/{p-ba9edd72.js → p-6d2e8227.js} +1 -1
- package/dist/ku4web-components/{p-f3fbe1e6.entry.js → p-72219668.entry.js} +1 -1
- package/dist/ku4web-components/{p-596beaad.system.entry.js → p-774dbc9e.system.entry.js} +1 -1
- package/dist/ku4web-components/{p-96ec7b4f.system.js → p-829fb4ce.system.js} +1 -1
- package/dist/ku4web-components/{p-fbf3ad1e.system.js → p-8b2d8a2a.system.js} +0 -0
- package/dist/ku4web-components/{p-c3293202.system.js → p-8bf22b59.system.js} +1 -1
- package/dist/ku4web-components/p-955c91e2.system.js +1 -0
- package/dist/ku4web-components/{p-288482da.system.entry.js → p-9ba0f967.system.entry.js} +1 -1
- package/dist/ku4web-components/{p-49275772.entry.js → p-a5f54bc0.entry.js} +1 -1
- package/dist/ku4web-components/{p-d848909c.system.entry.js → p-a61f7c42.system.entry.js} +1 -1
- package/dist/ku4web-components/{p-1d5a1caf.system.entry.js → p-ac73d0e7.system.entry.js} +1 -1
- package/dist/ku4web-components/{p-189cde73.js → p-b4f47084.js} +1 -1
- package/dist/ku4web-components/{p-ea4b32de.system.entry.js → p-bd83ef31.system.entry.js} +1 -1
- package/dist/ku4web-components/{p-02328d34.system.entry.js → p-c0a165e0.system.entry.js} +1 -1
- package/dist/ku4web-components/{p-3f4082d5.entry.js → p-c92e1e4b.entry.js} +1 -1
- package/dist/ku4web-components/{p-d8868855.entry.js → p-ccf5f75c.entry.js} +1 -1
- package/dist/ku4web-components/{p-0f77bef9.system.js → p-d66b1c43.system.js} +1 -1
- package/dist/ku4web-components/{p-a352f533.system.js → p-da75dba2.system.js} +1 -1
- package/dist/ku4web-components/{p-cd0d0b40.entry.js → p-dd0d306b.entry.js} +1 -1
- package/dist/ku4web-components/{p-52d815ab.system.entry.js → p-e550fd09.system.entry.js} +1 -1
- package/dist/ku4web-components/{p-3f2a008c.entry.js → p-e8d5dcce.entry.js} +1 -1
- package/dist/ku4web-components/{p-b47bb3d0.entry.js → p-ecf06d64.entry.js} +1 -1
- package/dist/ku4web-components/p-edeec4c4.entry.js +1 -0
- package/dist/ku4web-components/{p-0ce97586.entry.js → p-edfa2aea.entry.js} +1 -1
- package/dist/ku4web-components/{p-8642aef5.entry.js → p-ef0b529f.entry.js} +1 -1
- package/dist/ku4web-components/{p-c798faf2.entry.js → p-f2a603c3.entry.js} +1 -1
- package/dist/ku4web-components/{p-fc0c3bf4.system.entry.js → p-f6ba4337.system.entry.js} +1 -1
- package/dist/ku4web-components/{p-3f147a02.entry.js → p-fd6bcdde.entry.js} +1 -1
- package/dist/ku4web-components/{p-524cef27.system.entry.js → p-fdd14ecc.system.entry.js} +1 -1
- package/dist/ku4web-components/shadow-css-6a0a96e7.system.js +13 -0
- package/dist/ku4web-components/shadow-css-dfa0587f.js +388 -0
- package/dist/ku4web-components/uid-3373ce49.system.js +1 -0
- package/dist/ku4web-components/uid-a7ff854d.js +9 -0
- package/dist/types/components/ku4-carousel/ku4-carousel.d.ts +3 -2
- package/dist/types/components.d.ts +2 -2
- package/package.json +26 -26
- package/react/index.js +1 -1
- package/react/index.mjs +1 -1
- package/vue/index.js +1 -1
- package/vue/index.mjs +1 -1
- package/vue3/index.js +1 -1
- package/vue3/index.mjs +1 -1
- package/dist/cjs/index-a530dbc9.js +0 -10
- package/dist/esm/index-316624d1.js +0 -3
- package/dist/esm-es5/uid-1ec3509b.js +0 -1
- package/dist/ku4web-components/p-17d548db.js +0 -1
- package/dist/ku4web-components/p-cd4cdcbb.entry.js +0 -1
- package/dist/ku4web-components/p-d17f65a6.entry.js +0 -1
- package/dist/ku4web-components/p-db3040f3.system.js +0 -1
@@ -0,0 +1 @@
|
|
1
|
+
var __awaiter=this&&this.__awaiter||function(t,e,o,r){function a(t){return t instanceof o?t:new o((function(e){e(t)}))}return new(o||(o=Promise))((function(o,n){function i(t){try{u(r.next(t))}catch(e){n(e)}}function s(t){try{u(r["throw"](t))}catch(e){n(e)}}function u(t){t.done?o(t.value):a(t.value).then(i,s)}u((r=r.apply(t,e||[])).next())}))};var __generator=this&&this.__generator||function(t,e){var o={label:0,sent:function(){if(n[0]&1)throw n[1];return n[1]},trys:[],ops:[]},r,a,n,i;return i={next:s(0),throw:s(1),return:s(2)},typeof Symbol==="function"&&(i[Symbol.iterator]=function(){return this}),i;function s(t){return function(e){return u([t,e])}}function u(i){if(r)throw new TypeError("Generator is already executing.");while(o)try{if(r=1,a&&(n=i[0]&2?a["return"]:i[0]?a["throw"]||((n=a["return"])&&n.call(a),0):a.next)&&!(n=n.call(a,i[1])).done)return n;if(a=0,n)i=[i[0]&2,n.value];switch(i[0]){case 0:case 1:n=i;break;case 4:o.label++;return{value:i[1],done:false};case 5:o.label++;a=i[1];i=[0];continue;case 7:i=o.ops.pop();o.trys.pop();continue;default:if(!(n=o.trys,n=n.length>0&&n[n.length-1])&&(i[0]===6||i[0]===2)){o=0;continue}if(i[0]===3&&(!n||i[1]>n[0]&&i[1]<n[3])){o.label=i[1];break}if(i[0]===6&&o.label<n[1]){o.label=n[1];n=i;break}if(n&&o.label<n[2]){o.label=n[2];o.ops.push(i);break}if(n[2])o.ops.pop();o.trys.pop();continue}i=e.call(t,o)}catch(s){i=[6,s];a=0}finally{r=n=0}if(i[0]&5)throw i[1];return{value:i[0]?i[1]:void 0,done:true}}};System.register(["./index-4036ffa2.system.js","./index-dcd9a8a7.system.js","./index-9bb2580f.system.js"],(function(t){"use strict";var e,o,r,a,n,i,s,u,c;return{setters:[function(t){e=t.r;o=t.e;r=t.h;a=t.f;n=t.g},function(t){i=t.L;s=t.Y;u=t.c},function(t){c=t.S}],execute:function(){var l="@-webkit-keyframes ku4-carousel-enter-left{0%{top:0;-webkit-transform:translate3d(-100%, 0, 0);transform:translate3d(-100%, 0, 0);opacity:0}100%{top:0;-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0);opacity:1}}@keyframes ku4-carousel-enter-left{0%{top:0;-webkit-transform:translate3d(-100%, 0, 0);transform:translate3d(-100%, 0, 0);opacity:0}100%{top:0;-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0);opacity:1}}@-webkit-keyframes ku4-carousel-enter-right{0%{top:0;-webkit-transform:translate3d(100%, 0, 0);transform:translate3d(100%, 0, 0);opacity:0}100%{top:0;-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0);opacity:1}}@keyframes ku4-carousel-enter-right{0%{top:0;-webkit-transform:translate3d(100%, 0, 0);transform:translate3d(100%, 0, 0);opacity:0}100%{top:0;-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0);opacity:1}}@-webkit-keyframes ku4-carousel-exit-left{0%{top:0;-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0);opacity:1}100%{top:0;-webkit-transform:translate3d(-100%, 0, 0);transform:translate3d(-100%, 0, 0);opacity:0}}@keyframes ku4-carousel-exit-left{0%{top:0;-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0);opacity:1}100%{top:0;-webkit-transform:translate3d(-100%, 0, 0);transform:translate3d(-100%, 0, 0);opacity:0}}@-webkit-keyframes ku4-carousel-exit-right{0%{top:0;-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0);opacity:1}100%{top:0;-webkit-transform:translate3d(100%, 0, 0);transform:translate3d(100%, 0, 0);opacity:0}}@keyframes ku4-carousel-exit-right{0%{top:0;-webkit-transform:translate3d(0, 0, 0);transform:translate3d(0, 0, 0);opacity:1}100%{top:0;-webkit-transform:translate3d(100%, 0, 0);transform:translate3d(100%, 0, 0);opacity:0}}:host{position:relative;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;-ms-flex-align:center;align-items:center;overflow:hidden;background-color:var(--ku4-carousel-background-color, #fff)}.slide-container{position:relative;width:100%;height:100%;overflow:hidden}.controls .next,.controls .prev{position:absolute;display:var(--ku4-carousel-controls-display, block);top:var(--ku4-carousel-controls-top, 0);border:var(--ku4-carousel-controls-border, none);background-color:var(--ku4-carousel-controls-background-color, #fff);font-family:var(--ku4-carousel-controls-font-family, Helvetica, Arial, sans-serif);font-weight:var(--ku4-carousel-controls-font-weight, 400);font-size:var(--ku4-carousel-controls-font-size, 8px);line-height:var(--ku4-carousel-controls-line-height, 12px);opacity:var(--ku4-carousel-controls-opacity, 0.2);z-index:var(--ku4-carousel-controls-z-index, 2)}.controls .next:focus,.controls .prev:focus{background-color:var(--ku4-carousel-controls-focus-background-color, transparent);outline:var(--ku4-carousel-controls-focus-outline, none);opacity:var(--ku4-carousel-controls-focus-opacity, 0.2)}.controls .next:hover,.controls .prev:hover{background-color:var(--ku4-carousel-controls-hover-background-color, transparent);opacity:var(--ku4-carousel-controls-hover-opacity, 1)}.controls .next{right:0;width:var(--ku4-carousel-controls-next-width, 40px);height:var(--ku4-carousel-controls-next-height, 100%);background-image:var(--ku4-carousel-controls-next-background-image);background-repeat:var(--ku4-carousel-controls-next-background-repeat, no-repeat);background-position-x:var(--ku4-carousel-controls-next-background-position-x, 0);background-position-y:var(--ku4-carousel-controls-next-background-position-y, 50%);background-size:var(--ku4-carousel-controls-next-background-size, 100% 100%)}.controls .next:focus{background-image:var(--ku4-carousel-controls-next-focus-background-image);background-repeat:var(--ku4-carousel-controls-next-focus-background-repeat, no-repeat);background-position-x:var(--ku4-carousel-controls-next-focus-background-position-x, 0);background-position-y:var(--ku4-carousel-controls-next-focus-background-position-y, 50%);background-size:var(--ku4-carousel-controls-next-focus-background-size, 100% 100%)}.controls .next:hover{background-image:var(--ku4-carousel-controls-next-hover-background-image);background-repeat:var(--ku4-carousel-controls-next-hover-background-repeat, no-repeat);background-position-x:var(--ku4-carousel-controls-next-hover-background-position-x, 0);background-position-y:var(--ku4-carousel-controls-next-hover-background-position-y, 50%);background-size:var(--ku4-carousel-controls-next-hover-background-size, 100% 100%)}.controls .prev{left:0;width:var(--ku4-carousel-controls-next-width, 40px);height:var(--ku4-carousel-controls-next-height, 100%);background-image:var(--ku4-carousel-controls-previous-background-image);background-repeat:var(--ku4-carousel-controls-previous-background-repeat, no-repeat);background-position-x:var(--ku4-carousel-controls-previous-background-position-x, 0);background-position-y:var(--ku4-carousel-controls-previous-background-position-y, 50%);background-size:var(--ku4-carousel-controls-previous-background-size, 100% 100%)}.controls .prev:focus{background-image:var(--ku4-carousel-controls-previous-focus-background-image);background-repeat:var(--ku4-carousel-controls-previous-focus-background-repeat, no-repeat);background-position-x:var(--ku4-carousel-controls-previous-focus-background-position-x, 0);background-position-y:var(--ku4-carousel-controls-previous-focus-background-position-y, 50%);background-size:var(--ku4-carousel-controls-previous-focus-background-size, 100% 100%)}.controls .prev:hover{background-image:var(--ku4-carousel-controls-previous-hover-background-image);background-repeat:var(--ku4-carousel-controls-previous-hover-background-repeat, no-repeat);background-position-x:var(--ku4-carousel-controls-previous-hover-background-position-x, 0);background-position-y:var(--ku4-carousel-controls-previous-hover-background-position-y, 50%);background-size:var(--ku4-carousel-controls-previous-hover-background-size, 100% 100%)}.pages{position:absolute;display:var(--ku4-carousel-pages-display, block);top:var(--ku4-carousel-pages-top, auto);bottom:var(--ku4-carousel-pages-bottom, 4px);width:var(--ku4-carousel-pages-width, auto);height:var(--ku4-carousel-pages-height, 20px);background-color:var(--ku4-carousel-pages-background-color, transparent);opacity:var(--ku4-carousel-pages-opacity, 0.5);text-align:center;z-index:3}.pages-text{display:inline-block;padding:var(--ku4-carousel-pages-text-padding, 4px);font-family:var(--ku4-carousel-pages-text-font-family, Helvetica, Arial, sans-serif);font-weight:var(--ku4-carousel-pages-text-font-weight, 600);font-size:var(--ku4-carousel-pages-text-font-size, 14px);line-height:var(--ku4-carousel-pages-text-line-height, 16px);color:var(--ku4-carousel-pages-text-color, #aaa)}::slotted(*){position:absolute;display:-ms-flexbox;display:flex;-ms-flex-direction:column;flex-direction:column;top:0;left:-100%;width:100%;-webkit-box-sizing:border-box;box-sizing:border-box}::slotted(.inactive){position:absolute;height:100%;left:0}::slotted(.inactive.prev){-webkit-animation-name:var(--ku4-carousel-animation-inactive-previous-name, ku4-carousel-exit-right);animation-name:var(--ku4-carousel-animation-inactive-previous-name, ku4-carousel-exit-right);-webkit-animation-duration:var(--ku4-carousel-animation-duration, 0.4s);animation-duration:var(--ku4-carousel-animation-duration, 0.4s);-webkit-animation-timing-function:var(--ku4-carousel-animation-timing-function);animation-timing-function:var(--ku4-carousel-animation-timing-function);-webkit-animation-fill-mode:forwards;animation-fill-mode:forwards}::slotted(.inactive.next){-webkit-animation-name:var(--ku4-carousel-animation-inactive-next-name, ku4-carousel-exit-left);animation-name:var(--ku4-carousel-animation-inactive-next-name, ku4-carousel-exit-left);-webkit-animation-duration:var(--ku4-carousel-animation-duration, 0.4s);animation-duration:var(--ku4-carousel-animation-duration, 0.4s);-webkit-animation-timing-function:var(--ku4-carousel-animation-timing-function);animation-timing-function:var(--ku4-carousel-animation-timing-function);-webkit-animation-fill-mode:forwards;animation-fill-mode:forwards}::slotted(.active){position:relative;top:0;left:0;width:auto;height:100%;z-index:1}::slotted(.active.prev){-webkit-animation-name:var(--ku4-carousel-animation-active-previous-name, ku4-carousel-enter-left);animation-name:var(--ku4-carousel-animation-active-previous-name, ku4-carousel-enter-left);-webkit-animation-duration:var(--ku4-carousel-animation-duration, 0.4s);animation-duration:var(--ku4-carousel-animation-duration, 0.4s);-webkit-animation-timing-function:var(--ku4-carousel-animation-timing-function, ease);animation-timing-function:var(--ku4-carousel-animation-timing-function, ease);-webkit-animation-fill-mode:forwards;animation-fill-mode:forwards}::slotted(.active.next){-webkit-animation-name:var(--ku4-carousel-animation-active-next-name, ku4-carousel-enter-right);animation-name:var(--ku4-carousel-animation-active-next-name, ku4-carousel-enter-right);-webkit-animation-duration:var(--ku4-carousel-animation-duration, 0.4s);animation-duration:var(--ku4-carousel-animation-duration, 0.4s);-webkit-animation-timing-function:var(--ku4-carousel-animation-timing-function, ease);animation-timing-function:var(--ku4-carousel-animation-timing-function, ease);-webkit-animation-fill-mode:forwards;animation-fill-mode:forwards}@media (hover: hover){.controls:hover{background-color:var(--ku4-carousel-controls-focus-background-color, #fff)}}";var d=t("ku4_carousel",function(){function t(t){var r=this;e(this,t);this.didSlide=o(this,"slide",7);this.swipeTolerance=44;this.auto=false;this.noSwipe=false;this.delay=8e3;this.interval=new i(this.delay).onInterval((function(){if(r.host.isConnected){r.display("next")}else{r.disconnectedCallback()}}));this.handleMouse=this.handleMouse.bind(this)}t.prototype.next=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(t){switch(t.label){case 0:if(!this.hasSlides){return[2,this]}return[4,this.pause()];case 1:t.sent();return[2,this.display("next")]}}))}))};t.prototype.previous=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(t){switch(t.label){case 0:if(!this.hasSlides){return[2,this]}return[4,this.pause()];case 1:t.sent();return[2,this.display("prev")]}}))}))};t.prototype.slideTo=function(t){return __awaiter(this,void 0,void 0,(function(){var e,o,r,a,n;var i=this;return __generator(this,(function(u){switch(u.label){case 0:return[4,this.pause()];case 1:u.sent();e=this.slides;o=isNaN(t)?e.findIndex((function(e){return e.getAttribute("name")===t}))+1:parseInt(t);if(!!(o===this.currentSlideNumber||o<1||this.rolodex.length<o))return[3,5];r=o-this.currentSlideNumber;a=r<0?"prev":"next";n=Math.abs(r);u.label=2;case 2:if(!(0<--n))return[3,4];return[4,s(10).then((function(){return i.rolodex[a]}))];case 3:u.sent();return[3,2];case 4:this.display(a);u.label=5;case 5:return[2]}}))}))};t.prototype.pause=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(t){this.interval.clear();return[2]}))}))};t.prototype.play=function(){return __awaiter(this,void 0,void 0,(function(){var t,e,o;return __generator(this,(function(r){t=this,e=t.auto,o=t.interval;e&&o.start();return[2]}))}))};Object.defineProperty(t.prototype,"slides",{get:function(){return[].slice.call(this.host.children)},enumerable:false,configurable:true});Object.defineProperty(t.prototype,"hasSlides",{get:function(){return this.rolodex&&this.rolodex.length>1},enumerable:false,configurable:true});Object.defineProperty(t.prototype,"currentSlideNumber",{get:function(){var t=this.rolodex;return t&&(t.isEmpty?0:t.index+1)},enumerable:false,configurable:true});t.prototype.display=function(t){var e=this;window.requestAnimationFrame((function(){var o=e.slideState,r=o.previous,a=o.current;var n=e.rolodex[t];if(r){r.deactivate()}a.slideOut(t);n.slideIn(t);e.slideState={previous:a,current:n};e.didSlide.emit(e.currentSlideNumber)}));return this};t.prototype.handleMouse=function(t){if(!this.host.contains(t.relatedTarget)){this.play()}};t.prototype.componentWillLoad=function(){var t=this;if(!this.noSwipe){this.swipe=new c(this.host,this.swipeTolerance).onLeft((function(){return t.next()})).onRight((function(){return t.previous()}))}var e;try{e=this.host.querySelectorAll(":scope > ku4-carousel-slide")}catch(o){e=[].slice.call(this.host.querySelectorAll("ku4-carousel-slide")).reduce((function(e,o){if(o.parentNode===t.host){e.push(o)}return e}),[])}this.rolodex=new u(e);this.rolodex.current&&this.rolodex.current.activate&&this.rolodex.current.activate();this.slideState={current:this.rolodex.current};if(this.auto){this.host.addEventListener("mouseout",this.handleMouse);this.play()}};t.prototype.connectedCallback=function(){if(this.swipe){this.swipe.destroy()}this.host.removeEventListener("mouseout",this.handleMouse);this.interval.clear()};t.prototype.disconnectedCallback=function(){if(this.swipe){this.swipe.destroy()}this.host.removeEventListener("mouseout",this.handleMouse);this.interval.clear()};t.prototype.render=function(){var t=this;var e=this,o=e.hasSlides,n=e.currentSlideNumber,i=n===void 0?1:n;return r(a,{"aria-roledescription":"carousel",current:i},o&&r("section",{class:"controls"},r("button",{type:"button",class:"prev",onClick:function(){return t.previous()},"aria-label":"previous slide"}),r("button",{type:"button",class:"next",onClick:function(){return t.next()},"aria-label":"next slide"})),r("section",{class:"slide-container","aria-live":"polite"},r("slot",null)),o&&r("section",{class:"pages"},r("span",{class:"pages-text"},"".concat(i," of ").concat(this.rolodex.length))))};Object.defineProperty(t.prototype,"host",{get:function(){return n(this)},enumerable:false,configurable:true});return t}());d.style=l}}}));
|
@@ -0,0 +1,75 @@
|
|
1
|
+
import { r as registerInstance, h, f as Host } from './index-52b04dce.js';
|
2
|
+
|
3
|
+
const ku4ColCss = ":host{position:relative;display:block}@media only screen and (min-width: 1px){:host(.start-xs-0){grid-column-start:1}:host(.start-xs-1){grid-column-start:2}:host(.start-xs-2){grid-column-start:3}:host(.start-xs-3){grid-column-start:4}:host(.start-xs-4){grid-column-start:5}:host(.start-xs-5){grid-column-start:6}:host(.start-xs-6){grid-column-start:7}:host(.start-xs-7){grid-column-start:8}:host(.start-xs-8){grid-column-start:9}:host(.start-xs-9){grid-column-start:10}:host(.start-xs-10){grid-column-start:11}:host(.start-xs-11){grid-column-start:12}:host(.start-xs-12){grid-column-start:13}:host(.span-xs-1){grid-column-end:span 1}:host(.span-xs-2){grid-column-end:span 2}:host(.span-xs-3){grid-column-end:span 3}:host(.span-xs-4){grid-column-end:span 4}:host(.span-xs-5){grid-column-end:span 5}:host(.span-xs-6){grid-column-end:span 6}:host(.span-xs-7){grid-column-end:span 7}:host(.span-xs-8){grid-column-end:span 8}:host(.span-xs-9){grid-column-end:span 9}:host(.span-xs-10){grid-column-end:span 10}:host(.span-xs-11){grid-column-end:span 11}:host(.span-xs-12){grid-column-end:span 12}:host(.order-xs-1){-ms-flex-order:1;order:1}:host(.order-xs-2){-ms-flex-order:2;order:2}:host(.order-xs-3){-ms-flex-order:3;order:3}:host(.order-xs-4){-ms-flex-order:4;order:4}:host(.order-xs-5){-ms-flex-order:5;order:5}:host(.order-xs-6){-ms-flex-order:6;order:6}:host(.order-xs-7){-ms-flex-order:7;order:7}:host(.order-xs-8){-ms-flex-order:8;order:8}:host(.order-xs-9){-ms-flex-order:9;order:9}:host(.order-xs-10){-ms-flex-order:10;order:10}:host(.order-xs-11){-ms-flex-order:11;order:11}:host(.order-xs-12){-ms-flex-order:12;order:12}}@media only screen and (min-width: 768px){:host(.start-sm-0){grid-column-start:1}:host(.start-sm-1){grid-column-start:2}:host(.start-sm-2){grid-column-start:3}:host(.start-sm-3){grid-column-start:4}:host(.start-sm-4){grid-column-start:5}:host(.start-sm-5){grid-column-start:6}:host(.start-sm-6){grid-column-start:7}:host(.start-sm-7){grid-column-start:8}:host(.start-sm-8){grid-column-start:9}:host(.start-sm-9){grid-column-start:10}:host(.start-sm-10){grid-column-start:11}:host(.start-sm-11){grid-column-start:12}:host(.start-sm-12){grid-column-start:13}:host(.span-sm-1){grid-column-end:span 1}:host(.span-sm-2){grid-column-end:span 2}:host(.span-sm-3){grid-column-end:span 3}:host(.span-sm-4){grid-column-end:span 4}:host(.span-sm-5){grid-column-end:span 5}:host(.span-sm-6){grid-column-end:span 6}:host(.span-sm-7){grid-column-end:span 7}:host(.span-sm-8){grid-column-end:span 8}:host(.span-sm-9){grid-column-end:span 9}:host(.span-sm-10){grid-column-end:span 10}:host(.span-sm-11){grid-column-end:span 11}:host(.span-sm-12){grid-column-end:span 12}:host(.order-sm-1){-ms-flex-order:1;order:1}:host(.order-sm-2){-ms-flex-order:2;order:2}:host(.order-sm-3){-ms-flex-order:3;order:3}:host(.order-sm-4){-ms-flex-order:4;order:4}:host(.order-sm-5){-ms-flex-order:5;order:5}:host(.order-sm-6){-ms-flex-order:6;order:6}:host(.order-sm-7){-ms-flex-order:7;order:7}:host(.order-sm-8){-ms-flex-order:8;order:8}:host(.order-sm-9){-ms-flex-order:9;order:9}:host(.order-sm-10){-ms-flex-order:10;order:10}:host(.order-sm-11){-ms-flex-order:11;order:11}:host(.order-sm-12){-ms-flex-order:12;order:12}}@media only screen and (min-width: 992px){:host(.start-md-0){grid-column-start:1}:host(.start-md-1){grid-column-start:2}:host(.start-md-2){grid-column-start:3}:host(.start-md-3){grid-column-start:4}:host(.start-md-4){grid-column-start:5}:host(.start-md-5){grid-column-start:6}:host(.start-md-6){grid-column-start:7}:host(.start-md-7){grid-column-start:8}:host(.start-md-8){grid-column-start:9}:host(.start-md-9){grid-column-start:10}:host(.start-md-10){grid-column-start:11}:host(.start-md-11){grid-column-start:12}:host(.start-md-12){grid-column-start:13}:host(.span-md-1){grid-column-end:span 1}:host(.span-md-2){grid-column-end:span 2}:host(.span-md-3){grid-column-end:span 3}:host(.span-md-4){grid-column-end:span 4}:host(.span-md-5){grid-column-end:span 5}:host(.span-md-6){grid-column-end:span 6}:host(.span-md-7){grid-column-end:span 7}:host(.span-md-8){grid-column-end:span 8}:host(.span-md-9){grid-column-end:span 9}:host(.span-md-10){grid-column-end:span 10}:host(.span-md-11){grid-column-end:span 11}:host(.span-md-12){grid-column-end:span 12}:host(.order-md-1){-ms-flex-order:1;order:1}:host(.order-md-2){-ms-flex-order:2;order:2}:host(.order-md-3){-ms-flex-order:3;order:3}:host(.order-md-4){-ms-flex-order:4;order:4}:host(.order-md-5){-ms-flex-order:5;order:5}:host(.order-md-6){-ms-flex-order:6;order:6}:host(.order-md-7){-ms-flex-order:7;order:7}:host(.order-md-8){-ms-flex-order:8;order:8}:host(.order-md-9){-ms-flex-order:9;order:9}:host(.order-md-10){-ms-flex-order:10;order:10}:host(.order-md-11){-ms-flex-order:11;order:11}:host(.order-md-12){-ms-flex-order:12;order:12}}@media only screen and (min-width: 1200px){:host(.start-lg-0){grid-column-start:1}:host(.start-lg-1){grid-column-start:2}:host(.start-lg-2){grid-column-start:3}:host(.start-lg-3){grid-column-start:4}:host(.start-lg-4){grid-column-start:5}:host(.start-lg-5){grid-column-start:6}:host(.start-lg-6){grid-column-start:7}:host(.start-lg-7){grid-column-start:8}:host(.start-lg-8){grid-column-start:9}:host(.start-lg-9){grid-column-start:10}:host(.start-lg-10){grid-column-start:11}:host(.start-lg-11){grid-column-start:12}:host(.start-lg-12){grid-column-start:13}:host(.span-lg-1){grid-column-end:span 1}:host(.span-lg-2){grid-column-end:span 2}:host(.span-lg-3){grid-column-end:span 3}:host(.span-lg-4){grid-column-end:span 4}:host(.span-lg-5){grid-column-end:span 5}:host(.span-lg-6){grid-column-end:span 6}:host(.span-lg-7){grid-column-end:span 7}:host(.span-lg-8){grid-column-end:span 8}:host(.span-lg-9){grid-column-end:span 9}:host(.span-lg-10){grid-column-end:span 10}:host(.span-lg-11){grid-column-end:span 11}:host(.span-lg-12){grid-column-end:span 12}:host(.order-lg-1){-ms-flex-order:1;order:1}:host(.order-lg-2){-ms-flex-order:2;order:2}:host(.order-lg-3){-ms-flex-order:3;order:3}:host(.order-lg-4){-ms-flex-order:4;order:4}:host(.order-lg-5){-ms-flex-order:5;order:5}:host(.order-lg-6){-ms-flex-order:6;order:6}:host(.order-lg-7){-ms-flex-order:7;order:7}:host(.order-lg-8){-ms-flex-order:8;order:8}:host(.order-lg-9){-ms-flex-order:9;order:9}:host(.order-lg-10){-ms-flex-order:10;order:10}:host(.order-lg-11){-ms-flex-order:11;order:11}:host(.order-lg-12){-ms-flex-order:12;order:12}}";
|
4
|
+
|
5
|
+
const Ku4Col = class {
|
6
|
+
constructor(hostRef) {
|
7
|
+
registerInstance(this, hostRef);
|
8
|
+
/**
|
9
|
+
* Start position of column at extra-small (optional).
|
10
|
+
*/
|
11
|
+
this.startXs = 0;
|
12
|
+
/**
|
13
|
+
* Number of columns to span left and right at extra-small (optional).
|
14
|
+
*/
|
15
|
+
this.spanXs = 1;
|
16
|
+
}
|
17
|
+
get startClass() {
|
18
|
+
const { startXs, startSm, startMd, startLg } = this;
|
19
|
+
const value = [];
|
20
|
+
if (startXs && !Number.isNaN(startXs)) {
|
21
|
+
value.push(`start-xs-${startXs}`);
|
22
|
+
}
|
23
|
+
if (startSm && !Number.isNaN(startSm)) {
|
24
|
+
value.push(`start-sm-${startSm}`);
|
25
|
+
}
|
26
|
+
if (startMd && !Number.isNaN(startMd)) {
|
27
|
+
value.push(`start-md-${startMd}`);
|
28
|
+
}
|
29
|
+
if (startLg && !Number.isNaN(startLg)) {
|
30
|
+
value.push(`start-lg-${startLg}`);
|
31
|
+
}
|
32
|
+
return value.join(' ');
|
33
|
+
}
|
34
|
+
get spanClass() {
|
35
|
+
const { spanXs, spanSm, spanMd, spanLg } = this;
|
36
|
+
const value = [];
|
37
|
+
if (spanXs && !Number.isNaN(spanXs)) {
|
38
|
+
value.push(`span-xs-${spanXs}`);
|
39
|
+
}
|
40
|
+
if (spanSm && !Number.isNaN(spanSm)) {
|
41
|
+
value.push(`span-sm-${spanSm}`);
|
42
|
+
}
|
43
|
+
if (spanMd && !Number.isNaN(spanMd)) {
|
44
|
+
value.push(`span-md-${spanMd}`);
|
45
|
+
}
|
46
|
+
if (spanLg && !Number.isNaN(spanLg)) {
|
47
|
+
value.push(`span-lg-${spanLg}`);
|
48
|
+
}
|
49
|
+
return value.join(' ');
|
50
|
+
}
|
51
|
+
get orderClass() {
|
52
|
+
const { orderXs, orderSm, orderMd, orderLg } = this;
|
53
|
+
const value = [];
|
54
|
+
if (orderXs && !Number.isNaN(orderXs)) {
|
55
|
+
value.push(`order-xs-${orderXs}`);
|
56
|
+
}
|
57
|
+
if (orderSm && !Number.isNaN(orderSm)) {
|
58
|
+
value.push(`order-sm-${orderSm}`);
|
59
|
+
}
|
60
|
+
if (orderMd && !Number.isNaN(orderMd)) {
|
61
|
+
value.push(`order-md-${orderMd}`);
|
62
|
+
}
|
63
|
+
if (orderLg && !Number.isNaN(orderLg)) {
|
64
|
+
value.push(`order-lg-${orderLg}`);
|
65
|
+
}
|
66
|
+
return value.join(' ');
|
67
|
+
}
|
68
|
+
render() {
|
69
|
+
const { startClass, spanClass, orderClass } = this;
|
70
|
+
return (h(Host, { class: `${startClass} ${spanClass} ${orderClass}` }, h("slot", null)));
|
71
|
+
}
|
72
|
+
};
|
73
|
+
Ku4Col.style = ku4ColCss;
|
74
|
+
|
75
|
+
export { Ku4Col as ku4_col };
|
@@ -0,0 +1 @@
|
|
1
|
+
System.register(["./index-4036ffa2.system.js"],(function(r){"use strict";var s,o,t;return{setters:[function(r){s=r.r;o=r.h;t=r.f}],execute:function(){var d=":host{position:relative;display:block}@media only screen and (min-width: 1px){:host(.start-xs-0){grid-column-start:1}:host(.start-xs-1){grid-column-start:2}:host(.start-xs-2){grid-column-start:3}:host(.start-xs-3){grid-column-start:4}:host(.start-xs-4){grid-column-start:5}:host(.start-xs-5){grid-column-start:6}:host(.start-xs-6){grid-column-start:7}:host(.start-xs-7){grid-column-start:8}:host(.start-xs-8){grid-column-start:9}:host(.start-xs-9){grid-column-start:10}:host(.start-xs-10){grid-column-start:11}:host(.start-xs-11){grid-column-start:12}:host(.start-xs-12){grid-column-start:13}:host(.span-xs-1){grid-column-end:span 1}:host(.span-xs-2){grid-column-end:span 2}:host(.span-xs-3){grid-column-end:span 3}:host(.span-xs-4){grid-column-end:span 4}:host(.span-xs-5){grid-column-end:span 5}:host(.span-xs-6){grid-column-end:span 6}:host(.span-xs-7){grid-column-end:span 7}:host(.span-xs-8){grid-column-end:span 8}:host(.span-xs-9){grid-column-end:span 9}:host(.span-xs-10){grid-column-end:span 10}:host(.span-xs-11){grid-column-end:span 11}:host(.span-xs-12){grid-column-end:span 12}:host(.order-xs-1){-ms-flex-order:1;order:1}:host(.order-xs-2){-ms-flex-order:2;order:2}:host(.order-xs-3){-ms-flex-order:3;order:3}:host(.order-xs-4){-ms-flex-order:4;order:4}:host(.order-xs-5){-ms-flex-order:5;order:5}:host(.order-xs-6){-ms-flex-order:6;order:6}:host(.order-xs-7){-ms-flex-order:7;order:7}:host(.order-xs-8){-ms-flex-order:8;order:8}:host(.order-xs-9){-ms-flex-order:9;order:9}:host(.order-xs-10){-ms-flex-order:10;order:10}:host(.order-xs-11){-ms-flex-order:11;order:11}:host(.order-xs-12){-ms-flex-order:12;order:12}}@media only screen and (min-width: 768px){:host(.start-sm-0){grid-column-start:1}:host(.start-sm-1){grid-column-start:2}:host(.start-sm-2){grid-column-start:3}:host(.start-sm-3){grid-column-start:4}:host(.start-sm-4){grid-column-start:5}:host(.start-sm-5){grid-column-start:6}:host(.start-sm-6){grid-column-start:7}:host(.start-sm-7){grid-column-start:8}:host(.start-sm-8){grid-column-start:9}:host(.start-sm-9){grid-column-start:10}:host(.start-sm-10){grid-column-start:11}:host(.start-sm-11){grid-column-start:12}:host(.start-sm-12){grid-column-start:13}:host(.span-sm-1){grid-column-end:span 1}:host(.span-sm-2){grid-column-end:span 2}:host(.span-sm-3){grid-column-end:span 3}:host(.span-sm-4){grid-column-end:span 4}:host(.span-sm-5){grid-column-end:span 5}:host(.span-sm-6){grid-column-end:span 6}:host(.span-sm-7){grid-column-end:span 7}:host(.span-sm-8){grid-column-end:span 8}:host(.span-sm-9){grid-column-end:span 9}:host(.span-sm-10){grid-column-end:span 10}:host(.span-sm-11){grid-column-end:span 11}:host(.span-sm-12){grid-column-end:span 12}:host(.order-sm-1){-ms-flex-order:1;order:1}:host(.order-sm-2){-ms-flex-order:2;order:2}:host(.order-sm-3){-ms-flex-order:3;order:3}:host(.order-sm-4){-ms-flex-order:4;order:4}:host(.order-sm-5){-ms-flex-order:5;order:5}:host(.order-sm-6){-ms-flex-order:6;order:6}:host(.order-sm-7){-ms-flex-order:7;order:7}:host(.order-sm-8){-ms-flex-order:8;order:8}:host(.order-sm-9){-ms-flex-order:9;order:9}:host(.order-sm-10){-ms-flex-order:10;order:10}:host(.order-sm-11){-ms-flex-order:11;order:11}:host(.order-sm-12){-ms-flex-order:12;order:12}}@media only screen and (min-width: 992px){:host(.start-md-0){grid-column-start:1}:host(.start-md-1){grid-column-start:2}:host(.start-md-2){grid-column-start:3}:host(.start-md-3){grid-column-start:4}:host(.start-md-4){grid-column-start:5}:host(.start-md-5){grid-column-start:6}:host(.start-md-6){grid-column-start:7}:host(.start-md-7){grid-column-start:8}:host(.start-md-8){grid-column-start:9}:host(.start-md-9){grid-column-start:10}:host(.start-md-10){grid-column-start:11}:host(.start-md-11){grid-column-start:12}:host(.start-md-12){grid-column-start:13}:host(.span-md-1){grid-column-end:span 1}:host(.span-md-2){grid-column-end:span 2}:host(.span-md-3){grid-column-end:span 3}:host(.span-md-4){grid-column-end:span 4}:host(.span-md-5){grid-column-end:span 5}:host(.span-md-6){grid-column-end:span 6}:host(.span-md-7){grid-column-end:span 7}:host(.span-md-8){grid-column-end:span 8}:host(.span-md-9){grid-column-end:span 9}:host(.span-md-10){grid-column-end:span 10}:host(.span-md-11){grid-column-end:span 11}:host(.span-md-12){grid-column-end:span 12}:host(.order-md-1){-ms-flex-order:1;order:1}:host(.order-md-2){-ms-flex-order:2;order:2}:host(.order-md-3){-ms-flex-order:3;order:3}:host(.order-md-4){-ms-flex-order:4;order:4}:host(.order-md-5){-ms-flex-order:5;order:5}:host(.order-md-6){-ms-flex-order:6;order:6}:host(.order-md-7){-ms-flex-order:7;order:7}:host(.order-md-8){-ms-flex-order:8;order:8}:host(.order-md-9){-ms-flex-order:9;order:9}:host(.order-md-10){-ms-flex-order:10;order:10}:host(.order-md-11){-ms-flex-order:11;order:11}:host(.order-md-12){-ms-flex-order:12;order:12}}@media only screen and (min-width: 1200px){:host(.start-lg-0){grid-column-start:1}:host(.start-lg-1){grid-column-start:2}:host(.start-lg-2){grid-column-start:3}:host(.start-lg-3){grid-column-start:4}:host(.start-lg-4){grid-column-start:5}:host(.start-lg-5){grid-column-start:6}:host(.start-lg-6){grid-column-start:7}:host(.start-lg-7){grid-column-start:8}:host(.start-lg-8){grid-column-start:9}:host(.start-lg-9){grid-column-start:10}:host(.start-lg-10){grid-column-start:11}:host(.start-lg-11){grid-column-start:12}:host(.start-lg-12){grid-column-start:13}:host(.span-lg-1){grid-column-end:span 1}:host(.span-lg-2){grid-column-end:span 2}:host(.span-lg-3){grid-column-end:span 3}:host(.span-lg-4){grid-column-end:span 4}:host(.span-lg-5){grid-column-end:span 5}:host(.span-lg-6){grid-column-end:span 6}:host(.span-lg-7){grid-column-end:span 7}:host(.span-lg-8){grid-column-end:span 8}:host(.span-lg-9){grid-column-end:span 9}:host(.span-lg-10){grid-column-end:span 10}:host(.span-lg-11){grid-column-end:span 11}:host(.span-lg-12){grid-column-end:span 12}:host(.order-lg-1){-ms-flex-order:1;order:1}:host(.order-lg-2){-ms-flex-order:2;order:2}:host(.order-lg-3){-ms-flex-order:3;order:3}:host(.order-lg-4){-ms-flex-order:4;order:4}:host(.order-lg-5){-ms-flex-order:5;order:5}:host(.order-lg-6){-ms-flex-order:6;order:6}:host(.order-lg-7){-ms-flex-order:7;order:7}:host(.order-lg-8){-ms-flex-order:8;order:8}:host(.order-lg-9){-ms-flex-order:9;order:9}:host(.order-lg-10){-ms-flex-order:10;order:10}:host(.order-lg-11){-ms-flex-order:11;order:11}:host(.order-lg-12){-ms-flex-order:12;order:12}}";var e=r("ku4_col",function(){function r(r){s(this,r);this.startXs=0;this.spanXs=1}Object.defineProperty(r.prototype,"startClass",{get:function(){var r=this,s=r.startXs,o=r.startSm,t=r.startMd,d=r.startLg;var e=[];if(s&&!Number.isNaN(s)){e.push("start-xs-".concat(s))}if(o&&!Number.isNaN(o)){e.push("start-sm-".concat(o))}if(t&&!Number.isNaN(t)){e.push("start-md-".concat(t))}if(d&&!Number.isNaN(d)){e.push("start-lg-".concat(d))}return e.join(" ")},enumerable:false,configurable:true});Object.defineProperty(r.prototype,"spanClass",{get:function(){var r=this,s=r.spanXs,o=r.spanSm,t=r.spanMd,d=r.spanLg;var e=[];if(s&&!Number.isNaN(s)){e.push("span-xs-".concat(s))}if(o&&!Number.isNaN(o)){e.push("span-sm-".concat(o))}if(t&&!Number.isNaN(t)){e.push("span-md-".concat(t))}if(d&&!Number.isNaN(d)){e.push("span-lg-".concat(d))}return e.join(" ")},enumerable:false,configurable:true});Object.defineProperty(r.prototype,"orderClass",{get:function(){var r=this,s=r.orderXs,o=r.orderSm,t=r.orderMd,d=r.orderLg;var e=[];if(s&&!Number.isNaN(s)){e.push("order-xs-".concat(s))}if(o&&!Number.isNaN(o)){e.push("order-sm-".concat(o))}if(t&&!Number.isNaN(t)){e.push("order-md-".concat(t))}if(d&&!Number.isNaN(d)){e.push("order-lg-".concat(d))}return e.join(" ")},enumerable:false,configurable:true});r.prototype.render=function(){var r=this,s=r.startClass,d=r.spanClass,e=r.orderClass;return o(t,{class:"".concat(s," ").concat(d," ").concat(e)},o("slot",null))};return r}());e.style=d}}}));
|
@@ -0,0 +1,35 @@
|
|
1
|
+
import { r as registerInstance, h, f as Host } from './index-52b04dce.js';
|
2
|
+
|
3
|
+
const ku4DrawerCss = ":host{position:fixed;-webkit-box-sizing:border-box;box-sizing:border-box;overflow:hidden;z-index:1}:host([top]),:host([bottom]){width:100%;height:0;-webkit-transition:height 0.4s;transition:height 0.4s}:host([left]),:host([right]){width:0;height:100%;-webkit-transition:width 0.4s;transition:width 0.4s}:host([top][open]),:host([bottom][open]){height:100%}:host([left][open]),:host([right][open]){width:100%}:host([top][open=false]),:host([bottom][open=false]){height:0}:host([left][open=false]),:host([right][open=false]){width:0}:host([top]),:host([left]){top:0;left:0}:host([bottom]){left:0;bottom:0}:host([right]){right:0;bottom:0}";
|
4
|
+
|
5
|
+
const Ku4Drawer = class {
|
6
|
+
constructor(hostRef) {
|
7
|
+
registerInstance(this, hostRef);
|
8
|
+
/**
|
9
|
+
* Open size of this drawer (any valid CSS width or height value)
|
10
|
+
*/
|
11
|
+
this.size = '20%';
|
12
|
+
}
|
13
|
+
/**
|
14
|
+
* Toggle drawer
|
15
|
+
*/
|
16
|
+
async toggle() {
|
17
|
+
this.open = !this.open;
|
18
|
+
}
|
19
|
+
get sizeValue() {
|
20
|
+
const { bottom, top, right, size } = this;
|
21
|
+
switch (true) {
|
22
|
+
case bottom: return { 'max-height': size };
|
23
|
+
case top: return { 'max-height': size };
|
24
|
+
case right: return { 'max-width': size };
|
25
|
+
default: return { 'max-width': size };
|
26
|
+
}
|
27
|
+
}
|
28
|
+
render() {
|
29
|
+
const { sizeValue, open } = this;
|
30
|
+
return (h(Host, { style: sizeValue, "aria-hidden": open ? 'false' : 'true' }, h("slot", null)));
|
31
|
+
}
|
32
|
+
};
|
33
|
+
Ku4Drawer.style = ku4DrawerCss;
|
34
|
+
|
35
|
+
export { Ku4Drawer as ku4_drawer };
|
@@ -0,0 +1 @@
|
|
1
|
+
var __awaiter=this&&this.__awaiter||function(t,e,n,o){function r(t){return t instanceof n?t:new n((function(e){e(t)}))}return new(n||(n=Promise))((function(n,i){function s(t){try{h(o.next(t))}catch(e){i(e)}}function a(t){try{h(o["throw"](t))}catch(e){i(e)}}function h(t){t.done?n(t.value):r(t.value).then(s,a)}h((o=o.apply(t,e||[])).next())}))};var __generator=this&&this.__generator||function(t,e){var n={label:0,sent:function(){if(i[0]&1)throw i[1];return i[1]},trys:[],ops:[]},o,r,i,s;return s={next:a(0),throw:a(1),return:a(2)},typeof Symbol==="function"&&(s[Symbol.iterator]=function(){return this}),s;function a(t){return function(e){return h([t,e])}}function h(s){if(o)throw new TypeError("Generator is already executing.");while(n)try{if(o=1,r&&(i=s[0]&2?r["return"]:s[0]?r["throw"]||((i=r["return"])&&i.call(r),0):r.next)&&!(i=i.call(r,s[1])).done)return i;if(r=0,i)s=[s[0]&2,i.value];switch(s[0]){case 0:case 1:i=s;break;case 4:n.label++;return{value:s[1],done:false};case 5:n.label++;r=s[1];s=[0];continue;case 7:s=n.ops.pop();n.trys.pop();continue;default:if(!(i=n.trys,i=i.length>0&&i[i.length-1])&&(s[0]===6||s[0]===2)){n=0;continue}if(s[0]===3&&(!i||s[1]>i[0]&&s[1]<i[3])){n.label=s[1];break}if(s[0]===6&&n.label<i[1]){n.label=i[1];i=s;break}if(i&&n.label<i[2]){n.label=i[2];n.ops.push(s);break}if(i[2])n.ops.pop();n.trys.pop();continue}s=e.call(t,n)}catch(a){s=[6,a];r=0}finally{o=i=0}if(s[0]&5)throw s[1];return{value:s[0]?s[1]:void 0,done:true}}};System.register(["./index-4036ffa2.system.js"],(function(t){"use strict";var e,n,o;return{setters:[function(t){e=t.r;n=t.h;o=t.f}],execute:function(){var r=":host{position:fixed;-webkit-box-sizing:border-box;box-sizing:border-box;overflow:hidden;z-index:1}:host([top]),:host([bottom]){width:100%;height:0;-webkit-transition:height 0.4s;transition:height 0.4s}:host([left]),:host([right]){width:0;height:100%;-webkit-transition:width 0.4s;transition:width 0.4s}:host([top][open]),:host([bottom][open]){height:100%}:host([left][open]),:host([right][open]){width:100%}:host([top][open=false]),:host([bottom][open=false]){height:0}:host([left][open=false]),:host([right][open=false]){width:0}:host([top]),:host([left]){top:0;left:0}:host([bottom]){left:0;bottom:0}:host([right]){right:0;bottom:0}";var i=t("ku4_drawer",function(){function t(t){e(this,t);this.size="20%"}t.prototype.toggle=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(t){this.open=!this.open;return[2]}))}))};Object.defineProperty(t.prototype,"sizeValue",{get:function(){var t=this,e=t.bottom,n=t.top,o=t.right,r=t.size;switch(true){case e:return{"max-height":r};case n:return{"max-height":r};case o:return{"max-width":r};default:return{"max-width":r}}},enumerable:false,configurable:true});t.prototype.render=function(){var t=this,e=t.sizeValue,r=t.open;return n(o,{style:e,"aria-hidden":r?"false":"true"},n("slot",null))};return t}());i.style=r}}}));
|
@@ -0,0 +1,29 @@
|
|
1
|
+
import { r as registerInstance, h, f as Host, g as getElement } from './index-52b04dce.js';
|
2
|
+
import { t } from './index-135dacad.js';
|
3
|
+
|
4
|
+
const Ku4Feature = class {
|
5
|
+
constructor(hostRef) {
|
6
|
+
registerInstance(this, hostRef);
|
7
|
+
/**
|
8
|
+
* A function or method that returns a boolean.
|
9
|
+
* A return value of true will turn on the this
|
10
|
+
* feature. (optional)
|
11
|
+
*/
|
12
|
+
this.policy = '';
|
13
|
+
this.enabled = false;
|
14
|
+
const policy = this.policy.trim();
|
15
|
+
this.featurePolicy = t.isNullOrEmpty(policy)
|
16
|
+
? () => false
|
17
|
+
: new Function((/^return/.test(policy) ? policy : `return ${policy}`));
|
18
|
+
}
|
19
|
+
componentWillLoad() {
|
20
|
+
const { on, featurePolicy } = this;
|
21
|
+
on || featurePolicy.call(this.host)
|
22
|
+
? this.render = () => h("slot", null)
|
23
|
+
: this.host.parentNode.removeChild(this.host);
|
24
|
+
}
|
25
|
+
render() { return h(Host, null); }
|
26
|
+
get host() { return getElement(this); }
|
27
|
+
};
|
28
|
+
|
29
|
+
export { Ku4Feature as ku4_feature };
|
@@ -0,0 +1 @@
|
|
1
|
+
System.register(["./index-4036ffa2.system.js","./index-dcd9a8a7.system.js"],(function(t){"use strict";var e,n,r,i,o;return{setters:[function(t){e=t.r;n=t.h;r=t.f;i=t.g},function(t){o=t.t}],execute:function(){var s=t("ku4_feature",function(){function t(t){e(this,t);this.policy="";this.enabled=false;var n=this.policy.trim();this.featurePolicy=o.isNullOrEmpty(n)?function(){return false}:new Function(/^return/.test(n)?n:"return ".concat(n))}t.prototype.componentWillLoad=function(){var t=this,e=t.on,r=t.featurePolicy;e||r.call(this.host)?this.render=function(){return n("slot",null)}:this.host.parentNode.removeChild(this.host)};t.prototype.render=function(){return n(r,null)};Object.defineProperty(t.prototype,"host",{get:function(){return i(this)},enumerable:false,configurable:true});return t}())}}}));
|
@@ -0,0 +1,323 @@
|
|
1
|
+
import { r as registerInstance, h, g as getElement } from './index-52b04dce.js';
|
2
|
+
import { t, o } from './index-135dacad.js';
|
3
|
+
import { K as Key, E as Event } from './index-f13d1b41.js';
|
4
|
+
|
5
|
+
/**
|
6
|
+
* Sets aria-hidden attribute for passed elements
|
7
|
+
* @param {Array} elements - List of elements to set aria-hidden on
|
8
|
+
* @param {boolean} [value] - Optional value for aria-hidden.
|
9
|
+
* No value will set to previous value if available.
|
10
|
+
*/
|
11
|
+
const ariaHidden = (elements, value) => {
|
12
|
+
if (!value) {
|
13
|
+
// eslint-disable-next-line @stencil/ban-side-effects
|
14
|
+
elements.forEach((element) => {
|
15
|
+
if (!element.currentAriaHidden) {
|
16
|
+
element.removeAttribute('aria-hidden');
|
17
|
+
}
|
18
|
+
else {
|
19
|
+
element.setAttribute('aria-hidden', element.currentAriaHidden);
|
20
|
+
}
|
21
|
+
});
|
22
|
+
}
|
23
|
+
else {
|
24
|
+
// eslint-disable-next-line @stencil/ban-side-effects
|
25
|
+
elements.forEach((element) => {
|
26
|
+
element.currentAriaHidden = element.getAttribute('aria-hidden');
|
27
|
+
element.setAttribute('aria-hidden', value);
|
28
|
+
});
|
29
|
+
}
|
30
|
+
};
|
31
|
+
|
32
|
+
const focusableTags = ['A', 'BUTTON', 'INPUT', 'SELECT', 'TEXTAREA'];
|
33
|
+
const isFocusable = (element) => {
|
34
|
+
const tabindex = element.getAttribute('tabindex');
|
35
|
+
return (focusableTags.includes(element.tagName.toUpperCase()) ||
|
36
|
+
element.getAttribute('href')) &&
|
37
|
+
(!tabindex || isNaN(tabindex) || parseInt(tabindex) > -1);
|
38
|
+
};
|
39
|
+
|
40
|
+
const queryFocusable = element => [].slice.call(element.querySelectorAll('button, [href], input, select, textarea, [tabindex]:not([tabindex="-1"])'));
|
41
|
+
const queryTabbable = element => [].slice.call(element.querySelectorAll(':not([tabindex="-1"])'));
|
42
|
+
|
43
|
+
const ku4FocusTrapCss = ":host{position:static}";
|
44
|
+
|
45
|
+
const { tab } = Key;
|
46
|
+
const tabShift = Key.tab.shift;
|
47
|
+
const tabAlt = Key.tab.alt;
|
48
|
+
const tabAltShift = Key.tab.alt.shift;
|
49
|
+
const Ku4FocusTrap = class {
|
50
|
+
constructor(hostRef) {
|
51
|
+
registerInstance(this, hostRef);
|
52
|
+
this.iframes = [];
|
53
|
+
/**
|
54
|
+
* Focus trap will be active when true.
|
55
|
+
*/
|
56
|
+
this.active = false;
|
57
|
+
this.handleKeyDown = this.handleKeyDown.bind(this);
|
58
|
+
this.handleKeyUp = this.handleKeyUp.bind(this);
|
59
|
+
this.handleMouse = this.handleMouse.bind(this);
|
60
|
+
}
|
61
|
+
activeHandler(value) {
|
62
|
+
value ? this.handleActivate() : this.handleDeactivate();
|
63
|
+
}
|
64
|
+
/**
|
65
|
+
* Activate focus trap
|
66
|
+
* @param {Element} [element] - Element to return focus to when trap is deactivated.
|
67
|
+
*/
|
68
|
+
async activate(element) {
|
69
|
+
this.lastActiveElement = element || document.querySelector(this.return || null);
|
70
|
+
this.active = true;
|
71
|
+
}
|
72
|
+
/**
|
73
|
+
* Deactivate focus trap.
|
74
|
+
*/
|
75
|
+
async deactivate() {
|
76
|
+
this.active = false;
|
77
|
+
}
|
78
|
+
handleActivate() {
|
79
|
+
this.lastActiveElement = this.lastActiveElement || document.activeElement;
|
80
|
+
if (this.lastActiveElement && this.lastActiveElement.blur) {
|
81
|
+
this.lastActiveElement.blur();
|
82
|
+
}
|
83
|
+
this.addEventListeners(this.elements);
|
84
|
+
ariaHidden(this.outerElements, true);
|
85
|
+
window.requestAnimationFrame(() => {
|
86
|
+
const element = (document.querySelector(this.initial || null) ||
|
87
|
+
this.focusableElements[0] ||
|
88
|
+
this.trapElements[0]);
|
89
|
+
element.blur();
|
90
|
+
element.focus();
|
91
|
+
this.activateTraps();
|
92
|
+
});
|
93
|
+
}
|
94
|
+
handleDeactivate() {
|
95
|
+
this.removeEventListeners(this.elements);
|
96
|
+
this.deactivateTraps();
|
97
|
+
ariaHidden(this.outerElements);
|
98
|
+
if (this.lastActiveElement && this.lastActiveElement.focus) {
|
99
|
+
this.lastActiveElement.focus();
|
100
|
+
}
|
101
|
+
this.lastActiveElement = null;
|
102
|
+
}
|
103
|
+
// Handles keydown and mutes the event if it occurs on a focusable
|
104
|
+
// item that is in the focus trap. This allows this block to force
|
105
|
+
// the decision as to who will get next focus and not let that
|
106
|
+
// decisioning fall out to the browser.
|
107
|
+
handleKeyDown(e) {
|
108
|
+
if ((tabShift.didFire(e) || tabAltShift.didFire(e))) {
|
109
|
+
try {
|
110
|
+
if (this.iframes.length > 0 && (this.trapElements[1] === e.target ||
|
111
|
+
!t.isNull(e.target.getAttribute('ku4-focus-wrap')) ||
|
112
|
+
this.iframes.some(iframe => iframe.contains(e.target)))) {
|
113
|
+
return;
|
114
|
+
}
|
115
|
+
if (this.trapElements[0] === e.target) {
|
116
|
+
this.trapElements[1].focus();
|
117
|
+
return Event.mute(e);
|
118
|
+
}
|
119
|
+
const nextIndex = this.focusableElements.indexOf(e.target) - 1;
|
120
|
+
const next = nextIndex < 0 ? this.focusableElements.length - 1 : nextIndex;
|
121
|
+
this.focusableElements[next].focus();
|
122
|
+
return Event.mute(e);
|
123
|
+
}
|
124
|
+
catch (e) {
|
125
|
+
return Event.mute(e);
|
126
|
+
}
|
127
|
+
}
|
128
|
+
if ((tab.didFire(e) || tabAlt.didFire(e))) {
|
129
|
+
try {
|
130
|
+
if (this.iframes.length > 0 && (this.trapElements[0] === e.target ||
|
131
|
+
!t.isNull(e.target.getAttribute('ku4-focus-wrap')) ||
|
132
|
+
this.iframes.some(iframe => iframe.contains(e.target)))) {
|
133
|
+
return;
|
134
|
+
}
|
135
|
+
if (this.trapElements[1] === e.target) {
|
136
|
+
this.trapElements[0].focus();
|
137
|
+
return Event.mute(e);
|
138
|
+
}
|
139
|
+
const nextIndex = this.focusableElements.indexOf(e.target) + 1;
|
140
|
+
const next = nextIndex >= this.focusableElements.length ? 0 : nextIndex;
|
141
|
+
this.focusableElements[next].focus();
|
142
|
+
return Event.mute(e);
|
143
|
+
}
|
144
|
+
catch (e) {
|
145
|
+
return Event.mute(e);
|
146
|
+
}
|
147
|
+
}
|
148
|
+
}
|
149
|
+
// Handles keyup and mutes the event if it occurs on a focusable
|
150
|
+
// item that is in the focus trap. This allows for us to determine
|
151
|
+
// if we need to move to the next focusable if the key is released
|
152
|
+
// on one of the trapElements (the two dynamically created wrapper
|
153
|
+
// elements that create the trap);
|
154
|
+
handleKeyUp(e) {
|
155
|
+
const index = this.trapElements.indexOf(e.target);
|
156
|
+
if (index === 0 && (tabShift.didFire(e) || tabAltShift.didFire(e))) {
|
157
|
+
const element = this.focusableElements[this.focusableElements.length - 1] || this.trapElements[1];
|
158
|
+
element.focus();
|
159
|
+
return Event.mute(e);
|
160
|
+
}
|
161
|
+
if (index === 1 && (tab.didFire(e) || tabAlt.didFire(e))) {
|
162
|
+
const element = this.focusableElements[0] || this.trapElements[0];
|
163
|
+
element.focus();
|
164
|
+
return Event.mute(e);
|
165
|
+
}
|
166
|
+
}
|
167
|
+
// Prevents all mouse activity on any elements that are not focusable
|
168
|
+
// inside of the active trap.
|
169
|
+
handleMouse(e) {
|
170
|
+
if (!this.elements.some(element => element === e.target)) {
|
171
|
+
Event.mute(e);
|
172
|
+
}
|
173
|
+
}
|
174
|
+
addEventListeners(elements) {
|
175
|
+
elements.forEach(element => element.addEventListener('keydown', this.handleKeyDown, { passive: true }));
|
176
|
+
elements.forEach(element => element.addEventListener('keyup', this.handleKeyUp, { passive: true }));
|
177
|
+
window.addEventListener('click', this.handleMouse, { passive: true });
|
178
|
+
window.addEventListener('mousedown', this.handleMouse, { passive: true });
|
179
|
+
window.addEventListener('mouseup', this.handleMouse, { passive: true });
|
180
|
+
window.addEventListener('touchstart', this.handleMouse, { passive: true });
|
181
|
+
}
|
182
|
+
removeEventListeners(elements) {
|
183
|
+
elements.forEach(element => element.removeEventListener('keydown', this.handleKeyDown, true));
|
184
|
+
elements.forEach(element => element.removeEventListener('keyup', this.handleKeyUp, true));
|
185
|
+
window.removeEventListener('click', this.handleMouse, true);
|
186
|
+
window.removeEventListener('mousedown', this.handleMouse, true);
|
187
|
+
window.removeEventListener('mouseup', this.handleMouse, true);
|
188
|
+
window.addEventListener('touchstart', this.handleMouse, true);
|
189
|
+
}
|
190
|
+
activateTraps() {
|
191
|
+
this.setTraps(0);
|
192
|
+
}
|
193
|
+
deactivateTraps() {
|
194
|
+
this.setTraps(-1);
|
195
|
+
}
|
196
|
+
setTraps(value) {
|
197
|
+
[].slice.call(this.host.querySelectorAll('[ku4-focus-trap], [ku4-focus-wrap]'))
|
198
|
+
.forEach(element => element.setAttribute('tabindex', value));
|
199
|
+
}
|
200
|
+
wrap(element) {
|
201
|
+
const fragment = document.createDocumentFragment();
|
202
|
+
fragment.appendChild(this.createWrapTag());
|
203
|
+
fragment.appendChild(element.cloneNode());
|
204
|
+
fragment.appendChild(this.createWrapTag());
|
205
|
+
element.parentNode.replaceChild(fragment, element);
|
206
|
+
}
|
207
|
+
createTrapTag() {
|
208
|
+
return this.createTag('ku4-focus-trap');
|
209
|
+
}
|
210
|
+
createWrapTag() {
|
211
|
+
return this.createTag('ku4-focus-wrap');
|
212
|
+
}
|
213
|
+
createTag(type) {
|
214
|
+
const trap = document.createElement('button');
|
215
|
+
trap.setAttribute(type, '');
|
216
|
+
trap.setAttribute('tabindex', '0');
|
217
|
+
trap.setAttribute('aria-hidden', 'true');
|
218
|
+
trap.style.position = 'static';
|
219
|
+
trap.style.display = 'block';
|
220
|
+
trap.style.width = '0';
|
221
|
+
trap.style.height = '0';
|
222
|
+
trap.style.margin = '0';
|
223
|
+
trap.style.padding = '0';
|
224
|
+
trap.style.border = 'none';
|
225
|
+
trap.style.outline = 'none';
|
226
|
+
return trap;
|
227
|
+
}
|
228
|
+
initialize() {
|
229
|
+
// All elements in this focus-trap
|
230
|
+
const innerElements = [].slice.call(this.host.querySelectorAll('*'));
|
231
|
+
// May need to break this out as it is really included for the mouse events
|
232
|
+
// e.g. for an overlay on a modal to make that clickable that is make it
|
233
|
+
// so this does not include it for muting the mouse events. This component
|
234
|
+
// is very powerful in shutting everything down and needs to allow for
|
235
|
+
// the ability to let items be clickable.
|
236
|
+
const inclusions = [].slice.call(document.querySelectorAll(this.include || null) || []);
|
237
|
+
// May need to break this out as it is really here to explicitly exclude items from
|
238
|
+
// being read out by screen readers. That is make them hidden so that screen
|
239
|
+
// readers get the same treatment as regular users.
|
240
|
+
const exclusions = [].slice.call(document.querySelectorAll(this.exclude) || []);
|
241
|
+
let shadowExclusions = [];
|
242
|
+
(this.excludeShadow || '').split(',').forEach((selector) => {
|
243
|
+
if (t.isNullOrEmpty(selector)) {
|
244
|
+
return;
|
245
|
+
}
|
246
|
+
try {
|
247
|
+
const parts = selector.trim().replace(/\s/, '|').split('|');
|
248
|
+
const shadowElements = document.querySelector(parts[0]).shadowRoot.querySelectorAll(parts[1]);
|
249
|
+
shadowExclusions = shadowExclusions.concat([].slice.call(shadowElements || []));
|
250
|
+
}
|
251
|
+
catch (e) {
|
252
|
+
// eslint-disable-next-line no-console
|
253
|
+
console.error('Invalid shadow selector', selector);
|
254
|
+
}
|
255
|
+
});
|
256
|
+
// Get all of the iframes as we cannot reach into them to find
|
257
|
+
// their focusable elements. We can only focus on the trap elements
|
258
|
+
// that wrap it
|
259
|
+
this.iframes = [].slice.call(this.host.querySelectorAll('iframe') || []);
|
260
|
+
this.iframes.forEach(iframe => this.wrap(iframe));
|
261
|
+
// Set element in this trap deduplicating any that may have been duplicated
|
262
|
+
// with careless user inclusions.
|
263
|
+
this.elements = o([...queryTabbable(this.host), ...inclusions]);
|
264
|
+
// Get the focusable elements. This may be overkill as we really only need
|
265
|
+
// to know the first and last focusable. If that is the case, we may be
|
266
|
+
// able to just use the first and last `this.element` it is still not clear.
|
267
|
+
this.focusableElements = this.elements
|
268
|
+
.reduce((acc, value) => {
|
269
|
+
if (isFocusable(value) && !this.trapElements.includes(value)) {
|
270
|
+
acc.push(value);
|
271
|
+
}
|
272
|
+
return acc;
|
273
|
+
}, []);
|
274
|
+
/**
|
275
|
+
* We can not currently do this this way because MSEdge
|
276
|
+
* is reordering querySelectorAll items such that they
|
277
|
+
* not selecting in DOM order. If/when we dump support
|
278
|
+
* for MSEdge (non Chromium) or it fixes support we
|
279
|
+
* can move to this more efficient way. Until then, we
|
280
|
+
* need to use the && condition .includes in the
|
281
|
+
* `reduce` above. It will be more efficient to do it
|
282
|
+
* the below way when we can.
|
283
|
+
*/
|
284
|
+
// this.focusableElements.shift();
|
285
|
+
// this.focusableElements.pop();
|
286
|
+
//This may need to be defied more specifically as a11y as it is needed
|
287
|
+
//for the screen reader capabilities and may be interfering with
|
288
|
+
//regular usage.
|
289
|
+
this.outerElements = [...queryFocusable(document.body), ...exclusions, ...shadowExclusions]
|
290
|
+
.filter(element => !(element === this.host ||
|
291
|
+
innerElements.includes(element) ||
|
292
|
+
inclusions.includes(element)));
|
293
|
+
}
|
294
|
+
componentDidLoad() {
|
295
|
+
const trapStart = this.createTrapTag();
|
296
|
+
const trapEnd = this.createTrapTag();
|
297
|
+
this.trapElements = [trapStart, trapEnd];
|
298
|
+
this.host.insertBefore(trapStart, this.host.firstChild);
|
299
|
+
this.host.appendChild(trapEnd);
|
300
|
+
this.initialize();
|
301
|
+
if (this.active) {
|
302
|
+
this.handleActivate();
|
303
|
+
}
|
304
|
+
else {
|
305
|
+
this.handleDeactivate();
|
306
|
+
}
|
307
|
+
}
|
308
|
+
disconnectedCallback() {
|
309
|
+
if (this.active) {
|
310
|
+
this.handleDeactivate();
|
311
|
+
}
|
312
|
+
}
|
313
|
+
render() {
|
314
|
+
return h("slot", null);
|
315
|
+
}
|
316
|
+
get host() { return getElement(this); }
|
317
|
+
static get watchers() { return {
|
318
|
+
"active": ["activeHandler"]
|
319
|
+
}; }
|
320
|
+
};
|
321
|
+
Ku4FocusTrap.style = ku4FocusTrapCss;
|
322
|
+
|
323
|
+
export { Ku4FocusTrap as ku4_focus_trap };
|
@@ -0,0 +1 @@
|
|
1
|
+
var __awaiter=this&&this.__awaiter||function(t,e,r,n){function i(t){return t instanceof r?t:new r((function(e){e(t)}))}return new(r||(r=Promise))((function(r,a){function s(t){try{u(n.next(t))}catch(e){a(e)}}function o(t){try{u(n["throw"](t))}catch(e){a(e)}}function u(t){t.done?r(t.value):i(t.value).then(s,o)}u((n=n.apply(t,e||[])).next())}))};var __generator=this&&this.__generator||function(t,e){var r={label:0,sent:function(){if(a[0]&1)throw a[1];return a[1]},trys:[],ops:[]},n,i,a,s;return s={next:o(0),throw:o(1),return:o(2)},typeof Symbol==="function"&&(s[Symbol.iterator]=function(){return this}),s;function o(t){return function(e){return u([t,e])}}function u(s){if(n)throw new TypeError("Generator is already executing.");while(r)try{if(n=1,i&&(a=s[0]&2?i["return"]:s[0]?i["throw"]||((a=i["return"])&&a.call(i),0):i.next)&&!(a=a.call(i,s[1])).done)return a;if(i=0,a)s=[s[0]&2,a.value];switch(s[0]){case 0:case 1:a=s;break;case 4:r.label++;return{value:s[1],done:false};case 5:r.label++;i=s[1];s=[0];continue;case 7:s=r.ops.pop();r.trys.pop();continue;default:if(!(a=r.trys,a=a.length>0&&a[a.length-1])&&(s[0]===6||s[0]===2)){r=0;continue}if(s[0]===3&&(!a||s[1]>a[0]&&s[1]<a[3])){r.label=s[1];break}if(s[0]===6&&r.label<a[1]){r.label=a[1];a=s;break}if(a&&r.label<a[2]){r.label=a[2];r.ops.push(s);break}if(a[2])r.ops.pop();r.trys.pop();continue}s=e.call(t,r)}catch(o){s=[6,o];i=0}finally{n=a=0}if(s[0]&5)throw s[1];return{value:s[0]?s[1]:void 0,done:true}}};var __spreadArray=this&&this.__spreadArray||function(t,e,r){if(r||arguments.length===2)for(var n=0,i=e.length,a;n<i;n++){if(a||!(n in e)){if(!a)a=Array.prototype.slice.call(e,0,n);a[n]=e[n]}}return t.concat(a||Array.prototype.slice.call(e))};System.register(["./index-4036ffa2.system.js","./index-dcd9a8a7.system.js","./index-9bb2580f.system.js"],(function(t){"use strict";var e,r,n,i,a,s,o;return{setters:[function(t){e=t.r;r=t.h;n=t.g},function(t){i=t.t;a=t.o},function(t){s=t.K;o=t.E}],execute:function(){var u=function(t,e){if(!e){t.forEach((function(t){if(!t.currentAriaHidden){t.removeAttribute("aria-hidden")}else{t.setAttribute("aria-hidden",t.currentAriaHidden)}}))}else{t.forEach((function(t){t.currentAriaHidden=t.getAttribute("aria-hidden");t.setAttribute("aria-hidden",e)}))}};var l=["A","BUTTON","INPUT","SELECT","TEXTAREA"];var c=function(t){var e=t.getAttribute("tabindex");return(l.includes(t.tagName.toUpperCase())||t.getAttribute("href"))&&(!e||isNaN(e)||parseInt(e)>-1)};var h=function(t){return[].slice.call(t.querySelectorAll('button, [href], input, select, textarea, [tabindex]:not([tabindex="-1"])'))};var d=function(t){return[].slice.call(t.querySelectorAll(':not([tabindex="-1"])'))};var f=":host{position:static}";var p=s.tab;var v=s.tab.shift;var m=s.tab.alt;var y=s.tab.alt.shift;var E=t("ku4_focus_trap",function(){function t(t){e(this,t);this.iframes=[];this.active=false;this.handleKeyDown=this.handleKeyDown.bind(this);this.handleKeyUp=this.handleKeyUp.bind(this);this.handleMouse=this.handleMouse.bind(this)}t.prototype.activeHandler=function(t){t?this.handleActivate():this.handleDeactivate()};t.prototype.activate=function(t){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(e){this.lastActiveElement=t||document.querySelector(this.return||null);this.active=true;return[2]}))}))};t.prototype.deactivate=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(t){this.active=false;return[2]}))}))};t.prototype.handleActivate=function(){var t=this;this.lastActiveElement=this.lastActiveElement||document.activeElement;if(this.lastActiveElement&&this.lastActiveElement.blur){this.lastActiveElement.blur()}this.addEventListeners(this.elements);u(this.outerElements,true);window.requestAnimationFrame((function(){var e=document.querySelector(t.initial||null)||t.focusableElements[0]||t.trapElements[0];e.blur();e.focus();t.activateTraps()}))};t.prototype.handleDeactivate=function(){this.removeEventListeners(this.elements);this.deactivateTraps();u(this.outerElements);if(this.lastActiveElement&&this.lastActiveElement.focus){this.lastActiveElement.focus()}this.lastActiveElement=null};t.prototype.handleKeyDown=function(t){if(v.didFire(t)||y.didFire(t)){try{if(this.iframes.length>0&&(this.trapElements[1]===t.target||!i.isNull(t.target.getAttribute("ku4-focus-wrap"))||this.iframes.some((function(e){return e.contains(t.target)})))){return}if(this.trapElements[0]===t.target){this.trapElements[1].focus();return o.mute(t)}var e=this.focusableElements.indexOf(t.target)-1;var r=e<0?this.focusableElements.length-1:e;this.focusableElements[r].focus();return o.mute(t)}catch(t){return o.mute(t)}}if(p.didFire(t)||m.didFire(t)){try{if(this.iframes.length>0&&(this.trapElements[0]===t.target||!i.isNull(t.target.getAttribute("ku4-focus-wrap"))||this.iframes.some((function(e){return e.contains(t.target)})))){return}if(this.trapElements[1]===t.target){this.trapElements[0].focus();return o.mute(t)}var e=this.focusableElements.indexOf(t.target)+1;var r=e>=this.focusableElements.length?0:e;this.focusableElements[r].focus();return o.mute(t)}catch(t){return o.mute(t)}}};t.prototype.handleKeyUp=function(t){var e=this.trapElements.indexOf(t.target);if(e===0&&(v.didFire(t)||y.didFire(t))){var r=this.focusableElements[this.focusableElements.length-1]||this.trapElements[1];r.focus();return o.mute(t)}if(e===1&&(p.didFire(t)||m.didFire(t))){var r=this.focusableElements[0]||this.trapElements[0];r.focus();return o.mute(t)}};t.prototype.handleMouse=function(t){if(!this.elements.some((function(e){return e===t.target}))){o.mute(t)}};t.prototype.addEventListeners=function(t){var e=this;t.forEach((function(t){return t.addEventListener("keydown",e.handleKeyDown,{passive:true})}));t.forEach((function(t){return t.addEventListener("keyup",e.handleKeyUp,{passive:true})}));window.addEventListener("click",this.handleMouse,{passive:true});window.addEventListener("mousedown",this.handleMouse,{passive:true});window.addEventListener("mouseup",this.handleMouse,{passive:true});window.addEventListener("touchstart",this.handleMouse,{passive:true})};t.prototype.removeEventListeners=function(t){var e=this;t.forEach((function(t){return t.removeEventListener("keydown",e.handleKeyDown,true)}));t.forEach((function(t){return t.removeEventListener("keyup",e.handleKeyUp,true)}));window.removeEventListener("click",this.handleMouse,true);window.removeEventListener("mousedown",this.handleMouse,true);window.removeEventListener("mouseup",this.handleMouse,true);window.addEventListener("touchstart",this.handleMouse,true)};t.prototype.activateTraps=function(){this.setTraps(0)};t.prototype.deactivateTraps=function(){this.setTraps(-1)};t.prototype.setTraps=function(t){[].slice.call(this.host.querySelectorAll("[ku4-focus-trap], [ku4-focus-wrap]")).forEach((function(e){return e.setAttribute("tabindex",t)}))};t.prototype.wrap=function(t){var e=document.createDocumentFragment();e.appendChild(this.createWrapTag());e.appendChild(t.cloneNode());e.appendChild(this.createWrapTag());t.parentNode.replaceChild(e,t)};t.prototype.createTrapTag=function(){return this.createTag("ku4-focus-trap")};t.prototype.createWrapTag=function(){return this.createTag("ku4-focus-wrap")};t.prototype.createTag=function(t){var e=document.createElement("button");e.setAttribute(t,"");e.setAttribute("tabindex","0");e.setAttribute("aria-hidden","true");e.style.position="static";e.style.display="block";e.style.width="0";e.style.height="0";e.style.margin="0";e.style.padding="0";e.style.border="none";e.style.outline="none";return e};t.prototype.initialize=function(){var t=this;var e=[].slice.call(this.host.querySelectorAll("*"));var r=[].slice.call(document.querySelectorAll(this.include||null)||[]);var n=[].slice.call(document.querySelectorAll(this.exclude)||[]);var s=[];(this.excludeShadow||"").split(",").forEach((function(t){if(i.isNullOrEmpty(t)){return}try{var e=t.trim().replace(/\s/,"|").split("|");var r=document.querySelector(e[0]).shadowRoot.querySelectorAll(e[1]);s=s.concat([].slice.call(r||[]))}catch(n){console.error("Invalid shadow selector",t)}}));this.iframes=[].slice.call(this.host.querySelectorAll("iframe")||[]);this.iframes.forEach((function(e){return t.wrap(e)}));this.elements=a(__spreadArray(__spreadArray([],d(this.host),true),r,true));this.focusableElements=this.elements.reduce((function(e,r){if(c(r)&&!t.trapElements.includes(r)){e.push(r)}return e}),[]);this.outerElements=__spreadArray(__spreadArray(__spreadArray([],h(document.body),true),n,true),s,true).filter((function(n){return!(n===t.host||e.includes(n)||r.includes(n))}))};t.prototype.componentDidLoad=function(){var t=this.createTrapTag();var e=this.createTrapTag();this.trapElements=[t,e];this.host.insertBefore(t,this.host.firstChild);this.host.appendChild(e);this.initialize();if(this.active){this.handleActivate()}else{this.handleDeactivate()}};t.prototype.disconnectedCallback=function(){if(this.active){this.handleDeactivate()}};t.prototype.render=function(){return r("slot",null)};Object.defineProperty(t.prototype,"host",{get:function(){return n(this)},enumerable:false,configurable:true});Object.defineProperty(t,"watchers",{get:function(){return{active:["activeHandler"]}},enumerable:false,configurable:true});return t}());E.style=f}}}));
|