@mamrp/components 1.7.8 → 1.7.9
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/dist/index.d.mts +2 -1
- package/dist/index.d.ts +2 -1
- package/dist/index.js +4 -2
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +4 -2
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -621,7 +621,8 @@ interface CustomDialogProps {
|
|
|
621
621
|
fullWidth?: boolean;
|
|
622
622
|
children: ReactNode;
|
|
623
623
|
actions?: ReactNode;
|
|
624
|
+
isSubmiting?: boolean;
|
|
624
625
|
}
|
|
625
|
-
declare function CustomDialog({ title, icon: Icon, iconColor, open, onClose, maxWidth, fullWidth, children, actions, }: CustomDialogProps): React$1.JSX.Element;
|
|
626
|
+
declare function CustomDialog({ title, icon: Icon, iconColor, open, onClose, maxWidth, fullWidth, children, actions, isSubmiting, }: CustomDialogProps): React$1.JSX.Element;
|
|
626
627
|
|
|
627
628
|
export { Page as Accordion, AdvancedSearchButton, ConfirmationDialog$1 as ConfirmationDialog, ConnectToBasculeButton, CustomCheckbox, CustomDialog, type CustomDialogProps, CustomTimePicker, DataTable, DateFilter, DateFilterRange, DateMonthPicker, JalaliDatePicker$2 as DatePicker, JalaliDatePicker$1 as DateTimePicker, JalaliDateTimeRangePicker as DateTimeRangePicker, DraggablePaper, UploadImage as EnhancedUploadImage, FormInputNumber, FormInputText, HorizontalStepper, LicensePlate, JalaliDatePicker as MobileDateTimePicker, ConfirmationDialog as Modal, NestedSelect as NestedSelectort, NoResult, PaginationList, type PaletteColor, PatternTextField, RadioButton, SearchLicensePlate, MultipleSelectChip as Selector, SkeletonCard, SonarSpinner, SwitchButton, Table, UploadImage$1 as UploadImage };
|
package/dist/index.d.ts
CHANGED
|
@@ -621,7 +621,8 @@ interface CustomDialogProps {
|
|
|
621
621
|
fullWidth?: boolean;
|
|
622
622
|
children: ReactNode;
|
|
623
623
|
actions?: ReactNode;
|
|
624
|
+
isSubmiting?: boolean;
|
|
624
625
|
}
|
|
625
|
-
declare function CustomDialog({ title, icon: Icon, iconColor, open, onClose, maxWidth, fullWidth, children, actions, }: CustomDialogProps): React$1.JSX.Element;
|
|
626
|
+
declare function CustomDialog({ title, icon: Icon, iconColor, open, onClose, maxWidth, fullWidth, children, actions, isSubmiting, }: CustomDialogProps): React$1.JSX.Element;
|
|
626
627
|
|
|
627
628
|
export { Page as Accordion, AdvancedSearchButton, ConfirmationDialog$1 as ConfirmationDialog, ConnectToBasculeButton, CustomCheckbox, CustomDialog, type CustomDialogProps, CustomTimePicker, DataTable, DateFilter, DateFilterRange, DateMonthPicker, JalaliDatePicker$2 as DatePicker, JalaliDatePicker$1 as DateTimePicker, JalaliDateTimeRangePicker as DateTimeRangePicker, DraggablePaper, UploadImage as EnhancedUploadImage, FormInputNumber, FormInputText, HorizontalStepper, LicensePlate, JalaliDatePicker as MobileDateTimePicker, ConfirmationDialog as Modal, NestedSelect as NestedSelectort, NoResult, PaginationList, type PaletteColor, PatternTextField, RadioButton, SearchLicensePlate, MultipleSelectChip as Selector, SkeletonCard, SonarSpinner, SwitchButton, Table, UploadImage$1 as UploadImage };
|
package/dist/index.js
CHANGED
|
@@ -5234,7 +5234,8 @@ function CustomDialog({
|
|
|
5234
5234
|
maxWidth = "sm",
|
|
5235
5235
|
fullWidth = true,
|
|
5236
5236
|
children,
|
|
5237
|
-
actions
|
|
5237
|
+
actions,
|
|
5238
|
+
isSubmiting = false
|
|
5238
5239
|
}) {
|
|
5239
5240
|
return /* @__PURE__ */ React.createElement(
|
|
5240
5241
|
import_material31.Dialog,
|
|
@@ -5302,7 +5303,8 @@ function CustomDialog({
|
|
|
5302
5303
|
right: 8,
|
|
5303
5304
|
top: 8,
|
|
5304
5305
|
color: (theme3) => theme3.palette.grey[500]
|
|
5305
|
-
}
|
|
5306
|
+
},
|
|
5307
|
+
disabled: isSubmiting
|
|
5306
5308
|
},
|
|
5307
5309
|
/* @__PURE__ */ React.createElement(import_md9.MdClose, null)
|
|
5308
5310
|
)),
|