@solostylist/ui-kit 1.0.0
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 +13 -0
- package/dist/AppAutocomplete/AppAutocomplete.d.ts +10 -0
- package/dist/AppAutocomplete/AppAutocomplete.js +19 -0
- package/dist/AppAutocomplete/index.d.ts +1 -0
- package/dist/AppAutocomplete/index.js +4 -0
- package/dist/AppAutocomplete/package.json +5 -0
- package/dist/AppAvatar/AppAvatar.d.ts +7 -0
- package/dist/AppAvatar/AppAvatar.js +13 -0
- package/dist/AppAvatar/index.d.ts +1 -0
- package/dist/AppAvatar/index.js +4 -0
- package/dist/AppAvatar/package.json +5 -0
- package/dist/AppBox/AppBox.d.ts +7 -0
- package/dist/AppBox/AppBox.js +7 -0
- package/dist/AppBox/index.d.ts +1 -0
- package/dist/AppBox/index.js +4 -0
- package/dist/AppBox/package.json +5 -0
- package/dist/AppBreadcrumbsSeparator/AppBreadcrumbsSeparator.d.ts +3 -0
- package/dist/AppBreadcrumbsSeparator/AppBreadcrumbsSeparator.js +6 -0
- package/dist/AppBreadcrumbsSeparator/index.d.ts +1 -0
- package/dist/AppBreadcrumbsSeparator/index.js +4 -0
- package/dist/AppBreadcrumbsSeparator/package.json +5 -0
- package/dist/AppButton/AppButton.d.ts +9 -0
- package/dist/AppButton/AppButton.js +44 -0
- package/dist/AppButton/index.d.ts +1 -0
- package/dist/AppButton/index.js +4 -0
- package/dist/AppButton/package.json +5 -0
- package/dist/AppButtonLink/AppButtonLink.d.ts +16 -0
- package/dist/AppButtonLink/AppButtonLink.js +36 -0
- package/dist/AppButtonLink/index.d.ts +1 -0
- package/dist/AppButtonLink/index.js +4 -0
- package/dist/AppButtonLink/package.json +5 -0
- package/dist/AppCard/AppCard.d.ts +6 -0
- package/dist/AppCard/AppCard.js +6 -0
- package/dist/AppCard/index.d.ts +1 -0
- package/dist/AppCard/index.js +4 -0
- package/dist/AppCard/package.json +5 -0
- package/dist/AppCardActions/AppCardActions.d.ts +6 -0
- package/dist/AppCardActions/AppCardActions.js +6 -0
- package/dist/AppCardActions/index.d.ts +1 -0
- package/dist/AppCardActions/index.js +4 -0
- package/dist/AppCardActions/package.json +5 -0
- package/dist/AppCardContent/AppCardContent.d.ts +6 -0
- package/dist/AppCardContent/AppCardContent.js +6 -0
- package/dist/AppCardContent/index.d.ts +1 -0
- package/dist/AppCardContent/index.js +4 -0
- package/dist/AppCardContent/package.json +5 -0
- package/dist/AppCardHeader/AppCardHeader.d.ts +10 -0
- package/dist/AppCardHeader/AppCardHeader.js +13 -0
- package/dist/AppCardHeader/index.d.ts +1 -0
- package/dist/AppCardHeader/index.js +4 -0
- package/dist/AppCardHeader/package.json +5 -0
- package/dist/AppCheckbox/AppCheckbox.d.ts +7 -0
- package/dist/AppCheckbox/AppCheckbox.js +16 -0
- package/dist/AppCheckbox/index.d.ts +1 -0
- package/dist/AppCheckbox/index.js +4 -0
- package/dist/AppCheckbox/package.json +5 -0
- package/dist/AppChip/AppChip.d.ts +6 -0
- package/dist/AppChip/AppChip.js +6 -0
- package/dist/AppChip/index.d.ts +1 -0
- package/dist/AppChip/index.js +4 -0
- package/dist/AppChip/package.json +5 -0
- package/dist/AppChips/AppChips.d.ts +7 -0
- package/dist/AppChips/AppChips.js +72 -0
- package/dist/AppChips/index.d.ts +1 -0
- package/dist/AppChips/index.js +4 -0
- package/dist/AppChips/package.json +5 -0
- package/dist/AppDataTable/AppDataTable.d.ts +29 -0
- package/dist/AppDataTable/AppDataTable.js +1178 -0
- package/dist/AppDataTable/index.d.ts +2 -0
- package/dist/AppDataTable/index.js +4 -0
- package/dist/AppDataTable/package.json +5 -0
- package/dist/AppDialog/AppDialog.d.ts +15 -0
- package/dist/AppDialog/AppDialog.js +31 -0
- package/dist/AppDialog/index.d.ts +1 -0
- package/dist/AppDialog/index.js +4 -0
- package/dist/AppDialog/package.json +5 -0
- package/dist/AppDialogConfirm/AppDialogConfirm.d.ts +30 -0
- package/dist/AppDialogConfirm/AppDialogConfirm.js +74 -0
- package/dist/AppDialogConfirm/index.d.ts +2 -0
- package/dist/AppDialogConfirm/index.js +6 -0
- package/dist/AppDialogConfirm/package.json +5 -0
- package/dist/AppDialogMessage/AppDialogMessage.d.ts +27 -0
- package/dist/AppDialogMessage/AppDialogMessage.js +64 -0
- package/dist/AppDialogMessage/index.d.ts +2 -0
- package/dist/AppDialogMessage/index.js +6 -0
- package/dist/AppDialogMessage/package.json +5 -0
- package/dist/AppEmpty/AppEmpty.d.ts +5 -0
- package/dist/AppEmpty/AppEmpty.js +6 -0
- package/dist/AppEmpty/index.d.ts +1 -0
- package/dist/AppEmpty/index.js +4 -0
- package/dist/AppEmpty/package.json +5 -0
- package/dist/AppError/AppError.d.ts +3 -0
- package/dist/AppError/AppError.js +18 -0
- package/dist/AppError/index.d.ts +1 -0
- package/dist/AppError/index.js +4 -0
- package/dist/AppError/package.json +5 -0
- package/dist/AppFileDropzone/AppFileDropzone.d.ts +20 -0
- package/dist/AppFileDropzone/AppFileDropzone.js +166 -0
- package/dist/AppFileDropzone/index.d.ts +2 -0
- package/dist/AppFileDropzone/index.js +4 -0
- package/dist/AppFileDropzone/package.json +5 -0
- package/dist/AppFileIcon/AppFileIcon.d.ts +6 -0
- package/dist/AppFileIcon/AppFileIcon.js +29 -0
- package/dist/AppFileIcon/index.d.ts +1 -0
- package/dist/AppFileIcon/index.js +4 -0
- package/dist/AppFileIcon/package.json +5 -0
- package/dist/AppFormControl/AppFormControl.d.ts +8 -0
- package/dist/AppFormControl/AppFormControl.js +10 -0
- package/dist/AppFormControl/index.d.ts +1 -0
- package/dist/AppFormControl/index.js +4 -0
- package/dist/AppFormControl/package.json +5 -0
- package/dist/AppGallery/AppGallery.d.ts +6 -0
- package/dist/AppGallery/AppGallery.js +1089 -0
- package/dist/AppGallery/index.d.ts +1 -0
- package/dist/AppGallery/index.js +4 -0
- package/dist/AppGallery/package.json +5 -0
- package/dist/AppI18nProvider/AppI18nProvider.d.ts +7 -0
- package/dist/AppI18nProvider/AppI18nProvider.js +20 -0
- package/dist/AppI18nProvider/index.d.ts +1 -0
- package/dist/AppI18nProvider/index.js +4 -0
- package/dist/AppI18nProvider/package.json +5 -0
- package/dist/AppIconButton/AppIconButton.d.ts +8 -0
- package/dist/AppIconButton/AppIconButton.js +6 -0
- package/dist/AppIconButton/index.d.ts +1 -0
- package/dist/AppIconButton/index.js +4 -0
- package/dist/AppIconButton/package.json +5 -0
- package/dist/AppIcons/AppIcons.d.ts +3 -0
- package/dist/AppIcons/AppIcons.js +1081 -0
- package/dist/AppIcons/index.d.ts +1 -0
- package/dist/AppIcons/index.js +4 -0
- package/dist/AppIcons/package.json +5 -0
- package/dist/AppLabel/AppLabel.d.ts +11 -0
- package/dist/AppLabel/AppLabel.js +21 -0
- package/dist/AppLabel/index.d.ts +1 -0
- package/dist/AppLabel/index.js +4 -0
- package/dist/AppLabel/package.json +5 -0
- package/dist/AppLink/AppLink.d.ts +6 -0
- package/dist/AppLink/AppLink.js +6 -0
- package/dist/AppLink/index.d.ts +1 -0
- package/dist/AppLink/index.js +4 -0
- package/dist/AppLink/package.json +5 -0
- package/dist/AppMultiSelect/AppMultiSelect.d.ts +12 -0
- package/dist/AppMultiSelect/AppMultiSelect.js +61 -0
- package/dist/AppMultiSelect/index.d.ts +1 -0
- package/dist/AppMultiSelect/index.js +4 -0
- package/dist/AppMultiSelect/package.json +5 -0
- package/dist/AppNoData/AppNoData.d.ts +5 -0
- package/dist/AppNoData/AppNoData.js +6 -0
- package/dist/AppNoData/index.d.ts +1 -0
- package/dist/AppNoData/index.js +4 -0
- package/dist/AppNoData/package.json +5 -0
- package/dist/AppNoSsr/AppNoSsr.d.ts +8 -0
- package/dist/AppNoSsr/AppNoSsr.js +14 -0
- package/dist/AppNoSsr/index.d.ts +1 -0
- package/dist/AppNoSsr/index.js +4 -0
- package/dist/AppNoSsr/package.json +5 -0
- package/dist/AppOption/AppOption.d.ts +9 -0
- package/dist/AppOption/AppOption.js +6 -0
- package/dist/AppOption/index.d.ts +1 -0
- package/dist/AppOption/index.js +4 -0
- package/dist/AppOption/package.json +5 -0
- package/dist/AppOutlinedInput/AppOutlinedInput.d.ts +10 -0
- package/dist/AppOutlinedInput/AppOutlinedInput.js +40 -0
- package/dist/AppOutlinedInput/index.d.ts +1 -0
- package/dist/AppOutlinedInput/index.js +4 -0
- package/dist/AppOutlinedInput/package.json +5 -0
- package/dist/AppPagination/AppPagination.d.ts +7 -0
- package/dist/AppPagination/AppPagination.js +17 -0
- package/dist/AppPagination/index.d.ts +1 -0
- package/dist/AppPagination/index.js +4 -0
- package/dist/AppPagination/package.json +5 -0
- package/dist/AppRating/AppRating.d.ts +7 -0
- package/dist/AppRating/AppRating.js +7 -0
- package/dist/AppRating/index.d.ts +1 -0
- package/dist/AppRating/index.js +4 -0
- package/dist/AppRating/package.json +5 -0
- package/dist/AppSelect/AppSelect.d.ts +14 -0
- package/dist/AppSelect/AppSelect.js +82 -0
- package/dist/AppSelect/index.d.ts +1 -0
- package/dist/AppSelect/index.js +4 -0
- package/dist/AppSelect/package.json +5 -0
- package/dist/AppSkeleton/AppSkeleton.d.ts +11 -0
- package/dist/AppSkeleton/AppSkeleton.js +34 -0
- package/dist/AppSkeleton/index.d.ts +1 -0
- package/dist/AppSkeleton/index.js +4 -0
- package/dist/AppSkeleton/package.json +5 -0
- package/dist/AppSnackbarMessage/AppSnackbarMessage.d.ts +23 -0
- package/dist/AppSnackbarMessage/AppSnackbarMessage.js +50 -0
- package/dist/AppSnackbarMessage/index.d.ts +2 -0
- package/dist/AppSnackbarMessage/index.js +6 -0
- package/dist/AppSnackbarMessage/package.json +5 -0
- package/dist/AppStack/AppStack.d.ts +6 -0
- package/dist/AppStack/AppStack.js +6 -0
- package/dist/AppStack/index.d.ts +1 -0
- package/dist/AppStack/index.js +4 -0
- package/dist/AppStack/package.json +5 -0
- package/dist/AppTextEditor/AppTextEditor.d.ts +23 -0
- package/dist/AppTextEditor/AppTextEditor.js +80 -0
- package/dist/AppTextEditor/TextEditorToolbar.d.ts +6 -0
- package/dist/AppTextEditor/TextEditorToolbar.js +4479 -0
- package/dist/AppTextEditor/index.d.ts +1 -0
- package/dist/AppTextEditor/index.js +4 -0
- package/dist/AppTextEditor/package.json +5 -0
- package/dist/AppTextTruncation/AppTextTruncation.d.ts +6 -0
- package/dist/AppTextTruncation/AppTextTruncation.js +15 -0
- package/dist/AppTextTruncation/index.d.ts +1 -0
- package/dist/AppTextTruncation/index.js +4 -0
- package/dist/AppTextTruncation/package.json +5 -0
- package/dist/AppThemeProvider/AppThemeProvider.d.ts +9 -0
- package/dist/AppThemeProvider/AppThemeProvider.js +141 -0
- package/dist/AppThemeProvider/index.d.ts +1 -0
- package/dist/AppThemeProvider/index.js +4 -0
- package/dist/AppThemeProvider/package.json +5 -0
- package/dist/AppTip/AppTip.d.ts +6 -0
- package/dist/AppTip/AppTip.js +28 -0
- package/dist/AppTip/index.d.ts +1 -0
- package/dist/AppTip/index.js +4 -0
- package/dist/AppTip/package.json +5 -0
- package/dist/Box-yxuKPTCX.js +60 -0
- package/dist/ButtonBase-p_uz8ITC.js +989 -0
- package/dist/CaretDown-CgrRY9__.js +41 -0
- package/dist/DefaultPropsProvider-BV4t9fEW.js +71 -0
- package/dist/Lightbulb-1rDyOsPk.js +47 -0
- package/dist/Menu-B0R91i07.js +2994 -0
- package/dist/MenuItem-BjjYkRmW.js +262 -0
- package/dist/SSRBase-B9xq2wUG.js +56 -0
- package/dist/Stack-D9qNbbkC.js +198 -0
- package/dist/Typography-BYkXNa-U.js +260 -0
- package/dist/User-Bx-HYRxI.js +41 -0
- package/dist/X-DETrowOy.js +47 -0
- package/dist/_commonjsHelpers-DaMA6jEr.js +8 -0
- package/dist/assets/AppGallery.css +1 -0
- package/dist/assets/AppTextTruncation.css +1 -0
- package/dist/backdropClasses-DDhytLTQ.js +9 -0
- package/dist/clsx-C-FXfxyk.js +236 -0
- package/dist/createSimplePaletteValueFilter-B7--0ryQ.js +17 -0
- package/dist/createTheme-C97xvI-s.js +2789 -0
- package/dist/extendSxProp-CKQgGYDd.js +37 -0
- package/dist/generateUtilityClasses-CuEy5gtx.js +41 -0
- package/dist/hooks/index.d.ts +2 -0
- package/dist/hooks/index.js +6 -0
- package/dist/hooks/use-dialog.d.ts +7 -0
- package/dist/hooks/use-dialog.js +12 -0
- package/dist/hooks/use-popover.d.ts +10 -0
- package/dist/hooks/use-popover.js +14 -0
- package/dist/index-Btrukby7.js +88 -0
- package/dist/inputBaseClasses-s6dljKxi.js +9 -0
- package/dist/jsx-runtime-B6kdoens.js +634 -0
- package/dist/listItemIconClasses-CTdclC9V.js +5 -0
- package/dist/main.d.ts +51 -0
- package/dist/main.js +111 -0
- package/dist/memoTheme-B2qvAi64.js +404 -0
- package/dist/outlinedInputClasses-R7dmh7eW.js +13 -0
- package/dist/paperClasses-Bf2rrWVr.js +9 -0
- package/dist/styles/theme/color-schemes.d.ts +7 -0
- package/dist/styles/theme/color-schemes.js +195 -0
- package/dist/styles/theme/colors.d.ts +92 -0
- package/dist/styles/theme/colors.js +94 -0
- package/dist/styles/theme/components/accordion.d.ts +8 -0
- package/dist/styles/theme/components/accordion.js +11 -0
- package/dist/styles/theme/components/alert.d.ts +7 -0
- package/dist/styles/theme/components/alert.js +4 -0
- package/dist/styles/theme/components/autocomplete.d.ts +124 -0
- package/dist/styles/theme/components/autocomplete.js +51 -0
- package/dist/styles/theme/components/avatar.d.ts +18 -0
- package/dist/styles/theme/components/avatar.js +21 -0
- package/dist/styles/theme/components/backdrop.d.ts +9 -0
- package/dist/styles/theme/components/backdrop.js +9 -0
- package/dist/styles/theme/components/button-base.d.ts +5 -0
- package/dist/styles/theme/components/button-base.js +4 -0
- package/dist/styles/theme/components/button-group.d.ts +5 -0
- package/dist/styles/theme/components/button-group.js +4 -0
- package/dist/styles/theme/components/button.d.ts +180 -0
- package/dist/styles/theme/components/button.js +109 -0
- package/dist/styles/theme/components/card-actions.d.ts +7 -0
- package/dist/styles/theme/components/card-actions.js +6 -0
- package/dist/styles/theme/components/card-content.d.ts +10 -0
- package/dist/styles/theme/components/card-content.js +7 -0
- package/dist/styles/theme/components/card-header.d.ts +25 -0
- package/dist/styles/theme/components/card-header.js +20 -0
- package/dist/styles/theme/components/card.d.ts +979 -0
- package/dist/styles/theme/components/card.js +17 -0
- package/dist/styles/theme/components/checkbox.d.ts +18 -0
- package/dist/styles/theme/components/checkbox.js +60 -0
- package/dist/styles/theme/components/chip.d.ts +1092 -0
- package/dist/styles/theme/components/chip.js +106 -0
- package/dist/styles/theme/components/components.d.ts +3206 -0
- package/dist/styles/theme/components/components.js +115 -0
- package/dist/styles/theme/components/dialog-actions.d.ts +7 -0
- package/dist/styles/theme/components/dialog-actions.js +6 -0
- package/dist/styles/theme/components/dialog-content-text.d.ts +8 -0
- package/dist/styles/theme/components/dialog-content-text.js +6 -0
- package/dist/styles/theme/components/dialog-content.d.ts +8 -0
- package/dist/styles/theme/components/dialog-content.js +6 -0
- package/dist/styles/theme/components/dialog-title.d.ts +7 -0
- package/dist/styles/theme/components/dialog-title.js +6 -0
- package/dist/styles/theme/components/filled-input.d.ts +31 -0
- package/dist/styles/theme/components/filled-input.js +21 -0
- package/dist/styles/theme/components/form-control-label.d.ts +15 -0
- package/dist/styles/theme/components/form-control-label.js +7 -0
- package/dist/styles/theme/components/form-group.d.ts +7 -0
- package/dist/styles/theme/components/form-group.js +4 -0
- package/dist/styles/theme/components/form-helper-text.d.ts +8 -0
- package/dist/styles/theme/components/form-helper-text.js +8 -0
- package/dist/styles/theme/components/form-label.d.ts +12 -0
- package/dist/styles/theme/components/form-label.js +9 -0
- package/dist/styles/theme/components/icon-button.d.ts +83 -0
- package/dist/styles/theme/components/icon-button.js +49 -0
- package/dist/styles/theme/components/input-base.d.ts +39 -0
- package/dist/styles/theme/components/input-base.js +34 -0
- package/dist/styles/theme/components/input-label.d.ts +10 -0
- package/dist/styles/theme/components/input-label.js +6 -0
- package/dist/styles/theme/components/input.d.ts +32 -0
- package/dist/styles/theme/components/input.js +22 -0
- package/dist/styles/theme/components/linear-progress.d.ts +8 -0
- package/dist/styles/theme/components/linear-progress.js +6 -0
- package/dist/styles/theme/components/link.d.ts +10 -0
- package/dist/styles/theme/components/link.js +11 -0
- package/dist/styles/theme/components/list-item-avatar.d.ts +7 -0
- package/dist/styles/theme/components/list-item-avatar.js +6 -0
- package/dist/styles/theme/components/list-item-button.d.ts +10 -0
- package/dist/styles/theme/components/list-item-button.js +7 -0
- package/dist/styles/theme/components/list-item-icon.d.ts +9 -0
- package/dist/styles/theme/components/list-item-icon.js +6 -0
- package/dist/styles/theme/components/list-item-text.d.ts +7 -0
- package/dist/styles/theme/components/list-item-text.js +6 -0
- package/dist/styles/theme/components/list-item.d.ts +7 -0
- package/dist/styles/theme/components/list-item.js +6 -0
- package/dist/styles/theme/components/list.d.ts +7 -0
- package/dist/styles/theme/components/list.js +6 -0
- package/dist/styles/theme/components/menu-item.d.ts +17 -0
- package/dist/styles/theme/components/menu-item.js +17 -0
- package/dist/styles/theme/components/menu.d.ts +13 -0
- package/dist/styles/theme/components/menu.js +7 -0
- package/dist/styles/theme/components/outlined-input.d.ts +127 -0
- package/dist/styles/theme/components/outlined-input.js +47 -0
- package/dist/styles/theme/components/paper.d.ts +7 -0
- package/dist/styles/theme/components/paper.js +6 -0
- package/dist/styles/theme/components/popover.d.ts +11 -0
- package/dist/styles/theme/components/popover.js +7 -0
- package/dist/styles/theme/components/radio.d.ts +13 -0
- package/dist/styles/theme/components/radio.js +25 -0
- package/dist/styles/theme/components/select.d.ts +21 -0
- package/dist/styles/theme/components/select.js +18 -0
- package/dist/styles/theme/components/skeleton.d.ts +5 -0
- package/dist/styles/theme/components/skeleton.js +8 -0
- package/dist/styles/theme/components/stack.d.ts +5 -0
- package/dist/styles/theme/components/stack.js +4 -0
- package/dist/styles/theme/components/switch.d.ts +19 -0
- package/dist/styles/theme/components/switch.js +11 -0
- package/dist/styles/theme/components/tab.d.ts +18 -0
- package/dist/styles/theme/components/tab.js +15 -0
- package/dist/styles/theme/components/table-body.d.ts +5 -0
- package/dist/styles/theme/components/table-body.js +10 -0
- package/dist/styles/theme/components/table-cell.d.ts +10 -0
- package/dist/styles/theme/components/table-cell.js +11 -0
- package/dist/styles/theme/components/table-head.d.ts +11 -0
- package/dist/styles/theme/components/table-head.js +15 -0
- package/dist/styles/theme/components/table-pagination.d.ts +28 -0
- package/dist/styles/theme/components/table-pagination.js +93 -0
- package/dist/styles/theme/components/tabs.d.ts +33 -0
- package/dist/styles/theme/components/tabs.js +20 -0
- package/dist/styles/theme/components/timeline-connector.d.ts +7 -0
- package/dist/styles/theme/components/timeline-connector.js +6 -0
- package/dist/styles/theme/components/toggle-button-group.d.ts +23 -0
- package/dist/styles/theme/components/toggle-button-group.js +17 -0
- package/dist/styles/theme/components/toggle-button.d.ts +12 -0
- package/dist/styles/theme/components/toggle-button.js +9 -0
- package/dist/styles/theme/components/tooltip.d.ts +10 -0
- package/dist/styles/theme/components/tooltip.js +7 -0
- package/dist/styles/theme/create-theme.d.ts +8 -0
- package/dist/styles/theme/create-theme.js +22 -0
- package/dist/styles/theme/index.d.ts +1 -0
- package/dist/styles/theme/index.js +4 -0
- package/dist/styles/theme/shadows.d.ts +4 -0
- package/dist/styles/theme/shadows.js +59 -0
- package/dist/styles/theme/typography.d.ts +68 -0
- package/dist/styles/theme/typography.js +31 -0
- package/dist/tableCellClasses-BIg5orIQ.js +9 -0
- package/dist/useControlled-CYUofcJ9.js +287 -0
- package/dist/useEnhancedEffect-CJGo-L3B.js +5 -0
- package/dist/useTheme-DYc4rgBb.js +17 -0
- package/dist/utils/bytes-to-size.d.ts +1 -0
- package/dist/utils/bytes-to-size.js +9 -0
- package/dist/utils/dayjs.d.ts +3 -0
- package/dist/utils/dayjs.js +108 -0
- package/dist/utils/index.d.ts +3 -0
- package/dist/utils/index.js +13 -0
- package/dist/utils/logger.d.ts +26 -0
- package/dist/utils/logger.js +51 -0
- package/package.json +108 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default } from './AppIcons';
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
import { SxProps } from '@mui/material';
|
|
3
|
+
import { Theme } from '../styles/theme/types';
|
|
4
|
+
interface AppLabelProps {
|
|
5
|
+
label?: string | React.ReactNode;
|
|
6
|
+
content?: string | React.ReactNode;
|
|
7
|
+
children?: React.ReactNode;
|
|
8
|
+
sx?: SxProps<Theme> | undefined;
|
|
9
|
+
}
|
|
10
|
+
declare const AppLabel: ({ label, content, children, sx }: AppLabelProps) => React.JSX.Element;
|
|
11
|
+
export default AppLabel;
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { j as e } from "../jsx-runtime-B6kdoens.js";
|
|
2
|
+
import { Stack as n } from "@mui/material";
|
|
3
|
+
const a = ({ label: t, content: i, children: r, sx: o }) => /* @__PURE__ */ e.jsxs(n, { width: "100%", sx: o, children: [
|
|
4
|
+
/* @__PURE__ */ e.jsx("div", { style: { fontSize: "1rem", fontWeight: 500, lineHeight: 1.57 }, children: t }),
|
|
5
|
+
/* @__PURE__ */ e.jsx(
|
|
6
|
+
"div",
|
|
7
|
+
{
|
|
8
|
+
style: {
|
|
9
|
+
fontSize: "0.875rem",
|
|
10
|
+
fontWeight: 400,
|
|
11
|
+
lineHeight: 1.57,
|
|
12
|
+
color: "var(--mui-palette-text-secondary)"
|
|
13
|
+
},
|
|
14
|
+
children: i
|
|
15
|
+
}
|
|
16
|
+
),
|
|
17
|
+
r
|
|
18
|
+
] });
|
|
19
|
+
export {
|
|
20
|
+
a as default
|
|
21
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default } from './AppLabel';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default } from './AppLink';
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
export interface AppMultiSelectProps<T = string> {
|
|
3
|
+
label: string;
|
|
4
|
+
onChange?: (value: T[]) => void;
|
|
5
|
+
options: readonly {
|
|
6
|
+
label: string;
|
|
7
|
+
value: T;
|
|
8
|
+
}[];
|
|
9
|
+
value: T[];
|
|
10
|
+
}
|
|
11
|
+
declare function AppMultiSelect<T = string>({ label, onChange, options, value, }: AppMultiSelectProps<T>): React.JSX.Element;
|
|
12
|
+
export default AppMultiSelect;
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
import { j as o } from "../jsx-runtime-B6kdoens.js";
|
|
2
|
+
import * as p from "react";
|
|
3
|
+
import { C as u } from "../CaretDown-CgrRY9__.js";
|
|
4
|
+
import f from "../AppButton/AppButton.js";
|
|
5
|
+
import { usePopover as d } from "../hooks/use-popover.js";
|
|
6
|
+
import { M as x } from "../Menu-B0R91i07.js";
|
|
7
|
+
import { M as h } from "../MenuItem-BjjYkRmW.js";
|
|
8
|
+
function R({
|
|
9
|
+
label: c,
|
|
10
|
+
onChange: t,
|
|
11
|
+
options: i,
|
|
12
|
+
value: n = []
|
|
13
|
+
}) {
|
|
14
|
+
const r = d(), a = p.useCallback(
|
|
15
|
+
(e, s) => {
|
|
16
|
+
let l = [...n];
|
|
17
|
+
s ? l.push(e) : l = l.filter((m) => m !== e), t == null || t(l);
|
|
18
|
+
},
|
|
19
|
+
[t, n]
|
|
20
|
+
);
|
|
21
|
+
return /* @__PURE__ */ o.jsxs(p.Fragment, { children: [
|
|
22
|
+
/* @__PURE__ */ o.jsx(
|
|
23
|
+
f,
|
|
24
|
+
{
|
|
25
|
+
endIcon: /* @__PURE__ */ o.jsx(u, {}),
|
|
26
|
+
onClick: r.handleOpen,
|
|
27
|
+
ref: r.anchorRef,
|
|
28
|
+
sx: {
|
|
29
|
+
"& .MuiButton-endIcon svg": { fontSize: "var(--icon-fontSize-sm)" }
|
|
30
|
+
},
|
|
31
|
+
children: c
|
|
32
|
+
}
|
|
33
|
+
),
|
|
34
|
+
/* @__PURE__ */ o.jsx(
|
|
35
|
+
x,
|
|
36
|
+
{
|
|
37
|
+
anchorEl: r.anchorRef.current,
|
|
38
|
+
onClose: r.handleClose,
|
|
39
|
+
open: r.open,
|
|
40
|
+
slotProps: { paper: { sx: { width: "250px" } } },
|
|
41
|
+
children: i.map((e) => {
|
|
42
|
+
const s = n.includes(e.value);
|
|
43
|
+
return /* @__PURE__ */ o.jsx(
|
|
44
|
+
h,
|
|
45
|
+
{
|
|
46
|
+
onClick: () => {
|
|
47
|
+
a(e.value, !s);
|
|
48
|
+
},
|
|
49
|
+
selected: s,
|
|
50
|
+
children: e.label
|
|
51
|
+
},
|
|
52
|
+
e.label
|
|
53
|
+
);
|
|
54
|
+
})
|
|
55
|
+
}
|
|
56
|
+
)
|
|
57
|
+
] });
|
|
58
|
+
}
|
|
59
|
+
export {
|
|
60
|
+
R as default
|
|
61
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default } from './AppMultiSelect';
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { j as o } from "../jsx-runtime-B6kdoens.js";
|
|
2
|
+
import { Typography as r } from "@mui/material";
|
|
3
|
+
const p = ({ title: a }) => /* @__PURE__ */ o.jsx(r, { variant: "body2", color: "text.secondary", my: 3, children: a || "No data available." });
|
|
4
|
+
export {
|
|
5
|
+
p as default
|
|
6
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default } from './AppNoData';
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { j as n } from "../jsx-runtime-B6kdoens.js";
|
|
2
|
+
import * as t from "react";
|
|
3
|
+
import { u } from "../useEnhancedEffect-CJGo-L3B.js";
|
|
4
|
+
const m = (s) => {
|
|
5
|
+
const { children: a, defer: e = !1, fallback: f = null } = s, [o, r] = t.useState(!1);
|
|
6
|
+
return u(() => {
|
|
7
|
+
e || r(!0);
|
|
8
|
+
}, [e]), t.useEffect(() => {
|
|
9
|
+
e && r(!0);
|
|
10
|
+
}, [e]), /* @__PURE__ */ n.jsx(t.Fragment, { children: o ? a : f });
|
|
11
|
+
};
|
|
12
|
+
export {
|
|
13
|
+
m as default
|
|
14
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default } from './AppNoSsr';
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { MenuItemProps } from '@mui/material/MenuItem';
|
|
2
|
+
import * as React from 'react';
|
|
3
|
+
export interface AppOptionProps extends MenuItemProps {
|
|
4
|
+
children: React.ReactNode;
|
|
5
|
+
disabled?: boolean;
|
|
6
|
+
value: string | number;
|
|
7
|
+
}
|
|
8
|
+
declare const AppOption: ({ children, ...props }: AppOptionProps) => React.JSX.Element;
|
|
9
|
+
export default AppOption;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default } from './AppOption';
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
import { OutlinedInputProps } from '@mui/material';
|
|
3
|
+
interface AppOutlinedInputProps extends Omit<OutlinedInputProps, 'error'> {
|
|
4
|
+
label?: string;
|
|
5
|
+
required?: boolean;
|
|
6
|
+
error?: string;
|
|
7
|
+
type?: string;
|
|
8
|
+
}
|
|
9
|
+
declare const AppOutlinedInput: React.ForwardRefExoticComponent<Omit<AppOutlinedInputProps, "ref"> & React.RefAttributes<unknown>>;
|
|
10
|
+
export default AppOutlinedInput;
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
import { j as t } from "../jsx-runtime-B6kdoens.js";
|
|
2
|
+
import { forwardRef as d, useState as f, useEffect as v } from "react";
|
|
3
|
+
import { OutlinedInput as x, IconButton as c } from "@mui/material";
|
|
4
|
+
import { S as s } from "../X-DETrowOy.js";
|
|
5
|
+
import j from "../AppFormControl/AppFormControl.js";
|
|
6
|
+
const E = d(
|
|
7
|
+
({ label: n = "", required: a = !1, error: i, type: m = "text", ...e }, o) => {
|
|
8
|
+
const [r, l] = f(e.value ?? "");
|
|
9
|
+
return v(() => {
|
|
10
|
+
l(e.value ?? "");
|
|
11
|
+
}, [e.value]), /* @__PURE__ */ t.jsx(j, { label: n, error: i, required: a, children: /* @__PURE__ */ t.jsx(
|
|
12
|
+
x,
|
|
13
|
+
{
|
|
14
|
+
fullWidth: !0,
|
|
15
|
+
type: m,
|
|
16
|
+
ref: o,
|
|
17
|
+
...e,
|
|
18
|
+
value: r ?? "",
|
|
19
|
+
endAdornment: e.value && !e.disabled ? /* @__PURE__ */ t.jsx(
|
|
20
|
+
c,
|
|
21
|
+
{
|
|
22
|
+
size: "small",
|
|
23
|
+
onClick: () => {
|
|
24
|
+
var u;
|
|
25
|
+
l(""), (u = e.onChange) == null || u.call(e, {
|
|
26
|
+
target: {
|
|
27
|
+
value: ""
|
|
28
|
+
}
|
|
29
|
+
});
|
|
30
|
+
},
|
|
31
|
+
children: /* @__PURE__ */ t.jsx(s, {})
|
|
32
|
+
}
|
|
33
|
+
) : void 0
|
|
34
|
+
}
|
|
35
|
+
) });
|
|
36
|
+
}
|
|
37
|
+
);
|
|
38
|
+
export {
|
|
39
|
+
E as default
|
|
40
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default } from './AppOutlinedInput';
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
import { PaginationProps } from '@mui/material';
|
|
3
|
+
interface AppPaginationProps extends PaginationProps {
|
|
4
|
+
loading?: boolean;
|
|
5
|
+
}
|
|
6
|
+
declare const AppPagination: ({ loading, ...props }: AppPaginationProps) => React.JSX.Element;
|
|
7
|
+
export default AppPagination;
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { j as n } from "../jsx-runtime-B6kdoens.js";
|
|
2
|
+
import { Box as i, Pagination as o, Stack as r } from "@mui/material";
|
|
3
|
+
import s from "../AppSkeleton/AppSkeleton.js";
|
|
4
|
+
const a = ({ style: t }) => /* @__PURE__ */ n.jsxs(r, { direction: "row", flexWrap: "wrap", gap: 1, justifyContent: "center", style: t, children: [
|
|
5
|
+
/* @__PURE__ */ n.jsx(s, { component: "icon-button" }),
|
|
6
|
+
/* @__PURE__ */ n.jsx(s, { variant: "rounded", width: 120 }),
|
|
7
|
+
/* @__PURE__ */ n.jsx(s, { component: "icon-button" })
|
|
8
|
+
] }), j = ({ loading: t, ...e }) => e.count === 0 ? /* @__PURE__ */ n.jsx(n.Fragment, {}) : /* @__PURE__ */ n.jsxs(n.Fragment, { children: [
|
|
9
|
+
!t && /* @__PURE__ */ n.jsxs(n.Fragment, { children: [
|
|
10
|
+
/* @__PURE__ */ n.jsx(i, { display: { xs: "unset", sm: "none" }, width: "100%", children: /* @__PURE__ */ n.jsx(o, { size: "small", ...e }) }),
|
|
11
|
+
/* @__PURE__ */ n.jsx(i, { display: { xs: "none", sm: "unset" }, width: "100%", children: /* @__PURE__ */ n.jsx(o, { ...e }) })
|
|
12
|
+
] }),
|
|
13
|
+
t ? /* @__PURE__ */ n.jsx(a, { style: e.style }) : null
|
|
14
|
+
] });
|
|
15
|
+
export {
|
|
16
|
+
j as default
|
|
17
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default } from './AppPagination';
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
import { RatingProps } from '@mui/material';
|
|
3
|
+
interface AppRatingProps extends Omit<RatingProps, 'value'> {
|
|
4
|
+
value?: number | string | null;
|
|
5
|
+
}
|
|
6
|
+
declare const AppRating: React.ForwardRefExoticComponent<Omit<AppRatingProps, "ref"> & React.RefAttributes<unknown>>;
|
|
7
|
+
export default AppRating;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { j as s } from "../jsx-runtime-B6kdoens.js";
|
|
2
|
+
import { forwardRef as m } from "react";
|
|
3
|
+
import { Rating as a } from "@mui/material";
|
|
4
|
+
const e = m(({ value: r, size: t = "small", ...o }, p) => /* @__PURE__ */ s.jsx(a, { value: typeof r == "string" ? parseInt(r) : r, size: t, ref: p, ...o }));
|
|
5
|
+
export {
|
|
6
|
+
e as default
|
|
7
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default } from './AppRating';
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { SelectProps } from '@mui/material';
|
|
2
|
+
type AppSelectProps = Omit<SelectProps, 'error' | 'variant'> & {
|
|
3
|
+
options?: any[];
|
|
4
|
+
optionLabel?: string;
|
|
5
|
+
optionValue?: any;
|
|
6
|
+
placeholder?: string;
|
|
7
|
+
variant?: 'outlined' | 'filled' | 'standard';
|
|
8
|
+
label?: string;
|
|
9
|
+
error?: string;
|
|
10
|
+
required?: boolean;
|
|
11
|
+
simple?: boolean;
|
|
12
|
+
};
|
|
13
|
+
declare const AppSelect: import('react').ForwardRefExoticComponent<Omit<AppSelectProps, "ref"> & import('react').RefAttributes<unknown>>;
|
|
14
|
+
export default AppSelect;
|
|
@@ -0,0 +1,82 @@
|
|
|
1
|
+
import { j as u } from "../jsx-runtime-B6kdoens.js";
|
|
2
|
+
import { forwardRef as w, useState as E, useEffect as O } from "react";
|
|
3
|
+
import { Select as S, IconButton as P } from "@mui/material";
|
|
4
|
+
import { S as A } from "../X-DETrowOy.js";
|
|
5
|
+
import { v4 as h } from "uuid";
|
|
6
|
+
import C from "../AppFormControl/AppFormControl.js";
|
|
7
|
+
import R from "../AppOption/AppOption.js";
|
|
8
|
+
const T = w(
|
|
9
|
+
({
|
|
10
|
+
options: n = [],
|
|
11
|
+
optionLabel: i = "name",
|
|
12
|
+
optionValue: d = "id",
|
|
13
|
+
placeholder: j,
|
|
14
|
+
label: y = "",
|
|
15
|
+
error: g,
|
|
16
|
+
required: x = !1,
|
|
17
|
+
variant: V = "outlined",
|
|
18
|
+
simple: a = !1,
|
|
19
|
+
...r
|
|
20
|
+
}, v) => {
|
|
21
|
+
const [c, o] = E(r.value ?? null), m = h();
|
|
22
|
+
function b(e, l) {
|
|
23
|
+
const { set: t } = Object.getOwnPropertyDescriptor(e, "value") || {}, f = Object.getPrototypeOf(e), { set: s } = Object.getOwnPropertyDescriptor(f, "value") || {};
|
|
24
|
+
if (s && t !== s)
|
|
25
|
+
s.call(e, l);
|
|
26
|
+
else if (t)
|
|
27
|
+
t.call(e, l);
|
|
28
|
+
else
|
|
29
|
+
throw new Error("The given element does not have a value setter");
|
|
30
|
+
}
|
|
31
|
+
return O(() => {
|
|
32
|
+
o(r.value ?? null);
|
|
33
|
+
}, [r.value]), /* @__PURE__ */ u.jsx(C, { error: g, label: y, required: x, children: /* @__PURE__ */ u.jsx(
|
|
34
|
+
S,
|
|
35
|
+
{
|
|
36
|
+
displayEmpty: !0,
|
|
37
|
+
fullWidth: !0,
|
|
38
|
+
defaultValue: "",
|
|
39
|
+
ref: v,
|
|
40
|
+
inputProps: {
|
|
41
|
+
id: m
|
|
42
|
+
},
|
|
43
|
+
renderValue: r.multiple ? (e) => {
|
|
44
|
+
var l;
|
|
45
|
+
return (l = n.filter((t) => e == null ? void 0 : e.includes(t[d]))) == null ? void 0 : l.map((t) => t[i]).join(", ");
|
|
46
|
+
} : (e) => {
|
|
47
|
+
var l;
|
|
48
|
+
return e !== null && typeof e < "u" && e !== "" ? a ? n.find((t) => t == e) : (l = n.find((t) => t[d] == e)) == null ? void 0 : l[i] : /* @__PURE__ */ u.jsx("span", { style: { color: "var(--mui-palette-text-secondary)" }, children: j });
|
|
49
|
+
},
|
|
50
|
+
...r,
|
|
51
|
+
value: n.length ? c ?? "" : "",
|
|
52
|
+
endAdornment: (!r.multiple && c || r.multiple && (c == null ? void 0 : c.length) > 0) && !r.disabled ? /* @__PURE__ */ u.jsx(
|
|
53
|
+
P,
|
|
54
|
+
{
|
|
55
|
+
sx: { marginRight: "1.5rem" },
|
|
56
|
+
size: "small",
|
|
57
|
+
onClick: () => {
|
|
58
|
+
var f;
|
|
59
|
+
const e = r.multiple ? [] : typeof r.value == "string" ? "" : null;
|
|
60
|
+
o(e);
|
|
61
|
+
const l = new PointerEvent("click", { bubbles: !0 }), t = document.getElementById(m);
|
|
62
|
+
t == null || t.dispatchEvent(l), b(t, ""), (f = r.onChange) == null || f.call(r, l, null);
|
|
63
|
+
},
|
|
64
|
+
children: /* @__PURE__ */ u.jsx(A, {})
|
|
65
|
+
}
|
|
66
|
+
) : void 0,
|
|
67
|
+
children: n == null ? void 0 : n.map((e) => /* @__PURE__ */ u.jsx(
|
|
68
|
+
R,
|
|
69
|
+
{
|
|
70
|
+
disabled: (e == null ? void 0 : e.disabled) ?? !1,
|
|
71
|
+
value: a ? e : e[d],
|
|
72
|
+
children: a ? e : e[i]
|
|
73
|
+
},
|
|
74
|
+
(a ? e : e[d]) + h()
|
|
75
|
+
))
|
|
76
|
+
}
|
|
77
|
+
) });
|
|
78
|
+
}
|
|
79
|
+
);
|
|
80
|
+
export {
|
|
81
|
+
T as default
|
|
82
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default } from './AppSelect';
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
import { SkeletonProps } from '@mui/material';
|
|
3
|
+
interface AppSkeletonProps extends Omit<SkeletonProps, 'variant' | 'height' | 'width' | 'component'> {
|
|
4
|
+
variant?: 'circular' | 'rectangular' | 'rounded' | 'text';
|
|
5
|
+
height?: number | string;
|
|
6
|
+
width?: number | string;
|
|
7
|
+
fontSize?: number | string;
|
|
8
|
+
component?: string;
|
|
9
|
+
}
|
|
10
|
+
declare const AppSkeleton: ({ variant, width, height, fontSize, component, ...props }: AppSkeletonProps) => React.JSX.Element;
|
|
11
|
+
export default AppSkeleton;
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import { j as e } from "../jsx-runtime-B6kdoens.js";
|
|
2
|
+
import { Skeleton as a } from "@mui/material";
|
|
3
|
+
const s = ({
|
|
4
|
+
variant: r = "text",
|
|
5
|
+
width: i = "100%",
|
|
6
|
+
height: u = 32,
|
|
7
|
+
fontSize: n = "16px",
|
|
8
|
+
component: x,
|
|
9
|
+
...t
|
|
10
|
+
}) => {
|
|
11
|
+
switch (x) {
|
|
12
|
+
case "button":
|
|
13
|
+
return /* @__PURE__ */ e.jsx(a, { height: 32, variant: "rounded", width: i, ...t });
|
|
14
|
+
case "checkbox":
|
|
15
|
+
return /* @__PURE__ */ e.jsx(a, { height: 24, variant: "rounded", width: 24, ...t });
|
|
16
|
+
case "radio-button":
|
|
17
|
+
return /* @__PURE__ */ e.jsx(a, { height: 24, variant: "circular", width: 24, ...t });
|
|
18
|
+
case "avatar":
|
|
19
|
+
return /* @__PURE__ */ e.jsx(a, { height: 54, variant: "rectangular", width: 54, ...t });
|
|
20
|
+
case "rounded-avatar":
|
|
21
|
+
return /* @__PURE__ */ e.jsx(a, { height: 48, variant: "circular", width: 48, ...t });
|
|
22
|
+
case "icon-button":
|
|
23
|
+
return /* @__PURE__ */ e.jsx(a, { height: 32, variant: "circular", width: 32, ...t });
|
|
24
|
+
case "typography":
|
|
25
|
+
return /* @__PURE__ */ e.jsx(a, { sx: { fontSize: n }, variant: "text", width: "100%", ...t });
|
|
26
|
+
case "title-typography":
|
|
27
|
+
return /* @__PURE__ */ e.jsx(a, { sx: { fontSize: n }, variant: "text", width: 200, ...t });
|
|
28
|
+
default:
|
|
29
|
+
return r === "text" ? /* @__PURE__ */ e.jsx(a, { sx: { fontSize: n }, variant: r, width: i, ...t }) : /* @__PURE__ */ e.jsx(a, { height: u, variant: r, width: i, ...t });
|
|
30
|
+
}
|
|
31
|
+
};
|
|
32
|
+
export {
|
|
33
|
+
s as default
|
|
34
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default } from './AppSkeleton';
|