woocommerce/1135.c1af66ad.iframe.bundle...

1 line
2.6 KiB
Plaintext
Raw Permalink Normal View History

{"version":3,"file":"1135.c1af66ad.iframe.bundle.js","mappings":";;AAUA;AACA;;;;;AAOA;;AAEA","sources":["webpack://@woocommerce/storybook/../../node_modules/.pnpm/@storybook+core-events@7.6.19/node_modules/@storybook/core-events/dist/errors/preview-errors.mjs"],"sourcesContent":["import { StorybookError } from '../chunk-3FIG6PJN.mjs';\nimport dedent from 'ts-dedent';\n\nvar Category=(Category2=>(Category2.PREVIEW_CLIENT_LOGGER=\"PREVIEW_CLIENT-LOGGER\",Category2.PREVIEW_CHANNELS=\"PREVIEW_CHANNELS\",Category2.PREVIEW_CORE_EVENTS=\"PREVIEW_CORE-EVENTS\",Category2.PREVIEW_INSTRUMENTER=\"PREVIEW_INSTRUMENTER\",Category2.PREVIEW_API=\"PREVIEW_API\",Category2.PREVIEW_REACT_DOM_SHIM=\"PREVIEW_REACT-DOM-SHIM\",Category2.PREVIEW_ROUTER=\"PREVIEW_ROUTER\",Category2.PREVIEW_THEMING=\"PREVIEW_THEMING\",Category2.RENDERER_HTML=\"RENDERER_HTML\",Category2.RENDERER_PREACT=\"RENDERER_PREACT\",Category2.RENDERER_REACT=\"RENDERER_REACT\",Category2.RENDERER_SERVER=\"RENDERER_SERVER\",Category2.RENDERER_SVELTE=\"RENDERER_SVELTE\",Category2.RENDERER_VUE=\"RENDERER_VUE\",Category2.RENDERER_VUE3=\"RENDERER_VUE3\",Category2.RENDERER_WEB_COMPONENTS=\"RENDERER_WEB-COMPONENTS\",Category2))(Category||{}),MissingStoryAfterHmrError=class extends StorybookError{constructor(data){super();this.data=data;this.category=\"PREVIEW_API\";this.code=1;}template(){return dedent`\n Couldn't find story matching id '${this.data.storyId}' after HMR.\n - Did you just rename a story?\n - Did you remove it from your CSF file?\n - Are you sure a story with the id '${this.data.storyId}' exists?\n - Please check the values in the stories field of your main.js config and see if they would match your CSF File.\n - Also check the browser console and terminal for potential error messages.`}},ImplicitActionsDuringRendering=class extends StorybookError{constructor(data){super();this.data=data;this.category=\"PREVIEW_API\";this.code=2;this.documentation=\"https://github.com/storybookjs/storybook/blob/next/MIGRATION.md#using-implicit-actions-during-rendering-is-deprecated-for-example-in-the-play-function\";}template(){return dedent`\n We detected that you use an implicit action arg during ${this.data.phase} of your story. \n ${this.data.deprecated?`\nThis is deprecated and won't work in Storybook 8 anymore.\n`:\"\"}\n Please provide an explicit spy to your args like this:\n import { fn } from '@storybook/test';\n ... \n args: {\n ${this.data.name}: fn()\n }\n `}};\n\nexport { Category, ImplicitActionsDuringRendering, MissingStoryAfterHmrError };\n"],"names":[],"sourceRoot":""}