@oracle/oraclejet-webdriver 18.1.5 → 19.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/elements/oj-chart/OjChart.d.ts +1 -1
- package/elements/oj-chart/OjChart.js +1 -1
- package/elements/oj-chart/OjChartBase.d.ts +21 -0
- package/elements/oj-data-grid/OjDataGridBase.d.ts +27 -1
- package/elements/oj-data-grid/OjDataGridBase.js +18 -0
- package/elements/oj-data-grid/OjDataGridBase.js.map +1 -1
- package/elements/oj-input-time/OjInputTimeBase.d.ts +18 -7
- package/elements/oj-input-time/OjInputTimeBase.js +7 -7
- package/elements/oj-list-view/OjListView.d.ts +25 -0
- package/elements/oj-list-view/OjListView.js +28 -1
- package/elements/oj-list-view/OjListView.js.map +1 -1
- package/elements/oj-list-view/OjListViewBase.d.ts +23 -0
- package/elements/oj-n-box/OjNBoxBase.d.ts +3 -0
- package/elements/oj-spark-chart/OjSparkChartBase.d.ts +2 -2
- package/elements/oj-spark-chart/OjSparkChartBase.js +2 -2
- package/elements/oj-status-meter-gauge/OjStatusMeterGauge.d.ts +2 -2
- package/elements/oj-status-meter-gauge/OjStatusMeterGauge.js +2 -2
- package/elements/oj-stream-list/OjStreamListBase.d.ts +2 -2
- package/elements/oj-tab-bar/OjTabBar.d.ts +23 -0
- package/elements/oj-tab-bar/OjTabBar.js +41 -0
- package/elements/oj-tab-bar/OjTabBar.js.map +1 -1
- package/elements/oj-tab-bar/OjTabBarBase.d.ts +20 -0
- package/elements/oj-table/OjTableBase.d.ts +8 -0
- package/elements/oj-thematic-map/OjThematicMapBase.d.ts +11 -4
- package/elements/oj-timeline/OjTimelineBase.d.ts +3 -0
- package/elements/oj-waterfall-layout/OjWaterfallLayoutBase.d.ts +8 -1
- package/elements/oj-waterfall-layout/OjWaterfallLayoutBase.js +9 -0
- package/elements/oj-waterfall-layout/OjWaterfallLayoutBase.js.map +1 -1
- package/index.d.ts +4 -7
- package/index.js +37 -9
- package/index.js.map +1 -1
- package/lib/ScreenshotManager.js +35 -2
- package/lib/ScreenshotManager.js.map +1 -1
- package/lib/busy-context-utils.d.ts +1 -0
- package/lib/busy-context-utils.js +22 -2
- package/lib/busy-context-utils.js.map +1 -1
- package/lib/driver-manager.d.ts +1 -206
- package/lib/driver-manager.js +6 -314
- package/lib/driver-manager.js.map +1 -1
- package/lib/driver-override.js +38 -5
- package/lib/driver-override.js.map +1 -1
- package/lib/file-picker-utils.js +35 -2
- package/lib/file-picker-utils.js.map +1 -1
- package/package.json +36 -30
- package/src/elements/oj-chart/OjChart.ts +1 -1
- package/src/elements/oj-chart/OjChartBase.ts +21 -0
- package/src/elements/oj-data-grid/OjDataGridBase.ts +33 -1
- package/src/elements/oj-input-time/OjInputTimeBase.ts +18 -7
- package/src/elements/oj-list-view/OjListView.ts +40 -1
- package/src/elements/oj-list-view/OjListViewBase.ts +23 -0
- package/src/elements/oj-n-box/OjNBoxBase.ts +3 -0
- package/src/elements/oj-spark-chart/OjSparkChartBase.ts +2 -2
- package/src/elements/oj-status-meter-gauge/OjStatusMeterGauge.ts +2 -2
- package/src/elements/oj-stream-list/OjStreamListBase.ts +2 -2
- package/src/elements/oj-tab-bar/OjTabBar.ts +57 -1
- package/src/elements/oj-tab-bar/OjTabBarBase.ts +20 -0
- package/src/elements/oj-table/OjTableBase.ts +8 -0
- package/src/elements/oj-thematic-map/OjThematicMapBase.ts +11 -4
- package/src/elements/oj-timeline/OjTimelineBase.ts +3 -0
- package/src/elements/oj-waterfall-layout/OjWaterfallLayoutBase.ts +11 -1
- package/src/index.ts +5 -12
- package/src/lib/busy-context-utils.ts +34 -3
- package/src/lib/driver-manager.ts +9 -350
- package/src/lib/driver-override.ts +7 -4
- package/tsconfig.json +2 -2
- package/wdtsdoc/assets/navigation.js +1 -1
- package/wdtsdoc/assets/search.js +1 -1
- package/wdtsdoc/classes/elements.OjChart.html +1 -1
- package/wdtsdoc/classes/elements.OjDataGrid.html +11 -3
- package/wdtsdoc/classes/elements.OjInputTime.html +26 -19
- package/wdtsdoc/classes/elements.OjListView.html +13 -2
- package/wdtsdoc/classes/elements.OjSparkChart.html +7 -5
- package/wdtsdoc/classes/elements.OjStatusMeterGauge.html +2 -2
- package/wdtsdoc/classes/elements.OjTabBar.html +15 -2
- package/wdtsdoc/classes/elements.OjWaterfallLayout.html +6 -2
- package/wdtsdoc/classes/elements._internal_.OjDataGridBase.html +10 -2
- package/wdtsdoc/classes/elements._internal_.OjInputTimeBase.html +26 -19
- package/wdtsdoc/classes/elements._internal_.OjSparkChartBase.html +7 -5
- package/wdtsdoc/classes/elements._internal_.OjWaterfallLayoutBase.html +6 -2
- package/wdtsdoc/classes/index.DriverManager.html +19 -9
- package/wdtsdoc/interfaces/elements._internal_.Areas.html +7 -5
- package/wdtsdoc/interfaces/elements._internal_.DndDropRows-1.html +3 -1
- package/wdtsdoc/interfaces/elements._internal_.Item.html +5 -3
- package/wdtsdoc/interfaces/elements._internal_.Links.html +7 -5
- package/wdtsdoc/interfaces/elements._internal_.LinksEndLocation.html +2 -2
- package/wdtsdoc/interfaces/elements._internal_.LinksStartLocation.html +2 -2
- package/wdtsdoc/interfaces/elements._internal_.MajorAxis-1.html +4 -3
- package/wdtsdoc/interfaces/elements._internal_.Markers.html +7 -5
- package/wdtsdoc/interfaces/elements._internal_.MinorAxis-1.html +4 -3
- package/wdtsdoc/interfaces/elements._internal_.Overview-2.html +4 -3
- package/wdtsdoc/interfaces/elements._internal_.PickerAttributes-6.html +3 -2
- package/wdtsdoc/interfaces/elements._internal_.ScrollPosition-3.html +2 -2
- package/wdtsdoc/interfaces/elements._internal_.ScrollPosition-5.html +1 -1
- package/wdtsdoc/interfaces/elements._internal_.StyleDefaults-4.html +4 -3
- package/wdtsdoc/interfaces/elements._internal_.StyleDefaults.html +5 -1
- package/wdtsdoc/interfaces/elements._internal_.StyleDefaultsCellDefaults.html +11 -8
- package/wdtsdoc/interfaces/elements._internal_.TimePicker-2.html +7 -5
- package/wdtsdoc/interfaces/elements._internal_.Translations-20.html +27 -19
- package/wdtsdoc/interfaces/elements._internal_.Translations-24.html +58 -39
- package/wdtsdoc/interfaces/elements._internal_.Translations-48.html +13 -1
- package/wdtsdoc/interfaces/elements._internal_.Translations-49.html +3 -1
- package/wdtsdoc/interfaces/elements._internal_.Translations-7.html +8 -2
- package/wdtsdoc/interfaces/elements._internal_.Translations.html +5 -2
- package/wdtsdoc/interfaces/elements._internal_.ValueFormatsLabel.html +5 -1
- package/wdtsdoc/interfaces/{index._internal_.CapabilitiesConfiguration.html → index.DriverConfiguration.html} +4 -4
- package/wdtsdoc/interfaces/index._internal_.BufferConstructor.html +1 -1
- package/wdtsdoc/interfaces/index._internal_.ZlibOptions.html +1 -1
- package/wdtsdoc/modules/index._internal_.html +0 -1
- package/wdtsdoc/modules/index.html +2 -1
- package/lib/version-check.d.ts +0 -11
- package/lib/version-check.js +0 -32
- package/lib/version-check.js.map +0 -1
- package/src/lib/version-check.ts +0 -38
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"file-picker-utils.js","sourceRoot":"","sources":["../src/lib/file-picker-utils.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"file-picker-utils.js","sourceRoot":"","sources":["../src/lib/file-picker-utils.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,uCAAyB;AACzB,2CAA6B;AAE7B,6DAA4D;AAE5D,MAAM,aAAa,GAAG,uBAAuB,CAAC;AAC9C,MAAM,cAAc,GAAG,OAAO,CAAC;AAkB/B;;;;;;;;;GASG;AACI,MAAM,cAAc,GAAG,KAAK,EACjC,MAAiB,EACjB,KAA4C,EAC5C,EAAE;IACF,MAAM,IAAA,yCAAoB,EAAC,MAAM,CAAC,CAAC;IACnC,gCAAgC;IAChC,MAAM,QAAQ,GAAG,KAAK,CAAC,GAAG,CAAC,CAAC,EAAE,IAAI,EAAE,QAAQ,EAAE,IAAI,EAAE,EAAE,EAAE;QACtD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CAAC;YACjD,CAAC,CAAC;QACJ,CAAC;QACA,gBAAwB,CAAC,SAAS,CAAC,eAAe,GAAG,QAAQ,CAAC;IACjE,CAAC,EACD,QAAQ,CAAC,MAAM,EACf,aAAa,EACb,cAAc,CACf,CAAC;AACJ,CAAC,CAAC;AApGW,QAAA,cAAc,kBAoGzB;AAEF;;;;;;;;GAQG;AACI,MAAM,QAAQ,GAAG,KAAK,EAC3B,MAAkB,EAClB,KAA4C,EAC5C,EAAE;IACF,MAAM,MAAM,GAAG,MAAM,CAAC,SAAS,EAAE,CAAC;IAClC,MAAM,IAAA,sBAAc,EAAC,MAAM,EAAE,KAAK,CAAC,CAAC;IACpC,MAAM,MAAM,CAAC,aAAa,CAAC,CAAC,EAAO,EAAE,EAAE,CAAC,EAAE,CAAC,UAAU,CAAC,KAAK,EAAE,EAAE,MAAM,CAAC,CAAC;IACvE,OAAO,IAAA,yCAAoB,EAAC,MAAM,CAAC,CAAC;AACtC,CAAC,CAAC;AARW,QAAA,QAAQ,YAQnB"}
|
package/package.json
CHANGED
|
@@ -2,43 +2,25 @@
|
|
|
2
2
|
"name": "@oracle/oraclejet-webdriver",
|
|
3
3
|
"description": "Oracle JET WebDriverJS WebElements",
|
|
4
4
|
"config": {
|
|
5
|
-
"revision": "2025-
|
|
5
|
+
"revision": "2025-08-12_09-40-56"
|
|
6
6
|
},
|
|
7
7
|
"scripts": {
|
|
8
|
-
"build": "
|
|
9
|
-
"
|
|
8
|
+
"build": "turbo run-build --filter=@oracle/oraclejet-webdriver",
|
|
9
|
+
"check-types": "turbo run-check-types --filter=@oracle/oraclejet-webdriver -- ",
|
|
10
|
+
"clean": "rimraf built dist test/built test_results",
|
|
10
11
|
"compile": "tsc -p dist/tsconfig.json --outDir dist",
|
|
11
12
|
"copy": "copyfiles LICENSE README.md tsconfig.json 'bin/**' 'src/**' dist",
|
|
12
|
-
"create-webelements": "jet-internal/generate-jet ../../built/metadata/components/allComponents.json && prettier --write 'src/**/*.ts'",
|
|
13
|
-
"do-build": "yarn clean && yarn create-webelements && yarn copy && yarn merge-pkg && yarn compile && yarn doc || (yarn rename-dist && exit 1)",
|
|
13
|
+
"create-webelements": "jet-internal/generate-jet ../../built/metadata/components/allComponents.json && prettier --write 'src/**/*.ts' --log-level error",
|
|
14
14
|
"doc": "typedoc --out dist/wdtsdoc --options typedoc/typedoc.json",
|
|
15
15
|
"merge-pkg": "mergeJson package.json src/package-overrides.json dist/package.json",
|
|
16
|
+
"lint": "turbo run-lint --filter=@oracle/oraclejet-webdriver -- ",
|
|
16
17
|
"package": "cd dist && npm pack",
|
|
17
|
-
"
|
|
18
|
+
"run-build": "yarn create-webelements && yarn copy && yarn merge-pkg && yarn compile && yarn doc || exit 1",
|
|
19
|
+
"run-check-types": "tsc --noEmit",
|
|
20
|
+
"run-lint": "eslint",
|
|
18
21
|
"test": "jest -c test/jest.config.js",
|
|
19
22
|
"test-ci-headless": "yarn test --maxWorkers=1"
|
|
20
23
|
},
|
|
21
|
-
"dependencies": {
|
|
22
|
-
"@oracle/oraclejet": "18.1.5"
|
|
23
|
-
},
|
|
24
|
-
"devDependencies": {
|
|
25
|
-
"@jest/globals": "29.6.2",
|
|
26
|
-
"@oracle/oraclejet-internal-test-utils": "workspace:^",
|
|
27
|
-
"@oracle/oraclejet-internal-ws-build": "workspace:^",
|
|
28
|
-
"@types/chai": "~4.3",
|
|
29
|
-
"chai": "4.5.0",
|
|
30
|
-
"copyfiles": "2.4.1",
|
|
31
|
-
"fs-extra": "10.1.0",
|
|
32
|
-
"jest": "29.6.2",
|
|
33
|
-
"jest-environment-jsdom": "29.6.2",
|
|
34
|
-
"prettier": "3.0.3",
|
|
35
|
-
"renamer": "^4.0.0",
|
|
36
|
-
"rimraf": "3.0.2",
|
|
37
|
-
"typedoc": "0.25.3",
|
|
38
|
-
"typedoc-plugin-missing-exports": "2.2.0",
|
|
39
|
-
"typescript": "5.7.2",
|
|
40
|
-
"typescript-parser": "^2.6.1"
|
|
41
|
-
},
|
|
42
24
|
"files": [
|
|
43
25
|
"*"
|
|
44
26
|
],
|
|
@@ -74,8 +56,32 @@
|
|
|
74
56
|
}
|
|
75
57
|
},
|
|
76
58
|
"peerDependencies": {
|
|
77
|
-
"
|
|
78
|
-
|
|
59
|
+
"selenium-webdriver": ">=4.0.0"
|
|
60
|
+
},
|
|
61
|
+
"dependencies": {
|
|
62
|
+
"@oracle/oraclejet": "19.0.0",
|
|
63
|
+
"@oracle/oraclejet-selenium-driver": "19.0.0"
|
|
64
|
+
},
|
|
65
|
+
"devDependencies": {
|
|
66
|
+
"@jest/globals": "29.6.2",
|
|
67
|
+
"@oracle/oraclejet-config-eslint": "workspace:*",
|
|
68
|
+
"@oracle/oraclejet-config-jest": "workspace:*",
|
|
69
|
+
"@oracle/oraclejet-internal-ws-build": "workspace:^",
|
|
70
|
+
"@types/chai": "~4.3",
|
|
71
|
+
"chai": "4.5.0",
|
|
72
|
+
"copyfiles": "2.4.1",
|
|
73
|
+
"eslint": "9.24.0",
|
|
74
|
+
"fs-extra": "10.1.0",
|
|
75
|
+
"jest": "29.6.2",
|
|
76
|
+
"jest-environment-jsdom": "29.6.2",
|
|
77
|
+
"prettier": "3.0.3",
|
|
78
|
+
"rimraf": "3.0.2",
|
|
79
|
+
"turbo": "2.3.3",
|
|
80
|
+
"typedoc": "0.25.3",
|
|
81
|
+
"typedoc-plugin-missing-exports": "2.2.0",
|
|
82
|
+
"typescript": "5.8.3",
|
|
83
|
+
"typescript-eslint": "8.29.1",
|
|
84
|
+
"typescript-parser": "^2.6.1"
|
|
79
85
|
},
|
|
80
|
-
"version": "
|
|
86
|
+
"version": "19.0.0"
|
|
81
87
|
}
|
|
@@ -12,7 +12,7 @@ import { OjChartBase } from './OjChartBase';
|
|
|
12
12
|
* [ojChart](../functions/elements.ojChart-1.html).
|
|
13
13
|
* <h4>Migration</h4>
|
|
14
14
|
* oj-chart is being broken down into multiple core pack chart components.
|
|
15
|
-
* When you migrate a page from using [oj-chart](../../jsdocs/oj.ojChart.html) to new core pack chart components [oj-c-line-chart](../../jsdocs/oj-c.LineChart.html), [oj-c-area-chart](../../jsdocs/oj-c.AreaChart.html),
|
|
15
|
+
* When you migrate a page from using [oj-chart](../../jsdocs/oj.ojChart.html) to new core pack chart components [oj-c-line-chart](../../jsdocs/oj-c.LineChart.html), [oj-c-area-chart](../../jsdocs/oj-c.AreaChart.html), etc you will also need to migrate your WebDriver tests from OjChart to, LineChartWebElement, AreaChartWebElement, etc. To do that you will need to revise type and locator instances as follows
|
|
16
16
|
* </br><b>Type:</b> from OjChart to [LineChartWebElement](../../cpwdtsdoc/classes/LineChartWebElement.html)
|
|
17
17
|
* </br><b>Locator:</b> from [ojChart](../functions/elements.ojChart-1.html) to [findLineChart](../../cpwdtsdoc/functions/findLineChart.html)
|
|
18
18
|
* </br>For more details on migrating from legacy to core pack please see component's [migration section](../../jsdocs/oj.ojChart.html#migration-section)
|
|
@@ -1136,6 +1136,10 @@ export interface StyleDefaults {
|
|
|
1136
1136
|
* An object defining the style for hierarchical label separators.
|
|
1137
1137
|
*/
|
|
1138
1138
|
groupSeparators: StyleDefaultsGroupSeparators;
|
|
1139
|
+
/**
|
|
1140
|
+
* Specifies whether labels will be hidden to avoid overlap. Only applies to scatter chart.
|
|
1141
|
+
*/
|
|
1142
|
+
hideOverlappingLabels: string;
|
|
1139
1143
|
/**
|
|
1140
1144
|
* Specifies initial hover delay in milliseconds for highlighting items in chart.
|
|
1141
1145
|
*/
|
|
@@ -1196,6 +1200,10 @@ export interface StyleDefaults {
|
|
|
1196
1200
|
* Specifies the radius of the inner circle that can be used to create a donut chart. Valid values range from 0 (default) to 1. Not supported if 3D effect is on.
|
|
1197
1201
|
*/
|
|
1198
1202
|
pieInnerRadius: number;
|
|
1203
|
+
/**
|
|
1204
|
+
* If set to "on", the chart will attempt to reposition labels to reduce visual overlap. If set to "off", labels will remain in their specified data label position and may overlap. Only applies to scatter chart.
|
|
1205
|
+
*/
|
|
1206
|
+
resolveLabelOverlap: string;
|
|
1199
1207
|
/**
|
|
1200
1208
|
* The selection effect that is applied to selected items. The values explode and highlightAndExplode only apply to pie charts.
|
|
1201
1209
|
*/
|
|
@@ -1333,6 +1341,11 @@ export interface Translations {
|
|
|
1333
1341
|
* Used to display a count out of a total.
|
|
1334
1342
|
*/
|
|
1335
1343
|
labelCountWithTotal: string;
|
|
1344
|
+
/**
|
|
1345
|
+
* Used for the data label value in the tooltip. Only applies to scatter chart.
|
|
1346
|
+
* @deprecated Since 19.0.0. Applications should override the translated string for the whole application and not just an individual element instance.
|
|
1347
|
+
*/
|
|
1348
|
+
labelDataLabel: string;
|
|
1336
1349
|
/**
|
|
1337
1350
|
* Label for data visualizations used for accessibility.
|
|
1338
1351
|
*/
|
|
@@ -1603,6 +1616,14 @@ export interface ValueFormatsLabel {
|
|
|
1603
1616
|
* The scaling behavior of the value. When using a converter, scaling should be set to none, as the formatted result may not be compatible with the scaling suffixes.
|
|
1604
1617
|
*/
|
|
1605
1618
|
scaling: string;
|
|
1619
|
+
/**
|
|
1620
|
+
* Whether the label is displayed in the tooltip. Only applies to scatter chart.
|
|
1621
|
+
*/
|
|
1622
|
+
tooltipDisplay: string;
|
|
1623
|
+
/**
|
|
1624
|
+
* A string representing the label that is displayed before the value in the tooltip. Only applies to scatter chart.
|
|
1625
|
+
*/
|
|
1626
|
+
tooltipLabel: string;
|
|
1606
1627
|
}
|
|
1607
1628
|
export interface ValueFormatsLow {
|
|
1608
1629
|
/**
|
|
@@ -67,6 +67,26 @@ export class OjDataGridBase extends OjWebElement {
|
|
|
67
67
|
return this.getProperty<Dnd>('dnd');
|
|
68
68
|
}
|
|
69
69
|
|
|
70
|
+
/**
|
|
71
|
+
* Sets the value of <code>editCell</code> property.
|
|
72
|
+
* Specifies the cell currently being edited.
|
|
73
|
+
* @param editCell The value to set for <code>editCell</code>
|
|
74
|
+
*
|
|
75
|
+
*/
|
|
76
|
+
public changeEditCell(editCell: object): Promise<void> {
|
|
77
|
+
return this.setProperty<object>('editCell', editCell);
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
/**
|
|
81
|
+
* Gets the value of <code>editCell</code> property.
|
|
82
|
+
* Specifies the cell currently being edited.
|
|
83
|
+
* @return The value of <code>editCell</code> property.
|
|
84
|
+
*
|
|
85
|
+
*/
|
|
86
|
+
public getEditCell(): Promise<object> {
|
|
87
|
+
return this.getProperty<object>('editCell');
|
|
88
|
+
}
|
|
89
|
+
|
|
70
90
|
/**
|
|
71
91
|
* Sets the value of <code>editMode</code> property.
|
|
72
92
|
* Specifies if the grid is read-only or editable.
|
|
@@ -960,10 +980,22 @@ export interface Translations {
|
|
|
960
980
|
* Provides properties to customize the accessible text when a cell contains controls.
|
|
961
981
|
*/
|
|
962
982
|
accessibleContainsControls: string;
|
|
983
|
+
/**
|
|
984
|
+
* Provides properties to customize the accessible context when the last logical element in the grid is reached.
|
|
985
|
+
*/
|
|
986
|
+
accessibleEndOfDataGrid: string;
|
|
963
987
|
/**
|
|
964
988
|
* Provides properties to customize the accessible context when a row is expanded.
|
|
965
989
|
*/
|
|
966
990
|
accessibleExpanded: string;
|
|
991
|
+
/**
|
|
992
|
+
* Provides properties to customize the accessible text when a header is able to be filtered.
|
|
993
|
+
*/
|
|
994
|
+
accessibleFilterable: string;
|
|
995
|
+
/**
|
|
996
|
+
* Provides properties to customize the accessible text when a header is filtered.
|
|
997
|
+
*/
|
|
998
|
+
accessibleFiltered: string;
|
|
967
999
|
/**
|
|
968
1000
|
* Provides properties to customize the accessible context when the first column is reached.
|
|
969
1001
|
*/
|
|
@@ -1071,7 +1103,7 @@ export interface Translations {
|
|
|
1071
1103
|
*/
|
|
1072
1104
|
accessibleSortDescending: string;
|
|
1073
1105
|
/**
|
|
1074
|
-
* Provides properties to customize the
|
|
1106
|
+
* Provides properties to customize the accessible text when a header is able to be sorted.
|
|
1075
1107
|
*/
|
|
1076
1108
|
accessibleSortable: string;
|
|
1077
1109
|
/**
|
|
@@ -21,7 +21,7 @@ export class OjInputTimeBase extends OjWebElement {
|
|
|
21
21
|
* Gets the value of <code>autocomplete</code> property.
|
|
22
22
|
* Specifies a component's autocomplete state. See the Help documentation for more information.
|
|
23
23
|
* @return The value of <code>autocomplete</code> property.
|
|
24
|
-
*
|
|
24
|
+
* @deprecated Since 19.0.0. The time field in corepack contains mask segments instead of a general input, so autocomplete is not supported.
|
|
25
25
|
*/
|
|
26
26
|
public getAutocomplete(): Promise<string> {
|
|
27
27
|
return this.getProperty<string>('autocomplete');
|
|
@@ -31,7 +31,7 @@ export class OjInputTimeBase extends OjWebElement {
|
|
|
31
31
|
* Gets the value of <code>autofocus</code> property.
|
|
32
32
|
* Specifies whether the component will get input focus when the page is loaded. See the Help documentation for more information.
|
|
33
33
|
* @return The value of <code>autofocus</code> property.
|
|
34
|
-
*
|
|
34
|
+
* @deprecated Since 19.0.0. This is not recommended for accessibility reasons.
|
|
35
35
|
*/
|
|
36
36
|
public getAutofocus(): Promise<boolean> {
|
|
37
37
|
return this.getProperty<boolean>('autofocus');
|
|
@@ -101,7 +101,7 @@ export class OjInputTimeBase extends OjWebElement {
|
|
|
101
101
|
* Gets the value of <code>keyboardEdit</code> property.
|
|
102
102
|
* Specifies whether keyboard entry of text is allowed. See the Help documentation for more information.
|
|
103
103
|
* @return The value of <code>keyboardEdit</code> property.
|
|
104
|
-
*
|
|
104
|
+
* @deprecated Since 19.0.0. This is not supported in the Redwood UX specification.
|
|
105
105
|
*/
|
|
106
106
|
public getKeyboardEdit(): Promise<string> {
|
|
107
107
|
return this.getProperty<string>('keyboardEdit');
|
|
@@ -131,7 +131,7 @@ export class OjInputTimeBase extends OjWebElement {
|
|
|
131
131
|
* Gets the value of <code>labelledBy</code> property.
|
|
132
132
|
* The oj-label sets the labelledBy property programmatically on the form component. See the Help documentation for more information.
|
|
133
133
|
* @return The value of <code>labelledBy</code> property.
|
|
134
|
-
*
|
|
134
|
+
* @deprecated Since 19.0.0. This is an internal API and is not supported in the Redwood UX specification.
|
|
135
135
|
*/
|
|
136
136
|
public getLabelledBy(): Promise<string | null> {
|
|
137
137
|
return this.getProperty<string | null>('labelledBy');
|
|
@@ -191,7 +191,7 @@ export class OjInputTimeBase extends OjWebElement {
|
|
|
191
191
|
* Gets the value of <code>pickerAttributes</code> property.
|
|
192
192
|
* Specifies attributes to be set on the picker DOM element when it is launched. See the Help documentation for more information.
|
|
193
193
|
* @return The value of <code>pickerAttributes</code> property.
|
|
194
|
-
*
|
|
194
|
+
* @deprecated Since 19.0.0. Changing the Class or Style property is not recommended, as it leads to an inconsistent UI.
|
|
195
195
|
*/
|
|
196
196
|
public getPickerAttributes(): Promise<PickerAttributes> {
|
|
197
197
|
return this.getProperty<PickerAttributes>('pickerAttributes');
|
|
@@ -201,7 +201,7 @@ export class OjInputTimeBase extends OjWebElement {
|
|
|
201
201
|
* Gets the value of <code>placeholder</code> property.
|
|
202
202
|
* The placeholder text to set on the element.
|
|
203
203
|
* @return The value of <code>placeholder</code> property.
|
|
204
|
-
*
|
|
204
|
+
* @deprecated Since 19.0.0. The time field in corepack contains mask segments instead of a general input, so placeholder is not supported.
|
|
205
205
|
*/
|
|
206
206
|
public getPlaceholder(): Promise<string> {
|
|
207
207
|
return this.getProperty<string>('placeholder');
|
|
@@ -261,7 +261,7 @@ export class OjInputTimeBase extends OjWebElement {
|
|
|
261
261
|
* Gets the value of <code>timePicker</code> property.
|
|
262
262
|
* An object whose properties describe the appearance and behavior of the time picker. See the Help documentation for more information.
|
|
263
263
|
* @return The value of <code>timePicker</code> property.
|
|
264
|
-
*
|
|
264
|
+
* @deprecated Since 19.0.0. The time field does not have a picker.
|
|
265
265
|
*/
|
|
266
266
|
public getTimePicker(): Promise<TimePicker> {
|
|
267
267
|
return this.getProperty<TimePicker>('timePicker');
|
|
@@ -365,6 +365,7 @@ export interface HelpHints {
|
|
|
365
365
|
export interface PickerAttributes {
|
|
366
366
|
/**
|
|
367
367
|
*
|
|
368
|
+
* @deprecated Since 19.0.0. We are recommending not to change the Class property of pickerAttribute as it leads to an inconsistent UI.
|
|
368
369
|
*/
|
|
369
370
|
class: string;
|
|
370
371
|
/**
|
|
@@ -381,10 +382,12 @@ export interface TimePicker {
|
|
|
381
382
|
footerLayout: string;
|
|
382
383
|
/**
|
|
383
384
|
* Specifies when the time picker should be shown.
|
|
385
|
+
* @deprecated Since 19.0.0. This is not supported in the Redwood UX specification.
|
|
384
386
|
*/
|
|
385
387
|
showOn: string;
|
|
386
388
|
/**
|
|
387
389
|
* Specifies the time increment used for InputTime. See the Help documentation for more information.
|
|
390
|
+
* @deprecated Since 19.0.0. The time field in corepack contains a mask and not a picker.
|
|
388
391
|
*/
|
|
389
392
|
timeIncrement: string;
|
|
390
393
|
}
|
|
@@ -401,14 +404,17 @@ export interface Translations {
|
|
|
401
404
|
accessibleMaxLengthRemaining: string;
|
|
402
405
|
/**
|
|
403
406
|
* Label for the AM/PM wheel for accessibility.
|
|
407
|
+
* @deprecated Since 19.0.0. The Redwood UX specification does not allow this to be configurable.
|
|
404
408
|
*/
|
|
405
409
|
ampmWheelLabel: string;
|
|
406
410
|
/**
|
|
407
411
|
* The text to the cancel button.
|
|
412
|
+
* @deprecated Since 19.0.0. The Redwood UX specification does not allow this to be configurable.
|
|
408
413
|
*/
|
|
409
414
|
cancelText: string;
|
|
410
415
|
/**
|
|
411
416
|
* The text to display for the current time link.
|
|
417
|
+
* @deprecated Since 19.0.0. The Redwood UX specification does not allow this to be configurable.
|
|
412
418
|
*/
|
|
413
419
|
currentTimeText: string;
|
|
414
420
|
/**
|
|
@@ -417,14 +423,17 @@ export interface Translations {
|
|
|
417
423
|
dateTimeRange: TranslationsDateTimeRange;
|
|
418
424
|
/**
|
|
419
425
|
* Label for the Hour wheel for accessibility.
|
|
426
|
+
* @deprecated Since 19.0.0. The Redwood UX specification does not allow this to be configurable.
|
|
420
427
|
*/
|
|
421
428
|
hourWheelLabel: string;
|
|
422
429
|
/**
|
|
423
430
|
* Label for the Minute wheel for accessibility.
|
|
431
|
+
* @deprecated Since 19.0.0. The Redwood UX specification does not allow this to be configurable.
|
|
424
432
|
*/
|
|
425
433
|
minuteWheelLabel: string;
|
|
426
434
|
/**
|
|
427
435
|
* The text to the OK button.
|
|
436
|
+
* @deprecated Since 19.0.0. The Redwood UX specification does not allow this to be configurable.
|
|
428
437
|
*/
|
|
429
438
|
okText: string;
|
|
430
439
|
/**
|
|
@@ -438,10 +447,12 @@ export interface Translations {
|
|
|
438
447
|
required: TranslationsRequired;
|
|
439
448
|
/**
|
|
440
449
|
* Tooltip text for the time icon.
|
|
450
|
+
* @deprecated Since 19.0.0. The Redwood UX specification does not allow this to be configurable.
|
|
441
451
|
*/
|
|
442
452
|
tooltipTime: string;
|
|
443
453
|
/**
|
|
444
454
|
* Tooltip text for the time icon when the component is disabled.
|
|
455
|
+
* @deprecated Since 19.0.0. The Redwood UX specification does not allow this to be configurable.
|
|
445
456
|
*/
|
|
446
457
|
tooltipTimeDisabled: string;
|
|
447
458
|
}
|
|
@@ -66,8 +66,47 @@ export class OjListView extends OjListViewBase {
|
|
|
66
66
|
itemLocator.key
|
|
67
67
|
);
|
|
68
68
|
if (display === 'list') {
|
|
69
|
-
|
|
69
|
+
if (el) {
|
|
70
|
+
el = el.findElement(By.css('[role="gridcell"]'));
|
|
71
|
+
} else {
|
|
72
|
+
throw new Error('The key specified is invalid or does not exist');
|
|
73
|
+
}
|
|
70
74
|
}
|
|
71
75
|
return slotProxy(el, this);
|
|
72
76
|
}
|
|
77
|
+
|
|
78
|
+
/**
|
|
79
|
+
* Move an item specified by key to the specified position.
|
|
80
|
+
* @param key key of the item to be reordered
|
|
81
|
+
* @param position the position where the item should be move to, the value can be one of:
|
|
82
|
+
* <ul>
|
|
83
|
+
* <li>key - the key of the item to move in front of. If the key is null, the item will be move to the end of the list</li>
|
|
84
|
+
* <li>index - the index of the item relative to the root node to move in front of</li>
|
|
85
|
+
* <li>groupKey with itemIndex - the key of the group to move the item inside. The itemIndex indicates the index of the item relative to the group in which to move in front of. If not specified, then it will be moved to the end of the group</li>
|
|
86
|
+
* <li>groupIndex with itemIndex - an array of indexes to locate the group to move the item inside. The itemIndex indicates the index of the item relative to the group in which to move in front of. If not specified, then it will be moved to the end of the group</li>
|
|
87
|
+
* </ul>
|
|
88
|
+
* @override
|
|
89
|
+
* @typeparam K Type of keys
|
|
90
|
+
* @typeparam number Type of index
|
|
91
|
+
*/
|
|
92
|
+
async doReorder<K>(
|
|
93
|
+
key: K,
|
|
94
|
+
position:
|
|
95
|
+
| { index: number }
|
|
96
|
+
| { key: K | null }
|
|
97
|
+
| { groupIndex: number[]; itemIndex?: number }
|
|
98
|
+
| { groupKey: K; itemIndex?: number }
|
|
99
|
+
) {
|
|
100
|
+
await this.whenReady();
|
|
101
|
+
await executeWithModules<void>(
|
|
102
|
+
this.getDriver(),
|
|
103
|
+
['CustomElementUtils'],
|
|
104
|
+
[this, key, position],
|
|
105
|
+
({ getElementBridge }, element, key, position) => {
|
|
106
|
+
const bridge = getElementBridge(element);
|
|
107
|
+
const widget = bridge._WIDGET_INSTANCE;
|
|
108
|
+
return widget.listview._doReorderHelper(null, key, position);
|
|
109
|
+
}
|
|
110
|
+
);
|
|
111
|
+
}
|
|
73
112
|
}
|
|
@@ -258,6 +258,10 @@ export interface Gridlines {
|
|
|
258
258
|
item: string;
|
|
259
259
|
}
|
|
260
260
|
export interface Item {
|
|
261
|
+
/**
|
|
262
|
+
* Specifies the focus behavior when enter key is pressed while an item has focus.
|
|
263
|
+
*/
|
|
264
|
+
enterKeyFocusBehavior: string;
|
|
261
265
|
/**
|
|
262
266
|
* Specifies whether the item can receive keyboard focus. See the Help documentation for more information.
|
|
263
267
|
* @deprecated Since 13.0.0. Not accessible by screen reader.
|
|
@@ -319,78 +323,97 @@ export interface ScrollPosition {
|
|
|
319
323
|
export interface Translations {
|
|
320
324
|
/**
|
|
321
325
|
* Provides instruction text for group header expand or collapse
|
|
326
|
+
* @deprecated Since 19.0.0. This usage will not be supported in oj-c-list-view
|
|
322
327
|
*/
|
|
323
328
|
accessibleExpandCollapseInstructionText: string;
|
|
324
329
|
/**
|
|
325
330
|
* Provides notification for group header collapse
|
|
331
|
+
* @deprecated Since 19.0.0. This usage will not be supported in oj-c-list-view and oj-list-view
|
|
326
332
|
*/
|
|
327
333
|
accessibleGroupCollapse: string;
|
|
328
334
|
/**
|
|
329
335
|
* Provides notification for group header expand
|
|
336
|
+
* @deprecated Since 19.0.0. This usage will not be supported in oj-c-list-view and oj-list-view
|
|
330
337
|
*/
|
|
331
338
|
accessibleGroupExpand: string;
|
|
332
339
|
/**
|
|
333
340
|
* Provides properties to customize the screen reader text when focus skips a number of items as a result of up/down arrow navigation in card layout mode.
|
|
341
|
+
* @deprecated Since 19.0.0. This usage will not be supported in oj-c-list-view
|
|
334
342
|
*/
|
|
335
343
|
accessibleNavigateSkipItems: string;
|
|
336
344
|
/**
|
|
337
345
|
* Provides properties to customize the screen reader text when the tentative drop target is after a certain item.
|
|
346
|
+
* @deprecated Since 19.0.0. This usage will not be supported in oj-c-list-view
|
|
338
347
|
*/
|
|
339
348
|
accessibleReorderAfterItem: string;
|
|
340
349
|
/**
|
|
341
350
|
* Provides properties to customize the screen reader text when the tentative drop target is before a certain item.
|
|
351
|
+
* @deprecated Since 19.0.0. This usage will not be supported in oj-c-list-view
|
|
342
352
|
*/
|
|
343
353
|
accessibleReorderBeforeItem: string;
|
|
344
354
|
/**
|
|
345
355
|
* Provides properties to customize the screen reader text when the tentative drop target is inside a certain item.
|
|
356
|
+
* @deprecated Since 19.0.0. This usage will not be supported in oj-c-list-view
|
|
346
357
|
*/
|
|
347
358
|
accessibleReorderInsideItem: string;
|
|
348
359
|
/**
|
|
349
360
|
* Provides properties to customize the screen reader touch instructional text for reordering items.
|
|
361
|
+
* @deprecated Since 19.0.0. This usage will not be supported in oj-c-list-view
|
|
350
362
|
*/
|
|
351
363
|
accessibleReorderTouchInstructionText: string;
|
|
352
364
|
/**
|
|
353
365
|
* Provides properties to customize the screen reader text for suggestions returned by OARS service.
|
|
366
|
+
* @deprecated Since 19.0.0. This usage will not be supported in oj-c-list-view
|
|
354
367
|
*/
|
|
355
368
|
accessibleSuggestion: string;
|
|
356
369
|
/**
|
|
357
370
|
* Provides properties to customize the characters to display in the Indexer.
|
|
371
|
+
* @deprecated Since 19.0.0. This usage will not be supported in oj-c-list-view
|
|
358
372
|
*/
|
|
359
373
|
indexerCharacters: string;
|
|
360
374
|
/**
|
|
361
375
|
* Provides properties to customize the context menu copy label.
|
|
376
|
+
* @deprecated Since 19.0.0. This usage will not be supported in oj-c-list-view
|
|
362
377
|
*/
|
|
363
378
|
labelCopy: string;
|
|
364
379
|
/**
|
|
365
380
|
* Provides properties to customize the context menu cut label.
|
|
381
|
+
* @deprecated Since 19.0.0. This usage will not be supported in oj-c-list-view
|
|
366
382
|
*/
|
|
367
383
|
labelCut: string;
|
|
368
384
|
/**
|
|
369
385
|
* Provides properties to customize the context menu paste label.
|
|
386
|
+
* @deprecated Since 19.0.0. This usage will not be supported in oj-c-list-view
|
|
370
387
|
*/
|
|
371
388
|
labelPaste: string;
|
|
372
389
|
/**
|
|
373
390
|
* Provides properties to customize the context menu paste after label.
|
|
391
|
+
* @deprecated Since 19.0.0. This usage will not be supported in oj-c-list-view
|
|
374
392
|
*/
|
|
375
393
|
labelPasteAfter: string;
|
|
376
394
|
/**
|
|
377
395
|
* Provides properties to customize the context menu paste before label.
|
|
396
|
+
* @deprecated Since 19.0.0. This usage will not be supported in oj-c-list-view
|
|
378
397
|
*/
|
|
379
398
|
labelPasteBefore: string;
|
|
380
399
|
/**
|
|
381
400
|
* Provides properties to customize the message text used by ListView when all items are fetched.
|
|
401
|
+
* @deprecated Since 19.0.0. This usage will not be supported in oj-c-list-view
|
|
382
402
|
*/
|
|
383
403
|
msgFetchCompleted: string;
|
|
384
404
|
/**
|
|
385
405
|
* Provides properties to customize the message text used by ListView when waiting for data.
|
|
406
|
+
* @deprecated Since 19.0.0. This usage will not be supported in oj-c-list-view
|
|
386
407
|
*/
|
|
387
408
|
msgFetchingData: string;
|
|
388
409
|
/**
|
|
389
410
|
* Provides properties to customize the message text used by ListView when items are appended.
|
|
411
|
+
* @deprecated Since 19.0.0. This usage will not be supported in oj-c-list-view
|
|
390
412
|
*/
|
|
391
413
|
msgItemsAppended: string;
|
|
392
414
|
/**
|
|
393
415
|
* Provides properties to customize the message text used by ListView when there are no items.
|
|
416
|
+
* @deprecated Since 19.0.0. This usage will not be supported in oj-c-list-view
|
|
394
417
|
*/
|
|
395
418
|
msgNoData: string;
|
|
396
419
|
}
|
|
@@ -734,10 +734,12 @@ export interface StyleDefaultsCellDefaults {
|
|
|
734
734
|
labelStyle: object;
|
|
735
735
|
/**
|
|
736
736
|
* The CSS style object defining the styles of the cell background and border when the cell is maximized.
|
|
737
|
+
* @deprecated Since 19.0.0. The maximizedSvgStyle property is deprecated. This API is not recommended in Redwood theme. Use other customization APIs where appropriate.
|
|
737
738
|
*/
|
|
738
739
|
maximizedSvgStyle: object;
|
|
739
740
|
/**
|
|
740
741
|
* The CSS style object defining the styles of the cell background and border when the cell is minimized.
|
|
742
|
+
* @deprecated Since 19.0.0. The minimizedSvgStyle property is deprecated. This API is not recommended in Redwood theme. Use other customization APIs where appropriate.
|
|
741
743
|
*/
|
|
742
744
|
minimizedSvgStyle: object;
|
|
743
745
|
/**
|
|
@@ -746,6 +748,7 @@ export interface StyleDefaultsCellDefaults {
|
|
|
746
748
|
showCount: string;
|
|
747
749
|
/**
|
|
748
750
|
* The CSS style object defining the styles of the cell background and border.
|
|
751
|
+
* @deprecated Since 19.0.0. The svgStyle property is deprecated. This API is not recommended in Redwood theme. Use other customization APIs where appropriate.
|
|
749
752
|
*/
|
|
750
753
|
svgStyle: object;
|
|
751
754
|
}
|
|
@@ -221,7 +221,7 @@ export class OjSparkChartBase extends OjWebElement {
|
|
|
221
221
|
* Gets the value of <code>svgClassName</code> property.
|
|
222
222
|
* The CSS style class to apply to the data items. If type is "lineWithArea", this style will only be applied to the line if areaSvgClassName is also specified. See the Help documentation for more information.
|
|
223
223
|
* @return The value of <code>svgClassName</code> property.
|
|
224
|
-
*
|
|
224
|
+
* @deprecated Since 19.0.0. The svgClassName property is deprecated. This API is not recommended in Redwood theme. Use other customization APIs where appropriate.
|
|
225
225
|
*/
|
|
226
226
|
public getSvgClassName(): Promise<string> {
|
|
227
227
|
return this.getProperty<string>('svgClassName');
|
|
@@ -231,7 +231,7 @@ export class OjSparkChartBase extends OjWebElement {
|
|
|
231
231
|
* Gets the value of <code>svgStyle</code> property.
|
|
232
232
|
* The inline style to apply to the data items. If type is "lineWithArea", this style will only be applied to the line if areaSvgStyle is also specified. See the Help documentation for more information.
|
|
233
233
|
* @return The value of <code>svgStyle</code> property.
|
|
234
|
-
*
|
|
234
|
+
* @deprecated Since 19.0.0. The svgStyle property is deprecated. This API is not recommended in Redwood theme. Use other customization APIs where appropriate.
|
|
235
235
|
*/
|
|
236
236
|
public getSvgStyle(): Promise<object> {
|
|
237
237
|
return this.getProperty<object>('svgStyle');
|
|
@@ -14,8 +14,8 @@ import { OjStatusMeterGaugeBase } from './OjStatusMeterGaugeBase';
|
|
|
14
14
|
* oj-status-meter-gauge is being broken down into multiple core pack chart components.
|
|
15
15
|
* When you migrate a page from using [oj-status-meter-gauge](../../jsdocs/oj.ojStatusMeterGauge.html) to new core pack chart components [oj-c-meter-circle](../../jsdocs/oj-c.MeterCircle.html) and [oj-c-meter-bar](../../jsdocs/oj-c.MeterBar.html) you will also need to migrate your WebDriver tests from OjStatusMeterGauge to MeterCircleWebElement and MeterBarWebElement respectively. To do that you will need to revise type and locator instances as follows
|
|
16
16
|
* </br><b>Type:</b> from OjStatusMeterGauge to [MeterCircleWebElement](../../cpwdtsdoc/classes/MeterCircleWebElement.html) or [MeterBarWebElement](../../cpwdtsdoc/classes/MeterBarWebElement.html)
|
|
17
|
-
* </br><b>Locator:</b> from [OjStatusMeterGauge](../functions/elements.ojStatusMeterGauge-1.html) to [findMeterCircle](../../cpwdtsdoc/functions/findMeterCircle.html) or [
|
|
18
|
-
* </br>For more details on migrating from legacy to core pack please see
|
|
17
|
+
* </br><b>Locator:</b> from [OjStatusMeterGauge](../functions/elements.ojStatusMeterGauge-1.html) to [findMeterCircle](../../cpwdtsdoc/functions/findMeterCircle.html) or [findMeterBar](../../cpwdtsdoc/functions/findMeterBar.html).
|
|
18
|
+
* </br>For more details on migrating from legacy to core pack please see component's [migration section](../../jsdocs/oj.ojStatusMeterGauge.html#migration-section).
|
|
19
19
|
*/
|
|
20
20
|
export class OjStatusMeterGauge extends OjStatusMeterGaugeBase {
|
|
21
21
|
// Put overrides here
|
|
@@ -89,7 +89,7 @@ export interface ScrollPosition {
|
|
|
89
89
|
/**
|
|
90
90
|
* The key of the item. If DataProvider is used for data and the key does not exist in the DataProvider or if the item has not been fetched yet, then the value is ignored.
|
|
91
91
|
*/
|
|
92
|
-
key:
|
|
92
|
+
key: string | number;
|
|
93
93
|
/**
|
|
94
94
|
* The vertical offset in pixels relative to the item identified by key.
|
|
95
95
|
*/
|
|
@@ -97,5 +97,5 @@ export interface ScrollPosition {
|
|
|
97
97
|
/**
|
|
98
98
|
* The key of the parent if tree data.
|
|
99
99
|
*/
|
|
100
|
-
parentKey:
|
|
100
|
+
parentKey: string | number;
|
|
101
101
|
}
|
|
@@ -1,4 +1,6 @@
|
|
|
1
|
+
import { error, WebElement } from 'selenium-webdriver';
|
|
1
2
|
import { OjTabBarBase } from './OjTabBarBase';
|
|
3
|
+
import { executeWithModules } from '../../lib/oj-module-proxy';
|
|
2
4
|
|
|
3
5
|
/**
|
|
4
6
|
* The component WebElement for [oj-tab-bar](../../jsdocs/oj.ojTabBar.html).
|
|
@@ -6,5 +8,59 @@ import { OjTabBarBase } from './OjTabBarBase';
|
|
|
6
8
|
* [ojTabBar](../functions/elements.ojTabBar-1.html).
|
|
7
9
|
*/
|
|
8
10
|
export class OjTabBar extends OjTabBarBase {
|
|
9
|
-
|
|
11
|
+
/**
|
|
12
|
+
* Remove a tab specific by the key
|
|
13
|
+
* @param key key of the tab to be removed
|
|
14
|
+
* If the key is not found, an error will be thrown
|
|
15
|
+
* @override
|
|
16
|
+
* @typeparam K Type of keys
|
|
17
|
+
*/
|
|
18
|
+
async doRemove<K>(key: K): Promise<void> {
|
|
19
|
+
await this.whenReady();
|
|
20
|
+
const tab = await this.getDriver().executeScript<WebElement>(
|
|
21
|
+
(ele: any, key: K) => ele.getNodeBySubId({ subId: 'oj-tabbar-item', key }),
|
|
22
|
+
this,
|
|
23
|
+
key
|
|
24
|
+
);
|
|
25
|
+
if (tab != null) {
|
|
26
|
+
await executeWithModules<void>(
|
|
27
|
+
this.getDriver(),
|
|
28
|
+
['CustomElementUtils'],
|
|
29
|
+
[this, tab],
|
|
30
|
+
({ getElementBridge }, element, tab) => {
|
|
31
|
+
const bridge = getElementBridge(element);
|
|
32
|
+
const widget = bridge._WIDGET_INSTANCE;
|
|
33
|
+
return widget.navlist._fireRemoveEvent(null, [tab]);
|
|
34
|
+
}
|
|
35
|
+
);
|
|
36
|
+
} else {
|
|
37
|
+
return Promise.reject(
|
|
38
|
+
new error.InvalidArgumentError(`Tab with specified key cannot be found`)
|
|
39
|
+
);
|
|
40
|
+
}
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
/**
|
|
44
|
+
* Moves tab specified by key then put the tab to the specified place
|
|
45
|
+
* @param key key of the tab to be reordered
|
|
46
|
+
* If the key is not found, an error will be thrown
|
|
47
|
+
* @param position the index or the key of the tab that user want to move in front of, if the key is null, the tab will move to the end of the tab bar
|
|
48
|
+
* If the key or the index of the position is not found, an error will be thrown
|
|
49
|
+
* @override
|
|
50
|
+
* @typeparam K Type of keys
|
|
51
|
+
* @typeparam number Type of index
|
|
52
|
+
*/
|
|
53
|
+
async doReorder<K>(key: K, position: { index: number } | { key: K | null }): Promise<void> {
|
|
54
|
+
await this.whenReady();
|
|
55
|
+
await executeWithModules<void>(
|
|
56
|
+
this.getDriver(),
|
|
57
|
+
['CustomElementUtils'],
|
|
58
|
+
[this, key, position],
|
|
59
|
+
({ getElementBridge }, element, key, position) => {
|
|
60
|
+
const bridge = getElementBridge(element);
|
|
61
|
+
const widget = bridge._WIDGET_INSTANCE;
|
|
62
|
+
return widget.navlist._doReorderHelper(null, key, position);
|
|
63
|
+
}
|
|
64
|
+
);
|
|
65
|
+
}
|
|
10
66
|
}
|