@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.
- package/oj-c/ActionCard.json +2 -2
- package/oj-c/AreaChart.json +174 -6
- package/oj-c/Button.json +12 -16
- package/oj-c/ButtonsetMultiple.json +17 -14
- package/oj-c/ButtonsetSingle.json +17 -14
- package/oj-c/CardView.json +31 -4
- package/oj-c/Checkboxset.json +9 -2
- package/oj-c/Dialog.json +891 -0
- package/oj-c/DrawerLayout.json +1 -1
- package/oj-c/DrawerPopup.json +20 -1
- package/oj-c/Dropdown/Dropdown.js +1 -2
- package/oj-c/FilePicker.json +2 -2
- package/oj-c/FormControlWrapper/FormControlWrapper.js +1 -2
- package/oj-c/FormLayout.json +7 -0
- package/oj-c/InputDateMask.json +8 -1
- package/oj-c/InputDatePicker.json +7 -0
- package/oj-c/InputDateText.json +51 -44
- package/oj-c/InputMonthMask.json +8 -1
- package/oj-c/InputNumber.json +8 -1
- package/oj-c/InputPassword.json +7 -0
- package/oj-c/InputSensitiveText.json +8 -1
- package/oj-c/InputText.json +7 -0
- package/oj-c/LabelledLink.json +8 -1
- package/oj-c/Legend.json +203 -2
- package/oj-c/LineChart.json +174 -6
- package/oj-c/ListView.json +143 -5
- package/oj-c/MenuButton.json +80 -9
- package/oj-c/MessageBanner.json +3 -3
- package/oj-c/MessageToast.json +4 -4
- package/oj-c/Popup.json +7 -45
- package/oj-c/ProgressBar.json +1 -1
- package/oj-c/ProgressCircle.json +1 -1
- package/oj-c/Radioset.json +9 -2
- package/oj-c/SelectMultiple.json +33 -3
- package/oj-c/SelectSingle.json +31 -1
- package/oj-c/SelectionCard.json +1 -1
- package/oj-c/Selector.json +7 -8
- package/oj-c/Sheet/Sheet.js +1 -2
- package/oj-c/Skeleton.json +192 -0
- package/oj-c/SplitMenuButton.json +15 -19
- package/oj-c/TabBar.json +154 -8
- package/oj-c/TabBarMixed.json +7 -7
- package/oj-c/Table.json +155 -2
- package/oj-c/TagCloud.json +171 -3
- package/oj-c/TextArea.json +7 -0
- package/oj-c/ToggleButton.json +12 -16
- package/oj-c/Toolbar.json +2214 -0
- package/oj-c/action-card/__webdriver__/ActionCardWebElement.js +2 -2
- package/oj-c/action-card/__webdriver__/ActionCardWebElement.js.map +1 -1
- package/oj-c/action-card/__webdriver__/ActionCardWebElementBase.js +1 -1
- package/oj-c/action-card/__webdriver__/ActionCardWebElementBase.js.map +1 -1
- package/oj-c/action-card/__webdriver__/index.js +4 -4
- package/oj-c/action-card/__webdriver__/index.js.map +1 -1
- package/oj-c/action-card/component.json +6 -6
- package/oj-c/area-chart/__webdriver__/AreaChartWebElement.js +1 -1
- package/oj-c/area-chart/__webdriver__/AreaChartWebElement.js.map +1 -1
- package/oj-c/area-chart/__webdriver__/AreaChartWebElementBase.d.ts +13 -0
- package/oj-c/area-chart/__webdriver__/AreaChartWebElementBase.js +10 -1
- package/oj-c/area-chart/__webdriver__/AreaChartWebElementBase.js.map +1 -1
- package/oj-c/area-chart/__webdriver__/index.js +4 -4
- package/oj-c/area-chart/__webdriver__/index.js.map +1 -1
- package/oj-c/area-chart/area-chart-styles.css +1 -1
- package/oj-c/area-chart/area-chart.js +9 -8
- package/oj-c/area-chart/component.json +52 -5
- package/oj-c/area-chart-group/component.json +2 -2
- package/oj-c/area-chart-item/component.json +2 -2
- package/oj-c/area-chart-series/component.json +2 -2
- package/oj-c/avatar/__webdriver__/AvatarWebElement.js +1 -1
- package/oj-c/avatar/__webdriver__/AvatarWebElement.js.map +1 -1
- package/oj-c/avatar/__webdriver__/AvatarWebElementBase.js +1 -1
- package/oj-c/avatar/__webdriver__/AvatarWebElementBase.js.map +1 -1
- package/oj-c/avatar/__webdriver__/index.js +4 -4
- package/oj-c/avatar/__webdriver__/index.js.map +1 -1
- package/oj-c/avatar/component.json +3 -3
- package/oj-c/button/__webdriver__/ButtonWebElement.js +3 -3
- package/oj-c/button/__webdriver__/ButtonWebElement.js.map +1 -1
- package/oj-c/button/__webdriver__/ButtonWebElementBase.js +1 -1
- package/oj-c/button/__webdriver__/ButtonWebElementBase.js.map +1 -1
- package/oj-c/button/__webdriver__/index.js +4 -4
- package/oj-c/button/__webdriver__/index.js.map +1 -1
- package/oj-c/button/button.js +23 -52
- package/oj-c/button/component.json +9 -10
- package/oj-c/buttonset-multiple/__webdriver__/ButtonsetMultipleWebElement.js +1 -1
- package/oj-c/buttonset-multiple/__webdriver__/ButtonsetMultipleWebElement.js.map +1 -1
- package/oj-c/buttonset-multiple/__webdriver__/ButtonsetMultipleWebElementBase.d.ts +5 -5
- package/oj-c/buttonset-multiple/__webdriver__/ButtonsetMultipleWebElementBase.js +1 -1
- package/oj-c/buttonset-multiple/__webdriver__/ButtonsetMultipleWebElementBase.js.map +1 -1
- package/oj-c/buttonset-multiple/__webdriver__/index.js +4 -4
- package/oj-c/buttonset-multiple/__webdriver__/index.js.map +1 -1
- package/oj-c/buttonset-multiple/buttonset-multiple.js +17 -42
- package/oj-c/buttonset-multiple/component.json +18 -13
- package/oj-c/buttonset-single/__webdriver__/ButtonsetSingleWebElement.js +1 -1
- package/oj-c/buttonset-single/__webdriver__/ButtonsetSingleWebElement.js.map +1 -1
- package/oj-c/buttonset-single/__webdriver__/ButtonsetSingleWebElementBase.d.ts +5 -5
- package/oj-c/buttonset-single/__webdriver__/ButtonsetSingleWebElementBase.js +1 -1
- package/oj-c/buttonset-single/__webdriver__/ButtonsetSingleWebElementBase.js.map +1 -1
- package/oj-c/buttonset-single/__webdriver__/index.js +4 -4
- package/oj-c/buttonset-single/__webdriver__/index.js.map +1 -1
- package/oj-c/buttonset-single/buttonset-single.js +17 -42
- package/oj-c/buttonset-single/component.json +18 -13
- package/oj-c/card-view/__webdriver__/CardViewWebElement.js +11 -14
- package/oj-c/card-view/__webdriver__/CardViewWebElement.js.map +1 -1
- package/oj-c/card-view/__webdriver__/CardViewWebElementBase.d.ts +1 -1
- package/oj-c/card-view/__webdriver__/CardViewWebElementBase.js +1 -1
- package/oj-c/card-view/__webdriver__/CardViewWebElementBase.js.map +1 -1
- package/oj-c/card-view/__webdriver__/index.js +4 -4
- package/oj-c/card-view/__webdriver__/index.js.map +1 -1
- package/oj-c/card-view/card-view.js +12 -8
- package/oj-c/card-view/cardViewItem.js +2 -2
- package/oj-c/card-view/component.json +18 -5
- package/oj-c/card-view/useCardViewPreact.js +9 -16
- package/oj-c/checkbox/__webdriver__/CheckboxWebElement.js +2 -2
- package/oj-c/checkbox/__webdriver__/CheckboxWebElement.js.map +1 -1
- package/oj-c/checkbox/__webdriver__/CheckboxWebElementBase.js +1 -1
- package/oj-c/checkbox/__webdriver__/CheckboxWebElementBase.js.map +1 -1
- package/oj-c/checkbox/__webdriver__/index.js +4 -4
- package/oj-c/checkbox/__webdriver__/index.js.map +1 -1
- package/oj-c/checkbox/component.json +3 -3
- package/oj-c/checkbox/useCheckboxPreact.js +1 -2
- package/oj-c/checkboxset/__webdriver__/CheckboxsetWebElement.js +2 -2
- package/oj-c/checkboxset/__webdriver__/CheckboxsetWebElement.js.map +1 -1
- package/oj-c/checkboxset/__webdriver__/CheckboxsetWebElementBase.d.ts +3 -3
- package/oj-c/checkboxset/__webdriver__/CheckboxsetWebElementBase.js +2 -2
- package/oj-c/checkboxset/__webdriver__/CheckboxsetWebElementBase.js.map +1 -1
- package/oj-c/checkboxset/__webdriver__/index.js +4 -4
- package/oj-c/checkboxset/__webdriver__/index.js.map +1 -1
- package/oj-c/checkboxset/checkboxset.js +1 -1
- package/oj-c/checkboxset/component.json +11 -4
- package/oj-c/checkboxset/useCheckboxsetPreact.js +1 -2
- package/oj-c/collapsible/__webdriver__/CollapsibleWebElement.js +2 -2
- package/oj-c/collapsible/__webdriver__/CollapsibleWebElement.js.map +1 -1
- package/oj-c/collapsible/__webdriver__/CollapsibleWebElementBase.js +1 -1
- package/oj-c/collapsible/__webdriver__/CollapsibleWebElementBase.js.map +1 -1
- package/oj-c/collapsible/__webdriver__/index.js +4 -4
- package/oj-c/collapsible/__webdriver__/index.js.map +1 -1
- package/oj-c/collapsible/collapsible.js +2 -2
- package/oj-c/collapsible/component.json +3 -3
- package/oj-c/component.json +17 -5
- package/oj-c/conveyor-belt/__webdriver__/ConveyorBeltWebElement.js +1 -1
- package/oj-c/conveyor-belt/__webdriver__/ConveyorBeltWebElement.js.map +1 -1
- package/oj-c/conveyor-belt/__webdriver__/ConveyorBeltWebElementBase.js +1 -1
- package/oj-c/conveyor-belt/__webdriver__/ConveyorBeltWebElementBase.js.map +1 -1
- package/oj-c/conveyor-belt/__webdriver__/index.js +4 -4
- package/oj-c/conveyor-belt/__webdriver__/index.js.map +1 -1
- package/oj-c/conveyor-belt/component.json +3 -3
- package/oj-c/corepackbundle.js +1684 -1882
- package/oj-c/date-picker/__webdriver__/DatePickerWebElement.js +1 -1
- package/oj-c/date-picker/__webdriver__/DatePickerWebElement.js.map +1 -1
- package/oj-c/date-picker/__webdriver__/DatePickerWebElementBase.js +1 -1
- package/oj-c/date-picker/__webdriver__/DatePickerWebElementBase.js.map +1 -1
- package/oj-c/date-picker/__webdriver__/index.js +4 -4
- package/oj-c/date-picker/__webdriver__/index.js.map +1 -1
- package/oj-c/date-picker/component.json +3 -3
- package/oj-c/dialog/__webdriver__/DialogWebElement.d.ts +20 -0
- package/oj-c/dialog/__webdriver__/DialogWebElement.js +55 -0
- package/oj-c/dialog/__webdriver__/DialogWebElement.js.map +1 -0
- package/oj-c/dialog/__webdriver__/DialogWebElementBase.d.ts +128 -0
- package/oj-c/dialog/__webdriver__/DialogWebElementBase.js +167 -0
- package/oj-c/dialog/__webdriver__/DialogWebElementBase.js.map +1 -0
- package/oj-c/dialog/__webdriver__/index.d.ts +17 -0
- package/oj-c/dialog/__webdriver__/index.js +34 -0
- package/oj-c/dialog/__webdriver__/index.js.map +1 -0
- package/oj-c/dialog/component.json +363 -0
- package/oj-c/dialog/dialog-styles.css +12 -0
- package/oj-c/dialog/dialog.js +148 -0
- package/oj-c/dialog/index.js +6 -0
- package/oj-c/dialog.js +6 -0
- package/oj-c/drag-handle/component.json +3 -3
- package/oj-c/drawer-layout/__webdriver__/DrawerLayoutWebElement.js +1 -1
- package/oj-c/drawer-layout/__webdriver__/DrawerLayoutWebElement.js.map +1 -1
- package/oj-c/drawer-layout/__webdriver__/DrawerLayoutWebElementBase.js +1 -1
- package/oj-c/drawer-layout/__webdriver__/DrawerLayoutWebElementBase.js.map +1 -1
- package/oj-c/drawer-layout/__webdriver__/index.js +4 -4
- package/oj-c/drawer-layout/__webdriver__/index.js.map +1 -1
- package/oj-c/drawer-layout/component.json +3 -3
- package/oj-c/drawer-popup/__webdriver__/DrawerPopupWebElement.d.ts +19 -0
- package/oj-c/drawer-popup/__webdriver__/DrawerPopupWebElement.js +59 -1
- package/oj-c/drawer-popup/__webdriver__/DrawerPopupWebElement.js.map +1 -1
- package/oj-c/drawer-popup/__webdriver__/DrawerPopupWebElementBase.d.ts +7 -0
- package/oj-c/drawer-popup/__webdriver__/DrawerPopupWebElementBase.js +10 -1
- package/oj-c/drawer-popup/__webdriver__/DrawerPopupWebElementBase.js.map +1 -1
- package/oj-c/drawer-popup/__webdriver__/index.js +4 -4
- package/oj-c/drawer-popup/__webdriver__/index.js.map +1 -1
- package/oj-c/drawer-popup/component.json +9 -3
- package/oj-c/drawer-popup/drawer-popup-styles.css +1 -1
- package/oj-c/drawer-popup/drawer-popup.js +24 -6
- package/oj-c/editable-value/UNSAFE_useAssistiveText/useAssistiveText.js +1 -2
- package/oj-c/editable-value/UNSAFE_useDeferredValidators/useDeferredValidators.js +1 -2
- package/oj-c/editable-value/UNSAFE_useStaleIdentity/useStaleIdentity.js +1 -2
- package/oj-c/file-picker/__webdriver__/FilePickerWebElement.d.ts +2 -2
- package/oj-c/file-picker/__webdriver__/FilePickerWebElement.js +4 -93
- package/oj-c/file-picker/__webdriver__/FilePickerWebElement.js.map +1 -1
- package/oj-c/file-picker/__webdriver__/FilePickerWebElementBase.d.ts +2 -2
- package/oj-c/file-picker/__webdriver__/FilePickerWebElementBase.js +1 -1
- package/oj-c/file-picker/__webdriver__/FilePickerWebElementBase.js.map +1 -1
- package/oj-c/file-picker/__webdriver__/index.js +4 -4
- package/oj-c/file-picker/__webdriver__/index.js.map +1 -1
- package/oj-c/file-picker/component.json +5 -5
- package/oj-c/file-picker/file-picker.js +2 -2
- package/oj-c/form-layout/__webdriver__/FormLayoutWebElement.js +1 -1
- package/oj-c/form-layout/__webdriver__/FormLayoutWebElement.js.map +1 -1
- package/oj-c/form-layout/__webdriver__/FormLayoutWebElementBase.d.ts +1 -1
- package/oj-c/form-layout/__webdriver__/FormLayoutWebElementBase.js +2 -2
- package/oj-c/form-layout/__webdriver__/FormLayoutWebElementBase.js.map +1 -1
- package/oj-c/form-layout/__webdriver__/index.js +4 -4
- package/oj-c/form-layout/__webdriver__/index.js.map +1 -1
- package/oj-c/form-layout/component.json +10 -3
- package/oj-c/form-layout/form-layout.js +1 -1
- package/oj-c/highlight-text/__webdriver__/HighlightTextWebElement.js +1 -1
- package/oj-c/highlight-text/__webdriver__/HighlightTextWebElement.js.map +1 -1
- package/oj-c/highlight-text/__webdriver__/HighlightTextWebElementBase.js +1 -1
- package/oj-c/highlight-text/__webdriver__/HighlightTextWebElementBase.js.map +1 -1
- package/oj-c/highlight-text/__webdriver__/index.js +4 -4
- package/oj-c/highlight-text/__webdriver__/index.js.map +1 -1
- package/oj-c/highlight-text/component.json +3 -3
- package/oj-c/hooks/PRIVATE_useSelectionContext/ItemKeyContext.js +6 -0
- package/oj-c/hooks/PRIVATE_useSelectionContext/SelectionContext.js +6 -0
- package/oj-c/hooks/PRIVATE_useSelectionContext/useItemKeyContext.js +8 -0
- package/oj-c/hooks/PRIVATE_useSelectionContext/useSelectionContext.js +8 -0
- package/oj-c/hooks/PRIVATE_useVisContextMenu/useVisContextMenu.js +41 -0
- package/oj-c/hooks/PRIVATE_useVisData/useVisData.js +1 -2
- package/oj-c/hooks/UNSAFE_useChartData/useChartData.js +3 -3
- package/oj-c/hooks/UNSAFE_useDataProvider/useDataProvider.js +1 -2
- package/oj-c/hooks/UNSAFE_useDataProvider/utils.js +1 -2
- package/oj-c/hooks/UNSAFE_useEditableValue/converterUtils.js +5 -5
- package/oj-c/hooks/UNSAFE_useEditableValue/index.js +4 -2
- package/oj-c/hooks/UNSAFE_useEditableValue/reducer.js +26 -17
- package/oj-c/hooks/UNSAFE_useEditableValue/useEditableValue.js +91 -51
- package/oj-c/hooks/UNSAFE_useEditableValue/utils.js +13 -1
- package/oj-c/hooks/UNSAFE_useEditableValue/validationUtils.js +2 -3
- package/oj-c/hooks/UNSAFE_useLegendPosition/useLegendPosition.js +1 -2
- package/oj-c/hooks/UNSAFE_useListData/useListData.js +48 -13
- package/oj-c/hooks/UNSAFE_useMergedFormContext/useMergedFormContext.js +1 -2
- package/oj-c/hooks/UNSAFE_useVisBusyState/useVisBusyState.js +6 -6
- package/oj-c/hooks/UNSAFE_useVizCategories/useVizCategories.js +17 -4
- package/oj-c/input-date-mask/__webdriver__/InputDateMaskWebElement.js +1 -1
- package/oj-c/input-date-mask/__webdriver__/InputDateMaskWebElement.js.map +1 -1
- package/oj-c/input-date-mask/__webdriver__/InputDateMaskWebElementBase.d.ts +1 -1
- package/oj-c/input-date-mask/__webdriver__/InputDateMaskWebElementBase.js +2 -2
- package/oj-c/input-date-mask/__webdriver__/InputDateMaskWebElementBase.js.map +1 -1
- package/oj-c/input-date-mask/__webdriver__/index.js +4 -4
- package/oj-c/input-date-mask/__webdriver__/index.js.map +1 -1
- package/oj-c/input-date-mask/component.json +11 -4
- package/oj-c/input-date-mask/useInputDateMaskPreact.js +6 -6
- package/oj-c/input-date-picker/__webdriver__/InputDatePickerWebElement.js +4 -4
- package/oj-c/input-date-picker/__webdriver__/InputDatePickerWebElement.js.map +1 -1
- package/oj-c/input-date-picker/__webdriver__/InputDatePickerWebElementBase.d.ts +1 -1
- package/oj-c/input-date-picker/__webdriver__/InputDatePickerWebElementBase.js +2 -2
- package/oj-c/input-date-picker/__webdriver__/InputDatePickerWebElementBase.js.map +1 -1
- package/oj-c/input-date-picker/__webdriver__/index.js +4 -4
- package/oj-c/input-date-picker/__webdriver__/index.js.map +1 -1
- package/oj-c/input-date-picker/component.json +10 -3
- package/oj-c/input-date-text/__webdriver__/InputDateTextWebElement.js +4 -8
- package/oj-c/input-date-text/__webdriver__/InputDateTextWebElement.js.map +1 -1
- package/oj-c/input-date-text/__webdriver__/InputDateTextWebElementBase.d.ts +1 -1
- package/oj-c/input-date-text/__webdriver__/InputDateTextWebElementBase.js +2 -2
- package/oj-c/input-date-text/__webdriver__/InputDateTextWebElementBase.js.map +1 -1
- package/oj-c/input-date-text/__webdriver__/index.js +4 -4
- package/oj-c/input-date-text/__webdriver__/index.js.map +1 -1
- package/oj-c/input-date-text/component.json +11 -4
- package/oj-c/input-date-text/useImplicitDateConverter.js +1 -2
- package/oj-c/input-date-text/useImplicitDateRangeValidator.js +1 -2
- package/oj-c/input-date-text/useInputDateTextPreact.js +5 -6
- package/oj-c/input-month-mask/__webdriver__/InputMonthMaskWebElement.js +1 -1
- package/oj-c/input-month-mask/__webdriver__/InputMonthMaskWebElement.js.map +1 -1
- package/oj-c/input-month-mask/__webdriver__/InputMonthMaskWebElementBase.d.ts +1 -1
- package/oj-c/input-month-mask/__webdriver__/InputMonthMaskWebElementBase.js +2 -2
- package/oj-c/input-month-mask/__webdriver__/InputMonthMaskWebElementBase.js.map +1 -1
- package/oj-c/input-month-mask/__webdriver__/index.js +4 -4
- package/oj-c/input-month-mask/__webdriver__/index.js.map +1 -1
- package/oj-c/input-month-mask/component.json +11 -4
- package/oj-c/input-month-mask/useImplicitCalendarMonthRangeValidator.js +1 -2
- package/oj-c/input-month-mask/useInputMonthMaskPreact.js +5 -6
- package/oj-c/input-number/__webdriver__/InputNumberWebElement.js +4 -8
- package/oj-c/input-number/__webdriver__/InputNumberWebElement.js.map +1 -1
- package/oj-c/input-number/__webdriver__/InputNumberWebElementBase.d.ts +2 -2
- package/oj-c/input-number/__webdriver__/InputNumberWebElementBase.js +2 -2
- package/oj-c/input-number/__webdriver__/InputNumberWebElementBase.js.map +1 -1
- package/oj-c/input-number/__webdriver__/index.js +4 -4
- package/oj-c/input-number/__webdriver__/index.js.map +1 -1
- package/oj-c/input-number/component.json +11 -4
- package/oj-c/input-number/input-number.js +1 -1
- package/oj-c/input-number/stepBasisUtils.js +1 -2
- package/oj-c/input-number/useImplicitNumberConverter.js +1 -2
- package/oj-c/input-number/useImplicitNumberRangeValidator.js +9 -3
- package/oj-c/input-number/useNumberInputTextPreact.js +96 -56
- package/oj-c/input-password/__webdriver__/InputPasswordWebElement.js +4 -8
- package/oj-c/input-password/__webdriver__/InputPasswordWebElement.js.map +1 -1
- package/oj-c/input-password/__webdriver__/InputPasswordWebElementBase.d.ts +1 -1
- package/oj-c/input-password/__webdriver__/InputPasswordWebElementBase.js +2 -2
- package/oj-c/input-password/__webdriver__/InputPasswordWebElementBase.js.map +1 -1
- package/oj-c/input-password/__webdriver__/index.js +4 -4
- package/oj-c/input-password/__webdriver__/index.js.map +1 -1
- package/oj-c/input-password/component.json +10 -3
- package/oj-c/input-password/useInputPasswordPreact.js +3 -4
- package/oj-c/input-sensitive-text/__webdriver__/InputSensitiveTextWebElement.js +4 -8
- package/oj-c/input-sensitive-text/__webdriver__/InputSensitiveTextWebElement.js.map +1 -1
- package/oj-c/input-sensitive-text/__webdriver__/InputSensitiveTextWebElementBase.d.ts +1 -1
- package/oj-c/input-sensitive-text/__webdriver__/InputSensitiveTextWebElementBase.js +2 -2
- package/oj-c/input-sensitive-text/__webdriver__/InputSensitiveTextWebElementBase.js.map +1 -1
- package/oj-c/input-sensitive-text/__webdriver__/index.js +4 -4
- package/oj-c/input-sensitive-text/__webdriver__/index.js.map +1 -1
- package/oj-c/input-sensitive-text/component.json +11 -4
- package/oj-c/input-sensitive-text/useInputSensitiveTextPreact.js +4 -5
- package/oj-c/input-text/__webdriver__/InputTextWebElement.js +4 -8
- package/oj-c/input-text/__webdriver__/InputTextWebElement.js.map +1 -1
- package/oj-c/input-text/__webdriver__/InputTextWebElementBase.d.ts +1 -1
- package/oj-c/input-text/__webdriver__/InputTextWebElementBase.js +2 -2
- package/oj-c/input-text/__webdriver__/InputTextWebElementBase.js.map +1 -1
- package/oj-c/input-text/__webdriver__/index.js +4 -4
- package/oj-c/input-text/__webdriver__/index.js.map +1 -1
- package/oj-c/input-text/component.json +10 -3
- package/oj-c/input-text/useInputTextPreact.js +5 -6
- package/oj-c/labelled-link/__webdriver__/LabelledLinkWebElement.js +1 -1
- package/oj-c/labelled-link/__webdriver__/LabelledLinkWebElement.js.map +1 -1
- package/oj-c/labelled-link/__webdriver__/LabelledLinkWebElementBase.d.ts +1 -1
- package/oj-c/labelled-link/__webdriver__/LabelledLinkWebElementBase.js +2 -2
- package/oj-c/labelled-link/__webdriver__/LabelledLinkWebElementBase.js.map +1 -1
- package/oj-c/labelled-link/__webdriver__/index.js +4 -4
- package/oj-c/labelled-link/__webdriver__/index.js.map +1 -1
- package/oj-c/labelled-link/component.json +11 -4
- package/oj-c/labelled-link/useLabelledLinkPreact.js +1 -2
- package/oj-c/legend/__webdriver__/LegendWebElement.js +1 -1
- package/oj-c/legend/__webdriver__/LegendWebElement.js.map +1 -1
- package/oj-c/legend/__webdriver__/LegendWebElementBase.d.ts +13 -0
- package/oj-c/legend/__webdriver__/LegendWebElementBase.js +10 -1
- package/oj-c/legend/__webdriver__/LegendWebElementBase.js.map +1 -1
- package/oj-c/legend/__webdriver__/index.js +4 -4
- package/oj-c/legend/__webdriver__/index.js.map +1 -1
- package/oj-c/legend/component.json +63 -3
- package/oj-c/legend/events.js +4 -4
- package/oj-c/legend/legend-styles.css +2 -26
- package/oj-c/legend/legend.js +82 -35
- package/oj-c/legend/useSectionData.js +6 -3
- package/oj-c/legend/utils.js +18 -14
- package/oj-c/legend-item/component.json +2 -2
- package/oj-c/legend-section/component.json +2 -2
- package/oj-c/legend-utils/index.js +6 -0
- package/oj-c/legend-utils/legendUtils.js +9 -0
- package/oj-c/line-chart/__webdriver__/LineChartWebElement.js +1 -1
- package/oj-c/line-chart/__webdriver__/LineChartWebElement.js.map +1 -1
- package/oj-c/line-chart/__webdriver__/LineChartWebElementBase.d.ts +13 -0
- package/oj-c/line-chart/__webdriver__/LineChartWebElementBase.js +10 -1
- package/oj-c/line-chart/__webdriver__/LineChartWebElementBase.js.map +1 -1
- package/oj-c/line-chart/__webdriver__/index.js +4 -4
- package/oj-c/line-chart/__webdriver__/index.js.map +1 -1
- package/oj-c/line-chart/component.json +52 -5
- package/oj-c/line-chart/line-chart-styles.css +1 -1
- package/oj-c/line-chart/line-chart.js +9 -8
- package/oj-c/line-chart-group/component.json +2 -2
- package/oj-c/line-chart-item/component.json +2 -2
- package/oj-c/line-chart-series/component.json +2 -2
- package/oj-c/list-item-layout/__webdriver__/ListItemLayoutWebElement.js +1 -1
- package/oj-c/list-item-layout/__webdriver__/ListItemLayoutWebElement.js.map +1 -1
- package/oj-c/list-item-layout/__webdriver__/ListItemLayoutWebElementBase.js +1 -1
- package/oj-c/list-item-layout/__webdriver__/ListItemLayoutWebElementBase.js.map +1 -1
- package/oj-c/list-item-layout/__webdriver__/index.js +4 -4
- package/oj-c/list-item-layout/__webdriver__/index.js.map +1 -1
- package/oj-c/list-item-layout/component.json +3 -3
- package/oj-c/list-view/__webdriver__/ListViewWebElement.d.ts +19 -0
- package/oj-c/list-view/__webdriver__/ListViewWebElement.js +43 -13
- package/oj-c/list-view/__webdriver__/ListViewWebElement.js.map +1 -1
- package/oj-c/list-view/__webdriver__/ListViewWebElementBase.d.ts +28 -2
- package/oj-c/list-view/__webdriver__/ListViewWebElementBase.js +20 -2
- package/oj-c/list-view/__webdriver__/ListViewWebElementBase.js.map +1 -1
- package/oj-c/list-view/__webdriver__/contextMenuUtils.d.ts +33 -0
- package/oj-c/list-view/__webdriver__/contextMenuUtils.js +88 -0
- package/oj-c/list-view/__webdriver__/contextMenuUtils.js.map +1 -0
- package/oj-c/list-view/__webdriver__/index.js +4 -4
- package/oj-c/list-view/__webdriver__/index.js.map +1 -1
- package/oj-c/list-view/component.json +35 -5
- package/oj-c/list-view/list-view-styles.css +2 -1
- package/oj-c/list-view/list-view.js +11 -5
- package/oj-c/list-view/listViewItem.js +2 -2
- package/oj-c/list-view/useCurrentItemOverride.js +23 -0
- package/oj-c/list-view/useHandleRemoveCurrentKey.js +8 -9
- package/oj-c/list-view/useListViewPreact.js +16 -36
- package/oj-c/menu-button/__webdriver__/MenuButtonWebElement.js +2 -2
- package/oj-c/menu-button/__webdriver__/MenuButtonWebElement.js.map +1 -1
- package/oj-c/menu-button/__webdriver__/MenuButtonWebElementBase.js +1 -1
- package/oj-c/menu-button/__webdriver__/MenuButtonWebElementBase.js.map +1 -1
- package/oj-c/menu-button/__webdriver__/index.js +4 -4
- package/oj-c/menu-button/__webdriver__/index.js.map +1 -1
- package/oj-c/menu-button/component.json +23 -6
- package/oj-c/menu-button/menu-button.js +23 -44
- package/oj-c/message-banner/__webdriver__/MessageBannerWebElement.js +3 -3
- package/oj-c/message-banner/__webdriver__/MessageBannerWebElement.js.map +1 -1
- package/oj-c/message-banner/__webdriver__/MessageBannerWebElementBase.js +1 -1
- package/oj-c/message-banner/__webdriver__/MessageBannerWebElementBase.js.map +1 -1
- package/oj-c/message-banner/__webdriver__/index.js +4 -4
- package/oj-c/message-banner/__webdriver__/index.js.map +1 -1
- package/oj-c/message-banner/component.json +8 -8
- package/oj-c/message-toast/__webdriver__/MessageToastWebElement.js +3 -3
- package/oj-c/message-toast/__webdriver__/MessageToastWebElement.js.map +1 -1
- package/oj-c/message-toast/__webdriver__/MessageToastWebElementBase.js +1 -1
- package/oj-c/message-toast/__webdriver__/MessageToastWebElementBase.js.map +1 -1
- package/oj-c/message-toast/__webdriver__/index.js +4 -4
- package/oj-c/message-toast/__webdriver__/index.js.map +1 -1
- package/oj-c/message-toast/component.json +7 -7
- package/oj-c/message-toast/message-toast.js +1 -1
- package/oj-c/metadata/allComponents.json +3426 -2273
- package/oj-c/meter-bar/__webdriver__/MeterBarWebElement.js +1 -1
- package/oj-c/meter-bar/__webdriver__/MeterBarWebElement.js.map +1 -1
- package/oj-c/meter-bar/__webdriver__/MeterBarWebElementBase.js +1 -1
- package/oj-c/meter-bar/__webdriver__/MeterBarWebElementBase.js.map +1 -1
- package/oj-c/meter-bar/__webdriver__/index.js +4 -4
- package/oj-c/meter-bar/__webdriver__/index.js.map +1 -1
- package/oj-c/meter-bar/component.json +3 -3
- package/oj-c/meter-bar/meter-bar.js +8 -6
- package/oj-c/meter-circle/__webdriver__/MeterCircleWebElement.js +1 -1
- package/oj-c/meter-circle/__webdriver__/MeterCircleWebElement.js.map +1 -1
- package/oj-c/meter-circle/__webdriver__/MeterCircleWebElementBase.js +1 -1
- package/oj-c/meter-circle/__webdriver__/MeterCircleWebElementBase.js.map +1 -1
- package/oj-c/meter-circle/__webdriver__/index.js +4 -4
- package/oj-c/meter-circle/__webdriver__/index.js.map +1 -1
- package/oj-c/meter-circle/component.json +3 -3
- package/oj-c/meter-circle/meter-circle.js +10 -8
- package/oj-c/min/Dropdown/Dropdown.js +1 -2
- package/oj-c/min/FormControlWrapper/FormControlWrapper.js +1 -2
- package/oj-c/min/Sheet/Sheet.js +1 -2
- package/oj-c/min/area-chart/area-chart-styles.css +1 -1
- package/oj-c/min/area-chart.js +1 -1
- package/oj-c/min/area-chart.js.map +1 -1
- package/oj-c/min/button.js +1 -1
- package/oj-c/min/button.js.map +1 -1
- package/oj-c/min/buttonset-multiple.js +1 -1
- package/oj-c/min/buttonset-multiple.js.map +1 -1
- package/oj-c/min/buttonset-single.js +1 -1
- package/oj-c/min/buttonset-single.js.map +1 -1
- package/oj-c/min/card-view.js +1 -1
- package/oj-c/min/card-view.js.map +1 -1
- package/oj-c/min/checkbox.js +1 -1
- package/oj-c/min/checkbox.js.map +1 -1
- package/oj-c/min/checkboxset.js +1 -1
- package/oj-c/min/checkboxset.js.map +1 -1
- package/oj-c/min/collapsible.js +1 -1
- package/oj-c/min/collapsible.js.map +1 -1
- package/oj-c/min/conveyor-belt.js +1 -1
- package/oj-c/min/conveyor-belt.js.map +1 -1
- package/oj-c/min/corepackbundle.css +40 -53
- package/oj-c/min/corepackbundle.js +1 -1
- package/oj-c/min/corepackbundle.js.map +1 -1
- package/oj-c/min/dialog/dialog-styles.css +12 -0
- package/oj-c/min/dialog.js +2 -0
- package/oj-c/min/dialog.js.map +1 -0
- package/oj-c/min/drawer-popup/drawer-popup-styles.css +1 -1
- package/oj-c/min/drawer-popup.js +1 -1
- package/oj-c/min/drawer-popup.js.map +1 -1
- package/oj-c/min/editable-value/UNSAFE_useAssistiveText/useAssistiveText.js +1 -2
- package/oj-c/min/editable-value/UNSAFE_useDeferredValidators/useDeferredValidators.js +1 -2
- package/oj-c/min/editable-value/UNSAFE_useStaleIdentity/useStaleIdentity.js +1 -2
- package/oj-c/min/file-picker.js +1 -1
- package/oj-c/min/file-picker.js.map +1 -1
- package/oj-c/min/form-layout.js +1 -1
- package/oj-c/min/form-layout.js.map +1 -1
- package/oj-c/min/hooks/PRIVATE_useSelectionContext/ItemKeyContext.js +6 -0
- package/oj-c/min/hooks/PRIVATE_useSelectionContext/SelectionContext.js +6 -0
- package/oj-c/min/hooks/PRIVATE_useSelectionContext/useItemKeyContext.js +8 -0
- package/oj-c/min/hooks/PRIVATE_useSelectionContext/useSelectionContext.js +8 -0
- package/oj-c/min/hooks/PRIVATE_useVisContextMenu/useVisContextMenu.js +41 -0
- package/oj-c/min/hooks/PRIVATE_useVisData/useVisData.js +1 -2
- package/oj-c/min/hooks/UNSAFE_useChartData/useChartData.js +3 -3
- package/oj-c/min/hooks/UNSAFE_useDataProvider/useDataProvider.js +1 -2
- package/oj-c/min/hooks/UNSAFE_useDataProvider/utils.js +1 -2
- package/oj-c/min/hooks/UNSAFE_useEditableValue/converterUtils.js +5 -5
- package/oj-c/min/hooks/UNSAFE_useEditableValue/index.js +4 -2
- package/oj-c/min/hooks/UNSAFE_useEditableValue/reducer.js +26 -17
- package/oj-c/min/hooks/UNSAFE_useEditableValue/useEditableValue.js +91 -51
- package/oj-c/min/hooks/UNSAFE_useEditableValue/utils.js +13 -1
- package/oj-c/min/hooks/UNSAFE_useEditableValue/validationUtils.js +2 -3
- package/oj-c/min/hooks/UNSAFE_useLegendPosition/useLegendPosition.js +1 -2
- package/oj-c/min/hooks/UNSAFE_useListData/useListData.js +48 -13
- package/oj-c/min/hooks/UNSAFE_useMergedFormContext/useMergedFormContext.js +1 -2
- package/oj-c/min/hooks/UNSAFE_useVisBusyState/useVisBusyState.js +6 -6
- package/oj-c/min/hooks/UNSAFE_useVizCategories/useVizCategories.js +17 -4
- package/oj-c/min/input-date-mask.js +1 -1
- package/oj-c/min/input-date-mask.js.map +1 -1
- package/oj-c/min/input-date-picker.js +2 -2
- package/oj-c/min/input-date-picker.js.map +1 -1
- package/oj-c/min/input-date-text.js +1 -1
- package/oj-c/min/input-date-text.js.map +1 -1
- package/oj-c/min/input-month-mask.js +1 -1
- package/oj-c/min/input-month-mask.js.map +1 -1
- package/oj-c/min/input-number.js +1 -1
- package/oj-c/min/input-number.js.map +1 -1
- package/oj-c/min/input-password.js +1 -1
- package/oj-c/min/input-password.js.map +1 -1
- package/oj-c/min/input-sensitive-text.js +1 -1
- package/oj-c/min/input-sensitive-text.js.map +1 -1
- package/oj-c/min/input-text.js +1 -1
- package/oj-c/min/input-text.js.map +1 -1
- package/oj-c/min/labelled-link.js +1 -1
- package/oj-c/min/labelled-link.js.map +1 -1
- package/oj-c/min/legend/legend-styles.css +2 -26
- package/oj-c/min/legend-utils/index.js +6 -0
- package/oj-c/min/legend-utils/legendUtils.js +9 -0
- package/oj-c/min/legend.js +1 -1
- package/oj-c/min/legend.js.map +1 -1
- package/oj-c/min/line-chart/line-chart-styles.css +1 -1
- package/oj-c/min/line-chart.js +1 -1
- package/oj-c/min/line-chart.js.map +1 -1
- package/oj-c/min/list-view/list-view-styles.css +2 -1
- package/oj-c/min/list-view.js +1 -1
- package/oj-c/min/list-view.js.map +1 -1
- package/oj-c/min/menu-button.js +1 -1
- package/oj-c/min/menu-button.js.map +1 -1
- package/oj-c/min/message-banner.js +1 -1
- package/oj-c/min/message-banner.js.map +1 -1
- package/oj-c/min/message-toast.js +1 -1
- package/oj-c/min/message-toast.js.map +1 -1
- package/oj-c/min/meter-bar.js +1 -1
- package/oj-c/min/meter-bar.js.map +1 -1
- package/oj-c/min/meter-circle.js +1 -1
- package/oj-c/min/meter-circle.js.map +1 -1
- package/oj-c/min/popup.js +1 -1
- package/oj-c/min/popup.js.map +1 -1
- package/oj-c/min/progress-bar.js +1 -1
- package/oj-c/min/progress-bar.js.map +1 -1
- package/oj-c/min/progress-circle.js +1 -1
- package/oj-c/min/progress-circle.js.map +1 -1
- package/oj-c/min/radioset.js +1 -1
- package/oj-c/min/radioset.js.map +1 -1
- package/oj-c/min/select-common/PRIVATE_useCache/useCache.js +1 -2
- package/oj-c/min/select-common/PRIVATE_useSelectData/useCollectionTemplateDataProviderView.js +1 -2
- package/oj-c/min/select-common/UNSAFE_useDataProviderListeners/useDataProviderListeners.js +1 -2
- package/oj-c/min/select-common/UNSAFE_useWrapDataProvider/useWrapDataProvider.js +1 -2
- package/oj-c/min/select-common/utils/utils.js +4 -4
- package/oj-c/min/select-multiple.js +2 -2
- package/oj-c/min/select-multiple.js.map +1 -1
- package/oj-c/min/select-single.js +2 -2
- package/oj-c/min/select-single.js.map +1 -1
- package/oj-c/min/selector-all.js +1 -1
- package/oj-c/min/selector-all.js.map +1 -1
- package/oj-c/min/selector.js +1 -1
- package/oj-c/min/selector.js.map +1 -1
- package/oj-c/min/skeleton.js +2 -0
- package/oj-c/min/skeleton.js.map +1 -0
- package/oj-c/min/split-menu-button.js +1 -1
- package/oj-c/min/split-menu-button.js.map +1 -1
- package/oj-c/min/tab-bar-mixed.js +1 -1
- package/oj-c/min/tab-bar-mixed.js.map +1 -1
- package/oj-c/min/tab-bar.js +1 -1
- package/oj-c/min/tab-bar.js.map +1 -1
- package/oj-c/min/table/table-styles.css +0 -13
- package/oj-c/min/table.js +1 -1
- package/oj-c/min/table.js.map +1 -1
- package/oj-c/min/tag-cloud/tag-cloud-styles.css +1 -1
- package/oj-c/min/tag-cloud.js +1 -1
- package/oj-c/min/tag-cloud.js.map +1 -1
- package/oj-c/min/text-area.js +1 -1
- package/oj-c/min/text-area.js.map +1 -1
- package/oj-c/min/toggle-button.js +1 -1
- package/oj-c/min/toggle-button.js.map +1 -1
- package/oj-c/min/toolbar/toolbar-styles.css +21 -0
- package/oj-c/min/toolbar.js +2 -0
- package/oj-c/min/toolbar.js.map +1 -0
- package/oj-c/min/unsafe/InputGroup/InputGroup.js +1 -2
- package/oj-c/min/utils/PRIVATE_ItemsMenu/items-menu.js +5 -5
- package/oj-c/min/utils/PRIVATE_ItemsMenu/menu-item-icon.js +1 -2
- package/oj-c/min/utils/PRIVATE_ItemsMenu/menu-select-items.js +1 -2
- package/oj-c/min/utils/PRIVATE_chartUtils/events.js +2 -2
- package/oj-c/min/utils/PRIVATE_chartUtils/legendUtils.js +3 -3
- package/oj-c/min/utils/PRIVATE_chartUtils/lineAreaUtils.js +4 -5
- package/oj-c/min/utils/PRIVATE_chartUtils/plotAreaUtils.js +1 -2
- package/oj-c/min/utils/PRIVATE_collectionUtils/collectionUtils.js +31 -0
- package/oj-c/min/utils/PRIVATE_collectionUtils/index.js +19 -0
- package/oj-c/min/utils/PRIVATE_toggleUtils/toggle-item-icon.js +1 -2
- package/oj-c/min/utils/PRIVATE_toggleUtils/widthStyle.js +1 -2
- package/oj-c/popup/__webdriver__/PopupWebElement.d.ts +12 -0
- package/oj-c/popup/__webdriver__/PopupWebElement.js +43 -1
- package/oj-c/popup/__webdriver__/PopupWebElement.js.map +1 -1
- package/oj-c/popup/__webdriver__/PopupWebElementBase.d.ts +3 -20
- package/oj-c/popup/__webdriver__/PopupWebElementBase.js +3 -12
- package/oj-c/popup/__webdriver__/PopupWebElementBase.js.map +1 -1
- package/oj-c/popup/__webdriver__/index.js +4 -4
- package/oj-c/popup/__webdriver__/index.js.map +1 -1
- package/oj-c/popup/component.json +18 -17
- package/oj-c/popup/popup.js +77 -36
- package/oj-c/progress-bar/__webdriver__/ProgressBarWebElement.js +1 -1
- package/oj-c/progress-bar/__webdriver__/ProgressBarWebElement.js.map +1 -1
- package/oj-c/progress-bar/__webdriver__/ProgressBarWebElementBase.js +1 -1
- package/oj-c/progress-bar/__webdriver__/ProgressBarWebElementBase.js.map +1 -1
- package/oj-c/progress-bar/__webdriver__/index.js +4 -4
- package/oj-c/progress-bar/__webdriver__/index.js.map +1 -1
- package/oj-c/progress-bar/component.json +4 -4
- package/oj-c/progress-bar/progress-bar.js +2 -2
- package/oj-c/progress-button/__webdriver__/ProgressButtonWebElement.js +2 -2
- package/oj-c/progress-button/__webdriver__/ProgressButtonWebElement.js.map +1 -1
- package/oj-c/progress-button/__webdriver__/ProgressButtonWebElementBase.js +1 -1
- package/oj-c/progress-button/__webdriver__/ProgressButtonWebElementBase.js.map +1 -1
- package/oj-c/progress-button/__webdriver__/index.js +4 -4
- package/oj-c/progress-button/__webdriver__/index.js.map +1 -1
- package/oj-c/progress-button/component.json +3 -3
- package/oj-c/progress-circle/__webdriver__/ProgressCircleWebElement.js +1 -1
- package/oj-c/progress-circle/__webdriver__/ProgressCircleWebElement.js.map +1 -1
- package/oj-c/progress-circle/__webdriver__/ProgressCircleWebElementBase.js +1 -1
- package/oj-c/progress-circle/__webdriver__/ProgressCircleWebElementBase.js.map +1 -1
- package/oj-c/progress-circle/__webdriver__/index.js +4 -4
- package/oj-c/progress-circle/__webdriver__/index.js.map +1 -1
- package/oj-c/progress-circle/component.json +4 -4
- package/oj-c/progress-circle/progress-circle.js +2 -2
- package/oj-c/radioset/__webdriver__/RadiosetWebElement.js +6 -9
- package/oj-c/radioset/__webdriver__/RadiosetWebElement.js.map +1 -1
- package/oj-c/radioset/__webdriver__/RadiosetWebElementBase.d.ts +3 -3
- package/oj-c/radioset/__webdriver__/RadiosetWebElementBase.js +2 -2
- package/oj-c/radioset/__webdriver__/RadiosetWebElementBase.js.map +1 -1
- package/oj-c/radioset/__webdriver__/index.js +4 -4
- package/oj-c/radioset/__webdriver__/index.js.map +1 -1
- package/oj-c/radioset/component.json +11 -4
- package/oj-c/radioset/radioset.js +1 -1
- package/oj-c/radioset/useRadiosetPreact.js +1 -2
- package/oj-c/rating-gauge/__webdriver__/RatingGaugeWebElement.js +1 -1
- package/oj-c/rating-gauge/__webdriver__/RatingGaugeWebElement.js.map +1 -1
- package/oj-c/rating-gauge/__webdriver__/RatingGaugeWebElementBase.js +1 -1
- package/oj-c/rating-gauge/__webdriver__/RatingGaugeWebElementBase.js.map +1 -1
- package/oj-c/rating-gauge/__webdriver__/index.js +4 -4
- package/oj-c/rating-gauge/__webdriver__/index.js.map +1 -1
- package/oj-c/rating-gauge/component.json +4 -4
- package/oj-c/select-common/PRIVATE_useCache/useCache.js +1 -2
- package/oj-c/select-common/PRIVATE_useSelectData/useCollectionTemplateDataProviderView.js +1 -2
- package/oj-c/select-common/UNSAFE_useDataProviderListeners/useDataProviderListeners.js +1 -2
- package/oj-c/select-common/UNSAFE_useWrapDataProvider/useWrapDataProvider.js +1 -2
- package/oj-c/select-common/utils/utils.js +4 -4
- package/oj-c/select-multiple/__webdriver__/SelectMultipleWebElement.js +7 -16
- package/oj-c/select-multiple/__webdriver__/SelectMultipleWebElement.js.map +1 -1
- package/oj-c/select-multiple/__webdriver__/SelectMultipleWebElementBase.d.ts +5 -5
- package/oj-c/select-multiple/__webdriver__/SelectMultipleWebElementBase.js +2 -2
- package/oj-c/select-multiple/__webdriver__/SelectMultipleWebElementBase.js.map +1 -1
- package/oj-c/select-multiple/__webdriver__/index.js +4 -4
- package/oj-c/select-multiple/__webdriver__/index.js.map +1 -1
- package/oj-c/select-multiple/component.json +81 -7
- package/oj-c/select-multiple/select-multiple.js +9 -1
- package/oj-c/select-multiple/useSelectMultiplePreact.js +24 -21
- package/oj-c/select-multiple/useSyncValueAndValueItems.js +4 -5
- package/oj-c/select-multiple/useValueItems.js +1 -2
- package/oj-c/select-single/__webdriver__/SelectSingleWebElement.js +9 -27
- package/oj-c/select-single/__webdriver__/SelectSingleWebElement.js.map +1 -1
- package/oj-c/select-single/__webdriver__/SelectSingleWebElementBase.d.ts +3 -3
- package/oj-c/select-single/__webdriver__/SelectSingleWebElementBase.js +2 -2
- package/oj-c/select-single/__webdriver__/SelectSingleWebElementBase.js.map +1 -1
- package/oj-c/select-single/__webdriver__/index.js +4 -4
- package/oj-c/select-single/__webdriver__/index.js.map +1 -1
- package/oj-c/select-single/component.json +15 -5
- package/oj-c/select-single/select-single.js +9 -1
- package/oj-c/select-single/useSelectSinglePreact.js +31 -30
- package/oj-c/select-single/useSyncValueAndValueItem.js +4 -5
- package/oj-c/select-single/useValueItem.js +1 -2
- package/oj-c/selection-card/__webdriver__/SelectionCardWebElement.js +1 -1
- package/oj-c/selection-card/__webdriver__/SelectionCardWebElement.js.map +1 -1
- package/oj-c/selection-card/__webdriver__/SelectionCardWebElementBase.js +1 -1
- package/oj-c/selection-card/__webdriver__/SelectionCardWebElementBase.js.map +1 -1
- package/oj-c/selection-card/__webdriver__/index.js +4 -4
- package/oj-c/selection-card/__webdriver__/index.js.map +1 -1
- package/oj-c/selection-card/component.json +5 -5
- package/oj-c/selector/__webdriver__/SelectorWebElement.js +2 -2
- package/oj-c/selector/__webdriver__/SelectorWebElement.js.map +1 -1
- package/oj-c/selector/__webdriver__/SelectorWebElementBase.d.ts +3 -3
- package/oj-c/selector/__webdriver__/SelectorWebElementBase.js +3 -3
- package/oj-c/selector/__webdriver__/SelectorWebElementBase.js.map +1 -1
- package/oj-c/selector/__webdriver__/index.js +4 -4
- package/oj-c/selector/__webdriver__/index.js.map +1 -1
- package/oj-c/selector/component.json +6 -8
- package/oj-c/selector/selector.js +25 -7
- package/oj-c/selector-all/__webdriver__/SelectorAllWebElement.js +2 -2
- package/oj-c/selector-all/__webdriver__/SelectorAllWebElement.js.map +1 -1
- package/oj-c/selector-all/__webdriver__/SelectorAllWebElementBase.js +1 -1
- package/oj-c/selector-all/__webdriver__/SelectorAllWebElementBase.js.map +1 -1
- package/oj-c/selector-all/__webdriver__/index.js +4 -4
- package/oj-c/selector-all/__webdriver__/index.js.map +1 -1
- package/oj-c/selector-all/component.json +3 -3
- package/oj-c/selector-all/selector-all.js +1 -1
- package/oj-c/skeleton/__webdriver__/SkeletonWebElement.d.ts +8 -0
- package/oj-c/skeleton/__webdriver__/SkeletonWebElement.js +13 -0
- package/oj-c/skeleton/__webdriver__/SkeletonWebElement.js.map +1 -0
- package/oj-c/skeleton/__webdriver__/SkeletonWebElementBase.d.ts +30 -0
- package/oj-c/skeleton/__webdriver__/SkeletonWebElementBase.js +41 -0
- package/oj-c/skeleton/__webdriver__/SkeletonWebElementBase.js.map +1 -0
- package/oj-c/skeleton/__webdriver__/index.d.ts +17 -0
- package/oj-c/skeleton/__webdriver__/index.js +34 -0
- package/oj-c/skeleton/__webdriver__/index.js.map +1 -0
- package/oj-c/skeleton/component.json +94 -0
- package/oj-c/skeleton/index.js +6 -0
- package/oj-c/skeleton/skeleton.js +11 -0
- package/oj-c/skeleton.js +6 -0
- package/oj-c/split-menu-button/__webdriver__/SplitMenuButtonWebElement.js +2 -2
- package/oj-c/split-menu-button/__webdriver__/SplitMenuButtonWebElement.js.map +1 -1
- package/oj-c/split-menu-button/__webdriver__/SplitMenuButtonWebElementBase.js +1 -1
- package/oj-c/split-menu-button/__webdriver__/SplitMenuButtonWebElementBase.js.map +1 -1
- package/oj-c/split-menu-button/__webdriver__/index.js +4 -4
- package/oj-c/split-menu-button/__webdriver__/index.js.map +1 -1
- package/oj-c/split-menu-button/component.json +15 -11
- package/oj-c/split-menu-button/split-menu-button.js +16 -43
- package/oj-c/tab-bar/ContentRenderer.js +32 -13
- package/oj-c/tab-bar/DataTabBar.js +5 -3
- package/oj-c/tab-bar/DataTabBarIcon.js +1 -2
- package/oj-c/tab-bar/__webdriver__/TabBarWebElement.js +37 -43
- package/oj-c/tab-bar/__webdriver__/TabBarWebElement.js.map +1 -1
- package/oj-c/tab-bar/__webdriver__/TabBarWebElementBase.d.ts +9 -2
- package/oj-c/tab-bar/__webdriver__/TabBarWebElementBase.js +10 -1
- package/oj-c/tab-bar/__webdriver__/TabBarWebElementBase.js.map +1 -1
- package/oj-c/tab-bar/__webdriver__/index.js +4 -4
- package/oj-c/tab-bar/__webdriver__/index.js.map +1 -1
- package/oj-c/tab-bar/component.json +19 -9
- package/oj-c/tab-bar/tab-bar.js +13 -13
- package/oj-c/tab-bar-mixed/DataTabBarMixed.js +1 -2
- package/oj-c/tab-bar-mixed/DataTabBarMixedIcon.js +1 -2
- package/oj-c/tab-bar-mixed/__mocks__/@oracle/oraclejet-preact/UNSAFE_ConveyorBelt.js +1 -2
- package/oj-c/tab-bar-mixed/__mocks__/@oracle/oraclejet-preact/UNSAFE_TabBarMixed.js +5 -5
- package/oj-c/tab-bar-mixed/__webdriver__/TabBarMixedWebElement.js +4 -4
- package/oj-c/tab-bar-mixed/__webdriver__/TabBarMixedWebElement.js.map +1 -1
- package/oj-c/tab-bar-mixed/__webdriver__/TabBarMixedWebElementBase.d.ts +4 -4
- package/oj-c/tab-bar-mixed/__webdriver__/TabBarMixedWebElementBase.js +1 -1
- package/oj-c/tab-bar-mixed/__webdriver__/TabBarMixedWebElementBase.js.map +1 -1
- package/oj-c/tab-bar-mixed/__webdriver__/index.js +4 -4
- package/oj-c/tab-bar-mixed/__webdriver__/index.js.map +1 -1
- package/oj-c/tab-bar-mixed/component.json +11 -11
- package/oj-c/tab-bar-mixed/environment.js +1 -2
- package/oj-c/tab-bar-mixed/sumBadge.js +1 -2
- package/oj-c/tab-bar-mixed/tab-bar-mixed.js +7 -7
- package/oj-c/table/__webdriver__/TableWebElement.js +14 -14
- package/oj-c/table/__webdriver__/TableWebElement.js.map +1 -1
- package/oj-c/table/__webdriver__/TableWebElementBase.d.ts +1 -1
- package/oj-c/table/__webdriver__/TableWebElementBase.js +1 -1
- package/oj-c/table/__webdriver__/TableWebElementBase.js.map +1 -1
- package/oj-c/table/__webdriver__/index.js +4 -4
- package/oj-c/table/__webdriver__/index.js.map +1 -1
- package/oj-c/table/component.json +52 -4
- package/oj-c/table/table-styles.css +0 -13
- package/oj-c/table/table.js +45 -24
- package/oj-c/tag-cloud/__webdriver__/TagCloudWebElement.js +1 -1
- package/oj-c/tag-cloud/__webdriver__/TagCloudWebElement.js.map +1 -1
- package/oj-c/tag-cloud/__webdriver__/TagCloudWebElementBase.d.ts +13 -0
- package/oj-c/tag-cloud/__webdriver__/TagCloudWebElementBase.js +10 -1
- package/oj-c/tag-cloud/__webdriver__/TagCloudWebElementBase.js.map +1 -1
- package/oj-c/tag-cloud/__webdriver__/index.js +4 -4
- package/oj-c/tag-cloud/__webdriver__/index.js.map +1 -1
- package/oj-c/tag-cloud/component.json +52 -3
- package/oj-c/tag-cloud/tag-cloud-styles.css +1 -1
- package/oj-c/tag-cloud/tag-cloud.js +8 -6
- package/oj-c/tag-cloud/utils.js +2 -3
- package/oj-c/tag-cloud-item/component.json +2 -2
- package/oj-c/text-area/__webdriver__/TextAreaWebElement.js +4 -8
- package/oj-c/text-area/__webdriver__/TextAreaWebElement.js.map +1 -1
- package/oj-c/text-area/__webdriver__/TextAreaWebElementBase.d.ts +1 -1
- package/oj-c/text-area/__webdriver__/TextAreaWebElementBase.js +2 -2
- package/oj-c/text-area/__webdriver__/TextAreaWebElementBase.js.map +1 -1
- package/oj-c/text-area/__webdriver__/index.js +4 -4
- package/oj-c/text-area/__webdriver__/index.js.map +1 -1
- package/oj-c/text-area/component.json +10 -3
- package/oj-c/text-area/useTextAreaAutosizePreact.js +3 -4
- package/oj-c/text-area/useTextAreaPreact.js +3 -4
- package/oj-c/toggle-button/__webdriver__/ToggleButtonWebElement.js +1 -1
- package/oj-c/toggle-button/__webdriver__/ToggleButtonWebElement.js.map +1 -1
- package/oj-c/toggle-button/__webdriver__/ToggleButtonWebElementBase.js +1 -1
- package/oj-c/toggle-button/__webdriver__/ToggleButtonWebElementBase.js.map +1 -1
- package/oj-c/toggle-button/__webdriver__/index.js +4 -4
- package/oj-c/toggle-button/__webdriver__/index.js.map +1 -1
- package/oj-c/toggle-button/component.json +9 -10
- package/oj-c/toggle-button/toggle-button.js +26 -54
- package/oj-c/toolbar/__webdriver__/ToolbarWebElement.d.ts +8 -0
- package/oj-c/toolbar/__webdriver__/ToolbarWebElement.js +13 -0
- package/oj-c/toolbar/__webdriver__/ToolbarWebElement.js.map +1 -0
- package/oj-c/toolbar/__webdriver__/ToolbarWebElementBase.d.ts +51 -0
- package/oj-c/toolbar/__webdriver__/ToolbarWebElementBase.js +68 -0
- package/oj-c/toolbar/__webdriver__/ToolbarWebElementBase.js.map +1 -0
- package/oj-c/toolbar/__webdriver__/index.d.ts +17 -0
- package/oj-c/toolbar/__webdriver__/index.js +34 -0
- package/oj-c/toolbar/__webdriver__/index.js.map +1 -0
- package/oj-c/toolbar/component.json +183 -0
- package/oj-c/toolbar/index.js +6 -0
- package/oj-c/toolbar/items-toolbar.js +100 -0
- package/oj-c/toolbar/itemsTypes.js +4 -0
- package/oj-c/toolbar/toolbar-styles.css +21 -0
- package/oj-c/toolbar/toolbar.js +10 -0
- package/oj-c/toolbar.js +6 -0
- package/oj-c/types/area-chart/area-chart.d.ts +37 -2
- package/oj-c/types/area-chart/index.d.ts +1 -1
- package/oj-c/types/avatar/avatar.d.ts +6 -6
- package/oj-c/types/button/button.d.ts +11 -12
- package/oj-c/types/buttonset-multiple/buttonset-multiple.d.ts +9 -10
- package/oj-c/types/buttonset-single/buttonset-single.d.ts +9 -10
- package/oj-c/types/card-view/card-view.d.ts +6 -1
- package/oj-c/types/card-view/useCardViewPreact.d.ts +6 -22
- package/oj-c/types/checkbox/useCheckboxPreact.d.ts +11 -11
- package/oj-c/types/checkboxset/useCheckboxsetPreact.d.ts +6 -23
- package/oj-c/types/date-picker/date-picker.d.ts +15 -15
- package/oj-c/types/dialog/dialog.d.ts +184 -0
- package/oj-c/types/dialog/index.d.ts +2 -0
- package/oj-c/types/drawer-popup/drawer-popup.d.ts +5 -0
- package/oj-c/types/editable-value/UNSAFE_useDeferredValidators/useDeferredValidators.d.ts +3 -1
- package/oj-c/types/file-picker/file-picker.d.ts +2 -2
- package/oj-c/types/form-layout/form-layout.d.ts +1 -0
- package/oj-c/types/hooks/PRIVATE_useSelectionContext/ItemKeyContext.d.ts +3 -0
- package/oj-c/types/hooks/PRIVATE_useSelectionContext/SelectionContext.d.ts +11 -0
- package/oj-c/types/hooks/PRIVATE_useSelectionContext/useItemKeyContext.d.ts +1 -0
- package/oj-c/types/hooks/PRIVATE_useSelectionContext/useSelectionContext.d.ts +1 -0
- package/oj-c/types/hooks/PRIVATE_useVisContextMenu/useVisContextMenu.d.ts +24 -0
- package/oj-c/types/hooks/PRIVATE_useVisData/useVisData.d.ts +1 -1
- package/oj-c/types/hooks/UNSAFE_useChartData/useChartData.d.ts +1 -0
- package/oj-c/types/hooks/UNSAFE_useEditableValue/converterUtils.d.ts +3 -3
- package/oj-c/types/hooks/UNSAFE_useEditableValue/index.d.ts +2 -1
- package/oj-c/types/hooks/UNSAFE_useEditableValue/reducer.d.ts +8 -2
- package/oj-c/types/hooks/UNSAFE_useEditableValue/types.d.ts +3 -1
- package/oj-c/types/hooks/UNSAFE_useEditableValue/useEditableValue.d.ts +12 -3
- package/oj-c/types/hooks/UNSAFE_useEditableValue/utils.d.ts +3 -1
- package/oj-c/types/hooks/UNSAFE_useLegendPosition/useLegendPosition.d.ts +2 -2
- package/oj-c/types/hooks/UNSAFE_useListData/useListData.d.ts +1 -1
- package/oj-c/types/hooks/UNSAFE_useMergedFormContext/useMergedFormContext.d.ts +1 -1
- package/oj-c/types/hooks/UNSAFE_useVisBusyState/useVisBusyState.d.ts +3 -1
- package/oj-c/types/input-date-mask/useInputDateMaskPreact.d.ts +4 -29
- package/oj-c/types/input-date-picker/useInputDatePicker.d.ts +9 -43
- package/oj-c/types/input-date-text/useImplicitDateConverter.d.ts +1 -1
- package/oj-c/types/input-date-text/useInputDateTextPreact.d.ts +4 -36
- package/oj-c/types/input-month-mask/useInputMonthMaskPreact.d.ts +4 -28
- package/oj-c/types/input-number/input-number.d.ts +2 -2
- package/oj-c/types/input-number/useImplicitNumberConverter.d.ts +1 -1
- package/oj-c/types/input-number/useNumberInputTextPreact.d.ts +6 -46
- package/oj-c/types/input-password/useInputPasswordPreact.d.ts +4 -29
- package/oj-c/types/input-sensitive-text/useInputSensitiveTextPreact.d.ts +6 -32
- package/oj-c/types/input-text/useInputTextPreact.d.ts +6 -36
- package/oj-c/types/labelled-link/useLabelledLinkPreact.d.ts +5 -14
- package/oj-c/types/legend/events.d.ts +1 -1
- package/oj-c/types/legend/legend.d.ts +63 -20
- package/oj-c/types/legend/useSectionData.d.ts +4 -1
- package/oj-c/types/legend/utils.d.ts +3 -3
- package/oj-c/types/legend-utils/index.d.ts +1 -0
- package/oj-c/types/legend-utils/legendUtils.d.ts +5 -0
- package/oj-c/types/line-chart/index.d.ts +1 -1
- package/oj-c/types/line-chart/line-chart.d.ts +38 -2
- package/oj-c/types/list-item-layout/list-item-layout.d.ts +2 -2
- package/oj-c/types/list-view/list-view.d.ts +16 -2
- package/oj-c/types/list-view/useCurrentItemOverride.d.ts +6 -0
- package/oj-c/types/list-view/useHandleRemoveCurrentKey.d.ts +2 -2
- package/oj-c/types/list-view/useListViewPreact.d.ts +6 -10
- package/oj-c/types/menu-button/menu-button.d.ts +19 -13
- package/oj-c/types/meter-bar/meter-bar.d.ts +20 -20
- package/oj-c/types/meter-circle/meter-circle.d.ts +22 -22
- package/oj-c/types/popup/popup.d.ts +3 -7
- package/oj-c/types/progress-bar/progress-bar.d.ts +4 -4
- package/oj-c/types/progress-circle/progress-circle.d.ts +4 -4
- package/oj-c/types/radioset/useRadiosetPreact.d.ts +6 -22
- package/oj-c/types/rating-gauge/rating-gauge.d.ts +17 -17
- package/oj-c/types/select-multiple/select-multiple.d.ts +1 -0
- package/oj-c/types/select-multiple/useSelectMultiplePreact.d.ts +6 -6
- package/oj-c/types/select-multiple/useSyncValueAndValueItems.d.ts +3 -4
- package/oj-c/types/select-single/select-single.d.ts +1 -0
- package/oj-c/types/select-single/useSelectSinglePreact.d.ts +9 -9
- package/oj-c/types/select-single/useSyncValueAndValueItem.d.ts +3 -4
- package/oj-c/types/selector/selector.d.ts +4 -4
- package/oj-c/types/skeleton/index.d.ts +2 -0
- package/oj-c/types/skeleton/skeleton.d.ts +53 -0
- package/oj-c/types/split-menu-button/split-menu-button.d.ts +11 -12
- package/oj-c/types/tab-bar/ContentRenderer.d.ts +1 -2
- package/oj-c/types/tab-bar/DataTabBar.types.d.ts +12 -1
- package/oj-c/types/tab-bar/tab-bar.d.ts +17 -2
- package/oj-c/types/table/table.d.ts +5 -0
- package/oj-c/types/tag-cloud/index.d.ts +1 -1
- package/oj-c/types/tag-cloud/tag-cloud.d.ts +28 -2
- package/oj-c/types/tag-cloud/utils.d.ts +2 -1
- package/oj-c/types/text-area/useTextAreaAutosizePreact.d.ts +4 -33
- package/oj-c/types/text-area/useTextAreaPreact.d.ts +4 -33
- package/oj-c/types/toggle-button/toggle-button.d.ts +11 -12
- package/oj-c/types/toolbar/index.d.ts +2 -0
- package/oj-c/types/toolbar/items-toolbar.d.ts +15 -0
- package/oj-c/types/toolbar/itemsTypes.d.ts +70 -0
- package/oj-c/types/toolbar/toolbar.d.ts +74 -0
- package/oj-c/types/utils/PRIVATE_ItemsMenu/menuTypes.d.ts +2 -0
- package/oj-c/types/utils/PRIVATE_chartUtils/events.d.ts +1 -1
- package/oj-c/types/utils/PRIVATE_collectionUtils/collectionUtils.d.ts +17 -0
- package/oj-c/types/utils/PRIVATE_collectionUtils/index.d.ts +1 -0
- package/oj-c/unsafe/InputGroup/InputGroup.js +1 -2
- package/oj-c/utils/PRIVATE_ItemsMenu/items-menu.js +5 -5
- package/oj-c/utils/PRIVATE_ItemsMenu/menu-item-icon.js +1 -2
- package/oj-c/utils/PRIVATE_ItemsMenu/menu-select-items.js +1 -2
- package/oj-c/utils/PRIVATE_chartUtils/events.js +2 -2
- package/oj-c/utils/PRIVATE_chartUtils/legendUtils.js +3 -3
- package/oj-c/utils/PRIVATE_chartUtils/lineAreaUtils.js +4 -5
- package/oj-c/utils/PRIVATE_chartUtils/plotAreaUtils.js +1 -2
- package/oj-c/utils/PRIVATE_collectionUtils/collectionUtils.js +31 -0
- package/oj-c/utils/PRIVATE_collectionUtils/index.js +19 -0
- package/oj-c/utils/PRIVATE_toggleUtils/toggle-item-icon.js +1 -2
- package/oj-c/utils/PRIVATE_toggleUtils/widthStyle.js +1 -2
- package/package.json +4 -4
- package/webdriver/docs/assets/navigation.js +1 -1
- package/webdriver/docs/assets/search.js +1 -1
- package/webdriver/docs/classes/ActionCardWebElement.html +1 -1
- package/webdriver/docs/classes/AreaChartWebElement.html +6 -2
- package/webdriver/docs/classes/AvatarWebElement.html +1 -1
- package/webdriver/docs/classes/ButtonWebElement.html +1 -1
- package/webdriver/docs/classes/ButtonsetMultipleWebElement.html +1 -1
- package/webdriver/docs/classes/ButtonsetSingleWebElement.html +1 -1
- package/webdriver/docs/classes/CardViewWebElement.html +3 -3
- package/webdriver/docs/classes/CheckboxWebElement.html +1 -1
- package/webdriver/docs/classes/CheckboxsetWebElement.html +7 -6
- package/webdriver/docs/classes/CollapsibleWebElement.html +1 -1
- package/webdriver/docs/classes/ConveyorBeltWebElement.html +1 -1
- package/webdriver/docs/classes/DatePickerWebElement.html +1 -1
- package/webdriver/docs/classes/DialogWebElement.html +173 -0
- package/webdriver/docs/classes/DrawerLayoutWebElement.html +1 -1
- package/webdriver/docs/classes/DrawerPopupWebElement.html +22 -15
- package/webdriver/docs/classes/FilePickerWebElement.html +6 -6
- package/webdriver/docs/classes/FormLayoutWebElement.html +5 -4
- package/webdriver/docs/classes/HighlightTextWebElement.html +1 -1
- package/webdriver/docs/classes/InputDateMaskWebElement.html +5 -4
- package/webdriver/docs/classes/InputDatePickerWebElement.html +5 -4
- package/webdriver/docs/classes/InputDateTextWebElement.html +5 -4
- package/webdriver/docs/classes/InputMonthMaskWebElement.html +5 -4
- package/webdriver/docs/classes/InputNumberWebElement.html +7 -6
- package/webdriver/docs/classes/InputPasswordWebElement.html +5 -4
- package/webdriver/docs/classes/InputSensitiveTextWebElement.html +5 -4
- package/webdriver/docs/classes/InputTextWebElement.html +5 -4
- package/webdriver/docs/classes/LabelledLinkWebElement.html +5 -4
- package/webdriver/docs/classes/LegendWebElement.html +6 -2
- package/webdriver/docs/classes/LineChartWebElement.html +6 -2
- package/webdriver/docs/classes/ListItemLayoutWebElement.html +1 -1
- package/webdriver/docs/classes/ListViewWebElement.html +23 -7
- package/webdriver/docs/classes/MenuButtonWebElement.html +1 -1
- package/webdriver/docs/classes/MessageBannerWebElement.html +1 -1
- package/webdriver/docs/classes/MessageToastWebElement.html +1 -1
- package/webdriver/docs/classes/MeterBarWebElement.html +1 -1
- package/webdriver/docs/classes/MeterCircleWebElement.html +1 -1
- package/webdriver/docs/classes/PopupWebElement.html +19 -21
- package/webdriver/docs/classes/ProgressBarWebElement.html +1 -1
- package/webdriver/docs/classes/ProgressButtonWebElement.html +1 -1
- package/webdriver/docs/classes/ProgressCircleWebElement.html +1 -1
- package/webdriver/docs/classes/RadiosetWebElement.html +7 -6
- package/webdriver/docs/classes/RatingGaugeWebElement.html +1 -1
- package/webdriver/docs/classes/SelectMultipleWebElement.html +10 -9
- package/webdriver/docs/classes/SelectSingleWebElement.html +7 -6
- package/webdriver/docs/classes/SelectionCardWebElement.html +1 -1
- package/webdriver/docs/classes/SelectorAllWebElement.html +1 -1
- package/webdriver/docs/classes/SelectorWebElement.html +5 -5
- package/webdriver/docs/classes/SkeletonWebElement.html +115 -0
- package/webdriver/docs/classes/SplitMenuButtonWebElement.html +1 -1
- package/webdriver/docs/classes/TabBarMixedWebElement.html +4 -4
- package/webdriver/docs/classes/TabBarWebElement.html +9 -5
- package/webdriver/docs/classes/TableWebElement.html +1 -1
- package/webdriver/docs/classes/TagCloudWebElement.html +6 -2
- package/webdriver/docs/classes/TextAreaWebElement.html +5 -4
- package/webdriver/docs/classes/ToggleButtonWebElement.html +1 -1
- package/webdriver/docs/classes/ToolbarWebElement.html +127 -0
- package/webdriver/docs/functions/findActionCard.html +1 -1
- package/webdriver/docs/functions/findAreaChart.html +1 -1
- package/webdriver/docs/functions/findAvatar.html +1 -1
- package/webdriver/docs/functions/findButton.html +1 -1
- package/webdriver/docs/functions/findButtonsetMultiple.html +1 -1
- package/webdriver/docs/functions/findButtonsetSingle.html +1 -1
- package/webdriver/docs/functions/findCardView.html +1 -1
- package/webdriver/docs/functions/findCheckbox.html +1 -1
- package/webdriver/docs/functions/findCheckboxset.html +1 -1
- package/webdriver/docs/functions/findCollapsible.html +1 -1
- package/webdriver/docs/functions/findConveyorBelt.html +1 -1
- package/webdriver/docs/functions/findDatePicker.html +1 -1
- package/webdriver/docs/functions/findDialog.html +8 -0
- package/webdriver/docs/functions/findDrawerLayout.html +1 -1
- package/webdriver/docs/functions/findDrawerPopup.html +1 -1
- package/webdriver/docs/functions/findFilePicker.html +1 -1
- package/webdriver/docs/functions/findFormLayout.html +1 -1
- package/webdriver/docs/functions/findHighlightText.html +1 -1
- package/webdriver/docs/functions/findInputDateMask.html +1 -1
- package/webdriver/docs/functions/findInputDatePicker.html +1 -1
- package/webdriver/docs/functions/findInputDateText.html +1 -1
- package/webdriver/docs/functions/findInputMonthMask.html +1 -1
- package/webdriver/docs/functions/findInputNumber.html +1 -1
- package/webdriver/docs/functions/findInputPassword.html +1 -1
- package/webdriver/docs/functions/findInputSensitiveText.html +1 -1
- package/webdriver/docs/functions/findInputText.html +1 -1
- package/webdriver/docs/functions/findLabelledLink.html +1 -1
- package/webdriver/docs/functions/findLegend.html +1 -1
- package/webdriver/docs/functions/findLineChart.html +1 -1
- package/webdriver/docs/functions/findListItemLayout.html +1 -1
- package/webdriver/docs/functions/findListView.html +1 -1
- package/webdriver/docs/functions/findMenuButton.html +1 -1
- package/webdriver/docs/functions/findMessageBanner.html +1 -1
- package/webdriver/docs/functions/findMessageToast.html +1 -1
- package/webdriver/docs/functions/findMeterBar.html +1 -1
- package/webdriver/docs/functions/findMeterCircle.html +1 -1
- package/webdriver/docs/functions/findPopup.html +1 -1
- package/webdriver/docs/functions/findProgressBar.html +1 -1
- package/webdriver/docs/functions/findProgressButton.html +1 -1
- package/webdriver/docs/functions/findProgressCircle.html +1 -1
- package/webdriver/docs/functions/findRadioset.html +1 -1
- package/webdriver/docs/functions/findRatingGauge.html +1 -1
- package/webdriver/docs/functions/findSelectMultiple.html +1 -1
- package/webdriver/docs/functions/findSelectSingle.html +1 -1
- package/webdriver/docs/functions/findSelectionCard.html +1 -1
- package/webdriver/docs/functions/findSelector.html +1 -1
- package/webdriver/docs/functions/findSelectorAll.html +1 -1
- package/webdriver/docs/functions/findSkeleton.html +8 -0
- package/webdriver/docs/functions/findSplitMenuButton.html +1 -1
- package/webdriver/docs/functions/findTabBar.html +1 -1
- package/webdriver/docs/functions/findTabBarMixed.html +1 -1
- package/webdriver/docs/functions/findTable.html +1 -1
- package/webdriver/docs/functions/findTagCloud.html +1 -1
- package/webdriver/docs/functions/findTextArea.html +1 -1
- package/webdriver/docs/functions/findToggleButton.html +1 -1
- package/webdriver/docs/functions/findToolbar.html +8 -0
- package/webdriver/docs/index.html +1 -1
- package/webdriver/docs/modules.html +7 -1
- package/webdriver/index.d.ts +3 -0
- package/webdriver/index.js +3 -0
- package/webdriver/index.js.map +1 -1
- package/webdriver/index.ts +4 -1
- package/oj-c/editable-value/UNSAFE_useComponentMessaging/useComponentMessaging.js +0 -80
- package/oj-c/editable-value/UNSAFE_useConverter/useConverter.js +0 -55
- package/oj-c/editable-value/UNSAFE_useConverterLifecycle/useConverterLifecycle.js +0 -26
- package/oj-c/editable-value/UNSAFE_useEditableValue/useEditableValue.js +0 -152
- package/oj-c/editable-value/UNSAFE_useValidationLifecycle/useValidationLifecycle.js +0 -138
- package/oj-c/editable-value/UNSAFE_useValidators/useValidators.js +0 -168
- package/oj-c/editable-value/UNSAFE_useValue/useValue.js +0 -42
- package/oj-c/editable-value/UNSAFE_useValueLifecycle/useValueLifecycle.js +0 -24
- package/oj-c/editable-value/utils/utils.js +0 -43
- package/oj-c/min/editable-value/UNSAFE_useComponentMessaging/useComponentMessaging.js +0 -80
- package/oj-c/min/editable-value/UNSAFE_useConverter/useConverter.js +0 -55
- package/oj-c/min/editable-value/UNSAFE_useConverterLifecycle/useConverterLifecycle.js +0 -26
- package/oj-c/min/editable-value/UNSAFE_useEditableValue/useEditableValue.js +0 -152
- package/oj-c/min/editable-value/UNSAFE_useValidationLifecycle/useValidationLifecycle.js +0 -138
- package/oj-c/min/editable-value/UNSAFE_useValidators/useValidators.js +0 -168
- package/oj-c/min/editable-value/UNSAFE_useValue/useValue.js +0 -42
- package/oj-c/min/editable-value/UNSAFE_useValueLifecycle/useValueLifecycle.js +0 -24
- package/oj-c/min/editable-value/utils/utils.js +0 -43
- package/oj-c/min/select-common/UNSAFE_useWrapValueState/index.js +0 -6
- package/oj-c/min/select-common/UNSAFE_useWrapValueState/useWrapValueState.js +0 -27
- package/oj-c/select-common/UNSAFE_useWrapValueState/index.js +0 -6
- package/oj-c/select-common/UNSAFE_useWrapValueState/useWrapValueState.js +0 -27
- package/oj-c/types/editable-value/UNSAFE_useComponentMessaging/useComponentMessaging.d.ts +0 -24
- package/oj-c/types/editable-value/UNSAFE_useConverter/useConverter.d.ts +0 -13
- package/oj-c/types/editable-value/UNSAFE_useConverterLifecycle/useConverterLifecycle.d.ts +0 -11
- package/oj-c/types/editable-value/UNSAFE_useEditableValue/useEditableValue.d.ts +0 -50
- package/oj-c/types/editable-value/UNSAFE_useValidationLifecycle/useValidationLifecycle.d.ts +0 -17
- package/oj-c/types/editable-value/UNSAFE_useValidators/useValidators.d.ts +0 -33
- package/oj-c/types/editable-value/UNSAFE_useValue/useValue.d.ts +0 -23
- package/oj-c/types/editable-value/UNSAFE_useValueLifecycle/useValueLifecycle.d.ts +0 -9
- package/oj-c/types/editable-value/utils/utils.d.ts +0 -8
- package/oj-c/types/select-common/UNSAFE_useWrapValueState/index.d.ts +0 -1
- package/oj-c/types/select-common/UNSAFE_useWrapValueState/useWrapValueState.d.ts +0 -23
- /package/oj-c/min/utils/{UNSAFE_keyUtils → PRIVATE_keyUtils}/index.js +0 -0
- /package/oj-c/min/utils/{UNSAFE_keyUtils → PRIVATE_keyUtils}/keySetUtils.js +0 -0
- /package/oj-c/types/utils/{UNSAFE_keyUtils → PRIVATE_keyUtils}/index.d.ts +0 -0
- /package/oj-c/types/utils/{UNSAFE_keyUtils → PRIVATE_keyUtils}/keySetUtils.d.ts +0 -0
- /package/oj-c/utils/{UNSAFE_keyUtils → PRIVATE_keyUtils}/index.js +0 -0
- /package/oj-c/utils/{UNSAFE_keyUtils → PRIVATE_keyUtils}/keySetUtils.js +0 -0
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"InputDateMaskWebElementBase.js","sourceRoot":"","sources":["InputDateMaskWebElementBase.ts"],"names":[],"mappings":";;;AAAA,iEAAoE;AAEpE;;;;;GAKG;AACH,MAAa,2BAA4B,SAAQ,uBAAY;IAC3D;;;;;OAKG;IACI,aAAa;QAClB,OAAO,IAAI,CAAC,WAAW,CAAS,YAAY,CAAC,CAAC;IAChD,CAAC;IAED;;;;;OAKG;IACI,oBAAoB;QACzB,OAAO,IAAI,CAAC,WAAW,CAAU,mBAAmB,CAAC,CAAC;IACxD,CAAC;IAED;;;;;OAKG;IACI,iCAAiC;QACtC,OAAO,IAAI,CAAC,WAAW,CAAS,gCAAgC,CAAC,CAAC;IACpE,CAAC;IAED;;;;;OAKG;IACI,kCAAkC;QACvC,OAAO,IAAI,CAAC,WAAW,CAAS,iCAAiC,CAAC,CAAC;IACrE,CAAC;IAED;;;;;OAKG;IACI,WAAW;QAChB,OAAO,IAAI,CAAC,WAAW,CAAU,UAAU,CAAC,CAAC;IAC/C,CAAC;IAED;;;;;OAKG;IACI,iBAAiB;QACtB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AED;;;;;OAKG;IACI,wBAAwB;QAC7B,OAAO,IAAI,CAAC,WAAW,CAAS,uBAAuB,CAAC,CAAC;IAC3D,CAAC;IAED;;;;;OAKG;IACI,YAAY;QACjB,OAAO,IAAI,CAAC,WAAW,CAAS,WAAW,CAAC,CAAC;IAC/C,CAAC;IAED;;;;;OAKG;IACI,wBAAwB;QAC7B,OAAO,IAAI,CAAC,WAAW,CAAS,uBAAuB,CAAC,CAAC;IAC3D,CAAC;IAED;;;;;OAKG;IACI,aAAa;QAClB,OAAO,IAAI,CAAC,WAAW,CAAuB,YAAY,CAAC,CAAC;IAC9D,CAAC;IAED;;;;;OAKG;IACI,WAAW,CAAC,KAAoB;QACrC,OAAO,IAAI,CAAC,WAAW,CAAgB,OAAO,EAAE,KAAK,CAAC,CAAC;IACzD,CAAC;IAED;;;;;OAKG;IACI,QAAQ;QACb,OAAO,IAAI,CAAC,WAAW,CAAgB,OAAO,CAAC,CAAC;IAClD,CAAC;IAED;;;;;OAKG;IACI,WAAW;QAChB,OAAO,IAAI,CAAC,WAAW,CAAW,UAAU,CAAC,CAAC;IAChD,CAAC;IAED;;;;;OAKG;IACI,QAAQ;QACb,OAAO,IAAI,CAAC,WAAW,CAAS,OAAO,CAAC,CAAC;IAC3C,CAAC;CACF;AApQD,kEAoQC","sourcesContent":["import { OjWebElement } from '@oracle/oraclejet-webdriver/elements';\n\n/**\n * This is the base class for oj-c-input-date-mask WebElement, and is generated from the\n * component's metadata. Do not modify these contents since they'll be replaced\n * during the next generation.\n * Put overrides into the WebElements's subclass, InputDateMaskWebElement.ts.\n */\nexport class InputDateMaskWebElementBase extends OjWebElement {\n /**\n * Gets the value of <code>columnSpan</code> property.\n * Specifies how many columns this component should span.\n * @return The value of <code>columnSpan</code> property.\n *\n */\n public getColumnSpan(): Promise<number> {\n return this.getProperty<number>('columnSpan');\n }\n\n /**\n * Gets the value of <code>containerReadonly</code> property.\n * Specifies whether an ancestor container, like oj-c-form-layout, is readonly.\n * @return The value of <code>containerReadonly</code> property.\n *\n */\n public getContainerReadonly(): Promise<boolean> {\n return this.getProperty<boolean>('containerReadonly');\n }\n\n /**\n * Gets the value of <code>dateRangeOverflowMessageDetail</code> property.\n * Overrides the default validator's rangeOverflow message detail.\n * @return The value of <code>dateRangeOverflowMessageDetail</code> property.\n *\n */\n public getDateRangeOverflowMessageDetail(): Promise<string> {\n return this.getProperty<string>('dateRangeOverflowMessageDetail');\n }\n\n /**\n * Gets the value of <code>dateRangeUnderflowMessageDetail</code> property.\n * Overrides the default validator's rangeUnderflow message detail.\n * @return The value of <code>dateRangeUnderflowMessageDetail</code> property.\n *\n */\n public getDateRangeUnderflowMessageDetail(): Promise<string> {\n return this.getProperty<string>('dateRangeUnderflowMessageDetail');\n }\n\n /**\n * Gets the value of <code>disabled</code> property.\n * Specifies whether the component is disabled.\n * @return The value of <code>disabled</code> property.\n *\n */\n public getDisabled(): Promise<boolean> {\n return this.getProperty<boolean>('disabled');\n }\n\n /**\n * Gets the value of <code>displayOptions</code> property.\n * Display options for auxiliary content that determines whether or not it should be displayed.\n * @return The value of <code>displayOptions</code> property.\n *\n */\n public getDisplayOptions(): Promise<DisplayOptions> {\n return this.getProperty<DisplayOptions>('displayOptions');\n }\n\n /**\n * Gets the value of <code>help</code> property.\n * Form component help information.\n * @return The value of <code>help</code> property.\n *\n */\n public getHelp(): Promise<Help> {\n return this.getProperty<Help>('help');\n }\n\n /**\n * Gets the value of <code>helpHints</code> property.\n * The helpHints object contains a definition property and a source property.\n * @return The value of <code>helpHints</code> property.\n *\n */\n public getHelpHints(): Promise<HelpHints> {\n return this.getProperty<HelpHints>('helpHints');\n }\n\n /**\n * Gets the value of <code>labelEdge</code> property.\n * Specifies how the label is positioned for the component\n * @return The value of <code>labelEdge</code> property.\n *\n */\n public getLabelEdge(): Promise<string> {\n return this.getProperty<string>('labelEdge');\n }\n\n /**\n * Gets the value of <code>labelHint</code> property.\n * Represents a hint for rendering a label on the component.\n * @return The value of <code>labelHint</code> property.\n *\n */\n public getLabelHint(): Promise<string> {\n return this.getProperty<string>('labelHint');\n }\n\n /**\n * Gets the value of <code>labelStartWidth</code> property.\n * The width of the label when labelEdge is 'start'.\n * @return The value of <code>labelStartWidth</code> property.\n *\n */\n public getLabelStartWidth(): Promise<number | string> {\n return this.getProperty<number | string>('labelStartWidth');\n }\n\n /**\n * Gets the value of <code>labelWrapping</code> property.\n * Should the labels wrap or truncate when there is not enough available space.\n * @return The value of <code>labelWrapping</code> property.\n *\n */\n public getLabelWrapping(): Promise<string> {\n return this.getProperty<string>('labelWrapping');\n }\n\n /**\n * Gets the value of <code>max</code> property.\n * The maximum selectable date, in ISO string format\n * @return The value of <code>max</code> property.\n *\n */\n public getMax(): Promise<string | null> {\n return this.getProperty<string | null>('max');\n }\n\n /**\n * Sets the value of <code>messagesCustom</code> property.\n * List of custom component messages\n * @param messagesCustom The value to set for <code>messagesCustom</code>\n *\n */\n public changeMessagesCustom(messagesCustom: Array<MessagesCustom>): Promise<void> {\n return this.setProperty<Array<MessagesCustom>>('messagesCustom', messagesCustom);\n }\n\n /**\n * Gets the value of <code>messagesCustom</code> property.\n * List of custom component messages\n * @return The value of <code>messagesCustom</code> property.\n *\n */\n public getMessagesCustom(): Promise<Array<MessagesCustom>> {\n return this.getProperty<Array<MessagesCustom>>('messagesCustom');\n }\n\n /**\n * Gets the value of <code>min</code> property.\n * The minimum selectable date, in ISO string format\n * @return The value of <code>min</code> property.\n *\n */\n public getMin(): Promise<string | null> {\n return this.getProperty<string | null>('min');\n }\n\n /**\n * Gets the value of <code>readonly</code> property.\n * Whether the component is readonly\n * @return The value of <code>readonly</code> property.\n *\n */\n public getReadonly(): Promise<boolean> {\n return this.getProperty<boolean>('readonly');\n }\n\n /**\n * Gets the value of <code>required</code> property.\n * Specifies whether or not the component is required.\n * @return The value of <code>required</code> property.\n *\n */\n public getRequired(): Promise<boolean> {\n return this.getProperty<boolean>('required');\n }\n\n /**\n * Gets the value of <code>requiredMessageDetail</code> property.\n * Overrides the default Required error message.\n * @return The value of <code>requiredMessageDetail</code> property.\n *\n */\n public getRequiredMessageDetail(): Promise<string> {\n return this.getProperty<string>('requiredMessageDetail');\n }\n\n /**\n * Gets the value of <code>textAlign</code> property.\n * Specifies how the text is aligned within the text field\n * @return The value of <code>textAlign</code> property.\n *\n */\n public getTextAlign(): Promise<string> {\n return this.getProperty<string>('textAlign');\n }\n\n /**\n * Gets the value of <code>userAssistanceDensity</code> property.\n * Specifies the density of the form component's user assistance presentation.\n * @return The value of <code>userAssistanceDensity</code> property.\n *\n */\n public getUserAssistanceDensity(): Promise<string> {\n return this.getProperty<string>('userAssistanceDensity');\n }\n\n /**\n * Gets the value of <code>validators</code> property.\n * Specifies the validators for the component.\n * @return The value of <code>validators</code> property.\n *\n */\n public getValidators(): Promise<Array<object> | null> {\n return this.getProperty<Array<object> | null>('validators');\n }\n\n /**\n * Sets the value of <code>value</code> property.\n * The value of the component.\n * @param value The value to set for <code>value</code>\n *\n */\n public changeValue(value: string | null): Promise<void> {\n return this.setProperty<string | null>('value', value);\n }\n\n /**\n * Gets the value of <code>value</code> property.\n * The value of the component.\n * @return The value of <code>value</code> property.\n *\n */\n public getValue(): Promise<string | null> {\n return this.getProperty<string | null>('value');\n }\n\n /**\n * Gets the value of <code>rawValue</code> property.\n * Specifies how the raw value of the component\n * @return The value of <code>rawValue</code> property.\n *\n */\n public getRawValue(): Promise<RawValue> {\n return this.getProperty<RawValue>('rawValue');\n }\n\n /**\n * Gets the value of <code>valid</code> property.\n * Specifies how the valid state of the component\n * @return The value of <code>valid</code> property.\n *\n */\n public getValid(): Promise<string> {\n return this.getProperty<string>('valid');\n }\n}\nexport interface DisplayOptions {\n /**\n *\n */\n messages: string;\n /**\n *\n */\n validatorHint: string;\n}\nexport interface Help {\n /**\n *\n */\n instruction: string;\n}\nexport interface HelpHints {\n /**\n *\n */\n definition: string;\n /**\n *\n */\n source: string;\n /**\n *\n */\n sourceText: string;\n}\nexport interface MessagesCustom {\n /**\n *\n */\n summary: string;\n /**\n *\n */\n detail: string;\n /**\n *\n */\n severity: string;\n}\nexport interface RawValue {\n /**\n *\n */\n year: number;\n /**\n *\n */\n month: number;\n /**\n *\n */\n day: number;\n}\n"]}
|
|
1
|
+
{"version":3,"file":"InputDateMaskWebElementBase.js","sourceRoot":"","sources":["InputDateMaskWebElementBase.ts"],"names":[],"mappings":";;;AAAA,mEAAoE;AAEpE;;;;;GAKG;AACH,MAAa,2BAA4B,SAAQ,uBAAY;IAC3D;;;;;OAKG;IACI,aAAa;QAClB,OAAO,IAAI,CAAC,WAAW,CAAS,YAAY,CAAC,CAAC;IAChD,CAAC;IAED;;;;;OAKG;IACI,oBAAoB;QACzB,OAAO,IAAI,CAAC,WAAW,CAAU,mBAAmB,CAAC,CAAC;IACxD,CAAC;IAED;;;;;OAKG;IACI,iCAAiC;QACtC,OAAO,IAAI,CAAC,WAAW,CAAS,gCAAgC,CAAC,CAAC;IACpE,CAAC;IAED;;;;;OAKG;IACI,kCAAkC;QACvC,OAAO,IAAI,CAAC,WAAW,CAAS,iCAAiC,CAAC,CAAC;IACrE,CAAC;IAED;;;;;OAKG;IACI,WAAW;QAChB,OAAO,IAAI,CAAC,WAAW,CAAU,UAAU,CAAC,CAAC;IAC/C,CAAC;IAED;;;;;OAKG;IACI,iBAAiB;QACtB,OAAO,IAAI,CAAC,WAAW,CAAiB,gBAAgB,CAAC,CAAC;IAC5D,CAAC;IAED;;;;;OAKG;IACI,OAAO;QACZ,OAAO,IAAI,CAAC,WAAW,CAAO,MAAM,CAAC,CAAC;IACxC,CAAC;IAED;;;;;OAKG;IACI,YAAY;QACjB,OAAO,IAAI,CAAC,WAAW,CAAY,WAAW,CAAC,CAAC;IAClD,CAAC;IAED;;;;;OAKG;IACI,YAAY;QACjB,OAAO,IAAI,CAAC,WAAW,CAAS,WAAW,CAAC,CAAC;IAC/C,CAAC;IAED;;;;;OAKG;IACI,YAAY;QACjB,OAAO,IAAI,CAAC,WAAW,CAAS,WAAW,CAAC,CA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AoB;QACrC,OAAO,IAAI,CAAC,WAAW,CAAgB,OAAO,EAAE,KAAK,CAAC,CAAC;IACzD,CAAC;IAED;;;;;OAKG;IACI,QAAQ;QACb,OAAO,IAAI,CAAC,WAAW,CAAgB,OAAO,CAAC,CAAC;IAClD,CAAC;IAED;;;;;OAKG;IACI,WAAW;QAChB,OAAO,IAAI,CAAC,WAAW,CAAW,UAAU,CAAC,CAAC;IAChD,CAAC;IAED;;;;;OAKG;IACI,QAAQ;QACb,OAAO,IAAI,CAAC,WAAW,CAAS,OAAO,CAAC,CAAC;IAC3C,CAAC;CACF;AApQD,kEAoQC","sourcesContent":["import { OjWebElement } from '@oracle/oraclejet-webdriver/elements';\n\n/**\n * This is the base class for oj-c-input-date-mask WebElement, and is generated from the\n * component's metadata. Do not modify these contents since they'll be replaced\n * during the next generation.\n * Put overrides into the WebElements's subclass, InputDateMaskWebElement.ts.\n */\nexport class InputDateMaskWebElementBase extends OjWebElement {\n /**\n * Gets the value of <code>columnSpan</code> property.\n * Specifies how many columns this component should span.\n * @return The value of <code>columnSpan</code> property.\n *\n */\n public getColumnSpan(): Promise<number> {\n return this.getProperty<number>('columnSpan');\n }\n\n /**\n * Gets the value of <code>containerReadonly</code> property.\n * Specifies whether an ancestor container, like oj-c-form-layout, is readonly.\n * @return The value of <code>containerReadonly</code> property.\n *\n */\n public getContainerReadonly(): Promise<boolean> {\n return this.getProperty<boolean>('containerReadonly');\n }\n\n /**\n * Gets the value of <code>dateRangeOverflowMessageDetail</code> property.\n * Overrides the default validator's rangeOverflow message detail.\n * @return The value of <code>dateRangeOverflowMessageDetail</code> property.\n *\n */\n public getDateRangeOverflowMessageDetail(): Promise<string> {\n return this.getProperty<string>('dateRangeOverflowMessageDetail');\n }\n\n /**\n * Gets the value of <code>dateRangeUnderflowMessageDetail</code> property.\n * Overrides the default validator's rangeUnderflow message detail.\n * @return The value of <code>dateRangeUnderflowMessageDetail</code> property.\n *\n */\n public getDateRangeUnderflowMessageDetail(): Promise<string> {\n return this.getProperty<string>('dateRangeUnderflowMessageDetail');\n }\n\n /**\n * Gets the value of <code>disabled</code> property.\n * Specifies whether the component is disabled.\n * @return The value of <code>disabled</code> property.\n *\n */\n public getDisabled(): Promise<boolean> {\n return this.getProperty<boolean>('disabled');\n }\n\n /**\n * Gets the value of <code>displayOptions</code> property.\n * Display options for auxiliary content that determines whether or not it should be displayed.\n * @return The value of <code>displayOptions</code> property.\n *\n */\n public getDisplayOptions(): Promise<DisplayOptions> {\n return this.getProperty<DisplayOptions>('displayOptions');\n }\n\n /**\n * Gets the value of <code>help</code> property.\n * Form component help information.\n * @return The value of <code>help</code> property.\n *\n */\n public getHelp(): Promise<Help> {\n return this.getProperty<Help>('help');\n }\n\n /**\n * Gets the value of <code>helpHints</code> property.\n * The helpHints object contains a definition property and a source property.\n * @return The value of <code>helpHints</code> property.\n *\n */\n public getHelpHints(): Promise<HelpHints> {\n return this.getProperty<HelpHints>('helpHints');\n }\n\n /**\n * Gets the value of <code>labelEdge</code> property.\n * Specifies how the label is positioned for the component\n * @return The value of <code>labelEdge</code> property.\n *\n */\n public getLabelEdge(): Promise<string> {\n return this.getProperty<string>('labelEdge');\n }\n\n /**\n * Gets the value of <code>labelHint</code> property.\n * Represents a hint for rendering a label on the component.\n * @return The value of <code>labelHint</code> property.\n *\n */\n public getLabelHint(): Promise<string> {\n return this.getProperty<string>('labelHint');\n }\n\n /**\n * Gets the value of <code>labelStartWidth</code> property.\n * The width of the label when labelEdge is 'start'.\n * @return The value of <code>labelStartWidth</code> property.\n *\n */\n public getLabelStartWidth(): Promise<number | string> {\n return this.getProperty<number | string>('labelStartWidth');\n }\n\n /**\n * Gets the value of <code>labelWrapping</code> property.\n * Should the labels wrap or truncate when there is not enough available space.\n * @return The value of <code>labelWrapping</code> property.\n * @deprecated Since 18.0.0. Label truncation for 'start' and 'top' aligned labels is no longer recommended by the Redwood Design System. The default for labelWrapping was 'wrap' and that is now the only suggested pattern by UX design for 'start' and 'top' aligned labels. 'inside' aligned labels are always truncated per UX design and are not affected by this property's value.\n */\n public getLabelWrapping(): Promise<string> {\n return this.getProperty<string>('labelWrapping');\n }\n\n /**\n * Gets the value of <code>max</code> property.\n * The maximum selectable date, in ISO string format\n * @return The value of <code>max</code> property.\n *\n */\n public getMax(): Promise<string | null> {\n return this.getProperty<string | null>('max');\n }\n\n /**\n * Sets the value of <code>messagesCustom</code> property.\n * List of custom component messages\n * @param messagesCustom The value to set for <code>messagesCustom</code>\n *\n */\n public changeMessagesCustom(messagesCustom: Array<MessagesCustom>): Promise<void> {\n return this.setProperty<Array<MessagesCustom>>('messagesCustom', messagesCustom);\n }\n\n /**\n * Gets the value of <code>messagesCustom</code> property.\n * List of custom component messages\n * @return The value of <code>messagesCustom</code> property.\n *\n */\n public getMessagesCustom(): Promise<Array<MessagesCustom>> {\n return this.getProperty<Array<MessagesCustom>>('messagesCustom');\n }\n\n /**\n * Gets the value of <code>min</code> property.\n * The minimum selectable date, in ISO string format\n * @return The value of <code>min</code> property.\n *\n */\n public getMin(): Promise<string | null> {\n return this.getProperty<string | null>('min');\n }\n\n /**\n * Gets the value of <code>readonly</code> property.\n * Whether the component is readonly\n * @return The value of <code>readonly</code> property.\n *\n */\n public getReadonly(): Promise<boolean> {\n return this.getProperty<boolean>('readonly');\n }\n\n /**\n * Gets the value of <code>required</code> property.\n * Specifies whether or not the component is required.\n * @return The value of <code>required</code> property.\n *\n */\n public getRequired(): Promise<boolean> {\n return this.getProperty<boolean>('required');\n }\n\n /**\n * Gets the value of <code>requiredMessageDetail</code> property.\n * Overrides the default Required error message.\n * @return The value of <code>requiredMessageDetail</code> property.\n *\n */\n public getRequiredMessageDetail(): Promise<string> {\n return this.getProperty<string>('requiredMessageDetail');\n }\n\n /**\n * Gets the value of <code>textAlign</code> property.\n * Specifies how the text is aligned within the text field\n * @return The value of <code>textAlign</code> property.\n *\n */\n public getTextAlign(): Promise<string> {\n return this.getProperty<string>('textAlign');\n }\n\n /**\n * Gets the value of <code>userAssistanceDensity</code> property.\n * Specifies the density of the form component's user assistance presentation.\n * @return The value of <code>userAssistanceDensity</code> property.\n *\n */\n public getUserAssistanceDensity(): Promise<string> {\n return this.getProperty<string>('userAssistanceDensity');\n }\n\n /**\n * Gets the value of <code>validators</code> property.\n * Specifies the validators for the component.\n * @return The value of <code>validators</code> property.\n *\n */\n public getValidators(): Promise<Array<object> | null> {\n return this.getProperty<Array<object> | null>('validators');\n }\n\n /**\n * Sets the value of <code>value</code> property.\n * The value of the component.\n * @param value The value to set for <code>value</code>\n *\n */\n public changeValue(value: string | null): Promise<void> {\n return this.setProperty<string | null>('value', value);\n }\n\n /**\n * Gets the value of <code>value</code> property.\n * The value of the component.\n * @return The value of <code>value</code> property.\n *\n */\n public getValue(): Promise<string | null> {\n return this.getProperty<string | null>('value');\n }\n\n /**\n * Gets the value of <code>rawValue</code> property.\n * Specifies how the raw value of the component\n * @return The value of <code>rawValue</code> property.\n *\n */\n public getRawValue(): Promise<RawValue> {\n return this.getProperty<RawValue>('rawValue');\n }\n\n /**\n * Gets the value of <code>valid</code> property.\n * Specifies how the valid state of the component\n * @return The value of <code>valid</code> property.\n *\n */\n public getValid(): Promise<string> {\n return this.getProperty<string>('valid');\n }\n}\nexport interface DisplayOptions {\n /**\n *\n */\n messages: string;\n /**\n *\n */\n validatorHint: string;\n}\nexport interface Help {\n /**\n *\n */\n instruction: string;\n}\nexport interface HelpHints {\n /**\n *\n */\n definition: string;\n /**\n *\n */\n source: string;\n /**\n *\n */\n sourceText: string;\n}\nexport interface MessagesCustom {\n /**\n *\n */\n summary: string;\n /**\n *\n */\n detail: string;\n /**\n *\n */\n severity: string;\n}\nexport interface RawValue {\n /**\n *\n */\n year: number;\n /**\n *\n */\n month: number;\n /**\n *\n */\n day: number;\n}\n"]}
|
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
4
|
-
|
|
5
|
-
|
|
3
|
+
exports.InputDateMaskWebElement = void 0;
|
|
4
|
+
exports.findInputDateMask = findInputDateMask;
|
|
5
|
+
const oraclejet_webdriver_1 = require("@oracle/oraclejet-webdriver");
|
|
6
|
+
const InputDateMaskWebElement_1 = require("./InputDateMaskWebElement");
|
|
6
7
|
Object.defineProperty(exports, "InputDateMaskWebElement", { enumerable: true, get: function () { return InputDateMaskWebElement_1.InputDateMaskWebElement; } });
|
|
7
8
|
/**
|
|
8
9
|
* Retrieve an instance of [InputDateMaskWebElement](../classes/InputDateMaskWebElement.html).
|
|
@@ -29,6 +30,5 @@ async function findInputDateMask(driver, by) {
|
|
|
29
30
|
}
|
|
30
31
|
return webEl;
|
|
31
32
|
}
|
|
32
|
-
exports.findInputDateMask = findInputDateMask;
|
|
33
33
|
(0, oraclejet_webdriver_1.register)('oj-c-input-date-mask', InputDateMaskWebElement_1.InputDateMaskWebElement);
|
|
34
34
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":";;;
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":";;;AAiBA,8CAiBC;AAjCD,qEAAmE;AACnE,uEAAoE;AAC3D,wGADA,iDAAuB,OACA;AAEhC;;;;;;;;;;;GAWG;AACI,KAAK,UAAU,iBAAiB,CACrC,MAAkB,EAClB,EAAM;IAEN,MAAM,KAAK,GAAG,MAAM,MAAM,CAAC,WAAW,CAAC,EAAE,CAAC,CAAC;IAC3C,4DAA4D;IAC5D,IAAI,CAAC,CAAC,KAAK,YAAY,iDAAuB,CAAC,EAAE,CAAC;QAChD,MAAM,OAAO,GAAG,MAAM,KAAK,CAAC,UAAU,EAAE,CAAC;QACzC,IAAI,YAAY,GAAG,EAAE,CAAC;QACtB,IAAI,KAAK,CAAC,WAAW,CAAC,IAAI,KAAK,yBAAyB,EAAE,CAAC;YACzD,YAAY,GAAG,yDAAyD,CAAC;QAC3E,CAAC;QACD,MAAM,KAAK,CACT,qBAAqB,EAAE,aAAa,KAAK,CAAC,WAAW,CAAC,IAAI,SAAS,OAAO,mBAAmB,iDAAuB,CAAC,IAAI,KAAK,YAAY,EAAE,CAC7I,CAAC;IACJ,CAAC;IACD,OAAO,KAAK,CAAC;AACf,CAAC;AAED,IAAA,8BAAQ,EAAC,sBAAsB,EAAE,iDAAuB,CAAC,CAAC","sourcesContent":["import { By } from 'selenium-webdriver';\nimport { DriverLike, register } from '@oracle/oraclejet-webdriver';\nimport { InputDateMaskWebElement } from './InputDateMaskWebElement';\nexport { InputDateMaskWebElement };\n\n/**\n * Retrieve an instance of [InputDateMaskWebElement](../classes/InputDateMaskWebElement.html).\n * @example\n * ```javascript\n * import { findInputDateMask } from '@oracle/oraclejet-core-pack/webdriver';\n * const el = await findInputDateMask(driver, By.id('my-oj-c-input-date-mask'));\n * ```\n * @param driver A WebDriver/WebElement instance from where the element will be\n * searched. If WebDriver is passed, the element will be searched globally in the\n * document. If WebElement is passed, the search will be relative to this element.\n * @param by The locator with which to find the element\n */\nexport async function findInputDateMask(\n driver: DriverLike,\n by: By\n): Promise<InputDateMaskWebElement> {\n const webEl = await driver.findElement(by);\n // Check that the element is of type InputDateMaskWebElement\n if (!(webEl instanceof InputDateMaskWebElement)) {\n const tagName = await webEl.getTagName();\n let supplemental = '';\n if (webEl.constructor.name === 'InputDateMaskWebElement') {\n supplemental = 'You likely have multiple installations of this package.';\n }\n throw Error(\n `findInputDateMask(${by}) created ${webEl.constructor.name} for <${tagName}>, but expected ${InputDateMaskWebElement.name}. ${supplemental}`\n );\n }\n return webEl;\n}\n\nregister('oj-c-input-date-mask', InputDateMaskWebElement);\n"]}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "input-date-mask",
|
|
3
|
-
"version": "
|
|
4
|
-
"jetVersion": "^
|
|
3
|
+
"version": "18.0.0",
|
|
4
|
+
"jetVersion": "^18.0.0",
|
|
5
5
|
"pack": "oj-c",
|
|
6
6
|
"type": "composite",
|
|
7
7
|
"dependencyScope": "runtime",
|
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
"main": "oj-c/input-date-mask",
|
|
16
16
|
"status": [
|
|
17
17
|
{
|
|
18
|
-
"type": "
|
|
18
|
+
"type": "production",
|
|
19
19
|
"since": "17.0.0"
|
|
20
20
|
}
|
|
21
21
|
],
|
|
@@ -35,7 +35,7 @@
|
|
|
35
35
|
]
|
|
36
36
|
},
|
|
37
37
|
"webelement": {
|
|
38
|
-
"docUrl": "https://www.oracle.com/webfolder/technetwork/jet
|
|
38
|
+
"docUrl": "https://www.oracle.com/webfolder/technetwork/jet/cpwdtsdoc/classes/InputDateMaskWebElement.html"
|
|
39
39
|
}
|
|
40
40
|
},
|
|
41
41
|
"propertyLayout": [
|
|
@@ -220,6 +220,13 @@
|
|
|
220
220
|
"displayName": "Wrap"
|
|
221
221
|
}
|
|
222
222
|
},
|
|
223
|
+
"status": [
|
|
224
|
+
{
|
|
225
|
+
"type": "deprecated",
|
|
226
|
+
"since": "18.0.0",
|
|
227
|
+
"description": "Label truncation for 'start' and 'top' aligned labels is no longer recommended by the Redwood Design System. The default for labelWrapping was 'wrap' and that is now the only suggested pattern by UX design for 'start' and 'top' aligned labels. 'inside' aligned labels are always truncated per UX design and are not affected by this property's value."
|
|
228
|
+
}
|
|
229
|
+
],
|
|
223
230
|
"enumValues": [
|
|
224
231
|
"truncate",
|
|
225
232
|
"wrap"
|
|
@@ -1,10 +1,11 @@
|
|
|
1
|
-
define(["require", "exports", "./CalendarDateConverter", "preact/hooks", "@oracle/oraclejet-preact/hooks/UNSAFE_useTranslationBundle", "ojs/ojconverter-preferences", "@oracle/oraclejet-preact/utils/UNSAFE_calendarDateUtils", "oj-c/input-date-text/useImplicitDateRangeValidator", "ojs/ojconfig", "oj-c/
|
|
1
|
+
define(["require", "exports", "./CalendarDateConverter", "preact/hooks", "@oracle/oraclejet-preact/hooks/UNSAFE_useTranslationBundle", "ojs/ojconverter-preferences", "@oracle/oraclejet-preact/utils/UNSAFE_calendarDateUtils", "oj-c/input-date-text/useImplicitDateRangeValidator", "ojs/ojconfig", "oj-c/hooks/UNSAFE_useEditableValue/index", "oj-c/editable-value/UNSAFE_useDeferredValidators/useDeferredValidators"], function (require, exports, CalendarDateConverter_1, hooks_1, UNSAFE_useTranslationBundle_1, ojconverter_preferences_1, UNSAFE_calendarDateUtils_1, useImplicitDateRangeValidator_1, ojconfig_1, index_1, useDeferredValidators_1) {
|
|
2
2
|
"use strict";
|
|
3
3
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
-
exports.getMasksFromDatePatternPreferences =
|
|
4
|
+
exports.getMasksFromDatePatternPreferences = void 0;
|
|
5
|
+
exports.useInputDateMaskPreact = useInputDateMaskPreact;
|
|
5
6
|
function useInputDateMaskPreact({ dateRangeOverflowMessageDetail, dateRangeUnderflowMessageDetail, disabled, displayOptions, labelEdge, labelHint, labelStartWidth, max, messagesCustom, min, readonly, required, requiredMessageDetail, textAlign, userAssistanceDensity, validators, value: propValue, onMessagesCustomChanged, onRawValueChanged, onValidChanged, onValueChanged, ...otherProps }, addBusyState) {
|
|
6
|
-
const minTreatNull = (0,
|
|
7
|
-
const maxTreatNull = (0,
|
|
7
|
+
const minTreatNull = (0, index_1.treatNull)(min);
|
|
8
|
+
const maxTreatNull = (0, index_1.treatNull)(max);
|
|
8
9
|
const translations = (0, UNSAFE_useTranslationBundle_1.useTranslationBundle)('@oracle/oraclejet-preact');
|
|
9
10
|
const calendarDateConverter_parseErrorFn = translations.calendarDateConverter_parseError;
|
|
10
11
|
const masksFromUserPref = (0, hooks_1.useMemo)(() => {
|
|
@@ -40,7 +41,7 @@ define(["require", "exports", "./CalendarDateConverter", "preact/hooks", "@oracl
|
|
|
40
41
|
required,
|
|
41
42
|
requiredMessageDetail
|
|
42
43
|
});
|
|
43
|
-
const { methods, textFieldProps, value } = (0,
|
|
44
|
+
const { methods, textFieldProps, value } = (0, index_1.useEditableValue)({
|
|
44
45
|
addBusyState,
|
|
45
46
|
ariaDescribedBy: otherProps['aria-describedby'],
|
|
46
47
|
converter: implicitConverter,
|
|
@@ -75,7 +76,6 @@ define(["require", "exports", "./CalendarDateConverter", "preact/hooks", "@oracl
|
|
|
75
76
|
}
|
|
76
77
|
};
|
|
77
78
|
}
|
|
78
|
-
exports.useInputDateMaskPreact = useInputDateMaskPreact;
|
|
79
79
|
const isPartialDate = (value) => {
|
|
80
80
|
if (value === undefined)
|
|
81
81
|
return false;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.InputDatePickerWebElement = void 0;
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
const InputDatePickerWebElementBase_1 = require("./InputDatePickerWebElementBase");
|
|
5
|
+
const selenium_webdriver_1 = require("selenium-webdriver");
|
|
6
|
+
const UNSAFE_IntlDateTime_1 = require("@oracle/oraclejet-preact/UNSAFE_IntlDateTime");
|
|
7
7
|
/**
|
|
8
8
|
* The component WebElement for [oj-c-input-date-picker](../../../oj-c/docs/oj.InputDatePicker.html).
|
|
9
9
|
* Do not instantiate this class directly, instead, use
|
|
@@ -18,10 +18,10 @@ class InputDatePickerWebElement extends InputDatePickerWebElementBase_1.InputDat
|
|
|
18
18
|
if (!UNSAFE_IntlDateTime_1.DateTimeUtils.isDateOnlyIsoString(value)) {
|
|
19
19
|
throw new Error(`InputDatePickerWebElement - value must be a date-only ISO string: ${value}`);
|
|
20
20
|
}
|
|
21
|
-
await this.getDriver().executeScript('arguments[0].focus()', this);
|
|
22
21
|
const readonly = await this.getReadonly();
|
|
23
22
|
const disabled = await this.getDisabled();
|
|
24
23
|
if (!(disabled || readonly)) {
|
|
24
|
+
await this.getDriver().executeScript((el) => el.focus(), this);
|
|
25
25
|
await this.whenBusyContextReady();
|
|
26
26
|
const segments = await this.findElements(selenium_webdriver_1.By.css('[role="spinbutton"]'));
|
|
27
27
|
if (!value) {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"InputDatePickerWebElement.js","sourceRoot":"","sources":["InputDatePickerWebElement.ts"],"names":[],"mappings":";;;AAAA,
|
|
1
|
+
{"version":3,"file":"InputDatePickerWebElement.js","sourceRoot":"","sources":["InputDatePickerWebElement.ts"],"names":[],"mappings":";;;AAAA,mFAAgF;AAChF,2DAA6C;AAC7C,sFAA6E;AAE7E;;;;GAIG;AACH,MAAa,yBAA0B,SAAQ,6DAA6B;IAC1E;;;OAGG;IACI,KAAK,CAAC,WAAW,CAAC,KAAoB;QAC3C,IAAI,CAAC,mCAAa,CAAC,mBAAmB,CAAC,KAAK,CAAC,EAAE,CAAC;YAC9C,MAAM,IAAI,KAAK,CAAC,qEAAqE,KAAK,EAAE,CAAC,CAAC;QAChG,CAAC;QAED,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,IAAI,CAAC,SAAS,EAAE,CAAC,aAAa,CAAC,CAAC,EAAe,EAAE,EAAE,CAAC,EAAE,CAAC,KAAK,EAAE,EAAE,IAAI,CAAC,CAAC;YAC5E,MAAM,IAAI,CAAC,oBAAoB,EAAE,CAAC;YAElC,MAAM,QAAQ,GAAG,MAAM,IAAI,CAAC,YAAY,CAAC,uBAAE,CAAC,GAAG,CAAC,qBAAqB,CAAC,CAAC,CAAC;YAExE,IAAI,CAAC,KAAK,EAAE,CAAC;gBACX,gDAAgD;gBAChD,KAAK,MAAM,OAAO,IAAI,QAAQ,EAAE,CAAC;oBAC/B,MAAM,OAAO,CAAC,KAAK,EAAE,CAAC;oBACtB,MAAM,OAAO,CAAC,QAAQ,CAAC,wBAAG,CAAC,UAAU,CAAC,C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AC,wBAAG,CAAC,KAAK,CAAC,CAAC;YAC1D,CAAC;QACH,CAAC;QAED,OAAO,IAAI,CAAC,oBAAoB,EAAE,CAAC;IACrC,CAAC;IAED;;OAEG;IACH,KAAK;QACH,OAAO,IAAI,CAAC,WAAW,CAAC,IAAI,CAAC,CAAC;IAChC,CAAC;CACF;AAhED,8DAgEC","sourcesContent":["import { InputDatePickerWebElementBase } from './InputDatePickerWebElementBase';\nimport { By, Key } from 'selenium-webdriver';\nimport { DateTimeUtils } from '@oracle/oraclejet-preact/UNSAFE_IntlDateTime';\n\n/**\n * The component WebElement for [oj-c-input-date-picker](../../../oj-c/docs/oj.InputDatePicker.html).\n * Do not instantiate this class directly, instead, use\n * [findInputDatePicker](../functions/findInputDatePicker.html).\n */\nexport class InputDatePickerWebElement extends InputDatePickerWebElementBase {\n /**\n * Sets the value of the \"value\" property of the input component.\n * @param value The value to set for the <code>value</code>\n */\n public async changeValue(value: string | null): Promise<void> {\n if (!DateTimeUtils.isDateOnlyIsoString(value)) {\n throw new Error(`InputDatePickerWebElement - value must be a date-only ISO string: ${value}`);\n }\n\n const readonly = await this.getReadonly();\n const disabled = await this.getDisabled();\n if (!(disabled || readonly)) {\n await this.getDriver().executeScript((el: HTMLElement) => el.focus(), this);\n await this.whenBusyContextReady();\n\n const segments = await this.findElements(By.css('[role=\"spinbutton\"]'));\n\n if (!value) {\n // Delete the text in each of the mask segments.\n for (const segment of segments) {\n await segment.click();\n await segment.sendKeys(Key.BACK_SPACE);\n await this.whenBusyContextReady();\n }\n } else {\n // Enter text in each of the mask segments.\n const tokenizedValue = value.split('-');\n if (segments.length === 3 && tokenizedValue.length === 3) {\n for (const segment of segments) {\n await segment.click();\n const dataSegment = await segment.getAttribute('data-segment');\n const segmentValue =\n dataSegment === 'month'\n ? tokenizedValue[1]\n : dataSegment === 'year'\n ? tokenizedValue[0]\n : tokenizedValue[2];\n await segment.sendKeys(Key.BACK_SPACE);\n await this.whenBusyContextReady();\n // send the keys one at a time, because otherwise the year segment only seems to\n // end up with the last two digits of the year\n for (let i = 0; i < segmentValue.length; i++) {\n await segment.sendKeys(segmentValue.charAt(i));\n await this.whenBusyContextReady();\n }\n }\n }\n }\n // Commit the new value.\n if (segments.length > 0) {\n await segments[segments.length - 1].sendKeys(Key.ENTER);\n }\n }\n\n return this.whenBusyContextReady();\n }\n\n /**\n * Clears the value of the component.\n */\n clear(): Promise<void> {\n return this.changeValue(null);\n }\n}\n"]}
|
|
@@ -108,7 +108,7 @@ export declare class InputDatePickerWebElementBase extends OjWebElement {
|
|
|
108
108
|
* Gets the value of <code>labelWrapping</code> property.
|
|
109
109
|
* Should the labels wrap or truncate when there is not enough available space.
|
|
110
110
|
* @return The value of <code>labelWrapping</code> property.
|
|
111
|
-
*
|
|
111
|
+
* @deprecated Since 18.0.0. Label truncation for 'start' and 'top' aligned labels is no longer recommended by the Redwood Design System. The default for labelWrapping was 'wrap' and that is now the only suggested pattern by UX design for 'start' and 'top' aligned labels. 'inside' aligned labels are always truncated per UX design and are not affected by this property's value.
|
|
112
112
|
*/
|
|
113
113
|
getLabelWrapping(): Promise<string>;
|
|
114
114
|
/**
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.InputDatePickerWebElementBase = void 0;
|
|
4
|
-
|
|
4
|
+
const elements_1 = require("@oracle/oraclejet-webdriver/elements");
|
|
5
5
|
/**
|
|
6
6
|
* This is the base class for oj-c-input-date-picker WebElement, and is generated from the
|
|
7
7
|
* component's metadata. Do not modify these contents since they'll be replaced
|
|
@@ -139,7 +139,7 @@ class InputDatePickerWebElementBase extends elements_1.OjWebElement {
|
|
|
139
139
|
* Gets the value of <code>labelWrapping</code> property.
|
|
140
140
|
* Should the labels wrap or truncate when there is not enough available space.
|
|
141
141
|
* @return The value of <code>labelWrapping</code> property.
|
|
142
|
-
*
|
|
142
|
+
* @deprecated Since 18.0.0. Label truncation for 'start' and 'top' aligned labels is no longer recommended by the Redwood Design System. The default for labelWrapping was 'wrap' and that is now the only suggested pattern by UX design for 'start' and 'top' aligned labels. 'inside' aligned labels are always truncated per UX design and are not affected by this property's value.
|
|
143
143
|
*/
|
|
144
144
|
getLabelWrapping() {
|
|
145
145
|
return this.getProperty('labelWrapping');
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"InputDatePickerWebElementBase.js","sourceRoot":"","sources":["InputDatePickerWebElementBase.ts"],"names":[],"mappings":";;;AAAA,iEAAoE;AAEpE;;;;;GAKG;AACH,MAAa,6BAA8B,SAAQ,uBAAY;IAC7D;;;;;OAKG;IACI,aAAa;QAClB,OAAO,IAAI,CAAC,WAAW,CAAS,YAAY,CAAC,CAAC;IAChD,CAAC;IAED;;;;;OAKG;IACI,oBAAoB;QACzB,OAAO,IAAI,CAAC,WAAW,CAAU,mBAAmB,CAAC,CAAC;IACxD,CAAC;IAED;;;;;OAKG;IACI,iCAAiC;QACtC,OAAO,IAAI,CAAC,WAAW,CAAO,gCAAgC,CAAC,CAAC;IAClE,CAAC;IAED;;;;;OAKG;IACI,kCAAkC;QACvC,OAAO,IAAI,CAAC,WAAW,CAAO,iCAAiC,CAAC,CAAC;IACnE,CAAC;IAED;;;;;OAKG;IACI,+BAA+B;QACpC,OAAO,IAAI,CAAC,WAAW,CAAO,8BAA8B,CAAC,CAAC;IAChE,CAAC;IAED;;;;;OAKG;IACI,eAAe;QACpB,OAAO,IAAI,CAAC,WAAW,CAAO,cAAc,CAAC,CAAC;IAChD,CAAC;IAED;;;;;OAKG;IACI,mBAAmB;QACxB,OAAO,IAAI,CAAC,WAAW,CAAS,kBAAkB,CAAC,CAAC;IACtD,CAAC;IAED;;;;;OAKG;IACI,WAAW;QAChB,OAAO,IAAI,CAAC,WAAW,CAAU,UAAU,CAAC,CAAC;IAC/C,CAAC;IAED;;;;;OAKG;IACI,iBAAiB;QACtB,OAAO,IAAI,CAAC,WAAW,CAAiB,gBAAgB,CAAC,C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CAAC,WAAW,CAAU,UAAU,CAAC,CAAC;IAC/C,CAAC;IAED;;;;;OAKG;IACI,wBAAwB;QAC7B,OAAO,IAAI,CAAC,WAAW,CAAS,uBAAuB,CAAC,CAAC;IAC3D,CAAC;IAED;;;;;OAKG;IACI,YAAY;QACjB,OAAO,IAAI,CAAC,WAAW,CAAS,WAAW,CAAC,CAAC;IAC/C,CAAC;IAED;;;;;OAKG;IACI,gBAAgB;QACrB,OAAO,IAAI,CAAC,WAAW,CAAS,eAAe,CAAC,CAAC;IACnD,CAAC;IAED;;;;;OAKG;IACI,cAAc;QACnB,OAAO,IAAI,CAAC,WAAW,CAAS,aAAa,CAAC,CAAC;IACjD,CAAC;IAED;;;;;OAKG;IACI,wBAAwB;QAC7B,OAAO,IAAI,CAAC,WAAW,CAAS,uBAAuB,CAAC,CAAC;IAC3D,CAAC;IAED;;;;;OAKG;IACI,aAAa;QAClB,OAAO,IAAI,CAAC,WAAW,CAAuB,YAAY,CAAC,CAAC;IAC9D,CAAC;IAED;;;;;OAKG;IACI,WAAW,CAAC,KAAoB;QACrC,OAAO,IAAI,CAAC,WAAW,CAAgB,OAAO,EAAE,KAAK,CAAC,CAAC;IACzD,CAAC;IAED;;;;;OAKG;IACI,QAAQ;QACb,OAAO,IAAI,CAAC,WAAW,CAAgB,OAAO,CAAC,CAAC;IAClD,CAAC;IAED;;;;;OAKG;IACI,cAAc;QACnB,OAAO,IAAI,CAAC,WAAW,CAAS,aAAa,CAAC,CAAC;IACjD,CAAC;IAED;;;;;OAKG;IACI,WAAW;QAChB,OAAO,IAAI,CAAC,WAAW,CAAW,UAAU,CAAC,CAAC;IAChD,CAAC;IAED;;;;;OAKG;IACI,QAAQ;QACb,OAAO,IAAI,CAAC,WAAW,CAAS,OAAO,CAAC,CAAC;IAC3C,CAAC;CACF;AA1UD,sEA0UC","sourcesContent":["import { OjWebElement } from '@oracle/oraclejet-webdriver/elements';\n\n/**\n * This is the base class for oj-c-input-date-picker WebElement, and is generated from the\n * component's metadata. Do not modify these contents since they'll be replaced\n * during the next generation.\n * Put overrides into the WebElements's subclass, InputDatePickerWebElement.ts.\n */\nexport class InputDatePickerWebElementBase extends OjWebElement {\n /**\n * Gets the value of <code>columnSpan</code> property.\n * Specifies how many columns this component should span.\n * @return The value of <code>columnSpan</code> property.\n *\n */\n public getColumnSpan(): Promise<number> {\n return this.getProperty<number>('columnSpan');\n }\n\n /**\n * Gets the value of <code>containerReadonly</code> property.\n * Specifies whether an ancestor container, like oj-c-form-layout, is readonly.\n * @return The value of <code>containerReadonly</code> property.\n *\n */\n public getContainerReadonly(): Promise<boolean> {\n return this.getProperty<boolean>('containerReadonly');\n }\n\n /**\n * Gets the value of <code>dateRangeOverflowMessageDetail</code> property.\n * Overrides the default validator's rangeOverflow message detail.\n * @return The value of <code>dateRangeOverflowMessageDetail</code> property.\n *\n */\n public getDateRangeOverflowMessageDetail(): Promise<null> {\n return this.getProperty<null>('dateRangeOverflowMessageDetail');\n }\n\n /**\n * Gets the value of <code>dateRangeUnderflowMessageDetail</code> property.\n * Overrides the default validator's rangeUnderflow message detail.\n * @return The value of <code>dateRangeUnderflowMessageDetail</code> property.\n *\n */\n public getDateRangeUnderflowMessageDetail(): Promise<null> {\n return this.getProperty<null>('dateRangeUnderflowMessageDetail');\n }\n\n /**\n * Gets the value of <code>dateRestrictionMessageDetail</code> property.\n * Overrides the default validator's rangeUnderflow message detail.\n * @return The value of <code>dateRestrictionMessageDetail</code> property.\n *\n */\n public getDateRestrictionMessageDetail(): Promise<null> {\n return this.getProperty<null>('dateRestrictionMessageDetail');\n }\n\n /**\n * Gets the value of <code>dayFormatter</code> property.\n * Provides additional information for rendering a day.\n * @return The value of <code>dayFormatter</code> property.\n *\n */\n public getDayFormatter(): Promise<null> {\n return this.getProperty<null>('dayFormatter');\n }\n\n /**\n * Gets the value of <code>daysOutsideMonth</code> property.\n * Specifies the behavior of days outside of the current month in the Date Picker.\n * @return The value of <code>daysOutsideMonth</code> property.\n *\n */\n public getDaysOutsideMonth(): Promise<string> {\n return this.getProperty<string>('daysOutsideMonth');\n }\n\n /**\n * Gets the value of <code>disabled</code> property.\n * Specifies whether the component is disabled.\n * @return The value of <code>disabled</code> property.\n *\n */\n public getDisabled(): Promise<boolean> {\n return this.getProperty<boolean>('disabled');\n }\n\n /**\n * Gets the value of <code>displayOptions</code> property.\n * Display options for auxiliary content that determines whether or not it should be displayed.\n * @return The value of <code>displayOptions</code> property.\n *\n */\n public getDisplayOptions(): Promise<DisplayOptions> {\n return this.getProperty<DisplayOptions>('displayOptions');\n }\n\n /**\n * Gets the value of <code>help</code> property.\n * Form component help information.\n * @return The value of <code>help</code> property.\n *\n */\n public getHelp(): Promise<Help> {\n return this.getProperty<Help>('help');\n }\n\n /**\n * Gets the value of <code>helpHints</code> property.\n * The helpHints object contains a definition property and a source property.\n * @return The value of <code>helpHints</code> property.\n *\n */\n public getHelpHints(): Promise<HelpHints> {\n return this.getProperty<HelpHints>('helpHints');\n }\n\n /**\n * Gets the value of <code>labelEdge</code> property.\n * Specifies how the label is positioned for the component\n * @return The value of <code>labelEdge</code> property.\n *\n */\n public getLabelEdge(): Promise<string> {\n return this.getProperty<string>('labelEdge');\n }\n\n /**\n * Gets the value of <code>labelHint</code> property.\n * Represents a hint for rendering a label on the component.\n * @return The value of <code>labelHint</code> property.\n *\n */\n public getLabelHint(): Promise<string> {\n return this.getProperty<string>('labelHint');\n }\n\n /**\n * Gets the value of <code>labelStartWidth</code> property.\n * The width of the label when labelEdge is 'start'.\n * @return The value of <code>labelStartWidth</code> property.\n *\n */\n public getLabelStartWidth(): Promise<number | string> {\n return this.getProperty<number | string>('labelStartWidth');\n }\n\n /**\n * Gets the value of <code>labelWrapping</code> property.\n * Should the labels wrap or truncate when there is not enough available space.\n * @return The value of <code>labelWrapping</code> property.\n *\n */\n public getLabelWrapping(): Promise<string> {\n return this.getProperty<string>('labelWrapping');\n }\n\n /**\n * Gets the value of <code>max</code> property.\n * The maximum selectable date, in ISO string format\n * @return The value of <code>max</code> property.\n *\n */\n public getMax(): Promise<string | null> {\n return this.getProperty<string | null>('max');\n }\n\n /**\n * Sets the value of <code>messagesCustom</code> property.\n * List of custom component messages\n * @param messagesCustom The value to set for <code>messagesCustom</code>\n *\n */\n public changeMessagesCustom(messagesCustom: Array<MessagesCustom>): Promise<void> {\n return this.setProperty<Array<MessagesCustom>>('messagesCustom', messagesCustom);\n }\n\n /**\n * Gets the value of <code>messagesCustom</code> property.\n * List of custom component messages\n * @return The value of <code>messagesCustom</code> property.\n *\n */\n public getMessagesCustom(): Promise<Array<MessagesCustom>> {\n return this.getProperty<Array<MessagesCustom>>('messagesCustom');\n }\n\n /**\n * Gets the value of <code>min</code> property.\n * The minimum selectable date, in ISO string format\n * @return The value of <code>min</code> property.\n *\n */\n public getMin(): Promise<string | null> {\n return this.getProperty<string | null>('min');\n }\n\n /**\n * Gets the value of <code>monthAndYearPicker</code> property.\n * Specifies whether or not the DatePicker should show the toggle buttons that toggle the month grid picker and year grid picker.\n * @return The value of <code>monthAndYearPicker</code> property.\n *\n */\n public getMonthAndYearPicker(): Promise<string> {\n return this.getProperty<string>('monthAndYearPicker');\n }\n\n /**\n * Gets the value of <code>readonly</code> property.\n * Whether the component is readonly\n * @return The value of <code>readonly</code> property.\n *\n */\n public getReadonly(): Promise<boolean> {\n return this.getProperty<boolean>('readonly');\n }\n\n /**\n * Gets the value of <code>required</code> property.\n * Specifies whether or not the component is required.\n * @return The value of <code>required</code> property.\n *\n */\n public getRequired(): Promise<boolean> {\n return this.getProperty<boolean>('required');\n }\n\n /**\n * Gets the value of <code>requiredMessageDetail</code> property.\n * Overrides the default Required error message.\n * @return The value of <code>requiredMessageDetail</code> property.\n *\n */\n public getRequiredMessageDetail(): Promise<string> {\n return this.getProperty<string>('requiredMessageDetail');\n }\n\n /**\n * Gets the value of <code>textAlign</code> property.\n * Specifies how the text is aligned within the text field\n * @return The value of <code>textAlign</code> property.\n *\n */\n public getTextAlign(): Promise<string> {\n return this.getProperty<string>('textAlign');\n }\n\n /**\n * Gets the value of <code>todayTimeZone</code> property.\n * The time zone used for computing today for the Date Picker.\n * @return The value of <code>todayTimeZone</code> property.\n *\n */\n public getTodayTimeZone(): Promise<string> {\n return this.getProperty<string>('todayTimeZone');\n }\n\n /**\n * Gets the value of <code>todayButton</code> property.\n * Specifies how to render the 'Go to today' button.\n * @return The value of <code>todayButton</code> property.\n *\n */\n public getTodayButton(): Promise<string> {\n return this.getProperty<string>('todayButton');\n }\n\n /**\n * Gets the value of <code>userAssistanceDensity</code> property.\n * Specifies the density of the form component's user assistance presentation.\n * @return The value of <code>userAssistanceDensity</code> property.\n *\n */\n public getUserAssistanceDensity(): Promise<string> {\n return this.getProperty<string>('userAssistanceDensity');\n }\n\n /**\n * Gets the value of <code>validators</code> property.\n * Specifies the validators for the component.\n * @return The value of <code>validators</code> property.\n *\n */\n public getValidators(): Promise<Array<object> | null> {\n return this.getProperty<Array<object> | null>('validators');\n }\n\n /**\n * Sets the value of <code>value</code> property.\n * The value of the component.\n * @param value The value to set for <code>value</code>\n *\n */\n public changeValue(value: string | null): Promise<void> {\n return this.setProperty<string | null>('value', value);\n }\n\n /**\n * Gets the value of <code>value</code> property.\n * The value of the component.\n * @return The value of <code>value</code> property.\n *\n */\n public getValue(): Promise<string | null> {\n return this.getProperty<string | null>('value');\n }\n\n /**\n * Gets the value of <code>weekDisplay</code> property.\n * Whether week of the year will be shown in the DatePicker.\n * @return The value of <code>weekDisplay</code> property.\n *\n */\n public getWeekDisplay(): Promise<string> {\n return this.getProperty<string>('weekDisplay');\n }\n\n /**\n * Gets the value of <code>rawValue</code> property.\n * Specifies how the raw value of the component\n * @return The value of <code>rawValue</code> property.\n *\n */\n public getRawValue(): Promise<RawValue> {\n return this.getProperty<RawValue>('rawValue');\n }\n\n /**\n * Gets the value of <code>valid</code> property.\n * Specifies how the valid state of the component\n * @return The value of <code>valid</code> property.\n *\n */\n public getValid(): Promise<string> {\n return this.getProperty<string>('valid');\n }\n}\nexport interface DisplayOptions {\n /**\n *\n */\n messages: string;\n /**\n *\n */\n validatorHint: string;\n}\nexport interface Help {\n /**\n *\n */\n instruction: string;\n}\nexport interface HelpHints {\n /**\n *\n */\n definition: string;\n /**\n *\n */\n source: string;\n /**\n *\n */\n sourceText: string;\n}\nexport interface MessagesCustom {\n /**\n *\n */\n summary: string;\n /**\n *\n */\n detail: string;\n /**\n *\n */\n severity: string;\n}\nexport interface RawValue {\n /**\n *\n */\n year: number;\n /**\n *\n */\n month: number;\n /**\n *\n */\n day: number;\n}\n"]}
|
|
1
|
+
{"version":3,"file":"InputDatePickerWebElementBase.js","sourceRoot":"","sources":["InputDatePickerWebElementBase.ts"],"names":[],"mappings":";;;AAAA,mEAAoE;AAEpE;;;;;GAKG;AACH,MAAa,6BAA8B,SAAQ,uBAAY;IAC7D;;;;;OAKG;IACI,aAAa;QAClB,OAAO,IAAI,CAAC,WAAW,CAAS,YAAY,CAAC,CAAC;IAChD,CAAC;IAED;;;;;OAKG;IACI,oBAAoB;QACzB,OAAO,IAAI,CAAC,WAAW,CAAU,mBAAmB,CAAC,CAAC;IACxD,CAAC;IAED;;;;;OAKG;IACI,iCAAiC;QACtC,OAAO,IAAI,CAAC,WAAW,CAAO,gCAAgC,CAAC,CAAC;IAClE,CAAC;IAED;;;;;OAKG;IACI,kCAAkC;QACvC,OAAO,IAAI,CAAC,WAAW,CAAO,iCAAiC,CAAC,CAAC;IACnE,CAAC;IAED;;;;;OAKG;IACI,+BAA+B;QACpC,OAAO,IAAI,CAAC,WAAW,CAAO,8BAA8B,CAAC,CAAC;IAChE,CAAC;IAED;;;;;OAKG;IACI,eAAe;QACpB,OAAO,IAAI,CAAC,WAAW,CAAO,cAAc,CAAC,CAAC;IAChD,CAAC;IAED;;;;;OAKG;IACI,mBAAmB;QACxB,OAAO,IAAI,CAAC,WAAW,CAAS,kBAAkB,CAAC,CAAC;IACtD,CAAC;IAED;;;;;OAKG;IACI,WAAW;QAChB,OAAO,IAAI,CAAC,WAAW,C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AC;CACF;AA1UD,sEA0UC","sourcesContent":["import { OjWebElement } from '@oracle/oraclejet-webdriver/elements';\n\n/**\n * This is the base class for oj-c-input-date-picker WebElement, and is generated from the\n * component's metadata. Do not modify these contents since they'll be replaced\n * during the next generation.\n * Put overrides into the WebElements's subclass, InputDatePickerWebElement.ts.\n */\nexport class InputDatePickerWebElementBase extends OjWebElement {\n /**\n * Gets the value of <code>columnSpan</code> property.\n * Specifies how many columns this component should span.\n * @return The value of <code>columnSpan</code> property.\n *\n */\n public getColumnSpan(): Promise<number> {\n return this.getProperty<number>('columnSpan');\n }\n\n /**\n * Gets the value of <code>containerReadonly</code> property.\n * Specifies whether an ancestor container, like oj-c-form-layout, is readonly.\n * @return The value of <code>containerReadonly</code> property.\n *\n */\n public getContainerReadonly(): Promise<boolean> {\n return this.getProperty<boolean>('containerReadonly');\n }\n\n /**\n * Gets the value of <code>dateRangeOverflowMessageDetail</code> property.\n * Overrides the default validator's rangeOverflow message detail.\n * @return The value of <code>dateRangeOverflowMessageDetail</code> property.\n *\n */\n public getDateRangeOverflowMessageDetail(): Promise<null> {\n return this.getProperty<null>('dateRangeOverflowMessageDetail');\n }\n\n /**\n * Gets the value of <code>dateRangeUnderflowMessageDetail</code> property.\n * Overrides the default validator's rangeUnderflow message detail.\n * @return The value of <code>dateRangeUnderflowMessageDetail</code> property.\n *\n */\n public getDateRangeUnderflowMessageDetail(): Promise<null> {\n return this.getProperty<null>('dateRangeUnderflowMessageDetail');\n }\n\n /**\n * Gets the value of <code>dateRestrictionMessageDetail</code> property.\n * Overrides the default validator's rangeUnderflow message detail.\n * @return The value of <code>dateRestrictionMessageDetail</code> property.\n *\n */\n public getDateRestrictionMessageDetail(): Promise<null> {\n return this.getProperty<null>('dateRestrictionMessageDetail');\n }\n\n /**\n * Gets the value of <code>dayFormatter</code> property.\n * Provides additional information for rendering a day.\n * @return The value of <code>dayFormatter</code> property.\n *\n */\n public getDayFormatter(): Promise<null> {\n return this.getProperty<null>('dayFormatter');\n }\n\n /**\n * Gets the value of <code>daysOutsideMonth</code> property.\n * Specifies the behavior of days outside of the current month in the Date Picker.\n * @return The value of <code>daysOutsideMonth</code> property.\n *\n */\n public getDaysOutsideMonth(): Promise<string> {\n return this.getProperty<string>('daysOutsideMonth');\n }\n\n /**\n * Gets the value of <code>disabled</code> property.\n * Specifies whether the component is disabled.\n * @return The value of <code>disabled</code> property.\n *\n */\n public getDisabled(): Promise<boolean> {\n return this.getProperty<boolean>('disabled');\n }\n\n /**\n * Gets the value of <code>displayOptions</code> property.\n * Display options for auxiliary content that determines whether or not it should be displayed.\n * @return The value of <code>displayOptions</code> property.\n *\n */\n public getDisplayOptions(): Promise<DisplayOptions> {\n return this.getProperty<DisplayOptions>('displayOptions');\n }\n\n /**\n * Gets the value of <code>help</code> property.\n * Form component help information.\n * @return The value of <code>help</code> property.\n *\n */\n public getHelp(): Promise<Help> {\n return this.getProperty<Help>('help');\n }\n\n /**\n * Gets the value of <code>helpHints</code> property.\n * The helpHints object contains a definition property and a source property.\n * @return The value of <code>helpHints</code> property.\n *\n */\n public getHelpHints(): Promise<HelpHints> {\n return this.getProperty<HelpHints>('helpHints');\n }\n\n /**\n * Gets the value of <code>labelEdge</code> property.\n * Specifies how the label is positioned for the component\n * @return The value of <code>labelEdge</code> property.\n *\n */\n public getLabelEdge(): Promise<string> {\n return this.getProperty<string>('labelEdge');\n }\n\n /**\n * Gets the value of <code>labelHint</code> property.\n * Represents a hint for rendering a label on the component.\n * @return The value of <code>labelHint</code> property.\n *\n */\n public getLabelHint(): Promise<string> {\n return this.getProperty<string>('labelHint');\n }\n\n /**\n * Gets the value of <code>labelStartWidth</code> property.\n * The width of the label when labelEdge is 'start'.\n * @return The value of <code>labelStartWidth</code> property.\n *\n */\n public getLabelStartWidth(): Promise<number | string> {\n return this.getProperty<number | string>('labelStartWidth');\n }\n\n /**\n * Gets the value of <code>labelWrapping</code> property.\n * Should the labels wrap or truncate when there is not enough available space.\n * @return The value of <code>labelWrapping</code> property.\n * @deprecated Since 18.0.0. Label truncation for 'start' and 'top' aligned labels is no longer recommended by the Redwood Design System. The default for labelWrapping was 'wrap' and that is now the only suggested pattern by UX design for 'start' and 'top' aligned labels. 'inside' aligned labels are always truncated per UX design and are not affected by this property's value.\n */\n public getLabelWrapping(): Promise<string> {\n return this.getProperty<string>('labelWrapping');\n }\n\n /**\n * Gets the value of <code>max</code> property.\n * The maximum selectable date, in ISO string format\n * @return The value of <code>max</code> property.\n *\n */\n public getMax(): Promise<string | null> {\n return this.getProperty<string | null>('max');\n }\n\n /**\n * Sets the value of <code>messagesCustom</code> property.\n * List of custom component messages\n * @param messagesCustom The value to set for <code>messagesCustom</code>\n *\n */\n public changeMessagesCustom(messagesCustom: Array<MessagesCustom>): Promise<void> {\n return this.setProperty<Array<MessagesCustom>>('messagesCustom', messagesCustom);\n }\n\n /**\n * Gets the value of <code>messagesCustom</code> property.\n * List of custom component messages\n * @return The value of <code>messagesCustom</code> property.\n *\n */\n public getMessagesCustom(): Promise<Array<MessagesCustom>> {\n return this.getProperty<Array<MessagesCustom>>('messagesCustom');\n }\n\n /**\n * Gets the value of <code>min</code> property.\n * The minimum selectable date, in ISO string format\n * @return The value of <code>min</code> property.\n *\n */\n public getMin(): Promise<string | null> {\n return this.getProperty<string | null>('min');\n }\n\n /**\n * Gets the value of <code>monthAndYearPicker</code> property.\n * Specifies whether or not the DatePicker should show the toggle buttons that toggle the month grid picker and year grid picker.\n * @return The value of <code>monthAndYearPicker</code> property.\n *\n */\n public getMonthAndYearPicker(): Promise<string> {\n return this.getProperty<string>('monthAndYearPicker');\n }\n\n /**\n * Gets the value of <code>readonly</code> property.\n * Whether the component is readonly\n * @return The value of <code>readonly</code> property.\n *\n */\n public getReadonly(): Promise<boolean> {\n return this.getProperty<boolean>('readonly');\n }\n\n /**\n * Gets the value of <code>required</code> property.\n * Specifies whether or not the component is required.\n * @return The value of <code>required</code> property.\n *\n */\n public getRequired(): Promise<boolean> {\n return this.getProperty<boolean>('required');\n }\n\n /**\n * Gets the value of <code>requiredMessageDetail</code> property.\n * Overrides the default Required error message.\n * @return The value of <code>requiredMessageDetail</code> property.\n *\n */\n public getRequiredMessageDetail(): Promise<string> {\n return this.getProperty<string>('requiredMessageDetail');\n }\n\n /**\n * Gets the value of <code>textAlign</code> property.\n * Specifies how the text is aligned within the text field\n * @return The value of <code>textAlign</code> property.\n *\n */\n public getTextAlign(): Promise<string> {\n return this.getProperty<string>('textAlign');\n }\n\n /**\n * Gets the value of <code>todayTimeZone</code> property.\n * The time zone used for computing today for the Date Picker.\n * @return The value of <code>todayTimeZone</code> property.\n *\n */\n public getTodayTimeZone(): Promise<string> {\n return this.getProperty<string>('todayTimeZone');\n }\n\n /**\n * Gets the value of <code>todayButton</code> property.\n * Specifies how to render the 'Go to today' button.\n * @return The value of <code>todayButton</code> property.\n *\n */\n public getTodayButton(): Promise<string> {\n return this.getProperty<string>('todayButton');\n }\n\n /**\n * Gets the value of <code>userAssistanceDensity</code> property.\n * Specifies the density of the form component's user assistance presentation.\n * @return The value of <code>userAssistanceDensity</code> property.\n *\n */\n public getUserAssistanceDensity(): Promise<string> {\n return this.getProperty<string>('userAssistanceDensity');\n }\n\n /**\n * Gets the value of <code>validators</code> property.\n * Specifies the validators for the component.\n * @return The value of <code>validators</code> property.\n *\n */\n public getValidators(): Promise<Array<object> | null> {\n return this.getProperty<Array<object> | null>('validators');\n }\n\n /**\n * Sets the value of <code>value</code> property.\n * The value of the component.\n * @param value The value to set for <code>value</code>\n *\n */\n public changeValue(value: string | null): Promise<void> {\n return this.setProperty<string | null>('value', value);\n }\n\n /**\n * Gets the value of <code>value</code> property.\n * The value of the component.\n * @return The value of <code>value</code> property.\n *\n */\n public getValue(): Promise<string | null> {\n return this.getProperty<string | null>('value');\n }\n\n /**\n * Gets the value of <code>weekDisplay</code> property.\n * Whether week of the year will be shown in the DatePicker.\n * @return The value of <code>weekDisplay</code> property.\n *\n */\n public getWeekDisplay(): Promise<string> {\n return this.getProperty<string>('weekDisplay');\n }\n\n /**\n * Gets the value of <code>rawValue</code> property.\n * Specifies how the raw value of the component\n * @return The value of <code>rawValue</code> property.\n *\n */\n public getRawValue(): Promise<RawValue> {\n return this.getProperty<RawValue>('rawValue');\n }\n\n /**\n * Gets the value of <code>valid</code> property.\n * Specifies how the valid state of the component\n * @return The value of <code>valid</code> property.\n *\n */\n public getValid(): Promise<string> {\n return this.getProperty<string>('valid');\n }\n}\nexport interface DisplayOptions {\n /**\n *\n */\n messages: string;\n /**\n *\n */\n validatorHint: string;\n}\nexport interface Help {\n /**\n *\n */\n instruction: string;\n}\nexport interface HelpHints {\n /**\n *\n */\n definition: string;\n /**\n *\n */\n source: string;\n /**\n *\n */\n sourceText: string;\n}\nexport interface MessagesCustom {\n /**\n *\n */\n summary: string;\n /**\n *\n */\n detail: string;\n /**\n *\n */\n severity: string;\n}\nexport interface RawValue {\n /**\n *\n */\n year: number;\n /**\n *\n */\n month: number;\n /**\n *\n */\n day: number;\n}\n"]}
|
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
4
|
-
|
|
5
|
-
|
|
3
|
+
exports.InputDatePickerWebElement = void 0;
|
|
4
|
+
exports.findInputDatePicker = findInputDatePicker;
|
|
5
|
+
const oraclejet_webdriver_1 = require("@oracle/oraclejet-webdriver");
|
|
6
|
+
const InputDatePickerWebElement_1 = require("./InputDatePickerWebElement");
|
|
6
7
|
Object.defineProperty(exports, "InputDatePickerWebElement", { enumerable: true, get: function () { return InputDatePickerWebElement_1.InputDatePickerWebElement; } });
|
|
7
8
|
/**
|
|
8
9
|
* Retrieve an instance of [InputDatePickerWebElement](../classes/InputDatePickerWebElement.html).
|
|
@@ -29,6 +30,5 @@ async function findInputDatePicker(driver, by) {
|
|
|
29
30
|
}
|
|
30
31
|
return webEl;
|
|
31
32
|
}
|
|
32
|
-
exports.findInputDatePicker = findInputDatePicker;
|
|
33
33
|
(0, oraclejet_webdriver_1.register)('oj-c-input-date-picker', InputDatePickerWebElement_1.InputDatePickerWebElement);
|
|
34
34
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":";;;
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":";;;AAiBA,kDAiBC;AAjCD,qEAAmE;AACnE,2EAAwE;AAC/D,0GADA,qDAAyB,OACA;AAElC;;;;;;;;;;;GAWG;AACI,KAAK,UAAU,mBAAmB,CACvC,MAAkB,EAClB,EAAM;IAEN,MAAM,KAAK,GAAG,MAAM,MAAM,CAAC,WAAW,CAAC,EAAE,CAAC,CAAC;IAC3C,8DAA8D;IAC9D,IAAI,CAAC,CAAC,KAAK,YAAY,qDAAyB,CAAC,EAAE,CAAC;QAClD,MAAM,OAAO,GAAG,MAAM,KAAK,CAAC,UAAU,EAAE,CAAC;QACzC,IAAI,YAAY,GAAG,EAAE,CAAC;QACtB,IAAI,KAAK,CAAC,WAAW,CAAC,IAAI,KAAK,2BAA2B,EAAE,CAAC;YAC3D,YAAY,GAAG,yDAAyD,CAAC;QAC3E,CAAC;QACD,MAAM,KAAK,CACT,uBAAuB,EAAE,aAAa,KAAK,CAAC,WAAW,CAAC,IAAI,SAAS,OAAO,mBAAmB,qDAAyB,CAAC,IAAI,KAAK,YAAY,EAAE,CACjJ,CAAC;IACJ,CAAC;IACD,OAAO,KAAK,CAAC;AACf,CAAC;AAED,IAAA,8BAAQ,EAAC,wBAAwB,EAAE,qDAAyB,CAAC,CAAC","sourcesContent":["import { By } from 'selenium-webdriver';\nimport { DriverLike, register } from '@oracle/oraclejet-webdriver';\nimport { InputDatePickerWebElement } from './InputDatePickerWebElement';\nexport { InputDatePickerWebElement };\n\n/**\n * Retrieve an instance of [InputDatePickerWebElement](../classes/InputDatePickerWebElement.html).\n * @example\n * ```javascript\n * import { findInputDatePicker } from '@oracle/oraclejet-core-pack/webdriver';\n * const el = await findInputDatePicker(driver, By.id('my-oj-c-input-date-picker'));\n * ```\n * @param driver A WebDriver/WebElement instance from where the element will be\n * searched. If WebDriver is passed, the element will be searched globally in the\n * document. If WebElement is passed, the search will be relative to this element.\n * @param by The locator with which to find the element\n */\nexport async function findInputDatePicker(\n driver: DriverLike,\n by: By\n): Promise<InputDatePickerWebElement> {\n const webEl = await driver.findElement(by);\n // Check that the element is of type InputDatePickerWebElement\n if (!(webEl instanceof InputDatePickerWebElement)) {\n const tagName = await webEl.getTagName();\n let supplemental = '';\n if (webEl.constructor.name === 'InputDatePickerWebElement') {\n supplemental = 'You likely have multiple installations of this package.';\n }\n throw Error(\n `findInputDatePicker(${by}) created ${webEl.constructor.name} for <${tagName}>, but expected ${InputDatePickerWebElement.name}. ${supplemental}`\n );\n }\n return webEl;\n}\n\nregister('oj-c-input-date-picker', InputDatePickerWebElement);\n"]}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "input-date-picker",
|
|
3
|
-
"version": "
|
|
4
|
-
"jetVersion": "^
|
|
3
|
+
"version": "18.0.0",
|
|
4
|
+
"jetVersion": "^18.0.0",
|
|
5
5
|
"pack": "oj-c",
|
|
6
6
|
"type": "composite",
|
|
7
7
|
"dependencyScope": "runtime",
|
|
@@ -35,7 +35,7 @@
|
|
|
35
35
|
"icon": "oj-ux-ico-type-date-input"
|
|
36
36
|
},
|
|
37
37
|
"webelement": {
|
|
38
|
-
"docUrl": "https://www.oracle.com/webfolder/technetwork/jet
|
|
38
|
+
"docUrl": "https://www.oracle.com/webfolder/technetwork/jet/cpwdtsdoc/classes/InputDatePickerWebElement.html"
|
|
39
39
|
}
|
|
40
40
|
},
|
|
41
41
|
"propertyLayout": [
|
|
@@ -251,6 +251,13 @@
|
|
|
251
251
|
"displayName": "Wrap"
|
|
252
252
|
}
|
|
253
253
|
},
|
|
254
|
+
"status": [
|
|
255
|
+
{
|
|
256
|
+
"type": "deprecated",
|
|
257
|
+
"since": "18.0.0",
|
|
258
|
+
"description": "Label truncation for 'start' and 'top' aligned labels is no longer recommended by the Redwood Design System. The default for labelWrapping was 'wrap' and that is now the only suggested pattern by UX design for 'start' and 'top' aligned labels. 'inside' aligned labels are always truncated per UX design and are not affected by this property's value."
|
|
259
|
+
}
|
|
260
|
+
],
|
|
254
261
|
"enumValues": [
|
|
255
262
|
"truncate",
|
|
256
263
|
"wrap"
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.InputDateTextWebElement = void 0;
|
|
4
|
-
|
|
5
|
-
|
|
4
|
+
const InputDateTextWebElementBase_1 = require("./InputDateTextWebElementBase");
|
|
5
|
+
const selenium_webdriver_1 = require("selenium-webdriver");
|
|
6
6
|
/**
|
|
7
7
|
* The component WebElement for [oj-c-input-date-text](../../../oj-c/docs/oj.InputDateText.html).
|
|
8
8
|
* Do not instantiate this class directly, instead, use
|
|
@@ -14,10 +14,10 @@ class InputDateTextWebElement extends InputDateTextWebElementBase_1.InputDateTex
|
|
|
14
14
|
* @param value The value to set for the <code>value</code>
|
|
15
15
|
*/
|
|
16
16
|
async changeValue(value) {
|
|
17
|
-
await this.getDriver().executeScript('arguments[0].focus()', this);
|
|
18
17
|
const readonly = await this.getReadonly();
|
|
19
18
|
const disabled = await this.getDisabled();
|
|
20
19
|
if (!(disabled || readonly)) {
|
|
20
|
+
await this.getDriver().executeScript((el) => el.focus(), this);
|
|
21
21
|
await this.whenBusyContextReady();
|
|
22
22
|
// Note that using element.clear() will blur, which commits the change and calls
|
|
23
23
|
// onValueChanged, which we don't want until we're done updating the value.
|
|
@@ -30,11 +30,7 @@ class InputDateTextWebElement extends InputDateTextWebElementBase_1.InputDateTex
|
|
|
30
30
|
await input.sendKeys(selenium_webdriver_1.Key.DELETE);
|
|
31
31
|
}
|
|
32
32
|
value && (await input.sendKeys(value));
|
|
33
|
-
return this.getDriver().
|
|
34
|
-
let el = arguments[0];
|
|
35
|
-
let done = arguments[1];
|
|
36
|
-
el.validate().then(done).catch(done);
|
|
37
|
-
`, this);
|
|
33
|
+
return this.getDriver().executeScript((el) => el.validate(), this);
|
|
38
34
|
}
|
|
39
35
|
}
|
|
40
36
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"InputDateTextWebElement.js","sourceRoot":"","sources":["InputDateTextWebElement.ts"],"names":[],"mappings":";;;AAAA
|
|
1
|
+
{"version":3,"file":"InputDateTextWebElement.js","sourceRoot":"","sources":["InputDateTextWebElement.ts"],"names":[],"mappings":";;;AAAA,+EAA4E;AAC5E,2DAA6C;AAE7C;;;;GAIG;AACH,MAAa,uBAAwB,SAAQ,yDAA2B;IACtE;;;OAGG;IACI,KAAK,CAAC,WAAW,CAAC,KAAoB;QAC3C,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,IAAI,CAAC,SAAS,EAAE,CAAC,aAAa,CAAC,CAAC,EAAe,EAAE,EAAE,CAAC,EAAE,CAAC,KAAK,EAAE,EAAE,IAAI,CAAC,CAAC;YAC5E,MAAM,IAAI,CAAC,oBAAoB,EAAE,CAAC;YAElC,gFAAgF;YAChF,2EAA2E;YAC3E,yDAAyD;YACzD,MAAM,KAAK,GAAG,MAAM,IAAI,CAAC,WAAW,CAAC,uBAAE,CAAC,GAAG,CAAC,OAAO,CAAC,CAAC,CAAC;YACtD,MAAM,SAAS,GAAG,MAAM,IAAI,CAAC,WAAW,EAAE,CAAC;YAC3C,IAAI,SAAS,EAAE,CAAC;gBACd,MAAM,QAAQ,GAAG,MAAM,CAAC,MAAM,IAAI,CAAC,SAAS,EAAE,CAAC,eAAe,EAAE,CAAC,CAAC,WAAW,EAAE,CAAC;gBAChF,MAAM,KAAK,CAAC,QAAQ,CAAC,QAAQ,KAAK,KAAK,CAAC,CAAC,CAAC,wBAAG,CAAC,OAAO,CAAC,CAAC,CAAC,wBAAG,CAAC,OAAO,EAAE,GAAG,CAAC,CAAC;gBAC1E,MAAM,KAAK,CAAC,QAAQ,CAAC,wBAAG,CAAC,MAAM,CAAC,CAAC;YACnC,CAAC;YACD,KAAK,IAAI,CAAC,MAAM,KAAK,CAAC,QAAQ,CAAC,KAAK,CAAC,CAAC,CAAC;YAEvC,OAAO,IAAI,CAAC,SAAS,EAAE,CAAC,aAAa,CAAC,CAAC,EAAO,EAAE,EAAE,CAAC,EAAE,CAAC,QAAQ,EAAE,EAAE,IAAI,CAAC,CAAC;QAC1E,CAAC;IACH,CAAC;IAED;;OAEG;IACH,KAAK;QACH,OAAO,IAAI,CAAC,WAAW,CAAC,IAAI,CAAC,CAAC;IAChC,CAAC;CACF;AAlCD,0DAkCC","sourcesContent":["import { InputDateTextWebElementBase } from './InputDateTextWebElementBase';\nimport { By, Key } from 'selenium-webdriver';\n\n/**\n * The component WebElement for [oj-c-input-date-text](../../../oj-c/docs/oj.InputDateText.html).\n * Do not instantiate this class directly, instead, use\n * [findInputDateText](../functions/findInputDateText.html).\n */\nexport class InputDateTextWebElement extends InputDateTextWebElementBase {\n /**\n * Sets the value of the \"value\" property of the input component.\n * @param value The value to set for the <code>value</code>\n */\n public async changeValue(value: string | null): Promise<void> {\n const readonly = await this.getReadonly();\n const disabled = await this.getDisabled();\n if (!(disabled || readonly)) {\n await this.getDriver().executeScript((el: HTMLElement) => el.focus(), this);\n await this.whenBusyContextReady();\n\n // Note that using element.clear() will blur, which commits the change and calls\n // onValueChanged, which we don't want until we're done updating the value.\n // Instead do select-all, then delete to clear the value.\n const input = await this.findElement(By.css('input'));\n const currValue = await this.getRawValue();\n if (currValue) {\n const platform = await (await this.getDriver().getCapabilities()).getPlatform();\n await input.sendKeys(platform === 'mac' ? Key.COMMAND : Key.CONTROL, 'a');\n await input.sendKeys(Key.DELETE);\n }\n value && (await input.sendKeys(value));\n\n return this.getDriver().executeScript((el: any) => el.validate(), this);\n }\n }\n\n /**\n * Clears the value of the component.\n */\n clear(): Promise<void> {\n return this.changeValue(null);\n }\n}\n"]}
|
|
@@ -94,7 +94,7 @@ export declare class InputDateTextWebElementBase extends OjWebElement {
|
|
|
94
94
|
* Gets the value of <code>labelWrapping</code> property.
|
|
95
95
|
* Should the labels wrap or truncate when there is not enough available space.
|
|
96
96
|
* @return The value of <code>labelWrapping</code> property.
|
|
97
|
-
*
|
|
97
|
+
* @deprecated Since 18.0.0. Label truncation for 'start' and 'top' aligned labels is no longer recommended by the Redwood Design System. The default for labelWrapping was 'wrap' and that is now the only suggested pattern by UX design for 'start' and 'top' aligned labels. 'inside' aligned labels are always truncated per UX design and are not affected by this property's value.
|
|
98
98
|
*/
|
|
99
99
|
getLabelWrapping(): Promise<string>;
|
|
100
100
|
/**
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.InputDateTextWebElementBase = void 0;
|
|
4
|
-
|
|
4
|
+
const elements_1 = require("@oracle/oraclejet-webdriver/elements");
|
|
5
5
|
/**
|
|
6
6
|
* This is the base class for oj-c-input-date-text WebElement, and is generated from the
|
|
7
7
|
* component's metadata. Do not modify these contents since they'll be replaced
|
|
@@ -121,7 +121,7 @@ class InputDateTextWebElementBase extends elements_1.OjWebElement {
|
|
|
121
121
|
* Gets the value of <code>labelWrapping</code> property.
|
|
122
122
|
* Should the labels wrap or truncate when there is not enough available space.
|
|
123
123
|
* @return The value of <code>labelWrapping</code> property.
|
|
124
|
-
*
|
|
124
|
+
* @deprecated Since 18.0.0. Label truncation for 'start' and 'top' aligned labels is no longer recommended by the Redwood Design System. The default for labelWrapping was 'wrap' and that is now the only suggested pattern by UX design for 'start' and 'top' aligned labels. 'inside' aligned labels are always truncated per UX design and are not affected by this property's value.
|
|
125
125
|
*/
|
|
126
126
|
getLabelWrapping() {
|
|
127
127
|
return this.getProperty('labelWrapping');
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"InputDateTextWebElementBase.js","sourceRoot":"","sources":["InputDateTextWebElementBase.ts"],"names":[],"mappings":";;;AAAA,iEAAoE;AAEpE;;;;;GAKG;AACH,MAAa,2BAA4B,SAAQ,uBAAY;IAC3D;;;;;OAKG;IACI,eAAe;QACpB,OAAO,IAAI,CAAC,WAAW,CAAS,cAAc,CAAC,CAAC;IAClD,CAAC;IAED;;;;;OAKG;IACI,aAAa;QAClB,OAAO,IAAI,CAAC,WAAW,CAAS,YAAY,CAAC,CAAC;IAChD,CAAC;IAED;;;;;OAKG;IACI,oBAAoB;QACzB,OAAO,IAAI,CAAC,WAAW,CAAU,mBAAmB,CAAC,CAAC;IACxD,CAAC;IAED;;;;;OAKG;IACI,iCAAiC;QACtC,OAAO,IAAI,CAAC,WAAW,CAAS,gCAAgC,CAAC,CAAC;IACpE,CAAC;IAED;;;;;OAKG;IACI,kCAAkC;QACvC,OAAO,IAAI,CAAC,WAAW,CAAS,iCAAiC,CAAC,CAAC;IACrE,CAAC;IAED;;;;;OAKG;IACI,WAAW;QAChB,OAAO,IAAI,CAAC,WAAW,CAAU,UAAU,CAAC,CAAC;IAC/C,CAAC;IAED;;;;;OAKG;IACI,iBAAiB;QACtB,OAAO,IAAI,CAAC,WAAW,CAAiB,gBAAgB,CAAC,CAAC;IAC5D,CAAC;IAED;;;;;OAKG;IACI,OAAO;QACZ,OAAO,IAAI,CAAC,WAAW,CAAO,MAAM,CAAC,CAAC;IACxC,CAAC;IAED;;;;;OAKG;IACI,YAAY;QACjB,OAAO,IAAI,CAAC,WAAW,CAAY,WAAW,CAAC,CAAC;IAClD,CAAC;IAED;;;;;OAKG;IACI,YAAY;QACjB,OAAO,IAAI,CAAC,WAAW,CAAS,WAAW,CAAC,CAAC;IAC/C,CAA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WAAW,CAAuB,YAAY,CAAC,CAAC;IAC9D,CAAC;IAED;;;;;OAKG;IACI,WAAW,CAAC,KAAoB;QACrC,OAAO,IAAI,CAAC,WAAW,CAAgB,OAAO,EAAE,KAAK,CAAC,CAAC;IACzD,CAAC;IAED;;;;;OAKG;IACI,QAAQ;QACb,OAAO,IAAI,CAAC,WAAW,CAAgB,OAAO,CAAC,CAAC;IAClD,CAAC;IAED;;;;;OAKG;IACI,WAAW;QAChB,OAAO,IAAI,CAAC,WAAW,CAAS,UAAU,CAAC,CAAC;IAC9C,CAAC;IAED;;;;;OAKG;IACI,QAAQ;QACb,OAAO,IAAI,CAAC,WAAW,CAAS,OAAO,CAAC,CAAC;IAC3C,CAAC;CACF;AA9QD,kEA8QC","sourcesContent":["import { OjWebElement } from '@oracle/oraclejet-webdriver/elements';\n\n/**\n * This is the base class for oj-c-input-date-text WebElement, and is generated from the\n * component's metadata. Do not modify these contents since they'll be replaced\n * during the next generation.\n * Put overrides into the WebElements's subclass, InputDateTextWebElement.ts.\n */\nexport class InputDateTextWebElementBase extends OjWebElement {\n /**\n * Gets the value of <code>autocomplete</code> property.\n * Dictates component's autocomplete state\n * @return The value of <code>autocomplete</code> property.\n *\n */\n public getAutocomplete(): Promise<string> {\n return this.getProperty<string>('autocomplete');\n }\n\n /**\n * Gets the value of <code>columnSpan</code> property.\n * Specifies how many columns this component should span.\n * @return The value of <code>columnSpan</code> property.\n *\n */\n public getColumnSpan(): Promise<number> {\n return this.getProperty<number>('columnSpan');\n }\n\n /**\n * Gets the value of <code>containerReadonly</code> property.\n * Specifies whether an ancestor container, like oj-c-form-layout, is readonly.\n * @return The value of <code>containerReadonly</code> property.\n *\n */\n public getContainerReadonly(): Promise<boolean> {\n return this.getProperty<boolean>('containerReadonly');\n }\n\n /**\n * Gets the value of <code>dateRangeOverflowMessageDetail</code> property.\n * Overrides the default validator's rangeOverflow message detail.\n * @return The value of <code>dateRangeOverflowMessageDetail</code> property.\n *\n */\n public getDateRangeOverflowMessageDetail(): Promise<string> {\n return this.getProperty<string>('dateRangeOverflowMessageDetail');\n }\n\n /**\n * Gets the value of <code>dateRangeUnderflowMessageDetail</code> property.\n * Overrides the default validator's rangeUnderflow message detail.\n * @return The value of <code>dateRangeUnderflowMessageDetail</code> property.\n *\n */\n public getDateRangeUnderflowMessageDetail(): Promise<string> {\n return this.getProperty<string>('dateRangeUnderflowMessageDetail');\n }\n\n /**\n * Gets the value of <code>disabled</code> property.\n * Specifies whether the component is disabled.\n * @return The value of <code>disabled</code> property.\n *\n */\n public getDisabled(): Promise<boolean> {\n return this.getProperty<boolean>('disabled');\n }\n\n /**\n * Gets the value of <code>displayOptions</code> property.\n * Display options for auxiliary content that determines whether or not it should be displayed.\n * @return The value of <code>displayOptions</code> property.\n *\n */\n public getDisplayOptions(): Promise<DisplayOptions> {\n return this.getProperty<DisplayOptions>('displayOptions');\n }\n\n /**\n * Gets the value of <code>help</code> property.\n * Form component help information.\n * @return The value of <code>help</code> property.\n *\n */\n public getHelp(): Promise<Help> {\n return this.getProperty<Help>('help');\n }\n\n /**\n * Gets the value of <code>helpHints</code> property.\n * The helpHints object contains a definition property and a source property.\n * @return The value of <code>helpHints</code> property.\n *\n */\n public getHelpHints(): Promise<HelpHints> {\n return this.getProperty<HelpHints>('helpHints');\n }\n\n /**\n * Gets the value of <code>labelEdge</code> property.\n * Specifies how the label is positioned for the component\n * @return The value of <code>labelEdge</code> property.\n *\n */\n public getLabelEdge(): Promise<string> {\n return this.getProperty<string>('labelEdge');\n }\n\n /**\n * Gets the value of <code>labelHint</code> property.\n * Represents a hint for rendering a label on the component.\n * @return The value of <code>labelHint</code> property.\n *\n */\n public getLabelHint(): Promise<string> {\n return this.getProperty<string>('labelHint');\n }\n\n /**\n * Gets the value of <code>labelStartWidth</code> property.\n * The width of the label when labelEdge is 'start'.\n * @return The value of <code>labelStartWidth</code> property.\n *\n */\n public getLabelStartWidth(): Promise<number | string> {\n return this.getProperty<number | string>('labelStartWidth');\n }\n\n /**\n * Gets the value of <code>labelWrapping</code> property.\n * Should the labels wrap or truncate when there is not enough available space.\n * @return The value of <code>labelWrapping</code> property.\n *\n */\n public getLabelWrapping(): Promise<string> {\n return this.getProperty<string>('labelWrapping');\n }\n\n /**\n * Gets the value of <code>max</code> property.\n * The maximum selectable date, in ISO string format\n * @return The value of <code>max</code> property.\n *\n */\n public getMax(): Promise<string | null> {\n return this.getProperty<string | null>('max');\n }\n\n /**\n * Sets the value of <code>messagesCustom</code> property.\n * List of custom component messages\n * @param messagesCustom The value to set for <code>messagesCustom</code>\n *\n */\n public changeMessagesCustom(messagesCustom: Array<MessagesCustom>): Promise<void> {\n return this.setProperty<Array<MessagesCustom>>('messagesCustom', messagesCustom);\n }\n\n /**\n * Gets the value of <code>messagesCustom</code> property.\n * List of custom component messages\n * @return The value of <code>messagesCustom</code> property.\n *\n */\n public getMessagesCustom(): Promise<Array<MessagesCustom>> {\n return this.getProperty<Array<MessagesCustom>>('messagesCustom');\n }\n\n /**\n * Gets the value of <code>min</code> property.\n * The minimum selectable date, in ISO string format\n * @return The value of <code>min</code> property.\n *\n */\n public getMin(): Promise<string | null> {\n return this.getProperty<string | null>('min');\n }\n\n /**\n * Gets the value of <code>readonly</code> property.\n * Whether the component is readonly\n * @return The value of <code>readonly</code> property.\n *\n */\n public getReadonly(): Promise<boolean> {\n return this.getProperty<boolean>('readonly');\n }\n\n /**\n * Gets the value of <code>required</code> property.\n * Specifies whether or not the component is required.\n * @return The value of <code>required</code> property.\n *\n */\n public getRequired(): Promise<boolean> {\n return this.getProperty<boolean>('required');\n }\n\n /**\n * Gets the value of <code>requiredMessageDetail</code> property.\n * Overrides the default Required error message.\n * @return The value of <code>requiredMessageDetail</code> property.\n *\n */\n public getRequiredMessageDetail(): Promise<string> {\n return this.getProperty<string>('requiredMessageDetail');\n }\n\n /**\n * Gets the value of <code>textAlign</code> property.\n * Specifies how the text is aligned within the text field\n * @return The value of <code>textAlign</code> property.\n *\n */\n public getTextAlign(): Promise<string> {\n return this.getProperty<string>('textAlign');\n }\n\n /**\n * Gets the value of <code>userAssistanceDensity</code> property.\n * Specifies the density of the form component's user assistance presentation.\n * @return The value of <code>userAssistanceDensity</code> property.\n *\n */\n public getUserAssistanceDensity(): Promise<string> {\n return this.getProperty<string>('userAssistanceDensity');\n }\n\n /**\n * Gets the value of <code>validators</code> property.\n * Specifies the validators for the component.\n * @return The value of <code>validators</code> property.\n *\n */\n public getValidators(): Promise<Array<object> | null> {\n return this.getProperty<Array<object> | null>('validators');\n }\n\n /**\n * Sets the value of <code>value</code> property.\n * The value of the component.\n * @param value The value to set for <code>value</code>\n *\n */\n public changeValue(value: string | null): Promise<void> {\n return this.setProperty<string | null>('value', value);\n }\n\n /**\n * Gets the value of <code>value</code> property.\n * The value of the component.\n * @return The value of <code>value</code> property.\n *\n */\n public getValue(): Promise<string | null> {\n return this.getProperty<string | null>('value');\n }\n\n /**\n * Gets the value of <code>rawValue</code> property.\n * Specifies how the raw value of the component\n * @return The value of <code>rawValue</code> property.\n *\n */\n public getRawValue(): Promise<string> {\n return this.getProperty<string>('rawValue');\n }\n\n /**\n * Gets the value of <code>valid</code> property.\n * Specifies how the valid state of the component\n * @return The value of <code>valid</code> property.\n *\n */\n public getValid(): Promise<string> {\n return this.getProperty<string>('valid');\n }\n}\nexport interface DisplayOptions {\n /**\n *\n */\n converterHint: string;\n /**\n *\n */\n messages: string;\n /**\n *\n */\n validatorHint: string;\n}\nexport interface Help {\n /**\n *\n */\n instruction: string;\n}\nexport interface HelpHints {\n /**\n *\n */\n definition: string;\n /**\n *\n */\n source: string;\n /**\n *\n */\n sourceText: string;\n}\nexport interface MessagesCustom {\n /**\n *\n */\n summary: string;\n /**\n *\n */\n detail: string;\n /**\n *\n */\n severity: string;\n}\n"]}
|
|
1
|
+
{"version":3,"file":"InputDateTextWebElementBase.js","sourceRoot":"","sources":["InputDateTextWebElementBase.ts"],"names":[],"mappings":";;;AAAA,mEAAoE;AAEpE;;;;;GAKG;AACH,MAAa,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AED;;;;;OAKG;IACI,WAAW;QAChB,OAAO,IAAI,CAAC,WAAW,CAAS,UAAU,CAAC,CAAC;IAC9C,CAAC;IAED;;;;;OAKG;IACI,QAAQ;QACb,OAAO,IAAI,CAAC,WAAW,CAAS,OAAO,CAAC,CAAC;IAC3C,CAAC;CACF;AA9QD,kEA8QC","sourcesContent":["import { OjWebElement } from '@oracle/oraclejet-webdriver/elements';\n\n/**\n * This is the base class for oj-c-input-date-text WebElement, and is generated from the\n * component's metadata. Do not modify these contents since they'll be replaced\n * during the next generation.\n * Put overrides into the WebElements's subclass, InputDateTextWebElement.ts.\n */\nexport class InputDateTextWebElementBase extends OjWebElement {\n /**\n * Gets the value of <code>autocomplete</code> property.\n * Dictates component's autocomplete state\n * @return The value of <code>autocomplete</code> property.\n *\n */\n public getAutocomplete(): Promise<string> {\n return this.getProperty<string>('autocomplete');\n }\n\n /**\n * Gets the value of <code>columnSpan</code> property.\n * Specifies how many columns this component should span.\n * @return The value of <code>columnSpan</code> property.\n *\n */\n public getColumnSpan(): Promise<number> {\n return this.getProperty<number>('columnSpan');\n }\n\n /**\n * Gets the value of <code>containerReadonly</code> property.\n * Specifies whether an ancestor container, like oj-c-form-layout, is readonly.\n * @return The value of <code>containerReadonly</code> property.\n *\n */\n public getContainerReadonly(): Promise<boolean> {\n return this.getProperty<boolean>('containerReadonly');\n }\n\n /**\n * Gets the value of <code>dateRangeOverflowMessageDetail</code> property.\n * Overrides the default validator's rangeOverflow message detail.\n * @return The value of <code>dateRangeOverflowMessageDetail</code> property.\n *\n */\n public getDateRangeOverflowMessageDetail(): Promise<string> {\n return this.getProperty<string>('dateRangeOverflowMessageDetail');\n }\n\n /**\n * Gets the value of <code>dateRangeUnderflowMessageDetail</code> property.\n * Overrides the default validator's rangeUnderflow message detail.\n * @return The value of <code>dateRangeUnderflowMessageDetail</code> property.\n *\n */\n public getDateRangeUnderflowMessageDetail(): Promise<string> {\n return this.getProperty<string>('dateRangeUnderflowMessageDetail');\n }\n\n /**\n * Gets the value of <code>disabled</code> property.\n * Specifies whether the component is disabled.\n * @return The value of <code>disabled</code> property.\n *\n */\n public getDisabled(): Promise<boolean> {\n return this.getProperty<boolean>('disabled');\n }\n\n /**\n * Gets the value of <code>displayOptions</code> property.\n * Display options for auxiliary content that determines whether or not it should be displayed.\n * @return The value of <code>displayOptions</code> property.\n *\n */\n public getDisplayOptions(): Promise<DisplayOptions> {\n return this.getProperty<DisplayOptions>('displayOptions');\n }\n\n /**\n * Gets the value of <code>help</code> property.\n * Form component help information.\n * @return The value of <code>help</code> property.\n *\n */\n public getHelp(): Promise<Help> {\n return this.getProperty<Help>('help');\n }\n\n /**\n * Gets the value of <code>helpHints</code> property.\n * The helpHints object contains a definition property and a source property.\n * @return The value of <code>helpHints</code> property.\n *\n */\n public getHelpHints(): Promise<HelpHints> {\n return this.getProperty<HelpHints>('helpHints');\n }\n\n /**\n * Gets the value of <code>labelEdge</code> property.\n * Specifies how the label is positioned for the component\n * @return The value of <code>labelEdge</code> property.\n *\n */\n public getLabelEdge(): Promise<string> {\n return this.getProperty<string>('labelEdge');\n }\n\n /**\n * Gets the value of <code>labelHint</code> property.\n * Represents a hint for rendering a label on the component.\n * @return The value of <code>labelHint</code> property.\n *\n */\n public getLabelHint(): Promise<string> {\n return this.getProperty<string>('labelHint');\n }\n\n /**\n * Gets the value of <code>labelStartWidth</code> property.\n * The width of the label when labelEdge is 'start'.\n * @return The value of <code>labelStartWidth</code> property.\n *\n */\n public getLabelStartWidth(): Promise<number | string> {\n return this.getProperty<number | string>('labelStartWidth');\n }\n\n /**\n * Gets the value of <code>labelWrapping</code> property.\n * Should the labels wrap or truncate when there is not enough available space.\n * @return The value of <code>labelWrapping</code> property.\n * @deprecated Since 18.0.0. Label truncation for 'start' and 'top' aligned labels is no longer recommended by the Redwood Design System. The default for labelWrapping was 'wrap' and that is now the only suggested pattern by UX design for 'start' and 'top' aligned labels. 'inside' aligned labels are always truncated per UX design and are not affected by this property's value.\n */\n public getLabelWrapping(): Promise<string> {\n return this.getProperty<string>('labelWrapping');\n }\n\n /**\n * Gets the value of <code>max</code> property.\n * The maximum selectable date, in ISO string format\n * @return The value of <code>max</code> property.\n *\n */\n public getMax(): Promise<string | null> {\n return this.getProperty<string | null>('max');\n }\n\n /**\n * Sets the value of <code>messagesCustom</code> property.\n * List of custom component messages\n * @param messagesCustom The value to set for <code>messagesCustom</code>\n *\n */\n public changeMessagesCustom(messagesCustom: Array<MessagesCustom>): Promise<void> {\n return this.setProperty<Array<MessagesCustom>>('messagesCustom', messagesCustom);\n }\n\n /**\n * Gets the value of <code>messagesCustom</code> property.\n * List of custom component messages\n * @return The value of <code>messagesCustom</code> property.\n *\n */\n public getMessagesCustom(): Promise<Array<MessagesCustom>> {\n return this.getProperty<Array<MessagesCustom>>('messagesCustom');\n }\n\n /**\n * Gets the value of <code>min</code> property.\n * The minimum selectable date, in ISO string format\n * @return The value of <code>min</code> property.\n *\n */\n public getMin(): Promise<string | null> {\n return this.getProperty<string | null>('min');\n }\n\n /**\n * Gets the value of <code>readonly</code> property.\n * Whether the component is readonly\n * @return The value of <code>readonly</code> property.\n *\n */\n public getReadonly(): Promise<boolean> {\n return this.getProperty<boolean>('readonly');\n }\n\n /**\n * Gets the value of <code>required</code> property.\n * Specifies whether or not the component is required.\n * @return The value of <code>required</code> property.\n *\n */\n public getRequired(): Promise<boolean> {\n return this.getProperty<boolean>('required');\n }\n\n /**\n * Gets the value of <code>requiredMessageDetail</code> property.\n * Overrides the default Required error message.\n * @return The value of <code>requiredMessageDetail</code> property.\n *\n */\n public getRequiredMessageDetail(): Promise<string> {\n return this.getProperty<string>('requiredMessageDetail');\n }\n\n /**\n * Gets the value of <code>textAlign</code> property.\n * Specifies how the text is aligned within the text field\n * @return The value of <code>textAlign</code> property.\n *\n */\n public getTextAlign(): Promise<string> {\n return this.getProperty<string>('textAlign');\n }\n\n /**\n * Gets the value of <code>userAssistanceDensity</code> property.\n * Specifies the density of the form component's user assistance presentation.\n * @return The value of <code>userAssistanceDensity</code> property.\n *\n */\n public getUserAssistanceDensity(): Promise<string> {\n return this.getProperty<string>('userAssistanceDensity');\n }\n\n /**\n * Gets the value of <code>validators</code> property.\n * Specifies the validators for the component.\n * @return The value of <code>validators</code> property.\n *\n */\n public getValidators(): Promise<Array<object> | null> {\n return this.getProperty<Array<object> | null>('validators');\n }\n\n /**\n * Sets the value of <code>value</code> property.\n * The value of the component.\n * @param value The value to set for <code>value</code>\n *\n */\n public changeValue(value: string | null): Promise<void> {\n return this.setProperty<string | null>('value', value);\n }\n\n /**\n * Gets the value of <code>value</code> property.\n * The value of the component.\n * @return The value of <code>value</code> property.\n *\n */\n public getValue(): Promise<string | null> {\n return this.getProperty<string | null>('value');\n }\n\n /**\n * Gets the value of <code>rawValue</code> property.\n * Specifies how the raw value of the component\n * @return The value of <code>rawValue</code> property.\n *\n */\n public getRawValue(): Promise<string> {\n return this.getProperty<string>('rawValue');\n }\n\n /**\n * Gets the value of <code>valid</code> property.\n * Specifies how the valid state of the component\n * @return The value of <code>valid</code> property.\n *\n */\n public getValid(): Promise<string> {\n return this.getProperty<string>('valid');\n }\n}\nexport interface DisplayOptions {\n /**\n *\n */\n converterHint: string;\n /**\n *\n */\n messages: string;\n /**\n *\n */\n validatorHint: string;\n}\nexport interface Help {\n /**\n *\n */\n instruction: string;\n}\nexport interface HelpHints {\n /**\n *\n */\n definition: string;\n /**\n *\n */\n source: string;\n /**\n *\n */\n sourceText: string;\n}\nexport interface MessagesCustom {\n /**\n *\n */\n summary: string;\n /**\n *\n */\n detail: string;\n /**\n *\n */\n severity: string;\n}\n"]}
|
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
4
|
-
|
|
5
|
-
|
|
3
|
+
exports.InputDateTextWebElement = void 0;
|
|
4
|
+
exports.findInputDateText = findInputDateText;
|
|
5
|
+
const oraclejet_webdriver_1 = require("@oracle/oraclejet-webdriver");
|
|
6
|
+
const InputDateTextWebElement_1 = require("./InputDateTextWebElement");
|
|
6
7
|
Object.defineProperty(exports, "InputDateTextWebElement", { enumerable: true, get: function () { return InputDateTextWebElement_1.InputDateTextWebElement; } });
|
|
7
8
|
/**
|
|
8
9
|
* Retrieve an instance of [InputDateTextWebElement](../classes/InputDateTextWebElement.html).
|
|
@@ -29,6 +30,5 @@ async function findInputDateText(driver, by) {
|
|
|
29
30
|
}
|
|
30
31
|
return webEl;
|
|
31
32
|
}
|
|
32
|
-
exports.findInputDateText = findInputDateText;
|
|
33
33
|
(0, oraclejet_webdriver_1.register)('oj-c-input-date-text', InputDateTextWebElement_1.InputDateTextWebElement);
|
|
34
34
|
//# sourceMappingURL=index.js.map
|