@oracle/oraclejet-audit 18.1.4 → 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/corePackMigrator/corePackMigrator.js +1 -1
- package/corePackMigrator/metadata/badgeMetadata.json +66 -0
- package/corePackMigrator/metadata/checkboxsetMetadata.json +101 -0
- package/corePackMigrator/metadata/inputNumberMetadata.json +0 -3
- package/corePackMigrator/metadata/inputTextMetadata.json +0 -3
- package/corePackMigrator/metadata/labelMetadata.json +285 -222
- package/corePackMigrator/metadata/labelValueMetadata.json +226 -137
- package/corePackMigrator/metadata/listviewMetadata.json +7 -0
- package/corePackMigrator/metadata/radiosetMetadata.json +20 -9
- package/corePackMigrator/metadata/selectorMetadata.json +6 -0
- package/corePackMigrator/resource/astUtils.js +1 -1
- package/corePackMigrator/resource/componentMigrator.js +1 -1
- package/corePackMigrator/resource/fileScanner.js +1 -1
- package/corePackMigrator/resource/htmlUtils.js +1 -1
- package/corePackMigrator/resource/manifest.json +57 -49
- package/corePackMigrator/resource/migrationConfig.json +1 -1
- package/corePackMigrator/utilities/logging.js +2 -2
- package/jaf-amd.js +1 -1
- package/lib/Components.js +1 -1
- package/lib/Config.js +1 -1
- package/lib/FsUtils.js +1 -1
- package/lib/HtmlUtils.js +1 -1
- package/lib/JafLib.js +1 -1
- package/lib/MetaLib.js +1 -1
- package/lib/OjCPack.js +1 -1
- package/lib/RegTypes.js +1 -1
- package/lib/Registry.js +1 -1
- package/lib/Rules.js +1 -1
- package/lib/Ts.js +1 -1
- package/lib/TsUtils.js +1 -1
- package/lib/TsxUtils.js +1 -1
- package/lib/checkage.js +1 -1
- package/lib/defaults.js +1 -1
- package/lib/extends.js +1 -1
- package/lib/ns.js +1 -1
- package/lib/scaffold.js +1 -1
- package/lib/scopewalker.js +1 -1
- package/lib/sublib/precomp/Precompiler.js +1 -1
- package/libext/expparser.js +1 -1
- package/meta/18.0.0/jetauditmeta.js +1 -1
- package/meta/18.1.0/jetauditmeta.js +1 -1
- package/meta/19.0.0/jetauditmeta.js +9 -0
- package/meta/metaverlist.json +1 -1
- package/package.json +4 -4
- package/profiles/best-practice.json +3 -0
- package/profiles/redwood-strict.json +10 -1
- package/rulepacks/jetwc/jetwc-use-public-apis.js +6 -0
- package/rulepacks/jetwc/msgid.json +1 -1
- package/rulepacks/jetwc/rules.json +1 -1
- package/rulepacks/jetwc-lib/jetwcutils-componentAuditUtils.js +1 -1
- package/rulepacks/jetwc-lib/jetwcutils-componentFinder.js +1 -1
- package/rulepacks/jetwco/jetwco-cacc-properties.js +1 -1
- package/rulepacks/jetwco/rules.json +1 -1
- package/rules/jet/msgid.json +1 -1
- package/rules/jet/oj-acc-aria-accessible.js +1 -1
- package/rules/jet/oj-acc-aria-prop.js +1 -1
- package/rules/jet/oj-acc-navigable-link.js +6 -0
- package/rules/jet/oj-acc-select-aria-label.js +1 -1
- package/rules/jet/oj-cca-compjson-prop-conflict.js +6 -0
- package/rules/jet/oj-css-bp-zindex.js +7 -0
- package/rules/jet/oj-html-badge-maintenance.js +6 -0
- package/rules/jet/oj-html-binding-as-slot-child.js +1 -1
- package/rules/jet/oj-html-corequired.js +6 -0
- package/rules/jet/oj-html-nav-tab-nointeractive.js +6 -0
- package/rules/jet/oj-html-oj-ux-ico-slot.js +6 -0
- package/rules/jet/oj-html-ojtag-id.js +1 -1
- package/rules/jet/oj-html-redwood-ojoption-disabled.js +6 -0
- package/rules/jet/oj-html-slot-pref-content.js +1 -1
- package/rules/jet/oj-html-tabbar-progressive-popup.js +1 -1
- package/rules/jet/oj-html-wctag-for.js +1 -1
- package/rules/jet/oj-html-wctag-id.js +1 -1
- package/rules/jet/oj-html-wctag-maintenance.js +1 -1
- package/rules/jet/oj-html-wctag-packprivate.js +1 -1
- package/rules/jet/oj-js-poly-promise.js +1 -1
- package/rules/jet/oj-ts-poly-promise.js +1 -1
- package/rules/jet/oj-tsx-acc-navigable-link.js +6 -0
- package/rules/jet/oj-tsx-aria-prop.js +1 -1
- package/rules/jet/oj-tsx-corequired.js +6 -0
- package/rules/jet/oj-tsx-prop-ko-binding.js +6 -0
- package/rules/jet/oj-tsx-tabbar-progressive-popup.js +6 -0
- package/rules/jet/oj-tsx-wctag-packprivate.js +1 -1
- package/rules/jet/rules.json +1 -1
- package/schema/component-schema.json +1 -1
- package/src/JafCore.js +1 -1
- package/types/index.d.ts +5 -0
- package/corePackMigrator/metadata/messagesMetadata.json +0 -41
|
@@ -1,138 +1,227 @@
|
|
|
1
1
|
{
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
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
|
+
"fromDescendant": "oj-label",
|
|
41
|
+
"slotNameFrom": "label",
|
|
42
|
+
"toDescendant": "oj-radioset",
|
|
43
|
+
"slotNameTo": "value",
|
|
44
|
+
"attribute": "label-hint"
|
|
45
|
+
},
|
|
46
|
+
{
|
|
47
|
+
"fromDescendant": "oj-label",
|
|
48
|
+
"slotNameFrom": "label",
|
|
49
|
+
"toDescendant": "oj-checkboxset",
|
|
50
|
+
"slotNameTo": "value",
|
|
51
|
+
"attribute": "label-hint"
|
|
52
|
+
}
|
|
53
|
+
],
|
|
54
|
+
"migrateAttributes": [
|
|
55
|
+
{
|
|
56
|
+
"fromAttribute": "",
|
|
57
|
+
"fromValue": "",
|
|
58
|
+
"toAttribute": "label-edge",
|
|
59
|
+
"toValue": "top"
|
|
60
|
+
},
|
|
61
|
+
{
|
|
62
|
+
"toDescendant": "oj-input-text",
|
|
63
|
+
"slotName": "value",
|
|
64
|
+
"fromAttribute": "label-edge",
|
|
65
|
+
"fromValue": "",
|
|
66
|
+
"toAttribute": "label-edge",
|
|
67
|
+
"toValue": ""
|
|
68
|
+
},
|
|
69
|
+
{
|
|
70
|
+
"toDescendant": "oj-input-number",
|
|
71
|
+
"slotName": "value",
|
|
72
|
+
"fromAttribute": "label-edge",
|
|
73
|
+
"fromValue": "",
|
|
74
|
+
"toAttribute": "label-edge",
|
|
75
|
+
"toValue": ""
|
|
76
|
+
},
|
|
77
|
+
{
|
|
78
|
+
"toDescendant": "oj-input-password",
|
|
79
|
+
"slotName": "value",
|
|
80
|
+
"fromAttribute": "label-edge",
|
|
81
|
+
"fromValue": "",
|
|
82
|
+
"toAttribute": "label-edge",
|
|
83
|
+
"toValue": ""
|
|
84
|
+
},
|
|
85
|
+
{
|
|
86
|
+
"toDescendant": "oj-input-date",
|
|
87
|
+
"slotName": "value",
|
|
88
|
+
"fromAttribute": "label-edge",
|
|
89
|
+
"fromValue": "",
|
|
90
|
+
"toAttribute": "label-edge",
|
|
91
|
+
"toValue": ""
|
|
92
|
+
},
|
|
93
|
+
{
|
|
94
|
+
"toDescendant": "oj-text-area",
|
|
95
|
+
"slotName": "value",
|
|
96
|
+
"fromAttribute": "label-edge",
|
|
97
|
+
"fromValue": "",
|
|
98
|
+
"toAttribute": "label-edge",
|
|
99
|
+
"toValue": ""
|
|
100
|
+
},
|
|
101
|
+
{
|
|
102
|
+
"toDescendant": "oj-radioset",
|
|
103
|
+
"slotName": "value",
|
|
104
|
+
"fromAttribute": "label-edge",
|
|
105
|
+
"fromValue": "",
|
|
106
|
+
"toAttribute": "label-edge",
|
|
107
|
+
"toValue": ""
|
|
108
|
+
},
|
|
109
|
+
{
|
|
110
|
+
"toDescendant": "oj-checkboxset",
|
|
111
|
+
"slotName": "value",
|
|
112
|
+
"fromAttribute": "label-edge",
|
|
113
|
+
"fromValue": "",
|
|
114
|
+
"toAttribute": "label-edge",
|
|
115
|
+
"toValue": ""
|
|
116
|
+
}
|
|
117
|
+
],
|
|
118
|
+
"migrateDescendants": [
|
|
119
|
+
"inputTextMetadata",
|
|
120
|
+
"inputNumberMetadata",
|
|
121
|
+
"inputPasswordMetadata",
|
|
122
|
+
"inputDateMetadata",
|
|
123
|
+
"textAreaMetadata",
|
|
124
|
+
"radiosetMetadata",
|
|
125
|
+
"checkboxsetMetadata"
|
|
126
|
+
],
|
|
127
|
+
"replaceComponent": [
|
|
128
|
+
{
|
|
129
|
+
"descendant": "oj-c-input-text"
|
|
130
|
+
},
|
|
131
|
+
{
|
|
132
|
+
"descendant": "oj-c-input-number"
|
|
133
|
+
},
|
|
134
|
+
{
|
|
135
|
+
"descendant": "oj-c-input-password"
|
|
136
|
+
},
|
|
137
|
+
{
|
|
138
|
+
"descendant": "oj-c-input-date-picker"
|
|
139
|
+
},
|
|
140
|
+
{
|
|
141
|
+
"descendant": "oj-c-text-area"
|
|
142
|
+
},
|
|
143
|
+
{
|
|
144
|
+
"descendant": "oj-c-radioset"
|
|
145
|
+
},
|
|
146
|
+
{
|
|
147
|
+
"descendant": "oj-c-checkboxset"
|
|
148
|
+
},
|
|
149
|
+
{
|
|
150
|
+
"descendant": "oj-input-text"
|
|
151
|
+
},
|
|
152
|
+
{
|
|
153
|
+
"descendant": "oj-input-number"
|
|
154
|
+
},
|
|
155
|
+
{
|
|
156
|
+
"descendant": "oj-input-password"
|
|
157
|
+
},
|
|
158
|
+
{
|
|
159
|
+
"descendant": "oj-input-date-picker"
|
|
160
|
+
},
|
|
161
|
+
{
|
|
162
|
+
"descendant": "oj-text-area"
|
|
163
|
+
},
|
|
164
|
+
{
|
|
165
|
+
"descendant": "oj-radioset"
|
|
166
|
+
},
|
|
167
|
+
{
|
|
168
|
+
"descendant": "oj-checkboxset"
|
|
169
|
+
}
|
|
170
|
+
],
|
|
171
|
+
"ruleSetToIgnore": [
|
|
172
|
+
{
|
|
173
|
+
"descendant": "oj-form-layout"
|
|
174
|
+
},
|
|
175
|
+
{
|
|
176
|
+
"missDescendant": {
|
|
177
|
+
"tagAttributes": [
|
|
178
|
+
{
|
|
179
|
+
"name": "oj-input-text",
|
|
180
|
+
"attribute": [{ "label-hint": "", "aria-label": "" }],
|
|
181
|
+
"missSlot": "value"
|
|
182
|
+
},
|
|
183
|
+
{
|
|
184
|
+
"name": "oj-input-number",
|
|
185
|
+
"attribute": [{ "label-hint": "", "aria-label": "" }],
|
|
186
|
+
"missSlot": "value"
|
|
187
|
+
},
|
|
188
|
+
{
|
|
189
|
+
"name": "oj-input-password",
|
|
190
|
+
"attribute": [{ "label-hint": "", "aria-label": "" }, { "converter": "" }],
|
|
191
|
+
"missSlot": "value"
|
|
192
|
+
},
|
|
193
|
+
{
|
|
194
|
+
"name": "oj-input-date",
|
|
195
|
+
"attribute": [{ "label-hint": "", "aria-label": "" }, { "converter": "" }],
|
|
196
|
+
"missSlot": "value"
|
|
197
|
+
},
|
|
198
|
+
{
|
|
199
|
+
"name": "oj-text-area",
|
|
200
|
+
"attribute": [{ "label-hint": "", "aria-label": "" }, { "converter": "" }],
|
|
201
|
+
"missSlot": "value"
|
|
202
|
+
},
|
|
203
|
+
{
|
|
204
|
+
"name": "oj-radioset",
|
|
205
|
+
"attribute": [{ "label-hint": "", "aria-label": "" }],
|
|
206
|
+
"missSlot": "value",
|
|
207
|
+
"descendant": {
|
|
208
|
+
"descendant": "oj-option",
|
|
209
|
+
"attribute": "disabled"
|
|
210
|
+
},
|
|
211
|
+
"mapper": "true"
|
|
212
|
+
},
|
|
213
|
+
{
|
|
214
|
+
"name": "oj-checkboxset",
|
|
215
|
+
"attribute": [{ "label-hint": "", "aria-label": "" }],
|
|
216
|
+
"missSlot": "value",
|
|
217
|
+
"descendant": {
|
|
218
|
+
"descendant": "oj-option",
|
|
219
|
+
"attribute": "disabled"
|
|
220
|
+
},
|
|
221
|
+
"mapper": "true"
|
|
222
|
+
}
|
|
223
|
+
]
|
|
224
|
+
}
|
|
225
|
+
}
|
|
226
|
+
]
|
|
227
|
+
}
|
|
@@ -11,6 +11,13 @@
|
|
|
11
11
|
"fromValue": "visibleExceptLast",
|
|
12
12
|
"toAttribute": "gridlines.item",
|
|
13
13
|
"toValue": "visible"
|
|
14
|
+
},
|
|
15
|
+
{
|
|
16
|
+
"depAttribute": "gridlines.item",
|
|
17
|
+
"fromAttribute": "",
|
|
18
|
+
"fromValue": "",
|
|
19
|
+
"toAttribute": "gridlines.bottom",
|
|
20
|
+
"toValue": "visible"
|
|
14
21
|
}
|
|
15
22
|
],
|
|
16
23
|
"ruleSetToIgnore": [
|
|
@@ -5,9 +5,9 @@
|
|
|
5
5
|
"from": "ojs/ojradioset",
|
|
6
6
|
"to": "oj-c/radioset"
|
|
7
7
|
},
|
|
8
|
-
"
|
|
9
|
-
|
|
10
|
-
|
|
8
|
+
"migrateOptions": {
|
|
9
|
+
"toAttribute": "options",
|
|
10
|
+
"ignoreAttribute": ["disabled"]
|
|
11
11
|
},
|
|
12
12
|
"classNameToAttribute": [
|
|
13
13
|
{
|
|
@@ -34,12 +34,6 @@
|
|
|
34
34
|
"toAttribute": "",
|
|
35
35
|
"toValue": ""
|
|
36
36
|
},
|
|
37
|
-
{
|
|
38
|
-
"fromAttribute": "optionRenderer",
|
|
39
|
-
"fromValue": "",
|
|
40
|
-
"toAttribute": "",
|
|
41
|
-
"toValue": ""
|
|
42
|
-
},
|
|
43
37
|
{
|
|
44
38
|
"fromAttribute": "class",
|
|
45
39
|
"fromValue": "oj-radioset-input-end",
|
|
@@ -75,6 +69,23 @@
|
|
|
75
69
|
"fromValue": "",
|
|
76
70
|
"toAttribute": "",
|
|
77
71
|
"toValue": ""
|
|
72
|
+
},
|
|
73
|
+
{
|
|
74
|
+
"fromAttribute": "described-by",
|
|
75
|
+
"fromValue": "",
|
|
76
|
+
"toAttribute": "",
|
|
77
|
+
"toValue": ""
|
|
78
|
+
},
|
|
79
|
+
{
|
|
80
|
+
"fromAttribute": "labelled-by",
|
|
81
|
+
"fromValue": "",
|
|
82
|
+
"toAttribute": "",
|
|
83
|
+
"toValue": ""
|
|
84
|
+
}
|
|
85
|
+
],
|
|
86
|
+
"ruleSetToIgnore": [
|
|
87
|
+
{
|
|
88
|
+
"missAttribute": {"label-hint": ""}
|
|
78
89
|
}
|
|
79
90
|
],
|
|
80
91
|
"migrateTest": {
|