@epa-wg/custom-element-dist 0.0.25 → 0.0.27
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/.idea/custom-element-dist.iml +1 -5
- package/.storybook/main.ts +1 -3
- package/.storybook/preview-head.html +8 -0
- package/.storybook/preview.ts +13 -5
- package/README.md +4 -4
- package/bin/postinstall.sh +3 -2
- package/bin/vitest/vitest-browser-importmaps.mjs +20 -0
- package/coverage/coverage-final.json +14 -11
- package/coverage/index.html +51 -36
- package/coverage/src/custom-element/coverage.svg +1 -1
- package/coverage/src/custom-element/custom-element.js/coverage.svg +1 -1
- package/coverage/src/custom-element/custom-element.js.html +596 -386
- package/coverage/src/custom-element/demo/coverage.svg +10 -0
- package/coverage/src/custom-element/demo/index.html +116 -0
- package/coverage/src/custom-element/demo/z.js/coverage.svg +10 -0
- package/coverage/src/custom-element/demo/z.js.html +112 -0
- package/coverage/src/custom-element/http-request.js.html +12 -12
- package/coverage/src/custom-element/index.html +33 -18
- package/coverage/src/custom-element/local-storage.js.html +56 -41
- package/coverage/src/custom-element/location-element.js.html +4 -4
- package/coverage/src/custom-element/module-url.js/coverage.svg +10 -0
- package/coverage/src/custom-element/module-url.js.html +187 -0
- package/coverage/src/index.html +1 -1
- package/coverage/src/mocks/coverage.svg +1 -1
- package/coverage/src/mocks/handlers.ts/coverage.svg +1 -1
- package/coverage/src/mocks/handlers.ts.html +36 -12
- package/coverage/src/mocks/index.html +19 -19
- package/coverage/src/stories/attributes.test.stories.ts.html +9 -15
- package/coverage/src/stories/coverage.svg +1 -1
- package/coverage/src/stories/css.test.stories.ts.html +1 -1
- package/coverage/src/stories/dom-merge.test.stories.ts.html +15 -9
- package/coverage/src/stories/external-template.test.stories.ts.html +27 -18
- package/coverage/src/stories/form.test.stories.ts.html +1 -1
- package/coverage/src/stories/http-request.stories.ts.html +1 -1
- package/coverage/src/stories/index.html +48 -33
- package/coverage/src/stories/local-storage.test.stories.ts/coverage.svg +1 -1
- package/coverage/src/stories/local-storage.test.stories.ts.html +87 -63
- package/coverage/src/stories/location-element.test.stories.ts.html +1 -1
- package/coverage/src/stories/module-url.test.stories.ts/coverage.svg +10 -0
- package/coverage/src/stories/module-url.test.stories.ts.html +634 -0
- package/coverage/src/stories/set-url.test.stories.ts.html +1 -1
- package/coverage/src/stories/slice-events.test.stories.ts.html +1 -1
- package/coverage/src/stories/slots.test.stories.ts.html +1 -1
- package/coverage/src/stories/testStoryBook.ts.html +12 -12
- package/coverage/src/stories/version-select.test.stories.ts.html +98 -20
- package/coverage/src/sum.ts.html +1 -1
- package/dist/confused.svg +1 -0
- package/dist/custom-element-BMMsP1Dy.js +533 -0
- package/dist/custom-element-CPSk7s0j.cjs +87 -0
- package/dist/custom-element-bundle.cjs +1 -1
- package/dist/custom-element-bundle.js +28 -25
- package/dist/demo/a.html +60 -0
- package/dist/demo/a.svg +27 -0
- package/dist/demo/b.html +13 -0
- package/dist/demo/confused.svg +38 -0
- package/dist/demo/data-slices.html +216 -0
- package/dist/demo/dce-social-preview.png +0 -0
- package/dist/demo/demo.css +25 -0
- package/dist/demo/dom-merge.html +123 -0
- package/dist/demo/embed-1.html +2 -0
- package/dist/demo/external-template.html +239 -0
- package/dist/demo/form.html +239 -0
- package/dist/demo/hex-grid-dce.html +183 -0
- package/dist/demo/hex-grid-transform.png +0 -0
- package/dist/demo/hex-grid.html +66 -0
- package/dist/demo/html-template.html +126 -0
- package/dist/demo/html-template.xhtml +45 -0
- package/dist/demo/html-template.xml +45 -0
- package/dist/demo/http-request.html +143 -0
- package/dist/demo/lib-dir/Smiley.svg +24 -0
- package/dist/demo/lib-dir/embed-lib.html +34 -0
- package/dist/demo/local-storage.html +218 -0
- package/dist/demo/location-element.html +168 -0
- package/dist/demo/logo.png +0 -0
- package/dist/demo/module-url.html +215 -0
- package/dist/demo/npm-versions-demo.html +118 -0
- package/dist/demo/npm-versions.html +94 -0
- package/dist/demo/parameters.html +70 -0
- package/dist/demo/s.xml +3 -0
- package/dist/demo/s.xslt +56 -0
- package/dist/demo/s1.xslt +60 -0
- package/dist/demo/scoped-css.html +169 -0
- package/dist/demo/set-url.html +141 -0
- package/dist/demo/ss.html +57 -0
- package/dist/demo/table.xml +25 -0
- package/dist/demo/table.xsl +293 -0
- package/dist/demo/template.xsl +46 -0
- package/dist/demo/tree.xml +25 -0
- package/dist/demo/tree.xsl +33 -0
- package/dist/demo/wc-square.svg +1 -0
- package/dist/demo/xhtml-template.xhtml +45 -0
- package/dist/demo/z.html +33 -0
- package/dist/demo/z.js +9 -0
- package/dist/demo/z.xml +60 -0
- package/dist/demo/z1.html +34 -0
- package/dist/embed-1.html +1 -2
- package/dist/local-storage-78EivJ_B.cjs +1 -0
- package/dist/local-storage-DzmNKzgN.js +66 -0
- package/dist/mockServiceWorker.js +1 -1
- package/package.json +95 -93
- package/public/confused.svg +1 -0
- package/public/demo/a.html +60 -0
- package/public/demo/a.svg +27 -0
- package/public/demo/b.html +13 -0
- package/public/demo/confused.svg +38 -0
- package/public/demo/data-slices.html +216 -0
- package/public/demo/dce-social-preview.png +0 -0
- package/public/demo/demo.css +25 -0
- package/public/demo/dom-merge.html +123 -0
- package/public/demo/embed-1.html +2 -0
- package/public/demo/external-template.html +239 -0
- package/public/demo/form.html +239 -0
- package/public/demo/hex-grid-dce.html +183 -0
- package/public/demo/hex-grid-transform.png +0 -0
- package/public/demo/hex-grid.html +66 -0
- package/public/demo/html-template.html +126 -0
- package/public/demo/html-template.xhtml +45 -0
- package/public/demo/html-template.xml +45 -0
- package/public/demo/http-request.html +143 -0
- package/public/demo/lib-dir/Smiley.svg +24 -0
- package/public/demo/lib-dir/embed-lib.html +34 -0
- package/public/demo/local-storage.html +218 -0
- package/public/demo/location-element.html +168 -0
- package/public/demo/logo.png +0 -0
- package/public/demo/module-url.html +215 -0
- package/public/demo/npm-versions-demo.html +118 -0
- package/public/demo/npm-versions.html +94 -0
- package/public/demo/parameters.html +70 -0
- package/public/demo/s.xml +3 -0
- package/public/demo/s.xslt +56 -0
- package/public/demo/s1.xslt +60 -0
- package/public/demo/scoped-css.html +169 -0
- package/public/demo/set-url.html +141 -0
- package/public/demo/ss.html +57 -0
- package/public/demo/table.xml +25 -0
- package/public/demo/table.xsl +293 -0
- package/public/demo/template.xsl +46 -0
- package/public/demo/tree.xml +25 -0
- package/public/demo/tree.xsl +33 -0
- package/public/demo/wc-square.svg +1 -0
- package/public/demo/xhtml-template.xhtml +45 -0
- package/public/demo/z.html +33 -0
- package/public/demo/z.js +9 -0
- package/public/demo/z.xml +60 -0
- package/public/demo/z1.html +34 -0
- package/public/embed-1.html +1 -2
- package/public/mockServiceWorker.js +1 -1
- package/src/custom-element/custom-element.js +103 -33
- package/src/custom-element/demo/a.svg +27 -0
- package/src/custom-element/demo/confused.svg +1 -0
- package/src/custom-element/demo/demo.css +11 -8
- package/src/custom-element/demo/embed-1.html +1 -2
- package/src/custom-element/demo/external-template.html +122 -62
- package/src/custom-element/demo/lib-dir/Smiley.svg +24 -0
- package/src/custom-element/demo/lib-dir/embed-lib.html +34 -0
- package/src/custom-element/demo/module-url.html +215 -0
- package/src/custom-element/demo/npm-versions-demo.html +118 -0
- package/src/custom-element/demo/npm-versions.html +94 -0
- package/src/custom-element/demo/s.xml +3 -36
- package/src/custom-element/demo/s.xslt +55 -96
- package/src/custom-element/demo/set-url.html +1 -1
- package/src/custom-element/demo/z.html +32 -61
- package/src/custom-element/demo/z.js +9 -0
- package/src/custom-element/demo/z1.html +34 -0
- package/src/custom-element/ide/customData-dce.json +215 -181
- package/src/custom-element/ide/web-types-dce.json +184 -159
- package/src/custom-element/ide/web-types-xsl.json +1 -1
- package/src/custom-element/index.html +21 -3
- package/src/custom-element/local-storage.js +19 -14
- package/src/custom-element/module-url.js +34 -0
- package/src/mocks/handlers.ts +10 -1
- package/src/mocks/versions.mock.ts +786 -0
- package/src/stories/__screenshots__/http-request.test.ts/http-request-url-change-1.png +0 -0
- package/src/stories/attributes.test.stories.ts +3 -5
- package/src/stories/dom-merge.test.stories.ts +9 -7
- package/src/stories/external-template.test.stories.ts +13 -10
- package/src/stories/local-storage.test.stories.ts +61 -53
- package/src/stories/module-url.test.stories.ts +183 -0
- package/src/stories/version-select.test.stories.ts +38 -12
- package/src/sum.test.ts +5 -5
- package/src/sum.ts +3 -3
- package/storybook-static/assets/Color-KGDBMAHA-CJo5gHY3.js +1 -0
- package/storybook-static/assets/{Configure-D0qG3gR9.js → Configure-DdXbGKhY.js} +2 -2
- package/storybook-static/assets/DocsRenderer-PKQXORMH-DLnpL5hE.js +2 -0
- package/storybook-static/assets/{attributes.test.stories-W34tZdUt.js → attributes.test.stories-Bt5V18qO.js} +10 -12
- package/storybook-static/assets/{css.test.stories-BZFYx1TQ.js → css.test.stories-CGYy2daE.js} +1 -1
- package/storybook-static/assets/custom-element-D8hcDZHh.js +265 -0
- package/storybook-static/assets/{dom-merge.test.stories-S-7U5N3h.js → dom-merge.test.stories-XlsZ0UvX.js} +22 -20
- package/storybook-static/assets/{entry-preview-DrgzXgwT.js → entry-preview-BKQ8UCxI.js} +1 -1
- package/storybook-static/assets/{entry-preview-docs-Bxv0qQWs.js → entry-preview-docs-BMKNVQXA.js} +2 -2
- package/storybook-static/assets/{external-template.test.stories-QIO3lAFz.js → external-template.test.stories-Bt_Pflu8.js} +23 -21
- package/storybook-static/assets/{form.test.stories-ClYhj9F1.js → form.test.stories-B0NoI8wm.js} +1 -1
- package/storybook-static/assets/handlers-B5969HUu.js +467 -0
- package/storybook-static/assets/http-request.stories-B2skuTFV.js +281 -0
- package/storybook-static/assets/iframe-Dfrt81rk.js +2 -0
- package/storybook-static/assets/index-Ay195x2L.js +605 -0
- package/storybook-static/assets/index-C3ChPTMh.js +1 -0
- package/storybook-static/assets/index-C7lvoJNv.js +1 -0
- package/storybook-static/assets/index-C8k3Z-3Y.js +28 -0
- package/storybook-static/assets/{index-DXimoRZY.js → index-D-8MO0q_.js} +1 -1
- package/storybook-static/assets/index-DGdNYaqV.js +8 -0
- package/storybook-static/assets/index-Gpdhz4ab.js +1 -0
- package/storybook-static/assets/lit-element-DzhCn-8W.js +19 -0
- package/storybook-static/assets/local-storage.test.stories-DfY6feqG.js +420 -0
- package/storybook-static/assets/{location-element.test.stories-DvH1TWK4.js → location-element.test.stories-944AotIJ.js} +1 -1
- package/storybook-static/assets/module-url.test.stories-DSKcwApl.js +208 -0
- package/storybook-static/assets/{preview-BKCN0mOr.js → preview-0Jj89qip.js} +1 -1
- package/storybook-static/assets/preview-AJR7rVPD.js +52 -0
- package/storybook-static/assets/{preview-TCN6m6T-.js → preview-BJPLiuSt.js} +1 -1
- package/storybook-static/assets/{preview-BDY5ThwJ.js → preview-BMWqy4Bi.js} +1 -1
- package/storybook-static/assets/preview-BnWGZYux.js +1 -0
- package/storybook-static/assets/preview-CadgX-4y.js +2 -0
- package/storybook-static/assets/{preview-BAz7FMXc.js → preview-DB9FwMii.js} +1 -1
- package/storybook-static/assets/preview-Djh1_Tal.js +20 -0
- package/storybook-static/assets/{set-url.test.stories-GlJOh31I.js → set-url.test.stories-DjLHKkEh.js} +1 -1
- package/storybook-static/assets/{slice-events.test.stories-VoNjuPCX.js → slice-events.test.stories-8I_BrHd6.js} +1 -1
- package/storybook-static/assets/{slots.test.stories-Da2j9YuO.js → slots.test.stories-CvZz4jyP.js} +1 -1
- package/storybook-static/assets/version-select.test.stories-DSxmJylI.js +109 -0
- package/storybook-static/confused.svg +1 -0
- package/storybook-static/demo/a.html +60 -0
- package/storybook-static/demo/a.svg +27 -0
- package/storybook-static/demo/b.html +13 -0
- package/storybook-static/demo/confused.svg +38 -0
- package/storybook-static/demo/data-slices.html +216 -0
- package/storybook-static/demo/dce-social-preview.png +0 -0
- package/storybook-static/demo/demo.css +25 -0
- package/storybook-static/demo/dom-merge.html +123 -0
- package/storybook-static/demo/embed-1.html +2 -0
- package/storybook-static/demo/external-template.html +239 -0
- package/storybook-static/demo/form.html +239 -0
- package/storybook-static/demo/hex-grid-dce.html +183 -0
- package/storybook-static/demo/hex-grid-transform.png +0 -0
- package/storybook-static/demo/hex-grid.html +66 -0
- package/storybook-static/demo/html-template.html +126 -0
- package/storybook-static/demo/html-template.xhtml +45 -0
- package/storybook-static/demo/html-template.xml +45 -0
- package/storybook-static/demo/http-request.html +143 -0
- package/storybook-static/demo/lib-dir/Smiley.svg +24 -0
- package/storybook-static/demo/lib-dir/embed-lib.html +34 -0
- package/storybook-static/demo/local-storage.html +218 -0
- package/storybook-static/demo/location-element.html +168 -0
- package/storybook-static/demo/logo.png +0 -0
- package/storybook-static/demo/module-url.html +215 -0
- package/storybook-static/demo/npm-versions-demo.html +118 -0
- package/storybook-static/demo/npm-versions.html +94 -0
- package/storybook-static/demo/parameters.html +70 -0
- package/storybook-static/demo/s.xml +3 -0
- package/storybook-static/demo/s.xslt +56 -0
- package/storybook-static/demo/s1.xslt +60 -0
- package/storybook-static/demo/scoped-css.html +169 -0
- package/storybook-static/demo/set-url.html +141 -0
- package/storybook-static/demo/ss.html +57 -0
- package/storybook-static/demo/table.xml +25 -0
- package/storybook-static/demo/table.xsl +293 -0
- package/storybook-static/demo/template.xsl +46 -0
- package/storybook-static/demo/tree.xml +25 -0
- package/storybook-static/demo/tree.xsl +33 -0
- package/storybook-static/demo/wc-square.svg +1 -0
- package/storybook-static/demo/xhtml-template.xhtml +45 -0
- package/storybook-static/demo/z.html +33 -0
- package/storybook-static/demo/z.js +9 -0
- package/storybook-static/demo/z.xml +60 -0
- package/storybook-static/demo/z1.html +34 -0
- package/storybook-static/embed-1.html +1 -2
- package/storybook-static/favicon.svg +1 -7
- package/storybook-static/iframe.html +42 -30
- package/storybook-static/index.html +36 -18
- package/storybook-static/index.json +1 -1
- package/storybook-static/mockServiceWorker.js +1 -1
- package/storybook-static/nunito-sans-bold-italic.woff2 +0 -0
- package/storybook-static/nunito-sans-bold.woff2 +0 -0
- package/storybook-static/nunito-sans-italic.woff2 +0 -0
- package/storybook-static/nunito-sans-regular.woff2 +0 -0
- package/storybook-static/project.json +1 -1
- package/storybook-static/sb-addons/chromatic-com-storybook-9/manager-bundle.js +39 -36
- package/storybook-static/sb-addons/chromatic-com-storybook-9/manager-bundle.js.LEGAL.txt +38 -1
- package/storybook-static/sb-addons/essentials-actions-3/manager-bundle.js +1 -1
- package/storybook-static/sb-addons/essentials-controls-2/manager-bundle.js +395 -43
- package/storybook-static/sb-addons/essentials-controls-2/manager-bundle.js.LEGAL.txt +0 -18
- package/storybook-static/sb-addons/essentials-viewport-5/manager-bundle.js +1 -1
- package/storybook-static/sb-addons/interactions-10/manager-bundle.js +221 -22
- package/storybook-static/sb-addons/storybook-core-core-server-presets-0/common-manager-bundle.js +3 -0
- package/storybook-static/sb-common-assets/favicon.svg +1 -0
- package/storybook-static/sb-manager/globals-module-info.js +995 -1
- package/storybook-static/sb-manager/globals-runtime.js +53525 -1
- package/storybook-static/sb-manager/globals.js +48 -1
- package/storybook-static/sb-manager/runtime.js +11884 -1
- package/storybook-static/sb-preview/globals.js +33 -1
- package/storybook-static/sb-preview/runtime.js +9437 -108
- package/vite.config.js +2 -1
- package/.idea/codeStyles/codeStyleConfig.xml +0 -5
- package/.idea/compiler.xml +0 -6
- package/.idea/inspectionProfiles/Project_Default.xml +0 -6
- package/.vscode/settings.json +0 -24
- package/dist/custom-element-DAe7uvIt.js +0 -477
- package/dist/custom-element-DZvvhscI.cjs +0 -53
- package/dist/local-storage-Boafngui.cjs +0 -1
- package/dist/local-storage-BqDEu2kF.js +0 -59
- package/storybook-static/assets/Color-PRSJMWNM-CRSv4C7i.js +0 -1
- package/storybook-static/assets/DocsRenderer-K4EAMTCU-CG_P5zRZ.js +0 -2
- package/storybook-static/assets/WithTooltip-KJL26V4Q-CUqUi5E8.js +0 -1
- package/storybook-static/assets/custom-element-DpIq8E2p.js +0 -219
- package/storybook-static/assets/formatter-2WMMO6ZP-C-UiBIma.js +0 -58
- package/storybook-static/assets/http-request.stories-DCqY5s2i.js +0 -300
- package/storybook-static/assets/iframe-CURpvmVV.js +0 -2
- package/storybook-static/assets/index-CKw1EbdP.js +0 -1
- package/storybook-static/assets/index-CVRyq5ci.js +0 -27
- package/storybook-static/assets/index-Cc7K62zD.js +0 -3
- package/storybook-static/assets/index-DYpTqTNu.js +0 -1
- package/storybook-static/assets/index-DsWii_Ep.js +0 -548
- package/storybook-static/assets/index-DuIEV_9C.js +0 -13
- package/storybook-static/assets/lit-element-CenEXOuS.js +0 -19
- package/storybook-static/assets/local-storage.test.stories-BqgYwqr-.js +0 -419
- package/storybook-static/assets/preview-B4GcaC1c.js +0 -1
- package/storybook-static/assets/preview-B63p-W8V.js +0 -20
- package/storybook-static/assets/preview-DRnyIGXK.js +0 -48
- package/storybook-static/assets/preview-DjDbQHPa.js +0 -2
- package/storybook-static/assets/syntaxhighlighter-BP7B2CQK-CDpEe51g.js +0 -1
- package/storybook-static/assets/version-select.test.stories-DLwf-TPB.js +0 -60
- package/storybook-static/sb-addons/storybook-core-server-presets-0/common-manager-bundle.js +0 -3
- package/storybook-static/sb-common-assets/fonts.css +0 -31
- package/storybook-static/sb-manager/WithTooltip-KJL26V4Q-5LS5AN27.js +0 -1
- package/storybook-static/sb-manager/chunk-B3YDJJJH.js +0 -347
- package/storybook-static/sb-manager/chunk-BLWCBWKL.js +0 -9
- package/storybook-static/sb-manager/chunk-GUVK2GTO.js +0 -6
- package/storybook-static/sb-manager/chunk-LFRML3ZV.js +0 -186
- package/storybook-static/sb-manager/chunk-MC7RAF2B.js +0 -274
- package/storybook-static/sb-manager/chunk-ZR5JZWHI.js +0 -1
- package/storybook-static/sb-manager/formatter-2WMMO6ZP-JI7RHVTW.js +0 -58
- package/storybook-static/sb-manager/index.js +0 -1
- package/storybook-static/sb-manager/syntaxhighlighter-BP7B2CQK-WOJYHKQR.js +0 -1
- /package/storybook-static/sb-addons/{storybook-core-server-presets-0 → storybook-core-core-server-presets-0}/common-manager-bundle.js.LEGAL.txt +0 -0
|
@@ -0,0 +1,281 @@
|
|
|
1
|
+
import{w as m,e as t}from"./custom-element-D8hcDZHh.js";import"./http-request-DNq59pnj.js";import{h as p}from"./handlers-B5969HUu.js";import"./index-C8k3Z-3Y.js";const v={title:"",slice:"page",url:"/pokemon?limit=6"};function r(a){return new Promise(e=>setTimeout(e,a))}function f({title:a,slice:e,url:n}){return`
|
|
2
|
+
<fieldset>
|
|
3
|
+
<legend>${a}</legend>
|
|
4
|
+
<custom-element>
|
|
5
|
+
<template><!-- wrapping into template to prevent images loading within DCE declaration -->
|
|
6
|
+
<http-request
|
|
7
|
+
url="{ //slice/url }"
|
|
8
|
+
slice="${e}"
|
|
9
|
+
></http-request>
|
|
10
|
+
<input placeholder="URL for fetch" slice="url" value="{ //url ?? '${n}' }"/>
|
|
11
|
+
<button>set</button>
|
|
12
|
+
<button slice="url" slice-value="''" slice-event="click">set blank</button>
|
|
13
|
+
<button slice="url" slice-value="'/reflect'" slice-event="click">/reflect</button>
|
|
14
|
+
<button slice="url" slice-value="'/pokemon'" slice-event="click">/pokemon</button>
|
|
15
|
+
<button slice="url" slice-value="'/pokemon?limit=6'" slice-event="click">/pokemon?limit=6</button>
|
|
16
|
+
<button slice="url" slice-value="'/pokemon?limit=3'" slice-event="click">/pokemon?limit=3</button>
|
|
17
|
+
|
|
18
|
+
<p>Pokemon Count: {count(/datadom/slice/${e}//results)}</p>
|
|
19
|
+
<if test="count(/datadom/slice/${e}//results) < 0">
|
|
20
|
+
<h3>loading...</h3>
|
|
21
|
+
</if>
|
|
22
|
+
<for-each select="/datadom/slice/${e}//results">
|
|
23
|
+
<variable name="pokeid"
|
|
24
|
+
select="substring-before( substring-after( @url, 'https://pokeapi.co/api/v2/pokemon/'),'/')"
|
|
25
|
+
></variable>
|
|
26
|
+
<button>
|
|
27
|
+
<value-of select='@name'/>
|
|
28
|
+
</button>
|
|
29
|
+
</for-each>
|
|
30
|
+
<for-each select="//slice/${e}/value/*">
|
|
31
|
+
<ul>
|
|
32
|
+
<var data-testid="request-section"><value-of select='name(.)'/></var>
|
|
33
|
+
<for-each select="@*">
|
|
34
|
+
<div>
|
|
35
|
+
<var>@{local-name(.)}</var>
|
|
36
|
+
=
|
|
37
|
+
<code data-testid="attr-{local-name(.)}">{.}</code>
|
|
38
|
+
</div>
|
|
39
|
+
</for-each>
|
|
40
|
+
</ul>
|
|
41
|
+
</for-each>
|
|
42
|
+
</template>
|
|
43
|
+
</custom-element>
|
|
44
|
+
</fieldset>
|
|
45
|
+
`}const y={title:"http-request",render:a=>f(a),renderPlay:async function(e){document.body.innerHTML=(e.render?e:y).render({...v,...e.args}),await new Promise(n=>setTimeout(async()=>{await e.play({canvasElement:document.body.firstElementChild}),n(0)},0))}},l={args:{title:"url and slice",url:"/pokemon?limit=4"},play:async({canvasElement:a})=>{const e=m(a);await e.findByText(l.args.title),t(await e.findByText("bulbasaur")).toBeInTheDocument(),t(await e.findByText("Pokemon Count: 4")).toBeInTheDocument(a)},parameters:{msw:p}},c={args:{title:"url change",url:""},play:async({canvasElement:a})=>{const e=m(a);await e.findByText(c.args.title);const n=h=>e.getByText(h),o=a.querySelector("http-request"),s=()=>o.getAttribute("url");t(n("Pokemon Count: 0")).toBeInTheDocument(),t(s()).toEqual(""),n("/pokemon").click(),await r(100),t(s()).toEqual("/pokemon"),t(n("Pokemon Count: 6")).toBeInTheDocument(),n("/pokemon?limit=6").click(),await r(100),t(s()).toEqual("/pokemon?limit=6"),t(n("Pokemon Count: 6")).toBeInTheDocument(),n("/pokemon?limit=3").click(),await r(100),t(s()).toEqual("/pokemon?limit=3"),t(n("Pokemon Count: 3")).toBeInTheDocument(),n("set blank").click(),await r(100),t(s()).toEqual(""),t(n("Pokemon Count: 0")).toBeInTheDocument()},parameters:{msw:p}},i={args:{title:"http-request with error",url:"/404"},play:async({canvasElement:a})=>{const e=m(a),n=async o=>(await e.findByTestId(o)).textContent;await e.findByText(i.args.title),await r(200),t(await n("attr-status")).to.include("404")},parameters:{msw:p}},u={args:{title:"http-request with delayed .5 seconds response",url:"/noreturn"},play:async({canvasElement:a})=>{const e=m(a);await e.findByText(u.args.title),t(await e.findByText("request")).toBeInTheDocument(),t(e.queryByText("response")).toBe(null),t(await e.findByText("response")).toBeInTheDocument(),t(await e.findByText("bulbasaur")).toBeInTheDocument(),t(await e.findByText("Pokemon Count: 6")).toBeInTheDocument()},parameters:{msw:p}},d={args:{title:"http-request headers and response status and headers",url:"/reflect"},play:async({canvasElement:a})=>{const e=m(a);await e.findByText(d.args.title),await r(200);const n=await e.findByTestId("section-request-attr-x-test");t(n).toBeInTheDocument(),t(n.textContent.trim()).toEqual("testing");const o=await e.findByTestId("section-response-attr-x-test");t(o).toBeInTheDocument(),t(o.textContent.trim()).toEqual("reflected-testing");const s=await e.findByTestId("section-response-attr-x-added");t(s).toBeInTheDocument(),t(s.textContent.trim()).toEqual("abc")},parameters:{msw:p},render:({url:a,title:e})=>`
|
|
46
|
+
<fieldset>
|
|
47
|
+
<legend>${e}</legend>
|
|
48
|
+
<p> <b>request</b> headers are populated into dedicated <b>slice/request/headers</b></p>
|
|
49
|
+
|
|
50
|
+
<custom-element tag="headers-demo" >
|
|
51
|
+
<template>
|
|
52
|
+
<http-request
|
|
53
|
+
url="${a}"
|
|
54
|
+
slice="request_slice"
|
|
55
|
+
type="text"
|
|
56
|
+
mode="cors"
|
|
57
|
+
header-x-test="testing"
|
|
58
|
+
></http-request>
|
|
59
|
+
Content of <code>//slice/request_slice</code> is filled by <b>request</b> and <b>response</b>
|
|
60
|
+
from <code>${a}</code>
|
|
61
|
+
|
|
62
|
+
<h3>Samples</h3>
|
|
63
|
+
<table>
|
|
64
|
+
<tr><th>//slice/request_slice/value/request/headers/@mode</th>
|
|
65
|
+
<td><value-of select="//slice/request_slice/value/request/@mode"/></td></tr>
|
|
66
|
+
<tr><th>//slice/request_slice/value/response/headers/@content-type</th>
|
|
67
|
+
<td><value-of select="//slice/request_slice/value/response/headers/@content-type"/></td></tr>
|
|
68
|
+
<tr><th>//slice/request_slice/value/response/@status</th>
|
|
69
|
+
<td><value-of select="//slice/request_slice/value/response/@status"/></td></tr>
|
|
70
|
+
</table>
|
|
71
|
+
<for-each select="//slice/request_slice/value/*">
|
|
72
|
+
<xsl:variable name="section">{name(.)}</xsl:variable>
|
|
73
|
+
<ul date-testid="section-{$section}">
|
|
74
|
+
<b data-testid="request-section"><value-of select='name(.)'/></b>
|
|
75
|
+
<for-each select="@*">
|
|
76
|
+
<div>
|
|
77
|
+
<var >@{local-name(.)}</var>
|
|
78
|
+
=
|
|
79
|
+
<code data-testid="section-{$section}-prop-{local-name(.)}">{.}</code>
|
|
80
|
+
</div>
|
|
81
|
+
</for-each>
|
|
82
|
+
<for-each select="*">
|
|
83
|
+
<div>
|
|
84
|
+
<b data-testid="section-deep"><value-of select='local-name(.)'/></b>
|
|
85
|
+
<ul>
|
|
86
|
+
<for-each select="@*">
|
|
87
|
+
<li>
|
|
88
|
+
<var data-testid="section-attribute">@{local-name(.)}</var>
|
|
89
|
+
=
|
|
90
|
+
<code data-testid="section-{$section}-attr-{local-name(.)}">{.}</code>
|
|
91
|
+
</li>
|
|
92
|
+
</for-each>
|
|
93
|
+
<code><value-of select='.'/></code>
|
|
94
|
+
</ul>
|
|
95
|
+
</div>
|
|
96
|
+
</for-each>
|
|
97
|
+
</ul>
|
|
98
|
+
</for-each>
|
|
99
|
+
</template>
|
|
100
|
+
</custom-element>
|
|
101
|
+
<headers-demo></headers-demo>
|
|
102
|
+
</fieldset>
|
|
103
|
+
`};l.parameters={...l.parameters,docs:{...l.parameters?.docs,source:{originalSource:`{
|
|
104
|
+
args: {
|
|
105
|
+
title: 'url and slice',
|
|
106
|
+
url: '/pokemon?limit=4'
|
|
107
|
+
},
|
|
108
|
+
play: async ({
|
|
109
|
+
canvasElement
|
|
110
|
+
}) => {
|
|
111
|
+
const canvas = within(canvasElement);
|
|
112
|
+
await canvas.findByText((Demo.args!.title as string));
|
|
113
|
+
expect(await canvas.findByText('bulbasaur')).toBeInTheDocument();
|
|
114
|
+
expect(await canvas.findByText('Pokemon Count: 4')).toBeInTheDocument(canvasElement);
|
|
115
|
+
},
|
|
116
|
+
parameters: {
|
|
117
|
+
msw: handlers
|
|
118
|
+
}
|
|
119
|
+
}`,...l.parameters?.docs?.source}}};c.parameters={...c.parameters,docs:{...c.parameters?.docs,source:{originalSource:`{
|
|
120
|
+
args: {
|
|
121
|
+
title: 'url change',
|
|
122
|
+
url: ''
|
|
123
|
+
},
|
|
124
|
+
play: async ({
|
|
125
|
+
canvasElement
|
|
126
|
+
}) => {
|
|
127
|
+
const canvas = within(canvasElement);
|
|
128
|
+
await canvas.findByText((UrlChange.args!.title as string));
|
|
129
|
+
const byText = txt => canvas.getByText(txt);
|
|
130
|
+
const requestElement = canvasElement.querySelector('http-request'),
|
|
131
|
+
urlAttr = () => requestElement.getAttribute('url');
|
|
132
|
+
expect(byText('Pokemon Count: 0')).toBeInTheDocument();
|
|
133
|
+
expect(urlAttr()).toEqual('');
|
|
134
|
+
byText('/pokemon').click();
|
|
135
|
+
await sleep(100);
|
|
136
|
+
expect(urlAttr()).toEqual('/pokemon');
|
|
137
|
+
expect(byText('Pokemon Count: 6')).toBeInTheDocument();
|
|
138
|
+
byText('/pokemon?limit=6').click();
|
|
139
|
+
await sleep(100);
|
|
140
|
+
expect(urlAttr()).toEqual('/pokemon?limit=6');
|
|
141
|
+
expect(byText('Pokemon Count: 6')).toBeInTheDocument();
|
|
142
|
+
byText('/pokemon?limit=3').click();
|
|
143
|
+
await sleep(100);
|
|
144
|
+
expect(urlAttr()).toEqual('/pokemon?limit=3');
|
|
145
|
+
expect(byText('Pokemon Count: 3')).toBeInTheDocument();
|
|
146
|
+
byText('set blank').click();
|
|
147
|
+
await sleep(100);
|
|
148
|
+
expect(urlAttr()).toEqual('');
|
|
149
|
+
expect(byText('Pokemon Count: 0')).toBeInTheDocument();
|
|
150
|
+
},
|
|
151
|
+
parameters: {
|
|
152
|
+
msw: handlers
|
|
153
|
+
}
|
|
154
|
+
}`,...c.parameters?.docs?.source}}};i.parameters={...i.parameters,docs:{...i.parameters?.docs,source:{originalSource:`{
|
|
155
|
+
args: {
|
|
156
|
+
title: 'http-request with error',
|
|
157
|
+
url: '/404'
|
|
158
|
+
},
|
|
159
|
+
play: async ({
|
|
160
|
+
canvasElement
|
|
161
|
+
}) => {
|
|
162
|
+
const canvas = within(canvasElement),
|
|
163
|
+
$t = async testId => (await canvas.findByTestId(testId)).textContent;
|
|
164
|
+
await canvas.findByText((Http404.args!.title as string));
|
|
165
|
+
await sleep(200);
|
|
166
|
+
expect(await $t('attr-status')).to.include('404');
|
|
167
|
+
},
|
|
168
|
+
parameters: {
|
|
169
|
+
msw: handlers
|
|
170
|
+
}
|
|
171
|
+
}`,...i.parameters?.docs?.source}}};u.parameters={...u.parameters,docs:{...u.parameters?.docs,source:{originalSource:`{
|
|
172
|
+
args: {
|
|
173
|
+
title: 'http-request with delayed .5 seconds response',
|
|
174
|
+
url: '/noreturn'
|
|
175
|
+
},
|
|
176
|
+
play: async ({
|
|
177
|
+
canvasElement
|
|
178
|
+
}) => {
|
|
179
|
+
const canvas = within(canvasElement);
|
|
180
|
+
await canvas.findByText((LifecycleInitialized.args!.title as string));
|
|
181
|
+
expect(await canvas.findByText('request')).toBeInTheDocument(); // after DCE initiated
|
|
182
|
+
expect(canvas.queryByText('response')).toBe(null); // response is not available
|
|
183
|
+
// wait while response appears ~ 0.5 seconds
|
|
184
|
+
expect(await canvas.findByText('response')).toBeInTheDocument(); // only after delay is shown
|
|
185
|
+
|
|
186
|
+
expect(await canvas.findByText('bulbasaur')).toBeInTheDocument();
|
|
187
|
+
expect(await canvas.findByText('Pokemon Count: 6')).toBeInTheDocument();
|
|
188
|
+
},
|
|
189
|
+
parameters: {
|
|
190
|
+
msw: handlers
|
|
191
|
+
}
|
|
192
|
+
}`,...u.parameters?.docs?.source}}};d.parameters={...d.parameters,docs:{...d.parameters?.docs,source:{originalSource:`{
|
|
193
|
+
args: {
|
|
194
|
+
title: 'http-request headers and response status and headers',
|
|
195
|
+
url: '/reflect'
|
|
196
|
+
},
|
|
197
|
+
play: async ({
|
|
198
|
+
canvasElement
|
|
199
|
+
}) => {
|
|
200
|
+
const canvas = within(canvasElement);
|
|
201
|
+
await canvas.findByText((RequestResponseHeaders.args!.title as string));
|
|
202
|
+
await sleep(200);
|
|
203
|
+
|
|
204
|
+
// see response made by /reflect handler
|
|
205
|
+
|
|
206
|
+
const te = await canvas.findByTestId('section-request-attr-x-test');
|
|
207
|
+
expect(te).toBeInTheDocument();
|
|
208
|
+
expect(te.textContent.trim()).toEqual('testing');
|
|
209
|
+
const t1 = await canvas.findByTestId('section-response-attr-x-test');
|
|
210
|
+
expect(t1).toBeInTheDocument();
|
|
211
|
+
expect(t1.textContent.trim()).toEqual('reflected-testing');
|
|
212
|
+
const tAdded = await canvas.findByTestId('section-response-attr-x-added');
|
|
213
|
+
expect(tAdded).toBeInTheDocument();
|
|
214
|
+
expect(tAdded.textContent.trim()).toEqual('abc');
|
|
215
|
+
},
|
|
216
|
+
parameters: {
|
|
217
|
+
msw: handlers
|
|
218
|
+
},
|
|
219
|
+
render: ({
|
|
220
|
+
url,
|
|
221
|
+
title
|
|
222
|
+
}) => \`
|
|
223
|
+
<fieldset>
|
|
224
|
+
<legend>\${title}</legend>
|
|
225
|
+
<p> <b>request</b> headers are populated into dedicated <b>slice/request/headers</b></p>
|
|
226
|
+
|
|
227
|
+
<custom-element tag="headers-demo" >
|
|
228
|
+
<template>
|
|
229
|
+
<http-request
|
|
230
|
+
url="\${url}"
|
|
231
|
+
slice="request_slice"
|
|
232
|
+
type="text"
|
|
233
|
+
mode="cors"
|
|
234
|
+
header-x-test="testing"
|
|
235
|
+
></http-request>
|
|
236
|
+
Content of <code>//slice/request_slice</code> is filled by <b>request</b> and <b>response</b>
|
|
237
|
+
from <code>\${url}</code>
|
|
238
|
+
|
|
239
|
+
<h3>Samples</h3>
|
|
240
|
+
<table>
|
|
241
|
+
<tr><th>//slice/request_slice/value/request/headers/@mode</th>
|
|
242
|
+
<td><value-of select="//slice/request_slice/value/request/@mode"/></td></tr>
|
|
243
|
+
<tr><th>//slice/request_slice/value/response/headers/@content-type</th>
|
|
244
|
+
<td><value-of select="//slice/request_slice/value/response/headers/@content-type"/></td></tr>
|
|
245
|
+
<tr><th>//slice/request_slice/value/response/@status</th>
|
|
246
|
+
<td><value-of select="//slice/request_slice/value/response/@status"/></td></tr>
|
|
247
|
+
</table>
|
|
248
|
+
<for-each select="//slice/request_slice/value/*">
|
|
249
|
+
<xsl:variable name="section">{name(.)}</xsl:variable>
|
|
250
|
+
<ul date-testid="section-{$section}">
|
|
251
|
+
<b data-testid="request-section"><value-of select='name(.)'/></b>
|
|
252
|
+
<for-each select="@*">
|
|
253
|
+
<div>
|
|
254
|
+
<var >@{local-name(.)}</var>
|
|
255
|
+
=
|
|
256
|
+
<code data-testid="section-{$section}-prop-{local-name(.)}">{.}</code>
|
|
257
|
+
</div>
|
|
258
|
+
</for-each>
|
|
259
|
+
<for-each select="*">
|
|
260
|
+
<div>
|
|
261
|
+
<b data-testid="section-deep"><value-of select='local-name(.)'/></b>
|
|
262
|
+
<ul>
|
|
263
|
+
<for-each select="@*">
|
|
264
|
+
<li>
|
|
265
|
+
<var data-testid="section-attribute">@{local-name(.)}</var>
|
|
266
|
+
=
|
|
267
|
+
<code data-testid="section-{$section}-attr-{local-name(.)}">{.}</code>
|
|
268
|
+
</li>
|
|
269
|
+
</for-each>
|
|
270
|
+
<code><value-of select='.'/></code>
|
|
271
|
+
</ul>
|
|
272
|
+
</div>
|
|
273
|
+
</for-each>
|
|
274
|
+
</ul>
|
|
275
|
+
</for-each>
|
|
276
|
+
</template>
|
|
277
|
+
</custom-element>
|
|
278
|
+
<headers-demo></headers-demo>
|
|
279
|
+
</fieldset>
|
|
280
|
+
\`
|
|
281
|
+
}`,...d.parameters?.docs?.source}}};const w=["Demo","UrlChange","Http404","LifecycleInitialized","RequestResponseHeaders"];export{l as Demo,i as Http404,u as LifecycleInitialized,d as RequestResponseHeaders,c as UrlChange,w as __namedExportsOrder,y as default};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./Configure-DdXbGKhY.js","./index-Ay195x2L.js","./index-D-8MO0q_.js","./index-DGdNYaqV.js","./index-DrFu-skq.js","./index-C7lvoJNv.js","./attributes.test.stories-Bt5V18qO.js","./custom-element-D8hcDZHh.js","./index-C8k3Z-3Y.js","./css.test.stories-CGYy2daE.js","./dom-merge.test.stories-XlsZ0UvX.js","./external-template.test.stories-Bt_Pflu8.js","./form.test.stories-B0NoI8wm.js","./http-request.stories-B2skuTFV.js","./http-request-DNq59pnj.js","./handlers-B5969HUu.js","./local-storage.test.stories-DfY6feqG.js","./location-element-hKpcXCdn.js","./location-element.test.stories-944AotIJ.js","./module-url.test.stories-DSKcwApl.js","./set-url.test.stories-DjLHKkEh.js","./slice-events.test.stories-8I_BrHd6.js","./slots.test.stories-CvZz4jyP.js","./version-select.test.stories-DSxmJylI.js","./entry-preview-BKQ8UCxI.js","./lit-element-DzhCn-8W.js","./entry-preview-docs-BMKNVQXA.js","./tiny-invariant-BxWVcicq.js","./preview-BJPLiuSt.js","./preview-Djh1_Tal.js","./preview-BMWqy4Bi.js","./preview-DB9FwMii.js","./preview-0Jj89qip.js","./preview-AJR7rVPD.js"])))=>i.map(i=>d[i]);
|
|
2
|
+
import"../sb-preview/runtime.js";(function(){const _=document.createElement("link").relList;if(_&&_.supports&&_.supports("modulepreload"))return;for(const r of document.querySelectorAll('link[rel="modulepreload"]'))a(r);new MutationObserver(r=>{for(const s of r)if(s.type==="childList")for(const o of s.addedNodes)o.tagName==="LINK"&&o.rel==="modulepreload"&&a(o)}).observe(document,{childList:!0,subtree:!0});function c(r){const s={};return r.integrity&&(s.integrity=r.integrity),r.referrerPolicy&&(s.referrerPolicy=r.referrerPolicy),r.crossOrigin==="use-credentials"?s.credentials="include":r.crossOrigin==="anonymous"?s.credentials="omit":s.credentials="same-origin",s}function a(r){if(r.ep)return;r.ep=!0;const s=c(r);fetch(r.href,s)}})();const R="modulepreload",f=function(e,_){return new URL(e,_).href},O={},t=function(_,c,a){let r=Promise.resolve();if(c&&c.length>0){const s=document.getElementsByTagName("link"),o=document.querySelector("meta[property=csp-nonce]"),p=o?.nonce||o?.getAttribute("nonce");r=Promise.all(c.map(i=>{if(i=f(i,a),i in O)return;O[i]=!0;const m=i.endsWith(".css"),d=m?'[rel="stylesheet"]':"";if(!!a)for(let l=s.length-1;l>=0;l--){const u=s[l];if(u.href===i&&(!m||u.rel==="stylesheet"))return}else if(document.querySelector(`link[href="${i}"]${d}`))return;const n=document.createElement("link");if(n.rel=m?"stylesheet":R,m||(n.as="script"),n.crossOrigin="",n.href=i,p&&n.setAttribute("nonce",p),document.head.appendChild(n),m)return new Promise((l,u)=>{n.addEventListener("load",l),n.addEventListener("error",()=>u(new Error(`Unable to preload CSS for ${i}`)))})}))}return r.then(()=>_()).catch(s=>{const o=new Event("vite:preloadError",{cancelable:!0});if(o.payload=s,window.dispatchEvent(o),!o.defaultPrevented)throw s})},{createBrowserChannel:T}=__STORYBOOK_MODULE_CHANNELS__,{addons:L}=__STORYBOOK_MODULE_PREVIEW_API__,E=T({page:"preview"});L.setChannel(E);window.__STORYBOOK_ADDONS_CHANNEL__=E;window.CONFIG_TYPE==="DEVELOPMENT"&&(window.__STORYBOOK_SERVER_CHANNEL__=E);const P={"./src/stories/Configure.mdx":async()=>t(()=>import("./Configure-DdXbGKhY.js"),__vite__mapDeps([0,1,2,3,4,5]),import.meta.url),"./src/stories/attributes.test.stories.ts":async()=>t(()=>import("./attributes.test.stories-Bt5V18qO.js"),__vite__mapDeps([6,7,8]),import.meta.url),"./src/stories/css.test.stories.ts":async()=>t(()=>import("./css.test.stories-CGYy2daE.js"),__vite__mapDeps([9,7,8]),import.meta.url),"./src/stories/dom-merge.test.stories.ts":async()=>t(()=>import("./dom-merge.test.stories-XlsZ0UvX.js"),__vite__mapDeps([10,7,8]),import.meta.url),"./src/stories/external-template.test.stories.ts":async()=>t(()=>import("./external-template.test.stories-Bt_Pflu8.js"),__vite__mapDeps([11,7,8]),import.meta.url),"./src/stories/form.test.stories.ts":async()=>t(()=>import("./form.test.stories-B0NoI8wm.js"),__vite__mapDeps([12,7,8]),import.meta.url),"./src/stories/http-request.stories.ts":async()=>t(()=>import("./http-request.stories-B2skuTFV.js"),__vite__mapDeps([13,7,8,14,15]),import.meta.url),"./src/stories/local-storage.test.stories.ts":async()=>t(()=>import("./local-storage.test.stories-DfY6feqG.js"),__vite__mapDeps([16,7,8,14,17]),import.meta.url),"./src/stories/location-element.test.stories.ts":async()=>t(()=>import("./location-element.test.stories-944AotIJ.js"),__vite__mapDeps([18,7,8,17]),import.meta.url),"./src/stories/module-url.test.stories.ts":async()=>t(()=>import("./module-url.test.stories-DSKcwApl.js"),__vite__mapDeps([19,7,8]),import.meta.url),"./src/stories/set-url.test.stories.ts":async()=>t(()=>import("./set-url.test.stories-DjLHKkEh.js"),__vite__mapDeps([20,7,8,17]),import.meta.url),"./src/stories/slice-events.test.stories.ts":async()=>t(()=>import("./slice-events.test.stories-8I_BrHd6.js"),__vite__mapDeps([21,7,8]),import.meta.url),"./src/stories/slots.test.stories.ts":async()=>t(()=>import("./slots.test.stories-CvZz4jyP.js"),__vite__mapDeps([22,7,8]),import.meta.url),"./src/stories/version-select.test.stories.ts":async()=>t(()=>import("./version-select.test.stories-DSxmJylI.js"),__vite__mapDeps([23,7,8,14,17]),import.meta.url)};async function y(e){return P[e]()}const{composeConfigs:I,PreviewWeb:V,ClientApi:S}=__STORYBOOK_MODULE_PREVIEW_API__,D=async(e=[])=>{const _=await Promise.all([e.at(0)??t(()=>import("./entry-preview-BKQ8UCxI.js"),__vite__mapDeps([24,4,25]),import.meta.url),e.at(1)??t(()=>import("./entry-preview-docs-BMKNVQXA.js"),__vite__mapDeps([26,3,27,25]),import.meta.url),e.at(2)??t(()=>import("./preview-BJPLiuSt.js"),__vite__mapDeps([28,2]),import.meta.url),e.at(3)??t(()=>import("./preview-CadgX-4y.js"),[],import.meta.url),e.at(4)??t(()=>import("./preview-FpHGYA1q.js"),[],import.meta.url),e.at(5)??t(()=>import("./preview-Djh1_Tal.js"),__vite__mapDeps([29,4]),import.meta.url),e.at(6)??t(()=>import("./preview-BnWGZYux.js"),[],import.meta.url),e.at(7)??t(()=>import("./preview-BMWqy4Bi.js"),__vite__mapDeps([30,27]),import.meta.url),e.at(8)??t(()=>import("./preview-DB9FwMii.js"),__vite__mapDeps([31,4]),import.meta.url),e.at(9)??t(()=>import("./preview-4Up_z4Em.js"),[],import.meta.url),e.at(10)??t(()=>import("./preview-0Jj89qip.js"),__vite__mapDeps([32,8]),import.meta.url),e.at(11)??t(()=>import("./preview-AJR7rVPD.js"),__vite__mapDeps([33,15]),import.meta.url)]);return I(_)};window.__STORYBOOK_PREVIEW__=window.__STORYBOOK_PREVIEW__||new V(y,D);window.__STORYBOOK_STORY_STORE__=window.__STORYBOOK_STORY_STORE__||window.__STORYBOOK_PREVIEW__.storyStore;export{t as _};
|