@pyreweb/fabric 1.2.6
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/README.md +119 -0
- package/dist/fabric.cjs.js +18109 -0
- package/dist/fabric.css +2180 -0
- package/dist/fabric.esm.js +18062 -0
- package/dist/fabric.min.js +18112 -0
- package/dist/types/components/atoms/FAvatar/FAvatar.test.d.ts +1 -0
- package/dist/types/components/atoms/FBadge/FBadge.test.d.ts +1 -0
- package/dist/types/components/atoms/FButton/FButton.test.d.ts +1 -0
- package/dist/types/components/atoms/FCheckbox/FCheckbox.test.d.ts +1 -0
- package/dist/types/components/atoms/FDivider/FDivider.test.d.ts +1 -0
- package/dist/types/components/atoms/FIcon/FIcon.test.d.ts +1 -0
- package/dist/types/components/atoms/FInput/FInput.test.d.ts +1 -0
- package/dist/types/components/atoms/FLoader/FLoader.test.d.ts +1 -0
- package/dist/types/components/atoms/FRadio/FRadio.test.d.ts +1 -0
- package/dist/types/components/atoms/FTextarea/FTextarea.test.d.ts +1 -0
- package/dist/types/components/atoms/FToggle/FToggle.test.d.ts +1 -0
- package/dist/types/components/atoms/FTypography/FTypography.test.d.ts +1 -0
- package/dist/types/components/atoms/index.d.ts +13 -0
- package/dist/types/components/molecules/FAccordionItem/FAccordionItem.test.d.ts +1 -0
- package/dist/types/components/molecules/FAlert/FAlert.test.d.ts +1 -0
- package/dist/types/components/molecules/FBreadcrumb/FBreadcrumb.test.d.ts +1 -0
- package/dist/types/components/molecules/FButtonGroup/FButtonGroup.test.d.ts +1 -0
- package/dist/types/components/molecules/FCard/FCard.test.d.ts +1 -0
- package/dist/types/components/molecules/FDatePicker/FDatePicker.test.d.ts +1 -0
- package/dist/types/components/molecules/FEmptyState/FEmptyState.test.d.ts +1 -0
- package/dist/types/components/molecules/FFilePreview/FFilePreview.test.d.ts +1 -0
- package/dist/types/components/molecules/FFormField/FFormField.test.d.ts +1 -0
- package/dist/types/components/molecules/FListItem/FListItem.test.d.ts +1 -0
- package/dist/types/components/molecules/FPagination/FPagination.test.d.ts +1 -0
- package/dist/types/components/molecules/FSearchBar/FSearchBar.test.d.ts +1 -0
- package/dist/types/components/molecules/FSelect/FSelect.test.d.ts +1 -0
- package/dist/types/components/molecules/FStatCard/FStatCard.test.d.ts +1 -0
- package/dist/types/components/molecules/FTabs/FTabs.test.d.ts +1 -0
- package/dist/types/components/molecules/FToast/FToast.test.d.ts +1 -0
- package/dist/types/components/molecules/index.d.ts +18 -0
- package/dist/types/components/organisms/FActivityFeed/FActivityFeed.test.d.ts +1 -0
- package/dist/types/components/organisms/FDataTable/FDataTable.test.d.ts +1 -0
- package/dist/types/components/organisms/FDrawer/FDrawer.test.d.ts +1 -0
- package/dist/types/components/organisms/FFileUpload/FFileUpload.test.d.ts +1 -0
- package/dist/types/components/organisms/FFilterSidebar/FFilterSidebar.test.d.ts +1 -0
- package/dist/types/components/organisms/FForm/FForm.test.d.ts +1 -0
- package/dist/types/components/organisms/FModal/FModal.test.d.ts +1 -0
- package/dist/types/components/organisms/FNavigationSidebar/FNavigationSidebar.test.d.ts +1 -0
- package/dist/types/components/organisms/FOnboardingStepper/FOnboardingStepper.test.d.ts +1 -0
- package/dist/types/components/organisms/FOnboardingStepper/FStepperProgress.test.d.ts +1 -0
- package/dist/types/components/organisms/FPageHeader/FPageHeader.test.d.ts +1 -0
- package/dist/types/components/organisms/FProfileSection/FProfileSection.test.d.ts +1 -0
- package/dist/types/components/organisms/FToastProvider/FToastProvider.test.d.ts +1 -0
- package/dist/types/components/organisms/FUserMenu/FUserMenu.test.d.ts +1 -0
- package/dist/types/components/organisms/index.d.ts +14 -0
- package/dist/types/components/utils/FThemeProvider.test.d.ts +1 -0
- package/dist/types/components/utils/index.d.ts +2 -0
- package/dist/types/components.d.ts +602 -0
- package/dist/types/composables/index.d.ts +12 -0
- package/dist/types/composables/useDataTableState.d.ts +106 -0
- package/dist/types/composables/useDataTableState.test.d.ts +1 -0
- package/dist/types/composables/useFormValidation.d.ts +49 -0
- package/dist/types/composables/useFormValidation.test.d.ts +1 -0
- package/dist/types/composables/useSidebarState.d.ts +65 -0
- package/dist/types/composables/useSidebarState.test.d.ts +1 -0
- package/dist/types/index.d.ts +19 -0
- package/dist/types/types.d.ts +529 -0
- package/package.json +100 -0
- package/src/components/atoms/FAvatar/FAvatar.stories.js +100 -0
- package/src/components/atoms/FAvatar/FAvatar.test.ts +95 -0
- package/src/components/atoms/FAvatar/FAvatar.vue +190 -0
- package/src/components/atoms/FBadge/FBadge.stories.js +129 -0
- package/src/components/atoms/FBadge/FBadge.test.ts +93 -0
- package/src/components/atoms/FBadge/FBadge.vue +103 -0
- package/src/components/atoms/FButton/FButton.stories.js +122 -0
- package/src/components/atoms/FButton/FButton.test.ts +98 -0
- package/src/components/atoms/FButton/FButton.vue +147 -0
- package/src/components/atoms/FCheckbox/FCheckbox.stories.js +96 -0
- package/src/components/atoms/FCheckbox/FCheckbox.test.ts +64 -0
- package/src/components/atoms/FCheckbox/FCheckbox.vue +76 -0
- package/src/components/atoms/FDivider/FDivider.stories.js +104 -0
- package/src/components/atoms/FDivider/FDivider.test.ts +80 -0
- package/src/components/atoms/FDivider/FDivider.vue +117 -0
- package/src/components/atoms/FIcon/FIcon.stories.js +189 -0
- package/src/components/atoms/FIcon/FIcon.test.ts +99 -0
- package/src/components/atoms/FIcon/FIcon.vue +192 -0
- package/src/components/atoms/FInput/FInput.stories.js +119 -0
- package/src/components/atoms/FInput/FInput.test.ts +79 -0
- package/src/components/atoms/FInput/FInput.vue +88 -0
- package/src/components/atoms/FLoader/FLoader.stories.js +109 -0
- package/src/components/atoms/FLoader/FLoader.test.ts +66 -0
- package/src/components/atoms/FLoader/FLoader.vue +97 -0
- package/src/components/atoms/FRadio/FRadio.stories.js +105 -0
- package/src/components/atoms/FRadio/FRadio.test.ts +75 -0
- package/src/components/atoms/FRadio/FRadio.vue +119 -0
- package/src/components/atoms/FTextarea/FTextarea.stories.js +126 -0
- package/src/components/atoms/FTextarea/FTextarea.test.ts +94 -0
- package/src/components/atoms/FTextarea/FTextarea.vue +156 -0
- package/src/components/atoms/FToggle/FToggle.stories.js +108 -0
- package/src/components/atoms/FToggle/FToggle.test.ts +96 -0
- package/src/components/atoms/FToggle/FToggle.vue +123 -0
- package/src/components/atoms/FTypography/FTypography.stories.js +127 -0
- package/src/components/atoms/FTypography/FTypography.test.ts +93 -0
- package/src/components/atoms/FTypography/FTypography.vue +78 -0
- package/src/components/atoms/index.ts +27 -0
- package/src/components/molecules/FAccordionItem/FAccordionItem.stories.js +71 -0
- package/src/components/molecules/FAccordionItem/FAccordionItem.test.ts +61 -0
- package/src/components/molecules/FAccordionItem/FAccordionItem.vue +105 -0
- package/src/components/molecules/FAlert/FAlert.stories.js +87 -0
- package/src/components/molecules/FAlert/FAlert.test.ts +59 -0
- package/src/components/molecules/FAlert/FAlert.vue +108 -0
- package/src/components/molecules/FBreadcrumb/FBreadcrumb.stories.js +90 -0
- package/src/components/molecules/FBreadcrumb/FBreadcrumb.test.ts +76 -0
- package/src/components/molecules/FBreadcrumb/FBreadcrumb.vue +117 -0
- package/src/components/molecules/FButtonGroup/FButtonGroup.stories.js +82 -0
- package/src/components/molecules/FButtonGroup/FButtonGroup.test.ts +44 -0
- package/src/components/molecules/FButtonGroup/FButtonGroup.vue +31 -0
- package/src/components/molecules/FCard/FCard.stories.js +136 -0
- package/src/components/molecules/FCard/FCard.test.ts +87 -0
- package/src/components/molecules/FCard/FCard.vue +75 -0
- package/src/components/molecules/FDatePicker/FDatePicker.stories.js +305 -0
- package/src/components/molecules/FDatePicker/FDatePicker.test.ts +282 -0
- package/src/components/molecules/FDatePicker/FDatePicker.vue +750 -0
- package/src/components/molecules/FEmptyState/FEmptyState.stories.js +98 -0
- package/src/components/molecules/FEmptyState/FEmptyState.test.ts +82 -0
- package/src/components/molecules/FEmptyState/FEmptyState.vue +89 -0
- package/src/components/molecules/FFilePreview/FFilePreview.stories.js +130 -0
- package/src/components/molecules/FFilePreview/FFilePreview.test.ts +70 -0
- package/src/components/molecules/FFilePreview/FFilePreview.vue +125 -0
- package/src/components/molecules/FFormField/FFormField.stories.js +149 -0
- package/src/components/molecules/FFormField/FFormField.test.ts +85 -0
- package/src/components/molecules/FFormField/FFormField.vue +107 -0
- package/src/components/molecules/FListItem/FListItem.stories.js +158 -0
- package/src/components/molecules/FListItem/FListItem.test.ts +93 -0
- package/src/components/molecules/FListItem/FListItem.vue +113 -0
- package/src/components/molecules/FPagination/FPagination.stories.js +132 -0
- package/src/components/molecules/FPagination/FPagination.test.ts +79 -0
- package/src/components/molecules/FPagination/FPagination.vue +206 -0
- package/src/components/molecules/FSearchBar/FSearchBar.stories.js +129 -0
- package/src/components/molecules/FSearchBar/FSearchBar.test.ts +81 -0
- package/src/components/molecules/FSearchBar/FSearchBar.vue +180 -0
- package/src/components/molecules/FSelect/FSelect.stories.js +333 -0
- package/src/components/molecules/FSelect/FSelect.test.ts +478 -0
- package/src/components/molecules/FSelect/FSelect.vue +551 -0
- package/src/components/molecules/FStatCard/FStatCard.stories.js +144 -0
- package/src/components/molecules/FStatCard/FStatCard.test.ts +78 -0
- package/src/components/molecules/FStatCard/FStatCard.vue +106 -0
- package/src/components/molecules/FTabs/FTab.vue +63 -0
- package/src/components/molecules/FTabs/FTabs.stories.js +277 -0
- package/src/components/molecules/FTabs/FTabs.test.ts +264 -0
- package/src/components/molecules/FTabs/FTabs.vue +273 -0
- package/src/components/molecules/FToast/FToast.stories.js +150 -0
- package/src/components/molecules/FToast/FToast.test.ts +157 -0
- package/src/components/molecules/FToast/FToast.vue +283 -0
- package/src/components/molecules/index.ts +37 -0
- package/src/components/organisms/FActivityFeed/FActivityFeed.stories.js +217 -0
- package/src/components/organisms/FActivityFeed/FActivityFeed.test.ts +134 -0
- package/src/components/organisms/FActivityFeed/FActivityFeed.vue +589 -0
- package/src/components/organisms/FDataTable/FDataTable.stories.js +370 -0
- package/src/components/organisms/FDataTable/FDataTable.test.ts +248 -0
- package/src/components/organisms/FDataTable/FDataTable.vue +808 -0
- package/src/components/organisms/FDrawer/FDrawer.stories.js +296 -0
- package/src/components/organisms/FDrawer/FDrawer.test.ts +142 -0
- package/src/components/organisms/FDrawer/FDrawer.vue +303 -0
- package/src/components/organisms/FFileUpload/FFileUpload.stories.js +162 -0
- package/src/components/organisms/FFileUpload/FFileUpload.test.ts +103 -0
- package/src/components/organisms/FFileUpload/FFileUpload.vue +616 -0
- package/src/components/organisms/FFilterSidebar/FFilterSidebar.stories.js +161 -0
- package/src/components/organisms/FFilterSidebar/FFilterSidebar.test.ts +92 -0
- package/src/components/organisms/FFilterSidebar/FFilterSidebar.vue +458 -0
- package/src/components/organisms/FForm/FForm.stories.js +270 -0
- package/src/components/organisms/FForm/FForm.test.ts +63 -0
- package/src/components/organisms/FForm/FForm.vue +19 -0
- package/src/components/organisms/FModal/FModal.stories.js +227 -0
- package/src/components/organisms/FModal/FModal.test.ts +181 -0
- package/src/components/organisms/FModal/FModal.vue +319 -0
- package/src/components/organisms/FNavigationSidebar/FNavigationSidebar.stories.js +176 -0
- package/src/components/organisms/FNavigationSidebar/FNavigationSidebar.test.ts +95 -0
- package/src/components/organisms/FNavigationSidebar/FNavigationSidebar.vue +577 -0
- package/src/components/organisms/FOnboardingStepper/FOnboardingStepper.stories.js +197 -0
- package/src/components/organisms/FOnboardingStepper/FOnboardingStepper.test.ts +114 -0
- package/src/components/organisms/FOnboardingStepper/FOnboardingStepper.vue +212 -0
- package/src/components/organisms/FOnboardingStepper/FStepperProgress.stories.js +122 -0
- package/src/components/organisms/FOnboardingStepper/FStepperProgress.test.ts +130 -0
- package/src/components/organisms/FOnboardingStepper/FStepperProgress.vue +146 -0
- package/src/components/organisms/FPageHeader/FPageHeader.stories.js +142 -0
- package/src/components/organisms/FPageHeader/FPageHeader.test.ts +83 -0
- package/src/components/organisms/FPageHeader/FPageHeader.vue +241 -0
- package/src/components/organisms/FProfileSection/FProfileSection.stories.js +190 -0
- package/src/components/organisms/FProfileSection/FProfileSection.test.ts +85 -0
- package/src/components/organisms/FProfileSection/FProfileSection.vue +562 -0
- package/src/components/organisms/FToastProvider/FToastProvider.stories.js +290 -0
- package/src/components/organisms/FToastProvider/FToastProvider.test.ts +215 -0
- package/src/components/organisms/FToastProvider/FToastProvider.vue +214 -0
- package/src/components/organisms/FUserMenu/FUserMenu.stories.js +170 -0
- package/src/components/organisms/FUserMenu/FUserMenu.test.ts +102 -0
- package/src/components/organisms/FUserMenu/FUserMenu.vue +407 -0
- package/src/components/organisms/index.ts +29 -0
- package/src/components/utils/FThemeProvider.stories.js +236 -0
- package/src/components/utils/FThemeProvider.test.ts +244 -0
- package/src/components/utils/FThemeProvider.vue +191 -0
- package/src/components/utils/index.ts +3 -0
- package/src/components.d.ts +602 -0
- package/src/composables/README.md +233 -0
- package/src/composables/index.ts +25 -0
- package/src/composables/useDataTableState.test.ts +378 -0
- package/src/composables/useDataTableState.ts +361 -0
- package/src/composables/useFormValidation.test.ts +198 -0
- package/src/composables/useFormValidation.ts +178 -0
- package/src/composables/useSidebarState.test.ts +307 -0
- package/src/composables/useSidebarState.ts +201 -0
- package/src/env.d.ts +14 -0
- package/src/index.ts +167 -0
- package/src/styles/tailwind.css +173 -0
- package/src/types.ts +740 -0
|
@@ -0,0 +1,602 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Déclarations de types TypeScript pour les composants Vue Fabric
|
|
3
|
+
* Ce fichier fournit des définitions de types précises pour améliorer l'expérience développeur (DX)
|
|
4
|
+
*/
|
|
5
|
+
|
|
6
|
+
import { DefineComponent, Plugin } from 'vue';
|
|
7
|
+
import * as Types from './types';
|
|
8
|
+
|
|
9
|
+
// =============================================================================
|
|
10
|
+
// Atoms - Composants de base
|
|
11
|
+
// =============================================================================
|
|
12
|
+
|
|
13
|
+
/**
|
|
14
|
+
* FInput - Composant de champ de saisie
|
|
15
|
+
* @emits input - Émis lorsque la valeur change avec la nouvelle valeur
|
|
16
|
+
* @emits focus - Émis lorsque le champ reçoit le focus
|
|
17
|
+
* @emits blur - Émis lorsque le champ perd le focus
|
|
18
|
+
*/
|
|
19
|
+
export declare const FInput: DefineComponent<
|
|
20
|
+
Types.FInputProps,
|
|
21
|
+
{},
|
|
22
|
+
{},
|
|
23
|
+
{},
|
|
24
|
+
{},
|
|
25
|
+
{},
|
|
26
|
+
{},
|
|
27
|
+
Types.FInputEvents
|
|
28
|
+
>;
|
|
29
|
+
|
|
30
|
+
/**
|
|
31
|
+
* FTextarea - Composant de zone de texte
|
|
32
|
+
* @emits input - Émis lorsque la valeur change avec la nouvelle valeur
|
|
33
|
+
* @emits focus - Émis lorsque le champ reçoit le focus
|
|
34
|
+
* @emits blur - Émis lorsque le champ perd le focus
|
|
35
|
+
*/
|
|
36
|
+
export declare const FTextarea: DefineComponent<
|
|
37
|
+
Types.FTextareaProps,
|
|
38
|
+
{},
|
|
39
|
+
{},
|
|
40
|
+
{},
|
|
41
|
+
{},
|
|
42
|
+
{},
|
|
43
|
+
{},
|
|
44
|
+
Types.FTextareaEvents
|
|
45
|
+
>;
|
|
46
|
+
|
|
47
|
+
/**
|
|
48
|
+
* FButton - Composant de bouton
|
|
49
|
+
*/
|
|
50
|
+
export declare const FButton: DefineComponent<Types.FButtonProps>;
|
|
51
|
+
|
|
52
|
+
/**
|
|
53
|
+
* FCheckbox - Composant de case à cocher
|
|
54
|
+
* @emits input - Émis lorsque l'état change (v-model)
|
|
55
|
+
* @emits change - Émis lorsque l'état change
|
|
56
|
+
*/
|
|
57
|
+
export declare const FCheckbox: DefineComponent<
|
|
58
|
+
Types.FCheckboxProps,
|
|
59
|
+
{},
|
|
60
|
+
{},
|
|
61
|
+
{},
|
|
62
|
+
{},
|
|
63
|
+
{},
|
|
64
|
+
{},
|
|
65
|
+
Types.FCheckboxEvents
|
|
66
|
+
>;
|
|
67
|
+
|
|
68
|
+
/**
|
|
69
|
+
* FRadio - Composant de bouton radio
|
|
70
|
+
* @emits input - Émis lorsque l'état change (v-model)
|
|
71
|
+
* @emits change - Émis lorsque l'état change
|
|
72
|
+
*/
|
|
73
|
+
export declare const FRadio: DefineComponent<
|
|
74
|
+
Types.FRadioProps,
|
|
75
|
+
{},
|
|
76
|
+
{},
|
|
77
|
+
{},
|
|
78
|
+
{},
|
|
79
|
+
{},
|
|
80
|
+
{},
|
|
81
|
+
Types.FRadioEvents
|
|
82
|
+
>;
|
|
83
|
+
|
|
84
|
+
/**
|
|
85
|
+
* FToggle - Composant de switch/toggle
|
|
86
|
+
* @emits input - Émis lorsque l'état change (v-model)
|
|
87
|
+
* @emits change - Émis lorsque l'état change
|
|
88
|
+
*/
|
|
89
|
+
export declare const FToggle: DefineComponent<
|
|
90
|
+
Types.FToggleProps,
|
|
91
|
+
{},
|
|
92
|
+
{},
|
|
93
|
+
{},
|
|
94
|
+
{},
|
|
95
|
+
{},
|
|
96
|
+
{},
|
|
97
|
+
Types.FToggleEvents
|
|
98
|
+
>;
|
|
99
|
+
|
|
100
|
+
/**
|
|
101
|
+
* FAvatar - Composant d'avatar
|
|
102
|
+
*/
|
|
103
|
+
export declare const FAvatar: DefineComponent<Types.FAvatarProps>;
|
|
104
|
+
|
|
105
|
+
/**
|
|
106
|
+
* FBadge - Composant de badge
|
|
107
|
+
*/
|
|
108
|
+
export declare const FBadge: DefineComponent<Types.FBadgeProps>;
|
|
109
|
+
|
|
110
|
+
/**
|
|
111
|
+
* FIcon - Composant d'icône
|
|
112
|
+
*/
|
|
113
|
+
export declare const FIcon: DefineComponent<Types.FIconProps>;
|
|
114
|
+
|
|
115
|
+
/**
|
|
116
|
+
* FLoader - Composant de chargement
|
|
117
|
+
*/
|
|
118
|
+
export declare const FLoader: DefineComponent<Types.FLoaderProps>;
|
|
119
|
+
|
|
120
|
+
/**
|
|
121
|
+
* FDivider - Composant de séparateur
|
|
122
|
+
*/
|
|
123
|
+
export declare const FDivider: DefineComponent<{
|
|
124
|
+
vertical?: boolean;
|
|
125
|
+
dashed?: boolean;
|
|
126
|
+
}>;
|
|
127
|
+
|
|
128
|
+
/**
|
|
129
|
+
* FTypography - Composant de typographie
|
|
130
|
+
*/
|
|
131
|
+
export declare const FTypography: DefineComponent<{
|
|
132
|
+
variant?:
|
|
133
|
+
| 'h1'
|
|
134
|
+
| 'h2'
|
|
135
|
+
| 'h3'
|
|
136
|
+
| 'h4'
|
|
137
|
+
| 'h5'
|
|
138
|
+
| 'h6'
|
|
139
|
+
| 'body1'
|
|
140
|
+
| 'body2'
|
|
141
|
+
| 'caption'
|
|
142
|
+
| 'overline';
|
|
143
|
+
color?: string;
|
|
144
|
+
align?: 'left' | 'center' | 'right' | 'justify';
|
|
145
|
+
}>;
|
|
146
|
+
|
|
147
|
+
// =============================================================================
|
|
148
|
+
// Molecules - Composants composés
|
|
149
|
+
// =============================================================================
|
|
150
|
+
|
|
151
|
+
/**
|
|
152
|
+
* FSelect - Composant de sélection
|
|
153
|
+
* @emits input - Émis lorsque la sélection change (v-model)
|
|
154
|
+
* @emits change - Émis lorsque la sélection change
|
|
155
|
+
* @emits open - Émis lorsque le menu s'ouvre
|
|
156
|
+
* @emits close - Émis lorsque le menu se ferme
|
|
157
|
+
* @emits focus - Émis lorsque le composant reçoit le focus
|
|
158
|
+
* @emits blur - Émis lorsque le composant perd le focus
|
|
159
|
+
*/
|
|
160
|
+
export declare const FSelect: DefineComponent<
|
|
161
|
+
Types.FSelectProps,
|
|
162
|
+
{},
|
|
163
|
+
{},
|
|
164
|
+
{},
|
|
165
|
+
{},
|
|
166
|
+
{},
|
|
167
|
+
{},
|
|
168
|
+
Types.FSelectEvents
|
|
169
|
+
>;
|
|
170
|
+
|
|
171
|
+
/**
|
|
172
|
+
* FDatePicker - Composant de sélection de date
|
|
173
|
+
* @emits input - Émis lorsque la date change (v-model)
|
|
174
|
+
* @emits change - Émis lorsque la date change
|
|
175
|
+
* @emits focus - Émis lorsque le composant reçoit le focus
|
|
176
|
+
* @emits blur - Émis lorsque le composant perd le focus
|
|
177
|
+
*/
|
|
178
|
+
export declare const FDatePicker: DefineComponent<
|
|
179
|
+
Types.FDatePickerProps,
|
|
180
|
+
{},
|
|
181
|
+
{},
|
|
182
|
+
{},
|
|
183
|
+
{},
|
|
184
|
+
{},
|
|
185
|
+
{},
|
|
186
|
+
Types.FDatePickerEvents
|
|
187
|
+
>;
|
|
188
|
+
|
|
189
|
+
/**
|
|
190
|
+
* FTabs - Composant d'onglets
|
|
191
|
+
* @emits input - Émis lorsque l'onglet actif change (v-model)
|
|
192
|
+
* @emits change - Émis lorsque l'onglet actif change
|
|
193
|
+
* @slots default - Slot pour les composants FTab
|
|
194
|
+
*/
|
|
195
|
+
export declare const FTabs: DefineComponent<
|
|
196
|
+
Types.FTabsProps,
|
|
197
|
+
{},
|
|
198
|
+
{},
|
|
199
|
+
{},
|
|
200
|
+
{},
|
|
201
|
+
{},
|
|
202
|
+
{},
|
|
203
|
+
Types.FTabsEvents,
|
|
204
|
+
string,
|
|
205
|
+
{
|
|
206
|
+
default: void;
|
|
207
|
+
}
|
|
208
|
+
>;
|
|
209
|
+
|
|
210
|
+
/**
|
|
211
|
+
* FTab - Composant d'onglet individuel
|
|
212
|
+
* @slots default - Contenu de l'onglet
|
|
213
|
+
*/
|
|
214
|
+
export declare const FTab: DefineComponent<
|
|
215
|
+
Types.FTabProps,
|
|
216
|
+
{},
|
|
217
|
+
{},
|
|
218
|
+
{},
|
|
219
|
+
{},
|
|
220
|
+
{},
|
|
221
|
+
{},
|
|
222
|
+
{},
|
|
223
|
+
string,
|
|
224
|
+
{
|
|
225
|
+
default: void;
|
|
226
|
+
}
|
|
227
|
+
>;
|
|
228
|
+
|
|
229
|
+
/**
|
|
230
|
+
* FCard - Composant de carte
|
|
231
|
+
* @emits click - Émis lorsque la carte cliquable est cliquée
|
|
232
|
+
* @slots default - Contenu principal de la carte
|
|
233
|
+
* @slots header - Header personnalisé
|
|
234
|
+
* @slots media - Médias (images, vidéos)
|
|
235
|
+
* @slots actions - Actions en bas de la carte
|
|
236
|
+
*/
|
|
237
|
+
export declare const FCard: DefineComponent<
|
|
238
|
+
Types.FCardProps,
|
|
239
|
+
{},
|
|
240
|
+
{},
|
|
241
|
+
{},
|
|
242
|
+
{},
|
|
243
|
+
{},
|
|
244
|
+
{},
|
|
245
|
+
Types.FCardEvents,
|
|
246
|
+
string,
|
|
247
|
+
Types.FCardSlots
|
|
248
|
+
>;
|
|
249
|
+
|
|
250
|
+
/**
|
|
251
|
+
* FAlert - Composant d'alerte
|
|
252
|
+
* @emits close - Émis lorsque l'alerte est fermée
|
|
253
|
+
* @slots default - Message de l'alerte
|
|
254
|
+
* @slots title - Titre personnalisé
|
|
255
|
+
* @slots icon - Icône personnalisée
|
|
256
|
+
*/
|
|
257
|
+
export declare const FAlert: DefineComponent<
|
|
258
|
+
Types.FAlertProps,
|
|
259
|
+
{},
|
|
260
|
+
{},
|
|
261
|
+
{},
|
|
262
|
+
{},
|
|
263
|
+
{},
|
|
264
|
+
{},
|
|
265
|
+
Types.FAlertEvents,
|
|
266
|
+
string,
|
|
267
|
+
Types.FAlertSlots
|
|
268
|
+
>;
|
|
269
|
+
|
|
270
|
+
/**
|
|
271
|
+
* FToast - Composant de notification toast
|
|
272
|
+
* @emits close - Émis lorsque le toast est fermé
|
|
273
|
+
*/
|
|
274
|
+
export declare const FToast: DefineComponent<
|
|
275
|
+
Types.FToastProps,
|
|
276
|
+
{},
|
|
277
|
+
{},
|
|
278
|
+
{},
|
|
279
|
+
{},
|
|
280
|
+
{},
|
|
281
|
+
{},
|
|
282
|
+
Types.FToastEvents
|
|
283
|
+
>;
|
|
284
|
+
|
|
285
|
+
/**
|
|
286
|
+
* FPagination - Composant de pagination
|
|
287
|
+
* @emits page-change - Émis lorsque la page change
|
|
288
|
+
* @emits update:currentPage - Émis pour le support v-model de currentPage
|
|
289
|
+
*/
|
|
290
|
+
export declare const FPagination: DefineComponent<
|
|
291
|
+
Types.FPaginationProps,
|
|
292
|
+
{},
|
|
293
|
+
{},
|
|
294
|
+
{},
|
|
295
|
+
{},
|
|
296
|
+
{},
|
|
297
|
+
{},
|
|
298
|
+
Types.FPaginationEvents
|
|
299
|
+
>;
|
|
300
|
+
|
|
301
|
+
/**
|
|
302
|
+
* FSearchBar - Barre de recherche
|
|
303
|
+
* @emits input - Émis lorsque la valeur change (v-model)
|
|
304
|
+
* @emits search - Émis lorsque la recherche est soumise
|
|
305
|
+
* @emits clear - Émis lorsque le champ est vidé
|
|
306
|
+
*/
|
|
307
|
+
export declare const FSearchBar: DefineComponent<
|
|
308
|
+
Types.FSearchBarProps,
|
|
309
|
+
{},
|
|
310
|
+
{},
|
|
311
|
+
{},
|
|
312
|
+
{},
|
|
313
|
+
{},
|
|
314
|
+
{},
|
|
315
|
+
Types.FSearchBarEvents
|
|
316
|
+
>;
|
|
317
|
+
|
|
318
|
+
/**
|
|
319
|
+
* FBreadcrumb - Fil d'Ariane
|
|
320
|
+
* @emits click - Émis lorsqu'un item est cliqué
|
|
321
|
+
*/
|
|
322
|
+
export declare const FBreadcrumb: DefineComponent<
|
|
323
|
+
Types.FBreadcrumbProps,
|
|
324
|
+
{},
|
|
325
|
+
{},
|
|
326
|
+
{},
|
|
327
|
+
{},
|
|
328
|
+
{},
|
|
329
|
+
{},
|
|
330
|
+
Types.FBreadcrumbEvents
|
|
331
|
+
>;
|
|
332
|
+
|
|
333
|
+
/**
|
|
334
|
+
* FEmptyState - État vide
|
|
335
|
+
* @emits action - Émis lorsque l'action est cliquée
|
|
336
|
+
* @slots default - Contenu par défaut
|
|
337
|
+
* @slots icon - Icône personnalisée
|
|
338
|
+
* @slots actions - Actions personnalisées
|
|
339
|
+
*/
|
|
340
|
+
export declare const FEmptyState: DefineComponent<
|
|
341
|
+
Types.FEmptyStateProps,
|
|
342
|
+
{},
|
|
343
|
+
{},
|
|
344
|
+
{},
|
|
345
|
+
{},
|
|
346
|
+
{},
|
|
347
|
+
{},
|
|
348
|
+
Types.FEmptyStateEvents,
|
|
349
|
+
string,
|
|
350
|
+
Types.FEmptyStateSlots
|
|
351
|
+
>;
|
|
352
|
+
|
|
353
|
+
/**
|
|
354
|
+
* FFormField - Champ de formulaire avec label et erreur
|
|
355
|
+
* @slots default - Le champ de formulaire
|
|
356
|
+
* @slots label - Label personnalisé
|
|
357
|
+
* @slots hint - Indication
|
|
358
|
+
* @slots error - Message d'erreur personnalisé
|
|
359
|
+
*/
|
|
360
|
+
export declare const FFormField: DefineComponent<
|
|
361
|
+
Types.FFormFieldProps,
|
|
362
|
+
{},
|
|
363
|
+
{},
|
|
364
|
+
{},
|
|
365
|
+
{},
|
|
366
|
+
{},
|
|
367
|
+
{},
|
|
368
|
+
{},
|
|
369
|
+
string,
|
|
370
|
+
Types.FFormFieldSlots
|
|
371
|
+
>;
|
|
372
|
+
|
|
373
|
+
/**
|
|
374
|
+
* FListItem - Item de liste
|
|
375
|
+
*/
|
|
376
|
+
export declare const FListItem: DefineComponent<{
|
|
377
|
+
title?: string;
|
|
378
|
+
subtitle?: string;
|
|
379
|
+
clickable?: boolean;
|
|
380
|
+
}>;
|
|
381
|
+
|
|
382
|
+
/**
|
|
383
|
+
* FButtonGroup - Groupe de boutons
|
|
384
|
+
*/
|
|
385
|
+
export declare const FButtonGroup: DefineComponent<{
|
|
386
|
+
vertical?: boolean;
|
|
387
|
+
attached?: boolean;
|
|
388
|
+
}>;
|
|
389
|
+
|
|
390
|
+
/**
|
|
391
|
+
* FFilePreview - Prévisualisation de fichier
|
|
392
|
+
*/
|
|
393
|
+
export declare const FFilePreview: DefineComponent<{
|
|
394
|
+
file?: File | null;
|
|
395
|
+
src?: string;
|
|
396
|
+
name?: string;
|
|
397
|
+
type?: string;
|
|
398
|
+
size?: number;
|
|
399
|
+
removable?: boolean;
|
|
400
|
+
}>;
|
|
401
|
+
|
|
402
|
+
/**
|
|
403
|
+
* FAccordionItem - Item d'accordéon
|
|
404
|
+
*/
|
|
405
|
+
export declare const FAccordionItem: DefineComponent<{
|
|
406
|
+
title?: string;
|
|
407
|
+
open?: boolean;
|
|
408
|
+
disabled?: boolean;
|
|
409
|
+
}>;
|
|
410
|
+
|
|
411
|
+
/**
|
|
412
|
+
* FStatCard - Carte de statistique
|
|
413
|
+
*/
|
|
414
|
+
export declare const FStatCard: DefineComponent<{
|
|
415
|
+
title?: string;
|
|
416
|
+
value?: string | number;
|
|
417
|
+
trend?: 'up' | 'down' | 'neutral';
|
|
418
|
+
trendValue?: string;
|
|
419
|
+
icon?: string;
|
|
420
|
+
}>;
|
|
421
|
+
|
|
422
|
+
// =============================================================================
|
|
423
|
+
// Organisms - Composants complexes
|
|
424
|
+
// =============================================================================
|
|
425
|
+
|
|
426
|
+
/**
|
|
427
|
+
* FModal - Composant de modal
|
|
428
|
+
* @emits input - Émis pour le support v-model de l'état ouvert/fermé
|
|
429
|
+
* @emits close - Émis lorsque le modal se ferme
|
|
430
|
+
* @emits open - Émis lorsque le modal s'ouvre
|
|
431
|
+
* @slots default - Contenu du modal
|
|
432
|
+
* @slots header - Header personnalisé
|
|
433
|
+
* @slots footer - Footer avec actions
|
|
434
|
+
*/
|
|
435
|
+
export declare const FModal: DefineComponent<
|
|
436
|
+
Types.FModalProps,
|
|
437
|
+
{},
|
|
438
|
+
{},
|
|
439
|
+
{},
|
|
440
|
+
{},
|
|
441
|
+
{},
|
|
442
|
+
{},
|
|
443
|
+
Types.FModalEvents,
|
|
444
|
+
string,
|
|
445
|
+
Types.FModalSlots
|
|
446
|
+
>;
|
|
447
|
+
|
|
448
|
+
/**
|
|
449
|
+
* FDrawer - Composant de tiroir latéral
|
|
450
|
+
* @emits input - Émis pour le support v-model de l'état ouvert/fermé
|
|
451
|
+
* @emits close - Émis lorsque le drawer se ferme
|
|
452
|
+
* @emits open - Émis lorsque le drawer s'ouvre
|
|
453
|
+
* @slots default - Contenu du drawer
|
|
454
|
+
* @slots header - Header personnalisé
|
|
455
|
+
* @slots footer - Footer avec actions
|
|
456
|
+
*/
|
|
457
|
+
export declare const FDrawer: DefineComponent<
|
|
458
|
+
Types.FDrawerProps,
|
|
459
|
+
{},
|
|
460
|
+
{},
|
|
461
|
+
{},
|
|
462
|
+
{},
|
|
463
|
+
{},
|
|
464
|
+
{},
|
|
465
|
+
Types.FDrawerEvents,
|
|
466
|
+
string,
|
|
467
|
+
Types.FDrawerSlots
|
|
468
|
+
>;
|
|
469
|
+
|
|
470
|
+
/**
|
|
471
|
+
* FDataTable - Table de données
|
|
472
|
+
* @emits row-click - Émis lorsqu'une ligne est cliquée
|
|
473
|
+
* @emits sort - Émis lorsque le tri change
|
|
474
|
+
* @emits search - Émis lorsque la recherche change
|
|
475
|
+
* @emits page-change - Émis lorsque la page change
|
|
476
|
+
* @emits select - Émis lorsqu'une ligne est sélectionnée/désélectionnée
|
|
477
|
+
* @emits select-all - Émis lorsque toutes les lignes sont sélectionnées/désélectionnées
|
|
478
|
+
* @emits empty-action - Émis lorsque l'action de l'état vide est cliquée
|
|
479
|
+
* @emits update:page - Émis pour le support v-model de la page
|
|
480
|
+
* @emits update:selected - Émis pour le support v-model de la sélection
|
|
481
|
+
* @slots cell-{columnKey} - Slot pour personnaliser une cellule (slot scopé avec value, row, column)
|
|
482
|
+
* @slots actions - Slot pour les actions personnalisées (slot scopé avec selectedItems)
|
|
483
|
+
*/
|
|
484
|
+
export declare const FDataTable: DefineComponent<
|
|
485
|
+
Types.FDataTableProps,
|
|
486
|
+
{},
|
|
487
|
+
{},
|
|
488
|
+
{},
|
|
489
|
+
{},
|
|
490
|
+
{},
|
|
491
|
+
{},
|
|
492
|
+
Types.FDataTableEvents,
|
|
493
|
+
string,
|
|
494
|
+
Types.FDataTableSlots
|
|
495
|
+
>;
|
|
496
|
+
|
|
497
|
+
/**
|
|
498
|
+
* FToastProvider - Fournisseur de toasts (système de notifications)
|
|
499
|
+
*/
|
|
500
|
+
export declare const FToastProvider: DefineComponent<{
|
|
501
|
+
position?: Types.FToastPosition;
|
|
502
|
+
maxToasts?: number;
|
|
503
|
+
}>;
|
|
504
|
+
|
|
505
|
+
/**
|
|
506
|
+
* FFileUpload - Upload de fichiers
|
|
507
|
+
*/
|
|
508
|
+
export declare const FFileUpload: DefineComponent<{
|
|
509
|
+
multiple?: boolean;
|
|
510
|
+
accept?: string;
|
|
511
|
+
maxSize?: number;
|
|
512
|
+
maxFiles?: number;
|
|
513
|
+
}>;
|
|
514
|
+
|
|
515
|
+
/**
|
|
516
|
+
* FForm - Formulaire
|
|
517
|
+
*/
|
|
518
|
+
export declare const FForm: DefineComponent<{
|
|
519
|
+
schema?: Record<string, unknown>;
|
|
520
|
+
initialValues?: Record<string, unknown>;
|
|
521
|
+
}>;
|
|
522
|
+
|
|
523
|
+
/**
|
|
524
|
+
* FActivityFeed - Fil d'activité
|
|
525
|
+
*/
|
|
526
|
+
export declare const FActivityFeed: DefineComponent<{
|
|
527
|
+
items?: Array<Record<string, unknown>>;
|
|
528
|
+
loading?: boolean;
|
|
529
|
+
virtual?: boolean;
|
|
530
|
+
}>;
|
|
531
|
+
|
|
532
|
+
/**
|
|
533
|
+
* FPageHeader - En-tête de page
|
|
534
|
+
*/
|
|
535
|
+
export declare const FPageHeader: DefineComponent<{
|
|
536
|
+
title?: string;
|
|
537
|
+
subtitle?: string;
|
|
538
|
+
backButton?: boolean;
|
|
539
|
+
}>;
|
|
540
|
+
|
|
541
|
+
/**
|
|
542
|
+
* FUserMenu - Menu utilisateur
|
|
543
|
+
*/
|
|
544
|
+
export declare const FUserMenu: DefineComponent<{
|
|
545
|
+
user?: {
|
|
546
|
+
name?: string;
|
|
547
|
+
email?: string;
|
|
548
|
+
avatar?: string;
|
|
549
|
+
};
|
|
550
|
+
menuItems?: Array<{ label: string; action: string }>;
|
|
551
|
+
}>;
|
|
552
|
+
|
|
553
|
+
/**
|
|
554
|
+
* FOnboardingStepper - Stepper d'onboarding
|
|
555
|
+
*/
|
|
556
|
+
export declare const FOnboardingStepper: DefineComponent<{
|
|
557
|
+
steps?: Array<{ title: string; description?: string }>;
|
|
558
|
+
currentStep?: number;
|
|
559
|
+
}>;
|
|
560
|
+
|
|
561
|
+
/**
|
|
562
|
+
* FProfileSection - Section de profil
|
|
563
|
+
*/
|
|
564
|
+
export declare const FProfileSection: DefineComponent<{
|
|
565
|
+
user?: {
|
|
566
|
+
name?: string;
|
|
567
|
+
email?: string;
|
|
568
|
+
avatar?: string;
|
|
569
|
+
bio?: string;
|
|
570
|
+
};
|
|
571
|
+
}>;
|
|
572
|
+
|
|
573
|
+
/**
|
|
574
|
+
* FNavigationSidebar - Barre de navigation latérale
|
|
575
|
+
*/
|
|
576
|
+
export declare const FNavigationSidebar: DefineComponent<{
|
|
577
|
+
items?: Array<{
|
|
578
|
+
label: string;
|
|
579
|
+
icon?: string;
|
|
580
|
+
to?: string;
|
|
581
|
+
children?: Array<{ label: string; to?: string }>;
|
|
582
|
+
}>;
|
|
583
|
+
collapsed?: boolean;
|
|
584
|
+
}>;
|
|
585
|
+
|
|
586
|
+
/**
|
|
587
|
+
* FFilterSidebar - Barre latérale de filtres
|
|
588
|
+
*/
|
|
589
|
+
export declare const FFilterSidebar: DefineComponent<{
|
|
590
|
+
filters?: Array<Record<string, unknown>>;
|
|
591
|
+
}>;
|
|
592
|
+
|
|
593
|
+
// =============================================================================
|
|
594
|
+
// Plugin d'installation
|
|
595
|
+
// =============================================================================
|
|
596
|
+
|
|
597
|
+
/**
|
|
598
|
+
* Plugin Fabric - Installe tous les composants globalement
|
|
599
|
+
*/
|
|
600
|
+
declare const FabricPlugin: Plugin;
|
|
601
|
+
|
|
602
|
+
export default FabricPlugin;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Composables for Fabric component library
|
|
3
|
+
*
|
|
4
|
+
* These composables extract the core logic from organism components
|
|
5
|
+
* and make it reusable across applications and custom components.
|
|
6
|
+
*/
|
|
7
|
+
export { useDataTableState } from './useDataTableState';
|
|
8
|
+
export type { DataTableStateOptions, DataTableState } from './useDataTableState';
|
|
9
|
+
export { useSidebarState } from './useSidebarState';
|
|
10
|
+
export type { NavigationItem, SidebarStateOptions, SidebarState } from './useSidebarState';
|
|
11
|
+
export { useFormValidation } from './useFormValidation';
|
|
12
|
+
export type { FormValidationOptions, FormValidationState } from './useFormValidation';
|
|
@@ -0,0 +1,106 @@
|
|
|
1
|
+
import { Ref, ComputedRef } from 'vue';
|
|
2
|
+
/**
|
|
3
|
+
* Configuration options for useDataTableState
|
|
4
|
+
*/
|
|
5
|
+
export interface DataTableStateOptions {
|
|
6
|
+
/**
|
|
7
|
+
* Table data
|
|
8
|
+
*/
|
|
9
|
+
data: any[];
|
|
10
|
+
/**
|
|
11
|
+
* Column definitions
|
|
12
|
+
*/
|
|
13
|
+
columns: Array<{
|
|
14
|
+
key: string;
|
|
15
|
+
label: string;
|
|
16
|
+
sortable?: boolean;
|
|
17
|
+
align?: string;
|
|
18
|
+
}>;
|
|
19
|
+
/**
|
|
20
|
+
* Unique key property in data objects
|
|
21
|
+
*/
|
|
22
|
+
rowKey?: string;
|
|
23
|
+
/**
|
|
24
|
+
* Initial page number
|
|
25
|
+
*/
|
|
26
|
+
initialPage?: number;
|
|
27
|
+
/**
|
|
28
|
+
* Items per page
|
|
29
|
+
*/
|
|
30
|
+
perPage?: number;
|
|
31
|
+
/**
|
|
32
|
+
* Enable pagination
|
|
33
|
+
*/
|
|
34
|
+
paginated?: boolean;
|
|
35
|
+
/**
|
|
36
|
+
* Enable virtualization (disables pagination)
|
|
37
|
+
*/
|
|
38
|
+
virtual?: boolean;
|
|
39
|
+
/**
|
|
40
|
+
* Default sort key
|
|
41
|
+
*/
|
|
42
|
+
defaultSortKey?: string | null;
|
|
43
|
+
/**
|
|
44
|
+
* Default sort direction
|
|
45
|
+
*/
|
|
46
|
+
defaultSortDirection?: 'asc' | 'desc';
|
|
47
|
+
/**
|
|
48
|
+
* Server mode (external data fetching)
|
|
49
|
+
*/
|
|
50
|
+
serverMode?: boolean;
|
|
51
|
+
/**
|
|
52
|
+
* Total items for server-side pagination
|
|
53
|
+
*/
|
|
54
|
+
totalItems?: number | null;
|
|
55
|
+
/**
|
|
56
|
+
* Initially selected row keys
|
|
57
|
+
*/
|
|
58
|
+
selected?: any[];
|
|
59
|
+
}
|
|
60
|
+
/**
|
|
61
|
+
* Return type for useDataTableState
|
|
62
|
+
*/
|
|
63
|
+
export interface DataTableState {
|
|
64
|
+
searchQuery: Ref<string>;
|
|
65
|
+
sortKey: Ref<string | null>;
|
|
66
|
+
sortDirection: Ref<'asc' | 'desc'>;
|
|
67
|
+
internalPage: Ref<number>;
|
|
68
|
+
totalPages: ComputedRef<number>;
|
|
69
|
+
paginationInfo: ComputedRef<string>;
|
|
70
|
+
effectivePaginated: ComputedRef<boolean>;
|
|
71
|
+
selectedKeys: Ref<any[]>;
|
|
72
|
+
selectedKeysSet: ComputedRef<Set<any>>;
|
|
73
|
+
selectedItems: ComputedRef<any[]>;
|
|
74
|
+
isAllSelected: ComputedRef<boolean>;
|
|
75
|
+
filteredData: ComputedRef<any[]>;
|
|
76
|
+
sortedData: ComputedRef<any[]>;
|
|
77
|
+
processedData: ComputedRef<any[]>;
|
|
78
|
+
paginatedData: ComputedRef<any[]>;
|
|
79
|
+
computedTotalItems: ComputedRef<number>;
|
|
80
|
+
getCellValue: (row: any, key: string) => any;
|
|
81
|
+
getRowKey: (row: any, index?: number) => any;
|
|
82
|
+
handleSort: (key: string) => void;
|
|
83
|
+
isRowSelected: (row: any) => boolean;
|
|
84
|
+
handleRowSelect: (row: any, checked: boolean) => void;
|
|
85
|
+
handleSelectAll: (checked: boolean) => void;
|
|
86
|
+
clearSelection: () => void;
|
|
87
|
+
}
|
|
88
|
+
/**
|
|
89
|
+
* Composable for managing data table state and logic
|
|
90
|
+
*
|
|
91
|
+
* Handles filtering, sorting, pagination, and row selection for data tables.
|
|
92
|
+
*
|
|
93
|
+
* @param options - Configuration options for the data table state
|
|
94
|
+
* @param emit - Emit function from the component setup
|
|
95
|
+
* @returns Object containing reactive state and methods for table operations
|
|
96
|
+
*
|
|
97
|
+
* @example
|
|
98
|
+
* ```ts
|
|
99
|
+
* const tableState = useDataTableState({
|
|
100
|
+
* data: myData,
|
|
101
|
+
* columns: myColumns,
|
|
102
|
+
* perPage: 10
|
|
103
|
+
* }, emit);
|
|
104
|
+
* ```
|
|
105
|
+
*/
|
|
106
|
+
export declare function useDataTableState(options: DataTableStateOptions, emit: (event: string, ...args: any[]) => void): DataTableState;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|