@oracle/oraclejet-core-pack 16.1.3 → 17.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/oj-c/ActionCard.json +82 -7
- package/oj-c/AreaChart.json +866 -382
- package/oj-c/AreaChartGroup.json +13 -7
- package/oj-c/AreaChartItem.json +23 -31
- package/oj-c/AreaChartSeries.json +21 -22
- package/oj-c/Avatar.json +11 -11
- package/oj-c/Button.json +55 -28
- package/oj-c/ButtonsetMultiple.json +567 -0
- package/oj-c/ButtonsetSingle.json +567 -0
- package/oj-c/CardView.json +638 -0
- package/oj-c/Checkbox.json +100 -85
- package/oj-c/Checkboxset.json +73 -81
- package/oj-c/Collapsible.json +70 -32
- package/oj-c/ConveyorBelt.json +325 -0
- package/oj-c/DatePicker.json +454 -0
- package/oj-c/DragHandle.json +135 -0
- package/oj-c/DrawerLayout.json +401 -0
- package/oj-c/DrawerPopup.json +36 -22
- package/oj-c/Dropdown/Dropdown.js +9 -0
- package/oj-c/Dropdown/index.js +6 -0
- package/oj-c/FilePicker.json +24 -83
- package/oj-c/FormLayout.json +27 -32
- package/oj-c/HighlightText.json +6 -6
- package/oj-c/InputDateMask.json +104 -117
- package/oj-c/InputDatePicker.json +1514 -0
- package/oj-c/InputDateText.json +104 -117
- package/oj-c/InputMonthMask.json +106 -130
- package/oj-c/InputNumber.json +87 -130
- package/oj-c/InputPassword.json +76 -112
- package/oj-c/InputSensitiveText.json +54 -64
- package/oj-c/InputText.json +85 -108
- package/oj-c/LabelledLink.json +31 -30
- package/oj-c/Legend.json +350 -356
- package/oj-c/LegendItem.json +79 -26
- package/oj-c/LegendSection.json +11 -5
- package/oj-c/LineChart.json +869 -385
- package/oj-c/LineChartGroup.json +13 -7
- package/oj-c/LineChartItem.json +23 -31
- package/oj-c/LineChartSeries.json +25 -26
- package/oj-c/ListItemLayout.json +16 -16
- package/oj-c/ListView.json +393 -33
- package/oj-c/MenuButton.json +46 -38
- package/oj-c/MessageBanner.json +162 -15
- package/oj-c/MessageToast.json +123 -26
- package/oj-c/MeterBar.json +40 -29
- package/oj-c/MeterCircle.json +44 -33
- package/oj-c/Popup.json +628 -0
- package/oj-c/ProgressBar.json +7 -7
- package/oj-c/ProgressCircle.json +7 -7
- package/oj-c/Radioset.json +42 -51
- package/oj-c/RatingGauge.json +23 -23
- package/oj-c/SelectMultiple.json +100 -117
- package/oj-c/SelectSingle.json +109 -112
- package/oj-c/SelectionCard.json +12 -6
- package/oj-c/Selector.json +9 -16
- package/oj-c/SelectorAll.json +7 -14
- package/oj-c/Sheet/Sheet.js +9 -0
- package/oj-c/Sheet/index.js +6 -0
- package/oj-c/SplitMenuButton.json +351 -27
- package/oj-c/TabBar.json +553 -0
- package/oj-c/TabBarMixed.json +43 -29
- package/oj-c/TagCloud.json +36 -36
- package/oj-c/TagCloudItem.json +17 -18
- package/oj-c/TextArea.json +84 -126
- package/oj-c/ToggleButton.json +513 -0
- package/oj-c/action-card/__webdriver__/ActionCardWebElement.js +1 -1
- package/oj-c/action-card/__webdriver__/ActionCardWebElement.js.map +1 -1
- package/oj-c/action-card/action-card.js +41 -4
- package/oj-c/action-card/component.json +20 -2
- package/oj-c/action-card.js +1 -1
- package/oj-c/area-chart/__webdriver__/AreaChartWebElementBase.d.ts +11 -0
- package/oj-c/area-chart/__webdriver__/AreaChartWebElementBase.js +9 -0
- package/oj-c/area-chart/__webdriver__/AreaChartWebElementBase.js.map +1 -1
- package/oj-c/area-chart/area-chart.js +7 -13
- package/oj-c/area-chart/component.json +51 -12
- package/oj-c/area-chart-group/component.json +8 -2
- package/oj-c/area-chart-group.js +1 -1
- package/oj-c/area-chart-item/component.json +8 -2
- package/oj-c/area-chart-item.js +1 -1
- package/oj-c/area-chart-series/component.json +8 -2
- package/oj-c/area-chart-series.js +1 -1
- package/oj-c/area-chart.js +1 -1
- package/oj-c/avatar/avatar-styles.css +1 -0
- package/oj-c/avatar/component.json +5 -2
- package/oj-c/avatar.js +1 -1
- package/oj-c/button/button.js +36 -34
- package/oj-c/button/component.json +18 -19
- package/oj-c/button.js +1 -1
- package/oj-c/buttonset-multiple/__webdriver__/ButtonsetMultipleWebElement.d.ts +8 -0
- package/oj-c/buttonset-multiple/__webdriver__/ButtonsetMultipleWebElement.js +13 -0
- package/oj-c/buttonset-multiple/__webdriver__/ButtonsetMultipleWebElement.js.map +1 -0
- package/oj-c/buttonset-multiple/__webdriver__/ButtonsetMultipleWebElementBase.d.ts +101 -0
- package/oj-c/buttonset-multiple/__webdriver__/ButtonsetMultipleWebElementBase.js +104 -0
- package/oj-c/buttonset-multiple/__webdriver__/ButtonsetMultipleWebElementBase.js.map +1 -0
- package/oj-c/buttonset-multiple/__webdriver__/index.d.ts +17 -0
- package/oj-c/buttonset-multiple/__webdriver__/index.js +34 -0
- package/oj-c/buttonset-multiple/__webdriver__/index.js.map +1 -0
- package/oj-c/buttonset-multiple/buttonset-multiple-styles.css +12 -0
- package/oj-c/buttonset-multiple/buttonset-multiple.js +55 -0
- package/oj-c/buttonset-multiple/component.json +228 -0
- package/oj-c/buttonset-multiple/index.js +6 -0
- package/oj-c/buttonset-multiple.js +6 -0
- package/oj-c/buttonset-single/__webdriver__/ButtonsetSingleWebElement.d.ts +8 -0
- package/oj-c/buttonset-single/__webdriver__/ButtonsetSingleWebElement.js +13 -0
- package/oj-c/buttonset-single/__webdriver__/ButtonsetSingleWebElement.js.map +1 -0
- package/oj-c/buttonset-single/__webdriver__/ButtonsetSingleWebElementBase.d.ts +101 -0
- package/oj-c/buttonset-single/__webdriver__/ButtonsetSingleWebElementBase.js +104 -0
- package/oj-c/buttonset-single/__webdriver__/ButtonsetSingleWebElementBase.js.map +1 -0
- package/oj-c/buttonset-single/__webdriver__/index.d.ts +17 -0
- package/oj-c/buttonset-single/__webdriver__/index.js +34 -0
- package/oj-c/buttonset-single/__webdriver__/index.js.map +1 -0
- package/oj-c/buttonset-single/buttonset-single-styles.css +12 -0
- package/oj-c/buttonset-single/buttonset-single.js +55 -0
- package/oj-c/buttonset-single/component.json +228 -0
- package/oj-c/buttonset-single/index.js +6 -0
- package/oj-c/buttonset-single.js +6 -0
- package/oj-c/card-view/__webdriver__/CardViewWebElement.d.ts +33 -0
- package/oj-c/card-view/__webdriver__/CardViewWebElement.js +70 -0
- package/oj-c/card-view/__webdriver__/CardViewWebElement.js.map +1 -0
- package/oj-c/card-view/__webdriver__/CardViewWebElementBase.d.ts +95 -0
- package/oj-c/card-view/__webdriver__/CardViewWebElementBase.js +104 -0
- package/oj-c/card-view/__webdriver__/CardViewWebElementBase.js.map +1 -0
- package/oj-c/card-view/__webdriver__/index.d.ts +17 -0
- package/oj-c/card-view/__webdriver__/index.js +34 -0
- package/oj-c/card-view/__webdriver__/index.js.map +1 -0
- package/oj-c/card-view/card-view-styles.css +15 -0
- package/oj-c/card-view/card-view.js +71 -0
- package/oj-c/card-view/cardViewItem.js +15 -0
- package/oj-c/card-view/component.json +323 -0
- package/oj-c/card-view/index.js +6 -0
- package/oj-c/card-view/useCardViewPreact.js +80 -0
- package/oj-c/card-view.js +6 -0
- package/oj-c/checkbox/checkbox.js +51 -91
- package/oj-c/checkbox/component.json +32 -19
- package/oj-c/checkbox/useCheckboxPreact.js +2 -4
- package/oj-c/checkbox.js +1 -1
- package/oj-c/checkboxset/checkboxset.js +38 -77
- package/oj-c/checkboxset/component.json +32 -24
- package/oj-c/checkboxset/useCheckboxsetPreact.js +1 -1
- package/oj-c/checkboxset.js +1 -1
- package/oj-c/collapsible/__webdriver__/CollapsibleWebElementBase.d.ts +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/collapsible.js +9 -6
- package/oj-c/collapsible/component.json +40 -13
- package/oj-c/collapsible.js +1 -1
- package/oj-c/component.json +49 -5
- package/oj-c/conveyor-belt/__webdriver__/ConveyorBeltWebElement.d.ts +8 -0
- package/oj-c/conveyor-belt/__webdriver__/ConveyorBeltWebElement.js +13 -0
- package/oj-c/conveyor-belt/__webdriver__/ConveyorBeltWebElement.js.map +1 -0
- package/oj-c/conveyor-belt/__webdriver__/ConveyorBeltWebElementBase.d.ts +44 -0
- package/oj-c/conveyor-belt/__webdriver__/ConveyorBeltWebElementBase.js +59 -0
- package/oj-c/conveyor-belt/__webdriver__/ConveyorBeltWebElementBase.js.map +1 -0
- package/oj-c/conveyor-belt/__webdriver__/index.d.ts +17 -0
- package/oj-c/conveyor-belt/__webdriver__/index.js +34 -0
- package/oj-c/conveyor-belt/__webdriver__/index.js.map +1 -0
- package/oj-c/conveyor-belt/component.json +181 -0
- package/oj-c/conveyor-belt/conveyor-belt-styles.css +20 -0
- package/oj-c/conveyor-belt/conveyor-belt.js +125 -0
- package/oj-c/conveyor-belt/conveyorBeltItem.js +13 -0
- package/oj-c/conveyor-belt/index.js +6 -0
- package/oj-c/conveyor-belt.js +6 -0
- package/oj-c/corepackbundle.js +6975 -5062
- package/oj-c/date-picker/__webdriver__/DatePickerWebElement.d.ts +8 -0
- package/oj-c/date-picker/__webdriver__/DatePickerWebElement.js +13 -0
- package/oj-c/date-picker/__webdriver__/DatePickerWebElement.js.map +1 -0
- package/oj-c/date-picker/__webdriver__/DatePickerWebElementBase.d.ts +93 -0
- package/oj-c/date-picker/__webdriver__/DatePickerWebElementBase.js +122 -0
- package/oj-c/date-picker/__webdriver__/DatePickerWebElementBase.js.map +1 -0
- package/oj-c/date-picker/__webdriver__/index.d.ts +17 -0
- package/oj-c/date-picker/__webdriver__/index.js +34 -0
- package/oj-c/date-picker/__webdriver__/index.js.map +1 -0
- package/oj-c/date-picker/component.json +179 -0
- package/oj-c/date-picker/date-picker-styles.css +14 -0
- package/oj-c/date-picker/date-picker.js +34 -0
- package/oj-c/date-picker/index.js +6 -0
- package/oj-c/date-picker.js +6 -0
- package/oj-c/drag-handle/component.json +82 -0
- package/oj-c/drag-handle/drag-handle.js +11 -0
- package/oj-c/drag-handle/index.js +6 -0
- package/oj-c/drag-handle.js +6 -0
- package/oj-c/drawer-layout/__webdriver__/DrawerLayoutWebElement.d.ts +8 -0
- package/oj-c/drawer-layout/__webdriver__/DrawerLayoutWebElement.js +13 -0
- package/oj-c/drawer-layout/__webdriver__/DrawerLayoutWebElement.js.map +1 -0
- package/oj-c/drawer-layout/__webdriver__/DrawerLayoutWebElementBase.d.ts +72 -0
- package/oj-c/drawer-layout/__webdriver__/DrawerLayoutWebElementBase.js +95 -0
- package/oj-c/drawer-layout/__webdriver__/DrawerLayoutWebElementBase.js.map +1 -0
- package/oj-c/drawer-layout/__webdriver__/index.d.ts +17 -0
- package/oj-c/drawer-layout/__webdriver__/index.js +34 -0
- package/oj-c/drawer-layout/__webdriver__/index.js.map +1 -0
- package/oj-c/drawer-layout/component.json +208 -0
- package/oj-c/drawer-layout/drawer-layout-styles.css +11 -0
- package/oj-c/drawer-layout/drawer-layout.js +37 -0
- package/oj-c/drawer-layout/index.js +6 -0
- package/oj-c/drawer-layout.js +6 -0
- package/oj-c/drawer-popup/component.json +53 -15
- package/oj-c/drawer-popup/drawer-popup.js +33 -5
- package/oj-c/drawer-popup.js +1 -1
- package/oj-c/editable-value/UNSAFE_useComponentMessaging/useComponentMessaging.js +2 -2
- package/oj-c/editable-value/UNSAFE_useEditableValue/useEditableValue.js +2 -1
- package/oj-c/editable-value/UNSAFE_useValueLifecycle/useValueLifecycle.js +2 -5
- package/oj-c/file-picker/__webdriver__/FilePickerWebElement.d.ts +15 -0
- package/oj-c/file-picker/__webdriver__/FilePickerWebElement.js +89 -19
- package/oj-c/file-picker/__webdriver__/FilePickerWebElement.js.map +1 -1
- package/oj-c/file-picker/component.json +10 -19
- package/oj-c/file-picker/file-picker.js +1 -9
- package/oj-c/file-picker.js +1 -1
- package/oj-c/form-layout/component.json +16 -11
- package/oj-c/form-layout/form-layout.js +11 -43
- package/oj-c/form-layout.js +1 -1
- package/oj-c/highlight-text/component.json +5 -2
- package/oj-c/highlight-text.js +1 -1
- package/oj-c/hooks/PRIVATE_useVisData/useVisData.js +44 -0
- package/oj-c/hooks/UNSAFE_useChartData/useChartData.js +4 -4
- package/oj-c/hooks/UNSAFE_useEditableValue/converterUtils.js +50 -0
- package/oj-c/hooks/UNSAFE_useEditableValue/index.js +6 -0
- package/oj-c/hooks/UNSAFE_useEditableValue/reducer.js +164 -0
- package/oj-c/hooks/UNSAFE_useEditableValue/types.js +4 -0
- package/oj-c/hooks/UNSAFE_useEditableValue/useEditableValue.js +336 -0
- package/oj-c/hooks/UNSAFE_useEditableValue/utils.js +35 -0
- package/oj-c/hooks/UNSAFE_useEditableValue/validationUtils.js +53 -0
- package/oj-c/hooks/UNSAFE_useListData/useListData.js +4 -1
- package/oj-c/hooks/UNSAFE_useMergedFormContext/useMergedFormContext.js +23 -0
- package/oj-c/hooks/UNSAFE_useVisBusyState/useVisBusyState.js +16 -0
- package/oj-c/input-date-mask/component.json +17 -7
- package/oj-c/input-date-mask/input-date-mask.js +11 -10
- package/oj-c/input-date-mask/useInputDateMaskPreact.js +22 -15
- package/oj-c/input-date-mask.js +1 -1
- package/oj-c/input-date-picker/DateRangeValidator.js +53 -0
- package/oj-c/input-date-picker/DateRestrictionValidator.js +35 -0
- package/oj-c/input-date-picker/__webdriver__/InputDatePickerWebElement.d.ts +17 -0
- package/oj-c/input-date-picker/__webdriver__/InputDatePickerWebElement.js +73 -0
- package/oj-c/input-date-picker/__webdriver__/InputDatePickerWebElement.js.map +1 -0
- package/oj-c/input-date-picker/__webdriver__/InputDatePickerWebElementBase.d.ts +291 -0
- package/oj-c/input-date-picker/__webdriver__/InputDatePickerWebElementBase.js +302 -0
- package/oj-c/input-date-picker/__webdriver__/InputDatePickerWebElementBase.js.map +1 -0
- package/oj-c/input-date-picker/__webdriver__/index.d.ts +17 -0
- package/oj-c/input-date-picker/__webdriver__/index.js +34 -0
- package/oj-c/input-date-picker/__webdriver__/index.js.map +1 -0
- package/oj-c/input-date-picker/component.json +563 -0
- package/oj-c/input-date-picker/index.js +6 -0
- package/oj-c/input-date-picker/input-date-picker-styles.css +13 -0
- package/oj-c/input-date-picker/input-date-picker.js +39 -0
- package/oj-c/input-date-picker/useCombinedImplicitValidators.js +13 -0
- package/oj-c/input-date-picker/useImplicitCalendarDateConverter.js +17 -0
- package/oj-c/input-date-picker/useImplicitDateRangeValidator.js +29 -0
- package/oj-c/input-date-picker/useImplicitDateRestrictionValidator.js +16 -0
- package/oj-c/input-date-picker/useInputDatePicker.js +141 -0
- package/oj-c/input-date-picker/utils.js +23 -0
- package/oj-c/input-date-picker.js +6 -0
- package/oj-c/input-date-text/__webdriver__/InputDateTextWebElementBase.d.ts +0 -7
- package/oj-c/input-date-text/__webdriver__/InputDateTextWebElementBase.js +0 -9
- package/oj-c/input-date-text/__webdriver__/InputDateTextWebElementBase.js.map +1 -1
- package/oj-c/input-date-text/component.json +34 -21
- package/oj-c/input-date-text/input-date-text.js +52 -94
- package/oj-c/input-date-text/useInputDateTextPreact.js +19 -13
- package/oj-c/input-date-text.js +1 -1
- package/oj-c/input-month-mask/component.json +17 -7
- package/oj-c/input-month-mask/input-month-mask.js +11 -10
- package/oj-c/input-month-mask/useImplicitCalendarMonthRangeValidator.js +9 -1
- package/oj-c/input-month-mask/useInputMonthMaskPreact.js +19 -13
- package/oj-c/input-month-mask.js +1 -1
- package/oj-c/input-number/__webdriver__/InputNumberWebElementBase.d.ts +0 -7
- package/oj-c/input-number/__webdriver__/InputNumberWebElementBase.js +0 -9
- package/oj-c/input-number/__webdriver__/InputNumberWebElementBase.js.map +1 -1
- package/oj-c/input-number/component.json +22 -19
- package/oj-c/input-number/input-number.js +52 -96
- package/oj-c/input-number.js +1 -1
- package/oj-c/input-password/__webdriver__/InputPasswordWebElementBase.d.ts +0 -7
- package/oj-c/input-password/__webdriver__/InputPasswordWebElementBase.js +0 -9
- package/oj-c/input-password/__webdriver__/InputPasswordWebElementBase.js.map +1 -1
- package/oj-c/input-password/component.json +22 -19
- package/oj-c/input-password/input-password.js +47 -90
- package/oj-c/input-password.js +1 -1
- package/oj-c/input-sensitive-text/component.json +13 -6
- package/oj-c/input-sensitive-text/input-sensitive-text.js +11 -10
- package/oj-c/input-sensitive-text.js +1 -1
- package/oj-c/input-text/component.json +22 -16
- package/oj-c/input-text/input-text.js +57 -96
- package/oj-c/input-text/useInputTextPreact.js +15 -12
- package/oj-c/input-text.js +1 -1
- package/oj-c/labelled-link/component.json +12 -3
- package/oj-c/labelled-link.js +1 -1
- package/oj-c/legend/component.json +17 -2
- package/oj-c/legend/events.js +3 -2
- package/oj-c/legend/legend.js +28 -16
- package/oj-c/legend/utils.js +28 -6
- package/oj-c/legend-item/component.json +41 -6
- package/oj-c/legend-item/legend-item.js +4 -3
- package/oj-c/legend-item.js +1 -1
- package/oj-c/legend-section/component.json +18 -2
- package/oj-c/legend-section.js +1 -1
- package/oj-c/legend.js +1 -1
- package/oj-c/line-chart/__webdriver__/LineChartWebElementBase.d.ts +11 -0
- package/oj-c/line-chart/__webdriver__/LineChartWebElementBase.js +9 -0
- package/oj-c/line-chart/__webdriver__/LineChartWebElementBase.js.map +1 -1
- package/oj-c/line-chart/component.json +55 -16
- package/oj-c/line-chart/line-chart.js +7 -13
- package/oj-c/line-chart-group/component.json +8 -2
- package/oj-c/line-chart-group.js +1 -1
- package/oj-c/line-chart-item/component.json +8 -2
- package/oj-c/line-chart-item.js +1 -1
- package/oj-c/line-chart-series/component.json +10 -4
- package/oj-c/line-chart-series/line-chart-series.js +1 -1
- package/oj-c/line-chart-series.js +1 -1
- package/oj-c/line-chart.js +1 -1
- package/oj-c/list-item-layout/__webdriver__/ListItemLayoutWebElement.d.ts +12 -3
- package/oj-c/list-item-layout/__webdriver__/ListItemLayoutWebElement.js +12 -3
- package/oj-c/list-item-layout/__webdriver__/ListItemLayoutWebElement.js.map +1 -1
- package/oj-c/list-item-layout/component.json +10 -14
- package/oj-c/list-item-layout/list-item-layout.js +3 -3
- package/oj-c/list-item-layout.js +1 -1
- package/oj-c/list-view/DataFetchLiveRegion.js +30 -0
- package/oj-c/list-view/__webdriver__/ListViewWebElement.d.ts +1 -1
- package/oj-c/list-view/__webdriver__/ListViewWebElement.js +4 -7
- package/oj-c/list-view/__webdriver__/ListViewWebElement.js.map +1 -1
- package/oj-c/list-view/__webdriver__/ListViewWebElementBase.d.ts +26 -0
- package/oj-c/list-view/__webdriver__/ListViewWebElementBase.js +18 -0
- package/oj-c/list-view/__webdriver__/ListViewWebElementBase.js.map +1 -1
- package/oj-c/list-view/component.json +207 -3
- package/oj-c/list-view/list-view.js +32 -7
- package/oj-c/list-view/useListViewPreact.js +101 -10
- package/oj-c/list-view.js +1 -1
- package/oj-c/menu-button/__webdriver__/MenuButtonWebElement.d.ts +1 -0
- package/oj-c/menu-button/__webdriver__/MenuButtonWebElement.js +14 -8
- package/oj-c/menu-button/__webdriver__/MenuButtonWebElement.js.map +1 -1
- package/oj-c/menu-button/component.json +21 -17
- package/oj-c/menu-button/menu-button.js +5 -8
- package/oj-c/menu-button.js +1 -1
- package/oj-c/message-banner/__webdriver__/MessageBannerWebElementBase.d.ts +7 -0
- package/oj-c/message-banner/__webdriver__/MessageBannerWebElementBase.js +9 -0
- package/oj-c/message-banner/__webdriver__/MessageBannerWebElementBase.js.map +1 -1
- package/oj-c/message-banner/component.json +28 -3
- package/oj-c/message-banner/message-banner.js +30 -3
- package/oj-c/message-banner.js +1 -1
- package/oj-c/message-toast/component.json +9 -4
- package/oj-c/message-toast.js +1 -1
- package/oj-c/metadata/allComponents.json +4181 -637
- package/oj-c/meter-bar/component.json +11 -3
- package/oj-c/meter-bar/meter-bar-styles.css +14 -2
- package/oj-c/meter-bar/meter-bar.js +2 -2
- package/oj-c/meter-bar.js +1 -1
- package/oj-c/meter-circle/component.json +11 -3
- package/oj-c/meter-circle/meter-circle-styles.css +5 -0
- package/oj-c/meter-circle/meter-circle.js +2 -2
- package/oj-c/meter-circle.js +1 -1
- package/oj-c/min/Dropdown/Dropdown.js +9 -0
- package/oj-c/min/Dropdown/index.js +6 -0
- package/oj-c/min/Sheet/Sheet.js +9 -0
- package/oj-c/min/Sheet/index.js +6 -0
- package/oj-c/min/action-card.js +1 -1
- package/oj-c/min/action-card.js.map +1 -1
- package/oj-c/min/area-chart-group.js +1 -1
- package/oj-c/min/area-chart-group.js.map +1 -1
- package/oj-c/min/area-chart-item.js +1 -1
- package/oj-c/min/area-chart-item.js.map +1 -1
- package/oj-c/min/area-chart-series.js +1 -1
- package/oj-c/min/area-chart-series.js.map +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/avatar/avatar-styles.css +1 -0
- package/oj-c/min/avatar.js +1 -1
- package/oj-c/min/avatar.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/buttonset-multiple-styles.css +12 -0
- package/oj-c/min/buttonset-multiple.js +2 -0
- package/oj-c/min/buttonset-multiple.js.map +1 -0
- package/oj-c/min/buttonset-single/buttonset-single-styles.css +12 -0
- package/oj-c/min/buttonset-single.js +2 -0
- package/oj-c/min/buttonset-single.js.map +1 -0
- package/oj-c/min/card-view/card-view-styles.css +15 -0
- package/oj-c/min/card-view.js +2 -0
- package/oj-c/min/card-view.js.map +1 -0
- 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/conveyor-belt-styles.css +20 -0
- package/oj-c/min/conveyor-belt.js +2 -0
- package/oj-c/min/conveyor-belt.js.map +1 -0
- package/oj-c/min/corepackbundle.css +121 -16
- package/oj-c/min/corepackbundle.js +1 -1
- package/oj-c/min/corepackbundle.js.map +1 -1
- package/oj-c/min/date-picker/date-picker-styles.css +14 -0
- package/oj-c/min/date-picker.js +2 -0
- package/oj-c/min/date-picker.js.map +1 -0
- package/oj-c/min/drag-handle.js +2 -0
- package/oj-c/min/drag-handle.js.map +1 -0
- package/oj-c/min/drawer-layout/drawer-layout-styles.css +11 -0
- package/oj-c/min/drawer-layout.js +2 -0
- package/oj-c/min/drawer-layout.js.map +1 -0
- 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_useComponentMessaging/useComponentMessaging.js +2 -2
- package/oj-c/min/editable-value/UNSAFE_useEditableValue/useEditableValue.js +2 -1
- package/oj-c/min/editable-value/UNSAFE_useValueLifecycle/useValueLifecycle.js +2 -5
- 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/highlight-text.js +1 -1
- package/oj-c/min/highlight-text.js.map +1 -1
- package/oj-c/min/hooks/PRIVATE_useVisData/useVisData.js +44 -0
- package/oj-c/min/hooks/UNSAFE_useChartData/useChartData.js +4 -4
- package/oj-c/min/hooks/UNSAFE_useEditableValue/converterUtils.js +50 -0
- package/oj-c/min/hooks/UNSAFE_useEditableValue/index.js +6 -0
- package/oj-c/min/hooks/UNSAFE_useEditableValue/reducer.js +164 -0
- package/oj-c/min/hooks/UNSAFE_useEditableValue/types.js +4 -0
- package/oj-c/min/hooks/UNSAFE_useEditableValue/useEditableValue.js +336 -0
- package/oj-c/min/hooks/UNSAFE_useEditableValue/utils.js +35 -0
- package/oj-c/min/hooks/UNSAFE_useEditableValue/validationUtils.js +53 -0
- package/oj-c/min/hooks/UNSAFE_useListData/useListData.js +4 -1
- package/oj-c/min/hooks/UNSAFE_useMergedFormContext/useMergedFormContext.js +23 -0
- package/oj-c/min/hooks/UNSAFE_useVisBusyState/useVisBusyState.js +16 -0
- 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/input-date-picker-styles.css +13 -0
- package/oj-c/min/input-date-picker.js +3 -0
- package/oj-c/min/input-date-picker.js.map +1 -0
- 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-item.js +1 -1
- package/oj-c/min/legend-item.js.map +1 -1
- package/oj-c/min/legend-section.js +1 -1
- package/oj-c/min/legend-section.js.map +1 -1
- package/oj-c/min/legend.js +1 -1
- package/oj-c/min/legend.js.map +1 -1
- package/oj-c/min/line-chart-group.js +1 -1
- package/oj-c/min/line-chart-group.js.map +1 -1
- package/oj-c/min/line-chart-item.js +1 -1
- package/oj-c/min/line-chart-item.js.map +1 -1
- package/oj-c/min/line-chart-series.js +1 -1
- package/oj-c/min/line-chart-series.js.map +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-item-layout.js +1 -1
- package/oj-c/min/list-item-layout.js.map +1 -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/meter-bar-styles.css +14 -2
- 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/meter-circle-styles.css +5 -0
- package/oj-c/min/meter-circle.js +1 -1
- package/oj-c/min/meter-circle.js.map +1 -1
- package/oj-c/min/popup/popup-styles.css +12 -0
- package/oj-c/min/popup/resources/nls/popup-strings.d.ts +8 -0
- package/oj-c/min/popup/resources/nls/popup-strings.js +10 -0
- package/oj-c/min/popup.js +2 -0
- package/oj-c/min/popup.js.map +1 -0
- 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/radioset-styles.css +5 -6
- package/oj-c/min/radioset.js +1 -1
- package/oj-c/min/radioset.js.map +1 -1
- package/oj-c/min/rating-gauge.js +1 -1
- package/oj-c/min/rating-gauge.js.map +1 -1
- package/oj-c/min/select-common/utils/utils.js +40 -2
- 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/selection-card.js +1 -1
- package/oj-c/min/selection-card.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/split-menu-button.js +1 -1
- package/oj-c/min/split-menu-button.js.map +1 -1
- package/oj-c/min/tab-bar/tab-bar-styles.css +11 -0
- 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 +2 -0
- package/oj-c/min/tab-bar.js.map +1 -0
- package/oj-c/min/tag-cloud-item.js +1 -1
- package/oj-c/min/tag-cloud-item.js.map +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/toggle-button-styles.css +12 -0
- package/oj-c/min/toggle-button.js +2 -0
- package/oj-c/min/toggle-button.js.map +1 -0
- package/oj-c/min/utils/PRIVATE_ItemsMenu/items-menu.js +7 -5
- package/oj-c/min/utils/PRIVATE_chartUtils/axisUtils.js +1 -0
- package/oj-c/min/utils/PRIVATE_toggleUtils/index.js +7 -0
- package/oj-c/min/utils/PRIVATE_toggleUtils/toggle-item-icon.js +14 -0
- package/oj-c/min/utils/PRIVATE_toggleUtils/toggleTypes.js +4 -0
- package/oj-c/min/utils/PRIVATE_toggleUtils/widthStyle.js +19 -0
- package/oj-c/min/utils/UNSAFE_keyUtils/keySetUtils.js +21 -1
- package/oj-c/min/utils/UNSAFE_vizUtils/TemplateHandler.js +15 -3
- package/oj-c/popup/README.md +6 -0
- package/oj-c/popup/__webdriver__/PopupWebElement.d.ts +8 -0
- package/oj-c/popup/__webdriver__/PopupWebElement.js +13 -0
- package/oj-c/popup/__webdriver__/PopupWebElement.js.map +1 -0
- package/oj-c/popup/__webdriver__/PopupWebElementBase.d.ts +138 -0
- package/oj-c/popup/__webdriver__/PopupWebElementBase.js +167 -0
- package/oj-c/popup/__webdriver__/PopupWebElementBase.js.map +1 -0
- package/oj-c/popup/__webdriver__/index.d.ts +17 -0
- package/oj-c/popup/__webdriver__/index.js +34 -0
- package/oj-c/popup/__webdriver__/index.js.map +1 -0
- package/oj-c/popup/component.json +310 -0
- package/oj-c/popup/index.js +6 -0
- package/oj-c/popup/popup-styles.css +12 -0
- package/oj-c/popup/popup.js +127 -0
- package/oj-c/popup/resources/nls/popup-strings.js +10 -0
- package/oj-c/popup/themes/base/_popup.scss +22 -0
- package/oj-c/popup/themes/redwood/_popup.scss +19 -0
- package/oj-c/popup/themes/stable/_popup.scss +19 -0
- package/oj-c/popup.js +6 -0
- package/oj-c/progress-bar/component.json +5 -2
- package/oj-c/progress-bar.js +1 -1
- package/oj-c/progress-circle/component.json +5 -2
- package/oj-c/progress-circle.js +1 -1
- package/oj-c/radioset/component.json +10 -9
- package/oj-c/radioset/radioset-styles.css +5 -6
- package/oj-c/radioset/radioset.js +24 -17
- package/oj-c/radioset.js +1 -1
- package/oj-c/rating-gauge/component.json +5 -2
- package/oj-c/rating-gauge.js +1 -1
- package/oj-c/select-common/utils/utils.js +40 -2
- package/oj-c/select-multiple/__webdriver__/SelectMultipleWebElementBase.d.ts +7 -7
- package/oj-c/select-multiple/__webdriver__/SelectMultipleWebElementBase.js +9 -9
- package/oj-c/select-multiple/__webdriver__/SelectMultipleWebElementBase.js.map +1 -1
- package/oj-c/select-multiple/component.json +31 -20
- package/oj-c/select-multiple/select-multiple.js +44 -91
- package/oj-c/select-multiple/useSelectMultiplePreact.js +17 -12
- package/oj-c/select-multiple/useSyncValueAndValueItems.js +32 -8
- package/oj-c/select-multiple.js +1 -1
- package/oj-c/select-single/__webdriver__/SelectSingleWebElementBase.d.ts +7 -7
- package/oj-c/select-single/__webdriver__/SelectSingleWebElementBase.js +9 -9
- package/oj-c/select-single/__webdriver__/SelectSingleWebElementBase.js.map +1 -1
- package/oj-c/select-single/component.json +39 -21
- package/oj-c/select-single/select-single.js +45 -94
- package/oj-c/select-single/useSelectSinglePreact.js +25 -12
- package/oj-c/select-single/useSyncValueAndValueItem.js +32 -7
- package/oj-c/select-single.js +1 -1
- package/oj-c/selection-card/component.json +11 -2
- package/oj-c/selection-card.js +1 -1
- package/oj-c/selector/component.json +5 -2
- package/oj-c/selector-all/component.json +5 -2
- package/oj-c/selector-all/selector-all.js +1 -1
- package/oj-c/selector-all.js +1 -1
- package/oj-c/selector.js +1 -1
- package/oj-c/split-menu-button/__webdriver__/SplitMenuButtonWebElement.d.ts +1 -0
- package/oj-c/split-menu-button/__webdriver__/SplitMenuButtonWebElement.js +13 -8
- package/oj-c/split-menu-button/__webdriver__/SplitMenuButtonWebElement.js.map +1 -1
- package/oj-c/split-menu-button/__webdriver__/SplitMenuButtonWebElementBase.d.ts +59 -1
- package/oj-c/split-menu-button/__webdriver__/SplitMenuButtonWebElementBase.js.map +1 -1
- package/oj-c/split-menu-button/component.json +125 -13
- package/oj-c/split-menu-button/split-menu-button.js +3 -4
- package/oj-c/split-menu-button.js +1 -1
- package/oj-c/tab-bar/ContentRenderer.js +41 -0
- package/oj-c/tab-bar/DataTabBar.js +54 -0
- package/oj-c/tab-bar/DataTabBar.types.js +4 -0
- package/oj-c/tab-bar/DataTabBarIcon.js +16 -0
- package/oj-c/tab-bar/__webdriver__/TabBarWebElement.d.ts +8 -0
- package/oj-c/tab-bar/__webdriver__/TabBarWebElement.js +13 -0
- package/oj-c/tab-bar/__webdriver__/TabBarWebElement.js.map +1 -0
- package/oj-c/tab-bar/__webdriver__/TabBarWebElementBase.d.ts +65 -0
- package/oj-c/tab-bar/__webdriver__/TabBarWebElementBase.js +86 -0
- package/oj-c/tab-bar/__webdriver__/TabBarWebElementBase.js.map +1 -0
- package/oj-c/tab-bar/__webdriver__/index.d.ts +17 -0
- package/oj-c/tab-bar/__webdriver__/index.js +34 -0
- package/oj-c/tab-bar/__webdriver__/index.js.map +1 -0
- package/oj-c/tab-bar/component.json +223 -0
- package/oj-c/tab-bar/index.js +6 -0
- package/oj-c/tab-bar/tab-bar-styles.css +11 -0
- package/oj-c/tab-bar/tab-bar.js +70 -0
- package/oj-c/tab-bar-mixed/DataTabBarMixed.js +1 -1
- package/oj-c/tab-bar-mixed/component.json +11 -2
- package/oj-c/tab-bar-mixed/sumBadge.js +3 -3
- package/oj-c/tab-bar-mixed/tab-bar-mixed.js +1 -1
- package/oj-c/tab-bar-mixed.js +1 -1
- package/oj-c/tab-bar.js +6 -0
- package/oj-c/tag-cloud/component.json +11 -2
- package/oj-c/tag-cloud/tag-cloud.js +3 -9
- package/oj-c/tag-cloud-item/component.json +8 -2
- package/oj-c/tag-cloud-item.js +1 -1
- package/oj-c/tag-cloud.js +1 -1
- package/oj-c/text-area/__webdriver__/TextAreaWebElementBase.d.ts +0 -7
- package/oj-c/text-area/__webdriver__/TextAreaWebElementBase.js +0 -9
- package/oj-c/text-area/__webdriver__/TextAreaWebElementBase.js.map +1 -1
- package/oj-c/text-area/component.json +24 -20
- package/oj-c/text-area/text-area.js +70 -98
- package/oj-c/text-area/useTextAreaAutosizePreact.js +12 -9
- package/oj-c/text-area/useTextAreaPreact.js +12 -9
- package/oj-c/text-area.js +1 -1
- package/oj-c/toggle-button/__webdriver__/ToggleButtonWebElement.d.ts +8 -0
- package/oj-c/toggle-button/__webdriver__/ToggleButtonWebElement.js +13 -0
- package/oj-c/toggle-button/__webdriver__/ToggleButtonWebElement.js.map +1 -0
- package/oj-c/toggle-button/__webdriver__/ToggleButtonWebElementBase.d.ts +72 -0
- package/oj-c/toggle-button/__webdriver__/ToggleButtonWebElementBase.js +95 -0
- package/oj-c/toggle-button/__webdriver__/ToggleButtonWebElementBase.js.map +1 -0
- package/oj-c/toggle-button/__webdriver__/index.d.ts +17 -0
- package/oj-c/toggle-button/__webdriver__/index.js +34 -0
- package/oj-c/toggle-button/__webdriver__/index.js.map +1 -0
- package/oj-c/toggle-button/component.json +229 -0
- package/oj-c/toggle-button/index.js +6 -0
- package/oj-c/toggle-button/toggle-button-styles.css +12 -0
- package/oj-c/toggle-button/toggle-button.js +83 -0
- package/oj-c/toggle-button.js +6 -0
- package/oj-c/types/Dropdown/Dropdown.d.ts +5 -0
- package/oj-c/types/Dropdown/index.d.ts +1 -0
- package/oj-c/types/Sheet/Sheet.d.ts +5 -0
- package/oj-c/types/Sheet/index.d.ts +1 -0
- package/oj-c/types/action-card/action-card.d.ts +12 -4
- package/oj-c/types/area-chart/area-chart.d.ts +12 -4
- package/oj-c/types/button/button.d.ts +5 -3
- package/oj-c/types/buttonset-multiple/buttonset-multiple.d.ts +95 -0
- package/oj-c/types/buttonset-multiple/index.d.ts +2 -0
- package/oj-c/types/buttonset-single/buttonset-single.d.ts +95 -0
- package/oj-c/types/buttonset-single/index.d.ts +2 -0
- package/oj-c/types/card-view/card-view.d.ts +120 -0
- package/oj-c/types/card-view/cardViewItem.d.ts +9 -0
- package/oj-c/types/card-view/index.d.ts +2 -0
- package/oj-c/types/card-view/useCardViewPreact.d.ts +25 -0
- package/oj-c/types/checkbox/checkbox.d.ts +23 -39
- package/oj-c/types/checkbox/useCheckboxPreact.d.ts +3 -3
- package/oj-c/types/checkboxset/checkboxset.d.ts +29 -41
- package/oj-c/types/checkboxset/useCheckboxsetPreact.d.ts +2 -2
- package/oj-c/types/conveyor-belt/conveyor-belt.d.ts +77 -0
- package/oj-c/types/conveyor-belt/conveyorBeltItem.d.ts +24 -0
- package/oj-c/types/conveyor-belt/index.d.ts +2 -0
- package/oj-c/types/date-picker/date-picker.d.ts +113 -0
- package/oj-c/types/date-picker/index.d.ts +2 -0
- package/oj-c/types/drag-handle/drag-handle.d.ts +24 -0
- package/oj-c/types/drag-handle/index.d.ts +2 -0
- package/oj-c/types/drawer-layout/drawer-layout.d.ts +91 -0
- package/oj-c/types/drawer-layout/index.d.ts +2 -0
- package/oj-c/types/drawer-popup/drawer-popup.d.ts +7 -2
- package/oj-c/types/editable-value/UNSAFE_useComponentMessaging/useComponentMessaging.d.ts +3 -3
- package/oj-c/types/editable-value/UNSAFE_useEditableValue/useEditableValue.d.ts +4 -3
- package/oj-c/types/editable-value/UNSAFE_useValidators/useValidators.d.ts +2 -2
- package/oj-c/types/editable-value/UNSAFE_useValue/useValue.d.ts +4 -4
- package/oj-c/types/file-picker/file-picker.d.ts +0 -1
- package/oj-c/types/form-layout/form-layout.d.ts +3 -8
- package/oj-c/types/hooks/PRIVATE_useVisData/useVisData.d.ts +10 -0
- package/oj-c/types/hooks/UNSAFE_useChartData/dataUtil.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 +14 -0
- package/oj-c/types/hooks/UNSAFE_useEditableValue/index.d.ts +2 -0
- package/oj-c/types/hooks/UNSAFE_useEditableValue/reducer.d.ts +106 -0
- package/oj-c/types/hooks/UNSAFE_useEditableValue/types.d.ts +7 -0
- package/oj-c/types/hooks/UNSAFE_useEditableValue/useEditableValue.d.ts +43 -0
- package/oj-c/types/hooks/UNSAFE_useEditableValue/utils.d.ts +8 -0
- package/oj-c/types/hooks/UNSAFE_useEditableValue/validationUtils.d.ts +27 -0
- package/oj-c/types/hooks/UNSAFE_useMergedFormContext/useMergedFormContext.d.ts +16 -0
- package/oj-c/types/hooks/UNSAFE_useVisBusyState/useVisBusyState.d.ts +1 -0
- package/oj-c/types/input-date-mask/input-date-mask.d.ts +3 -3
- package/oj-c/types/input-date-mask/useInputDateMaskPreact.d.ts +6 -5
- package/oj-c/types/input-date-picker/DateRangeValidator.d.ts +31 -0
- package/oj-c/types/input-date-picker/DateRestrictionValidator.d.ts +25 -0
- package/oj-c/types/input-date-picker/index.d.ts +2 -0
- package/oj-c/types/input-date-picker/input-date-picker.d.ts +219 -0
- package/oj-c/types/input-date-picker/useCombinedImplicitValidators.d.ts +2 -0
- package/oj-c/types/input-date-picker/useImplicitCalendarDateConverter.d.ts +7 -0
- package/oj-c/types/input-date-picker/useImplicitDateRangeValidator.d.ts +4 -0
- package/oj-c/types/input-date-picker/useImplicitDateRestrictionValidator.d.ts +6 -0
- package/oj-c/types/input-date-picker/useInputDatePicker.d.ts +45 -0
- package/oj-c/types/input-date-picker/utils.d.ts +3 -0
- package/oj-c/types/input-date-text/input-date-text.d.ts +16 -26
- package/oj-c/types/input-date-text/useInputDateTextPreact.d.ts +3 -5
- package/oj-c/types/input-month-mask/input-month-mask.d.ts +3 -3
- package/oj-c/types/input-month-mask/useInputMonthMaskPreact.d.ts +5 -6
- package/oj-c/types/input-number/input-number.d.ts +15 -25
- package/oj-c/types/input-number/useNumberInputTextPreact.d.ts +3 -3
- package/oj-c/types/input-password/input-password.d.ts +16 -26
- package/oj-c/types/input-password/useInputPasswordPreact.d.ts +3 -3
- package/oj-c/types/input-sensitive-text/input-sensitive-text.d.ts +3 -3
- package/oj-c/types/input-sensitive-text/useInputSensitiveTextPreact.d.ts +3 -3
- package/oj-c/types/input-text/input-text.d.ts +16 -21
- package/oj-c/types/input-text/useInputTextPreact.d.ts +5 -10
- package/oj-c/types/legend/events.d.ts +2 -2
- package/oj-c/types/legend/legend.d.ts +4 -2
- package/oj-c/types/legend/utils.d.ts +5 -3
- package/oj-c/types/legend-item/legend-item.d.ts +6 -1
- package/oj-c/types/line-chart/line-chart.d.ts +9 -1
- package/oj-c/types/list-view/DataFetchLiveRegion.d.ts +5 -0
- package/oj-c/types/list-view/index.d.ts +1 -1
- package/oj-c/types/list-view/list-view.d.ts +60 -3
- package/oj-c/types/list-view/useListViewPreact.d.ts +5 -2
- package/oj-c/types/menu-button/menu-button.d.ts +10 -9
- package/oj-c/types/message-banner/message-banner.d.ts +7 -1
- package/oj-c/types/message-toast/message-toast.d.ts +2 -0
- package/oj-c/types/meter-circle/meter-circle.d.ts +1 -0
- package/oj-c/types/popup/index.d.ts +2 -0
- package/oj-c/types/popup/popup.d.ts +150 -0
- package/oj-c/types/popup/resources/nls/popup-strings.d.ts +8 -0
- package/oj-c/types/radioset/useRadiosetPreact.d.ts +2 -2
- package/oj-c/types/select-common/UNSAFE_useDataProviderListeners/useDataProviderListeners.d.ts +4 -4
- package/oj-c/types/select-common/UNSAFE_useWrapValueState/useWrapValueState.d.ts +5 -5
- package/oj-c/types/select-common/utils/utils.d.ts +2 -0
- package/oj-c/types/select-multiple/select-multiple.d.ts +15 -28
- package/oj-c/types/select-multiple/useSelectMultiplePreact.d.ts +4 -7
- package/oj-c/types/select-multiple/useSyncValueAndValueItems.d.ts +7 -4
- package/oj-c/types/select-single/select-single.d.ts +16 -30
- package/oj-c/types/select-single/useSelectSinglePreact.d.ts +4 -8
- package/oj-c/types/select-single/useSyncValueAndValueItem.d.ts +7 -4
- package/oj-c/types/split-menu-button/split-menu-button.d.ts +6 -8
- package/oj-c/types/tab-bar/ContentRenderer.d.ts +5 -0
- package/oj-c/types/tab-bar/DataTabBar.d.ts +2 -0
- package/oj-c/types/tab-bar/DataTabBar.types.d.ts +32 -0
- package/oj-c/types/tab-bar/DataTabBarIcon.d.ts +10 -0
- package/oj-c/types/tab-bar/index.d.ts +2 -0
- package/oj-c/types/tab-bar/tab-bar.d.ts +125 -0
- package/oj-c/types/tag-cloud/tag-cloud.d.ts +1 -0
- package/oj-c/types/text-area/text-area.d.ts +16 -26
- package/oj-c/types/text-area/useTextAreaAutosizePreact.d.ts +3 -5
- package/oj-c/types/text-area/useTextAreaPreact.d.ts +3 -5
- package/oj-c/types/toggle-button/index.d.ts +2 -0
- package/oj-c/types/toggle-button/toggle-button.d.ts +94 -0
- package/oj-c/types/utils/PRIVATE_ItemsMenu/index.d.ts +1 -1
- package/oj-c/types/utils/PRIVATE_ItemsMenu/items-menu.d.ts +8 -4
- package/oj-c/types/utils/PRIVATE_ItemsMenu/menuTypes.d.ts +20 -1
- package/oj-c/types/utils/PRIVATE_chartUtils/events.d.ts +4 -5
- package/oj-c/types/utils/PRIVATE_chartUtils/lineAreaUtils.d.ts +1 -1
- package/oj-c/types/utils/PRIVATE_chartUtils/plotAreaUtils.d.ts +2 -25
- package/oj-c/types/utils/PRIVATE_toggleUtils/index.d.ts +3 -0
- package/oj-c/types/utils/PRIVATE_toggleUtils/toggle-item-icon.d.ts +6 -0
- package/oj-c/types/utils/PRIVATE_toggleUtils/toggleTypes.d.ts +14 -0
- package/oj-c/types/utils/PRIVATE_toggleUtils/widthStyle.d.ts +11 -0
- package/oj-c/types/utils/UNSAFE_keyUtils/keySetUtils.d.ts +2 -0
- package/oj-c/types/utils/UNSAFE_vizTypes/chartTypes.d.ts +1 -0
- package/oj-c/utils/PRIVATE_ItemsMenu/items-menu.js +7 -5
- package/oj-c/utils/PRIVATE_chartUtils/axisUtils.js +1 -0
- package/oj-c/utils/PRIVATE_toggleUtils/index.js +7 -0
- package/oj-c/utils/PRIVATE_toggleUtils/toggle-item-icon.js +14 -0
- package/oj-c/utils/PRIVATE_toggleUtils/toggleTypes.js +4 -0
- package/oj-c/utils/PRIVATE_toggleUtils/widthStyle.js +19 -0
- package/oj-c/utils/UNSAFE_keyUtils/keySetUtils.js +21 -1
- package/oj-c/utils/UNSAFE_vizUtils/TemplateHandler.js +15 -3
- 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 +143 -0
- package/webdriver/docs/classes/ButtonsetSingleWebElement.html +143 -0
- package/webdriver/docs/classes/CardViewWebElement.html +150 -0
- package/webdriver/docs/classes/CheckboxWebElement.html +1 -1
- package/webdriver/docs/classes/CheckboxsetWebElement.html +1 -1
- package/webdriver/docs/classes/CollapsibleWebElement.html +2 -2
- package/webdriver/docs/classes/ConveyorBeltWebElement.html +122 -0
- package/webdriver/docs/classes/DatePickerWebElement.html +143 -0
- package/webdriver/docs/classes/DrawerLayoutWebElement.html +139 -0
- package/webdriver/docs/classes/DrawerPopupWebElement.html +1 -1
- package/webdriver/docs/classes/FilePickerWebElement.html +10 -1
- package/webdriver/docs/classes/FormLayoutWebElement.html +1 -1
- package/webdriver/docs/classes/HighlightTextWebElement.html +1 -1
- package/webdriver/docs/classes/InputDateMaskWebElement.html +1 -1
- package/webdriver/docs/classes/InputDatePickerWebElement.html +231 -0
- package/webdriver/docs/classes/InputDateTextWebElement.html +2 -5
- package/webdriver/docs/classes/InputMonthMaskWebElement.html +1 -1
- package/webdriver/docs/classes/InputNumberWebElement.html +2 -5
- package/webdriver/docs/classes/InputPasswordWebElement.html +2 -5
- package/webdriver/docs/classes/InputSensitiveTextWebElement.html +1 -1
- package/webdriver/docs/classes/InputTextWebElement.html +1 -1
- package/webdriver/docs/classes/LabelledLinkWebElement.html +1 -1
- package/webdriver/docs/classes/LegendWebElement.html +1 -1
- package/webdriver/docs/classes/LineChartWebElement.html +6 -2
- package/webdriver/docs/classes/ListItemLayoutWebElement.html +13 -9
- package/webdriver/docs/classes/ListViewWebElement.html +13 -5
- package/webdriver/docs/classes/MenuButtonWebElement.html +1 -1
- package/webdriver/docs/classes/MessageBannerWebElement.html +6 -2
- 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 +171 -0
- package/webdriver/docs/classes/ProgressBarWebElement.html +1 -1
- package/webdriver/docs/classes/ProgressCircleWebElement.html +1 -1
- package/webdriver/docs/classes/RadiosetWebElement.html +1 -1
- package/webdriver/docs/classes/RatingGaugeWebElement.html +1 -1
- package/webdriver/docs/classes/SelectMultipleWebElement.html +7 -6
- 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 +1 -1
- package/webdriver/docs/classes/SplitMenuButtonWebElement.html +3 -3
- package/webdriver/docs/classes/TabBarMixedWebElement.html +1 -1
- package/webdriver/docs/classes/TabBarWebElement.html +135 -0
- package/webdriver/docs/classes/TagCloudWebElement.html +1 -1
- package/webdriver/docs/classes/TextAreaWebElement.html +2 -5
- package/webdriver/docs/classes/ToggleButtonWebElement.html +139 -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 +8 -0
- package/webdriver/docs/functions/findButtonsetSingle.html +8 -0
- package/webdriver/docs/functions/findCardView.html +8 -0
- 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 +8 -0
- package/webdriver/docs/functions/findDatePicker.html +8 -0
- package/webdriver/docs/functions/findDrawerLayout.html +8 -0
- 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 +8 -0
- 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 +8 -0
- package/webdriver/docs/functions/findProgressBar.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/findSplitMenuButton.html +1 -1
- package/webdriver/docs/functions/findTabBar.html +8 -0
- package/webdriver/docs/functions/findTabBarMixed.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 +8 -0
- package/webdriver/docs/index.html +1 -1
- package/webdriver/docs/modules.html +21 -1
- package/webdriver/index.d.ts +10 -0
- package/webdriver/index.js +10 -0
- package/webdriver/index.js.map +1 -1
- package/webdriver/index.ts +11 -1
- package/oj-c/docs/action-card.html +0 -249
- package/oj-c/docs/area-chart-group.html +0 -249
- package/oj-c/docs/area-chart-item.html +0 -249
- package/oj-c/docs/area-chart-series.html +0 -249
- package/oj-c/docs/area-chart.html +0 -249
- package/oj-c/docs/avatar.html +0 -249
- package/oj-c/docs/button.html +0 -249
- package/oj-c/docs/checkbox.html +0 -249
- package/oj-c/docs/checkboxset.html +0 -249
- package/oj-c/docs/collapsible.html +0 -249
- package/oj-c/docs/drawer-popup.html +0 -249
- package/oj-c/docs/file-picker.html +0 -249
- package/oj-c/docs/form-layout.html +0 -249
- package/oj-c/docs/highlight-text.html +0 -249
- package/oj-c/docs/index.html +0 -247
- package/oj-c/docs/input-date-mask.html +0 -249
- package/oj-c/docs/input-date-text.html +0 -249
- package/oj-c/docs/input-month-mask.html +0 -249
- package/oj-c/docs/input-number.html +0 -249
- package/oj-c/docs/input-password.html +0 -249
- package/oj-c/docs/input-sensitive-text.html +0 -249
- package/oj-c/docs/input-text.html +0 -249
- package/oj-c/docs/jsDocMd.json +0 -1
- package/oj-c/docs/labelled-link.html +0 -249
- package/oj-c/docs/legend-item.html +0 -249
- package/oj-c/docs/legend-section.html +0 -249
- package/oj-c/docs/legend.html +0 -249
- package/oj-c/docs/line-chart-group.html +0 -249
- package/oj-c/docs/line-chart-item.html +0 -249
- package/oj-c/docs/line-chart-series.html +0 -249
- package/oj-c/docs/line-chart.html +0 -249
- package/oj-c/docs/list-item-layout.html +0 -249
- package/oj-c/docs/list-view.html +0 -249
- package/oj-c/docs/menu-button.html +0 -249
- package/oj-c/docs/message-banner.html +0 -249
- package/oj-c/docs/message-toast.html +0 -249
- package/oj-c/docs/meter-bar.html +0 -249
- package/oj-c/docs/meter-circle.html +0 -249
- package/oj-c/docs/oj-c.ActionCard.html +0 -1045
- package/oj-c/docs/oj-c.AreaChart.html +0 -9396
- package/oj-c/docs/oj-c.AreaChartGroup.html +0 -610
- package/oj-c/docs/oj-c.AreaChartItem.html +0 -1104
- package/oj-c/docs/oj-c.AreaChartSeries.html +0 -1044
- package/oj-c/docs/oj-c.Avatar.html +0 -1907
- package/oj-c/docs/oj-c.Button.html +0 -2301
- package/oj-c/docs/oj-c.Checkbox.html +0 -3493
- package/oj-c/docs/oj-c.Checkboxset.html +0 -4589
- package/oj-c/docs/oj-c.Collapsible.html +0 -2064
- package/oj-c/docs/oj-c.DrawerPopup.html +0 -1631
- package/oj-c/docs/oj-c.FilePicker.html +0 -2664
- package/oj-c/docs/oj-c.FormLayout.html +0 -2159
- package/oj-c/docs/oj-c.HighlightText.html +0 -1078
- package/oj-c/docs/oj-c.InputDateMask.html +0 -5271
- package/oj-c/docs/oj-c.InputDateText.html +0 -5534
- package/oj-c/docs/oj-c.InputMonthMask.html +0 -5940
- package/oj-c/docs/oj-c.InputNumber.html +0 -6369
- package/oj-c/docs/oj-c.InputPassword.html +0 -5261
- package/oj-c/docs/oj-c.InputSensitiveText.html +0 -5723
- package/oj-c/docs/oj-c.InputText.html +0 -6124
- package/oj-c/docs/oj-c.LabelledLink.html +0 -2552
- package/oj-c/docs/oj-c.Legend.html +0 -5146
- package/oj-c/docs/oj-c.LegendItem.html +0 -1493
- package/oj-c/docs/oj-c.LegendSection.html +0 -460
- package/oj-c/docs/oj-c.LineChart.html +0 -9491
- package/oj-c/docs/oj-c.LineChartGroup.html +0 -610
- package/oj-c/docs/oj-c.LineChartItem.html +0 -1104
- package/oj-c/docs/oj-c.LineChartSeries.html +0 -1168
- package/oj-c/docs/oj-c.ListItemLayout.html +0 -1680
- package/oj-c/docs/oj-c.ListView.html +0 -2733
- package/oj-c/docs/oj-c.MenuButton.html +0 -2444
- package/oj-c/docs/oj-c.MessageBanner.html +0 -2107
- package/oj-c/docs/oj-c.MessageToast.html +0 -2254
- package/oj-c/docs/oj-c.MeterBar.html +0 -3308
- package/oj-c/docs/oj-c.MeterCircle.html +0 -3845
- package/oj-c/docs/oj-c.ProgressBar.html +0 -1250
- package/oj-c/docs/oj-c.ProgressCircle.html +0 -1266
- package/oj-c/docs/oj-c.Radioset.html +0 -4585
- package/oj-c/docs/oj-c.RatingGauge.html +0 -2738
- package/oj-c/docs/oj-c.SelectMultiple.html +0 -5381
- package/oj-c/docs/oj-c.SelectSingle.html +0 -5691
- package/oj-c/docs/oj-c.Selector.html +0 -1363
- package/oj-c/docs/oj-c.SelectorAll.html +0 -1128
- package/oj-c/docs/oj-c.SplitMenuButton.html +0 -1990
- package/oj-c/docs/oj-c.TabBarMixed.html +0 -2660
- package/oj-c/docs/oj-c.TagCloud.html +0 -2441
- package/oj-c/docs/oj-c.TagCloudItem.html +0 -794
- package/oj-c/docs/oj-c.TextArea.html +0 -5809
- package/oj-c/docs/progress-bar.html +0 -249
- package/oj-c/docs/progress-circle.html +0 -249
- package/oj-c/docs/radioset.html +0 -249
- package/oj-c/docs/rating-gauge.html +0 -249
- package/oj-c/docs/scripts/deprecated.js +0 -268
- package/oj-c/docs/scripts/prettify/Apache-License-2.0.txt +0 -202
- package/oj-c/docs/scripts/prettify/lang-css.js +0 -9
- package/oj-c/docs/scripts/prettify/prettify.js +0 -35
- package/oj-c/docs/select-multiple.html +0 -249
- package/oj-c/docs/select-single.html +0 -249
- package/oj-c/docs/selection-card.html +0 -249
- package/oj-c/docs/selector-all.html +0 -249
- package/oj-c/docs/selector.html +0 -249
- package/oj-c/docs/split-menu-button.html +0 -249
- package/oj-c/docs/styles/images/bookmark.png +0 -0
- package/oj-c/docs/styles/images/linesarrowup.png +0 -0
- package/oj-c/docs/styles/images/linesarrowup_blue.png +0 -0
- package/oj-c/docs/styles/images/linesarrowup_hov.png +0 -0
- package/oj-c/docs/styles/images/linesarrowup_white.png +0 -0
- package/oj-c/docs/styles/images/oracle_logo_sm.png +0 -0
- package/oj-c/docs/styles/jsdoc-default.css +0 -851
- package/oj-c/docs/styles/prettify-jsdoc.css +0 -111
- package/oj-c/docs/styles/prettify-tomorrow.css +0 -132
- package/oj-c/docs/tab-bar-mixed.html +0 -249
- package/oj-c/docs/tag-cloud-item.html +0 -249
- package/oj-c/docs/tag-cloud.html +0 -249
- package/oj-c/docs/text-area.html +0 -249
- package/oj-c/editable-value/UNSAFE_useConverterObject/useConverterObject.js +0 -42
- package/oj-c/editable-value/UNSAFE_useEditableValueRawValueObject/useEditableValueRawValueObject.js +0 -147
- package/oj-c/editable-value/UNSAFE_useValueRawValueObject/useValueRawValueObject.js +0 -40
- package/oj-c/editable-value/UNSAFE_useValueRawValueObjectLifecycle/useValueRawValueObjectLifecycle.js +0 -27
- package/oj-c/min/editable-value/UNSAFE_useConverterObject/useConverterObject.js +0 -42
- package/oj-c/min/editable-value/UNSAFE_useEditableValueRawValueObject/useEditableValueRawValueObject.js +0 -147
- package/oj-c/min/editable-value/UNSAFE_useValueRawValueObject/useValueRawValueObject.js +0 -40
- package/oj-c/min/editable-value/UNSAFE_useValueRawValueObjectLifecycle/useValueRawValueObjectLifecycle.js +0 -27
- package/oj-c/types/editable-value/UNSAFE_useConverterObject/useConverterObject.d.ts +0 -15
- package/oj-c/types/editable-value/UNSAFE_useEditableValueRawValueObject/useEditableValueRawValueObject.d.ts +0 -49
- package/oj-c/types/editable-value/UNSAFE_useValueRawValueObject/useValueRawValueObject.d.ts +0 -23
- package/oj-c/types/editable-value/UNSAFE_useValueRawValueObjectLifecycle/useValueRawValueObjectLifecycle.d.ts +0 -9
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
define(["require", "exports", "preact/jsx-runtime", '@oracle/oraclejet-preact/translationBundle', "preact/hooks", "@oracle/oraclejet-preact/UNSAFE_LineAreaChart", "
|
|
1
|
+
define(["require", "exports", "preact/jsx-runtime", '@oracle/oraclejet-preact/translationBundle', "preact/hooks", "../hooks/UNSAFE_useVisBusyState/useVisBusyState", "@oracle/oraclejet-preact/UNSAFE_VisProgressiveLoader", "@oracle/oraclejet-preact/UNSAFE_LineAreaChart", "@oracle/oraclejet-preact/UNSAFE_VisStatusMessage", "ojs/ojvcomponent", "../hooks/UNSAFE_useChartData/useChartData", "../utils/PRIVATE_chartUtils/events", "../utils/PRIVATE_chartUtils/legendUtils", "../hooks/UNSAFE_useLegendPosition/useLegendPosition", "../hooks/UNSAFE_useVizCategories/useVizCategories", "@oracle/oraclejet-preact/UNSAFE_Legend", "@oracle/oraclejet-preact/UNSAFE_ChartWithLegend", "../utils/PRIVATE_chartUtils/lineAreaUtils", "oj-c/utils/PRIVATE_chartUtils/plotAreaUtils", "../utils/PRIVATE_chartUtils/axisUtils", "css!oj-c/line-chart/line-chart-styles.css"], function (require, exports, jsx_runtime_1, translationBundle_1, hooks_1, useVisBusyState_1, UNSAFE_VisProgressiveLoader_1, UNSAFE_LineAreaChart_1, UNSAFE_VisStatusMessage_1, ojvcomponent_1, useChartData_1, events_1, legendUtils_1, useLegendPosition_1, useVizCategories_1, UNSAFE_Legend_1, UNSAFE_ChartWithLegend_1, lineAreaUtils_1, plotAreaUtils_1, axisUtils_1) {
|
|
2
2
|
"use strict";
|
|
3
3
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
4
|
exports.LineChart = void 0;
|
|
@@ -7,14 +7,8 @@ define(["require", "exports", "preact/jsx-runtime", '@oracle/oraclejet-preact/tr
|
|
|
7
7
|
position: 'auto'
|
|
8
8
|
}, ...props }) {
|
|
9
9
|
const rootRef = (0, hooks_1.useRef)(null);
|
|
10
|
-
const addBusyState = (0,
|
|
11
|
-
|
|
12
|
-
? Context.getContext(rootRef.current)
|
|
13
|
-
.getBusyContext()
|
|
14
|
-
.addBusyState({ description: `oj-c-line-chart: ${description}` })
|
|
15
|
-
: () => { };
|
|
16
|
-
}, []);
|
|
17
|
-
const { series, groups, getDataItem } = (0, useChartData_1.useChartData)(data, addBusyState, itemTemplate, seriesTemplate, groupTemplate, 'oj-c-line-chart-item', 'oj-c-line-chart-series', 'oj-c-line-chart-group', seriesComparator, groupComparator);
|
|
10
|
+
const addBusyState = (0, useVisBusyState_1.useVisBusyState)(rootRef, 'oj-c-line-chart');
|
|
11
|
+
const { series, groups, getDataItem, isLoading } = (0, useChartData_1.useChartData)(data, addBusyState, itemTemplate, seriesTemplate, groupTemplate, 'oj-c-line-chart-item', 'oj-c-line-chart-series', 'oj-c-line-chart-group', seriesComparator, groupComparator);
|
|
18
12
|
const { majorTick: xMajorTick, ...xAxisRest } = xAxis ?? {};
|
|
19
13
|
const { majorTick: yMajorTick, minorTick: yMinorTick, ...yAxisRest } = yAxis ?? {};
|
|
20
14
|
const { seriesDrillHandler, itemDrillHandler, groupDrillHandler } = (0, events_1.getChartEventsHandler)(series, groups, drilling, props.onOjItemDrill, props.onOjGroupDrill, props.onOjSeriesDrill);
|
|
@@ -48,11 +42,11 @@ define(["require", "exports", "preact/jsx-runtime", '@oracle/oraclejet-preact/tr
|
|
|
48
42
|
updateHighlighted(detail.itemId);
|
|
49
43
|
}
|
|
50
44
|
};
|
|
51
|
-
const chart = series.length > 0 && groups.length > 0 ? ((0, jsx_runtime_1.jsx)(UNSAFE_LineAreaChart_1.LineAreaChart, { type: "line", width: "100%", height: "100%", series: series, groups: groups, getDataItem: getDataItem, onItemInput: onItemInput, drilling: drilling !== 'seriesOnly' ? drilling : undefined, onItemDrill: itemDrillHandler, onGroupDrill: groupDrillHandler, onSelectionChange: selectionChangeHandler, selectionMode: selectionMode, selectedIds: selectionMode === 'none' ? undefined : selection, orientation: orientation, xAxis: (0, axisUtils_1.getPreactAxisProps)({ ...xAxisRest, timeAxisType }), yAxis: (0, axisUtils_1.getPreactAxisProps)(yAxisRest), highlightedIds: highlightedIds.length === 0 ? undefined : highlightedIds, hiddenIds: hiddenIds, plotArea: (0, plotAreaUtils_1.getPlotArea)(plotArea, yMajorTick, yMinorTick, xMajorTick), hideAndShowBehavior: hideAndShowBehavior, hoverBehavior: hoverBehavior, isStacked: stack === 'on', valueFormats: (0, lineAreaUtils_1.transformValueFormats)(valueFormats), "aria-label": props['aria-label'], "aria-describedBy": props['aria-describedby'], "aria-labelledBy": props['aria-labelledby'] })) :
|
|
52
|
-
const chartLegend = isLegendRendered && legendData.length > 0 ? ((0, jsx_runtime_1.jsx)(UNSAFE_Legend_1.Legend, { items: legendData, orientation: legendPosition === 'start' || legendPosition === 'end' ? 'vertical' : 'horizontal', isReadOnly: !isLegendInteractive, highlightedIds: highlightedIds.length === 0 ? undefined : highlightedIds, hiddenIds: hiddenIds.length === 0 ? undefined : hiddenIds, symbolHeight: legend.symbolHeight, symbolWidth: legend.symbolWidth, onItemAction: legendItemActionHandler,
|
|
53
|
-
return ((0, jsx_runtime_1.jsx)(ojvcomponent_1.Root, { ref: rootRef, children: (0, jsx_runtime_1.jsx)(UNSAFE_ChartWithLegend_1.ChartWithLegend, { chart: chart, position: legendPosition, maxSize: legend.maxSize, size: legend.size, legend: chartLegend }) }));
|
|
45
|
+
const chart = series.length > 0 && groups.length > 0 ? ((0, jsx_runtime_1.jsx)(UNSAFE_LineAreaChart_1.LineAreaChart, { type: "line", width: "100%", height: "100%", series: series, groups: groups, getDataItem: getDataItem, onItemHover: onItemInput, onItemFocus: onItemInput, dragMode: props.dragMode, drilling: drilling !== 'seriesOnly' ? drilling : undefined, onItemDrill: itemDrillHandler, onGroupDrill: groupDrillHandler, onSelectionChange: selectionChangeHandler, selectionMode: selectionMode, selectedIds: selectionMode === 'none' ? undefined : selection, orientation: orientation, xAxis: (0, axisUtils_1.getPreactAxisProps)({ ...xAxisRest, timeAxisType }), yAxis: (0, axisUtils_1.getPreactAxisProps)(yAxisRest), highlightedIds: highlightedIds.length === 0 ? undefined : highlightedIds, hiddenIds: hiddenIds, plotArea: (0, plotAreaUtils_1.getPlotArea)(plotArea, yMajorTick, yMinorTick, xMajorTick), hideAndShowBehavior: hideAndShowBehavior, hoverBehavior: hoverBehavior, isStacked: stack === 'on', valueFormats: (0, lineAreaUtils_1.transformValueFormats)(valueFormats), "aria-label": props['aria-label'], "aria-describedBy": props['aria-describedby'], "aria-labelledBy": props['aria-labelledby'] })) : (!isLoading && ((0, jsx_runtime_1.jsx)(UNSAFE_VisStatusMessage_1.VisNoData, { "aria-label": props['aria-label'], "aria-describedby": props['aria-describedby'], "aria-labelledby": props['aria-labelledby'] })));
|
|
46
|
+
const chartLegend = isLegendRendered && legendData.length > 0 ? ((0, jsx_runtime_1.jsx)(UNSAFE_Legend_1.Legend, { items: legendData, orientation: legendPosition === 'start' || legendPosition === 'end' ? 'vertical' : 'horizontal', isReadOnly: !isLegendInteractive, highlightedIds: highlightedIds.length === 0 ? undefined : highlightedIds, hiddenIds: hiddenIds.length === 0 ? undefined : hiddenIds, symbolHeight: legend.symbolHeight, symbolWidth: legend.symbolWidth, onItemAction: legendItemActionHandler, onItemHover: legendItemInputHandler, onItemFocus: legendItemInputHandler })) : undefined;
|
|
47
|
+
return ((0, jsx_runtime_1.jsx)(ojvcomponent_1.Root, { ref: rootRef, children: (0, jsx_runtime_1.jsx)(UNSAFE_VisProgressiveLoader_1.VisProgressiveLoader, { isLoading: isLoading, type: "line", "aria-label": props['aria-label'], "aria-describedBy": props['aria-describedby'], "aria-labelledBy": props['aria-labelledby'], children: (0, jsx_runtime_1.jsx)(UNSAFE_ChartWithLegend_1.ChartWithLegend, { chart: chart, position: legendPosition, maxSize: legend.maxSize, size: legend.size, legend: chartLegend }) }) }));
|
|
54
48
|
}
|
|
55
|
-
exports.LineChart = (0, ojvcomponent_1.registerCustomElement)('oj-c-line-chart', LineChartComp, "LineChart", { "properties": { "groupComparator": { "type": "function" }, "stack": { "type": "string", "enumValues": ["off", "on"] }, "drilling": { "type": "string", "enumValues": ["off", "on", "groupsOnly", "seriesOnly"] }, "orientation": { "type": "string", "enumValues": ["horizontal", "vertical"] }, "timeAxisType": { "type": "string", "enumValues": ["enabled", "mixedFrequency", "skipGaps"] }, "yAxis": { "type": "object", "properties": { "dataMax": { "type": "number" }, "dataMin": { "type": "number" }, "max": { "type": "number" }, "min": { "type": "number" }, "majorTick": { "type": "object", "properties": { "lineColor": { "type": "string" }, "lineStyle": { "type": "string", "enumValues": ["dashed", "
|
|
49
|
+
exports.LineChart = (0, ojvcomponent_1.registerCustomElement)('oj-c-line-chart', LineChartComp, "LineChart", { "properties": { "groupComparator": { "type": "function" }, "stack": { "type": "string", "enumValues": ["off", "on"] }, "drilling": { "type": "string", "enumValues": ["off", "on", "groupsOnly", "seriesOnly"] }, "orientation": { "type": "string", "enumValues": ["horizontal", "vertical"] }, "timeAxisType": { "type": "string", "enumValues": ["enabled", "mixedFrequency", "skipGaps"] }, "yAxis": { "type": "object", "properties": { "dataMax": { "type": "number" }, "dataMin": { "type": "number" }, "max": { "type": "number" }, "min": { "type": "number" }, "majorTick": { "type": "object", "properties": { "lineColor": { "type": "string" }, "lineStyle": { "type": "string", "enumValues": ["dashed", "solid", "dotted"] }, "lineWidth": { "type": "number" }, "rendered": { "type": "string", "enumValues": ["auto", "off", "on"] } } }, "minorTick": { "type": "object", "properties": { "lineColor": { "type": "string" }, "lineStyle": { "type": "string", "enumValues": ["dashed", "solid", "dotted"] }, "lineWidth": { "type": "number" }, "rendered": { "type": "string", "enumValues": ["auto", "off", "on"] } } }, "tickLabel": { "type": "object", "properties": { "converter": { "type": "object" }, "rendered": { "type": "string", "enumValues": ["off", "on"] }, "style": { "type": "object" } } }, "viewportMin": { "type": "number" }, "viewportMax": { "type": "number" }, "step": { "type": "number" }, "size": { "type": "number" }, "scale": { "type": "string", "enumValues": ["linear", "log"] }, "title": { "type": "string" }, "titleStyle": { "type": "object" } } }, "xAxis": { "type": "object", "properties": { "majorTick": { "type": "object", "properties": { "lineColor": { "type": "string" }, "lineStyle": { "type": "string", "enumValues": ["dashed", "solid", "dotted"] }, "lineWidth": { "type": "number" }, "rendered": { "type": "string", "enumValues": ["auto", "off", "on"] } } }, "minorTick": { "type": "object", "properties": { "lineColor": { "type": "string" }, "lineStyle": { "type": "string", "enumValues": ["dashed", "solid", "dotted"] }, "lineWidth": { "type": "number" }, "rendered": { "type": "string", "enumValues": ["auto", "off", "on"] } } }, "tickLabel": { "type": "object", "properties": { "converter": { "type": "object|" }, "rendered": { "type": "string", "enumValues": ["off", "on"] }, "rotation": { "type": "string", "enumValues": ["auto", "none"] }, "style": { "type": "object" } } }, "viewportMin": { "type": "number" }, "viewportMax": { "type": "number" }, "step": { "type": "number" }, "size": { "type": "number" }, "scale": { "type": "string", "enumValues": ["linear", "log"] }, "title": { "type": "string" }, "titleStyle": { "type": "object" } } }, "plotArea": { "type": "object", "properties": { "backgroundColor": { "type": "string" } } }, "zoomAndScroll": { "type": "string", "enumValues": ["off", "live"] }, "valueFormats": { "type": "object", "properties": { "group": { "type": "object", "properties": { "tooltipLabel": { "type": "string" }, "tooltipDisplay": { "type": "string", "enumValues": ["auto", "off"] } } }, "series": { "type": "object", "properties": { "tooltipLabel": { "type": "string" }, "tooltipDisplay": { "type": "string", "enumValues": ["auto", "off"] } } }, "value": { "type": "object", "properties": { "converter": { "type": "object" }, "tooltipLabel": { "type": "string" }, "tooltipDisplay": { "type": "string", "enumValues": ["auto", "off"] } } } } }, "seriesComparator": { "type": "function" }, "data": { "type": "DataProvider|null" }, "selectionMode": { "type": "string", "enumValues": ["none", "multiple", "single"] }, "selection": { "type": "Array<any>", "writeback": true }, "dragMode": { "type": "string", "enumValues": ["pan", "select", "off", "user", "zoom"] }, "hiddenCategories": { "type": "Array<string>", "writeback": true }, "highlightedCategories": { "type": "Array<string>", "writeback": true }, "hideAndShowBehavior": { "type": "string", "enumValues": ["none", "withoutRescale", "withRescale"] }, "hoverBehavior": { "type": "string", "enumValues": ["none", "dim"] }, "highlightMatch": { "type": "string", "enumValues": ["all", "any"] }, "legend": { "type": "object", "properties": { "position": { "type": "string", "enumValues": ["auto", "end", "start", "top", "bottom"] }, "rendered": { "type": "string", "enumValues": ["auto", "off", "on"] }, "maxSize": { "type": "number|string" }, "size": { "type": "number|string" }, "symbolHeight": { "type": "number" }, "symbolWidth": { "type": "number" } } } }, "slots": { "itemTemplate": { "data": {} }, "seriesTemplate": { "data": {} }, "groupTemplate": { "data": {} } }, "events": { "ojItemDrill": {}, "ojSeriesDrill": {}, "ojGroupDrill": {}, "ojViewportChange": {} }, "extension": { "_WRITEBACK_PROPS": ["selection", "hiddenCategories", "highlightedCategories"], "_READ_ONLY_PROPS": [], "_OBSERVED_GLOBAL_PROPS": ["aria-label", "aria-describedby", "aria-labelledby"] } }, { "hideAndShowBehavior": "none", "orientation": "vertical", "hoverBehavior": "none", "drilling": "off", "hiddenCategories": [], "highlightedCategories": [], "highlightMatch": "any", "selection": [], "selectionMode": "none", "stack": "off", "legend": { "rendered": "on", "position": "auto" } }, {
|
|
56
50
|
'@oracle/oraclejet-preact': translationBundle_1.default
|
|
57
51
|
});
|
|
58
52
|
});
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "line-chart-group",
|
|
3
|
-
"version": "
|
|
4
|
-
"jetVersion": "^
|
|
3
|
+
"version": "17.0.0",
|
|
4
|
+
"jetVersion": "^17.0.0",
|
|
5
5
|
"pack": "oj-c",
|
|
6
6
|
"type": "composite",
|
|
7
7
|
"dependencyScope": "runtime",
|
|
@@ -14,6 +14,12 @@
|
|
|
14
14
|
"displayName": "LineChartGroup",
|
|
15
15
|
"main": "oj-c/line-chart-group",
|
|
16
16
|
"help": "oj-c.LineChartGroup.html",
|
|
17
|
+
"status": [
|
|
18
|
+
{
|
|
19
|
+
"type": "candidate",
|
|
20
|
+
"since": "17.0.0"
|
|
21
|
+
}
|
|
22
|
+
],
|
|
17
23
|
"extension": {
|
|
18
24
|
"catalog": {
|
|
19
25
|
"category": "Visualizations"
|
package/oj-c/line-chart-group.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
define(["require", "exports", "
|
|
1
|
+
define(["require", "exports", "oj-c/line-chart-group/line-chart-group"], function (require, exports, line_chart_group_1) {
|
|
2
2
|
"use strict";
|
|
3
3
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
4
|
exports.LineChartGroup = void 0;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "line-chart-item",
|
|
3
|
-
"version": "
|
|
4
|
-
"jetVersion": "^
|
|
3
|
+
"version": "17.0.0",
|
|
4
|
+
"jetVersion": "^17.0.0",
|
|
5
5
|
"pack": "oj-c",
|
|
6
6
|
"type": "composite",
|
|
7
7
|
"dependencyScope": "runtime",
|
|
@@ -14,6 +14,12 @@
|
|
|
14
14
|
"displayName": "LineChartItem",
|
|
15
15
|
"main": "oj-c/line-chart-item",
|
|
16
16
|
"help": "oj-c.LineChartItem.html",
|
|
17
|
+
"status": [
|
|
18
|
+
{
|
|
19
|
+
"type": "candidate",
|
|
20
|
+
"since": "17.0.0"
|
|
21
|
+
}
|
|
22
|
+
],
|
|
17
23
|
"extension": {
|
|
18
24
|
"catalog": {
|
|
19
25
|
"category": "Visualizations"
|
package/oj-c/line-chart-item.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
define(["require", "exports", "
|
|
1
|
+
define(["require", "exports", "oj-c/line-chart-item/line-chart-item"], function (require, exports, line_chart_item_1) {
|
|
2
2
|
"use strict";
|
|
3
3
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
4
|
exports.LineChartItem = void 0;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "line-chart-series",
|
|
3
|
-
"version": "
|
|
4
|
-
"jetVersion": "^
|
|
3
|
+
"version": "17.0.0",
|
|
4
|
+
"jetVersion": "^17.0.0",
|
|
5
5
|
"pack": "oj-c",
|
|
6
6
|
"type": "composite",
|
|
7
7
|
"dependencyScope": "runtime",
|
|
@@ -14,6 +14,12 @@
|
|
|
14
14
|
"displayName": "LineChartSeries",
|
|
15
15
|
"main": "oj-c/line-chart-series",
|
|
16
16
|
"help": "oj-c.LineChartSeries.html",
|
|
17
|
+
"status": [
|
|
18
|
+
{
|
|
19
|
+
"type": "candidate",
|
|
20
|
+
"since": "17.0.0"
|
|
21
|
+
}
|
|
22
|
+
],
|
|
17
23
|
"extension": {
|
|
18
24
|
"catalog": {
|
|
19
25
|
"category": "Visualizations"
|
|
@@ -52,8 +58,8 @@
|
|
|
52
58
|
"help": "#lineStyle",
|
|
53
59
|
"enumValues": [
|
|
54
60
|
"dashed",
|
|
55
|
-
"
|
|
56
|
-
"
|
|
61
|
+
"solid",
|
|
62
|
+
"dotted"
|
|
57
63
|
]
|
|
58
64
|
},
|
|
59
65
|
"lineType": {
|
|
@@ -7,7 +7,7 @@ define(["require", "exports", '@oracle/oraclejet-preact/translationBundle', "ojs
|
|
|
7
7
|
};
|
|
8
8
|
exports.LineChartSeries = (0, ojvcomponent_1.registerCustomElement)('oj-c-line-chart-series', ({ drilling = exports.LineChartSeriesDefaults.drilling, ...props }) => {
|
|
9
9
|
return null;
|
|
10
|
-
}, "LineChartSeries", { "properties": { "categories": { "type": "Array<string>" }, "color": { "type": "string" }, "drilling": { "type": "string", "enumValues": ["inherit", "off", "on"] }, "lineStyle": { "type": "string", "enumValues": ["dashed", "
|
|
10
|
+
}, "LineChartSeries", { "properties": { "categories": { "type": "Array<string>" }, "color": { "type": "string" }, "drilling": { "type": "string", "enumValues": ["inherit", "off", "on"] }, "lineStyle": { "type": "string", "enumValues": ["dashed", "solid", "dotted"] }, "lineType": { "type": "string", "enumValues": ["curved", "straight"] }, "lineWidth": { "type": "number" }, "markerShape": { "type": "string", "enumValues": ["auto", "square", "circle", "diamond", "human", "plus", "star", "triangleDown", "triangleUp"] }, "markerColor": { "type": "string" }, "markerDisplayed": { "type": "string" }, "markerSize": { "type": "number" }, "name": { "type": "string" }, "shortDesc": { "type": "string" } } }, { "drilling": "inherit" }, {
|
|
11
11
|
'@oracle/oraclejet-preact': translationBundle_1.default
|
|
12
12
|
});
|
|
13
13
|
});
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
define(["require", "exports", "
|
|
1
|
+
define(["require", "exports", "oj-c/line-chart-series/line-chart-series"], function (require, exports, line_chart_series_1) {
|
|
2
2
|
"use strict";
|
|
3
3
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
4
|
exports.LineChartSeries = void 0;
|
package/oj-c/line-chart.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
define(["require", "exports", "
|
|
1
|
+
define(["require", "exports", "oj-c/line-chart/line-chart"], function (require, exports, line_chart_1) {
|
|
2
2
|
"use strict";
|
|
3
3
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
4
|
exports.LineChart = void 0;
|
|
@@ -1,11 +1,12 @@
|
|
|
1
1
|
import { ListItemLayoutWebElementBase } from './ListItemLayoutWebElementBase';
|
|
2
2
|
/**
|
|
3
|
-
*
|
|
4
|
-
*
|
|
5
|
-
* [findListItemLayout](../functions/findListItemLayout.html).
|
|
3
|
+
* ListItemLayout is not accessible to WebDriverJS.
|
|
4
|
+
* These methods are deprecated since 16.0.0 and are not to be used.
|
|
6
5
|
*/
|
|
7
6
|
export declare class ListItemLayoutWebElement extends ListItemLayoutWebElementBase {
|
|
8
7
|
/**
|
|
8
|
+
* This method is deprecated since 16.0.0
|
|
9
|
+
*
|
|
9
10
|
* Gets the value of <code>primary</code> property.
|
|
10
11
|
* Returns primary text.
|
|
11
12
|
* @return The value of <code>primary</code> property.
|
|
@@ -13,6 +14,8 @@ export declare class ListItemLayoutWebElement extends ListItemLayoutWebElementBa
|
|
|
13
14
|
*/
|
|
14
15
|
getPrimary(): Promise<string>;
|
|
15
16
|
/**
|
|
17
|
+
* This method is deprecated since 16.0.0
|
|
18
|
+
*
|
|
16
19
|
* Gets the value of <code>secondary</code> property.
|
|
17
20
|
* Returns secondary text.
|
|
18
21
|
* @return The value of <code>secondary</code> property.
|
|
@@ -20,6 +23,8 @@ export declare class ListItemLayoutWebElement extends ListItemLayoutWebElementBa
|
|
|
20
23
|
*/
|
|
21
24
|
getSecondary(): Promise<string>;
|
|
22
25
|
/**
|
|
26
|
+
* This method is deprecated since 16.0.0
|
|
27
|
+
*
|
|
23
28
|
* Gets the value of <code>tertiary</code> property.
|
|
24
29
|
* Returns tertiary text.
|
|
25
30
|
* @return The value of <code>tertiary</code> property.
|
|
@@ -27,6 +32,8 @@ export declare class ListItemLayoutWebElement extends ListItemLayoutWebElementBa
|
|
|
27
32
|
*/
|
|
28
33
|
getTertiary(): Promise<string>;
|
|
29
34
|
/**
|
|
35
|
+
* This method is deprecated since 16.0.0
|
|
36
|
+
*
|
|
30
37
|
* Gets the value of <code>quaternary</code> property.
|
|
31
38
|
* Returns quaternary text.
|
|
32
39
|
* @return The value of <code>quaternary</code> property.
|
|
@@ -34,6 +41,8 @@ export declare class ListItemLayoutWebElement extends ListItemLayoutWebElementBa
|
|
|
34
41
|
*/
|
|
35
42
|
getQuaternary(): Promise<string>;
|
|
36
43
|
/**
|
|
44
|
+
* This method is deprecated since 16.0.0
|
|
45
|
+
*
|
|
37
46
|
* Gets the value of <code>overline</code> property.
|
|
38
47
|
* Returns overline text.
|
|
39
48
|
* @return The value of <code>overline</code> property.
|
|
@@ -3,12 +3,13 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.ListItemLayoutWebElement = void 0;
|
|
4
4
|
var ListItemLayoutWebElementBase_1 = require("./ListItemLayoutWebElementBase");
|
|
5
5
|
/**
|
|
6
|
-
*
|
|
7
|
-
*
|
|
8
|
-
* [findListItemLayout](../functions/findListItemLayout.html).
|
|
6
|
+
* ListItemLayout is not accessible to WebDriverJS.
|
|
7
|
+
* These methods are deprecated since 16.0.0 and are not to be used.
|
|
9
8
|
*/
|
|
10
9
|
class ListItemLayoutWebElement extends ListItemLayoutWebElementBase_1.ListItemLayoutWebElementBase {
|
|
11
10
|
/**
|
|
11
|
+
* This method is deprecated since 16.0.0
|
|
12
|
+
*
|
|
12
13
|
* Gets the value of <code>primary</code> property.
|
|
13
14
|
* Returns primary text.
|
|
14
15
|
* @return The value of <code>primary</code> property.
|
|
@@ -18,6 +19,8 @@ class ListItemLayoutWebElement extends ListItemLayoutWebElementBase_1.ListItemLa
|
|
|
18
19
|
return this.getProperty('primary');
|
|
19
20
|
}
|
|
20
21
|
/**
|
|
22
|
+
* This method is deprecated since 16.0.0
|
|
23
|
+
*
|
|
21
24
|
* Gets the value of <code>secondary</code> property.
|
|
22
25
|
* Returns secondary text.
|
|
23
26
|
* @return The value of <code>secondary</code> property.
|
|
@@ -27,6 +30,8 @@ class ListItemLayoutWebElement extends ListItemLayoutWebElementBase_1.ListItemLa
|
|
|
27
30
|
return this.getProperty('secondary');
|
|
28
31
|
}
|
|
29
32
|
/**
|
|
33
|
+
* This method is deprecated since 16.0.0
|
|
34
|
+
*
|
|
30
35
|
* Gets the value of <code>tertiary</code> property.
|
|
31
36
|
* Returns tertiary text.
|
|
32
37
|
* @return The value of <code>tertiary</code> property.
|
|
@@ -36,6 +41,8 @@ class ListItemLayoutWebElement extends ListItemLayoutWebElementBase_1.ListItemLa
|
|
|
36
41
|
return this.getProperty('tertiary');
|
|
37
42
|
}
|
|
38
43
|
/**
|
|
44
|
+
* This method is deprecated since 16.0.0
|
|
45
|
+
*
|
|
39
46
|
* Gets the value of <code>quaternary</code> property.
|
|
40
47
|
* Returns quaternary text.
|
|
41
48
|
* @return The value of <code>quaternary</code> property.
|
|
@@ -45,6 +52,8 @@ class ListItemLayoutWebElement extends ListItemLayoutWebElementBase_1.ListItemLa
|
|
|
45
52
|
return this.getProperty('quaternary');
|
|
46
53
|
}
|
|
47
54
|
/**
|
|
55
|
+
* This method is deprecated since 16.0.0
|
|
56
|
+
*
|
|
48
57
|
* Gets the value of <code>overline</code> property.
|
|
49
58
|
* Returns overline text.
|
|
50
59
|
* @return The value of <code>overline</code> property.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ListItemLayoutWebElement.js","sourceRoot":"","sources":["ListItemLayoutWebElement.ts"],"names":[],"mappings":";;;AAAA,+EAA8E;AAE9E
|
|
1
|
+
{"version":3,"file":"ListItemLayoutWebElement.js","sourceRoot":"","sources":["ListItemLayoutWebElement.ts"],"names":[],"mappings":";;;AAAA,+EAA8E;AAE9E;;;GAGG;AACH,MAAa,wBAAyB,SAAQ,2DAA4B;IACxE;;;;;;;OAOG;IACI,UAAU;QACf,OAAO,IAAI,CAAC,WAAW,CAAS,SAAS,CAAC,CAAC;IAC7C,CAAC;IACD;;;;;;;OAOG;IACI,YAAY;QACjB,OAAO,IAAI,CAAC,WAAW,CAAS,WAAW,CAAC,CAAC;IAC/C,CAAC;IACD;;;;;;;OAOG;IACI,WAAW;QAChB,OAAO,IAAI,CAAC,WAAW,CAAS,UAAU,CAAC,CAAC;IAC9C,CAAC;IACD;;;;;;;OAOG;IACI,aAAa;QAClB,OAAO,IAAI,CAAC,WAAW,CAAS,YAAY,CAAC,CAAC;IAChD,CAAC;IACD;;;;;;;OAOG;IACI,WAAW;QAChB,OAAO,IAAI,CAAC,WAAW,CAAS,UAAU,CAAC,CAAC;IAC9C,CAAC;CACF;AAxDD,4DAwDC","sourcesContent":["import { ListItemLayoutWebElementBase } from './ListItemLayoutWebElementBase';\n\n/**\n * ListItemLayout is not accessible to WebDriverJS.\n * These methods are deprecated since 16.0.0 and are not to be used.\n */\nexport class ListItemLayoutWebElement extends ListItemLayoutWebElementBase {\n /**\n * This method is deprecated since 16.0.0\n *\n * Gets the value of <code>primary</code> property.\n * Returns primary text.\n * @return The value of <code>primary</code> property.\n *\n */\n public getPrimary(): Promise<string> {\n return this.getProperty<string>('primary');\n }\n /**\n * This method is deprecated since 16.0.0\n *\n * Gets the value of <code>secondary</code> property.\n * Returns secondary text.\n * @return The value of <code>secondary</code> property.\n *\n */\n public getSecondary(): Promise<string> {\n return this.getProperty<string>('secondary');\n }\n /**\n * This method is deprecated since 16.0.0\n *\n * Gets the value of <code>tertiary</code> property.\n * Returns tertiary text.\n * @return The value of <code>tertiary</code> property.\n *\n */\n public getTertiary(): Promise<string> {\n return this.getProperty<string>('tertiary');\n }\n /**\n * This method is deprecated since 16.0.0\n *\n * Gets the value of <code>quaternary</code> property.\n * Returns quaternary text.\n * @return The value of <code>quaternary</code> property.\n *\n */\n public getQuaternary(): Promise<string> {\n return this.getProperty<string>('quaternary');\n }\n /**\n * This method is deprecated since 16.0.0\n *\n * Gets the value of <code>overline</code> property.\n * Returns overline text.\n * @return The value of <code>overline</code> property.\n *\n */\n public getOverline(): Promise<string> {\n return this.getProperty<string>('overline');\n }\n}\n"]}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "list-item-layout",
|
|
3
|
-
"version": "
|
|
4
|
-
"jetVersion": "^
|
|
3
|
+
"version": "17.0.0",
|
|
4
|
+
"jetVersion": "^17.0.0",
|
|
5
5
|
"pack": "oj-c",
|
|
6
6
|
"type": "composite",
|
|
7
7
|
"dependencyScope": "runtime",
|
|
@@ -23,19 +23,15 @@
|
|
|
23
23
|
}
|
|
24
24
|
],
|
|
25
25
|
"extension": {
|
|
26
|
-
"
|
|
27
|
-
"
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
26
|
+
"webelement": {
|
|
27
|
+
"exceptionStatus": [
|
|
28
|
+
{
|
|
29
|
+
"type": "deprecated",
|
|
30
|
+
"since": "16.0.0",
|
|
31
|
+
"description": "Not accessible to WebDriverJS."
|
|
32
|
+
}
|
|
32
33
|
],
|
|
33
|
-
"
|
|
34
|
-
},
|
|
35
|
-
"vbdt": {
|
|
36
|
-
"module": "oj-c/list-item-layout",
|
|
37
|
-
"defaultColumns": "12",
|
|
38
|
-
"minColumns": "2"
|
|
34
|
+
"docUrl": "https://www.oracle.com/webfolder/technetwork/jet-1700/cpwdtsdoc/classes/ListItemLayoutWebElement.html"
|
|
39
35
|
}
|
|
40
36
|
},
|
|
41
37
|
"since": "14.0.0",
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
define(["require", "exports", "preact/jsx-runtime", '@oracle/oraclejet-preact/translationBundle', "@oracle/oraclejet-preact/UNSAFE_ListItemLayout", "ojs/ojvcomponent", "css!oj-c/list-item-layout/list-item-layout-styles.css"], function (require, exports, jsx_runtime_1, translationBundle_1, UNSAFE_ListItemLayout_1, ojvcomponent_1) {
|
|
1
|
+
define(["require", "exports", "preact/jsx-runtime", '@oracle/oraclejet-preact/translationBundle', "@oracle/oraclejet-preact/UNSAFE_ListItemLayout", "@oracle/oraclejet-preact/UNSAFE_Inset", "ojs/ojvcomponent", "css!oj-c/list-item-layout/list-item-layout-styles.css"], function (require, exports, jsx_runtime_1, translationBundle_1, UNSAFE_ListItemLayout_1, UNSAFE_Inset_1, ojvcomponent_1) {
|
|
2
2
|
"use strict";
|
|
3
3
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
4
|
exports.ListItemLayout = void 0;
|
|
5
5
|
exports.ListItemLayout = (0, ojvcomponent_1.registerCustomElement)('oj-c-list-item-layout', ({ children, ...otherProps }) => {
|
|
6
6
|
const primary = children;
|
|
7
|
-
const insetStyle = { padding: otherProps.inset === 'none' ? '0' : '12px 16px' };
|
|
8
7
|
const actionSlot = otherProps.action ? ((0, jsx_runtime_1.jsx)("div", { "data-oj-clickthrough": "disabled", children: otherProps.action })) : undefined;
|
|
9
8
|
const navSlot = otherProps.navigation ? ((0, jsx_runtime_1.jsx)("div", { "data-oj-clickthrough": "disabled", children: otherProps.navigation })) : undefined;
|
|
10
|
-
|
|
9
|
+
const layout = otherProps.inset === 'none' ? ((0, jsx_runtime_1.jsx)(UNSAFE_ListItemLayout_1.ListItemLayout, { primary: primary, overline: otherProps.overline, selector: otherProps.selector, leading: otherProps.leading, secondary: otherProps.secondary, tertiary: otherProps.tertiary, metadata: otherProps.metadata, trailing: otherProps.trailing, action: actionSlot, quaternary: otherProps.quaternary, navigation: navSlot })) : ((0, jsx_runtime_1.jsx)(UNSAFE_Inset_1.Inset, { variant: "listview", children: (0, jsx_runtime_1.jsx)(UNSAFE_ListItemLayout_1.ListItemLayout, { primary: primary, overline: otherProps.overline, selector: otherProps.selector, leading: otherProps.leading, secondary: otherProps.secondary, tertiary: otherProps.tertiary, metadata: otherProps.metadata, trailing: otherProps.trailing, action: actionSlot, quaternary: otherProps.quaternary, navigation: navSlot }) }));
|
|
10
|
+
return (0, jsx_runtime_1.jsx)(ojvcomponent_1.Root, { children: layout });
|
|
11
11
|
}, "ListItemLayout", { "slots": { "": {}, "overline": {}, "selector": {}, "leading": {}, "secondary": {}, "tertiary": {}, "metadata": {}, "trailing": {}, "action": {}, "quaternary": {}, "navigation": {} }, "properties": { "inset": { "type": "string", "enumValues": ["none", "listInset"] } }, "extension": { "_OBSERVED_GLOBAL_PROPS": ["aria-label"] } }, undefined, {
|
|
12
12
|
'@oracle/oraclejet-preact': translationBundle_1.default
|
|
13
13
|
});
|
package/oj-c/list-item-layout.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
define(["require", "exports", "
|
|
1
|
+
define(["require", "exports", "oj-c/list-item-layout/list-item-layout"], function (require, exports, list_item_layout_1) {
|
|
2
2
|
"use strict";
|
|
3
3
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
4
|
exports.ListItemLayout = void 0;
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
define(["require", "exports", "preact/jsx-runtime", "preact/hooks", "@oracle/oraclejet-preact/UNSAFE_LiveRegion", "@oracle/oraclejet-preact/hooks/UNSAFE_useTranslationBundle"], function (require, exports, jsx_runtime_1, hooks_1, UNSAFE_LiveRegion_1, UNSAFE_useTranslationBundle_1) {
|
|
2
|
+
"use strict";
|
|
3
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
+
exports.DataFetchLiveRegion = void 0;
|
|
5
|
+
const MSG_DELAY = 50;
|
|
6
|
+
const DataFetchLiveRegion = (props) => {
|
|
7
|
+
const [isFetchingMsgRendered, setFetchingMsgRendered] = (0, hooks_1.useState)(false);
|
|
8
|
+
(0, hooks_1.useEffect)(() => {
|
|
9
|
+
let timeoutId;
|
|
10
|
+
if (props.isFetching) {
|
|
11
|
+
timeoutId = setTimeout(() => {
|
|
12
|
+
if (props.isFetching) {
|
|
13
|
+
setFetchingMsgRendered(true);
|
|
14
|
+
}
|
|
15
|
+
}, MSG_DELAY);
|
|
16
|
+
}
|
|
17
|
+
return () => {
|
|
18
|
+
if (timeoutId) {
|
|
19
|
+
clearTimeout(timeoutId);
|
|
20
|
+
}
|
|
21
|
+
};
|
|
22
|
+
}, [props.isFetching]);
|
|
23
|
+
const translations = (0, UNSAFE_useTranslationBundle_1.useTranslationBundle)('@oracle/oraclejet-preact');
|
|
24
|
+
if (props.isFetching) {
|
|
25
|
+
return (0, jsx_runtime_1.jsx)(UNSAFE_LiveRegion_1.LiveRegion, { timeout: MSG_DELAY, children: translations.list_msgFetchingData() });
|
|
26
|
+
}
|
|
27
|
+
return isFetchingMsgRendered ? ((0, jsx_runtime_1.jsx)(UNSAFE_LiveRegion_1.LiveRegion, { timeout: 0, children: translations.list_msgFetchCompleted() })) : ((0, jsx_runtime_1.jsx)(jsx_runtime_1.Fragment, {}));
|
|
28
|
+
};
|
|
29
|
+
exports.DataFetchLiveRegion = DataFetchLiveRegion;
|
|
30
|
+
});
|
|
@@ -13,7 +13,7 @@ export declare class ListViewWebElement extends ListViewWebElementBase {
|
|
|
13
13
|
* @override
|
|
14
14
|
* @typeparam K Type of keys
|
|
15
15
|
*/
|
|
16
|
-
changeSelected<K>(selected: Array<K>): Promise<
|
|
16
|
+
changeSelected<K>(selected: Array<K>): Promise<K>;
|
|
17
17
|
/**
|
|
18
18
|
* Gets the value of "selected" property.
|
|
19
19
|
* Retrieves the current selected items in the listview. See the Help documentation for more information.
|
|
@@ -4,6 +4,7 @@ exports.ListViewWebElement = void 0;
|
|
|
4
4
|
var ListViewWebElementBase_1 = require("./ListViewWebElementBase");
|
|
5
5
|
var selenium_webdriver_1 = require("selenium-webdriver");
|
|
6
6
|
var oraclejet_webdriver_1 = require("@oracle/oraclejet-webdriver");
|
|
7
|
+
var oj_module_proxy_1 = require("@oracle/oraclejet-webdriver/lib/oj-module-proxy");
|
|
7
8
|
/**
|
|
8
9
|
* The component WebElement for [oj-c-list-view](../../../oj-c/docs/oj.ListView.html).
|
|
9
10
|
* Do not instantiate this class directly, instead, use
|
|
@@ -20,13 +21,9 @@ class ListViewWebElement extends ListViewWebElementBase_1.ListViewWebElementBase
|
|
|
20
21
|
*/
|
|
21
22
|
async changeSelected(selected) {
|
|
22
23
|
await this.whenReady();
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
require(['ojs/ojkeyset'], (keySet) => {
|
|
27
|
-
ele.selected = new keySet.KeySetImpl(selected);
|
|
28
|
-
});
|
|
29
|
-
`, this, selected);
|
|
24
|
+
return (0, oj_module_proxy_1.executeWithModules)(this.getDriver(), ['KeySet'], [this, selected], `
|
|
25
|
+
({ KeySetImpl }, ele, selected) => ele.selected = new KeySetImpl(selected)
|
|
26
|
+
`);
|
|
30
27
|
}
|
|
31
28
|
/**
|
|
32
29
|
* Gets the value of "selected" property.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ListViewWebElement.js","sourceRoot":"","sources":["ListViewWebElement.ts"],"names":[],"mappings":";;;AAAA,mEAAkE;AAClE,yDAAoD;AACpD,mEAAmE;AACnE;;;;GAIG;AACH,MAAa,kBAAmB,SAAQ,+CAAsB;IAC5D,qBAAqB;IACrB;;;;;;OAMG;IACH,KAAK,CAAC,cAAc,CAAI,QAAkB;QACxC,MAAM,IAAI,CAAC,SAAS,EAAE,CAAC;QACvB,
|
|
1
|
+
{"version":3,"file":"ListViewWebElement.js","sourceRoot":"","sources":["ListViewWebElement.ts"],"names":[],"mappings":";;;AAAA,mEAAkE;AAClE,yDAAoD;AACpD,mEAAmE;AACnE,mFAAqF;AACrF;;;;GAIG;AACH,MAAa,kBAAmB,SAAQ,+CAAsB;IAC5D,qBAAqB;IACrB;;;;;;OAMG;IACH,KAAK,CAAC,cAAc,CAAI,QAAkB;QACxC,MAAM,IAAI,CAAC,SAAS,EAAE,CAAC;QACvB,OAAO,IAAA,oCAAkB,EACvB,IAAI,CAAC,SAAS,EAAE,EAChB,CAAC,QAAQ,CAAC,EACV,CAAC,IAAI,EAAE,QAAQ,CAAC,EAChB;;KAED,CACA,CAAC;IACJ,CAAC;IAED;;;;;;OAMG;IACH,KAAK,CAAC,WAAW;QACf,MAAM,IAAI,CAAC,SAAS,EAAE,CAAC;QACvB,MAAM,QAAQ,GAAa,MAAM,IAAI,CAAC,SAAS,EAAE,CAAC,aAAa,CAC7D;;;;;KAKD,EACC,IAAI,CACL,CAAC;QACF,OAAO,QAAQ,CAAC;IAClB,CAAC;IAED;;;OAGG;IACH,KAAK,CAAC,QAAQ,CAAI,WAAuB;QACvC,MAAM,IAAI,CAAC,SAAS,EAAE,CAAC;QACvB,IAAI,EAAE,GAAG,MAAM,IAAI,CAAC,SAAS,EAAE,CAAC,aAAa,CAC3C;;;;;;;KAOD,EACC,IAAI,EACJ,WAAW,CAAC,GAAG,CAChB,CAAC;QAEF,IAAI,EAAE,EAAE,CAAC;YACP,EAAE,GAAG,EAAE,CAAC,WAAW,CAAC,uBAAE,CAAC,GAAG,CAAC,mBAAmB,CAAC,CAAC,CAAC;YACjD,OAAO,IAAA,+BAAS,EAAC,EAAE,EAAE,IAAI,CAAC,CAAC;QAC7B,CAAC;aAAM,CAAC;YACN,MAAM,KAAK,CAAC,iDAAiD,CAAC,CAAC;QACjE,CAAC;IACH,CAAC;CACF;AApED,gDAoEC","sourcesContent":["import { ListViewWebElementBase } from './ListViewWebElementBase';\nimport { By, WebElement } from 'selenium-webdriver';\nimport { SlotProxy, slotProxy } from '@oracle/oraclejet-webdriver';\nimport { executeWithModules } from '@oracle/oraclejet-webdriver/lib/oj-module-proxy';\n/**\n * The component WebElement for [oj-c-list-view](../../../oj-c/docs/oj.ListView.html).\n * Do not instantiate this class directly, instead, use\n * [findListView](../functions/findListView.html).\n */\nexport class ListViewWebElement extends ListViewWebElementBase {\n // Put overrides here\n /**\n * Sets the value of \"selected\" property.\n * Specifies the current selected items in the listview. See the Help documentation for more information.\n * @param selected The value to set for \"selected\"\n * @override\n * @typeparam K Type of keys\n */\n async changeSelected<K>(selected: Array<K>) {\n await this.whenReady();\n return executeWithModules<K>(\n this.getDriver(),\n ['KeySet'],\n [this, selected],\n `\n ({ KeySetImpl }, ele, selected) => ele.selected = new KeySetImpl(selected)\n `\n );\n }\n\n /**\n * Gets the value of \"selected\" property.\n * Retrieves the current selected items in the listview. See the Help documentation for more information.\n * @override\n * @typeparam K Type of keys\n * @return The value of \"selected\" property.\n */\n async getSelected<K>(): Promise<Array<K>> {\n await this.whenReady();\n const selected: Array<K> = await this.getDriver().executeScript(\n `\n const ele = arguments[0];\n const selected = ele.selected.isAddAll() ? Array.from(ele.selected.deletedValues())\n : Array.from(ele.selected.values())\n return selected;\n `,\n this\n );\n return selected;\n }\n\n /**\n * Retrieve a SlotProxy which represents a single listview item.\n * @param key The key within the Collection's dataset associated with the item.\n */\n async findItem<T>(itemLocator: { key: T }): Promise<SlotProxy> {\n await this.whenReady();\n let el = await this.getDriver().executeScript<WebElement>(\n `\n const ele = arguments[0].querySelectorAll('[role = row]')\n for(let i = 0; i<ele.length; i++){\n if(ele[i].getAttribute('data-oj-key') === arguments[1].toString()){\n return ele[i];\n }\n }\n `,\n this,\n itemLocator.key\n );\n\n if (el) {\n el = el.findElement(By.css('[role=\"gridcell\"]'));\n return slotProxy(el, this);\n } else {\n throw Error(`No corresponding item found for the itemLocator`);\n }\n }\n}\n"]}
|
|
@@ -48,6 +48,20 @@ export declare class ListViewWebElementBase extends OjWebElement {
|
|
|
48
48
|
*
|
|
49
49
|
*/
|
|
50
50
|
getSelectionMode(): Promise<string>;
|
|
51
|
+
/**
|
|
52
|
+
* Gets the value of <code>contextMenuConfig</code> property.
|
|
53
|
+
* Specifies a context menu configuration.
|
|
54
|
+
* @return The value of <code>contextMenuConfig</code> property.
|
|
55
|
+
*
|
|
56
|
+
*/
|
|
57
|
+
getContextMenuConfig(): Promise<ContextMenuConfig>;
|
|
58
|
+
/**
|
|
59
|
+
* Gets the value of <code>reorderable</code> property.
|
|
60
|
+
* Specify the item reordering functionality.
|
|
61
|
+
* @return The value of <code>reorderable</code> property.
|
|
62
|
+
*
|
|
63
|
+
*/
|
|
64
|
+
getReorderable(): Promise<Reorderable>;
|
|
51
65
|
}
|
|
52
66
|
export interface Gridlines {
|
|
53
67
|
/**
|
|
@@ -73,3 +87,15 @@ export interface ScrollPolicyOptions {
|
|
|
73
87
|
*/
|
|
74
88
|
scroller: string;
|
|
75
89
|
}
|
|
90
|
+
export interface ContextMenuConfig {
|
|
91
|
+
/**
|
|
92
|
+
*
|
|
93
|
+
*/
|
|
94
|
+
accessibleLabel: string;
|
|
95
|
+
}
|
|
96
|
+
export interface Reorderable {
|
|
97
|
+
/**
|
|
98
|
+
*
|
|
99
|
+
*/
|
|
100
|
+
items: string;
|
|
101
|
+
}
|
|
@@ -63,6 +63,24 @@ class ListViewWebElementBase extends elements_1.OjWebElement {
|
|
|
63
63
|
getSelectionMode() {
|
|
64
64
|
return this.getProperty('selectionMode');
|
|
65
65
|
}
|
|
66
|
+
/**
|
|
67
|
+
* Gets the value of <code>contextMenuConfig</code> property.
|
|
68
|
+
* Specifies a context menu configuration.
|
|
69
|
+
* @return The value of <code>contextMenuConfig</code> property.
|
|
70
|
+
*
|
|
71
|
+
*/
|
|
72
|
+
getContextMenuConfig() {
|
|
73
|
+
return this.getProperty('contextMenuConfig');
|
|
74
|
+
}
|
|
75
|
+
/**
|
|
76
|
+
* Gets the value of <code>reorderable</code> property.
|
|
77
|
+
* Specify the item reordering functionality.
|
|
78
|
+
* @return The value of <code>reorderable</code> property.
|
|
79
|
+
*
|
|
80
|
+
*/
|
|
81
|
+
getReorderable() {
|
|
82
|
+
return this.getProperty('reorderable');
|
|
83
|
+
}
|
|
66
84
|
}
|
|
67
85
|
exports.ListViewWebElementBase = ListViewWebElementBase;
|
|
68
86
|
//# sourceMappingURL=ListViewWebElementBase.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ListViewWebElementBase.js","sourceRoot":"","sources":["ListViewWebElementBase.ts"],"names":[],"mappings":";;;AAAA,iEAAoE;AAEpE;;;;;GAKG;AACH,MAAa,sBAAuB,SAAQ,uBAAY;IACtD;;;;;OAKG;IACI,cAAc;QACnB,OAAO,IAAI,CAAC,WAAW,CAAM,aAAa,CAAC,CAAC;IAC9C,CAAC;IAED;;;;;OAKG;IACI,YAAY;QACjB,OAAO,IAAI,CAAC,WAAW,CAAY,WAAW,CAAC,CAAC;IAClD,CAAC;IAED;;;;;OAKG;IACI,sBAAsB;QAC3B,OAAO,IAAI,CAAC,WAAW,CAAsB,qBAAqB,CAAC,CAAC;IACtE,CAAC;IAED;;;;;OAKG;IACI,cAAc,CAAC,QAAgB;QACpC,OAAO,IAAI,CAAC,WAAW,CAAS,UAAU,EAAE,QAAQ,CAAC,CAAC;IACxD,CAAC;IAED;;;;;OAKG;IACI,WAAW;QAChB,OAAO,IAAI,CAAC,WAAW,CAAS,UAAU,CAAC,CAAC;IAC9C,CAAC;IAED;;;;;OAKG;IACI,gBAAgB;QACrB,OAAO,IAAI,CAAC,WAAW,CAAS,eAAe,CAAC,CAAC;IACnD,CAAC;CACF;
|
|
1
|
+
{"version":3,"file":"ListViewWebElementBase.js","sourceRoot":"","sources":["ListViewWebElementBase.ts"],"names":[],"mappings":";;;AAAA,iEAAoE;AAEpE;;;;;GAKG;AACH,MAAa,sBAAuB,SAAQ,uBAAY;IACtD;;;;;OAKG;IACI,cAAc;QACnB,OAAO,IAAI,CAAC,WAAW,CAAM,aAAa,CAAC,CAAC;IAC9C,CAAC;IAED;;;;;OAKG;IACI,YAAY;QACjB,OAAO,IAAI,CAAC,WAAW,CAAY,WAAW,CAAC,CAAC;IAClD,CAAC;IAED;;;;;OAKG;IACI,sBAAsB;QAC3B,OAAO,IAAI,CAAC,WAAW,CAAsB,qBAAqB,CAAC,CAAC;IACtE,CAAC;IAED;;;;;OAKG;IACI,cAAc,CAAC,QAAgB;QACpC,OAAO,IAAI,CAAC,WAAW,CAAS,UAAU,EAAE,QAAQ,CAAC,CAAC;IACxD,CAAC;IAED;;;;;OAKG;IACI,WAAW;QAChB,OAAO,IAAI,CAAC,WAAW,CAAS,UAAU,CAAC,CAAC;IAC9C,CAAC;IAED;;;;;OAKG;IACI,gBAAgB;QACrB,OAAO,IAAI,CAAC,WAAW,CAAS,eAAe,CAAC,CAAC;IACnD,CAAC;IAED;;;;;OAKG;IACI,oBAAoB;QACzB,OAAO,IAAI,CAAC,WAAW,CAAoB,mBAAmB,CAAC,CAAC;IAClE,CAAC;IAED;;;;;OAKG;IACI,cAAc;QACnB,OAAO,IAAI,CAAC,WAAW,CAAc,aAAa,CAAC,CAAC;IACtD,CAAC;CACF;AAhFD,wDAgFC","sourcesContent":["import { OjWebElement } from '@oracle/oraclejet-webdriver/elements';\n\n/**\n * This is the base class for oj-c-list-view 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, ListViewWebElement.ts.\n */\nexport class ListViewWebElementBase extends OjWebElement {\n /**\n * Gets the value of <code>currentItem</code> property.\n * The item that currently has keyboard focus\n * @return The value of <code>currentItem</code> property.\n *\n */\n public getCurrentItem(): Promise<any> {\n return this.getProperty<any>('currentItem');\n }\n\n /**\n * Gets the value of <code>gridlines</code> property.\n * Specifies whether the grid lines should be visible.\n * @return The value of <code>gridlines</code> property.\n *\n */\n public getGridlines(): Promise<Gridlines> {\n return this.getProperty<Gridlines>('gridlines');\n }\n\n /**\n * Gets the value of <code>scrollPolicyOptions</code> property.\n * Specifies fetch options for scrolling behaviors that trigger data fetches.\n * @return The value of <code>scrollPolicyOptions</code> property.\n *\n */\n public getScrollPolicyOptions(): Promise<ScrollPolicyOptions> {\n return this.getProperty<ScrollPolicyOptions>('scrollPolicyOptions');\n }\n\n /**\n * Sets the value of <code>selected</code> property.\n * The selected property\n * @param selected The value to set for <code>selected</code>\n *\n */\n public changeSelected(selected: object): Promise<void> {\n return this.setProperty<object>('selected', selected);\n }\n\n /**\n * Gets the value of <code>selected</code> property.\n * The selected property\n * @return The value of <code>selected</code> property.\n *\n */\n public getSelected(): Promise<object> {\n return this.getProperty<object>('selected');\n }\n\n /**\n * Gets the value of <code>selectionMode</code> property.\n * Type of selection behavior for the ListView\n * @return The value of <code>selectionMode</code> property.\n *\n */\n public getSelectionMode(): Promise<string> {\n return this.getProperty<string>('selectionMode');\n }\n\n /**\n * Gets the value of <code>contextMenuConfig</code> property.\n * Specifies a context menu configuration.\n * @return The value of <code>contextMenuConfig</code> property.\n *\n */\n public getContextMenuConfig(): Promise<ContextMenuConfig> {\n return this.getProperty<ContextMenuConfig>('contextMenuConfig');\n }\n\n /**\n * Gets the value of <code>reorderable</code> property.\n * Specify the item reordering functionality.\n * @return The value of <code>reorderable</code> property.\n *\n */\n public getReorderable(): Promise<Reorderable> {\n return this.getProperty<Reorderable>('reorderable');\n }\n}\nexport interface Gridlines {\n /**\n *\n */\n item: string;\n /**\n *\n */\n top: string;\n /**\n *\n */\n bottom: string;\n}\nexport interface ScrollPolicyOptions {\n /**\n *\n */\n fetchSize: number;\n /**\n *\n */\n scroller: string;\n}\nexport interface ContextMenuConfig {\n /**\n *\n */\n accessibleLabel: string;\n}\nexport interface Reorderable {\n /**\n *\n */\n items: string;\n}\n"]}
|