"use strict";var t=require("@kdcloudjs/kwc"),e=require("../empty_html-hFq4zm9t.js"),i=require("./features.js"),o=require("./shadowBaseClassPrivate.js");require("../utilsPrivate-DL4VBetH.js"),require("../client-Co_j5m_k.js"),require("../ssr-RXknEJpO.js"),require("../observable-BXDJFaLN.js"),require("../i18n-CP31jeWH.js"),require("./iso8601Utils.js"),require("../colorValid-BBnkvgd_.js");class r extends o{constructor(...t){super(...t),this.types=void 0,this.columnType=void 0,this.value=void 0,this.editable=void 0,this.columnLabel=void 0,this.rowKeyValue=void 0,this.colKeyValue=void 0,this.columnSubType=void 0,this.typeAttribute0=void 0,this.typeAttribute1=void 0,this.typeAttribute2=void 0,this.typeAttribute3=void 0,this.typeAttribute4=void 0,this.typeAttribute5=void 0,this.typeAttribute6=void 0,this.typeAttribute7=void 0,this.typeAttribute8=void 0,this.typeAttribute9=void 0,this.typeAttribute10=void 0,this.typeAttribute21=void 0,this.typeAttribute22=void 0,this.internalTabIndex=void 0,this.keyboardMode=void 0,this.wrapText=void 0,this.alignment=void 0}get type(){if(i.features.ENABLE_TREE_GRID_CUSTOM_TYPES){const{columnType:t}=this,e="tree"===t?this.columnSubType:t;return this.types.getType(e)}return this.types.getType(this.columnType).template}render(){return i.features.ENABLE_TREE_GRID_CUSTOM_TYPES?this.type.template:this.type}get typeAttributes(){let t;t=i.features.ENABLE_TREE_GRID_CUSTOM_TYPES?this.type.typeAttributes:this.types.getType(this.columnType).typeAttributes;const e={};if(Array.isArray(t))for(let i=0,{length:o}=t;i<o;i+=1)e[t[i]]=this[`typeAttribute${i}`];return e}getActionableElements(){const t=[];let e;const i=o=>{if(e=o.matches('[data-navigation="enable"]'),o.shadowRoot&&e){const e=o.shadowRoot.querySelectorAll('[data-navigation="enable"]');e.length>0?e.forEach(i):t.push(o)}else e&&t.push(o)};return this.template.querySelectorAll('[data-navigation="enable"]').forEach(i),t}}t.registerDecorators(r,{publicProps:{types:{config:0},columnType:{config:0},value:{config:0},editable:{config:0},columnLabel:{config:0},rowKeyValue:{config:0},colKeyValue:{config:0},columnSubType:{config:0},typeAttribute0:{config:0},typeAttribute1:{config:0},typeAttribute2:{config:0},typeAttribute3:{config:0},typeAttribute4:{config:0},typeAttribute5:{config:0},typeAttribute6:{config:0},typeAttribute7:{config:0},typeAttribute8:{config:0},typeAttribute9:{config:0},typeAttribute10:{config:0},typeAttribute21:{config:0},typeAttribute22:{config:0},internalTabIndex:{config:0},keyboardMode:{config:0},wrapText:{config:0},alignment:{config:0}},publicMethods:["getActionableElements"]});const s=t.registerComponent(r,{tmpl:e._tmpl,sel:"D:\\new_workspace\\workspace\\kingdee-base-components\\src\\modules\\kd\\primitiveCustomCell-",apiVersion:63});module.exports=s;
