@adaptabletools/adaptable 10.0.4-canary.3 → 10.0.4-canary.4

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 (268) hide show
  1. package/base.css +169 -48
  2. package/bundle.cjs.js +140 -140
  3. package/index.css +191 -55
  4. package/package.json +3 -3
  5. package/publishTimestamp.d.ts +1 -1
  6. package/publishTimestamp.js +1 -1
  7. package/src/Api/Implementation/ColumnApiImpl.js +5 -5
  8. package/src/Api/Implementation/FilterApiImpl.js +1 -1
  9. package/src/PredefinedConfig/Common/AdaptableScope.d.ts +3 -3
  10. package/src/PredefinedConfig/ShortcutState.d.ts +5 -1
  11. package/src/Utilities/ExpressionFunctions/scalarExpressionFunctions.js +4 -1
  12. package/src/Utilities/ObjectFactory.d.ts +1 -1
  13. package/src/Utilities/ObjectFactory.js +11 -11
  14. package/src/View/AdaptableView.js +3 -3
  15. package/src/View/Components/FilterForm/FilterForm.js +4 -1
  16. package/src/View/Components/Popups/AdaptableToaster.js +6 -6
  17. package/src/View/License/LicenseWatermark.js +4 -0
  18. package/src/agGrid/Adaptable.d.ts +1 -1
  19. package/src/agGrid/Adaptable.js +22 -19
  20. package/src/components/Datepicker/Caption.d.ts +1 -1
  21. package/src/components/Datepicker/Caption.js +1 -4
  22. package/src/components/Datepicker/CaptionLabel.d.ts +1 -1
  23. package/src/components/Datepicker/CaptionLabel.js +1 -4
  24. package/src/components/Datepicker/index.js +1 -4
  25. package/src/metamodel/adaptable.metamodel.d.ts +7 -9
  26. package/src/metamodel/adaptable.metamodel.js +7 -3
  27. package/src/types.d.ts +1 -1
  28. package/version.d.ts +1 -1
  29. package/version.js +1 -1
  30. package/src/bundle-dependencies/bundles/react-day-picker/DayPicker.d.ts +0 -88
  31. package/src/bundle-dependencies/bundles/react-day-picker/DayPicker.test.d.ts +0 -0
  32. package/src/bundle-dependencies/bundles/react-day-picker/components/Button/Button.d.ts +0 -6
  33. package/src/bundle-dependencies/bundles/react-day-picker/components/Button/Button.test.d.ts +0 -1
  34. package/src/bundle-dependencies/bundles/react-day-picker/components/Button/ButtonProps.d.ts +0 -3
  35. package/src/bundle-dependencies/bundles/react-day-picker/components/Button/index.d.ts +0 -1
  36. package/src/bundle-dependencies/bundles/react-day-picker/components/Caption/Caption.d.ts +0 -7
  37. package/src/bundle-dependencies/bundles/react-day-picker/components/Caption/Caption.test.d.ts +0 -1
  38. package/src/bundle-dependencies/bundles/react-day-picker/components/Caption/CaptionProps.d.ts +0 -5
  39. package/src/bundle-dependencies/bundles/react-day-picker/components/Caption/index.d.ts +0 -2
  40. package/src/bundle-dependencies/bundles/react-day-picker/components/CaptionLabel/CaptionLabel.d.ts +0 -4
  41. package/src/bundle-dependencies/bundles/react-day-picker/components/CaptionLabel/CaptionLabel.test.d.ts +0 -1
  42. package/src/bundle-dependencies/bundles/react-day-picker/components/CaptionLabel/CaptionLabelProps.d.ts +0 -5
  43. package/src/bundle-dependencies/bundles/react-day-picker/components/CaptionLabel/index.d.ts +0 -2
  44. package/src/bundle-dependencies/bundles/react-day-picker/components/Day/Day.d.ts +0 -7
  45. package/src/bundle-dependencies/bundles/react-day-picker/components/Day/Day.test.d.ts +0 -0
  46. package/src/bundle-dependencies/bundles/react-day-picker/components/Day/DayProps.d.ts +0 -7
  47. package/src/bundle-dependencies/bundles/react-day-picker/components/Day/hooks/index.d.ts +0 -1
  48. package/src/bundle-dependencies/bundles/react-day-picker/components/Day/hooks/useDay.d.ts +0 -51
  49. package/src/bundle-dependencies/bundles/react-day-picker/components/Day/hooks/useDayFocus.d.ts +0 -8
  50. package/src/bundle-dependencies/bundles/react-day-picker/components/Day/index.d.ts +0 -3
  51. package/src/bundle-dependencies/bundles/react-day-picker/components/DayContent/DayContent.d.ts +0 -6
  52. package/src/bundle-dependencies/bundles/react-day-picker/components/DayContent/DayContent.test.d.ts +0 -0
  53. package/src/bundle-dependencies/bundles/react-day-picker/components/DayContent/DayContentProps.d.ts +0 -10
  54. package/src/bundle-dependencies/bundles/react-day-picker/components/DayContent/index.d.ts +0 -2
  55. package/src/bundle-dependencies/bundles/react-day-picker/components/Dropdown/Dropdown.d.ts +0 -7
  56. package/src/bundle-dependencies/bundles/react-day-picker/components/Dropdown/Dropdown.test.d.ts +0 -0
  57. package/src/bundle-dependencies/bundles/react-day-picker/components/Dropdown/DropdownProps.d.ts +0 -10
  58. package/src/bundle-dependencies/bundles/react-day-picker/components/Dropdown/index.d.ts +0 -2
  59. package/src/bundle-dependencies/bundles/react-day-picker/components/Footer/Footer.d.ts +0 -3
  60. package/src/bundle-dependencies/bundles/react-day-picker/components/Footer/Footer.test.d.ts +0 -1
  61. package/src/bundle-dependencies/bundles/react-day-picker/components/Footer/index.d.ts +0 -1
  62. package/src/bundle-dependencies/bundles/react-day-picker/components/Head/Head.d.ts +0 -5
  63. package/src/bundle-dependencies/bundles/react-day-picker/components/Head/Head.test.d.ts +0 -0
  64. package/src/bundle-dependencies/bundles/react-day-picker/components/Head/index.d.ts +0 -1
  65. package/src/bundle-dependencies/bundles/react-day-picker/components/Head/utils/getWeekdays.d.ts +0 -6
  66. package/src/bundle-dependencies/bundles/react-day-picker/components/Head/utils/getWeekdays.test.d.ts +0 -0
  67. package/src/bundle-dependencies/bundles/react-day-picker/components/Head/utils/index.d.ts +0 -1
  68. package/src/bundle-dependencies/bundles/react-day-picker/components/IconDropdown/IconDropdown.d.ts +0 -6
  69. package/src/bundle-dependencies/bundles/react-day-picker/components/IconDropdown/IconDropdown.test.d.ts +0 -1
  70. package/src/bundle-dependencies/bundles/react-day-picker/components/IconDropdown/index.d.ts +0 -1
  71. package/src/bundle-dependencies/bundles/react-day-picker/components/IconNext/IconNext.d.ts +0 -6
  72. package/src/bundle-dependencies/bundles/react-day-picker/components/IconNext/IconNext.test.d.ts +0 -1
  73. package/src/bundle-dependencies/bundles/react-day-picker/components/IconNext/index.d.ts +0 -1
  74. package/src/bundle-dependencies/bundles/react-day-picker/components/IconPrevious/IconPrevious.d.ts +0 -6
  75. package/src/bundle-dependencies/bundles/react-day-picker/components/IconPrevious/IconPrevious.test.d.ts +0 -1
  76. package/src/bundle-dependencies/bundles/react-day-picker/components/IconPrevious/index.d.ts +0 -1
  77. package/src/bundle-dependencies/bundles/react-day-picker/components/MonthsDropdown/MonthsDropdown.d.ts +0 -6
  78. package/src/bundle-dependencies/bundles/react-day-picker/components/MonthsDropdown/MonthsDropdownProps.d.ts +0 -7
  79. package/src/bundle-dependencies/bundles/react-day-picker/components/MonthsDropdown/index.d.ts +0 -2
  80. package/src/bundle-dependencies/bundles/react-day-picker/components/Navigation/Navigation.d.ts +0 -4
  81. package/src/bundle-dependencies/bundles/react-day-picker/components/Navigation/NavigationProps.d.ts +0 -18
  82. package/src/bundle-dependencies/bundles/react-day-picker/components/Navigation/index.d.ts +0 -2
  83. package/src/bundle-dependencies/bundles/react-day-picker/components/Root/Root.d.ts +0 -6
  84. package/src/bundle-dependencies/bundles/react-day-picker/components/Root/index.d.ts +0 -1
  85. package/src/bundle-dependencies/bundles/react-day-picker/components/Row/Row.d.ts +0 -6
  86. package/src/bundle-dependencies/bundles/react-day-picker/components/Row/RowProps.d.ts +0 -11
  87. package/src/bundle-dependencies/bundles/react-day-picker/components/Row/index.d.ts +0 -2
  88. package/src/bundle-dependencies/bundles/react-day-picker/components/Table/Table.d.ts +0 -12
  89. package/src/bundle-dependencies/bundles/react-day-picker/components/Table/index.d.ts +0 -1
  90. package/src/bundle-dependencies/bundles/react-day-picker/components/Table/utils/getOutsideEndDays.d.ts +0 -3
  91. package/src/bundle-dependencies/bundles/react-day-picker/components/Table/utils/getOutsideStartDays.d.ts +0 -4
  92. package/src/bundle-dependencies/bundles/react-day-picker/components/Table/utils/getWeeks.d.ts +0 -15
  93. package/src/bundle-dependencies/bundles/react-day-picker/components/WeekNumber/WeekNumber.d.ts +0 -15
  94. package/src/bundle-dependencies/bundles/react-day-picker/components/WeekNumber/index.d.ts +0 -1
  95. package/src/bundle-dependencies/bundles/react-day-picker/components/YearsDropdown/YearsDropdown.d.ts +0 -16
  96. package/src/bundle-dependencies/bundles/react-day-picker/components/YearsDropdown/index.d.ts +0 -1
  97. package/src/bundle-dependencies/bundles/react-day-picker/components/index.d.ts +0 -18
  98. package/src/bundle-dependencies/bundles/react-day-picker/contexts/ContextProvider.d.ts +0 -8
  99. package/src/bundle-dependencies/bundles/react-day-picker/contexts/DayPickerContext/DayPickerContext.d.ts +0 -78
  100. package/src/bundle-dependencies/bundles/react-day-picker/contexts/DayPickerContext/DayPickerContextValue.d.ts +0 -20
  101. package/src/bundle-dependencies/bundles/react-day-picker/contexts/DayPickerContext/DayPickerProvider.d.ts +0 -12
  102. package/src/bundle-dependencies/bundles/react-day-picker/contexts/DayPickerContext/defaultClassNames.d.ts +0 -5
  103. package/src/bundle-dependencies/bundles/react-day-picker/contexts/DayPickerContext/formatters/formatCaption.d.ts +0 -7
  104. package/src/bundle-dependencies/bundles/react-day-picker/contexts/DayPickerContext/formatters/formatDay.d.ts +0 -7
  105. package/src/bundle-dependencies/bundles/react-day-picker/contexts/DayPickerContext/formatters/formatMonthCaption.d.ts +0 -7
  106. package/src/bundle-dependencies/bundles/react-day-picker/contexts/DayPickerContext/formatters/formatWeekNumber.d.ts +0 -4
  107. package/src/bundle-dependencies/bundles/react-day-picker/contexts/DayPickerContext/formatters/formatWeekdayName.d.ts +0 -7
  108. package/src/bundle-dependencies/bundles/react-day-picker/contexts/DayPickerContext/formatters/formatYearCaption.d.ts +0 -6
  109. package/src/bundle-dependencies/bundles/react-day-picker/contexts/DayPickerContext/formatters/index.d.ts +0 -6
  110. package/src/bundle-dependencies/bundles/react-day-picker/contexts/DayPickerContext/index.d.ts +0 -5
  111. package/src/bundle-dependencies/bundles/react-day-picker/contexts/DayPickerContext/labels/index.d.ts +0 -7
  112. package/src/bundle-dependencies/bundles/react-day-picker/contexts/DayPickerContext/labels/labelDay.d.ts +0 -5
  113. package/src/bundle-dependencies/bundles/react-day-picker/contexts/DayPickerContext/labels/labelMonthDropdown.d.ts +0 -4
  114. package/src/bundle-dependencies/bundles/react-day-picker/contexts/DayPickerContext/labels/labelNext.d.ts +0 -5
  115. package/src/bundle-dependencies/bundles/react-day-picker/contexts/DayPickerContext/labels/labelPrevious.d.ts +0 -5
  116. package/src/bundle-dependencies/bundles/react-day-picker/contexts/DayPickerContext/labels/labelWeekNumber.d.ts +0 -5
  117. package/src/bundle-dependencies/bundles/react-day-picker/contexts/DayPickerContext/labels/labelWeekday.d.ts +0 -5
  118. package/src/bundle-dependencies/bundles/react-day-picker/contexts/DayPickerContext/labels/labelYearDropdown.d.ts +0 -4
  119. package/src/bundle-dependencies/bundles/react-day-picker/contexts/DayPickerContext/useDayPicker.d.ts +0 -8
  120. package/src/bundle-dependencies/bundles/react-day-picker/contexts/DayPickerContext/utils/index.d.ts +0 -2
  121. package/src/bundle-dependencies/bundles/react-day-picker/contexts/DayPickerContext/utils/parseFromToProps.d.ts +0 -9
  122. package/src/bundle-dependencies/bundles/react-day-picker/contexts/DayPickerContext/utils/parseModifierProps.d.ts +0 -9
  123. package/src/bundle-dependencies/bundles/react-day-picker/contexts/FocusContext/FocusContext.d.ts +0 -8
  124. package/src/bundle-dependencies/bundles/react-day-picker/contexts/FocusContext/FocusContextValue.d.ts +0 -19
  125. package/src/bundle-dependencies/bundles/react-day-picker/contexts/FocusContext/FocusProvider.d.ts +0 -5
  126. package/src/bundle-dependencies/bundles/react-day-picker/contexts/FocusContext/index.d.ts +0 -4
  127. package/src/bundle-dependencies/bundles/react-day-picker/contexts/FocusContext/useFocus.d.ts +0 -3
  128. package/src/bundle-dependencies/bundles/react-day-picker/contexts/NavigationContext/NavigationContext.d.ts +0 -8
  129. package/src/bundle-dependencies/bundles/react-day-picker/contexts/NavigationContext/NavigationContextValue.d.ts +0 -13
  130. package/src/bundle-dependencies/bundles/react-day-picker/contexts/NavigationContext/NavigationProvider.d.ts +0 -5
  131. package/src/bundle-dependencies/bundles/react-day-picker/contexts/NavigationContext/index.d.ts +0 -4
  132. package/src/bundle-dependencies/bundles/react-day-picker/contexts/NavigationContext/useNavigation.d.ts +0 -3
  133. package/src/bundle-dependencies/bundles/react-day-picker/contexts/NavigationContext/useNavigationState.d.ts +0 -7
  134. package/src/bundle-dependencies/bundles/react-day-picker/contexts/NavigationContext/utils/getDisplayMonths.d.ts +0 -8
  135. package/src/bundle-dependencies/bundles/react-day-picker/contexts/NavigationContext/utils/getInitialMonth.d.ts +0 -3
  136. package/src/bundle-dependencies/bundles/react-day-picker/contexts/NavigationContext/utils/getInitialMonth.test.d.ts +0 -1
  137. package/src/bundle-dependencies/bundles/react-day-picker/contexts/NavigationContext/utils/getNextMonth.d.ts +0 -18
  138. package/src/bundle-dependencies/bundles/react-day-picker/contexts/NavigationContext/utils/getNextMonth.test.d.ts +0 -1
  139. package/src/bundle-dependencies/bundles/react-day-picker/contexts/NavigationContext/utils/getPreviousMonth.d.ts +0 -19
  140. package/src/bundle-dependencies/bundles/react-day-picker/contexts/NavigationContext/utils/getPreviousMonth.test.d.ts +0 -1
  141. package/src/bundle-dependencies/bundles/react-day-picker/contexts/SelectMultipleContext/SelectMultipleContext.d.ts +0 -9
  142. package/src/bundle-dependencies/bundles/react-day-picker/contexts/SelectMultipleContext/SelectMultipleContextValue.d.ts +0 -13
  143. package/src/bundle-dependencies/bundles/react-day-picker/contexts/SelectMultipleContext/SelectMultipleModifiers.d.ts +0 -3
  144. package/src/bundle-dependencies/bundles/react-day-picker/contexts/SelectMultipleContext/SelectMultipleProvider.d.ts +0 -7
  145. package/src/bundle-dependencies/bundles/react-day-picker/contexts/SelectMultipleContext/index.d.ts +0 -5
  146. package/src/bundle-dependencies/bundles/react-day-picker/contexts/SelectMultipleContext/useSelectMultiple.d.ts +0 -3
  147. package/src/bundle-dependencies/bundles/react-day-picker/contexts/SelectRangeContext/SelectRangeContext.d.ts +0 -9
  148. package/src/bundle-dependencies/bundles/react-day-picker/contexts/SelectRangeContext/SelectRangeContextValue.d.ts +0 -13
  149. package/src/bundle-dependencies/bundles/react-day-picker/contexts/SelectRangeContext/SelectRangeModifiers.d.ts +0 -3
  150. package/src/bundle-dependencies/bundles/react-day-picker/contexts/SelectRangeContext/SelectRangeProvider.d.ts +0 -7
  151. package/src/bundle-dependencies/bundles/react-day-picker/contexts/SelectRangeContext/index.d.ts +0 -5
  152. package/src/bundle-dependencies/bundles/react-day-picker/contexts/SelectRangeContext/useSelectRange.d.ts +0 -3
  153. package/src/bundle-dependencies/bundles/react-day-picker/contexts/SelectRangeContext/utils/addToRange.d.ts +0 -8
  154. package/src/bundle-dependencies/bundles/react-day-picker/contexts/SelectSingleContext/SelectSingleContext.d.ts +0 -9
  155. package/src/bundle-dependencies/bundles/react-day-picker/contexts/SelectSingleContext/SelectSingleContextValue.d.ts +0 -11
  156. package/src/bundle-dependencies/bundles/react-day-picker/contexts/SelectSingleContext/SelectSingleModifiers.d.ts +0 -3
  157. package/src/bundle-dependencies/bundles/react-day-picker/contexts/SelectSingleContext/SelectSingleProvider.d.ts +0 -7
  158. package/src/bundle-dependencies/bundles/react-day-picker/contexts/SelectSingleContext/index.d.ts +0 -5
  159. package/src/bundle-dependencies/bundles/react-day-picker/contexts/SelectSingleContext/useSelectSingle.d.ts +0 -3
  160. package/src/bundle-dependencies/bundles/react-day-picker/contexts/index.d.ts +0 -7
  161. package/src/bundle-dependencies/bundles/react-day-picker/hooks/index.d.ts +0 -2
  162. package/src/bundle-dependencies/bundles/react-day-picker/hooks/useInput/index.d.ts +0 -2
  163. package/src/bundle-dependencies/bundles/react-day-picker/hooks/useInput/types/UseInput.d.ts +0 -12
  164. package/src/bundle-dependencies/bundles/react-day-picker/hooks/useInput/types/UseInputDayPickerProps.d.ts +0 -14
  165. package/src/bundle-dependencies/bundles/react-day-picker/hooks/useInput/types/UseInputFieldProps.d.ts +0 -12
  166. package/src/bundle-dependencies/bundles/react-day-picker/hooks/useInput/types/UseInputOptions.d.ts +0 -35
  167. package/src/bundle-dependencies/bundles/react-day-picker/hooks/useInput/types/index.d.ts +0 -4
  168. package/src/bundle-dependencies/bundles/react-day-picker/hooks/useInput/useInput.d.ts +0 -4
  169. package/src/bundle-dependencies/bundles/react-day-picker/hooks/useInput/utils/isValidDate.d.ts +0 -2
  170. package/src/bundle-dependencies/bundles/react-day-picker/hooks/useModifiers/index.d.ts +0 -1
  171. package/src/bundle-dependencies/bundles/react-day-picker/hooks/useModifiers/types/UseModifiers.d.ts +0 -10
  172. package/src/bundle-dependencies/bundles/react-day-picker/hooks/useModifiers/types/index.d.ts +0 -1
  173. package/src/bundle-dependencies/bundles/react-day-picker/hooks/useModifiers/useModifiers.d.ts +0 -3
  174. package/src/bundle-dependencies/bundles/react-day-picker/hooks/useModifiers/utils/getModifierStatus.d.ts +0 -7
  175. package/src/bundle-dependencies/bundles/react-day-picker/hooks/useModifiers/utils/isDateInRange.d.ts +0 -3
  176. package/src/bundle-dependencies/bundles/react-day-picker/hooks/useModifiers/utils/isMatch.d.ts +0 -5
  177. package/src/bundle-dependencies/bundles/react-day-picker/index.d.ts +0 -5
  178. package/src/bundle-dependencies/bundles/react-day-picker/index.js +0 -1
  179. package/src/bundle-dependencies/bundles/react-day-picker/types/CaptionLayout.d.ts +0 -7
  180. package/src/bundle-dependencies/bundles/react-day-picker/types/ClassNames.d.ts +0 -3
  181. package/src/bundle-dependencies/bundles/react-day-picker/types/Components.d.ts +0 -33
  182. package/src/bundle-dependencies/bundles/react-day-picker/types/CustomModifiers.d.ts +0 -4
  183. package/src/bundle-dependencies/bundles/react-day-picker/types/DateAfter.d.ts +0 -7
  184. package/src/bundle-dependencies/bundles/react-day-picker/types/DateBefore.d.ts +0 -7
  185. package/src/bundle-dependencies/bundles/react-day-picker/types/DateFormatter.d.ts +0 -6
  186. package/src/bundle-dependencies/bundles/react-day-picker/types/DateInterval.d.ts +0 -8
  187. package/src/bundle-dependencies/bundles/react-day-picker/types/DateRange.d.ts +0 -8
  188. package/src/bundle-dependencies/bundles/react-day-picker/types/DayClickEventHandler.d.ts +0 -6
  189. package/src/bundle-dependencies/bundles/react-day-picker/types/DayFocusEventHandler.d.ts +0 -6
  190. package/src/bundle-dependencies/bundles/react-day-picker/types/DayKeyboardEventHandler.d.ts +0 -6
  191. package/src/bundle-dependencies/bundles/react-day-picker/types/DayLabelFormatter.d.ts +0 -7
  192. package/src/bundle-dependencies/bundles/react-day-picker/types/DayMouseEventHandler.d.ts +0 -6
  193. package/src/bundle-dependencies/bundles/react-day-picker/types/DayOfWeekMatcher.d.ts +0 -7
  194. package/src/bundle-dependencies/bundles/react-day-picker/types/DayPickerBase.d.ts +0 -239
  195. package/src/bundle-dependencies/bundles/react-day-picker/types/DayPickerMultiple.d.ts +0 -15
  196. package/src/bundle-dependencies/bundles/react-day-picker/types/DayPickerProps.d.ts +0 -9
  197. package/src/bundle-dependencies/bundles/react-day-picker/types/DayPickerRange.d.ts +0 -16
  198. package/src/bundle-dependencies/bundles/react-day-picker/types/DayPickerSingle.d.ts +0 -13
  199. package/src/bundle-dependencies/bundles/react-day-picker/types/DayPickerUncontrolled.d.ts +0 -7
  200. package/src/bundle-dependencies/bundles/react-day-picker/types/DayTouchEventHandler.d.ts +0 -6
  201. package/src/bundle-dependencies/bundles/react-day-picker/types/Formatters.d.ts +0 -19
  202. package/src/bundle-dependencies/bundles/react-day-picker/types/InternalModifier.d.ts +0 -2
  203. package/src/bundle-dependencies/bundles/react-day-picker/types/Labels.d.ts +0 -17
  204. package/src/bundle-dependencies/bundles/react-day-picker/types/Matcher.d.ts +0 -10
  205. package/src/bundle-dependencies/bundles/react-day-picker/types/Modifier.d.ts +0 -5
  206. package/src/bundle-dependencies/bundles/react-day-picker/types/ModifierClassNames.d.ts +0 -5
  207. package/src/bundle-dependencies/bundles/react-day-picker/types/ModifierStatus.d.ts +0 -5
  208. package/src/bundle-dependencies/bundles/react-day-picker/types/ModifierStyles.d.ts +0 -4
  209. package/src/bundle-dependencies/bundles/react-day-picker/types/Modifiers.d.ts +0 -5
  210. package/src/bundle-dependencies/bundles/react-day-picker/types/MonthChangeEventHandler.d.ts +0 -4
  211. package/src/bundle-dependencies/bundles/react-day-picker/types/NavButtonLabelFormatter.d.ts +0 -7
  212. package/src/bundle-dependencies/bundles/react-day-picker/types/SelectMultipleEventHandler.d.ts +0 -12
  213. package/src/bundle-dependencies/bundles/react-day-picker/types/SelectRangeEventHandler.d.ts +0 -10
  214. package/src/bundle-dependencies/bundles/react-day-picker/types/SelectSingleEventHandler.d.ts +0 -12
  215. package/src/bundle-dependencies/bundles/react-day-picker/types/StyledComponentProps.d.ts +0 -10
  216. package/src/bundle-dependencies/bundles/react-day-picker/types/StyledElement.d.ts +0 -76
  217. package/src/bundle-dependencies/bundles/react-day-picker/types/Styles.d.ts +0 -4
  218. package/src/bundle-dependencies/bundles/react-day-picker/types/WeekNumberClickEventHandler.d.ts +0 -9
  219. package/src/bundle-dependencies/bundles/react-day-picker/types/WeekNumberFormatter.d.ts +0 -6
  220. package/src/bundle-dependencies/bundles/react-day-picker/types/WeekNumberLabelFormatter.d.ts +0 -5
  221. package/src/bundle-dependencies/bundles/react-day-picker/types/WeekdayLabelFormatter.d.ts +0 -4
  222. package/src/bundle-dependencies/bundles/react-day-picker/types/index.d.ts +0 -54
  223. package/src/bundle-dependencies/bundles/react-day-picker/types/isArrayOfDates.d.ts +0 -2
  224. package/src/bundle-dependencies/bundles/react-day-picker/types/isDateAfterType.d.ts +0 -3
  225. package/src/bundle-dependencies/bundles/react-day-picker/types/isDateBeforeType.d.ts +0 -3
  226. package/src/bundle-dependencies/bundles/react-day-picker/types/isDateInterval.d.ts +0 -3
  227. package/src/bundle-dependencies/bundles/react-day-picker/types/isDateRange.d.ts +0 -3
  228. package/src/bundle-dependencies/bundles/react-day-picker/types/isDateType.d.ts +0 -2
  229. package/src/bundle-dependencies/bundles/react-day-picker/types/isDayOfWeekType.d.ts +0 -3
  230. package/src/bundle-dependencies/bundles/react-day-picker/types/isDayPickerMultiple.d.ts +0 -4
  231. package/src/bundle-dependencies/bundles/react-day-picker/types/isDayPickerRange.d.ts +0 -4
  232. package/src/bundle-dependencies/bundles/react-day-picker/types/isDayPickerSingle.d.ts +0 -4
  233. package/src/bundle-dependencies/bundles/react-day-picker/types/isDayPickerUncontrolled.d.ts +0 -4
  234. package/src/bundle-dependencies/bundles/react-toastify/components/CloseButton.d.ts +0 -8
  235. package/src/bundle-dependencies/bundles/react-toastify/components/ProgressBar.d.ts +0 -55
  236. package/src/bundle-dependencies/bundles/react-toastify/components/Toast.d.ts +0 -3
  237. package/src/bundle-dependencies/bundles/react-toastify/components/ToastContainer.d.ts +0 -3
  238. package/src/bundle-dependencies/bundles/react-toastify/components/Transitions.d.ts +0 -5
  239. package/src/bundle-dependencies/bundles/react-toastify/components/index.d.ts +0 -5
  240. package/src/bundle-dependencies/bundles/react-toastify/core/eventManager.d.ts +0 -39
  241. package/src/bundle-dependencies/bundles/react-toastify/core/index.d.ts +0 -2
  242. package/src/bundle-dependencies/bundles/react-toastify/core/toast.d.ts +0 -55
  243. package/src/bundle-dependencies/bundles/react-toastify/hooks/index.d.ts +0 -3
  244. package/src/bundle-dependencies/bundles/react-toastify/hooks/toastContainerReducer.d.ts +0 -15
  245. package/src/bundle-dependencies/bundles/react-toastify/hooks/useKeeper.d.ts +0 -7
  246. package/src/bundle-dependencies/bundles/react-toastify/hooks/useToast.d.ts +0 -10
  247. package/src/bundle-dependencies/bundles/react-toastify/hooks/useToastContainer.d.ts +0 -16
  248. package/src/bundle-dependencies/bundles/react-toastify/index.d.ts +0 -5
  249. package/src/bundle-dependencies/bundles/react-toastify/index.js +0 -1
  250. package/src/bundle-dependencies/bundles/react-toastify/inject-style.d.ts +0 -8
  251. package/src/bundle-dependencies/bundles/react-toastify/test/components/CloseButton.test.d.ts +0 -1
  252. package/src/bundle-dependencies/bundles/react-toastify/test/components/ProgressBar.test.d.ts +0 -1
  253. package/src/bundle-dependencies/bundles/react-toastify/test/components/Toast.test.d.ts +0 -1
  254. package/src/bundle-dependencies/bundles/react-toastify/test/components/ToastContainer.test.d.ts +0 -1
  255. package/src/bundle-dependencies/bundles/react-toastify/test/core/eventManager.test.d.ts +0 -1
  256. package/src/bundle-dependencies/bundles/react-toastify/test/core/toast.test.d.ts +0 -1
  257. package/src/bundle-dependencies/bundles/react-toastify/test/helpers.d.ts +0 -9
  258. package/src/bundle-dependencies/bundles/react-toastify/test/utils/collapseToast.test.d.ts +0 -1
  259. package/src/bundle-dependencies/bundles/react-toastify/test/utils/cssTransition.test.d.ts +0 -1
  260. package/src/bundle-dependencies/bundles/react-toastify/test/utils/propValidator.test.d.ts +0 -1
  261. package/src/bundle-dependencies/bundles/react-toastify/types/index.d.ts +0 -240
  262. package/src/bundle-dependencies/bundles/react-toastify/utils/collapseToast.d.ts +0 -5
  263. package/src/bundle-dependencies/bundles/react-toastify/utils/constant.d.ts +0 -20
  264. package/src/bundle-dependencies/bundles/react-toastify/utils/cssTransition.d.ts +0 -42
  265. package/src/bundle-dependencies/bundles/react-toastify/utils/index.d.ts +0 -4
  266. package/src/bundle-dependencies/bundles/react-toastify/utils/propValidator.d.ts +0 -10
  267. package/src/components/Toastify/index.d.ts +0 -3
  268. package/src/components/Toastify/index.js +0 -10
@@ -157,7 +157,7 @@ export declare class Adaptable implements IAdaptable {
157
157
  [key: string]: boolean;
158
158
  }): GridCell[];
159
159
  private addDistinctColumnValue;
160
- private shouldUseRawValueForColumn;
160
+ private isInternallyRenderedColumn;
161
161
  getDisplayValue(id: any, columnId: string): string | undefined;
162
162
  getGridCellFromRowNode(rowNode: RowNode, columnId: string): GridCell | undefined;
163
163
  getDisplayValueFromRowNode(row: RowNode, columnId: string): string | undefined;
@@ -1485,7 +1485,7 @@ class Adaptable {
1485
1485
  });
1486
1486
  }
1487
1487
  }
1488
- const uniqueVals = uniqBy_1.default(returnValues, 'displayValue');
1488
+ const uniqueVals = uniqBy_1.default(returnValues, 'rawValue');
1489
1489
  return uniqueVals.slice(0, this.adaptableOptions.filterOptions.maxFilterValuesToDisplay);
1490
1490
  }
1491
1491
  async getDistinctFilterValuesForColumn(column, visibleRowsOnly, filter, skipRowNode) {
@@ -1563,8 +1563,7 @@ class Adaptable {
1563
1563
  else {
1564
1564
  permittedMap = null;
1565
1565
  }
1566
- const useRawValue = this.shouldUseRawValueForColumn(abColumn);
1567
- const eachFn = (rowNode, columnId, useRawValue) => {
1566
+ const eachFn = (rowNode, columnId) => {
1568
1567
  if (rowNode && !this.isGroupRowNode(rowNode)) {
1569
1568
  const gridCell = this.getGridCellFromRowNode(rowNode, columnId);
1570
1569
  let allowed = !permittedMap || permittedMap.has(gridCell.displayValue);
@@ -1579,12 +1578,12 @@ class Adaptable {
1579
1578
  };
1580
1579
  if (visibleRowsOnly) {
1581
1580
  this.gridOptions.api.forEachNodeAfterFilter((rowNode) => {
1582
- eachFn(rowNode, columnId, useRawValue);
1581
+ eachFn(rowNode, columnId);
1583
1582
  });
1584
1583
  }
1585
1584
  else {
1586
1585
  this.gridOptions.api.forEachNode((rowNode) => {
1587
- eachFn(rowNode, columnId, useRawValue);
1586
+ eachFn(rowNode, columnId);
1588
1587
  });
1589
1588
  }
1590
1589
  return returnArray.slice(0, this.adaptableOptions.filterOptions.maxFilterValuesToDisplay);
@@ -1602,16 +1601,19 @@ class Adaptable {
1602
1601
  return undefined;
1603
1602
  }
1604
1603
  }
1605
- shouldUseRawValueForColumn(column) {
1604
+ isInternallyRenderedColumn(column) {
1606
1605
  // we need to return false if the column has a cell rendeerer i think...
1607
1606
  const colDef = this.gridOptions.api.getColumnDef(column.columnId);
1608
1607
  if (colDef && colDef.cellRenderer != null) {
1609
- return true;
1608
+ return false;
1610
1609
  }
1611
1610
  if (this.api.columnApi.isFormatNumericStyleColumn(column)) {
1612
- return true;
1611
+ return false;
1613
1612
  }
1614
- return false;
1613
+ if (this.api.columnApi.isBooleanColumn(column)) {
1614
+ return false;
1615
+ }
1616
+ return true;
1615
1617
  }
1616
1618
  getDisplayValue(id, columnId) {
1617
1619
  let returnValue;
@@ -1640,11 +1642,11 @@ class Adaptable {
1640
1642
  if (rowNode == null) {
1641
1643
  return undefined;
1642
1644
  }
1645
+ const abColumn = this.api.columnApi.getColumnFromId(columnId);
1643
1646
  const pkValue = this.getPrimaryKeyValueFromRowNode(rowNode);
1644
1647
  const rawValue = this.getRawValueFromRowNode(rowNode, columnId);
1645
1648
  const displayValue = this.getDisplayValueFromRawValue(columnId, rawValue);
1646
- const normalisedvalue = this.getNormalisedValueFromRowValue(rawValue, columnId);
1647
- const abColumn = this.api.columnApi.getColumnFromId(columnId);
1649
+ const normalisedvalue = this.getNormalisedValueFromRowValue(rawValue, displayValue, abColumn);
1648
1650
  return {
1649
1651
  rawValue: rawValue,
1650
1652
  displayValue: displayValue,
@@ -1707,24 +1709,25 @@ class Adaptable {
1707
1709
  };
1708
1710
  return formatterFn(params);
1709
1711
  }
1710
- getNormalisedValueFromRowValue(rawValue, columnId) {
1711
- if (rawValue === undefined || rawValue === null) {
1712
+ getNormalisedValueFromRowValue(rawValue, displayValue, column) {
1713
+ const returnValue = this.isInternallyRenderedColumn(column) ? displayValue : rawValue;
1714
+ if (returnValue === undefined || returnValue === null) {
1712
1715
  return rawValue;
1713
1716
  }
1714
- const dataType = this.api.columnApi.getColumnDataTypeFromColumnId(columnId);
1717
+ const dataType = column.dataType;
1715
1718
  if (dataType === 'String') {
1716
- return typeof rawValue !== 'string' ? String(rawValue) : rawValue;
1719
+ return typeof rawValue !== 'string' ? String(rawValue) : returnValue;
1717
1720
  }
1718
1721
  if (dataType === 'Number') {
1719
- return typeof rawValue !== 'number' ? Number(rawValue) : rawValue;
1722
+ return typeof rawValue !== 'number' ? Number(rawValue) : returnValue;
1720
1723
  }
1721
1724
  if (dataType === 'Boolean') {
1722
- return typeof rawValue !== 'boolean' ? Boolean(rawValue) : rawValue;
1725
+ return typeof rawValue !== 'boolean' ? Boolean(rawValue) : returnValue;
1723
1726
  }
1724
1727
  if (dataType === 'Date') {
1725
- return rawValue instanceof Date ? rawValue : new Date(rawValue);
1728
+ return rawValue instanceof Date ? returnValue : new Date(rawValue);
1726
1729
  }
1727
- return rawValue;
1730
+ return returnValue;
1728
1731
  }
1729
1732
  getRawValueFromRowNode(rowNode, columnId) {
1730
1733
  return this.gridOptions.api.getValue(columnId, rowNode);
@@ -1,5 +1,5 @@
1
1
  /// <reference types="react" />
2
- import { CaptionProps } from '../../bundle-dependencies/bundles/react-day-picker';
2
+ import { CaptionProps } from 'react-day-picker';
3
3
  /**
4
4
  * Render the caption of a month, which includes title and navigation buttons.
5
5
  * The caption has a different layout when setting the `numberOfMonths` prop.
@@ -5,11 +5,8 @@ const tslib_1 = require("tslib");
5
5
  const React = tslib_1.__importStar(require("react"));
6
6
  const isSameMonth_1 = tslib_1.__importDefault(require("date-fns/isSameMonth"));
7
7
  const add_1 = tslib_1.__importDefault(require("date-fns/add"));
8
- // because stencil doesn't correctly pick up commonjs at runtime (https://adaptabletools.zendesk.com/agent/tickets/320),
9
- // and in order to avoid webpack 5 bug (https://github.com/AdaptableTools/adaptable/commit/c66712782f243c515630d57e58e0848a7346cf33)
10
- // we have to use a bundle and fix the issue once and for all
11
- const react_day_picker_1 = require("../../bundle-dependencies/bundles/react-day-picker");
12
8
  const CaptionLabel_1 = require("./CaptionLabel");
9
+ const react_day_picker_1 = require("react-day-picker");
13
10
  /**
14
11
  * Render the caption of a month, which includes title and navigation buttons.
15
12
  * The caption has a different layout when setting the `numberOfMonths` prop.
@@ -1,5 +1,5 @@
1
1
  /// <reference types="react" />
2
- import { CaptionLabelProps } from '../../bundle-dependencies/bundles/react-day-picker';
2
+ import { CaptionLabelProps } from 'react-day-picker';
3
3
  export declare function CaptionLabel(props: CaptionLabelProps & {
4
4
  onPreviousYearClick?: VoidFunction;
5
5
  onPreviousMonthClick?: VoidFunction;
@@ -3,14 +3,11 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.CaptionLabel = void 0;
4
4
  const tslib_1 = require("tslib");
5
5
  const React = tslib_1.__importStar(require("react"));
6
- // because stencil doesn't correctly pick up commonjs at runtime (https://adaptabletools.zendesk.com/agent/tickets/320),
7
- // and in order to avoid webpack 5 bug (https://github.com/AdaptableTools/adaptable/commit/c66712782f243c515630d57e58e0848a7346cf33)
8
- // we have to use a bundle and fix the issue once and for all
9
- const react_day_picker_1 = require("../../bundle-dependencies/bundles/react-day-picker");
10
6
  const rebass_1 = require("rebass");
11
7
  const format_1 = tslib_1.__importDefault(require("date-fns/format"));
12
8
  const SimpleButton_1 = tslib_1.__importDefault(require("../SimpleButton"));
13
9
  const react_1 = require("react");
10
+ const react_day_picker_1 = require("react-day-picker");
14
11
  function CaptionLabel(props) {
15
12
  const { locale, classNames, styles } = react_day_picker_1.useDayPicker();
16
13
  const { onPreviousYearClick, onNextYearClick, onNextMonthClick, onPreviousMonthClick } = props;
@@ -3,10 +3,6 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.Datepicker = void 0;
4
4
  const tslib_1 = require("tslib");
5
5
  const React = tslib_1.__importStar(require("react"));
6
- // because stencil doesn't correctly pick up commonjs at runtime (https://adaptabletools.zendesk.com/agent/tickets/320),
7
- // and in order to avoid webpack 5 bug (https://github.com/AdaptableTools/adaptable/commit/c66712782f243c515630d57e58e0848a7346cf33)
8
- // we have to use a bundle and fix the issue once and for all
9
- const react_day_picker_1 = require("../../bundle-dependencies/bundles/react-day-picker");
10
6
  const OverlayTrigger_1 = tslib_1.__importDefault(require("../OverlayTrigger"));
11
7
  const Input_1 = tslib_1.__importDefault(require("../Input"));
12
8
  const react_1 = require("react");
@@ -20,6 +16,7 @@ const CaptionLabel_1 = require("./CaptionLabel");
20
16
  const DatepickerContext_1 = require("./DatepickerContext");
21
17
  const addDays_1 = tslib_1.__importDefault(require("date-fns/addDays"));
22
18
  const addBusinessDays_1 = tslib_1.__importDefault(require("date-fns/addBusinessDays"));
19
+ const react_day_picker_1 = require("react-day-picker");
23
20
  const DatepickerOverlay = ({ onHide, children, onKeyDown, }) => {
24
21
  const domRef = React.useRef(null);
25
22
  React.useEffect(() => {
@@ -3040,19 +3040,12 @@ export declare const ADAPTABLE_METAMODEL: {
3040
3040
  name: string;
3041
3041
  kind: string;
3042
3042
  description: string;
3043
- properties: ({
3044
- name: string;
3045
- kind: string;
3046
- description: string;
3047
- uiLabel: string;
3048
- reference: string;
3049
- } | {
3043
+ properties: {
3050
3044
  name: string;
3051
3045
  kind: string;
3052
3046
  description: string;
3053
3047
  uiLabel: string;
3054
- reference?: undefined;
3055
- })[];
3048
+ }[];
3056
3049
  };
3057
3050
  ShortcutApi: {
3058
3051
  name: string;
@@ -3065,6 +3058,11 @@ export declare const ADAPTABLE_METAMODEL: {
3065
3058
  uiLabel: string;
3066
3059
  }[];
3067
3060
  };
3061
+ ShortcutScopeDataType: {
3062
+ name: string;
3063
+ kind: string;
3064
+ description: string;
3065
+ };
3068
3066
  ShortcutState: {
3069
3067
  name: string;
3070
3068
  kind: string;
@@ -9887,10 +9887,9 @@ exports.ADAPTABLE_METAMODEL = {
9887
9887
  "properties": [
9888
9888
  {
9889
9889
  "name": "Scope",
9890
- "kind": "REFERENCE",
9890
+ "kind": "unknown",
9891
9891
  "description": "On which numeric Columns the Rule is applied",
9892
- "uiLabel": "Scope",
9893
- "reference": "AdaptableScope"
9892
+ "uiLabel": "Scope"
9894
9893
  },
9895
9894
  {
9896
9895
  "name": "ShortcutKey",
@@ -9985,6 +9984,11 @@ exports.ADAPTABLE_METAMODEL = {
9985
9984
  }
9986
9985
  ]
9987
9986
  },
9987
+ "ShortcutScopeDataType": {
9988
+ "name": "ShortcutScopeDataType",
9989
+ "kind": "TypeAlias",
9990
+ "description": "Shortcut scope data type."
9991
+ },
9988
9992
  "ShortcutState": {
9989
9993
  "name": "ShortcutState",
9990
9994
  "kind": "Interface",
package/src/types.d.ts CHANGED
@@ -139,7 +139,7 @@ export type { GridRow, RowInfo } from './PredefinedConfig/Selection/GridRow';
139
139
  export type { SelectedCellInfo } from './PredefinedConfig/Selection/SelectedCellInfo';
140
140
  export type { SelectedRowInfo } from './PredefinedConfig/Selection/SelectedRowInfo';
141
141
  export type { GridCellRange } from './PredefinedConfig/Selection/GridCellRange';
142
- export type { Shortcut, ShortcutState } from './PredefinedConfig/ShortcutState';
142
+ export type { Shortcut, ShortcutState, ShortcutScopeDataType, } from './PredefinedConfig/ShortcutState';
143
143
  export type { SparklineColumn, SparklineColumnState, } from './PredefinedConfig/SparklineColumnState';
144
144
  export type { SharedEntity, TeamSharingImportInfo, TeamSharingState, SharedEntityType, } from './PredefinedConfig/TeamSharingState';
145
145
  export type { AdaptableTheme, ThemeState } from './PredefinedConfig/ThemeState';
package/version.d.ts CHANGED
@@ -1,2 +1,2 @@
1
- declare const _default: "10.0.4-canary.3";
1
+ declare const _default: "10.0.4-canary.4";
2
2
  export default _default;
package/version.js CHANGED
@@ -1,3 +1,3 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.default = '10.0.4-canary.3'; // PLEASE DONT UPDATE THIS!!! - will be updated at build time with the correct version
3
+ exports.default = '10.0.4-canary.4'; // PLEASE DONT UPDATE THIS!!! - will be updated at build time with the correct version
@@ -1,88 +0,0 @@
1
- /// <reference types="react" />
2
- import { DayPickerProps } from './types';
3
- /**
4
- * DayPicker render a date picker component to let users pick dates from a
5
- * calendar. See http://react-day-picker.js.org for updated documentation and
6
- * examples.
7
- *
8
- * ### Customization
9
- *
10
- * DayPicker offers different customization props. For example,
11
- *
12
- * - show multiple months using `numberOfMonths`
13
- * - display a dropdown to navigate the months via `captionLayout`
14
- * - display the week numbers with `showWeekNumbers`
15
- * - disable or hide days with `disabled` or `hidden`
16
- *
17
- * ### Controlling the months
18
- *
19
- * Change the initially displayed month using the `defaultMonth` prop. The
20
- * displayed months are controlled by DayPicker and stored in its internal
21
- * state. To control the months yourself, use `month` instead of `defaultMonth`
22
- * and use the `onMonthChange` event to set it.
23
- *
24
- * To limit the months the user can navigate to, use
25
- * `fromDate`/`fromMonth`/`fromYear` or `toDate`/`toMonth`/`toYear`.
26
- *
27
- * ### Selection modes
28
- *
29
- * DayPicker supports different selection mode that can be toggled using the
30
- * `mode` prop:
31
- *
32
- * - `mode="single"`: only one day can be selected. Use `required` to make the
33
- * selection required. Use the `onSelect` event handler to get the selected
34
- * days.
35
- * - `mode="multiple"`: users can select one or more days. Limit the amount of
36
- * days that can be selected with the `min` or the `max` props.
37
- * - `mode="range"`: users can select a range of days. Limit the amount of days
38
- * in the range with the `min` or the `max` props.
39
- *
40
- * These selection modes should cover the most common use cases. In case you
41
- * need a more refined way of selecting days, use `mode="uncontrolled"`. Use the
42
- * `selected` props and add the day event handlers to add/remove days from the
43
- * selection.
44
- *
45
- * ### Modifiers
46
- *
47
- * A _modifier_ represents different styles or states for the days displayed in
48
- * the calendar (like "selected" or "disabled"). Define custom modifiers using
49
- * the `modifiers` prop.
50
- *
51
- * ### Formatters and custom component
52
- *
53
- * You can customize how the content is displayed in the date picker by using
54
- * either the formatters or replacing the internal components.
55
- *
56
- * For the most common cases you want to use the `formatters` prop to change how
57
- * the content is formatted in the calendar. Use the `components` prop to
58
- * replace the internal components, like the navigation icons.
59
- *
60
- * ### Styling
61
- *
62
- * DayPicker comes with a default, basic style in `react-day-picker/style` –
63
- * use it as template for your own style.
64
- *
65
- * If you are using CSS modules, pass the imported styles object the
66
- * `classNames` props.
67
- *
68
- * You can also style the elements via inline-styles using the `styles` prop.
69
- *
70
- * ### Form fields
71
- *
72
- * If you need to bind the date picker to a form field, you can use the
73
- * `useInput` hooks for a basic behavior. See the `useInput` source as an
74
- * example to bind the date picker with form fields.
75
- *
76
- * ### Localization
77
- *
78
- * To localize DayPicker, import the locale from `date-fns` package and use the
79
- * `locale` prop.
80
- *
81
- * For example, to use Spanish locale:
82
- *
83
- * ```
84
- * import es from 'date-fns/locale/es';
85
- * <DayPicker locale={es} />
86
- * ```
87
- */
88
- export declare function DayPicker(props: DayPickerProps): JSX.Element;
@@ -1,6 +0,0 @@
1
- import * as React from 'react';
2
- import { ButtonProps } from './ButtonProps';
3
- /**
4
- * Render a button HTML element applying the reset class name.
5
- */
6
- export declare const Button: React.ForwardRefExoticComponent<Pick<ButtonProps, "multiple" | "selected" | "disabled" | "hidden" | "className" | "style" | "required" | "min" | "max" | "onSelect" | "dir" | "children" | "cite" | "data" | "form" | "label" | "slot" | "span" | "summary" | "title" | "pattern" | "value" | "accept" | "acceptCharset" | "action" | "allowFullScreen" | "allowTransparency" | "alt" | "as" | "async" | "autoComplete" | "autoFocus" | "autoPlay" | "capture" | "cellPadding" | "cellSpacing" | "charSet" | "challenge" | "checked" | "classID" | "cols" | "colSpan" | "content" | "controls" | "coords" | "crossOrigin" | "dateTime" | "default" | "defer" | "download" | "encType" | "formAction" | "formEncType" | "formMethod" | "formNoValidate" | "formTarget" | "frameBorder" | "headers" | "height" | "high" | "href" | "hrefLang" | "htmlFor" | "httpEquiv" | "integrity" | "keyParams" | "keyType" | "kind" | "list" | "loop" | "low" | "manifest" | "marginHeight" | "marginWidth" | "maxLength" | "media" | "mediaGroup" | "method" | "minLength" | "muted" | "name" | "nonce" | "noValidate" | "open" | "optimum" | "placeholder" | "playsInline" | "poster" | "preload" | "readOnly" | "rel" | "reversed" | "rows" | "rowSpan" | "sandbox" | "scope" | "scoped" | "scrolling" | "seamless" | "shape" | "size" | "sizes" | "src" | "srcDoc" | "srcLang" | "srcSet" | "start" | "step" | "target" | "type" | "useMap" | "width" | "wmode" | "wrap" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "contentEditable" | "contextMenu" | "draggable" | "id" | "lang" | "spellCheck" | "tabIndex" | "translate" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "color" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "key"> & React.RefAttributes<HTMLButtonElement>>;
@@ -1,3 +0,0 @@
1
- import * as React from 'react';
2
- /** The props for the [[Button]] component. */
3
- export declare type ButtonProps = React.HTMLProps<HTMLButtonElement>;
@@ -1,7 +0,0 @@
1
- /// <reference types="react" />
2
- import { CaptionProps } from './CaptionProps';
3
- /**
4
- * Render the caption of a month, which includes title and navigation buttons.
5
- * The caption has a different layout when setting the `numberOfMonths` prop.
6
- */
7
- export declare function Caption(props: CaptionProps): JSX.Element;
@@ -1,5 +0,0 @@
1
- /** Represent the props of the [[Caption]] component. */
2
- export interface CaptionProps {
3
- /** The month where the caption is displayed. */
4
- displayMonth: Date;
5
- }
@@ -1,2 +0,0 @@
1
- export * from './Caption';
2
- export * from './CaptionProps';
@@ -1,4 +0,0 @@
1
- /// <reference types="react" />
2
- import { CaptionLabelProps } from './CaptionLabelProps';
3
- /** Render the caption for the displayed month. This component is used when `captionLayout="buttons"`. */
4
- export declare function CaptionLabel(props: CaptionLabelProps): JSX.Element;
@@ -1,5 +0,0 @@
1
- /** The props for the [[CaptionLabel]] component. */
2
- export interface CaptionLabelProps {
3
- /** The month where the caption is displayed. */
4
- displayMonth: Date;
5
- }
@@ -1,2 +0,0 @@
1
- export * from './CaptionLabel';
2
- export * from './CaptionLabelProps';
@@ -1,7 +0,0 @@
1
- /// <reference types="react" />
2
- import { DayProps } from './DayProps';
3
- /**
4
- * The content of a day cell – as a button or span element according to its
5
- * modifiers.
6
- */
7
- export declare function Day(props: DayProps): JSX.Element;
@@ -1,7 +0,0 @@
1
- /** Represent the props used by the [[Day]] component. */
2
- export interface DayProps {
3
- /** The month where the date is displayed. */
4
- displayMonth: Date;
5
- /** The date to render. */
6
- date: Date;
7
- }
@@ -1,51 +0,0 @@
1
- import React from 'react';
2
- import { DateRange, ModifierStatus, StyledComponentProps } from '../../../types';
3
- /**
4
- * This hook returns details about the content to render in the day cell.
5
- *
6
- *
7
- * When a day cell is rendered in the table, DayPicker can either:
8
- *
9
- * - render nothing: when the day is outside the month or has matched the
10
- * "hidden" modifier.
11
- * - render a button. When a selection mode is set, DayPicker renders a button
12
- * to allow the focus and the selection. In case of `uncontrolled` selection
13
- * mode, DayPicker expects a `onDayClick` prop to render a button.
14
- * - render a non-interactive element: when no selection mode is set, the day
15
- * cell shouldn’t respond to any interaction. DayPicker should render a `div`
16
- * or a `span`.
17
- *
18
- * ### Usage
19
- *
20
- * Use this hook to customize the behavior of the [[Day]] component. Create a
21
- * new `Day` component using this hook and pass it to the `components` prop.
22
- * The source of [[Day]] can be a good starting point.
23
- *
24
- * */
25
- export declare function useDay(
26
- /** The day rendered in the month. */
27
- date: Date,
28
- /** The month where the date is displayed. DayPicker renders days outside the display month when `showOutsideDays` is true. */
29
- displayMonth: Date,
30
- /** A ref to the button element. */
31
- buttonRef: React.RefObject<HTMLButtonElement>): {
32
- /** Whether the date is outside the display month/ */
33
- isOutside: boolean;
34
- /** The modifiers for the given date. */
35
- modifiers: ModifierStatus;
36
- /** The days in DayPicker currently selected. */
37
- selected: Date | Date[] | DateRange | undefined;
38
- /**
39
- * The props for rendering the day as interactive element.
40
- *
41
- * When `undefined`, DayPicker should render a non interactive element with non-interactive
42
- * props.
43
- */
44
- buttonProps?: Omit<React.HTMLProps<HTMLButtonElement>, 'ref'>;
45
- /**
46
- * The props for rendering the day as not interactive element.
47
- *
48
- * When both this value and `buttonProps` are `undefined`, DayPicker should not render anything.
49
- */
50
- nonInteractiveProps?: StyledComponentProps;
51
- };
@@ -1,8 +0,0 @@
1
- import * as React from 'react';
2
- /** Handle the focus for the day element. */
3
- export declare function useDayFocus(date: Date, buttonRef: React.RefObject<HTMLButtonElement>): {
4
- focus: (date: Date) => void;
5
- blur: () => void;
6
- focusOnKeyDown: React.KeyboardEventHandler;
7
- isFocused: boolean;
8
- };
@@ -1,3 +0,0 @@
1
- export * from './Day';
2
- export * from './DayProps';
3
- export * from './hooks';
@@ -1,6 +0,0 @@
1
- /// <reference types="react" />
2
- import { DayContentProps } from './DayContentProps';
3
- /**
4
- * Render the content of the day cell.
5
- */
6
- export declare function DayContent(props: DayContentProps): JSX.Element;
@@ -1,10 +0,0 @@
1
- import { ModifierStatus } from '../../types';
2
- /** Represent the props for the [[DayContent]] component. */
3
- export interface DayContentProps {
4
- /** The date representing the day. */
5
- date: Date;
6
- /** The month where the day is displayed. */
7
- displayMonth: Date;
8
- /** The modifier status for the date. */
9
- modifiers: ModifierStatus;
10
- }
@@ -1,2 +0,0 @@
1
- export * from './DayContent';
2
- export * from './DayContentProps';
@@ -1,7 +0,0 @@
1
- /// <reference types="react" />
2
- import { DropdownProps } from './DropdownProps';
3
- /**
4
- * Render a styled select component – displaying a caption and a custom
5
- * drop-down icon.
6
- */
7
- export declare function Dropdown(props: DropdownProps): JSX.Element;
@@ -1,10 +0,0 @@
1
- import * as React from 'react';
2
- /** The props for the [[Dropdown]] component. */
3
- export interface DropdownProps {
4
- caption?: React.ReactNode;
5
- children?: React.SelectHTMLAttributes<HTMLSelectElement>['children'];
6
- className?: string;
7
- style?: React.CSSProperties;
8
- value?: React.SelectHTMLAttributes<HTMLSelectElement>['value'];
9
- onChange?: React.ChangeEventHandler<HTMLSelectElement>;
10
- }
@@ -1,2 +0,0 @@
1
- export * from './Dropdown';
2
- export * from './DropdownProps';
@@ -1,3 +0,0 @@
1
- /// <reference types="react" />
2
- /** Render the Footer component (empty as default).*/
3
- export declare function Footer(): JSX.Element;
@@ -1,5 +0,0 @@
1
- /// <reference types="react" />
2
- /**
3
- * Render the Head component - i.e. the table head with the weekday names.
4
- */
5
- export declare function Head(): JSX.Element;
@@ -1,6 +0,0 @@
1
- import { Locale } from 'date-fns';
2
- /**
3
- * Generate a series of 7 days, starting from the week, to use for formatting
4
- * the weekday names (Monday, Tuesday, etc.).
5
- */
6
- export declare function getWeekdays(locale?: Locale): Date[];
@@ -1 +0,0 @@
1
- export * from './getWeekdays';