my-admin-framework 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/README.md +98 -0
- package/dist/App.vue.d.ts +2 -0
- package/dist/components/HelloWorld.vue.d.ts +5 -0
- package/dist/components/MaAccordion.vue.d.ts +27 -0
- package/dist/components/MaAccordionItem.vue.d.ts +22 -0
- package/dist/components/MaActivityFeed.vue.d.ts +31 -0
- package/dist/components/MaAiAssistant.vue.d.ts +17 -0
- package/dist/components/MaAiChat.vue.d.ts +5 -0
- package/dist/components/MaAlert.vue.d.ts +38 -0
- package/dist/components/MaAvatar.vue.d.ts +32 -0
- package/dist/components/MaBadge.vue.d.ts +31 -0
- package/dist/components/MaBlogCard.vue.d.ts +30 -0
- package/dist/components/MaBreadcrumb.vue.d.ts +33 -0
- package/dist/components/MaButton.vue.d.ts +39 -0
- package/dist/components/MaCalendar.vue.d.ts +45 -0
- package/dist/components/MaCard.vue.d.ts +38 -0
- package/dist/components/MaChart.vue.d.ts +14 -0
- package/dist/components/MaCheckbox.vue.d.ts +38 -0
- package/dist/components/MaCheckout.vue.d.ts +33 -0
- package/dist/components/MaCol.vue.d.ts +43 -0
- package/dist/components/MaCommandPalette.vue.d.ts +21 -0
- package/dist/components/MaConfirmModal.vue.d.ts +16 -0
- package/dist/components/MaCourseCard.vue.d.ts +48 -0
- package/dist/components/MaDatePicker.vue.d.ts +21 -0
- package/dist/components/MaDrawer.vue.d.ts +34 -0
- package/dist/components/MaDropdown.vue.d.ts +23 -0
- package/dist/components/MaEmpty.vue.d.ts +24 -0
- package/dist/components/MaErrorBoundary.vue.d.ts +17 -0
- package/dist/components/MaFaq.vue.d.ts +16 -0
- package/dist/components/MaFooter.vue.d.ts +33 -0
- package/dist/components/MaFormGroup.vue.d.ts +32 -0
- package/dist/components/MaHeader.vue.d.ts +19 -0
- package/dist/components/MaIcon.vue.d.ts +11 -0
- package/dist/components/MaInput.vue.d.ts +56 -0
- package/dist/components/MaJobCard.vue.d.ts +27 -0
- package/dist/components/MaJobListing.vue.d.ts +37 -0
- package/dist/components/MaKanban.vue.d.ts +49 -0
- package/dist/components/MaLayout.vue.d.ts +29 -0
- package/dist/components/MaModal.vue.d.ts +39 -0
- package/dist/components/MaNavbar.vue.d.ts +28 -0
- package/dist/components/MaNewsletter.vue.d.ts +26 -0
- package/dist/components/MaNotification.vue.d.ts +40 -0
- package/dist/components/MaPagination.vue.d.ts +31 -0
- package/dist/components/MaPricingCard.vue.d.ts +20 -0
- package/dist/components/MaProgress.vue.d.ts +16 -0
- package/dist/components/MaPropertyCard.vue.d.ts +45 -0
- package/dist/components/MaRadio.vue.d.ts +36 -0
- package/dist/components/MaRecipe.vue.d.ts +46 -0
- package/dist/components/MaRichTextEditor.vue.d.ts +22 -0
- package/dist/components/MaRow.vue.d.ts +26 -0
- package/dist/components/MaSelect.vue.d.ts +52 -0
- package/dist/components/MaShoppingCart.vue.d.ts +50 -0
- package/dist/components/MaSidebar.vue.d.ts +18 -0
- package/dist/components/MaSkeleton.vue.d.ts +11 -0
- package/dist/components/MaSpinner.vue.d.ts +10 -0
- package/dist/components/MaStatWidget.vue.d.ts +31 -0
- package/dist/components/MaStatistic.vue.d.ts +29 -0
- package/dist/components/MaStep.vue.d.ts +25 -0
- package/dist/components/MaSteps.vue.d.ts +26 -0
- package/dist/components/MaSwitch.vue.d.ts +39 -0
- package/dist/components/MaTable.vue.d.ts +83 -0
- package/dist/components/MaTabs.vue.d.ts +30 -0
- package/dist/components/MaTag.vue.d.ts +37 -0
- package/dist/components/MaTaskList.vue.d.ts +19 -0
- package/dist/components/MaTeamMember.vue.d.ts +43 -0
- package/dist/components/MaTestimonial.vue.d.ts +18 -0
- package/dist/components/MaTextarea.vue.d.ts +16 -0
- package/dist/components/MaThemeCustomizer.vue.d.ts +2 -0
- package/dist/components/MaTimePicker.vue.d.ts +23 -0
- package/dist/components/MaTimeline.vue.d.ts +17 -0
- package/dist/components/MaTimelineItem.vue.d.ts +24 -0
- package/dist/components/MaToast.vue.d.ts +11 -0
- package/dist/components/MaTooltip.vue.d.ts +31 -0
- package/dist/components/MaTree.vue.d.ts +45 -0
- package/dist/components/MaTreeSelect.vue.d.ts +27 -0
- package/dist/components/MaUpload.vue.d.ts +21 -0
- package/dist/components/MaUserProfile.vue.d.ts +31 -0
- package/dist/components/MaVideoThumbnail.vue.d.ts +61 -0
- package/dist/components/__tests__/MaButton.spec.d.ts +1 -0
- package/dist/components/__tests__/MaTable.spec.d.ts +1 -0
- package/dist/composables/useA11y.d.ts +4 -0
- package/dist/composables/useBreakpoint.d.ts +8 -0
- package/dist/composables/useCrud.d.ts +41 -0
- package/dist/composables/useForm.d.ts +25 -0
- package/dist/composables/useNotification.d.ts +33 -0
- package/dist/composables/usePermission.d.ts +9 -0
- package/dist/composables/useRouterHelper.d.ts +9 -0
- package/dist/composables/useTheme.d.ts +14 -0
- package/dist/composables/useToast.d.ts +8 -0
- package/dist/directives/v-permission.d.ts +2 -0
- package/dist/index.d.ts +93 -0
- package/dist/locale/__tests__/locale.spec.d.ts +1 -0
- package/dist/locale/en.d.ts +44 -0
- package/dist/locale/index.d.ts +50 -0
- package/dist/main.d.ts +0 -0
- package/dist/my-admin-framework.css +1 -0
- package/dist/my-admin-framework.js +11701 -0
- package/dist/my-admin-framework.umd.cjs +129 -0
- package/dist/plugins/globalErrorHandler.d.ts +4 -0
- package/dist/utils/confirm.d.ts +10 -0
- package/dist/utils/request.d.ts +16 -0
- package/dist/utils/security.d.ts +10 -0
- package/dist/vite.svg +1 -0
- package/package.json +73 -0
package/dist/index.d.ts
ADDED
|
@@ -0,0 +1,93 @@
|
|
|
1
|
+
import { App } from 'vue';
|
|
2
|
+
import { default as MaButton } from './components/MaButton.vue';
|
|
3
|
+
import { default as MaCard } from './components/MaCard.vue';
|
|
4
|
+
import { default as MaLayout } from './components/MaLayout.vue';
|
|
5
|
+
import { default as MaSidebar } from './components/MaSidebar.vue';
|
|
6
|
+
import { default as MaHeader } from './components/MaHeader.vue';
|
|
7
|
+
import { default as MaTable } from './components/MaTable.vue';
|
|
8
|
+
import { default as MaModal } from './components/MaModal.vue';
|
|
9
|
+
import { default as MaInput } from './components/MaInput.vue';
|
|
10
|
+
import { default as MaBadge } from './components/MaBadge.vue';
|
|
11
|
+
import { default as MaToast } from './components/MaToast.vue';
|
|
12
|
+
import { default as MaSwitch } from './components/MaSwitch.vue';
|
|
13
|
+
import { default as MaDropdown } from './components/MaDropdown.vue';
|
|
14
|
+
import { default as MaSelect } from './components/MaSelect.vue';
|
|
15
|
+
import { default as MaCheckbox } from './components/MaCheckbox.vue';
|
|
16
|
+
import { default as MaRadio } from './components/MaRadio.vue';
|
|
17
|
+
import { default as MaTextarea } from './components/MaTextarea.vue';
|
|
18
|
+
import { default as MaFormGroup } from './components/MaFormGroup.vue';
|
|
19
|
+
import { default as MaBreadcrumb } from './components/MaBreadcrumb.vue';
|
|
20
|
+
import { default as MaTabs } from './components/MaTabs.vue';
|
|
21
|
+
import { default as MaRow } from './components/MaRow.vue';
|
|
22
|
+
import { default as MaCol } from './components/MaCol.vue';
|
|
23
|
+
import { default as MaAvatar } from './components/MaAvatar.vue';
|
|
24
|
+
import { default as MaTag } from './components/MaTag.vue';
|
|
25
|
+
import { default as MaAlert } from './components/MaAlert.vue';
|
|
26
|
+
import { default as MaTooltip } from './components/MaTooltip.vue';
|
|
27
|
+
import { default as MaChart } from './components/MaChart.vue';
|
|
28
|
+
import { default as MaDatePicker } from './components/MaDatePicker.vue';
|
|
29
|
+
import { default as MaTimePicker } from './components/MaTimePicker.vue';
|
|
30
|
+
import { default as MaUpload } from './components/MaUpload.vue';
|
|
31
|
+
import { default as MaDrawer } from './components/MaDrawer.vue';
|
|
32
|
+
import { default as MaSkeleton } from './components/MaSkeleton.vue';
|
|
33
|
+
import { default as MaTimeline } from './components/MaTimeline.vue';
|
|
34
|
+
import { default as MaTimelineItem } from './components/MaTimelineItem.vue';
|
|
35
|
+
import { default as MaSteps } from './components/MaSteps.vue';
|
|
36
|
+
import { default as MaStep } from './components/MaStep.vue';
|
|
37
|
+
import { default as MaAccordion } from './components/MaAccordion.vue';
|
|
38
|
+
import { default as MaAccordionItem } from './components/MaAccordionItem.vue';
|
|
39
|
+
import { default as MaPagination } from './components/MaPagination.vue';
|
|
40
|
+
import { default as MaProgress } from './components/MaProgress.vue';
|
|
41
|
+
import { default as MaEmpty } from './components/MaEmpty.vue';
|
|
42
|
+
import { default as MaSpinner } from './components/MaSpinner.vue';
|
|
43
|
+
import { default as MaStatistic } from './components/MaStatistic.vue';
|
|
44
|
+
import { default as MaIcon } from './components/MaIcon.vue';
|
|
45
|
+
import { default as MaNotification } from './components/MaNotification.vue';
|
|
46
|
+
import { default as MaRichTextEditor } from './components/MaRichTextEditor.vue';
|
|
47
|
+
import { default as MaTree } from './components/MaTree.vue';
|
|
48
|
+
import { default as MaKanban } from './components/MaKanban.vue';
|
|
49
|
+
import { default as MaCalendar } from './components/MaCalendar.vue';
|
|
50
|
+
import { default as MaTreeSelect } from './components/MaTreeSelect.vue';
|
|
51
|
+
import { MaConfirm } from './utils/confirm';
|
|
52
|
+
import { useTheme } from './composables/useTheme';
|
|
53
|
+
import { useToast } from './composables/useToast';
|
|
54
|
+
import { useForm } from './composables/useForm';
|
|
55
|
+
import { usePermission } from './composables/usePermission';
|
|
56
|
+
import { useNotification } from './composables/useNotification';
|
|
57
|
+
import { useCrud } from './composables/useCrud';
|
|
58
|
+
import { createApiClient } from './utils/request';
|
|
59
|
+
import { globalErrorHandler } from './plugins/globalErrorHandler';
|
|
60
|
+
import { vPermission } from './directives/v-permission';
|
|
61
|
+
import { default as MaCommandPalette } from './components/MaCommandPalette.vue';
|
|
62
|
+
import { default as MaAiAssistant } from './components/MaAiAssistant.vue';
|
|
63
|
+
import { default as MaAiChat } from './components/MaAiChat.vue';
|
|
64
|
+
import { default as MaErrorBoundary } from './components/MaErrorBoundary.vue';
|
|
65
|
+
import { default as MaVideoThumbnail } from './components/MaVideoThumbnail.vue';
|
|
66
|
+
import { default as MaStatWidget } from './components/MaStatWidget.vue';
|
|
67
|
+
import { default as MaActivityFeed } from './components/MaActivityFeed.vue';
|
|
68
|
+
import { default as MaTaskList } from './components/MaTaskList.vue';
|
|
69
|
+
import { default as MaUserProfile } from './components/MaUserProfile.vue';
|
|
70
|
+
import { default as MaPricingCard } from './components/MaPricingCard.vue';
|
|
71
|
+
import { default as MaNavbar } from './components/MaNavbar.vue';
|
|
72
|
+
import { default as MaShoppingCart } from './components/MaShoppingCart.vue';
|
|
73
|
+
import { default as MaCheckout } from './components/MaCheckout.vue';
|
|
74
|
+
import { default as MaRecipe } from './components/MaRecipe.vue';
|
|
75
|
+
import { default as MaJobListing } from './components/MaJobListing.vue';
|
|
76
|
+
import { default as MaJobCard } from './components/MaJobCard.vue';
|
|
77
|
+
import { default as MaTestimonial } from './components/MaTestimonial.vue';
|
|
78
|
+
import { default as MaBlogCard } from './components/MaBlogCard.vue';
|
|
79
|
+
import { default as MaPropertyCard } from './components/MaPropertyCard.vue';
|
|
80
|
+
import { default as MaCourseCard } from './components/MaCourseCard.vue';
|
|
81
|
+
import { default as MaTeamMember } from './components/MaTeamMember.vue';
|
|
82
|
+
import { default as MaFaq } from './components/MaFaq.vue';
|
|
83
|
+
import { default as MaNewsletter } from './components/MaNewsletter.vue';
|
|
84
|
+
import { default as MaFooter } from './components/MaFooter.vue';
|
|
85
|
+
import { useBreakpoint } from './composables/useBreakpoint';
|
|
86
|
+
import { useRouterHelper } from './composables/useRouterHelper';
|
|
87
|
+
import { useA11y } from './composables/useA11y';
|
|
88
|
+
import { sanitizeHtml, escapeHtml } from './utils/security';
|
|
89
|
+
export { MaButton, MaCard, MaLayout, MaSidebar, MaHeader, MaTable, MaModal, MaInput, MaBadge, MaToast, MaSwitch, MaDropdown, MaSelect, MaCheckbox, MaRadio, MaTextarea, MaFormGroup, MaBreadcrumb, MaTabs, MaRow, MaCol, MaAvatar, MaTag, MaAlert, MaTooltip, MaChart, MaDatePicker, MaTimePicker, MaUpload, MaDrawer, MaSkeleton, MaTimeline, MaTimelineItem, MaSteps, MaStep, MaAccordion, MaAccordionItem, MaPagination, MaProgress, MaEmpty, MaSpinner, MaStatistic, MaIcon, MaNotification, MaRichTextEditor, MaTree, MaTreeSelect, MaKanban, MaCalendar, MaCommandPalette, MaAiAssistant, MaAiChat, MaErrorBoundary, MaVideoThumbnail, MaStatWidget, MaActivityFeed, MaTaskList, MaUserProfile, MaPricingCard, MaNavbar, MaShoppingCart, MaCheckout, MaRecipe, MaJobListing, MaJobCard, MaTestimonial, MaBlogCard, MaPropertyCard, MaCourseCard, MaTeamMember, MaFaq, MaNewsletter, MaFooter, MaConfirm, useTheme, useToast, useForm, usePermission, useNotification, useCrud, useBreakpoint, useRouterHelper, useA11y, createApiClient, globalErrorHandler, sanitizeHtml, escapeHtml, vPermission };
|
|
90
|
+
declare const _default: {
|
|
91
|
+
install: (app: App) => void;
|
|
92
|
+
};
|
|
93
|
+
export default _default;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
declare const _default: {
|
|
2
|
+
common: {
|
|
3
|
+
confirm: string;
|
|
4
|
+
cancel: string;
|
|
5
|
+
save: string;
|
|
6
|
+
delete: string;
|
|
7
|
+
edit: string;
|
|
8
|
+
search: string;
|
|
9
|
+
reset: string;
|
|
10
|
+
loading: string;
|
|
11
|
+
noData: string;
|
|
12
|
+
success: string;
|
|
13
|
+
error: string;
|
|
14
|
+
warning: string;
|
|
15
|
+
info: string;
|
|
16
|
+
};
|
|
17
|
+
table: {
|
|
18
|
+
density: string;
|
|
19
|
+
densitySmall: string;
|
|
20
|
+
densityMedium: string;
|
|
21
|
+
densityLarge: string;
|
|
22
|
+
filter: string;
|
|
23
|
+
exportCSV: string;
|
|
24
|
+
selection: string;
|
|
25
|
+
clearSelection: string;
|
|
26
|
+
itemsPerPage: string;
|
|
27
|
+
total: string;
|
|
28
|
+
page: string;
|
|
29
|
+
};
|
|
30
|
+
pagination: {
|
|
31
|
+
prev: string;
|
|
32
|
+
next: string;
|
|
33
|
+
goto: string;
|
|
34
|
+
page: string;
|
|
35
|
+
};
|
|
36
|
+
upload: {
|
|
37
|
+
dragText: string;
|
|
38
|
+
clickText: string;
|
|
39
|
+
uploading: string;
|
|
40
|
+
error: string;
|
|
41
|
+
success: string;
|
|
42
|
+
};
|
|
43
|
+
};
|
|
44
|
+
export default _default;
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
import { default as en } from './en';
|
|
2
|
+
export declare const defaultI18n: import('vue-i18n').I18n<{
|
|
3
|
+
en: {
|
|
4
|
+
common: {
|
|
5
|
+
confirm: string;
|
|
6
|
+
cancel: string;
|
|
7
|
+
save: string;
|
|
8
|
+
delete: string;
|
|
9
|
+
edit: string;
|
|
10
|
+
search: string;
|
|
11
|
+
reset: string;
|
|
12
|
+
loading: string;
|
|
13
|
+
noData: string;
|
|
14
|
+
success: string;
|
|
15
|
+
error: string;
|
|
16
|
+
warning: string;
|
|
17
|
+
info: string;
|
|
18
|
+
};
|
|
19
|
+
table: {
|
|
20
|
+
density: string;
|
|
21
|
+
densitySmall: string;
|
|
22
|
+
densityMedium: string;
|
|
23
|
+
densityLarge: string;
|
|
24
|
+
filter: string;
|
|
25
|
+
exportCSV: string;
|
|
26
|
+
selection: string;
|
|
27
|
+
clearSelection: string;
|
|
28
|
+
itemsPerPage: string;
|
|
29
|
+
total: string;
|
|
30
|
+
page: string;
|
|
31
|
+
};
|
|
32
|
+
pagination: {
|
|
33
|
+
prev: string;
|
|
34
|
+
next: string;
|
|
35
|
+
goto: string;
|
|
36
|
+
page: string;
|
|
37
|
+
};
|
|
38
|
+
upload: {
|
|
39
|
+
dragText: string;
|
|
40
|
+
clickText: string;
|
|
41
|
+
uploading: string;
|
|
42
|
+
error: string;
|
|
43
|
+
success: string;
|
|
44
|
+
};
|
|
45
|
+
};
|
|
46
|
+
}, {}, {}, string, false>;
|
|
47
|
+
export declare const useMaLocale: () => {
|
|
48
|
+
t: (key: string) => string;
|
|
49
|
+
};
|
|
50
|
+
export { en };
|
package/dist/main.d.ts
ADDED
|
File without changes
|