@oracle/oraclejet-audit 15.1.8 → 16.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 +2 -2
- package/corePackMigrator/metadata/actionCardMetadata.json +8 -0
- package/corePackMigrator/metadata/avatarMetadata.json +0 -12
- package/corePackMigrator/metadata/drawerPopupMetadata.json +16 -0
- package/corePackMigrator/metadata/formLayoutMetadata.json +34 -0
- package/corePackMigrator/metadata/highlightTextMetadata.json +8 -0
- package/corePackMigrator/metadata/inputNumberMetadata.json +26 -2
- package/corePackMigrator/metadata/inputPasswordMetadata.json +32 -2
- package/corePackMigrator/metadata/inputTextMetadata.json +26 -2
- package/corePackMigrator/metadata/legendItemMetadata.json +1 -5
- package/corePackMigrator/metadata/legendMetadata.json +42 -0
- package/corePackMigrator/metadata/legendSectionMetadata.json +6 -4
- package/corePackMigrator/metadata/listviewMetadata.json +61 -2
- package/corePackMigrator/metadata/messageBannerMetadata.json +8 -0
- package/corePackMigrator/metadata/messagesMetadata.json +17 -5
- package/corePackMigrator/metadata/radiosetMetadata.json +86 -0
- package/corePackMigrator/metadata/ratingGaugeMetadata.json +29 -17
- package/corePackMigrator/metadata/selectManyMetadata.json +9 -3
- package/corePackMigrator/metadata/selectSingleMetadata.json +16 -5
- package/corePackMigrator/metadata/selectorMetadata.json +37 -0
- package/corePackMigrator/metadata/statusMeterGaugeMetadata.json +21 -9
- package/corePackMigrator/metadata/tagCloudMetadata.json +8 -0
- package/corePackMigrator/metadata/textAreaMetadata.json +8 -2
- 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 +25 -10
- package/corePackMigrator/resource/migrationConfig.json +3 -0
- package/corePackMigrator/templates/componentMetaData.json +18 -4
- package/corePackMigrator/templates/migrationConfig.json +15 -3
- package/corePackMigrator/utilities/logging.js +1 -1
- package/jaf-amd.js +1 -1
- package/jaf.js +1 -1
- package/jafapi.js +1 -1
- package/lib/AST_Ts.js +1 -1
- package/lib/AstNodeTypes.js +1 -1
- package/lib/Components.js +1 -1
- package/lib/DomUtils.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/Registry.js +1 -1
- package/lib/RulePack.js +1 -1
- package/lib/RuleSet.js +1 -1
- package/lib/Rules.js +1 -1
- package/lib/Stats.js +1 -1
- package/lib/Ts.js +1 -1
- package/lib/TsUtils.js +6 -0
- package/lib/TsxUtils.js +1 -1
- package/lib/TsxUtils2.js +1 -1
- package/lib/Utils.js +1 -1
- package/lib/checkage.js +1 -1
- package/lib/defaults.js +1 -1
- package/lib/jsx.js +1 -1
- package/lib/migrator.js +1 -1
- package/lib/scaffold.js +1 -1
- package/lib/sublib/precomp/ComponentFinder.js +6 -0
- package/lib/sublib/precomp/Precompiler.js +6 -0
- package/lib/sublib/precomp/TsxUtils.js +6 -0
- package/lib/sublib/precomp/Utils.js +6 -0
- package/meta/15.0.0/jetauditmeta.js +1 -1
- package/meta/15.1.0/jetauditmeta.js +1 -1
- package/meta/16.0.0/jetauditmeta.js +9 -0
- package/meta/metaverlist.json +1 -1
- package/package.json +10 -7
- package/profiles/best-practice.json +1 -0
- package/rulepacks/csp/csp-json-unsafe-expr.js +1 -1
- package/rulepacks/jetwc/jetwc-bootstrap.js +1 -1
- package/rulepacks/jetwc/jetwc-require-paths.js +1 -1
- package/rulepacks/jetwc/jetwc-schema.js +1 -1
- package/rulepacks/jetwc/jetwc-well-formed-description.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/jetwc-lib/jetwcutils-tsxUtils.js +1 -1
- package/rulepacks/jetwco/jetwco-bootstrap.js +1 -1
- package/rulepacks/jetwco/jetwco-cacc-methodParamTypes.js +1 -1
- package/rulepacks/jetwco/jetwco-cacc-methodReturnType.js +1 -1
- package/rulepacks/jetwco/jetwco-description-standards.js +1 -1
- package/rulepacks/jetwco/jetwco-license-info.js +1 -1
- package/rulepacks/jetwco/jetwco-validate-applied-audits.js +6 -0
- package/rulepacks/jetwco/msgid.json +1 -1
- package/rulepacks/jetwco/rules.json +1 -1
- package/rulepacks/ojc/msgid.json +1 -1
- package/rulepacks/ojc/ojc-html-button-defslot.js +6 -0
- package/rulepacks/ojc/ojc-tsx-button-defslot.js +6 -0
- package/rulepacks/ojc/rules.json +1 -1
- package/rules/jaf/jaf-css-diagnose.js +1 -1
- package/rules/jaf/jaf-js-diagnose.js +1 -1
- package/rules/jaf/jaf-sys-dup-component.js +6 -0
- package/rules/jaf/jaf-sys-rule-opt.js +6 -0
- package/rules/jaf/jaf-ts-precompile.js +6 -0
- package/rules/jaf/msgid.json +1 -1
- package/rules/jaf/rules.json +1 -1
- package/rules/jet/helpers/has-slot-name.js +1 -1
- package/rules/jet/msgid.json +1 -1
- package/rules/jet/oj-cca-compjson-bp-jetver.js +1 -1
- package/rules/jet/oj-html-alta-deprecated.js +1 -1
- package/rules/jet/oj-html-attr-expr-writeback.js +6 -0
- package/rules/jet/oj-html-binding-as-slot-child.js +6 -0
- package/rules/jet/oj-html-event-focus-blur.js +6 -0
- package/rules/jet/oj-html-form-bindif.js +1 -1
- package/rules/jet/oj-html-ojattr-deprecated.js +1 -1
- package/rules/jet/oj-html-ojattr-enum-deprecated.js +1 -1
- package/rules/jet/oj-html-ojattr.js +1 -1
- package/rules/jet/oj-html-ojtag-deprecated.js +1 -1
- package/rules/jet/oj-html-ojtag-nonglobattr-prefix.js +1 -1
- package/rules/jet/oj-html-prop-anti-pattern.js +6 -0
- package/rules/jet/oj-html-slot-default.js +6 -0
- package/rules/jet/oj-html-slot-deprecated.js +1 -1
- package/rules/jet/oj-html-slot-name.js +1 -1
- package/rules/jet/oj-html-slot-pref-content.js +1 -1
- package/rules/jet/oj-html-style-deprecated.js +1 -1
- package/rules/jet/oj-html-treeview-actionable-content.js +6 -0
- package/rules/jet/oj-html-wctag-anti-pattern.js +6 -0
- package/rules/jet/oj-html-wctag-maintenance.js +1 -1
- package/rules/jet/oj-html-wctag-supersedes.js +1 -1
- package/rules/jet/oj-js-ojcomp-exist.js +1 -1
- package/rules/jet/oj-ts-ojcomp-exist.js +1 -1
- package/rules/jet/oj-tsx-aria-ojselector-labelledby.js +1 -1
- package/rules/jet/oj-tsx-aria-prop.js +1 -1
- package/rules/jet/oj-tsx-event.js +6 -0
- package/rules/jet/oj-tsx-ojattr-deprecated.js +1 -1
- package/rules/jet/oj-tsx-ojattr-enum-deprecated.js +1 -1
- package/rules/jet/oj-tsx-ojattr-value.js +1 -1
- package/rules/jet/oj-tsx-ojattr.js +1 -1
- package/rules/jet/oj-tsx-ojtag-deprecated.js +1 -1
- package/rules/jet/oj-tsx-pageopts-type.js +1 -1
- package/rules/jet/oj-tsx-picker-attrs.js +1 -1
- package/rules/jet/oj-tsx-popup-sibling.js +6 -0
- package/rules/jet/oj-tsx-prop-anti-pattern.js +6 -0
- package/rules/jet/oj-tsx-rating-gauge-size.js +1 -1
- package/rules/jet/oj-tsx-rating-gauge-track-resize.js +1 -1
- package/rules/jet/oj-tsx-slot-deprecated.js +1 -1
- package/rules/jet/oj-tsx-slot-pref-content.js +1 -1
- package/rules/jet/oj-tsx-treeview-actionable-content.js +6 -0
- package/rules/jet/oj-tsx-unsup-theme.js +1 -1
- package/rules/jet/oj-tsx-wctag-anti-pattern.js +6 -0
- package/rules/jet/oj-tsx-wctag-maintenance.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 +1 -0
- package/rulepacks/jetwc-lib/jetwcutils-preCompiler.js +0 -6
- package/rules/jet/oj-html-combo-converter.js +0 -6
- package/rules/jet/oj-tsx-combo-converter.js +0 -6
|
@@ -3,8 +3,8 @@
|
|
|
3
3
|
* Licensed under The Universal Permissive License (UPL), Version 1.0
|
|
4
4
|
* as shown at https://oss.oracle.com/licenses/upl/
|
|
5
5
|
*/
|
|
6
|
-
const readlineSync=require("readline-sync");const fileScanner=require("./resource/fileScanner");
|
|
6
|
+
var fs=require("fs");const readlineSync=require("readline-sync");const fileScanner=require("./resource/fileScanner");global.manifestData=require("./resource/manifest.json");const logging=require("./utilities/logging");const migrator=require("./resource/componentMigrator");global.configData=require("./resource/migrationConfig.json");function migrate(){if(global.jaf.options.dryRunMode){const text="\nMigrator is in Dry Run Mode.\n\tFile changes will not occur.";global.jaf.log.warn(text);logging.logMessage(text)}else{global.jaf.log.warn("\nMigrator will make file changes.");if(readlineSync.keyInYNStrict("Do you want to continue?")){logging.consoleLog("\nMigration in progress. Please wait...")}else{logging.consoleLog("\nMigration attempt exited. No changes occured.");return 0}}console.time("** Time for Migration");if(global.jaf.configPath){const{excludeFolders,excludeFiles,excludeComponents,includeFiles,includeFolders,includeComponents,forceMigration,excludeAttributeExpressions,baseMigrationDir,logFileName,logFilePath}=fileScanner.getConfigData(global.jaf.configPath);global.configData=Object.assign(global.configData,{baseMigrationDir,logFileName,logFilePath});if(excludeFiles?.length&&includeFiles?.length){logging.logIncludeExcludeIssue("Files");return 0}if(excludeFolders?.length&&includeFolders?.length){logging.logIncludeExcludeIssue("Folders");return 0}if(excludeComponents?.length&&includeComponents?.length){logging.logIncludeExcludeIssue("Components");return 0}if(excludeFiles?.length){global.configData.excludeFiles=excludeFiles}if(excludeFolders?.length){global.configData.excludeFolders=global.configData.excludeFolders.concat(excludeFolders)}if(includeFiles?.length){global.configData.includeFiles=includeFiles}if(includeFolders?.length){global.configData.includeFolders=global.configData.includeFolders.concat(includeFolders)}if(includeComponents?.length&&!excludeComponents?.length){global.manifestData=global.manifestData.filter(obj=>{return includeComponents.includes(obj.componentName)})}if(excludeComponents?.length&&!includeComponents?.length){global.manifestData=global.manifestData.filter(obj=>{return!excludeComponents.includes(obj.componentName)})}if(forceMigration){global.configData.forceMigration=forceMigration}if(excludeAttributeExpressions){global.configData.excludeAttributeExpressions=excludeAttributeExpressions}}const{baseMigrationDir:baseDir,logFileName,logFilePath}=global.configData;const sourcePath=baseDir||process.cwd();global.migrationMetrics={components:0,files:0};const fileSets=fileScanner.scanForFiles(sourcePath);let logFileDestination=global.jaf.logPath;for(let extension in fileSets){for(let filepath of fileSets[extension]){global.filePath=filepath;global.fileIsUpdated=false;global.errorInFile=false;let code=fs.readFileSync(filePath,{encoding:"utf8"});switch(extension){case".html":code=migrator.migrateHTML(code);break;case".js":case".ts":global.plugins=["typescript","decorators"];code=migrator.migrateTSX(code);break;case".jsx":case".tsx":global.plugins=["jsx","typescript","decorators"];code=migrator.migrateTSX(code);case".css":break}if(global.errorInFile){continue}if(!global.jaf.options.dryRunMode&&global.fileIsUpdated){fs.writeFileSync(filePath,code,err=>{if(err){console.error(err)}})}}}if(logFileName||logFilePath){const defaultPathSplit=global.jaf.logPath.split("/");const defaultFileName=defaultPathSplit[defaultPathSplit.length-1].split(".")[0];defaultPathSplit.pop();const defaultPath=defaultPathSplit.join("/");logFileDestination=`${logFilePath?logFilePath:defaultPath}/${logFileName?logFileName:defaultFileName}.log`;fs.copyFile(global.jaf.logPath,logFileDestination,err=>{if(err)throw err});if(logFilePath){fs.unlink(global.jaf.logPath,err=>{if(err)throw err})}}logging.consoleLog(`\n
|
|
7
7
|
** Migration Complete
|
|
8
8
|
** Files Updated: ${global.migrationMetrics.files}
|
|
9
9
|
** Component Instances Migrated: ${global.migrationMetrics.components}
|
|
10
|
-
** Please refer to the log file found at ${
|
|
10
|
+
** Please refer to the log file found at ${logFileDestination} for more details`);console.timeEnd("** Time for Migration");return 0}exports.migrate=migrate;
|
|
@@ -23,18 +23,6 @@
|
|
|
23
23
|
"fromValue": "xxl",
|
|
24
24
|
"toAttribute": "size",
|
|
25
25
|
"toValue": "2xl"
|
|
26
|
-
},
|
|
27
|
-
{
|
|
28
|
-
"fromAttribute": "size",
|
|
29
|
-
"fromValue": "small",
|
|
30
|
-
"toAttribute": "size",
|
|
31
|
-
"toValue": "sm"
|
|
32
|
-
},
|
|
33
|
-
{
|
|
34
|
-
"fromAttribute": "size",
|
|
35
|
-
"fromValue": "fit",
|
|
36
|
-
"toAttribute": "size",
|
|
37
|
-
"toValue": "lg"
|
|
38
26
|
}
|
|
39
27
|
]
|
|
40
28
|
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
{
|
|
2
|
+
"legacyTag": "oj-drawer-popup",
|
|
3
|
+
"corePackTag": "oj-c-drawer-popup",
|
|
4
|
+
"migrateImports": {
|
|
5
|
+
"from": "ojs/ojdrawerpopup",
|
|
6
|
+
"to": "oj-c/drawer-popup"
|
|
7
|
+
},
|
|
8
|
+
"migrateAttributes": [
|
|
9
|
+
{
|
|
10
|
+
"fromAttribute": "role",
|
|
11
|
+
"fromValue": "",
|
|
12
|
+
"toAttribute": "",
|
|
13
|
+
"toValue": ""
|
|
14
|
+
}
|
|
15
|
+
]
|
|
16
|
+
}
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
{
|
|
2
|
+
"legacyTag": "oj-form-layout",
|
|
3
|
+
"corePackTag": "oj-c-form-layout",
|
|
4
|
+
"migrateImports": {
|
|
5
|
+
"from": "ojs/ojformlayout",
|
|
6
|
+
"to": "oj-c/form-layout"
|
|
7
|
+
},
|
|
8
|
+
"migrateAttributes": [
|
|
9
|
+
{
|
|
10
|
+
"fromAttribute": "colspan-wrap",
|
|
11
|
+
"fromValue": "",
|
|
12
|
+
"toAttribute": "",
|
|
13
|
+
"toValue": ""
|
|
14
|
+
},
|
|
15
|
+
{
|
|
16
|
+
"fromAttribute": "label-width",
|
|
17
|
+
"fromValue": "",
|
|
18
|
+
"toAttribute": "label-start-width",
|
|
19
|
+
"toValue": ""
|
|
20
|
+
},
|
|
21
|
+
{
|
|
22
|
+
"fromAttribute": "colspanWrap",
|
|
23
|
+
"fromValue": "",
|
|
24
|
+
"toAttribute": "",
|
|
25
|
+
"toValue": ""
|
|
26
|
+
},
|
|
27
|
+
{
|
|
28
|
+
"fromAttribute": "labelWidth",
|
|
29
|
+
"fromValue": "",
|
|
30
|
+
"toAttribute": "labelStartWidth",
|
|
31
|
+
"toValue": ""
|
|
32
|
+
}
|
|
33
|
+
]
|
|
34
|
+
}
|
|
@@ -42,9 +42,33 @@
|
|
|
42
42
|
"toValue": ""
|
|
43
43
|
},
|
|
44
44
|
{
|
|
45
|
-
"fromAttribute": "
|
|
45
|
+
"fromAttribute": "label-edge",
|
|
46
46
|
"fromValue": "provided",
|
|
47
|
-
"toAttribute": "
|
|
47
|
+
"toAttribute": "",
|
|
48
|
+
"toValue": ""
|
|
49
|
+
},
|
|
50
|
+
{
|
|
51
|
+
"fromAttribute": "labelEdge",
|
|
52
|
+
"fromValue": "provided",
|
|
53
|
+
"toAttribute": "",
|
|
54
|
+
"toValue": ""
|
|
55
|
+
},
|
|
56
|
+
{
|
|
57
|
+
"fromAttribute": ":described-by",
|
|
58
|
+
"fromValue": "",
|
|
59
|
+
"toAttribute": "",
|
|
60
|
+
"toValue": ""
|
|
61
|
+
},
|
|
62
|
+
{
|
|
63
|
+
"fromAttribute": "described-by",
|
|
64
|
+
"fromValue": "",
|
|
65
|
+
"toAttribute": "",
|
|
66
|
+
"toValue": ""
|
|
67
|
+
},
|
|
68
|
+
{
|
|
69
|
+
"fromAttribute": "describedBy",
|
|
70
|
+
"fromValue": "",
|
|
71
|
+
"toAttribute": "",
|
|
48
72
|
"toValue": ""
|
|
49
73
|
}
|
|
50
74
|
],
|
|
@@ -30,9 +30,9 @@
|
|
|
30
30
|
"toValue": ""
|
|
31
31
|
},
|
|
32
32
|
{
|
|
33
|
-
"fromAttribute": "
|
|
33
|
+
"fromAttribute": "label-edge",
|
|
34
34
|
"fromValue": "provided",
|
|
35
|
-
"toAttribute": "
|
|
35
|
+
"toAttribute": "",
|
|
36
36
|
"toValue": ""
|
|
37
37
|
},
|
|
38
38
|
{
|
|
@@ -40,6 +40,36 @@
|
|
|
40
40
|
"fromValue": "hidden",
|
|
41
41
|
"toAttribute": "mask-icon",
|
|
42
42
|
"toValue": "visible"
|
|
43
|
+
},
|
|
44
|
+
{
|
|
45
|
+
"fromAttribute": "labelEdge",
|
|
46
|
+
"fromValue": "provided",
|
|
47
|
+
"toAttribute": "",
|
|
48
|
+
"toValue": ""
|
|
49
|
+
},
|
|
50
|
+
{
|
|
51
|
+
"fromAttribute": "maskIcon",
|
|
52
|
+
"fromValue": "hidden",
|
|
53
|
+
"toAttribute": "maskIcon",
|
|
54
|
+
"toValue": "visible"
|
|
55
|
+
},
|
|
56
|
+
{
|
|
57
|
+
"fromAttribute": ":described-by",
|
|
58
|
+
"fromValue": "",
|
|
59
|
+
"toAttribute": "",
|
|
60
|
+
"toValue": ""
|
|
61
|
+
},
|
|
62
|
+
{
|
|
63
|
+
"fromAttribute": "described-by",
|
|
64
|
+
"fromValue": "",
|
|
65
|
+
"toAttribute": "",
|
|
66
|
+
"toValue": ""
|
|
67
|
+
},
|
|
68
|
+
{
|
|
69
|
+
"fromAttribute": "describedBy",
|
|
70
|
+
"fromValue": "",
|
|
71
|
+
"toAttribute": "",
|
|
72
|
+
"toValue": ""
|
|
43
73
|
}
|
|
44
74
|
],
|
|
45
75
|
"ruleSetToIgnore": [
|
|
@@ -48,9 +48,33 @@
|
|
|
48
48
|
"toValue": ""
|
|
49
49
|
},
|
|
50
50
|
{
|
|
51
|
-
"fromAttribute": "
|
|
51
|
+
"fromAttribute": "label-edge",
|
|
52
52
|
"fromValue": "provided",
|
|
53
|
-
"toAttribute": "
|
|
53
|
+
"toAttribute": "",
|
|
54
|
+
"toValue": ""
|
|
55
|
+
},
|
|
56
|
+
{
|
|
57
|
+
"fromAttribute": "labelEdge",
|
|
58
|
+
"fromValue": "provided",
|
|
59
|
+
"toAttribute": "",
|
|
60
|
+
"toValue": ""
|
|
61
|
+
},
|
|
62
|
+
{
|
|
63
|
+
"fromAttribute": ":described-by",
|
|
64
|
+
"fromValue": "",
|
|
65
|
+
"toAttribute": "",
|
|
66
|
+
"toValue": ""
|
|
67
|
+
},
|
|
68
|
+
{
|
|
69
|
+
"fromAttribute": "described-by",
|
|
70
|
+
"fromValue": "",
|
|
71
|
+
"toAttribute": "",
|
|
72
|
+
"toValue": ""
|
|
73
|
+
},
|
|
74
|
+
{
|
|
75
|
+
"fromAttribute": "describedBy",
|
|
76
|
+
"fromValue": "",
|
|
77
|
+
"toAttribute": "",
|
|
54
78
|
"toValue": ""
|
|
55
79
|
}
|
|
56
80
|
],
|
|
@@ -13,6 +13,48 @@
|
|
|
13
13
|
{
|
|
14
14
|
"fromAttribute": "collapsible",
|
|
15
15
|
"fromValue": ""
|
|
16
|
+
},
|
|
17
|
+
{
|
|
18
|
+
"fromChild": "oj-legend-section",
|
|
19
|
+
"fromAttribute": "text-halign",
|
|
20
|
+
"fromValue": "",
|
|
21
|
+
"toAttribute": "section-title-halign",
|
|
22
|
+
"toValue": ""
|
|
23
|
+
},
|
|
24
|
+
{
|
|
25
|
+
"fromChild": "oj-legend-section",
|
|
26
|
+
"fromAttribute": "text-style",
|
|
27
|
+
"fromValue": "",
|
|
28
|
+
"toAttribute": "section-title-style",
|
|
29
|
+
"toValue": ""
|
|
30
|
+
},
|
|
31
|
+
{
|
|
32
|
+
"fromChild": "oj-legend-section",
|
|
33
|
+
"fromAttribute": "textHalign",
|
|
34
|
+
"fromValue": "",
|
|
35
|
+
"toAttribute": "sectionTitleHalign",
|
|
36
|
+
"toValue": ""
|
|
37
|
+
},
|
|
38
|
+
{
|
|
39
|
+
"fromChild": "oj-legend-section",
|
|
40
|
+
"fromAttribute": "textStyle",
|
|
41
|
+
"fromValue": "",
|
|
42
|
+
"toAttribute": "sectionTitleStyle",
|
|
43
|
+
"toValue": ""
|
|
44
|
+
}
|
|
45
|
+
],
|
|
46
|
+
"migrateChildren": [
|
|
47
|
+
"legendItemMetadata",
|
|
48
|
+
"legendSectionMetadata"
|
|
49
|
+
],
|
|
50
|
+
"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"]
|
|
16
58
|
}
|
|
17
59
|
]
|
|
18
60
|
}
|
|
@@ -4,5 +4,64 @@
|
|
|
4
4
|
"migrateImports": {
|
|
5
5
|
"from": "ojs/ojlistview",
|
|
6
6
|
"to": "oj-c/list-view"
|
|
7
|
-
}
|
|
8
|
-
|
|
7
|
+
},
|
|
8
|
+
"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
|
+
}
|
|
66
|
+
]
|
|
67
|
+
}
|
|
@@ -13,11 +13,6 @@
|
|
|
13
13
|
"attributeValue": "notification"
|
|
14
14
|
}
|
|
15
15
|
],
|
|
16
|
-
"ruleSetToIgnore": [
|
|
17
|
-
{
|
|
18
|
-
"attributeName": "messages"
|
|
19
|
-
}
|
|
20
|
-
],
|
|
21
16
|
"migrateAttributes": [
|
|
22
17
|
{
|
|
23
18
|
"fromAttribute": "display",
|
|
@@ -30,6 +25,23 @@
|
|
|
30
25
|
"fromValue": "",
|
|
31
26
|
"toAttribute": "",
|
|
32
27
|
"toValue": ""
|
|
28
|
+
},
|
|
29
|
+
{
|
|
30
|
+
"fromAttribute": "displayOptions",
|
|
31
|
+
"fromValue": "",
|
|
32
|
+
"toAttribute": "",
|
|
33
|
+
"toValue": ""
|
|
34
|
+
},
|
|
35
|
+
{
|
|
36
|
+
"fromAttribute": "display-options.category",
|
|
37
|
+
"fromValue": "",
|
|
38
|
+
"toAttribute": "",
|
|
39
|
+
"toValue": ""
|
|
40
|
+
}
|
|
41
|
+
],
|
|
42
|
+
"ruleSetToIgnore": [
|
|
43
|
+
{
|
|
44
|
+
"attribute": "messages"
|
|
33
45
|
}
|
|
34
46
|
]
|
|
35
47
|
}
|
|
@@ -0,0 +1,86 @@
|
|
|
1
|
+
{
|
|
2
|
+
"legacyTag": "oj-radioset",
|
|
3
|
+
"corePackTag": "oj-c-radioset",
|
|
4
|
+
"migrateImports": {
|
|
5
|
+
"from": "ojs/ojradioset",
|
|
6
|
+
"to": "oj-c/radioset"
|
|
7
|
+
},
|
|
8
|
+
"slotContentToAttribute": {
|
|
9
|
+
"slotName": "oj-label",
|
|
10
|
+
"attribute": "label-hint"
|
|
11
|
+
},
|
|
12
|
+
"classNameToAttribute": [
|
|
13
|
+
{
|
|
14
|
+
"className": "oj-choice-direction-column",
|
|
15
|
+
"attribute": "direction",
|
|
16
|
+
"attributeValue": "column"
|
|
17
|
+
},
|
|
18
|
+
{
|
|
19
|
+
"className": "oj-choice-direction-row",
|
|
20
|
+
"attribute": "direction",
|
|
21
|
+
"attributeValue": "row"
|
|
22
|
+
}
|
|
23
|
+
],
|
|
24
|
+
"migrateAttributes": [
|
|
25
|
+
{
|
|
26
|
+
"fromAttribute": "label-edge",
|
|
27
|
+
"fromValue": "provided",
|
|
28
|
+
"toAttribute": "",
|
|
29
|
+
"toValue": ""
|
|
30
|
+
},
|
|
31
|
+
{
|
|
32
|
+
"fromAttribute": "option-renderer",
|
|
33
|
+
"fromValue": "",
|
|
34
|
+
"toAttribute": "",
|
|
35
|
+
"toValue": ""
|
|
36
|
+
},
|
|
37
|
+
{
|
|
38
|
+
"fromAttribute": "labelEdge",
|
|
39
|
+
"fromValue": "provided",
|
|
40
|
+
"toAttribute": "",
|
|
41
|
+
"toValue": ""
|
|
42
|
+
},
|
|
43
|
+
{
|
|
44
|
+
"fromAttribute": "optionRenderer",
|
|
45
|
+
"fromValue": "",
|
|
46
|
+
"toAttribute": "",
|
|
47
|
+
"toValue": ""
|
|
48
|
+
},
|
|
49
|
+
{
|
|
50
|
+
"fromAttribute": "class",
|
|
51
|
+
"fromValue": "oj-radioset-input-end",
|
|
52
|
+
"toAttribute": "",
|
|
53
|
+
"toValue": ""
|
|
54
|
+
},
|
|
55
|
+
{
|
|
56
|
+
"fromAttribute": "class",
|
|
57
|
+
"fromValue": "oj-radioset-input-start",
|
|
58
|
+
"toAttribute": "",
|
|
59
|
+
"toValue": ""
|
|
60
|
+
},
|
|
61
|
+
{
|
|
62
|
+
"fromAttribute": "class",
|
|
63
|
+
"fromValue": "oj-radioset-no-chrome",
|
|
64
|
+
"toAttribute": "",
|
|
65
|
+
"toValue": ""
|
|
66
|
+
},
|
|
67
|
+
{
|
|
68
|
+
"fromAttribute": "translations.required.message-detail",
|
|
69
|
+
"fromValue": "",
|
|
70
|
+
"toAttribute": "required-message-detail",
|
|
71
|
+
"toValue": ""
|
|
72
|
+
},
|
|
73
|
+
{
|
|
74
|
+
"fromAttribute": "display-options.validator-hint",
|
|
75
|
+
"fromValue": "",
|
|
76
|
+
"toAttribute": "",
|
|
77
|
+
"toValue": ""
|
|
78
|
+
},
|
|
79
|
+
{
|
|
80
|
+
"fromAttribute": "display-options.converter-hint",
|
|
81
|
+
"fromValue": "",
|
|
82
|
+
"toAttribute": "",
|
|
83
|
+
"toValue": ""
|
|
84
|
+
}
|
|
85
|
+
]
|
|
86
|
+
}
|
|
@@ -44,34 +44,46 @@
|
|
|
44
44
|
},
|
|
45
45
|
{
|
|
46
46
|
"fromAttribute": "size",
|
|
47
|
-
"fromValue": "
|
|
47
|
+
"fromValue": "fit",
|
|
48
48
|
"toAttribute": "size",
|
|
49
49
|
"toValue": "lg"
|
|
50
50
|
},
|
|
51
51
|
{
|
|
52
|
-
"
|
|
53
|
-
"
|
|
54
|
-
"
|
|
55
|
-
"
|
|
52
|
+
"depAttribute": "readonly",
|
|
53
|
+
"depValue": "",
|
|
54
|
+
"fromAttribute": "title",
|
|
55
|
+
"fromValue": "",
|
|
56
|
+
"toAttribute": "tooltip",
|
|
57
|
+
"toValue": ""
|
|
56
58
|
},
|
|
57
59
|
{
|
|
58
|
-
"fromAttribute": "
|
|
59
|
-
"fromValue": "
|
|
60
|
-
"toAttribute": "
|
|
61
|
-
"toValue": "
|
|
60
|
+
"fromAttribute": "selectedState",
|
|
61
|
+
"fromValue": "",
|
|
62
|
+
"toAttribute": "",
|
|
63
|
+
"toValue": ""
|
|
62
64
|
},
|
|
63
65
|
{
|
|
64
|
-
"fromAttribute": "
|
|
65
|
-
"fromValue": "
|
|
66
|
-
"toAttribute": "
|
|
67
|
-
"toValue": "
|
|
66
|
+
"fromAttribute": "hoveredState",
|
|
67
|
+
"fromValue": "",
|
|
68
|
+
"toAttribute": "",
|
|
69
|
+
"toValue": ""
|
|
68
70
|
},
|
|
69
71
|
{
|
|
70
|
-
"
|
|
71
|
-
"depValue": "",
|
|
72
|
-
"fromAttribute": "title",
|
|
72
|
+
"fromAttribute": "changedState",
|
|
73
73
|
"fromValue": "",
|
|
74
|
-
"toAttribute": "
|
|
74
|
+
"toAttribute": "",
|
|
75
|
+
"toValue": ""
|
|
76
|
+
},
|
|
77
|
+
{
|
|
78
|
+
"fromAttribute": "unselectedState",
|
|
79
|
+
"fromValue": "",
|
|
80
|
+
"toAttribute": "",
|
|
81
|
+
"toValue": ""
|
|
82
|
+
},
|
|
83
|
+
{
|
|
84
|
+
"fromAttribute": "trackResize",
|
|
85
|
+
"fromValue": "",
|
|
86
|
+
"toAttribute": "",
|
|
75
87
|
"toValue": ""
|
|
76
88
|
}
|
|
77
89
|
]
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"legacyTag": "oj-select-many",
|
|
3
3
|
"corePackTag": "oj-c-select-multiple",
|
|
4
4
|
"migrateImports": {
|
|
5
|
-
"from": "ojs/
|
|
5
|
+
"from": "ojs/ojselectcombobox",
|
|
6
6
|
"to": "oj-c/select-multiple"
|
|
7
7
|
},
|
|
8
8
|
"classNameToAttribute": [
|
|
@@ -30,9 +30,15 @@
|
|
|
30
30
|
"toValue": "label"
|
|
31
31
|
},
|
|
32
32
|
{
|
|
33
|
-
"fromAttribute": "
|
|
33
|
+
"fromAttribute": "label-edge",
|
|
34
34
|
"fromValue": "provided",
|
|
35
|
-
"toAttribute": "
|
|
35
|
+
"toAttribute": "",
|
|
36
|
+
"toValue": ""
|
|
37
|
+
},
|
|
38
|
+
{
|
|
39
|
+
"fromAttribute": "labelEdge",
|
|
40
|
+
"fromValue": "provided",
|
|
41
|
+
"toAttribute": "",
|
|
36
42
|
"toValue": ""
|
|
37
43
|
}
|
|
38
44
|
]
|
|
@@ -8,17 +8,17 @@
|
|
|
8
8
|
"classNameToAttribute": [
|
|
9
9
|
{
|
|
10
10
|
"className": "oj-form-control-text-align-right",
|
|
11
|
-
"attribute": "
|
|
11
|
+
"attribute": "text-align",
|
|
12
12
|
"attributeValue": "right"
|
|
13
13
|
},
|
|
14
14
|
{
|
|
15
15
|
"className": "oj-form-control-text-align-start",
|
|
16
|
-
"attribute": "
|
|
16
|
+
"attribute": "text-align",
|
|
17
17
|
"attributeValue": "start"
|
|
18
18
|
},
|
|
19
19
|
{
|
|
20
20
|
"className": "oj-form-control-text-align-end",
|
|
21
|
-
"attribute": "
|
|
21
|
+
"attribute": "text-align",
|
|
22
22
|
"attributeValue": "end"
|
|
23
23
|
}
|
|
24
24
|
],
|
|
@@ -30,10 +30,21 @@
|
|
|
30
30
|
"toValue": "label"
|
|
31
31
|
},
|
|
32
32
|
{
|
|
33
|
-
"fromAttribute": "
|
|
33
|
+
"fromAttribute": "label-edge",
|
|
34
34
|
"fromValue": "provided",
|
|
35
|
-
"toAttribute": "
|
|
35
|
+
"toAttribute": "",
|
|
36
36
|
"toValue": ""
|
|
37
|
+
},
|
|
38
|
+
{
|
|
39
|
+
"fromAttribute": "labelEdge",
|
|
40
|
+
"fromValue": "provided",
|
|
41
|
+
"toAttribute": "",
|
|
42
|
+
"toValue": ""
|
|
43
|
+
}
|
|
44
|
+
],
|
|
45
|
+
"ruleSetToIgnore": [
|
|
46
|
+
{
|
|
47
|
+
"descendant": "template"
|
|
37
48
|
}
|
|
38
49
|
]
|
|
39
50
|
}
|