@oracle/oraclejet-webdriver 16.1.4 → 17.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 (249) hide show
  1. package/elements/OjWebElement.js +2 -26
  2. package/elements/OjWebElement.js.map +1 -1
  3. package/elements/OjWebElement.ts +6 -40
  4. package/elements/oj-chart/OjChartBase.ts +8 -0
  5. package/elements/oj-checkboxset/OjCheckboxset.js +11 -12
  6. package/elements/oj-checkboxset/OjCheckboxset.js.map +1 -1
  7. package/elements/oj-checkboxset/OjCheckboxset.ts +14 -14
  8. package/elements/oj-combobox-many/OjComboboxMany.js +11 -20
  9. package/elements/oj-combobox-many/OjComboboxMany.js.map +1 -1
  10. package/elements/oj-combobox-many/OjComboboxMany.ts +14 -22
  11. package/elements/oj-combobox-one/OjComboboxOne.js +9 -18
  12. package/elements/oj-combobox-one/OjComboboxOne.js.map +1 -1
  13. package/elements/oj-combobox-one/OjComboboxOne.ts +12 -20
  14. package/elements/oj-data-grid/OjDataGridBase.ts +24 -0
  15. package/elements/oj-date-picker/OjDatePickerBase.js +20 -20
  16. package/elements/oj-date-picker/OjDatePickerBase.ts +53 -20
  17. package/elements/oj-date-time-picker/OjDateTimePickerBase.js +16 -16
  18. package/elements/oj-date-time-picker/OjDateTimePickerBase.ts +48 -16
  19. package/elements/oj-diagram/OjDiagramBase.ts +4 -0
  20. package/elements/oj-file-picker/OjFilePicker.js +90 -24
  21. package/elements/oj-file-picker/OjFilePicker.js.map +1 -1
  22. package/elements/oj-file-picker/OjFilePicker.ts +101 -27
  23. package/elements/oj-input-date/OjInputDateBase.js +7 -7
  24. package/elements/oj-input-date/OjInputDateBase.ts +37 -7
  25. package/elements/oj-input-date-time/OjInputDateTimeBase.js +7 -7
  26. package/elements/oj-input-date-time/OjInputDateTimeBase.ts +37 -7
  27. package/elements/oj-list-view/OjListView.js +6 -6
  28. package/elements/oj-list-view/OjListView.js.map +1 -1
  29. package/elements/oj-list-view/OjListView.ts +9 -8
  30. package/elements/oj-navigation-list/OjNavigationList.js +8 -10
  31. package/elements/oj-navigation-list/OjNavigationList.js.map +1 -1
  32. package/elements/oj-navigation-list/OjNavigationList.ts +11 -12
  33. package/elements/oj-navigation-list/OjNavigationListBase.js +2 -2
  34. package/elements/oj-navigation-list/OjNavigationListBase.ts +3 -2
  35. package/elements/oj-popup/OjPopupBase.js +1 -1
  36. package/elements/oj-popup/OjPopupBase.ts +1 -1
  37. package/elements/oj-row-expander/OjRowExpanderBase.ts +4 -0
  38. package/elements/oj-select-many/OjSelectMany.js +11 -20
  39. package/elements/oj-select-many/OjSelectMany.js.map +1 -1
  40. package/elements/oj-select-many/OjSelectMany.ts +14 -22
  41. package/elements/oj-select-one/OjSelectOne.js +9 -17
  42. package/elements/oj-select-one/OjSelectOne.js.map +1 -1
  43. package/elements/oj-select-one/OjSelectOne.ts +12 -19
  44. package/elements/oj-select-single/OjSelectSingle.js +7 -14
  45. package/elements/oj-select-single/OjSelectSingle.js.map +1 -1
  46. package/elements/oj-select-single/OjSelectSingle.ts +10 -16
  47. package/elements/oj-stream-list/OjStreamList.js +28 -33
  48. package/elements/oj-stream-list/OjStreamList.js.map +1 -1
  49. package/elements/oj-stream-list/OjStreamList.ts +28 -34
  50. package/elements/oj-sunburst/OjSunburstBase.ts +8 -0
  51. package/elements/oj-swipe-actions/OjSwipeActions.js +7 -10
  52. package/elements/oj-swipe-actions/OjSwipeActions.js.map +1 -1
  53. package/elements/oj-swipe-actions/OjSwipeActions.ts +11 -15
  54. package/elements/oj-tab-bar/OjTabBarBase.ts +1 -0
  55. package/elements/oj-table/OjTable.js +100 -81
  56. package/elements/oj-table/OjTable.js.map +1 -1
  57. package/elements/oj-table/OjTable.ts +146 -97
  58. package/elements/oj-table/OjTableBase.js +9 -0
  59. package/elements/oj-table/OjTableBase.js.map +1 -1
  60. package/elements/oj-table/OjTableBase.ts +10 -0
  61. package/elements/oj-tree-view/OjTreeView.js +25 -29
  62. package/elements/oj-tree-view/OjTreeView.js.map +1 -1
  63. package/elements/oj-tree-view/OjTreeView.ts +34 -35
  64. package/elements/oj-treemap/OjTreemapBase.ts +8 -0
  65. package/index.js +28 -139
  66. package/index.js.map +1 -1
  67. package/index.ts +29 -151
  68. package/lib/busy-context-utils.js +28 -46
  69. package/lib/busy-context-utils.js.map +1 -1
  70. package/lib/busy-context-utils.ts +39 -48
  71. package/lib/dataprovider-utils.js +24 -28
  72. package/lib/dataprovider-utils.js.map +1 -1
  73. package/lib/dataprovider-utils.ts +28 -31
  74. package/lib/no-require-jet.js +12 -0
  75. package/lib/no-require-jet.js.map +1 -0
  76. package/lib/no-require-jet.ts +8 -0
  77. package/lib/oj-module-proxy.js +113 -0
  78. package/lib/oj-module-proxy.js.map +1 -0
  79. package/lib/oj-module-proxy.ts +123 -0
  80. package/lib/viewmodel-utils.js +99 -0
  81. package/lib/viewmodel-utils.js.map +1 -0
  82. package/lib/viewmodel-utils.ts +107 -0
  83. package/package.json +6 -6
  84. package/tsconfig.json +2 -1
  85. package/wdtsdoc/assets/navigation.js +1 -1
  86. package/wdtsdoc/assets/search.js +1 -1
  87. package/wdtsdoc/classes/elements.OjAccordion.html +2 -2
  88. package/wdtsdoc/classes/elements.OjActionCard.html +2 -2
  89. package/wdtsdoc/classes/elements.OjButton.html +2 -2
  90. package/wdtsdoc/classes/elements.OjButtonsetMany.html +2 -2
  91. package/wdtsdoc/classes/elements.OjButtonsetOne.html +2 -2
  92. package/wdtsdoc/classes/elements.OjChart.html +2 -2
  93. package/wdtsdoc/classes/elements.OjCheckboxset.html +2 -2
  94. package/wdtsdoc/classes/elements.OjCollapsible.html +2 -2
  95. package/wdtsdoc/classes/elements.OjColorPalette.html +2 -2
  96. package/wdtsdoc/classes/elements.OjColorSpectrum.html +2 -2
  97. package/wdtsdoc/classes/elements.OjComboboxMany.html +2 -2
  98. package/wdtsdoc/classes/elements.OjComboboxOne.html +2 -2
  99. package/wdtsdoc/classes/elements.OjConveyorBelt.html +2 -2
  100. package/wdtsdoc/classes/elements.OjDataGrid.html +2 -2
  101. package/wdtsdoc/classes/elements.OjDatePicker.html +67 -49
  102. package/wdtsdoc/classes/elements.OjDateTimePicker.html +57 -42
  103. package/wdtsdoc/classes/elements.OjDiagram.html +2 -2
  104. package/wdtsdoc/classes/elements.OjDialog.html +2 -2
  105. package/wdtsdoc/classes/elements.OjDrawerLayout.html +2 -2
  106. package/wdtsdoc/classes/elements.OjDrawerPopup.html +2 -2
  107. package/wdtsdoc/classes/elements.OjFilePicker.html +11 -2
  108. package/wdtsdoc/classes/elements.OjFilmStrip.html +2 -2
  109. package/wdtsdoc/classes/elements.OjGantt.html +2 -2
  110. package/wdtsdoc/classes/elements.OjIndexer.html +2 -2
  111. package/wdtsdoc/classes/elements.OjInputDate.html +28 -21
  112. package/wdtsdoc/classes/elements.OjInputDateTime.html +28 -21
  113. package/wdtsdoc/classes/elements.OjInputNumber.html +2 -2
  114. package/wdtsdoc/classes/elements.OjInputPassword.html +2 -2
  115. package/wdtsdoc/classes/elements.OjInputSearch.html +2 -2
  116. package/wdtsdoc/classes/elements.OjInputText.html +2 -2
  117. package/wdtsdoc/classes/elements.OjInputTime.html +2 -2
  118. package/wdtsdoc/classes/elements.OjLabel.html +2 -2
  119. package/wdtsdoc/classes/elements.OjLedGauge.html +2 -2
  120. package/wdtsdoc/classes/elements.OjLegend.html +2 -2
  121. package/wdtsdoc/classes/elements.OjListView.html +4 -4
  122. package/wdtsdoc/classes/elements.OjMasonryLayout.html +2 -2
  123. package/wdtsdoc/classes/elements.OjMenu.html +2 -2
  124. package/wdtsdoc/classes/elements.OjMenuButton.html +2 -2
  125. package/wdtsdoc/classes/elements.OjMessage.html +2 -2
  126. package/wdtsdoc/classes/elements.OjMessageBanner.html +2 -2
  127. package/wdtsdoc/classes/elements.OjNBox.html +2 -2
  128. package/wdtsdoc/classes/elements.OjNavigationList.html +14 -12
  129. package/wdtsdoc/classes/elements.OjPagingControl.html +2 -2
  130. package/wdtsdoc/classes/elements.OjPictoChart.html +2 -2
  131. package/wdtsdoc/classes/elements.OjPopup.html +6 -5
  132. package/wdtsdoc/classes/elements.OjProgress.html +2 -2
  133. package/wdtsdoc/classes/elements.OjProgressList.html +2 -2
  134. package/wdtsdoc/classes/elements.OjRadioset.html +2 -2
  135. package/wdtsdoc/classes/elements.OjRatingGauge.html +2 -2
  136. package/wdtsdoc/classes/elements.OjRefresher.html +2 -2
  137. package/wdtsdoc/classes/elements.OjRowExpander.html +2 -2
  138. package/wdtsdoc/classes/elements.OjSelectMany.html +2 -2
  139. package/wdtsdoc/classes/elements.OjSelectOne.html +2 -2
  140. package/wdtsdoc/classes/elements.OjSelectSingle.html +2 -2
  141. package/wdtsdoc/classes/elements.OjSelector.html +2 -2
  142. package/wdtsdoc/classes/elements.OjSlider.html +2 -2
  143. package/wdtsdoc/classes/elements.OjSparkChart.html +2 -2
  144. package/wdtsdoc/classes/elements.OjStatusMeterGauge.html +2 -2
  145. package/wdtsdoc/classes/elements.OjStreamList.html +2 -2
  146. package/wdtsdoc/classes/elements.OjSunburst.html +2 -2
  147. package/wdtsdoc/classes/elements.OjSwipeActions.html +2 -2
  148. package/wdtsdoc/classes/elements.OjSwitch.html +2 -2
  149. package/wdtsdoc/classes/elements.OjTabBar.html +2 -2
  150. package/wdtsdoc/classes/elements.OjTable.html +27 -9
  151. package/wdtsdoc/classes/elements.OjTagCloud.html +2 -2
  152. package/wdtsdoc/classes/elements.OjTextArea.html +2 -2
  153. package/wdtsdoc/classes/elements.OjThematicMap.html +2 -2
  154. package/wdtsdoc/classes/elements.OjTimeAxis.html +2 -2
  155. package/wdtsdoc/classes/elements.OjTimeline.html +2 -2
  156. package/wdtsdoc/classes/elements.OjTrain.html +2 -2
  157. package/wdtsdoc/classes/elements.OjTreeView.html +5 -5
  158. package/wdtsdoc/classes/elements.OjTreemap.html +2 -2
  159. package/wdtsdoc/classes/elements.OjWaterfallLayout.html +2 -2
  160. package/wdtsdoc/classes/elements.OjWebElement.html +2 -2
  161. package/wdtsdoc/classes/index.DriverManager.html +2 -2
  162. package/wdtsdoc/classes/index.Expectation.html +2 -2
  163. package/wdtsdoc/functions/elements.ojAccordion-1.html +2 -2
  164. package/wdtsdoc/functions/elements.ojActionCard-1.html +2 -2
  165. package/wdtsdoc/functions/elements.ojButton-1.html +2 -2
  166. package/wdtsdoc/functions/elements.ojButtonsetMany-1.html +2 -2
  167. package/wdtsdoc/functions/elements.ojButtonsetOne-1.html +2 -2
  168. package/wdtsdoc/functions/elements.ojChart-1.html +2 -2
  169. package/wdtsdoc/functions/elements.ojCheckboxset-1.html +2 -2
  170. package/wdtsdoc/functions/elements.ojCollapsible-1.html +2 -2
  171. package/wdtsdoc/functions/elements.ojColorPalette-1.html +2 -2
  172. package/wdtsdoc/functions/elements.ojColorSpectrum-1.html +2 -2
  173. package/wdtsdoc/functions/elements.ojComboboxMany-1.html +2 -2
  174. package/wdtsdoc/functions/elements.ojComboboxOne-1.html +2 -2
  175. package/wdtsdoc/functions/elements.ojConveyorBelt-1.html +2 -2
  176. package/wdtsdoc/functions/elements.ojDataGrid-1.html +2 -2
  177. package/wdtsdoc/functions/elements.ojDatePicker-1.html +2 -2
  178. package/wdtsdoc/functions/elements.ojDateTimePicker-1.html +2 -2
  179. package/wdtsdoc/functions/elements.ojDiagram-1.html +2 -2
  180. package/wdtsdoc/functions/elements.ojDialog-1.html +2 -2
  181. package/wdtsdoc/functions/elements.ojDrawerLayout-1.html +2 -2
  182. package/wdtsdoc/functions/elements.ojDrawerPopup-1.html +2 -2
  183. package/wdtsdoc/functions/elements.ojFilePicker-1.html +2 -2
  184. package/wdtsdoc/functions/elements.ojFilmStrip-1.html +2 -2
  185. package/wdtsdoc/functions/elements.ojGantt-1.html +2 -2
  186. package/wdtsdoc/functions/elements.ojIndexer-1.html +2 -2
  187. package/wdtsdoc/functions/elements.ojInputDate-1.html +2 -2
  188. package/wdtsdoc/functions/elements.ojInputDateTime-1.html +2 -2
  189. package/wdtsdoc/functions/elements.ojInputNumber-1.html +2 -2
  190. package/wdtsdoc/functions/elements.ojInputPassword-1.html +2 -2
  191. package/wdtsdoc/functions/elements.ojInputSearch-1.html +2 -2
  192. package/wdtsdoc/functions/elements.ojInputText-1.html +2 -2
  193. package/wdtsdoc/functions/elements.ojInputTime-1.html +2 -2
  194. package/wdtsdoc/functions/elements.ojLabel-1.html +2 -2
  195. package/wdtsdoc/functions/elements.ojLedGauge-1.html +2 -2
  196. package/wdtsdoc/functions/elements.ojLegend-1.html +2 -2
  197. package/wdtsdoc/functions/elements.ojListView-1.html +2 -2
  198. package/wdtsdoc/functions/elements.ojMasonryLayout-1.html +2 -2
  199. package/wdtsdoc/functions/elements.ojMenu-1.html +2 -2
  200. package/wdtsdoc/functions/elements.ojMenuButton-1.html +2 -2
  201. package/wdtsdoc/functions/elements.ojMessage-1.html +2 -2
  202. package/wdtsdoc/functions/elements.ojMessageBanner-1.html +2 -2
  203. package/wdtsdoc/functions/elements.ojNBox-1.html +2 -2
  204. package/wdtsdoc/functions/elements.ojNavigationList-1.html +2 -2
  205. package/wdtsdoc/functions/elements.ojPagingControl-1.html +2 -2
  206. package/wdtsdoc/functions/elements.ojPictoChart-1.html +2 -2
  207. package/wdtsdoc/functions/elements.ojPopup-1.html +2 -2
  208. package/wdtsdoc/functions/elements.ojProgress-1.html +2 -2
  209. package/wdtsdoc/functions/elements.ojProgressList-1.html +2 -2
  210. package/wdtsdoc/functions/elements.ojRadioset-1.html +2 -2
  211. package/wdtsdoc/functions/elements.ojRatingGauge-1.html +2 -2
  212. package/wdtsdoc/functions/elements.ojRefresher-1.html +2 -2
  213. package/wdtsdoc/functions/elements.ojRowExpander-1.html +2 -2
  214. package/wdtsdoc/functions/elements.ojSelectMany-1.html +2 -2
  215. package/wdtsdoc/functions/elements.ojSelectOne-1.html +2 -2
  216. package/wdtsdoc/functions/elements.ojSelectSingle-1.html +2 -2
  217. package/wdtsdoc/functions/elements.ojSelector-1.html +2 -2
  218. package/wdtsdoc/functions/elements.ojSlider-1.html +2 -2
  219. package/wdtsdoc/functions/elements.ojSparkChart-1.html +2 -2
  220. package/wdtsdoc/functions/elements.ojStatusMeterGauge-1.html +2 -2
  221. package/wdtsdoc/functions/elements.ojStreamList-1.html +2 -2
  222. package/wdtsdoc/functions/elements.ojSunburst-1.html +2 -2
  223. package/wdtsdoc/functions/elements.ojSwipeActions-1.html +2 -2
  224. package/wdtsdoc/functions/elements.ojSwitch-1.html +2 -2
  225. package/wdtsdoc/functions/elements.ojTabBar-1.html +2 -2
  226. package/wdtsdoc/functions/elements.ojTable-1.html +2 -2
  227. package/wdtsdoc/functions/elements.ojTagCloud-1.html +2 -2
  228. package/wdtsdoc/functions/elements.ojTextArea-1.html +2 -2
  229. package/wdtsdoc/functions/elements.ojThematicMap-1.html +2 -2
  230. package/wdtsdoc/functions/elements.ojTimeAxis-1.html +2 -2
  231. package/wdtsdoc/functions/elements.ojTimeline-1.html +2 -2
  232. package/wdtsdoc/functions/elements.ojTrain-1.html +2 -2
  233. package/wdtsdoc/functions/elements.ojTreeView-1.html +2 -2
  234. package/wdtsdoc/functions/elements.ojTreemap-1.html +2 -2
  235. package/wdtsdoc/functions/elements.ojWaterfallLayout-1.html +2 -2
  236. package/wdtsdoc/functions/elements.ojWebElement-1.html +2 -2
  237. package/wdtsdoc/functions/index.ScreenshotManager.create.html +2 -2
  238. package/wdtsdoc/functions/index.ScreenshotManager.get.html +2 -2
  239. package/wdtsdoc/functions/index.ScreenshotManager.set.html +2 -2
  240. package/wdtsdoc/functions/index.fetchKeyByFilter.html +2 -2
  241. package/wdtsdoc/functions/index.register.html +2 -2
  242. package/wdtsdoc/functions/index.slotProxy-1.html +2 -2
  243. package/wdtsdoc/index.html +2 -2
  244. package/wdtsdoc/interfaces/index.DriverLike.html +2 -2
  245. package/wdtsdoc/interfaces/index.SlotProxy.html +2 -2
  246. package/wdtsdoc/modules/elements.html +2 -2
  247. package/wdtsdoc/modules/index.ScreenshotManager.html +2 -2
  248. package/wdtsdoc/modules/index.html +2 -2
  249. package/wdtsdoc/variables/index.default.html +7 -4
@@ -21,7 +21,7 @@ export class OjInputDateTimeBase extends OjWebElement {
21
21
  * Gets the value of <code>autocomplete</code> property.
22
22
  * Specifies a component's autocomplete state. See the Help documentation for more information.
23
23
  * @return The value of <code>autocomplete</code> property.
24
- *
24
+ * @deprecated Since 17.0.0. The date field contains mask segments instead of a general input, so autocomplete is not supported.
25
25
  */
26
26
  public getAutocomplete(): Promise<string> {
27
27
  return this.getProperty<string>('autocomplete');
@@ -31,7 +31,7 @@ export class OjInputDateTimeBase extends OjWebElement {
31
31
  * Gets the value of <code>autofocus</code> property.
32
32
  * Specifies whether the component will get input focus when the page is loaded. See the Help documentation for more information.
33
33
  * @return The value of <code>autofocus</code> property.
34
- *
34
+ * @deprecated Since 17.0.0. This is not recommended for accessibility reasons.
35
35
  */
36
36
  public getAutofocus(): Promise<boolean> {
37
37
  return this.getProperty<boolean>('autofocus');
@@ -71,7 +71,7 @@ export class OjInputDateTimeBase extends OjWebElement {
71
71
  * Gets the value of <code>dayMetaData</code> property.
72
72
  * Specifies additional information to be used when rendering the day. See the Help documentation for more information.
73
73
  * @return The value of <code>dayMetaData</code> property.
74
- *
74
+ * @deprecated Since 17.0.0. Use dayFormatter instead, as it is more flexible.
75
75
  */
76
76
  public getDayMetaData(): Promise<object> {
77
77
  return this.getProperty<object>('dayMetaData');
@@ -131,7 +131,7 @@ export class OjInputDateTimeBase extends OjWebElement {
131
131
  * Gets the value of <code>keyboardEdit</code> property.
132
132
  * Determines if keyboard entry of the text is allowed. When disabled, the picker must be used to select the date. See the Help documentation for more information.
133
133
  * @return The value of <code>keyboardEdit</code> property.
134
- *
134
+ * @deprecated Since 17.0.0. This is not supported in the Redwood UX specification.
135
135
  */
136
136
  public getKeyboardEdit(): Promise<string> {
137
137
  return this.getProperty<string>('keyboardEdit');
@@ -161,7 +161,7 @@ export class OjInputDateTimeBase extends OjWebElement {
161
161
  * Gets the value of <code>labelledBy</code> property.
162
162
  * The oj-label sets the labelledBy property programmatically on the form component. See the Help documentation for more information.
163
163
  * @return The value of <code>labelledBy</code> property.
164
- *
164
+ * @deprecated Since 17.0.0. This is an internal API and is not supported in the Redwood UX specification.
165
165
  */
166
166
  public getLabelledBy(): Promise<string | null> {
167
167
  return this.getProperty<string | null>('labelledBy');
@@ -221,7 +221,7 @@ export class OjInputDateTimeBase extends OjWebElement {
221
221
  * Gets the value of <code>pickerAttributes</code> property.
222
222
  * Specifies attributes to be set on the picker DOM element when it is launched. See the Help documentation for more information.
223
223
  * @return The value of <code>pickerAttributes</code> property.
224
- *
224
+ * @deprecated Since 17.0.0. Changing the Class or Style property is not recommended, as it leads to an inconsistent UI.
225
225
  */
226
226
  public getPickerAttributes(): Promise<PickerAttributes> {
227
227
  return this.getProperty<PickerAttributes>('pickerAttributes');
@@ -231,7 +231,7 @@ export class OjInputDateTimeBase extends OjWebElement {
231
231
  * Gets the value of <code>placeholder</code> property.
232
232
  * The placeholder text to set on the element.
233
233
  * @return The value of <code>placeholder</code> property.
234
- *
234
+ * @deprecated Since 17.0.0. The date field contains mask segments instead of a general input, so placeholder is not supported.
235
235
  */
236
236
  public getPlaceholder(): Promise<string> {
237
237
  return this.getProperty<string>('placeholder');
@@ -358,6 +358,7 @@ export interface DatePicker {
358
358
  changeYear: string;
359
359
  /**
360
360
  * Specifies the position in multiple months at which to show the current month (starting at 0).
361
+ * @deprecated Since 17.0.0. This is required when date-picker.number-of-months > 1, which is now deprecated, so this is no longer needed.
361
362
  */
362
363
  currentMonthPos: number;
363
364
  /**
@@ -371,18 +372,22 @@ export interface DatePicker {
371
372
  footerLayout: string;
372
373
  /**
373
374
  * Specifies the number of months to show at once. See the Help documentation for more information.
375
+ * @deprecated Since 17.0.0. This is not supported in the Redwood UX specification for Date Picker. See the Range Picker UX specification.
374
376
  */
375
377
  numberOfMonths: number;
376
378
  /**
377
379
  * Specifies when the date picker should be shown.
380
+ * @deprecated Since 17.0.0. This is not supported in the Redwood UX specification.
378
381
  */
379
382
  showOn: string;
380
383
  /**
381
384
  * Specifies the number of months to step backwards and forwards for the Ctrl+Alt+Page Up and Ctrl+Alt+Page Down keystrokes.
385
+ * @deprecated Since 17.0.0. This is not in the Redwood UX specification.
382
386
  */
383
387
  stepBigMonths: number;
384
388
  /**
385
389
  * Specifies how the prev and next keys will step backwards and forwards through the months. See the Help documentation for more information.
390
+ * @deprecated Since 17.0.0. This is not in the Redwood UX specification.
386
391
  */
387
392
  stepMonths: string | number;
388
393
  /**
@@ -391,6 +396,7 @@ export interface DatePicker {
391
396
  weekDisplay: string;
392
397
  /**
393
398
  * Specifies the range of years displayed in the year drop-down. See the Help documentation for more information.
399
+ * @deprecated Since 17.0.0. This is not in the Redwood UX specification. The 'min' and 'max' properties should be used instead.
394
400
  */
395
401
  yearRange: string;
396
402
  }
@@ -432,6 +438,7 @@ export interface HelpHints {
432
438
  export interface PickerAttributes {
433
439
  /**
434
440
  *
441
+ * @deprecated Since 17.0.0. We are recommending not to change the Class property of pickerAttribute as it leads to an inconsistent UI.
435
442
  */
436
443
  class: string;
437
444
  /**
@@ -458,10 +465,12 @@ export interface TimePicker {
458
465
  export interface Translations {
459
466
  /**
460
467
  * Message to announce to AT via aria-live when the length.max is exceeded.
468
+ * @deprecated Since 17.0.0. This is not supported by the component.
461
469
  */
462
470
  accessibleMaxLengthExceeded: string;
463
471
  /**
464
472
  * Message to annnouce to AT via aria-live for the remaining character count.
473
+ * @deprecated Since 17.0.0. This is not supported by the component.
465
474
  */
466
475
  accessibleMaxLengthRemaining: string;
467
476
  /**
@@ -470,6 +479,7 @@ export interface Translations {
470
479
  cancel: string;
471
480
  /**
472
481
  * The text to display for the current day link.
482
+ * @deprecated Since 17.0.0. The Redwood UX specification does not allow this to be configurable.
473
483
  */
474
484
  currentText: string;
475
485
  /**
@@ -486,14 +496,17 @@ export interface Translations {
486
496
  done: string;
487
497
  /**
488
498
  * The text to display for the next month link.
499
+ * @deprecated Since 17.0.0. The Redwood UX specification does not allow this to be configurable.
489
500
  */
490
501
  nextText: string;
491
502
  /**
492
503
  * The text to display for the previous month link.
504
+ * @deprecated Since 17.0.0. The Redwood UX specification does not allow this to be configurable.
493
505
  */
494
506
  prevText: string;
495
507
  /**
496
508
  * Provides properties to customize the message text used by the implicit regexp validator associated to the InputText and TextArea components.
509
+ * @deprecated Since 17.0.0. This is not supported by the component.
497
510
  */
498
511
  regexp: TranslationsRegexp;
499
512
  /**
@@ -506,28 +519,34 @@ export interface Translations {
506
519
  time: string;
507
520
  /**
508
521
  * Tooltip text for the calendar icon.
522
+ * @deprecated Since 17.0.0. This is not configurable per component instance in the Redwood UX specification.
509
523
  */
510
524
  tooltipCalendar: string;
511
525
  /**
512
526
  * Tooltip text for the calendar icon when the component is disabled.
527
+ * @deprecated Since 17.0.0. This is not configurable per component instance in the Redwood UX specification.
513
528
  */
514
529
  tooltipCalendarDisabled: string;
515
530
  /**
516
531
  * Tooltip text for the calendar + time icon.
532
+ * @deprecated Since 17.0.0. This is not configurable per component instance in the Redwood UX specification.
517
533
  */
518
534
  tooltipCalendarTime: string;
519
535
  /**
520
536
  * Tooltip text for the calendar + time icon when the component is disabled.
537
+ * @deprecated Since 17.0.0. This is not configurable per component instance in the Redwood UX specification.
521
538
  */
522
539
  tooltipCalendarTimeDisabled: string;
523
540
  /**
524
541
  * The text to display for the week of the year column heading.
542
+ * @deprecated Since 17.0.0. The Redwood UX specification does not allow this to be configurable.
525
543
  */
526
544
  weekHeader: string;
527
545
  }
528
546
  export interface TranslationsDateRestriction {
529
547
  /**
530
548
  * Hint text used by the implicit date restriction validator associated to the InputDateTime and InputDate components.
549
+ * @deprecated Since 17.0.0. Please use help-hints instead.
531
550
  */
532
551
  hint: string;
533
552
  /**
@@ -536,12 +555,14 @@ export interface TranslationsDateRestriction {
536
555
  messageDetail: string;
537
556
  /**
538
557
  * Message summary for the implicit date restriction validator associated to the InputDateTime and InputDate components.
558
+ * @deprecated Since 17.0.0. This is not supported in the Redwood UX specification.
539
559
  */
540
560
  messageSummary: string;
541
561
  }
542
562
  export interface TranslationsDateTimeRange {
543
563
  /**
544
564
  * Provides properties to customize the hint text used by the implicit datetime range validator associated to the InputDateTime, InputDate, and InputTime components.
565
+ * @deprecated Since 17.0.0. Please use help-hints instead.
545
566
  */
546
567
  hint: TranslationsDateTimeRangeHint;
547
568
  /**
@@ -550,20 +571,24 @@ export interface TranslationsDateTimeRange {
550
571
  messageDetail: TranslationsDateTimeRangeMessageDetail;
551
572
  /**
552
573
  * Provides properties to customize the error message summary text used by the implicit datetime range validator associated to the InputDateTime, InputDate, and InputTime components.
574
+ * @deprecated Since 17.0.0. This is not supported in the Redwood UX specification.
553
575
  */
554
576
  messageSummary: TranslationsDateTimeRangeMessageSummary;
555
577
  }
556
578
  export interface TranslationsDateTimeRangeHint {
557
579
  /**
558
580
  * Hint text used by the implicit datetime range validator associated to the InputDateTime, InputDate, and InputTime components. hint.inRange is shown when both min and max are set, and is used to tell the user the allowed number range.
581
+ * @deprecated Since 17.0.0. Please use help-hints instead.
559
582
  */
560
583
  inRange: string;
561
584
  /**
562
585
  * Hint text used by the implicit datetime range validator associated to the InputDateTime, InputDate, and InputTime components. hint.max is shown when max is set and min is not set, and is used to tell the user the allowed maximum.
586
+ * @deprecated Since 17.0.0. Please use help-hints instead.
563
587
  */
564
588
  max: string;
565
589
  /**
566
590
  * Hint text used by the implicit datetime range validator associated to the InputDateTime, InputDate, and InputTime components. hint.min is shown when min is set and max is not set, and is used to tell the user the allowed minimum.
591
+ * @deprecated Since 17.0.0. Please use help-hints instead.
567
592
  */
568
593
  min: string;
569
594
  }
@@ -580,26 +605,31 @@ export interface TranslationsDateTimeRangeMessageDetail {
580
605
  export interface TranslationsDateTimeRangeMessageSummary {
581
606
  /**
582
607
  * Error message summary text used by the implicit datetime range validator associated to the InputDateTime, InputDate, and InputTime components. messageSummary.rangeOverflow is shown when max is set, and the value is greater than the maximum.
608
+ * @deprecated Since 17.0.0. This is not supported in the Redwood UX specification.
583
609
  */
584
610
  rangeOverflow: string;
585
611
  /**
586
612
  * Error message summary text used by the implicit datetime range validator associated to the InputDateTime, InputDate, and InputTime components. messageSummary.rangeUnderflow is shown when min is set, and the value is less than the minimum.
613
+ * @deprecated Since 17.0.0. This is not supported in the Redwood UX specification.
587
614
  */
588
615
  rangeUnderflow: string;
589
616
  }
590
617
  export interface TranslationsRegexp {
591
618
  /**
592
619
  * Provides properties to customize the error message detail used by the implicit regexp validator associated to the InputText and TextArea components.
620
+ * @deprecated Since 17.0.0. This is not supported by the component.
593
621
  */
594
622
  messageDetail: string;
595
623
  /**
596
624
  * Provides properties to customize the error message summary used by the implicit regexp validator associated to the InputText and TextArea components.
625
+ * @deprecated Since 17.0.0. This is not supported by the component.
597
626
  */
598
627
  messageSummary: string;
599
628
  }
600
629
  export interface TranslationsRequired {
601
630
  /**
602
631
  * Hint text used by required validation error.
632
+ * @deprecated Since 17.0.0. Please use help-hints instead.
603
633
  */
604
634
  hint: string;
605
635
  /**
@@ -4,6 +4,7 @@ exports.OjListView = void 0;
4
4
  const OjListViewBase_1 = require("./OjListViewBase");
5
5
  const __1 = require("../../");
6
6
  const selenium_webdriver_1 = require("selenium-webdriver");
7
+ const oj_module_proxy_1 = require("../../lib/oj-module-proxy");
7
8
  /**
8
9
  * The component WebElement for [oj-list-view](../../jsdocs/oj.ojListView.html).
9
10
  * Do not instantiate this class directly, instead, use
@@ -19,12 +20,11 @@ class OjListView extends OjListViewBase_1.OjListViewBase {
19
20
  */
20
21
  async changeSelected(selected) {
21
22
  await this.whenReady();
22
- await this.getDriver().executeScript(`
23
- const ele = arguments[0];
24
- const selected = arguments[1];
25
- const keySet = require('ojs/ojkeyset');
26
- ele.selected = new keySet.KeySetImpl(selected);
27
- `, this, selected);
23
+ return (0, oj_module_proxy_1.executeWithModules)(this.getDriver(), ['KeySet'], [this, selected], `
24
+ (({ KeySetImpl }, ele, selected) => {
25
+ ele.selected = new KeySetImpl(selected);
26
+ })
27
+ `);
28
28
  }
29
29
  /**
30
30
  * Gets the value of "selected" property.
@@ -1 +1 @@
1
- {"version":3,"file":"OjListView.js","sourceRoot":"","sources":["../../../elements/oj-list-view/OjListView.ts"],"names":[],"mappings":";;;AAAA,qDAAkD;AAClD,8BAA8C;AAC9C,2DAAoD;AAEpD;;;;GAIG;AACH,MAAa,UAAW,SAAQ,+BAAc;IAC5C;;;;;;OAMG;IACH,KAAK,CAAC,cAAc,CAAI,QAAkB;QACxC,MAAM,IAAI,CAAC,SAAS,EAAE,CAAC;QACvB,MAAM,IAAI,CAAC,SAAS,EAAE,CAAC,aAAa,CAClC;;;;;OAKC,EACD,IAAI,EACJ,QAAQ,CACT,CAAC;IACJ,CAAC;IAED;;;;;;OAMG;IACH,KAAK,CAAC,WAAW;QACf,MAAM,IAAI,CAAC,SAAS,EAAE,CAAC;QACvB,MAAM,QAAQ,GAAa,MAAM,IAAI,CAAC,SAAS,EAAE,CAAC,aAAa,CAC7D;;;;KAID,EACC,IAAI,CACL,CAAC;QACF,OAAO,QAAQ,CAAC;IAClB,CAAC;IAED;;;OAGG;IACH,KAAK,CAAC,QAAQ,CAAI,WAAuB;QACvC,4EAA4E;QAC5E,gDAAgD;QAChD,MAAM,IAAI,CAAC,WAAW,CAAC,aAAa,EAAE,QAAQ,CAAC,CAAC;QAChD,wEAAwE;QACxE,iBAAiB;QACjB,+DAA+D;QAC/D,aAAa;QACb,MAAM,IAAI,CAAC,oBAAoB,CAAC;YAC9B,GAAG,EAAE,WAAW,CAAC,GAAG;SACrB,CAAC,CAAC;QACH,MAAM,IAAI,CAAC,oBAAoB,EAAE,CAAC;QAClC,MAAM,OAAO,GAAG,MAAM,IAAI,CAAC,WAAW,CAAC,SAAS,CAAC,CAAC;QAClD,IAAI,EAAE,GAAG,MAAM,IAAI,CAAC,SAAS,EAAE,CAAC,aAAa,CAC3C;;GAEH,EACG,IAAI,EACJ,WAAW,CAAC,GAAG,CAChB,CAAC;QACF,IAAI,OAAO,KAAK,MAAM,EAAE,CAAC;YACvB,EAAE,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AC,WAAW,CAAC,SAAS,CAAC,CAAC;QAClD,IAAI,EAAE,GAAG,MAAM,IAAI,CAAC,SAAS,EAAE,CAAC,aAAa,CAC3C;;GAEH,EACG,IAAI,EACJ,WAAW,CAAC,GAAG,CAChB,CAAC;QACF,IAAI,OAAO,KAAK,MAAM,EAAE,CAAC;YACvB,EAAE,GAAG,EAAE,CAAC,WAAW,CAAC,uBAAE,CAAC,GAAG,CAAC,mBAAmB,CAAC,CAAC,CAAC;QACnD,CAAC;QACD,OAAO,IAAA,aAAS,EAAC,EAAE,EAAE,IAAI,CAAC,CAAC;IAC7B,CAAC;CACF;AAvED,gCAuEC"}
@@ -1,6 +1,7 @@
1
1
  import { OjListViewBase } from './OjListViewBase';
2
2
  import { slotProxy, SlotProxy } from '../../';
3
3
  import { By, WebElement } from 'selenium-webdriver';
4
+ import { executeWithModules } from '../../lib/oj-module-proxy';
4
5
 
5
6
  /**
6
7
  * The component WebElement for [oj-list-view](../../jsdocs/oj.ojListView.html).
@@ -17,15 +18,15 @@ export class OjListView extends OjListViewBase {
17
18
  */
18
19
  async changeSelected<K>(selected: Array<K>) {
19
20
  await this.whenReady();
20
- await this.getDriver().executeScript(
21
+ return executeWithModules(
22
+ this.getDriver(),
23
+ ['KeySet'],
24
+ [this, selected],
25
+ `
26
+ (({ KeySetImpl }, ele, selected) => {
27
+ ele.selected = new KeySetImpl(selected);
28
+ })
21
29
  `
22
- const ele = arguments[0];
23
- const selected = arguments[1];
24
- const keySet = require('ojs/ojkeyset');
25
- ele.selected = new keySet.KeySetImpl(selected);
26
- `,
27
- this,
28
- selected
29
30
  );
30
31
  }
31
32
 
@@ -4,6 +4,7 @@ exports.OjNavigationList = void 0;
4
4
  const selenium_webdriver_1 = require("selenium-webdriver");
5
5
  const __1 = require("../../");
6
6
  const OjNavigationListBase_1 = require("./OjNavigationListBase");
7
+ const oj_module_proxy_1 = require("../../lib/oj-module-proxy");
7
8
  /**
8
9
  * The component WebElement for [oj-navigation-list](../../jsdocs/oj.ojNavigationList.html).
9
10
  * Do not instantiate this class directly, instead, use
@@ -14,22 +15,19 @@ class OjNavigationList extends OjNavigationListBase_1.OjNavigationListBase {
14
15
  /**
15
16
  * Sets the value of "expanded" property.
16
17
  * Specifies the key set containing the keys of the items that should be expanded.
17
-
18
- Use the ExpandedKeySet class to specify items to expand.
19
- Use the ExpandAllKeySet class to expand all items.
18
+ * Use the ExpandedKeySet class to specify items to expand.
19
+ * Use the ExpandAllKeySet class to expand all items.
20
20
  * @param expanded The value to set for "expanded"
21
21
  * @override
22
22
  */
23
23
  async changeExpanded(expanded) {
24
24
  await this.whenReady();
25
- await this.getDriver().executeScript(`
26
- const ele = arguments[0];
27
- const expanded = arguments[1];
28
- const keySet = require('ojs/ojkeyset');
29
- const expandedKeySet = new keySet.ExpandedKeySet(expanded);
25
+ return (0, oj_module_proxy_1.executeWithModules)(this.getDriver(), ['KeySet'], [this, expanded], `
26
+ (({ ExpandedKeySet }, ele, expanded) => {
27
+ const expandedKeySet = new ExpandedKeySet(expanded);
30
28
  ele.expanded = expandedKeySet;
31
- `, this, expanded);
32
- await this.whenBusyContextReady();
29
+ })
30
+ `);
33
31
  }
34
32
  /*
35
33
  * Expands items specified by index path. Note: This expands all intermediate items too.
@@ -1 +1 @@
1
- {"version":3,"file":"OjNavigationList.js","sourceRoot":"","sources":["../../../elements/oj-navigation-list/OjNavigationList.ts"],"names":[],"mappings":";;;AAAA,2DAA2D;AAC3D,8BAA8C;AAC9C,iEAA8D;AAE9D;;;;GAIG;AACH,MAAa,gBAAiB,SAAQ,2CAAoB;IACxD,qBAAqB;IACrB;;;;;;;;OAQG;IACH,KAAK,CAAC,cAAc,CAAC,QAAoB;QACvC,MAAM,IAAI,CAAC,SAAS,EAAE,CAAC;QACvB,MAAM,IAAI,CAAC,SAAS,EAAE,CAAC,aAAa,CAClC;;;;;;SAMG,EACH,IAAI,EACJ,QAAQ,CACT,CAAC;QACF,MAAM,IAAI,CAAC,oBAAoB,EAAE,CAAC;I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AAM,CACnB,IAAI,0BAAK,CAAC,oBAAoB,CAAC,qCAAqC,CAAC,CACtE,CAAC;YACJ,CAAC;QACH,CAAC;aAAM,CAAC;YACN,OAAO,OAAO,CAAC,MAAM,CACnB,IAAI,0BAAK,CAAC,oBAAoB,CAAC,yCAAyC,CAAC,CAC1E,CAAC;QACJ,CAAC;IACH,CAAC;IAED;;;;;OAKG;IACH,KAAK,CAAC,eAAe,CAAC,SAAc;QAClC,OAAO,KAAK,CAAC,eAAe,CAAC,SAAS,CAAC,CAAC;IAC1C,CAAC;CACF;AA3SD,4CA2SC"}
@@ -1,6 +1,7 @@
1
1
  import { By, WebElement, error } from 'selenium-webdriver';
2
2
  import { slotProxy, SlotProxy } from '../../';
3
3
  import { OjNavigationListBase } from './OjNavigationListBase';
4
+ import { executeWithModules } from '../../lib/oj-module-proxy';
4
5
 
5
6
  /**
6
7
  * The component WebElement for [oj-navigation-list](../../jsdocs/oj.ojNavigationList.html).
@@ -12,26 +13,24 @@ export class OjNavigationList extends OjNavigationListBase {
12
13
  /**
13
14
  * Sets the value of "expanded" property.
14
15
  * Specifies the key set containing the keys of the items that should be expanded.
15
-
16
- Use the ExpandedKeySet class to specify items to expand.
17
- Use the ExpandAllKeySet class to expand all items.
16
+ * Use the ExpandedKeySet class to specify items to expand.
17
+ * Use the ExpandAllKeySet class to expand all items.
18
18
  * @param expanded The value to set for "expanded"
19
19
  * @override
20
20
  */
21
21
  async changeExpanded(expanded: Array<any>) {
22
22
  await this.whenReady();
23
- await this.getDriver().executeScript(
23
+ return executeWithModules(
24
+ this.getDriver(),
25
+ ['KeySet'],
26
+ [this, expanded],
24
27
  `
25
- const ele = arguments[0];
26
- const expanded = arguments[1];
27
- const keySet = require('ojs/ojkeyset');
28
- const expandedKeySet = new keySet.ExpandedKeySet(expanded);
28
+ (({ ExpandedKeySet }, ele, expanded) => {
29
+ const expandedKeySet = new ExpandedKeySet(expanded);
29
30
  ele.expanded = expandedKeySet;
30
- `,
31
- this,
32
- expanded
31
+ })
32
+ `
33
33
  );
34
- await this.whenBusyContextReady();
35
34
  }
36
35
  /*
37
36
  * Expands items specified by index path. Note: This expands all intermediate items too.
@@ -58,7 +58,7 @@ class OjNavigationListBase extends __1.OjWebElement {
58
58
  * Gets the value of <code>edge</code> property.
59
59
  * Specifies the edge position of the Navigation List.
60
60
  * @return The value of <code>edge</code> property.
61
- *
61
+ * @deprecated Since 17.0.0. Horizontal layout in oj-navigation-list is deprecated. Use oj-tab-bar instead. Since start is the only supported and default value, it need not be specified using edge attribute.
62
62
  */
63
63
  getEdge() {
64
64
  return this.getProperty('edge');
@@ -85,7 +85,7 @@ class OjNavigationListBase extends __1.OjWebElement {
85
85
  * Gets the value of <code>overflow</code> property.
86
86
  * Specifies overflow behaviour for the Navigation List.
87
87
  * @return The value of <code>overflow</code> property.
88
- *
88
+ * @deprecated Since 17.0.0. Since horizontal layout in oj-navigation-list is deprecated this should not be used any more. Use oj-tab-bar instead.
89
89
  */
90
90
  getOverflow() {
91
91
  return this.getProperty('overflow');
@@ -61,7 +61,7 @@ export class OjNavigationListBase extends OjWebElement {
61
61
  * Gets the value of <code>edge</code> property.
62
62
  * Specifies the edge position of the Navigation List.
63
63
  * @return The value of <code>edge</code> property.
64
- *
64
+ * @deprecated Since 17.0.0. Horizontal layout in oj-navigation-list is deprecated. Use oj-tab-bar instead. Since start is the only supported and default value, it need not be specified using edge attribute.
65
65
  */
66
66
  public getEdge(): Promise<string> {
67
67
  return this.getProperty<string>('edge');
@@ -91,7 +91,7 @@ export class OjNavigationListBase extends OjWebElement {
91
91
  * Gets the value of <code>overflow</code> property.
92
92
  * Specifies overflow behaviour for the Navigation List.
93
93
  * @return The value of <code>overflow</code> property.
94
- *
94
+ * @deprecated Since 17.0.0. Since horizontal layout in oj-navigation-list is deprecated this should not be used any more. Use oj-tab-bar instead.
95
95
  */
96
96
  public getOverflow(): Promise<string> {
97
97
  return this.getProperty<string>('overflow');
@@ -166,6 +166,7 @@ export interface Translations {
166
166
  msgFetchingData: string;
167
167
  /**
168
168
  * Provides properties to customize the message text used by Navigation List when there are no items.
169
+ * @deprecated Since 17.0.0. This option has been deprecate. We will no long have the message when no data.
169
170
  */
170
171
  msgNoData: string;
171
172
  /**
@@ -22,7 +22,7 @@ class OjPopupBase extends __1.OjWebElement {
22
22
  * Gets the value of <code>chrome</code> property.
23
23
  * Specifies whether to use the border, shadow, and background colors from the active theme.
24
24
  * @return The value of <code>chrome</code> property.
25
- *
25
+ * @deprecated Since 17.0.0. This is not recommended in the Redwood design system.
26
26
  */
27
27
  getChrome() {
28
28
  return this.getProperty('chrome');
@@ -21,7 +21,7 @@ export class OjPopupBase extends OjWebElement {
21
21
  * Gets the value of <code>chrome</code> property.
22
22
  * Specifies whether to use the border, shadow, and background colors from the active theme.
23
23
  * @return The value of <code>chrome</code> property.
24
- *
24
+ * @deprecated Since 17.0.0. This is not recommended in the Redwood design system.
25
25
  */
26
26
  public getChrome(): Promise<string> {
27
27
  return this.getProperty<string>('chrome');
@@ -60,6 +60,10 @@ export interface Translations {
60
60
  * Provides properties to customize the accessible context level and index of the row.
61
61
  */
62
62
  accessibleRowDescription: string;
63
+ /**
64
+ * Provides properties to customize the accessible context level and index of the row.
65
+ */
66
+ accessibleRowDescriptionAtLeast: string;
63
67
  /**
64
68
  * Provides properties to customize the accessible context when a row is expanded.
65
69
  */
@@ -2,6 +2,7 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.OjSelectMany = void 0;
4
4
  const OjSelectManyBase_1 = require("./OjSelectManyBase");
5
+ const oj_module_proxy_1 = require("../../lib/oj-module-proxy");
5
6
  /**
6
7
  * The component WebElement for [oj-select-many](../../jsdocs/oj.ojSelectMany.html).
7
8
  * Do not instantiate this class directly, instead, use
@@ -28,26 +29,16 @@ class OjSelectMany extends OjSelectManyBase_1.OjSelectManyBase {
28
29
  await this.whenBusyContextReady();
29
30
  return;
30
31
  }
31
- const isValueSet = await this.getDriver().executeAsyncScript(`
32
- var element = arguments[0];
33
- var value = arguments[1];
34
-
35
- // Last argument will the done function
36
- var doneFunc = arguments[arguments.length - 1];
37
-
38
- var onSuccess = doneFunc.bind(null, true);
39
- var onFailure = doneFunc.bind(null, false);
40
- var onError = doneFunc.bind(null, false);
41
-
42
- require(['ojs/ojcustomelement-utils'], function (utils) {
43
- // Retrieve the widget instance from the element
44
- var bridge = utils.CustomElementUtils.getElementBridge(element);
45
- var widget = bridge._WIDGET_INSTANCE.select;
46
- widget._selectItemByValue(value)
47
- .then(onSuccess, onFailure)
48
- .catch(onFailure);
49
- });
50
- `, this, value);
32
+ const isValueSet = await (0, oj_module_proxy_1.executeWithModules)(this.getDriver(), ['CustomElementUtils'], [this, value], `
33
+ (({ getElementBridge }, element, value) => {
34
+ // Retrieve the widget instance from the element
35
+ var bridge = getElementBridge(element);
36
+ var widget = bridge._WIDGET_INSTANCE.select;
37
+ return widget._selectItemByValue(value)
38
+ .then(() => true)
39
+ .catch(() => false);
40
+ })
41
+ `);
51
42
  // If failed to set value, fallback to setProperty
52
43
  if (isValueSet === false) {
53
44
  console.warn('Failed to update value by interaction. Falling back to setProperty.');
@@ -1 +1 @@
1
- {"version":3,"file":"OjSelectMany.js","sourceRoot":"","sources":["../../../elements/oj-select-many/OjSelectMany.ts"],"names":[],"mappings":";;;AAAA,yDAAsD;AAEtD;;;;GAIG;AACH,MAAa,YAAa,SAAQ,mCAAgB;IAChD;;;;;OAKG;IACH,KAAK,CAAC,WAAW,CAAC,KAAwB;QACxC,mCAAmC;QACnC,MAAM,IAAI,CAAC,SAAS,EAAE,CAAC,aAAa,CAAC,sBAAsB,EAAE,IAAI,CAAC,CAAC;QACnE,uCAAuC;QACvC,MAAM,QAAQ,GAAG,MAAM,IAAI,CAAC,WAAW,EAAE,CAAC;QAC1C,MAAM,QAAQ,GAAG,MAAM,IAAI,CAAC,WAAW,EAAE,CAAC;QAC1C,IAAI,CAAC,CAAC,QAAQ,IAAI,QAAQ,CAAC,EAAE,CAAC;YAC5B,MAAM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,WAAW,EAAE,CAAC;QAC1C,IAAI,CAAC,CAAC,QAAQ,IAAI,QAAQ,CAAC,EAAE,CAAC;YAC5B,MAAM,IAAI,CAAC,oBAAoB,EAAE,CAAC;YAElC,IAAI,KAAK,IAAI,IAAI,EAAE,CAAC;gBAClB,uEAAuE;gBACvE,MAAM,IAAI,CAAC,oBAAoB,CAAC,IAAI,CAAC,CAAC;gBACtC,MAAM,IAAI,CAAC,oBAAoB,EAAE,CAAC;gBAClC,OAAO;YACT,CAAC;YAED,MAAM,UAAU,GAAG,MAAM,IAAA,oCAAkB,EACzC,IAAI,CAAC,SAAS,EAAE,EAChB,CAAC,oBAAoB,CAAC,EACtB,CAAC,IAAI,EAAE,KAAK,CAAC,EACb;;;;;;;;;SASC,CACF,CAAC;YAEF,kDAAkD;YAClD,IAAI,UAAU,KAAK,KAAK,EAAE,CAAC;gBACzB,OAAO,CAAC,IAAI,CAAC,qEAAqE,CAAC,CAAC;gBACpF,MAAM,IAAI,CAAC,oBAAoB,CAAC,KAAK,CAAC,CAAC;YACzC,CAAC;QACH,CAAC;IACH,CAAC;IAED;;;OAGG;IACH,KAAK;QACH,OAAO,IAAI,CAAC,WAAW,CAAC,EAAE,CAAC,CAAC;IAC9B,CAAC;IAED;;;;;OAKG;IACK,oBAAoB,CAAC,KAAwB;QACnD,OAAO,IAAI,CAAC,WAAW,CAAoB,OAAO,EAAE,KAAK,CAAC,CAAC;IAC7D,CAAC;CACF;AAhED,oCAgEC"}
@@ -1,4 +1,5 @@
1
1
  import { OjSelectManyBase } from './OjSelectManyBase';
2
+ import { executeWithModules } from '../../lib/oj-module-proxy';
2
3
 
3
4
  /**
4
5
  * The component WebElement for [oj-select-many](../../jsdocs/oj.ojSelectMany.html).
@@ -28,29 +29,20 @@ export class OjSelectMany extends OjSelectManyBase {
28
29
  return;
29
30
  }
30
31
 
31
- const isValueSet = await this.getDriver().executeAsyncScript(
32
+ const isValueSet = await executeWithModules<boolean>(
33
+ this.getDriver(),
34
+ ['CustomElementUtils'],
35
+ [this, value],
36
+ `
37
+ (({ getElementBridge }, element, value) => {
38
+ // Retrieve the widget instance from the element
39
+ var bridge = getElementBridge(element);
40
+ var widget = bridge._WIDGET_INSTANCE.select;
41
+ return widget._selectItemByValue(value)
42
+ .then(() => true)
43
+ .catch(() => false);
44
+ })
32
45
  `
33
- var element = arguments[0];
34
- var value = arguments[1];
35
-
36
- // Last argument will the done function
37
- var doneFunc = arguments[arguments.length - 1];
38
-
39
- var onSuccess = doneFunc.bind(null, true);
40
- var onFailure = doneFunc.bind(null, false);
41
- var onError = doneFunc.bind(null, false);
42
-
43
- require(['ojs/ojcustomelement-utils'], function (utils) {
44
- // Retrieve the widget instance from the element
45
- var bridge = utils.CustomElementUtils.getElementBridge(element);
46
- var widget = bridge._WIDGET_INSTANCE.select;
47
- widget._selectItemByValue(value)
48
- .then(onSuccess, onFailure)
49
- .catch(onFailure);
50
- });
51
- `,
52
- this,
53
- value
54
46
  );
55
47
 
56
48
  // If failed to set value, fallback to setProperty