@mframework/ui 0.0.6-beta6 → 0.1.0-beta.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/adapters/adapter-directus/src/types/ui.d.ts +21 -0
- package/dist/module.d.mts +9 -0
- package/dist/module.d.ts +6 -0
- package/dist/module.js +68 -0
- package/dist/module.json +9 -0
- package/dist/module.mjs +38 -0
- package/dist/modules/ui/src/module.d.ts +8 -0
- package/dist/modules/ui/src/module.js +75 -0
- package/dist/modules/ui/src/runtime/composables/useMToast.d.ts +5 -0
- package/dist/modules/ui/src/runtime/composables/useMToast.js +11 -0
- package/dist/modules/ui/src/runtime/design/tokens.d.ts +22 -0
- package/dist/modules/ui/src/runtime/design/tokens.js +22 -0
- package/dist/modules/ui/src/runtime/plugins/builder.d.ts +3 -0
- package/dist/modules/ui/src/runtime/plugins/builder.js +311 -0
- package/dist/modules/ui/src/runtime/plugins/fontawesome.d.ts +3 -0
- package/dist/modules/ui/src/runtime/plugins/fontawesome.js +9 -0
- package/dist/modules/ui/src/runtime/plugins/formkit.d.ts +3 -0
- package/dist/modules/ui/src/runtime/plugins/formkit.js +8 -0
- package/dist/modules/ui/src/runtime/plugins/motion.d.ts +2 -0
- package/dist/modules/ui/src/runtime/plugins/motion.js +5 -0
- package/dist/modules/ui/src/runtime/plugins/theme-switcher.d.ts +2 -0
- package/dist/modules/ui/src/runtime/plugins/theme-switcher.js +27 -0
- package/dist/modules/ui/src/runtime/plugins/theme.d.ts +2 -0
- package/dist/modules/ui/src/runtime/plugins/theme.js +44 -0
- package/dist/modules/ui/src/runtime/plugins/vuetify.d.ts +3 -0
- package/dist/modules/ui/src/runtime/plugins/vuetify.js +33 -0
- package/dist/modules/ui/src/runtime/search/client.d.ts +2 -0
- package/dist/modules/ui/src/runtime/search/client.js +21 -0
- package/dist/modules/ui/src/runtime/search/plugin.d.ts +2 -0
- package/dist/modules/ui/src/runtime/search/plugin.js +7 -0
- package/dist/modules/ui/src/utils/color.d.ts +2 -0
- package/dist/modules/ui/src/utils/fonts.d.ts +5 -0
- package/dist/modules/ui/src/utils/formkit.d.ts +12 -0
- package/dist/modules/ui/src/utils/icons.d.ts +4 -0
- package/dist/runtime/assets/config/tailwind.conifg.d.ts +0 -0
- package/dist/runtime/components/MButton.d.vue.ts +0 -0
- package/dist/runtime/components/MButton.vue +15 -0
- package/dist/runtime/components/MButton.vue.d.ts +0 -0
- package/dist/runtime/composables/useMToast.d.ts +5 -0
- package/dist/runtime/composables/useMToast.js +11 -0
- package/dist/runtime/plugins/builder.d.ts +3 -0
- package/dist/runtime/plugins/builder.js +311 -0
- package/dist/runtime/plugins/fontawesome.d.ts +3 -0
- package/dist/runtime/plugins/fontawesome.js +9 -0
- package/dist/runtime/plugins/formkit.d.ts +3 -0
- package/dist/runtime/plugins/formkit.js +8 -0
- package/dist/runtime/plugins/icon-switcher.d.ts +1 -1
- package/dist/runtime/plugins/icon-switcher.js +15 -9
- package/dist/runtime/plugins/lightgallery.d.ts +6 -0
- package/dist/runtime/plugins/lightgallery.js +15 -0
- package/dist/runtime/plugins/motion.d.ts +2 -0
- package/dist/runtime/plugins/motion.js +5 -0
- package/dist/runtime/plugins/theme-switcher.d.ts +2 -0
- package/dist/runtime/plugins/theme-switcher.js +27 -0
- package/dist/runtime/plugins/theme.d.ts +1 -1
- package/dist/runtime/plugins/theme.js +31 -25
- package/dist/runtime/plugins/vuetify.d.ts +1 -86
- package/dist/runtime/plugins/vuetify.js +28 -55
- package/dist/runtime/search/components/MSearch.d.vue.ts +0 -0
- package/dist/runtime/search/components/MSearch.vue +19 -0
- package/dist/runtime/search/components/MSearch.vue.d.ts +0 -0
- package/dist/runtime/styles/index.css +5 -0
- package/dist/runtime/styles/tailwind.css +1 -0
- package/dist/runtime/styles/vuetify.css +3 -0
- package/dist/types.d.mts +9 -0
- package/dist/utils/color.d.ts +2 -0
- package/dist/utils/color.js +11 -0
- package/dist/utils/fonts.d.ts +5 -0
- package/dist/utils/fonts.js +18 -0
- package/dist/utils/formkit.d.ts +12 -0
- package/dist/utils/formkit.js +59 -0
- package/dist/utils/icons.d.ts +4 -0
- package/dist/utils/icons.js +36 -0
- package/package.json +32 -20
- package/src/module.ts +105 -0
- package/src/runtime/assets/config/tailwind.conifg.js +42 -0
- package/src/runtime/components/Gallery.vue +66 -0
- package/src/runtime/components/MButton.vue +17 -0
- package/src/runtime/composables/useMToast.ts +14 -0
- package/src/runtime/plugins/builder.ts +326 -0
- package/src/runtime/plugins/fontawesome.ts +11 -0
- package/src/runtime/plugins/formkit.ts +9 -0
- package/src/runtime/plugins/lightgallery.js +21 -0
- package/src/runtime/plugins/motion.ts +6 -0
- package/src/runtime/plugins/theme-switcher.ts +32 -0
- package/src/runtime/plugins/theme.ts +57 -0
- package/src/runtime/plugins/vuetify.ts +36 -0
- package/src/runtime/styles/index.scss +101 -0
- package/{runtime/assets/css → src/runtime/styles}/tailwind.css +1 -3
- package/src/runtime/styles/vuetify.scss +5 -0
- package/src/types/runtime-config.d.ts +12 -0
- package/src/utils/color.js +11 -0
- package/src/utils/fonts.js +18 -0
- package/src/utils/formkit.js +59 -0
- package/src/utils/icons.js +36 -0
- package/dist/runtime/plugins/icons.d.ts +0 -4
- package/dist/runtime/plugins/icons.js +0 -13
- package/module.ts +0 -72
- package/runtime/plugins/icon-switcher.ts +0 -32
- package/runtime/plugins/theme.ts +0 -29
- package/runtime/plugins/vuetify.js +0 -12
- package/runtime/plugins/vuetify.ts +0 -64
- package/tsconfig.json +0 -16
- package/type.d.ts +0 -5
- package/types/ui/api/global-search.js +0 -1
- package/types/ui/api/global-search.ts +0 -8
- package/types/ui/blocks/block-button-group.js +0 -1
- package/types/ui/blocks/block-button-group.ts +0 -7
- package/types/ui/blocks/block-button.js +0 -1
- package/types/ui/blocks/block-button.ts +0 -14
- package/types/ui/blocks/block-column.js +0 -1
- package/types/ui/blocks/block-column.ts +0 -20
- package/types/ui/blocks/block-cta.js +0 -1
- package/types/ui/blocks/block-cta.ts +0 -10
- package/types/ui/blocks/block-divider.js +0 -1
- package/types/ui/blocks/block-divider.ts +0 -4
- package/types/ui/blocks/block-faq.js +0 -1
- package/types/ui/blocks/block-faq.ts +0 -12
- package/types/ui/blocks/block-form.js +0 -1
- package/types/ui/blocks/block-form.ts +0 -8
- package/types/ui/blocks/block-gallery.js +0 -1
- package/types/ui/blocks/block-gallery.ts +0 -14
- package/types/ui/blocks/block-hero.js +0 -1
- package/types/ui/blocks/block-hero.ts +0 -12
- package/types/ui/blocks/block-html.js +0 -1
- package/types/ui/blocks/block-html.ts +0 -4
- package/types/ui/blocks/block-logocloud.js +0 -1
- package/types/ui/blocks/block-logocloud.ts +0 -14
- package/types/ui/blocks/block-quote.js +0 -1
- package/types/ui/blocks/block-quote.ts +0 -11
- package/types/ui/blocks/block-richtext.js +0 -1
- package/types/ui/blocks/block-richtext.ts +0 -7
- package/types/ui/blocks/block-steps.js +0 -1
- package/types/ui/blocks/block-steps.ts +0 -22
- package/types/ui/blocks/block-team.js +0 -1
- package/types/ui/blocks/block-team.ts +0 -6
- package/types/ui/blocks/block-testimonial.js +0 -1
- package/types/ui/blocks/block-testimonial.ts +0 -14
- package/types/ui/blocks/block-video.js +0 -1
- package/types/ui/blocks/block-video.ts +0 -10
- package/types/ui/blocks/block.js +0 -1
- package/types/ui/blocks/block.ts +0 -49
- package/types/ui/blocks/index.js +0 -1
- package/types/ui/blocks/index.ts +0 -18
- package/types/ui/component.js +0 -1
- package/types/ui/component.ts +0 -7
- package/types/ui/content/category.js +0 -1
- package/types/ui/content/category.ts +0 -11
- package/types/ui/content/form.js +0 -1
- package/types/ui/content/form.ts +0 -20
- package/types/ui/content/index.js +0 -1
- package/types/ui/content/index.ts +0 -6
- package/types/ui/content/page.js +0 -1
- package/types/ui/content/page.ts +0 -76
- package/types/ui/content/post.js +0 -1
- package/types/ui/content/post.ts +0 -39
- package/types/ui/content/team.js +0 -1
- package/types/ui/content/team.ts +0 -16
- package/types/ui/content/testimonial.js +0 -1
- package/types/ui/content/testimonial.ts +0 -19
- package/types/ui/env.d.ts +0 -8
- package/types/ui/form.js +0 -1
- package/types/ui/form.ts +0 -17
- package/types/ui/help/index.js +0 -1
- package/types/ui/help/index.ts +0 -53
- package/types/ui/meta/analytics.js +0 -1
- package/types/ui/meta/analytics.ts +0 -18
- package/types/ui/meta/config.js +0 -1
- package/types/ui/meta/config.ts +0 -21
- package/types/ui/meta/globals.js +0 -1
- package/types/ui/meta/globals.ts +0 -30
- package/types/ui/meta/index.js +0 -1
- package/types/ui/meta/index.ts +0 -6
- package/types/ui/meta/navigation.js +0 -1
- package/types/ui/meta/navigation.ts +0 -32
- package/types/ui/meta/redirect.js +0 -1
- package/types/ui/meta/redirect.ts +0 -13
- package/types/ui/meta/seo.js +0 -1
- package/types/ui/meta/seo.ts +0 -19
- package/types/ui/os/contact.js +0 -1
- package/types/ui/os/contact.ts +0 -23
- package/types/ui/os/conversation.js +0 -1
- package/types/ui/os/conversation.ts +0 -25
- package/types/ui/os/index.js +0 -1
- package/types/ui/os/index.ts +0 -16
- package/types/ui/os/organization.js +0 -1
- package/types/ui/os/organization.ts +0 -54
- package/types/ui/os/os-activity.js +0 -1
- package/types/ui/os/os-activity.ts +0 -28
- package/types/ui/os/os-deal.js +0 -1
- package/types/ui/os/os-deal.ts +0 -45
- package/types/ui/os/os-expense.js +0 -1
- package/types/ui/os/os-expense.ts +0 -22
- package/types/ui/os/os-invoice.js +0 -1
- package/types/ui/os/os-invoice.ts +0 -48
- package/types/ui/os/os-item.js +0 -1
- package/types/ui/os/os-item.ts +0 -18
- package/types/ui/os/os-payment.js +0 -1
- package/types/ui/os/os-payment.ts +0 -29
- package/types/ui/os/os-project.js +0 -1
- package/types/ui/os/os-project.ts +0 -47
- package/types/ui/os/os-proposal.js +0 -1
- package/types/ui/os/os-proposal.ts +0 -84
- package/types/ui/os/os-settings.js +0 -1
- package/types/ui/os/os-settings.ts +0 -19
- package/types/ui/os/os-subscription.js +0 -1
- package/types/ui/os/os-subscription.ts +0 -12
- package/types/ui/os/os-task.js +0 -1
- package/types/ui/os/os-task.ts +0 -34
- package/types/ui/os/os-tax-rate.js +0 -1
- package/types/ui/os/os-tax-rate.ts +0 -13
- package/types/ui/pageComponentMap.js +0 -7
- package/types/ui/pageComponentMap.ts +0 -8
- package/types/ui/pagination.js +0 -1
- package/types/ui/pagination.ts +0 -6
- package/types/ui/schema.d.ts +0 -39
- package/types/ui/schema.js +0 -1
- package/types/ui/schema.ts +0 -151
- package/types/ui/state.js +0 -1
- package/types/ui/state.ts +0 -5
- package/types/ui/system/file.js +0 -1
- package/types/ui/system/file.ts +0 -46
- package/types/ui/system/folder.js +0 -1
- package/types/ui/system/folder.ts +0 -8
- package/types/ui/system/index.js +0 -1
- package/types/ui/system/index.ts +0 -4
- package/types/ui/system/role.js +0 -1
- package/types/ui/system/role.ts +0 -21
- package/types/ui/system/user.js +0 -1
- package/types/ui/system/user.ts +0 -56
- package/types/ui.ts +0 -23
- /package/{types → dist/adapters/adapter-directus/src/types}/ui.js +0 -0
- /package/{utils → dist/modules/ui/src/utils}/color.js +0 -0
- /package/{utils → dist/modules/ui/src/utils}/fonts.js +0 -0
- /package/{utils → dist/modules/ui/src/utils}/formkit.js +0 -0
- /package/{utils → dist/modules/ui/src/utils}/icons.js +0 -0
- /package/{runtime → dist/runtime}/assets/config/tailwind.conifg.js +0 -0
- /package/{runtime → src/runtime}/design/tokens.ts +0 -0
- /package/{runtime → src/runtime}/search/client.ts +0 -0
- /package/{runtime → src/runtime}/search/components/MSearch.vue +0 -0
- /package/{runtime → src/runtime}/search/plugin.ts +0 -0
- /package/{utils → src/utils}/color.ts +0 -0
- /package/{utils → src/utils}/fonts.ts +0 -0
- /package/{utils → src/utils}/formkit.ts +0 -0
- /package/{utils → src/utils}/icons.ts +0 -0
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
import type { File } from '../system';
|
|
2
|
-
import type { BlockButtonGroup } from '.';
|
|
3
|
-
|
|
4
|
-
export interface BlockColumn {
|
|
5
|
-
headline?: string | null;
|
|
6
|
-
id?: string;
|
|
7
|
-
title?: string | null;
|
|
8
|
-
rows?: (number | BlockColumnRow)[];
|
|
9
|
-
}
|
|
10
|
-
|
|
11
|
-
export interface BlockColumnRow {
|
|
12
|
-
block_columns?: (string | BlockColumn) | null;
|
|
13
|
-
content?: string | null;
|
|
14
|
-
headline?: string | null;
|
|
15
|
-
id?: string;
|
|
16
|
-
image?: (string | File) | null;
|
|
17
|
-
image_position?: string | null;
|
|
18
|
-
title?: string | null;
|
|
19
|
-
button_group?: (string | BlockButtonGroup) | null;
|
|
20
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import type { BlockButtonGroup } from '.';
|
|
2
|
-
|
|
3
|
-
export interface BlockCta {
|
|
4
|
-
buttons?: { [key: string]: any } | null;
|
|
5
|
-
content?: string | null;
|
|
6
|
-
headline?: string | null;
|
|
7
|
-
id?: string;
|
|
8
|
-
title?: string | null;
|
|
9
|
-
button_group?: (string | BlockButtonGroup) | null;
|
|
10
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
export interface BlockFaq {
|
|
2
|
-
faqs?: BlockFaqQuestion[] | null;
|
|
3
|
-
headline?: string | null;
|
|
4
|
-
id?: string;
|
|
5
|
-
title?: string | null;
|
|
6
|
-
alignment?: 'left' | 'center' | null;
|
|
7
|
-
}
|
|
8
|
-
|
|
9
|
-
export interface BlockFaqQuestion {
|
|
10
|
-
title: string | null;
|
|
11
|
-
answer: string | null;
|
|
12
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import type { File } from '../system';
|
|
2
|
-
|
|
3
|
-
export interface BlockGallery {
|
|
4
|
-
headline?: string | null;
|
|
5
|
-
id?: string;
|
|
6
|
-
title?: string | null;
|
|
7
|
-
gallery_items?: BlockGalleryFile[] | null;
|
|
8
|
-
}
|
|
9
|
-
export interface BlockGalleryFile {
|
|
10
|
-
block_gallery?: (string | BlockGallery) | null;
|
|
11
|
-
directus_files_id?: (string | File) | null;
|
|
12
|
-
id?: number;
|
|
13
|
-
sort?: number | null;
|
|
14
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import type { File } from '../system';
|
|
2
|
-
import type { BlockButtonGroup } from '.';
|
|
3
|
-
|
|
4
|
-
export interface BlockHero {
|
|
5
|
-
id?: string;
|
|
6
|
-
title?: string | null;
|
|
7
|
-
headline?: string | null;
|
|
8
|
-
content?: string | null;
|
|
9
|
-
image?: (string | File) | null;
|
|
10
|
-
image_position?: 'left' | 'right' | null;
|
|
11
|
-
button_group?: (string | BlockButtonGroup) | null;
|
|
12
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import type { File } from '../system';
|
|
2
|
-
|
|
3
|
-
export interface BlockLogocloud {
|
|
4
|
-
headline?: string | null;
|
|
5
|
-
id?: string;
|
|
6
|
-
title?: string | null;
|
|
7
|
-
logos?: (string | BlockLogocloudFile)[];
|
|
8
|
-
}
|
|
9
|
-
export interface BlockLogocloudFile {
|
|
10
|
-
id?: string;
|
|
11
|
-
sort?: number | null;
|
|
12
|
-
block_logocloud_id?: (string | BlockLogocloud) | null;
|
|
13
|
-
directus_files_id?: (string | File) | null;
|
|
14
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import type { File } from '../system';
|
|
2
|
-
|
|
3
|
-
export interface BlockQuote {
|
|
4
|
-
background_color?: string | null;
|
|
5
|
-
content?: string | null;
|
|
6
|
-
headline?: string | null;
|
|
7
|
-
id?: string;
|
|
8
|
-
image?: (string | File) | null;
|
|
9
|
-
subtitle?: string | null;
|
|
10
|
-
title?: string | null;
|
|
11
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
import type { File } from '../system';
|
|
2
|
-
import type { BlockButtonGroup } from '.';
|
|
3
|
-
|
|
4
|
-
export interface BlockStep {
|
|
5
|
-
id?: string;
|
|
6
|
-
title?: string | null;
|
|
7
|
-
headline?: string | null;
|
|
8
|
-
/** If enabled, image position is mframeworkd between left and right. */
|
|
9
|
-
mframework_image_position?: boolean;
|
|
10
|
-
/** Show the step numbers on the website. For example: (Step 1, Step 2, etc) */
|
|
11
|
-
show_step_numbers?: boolean | null;
|
|
12
|
-
steps?: (number | BlockStepItem)[];
|
|
13
|
-
}
|
|
14
|
-
export interface BlockStepItem {
|
|
15
|
-
id?: string;
|
|
16
|
-
title?: string | null;
|
|
17
|
-
content?: string | null;
|
|
18
|
-
image?: (string | File) | null;
|
|
19
|
-
sort?: number | null;
|
|
20
|
-
block_steps?: (string | BlockStep) | null;
|
|
21
|
-
button_group?: (string | BlockButtonGroup) | null;
|
|
22
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import type { Testimonial } from '../content';
|
|
2
|
-
|
|
3
|
-
export interface BlockTestimonial {
|
|
4
|
-
headline?: string | null;
|
|
5
|
-
id?: string;
|
|
6
|
-
title?: string | null;
|
|
7
|
-
testimonials?: (string | BlockTestimonialItem)[];
|
|
8
|
-
}
|
|
9
|
-
export interface BlockTestimonialItem {
|
|
10
|
-
block_testimonials_slider_id?: (string | BlockTestimonial) | null;
|
|
11
|
-
id?: string;
|
|
12
|
-
sort?: number | null;
|
|
13
|
-
testimonials_id?: (string | Testimonial) | null;
|
|
14
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
package/types/ui/blocks/block.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
package/types/ui/blocks/block.ts
DELETED
|
@@ -1,49 +0,0 @@
|
|
|
1
|
-
import type { BlockColumn } from './block-column';
|
|
2
|
-
import type { BlockCta } from './block-cta';
|
|
3
|
-
import type { BlockFaq } from './block-faq';
|
|
4
|
-
import type { BlockForm } from './block-form';
|
|
5
|
-
import type { BlockGallery } from './block-gallery';
|
|
6
|
-
import type { BlockHero } from './block-hero';
|
|
7
|
-
import type { BlockHtml } from './block-html';
|
|
8
|
-
import type { BlockLogocloud } from './block-logocloud';
|
|
9
|
-
import type { BlockQuote } from './block-quote';
|
|
10
|
-
import type { BlockRichtext } from './block-richtext';
|
|
11
|
-
import type { BlockStep } from './block-steps';
|
|
12
|
-
import type { BlockTeam } from './block-team';
|
|
13
|
-
import type { BlockTestimonial } from './block-testimonial';
|
|
14
|
-
import type { BlockVideo } from './block-video';
|
|
15
|
-
import type { BlockDivider } from './block-divider';
|
|
16
|
-
|
|
17
|
-
export type BlockType =
|
|
18
|
-
| 'block_columns'
|
|
19
|
-
| 'block_cta'
|
|
20
|
-
| 'block_faqs'
|
|
21
|
-
| 'block_form'
|
|
22
|
-
| 'block_gallery'
|
|
23
|
-
| 'block_hero'
|
|
24
|
-
| 'block_html'
|
|
25
|
-
| 'block_logocloud'
|
|
26
|
-
| 'block_quote'
|
|
27
|
-
| 'block_richtext'
|
|
28
|
-
| 'block_steps'
|
|
29
|
-
| 'block_team'
|
|
30
|
-
| 'block_testimonials'
|
|
31
|
-
| 'block_video'
|
|
32
|
-
| 'block_divider';
|
|
33
|
-
|
|
34
|
-
export type Block =
|
|
35
|
-
| BlockColumn
|
|
36
|
-
| BlockCta
|
|
37
|
-
| BlockFaq
|
|
38
|
-
| BlockForm
|
|
39
|
-
| BlockGallery
|
|
40
|
-
| BlockHero
|
|
41
|
-
| BlockHtml
|
|
42
|
-
| BlockLogocloud
|
|
43
|
-
| BlockQuote
|
|
44
|
-
| BlockRichtext
|
|
45
|
-
| BlockStep
|
|
46
|
-
| BlockTeam
|
|
47
|
-
| BlockTestimonial
|
|
48
|
-
| BlockVideo
|
|
49
|
-
| BlockDivider;
|
package/types/ui/blocks/index.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
package/types/ui/blocks/index.ts
DELETED
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
export type * from './block-column';
|
|
2
|
-
export type * from './block-cta';
|
|
3
|
-
export type * from './block-faq';
|
|
4
|
-
export type * from './block-form';
|
|
5
|
-
export type * from './block-gallery';
|
|
6
|
-
export type * from './block-hero';
|
|
7
|
-
export type * from './block-html';
|
|
8
|
-
export type * from './block-logocloud';
|
|
9
|
-
export type * from './block-quote';
|
|
10
|
-
export type * from './block-richtext';
|
|
11
|
-
export type * from './block-steps';
|
|
12
|
-
export type * from './block-team';
|
|
13
|
-
export type * from './block-testimonial';
|
|
14
|
-
export type * from './block-video';
|
|
15
|
-
export type * from './block-button-group';
|
|
16
|
-
export type * from './block-button';
|
|
17
|
-
export type * from './block-divider';
|
|
18
|
-
export type * from './block';
|
package/types/ui/component.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
package/types/ui/component.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
package/types/ui/content/form.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
package/types/ui/content/form.ts
DELETED
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
import type { User } from '../system';
|
|
2
|
-
|
|
3
|
-
export interface Form {
|
|
4
|
-
date_created?: string | null;
|
|
5
|
-
date_updated?: string | null;
|
|
6
|
-
id?: string;
|
|
7
|
-
key?: string | null;
|
|
8
|
-
on_success?: string | null;
|
|
9
|
-
redirect_url?: string | null;
|
|
10
|
-
/** The fields for the form. */
|
|
11
|
-
schema?: { [key: string]: any }[] | null;
|
|
12
|
-
sort?: number | null;
|
|
13
|
-
status?: string;
|
|
14
|
-
/** The text for the submit button label. */
|
|
15
|
-
submit_label?: string | null;
|
|
16
|
-
success_message?: string | null;
|
|
17
|
-
title?: string | null;
|
|
18
|
-
user_created?: string | User | null;
|
|
19
|
-
user_updated?: string | User | null;
|
|
20
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
package/types/ui/content/page.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
package/types/ui/content/page.ts
DELETED
|
@@ -1,76 +0,0 @@
|
|
|
1
|
-
import type { SEO } from '../meta';
|
|
2
|
-
import type { User } from '../system';
|
|
3
|
-
import type { Post } from '.';
|
|
4
|
-
import type {
|
|
5
|
-
BlockColumn,
|
|
6
|
-
BlockCta,
|
|
7
|
-
BlockFaq,
|
|
8
|
-
BlockForm,
|
|
9
|
-
BlockGallery,
|
|
10
|
-
BlockHero,
|
|
11
|
-
BlockHtml,
|
|
12
|
-
BlockLogocloud,
|
|
13
|
-
BlockQuote,
|
|
14
|
-
BlockRichtext,
|
|
15
|
-
BlockStep,
|
|
16
|
-
BlockTeam,
|
|
17
|
-
BlockTestimonial,
|
|
18
|
-
BlockVideo,
|
|
19
|
-
BlockType,
|
|
20
|
-
} from '../blocks';
|
|
21
|
-
|
|
22
|
-
export interface Page {
|
|
23
|
-
id?: string;
|
|
24
|
-
permalink: string;
|
|
25
|
-
date_created?: string | null;
|
|
26
|
-
date_updated?: string | null;
|
|
27
|
-
seo?: (string | SEO) | null;
|
|
28
|
-
sort?: number | null;
|
|
29
|
-
status?: string;
|
|
30
|
-
title?: string | null;
|
|
31
|
-
user_created?: (string | User) | null;
|
|
32
|
-
user_updated?: (string | User) | null;
|
|
33
|
-
blocks?: (string | PageBlock)[];
|
|
34
|
-
}
|
|
35
|
-
|
|
36
|
-
export interface PageBlock {
|
|
37
|
-
collection?: BlockType | null;
|
|
38
|
-
id?: string;
|
|
39
|
-
item?:
|
|
40
|
-
| (
|
|
41
|
-
| string
|
|
42
|
-
| BlockColumn
|
|
43
|
-
| BlockCta
|
|
44
|
-
| BlockFaq
|
|
45
|
-
| BlockForm
|
|
46
|
-
| BlockGallery
|
|
47
|
-
| BlockHero
|
|
48
|
-
| BlockHtml
|
|
49
|
-
| BlockLogocloud
|
|
50
|
-
| BlockQuote
|
|
51
|
-
| BlockRichtext
|
|
52
|
-
| BlockStep
|
|
53
|
-
| BlockTeam
|
|
54
|
-
| BlockTestimonial
|
|
55
|
-
| BlockVideo
|
|
56
|
-
)[]
|
|
57
|
-
| null;
|
|
58
|
-
pages_id?: (string | Page) | null;
|
|
59
|
-
sort?: number | null;
|
|
60
|
-
hide_block?: boolean | null;
|
|
61
|
-
}
|
|
62
|
-
|
|
63
|
-
export interface PagesProjects {
|
|
64
|
-
id?: string;
|
|
65
|
-
title?: string | null;
|
|
66
|
-
headline?: string | null | undefined;
|
|
67
|
-
seo: (string | SEO) | null;
|
|
68
|
-
}
|
|
69
|
-
|
|
70
|
-
export interface PagesBlog {
|
|
71
|
-
id?: string;
|
|
72
|
-
title?: string | null;
|
|
73
|
-
headline?: string | null;
|
|
74
|
-
featured_post?: (string | Post) | null;
|
|
75
|
-
seo: (string | SEO) | null;
|
|
76
|
-
}
|
package/types/ui/content/post.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
package/types/ui/content/post.ts
DELETED
|
@@ -1,39 +0,0 @@
|
|
|
1
|
-
import type { User, File } from '../system';
|
|
2
|
-
import type { SEO } from '../meta';
|
|
3
|
-
import type { Category, Team } from '.';
|
|
4
|
-
|
|
5
|
-
export interface Post {
|
|
6
|
-
author?: (string | Team) | null;
|
|
7
|
-
category?: (string | Category) | null;
|
|
8
|
-
content?: string | null;
|
|
9
|
-
date_created?: string | null;
|
|
10
|
-
date_published?: string | null;
|
|
11
|
-
date_updated?: string | null;
|
|
12
|
-
id?: string;
|
|
13
|
-
image?: (string | File) | null;
|
|
14
|
-
seo?: (string | SEO) | null;
|
|
15
|
-
slug?: string | null;
|
|
16
|
-
sort?: number | null;
|
|
17
|
-
status?: 'draft' | 'published' | 'scheduled' | 'in_review' | 'archived';
|
|
18
|
-
summary?: string | null;
|
|
19
|
-
title?: string | null;
|
|
20
|
-
user_created?: string | null;
|
|
21
|
-
user_updated?: string | null;
|
|
22
|
-
links?: string;
|
|
23
|
-
type?: PostType;
|
|
24
|
-
details?: string;
|
|
25
|
-
gallery?: (number | ProjectFile)[];
|
|
26
|
-
built_with?: { [key: string]: any } | null;
|
|
27
|
-
client?: string | null;
|
|
28
|
-
cost?: string | null;
|
|
29
|
-
video_url?: string | null;
|
|
30
|
-
}
|
|
31
|
-
|
|
32
|
-
export type PostType = 'blog' | 'video' | 'project';
|
|
33
|
-
|
|
34
|
-
export interface ProjectFile {
|
|
35
|
-
directus_files_id?: (string | File) | null;
|
|
36
|
-
id?: number;
|
|
37
|
-
project?: (string | File) | null;
|
|
38
|
-
sort?: number | null;
|
|
39
|
-
}
|
package/types/ui/content/team.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
package/types/ui/content/team.ts
DELETED
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import type { User, File } from '../system';
|
|
2
|
-
|
|
3
|
-
export interface Team {
|
|
4
|
-
bio?: string | null;
|
|
5
|
-
date_created?: string | null;
|
|
6
|
-
date_updated?: string | null;
|
|
7
|
-
id?: string;
|
|
8
|
-
image?: (string | File) | null;
|
|
9
|
-
job_title?: string | null;
|
|
10
|
-
name?: string | null;
|
|
11
|
-
social_media?: { [key: string]: any } | null;
|
|
12
|
-
sort?: number | null;
|
|
13
|
-
status?: string;
|
|
14
|
-
user_created?: string | User | null;
|
|
15
|
-
user_updated?: string | User | null;
|
|
16
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
import type { User } from '../system';
|
|
2
|
-
|
|
3
|
-
export interface Testimonial {
|
|
4
|
-
company?: string | null;
|
|
5
|
-
company_logo?: (string | File) | null;
|
|
6
|
-
content?: string | null;
|
|
7
|
-
date_created?: string | null;
|
|
8
|
-
date_updated?: string | null;
|
|
9
|
-
id?: string;
|
|
10
|
-
image?: (string | File) | null;
|
|
11
|
-
link?: string | null;
|
|
12
|
-
sort?: number | null;
|
|
13
|
-
status?: string;
|
|
14
|
-
subtitle?: string | null;
|
|
15
|
-
title?: string | null;
|
|
16
|
-
user_created?: string | User | null;
|
|
17
|
-
user_updated?: string | User | null;
|
|
18
|
-
company_info?: string;
|
|
19
|
-
}
|
package/types/ui/env.d.ts
DELETED
package/types/ui/form.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
package/types/ui/form.ts
DELETED
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
export type FormFieldType =
|
|
2
|
-
| 'text'
|
|
3
|
-
| 'email'
|
|
4
|
-
| 'password'
|
|
5
|
-
| 'number'
|
|
6
|
-
| 'checkbox'
|
|
7
|
-
| 'select'
|
|
8
|
-
| 'textarea'
|
|
9
|
-
|
|
10
|
-
export interface FormField {
|
|
11
|
-
name: string
|
|
12
|
-
label: string
|
|
13
|
-
type: FormFieldType
|
|
14
|
-
placeholder?: string
|
|
15
|
-
schema?: unknown
|
|
16
|
-
options?: Array<{ label: string; value: string }>
|
|
17
|
-
}
|
package/types/ui/help/index.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
package/types/ui/help/index.ts
DELETED
|
@@ -1,53 +0,0 @@
|
|
|
1
|
-
import type { User } from '../system';
|
|
2
|
-
import type { Form } from '../content';
|
|
3
|
-
|
|
4
|
-
export interface HelpArticle {
|
|
5
|
-
content?: string | null;
|
|
6
|
-
date_created?: string | null;
|
|
7
|
-
date_updated?: string | null;
|
|
8
|
-
help_collection?: (string | HelpCollection) | null;
|
|
9
|
-
id?: string;
|
|
10
|
-
owner?: string | User | null;
|
|
11
|
-
slug?: string | null;
|
|
12
|
-
sort?: number | null;
|
|
13
|
-
status?: string;
|
|
14
|
-
summary?: string | null;
|
|
15
|
-
title?: string | null;
|
|
16
|
-
user_created?: string | User | null;
|
|
17
|
-
user_updated?: string | User | null;
|
|
18
|
-
}
|
|
19
|
-
|
|
20
|
-
export interface HelpCollection {
|
|
21
|
-
description?: string | null;
|
|
22
|
-
icon?: string | null;
|
|
23
|
-
id?: string;
|
|
24
|
-
slug?: string | null;
|
|
25
|
-
sort?: number | null;
|
|
26
|
-
title?: string | null;
|
|
27
|
-
articles?: (string | HelpArticle)[];
|
|
28
|
-
}
|
|
29
|
-
|
|
30
|
-
export interface HelpFeedback {
|
|
31
|
-
comments?: string | null;
|
|
32
|
-
date_created?: string | null;
|
|
33
|
-
date_updated?: string | null;
|
|
34
|
-
id?: string;
|
|
35
|
-
rating?: number | null;
|
|
36
|
-
title?: string | null;
|
|
37
|
-
url?: string | null;
|
|
38
|
-
user_created?: string | User | null;
|
|
39
|
-
user_updated?: string | User | null;
|
|
40
|
-
visitor_id?: string | null;
|
|
41
|
-
}
|
|
42
|
-
|
|
43
|
-
export interface Inbox {
|
|
44
|
-
data?: { [key: string]: any } | null;
|
|
45
|
-
date_created?: string | null;
|
|
46
|
-
date_updated?: string | null;
|
|
47
|
-
form?: (string | Form) | null;
|
|
48
|
-
id?: string;
|
|
49
|
-
sort?: number | null;
|
|
50
|
-
status?: string;
|
|
51
|
-
user_created?: string | User | null;
|
|
52
|
-
user_updated?: string | User | null;
|
|
53
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
export interface Event {
|
|
2
|
-
id?: string;
|
|
3
|
-
key?: string | null;
|
|
4
|
-
metadata?: { [key: string]: any } | null;
|
|
5
|
-
service?: string | null;
|
|
6
|
-
session?: string | null;
|
|
7
|
-
timestamp?: string | null;
|
|
8
|
-
user?: string | null;
|
|
9
|
-
}
|
|
10
|
-
|
|
11
|
-
export interface Metric {
|
|
12
|
-
id?: string;
|
|
13
|
-
key?: string | null;
|
|
14
|
-
metadata?: { [key: string]: any } | null;
|
|
15
|
-
service?: string | null;
|
|
16
|
-
timestamp?: string | null;
|
|
17
|
-
value?: number | null;
|
|
18
|
-
}
|
package/types/ui/meta/config.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|