@omnitend/dashboard-for-laravel 0.4.7
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/LICENSE +21 -0
- package/README.md +397 -0
- package/dist/components/base/DAccordion.vue.d.ts +12 -0
- package/dist/components/base/DAccordionItem.vue.d.ts +12 -0
- package/dist/components/base/DAlert.vue.d.ts +12 -0
- package/dist/components/base/DAvatar.vue.d.ts +12 -0
- package/dist/components/base/DBadge.vue.d.ts +12 -0
- package/dist/components/base/DBreadcrumb.vue.d.ts +12 -0
- package/dist/components/base/DButton.vue.d.ts +29 -0
- package/dist/components/base/DButtonGroup.vue.d.ts +12 -0
- package/dist/components/base/DButtonToolbar.vue.d.ts +12 -0
- package/dist/components/base/DCard.vue.d.ts +12 -0
- package/dist/components/base/DCarousel.vue.d.ts +12 -0
- package/dist/components/base/DCarouselSlide.vue.d.ts +12 -0
- package/dist/components/base/DCol.vue.d.ts +12 -0
- package/dist/components/base/DCollapse.vue.d.ts +12 -0
- package/dist/components/base/DContainer.vue.d.ts +12 -0
- package/dist/components/base/DDropdown.vue.d.ts +12 -0
- package/dist/components/base/DDropdownDivider.vue.d.ts +2 -0
- package/dist/components/base/DDropdownItem.vue.d.ts +12 -0
- package/dist/components/base/DForm.vue.d.ts +12 -0
- package/dist/components/base/DFormCheckbox.vue.d.ts +12 -0
- package/dist/components/base/DFormGroup.vue.d.ts +12 -0
- package/dist/components/base/DFormInput.vue.d.ts +2 -0
- package/dist/components/base/DFormInvalidFeedback.vue.d.ts +12 -0
- package/dist/components/base/DFormRadio.vue.d.ts +12 -0
- package/dist/components/base/DFormSelect.vue.d.ts +12 -0
- package/dist/components/base/DFormSpinbutton.vue.d.ts +12 -0
- package/dist/components/base/DFormTags.vue.d.ts +12 -0
- package/dist/components/base/DFormText.vue.d.ts +12 -0
- package/dist/components/base/DFormTextarea.vue.d.ts +2 -0
- package/dist/components/base/DImage.vue.d.ts +12 -0
- package/dist/components/base/DInputGroup.vue.d.ts +12 -0
- package/dist/components/base/DLink.vue.d.ts +12 -0
- package/dist/components/base/DListGroup.vue.d.ts +12 -0
- package/dist/components/base/DListGroupItem.vue.d.ts +12 -0
- package/dist/components/base/DModal.vue.d.ts +12 -0
- package/dist/components/base/DNav.vue.d.ts +12 -0
- package/dist/components/base/DNavItem.vue.d.ts +12 -0
- package/dist/components/base/DNavbar.vue.d.ts +12 -0
- package/dist/components/base/DNavbarBrand.vue.d.ts +12 -0
- package/dist/components/base/DNavbarNav.vue.d.ts +12 -0
- package/dist/components/base/DNavbarToggle.vue.d.ts +12 -0
- package/dist/components/base/DOffcanvas.vue.d.ts +12 -0
- package/dist/components/base/DOverlay.vue.d.ts +12 -0
- package/dist/components/base/DPagination.vue.d.ts +2 -0
- package/dist/components/base/DPlaceholder.vue.d.ts +12 -0
- package/dist/components/base/DPopover.vue.d.ts +12 -0
- package/dist/components/base/DProgress.vue.d.ts +12 -0
- package/dist/components/base/DRow.vue.d.ts +12 -0
- package/dist/components/base/DSpinner.vue.d.ts +2 -0
- package/dist/components/base/DTab.vue.d.ts +12 -0
- package/dist/components/base/DTable.vue.d.ts +26 -0
- package/dist/components/base/DTabs.vue.d.ts +12 -0
- package/dist/components/base/DToast.vue.d.ts +12 -0
- package/dist/components/base/DToaster.vue.d.ts +12 -0
- package/dist/components/base/DTooltip.vue.d.ts +12 -0
- package/dist/components/extended/DXBasicForm.vue.d.ts +39 -0
- package/dist/components/extended/DXDashboard.vue.d.ts +52 -0
- package/dist/components/extended/DXDashboardNavbar.vue.d.ts +53 -0
- package/dist/components/extended/DXDashboardSidebar.vue.d.ts +37 -0
- package/dist/components/extended/DXForm.vue.d.ts +31 -0
- package/dist/components/extended/DXTable.vue.d.ts +190 -0
- package/dist/composables/defineForm.d.ts +35 -0
- package/dist/composables/useForm.d.ts +46 -0
- package/dist/composables/useToast.d.ts +1 -0
- package/dist/dashboard-for-laravel.js +17748 -0
- package/dist/dashboard-for-laravel.js.map +1 -0
- package/dist/dashboard-for-laravel.umd.cjs +11 -0
- package/dist/dashboard-for-laravel.umd.cjs.map +1 -0
- package/dist/index.d.ts +73 -0
- package/dist/style.css +5 -0
- package/dist/types/index.d.ts +37 -0
- package/dist/types/navigation.d.ts +17 -0
- package/dist/utils/api.d.ts +30 -0
- package/docs/public/api-reference.json +1932 -0
- package/docs/public/docs-map.md +85 -0
- package/docs/public/llms.txt +110 -0
- package/package.json +116 -0
- package/resources/css/theme.scss +219 -0
- package/resources/js/components/base/DAccordion.vue +21 -0
- package/resources/js/components/base/DAccordionItem.vue +14 -0
- package/resources/js/components/base/DAlert.vue +14 -0
- package/resources/js/components/base/DAvatar.vue +21 -0
- package/resources/js/components/base/DBadge.vue +14 -0
- package/resources/js/components/base/DBreadcrumb.vue +21 -0
- package/resources/js/components/base/DButton.vue +58 -0
- package/resources/js/components/base/DButtonGroup.vue +21 -0
- package/resources/js/components/base/DButtonToolbar.vue +21 -0
- package/resources/js/components/base/DCard.vue +35 -0
- package/resources/js/components/base/DCarousel.vue +21 -0
- package/resources/js/components/base/DCarouselSlide.vue +14 -0
- package/resources/js/components/base/DCol.vue +14 -0
- package/resources/js/components/base/DCollapse.vue +34 -0
- package/resources/js/components/base/DContainer.vue +14 -0
- package/resources/js/components/base/DDropdown.vue +16 -0
- package/resources/js/components/base/DDropdownDivider.vue +7 -0
- package/resources/js/components/base/DDropdownItem.vue +14 -0
- package/resources/js/components/base/DForm.vue +21 -0
- package/resources/js/components/base/DFormCheckbox.vue +14 -0
- package/resources/js/components/base/DFormGroup.vue +11 -0
- package/resources/js/components/base/DFormInput.vue +7 -0
- package/resources/js/components/base/DFormInvalidFeedback.vue +16 -0
- package/resources/js/components/base/DFormRadio.vue +21 -0
- package/resources/js/components/base/DFormSelect.vue +14 -0
- package/resources/js/components/base/DFormSpinbutton.vue +21 -0
- package/resources/js/components/base/DFormTags.vue +21 -0
- package/resources/js/components/base/DFormText.vue +16 -0
- package/resources/js/components/base/DFormTextarea.vue +7 -0
- package/resources/js/components/base/DImage.vue +21 -0
- package/resources/js/components/base/DInputGroup.vue +21 -0
- package/resources/js/components/base/DLink.vue +21 -0
- package/resources/js/components/base/DListGroup.vue +21 -0
- package/resources/js/components/base/DListGroupItem.vue +14 -0
- package/resources/js/components/base/DModal.vue +11 -0
- package/resources/js/components/base/DNav.vue +14 -0
- package/resources/js/components/base/DNavItem.vue +14 -0
- package/resources/js/components/base/DNavbar.vue +21 -0
- package/resources/js/components/base/DNavbarBrand.vue +14 -0
- package/resources/js/components/base/DNavbarNav.vue +14 -0
- package/resources/js/components/base/DNavbarToggle.vue +14 -0
- package/resources/js/components/base/DOffcanvas.vue +11 -0
- package/resources/js/components/base/DOverlay.vue +21 -0
- package/resources/js/components/base/DPagination.vue +7 -0
- package/resources/js/components/base/DPlaceholder.vue +21 -0
- package/resources/js/components/base/DPopover.vue +21 -0
- package/resources/js/components/base/DProgress.vue +21 -0
- package/resources/js/components/base/DRow.vue +14 -0
- package/resources/js/components/base/DSpinner.vue +7 -0
- package/resources/js/components/base/DTab.vue +14 -0
- package/resources/js/components/base/DTable.vue +62 -0
- package/resources/js/components/base/DTabs.vue +21 -0
- package/resources/js/components/base/DToast.vue +16 -0
- package/resources/js/components/base/DToaster.vue +16 -0
- package/resources/js/components/base/DTooltip.vue +21 -0
- package/resources/js/components/extended/DXBasicForm.vue +177 -0
- package/resources/js/components/extended/DXDashboard.vue +208 -0
- package/resources/js/components/extended/DXDashboardNavbar.vue +112 -0
- package/resources/js/components/extended/DXDashboardSidebar.vue +233 -0
- package/resources/js/components/extended/DXForm.vue +44 -0
- package/resources/js/components/extended/DXTable.vue +1345 -0
- package/resources/js/composables/defineForm.ts +78 -0
- package/resources/js/composables/useForm.ts +272 -0
- package/resources/js/composables/useToast.ts +1 -0
- package/resources/js/index.ts +118 -0
- package/resources/js/types/index.ts +61 -0
- package/resources/js/types/navigation.ts +19 -0
- package/resources/js/utils/api.ts +182 -0
- package/scripts/mcp-server.mjs +359 -0
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
<script setup lang="ts">
|
|
2
|
+
/**
|
|
3
|
+
* DButton - A type-safe wrapper around Bootstrap Vue Next's BButton component
|
|
4
|
+
*
|
|
5
|
+
* @component
|
|
6
|
+
* @example
|
|
7
|
+
* ```vue
|
|
8
|
+
* <DButton variant="primary" size="lg">Click Me</DButton>
|
|
9
|
+
* <DButton variant="link-danger" @click="handleClick">Delete</DButton>
|
|
10
|
+
* ```
|
|
11
|
+
*/
|
|
12
|
+
import { BButton } from "bootstrap-vue-next";
|
|
13
|
+
import type { ButtonVariant, Size } from "bootstrap-vue-next";
|
|
14
|
+
import { useSlots } from "vue";
|
|
15
|
+
|
|
16
|
+
const slots = useSlots();
|
|
17
|
+
|
|
18
|
+
type LinkVariant =
|
|
19
|
+
| "link-primary"
|
|
20
|
+
| "link-secondary"
|
|
21
|
+
| "link-success"
|
|
22
|
+
| "link-danger"
|
|
23
|
+
| "link-warning"
|
|
24
|
+
| "link-info"
|
|
25
|
+
| "link-light"
|
|
26
|
+
| "link-dark";
|
|
27
|
+
|
|
28
|
+
interface Props {
|
|
29
|
+
/**
|
|
30
|
+
* The visual style variant of the button
|
|
31
|
+
* @default 'primary'
|
|
32
|
+
*/
|
|
33
|
+
variant?: ButtonVariant | LinkVariant | null;
|
|
34
|
+
|
|
35
|
+
/**
|
|
36
|
+
* The size of the button
|
|
37
|
+
* @default 'md'
|
|
38
|
+
*/
|
|
39
|
+
size?: Size;
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
withDefaults(defineProps<Props>(), {
|
|
43
|
+
variant: 'primary',
|
|
44
|
+
size: 'md',
|
|
45
|
+
});
|
|
46
|
+
</script>
|
|
47
|
+
|
|
48
|
+
<template>
|
|
49
|
+
<BButton
|
|
50
|
+
:variant="variant"
|
|
51
|
+
:size="size"
|
|
52
|
+
v-bind="$attrs"
|
|
53
|
+
>
|
|
54
|
+
<template v-for="(_, name) in slots" :key="name" #[name]>
|
|
55
|
+
<slot :name="name" />
|
|
56
|
+
</template>
|
|
57
|
+
</BButton>
|
|
58
|
+
</template>
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @component
|
|
3
|
+
* Type-safe wrapper around Bootstrap Vue Next BButtonGroup component.
|
|
4
|
+
* Group a series of buttons on a single line or stack them vertically.
|
|
5
|
+
*/
|
|
6
|
+
<script setup lang="ts">
|
|
7
|
+
import { BButtonGroup } from "bootstrap-vue-next";
|
|
8
|
+
|
|
9
|
+
defineOptions({
|
|
10
|
+
inheritAttrs: false,
|
|
11
|
+
});
|
|
12
|
+
</script>
|
|
13
|
+
|
|
14
|
+
<template>
|
|
15
|
+
<BButtonGroup v-bind="$attrs">
|
|
16
|
+
<!-- Dynamically pass through all named slots with their props -->
|
|
17
|
+
<template v-for="(_, name) in $slots" :key="name" #[name]="slotProps">
|
|
18
|
+
<slot :name="name" v-bind="slotProps" />
|
|
19
|
+
</template>
|
|
20
|
+
</BButtonGroup>
|
|
21
|
+
</template>
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @component
|
|
3
|
+
* Type-safe wrapper around Bootstrap Vue Next BButtonToolbar component.
|
|
4
|
+
* Group button groups and input groups together on a single line.
|
|
5
|
+
*/
|
|
6
|
+
<script setup lang="ts">
|
|
7
|
+
import { BButtonToolbar } from "bootstrap-vue-next";
|
|
8
|
+
|
|
9
|
+
defineOptions({
|
|
10
|
+
inheritAttrs: false,
|
|
11
|
+
});
|
|
12
|
+
</script>
|
|
13
|
+
|
|
14
|
+
<template>
|
|
15
|
+
<BButtonToolbar v-bind="$attrs">
|
|
16
|
+
<!-- Dynamically pass through all named slots with their props -->
|
|
17
|
+
<template v-for="(_, name) in $slots" :key="name" #[name]="slotProps">
|
|
18
|
+
<slot :name="name" v-bind="slotProps" />
|
|
19
|
+
</template>
|
|
20
|
+
</BButtonToolbar>
|
|
21
|
+
</template>
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
<script setup lang="ts">
|
|
2
|
+
/**
|
|
3
|
+
* DCard - A type-safe wrapper around Bootstrap Vue Next's BCard component
|
|
4
|
+
*
|
|
5
|
+
* Provides a flexible content container with optional header and footer sections.
|
|
6
|
+
*
|
|
7
|
+
* @component
|
|
8
|
+
* @example
|
|
9
|
+
* ```vue
|
|
10
|
+
* <DCard>
|
|
11
|
+
* <template #header>
|
|
12
|
+
* <h3>Card Title</h3>
|
|
13
|
+
* </template>
|
|
14
|
+
*
|
|
15
|
+
* <p>Card content goes here</p>
|
|
16
|
+
*
|
|
17
|
+
* <template #footer>
|
|
18
|
+
* <small>Last updated 5 mins ago</small>
|
|
19
|
+
* </template>
|
|
20
|
+
* </DCard>
|
|
21
|
+
* ```
|
|
22
|
+
*/
|
|
23
|
+
import { BCard } from "bootstrap-vue-next";
|
|
24
|
+
import { useSlots } from "vue";
|
|
25
|
+
|
|
26
|
+
const slots = useSlots();
|
|
27
|
+
</script>
|
|
28
|
+
|
|
29
|
+
<template>
|
|
30
|
+
<BCard v-bind="$attrs">
|
|
31
|
+
<template v-for="(_, name) in slots" :key="name" #[name]>
|
|
32
|
+
<slot :name="name" />
|
|
33
|
+
</template>
|
|
34
|
+
</BCard>
|
|
35
|
+
</template>
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @component
|
|
3
|
+
* Type-safe wrapper around Bootstrap Vue Next BCarousel component.
|
|
4
|
+
* Slideshow component for cycling through images or content.
|
|
5
|
+
*/
|
|
6
|
+
<script setup lang="ts">
|
|
7
|
+
import { BCarousel } from "bootstrap-vue-next";
|
|
8
|
+
|
|
9
|
+
defineOptions({
|
|
10
|
+
inheritAttrs: false,
|
|
11
|
+
});
|
|
12
|
+
</script>
|
|
13
|
+
|
|
14
|
+
<template>
|
|
15
|
+
<BCarousel v-bind="$attrs">
|
|
16
|
+
<!-- Dynamically pass through all named slots with their props -->
|
|
17
|
+
<template v-for="(_, name) in $slots" :key="name" #[name]="slotProps">
|
|
18
|
+
<slot :name="name" v-bind="slotProps" />
|
|
19
|
+
</template>
|
|
20
|
+
</BCarousel>
|
|
21
|
+
</template>
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
<script setup lang="ts">
|
|
2
|
+
import { BCarouselSlide } from "bootstrap-vue-next";
|
|
3
|
+
import { useSlots } from "vue";
|
|
4
|
+
|
|
5
|
+
const slots = useSlots();
|
|
6
|
+
</script>
|
|
7
|
+
|
|
8
|
+
<template>
|
|
9
|
+
<BCarouselSlide v-bind="$attrs">
|
|
10
|
+
<template v-for="(_, name) in slots" :key="name" #[name]="slotProps">
|
|
11
|
+
<slot :name="name" v-bind="slotProps" />
|
|
12
|
+
</template>
|
|
13
|
+
</BCarouselSlide>
|
|
14
|
+
</template>
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
<script setup lang="ts">
|
|
2
|
+
import { BCol } from "bootstrap-vue-next";
|
|
3
|
+
import { useSlots } from "vue";
|
|
4
|
+
|
|
5
|
+
const slots = useSlots();
|
|
6
|
+
</script>
|
|
7
|
+
|
|
8
|
+
<template>
|
|
9
|
+
<BCol v-bind="$attrs">
|
|
10
|
+
<template v-for="(_, name) in slots" :key="name" #[name]>
|
|
11
|
+
<slot :name="name" />
|
|
12
|
+
</template>
|
|
13
|
+
</BCol>
|
|
14
|
+
</template>
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
<script setup lang="ts">
|
|
2
|
+
/**
|
|
3
|
+
* DCollapse - A type-safe wrapper around Bootstrap Vue Next's BCollapse component
|
|
4
|
+
*
|
|
5
|
+
* Toggles the visibility of content with smooth collapse/expand animations.
|
|
6
|
+
*
|
|
7
|
+
* @component
|
|
8
|
+
* @example
|
|
9
|
+
* import { ref } from 'vue'
|
|
10
|
+
* import { DButton, DCollapse } from '@omnitend/dashboard-for-laravel'
|
|
11
|
+
*
|
|
12
|
+
* const visible = ref(false)
|
|
13
|
+
*
|
|
14
|
+
* // In template:
|
|
15
|
+
* // <DButton @click="visible = !visible">Toggle Collapse</DButton>
|
|
16
|
+
* // <DCollapse v-model="visible">
|
|
17
|
+
* // <div class="card card-body">Your collapsible content here</div>
|
|
18
|
+
* // </DCollapse>
|
|
19
|
+
*/
|
|
20
|
+
import { BCollapse } from "bootstrap-vue-next";
|
|
21
|
+
|
|
22
|
+
defineOptions({
|
|
23
|
+
inheritAttrs: false,
|
|
24
|
+
});
|
|
25
|
+
</script>
|
|
26
|
+
|
|
27
|
+
<template>
|
|
28
|
+
<BCollapse v-bind="$attrs">
|
|
29
|
+
<!-- Dynamically pass through all named slots with their props -->
|
|
30
|
+
<template v-for="(_, name) in $slots" :key="name" #[name]="slotProps">
|
|
31
|
+
<slot :name="name" v-bind="slotProps" />
|
|
32
|
+
</template>
|
|
33
|
+
</BCollapse>
|
|
34
|
+
</template>
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
<script setup lang="ts">
|
|
2
|
+
import { BContainer } from "bootstrap-vue-next";
|
|
3
|
+
import { useSlots } from "vue";
|
|
4
|
+
|
|
5
|
+
const slots = useSlots();
|
|
6
|
+
</script>
|
|
7
|
+
|
|
8
|
+
<template>
|
|
9
|
+
<BContainer v-bind="$attrs">
|
|
10
|
+
<template v-for="(_, name) in slots" :key="name" #[name]>
|
|
11
|
+
<slot :name="name" />
|
|
12
|
+
</template>
|
|
13
|
+
</BContainer>
|
|
14
|
+
</template>
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
<script setup lang="ts">
|
|
2
|
+
import { BDropdown } from "bootstrap-vue-next";
|
|
3
|
+
|
|
4
|
+
defineOptions({
|
|
5
|
+
inheritAttrs: false,
|
|
6
|
+
});
|
|
7
|
+
</script>
|
|
8
|
+
|
|
9
|
+
<template>
|
|
10
|
+
<BDropdown v-bind="$attrs">
|
|
11
|
+
<!-- Dynamically pass through all named slots with their props -->
|
|
12
|
+
<template v-for="(_, name) in $slots" :key="name" #[name]="slotProps">
|
|
13
|
+
<slot :name="name" v-bind="slotProps" />
|
|
14
|
+
</template>
|
|
15
|
+
</BDropdown>
|
|
16
|
+
</template>
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
<script setup lang="ts">
|
|
2
|
+
import { BDropdownItem } from "bootstrap-vue-next";
|
|
3
|
+
import { useSlots } from "vue";
|
|
4
|
+
|
|
5
|
+
const slots = useSlots();
|
|
6
|
+
</script>
|
|
7
|
+
|
|
8
|
+
<template>
|
|
9
|
+
<BDropdownItem v-bind="$attrs">
|
|
10
|
+
<template v-for="(_, name) in slots" :key="name" #[name]>
|
|
11
|
+
<slot :name="name" />
|
|
12
|
+
</template>
|
|
13
|
+
</BDropdownItem>
|
|
14
|
+
</template>
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @component
|
|
3
|
+
* Type-safe wrapper around Bootstrap Vue Next BForm component.
|
|
4
|
+
* Form component with support for inline styles and validation states.
|
|
5
|
+
*/
|
|
6
|
+
<script setup lang="ts">
|
|
7
|
+
import { BForm } from "bootstrap-vue-next";
|
|
8
|
+
|
|
9
|
+
defineOptions({
|
|
10
|
+
inheritAttrs: false,
|
|
11
|
+
});
|
|
12
|
+
</script>
|
|
13
|
+
|
|
14
|
+
<template>
|
|
15
|
+
<BForm v-bind="$attrs">
|
|
16
|
+
<!-- Dynamically pass through all named slots with their props -->
|
|
17
|
+
<template v-for="(_, name) in $slots" :key="name" #[name]="slotProps">
|
|
18
|
+
<slot :name="name" v-bind="slotProps" />
|
|
19
|
+
</template>
|
|
20
|
+
</BForm>
|
|
21
|
+
</template>
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
<script setup lang="ts">
|
|
2
|
+
import { BFormCheckbox } from "bootstrap-vue-next";
|
|
3
|
+
import { useSlots } from "vue";
|
|
4
|
+
|
|
5
|
+
const slots = useSlots();
|
|
6
|
+
</script>
|
|
7
|
+
|
|
8
|
+
<template>
|
|
9
|
+
<BFormCheckbox v-bind="$attrs">
|
|
10
|
+
<template v-for="(_, name) in slots" :key="name" #[name]>
|
|
11
|
+
<slot :name="name" />
|
|
12
|
+
</template>
|
|
13
|
+
</BFormCheckbox>
|
|
14
|
+
</template>
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<BFormGroup v-bind="$attrs">
|
|
3
|
+
<template v-for="(_, name) in $slots" #[name]="slotProps">
|
|
4
|
+
<slot :name="name" v-bind="slotProps" />
|
|
5
|
+
</template>
|
|
6
|
+
</BFormGroup>
|
|
7
|
+
</template>
|
|
8
|
+
|
|
9
|
+
<script setup lang="ts">
|
|
10
|
+
import { BFormGroup } from "bootstrap-vue-next";
|
|
11
|
+
</script>
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
<script setup lang="ts">
|
|
2
|
+
import { BFormInvalidFeedback } from "bootstrap-vue-next";
|
|
3
|
+
|
|
4
|
+
defineOptions({
|
|
5
|
+
inheritAttrs: false,
|
|
6
|
+
});
|
|
7
|
+
</script>
|
|
8
|
+
|
|
9
|
+
<template>
|
|
10
|
+
<BFormInvalidFeedback v-bind="$attrs">
|
|
11
|
+
<!-- Dynamically pass through all named slots -->
|
|
12
|
+
<template v-for="(_, name) in $slots" :key="name" #[name]="slotProps">
|
|
13
|
+
<slot :name="name" v-bind="slotProps" />
|
|
14
|
+
</template>
|
|
15
|
+
</BFormInvalidFeedback>
|
|
16
|
+
</template>
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @component
|
|
3
|
+
* Type-safe wrapper around Bootstrap Vue Next BFormRadio component.
|
|
4
|
+
* Custom radio button input with accessibility markup.
|
|
5
|
+
*/
|
|
6
|
+
<script setup lang="ts">
|
|
7
|
+
import { BFormRadio } from "bootstrap-vue-next";
|
|
8
|
+
|
|
9
|
+
defineOptions({
|
|
10
|
+
inheritAttrs: false,
|
|
11
|
+
});
|
|
12
|
+
</script>
|
|
13
|
+
|
|
14
|
+
<template>
|
|
15
|
+
<BFormRadio v-bind="$attrs">
|
|
16
|
+
<!-- Dynamically pass through all named slots with their props -->
|
|
17
|
+
<template v-for="(_, name) in $slots" :key="name" #[name]="slotProps">
|
|
18
|
+
<slot :name="name" v-bind="slotProps" />
|
|
19
|
+
</template>
|
|
20
|
+
</BFormRadio>
|
|
21
|
+
</template>
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
<script setup lang="ts">
|
|
2
|
+
import { BFormSelect } from "bootstrap-vue-next";
|
|
3
|
+
import { useSlots } from "vue";
|
|
4
|
+
|
|
5
|
+
const slots = useSlots();
|
|
6
|
+
</script>
|
|
7
|
+
|
|
8
|
+
<template>
|
|
9
|
+
<BFormSelect v-bind="$attrs">
|
|
10
|
+
<template v-for="(_, name) in slots" :key="name" #[name]>
|
|
11
|
+
<slot :name="name" />
|
|
12
|
+
</template>
|
|
13
|
+
</BFormSelect>
|
|
14
|
+
</template>
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @component
|
|
3
|
+
* Type-safe wrapper around Bootstrap Vue Next BFormSpinbutton component.
|
|
4
|
+
* Number input with increment/decrement buttons.
|
|
5
|
+
*/
|
|
6
|
+
<script setup lang="ts">
|
|
7
|
+
import { BFormSpinbutton } from "bootstrap-vue-next";
|
|
8
|
+
|
|
9
|
+
defineOptions({
|
|
10
|
+
inheritAttrs: false,
|
|
11
|
+
});
|
|
12
|
+
</script>
|
|
13
|
+
|
|
14
|
+
<template>
|
|
15
|
+
<BFormSpinbutton v-bind="$attrs">
|
|
16
|
+
<!-- Dynamically pass through all named slots with their props -->
|
|
17
|
+
<template v-for="(_, name) in $slots" :key="name" #[name]="slotProps">
|
|
18
|
+
<slot :name="name" v-bind="slotProps" />
|
|
19
|
+
</template>
|
|
20
|
+
</BFormSpinbutton>
|
|
21
|
+
</template>
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @component
|
|
3
|
+
* Type-safe wrapper around Bootstrap Vue Next BFormTags component.
|
|
4
|
+
* Lightweight custom tagged input with duplicate detection and validation.
|
|
5
|
+
*/
|
|
6
|
+
<script setup lang="ts">
|
|
7
|
+
import { BFormTags } from "bootstrap-vue-next";
|
|
8
|
+
|
|
9
|
+
defineOptions({
|
|
10
|
+
inheritAttrs: false,
|
|
11
|
+
});
|
|
12
|
+
</script>
|
|
13
|
+
|
|
14
|
+
<template>
|
|
15
|
+
<BFormTags v-bind="$attrs">
|
|
16
|
+
<!-- Dynamically pass through all named slots with their props -->
|
|
17
|
+
<template v-for="(_, name) in $slots" :key="name" #[name]="slotProps">
|
|
18
|
+
<slot :name="name" v-bind="slotProps" />
|
|
19
|
+
</template>
|
|
20
|
+
</BFormTags>
|
|
21
|
+
</template>
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
<script setup lang="ts">
|
|
2
|
+
import { BFormText } from "bootstrap-vue-next";
|
|
3
|
+
|
|
4
|
+
defineOptions({
|
|
5
|
+
inheritAttrs: false,
|
|
6
|
+
});
|
|
7
|
+
</script>
|
|
8
|
+
|
|
9
|
+
<template>
|
|
10
|
+
<BFormText v-bind="$attrs">
|
|
11
|
+
<!-- Dynamically pass through all named slots -->
|
|
12
|
+
<template v-for="(_, name) in $slots" :key="name" #[name]="slotProps">
|
|
13
|
+
<slot :name="name" v-bind="slotProps" />
|
|
14
|
+
</template>
|
|
15
|
+
</BFormText>
|
|
16
|
+
</template>
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @component
|
|
3
|
+
* Type-safe wrapper around Bootstrap Vue Next BImg component.
|
|
4
|
+
* Responsive image component with optional lazy loading and fluid sizing.
|
|
5
|
+
*/
|
|
6
|
+
<script setup lang="ts">
|
|
7
|
+
import { BImg } from "bootstrap-vue-next";
|
|
8
|
+
|
|
9
|
+
defineOptions({
|
|
10
|
+
inheritAttrs: false,
|
|
11
|
+
});
|
|
12
|
+
</script>
|
|
13
|
+
|
|
14
|
+
<template>
|
|
15
|
+
<BImg v-bind="$attrs">
|
|
16
|
+
<!-- Dynamically pass through all named slots with their props -->
|
|
17
|
+
<template v-for="(_, name) in $slots" :key="name" #[name]="slotProps">
|
|
18
|
+
<slot :name="name" v-bind="slotProps" />
|
|
19
|
+
</template>
|
|
20
|
+
</BImg>
|
|
21
|
+
</template>
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @component
|
|
3
|
+
* Type-safe wrapper around Bootstrap Vue Next BInputGroup component.
|
|
4
|
+
* Easily extend form controls by adding text, buttons, or button groups.
|
|
5
|
+
*/
|
|
6
|
+
<script setup lang="ts">
|
|
7
|
+
import { BInputGroup } from "bootstrap-vue-next";
|
|
8
|
+
|
|
9
|
+
defineOptions({
|
|
10
|
+
inheritAttrs: false,
|
|
11
|
+
});
|
|
12
|
+
</script>
|
|
13
|
+
|
|
14
|
+
<template>
|
|
15
|
+
<BInputGroup v-bind="$attrs">
|
|
16
|
+
<!-- Dynamically pass through all named slots with their props -->
|
|
17
|
+
<template v-for="(_, name) in $slots" :key="name" #[name]="slotProps">
|
|
18
|
+
<slot :name="name" v-bind="slotProps" />
|
|
19
|
+
</template>
|
|
20
|
+
</BInputGroup>
|
|
21
|
+
</template>
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @component
|
|
3
|
+
* Type-safe wrapper around Bootstrap Vue Next BLink component.
|
|
4
|
+
* Enhanced link component with router support and accessibility features.
|
|
5
|
+
*/
|
|
6
|
+
<script setup lang="ts">
|
|
7
|
+
import { BLink } from "bootstrap-vue-next";
|
|
8
|
+
|
|
9
|
+
defineOptions({
|
|
10
|
+
inheritAttrs: false,
|
|
11
|
+
});
|
|
12
|
+
</script>
|
|
13
|
+
|
|
14
|
+
<template>
|
|
15
|
+
<BLink v-bind="$attrs">
|
|
16
|
+
<!-- Dynamically pass through all named slots with their props -->
|
|
17
|
+
<template v-for="(_, name) in $slots" :key="name" #[name]="slotProps">
|
|
18
|
+
<slot :name="name" v-bind="slotProps" />
|
|
19
|
+
</template>
|
|
20
|
+
</BLink>
|
|
21
|
+
</template>
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @component
|
|
3
|
+
* Type-safe wrapper around Bootstrap Vue Next BListGroup component.
|
|
4
|
+
* Flexible component for displaying a series of content items.
|
|
5
|
+
*/
|
|
6
|
+
<script setup lang="ts">
|
|
7
|
+
import { BListGroup } from "bootstrap-vue-next";
|
|
8
|
+
|
|
9
|
+
defineOptions({
|
|
10
|
+
inheritAttrs: false,
|
|
11
|
+
});
|
|
12
|
+
</script>
|
|
13
|
+
|
|
14
|
+
<template>
|
|
15
|
+
<BListGroup v-bind="$attrs">
|
|
16
|
+
<!-- Dynamically pass through all named slots with their props -->
|
|
17
|
+
<template v-for="(_, name) in $slots" :key="name" #[name]="slotProps">
|
|
18
|
+
<slot :name="name" v-bind="slotProps" />
|
|
19
|
+
</template>
|
|
20
|
+
</BListGroup>
|
|
21
|
+
</template>
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
<script setup lang="ts">
|
|
2
|
+
import { BListGroupItem } from "bootstrap-vue-next";
|
|
3
|
+
import { useSlots } from "vue";
|
|
4
|
+
|
|
5
|
+
const slots = useSlots();
|
|
6
|
+
</script>
|
|
7
|
+
|
|
8
|
+
<template>
|
|
9
|
+
<BListGroupItem v-bind="$attrs">
|
|
10
|
+
<template v-for="(_, name) in slots" :key="name" #[name]="slotProps">
|
|
11
|
+
<slot :name="name" v-bind="slotProps" />
|
|
12
|
+
</template>
|
|
13
|
+
</BListGroupItem>
|
|
14
|
+
</template>
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<BModal v-bind="$attrs">
|
|
3
|
+
<template v-for="(_, name) in $slots" #[name]="slotProps">
|
|
4
|
+
<slot :name="name" v-bind="slotProps" />
|
|
5
|
+
</template>
|
|
6
|
+
</BModal>
|
|
7
|
+
</template>
|
|
8
|
+
|
|
9
|
+
<script setup lang="ts">
|
|
10
|
+
import { BModal } from "bootstrap-vue-next";
|
|
11
|
+
</script>
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
<script setup lang="ts">
|
|
2
|
+
import { BNav } from "bootstrap-vue-next";
|
|
3
|
+
import { useSlots } from "vue";
|
|
4
|
+
|
|
5
|
+
const slots = useSlots();
|
|
6
|
+
</script>
|
|
7
|
+
|
|
8
|
+
<template>
|
|
9
|
+
<BNav v-bind="$attrs">
|
|
10
|
+
<template v-for="(_, name) in slots" :key="name" #[name]>
|
|
11
|
+
<slot :name="name" />
|
|
12
|
+
</template>
|
|
13
|
+
</BNav>
|
|
14
|
+
</template>
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
<script setup lang="ts">
|
|
2
|
+
import { BNavItem } from "bootstrap-vue-next";
|
|
3
|
+
import { useSlots } from "vue";
|
|
4
|
+
|
|
5
|
+
const slots = useSlots();
|
|
6
|
+
</script>
|
|
7
|
+
|
|
8
|
+
<template>
|
|
9
|
+
<BNavItem v-bind="$attrs">
|
|
10
|
+
<template v-for="(_, name) in slots" :key="name" #[name]>
|
|
11
|
+
<slot :name="name" />
|
|
12
|
+
</template>
|
|
13
|
+
</BNavItem>
|
|
14
|
+
</template>
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @component
|
|
3
|
+
* Type-safe wrapper around Bootstrap Vue Next BNavbar component.
|
|
4
|
+
* Responsive navigation header with support for branding, navigation, and more.
|
|
5
|
+
*/
|
|
6
|
+
<script setup lang="ts">
|
|
7
|
+
import { BNavbar } from "bootstrap-vue-next";
|
|
8
|
+
|
|
9
|
+
defineOptions({
|
|
10
|
+
inheritAttrs: false,
|
|
11
|
+
});
|
|
12
|
+
</script>
|
|
13
|
+
|
|
14
|
+
<template>
|
|
15
|
+
<BNavbar v-bind="$attrs">
|
|
16
|
+
<!-- Dynamically pass through all named slots with their props -->
|
|
17
|
+
<template v-for="(_, name) in $slots" :key="name" #[name]="slotProps">
|
|
18
|
+
<slot :name="name" v-bind="slotProps" />
|
|
19
|
+
</template>
|
|
20
|
+
</BNavbar>
|
|
21
|
+
</template>
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
<script setup lang="ts">
|
|
2
|
+
import { BNavbarBrand } from "bootstrap-vue-next";
|
|
3
|
+
import { useSlots } from "vue";
|
|
4
|
+
|
|
5
|
+
const slots = useSlots();
|
|
6
|
+
</script>
|
|
7
|
+
|
|
8
|
+
<template>
|
|
9
|
+
<BNavbarBrand v-bind="$attrs">
|
|
10
|
+
<template v-for="(_, name) in slots" :key="name" #[name]="slotProps">
|
|
11
|
+
<slot :name="name" v-bind="slotProps" />
|
|
12
|
+
</template>
|
|
13
|
+
</BNavbarBrand>
|
|
14
|
+
</template>
|