josenanodev-react-components-library 1.0.0 → 1.0.2

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.
Files changed (145) hide show
  1. package/dist/{esm/types/Services → Services}/MulticalendarStatesAndSettings.d.ts +34 -34
  2. package/dist/{esm/types/Services → Services}/accessToken.d.ts +3 -3
  3. package/dist/{cjs/types/common → common}/constants.d.ts +5 -5
  4. package/dist/{cjs/types/common → common}/turboSuiteUrls.d.ts +7 -7
  5. package/dist/{cjs/types/components → components}/BubbleMenu/BubbleMenu.d.ts +12 -12
  6. package/dist/{cjs/types/components → components}/BubbleMenu/index.d.ts +1 -1
  7. package/dist/{cjs/types/components → components}/CalendarDatePicker/CalendarDatePicker.d.ts +19 -19
  8. package/dist/{esm/types/components → components}/CalendarDatePicker/index.d.ts +1 -1
  9. package/dist/{esm/types/components → components}/CalendarDatePicker/subcomponents/CalendarScrollableSection.d.ts +15 -15
  10. package/dist/{esm/types/components → components}/ExportToExcelButton/ExportToExcelButton.d.ts +5 -5
  11. package/dist/{cjs/types/components → components}/ExportToExcelButton/ExportToExcelButtonOwnFunctions.d.ts +6 -6
  12. package/dist/{esm/types/components → components}/ExportToExcelButton/index.d.ts +1 -1
  13. package/dist/{esm/types/components → components}/InputBoxWithConfirmation/InputBoxWithConfirmation.d.ts +17 -17
  14. package/dist/{esm/types/components → components}/InputBoxWithConfirmation/index.d.ts +1 -1
  15. package/dist/{cjs/types/components → components}/IntegerControl/IntegerControl.d.ts +10 -10
  16. package/dist/{cjs/types/components → components}/IntegerControl/index.d.ts +1 -1
  17. package/dist/{cjs/types/components → components}/LabeledInput/LabeledInput.d.ts +15 -15
  18. package/dist/{cjs/types/components → components}/LabeledInput/index.d.ts +1 -1
  19. package/dist/{esm/types/components → components}/Modal/Modal.d.ts +5 -5
  20. package/dist/{cjs/types/components → components}/Modal/index.d.ts +1 -1
  21. package/dist/{esm/types/components → components}/Multicalendar/Multicalendar.d.ts +5 -5
  22. package/dist/{cjs/types/components → components}/Multicalendar/MulticalendarOwnFunctions.d.ts +86 -86
  23. package/dist/{cjs/types/components → components}/Multicalendar/index.d.ts +1 -1
  24. package/dist/{esm/types/components → components}/Multicalendar/subcomponents/composites/CellsRow/CellsRow.d.ts +5 -5
  25. package/dist/{cjs/types/components → components}/Multicalendar/subcomponents/composites/DatesGrid/DatesGrid.d.ts +5 -5
  26. package/dist/{esm/types/components → components}/Multicalendar/subcomponents/composites/ListElementsColumn/ListElementsColumn.d.ts +5 -5
  27. package/dist/{cjs/types/components → components}/Multicalendar/subcomponents/individuals/Cell/Cell.d.ts +5 -5
  28. package/dist/{esm/types/components → components}/Multicalendar/subcomponents/individuals/DatesRow/DatesRow.d.ts +5 -5
  29. package/dist/{cjs/types/components → components}/Multicalendar/subcomponents/individuals/DropdownMonthNavigation/DropdownMonthNavigation.d.ts +5 -5
  30. package/dist/{cjs/types/components → components}/Multicalendar/subcomponents/individuals/ListElement/ListElement.d.ts +5 -5
  31. package/dist/{cjs/types/components → components}/MultipleJoinedButtonsBar/MultipleJoinedButtonsBar.d.ts +5 -5
  32. package/dist/{cjs/types/components → components}/MultipleJoinedButtonsBar/index.d.ts +1 -1
  33. package/dist/{cjs/types/components → components}/ParallelSelectionList/ParallelSelectionList.d.ts +5 -5
  34. package/dist/{cjs/types/components → components}/ParallelSelectionList/index.d.ts +1 -1
  35. package/dist/{cjs/types/components → components}/PopUp/PopUp.d.ts +5 -5
  36. package/dist/{cjs/types/components → components}/PopUp/index.d.ts +1 -1
  37. package/dist/{esm/types/components → components}/ProgressBar/ProgressBar.d.ts +5 -5
  38. package/dist/{cjs/types/components → components}/ProgressBar/index.d.ts +1 -1
  39. package/dist/{esm/types/components → components}/ScreenSteps/ScreenSteps.d.ts +14 -14
  40. package/dist/{cjs/types/components → components}/ScreenSteps/index.d.ts +1 -1
  41. package/dist/{cjs/types/components → components}/ScrollSnapGallery/ScrollSnapGallery.d.ts +14 -14
  42. package/dist/{cjs/types/components → components}/ScrollSnapGallery/index.d.ts +1 -1
  43. package/dist/{cjs/types/components → components}/SearchBar/SearchBar.d.ts +5 -5
  44. package/dist/{cjs/types/components → components}/SearchBar/index.d.ts +1 -1
  45. package/dist/{cjs/types/components → components}/SideBar/SideBar.d.ts +8 -8
  46. package/dist/{cjs/types/components → components}/SideBar/index.d.ts +1 -1
  47. package/dist/{cjs/types/components → components}/Slider/Slider.d.ts +5 -5
  48. package/dist/{cjs/types/components → components}/Slider/SliderOwnFunctions.d.ts +2 -2
  49. package/dist/{cjs/types/components → components}/Slider/index.d.ts +1 -1
  50. package/dist/{cjs/types/components → components}/index.d.ts +16 -16
  51. package/dist/{esm/types/hooks → hooks}/useIntersectionObserver.d.ts +9 -9
  52. package/dist/{cjs/types/hooks → hooks}/useOutsideClick.d.ts +3 -3
  53. package/dist/{cjs/types/hooks → hooks}/useResizeObserver.d.ts +7 -7
  54. package/dist/{esm/types/hooks → hooks}/useWindowsSize.d.ts +6 -6
  55. package/dist/{cjs/types/index.d.ts → index.d.ts} +1 -1
  56. package/dist/{esm/index.js → index.esm.js} +3635 -3635
  57. package/dist/index.esm.js.map +1 -0
  58. package/dist/{cjs/index.js → index.js} +3652 -3652
  59. package/dist/index.js.map +1 -0
  60. package/dist/{cjs/types/languages → languages}/en-EN.d.ts +3 -3
  61. package/dist/{cjs/types/languages → languages}/es-ES.d.ts +3 -3
  62. package/dist/{esm/types/languages → languages}/it-IT.d.ts +3 -3
  63. package/dist/{esm/types/mocks → mocks}/ReactComponentMocksForTesting/CellChildrenMock.d.ts +4 -4
  64. package/dist/{cjs/types/mocks → mocks}/ReactComponentMocksForTesting/ListElementChildrenMock.d.ts +4 -4
  65. package/dist/{cjs/types/setupTests.d.ts → setupTests.d.ts} +2 -2
  66. package/dist/{cjs/types/stories → stories}/CalendarDatePickerMask.d.ts +4 -4
  67. package/dist/{esm/types/utils → utils}/datesArray.d.ts +8 -8
  68. package/dist/{cjs/types/utils → utils}/dayOfTheWeekStartingOnMonday.d.ts +7 -7
  69. package/dist/{cjs/types/utils → utils}/jsToSqlDate.d.ts +7 -7
  70. package/dist/{cjs/types/utils → utils}/monthYearString.d.ts +3 -3
  71. package/dist/{esm/types/utils → utils}/numberOfDaysInAMonth.d.ts +6 -6
  72. package/dist/{esm/types/utils → utils}/numberOfWeeksInAMonth.d.ts +7 -7
  73. package/dist/{cjs/types/utils → utils}/sqlToJsDate.d.ts +7 -7
  74. package/package.json +4 -7
  75. package/dist/cjs/index.js.map +0 -1
  76. package/dist/cjs/types/Services/MulticalendarStatesAndSettings.d.ts +0 -34
  77. package/dist/cjs/types/Services/accessToken.d.ts +0 -3
  78. package/dist/cjs/types/components/CalendarDatePicker/index.d.ts +0 -1
  79. package/dist/cjs/types/components/CalendarDatePicker/subcomponents/CalendarScrollableSection.d.ts +0 -15
  80. package/dist/cjs/types/components/ExportToExcelButton/ExportToExcelButton.d.ts +0 -5
  81. package/dist/cjs/types/components/ExportToExcelButton/index.d.ts +0 -1
  82. package/dist/cjs/types/components/InputBoxWithConfirmation/InputBoxWithConfirmation.d.ts +0 -17
  83. package/dist/cjs/types/components/InputBoxWithConfirmation/index.d.ts +0 -1
  84. package/dist/cjs/types/components/Modal/Modal.d.ts +0 -5
  85. package/dist/cjs/types/components/Multicalendar/Multicalendar.d.ts +0 -5
  86. package/dist/cjs/types/components/Multicalendar/subcomponents/composites/CellsRow/CellsRow.d.ts +0 -5
  87. package/dist/cjs/types/components/Multicalendar/subcomponents/composites/ListElementsColumn/ListElementsColumn.d.ts +0 -5
  88. package/dist/cjs/types/components/Multicalendar/subcomponents/individuals/DatesRow/DatesRow.d.ts +0 -5
  89. package/dist/cjs/types/components/ProgressBar/ProgressBar.d.ts +0 -5
  90. package/dist/cjs/types/components/ScreenSteps/ScreenSteps.d.ts +0 -14
  91. package/dist/cjs/types/hooks/useIntersectionObserver.d.ts +0 -9
  92. package/dist/cjs/types/hooks/useWindowsSize.d.ts +0 -6
  93. package/dist/cjs/types/languages/it-IT.d.ts +0 -3
  94. package/dist/cjs/types/mocks/ReactComponentMocksForTesting/CellChildrenMock.d.ts +0 -4
  95. package/dist/cjs/types/utils/datesArray.d.ts +0 -8
  96. package/dist/cjs/types/utils/numberOfDaysInAMonth.d.ts +0 -6
  97. package/dist/cjs/types/utils/numberOfWeeksInAMonth.d.ts +0 -7
  98. package/dist/esm/index.js.map +0 -1
  99. package/dist/esm/types/common/constants.d.ts +0 -5
  100. package/dist/esm/types/common/turboSuiteUrls.d.ts +0 -7
  101. package/dist/esm/types/components/BubbleMenu/BubbleMenu.d.ts +0 -12
  102. package/dist/esm/types/components/BubbleMenu/index.d.ts +0 -1
  103. package/dist/esm/types/components/CalendarDatePicker/CalendarDatePicker.d.ts +0 -19
  104. package/dist/esm/types/components/ExportToExcelButton/ExportToExcelButtonOwnFunctions.d.ts +0 -6
  105. package/dist/esm/types/components/IntegerControl/IntegerControl.d.ts +0 -10
  106. package/dist/esm/types/components/IntegerControl/index.d.ts +0 -1
  107. package/dist/esm/types/components/LabeledInput/LabeledInput.d.ts +0 -15
  108. package/dist/esm/types/components/LabeledInput/index.d.ts +0 -1
  109. package/dist/esm/types/components/Modal/index.d.ts +0 -1
  110. package/dist/esm/types/components/Multicalendar/MulticalendarOwnFunctions.d.ts +0 -86
  111. package/dist/esm/types/components/Multicalendar/index.d.ts +0 -1
  112. package/dist/esm/types/components/Multicalendar/subcomponents/composites/DatesGrid/DatesGrid.d.ts +0 -5
  113. package/dist/esm/types/components/Multicalendar/subcomponents/individuals/Cell/Cell.d.ts +0 -5
  114. package/dist/esm/types/components/Multicalendar/subcomponents/individuals/DropdownMonthNavigation/DropdownMonthNavigation.d.ts +0 -5
  115. package/dist/esm/types/components/Multicalendar/subcomponents/individuals/ListElement/ListElement.d.ts +0 -5
  116. package/dist/esm/types/components/MultipleJoinedButtonsBar/MultipleJoinedButtonsBar.d.ts +0 -5
  117. package/dist/esm/types/components/MultipleJoinedButtonsBar/index.d.ts +0 -1
  118. package/dist/esm/types/components/ParallelSelectionList/ParallelSelectionList.d.ts +0 -5
  119. package/dist/esm/types/components/ParallelSelectionList/index.d.ts +0 -1
  120. package/dist/esm/types/components/PopUp/PopUp.d.ts +0 -5
  121. package/dist/esm/types/components/PopUp/index.d.ts +0 -1
  122. package/dist/esm/types/components/ProgressBar/index.d.ts +0 -1
  123. package/dist/esm/types/components/ScreenSteps/index.d.ts +0 -1
  124. package/dist/esm/types/components/ScrollSnapGallery/ScrollSnapGallery.d.ts +0 -14
  125. package/dist/esm/types/components/ScrollSnapGallery/index.d.ts +0 -1
  126. package/dist/esm/types/components/SearchBar/SearchBar.d.ts +0 -5
  127. package/dist/esm/types/components/SearchBar/index.d.ts +0 -1
  128. package/dist/esm/types/components/SideBar/SideBar.d.ts +0 -8
  129. package/dist/esm/types/components/SideBar/index.d.ts +0 -1
  130. package/dist/esm/types/components/Slider/Slider.d.ts +0 -5
  131. package/dist/esm/types/components/Slider/SliderOwnFunctions.d.ts +0 -2
  132. package/dist/esm/types/components/Slider/index.d.ts +0 -1
  133. package/dist/esm/types/components/index.d.ts +0 -16
  134. package/dist/esm/types/hooks/useOutsideClick.d.ts +0 -3
  135. package/dist/esm/types/hooks/useResizeObserver.d.ts +0 -7
  136. package/dist/esm/types/index.d.ts +0 -1
  137. package/dist/esm/types/languages/en-EN.d.ts +0 -3
  138. package/dist/esm/types/languages/es-ES.d.ts +0 -3
  139. package/dist/esm/types/mocks/ReactComponentMocksForTesting/ListElementChildrenMock.d.ts +0 -4
  140. package/dist/esm/types/setupTests.d.ts +0 -2
  141. package/dist/esm/types/stories/CalendarDatePickerMask.d.ts +0 -4
  142. package/dist/esm/types/utils/dayOfTheWeekStartingOnMonday.d.ts +0 -7
  143. package/dist/esm/types/utils/jsToSqlDate.d.ts +0 -7
  144. package/dist/esm/types/utils/monthYearString.d.ts +0 -3
  145. package/dist/esm/types/utils/sqlToJsDate.d.ts +0 -7
@@ -1,34 +1,34 @@
1
- /**
2
- *
3
- * @param multicalendarId id of the multicalendar (multicalendarId prop)
4
- * @returns saved height scroll position of selected multicalendar
5
- */
6
- export declare const getMulticalendarScrollTopPosition: (multicalendarId: string) => string | null;
7
- /**
8
- *
9
- * @param multicalendarId id of the multicalendar (multicalendarId prop)
10
- * @param scrollTop scroll height number
11
- */
12
- export declare const setMulticalendarScrollTopPosition: (multicalendarId: string, scrollTop: string) => void;
13
- /**
14
- *
15
- * @param multicalendarId id of the multicalendar (multicalendarId prop)
16
- */
17
- export declare const eraseMulticalendarScrollTopPosition: (multicalendarId: string) => void;
18
- /**
19
- *
20
- * @param multicalendarId id of the multicalendar (multicalendarId prop)
21
- * @returns saved horizontal scroll position of selected multicalendar
22
- */
23
- export declare const getMulticalendarScrollLeftPosition: (multicalendarId: string) => string | null;
24
- /**
25
- *
26
- * @param multicalendarId id of the multicalendar (multicalendarId prop)
27
- * @param xScroll left scroll number
28
- */
29
- export declare const setMulticalendarScrollLeftPosition: (multicalendarId: string, scrollLeft: string) => void;
30
- /**
31
- *
32
- * @param multicalendarId id of the multicalendar (multicalendarId prop)
33
- */
34
- export declare const eraseMulticalendarScrollLeftPosition: (multicalendarId: string) => void;
1
+ /**
2
+ *
3
+ * @param multicalendarId id of the multicalendar (multicalendarId prop)
4
+ * @returns saved height scroll position of selected multicalendar
5
+ */
6
+ export declare const getMulticalendarScrollTopPosition: (multicalendarId: string) => string | null;
7
+ /**
8
+ *
9
+ * @param multicalendarId id of the multicalendar (multicalendarId prop)
10
+ * @param scrollTop scroll height number
11
+ */
12
+ export declare const setMulticalendarScrollTopPosition: (multicalendarId: string, scrollTop: string) => void;
13
+ /**
14
+ *
15
+ * @param multicalendarId id of the multicalendar (multicalendarId prop)
16
+ */
17
+ export declare const eraseMulticalendarScrollTopPosition: (multicalendarId: string) => void;
18
+ /**
19
+ *
20
+ * @param multicalendarId id of the multicalendar (multicalendarId prop)
21
+ * @returns saved horizontal scroll position of selected multicalendar
22
+ */
23
+ export declare const getMulticalendarScrollLeftPosition: (multicalendarId: string) => string | null;
24
+ /**
25
+ *
26
+ * @param multicalendarId id of the multicalendar (multicalendarId prop)
27
+ * @param xScroll left scroll number
28
+ */
29
+ export declare const setMulticalendarScrollLeftPosition: (multicalendarId: string, scrollLeft: string) => void;
30
+ /**
31
+ *
32
+ * @param multicalendarId id of the multicalendar (multicalendarId prop)
33
+ */
34
+ export declare const eraseMulticalendarScrollLeftPosition: (multicalendarId: string) => void;
@@ -1,3 +1,3 @@
1
- export declare const getAccessToken: () => string | null;
2
- export declare const setAccessToken: (token: string) => void;
3
- export declare const eraseAccessToken: () => void;
1
+ export declare const getAccessToken: () => string | null;
2
+ export declare const setAccessToken: (token: string) => void;
3
+ export declare const eraseAccessToken: () => void;
@@ -1,5 +1,5 @@
1
- export declare const access: string;
2
- export declare const propertyManagerCode: string;
3
- export declare const propertyManagerLookAndFeelCode: string;
4
- export declare const languageCode: string;
5
- export declare const millisecondsOfOneDay = 86400000;
1
+ export declare const access: string;
2
+ export declare const propertyManagerCode: string;
3
+ export declare const propertyManagerLookAndFeelCode: string;
4
+ export declare const languageCode: string;
5
+ export declare const millisecondsOfOneDay = 86400000;
@@ -1,7 +1,7 @@
1
- declare let turboSuiteUrls: {
2
- testEnviroment: string;
3
- apiV1Prod: string;
4
- apiV1PreProd: string;
5
- middleware: string;
6
- };
7
- export default turboSuiteUrls;
1
+ declare let turboSuiteUrls: {
2
+ testEnviroment: string;
3
+ apiV1Prod: string;
4
+ apiV1PreProd: string;
5
+ middleware: string;
6
+ };
7
+ export default turboSuiteUrls;
@@ -1,12 +1,12 @@
1
- import React from "react";
2
- type BubbleMenuProps = {
3
- options: {
4
- icon: JSX.Element;
5
- text: string;
6
- visible: boolean;
7
- optionCallback: () => void;
8
- }[];
9
- language?: "en" | "es";
10
- };
11
- declare const BubbleMenu: ({ options, language }: BubbleMenuProps) => React.JSX.Element;
12
- export default BubbleMenu;
1
+ import React from "react";
2
+ type BubbleMenuProps = {
3
+ options: {
4
+ icon: JSX.Element;
5
+ text: string;
6
+ visible: boolean;
7
+ optionCallback: () => void;
8
+ }[];
9
+ language?: "en" | "es";
10
+ };
11
+ declare const BubbleMenu: ({ options, language }: BubbleMenuProps) => React.JSX.Element;
12
+ export default BubbleMenu;
@@ -1 +1 @@
1
- export { default } from "./BubbleMenu";
1
+ export { default } from "./BubbleMenu";
@@ -1,19 +1,19 @@
1
- import React from "react";
2
- export type CalendarDatePickerProps = {
3
- mode: "single" | "multiple" | "range" | "booking";
4
- onSelectedDatesChange: (dates: Date[]) => void;
5
- language?: "es" | "en";
6
- customDates?: {
7
- color: string;
8
- dates: Date[];
9
- selectable: boolean;
10
- crossed?: boolean;
11
- clickSideEffect?: (date: Date) => void;
12
- }[];
13
- title?: string;
14
- minimumDate?: Date;
15
- maximumDate?: Date;
16
- customStyle?: React.CSSProperties;
17
- };
18
- declare const CalendarDatePicker: ({ mode, onSelectedDatesChange, language, customDates, title, minimumDate, maximumDate, customStyle, }: CalendarDatePickerProps) => React.JSX.Element;
19
- export default CalendarDatePicker;
1
+ import React from "react";
2
+ export type CalendarDatePickerProps = {
3
+ mode: "single" | "multiple" | "range" | "booking";
4
+ onSelectedDatesChange: (dates: Date[]) => void;
5
+ language?: "es" | "en";
6
+ customDates?: {
7
+ color: string;
8
+ dates: Date[];
9
+ selectable: boolean;
10
+ crossed?: boolean;
11
+ clickSideEffect?: (date: Date) => void;
12
+ }[];
13
+ title?: string;
14
+ minimumDate?: Date;
15
+ maximumDate?: Date;
16
+ customStyle?: React.CSSProperties;
17
+ };
18
+ declare const CalendarDatePicker: ({ mode, onSelectedDatesChange, language, customDates, title, minimumDate, maximumDate, customStyle, }: CalendarDatePickerProps) => React.JSX.Element;
19
+ export default CalendarDatePicker;
@@ -1 +1 @@
1
- export { default } from "./CalendarDatePicker";
1
+ export { default } from "./CalendarDatePicker";
@@ -1,15 +1,15 @@
1
- import React from "react";
2
- import { CalendarDatePickerProps } from "../CalendarDatePicker";
3
- type CalendarScrollableSectionProps = {
4
- dates: Date[];
5
- month: number;
6
- year: number;
7
- mode: CalendarDatePickerProps["mode"];
8
- onSelectedDatesChange: CalendarDatePickerProps["onSelectedDatesChange"];
9
- onFocusedMonth: (month: number, year: number) => void;
10
- customDates: CalendarDatePickerProps["customDates"];
11
- minimumDate?: CalendarDatePickerProps["minimumDate"];
12
- maximumDate?: CalendarDatePickerProps["maximumDate"];
13
- };
14
- declare const CalendarScrollableSection: ({ dates, month, year, mode, onSelectedDatesChange, onFocusedMonth, customDates, minimumDate, maximumDate, }: CalendarScrollableSectionProps) => React.JSX.Element;
15
- export default CalendarScrollableSection;
1
+ import React from "react";
2
+ import { CalendarDatePickerProps } from "../CalendarDatePicker";
3
+ type CalendarScrollableSectionProps = {
4
+ dates: Date[];
5
+ month: number;
6
+ year: number;
7
+ mode: CalendarDatePickerProps["mode"];
8
+ onSelectedDatesChange: CalendarDatePickerProps["onSelectedDatesChange"];
9
+ onFocusedMonth: (month: number, year: number) => void;
10
+ customDates: CalendarDatePickerProps["customDates"];
11
+ minimumDate?: CalendarDatePickerProps["minimumDate"];
12
+ maximumDate?: CalendarDatePickerProps["maximumDate"];
13
+ };
14
+ declare const CalendarScrollableSection: ({ dates, month, year, mode, onSelectedDatesChange, onFocusedMonth, customDates, minimumDate, maximumDate, }: CalendarScrollableSectionProps) => React.JSX.Element;
15
+ export default CalendarScrollableSection;
@@ -1,5 +1,5 @@
1
- import React from "react";
2
- import "./ExportToExcelButton.css";
3
- import { ExportToExcelButtonPropsType } from "./types";
4
- declare const ExportToExcelButton: ({ customButtonText, customClass, fileName, headers, data, onAfterExport, disabled, }: ExportToExcelButtonPropsType) => React.JSX.Element;
5
- export default ExportToExcelButton;
1
+ import React from "react";
2
+ import "./ExportToExcelButton.css";
3
+ import { ExportToExcelButtonPropsType } from "./types";
4
+ declare const ExportToExcelButton: ({ customButtonText, customClass, fileName, headers, data, onAfterExport, disabled, }: ExportToExcelButtonPropsType) => React.JSX.Element;
5
+ export default ExportToExcelButton;
@@ -1,6 +1,6 @@
1
- import { DataObjectXlsxType } from "./types";
2
- export declare function downloadExcel(fileName: string, data: {
3
- [key: string]: DataObjectXlsxType[][];
4
- } | undefined, headers: {
5
- [key: string]: DataObjectXlsxType[];
6
- } | undefined): void;
1
+ import { DataObjectXlsxType } from "./types";
2
+ export declare function downloadExcel(fileName: string, data: {
3
+ [key: string]: DataObjectXlsxType[][];
4
+ } | undefined, headers: {
5
+ [key: string]: DataObjectXlsxType[];
6
+ } | undefined): void;
@@ -1 +1 @@
1
- export { default } from "./ExportToExcelButton";
1
+ export { default } from "./ExportToExcelButton";
@@ -1,17 +1,17 @@
1
- import React from "react";
2
- type InputBoxWithConfirmationPropsType = {
3
- onConfirmAction: (inputCurrentValue: string) => void;
4
- inputType?: "text" | "number";
5
- minimumValue?: HTMLInputElement["min"];
6
- maximumValue?: HTMLInputElement["max"];
7
- maxLength?: HTMLInputElement["maxLength"];
8
- placeholder?: HTMLInputElement["placeholder"];
9
- divWrapperCustomStyle?: React.CSSProperties;
10
- inputBoxCustomStyle?: React.CSSProperties;
11
- defaultValue?: string | number;
12
- overrideCurrentValue?: string | number | null;
13
- showConfirmationButton?: boolean;
14
- disabled?: boolean;
15
- };
16
- declare const InputBoxWithConfirmation: ({ onConfirmAction, inputType, minimumValue, maximumValue, maxLength, placeholder, divWrapperCustomStyle, inputBoxCustomStyle, defaultValue, overrideCurrentValue, showConfirmationButton, disabled, }: InputBoxWithConfirmationPropsType) => React.JSX.Element;
17
- export default InputBoxWithConfirmation;
1
+ import React from "react";
2
+ type InputBoxWithConfirmationPropsType = {
3
+ onConfirmAction: (inputCurrentValue: string) => void;
4
+ inputType?: "text" | "number";
5
+ minimumValue?: HTMLInputElement["min"];
6
+ maximumValue?: HTMLInputElement["max"];
7
+ maxLength?: HTMLInputElement["maxLength"];
8
+ placeholder?: HTMLInputElement["placeholder"];
9
+ divWrapperCustomStyle?: React.CSSProperties;
10
+ inputBoxCustomStyle?: React.CSSProperties;
11
+ defaultValue?: string | number;
12
+ overrideCurrentValue?: string | number | null;
13
+ showConfirmationButton?: boolean;
14
+ disabled?: boolean;
15
+ };
16
+ declare const InputBoxWithConfirmation: ({ onConfirmAction, inputType, minimumValue, maximumValue, maxLength, placeholder, divWrapperCustomStyle, inputBoxCustomStyle, defaultValue, overrideCurrentValue, showConfirmationButton, disabled, }: InputBoxWithConfirmationPropsType) => React.JSX.Element;
17
+ export default InputBoxWithConfirmation;
@@ -1 +1 @@
1
- export { default } from "./InputBoxWithConfirmation";
1
+ export { default } from "./InputBoxWithConfirmation";
@@ -1,10 +1,10 @@
1
- import React from "react";
2
- type IntegerControlProps = {
3
- onChange: (value: number) => void;
4
- defaultValue?: number;
5
- minimumValue?: number;
6
- maximumValue?: number;
7
- customStyle?: React.CSSProperties;
8
- };
9
- declare const IntegerControl: ({ onChange, defaultValue, minimumValue, maximumValue, customStyle, }: IntegerControlProps) => React.JSX.Element;
10
- export default IntegerControl;
1
+ import React from "react";
2
+ type IntegerControlProps = {
3
+ onChange: (value: number) => void;
4
+ defaultValue?: number;
5
+ minimumValue?: number;
6
+ maximumValue?: number;
7
+ customStyle?: React.CSSProperties;
8
+ };
9
+ declare const IntegerControl: ({ onChange, defaultValue, minimumValue, maximumValue, customStyle, }: IntegerControlProps) => React.JSX.Element;
10
+ export default IntegerControl;
@@ -1 +1 @@
1
- export { default } from "./IntegerControl";
1
+ export { default } from "./IntegerControl";
@@ -1,15 +1,15 @@
1
- import React from "react";
2
- type LabeledInputProps = {
3
- label: string;
4
- defaultValue?: string;
5
- onChange?: (value: string) => void;
6
- width?: string;
7
- height?: string;
8
- backgroundColor?: string;
9
- textAlign?: "left" | "center" | "right";
10
- highlightError?: boolean;
11
- errorMessage?: string;
12
- inputProps?: React.ComponentProps<"input">;
13
- };
14
- declare const LabeledInput: ({ label, defaultValue, onChange, width, height, backgroundColor, textAlign, highlightError, errorMessage, inputProps, }: LabeledInputProps) => React.JSX.Element;
15
- export default LabeledInput;
1
+ import React from "react";
2
+ type LabeledInputProps = {
3
+ label: string;
4
+ defaultValue?: string;
5
+ onChange?: (value: string) => void;
6
+ width?: string;
7
+ height?: string;
8
+ backgroundColor?: string;
9
+ textAlign?: "left" | "center" | "right";
10
+ highlightError?: boolean;
11
+ errorMessage?: string;
12
+ inputProps?: React.ComponentProps<"input">;
13
+ };
14
+ declare const LabeledInput: ({ label, defaultValue, onChange, width, height, backgroundColor, textAlign, highlightError, errorMessage, inputProps, }: LabeledInputProps) => React.JSX.Element;
15
+ export default LabeledInput;
@@ -1 +1 @@
1
- export { default } from "./LabeledInput";
1
+ export { default } from "./LabeledInput";
@@ -1,5 +1,5 @@
1
- import React from "react";
2
- import "./Modal.css";
3
- import { ModalPropsType } from "./types";
4
- declare const Modal: ({ children, visibility, forced, onOpen, onClose, transitionTime, }: ModalPropsType) => React.JSX.Element;
5
- export default Modal;
1
+ import React from "react";
2
+ import "./Modal.css";
3
+ import { ModalPropsType } from "./types";
4
+ declare const Modal: ({ children, visibility, forced, onOpen, onClose, transitionTime, }: ModalPropsType) => React.JSX.Element;
5
+ export default Modal;
@@ -1 +1 @@
1
- export { default } from "./Modal";
1
+ export { default } from "./Modal";
@@ -1,5 +1,5 @@
1
- import React from "react";
2
- import "./Multicalendar.css";
3
- import { MulticalendarPropsType } from "./types";
4
- declare const Multicalendar: ({ multicalendarId, ReactCellChildren, ReactListElementChildren, listElementsIdsArray, language, pastDatesVisible, cellsWidth, cellsHeight, verticalAxisWidth, pastDaysInitialQuantity, futureDaysInitialQuantity, chunkRenderX, chunkRenderY, dynamicDaysQuantity, authomaticScrollOnDraggingOverEdges, waitTimeForCalls, callsOnInitialView, callsOnScrollingStops, aditionalControlsComponents, upperLeftComponent, autoSavePosition, onScrollTopChanges, onScrollLeftChanges, }: MulticalendarPropsType) => React.JSX.Element;
5
- export default Multicalendar;
1
+ import React from "react";
2
+ import "./Multicalendar.css";
3
+ import { MulticalendarPropsType } from "./types";
4
+ declare const Multicalendar: ({ multicalendarId, ReactCellChildren, ReactListElementChildren, listElementsIdsArray, language, pastDatesVisible, cellsWidth, cellsHeight, verticalAxisWidth, pastDaysInitialQuantity, futureDaysInitialQuantity, chunkRenderX, chunkRenderY, dynamicDaysQuantity, authomaticScrollOnDraggingOverEdges, waitTimeForCalls, callsOnInitialView, callsOnScrollingStops, aditionalControlsComponents, upperLeftComponent, autoSavePosition, onScrollTopChanges, onScrollLeftChanges, }: MulticalendarPropsType) => React.JSX.Element;
5
+ export default Multicalendar;
@@ -1,86 +1,86 @@
1
- import React from "react";
2
- import { languageType } from "../../languages/types";
3
- /**
4
- *
5
- * @param dateObject Date Object
6
- * @param elementRef ref of the element that will be scrolled
7
- * @param leftPagination number of cells to the left
8
- * @param cellsWidth width of cells
9
- */
10
- export declare function scrollByDate(dateObject: Date, elementRef: React.RefObject<HTMLDivElement>, leftPagination: number, cellsWidth: number): void;
11
- /**
12
- *
13
- * @param xPosition position X of grid
14
- * @param cellsWidth width of grid cells
15
- * @param leftPagination number of cells to the left
16
- * @param initialDateOffset offset of cells for the initial date
17
- * @returns milliseconds of the minimal date
18
- */
19
- export declare function minimalDateMilliseconds(xPosition: number, cellsWidth: number, leftPagination: number, initialDateOffset: number): number;
20
- /**
21
- *
22
- * @param millisecondsOfMinimalDate milliseconds of the minimal date
23
- * @param initialDateOffset offset of number of cells for initial date
24
- * @returns The minimal visible date object
25
- */
26
- export declare function defineMinimalVisibleDate(millisecondsOfMinimalDate: number, initialDateOffset: number): Date;
27
- /**
28
- *
29
- * @param xPosition current x position in the grid horizontal scroll
30
- * @param cellsWidth width of grid cells
31
- * @param chunkRenderX extra rendered cells in a row
32
- * @returns number X offset
33
- */
34
- export declare function defineXOffset(xPosition: number, cellsWidth: number, chunkRenderX: number): number;
35
- /**
36
- *
37
- * @param paginationWidth width of pagination of horizontal axis of the grid
38
- * @param chunkRenderX extra rendered cells in every row
39
- * @param minimalDateMilliseconds milliseconds of the minimal date
40
- * @returns an array containing all the dates that should be rendered base on position of x scroll
41
- */
42
- export declare function defineVisibleDatesArray(paginationWidth: number, chunkRenderX: number, minimalDateMilliseconds: number): Date[];
43
- /**
44
- *
45
- * @param yPosition current y position in the grid vertical scroll
46
- * @param cellsHeight height of grid cells
47
- * @param chunkRenderY extra rendered cells in every column
48
- * @returns number Y offset
49
- */
50
- export declare function defineYOffset(yPosition: number, cellsHeight: number, chunkRenderY: number): number;
51
- /**
52
- *
53
- * @param paginationHeight height of pagination of the vertical axis of the grid
54
- * @param chunkRenderY extra rendered cells in every column
55
- * @param offset offset from top of the list
56
- * @param listElementsIds all ids array
57
- * @returns Array of the destinies that will be rendered
58
- */
59
- export declare function defineListElementsArrayVisibleList(paginationHeight: number, chunkRenderY: number, offset: number, listElementsIds: string[] | number[]): string[] | number[];
60
- /**
61
- *
62
- * @param leftPagination number of cells to the left
63
- * @param language language object for traductions
64
- * @returns string of the date, month followed by year
65
- */
66
- export declare function defineMonthsArray(leftPagination: number, rightPagination: number, language: languageType): JSX.Element[];
67
- /**
68
- *
69
- * @param holdingClic boolean to know if mouse id down
70
- * @param xClientPosition position x of the client
71
- * @param yClientPosition position y of the client
72
- * @param widthHorizontalBorder horizontal border of activation
73
- * @param widthVerticalBorder vertical border of activation
74
- * @param gridRef ref ofthe grid container
75
- */
76
- export declare function startAuthomaticScrollInGrid(holdingClic: boolean, xClientPosition: number, yClientPosition: number, widthHorizontalBorder: number, widthVerticalBorder: number, gridRef: React.RefObject<HTMLDivElement>): void;
77
- /**
78
- *
79
- * @param holdingClic boolean to know if mouse id down
80
- * @param xClientPosition position x of the client
81
- * @param yClientPosition position y of the client
82
- * @param widthHorizontalBorder horizontal border of activation
83
- * @param widthVerticalBorder vertical border of activation
84
- * @param gridContainer grid container
85
- */
86
- export declare function authomaticScrollInGrid(holdingClic: boolean, xClientPosition: number | undefined, yClientPosition: number | undefined, widthHorizontalBorder: number, widthVerticalBorder: number, gridContainer: HTMLDivElement): void;
1
+ import React from "react";
2
+ import { languageType } from "../../languages/types";
3
+ /**
4
+ *
5
+ * @param dateObject Date Object
6
+ * @param elementRef ref of the element that will be scrolled
7
+ * @param leftPagination number of cells to the left
8
+ * @param cellsWidth width of cells
9
+ */
10
+ export declare function scrollByDate(dateObject: Date, elementRef: React.RefObject<HTMLDivElement>, leftPagination: number, cellsWidth: number): void;
11
+ /**
12
+ *
13
+ * @param xPosition position X of grid
14
+ * @param cellsWidth width of grid cells
15
+ * @param leftPagination number of cells to the left
16
+ * @param initialDateOffset offset of cells for the initial date
17
+ * @returns milliseconds of the minimal date
18
+ */
19
+ export declare function minimalDateMilliseconds(xPosition: number, cellsWidth: number, leftPagination: number, initialDateOffset: number): number;
20
+ /**
21
+ *
22
+ * @param millisecondsOfMinimalDate milliseconds of the minimal date
23
+ * @param initialDateOffset offset of number of cells for initial date
24
+ * @returns The minimal visible date object
25
+ */
26
+ export declare function defineMinimalVisibleDate(millisecondsOfMinimalDate: number, initialDateOffset: number): Date;
27
+ /**
28
+ *
29
+ * @param xPosition current x position in the grid horizontal scroll
30
+ * @param cellsWidth width of grid cells
31
+ * @param chunkRenderX extra rendered cells in a row
32
+ * @returns number X offset
33
+ */
34
+ export declare function defineXOffset(xPosition: number, cellsWidth: number, chunkRenderX: number): number;
35
+ /**
36
+ *
37
+ * @param paginationWidth width of pagination of horizontal axis of the grid
38
+ * @param chunkRenderX extra rendered cells in every row
39
+ * @param minimalDateMilliseconds milliseconds of the minimal date
40
+ * @returns an array containing all the dates that should be rendered base on position of x scroll
41
+ */
42
+ export declare function defineVisibleDatesArray(paginationWidth: number, chunkRenderX: number, minimalDateMilliseconds: number): Date[];
43
+ /**
44
+ *
45
+ * @param yPosition current y position in the grid vertical scroll
46
+ * @param cellsHeight height of grid cells
47
+ * @param chunkRenderY extra rendered cells in every column
48
+ * @returns number Y offset
49
+ */
50
+ export declare function defineYOffset(yPosition: number, cellsHeight: number, chunkRenderY: number): number;
51
+ /**
52
+ *
53
+ * @param paginationHeight height of pagination of the vertical axis of the grid
54
+ * @param chunkRenderY extra rendered cells in every column
55
+ * @param offset offset from top of the list
56
+ * @param listElementsIds all ids array
57
+ * @returns Array of the destinies that will be rendered
58
+ */
59
+ export declare function defineListElementsArrayVisibleList(paginationHeight: number, chunkRenderY: number, offset: number, listElementsIds: string[] | number[]): string[] | number[];
60
+ /**
61
+ *
62
+ * @param leftPagination number of cells to the left
63
+ * @param language language object for traductions
64
+ * @returns string of the date, month followed by year
65
+ */
66
+ export declare function defineMonthsArray(leftPagination: number, rightPagination: number, language: languageType): JSX.Element[];
67
+ /**
68
+ *
69
+ * @param holdingClic boolean to know if mouse id down
70
+ * @param xClientPosition position x of the client
71
+ * @param yClientPosition position y of the client
72
+ * @param widthHorizontalBorder horizontal border of activation
73
+ * @param widthVerticalBorder vertical border of activation
74
+ * @param gridRef ref ofthe grid container
75
+ */
76
+ export declare function startAuthomaticScrollInGrid(holdingClic: boolean, xClientPosition: number, yClientPosition: number, widthHorizontalBorder: number, widthVerticalBorder: number, gridRef: React.RefObject<HTMLDivElement>): void;
77
+ /**
78
+ *
79
+ * @param holdingClic boolean to know if mouse id down
80
+ * @param xClientPosition position x of the client
81
+ * @param yClientPosition position y of the client
82
+ * @param widthHorizontalBorder horizontal border of activation
83
+ * @param widthVerticalBorder vertical border of activation
84
+ * @param gridContainer grid container
85
+ */
86
+ export declare function authomaticScrollInGrid(holdingClic: boolean, xClientPosition: number | undefined, yClientPosition: number | undefined, widthHorizontalBorder: number, widthVerticalBorder: number, gridContainer: HTMLDivElement): void;
@@ -1 +1 @@
1
- export { default } from "./Multicalendar";
1
+ export { default } from "./Multicalendar";
@@ -1,5 +1,5 @@
1
- import React from "react";
2
- import "./CellsRow.css";
3
- import { CellsRowsPropsType } from "./types";
4
- declare const CellsRow: ({ listElementId, visibleDatesArray, width, height, cellsWidth, cellsHeight, ReactCellChildren, }: CellsRowsPropsType) => React.JSX.Element;
5
- export default CellsRow;
1
+ import React from "react";
2
+ import "./CellsRow.css";
3
+ import { CellsRowsPropsType } from "./types";
4
+ declare const CellsRow: ({ listElementId, visibleDatesArray, width, height, cellsWidth, cellsHeight, ReactCellChildren, }: CellsRowsPropsType) => React.JSX.Element;
5
+ export default CellsRow;
@@ -1,5 +1,5 @@
1
- import React from "react";
2
- import "./DatesGrid.css";
3
- import { DatesGridPropTypes } from "./types";
4
- declare const DatesGrid: ({ gridWidth, gridHeight, xOffset, yOffset, cellsWidth, cellsHeight, visibleListElementsIdsArray, visibleDates, ReactCellChildren, }: DatesGridPropTypes) => React.JSX.Element;
5
- export default DatesGrid;
1
+ import React from "react";
2
+ import "./DatesGrid.css";
3
+ import { DatesGridPropTypes } from "./types";
4
+ declare const DatesGrid: ({ gridWidth, gridHeight, xOffset, yOffset, cellsWidth, cellsHeight, visibleListElementsIdsArray, visibleDates, ReactCellChildren, }: DatesGridPropTypes) => React.JSX.Element;
5
+ export default DatesGrid;
@@ -1,5 +1,5 @@
1
- import React from "react";
2
- import "./ListElementsColumn.css";
3
- import { ListElementsColumnPropsType } from "./types";
4
- declare const ListElementsColumn: ({ ReactListElementChildren, listHeight, yOffset, elementsHeight, idsArray, }: ListElementsColumnPropsType) => React.JSX.Element;
5
- export default ListElementsColumn;
1
+ import React from "react";
2
+ import "./ListElementsColumn.css";
3
+ import { ListElementsColumnPropsType } from "./types";
4
+ declare const ListElementsColumn: ({ ReactListElementChildren, listHeight, yOffset, elementsHeight, idsArray, }: ListElementsColumnPropsType) => React.JSX.Element;
5
+ export default ListElementsColumn;
@@ -1,5 +1,5 @@
1
- import React from "react";
2
- import "./Cell.css";
3
- import { CellPropsType } from "./types";
4
- declare const _default: React.MemoExoticComponent<({ date, listElementId, width, heigth, ReactCellChildren }: CellPropsType) => React.JSX.Element>;
5
- export default _default;
1
+ import React from "react";
2
+ import "./Cell.css";
3
+ import { CellPropsType } from "./types";
4
+ declare const _default: React.MemoExoticComponent<({ date, listElementId, width, heigth, ReactCellChildren }: CellPropsType) => React.JSX.Element>;
5
+ export default _default;
@@ -1,5 +1,5 @@
1
- import React from "react";
2
- import "./DatesRow.css";
3
- import { DatesRowPropsType } from "./types";
4
- declare const DatesRow: ({ visibleDates, width, height, cellsWidth, cellsHeight, offset, language, }: DatesRowPropsType) => React.JSX.Element;
5
- export default DatesRow;
1
+ import React from "react";
2
+ import "./DatesRow.css";
3
+ import { DatesRowPropsType } from "./types";
4
+ declare const DatesRow: ({ visibleDates, width, height, cellsWidth, cellsHeight, offset, language, }: DatesRowPropsType) => React.JSX.Element;
5
+ export default DatesRow;
@@ -1,5 +1,5 @@
1
- import React from "react";
2
- import "./DropdownMonthNavigation.css";
3
- import { DropdownMonthNavigationPropsType } from "./types";
4
- declare const DropdownMonthNavigation: ({ visibleMonth, visibleYear, onChangeAction, options, }: DropdownMonthNavigationPropsType) => React.JSX.Element;
5
- export default DropdownMonthNavigation;
1
+ import React from "react";
2
+ import "./DropdownMonthNavigation.css";
3
+ import { DropdownMonthNavigationPropsType } from "./types";
4
+ declare const DropdownMonthNavigation: ({ visibleMonth, visibleYear, onChangeAction, options, }: DropdownMonthNavigationPropsType) => React.JSX.Element;
5
+ export default DropdownMonthNavigation;