build(#10336): impl `SatisfiesExpression`

This commit is contained in:
Acid Chicken (硫酸鶏) 2023-03-20 23:07:13 +09:00
parent 2eecb8e876
commit bdbbb92ff6
No known key found for this signature in database
GPG Key ID: 3E87B98A3F6BAB99
431 changed files with 1414 additions and 1383 deletions

View File

@ -2,11 +2,26 @@ import { existsSync, readFileSync } from 'node:fs';
import { writeFile } from 'node:fs/promises'; import { writeFile } from 'node:fs/promises';
import { basename, dirname } from 'node:path/posix'; import { basename, dirname } from 'node:path/posix';
import { promisify } from 'node:util'; import { promisify } from 'node:util';
import { generate } from 'astring'; import { GENERATOR, type State, generate } from 'astring';
import type * as estree from 'estree'; import type * as estree from 'estree';
import * as glob from 'glob'; import * as glob from 'glob';
import { format } from 'prettier'; import { format } from 'prettier';
interface SatisfiesExpression extends estree.BaseExpression {
type: 'SatisfiesExpression';
expression: estree.Expression;
reference: estree.Identifier;
}
const generator = {
...GENERATOR,
SatisfiesExpression(node: SatisfiesExpression, state: State) {
this[node.expression.type](node.expression, state);
state.write(' satisfies ');
this[node.reference.type](node.reference, state);
},
}
function h<T extends estree.Node>(component: T['type'], props: Omit<T, 'type'>): T { function h<T extends estree.Node>(component: T['type'], props: Omit<T, 'type'>): T {
const type = component.replace(/(?:^|-)([a-z])/g, (_, c) => c.toUpperCase()); const type = component.replace(/(?:^|-)([a-z])/g, (_, c) => c.toUpperCase());
return Object.assign(props, { type }) as T; return Object.assign(props, { type }) as T;
@ -56,10 +71,14 @@ function toStories(component: string): string {
local={<identifier name="Meta" />} local={<identifier name="Meta" />}
imported={<identifier name="Meta" />} imported={<identifier name="Meta" />}
/>, />,
<import-specifier ...hasImplStories
local={<identifier name="Story" />} ? []
imported={<identifier name="Story" />} : [
/>, <import-specifier
local={<identifier name="StoryObj" />}
imported={<identifier name="StoryObj" />}
/>,
],
]} ]}
/>, />,
...hasMsw ...hasMsw
@ -93,19 +112,24 @@ function toStories(component: string): string {
<variable-declarator <variable-declarator
id={<identifier name="meta" />} id={<identifier name="meta" />}
init={ init={
<object-expression <satisfies-expression
properties={[ expression={
<property <object-expression
key={<identifier name="title" />} properties={[
value={literal} <property
kind="init" key={<identifier name="title" />}
/>, value={literal}
<property kind="init"
key={<identifier name="component" />} />,
value={identifier} <property
kind="init" key={<identifier name="component" />}
/>, value={identifier}
]} kind="init"
/>,
]}
/>
}
reference={<identifier name={`Meta<typeof ${identifier.name}>`} />}
/> />
} }
/>, />,
@ -123,89 +147,94 @@ function toStories(component: string): string {
<variable-declarator <variable-declarator
id={<identifier name="Default" />} id={<identifier name="Default" />}
init={ init={
<object-expression <satisfies-expression
properties={[ expression={
<property <object-expression
key={<identifier name="render" />} properties={[
value={ <property
<function-expression key={<identifier name="render" />}
id={<identifier name="render" />} value={
params={[ <function-expression
<identifier name="args" />, id={<identifier name="render" />}
<object-pattern params={[
properties={[ <identifier name="args" />,
<property <object-pattern
key={<identifier name="argTypes" />} properties={[
value={<identifier name="argTypes" />} <property
kind="init" key={<identifier name="argTypes" />}
shorthand value={<identifier name="argTypes" />}
kind="init"
shorthand
/>,
]}
/>, />,
]} ]}
/>, body={
]} <block-statement
body={ body={[
<block-statement <return-statement
body={[ argument={
<return-statement <object-expression
argument={ properties={[
<object-expression <property
properties={[ key={<identifier name="components" />}
<property value={
key={<identifier name="components" />} <object-expression
value={ properties={[
<object-expression <property
properties={[ key={identifier}
<property value={identifier}
key={identifier} kind="init"
value={identifier} shorthand
kind="init" />,
shorthand ]}
/>,
]}
/>
}
kind="init"
/>,
<property
key={<identifier name="props" />}
value={
<call-expression
callee={
<member-expression
object={<identifier name="Object" />}
property={<identifier name="keys" />}
/> />
} }
arguments={[ kind="init"
<identifier name="argTypes" />, />,
]} <property
/> key={<identifier name="props" />}
} value={
kind="init" <call-expression
/>, callee={
<property <member-expression
key={<identifier name="template" />} object={<identifier name="Object" />}
value={<literal value={`<${identifier.name} v-bind="$props" />`} />} property={<identifier name="keys" />}
kind="init" />
/>, }
]} arguments={[
/> <identifier name="argTypes" />,
} ]}
/>, />
]} }
kind="init"
/>,
<property
key={<identifier name="template" />}
value={<literal value={`<${identifier.name} v-bind="$props" />`} />}
kind="init"
/>,
]}
/>
}
/>,
]}
/>
}
/> />
} }
/> method
} kind="init"
method />,
kind="init" <property
/>, key={<identifier name="parameters" />}
<property value={parameters}
key={<identifier name="parameters" />} kind="init"
value={parameters} />,
kind="init" ]}
/>, />
]} }
reference={<identifier name={`StoryObj<typeof ${identifier.name}>`} />}
/> />
} }
/>, />,
@ -221,7 +250,7 @@ function toStories(component: string): string {
/> />
) as unknown as estree.Program; ) as unknown as estree.Program;
return format( return format(
generate(program) + (hasImplStories ? readFileSync(`${implStories}.ts`, 'utf-8') : ''), generate(program, { generator }) + (hasImplStories ? readFileSync(`${implStories}.ts`, 'utf-8') : ''),
{ {
parser: 'babel-ts', parser: 'babel-ts',
singleQuote: true, singleQuote: true,

View File

@ -1,9 +1,9 @@
import { Meta, Story } from '@storybook/vue3'; import { Meta, StoryObj } from '@storybook/vue3';
import MkAbuseReport from './MkAbuseReport.vue'; import MkAbuseReport from './MkAbuseReport.vue';
const meta = { const meta = {
title: 'components/MkAbuseReport', title: 'components/MkAbuseReport',
component: MkAbuseReport, component: MkAbuseReport,
}; } satisfies Meta<typeof MkAbuseReport>;
export const Default = { export const Default = {
render(args, { argTypes }) { render(args, { argTypes }) {
return { return {
@ -17,5 +17,5 @@ export const Default = {
parameters: { parameters: {
layout: 'centered', layout: 'centered',
}, },
}; } satisfies StoryObj<typeof MkAbuseReport>;
export default meta; export default meta;

View File

@ -1,9 +1,9 @@
import { Meta, Story } from '@storybook/vue3'; import { Meta, StoryObj } from '@storybook/vue3';
import MkAbuseReportWindow from './MkAbuseReportWindow.vue'; import MkAbuseReportWindow from './MkAbuseReportWindow.vue';
const meta = { const meta = {
title: 'components/MkAbuseReportWindow', title: 'components/MkAbuseReportWindow',
component: MkAbuseReportWindow, component: MkAbuseReportWindow,
}; } satisfies Meta<typeof MkAbuseReportWindow>;
export const Default = { export const Default = {
render(args, { argTypes }) { render(args, { argTypes }) {
return { return {
@ -17,5 +17,5 @@ export const Default = {
parameters: { parameters: {
layout: 'centered', layout: 'centered',
}, },
}; } satisfies StoryObj<typeof MkAbuseReportWindow>;
export default meta; export default meta;

View File

@ -1,9 +1,9 @@
import { Meta, Story } from '@storybook/vue3'; import { Meta, StoryObj } from '@storybook/vue3';
import MkAchievements from './MkAchievements.vue'; import MkAchievements from './MkAchievements.vue';
const meta = { const meta = {
title: 'components/MkAchievements', title: 'components/MkAchievements',
component: MkAchievements, component: MkAchievements,
}; } satisfies Meta<typeof MkAchievements>;
export const Default = { export const Default = {
render(args, { argTypes }) { render(args, { argTypes }) {
return { return {
@ -17,5 +17,5 @@ export const Default = {
parameters: { parameters: {
layout: 'centered', layout: 'centered',
}, },
}; } satisfies StoryObj<typeof MkAchievements>;
export default meta; export default meta;

View File

@ -1,8 +1,8 @@
import { Meta, Story } from '@storybook/vue3'; import { Meta } from '@storybook/vue3';
const meta = { const meta = {
title: 'components/MkAnalogClock', title: 'components/MkAnalogClock',
component: MkAnalogClock, component: MkAnalogClock,
}; } satisfies Meta<typeof MkAnalogClock>;
export default meta; export default meta;
import MkAnalogClock from './MkAnalogClock.vue'; import MkAnalogClock from './MkAnalogClock.vue';
export const Default = { export const Default = {

View File

@ -1,9 +1,9 @@
import { Meta, Story } from '@storybook/vue3'; import { Meta, StoryObj } from '@storybook/vue3';
import MkAsUi from './MkAsUi.vue'; import MkAsUi from './MkAsUi.vue';
const meta = { const meta = {
title: 'components/MkAsUi', title: 'components/MkAsUi',
component: MkAsUi, component: MkAsUi,
}; } satisfies Meta<typeof MkAsUi>;
export const Default = { export const Default = {
render(args, { argTypes }) { render(args, { argTypes }) {
return { return {
@ -17,5 +17,5 @@ export const Default = {
parameters: { parameters: {
layout: 'centered', layout: 'centered',
}, },
}; } satisfies StoryObj<typeof MkAsUi>;
export default meta; export default meta;

View File

@ -1,9 +1,9 @@
import { Meta, Story } from '@storybook/vue3'; import { Meta, StoryObj } from '@storybook/vue3';
import MkAutocomplete from './MkAutocomplete.vue'; import MkAutocomplete from './MkAutocomplete.vue';
const meta = { const meta = {
title: 'components/MkAutocomplete', title: 'components/MkAutocomplete',
component: MkAutocomplete, component: MkAutocomplete,
}; } satisfies Meta<typeof MkAutocomplete>;
export const Default = { export const Default = {
render(args, { argTypes }) { render(args, { argTypes }) {
return { return {
@ -17,5 +17,5 @@ export const Default = {
parameters: { parameters: {
layout: 'centered', layout: 'centered',
}, },
}; } satisfies StoryObj<typeof MkAutocomplete>;
export default meta; export default meta;

View File

@ -1,9 +1,9 @@
import { Meta, Story } from '@storybook/vue3'; import { Meta, StoryObj } from '@storybook/vue3';
import MkAvatars from './MkAvatars.vue'; import MkAvatars from './MkAvatars.vue';
const meta = { const meta = {
title: 'components/MkAvatars', title: 'components/MkAvatars',
component: MkAvatars, component: MkAvatars,
}; } satisfies Meta<typeof MkAvatars>;
export const Default = { export const Default = {
render(args, { argTypes }) { render(args, { argTypes }) {
return { return {
@ -17,5 +17,5 @@ export const Default = {
parameters: { parameters: {
layout: 'centered', layout: 'centered',
}, },
}; } satisfies StoryObj<typeof MkAvatars>;
export default meta; export default meta;

View File

@ -1,3 +1,4 @@
import { StoryObj } from '@storybook/vue3';
import MkButton from './MkButton.vue'; import MkButton from './MkButton.vue';
export const Default = { export const Default = {
render(args, { argTypes }) { render(args, { argTypes }) {
@ -12,4 +13,4 @@ export const Default = {
parameters: { parameters: {
layout: 'centered', layout: 'centered',
}, },
}; } satisfies StoryObj<typeof MkButton>;

View File

@ -1,9 +1,10 @@
import { Meta, Story } from '@storybook/vue3'; import { Meta } from '@storybook/vue3';
const meta = { const meta = {
title: 'components/MkButton', title: 'components/MkButton',
component: MkButton, component: MkButton,
}; } satisfies Meta<typeof MkButton>;
export default meta; export default meta;
import { StoryObj } from '@storybook/vue3';
import MkButton from './MkButton.vue'; import MkButton from './MkButton.vue';
export const Default = { export const Default = {
render(args, { argTypes }) { render(args, { argTypes }) {
@ -18,4 +19,4 @@ export const Default = {
parameters: { parameters: {
layout: 'centered', layout: 'centered',
}, },
}; } satisfies StoryObj<typeof MkButton>;

View File

@ -1,9 +1,9 @@
import { Meta, Story } from '@storybook/vue3'; import { Meta, StoryObj } from '@storybook/vue3';
import MkCaptcha from './MkCaptcha.vue'; import MkCaptcha from './MkCaptcha.vue';
const meta = { const meta = {
title: 'components/MkCaptcha', title: 'components/MkCaptcha',
component: MkCaptcha, component: MkCaptcha,
}; } satisfies Meta<typeof MkCaptcha>;
export const Default = { export const Default = {
render(args, { argTypes }) { render(args, { argTypes }) {
return { return {
@ -17,5 +17,5 @@ export const Default = {
parameters: { parameters: {
layout: 'centered', layout: 'centered',
}, },
}; } satisfies StoryObj<typeof MkCaptcha>;
export default meta; export default meta;

View File

@ -1,9 +1,9 @@
import { Meta, Story } from '@storybook/vue3'; import { Meta, StoryObj } from '@storybook/vue3';
import MkChannelFollowButton from './MkChannelFollowButton.vue'; import MkChannelFollowButton from './MkChannelFollowButton.vue';
const meta = { const meta = {
title: 'components/MkChannelFollowButton', title: 'components/MkChannelFollowButton',
component: MkChannelFollowButton, component: MkChannelFollowButton,
}; } satisfies Meta<typeof MkChannelFollowButton>;
export const Default = { export const Default = {
render(args, { argTypes }) { render(args, { argTypes }) {
return { return {
@ -17,5 +17,5 @@ export const Default = {
parameters: { parameters: {
layout: 'centered', layout: 'centered',
}, },
}; } satisfies StoryObj<typeof MkChannelFollowButton>;
export default meta; export default meta;

View File

@ -1,9 +1,9 @@
import { Meta, Story } from '@storybook/vue3'; import { Meta, StoryObj } from '@storybook/vue3';
import MkChannelPreview from './MkChannelPreview.vue'; import MkChannelPreview from './MkChannelPreview.vue';
const meta = { const meta = {
title: 'components/MkChannelPreview', title: 'components/MkChannelPreview',
component: MkChannelPreview, component: MkChannelPreview,
}; } satisfies Meta<typeof MkChannelPreview>;
export const Default = { export const Default = {
render(args, { argTypes }) { render(args, { argTypes }) {
return { return {
@ -17,5 +17,5 @@ export const Default = {
parameters: { parameters: {
layout: 'centered', layout: 'centered',
}, },
}; } satisfies StoryObj<typeof MkChannelPreview>;
export default meta; export default meta;

View File

@ -1,9 +1,9 @@
import { Meta, Story } from '@storybook/vue3'; import { Meta, StoryObj } from '@storybook/vue3';
import MkChart from './MkChart.vue'; import MkChart from './MkChart.vue';
const meta = { const meta = {
title: 'components/MkChart', title: 'components/MkChart',
component: MkChart, component: MkChart,
}; } satisfies Meta<typeof MkChart>;
export const Default = { export const Default = {
render(args, { argTypes }) { render(args, { argTypes }) {
return { return {
@ -17,5 +17,5 @@ export const Default = {
parameters: { parameters: {
layout: 'centered', layout: 'centered',
}, },
}; } satisfies StoryObj<typeof MkChart>;
export default meta; export default meta;

View File

@ -1,9 +1,9 @@
import { Meta, Story } from '@storybook/vue3'; import { Meta, StoryObj } from '@storybook/vue3';
import MkChartLegend from './MkChartLegend.vue'; import MkChartLegend from './MkChartLegend.vue';
const meta = { const meta = {
title: 'components/MkChartLegend', title: 'components/MkChartLegend',
component: MkChartLegend, component: MkChartLegend,
}; } satisfies Meta<typeof MkChartLegend>;
export const Default = { export const Default = {
render(args, { argTypes }) { render(args, { argTypes }) {
return { return {
@ -17,5 +17,5 @@ export const Default = {
parameters: { parameters: {
layout: 'centered', layout: 'centered',
}, },
}; } satisfies StoryObj<typeof MkChartLegend>;
export default meta; export default meta;

View File

@ -1,9 +1,9 @@
import { Meta, Story } from '@storybook/vue3'; import { Meta, StoryObj } from '@storybook/vue3';
import MkChartTooltip from './MkChartTooltip.vue'; import MkChartTooltip from './MkChartTooltip.vue';
const meta = { const meta = {
title: 'components/MkChartTooltip', title: 'components/MkChartTooltip',
component: MkChartTooltip, component: MkChartTooltip,
}; } satisfies Meta<typeof MkChartTooltip>;
export const Default = { export const Default = {
render(args, { argTypes }) { render(args, { argTypes }) {
return { return {
@ -17,5 +17,5 @@ export const Default = {
parameters: { parameters: {
layout: 'centered', layout: 'centered',
}, },
}; } satisfies StoryObj<typeof MkChartTooltip>;
export default meta; export default meta;

View File

@ -1,9 +1,9 @@
import { Meta, Story } from '@storybook/vue3'; import { Meta, StoryObj } from '@storybook/vue3';
import MkCheckbox from './MkCheckbox.vue'; import MkCheckbox from './MkCheckbox.vue';
const meta = { const meta = {
title: 'components/MkCheckbox', title: 'components/MkCheckbox',
component: MkCheckbox, component: MkCheckbox,
}; } satisfies Meta<typeof MkCheckbox>;
export const Default = { export const Default = {
render(args, { argTypes }) { render(args, { argTypes }) {
return { return {
@ -17,5 +17,5 @@ export const Default = {
parameters: { parameters: {
layout: 'centered', layout: 'centered',
}, },
}; } satisfies StoryObj<typeof MkCheckbox>;
export default meta; export default meta;

View File

@ -1,9 +1,9 @@
import { Meta, Story } from '@storybook/vue3'; import { Meta, StoryObj } from '@storybook/vue3';
import MkClickerGame from './MkClickerGame.vue'; import MkClickerGame from './MkClickerGame.vue';
const meta = { const meta = {
title: 'components/MkClickerGame', title: 'components/MkClickerGame',
component: MkClickerGame, component: MkClickerGame,
}; } satisfies Meta<typeof MkClickerGame>;
export const Default = { export const Default = {
render(args, { argTypes }) { render(args, { argTypes }) {
return { return {
@ -17,5 +17,5 @@ export const Default = {
parameters: { parameters: {
layout: 'centered', layout: 'centered',
}, },
}; } satisfies StoryObj<typeof MkClickerGame>;
export default meta; export default meta;

View File

@ -1,9 +1,9 @@
import { Meta, Story } from '@storybook/vue3'; import { Meta, StoryObj } from '@storybook/vue3';
import MkClipPreview from './MkClipPreview.vue'; import MkClipPreview from './MkClipPreview.vue';
const meta = { const meta = {
title: 'components/MkClipPreview', title: 'components/MkClipPreview',
component: MkClipPreview, component: MkClipPreview,
}; } satisfies Meta<typeof MkClipPreview>;
export const Default = { export const Default = {
render(args, { argTypes }) { render(args, { argTypes }) {
return { return {
@ -17,5 +17,5 @@ export const Default = {
parameters: { parameters: {
layout: 'centered', layout: 'centered',
}, },
}; } satisfies StoryObj<typeof MkClipPreview>;
export default meta; export default meta;

View File

@ -1,9 +1,9 @@
import { Meta, Story } from '@storybook/vue3'; import { Meta, StoryObj } from '@storybook/vue3';
import MkCode_core from './MkCode.core.vue'; import MkCode_core from './MkCode.core.vue';
const meta = { const meta = {
title: 'components/MkCode.core', title: 'components/MkCode.core',
component: MkCode_core, component: MkCode_core,
}; } satisfies Meta<typeof MkCode_core>;
export const Default = { export const Default = {
render(args, { argTypes }) { render(args, { argTypes }) {
return { return {
@ -17,5 +17,5 @@ export const Default = {
parameters: { parameters: {
layout: 'centered', layout: 'centered',
}, },
}; } satisfies StoryObj<typeof MkCode_core>;
export default meta; export default meta;

View File

@ -1,9 +1,9 @@
import { Meta, Story } from '@storybook/vue3'; import { Meta, StoryObj } from '@storybook/vue3';
import MkCode from './MkCode.vue'; import MkCode from './MkCode.vue';
const meta = { const meta = {
title: 'components/MkCode', title: 'components/MkCode',
component: MkCode, component: MkCode,
}; } satisfies Meta<typeof MkCode>;
export const Default = { export const Default = {
render(args, { argTypes }) { render(args, { argTypes }) {
return { return {
@ -17,5 +17,5 @@ export const Default = {
parameters: { parameters: {
layout: 'centered', layout: 'centered',
}, },
}; } satisfies StoryObj<typeof MkCode>;
export default meta; export default meta;

View File

@ -1,9 +1,9 @@
import { Meta, Story } from '@storybook/vue3'; import { Meta, StoryObj } from '@storybook/vue3';
import MkContainer from './MkContainer.vue'; import MkContainer from './MkContainer.vue';
const meta = { const meta = {
title: 'components/MkContainer', title: 'components/MkContainer',
component: MkContainer, component: MkContainer,
}; } satisfies Meta<typeof MkContainer>;
export const Default = { export const Default = {
render(args, { argTypes }) { render(args, { argTypes }) {
return { return {
@ -17,5 +17,5 @@ export const Default = {
parameters: { parameters: {
layout: 'centered', layout: 'centered',
}, },
}; } satisfies StoryObj<typeof MkContainer>;
export default meta; export default meta;

View File

@ -1,9 +1,9 @@
import { Meta, Story } from '@storybook/vue3'; import { Meta, StoryObj } from '@storybook/vue3';
import MkContextMenu from './MkContextMenu.vue'; import MkContextMenu from './MkContextMenu.vue';
const meta = { const meta = {
title: 'components/MkContextMenu', title: 'components/MkContextMenu',
component: MkContextMenu, component: MkContextMenu,
}; } satisfies Meta<typeof MkContextMenu>;
export const Default = { export const Default = {
render(args, { argTypes }) { render(args, { argTypes }) {
return { return {
@ -17,5 +17,5 @@ export const Default = {
parameters: { parameters: {
layout: 'centered', layout: 'centered',
}, },
}; } satisfies StoryObj<typeof MkContextMenu>;
export default meta; export default meta;

View File

@ -1,9 +1,9 @@
import { Meta, Story } from '@storybook/vue3'; import { Meta, StoryObj } from '@storybook/vue3';
import MkCropperDialog from './MkCropperDialog.vue'; import MkCropperDialog from './MkCropperDialog.vue';
const meta = { const meta = {
title: 'components/MkCropperDialog', title: 'components/MkCropperDialog',
component: MkCropperDialog, component: MkCropperDialog,
}; } satisfies Meta<typeof MkCropperDialog>;
export const Default = { export const Default = {
render(args, { argTypes }) { render(args, { argTypes }) {
return { return {
@ -17,5 +17,5 @@ export const Default = {
parameters: { parameters: {
layout: 'centered', layout: 'centered',
}, },
}; } satisfies StoryObj<typeof MkCropperDialog>;
export default meta; export default meta;

View File

@ -1,9 +1,9 @@
import { Meta, Story } from '@storybook/vue3'; import { Meta, StoryObj } from '@storybook/vue3';
import MkCwButton from './MkCwButton.vue'; import MkCwButton from './MkCwButton.vue';
const meta = { const meta = {
title: 'components/MkCwButton', title: 'components/MkCwButton',
component: MkCwButton, component: MkCwButton,
}; } satisfies Meta<typeof MkCwButton>;
export const Default = { export const Default = {
render(args, { argTypes }) { render(args, { argTypes }) {
return { return {
@ -17,5 +17,5 @@ export const Default = {
parameters: { parameters: {
layout: 'centered', layout: 'centered',
}, },
}; } satisfies StoryObj<typeof MkCwButton>;
export default meta; export default meta;

View File

@ -1,9 +1,9 @@
import { Meta, Story } from '@storybook/vue3'; import { Meta, StoryObj } from '@storybook/vue3';
import MkDateSeparatedList from './MkDateSeparatedList.vue'; import MkDateSeparatedList from './MkDateSeparatedList.vue';
const meta = { const meta = {
title: 'components/MkDateSeparatedList', title: 'components/MkDateSeparatedList',
component: MkDateSeparatedList, component: MkDateSeparatedList,
}; } satisfies Meta<typeof MkDateSeparatedList>;
export const Default = { export const Default = {
render(args, { argTypes }) { render(args, { argTypes }) {
return { return {
@ -17,5 +17,5 @@ export const Default = {
parameters: { parameters: {
layout: 'centered', layout: 'centered',
}, },
}; } satisfies StoryObj<typeof MkDateSeparatedList>;
export default meta; export default meta;

View File

@ -1,9 +1,9 @@
import { Meta, Story } from '@storybook/vue3'; import { Meta, StoryObj } from '@storybook/vue3';
import MkDialog from './MkDialog.vue'; import MkDialog from './MkDialog.vue';
const meta = { const meta = {
title: 'components/MkDialog', title: 'components/MkDialog',
component: MkDialog, component: MkDialog,
}; } satisfies Meta<typeof MkDialog>;
export const Default = { export const Default = {
render(args, { argTypes }) { render(args, { argTypes }) {
return { return {
@ -17,5 +17,5 @@ export const Default = {
parameters: { parameters: {
layout: 'centered', layout: 'centered',
}, },
}; } satisfies StoryObj<typeof MkDialog>;
export default meta; export default meta;

View File

@ -1,9 +1,9 @@
import { Meta, Story } from '@storybook/vue3'; import { Meta, StoryObj } from '@storybook/vue3';
import MkDigitalClock from './MkDigitalClock.vue'; import MkDigitalClock from './MkDigitalClock.vue';
const meta = { const meta = {
title: 'components/MkDigitalClock', title: 'components/MkDigitalClock',
component: MkDigitalClock, component: MkDigitalClock,
}; } satisfies Meta<typeof MkDigitalClock>;
export const Default = { export const Default = {
render(args, { argTypes }) { render(args, { argTypes }) {
return { return {
@ -17,5 +17,5 @@ export const Default = {
parameters: { parameters: {
layout: 'centered', layout: 'centered',
}, },
}; } satisfies StoryObj<typeof MkDigitalClock>;
export default meta; export default meta;

View File

@ -1,9 +1,9 @@
import { Meta, Story } from '@storybook/vue3'; import { Meta, StoryObj } from '@storybook/vue3';
import MkDonation from './MkDonation.vue'; import MkDonation from './MkDonation.vue';
const meta = { const meta = {
title: 'components/MkDonation', title: 'components/MkDonation',
component: MkDonation, component: MkDonation,
}; } satisfies Meta<typeof MkDonation>;
export const Default = { export const Default = {
render(args, { argTypes }) { render(args, { argTypes }) {
return { return {
@ -17,5 +17,5 @@ export const Default = {
parameters: { parameters: {
layout: 'centered', layout: 'centered',
}, },
}; } satisfies StoryObj<typeof MkDonation>;
export default meta; export default meta;

View File

@ -1,9 +1,9 @@
import { Meta, Story } from '@storybook/vue3'; import { Meta, StoryObj } from '@storybook/vue3';
import MkDrive_file from './MkDrive.file.vue'; import MkDrive_file from './MkDrive.file.vue';
const meta = { const meta = {
title: 'components/MkDrive.file', title: 'components/MkDrive.file',
component: MkDrive_file, component: MkDrive_file,
}; } satisfies Meta<typeof MkDrive_file>;
export const Default = { export const Default = {
render(args, { argTypes }) { render(args, { argTypes }) {
return { return {
@ -17,5 +17,5 @@ export const Default = {
parameters: { parameters: {
layout: 'centered', layout: 'centered',
}, },
}; } satisfies StoryObj<typeof MkDrive_file>;
export default meta; export default meta;

View File

@ -1,9 +1,9 @@
import { Meta, Story } from '@storybook/vue3'; import { Meta, StoryObj } from '@storybook/vue3';
import MkDrive_folder from './MkDrive.folder.vue'; import MkDrive_folder from './MkDrive.folder.vue';
const meta = { const meta = {
title: 'components/MkDrive.folder', title: 'components/MkDrive.folder',
component: MkDrive_folder, component: MkDrive_folder,
}; } satisfies Meta<typeof MkDrive_folder>;
export const Default = { export const Default = {
render(args, { argTypes }) { render(args, { argTypes }) {
return { return {
@ -17,5 +17,5 @@ export const Default = {
parameters: { parameters: {
layout: 'centered', layout: 'centered',
}, },
}; } satisfies StoryObj<typeof MkDrive_folder>;
export default meta; export default meta;

View File

@ -1,9 +1,9 @@
import { Meta, Story } from '@storybook/vue3'; import { Meta, StoryObj } from '@storybook/vue3';
import MkDrive_navFolder from './MkDrive.navFolder.vue'; import MkDrive_navFolder from './MkDrive.navFolder.vue';
const meta = { const meta = {
title: 'components/MkDrive.navFolder', title: 'components/MkDrive.navFolder',
component: MkDrive_navFolder, component: MkDrive_navFolder,
}; } satisfies Meta<typeof MkDrive_navFolder>;
export const Default = { export const Default = {
render(args, { argTypes }) { render(args, { argTypes }) {
return { return {
@ -17,5 +17,5 @@ export const Default = {
parameters: { parameters: {
layout: 'centered', layout: 'centered',
}, },
}; } satisfies StoryObj<typeof MkDrive_navFolder>;
export default meta; export default meta;

View File

@ -1,9 +1,9 @@
import { Meta, Story } from '@storybook/vue3'; import { Meta, StoryObj } from '@storybook/vue3';
import MkDrive from './MkDrive.vue'; import MkDrive from './MkDrive.vue';
const meta = { const meta = {
title: 'components/MkDrive', title: 'components/MkDrive',
component: MkDrive, component: MkDrive,
}; } satisfies Meta<typeof MkDrive>;
export const Default = { export const Default = {
render(args, { argTypes }) { render(args, { argTypes }) {
return { return {
@ -17,5 +17,5 @@ export const Default = {
parameters: { parameters: {
layout: 'centered', layout: 'centered',
}, },
}; } satisfies StoryObj<typeof MkDrive>;
export default meta; export default meta;

View File

@ -1,9 +1,9 @@
import { Meta, Story } from '@storybook/vue3'; import { Meta, StoryObj } from '@storybook/vue3';
import MkDriveFileThumbnail from './MkDriveFileThumbnail.vue'; import MkDriveFileThumbnail from './MkDriveFileThumbnail.vue';
const meta = { const meta = {
title: 'components/MkDriveFileThumbnail', title: 'components/MkDriveFileThumbnail',
component: MkDriveFileThumbnail, component: MkDriveFileThumbnail,
}; } satisfies Meta<typeof MkDriveFileThumbnail>;
export const Default = { export const Default = {
render(args, { argTypes }) { render(args, { argTypes }) {
return { return {
@ -17,5 +17,5 @@ export const Default = {
parameters: { parameters: {
layout: 'centered', layout: 'centered',
}, },
}; } satisfies StoryObj<typeof MkDriveFileThumbnail>;
export default meta; export default meta;

View File

@ -1,9 +1,9 @@
import { Meta, Story } from '@storybook/vue3'; import { Meta, StoryObj } from '@storybook/vue3';
import MkDriveSelectDialog from './MkDriveSelectDialog.vue'; import MkDriveSelectDialog from './MkDriveSelectDialog.vue';
const meta = { const meta = {
title: 'components/MkDriveSelectDialog', title: 'components/MkDriveSelectDialog',
component: MkDriveSelectDialog, component: MkDriveSelectDialog,
}; } satisfies Meta<typeof MkDriveSelectDialog>;
export const Default = { export const Default = {
render(args, { argTypes }) { render(args, { argTypes }) {
return { return {
@ -17,5 +17,5 @@ export const Default = {
parameters: { parameters: {
layout: 'centered', layout: 'centered',
}, },
}; } satisfies StoryObj<typeof MkDriveSelectDialog>;
export default meta; export default meta;

View File

@ -1,9 +1,9 @@
import { Meta, Story } from '@storybook/vue3'; import { Meta, StoryObj } from '@storybook/vue3';
import MkDriveWindow from './MkDriveWindow.vue'; import MkDriveWindow from './MkDriveWindow.vue';
const meta = { const meta = {
title: 'components/MkDriveWindow', title: 'components/MkDriveWindow',
component: MkDriveWindow, component: MkDriveWindow,
}; } satisfies Meta<typeof MkDriveWindow>;
export const Default = { export const Default = {
render(args, { argTypes }) { render(args, { argTypes }) {
return { return {
@ -17,5 +17,5 @@ export const Default = {
parameters: { parameters: {
layout: 'centered', layout: 'centered',
}, },
}; } satisfies StoryObj<typeof MkDriveWindow>;
export default meta; export default meta;

View File

@ -1,9 +1,9 @@
import { Meta, Story } from '@storybook/vue3'; import { Meta, StoryObj } from '@storybook/vue3';
import MkEmojiPicker_section from './MkEmojiPicker.section.vue'; import MkEmojiPicker_section from './MkEmojiPicker.section.vue';
const meta = { const meta = {
title: 'components/MkEmojiPicker.section', title: 'components/MkEmojiPicker.section',
component: MkEmojiPicker_section, component: MkEmojiPicker_section,
}; } satisfies Meta<typeof MkEmojiPicker_section>;
export const Default = { export const Default = {
render(args, { argTypes }) { render(args, { argTypes }) {
return { return {
@ -17,5 +17,5 @@ export const Default = {
parameters: { parameters: {
layout: 'centered', layout: 'centered',
}, },
}; } satisfies StoryObj<typeof MkEmojiPicker_section>;
export default meta; export default meta;

View File

@ -1,9 +1,9 @@
import { Meta, Story } from '@storybook/vue3'; import { Meta, StoryObj } from '@storybook/vue3';
import MkEmojiPicker from './MkEmojiPicker.vue'; import MkEmojiPicker from './MkEmojiPicker.vue';
const meta = { const meta = {
title: 'components/MkEmojiPicker', title: 'components/MkEmojiPicker',
component: MkEmojiPicker, component: MkEmojiPicker,
}; } satisfies Meta<typeof MkEmojiPicker>;
export const Default = { export const Default = {
render(args, { argTypes }) { render(args, { argTypes }) {
return { return {
@ -17,5 +17,5 @@ export const Default = {
parameters: { parameters: {
layout: 'centered', layout: 'centered',
}, },
}; } satisfies StoryObj<typeof MkEmojiPicker>;
export default meta; export default meta;

View File

@ -1,9 +1,9 @@
import { Meta, Story } from '@storybook/vue3'; import { Meta, StoryObj } from '@storybook/vue3';
import MkEmojiPickerDialog from './MkEmojiPickerDialog.vue'; import MkEmojiPickerDialog from './MkEmojiPickerDialog.vue';
const meta = { const meta = {
title: 'components/MkEmojiPickerDialog', title: 'components/MkEmojiPickerDialog',
component: MkEmojiPickerDialog, component: MkEmojiPickerDialog,
}; } satisfies Meta<typeof MkEmojiPickerDialog>;
export const Default = { export const Default = {
render(args, { argTypes }) { render(args, { argTypes }) {
return { return {
@ -17,5 +17,5 @@ export const Default = {
parameters: { parameters: {
layout: 'centered', layout: 'centered',
}, },
}; } satisfies StoryObj<typeof MkEmojiPickerDialog>;
export default meta; export default meta;

View File

@ -1,9 +1,9 @@
import { Meta, Story } from '@storybook/vue3'; import { Meta, StoryObj } from '@storybook/vue3';
import MkEmojiPickerWindow from './MkEmojiPickerWindow.vue'; import MkEmojiPickerWindow from './MkEmojiPickerWindow.vue';
const meta = { const meta = {
title: 'components/MkEmojiPickerWindow', title: 'components/MkEmojiPickerWindow',
component: MkEmojiPickerWindow, component: MkEmojiPickerWindow,
}; } satisfies Meta<typeof MkEmojiPickerWindow>;
export const Default = { export const Default = {
render(args, { argTypes }) { render(args, { argTypes }) {
return { return {
@ -17,5 +17,5 @@ export const Default = {
parameters: { parameters: {
layout: 'centered', layout: 'centered',
}, },
}; } satisfies StoryObj<typeof MkEmojiPickerWindow>;
export default meta; export default meta;

View File

@ -1,9 +1,9 @@
import { Meta, Story } from '@storybook/vue3'; import { Meta, StoryObj } from '@storybook/vue3';
import MkFeaturedPhotos from './MkFeaturedPhotos.vue'; import MkFeaturedPhotos from './MkFeaturedPhotos.vue';
const meta = { const meta = {
title: 'components/MkFeaturedPhotos', title: 'components/MkFeaturedPhotos',
component: MkFeaturedPhotos, component: MkFeaturedPhotos,
}; } satisfies Meta<typeof MkFeaturedPhotos>;
export const Default = { export const Default = {
render(args, { argTypes }) { render(args, { argTypes }) {
return { return {
@ -17,5 +17,5 @@ export const Default = {
parameters: { parameters: {
layout: 'centered', layout: 'centered',
}, },
}; } satisfies StoryObj<typeof MkFeaturedPhotos>;
export default meta; export default meta;

View File

@ -1,9 +1,9 @@
import { Meta, Story } from '@storybook/vue3'; import { Meta, StoryObj } from '@storybook/vue3';
import MkFileCaptionEditWindow from './MkFileCaptionEditWindow.vue'; import MkFileCaptionEditWindow from './MkFileCaptionEditWindow.vue';
const meta = { const meta = {
title: 'components/MkFileCaptionEditWindow', title: 'components/MkFileCaptionEditWindow',
component: MkFileCaptionEditWindow, component: MkFileCaptionEditWindow,
}; } satisfies Meta<typeof MkFileCaptionEditWindow>;
export const Default = { export const Default = {
render(args, { argTypes }) { render(args, { argTypes }) {
return { return {
@ -17,5 +17,5 @@ export const Default = {
parameters: { parameters: {
layout: 'centered', layout: 'centered',
}, },
}; } satisfies StoryObj<typeof MkFileCaptionEditWindow>;
export default meta; export default meta;

View File

@ -1,9 +1,9 @@
import { Meta, Story } from '@storybook/vue3'; import { Meta, StoryObj } from '@storybook/vue3';
import MkFileListForAdmin from './MkFileListForAdmin.vue'; import MkFileListForAdmin from './MkFileListForAdmin.vue';
const meta = { const meta = {
title: 'components/MkFileListForAdmin', title: 'components/MkFileListForAdmin',
component: MkFileListForAdmin, component: MkFileListForAdmin,
}; } satisfies Meta<typeof MkFileListForAdmin>;
export const Default = { export const Default = {
render(args, { argTypes }) { render(args, { argTypes }) {
return { return {
@ -17,5 +17,5 @@ export const Default = {
parameters: { parameters: {
layout: 'centered', layout: 'centered',
}, },
}; } satisfies StoryObj<typeof MkFileListForAdmin>;
export default meta; export default meta;

View File

@ -1,9 +1,9 @@
import { Meta, Story } from '@storybook/vue3'; import { Meta, StoryObj } from '@storybook/vue3';
import MkFlashPreview from './MkFlashPreview.vue'; import MkFlashPreview from './MkFlashPreview.vue';
const meta = { const meta = {
title: 'components/MkFlashPreview', title: 'components/MkFlashPreview',
component: MkFlashPreview, component: MkFlashPreview,
}; } satisfies Meta<typeof MkFlashPreview>;
export const Default = { export const Default = {
render(args, { argTypes }) { render(args, { argTypes }) {
return { return {
@ -17,5 +17,5 @@ export const Default = {
parameters: { parameters: {
layout: 'centered', layout: 'centered',
}, },
}; } satisfies StoryObj<typeof MkFlashPreview>;
export default meta; export default meta;

View File

@ -1,9 +1,9 @@
import { Meta, Story } from '@storybook/vue3'; import { Meta, StoryObj } from '@storybook/vue3';
import MkFoldableSection from './MkFoldableSection.vue'; import MkFoldableSection from './MkFoldableSection.vue';
const meta = { const meta = {
title: 'components/MkFoldableSection', title: 'components/MkFoldableSection',
component: MkFoldableSection, component: MkFoldableSection,
}; } satisfies Meta<typeof MkFoldableSection>;
export const Default = { export const Default = {
render(args, { argTypes }) { render(args, { argTypes }) {
return { return {
@ -17,5 +17,5 @@ export const Default = {
parameters: { parameters: {
layout: 'centered', layout: 'centered',
}, },
}; } satisfies StoryObj<typeof MkFoldableSection>;
export default meta; export default meta;

View File

@ -1,9 +1,9 @@
import { Meta, Story } from '@storybook/vue3'; import { Meta, StoryObj } from '@storybook/vue3';
import MkFolder from './MkFolder.vue'; import MkFolder from './MkFolder.vue';
const meta = { const meta = {
title: 'components/MkFolder', title: 'components/MkFolder',
component: MkFolder, component: MkFolder,
}; } satisfies Meta<typeof MkFolder>;
export const Default = { export const Default = {
render(args, { argTypes }) { render(args, { argTypes }) {
return { return {
@ -17,5 +17,5 @@ export const Default = {
parameters: { parameters: {
layout: 'centered', layout: 'centered',
}, },
}; } satisfies StoryObj<typeof MkFolder>;
export default meta; export default meta;

View File

@ -1,9 +1,9 @@
import { Meta, Story } from '@storybook/vue3'; import { Meta, StoryObj } from '@storybook/vue3';
import MkFollowButton from './MkFollowButton.vue'; import MkFollowButton from './MkFollowButton.vue';
const meta = { const meta = {
title: 'components/MkFollowButton', title: 'components/MkFollowButton',
component: MkFollowButton, component: MkFollowButton,
}; } satisfies Meta<typeof MkFollowButton>;
export const Default = { export const Default = {
render(args, { argTypes }) { render(args, { argTypes }) {
return { return {
@ -17,5 +17,5 @@ export const Default = {
parameters: { parameters: {
layout: 'centered', layout: 'centered',
}, },
}; } satisfies StoryObj<typeof MkFollowButton>;
export default meta; export default meta;

View File

@ -1,9 +1,9 @@
import { Meta, Story } from '@storybook/vue3'; import { Meta, StoryObj } from '@storybook/vue3';
import MkForgotPassword from './MkForgotPassword.vue'; import MkForgotPassword from './MkForgotPassword.vue';
const meta = { const meta = {
title: 'components/MkForgotPassword', title: 'components/MkForgotPassword',
component: MkForgotPassword, component: MkForgotPassword,
}; } satisfies Meta<typeof MkForgotPassword>;
export const Default = { export const Default = {
render(args, { argTypes }) { render(args, { argTypes }) {
return { return {
@ -17,5 +17,5 @@ export const Default = {
parameters: { parameters: {
layout: 'centered', layout: 'centered',
}, },
}; } satisfies StoryObj<typeof MkForgotPassword>;
export default meta; export default meta;

View File

@ -1,9 +1,9 @@
import { Meta, Story } from '@storybook/vue3'; import { Meta, StoryObj } from '@storybook/vue3';
import MkFormDialog from './MkFormDialog.vue'; import MkFormDialog from './MkFormDialog.vue';
const meta = { const meta = {
title: 'components/MkFormDialog', title: 'components/MkFormDialog',
component: MkFormDialog, component: MkFormDialog,
}; } satisfies Meta<typeof MkFormDialog>;
export const Default = { export const Default = {
render(args, { argTypes }) { render(args, { argTypes }) {
return { return {
@ -17,5 +17,5 @@ export const Default = {
parameters: { parameters: {
layout: 'centered', layout: 'centered',
}, },
}; } satisfies StoryObj<typeof MkFormDialog>;
export default meta; export default meta;

View File

@ -1,9 +1,9 @@
import { Meta, Story } from '@storybook/vue3'; import { Meta, StoryObj } from '@storybook/vue3';
import MkGalleryPostPreview from './MkGalleryPostPreview.vue'; import MkGalleryPostPreview from './MkGalleryPostPreview.vue';
const meta = { const meta = {
title: 'components/MkGalleryPostPreview', title: 'components/MkGalleryPostPreview',
component: MkGalleryPostPreview, component: MkGalleryPostPreview,
}; } satisfies Meta<typeof MkGalleryPostPreview>;
export const Default = { export const Default = {
render(args, { argTypes }) { render(args, { argTypes }) {
return { return {
@ -17,5 +17,5 @@ export const Default = {
parameters: { parameters: {
layout: 'centered', layout: 'centered',
}, },
}; } satisfies StoryObj<typeof MkGalleryPostPreview>;
export default meta; export default meta;

View File

@ -1,9 +1,9 @@
import { Meta, Story } from '@storybook/vue3'; import { Meta, StoryObj } from '@storybook/vue3';
import MkGoogle from './MkGoogle.vue'; import MkGoogle from './MkGoogle.vue';
const meta = { const meta = {
title: 'components/MkGoogle', title: 'components/MkGoogle',
component: MkGoogle, component: MkGoogle,
}; } satisfies Meta<typeof MkGoogle>;
export const Default = { export const Default = {
render(args, { argTypes }) { render(args, { argTypes }) {
return { return {
@ -17,5 +17,5 @@ export const Default = {
parameters: { parameters: {
layout: 'centered', layout: 'centered',
}, },
}; } satisfies StoryObj<typeof MkGoogle>;
export default meta; export default meta;

View File

@ -1,9 +1,9 @@
import { Meta, Story } from '@storybook/vue3'; import { Meta, StoryObj } from '@storybook/vue3';
import MkHeatmap from './MkHeatmap.vue'; import MkHeatmap from './MkHeatmap.vue';
const meta = { const meta = {
title: 'components/MkHeatmap', title: 'components/MkHeatmap',
component: MkHeatmap, component: MkHeatmap,
}; } satisfies Meta<typeof MkHeatmap>;
export const Default = { export const Default = {
render(args, { argTypes }) { render(args, { argTypes }) {
return { return {
@ -17,5 +17,5 @@ export const Default = {
parameters: { parameters: {
layout: 'centered', layout: 'centered',
}, },
}; } satisfies StoryObj<typeof MkHeatmap>;
export default meta; export default meta;

View File

@ -1,9 +1,9 @@
import { Meta, Story } from '@storybook/vue3'; import { Meta, StoryObj } from '@storybook/vue3';
import MkImageViewer from './MkImageViewer.vue'; import MkImageViewer from './MkImageViewer.vue';
const meta = { const meta = {
title: 'components/MkImageViewer', title: 'components/MkImageViewer',
component: MkImageViewer, component: MkImageViewer,
}; } satisfies Meta<typeof MkImageViewer>;
export const Default = { export const Default = {
render(args, { argTypes }) { render(args, { argTypes }) {
return { return {
@ -17,5 +17,5 @@ export const Default = {
parameters: { parameters: {
layout: 'centered', layout: 'centered',
}, },
}; } satisfies StoryObj<typeof MkImageViewer>;
export default meta; export default meta;

View File

@ -1,9 +1,9 @@
import { Meta, Story } from '@storybook/vue3'; import { Meta, StoryObj } from '@storybook/vue3';
import MkImgWithBlurhash from './MkImgWithBlurhash.vue'; import MkImgWithBlurhash from './MkImgWithBlurhash.vue';
const meta = { const meta = {
title: 'components/MkImgWithBlurhash', title: 'components/MkImgWithBlurhash',
component: MkImgWithBlurhash, component: MkImgWithBlurhash,
}; } satisfies Meta<typeof MkImgWithBlurhash>;
export const Default = { export const Default = {
render(args, { argTypes }) { render(args, { argTypes }) {
return { return {
@ -17,5 +17,5 @@ export const Default = {
parameters: { parameters: {
layout: 'centered', layout: 'centered',
}, },
}; } satisfies StoryObj<typeof MkImgWithBlurhash>;
export default meta; export default meta;

View File

@ -1,9 +1,9 @@
import { Meta, Story } from '@storybook/vue3'; import { Meta, StoryObj } from '@storybook/vue3';
import MkInfo from './MkInfo.vue'; import MkInfo from './MkInfo.vue';
const meta = { const meta = {
title: 'components/MkInfo', title: 'components/MkInfo',
component: MkInfo, component: MkInfo,
}; } satisfies Meta<typeof MkInfo>;
export const Default = { export const Default = {
render(args, { argTypes }) { render(args, { argTypes }) {
return { return {
@ -17,5 +17,5 @@ export const Default = {
parameters: { parameters: {
layout: 'centered', layout: 'centered',
}, },
}; } satisfies StoryObj<typeof MkInfo>;
export default meta; export default meta;

View File

@ -1,9 +1,9 @@
import { Meta, Story } from '@storybook/vue3'; import { Meta, StoryObj } from '@storybook/vue3';
import MkInput from './MkInput.vue'; import MkInput from './MkInput.vue';
const meta = { const meta = {
title: 'components/MkInput', title: 'components/MkInput',
component: MkInput, component: MkInput,
}; } satisfies Meta<typeof MkInput>;
export const Default = { export const Default = {
render(args, { argTypes }) { render(args, { argTypes }) {
return { return {
@ -17,5 +17,5 @@ export const Default = {
parameters: { parameters: {
layout: 'centered', layout: 'centered',
}, },
}; } satisfies StoryObj<typeof MkInput>;
export default meta; export default meta;

View File

@ -1,9 +1,9 @@
import { Meta, Story } from '@storybook/vue3'; import { Meta, StoryObj } from '@storybook/vue3';
import MkInstanceCardMini from './MkInstanceCardMini.vue'; import MkInstanceCardMini from './MkInstanceCardMini.vue';
const meta = { const meta = {
title: 'components/MkInstanceCardMini', title: 'components/MkInstanceCardMini',
component: MkInstanceCardMini, component: MkInstanceCardMini,
}; } satisfies Meta<typeof MkInstanceCardMini>;
export const Default = { export const Default = {
render(args, { argTypes }) { render(args, { argTypes }) {
return { return {
@ -17,5 +17,5 @@ export const Default = {
parameters: { parameters: {
layout: 'centered', layout: 'centered',
}, },
}; } satisfies StoryObj<typeof MkInstanceCardMini>;
export default meta; export default meta;

View File

@ -1,9 +1,9 @@
import { Meta, Story } from '@storybook/vue3'; import { Meta, StoryObj } from '@storybook/vue3';
import MkInstanceStats from './MkInstanceStats.vue'; import MkInstanceStats from './MkInstanceStats.vue';
const meta = { const meta = {
title: 'components/MkInstanceStats', title: 'components/MkInstanceStats',
component: MkInstanceStats, component: MkInstanceStats,
}; } satisfies Meta<typeof MkInstanceStats>;
export const Default = { export const Default = {
render(args, { argTypes }) { render(args, { argTypes }) {
return { return {
@ -17,5 +17,5 @@ export const Default = {
parameters: { parameters: {
layout: 'centered', layout: 'centered',
}, },
}; } satisfies StoryObj<typeof MkInstanceStats>;
export default meta; export default meta;

View File

@ -1,9 +1,9 @@
import { Meta, Story } from '@storybook/vue3'; import { Meta, StoryObj } from '@storybook/vue3';
import MkInstanceTicker from './MkInstanceTicker.vue'; import MkInstanceTicker from './MkInstanceTicker.vue';
const meta = { const meta = {
title: 'components/MkInstanceTicker', title: 'components/MkInstanceTicker',
component: MkInstanceTicker, component: MkInstanceTicker,
}; } satisfies Meta<typeof MkInstanceTicker>;
export const Default = { export const Default = {
render(args, { argTypes }) { render(args, { argTypes }) {
return { return {
@ -17,5 +17,5 @@ export const Default = {
parameters: { parameters: {
layout: 'centered', layout: 'centered',
}, },
}; } satisfies StoryObj<typeof MkInstanceTicker>;
export default meta; export default meta;

View File

@ -1,9 +1,9 @@
import { Meta, Story } from '@storybook/vue3'; import { Meta, StoryObj } from '@storybook/vue3';
import MkKeyValue from './MkKeyValue.vue'; import MkKeyValue from './MkKeyValue.vue';
const meta = { const meta = {
title: 'components/MkKeyValue', title: 'components/MkKeyValue',
component: MkKeyValue, component: MkKeyValue,
}; } satisfies Meta<typeof MkKeyValue>;
export const Default = { export const Default = {
render(args, { argTypes }) { render(args, { argTypes }) {
return { return {
@ -17,5 +17,5 @@ export const Default = {
parameters: { parameters: {
layout: 'centered', layout: 'centered',
}, },
}; } satisfies StoryObj<typeof MkKeyValue>;
export default meta; export default meta;

View File

@ -1,9 +1,9 @@
import { Meta, Story } from '@storybook/vue3'; import { Meta, StoryObj } from '@storybook/vue3';
import MkLaunchPad from './MkLaunchPad.vue'; import MkLaunchPad from './MkLaunchPad.vue';
const meta = { const meta = {
title: 'components/MkLaunchPad', title: 'components/MkLaunchPad',
component: MkLaunchPad, component: MkLaunchPad,
}; } satisfies Meta<typeof MkLaunchPad>;
export const Default = { export const Default = {
render(args, { argTypes }) { render(args, { argTypes }) {
return { return {
@ -17,5 +17,5 @@ export const Default = {
parameters: { parameters: {
layout: 'centered', layout: 'centered',
}, },
}; } satisfies StoryObj<typeof MkLaunchPad>;
export default meta; export default meta;

View File

@ -1,9 +1,9 @@
import { Meta, Story } from '@storybook/vue3'; import { Meta, StoryObj } from '@storybook/vue3';
import MkLink from './MkLink.vue'; import MkLink from './MkLink.vue';
const meta = { const meta = {
title: 'components/MkLink', title: 'components/MkLink',
component: MkLink, component: MkLink,
}; } satisfies Meta<typeof MkLink>;
export const Default = { export const Default = {
render(args, { argTypes }) { render(args, { argTypes }) {
return { return {
@ -17,5 +17,5 @@ export const Default = {
parameters: { parameters: {
layout: 'centered', layout: 'centered',
}, },
}; } satisfies StoryObj<typeof MkLink>;
export default meta; export default meta;

View File

@ -1,9 +1,9 @@
import { Meta, Story } from '@storybook/vue3'; import { Meta, StoryObj } from '@storybook/vue3';
import MkMarquee from './MkMarquee.vue'; import MkMarquee from './MkMarquee.vue';
const meta = { const meta = {
title: 'components/MkMarquee', title: 'components/MkMarquee',
component: MkMarquee, component: MkMarquee,
}; } satisfies Meta<typeof MkMarquee>;
export const Default = { export const Default = {
render(args, { argTypes }) { render(args, { argTypes }) {
return { return {
@ -17,5 +17,5 @@ export const Default = {
parameters: { parameters: {
layout: 'centered', layout: 'centered',
}, },
}; } satisfies StoryObj<typeof MkMarquee>;
export default meta; export default meta;

View File

@ -1,9 +1,9 @@
import { Meta, Story } from '@storybook/vue3'; import { Meta, StoryObj } from '@storybook/vue3';
import MkMediaBanner from './MkMediaBanner.vue'; import MkMediaBanner from './MkMediaBanner.vue';
const meta = { const meta = {
title: 'components/MkMediaBanner', title: 'components/MkMediaBanner',
component: MkMediaBanner, component: MkMediaBanner,
}; } satisfies Meta<typeof MkMediaBanner>;
export const Default = { export const Default = {
render(args, { argTypes }) { render(args, { argTypes }) {
return { return {
@ -17,5 +17,5 @@ export const Default = {
parameters: { parameters: {
layout: 'centered', layout: 'centered',
}, },
}; } satisfies StoryObj<typeof MkMediaBanner>;
export default meta; export default meta;

View File

@ -1,9 +1,9 @@
import { Meta, Story } from '@storybook/vue3'; import { Meta, StoryObj } from '@storybook/vue3';
import MkMediaImage from './MkMediaImage.vue'; import MkMediaImage from './MkMediaImage.vue';
const meta = { const meta = {
title: 'components/MkMediaImage', title: 'components/MkMediaImage',
component: MkMediaImage, component: MkMediaImage,
}; } satisfies Meta<typeof MkMediaImage>;
export const Default = { export const Default = {
render(args, { argTypes }) { render(args, { argTypes }) {
return { return {
@ -17,5 +17,5 @@ export const Default = {
parameters: { parameters: {
layout: 'centered', layout: 'centered',
}, },
}; } satisfies StoryObj<typeof MkMediaImage>;
export default meta; export default meta;

View File

@ -1,9 +1,9 @@
import { Meta, Story } from '@storybook/vue3'; import { Meta, StoryObj } from '@storybook/vue3';
import MkMediaList from './MkMediaList.vue'; import MkMediaList from './MkMediaList.vue';
const meta = { const meta = {
title: 'components/MkMediaList', title: 'components/MkMediaList',
component: MkMediaList, component: MkMediaList,
}; } satisfies Meta<typeof MkMediaList>;
export const Default = { export const Default = {
render(args, { argTypes }) { render(args, { argTypes }) {
return { return {
@ -17,5 +17,5 @@ export const Default = {
parameters: { parameters: {
layout: 'centered', layout: 'centered',
}, },
}; } satisfies StoryObj<typeof MkMediaList>;
export default meta; export default meta;

View File

@ -1,9 +1,9 @@
import { Meta, Story } from '@storybook/vue3'; import { Meta, StoryObj } from '@storybook/vue3';
import MkMediaVideo from './MkMediaVideo.vue'; import MkMediaVideo from './MkMediaVideo.vue';
const meta = { const meta = {
title: 'components/MkMediaVideo', title: 'components/MkMediaVideo',
component: MkMediaVideo, component: MkMediaVideo,
}; } satisfies Meta<typeof MkMediaVideo>;
export const Default = { export const Default = {
render(args, { argTypes }) { render(args, { argTypes }) {
return { return {
@ -17,5 +17,5 @@ export const Default = {
parameters: { parameters: {
layout: 'centered', layout: 'centered',
}, },
}; } satisfies StoryObj<typeof MkMediaVideo>;
export default meta; export default meta;

View File

@ -1,9 +1,9 @@
import { Meta, Story } from '@storybook/vue3'; import { Meta, StoryObj } from '@storybook/vue3';
import MkMention from './MkMention.vue'; import MkMention from './MkMention.vue';
const meta = { const meta = {
title: 'components/MkMention', title: 'components/MkMention',
component: MkMention, component: MkMention,
}; } satisfies Meta<typeof MkMention>;
export const Default = { export const Default = {
render(args, { argTypes }) { render(args, { argTypes }) {
return { return {
@ -17,5 +17,5 @@ export const Default = {
parameters: { parameters: {
layout: 'centered', layout: 'centered',
}, },
}; } satisfies StoryObj<typeof MkMention>;
export default meta; export default meta;

View File

@ -1,9 +1,9 @@
import { Meta, Story } from '@storybook/vue3'; import { Meta, StoryObj } from '@storybook/vue3';
import MkMenu_child from './MkMenu.child.vue'; import MkMenu_child from './MkMenu.child.vue';
const meta = { const meta = {
title: 'components/MkMenu.child', title: 'components/MkMenu.child',
component: MkMenu_child, component: MkMenu_child,
}; } satisfies Meta<typeof MkMenu_child>;
export const Default = { export const Default = {
render(args, { argTypes }) { render(args, { argTypes }) {
return { return {
@ -17,5 +17,5 @@ export const Default = {
parameters: { parameters: {
layout: 'centered', layout: 'centered',
}, },
}; } satisfies StoryObj<typeof MkMenu_child>;
export default meta; export default meta;

View File

@ -1,9 +1,9 @@
import { Meta, Story } from '@storybook/vue3'; import { Meta, StoryObj } from '@storybook/vue3';
import MkMenu from './MkMenu.vue'; import MkMenu from './MkMenu.vue';
const meta = { const meta = {
title: 'components/MkMenu', title: 'components/MkMenu',
component: MkMenu, component: MkMenu,
}; } satisfies Meta<typeof MkMenu>;
export const Default = { export const Default = {
render(args, { argTypes }) { render(args, { argTypes }) {
return { return {
@ -17,5 +17,5 @@ export const Default = {
parameters: { parameters: {
layout: 'centered', layout: 'centered',
}, },
}; } satisfies StoryObj<typeof MkMenu>;
export default meta; export default meta;

View File

@ -1,9 +1,9 @@
import { Meta, Story } from '@storybook/vue3'; import { Meta, StoryObj } from '@storybook/vue3';
import MkMiniChart from './MkMiniChart.vue'; import MkMiniChart from './MkMiniChart.vue';
const meta = { const meta = {
title: 'components/MkMiniChart', title: 'components/MkMiniChart',
component: MkMiniChart, component: MkMiniChart,
}; } satisfies Meta<typeof MkMiniChart>;
export const Default = { export const Default = {
render(args, { argTypes }) { render(args, { argTypes }) {
return { return {
@ -17,5 +17,5 @@ export const Default = {
parameters: { parameters: {
layout: 'centered', layout: 'centered',
}, },
}; } satisfies StoryObj<typeof MkMiniChart>;
export default meta; export default meta;

View File

@ -1,9 +1,9 @@
import { Meta, Story } from '@storybook/vue3'; import { Meta, StoryObj } from '@storybook/vue3';
import MkModal from './MkModal.vue'; import MkModal from './MkModal.vue';
const meta = { const meta = {
title: 'components/MkModal', title: 'components/MkModal',
component: MkModal, component: MkModal,
}; } satisfies Meta<typeof MkModal>;
export const Default = { export const Default = {
render(args, { argTypes }) { render(args, { argTypes }) {
return { return {
@ -17,5 +17,5 @@ export const Default = {
parameters: { parameters: {
layout: 'centered', layout: 'centered',
}, },
}; } satisfies StoryObj<typeof MkModal>;
export default meta; export default meta;

View File

@ -1,9 +1,9 @@
import { Meta, Story } from '@storybook/vue3'; import { Meta, StoryObj } from '@storybook/vue3';
import MkModalPageWindow from './MkModalPageWindow.vue'; import MkModalPageWindow from './MkModalPageWindow.vue';
const meta = { const meta = {
title: 'components/MkModalPageWindow', title: 'components/MkModalPageWindow',
component: MkModalPageWindow, component: MkModalPageWindow,
}; } satisfies Meta<typeof MkModalPageWindow>;
export const Default = { export const Default = {
render(args, { argTypes }) { render(args, { argTypes }) {
return { return {
@ -17,5 +17,5 @@ export const Default = {
parameters: { parameters: {
layout: 'centered', layout: 'centered',
}, },
}; } satisfies StoryObj<typeof MkModalPageWindow>;
export default meta; export default meta;

View File

@ -1,9 +1,9 @@
import { Meta, Story } from '@storybook/vue3'; import { Meta, StoryObj } from '@storybook/vue3';
import MkModalWindow from './MkModalWindow.vue'; import MkModalWindow from './MkModalWindow.vue';
const meta = { const meta = {
title: 'components/MkModalWindow', title: 'components/MkModalWindow',
component: MkModalWindow, component: MkModalWindow,
}; } satisfies Meta<typeof MkModalWindow>;
export const Default = { export const Default = {
render(args, { argTypes }) { render(args, { argTypes }) {
return { return {
@ -17,5 +17,5 @@ export const Default = {
parameters: { parameters: {
layout: 'centered', layout: 'centered',
}, },
}; } satisfies StoryObj<typeof MkModalWindow>;
export default meta; export default meta;

View File

@ -1,9 +1,9 @@
import { Meta, Story } from '@storybook/vue3'; import { Meta, StoryObj } from '@storybook/vue3';
import MkNote from './MkNote.vue'; import MkNote from './MkNote.vue';
const meta = { const meta = {
title: 'components/MkNote', title: 'components/MkNote',
component: MkNote, component: MkNote,
}; } satisfies Meta<typeof MkNote>;
export const Default = { export const Default = {
render(args, { argTypes }) { render(args, { argTypes }) {
return { return {
@ -17,5 +17,5 @@ export const Default = {
parameters: { parameters: {
layout: 'centered', layout: 'centered',
}, },
}; } satisfies StoryObj<typeof MkNote>;
export default meta; export default meta;

View File

@ -1,9 +1,9 @@
import { Meta, Story } from '@storybook/vue3'; import { Meta, StoryObj } from '@storybook/vue3';
import MkNoteDetailed from './MkNoteDetailed.vue'; import MkNoteDetailed from './MkNoteDetailed.vue';
const meta = { const meta = {
title: 'components/MkNoteDetailed', title: 'components/MkNoteDetailed',
component: MkNoteDetailed, component: MkNoteDetailed,
}; } satisfies Meta<typeof MkNoteDetailed>;
export const Default = { export const Default = {
render(args, { argTypes }) { render(args, { argTypes }) {
return { return {
@ -17,5 +17,5 @@ export const Default = {
parameters: { parameters: {
layout: 'centered', layout: 'centered',
}, },
}; } satisfies StoryObj<typeof MkNoteDetailed>;
export default meta; export default meta;

View File

@ -1,9 +1,9 @@
import { Meta, Story } from '@storybook/vue3'; import { Meta, StoryObj } from '@storybook/vue3';
import MkNoteHeader from './MkNoteHeader.vue'; import MkNoteHeader from './MkNoteHeader.vue';
const meta = { const meta = {
title: 'components/MkNoteHeader', title: 'components/MkNoteHeader',
component: MkNoteHeader, component: MkNoteHeader,
}; } satisfies Meta<typeof MkNoteHeader>;
export const Default = { export const Default = {
render(args, { argTypes }) { render(args, { argTypes }) {
return { return {
@ -17,5 +17,5 @@ export const Default = {
parameters: { parameters: {
layout: 'centered', layout: 'centered',
}, },
}; } satisfies StoryObj<typeof MkNoteHeader>;
export default meta; export default meta;

View File

@ -1,9 +1,9 @@
import { Meta, Story } from '@storybook/vue3'; import { Meta, StoryObj } from '@storybook/vue3';
import MkNotePreview from './MkNotePreview.vue'; import MkNotePreview from './MkNotePreview.vue';
const meta = { const meta = {
title: 'components/MkNotePreview', title: 'components/MkNotePreview',
component: MkNotePreview, component: MkNotePreview,
}; } satisfies Meta<typeof MkNotePreview>;
export const Default = { export const Default = {
render(args, { argTypes }) { render(args, { argTypes }) {
return { return {
@ -17,5 +17,5 @@ export const Default = {
parameters: { parameters: {
layout: 'centered', layout: 'centered',
}, },
}; } satisfies StoryObj<typeof MkNotePreview>;
export default meta; export default meta;

View File

@ -1,9 +1,9 @@
import { Meta, Story } from '@storybook/vue3'; import { Meta, StoryObj } from '@storybook/vue3';
import MkNoteSimple from './MkNoteSimple.vue'; import MkNoteSimple from './MkNoteSimple.vue';
const meta = { const meta = {
title: 'components/MkNoteSimple', title: 'components/MkNoteSimple',
component: MkNoteSimple, component: MkNoteSimple,
}; } satisfies Meta<typeof MkNoteSimple>;
export const Default = { export const Default = {
render(args, { argTypes }) { render(args, { argTypes }) {
return { return {
@ -17,5 +17,5 @@ export const Default = {
parameters: { parameters: {
layout: 'centered', layout: 'centered',
}, },
}; } satisfies StoryObj<typeof MkNoteSimple>;
export default meta; export default meta;

View File

@ -1,9 +1,9 @@
import { Meta, Story } from '@storybook/vue3'; import { Meta, StoryObj } from '@storybook/vue3';
import MkNoteSub from './MkNoteSub.vue'; import MkNoteSub from './MkNoteSub.vue';
const meta = { const meta = {
title: 'components/MkNoteSub', title: 'components/MkNoteSub',
component: MkNoteSub, component: MkNoteSub,
}; } satisfies Meta<typeof MkNoteSub>;
export const Default = { export const Default = {
render(args, { argTypes }) { render(args, { argTypes }) {
return { return {
@ -17,5 +17,5 @@ export const Default = {
parameters: { parameters: {
layout: 'centered', layout: 'centered',
}, },
}; } satisfies StoryObj<typeof MkNoteSub>;
export default meta; export default meta;

View File

@ -1,9 +1,9 @@
import { Meta, Story } from '@storybook/vue3'; import { Meta, StoryObj } from '@storybook/vue3';
import MkNotes from './MkNotes.vue'; import MkNotes from './MkNotes.vue';
const meta = { const meta = {
title: 'components/MkNotes', title: 'components/MkNotes',
component: MkNotes, component: MkNotes,
}; } satisfies Meta<typeof MkNotes>;
export const Default = { export const Default = {
render(args, { argTypes }) { render(args, { argTypes }) {
return { return {
@ -17,5 +17,5 @@ export const Default = {
parameters: { parameters: {
layout: 'centered', layout: 'centered',
}, },
}; } satisfies StoryObj<typeof MkNotes>;
export default meta; export default meta;

View File

@ -1,9 +1,9 @@
import { Meta, Story } from '@storybook/vue3'; import { Meta, StoryObj } from '@storybook/vue3';
import MkNotification from './MkNotification.vue'; import MkNotification from './MkNotification.vue';
const meta = { const meta = {
title: 'components/MkNotification', title: 'components/MkNotification',
component: MkNotification, component: MkNotification,
}; } satisfies Meta<typeof MkNotification>;
export const Default = { export const Default = {
render(args, { argTypes }) { render(args, { argTypes }) {
return { return {
@ -17,5 +17,5 @@ export const Default = {
parameters: { parameters: {
layout: 'centered', layout: 'centered',
}, },
}; } satisfies StoryObj<typeof MkNotification>;
export default meta; export default meta;

View File

@ -1,9 +1,9 @@
import { Meta, Story } from '@storybook/vue3'; import { Meta, StoryObj } from '@storybook/vue3';
import MkNotificationSettingWindow from './MkNotificationSettingWindow.vue'; import MkNotificationSettingWindow from './MkNotificationSettingWindow.vue';
const meta = { const meta = {
title: 'components/MkNotificationSettingWindow', title: 'components/MkNotificationSettingWindow',
component: MkNotificationSettingWindow, component: MkNotificationSettingWindow,
}; } satisfies Meta<typeof MkNotificationSettingWindow>;
export const Default = { export const Default = {
render(args, { argTypes }) { render(args, { argTypes }) {
return { return {
@ -17,5 +17,5 @@ export const Default = {
parameters: { parameters: {
layout: 'centered', layout: 'centered',
}, },
}; } satisfies StoryObj<typeof MkNotificationSettingWindow>;
export default meta; export default meta;

View File

@ -1,9 +1,9 @@
import { Meta, Story } from '@storybook/vue3'; import { Meta, StoryObj } from '@storybook/vue3';
import MkNotifications from './MkNotifications.vue'; import MkNotifications from './MkNotifications.vue';
const meta = { const meta = {
title: 'components/MkNotifications', title: 'components/MkNotifications',
component: MkNotifications, component: MkNotifications,
}; } satisfies Meta<typeof MkNotifications>;
export const Default = { export const Default = {
render(args, { argTypes }) { render(args, { argTypes }) {
return { return {
@ -17,5 +17,5 @@ export const Default = {
parameters: { parameters: {
layout: 'centered', layout: 'centered',
}, },
}; } satisfies StoryObj<typeof MkNotifications>;
export default meta; export default meta;

View File

@ -1,9 +1,9 @@
import { Meta, Story } from '@storybook/vue3'; import { Meta, StoryObj } from '@storybook/vue3';
import MkNumber from './MkNumber.vue'; import MkNumber from './MkNumber.vue';
const meta = { const meta = {
title: 'components/MkNumber', title: 'components/MkNumber',
component: MkNumber, component: MkNumber,
}; } satisfies Meta<typeof MkNumber>;
export const Default = { export const Default = {
render(args, { argTypes }) { render(args, { argTypes }) {
return { return {
@ -17,5 +17,5 @@ export const Default = {
parameters: { parameters: {
layout: 'centered', layout: 'centered',
}, },
}; } satisfies StoryObj<typeof MkNumber>;
export default meta; export default meta;

View File

@ -1,9 +1,9 @@
import { Meta, Story } from '@storybook/vue3'; import { Meta, StoryObj } from '@storybook/vue3';
import MkNumberDiff from './MkNumberDiff.vue'; import MkNumberDiff from './MkNumberDiff.vue';
const meta = { const meta = {
title: 'components/MkNumberDiff', title: 'components/MkNumberDiff',
component: MkNumberDiff, component: MkNumberDiff,
}; } satisfies Meta<typeof MkNumberDiff>;
export const Default = { export const Default = {
render(args, { argTypes }) { render(args, { argTypes }) {
return { return {
@ -17,5 +17,5 @@ export const Default = {
parameters: { parameters: {
layout: 'centered', layout: 'centered',
}, },
}; } satisfies StoryObj<typeof MkNumberDiff>;
export default meta; export default meta;

View File

@ -1,9 +1,9 @@
import { Meta, Story } from '@storybook/vue3'; import { Meta, StoryObj } from '@storybook/vue3';
import MkObjectView from './MkObjectView.vue'; import MkObjectView from './MkObjectView.vue';
const meta = { const meta = {
title: 'components/MkObjectView', title: 'components/MkObjectView',
component: MkObjectView, component: MkObjectView,
}; } satisfies Meta<typeof MkObjectView>;
export const Default = { export const Default = {
render(args, { argTypes }) { render(args, { argTypes }) {
return { return {
@ -17,5 +17,5 @@ export const Default = {
parameters: { parameters: {
layout: 'centered', layout: 'centered',
}, },
}; } satisfies StoryObj<typeof MkObjectView>;
export default meta; export default meta;

View File

@ -1,9 +1,9 @@
import { Meta, Story } from '@storybook/vue3'; import { Meta, StoryObj } from '@storybook/vue3';
import MkObjectView_value from './MkObjectView.value.vue'; import MkObjectView_value from './MkObjectView.value.vue';
const meta = { const meta = {
title: 'components/MkObjectView.value', title: 'components/MkObjectView.value',
component: MkObjectView_value, component: MkObjectView_value,
}; } satisfies Meta<typeof MkObjectView_value>;
export const Default = { export const Default = {
render(args, { argTypes }) { render(args, { argTypes }) {
return { return {
@ -17,5 +17,5 @@ export const Default = {
parameters: { parameters: {
layout: 'centered', layout: 'centered',
}, },
}; } satisfies StoryObj<typeof MkObjectView_value>;
export default meta; export default meta;

View File

@ -1,9 +1,9 @@
import { Meta, Story } from '@storybook/vue3'; import { Meta, StoryObj } from '@storybook/vue3';
import MkOmit from './MkOmit.vue'; import MkOmit from './MkOmit.vue';
const meta = { const meta = {
title: 'components/MkOmit', title: 'components/MkOmit',
component: MkOmit, component: MkOmit,
}; } satisfies Meta<typeof MkOmit>;
export const Default = { export const Default = {
render(args, { argTypes }) { render(args, { argTypes }) {
return { return {
@ -17,5 +17,5 @@ export const Default = {
parameters: { parameters: {
layout: 'centered', layout: 'centered',
}, },
}; } satisfies StoryObj<typeof MkOmit>;
export default meta; export default meta;

View File

@ -1,9 +1,9 @@
import { Meta, Story } from '@storybook/vue3'; import { Meta, StoryObj } from '@storybook/vue3';
import MkPagePreview from './MkPagePreview.vue'; import MkPagePreview from './MkPagePreview.vue';
const meta = { const meta = {
title: 'components/MkPagePreview', title: 'components/MkPagePreview',
component: MkPagePreview, component: MkPagePreview,
}; } satisfies Meta<typeof MkPagePreview>;
export const Default = { export const Default = {
render(args, { argTypes }) { render(args, { argTypes }) {
return { return {
@ -17,5 +17,5 @@ export const Default = {
parameters: { parameters: {
layout: 'centered', layout: 'centered',
}, },
}; } satisfies StoryObj<typeof MkPagePreview>;
export default meta; export default meta;

View File

@ -1,9 +1,9 @@
import { Meta, Story } from '@storybook/vue3'; import { Meta, StoryObj } from '@storybook/vue3';
import MkPageWindow from './MkPageWindow.vue'; import MkPageWindow from './MkPageWindow.vue';
const meta = { const meta = {
title: 'components/MkPageWindow', title: 'components/MkPageWindow',
component: MkPageWindow, component: MkPageWindow,
}; } satisfies Meta<typeof MkPageWindow>;
export const Default = { export const Default = {
render(args, { argTypes }) { render(args, { argTypes }) {
return { return {
@ -17,5 +17,5 @@ export const Default = {
parameters: { parameters: {
layout: 'centered', layout: 'centered',
}, },
}; } satisfies StoryObj<typeof MkPageWindow>;
export default meta; export default meta;

View File

@ -1,9 +1,9 @@
import { Meta, Story } from '@storybook/vue3'; import { Meta, StoryObj } from '@storybook/vue3';
import MkPagination from './MkPagination.vue'; import MkPagination from './MkPagination.vue';
const meta = { const meta = {
title: 'components/MkPagination', title: 'components/MkPagination',
component: MkPagination, component: MkPagination,
}; } satisfies Meta<typeof MkPagination>;
export const Default = { export const Default = {
render(args, { argTypes }) { render(args, { argTypes }) {
return { return {
@ -17,5 +17,5 @@ export const Default = {
parameters: { parameters: {
layout: 'centered', layout: 'centered',
}, },
}; } satisfies StoryObj<typeof MkPagination>;
export default meta; export default meta;

View File

@ -1,9 +1,9 @@
import { Meta, Story } from '@storybook/vue3'; import { Meta, StoryObj } from '@storybook/vue3';
import MkPlusOneEffect from './MkPlusOneEffect.vue'; import MkPlusOneEffect from './MkPlusOneEffect.vue';
const meta = { const meta = {
title: 'components/MkPlusOneEffect', title: 'components/MkPlusOneEffect',
component: MkPlusOneEffect, component: MkPlusOneEffect,
}; } satisfies Meta<typeof MkPlusOneEffect>;
export const Default = { export const Default = {
render(args, { argTypes }) { render(args, { argTypes }) {
return { return {
@ -17,5 +17,5 @@ export const Default = {
parameters: { parameters: {
layout: 'centered', layout: 'centered',
}, },
}; } satisfies StoryObj<typeof MkPlusOneEffect>;
export default meta; export default meta;

View File

@ -1,9 +1,9 @@
import { Meta, Story } from '@storybook/vue3'; import { Meta, StoryObj } from '@storybook/vue3';
import MkPoll from './MkPoll.vue'; import MkPoll from './MkPoll.vue';
const meta = { const meta = {
title: 'components/MkPoll', title: 'components/MkPoll',
component: MkPoll, component: MkPoll,
}; } satisfies Meta<typeof MkPoll>;
export const Default = { export const Default = {
render(args, { argTypes }) { render(args, { argTypes }) {
return { return {
@ -17,5 +17,5 @@ export const Default = {
parameters: { parameters: {
layout: 'centered', layout: 'centered',
}, },
}; } satisfies StoryObj<typeof MkPoll>;
export default meta; export default meta;

View File

@ -1,9 +1,9 @@
import { Meta, Story } from '@storybook/vue3'; import { Meta, StoryObj } from '@storybook/vue3';
import MkPollEditor from './MkPollEditor.vue'; import MkPollEditor from './MkPollEditor.vue';
const meta = { const meta = {
title: 'components/MkPollEditor', title: 'components/MkPollEditor',
component: MkPollEditor, component: MkPollEditor,
}; } satisfies Meta<typeof MkPollEditor>;
export const Default = { export const Default = {
render(args, { argTypes }) { render(args, { argTypes }) {
return { return {
@ -17,5 +17,5 @@ export const Default = {
parameters: { parameters: {
layout: 'centered', layout: 'centered',
}, },
}; } satisfies StoryObj<typeof MkPollEditor>;
export default meta; export default meta;

View File

@ -1,9 +1,9 @@
import { Meta, Story } from '@storybook/vue3'; import { Meta, StoryObj } from '@storybook/vue3';
import MkPopupMenu from './MkPopupMenu.vue'; import MkPopupMenu from './MkPopupMenu.vue';
const meta = { const meta = {
title: 'components/MkPopupMenu', title: 'components/MkPopupMenu',
component: MkPopupMenu, component: MkPopupMenu,
}; } satisfies Meta<typeof MkPopupMenu>;
export const Default = { export const Default = {
render(args, { argTypes }) { render(args, { argTypes }) {
return { return {
@ -17,5 +17,5 @@ export const Default = {
parameters: { parameters: {
layout: 'centered', layout: 'centered',
}, },
}; } satisfies StoryObj<typeof MkPopupMenu>;
export default meta; export default meta;

View File

@ -1,9 +1,9 @@
import { Meta, Story } from '@storybook/vue3'; import { Meta, StoryObj } from '@storybook/vue3';
import MkPostForm from './MkPostForm.vue'; import MkPostForm from './MkPostForm.vue';
const meta = { const meta = {
title: 'components/MkPostForm', title: 'components/MkPostForm',
component: MkPostForm, component: MkPostForm,
}; } satisfies Meta<typeof MkPostForm>;
export const Default = { export const Default = {
render(args, { argTypes }) { render(args, { argTypes }) {
return { return {
@ -17,5 +17,5 @@ export const Default = {
parameters: { parameters: {
layout: 'centered', layout: 'centered',
}, },
}; } satisfies StoryObj<typeof MkPostForm>;
export default meta; export default meta;

View File

@ -1,9 +1,9 @@
import { Meta, Story } from '@storybook/vue3'; import { Meta, StoryObj } from '@storybook/vue3';
import MkPostFormAttaches from './MkPostFormAttaches.vue'; import MkPostFormAttaches from './MkPostFormAttaches.vue';
const meta = { const meta = {
title: 'components/MkPostFormAttaches', title: 'components/MkPostFormAttaches',
component: MkPostFormAttaches, component: MkPostFormAttaches,
}; } satisfies Meta<typeof MkPostFormAttaches>;
export const Default = { export const Default = {
render(args, { argTypes }) { render(args, { argTypes }) {
return { return {
@ -17,5 +17,5 @@ export const Default = {
parameters: { parameters: {
layout: 'centered', layout: 'centered',
}, },
}; } satisfies StoryObj<typeof MkPostFormAttaches>;
export default meta; export default meta;

View File

@ -1,9 +1,9 @@
import { Meta, Story } from '@storybook/vue3'; import { Meta, StoryObj } from '@storybook/vue3';
import MkPostFormDialog from './MkPostFormDialog.vue'; import MkPostFormDialog from './MkPostFormDialog.vue';
const meta = { const meta = {
title: 'components/MkPostFormDialog', title: 'components/MkPostFormDialog',
component: MkPostFormDialog, component: MkPostFormDialog,
}; } satisfies Meta<typeof MkPostFormDialog>;
export const Default = { export const Default = {
render(args, { argTypes }) { render(args, { argTypes }) {
return { return {
@ -17,5 +17,5 @@ export const Default = {
parameters: { parameters: {
layout: 'centered', layout: 'centered',
}, },
}; } satisfies StoryObj<typeof MkPostFormDialog>;
export default meta; export default meta;

View File

@ -1,9 +1,9 @@
import { Meta, Story } from '@storybook/vue3'; import { Meta, StoryObj } from '@storybook/vue3';
import MkPushNotificationAllowButton from './MkPushNotificationAllowButton.vue'; import MkPushNotificationAllowButton from './MkPushNotificationAllowButton.vue';
const meta = { const meta = {
title: 'components/MkPushNotificationAllowButton', title: 'components/MkPushNotificationAllowButton',
component: MkPushNotificationAllowButton, component: MkPushNotificationAllowButton,
}; } satisfies Meta<typeof MkPushNotificationAllowButton>;
export const Default = { export const Default = {
render(args, { argTypes }) { render(args, { argTypes }) {
return { return {
@ -17,5 +17,5 @@ export const Default = {
parameters: { parameters: {
layout: 'centered', layout: 'centered',
}, },
}; } satisfies StoryObj<typeof MkPushNotificationAllowButton>;
export default meta; export default meta;

Some files were not shown because too many files have changed in this diff Show More