enwawa-ui 4.1.25 → 4.1.26
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/lib/index.d.ts +24 -1
- package/lib/index.d.ts.map +1 -1
- package/lib/index.es.js +30 -14
- package/lib/index.es.js.map +1 -1
- package/lib/index.js +30 -14
- package/lib/index.js.map +1 -1
- package/package.json +1 -1
package/lib/index.d.ts
CHANGED
|
@@ -2866,6 +2866,22 @@ export interface OrModuleCalendarHeaderProps {
|
|
|
2866
2866
|
* Set validation status
|
|
2867
2867
|
*/
|
|
2868
2868
|
atDatePickerValue?: DatePickerProps['value'];
|
|
2869
|
+
/**
|
|
2870
|
+
* Secondary button value
|
|
2871
|
+
*/
|
|
2872
|
+
secondaryButtonValue?: string;
|
|
2873
|
+
/**
|
|
2874
|
+
* Secondary button onClick
|
|
2875
|
+
*/
|
|
2876
|
+
secondaryButtonOnClick?: (React.MouseEventHandler<HTMLAnchorElement> & React.MouseEventHandler<HTMLButtonElement>) | undefined;
|
|
2877
|
+
/**
|
|
2878
|
+
* Icon for secondary button
|
|
2879
|
+
*/
|
|
2880
|
+
secondaryButtonIcon?: string;
|
|
2881
|
+
/**
|
|
2882
|
+
* Tooltip for secondary button
|
|
2883
|
+
*/
|
|
2884
|
+
secondaryButtonTooltip?: string;
|
|
2869
2885
|
}
|
|
2870
2886
|
export const OrModuleCalendarHeader: React.FC<OrModuleCalendarHeaderProps>;
|
|
2871
2887
|
export interface ICustomButtons extends AtButtonProps {
|
|
@@ -3484,8 +3500,15 @@ export interface TmCalendarPageProps<_RecordType = AnyObject, FormType = any> {
|
|
|
3484
3500
|
* Set validation value
|
|
3485
3501
|
*/
|
|
3486
3502
|
atDatePickerValue?: DatePickerProps['value'];
|
|
3503
|
+
/**
|
|
3504
|
+
* Icon for secondary button
|
|
3505
|
+
*/
|
|
3506
|
+
secondaryButtonIcon?: string;
|
|
3507
|
+
/** * Tooltip for secondary button
|
|
3508
|
+
*/
|
|
3509
|
+
secondaryButtonTooltip?: string;
|
|
3487
3510
|
}
|
|
3488
|
-
export const TmCalendarPage: <RecordType extends AnyObject, FormType extends Store>({ formSteps, onValuesChange, onCloseLeftDrawer, leftDrawerContent, openLeftDrawer, buttonAddText, buttonIcon, buttonOnClick, open, currentFormStep, titleLeftDrawer, leftDrawerWidth, drawerContent, showDrawerContent, drawerTitle, drawerWidth, firstButtonText, secondButtonText, onClickFirstButton, onClickSecondButton, eventClickFunction, $margin, title, actionPopOverText, disabledButtons, handleCloseCallback, showFormStepper, onBack, events, resources, resourceTitle, displayDate, onChangeSegment, segmentOptions, columnsFilters, buttonsFilters, filterText, leftArrowOnOnClick, rightArrowOnOnClick, currentDate, onSelectResource, selectedResources, loadingSearchFilter, onSelectDate, onSelectedTimeRange, loadingTable, loadingDutyData, atTimeRangePickerValue, atDatePickerValue }: TmCalendarPageProps<RecordType, FormType>) => JSX.Element;
|
|
3511
|
+
export const TmCalendarPage: <RecordType extends AnyObject, FormType extends Store>({ formSteps, onValuesChange, onCloseLeftDrawer, leftDrawerContent, openLeftDrawer, buttonAddText, buttonIcon, buttonOnClick, open, currentFormStep, titleLeftDrawer, leftDrawerWidth, drawerContent, showDrawerContent, drawerTitle, drawerWidth, firstButtonText, secondButtonText, onClickFirstButton, onClickSecondButton, eventClickFunction, $margin, title, actionPopOverText, disabledButtons, handleCloseCallback, showFormStepper, onBack, events, resources, resourceTitle, displayDate, onChangeSegment, segmentOptions, columnsFilters, buttonsFilters, filterText, leftArrowOnOnClick, rightArrowOnOnClick, currentDate, onSelectResource, selectedResources, loadingSearchFilter, onSelectDate, onSelectedTimeRange, loadingTable, loadingDutyData, atTimeRangePickerValue, atDatePickerValue, secondaryButtonText, secondaryOnClick, secondaryButtonIcon, secondaryButtonTooltip, }: TmCalendarPageProps<RecordType, FormType>) => JSX.Element;
|
|
3489
3512
|
export interface MarkersArrayMap {
|
|
3490
3513
|
type: 'add' | 'oneWay' | 'return';
|
|
3491
3514
|
color?: OrMarkProps['color'];
|