"use strict";var e=require("@kdcloudjs/kwc"),a=require("./spin.js"),t=require("./shadowBaseClassPrivate.js");require("./icon.js"),require("../utilsPrivate-DL4VBetH.js"),require("../client-Co_j5m_k.js"),require("../ssr-RXknEJpO.js"),require("../observable-BXDJFaLN.js"),require("../empty_html-hFq4zm9t.js"),require("../i18n-CP31jeWH.js"),require("./iso8601Utils.js"),require("../colorValid-BBnkvgd_.js");var s=[function(e,a,t){var s=e?"["+e+"]":"",r=e?"["+e+"-host]":"";return(a?":host .kd-datatable-loading-wrapper":r+" .kd-datatable-loading-wrapper")+s+" {position: relative;}"+(a?":host .kd-datatable-loading-wrapper":r+" .kd-datatable-loading-wrapper")+s+" .kd-datatable-loading"+s+" {position: absolute;z-index: 999;top: 50%;left: 50%;transform: translate(-50%, -50%);}"+(a?":host .kd-datatable-loading-wrapper":r+" .kd-datatable-loading-wrapper")+s+" .kd-datatable-loading-mask"+s+" {position: absolute;top: 0;left: 0;width: 100%;height: 100%;z-index: 998;background-color: var(--kdds-c-datatable-mask);}"}];const r=e.parseFragment`<div class="kd-datatable-loading-mask${0}"${2}></div>`,i={classMap:{"kd-datatable-loading-wrapper":!0},key:0},o={classMap:{"kd-datatable-loading":!0},key:2},l={key:7},d=[];function n(e,t,s,n){const{c:p,h:c,fr:g,st:k,s:u}=e;return[c("div",i,[t.loading?g(1,[c("div",o,[p("kd-spin",a,{props:{loading:t.loading},key:3})])],0):null,t.loading?g(4,[k(r,6)],0):null,u("",l,d,s)])]}var p=e.registerTemplate(n);n.slots=[""],n.stylesheets=[],n.stylesheetToken="kwc-7cfua7rr5gq",n.legacyStylesheetToken="D:\\new_workspace\\workspace\\kingdee-base-components\\src\\modules\\kd\\primitiveDatatableLoadingIndicator-undefined_primitiveDatatableLoadingIndicator",s&&n.stylesheets.push.apply(n.stylesheets,s),e.freezeTemplate(n);class c extends t{constructor(...e){super(...e),this._loading=!1}get loading(){return this._loading}set loading(e){this._loading=e}}e.registerDecorators(c,{publicProps:{loading:{config:3}},fields:["_loading"]});const g=e.registerComponent(c,{tmpl:p,sel:"D:\\new_workspace\\workspace\\kingdee-base-components\\src\\modules\\kd\\primitiveDatatableLoadingIndicator-",apiVersion:63});module.exports=g;
