build(#10336): separate definitions and generated codes
This commit is contained in:
parent
a19c560e7b
commit
6e21147ff6
435 changed files with 3887 additions and 1361 deletions
|
|
@ -5,10 +5,15 @@ const meta = {
|
|||
component: RolesEditorFormula,
|
||||
};
|
||||
export const Default = {
|
||||
components: {
|
||||
RolesEditorFormula,
|
||||
render(args, { argTypes }) {
|
||||
return {
|
||||
components: {
|
||||
RolesEditorFormula,
|
||||
},
|
||||
props: Object.keys(argTypes),
|
||||
template: '<RolesEditorFormula v-bind="$props" />',
|
||||
};
|
||||
},
|
||||
template: '<RolesEditorFormula />',
|
||||
parameters: {
|
||||
layout: 'fullscreen',
|
||||
},
|
||||
|
|
|
|||
|
|
@ -5,10 +5,15 @@ const meta = {
|
|||
component: _header_,
|
||||
};
|
||||
export const Default = {
|
||||
components: {
|
||||
_header_,
|
||||
render(args, { argTypes }) {
|
||||
return {
|
||||
components: {
|
||||
_header_,
|
||||
},
|
||||
props: Object.keys(argTypes),
|
||||
template: '<_header_ v-bind="$props" />',
|
||||
};
|
||||
},
|
||||
template: '<_header_ />',
|
||||
parameters: {
|
||||
layout: 'fullscreen',
|
||||
},
|
||||
|
|
|
|||
|
|
@ -5,10 +5,15 @@ const meta = {
|
|||
component: abuses,
|
||||
};
|
||||
export const Default = {
|
||||
components: {
|
||||
abuses,
|
||||
render(args, { argTypes }) {
|
||||
return {
|
||||
components: {
|
||||
abuses,
|
||||
},
|
||||
props: Object.keys(argTypes),
|
||||
template: '<abuses v-bind="$props" />',
|
||||
};
|
||||
},
|
||||
template: '<abuses />',
|
||||
parameters: {
|
||||
layout: 'fullscreen',
|
||||
},
|
||||
|
|
|
|||
|
|
@ -5,10 +5,15 @@ const meta = {
|
|||
component: ads,
|
||||
};
|
||||
export const Default = {
|
||||
components: {
|
||||
ads,
|
||||
render(args, { argTypes }) {
|
||||
return {
|
||||
components: {
|
||||
ads,
|
||||
},
|
||||
props: Object.keys(argTypes),
|
||||
template: '<ads v-bind="$props" />',
|
||||
};
|
||||
},
|
||||
template: '<ads />',
|
||||
parameters: {
|
||||
layout: 'fullscreen',
|
||||
},
|
||||
|
|
|
|||
|
|
@ -5,10 +5,15 @@ const meta = {
|
|||
component: announcements,
|
||||
};
|
||||
export const Default = {
|
||||
components: {
|
||||
announcements,
|
||||
render(args, { argTypes }) {
|
||||
return {
|
||||
components: {
|
||||
announcements,
|
||||
},
|
||||
props: Object.keys(argTypes),
|
||||
template: '<announcements v-bind="$props" />',
|
||||
};
|
||||
},
|
||||
template: '<announcements />',
|
||||
parameters: {
|
||||
layout: 'fullscreen',
|
||||
},
|
||||
|
|
|
|||
|
|
@ -5,10 +5,15 @@ const meta = {
|
|||
component: bot_protection,
|
||||
};
|
||||
export const Default = {
|
||||
components: {
|
||||
bot_protection,
|
||||
render(args, { argTypes }) {
|
||||
return {
|
||||
components: {
|
||||
bot_protection,
|
||||
},
|
||||
props: Object.keys(argTypes),
|
||||
template: '<bot_protection v-bind="$props" />',
|
||||
};
|
||||
},
|
||||
template: '<bot_protection />',
|
||||
parameters: {
|
||||
layout: 'fullscreen',
|
||||
},
|
||||
|
|
|
|||
|
|
@ -5,10 +5,15 @@ const meta = {
|
|||
component: database,
|
||||
};
|
||||
export const Default = {
|
||||
components: {
|
||||
database,
|
||||
render(args, { argTypes }) {
|
||||
return {
|
||||
components: {
|
||||
database,
|
||||
},
|
||||
props: Object.keys(argTypes),
|
||||
template: '<database v-bind="$props" />',
|
||||
};
|
||||
},
|
||||
template: '<database />',
|
||||
parameters: {
|
||||
layout: 'fullscreen',
|
||||
},
|
||||
|
|
|
|||
|
|
@ -5,10 +5,15 @@ const meta = {
|
|||
component: email_settings,
|
||||
};
|
||||
export const Default = {
|
||||
components: {
|
||||
email_settings,
|
||||
render(args, { argTypes }) {
|
||||
return {
|
||||
components: {
|
||||
email_settings,
|
||||
},
|
||||
props: Object.keys(argTypes),
|
||||
template: '<email_settings v-bind="$props" />',
|
||||
};
|
||||
},
|
||||
template: '<email_settings />',
|
||||
parameters: {
|
||||
layout: 'fullscreen',
|
||||
},
|
||||
|
|
|
|||
|
|
@ -5,10 +5,15 @@ const meta = {
|
|||
component: federation,
|
||||
};
|
||||
export const Default = {
|
||||
components: {
|
||||
federation,
|
||||
render(args, { argTypes }) {
|
||||
return {
|
||||
components: {
|
||||
federation,
|
||||
},
|
||||
props: Object.keys(argTypes),
|
||||
template: '<federation v-bind="$props" />',
|
||||
};
|
||||
},
|
||||
template: '<federation />',
|
||||
parameters: {
|
||||
layout: 'fullscreen',
|
||||
},
|
||||
|
|
|
|||
|
|
@ -5,10 +5,15 @@ const meta = {
|
|||
component: files,
|
||||
};
|
||||
export const Default = {
|
||||
components: {
|
||||
files,
|
||||
render(args, { argTypes }) {
|
||||
return {
|
||||
components: {
|
||||
files,
|
||||
},
|
||||
props: Object.keys(argTypes),
|
||||
template: '<files v-bind="$props" />',
|
||||
};
|
||||
},
|
||||
template: '<files />',
|
||||
parameters: {
|
||||
layout: 'fullscreen',
|
||||
},
|
||||
|
|
|
|||
|
|
@ -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: 'fullscreen',
|
||||
},
|
||||
|
|
|
|||
|
|
@ -5,10 +5,15 @@ const meta = {
|
|||
component: instance_block,
|
||||
};
|
||||
export const Default = {
|
||||
components: {
|
||||
instance_block,
|
||||
render(args, { argTypes }) {
|
||||
return {
|
||||
components: {
|
||||
instance_block,
|
||||
},
|
||||
props: Object.keys(argTypes),
|
||||
template: '<instance_block v-bind="$props" />',
|
||||
};
|
||||
},
|
||||
template: '<instance_block />',
|
||||
parameters: {
|
||||
layout: 'fullscreen',
|
||||
},
|
||||
|
|
|
|||
|
|
@ -5,10 +5,15 @@ const meta = {
|
|||
component: moderation,
|
||||
};
|
||||
export const Default = {
|
||||
components: {
|
||||
moderation,
|
||||
render(args, { argTypes }) {
|
||||
return {
|
||||
components: {
|
||||
moderation,
|
||||
},
|
||||
props: Object.keys(argTypes),
|
||||
template: '<moderation v-bind="$props" />',
|
||||
};
|
||||
},
|
||||
template: '<moderation />',
|
||||
parameters: {
|
||||
layout: 'fullscreen',
|
||||
},
|
||||
|
|
|
|||
|
|
@ -5,10 +5,15 @@ const meta = {
|
|||
component: object_storage,
|
||||
};
|
||||
export const Default = {
|
||||
components: {
|
||||
object_storage,
|
||||
render(args, { argTypes }) {
|
||||
return {
|
||||
components: {
|
||||
object_storage,
|
||||
},
|
||||
props: Object.keys(argTypes),
|
||||
template: '<object_storage v-bind="$props" />',
|
||||
};
|
||||
},
|
||||
template: '<object_storage />',
|
||||
parameters: {
|
||||
layout: 'fullscreen',
|
||||
},
|
||||
|
|
|
|||
|
|
@ -5,10 +5,15 @@ const meta = {
|
|||
component: other_settings,
|
||||
};
|
||||
export const Default = {
|
||||
components: {
|
||||
other_settings,
|
||||
render(args, { argTypes }) {
|
||||
return {
|
||||
components: {
|
||||
other_settings,
|
||||
},
|
||||
props: Object.keys(argTypes),
|
||||
template: '<other_settings v-bind="$props" />',
|
||||
};
|
||||
},
|
||||
template: '<other_settings />',
|
||||
parameters: {
|
||||
layout: 'fullscreen',
|
||||
},
|
||||
|
|
|
|||
|
|
@ -5,10 +5,15 @@ const meta = {
|
|||
component: overview_active_users,
|
||||
};
|
||||
export const Default = {
|
||||
components: {
|
||||
overview_active_users,
|
||||
render(args, { argTypes }) {
|
||||
return {
|
||||
components: {
|
||||
overview_active_users,
|
||||
},
|
||||
props: Object.keys(argTypes),
|
||||
template: '<overview_active_users v-bind="$props" />',
|
||||
};
|
||||
},
|
||||
template: '<overview_active_users />',
|
||||
parameters: {
|
||||
layout: 'fullscreen',
|
||||
},
|
||||
|
|
|
|||
|
|
@ -5,10 +5,15 @@ const meta = {
|
|||
component: overview_ap_requests,
|
||||
};
|
||||
export const Default = {
|
||||
components: {
|
||||
overview_ap_requests,
|
||||
render(args, { argTypes }) {
|
||||
return {
|
||||
components: {
|
||||
overview_ap_requests,
|
||||
},
|
||||
props: Object.keys(argTypes),
|
||||
template: '<overview_ap_requests v-bind="$props" />',
|
||||
};
|
||||
},
|
||||
template: '<overview_ap_requests />',
|
||||
parameters: {
|
||||
layout: 'fullscreen',
|
||||
},
|
||||
|
|
|
|||
|
|
@ -5,10 +5,15 @@ const meta = {
|
|||
component: overview_federation,
|
||||
};
|
||||
export const Default = {
|
||||
components: {
|
||||
overview_federation,
|
||||
render(args, { argTypes }) {
|
||||
return {
|
||||
components: {
|
||||
overview_federation,
|
||||
},
|
||||
props: Object.keys(argTypes),
|
||||
template: '<overview_federation v-bind="$props" />',
|
||||
};
|
||||
},
|
||||
template: '<overview_federation />',
|
||||
parameters: {
|
||||
layout: 'fullscreen',
|
||||
},
|
||||
|
|
|
|||
|
|
@ -5,10 +5,15 @@ const meta = {
|
|||
component: overview_heatmap,
|
||||
};
|
||||
export const Default = {
|
||||
components: {
|
||||
overview_heatmap,
|
||||
render(args, { argTypes }) {
|
||||
return {
|
||||
components: {
|
||||
overview_heatmap,
|
||||
},
|
||||
props: Object.keys(argTypes),
|
||||
template: '<overview_heatmap v-bind="$props" />',
|
||||
};
|
||||
},
|
||||
template: '<overview_heatmap />',
|
||||
parameters: {
|
||||
layout: 'fullscreen',
|
||||
},
|
||||
|
|
|
|||
|
|
@ -5,10 +5,15 @@ const meta = {
|
|||
component: overview_instances,
|
||||
};
|
||||
export const Default = {
|
||||
components: {
|
||||
overview_instances,
|
||||
render(args, { argTypes }) {
|
||||
return {
|
||||
components: {
|
||||
overview_instances,
|
||||
},
|
||||
props: Object.keys(argTypes),
|
||||
template: '<overview_instances v-bind="$props" />',
|
||||
};
|
||||
},
|
||||
template: '<overview_instances />',
|
||||
parameters: {
|
||||
layout: 'fullscreen',
|
||||
},
|
||||
|
|
|
|||
|
|
@ -5,10 +5,15 @@ const meta = {
|
|||
component: overview_moderators,
|
||||
};
|
||||
export const Default = {
|
||||
components: {
|
||||
overview_moderators,
|
||||
render(args, { argTypes }) {
|
||||
return {
|
||||
components: {
|
||||
overview_moderators,
|
||||
},
|
||||
props: Object.keys(argTypes),
|
||||
template: '<overview_moderators v-bind="$props" />',
|
||||
};
|
||||
},
|
||||
template: '<overview_moderators />',
|
||||
parameters: {
|
||||
layout: 'fullscreen',
|
||||
},
|
||||
|
|
|
|||
|
|
@ -5,10 +5,15 @@ const meta = {
|
|||
component: overview_pie,
|
||||
};
|
||||
export const Default = {
|
||||
components: {
|
||||
overview_pie,
|
||||
render(args, { argTypes }) {
|
||||
return {
|
||||
components: {
|
||||
overview_pie,
|
||||
},
|
||||
props: Object.keys(argTypes),
|
||||
template: '<overview_pie v-bind="$props" />',
|
||||
};
|
||||
},
|
||||
template: '<overview_pie />',
|
||||
parameters: {
|
||||
layout: 'fullscreen',
|
||||
},
|
||||
|
|
|
|||
|
|
@ -5,10 +5,15 @@ const meta = {
|
|||
component: overview_queue_chart,
|
||||
};
|
||||
export const Default = {
|
||||
components: {
|
||||
overview_queue_chart,
|
||||
render(args, { argTypes }) {
|
||||
return {
|
||||
components: {
|
||||
overview_queue_chart,
|
||||
},
|
||||
props: Object.keys(argTypes),
|
||||
template: '<overview_queue_chart v-bind="$props" />',
|
||||
};
|
||||
},
|
||||
template: '<overview_queue_chart />',
|
||||
parameters: {
|
||||
layout: 'fullscreen',
|
||||
},
|
||||
|
|
|
|||
|
|
@ -5,10 +5,15 @@ const meta = {
|
|||
component: overview_queue,
|
||||
};
|
||||
export const Default = {
|
||||
components: {
|
||||
overview_queue,
|
||||
render(args, { argTypes }) {
|
||||
return {
|
||||
components: {
|
||||
overview_queue,
|
||||
},
|
||||
props: Object.keys(argTypes),
|
||||
template: '<overview_queue v-bind="$props" />',
|
||||
};
|
||||
},
|
||||
template: '<overview_queue />',
|
||||
parameters: {
|
||||
layout: 'fullscreen',
|
||||
},
|
||||
|
|
|
|||
|
|
@ -5,10 +5,15 @@ const meta = {
|
|||
component: overview_retention,
|
||||
};
|
||||
export const Default = {
|
||||
components: {
|
||||
overview_retention,
|
||||
render(args, { argTypes }) {
|
||||
return {
|
||||
components: {
|
||||
overview_retention,
|
||||
},
|
||||
props: Object.keys(argTypes),
|
||||
template: '<overview_retention v-bind="$props" />',
|
||||
};
|
||||
},
|
||||
template: '<overview_retention />',
|
||||
parameters: {
|
||||
layout: 'fullscreen',
|
||||
},
|
||||
|
|
|
|||
|
|
@ -5,10 +5,15 @@ const meta = {
|
|||
component: overview_stats,
|
||||
};
|
||||
export const Default = {
|
||||
components: {
|
||||
overview_stats,
|
||||
render(args, { argTypes }) {
|
||||
return {
|
||||
components: {
|
||||
overview_stats,
|
||||
},
|
||||
props: Object.keys(argTypes),
|
||||
template: '<overview_stats v-bind="$props" />',
|
||||
};
|
||||
},
|
||||
template: '<overview_stats />',
|
||||
parameters: {
|
||||
layout: 'fullscreen',
|
||||
},
|
||||
|
|
|
|||
|
|
@ -5,10 +5,15 @@ const meta = {
|
|||
component: overview,
|
||||
};
|
||||
export const Default = {
|
||||
components: {
|
||||
overview,
|
||||
render(args, { argTypes }) {
|
||||
return {
|
||||
components: {
|
||||
overview,
|
||||
},
|
||||
props: Object.keys(argTypes),
|
||||
template: '<overview v-bind="$props" />',
|
||||
};
|
||||
},
|
||||
template: '<overview />',
|
||||
parameters: {
|
||||
layout: 'fullscreen',
|
||||
},
|
||||
|
|
|
|||
|
|
@ -5,10 +5,15 @@ const meta = {
|
|||
component: overview_users,
|
||||
};
|
||||
export const Default = {
|
||||
components: {
|
||||
overview_users,
|
||||
render(args, { argTypes }) {
|
||||
return {
|
||||
components: {
|
||||
overview_users,
|
||||
},
|
||||
props: Object.keys(argTypes),
|
||||
template: '<overview_users v-bind="$props" />',
|
||||
};
|
||||
},
|
||||
template: '<overview_users />',
|
||||
parameters: {
|
||||
layout: 'fullscreen',
|
||||
},
|
||||
|
|
|
|||
|
|
@ -5,10 +5,15 @@ const meta = {
|
|||
component: proxy_account,
|
||||
};
|
||||
export const Default = {
|
||||
components: {
|
||||
proxy_account,
|
||||
render(args, { argTypes }) {
|
||||
return {
|
||||
components: {
|
||||
proxy_account,
|
||||
},
|
||||
props: Object.keys(argTypes),
|
||||
template: '<proxy_account v-bind="$props" />',
|
||||
};
|
||||
},
|
||||
template: '<proxy_account />',
|
||||
parameters: {
|
||||
layout: 'fullscreen',
|
||||
},
|
||||
|
|
|
|||
|
|
@ -5,10 +5,15 @@ const meta = {
|
|||
component: queue_chart_chart,
|
||||
};
|
||||
export const Default = {
|
||||
components: {
|
||||
queue_chart_chart,
|
||||
render(args, { argTypes }) {
|
||||
return {
|
||||
components: {
|
||||
queue_chart_chart,
|
||||
},
|
||||
props: Object.keys(argTypes),
|
||||
template: '<queue_chart_chart v-bind="$props" />',
|
||||
};
|
||||
},
|
||||
template: '<queue_chart_chart />',
|
||||
parameters: {
|
||||
layout: 'fullscreen',
|
||||
},
|
||||
|
|
|
|||
|
|
@ -5,10 +5,15 @@ const meta = {
|
|||
component: queue_chart,
|
||||
};
|
||||
export const Default = {
|
||||
components: {
|
||||
queue_chart,
|
||||
render(args, { argTypes }) {
|
||||
return {
|
||||
components: {
|
||||
queue_chart,
|
||||
},
|
||||
props: Object.keys(argTypes),
|
||||
template: '<queue_chart v-bind="$props" />',
|
||||
};
|
||||
},
|
||||
template: '<queue_chart />',
|
||||
parameters: {
|
||||
layout: 'fullscreen',
|
||||
},
|
||||
|
|
|
|||
|
|
@ -5,10 +5,15 @@ const meta = {
|
|||
component: queue,
|
||||
};
|
||||
export const Default = {
|
||||
components: {
|
||||
queue,
|
||||
render(args, { argTypes }) {
|
||||
return {
|
||||
components: {
|
||||
queue,
|
||||
},
|
||||
props: Object.keys(argTypes),
|
||||
template: '<queue v-bind="$props" />',
|
||||
};
|
||||
},
|
||||
template: '<queue />',
|
||||
parameters: {
|
||||
layout: 'fullscreen',
|
||||
},
|
||||
|
|
|
|||
|
|
@ -5,10 +5,15 @@ const meta = {
|
|||
component: relays,
|
||||
};
|
||||
export const Default = {
|
||||
components: {
|
||||
relays,
|
||||
render(args, { argTypes }) {
|
||||
return {
|
||||
components: {
|
||||
relays,
|
||||
},
|
||||
props: Object.keys(argTypes),
|
||||
template: '<relays v-bind="$props" />',
|
||||
};
|
||||
},
|
||||
template: '<relays />',
|
||||
parameters: {
|
||||
layout: 'fullscreen',
|
||||
},
|
||||
|
|
|
|||
|
|
@ -5,10 +5,15 @@ const meta = {
|
|||
component: roles_edit,
|
||||
};
|
||||
export const Default = {
|
||||
components: {
|
||||
roles_edit,
|
||||
render(args, { argTypes }) {
|
||||
return {
|
||||
components: {
|
||||
roles_edit,
|
||||
},
|
||||
props: Object.keys(argTypes),
|
||||
template: '<roles_edit v-bind="$props" />',
|
||||
};
|
||||
},
|
||||
template: '<roles_edit />',
|
||||
parameters: {
|
||||
layout: 'fullscreen',
|
||||
},
|
||||
|
|
|
|||
|
|
@ -5,10 +5,15 @@ const meta = {
|
|||
component: roles_editor,
|
||||
};
|
||||
export const Default = {
|
||||
components: {
|
||||
roles_editor,
|
||||
render(args, { argTypes }) {
|
||||
return {
|
||||
components: {
|
||||
roles_editor,
|
||||
},
|
||||
props: Object.keys(argTypes),
|
||||
template: '<roles_editor v-bind="$props" />',
|
||||
};
|
||||
},
|
||||
template: '<roles_editor />',
|
||||
parameters: {
|
||||
layout: 'fullscreen',
|
||||
},
|
||||
|
|
|
|||
|
|
@ -5,10 +5,15 @@ const meta = {
|
|||
component: roles_role,
|
||||
};
|
||||
export const Default = {
|
||||
components: {
|
||||
roles_role,
|
||||
render(args, { argTypes }) {
|
||||
return {
|
||||
components: {
|
||||
roles_role,
|
||||
},
|
||||
props: Object.keys(argTypes),
|
||||
template: '<roles_role v-bind="$props" />',
|
||||
};
|
||||
},
|
||||
template: '<roles_role />',
|
||||
parameters: {
|
||||
layout: 'fullscreen',
|
||||
},
|
||||
|
|
|
|||
|
|
@ -5,10 +5,15 @@ const meta = {
|
|||
component: roles,
|
||||
};
|
||||
export const Default = {
|
||||
components: {
|
||||
roles,
|
||||
render(args, { argTypes }) {
|
||||
return {
|
||||
components: {
|
||||
roles,
|
||||
},
|
||||
props: Object.keys(argTypes),
|
||||
template: '<roles v-bind="$props" />',
|
||||
};
|
||||
},
|
||||
template: '<roles />',
|
||||
parameters: {
|
||||
layout: 'fullscreen',
|
||||
},
|
||||
|
|
|
|||
|
|
@ -5,10 +5,15 @@ const meta = {
|
|||
component: security,
|
||||
};
|
||||
export const Default = {
|
||||
components: {
|
||||
security,
|
||||
render(args, { argTypes }) {
|
||||
return {
|
||||
components: {
|
||||
security,
|
||||
},
|
||||
props: Object.keys(argTypes),
|
||||
template: '<security v-bind="$props" />',
|
||||
};
|
||||
},
|
||||
template: '<security />',
|
||||
parameters: {
|
||||
layout: 'fullscreen',
|
||||
},
|
||||
|
|
|
|||
|
|
@ -5,10 +5,15 @@ const meta = {
|
|||
component: settings,
|
||||
};
|
||||
export const Default = {
|
||||
components: {
|
||||
settings,
|
||||
render(args, { argTypes }) {
|
||||
return {
|
||||
components: {
|
||||
settings,
|
||||
},
|
||||
props: Object.keys(argTypes),
|
||||
template: '<settings v-bind="$props" />',
|
||||
};
|
||||
},
|
||||
template: '<settings />',
|
||||
parameters: {
|
||||
layout: 'fullscreen',
|
||||
},
|
||||
|
|
|
|||
|
|
@ -5,10 +5,15 @@ const meta = {
|
|||
component: users,
|
||||
};
|
||||
export const Default = {
|
||||
components: {
|
||||
users,
|
||||
render(args, { argTypes }) {
|
||||
return {
|
||||
components: {
|
||||
users,
|
||||
},
|
||||
props: Object.keys(argTypes),
|
||||
template: '<users v-bind="$props" />',
|
||||
};
|
||||
},
|
||||
template: '<users />',
|
||||
parameters: {
|
||||
layout: 'fullscreen',
|
||||
},
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue