@mframework/ui 0.0.2 → 0.0.4
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/runtime/design/tokens.d.ts +22 -0
- package/dist/runtime/design/tokens.js +22 -0
- package/dist/runtime/plugins/icon-switcher.d.ts +2 -0
- package/dist/runtime/plugins/icon-switcher.js +18 -0
- package/dist/runtime/plugins/icons.d.ts +4 -0
- package/dist/runtime/plugins/icons.js +13 -0
- package/dist/runtime/plugins/theme.d.ts +2 -0
- package/dist/runtime/plugins/theme.js +28 -0
- package/dist/runtime/plugins/vuetify.d.ts +88 -0
- package/dist/runtime/plugins/vuetify.js +60 -0
- package/dist/runtime/search/client.d.ts +2 -0
- package/dist/runtime/search/client.js +21 -0
- package/dist/runtime/search/plugin.d.ts +2 -0
- package/dist/runtime/search/plugin.js +8 -0
- package/dist/types/ui/api/global-search.d.ts +8 -0
- package/dist/types/ui/blocks/block-button-group.d.ts +6 -0
- package/dist/types/ui/blocks/block-button.d.ts +13 -0
- package/dist/types/ui/blocks/block-column.d.ts +18 -0
- package/dist/types/ui/blocks/block-cta.d.ts +11 -0
- package/dist/types/ui/blocks/block-divider.d.ts +4 -0
- package/dist/types/ui/blocks/block-faq.d.ts +11 -0
- package/dist/types/ui/blocks/block-form.d.ts +7 -0
- package/dist/types/ui/blocks/block-gallery.d.ts +13 -0
- package/dist/types/ui/blocks/block-hero.d.ts +11 -0
- package/dist/types/ui/blocks/block-html.d.ts +4 -0
- package/dist/types/ui/blocks/block-logocloud.d.ts +13 -0
- package/dist/types/ui/blocks/block-quote.d.ts +10 -0
- package/dist/types/ui/blocks/block-richtext.d.ts +7 -0
- package/dist/types/ui/blocks/block-steps.d.ts +21 -0
- package/dist/types/ui/blocks/block-team.d.ts +6 -0
- package/dist/types/ui/blocks/block-testimonial.d.ts +13 -0
- package/dist/types/ui/blocks/block-video.d.ts +9 -0
- package/dist/types/ui/blocks/block.d.ts +17 -0
- package/dist/types/ui/component.d.ts +6 -0
- package/dist/types/ui/content/category.d.ts +10 -0
- package/dist/types/ui/content/form.d.ts +21 -0
- package/dist/types/ui/content/page.d.ts +38 -0
- package/dist/types/ui/content/post.d.ts +38 -0
- package/dist/types/ui/content/team.d.ts +17 -0
- package/dist/types/ui/content/testimonial.d.ts +18 -0
- package/dist/types/ui/form.d.ts +12 -0
- package/dist/types/ui/help/index.d.ts +51 -0
- package/dist/types/ui/meta/analytics.d.ts +21 -0
- package/dist/types/ui/meta/config.d.ts +22 -0
- package/dist/types/ui/meta/globals.d.ts +33 -0
- package/dist/types/ui/meta/navigation.d.ts +31 -0
- package/dist/types/ui/meta/redirect.d.ts +12 -0
- package/dist/types/ui/meta/seo.d.ts +19 -0
- package/dist/types/ui/os/contact.d.ts +22 -0
- package/dist/types/ui/os/conversation.d.ts +23 -0
- package/dist/types/ui/os/organization.d.ts +51 -0
- package/dist/types/ui/os/os-activity.d.ts +26 -0
- package/dist/types/ui/os/os-deal.d.ts +42 -0
- package/dist/types/ui/os/os-expense.d.ts +21 -0
- package/dist/types/ui/os/os-invoice.d.ts +46 -0
- package/dist/types/ui/os/os-item.d.ts +17 -0
- package/dist/types/ui/os/os-payment.d.ts +27 -0
- package/dist/types/ui/os/os-project.d.ts +45 -0
- package/dist/types/ui/os/os-proposal.d.ts +61 -0
- package/dist/types/ui/os/os-settings.d.ts +17 -0
- package/dist/types/ui/os/os-subscription.d.ts +12 -0
- package/dist/types/ui/os/os-task.d.ts +32 -0
- package/dist/types/ui/os/os-tax-rate.d.ts +12 -0
- package/dist/types/ui/pageComponentMap.d.ts +2 -0
- package/dist/types/ui/pagination.d.ts +6 -0
- package/dist/types/ui/schema.d.ts +78 -0
- package/dist/types/ui/state.d.ts +5 -0
- package/dist/types/ui/system/file.d.ts +47 -0
- package/dist/types/ui/system/folder.d.ts +8 -0
- package/dist/types/ui/system/role.d.ts +20 -0
- package/dist/types/ui/system/user.d.ts +57 -0
- package/dist/types/ui/system/user.js +1 -0
- package/dist/types/ui.d.ts +21 -0
- package/module.ts +96 -6
- package/package.json +10 -12
- package/runtime/assets/config/tailwind.conifg.js +11 -0
- package/runtime/assets/css/tailwind.css +11 -0
- package/runtime/design/tokens.ts +22 -0
- package/runtime/plugins/icon-switcher.ts +21 -0
- package/runtime/plugins/theme.ts +29 -0
- package/runtime/plugins/vuetify.js +12 -0
- package/runtime/plugins/vuetify.ts +58 -6
- package/runtime/search/client.ts +25 -0
- package/runtime/search/components/MSearch.vue +19 -0
- package/runtime/search/plugin.ts +10 -0
- package/tsconfig.json +11 -8
- package/type.d.ts +5 -0
- package/types/ui/api/global-search.js +1 -0
- package/types/ui/blocks/block-button-group.js +1 -0
- package/types/ui/blocks/block-button.js +1 -0
- package/types/ui/blocks/block-column.js +1 -0
- package/types/ui/blocks/block-cta.js +1 -0
- package/types/ui/blocks/block-divider.js +1 -0
- package/types/ui/blocks/block-faq.js +1 -0
- package/types/ui/blocks/block-form.js +1 -0
- package/types/ui/blocks/block-gallery.js +1 -0
- package/types/ui/blocks/block-hero.js +1 -0
- package/types/ui/blocks/block-html.js +1 -0
- package/types/ui/blocks/block-logocloud.js +1 -0
- package/types/ui/blocks/block-quote.js +1 -0
- package/types/ui/blocks/block-richtext.js +1 -0
- package/types/ui/blocks/block-steps.js +1 -0
- package/types/ui/blocks/block-team.js +1 -0
- package/types/ui/blocks/block-testimonial.js +1 -0
- package/types/ui/blocks/block-video.js +1 -0
- package/types/ui/blocks/block.js +1 -0
- package/types/ui/blocks/index.js +1 -0
- package/types/ui/blocks/index.ts +18 -0
- package/types/ui/component.js +1 -0
- package/types/ui/content/category.js +1 -0
- package/types/ui/content/form.js +1 -0
- package/types/ui/content/index.js +1 -0
- package/types/ui/content/index.ts +6 -0
- package/types/ui/content/page.js +1 -0
- package/types/ui/content/post.js +1 -0
- package/types/ui/content/team.js +1 -0
- package/types/ui/content/testimonial.js +1 -0
- package/types/ui/form.js +1 -0
- package/types/ui/help/index.js +1 -0
- package/types/ui/meta/analytics.js +1 -0
- package/types/ui/meta/config.js +1 -0
- package/types/ui/meta/globals.js +1 -0
- package/types/ui/meta/index.js +1 -0
- package/types/ui/meta/index.ts +6 -0
- package/types/ui/meta/navigation.js +1 -0
- package/types/ui/meta/redirect.js +1 -0
- package/types/ui/meta/seo.js +1 -0
- package/types/ui/os/contact.js +1 -0
- package/types/ui/os/conversation.js +1 -0
- package/types/ui/os/index.js +1 -0
- package/types/ui/os/index.ts +16 -0
- package/types/ui/os/organization.js +1 -0
- package/types/ui/os/os-activity.js +1 -0
- package/types/ui/os/os-deal.js +1 -0
- package/types/ui/os/os-expense.js +1 -0
- package/types/ui/os/os-invoice.js +1 -0
- package/types/ui/os/os-item.js +1 -0
- package/types/ui/os/os-payment.js +1 -0
- package/types/ui/os/os-project.js +1 -0
- package/types/ui/os/os-proposal.js +1 -0
- package/types/ui/os/os-settings.js +1 -0
- package/types/ui/os/os-subscription.js +1 -0
- package/types/ui/os/os-task.js +1 -0
- package/types/ui/os/os-tax-rate.js +1 -0
- package/types/ui/pageComponentMap.js +7 -0
- package/types/ui/pagination.js +1 -0
- package/types/ui/schema.js +1 -0
- package/types/ui/state.js +1 -0
- package/types/ui/system/file.js +1 -0
- package/types/ui/system/folder.js +1 -0
- package/types/ui/system/index.js +1 -0
- package/types/ui/system/index.ts +4 -0
- package/types/ui/system/role.js +1 -0
- package/types/ui/system/user.js +1 -0
- package/types/ui.js +1 -0
- package/tailwind.conifg.js +0 -1
- /package/{src/types/ui/blocks/block-button-group.js → dist/types/ui/api/global-search.js} +0 -0
- /package/{src/types/ui/blocks/block-button.js → dist/types/ui/blocks/block-button-group.js} +0 -0
- /package/{src/types/ui/blocks/block-column.js → dist/types/ui/blocks/block-button.js} +0 -0
- /package/{src/types/ui/blocks/block-cta.js → dist/types/ui/blocks/block-column.js} +0 -0
- /package/{src/types/ui/blocks/block-divider.js → dist/types/ui/blocks/block-cta.js} +0 -0
- /package/{src/types/ui/blocks/block-faq.js → dist/types/ui/blocks/block-divider.js} +0 -0
- /package/{src/types/ui/blocks/block-form.js → dist/types/ui/blocks/block-faq.js} +0 -0
- /package/{src/types/ui/blocks/block-gallery.js → dist/types/ui/blocks/block-form.js} +0 -0
- /package/{src/types/ui/blocks/block-hero.js → dist/types/ui/blocks/block-gallery.js} +0 -0
- /package/{src/types/ui/blocks/block-html.js → dist/types/ui/blocks/block-hero.js} +0 -0
- /package/{src/types/ui/blocks/block-logocloud.js → dist/types/ui/blocks/block-html.js} +0 -0
- /package/{src/types/ui/blocks/block-quote.js → dist/types/ui/blocks/block-logocloud.js} +0 -0
- /package/{src/types/ui/blocks/block-richtext.js → dist/types/ui/blocks/block-quote.js} +0 -0
- /package/{src/types/ui/blocks/block-steps.js → dist/types/ui/blocks/block-richtext.js} +0 -0
- /package/{src/types/ui/blocks/block-team.js → dist/types/ui/blocks/block-steps.js} +0 -0
- /package/{src/types/ui/blocks/block-testimonial.js → dist/types/ui/blocks/block-team.js} +0 -0
- /package/{src/types/ui/blocks/block-video.js → dist/types/ui/blocks/block-testimonial.js} +0 -0
- /package/{src/types/ui/blocks/block.js → dist/types/ui/blocks/block-video.js} +0 -0
- /package/{src/types/ui/blocks/index.js → dist/types/ui/blocks/block.js} +0 -0
- /package/{src/types/ui/blocks/index.ts → dist/types/ui/blocks/index.d.ts} +0 -0
- /package/{src/types/ui/content → dist/types/ui/blocks}/index.js +0 -0
- /package/{src → dist}/types/ui/component.js +0 -0
- /package/{src → dist}/types/ui/content/category.js +0 -0
- /package/{src → dist}/types/ui/content/form.js +0 -0
- /package/{src/types/ui/content/index.ts → dist/types/ui/content/index.d.ts} +0 -0
- /package/{src/types/ui/help → dist/types/ui/content}/index.js +0 -0
- /package/{src → dist}/types/ui/content/page.js +0 -0
- /package/{src → dist}/types/ui/content/post.js +0 -0
- /package/{src → dist}/types/ui/content/team.js +0 -0
- /package/{src → dist}/types/ui/content/testimonial.js +0 -0
- /package/{src → dist}/types/ui/form.js +0 -0
- /package/{src/types/ui/meta → dist/types/ui/help}/index.js +0 -0
- /package/{src → dist}/types/ui/meta/analytics.js +0 -0
- /package/{src → dist}/types/ui/meta/config.js +0 -0
- /package/{src → dist}/types/ui/meta/globals.js +0 -0
- /package/{src/types/ui/meta/index.ts → dist/types/ui/meta/index.d.ts} +0 -0
- /package/{src/types/ui/os → dist/types/ui/meta}/index.js +0 -0
- /package/{src → dist}/types/ui/meta/navigation.js +0 -0
- /package/{src → dist}/types/ui/meta/redirect.js +0 -0
- /package/{src → dist}/types/ui/meta/seo.js +0 -0
- /package/{src → dist}/types/ui/os/contact.js +0 -0
- /package/{src → dist}/types/ui/os/conversation.js +0 -0
- /package/{src/types/ui/os/index.ts → dist/types/ui/os/index.d.ts} +0 -0
- /package/{src/types/ui/system → dist/types/ui/os}/index.js +0 -0
- /package/{src → dist}/types/ui/os/organization.js +0 -0
- /package/{src → dist}/types/ui/os/os-activity.js +0 -0
- /package/{src → dist}/types/ui/os/os-deal.js +0 -0
- /package/{src → dist}/types/ui/os/os-expense.js +0 -0
- /package/{src → dist}/types/ui/os/os-invoice.js +0 -0
- /package/{src → dist}/types/ui/os/os-item.js +0 -0
- /package/{src → dist}/types/ui/os/os-payment.js +0 -0
- /package/{src → dist}/types/ui/os/os-project.js +0 -0
- /package/{src → dist}/types/ui/os/os-proposal.js +0 -0
- /package/{src → dist}/types/ui/os/os-settings.js +0 -0
- /package/{src → dist}/types/ui/os/os-subscription.js +0 -0
- /package/{src → dist}/types/ui/os/os-task.js +0 -0
- /package/{src → dist}/types/ui/os/os-tax-rate.js +0 -0
- /package/{src → dist}/types/ui/pageComponentMap.js +0 -0
- /package/{src → dist}/types/ui/pagination.js +0 -0
- /package/{src → dist}/types/ui/schema.js +0 -0
- /package/{src → dist}/types/ui/state.js +0 -0
- /package/{src → dist}/types/ui/system/file.js +0 -0
- /package/{src → dist}/types/ui/system/folder.js +0 -0
- /package/{src/types/ui/system/index.ts → dist/types/ui/system/index.d.ts} +0 -0
- /package/{src/types/ui/system/role.js → dist/types/ui/system/index.js} +0 -0
- /package/{src/types/ui/system/user.js → dist/types/ui/system/role.js} +0 -0
- /package/{src/types/ui/api/global-search.js → dist/types/ui.js} +0 -0
- /package/{src/types → types}/ui/api/global-search.ts +0 -0
- /package/{src/types → types}/ui/blocks/block-button-group.ts +0 -0
- /package/{src/types → types}/ui/blocks/block-button.ts +0 -0
- /package/{src/types → types}/ui/blocks/block-column.ts +0 -0
- /package/{src/types → types}/ui/blocks/block-cta.ts +0 -0
- /package/{src/types → types}/ui/blocks/block-divider.ts +0 -0
- /package/{src/types → types}/ui/blocks/block-faq.ts +0 -0
- /package/{src/types → types}/ui/blocks/block-form.ts +0 -0
- /package/{src/types → types}/ui/blocks/block-gallery.ts +0 -0
- /package/{src/types → types}/ui/blocks/block-hero.ts +0 -0
- /package/{src/types → types}/ui/blocks/block-html.ts +0 -0
- /package/{src/types → types}/ui/blocks/block-logocloud.ts +0 -0
- /package/{src/types → types}/ui/blocks/block-quote.ts +0 -0
- /package/{src/types → types}/ui/blocks/block-richtext.ts +0 -0
- /package/{src/types → types}/ui/blocks/block-steps.ts +0 -0
- /package/{src/types → types}/ui/blocks/block-team.ts +0 -0
- /package/{src/types → types}/ui/blocks/block-testimonial.ts +0 -0
- /package/{src/types → types}/ui/blocks/block-video.ts +0 -0
- /package/{src/types → types}/ui/blocks/block.ts +0 -0
- /package/{src/types → types}/ui/component.ts +0 -0
- /package/{src/types → types}/ui/content/category.ts +0 -0
- /package/{src/types → types}/ui/content/form.ts +0 -0
- /package/{src/types → types}/ui/content/page.ts +0 -0
- /package/{src/types → types}/ui/content/post.ts +0 -0
- /package/{src/types → types}/ui/content/team.ts +0 -0
- /package/{src/types → types}/ui/content/testimonial.ts +0 -0
- /package/{src/types → types}/ui/env.d.ts +0 -0
- /package/{src/types → types}/ui/form.ts +0 -0
- /package/{src/types → types}/ui/help/index.ts +0 -0
- /package/{src/types → types}/ui/meta/analytics.ts +0 -0
- /package/{src/types → types}/ui/meta/config.ts +0 -0
- /package/{src/types → types}/ui/meta/globals.ts +0 -0
- /package/{src/types → types}/ui/meta/navigation.ts +0 -0
- /package/{src/types → types}/ui/meta/redirect.ts +0 -0
- /package/{src/types → types}/ui/meta/seo.ts +0 -0
- /package/{src/types → types}/ui/os/contact.ts +0 -0
- /package/{src/types → types}/ui/os/conversation.ts +0 -0
- /package/{src/types → types}/ui/os/organization.ts +0 -0
- /package/{src/types → types}/ui/os/os-activity.ts +0 -0
- /package/{src/types → types}/ui/os/os-deal.ts +0 -0
- /package/{src/types → types}/ui/os/os-expense.ts +0 -0
- /package/{src/types → types}/ui/os/os-invoice.ts +0 -0
- /package/{src/types → types}/ui/os/os-item.ts +0 -0
- /package/{src/types → types}/ui/os/os-payment.ts +0 -0
- /package/{src/types → types}/ui/os/os-project.ts +0 -0
- /package/{src/types → types}/ui/os/os-proposal.ts +0 -0
- /package/{src/types → types}/ui/os/os-settings.ts +0 -0
- /package/{src/types → types}/ui/os/os-subscription.ts +0 -0
- /package/{src/types → types}/ui/os/os-task.ts +0 -0
- /package/{src/types → types}/ui/os/os-tax-rate.ts +0 -0
- /package/{src/types → types}/ui/pageComponentMap.ts +0 -0
- /package/{src/types → types}/ui/pagination.ts +0 -0
- /package/{src/types → types}/ui/schema.d.ts +0 -0
- /package/{src/types → types}/ui/schema.ts +0 -0
- /package/{src/types → types}/ui/state.ts +0 -0
- /package/{src/types → types}/ui/system/file.ts +0 -0
- /package/{src/types → types}/ui/system/folder.ts +0 -0
- /package/{src/types → types}/ui/system/role.ts +0 -0
- /package/{src/types → types}/ui/system/user.ts +0 -0
- /package/{src/types → types}/ui.ts +0 -0
- /package/{src/utils → utils}/color.js +0 -0
- /package/{src/utils → utils}/color.ts +0 -0
- /package/{src/utils → utils}/fonts.js +0 -0
- /package/{src/utils → utils}/fonts.ts +0 -0
- /package/{src/utils → utils}/formkit.js +0 -0
- /package/{src/utils → utils}/formkit.ts +0 -0
- /package/{src/utils → utils}/icons.js +0 -0
- /package/{src/utils → utils}/icons.ts +0 -0
|
@@ -1,12 +1,64 @@
|
|
|
1
|
+
// plugins/vuetify.ts
|
|
2
|
+
import '@mdi/font/css/materialdesignicons.css'
|
|
3
|
+
|
|
4
|
+
import 'vuetify/styles'
|
|
1
5
|
import { createVuetify } from 'vuetify'
|
|
6
|
+
import { aliases, fa } from 'vuetify/iconsets/fa-svg'
|
|
7
|
+
import { library } from '@fortawesome/fontawesome-svg-core'
|
|
8
|
+
import { FontAwesomeIcon } from '@fortawesome/vue-fontawesome'
|
|
9
|
+
import { fas } from '@fortawesome/free-solid-svg-icons'
|
|
2
10
|
import * as components from 'vuetify/components'
|
|
11
|
+
import * as labsComponents from 'vuetify/labs/components'
|
|
3
12
|
import * as directives from 'vuetify/directives'
|
|
13
|
+
import { mdi } from 'vuetify/iconsets/mdi'
|
|
4
14
|
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
components,
|
|
8
|
-
directives
|
|
9
|
-
})
|
|
15
|
+
// Register fontawesome icons at module scope
|
|
16
|
+
library.add(fas)
|
|
10
17
|
|
|
11
|
-
|
|
18
|
+
// Create Vuetify instance at module scope so other runtime plugins can import it
|
|
19
|
+
export const vuetify = createVuetify({
|
|
20
|
+
ssr: true,
|
|
21
|
+
directives,
|
|
22
|
+
icons: {
|
|
23
|
+
defaultSet: 'fa',
|
|
24
|
+
aliases,
|
|
25
|
+
sets: {
|
|
26
|
+
fa,
|
|
27
|
+
mdi,
|
|
28
|
+
},
|
|
29
|
+
},
|
|
30
|
+
components: {
|
|
31
|
+
...components,
|
|
32
|
+
...labsComponents,
|
|
33
|
+
},
|
|
34
|
+
theme: {
|
|
35
|
+
defaultTheme: 'light',
|
|
36
|
+
themes: {
|
|
37
|
+
light: {
|
|
38
|
+
dark: false,
|
|
39
|
+
variables: {}, // required to avoid Vuetify crash
|
|
40
|
+
colors: {
|
|
41
|
+
primary: '#6200EE',
|
|
42
|
+
'primary-darken-1': '#3700B3',
|
|
43
|
+
secondary: '#03DAC6',
|
|
44
|
+
'secondary-darken-1': '#018786',
|
|
45
|
+
error: '#B00020',
|
|
46
|
+
info: '#2196F3',
|
|
47
|
+
success: '#4CAF50',
|
|
48
|
+
warning: '#FB8C00',
|
|
49
|
+
},
|
|
50
|
+
},
|
|
51
|
+
dark: {
|
|
52
|
+
dark: true,
|
|
53
|
+
variables: {},
|
|
54
|
+
colors: {},
|
|
55
|
+
},
|
|
56
|
+
},
|
|
57
|
+
},
|
|
12
58
|
})
|
|
59
|
+
|
|
60
|
+
export default (nuxtApp: any) => {
|
|
61
|
+
// Register FontAwesome component on the actual Vue app instance
|
|
62
|
+
nuxtApp.vueApp.component('font-awesome-icon', FontAwesomeIcon)
|
|
63
|
+
nuxtApp.vueApp.use(vuetify)
|
|
64
|
+
}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import type { SearchClient } from 'instantsearch.js'
|
|
2
|
+
|
|
3
|
+
export function getSearchClient(): SearchClient | null {
|
|
4
|
+
let mod: any
|
|
5
|
+
try {
|
|
6
|
+
mod = require('@searchkit/instantsearch-client')
|
|
7
|
+
} catch {
|
|
8
|
+
console.warn('[mframework-ui] Searchkit client missing')
|
|
9
|
+
return null
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
const candidate =
|
|
13
|
+
mod?.default?.default ||
|
|
14
|
+
mod?.default?.createClient ||
|
|
15
|
+
mod?.default ||
|
|
16
|
+
mod?.createClient ||
|
|
17
|
+
mod
|
|
18
|
+
|
|
19
|
+
if (typeof candidate !== 'function') return null
|
|
20
|
+
|
|
21
|
+
const host = process.env.NUXT_PUBLIC_SEARCHKIT_HOST
|
|
22
|
+
if (!host) return null
|
|
23
|
+
|
|
24
|
+
return candidate({ host })
|
|
25
|
+
}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<ais-instant-search :search-client="client" :index-name="index">
|
|
3
|
+
<ais-search-box />
|
|
4
|
+
<ais-hits>
|
|
5
|
+
<template #item="{ item }">
|
|
6
|
+
<slot name="hit" :item="item">
|
|
7
|
+
<div class="p-2 border rounded">
|
|
8
|
+
<ais-highlight attribute="title" :hit="item" />
|
|
9
|
+
</div>
|
|
10
|
+
</slot>
|
|
11
|
+
</template>
|
|
12
|
+
</ais-hits>
|
|
13
|
+
</ais-instant-search>
|
|
14
|
+
</template>
|
|
15
|
+
|
|
16
|
+
<script setup lang="ts">
|
|
17
|
+
const client = inject('mSearchClient')
|
|
18
|
+
const index = inject('mSearchIndex')
|
|
19
|
+
</script>
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { defineNuxtPlugin } from '#app'
|
|
2
|
+
import { getSearchClient } from './client'
|
|
3
|
+
|
|
4
|
+
export default defineNuxtPlugin((nuxtApp) => {
|
|
5
|
+
const client = getSearchClient()
|
|
6
|
+
const indexName = process.env.NUXT_PUBLIC_SEARCH_INDEX || 'default'
|
|
7
|
+
|
|
8
|
+
nuxtApp.provide('mSearchClient', client)
|
|
9
|
+
nuxtApp.provide('mSearchIndex', indexName)
|
|
10
|
+
})
|
package/tsconfig.json
CHANGED
|
@@ -1,13 +1,16 @@
|
|
|
1
1
|
{
|
|
2
2
|
"compilerOptions": {
|
|
3
|
-
"
|
|
3
|
+
"declaration": true,
|
|
4
|
+
"emitDeclarationOnly": false,
|
|
5
|
+
"outDir": "dist",
|
|
6
|
+
"moduleResolution": "bundler",
|
|
4
7
|
"module": "ESNext",
|
|
5
|
-
"
|
|
6
|
-
"
|
|
7
|
-
"
|
|
8
|
-
"
|
|
9
|
-
"
|
|
10
|
-
"resolveJsonModule": true
|
|
8
|
+
"target": "ESNext",
|
|
9
|
+
"strict": true,
|
|
10
|
+
"jsx": "react-jsx",
|
|
11
|
+
"skipLibCheck": true,
|
|
12
|
+
"noEmitOnError": false
|
|
11
13
|
},
|
|
12
|
-
"include": ["
|
|
14
|
+
"include": ["runtime/**/*", "src/**/*", "types/**/*"],
|
|
15
|
+
"exclude": ["node_modules", "dist"]
|
|
13
16
|
}
|
package/type.d.ts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,18 @@
|
|
|
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';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
package/types/ui/form.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
export type * from './contact';
|
|
2
|
+
export type * from './conversation';
|
|
3
|
+
export type * from './index';
|
|
4
|
+
export type * from './organization';
|
|
5
|
+
export type * from './os-activity';
|
|
6
|
+
export type * from './os-deal';
|
|
7
|
+
export type * from './os-expense';
|
|
8
|
+
export type * from './os-invoice';
|
|
9
|
+
export type * from './os-item';
|
|
10
|
+
export type * from './os-payment';
|
|
11
|
+
export type * from './os-project';
|
|
12
|
+
export type * from './os-proposal';
|
|
13
|
+
export type * from './os-settings';
|
|
14
|
+
export type * from './os-subscription';
|
|
15
|
+
export type * from './os-task';
|
|
16
|
+
export type * from './os-tax-rate';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
// types/pageComponentMap.ts
|
|
2
|
+
// Typed mapping for page name/slug -> async component loader
|
|
3
|
+
// Simplified pageComponentMap: dynamic page-to-component mapping is optional.
|
|
4
|
+
// Keeping an empty map avoids build-time resolution of many optional components
|
|
5
|
+
// that may not be present in all installations.
|
|
6
|
+
export const pageComponentMap = {};
|
|
7
|
+
export default pageComponentMap;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
package/types/ui.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
package/tailwind.conifg.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export const content = ['components/**/*.{vue,js}', 'pages/**/*.vue'];
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|