@oracle/oraclejet-core-pack 17.1.3 → 18.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (1042) hide show
  1. package/oj-c/ActionCard.json +2 -2
  2. package/oj-c/AreaChart.json +174 -6
  3. package/oj-c/Button.json +12 -16
  4. package/oj-c/ButtonsetMultiple.json +17 -14
  5. package/oj-c/ButtonsetSingle.json +17 -14
  6. package/oj-c/CardView.json +31 -4
  7. package/oj-c/Checkboxset.json +9 -2
  8. package/oj-c/Dialog.json +891 -0
  9. package/oj-c/DrawerLayout.json +1 -1
  10. package/oj-c/DrawerPopup.json +20 -1
  11. package/oj-c/Dropdown/Dropdown.js +1 -2
  12. package/oj-c/FilePicker.json +2 -2
  13. package/oj-c/FormControlWrapper/FormControlWrapper.js +1 -2
  14. package/oj-c/FormLayout.json +7 -0
  15. package/oj-c/InputDateMask.json +8 -1
  16. package/oj-c/InputDatePicker.json +7 -0
  17. package/oj-c/InputDateText.json +51 -44
  18. package/oj-c/InputMonthMask.json +8 -1
  19. package/oj-c/InputNumber.json +8 -1
  20. package/oj-c/InputPassword.json +7 -0
  21. package/oj-c/InputSensitiveText.json +8 -1
  22. package/oj-c/InputText.json +7 -0
  23. package/oj-c/LabelledLink.json +8 -1
  24. package/oj-c/Legend.json +203 -2
  25. package/oj-c/LineChart.json +174 -6
  26. package/oj-c/ListView.json +143 -5
  27. package/oj-c/MenuButton.json +80 -9
  28. package/oj-c/MessageBanner.json +3 -3
  29. package/oj-c/MessageToast.json +4 -4
  30. package/oj-c/Popup.json +7 -45
  31. package/oj-c/ProgressBar.json +1 -1
  32. package/oj-c/ProgressCircle.json +1 -1
  33. package/oj-c/Radioset.json +9 -2
  34. package/oj-c/SelectMultiple.json +33 -3
  35. package/oj-c/SelectSingle.json +31 -1
  36. package/oj-c/SelectionCard.json +1 -1
  37. package/oj-c/Selector.json +7 -8
  38. package/oj-c/Sheet/Sheet.js +1 -2
  39. package/oj-c/Skeleton.json +192 -0
  40. package/oj-c/SplitMenuButton.json +15 -19
  41. package/oj-c/TabBar.json +154 -8
  42. package/oj-c/TabBarMixed.json +7 -7
  43. package/oj-c/Table.json +155 -2
  44. package/oj-c/TagCloud.json +171 -3
  45. package/oj-c/TextArea.json +7 -0
  46. package/oj-c/ToggleButton.json +12 -16
  47. package/oj-c/Toolbar.json +2214 -0
  48. package/oj-c/action-card/__webdriver__/ActionCardWebElement.js +2 -2
  49. package/oj-c/action-card/__webdriver__/ActionCardWebElement.js.map +1 -1
  50. package/oj-c/action-card/__webdriver__/ActionCardWebElementBase.js +1 -1
  51. package/oj-c/action-card/__webdriver__/ActionCardWebElementBase.js.map +1 -1
  52. package/oj-c/action-card/__webdriver__/index.js +4 -4
  53. package/oj-c/action-card/__webdriver__/index.js.map +1 -1
  54. package/oj-c/action-card/component.json +6 -6
  55. package/oj-c/area-chart/__webdriver__/AreaChartWebElement.js +1 -1
  56. package/oj-c/area-chart/__webdriver__/AreaChartWebElement.js.map +1 -1
  57. package/oj-c/area-chart/__webdriver__/AreaChartWebElementBase.d.ts +13 -0
  58. package/oj-c/area-chart/__webdriver__/AreaChartWebElementBase.js +10 -1
  59. package/oj-c/area-chart/__webdriver__/AreaChartWebElementBase.js.map +1 -1
  60. package/oj-c/area-chart/__webdriver__/index.js +4 -4
  61. package/oj-c/area-chart/__webdriver__/index.js.map +1 -1
  62. package/oj-c/area-chart/area-chart-styles.css +1 -1
  63. package/oj-c/area-chart/area-chart.js +9 -8
  64. package/oj-c/area-chart/component.json +52 -5
  65. package/oj-c/area-chart-group/component.json +2 -2
  66. package/oj-c/area-chart-item/component.json +2 -2
  67. package/oj-c/area-chart-series/component.json +2 -2
  68. package/oj-c/avatar/__webdriver__/AvatarWebElement.js +1 -1
  69. package/oj-c/avatar/__webdriver__/AvatarWebElement.js.map +1 -1
  70. package/oj-c/avatar/__webdriver__/AvatarWebElementBase.js +1 -1
  71. package/oj-c/avatar/__webdriver__/AvatarWebElementBase.js.map +1 -1
  72. package/oj-c/avatar/__webdriver__/index.js +4 -4
  73. package/oj-c/avatar/__webdriver__/index.js.map +1 -1
  74. package/oj-c/avatar/component.json +3 -3
  75. package/oj-c/button/__webdriver__/ButtonWebElement.js +3 -3
  76. package/oj-c/button/__webdriver__/ButtonWebElement.js.map +1 -1
  77. package/oj-c/button/__webdriver__/ButtonWebElementBase.js +1 -1
  78. package/oj-c/button/__webdriver__/ButtonWebElementBase.js.map +1 -1
  79. package/oj-c/button/__webdriver__/index.js +4 -4
  80. package/oj-c/button/__webdriver__/index.js.map +1 -1
  81. package/oj-c/button/button.js +23 -52
  82. package/oj-c/button/component.json +9 -10
  83. package/oj-c/buttonset-multiple/__webdriver__/ButtonsetMultipleWebElement.js +1 -1
  84. package/oj-c/buttonset-multiple/__webdriver__/ButtonsetMultipleWebElement.js.map +1 -1
  85. package/oj-c/buttonset-multiple/__webdriver__/ButtonsetMultipleWebElementBase.d.ts +5 -5
  86. package/oj-c/buttonset-multiple/__webdriver__/ButtonsetMultipleWebElementBase.js +1 -1
  87. package/oj-c/buttonset-multiple/__webdriver__/ButtonsetMultipleWebElementBase.js.map +1 -1
  88. package/oj-c/buttonset-multiple/__webdriver__/index.js +4 -4
  89. package/oj-c/buttonset-multiple/__webdriver__/index.js.map +1 -1
  90. package/oj-c/buttonset-multiple/buttonset-multiple.js +17 -42
  91. package/oj-c/buttonset-multiple/component.json +18 -13
  92. package/oj-c/buttonset-single/__webdriver__/ButtonsetSingleWebElement.js +1 -1
  93. package/oj-c/buttonset-single/__webdriver__/ButtonsetSingleWebElement.js.map +1 -1
  94. package/oj-c/buttonset-single/__webdriver__/ButtonsetSingleWebElementBase.d.ts +5 -5
  95. package/oj-c/buttonset-single/__webdriver__/ButtonsetSingleWebElementBase.js +1 -1
  96. package/oj-c/buttonset-single/__webdriver__/ButtonsetSingleWebElementBase.js.map +1 -1
  97. package/oj-c/buttonset-single/__webdriver__/index.js +4 -4
  98. package/oj-c/buttonset-single/__webdriver__/index.js.map +1 -1
  99. package/oj-c/buttonset-single/buttonset-single.js +17 -42
  100. package/oj-c/buttonset-single/component.json +18 -13
  101. package/oj-c/card-view/__webdriver__/CardViewWebElement.js +11 -14
  102. package/oj-c/card-view/__webdriver__/CardViewWebElement.js.map +1 -1
  103. package/oj-c/card-view/__webdriver__/CardViewWebElementBase.d.ts +1 -1
  104. package/oj-c/card-view/__webdriver__/CardViewWebElementBase.js +1 -1
  105. package/oj-c/card-view/__webdriver__/CardViewWebElementBase.js.map +1 -1
  106. package/oj-c/card-view/__webdriver__/index.js +4 -4
  107. package/oj-c/card-view/__webdriver__/index.js.map +1 -1
  108. package/oj-c/card-view/card-view.js +12 -8
  109. package/oj-c/card-view/cardViewItem.js +2 -2
  110. package/oj-c/card-view/component.json +18 -5
  111. package/oj-c/card-view/useCardViewPreact.js +9 -16
  112. package/oj-c/checkbox/__webdriver__/CheckboxWebElement.js +2 -2
  113. package/oj-c/checkbox/__webdriver__/CheckboxWebElement.js.map +1 -1
  114. package/oj-c/checkbox/__webdriver__/CheckboxWebElementBase.js +1 -1
  115. package/oj-c/checkbox/__webdriver__/CheckboxWebElementBase.js.map +1 -1
  116. package/oj-c/checkbox/__webdriver__/index.js +4 -4
  117. package/oj-c/checkbox/__webdriver__/index.js.map +1 -1
  118. package/oj-c/checkbox/component.json +3 -3
  119. package/oj-c/checkbox/useCheckboxPreact.js +1 -2
  120. package/oj-c/checkboxset/__webdriver__/CheckboxsetWebElement.js +2 -2
  121. package/oj-c/checkboxset/__webdriver__/CheckboxsetWebElement.js.map +1 -1
  122. package/oj-c/checkboxset/__webdriver__/CheckboxsetWebElementBase.d.ts +3 -3
  123. package/oj-c/checkboxset/__webdriver__/CheckboxsetWebElementBase.js +2 -2
  124. package/oj-c/checkboxset/__webdriver__/CheckboxsetWebElementBase.js.map +1 -1
  125. package/oj-c/checkboxset/__webdriver__/index.js +4 -4
  126. package/oj-c/checkboxset/__webdriver__/index.js.map +1 -1
  127. package/oj-c/checkboxset/checkboxset.js +1 -1
  128. package/oj-c/checkboxset/component.json +11 -4
  129. package/oj-c/checkboxset/useCheckboxsetPreact.js +1 -2
  130. package/oj-c/collapsible/__webdriver__/CollapsibleWebElement.js +2 -2
  131. package/oj-c/collapsible/__webdriver__/CollapsibleWebElement.js.map +1 -1
  132. package/oj-c/collapsible/__webdriver__/CollapsibleWebElementBase.js +1 -1
  133. package/oj-c/collapsible/__webdriver__/CollapsibleWebElementBase.js.map +1 -1
  134. package/oj-c/collapsible/__webdriver__/index.js +4 -4
  135. package/oj-c/collapsible/__webdriver__/index.js.map +1 -1
  136. package/oj-c/collapsible/collapsible.js +2 -2
  137. package/oj-c/collapsible/component.json +3 -3
  138. package/oj-c/component.json +17 -5
  139. package/oj-c/conveyor-belt/__webdriver__/ConveyorBeltWebElement.js +1 -1
  140. package/oj-c/conveyor-belt/__webdriver__/ConveyorBeltWebElement.js.map +1 -1
  141. package/oj-c/conveyor-belt/__webdriver__/ConveyorBeltWebElementBase.js +1 -1
  142. package/oj-c/conveyor-belt/__webdriver__/ConveyorBeltWebElementBase.js.map +1 -1
  143. package/oj-c/conveyor-belt/__webdriver__/index.js +4 -4
  144. package/oj-c/conveyor-belt/__webdriver__/index.js.map +1 -1
  145. package/oj-c/conveyor-belt/component.json +3 -3
  146. package/oj-c/corepackbundle.js +1684 -1882
  147. package/oj-c/date-picker/__webdriver__/DatePickerWebElement.js +1 -1
  148. package/oj-c/date-picker/__webdriver__/DatePickerWebElement.js.map +1 -1
  149. package/oj-c/date-picker/__webdriver__/DatePickerWebElementBase.js +1 -1
  150. package/oj-c/date-picker/__webdriver__/DatePickerWebElementBase.js.map +1 -1
  151. package/oj-c/date-picker/__webdriver__/index.js +4 -4
  152. package/oj-c/date-picker/__webdriver__/index.js.map +1 -1
  153. package/oj-c/date-picker/component.json +3 -3
  154. package/oj-c/dialog/__webdriver__/DialogWebElement.d.ts +20 -0
  155. package/oj-c/dialog/__webdriver__/DialogWebElement.js +55 -0
  156. package/oj-c/dialog/__webdriver__/DialogWebElement.js.map +1 -0
  157. package/oj-c/dialog/__webdriver__/DialogWebElementBase.d.ts +128 -0
  158. package/oj-c/dialog/__webdriver__/DialogWebElementBase.js +167 -0
  159. package/oj-c/dialog/__webdriver__/DialogWebElementBase.js.map +1 -0
  160. package/oj-c/dialog/__webdriver__/index.d.ts +17 -0
  161. package/oj-c/dialog/__webdriver__/index.js +34 -0
  162. package/oj-c/dialog/__webdriver__/index.js.map +1 -0
  163. package/oj-c/dialog/component.json +363 -0
  164. package/oj-c/dialog/dialog-styles.css +12 -0
  165. package/oj-c/dialog/dialog.js +148 -0
  166. package/oj-c/dialog/index.js +6 -0
  167. package/oj-c/dialog.js +6 -0
  168. package/oj-c/drag-handle/component.json +3 -3
  169. package/oj-c/drawer-layout/__webdriver__/DrawerLayoutWebElement.js +1 -1
  170. package/oj-c/drawer-layout/__webdriver__/DrawerLayoutWebElement.js.map +1 -1
  171. package/oj-c/drawer-layout/__webdriver__/DrawerLayoutWebElementBase.js +1 -1
  172. package/oj-c/drawer-layout/__webdriver__/DrawerLayoutWebElementBase.js.map +1 -1
  173. package/oj-c/drawer-layout/__webdriver__/index.js +4 -4
  174. package/oj-c/drawer-layout/__webdriver__/index.js.map +1 -1
  175. package/oj-c/drawer-layout/component.json +3 -3
  176. package/oj-c/drawer-popup/__webdriver__/DrawerPopupWebElement.d.ts +19 -0
  177. package/oj-c/drawer-popup/__webdriver__/DrawerPopupWebElement.js +59 -1
  178. package/oj-c/drawer-popup/__webdriver__/DrawerPopupWebElement.js.map +1 -1
  179. package/oj-c/drawer-popup/__webdriver__/DrawerPopupWebElementBase.d.ts +7 -0
  180. package/oj-c/drawer-popup/__webdriver__/DrawerPopupWebElementBase.js +10 -1
  181. package/oj-c/drawer-popup/__webdriver__/DrawerPopupWebElementBase.js.map +1 -1
  182. package/oj-c/drawer-popup/__webdriver__/index.js +4 -4
  183. package/oj-c/drawer-popup/__webdriver__/index.js.map +1 -1
  184. package/oj-c/drawer-popup/component.json +9 -3
  185. package/oj-c/drawer-popup/drawer-popup-styles.css +1 -1
  186. package/oj-c/drawer-popup/drawer-popup.js +24 -6
  187. package/oj-c/editable-value/UNSAFE_useAssistiveText/useAssistiveText.js +1 -2
  188. package/oj-c/editable-value/UNSAFE_useDeferredValidators/useDeferredValidators.js +1 -2
  189. package/oj-c/editable-value/UNSAFE_useStaleIdentity/useStaleIdentity.js +1 -2
  190. package/oj-c/file-picker/__webdriver__/FilePickerWebElement.d.ts +2 -2
  191. package/oj-c/file-picker/__webdriver__/FilePickerWebElement.js +4 -93
  192. package/oj-c/file-picker/__webdriver__/FilePickerWebElement.js.map +1 -1
  193. package/oj-c/file-picker/__webdriver__/FilePickerWebElementBase.d.ts +2 -2
  194. package/oj-c/file-picker/__webdriver__/FilePickerWebElementBase.js +1 -1
  195. package/oj-c/file-picker/__webdriver__/FilePickerWebElementBase.js.map +1 -1
  196. package/oj-c/file-picker/__webdriver__/index.js +4 -4
  197. package/oj-c/file-picker/__webdriver__/index.js.map +1 -1
  198. package/oj-c/file-picker/component.json +5 -5
  199. package/oj-c/file-picker/file-picker.js +2 -2
  200. package/oj-c/form-layout/__webdriver__/FormLayoutWebElement.js +1 -1
  201. package/oj-c/form-layout/__webdriver__/FormLayoutWebElement.js.map +1 -1
  202. package/oj-c/form-layout/__webdriver__/FormLayoutWebElementBase.d.ts +1 -1
  203. package/oj-c/form-layout/__webdriver__/FormLayoutWebElementBase.js +2 -2
  204. package/oj-c/form-layout/__webdriver__/FormLayoutWebElementBase.js.map +1 -1
  205. package/oj-c/form-layout/__webdriver__/index.js +4 -4
  206. package/oj-c/form-layout/__webdriver__/index.js.map +1 -1
  207. package/oj-c/form-layout/component.json +10 -3
  208. package/oj-c/form-layout/form-layout.js +1 -1
  209. package/oj-c/highlight-text/__webdriver__/HighlightTextWebElement.js +1 -1
  210. package/oj-c/highlight-text/__webdriver__/HighlightTextWebElement.js.map +1 -1
  211. package/oj-c/highlight-text/__webdriver__/HighlightTextWebElementBase.js +1 -1
  212. package/oj-c/highlight-text/__webdriver__/HighlightTextWebElementBase.js.map +1 -1
  213. package/oj-c/highlight-text/__webdriver__/index.js +4 -4
  214. package/oj-c/highlight-text/__webdriver__/index.js.map +1 -1
  215. package/oj-c/highlight-text/component.json +3 -3
  216. package/oj-c/hooks/PRIVATE_useSelectionContext/ItemKeyContext.js +6 -0
  217. package/oj-c/hooks/PRIVATE_useSelectionContext/SelectionContext.js +6 -0
  218. package/oj-c/hooks/PRIVATE_useSelectionContext/useItemKeyContext.js +8 -0
  219. package/oj-c/hooks/PRIVATE_useSelectionContext/useSelectionContext.js +8 -0
  220. package/oj-c/hooks/PRIVATE_useVisContextMenu/useVisContextMenu.js +41 -0
  221. package/oj-c/hooks/PRIVATE_useVisData/useVisData.js +1 -2
  222. package/oj-c/hooks/UNSAFE_useChartData/useChartData.js +3 -3
  223. package/oj-c/hooks/UNSAFE_useDataProvider/useDataProvider.js +1 -2
  224. package/oj-c/hooks/UNSAFE_useDataProvider/utils.js +1 -2
  225. package/oj-c/hooks/UNSAFE_useEditableValue/converterUtils.js +5 -5
  226. package/oj-c/hooks/UNSAFE_useEditableValue/index.js +4 -2
  227. package/oj-c/hooks/UNSAFE_useEditableValue/reducer.js +26 -17
  228. package/oj-c/hooks/UNSAFE_useEditableValue/useEditableValue.js +91 -51
  229. package/oj-c/hooks/UNSAFE_useEditableValue/utils.js +13 -1
  230. package/oj-c/hooks/UNSAFE_useEditableValue/validationUtils.js +2 -3
  231. package/oj-c/hooks/UNSAFE_useLegendPosition/useLegendPosition.js +1 -2
  232. package/oj-c/hooks/UNSAFE_useListData/useListData.js +48 -13
  233. package/oj-c/hooks/UNSAFE_useMergedFormContext/useMergedFormContext.js +1 -2
  234. package/oj-c/hooks/UNSAFE_useVisBusyState/useVisBusyState.js +6 -6
  235. package/oj-c/hooks/UNSAFE_useVizCategories/useVizCategories.js +17 -4
  236. package/oj-c/input-date-mask/__webdriver__/InputDateMaskWebElement.js +1 -1
  237. package/oj-c/input-date-mask/__webdriver__/InputDateMaskWebElement.js.map +1 -1
  238. package/oj-c/input-date-mask/__webdriver__/InputDateMaskWebElementBase.d.ts +1 -1
  239. package/oj-c/input-date-mask/__webdriver__/InputDateMaskWebElementBase.js +2 -2
  240. package/oj-c/input-date-mask/__webdriver__/InputDateMaskWebElementBase.js.map +1 -1
  241. package/oj-c/input-date-mask/__webdriver__/index.js +4 -4
  242. package/oj-c/input-date-mask/__webdriver__/index.js.map +1 -1
  243. package/oj-c/input-date-mask/component.json +11 -4
  244. package/oj-c/input-date-mask/useInputDateMaskPreact.js +6 -6
  245. package/oj-c/input-date-picker/__webdriver__/InputDatePickerWebElement.js +4 -4
  246. package/oj-c/input-date-picker/__webdriver__/InputDatePickerWebElement.js.map +1 -1
  247. package/oj-c/input-date-picker/__webdriver__/InputDatePickerWebElementBase.d.ts +1 -1
  248. package/oj-c/input-date-picker/__webdriver__/InputDatePickerWebElementBase.js +2 -2
  249. package/oj-c/input-date-picker/__webdriver__/InputDatePickerWebElementBase.js.map +1 -1
  250. package/oj-c/input-date-picker/__webdriver__/index.js +4 -4
  251. package/oj-c/input-date-picker/__webdriver__/index.js.map +1 -1
  252. package/oj-c/input-date-picker/component.json +10 -3
  253. package/oj-c/input-date-text/__webdriver__/InputDateTextWebElement.js +4 -8
  254. package/oj-c/input-date-text/__webdriver__/InputDateTextWebElement.js.map +1 -1
  255. package/oj-c/input-date-text/__webdriver__/InputDateTextWebElementBase.d.ts +1 -1
  256. package/oj-c/input-date-text/__webdriver__/InputDateTextWebElementBase.js +2 -2
  257. package/oj-c/input-date-text/__webdriver__/InputDateTextWebElementBase.js.map +1 -1
  258. package/oj-c/input-date-text/__webdriver__/index.js +4 -4
  259. package/oj-c/input-date-text/__webdriver__/index.js.map +1 -1
  260. package/oj-c/input-date-text/component.json +11 -4
  261. package/oj-c/input-date-text/useImplicitDateConverter.js +1 -2
  262. package/oj-c/input-date-text/useImplicitDateRangeValidator.js +1 -2
  263. package/oj-c/input-date-text/useInputDateTextPreact.js +5 -6
  264. package/oj-c/input-month-mask/__webdriver__/InputMonthMaskWebElement.js +1 -1
  265. package/oj-c/input-month-mask/__webdriver__/InputMonthMaskWebElement.js.map +1 -1
  266. package/oj-c/input-month-mask/__webdriver__/InputMonthMaskWebElementBase.d.ts +1 -1
  267. package/oj-c/input-month-mask/__webdriver__/InputMonthMaskWebElementBase.js +2 -2
  268. package/oj-c/input-month-mask/__webdriver__/InputMonthMaskWebElementBase.js.map +1 -1
  269. package/oj-c/input-month-mask/__webdriver__/index.js +4 -4
  270. package/oj-c/input-month-mask/__webdriver__/index.js.map +1 -1
  271. package/oj-c/input-month-mask/component.json +11 -4
  272. package/oj-c/input-month-mask/useImplicitCalendarMonthRangeValidator.js +1 -2
  273. package/oj-c/input-month-mask/useInputMonthMaskPreact.js +5 -6
  274. package/oj-c/input-number/__webdriver__/InputNumberWebElement.js +4 -8
  275. package/oj-c/input-number/__webdriver__/InputNumberWebElement.js.map +1 -1
  276. package/oj-c/input-number/__webdriver__/InputNumberWebElementBase.d.ts +2 -2
  277. package/oj-c/input-number/__webdriver__/InputNumberWebElementBase.js +2 -2
  278. package/oj-c/input-number/__webdriver__/InputNumberWebElementBase.js.map +1 -1
  279. package/oj-c/input-number/__webdriver__/index.js +4 -4
  280. package/oj-c/input-number/__webdriver__/index.js.map +1 -1
  281. package/oj-c/input-number/component.json +11 -4
  282. package/oj-c/input-number/input-number.js +1 -1
  283. package/oj-c/input-number/stepBasisUtils.js +1 -2
  284. package/oj-c/input-number/useImplicitNumberConverter.js +1 -2
  285. package/oj-c/input-number/useImplicitNumberRangeValidator.js +9 -3
  286. package/oj-c/input-number/useNumberInputTextPreact.js +96 -56
  287. package/oj-c/input-password/__webdriver__/InputPasswordWebElement.js +4 -8
  288. package/oj-c/input-password/__webdriver__/InputPasswordWebElement.js.map +1 -1
  289. package/oj-c/input-password/__webdriver__/InputPasswordWebElementBase.d.ts +1 -1
  290. package/oj-c/input-password/__webdriver__/InputPasswordWebElementBase.js +2 -2
  291. package/oj-c/input-password/__webdriver__/InputPasswordWebElementBase.js.map +1 -1
  292. package/oj-c/input-password/__webdriver__/index.js +4 -4
  293. package/oj-c/input-password/__webdriver__/index.js.map +1 -1
  294. package/oj-c/input-password/component.json +10 -3
  295. package/oj-c/input-password/useInputPasswordPreact.js +3 -4
  296. package/oj-c/input-sensitive-text/__webdriver__/InputSensitiveTextWebElement.js +4 -8
  297. package/oj-c/input-sensitive-text/__webdriver__/InputSensitiveTextWebElement.js.map +1 -1
  298. package/oj-c/input-sensitive-text/__webdriver__/InputSensitiveTextWebElementBase.d.ts +1 -1
  299. package/oj-c/input-sensitive-text/__webdriver__/InputSensitiveTextWebElementBase.js +2 -2
  300. package/oj-c/input-sensitive-text/__webdriver__/InputSensitiveTextWebElementBase.js.map +1 -1
  301. package/oj-c/input-sensitive-text/__webdriver__/index.js +4 -4
  302. package/oj-c/input-sensitive-text/__webdriver__/index.js.map +1 -1
  303. package/oj-c/input-sensitive-text/component.json +11 -4
  304. package/oj-c/input-sensitive-text/useInputSensitiveTextPreact.js +4 -5
  305. package/oj-c/input-text/__webdriver__/InputTextWebElement.js +4 -8
  306. package/oj-c/input-text/__webdriver__/InputTextWebElement.js.map +1 -1
  307. package/oj-c/input-text/__webdriver__/InputTextWebElementBase.d.ts +1 -1
  308. package/oj-c/input-text/__webdriver__/InputTextWebElementBase.js +2 -2
  309. package/oj-c/input-text/__webdriver__/InputTextWebElementBase.js.map +1 -1
  310. package/oj-c/input-text/__webdriver__/index.js +4 -4
  311. package/oj-c/input-text/__webdriver__/index.js.map +1 -1
  312. package/oj-c/input-text/component.json +10 -3
  313. package/oj-c/input-text/useInputTextPreact.js +5 -6
  314. package/oj-c/labelled-link/__webdriver__/LabelledLinkWebElement.js +1 -1
  315. package/oj-c/labelled-link/__webdriver__/LabelledLinkWebElement.js.map +1 -1
  316. package/oj-c/labelled-link/__webdriver__/LabelledLinkWebElementBase.d.ts +1 -1
  317. package/oj-c/labelled-link/__webdriver__/LabelledLinkWebElementBase.js +2 -2
  318. package/oj-c/labelled-link/__webdriver__/LabelledLinkWebElementBase.js.map +1 -1
  319. package/oj-c/labelled-link/__webdriver__/index.js +4 -4
  320. package/oj-c/labelled-link/__webdriver__/index.js.map +1 -1
  321. package/oj-c/labelled-link/component.json +11 -4
  322. package/oj-c/labelled-link/useLabelledLinkPreact.js +1 -2
  323. package/oj-c/legend/__webdriver__/LegendWebElement.js +1 -1
  324. package/oj-c/legend/__webdriver__/LegendWebElement.js.map +1 -1
  325. package/oj-c/legend/__webdriver__/LegendWebElementBase.d.ts +13 -0
  326. package/oj-c/legend/__webdriver__/LegendWebElementBase.js +10 -1
  327. package/oj-c/legend/__webdriver__/LegendWebElementBase.js.map +1 -1
  328. package/oj-c/legend/__webdriver__/index.js +4 -4
  329. package/oj-c/legend/__webdriver__/index.js.map +1 -1
  330. package/oj-c/legend/component.json +63 -3
  331. package/oj-c/legend/events.js +4 -4
  332. package/oj-c/legend/legend-styles.css +2 -26
  333. package/oj-c/legend/legend.js +82 -35
  334. package/oj-c/legend/useSectionData.js +6 -3
  335. package/oj-c/legend/utils.js +18 -14
  336. package/oj-c/legend-item/component.json +2 -2
  337. package/oj-c/legend-section/component.json +2 -2
  338. package/oj-c/legend-utils/index.js +6 -0
  339. package/oj-c/legend-utils/legendUtils.js +9 -0
  340. package/oj-c/line-chart/__webdriver__/LineChartWebElement.js +1 -1
  341. package/oj-c/line-chart/__webdriver__/LineChartWebElement.js.map +1 -1
  342. package/oj-c/line-chart/__webdriver__/LineChartWebElementBase.d.ts +13 -0
  343. package/oj-c/line-chart/__webdriver__/LineChartWebElementBase.js +10 -1
  344. package/oj-c/line-chart/__webdriver__/LineChartWebElementBase.js.map +1 -1
  345. package/oj-c/line-chart/__webdriver__/index.js +4 -4
  346. package/oj-c/line-chart/__webdriver__/index.js.map +1 -1
  347. package/oj-c/line-chart/component.json +52 -5
  348. package/oj-c/line-chart/line-chart-styles.css +1 -1
  349. package/oj-c/line-chart/line-chart.js +9 -8
  350. package/oj-c/line-chart-group/component.json +2 -2
  351. package/oj-c/line-chart-item/component.json +2 -2
  352. package/oj-c/line-chart-series/component.json +2 -2
  353. package/oj-c/list-item-layout/__webdriver__/ListItemLayoutWebElement.js +1 -1
  354. package/oj-c/list-item-layout/__webdriver__/ListItemLayoutWebElement.js.map +1 -1
  355. package/oj-c/list-item-layout/__webdriver__/ListItemLayoutWebElementBase.js +1 -1
  356. package/oj-c/list-item-layout/__webdriver__/ListItemLayoutWebElementBase.js.map +1 -1
  357. package/oj-c/list-item-layout/__webdriver__/index.js +4 -4
  358. package/oj-c/list-item-layout/__webdriver__/index.js.map +1 -1
  359. package/oj-c/list-item-layout/component.json +3 -3
  360. package/oj-c/list-view/__webdriver__/ListViewWebElement.d.ts +19 -0
  361. package/oj-c/list-view/__webdriver__/ListViewWebElement.js +43 -13
  362. package/oj-c/list-view/__webdriver__/ListViewWebElement.js.map +1 -1
  363. package/oj-c/list-view/__webdriver__/ListViewWebElementBase.d.ts +28 -2
  364. package/oj-c/list-view/__webdriver__/ListViewWebElementBase.js +20 -2
  365. package/oj-c/list-view/__webdriver__/ListViewWebElementBase.js.map +1 -1
  366. package/oj-c/list-view/__webdriver__/contextMenuUtils.d.ts +33 -0
  367. package/oj-c/list-view/__webdriver__/contextMenuUtils.js +88 -0
  368. package/oj-c/list-view/__webdriver__/contextMenuUtils.js.map +1 -0
  369. package/oj-c/list-view/__webdriver__/index.js +4 -4
  370. package/oj-c/list-view/__webdriver__/index.js.map +1 -1
  371. package/oj-c/list-view/component.json +35 -5
  372. package/oj-c/list-view/list-view-styles.css +2 -1
  373. package/oj-c/list-view/list-view.js +11 -5
  374. package/oj-c/list-view/listViewItem.js +2 -2
  375. package/oj-c/list-view/useCurrentItemOverride.js +23 -0
  376. package/oj-c/list-view/useHandleRemoveCurrentKey.js +8 -9
  377. package/oj-c/list-view/useListViewPreact.js +16 -36
  378. package/oj-c/menu-button/__webdriver__/MenuButtonWebElement.js +2 -2
  379. package/oj-c/menu-button/__webdriver__/MenuButtonWebElement.js.map +1 -1
  380. package/oj-c/menu-button/__webdriver__/MenuButtonWebElementBase.js +1 -1
  381. package/oj-c/menu-button/__webdriver__/MenuButtonWebElementBase.js.map +1 -1
  382. package/oj-c/menu-button/__webdriver__/index.js +4 -4
  383. package/oj-c/menu-button/__webdriver__/index.js.map +1 -1
  384. package/oj-c/menu-button/component.json +23 -6
  385. package/oj-c/menu-button/menu-button.js +23 -44
  386. package/oj-c/message-banner/__webdriver__/MessageBannerWebElement.js +3 -3
  387. package/oj-c/message-banner/__webdriver__/MessageBannerWebElement.js.map +1 -1
  388. package/oj-c/message-banner/__webdriver__/MessageBannerWebElementBase.js +1 -1
  389. package/oj-c/message-banner/__webdriver__/MessageBannerWebElementBase.js.map +1 -1
  390. package/oj-c/message-banner/__webdriver__/index.js +4 -4
  391. package/oj-c/message-banner/__webdriver__/index.js.map +1 -1
  392. package/oj-c/message-banner/component.json +8 -8
  393. package/oj-c/message-toast/__webdriver__/MessageToastWebElement.js +3 -3
  394. package/oj-c/message-toast/__webdriver__/MessageToastWebElement.js.map +1 -1
  395. package/oj-c/message-toast/__webdriver__/MessageToastWebElementBase.js +1 -1
  396. package/oj-c/message-toast/__webdriver__/MessageToastWebElementBase.js.map +1 -1
  397. package/oj-c/message-toast/__webdriver__/index.js +4 -4
  398. package/oj-c/message-toast/__webdriver__/index.js.map +1 -1
  399. package/oj-c/message-toast/component.json +7 -7
  400. package/oj-c/message-toast/message-toast.js +1 -1
  401. package/oj-c/metadata/allComponents.json +3426 -2273
  402. package/oj-c/meter-bar/__webdriver__/MeterBarWebElement.js +1 -1
  403. package/oj-c/meter-bar/__webdriver__/MeterBarWebElement.js.map +1 -1
  404. package/oj-c/meter-bar/__webdriver__/MeterBarWebElementBase.js +1 -1
  405. package/oj-c/meter-bar/__webdriver__/MeterBarWebElementBase.js.map +1 -1
  406. package/oj-c/meter-bar/__webdriver__/index.js +4 -4
  407. package/oj-c/meter-bar/__webdriver__/index.js.map +1 -1
  408. package/oj-c/meter-bar/component.json +3 -3
  409. package/oj-c/meter-bar/meter-bar.js +8 -6
  410. package/oj-c/meter-circle/__webdriver__/MeterCircleWebElement.js +1 -1
  411. package/oj-c/meter-circle/__webdriver__/MeterCircleWebElement.js.map +1 -1
  412. package/oj-c/meter-circle/__webdriver__/MeterCircleWebElementBase.js +1 -1
  413. package/oj-c/meter-circle/__webdriver__/MeterCircleWebElementBase.js.map +1 -1
  414. package/oj-c/meter-circle/__webdriver__/index.js +4 -4
  415. package/oj-c/meter-circle/__webdriver__/index.js.map +1 -1
  416. package/oj-c/meter-circle/component.json +3 -3
  417. package/oj-c/meter-circle/meter-circle.js +10 -8
  418. package/oj-c/min/Dropdown/Dropdown.js +1 -2
  419. package/oj-c/min/FormControlWrapper/FormControlWrapper.js +1 -2
  420. package/oj-c/min/Sheet/Sheet.js +1 -2
  421. package/oj-c/min/area-chart/area-chart-styles.css +1 -1
  422. package/oj-c/min/area-chart.js +1 -1
  423. package/oj-c/min/area-chart.js.map +1 -1
  424. package/oj-c/min/button.js +1 -1
  425. package/oj-c/min/button.js.map +1 -1
  426. package/oj-c/min/buttonset-multiple.js +1 -1
  427. package/oj-c/min/buttonset-multiple.js.map +1 -1
  428. package/oj-c/min/buttonset-single.js +1 -1
  429. package/oj-c/min/buttonset-single.js.map +1 -1
  430. package/oj-c/min/card-view.js +1 -1
  431. package/oj-c/min/card-view.js.map +1 -1
  432. package/oj-c/min/checkbox.js +1 -1
  433. package/oj-c/min/checkbox.js.map +1 -1
  434. package/oj-c/min/checkboxset.js +1 -1
  435. package/oj-c/min/checkboxset.js.map +1 -1
  436. package/oj-c/min/collapsible.js +1 -1
  437. package/oj-c/min/collapsible.js.map +1 -1
  438. package/oj-c/min/conveyor-belt.js +1 -1
  439. package/oj-c/min/conveyor-belt.js.map +1 -1
  440. package/oj-c/min/corepackbundle.css +40 -53
  441. package/oj-c/min/corepackbundle.js +1 -1
  442. package/oj-c/min/corepackbundle.js.map +1 -1
  443. package/oj-c/min/dialog/dialog-styles.css +12 -0
  444. package/oj-c/min/dialog.js +2 -0
  445. package/oj-c/min/dialog.js.map +1 -0
  446. package/oj-c/min/drawer-popup/drawer-popup-styles.css +1 -1
  447. package/oj-c/min/drawer-popup.js +1 -1
  448. package/oj-c/min/drawer-popup.js.map +1 -1
  449. package/oj-c/min/editable-value/UNSAFE_useAssistiveText/useAssistiveText.js +1 -2
  450. package/oj-c/min/editable-value/UNSAFE_useDeferredValidators/useDeferredValidators.js +1 -2
  451. package/oj-c/min/editable-value/UNSAFE_useStaleIdentity/useStaleIdentity.js +1 -2
  452. package/oj-c/min/file-picker.js +1 -1
  453. package/oj-c/min/file-picker.js.map +1 -1
  454. package/oj-c/min/form-layout.js +1 -1
  455. package/oj-c/min/form-layout.js.map +1 -1
  456. package/oj-c/min/hooks/PRIVATE_useSelectionContext/ItemKeyContext.js +6 -0
  457. package/oj-c/min/hooks/PRIVATE_useSelectionContext/SelectionContext.js +6 -0
  458. package/oj-c/min/hooks/PRIVATE_useSelectionContext/useItemKeyContext.js +8 -0
  459. package/oj-c/min/hooks/PRIVATE_useSelectionContext/useSelectionContext.js +8 -0
  460. package/oj-c/min/hooks/PRIVATE_useVisContextMenu/useVisContextMenu.js +41 -0
  461. package/oj-c/min/hooks/PRIVATE_useVisData/useVisData.js +1 -2
  462. package/oj-c/min/hooks/UNSAFE_useChartData/useChartData.js +3 -3
  463. package/oj-c/min/hooks/UNSAFE_useDataProvider/useDataProvider.js +1 -2
  464. package/oj-c/min/hooks/UNSAFE_useDataProvider/utils.js +1 -2
  465. package/oj-c/min/hooks/UNSAFE_useEditableValue/converterUtils.js +5 -5
  466. package/oj-c/min/hooks/UNSAFE_useEditableValue/index.js +4 -2
  467. package/oj-c/min/hooks/UNSAFE_useEditableValue/reducer.js +26 -17
  468. package/oj-c/min/hooks/UNSAFE_useEditableValue/useEditableValue.js +91 -51
  469. package/oj-c/min/hooks/UNSAFE_useEditableValue/utils.js +13 -1
  470. package/oj-c/min/hooks/UNSAFE_useEditableValue/validationUtils.js +2 -3
  471. package/oj-c/min/hooks/UNSAFE_useLegendPosition/useLegendPosition.js +1 -2
  472. package/oj-c/min/hooks/UNSAFE_useListData/useListData.js +48 -13
  473. package/oj-c/min/hooks/UNSAFE_useMergedFormContext/useMergedFormContext.js +1 -2
  474. package/oj-c/min/hooks/UNSAFE_useVisBusyState/useVisBusyState.js +6 -6
  475. package/oj-c/min/hooks/UNSAFE_useVizCategories/useVizCategories.js +17 -4
  476. package/oj-c/min/input-date-mask.js +1 -1
  477. package/oj-c/min/input-date-mask.js.map +1 -1
  478. package/oj-c/min/input-date-picker.js +2 -2
  479. package/oj-c/min/input-date-picker.js.map +1 -1
  480. package/oj-c/min/input-date-text.js +1 -1
  481. package/oj-c/min/input-date-text.js.map +1 -1
  482. package/oj-c/min/input-month-mask.js +1 -1
  483. package/oj-c/min/input-month-mask.js.map +1 -1
  484. package/oj-c/min/input-number.js +1 -1
  485. package/oj-c/min/input-number.js.map +1 -1
  486. package/oj-c/min/input-password.js +1 -1
  487. package/oj-c/min/input-password.js.map +1 -1
  488. package/oj-c/min/input-sensitive-text.js +1 -1
  489. package/oj-c/min/input-sensitive-text.js.map +1 -1
  490. package/oj-c/min/input-text.js +1 -1
  491. package/oj-c/min/input-text.js.map +1 -1
  492. package/oj-c/min/labelled-link.js +1 -1
  493. package/oj-c/min/labelled-link.js.map +1 -1
  494. package/oj-c/min/legend/legend-styles.css +2 -26
  495. package/oj-c/min/legend-utils/index.js +6 -0
  496. package/oj-c/min/legend-utils/legendUtils.js +9 -0
  497. package/oj-c/min/legend.js +1 -1
  498. package/oj-c/min/legend.js.map +1 -1
  499. package/oj-c/min/line-chart/line-chart-styles.css +1 -1
  500. package/oj-c/min/line-chart.js +1 -1
  501. package/oj-c/min/line-chart.js.map +1 -1
  502. package/oj-c/min/list-view/list-view-styles.css +2 -1
  503. package/oj-c/min/list-view.js +1 -1
  504. package/oj-c/min/list-view.js.map +1 -1
  505. package/oj-c/min/menu-button.js +1 -1
  506. package/oj-c/min/menu-button.js.map +1 -1
  507. package/oj-c/min/message-banner.js +1 -1
  508. package/oj-c/min/message-banner.js.map +1 -1
  509. package/oj-c/min/message-toast.js +1 -1
  510. package/oj-c/min/message-toast.js.map +1 -1
  511. package/oj-c/min/meter-bar.js +1 -1
  512. package/oj-c/min/meter-bar.js.map +1 -1
  513. package/oj-c/min/meter-circle.js +1 -1
  514. package/oj-c/min/meter-circle.js.map +1 -1
  515. package/oj-c/min/popup.js +1 -1
  516. package/oj-c/min/popup.js.map +1 -1
  517. package/oj-c/min/progress-bar.js +1 -1
  518. package/oj-c/min/progress-bar.js.map +1 -1
  519. package/oj-c/min/progress-circle.js +1 -1
  520. package/oj-c/min/progress-circle.js.map +1 -1
  521. package/oj-c/min/radioset.js +1 -1
  522. package/oj-c/min/radioset.js.map +1 -1
  523. package/oj-c/min/select-common/PRIVATE_useCache/useCache.js +1 -2
  524. package/oj-c/min/select-common/PRIVATE_useSelectData/useCollectionTemplateDataProviderView.js +1 -2
  525. package/oj-c/min/select-common/UNSAFE_useDataProviderListeners/useDataProviderListeners.js +1 -2
  526. package/oj-c/min/select-common/UNSAFE_useWrapDataProvider/useWrapDataProvider.js +1 -2
  527. package/oj-c/min/select-common/utils/utils.js +4 -4
  528. package/oj-c/min/select-multiple.js +2 -2
  529. package/oj-c/min/select-multiple.js.map +1 -1
  530. package/oj-c/min/select-single.js +2 -2
  531. package/oj-c/min/select-single.js.map +1 -1
  532. package/oj-c/min/selector-all.js +1 -1
  533. package/oj-c/min/selector-all.js.map +1 -1
  534. package/oj-c/min/selector.js +1 -1
  535. package/oj-c/min/selector.js.map +1 -1
  536. package/oj-c/min/skeleton.js +2 -0
  537. package/oj-c/min/skeleton.js.map +1 -0
  538. package/oj-c/min/split-menu-button.js +1 -1
  539. package/oj-c/min/split-menu-button.js.map +1 -1
  540. package/oj-c/min/tab-bar-mixed.js +1 -1
  541. package/oj-c/min/tab-bar-mixed.js.map +1 -1
  542. package/oj-c/min/tab-bar.js +1 -1
  543. package/oj-c/min/tab-bar.js.map +1 -1
  544. package/oj-c/min/table/table-styles.css +0 -13
  545. package/oj-c/min/table.js +1 -1
  546. package/oj-c/min/table.js.map +1 -1
  547. package/oj-c/min/tag-cloud/tag-cloud-styles.css +1 -1
  548. package/oj-c/min/tag-cloud.js +1 -1
  549. package/oj-c/min/tag-cloud.js.map +1 -1
  550. package/oj-c/min/text-area.js +1 -1
  551. package/oj-c/min/text-area.js.map +1 -1
  552. package/oj-c/min/toggle-button.js +1 -1
  553. package/oj-c/min/toggle-button.js.map +1 -1
  554. package/oj-c/min/toolbar/toolbar-styles.css +21 -0
  555. package/oj-c/min/toolbar.js +2 -0
  556. package/oj-c/min/toolbar.js.map +1 -0
  557. package/oj-c/min/unsafe/InputGroup/InputGroup.js +1 -2
  558. package/oj-c/min/utils/PRIVATE_ItemsMenu/items-menu.js +5 -5
  559. package/oj-c/min/utils/PRIVATE_ItemsMenu/menu-item-icon.js +1 -2
  560. package/oj-c/min/utils/PRIVATE_ItemsMenu/menu-select-items.js +1 -2
  561. package/oj-c/min/utils/PRIVATE_chartUtils/events.js +2 -2
  562. package/oj-c/min/utils/PRIVATE_chartUtils/legendUtils.js +3 -3
  563. package/oj-c/min/utils/PRIVATE_chartUtils/lineAreaUtils.js +4 -5
  564. package/oj-c/min/utils/PRIVATE_chartUtils/plotAreaUtils.js +1 -2
  565. package/oj-c/min/utils/PRIVATE_collectionUtils/collectionUtils.js +31 -0
  566. package/oj-c/min/utils/PRIVATE_collectionUtils/index.js +19 -0
  567. package/oj-c/min/utils/PRIVATE_toggleUtils/toggle-item-icon.js +1 -2
  568. package/oj-c/min/utils/PRIVATE_toggleUtils/widthStyle.js +1 -2
  569. package/oj-c/popup/__webdriver__/PopupWebElement.d.ts +12 -0
  570. package/oj-c/popup/__webdriver__/PopupWebElement.js +43 -1
  571. package/oj-c/popup/__webdriver__/PopupWebElement.js.map +1 -1
  572. package/oj-c/popup/__webdriver__/PopupWebElementBase.d.ts +3 -20
  573. package/oj-c/popup/__webdriver__/PopupWebElementBase.js +3 -12
  574. package/oj-c/popup/__webdriver__/PopupWebElementBase.js.map +1 -1
  575. package/oj-c/popup/__webdriver__/index.js +4 -4
  576. package/oj-c/popup/__webdriver__/index.js.map +1 -1
  577. package/oj-c/popup/component.json +18 -17
  578. package/oj-c/popup/popup.js +77 -36
  579. package/oj-c/progress-bar/__webdriver__/ProgressBarWebElement.js +1 -1
  580. package/oj-c/progress-bar/__webdriver__/ProgressBarWebElement.js.map +1 -1
  581. package/oj-c/progress-bar/__webdriver__/ProgressBarWebElementBase.js +1 -1
  582. package/oj-c/progress-bar/__webdriver__/ProgressBarWebElementBase.js.map +1 -1
  583. package/oj-c/progress-bar/__webdriver__/index.js +4 -4
  584. package/oj-c/progress-bar/__webdriver__/index.js.map +1 -1
  585. package/oj-c/progress-bar/component.json +4 -4
  586. package/oj-c/progress-bar/progress-bar.js +2 -2
  587. package/oj-c/progress-button/__webdriver__/ProgressButtonWebElement.js +2 -2
  588. package/oj-c/progress-button/__webdriver__/ProgressButtonWebElement.js.map +1 -1
  589. package/oj-c/progress-button/__webdriver__/ProgressButtonWebElementBase.js +1 -1
  590. package/oj-c/progress-button/__webdriver__/ProgressButtonWebElementBase.js.map +1 -1
  591. package/oj-c/progress-button/__webdriver__/index.js +4 -4
  592. package/oj-c/progress-button/__webdriver__/index.js.map +1 -1
  593. package/oj-c/progress-button/component.json +3 -3
  594. package/oj-c/progress-circle/__webdriver__/ProgressCircleWebElement.js +1 -1
  595. package/oj-c/progress-circle/__webdriver__/ProgressCircleWebElement.js.map +1 -1
  596. package/oj-c/progress-circle/__webdriver__/ProgressCircleWebElementBase.js +1 -1
  597. package/oj-c/progress-circle/__webdriver__/ProgressCircleWebElementBase.js.map +1 -1
  598. package/oj-c/progress-circle/__webdriver__/index.js +4 -4
  599. package/oj-c/progress-circle/__webdriver__/index.js.map +1 -1
  600. package/oj-c/progress-circle/component.json +4 -4
  601. package/oj-c/progress-circle/progress-circle.js +2 -2
  602. package/oj-c/radioset/__webdriver__/RadiosetWebElement.js +6 -9
  603. package/oj-c/radioset/__webdriver__/RadiosetWebElement.js.map +1 -1
  604. package/oj-c/radioset/__webdriver__/RadiosetWebElementBase.d.ts +3 -3
  605. package/oj-c/radioset/__webdriver__/RadiosetWebElementBase.js +2 -2
  606. package/oj-c/radioset/__webdriver__/RadiosetWebElementBase.js.map +1 -1
  607. package/oj-c/radioset/__webdriver__/index.js +4 -4
  608. package/oj-c/radioset/__webdriver__/index.js.map +1 -1
  609. package/oj-c/radioset/component.json +11 -4
  610. package/oj-c/radioset/radioset.js +1 -1
  611. package/oj-c/radioset/useRadiosetPreact.js +1 -2
  612. package/oj-c/rating-gauge/__webdriver__/RatingGaugeWebElement.js +1 -1
  613. package/oj-c/rating-gauge/__webdriver__/RatingGaugeWebElement.js.map +1 -1
  614. package/oj-c/rating-gauge/__webdriver__/RatingGaugeWebElementBase.js +1 -1
  615. package/oj-c/rating-gauge/__webdriver__/RatingGaugeWebElementBase.js.map +1 -1
  616. package/oj-c/rating-gauge/__webdriver__/index.js +4 -4
  617. package/oj-c/rating-gauge/__webdriver__/index.js.map +1 -1
  618. package/oj-c/rating-gauge/component.json +4 -4
  619. package/oj-c/select-common/PRIVATE_useCache/useCache.js +1 -2
  620. package/oj-c/select-common/PRIVATE_useSelectData/useCollectionTemplateDataProviderView.js +1 -2
  621. package/oj-c/select-common/UNSAFE_useDataProviderListeners/useDataProviderListeners.js +1 -2
  622. package/oj-c/select-common/UNSAFE_useWrapDataProvider/useWrapDataProvider.js +1 -2
  623. package/oj-c/select-common/utils/utils.js +4 -4
  624. package/oj-c/select-multiple/__webdriver__/SelectMultipleWebElement.js +7 -16
  625. package/oj-c/select-multiple/__webdriver__/SelectMultipleWebElement.js.map +1 -1
  626. package/oj-c/select-multiple/__webdriver__/SelectMultipleWebElementBase.d.ts +5 -5
  627. package/oj-c/select-multiple/__webdriver__/SelectMultipleWebElementBase.js +2 -2
  628. package/oj-c/select-multiple/__webdriver__/SelectMultipleWebElementBase.js.map +1 -1
  629. package/oj-c/select-multiple/__webdriver__/index.js +4 -4
  630. package/oj-c/select-multiple/__webdriver__/index.js.map +1 -1
  631. package/oj-c/select-multiple/component.json +81 -7
  632. package/oj-c/select-multiple/select-multiple.js +9 -1
  633. package/oj-c/select-multiple/useSelectMultiplePreact.js +24 -21
  634. package/oj-c/select-multiple/useSyncValueAndValueItems.js +4 -5
  635. package/oj-c/select-multiple/useValueItems.js +1 -2
  636. package/oj-c/select-single/__webdriver__/SelectSingleWebElement.js +9 -27
  637. package/oj-c/select-single/__webdriver__/SelectSingleWebElement.js.map +1 -1
  638. package/oj-c/select-single/__webdriver__/SelectSingleWebElementBase.d.ts +3 -3
  639. package/oj-c/select-single/__webdriver__/SelectSingleWebElementBase.js +2 -2
  640. package/oj-c/select-single/__webdriver__/SelectSingleWebElementBase.js.map +1 -1
  641. package/oj-c/select-single/__webdriver__/index.js +4 -4
  642. package/oj-c/select-single/__webdriver__/index.js.map +1 -1
  643. package/oj-c/select-single/component.json +15 -5
  644. package/oj-c/select-single/select-single.js +9 -1
  645. package/oj-c/select-single/useSelectSinglePreact.js +31 -30
  646. package/oj-c/select-single/useSyncValueAndValueItem.js +4 -5
  647. package/oj-c/select-single/useValueItem.js +1 -2
  648. package/oj-c/selection-card/__webdriver__/SelectionCardWebElement.js +1 -1
  649. package/oj-c/selection-card/__webdriver__/SelectionCardWebElement.js.map +1 -1
  650. package/oj-c/selection-card/__webdriver__/SelectionCardWebElementBase.js +1 -1
  651. package/oj-c/selection-card/__webdriver__/SelectionCardWebElementBase.js.map +1 -1
  652. package/oj-c/selection-card/__webdriver__/index.js +4 -4
  653. package/oj-c/selection-card/__webdriver__/index.js.map +1 -1
  654. package/oj-c/selection-card/component.json +5 -5
  655. package/oj-c/selector/__webdriver__/SelectorWebElement.js +2 -2
  656. package/oj-c/selector/__webdriver__/SelectorWebElement.js.map +1 -1
  657. package/oj-c/selector/__webdriver__/SelectorWebElementBase.d.ts +3 -3
  658. package/oj-c/selector/__webdriver__/SelectorWebElementBase.js +3 -3
  659. package/oj-c/selector/__webdriver__/SelectorWebElementBase.js.map +1 -1
  660. package/oj-c/selector/__webdriver__/index.js +4 -4
  661. package/oj-c/selector/__webdriver__/index.js.map +1 -1
  662. package/oj-c/selector/component.json +6 -8
  663. package/oj-c/selector/selector.js +25 -7
  664. package/oj-c/selector-all/__webdriver__/SelectorAllWebElement.js +2 -2
  665. package/oj-c/selector-all/__webdriver__/SelectorAllWebElement.js.map +1 -1
  666. package/oj-c/selector-all/__webdriver__/SelectorAllWebElementBase.js +1 -1
  667. package/oj-c/selector-all/__webdriver__/SelectorAllWebElementBase.js.map +1 -1
  668. package/oj-c/selector-all/__webdriver__/index.js +4 -4
  669. package/oj-c/selector-all/__webdriver__/index.js.map +1 -1
  670. package/oj-c/selector-all/component.json +3 -3
  671. package/oj-c/selector-all/selector-all.js +1 -1
  672. package/oj-c/skeleton/__webdriver__/SkeletonWebElement.d.ts +8 -0
  673. package/oj-c/skeleton/__webdriver__/SkeletonWebElement.js +13 -0
  674. package/oj-c/skeleton/__webdriver__/SkeletonWebElement.js.map +1 -0
  675. package/oj-c/skeleton/__webdriver__/SkeletonWebElementBase.d.ts +30 -0
  676. package/oj-c/skeleton/__webdriver__/SkeletonWebElementBase.js +41 -0
  677. package/oj-c/skeleton/__webdriver__/SkeletonWebElementBase.js.map +1 -0
  678. package/oj-c/skeleton/__webdriver__/index.d.ts +17 -0
  679. package/oj-c/skeleton/__webdriver__/index.js +34 -0
  680. package/oj-c/skeleton/__webdriver__/index.js.map +1 -0
  681. package/oj-c/skeleton/component.json +94 -0
  682. package/oj-c/skeleton/index.js +6 -0
  683. package/oj-c/skeleton/skeleton.js +11 -0
  684. package/oj-c/skeleton.js +6 -0
  685. package/oj-c/split-menu-button/__webdriver__/SplitMenuButtonWebElement.js +2 -2
  686. package/oj-c/split-menu-button/__webdriver__/SplitMenuButtonWebElement.js.map +1 -1
  687. package/oj-c/split-menu-button/__webdriver__/SplitMenuButtonWebElementBase.js +1 -1
  688. package/oj-c/split-menu-button/__webdriver__/SplitMenuButtonWebElementBase.js.map +1 -1
  689. package/oj-c/split-menu-button/__webdriver__/index.js +4 -4
  690. package/oj-c/split-menu-button/__webdriver__/index.js.map +1 -1
  691. package/oj-c/split-menu-button/component.json +15 -11
  692. package/oj-c/split-menu-button/split-menu-button.js +16 -43
  693. package/oj-c/tab-bar/ContentRenderer.js +32 -13
  694. package/oj-c/tab-bar/DataTabBar.js +5 -3
  695. package/oj-c/tab-bar/DataTabBarIcon.js +1 -2
  696. package/oj-c/tab-bar/__webdriver__/TabBarWebElement.js +37 -43
  697. package/oj-c/tab-bar/__webdriver__/TabBarWebElement.js.map +1 -1
  698. package/oj-c/tab-bar/__webdriver__/TabBarWebElementBase.d.ts +9 -2
  699. package/oj-c/tab-bar/__webdriver__/TabBarWebElementBase.js +10 -1
  700. package/oj-c/tab-bar/__webdriver__/TabBarWebElementBase.js.map +1 -1
  701. package/oj-c/tab-bar/__webdriver__/index.js +4 -4
  702. package/oj-c/tab-bar/__webdriver__/index.js.map +1 -1
  703. package/oj-c/tab-bar/component.json +19 -9
  704. package/oj-c/tab-bar/tab-bar.js +13 -13
  705. package/oj-c/tab-bar-mixed/DataTabBarMixed.js +1 -2
  706. package/oj-c/tab-bar-mixed/DataTabBarMixedIcon.js +1 -2
  707. package/oj-c/tab-bar-mixed/__mocks__/@oracle/oraclejet-preact/UNSAFE_ConveyorBelt.js +1 -2
  708. package/oj-c/tab-bar-mixed/__mocks__/@oracle/oraclejet-preact/UNSAFE_TabBarMixed.js +5 -5
  709. package/oj-c/tab-bar-mixed/__webdriver__/TabBarMixedWebElement.js +4 -4
  710. package/oj-c/tab-bar-mixed/__webdriver__/TabBarMixedWebElement.js.map +1 -1
  711. package/oj-c/tab-bar-mixed/__webdriver__/TabBarMixedWebElementBase.d.ts +4 -4
  712. package/oj-c/tab-bar-mixed/__webdriver__/TabBarMixedWebElementBase.js +1 -1
  713. package/oj-c/tab-bar-mixed/__webdriver__/TabBarMixedWebElementBase.js.map +1 -1
  714. package/oj-c/tab-bar-mixed/__webdriver__/index.js +4 -4
  715. package/oj-c/tab-bar-mixed/__webdriver__/index.js.map +1 -1
  716. package/oj-c/tab-bar-mixed/component.json +11 -11
  717. package/oj-c/tab-bar-mixed/environment.js +1 -2
  718. package/oj-c/tab-bar-mixed/sumBadge.js +1 -2
  719. package/oj-c/tab-bar-mixed/tab-bar-mixed.js +7 -7
  720. package/oj-c/table/__webdriver__/TableWebElement.js +14 -14
  721. package/oj-c/table/__webdriver__/TableWebElement.js.map +1 -1
  722. package/oj-c/table/__webdriver__/TableWebElementBase.d.ts +1 -1
  723. package/oj-c/table/__webdriver__/TableWebElementBase.js +1 -1
  724. package/oj-c/table/__webdriver__/TableWebElementBase.js.map +1 -1
  725. package/oj-c/table/__webdriver__/index.js +4 -4
  726. package/oj-c/table/__webdriver__/index.js.map +1 -1
  727. package/oj-c/table/component.json +52 -4
  728. package/oj-c/table/table-styles.css +0 -13
  729. package/oj-c/table/table.js +45 -24
  730. package/oj-c/tag-cloud/__webdriver__/TagCloudWebElement.js +1 -1
  731. package/oj-c/tag-cloud/__webdriver__/TagCloudWebElement.js.map +1 -1
  732. package/oj-c/tag-cloud/__webdriver__/TagCloudWebElementBase.d.ts +13 -0
  733. package/oj-c/tag-cloud/__webdriver__/TagCloudWebElementBase.js +10 -1
  734. package/oj-c/tag-cloud/__webdriver__/TagCloudWebElementBase.js.map +1 -1
  735. package/oj-c/tag-cloud/__webdriver__/index.js +4 -4
  736. package/oj-c/tag-cloud/__webdriver__/index.js.map +1 -1
  737. package/oj-c/tag-cloud/component.json +52 -3
  738. package/oj-c/tag-cloud/tag-cloud-styles.css +1 -1
  739. package/oj-c/tag-cloud/tag-cloud.js +8 -6
  740. package/oj-c/tag-cloud/utils.js +2 -3
  741. package/oj-c/tag-cloud-item/component.json +2 -2
  742. package/oj-c/text-area/__webdriver__/TextAreaWebElement.js +4 -8
  743. package/oj-c/text-area/__webdriver__/TextAreaWebElement.js.map +1 -1
  744. package/oj-c/text-area/__webdriver__/TextAreaWebElementBase.d.ts +1 -1
  745. package/oj-c/text-area/__webdriver__/TextAreaWebElementBase.js +2 -2
  746. package/oj-c/text-area/__webdriver__/TextAreaWebElementBase.js.map +1 -1
  747. package/oj-c/text-area/__webdriver__/index.js +4 -4
  748. package/oj-c/text-area/__webdriver__/index.js.map +1 -1
  749. package/oj-c/text-area/component.json +10 -3
  750. package/oj-c/text-area/useTextAreaAutosizePreact.js +3 -4
  751. package/oj-c/text-area/useTextAreaPreact.js +3 -4
  752. package/oj-c/toggle-button/__webdriver__/ToggleButtonWebElement.js +1 -1
  753. package/oj-c/toggle-button/__webdriver__/ToggleButtonWebElement.js.map +1 -1
  754. package/oj-c/toggle-button/__webdriver__/ToggleButtonWebElementBase.js +1 -1
  755. package/oj-c/toggle-button/__webdriver__/ToggleButtonWebElementBase.js.map +1 -1
  756. package/oj-c/toggle-button/__webdriver__/index.js +4 -4
  757. package/oj-c/toggle-button/__webdriver__/index.js.map +1 -1
  758. package/oj-c/toggle-button/component.json +9 -10
  759. package/oj-c/toggle-button/toggle-button.js +26 -54
  760. package/oj-c/toolbar/__webdriver__/ToolbarWebElement.d.ts +8 -0
  761. package/oj-c/toolbar/__webdriver__/ToolbarWebElement.js +13 -0
  762. package/oj-c/toolbar/__webdriver__/ToolbarWebElement.js.map +1 -0
  763. package/oj-c/toolbar/__webdriver__/ToolbarWebElementBase.d.ts +51 -0
  764. package/oj-c/toolbar/__webdriver__/ToolbarWebElementBase.js +68 -0
  765. package/oj-c/toolbar/__webdriver__/ToolbarWebElementBase.js.map +1 -0
  766. package/oj-c/toolbar/__webdriver__/index.d.ts +17 -0
  767. package/oj-c/toolbar/__webdriver__/index.js +34 -0
  768. package/oj-c/toolbar/__webdriver__/index.js.map +1 -0
  769. package/oj-c/toolbar/component.json +183 -0
  770. package/oj-c/toolbar/index.js +6 -0
  771. package/oj-c/toolbar/items-toolbar.js +100 -0
  772. package/oj-c/toolbar/itemsTypes.js +4 -0
  773. package/oj-c/toolbar/toolbar-styles.css +21 -0
  774. package/oj-c/toolbar/toolbar.js +10 -0
  775. package/oj-c/toolbar.js +6 -0
  776. package/oj-c/types/area-chart/area-chart.d.ts +37 -2
  777. package/oj-c/types/area-chart/index.d.ts +1 -1
  778. package/oj-c/types/avatar/avatar.d.ts +6 -6
  779. package/oj-c/types/button/button.d.ts +11 -12
  780. package/oj-c/types/buttonset-multiple/buttonset-multiple.d.ts +9 -10
  781. package/oj-c/types/buttonset-single/buttonset-single.d.ts +9 -10
  782. package/oj-c/types/card-view/card-view.d.ts +6 -1
  783. package/oj-c/types/card-view/useCardViewPreact.d.ts +6 -22
  784. package/oj-c/types/checkbox/useCheckboxPreact.d.ts +11 -11
  785. package/oj-c/types/checkboxset/useCheckboxsetPreact.d.ts +6 -23
  786. package/oj-c/types/date-picker/date-picker.d.ts +15 -15
  787. package/oj-c/types/dialog/dialog.d.ts +184 -0
  788. package/oj-c/types/dialog/index.d.ts +2 -0
  789. package/oj-c/types/drawer-popup/drawer-popup.d.ts +5 -0
  790. package/oj-c/types/editable-value/UNSAFE_useDeferredValidators/useDeferredValidators.d.ts +3 -1
  791. package/oj-c/types/file-picker/file-picker.d.ts +2 -2
  792. package/oj-c/types/form-layout/form-layout.d.ts +1 -0
  793. package/oj-c/types/hooks/PRIVATE_useSelectionContext/ItemKeyContext.d.ts +3 -0
  794. package/oj-c/types/hooks/PRIVATE_useSelectionContext/SelectionContext.d.ts +11 -0
  795. package/oj-c/types/hooks/PRIVATE_useSelectionContext/useItemKeyContext.d.ts +1 -0
  796. package/oj-c/types/hooks/PRIVATE_useSelectionContext/useSelectionContext.d.ts +1 -0
  797. package/oj-c/types/hooks/PRIVATE_useVisContextMenu/useVisContextMenu.d.ts +24 -0
  798. package/oj-c/types/hooks/PRIVATE_useVisData/useVisData.d.ts +1 -1
  799. package/oj-c/types/hooks/UNSAFE_useChartData/useChartData.d.ts +1 -0
  800. package/oj-c/types/hooks/UNSAFE_useEditableValue/converterUtils.d.ts +3 -3
  801. package/oj-c/types/hooks/UNSAFE_useEditableValue/index.d.ts +2 -1
  802. package/oj-c/types/hooks/UNSAFE_useEditableValue/reducer.d.ts +8 -2
  803. package/oj-c/types/hooks/UNSAFE_useEditableValue/types.d.ts +3 -1
  804. package/oj-c/types/hooks/UNSAFE_useEditableValue/useEditableValue.d.ts +12 -3
  805. package/oj-c/types/hooks/UNSAFE_useEditableValue/utils.d.ts +3 -1
  806. package/oj-c/types/hooks/UNSAFE_useLegendPosition/useLegendPosition.d.ts +2 -2
  807. package/oj-c/types/hooks/UNSAFE_useListData/useListData.d.ts +1 -1
  808. package/oj-c/types/hooks/UNSAFE_useMergedFormContext/useMergedFormContext.d.ts +1 -1
  809. package/oj-c/types/hooks/UNSAFE_useVisBusyState/useVisBusyState.d.ts +3 -1
  810. package/oj-c/types/input-date-mask/useInputDateMaskPreact.d.ts +4 -29
  811. package/oj-c/types/input-date-picker/useInputDatePicker.d.ts +9 -43
  812. package/oj-c/types/input-date-text/useImplicitDateConverter.d.ts +1 -1
  813. package/oj-c/types/input-date-text/useInputDateTextPreact.d.ts +4 -36
  814. package/oj-c/types/input-month-mask/useInputMonthMaskPreact.d.ts +4 -28
  815. package/oj-c/types/input-number/input-number.d.ts +2 -2
  816. package/oj-c/types/input-number/useImplicitNumberConverter.d.ts +1 -1
  817. package/oj-c/types/input-number/useNumberInputTextPreact.d.ts +6 -46
  818. package/oj-c/types/input-password/useInputPasswordPreact.d.ts +4 -29
  819. package/oj-c/types/input-sensitive-text/useInputSensitiveTextPreact.d.ts +6 -32
  820. package/oj-c/types/input-text/useInputTextPreact.d.ts +6 -36
  821. package/oj-c/types/labelled-link/useLabelledLinkPreact.d.ts +5 -14
  822. package/oj-c/types/legend/events.d.ts +1 -1
  823. package/oj-c/types/legend/legend.d.ts +63 -20
  824. package/oj-c/types/legend/useSectionData.d.ts +4 -1
  825. package/oj-c/types/legend/utils.d.ts +3 -3
  826. package/oj-c/types/legend-utils/index.d.ts +1 -0
  827. package/oj-c/types/legend-utils/legendUtils.d.ts +5 -0
  828. package/oj-c/types/line-chart/index.d.ts +1 -1
  829. package/oj-c/types/line-chart/line-chart.d.ts +38 -2
  830. package/oj-c/types/list-item-layout/list-item-layout.d.ts +2 -2
  831. package/oj-c/types/list-view/list-view.d.ts +16 -2
  832. package/oj-c/types/list-view/useCurrentItemOverride.d.ts +6 -0
  833. package/oj-c/types/list-view/useHandleRemoveCurrentKey.d.ts +2 -2
  834. package/oj-c/types/list-view/useListViewPreact.d.ts +6 -10
  835. package/oj-c/types/menu-button/menu-button.d.ts +19 -13
  836. package/oj-c/types/meter-bar/meter-bar.d.ts +20 -20
  837. package/oj-c/types/meter-circle/meter-circle.d.ts +22 -22
  838. package/oj-c/types/popup/popup.d.ts +3 -7
  839. package/oj-c/types/progress-bar/progress-bar.d.ts +4 -4
  840. package/oj-c/types/progress-circle/progress-circle.d.ts +4 -4
  841. package/oj-c/types/radioset/useRadiosetPreact.d.ts +6 -22
  842. package/oj-c/types/rating-gauge/rating-gauge.d.ts +17 -17
  843. package/oj-c/types/select-multiple/select-multiple.d.ts +1 -0
  844. package/oj-c/types/select-multiple/useSelectMultiplePreact.d.ts +6 -6
  845. package/oj-c/types/select-multiple/useSyncValueAndValueItems.d.ts +3 -4
  846. package/oj-c/types/select-single/select-single.d.ts +1 -0
  847. package/oj-c/types/select-single/useSelectSinglePreact.d.ts +9 -9
  848. package/oj-c/types/select-single/useSyncValueAndValueItem.d.ts +3 -4
  849. package/oj-c/types/selector/selector.d.ts +4 -4
  850. package/oj-c/types/skeleton/index.d.ts +2 -0
  851. package/oj-c/types/skeleton/skeleton.d.ts +53 -0
  852. package/oj-c/types/split-menu-button/split-menu-button.d.ts +11 -12
  853. package/oj-c/types/tab-bar/ContentRenderer.d.ts +1 -2
  854. package/oj-c/types/tab-bar/DataTabBar.types.d.ts +12 -1
  855. package/oj-c/types/tab-bar/tab-bar.d.ts +17 -2
  856. package/oj-c/types/table/table.d.ts +5 -0
  857. package/oj-c/types/tag-cloud/index.d.ts +1 -1
  858. package/oj-c/types/tag-cloud/tag-cloud.d.ts +28 -2
  859. package/oj-c/types/tag-cloud/utils.d.ts +2 -1
  860. package/oj-c/types/text-area/useTextAreaAutosizePreact.d.ts +4 -33
  861. package/oj-c/types/text-area/useTextAreaPreact.d.ts +4 -33
  862. package/oj-c/types/toggle-button/toggle-button.d.ts +11 -12
  863. package/oj-c/types/toolbar/index.d.ts +2 -0
  864. package/oj-c/types/toolbar/items-toolbar.d.ts +15 -0
  865. package/oj-c/types/toolbar/itemsTypes.d.ts +70 -0
  866. package/oj-c/types/toolbar/toolbar.d.ts +74 -0
  867. package/oj-c/types/utils/PRIVATE_ItemsMenu/menuTypes.d.ts +2 -0
  868. package/oj-c/types/utils/PRIVATE_chartUtils/events.d.ts +1 -1
  869. package/oj-c/types/utils/PRIVATE_collectionUtils/collectionUtils.d.ts +17 -0
  870. package/oj-c/types/utils/PRIVATE_collectionUtils/index.d.ts +1 -0
  871. package/oj-c/unsafe/InputGroup/InputGroup.js +1 -2
  872. package/oj-c/utils/PRIVATE_ItemsMenu/items-menu.js +5 -5
  873. package/oj-c/utils/PRIVATE_ItemsMenu/menu-item-icon.js +1 -2
  874. package/oj-c/utils/PRIVATE_ItemsMenu/menu-select-items.js +1 -2
  875. package/oj-c/utils/PRIVATE_chartUtils/events.js +2 -2
  876. package/oj-c/utils/PRIVATE_chartUtils/legendUtils.js +3 -3
  877. package/oj-c/utils/PRIVATE_chartUtils/lineAreaUtils.js +4 -5
  878. package/oj-c/utils/PRIVATE_chartUtils/plotAreaUtils.js +1 -2
  879. package/oj-c/utils/PRIVATE_collectionUtils/collectionUtils.js +31 -0
  880. package/oj-c/utils/PRIVATE_collectionUtils/index.js +19 -0
  881. package/oj-c/utils/PRIVATE_toggleUtils/toggle-item-icon.js +1 -2
  882. package/oj-c/utils/PRIVATE_toggleUtils/widthStyle.js +1 -2
  883. package/package.json +4 -4
  884. package/webdriver/docs/assets/navigation.js +1 -1
  885. package/webdriver/docs/assets/search.js +1 -1
  886. package/webdriver/docs/classes/ActionCardWebElement.html +1 -1
  887. package/webdriver/docs/classes/AreaChartWebElement.html +6 -2
  888. package/webdriver/docs/classes/AvatarWebElement.html +1 -1
  889. package/webdriver/docs/classes/ButtonWebElement.html +1 -1
  890. package/webdriver/docs/classes/ButtonsetMultipleWebElement.html +1 -1
  891. package/webdriver/docs/classes/ButtonsetSingleWebElement.html +1 -1
  892. package/webdriver/docs/classes/CardViewWebElement.html +3 -3
  893. package/webdriver/docs/classes/CheckboxWebElement.html +1 -1
  894. package/webdriver/docs/classes/CheckboxsetWebElement.html +7 -6
  895. package/webdriver/docs/classes/CollapsibleWebElement.html +1 -1
  896. package/webdriver/docs/classes/ConveyorBeltWebElement.html +1 -1
  897. package/webdriver/docs/classes/DatePickerWebElement.html +1 -1
  898. package/webdriver/docs/classes/DialogWebElement.html +173 -0
  899. package/webdriver/docs/classes/DrawerLayoutWebElement.html +1 -1
  900. package/webdriver/docs/classes/DrawerPopupWebElement.html +22 -15
  901. package/webdriver/docs/classes/FilePickerWebElement.html +6 -6
  902. package/webdriver/docs/classes/FormLayoutWebElement.html +5 -4
  903. package/webdriver/docs/classes/HighlightTextWebElement.html +1 -1
  904. package/webdriver/docs/classes/InputDateMaskWebElement.html +5 -4
  905. package/webdriver/docs/classes/InputDatePickerWebElement.html +5 -4
  906. package/webdriver/docs/classes/InputDateTextWebElement.html +5 -4
  907. package/webdriver/docs/classes/InputMonthMaskWebElement.html +5 -4
  908. package/webdriver/docs/classes/InputNumberWebElement.html +7 -6
  909. package/webdriver/docs/classes/InputPasswordWebElement.html +5 -4
  910. package/webdriver/docs/classes/InputSensitiveTextWebElement.html +5 -4
  911. package/webdriver/docs/classes/InputTextWebElement.html +5 -4
  912. package/webdriver/docs/classes/LabelledLinkWebElement.html +5 -4
  913. package/webdriver/docs/classes/LegendWebElement.html +6 -2
  914. package/webdriver/docs/classes/LineChartWebElement.html +6 -2
  915. package/webdriver/docs/classes/ListItemLayoutWebElement.html +1 -1
  916. package/webdriver/docs/classes/ListViewWebElement.html +23 -7
  917. package/webdriver/docs/classes/MenuButtonWebElement.html +1 -1
  918. package/webdriver/docs/classes/MessageBannerWebElement.html +1 -1
  919. package/webdriver/docs/classes/MessageToastWebElement.html +1 -1
  920. package/webdriver/docs/classes/MeterBarWebElement.html +1 -1
  921. package/webdriver/docs/classes/MeterCircleWebElement.html +1 -1
  922. package/webdriver/docs/classes/PopupWebElement.html +19 -21
  923. package/webdriver/docs/classes/ProgressBarWebElement.html +1 -1
  924. package/webdriver/docs/classes/ProgressButtonWebElement.html +1 -1
  925. package/webdriver/docs/classes/ProgressCircleWebElement.html +1 -1
  926. package/webdriver/docs/classes/RadiosetWebElement.html +7 -6
  927. package/webdriver/docs/classes/RatingGaugeWebElement.html +1 -1
  928. package/webdriver/docs/classes/SelectMultipleWebElement.html +10 -9
  929. package/webdriver/docs/classes/SelectSingleWebElement.html +7 -6
  930. package/webdriver/docs/classes/SelectionCardWebElement.html +1 -1
  931. package/webdriver/docs/classes/SelectorAllWebElement.html +1 -1
  932. package/webdriver/docs/classes/SelectorWebElement.html +5 -5
  933. package/webdriver/docs/classes/SkeletonWebElement.html +115 -0
  934. package/webdriver/docs/classes/SplitMenuButtonWebElement.html +1 -1
  935. package/webdriver/docs/classes/TabBarMixedWebElement.html +4 -4
  936. package/webdriver/docs/classes/TabBarWebElement.html +9 -5
  937. package/webdriver/docs/classes/TableWebElement.html +1 -1
  938. package/webdriver/docs/classes/TagCloudWebElement.html +6 -2
  939. package/webdriver/docs/classes/TextAreaWebElement.html +5 -4
  940. package/webdriver/docs/classes/ToggleButtonWebElement.html +1 -1
  941. package/webdriver/docs/classes/ToolbarWebElement.html +127 -0
  942. package/webdriver/docs/functions/findActionCard.html +1 -1
  943. package/webdriver/docs/functions/findAreaChart.html +1 -1
  944. package/webdriver/docs/functions/findAvatar.html +1 -1
  945. package/webdriver/docs/functions/findButton.html +1 -1
  946. package/webdriver/docs/functions/findButtonsetMultiple.html +1 -1
  947. package/webdriver/docs/functions/findButtonsetSingle.html +1 -1
  948. package/webdriver/docs/functions/findCardView.html +1 -1
  949. package/webdriver/docs/functions/findCheckbox.html +1 -1
  950. package/webdriver/docs/functions/findCheckboxset.html +1 -1
  951. package/webdriver/docs/functions/findCollapsible.html +1 -1
  952. package/webdriver/docs/functions/findConveyorBelt.html +1 -1
  953. package/webdriver/docs/functions/findDatePicker.html +1 -1
  954. package/webdriver/docs/functions/findDialog.html +8 -0
  955. package/webdriver/docs/functions/findDrawerLayout.html +1 -1
  956. package/webdriver/docs/functions/findDrawerPopup.html +1 -1
  957. package/webdriver/docs/functions/findFilePicker.html +1 -1
  958. package/webdriver/docs/functions/findFormLayout.html +1 -1
  959. package/webdriver/docs/functions/findHighlightText.html +1 -1
  960. package/webdriver/docs/functions/findInputDateMask.html +1 -1
  961. package/webdriver/docs/functions/findInputDatePicker.html +1 -1
  962. package/webdriver/docs/functions/findInputDateText.html +1 -1
  963. package/webdriver/docs/functions/findInputMonthMask.html +1 -1
  964. package/webdriver/docs/functions/findInputNumber.html +1 -1
  965. package/webdriver/docs/functions/findInputPassword.html +1 -1
  966. package/webdriver/docs/functions/findInputSensitiveText.html +1 -1
  967. package/webdriver/docs/functions/findInputText.html +1 -1
  968. package/webdriver/docs/functions/findLabelledLink.html +1 -1
  969. package/webdriver/docs/functions/findLegend.html +1 -1
  970. package/webdriver/docs/functions/findLineChart.html +1 -1
  971. package/webdriver/docs/functions/findListItemLayout.html +1 -1
  972. package/webdriver/docs/functions/findListView.html +1 -1
  973. package/webdriver/docs/functions/findMenuButton.html +1 -1
  974. package/webdriver/docs/functions/findMessageBanner.html +1 -1
  975. package/webdriver/docs/functions/findMessageToast.html +1 -1
  976. package/webdriver/docs/functions/findMeterBar.html +1 -1
  977. package/webdriver/docs/functions/findMeterCircle.html +1 -1
  978. package/webdriver/docs/functions/findPopup.html +1 -1
  979. package/webdriver/docs/functions/findProgressBar.html +1 -1
  980. package/webdriver/docs/functions/findProgressButton.html +1 -1
  981. package/webdriver/docs/functions/findProgressCircle.html +1 -1
  982. package/webdriver/docs/functions/findRadioset.html +1 -1
  983. package/webdriver/docs/functions/findRatingGauge.html +1 -1
  984. package/webdriver/docs/functions/findSelectMultiple.html +1 -1
  985. package/webdriver/docs/functions/findSelectSingle.html +1 -1
  986. package/webdriver/docs/functions/findSelectionCard.html +1 -1
  987. package/webdriver/docs/functions/findSelector.html +1 -1
  988. package/webdriver/docs/functions/findSelectorAll.html +1 -1
  989. package/webdriver/docs/functions/findSkeleton.html +8 -0
  990. package/webdriver/docs/functions/findSplitMenuButton.html +1 -1
  991. package/webdriver/docs/functions/findTabBar.html +1 -1
  992. package/webdriver/docs/functions/findTabBarMixed.html +1 -1
  993. package/webdriver/docs/functions/findTable.html +1 -1
  994. package/webdriver/docs/functions/findTagCloud.html +1 -1
  995. package/webdriver/docs/functions/findTextArea.html +1 -1
  996. package/webdriver/docs/functions/findToggleButton.html +1 -1
  997. package/webdriver/docs/functions/findToolbar.html +8 -0
  998. package/webdriver/docs/index.html +1 -1
  999. package/webdriver/docs/modules.html +7 -1
  1000. package/webdriver/index.d.ts +3 -0
  1001. package/webdriver/index.js +3 -0
  1002. package/webdriver/index.js.map +1 -1
  1003. package/webdriver/index.ts +4 -1
  1004. package/oj-c/editable-value/UNSAFE_useComponentMessaging/useComponentMessaging.js +0 -80
  1005. package/oj-c/editable-value/UNSAFE_useConverter/useConverter.js +0 -55
  1006. package/oj-c/editable-value/UNSAFE_useConverterLifecycle/useConverterLifecycle.js +0 -26
  1007. package/oj-c/editable-value/UNSAFE_useEditableValue/useEditableValue.js +0 -152
  1008. package/oj-c/editable-value/UNSAFE_useValidationLifecycle/useValidationLifecycle.js +0 -138
  1009. package/oj-c/editable-value/UNSAFE_useValidators/useValidators.js +0 -168
  1010. package/oj-c/editable-value/UNSAFE_useValue/useValue.js +0 -42
  1011. package/oj-c/editable-value/UNSAFE_useValueLifecycle/useValueLifecycle.js +0 -24
  1012. package/oj-c/editable-value/utils/utils.js +0 -43
  1013. package/oj-c/min/editable-value/UNSAFE_useComponentMessaging/useComponentMessaging.js +0 -80
  1014. package/oj-c/min/editable-value/UNSAFE_useConverter/useConverter.js +0 -55
  1015. package/oj-c/min/editable-value/UNSAFE_useConverterLifecycle/useConverterLifecycle.js +0 -26
  1016. package/oj-c/min/editable-value/UNSAFE_useEditableValue/useEditableValue.js +0 -152
  1017. package/oj-c/min/editable-value/UNSAFE_useValidationLifecycle/useValidationLifecycle.js +0 -138
  1018. package/oj-c/min/editable-value/UNSAFE_useValidators/useValidators.js +0 -168
  1019. package/oj-c/min/editable-value/UNSAFE_useValue/useValue.js +0 -42
  1020. package/oj-c/min/editable-value/UNSAFE_useValueLifecycle/useValueLifecycle.js +0 -24
  1021. package/oj-c/min/editable-value/utils/utils.js +0 -43
  1022. package/oj-c/min/select-common/UNSAFE_useWrapValueState/index.js +0 -6
  1023. package/oj-c/min/select-common/UNSAFE_useWrapValueState/useWrapValueState.js +0 -27
  1024. package/oj-c/select-common/UNSAFE_useWrapValueState/index.js +0 -6
  1025. package/oj-c/select-common/UNSAFE_useWrapValueState/useWrapValueState.js +0 -27
  1026. package/oj-c/types/editable-value/UNSAFE_useComponentMessaging/useComponentMessaging.d.ts +0 -24
  1027. package/oj-c/types/editable-value/UNSAFE_useConverter/useConverter.d.ts +0 -13
  1028. package/oj-c/types/editable-value/UNSAFE_useConverterLifecycle/useConverterLifecycle.d.ts +0 -11
  1029. package/oj-c/types/editable-value/UNSAFE_useEditableValue/useEditableValue.d.ts +0 -50
  1030. package/oj-c/types/editable-value/UNSAFE_useValidationLifecycle/useValidationLifecycle.d.ts +0 -17
  1031. package/oj-c/types/editable-value/UNSAFE_useValidators/useValidators.d.ts +0 -33
  1032. package/oj-c/types/editable-value/UNSAFE_useValue/useValue.d.ts +0 -23
  1033. package/oj-c/types/editable-value/UNSAFE_useValueLifecycle/useValueLifecycle.d.ts +0 -9
  1034. package/oj-c/types/editable-value/utils/utils.d.ts +0 -8
  1035. package/oj-c/types/select-common/UNSAFE_useWrapValueState/index.d.ts +0 -1
  1036. package/oj-c/types/select-common/UNSAFE_useWrapValueState/useWrapValueState.d.ts +0 -23
  1037. /package/oj-c/min/utils/{UNSAFE_keyUtils → PRIVATE_keyUtils}/index.js +0 -0
  1038. /package/oj-c/min/utils/{UNSAFE_keyUtils → PRIVATE_keyUtils}/keySetUtils.js +0 -0
  1039. /package/oj-c/types/utils/{UNSAFE_keyUtils → PRIVATE_keyUtils}/index.d.ts +0 -0
  1040. /package/oj-c/types/utils/{UNSAFE_keyUtils → PRIVATE_keyUtils}/keySetUtils.d.ts +0 -0
  1041. /package/oj-c/utils/{UNSAFE_keyUtils → PRIVATE_keyUtils}/index.js +0 -0
  1042. /package/oj-c/utils/{UNSAFE_keyUtils → PRIVATE_keyUtils}/keySetUtils.js +0 -0
@@ -1,2 +1,2 @@
1
- define("oj-c/hooks/UNSAFE_useMergedFormContext/useMergedFormContext",["require","exports","@oracle/oraclejet-preact/hooks/UNSAFE_useFormContext"],(function(require,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.useMergedFormContext=void 0,e.useMergedFormContext=function({propContainerReadonly:e,propLabelWrapping:t,propReadonly:s,propUserAssistanceDensity:r}){const n=(0,a.useFormContext)(),o=r??n.userAssistanceDensity,i=s??n.isReadonly,{isFormLayout:l,isReadonly:u,labelWrapping:d,...c}=n;return{containerProps:{...c,isFormLayout:void 0!==e||l,isReadonly:e??u,labelWrapping:t??d},readonlyValue:i,uadValue:o}}})),define("oj-c/editable-value/UNSAFE_useAssistiveText/useAssistiveText",["require","exports","preact/hooks"],(function(require,e,a){"use strict";function t(e,a,t,s,r,n){const o="compact"!==n?t?.definition:void 0;return e?.instruction||("none"===r?.validatorHint?void 0:a)||o||("none"===r?.converterHint?void 0:s)}function s(e){if(!e.length)return;return e.map((e=>"function"==typeof e.getHint?e.getHint():void 0)).filter(Boolean).join("\n")}Object.defineProperty(e,"__esModule",{value:!0}),e.useAssistiveText=void 0,e.useAssistiveText=function({addBusyState:e,converter:r,displayOptions:n,help:o,helpHints:i,userAssistanceDensity:l,validators:u}){const[d,c]=(0,a.useState)(u&&u.length?s(u):void 0),p=(0,a.useRef)();(0,a.useEffect)((()=>{if(!u||!u.length)return void c(void 0);c(s(u));const a=u.map((e=>e.hint)).filter(Boolean),t=p.current=Symbol(),r=e?.("resolving the async validator hints");Promise.allSettled(a).then((e=>{c((a=>{const s=e.map((e=>"fulfilled"===e.status?e.value:void 0)).filter(Boolean);return t===p.current&&s.length?[a,...s].join("\n"):a})),r?.()}))}),[u]);const v="compact"!==l?i?.sourceText:i?.definition||i?.sourceText;return{assistiveText:t(o,d,i,r?.getHint?.()??void 0,n,l),helpSourceLink:i?.source,helpSourceText:v}}})),define("oj-c/input-month-mask/CalendarMonthConverter",["require","exports","@oracle/oraclejet-preact/utils/UNSAFE_calendarDateUtils","ojs/ojconfig"],(function(require,e,a,t){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.CalendarMonthConverter=void 0;e.CalendarMonthConverter=class{constructor(e){this.locale=e?.locale??(0,t.getLocale)(),this.calendarMonthConverter_parseErrorFn=e?.calendarMonthConverter_parseErrorFn,this.customMask=e?.customMask}format(e){if(!(0,a.isCompleteCalendarMonth)(e))throw new Error("value must have year and month");return e}parse(e){if(void 0!==e&&!(0,a.isCompleteCalendarMonth)(e)){const e=(new Date).getFullYear(),t=(0,a.formatIsoDateStrAsExample)(this.locale,`${e}-11-29`,this.customMask,"month"),s=this.calendarMonthConverter_parseErrorFn&&this.calendarMonthConverter_parseErrorFn({dateExample:t});throw new Error(s??"parse failed")}return e}}})),define("oj-c/input-month-mask/CalendarMonthRangeValidator",["require","exports"],(function(require,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.CalendarMonthRangeValidator=void 0;class a{constructor(e){if(e.min&&e.max&&a._compareCalendarMonths(e.min,e.max)>0)throw new Error("min must be less than max");this.defaultRangeOverflowMessageDetailFn=e.defaultRangeOverflowMessageDetailFn,this.defaultRangeUnderflowMessageDetailFn=e.defaultRangeUnderflowMessageDetailFn,this.min=e.min,this.max=e.max,this.dateRangeOverflowMessageDetail=e.dateRangeOverflowMessageDetail,this.dateRangeUnderflowMessageDetail=e.dateRangeUnderflowMessageDetail,this.formatObj=e.formatObj}validate(e){const t=this.dateRangeOverflowMessageDetail,s=this.dateRangeUnderflowMessageDetail,r=this.min,n=this.max;if(null===e)return;const o=e?this.formatObj.format(e):e;if(n&&a._compareCalendarMonths(e,n)>0){const e=this.formatObj.format(n),a=t?t({max:e,value:o}):this.defaultRangeOverflowMessageDetailFn({max:e});throw new Error(a)}if(r&&a._compareCalendarMonths(e,r)<0){const e=this.formatObj.format(r),a=s?s({min:e,value:o}):this.defaultRangeUnderflowMessageDetailFn({min:e});throw new Error(a)}return e}static _compareCalendarMonths(e,a){return e.year===a.year&&e.month===a.month?0:e.year===a.year?e.month>a.month?1:-1:e.year>a.year?1:-1}}e.CalendarMonthRangeValidator=a})),define("oj-c/input-month-mask/useImplicitCalendarMonthRangeValidator",["require","exports","preact/hooks","./CalendarMonthRangeValidator","@oracle/oraclejet-preact/hooks/UNSAFE_useTranslationBundle"],(function(require,e,a,t,s){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.useImplicitCalendarMonthRangeValidator=void 0,e.useImplicitCalendarMonthRangeValidator=function({formatObj:e,dateRangeOverflowMessageDetail:r,dateRangeUnderflowMessageDetail:n,max:o,min:i}){const l=(0,s.useTranslationBundle)("@oracle/oraclejet-preact"),u=l.inputMonthMask_dateRangeOverflowMessageDetail,d=l.inputMonthMask_dateRangeUnderflowMessageDetail;return(0,a.useMemo)((()=>void 0!==i||void 0!==o?new t.CalendarMonthRangeValidator({defaultRangeOverflowMessageDetailFn:u,defaultRangeUnderflowMessageDetailFn:d,formatObj:e,max:o,min:i,dateRangeOverflowMessageDetail:r,dateRangeUnderflowMessageDetail:n}):null),[e,r,n,u,d,i,o])}})),define("oj-c/editable-value/utils/utils",["require","exports"],(function(require,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.isShallowEqual=e.normalizeValue=e.treatNull=e.getVirtualKeyboardHintFromConverter=e.createMessageFromError=void 0,e.createMessageFromError=function(e){return"function"==typeof e.getMessage?{severity:"error",detail:e.getMessage().detail}:{severity:"error",detail:e.message}},e.getVirtualKeyboardHintFromConverter=function(e){let a;if(e&&e.resolvedOptions){const t=e.resolvedOptions();a=t?.virtualKeyboardHint??"text"}else a="text";return a},e.treatNull=function(e,a){return null===e?a:e},e.normalizeValue=function(e){return"string"==typeof e&&""===e?null:e};e.isShallowEqual=(e,a)=>e===a||e.length===a.length&&e.every(((e,t)=>e===a[t]))})),define("oj-c/hooks/UNSAFE_useEditableValue/utils",["require","exports"],(function(require,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.treatNull=e.normalizeValue=e.isShallowEqual=e.hasErrorMessages=e.createMessageFromError=void 0;e.createMessageFromError=e=>"function"==typeof e.getMessage?{severity:"error",detail:e.getMessage().detail}:{severity:"error",detail:e.message};e.treatNull=(e,a)=>null===e?a:e;e.normalizeValue=e=>"string"==typeof e&&""===e?null:e;e.isShallowEqual=(e,a)=>e===a||e.length===a.length&&e.every(((e,t)=>e===a[t]));e.hasErrorMessages=e=>!!e&&e.some((e=>"error"===e.severity))})),define("oj-c/hooks/UNSAFE_useEditableValue/converterUtils",["require","exports","./utils"],(function(require,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.parse=e.format=void 0,e.parse=function(e,t){if(void 0===e)return{result:"success",value:null};if(""===(s=e)||null===s)return{result:"success",value:e};var s;try{return{result:"success",value:t.parse(e)}}catch(e){return{result:"failure",error:(0,a.createMessageFromError)(e)}}},e.format=function(e,t,s){if(function(e){return null===e}(e))return{result:"success",value:t};try{return{result:"success",value:s.format(e)}}catch(e){return{result:"failure",error:(0,a.createMessageFromError)(e)}}}})),define("oj-c/editable-value/UNSAFE_useStaleIdentity/useStaleIdentity",["require","exports","preact/hooks"],(function(require,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.useStaleIdentity=void 0,e.useStaleIdentity=function(){const e=(0,a.useRef)(new Map);return{setStaleIdentity:(0,a.useCallback)((a=>{const t=Symbol();return e.current.set(a,t),{isStale:()=>t!==e.current.get(a)}}),[])}}})),define("oj-c/hooks/UNSAFE_useEditableValue/reducer",["require","exports"],(function(require,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.updateValue=e.updateValidStatus=e.updatePreviousValue=e.updatePreviousValidators=e.updatePreviousReadonly=e.updatePreviousDisabled=e.updatePreviousDeferredValidators=e.updatePreviousConverter=e.updateHiddenMessages=e.updateDisplayValue=e.updateCustomMessages=e.updateComponentMessages=e.showHiddenMessages=e.clearAllMessages=e.addComponentMessage=e.reducer=void 0,e.reducer=function(e,a){const t=e.customMessages??[],s=e.hiddenMessages,r=e.componentMessages,n=e.shownMessages;switch(a.type){case"UPDATE_DISPLAY_VALUE":return{...e,displayValue:a.payload};case"UPDATE_VALID":return{...e,valid:a.payload};case"UPDATE_VALUE":return{...e,value:a.payload};case"UPDATE_PREVIOUS_CONVERTER":return{...e,previousConverter:a.payload};case"UPDATE_PREVIOUS_DEFERRED_VALIDATORS":return{...e,previousDeferredValidators:a.payload};case"UPDATE_PREVIOUS_DISABLED":return{...e,previousDisabled:a.payload};case"UPDATE_PREVIOUS_READONLY":return{...e,previousReadonly:a.payload};case"UPDATE_PREVIOUS_VALIDATORS":return{...e,previousValidators:a.payload};case"UPDATE_PREVIOUS_VALUE":return{...e,previousValue:a.payload};case"UPDATE_COMPONENT_MESSAGES":return{...e,componentMessages:a.payload,shownMessages:[...t,...a.payload]};case"UPDATE_HIDDEN_MESSAGES":return{...e,hiddenMessages:a.payload};case"UPDATE_CUSTOM_MESSAGES":return{...e,customMessages:a.payload,shownMessages:[...a.payload,...r]};case"CLEAR_ALL_MESSAGES":return{...e,shownMessages:[],hiddenMessages:[],customMessages:[],componentMessages:[]};case"ADD_COMPONENT_MESSAGE":return{...e,componentMessages:[...r,a.payload],shownMessages:[...n,a.payload]};case"SHOW_HIDDEN_MESSAGES":return 0===s.length?e:{...e,hiddenMessages:[],shownMessages:[...t,...r,...s]};default:return e}},e.updateDisplayValue=function(e,a,{onRawValueChanged:t}){e({type:"UPDATE_DISPLAY_VALUE",payload:a}),t?.(a)},e.updateValidStatus=function(e,a,{onValidChanged:t}){e({type:"UPDATE_VALID",payload:a}),t?.(a)},e.updateValue=function(e,a,{onValueChanged:t}){e({type:"UPDATE_VALUE",payload:a}),t?.(a)},e.updateComponentMessages=function(e,a){e({type:"UPDATE_COMPONENT_MESSAGES",payload:a})},e.updateHiddenMessages=function(e,a){e({type:"UPDATE_HIDDEN_MESSAGES",payload:a})},e.updateCustomMessages=function(e,a){e({type:"UPDATE_CUSTOM_MESSAGES",payload:a})},e.updatePreviousValue=function(e,a){e({type:"UPDATE_PREVIOUS_VALUE",payload:a})},e.updatePreviousConverter=function(e,a){e({type:"UPDATE_PREVIOUS_CONVERTER",payload:a})},e.updatePreviousDeferredValidators=function(e,a){e({type:"UPDATE_PREVIOUS_DEFERRED_VALIDATORS",payload:a})},e.updatePreviousDisabled=function(e,a){e({type:"UPDATE_PREVIOUS_DISABLED",payload:a})},e.updatePreviousReadonly=function(e,a){e({type:"UPDATE_PREVIOUS_READONLY",payload:a})},e.updatePreviousValidators=function(e,a){e({type:"UPDATE_PREVIOUS_VALIDATORS",payload:a})},e.clearAllMessages=function(e,a,{onMessagesCustomChanged:t}){e({type:"CLEAR_ALL_MESSAGES"}),t?.([])},e.showHiddenMessages=function(e){e({type:"SHOW_HIDDEN_MESSAGES"})},e.addComponentMessage=function(e,a){e({type:"ADD_COMPONENT_MESSAGE",payload:a})}})),define("oj-c/hooks/UNSAFE_useEditableValue/validationUtils",["require","exports","./utils"],(function(require,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.validateSync=e.validateAsync=void 0,e.validateSync=function({validators:e,value:t}){const s=[];for(const r of e)try{r.validate(t)}catch(e){s.push((0,a.createMessageFromError)(e))}return s.length?{result:"failure",errors:s}:{result:"success"}},e.validateAsync=function({validators:e,value:t}){const s=(e,t)=>{try{const s=e.validate(t);if(s instanceof Promise)return s.then((()=>{}),(e=>(0,a.createMessageFromError)(e)))}catch(e){return(0,a.createMessageFromError)(e)}},r=[],n=[];for(const a of e){const e=s(a,t);void 0!==e&&(e instanceof Promise?n.push(e):r.push(e))}return{errors:r,maybeErrorPromises:n}}})),define("oj-c/hooks/UNSAFE_useEditableValue/useEditableValue",["require","exports","preact/hooks","./converterUtils","./utils","oj-c/editable-value/UNSAFE_useStaleIdentity/useStaleIdentity","./reducer","./validationUtils"],(function(require,e,a,t,s,r,n,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.useEditableValue=void 0;const i=Symbol("ConverterError");e.useEditableValue=function({addBusyState:e,ariaDescribedBy:l,converter:u,defaultDisplayValue:d,deferredValidators:c,disabled:p,displayOptions:v,messagesCustom:g,onMessagesCustomChanged:m,onRawValueChanged:h,onValidChanged:f,onValueChanged:y,readonly:M,validators:E,value:S}){const V=(0,a.useRef)(!0),{setStaleIdentity:b}=(0,r.useStaleIdentity)(),[C,D]=(0,a.useReducer)(n.reducer,{shownMessages:[],hiddenMessages:[],customMessages:g,componentMessages:[],value:S,valid:"pending"},(e=>{const a=u?(0,t.format)(S,d,u):{result:"success",value:(0,s.treatNull)(S,d)};return{...e,displayValue:"success"===a.result?a.value:d}})),_=(0,a.useCallback)(((e,a)=>(e(D,a,{onMessagesCustomChanged:m,onRawValueChanged:h,onValidChanged:f,onValueChanged:y}),!0)),[D,m,h,f,y]),A=(0,a.useCallback)((e=>{const a="string"==typeof e?e.trim():e;return(0,o.validateSync)({validators:c??[],value:a})}),[c]),P=(0,a.useCallback)((e=>{let a;if(u){const r=(0,t.format)(e,d,u);"failure"===r.result?(_(n.updateComponentMessages,[r.error]),_(n.updateValidStatus,"invalidShown"),a=(0,s.treatNull)(e,d)):a=r.value}else a=(0,s.treatNull)(e,d);return _(n.updateDisplayValue,a),!0}),[u,_,d]),w=(0,a.useCallback)((()=>{if("invalidShown"!==C.valid)return C.value;if(!u)return(0,s.normalizeValue)(C.displayValue);const e=(0,t.parse)((0,s.normalizeValue)(C.displayValue),u);return"failure"===e.result?(_(n.updateComponentMessages,[e.error]),_(n.updateValidStatus,"invalidShown"),i):e.value}),[u,_,C.displayValue,C.valid,C.value]),R=(0,a.useCallback)((e=>{if(!u)return(0,s.normalizeValue)(e);const a=(0,t.parse)((0,s.normalizeValue)(e),u);return"failure"===a.result&&_(n.updateComponentMessages,[a.error])&&_(n.updateValidStatus,"invalidShown"),"success"===a.result?a.value:i}),[u,_]),j=(0,a.useCallback)((async(a,t={})=>{const{doNotClearMessagesCustom:r=!1}=t,i=r&&(0,s.hasErrorMessages)(g);if(_(n.updateValidStatus,"pending"),r?(_(n.updateComponentMessages,[]),_(n.updateHiddenMessages,[])):_(n.clearAllMessages),!(E&&0!==E.length||c&&0!==c.length))return _(n.updateValidStatus,i?"invalidShown":"valid"),!0;const l=[],u=A(a);let d;"failure"===u.result&&l.push(...u.errors),null!=a&&(d=(0,o.validateAsync)({validators:E??[],value:a})),l.push(...d?.errors??[]);const p=d?.maybeErrorPromises??[];if(!l.length&&!p.length)return _(n.updateValidStatus,i?"invalidShown":"valid"),!0;const v=0!==l.length;if(v&&_(n.updateComponentMessages,l)&&_(n.updateValidStatus,"invalidShown"),!p.length)return!v;const m=e?.("running asynchronous validation"),{isStale:h}=b("useEditableValue-full-validate");let f=!1;const y=[];for(const e of p){const a=e.then((e=>{e&&!h()&&(_(n.addComponentMessage,e),_(n.updateValidStatus,"invalidShown"),f=!0)}));y.push(a)}return await Promise.all(y),v||f||h()||_(n.updateValidStatus,i?"invalidShown":"valid"),m?.(),!v&&!f}),[e,_,c,g,b,A,E]),U=async()=>{if(p||M)return;const e=w();if(e===i)return;const a=e;await O(a,{doNotClearMessagesCustom:!0})&&_(n.updateValue,a)&&P(a)},O=(0,a.useCallback)((async(a,t={})=>{const{isStale:s}=b("useEditableValue-validateValueOnInternalChange"),r=e?.("Running validateValueOnInternalChange"),n=await j(a,t);return r?.(),!s()&&n}),[e,j,b]),k=(0,a.useCallback)((async(e,a=!0)=>{const t=await O(e);return t&&a&&_(n.updateValue,e),t}),[_,O]),x=(0,a.useCallback)((async({value:e})=>{const a=R(e);if(a===i)return!1;const t=a,s=await k(t);return s&&P(t),s}),[k,R,P]),F=(0,a.useCallback)((({value:e})=>{_(n.updateDisplayValue,e??d)}),[_,d]),I=(0,a.useCallback)((async()=>{if(M||p)return"valid";const a=R(C.displayValue);if(a===i)return"invalid";const t=a,s=e?.("Running component method validate"),r=await j(t);return s?.(),r?(t!==C.value&&(_(n.updateValue,t),P(t)),"valid"):"invalid"}),[e,p,_,j,R,M,P,C.displayValue,C.value]),T=(0,a.useCallback)((()=>{_(n.clearAllMessages);const e=C.value,a=A(e);"failure"===a.result&&_(n.updateHiddenMessages,a.errors),_(n.updateValidStatus,"failure"===a.result?"invalidHidden":"valid"),P(C.value)}),[_,P,C.value,A]),N=(0,a.useCallback)((()=>{C.hiddenMessages&&C.hiddenMessages.length>0&&(_(n.showHiddenMessages),_(n.updateValidStatus,"invalidShown"))}),[_,C.hiddenMessages]);if(!V.current&&C.previousValue!==S&&(_(n.updatePreviousValue,S),S!==C.value)){_(n.clearAllMessages);const e=A(S);"success"===e.result&&_(n.updateValidStatus,"valid"),"failure"===e.result&&_(n.updateValidStatus,"invalidHidden")&&_(n.updateHiddenMessages,e.errors),_(n.updateValue,S),P(S)}if(V.current||C.previousConverter===u||(_(n.updatePreviousConverter,u),"invalidShown"!==C.valid&&P(S),"invalidShown"===C.valid&&U()),V.current||C.previousValidators===E||(_(n.updatePreviousValidators,E),"invalidShown"===C.valid&&U()),!V.current&&(!C.customMessages&&g||C.customMessages&&!g||C.customMessages&&g&&!(0,s.isShallowEqual)(C.customMessages,g))){const e=C.componentMessages??[],a=C.hiddenMessages??[],t=g??[],r=(0,s.hasErrorMessages)(t),o=a.length>0,i=0===e.length&&0===a.length&&0===t.length;_(n.updateCustomMessages,t),r&&_(n.updateValidStatus,"invalidShown"),!r&&"pending"!==C.valid&&(i&&_(n.updateValidStatus,"valid")||o&&_(n.updateValidStatus,"invalidHidden"))}if(!V.current&&(C.previousDeferredValidators!==c||C.previousDisabled!==p||C.previousReadonly!==M)){const e=0===c?.length;if(C.previousDeferredValidators!==c&&_(n.updatePreviousDeferredValidators,c),C.previousDisabled!==p&&_(n.updatePreviousDisabled,p),C.previousReadonly!==M&&_(n.updatePreviousReadonly,M),e||!M&&!p)switch(C.valid){case"valid":const e=w();if(e!==i){const a=A(e);"failure"===a.result&&_(n.updateHiddenMessages,a.errors)&&_(n.updateValidStatus,"invalidHidden")}break;case"invalidHidden":0===c?.length&&(_(n.updateValidStatus,"valid"),_(n.updateHiddenMessages,[]));break;case"invalidShown":U()}}return V.current&&(V.current=!1),(0,a.useEffect)((()=>{if(_(n.updatePreviousValue,S),_(n.updatePreviousConverter,u),_(n.updatePreviousValidators,E),_(n.updatePreviousDeferredValidators,c),_(n.updatePreviousDisabled,p),_(n.updatePreviousReadonly,M),_(n.updateCustomMessages,g),p||M)_(n.updateValidStatus,"valid"),P(S);else{const e=A(S);"failure"===e.result&&_(n.updateHiddenMessages,e.errors)&&_(n.updateValidStatus,(0,s.hasErrorMessages)(g)?"invalidShown":"invalidHidden"),"success"===e.result&&_(n.updateValidStatus,(0,s.hasErrorMessages)(g)?"invalidShown":"valid")&&P(S)}}),[]),{value:C.value,displayValue:C.displayValue,methods:{reset:T,showMessages:N,validate:I},onCommitValue:k,refreshDisplayValue:P,textFieldProps:{"aria-describedby":l,messages:"none"!==v?.messages?C.shownMessages:void 0,onCommit:x,onInput:F,value:C.displayValue}}}})),define("oj-c/editable-value/UNSAFE_useDeferredValidators/useDeferredValidators",["require","exports","ojs/ojvalidator-required","preact/hooks","@oracle/oraclejet-preact/hooks/UNSAFE_useTranslationBundle"],(function(require,e,a,t,s){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.useDeferredValidators=void 0,e.useDeferredValidators=function({labelHint:e,required:r,requiredMessageDetail:n}){const o=(0,s.useTranslationBundle)("@oracle/oraclejet-preact"),i=n||o.formControl_requiredMessageDetail(),l=(0,t.useMemo)((()=>r?new a({label:e,messageDetail:i}):null),[r]);return(0,t.useMemo)((()=>[l].filter(Boolean)),[l])}})),define("oj-c/input-month-mask/useInputMonthMaskPreact",["require","exports","./CalendarMonthConverter","preact/hooks","@oracle/oraclejet-preact/hooks/UNSAFE_useTranslationBundle","ojs/ojconverter-preferences","@oracle/oraclejet-preact/utils/UNSAFE_calendarDateUtils","./useImplicitCalendarMonthRangeValidator","oj-c/editable-value/utils/utils","ojs/ojconfig","oj-c/hooks/UNSAFE_useEditableValue/useEditableValue","oj-c/editable-value/UNSAFE_useDeferredValidators/useDeferredValidators"],(function(require,e,a,t,s,r,n,o,i,l,u,d){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.useInputMonthMaskPreact=void 0,e.useInputMonthMaskPreact=function({dateRangeOverflowMessageDetail:e,dateRangeUnderflowMessageDetail:r,disabled:v,displayOptions:g,labelEdge:m,labelHint:h,labelStartWidth:f,max:y,messagesCustom:M,min:E,readonly:S,required:V,requiredMessageDetail:b,textAlign:C,userAssistanceDensity:D,validators:_,value:A,onMessagesCustomChanged:P,onRawValueChanged:w,onValidChanged:R,onValueChanged:j,...U},O){const k=(0,i.treatNull)(E),x=(0,i.treatNull)(y),F=(0,s.useTranslationBundle)("@oracle/oraclejet-preact").calendarMonthConverter_parseError,I=(0,t.useMemo)((()=>p()),[]),T=(0,t.useMemo)((()=>new a.CalendarMonthConverter({calendarMonthConverter_parseErrorFn:F,customMask:I})),[F,I]),N=(0,t.useMemo)((()=>({format:e=>(0,n.formatCalendarMonthRequiredAsExample)((0,l.getLocale)(),e,I)})),[I]),H=(0,o.useImplicitCalendarMonthRangeValidator)({formatObj:N,dateRangeOverflowMessageDetail:e,dateRangeUnderflowMessageDetail:r,max:x,min:k}),q=(0,t.useMemo)((()=>[...H?[H]:[],..._||[]]),[H,_]),L=(0,d.useDeferredValidators)({labelHint:h,required:V,requiredMessageDetail:b}),{methods:B,textFieldProps:W,value:G}=(0,u.useEditableValue)({addBusyState:O,ariaDescribedBy:U["aria-describedby"],converter:T,defaultDisplayValue:void 0,deferredValidators:L,disabled:v,displayOptions:g,messagesCustom:M,onMessagesCustomChanged:P,onRawValueChanged:w,onValidChanged:R,onValueChanged:j,readonly:S,validators:q,value:A}),z=void 0===G||!c(W.value);return{methods:B,inputMonthMaskProps:{isDisabled:v,isReadonly:S,isRequired:V,isRequiredShown:V&&("compact"===D||z),label:h,labelEdge:m,labelStartWidth:f,masks:I,textAlign:C,userAssistanceDensity:D,...W}}};const c=e=>void 0!==e&&(void 0!==e.year||void 0!==e.month),p=()=>{const e=(0,r.getDateTimePreferences)(),a=e.dateStyle?.short?.pattern;if(!a||a.toUpperCase().includes("MMM"))return;const t=(0,n.getDatePlaceholdersFromPattern)(a);return(0,n.getMonthYearPlaceholdersFromDatePlaceholders)(t)}})),define("oj-c/input-month-mask/input-month-mask",["require","exports","preact/jsx-runtime","@oracle/oraclejet-preact/translationBundle","@oracle/oraclejet-preact/hooks/UNSAFE_useFormContext","oj-c/hooks/UNSAFE_useMergedFormContext/useMergedFormContext","@oracle/oraclejet-preact/hooks/UNSAFE_useFormVariantContext","@oracle/oraclejet-preact/hooks/UNSAFE_useTabbableMode","@oracle/oraclejet-preact/UNSAFE_InputDateMask","oj-c/editable-value/UNSAFE_useAssistiveText/useAssistiveText","ojs/ojcontext","ojs/ojvcomponent","preact/compat","preact/hooks","./useInputMonthMaskPreact","@oracle/oraclejet-preact/utils/UNSAFE_styles/Layout","@oracle/oraclejet-preact/utils/UNSAFE_calendarDateUtils","css!oj-c/input-month-mask/input-month-mask-styles.css"],(function(require,e,a,t,s,r,n,o,i,l,u,d,c,p,v,g,m){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.InputMonthMask=void 0;const h={messages:"display",validatorHint:"display"},f={instruction:""},y={definition:"",source:""},M=[],E=[];e.InputMonthMask=(0,d.registerCustomElement)("oj-c-input-month-mask",(0,c.forwardRef)((({columnSpan:e=1,containerReadonly:t,disabled:o=!1,displayOptions:c=h,help:S=f,helpHints:V=y,labelWrapping:b,messagesCustom:C=M,readonly:D,required:_=!1,userAssistanceDensity:A,validators:P=E,value:w=null,...R},j)=>{const U=(0,p.useRef)(),O=(0,p.useRef)(),k=(0,p.useCallback)(((e="InputMonthMask: busyState")=>U.current?u.getContext(U.current).getBusyContext().addBusyState({description:e}):()=>{}),[]),{containerProps:x,uadValue:F,readonlyValue:I}=(0,r.useMergedFormContext)({propContainerReadonly:t,propLabelWrapping:b,propReadonly:D,propUserAssistanceDensity:A}),{inputMonthMaskProps:T,methods:N}=(0,v.useInputMonthMaskPreact)({disabled:o,displayOptions:c,messagesCustom:C,readonly:I,required:_,userAssistanceDensity:F,validators:P,value:w,...R},k);(0,p.useImperativeHandle)(j,(()=>({blur:()=>O.current?.blur(),focus:()=>O.current?.focus(),...N})),[N]);const H=(0,l.useAssistiveText)({displayOptions:c,help:S,helpHints:V,userAssistanceDensity:T.userAssistanceDensity,validators:P}),q=(0,n.useFormVariantContext)();if(!(0,m.isValidCalendarMonthRequired)(w))throw new Error("If the value property is defined, it must be an object with year and month defined.");if(!(0,m.isValidCalendarMonthRequired)(R.min))throw new Error("If the min property is defined, it must be an object with year and month defined.");if(!(0,m.isValidCalendarMonthRequired)(R.max))throw new Error("If the max property is defined, it must be an object with year and month defined.");return(0,a.jsx)(d.Root,{id:R.id,ref:U,class:g.layoutSpanStyles.layoutSpanColumn[e],children:(0,a.jsx)(s.FormContext.Provider,{value:x,children:(0,a.jsx)(i.InputDateMask,{ref:O,...H,...T,variant:q,granularity:"month"})})})})),"InputMonthMask",{properties:{columnSpan:{type:"number"},containerReadonly:{type:"boolean",binding:{consume:{name:"containerReadonly"}}},dateRangeOverflowMessageDetail:{type:"function"},dateRangeUnderflowMessageDetail:{type:"function"},disabled:{type:"boolean"},displayOptions:{type:"object",properties:{messages:{type:"string",enumValues:["none","display"]},validatorHint:{type:"string",enumValues:["none","display"]}}},help:{type:"object",properties:{instruction:{type:"string"}}},helpHints:{type:"object",properties:{definition:{type:"string"},source:{type:"string"},sourceText:{type:"string"}}},labelEdge:{type:"string",enumValues:["none","start","top","inside"],binding:{consume:{name:"containerLabelEdge"}}},labelHint:{type:"string"},labelStartWidth:{type:"number|string",binding:{consume:{name:"labelWidth"}}},labelWrapping:{type:"string",enumValues:["truncate","wrap"],binding:{consume:{name:"labelWrapping"}}},max:{type:"object|null",properties:{year:{type:"number"},month:{type:"number"}}},messagesCustom:{type:"Array<object>",writeback:!0},min:{type:"object|null",properties:{year:{type:"number"},month:{type:"number"}}},readonly:{type:"boolean",binding:{consume:{name:"containerReadonly"}}},required:{type:"boolean"},requiredMessageDetail:{type:"string"},textAlign:{type:"string",enumValues:["end","start","right"]},userAssistanceDensity:{type:"string",enumValues:["compact","reflow","efficient"],binding:{consume:{name:"containerUserAssistanceDensity"}}},validators:{type:"Array<object>|null"},value:{type:"object|null",properties:{year:{type:"number"},month:{type:"number"}},writeback:!0},rawValue:{type:"object",properties:{year:{type:"number"},month:{type:"number"}},readOnly:!0,writeback:!0},valid:{type:"string",enumValues:["pending","valid","invalidHidden","invalidShown"],readOnly:!0,writeback:!0}},extension:{_WRITEBACK_PROPS:["messagesCustom","rawValue","valid","value"],_READ_ONLY_PROPS:["rawValue","valid"],_OBSERVED_GLOBAL_PROPS:["aria-describedby","id"]},methods:{blur:{},focus:{},showMessages:{},reset:{},validate:{}}},{columnSpan:1,disabled:!1,displayOptions:{messages:"display",validatorHint:"display"},help:{instruction:""},helpHints:{definition:"",source:""},messagesCustom:[],required:!1,validators:[],value:null},{"@oracle/oraclejet-preact":t.default},{consume:[n.FormVariantContext,o.TabbableModeContext]})})),define("oj-c/input-month-mask",["require","exports","oj-c/input-month-mask/input-month-mask"],(function(require,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.InputMonthMask=void 0,Object.defineProperty(e,"InputMonthMask",{enumerable:!0,get:function(){return a.InputMonthMask}})}));
1
+ define("oj-c/hooks/UNSAFE_useMergedFormContext/useMergedFormContext",["require","exports","@oracle/oraclejet-preact/hooks/UNSAFE_useFormContext"],(function(require,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.useMergedFormContext=function({propContainerReadonly:e,propLabelWrapping:t,propReadonly:s,propUserAssistanceDensity:r}){const n=(0,a.useFormContext)(),o=r??n.userAssistanceDensity,l=s??n.isReadonly,{isFormLayout:i,isReadonly:u,labelWrapping:d,...c}=n;return{containerProps:{...c,isFormLayout:void 0!==e||i,isReadonly:e??u,labelWrapping:t??d},readonlyValue:l,uadValue:o}}})),define("oj-c/editable-value/UNSAFE_useAssistiveText/useAssistiveText",["require","exports","preact/hooks"],(function(require,e,a){"use strict";function t(e,a,t,s,r,n){const o="compact"!==n?t?.definition:void 0;return e?.instruction||("none"===r?.validatorHint?void 0:a)||o||("none"===r?.converterHint?void 0:s)}function s(e){if(!e.length)return;return e.map((e=>"function"==typeof e.getHint?e.getHint():void 0)).filter(Boolean).join("\n")}Object.defineProperty(e,"__esModule",{value:!0}),e.useAssistiveText=function({addBusyState:e,converter:r,displayOptions:n,help:o,helpHints:l,userAssistanceDensity:i,validators:u}){const[d,c]=(0,a.useState)(u&&u.length?s(u):void 0),p=(0,a.useRef)();(0,a.useEffect)((()=>{if(!u||!u.length)return void c(void 0);c(s(u));const a=u.map((e=>e.hint)).filter(Boolean),t=p.current=Symbol(),r=e?.("resolving the async validator hints");Promise.allSettled(a).then((e=>{c((a=>{const s=e.map((e=>"fulfilled"===e.status?e.value:void 0)).filter(Boolean);return t===p.current&&s.length?[a,...s].join("\n"):a})),r?.()}))}),[u]);const m="compact"!==i?l?.sourceText:l?.definition||l?.sourceText;return{assistiveText:t(o,d,l,r?.getHint?.()??void 0,n,i),helpSourceLink:l?.source,helpSourceText:m}}})),define("oj-c/input-month-mask/CalendarMonthConverter",["require","exports","@oracle/oraclejet-preact/utils/UNSAFE_calendarDateUtils","ojs/ojconfig"],(function(require,e,a,t){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.CalendarMonthConverter=void 0;e.CalendarMonthConverter=class{constructor(e){this.locale=e?.locale??(0,t.getLocale)(),this.calendarMonthConverter_parseErrorFn=e?.calendarMonthConverter_parseErrorFn,this.customMask=e?.customMask}format(e){if(!(0,a.isCompleteCalendarMonth)(e))throw new Error("value must have year and month");return e}parse(e){if(void 0!==e&&!(0,a.isCompleteCalendarMonth)(e)){const e=(new Date).getFullYear(),t=(0,a.formatIsoDateStrAsExample)(this.locale,`${e}-11-29`,this.customMask,"month"),s=this.calendarMonthConverter_parseErrorFn&&this.calendarMonthConverter_parseErrorFn({dateExample:t});throw new Error(s??"parse failed")}return e}}})),define("oj-c/input-month-mask/CalendarMonthRangeValidator",["require","exports"],(function(require,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.CalendarMonthRangeValidator=void 0;class a{constructor(e){if(e.min&&e.max&&a._compareCalendarMonths(e.min,e.max)>0)throw new Error("min must be less than max");this.defaultRangeOverflowMessageDetailFn=e.defaultRangeOverflowMessageDetailFn,this.defaultRangeUnderflowMessageDetailFn=e.defaultRangeUnderflowMessageDetailFn,this.min=e.min,this.max=e.max,this.dateRangeOverflowMessageDetail=e.dateRangeOverflowMessageDetail,this.dateRangeUnderflowMessageDetail=e.dateRangeUnderflowMessageDetail,this.formatObj=e.formatObj}validate(e){const t=this.dateRangeOverflowMessageDetail,s=this.dateRangeUnderflowMessageDetail,r=this.min,n=this.max;if(null===e)return;const o=e?this.formatObj.format(e):e;if(n&&a._compareCalendarMonths(e,n)>0){const e=this.formatObj.format(n),a=t?t({max:e,value:o}):this.defaultRangeOverflowMessageDetailFn({max:e});throw new Error(a)}if(r&&a._compareCalendarMonths(e,r)<0){const e=this.formatObj.format(r),a=s?s({min:e,value:o}):this.defaultRangeUnderflowMessageDetailFn({min:e});throw new Error(a)}return e}static _compareCalendarMonths(e,a){return e.year===a.year&&e.month===a.month?0:e.year===a.year?e.month>a.month?1:-1:e.year>a.year?1:-1}}e.CalendarMonthRangeValidator=a})),define("oj-c/input-month-mask/useImplicitCalendarMonthRangeValidator",["require","exports","preact/hooks","./CalendarMonthRangeValidator","@oracle/oraclejet-preact/hooks/UNSAFE_useTranslationBundle"],(function(require,e,a,t,s){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.useImplicitCalendarMonthRangeValidator=function({formatObj:e,dateRangeOverflowMessageDetail:r,dateRangeUnderflowMessageDetail:n,max:o,min:l}){const i=(0,s.useTranslationBundle)("@oracle/oraclejet-preact"),u=i.inputMonthMask_dateRangeOverflowMessageDetail,d=i.inputMonthMask_dateRangeUnderflowMessageDetail;return(0,a.useMemo)((()=>void 0!==l||void 0!==o?new t.CalendarMonthRangeValidator({defaultRangeOverflowMessageDetailFn:u,defaultRangeUnderflowMessageDetailFn:d,formatObj:e,max:o,min:l,dateRangeOverflowMessageDetail:r,dateRangeUnderflowMessageDetail:n}):null),[e,r,n,u,d,l,o])}})),define("oj-c/hooks/UNSAFE_useEditableValue/utils",["require","exports"],(function(require,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.treatNull=e.normalizeValue=e.isShallowEqual=e.hasErrorMessages=e.getVirtualKeyboardHintFromConverter=e.createMessageFromError=void 0;e.createMessageFromError=e=>"function"==typeof e.getMessage?{severity:"error",detail:e.getMessage().detail}:{severity:"error",detail:e.message};e.treatNull=(e,a)=>null===e?a:e;e.normalizeValue=e=>"string"==typeof e&&""===e?null:e;e.isShallowEqual=(e,a)=>e===a||e.length===a.length&&e.every(((e,t)=>e===a[t]));e.hasErrorMessages=e=>!!e&&e.some((e=>"error"===e.severity));e.getVirtualKeyboardHintFromConverter=e=>{let a;if(e&&e.resolvedOptions){const t=e.resolvedOptions();a=t?.virtualKeyboardHint??"text"}else a="text";return a}})),define("oj-c/hooks/UNSAFE_useEditableValue/converterUtils",["require","exports","./utils"],(function(require,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.format=function(e,t,s){if(function(e){return null===e}(e))return{result:"success",value:t};try{return{result:"success",value:s.format(e)}}catch(e){return{result:"failure",error:(0,a.createMessageFromError)(e)}}},e.parse=function(e,t,s){if(void 0===e)return{result:"success",value:null};if(r=e,""===r||null===r)return{result:"success",value:e};var r;try{return{result:"success",value:t.parse(e)}}catch(e){return{result:"failure",error:s?.(e)??(0,a.createMessageFromError)(e)}}}})),define("oj-c/editable-value/UNSAFE_useStaleIdentity/useStaleIdentity",["require","exports","preact/hooks"],(function(require,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.useStaleIdentity=function(){const e=(0,a.useRef)(new Map);return{setStaleIdentity:(0,a.useCallback)((a=>{const t=Symbol();return e.current.set(a,t),{isStale:()=>t!==e.current.get(a)}}),[])}}})),define("oj-c/hooks/UNSAFE_useEditableValue/reducer",["require","exports"],(function(require,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.reducer=function(e,a){const t=e.customMessages??[],s=e.hiddenMessages,r=e.componentMessages,n=e.shownMessages;switch(a.type){case"UPDATE_DISPLAY_VALUE":return{...e,displayValue:a.payload};case"UPDATE_VALID":return{...e,valid:a.payload};case"UPDATE_VALUE":return{...e,value:a.payload};case"UPDATE_TRANSIENT_VALUE":return{...e,transientValue:a.payload};case"UPDATE_PREVIOUS_CONVERTER":return{...e,previousConverter:a.payload};case"UPDATE_PREVIOUS_DEFERRED_VALIDATORS":return{...e,previousDeferredValidators:a.payload};case"UPDATE_PREVIOUS_DISABLED":return{...e,previousDisabled:a.payload};case"UPDATE_PREVIOUS_READONLY":return{...e,previousReadonly:a.payload};case"UPDATE_PREVIOUS_VALIDATORS":return{...e,previousValidators:a.payload};case"UPDATE_PREVIOUS_VALUE":return{...e,previousValue:a.payload};case"UPDATE_COMPONENT_MESSAGES":return{...e,componentMessages:a.payload,shownMessages:[...t,...a.payload]};case"UPDATE_HIDDEN_MESSAGES":return{...e,hiddenMessages:a.payload};case"UPDATE_CUSTOM_MESSAGES":return{...e,customMessages:a.payload,shownMessages:[...a.payload,...r]};case"CLEAR_ALL_MESSAGES":return{...e,shownMessages:[],hiddenMessages:[],customMessages:[],componentMessages:[]};case"ADD_COMPONENT_MESSAGE":return{...e,componentMessages:[...r,a.payload],shownMessages:[...n,a.payload]};case"SHOW_HIDDEN_MESSAGES":return 0===s.length?e:{...e,hiddenMessages:[],shownMessages:[...t,...r,...s]};default:return e}},e.addComponentMessage=function(e,a){e({type:"ADD_COMPONENT_MESSAGE",payload:a})},e.clearAllMessages=function(e,a,{onMessagesCustomChanged:t}){e({type:"CLEAR_ALL_MESSAGES"}),t?.([])},e.showHiddenMessages=function(e){e({type:"SHOW_HIDDEN_MESSAGES"})},e.updateComponentMessages=function(e,a){e({type:"UPDATE_COMPONENT_MESSAGES",payload:a})},e.updateCustomMessages=function(e,a){e({type:"UPDATE_CUSTOM_MESSAGES",payload:a})},e.updateDisplayValue=function(e,a,{onRawValueChanged:t}){e({type:"UPDATE_DISPLAY_VALUE",payload:a}),t?.(a)},e.updateHiddenMessages=function(e,a){e({type:"UPDATE_HIDDEN_MESSAGES",payload:a})},e.updatePreviousConverter=function(e,a){e({type:"UPDATE_PREVIOUS_CONVERTER",payload:a})},e.updatePreviousDeferredValidators=function(e,a){e({type:"UPDATE_PREVIOUS_DEFERRED_VALIDATORS",payload:a})},e.updatePreviousDisabled=function(e,a){e({type:"UPDATE_PREVIOUS_DISABLED",payload:a})},e.updatePreviousReadonly=function(e,a){e({type:"UPDATE_PREVIOUS_READONLY",payload:a})},e.updatePreviousValidators=function(e,a){e({type:"UPDATE_PREVIOUS_VALIDATORS",payload:a})},e.updatePreviousValue=function(e,a){e({type:"UPDATE_PREVIOUS_VALUE",payload:a})},e.updateTransientValue=function(e,a,{onTransientValueChanged:t}){e({type:"UPDATE_TRANSIENT_VALUE",payload:a}),t?.(a)},e.updateValidStatus=function(e,a,{onValidChanged:t}){e({type:"UPDATE_VALID",payload:a}),t?.(a)},e.updateValue=function(e,a,{onValueChanged:t}){e({type:"UPDATE_VALUE",payload:a}),t?.(a)}})),define("oj-c/hooks/UNSAFE_useEditableValue/validationUtils",["require","exports","./utils"],(function(require,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.validateAsync=function({validators:e,value:t}){const s=(e,t)=>{try{const s=e.validate(t);if(s instanceof Promise)return s.then((()=>{}),(e=>(0,a.createMessageFromError)(e)))}catch(e){return(0,a.createMessageFromError)(e)}},r=[],n=[];for(const a of e){const e=s(a,t);void 0!==e&&(e instanceof Promise?n.push(e):r.push(e))}return{errors:r,maybeErrorPromises:n}},e.validateSync=function({validators:e,value:t}){const s=[];for(const r of e)try{r.validate(t)}catch(e){s.push((0,a.createMessageFromError)(e))}if(s.length)return{result:"failure",errors:s};return{result:"success"}}})),define("oj-c/hooks/UNSAFE_useEditableValue/useEditableValue",["require","exports","preact/hooks","./converterUtils","./utils","oj-c/editable-value/UNSAFE_useStaleIdentity/useStaleIdentity","./reducer","./validationUtils"],(function(require,e,a,t,s,r,n,o){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.useEditableValue=function({addBusyState:e,ariaDescribedBy:l,converter:i,defaultDisplayValue:u,deferredValidators:d,disabled:c,displayOptions:p,messagesCustom:m,onDisplayValueChanged:g,onMessagesCustomChanged:v,onRawValueChanged:h,onTransientValueChanged:f,onValidChanged:y,onValueChanged:M,translateConverterParseError:E,readonly:V,validators:b,value:S}){const C=(0,a.useRef)(!0),{setStaleIdentity:D}=(0,r.useStaleIdentity)(),[_,A]=(0,a.useReducer)(n.reducer,{shownMessages:[],hiddenMessages:[],customMessages:m,componentMessages:[],value:S,valid:"pending"},(e=>{const a=i?(0,t.format)(S,u,i):{result:"success",value:(0,s.treatNull)(S,u)};return{...e,displayValue:"success"===a.result?a.value:u}})),P=(0,a.useRef)(),R=(0,a.useCallback)((e=>{e!==P.current&&(P.current=e,y?.(e))}),[y]),w=(0,a.useCallback)(((e,a)=>(e(A,a,{onMessagesCustomChanged:v,onRawValueChanged:h,onTransientValueChanged:f,onValidChanged:R,onValueChanged:M}),!0)),[A,v,h,f,R,M]),j=(0,a.useCallback)((e=>{const a="string"==typeof e?e.trim():e;return(0,o.validateSync)({validators:d??[],value:a})}),[d]),U=(0,a.useCallback)((e=>{w(n.updateValue,e)}),[w]),O=(0,a.useCallback)((e=>{w(n.updateDisplayValue,e)}),[w]),k=(0,a.useCallback)((e=>{w(n.updateTransientValue,e)}),[w]),x=(0,a.useCallback)((e=>{let a;if(i){const r=(0,t.format)(e,u,i);"failure"===r.result?(w(n.updateComponentMessages,[r.error]),w(n.updateValidStatus,"invalidShown"),a=(0,s.treatNull)(e,u)):a=r.value}else a=(0,s.treatNull)(e,u);return a}),[i,u,w]),F=(0,a.useCallback)((e=>{const a=x(e);return w(n.updateDisplayValue,a),g?.(),!0}),[w,x,g]),T=(0,a.useCallback)((()=>"invalidShown"!==_.valid?{result:"success",value:_.value}:i?(0,t.parse)((0,s.normalizeValue)(_.displayValue),i,E):{result:"success",value:(0,s.normalizeValue)(_.displayValue)}),[i,_.displayValue,_.valid,_.value,E]),I=(0,a.useCallback)((e=>i?(0,t.parse)((0,s.normalizeValue)(e),i,E):{result:"success",value:(0,s.normalizeValue)(e)}),[i,E]),N=(0,a.useCallback)((e=>{const a=I(e);return"failure"===a.result&&(w(n.updateComponentMessages,[a.error]),w(n.updateValidStatus,"invalidShown")),a}),[w,I]),H=(0,a.useCallback)((async(a,t={})=>{const{doNotClearMessagesCustom:r=!1}=t,l=r&&(0,s.hasErrorMessages)(m);if(r?(w(n.updateComponentMessages,[]),w(n.updateHiddenMessages,[])):w(n.clearAllMessages),!(b&&0!==b.length||d&&0!==d.length))return w(n.updateValidStatus,l?"invalidShown":"valid"),!0;const i=[],u=j(a);let c;"failure"===u.result&&i.push(...u.errors),null!=a&&(c=(0,o.validateAsync)({validators:b??[],value:a})),i.push(...c?.errors??[]);const p=c?.maybeErrorPromises??[];if(!i.length&&!p.length)return w(n.updateValidStatus,l?"invalidShown":"valid"),!0;const g=0!==i.length;if(g&&w(n.updateComponentMessages,i)&&w(n.updateValidStatus,"invalidShown"),!p.length)return!g;!g&&w(n.updateValidStatus,"pending");const v=e?.("running asynchronous validation"),{isStale:h}=D("useEditableValue-full-validate");let f=!1;const y=[];for(const e of p){const a=e.then((e=>{e&&!h()&&(w(n.addComponentMessage,e),w(n.updateValidStatus,"invalidShown"),f=!0)}));y.push(a)}return await Promise.all(y),g||f||h()||w(n.updateValidStatus,l?"invalidShown":"valid"),v?.(),!g&&!f}),[e,w,d,m,D,j,b]),q=async()=>{if(c||V)return;const e=T();if("failure"===e.result)return w(n.updateComponentMessages,[e.error]),void w(n.updateValidStatus,"invalidShown");const a=e.value;await B(a,{doNotClearMessagesCustom:!0})&&w(n.updateValue,a)&&F(a)},L=(0,a.useCallback)((e=>{w(n.clearAllMessages);const a=j(e);return"failure"===a.result&&w(n.updateHiddenMessages,a.errors),w(n.updateValidStatus,"failure"===a.result?"invalidHidden":"valid"),!0}),[w,j]),B=(0,a.useCallback)((async(a,t={})=>{const{isStale:s}=D("useEditableValue-validateValueOnInternalChange"),r=e?.("Running validateValueOnInternalChange"),n=await H(a,t);return r?.(),!s()&&n}),[e,H,D]),W=(0,a.useCallback)((async(e,a=!0)=>{const t=await B(e);return t&&a&&w(n.updateValue,e),t}),[w,B]),G=(0,a.useCallback)((async({value:e})=>{const a=N(e);if("failure"===a.result)return!1;const t=a.value,s=await W(t);return s&&F(t),s}),[W,N,F]),K=(0,a.useCallback)((({value:e})=>{w(n.updateDisplayValue,e??u)}),[w,u]),Y=(0,a.useCallback)((async()=>{if(V||c)return"valid";const a=N(_.displayValue);if("failure"===a.result)return"invalid";const t=a.value,s=e?.("Running component method validate"),r=await H(t);return s?.(),r?(t!==_.value&&(w(n.updateValue,t),F(t)),"valid"):"invalid"}),[e,c,w,H,N,V,F,_.displayValue,_.value]),z=(0,a.useCallback)((()=>{L(_.value),F(_.value)}),[F,_.value,L]),$=(0,a.useCallback)((()=>{_.hiddenMessages&&_.hiddenMessages.length>0&&(w(n.showHiddenMessages),w(n.updateValidStatus,"invalidShown"))}),[w,_.hiddenMessages]);C.current||_.previousValue===S||(w(n.updatePreviousValue,S),S!==_.value&&(L(S),w(n.updateValue,S),F(S)));C.current||_.previousConverter===i||(w(n.updatePreviousConverter,i),"invalidShown"!==_.valid&&F(S),"invalidShown"===_.valid&&q());C.current||_.previousValidators===b||(w(n.updatePreviousValidators,b),"invalidShown"===_.valid&&q());if(!C.current&&(!_.customMessages&&m||_.customMessages&&!m||_.customMessages&&m&&!(0,s.isShallowEqual)(_.customMessages,m))){const e=_.componentMessages??[],a=_.hiddenMessages??[],t=m??[],r=(0,s.hasErrorMessages)(t),o=a.length>0,l=0===e.length&&0===a.length&&0===t.length;w(n.updateCustomMessages,t),r&&w(n.updateValidStatus,"invalidShown"),!r&&"pending"!==_.valid&&(l&&w(n.updateValidStatus,"valid")||o&&w(n.updateValidStatus,"invalidHidden"))}if(!C.current&&(_.previousDeferredValidators!==d||_.previousDisabled!==c||_.previousReadonly!==V)){const e=0===d?.length;if(_.previousDeferredValidators!==d&&w(n.updatePreviousDeferredValidators,d),_.previousDisabled!==c&&w(n.updatePreviousDisabled,c),_.previousReadonly!==V&&w(n.updatePreviousReadonly,V),e||!V&&!c)switch(_.valid){case"valid":const e=T();if("failure"===e.result)w(n.updateComponentMessages,[e.error]),w(n.updateValidStatus,"invalidShown");else{const a=j(e.value);"failure"===a.result&&w(n.updateHiddenMessages,a.errors)&&w(n.updateValidStatus,"invalidHidden")}break;case"invalidHidden":0===d?.length&&(w(n.updateValidStatus,"valid"),w(n.updateHiddenMessages,[]));break;case"invalidShown":q()}}C.current&&(C.current=!1);return(0,a.useEffect)((()=>{if(w(n.updatePreviousValue,S),w(n.updatePreviousConverter,i),w(n.updatePreviousValidators,b),w(n.updatePreviousDeferredValidators,d),w(n.updatePreviousDisabled,c),w(n.updatePreviousReadonly,V),w(n.updateCustomMessages,m),w(n.updateTransientValue,S),c||V)w(n.updateValidStatus,"valid"),F(S);else{const e=j(S);"failure"===e.result&&w(n.updateHiddenMessages,e.errors)&&w(n.updateValidStatus,(0,s.hasErrorMessages)(m)?"invalidShown":"invalidHidden"),"success"===e.result&&w(n.updateValidStatus,(0,s.hasErrorMessages)(m)?"invalidShown":"valid")&&F(S)}}),[]),{value:_.value,displayValue:_.displayValue,formatValue:x,methods:{reset:z,showMessages:$,validate:Y},onCommitValue:W,parseValue:N,refreshDisplayValue:F,setDisplayValue:O,setTransientValue:k,setValue:U,textFieldProps:{"aria-describedby":l,messages:"none"!==p?.messages?_.shownMessages:void 0,onCommit:G,onInput:K,value:_.displayValue},validateValueOnExternalChange:L}}})),define("oj-c/hooks/UNSAFE_useEditableValue/index",["require","exports","./utils","./useEditableValue"],(function(require,e,a,t){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.useEditableValue=e.treatNull=e.getVirtualKeyboardHintFromConverter=void 0,Object.defineProperty(e,"getVirtualKeyboardHintFromConverter",{enumerable:!0,get:function(){return a.getVirtualKeyboardHintFromConverter}}),Object.defineProperty(e,"treatNull",{enumerable:!0,get:function(){return a.treatNull}}),Object.defineProperty(e,"useEditableValue",{enumerable:!0,get:function(){return t.useEditableValue}})})),define("oj-c/editable-value/UNSAFE_useDeferredValidators/useDeferredValidators",["require","exports","ojs/ojvalidator-required","preact/hooks","@oracle/oraclejet-preact/hooks/UNSAFE_useTranslationBundle"],(function(require,e,a,t,s){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.useDeferredValidators=function({labelHint:e,required:r,requiredMessageDetail:n}){const o=(0,s.useTranslationBundle)("@oracle/oraclejet-preact"),l=n||o.formControl_requiredMessageDetail(),i=(0,t.useMemo)((()=>r?new a({label:e,messageDetail:l}):null),[r]);return(0,t.useMemo)((()=>[i].filter(Boolean)),[i])}})),define("oj-c/input-month-mask/useInputMonthMaskPreact",["require","exports","./CalendarMonthConverter","preact/hooks","@oracle/oraclejet-preact/hooks/UNSAFE_useTranslationBundle","ojs/ojconverter-preferences","@oracle/oraclejet-preact/utils/UNSAFE_calendarDateUtils","./useImplicitCalendarMonthRangeValidator","ojs/ojconfig","oj-c/hooks/UNSAFE_useEditableValue/index","oj-c/editable-value/UNSAFE_useDeferredValidators/useDeferredValidators"],(function(require,e,a,t,s,r,n,o,l,i,u){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.useInputMonthMaskPreact=function({dateRangeOverflowMessageDetail:e,dateRangeUnderflowMessageDetail:r,disabled:p,displayOptions:m,labelEdge:g,labelHint:v,labelStartWidth:h,max:f,messagesCustom:y,min:M,readonly:E,required:V,requiredMessageDetail:b,textAlign:S,userAssistanceDensity:C,validators:D,value:_,onMessagesCustomChanged:A,onRawValueChanged:P,onValidChanged:R,onValueChanged:w,...j},U){const O=(0,i.treatNull)(M),k=(0,i.treatNull)(f),x=(0,s.useTranslationBundle)("@oracle/oraclejet-preact").calendarMonthConverter_parseError,F=(0,t.useMemo)((()=>c()),[]),T=(0,t.useMemo)((()=>new a.CalendarMonthConverter({calendarMonthConverter_parseErrorFn:x,customMask:F})),[x,F]),I=(0,t.useMemo)((()=>({format:e=>(0,n.formatCalendarMonthRequiredAsExample)((0,l.getLocale)(),e,F)})),[F]),N=(0,o.useImplicitCalendarMonthRangeValidator)({formatObj:I,dateRangeOverflowMessageDetail:e,dateRangeUnderflowMessageDetail:r,max:k,min:O}),H=(0,t.useMemo)((()=>[...N?[N]:[],...D||[]]),[N,D]),q=(0,u.useDeferredValidators)({labelHint:v,required:V,requiredMessageDetail:b}),{methods:L,textFieldProps:B,value:W}=(0,i.useEditableValue)({addBusyState:U,ariaDescribedBy:j["aria-describedby"],converter:T,defaultDisplayValue:void 0,deferredValidators:q,disabled:p,displayOptions:m,messagesCustom:y,onMessagesCustomChanged:A,onRawValueChanged:P,onValidChanged:R,onValueChanged:w,readonly:E,validators:H,value:_}),G=void 0===W||!d(B.value);return{methods:L,inputMonthMaskProps:{isDisabled:p,isReadonly:E,isRequired:V,isRequiredShown:V&&("compact"===C||G),label:v,labelEdge:g,labelStartWidth:h,masks:F,textAlign:S,userAssistanceDensity:C,...B}}};const d=e=>void 0!==e&&(void 0!==e.year||void 0!==e.month),c=()=>{const e=(0,r.getDateTimePreferences)(),a=e.dateStyle?.short?.pattern;if(!a||a.toUpperCase().includes("MMM"))return;const t=(0,n.getDatePlaceholdersFromPattern)(a);return(0,n.getMonthYearPlaceholdersFromDatePlaceholders)(t)}})),define("oj-c/input-month-mask/input-month-mask",["require","exports","preact/jsx-runtime","@oracle/oraclejet-preact/translationBundle","@oracle/oraclejet-preact/hooks/UNSAFE_useFormContext","oj-c/hooks/UNSAFE_useMergedFormContext/useMergedFormContext","@oracle/oraclejet-preact/hooks/UNSAFE_useFormVariantContext","@oracle/oraclejet-preact/hooks/UNSAFE_useTabbableMode","@oracle/oraclejet-preact/UNSAFE_InputDateMask","oj-c/editable-value/UNSAFE_useAssistiveText/useAssistiveText","ojs/ojcontext","ojs/ojvcomponent","preact/compat","preact/hooks","./useInputMonthMaskPreact","@oracle/oraclejet-preact/utils/UNSAFE_styles/Layout","@oracle/oraclejet-preact/utils/UNSAFE_calendarDateUtils","css!oj-c/input-month-mask/input-month-mask-styles.css"],(function(require,e,a,t,s,r,n,o,l,i,u,d,c,p,m,g,v){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.InputMonthMask=void 0;const h={messages:"display",validatorHint:"display"},f={instruction:""},y={definition:"",source:""},M=[],E=[];e.InputMonthMask=(0,d.registerCustomElement)("oj-c-input-month-mask",(0,c.forwardRef)((({columnSpan:e=1,containerReadonly:t,disabled:o=!1,displayOptions:c=h,help:V=f,helpHints:b=y,labelWrapping:S,messagesCustom:C=M,readonly:D,required:_=!1,userAssistanceDensity:A,validators:P=E,value:R=null,...w},j)=>{const U=(0,p.useRef)(),O=(0,p.useRef)(),k=(0,p.useCallback)(((e="InputMonthMask: busyState")=>U.current?u.getContext(U.current).getBusyContext().addBusyState({description:e}):()=>{}),[]),{containerProps:x,uadValue:F,readonlyValue:T}=(0,r.useMergedFormContext)({propContainerReadonly:t,propLabelWrapping:S,propReadonly:D,propUserAssistanceDensity:A}),{inputMonthMaskProps:I,methods:N}=(0,m.useInputMonthMaskPreact)({disabled:o,displayOptions:c,messagesCustom:C,readonly:T,required:_,userAssistanceDensity:F,validators:P,value:R,...w},k);(0,p.useImperativeHandle)(j,(()=>({blur:()=>O.current?.blur(),focus:()=>O.current?.focus(),...N})),[N]);const H=(0,i.useAssistiveText)({displayOptions:c,help:V,helpHints:b,userAssistanceDensity:I.userAssistanceDensity,validators:P}),q=(0,n.useFormVariantContext)();if(!(0,v.isValidCalendarMonthRequired)(R))throw new Error("If the value property is defined, it must be an object with year and month defined.");if(!(0,v.isValidCalendarMonthRequired)(w.min))throw new Error("If the min property is defined, it must be an object with year and month defined.");if(!(0,v.isValidCalendarMonthRequired)(w.max))throw new Error("If the max property is defined, it must be an object with year and month defined.");return(0,a.jsx)(d.Root,{id:w.id,ref:U,class:g.layoutSpanStyles.layoutSpanColumn[e],children:(0,a.jsx)(s.FormContext.Provider,{value:x,children:(0,a.jsx)(l.InputDateMask,{ref:O,...H,...I,variant:q,granularity:"month"})})})})),"InputMonthMask",{properties:{columnSpan:{type:"number"},containerReadonly:{type:"boolean",binding:{consume:{name:"containerReadonly"}}},dateRangeOverflowMessageDetail:{type:"function"},dateRangeUnderflowMessageDetail:{type:"function"},disabled:{type:"boolean"},displayOptions:{type:"object",properties:{messages:{type:"string",enumValues:["none","display"]},validatorHint:{type:"string",enumValues:["none","display"]}}},help:{type:"object",properties:{instruction:{type:"string"}}},helpHints:{type:"object",properties:{definition:{type:"string"},source:{type:"string"},sourceText:{type:"string"}}},labelEdge:{type:"string",enumValues:["none","start","top","inside"],binding:{consume:{name:"containerLabelEdge"}}},labelHint:{type:"string"},labelStartWidth:{type:"number|string",binding:{consume:{name:"labelWidth"}}},labelWrapping:{type:"string",enumValues:["truncate","wrap"],binding:{consume:{name:"labelWrapping"}}},max:{type:"object|null",properties:{year:{type:"number"},month:{type:"number"}}},messagesCustom:{type:"Array<object>",writeback:!0},min:{type:"object|null",properties:{year:{type:"number"},month:{type:"number"}}},readonly:{type:"boolean",binding:{consume:{name:"containerReadonly"}}},required:{type:"boolean"},requiredMessageDetail:{type:"string"},textAlign:{type:"string",enumValues:["end","start","right"]},userAssistanceDensity:{type:"string",enumValues:["compact","reflow","efficient"],binding:{consume:{name:"containerUserAssistanceDensity"}}},validators:{type:"Array<object>|null"},value:{type:"object|null",properties:{year:{type:"number"},month:{type:"number"}},writeback:!0},rawValue:{type:"object",properties:{year:{type:"number"},month:{type:"number"}},readOnly:!0,writeback:!0},valid:{type:"string",enumValues:["pending","valid","invalidHidden","invalidShown"],readOnly:!0,writeback:!0}},extension:{_WRITEBACK_PROPS:["messagesCustom","rawValue","valid","value"],_READ_ONLY_PROPS:["rawValue","valid"],_OBSERVED_GLOBAL_PROPS:["aria-describedby","id"]},methods:{blur:{},focus:{},showMessages:{},reset:{},validate:{}}},{columnSpan:1,disabled:!1,displayOptions:{messages:"display",validatorHint:"display"},help:{instruction:""},helpHints:{definition:"",source:""},messagesCustom:[],required:!1,validators:[],value:null},{"@oracle/oraclejet-preact":t.default},{consume:[n.FormVariantContext,o.TabbableModeContext]})})),define("oj-c/input-month-mask",["require","exports","oj-c/input-month-mask/input-month-mask"],(function(require,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.InputMonthMask=void 0,Object.defineProperty(e,"InputMonthMask",{enumerable:!0,get:function(){return a.InputMonthMask}})}));
2
2
  //# sourceMappingURL=input-month-mask.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"input-month-mask.js","names":["define","require","exports","UNSAFE_useFormContext_1","Object","defineProperty","value","useMergedFormContext","propContainerReadonly","propLabelWrapping","propReadonly","propUserAssistanceDensity","formContext","useFormContext","uadValue","userAssistanceDensity","readonlyValue","isReadonly","isFormLayout","formContextIsFormLayout","formContextIsReadonly","labelWrapping","formContextLabelWrapping","otherFormContextProps","containerProps","undefined","hooks_1","determineAssistiveText","help","validatorHint","helpHints","converterHint","displayOptions","helpHintsDef","definition","instruction","determineSyncValidatorHints","validators","length","map","validator","getHint","filter","Boolean","join","useAssistiveText","addBusyState","converter","setValidatorHint","useState","staleIdentity","useRef","useEffect","asyncHints","hint","localStaleIdentity","current","Symbol","resolver","Promise","allSettled","then","hints","currentHints","treatedHints","result","status","helpSourceText","sourceText","assistiveText","helpSourceLink","source","UNSAFE_calendarDateUtils_1","ojconfig_1","CalendarMonthConverter","constructor","options","this","locale","getLocale","calendarMonthConverter_parseErrorFn","customMask","format","isCompleteCalendarMonth","Error","parse","input","currentYear","Date","getFullYear","formattedDateExample","formatIsoDateStrAsExample","errorStr","dateExample","CalendarMonthRangeValidator","min","max","_compareCalendarMonths","defaultRangeOverflowMessageDetailFn","defaultRangeUnderflowMessageDetailFn","dateRangeOverflowMessageDetail","dateRangeUnderflowMessageDetail","formatObj","validate","messageDetailRangeOverflow","messageDetailRangeUnderflow","valStr","maxStr","detail","minStr","val1","val2","year","month","CalendarMonthRangeValidator_1","UNSAFE_useTranslationBundle_1","useImplicitCalendarMonthRangeValidator","translations","useTranslationBundle","inputMonthMask_dateRangeOverflowMessageDetail","inputMonthMask_dateRangeUnderflowMessageDetail","useMemo","isShallowEqual","normalizeValue","treatNull","getVirtualKeyboardHintFromConverter","createMessageFromError","error","getMessage","severity","message","virtualKeyboardHint","resolvedOptions","resOptions","defaultValue","a","b","every","v","i","hasErrorMessages","messages","some","utils_1","displayValue","shouldSkipFormat","useStaleIdentity","staleIdentityMap","Map","setStaleIdentity","useCallback","id","set","isStale","get","updateValue","updateValidStatus","updatePreviousValue","updatePreviousValidators","updatePreviousReadonly","updatePreviousDisabled","updatePreviousDeferredValidators","updatePreviousConverter","updateHiddenMessages","updateDisplayValue","updateCustomMessages","updateComponentMessages","showHiddenMessages","clearAllMessages","addComponentMessage","reducer","state","action","customMsgs","customMessages","hiddenMsgs","hiddenMessages","componentMsgs","componentMessages","shownMsgs","shownMessages","type","payload","valid","previousConverter","previousDeferredValidators","previousDisabled","previousReadonly","previousValidators","previousValue","dispatch","onRawValueChanged","onValidChanged","onValueChanged","disabled","readonly","_value","onMessagesCustomChanged","validateSync","validateAsync","errors","push","doValidate","validateResult","maybeErrorPromises","maybeComponentMessageItem","converterUtils_1","useStaleIdentity_1","reducer_1","validationUtils_1","useEditableValue","ConverterErrorSymbol","ariaDescribedBy","defaultDisplayValue","deferredValidators","messagesCustom","initialRender","useReducer","args","conversion","_dispatch","updateFn","validateDeferredSync","valueToSendToDeferredValidation","trim","refreshDisplayValue","newDisplayValue","getValueForValidation","normalizeAndParseValue","fullValidate","async","doNotClearMessagesCustom","hasCustomErrorMessages","deferredValidate","nonDeferredValidate","hasSyncError","hasAsyncError","asyncValidations","maybeErrorPromise","asyncValidation","maybeValidationError","all","runFullValidationAndUpdateValue","parsedValueOrSymbol","newValue","validateValueOnInternalChange","validationResult","onCommitValue","doCommitOnValid","validated","onCommit","parsedValue","succeeded","onInput","newValueOrSymbol","reset","valueToValidate","showMessages","compMsgs","hasErrors","hasHiddenMessages","hasNoMessages","isRequiredToggledToFalse","methods","textFieldProps","RequiredValidator","useDeferredValidators","labelHint","required","requiredMessageDetail","propRequiredMessageDetail","formControl_requiredMessageDetail","requiredValidator","label","messageDetail","CalendarMonthConverter_1","ojconverter_preferences_1","useImplicitCalendarMonthRangeValidator_1","useEditableValue_1","useDeferredValidators_1","useInputMonthMaskPreact","labelEdge","labelStartWidth","textAlign","propValue","otherProps","minTreatNull","maxTreatNull","calendarMonthConverter_parseError","masksFromUserPref","getMasksFromDatePatternPreferences","implicitConverter","exampleFormatter","formatCalendarMonthRequiredAsExample","implicitComponentValidator","combinedValidators","hasNoValue","isPartialDate","inputMonthMaskProps","isDisabled","isRequired","isRequiredShown","masks","prefs","getDateTimePreferences","pattern","dateStyle","short","toUpperCase","includes","datePlaceholders","getDatePlaceholdersFromPattern","getMonthYearPlaceholdersFromDatePlaceholders","jsx_runtime_1","translationBundle_1","useMergedFormContext_1","UNSAFE_useFormVariantContext_1","UNSAFE_useTabbableMode_1","UNSAFE_InputDateMask_1","useAssistiveText_1","Context","ojvcomponent_1","compat_1","useInputMonthMaskPreact_1","Layout_1","InputMonthMask","displayOptionsDefault","helpDefault","helpHintsDefault","messagesCustomDefault","validatorsDefault","registerCustomElement","forwardRef","columnSpan","containerReadonly","ref","rootRef","inputMonthMaskRef","description","getContext","getBusyContext","useImperativeHandle","blur","focus","assistiveTextProps","variant","useFormVariantContext","isValidCalendarMonthRequired","jsx","Root","class","layoutSpanStyles","layoutSpanColumn","children","FormContext","Provider","InputDateMask","granularity","properties","binding","consume","name","enumValues","writeback","rawValue","readOnly","extension","_WRITEBACK_PROPS","_READ_ONLY_PROPS","_OBSERVED_GLOBAL_PROPS","default","FormVariantContext","TabbableModeContext","input_month_mask_1","enumerable"],"sources":["0"],"mappings":"AAAAA,OAAO,8DAA8D,CAAC,UAAW,UAAW,yDAAyD,SAAUC,QAASC,EAASC,GAC7K,aACAC,OAAOC,eAAeH,EAAS,aAAc,CAAEI,OAAO,IACtDJ,EAAQK,0BAAuB,EAkB/BL,EAAQK,qBAjBR,UAA8BC,sBAAEA,EAAqBC,kBAAEA,EAAiBC,aAAEA,EAAYC,0BAAEA,IACpF,MAAMC,GAAc,EAAIT,EAAwBU,kBAC1CC,EAAWH,GAA6BC,EAAYG,sBACpDC,EAAgBN,GAAgBE,EAAYK,YAC1CC,aAAcC,EAAyBF,WAAYG,EAAuBC,cAAeC,KAA6BC,GAA0BX,EAOxJ,MAAO,CACHY,eAPmB,IAChBD,EACHL,kBAAwCO,IAA1BjB,GAAuCW,EACrDF,WAAYT,GAAyBY,EACrCC,cAAeZ,GAAqBa,GAIpCN,gBACAF,WAER,CA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WAAc,CAAEtP,KAAQ,CAAEqE,KAAQ,UAAYpE,MAAS,CAAEoE,KAAQ,WAAcwL,UAAY,EAAMF,WAAa,GAAQpL,MAAS,CAAEF,KAAQ,SAAUqL,WAAc,CAAC,UAAW,QAAS,gBAAiB,gBAAiBG,UAAY,EAAMF,WAAa,IAAUG,UAAa,CAAEC,iBAAoB,CAAC,iBAAkB,WAAY,QAAS,SAAUC,iBAAoB,CAAC,WAAY,SAAUC,uBAA0B,CAAC,mBAAoB,OAAS1G,QAAW,CAAE+E,KAAQ,CAAC,EAAGC,MAAS,CAAC,EAAGtF,aAAgB,CAAC,EAAGF,MAAS,CAAC,EAAGxJ,SAAY,CAAC,IAAO,CAAEsO,WAAc,EAAG3I,UAAY,EAAOlK,eAAkB,CAAE6G,SAAY,UAAWhH,cAAiB,WAAaD,KAAQ,CAAEO,YAAe,IAAML,UAAa,CAAEI,WAAc,GAAIqC,OAAU,IAAMgJ,eAAkB,GAAIqD,UAAY,EAAOvO,WAAc,GAAI/B,MAAS,MAAQ,CACh+F,2BAA4BoT,EAAoBwD,SACjD,CAAEV,QAAS,CAAC5C,EAA+BuD,mBAAoBtD,EAAyBuD,sBAC/F,IAEApX,OAAO,wBAAwB,CAAC,UAAW,UAAW,2CAA2C,SAAUC,QAASC,EAASmX,GACzH,aACAjX,OAAOC,eAAeH,EAAS,aAAc,CAAEI,OAAO,IACtDJ,EAAQmU,oBAAiB,EACzBjU,OAAOC,eAAeH,EAAS,iBAAkB,CAAEoX,YAAY,EAAM5N,IAAK,WAAc,OAAO2N,EAAmBhD,cAAgB,GACtI"}
1
+ {"version":3,"file":"input-month-mask.js","names":["define","require","exports","UNSAFE_useFormContext_1","Object","defineProperty","value","useMergedFormContext","propContainerReadonly","propLabelWrapping","propReadonly","propUserAssistanceDensity","formContext","useFormContext","uadValue","userAssistanceDensity","readonlyValue","isReadonly","isFormLayout","formContextIsFormLayout","formContextIsReadonly","labelWrapping","formContextLabelWrapping","otherFormContextProps","containerProps","undefined","hooks_1","determineAssistiveText","help","validatorHint","helpHints","converterHint","displayOptions","helpHintsDef","definition","instruction","determineSyncValidatorHints","validators","length","map","validator","getHint","filter","Boolean","join","useAssistiveText","addBusyState","converter","setValidatorHint","useState","staleIdentity","useRef","useEffect","asyncHints","hint","localStaleIdentity","current","Symbol","resolver","Promise","allSettled","then","hints","currentHints","treatedHints","result","status","helpSourceText","sourceText","assistiveText","helpSourceLink","source","UNSAFE_calendarDateUtils_1","ojconfig_1","CalendarMonthConverter","constructor","options","this","locale","getLocale","calendarMonthConverter_parseErrorFn","customMask","format","isCompleteCalendarMonth","Error","parse","input","currentYear","Date","getFullYear","formattedDateExample","formatIsoDateStrAsExample","errorStr","dateExample","CalendarMonthRangeValidator","min","max","_compareCalendarMonths","defaultRangeOverflowMessageDetailFn","defaultRangeUnderflowMessageDetailFn","dateRangeOverflowMessageDetail","dateRangeUnderflowMessageDetail","formatObj","validate","messageDetailRangeOverflow","messageDetailRangeUnderflow","valStr","maxStr","detail","minStr","val1","val2","year","month","CalendarMonthRangeValidator_1","UNSAFE_useTranslationBundle_1","useImplicitCalendarMonthRangeValidator","translations","useTranslationBundle","inputMonthMask_dateRangeOverflowMessageDetail","inputMonthMask_dateRangeUnderflowMessageDetail","useMemo","treatNull","normalizeValue","isShallowEqual","hasErrorMessages","getVirtualKeyboardHintFromConverter","createMessageFromError","error","getMessage","severity","message","defaultValue","a","b","every","v","i","messages","some","virtualKeyboardHint","resolvedOptions","resOptions","utils_1","shouldSkipFormat","displayValue","translateConverterParseError","useStaleIdentity","staleIdentityMap","Map","setStaleIdentity","useCallback","id","set","isStale","get","reducer","state","action","customMsgs","customMessages","hiddenMsgs","hiddenMessages","componentMsgs","componentMessages","shownMsgs","shownMessages","type","payload","valid","transientValue","previousConverter","previousDeferredValidators","previousDisabled","previousReadonly","previousValidators","previousValue","addComponentMessage","dispatch","clearAllMessages","_value","onMessagesCustomChanged","showHiddenMessages","updateComponentMessages","updateCustomMessages","updateDisplayValue","onRawValueChanged","updateHiddenMessages","updatePreviousConverter","updatePreviousDeferredValidators","updatePreviousDisabled","disabled","updatePreviousReadonly","readonly","updatePreviousValidators","updatePreviousValue","updateTransientValue","onTransientValueChanged","updateValidStatus","onValidChanged","updateValue","onValueChanged","validateAsync","doValidate","validateResult","errors","maybeErrorPromises","maybeComponentMessageItem","push","validateSync","converterUtils_1","useStaleIdentity_1","reducer_1","validationUtils_1","useEditableValue","ariaDescribedBy","defaultDisplayValue","deferredValidators","messagesCustom","onDisplayValueChanged","propOnValidChanged","initialRender","useReducer","args","conversion","currentValidRef","newValid","_dispatch","updateFn","validateDeferredSync","valueToSendToDeferredValidation","trim","setValue","setDisplayValue","setTransientValue","formatValue","newDisplayValue","refreshDisplayValue","getValueForValidation","normalizeAndParseValue","parseValue","fullValidate","async","doNotClearMessagesCustom","hasCustomErrorMessages","deferredValidate","nonDeferredValidate","hasSyncError","hasAsyncError","asyncValidations","maybeErrorPromise","asyncValidation","maybeValidationError","all","runFullValidationAndUpdateValue","newValue","validateValueOnInternalChange","validateValueOnExternalChange","validated","validationResult","onCommitValue","doCommitOnValid","onCommit","parsedValue","succeeded","onInput","reset","showMessages","compMsgs","hasErrors","hasHiddenMessages","hasNoMessages","isRequiredToggledToFalse","methods","textFieldProps","useEditableValue_1","enumerable","RequiredValidator","useDeferredValidators","labelHint","required","requiredMessageDetail","propRequiredMessageDetail","formControl_requiredMessageDetail","requiredValidator","label","messageDetail","CalendarMonthConverter_1","ojconverter_preferences_1","useImplicitCalendarMonthRangeValidator_1","index_1","useDeferredValidators_1","useInputMonthMaskPreact","labelEdge","labelStartWidth","textAlign","propValue","otherProps","minTreatNull","maxTreatNull","calendarMonthConverter_parseError","masksFromUserPref","getMasksFromDatePatternPreferences","implicitConverter","exampleFormatter","formatCalendarMonthRequiredAsExample","implicitComponentValidator","combinedValidators","hasNoValue","isPartialDate","inputMonthMaskProps","isDisabled","isRequired","isRequiredShown","masks","prefs","getDateTimePreferences","pattern","dateStyle","short","toUpperCase","includes","datePlaceholders","getDatePlaceholdersFromPattern","getMonthYearPlaceholdersFromDatePlaceholders","jsx_runtime_1","translationBundle_1","useMergedFormContext_1","UNSAFE_useFormVariantContext_1","UNSAFE_useTabbableMode_1","UNSAFE_InputDateMask_1","useAssistiveText_1","Context","ojvcomponent_1","compat_1","useInputMonthMaskPreact_1","Layout_1","InputMonthMask","displayOptionsDefault","helpDefault","helpHintsDefault","messagesCustomDefault","validatorsDefault","registerCustomElement","forwardRef","columnSpan","containerReadonly","ref","rootRef","inputMonthMaskRef","description","getContext","getBusyContext","useImperativeHandle","blur","focus","assistiveTextProps","variant","useFormVariantContext","isValidCalendarMonthRequired","jsx","Root","class","layoutSpanStyles","layoutSpanColumn","children","FormContext","Provider","InputDateMask","granularity","properties","binding","consume","name","enumValues","writeback","rawValue","readOnly","extension","_WRITEBACK_PROPS","_READ_ONLY_PROPS","_OBSERVED_GLOBAL_PROPS","default","FormVariantContext","TabbableModeContext","input_month_mask_1"],"sources":["0"],"mappings":"AAAAA,OAAO,8DAA8D,CAAC,UAAW,UAAW,yDAAyD,SAAUC,QAASC,EAASC,GAC7K,aACAC,OAAOC,eAAeH,EAAS,aAAc,CAAEI,OAAO,IACtDJ,EAAQK,qBACR,UAA8BC,sBAAEA,EAAqBC,kBAAEA,EAAiBC,aAAEA,EAAYC,0BAAEA,IACpF,MAAMC,GAAc,EAAIT,EAAwBU,kBAC1CC,EAAWH,GAA6BC,EAAYG,sBACpDC,EAAgBN,GAAgBE,EAAYK,YAC1CC,aAAcC,EAAyBF,WAAYG,EAAuBC,cAAeC,KAA6BC,GAA0BX,EAOxJ,MAAO,CACHY,eAPmB,IAChBD,EACHL,kBAAwCO,IAA1BjB,GAAuCW,EACrDF,WAAYT,GAAyBY,EACrCC,cAAeZ,GAAqBa,GAIpCN,gBACAF,WAER,CACJ,IAEAd,OAAO,+DAA+D,CAAC,UAAW,UAAW,iBAAiB,SAAUC,QAASC,EAASwB,GACtI,aAGA,SAASC,EAAuBC,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,CAAEsD,KAAQ,WAAcgN,WAAa,GAAQC,SAAY,CAAEjN,KAAQ,SAAU2M,WAAc,CAAElQ,KAAQ,CAAEuD,KAAQ,UAAYtD,MAAS,CAAEsD,KAAQ,WAAckN,UAAY,EAAMF,WAAa,GAAQ9M,MAAS,CAAEF,KAAQ,SAAU+M,WAAc,CAAC,UAAW,QAAS,gBAAiB,gBAAiBG,UAAY,EAAMF,WAAa,IAAUG,UAAa,CAAEC,iBAAoB,CAAC,iBAAkB,WAAY,QAAS,SAAUC,iBAAoB,CAAC,WAAY,SAAUC,uBAA0B,CAAC,mBAAoB,OAAS5G,QAAW,CAAEiF,KAAQ,CAAC,EAAGC,MAAS,CAAC,EAAGxF,aAAgB,CAAC,EAAGD,MAAS,CAAC,EAAGnK,SAAY,CAAC,IAAO,CAAEkP,WAAc,EAAG1J,UAAY,EAAO/J,eAAkB,CAAE0G,SAAY,UAAW7G,cAAiB,WAAaD,KAAQ,CAAEO,YAAe,IAAML,UAAa,CAAEI,WAAc,GAAIqC,OAAU,IAAMmJ,eAAkB,GAAI8D,UAAY,EAAOnP,WAAc,GAAI/B,MAAS,MAAQ,CACh+F,2BAA4BgU,EAAoBwD,SACjD,CAAEV,QAAS,CAAC5C,EAA+BuD,mBAAoBtD,EAAyBuD,sBAC/F,IAEAhY,OAAO,wBAAwB,CAAC,UAAW,UAAW,2CAA2C,SAAUC,QAASC,EAAS+X,GACzH,aACA7X,OAAOC,eAAeH,EAAS,aAAc,CAAEI,OAAO,IACtDJ,EAAQ+U,oBAAiB,EACzB7U,OAAOC,eAAeH,EAAS,iBAAkB,CAAEkR,YAAY,EAAMzH,IAAK,WAAc,OAAOsO,EAAmBhD,cAAgB,GACtI"}
@@ -1,2 +1,2 @@
1
- define("oj-c/hooks/UNSAFE_useMergedFormContext/useMergedFormContext",["require","exports","@oracle/oraclejet-preact/hooks/UNSAFE_useFormContext"],(function(require,e,t){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.useMergedFormContext=void 0,e.useMergedFormContext=function({propContainerReadonly:e,propLabelWrapping:a,propReadonly:n,propUserAssistanceDensity:r}){const s=(0,t.useFormContext)(),o=r??s.userAssistanceDensity,i=n??s.isReadonly,{isFormLayout:l,isReadonly:u,labelWrapping:d,...c}=s;return{containerProps:{...c,isFormLayout:void 0!==e||l,isReadonly:e??u,labelWrapping:a??d},readonlyValue:i,uadValue:o}}})),define("oj-c/editable-value/UNSAFE_useAssistiveText/useAssistiveText",["require","exports","preact/hooks"],(function(require,e,t){"use strict";function a(e,t,a,n,r,s){const o="compact"!==s?a?.definition:void 0;return e?.instruction||("none"===r?.validatorHint?void 0:t)||o||("none"===r?.converterHint?void 0:n)}function n(e){if(!e.length)return;return e.map((e=>"function"==typeof e.getHint?e.getHint():void 0)).filter(Boolean).join("\n")}Object.defineProperty(e,"__esModule",{value:!0}),e.useAssistiveText=void 0,e.useAssistiveText=function({addBusyState:e,converter:r,displayOptions:s,help:o,helpHints:i,userAssistanceDensity:l,validators:u}){const[d,c]=(0,t.useState)(u&&u.length?n(u):void 0),p=(0,t.useRef)();(0,t.useEffect)((()=>{if(!u||!u.length)return void c(void 0);c(n(u));const t=u.map((e=>e.hint)).filter(Boolean),a=p.current=Symbol(),r=e?.("resolving the async validator hints");Promise.allSettled(t).then((e=>{c((t=>{const n=e.map((e=>"fulfilled"===e.status?e.value:void 0)).filter(Boolean);return a===p.current&&n.length?[t,...n].join("\n"):t})),r?.()}))}),[u]);const m="compact"!==l?i?.sourceText:i?.definition||i?.sourceText;return{assistiveText:a(o,d,i,r?.getHint?.()??void 0,s,l),helpSourceLink:i?.source,helpSourceText:m}}})),define("oj-c/editable-value/utils/utils",["require","exports"],(function(require,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.isShallowEqual=e.normalizeValue=e.treatNull=e.getVirtualKeyboardHintFromConverter=e.createMessageFromError=void 0,e.createMessageFromError=function(e){return"function"==typeof e.getMessage?{severity:"error",detail:e.getMessage().detail}:{severity:"error",detail:e.message}},e.getVirtualKeyboardHintFromConverter=function(e){let t;if(e&&e.resolvedOptions){const a=e.resolvedOptions();t=a?.virtualKeyboardHint??"text"}else t="text";return t},e.treatNull=function(e,t){return null===e?t:e},e.normalizeValue=function(e){return"string"==typeof e&&""===e?null:e};e.isShallowEqual=(e,t)=>e===t||e.length===t.length&&e.every(((e,a)=>e===t[a]))})),define("oj-c/editable-value/UNSAFE_useComponentMessaging/useComponentMessaging",["require","exports","@oracle/oraclejet-preact/hooks/UNSAFE_useUncontrolledState","preact/hooks","../utils/utils"],(function(require,e,t,a,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.useComponentMessaging=void 0,e.useComponentMessaging=function({messagesCustom:e=[],onMessagesCustomChanged:r}){const[s,o]=(0,t.useUncontrolledState)(e,r),[i,l]=(0,a.useState)([]),[u,d]=(0,a.useState)([]),c=(0,a.useRef)(e),p=(0,a.useCallback)(((...e)=>{l((t=>[...t,...e]))}),[]),m=(0,a.useCallback)((e=>{l((t=>[...t,e]))}),[]),v=(0,a.useCallback)((()=>{l([]),d([])}),[]),f=(0,a.useCallback)((()=>{d([])}),[]),g=(0,a.useCallback)((()=>{l([]),d([]),o([])}),[]),b=(0,a.useCallback)((()=>s.some((e=>"error"===e.severity))),[s]),y=(0,a.useCallback)((()=>0===i.length&&0===u.length&&!1===b()),[i,u,b]),V=(0,a.useCallback)((()=>0!==u.length),[u]),C=(0,a.useCallback)((()=>{l([...i,...u]),d([])}),[i,u]);return(0,a.useEffect)((()=>{c.current!==e&&(c.current=e,(0,n.isShallowEqual)(s,e)||o(e))}),[s,e]),(0,a.useMemo)((()=>({componentMessages:i,deferredComponentMessages:u,messagesCustom:s,visibleMessages:[...s,...i],addComponentMessage:p,addDeferredComponentMessage:m,clearAllComponentMessages:v,clearAllMessages:g,clearDeferredComponentMessages:f,hasCustomErrorMessages:b,hasHiddenMessages:V,hasNoErrorMessages:y,setComponentMessages:l,setDeferredComponentMessages:d,showHiddenMessages:C})),[i,u,s,b,V,y,C])}})),define("oj-c/editable-value/UNSAFE_useConverter/useConverter",["require","exports","ojs/ojconverter-nativenumber","preact/hooks","@oracle/oraclejet-preact/hooks/UNSAFE_useTranslationBundle","../utils/utils"],(function(require,e,t,a,n,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.useConverter=e.ConverterErrorSymbol=void 0,e.ConverterErrorSymbol=Symbol("ConverterError"),e.useConverter=function({componentMessagingState:s,validationState:o,converter:i}){const l=(0,n.useTranslationBundle)("@oracle/oraclejet-preact").inputNumber_converterParseError(),u=(0,a.useCallback)((a=>{if(!i||(""===(n=a)||null===n))return a;var n;try{return i.parse(a)}catch(a){const n=a?.cause===t.USER_INPUT_ERROR?{severity:"error",detail:l}:(0,r.createMessageFromError)(a);return s.setComponentMessages([n]),o.setValid("invalidShown"),e.ConverterErrorSymbol}}),[i,s,o]),d=(0,a.useCallback)(((e,t=!1)=>{if(!i||function(e){return null===e}(e))return(0,r.treatNull)(e,"")??"";try{return i.format(e)}catch(a){return t||(s.setComponentMessages([(0,r.createMessageFromError)(a)]),o.setValid("invalidShown")),(0,r.treatNull)(e,"")}}),[i,s,o]);return(0,a.useMemo)((()=>({format:d,parse:u})),[d,u])}})),define("oj-c/editable-value/UNSAFE_useConverterLifecycle/useConverterLifecycle",["require","exports","preact/hooks"],(function(require,e,t){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.useConverterLifecycle=void 0,e.useConverterLifecycle=function({converter:e,validationState:a,value:n,refreshDisplayValue:r,runFullValidationAndUpdateValue:s}){const o=(0,t.useRef)(e);(0,t.useEffect)((()=>{if(o.current===e)return;o.current=e;const{valid:t}=a;if("invalidShown"===t)s();else n&&r(n)}),[e,a,r,s,n])}})),define("oj-c/editable-value/UNSAFE_useDeferredValidators/useDeferredValidators",["require","exports","ojs/ojvalidator-required","preact/hooks","@oracle/oraclejet-preact/hooks/UNSAFE_useTranslationBundle"],(function(require,e,t,a,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.useDeferredValidators=void 0,e.useDeferredValidators=function({labelHint:e,required:r,requiredMessageDetail:s}){const o=(0,n.useTranslationBundle)("@oracle/oraclejet-preact"),i=s||o.formControl_requiredMessageDetail(),l=(0,a.useMemo)((()=>r?new t({label:e,messageDetail:i}):null),[r]);return(0,a.useMemo)((()=>[l].filter(Boolean)),[l])}})),define("oj-c/editable-value/UNSAFE_useStaleIdentity/useStaleIdentity",["require","exports","preact/hooks"],(function(require,e,t){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.useStaleIdentity=void 0,e.useStaleIdentity=function(){const e=(0,t.useRef)(new Map);return{setStaleIdentity:(0,t.useCallback)((t=>{const a=Symbol();return e.current.set(t,a),{isStale:()=>a!==e.current.get(t)}}),[])}}})),define("oj-c/editable-value/UNSAFE_useValidators/useValidators",["require","exports","@oracle/oraclejet-preact/hooks/UNSAFE_useUncontrolledState","preact/hooks","../UNSAFE_useStaleIdentity/useStaleIdentity","../utils/utils"],(function(require,e,t,a,n,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.useValidators=e.ValidationResult=void 0,e.ValidationResult={VALID:"VALID",INVALID:"INVALID",STALE:"STALE"},e.useValidators=function({componentMessagingState:s,defaultValidState:o,deferredValidators:i=[],validators:l=[],addBusyState:u,onValidChanged:d}){const[c,p]=(0,t.useUncontrolledState)(o,d),{setStaleIdentity:m}=(0,n.useStaleIdentity)();(0,a.useLayoutEffect)((()=>{void 0!==o&&d?.(o)}),[]);const{addComponentMessage:v,clearAllComponentMessages:f,clearAllMessages:g,hasCustomErrorMessages:b,setComponentMessages:y}=s,V=(0,a.useCallback)((async(e,t={})=>{const{doNotClearMessagesCustom:a=!1}=t,n=b();if(p("pending"),a?f():g(),0===l.length&&0===i.length)return p(n&&a?"invalidShown":"valid"),!0;function s(e,t){try{const a=e.validate(t);if(a instanceof Promise)return a.then((()=>{}),(e=>(0,r.createMessageFromError)(e)))}catch(e){return(0,r.createMessageFromError)(e)}}const o=[],d=[],c=C(e);if(void 0!==c&&o.push(...c),null!=e)for(const t of l){const a=s(t,e);void 0!==a&&(a instanceof Promise?d.push(a):o.push(a))}if(!o.length&&!d.length)return p(n&&a?"invalidShown":"valid"),!0;const V=0!==o.length;if(V&&(y(o),p("invalidShown")),!d.length)return!V;const h=u?.("running validation"),{isStale:S}=m("useValidators-validate");let M=!1;for(const e of d){const t=await e;t&&!S()&&(v(t),p("invalidShown"),M=!0)}return V||M||S()||p(n&&a?"invalidShown":"valid"),h?.(),!V&&!M}),[v,f,g,i,l]),C=(0,a.useCallback)((e=>{const t=[];for(const a of i)try{a.validate(e)}catch(e){t.push((0,r.createMessageFromError)(e))}if(t.length)return t}),[i]),h=(0,a.useCallback)((async(t,a={})=>{const{isStale:n}=m("useValidationLifeCycle-validateValueOnInternalChange"),r=u?.("running validateValueOnInternalChange"),s=await V(t,a);return r?.(),n()?e.ValidationResult.STALE:s?e.ValidationResult.VALID:e.ValidationResult.INVALID}),[u,V]),S=(0,a.useCallback)((t=>{const{clearAllMessages:a,setDeferredComponentMessages:n}=s;a();const r=C(t);return r?(n(r),p("invalidHidden")):p("valid"),e.ValidationResult.VALID}),[s,C]);return(0,a.useMemo)((()=>({valid:c,setValid:p,deferredValidate:C,fullValidate:V,validateValueOnExternalChange:S,validateValueOnInternalChange:h})),[c,C,V,S,h])}})),define("oj-c/editable-value/UNSAFE_useValidationLifecycle/useValidationLifecycle",["require","exports","preact/hooks","../UNSAFE_useConverter/useConverter","../UNSAFE_useValidators/useValidators","../utils/utils"],(function(require,e,t,a,n,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.useValidationLifecycle=void 0,e.useValidationLifecycle=function({componentMessagingState:e,disabled:s,deferredValidators:o,readonly:i,validationState:l,validators:u,getValueForValidation:d,setValueAfterValidation:c}){const p=(0,t.useRef)(o),m=(0,t.useRef)(u),v=(0,t.useRef)(e.messagesCustom),f=(0,t.useRef)(i),g=(0,t.useRef)(s),b=(0,t.useRef)(!0),y=(0,t.useCallback)((async()=>{if(i||s)return;const{valid:e,validateValueOnInternalChange:t}=l,r=d(e);if(r===a.ConverterErrorSymbol)return;await t(r,{doNotClearMessagesCustom:!0})===n.ValidationResult.VALID&&c(r)}),[s,i,l,d,c]);return(0,t.useEffect)((()=>{if(!b.current)return;if(b.current=!1,i||s)return;const t=d("valid");if(t===a.ConverterErrorSymbol)return;const{deferredValidate:n,setValid:r}=l,{hasCustomErrorMessages:o,setDeferredComponentMessages:u}=e,c=n(t);c&&(u(c),r("invalidHidden")),o()&&r("invalidShown")}),[s,i]),(0,t.useEffect)((()=>{const t=p.current!==o&&0===o.length;if(p.current===o&&f.current===i&&g.current===s)return;f.current=i,g.current=s,p.current=o;if(!(t||!i&&!s))return;const{valid:n,deferredValidate:r,setValid:u}=l,{clearDeferredComponentMessages:c,setDeferredComponentMessages:m}=e;switch(n){case"valid":const e=d(n);if(e!==a.ConverterErrorSymbol){const t=r(e);t&&(m(t),u("invalidHidden"))}break;case"invalidHidden":0===o.length&&(u("valid"),c());break;case"invalidShown":y()}}),[s,i,o,e,l,d,y]),(0,t.useEffect)((()=>{if(m.current!==u&&(m.current=u,!i&&!s&&"invalidShown"===l.valid))y()}),[s,i,u,l]),(0,t.useEffect)((()=>{if((0,r.isShallowEqual)(v.current,e.messagesCustom))return;const{messagesCustom:t,hasCustomErrorMessages:a,hasHiddenMessages:n,hasNoErrorMessages:s}=e,{valid:o,setValid:i}=l;if(v.current=t,a())i("invalidShown");else{if("pending"===o)return;s()?i("valid"):n()&&i("invalidHidden")}}),[e,l]),{runFullValidationAndUpdateValue:y}}})),define("oj-c/editable-value/UNSAFE_useValue/useValue",["require","exports","@oracle/oraclejet-preact/hooks/UNSAFE_useUncontrolledState","preact/hooks","../utils/utils"],(function(require,e,t,a,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.useValue=void 0,e.useValue=function({value:e,format:r,parse:s,onRawValueChanged:o,onTransientValueChanged:i,onValueChanged:l}){const[u,d]=(0,t.useUncontrolledState)(r(e,!0),o),[c,p]=(0,t.useUncontrolledState)(e,l);(0,a.useEffect)((()=>{void 0!==u&&o?.(u)}),[]);const[m,v]=(0,t.useUncontrolledState)(e,i);return(0,a.useEffect)((()=>{void 0!==e&&i?.(e)}),[]),{displayValue:u,transientValue:m,value:c,getValueForValidation:(0,a.useCallback)((e=>"invalidShown"!==e?c:s((0,n.normalizeValue)(u))),[u,c,s]),setValueAfterValidation:(0,a.useCallback)((e=>{p(e),d(r(e))}),[r,d,p]),setDisplayValue:d,setTransientValue:v,setValue:p,refreshDisplayValue:(0,a.useCallback)((e=>{d(r(e))}),[r,d])}}})),define("oj-c/editable-value/UNSAFE_useValueLifecycle/useValueLifecycle",["require","exports","preact/hooks","../UNSAFE_useValidators/useValidators"],(function(require,e,t,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.useValueLifecycle=void 0,e.useValueLifecycle=function({value:e,valueState:n,format:r,validateValueOnExternalChange:s}){const o=(0,t.useRef)(e);if((0,t.useEffect)((()=>{const{value:e,setDisplayValue:t}=n;t(r(e))}),[]),o.current!==e&&(o.current=e,void 0!==e&&e!==n.value)){const{setDisplayValue:t,setValue:o}=n;s(e)===a.ValidationResult.VALID&&(o(e),t(r(e)))}}})),define("oj-c/editable-value/UNSAFE_useEditableValue/useEditableValue",["require","exports","preact/hooks","../UNSAFE_useComponentMessaging/useComponentMessaging","../UNSAFE_useConverter/useConverter","../UNSAFE_useConverterLifecycle/useConverterLifecycle","../UNSAFE_useDeferredValidators/useDeferredValidators","../UNSAFE_useValidationLifecycle/useValidationLifecycle","../UNSAFE_useValidators/useValidators","../UNSAFE_useValue/useValue","../UNSAFE_useValueLifecycle/useValueLifecycle","../utils/utils"],(function(require,e,t,a,n,r,s,o,i,l,u,d){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.useEditableValue=void 0,e.useEditableValue=function({ariaDescribedBy:e,converter:c,disabled:p,displayOptions:m,implicitComponentValidator:v,labelHint:f,messagesCustom:g,readonly:b,required:y,requiredMessageDetail:V,shouldNormalizeValueOnCommit:C=!0,validators:h,value:S,addBusyState:M,onMessagesCustomChanged:E,onRawValueChanged:x,onValidChanged:A,onValueChanged:_,onTransientValueChanged:j,wrapValueState:N}){const F=(0,a.useComponentMessaging)({messagesCustom:g,onMessagesCustomChanged:E}),{clearAllMessages:D,visibleMessages:R}=F,w=(0,s.useDeferredValidators)({labelHint:f,required:y,requiredMessageDetail:V}),k=v?h?[v,...h]:[v]:h,U=(0,i.useValidators)({componentMessagingState:F,defaultValidState:"valid",deferredValidators:w,validators:k,addBusyState:M,onValidChanged:A}),{validateValueOnExternalChange:I,validateValueOnInternalChange:O}=U,{format:L,parse:P}=(0,n.useConverter)({componentMessagingState:F,converter:c,validationState:U}),q=(0,l.useValue)({value:S,format:L,parse:P,onRawValueChanged:x,onTransientValueChanged:j,onValueChanged:_}),T=N?N(q):q,{displayValue:H,value:B,getValueForValidation:W,setValueAfterValidation:K,refreshDisplayValue:z,setDisplayValue:$,setTransientValue:G,setValue:Y}=T,{runFullValidationAndUpdateValue:J}=(0,o.useValidationLifecycle)({componentMessagingState:F,validationState:U,deferredValidators:w,validators:h,getValueForValidation:W,setValueAfterValidation:K,readonly:b,disabled:p});(0,r.useConverterLifecycle)({converter:c,validationState:U,value:S,refreshDisplayValue:z,runFullValidationAndUpdateValue:J}),(0,u.useValueLifecycle)({value:S,valueState:T,format:L,validateValueOnExternalChange:I});const Q=(0,t.useCallback)((e=>P(C?(0,d.normalizeValue)(e):e)),[C,P]),X=(0,t.useCallback)((async(e,t=!0)=>{const a=await O(e);return a===i.ValidationResult.VALID&&t&&Y(e),a}),[O]),Z=(0,t.useCallback)((async({value:e})=>{const t=Q(e);if(t===n.ConverterErrorSymbol)return;const a=t;await X(a)===i.ValidationResult.VALID&&$(L(a))}),[L,X,Q]),ee=(0,t.useCallback)((({value:e})=>{$(e??"")}),[]),te=(0,t.useCallback)((()=>{D(),I(B),z(B)}),[B,D,z,I]),ae=(0,t.useCallback)((async()=>{if(b||p)return"valid";const{fullValidate:e}=U,{displayValue:t,value:a,setValueAfterValidation:r}=T,s=Q(t);if(s===n.ConverterErrorSymbol)return"invalid";const o=s,i=M?.("running component method validate"),l=await e(o);return i?.(),l?(o!==a&&r(o),"valid"):"invalid"}),[U,T,M,Q,b,p]),ne=(0,t.useCallback)((()=>{const{hasHiddenMessages:e,showHiddenMessages:t}=F,{setValid:a}=U;e()&&(t(),a("invalidShown"))}),[F,U]);return{value:B,setValue:Y,displayValue:H,setDisplayValue:$,setTransientValue:G,methods:{reset:te,validate:ae,showMessages:ne},textFieldProps:{messages:"none"!==m?.messages?R:void 0,value:H,"aria-describedby":e,onCommit:Z,onInput:ee},onCommitValue:X,format:L,normalizeAndParseValue:Q,validateValueOnExternalChange:I}}})),define("oj-c/input-number/useImplicitNumberConverter",["require","exports","ojs/ojconverter-nativenumber","preact/hooks"],(function(require,e,t,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.useImplicitNumberConverter=void 0,e.useImplicitNumberConverter=function({converter:e}){return(0,a.useMemo)((()=>e??new t.NumberConverter),[e])}})),define("oj-c/input-number/useImplicitNumberRangeValidator",["require","exports","preact/hooks","ojs/ojvalidator-numberrange"],(function(require,e,t,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.useImplicitNumberRangeValidator=void 0,e.useImplicitNumberRangeValidator=function({converter:e,max:n,min:r,numberRangeExactMessageDetail:s,numberRangeOverflowMessageDetail:o,numberRangeUnderflowMessageDetail:i}){return(0,t.useMemo)((()=>void 0!==r||void 0!==n?new a({converter:e,max:n,min:r,messageDetail:{exact:s,rangeOverflow:o,rangeUnderflow:i}}):null),[e,r,n])}})),define("oj-c/input-number/stepBasisUtils",["require","exports"],(function(require,e){"use strict";function t(e,t,a,n,r,s){let o=null!=s?s:n;null==o&&(o=0);try{a=parseFloat(a.toFixed(0))}catch(e){e instanceof TypeError&&(a=+a)}let i=a-o,l=Math.round(i/t)*t;l=parseFloat(l.toFixed(0));let u;if(l===i?u=a+e:(i=e<0?Math.ceil(i/t)*t:Math.floor(i/t)*t,u=o+i+e),u=parseFloat(u.toFixed(0)),null!=s&&u<s)return s;if(null!=r&&u>r){let e=Math.floor((r-o)/t)*t+o;return e=parseFloat(e.toFixed(0)),e}return u}function a(e){const t=e.toString(),a=t.indexOf(".");return-1===a?0:t.length-a-1}Object.defineProperty(e,"__esModule",{value:!0}),e.determineSteppedValue=void 0,e.determineSteppedValue=function(e,n,r,s,o,i){const l=function(e,t,n){let r=a(e);null!=n&&(r=Math.max(r,a(n)));null!=t&&(r=Math.max(r,a(t)));return r}(n,s,i);if(l>0){const a=Math.pow(10,l),u=void 0!==i?Math.round(i*a):i,d=null!=o?Math.round(o*a):o,c=Math.round(n*a);return t(Math.round(e*a),c,Math.round(r*a),null!=s?Math.round(s*a):s,d,u)/a}return t(e,n,r,s,o,i)}})),define("oj-c/input-number/useNumberInputTextPreact",["require","exports","oj-c/editable-value/UNSAFE_useEditableValue/useEditableValue","oj-c/editable-value/UNSAFE_useValidators/useValidators","./useImplicitNumberConverter","./useImplicitNumberRangeValidator","preact/hooks","oj-c/editable-value/utils/utils","./stepBasisUtils","oj-c/editable-value/utils/utils"],(function(require,e,t,a,n,r,s,o,i,l){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.useNumberInputTextPreact=void 0,e.useNumberInputTextPreact=function({autocomplete:e="on",autofocus:u,converter:d,disabled:c,displayOptions:p,inputPrefix:m,inputSuffix:v,labelEdge:f,labelHint:g,labelStartWidth:b,max:y,messagesCustom:V,min:C,numberRangeExactMessageDetail:h,numberRangeOverflowMessageDetail:S,numberRangeUnderflowMessageDetail:M,placeholder:E,readonly:x,required:A,requiredMessageDetail:_,step:j,stepperVariant:N,textAlign:F,userAssistanceDensity:D,validators:R,value:w,virtualKeyboard:k,onMessagesCustomChanged:U,onRawValueChanged:I,onTransientValueChanged:O,onValidChanged:L,onValueChanged:P,...q},T){const H=(0,o.treatNull)(C),B=(0,o.treatNull)(y),W=(0,n.useImplicitNumberConverter)({converter:d}),K=(0,r.useImplicitNumberRangeValidator)({converter:W,max:B,min:H,numberRangeExactMessageDetail:h,numberRangeOverflowMessageDetail:S,numberRangeUnderflowMessageDetail:M}),{onCommitValue:z,format:$,normalizeAndParseValue:G,methods:Y,textFieldProps:J,value:Q,setValue:X,displayValue:Z,setDisplayValue:ee,setTransientValue:te}=(0,t.useEditableValue)({ariaDescribedBy:q["aria-describedby"],converter:W,disabled:c,displayOptions:p,implicitComponentValidator:K,messagesCustom:V,readonly:x,required:A,requiredMessageDetail:_,validators:R,value:w,addBusyState:T,onMessagesCustomChanged:U,onRawValueChanged:I,onTransientValueChanged:O,onValidChanged:L,onValueChanged:P}),ae=void 0!==H,ne=void 0!==B,re=(0,s.useRef)(!1),se=(0,s.useRef)(new Array),oe=(0,s.useRef)(Z),ie=(0,s.useRef)((0,o.treatNull)(w));w!==Q&&(ie.current=(0,o.treatNull)(w));const[le,ue]=(0,s.useState)((0,o.treatNull)(Q)),[de,ce]=(0,s.useState)(Q);Q!==de&&(ce(Q),ue((0,o.treatNull)(Q)),te(Q));const[pe,me]=(0,s.useState)(!1);oe.current=Z;const ve=(0,s.useCallback)((async({value:e})=>{me(!1);const t=G(e),n=t;if("symbol"==typeof t)return void ue(void 0);if(await z(n)===a.ValidationResult.VALID){const e=$(n);ee(e)}else ue(n)}),[$,G,z]),fe=(0,s.useCallback)((({value:e})=>{ee(e??""),me(!0)}),[]),ge={...J,onCommit:ve,onInput:fe},be=(0,s.useCallback)((async(e,t)=>{if(void 0===j||re.current)return;const n=oe.current||"0",r=G(n);if("symbol"==typeof r)return;const s=r;let o;if(void 0!==e){const t="increase"===e?j:-1*j;o=(0,i.determineSteppedValue)(t,j,s,ie.current,B,H)}else o=s;re.current=!0;const l=$(o);ee(l),oe.current=l;const u=await z(o,t),d=!1===t,c=t&&u===a.ValidationResult.VALID;d&&u===a.ValidationResult.VALID&&te(o),c||ue(o),re.current=!1}),[Q,Z,$,G,z]),ye=(0,s.useCallback)((async e=>{if(await be(e,!0),se.current.length>0){const e=se.current.shift();ye(e)}}),[be]),Ve=(0,s.useCallback)((async({direction:e})=>{re.current?se.current.push(e):ye(e)}),[ye]),Ce=(0,s.useCallback)((async({direction:e})=>{se.current=[],be(e,!1)}),[be]),he=(0,s.useCallback)((async()=>{const e=G(oe.current),t=e;"symbol"!=typeof e&&await z(t)}),[z,G]),Se=function(e,t,a,n){if(!e)return""!==t?t:void 0;let r;a&&(r=n(a));return""===r||null===r?void 0:r}(pe,Z,le,$),Me="auto"===k?(0,l.getVirtualKeyboardHintFromConverter)(W):k;return{value:Q,setValue:X,methods:Y,inputNumberProps:{"aria-valuemax":B,"aria-valuemin":H,"aria-valuenow":le??void 0,"aria-valuetext":Se,autoComplete:e,autoFocus:u,hasSteppers:void 0!==j&&j>0,isDisabled:c,isReadonly:x,isRequired:A,isRequiredShown:A&&("compact"===D||void 0===(0,o.treatNull)(Q)),label:g,labelEdge:f,labelStartWidth:b,stepperVariant:N,onSpin:j?Ce:void 0,onSpinComplete:j?he:void 0,onStep:j?Ve:void 0,placeholder:E,prefix:m,suffix:v,isStepDownDisabled:c||ae&&(void 0!==le&&le<=H||""===Z&&0===H),isStepUpDisabled:c||ne&&(void 0!==le&&le>=B||""===Z&&0===B),textAlign:F,userAssistanceDensity:D,virtualKeyboard:Me,...ge}}}})),define("oj-c/input-number/input-number",["require","exports","preact/jsx-runtime","@oracle/oraclejet-preact/translationBundle","@oracle/oraclejet-preact/hooks/UNSAFE_useFormContext","oj-c/hooks/UNSAFE_useMergedFormContext/useMergedFormContext","@oracle/oraclejet-preact/hooks/UNSAFE_useFormVariantContext","@oracle/oraclejet-preact/hooks/UNSAFE_useTabbableMode","@oracle/oraclejet-preact/UNSAFE_NumberInputText","oj-c/editable-value/UNSAFE_useAssistiveText/useAssistiveText","ojs/ojcontext","ojs/ojvcomponent","preact/compat","preact/hooks","./useNumberInputTextPreact","@oracle/oraclejet-preact/utils/UNSAFE_styles/Layout","css!oj-c/input-number/input-number-styles.css"],(function(require,e,t,a,n,r,s,o,i,l,u,d,c,p,m,v){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.InputNumber=void 0;const f={converterHint:"display",messages:"display",validatorHint:"display"},g={instruction:""},b={definition:"",source:""},y=[],V=[];e.InputNumber=(0,d.registerCustomElement)("oj-c-input-number",(0,c.forwardRef)((({autocomplete:e="on",columnSpan:a=1,converter:o=null,containerReadonly:c,disabled:C=!1,displayOptions:h=f,help:S=g,helpHints:M=b,id:E,labelWrapping:x,messagesCustom:A=y,readonly:_,required:j=!1,stepperVariant:N="directional",userAssistanceDensity:F,validators:D=V,virtualKeyboard:R="auto",value:w=null,...k},U)=>{const I=(0,p.useRef)(),O=(0,p.useRef)(),L=(0,p.useCallback)(((e="InputNumber: busyState")=>I.current?u.getContext(I.current).getBusyContext().addBusyState({description:`oj-c-input-number id=${E} is ${e}`}):()=>{}),[E]),{containerProps:P,uadValue:q,readonlyValue:T}=(0,r.useMergedFormContext)({propContainerReadonly:c,propLabelWrapping:x,propReadonly:_,propUserAssistanceDensity:F}),{inputNumberProps:H,methods:B}=(0,m.useNumberInputTextPreact)({autocomplete:e,converter:o,disabled:C,displayOptions:h,messagesCustom:A,readonly:T,required:j,stepperVariant:N,userAssistanceDensity:q,validators:D,virtualKeyboard:R,value:w,...k},L);(0,p.useImperativeHandle)(U,(()=>({blur:()=>O.current?.blur(),focus:()=>O.current?.focus(),...B})),[B]);const W=(0,l.useAssistiveText)({displayOptions:h,help:S,helpHints:M,userAssistanceDensity:H.userAssistanceDensity,validators:D}),K=(0,s.useFormVariantContext)();if(void 0!==k.step&&k.step<0)throw new Error("step must be a positive number");if(null!=k.min&&null!=k.max&&k.max<k.min)throw new Error("max cannot be less than min");return(0,t.jsx)(d.Root,{id:E,ref:I,class:v.layoutSpanStyles.layoutSpanColumn[a],children:(0,t.jsx)(n.FormContext.Provider,{value:P,children:(0,t.jsx)(i.NumberInputText,{ref:O,...W,...H,variant:K})})})})),"InputNumber",{properties:{autocomplete:{type:"string"},columnSpan:{type:"number"},containerReadonly:{type:"boolean",binding:{consume:{name:"containerReadonly"}}},converter:{type:"object|null"},disabled:{type:"boolean"},displayOptions:{type:"object",properties:{converterHint:{type:"string",enumValues:["none","display"]},messages:{type:"string",enumValues:["none","display"]},validatorHint:{type:"string",enumValues:["none","display"]}}},help:{type:"object",properties:{instruction:{type:"string"}}},helpHints:{type:"object",properties:{definition:{type:"string"},source:{type:"string"},sourceText:{type:"string"}}},inputPrefix:{type:"string"},inputSuffix:{type:"string"},labelEdge:{type:"string",enumValues:["none","start","top","inside"],binding:{consume:{name:"containerLabelEdge"}}},labelHint:{type:"string"},labelStartWidth:{type:"number|string",binding:{consume:{name:"labelWidth"}}},labelWrapping:{type:"string",enumValues:["truncate","wrap"],binding:{consume:{name:"labelWrapping"}}},max:{type:"number|null"},min:{type:"number|null"},messagesCustom:{type:"Array<object>",writeback:!0},numberRangeExactMessageDetail:{type:"string"},numberRangeOverflowMessageDetail:{type:"string"},numberRangeUnderflowMessageDetail:{type:"string"},placeholder:{type:"string"},readonly:{type:"boolean",binding:{consume:{name:"containerReadonly"}}},required:{type:"boolean"},requiredMessageDetail:{type:"string"},step:{type:"number"},stepperVariant:{type:"string",enumValues:["directional","quantitative"]},textAlign:{type:"string",enumValues:["end","start","right"]},userAssistanceDensity:{type:"string",enumValues:["compact","reflow","efficient"],binding:{consume:{name:"containerUserAssistanceDensity"}}},validators:{type:"Array<object>|null"},value:{type:"number|null",writeback:!0},virtualKeyboard:{type:"string",enumValues:["number","auto","text"]},rawValue:{type:"string",readOnly:!0,writeback:!0},transientValue:{type:"number",readOnly:!0,writeback:!0},valid:{type:"string",enumValues:["pending","valid","invalidHidden","invalidShown"],readOnly:!0,writeback:!0}},extension:{_WRITEBACK_PROPS:["messagesCustom","rawValue","transientValue","valid","value"],_READ_ONLY_PROPS:["rawValue","transientValue","valid"],_OBSERVED_GLOBAL_PROPS:["aria-describedby","id","autofocus"]},methods:{blur:{},focus:{},showMessages:{},reset:{},validate:{}}},{autocomplete:"on",columnSpan:1,converter:null,disabled:!1,displayOptions:{converterHint:"display",messages:"display",validatorHint:"display"},help:{instruction:""},helpHints:{definition:"",source:""},messagesCustom:[],required:!1,stepperVariant:"directional",validators:[],virtualKeyboard:"auto",value:null},{"@oracle/oraclejet-preact":a.default},{consume:[s.FormVariantContext,o.TabbableModeContext]})})),define("oj-c/input-number",["require","exports","oj-c/input-number/input-number"],(function(require,e,t){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.InputNumber=void 0,Object.defineProperty(e,"InputNumber",{enumerable:!0,get:function(){return t.InputNumber}})}));
1
+ define("oj-c/hooks/UNSAFE_useMergedFormContext/useMergedFormContext",["require","exports","@oracle/oraclejet-preact/hooks/UNSAFE_useFormContext"],(function(require,e,t){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.useMergedFormContext=function({propContainerReadonly:e,propLabelWrapping:a,propReadonly:r,propUserAssistanceDensity:s}){const n=(0,t.useFormContext)(),u=s??n.userAssistanceDensity,l=r??n.isReadonly,{isFormLayout:o,isReadonly:i,labelWrapping:d,...c}=n;return{containerProps:{...c,isFormLayout:void 0!==e||o,isReadonly:e??i,labelWrapping:a??d},readonlyValue:l,uadValue:u}}})),define("oj-c/editable-value/UNSAFE_useAssistiveText/useAssistiveText",["require","exports","preact/hooks"],(function(require,e,t){"use strict";function a(e,t,a,r,s,n){const u="compact"!==n?a?.definition:void 0;return e?.instruction||("none"===s?.validatorHint?void 0:t)||u||("none"===s?.converterHint?void 0:r)}function r(e){if(!e.length)return;return e.map((e=>"function"==typeof e.getHint?e.getHint():void 0)).filter(Boolean).join("\n")}Object.defineProperty(e,"__esModule",{value:!0}),e.useAssistiveText=function({addBusyState:e,converter:s,displayOptions:n,help:u,helpHints:l,userAssistanceDensity:o,validators:i}){const[d,c]=(0,t.useState)(i&&i.length?r(i):void 0),p=(0,t.useRef)();(0,t.useEffect)((()=>{if(!i||!i.length)return void c(void 0);c(r(i));const t=i.map((e=>e.hint)).filter(Boolean),a=p.current=Symbol(),s=e?.("resolving the async validator hints");Promise.allSettled(t).then((e=>{c((t=>{const r=e.map((e=>"fulfilled"===e.status?e.value:void 0)).filter(Boolean);return a===p.current&&r.length?[t,...r].join("\n"):t})),s?.()}))}),[i]);const v="compact"!==o?l?.sourceText:l?.definition||l?.sourceText;return{assistiveText:a(u,d,l,s?.getHint?.()??void 0,n,o),helpSourceLink:l?.source,helpSourceText:v}}})),define("oj-c/hooks/UNSAFE_useEditableValue/utils",["require","exports"],(function(require,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.treatNull=e.normalizeValue=e.isShallowEqual=e.hasErrorMessages=e.getVirtualKeyboardHintFromConverter=e.createMessageFromError=void 0;e.createMessageFromError=e=>"function"==typeof e.getMessage?{severity:"error",detail:e.getMessage().detail}:{severity:"error",detail:e.message};e.treatNull=(e,t)=>null===e?t:e;e.normalizeValue=e=>"string"==typeof e&&""===e?null:e;e.isShallowEqual=(e,t)=>e===t||e.length===t.length&&e.every(((e,a)=>e===t[a]));e.hasErrorMessages=e=>!!e&&e.some((e=>"error"===e.severity));e.getVirtualKeyboardHintFromConverter=e=>{let t;if(e&&e.resolvedOptions){const a=e.resolvedOptions();t=a?.virtualKeyboardHint??"text"}else t="text";return t}})),define("oj-c/hooks/UNSAFE_useEditableValue/converterUtils",["require","exports","./utils"],(function(require,e,t){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.format=function(e,a,r){if(function(e){return null===e}(e))return{result:"success",value:a};try{return{result:"success",value:r.format(e)}}catch(e){return{result:"failure",error:(0,t.createMessageFromError)(e)}}},e.parse=function(e,a,r){if(void 0===e)return{result:"success",value:null};if(s=e,""===s||null===s)return{result:"success",value:e};var s;try{return{result:"success",value:a.parse(e)}}catch(e){return{result:"failure",error:r?.(e)??(0,t.createMessageFromError)(e)}}}})),define("oj-c/editable-value/UNSAFE_useStaleIdentity/useStaleIdentity",["require","exports","preact/hooks"],(function(require,e,t){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.useStaleIdentity=function(){const e=(0,t.useRef)(new Map);return{setStaleIdentity:(0,t.useCallback)((t=>{const a=Symbol();return e.current.set(t,a),{isStale:()=>a!==e.current.get(t)}}),[])}}})),define("oj-c/hooks/UNSAFE_useEditableValue/reducer",["require","exports"],(function(require,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.reducer=function(e,t){const a=e.customMessages??[],r=e.hiddenMessages,s=e.componentMessages,n=e.shownMessages;switch(t.type){case"UPDATE_DISPLAY_VALUE":return{...e,displayValue:t.payload};case"UPDATE_VALID":return{...e,valid:t.payload};case"UPDATE_VALUE":return{...e,value:t.payload};case"UPDATE_TRANSIENT_VALUE":return{...e,transientValue:t.payload};case"UPDATE_PREVIOUS_CONVERTER":return{...e,previousConverter:t.payload};case"UPDATE_PREVIOUS_DEFERRED_VALIDATORS":return{...e,previousDeferredValidators:t.payload};case"UPDATE_PREVIOUS_DISABLED":return{...e,previousDisabled:t.payload};case"UPDATE_PREVIOUS_READONLY":return{...e,previousReadonly:t.payload};case"UPDATE_PREVIOUS_VALIDATORS":return{...e,previousValidators:t.payload};case"UPDATE_PREVIOUS_VALUE":return{...e,previousValue:t.payload};case"UPDATE_COMPONENT_MESSAGES":return{...e,componentMessages:t.payload,shownMessages:[...a,...t.payload]};case"UPDATE_HIDDEN_MESSAGES":return{...e,hiddenMessages:t.payload};case"UPDATE_CUSTOM_MESSAGES":return{...e,customMessages:t.payload,shownMessages:[...t.payload,...s]};case"CLEAR_ALL_MESSAGES":return{...e,shownMessages:[],hiddenMessages:[],customMessages:[],componentMessages:[]};case"ADD_COMPONENT_MESSAGE":return{...e,componentMessages:[...s,t.payload],shownMessages:[...n,t.payload]};case"SHOW_HIDDEN_MESSAGES":return 0===r.length?e:{...e,hiddenMessages:[],shownMessages:[...a,...s,...r]};default:return e}},e.addComponentMessage=function(e,t){e({type:"ADD_COMPONENT_MESSAGE",payload:t})},e.clearAllMessages=function(e,t,{onMessagesCustomChanged:a}){e({type:"CLEAR_ALL_MESSAGES"}),a?.([])},e.showHiddenMessages=function(e){e({type:"SHOW_HIDDEN_MESSAGES"})},e.updateComponentMessages=function(e,t){e({type:"UPDATE_COMPONENT_MESSAGES",payload:t})},e.updateCustomMessages=function(e,t){e({type:"UPDATE_CUSTOM_MESSAGES",payload:t})},e.updateDisplayValue=function(e,t,{onRawValueChanged:a}){e({type:"UPDATE_DISPLAY_VALUE",payload:t}),a?.(t)},e.updateHiddenMessages=function(e,t){e({type:"UPDATE_HIDDEN_MESSAGES",payload:t})},e.updatePreviousConverter=function(e,t){e({type:"UPDATE_PREVIOUS_CONVERTER",payload:t})},e.updatePreviousDeferredValidators=function(e,t){e({type:"UPDATE_PREVIOUS_DEFERRED_VALIDATORS",payload:t})},e.updatePreviousDisabled=function(e,t){e({type:"UPDATE_PREVIOUS_DISABLED",payload:t})},e.updatePreviousReadonly=function(e,t){e({type:"UPDATE_PREVIOUS_READONLY",payload:t})},e.updatePreviousValidators=function(e,t){e({type:"UPDATE_PREVIOUS_VALIDATORS",payload:t})},e.updatePreviousValue=function(e,t){e({type:"UPDATE_PREVIOUS_VALUE",payload:t})},e.updateTransientValue=function(e,t,{onTransientValueChanged:a}){e({type:"UPDATE_TRANSIENT_VALUE",payload:t}),a?.(t)},e.updateValidStatus=function(e,t,{onValidChanged:a}){e({type:"UPDATE_VALID",payload:t}),a?.(t)},e.updateValue=function(e,t,{onValueChanged:a}){e({type:"UPDATE_VALUE",payload:t}),a?.(t)}})),define("oj-c/hooks/UNSAFE_useEditableValue/validationUtils",["require","exports","./utils"],(function(require,e,t){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.validateAsync=function({validators:e,value:a}){const r=(e,a)=>{try{const r=e.validate(a);if(r instanceof Promise)return r.then((()=>{}),(e=>(0,t.createMessageFromError)(e)))}catch(e){return(0,t.createMessageFromError)(e)}},s=[],n=[];for(const t of e){const e=r(t,a);void 0!==e&&(e instanceof Promise?n.push(e):s.push(e))}return{errors:s,maybeErrorPromises:n}},e.validateSync=function({validators:e,value:a}){const r=[];for(const s of e)try{s.validate(a)}catch(e){r.push((0,t.createMessageFromError)(e))}if(r.length)return{result:"failure",errors:r};return{result:"success"}}})),define("oj-c/hooks/UNSAFE_useEditableValue/useEditableValue",["require","exports","preact/hooks","./converterUtils","./utils","oj-c/editable-value/UNSAFE_useStaleIdentity/useStaleIdentity","./reducer","./validationUtils"],(function(require,e,t,a,r,s,n,u){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.useEditableValue=function({addBusyState:e,ariaDescribedBy:l,converter:o,defaultDisplayValue:i,deferredValidators:d,disabled:c,displayOptions:p,messagesCustom:v,onDisplayValueChanged:m,onMessagesCustomChanged:y,onRawValueChanged:g,onTransientValueChanged:f,onValidChanged:b,onValueChanged:V,translateConverterParseError:h,readonly:S,validators:E,value:M}){const C=(0,t.useRef)(!0),{setStaleIdentity:_}=(0,s.useStaleIdentity)(),[A,D]=(0,t.useReducer)(n.reducer,{shownMessages:[],hiddenMessages:[],customMessages:v,componentMessages:[],value:M,valid:"pending"},(e=>{const t=o?(0,a.format)(M,i,o):{result:"success",value:(0,r.treatNull)(M,i)};return{...e,displayValue:"success"===t.result?t.value:i}})),P=(0,t.useRef)(),R=(0,t.useCallback)((e=>{e!==P.current&&(P.current=e,b?.(e))}),[b]),x=(0,t.useCallback)(((e,t)=>(e(D,t,{onMessagesCustomChanged:y,onRawValueChanged:g,onTransientValueChanged:f,onValidChanged:R,onValueChanged:V}),!0)),[D,y,g,f,R,V]),U=(0,t.useCallback)((e=>{const t="string"==typeof e?e.trim():e;return(0,u.validateSync)({validators:d??[],value:t})}),[d]),N=(0,t.useCallback)((e=>{x(n.updateValue,e)}),[x]),w=(0,t.useCallback)((e=>{x(n.updateDisplayValue,e)}),[x]),O=(0,t.useCallback)((e=>{x(n.updateTransientValue,e)}),[x]),j=(0,t.useCallback)((e=>{let t;if(o){const s=(0,a.format)(e,i,o);"failure"===s.result?(x(n.updateComponentMessages,[s.error]),x(n.updateValidStatus,"invalidShown"),t=(0,r.treatNull)(e,i)):t=s.value}else t=(0,r.treatNull)(e,i);return t}),[o,i,x]),T=(0,t.useCallback)((e=>{const t=j(e);return x(n.updateDisplayValue,t),m?.(),!0}),[x,j,m]),F=(0,t.useCallback)((()=>"invalidShown"!==A.valid?{result:"success",value:A.value}:o?(0,a.parse)((0,r.normalizeValue)(A.displayValue),o,h):{result:"success",value:(0,r.normalizeValue)(A.displayValue)}),[o,A.displayValue,A.valid,A.value,h]),I=(0,t.useCallback)((e=>o?(0,a.parse)((0,r.normalizeValue)(e),o,h):{result:"success",value:(0,r.normalizeValue)(e)}),[o,h]),k=(0,t.useCallback)((e=>{const t=I(e);return"failure"===t.result&&(x(n.updateComponentMessages,[t.error]),x(n.updateValidStatus,"invalidShown")),t}),[x,I]),H=(0,t.useCallback)((async(t,a={})=>{const{doNotClearMessagesCustom:s=!1}=a,l=s&&(0,r.hasErrorMessages)(v);if(s?(x(n.updateComponentMessages,[]),x(n.updateHiddenMessages,[])):x(n.clearAllMessages),!(E&&0!==E.length||d&&0!==d.length))return x(n.updateValidStatus,l?"invalidShown":"valid"),!0;const o=[],i=U(t);let c;"failure"===i.result&&o.push(...i.errors),null!=t&&(c=(0,u.validateAsync)({validators:E??[],value:t})),o.push(...c?.errors??[]);const p=c?.maybeErrorPromises??[];if(!o.length&&!p.length)return x(n.updateValidStatus,l?"invalidShown":"valid"),!0;const m=0!==o.length;if(m&&x(n.updateComponentMessages,o)&&x(n.updateValidStatus,"invalidShown"),!p.length)return!m;!m&&x(n.updateValidStatus,"pending");const y=e?.("running asynchronous validation"),{isStale:g}=_("useEditableValue-full-validate");let f=!1;const b=[];for(const e of p){const t=e.then((e=>{e&&!g()&&(x(n.addComponentMessage,e),x(n.updateValidStatus,"invalidShown"),f=!0)}));b.push(t)}return await Promise.all(b),m||f||g()||x(n.updateValidStatus,l?"invalidShown":"valid"),y?.(),!m&&!f}),[e,x,d,v,_,U,E]),L=async()=>{if(c||S)return;const e=F();if("failure"===e.result)return x(n.updateComponentMessages,[e.error]),void x(n.updateValidStatus,"invalidShown");const t=e.value;await B(t,{doNotClearMessagesCustom:!0})&&x(n.updateValue,t)&&T(t)},q=(0,t.useCallback)((e=>{x(n.clearAllMessages);const t=U(e);return"failure"===t.result&&x(n.updateHiddenMessages,t.errors),x(n.updateValidStatus,"failure"===t.result?"invalidHidden":"valid"),!0}),[x,U]),B=(0,t.useCallback)((async(t,a={})=>{const{isStale:r}=_("useEditableValue-validateValueOnInternalChange"),s=e?.("Running validateValueOnInternalChange"),n=await H(t,a);return s?.(),!r()&&n}),[e,H,_]),K=(0,t.useCallback)((async(e,t=!0)=>{const a=await B(e);return a&&t&&x(n.updateValue,e),a}),[x,B]),W=(0,t.useCallback)((async({value:e})=>{const t=k(e);if("failure"===t.result)return!1;const a=t.value,r=await K(a);return r&&T(a),r}),[K,k,T]),G=(0,t.useCallback)((({value:e})=>{x(n.updateDisplayValue,e??i)}),[x,i]),z=(0,t.useCallback)((async()=>{if(S||c)return"valid";const t=k(A.displayValue);if("failure"===t.result)return"invalid";const a=t.value,r=e?.("Running component method validate"),s=await H(a);return r?.(),s?(a!==A.value&&(x(n.updateValue,a),T(a)),"valid"):"invalid"}),[e,c,x,H,k,S,T,A.displayValue,A.value]),Y=(0,t.useCallback)((()=>{q(A.value),T(A.value)}),[T,A.value,q]),$=(0,t.useCallback)((()=>{A.hiddenMessages&&A.hiddenMessages.length>0&&(x(n.showHiddenMessages),x(n.updateValidStatus,"invalidShown"))}),[x,A.hiddenMessages]);C.current||A.previousValue===M||(x(n.updatePreviousValue,M),M!==A.value&&(q(M),x(n.updateValue,M),T(M)));C.current||A.previousConverter===o||(x(n.updatePreviousConverter,o),"invalidShown"!==A.valid&&T(M),"invalidShown"===A.valid&&L());C.current||A.previousValidators===E||(x(n.updatePreviousValidators,E),"invalidShown"===A.valid&&L());if(!C.current&&(!A.customMessages&&v||A.customMessages&&!v||A.customMessages&&v&&!(0,r.isShallowEqual)(A.customMessages,v))){const e=A.componentMessages??[],t=A.hiddenMessages??[],a=v??[],s=(0,r.hasErrorMessages)(a),u=t.length>0,l=0===e.length&&0===t.length&&0===a.length;x(n.updateCustomMessages,a),s&&x(n.updateValidStatus,"invalidShown"),!s&&"pending"!==A.valid&&(l&&x(n.updateValidStatus,"valid")||u&&x(n.updateValidStatus,"invalidHidden"))}if(!C.current&&(A.previousDeferredValidators!==d||A.previousDisabled!==c||A.previousReadonly!==S)){const e=0===d?.length;if(A.previousDeferredValidators!==d&&x(n.updatePreviousDeferredValidators,d),A.previousDisabled!==c&&x(n.updatePreviousDisabled,c),A.previousReadonly!==S&&x(n.updatePreviousReadonly,S),e||!S&&!c)switch(A.valid){case"valid":const e=F();if("failure"===e.result)x(n.updateComponentMessages,[e.error]),x(n.updateValidStatus,"invalidShown");else{const t=U(e.value);"failure"===t.result&&x(n.updateHiddenMessages,t.errors)&&x(n.updateValidStatus,"invalidHidden")}break;case"invalidHidden":0===d?.length&&(x(n.updateValidStatus,"valid"),x(n.updateHiddenMessages,[]));break;case"invalidShown":L()}}C.current&&(C.current=!1);return(0,t.useEffect)((()=>{if(x(n.updatePreviousValue,M),x(n.updatePreviousConverter,o),x(n.updatePreviousValidators,E),x(n.updatePreviousDeferredValidators,d),x(n.updatePreviousDisabled,c),x(n.updatePreviousReadonly,S),x(n.updateCustomMessages,v),x(n.updateTransientValue,M),c||S)x(n.updateValidStatus,"valid"),T(M);else{const e=U(M);"failure"===e.result&&x(n.updateHiddenMessages,e.errors)&&x(n.updateValidStatus,(0,r.hasErrorMessages)(v)?"invalidShown":"invalidHidden"),"success"===e.result&&x(n.updateValidStatus,(0,r.hasErrorMessages)(v)?"invalidShown":"valid")&&T(M)}}),[]),{value:A.value,displayValue:A.displayValue,formatValue:j,methods:{reset:Y,showMessages:$,validate:z},onCommitValue:K,parseValue:k,refreshDisplayValue:T,setDisplayValue:w,setTransientValue:O,setValue:N,textFieldProps:{"aria-describedby":l,messages:"none"!==p?.messages?A.shownMessages:void 0,onCommit:W,onInput:G,value:A.displayValue},validateValueOnExternalChange:q}}})),define("oj-c/hooks/UNSAFE_useEditableValue/index",["require","exports","./utils","./useEditableValue"],(function(require,e,t,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.useEditableValue=e.treatNull=e.getVirtualKeyboardHintFromConverter=void 0,Object.defineProperty(e,"getVirtualKeyboardHintFromConverter",{enumerable:!0,get:function(){return t.getVirtualKeyboardHintFromConverter}}),Object.defineProperty(e,"treatNull",{enumerable:!0,get:function(){return t.treatNull}}),Object.defineProperty(e,"useEditableValue",{enumerable:!0,get:function(){return a.useEditableValue}})})),define("oj-c/editable-value/UNSAFE_useDeferredValidators/useDeferredValidators",["require","exports","ojs/ojvalidator-required","preact/hooks","@oracle/oraclejet-preact/hooks/UNSAFE_useTranslationBundle"],(function(require,e,t,a,r){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.useDeferredValidators=function({labelHint:e,required:s,requiredMessageDetail:n}){const u=(0,r.useTranslationBundle)("@oracle/oraclejet-preact"),l=n||u.formControl_requiredMessageDetail(),o=(0,a.useMemo)((()=>s?new t({label:e,messageDetail:l}):null),[s]);return(0,a.useMemo)((()=>[o].filter(Boolean)),[o])}})),define("oj-c/input-number/useImplicitNumberConverter",["require","exports","ojs/ojconverter-nativenumber","preact/hooks"],(function(require,e,t,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.useImplicitNumberConverter=function({converter:e}){return(0,a.useMemo)((()=>e??new t.NumberConverter),[e])}})),define("oj-c/input-number/useImplicitNumberRangeValidator",["require","exports","preact/hooks","ojs/ojvalidator-numberrange"],(function(require,e,t,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.useImplicitNumberRangeValidator=function({converter:e,max:r,min:s,numberRangeExactMessageDetail:n,numberRangeOverflowMessageDetail:u,numberRangeUnderflowMessageDetail:l}){return(0,t.useMemo)((()=>void 0!==s||void 0!==r?new a({converter:e,max:r,min:s,messageDetail:{exact:n,rangeOverflow:u,rangeUnderflow:l}}):null),[e,s,r,n,u,l])}})),define("oj-c/input-number/stepBasisUtils",["require","exports"],(function(require,e){"use strict";function t(e,t,a,r,s,n){let u=null!=n?n:r;null==u&&(u=0);try{a=parseFloat(a.toFixed(0))}catch(e){e instanceof TypeError&&(a=+a)}let l=a-u,o=Math.round(l/t)*t;o=parseFloat(o.toFixed(0));let i;if(o===l?i=a+e:(l=e<0?Math.ceil(l/t)*t:Math.floor(l/t)*t,i=u+l+e),i=parseFloat(i.toFixed(0)),null!=n&&i<n)return n;if(null!=s&&i>s){let e=Math.floor((s-u)/t)*t+u;return e=parseFloat(e.toFixed(0)),e}return i}function a(e){const t=e.toString(),a=t.indexOf(".");return-1===a?0:t.length-a-1}Object.defineProperty(e,"__esModule",{value:!0}),e.determineSteppedValue=function(e,r,s,n,u,l){const o=function(e,t,r){let s=a(e);null!=r&&(s=Math.max(s,a(r)));null!=t&&(s=Math.max(s,a(t)));return s}(r,n,l);if(o>0){const a=Math.pow(10,o),i=void 0!==l?Math.round(l*a):l,d=null!=u?Math.round(u*a):u,c=Math.round(r*a);return t(Math.round(e*a),c,Math.round(s*a),null!=n?Math.round(n*a):n,d,i)/a}return t(e,r,s,n,u,l)}})),define("oj-c/input-number/useNumberInputTextPreact",["require","exports","preact/hooks","oj-c/hooks/UNSAFE_useEditableValue/index","oj-c/editable-value/UNSAFE_useDeferredValidators/useDeferredValidators","./useImplicitNumberConverter","./useImplicitNumberRangeValidator","preact/hooks","./stepBasisUtils","@oracle/oraclejet-preact/hooks/UNSAFE_useTranslationBundle","ojs/ojconverter-nativenumber"],(function(require,e,t,a,r,s,n,u,l,o,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.useNumberInputTextPreact=function({autocomplete:e="on",autofocus:d,converter:c,disabled:p,displayOptions:v,inputPrefix:m,inputSuffix:y,labelEdge:g,labelHint:f,labelStartWidth:b,max:V,messagesCustom:h,min:S,numberRangeExactMessageDetail:E,numberRangeOverflowMessageDetail:M,numberRangeUnderflowMessageDetail:C,placeholder:_,readonly:A,required:D,requiredMessageDetail:P,step:R,stepperVariant:x,textAlign:U,userAssistanceDensity:N,validators:w,value:O,virtualKeyboard:j,onMessagesCustomChanged:T,onRawValueChanged:F,onTransientValueChanged:I,onValidChanged:k,onValueChanged:H,...L},q){const B=(0,a.treatNull)(S),K=(0,a.treatNull)(V),W=(0,s.useImplicitNumberConverter)({converter:c}),G=(0,n.useImplicitNumberRangeValidator)({converter:W,max:K,min:B,numberRangeExactMessageDetail:E,numberRangeOverflowMessageDetail:M,numberRangeUnderflowMessageDetail:C}),z=(0,t.useMemo)((()=>[...G?[G]:[],...w||[]]),[G,w]),Y=(0,r.useDeferredValidators)({labelHint:f,required:D,requiredMessageDetail:P}),$=(0,o.useTranslationBundle)("@oracle/oraclejet-preact").inputNumber_converterParseError(),J=(0,u.useCallback)((e=>e?.cause===i.USER_INPUT_ERROR?{severity:"error",detail:$}:void 0),[$]),{onCommitValue:Q,formatValue:X,parseValue:Z,methods:ee,textFieldProps:te,value:ae,setValue:re,displayValue:se,setDisplayValue:ne,setTransientValue:ue}=(0,a.useEditableValue)({addBusyState:q,ariaDescribedBy:L["aria-describedby"],converter:W,defaultDisplayValue:"",deferredValidators:Y,disabled:p,displayOptions:v,messagesCustom:h,onMessagesCustomChanged:T,onRawValueChanged:F,onTransientValueChanged:I,onValidChanged:k,onValueChanged:H,readonly:A,translateConverterParseError:J,validators:z,value:O}),le=void 0!==B,oe=void 0!==K,ie=(0,u.useRef)(!1),de=(0,u.useRef)(new Array),ce=(0,u.useRef)(se),pe=(0,u.useRef)((0,a.treatNull)(O));O!==ae&&(pe.current=(0,a.treatNull)(O));const[ve,me]=(0,u.useState)((0,a.treatNull)(ae)),[ye,ge]=(0,u.useState)(ae);ae!==ye&&(ge(ae),me((0,a.treatNull)(ae)),ue(ae));const[fe,be]=(0,u.useState)(!1);ce.current=se;const Ve=(0,u.useCallback)((async({value:e})=>{be(!1);const t=Z(e);if("failure"===t.result)return void me(void 0);const a=t.value;if(await Q(a)){const e=X(a);ne(e)}else me(a??void 0)}),[X,Z,Q,ne]),he=(0,u.useCallback)((({value:e})=>{ne(e??""),be(!0)}),[ne]),Se={...te,onCommit:Ve,onInput:he},Ee=(0,u.useCallback)((async(e,t)=>{if(void 0===R||ie.current)return;const a=ce.current||"0",r=Z(a);if("failure"===r.result)return;const s=r.value;let n;if(void 0!==e){const t="increase"===e?R:-1*R;n=(0,l.determineSteppedValue)(t,R,s,pe.current,K,B)}else n=s;ie.current=!0;const u=X(n);ne(u),ce.current=u;const o=await Q(n,t),i=t&&o;!1===t&&o&&ue(n),i||me(n),ie.current=!1}),[X,K,B,Z,Q,ne,ue,R]),Me=(0,u.useCallback)((async e=>{if(await Ee(e,!0),de.current.length>0){const e=de.current.shift();Me(e)}}),[Ee]),Ce=(0,u.useCallback)((async({direction:e})=>{ie.current?de.current.push(e):Me(e)}),[Me]),_e=(0,u.useCallback)((async({direction:e})=>{de.current=[],Ee(e,!1)}),[Ee]),Ae=(0,u.useCallback)((async()=>{const e=Z(ce.current);"failure"!==e.result&&await Q(e.value)}),[Q,Z]),De=(0,u.useRef)(),Pe=(0,u.useRef)(),Re=(0,u.useRef)(),xe=(0,u.useRef)();let Ue;fe!==Re.current||se!==Pe.current||ve!==De.current?(Ue=function(e,t,a,r){if(!e)return""!==t?t:void 0;let s;a&&(s=r(a));return""===s||null===s?void 0:s}(fe,se,ve,X),Re.current=fe,Pe.current=se,De.current=ve,xe.current=Ue):Ue=xe.current;const Ne="auto"===j?(0,a.getVirtualKeyboardHintFromConverter)(W):j;return{value:ae,setValue:re,methods:ee,inputNumberProps:{"aria-valuemax":K,"aria-valuemin":B,"aria-valuenow":ve??void 0,"aria-valuetext":Ue,autoComplete:e,autoFocus:d,hasSteppers:void 0!==R&&R>0,isDisabled:p,isReadonly:A,isRequired:D,isRequiredShown:D&&("compact"===N||void 0===(0,a.treatNull)(ae)),label:f,labelEdge:g,labelStartWidth:b,stepperVariant:x,onSpin:R?_e:void 0,onSpinComplete:R?Ae:void 0,onStep:R?Ce:void 0,placeholder:_,prefix:m,suffix:y,isStepDownDisabled:p||le&&(void 0!==ve&&ve<=B||""===se&&0===B),isStepUpDisabled:p||oe&&(void 0!==ve&&ve>=K||""===se&&0===K),textAlign:U,userAssistanceDensity:N,virtualKeyboard:Ne,...Se}}}})),define("oj-c/input-number/input-number",["require","exports","preact/jsx-runtime","@oracle/oraclejet-preact/translationBundle","@oracle/oraclejet-preact/hooks/UNSAFE_useFormContext","oj-c/hooks/UNSAFE_useMergedFormContext/useMergedFormContext","@oracle/oraclejet-preact/hooks/UNSAFE_useFormVariantContext","@oracle/oraclejet-preact/hooks/UNSAFE_useTabbableMode","@oracle/oraclejet-preact/UNSAFE_NumberInputText","oj-c/editable-value/UNSAFE_useAssistiveText/useAssistiveText","ojs/ojcontext","ojs/ojvcomponent","preact/compat","preact/hooks","./useNumberInputTextPreact","@oracle/oraclejet-preact/utils/UNSAFE_styles/Layout","css!oj-c/input-number/input-number-styles.css"],(function(require,e,t,a,r,s,n,u,l,o,i,d,c,p,v,m){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.InputNumber=void 0;const y={converterHint:"display",messages:"display",validatorHint:"display"},g={instruction:""},f={definition:"",source:""},b=[],V=[];e.InputNumber=(0,d.registerCustomElement)("oj-c-input-number",(0,c.forwardRef)((({autocomplete:e="on",columnSpan:a=1,converter:u=null,containerReadonly:c,disabled:h=!1,displayOptions:S=y,help:E=g,helpHints:M=f,id:C,labelWrapping:_,messagesCustom:A=b,readonly:D,required:P=!1,stepperVariant:R="directional",userAssistanceDensity:x,validators:U=V,virtualKeyboard:N="auto",value:w=null,...O},j)=>{const T=(0,p.useRef)(),F=(0,p.useRef)(),I=(0,p.useCallback)(((e="InputNumber: busyState")=>T.current?i.getContext(T.current).getBusyContext().addBusyState({description:`oj-c-input-number id=${C} is ${e}`}):()=>{}),[C]),{containerProps:k,uadValue:H,readonlyValue:L}=(0,s.useMergedFormContext)({propContainerReadonly:c,propLabelWrapping:_,propReadonly:D,propUserAssistanceDensity:x}),{inputNumberProps:q,methods:B}=(0,v.useNumberInputTextPreact)({autocomplete:e,converter:u,disabled:h,displayOptions:S,messagesCustom:A,readonly:L,required:P,stepperVariant:R,userAssistanceDensity:H,validators:U,virtualKeyboard:N,value:w,...O},I);(0,p.useImperativeHandle)(j,(()=>({blur:()=>F.current?.blur(),focus:()=>F.current?.focus(),...B})),[B]);const K=(0,o.useAssistiveText)({displayOptions:S,help:E,helpHints:M,userAssistanceDensity:q.userAssistanceDensity,validators:U}),W=(0,n.useFormVariantContext)();if(void 0!==O.step&&O.step<0)throw new Error("step must be a positive number");if(null!=O.min&&null!=O.max&&O.max<O.min)throw new Error("max cannot be less than min");return(0,t.jsx)(d.Root,{id:C,ref:T,class:m.layoutSpanStyles.layoutSpanColumn[a],children:(0,t.jsx)(r.FormContext.Provider,{value:k,children:(0,t.jsx)(l.NumberInputText,{ref:F,...K,...q,variant:W})})})})),"InputNumber",{properties:{autocomplete:{type:"string"},columnSpan:{type:"number"},containerReadonly:{type:"boolean",binding:{consume:{name:"containerReadonly"}}},converter:{type:"object|null"},disabled:{type:"boolean"},displayOptions:{type:"object",properties:{converterHint:{type:"string",enumValues:["none","display"]},messages:{type:"string",enumValues:["none","display"]},validatorHint:{type:"string",enumValues:["none","display"]}}},help:{type:"object",properties:{instruction:{type:"string"}}},helpHints:{type:"object",properties:{definition:{type:"string"},source:{type:"string"},sourceText:{type:"string"}}},inputPrefix:{type:"string"},inputSuffix:{type:"string"},labelEdge:{type:"string",enumValues:["none","start","top","inside"],binding:{consume:{name:"containerLabelEdge"}}},labelHint:{type:"string"},labelStartWidth:{type:"number|string",binding:{consume:{name:"labelWidth"}}},labelWrapping:{type:"string",enumValues:["truncate","wrap"],binding:{consume:{name:"labelWrapping"}}},max:{type:"number|null"},min:{type:"number|null"},messagesCustom:{type:"Array<object>",writeback:!0},numberRangeExactMessageDetail:{type:"string"},numberRangeOverflowMessageDetail:{type:"string"},numberRangeUnderflowMessageDetail:{type:"string"},placeholder:{type:"string"},readonly:{type:"boolean",binding:{consume:{name:"containerReadonly"}}},required:{type:"boolean"},requiredMessageDetail:{type:"string"},step:{type:"number"},stepperVariant:{type:"string",enumValues:["directional","quantitative"]},textAlign:{type:"string",enumValues:["end","start","right"]},userAssistanceDensity:{type:"string",enumValues:["compact","reflow","efficient"],binding:{consume:{name:"containerUserAssistanceDensity"}}},validators:{type:"Array<object>|null"},value:{type:"number|null",writeback:!0},virtualKeyboard:{type:"string",enumValues:["number","auto","text"]},rawValue:{type:"string",readOnly:!0,writeback:!0},transientValue:{type:"number|null",readOnly:!0,writeback:!0},valid:{type:"string",enumValues:["pending","valid","invalidHidden","invalidShown"],readOnly:!0,writeback:!0}},extension:{_WRITEBACK_PROPS:["messagesCustom","rawValue","transientValue","valid","value"],_READ_ONLY_PROPS:["rawValue","transientValue","valid"],_OBSERVED_GLOBAL_PROPS:["aria-describedby","id","autofocus"]},methods:{blur:{},focus:{},showMessages:{},reset:{},validate:{}}},{autocomplete:"on",columnSpan:1,converter:null,disabled:!1,displayOptions:{converterHint:"display",messages:"display",validatorHint:"display"},help:{instruction:""},helpHints:{definition:"",source:""},messagesCustom:[],required:!1,stepperVariant:"directional",validators:[],virtualKeyboard:"auto",value:null},{"@oracle/oraclejet-preact":a.default},{consume:[n.FormVariantContext,u.TabbableModeContext]})})),define("oj-c/input-number",["require","exports","oj-c/input-number/input-number"],(function(require,e,t){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.InputNumber=void 0,Object.defineProperty(e,"InputNumber",{enumerable:!0,get:function(){return t.InputNumber}})}));
2
2
  //# sourceMappingURL=input-number.js.map