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