@solostylist/ui-kit 1.0.9 → 1.0.10
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 +1 -1
- package/dist/{ButtonBase-C9K74oZC.js → ButtonBase-BFsNsbc9.js} +1 -1
- package/dist/{Menu-DrTy5vbc.js → Menu-CzI0zcbw.js} +4 -4
- package/dist/{MenuItem-CSmlAERi.js → MenuItem-Bl45WcKS.js} +6 -6
- package/dist/{Stack-CP2l9Ko9.js → Stack-DIkbVcfm.js} +4 -4
- package/dist/{Typography-CgNLUV5h.js → Typography-jSFidXje.js} +24 -24
- package/dist/{X-Cw1SQcRJ.js → X-B8GTZwii.js} +3 -3
- package/dist/{createSvgIcon-CoYExp5F.js → createSvgIcon-B7_s-URK.js} +15 -15
- package/dist/{index-BB439voV.js → index-DljiS4x1.js} +1 -1
- package/dist/main.d.ts +45 -49
- package/dist/main.js +98 -106
- package/dist/{memoTheme-B7hT_l31.js → memoTheme-CaOW5YiB.js} +13 -13
- package/dist/s-autocomplete/index.d.ts +1 -0
- package/dist/s-autocomplete/index.js +4 -0
- package/dist/s-autocomplete/s-autocomplete.d.ts +11 -0
- package/dist/s-autocomplete/s-autocomplete.js +26 -0
- package/dist/s-avatar/index.d.ts +1 -0
- package/dist/s-avatar/index.js +4 -0
- package/dist/s-avatar/s-avatar.d.ts +6 -0
- package/dist/s-avatar/s-avatar.js +6 -0
- package/dist/s-box/index.d.ts +1 -0
- package/dist/s-box/index.js +4 -0
- package/dist/s-box/s-box.d.ts +7 -0
- package/dist/s-box/s-box.js +7 -0
- package/dist/s-breadcrumbs-separator/index.d.ts +1 -0
- package/dist/s-breadcrumbs-separator/index.js +4 -0
- package/dist/s-breadcrumbs-separator/s-breadcrumbs-separator.d.ts +3 -0
- package/dist/s-button/index.d.ts +1 -0
- package/dist/s-button/index.js +4 -0
- package/dist/s-button/s-button.d.ts +6 -0
- package/dist/s-button/s-button.js +18 -0
- package/dist/s-button-link/index.d.ts +1 -0
- package/dist/s-button-link/index.js +4 -0
- package/dist/{AppButtonLink/AppButtonLink.d.ts → s-button-link/s-button-link.d.ts} +3 -3
- package/dist/s-card/index.d.ts +1 -0
- package/dist/s-card/index.js +4 -0
- package/dist/s-card/s-card.d.ts +6 -0
- package/dist/s-card/s-card.js +6 -0
- package/dist/s-card-actions/index.d.ts +1 -0
- package/dist/s-card-actions/index.js +4 -0
- package/dist/s-card-actions/s-card-actions.d.ts +6 -0
- package/dist/{AppCardActions/AppCardActions.js → s-card-actions/s-card-actions.js} +2 -2
- package/dist/s-card-content/index.d.ts +1 -0
- package/dist/s-card-content/index.js +4 -0
- package/dist/s-card-content/s-card-content.d.ts +6 -0
- package/dist/{AppCardContent/AppCardContent.js → s-card-content/s-card-content.js} +2 -2
- package/dist/s-card-header/index.d.ts +1 -0
- package/dist/s-card-header/index.js +4 -0
- package/dist/s-card-header/s-card-header.d.ts +6 -0
- package/dist/s-card-header/s-card-header.js +6 -0
- package/dist/s-checkbox/index.d.ts +1 -0
- package/dist/s-checkbox/index.js +4 -0
- package/dist/s-checkbox/s-checkbox.d.ts +7 -0
- package/dist/{AppCheckbox/AppCheckbox.js → s-checkbox/s-checkbox.js} +2 -2
- package/dist/s-chip/index.d.ts +1 -0
- package/dist/s-chip/index.js +4 -0
- package/dist/s-chip/s-chip.d.ts +6 -0
- package/dist/s-chip/s-chip.js +6 -0
- package/dist/s-chips/index.d.ts +1 -0
- package/dist/s-chips/index.js +4 -0
- package/dist/s-chips/s-chips.d.ts +7 -0
- package/dist/s-chips/s-chips.js +74 -0
- package/dist/s-data-table/index.d.ts +2 -0
- package/dist/s-data-table/index.js +4 -0
- package/dist/{AppDataTable/AppDataTable.d.ts → s-data-table/s-data-table.d.ts} +4 -4
- package/dist/{AppDataTable/AppDataTable.js → s-data-table/s-data-table.js} +26 -26
- package/dist/s-dialog/index.d.ts +1 -0
- package/dist/s-dialog/index.js +4 -0
- package/dist/{AppDialog/AppDialog.d.ts → s-dialog/s-dialog.d.ts} +3 -3
- package/dist/{AppDialog/AppDialog.js → s-dialog/s-dialog.js} +4 -4
- package/dist/{AppDialogConfirm → s-dialog-confirm}/index.d.ts +2 -2
- package/dist/{AppDialogConfirm → s-dialog-confirm}/index.js +1 -1
- package/dist/{AppDialogConfirm/AppDialogConfirm.d.ts → s-dialog-confirm/s-dialog-confirm.d.ts} +3 -3
- package/dist/{AppDialogConfirm/AppDialogConfirm.js → s-dialog-confirm/s-dialog-confirm.js} +17 -17
- package/dist/{AppDialogMessage → s-dialog-message}/index.d.ts +2 -2
- package/dist/{AppDialogMessage → s-dialog-message}/index.js +1 -1
- package/dist/{AppDialogMessage/AppDialogMessage.d.ts → s-dialog-message/s-dialog-message.d.ts} +3 -3
- package/dist/{AppDialogMessage/AppDialogMessage.js → s-dialog-message/s-dialog-message.js} +23 -23
- package/dist/s-empty/index.d.ts +1 -0
- package/dist/s-empty/index.js +4 -0
- package/dist/s-empty/s-empty.d.ts +5 -0
- package/dist/{AppEmpty/AppEmpty.js → s-empty/s-empty.js} +2 -2
- package/dist/s-error/index.d.ts +1 -0
- package/dist/s-error/index.js +4 -0
- package/dist/s-error/s-error.d.ts +3 -0
- package/dist/s-file-dropzone/index.d.ts +2 -0
- package/dist/s-file-dropzone/index.js +4 -0
- package/dist/{AppFileDropzone/AppFileDropzone.d.ts → s-file-dropzone/s-file-dropzone.d.ts} +3 -3
- package/dist/{AppFileDropzone/AppFileDropzone.js → s-file-dropzone/s-file-dropzone.js} +26 -26
- package/dist/s-file-icon/index.d.ts +1 -0
- package/dist/s-file-icon/index.js +4 -0
- package/dist/s-file-icon/s-file-icon.d.ts +6 -0
- package/dist/{AppFileIcon/AppFileIcon.js → s-file-icon/s-file-icon.js} +2 -2
- package/dist/s-form/index.d.ts +1 -0
- package/dist/s-form/index.js +4 -0
- package/dist/s-i18n-provider/index.d.ts +1 -0
- package/dist/s-i18n-provider/index.js +4 -0
- package/dist/s-i18n-provider/s-i18n-provider.d.ts +7 -0
- package/dist/{AppI18nProvider/AppI18nProvider.js → s-i18n-provider/s-i18n-provider.js} +7 -7
- package/dist/s-icon-button/index.d.ts +1 -0
- package/dist/s-icon-button/index.js +4 -0
- package/dist/s-icon-button/s-icon-button.d.ts +8 -0
- package/dist/s-icon-button/s-icon-button.js +6 -0
- package/dist/s-image-gallery/index.d.ts +1 -0
- package/dist/s-image-gallery/index.js +4 -0
- package/dist/s-image-gallery/s-image-gallery.d.ts +6 -0
- package/dist/{AppGallery/AppGallery.js → s-image-gallery/s-image-gallery.js} +21 -21
- package/dist/s-label/index.d.ts +1 -0
- package/dist/s-label/index.js +4 -0
- package/dist/{AppLabel/AppLabel.d.ts → s-label/s-label.d.ts} +4 -4
- package/dist/s-link/index.d.ts +1 -0
- package/dist/s-link/index.js +4 -0
- package/dist/s-link/s-link.d.ts +6 -0
- package/dist/s-link/s-link.js +6 -0
- package/dist/s-menu-item/index.d.ts +1 -0
- package/dist/s-menu-item/index.js +4 -0
- package/dist/{AppOption/AppOption.d.ts → s-menu-item/s-menu-item.d.ts} +3 -3
- package/dist/s-menu-item/s-menu-item.js +6 -0
- package/dist/s-multi-select/index.d.ts +1 -0
- package/dist/s-multi-select/index.js +4 -0
- package/dist/s-multi-select/s-multi-select.d.ts +12 -0
- package/dist/{AppMultiSelect/AppMultiSelect.js → s-multi-select/s-multi-select.js} +14 -19
- package/dist/s-no-ssr/index.d.ts +1 -0
- package/dist/s-no-ssr/index.js +4 -0
- package/dist/s-no-ssr/s-no-ssr.d.ts +8 -0
- package/dist/s-pagination/index.d.ts +1 -0
- package/dist/s-pagination/index.js +4 -0
- package/dist/s-pagination/s-pagination.d.ts +7 -0
- package/dist/{AppPagination/AppPagination.js → s-pagination/s-pagination.js} +1 -1
- package/dist/s-rating/index.d.ts +1 -0
- package/dist/s-rating/index.js +4 -0
- package/dist/s-rating/s-rating.d.ts +7 -0
- package/dist/s-rating/s-rating.js +6 -0
- package/dist/s-select/index.d.ts +1 -0
- package/dist/s-select/index.js +4 -0
- package/dist/{AppSelect/AppSelect.d.ts → s-select/s-select.d.ts} +4 -3
- package/dist/s-select/s-select.js +55 -0
- package/dist/s-skeleton/index.d.ts +1 -0
- package/dist/s-skeleton/index.js +4 -0
- package/dist/{AppSkeleton/AppSkeleton.d.ts → s-skeleton/s-skeleton.d.ts} +3 -3
- package/dist/{AppSnackbarMessage → s-snackbar-message}/index.d.ts +2 -2
- package/dist/{AppSnackbarMessage → s-snackbar-message}/index.js +1 -1
- package/dist/{AppSnackbarMessage/AppSnackbarMessage.d.ts → s-snackbar-message/s-snackbar-message.d.ts} +3 -3
- package/dist/{AppSnackbarMessage/AppSnackbarMessage.js → s-snackbar-message/s-snackbar-message.js} +14 -14
- package/dist/s-stack/index.d.ts +1 -0
- package/dist/s-stack/index.js +4 -0
- package/dist/s-stack/s-stack.d.ts +6 -0
- package/dist/s-stack/s-stack.js +6 -0
- package/dist/s-text-editor/index.d.ts +1 -0
- package/dist/s-text-editor/index.js +4 -0
- package/dist/s-text-editor/s-text-editor-toolbar.d.ts +6 -0
- package/dist/{AppTextEditor/TextEditorToolbar.js → s-text-editor/s-text-editor-toolbar.js} +9 -9
- package/dist/{AppTextEditor/AppTextEditor.d.ts → s-text-editor/s-text-editor.d.ts} +3 -3
- package/dist/{AppTextEditor/AppTextEditor.js → s-text-editor/s-text-editor.js} +10 -10
- package/dist/s-text-field/index.d.ts +1 -0
- package/dist/s-text-field/index.js +4 -0
- package/dist/{STextField/STextField.js → s-text-field/s-text-field.js} +1 -1
- package/dist/s-text-truncation/index.d.ts +1 -0
- package/dist/s-text-truncation/index.js +4 -0
- package/dist/s-text-truncation/s-text-truncation.d.ts +6 -0
- package/dist/{AppTextTruncation/AppTextTruncation.js → s-text-truncation/s-text-truncation.js} +1 -1
- package/dist/s-theme-provider/index.d.ts +1 -0
- package/dist/s-theme-provider/index.js +4 -0
- package/dist/s-theme-provider/s-theme-provider.js +37 -0
- package/dist/s-tip/index.d.ts +1 -0
- package/dist/s-tip/index.js +4 -0
- package/dist/s-tip/s-tip.d.ts +6 -0
- package/dist/s-tip/s-tip.js +31 -0
- package/dist/{styles/theme → theme}/components/autocomplete.js +2 -2
- package/dist/{styles/theme → theme}/components/backdrop.js +1 -1
- package/dist/{styles/theme → theme}/components/button.js +1 -1
- package/dist/{styles/theme → theme}/components/card-header.js +1 -1
- package/dist/{styles/theme → theme}/components/card.js +1 -1
- package/dist/{styles/theme → theme}/components/checkbox.js +1 -1
- package/dist/{styles/theme → theme}/components/chip.js +12 -12
- package/dist/{styles/theme → theme}/components/components.d.ts +8 -27
- package/dist/theme/components/components.js +111 -0
- package/dist/{styles/theme → theme}/components/filled-input.js +1 -1
- package/dist/{styles/theme → theme}/components/input.js +1 -1
- package/dist/{styles/theme → theme}/components/menu-item.js +1 -1
- package/dist/{styles/theme → theme}/components/outlined-input.js +2 -2
- package/dist/{styles/theme → theme}/components/radio.js +1 -1
- package/dist/{styles/theme → theme}/components/select.js +2 -2
- package/dist/{styles/theme → theme}/components/table-head.js +1 -1
- package/dist/{styles/theme → theme}/components/table-pagination.js +4 -4
- package/dist/{styles/theme → theme}/components/tabs.js +2 -2
- package/dist/theme/customizations/components/avatar.d.ts +5 -0
- package/dist/{User-X5-swnIn.js → theme/customizations/components/avatar.js} +14 -10
- package/dist/theme/customizations/components/components.d.ts +7 -0
- package/dist/theme/customizations/components/components.js +7 -0
- package/dist/{styles/theme → theme}/customizations/data-display.js +6 -6
- package/dist/{styles/theme → theme}/customizations/feedback.js +1 -1
- package/dist/{styles/theme → theme}/customizations/inputs.js +6 -6
- package/dist/{styles/theme → theme}/customizations/navigation.js +7 -7
- package/dist/{styles/theme → theme}/customizations/surfaces.js +1 -1
- package/dist/{styles/theme → theme}/theme-primitives.js +51 -51
- package/dist/{useControlled-QI8qSFYJ.js → useControlled-Bvu9pDu8.js} +7 -7
- package/dist/{useSlot-CX_V7IfD.js → useSlot-CtsS_jy6.js} +1 -1
- package/package.json +1 -4
- package/dist/AppAutocomplete/AppAutocomplete.d.ts +0 -10
- package/dist/AppAutocomplete/AppAutocomplete.js +0 -19
- package/dist/AppAutocomplete/index.d.ts +0 -1
- package/dist/AppAutocomplete/index.js +0 -4
- package/dist/AppAvatar/AppAvatar.d.ts +0 -7
- package/dist/AppAvatar/AppAvatar.js +0 -13
- package/dist/AppAvatar/index.d.ts +0 -1
- package/dist/AppAvatar/index.js +0 -4
- package/dist/AppBox/AppBox.d.ts +0 -7
- package/dist/AppBox/AppBox.js +0 -7
- package/dist/AppBox/index.d.ts +0 -1
- package/dist/AppBox/index.js +0 -4
- package/dist/AppBreadcrumbsSeparator/AppBreadcrumbsSeparator.d.ts +0 -3
- package/dist/AppBreadcrumbsSeparator/index.d.ts +0 -1
- package/dist/AppBreadcrumbsSeparator/index.js +0 -4
- package/dist/AppButton/AppButton.d.ts +0 -9
- package/dist/AppButton/AppButton.js +0 -44
- package/dist/AppButton/index.d.ts +0 -1
- package/dist/AppButton/index.js +0 -4
- package/dist/AppButtonLink/index.d.ts +0 -1
- package/dist/AppButtonLink/index.js +0 -4
- package/dist/AppCard/AppCard.d.ts +0 -6
- package/dist/AppCard/AppCard.js +0 -6
- package/dist/AppCard/index.d.ts +0 -1
- package/dist/AppCard/index.js +0 -4
- package/dist/AppCardActions/AppCardActions.d.ts +0 -6
- package/dist/AppCardActions/index.d.ts +0 -1
- package/dist/AppCardActions/index.js +0 -4
- package/dist/AppCardContent/AppCardContent.d.ts +0 -6
- package/dist/AppCardContent/index.d.ts +0 -1
- package/dist/AppCardContent/index.js +0 -4
- package/dist/AppCardHeader/AppCardHeader.d.ts +0 -10
- package/dist/AppCardHeader/AppCardHeader.js +0 -13
- package/dist/AppCardHeader/index.d.ts +0 -1
- package/dist/AppCardHeader/index.js +0 -4
- package/dist/AppCheckbox/AppCheckbox.d.ts +0 -7
- package/dist/AppCheckbox/index.d.ts +0 -1
- package/dist/AppCheckbox/index.js +0 -4
- package/dist/AppChip/AppChip.d.ts +0 -6
- package/dist/AppChip/AppChip.js +0 -6
- package/dist/AppChip/index.d.ts +0 -1
- package/dist/AppChip/index.js +0 -4
- package/dist/AppChips/AppChips.d.ts +0 -7
- package/dist/AppChips/AppChips.js +0 -72
- package/dist/AppChips/index.d.ts +0 -1
- package/dist/AppChips/index.js +0 -4
- package/dist/AppDataTable/index.d.ts +0 -2
- package/dist/AppDataTable/index.js +0 -4
- package/dist/AppDialog/index.d.ts +0 -1
- package/dist/AppDialog/index.js +0 -4
- package/dist/AppEmpty/AppEmpty.d.ts +0 -5
- package/dist/AppEmpty/index.d.ts +0 -1
- package/dist/AppEmpty/index.js +0 -4
- package/dist/AppError/AppError.d.ts +0 -3
- package/dist/AppError/index.d.ts +0 -1
- package/dist/AppError/index.js +0 -4
- package/dist/AppFileDropzone/index.d.ts +0 -2
- package/dist/AppFileDropzone/index.js +0 -4
- package/dist/AppFileIcon/AppFileIcon.d.ts +0 -6
- package/dist/AppFileIcon/index.d.ts +0 -1
- package/dist/AppFileIcon/index.js +0 -4
- package/dist/AppFormControl/AppFormControl.d.ts +0 -8
- package/dist/AppFormControl/AppFormControl.js +0 -10
- package/dist/AppFormControl/index.d.ts +0 -1
- package/dist/AppFormControl/index.js +0 -4
- package/dist/AppGallery/AppGallery.d.ts +0 -6
- package/dist/AppGallery/index.d.ts +0 -1
- package/dist/AppGallery/index.js +0 -4
- package/dist/AppI18nProvider/AppI18nProvider.d.ts +0 -7
- package/dist/AppI18nProvider/index.d.ts +0 -1
- package/dist/AppI18nProvider/index.js +0 -4
- package/dist/AppIconButton/AppIconButton.d.ts +0 -8
- package/dist/AppIconButton/AppIconButton.js +0 -6
- package/dist/AppIconButton/index.d.ts +0 -1
- package/dist/AppIconButton/index.js +0 -4
- package/dist/AppIcons/AppIcons.d.ts +0 -3
- package/dist/AppIcons/AppIcons.js +0 -1081
- package/dist/AppIcons/index.d.ts +0 -1
- package/dist/AppIcons/index.js +0 -4
- package/dist/AppLabel/index.d.ts +0 -1
- package/dist/AppLabel/index.js +0 -4
- package/dist/AppLink/AppLink.d.ts +0 -6
- package/dist/AppLink/AppLink.js +0 -6
- package/dist/AppLink/index.d.ts +0 -1
- package/dist/AppLink/index.js +0 -4
- package/dist/AppMultiSelect/AppMultiSelect.d.ts +0 -12
- package/dist/AppMultiSelect/index.d.ts +0 -1
- package/dist/AppMultiSelect/index.js +0 -4
- package/dist/AppNoData/AppNoData.d.ts +0 -5
- package/dist/AppNoData/AppNoData.js +0 -6
- package/dist/AppNoData/index.d.ts +0 -1
- package/dist/AppNoData/index.js +0 -4
- package/dist/AppNoSsr/AppNoSsr.d.ts +0 -8
- package/dist/AppNoSsr/index.d.ts +0 -1
- package/dist/AppNoSsr/index.js +0 -4
- package/dist/AppOption/AppOption.js +0 -6
- package/dist/AppOption/index.d.ts +0 -1
- package/dist/AppOption/index.js +0 -4
- package/dist/AppPagination/AppPagination.d.ts +0 -7
- package/dist/AppPagination/index.d.ts +0 -1
- package/dist/AppPagination/index.js +0 -4
- package/dist/AppRating/AppRating.d.ts +0 -7
- package/dist/AppRating/AppRating.js +0 -6
- package/dist/AppRating/index.d.ts +0 -1
- package/dist/AppRating/index.js +0 -4
- package/dist/AppSelect/AppSelect.js +0 -82
- package/dist/AppSelect/index.d.ts +0 -1
- package/dist/AppSelect/index.js +0 -4
- package/dist/AppSkeleton/index.d.ts +0 -1
- package/dist/AppSkeleton/index.js +0 -4
- package/dist/AppStack/AppStack.d.ts +0 -6
- package/dist/AppStack/AppStack.js +0 -6
- package/dist/AppStack/index.d.ts +0 -1
- package/dist/AppStack/index.js +0 -4
- package/dist/AppTextEditor/TextEditorToolbar.d.ts +0 -6
- package/dist/AppTextEditor/index.d.ts +0 -1
- package/dist/AppTextEditor/index.js +0 -4
- package/dist/AppTextTruncation/AppTextTruncation.d.ts +0 -6
- package/dist/AppTextTruncation/index.d.ts +0 -1
- package/dist/AppTextTruncation/index.js +0 -4
- package/dist/AppTip/AppTip.d.ts +0 -6
- package/dist/AppTip/AppTip.js +0 -28
- package/dist/AppTip/index.d.ts +0 -1
- package/dist/AppTip/index.js +0 -4
- package/dist/Lightbulb-BLT-jnYA.js +0 -47
- package/dist/SForm/index.d.ts +0 -1
- package/dist/SForm/index.js +0 -4
- package/dist/SForm/package.json +0 -5
- package/dist/STextField/index.d.ts +0 -1
- package/dist/STextField/index.js +0 -4
- package/dist/STextField/package.json +0 -5
- package/dist/SThemeProvider/SThemeProvider.js +0 -35
- package/dist/SThemeProvider/index.d.ts +0 -1
- package/dist/SThemeProvider/index.js +0 -4
- package/dist/SThemeProvider/package.json +0 -5
- package/dist/styles/theme/color-schemes.d.ts +0 -7
- package/dist/styles/theme/color-schemes.js +0 -147
- package/dist/styles/theme/colors.d.ts +0 -92
- package/dist/styles/theme/colors.js +0 -94
- package/dist/styles/theme/components/avatar.d.ts +0 -18
- package/dist/styles/theme/components/avatar.js +0 -21
- package/dist/styles/theme/components/components.js +0 -113
- package/dist/styles/theme/create-theme.d.ts +0 -8
- package/dist/styles/theme/create-theme.js +0 -22
- package/dist/styles/theme/index.d.ts +0 -1
- package/dist/styles/theme/index.js +0 -4
- package/dist/styles/theme/shadows.d.ts +0 -3
- package/dist/styles/theme/shadows.js +0 -59
- package/dist/styles/theme/typography.d.ts +0 -68
- package/dist/styles/theme/typography.js +0 -31
- /package/dist/assets/{AppGallery.css → s-image-gallery.css} +0 -0
- /package/dist/assets/{AppTextTruncation.css → s-text-truncation.css} +0 -0
- /package/dist/{AppAutocomplete → s-autocomplete}/package.json +0 -0
- /package/dist/{AppAvatar → s-avatar}/package.json +0 -0
- /package/dist/{AppBox → s-box}/package.json +0 -0
- /package/dist/{AppBreadcrumbsSeparator → s-breadcrumbs-separator}/package.json +0 -0
- /package/dist/{AppBreadcrumbsSeparator/AppBreadcrumbsSeparator.js → s-breadcrumbs-separator/s-breadcrumbs-separator.js} +0 -0
- /package/dist/{AppButtonLink → s-button}/package.json +0 -0
- /package/dist/{AppButton → s-button-link}/package.json +0 -0
- /package/dist/{AppButtonLink/AppButtonLink.js → s-button-link/s-button-link.js} +0 -0
- /package/dist/{AppCardHeader → s-card}/package.json +0 -0
- /package/dist/{AppCard → s-card-actions}/package.json +0 -0
- /package/dist/{AppCardActions → s-card-content}/package.json +0 -0
- /package/dist/{AppCardContent → s-card-header}/package.json +0 -0
- /package/dist/{AppCheckbox → s-checkbox}/package.json +0 -0
- /package/dist/{AppChip → s-chip}/package.json +0 -0
- /package/dist/{AppChips → s-chips}/package.json +0 -0
- /package/dist/{AppDataTable → s-data-table}/package.json +0 -0
- /package/dist/{AppDialogMessage → s-dialog}/package.json +0 -0
- /package/dist/{AppDialog → s-dialog-confirm}/package.json +0 -0
- /package/dist/{AppDialogConfirm → s-dialog-message}/package.json +0 -0
- /package/dist/{AppEmpty → s-empty}/package.json +0 -0
- /package/dist/{AppError → s-error}/package.json +0 -0
- /package/dist/{AppError/AppError.js → s-error/s-error.js} +0 -0
- /package/dist/{AppFileDropzone → s-file-dropzone}/package.json +0 -0
- /package/dist/{AppFileIcon → s-file-icon}/package.json +0 -0
- /package/dist/{AppFormControl → s-form}/package.json +0 -0
- /package/dist/{SForm/SForm.d.ts → s-form/s-form.d.ts} +0 -0
- /package/dist/{SForm/SForm.js → s-form/s-form.js} +0 -0
- /package/dist/{AppGallery → s-i18n-provider}/package.json +0 -0
- /package/dist/{AppI18nProvider → s-icon-button}/package.json +0 -0
- /package/dist/{AppIconButton → s-image-gallery}/package.json +0 -0
- /package/dist/{AppIcons → s-label}/package.json +0 -0
- /package/dist/{AppLabel/AppLabel.js → s-label/s-label.js} +0 -0
- /package/dist/{AppLabel → s-link}/package.json +0 -0
- /package/dist/{AppLink → s-menu-item}/package.json +0 -0
- /package/dist/{AppMultiSelect → s-multi-select}/package.json +0 -0
- /package/dist/{AppNoData → s-no-ssr}/package.json +0 -0
- /package/dist/{AppNoSsr/AppNoSsr.js → s-no-ssr/s-no-ssr.js} +0 -0
- /package/dist/{AppNoSsr → s-pagination}/package.json +0 -0
- /package/dist/{AppOption → s-rating}/package.json +0 -0
- /package/dist/{AppPagination → s-select}/package.json +0 -0
- /package/dist/{AppRating → s-skeleton}/package.json +0 -0
- /package/dist/{AppSkeleton/AppSkeleton.js → s-skeleton/s-skeleton.js} +0 -0
- /package/dist/{AppSelect → s-snackbar-message}/package.json +0 -0
- /package/dist/{AppSkeleton → s-stack}/package.json +0 -0
- /package/dist/{AppSnackbarMessage → s-text-editor}/package.json +0 -0
- /package/dist/{AppStack → s-text-field}/package.json +0 -0
- /package/dist/{STextField/STextField.d.ts → s-text-field/s-text-field.d.ts} +0 -0
- /package/dist/{AppTextEditor → s-text-truncation}/package.json +0 -0
- /package/dist/{AppTextTruncation → s-theme-provider}/package.json +0 -0
- /package/dist/{SThemeProvider/SThemeProvider.d.ts → s-theme-provider/s-theme-provider.d.ts} +0 -0
- /package/dist/{AppTip → s-tip}/package.json +0 -0
- /package/dist/{styles/theme → theme}/components/accordion.d.ts +0 -0
- /package/dist/{styles/theme → theme}/components/accordion.js +0 -0
- /package/dist/{styles/theme → theme}/components/alert.d.ts +0 -0
- /package/dist/{styles/theme → theme}/components/alert.js +0 -0
- /package/dist/{styles/theme → theme}/components/autocomplete.d.ts +0 -0
- /package/dist/{styles/theme → theme}/components/backdrop.d.ts +0 -0
- /package/dist/{styles/theme → theme}/components/button-base.d.ts +0 -0
- /package/dist/{styles/theme → theme}/components/button-base.js +0 -0
- /package/dist/{styles/theme → theme}/components/button-group.d.ts +0 -0
- /package/dist/{styles/theme → theme}/components/button-group.js +0 -0
- /package/dist/{styles/theme → theme}/components/button.d.ts +0 -0
- /package/dist/{styles/theme → theme}/components/card-actions.d.ts +0 -0
- /package/dist/{styles/theme → theme}/components/card-actions.js +0 -0
- /package/dist/{styles/theme → theme}/components/card-content.d.ts +0 -0
- /package/dist/{styles/theme → theme}/components/card-content.js +0 -0
- /package/dist/{styles/theme → theme}/components/card-header.d.ts +0 -0
- /package/dist/{styles/theme → theme}/components/card.d.ts +0 -0
- /package/dist/{styles/theme → theme}/components/checkbox.d.ts +0 -0
- /package/dist/{styles/theme → theme}/components/chip.d.ts +0 -0
- /package/dist/{styles/theme → theme}/components/dialog-actions.d.ts +0 -0
- /package/dist/{styles/theme → theme}/components/dialog-actions.js +0 -0
- /package/dist/{styles/theme → theme}/components/dialog-content-text.d.ts +0 -0
- /package/dist/{styles/theme → theme}/components/dialog-content-text.js +0 -0
- /package/dist/{styles/theme → theme}/components/dialog-content.d.ts +0 -0
- /package/dist/{styles/theme → theme}/components/dialog-content.js +0 -0
- /package/dist/{styles/theme → theme}/components/dialog-title.d.ts +0 -0
- /package/dist/{styles/theme → theme}/components/dialog-title.js +0 -0
- /package/dist/{styles/theme → theme}/components/filled-input.d.ts +0 -0
- /package/dist/{styles/theme → theme}/components/form-control-label.d.ts +0 -0
- /package/dist/{styles/theme → theme}/components/form-control-label.js +0 -0
- /package/dist/{styles/theme → theme}/components/form-group.d.ts +0 -0
- /package/dist/{styles/theme → theme}/components/form-group.js +0 -0
- /package/dist/{styles/theme → theme}/components/form-helper-text.d.ts +0 -0
- /package/dist/{styles/theme → theme}/components/form-helper-text.js +0 -0
- /package/dist/{styles/theme → theme}/components/form-label.d.ts +0 -0
- /package/dist/{styles/theme → theme}/components/form-label.js +0 -0
- /package/dist/{styles/theme → theme}/components/icon-button.d.ts +0 -0
- /package/dist/{styles/theme → theme}/components/icon-button.js +0 -0
- /package/dist/{styles/theme → theme}/components/input-base.d.ts +0 -0
- /package/dist/{styles/theme → theme}/components/input-base.js +0 -0
- /package/dist/{styles/theme → theme}/components/input-label.d.ts +0 -0
- /package/dist/{styles/theme → theme}/components/input-label.js +0 -0
- /package/dist/{styles/theme → theme}/components/input.d.ts +0 -0
- /package/dist/{styles/theme → theme}/components/linear-progress.d.ts +0 -0
- /package/dist/{styles/theme → theme}/components/linear-progress.js +0 -0
- /package/dist/{styles/theme → theme}/components/link.d.ts +0 -0
- /package/dist/{styles/theme → theme}/components/link.js +0 -0
- /package/dist/{styles/theme → theme}/components/list-item-avatar.d.ts +0 -0
- /package/dist/{styles/theme → theme}/components/list-item-avatar.js +0 -0
- /package/dist/{styles/theme → theme}/components/list-item-button.d.ts +0 -0
- /package/dist/{styles/theme → theme}/components/list-item-button.js +0 -0
- /package/dist/{styles/theme → theme}/components/list-item-icon.d.ts +0 -0
- /package/dist/{styles/theme → theme}/components/list-item-icon.js +0 -0
- /package/dist/{styles/theme → theme}/components/list-item-text.d.ts +0 -0
- /package/dist/{styles/theme → theme}/components/list-item-text.js +0 -0
- /package/dist/{styles/theme → theme}/components/list-item.d.ts +0 -0
- /package/dist/{styles/theme → theme}/components/list-item.js +0 -0
- /package/dist/{styles/theme → theme}/components/list.d.ts +0 -0
- /package/dist/{styles/theme → theme}/components/list.js +0 -0
- /package/dist/{styles/theme → theme}/components/menu-item.d.ts +0 -0
- /package/dist/{styles/theme → theme}/components/menu.d.ts +0 -0
- /package/dist/{styles/theme → theme}/components/menu.js +0 -0
- /package/dist/{styles/theme → theme}/components/outlined-input.d.ts +0 -0
- /package/dist/{styles/theme → theme}/components/paper.d.ts +0 -0
- /package/dist/{styles/theme → theme}/components/paper.js +0 -0
- /package/dist/{styles/theme → theme}/components/popover.d.ts +0 -0
- /package/dist/{styles/theme → theme}/components/popover.js +0 -0
- /package/dist/{styles/theme → theme}/components/radio.d.ts +0 -0
- /package/dist/{styles/theme → theme}/components/select.d.ts +0 -0
- /package/dist/{styles/theme → theme}/components/skeleton.d.ts +0 -0
- /package/dist/{styles/theme → theme}/components/skeleton.js +0 -0
- /package/dist/{styles/theme → theme}/components/stack.d.ts +0 -0
- /package/dist/{styles/theme → theme}/components/stack.js +0 -0
- /package/dist/{styles/theme → theme}/components/switch.d.ts +0 -0
- /package/dist/{styles/theme → theme}/components/switch.js +0 -0
- /package/dist/{styles/theme → theme}/components/tab.d.ts +0 -0
- /package/dist/{styles/theme → theme}/components/tab.js +0 -0
- /package/dist/{styles/theme → theme}/components/table-body.d.ts +0 -0
- /package/dist/{styles/theme → theme}/components/table-body.js +0 -0
- /package/dist/{styles/theme → theme}/components/table-cell.d.ts +0 -0
- /package/dist/{styles/theme → theme}/components/table-cell.js +0 -0
- /package/dist/{styles/theme → theme}/components/table-head.d.ts +0 -0
- /package/dist/{styles/theme → theme}/components/table-pagination.d.ts +0 -0
- /package/dist/{styles/theme → theme}/components/tabs.d.ts +0 -0
- /package/dist/{styles/theme → theme}/components/toggle-button-group.d.ts +0 -0
- /package/dist/{styles/theme → theme}/components/toggle-button-group.js +0 -0
- /package/dist/{styles/theme → theme}/components/toggle-button.d.ts +0 -0
- /package/dist/{styles/theme → theme}/components/toggle-button.js +0 -0
- /package/dist/{styles/theme → theme}/components/tooltip.d.ts +0 -0
- /package/dist/{styles/theme → theme}/components/tooltip.js +0 -0
- /package/dist/{styles/theme → theme}/customizations/data-display.d.ts +0 -0
- /package/dist/{styles/theme → theme}/customizations/feedback.d.ts +0 -0
- /package/dist/{styles/theme → theme}/customizations/inputs.d.ts +0 -0
- /package/dist/{styles/theme → theme}/customizations/navigation.d.ts +0 -0
- /package/dist/{styles/theme → theme}/customizations/surfaces.d.ts +0 -0
- /package/dist/{styles/theme → theme}/theme-primitives.d.ts +0 -0
|
@@ -4,7 +4,7 @@ export type CustomFile = File | FileWithPath | {
|
|
|
4
4
|
name: string;
|
|
5
5
|
size: number;
|
|
6
6
|
};
|
|
7
|
-
interface
|
|
7
|
+
interface SFileDropzoneProps extends DropzoneOptions {
|
|
8
8
|
caption?: string;
|
|
9
9
|
files?: CustomFile[];
|
|
10
10
|
onRemove?: (file: CustomFile) => void;
|
|
@@ -16,5 +16,5 @@ interface AppFileDropzoneProps extends DropzoneOptions {
|
|
|
16
16
|
required?: boolean;
|
|
17
17
|
isShowBtnRemoveAll?: boolean;
|
|
18
18
|
}
|
|
19
|
-
declare const
|
|
20
|
-
export default
|
|
19
|
+
declare const SFileDropzone: ({ caption, label, error, onRemoveAll, onUpload, onRemove, required, disabledUpload, isShowBtnRemoveAll, ...props }: SFileDropzoneProps) => React.JSX.Element;
|
|
20
|
+
export default SFileDropzone;
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import { j as e } from "../jsx-runtime-C5mzlN2N.js";
|
|
2
2
|
import { Tooltip as E, IconButton as w } from "@mui/material";
|
|
3
|
-
import t, { forwardRef as
|
|
4
|
-
import { E as
|
|
5
|
-
import { S as
|
|
6
|
-
import { useDropzone as
|
|
7
|
-
import
|
|
8
|
-
import
|
|
9
|
-
import
|
|
10
|
-
import
|
|
3
|
+
import t, { forwardRef as S } from "react";
|
|
4
|
+
import { E as M } from "../SSRBase-BSdFRe_j.js";
|
|
5
|
+
import { S as Z } from "../X-B8GTZwii.js";
|
|
6
|
+
import { useDropzone as V } from "react-dropzone";
|
|
7
|
+
import z from "../s-avatar/s-avatar.js";
|
|
8
|
+
import F from "../s-button/s-button.js";
|
|
9
|
+
import I from "../s-file-icon/s-file-icon.js";
|
|
10
|
+
import O from "../s-form/s-form.js";
|
|
11
11
|
import { bytesToSize as C } from "../utils/bytes-to-size.js";
|
|
12
|
-
import { S as n } from "../Stack-
|
|
12
|
+
import { S as n } from "../Stack-DIkbVcfm.js";
|
|
13
13
|
import { B as u } from "../Box-DyPisl7H.js";
|
|
14
|
-
import { T as i } from "../Typography-
|
|
14
|
+
import { T as i } from "../Typography-jSFidXje.js";
|
|
15
15
|
const H = /* @__PURE__ */ new Map([
|
|
16
16
|
[
|
|
17
17
|
"bold",
|
|
@@ -44,15 +44,15 @@ const H = /* @__PURE__ */ new Map([
|
|
|
44
44
|
/* @__PURE__ */ t.createElement(t.Fragment, null, /* @__PURE__ */ t.createElement("path", { d: "M186.83,162.83a4,4,0,0,1-5.66,0L156,137.66V208a4,4,0,0,1-8,0V137.66l-25.17,25.17a4,4,0,0,1-5.66-5.66l32-32a4,4,0,0,1,5.66,0l32,32A4,4,0,0,1,186.83,162.83ZM160,44A84.09,84.09,0,0,0,83.61,93.13,60,60,0,1,0,72,212h40a4,4,0,0,0,0-8H72a52,52,0,1,1,8.57-103.27A83.45,83.45,0,0,0,76,128a4,4,0,0,0,8,0,76,76,0,1,1,106.4,69.68,4,4,0,0,0,1.6,7.66,3.92,3.92,0,0,0,1.6-.33A84,84,0,0,0,160,44Z" }))
|
|
45
45
|
]
|
|
46
46
|
]);
|
|
47
|
-
var P = Object.defineProperty, k = Object.defineProperties, D = Object.getOwnPropertyDescriptors, x = Object.getOwnPropertySymbols, B = Object.prototype.hasOwnProperty, L = Object.prototype.propertyIsEnumerable, h = (a, r, l) => r in a ? P(a, r, { enumerable: !0, configurable: !0, writable: !0, value: l }) : a[r] = l,
|
|
47
|
+
var P = Object.defineProperty, k = Object.defineProperties, D = Object.getOwnPropertyDescriptors, x = Object.getOwnPropertySymbols, B = Object.prototype.hasOwnProperty, L = Object.prototype.propertyIsEnumerable, h = (a, r, l) => r in a ? P(a, r, { enumerable: !0, configurable: !0, writable: !0, value: l }) : a[r] = l, R = (a, r) => {
|
|
48
48
|
for (var l in r || (r = {}))
|
|
49
49
|
B.call(r, l) && h(a, l, r[l]);
|
|
50
50
|
if (x)
|
|
51
51
|
for (var l of x(r))
|
|
52
52
|
L.call(r, l) && h(a, l, r[l]);
|
|
53
53
|
return a;
|
|
54
|
-
},
|
|
55
|
-
const f =
|
|
54
|
+
}, T = (a, r) => k(a, D(r));
|
|
55
|
+
const f = S((a, r) => /* @__PURE__ */ t.createElement(M, T(R({ ref: r }, a), { weights: H })));
|
|
56
56
|
f.displayName = "CloudArrowUp";
|
|
57
57
|
const l0 = ({
|
|
58
58
|
caption: a,
|
|
@@ -63,12 +63,12 @@ const l0 = ({
|
|
|
63
63
|
onRemove: s,
|
|
64
64
|
required: j = !1,
|
|
65
65
|
disabledUpload: _ = !1,
|
|
66
|
-
isShowBtnRemoveAll:
|
|
67
|
-
...
|
|
66
|
+
isShowBtnRemoveAll: v = !1,
|
|
67
|
+
...c
|
|
68
68
|
}) => {
|
|
69
69
|
var m, d;
|
|
70
|
-
const { getRootProps:
|
|
71
|
-
return /* @__PURE__ */ e.jsxs(
|
|
70
|
+
const { getRootProps: A, getInputProps: b, isDragActive: p } = V(c);
|
|
71
|
+
return /* @__PURE__ */ e.jsxs(O, { error: l, label: r, required: j, children: [
|
|
72
72
|
/* @__PURE__ */ e.jsx(n, { spacing: 2, mt: "0.5rem", children: /* @__PURE__ */ e.jsxs(
|
|
73
73
|
u,
|
|
74
74
|
{
|
|
@@ -82,22 +82,22 @@ const l0 = ({
|
|
|
82
82
|
justifyContent: "center",
|
|
83
83
|
outline: "none",
|
|
84
84
|
p: 6,
|
|
85
|
-
...
|
|
85
|
+
...p && {
|
|
86
86
|
bgcolor: "var(--mui-palette-action-selected)",
|
|
87
87
|
opacity: 0.5
|
|
88
88
|
},
|
|
89
89
|
"&:hover": {
|
|
90
|
-
...!
|
|
90
|
+
...!p && {
|
|
91
91
|
bgcolor: "var(--mui-palette-action-hover)"
|
|
92
92
|
}
|
|
93
93
|
}
|
|
94
94
|
},
|
|
95
|
-
...
|
|
95
|
+
...A(),
|
|
96
96
|
children: [
|
|
97
97
|
/* @__PURE__ */ e.jsx("input", { ...b() }),
|
|
98
98
|
/* @__PURE__ */ e.jsxs(n, { direction: "row", spacing: 2, sx: { alignItems: "center" }, children: [
|
|
99
99
|
/* @__PURE__ */ e.jsx(
|
|
100
|
-
|
|
100
|
+
z,
|
|
101
101
|
{
|
|
102
102
|
sx: {
|
|
103
103
|
"--Avatar-size": "64px",
|
|
@@ -121,8 +121,8 @@ const l0 = ({
|
|
|
121
121
|
]
|
|
122
122
|
}
|
|
123
123
|
) }),
|
|
124
|
-
(m =
|
|
125
|
-
/* @__PURE__ */ e.jsx(n, { component: "ul", spacing: 1, sx: { listStyle: "none", m: 0, p: 0 }, children: (d =
|
|
124
|
+
(m = c.files) != null && m.length ? /* @__PURE__ */ e.jsxs(n, { mt: 2, spacing: 2, children: [
|
|
125
|
+
/* @__PURE__ */ e.jsx(n, { component: "ul", spacing: 1, sx: { listStyle: "none", m: 0, p: 0 }, children: (d = c.files) == null ? void 0 : d.map((o) => {
|
|
126
126
|
const y = o.name.split(".").pop();
|
|
127
127
|
return /* @__PURE__ */ e.jsxs(
|
|
128
128
|
n,
|
|
@@ -138,7 +138,7 @@ const l0 = ({
|
|
|
138
138
|
p: 1
|
|
139
139
|
},
|
|
140
140
|
children: [
|
|
141
|
-
/* @__PURE__ */ e.jsx(
|
|
141
|
+
/* @__PURE__ */ e.jsx(I, { extension: y }),
|
|
142
142
|
/* @__PURE__ */ e.jsxs(u, { sx: { flex: "1 1 auto" }, children: [
|
|
143
143
|
/* @__PURE__ */ e.jsx(i, { variant: "subtitle2", children: o.name }),
|
|
144
144
|
/* @__PURE__ */ e.jsx(i, { color: "text.secondary", variant: "body2", children: C(o.size) })
|
|
@@ -149,7 +149,7 @@ const l0 = ({
|
|
|
149
149
|
onClick: () => {
|
|
150
150
|
s == null || s(o);
|
|
151
151
|
},
|
|
152
|
-
children: /* @__PURE__ */ e.jsx(
|
|
152
|
+
children: /* @__PURE__ */ e.jsx(Z, {})
|
|
153
153
|
}
|
|
154
154
|
) })
|
|
155
155
|
]
|
|
@@ -157,7 +157,7 @@ const l0 = ({
|
|
|
157
157
|
o.size
|
|
158
158
|
);
|
|
159
159
|
}) }),
|
|
160
|
-
/* @__PURE__ */ e.jsx(n, { direction: "row", spacing: 2, sx: { alignItems: "center", justifyContent: "flex-end" }, children:
|
|
160
|
+
/* @__PURE__ */ e.jsx(n, { direction: "row", spacing: 2, sx: { alignItems: "center", justifyContent: "flex-end" }, children: v && /* @__PURE__ */ e.jsx(F, { onClick: g, size: "small", type: "button", variant: "text", children: "Remove all" }) })
|
|
161
161
|
] }) : null
|
|
162
162
|
] });
|
|
163
163
|
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default } from './s-file-icon';
|
|
@@ -7,7 +7,7 @@ const o = {
|
|
|
7
7
|
pdf: "/assets/icon-pdf.svg",
|
|
8
8
|
png: "/assets/icon-png.svg",
|
|
9
9
|
svg: "/assets/icon-svg.svg"
|
|
10
|
-
},
|
|
10
|
+
}, c = ({ extension: t }) => {
|
|
11
11
|
let s;
|
|
12
12
|
return t ? s = o[t] ?? "/assets/icon-other.svg" : s = "/assets/icon-other.svg", /* @__PURE__ */ e.jsx(
|
|
13
13
|
i,
|
|
@@ -25,5 +25,5 @@ const o = {
|
|
|
25
25
|
);
|
|
26
26
|
};
|
|
27
27
|
export {
|
|
28
|
-
|
|
28
|
+
c as default
|
|
29
29
|
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default } from './s-form';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default } from './s-i18n-provider';
|
|
@@ -2,18 +2,18 @@ import { j as a } from "../jsx-runtime-C5mzlN2N.js";
|
|
|
2
2
|
import * as o from "react";
|
|
3
3
|
import { use as i } from "i18next";
|
|
4
4
|
import s from "i18next-http-backend";
|
|
5
|
-
import { initReactI18next as
|
|
5
|
+
import { initReactI18next as c, useTranslation as m } from "react-i18next";
|
|
6
6
|
import { logger as n } from "../utils/logger.js";
|
|
7
|
-
i(s).use(
|
|
7
|
+
i(s).use(c).init({ lng: "en", fallbackLng: "en", interpolation: { escapeValue: !1 } }).catch((e) => {
|
|
8
8
|
n.error("Failed to initialize i18n", e);
|
|
9
9
|
});
|
|
10
|
-
const d = ({ children: e, language:
|
|
11
|
-
const { i18n:
|
|
10
|
+
const d = ({ children: e, language: t = "en" }) => {
|
|
11
|
+
const { i18n: r } = m();
|
|
12
12
|
return o.useEffect(() => {
|
|
13
|
-
|
|
14
|
-
n.error(`Failed to change language to ${
|
|
13
|
+
r.changeLanguage(t).catch(() => {
|
|
14
|
+
n.error(`Failed to change language to ${t}`);
|
|
15
15
|
});
|
|
16
|
-
}, [
|
|
16
|
+
}, [r, t]), /* @__PURE__ */ a.jsx(o.Fragment, { children: e });
|
|
17
17
|
};
|
|
18
18
|
export {
|
|
19
19
|
d as default
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default } from './s-icon-button';
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
import { IconButtonProps, TooltipProps } from '@mui/material';
|
|
3
|
+
interface SIconButtonProps extends IconButtonProps {
|
|
4
|
+
tooltip: string;
|
|
5
|
+
tooltipOptions: TooltipProps;
|
|
6
|
+
}
|
|
7
|
+
declare const SIconButton: ({ tooltip, tooltipOptions, ...props }: SIconButtonProps) => React.JSX.Element;
|
|
8
|
+
export default SIconButton;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { j as o } from "../jsx-runtime-C5mzlN2N.js";
|
|
2
|
+
import { Tooltip as n, IconButton as s } from "@mui/material";
|
|
3
|
+
const m = ({ tooltip: i, tooltipOptions: t, ...r }) => /* @__PURE__ */ o.jsx(n, { ...t, children: /* @__PURE__ */ o.jsx(s, { ...r }) });
|
|
4
|
+
export {
|
|
5
|
+
m as default
|
|
6
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default } from './s-image-gallery';
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
import { ReactImageGalleryProps } from 'react-image-gallery';
|
|
3
|
+
interface SImageGalleryProps extends ReactImageGalleryProps {
|
|
4
|
+
}
|
|
5
|
+
declare const SImageGallery: ({ ...props }: SImageGalleryProps) => React.JSX.Element;
|
|
6
|
+
export default SImageGallery;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { j as it } from "../jsx-runtime-C5mzlN2N.js";
|
|
2
2
|
import * as oe from "react";
|
|
3
|
-
import '../assets/
|
|
3
|
+
import '../assets/s-image-gallery.css';var at = { 694: (r, e, t) => {
|
|
4
4
|
var n = t(925);
|
|
5
5
|
function a() {
|
|
6
6
|
}
|
|
@@ -101,7 +101,7 @@ function Ke(r) {
|
|
|
101
101
|
} else for (t in r) r[t] && (n && (n += " "), n += t);
|
|
102
102
|
return n;
|
|
103
103
|
}
|
|
104
|
-
E.d(Ve, { A: () =>
|
|
104
|
+
E.d(Ve, { A: () => Yt });
|
|
105
105
|
const F = function() {
|
|
106
106
|
for (var r, e, t = 0, n = "", a = arguments.length; t < a; t++) (r = arguments[t]) && (e = Ke(r)) && (n && (n += " "), n += e);
|
|
107
107
|
return n;
|
|
@@ -122,7 +122,7 @@ const ct = function(r) {
|
|
|
122
122
|
return t;
|
|
123
123
|
}(r) + 1).replace(ut, "");
|
|
124
124
|
}, ee = Xe.Symbol;
|
|
125
|
-
var
|
|
125
|
+
var Ye = Object.prototype, ht = Ye.hasOwnProperty, dt = Ye.toString, X = ee ? ee.toStringTag : void 0, ft = Object.prototype.toString, ke = ee ? ee.toStringTag : void 0;
|
|
126
126
|
const pt = function(r) {
|
|
127
127
|
return r == null ? r === void 0 ? "[object Undefined]" : "[object Null]" : ke && ke in Object(r) ? function(e) {
|
|
128
128
|
var t = ht.call(e, X), n = e[X];
|
|
@@ -197,7 +197,7 @@ const he = function(r, e, t) {
|
|
|
197
197
|
if (typeof r != "function") throw new TypeError("Expected a function");
|
|
198
198
|
return Z(t) && (n = "leading" in t ? !!t.leading : n, a = "trailing" in t ? !!t.trailing : a), he(r, e, { leading: n, maxWait: e, trailing: a });
|
|
199
199
|
};
|
|
200
|
-
var St = E(115), Tt = E.n(St),
|
|
200
|
+
var St = E(115), Tt = E.n(St), $e = function() {
|
|
201
201
|
if (typeof Map < "u") return Map;
|
|
202
202
|
function r(e, t) {
|
|
203
203
|
var n = -1;
|
|
@@ -351,7 +351,7 @@ var jt = function() {
|
|
|
351
351
|
Pe(this, { target: r, contentRect: t });
|
|
352
352
|
}, Rt = function() {
|
|
353
353
|
function r(e, t, n) {
|
|
354
|
-
if (this.activeObservations_ = [], this.observations_ = new
|
|
354
|
+
if (this.activeObservations_ = [], this.observations_ = new $e(), typeof e != "function") throw new TypeError("The callback provided as parameter 1 is not a function.");
|
|
355
355
|
this.callback_ = e, this.controller_ = t, this.callbackCtx_ = n;
|
|
356
356
|
}
|
|
357
357
|
return r.prototype.observe = function(e) {
|
|
@@ -387,7 +387,7 @@ var jt = function() {
|
|
|
387
387
|
}, r.prototype.hasActive = function() {
|
|
388
388
|
return this.activeObservations_.length > 0;
|
|
389
389
|
}, r;
|
|
390
|
-
}(), Je = typeof WeakMap < "u" ? /* @__PURE__ */ new WeakMap() : new
|
|
390
|
+
}(), Je = typeof WeakMap < "u" ? /* @__PURE__ */ new WeakMap() : new $e(), Qe = function r(e) {
|
|
391
391
|
if (!(this instanceof r)) throw new TypeError("Cannot call a class as a function.");
|
|
392
392
|
if (!arguments.length) throw new TypeError("1 argument required, but only 0 present.");
|
|
393
393
|
var t = It.getInstance(), n = new Rt(e, t, this);
|
|
@@ -467,12 +467,12 @@ function Lt(r) {
|
|
|
467
467
|
}(t.current, n.current, a.current, o), i;
|
|
468
468
|
}
|
|
469
469
|
var l = E(556);
|
|
470
|
-
function
|
|
471
|
-
return
|
|
470
|
+
function Y(r) {
|
|
471
|
+
return Y = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(e) {
|
|
472
472
|
return typeof e;
|
|
473
473
|
} : function(e) {
|
|
474
474
|
return e && typeof Symbol == "function" && e.constructor === Symbol && e !== Symbol.prototype ? "symbol" : typeof e;
|
|
475
|
-
},
|
|
475
|
+
}, Y(r);
|
|
476
476
|
}
|
|
477
477
|
function Ce(r, e) {
|
|
478
478
|
var t = Object.keys(r);
|
|
@@ -498,16 +498,16 @@ function We(r) {
|
|
|
498
498
|
function Mt(r, e, t) {
|
|
499
499
|
return (e = function(n) {
|
|
500
500
|
var a = function(s) {
|
|
501
|
-
if (
|
|
501
|
+
if (Y(s) != "object" || !s) return s;
|
|
502
502
|
var i = s[Symbol.toPrimitive];
|
|
503
503
|
if (i !== void 0) {
|
|
504
504
|
var o = i.call(s, "string");
|
|
505
|
-
if (
|
|
505
|
+
if (Y(o) != "object") return o;
|
|
506
506
|
throw new TypeError("@@toPrimitive must return a primitive value.");
|
|
507
507
|
}
|
|
508
508
|
return String(s);
|
|
509
509
|
}(n);
|
|
510
|
-
return
|
|
510
|
+
return Y(a) == "symbol" ? a : a + "";
|
|
511
511
|
}(e)) in r ? Object.defineProperty(r, e, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : r[e] = t, r;
|
|
512
512
|
}
|
|
513
513
|
var Dt = { description: "", fullscreen: "", isFullscreen: !1, originalAlt: "", originalHeight: "", originalWidth: "", originalTitle: "", sizes: "", srcSet: "", loading: "eager" }, fe = h.default.memo(function(r) {
|
|
@@ -518,12 +518,12 @@ var Dt = { description: "", fullscreen: "", isFullscreen: !1, originalAlt: "", o
|
|
|
518
518
|
});
|
|
519
519
|
fe.displayName = "Item", fe.propTypes = { description: l.string, fullscreen: l.string, handleImageLoaded: l.func.isRequired, isFullscreen: l.bool, onImageError: l.func.isRequired, original: l.string.isRequired, originalAlt: l.string, originalHeight: l.string, originalWidth: l.string, originalTitle: l.string, sizes: l.string, srcSet: l.string, loading: l.string };
|
|
520
520
|
const Ct = fe;
|
|
521
|
-
function
|
|
522
|
-
return
|
|
521
|
+
function $(r) {
|
|
522
|
+
return $ = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(e) {
|
|
523
523
|
return typeof e;
|
|
524
524
|
} : function(e) {
|
|
525
525
|
return e && typeof Symbol == "function" && e.constructor === Symbol && e !== Symbol.prototype ? "symbol" : typeof e;
|
|
526
|
-
},
|
|
526
|
+
}, $(r);
|
|
527
527
|
}
|
|
528
528
|
function Ne(r, e) {
|
|
529
529
|
var t = Object.keys(r);
|
|
@@ -549,16 +549,16 @@ function Fe(r) {
|
|
|
549
549
|
function Wt(r, e, t) {
|
|
550
550
|
return (e = function(n) {
|
|
551
551
|
var a = function(s) {
|
|
552
|
-
if (
|
|
552
|
+
if ($(s) != "object" || !s) return s;
|
|
553
553
|
var i = s[Symbol.toPrimitive];
|
|
554
554
|
if (i !== void 0) {
|
|
555
555
|
var o = i.call(s, "string");
|
|
556
|
-
if (
|
|
556
|
+
if ($(o) != "object") return o;
|
|
557
557
|
throw new TypeError("@@toPrimitive must return a primitive value.");
|
|
558
558
|
}
|
|
559
559
|
return String(s);
|
|
560
560
|
}(n);
|
|
561
|
-
return
|
|
561
|
+
return $(a) == "symbol" ? a : a + "";
|
|
562
562
|
}(e)) in r ? Object.defineProperty(r, e, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : r[e] = t, r;
|
|
563
563
|
}
|
|
564
564
|
var Nt = { left: h.default.createElement("polyline", { points: "15 18 9 12 15 6" }), right: h.default.createElement("polyline", { points: "9 18 15 12 9 6" }), top: h.default.createElement("polyline", { points: "6 15 12 9 18 15" }), bottom: h.default.createElement("polyline", { points: "6 9 12 15 18 9" }), maximize: h.default.createElement("path", { d: "M8 3H5a2 2 0 0 0-2 2v3m18 0V5a2 2 0 0 0-2-2h-3m0 18h3a2 2 0 0 0 2-2v-3M3 16v3a2 2 0 0 0 2 2h3" }), minimize: h.default.createElement("path", { d: "M8 3v3a2 2 0 0 1-2 2H3m18 0h-3a2 2 0 0 1-2-2V3m0 18v-3a2 2 0 0 1 2-2h3M3 16h3a2 2 0 0 1 2 2v3" }), play: h.default.createElement("polygon", { points: "5 3 19 12 5 21 5 3" }), pause: h.default.createElement(h.default.Fragment, null, h.default.createElement("rect", { x: "6", y: "4", width: "4", height: "16" }), h.default.createElement("rect", { x: "14", y: "4", width: "4", height: "16" })) }, Ft = { strokeWidth: 1, viewBox: "0 0 24 24" }, Ze = function(r) {
|
|
@@ -1077,9 +1077,9 @@ Te.propTypes = { flickThreshold: l.number, items: (0, l.arrayOf)((0, l.shape)({
|
|
|
1077
1077
|
}, renderFullscreenButton: function(r, e) {
|
|
1078
1078
|
return h.default.createElement(zt, { onClick: r, isFullscreen: e });
|
|
1079
1079
|
}, useWindowKeyDown: !0 };
|
|
1080
|
-
const
|
|
1081
|
-
var
|
|
1082
|
-
const Qt = ({ ...r }) => /* @__PURE__ */ it.jsx(
|
|
1080
|
+
const Yt = Te;
|
|
1081
|
+
var $t = Ve.A;
|
|
1082
|
+
const Qt = ({ ...r }) => /* @__PURE__ */ it.jsx($t, { ...r });
|
|
1083
1083
|
export {
|
|
1084
1084
|
Qt as default
|
|
1085
1085
|
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default } from './s-label';
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { default as React } from 'react';
|
|
2
2
|
import { SxProps } from '@mui/material';
|
|
3
|
-
import { Theme } from '../
|
|
4
|
-
interface
|
|
3
|
+
import { Theme } from '../theme/types';
|
|
4
|
+
interface SLabelProps {
|
|
5
5
|
label?: string | React.ReactNode;
|
|
6
6
|
content?: string | React.ReactNode;
|
|
7
7
|
children?: React.ReactNode;
|
|
8
8
|
sx?: SxProps<Theme> | undefined;
|
|
9
9
|
}
|
|
10
|
-
declare const
|
|
11
|
-
export default
|
|
10
|
+
declare const SLabel: ({ label, content, children, sx }: SLabelProps) => React.JSX.Element;
|
|
11
|
+
export default SLabel;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default } from './s-link';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default } from './s-menu-item';
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { MenuItemProps } from '@mui/material/MenuItem';
|
|
2
2
|
import * as React from 'react';
|
|
3
|
-
export interface
|
|
3
|
+
export interface SMenuItemProps extends MenuItemProps {
|
|
4
4
|
children: React.ReactNode;
|
|
5
5
|
disabled?: boolean;
|
|
6
6
|
value: string | number;
|
|
7
7
|
}
|
|
8
|
-
declare const
|
|
9
|
-
export default
|
|
8
|
+
declare const SMenuItem: ({ children, ...props }: SMenuItemProps) => React.JSX.Element;
|
|
9
|
+
export default SMenuItem;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default } from './s-multi-select';
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
export interface SMultiSelectProps<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 SMultiSelect<T = string>({ label, onChange, options, value }: SMultiSelectProps<T>): React.JSX.Element;
|
|
12
|
+
export default SMultiSelect;
|
|
@@ -1,26 +1,21 @@
|
|
|
1
1
|
import { j as o } from "../jsx-runtime-C5mzlN2N.js";
|
|
2
|
-
import * as
|
|
2
|
+
import * as c from "react";
|
|
3
3
|
import { C as u } from "../CaretDown-CZu0drmJ.js";
|
|
4
|
-
import f from "../
|
|
5
|
-
import
|
|
6
|
-
import { M as x } from "../Menu-
|
|
7
|
-
import { M as h } from "../MenuItem-
|
|
8
|
-
function
|
|
9
|
-
|
|
10
|
-
onChange: t,
|
|
11
|
-
options: i,
|
|
12
|
-
value: n = []
|
|
13
|
-
}) {
|
|
14
|
-
const r = d(), a = p.useCallback(
|
|
4
|
+
import { usePopover as f } from "../hooks/use-popover.js";
|
|
5
|
+
import d from "../s-button/s-button.js";
|
|
6
|
+
import { M as x } from "../Menu-CzI0zcbw.js";
|
|
7
|
+
import { M as h } from "../MenuItem-Bl45WcKS.js";
|
|
8
|
+
function v({ label: i, onChange: t, options: a, value: n = [] }) {
|
|
9
|
+
const r = f(), m = c.useCallback(
|
|
15
10
|
(e, s) => {
|
|
16
11
|
let l = [...n];
|
|
17
|
-
s ? l.push(e) : l = l.filter((
|
|
12
|
+
s ? l.push(e) : l = l.filter((p) => p !== e), t == null || t(l);
|
|
18
13
|
},
|
|
19
14
|
[t, n]
|
|
20
15
|
);
|
|
21
|
-
return /* @__PURE__ */ o.jsxs(
|
|
16
|
+
return /* @__PURE__ */ o.jsxs(c.Fragment, { children: [
|
|
22
17
|
/* @__PURE__ */ o.jsx(
|
|
23
|
-
|
|
18
|
+
d,
|
|
24
19
|
{
|
|
25
20
|
endIcon: /* @__PURE__ */ o.jsx(u, {}),
|
|
26
21
|
onClick: r.handleOpen,
|
|
@@ -28,7 +23,7 @@ function R({
|
|
|
28
23
|
sx: {
|
|
29
24
|
"& .MuiButton-endIcon svg": { fontSize: "var(--icon-fontSize-sm)" }
|
|
30
25
|
},
|
|
31
|
-
children:
|
|
26
|
+
children: i
|
|
32
27
|
}
|
|
33
28
|
),
|
|
34
29
|
/* @__PURE__ */ o.jsx(
|
|
@@ -38,13 +33,13 @@ function R({
|
|
|
38
33
|
onClose: r.handleClose,
|
|
39
34
|
open: r.open,
|
|
40
35
|
slotProps: { paper: { sx: { width: "250px" } } },
|
|
41
|
-
children:
|
|
36
|
+
children: a.map((e) => {
|
|
42
37
|
const s = n.includes(e.value);
|
|
43
38
|
return /* @__PURE__ */ o.jsx(
|
|
44
39
|
h,
|
|
45
40
|
{
|
|
46
41
|
onClick: () => {
|
|
47
|
-
|
|
42
|
+
m(e.value, !s);
|
|
48
43
|
},
|
|
49
44
|
selected: s,
|
|
50
45
|
children: e.label
|
|
@@ -57,5 +52,5 @@ function R({
|
|
|
57
52
|
] });
|
|
58
53
|
}
|
|
59
54
|
export {
|
|
60
|
-
|
|
55
|
+
v as default
|
|
61
56
|
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default } from './s-no-ssr';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default } from './s-pagination';
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
import { PaginationProps } from '@mui/material';
|
|
3
|
+
interface SPaginationProps extends PaginationProps {
|
|
4
|
+
loading?: boolean;
|
|
5
|
+
}
|
|
6
|
+
declare const SPagination: ({ loading, ...props }: SPaginationProps) => React.JSX.Element;
|
|
7
|
+
export default SPagination;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { j as n } from "../jsx-runtime-C5mzlN2N.js";
|
|
2
2
|
import { Box as i, Pagination as o, Stack as r } from "@mui/material";
|
|
3
|
-
import s from "../
|
|
3
|
+
import s from "../s-skeleton/s-skeleton.js";
|
|
4
4
|
const a = ({ style: t }) => /* @__PURE__ */ n.jsxs(r, { direction: "row", flexWrap: "wrap", gap: 1, justifyContent: "center", style: t, children: [
|
|
5
5
|
/* @__PURE__ */ n.jsx(s, { component: "icon-button" }),
|
|
6
6
|
/* @__PURE__ */ n.jsx(s, { variant: "rounded", width: 120 }),
|