@oracle/oraclejet-audit 17.0.6 → 17.1.1

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.
@@ -1 +1 @@
1
- {"metaList":{"8.3.0":{"version":"8.3.0","date":"Monday May 04, 2020","time":"4:34pm edt"},"9.0.0":{"version":"9.0.0","date":"Friday Jun 12, 2020","time":"1:57am utc"},"9.1.0":{"version":"9.1.0","date":"Thursday Aug 06, 2020","time":"2:13am utc"},"9.2.0":{"version":"9.2.0","date":"Wednesday Oct 07, 2020","time":"5:41pm utc"},"10.0.0":{"version":"10.0.0","date":"Thursday Jan 07, 2021","time":"9:20pm utc"},"10.1.0":{"version":"10.1.0","date":"Saturday Apr 17, 2021","time":"4:01pm utc"},"11.0.0":{"version":"11.0.0","date":"Friday Jul 02, 2021","time":"3:02am utc"},"11.1.0":{"version":"11.1.0","date":"Thursday Sep 30, 2021","time":"9:33pm utc"},"12.0.0":{"version":"12.0.0","date":"Friday Feb 04, 2022","time":"2:29am utc"},"12.1.0":{"version":"12.1.0","date":"Saturday Apr 09, 2022","time":"7:54am utc"},"13.0.0":{"version":"13.0.4","date":"Thursday Sep 22, 2022","time":"3:14am utc"},"13.1.0":{"version":"13.1.0","date":"Sunday Oct 02, 2022","time":"3:37am utc"},"14.0.0":{"version":"14.0.0","date":"Tuesday Jan 03, 2023","time":"8:54pm utc"},"14.1.0":{"version":"14.1.0","date":"Thursday Apr 06, 2023","time":"7:55pm utc"},"15.0.0":{"version":"15.0.0","date":"Saturday Jul 01, 2023","time":"2:08pm utc"},"15.1.0":{"version":"15.1.0","date":"Thursday Jul 06, 2023","time":"8:04pm utc"},"16.0.0":{"version":"16.0.0","date":"Saturday Feb 10, 2024","time":"4:36pm utc"},"16.1.0":{"version":"16.1.0","date":"Monday Feb 12, 2024","time":"8:58pm utc"},"17.0.0":{"version":"17.0.6","date":"Friday Nov 08, 2024","time":"4:27pm utc"}}}
1
+ {"metaList":{"8.3.0":{"version":"8.3.0","date":"Monday May 04, 2020","time":"4:34pm edt"},"9.0.0":{"version":"9.0.0","date":"Friday Jun 12, 2020","time":"1:57am utc"},"9.1.0":{"version":"9.1.0","date":"Thursday Aug 06, 2020","time":"2:13am utc"},"9.2.0":{"version":"9.2.0","date":"Wednesday Oct 07, 2020","time":"5:41pm utc"},"10.0.0":{"version":"10.0.0","date":"Thursday Jan 07, 2021","time":"9:20pm utc"},"10.1.0":{"version":"10.1.0","date":"Saturday Apr 17, 2021","time":"4:01pm utc"},"11.0.0":{"version":"11.0.0","date":"Friday Jul 02, 2021","time":"3:02am utc"},"11.1.0":{"version":"11.1.0","date":"Thursday Sep 30, 2021","time":"9:33pm utc"},"12.0.0":{"version":"12.0.0","date":"Friday Feb 04, 2022","time":"2:29am utc"},"12.1.0":{"version":"12.1.0","date":"Saturday Apr 09, 2022","time":"7:54am utc"},"13.0.0":{"version":"13.0.4","date":"Thursday Sep 22, 2022","time":"3:14am utc"},"13.1.0":{"version":"13.1.0","date":"Sunday Oct 02, 2022","time":"3:37am utc"},"14.0.0":{"version":"14.0.0","date":"Tuesday Jan 03, 2023","time":"8:54pm utc"},"14.1.0":{"version":"14.1.0","date":"Thursday Apr 06, 2023","time":"7:55pm utc"},"15.0.0":{"version":"15.0.0","date":"Saturday Jul 01, 2023","time":"2:08pm utc"},"15.1.0":{"version":"15.1.0","date":"Thursday Jul 06, 2023","time":"8:04pm utc"},"16.0.0":{"version":"16.0.0","date":"Saturday Feb 10, 2024","time":"4:36pm utc"},"16.1.0":{"version":"16.1.0","date":"Monday Feb 12, 2024","time":"8:58pm utc"},"17.0.0":{"version":"17.0.0","date":"Saturday Aug 10, 2024","time":"0:25am utc"},"17.1.0":{"version":"17.1.1","date":"Friday Nov 22, 2024","time":"4:09pm utc"}}}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@oracle/oraclejet-audit",
3
- "version": "17.0.6",
3
+ "version": "17.1.1",
4
4
  "description": "JET AUDIT FRAMEWORK",
5
5
  "main": "jaf.js",
6
6
  "files": [
@@ -44,7 +44,7 @@
44
44
  "lint"
45
45
  ],
46
46
  "Jaf": {
47
- "version": "10.5.6"
47
+ "version": "10.6.3"
48
48
  },
49
49
  "license": "UPL-1.0",
50
50
  "dependencies": {
@@ -0,0 +1,6 @@
1
+ /*
2
+ * Copyright (c) 2018, 2024, Oracle and/or its affiliates.
3
+ * Licensed under The Universal Permissive License (UPL), Version 1.0
4
+ * as shown at https://oss.oracle.com/licenses/upl/
5
+ */
6
+ const LONG="The rule has been disabled because a property has been declared at the top-level in the rule's 'rules.json' entry. "+"Refer also to message JAF-2005 which preceded this message during the audit run for further details.";const SHORT="Rule is disabled because a user-declared rule property has been declared at the top-level and not in the 'customOpts' property.";function getName(){return"jaf-sys-rule-disable"}function getDescription(){return LONG}function getShortDescription(){return SHORT}module.exports={getName,getDescription,getShortDescription};
@@ -3,4 +3,4 @@
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 LONG="When declaring a custom rule option in a custom (i.e. a user-written) rule in a rule pack's "+"manifest file rules.json, it must NOT be declared at the top-level. It should, instead, be "+"declared in the top-level property object 'customOpts' to avoid potential naming collisions with JAF options.\n"+"The ability to declare custom rule properties at the top-level was deprecated in JAF 5.11.0. "+"For compatibility, this will still work in JAF versions 5.11.0 or later, and a 'customOpts' property "+"is created for you during start-up - any user options found are moved into it and flagged "+"as warnings. However, in JET 16, this compatibility will end, and any user options found "+"at the top-level will be flagged as errors, and use of 'customOpts' will be mandatory.";const SHORT="User-declared rule properties must be declared in the 'customOpts' top-level property.";function getName(){return"jaf-sys-rule-opt"}function getDescription(){return LONG}function getShortDescription(){return SHORT}module.exports={getName,getDescription,getShortDescription};
6
+ const LONG="A custom rule property must NOT be declared at the top level in the rule's rule.json entry (to avoid potential naming "+"collisions with JAF properties). Instead it should be declared in the top-level property object 'customOpts' of the rule.<p>"+"As of JET 18.0.0 (JAF >= 11.3.0) and JET 17.1.0 (>= JAF 10.6.1), top-level properties in a user rule are handled as follows:<p>"+"1) In API and AMD modes:<br>"+"&nbsp;&nbsp;a) if the rule is marked as '$required', all rules in the associated pack are disabled and the audit continues.<br>"+"&nbsp;&nbsp;b) if the rule IS NOT marked as '$required', the rule is disabled with a warning, and the audit will continue.<p>"+"2) In CLI mode - the audit is terminated.<p>"+"Prior to JET 18.0.0 (JAF < 11.0.0) and JET 17.1.0 (>= JAF 10.6.1), the action taken was:<p>"+"a) Starting in JAF 5.11.0, the ability to declare custom rule properties at the top-level was deprecated. "+"For compatibility, the audit continued and a 'customOpts' property was automatically created during start-up. "+"Any user options found were moved into it and flagged with warnings.<p>"+"b) In JET 17 (JAF 10.5.6), thd compatibility with 5.11.0 ended, and any user options found at the top-level wwere flagged as errors, and "+"use of 'customOpts' became mandatory. The audit was terminated.";const SHORT="User-declared rule properties must be declared in the 'customOpts' top-level property.";function getName(){return"jaf-sys-rule-opt"}function getDescription(){return LONG}function getShortDescription(){return SHORT}module.exports={getName,getDescription,getShortDescription};
@@ -0,0 +1,6 @@
1
+ /*
2
+ * Copyright (c) 2018, 2024, Oracle and/or its affiliates.
3
+ * Licensed under The Universal Permissive License (UPL), Version 1.0
4
+ * as shown at https://oss.oracle.com/licenses/upl/
5
+ */
6
+ const MSG="All rules in the pack have been disabled due to a previous error with a 'required' rule in the pack.";const LONG=MSG+" Refer also to message JAF#2005 which preceded this message during the audit run for further details.";const SHORT=MSG;function getName(){return"jaf-sys-rule-pack-disable"}function getDescription(){return LONG}function getShortDescription(){return SHORT}module.exports={getName,getDescription,getShortDescription};
@@ -0,0 +1,6 @@
1
+ /*
2
+ * Copyright (c) 2018, 2024, Oracle and/or its affiliates.
3
+ * Licensed under The Universal Permissive License (UPL), Version 1.0
4
+ * as shown at https://oss.oracle.com/licenses/upl/
5
+ */
6
+ function getName(){return"jaf-ts-loader"};function getShortDescription(){return"TypeScript comiler load error"};function getDescription(){return"During the JAF preprocess phase to determine if VComponent compilation has produced component metadata, the TypeScript compiler was unable to be loaded."};module.exports={getName,getDescription,getShortDescription};
@@ -3,4 +3,4 @@
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
- {"jaf-js-diagnose":"1000","jaf-ts-diagnose":"1005","jaf-ts-walk":"1007","jaf-css-diagnose":"1010","jaf-html-diagnose":"1020","jaf-ts-precompile":"1025","jaf-ts-noparser":"1999","jaf-init-schema":"2000","jaf-sys-rule-opt":"2005","jaf-sys-dup-component":"2010","jaf-sys-age":"9100"}
6
+ {"jaf-js-diagnose":"1000","jaf-ts-diagnose":"1005","jaf-ts-walk":"1007","jaf-css-diagnose":"1010","jaf-html-diagnose":"1020","jaf-ts-precompile":"1025","jaf-ts-loader":"1026","jaf-ts-noparser":"1999","jaf-init-schema":"2000","jaf-sys-rule-opt":"2005","jaf-sys-rule-disable":"2006","jaf-sys-rule-pack-disable":"2007","jaf-sys-dup-component":"2010","jaf-sys-age":"9100"}
@@ -3,4 +3,4 @@
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
- {"title":"JAF System Rules","version":"1.3.0","prefix":"JAF","rules":{"jaf-js-diagnose":{"severity":"blocker","filetype":["js","html"],"group":["jaf-js"],"status":"production","$internal":true},"jaf-ts-diagnose":{"severity":"blocker","filetype":["ts"],"group":["jaf-ts"],"status":"production","$internal":true},"jaf-ts-precompile":{"severity":"blocker","filetype":["ts"],"group":["jaf-ts"],"status":"production","$internal":true},"jaf-ts-noparser":{"severity":"blocker","filetype":["ts"],"group":["jaf-ts"],"status":"production","$internal":true},"jaf-ts-walk":{"severity":"blocker","filetype":["ts"],"group":["jaf-ts"],"status":"production","$internal":true},"jaf-html-diagnose":{"severity":"minor","filetype":["html"],"group":["jet-html"],"status":"production","$internal":true},"jaf-css-diagnose":{"severity":"minor","filetype":["css","html"],"group":["jet-css"],"status":"production","$internal":true},"jaf-init-schema":{"severity":"major","filetype":["json"],"group":["jet-json"],"status":"production","$internal":true},"jaf-sys-rule-opt":{"severity":"major","filetype":["html"],"group":["jaf-sys"],"status":"production","$internal":true},"jaf-sys-dup-component":{"severity":"major","filetype":["html"],"group":["jaf-sys"],"status":"production","$internal":true},"jaf-sys-age":{"severity":"minor","group":["jaf-sys"],"status":"production","$internal":true}}}
6
+ {"title":"JAF System Rules","version":"1.3.0","prefix":"JAF","rules":{"jaf-js-diagnose":{"severity":"blocker","filetype":["js","html"],"group":["jaf-js"],"status":"production","$internal":true},"jaf-ts-diagnose":{"severity":"blocker","filetype":["ts"],"group":["jaf-ts"],"status":"production","$internal":true},"jaf-ts-precompile":{"severity":"blocker","filetype":["ts"],"group":["jaf-ts"],"status":"production","$internal":true},"jaf-ts-noparser":{"severity":"blocker","filetype":["ts"],"group":["jaf-ts"],"status":"production","$internal":true},"jaf-ts-walk":{"severity":"blocker","filetype":["ts"],"group":["jaf-ts"],"status":"production","$internal":true},"jaf-html-diagnose":{"severity":"minor","filetype":["html"],"group":["jet-html"],"status":"production","$internal":true},"jaf-css-diagnose":{"severity":"minor","filetype":["css","html"],"group":["jet-css"],"status":"production","$internal":true},"jaf-init-schema":{"severity":"major","filetype":["json"],"group":["jet-json"],"status":"production","$internal":true},"jaf-sys-rule-opt":{"severity":"major","group":["jaf-sys"],"status":"production","$internal":true},"jaf-sys-rule-disable":{"severity":"major","group":["jaf-sys"],"status":"production","$internal":true},"jaf-sys-rule-pack-disable":{"severity":"major","group":["jaf-sys"],"status":"production","$internal":true},"jaf-sys-dup-component":{"severity":"major","group":["jaf-sys"],"status":"production","$internal":true},"jaf-sys-age":{"severity":"minor","group":["jaf-sys"],"status":"production","$internal":true}}}
@@ -3,4 +3,4 @@
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
- var NT;const _GLOBAL="_@global";const ANON_FUNC_PREFIX="AnonFunc_";const COMMON=["oj","window","console","parseInt","parseFloat","setInterval","JSON","document","Number","BigInt","Math","Date","String","RegExp","arguments","Array","Promise","Object","Function","Boolean","Symbol","Error","EvalError","InternalError","RangeError","ReferenceError","SyntaxError","TypeError","URIError","Int8Array","Uint8Array","Uint8ClampedArray","Int16Array","Uint16Array","Int32Array","Uint32Array","Float32Array","Float64Array","Map","Set","WeakMap","WeakSet","Generator","GeneratorFunction","AsyncFunction","Reflection","Intl","WebAssembly","ArrayBuffer","SharedArrayBuffer","Atomics","DataView"];function VarTrack(){this._funcVarTable={};this._funcParentage={};this._funcStack=[];this._funcBlocks={};this._anonFuncSuffix=0;this._undeclared=null;this._nodeWithParent=[]};VarTrack.prototype.createFuncDeclarations=function(context,node){var args,arg,body,stmt,funcVars,funcName,i,n;NT=NT?NT:context.utils.AstUtils.getNodeTypes();funcName=this._pushFuncName(context,node);if(!funcName){return}if(this._funcVarTable[funcName]){return}funcVars=this._updateTrackingTable(node,false,funcName);args=node.params;for(i=0;i<args.length;i++){arg=args[i];if(arg.type===NT.IDENTIFIER){funcVars[arg.name]={type:"funcarg",pos:arg.start}}}body=node.body.body;for(i=0;i<body.length;i++){stmt=body[i];if(stmt.type===NT.VAR_DECLARATION){this._addVarToTrackingTable(stmt,funcVars)}else if(stmt.type===NT.FUNC_DECLARATION){this.createFuncDeclarations(context,stmt);this._popFuncName()}else if(stmt.type===NT.EXPR_STMT){var expr=stmt.expression;if(expr.type===NT.ASSIGNMENT_EXPR){n=expr.right;if(n.type===NT.FUNC_EXPR){this.createFuncDeclarations(context,n);this._popFuncName()}}}};return{funcVarTable:this._funcVarTable,funcVars:funcVars}};VarTrack.prototype.isFunctionKnown=function(context,node){var n;for(n in this._funcBlocks){n=this._funcBlocks[n];if(n===node){return true}}return false};VarTrack.prototype._addVarToTrackingTable=function(stmt,funcVars,global){var decls,decl,obj,i;decls=stmt.declarations;for(i=0;i<decls.length;i++){decl=decls[i];if(decl.type===NT.VAR_DECLARATOR){funcVars[decl.id.name]=obj={type:global?"globvar":"var"};obj.start=decl.start;if(decl.init){if(decl.init.type===NT.NEW_EXPR){obj.valType="new";if(decl.init.callee.type===NT.MEMBER_EXPR){if(decl.init.callee.object&&decl.init.callee.object.type===NT.IDENTIFIER){obj.obj=decl.init.callee.object.name;obj.class=decl.init.callee.property.name;obj.origClass=obj.class;obj.pos=decl.init.callee.object.start}}}else if(decl.init.type===NT.LITERAL){obj.valType="lit";obj.pos=decl.init.start}else if(decl.init.type===NT.CALL_EXPR){if(decl.init.callee.type===NT.IDENTIFIER){obj.valType="funcret";obj.func=decl.init.callee.name;obj.pos=decl.init.callee.start;if(obj.func==="$"){if(decl.init.arguments&&decl.init.arguments[0].type===NT.IDENTIFIER){if(decl.init.arguments[0].name==="window"){obj.funcarg="window"}}else if(decl.init.arguments&&decl.init.arguments[0].type===NT.LITERAL){if(decl.init.arguments[0].value==="body"){obj.funcarg="body"}}}}}else if(decl.init.type===NT.IDENTIFIER){obj.valType="var";obj.varName=decl.init.name;obj.pos=decl.init.start}}}}};VarTrack.prototype._updateTrackingTable=function(node,global,funcName){var funcVars;if(!funcName){funcName=global?_GLOBAL:node.id?node.id.name:this._makeAnonFuncName()}if(!this._funcVarTable[funcName]){this._funcVarTable[funcName]=funcVars={}}else{funcVars=this._funcVarTable[funcName]}return funcVars};VarTrack.prototype.isVarDefined=function(context,node,useNode,varName){var fnName,fnParent,funcVars;if(this.isCommonVar(context,varName)){return}if(this._funcVarTable[varName]){return}fnName=this.getContainingFunctionName(context,node);if(fnName){funcVars=this._funcVarTable[fnName];if(funcVars&&funcVars[varName]){this.setReferenced(funcVars,varName);return}fnParent=fnName;while(true){if(this._funcParentage[fnParent]){fnParent=this._funcParentage[fnParent];funcVars=this._funcVarTable[fnParent];if(funcVars&&funcVars[varName]){this.setReferenced(funcVars,varName);return}}else{break}}}funcVars=this._funcVarTable[_GLOBAL];if(funcVars&&funcVars[varName]){this.setReferenced(funcVars,varName);return}if(!this._undeclared){this._undeclared={}}if(!this._undeclared[varName+useNode.start]){this._undeclared[varName+"!@#$%"+useNode.start]=useNode}};VarTrack.prototype.setReferenced=function(funcVars,varName){funcVars[varName].used=true};VarTrack.prototype.getGlobalVars=function(context){var funcVars,prog,stmt,i;NT=NT?NT:context.utils.AstUtils.getNodeTypes();funcVars=this._updateTrackingTable(null,true);prog=context.utils.AstUtils.getProgram();if(!prog){return}for(i=0;i<prog.body.length;i++){stmt=prog.body[i];if(stmt.type===NT.FUNC_DECLARATION){continue}if(stmt.type===NT.VAR_DECLARATION){this._addVarToTrackingTable(stmt,funcVars,true)}}};VarTrack.prototype.reset=function(){this._funcVarTable={};this._funcStack=[];this._funcParentage={};this._funcBlocks={};this._anonFuncSuffix=0;this._undeclared=null};VarTrack.prototype._pushFuncName=function(context,node){var funcName=node.id?node.id.name:this._makeAnonFuncName();if(this._funcParentage[funcName])return false;this._funcParentage[funcName]=this.getContainingFunctionName(context,node);this._funcBlocks[funcName]=node;this._funcStack.push(funcName);return funcName};VarTrack.prototype._popFuncName=function(){return this._funcStack.pop()};VarTrack.prototype.getContainingFunctionName=function(context,node){var funcName,n,b;var block=context.utils.AstUtils.getBlock(node);NT=NT?NT:context.utils.AstUtils.getNodeTypes();if(block&&block.type===NT.PROGRAM){return null}if(block&&block.parent){if(block.parent.type===NT.FUNC_DECLARATION||block.parent.type===NT.FUNC_EXPR){if(block.parent.id&&block.parent.id.type===NT.IDENTIFIER){return block.parent.id.name}funcName=this._isAnonymousFunc(block.parent);if(funcName){return funcName}}b=block.parent;while(b){if(b.type===NT.FUNC_DECLARATION||b.type===NT.FUNC_EXPR){if(b.id&&b.id.type===NT.IDENTIFIER){return b.id.name}}b=b.parent}funcName=this._isAnonymousFunc(block);if(funcName){return funcName}}if(node.type===NT.FUNC_EXPR||node.type===NT.FUNC_DECLARATION){if(this._funcStack.length){return this._funcStack[this._funcStack.length-1]}}if(this._nodeWithParent.length){return this.getContainingFunctionName(context,this._nodeWithParent[this._nodeWithParent.length-1])}return null};VarTrack.prototype._makeAnonFuncName=function(){return ANON_FUNC_PREFIX+ ++this._anonFuncSuffix};VarTrack.prototype._isAnonymousFunc=function(block){var funcName,node;if(this._funcBlocks){for(funcName in this._funcBlocks){if(funcName.startsWith(ANON_FUNC_PREFIX)){node=this._funcBlocks[funcName];if(node===block){return funcName}}}}return null};VarTrack.prototype.isCommonVar=function(context,varName){return COMMON.includes(varName)};VarTrack.prototype.pushNodeWithParent=function(node){this._nodeWithParent.push(node)};VarTrack.prototype.popNodeWithParent=function(node){return this._nodeWithParent.pop()};VarTrack.prototype.getUndeclared=function(){return this._undeclared};VarTrack.prototype.dump=function(context){var func;console.log("----------------------VarTrack Dump----------------------------");if(!this._funcVarTable){console.log("* empty");return}if(this._funcVarTable[_GLOBAL]){this._dumpFunc(context,_GLOBAL,true)}for(func in this._funcVarTable){if(func===_GLOBAL){continue}this._dumpFunc(context,func,false)}console.log("--------------------End-VarTrack Dump--------------------------\n")};VarTrack.prototype._dumpFunc=function(context,func,g){var funcVars,v,o,p,loc,rowcol,indent=" ",indent2=" ";var rowcol_unknown={row:"?",col:"?"};var utils=context.utils.utils;if(this._funcParentage){p=this._funcParentage[func];if(!p){p="none"}}if(this._funcBlocks){loc=this._funcBlocks[func];loc=loc?utils.getRowColFromIndex(context.data,loc.start):rowcol_unknown}console.log("\n"+(g?"*global vars":func)+(g?"":"()")+(g?"":" - ("+loc.row+", "+loc.col+")")+(g?"":" parent: "+p));funcVars=this._funcVarTable[func];if(!funcVars||!utils.hasAnyProps(funcVars)){console.log(indent+"- none -");return}for(v in funcVars){o=funcVars[v];rowcol=context.data?utils.getRowColFromIndex(context.data,o.pos):rowcol_unknown;console.log(indent+v);console.log(indent2+"pos : "+"("+rowcol.row+", "+rowcol.col+")");if(o.type){console.log(indent2+"type : "+o.type)}if(o.valType){console.log(indent2+"valType : "+o.valType)}if(o.class){console.log(indent2+"class : "+o.class)}if(o.origClass){console.log(indent2+"origClass: "+o.origClass)}if(o.obj){console.log(indent2+"obj : "+o.obj)}}};module.exports=VarTrack;
6
+ var NT;const _GLOBAL="_@global";const ANON_FUNC_PREFIX="AnonFunc_";const COMMON=["oj","window","console","parseInt","parseFloat","setInterval","JSON","document","Number","BigInt","Math","Date","String","RegExp","arguments","Array","Promise","Object","Function","Boolean","Symbol","Error","EvalError","InternalError","RangeError","ReferenceError","SyntaxError","TypeError","URIError","Int8Array","Uint8Array","Uint8ClampedArray","Int16Array","Uint16Array","Int32Array","Uint32Array","Float32Array","Float64Array","Map","Set","WeakMap","WeakSet","Generator","GeneratorFunction","AsyncFunction","Reflection","Intl","WebAssembly","ArrayBuffer","SharedArrayBuffer","Atomics","DataView"];function VarTrack(){this._funcVarTable={};this._funcParentage={};this._funcStack=[];this._funcBlocks={};this._anonFuncSuffix=0;this._undeclared=null;this._nodeWithParent=[]};VarTrack.prototype.createFuncDeclarations=function(context,node){var args,arg,body,stmt,funcVars,funcName,i,n;NT=NT?NT:context.utils.AstUtils.getNodeTypes();funcName=this._pushFuncName(context,node);if(!funcName){return}if(this._funcVarTable[funcName]){return}funcVars=this._updateTrackingTable(node,false,funcName);args=node.params;for(i=0;i<args.length;i++){arg=args[i];if(arg.type===NT.IDENTIFIER){funcVars[arg.name]={type:"funcarg",pos:arg.start}}}body=node.body.body;for(i=0;i<body.length;i++){stmt=body[i];if(stmt.type===NT.VAR_DECLARATION){this._addVarToTrackingTable(stmt,funcVars)}else if(stmt.type===NT.FUNC_DECLARATION){this.createFuncDeclarations(context,stmt);this._popFuncName()}else if(stmt.type===NT.EXPR_STMT){var expr=stmt.expression;if(expr.type===NT.ASSIGNMENT_EXPR){n=expr.right;if(n.type===NT.FUNC_EXPR){this.createFuncDeclarations(context,n);this._popFuncName()}}}};return{funcVarTable:this._funcVarTable,funcVars:funcVars}};VarTrack.prototype.isFunctionKnown=function(context,node){var n;for(n in this._funcBlocks){n=this._funcBlocks[n];if(n===node){return true}}return false};VarTrack.prototype._addVarToTrackingTable=function(stmt,funcVars,global){var decls,decl,obj,i;decls=stmt.declarations;for(i=0;i<decls.length;i++){decl=decls[i];if(decl.type===NT.VAR_DECLARATOR){funcVars[decl.id.name]=obj={type:global?"globvar":"var"};obj.start=decl.start;if(decl.init){if(decl.init.type===NT.NEW_EXPR){obj.valType="new";if(decl.init.callee.type===NT.MEMBER_EXPR){if(decl.init.callee.object&&decl.init.callee.object.type===NT.IDENTIFIER){obj.obj=decl.init.callee.object.name;obj.class=decl.init.callee.property.name;obj.origClass=obj.class;obj.pos=decl.init.callee.object.start}}}else if(decl.init.type===NT.LITERAL){obj.valType="lit";obj.pos=decl.init.start}else if(decl.init.type===NT.CALL_EXPR){if(decl.init.callee.type===NT.IDENTIFIER){obj.valType="funcret";obj.func=decl.init.callee.name;obj.pos=decl.init.callee.start;if(obj.func==="$"){if(decl.init.arguments&&decl.init.arguments.length){let jqargs=decl.init.arguments;if(jqargs[0].type===NT.IDENTIFIER){if(jqargs[0].name==="window"){obj.funcarg="window"}}else if(jqargs[0].type===NT.LITERAL){if(jqargs[0].value==="body"){obj.funcarg="body"}}}}}}else if(decl.init.type===NT.IDENTIFIER){obj.valType="var";obj.varName=decl.init.name;obj.pos=decl.init.start}}}}};VarTrack.prototype._updateTrackingTable=function(node,global,funcName){var funcVars;if(!funcName){funcName=global?_GLOBAL:node.id?node.id.name:this._makeAnonFuncName()}if(!this._funcVarTable[funcName]){this._funcVarTable[funcName]=funcVars={}}else{funcVars=this._funcVarTable[funcName]}return funcVars};VarTrack.prototype.isVarDefined=function(context,node,useNode,varName){var fnName,fnParent,funcVars;if(this.isCommonVar(context,varName)){return}if(this._funcVarTable[varName]){return}fnName=this.getContainingFunctionName(context,node);if(fnName){funcVars=this._funcVarTable[fnName];if(funcVars&&funcVars[varName]){this.setReferenced(funcVars,varName);return}fnParent=fnName;while(true){if(this._funcParentage[fnParent]){fnParent=this._funcParentage[fnParent];funcVars=this._funcVarTable[fnParent];if(funcVars&&funcVars[varName]){this.setReferenced(funcVars,varName);return}}else{break}}}funcVars=this._funcVarTable[_GLOBAL];if(funcVars&&funcVars[varName]){this.setReferenced(funcVars,varName);return}if(!this._undeclared){this._undeclared={}}if(!this._undeclared[varName+useNode.start]){this._undeclared[varName+"!@#$%"+useNode.start]=useNode}};VarTrack.prototype.setReferenced=function(funcVars,varName){funcVars[varName].used=true};VarTrack.prototype.getGlobalVars=function(context){var funcVars,prog,stmt,i;NT=NT?NT:context.utils.AstUtils.getNodeTypes();funcVars=this._updateTrackingTable(null,true);prog=context.utils.AstUtils.getProgram();if(!prog){return}for(i=0;i<prog.body.length;i++){stmt=prog.body[i];if(stmt.type===NT.FUNC_DECLARATION){continue}if(stmt.type===NT.VAR_DECLARATION){this._addVarToTrackingTable(stmt,funcVars,true)}}};VarTrack.prototype.reset=function(){this._funcVarTable={};this._funcStack=[];this._funcParentage={};this._funcBlocks={};this._anonFuncSuffix=0;this._undeclared=null};VarTrack.prototype._pushFuncName=function(context,node){var funcName=node.id?node.id.name:this._makeAnonFuncName();if(this._funcParentage[funcName])return false;this._funcParentage[funcName]=this.getContainingFunctionName(context,node);this._funcBlocks[funcName]=node;this._funcStack.push(funcName);return funcName};VarTrack.prototype._popFuncName=function(){return this._funcStack.pop()};VarTrack.prototype.getContainingFunctionName=function(context,node){var funcName,n,b;var block=context.utils.AstUtils.getBlock(node);NT=NT?NT:context.utils.AstUtils.getNodeTypes();if(block&&block.type===NT.PROGRAM){return null}if(block&&block.parent){if(block.parent.type===NT.FUNC_DECLARATION||block.parent.type===NT.FUNC_EXPR){if(block.parent.id&&block.parent.id.type===NT.IDENTIFIER){return block.parent.id.name}funcName=this._isAnonymousFunc(block.parent);if(funcName){return funcName}}b=block.parent;while(b){if(b.type===NT.FUNC_DECLARATION||b.type===NT.FUNC_EXPR){if(b.id&&b.id.type===NT.IDENTIFIER){return b.id.name}}b=b.parent}funcName=this._isAnonymousFunc(block);if(funcName){return funcName}}if(node.type===NT.FUNC_EXPR||node.type===NT.FUNC_DECLARATION){if(this._funcStack.length){return this._funcStack[this._funcStack.length-1]}}if(this._nodeWithParent.length){return this.getContainingFunctionName(context,this._nodeWithParent[this._nodeWithParent.length-1])}return null};VarTrack.prototype._makeAnonFuncName=function(){return ANON_FUNC_PREFIX+ ++this._anonFuncSuffix};VarTrack.prototype._isAnonymousFunc=function(block){var funcName,node;if(this._funcBlocks){for(funcName in this._funcBlocks){if(funcName.startsWith(ANON_FUNC_PREFIX)){node=this._funcBlocks[funcName];if(node===block){return funcName}}}}return null};VarTrack.prototype.isCommonVar=function(context,varName){return COMMON.includes(varName)};VarTrack.prototype.pushNodeWithParent=function(node){this._nodeWithParent.push(node)};VarTrack.prototype.popNodeWithParent=function(node){return this._nodeWithParent.pop()};VarTrack.prototype.getUndeclared=function(){return this._undeclared};VarTrack.prototype.dump=function(context){var func;console.log("----------------------VarTrack Dump----------------------------");if(!this._funcVarTable){console.log("* empty");return}if(this._funcVarTable[_GLOBAL]){this._dumpFunc(context,_GLOBAL,true)}for(func in this._funcVarTable){if(func===_GLOBAL){continue}this._dumpFunc(context,func,false)}console.log("--------------------End-VarTrack Dump--------------------------\n")};VarTrack.prototype._dumpFunc=function(context,func,g){var funcVars,v,o,p,loc,rowcol,indent=" ",indent2=" ";var rowcol_unknown={row:"?",col:"?"};var utils=context.utils.utils;if(this._funcParentage){p=this._funcParentage[func];if(!p){p="none"}}if(this._funcBlocks){loc=this._funcBlocks[func];loc=loc?utils.getRowColFromIndex(context.data,loc.start):rowcol_unknown}console.log("\n"+(g?"*global vars":func)+(g?"":"()")+(g?"":" - ("+loc.row+", "+loc.col+")")+(g?"":" parent: "+p));funcVars=this._funcVarTable[func];if(!funcVars||!utils.hasAnyProps(funcVars)){console.log(indent+"- none -");return}for(v in funcVars){o=funcVars[v];rowcol=context.data?utils.getRowColFromIndex(context.data,o.pos):rowcol_unknown;console.log(indent+v);console.log(indent2+"pos : "+"("+rowcol.row+", "+rowcol.col+")");if(o.type){console.log(indent2+"type : "+o.type)}if(o.valType){console.log(indent2+"valType : "+o.valType)}if(o.class){console.log(indent2+"class : "+o.class)}if(o.origClass){console.log(indent2+"origClass: "+o.origClass)}if(o.obj){console.log(indent2+"obj : "+o.obj)}}};module.exports=VarTrack;
@@ -3,4 +3,4 @@
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 RULE_NAME="oj-acc-aria-prop";const DESCRIPTION="Attributes beginning with <i>'aria-'</i> must be valid WAI-ARIA definitions.";const ARIA="aria-";const ARIA_LIST=["aria-atomic","aria-busy","aria-controls","aria-describedat","aria-describedby","aria-disabled","aria-dropeffect","aria-flowto","aria-grabbed","aria-haspopup","aria-hidden","aria-invalid","aria-label","aria-labelledby","aria-live","aria-owns","aria-relevant","aria-autocomplete","aria-checked","aria-disabled","aria-expanded","aria-haspopup","aria-hidden","aria-invalid","aria-label","aria-level","aria-multiline","aria-multiselectable","aria-orientation","aria-pressed","aria-readonly","aria-required","aria-selected","aria-sort","aria-valuemax","aria-valuemin","aria-valuenow","aria-valuetext","aria-dropeffect","aria-grabbed","aria-activedescendant","aria-flowto","aria-posinset","aria-setsize"];function getName(){return RULE_NAME};function getShortDescription(){return DESCRIPTION};function getDescription(){return DESCRIPTION};function register(){return{"elem":_onElem}};function _onElem(ruleCtx){var attribs,attrib,attrPos,issue;attribs=ruleCtx.tagNode.attribs;if(attribs){for(attrib in attribs){if(attrib.startsWith(ARIA)&&!ARIA_LIST.includes(attrib)){issue=new ruleCtx.Issue("<"+ruleCtx.tagNode.name+"> '"+attrib+"' is not a valid WAI-ARIA definition");attrPos=ruleCtx.utils.DomUtils.getAttrPosition(ruleCtx.data,ruleCtx.node,attrib);issue.setPosition(attrPos.row,attrPos.col,attrPos.start,attrPos.end);ruleCtx.reporter.addIssue(issue,ruleCtx)}}}};module.exports={getName,getDescription,getShortDescription,register};
6
+ const RULE_NAME="oj-acc-aria-prop";const DESCRIPTION="Attributes beginning with <i>'aria-'</i> must be valid WAI-ARIA definitions.";const ARIA="aria-";const ARIA_LIST=["aria-atomic","aria-busy","aria-controls","aria-current","aria-describedat","aria-describedby","aria-disabled","aria-dropeffect","aria-flowto","aria-grabbed","aria-haspopup","aria-hidden","aria-invalid","aria-label","aria-labelledby","aria-live","aria-owns","aria-relevant","aria-autocomplete","aria-checked","aria-disabled","aria-expanded","aria-haspopup","aria-hidden","aria-invalid","aria-label","aria-level","aria-multiline","aria-multiselectable","aria-orientation","aria-pressed","aria-readonly","aria-required","aria-selected","aria-sort","aria-valuemax","aria-valuemin","aria-valuenow","aria-valuetext","aria-dropeffect","aria-grabbed","aria-activedescendant","aria-flowto","aria-posinset","aria-setsize"];function getName(){return RULE_NAME};function getShortDescription(){return DESCRIPTION};function getDescription(){return DESCRIPTION};function register(){return{"elem":_onElem}};function _onElem(ruleCtx){var attribs,attrib,attrPos,issue;attribs=ruleCtx.tagNode.attribs;if(attribs){for(attrib in attribs){if(attrib.startsWith(ARIA)&&!ARIA_LIST.includes(attrib)){issue=new ruleCtx.Issue("<"+ruleCtx.tagNode.name+"> '"+attrib+"' is not a valid WAI-ARIA definition");attrPos=ruleCtx.utils.DomUtils.getAttrPosition(ruleCtx.data,ruleCtx.node,attrib);issue.setPosition(attrPos.row,attrPos.col,attrPos.start,attrPos.end);ruleCtx.reporter.addIssue(issue,ruleCtx)}}}};module.exports={getName,getDescription,getShortDescription,register};
@@ -3,4 +3,4 @@
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 helper=require("./helpers/acc-aria-label");const RULE_NAME="oj-acc-input-aria-label";const DESCRIPTION="For accessibility, an input element must have a matching <oj-label> with a <i>'for'</i> matching the input element <i>'id'</i>"+", or an <i>aria-label</i> attribute.<br>If 'label-hint' is specified and 'label-edge' is not, the default "+"value for 'label-edge' is theme dependant (refer to configuration property 'theme'), and label generation may be affected.<br>"+"Set 'label-hint' or associate an 'oj-label'. If there is no visible label, then to make this accessible to screen readers, set "+"'label-hint' and label-edge='none' - this will render an 'aria-label' with the 'label-hint' text.";const SHORT_DESCRIPTION="For accessibility, an input element must have a matching <oj-label> with a 'for' matching the input 'id'";class Rule{getName(){return RULE_NAME}getDescription(){return DESCRIPTION}getShortDescription(){return SHORT_DESCRIPTION}register(regCtx){this._theme=regCtx.config.theme;return{"<oj-input-date>":this._onInput,"<oj-input-date-time>":this._onInput,"<oj-input-number>":this._onInput,"<oj-input-password>":this._onInput,"<oj-input-search>":this._onInput,"<oj-input-text>":this._onInput,"<oj-input-time>":this._onInput,"<oj-c-input-number>":this._onInput,"<oj-c-input-password>":this._onInput,"<oj-c-input-text>":this._onInput}}_onInput(ruleCtx,tagName){var issues;if(ruleCtx.utils.DomUtils.isChildOfElem("oj-table",ruleCtx.node)||ruleCtx.utils.DomUtils.isChildOfElem("oj-data-grid",ruleCtx.node)){return}if(issues=helper(ruleCtx,tagName,this._theme)){issues.forEach(issue=>{ruleCtx.reporter.addIssue(issue,ruleCtx)})}}}module.exports=Rule;
6
+ const helper=require("./helpers/acc-aria-label");const RULE_NAME="oj-acc-input-aria-label";const DESCRIPTION="For accessibility, an input element must have a matching <oj-label> with a <i>'for'</i> matching the input element <i>'id'</i>"+", or an <i>aria-label</i> attribute.<br>If 'label-hint' is specified and 'label-edge' is not, the default "+"value for 'label-edge' is theme dependant (refer to configuration property 'theme'), and label generation may be affected.<br>"+"Set 'label-hint' or associate an 'oj-label'. If there is no visible label, then to make this accessible to screen readers, set "+"'label-hint' and label-edge='none' - this will render an 'aria-label' with the 'label-hint' text.";const SHORT_DESCRIPTION="For accessibility, an input element must have a matching <oj-label> with a 'for' matching the input 'id'";class Rule{getName(){return RULE_NAME}getDescription(){return DESCRIPTION}getShortDescription(){return SHORT_DESCRIPTION}register(regCtx){this._theme=regCtx.config.theme;return{"<oj-input-date>":this._onInput,"<oj-input-date-time>":this._onInput,"<oj-input-number>":this._onInput,"<oj-input-password>":this._onInput,"<oj-input-search>":this._onInput,"<oj-input-text>":this._onInput,"<oj-input-time>":this._onInput}}_onInput(ruleCtx,tagName){var issues;if(ruleCtx.utils.DomUtils.isChildOfElem("oj-table",ruleCtx.node)||ruleCtx.utils.DomUtils.isChildOfElem("oj-data-grid",ruleCtx.node)){return}if(issues=helper(ruleCtx,tagName,this._theme)){issues.forEach(issue=>{ruleCtx.reporter.addIssue(issue,ruleCtx)})}}}module.exports=Rule;
@@ -3,4 +3,4 @@
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 RULE_NAME="oj-css-style-override";const SHORT_DESCRIPT="JET CSS style classes should not be overridden";const DESCRIPT=SHORT_DESCRIPT;const SELECTOR_LIST="SelectorList";const CLASS_SELECTOR="ClassSelector";const TYPE_SELECTOR="TypeSelector";const PSEUDO_CLASS_SELECTOR="PseudoClassSelector";const NUMBER="number";const STRING="string";const NOT_CLASSES=["oj-complete"];const OVERRIDE_LIST=["oj-buttonset-one","oj-buttonset-many","oj-color-invert","oj-badge-sm","oj-navigationlist-vertical","oj-navigationlist-horizontal","oj-navigationlist-icon-only","oj-navigationlist-stack-icon-label","oj-input-search-hero","oj-avatar-bg-purple","oj-avatar-bg-orange","oj-avatar-bg-teal","oj-avatar-bg-green","oj-avatar-bg-pink","oj-avatar-bg-slate","oj-avatar-bg-blue","oj-avatar-bg-lilac","oj-avatar-bg-gray","oj-avatar-xxs","oj-avatar-xs","oj-avatar-sm","oj-avatar-lg","oj-avatar-xl","oj-avatar-xxl","oj-tabbar-vertical","oj-tabbar-horizontal","oj-tabbar-icon-only","oj-tabbar-stack-icon-label","oj-invalid-drop"];const OVERRIDE_LIST_PREFIX=["oj-animate-inline-"];const NO_OVERRIDE=["oj-removable"];function Rule(){this._checkList=null;this._isAccept=false};Rule.prototype.getName=function(){return RULE_NAME};Rule.prototype.getShortDescription=function(){return SHORT_DESCRIPT};Rule.prototype.getDescription=function(){return DESCRIPT};Rule.prototype.register=function(regCtx){if(!this._checkAcceptRejectOption(regCtx)){return false}this._metaLib=regCtx.utils.metaLib;if(!this._metaLib.hasJetStylePrefixes()){return false}return{"css-rule":this._onRule}};Rule.prototype._onRule=function(ruleCtx,rule){var sels,sel,emit,t,i;sels=this._getOjSelectors(rule,this._metaLib);if(!sels.length){return}for(i=0;i<sels.length;i+=3){sel=sels[i];t=sels[i+1];if(_isBuiltinOverride(sel)){continue}emit=false;if(this._checkList){if(this._isSelAccepted(sel)){emit=true}}else if(t===CLASS_SELECTOR||t===TYPE_SELECTOR&&this._metaLib.isJetTag(sel)){emit=true}if(emit){this._emitIssue(ruleCtx,t,sel,sels[i+2])}};};Rule.prototype._emitIssue=function(ruleCtx,type,sel,loc){var tag,issue;if(type===TYPE_SELECTOR){issue=new ruleCtx.Issue(`type Selector '${sel}' must not be overridden.`);issue.setMsgKey(ruleCtx.ruleName+"_2")}else{tag=ruleCtx.utils.metaLib.getJetTagFromStyle(sel);issue=new ruleCtx.Issue(`class selector '.${sel}' ${tag?"(for <"+tag+">) ":""}must not be overridden.`);issue.setMsgKey(ruleCtx.ruleName+"_1")}issue.setPosition(ruleCtx.utils.CssUtils.getPosition(ruleCtx,loc));ruleCtx.reporter.addIssue(issue,ruleCtx)};Rule.prototype._getOjSelectors=function(rule){var sels,sel,a,c,i,j,ret=[];if(!(rule.prelude&&rule.prelude.children)||rule.prelude.type!=="SelectorList"){return ret}a=rule.prelude.children;for(i=0;i<a.length;i++){sels=a[i];if(sels.type==="Selector"){c=sels.children;for(j=0;j<c.length;j++){sel=c[j];if(sel.type===CLASS_SELECTOR&&(this._metaLib.isJetStylePrefix(sel.name)||NO_OVERRIDE.includes(sel.name))||sel.type===TYPE_SELECTOR&&this._metaLib.isJetTag(sel.name)){ret.push(sel.name);ret.push(sel.type);ret.push(sel.loc)}else if(sel.type===PSEUDO_CLASS_SELECTOR){this._evalPseudoClassSelector(sel,ret,sel.name)}}}}return ret};Rule.prototype._evalPseudoClassSelector=function(sel,a,pseudo){var c,o,l,e,i,j;if(!(c=sel.children)){return}for(i=0;i<c.length;i++){o=c[i];if(o.type==="Selector"){if(l=o.children){for(j=0;j<l.length;j++){e=l[j];if(e.type===CLASS_SELECTOR&&this._metaLib.isJetStylePrefix(e.name)||e.type===TYPE_SELECTOR&&this._metaLib.isJetTag(e.name)){if(!_checkNotClasses(e.name)){a.push(e.name);a.push(e.type);a.push(e.loc)}}}}continue}else{if(o.type!==SELECTOR_LIST){continue}}this._evalPseudoClassSelector(o,a,pseudo)}};Rule.prototype._isSelAccepted=function(sel){if(this._checkList){for(let i=0;i<this._checkList.length;i++){if(this._checkList[i].test(sel)){return this._isAccept}}return!this._isAccept}return true};Rule.prototype._checkAcceptRejectOption=function(regCtx){var customOpts,accept,reject;if(!(customOpts=regCtx.ruleOpts.customOpts)){return true}accept=customOpts.accept;reject=customOpts.reject;if(accept||reject){if(accept&&reject){regCtx.utils.msgLib.error(`Rule ${RULE_NAME}: override options 'accept' and 'reject' are mutually exclusive`);return false}if(accept){this._checkList=accept;this._isAccept=true}else{this._checkList=reject}if(!Array.isArray(this._checkList)){regCtx.utils.msgLib.error(`Rule ${RULE_NAME}: option '${accept?"accept":"reject"}' is not an array`);return false}for(let i=0;i<this._checkList.length;i++){if(typeof this._checkList[i]===STRING){if(!(this._checkList[i]=this._makeRegExp(regCtx,this._checkList[i].trim(),i))){return false}}}}return true};Rule.prototype._makeRegExp=function(ruleCtx,s,x){var re;try{re=new RegExp(s.trim())}catch(e){re=null}if(!re){var s=typeof x===NUMBER?`element ${x} `:"";ruleCtx.utils.msgLib.error(`Rule ${RULE_NAME}: in override option '${this._isAccept?"accept":"reject"}' element ${x} is not a valid regular expression`)}return re};function _isBuiltinOverride(sel){if(OVERRIDE_LIST.includes(sel)){return true}for(let i=0;i<OVERRIDE_LIST_PREFIX.length;i++){if(sel.startsWith(OVERRIDE_LIST_PREFIX[i])){return true}}return false};function _checkNotClasses(name){return NOT_CLASSES.includes(name)};module.exports=Rule;
6
+ const RULE_NAME="oj-css-style-override";const SHORT_DESCRIPT="JET CSS style classes should not be overridden";const DESCRIPT="JET CSS style classes should not be overridden.<br>JET tag selectors are not "+"considered to be overrides if the CSS rule body sets CSS variables only "+"(i.e. does not set any real properties).";const SELECTOR_LIST="SelectorList";const CLASS_SELECTOR="ClassSelector";const TYPE_SELECTOR="TypeSelector";const PSEUDO_CLASS_SELECTOR="PseudoClassSelector";const NUMBER="number";const STRING="string";const NOT_CLASSES=["oj-complete"];const OVERRIDE_LIST=["oj-buttonset-one","oj-buttonset-many","oj-color-invert","oj-badge-sm","oj-navigationlist-vertical","oj-navigationlist-horizontal","oj-navigationlist-icon-only","oj-navigationlist-stack-icon-label","oj-input-search-hero","oj-avatar-bg-purple","oj-avatar-bg-orange","oj-avatar-bg-teal","oj-avatar-bg-green","oj-avatar-bg-pink","oj-avatar-bg-slate","oj-avatar-bg-blue","oj-avatar-bg-lilac","oj-avatar-bg-gray","oj-avatar-xxs","oj-avatar-xs","oj-avatar-sm","oj-avatar-lg","oj-avatar-xl","oj-avatar-xxl","oj-tabbar-vertical","oj-tabbar-horizontal","oj-tabbar-icon-only","oj-tabbar-stack-icon-label","oj-invalid-drop"];const OVERRIDE_LIST_PREFIX=["oj-animate-inline-"];const NO_OVERRIDE=["oj-removable"];function Rule(){this._checkList=null;this._isAccept=false};Rule.prototype.getName=function(){return RULE_NAME};Rule.prototype.getShortDescription=function(){return SHORT_DESCRIPT};Rule.prototype.getDescription=function(){return DESCRIPT};Rule.prototype.register=function(regCtx){if(!this._checkAcceptRejectOption(regCtx)){return false}this._metaLib=regCtx.utils.metaLib;if(!this._metaLib.hasJetStylePrefixes()){return false}return{"css-rule":this._onRule}};Rule.prototype._onRule=function(ruleCtx,rule){var sels,sel,emit,t,i;sels=this._getOjSelectors(rule,this._metaLib);if(!sels.length){return}for(i=0;i<sels.length;i+=3){sel=sels[i];t=sels[i+1];if(_isBuiltinOverride(sel)){continue}emit=false;if(this._checkList){if(this._isSelAccepted(sel)){emit=true}}else if(t===CLASS_SELECTOR){emit=true}else if(t===TYPE_SELECTOR&&this._metaLib.isJetTag(sel)){if(!this._setsCssVarsOnly(rule.block)){emit=true}}if(emit){this._emitIssue(ruleCtx,t,sel,sels[i+2])}};};Rule.prototype._emitIssue=function(ruleCtx,type,sel,loc){var tag,issue;if(type===TYPE_SELECTOR){issue=new ruleCtx.Issue(`type Selector '${sel}' must not be overridden.`);issue.setMsgKey(ruleCtx.ruleName+"_2")}else{tag=ruleCtx.utils.metaLib.getJetTagFromStyle(sel);issue=new ruleCtx.Issue(`class selector '.${sel}' ${tag?"(for <"+tag+">) ":""}must not be overridden.`);issue.setMsgKey(ruleCtx.ruleName+"_1")}issue.setPosition(ruleCtx.utils.CssUtils.getPosition(ruleCtx,loc));ruleCtx.reporter.addIssue(issue,ruleCtx)};Rule.prototype._setsCssVarsOnly=function(block){var childs=block.children,propset=false;childs.forEach(stmt=>{if(stmt&&stmt.hasOwnProperty("property")){if(!stmt.property.startsWith("--")){propset=true}}});return!propset};Rule.prototype._getOjSelectors=function(rule){var sels,sel,a,c,i,j,ret=[];if(!(rule.prelude&&rule.prelude.children)||rule.prelude.type!=="SelectorList"){return ret}a=rule.prelude.children;for(i=0;i<a.length;i++){sels=a[i];if(sels.type==="Selector"){c=sels.children;for(j=0;j<c.length;j++){sel=c[j];if(sel.type===CLASS_SELECTOR&&(this._metaLib.isJetStylePrefix(sel.name)||NO_OVERRIDE.includes(sel.name))||sel.type===TYPE_SELECTOR&&this._metaLib.isJetTag(sel.name)){ret.push(sel.name);ret.push(sel.type);ret.push(sel.loc)}else if(sel.type===PSEUDO_CLASS_SELECTOR){this._evalPseudoClassSelector(sel,ret,sel.name)}}}}return ret};Rule.prototype._evalPseudoClassSelector=function(sel,a,pseudo){var c,o,l,e,i,j;if(!(c=sel.children)){return}for(i=0;i<c.length;i++){o=c[i];if(o.type==="Selector"){if(l=o.children){for(j=0;j<l.length;j++){e=l[j];if(e.type===CLASS_SELECTOR&&this._metaLib.isJetStylePrefix(e.name)||e.type===TYPE_SELECTOR&&this._metaLib.isJetTag(e.name)){if(!_checkNotClasses(e.name)){a.push(e.name);a.push(e.type);a.push(e.loc)}}}}continue}else{if(o.type!==SELECTOR_LIST){continue}}this._evalPseudoClassSelector(o,a,pseudo)}};Rule.prototype._isSelAccepted=function(sel){if(this._checkList){for(let i=0;i<this._checkList.length;i++){if(this._checkList[i].test(sel)){return this._isAccept}}return!this._isAccept}return true};Rule.prototype._checkAcceptRejectOption=function(regCtx){var customOpts,accept,reject;if(!(customOpts=regCtx.ruleOpts.customOpts)){return true}accept=customOpts.accept;reject=customOpts.reject;if(accept||reject){if(accept&&reject){regCtx.utils.msgLib.error(`Rule ${RULE_NAME}: override options 'accept' and 'reject' are mutually exclusive`);return false}if(accept){this._checkList=accept;this._isAccept=true}else{this._checkList=reject}if(!Array.isArray(this._checkList)){regCtx.utils.msgLib.error(`Rule ${RULE_NAME}: option '${accept?"accept":"reject"}' is not an array`);return false}for(let i=0;i<this._checkList.length;i++){if(typeof this._checkList[i]===STRING){if(!(this._checkList[i]=this._makeRegExp(regCtx,this._checkList[i].trim(),i))){return false}}}}return true};Rule.prototype._makeRegExp=function(ruleCtx,s,x){var re;try{re=new RegExp(s.trim())}catch(e){re=null}if(!re){var s=typeof x===NUMBER?`element ${x} `:"";ruleCtx.utils.msgLib.error(`Rule ${RULE_NAME}: in override option '${this._isAccept?"accept":"reject"}' element ${x} is not a valid regular expression`)}return re};function _isBuiltinOverride(sel){if(OVERRIDE_LIST.includes(sel)){return true}for(let i=0;i<OVERRIDE_LIST_PREFIX.length;i++){if(sel.startsWith(OVERRIDE_LIST_PREFIX[i])){return true}}return false};function _checkNotClasses(name){return NOT_CLASSES.includes(name)};module.exports=Rule;
@@ -3,4 +3,4 @@
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
- {"title":"JET Built-in Rulepack","version":"4.14.0","prefix":"JET","rules":{"oj-html-cca-tagname":{"severity":"minor","filetype":"html","group":["jet-html"],"status":"production"},"oj-acc-aria-ojselector-labelledby":{"severity":"blocker","filetype":"html","group":["jet-html","jet-aria","jet-acc"],"jetver":">=13.0.0","status":"production","enabled":true},"oj-acc-button-label":{"severity":"blocker","filetype":"html","group":["jet-html","jet-acc"],"status":"production"},"oj-html-ojtag-deprecated":{"severity":"major","filetype":"html","group":["jet-html","jet-deprecated"],"status":"production"},"oj-html-wctag-maintenance":{"severity":"info","filetype":"html","group":"jet-html","jetver":">=13.0.0","status":"production"},"oj-html-wctag-supersedes":{"severity":"info","filetype":"html","group":"jet-html","jetver":">=13.0.0","status":"production","enabled":false},"oj-html-wctag-anti-pattern":{"severity":"info","filetype":"html","group":"jet-html","jetver":">=15.0.0","amd":false,"status":"production"},"oj-html-prop-anti-pattern":{"severity":"info","filetype":"html","group":"jet-html","jetver":">=15.0.0","amd":false,"status":"production"},"oj-html-ojattr":{"severity":"critical","filetype":"html","group":"jet-html","jetver":">=6.0.0","status":"production"},"oj-html-ojattr-520":{"severity":"critical","filetype":"html","group":"jet-html","jetver":"5.2.0","status":"production"},"oj-html-ojattr-value":{"severity":"critical","filetype":"html","group":"jet-html","status":"production"},"oj-html-attr-2def":{"severity":"minor","filetype":"html","group":"jet-html","status":"production"},"oj-html-attr-prefix-ro":{"severity":"info","filetype":"html","group":"jet-html","status":"production"},"oj-html-attr-prefix-expr":{"severity":"major","filetype":"html","group":"jet-html","status":"production"},"oj-html-attr-json":{"severity":"critical","filetype":"html","group":"jet-html","status":"production"},"oj-html-ojattr-deprecated":{"severity":"major","filetype":"html","group":["jet-html","jet-deprecated"],"status":"production"},"oj-html-ojattr-enum-deprecated":{"severity":"major","filetype":"html","group":["jet-html","jet-deprecated"],"status":"production"},"oj-html-5-tag-obs":{"severity":"major","filetype":"html","group":["jet-html","html5"],"status":"production"},"oj-html-5-attr-obs":{"severity":"major","filetype":"html","group":["jet-html","html5"],"status":"production"},"oj-html-ojevent":{"severity":"critical","filetype":"html","group":"jet-html","status":"production"},"oj-html-event-focus-blur":{"severity":"minor","filetype":"html","group":"jet-html","status":"production"},"oj-html-form-noflex":{"severity":"blocker","filetype":"html","group":"jet-html","status":"production"},"oj-html-jq-databind":{"severity":"blocker","filetype":"html","group":"jet-html","status":"production"},"oj-html-databind-all":{"severity":"minor","filetype":"html","group":"jet-html","status":"production","enabled":false},"oj-html-bindif-test":{"severity":"blocker","filetype":"html","group":"jet-html","status":"production"},"oj-html-bindforeach-data":{"severity":"blocker","filetype":"html","group":"jet-html","status":"production"},"oj-html-ojslot":{"severity":"blocker","filetype":"html","group":"jet-html","status":"production"},"oj-html-slot-name":{"severity":"critical","filetype":"html","group":"jet-html","status":"production"},"oj-html-slot-deprecated":{"severity":"major","filetype":"html","group":["jet-html","jet-deprecated"],"status":"production"},"oj-html-slot-pref-content":{"severity":"minor","filetype":"html","group":"jet-html","jetver":">=10.0.0","status":"production"},"oj-html-slot-default":{"severity":"major","filetype":"html","group":"jet-html","status":"production"},"oj-html-slot-item-minmax":{"severity":"minor","filetype":"html","group":"jet-html","status":"production"},"oj-html-notag-style":{"severity":"info","filetype":"html","group":"jet-html","status":"beta"},"oj-html-style":{"severity":"critical","filetype":"html","group":"jet-html","jetver":">=9.0.0","status":"production","enabled":false},"oj-html-stylesel":{"severity":"critical","filetype":"html","group":"jet-html","jetver":">=10.0.0","status":"production","enabled":false},"oj-html-style-deprecated":{"severity":"major","filetype":"html","group":["jet-html","jet-deprecated"],"jetver":">=9.0.0","status":"production"},"oj-html-ojstyle":{"severity":"critical","filetype":"html","group":"jet-html","jetver":">=9.0.0","status":"production","enabled":false},"oj-html-style-bp-color":{"severity":"major","filetype":"html","group":["jet-html","jet-bp"],"status":"production","enabled":false},"oj-html-style-bp-font":{"severity":"major","filetype":["css","html"],"group":["jet-css","jet-html","jet-bp"],"status":"production","enabled":false},"oj-html-style-bp-font-family":{"severity":"minor","filetype":["css","html"],"group":["jet-css","jet-html","jet-bp"],"status":"production","customOpts":{"ignore":["inherit","initial"]},"enabled":false},"oj-html-style-bp-display":{"severity":"minor","filetype":"html","group":["jet-html","jet-bp"],"status":"production","enabled":false},"oj-html-style-bp-margin-padding":{"severity":"major","filetype":"html","group":["jet-html","jet-bp"],"status":"beta"},"oj-html-style-abs-units":{"severity":"major","filetype":["css","html"],"group":["jet-html","jet-css","jet-bp"],"jetver":">=9.0.0","status":"production","customOpts":{"absunits":{"all":2}},"enabled":false},"oj-html-no-style":{"severity":"major","filetype":"html","group":"jet-html","status":"production","enabled":false},"oj-html-no-style-tag":{"severity":"major","filetype":"html","group":"jet-html","status":"production","enabled":false},"oj-html-pageopts-type":{"severity":"major","filetype":"html","group":"jet-html","status":"production"},"oj-html-binding-attr":{"severity":"minor","filetype":"html","group":"jet-html","status":"production"},"oj-html-attr-$unique":{"severity":"major","filetype":"html","group":"jet-html","status":"production"},"oj-html-attr-req":{"severity":"blocker","filetype":"html","group":"jet-html","status":"production"},"oj-html-dlg-title":{"severity":"minor","filetype":"html","group":"jet-html","status":"production"},"oj-html-bp-title-to-tooltip":{"severity":"major","filetype":"html","group":["jet-html","jet-bp"],"status":"production"},"oj-html-ojattr-evt-syntax":{"severity":"major","filetype":"html","group":"jet-html","status":"production"},"oj-html-tag-attr-noprefix":{"severity":"major","filetype":"html","group":"jet-html","status":"production"},"oj-html-picker-attrs":{"jetver":">=11.0.0","severity":"major","filetype":"html","group":"jet-html","status":"production"},"oj-html-rating-gauge-size":{"severity":"major","filetype":"html","group":"jet-html","theme":"Redwood","status":"production"},"oj-html-rating-gauge-track-resize":{"severity":"major","filetype":"html","group":"jet-html","theme":"Redwood","status":"production"},"oj-html-label-for-prefix":{"severity":"major","filetype":"html","group":"jet-html","status":"production"},"oj-html-binding-as-slot-child":{"severity":"blocker","filetype":"html","group":"jet-html","status":"production"},"oj-html-ojtag-globattr-noprefix":{"severity":"major","filetype":"html","group":"jet-html","status":"production"},"oj-html-ojtag-nonglobattr-prefix":{"severity":"minor","filetype":"html","group":"jet-html","status":"production"},"oj-html-msgs-cat-text":{"severity":"major","filetype":"html","group":"jet-html","theme":"Redwood"},"oj-html-ojtag-datacmd":{"severity":"major","filetype":"html","group":"jet-html","status":"production"},"oj-html-ojtag-datactx":{"severity":"minor","filetype":"html","group":"jet-html","status":"production"},"oj-html-ojtag-ns":{"severity":"major","filetype":"html","group":"jet-html","status":"production"},"oj-html-tabbar-edge":{"severity":"major","filetype":"html","group":"jet-html","jetver":">=15.0.0","status":"production"},"oj-html-wctag-id":{"severity":"blocker","filetype":"html","group":"jet-html","status":"deprecated"},"oj-html-wctag-for":{"severity":"blocker","filetype":"html","group":"jet-html","status":"production"},"oj-html-wctag-nested":{"severity":"blocker","filetype":"html","group":"jet-html","status":"production"},"oj-html-wctag-packprivate":{"severity":"blocker","filetype":"html","group":"jet-html","status":"production"},"oj-html-form-bindif":{"severity":"blocker","filetype":"html","group":"jet-html","status":"production"},"oj-html-file-pick-accept":{"severity":"major","filetype":"html","group":"jet-html","status":"production"},"oj-html-wctag-arialabelledby":{"severity":"blocker","filetype":"html","group":["jet-html","jet-aria","jet-acc"],"status":"production"},"oj-html-wctag-$props":{"severity":"blocker","filetype":"html","amd":false,"group":"jet-html","status":"production"},"oj-html-attr-expr-delims":{"severity":"major","filetype":"html","group":["jet-html"],"status":"production"},"oj-html-attr-expr-writeback":{"severity":"minor","filetype":"html","group":["jet-html","jet-bp"],"status":"production","enabled":true},"oj-html-unsup-theme":{"severity":"blocker","filetype":"html","group":"jet-html","status":"production"},"oj-html-cca-count":{"severity":"minor","filetype":"html","group":"jet-html","status":"production"},"oj-html-redwood-cssvars":{"severity":"major","filetype":"html","group":"jet-html","jetver":">=10.0.0","status":"production"},"oj-html-redwood-cssnovars":{"severity":"major","filetype":"html","group":"jet-html","jetver":">=10.0.0","status":"production"},"oj-html-redwood-bp-endslot":{"severity":"major","filetype":"html","group":["jet-redwood-bp","jet-html"],"theme":"Redwood","jetver":">=10.0.0","status":"production"},"oj-html-redwood-clear-icon":{"severity":"blocker","filetype":"html","group":["jet-redwood-bp","jet-html"],"theme":"Redwood","jetver":">=17.0.0","status":"beta"},"oj-css-bp-dir-flow":{"severity":"major","filetype":["css","html"],"group":["jet-css","jet-html","jet-bp"],"status":"production","enabled":false},"oj-css-style-bp-color":{"severity":"major","filetype":["css","html"],"group":["jet-css","jet-html","jet-bp"],"status":"production","enabled":false},"oj-css-style-bp-font":{"severity":"major","filetype":["css","html"],"group":["jet-css","jet-html","jet-bp"],"status":"production","enabled":false},"oj-css-style-bp-font-family":{"severity":"minor","filetype":["css","html"],"group":["jet-css","jet-html","jet-bp"],"status":"production","customOpts":{"ignore":["inherit","initial"]},"enabled":false},"oj-css-style-bp-display":{"severity":"minor","filetype":["css","html"],"group":["jet-css","jet-html","jet-bp"],"status":"production","enabled":false},"oj-css-style-override":{"severity":"blocker","filetype":["css","html"],"group":["jet-css","jet-override"],"status":"production"},"oj-css-var-override":{"severity":"major","filetype":["css","html"],"group":["jet-css","jet-override","jet-bp"],"jetver":">=9.0.0","status":"production","enabled":false},"oj-css-style-deprecated":{"severity":"major","filetype":["css","html"],"group":["jet-html","jet-css","jet-deprecated"],"jetver":">=9.0.0","status":"production"},"oj-css-style-abs-units":{"severity":"major","filetype":["css","html"],"group":["jet-html","jet-css","jet-bp"],"jetver":">=9.0.0","status":"production","customOpts":{"absunits":{"all":2}},"enabled":false},"oj-css-bp-float":{"severity":"major","filetype":["css","html"],"group":["jet-html","jet-css","jet-bp"],"jetver":">=9.0.0","status":"beta","enabled":false},"oj-css-bp-textalign":{"severity":"major","filetype":["css","html"],"group":["jet-html","jet-css","jet-bp"],"jetver":">=9.0.0","status":"beta","enabled":false},"oj-css-bp-border-color":{"severity":"major","filetype":["css","html"],"group":["jet-html","jet-css","jet-bp"],"jetver":">=9.0.0","status":"beta","enabled":false},"oj-html-invalid-doctype":{"severity":"blocker","filetype":"html","group":["jet-html","html5"],"status":"production"},"oj-html-missing-doctype":{"severity":"blocker","filetype":"html","group":["jet-html","html5"],"status":"production"},"oj-html-oj-lib":{"severity":"major","filetype":"html","group":"jet-html","status":"production"},"oj-html-ko-comment":{"severity":"major","filetype":"html","group":"jet-html","status":"production"},"oj-html-ko-databind":{"severity":"major","filetype":"html","group":"jet-html","status":"beta"},"oj-html-cdn":{"severity":"minor","filetype":"html","group":"jet-html","status":"production","amd":false,"enabled":false},"oj-html-self-close":{"severity":"blocker","filetype":"html","group":"jet-html","status":"production"},"oj-html-input-isodate":{"severity":"critical","filetype":"html","group":"jet-html","status":"production"},"oj-html-dyn-form":{"severity":"blocker","filetype":"html","group":"jet-html","status":"beta","enabled":false,"inservice":false},"oj-form-maxcols":{"severity":"major","filetype":["html","json"],"group":["jet-html","jet-json"],"status":"production"},"oj-html-form-layout-maxcols":{"severity":"minor","filetype":"html","group":"jet-html","jetver":"<=12.0.0","status":"production"},"oj-html-button-size-chroming":{"severity":"major","filetype":"html","group":"jet-html","jetver":">=17.0.0","theme":"Redwood","status":"production"},"oj-html-bp-button-xs-chroming":{"severity":"major","filetype":"html","group":["jet-html","jet-bp"],"jetver":">=17.0.0","status":"production"},"oj-html-template-index":{"severity":"info","filetype":"html","group":"jet-html","jetver":">=9.0.0","status":"production"},"oj-html-treeview-actionable-content":{"severity":"blocker","filetype":"html","group":"jet-html","jetver":">=10.0.0","status":"beta"},"oj-html-alta-deprecated":{"severity":"blocker","filetype":"html","group":"jet-html","jetver":">=10.0.0","status":"production"},"oj-cca-compjson-bp-obj":{"severity":"info","filetype":"json","group":["jet-cca","jet-bp"],"status":"beta"},"oj-cca-compjson-bp-ar":{"severity":"info","filetype":"json","group":["jet-cca","jet-bp"],"status":"beta"},"oj-cca-compjson-bp-jetver":{"severity":"major","filetype":"json","group":["jet-cca","jet-bp"],"status":"beta"},"oj-cca-compjson-bp-dsplyname":{"severity":"info","filetype":"json","group":["jet-cca","jet-bp"],"status":"beta"},"oj-cca-compjson-ns-reg":{"severity":"blocker","filetype":"json","group":"jet-cca","status":"production"},"oj-acc-select-aria-label":{"severity":"blocker","filetype":"html","group":["jet-aria","jet-acc"],"status":"production"},"oj-acc-combobox-aria-label":{"severity":"blocker","filetype":"html","group":["jet-aria","jet-acc"],"status":"production"},"oj-acc-input-aria-label":{"severity":"blocker","filetype":"html","group":["jet-aria","jet-acc"],"status":"production"},"oj-acc-aria-labelledby":{"severity":"blocker","filetype":"html","group":["jet-aria","jet-acc"],"status":"production"},"oj-acc-avatar-aria-role":{"severity":"blocker","filetype":"html","group":["jet-aria","jet-acc"],"status":"production"},"oj-acc-aria-prop":{"severity":"blocker","filetype":"html","group":["jet-aria","jet-acc"],"status":"production"},"oj-acc-film-strip-aria-label":{"severity":"blocker","filetype":"html","group":["jet-aria","jet-acc"],"status":"production"},"oj-acc-button-onclick":{"severity":"blocker","filetype":"html","group":"jet-acc","status":"production"},"oj-js-ojcomp-deprecated":{"severity":"major","filetype":["js","html"],"group":["jet-js","jet-html","jet-deprecated"],"status":"production"},"oj-ts-ojcomp-deprecated":{"severity":"major","filetype":["ts","tsx"],"group":["jet-ts","jet-tsx","jet-deprecated"],"amd":false,"status":"production","enabled":false},"oj-js-comp-meth-deprecated":{"severity":"major","filetype":["js","html"],"group":["jet-js","jet-html","jet-deprecated","jet-deleted"],"status":"production"},"oj-ts-comp-meth-deprecated":{"severity":"major","filetype":["ts","tsx"],"group":["jet-ts","jet-tsx","jet-deprecated","jet-deleted"],"amd":false,"status":"beta","enabled":false},"oj-js-comp-attr-deprecated":{"severity":"major","filetype":["js","html"],"group":["jet-js","jet-html","jet-deprecated","jet-deleted"],"status":"production"},"oj-ts-comp-attr-deprecated":{"severity":"major","filetype":["ts","tsx"],"group":["jet-ts","jet-tsx","jet-deprecated","jet-deleted"],"amd":false,"status":"beta","enabled":false},"oj-js-numconv-pattern":{"severity":"major","filetype":["js","html"],"group":["jet-js","jet-html","jet-deprecated"],"status":"production"},"oj-js-var-undef":{"severity":"major","filetype":["js","html"],"group":["jet-js","jet-html","jet-deprecated"],"status":"production","enabled":false},"oj-js-ojcomp-new":{"severity":"major","filetype":["js","html"],"group":["jet-js","jet-html","jet-deprecated"],"status":"production"},"oj-ts-ojcomp-new":{"severity":"major","filetype":["ts","tsx"],"group":["jet-ts","jet-tsx","jet-deprecated"],"amd":false,"status":"beta","enabled":false},"oj-js-ojcomp-exist":{"severity":"critical","filetype":["js","html"],"group":["jet-js","jet-html","jet-deprecated"],"status":"production"},"oj-ts-ojcomp-exist":{"severity":"critical","filetype":["ts","tsx"],"group":["jet-ts","jet-tsx","jet-deprecated"],"amd":false,"status":"beta","enabled":false},"oj-js-poly-promise":{"severity":"critical","filetype":["js","html"],"group":["jet-js","jet-html"],"status":"production"},"oj-ts-poly-promise":{"severity":"critical","filetype":["ts","tsx"],"group":["jet-ts","jet-tsx"],"amd":false,"status":"beta"},"oj-js-no-ext-final":{"severity":"info","filetype":["js","html"],"group":["jet-js","jet-html"],"jetver":">=8.0.0","status":"beta"},"oj-ts-no-ext-final":{"severity":"info","filetype":["ts","tsx"],"group":["jet-ts","jet-tsx"],"jetver":">=8.0.0","amd":false,"status":"beta","enabled":false},"oj-js-noconsole":{"severity":"info","filetype":["js","html"],"group":["jet-js","jet-html"],"status":"production"},"oj-ts-noconsole":{"severity":"info","filetype":["ts","tsx"],"group":["jet-ts","jet-tsx"],"amd":false,"status":"beta","enabled":false},"oj-ts-numconv-pattern":{"severity":"major","filetype":["ts","tsx"],"group":["jet-ts","jet-tsx","jet-deprecated"],"amd":false,"status":"production"},"oj-json-syntax":{"severity":"critical","filetype":"json","group":"jet-json","status":"production"},"oj-tsx-acc-avatar-aria-role":{"severity":"blocker","filetype":"tsx","group":["jet-tsx","jet-aria","jet-acc"],"amd":false,"status":"production"},"oj-tsx-acc-button-label":{"severity":"blocker","filetype":"tsx","group":["jet-tsx","jet-acc"],"amd":false,"status":"production"},"oj-tsx-acc-button-onclick":{"severity":"blocker","filetype":"tsx","group":["jet-tsx","jet-acc"],"amd":false,"status":"production"},"oj-tsx-aria-prop":{"severity":"blocker","filetype":"tsx","group":["jet-tsx","jet-aria","jet-acc"],"amd":false,"status":"production"},"oj-tsx-aria-ojselector-labelledby":{"severity":"blocker","filetype":"tsx","group":["jet-tsx","jet-aria","jet-acc"],"jetver":">=13.0.0","amd":false,"status":"production"},"oj-tsx-bp-button-xs-chroming":{"severity":"major","filetype":"tsx","group":"jet-tsx","jetver":">=17.0.0","amd":false,"status":"production"},"oj-tsx-bp-title-to-tooltip":{"severity":"major","filetype":"tsx","group":["jet-tsx","jet-bp"],"amd":false,"status":"production"},"oj-tsx-button-size-chroming":{"severity":"major","filetype":"tsx","group":"jet-tsx","jetver":">=17.0.0","theme":"Redwood","amd":false,"status":"production"},"oj-tsx-cca-tagname":{"severity":"minor","filetype":"tsx","group":["jet-tsx"],"amd":false,"status":"production"},"oj-tsx-databind-all":{"severity":"minor","filetype":"tsx","group":"jet-tsx","amd":false,"status":"production"},"oj-tsx-dlg-title":{"severity":"minor","filetype":"tsx","group":"jet-tsx","amd":false,"status":"production"},"oj-tsx-event":{"severity":"major","filetype":"tsx","group":"jet-tsx","amd":false,"status":"beta"},"oj-tsx-form-bindif":{"severity":"blocker","filetype":"tsx","group":"jet-tsx","amd":false,"status":"production"},"oj-tsx-form-noflex":{"severity":"blocker","filetype":"tsx","group":"jet-tsx","amd":false,"status":"production"},"oj-tsx-ojattr":{"severity":"critical","filetype":"tsx","group":"jet-tsx","jetver":">=6.0.0","amd":false,"status":"production"},"oj-tsx-ojattr-deprecated":{"severity":"major","filetype":"tsx","group":["jet-tsx","jet-deprecated"],"amd":false,"status":"production"},"oj-tsx-ojattr-enum-deprecated":{"severity":"major","filetype":"tsx","group":["jet-tsx","jet-deprecated"],"amd":false,"status":"production"},"oj-tsx-ojattr-value":{"severity":"critical","filetype":"tsx","group":"jet-tsx","amd":false,"status":"production"},"oj-tsx-attr-req":{"severity":"blocker","filetype":"tsx","group":"jet-tsx","amd":false,"status":"production"},"oj-tsx-ojtag-ns":{"severity":"major","filetype":"tsx","group":"jet-tsx","amd":false,"status":"production"},"oj-tsx-input-isodate":{"severity":"critical","filetype":"tsx","group":"jet-tsx","amd":false,"status":"production"},"oj-tsx-pageopts-type":{"severity":"major","filetype":"tsx","group":"jet-tsx","amd":false,"status":"production"},"oj-tsx-picker-attrs":{"jetver":">=11.0.0","severity":"major","filetype":"tsx","group":"jet-tsx","amd":false,"status":"production"},"oj-tsx-popup-sibling":{"severity":"major","filetype":"tsx","group":"jet-tsx","amd":false,"status":"production"},"oj-tsx-prop-inline-definition":{"severity":"minor","filetype":"tsx","group":"jet-tsx","amd":false,"status":"production"},"oj-tsx-rating-gauge-size":{"severity":"major","filetype":"tsx","group":"jet-tsx","theme":"Redwood","amd":false,"status":"production"},"oj-tsx-rating-gauge-track-resize":{"severity":"major","filetype":"tsx","group":"jet-tsx","theme":"Redwood","amd":false,"status":"production"},"oj-tsx-redwood-clear-icon":{"severity":"blocker","filetype":"tsx","group":["jet-redwood-bp","jet-tsx"],"theme":"Redwood","jetver":">=17.0.0","amd":false,"status":"beta"},"oj-tsx-slot-default":{"severity":"major","filetype":"tsx","group":"jet-tsx","amd":false,"status":"alpha","inservice":false},"oj-tsx-style-abs-units":{"severity":"major","filetype":["tsx"],"group":["jet-tsx","jet-bp"],"status":"beta","customOpts":{"absunits":{"all":2}},"amd":false,"enabled":false},"oj-tsx-style-bp-margin-padding":{"severity":"major","filetype":"tsx","group":["jet-tsx","jet-bp"],"amd":false,"status":"beta"},"oj-tsx-ojtag-deprecated":{"severity":"major","filetype":"tsx","group":["jet-tsx","jet-deprecated"],"amd":false,"status":"production"},"oj-tsx-slot-deprecated":{"severity":"major","filetype":"tsx","group":["jet-tsx","jet-deprecated"],"amd":false,"status":"production"},"oj-tsx-slot-pref-content":{"severity":"minor","filetype":"tsx","group":"jet-tsx","jetver":">=10.0.0","amd":false,"status":"production"},"oj-tsx-tabbar-edge":{"severity":"major","filetype":"tsx","group":"jet-tsx","jetver":">=15.0.0","amd":false,"status":"production"},"oj-tsx-wctag-anti-pattern":{"severity":"info","filetype":"tsx","group":"jet-tsx","jetver":">=15.0.0","amd":false,"status":"production"},"oj-tsx-prop-anti-pattern":{"severity":"info","filetype":"tsx","group":"jet-tsx","jetver":">=15.0.0","amd":false,"status":"production"},"oj-tsx-wctag-maintenance":{"severity":"info","filetype":"tsx","group":"jet-tsx","jetver":">=15.0.0","amd":false,"status":"production"},"oj-tsx-wctag-nested":{"severity":"blocker","filetype":"tsx","group":"jet-tsx","amd":false,"status":"production"},"oj-tsx-wctag-packprivate":{"severity":"blocker","filetype":"tsx","group":"jet-tsx","amd":false,"status":"production"},"oj-tsx-treeview-actionable-content":{"severity":"blocker","filetype":"tsx","group":"jet-tsx","jetver":">=10.0.0","amd":false,"status":"beta"},"oj-tsx-5-tag-obs":{"severity":"major","filetype":"tsx","group":["jet-tsx"],"amd":false,"status":"production"},"oj-tsx-unsup-theme":{"severity":"blocker","filetype":"tsx","group":"jet-tsx","amd":false,"status":"production"}}}
6
+ {"title":"JET Built-in Rulepack","version":"4.14.0","prefix":"JET","rules":{"oj-html-cca-tagname":{"severity":"minor","filetype":"html","group":["jet-html"],"status":"production"},"oj-acc-aria-ojselector-labelledby":{"severity":"blocker","filetype":"html","group":["jet-html","jet-aria","jet-acc"],"jetver":">=13.0.0","status":"production","enabled":true},"oj-acc-button-label":{"severity":"blocker","filetype":"html","group":["jet-html","jet-acc"],"status":"production"},"oj-html-ojtag-deprecated":{"severity":"major","filetype":"html","group":["jet-html","jet-deprecated"],"status":"production"},"oj-html-wctag-maintenance":{"severity":"info","filetype":"html","group":"jet-html","jetver":">=13.0.0","status":"production"},"oj-html-wctag-supersedes":{"severity":"info","filetype":"html","group":"jet-html","jetver":">=13.0.0","status":"production","enabled":false},"oj-html-wctag-anti-pattern":{"severity":"info","filetype":"html","group":"jet-html","jetver":">=15.0.0","status":"production"},"oj-html-prop-anti-pattern":{"severity":"info","filetype":"html","group":"jet-html","jetver":">=15.0.0","status":"production"},"oj-html-ojattr":{"severity":"critical","filetype":"html","group":"jet-html","jetver":">=6.0.0","status":"production"},"oj-html-ojattr-520":{"severity":"critical","filetype":"html","group":"jet-html","jetver":"5.2.0","status":"production"},"oj-html-ojattr-value":{"severity":"critical","filetype":"html","group":"jet-html","status":"production"},"oj-html-attr-2def":{"severity":"minor","filetype":"html","group":"jet-html","status":"production"},"oj-html-attr-prefix-ro":{"severity":"info","filetype":"html","group":"jet-html","status":"production"},"oj-html-attr-prefix-expr":{"severity":"major","filetype":"html","group":"jet-html","status":"production"},"oj-html-attr-json":{"severity":"critical","filetype":"html","group":"jet-html","status":"production"},"oj-html-ojattr-deprecated":{"severity":"major","filetype":"html","group":["jet-html","jet-deprecated"],"status":"production"},"oj-html-ojattr-enum-deprecated":{"severity":"major","filetype":"html","group":["jet-html","jet-deprecated"],"status":"production"},"oj-html-5-tag-obs":{"severity":"major","filetype":"html","group":["jet-html","html5"],"status":"production"},"oj-html-5-attr-obs":{"severity":"major","filetype":"html","group":["jet-html","html5"],"status":"production"},"oj-html-ojevent":{"severity":"critical","filetype":"html","group":"jet-html","status":"production"},"oj-html-event-focus-blur":{"severity":"minor","filetype":"html","group":"jet-html","status":"production"},"oj-html-form-noflex":{"severity":"blocker","filetype":"html","group":"jet-html","status":"production"},"oj-html-jq-databind":{"severity":"blocker","filetype":"html","group":"jet-html","status":"production"},"oj-html-databind-all":{"severity":"minor","filetype":"html","group":"jet-html","status":"production","enabled":false},"oj-html-bindif-test":{"severity":"blocker","filetype":"html","group":"jet-html","status":"production"},"oj-html-bindforeach-data":{"severity":"blocker","filetype":"html","group":"jet-html","status":"production"},"oj-html-ojslot":{"severity":"blocker","filetype":"html","group":"jet-html","status":"production"},"oj-html-slot-name":{"severity":"critical","filetype":"html","group":"jet-html","status":"production"},"oj-html-slot-deprecated":{"severity":"major","filetype":"html","group":["jet-html","jet-deprecated"],"status":"production"},"oj-html-slot-pref-content":{"severity":"minor","filetype":"html","group":"jet-html","jetver":">=10.0.0","status":"production"},"oj-html-slot-default":{"severity":"major","filetype":"html","group":"jet-html","status":"production"},"oj-html-slot-item-minmax":{"severity":"minor","filetype":"html","group":"jet-html","status":"production"},"oj-html-notag-style":{"severity":"info","filetype":"html","group":"jet-html","status":"beta"},"oj-html-style":{"severity":"critical","filetype":"html","group":"jet-html","jetver":">=9.0.0","status":"production","enabled":false},"oj-html-stylesel":{"severity":"critical","filetype":"html","group":"jet-html","jetver":">=10.0.0","status":"production","enabled":false},"oj-html-style-deprecated":{"severity":"major","filetype":"html","group":["jet-html","jet-deprecated"],"jetver":">=9.0.0","status":"production"},"oj-html-ojstyle":{"severity":"critical","filetype":"html","group":"jet-html","jetver":">=9.0.0","status":"production","enabled":false},"oj-html-style-bp-color":{"severity":"major","filetype":"html","group":["jet-html","jet-bp"],"status":"production","enabled":false},"oj-html-style-bp-font":{"severity":"major","filetype":["css","html"],"group":["jet-css","jet-html","jet-bp"],"status":"production","enabled":false},"oj-html-style-bp-font-family":{"severity":"minor","filetype":["css","html"],"group":["jet-css","jet-html","jet-bp"],"status":"production","customOpts":{"ignore":["inherit","initial"]},"enabled":false},"oj-html-style-bp-display":{"severity":"minor","filetype":"html","group":["jet-html","jet-bp"],"status":"production","enabled":false},"oj-html-style-bp-margin-padding":{"severity":"major","filetype":"html","group":["jet-html","jet-bp"],"status":"beta"},"oj-html-style-abs-units":{"severity":"major","filetype":["css","html"],"group":["jet-html","jet-css","jet-bp"],"jetver":">=9.0.0","status":"production","customOpts":{"absunits":{"all":2}},"enabled":false},"oj-html-no-style":{"severity":"major","filetype":"html","group":"jet-html","status":"production","enabled":false},"oj-html-no-style-tag":{"severity":"major","filetype":"html","group":"jet-html","status":"production","enabled":false},"oj-html-pageopts-type":{"severity":"major","filetype":"html","group":"jet-html","status":"production"},"oj-html-binding-attr":{"severity":"minor","filetype":"html","group":"jet-html","status":"production"},"oj-html-attr-$unique":{"severity":"major","filetype":"html","group":"jet-html","status":"production"},"oj-html-attr-req":{"severity":"blocker","filetype":"html","group":"jet-html","status":"production"},"oj-html-dlg-title":{"severity":"minor","filetype":"html","group":"jet-html","status":"production"},"oj-html-bp-title-to-tooltip":{"severity":"major","filetype":"html","group":["jet-html","jet-bp"],"status":"production"},"oj-html-ojattr-evt-syntax":{"severity":"major","filetype":"html","group":"jet-html","status":"production"},"oj-html-tag-attr-noprefix":{"severity":"major","filetype":"html","group":"jet-html","status":"production"},"oj-html-picker-attrs":{"jetver":">=11.0.0","severity":"major","filetype":"html","group":"jet-html","status":"production"},"oj-html-rating-gauge-size":{"severity":"major","filetype":"html","group":"jet-html","theme":"Redwood","status":"production"},"oj-html-rating-gauge-track-resize":{"severity":"major","filetype":"html","group":"jet-html","theme":"Redwood","status":"production"},"oj-html-label-for-prefix":{"severity":"major","filetype":"html","group":"jet-html","status":"production"},"oj-html-binding-as-slot-child":{"severity":"blocker","filetype":"html","group":"jet-html","status":"production"},"oj-html-ojtag-globattr-noprefix":{"severity":"major","filetype":"html","group":"jet-html","status":"production"},"oj-html-ojtag-nonglobattr-prefix":{"severity":"minor","filetype":"html","group":"jet-html","status":"production"},"oj-html-msgs-cat-text":{"severity":"major","filetype":"html","group":"jet-html","theme":"Redwood"},"oj-html-ojtag-datacmd":{"severity":"major","filetype":"html","group":"jet-html","status":"production"},"oj-html-ojtag-datactx":{"severity":"minor","filetype":"html","group":"jet-html","status":"production"},"oj-html-ojtag-ns":{"severity":"major","filetype":"html","group":"jet-html","status":"production"},"oj-html-tabbar-edge":{"severity":"major","filetype":"html","group":"jet-html","jetver":">=15.0.0","status":"production"},"oj-html-wctag-id":{"severity":"blocker","filetype":"html","group":"jet-html","status":"deprecated"},"oj-html-wctag-for":{"severity":"blocker","filetype":"html","group":"jet-html","status":"production"},"oj-html-wctag-nested":{"severity":"blocker","filetype":"html","group":"jet-html","status":"production"},"oj-html-wctag-packprivate":{"severity":"blocker","filetype":"html","group":"jet-html","status":"production"},"oj-html-form-bindif":{"severity":"blocker","filetype":"html","group":"jet-html","status":"production"},"oj-html-file-pick-accept":{"severity":"major","filetype":"html","group":"jet-html","status":"production"},"oj-html-wctag-arialabelledby":{"severity":"blocker","filetype":"html","group":["jet-html","jet-aria","jet-acc"],"status":"production"},"oj-html-wctag-$props":{"severity":"blocker","filetype":"html","amd":false,"group":"jet-html","status":"production"},"oj-html-attr-expr-delims":{"severity":"major","filetype":"html","group":["jet-html"],"status":"production"},"oj-html-attr-expr-writeback":{"severity":"minor","filetype":"html","group":["jet-html","jet-bp"],"status":"production","enabled":true},"oj-html-unsup-theme":{"severity":"blocker","filetype":"html","group":"jet-html","status":"production"},"oj-html-cca-count":{"severity":"minor","filetype":"html","group":"jet-html","status":"production"},"oj-html-redwood-cssvars":{"severity":"major","filetype":"html","group":"jet-html","jetver":">=10.0.0","status":"production"},"oj-html-redwood-cssnovars":{"severity":"major","filetype":"html","group":"jet-html","jetver":">=10.0.0","status":"production"},"oj-html-redwood-bp-endslot":{"severity":"major","filetype":"html","group":["jet-redwood-bp","jet-html"],"theme":"Redwood","jetver":">=10.0.0","status":"production"},"oj-html-redwood-clear-icon":{"severity":"blocker","filetype":"html","group":["jet-redwood-bp","jet-html"],"theme":"Redwood","jetver":">=17.0.0","status":"beta"},"oj-css-bp-dir-flow":{"severity":"major","filetype":["css","html"],"group":["jet-css","jet-html","jet-bp"],"status":"production","enabled":false},"oj-css-style-bp-color":{"severity":"major","filetype":["css","html"],"group":["jet-css","jet-html","jet-bp"],"status":"production","enabled":false},"oj-css-style-bp-font":{"severity":"major","filetype":["css","html"],"group":["jet-css","jet-html","jet-bp"],"status":"production","enabled":false},"oj-css-style-bp-font-family":{"severity":"minor","filetype":["css","html"],"group":["jet-css","jet-html","jet-bp"],"status":"production","customOpts":{"ignore":["inherit","initial"]},"enabled":false},"oj-css-style-bp-display":{"severity":"minor","filetype":["css","html"],"group":["jet-css","jet-html","jet-bp"],"status":"production","enabled":false},"oj-css-style-override":{"severity":"blocker","filetype":["css","html"],"group":["jet-css","jet-override"],"status":"production"},"oj-css-var-override":{"severity":"major","filetype":["css","html"],"group":["jet-css","jet-override","jet-bp"],"jetver":">=9.0.0","status":"production","enabled":false},"oj-css-style-deprecated":{"severity":"major","filetype":["css","html"],"group":["jet-html","jet-css","jet-deprecated"],"jetver":">=9.0.0","status":"production"},"oj-css-style-abs-units":{"severity":"major","filetype":["css","html"],"group":["jet-html","jet-css","jet-bp"],"jetver":">=9.0.0","status":"production","customOpts":{"absunits":{"all":2}},"enabled":false},"oj-css-bp-float":{"severity":"major","filetype":["css","html"],"group":["jet-html","jet-css","jet-bp"],"jetver":">=9.0.0","status":"beta","enabled":false},"oj-css-bp-textalign":{"severity":"major","filetype":["css","html"],"group":["jet-html","jet-css","jet-bp"],"jetver":">=9.0.0","status":"beta","enabled":false},"oj-css-bp-border-color":{"severity":"major","filetype":["css","html"],"group":["jet-html","jet-css","jet-bp"],"jetver":">=9.0.0","status":"beta","enabled":false},"oj-html-invalid-doctype":{"severity":"blocker","filetype":"html","group":["jet-html","html5"],"status":"production"},"oj-html-missing-doctype":{"severity":"blocker","filetype":"html","group":["jet-html","html5"],"status":"production"},"oj-html-oj-lib":{"severity":"major","filetype":"html","group":"jet-html","status":"production"},"oj-html-ko-comment":{"severity":"major","filetype":"html","group":"jet-html","status":"production"},"oj-html-ko-databind":{"severity":"major","filetype":"html","group":"jet-html","status":"beta"},"oj-html-cdn":{"severity":"minor","filetype":"html","group":"jet-html","status":"production","amd":false,"enabled":false},"oj-html-self-close":{"severity":"blocker","filetype":"html","group":"jet-html","status":"production"},"oj-html-input-isodate":{"severity":"critical","filetype":"html","group":"jet-html","status":"production"},"oj-html-dyn-form":{"severity":"blocker","filetype":"html","group":"jet-html","status":"beta","enabled":false,"inservice":false},"oj-form-maxcols":{"severity":"major","filetype":["html","json"],"group":["jet-html","jet-json"],"status":"production"},"oj-html-form-layout-maxcols":{"severity":"minor","filetype":"html","group":"jet-html","jetver":"<=12.0.0","status":"production"},"oj-html-button-size-chroming":{"severity":"major","filetype":"html","group":"jet-html","jetver":">=17.0.0","theme":"Redwood","status":"production"},"oj-html-bp-button-xs-chroming":{"severity":"major","filetype":"html","group":["jet-html","jet-bp"],"jetver":">=17.0.0","status":"production"},"oj-html-template-index":{"severity":"info","filetype":"html","group":"jet-html","jetver":">=9.0.0","status":"production"},"oj-html-treeview-actionable-content":{"severity":"blocker","filetype":"html","group":"jet-html","jetver":">=10.0.0","status":"beta"},"oj-html-alta-deprecated":{"severity":"blocker","filetype":"html","group":"jet-html","jetver":">=10.0.0","status":"production"},"oj-cca-compjson-bp-obj":{"severity":"info","filetype":"json","group":["jet-cca","jet-bp"],"status":"beta"},"oj-cca-compjson-bp-ar":{"severity":"info","filetype":"json","group":["jet-cca","jet-bp"],"status":"beta"},"oj-cca-compjson-bp-jetver":{"severity":"major","filetype":"json","group":["jet-cca","jet-bp"],"status":"beta"},"oj-cca-compjson-bp-dsplyname":{"severity":"info","filetype":"json","group":["jet-cca","jet-bp"],"status":"beta"},"oj-cca-compjson-ns-reg":{"severity":"blocker","filetype":"json","group":"jet-cca","status":"production"},"oj-acc-select-aria-label":{"severity":"blocker","filetype":"html","group":["jet-aria","jet-acc"],"status":"production"},"oj-acc-combobox-aria-label":{"severity":"blocker","filetype":"html","group":["jet-aria","jet-acc"],"status":"production"},"oj-acc-input-aria-label":{"severity":"blocker","filetype":"html","group":["jet-aria","jet-acc"],"status":"production"},"oj-acc-aria-labelledby":{"severity":"blocker","filetype":"html","group":["jet-aria","jet-acc"],"status":"production"},"oj-acc-avatar-aria-role":{"severity":"blocker","filetype":"html","group":["jet-aria","jet-acc"],"status":"production"},"oj-acc-aria-prop":{"severity":"blocker","filetype":"html","group":["jet-aria","jet-acc"],"status":"production"},"oj-acc-film-strip-aria-label":{"severity":"blocker","filetype":"html","group":["jet-aria","jet-acc"],"status":"production"},"oj-acc-button-onclick":{"severity":"blocker","filetype":"html","group":"jet-acc","status":"production"},"oj-js-ojcomp-deprecated":{"severity":"major","filetype":["js","html"],"group":["jet-js","jet-html","jet-deprecated"],"status":"production"},"oj-ts-ojcomp-deprecated":{"severity":"major","filetype":["ts","tsx"],"group":["jet-ts","jet-tsx","jet-deprecated"],"amd":false,"status":"production","enabled":false},"oj-js-comp-meth-deprecated":{"severity":"major","filetype":["js","html"],"group":["jet-js","jet-html","jet-deprecated","jet-deleted"],"status":"production"},"oj-ts-comp-meth-deprecated":{"severity":"major","filetype":["ts","tsx"],"group":["jet-ts","jet-tsx","jet-deprecated","jet-deleted"],"amd":false,"status":"beta","enabled":false},"oj-js-comp-attr-deprecated":{"severity":"major","filetype":["js","html"],"group":["jet-js","jet-html","jet-deprecated","jet-deleted"],"status":"production"},"oj-ts-comp-attr-deprecated":{"severity":"major","filetype":["ts","tsx"],"group":["jet-ts","jet-tsx","jet-deprecated","jet-deleted"],"amd":false,"status":"beta","enabled":false},"oj-js-numconv-pattern":{"severity":"major","filetype":["js","html"],"group":["jet-js","jet-html","jet-deprecated"],"status":"production"},"oj-js-var-undef":{"severity":"major","filetype":["js","html"],"group":["jet-js","jet-html","jet-deprecated"],"status":"production","enabled":false},"oj-js-ojcomp-new":{"severity":"major","filetype":["js","html"],"group":["jet-js","jet-html","jet-deprecated"],"status":"production"},"oj-ts-ojcomp-new":{"severity":"major","filetype":["ts","tsx"],"group":["jet-ts","jet-tsx","jet-deprecated"],"amd":false,"status":"beta","enabled":false},"oj-js-ojcomp-exist":{"severity":"critical","filetype":["js","html"],"group":["jet-js","jet-html","jet-deprecated"],"status":"production"},"oj-ts-ojcomp-exist":{"severity":"critical","filetype":["ts","tsx"],"group":["jet-ts","jet-tsx","jet-deprecated"],"amd":false,"status":"beta","enabled":false},"oj-js-poly-promise":{"severity":"critical","filetype":["js","html"],"group":["jet-js","jet-html"],"status":"production"},"oj-ts-poly-promise":{"severity":"critical","filetype":["ts","tsx"],"group":["jet-ts","jet-tsx"],"amd":false,"status":"beta"},"oj-js-no-ext-final":{"severity":"info","filetype":["js","html"],"group":["jet-js","jet-html"],"jetver":">=8.0.0","status":"beta"},"oj-ts-no-ext-final":{"severity":"info","filetype":["ts","tsx"],"group":["jet-ts","jet-tsx"],"jetver":">=8.0.0","amd":false,"status":"beta","enabled":false},"oj-js-noconsole":{"severity":"info","filetype":["js","html"],"group":["jet-js","jet-html"],"status":"production"},"oj-ts-noconsole":{"severity":"info","filetype":["ts","tsx"],"group":["jet-ts","jet-tsx"],"amd":false,"status":"beta","enabled":false},"oj-ts-numconv-pattern":{"severity":"major","filetype":["ts","tsx"],"group":["jet-ts","jet-tsx","jet-deprecated"],"amd":false,"status":"production"},"oj-json-syntax":{"severity":"critical","filetype":"json","group":"jet-json","status":"production"},"oj-tsx-acc-avatar-aria-role":{"severity":"blocker","filetype":"tsx","group":["jet-tsx","jet-aria","jet-acc"],"amd":false,"status":"production"},"oj-tsx-acc-button-label":{"severity":"blocker","filetype":"tsx","group":["jet-tsx","jet-acc"],"amd":false,"status":"production"},"oj-tsx-acc-button-onclick":{"severity":"blocker","filetype":"tsx","group":["jet-tsx","jet-acc"],"amd":false,"status":"production"},"oj-tsx-aria-prop":{"severity":"blocker","filetype":"tsx","group":["jet-tsx","jet-aria","jet-acc"],"amd":false,"status":"production"},"oj-tsx-aria-ojselector-labelledby":{"severity":"blocker","filetype":"tsx","group":["jet-tsx","jet-aria","jet-acc"],"jetver":">=13.0.0","amd":false,"status":"production"},"oj-tsx-bp-button-xs-chroming":{"severity":"major","filetype":"tsx","group":"jet-tsx","jetver":">=17.0.0","amd":false,"status":"production"},"oj-tsx-bp-title-to-tooltip":{"severity":"major","filetype":"tsx","group":["jet-tsx","jet-bp"],"amd":false,"status":"production"},"oj-tsx-button-size-chroming":{"severity":"major","filetype":"tsx","group":"jet-tsx","jetver":">=17.0.0","theme":"Redwood","amd":false,"status":"production"},"oj-tsx-cca-tagname":{"severity":"minor","filetype":"tsx","group":["jet-tsx"],"amd":false,"status":"production"},"oj-tsx-databind-all":{"severity":"minor","filetype":"tsx","group":"jet-tsx","amd":false,"status":"production"},"oj-tsx-dlg-title":{"severity":"minor","filetype":"tsx","group":"jet-tsx","amd":false,"status":"production"},"oj-tsx-event":{"severity":"major","filetype":"tsx","group":"jet-tsx","amd":false,"status":"beta"},"oj-tsx-form-bindif":{"severity":"blocker","filetype":"tsx","group":"jet-tsx","amd":false,"status":"production"},"oj-tsx-form-noflex":{"severity":"blocker","filetype":"tsx","group":"jet-tsx","amd":false,"status":"production"},"oj-tsx-ojattr":{"severity":"critical","filetype":"tsx","group":"jet-tsx","jetver":">=6.0.0","amd":false,"status":"production"},"oj-tsx-ojattr-deprecated":{"severity":"major","filetype":"tsx","group":["jet-tsx","jet-deprecated"],"amd":false,"status":"production"},"oj-tsx-ojattr-enum-deprecated":{"severity":"major","filetype":"tsx","group":["jet-tsx","jet-deprecated"],"amd":false,"status":"production"},"oj-tsx-ojattr-value":{"severity":"critical","filetype":"tsx","group":"jet-tsx","amd":false,"status":"production"},"oj-tsx-attr-req":{"severity":"blocker","filetype":"tsx","group":"jet-tsx","amd":false,"status":"production"},"oj-tsx-ojtag-ns":{"severity":"major","filetype":"tsx","group":"jet-tsx","amd":false,"status":"production"},"oj-tsx-input-isodate":{"severity":"critical","filetype":"tsx","group":"jet-tsx","amd":false,"status":"production"},"oj-tsx-pageopts-type":{"severity":"major","filetype":"tsx","group":"jet-tsx","amd":false,"status":"production"},"oj-tsx-picker-attrs":{"jetver":">=11.0.0","severity":"major","filetype":"tsx","group":"jet-tsx","amd":false,"status":"production"},"oj-tsx-popup-sibling":{"severity":"major","filetype":"tsx","group":"jet-tsx","amd":false,"status":"production"},"oj-tsx-prop-inline-definition":{"severity":"minor","filetype":"tsx","group":"jet-tsx","amd":false,"status":"production"},"oj-tsx-rating-gauge-size":{"severity":"major","filetype":"tsx","group":"jet-tsx","theme":"Redwood","amd":false,"status":"production"},"oj-tsx-rating-gauge-track-resize":{"severity":"major","filetype":"tsx","group":"jet-tsx","theme":"Redwood","amd":false,"status":"production"},"oj-tsx-redwood-clear-icon":{"severity":"blocker","filetype":"tsx","group":["jet-redwood-bp","jet-tsx"],"theme":"Redwood","jetver":">=17.0.0","amd":false,"status":"beta"},"oj-tsx-slot-default":{"severity":"major","filetype":"tsx","group":"jet-tsx","amd":false,"status":"alpha","inservice":false},"oj-tsx-style-abs-units":{"severity":"major","filetype":["tsx"],"group":["jet-tsx","jet-bp"],"status":"beta","customOpts":{"absunits":{"all":2}},"amd":false,"enabled":false},"oj-tsx-style-bp-margin-padding":{"severity":"major","filetype":"tsx","group":["jet-tsx","jet-bp"],"amd":false,"status":"beta"},"oj-tsx-ojtag-deprecated":{"severity":"major","filetype":"tsx","group":["jet-tsx","jet-deprecated"],"amd":false,"status":"production"},"oj-tsx-slot-deprecated":{"severity":"major","filetype":"tsx","group":["jet-tsx","jet-deprecated"],"amd":false,"status":"production"},"oj-tsx-slot-pref-content":{"severity":"minor","filetype":"tsx","group":"jet-tsx","jetver":">=10.0.0","amd":false,"status":"production"},"oj-tsx-tabbar-edge":{"severity":"major","filetype":"tsx","group":"jet-tsx","jetver":">=15.0.0","amd":false,"status":"production"},"oj-tsx-wctag-anti-pattern":{"severity":"info","filetype":"tsx","group":"jet-tsx","jetver":">=15.0.0","amd":false,"status":"production"},"oj-tsx-prop-anti-pattern":{"severity":"info","filetype":"tsx","group":"jet-tsx","jetver":">=15.0.0","amd":false,"status":"production"},"oj-tsx-wctag-maintenance":{"severity":"info","filetype":"tsx","group":"jet-tsx","jetver":">=15.0.0","amd":false,"status":"production"},"oj-tsx-wctag-nested":{"severity":"blocker","filetype":"tsx","group":"jet-tsx","amd":false,"status":"production"},"oj-tsx-wctag-packprivate":{"severity":"blocker","filetype":"tsx","group":"jet-tsx","amd":false,"status":"production"},"oj-tsx-treeview-actionable-content":{"severity":"blocker","filetype":"tsx","group":"jet-tsx","jetver":">=10.0.0","amd":false,"status":"beta"},"oj-tsx-5-tag-obs":{"severity":"major","filetype":"tsx","group":["jet-tsx"],"amd":false,"status":"production"},"oj-tsx-unsup-theme":{"severity":"blocker","filetype":"tsx","group":"jet-tsx","amd":false,"status":"production"}}}