@oracle/oraclejet-audit 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.
Files changed (145) hide show
  1. package/corePackMigrator/cli.js +1 -1
  2. package/corePackMigrator/corePackMigrator.js +2 -2
  3. package/corePackMigrator/metadata/actionCardMetadata.json +10 -0
  4. package/corePackMigrator/metadata/avatarMetadata.json +11 -1
  5. package/corePackMigrator/metadata/bindIfMetadata.json +4 -0
  6. package/corePackMigrator/metadata/buttonMetadata.json +65 -49
  7. package/corePackMigrator/metadata/chartMetadata.json +53 -0
  8. package/corePackMigrator/metadata/collapsibleMetadata.json +27 -12
  9. package/corePackMigrator/metadata/conveyorBeltMetadata.json +34 -0
  10. package/corePackMigrator/metadata/datePickerMetadata.json +43 -0
  11. package/corePackMigrator/metadata/drawerLayoutMetadata.json +18 -0
  12. package/corePackMigrator/metadata/drawerPopupMetadata.json +27 -14
  13. package/corePackMigrator/metadata/filePickerMetadata.json +20 -7
  14. package/corePackMigrator/metadata/formLayoutMetadata.json +11 -1
  15. package/corePackMigrator/metadata/highlightTextMetadata.json +10 -0
  16. package/corePackMigrator/metadata/inputDateMetadata.json +110 -0
  17. package/corePackMigrator/metadata/inputNumberMetadata.json +107 -75
  18. package/corePackMigrator/metadata/inputPasswordMetadata.json +111 -75
  19. package/corePackMigrator/metadata/inputTextMetadata.json +118 -81
  20. package/corePackMigrator/metadata/labelValueMetadata.json +245 -0
  21. package/corePackMigrator/metadata/legendItemMetadata.json +11 -1
  22. package/corePackMigrator/metadata/legendMetadata.json +59 -49
  23. package/corePackMigrator/metadata/listItemLayoutMetadata.json +11 -1
  24. package/corePackMigrator/metadata/listviewMetadata.json +104 -63
  25. package/corePackMigrator/metadata/messageBannerMetadata.json +10 -0
  26. package/corePackMigrator/metadata/messagesMetadata.json +11 -1
  27. package/corePackMigrator/metadata/progressBarMetadata.json +11 -1
  28. package/corePackMigrator/metadata/progressCircleMetadata.json +10 -0
  29. package/corePackMigrator/metadata/radiosetMetadata.json +11 -1
  30. package/corePackMigrator/metadata/ratingGaugeMetadata.json +113 -87
  31. package/corePackMigrator/metadata/selectManyMetadata.json +72 -42
  32. package/corePackMigrator/metadata/selectSingleMetadata.json +61 -46
  33. package/corePackMigrator/metadata/selectorMetadata.json +1 -1
  34. package/corePackMigrator/metadata/statusMeterGaugeMetadata.json +1 -1
  35. package/corePackMigrator/metadata/tagCloudMetadata.json +10 -0
  36. package/corePackMigrator/metadata/textAreaMetadata.json +88 -46
  37. package/corePackMigrator/resource/astUtils.js +1 -1
  38. package/corePackMigrator/resource/componentMigrator.js +1 -1
  39. package/corePackMigrator/resource/fileScanner.js +1 -1
  40. package/corePackMigrator/resource/htmlUtils.js +1 -1
  41. package/corePackMigrator/resource/manifest.json +137 -36
  42. package/corePackMigrator/resource/testUtils.js +6 -0
  43. package/corePackMigrator/templates/componentMetaData.json +118 -14
  44. package/corePackMigrator/templates/migrationConfig.json +4 -0
  45. package/corePackMigrator/utilities/deltaWebElementAPIs.js +6 -0
  46. package/corePackMigrator/utilities/logging.js +1 -1
  47. package/jaf-amd.js +1 -1
  48. package/lib/AstJson.js +1 -1
  49. package/lib/Components.js +1 -1
  50. package/lib/Config.js +1 -1
  51. package/lib/ConfigEx.js +6 -0
  52. package/lib/ConfigLib.js +1 -1
  53. package/lib/MetaLib.js +1 -1
  54. package/lib/OjCPack.js +1 -1
  55. package/lib/RegTypes.js +1 -1
  56. package/lib/RulePack.js +1 -1
  57. package/lib/RuleSet.js +1 -1
  58. package/lib/Rules.js +1 -1
  59. package/lib/TsxUtils.js +1 -1
  60. package/lib/checkage.js +1 -1
  61. package/lib/defaults.js +1 -1
  62. package/lib/extends.js +1 -1
  63. package/lib/migrator.js +1 -1
  64. package/lib/ns.js +1 -1
  65. package/libext/expparser.js +1 -1
  66. package/meta/16.1.0/jetauditmeta.js +1 -1
  67. package/meta/17.0.0/jetauditmeta.js +9 -0
  68. package/meta/metaverlist.json +1 -1
  69. package/package.json +3 -3
  70. package/profiles/best-practice.json +97 -78
  71. package/profiles/redwood-strict.json +22 -14
  72. package/rulepacks/csp/csp-json-unsafe-expr.js +1 -1
  73. package/rulepacks/jetwc/jetwc-bootstrap.js +1 -1
  74. package/rulepacks/jetwc/jetwc-css-scoping.js +1 -1
  75. package/rulepacks/jetwc/jetwc-displayname.js +1 -1
  76. package/rulepacks/jetwc/jetwc-jet-version.js +1 -1
  77. package/rulepacks/jetwc/jetwc-markdown-link.js +1 -1
  78. package/rulepacks/jetwc/jetwc-namespace.js +1 -1
  79. package/rulepacks/jetwc/jetwc-nls-languages.js +1 -1
  80. package/rulepacks/jetwc/jetwc-property-nesting.js +1 -1
  81. package/rulepacks/jetwc/jetwc-property-translatable.js +1 -1
  82. package/rulepacks/jetwc/jetwc-require-paths.js +1 -1
  83. package/rulepacks/jetwc/jetwc-reserved-property.js +1 -1
  84. package/rulepacks/jetwc/jetwc-schema.js +1 -1
  85. package/rulepacks/jetwc/jetwc-standard-files.js +1 -1
  86. package/rulepacks/jetwc/jetwc-vb-category.js +1 -1
  87. package/rulepacks/jetwc/rules.json +1 -1
  88. package/rulepacks/jetwc-lib/jetwcutils-auditComponentCacheManager.js +1 -1
  89. package/rulepacks/jetwc-lib/jetwcutils-commonListenerImpls.js +1 -1
  90. package/rulepacks/jetwc-lib/jetwcutils-componentAuditUtils.js +1 -1
  91. package/rulepacks/jetwc-lib/jetwcutils-componentFinder.js +1 -1
  92. package/rulepacks/jetwc-lib/jetwcutils-tsxUtils.js +1 -1
  93. package/rulepacks/jetwco/jetwco-bootstrap.js +1 -1
  94. package/rulepacks/jetwco/jetwco-component-api-baseline-changes.js +1 -1
  95. package/rulepacks/jetwco/jetwco-component-api-changes.js +1 -1
  96. package/rulepacks/jetwco/jetwco-component-api-controlled-changes.js +1 -1
  97. package/rulepacks/jetwco/jetwco-license-info.js +1 -1
  98. package/rulepacks/jetwco/jetwco-prerelease-cdn.js +1 -1
  99. package/rulepacks/jetwco/jetwco-validate-applied-audits.js +1 -1
  100. package/rulepacks/jetwco/rules.json +1 -1
  101. package/rules/jet/helpers/cssHelper.js +1 -1
  102. package/rules/jet/helpers/has-attrib-value.js +6 -0
  103. package/rules/jet/helpers/tsx/has-prop-value.js +6 -0
  104. package/rules/jet/msgid.json +1 -1
  105. package/rules/jet/oj-acc-button-label.js +6 -0
  106. package/rules/jet/oj-css-style-bp-display.js +1 -1
  107. package/rules/jet/oj-html-attr-expr-writeback.js +1 -1
  108. package/rules/jet/oj-html-bindif-test.js +1 -1
  109. package/rules/jet/oj-html-binding-as-slot-child.js +1 -1
  110. package/rules/jet/oj-html-bp-button-xs-chroming.js +6 -0
  111. package/rules/jet/oj-html-bp-title-to-tooltip.js +6 -0
  112. package/rules/jet/oj-html-button-size-chroming.js +6 -0
  113. package/rules/jet/oj-html-dlg-title.js +1 -1
  114. package/rules/jet/oj-html-form-bindif.js +1 -1
  115. package/rules/jet/oj-html-ko-comment.js +1 -1
  116. package/rules/jet/oj-html-ko-databind.js +1 -1
  117. package/rules/jet/oj-html-ojattr-value.js +1 -1
  118. package/rules/jet/oj-html-ojtag-ns.js +1 -1
  119. package/rules/jet/oj-html-redwood-clear-icon.js +6 -0
  120. package/rules/jet/oj-html-slot-default.js +1 -1
  121. package/rules/jet/oj-html-slot-pref-content.js +1 -1
  122. package/rules/jet/oj-html-style-abs-units.js +1 -1
  123. package/rules/jet/oj-html-style-bp-color.js +1 -1
  124. package/rules/jet/oj-html-style-bp-display.js +1 -1
  125. package/rules/jet/oj-html-style-bp-font-family.js +1 -1
  126. package/rules/jet/oj-html-style-bp-font.js +1 -1
  127. package/rules/jet/oj-html-style-bp-margin-padding.js +6 -0
  128. package/rules/jet/oj-html-wctag-maintenance.js +1 -1
  129. package/rules/jet/oj-tsx-acc-button-label.js +6 -0
  130. package/rules/jet/oj-tsx-bp-button-xs-chroming.js +6 -0
  131. package/rules/jet/oj-tsx-bp-title-to-tooltip.js +6 -0
  132. package/rules/jet/oj-tsx-button-size-chroming.js +6 -0
  133. package/rules/jet/oj-tsx-dlg-title.js +1 -1
  134. package/rules/jet/oj-tsx-form-bindif.js +1 -1
  135. package/rules/jet/oj-tsx-ojtag-ns.js +1 -1
  136. package/rules/jet/oj-tsx-redwood-clear-icon.js +6 -0
  137. package/rules/jet/oj-tsx-slot-default.js +6 -0
  138. package/rules/jet/oj-tsx-slot-pref-content.js +1 -1
  139. package/rules/jet/oj-tsx-style-abs-units.js +6 -0
  140. package/rules/jet/oj-tsx-style-bp-margin-padding.js +6 -0
  141. package/rules/jet/oj-tsx-wctag-maintenance.js +1 -1
  142. package/rules/jet/rules.json +1 -1
  143. package/schema/component-schema.json +1 -1
  144. package/src/JafCore.js +1 -1
  145. package/types/index.d.ts +3 -0
@@ -0,0 +1,245 @@
1
+ {
2
+ "legacyTag": "oj-label-value",
3
+ "slotContentToAttribute": [
4
+ {
5
+ "fromDescendant": "oj-label",
6
+ "slotNameFrom": "label",
7
+ "toDescendant": "oj-input-text",
8
+ "slotNameTo": "value",
9
+ "attribute": "label-hint"
10
+ },
11
+ {
12
+ "fromDescendant": "oj-label",
13
+ "slotNameFrom": "label",
14
+ "toDescendant": "oj-input-number",
15
+ "slotNameTo": "value",
16
+ "attribute": "label-hint"
17
+ },
18
+ {
19
+ "fromDescendant": "oj-label",
20
+ "slotNameFrom": "label",
21
+ "toDescendant": "oj-input-password",
22
+ "slotNameTo": "value",
23
+ "attribute": "label-hint"
24
+ },
25
+ {
26
+ "fromDescendant": "oj-label",
27
+ "slotNameFrom": "label",
28
+ "toDescendant": "oj-input-date",
29
+ "slotNameTo": "value",
30
+ "attribute": "label-hint"
31
+ },
32
+ {
33
+ "fromDescendant": "oj-label",
34
+ "slotNameFrom": "label",
35
+ "toDescendant": "oj-text-area",
36
+ "slotNameTo": "value",
37
+ "attribute": "label-hint"
38
+ }
39
+ ],
40
+ "migrateAttributes": [
41
+ {
42
+ "toDescendant": "oj-input-text",
43
+ "slotName": "value",
44
+ "fromAttribute": "",
45
+ "fromValue": "",
46
+ "toAttribute": "label-edge",
47
+ "toValue": "top"
48
+ },
49
+ {
50
+ "toDescendant": "oj-input-text",
51
+ "slotName": "value",
52
+ "fromAttribute": "label-edge",
53
+ "fromValue": "",
54
+ "toAttribute": "label-edge",
55
+ "toValue": ""
56
+ },
57
+ {
58
+ "toDescendant": "oj-input-number",
59
+ "slotName": "value",
60
+ "fromAttribute": "label-edge",
61
+ "fromValue": "",
62
+ "toAttribute": "label-edge",
63
+ "toValue": "top"
64
+ },
65
+ {
66
+ "toDescendant": "oj-input-number",
67
+ "slotName": "value",
68
+ "fromAttribute": "label-edge",
69
+ "fromValue": "",
70
+ "toAttribute": "label-edge",
71
+ "toValue": ""
72
+ },
73
+ {
74
+ "toDescendant": "oj-input-password",
75
+ "slotName": "value",
76
+ "fromAttribute": "label-edge",
77
+ "fromValue": "",
78
+ "toAttribute": "label-edge",
79
+ "toValue": "top"
80
+ },
81
+ {
82
+ "toDescendant": "oj-input-password",
83
+ "slotName": "value",
84
+ "fromAttribute": "label-edge",
85
+ "fromValue": "",
86
+ "toAttribute": "label-edge",
87
+ "toValue": ""
88
+ },
89
+ {
90
+ "toDescendant": "oj-input-date",
91
+ "slotName": "value",
92
+ "fromAttribute": "label-edge",
93
+ "fromValue": "",
94
+ "toAttribute": "label-edge",
95
+ "toValue": "top"
96
+ },
97
+ {
98
+ "toDescendant": "oj-input-date",
99
+ "slotName": "value",
100
+ "fromAttribute": "label-edge",
101
+ "fromValue": "",
102
+ "toAttribute": "label-edge",
103
+ "toValue": ""
104
+ },
105
+ {
106
+ "toDescendant": "oj-text-area",
107
+ "slotName": "value",
108
+ "fromAttribute": "label-edge",
109
+ "fromValue": "",
110
+ "toAttribute": "label-edge",
111
+ "toValue": "top"
112
+ },
113
+ {
114
+ "toDescendant": "oj-text-area",
115
+ "slotName": "value",
116
+ "fromAttribute": "label-edge",
117
+ "fromValue": "",
118
+ "toAttribute": "label-edge",
119
+ "toValue": ""
120
+ }
121
+ ],
122
+ "migrateDescendants": [
123
+ "inputTextMetadata",
124
+ "inputNumberMetadata",
125
+ "inputPasswordMetadata",
126
+ "textAreaMetadata"
127
+ ],
128
+ "replaceComponent": [
129
+ {
130
+ "descendant": "oj-input-text"
131
+ },
132
+ {
133
+ "descendant": "oj-c-input-text"
134
+ },
135
+ {
136
+ "descendant": "oj-input-number"
137
+ },
138
+ {
139
+ "descendant": "oj-c-input-number"
140
+ },
141
+ {
142
+ "descendant": "oj-input-password"
143
+ },
144
+ {
145
+ "descendant": "oj-c-input-password"
146
+ },
147
+ {
148
+ "descendant": "oj-input-date"
149
+ },
150
+ {
151
+ "descendant": "oj-c-input-date"
152
+ },
153
+ {
154
+ "descendant": "oj-text-area"
155
+ },
156
+ {
157
+ "descendant": "oj-c-text-area"
158
+ }
159
+ ],
160
+ "ruleSetToIgnore": [
161
+ {
162
+ "descendant": "oj-form-layout"
163
+ },
164
+ {
165
+ "descendant": "oj-input-text",
166
+ "attribute": "converter"
167
+ },
168
+ {
169
+ "descendant": "oj-input-number",
170
+ "attribute": "converter"
171
+ },
172
+ {
173
+ "descendant": "oj-input-password",
174
+ "attribute": "converter"
175
+ },
176
+ {
177
+ "descendant": "oj-input-date",
178
+ "attribute": "converter"
179
+ },
180
+ {
181
+ "descendant": "oj-text-area",
182
+ "attribute": "converter"
183
+ },
184
+ {
185
+ "descendant": "oj-input-text",
186
+ "attribute": "label-hint"
187
+ },
188
+ {
189
+ "descendant": "oj-input-number",
190
+ "attribute": "label-hint"
191
+ },
192
+ {
193
+ "descendant": "oj-input-password",
194
+ "attribute": "label-hint"
195
+ },
196
+ {
197
+ "descendant": "oj-input-date",
198
+ "attribute": "label-hint"
199
+ },
200
+ {
201
+ "descendant": "oj-text-area",
202
+ "attribute": "label-hint"
203
+ },
204
+ {
205
+ "descendant": "oj-input-text",
206
+ "attribute": "aria-label"
207
+ },
208
+ {
209
+ "descendant": "oj-input-number",
210
+ "attribute": "aria-label"
211
+ },
212
+ {
213
+ "descendant": "oj-input-password",
214
+ "attribute": "aria-label"
215
+ },
216
+ {
217
+ "descendant": "oj-input-date",
218
+ "attribute": "aria-label"
219
+ },
220
+ {
221
+ "descendant": "oj-text-area",
222
+ "attribute": "aria-label"
223
+ },
224
+ {
225
+ "descendant": "oj-input-text",
226
+ "missSlot": "value"
227
+ },
228
+ {
229
+ "descendant": "oj-input-number",
230
+ "missSlot": "value"
231
+ },
232
+ {
233
+ "descendant": "oj-input-password",
234
+ "missSlot": "value"
235
+ },
236
+ {
237
+ "descendant": "oj-input-date",
238
+ "missSlot": "value"
239
+ },
240
+ {
241
+ "descendant": "oj-text-area",
242
+ "missSlot": "value"
243
+ }
244
+ ]
245
+ }
@@ -1,4 +1,14 @@
1
1
  {
2
2
  "legacyTag": "oj-legend-item",
3
- "corePackTag": "oj-c-legend-item"
3
+ "corePackTag": "oj-c-legend-item",
4
+ "ruleSetToIgnore": [
5
+ {
6
+ "attribute": "marker-shape",
7
+ "allowedValues": ["circle", "diamond", "ellipse", "human", "plus", "rectangle", "square", "star", "triangleDown", "triangleUp"]
8
+ },
9
+ {
10
+ "attribute": "markerShape",
11
+ "allowedValues": ["circle", "diamond", "ellipse", "human", "plus", "rectangle", "square", "star", "triangleDown", "triangleUp"]
12
+ }
13
+ ]
4
14
  }
@@ -1,60 +1,70 @@
1
1
  {
2
- "legacyTag": "oj-legend",
3
- "corePackTag": "oj-c-legend",
4
- "migrateImports": {
5
- "from": "ojs/ojlegend",
6
- "to": "oj-c/legend"
7
- },
8
- "migrateAttributes": [
9
- {
10
- "fromAttribute": "expanded",
11
- "fromValue": ""
12
- },
13
- {
14
- "fromAttribute": "collapsible",
15
- "fromValue": ""
16
- },
2
+ "legacyTag": "oj-legend",
3
+ "corePackTag": "oj-c-legend",
4
+ "migrateImports": {
5
+ "from": "ojs/ojlegend",
6
+ "to": "oj-c/legend"
7
+ },
8
+ "migrateAttributes": [
9
+ {
10
+ "fromAttribute": "expanded",
11
+ "fromValue": ""
12
+ },
13
+ {
14
+ "fromAttribute": "collapsible",
15
+ "fromValue": ""
16
+ },
17
17
  {
18
- "fromChild": "oj-legend-section",
19
- "fromAttribute": "text-halign",
20
- "fromValue": "",
21
- "toAttribute": "section-title-halign",
22
- "toValue": ""
18
+ "fromDescendant": "oj-legend-section",
19
+ "fromAttribute": "text-halign",
20
+ "fromValue": "",
21
+ "toAttribute": "section-title-halign",
22
+ "toValue": ""
23
23
  },
24
24
  {
25
- "fromChild": "oj-legend-section",
26
- "fromAttribute": "text-style",
27
- "fromValue": "",
28
- "toAttribute": "section-title-style",
29
- "toValue": ""
25
+ "fromDescendant": "oj-legend-section",
26
+ "fromAttribute": "text-style",
27
+ "fromValue": "",
28
+ "toAttribute": "section-title-style",
29
+ "toValue": ""
30
30
  },
31
31
  {
32
- "fromChild": "oj-legend-section",
33
- "fromAttribute": "textHalign",
34
- "fromValue": "",
35
- "toAttribute": "sectionTitleHalign",
36
- "toValue": ""
32
+ "fromDescendant": "oj-legend-section",
33
+ "fromAttribute": "textHalign",
34
+ "fromValue": "",
35
+ "toAttribute": "sectionTitleHalign",
36
+ "toValue": ""
37
37
  },
38
38
  {
39
- "fromChild": "oj-legend-section",
40
- "fromAttribute": "textStyle",
41
- "fromValue": "",
42
- "toAttribute": "sectionTitleStyle",
43
- "toValue": ""
39
+ "fromDescendant": "oj-legend-section",
40
+ "fromAttribute": "textStyle",
41
+ "fromValue": "",
42
+ "toAttribute": "sectionTitleStyle",
43
+ "toValue": ""
44
44
  }
45
- ],
46
- "migrateChildren": [
47
- "legendItemMetadata",
48
- "legendSectionMetadata"
49
- ],
45
+ ],
46
+ "migrateDescendants": [
47
+ "legendItemMetadata",
48
+ "legendSectionMetadata"
49
+ ],
50
+ "migrateTest": {
51
+ "type": {
52
+ "from": "OjLegend",
53
+ "to": "LegendWebElement"
54
+ },
55
+ "locator": {
56
+ "from": "ojLegend",
57
+ "to": "findLegend"
58
+ },
50
59
  "ruleSetToIgnore": [
51
- {
52
- "attribute": "marker-shape",
53
- "allowedValues": ["circle", "diamond", "ellipse", "human", "plus", "rectangle", "square", "star", "triangleDown", "triangleUp"]
54
- },
55
- {
56
- "attribute": "markerShape",
57
- "allowedValues": ["circle", "diamond", "ellipse", "human", "plus", "rectangle", "square", "star", "triangleDown", "triangleUp"]
58
- }
60
+ "getAs",
61
+ "changeExpanded",
62
+ "getExpanded",
63
+ "getHoverBehaviorDelay",
64
+ "getScrolling",
65
+ "getSections",
66
+ "getTrackResize",
67
+ "getTranslations"
59
68
  ]
60
- }
69
+ }
70
+ }
@@ -11,5 +11,15 @@
11
11
  "attribute": "inset",
12
12
  "attributeValue": "none"
13
13
  }
14
- ]
14
+ ],
15
+ "migrateTest": {
16
+ "type": {
17
+ "from": "OjListItemLayout",
18
+ "to": "ListItemLayoutWebElement"
19
+ },
20
+ "locator": {
21
+ "from": "ojListItemLayout",
22
+ "to": "findListItemLayout"
23
+ }
24
+ }
15
25
  }
@@ -1,67 +1,108 @@
1
1
  {
2
- "legacyTag": "oj-list-view",
3
- "corePackTag": "oj-c-list-view",
4
- "migrateImports": {
5
- "from": "ojs/ojlistview",
6
- "to": "oj-c/list-view"
2
+ "legacyTag": "oj-list-view",
3
+ "corePackTag": "oj-c-list-view",
4
+ "migrateImports": {
5
+ "from": "ojs/ojlistview",
6
+ "to": "oj-c/list-view"
7
+ },
8
+ "migrateAttributes": [
9
+ {
10
+ "fromAttribute": "gridlines.item",
11
+ "fromValue": "visibleExceptLast",
12
+ "toAttribute": "gridlines.item",
13
+ "toValue": "visible"
14
+ }
15
+ ],
16
+ "ruleSetToIgnore": [
17
+ {
18
+ "attribute": "display"
19
+ },
20
+ {
21
+ "attribute": "drill-mode"
22
+ },
23
+ {
24
+ "attribute": "drillMode"
25
+ },
26
+ {
27
+ "attribute": "expanded"
28
+ },
29
+ {
30
+ "attribute": "group-header-position"
31
+ },
32
+ {
33
+ "attribute": "groupHeaderPosition"
34
+ },
35
+ {
36
+ "attribute": "dnd"
37
+ },
38
+ {
39
+ "attribute": "first-selected-item"
40
+ },
41
+ {
42
+ "attribute": "item.selectable"
43
+ },
44
+ {
45
+ "attribute": "scroll-policy"
46
+ },
47
+ {
48
+ "attribute": "scroll-position"
49
+ },
50
+ {
51
+ "attribute": "scroll-to-key"
52
+ },
53
+ {
54
+ "attribute": "selection-required"
55
+ },
56
+ {
57
+ "slot": "contextMenu"
58
+ },
59
+ {
60
+ "attribute": "firstSelectedItem"
61
+ },
62
+ {
63
+ "attribute": "scrollPolicy"
64
+ },
65
+ {
66
+ "attribute": "scrollPosition"
67
+ },
68
+ {
69
+ "attribute": "scrollToKey"
70
+ },
71
+ {
72
+ "attribute": "selectionRequired"
73
+ },
74
+ {
75
+ "missAttribute": {
76
+ "data": ""
77
+ }
78
+ }
79
+ ],
80
+ "migrateTest": {
81
+ "type": {
82
+ "from": "OjListView",
83
+ "to": "ListViewWebElement"
84
+ },
85
+ "locator": {
86
+ "from": "ojListView",
87
+ "to": "findListView"
7
88
  },
8
89
  "ruleSetToIgnore": [
9
- {
10
- "attribute": "display"
11
- },
12
- {
13
- "attribute": "drill-mode"
14
- },
15
- {
16
- "attribute": "drillMode"
17
- },
18
- {
19
- "attribute": "expanded"
20
- },
21
- {
22
- "attribute": "group-header-position"
23
- },
24
- {
25
- "attribute": "groupHeaderPosition"
26
- },
27
- {
28
- "attribute": "dnd"
29
- },
30
- {
31
- "attribute": "first-selected-item"
32
- },
33
- {
34
- "attribute": "item.selectable"
35
- },
36
- {
37
- "attribute": "scroll-policy"
38
- },
39
- {
40
- "attribute": "scroll-position"
41
- },
42
- {
43
- "attribute": "scroll-to-key"
44
- },
45
- {
46
- "attribute": "selection-required"
47
- },
48
- {
49
- "slot": "contextMenu"
50
- },
51
- {
52
- "attribute": "firstSelectedItem"
53
- },
54
- {
55
- "attribute": "scrollPolicy"
56
- },
57
- {
58
- "attribute": "scrollPosition"
59
- },
60
- {
61
- "attribute": "scrollToKey"
62
- },
63
- {
64
- "attribute": "selectionRequired"
65
- }
90
+ "getAs",
91
+ "changeCurrentItem",
92
+ "getDisplay",
93
+ "getDnd",
94
+ "getDrillMode",
95
+ "getFirstSelectedItem",
96
+ "getGroupHeaderPosition",
97
+ "getItem",
98
+ "getScrollPolicy",
99
+ "changeScrollPosition",
100
+ "getScrollPosition",
101
+ "getScrollToKey",
102
+ "changeSelection",
103
+ "getSelection",
104
+ "getSelectionRequired",
105
+ "getTranslations"
66
106
  ]
67
- }
107
+ }
108
+ }
@@ -4,5 +4,15 @@
4
4
  "migrateImports": {
5
5
  "from": "ojs/ojmessagebanner",
6
6
  "to": "oj-c/message-banner"
7
+ },
8
+ "migrateTest": {
9
+ "type": {
10
+ "from": "OjMessageBanner",
11
+ "to": "MessageBannerWebElement"
12
+ },
13
+ "locator": {
14
+ "from": "ojMessageBanner",
15
+ "to": "findMessageBanner"
16
+ }
7
17
  }
8
18
  }
@@ -43,5 +43,15 @@
43
43
  {
44
44
  "attribute": "messages"
45
45
  }
46
- ]
46
+ ],
47
+ "migrateTest": {
48
+ "type": {
49
+ "from": "OjMessages",
50
+ "to": "MessageToastWebElement"
51
+ },
52
+ "locator": {
53
+ "from": "ojMessages",
54
+ "to": "findMessageToast"
55
+ }
56
+ }
47
57
  }
@@ -11,5 +11,15 @@
11
11
  "attribute": "edge",
12
12
  "attributeValue": "top"
13
13
  }
14
- ]
14
+ ],
15
+ "migrateTest": {
16
+ "type": {
17
+ "from": "OjProgressBar",
18
+ "to": "ProgressBarWebElement"
19
+ },
20
+ "locator": {
21
+ "from": "ojProgressBar",
22
+ "to": "findProgressBar"
23
+ }
24
+ }
15
25
  }
@@ -4,5 +4,15 @@
4
4
  "migrateImports": {
5
5
  "from": "ojs/ojprogress-circle",
6
6
  "to": "oj-c/progress-circle"
7
+ },
8
+ "migrateTest": {
9
+ "type": {
10
+ "from": "OjProgressCircle",
11
+ "to": "ProgressCircleWebElement"
12
+ },
13
+ "locator": {
14
+ "from": "ojProgressCircle",
15
+ "to": "findProgressCircle"
16
+ }
7
17
  }
8
18
  }
@@ -82,5 +82,15 @@
82
82
  "toAttribute": "",
83
83
  "toValue": ""
84
84
  }
85
- ]
85
+ ],
86
+ "migrateTest": {
87
+ "type": {
88
+ "from": "OjRadioset",
89
+ "to": "RadiosetWebElement"
90
+ },
91
+ "locator": {
92
+ "from": "ojRadioset",
93
+ "to": "findRadioset"
94
+ }
95
+ }
86
96
  }