build(#10336): separate definitions and generated codes

This commit is contained in:
Acid Chicken (硫酸鶏)
2023-03-20 16:13:07 +09:00
parent a19c560e7b
commit 6e21147ff6
435 changed files with 3887 additions and 1361 deletions

View File

@@ -5,10 +5,15 @@ const meta = {
component: WidgetActivity_calendar,
};
export const Default = {
components: {
WidgetActivity_calendar,
render(args, { argTypes }) {
return {
components: {
WidgetActivity_calendar,
},
props: Object.keys(argTypes),
template: '<WidgetActivity_calendar v-bind="$props" />',
};
},
template: '<WidgetActivity_calendar />',
parameters: {
layout: 'centered',
},

View File

@@ -5,10 +5,15 @@ const meta = {
component: WidgetActivity_chart,
};
export const Default = {
components: {
WidgetActivity_chart,
render(args, { argTypes }) {
return {
components: {
WidgetActivity_chart,
},
props: Object.keys(argTypes),
template: '<WidgetActivity_chart v-bind="$props" />',
};
},
template: '<WidgetActivity_chart />',
parameters: {
layout: 'centered',
},

View File

@@ -5,10 +5,15 @@ const meta = {
component: WidgetActivity,
};
export const Default = {
components: {
WidgetActivity,
render(args, { argTypes }) {
return {
components: {
WidgetActivity,
},
props: Object.keys(argTypes),
template: '<WidgetActivity v-bind="$props" />',
};
},
template: '<WidgetActivity />',
parameters: {
layout: 'centered',
},

View File

@@ -5,10 +5,15 @@ const meta = {
component: WidgetAichan,
};
export const Default = {
components: {
WidgetAichan,
render(args, { argTypes }) {
return {
components: {
WidgetAichan,
},
props: Object.keys(argTypes),
template: '<WidgetAichan v-bind="$props" />',
};
},
template: '<WidgetAichan />',
parameters: {
layout: 'centered',
},

View File

@@ -5,10 +5,15 @@ const meta = {
component: WidgetAiscript,
};
export const Default = {
components: {
WidgetAiscript,
render(args, { argTypes }) {
return {
components: {
WidgetAiscript,
},
props: Object.keys(argTypes),
template: '<WidgetAiscript v-bind="$props" />',
};
},
template: '<WidgetAiscript />',
parameters: {
layout: 'centered',
},

View File

@@ -5,10 +5,15 @@ const meta = {
component: WidgetAiscriptApp,
};
export const Default = {
components: {
WidgetAiscriptApp,
render(args, { argTypes }) {
return {
components: {
WidgetAiscriptApp,
},
props: Object.keys(argTypes),
template: '<WidgetAiscriptApp v-bind="$props" />',
};
},
template: '<WidgetAiscriptApp />',
parameters: {
layout: 'centered',
},

View File

@@ -5,10 +5,15 @@ const meta = {
component: WidgetButton,
};
export const Default = {
components: {
WidgetButton,
render(args, { argTypes }) {
return {
components: {
WidgetButton,
},
props: Object.keys(argTypes),
template: '<WidgetButton v-bind="$props" />',
};
},
template: '<WidgetButton />',
parameters: {
layout: 'centered',
},

View File

@@ -5,10 +5,15 @@ const meta = {
component: WidgetCalendar,
};
export const Default = {
components: {
WidgetCalendar,
render(args, { argTypes }) {
return {
components: {
WidgetCalendar,
},
props: Object.keys(argTypes),
template: '<WidgetCalendar v-bind="$props" />',
};
},
template: '<WidgetCalendar />',
parameters: {
layout: 'centered',
},

View File

@@ -5,10 +5,15 @@ const meta = {
component: WidgetClicker,
};
export const Default = {
components: {
WidgetClicker,
render(args, { argTypes }) {
return {
components: {
WidgetClicker,
},
props: Object.keys(argTypes),
template: '<WidgetClicker v-bind="$props" />',
};
},
template: '<WidgetClicker />',
parameters: {
layout: 'centered',
},

View File

@@ -5,10 +5,15 @@ const meta = {
component: WidgetClock,
};
export const Default = {
components: {
WidgetClock,
render(args, { argTypes }) {
return {
components: {
WidgetClock,
},
props: Object.keys(argTypes),
template: '<WidgetClock v-bind="$props" />',
};
},
template: '<WidgetClock />',
parameters: {
layout: 'centered',
},

View File

@@ -5,10 +5,15 @@ const meta = {
component: WidgetDigitalClock,
};
export const Default = {
components: {
WidgetDigitalClock,
render(args, { argTypes }) {
return {
components: {
WidgetDigitalClock,
},
props: Object.keys(argTypes),
template: '<WidgetDigitalClock v-bind="$props" />',
};
},
template: '<WidgetDigitalClock />',
parameters: {
layout: 'centered',
},

View File

@@ -5,10 +5,15 @@ const meta = {
component: WidgetFederation,
};
export const Default = {
components: {
WidgetFederation,
render(args, { argTypes }) {
return {
components: {
WidgetFederation,
},
props: Object.keys(argTypes),
template: '<WidgetFederation v-bind="$props" />',
};
},
template: '<WidgetFederation />',
parameters: {
layout: 'centered',
},

View File

@@ -5,10 +5,15 @@ const meta = {
component: WidgetInstanceCloud,
};
export const Default = {
components: {
WidgetInstanceCloud,
render(args, { argTypes }) {
return {
components: {
WidgetInstanceCloud,
},
props: Object.keys(argTypes),
template: '<WidgetInstanceCloud v-bind="$props" />',
};
},
template: '<WidgetInstanceCloud />',
parameters: {
layout: 'centered',
},

View File

@@ -5,10 +5,15 @@ const meta = {
component: WidgetInstanceInfo,
};
export const Default = {
components: {
WidgetInstanceInfo,
render(args, { argTypes }) {
return {
components: {
WidgetInstanceInfo,
},
props: Object.keys(argTypes),
template: '<WidgetInstanceInfo v-bind="$props" />',
};
},
template: '<WidgetInstanceInfo />',
parameters: {
layout: 'centered',
},

View File

@@ -5,10 +5,15 @@ const meta = {
component: WidgetJobQueue,
};
export const Default = {
components: {
WidgetJobQueue,
render(args, { argTypes }) {
return {
components: {
WidgetJobQueue,
},
props: Object.keys(argTypes),
template: '<WidgetJobQueue v-bind="$props" />',
};
},
template: '<WidgetJobQueue />',
parameters: {
layout: 'centered',
},

View File

@@ -5,10 +5,15 @@ const meta = {
component: WidgetMemo,
};
export const Default = {
components: {
WidgetMemo,
render(args, { argTypes }) {
return {
components: {
WidgetMemo,
},
props: Object.keys(argTypes),
template: '<WidgetMemo v-bind="$props" />',
};
},
template: '<WidgetMemo />',
parameters: {
layout: 'centered',
},

View File

@@ -5,10 +5,15 @@ const meta = {
component: WidgetNotifications,
};
export const Default = {
components: {
WidgetNotifications,
render(args, { argTypes }) {
return {
components: {
WidgetNotifications,
},
props: Object.keys(argTypes),
template: '<WidgetNotifications v-bind="$props" />',
};
},
template: '<WidgetNotifications />',
parameters: {
layout: 'centered',
},

View File

@@ -5,10 +5,15 @@ const meta = {
component: WidgetOnlineUsers,
};
export const Default = {
components: {
WidgetOnlineUsers,
render(args, { argTypes }) {
return {
components: {
WidgetOnlineUsers,
},
props: Object.keys(argTypes),
template: '<WidgetOnlineUsers v-bind="$props" />',
};
},
template: '<WidgetOnlineUsers />',
parameters: {
layout: 'centered',
},

View File

@@ -5,10 +5,15 @@ const meta = {
component: WidgetPhotos,
};
export const Default = {
components: {
WidgetPhotos,
render(args, { argTypes }) {
return {
components: {
WidgetPhotos,
},
props: Object.keys(argTypes),
template: '<WidgetPhotos v-bind="$props" />',
};
},
template: '<WidgetPhotos />',
parameters: {
layout: 'centered',
},

View File

@@ -5,10 +5,15 @@ const meta = {
component: WidgetPostForm,
};
export const Default = {
components: {
WidgetPostForm,
render(args, { argTypes }) {
return {
components: {
WidgetPostForm,
},
props: Object.keys(argTypes),
template: '<WidgetPostForm v-bind="$props" />',
};
},
template: '<WidgetPostForm />',
parameters: {
layout: 'centered',
},

View File

@@ -5,10 +5,15 @@ const meta = {
component: WidgetProfile,
};
export const Default = {
components: {
WidgetProfile,
render(args, { argTypes }) {
return {
components: {
WidgetProfile,
},
props: Object.keys(argTypes),
template: '<WidgetProfile v-bind="$props" />',
};
},
template: '<WidgetProfile />',
parameters: {
layout: 'centered',
},

View File

@@ -5,10 +5,15 @@ const meta = {
component: WidgetRss,
};
export const Default = {
components: {
WidgetRss,
render(args, { argTypes }) {
return {
components: {
WidgetRss,
},
props: Object.keys(argTypes),
template: '<WidgetRss v-bind="$props" />',
};
},
template: '<WidgetRss />',
parameters: {
layout: 'centered',
},

View File

@@ -5,10 +5,15 @@ const meta = {
component: WidgetRssTicker,
};
export const Default = {
components: {
WidgetRssTicker,
render(args, { argTypes }) {
return {
components: {
WidgetRssTicker,
},
props: Object.keys(argTypes),
template: '<WidgetRssTicker v-bind="$props" />',
};
},
template: '<WidgetRssTicker />',
parameters: {
layout: 'centered',
},

View File

@@ -5,10 +5,15 @@ const meta = {
component: WidgetSlideshow,
};
export const Default = {
components: {
WidgetSlideshow,
render(args, { argTypes }) {
return {
components: {
WidgetSlideshow,
},
props: Object.keys(argTypes),
template: '<WidgetSlideshow v-bind="$props" />',
};
},
template: '<WidgetSlideshow />',
parameters: {
layout: 'centered',
},

View File

@@ -5,10 +5,15 @@ const meta = {
component: WidgetTimeline,
};
export const Default = {
components: {
WidgetTimeline,
render(args, { argTypes }) {
return {
components: {
WidgetTimeline,
},
props: Object.keys(argTypes),
template: '<WidgetTimeline v-bind="$props" />',
};
},
template: '<WidgetTimeline />',
parameters: {
layout: 'centered',
},

View File

@@ -5,10 +5,15 @@ const meta = {
component: WidgetTrends,
};
export const Default = {
components: {
WidgetTrends,
render(args, { argTypes }) {
return {
components: {
WidgetTrends,
},
props: Object.keys(argTypes),
template: '<WidgetTrends v-bind="$props" />',
};
},
template: '<WidgetTrends />',
parameters: {
layout: 'centered',
},

View File

@@ -5,10 +5,15 @@ const meta = {
component: WidgetUnixClock,
};
export const Default = {
components: {
WidgetUnixClock,
render(args, { argTypes }) {
return {
components: {
WidgetUnixClock,
},
props: Object.keys(argTypes),
template: '<WidgetUnixClock v-bind="$props" />',
};
},
template: '<WidgetUnixClock />',
parameters: {
layout: 'centered',
},

View File

@@ -5,10 +5,15 @@ const meta = {
component: WidgetUserList,
};
export const Default = {
components: {
WidgetUserList,
render(args, { argTypes }) {
return {
components: {
WidgetUserList,
},
props: Object.keys(argTypes),
template: '<WidgetUserList v-bind="$props" />',
};
},
template: '<WidgetUserList />',
parameters: {
layout: 'centered',
},

View File

@@ -5,10 +5,15 @@ const meta = {
component: cpu_mem,
};
export const Default = {
components: {
cpu_mem,
render(args, { argTypes }) {
return {
components: {
cpu_mem,
},
props: Object.keys(argTypes),
template: '<cpu_mem v-bind="$props" />',
};
},
template: '<cpu_mem />',
parameters: {
layout: 'centered',
},

View File

@@ -5,10 +5,15 @@ const meta = {
component: cpu,
};
export const Default = {
components: {
cpu,
render(args, { argTypes }) {
return {
components: {
cpu,
},
props: Object.keys(argTypes),
template: '<cpu v-bind="$props" />',
};
},
template: '<cpu />',
parameters: {
layout: 'centered',
},

View File

@@ -5,10 +5,15 @@ const meta = {
component: disk,
};
export const Default = {
components: {
disk,
render(args, { argTypes }) {
return {
components: {
disk,
},
props: Object.keys(argTypes),
template: '<disk v-bind="$props" />',
};
},
template: '<disk />',
parameters: {
layout: 'centered',
},

View File

@@ -5,10 +5,15 @@ const meta = {
component: index,
};
export const Default = {
components: {
index,
render(args, { argTypes }) {
return {
components: {
index,
},
props: Object.keys(argTypes),
template: '<index v-bind="$props" />',
};
},
template: '<index />',
parameters: {
layout: 'centered',
},

View File

@@ -5,10 +5,15 @@ const meta = {
component: mem,
};
export const Default = {
components: {
mem,
render(args, { argTypes }) {
return {
components: {
mem,
},
props: Object.keys(argTypes),
template: '<mem v-bind="$props" />',
};
},
template: '<mem />',
parameters: {
layout: 'centered',
},

View File

@@ -5,10 +5,15 @@ const meta = {
component: net,
};
export const Default = {
components: {
net,
render(args, { argTypes }) {
return {
components: {
net,
},
props: Object.keys(argTypes),
template: '<net v-bind="$props" />',
};
},
template: '<net />',
parameters: {
layout: 'centered',
},

View File

@@ -5,10 +5,15 @@ const meta = {
component: pie,
};
export const Default = {
components: {
pie,
render(args, { argTypes }) {
return {
components: {
pie,
},
props: Object.keys(argTypes),
template: '<pie v-bind="$props" />',
};
},
template: '<pie />',
parameters: {
layout: 'centered',
},