@astral/ui 4.123.0 → 4.124.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/components/AddressAutocomplete/AddressAutocomplete.d.ts +3 -0
- package/components/AddressAutocomplete/AddressAutocomplete.js +3 -0
- package/components/AsyncAutocomplete/AsyncAutocomplete.d.ts +3 -0
- package/components/AsyncAutocomplete/AsyncAutocomplete.js +3 -0
- package/components/Autocomplete/Autocomplete.d.ts +3 -0
- package/components/Autocomplete/Autocomplete.js +3 -0
- package/components/Button/Button.d.ts +3 -0
- package/components/Button/Button.js +3 -0
- package/components/CheckboxField/CheckboxField.d.ts +1 -0
- package/components/CheckboxField/CheckboxField.js +1 -0
- package/components/CodeField/CodeField.d.ts +1 -0
- package/components/CodeField/CodeField.js +1 -0
- package/components/DataGrid/types.d.ts +3 -0
- package/components/DataGridActionCell/DataGridActionCell.d.ts +4 -0
- package/components/DataGridActionCell/DataGridActionCell.js +4 -0
- package/components/DatePicker/DatePicker.d.ts +3 -0
- package/components/DatePicker/DatePicker.js +3 -0
- package/components/DateRangePicker/DateRangePicker.d.ts +3 -0
- package/components/DateRangePicker/DateRangePicker.js +3 -0
- package/components/DescriptionCell/DescriptionCell.d.ts +4 -0
- package/components/DescriptionCell/DescriptionCell.js +4 -0
- package/components/DescriptionList/types.d.ts +1 -1
- package/components/Dialog/Dialog.d.ts +3 -0
- package/components/Dialog/Dialog.js +3 -0
- package/components/EmailField/EmailField.d.ts +3 -0
- package/components/EmailField/EmailField.js +3 -0
- package/components/EmailOrPhoneField/EmailOrPhoneField.d.ts +1 -0
- package/components/EmailOrPhoneField/EmailOrPhoneField.js +1 -0
- package/components/MaskField/MaskField.d.ts +8 -0
- package/components/MaskField/MaskField.js +8 -0
- package/components/NewPopover/NewPopover.d.ts +3 -0
- package/components/NewPopover/NewPopover.js +3 -0
- package/components/NewStepper/NewStepper.d.ts +4 -0
- package/components/NewStepper/NewStepper.js +4 -0
- package/components/NumberField/NumberField.d.ts +3 -0
- package/components/NumberField/NumberField.js +3 -0
- package/components/PageAside/types.d.ts +4 -0
- package/components/PageHeader/types.d.ts +3 -3
- package/components/PageLayout/PageLayout.d.ts +4 -0
- package/components/PageLayout/PageLayout.js +4 -0
- package/components/PasswordField/PasswordField.d.ts +3 -0
- package/components/PasswordField/PasswordField.js +3 -0
- package/components/RadioGroup/RadioGroup.d.ts +1 -0
- package/components/RadioGroup/RadioGroup.js +1 -0
- package/components/Select/Select.d.ts +3 -0
- package/components/Select/Select.js +3 -0
- package/components/SelectionCard/SelectionCard.d.ts +1 -0
- package/components/SelectionCard/SelectionCard.js +1 -0
- package/components/TextArea/TextArea.d.ts +3 -0
- package/components/TextArea/TextArea.js +3 -0
- package/components/TextField/TextField.d.ts +3 -0
- package/components/TextField/TextField.js +3 -0
- package/components/ToggleButtonGroup/ToggleButtonGroup.d.ts +3 -0
- package/components/ToggleButtonGroup/ToggleButtonGroup.js +3 -0
- package/components/TreeAsyncAutocomplete/TreeAsyncAutocomplete.d.ts +3 -0
- package/components/TreeAsyncAutocomplete/TreeAsyncAutocomplete.js +3 -0
- package/components/TreeAutocomplete/TreeAutocomplete.d.ts +3 -0
- package/components/TreeAutocomplete/TreeAutocomplete.js +3 -0
- package/components/TreeLikeAsyncAutocomplete/TreeLikeAsyncAutocomplete.d.ts +3 -0
- package/components/TreeLikeAsyncAutocomplete/TreeLikeAsyncAutocomplete.js +3 -0
- package/components/TreeLikeAutocomplete/TreeLikeAutocomplete.d.ts +3 -0
- package/components/TreeLikeAutocomplete/TreeLikeAutocomplete.js +3 -0
- package/components/fileUploading/FileUploader/FileUploader.d.ts +3 -0
- package/components/fileUploading/FileUploader/FileUploader.js +3 -0
- package/components/fileUploading/PreviewFileUploader/PreviewFileUploader.d.ts +3 -0
- package/components/fileUploading/PreviewFileUploader/PreviewFileUploader.js +3 -0
- package/hook-form/Form/Form.d.ts +3 -0
- package/hook-form/Form/Form.js +3 -0
- package/hook-form/FormAddressAutocomplete/FormAddressAutocomplete.d.ts +3 -0
- package/hook-form/FormAddressAutocomplete/FormAddressAutocomplete.js +3 -0
- package/hook-form/FormAsyncAutocomplete/FormAsyncAutocomplete.d.ts +3 -0
- package/hook-form/FormAsyncAutocomplete/FormAsyncAutocomplete.js +3 -0
- package/hook-form/FormAutocomplete/FormAutocomplete.d.ts +1 -0
- package/hook-form/FormAutocomplete/FormAutocomplete.js +1 -0
- package/hook-form/FormCheckboxField/FormCheckboxField.d.ts +3 -0
- package/hook-form/FormCheckboxField/FormCheckboxField.js +3 -0
- package/hook-form/FormCodeField/FormCodeField.d.ts +1 -0
- package/hook-form/FormCodeField/FormCodeField.js +1 -0
- package/hook-form/FormDatePicker/FormDatePicker.d.ts +1 -0
- package/hook-form/FormDatePicker/FormDatePicker.js +1 -0
- package/hook-form/FormDateRangePicker/FormDateRangePicker.d.ts +1 -0
- package/hook-form/FormDateRangePicker/FormDateRangePicker.js +1 -0
- package/hook-form/FormEmailField/FormEmailField.d.ts +3 -0
- package/hook-form/FormEmailField/FormEmailField.js +3 -0
- package/hook-form/FormEmailOrPhoneField/FormEmailOrPhoneField.d.ts +3 -0
- package/hook-form/FormEmailOrPhoneField/FormEmailOrPhoneField.js +3 -0
- package/hook-form/FormFileUploader/FormFileUploader.d.ts +3 -0
- package/hook-form/FormFileUploader/FormFileUploader.js +3 -0
- package/hook-form/FormMaskField/FormMaskField.d.ts +1 -0
- package/hook-form/FormMaskField/FormMaskField.js +1 -0
- package/hook-form/FormNumberField/FormNumberField.d.ts +1 -0
- package/hook-form/FormNumberField/FormNumberField.js +1 -0
- package/hook-form/FormPasswordField/FormPasswordField.d.ts +1 -0
- package/hook-form/FormPasswordField/FormPasswordField.js +1 -0
- package/hook-form/FormPreviewFileUploader/FormPreviewFileUploader.d.ts +3 -0
- package/hook-form/FormPreviewFileUploader/FormPreviewFileUploader.js +3 -0
- package/hook-form/FormRadioGroup/FormRadioGroup.d.ts +3 -0
- package/hook-form/FormRadioGroup/FormRadioGroup.js +3 -0
- package/hook-form/FormSearchField/FormSearchField.d.ts +3 -0
- package/hook-form/FormSearchField/FormSearchField.js +3 -0
- package/hook-form/FormSelect/FormSelect.d.ts +1 -0
- package/hook-form/FormSelect/FormSelect.js +1 -0
- package/hook-form/FormSelectionCardGroup/FormSelectionCardGroup.d.ts +1 -0
- package/hook-form/FormSelectionCardGroup/FormSelectionCardGroup.js +1 -0
- package/hook-form/FormTextArea/FormTextArea.d.ts +1 -0
- package/hook-form/FormTextArea/FormTextArea.js +1 -0
- package/hook-form/FormTextField/FormTextField.d.ts +3 -0
- package/hook-form/FormTextField/FormTextField.js +3 -0
- package/hook-form/FormToggleButtonGroup/FormToggleButtonGroup.d.ts +3 -0
- package/hook-form/FormToggleButtonGroup/FormToggleButtonGroup.js +3 -0
- package/hook-form/FormTreeAsyncAutocomplete/FormTreeAsyncAutocomplete.d.ts +1 -0
- package/hook-form/FormTreeAsyncAutocomplete/FormTreeAsyncAutocomplete.js +1 -0
- package/hook-form/FormTreeAutocomplete/FormTreeAutocomplete.d.ts +1 -0
- package/hook-form/FormTreeAutocomplete/FormTreeAutocomplete.js +1 -0
- package/hook-form/FormTreeLikeAsyncAutocomplete/FormTreeLikeAsyncAutocomplete.d.ts +1 -0
- package/hook-form/FormTreeLikeAsyncAutocomplete/FormTreeLikeAsyncAutocomplete.js +1 -0
- package/hook-form/FormTreeLikeAutocomplete/FormTreeLikeAutocomplete.d.ts +1 -0
- package/hook-form/FormTreeLikeAutocomplete/FormTreeLikeAutocomplete.js +1 -0
- package/hook-form/FormWizard/FormWizard.d.ts +1 -0
- package/hook-form/FormWizard/FormWizard.js +1 -0
- package/icons/StarOutlineMd/StarOutlineMd.d.ts +3 -0
- package/icons/StarOutlineMd/StarOutlineMd.js +3 -0
- package/icons/StarOutlineMd/index.d.ts +1 -0
- package/icons/StarOutlineMd/index.js +1 -0
- package/icons/StarOutlineMd/public.d.ts +1 -0
- package/icons/StarOutlineMd/public.js +1 -0
- package/icons/index.d.ts +2 -1
- package/icons/index.js +2 -1
- package/node/components/AddressAutocomplete/AddressAutocomplete.d.ts +3 -0
- package/node/components/AddressAutocomplete/AddressAutocomplete.js +3 -0
- package/node/components/AsyncAutocomplete/AsyncAutocomplete.d.ts +3 -0
- package/node/components/AsyncAutocomplete/AsyncAutocomplete.js +3 -0
- package/node/components/Autocomplete/Autocomplete.d.ts +3 -0
- package/node/components/Autocomplete/Autocomplete.js +3 -0
- package/node/components/Button/Button.d.ts +3 -0
- package/node/components/Button/Button.js +3 -0
- package/node/components/CheckboxField/CheckboxField.d.ts +1 -0
- package/node/components/CheckboxField/CheckboxField.js +1 -0
- package/node/components/CodeField/CodeField.d.ts +1 -0
- package/node/components/CodeField/CodeField.js +1 -0
- package/node/components/DataGrid/types.d.ts +3 -0
- package/node/components/DataGridActionCell/DataGridActionCell.d.ts +4 -0
- package/node/components/DataGridActionCell/DataGridActionCell.js +4 -0
- package/node/components/DatePicker/DatePicker.d.ts +3 -0
- package/node/components/DatePicker/DatePicker.js +3 -0
- package/node/components/DateRangePicker/DateRangePicker.d.ts +3 -0
- package/node/components/DateRangePicker/DateRangePicker.js +3 -0
- package/node/components/DescriptionCell/DescriptionCell.d.ts +4 -0
- package/node/components/DescriptionCell/DescriptionCell.js +4 -0
- package/node/components/DescriptionList/types.d.ts +1 -1
- package/node/components/Dialog/Dialog.d.ts +3 -0
- package/node/components/Dialog/Dialog.js +3 -0
- package/node/components/EmailField/EmailField.d.ts +3 -0
- package/node/components/EmailField/EmailField.js +3 -0
- package/node/components/EmailOrPhoneField/EmailOrPhoneField.d.ts +1 -0
- package/node/components/EmailOrPhoneField/EmailOrPhoneField.js +1 -0
- package/node/components/MaskField/MaskField.d.ts +8 -0
- package/node/components/MaskField/MaskField.js +8 -0
- package/node/components/NewPopover/NewPopover.d.ts +3 -0
- package/node/components/NewPopover/NewPopover.js +3 -0
- package/node/components/NewStepper/NewStepper.d.ts +4 -0
- package/node/components/NewStepper/NewStepper.js +4 -0
- package/node/components/NumberField/NumberField.d.ts +3 -0
- package/node/components/NumberField/NumberField.js +3 -0
- package/node/components/PageAside/types.d.ts +4 -0
- package/node/components/PageHeader/types.d.ts +3 -3
- package/node/components/PageLayout/PageLayout.d.ts +4 -0
- package/node/components/PageLayout/PageLayout.js +4 -0
- package/node/components/PasswordField/PasswordField.d.ts +3 -0
- package/node/components/PasswordField/PasswordField.js +3 -0
- package/node/components/RadioGroup/RadioGroup.d.ts +1 -0
- package/node/components/RadioGroup/RadioGroup.js +1 -0
- package/node/components/Select/Select.d.ts +3 -0
- package/node/components/Select/Select.js +3 -0
- package/node/components/SelectionCard/SelectionCard.d.ts +1 -0
- package/node/components/SelectionCard/SelectionCard.js +1 -0
- package/node/components/TextArea/TextArea.d.ts +3 -0
- package/node/components/TextArea/TextArea.js +3 -0
- package/node/components/TextField/TextField.d.ts +3 -0
- package/node/components/TextField/TextField.js +3 -0
- package/node/components/ToggleButtonGroup/ToggleButtonGroup.d.ts +3 -0
- package/node/components/ToggleButtonGroup/ToggleButtonGroup.js +3 -0
- package/node/components/TreeAsyncAutocomplete/TreeAsyncAutocomplete.d.ts +3 -0
- package/node/components/TreeAsyncAutocomplete/TreeAsyncAutocomplete.js +3 -0
- package/node/components/TreeAutocomplete/TreeAutocomplete.d.ts +3 -0
- package/node/components/TreeAutocomplete/TreeAutocomplete.js +3 -0
- package/node/components/TreeLikeAsyncAutocomplete/TreeLikeAsyncAutocomplete.d.ts +3 -0
- package/node/components/TreeLikeAsyncAutocomplete/TreeLikeAsyncAutocomplete.js +3 -0
- package/node/components/TreeLikeAutocomplete/TreeLikeAutocomplete.d.ts +3 -0
- package/node/components/TreeLikeAutocomplete/TreeLikeAutocomplete.js +3 -0
- package/node/components/fileUploading/FileUploader/FileUploader.d.ts +3 -0
- package/node/components/fileUploading/FileUploader/FileUploader.js +3 -0
- package/node/components/fileUploading/PreviewFileUploader/PreviewFileUploader.d.ts +3 -0
- package/node/components/fileUploading/PreviewFileUploader/PreviewFileUploader.js +3 -0
- package/node/hook-form/Form/Form.d.ts +3 -0
- package/node/hook-form/Form/Form.js +3 -0
- package/node/hook-form/FormAddressAutocomplete/FormAddressAutocomplete.d.ts +3 -0
- package/node/hook-form/FormAddressAutocomplete/FormAddressAutocomplete.js +3 -0
- package/node/hook-form/FormAsyncAutocomplete/FormAsyncAutocomplete.d.ts +3 -0
- package/node/hook-form/FormAsyncAutocomplete/FormAsyncAutocomplete.js +3 -0
- package/node/hook-form/FormAutocomplete/FormAutocomplete.d.ts +1 -0
- package/node/hook-form/FormAutocomplete/FormAutocomplete.js +1 -0
- package/node/hook-form/FormCheckboxField/FormCheckboxField.d.ts +3 -0
- package/node/hook-form/FormCheckboxField/FormCheckboxField.js +3 -0
- package/node/hook-form/FormCodeField/FormCodeField.d.ts +1 -0
- package/node/hook-form/FormCodeField/FormCodeField.js +1 -0
- package/node/hook-form/FormDatePicker/FormDatePicker.d.ts +1 -0
- package/node/hook-form/FormDatePicker/FormDatePicker.js +1 -0
- package/node/hook-form/FormDateRangePicker/FormDateRangePicker.d.ts +1 -0
- package/node/hook-form/FormDateRangePicker/FormDateRangePicker.js +1 -0
- package/node/hook-form/FormEmailField/FormEmailField.d.ts +3 -0
- package/node/hook-form/FormEmailField/FormEmailField.js +3 -0
- package/node/hook-form/FormEmailOrPhoneField/FormEmailOrPhoneField.d.ts +3 -0
- package/node/hook-form/FormEmailOrPhoneField/FormEmailOrPhoneField.js +3 -0
- package/node/hook-form/FormFileUploader/FormFileUploader.d.ts +3 -0
- package/node/hook-form/FormFileUploader/FormFileUploader.js +3 -0
- package/node/hook-form/FormMaskField/FormMaskField.d.ts +1 -0
- package/node/hook-form/FormMaskField/FormMaskField.js +1 -0
- package/node/hook-form/FormNumberField/FormNumberField.d.ts +1 -0
- package/node/hook-form/FormNumberField/FormNumberField.js +1 -0
- package/node/hook-form/FormPasswordField/FormPasswordField.d.ts +1 -0
- package/node/hook-form/FormPasswordField/FormPasswordField.js +1 -0
- package/node/hook-form/FormPreviewFileUploader/FormPreviewFileUploader.d.ts +3 -0
- package/node/hook-form/FormPreviewFileUploader/FormPreviewFileUploader.js +3 -0
- package/node/hook-form/FormRadioGroup/FormRadioGroup.d.ts +3 -0
- package/node/hook-form/FormRadioGroup/FormRadioGroup.js +3 -0
- package/node/hook-form/FormSearchField/FormSearchField.d.ts +3 -0
- package/node/hook-form/FormSearchField/FormSearchField.js +3 -0
- package/node/hook-form/FormSelect/FormSelect.d.ts +1 -0
- package/node/hook-form/FormSelect/FormSelect.js +1 -0
- package/node/hook-form/FormSelectionCardGroup/FormSelectionCardGroup.d.ts +1 -0
- package/node/hook-form/FormSelectionCardGroup/FormSelectionCardGroup.js +1 -0
- package/node/hook-form/FormTextArea/FormTextArea.d.ts +1 -0
- package/node/hook-form/FormTextArea/FormTextArea.js +1 -0
- package/node/hook-form/FormTextField/FormTextField.d.ts +3 -0
- package/node/hook-form/FormTextField/FormTextField.js +3 -0
- package/node/hook-form/FormToggleButtonGroup/FormToggleButtonGroup.d.ts +3 -0
- package/node/hook-form/FormToggleButtonGroup/FormToggleButtonGroup.js +3 -0
- package/node/hook-form/FormTreeAsyncAutocomplete/FormTreeAsyncAutocomplete.d.ts +1 -0
- package/node/hook-form/FormTreeAsyncAutocomplete/FormTreeAsyncAutocomplete.js +1 -0
- package/node/hook-form/FormTreeAutocomplete/FormTreeAutocomplete.d.ts +1 -0
- package/node/hook-form/FormTreeAutocomplete/FormTreeAutocomplete.js +1 -0
- package/node/hook-form/FormTreeLikeAsyncAutocomplete/FormTreeLikeAsyncAutocomplete.d.ts +1 -0
- package/node/hook-form/FormTreeLikeAsyncAutocomplete/FormTreeLikeAsyncAutocomplete.js +1 -0
- package/node/hook-form/FormTreeLikeAutocomplete/FormTreeLikeAutocomplete.d.ts +1 -0
- package/node/hook-form/FormTreeLikeAutocomplete/FormTreeLikeAutocomplete.js +1 -0
- package/node/hook-form/FormWizard/FormWizard.d.ts +1 -0
- package/node/hook-form/FormWizard/FormWizard.js +1 -0
- package/node/icons/StarOutlineMd/StarOutlineMd.d.ts +3 -0
- package/node/icons/StarOutlineMd/StarOutlineMd.js +7 -0
- package/node/icons/StarOutlineMd/index.d.ts +1 -0
- package/node/icons/StarOutlineMd/index.js +5 -0
- package/node/icons/StarOutlineMd/public.d.ts +1 -0
- package/node/icons/StarOutlineMd/public.js +5 -0
- package/node/icons/index.d.ts +2 -1
- package/node/icons/index.js +8 -6
- package/package.json +1 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { StarOutlineMd } from './public';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { StarOutlineMd } from './StarOutlineMd';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { StarOutlineMd } from './StarOutlineMd';
|
package/icons/index.d.ts
CHANGED
|
@@ -107,6 +107,7 @@ export { BoxOutlineMd } from './BoxOutlineMd';
|
|
|
107
107
|
export { BoxesOutlineMd } from './BoxesOutlineMd';
|
|
108
108
|
export { CalendarOutlineMd } from './CalendarOutlineMd';
|
|
109
109
|
export { CancelRouteOutlineMd } from './CancelRouteOutlineMd';
|
|
110
|
+
export { CarOutlineMd } from './CarOutlineMd';
|
|
110
111
|
export { CartOutlineMd } from './CartOutlineMd';
|
|
111
112
|
export { CaseOutlineMd } from './CaseOutlineMd';
|
|
112
113
|
export { CashReceiptOutlineMd } from './CashReceiptOutlineMd';
|
|
@@ -218,6 +219,7 @@ export { SortOutlineMd } from './SortOutlineMd';
|
|
|
218
219
|
export { Sorting2OutlineMd } from './Sorting2OutlineMd';
|
|
219
220
|
export { SortingOutlineMd } from './SortingOutlineMd';
|
|
220
221
|
export { SortingVOutlineMd } from './SortingVOutlineMd';
|
|
222
|
+
export { StarOutlineMd } from './StarOutlineMd';
|
|
221
223
|
export { StorageOutlineMd } from './StorageOutlineMd';
|
|
222
224
|
export { SupportOutlineMd } from './SupportOutlineMd';
|
|
223
225
|
export { TagOutlineMd } from './TagOutlineMd';
|
|
@@ -234,7 +236,6 @@ export { UserArrowDownOutlineMd } from './UserArrowDownOutlineMd';
|
|
|
234
236
|
export { UserArrowUpOutlineMd } from './UserArrowUpOutlineMd';
|
|
235
237
|
export { UserCheckOutlineMd } from './UserCheckOutlineMd';
|
|
236
238
|
export { UserCrossOutlineMd } from './UserCrossOutlineMd';
|
|
237
|
-
export { CarOutlineMd } from './CarOutlineMd';
|
|
238
239
|
export { AddOutlineSm } from './AddOutlineSm';
|
|
239
240
|
export { AddSmOutlineSm } from './AddSmOutlineSm';
|
|
240
241
|
export { ArrowDwnOutlineSm } from './ArrowDwnOutlineSm';
|
package/icons/index.js
CHANGED
|
@@ -107,6 +107,7 @@ export { BoxOutlineMd } from './BoxOutlineMd';
|
|
|
107
107
|
export { BoxesOutlineMd } from './BoxesOutlineMd';
|
|
108
108
|
export { CalendarOutlineMd } from './CalendarOutlineMd';
|
|
109
109
|
export { CancelRouteOutlineMd } from './CancelRouteOutlineMd';
|
|
110
|
+
export { CarOutlineMd } from './CarOutlineMd';
|
|
110
111
|
export { CartOutlineMd } from './CartOutlineMd';
|
|
111
112
|
export { CaseOutlineMd } from './CaseOutlineMd';
|
|
112
113
|
export { CashReceiptOutlineMd } from './CashReceiptOutlineMd';
|
|
@@ -218,6 +219,7 @@ export { SortOutlineMd } from './SortOutlineMd';
|
|
|
218
219
|
export { Sorting2OutlineMd } from './Sorting2OutlineMd';
|
|
219
220
|
export { SortingOutlineMd } from './SortingOutlineMd';
|
|
220
221
|
export { SortingVOutlineMd } from './SortingVOutlineMd';
|
|
222
|
+
export { StarOutlineMd } from './StarOutlineMd';
|
|
221
223
|
export { StorageOutlineMd } from './StorageOutlineMd';
|
|
222
224
|
export { SupportOutlineMd } from './SupportOutlineMd';
|
|
223
225
|
export { TagOutlineMd } from './TagOutlineMd';
|
|
@@ -234,7 +236,6 @@ export { UserArrowDownOutlineMd } from './UserArrowDownOutlineMd';
|
|
|
234
236
|
export { UserArrowUpOutlineMd } from './UserArrowUpOutlineMd';
|
|
235
237
|
export { UserCheckOutlineMd } from './UserCheckOutlineMd';
|
|
236
238
|
export { UserCrossOutlineMd } from './UserCrossOutlineMd';
|
|
237
|
-
export { CarOutlineMd } from './CarOutlineMd';
|
|
238
239
|
export { AddOutlineSm } from './AddOutlineSm';
|
|
239
240
|
export { AddSmOutlineSm } from './AddSmOutlineSm';
|
|
240
241
|
export { ArrowDwnOutlineSm } from './ArrowDwnOutlineSm';
|
|
@@ -1,5 +1,8 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
import { type Address } from './types';
|
|
3
|
+
/**
|
|
4
|
+
* @see {@link FormAddressAutocomplete}
|
|
5
|
+
*/
|
|
3
6
|
export declare const AddressAutocomplete: <TOptions extends Address = Address>(props: Pick<import("../AsyncAutocomplete").AsyncAutocompleteProps<TOptions, false, false, boolean>, "defaultValue" | "className" | "id" | "role" | "ref" | "label" | "open" | "size" | "disablePortal" | "onClose" | "onOpen" | "placeholder" | "readOnly" | "isDisabled" | "isError" | "inputRef" | "hideHelperText" | "helperText" | "loadingText" | "noOptionsText" | "renderOption" | "autoHighlight" | "getOptionDisabled" | "onInputChange" | "fetchOptions" | "fetchDelayMs" | "minSymbolsToFetch" | "isFullWidth" | "isSuccess" | "isLoading" | "isRequired"> & {
|
|
4
7
|
value?: TOptions | undefined;
|
|
5
8
|
onChange: (value: TOptions) => void;
|
|
@@ -12,4 +12,7 @@ const AddressAutocompleteInner = (props, ref) => {
|
|
|
12
12
|
className: hidePersonalInputDataClassname,
|
|
13
13
|
}, overflowOption: { className: hidePersonalDataClassname }, ...restProps }));
|
|
14
14
|
};
|
|
15
|
+
/**
|
|
16
|
+
* @see {@link FormAddressAutocomplete}
|
|
17
|
+
*/
|
|
15
18
|
exports.AddressAutocomplete = (0, forwardRefWithGeneric_1.forwardRefWithGeneric)(AddressAutocompleteInner);
|
|
@@ -1,4 +1,7 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
+
/**
|
|
3
|
+
* @see {@link FormAsyncAutocomplete}
|
|
4
|
+
*/
|
|
2
5
|
export declare const AsyncAutocomplete: <TOptions, TMultiple extends boolean = false, TDisableClearable extends boolean = false, TFreeSolo extends boolean = false>(props: Omit<import("../Autocomplete").AutocompleteProps<TOptions, TMultiple, TDisableClearable, TFreeSolo>, "success" | "error" | "disabled" | "fullWidth" | "loading" | "required" | "options" | "filterOptions" | "inputValue"> & {
|
|
3
6
|
isLoading?: boolean | undefined;
|
|
4
7
|
isDisabled?: boolean | undefined;
|
|
@@ -10,4 +10,7 @@ const AsyncAutocompleteInner = (props, ref) => {
|
|
|
10
10
|
const { autocompleteProps } = (0, useLogic_1.useLogic)(props);
|
|
11
11
|
return (0, jsx_runtime_1.jsx)(Autocomplete_1.Autocomplete, { ...autocompleteProps, ref: ref });
|
|
12
12
|
};
|
|
13
|
+
/**
|
|
14
|
+
* @see {@link FormAsyncAutocomplete}
|
|
15
|
+
*/
|
|
13
16
|
exports.AsyncAutocomplete = (0, forwardRefWithGeneric_1.forwardRefWithGeneric)(AsyncAutocompleteInner);
|
|
@@ -1,5 +1,8 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
import { type AutocompleteRenderInputParams } from './types';
|
|
3
|
+
/**
|
|
4
|
+
* @see {@link FormAutocomplete}
|
|
5
|
+
*/
|
|
3
6
|
export declare const Autocomplete: <TAutocompleteValueProps, TMultiple extends boolean, TDisableClearable extends boolean, TFreeSolo extends boolean>(props: Omit<import("..").WithoutEmotionSpecific<import("@mui/material").AutocompleteProps<TAutocompleteValueProps, TMultiple, TDisableClearable, TFreeSolo, "div">>, "size" | "clearText" | "closeText" | "noOptionsText" | "openText" | "renderInput"> & Pick<import("../TextField").TextFieldProps, "label" | "success" | "error" | "placeholder" | "required" | "inputRef" | "helperText" | "inputProps"> & {
|
|
4
7
|
renderInput?: ((props: Omit<import("..").WithoutEmotionSpecific<import("@mui/material").TextFieldProps>, "color" | "select" | "margin" | "variant" | "multiline" | "SelectProps"> & {
|
|
5
8
|
success?: boolean | undefined;
|
|
@@ -130,4 +130,7 @@ const AutocompleteInner = (props, ref) => {
|
|
|
130
130
|
},
|
|
131
131
|
}, renderInput: renderInput, renderTags: renderTags, renderOption: renderOption, value: value, ...autocompleteProps }));
|
|
132
132
|
};
|
|
133
|
+
/**
|
|
134
|
+
* @see {@link FormAutocomplete}
|
|
135
|
+
*/
|
|
133
136
|
exports.Autocomplete = (0, forwardRefWithGeneric_1.forwardRefWithGeneric)(AutocompleteInner);
|
|
@@ -1,4 +1,7 @@
|
|
|
1
1
|
import { type ElementType } from 'react';
|
|
2
|
+
/**
|
|
3
|
+
* @see {@link IconButton} — кнопка без текста, только с иконкой
|
|
4
|
+
*/
|
|
2
5
|
export declare const Button: <TComponent extends ElementType>(props: Omit<import("..").WithoutEmotionSpecific<import("@mui/material").ButtonProps>, "color" | "component" | "size" | "variant" | "centerRipple" | "disableRipple" | "disableTouchRipple" | "focusRipple" | "TouchRippleProps" | "touchRippleRef" | "disableFocusRipple"> & {
|
|
3
6
|
variant?: "light" | "link" | "text" | "contained" | "outlined" | undefined;
|
|
4
7
|
loading?: boolean | undefined;
|
|
@@ -13,5 +13,8 @@ const UnwrappedButton = (props, ref) => {
|
|
|
13
13
|
: enums_1.ButtonColors.Primary, loading, disabled, children, className, selected, ...restProps } = props;
|
|
14
14
|
return ((0, jsx_runtime_1.jsxs)(styles_1.StyledButton, { variant: variant, ref: ref, color: color, disabled: disabled || loading, selected: selected, ...restProps, className: classnames, "aria-disabled": loading, children: [loading && ((0, jsx_runtime_1.jsx)(styles_1.StyledLoader, { color: loadingIndicatorColor, size: "small", "$color": color, "$variant": variant, "$isDisabled": disabled })), children] }));
|
|
15
15
|
};
|
|
16
|
+
/**
|
|
17
|
+
* @see {@link IconButton} — кнопка без текста, только с иконкой
|
|
18
|
+
*/
|
|
16
19
|
exports.Button = (0, forwardRefWithGeneric_1.forwardRefWithGeneric)(UnwrappedButton);
|
|
17
20
|
exports.default = exports.Button;
|
|
@@ -24,6 +24,7 @@ export type CheckboxFieldProps = CheckboxProps & {
|
|
|
24
24
|
};
|
|
25
25
|
/**
|
|
26
26
|
* Составной компонент чекбокса. Содержит label, tooltip, helperText и т.д.
|
|
27
|
+
* @see {@link FormCheckboxField}
|
|
27
28
|
*/
|
|
28
29
|
export declare const CheckboxField: import("react").ForwardRefExoticComponent<Omit<import("react").HTMLAttributes<HTMLDivElement>, "onChange"> & {
|
|
29
30
|
checked?: boolean | undefined;
|
|
@@ -10,6 +10,7 @@ const constants_1 = require("./constants");
|
|
|
10
10
|
const styles_1 = require("./styles");
|
|
11
11
|
/**
|
|
12
12
|
* Составной компонент чекбокса. Содержит label, tooltip, helperText и т.д.
|
|
13
|
+
* @see {@link FormCheckboxField}
|
|
13
14
|
*/
|
|
14
15
|
exports.CheckboxField = (0, react_1.forwardRef)(({ isSuccess, helperText, hideHelperText = false, label, isError, ...restProps }, ref) => {
|
|
15
16
|
const showTooltip = (0, react_1.useMemo)(() => Boolean(isError && hideHelperText), [isError, hideHelperText]);
|
|
@@ -11,6 +11,7 @@ const ResendCodeButton_1 = require("./ResendCodeButton");
|
|
|
11
11
|
const styles_1 = require("./styles");
|
|
12
12
|
/**
|
|
13
13
|
* Поле для ввода кода подтверждения
|
|
14
|
+
* @see {@link FormCodeField}
|
|
14
15
|
*/
|
|
15
16
|
exports.CodeField = (0, react_1.forwardRef)(({ label, resendTimeout = constants_1.RESEND_TIMEOUT_DEFAULT, codeLength, isAllowResendCode = false, onResendCode, initialValue, loading = false, disabled = false, isError = false, errorText = constants_1.ERROR_TEXT_DEFAULT, onChange: onFieldChange, onComplete, isAutoFocus = false, isHidePersonalData, }, ref) => {
|
|
16
17
|
const { inputRefs, setFocusIndexNext, setFocusIndexPrevious, setBlur } = (0, hooks_1.useFocusInput)(codeLength, isAutoFocus);
|
|
@@ -24,6 +24,8 @@ export type DataGridProps<TData extends Record<string, CellValue> = DataGridRow,
|
|
|
24
24
|
* sortable: true,
|
|
25
25
|
* }]} />
|
|
26
26
|
* Конфигурация колонок для таблицы
|
|
27
|
+
* @see {@link DescriptionCell} — две строки текста в ячейке
|
|
28
|
+
* @see {@link DataGridActionCell} — действия в строке
|
|
27
29
|
*/
|
|
28
30
|
columns: DataGridColumns<TData>[];
|
|
29
31
|
/**
|
|
@@ -46,6 +48,7 @@ export type DataGridProps<TData extends Record<string, CellValue> = DataGridRow,
|
|
|
46
48
|
sorting?: DataGridSort<TSortField>;
|
|
47
49
|
/**
|
|
48
50
|
* Компонент кастомного футера (например Pagination)
|
|
51
|
+
* @see {@link DataGridPagination}
|
|
49
52
|
*/
|
|
50
53
|
footer?: ReactNode;
|
|
51
54
|
/**
|
|
@@ -36,4 +36,8 @@ export type DataGridActionCellProps<TRow> = {
|
|
|
36
36
|
*/
|
|
37
37
|
row: TRow;
|
|
38
38
|
};
|
|
39
|
+
/**
|
|
40
|
+
* @see {@link DataGrid} — таблица, в колонке которой стоят действия
|
|
41
|
+
* @see {@link DataGridInfinite} — таблица с бесконечной прокруткой
|
|
42
|
+
*/
|
|
39
43
|
export declare const DataGridActionCell: <TRow>(props: DataGridActionCellProps<TRow>) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -16,6 +16,10 @@ const actionCellCva = (0, cva_1.cva)(constants_1.dataGridActionCellClassnames.ro
|
|
|
16
16
|
},
|
|
17
17
|
},
|
|
18
18
|
});
|
|
19
|
+
/**
|
|
20
|
+
* @see {@link DataGrid} — таблица, в колонке которой стоят действия
|
|
21
|
+
* @see {@link DataGridInfinite} — таблица с бесконечной прокруткой
|
|
22
|
+
*/
|
|
19
23
|
const DataGridActionCell = (props) => {
|
|
20
24
|
const { handleWrapperClick, handleActionClick, actions, mainActions, secondaryActions, hasSecondaryActions, hasMainActions, } = (0, useLogic_1.useLogic)(props);
|
|
21
25
|
return ((0, jsx_runtime_1.jsx)(ActionCellContext_1.ActionCellContextProvider, { onActionClick: handleActionClick, children: (0, jsx_runtime_1.jsxs)(styles_1.Wrapper, { onClick: handleWrapperClick, className: actionCellCva({ hasMainActions }), children: [mainActions ? (mainActions()) : ((0, jsx_runtime_1.jsx)(DataGridMainActions_1.DataGridMainActions, { actions: actions?.main })), hasSecondaryActions && ((0, jsx_runtime_1.jsx)(SecondaryActionsButton_1.SecondaryActionsButton, { actions: actions?.secondary, renderActions: secondaryActions }))] }) }));
|
|
@@ -1,4 +1,7 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
+
/**
|
|
3
|
+
* @see {@link FormDatePicker}
|
|
4
|
+
*/
|
|
2
5
|
export declare const DatePicker: import("react").ForwardRefExoticComponent<import("./DayPicker").MondayFirst & import("./types").WithDoubleNavigationButtons & Partial<import("./types").MinMaxDate> & {
|
|
3
6
|
mask?: string | undefined;
|
|
4
7
|
onChange?: ((date?: Date | null | undefined) => void) | undefined;
|
|
@@ -10,6 +10,9 @@ const MinMaxDateContext_1 = require("./MinMaxDateContext");
|
|
|
10
10
|
const styles_1 = require("./styles");
|
|
11
11
|
const useLogic_1 = require("./useLogic");
|
|
12
12
|
const YearMonthDayPicker_1 = require("./YearMonthDayPicker");
|
|
13
|
+
/**
|
|
14
|
+
* @see {@link FormDatePicker}
|
|
15
|
+
*/
|
|
13
16
|
exports.DatePicker = (0, react_1.forwardRef)((props, forwardedRef) => {
|
|
14
17
|
const { ref, pickerProps, handleOpen, onAccept, confirmButtonProps, isMobile, DatePickerInputProps, datePickerProps, } = (0, useLogic_1.useLogic)({ ...props, forwardedRef });
|
|
15
18
|
const { className, startAdornment, label, required, helperText, inputProps, mask = constants_1.DEFAULT_DATE_MASK, size, disabled, inputRef, minDate = MinMaxDateContext_1.DEFAULT_MIN_DATE, maxDate = MinMaxDateContext_1.DEFAULT_MAX_DATE, isMondayFirst, isDoubleNavigationButtonsEnabled, hideHelperText = false, } = props;
|
|
@@ -1,4 +1,7 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
+
/**
|
|
3
|
+
* @see {@link FormDateRangePicker} — проверка периода — `rangeDate()` из `@astral/validations`
|
|
4
|
+
*/
|
|
2
5
|
export declare const DateRangePicker: import("react").ForwardRefExoticComponent<Omit<import("../DatePicker").DatePickerProps, "onChange" | "disabled" | "value" | "required" | "inputProps"> & import("../DatePicker/types").WithDoubleNavigationButtons & {
|
|
3
6
|
startDateProps?: import("./types").DateItemProps | undefined;
|
|
4
7
|
endDateProps?: import("./types").DateItemProps | undefined;
|
|
@@ -9,6 +9,9 @@ const Grid_1 = require("../Grid");
|
|
|
9
9
|
const styles_1 = require("./styles");
|
|
10
10
|
const useLogic_1 = require("./useLogic");
|
|
11
11
|
const DEFAULT_SPACING = 1;
|
|
12
|
+
/**
|
|
13
|
+
* @see {@link FormDateRangePicker} — проверка периода — `rangeDate()` из `@astral/validations`
|
|
14
|
+
*/
|
|
12
15
|
exports.DateRangePicker = (0, react_1.forwardRef)((props, forwardedRef) => {
|
|
13
16
|
const { ref, startDatePickerInputProps, endDatePickerInputProps, popoverHoveredContextProviderProps, datePickerPopoverProps, minMaxDateContextProviderProps, startYearMonthDayPickerProps, endYearMonthDayPickerProps, } = (0, useLogic_1.useLogic)(props, forwardedRef);
|
|
14
17
|
const { startDateProps = {}, endDateProps = {}, mask = DatePicker_1.DEFAULT_DATE_MASK, spacing = DEFAULT_SPACING, size, isMondayFirst, isDisabled, isError, helperText, isDoubleNavigationButtonsEnabled, hideHelperText = false, } = props;
|
|
@@ -1,2 +1,6 @@
|
|
|
1
1
|
import type { DescriptionCellProps } from './types';
|
|
2
|
+
/**
|
|
3
|
+
* @see {@link DataGrid} — таблица, в колонке которой стоит ячейка
|
|
4
|
+
* @see {@link DataGridInfinite} — таблица с бесконечной прокруткой
|
|
5
|
+
*/
|
|
2
6
|
export declare const DescriptionCell: ({ title, icon, subtitle, iconPosition, }: DescriptionCellProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -5,6 +5,10 @@ const jsx_runtime_1 = require("react/jsx-runtime");
|
|
|
5
5
|
const Typography_1 = require("../Typography");
|
|
6
6
|
const styles_1 = require("./styles");
|
|
7
7
|
const useLogic_1 = require("./useLogic");
|
|
8
|
+
/**
|
|
9
|
+
* @see {@link DataGrid} — таблица, в колонке которой стоит ячейка
|
|
10
|
+
* @see {@link DataGridInfinite} — таблица с бесконечной прокруткой
|
|
11
|
+
*/
|
|
8
12
|
const DescriptionCell = ({ title, icon, subtitle, iconPosition = 'left', }) => {
|
|
9
13
|
const { classnames } = (0, useLogic_1.useLogic)({ icon, iconPosition });
|
|
10
14
|
return ((0, jsx_runtime_1.jsxs)(styles_1.Wrapper, { className: classnames, children: [(0, jsx_runtime_1.jsx)(styles_1.IconWrapper, { children: icon }), (0, jsx_runtime_1.jsxs)(styles_1.ItemWrapper, { children: [(0, jsx_runtime_1.jsx)(Typography_1.Typography, { children: title }), subtitle && ((0, jsx_runtime_1.jsx)(Typography_1.Typography, { color: "textSecondary", variant: "caption", children: subtitle }))] })] }));
|
|
@@ -25,7 +25,7 @@ export type DescriptionListItem = {
|
|
|
25
25
|
export type DescriptionListVariant = 'contained' | 'default';
|
|
26
26
|
export type DescriptionListProps = Pick<DescriptionProps, 'justifyContent' | 'leader' | 'separator' | 'direction' | 'isTabularNums'> & {
|
|
27
27
|
/**
|
|
28
|
-
* Список отображаемых "name: value"
|
|
28
|
+
* Список отображаемых "name: value". Вложенный массив — группа, группы разделены линией
|
|
29
29
|
*/
|
|
30
30
|
items: (DescriptionListItem | DescriptionListItem[])[];
|
|
31
31
|
/**
|
|
@@ -1,2 +1,5 @@
|
|
|
1
1
|
import type { DialogProps } from './types';
|
|
2
|
+
/**
|
|
3
|
+
* @see {@link SideDialog} — панель справа
|
|
4
|
+
*/
|
|
2
5
|
export declare const Dialog: ({ children, title, disableBackdropClick, onClose, size, headerContent, className, classes, disableMobileDrawer, height, width, style, ...props }: DialogProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -25,6 +25,9 @@ const dialogCva = (0, cva_1.cva)(constants_1.dialogClassnames.root, {
|
|
|
25
25
|
},
|
|
26
26
|
},
|
|
27
27
|
});
|
|
28
|
+
/**
|
|
29
|
+
* @see {@link SideDialog} — панель справа
|
|
30
|
+
*/
|
|
28
31
|
const Dialog = ({ children, title, disableBackdropClick, onClose, size = 'md', headerContent, className, classes, disableMobileDrawer, height, width, style, ...props }) => {
|
|
29
32
|
const { handleClose, shouldRenderDrawer, dialogClasses, dialogCssVars, hasCustomWidth, hasCustomHeight, } = (0, useLogic_1.useLogic)({
|
|
30
33
|
onClose,
|
|
@@ -6,4 +6,7 @@ export type EmailFieldProps = Omit<TextFieldProps, 'type'> & {
|
|
|
6
6
|
*/
|
|
7
7
|
isHidePersonalData?: boolean;
|
|
8
8
|
};
|
|
9
|
+
/**
|
|
10
|
+
* @see {@link FormEmailField}
|
|
11
|
+
*/
|
|
9
12
|
export declare const EmailField: import("react").ForwardRefExoticComponent<Omit<EmailFieldProps, "ref"> & import("react").RefAttributes<HTMLDivElement>>;
|
|
@@ -6,6 +6,9 @@ const react_1 = require("react");
|
|
|
6
6
|
const personalDataSecurity_1 = require("../personalDataSecurity");
|
|
7
7
|
const TextField_1 = require("../TextField");
|
|
8
8
|
const cn_1 = require("../utils/cn");
|
|
9
|
+
/**
|
|
10
|
+
* @see {@link FormEmailField}
|
|
11
|
+
*/
|
|
9
12
|
exports.EmailField = (0, react_1.forwardRef)(({ isHidePersonalData, inputProps, ...props }, ref) => {
|
|
10
13
|
const hidePersonalDataClassname = (0, personalDataSecurity_1.useHidePersonalData)({
|
|
11
14
|
isEnabled: isHidePersonalData,
|
|
@@ -6,5 +6,6 @@ import type { EmailOrPhoneFieldProps } from './types';
|
|
|
6
6
|
* - Поддерживает ввод телефона с префиксами +7 и 8, произвольной маской
|
|
7
7
|
* - Работает с объектом формата
|
|
8
8
|
* { value?: string, normalizedValue?: string, type: 'email' | 'phone' | 'unknown' }
|
|
9
|
+
* @see {@link FormEmailOrPhoneField}
|
|
9
10
|
*/
|
|
10
11
|
export declare const EmailOrPhoneField: import("react").ForwardRefExoticComponent<Omit<EmailOrPhoneFieldProps, "ref"> & import("react").RefAttributes<HTMLDivElement>>;
|
|
@@ -13,6 +13,7 @@ const useLogic_1 = require("./useLogic");
|
|
|
13
13
|
* - Поддерживает ввод телефона с префиксами +7 и 8, произвольной маской
|
|
14
14
|
* - Работает с объектом формата
|
|
15
15
|
* { value?: string, normalizedValue?: string, type: 'email' | 'phone' | 'unknown' }
|
|
16
|
+
* @see {@link FormEmailOrPhoneField}
|
|
16
17
|
*/
|
|
17
18
|
exports.EmailOrPhoneField = (0, react_1.forwardRef)((props, ref) => {
|
|
18
19
|
const { onBlur, restProps, inputValue, onChange, isHidePersonalData, inputProps, } = (0, useLogic_1.useLogic)(props);
|
|
@@ -25,5 +25,13 @@ export type MaskFieldProps = Omit<Omit<MaskProps, 'size' | 'defaultValue' | 'row
|
|
|
25
25
|
*/
|
|
26
26
|
blocks?: MaskBlocks;
|
|
27
27
|
};
|
|
28
|
+
/**
|
|
29
|
+
* @see {@link FormMaskField}
|
|
30
|
+
* @see {@link EmailField}
|
|
31
|
+
* @see {@link EmailOrPhoneField}
|
|
32
|
+
* @see {@link FormMobilePhoneField}
|
|
33
|
+
* @see {@link NumberField}
|
|
34
|
+
* @see {@link DatePicker}
|
|
35
|
+
*/
|
|
28
36
|
export declare const MaskField: import("react").ForwardRefExoticComponent<Omit<MaskFieldProps, "ref"> & import("react").RefAttributes<HTMLInputElement>>;
|
|
29
37
|
export {};
|
|
@@ -9,6 +9,14 @@ const MaskedTextField = (0, react_imask_1.IMaskMixin)(({ ...props }) => {
|
|
|
9
9
|
const textFieldProps = props;
|
|
10
10
|
return (0, jsx_runtime_1.jsx)(styles_1.StyledTextField, { ...textFieldProps });
|
|
11
11
|
});
|
|
12
|
+
/**
|
|
13
|
+
* @see {@link FormMaskField}
|
|
14
|
+
* @see {@link EmailField}
|
|
15
|
+
* @see {@link EmailOrPhoneField}
|
|
16
|
+
* @see {@link FormMobilePhoneField}
|
|
17
|
+
* @see {@link NumberField}
|
|
18
|
+
* @see {@link DatePicker}
|
|
19
|
+
*/
|
|
12
20
|
exports.MaskField = (0, react_1.forwardRef)(({ onChange, onAccept, ...props }, ref) => {
|
|
13
21
|
const maskFieldProps = { unmask: true, ...props };
|
|
14
22
|
const handleMaskFieldAccept = (value, maskRef, e) => {
|
|
@@ -1,2 +1,5 @@
|
|
|
1
1
|
import { type NewPopoverProps } from './types';
|
|
2
|
+
/**
|
|
3
|
+
* @see {@link Menu} — меню действий
|
|
4
|
+
*/
|
|
2
5
|
export declare const NewPopover: ({ children, onClose, isOpen, title, className, style, placement, anchorEl, disablePortal, disableAutoFocus, hasArrow, disableMobileDrawer, }: NewPopoverProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -18,6 +18,9 @@ const animatedWrapperCva = (0, cva_1.cva)(constants_1.popoverClassnames.animated
|
|
|
18
18
|
},
|
|
19
19
|
},
|
|
20
20
|
});
|
|
21
|
+
/**
|
|
22
|
+
* @see {@link Menu} — меню действий
|
|
23
|
+
*/
|
|
21
24
|
const NewPopover = ({ children, onClose, isOpen, title, className, style, placement = 'bottom', anchorEl, disablePortal, disableAutoFocus, hasArrow, disableMobileDrawer, }) => {
|
|
22
25
|
const { shouldRenderDrawer, isOpened, shouldRender, handleAnimationEnd, handleClose, setContainerRef, setArrowElement, mergedModifiers, animatedWrapperStyle, } = (0, useLogic_1.useLogic)({
|
|
23
26
|
isOpen,
|
|
@@ -1,2 +1,6 @@
|
|
|
1
1
|
import { type StepperProps } from './types';
|
|
2
|
+
/**
|
|
3
|
+
* @see {@link FormWizard} — форма по шагам в окне или блоке страницы
|
|
4
|
+
* @see {@link FormWizardPageLayout} — форма по шагам на всю страницу
|
|
5
|
+
*/
|
|
2
6
|
export declare const NewStepper: (props: StepperProps) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -23,6 +23,10 @@ const stepper = (0, cva_1.cva)(constants_1.stepperClassnames.root, {
|
|
|
23
23
|
},
|
|
24
24
|
},
|
|
25
25
|
});
|
|
26
|
+
/**
|
|
27
|
+
* @see {@link FormWizard} — форма по шагам в окне или блоке страницы
|
|
28
|
+
* @see {@link FormWizardPageLayout} — форма по шагам на всю страницу
|
|
29
|
+
*/
|
|
26
30
|
const NewStepper = (props) => {
|
|
27
31
|
const { containerRef, stepperConnector, stepperAlternativeLabel, activeStep, onClickPrevStep, onClickStep, orientation, className, children, } = (0, useLogic_1.useLogic)(props);
|
|
28
32
|
return ((0, jsx_runtime_1.jsx)(StepperContext_1.StepperContextProvider, { orientation: orientation, activeStep: activeStep, connector: stepperConnector, alternativeLabel: stepperAlternativeLabel, onClickPrevStep: onClickPrevStep, onClickStep: onClickStep, children: (0, jsx_runtime_1.jsx)(styles_1.Wrapper, { ref: containerRef, role: "group", className: (0, cn_1.cn)(stepper({
|
|
@@ -5,6 +5,9 @@ export type NumberFieldProps = Omit<TextFieldProps, 'onChange' | 'value' | 'ref'
|
|
|
5
5
|
value?: NumberFieldValue | null;
|
|
6
6
|
onChange?: (value: NumberFieldValue | null) => void;
|
|
7
7
|
};
|
|
8
|
+
/**
|
|
9
|
+
* @see {@link FormNumberField}
|
|
10
|
+
*/
|
|
8
11
|
export declare const NumberField: import("react").ForwardRefExoticComponent<Omit<TextFieldProps, "onChange" | "ref" | "select" | "value" | "maxLength" | "multiple" | "rows" | "maxRows" | "minRows" | "SelectProps" | "trimmed"> & {
|
|
9
12
|
value?: number | null | undefined;
|
|
10
13
|
onChange?: ((value: NumberFieldValue | null) => void) | undefined;
|
|
@@ -10,6 +10,9 @@ const MaskedNumberField = (0, react_imask_next_1.IMaskMixin)(({ typedValue, onCh
|
|
|
10
10
|
const textFieldProps = props;
|
|
11
11
|
return (0, jsx_runtime_1.jsx)(TextField_1.TextField, { ...textFieldProps });
|
|
12
12
|
});
|
|
13
|
+
/**
|
|
14
|
+
* @see {@link FormNumberField}
|
|
15
|
+
*/
|
|
13
16
|
exports.NumberField = (0, react_1.forwardRef)((props, ref) => {
|
|
14
17
|
const { maskProps } = (0, useLogic_1.useLogic)(props);
|
|
15
18
|
return ((0, jsx_runtime_1.jsx)(MaskedNumberField, { inputRef: ref, unmask: "typed", mask: Number, thousandsSeparator: ' ', ...props, ...maskProps }));
|
|
@@ -9,7 +9,7 @@ export type PageHeaderProps<TMainActionComponent extends ElementType = ElementTy
|
|
|
9
9
|
*/
|
|
10
10
|
title?: ReactNode;
|
|
11
11
|
/**
|
|
12
|
-
* Описание
|
|
12
|
+
* Описание страницы, выводится под заголовком
|
|
13
13
|
* @example <PageHeader description="Описание страницы" />
|
|
14
14
|
*/
|
|
15
15
|
description?: ReactNode;
|
|
@@ -21,6 +21,7 @@ export type PageHeaderProps<TMainActionComponent extends ElementType = ElementTy
|
|
|
21
21
|
/**
|
|
22
22
|
* Фильтры формы
|
|
23
23
|
* @example <PageHeader filters={<FormFilters values={values} onChange={handleChange} />} />
|
|
24
|
+
* @see {@link FormFilters} — фильтры страницы
|
|
24
25
|
*/
|
|
25
26
|
filters?: ReactNode;
|
|
26
27
|
/**
|
|
@@ -45,8 +46,7 @@ export type PageHeaderProps<TMainActionComponent extends ElementType = ElementTy
|
|
|
45
46
|
*/
|
|
46
47
|
tabs?: ReactNode;
|
|
47
48
|
/**
|
|
48
|
-
*
|
|
49
|
-
* через secondary
|
|
49
|
+
* Кнопки: main — основные, secondaryVisible — видимые кнопки-иконки, secondary — в меню за троеточием
|
|
50
50
|
* @example <PageHeader actions={{
|
|
51
51
|
* main: [
|
|
52
52
|
* {
|
|
@@ -47,5 +47,9 @@ export type PageLayoutProps<TMainActionComponent extends ElementType = ElementTy
|
|
|
47
47
|
*/
|
|
48
48
|
isLoading?: boolean;
|
|
49
49
|
};
|
|
50
|
+
/**
|
|
51
|
+
* @see {@link FormPageLayout} — страница с формой
|
|
52
|
+
* @see {@link FormWizardPageLayout} — страница с формой по шагам
|
|
53
|
+
*/
|
|
50
54
|
export declare const PageLayout: <TMainActionComponent extends ElementType, TSecondaryActionComponent extends ElementType, TBackButtonComponent extends ElementType>(props: PageLayoutProps<TMainActionComponent, TSecondaryActionComponent, TBackButtonComponent>) => import("react/jsx-runtime").JSX.Element;
|
|
51
55
|
export default PageLayout;
|
|
@@ -12,6 +12,10 @@ const LoadingPlaceholder_1 = require("../placeholders/LoadingPlaceholder");
|
|
|
12
12
|
const cn_1 = require("../utils/cn");
|
|
13
13
|
const styles_1 = require("./styles");
|
|
14
14
|
const useLogic_1 = require("./useLogic");
|
|
15
|
+
/**
|
|
16
|
+
* @see {@link FormPageLayout} — страница с формой
|
|
17
|
+
* @see {@link FormWizardPageLayout} — страница с формой по шагам
|
|
18
|
+
*/
|
|
15
19
|
const PageLayout = (props) => {
|
|
16
20
|
const { header, content, aside, footer, className, alert, isLoading } = props;
|
|
17
21
|
const { hasAside, ref } = (0, useLogic_1.useLogic)(props);
|
|
@@ -10,4 +10,7 @@ export type PasswordFieldInputProps = TextFieldProps & {
|
|
|
10
10
|
*/
|
|
11
11
|
isHidePersonalData?: boolean;
|
|
12
12
|
};
|
|
13
|
+
/**
|
|
14
|
+
* @see {@link FormPasswordField}
|
|
15
|
+
*/
|
|
13
16
|
export declare const PasswordField: import("react").ForwardRefExoticComponent<Omit<PasswordFieldInputProps, "ref"> & import("react").RefAttributes<HTMLInputElement>>;
|
|
@@ -9,6 +9,9 @@ const IconButton_1 = require("../IconButton");
|
|
|
9
9
|
const personalDataSecurity_1 = require("../personalDataSecurity");
|
|
10
10
|
const TextField_1 = require("../TextField");
|
|
11
11
|
const cn_1 = require("../utils/cn");
|
|
12
|
+
/**
|
|
13
|
+
* @see {@link FormPasswordField}
|
|
14
|
+
*/
|
|
12
15
|
exports.PasswordField = (0, react_1.forwardRef)(({ label, disabled = false, showSymbols = false, isHidePersonalData, inputProps, ...props }, ref) => {
|
|
13
16
|
const [showPassword, setShowPassword] = (0, react_1.useState)(showSymbols);
|
|
14
17
|
const handleClickShowPassword = () => setShowPassword((show) => !show);
|
|
@@ -2,5 +2,6 @@
|
|
|
2
2
|
import type { RadioGroupProps } from './types';
|
|
3
3
|
/**
|
|
4
4
|
* Компонент RadioGroup - fieldset для Radio компонентов
|
|
5
|
+
* @see {@link FormRadioGroup}
|
|
5
6
|
*/
|
|
6
7
|
export declare const RadioGroup: import("react").ForwardRefExoticComponent<RadioGroupProps & import("react").RefAttributes<HTMLDivElement>>;
|
|
@@ -10,6 +10,7 @@ const styles_1 = require("./styles");
|
|
|
10
10
|
const useLogic_1 = require("./useLogic");
|
|
11
11
|
/**
|
|
12
12
|
* Компонент RadioGroup - fieldset для Radio компонентов
|
|
13
|
+
* @see {@link FormRadioGroup}
|
|
13
14
|
*/
|
|
14
15
|
exports.RadioGroup = (0, react_1.forwardRef)((props, ref) => {
|
|
15
16
|
const { errorText, formControlProps, groupLabel, labelId, isError, required, contextValue, className, row, children, disabled, style, inputRef, } = (0, useLogic_1.useLogic)(props);
|
|
@@ -1,5 +1,8 @@
|
|
|
1
1
|
import { type ReactNode } from 'react';
|
|
2
2
|
import { type SelectOptions, type SelectOptionValue } from './types';
|
|
3
|
+
/**
|
|
4
|
+
* @see {@link FormSelect}
|
|
5
|
+
*/
|
|
3
6
|
export declare const Select: <TValue, TOption = SelectOptionValue<TValue>>(props: import("..").WithoutEmotionSpecific<Omit<import("@mui/material").SelectProps<TValue>, "color" | "variant" | "onOpen">> & {
|
|
4
7
|
options?: SelectOptions<TOption> | undefined;
|
|
5
8
|
renderOption?: ((option: TOption, state: {
|
|
@@ -89,4 +89,7 @@ const SelectInner = ({ required, getOptionLabel, isOptionEqualToValue, placehold
|
|
|
89
89
|
hasSolidSelection,
|
|
90
90
|
})), selected: isSelectedAll, value: constants_1.SELECT_ALL_VALUE, children: [(0, jsx_runtime_1.jsx)(ListItemIcon_1.default, { children: (0, jsx_runtime_1.jsx)(Checkbox_1.Checkbox, { checked: isSelectedAll, indeterminate: isIndeterminate }) }), "\u0412\u044B\u0431\u0440\u0430\u0442\u044C \u0432\u0441\u0435"] })), !loading && (options ? renderOptions(options) : children), !loading && isNoData && (0, jsx_runtime_1.jsx)(styles_1.StateWrapper, { children: "\u041D\u0435\u0442 \u0434\u0430\u043D\u043D\u044B\u0445" })] }), (0, jsx_runtime_1.jsx)(FormHelperText_1.FormHelperText, { error: error, success: success, hideHelperText: hideHelperText, children: helperText })] }));
|
|
91
91
|
};
|
|
92
|
+
/**
|
|
93
|
+
* @see {@link FormSelect}
|
|
94
|
+
*/
|
|
92
95
|
exports.Select = (0, forwardRefWithGeneric_1.forwardRefWithGeneric)(SelectInner);
|
|
@@ -1,4 +1,7 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
import { type TextFieldProps } from '../TextField';
|
|
3
3
|
export type TextAreaProps = Omit<TextFieldProps, 'multiline'>;
|
|
4
|
+
/**
|
|
5
|
+
* @see {@link FormTextArea}
|
|
6
|
+
*/
|
|
4
7
|
export declare const TextArea: import("react").ForwardRefExoticComponent<Omit<TextAreaProps, "ref"> & import("react").RefAttributes<HTMLDivElement>>;
|
|
@@ -4,6 +4,9 @@ exports.TextArea = void 0;
|
|
|
4
4
|
const jsx_runtime_1 = require("react/jsx-runtime");
|
|
5
5
|
const react_1 = require("react");
|
|
6
6
|
const TextField_1 = require("../TextField");
|
|
7
|
+
/**
|
|
8
|
+
* @see {@link FormTextArea}
|
|
9
|
+
*/
|
|
7
10
|
exports.TextArea = (0, react_1.forwardRef)(({ rows = 7, ...props }, ref) => {
|
|
8
11
|
// biome-ignore lint/suspicious/noTsIgnore: У типов TextField убран параметр multiline. Будет исправлено при отказе от mui
|
|
9
12
|
// @ts-ignore
|
|
@@ -28,4 +28,7 @@ export type TextFieldProps = Omit<WithoutEmotionSpecific<MuiTextFieldProps>, 'va
|
|
|
28
28
|
*/
|
|
29
29
|
hideHelperText?: boolean;
|
|
30
30
|
};
|
|
31
|
+
/**
|
|
32
|
+
* @see {@link FormTextField}
|
|
33
|
+
*/
|
|
31
34
|
export declare const TextField: import("react").ForwardRefExoticComponent<Omit<TextFieldProps, "ref"> & import("react").RefAttributes<HTMLDivElement>>;
|