/*
 * Copyright (c) 2018, 2026, Oracle and/or its affiliates.
 * Licensed under The Universal Permissive License (UPL), Version 1.0
 * as shown at https://oss.oracle.com/licenses/upl/
 */
const RULE_NAME="oj-tsx-dlg-title";const SHORT_DESCR="<oj-dialog> 'title' attribute should be relaced with'dialog-title'";const LONG_DESCR="The <oj-dialog> 'title' attribute should be replaced with 'dialog-title'.";const MSG="<oj-dialog> attribute 'title' should be replaced with 'dialog-title'";function getName(){return RULE_NAME};function getShortDescription(){return SHORT_DESCR};function getDescription(){return LONG_DESCR};function register(){return{"Tsx<oj-dialog title=>":_onDlgTitle}};function _onDlgTitle(ruleCtx,tsxProp){let tsxUtils=ruleCtx.utils.tsxUtils;let issue=new ruleCtx.Issue(MSG);tsxUtils.setIssuePosition(issue,tsxProp);ruleCtx.reporter.addIssue(issue,ruleCtx)};module.exports={getName,getDescription,getShortDescription,register};